api-ms-win-core-processthreads-l1-1-2: Add stub dll.
[wine.git] / configure
blob3ddeb7736374d80af3d020d3b11dbaeaba35b5dd
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_debug_l1_1_1
859 enable_api_ms_win_core_errorhandling_l1_1_1
860 enable_api_ms_win_core_file_l1_2_0
861 enable_api_ms_win_core_file_l2_1_1
862 enable_api_ms_win_core_handle_l1_1_0
863 enable_api_ms_win_core_heap_l1_2_0
864 enable_api_ms_win_core_heap_obsolete_l1_1_0
865 enable_api_ms_win_core_interlocked_l1_2_0
866 enable_api_ms_win_core_io_l1_1_1
867 enable_api_ms_win_core_kernel32_legacy_l1_1_0
868 enable_api_ms_win_core_libraryloader_l1_1_1
869 enable_api_ms_win_core_localization_l1_2_0
870 enable_api_ms_win_core_localization_obsolete_l1_1_0
871 enable_api_ms_win_core_localregistry_l1_1_0
872 enable_api_ms_win_core_memory_l1_1_1
873 enable_api_ms_win_core_namedpipe_l1_2_0
874 enable_api_ms_win_core_processenvironment_l1_2_0
875 enable_api_ms_win_core_processthreads_l1_1_0
876 enable_api_ms_win_core_processthreads_l1_1_1
877 enable_api_ms_win_core_processthreads_l1_1_2
878 enable_api_ms_win_core_profile_l1_1_0
879 enable_api_ms_win_core_psapi_l1_1_0
880 enable_api_ms_win_core_registry_l1_1_0
881 enable_api_ms_win_core_rtlsupport_l1_2_0
882 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
883 enable_api_ms_win_core_string_l1_1_0
884 enable_api_ms_win_core_synch_l1_2_0
885 enable_api_ms_win_core_sysinfo_l1_2_0
886 enable_api_ms_win_core_sysinfo_l1_2_1
887 enable_api_ms_win_core_threadpool_legacy_l1_1_0
888 enable_api_ms_win_core_timezone_l1_1_0
889 enable_api_ms_win_core_url_l1_1_0
890 enable_api_ms_win_core_util_l1_1_0
891 enable_api_ms_win_core_winrt_error_l1_1_0
892 enable_api_ms_win_core_winrt_string_l1_1_0
893 enable_api_ms_win_downlevel_advapi32_l1_1_0
894 enable_api_ms_win_downlevel_advapi32_l2_1_0
895 enable_api_ms_win_downlevel_normaliz_l1_1_0
896 enable_api_ms_win_downlevel_ole32_l1_1_0
897 enable_api_ms_win_downlevel_shell32_l1_1_0
898 enable_api_ms_win_downlevel_shlwapi_l1_1_0
899 enable_api_ms_win_downlevel_shlwapi_l2_1_0
900 enable_api_ms_win_downlevel_user32_l1_1_0
901 enable_api_ms_win_downlevel_version_l1_1_0
902 enable_api_ms_win_eventing_provider_l1_1_0
903 enable_api_ms_win_ntuser_dc_access_l1_1_0
904 enable_api_ms_win_security_base_l1_1_0
905 enable_api_ms_win_security_base_l1_2_0
906 enable_api_ms_win_security_sddl_l1_1_0
907 enable_api_ms_win_service_core_l1_1_1
908 enable_api_ms_win_service_management_l1_1_0
909 enable_api_ms_win_service_winsvc_l1_2_0
910 enable_apphelp
911 enable_appwiz_cpl
912 enable_atl
913 enable_atl100
914 enable_atl110
915 enable_atl80
916 enable_atl90
917 enable_authz
918 enable_avicap32
919 enable_avifil32
920 enable_avrt
921 enable_bcrypt
922 enable_browseui
923 enable_cabinet
924 enable_capi2032
925 enable_cards
926 enable_cfgmgr32
927 enable_clusapi
928 enable_comcat
929 enable_comctl32
930 enable_comdlg32
931 enable_compstui
932 enable_comsvcs
933 enable_credui
934 enable_crtdll
935 enable_crypt32
936 enable_cryptdlg
937 enable_cryptdll
938 enable_cryptext
939 enable_cryptnet
940 enable_cryptui
941 enable_ctapi32
942 enable_ctl3d32
943 enable_d2d1
944 enable_d3d10
945 enable_d3d10_1
946 enable_d3d10core
947 enable_d3d11
948 enable_d3d8
949 enable_d3d9
950 enable_d3dcompiler_33
951 enable_d3dcompiler_34
952 enable_d3dcompiler_35
953 enable_d3dcompiler_36
954 enable_d3dcompiler_37
955 enable_d3dcompiler_38
956 enable_d3dcompiler_39
957 enable_d3dcompiler_40
958 enable_d3dcompiler_41
959 enable_d3dcompiler_42
960 enable_d3dcompiler_43
961 enable_d3dim
962 enable_d3drm
963 enable_d3dx10_33
964 enable_d3dx10_34
965 enable_d3dx10_35
966 enable_d3dx10_36
967 enable_d3dx10_37
968 enable_d3dx10_38
969 enable_d3dx10_39
970 enable_d3dx10_40
971 enable_d3dx10_41
972 enable_d3dx10_42
973 enable_d3dx10_43
974 enable_d3dx11_42
975 enable_d3dx11_43
976 enable_d3dx9_24
977 enable_d3dx9_25
978 enable_d3dx9_26
979 enable_d3dx9_27
980 enable_d3dx9_28
981 enable_d3dx9_29
982 enable_d3dx9_30
983 enable_d3dx9_31
984 enable_d3dx9_32
985 enable_d3dx9_33
986 enable_d3dx9_34
987 enable_d3dx9_35
988 enable_d3dx9_36
989 enable_d3dx9_37
990 enable_d3dx9_38
991 enable_d3dx9_39
992 enable_d3dx9_40
993 enable_d3dx9_41
994 enable_d3dx9_42
995 enable_d3dx9_43
996 enable_d3dxof
997 enable_dbgeng
998 enable_dbghelp
999 enable_dciman32
1000 enable_ddraw
1001 enable_ddrawex
1002 enable_devenum
1003 enable_dhcpcsvc
1004 enable_difxapi
1005 enable_dinput
1006 enable_dinput8
1007 enable_dispex
1008 enable_dmband
1009 enable_dmcompos
1010 enable_dmime
1011 enable_dmloader
1012 enable_dmscript
1013 enable_dmstyle
1014 enable_dmsynth
1015 enable_dmusic
1016 enable_dmusic32
1017 enable_dnsapi
1018 enable_dplay
1019 enable_dplayx
1020 enable_dpnaddr
1021 enable_dpnet
1022 enable_dpnhpast
1023 enable_dpnlobby
1024 enable_dpvoice
1025 enable_dpwsockx
1026 enable_drmclien
1027 enable_dsound
1028 enable_dssenh
1029 enable_dswave
1030 enable_dwmapi
1031 enable_dwrite
1032 enable_dxdiagn
1033 enable_dxgi
1034 enable_dxva2
1035 enable_explorerframe
1036 enable_ext_ms_win_gdi_devcaps_l1_1_0
1037 enable_faultrep
1038 enable_fltlib
1039 enable_fntcache
1040 enable_fontsub
1041 enable_fusion
1042 enable_fwpuclnt
1043 enable_gameux
1044 enable_gdi32
1045 enable_gdiplus
1046 enable_glu32
1047 enable_gphoto2_ds
1048 enable_gpkcsp
1049 enable_hal
1050 enable_hhctrl_ocx
1051 enable_hid
1052 enable_hlink
1053 enable_hnetcfg
1054 enable_httpapi
1055 enable_iccvid
1056 enable_icmp
1057 enable_ieframe
1058 enable_imaadp32_acm
1059 enable_imagehlp
1060 enable_imm32
1061 enable_inetcomm
1062 enable_inetcpl_cpl
1063 enable_inetmib1
1064 enable_infosoft
1065 enable_initpki
1066 enable_inkobj
1067 enable_inseng
1068 enable_iphlpapi
1069 enable_itircl
1070 enable_itss
1071 enable_joy_cpl
1072 enable_jscript
1073 enable_jsproxy
1074 enable_kernel32
1075 enable_ksuser
1076 enable_ktmw32
1077 enable_loadperf
1078 enable_localspl
1079 enable_localui
1080 enable_lz32
1081 enable_mapi32
1082 enable_mapistub
1083 enable_mciavi32
1084 enable_mcicda
1085 enable_mciqtz32
1086 enable_mciseq
1087 enable_mciwave
1088 enable_mgmtapi
1089 enable_midimap
1090 enable_mlang
1091 enable_mmcndmgr
1092 enable_mmdevapi
1093 enable_mountmgr_sys
1094 enable_mpr
1095 enable_mprapi
1096 enable_msacm32_drv
1097 enable_msacm32
1098 enable_msadp32_acm
1099 enable_msasn1
1100 enable_mscat32
1101 enable_mscms
1102 enable_mscoree
1103 enable_msctf
1104 enable_msdaps
1105 enable_msdmo
1106 enable_msftedit
1107 enable_msg711_acm
1108 enable_msgsm32_acm
1109 enable_mshtml_tlb
1110 enable_mshtml
1111 enable_msi
1112 enable_msident
1113 enable_msimg32
1114 enable_msimsg
1115 enable_msimtf
1116 enable_msisip
1117 enable_msisys_ocx
1118 enable_msls31
1119 enable_msnet32
1120 enable_mspatcha
1121 enable_msrle32
1122 enable_mssign32
1123 enable_mssip32
1124 enable_mstask
1125 enable_msvcirt
1126 enable_msvcm80
1127 enable_msvcm90
1128 enable_msvcp100
1129 enable_msvcp110
1130 enable_msvcp120
1131 enable_msvcp60
1132 enable_msvcp70
1133 enable_msvcp71
1134 enable_msvcp80
1135 enable_msvcp90
1136 enable_msvcr100
1137 enable_msvcr110
1138 enable_msvcr120
1139 enable_msvcr70
1140 enable_msvcr71
1141 enable_msvcr80
1142 enable_msvcr90
1143 enable_msvcrt
1144 enable_msvcrt20
1145 enable_msvcrt40
1146 enable_msvcrtd
1147 enable_msvfw32
1148 enable_msvidc32
1149 enable_mswsock
1150 enable_msxml
1151 enable_msxml2
1152 enable_msxml3
1153 enable_msxml4
1154 enable_msxml6
1155 enable_nddeapi
1156 enable_ndis_sys
1157 enable_netapi32
1158 enable_netcfgx
1159 enable_netprofm
1160 enable_newdev
1161 enable_normaliz
1162 enable_npmshtml
1163 enable_npptools
1164 enable_ntdll
1165 enable_ntdsapi
1166 enable_ntoskrnl_exe
1167 enable_ntprint
1168 enable_objsel
1169 enable_odbc32
1170 enable_odbccp32
1171 enable_odbccu32
1172 enable_ole32
1173 enable_oleacc
1174 enable_oleaut32
1175 enable_olecli32
1176 enable_oledb32
1177 enable_oledlg
1178 enable_olepro32
1179 enable_olesvr32
1180 enable_olethk32
1181 enable_openal32
1182 enable_opencl
1183 enable_opengl32
1184 enable_packager
1185 enable_pdh
1186 enable_photometadatahandler
1187 enable_pidgen
1188 enable_powrprof
1189 enable_printui
1190 enable_prntvpt
1191 enable_propsys
1192 enable_psapi
1193 enable_pstorec
1194 enable_qcap
1195 enable_qedit
1196 enable_qmgr
1197 enable_qmgrprxy
1198 enable_quartz
1199 enable_query
1200 enable_rasapi32
1201 enable_rasdlg
1202 enable_regapi
1203 enable_resutils
1204 enable_riched20
1205 enable_riched32
1206 enable_rpcrt4
1207 enable_rsabase
1208 enable_rsaenh
1209 enable_rstrtmgr
1210 enable_rtutils
1211 enable_samlib
1212 enable_sane_ds
1213 enable_scarddlg
1214 enable_sccbase
1215 enable_schannel
1216 enable_schedsvc
1217 enable_scrrun
1218 enable_scsiport_sys
1219 enable_secur32
1220 enable_security
1221 enable_sensapi
1222 enable_serialui
1223 enable_setupapi
1224 enable_sfc
1225 enable_sfc_os
1226 enable_shdoclc
1227 enable_shdocvw
1228 enable_shell32
1229 enable_shfolder
1230 enable_shlwapi
1231 enable_slbcsp
1232 enable_slc
1233 enable_snmpapi
1234 enable_softpub
1235 enable_spoolss
1236 enable_stdole2_tlb
1237 enable_stdole32_tlb
1238 enable_sti
1239 enable_svrapi
1240 enable_sxs
1241 enable_t2embed
1242 enable_tapi32
1243 enable_taskschd
1244 enable_traffic
1245 enable_twain_32
1246 enable_unicows
1247 enable_updspapi
1248 enable_url
1249 enable_urlmon
1250 enable_usbd_sys
1251 enable_user32
1252 enable_userenv
1253 enable_usp10
1254 enable_uxtheme
1255 enable_vbscript
1256 enable_vcomp
1257 enable_vcomp100
1258 enable_vcomp90
1259 enable_vdmdbg
1260 enable_version
1261 enable_vssapi
1262 enable_wbemdisp
1263 enable_wbemprox
1264 enable_webservices
1265 enable_wer
1266 enable_wevtapi
1267 enable_wiaservc
1268 enable_windowscodecs
1269 enable_windowscodecsext
1270 enable_winealsa_drv
1271 enable_winecoreaudio_drv
1272 enable_wined3d
1273 enable_winegstreamer
1274 enable_winejoystick_drv
1275 enable_winemac_drv
1276 enable_winemapi
1277 enable_winemp3_acm
1278 enable_wineoss_drv
1279 enable_wineps_drv
1280 enable_wineqtdecoder
1281 enable_winex11_drv
1282 enable_wing32
1283 enable_winhttp
1284 enable_wininet
1285 enable_winmm
1286 enable_winnls32
1287 enable_winscard
1288 enable_winspool_drv
1289 enable_winsta
1290 enable_wintab32
1291 enable_wintrust
1292 enable_wlanapi
1293 enable_wldap32
1294 enable_wmi
1295 enable_wmiutils
1296 enable_wmp
1297 enable_wmvcore
1298 enable_wnaspi32
1299 enable_wpcap
1300 enable_ws2_32
1301 enable_wshom_ocx
1302 enable_wsnmp32
1303 enable_wsock32
1304 enable_wtsapi32
1305 enable_wuapi
1306 enable_wuaueng
1307 enable_xapofx1_1
1308 enable_xinput1_1
1309 enable_xinput1_2
1310 enable_xinput1_3
1311 enable_xinput1_4
1312 enable_xinput9_1_0
1313 enable_xmllite
1314 enable_xolehlp
1315 enable_xpsprint
1316 enable_xpssvcs
1317 enable_documentation
1318 enable_fonts
1319 enable_include
1320 enable_libs_port
1321 enable_libs_wine
1322 enable_libs_wpp
1323 enable_loader
1324 enable_arp
1325 enable_aspnet_regiis
1326 enable_attrib
1327 enable_cabarc
1328 enable_cacls
1329 enable_clock
1330 enable_cmd
1331 enable_conhost
1332 enable_control
1333 enable_cscript
1334 enable_dpnsvr
1335 enable_dxdiag
1336 enable_eject
1337 enable_expand
1338 enable_explorer
1339 enable_extrac32
1340 enable_findstr
1341 enable_hh
1342 enable_hostname
1343 enable_icinfo
1344 enable_iexplore
1345 enable_ipconfig
1346 enable_lodctr
1347 enable_mofcomp
1348 enable_mshta
1349 enable_msiexec
1350 enable_net
1351 enable_netsh
1352 enable_netstat
1353 enable_ngen
1354 enable_notepad
1355 enable_oleview
1356 enable_ping
1357 enable_plugplay
1358 enable_presentationfontcache
1359 enable_progman
1360 enable_reg
1361 enable_regasm
1362 enable_regedit
1363 enable_regsvcs
1364 enable_regsvr32
1365 enable_rpcss
1366 enable_rundll32
1367 enable_sc
1368 enable_schtasks
1369 enable_sdbinst
1370 enable_secedit
1371 enable_servicemodelreg
1372 enable_services
1373 enable_spoolsv
1374 enable_start
1375 enable_svchost
1376 enable_systeminfo
1377 enable_taskkill
1378 enable_tasklist
1379 enable_taskmgr
1380 enable_termsv
1381 enable_uninstaller
1382 enable_unlodctr
1383 enable_view
1384 enable_wevtutil
1385 enable_wineboot
1386 enable_winebrowser
1387 enable_winecfg
1388 enable_wineconsole
1389 enable_winedbg
1390 enable_winedevice
1391 enable_winefile
1392 enable_winemenubuilder
1393 enable_winemine
1394 enable_winemsibuilder
1395 enable_winepath
1396 enable_winetest
1397 enable_winhlp32
1398 enable_winver
1399 enable_wmic
1400 enable_wordpad
1401 enable_write
1402 enable_wscript
1403 enable_wusa
1404 enable_xcopy
1405 enable_server
1406 enable_tools
1408 ac_precious_vars='build_alias
1409 host_alias
1410 target_alias
1412 CFLAGS
1413 LDFLAGS
1414 LIBS
1415 CPPFLAGS
1417 CXXFLAGS
1420 XMKMF
1421 XML2_CFLAGS
1422 XML2_LIBS
1423 XSLT_CFLAGS
1424 XSLT_LIBS
1425 DBUS_CFLAGS
1426 DBUS_LIBS
1427 HAL_CFLAGS
1428 HAL_LIBS
1429 GNUTLS_CFLAGS
1430 GNUTLS_LIBS
1431 SANE_CFLAGS
1432 SANE_LIBS
1433 GPHOTO2_CFLAGS
1434 GPHOTO2_LIBS
1435 GPHOTO2_PORT_CFLAGS
1436 GPHOTO2_PORT_LIBS
1437 LCMS2_CFLAGS
1438 LCMS2_LIBS
1439 FREETYPE_CFLAGS
1440 FREETYPE_LIBS
1441 GSTREAMER_CFLAGS
1442 GSTREAMER_LIBS
1443 CAPI20_CFLAGS
1444 CAPI20_LIBS
1445 FONTCONFIG_CFLAGS
1446 FONTCONFIG_LIBS
1447 JPEG_CFLAGS
1448 JPEG_LIBS
1449 PNG_CFLAGS
1450 PNG_LIBS
1451 TIFF_CFLAGS
1452 TIFF_LIBS
1453 MPG123_CFLAGS
1454 MPG123_LIBS'
1457 # Initialize some variables set by options.
1458 ac_init_help=
1459 ac_init_version=false
1460 ac_unrecognized_opts=
1461 ac_unrecognized_sep=
1462 # The variables have the same names as the options, with
1463 # dashes changed to underlines.
1464 cache_file=/dev/null
1465 exec_prefix=NONE
1466 no_create=
1467 no_recursion=
1468 prefix=NONE
1469 program_prefix=NONE
1470 program_suffix=NONE
1471 program_transform_name=s,x,x,
1472 silent=
1473 site=
1474 srcdir=
1475 verbose=
1476 x_includes=NONE
1477 x_libraries=NONE
1479 # Installation directory options.
1480 # These are left unexpanded so users can "make install exec_prefix=/foo"
1481 # and all the variables that are supposed to be based on exec_prefix
1482 # by default will actually change.
1483 # Use braces instead of parens because sh, perl, etc. also accept them.
1484 # (The list follows the same order as the GNU Coding Standards.)
1485 bindir='${exec_prefix}/bin'
1486 sbindir='${exec_prefix}/sbin'
1487 libexecdir='${exec_prefix}/libexec'
1488 datarootdir='${prefix}/share'
1489 datadir='${datarootdir}'
1490 sysconfdir='${prefix}/etc'
1491 sharedstatedir='${prefix}/com'
1492 localstatedir='${prefix}/var'
1493 includedir='${prefix}/include'
1494 oldincludedir='/usr/include'
1495 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1496 infodir='${datarootdir}/info'
1497 htmldir='${docdir}'
1498 dvidir='${docdir}'
1499 pdfdir='${docdir}'
1500 psdir='${docdir}'
1501 libdir='${exec_prefix}/lib'
1502 localedir='${datarootdir}/locale'
1503 mandir='${datarootdir}/man'
1505 ac_prev=
1506 ac_dashdash=
1507 for ac_option
1509 # If the previous option needs an argument, assign it.
1510 if test -n "$ac_prev"; then
1511 eval $ac_prev=\$ac_option
1512 ac_prev=
1513 continue
1516 case $ac_option in
1517 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1518 *=) ac_optarg= ;;
1519 *) ac_optarg=yes ;;
1520 esac
1522 # Accept the important Cygnus configure options, so we can diagnose typos.
1524 case $ac_dashdash$ac_option in
1526 ac_dashdash=yes ;;
1528 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1529 ac_prev=bindir ;;
1530 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1531 bindir=$ac_optarg ;;
1533 -build | --build | --buil | --bui | --bu)
1534 ac_prev=build_alias ;;
1535 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1536 build_alias=$ac_optarg ;;
1538 -cache-file | --cache-file | --cache-fil | --cache-fi \
1539 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1540 ac_prev=cache_file ;;
1541 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1542 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1543 cache_file=$ac_optarg ;;
1545 --config-cache | -C)
1546 cache_file=config.cache ;;
1548 -datadir | --datadir | --datadi | --datad)
1549 ac_prev=datadir ;;
1550 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1551 datadir=$ac_optarg ;;
1553 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1554 | --dataroo | --dataro | --datar)
1555 ac_prev=datarootdir ;;
1556 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1557 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1558 datarootdir=$ac_optarg ;;
1560 -disable-* | --disable-*)
1561 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1562 # Reject names that are not valid shell variable names.
1563 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1564 as_fn_error $? "invalid feature name: $ac_useropt"
1565 ac_useropt_orig=$ac_useropt
1566 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1567 case $ac_user_opts in
1569 "enable_$ac_useropt"
1570 "*) ;;
1571 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1572 ac_unrecognized_sep=', ';;
1573 esac
1574 eval enable_$ac_useropt=no ;;
1576 -docdir | --docdir | --docdi | --doc | --do)
1577 ac_prev=docdir ;;
1578 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1579 docdir=$ac_optarg ;;
1581 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1582 ac_prev=dvidir ;;
1583 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1584 dvidir=$ac_optarg ;;
1586 -enable-* | --enable-*)
1587 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1588 # Reject names that are not valid shell variable names.
1589 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1590 as_fn_error $? "invalid feature name: $ac_useropt"
1591 ac_useropt_orig=$ac_useropt
1592 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1593 case $ac_user_opts in
1595 "enable_$ac_useropt"
1596 "*) ;;
1597 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1598 ac_unrecognized_sep=', ';;
1599 esac
1600 eval enable_$ac_useropt=\$ac_optarg ;;
1602 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1603 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1604 | --exec | --exe | --ex)
1605 ac_prev=exec_prefix ;;
1606 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1607 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1608 | --exec=* | --exe=* | --ex=*)
1609 exec_prefix=$ac_optarg ;;
1611 -gas | --gas | --ga | --g)
1612 # Obsolete; use --with-gas.
1613 with_gas=yes ;;
1615 -help | --help | --hel | --he | -h)
1616 ac_init_help=long ;;
1617 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1618 ac_init_help=recursive ;;
1619 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1620 ac_init_help=short ;;
1622 -host | --host | --hos | --ho)
1623 ac_prev=host_alias ;;
1624 -host=* | --host=* | --hos=* | --ho=*)
1625 host_alias=$ac_optarg ;;
1627 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1628 ac_prev=htmldir ;;
1629 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1630 | --ht=*)
1631 htmldir=$ac_optarg ;;
1633 -includedir | --includedir | --includedi | --included | --include \
1634 | --includ | --inclu | --incl | --inc)
1635 ac_prev=includedir ;;
1636 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1637 | --includ=* | --inclu=* | --incl=* | --inc=*)
1638 includedir=$ac_optarg ;;
1640 -infodir | --infodir | --infodi | --infod | --info | --inf)
1641 ac_prev=infodir ;;
1642 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1643 infodir=$ac_optarg ;;
1645 -libdir | --libdir | --libdi | --libd)
1646 ac_prev=libdir ;;
1647 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1648 libdir=$ac_optarg ;;
1650 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1651 | --libexe | --libex | --libe)
1652 ac_prev=libexecdir ;;
1653 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1654 | --libexe=* | --libex=* | --libe=*)
1655 libexecdir=$ac_optarg ;;
1657 -localedir | --localedir | --localedi | --localed | --locale)
1658 ac_prev=localedir ;;
1659 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1660 localedir=$ac_optarg ;;
1662 -localstatedir | --localstatedir | --localstatedi | --localstated \
1663 | --localstate | --localstat | --localsta | --localst | --locals)
1664 ac_prev=localstatedir ;;
1665 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1666 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1667 localstatedir=$ac_optarg ;;
1669 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1670 ac_prev=mandir ;;
1671 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1672 mandir=$ac_optarg ;;
1674 -nfp | --nfp | --nf)
1675 # Obsolete; use --without-fp.
1676 with_fp=no ;;
1678 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1679 | --no-cr | --no-c | -n)
1680 no_create=yes ;;
1682 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1683 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1684 no_recursion=yes ;;
1686 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1687 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1688 | --oldin | --oldi | --old | --ol | --o)
1689 ac_prev=oldincludedir ;;
1690 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1691 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1692 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1693 oldincludedir=$ac_optarg ;;
1695 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1696 ac_prev=prefix ;;
1697 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1698 prefix=$ac_optarg ;;
1700 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1701 | --program-pre | --program-pr | --program-p)
1702 ac_prev=program_prefix ;;
1703 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1704 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1705 program_prefix=$ac_optarg ;;
1707 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1708 | --program-suf | --program-su | --program-s)
1709 ac_prev=program_suffix ;;
1710 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1711 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1712 program_suffix=$ac_optarg ;;
1714 -program-transform-name | --program-transform-name \
1715 | --program-transform-nam | --program-transform-na \
1716 | --program-transform-n | --program-transform- \
1717 | --program-transform | --program-transfor \
1718 | --program-transfo | --program-transf \
1719 | --program-trans | --program-tran \
1720 | --progr-tra | --program-tr | --program-t)
1721 ac_prev=program_transform_name ;;
1722 -program-transform-name=* | --program-transform-name=* \
1723 | --program-transform-nam=* | --program-transform-na=* \
1724 | --program-transform-n=* | --program-transform-=* \
1725 | --program-transform=* | --program-transfor=* \
1726 | --program-transfo=* | --program-transf=* \
1727 | --program-trans=* | --program-tran=* \
1728 | --progr-tra=* | --program-tr=* | --program-t=*)
1729 program_transform_name=$ac_optarg ;;
1731 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1732 ac_prev=pdfdir ;;
1733 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1734 pdfdir=$ac_optarg ;;
1736 -psdir | --psdir | --psdi | --psd | --ps)
1737 ac_prev=psdir ;;
1738 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1739 psdir=$ac_optarg ;;
1741 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1742 | -silent | --silent | --silen | --sile | --sil)
1743 silent=yes ;;
1745 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1746 ac_prev=sbindir ;;
1747 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1748 | --sbi=* | --sb=*)
1749 sbindir=$ac_optarg ;;
1751 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1752 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1753 | --sharedst | --shareds | --shared | --share | --shar \
1754 | --sha | --sh)
1755 ac_prev=sharedstatedir ;;
1756 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1757 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1758 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1759 | --sha=* | --sh=*)
1760 sharedstatedir=$ac_optarg ;;
1762 -site | --site | --sit)
1763 ac_prev=site ;;
1764 -site=* | --site=* | --sit=*)
1765 site=$ac_optarg ;;
1767 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1768 ac_prev=srcdir ;;
1769 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1770 srcdir=$ac_optarg ;;
1772 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1773 | --syscon | --sysco | --sysc | --sys | --sy)
1774 ac_prev=sysconfdir ;;
1775 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1776 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1777 sysconfdir=$ac_optarg ;;
1779 -target | --target | --targe | --targ | --tar | --ta | --t)
1780 ac_prev=target_alias ;;
1781 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1782 target_alias=$ac_optarg ;;
1784 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1785 verbose=yes ;;
1787 -version | --version | --versio | --versi | --vers | -V)
1788 ac_init_version=: ;;
1790 -with-* | --with-*)
1791 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1792 # Reject names that are not valid shell variable names.
1793 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1794 as_fn_error $? "invalid package name: $ac_useropt"
1795 ac_useropt_orig=$ac_useropt
1796 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1797 case $ac_user_opts in
1799 "with_$ac_useropt"
1800 "*) ;;
1801 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1802 ac_unrecognized_sep=', ';;
1803 esac
1804 eval with_$ac_useropt=\$ac_optarg ;;
1806 -without-* | --without-*)
1807 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1808 # Reject names that are not valid shell variable names.
1809 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1810 as_fn_error $? "invalid package name: $ac_useropt"
1811 ac_useropt_orig=$ac_useropt
1812 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1813 case $ac_user_opts in
1815 "with_$ac_useropt"
1816 "*) ;;
1817 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1818 ac_unrecognized_sep=', ';;
1819 esac
1820 eval with_$ac_useropt=no ;;
1822 --x)
1823 # Obsolete; use --with-x.
1824 with_x=yes ;;
1826 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1827 | --x-incl | --x-inc | --x-in | --x-i)
1828 ac_prev=x_includes ;;
1829 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1830 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1831 x_includes=$ac_optarg ;;
1833 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1834 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1835 ac_prev=x_libraries ;;
1836 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1837 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1838 x_libraries=$ac_optarg ;;
1840 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1841 Try \`$0 --help' for more information"
1844 *=*)
1845 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1846 # Reject names that are not valid shell variable names.
1847 case $ac_envvar in #(
1848 '' | [0-9]* | *[!_$as_cr_alnum]* )
1849 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1850 esac
1851 eval $ac_envvar=\$ac_optarg
1852 export $ac_envvar ;;
1855 # FIXME: should be removed in autoconf 3.0.
1856 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1857 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1858 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1859 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1862 esac
1863 done
1865 if test -n "$ac_prev"; then
1866 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1867 as_fn_error $? "missing argument to $ac_option"
1870 if test -n "$ac_unrecognized_opts"; then
1871 case $enable_option_checking in
1872 no) ;;
1873 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1874 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1875 esac
1878 # Check all directory arguments for consistency.
1879 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1880 datadir sysconfdir sharedstatedir localstatedir includedir \
1881 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1882 libdir localedir mandir
1884 eval ac_val=\$$ac_var
1885 # Remove trailing slashes.
1886 case $ac_val in
1887 */ )
1888 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1889 eval $ac_var=\$ac_val;;
1890 esac
1891 # Be sure to have absolute directory names.
1892 case $ac_val in
1893 [\\/$]* | ?:[\\/]* ) continue;;
1894 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1895 esac
1896 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1897 done
1899 # There might be people who depend on the old broken behavior: `$host'
1900 # used to hold the argument of --host etc.
1901 # FIXME: To remove some day.
1902 build=$build_alias
1903 host=$host_alias
1904 target=$target_alias
1906 # FIXME: To remove some day.
1907 if test "x$host_alias" != x; then
1908 if test "x$build_alias" = x; then
1909 cross_compiling=maybe
1910 elif test "x$build_alias" != "x$host_alias"; then
1911 cross_compiling=yes
1915 ac_tool_prefix=
1916 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1918 test "$silent" = yes && exec 6>/dev/null
1921 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1922 ac_ls_di=`ls -di .` &&
1923 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1924 as_fn_error $? "working directory cannot be determined"
1925 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1926 as_fn_error $? "pwd does not report name of working directory"
1929 # Find the source files, if location was not specified.
1930 if test -z "$srcdir"; then
1931 ac_srcdir_defaulted=yes
1932 # Try the directory containing this script, then the parent directory.
1933 ac_confdir=`$as_dirname -- "$as_myself" ||
1934 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1935 X"$as_myself" : 'X\(//\)[^/]' \| \
1936 X"$as_myself" : 'X\(//\)$' \| \
1937 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1938 $as_echo X"$as_myself" |
1939 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1940 s//\1/
1943 /^X\(\/\/\)[^/].*/{
1944 s//\1/
1947 /^X\(\/\/\)$/{
1948 s//\1/
1951 /^X\(\/\).*/{
1952 s//\1/
1955 s/.*/./; q'`
1956 srcdir=$ac_confdir
1957 if test ! -r "$srcdir/$ac_unique_file"; then
1958 srcdir=..
1960 else
1961 ac_srcdir_defaulted=no
1963 if test ! -r "$srcdir/$ac_unique_file"; then
1964 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1965 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1967 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1968 ac_abs_confdir=`(
1969 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1970 pwd)`
1971 # When building in place, set srcdir=.
1972 if test "$ac_abs_confdir" = "$ac_pwd"; then
1973 srcdir=.
1975 # Remove unnecessary trailing slashes from srcdir.
1976 # Double slashes in file names in object file debugging info
1977 # mess up M-x gdb in Emacs.
1978 case $srcdir in
1979 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1980 esac
1981 for ac_var in $ac_precious_vars; do
1982 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1983 eval ac_env_${ac_var}_value=\$${ac_var}
1984 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1985 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1986 done
1989 # Report the --help message.
1991 if test "$ac_init_help" = "long"; then
1992 # Omit some internal or obsolete options to make the list less imposing.
1993 # This message is too long to be a string in the A/UX 3.1 sh.
1994 cat <<_ACEOF
1995 \`configure' configures Wine 1.7.32 to adapt to many kinds of systems.
1997 Usage: $0 [OPTION]... [VAR=VALUE]...
1999 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2000 VAR=VALUE. See below for descriptions of some of the useful variables.
2002 Defaults for the options are specified in brackets.
2004 Configuration:
2005 -h, --help display this help and exit
2006 --help=short display options specific to this package
2007 --help=recursive display the short help of all the included packages
2008 -V, --version display version information and exit
2009 -q, --quiet, --silent do not print \`checking ...' messages
2010 --cache-file=FILE cache test results in FILE [disabled]
2011 -C, --config-cache alias for \`--cache-file=config.cache'
2012 -n, --no-create do not create output files
2013 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2015 Installation directories:
2016 --prefix=PREFIX install architecture-independent files in PREFIX
2017 [$ac_default_prefix]
2018 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2019 [PREFIX]
2021 By default, \`make install' will install all the files in
2022 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2023 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2024 for instance \`--prefix=\$HOME'.
2026 For better control, use the options below.
2028 Fine tuning of the installation directories:
2029 --bindir=DIR user executables [EPREFIX/bin]
2030 --sbindir=DIR system admin executables [EPREFIX/sbin]
2031 --libexecdir=DIR program executables [EPREFIX/libexec]
2032 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2033 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2034 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2035 --libdir=DIR object code libraries [EPREFIX/lib]
2036 --includedir=DIR C header files [PREFIX/include]
2037 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2038 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2039 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2040 --infodir=DIR info documentation [DATAROOTDIR/info]
2041 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2042 --mandir=DIR man documentation [DATAROOTDIR/man]
2043 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2044 --htmldir=DIR html documentation [DOCDIR]
2045 --dvidir=DIR dvi documentation [DOCDIR]
2046 --pdfdir=DIR pdf documentation [DOCDIR]
2047 --psdir=DIR ps documentation [DOCDIR]
2048 _ACEOF
2050 cat <<\_ACEOF
2052 X features:
2053 --x-includes=DIR X include files are in DIR
2054 --x-libraries=DIR X library files are in DIR
2056 System types:
2057 --build=BUILD configure for building on BUILD [guessed]
2058 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2059 _ACEOF
2062 if test -n "$ac_init_help"; then
2063 case $ac_init_help in
2064 short | recursive ) echo "Configuration of Wine 1.7.32:";;
2065 esac
2066 cat <<\_ACEOF
2068 Optional Features:
2069 --disable-option-checking ignore unrecognized --enable/--with options
2070 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2071 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2072 --disable-win16 do not include Win16 support
2073 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2074 binaries)
2075 --disable-tests do not build the regression tests
2076 --enable-maintainer-mode
2077 enable maintainer-specific build rules
2078 --disable-largefile omit support for large files
2080 Optional Packages:
2081 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2082 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2083 --without-alsa do not use the Alsa sound support
2084 --without-capi do not use CAPI (ISDN support)
2085 --without-cms do not use CMS (color management support)
2086 --without-coreaudio do not use the CoreAudio sound support
2087 --without-cups do not use CUPS
2088 --without-curses do not use (n)curses
2089 --without-dbus do not use DBus (dynamic device support)
2090 --without-fontconfig do not use fontconfig
2091 --without-freetype do not use the FreeType library
2092 --without-gettext do not use gettext
2093 --with-gettextpo use the GetTextPO library to rebuild po files
2094 --without-gphoto do not use gphoto (Digital Camera support)
2095 --without-glu do not use the GLU library
2096 --without-gnutls do not use GnuTLS (schannel support)
2097 --without-gsm do not use libgsm (GSM 06.10 codec support)
2098 --without-gstreamer do not use GStreamer (codecs support)
2099 --without-hal do not use HAL (dynamic device support)
2100 --without-jpeg do not use JPEG
2101 --without-ldap do not use LDAP
2102 --without-mpg123 do not use the mpg123 library
2103 --without-netapi do not use the Samba NetAPI library
2104 --without-openal do not use OpenAL
2105 --without-opencl do not use OpenCL
2106 --without-opengl do not use OpenGL
2107 --without-osmesa do not use the OSMesa library
2108 --without-oss do not use the OSS sound support
2109 --without-pcap do not use the Packet Capture library
2110 --without-png do not use PNG
2111 --without-pthread do not use the pthread library
2112 --without-sane do not use SANE (scanner support)
2113 --without-tiff do not use TIFF
2114 --without-v4l do not use v4l1 (v4l support)
2115 --without-xcomposite do not use the Xcomposite extension
2116 --without-xcursor do not use the Xcursor extension
2117 --without-xinerama do not use Xinerama (multi-monitor support)
2118 --without-xinput do not use the Xinput extension
2119 --without-xinput2 do not use the Xinput 2 extension
2120 --without-xml do not use XML
2121 --without-xrandr do not use Xrandr (resolution changes)
2122 --without-xrender do not use the Xrender extension
2123 --without-xshape do not use the Xshape extension
2124 --without-xshm do not use XShm (shared memory extension)
2125 --without-xslt do not use XSLT
2126 --without-xxf86vm do not use XFree video mode extension
2127 --without-zlib do not use Zlib (data compression)
2128 --with-wine-tools=DIR use Wine tools from directory DIR
2129 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2130 --with-x use the X Window System
2132 Some influential environment variables:
2133 CC C compiler command
2134 CFLAGS C compiler flags
2135 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2136 nonstandard directory <lib dir>
2137 LIBS libraries to pass to the linker, e.g. -l<library>
2138 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2139 you have headers in a nonstandard directory <include dir>
2140 CXX C++ compiler command
2141 CXXFLAGS C++ compiler flags
2142 CPP C preprocessor
2143 XMKMF Path to xmkmf, Makefile generator for X Window System
2144 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2145 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2146 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2147 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2148 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2149 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2150 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2151 HAL_LIBS Linker flags for hal, overriding pkg-config
2152 GNUTLS_CFLAGS
2153 C compiler flags for gnutls, overriding pkg-config
2154 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2155 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2156 SANE_LIBS Linker flags for libsane, overriding pkg-config
2157 GPHOTO2_CFLAGS
2158 C compiler flags for libgphoto2, overriding pkg-config
2159 GPHOTO2_LIBS
2160 Linker flags for libgphoto2, overriding pkg-config
2161 GPHOTO2_PORT_CFLAGS
2162 C compiler flags for libgphoto2_port, overriding pkg-config
2163 GPHOTO2_PORT_LIBS
2164 Linker flags for libgphoto2_port, overriding pkg-config
2165 LCMS2_CFLAGS
2166 C compiler flags for lcms2, overriding pkg-config
2167 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2168 FREETYPE_CFLAGS
2169 C compiler flags for freetype2, overriding pkg-config
2170 FREETYPE_LIBS
2171 Linker flags for freetype2, overriding pkg-config
2172 GSTREAMER_CFLAGS
2173 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2174 GSTREAMER_LIBS
2175 Linker flags for gstreamer-app-0.10, overriding pkg-config
2176 CAPI20_CFLAGS
2177 C compiler flags for capi20, overriding pkg-config
2178 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2179 FONTCONFIG_CFLAGS
2180 C compiler flags for fontconfig, overriding pkg-config
2181 FONTCONFIG_LIBS
2182 Linker flags for fontconfig, overriding pkg-config
2183 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2184 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2185 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2186 PNG_LIBS Linker flags for libpng, overriding pkg-config
2187 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2188 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2189 MPG123_CFLAGS
2190 C compiler flags for libmpg123, overriding pkg-config
2191 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2193 Use these variables to override the choices made by `configure' or to help
2194 it to find libraries and programs with nonstandard names/locations.
2196 Report bugs to <wine-devel@winehq.org>.
2197 Wine home page: <http://www.winehq.org>.
2198 _ACEOF
2199 ac_status=$?
2202 if test "$ac_init_help" = "recursive"; then
2203 # If there are subdirs, report their specific --help.
2204 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2205 test -d "$ac_dir" ||
2206 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2207 continue
2208 ac_builddir=.
2210 case "$ac_dir" in
2211 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2213 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2214 # A ".." for each directory in $ac_dir_suffix.
2215 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2216 case $ac_top_builddir_sub in
2217 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2218 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2219 esac ;;
2220 esac
2221 ac_abs_top_builddir=$ac_pwd
2222 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2223 # for backward compatibility:
2224 ac_top_builddir=$ac_top_build_prefix
2226 case $srcdir in
2227 .) # We are building in place.
2228 ac_srcdir=.
2229 ac_top_srcdir=$ac_top_builddir_sub
2230 ac_abs_top_srcdir=$ac_pwd ;;
2231 [\\/]* | ?:[\\/]* ) # Absolute name.
2232 ac_srcdir=$srcdir$ac_dir_suffix;
2233 ac_top_srcdir=$srcdir
2234 ac_abs_top_srcdir=$srcdir ;;
2235 *) # Relative name.
2236 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2237 ac_top_srcdir=$ac_top_build_prefix$srcdir
2238 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2239 esac
2240 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2242 cd "$ac_dir" || { ac_status=$?; continue; }
2243 # Check for guested configure.
2244 if test -f "$ac_srcdir/configure.gnu"; then
2245 echo &&
2246 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2247 elif test -f "$ac_srcdir/configure"; then
2248 echo &&
2249 $SHELL "$ac_srcdir/configure" --help=recursive
2250 else
2251 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2252 fi || ac_status=$?
2253 cd "$ac_pwd" || { ac_status=$?; break; }
2254 done
2257 test -n "$ac_init_help" && exit $ac_status
2258 if $ac_init_version; then
2259 cat <<\_ACEOF
2260 Wine configure 1.7.32
2261 generated by GNU Autoconf 2.69
2263 Copyright (C) 2012 Free Software Foundation, Inc.
2264 This configure script is free software; the Free Software Foundation
2265 gives unlimited permission to copy, distribute and modify it.
2266 _ACEOF
2267 exit
2270 ## ------------------------ ##
2271 ## Autoconf initialization. ##
2272 ## ------------------------ ##
2274 # ac_fn_c_try_compile LINENO
2275 # --------------------------
2276 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2277 ac_fn_c_try_compile ()
2279 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2280 rm -f conftest.$ac_objext
2281 if { { ac_try="$ac_compile"
2282 case "(($ac_try" in
2283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2284 *) ac_try_echo=$ac_try;;
2285 esac
2286 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2287 $as_echo "$ac_try_echo"; } >&5
2288 (eval "$ac_compile") 2>conftest.err
2289 ac_status=$?
2290 if test -s conftest.err; then
2291 grep -v '^ *+' conftest.err >conftest.er1
2292 cat conftest.er1 >&5
2293 mv -f conftest.er1 conftest.err
2295 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2296 test $ac_status = 0; } && {
2297 test -z "$ac_c_werror_flag" ||
2298 test ! -s conftest.err
2299 } && test -s conftest.$ac_objext; then :
2300 ac_retval=0
2301 else
2302 $as_echo "$as_me: failed program was:" >&5
2303 sed 's/^/| /' conftest.$ac_ext >&5
2305 ac_retval=1
2307 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2308 as_fn_set_status $ac_retval
2310 } # ac_fn_c_try_compile
2312 # ac_fn_cxx_try_compile LINENO
2313 # ----------------------------
2314 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2315 ac_fn_cxx_try_compile ()
2317 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2318 rm -f conftest.$ac_objext
2319 if { { ac_try="$ac_compile"
2320 case "(($ac_try" in
2321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2322 *) ac_try_echo=$ac_try;;
2323 esac
2324 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2325 $as_echo "$ac_try_echo"; } >&5
2326 (eval "$ac_compile") 2>conftest.err
2327 ac_status=$?
2328 if test -s conftest.err; then
2329 grep -v '^ *+' conftest.err >conftest.er1
2330 cat conftest.er1 >&5
2331 mv -f conftest.er1 conftest.err
2333 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2334 test $ac_status = 0; } && {
2335 test -z "$ac_cxx_werror_flag" ||
2336 test ! -s conftest.err
2337 } && test -s conftest.$ac_objext; then :
2338 ac_retval=0
2339 else
2340 $as_echo "$as_me: failed program was:" >&5
2341 sed 's/^/| /' conftest.$ac_ext >&5
2343 ac_retval=1
2345 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2346 as_fn_set_status $ac_retval
2348 } # ac_fn_cxx_try_compile
2350 # ac_fn_c_try_link LINENO
2351 # -----------------------
2352 # Try to link conftest.$ac_ext, and return whether this succeeded.
2353 ac_fn_c_try_link ()
2355 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2356 rm -f conftest.$ac_objext conftest$ac_exeext
2357 if { { ac_try="$ac_link"
2358 case "(($ac_try" in
2359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2360 *) ac_try_echo=$ac_try;;
2361 esac
2362 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2363 $as_echo "$ac_try_echo"; } >&5
2364 (eval "$ac_link") 2>conftest.err
2365 ac_status=$?
2366 if test -s conftest.err; then
2367 grep -v '^ *+' conftest.err >conftest.er1
2368 cat conftest.er1 >&5
2369 mv -f conftest.er1 conftest.err
2371 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2372 test $ac_status = 0; } && {
2373 test -z "$ac_c_werror_flag" ||
2374 test ! -s conftest.err
2375 } && test -s conftest$ac_exeext && {
2376 test "$cross_compiling" = yes ||
2377 test -x conftest$ac_exeext
2378 }; then :
2379 ac_retval=0
2380 else
2381 $as_echo "$as_me: failed program was:" >&5
2382 sed 's/^/| /' conftest.$ac_ext >&5
2384 ac_retval=1
2386 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2387 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2388 # interfere with the next link command; also delete a directory that is
2389 # left behind by Apple's compiler. We do this before executing the actions.
2390 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2391 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2392 as_fn_set_status $ac_retval
2394 } # ac_fn_c_try_link
2396 # ac_fn_c_try_cpp LINENO
2397 # ----------------------
2398 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2399 ac_fn_c_try_cpp ()
2401 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2402 if { { ac_try="$ac_cpp conftest.$ac_ext"
2403 case "(($ac_try" in
2404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2405 *) ac_try_echo=$ac_try;;
2406 esac
2407 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2408 $as_echo "$ac_try_echo"; } >&5
2409 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2410 ac_status=$?
2411 if test -s conftest.err; then
2412 grep -v '^ *+' conftest.err >conftest.er1
2413 cat conftest.er1 >&5
2414 mv -f conftest.er1 conftest.err
2416 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2417 test $ac_status = 0; } > conftest.i && {
2418 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2419 test ! -s conftest.err
2420 }; then :
2421 ac_retval=0
2422 else
2423 $as_echo "$as_me: failed program was:" >&5
2424 sed 's/^/| /' conftest.$ac_ext >&5
2426 ac_retval=1
2428 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2429 as_fn_set_status $ac_retval
2431 } # ac_fn_c_try_cpp
2433 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2434 # -------------------------------------------------------
2435 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2436 # the include files in INCLUDES and setting the cache variable VAR
2437 # accordingly.
2438 ac_fn_c_check_header_mongrel ()
2440 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2441 if eval \${$3+:} false; then :
2442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2443 $as_echo_n "checking for $2... " >&6; }
2444 if eval \${$3+:} false; then :
2445 $as_echo_n "(cached) " >&6
2447 eval ac_res=\$$3
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2449 $as_echo "$ac_res" >&6; }
2450 else
2451 # Is the header compilable?
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2453 $as_echo_n "checking $2 usability... " >&6; }
2454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2455 /* end confdefs.h. */
2457 #include <$2>
2458 _ACEOF
2459 if ac_fn_c_try_compile "$LINENO"; then :
2460 ac_header_compiler=yes
2461 else
2462 ac_header_compiler=no
2464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2466 $as_echo "$ac_header_compiler" >&6; }
2468 # Is the header present?
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2470 $as_echo_n "checking $2 presence... " >&6; }
2471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2472 /* end confdefs.h. */
2473 #include <$2>
2474 _ACEOF
2475 if ac_fn_c_try_cpp "$LINENO"; then :
2476 ac_header_preproc=yes
2477 else
2478 ac_header_preproc=no
2480 rm -f conftest.err conftest.i conftest.$ac_ext
2481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2482 $as_echo "$ac_header_preproc" >&6; }
2484 # So? What about this header?
2485 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2486 yes:no: )
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2488 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2490 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2492 no:yes:* )
2493 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2494 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2496 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2497 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2498 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2500 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&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;}
2503 ( $as_echo "## ------------------------------------ ##
2504 ## Report this to wine-devel@winehq.org ##
2505 ## ------------------------------------ ##"
2506 ) | sed "s/^/$as_me: WARNING: /" >&2
2508 esac
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2510 $as_echo_n "checking for $2... " >&6; }
2511 if eval \${$3+:} false; then :
2512 $as_echo_n "(cached) " >&6
2513 else
2514 eval "$3=\$ac_header_compiler"
2516 eval ac_res=\$$3
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2518 $as_echo "$ac_res" >&6; }
2520 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2522 } # ac_fn_c_check_header_mongrel
2524 # ac_fn_c_try_run LINENO
2525 # ----------------------
2526 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2527 # that executables *can* be run.
2528 ac_fn_c_try_run ()
2530 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2531 if { { ac_try="$ac_link"
2532 case "(($ac_try" in
2533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2534 *) ac_try_echo=$ac_try;;
2535 esac
2536 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2537 $as_echo "$ac_try_echo"; } >&5
2538 (eval "$ac_link") 2>&5
2539 ac_status=$?
2540 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2541 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2542 { { case "(($ac_try" in
2543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2544 *) ac_try_echo=$ac_try;;
2545 esac
2546 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2547 $as_echo "$ac_try_echo"; } >&5
2548 (eval "$ac_try") 2>&5
2549 ac_status=$?
2550 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2551 test $ac_status = 0; }; }; then :
2552 ac_retval=0
2553 else
2554 $as_echo "$as_me: program exited with status $ac_status" >&5
2555 $as_echo "$as_me: failed program was:" >&5
2556 sed 's/^/| /' conftest.$ac_ext >&5
2558 ac_retval=$ac_status
2560 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2561 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2562 as_fn_set_status $ac_retval
2564 } # ac_fn_c_try_run
2566 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2567 # -------------------------------------------------------
2568 # Tests whether HEADER exists and can be compiled using the include files in
2569 # INCLUDES, setting the cache variable VAR accordingly.
2570 ac_fn_c_check_header_compile ()
2572 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2574 $as_echo_n "checking for $2... " >&6; }
2575 if eval \${$3+:} false; then :
2576 $as_echo_n "(cached) " >&6
2577 else
2578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2579 /* end confdefs.h. */
2581 #include <$2>
2582 _ACEOF
2583 if ac_fn_c_try_compile "$LINENO"; then :
2584 eval "$3=yes"
2585 else
2586 eval "$3=no"
2588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2590 eval ac_res=\$$3
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2592 $as_echo "$ac_res" >&6; }
2593 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2595 } # ac_fn_c_check_header_compile
2597 # ac_fn_c_check_func LINENO FUNC VAR
2598 # ----------------------------------
2599 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2600 ac_fn_c_check_func ()
2602 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2604 $as_echo_n "checking for $2... " >&6; }
2605 if eval \${$3+:} false; then :
2606 $as_echo_n "(cached) " >&6
2607 else
2608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2609 /* end confdefs.h. */
2610 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2611 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2612 #define $2 innocuous_$2
2614 /* System header to define __stub macros and hopefully few prototypes,
2615 which can conflict with char $2 (); below.
2616 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2617 <limits.h> exists even on freestanding compilers. */
2619 #ifdef __STDC__
2620 # include <limits.h>
2621 #else
2622 # include <assert.h>
2623 #endif
2625 #undef $2
2627 /* Override any GCC internal prototype to avoid an error.
2628 Use char because int might match the return type of a GCC
2629 builtin and then its argument prototype would still apply. */
2630 #ifdef __cplusplus
2631 extern "C"
2632 #endif
2633 char $2 ();
2634 /* The GNU C library defines this for functions which it implements
2635 to always fail with ENOSYS. Some functions are actually named
2636 something starting with __ and the normal name is an alias. */
2637 #if defined __stub_$2 || defined __stub___$2
2638 choke me
2639 #endif
2642 main ()
2644 return $2 ();
2646 return 0;
2648 _ACEOF
2649 if ac_fn_c_try_link "$LINENO"; then :
2650 eval "$3=yes"
2651 else
2652 eval "$3=no"
2654 rm -f core conftest.err conftest.$ac_objext \
2655 conftest$ac_exeext conftest.$ac_ext
2657 eval ac_res=\$$3
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2659 $as_echo "$ac_res" >&6; }
2660 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2662 } # ac_fn_c_check_func
2664 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2665 # ----------------------------------------------------
2666 # Tries to find if the field MEMBER exists in type AGGR, after including
2667 # INCLUDES, setting cache variable VAR accordingly.
2668 ac_fn_c_check_member ()
2670 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2672 $as_echo_n "checking for $2.$3... " >&6; }
2673 if eval \${$4+:} false; then :
2674 $as_echo_n "(cached) " >&6
2675 else
2676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2677 /* end confdefs.h. */
2680 main ()
2682 static $2 ac_aggr;
2683 if (ac_aggr.$3)
2684 return 0;
2686 return 0;
2688 _ACEOF
2689 if ac_fn_c_try_compile "$LINENO"; then :
2690 eval "$4=yes"
2691 else
2692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2693 /* end confdefs.h. */
2696 main ()
2698 static $2 ac_aggr;
2699 if (sizeof ac_aggr.$3)
2700 return 0;
2702 return 0;
2704 _ACEOF
2705 if ac_fn_c_try_compile "$LINENO"; then :
2706 eval "$4=yes"
2707 else
2708 eval "$4=no"
2710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2714 eval ac_res=\$$4
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2716 $as_echo "$ac_res" >&6; }
2717 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2719 } # ac_fn_c_check_member
2721 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2722 # -------------------------------------------
2723 # Tests whether TYPE exists after having included INCLUDES, setting cache
2724 # variable VAR accordingly.
2725 ac_fn_c_check_type ()
2727 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2729 $as_echo_n "checking for $2... " >&6; }
2730 if eval \${$3+:} false; then :
2731 $as_echo_n "(cached) " >&6
2732 else
2733 eval "$3=no"
2734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2735 /* end confdefs.h. */
2738 main ()
2740 if (sizeof ($2))
2741 return 0;
2743 return 0;
2745 _ACEOF
2746 if ac_fn_c_try_compile "$LINENO"; then :
2747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2748 /* end confdefs.h. */
2751 main ()
2753 if (sizeof (($2)))
2754 return 0;
2756 return 0;
2758 _ACEOF
2759 if ac_fn_c_try_compile "$LINENO"; then :
2761 else
2762 eval "$3=yes"
2764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2768 eval ac_res=\$$3
2769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2770 $as_echo "$ac_res" >&6; }
2771 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2773 } # ac_fn_c_check_type
2774 cat >config.log <<_ACEOF
2775 This file contains any messages produced by compilers while
2776 running configure, to aid debugging if configure makes a mistake.
2778 It was created by Wine $as_me 1.7.32, which was
2779 generated by GNU Autoconf 2.69. Invocation command line was
2781 $ $0 $@
2783 _ACEOF
2784 exec 5>>config.log
2786 cat <<_ASUNAME
2787 ## --------- ##
2788 ## Platform. ##
2789 ## --------- ##
2791 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2792 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2793 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2794 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2795 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2797 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2798 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2800 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2801 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2802 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2803 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2804 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2805 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2806 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2808 _ASUNAME
2810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2811 for as_dir in $PATH
2813 IFS=$as_save_IFS
2814 test -z "$as_dir" && as_dir=.
2815 $as_echo "PATH: $as_dir"
2816 done
2817 IFS=$as_save_IFS
2819 } >&5
2821 cat >&5 <<_ACEOF
2824 ## ----------- ##
2825 ## Core tests. ##
2826 ## ----------- ##
2828 _ACEOF
2831 # Keep a trace of the command line.
2832 # Strip out --no-create and --no-recursion so they do not pile up.
2833 # Strip out --silent because we don't want to record it for future runs.
2834 # Also quote any args containing shell meta-characters.
2835 # Make two passes to allow for proper duplicate-argument suppression.
2836 ac_configure_args=
2837 ac_configure_args0=
2838 ac_configure_args1=
2839 ac_must_keep_next=false
2840 for ac_pass in 1 2
2842 for ac_arg
2844 case $ac_arg in
2845 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2846 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2847 | -silent | --silent | --silen | --sile | --sil)
2848 continue ;;
2849 *\'*)
2850 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2851 esac
2852 case $ac_pass in
2853 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2855 as_fn_append ac_configure_args1 " '$ac_arg'"
2856 if test $ac_must_keep_next = true; then
2857 ac_must_keep_next=false # Got value, back to normal.
2858 else
2859 case $ac_arg in
2860 *=* | --config-cache | -C | -disable-* | --disable-* \
2861 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2862 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2863 | -with-* | --with-* | -without-* | --without-* | --x)
2864 case "$ac_configure_args0 " in
2865 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2866 esac
2868 -* ) ac_must_keep_next=true ;;
2869 esac
2871 as_fn_append ac_configure_args " '$ac_arg'"
2873 esac
2874 done
2875 done
2876 { ac_configure_args0=; unset ac_configure_args0;}
2877 { ac_configure_args1=; unset ac_configure_args1;}
2879 # When interrupted or exit'd, cleanup temporary files, and complete
2880 # config.log. We remove comments because anyway the quotes in there
2881 # would cause problems or look ugly.
2882 # WARNING: Use '\'' to represent an apostrophe within the trap.
2883 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2884 trap 'exit_status=$?
2885 # Save into config.log some information that might help in debugging.
2887 echo
2889 $as_echo "## ---------------- ##
2890 ## Cache variables. ##
2891 ## ---------------- ##"
2892 echo
2893 # The following way of writing the cache mishandles newlines in values,
2895 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2896 eval ac_val=\$$ac_var
2897 case $ac_val in #(
2898 *${as_nl}*)
2899 case $ac_var in #(
2900 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2901 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2902 esac
2903 case $ac_var in #(
2904 _ | IFS | as_nl) ;; #(
2905 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2906 *) { eval $ac_var=; unset $ac_var;} ;;
2907 esac ;;
2908 esac
2909 done
2910 (set) 2>&1 |
2911 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2912 *${as_nl}ac_space=\ *)
2913 sed -n \
2914 "s/'\''/'\''\\\\'\'''\''/g;
2915 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2916 ;; #(
2918 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2920 esac |
2921 sort
2923 echo
2925 $as_echo "## ----------------- ##
2926 ## Output variables. ##
2927 ## ----------------- ##"
2928 echo
2929 for ac_var in $ac_subst_vars
2931 eval ac_val=\$$ac_var
2932 case $ac_val in
2933 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2934 esac
2935 $as_echo "$ac_var='\''$ac_val'\''"
2936 done | sort
2937 echo
2939 if test -n "$ac_subst_files"; then
2940 $as_echo "## ------------------- ##
2941 ## File substitutions. ##
2942 ## ------------------- ##"
2943 echo
2944 for ac_var in $ac_subst_files
2946 eval ac_val=\$$ac_var
2947 case $ac_val in
2948 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2949 esac
2950 $as_echo "$ac_var='\''$ac_val'\''"
2951 done | sort
2952 echo
2955 if test -s confdefs.h; then
2956 $as_echo "## ----------- ##
2957 ## confdefs.h. ##
2958 ## ----------- ##"
2959 echo
2960 cat confdefs.h
2961 echo
2963 test "$ac_signal" != 0 &&
2964 $as_echo "$as_me: caught signal $ac_signal"
2965 $as_echo "$as_me: exit $exit_status"
2966 } >&5
2967 rm -f core *.core core.conftest.* &&
2968 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2969 exit $exit_status
2971 for ac_signal in 1 2 13 15; do
2972 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2973 done
2974 ac_signal=0
2976 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2977 rm -f -r conftest* confdefs.h
2979 $as_echo "/* confdefs.h */" > confdefs.h
2981 # Predefined preprocessor variables.
2983 cat >>confdefs.h <<_ACEOF
2984 #define PACKAGE_NAME "$PACKAGE_NAME"
2985 _ACEOF
2987 cat >>confdefs.h <<_ACEOF
2988 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2989 _ACEOF
2991 cat >>confdefs.h <<_ACEOF
2992 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2993 _ACEOF
2995 cat >>confdefs.h <<_ACEOF
2996 #define PACKAGE_STRING "$PACKAGE_STRING"
2997 _ACEOF
2999 cat >>confdefs.h <<_ACEOF
3000 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3001 _ACEOF
3003 cat >>confdefs.h <<_ACEOF
3004 #define PACKAGE_URL "$PACKAGE_URL"
3005 _ACEOF
3008 # Let the site file select an alternate cache file if it wants to.
3009 # Prefer an explicitly selected file to automatically selected ones.
3010 ac_site_file1=NONE
3011 ac_site_file2=NONE
3012 if test -n "$CONFIG_SITE"; then
3013 # We do not want a PATH search for config.site.
3014 case $CONFIG_SITE in #((
3015 -*) ac_site_file1=./$CONFIG_SITE;;
3016 */*) ac_site_file1=$CONFIG_SITE;;
3017 *) ac_site_file1=./$CONFIG_SITE;;
3018 esac
3019 elif test "x$prefix" != xNONE; then
3020 ac_site_file1=$prefix/share/config.site
3021 ac_site_file2=$prefix/etc/config.site
3022 else
3023 ac_site_file1=$ac_default_prefix/share/config.site
3024 ac_site_file2=$ac_default_prefix/etc/config.site
3026 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3028 test "x$ac_site_file" = xNONE && continue
3029 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3031 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3032 sed 's/^/| /' "$ac_site_file" >&5
3033 . "$ac_site_file" \
3034 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3035 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3036 as_fn_error $? "failed to load site script $ac_site_file
3037 See \`config.log' for more details" "$LINENO" 5; }
3039 done
3041 if test -r "$cache_file"; then
3042 # Some versions of bash will fail to source /dev/null (special files
3043 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3044 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3046 $as_echo "$as_me: loading cache $cache_file" >&6;}
3047 case $cache_file in
3048 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3049 *) . "./$cache_file";;
3050 esac
3052 else
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3054 $as_echo "$as_me: creating cache $cache_file" >&6;}
3055 >$cache_file
3058 # Check that the precious variables saved in the cache have kept the same
3059 # value.
3060 ac_cache_corrupted=false
3061 for ac_var in $ac_precious_vars; do
3062 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3063 eval ac_new_set=\$ac_env_${ac_var}_set
3064 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3065 eval ac_new_val=\$ac_env_${ac_var}_value
3066 case $ac_old_set,$ac_new_set in
3067 set,)
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3069 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3070 ac_cache_corrupted=: ;;
3071 ,set)
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3073 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3074 ac_cache_corrupted=: ;;
3075 ,);;
3077 if test "x$ac_old_val" != "x$ac_new_val"; then
3078 # differences in whitespace do not lead to failure.
3079 ac_old_val_w=`echo x $ac_old_val`
3080 ac_new_val_w=`echo x $ac_new_val`
3081 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3083 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3084 ac_cache_corrupted=:
3085 else
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3087 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3088 eval $ac_var=\$ac_old_val
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3091 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3093 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3094 fi;;
3095 esac
3096 # Pass precious variables to config.status.
3097 if test "$ac_new_set" = set; then
3098 case $ac_new_val in
3099 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3100 *) ac_arg=$ac_var=$ac_new_val ;;
3101 esac
3102 case " $ac_configure_args " in
3103 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3104 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3105 esac
3107 done
3108 if $ac_cache_corrupted; then
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3110 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3111 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3112 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3113 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3115 ## -------------------- ##
3116 ## Main body of script. ##
3117 ## -------------------- ##
3119 ac_ext=c
3120 ac_cpp='$CPP $CPPFLAGS'
3121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3127 ac_config_headers="$ac_config_headers include/config.h"
3129 ac_aux_dir=
3130 for ac_dir in tools "$srcdir"/tools; do
3131 if test -f "$ac_dir/install-sh"; then
3132 ac_aux_dir=$ac_dir
3133 ac_install_sh="$ac_aux_dir/install-sh -c"
3134 break
3135 elif test -f "$ac_dir/install.sh"; then
3136 ac_aux_dir=$ac_dir
3137 ac_install_sh="$ac_aux_dir/install.sh -c"
3138 break
3139 elif test -f "$ac_dir/shtool"; then
3140 ac_aux_dir=$ac_dir
3141 ac_install_sh="$ac_aux_dir/shtool install -c"
3142 break
3144 done
3145 if test -z "$ac_aux_dir"; then
3146 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3149 # These three variables are undocumented and unsupported,
3150 # and are intended to be withdrawn in a future Autoconf release.
3151 # They can cause serious problems if a builder's source tree is in a directory
3152 # whose full name contains unusual characters.
3153 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3154 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3155 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3159 libwine_version="1.0"
3163 # Check whether --enable-win16 was given.
3164 if test "${enable_win16+set}" = set; then :
3165 enableval=$enable_win16;
3168 # Check whether --enable-win64 was given.
3169 if test "${enable_win64+set}" = set; then :
3170 enableval=$enable_win64;
3173 # Check whether --enable-tests was given.
3174 if test "${enable_tests+set}" = set; then :
3175 enableval=$enable_tests;
3178 # Check whether --enable-maintainer-mode was given.
3179 if test "${enable_maintainer_mode+set}" = set; then :
3180 enableval=$enable_maintainer_mode;
3185 # Check whether --with-alsa was given.
3186 if test "${with_alsa+set}" = set; then :
3187 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3191 # Check whether --with-capi was given.
3192 if test "${with_capi+set}" = set; then :
3193 withval=$with_capi;
3197 # Check whether --with-cms was given.
3198 if test "${with_cms+set}" = set; then :
3199 withval=$with_cms;
3203 # Check whether --with-coreaudio was given.
3204 if test "${with_coreaudio+set}" = set; then :
3205 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3209 # Check whether --with-cups was given.
3210 if test "${with_cups+set}" = set; then :
3211 withval=$with_cups;
3215 # Check whether --with-curses was given.
3216 if test "${with_curses+set}" = set; then :
3217 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3221 # Check whether --with-dbus was given.
3222 if test "${with_dbus+set}" = set; then :
3223 withval=$with_dbus;
3227 # Check whether --with-fontconfig was given.
3228 if test "${with_fontconfig+set}" = set; then :
3229 withval=$with_fontconfig;
3233 # Check whether --with-freetype was given.
3234 if test "${with_freetype+set}" = set; then :
3235 withval=$with_freetype;
3239 # Check whether --with-gettext was given.
3240 if test "${with_gettext+set}" = set; then :
3241 withval=$with_gettext;
3245 # Check whether --with-gettextpo was given.
3246 if test "${with_gettextpo+set}" = set; then :
3247 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3251 # Check whether --with-gphoto was given.
3252 if test "${with_gphoto+set}" = set; then :
3253 withval=$with_gphoto;
3257 # Check whether --with-glu was given.
3258 if test "${with_glu+set}" = set; then :
3259 withval=$with_glu;
3263 # Check whether --with-gnutls was given.
3264 if test "${with_gnutls+set}" = set; then :
3265 withval=$with_gnutls;
3269 # Check whether --with-gsm was given.
3270 if test "${with_gsm+set}" = set; then :
3271 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3275 # Check whether --with-gstreamer was given.
3276 if test "${with_gstreamer+set}" = set; then :
3277 withval=$with_gstreamer;
3281 # Check whether --with-hal was given.
3282 if test "${with_hal+set}" = set; then :
3283 withval=$with_hal;
3287 # Check whether --with-jpeg was given.
3288 if test "${with_jpeg+set}" = set; then :
3289 withval=$with_jpeg;
3293 # Check whether --with-ldap was given.
3294 if test "${with_ldap+set}" = set; then :
3295 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3299 # Check whether --with-mpg123 was given.
3300 if test "${with_mpg123+set}" = set; then :
3301 withval=$with_mpg123;
3305 # Check whether --with-netapi was given.
3306 if test "${with_netapi+set}" = set; then :
3307 withval=$with_netapi;
3311 # Check whether --with-openal was given.
3312 if test "${with_openal+set}" = set; then :
3313 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3317 # Check whether --with-opencl was given.
3318 if test "${with_opencl+set}" = set; then :
3319 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3323 # Check whether --with-opengl was given.
3324 if test "${with_opengl+set}" = set; then :
3325 withval=$with_opengl;
3329 # Check whether --with-osmesa was given.
3330 if test "${with_osmesa+set}" = set; then :
3331 withval=$with_osmesa;
3335 # Check whether --with-oss was given.
3336 if test "${with_oss+set}" = set; then :
3337 withval=$with_oss;
3341 # Check whether --with-pcap was given.
3342 if test "${with_pcap+set}" = set; then :
3343 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3347 # Check whether --with-png was given.
3348 if test "${with_png+set}" = set; then :
3349 withval=$with_png;
3353 # Check whether --with-pthread was given.
3354 if test "${with_pthread+set}" = set; then :
3355 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3359 # Check whether --with-sane was given.
3360 if test "${with_sane+set}" = set; then :
3361 withval=$with_sane;
3365 # Check whether --with-tiff was given.
3366 if test "${with_tiff+set}" = set; then :
3367 withval=$with_tiff;
3371 # Check whether --with-v4l was given.
3372 if test "${with_v4l+set}" = set; then :
3373 withval=$with_v4l;
3377 # Check whether --with-xcomposite was given.
3378 if test "${with_xcomposite+set}" = set; then :
3379 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3383 # Check whether --with-xcursor was given.
3384 if test "${with_xcursor+set}" = set; then :
3385 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3389 # Check whether --with-xinerama was given.
3390 if test "${with_xinerama+set}" = set; then :
3391 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3395 # Check whether --with-xinput was given.
3396 if test "${with_xinput+set}" = set; then :
3397 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3401 # Check whether --with-xinput2 was given.
3402 if test "${with_xinput2+set}" = set; then :
3403 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3407 # Check whether --with-xml was given.
3408 if test "${with_xml+set}" = set; then :
3409 withval=$with_xml;
3413 # Check whether --with-xrandr was given.
3414 if test "${with_xrandr+set}" = set; then :
3415 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3419 # Check whether --with-xrender was given.
3420 if test "${with_xrender+set}" = set; then :
3421 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3425 # Check whether --with-xshape was given.
3426 if test "${with_xshape+set}" = set; then :
3427 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3431 # Check whether --with-xshm was given.
3432 if test "${with_xshm+set}" = set; then :
3433 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3437 # Check whether --with-xslt was given.
3438 if test "${with_xslt+set}" = set; then :
3439 withval=$with_xslt;
3443 # Check whether --with-xxf86vm was given.
3444 if test "${with_xxf86vm+set}" = set; then :
3445 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
3449 # Check whether --with-zlib was given.
3450 if test "${with_zlib+set}" = set; then :
3451 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3456 # Check whether --with-wine-tools was given.
3457 if test "${with_wine_tools+set}" = set; then :
3458 withval=$with_wine_tools;
3462 # Check whether --with-wine64 was given.
3463 if test "${with_wine64+set}" = set; then :
3464 withval=$with_wine64;
3468 # Make sure we can run config.sub.
3469 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3470 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3473 $as_echo_n "checking build system type... " >&6; }
3474 if ${ac_cv_build+:} false; then :
3475 $as_echo_n "(cached) " >&6
3476 else
3477 ac_build_alias=$build_alias
3478 test "x$ac_build_alias" = x &&
3479 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3480 test "x$ac_build_alias" = x &&
3481 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3482 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3483 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3487 $as_echo "$ac_cv_build" >&6; }
3488 case $ac_cv_build in
3489 *-*-*) ;;
3490 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3491 esac
3492 build=$ac_cv_build
3493 ac_save_IFS=$IFS; IFS='-'
3494 set x $ac_cv_build
3495 shift
3496 build_cpu=$1
3497 build_vendor=$2
3498 shift; shift
3499 # Remember, the first character of IFS is used to create $*,
3500 # except with old shells:
3501 build_os=$*
3502 IFS=$ac_save_IFS
3503 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3507 $as_echo_n "checking host system type... " >&6; }
3508 if ${ac_cv_host+:} false; then :
3509 $as_echo_n "(cached) " >&6
3510 else
3511 if test "x$host_alias" = x; then
3512 ac_cv_host=$ac_cv_build
3513 else
3514 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3515 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3520 $as_echo "$ac_cv_host" >&6; }
3521 case $ac_cv_host in
3522 *-*-*) ;;
3523 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3524 esac
3525 host=$ac_cv_host
3526 ac_save_IFS=$IFS; IFS='-'
3527 set x $ac_cv_host
3528 shift
3529 host_cpu=$1
3530 host_vendor=$2
3531 shift; shift
3532 # Remember, the first character of IFS is used to create $*,
3533 # except with old shells:
3534 host_os=$*
3535 IFS=$ac_save_IFS
3536 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3540 case "$srcdir" in
3541 .) ;;
3542 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3543 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3544 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3545 fi ;;
3546 esac
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3550 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3551 set x ${MAKE-make}
3552 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3553 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3554 $as_echo_n "(cached) " >&6
3555 else
3556 cat >conftest.make <<\_ACEOF
3557 SHELL = /bin/sh
3558 all:
3559 @echo '@@@%%%=$(MAKE)=@@@%%%'
3560 _ACEOF
3561 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3562 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3563 *@@@%%%=?*=@@@%%%*)
3564 eval ac_cv_prog_make_${ac_make}_set=yes;;
3566 eval ac_cv_prog_make_${ac_make}_set=no;;
3567 esac
3568 rm -f conftest.make
3570 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3572 $as_echo "yes" >&6; }
3573 SET_MAKE=
3574 else
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3576 $as_echo "no" >&6; }
3577 SET_MAKE="MAKE=${MAKE-make}"
3580 ac_ext=c
3581 ac_cpp='$CPP $CPPFLAGS'
3582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3585 if test -n "$ac_tool_prefix"; then
3586 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3587 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3589 $as_echo_n "checking for $ac_word... " >&6; }
3590 if ${ac_cv_prog_CC+:} false; then :
3591 $as_echo_n "(cached) " >&6
3592 else
3593 if test -n "$CC"; then
3594 ac_cv_prog_CC="$CC" # Let the user override the test.
3595 else
3596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3597 for as_dir in $PATH
3599 IFS=$as_save_IFS
3600 test -z "$as_dir" && as_dir=.
3601 for ac_exec_ext in '' $ac_executable_extensions; do
3602 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3603 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3605 break 2
3607 done
3608 done
3609 IFS=$as_save_IFS
3613 CC=$ac_cv_prog_CC
3614 if test -n "$CC"; then
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3616 $as_echo "$CC" >&6; }
3617 else
3618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3619 $as_echo "no" >&6; }
3624 if test -z "$ac_cv_prog_CC"; then
3625 ac_ct_CC=$CC
3626 # Extract the first word of "gcc", so it can be a program name with args.
3627 set dummy gcc; ac_word=$2
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3629 $as_echo_n "checking for $ac_word... " >&6; }
3630 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3631 $as_echo_n "(cached) " >&6
3632 else
3633 if test -n "$ac_ct_CC"; then
3634 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3635 else
3636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3637 for as_dir in $PATH
3639 IFS=$as_save_IFS
3640 test -z "$as_dir" && as_dir=.
3641 for ac_exec_ext in '' $ac_executable_extensions; do
3642 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3643 ac_cv_prog_ac_ct_CC="gcc"
3644 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3645 break 2
3647 done
3648 done
3649 IFS=$as_save_IFS
3653 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3654 if test -n "$ac_ct_CC"; then
3655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3656 $as_echo "$ac_ct_CC" >&6; }
3657 else
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3659 $as_echo "no" >&6; }
3662 if test "x$ac_ct_CC" = x; then
3663 CC=""
3664 else
3665 case $cross_compiling:$ac_tool_warned in
3666 yes:)
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3668 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3669 ac_tool_warned=yes ;;
3670 esac
3671 CC=$ac_ct_CC
3673 else
3674 CC="$ac_cv_prog_CC"
3677 if test -z "$CC"; then
3678 if test -n "$ac_tool_prefix"; then
3679 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3680 set dummy ${ac_tool_prefix}cc; ac_word=$2
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3682 $as_echo_n "checking for $ac_word... " >&6; }
3683 if ${ac_cv_prog_CC+:} false; then :
3684 $as_echo_n "(cached) " >&6
3685 else
3686 if test -n "$CC"; then
3687 ac_cv_prog_CC="$CC" # Let the user override the test.
3688 else
3689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3690 for as_dir in $PATH
3692 IFS=$as_save_IFS
3693 test -z "$as_dir" && as_dir=.
3694 for ac_exec_ext in '' $ac_executable_extensions; do
3695 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3696 ac_cv_prog_CC="${ac_tool_prefix}cc"
3697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3698 break 2
3700 done
3701 done
3702 IFS=$as_save_IFS
3706 CC=$ac_cv_prog_CC
3707 if test -n "$CC"; then
3708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3709 $as_echo "$CC" >&6; }
3710 else
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3712 $as_echo "no" >&6; }
3718 if test -z "$CC"; then
3719 # Extract the first word of "cc", so it can be a program name with args.
3720 set dummy cc; ac_word=$2
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3722 $as_echo_n "checking for $ac_word... " >&6; }
3723 if ${ac_cv_prog_CC+:} false; then :
3724 $as_echo_n "(cached) " >&6
3725 else
3726 if test -n "$CC"; then
3727 ac_cv_prog_CC="$CC" # Let the user override the test.
3728 else
3729 ac_prog_rejected=no
3730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3731 for as_dir in $PATH
3733 IFS=$as_save_IFS
3734 test -z "$as_dir" && as_dir=.
3735 for ac_exec_ext in '' $ac_executable_extensions; do
3736 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3737 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3738 ac_prog_rejected=yes
3739 continue
3741 ac_cv_prog_CC="cc"
3742 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3743 break 2
3745 done
3746 done
3747 IFS=$as_save_IFS
3749 if test $ac_prog_rejected = yes; then
3750 # We found a bogon in the path, so make sure we never use it.
3751 set dummy $ac_cv_prog_CC
3752 shift
3753 if test $# != 0; then
3754 # We chose a different compiler from the bogus one.
3755 # However, it has the same basename, so the bogon will be chosen
3756 # first if we set CC to just the basename; use the full file name.
3757 shift
3758 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3763 CC=$ac_cv_prog_CC
3764 if test -n "$CC"; then
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3766 $as_echo "$CC" >&6; }
3767 else
3768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3769 $as_echo "no" >&6; }
3774 if test -z "$CC"; then
3775 if test -n "$ac_tool_prefix"; then
3776 for ac_prog in cl.exe
3778 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3779 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3781 $as_echo_n "checking for $ac_word... " >&6; }
3782 if ${ac_cv_prog_CC+:} false; then :
3783 $as_echo_n "(cached) " >&6
3784 else
3785 if test -n "$CC"; then
3786 ac_cv_prog_CC="$CC" # Let the user override the test.
3787 else
3788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3789 for as_dir in $PATH
3791 IFS=$as_save_IFS
3792 test -z "$as_dir" && as_dir=.
3793 for ac_exec_ext in '' $ac_executable_extensions; do
3794 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3795 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3797 break 2
3799 done
3800 done
3801 IFS=$as_save_IFS
3805 CC=$ac_cv_prog_CC
3806 if test -n "$CC"; then
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3808 $as_echo "$CC" >&6; }
3809 else
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3811 $as_echo "no" >&6; }
3815 test -n "$CC" && break
3816 done
3818 if test -z "$CC"; then
3819 ac_ct_CC=$CC
3820 for ac_prog in cl.exe
3822 # Extract the first word of "$ac_prog", so it can be a program name with args.
3823 set dummy $ac_prog; ac_word=$2
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3825 $as_echo_n "checking for $ac_word... " >&6; }
3826 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3827 $as_echo_n "(cached) " >&6
3828 else
3829 if test -n "$ac_ct_CC"; then
3830 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3831 else
3832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3833 for as_dir in $PATH
3835 IFS=$as_save_IFS
3836 test -z "$as_dir" && as_dir=.
3837 for ac_exec_ext in '' $ac_executable_extensions; do
3838 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3839 ac_cv_prog_ac_ct_CC="$ac_prog"
3840 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3841 break 2
3843 done
3844 done
3845 IFS=$as_save_IFS
3849 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3850 if test -n "$ac_ct_CC"; then
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3852 $as_echo "$ac_ct_CC" >&6; }
3853 else
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3855 $as_echo "no" >&6; }
3859 test -n "$ac_ct_CC" && break
3860 done
3862 if test "x$ac_ct_CC" = x; then
3863 CC=""
3864 else
3865 case $cross_compiling:$ac_tool_warned in
3866 yes:)
3867 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3868 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3869 ac_tool_warned=yes ;;
3870 esac
3871 CC=$ac_ct_CC
3878 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3879 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3880 as_fn_error $? "no acceptable C compiler found in \$PATH
3881 See \`config.log' for more details" "$LINENO" 5; }
3883 # Provide some information about the compiler.
3884 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3885 set X $ac_compile
3886 ac_compiler=$2
3887 for ac_option in --version -v -V -qversion; do
3888 { { ac_try="$ac_compiler $ac_option >&5"
3889 case "(($ac_try" in
3890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3891 *) ac_try_echo=$ac_try;;
3892 esac
3893 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3894 $as_echo "$ac_try_echo"; } >&5
3895 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3896 ac_status=$?
3897 if test -s conftest.err; then
3898 sed '10a\
3899 ... rest of stderr output deleted ...
3900 10q' conftest.err >conftest.er1
3901 cat conftest.er1 >&5
3903 rm -f conftest.er1 conftest.err
3904 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3905 test $ac_status = 0; }
3906 done
3908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3909 /* end confdefs.h. */
3912 main ()
3916 return 0;
3918 _ACEOF
3919 ac_clean_files_save=$ac_clean_files
3920 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3921 # Try to create an executable without -o first, disregard a.out.
3922 # It will help us diagnose broken compilers, and finding out an intuition
3923 # of exeext.
3924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3925 $as_echo_n "checking whether the C compiler works... " >&6; }
3926 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3928 # The possible output files:
3929 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3931 ac_rmfiles=
3932 for ac_file in $ac_files
3934 case $ac_file in
3935 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3936 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3937 esac
3938 done
3939 rm -f $ac_rmfiles
3941 if { { ac_try="$ac_link_default"
3942 case "(($ac_try" in
3943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3944 *) ac_try_echo=$ac_try;;
3945 esac
3946 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3947 $as_echo "$ac_try_echo"; } >&5
3948 (eval "$ac_link_default") 2>&5
3949 ac_status=$?
3950 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3951 test $ac_status = 0; }; then :
3952 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3953 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3954 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3955 # so that the user can short-circuit this test for compilers unknown to
3956 # Autoconf.
3957 for ac_file in $ac_files ''
3959 test -f "$ac_file" || continue
3960 case $ac_file in
3961 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3963 [ab].out )
3964 # We found the default executable, but exeext='' is most
3965 # certainly right.
3966 break;;
3967 *.* )
3968 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3969 then :; else
3970 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3972 # We set ac_cv_exeext here because the later test for it is not
3973 # safe: cross compilers may not add the suffix if given an `-o'
3974 # argument, so we may need to know it at that point already.
3975 # Even if this section looks crufty: it has the advantage of
3976 # actually working.
3977 break;;
3979 break;;
3980 esac
3981 done
3982 test "$ac_cv_exeext" = no && ac_cv_exeext=
3984 else
3985 ac_file=''
3987 if test -z "$ac_file"; then :
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3989 $as_echo "no" >&6; }
3990 $as_echo "$as_me: failed program was:" >&5
3991 sed 's/^/| /' conftest.$ac_ext >&5
3993 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3994 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3995 as_fn_error 77 "C compiler cannot create executables
3996 See \`config.log' for more details" "$LINENO" 5; }
3997 else
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3999 $as_echo "yes" >&6; }
4001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4002 $as_echo_n "checking for C compiler default output file name... " >&6; }
4003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4004 $as_echo "$ac_file" >&6; }
4005 ac_exeext=$ac_cv_exeext
4007 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4008 ac_clean_files=$ac_clean_files_save
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4010 $as_echo_n "checking for suffix of executables... " >&6; }
4011 if { { ac_try="$ac_link"
4012 case "(($ac_try" in
4013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4014 *) ac_try_echo=$ac_try;;
4015 esac
4016 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4017 $as_echo "$ac_try_echo"; } >&5
4018 (eval "$ac_link") 2>&5
4019 ac_status=$?
4020 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4021 test $ac_status = 0; }; then :
4022 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4023 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4024 # work properly (i.e., refer to `conftest.exe'), while it won't with
4025 # `rm'.
4026 for ac_file in conftest.exe conftest conftest.*; do
4027 test -f "$ac_file" || continue
4028 case $ac_file in
4029 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4030 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4031 break;;
4032 * ) break;;
4033 esac
4034 done
4035 else
4036 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4037 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4038 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4039 See \`config.log' for more details" "$LINENO" 5; }
4041 rm -f conftest conftest$ac_cv_exeext
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4043 $as_echo "$ac_cv_exeext" >&6; }
4045 rm -f conftest.$ac_ext
4046 EXEEXT=$ac_cv_exeext
4047 ac_exeext=$EXEEXT
4048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4049 /* end confdefs.h. */
4050 #include <stdio.h>
4052 main ()
4054 FILE *f = fopen ("conftest.out", "w");
4055 return ferror (f) || fclose (f) != 0;
4058 return 0;
4060 _ACEOF
4061 ac_clean_files="$ac_clean_files conftest.out"
4062 # Check that the compiler produces executables we can run. If not, either
4063 # the compiler is broken, or we cross compile.
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4065 $as_echo_n "checking whether we are cross compiling... " >&6; }
4066 if test "$cross_compiling" != yes; then
4067 { { ac_try="$ac_link"
4068 case "(($ac_try" in
4069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4070 *) ac_try_echo=$ac_try;;
4071 esac
4072 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4073 $as_echo "$ac_try_echo"; } >&5
4074 (eval "$ac_link") 2>&5
4075 ac_status=$?
4076 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4077 test $ac_status = 0; }
4078 if { ac_try='./conftest$ac_cv_exeext'
4079 { { case "(($ac_try" in
4080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4081 *) ac_try_echo=$ac_try;;
4082 esac
4083 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4084 $as_echo "$ac_try_echo"; } >&5
4085 (eval "$ac_try") 2>&5
4086 ac_status=$?
4087 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4088 test $ac_status = 0; }; }; then
4089 cross_compiling=no
4090 else
4091 if test "$cross_compiling" = maybe; then
4092 cross_compiling=yes
4093 else
4094 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4095 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4096 as_fn_error $? "cannot run C compiled programs.
4097 If you meant to cross compile, use \`--host'.
4098 See \`config.log' for more details" "$LINENO" 5; }
4102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4103 $as_echo "$cross_compiling" >&6; }
4105 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4106 ac_clean_files=$ac_clean_files_save
4107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4108 $as_echo_n "checking for suffix of object files... " >&6; }
4109 if ${ac_cv_objext+:} false; then :
4110 $as_echo_n "(cached) " >&6
4111 else
4112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4113 /* end confdefs.h. */
4116 main ()
4120 return 0;
4122 _ACEOF
4123 rm -f conftest.o conftest.obj
4124 if { { ac_try="$ac_compile"
4125 case "(($ac_try" in
4126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4127 *) ac_try_echo=$ac_try;;
4128 esac
4129 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4130 $as_echo "$ac_try_echo"; } >&5
4131 (eval "$ac_compile") 2>&5
4132 ac_status=$?
4133 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4134 test $ac_status = 0; }; then :
4135 for ac_file in conftest.o conftest.obj conftest.*; do
4136 test -f "$ac_file" || continue;
4137 case $ac_file in
4138 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4139 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4140 break;;
4141 esac
4142 done
4143 else
4144 $as_echo "$as_me: failed program was:" >&5
4145 sed 's/^/| /' conftest.$ac_ext >&5
4147 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4148 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4149 as_fn_error $? "cannot compute suffix of object files: cannot compile
4150 See \`config.log' for more details" "$LINENO" 5; }
4152 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4155 $as_echo "$ac_cv_objext" >&6; }
4156 OBJEXT=$ac_cv_objext
4157 ac_objext=$OBJEXT
4158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4159 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4160 if ${ac_cv_c_compiler_gnu+:} false; then :
4161 $as_echo_n "(cached) " >&6
4162 else
4163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4164 /* end confdefs.h. */
4167 main ()
4169 #ifndef __GNUC__
4170 choke me
4171 #endif
4174 return 0;
4176 _ACEOF
4177 if ac_fn_c_try_compile "$LINENO"; then :
4178 ac_compiler_gnu=yes
4179 else
4180 ac_compiler_gnu=no
4182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4183 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4187 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4188 if test $ac_compiler_gnu = yes; then
4189 GCC=yes
4190 else
4191 GCC=
4193 ac_test_CFLAGS=${CFLAGS+set}
4194 ac_save_CFLAGS=$CFLAGS
4195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4196 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4197 if ${ac_cv_prog_cc_g+:} false; then :
4198 $as_echo_n "(cached) " >&6
4199 else
4200 ac_save_c_werror_flag=$ac_c_werror_flag
4201 ac_c_werror_flag=yes
4202 ac_cv_prog_cc_g=no
4203 CFLAGS="-g"
4204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4205 /* end confdefs.h. */
4208 main ()
4212 return 0;
4214 _ACEOF
4215 if ac_fn_c_try_compile "$LINENO"; then :
4216 ac_cv_prog_cc_g=yes
4217 else
4218 CFLAGS=""
4219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4220 /* end confdefs.h. */
4223 main ()
4227 return 0;
4229 _ACEOF
4230 if ac_fn_c_try_compile "$LINENO"; then :
4232 else
4233 ac_c_werror_flag=$ac_save_c_werror_flag
4234 CFLAGS="-g"
4235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4236 /* end confdefs.h. */
4239 main ()
4243 return 0;
4245 _ACEOF
4246 if ac_fn_c_try_compile "$LINENO"; then :
4247 ac_cv_prog_cc_g=yes
4249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4254 ac_c_werror_flag=$ac_save_c_werror_flag
4256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4257 $as_echo "$ac_cv_prog_cc_g" >&6; }
4258 if test "$ac_test_CFLAGS" = set; then
4259 CFLAGS=$ac_save_CFLAGS
4260 elif test $ac_cv_prog_cc_g = yes; then
4261 if test "$GCC" = yes; then
4262 CFLAGS="-g -O2"
4263 else
4264 CFLAGS="-g"
4266 else
4267 if test "$GCC" = yes; then
4268 CFLAGS="-O2"
4269 else
4270 CFLAGS=
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4274 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4275 if ${ac_cv_prog_cc_c89+:} false; then :
4276 $as_echo_n "(cached) " >&6
4277 else
4278 ac_cv_prog_cc_c89=no
4279 ac_save_CC=$CC
4280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4281 /* end confdefs.h. */
4282 #include <stdarg.h>
4283 #include <stdio.h>
4284 struct stat;
4285 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4286 struct buf { int x; };
4287 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4288 static char *e (p, i)
4289 char **p;
4290 int i;
4292 return p[i];
4294 static char *f (char * (*g) (char **, int), char **p, ...)
4296 char *s;
4297 va_list v;
4298 va_start (v,p);
4299 s = g (p, va_arg (v,int));
4300 va_end (v);
4301 return s;
4304 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4305 function prototypes and stuff, but not '\xHH' hex character constants.
4306 These don't provoke an error unfortunately, instead are silently treated
4307 as 'x'. The following induces an error, until -std is added to get
4308 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4309 array size at least. It's necessary to write '\x00'==0 to get something
4310 that's true only with -std. */
4311 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4313 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4314 inside strings and character constants. */
4315 #define FOO(x) 'x'
4316 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4318 int test (int i, double x);
4319 struct s1 {int (*f) (int a);};
4320 struct s2 {int (*f) (double a);};
4321 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4322 int argc;
4323 char **argv;
4325 main ()
4327 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4329 return 0;
4331 _ACEOF
4332 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4333 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4335 CC="$ac_save_CC $ac_arg"
4336 if ac_fn_c_try_compile "$LINENO"; then :
4337 ac_cv_prog_cc_c89=$ac_arg
4339 rm -f core conftest.err conftest.$ac_objext
4340 test "x$ac_cv_prog_cc_c89" != "xno" && break
4341 done
4342 rm -f conftest.$ac_ext
4343 CC=$ac_save_CC
4346 # AC_CACHE_VAL
4347 case "x$ac_cv_prog_cc_c89" in
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4350 $as_echo "none needed" >&6; } ;;
4351 xno)
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4353 $as_echo "unsupported" >&6; } ;;
4355 CC="$CC $ac_cv_prog_cc_c89"
4356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4357 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4358 esac
4359 if test "x$ac_cv_prog_cc_c89" != xno; then :
4363 ac_ext=c
4364 ac_cpp='$CPP $CPPFLAGS'
4365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4369 ac_ext=cpp
4370 ac_cpp='$CXXCPP $CPPFLAGS'
4371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4374 if test -z "$CXX"; then
4375 if test -n "$CCC"; then
4376 CXX=$CCC
4377 else
4378 if test -n "$ac_tool_prefix"; then
4379 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4381 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4382 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4384 $as_echo_n "checking for $ac_word... " >&6; }
4385 if ${ac_cv_prog_CXX+:} false; then :
4386 $as_echo_n "(cached) " >&6
4387 else
4388 if test -n "$CXX"; then
4389 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4390 else
4391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4392 for as_dir in $PATH
4394 IFS=$as_save_IFS
4395 test -z "$as_dir" && as_dir=.
4396 for ac_exec_ext in '' $ac_executable_extensions; do
4397 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4398 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4399 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4400 break 2
4402 done
4403 done
4404 IFS=$as_save_IFS
4408 CXX=$ac_cv_prog_CXX
4409 if test -n "$CXX"; then
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4411 $as_echo "$CXX" >&6; }
4412 else
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4414 $as_echo "no" >&6; }
4418 test -n "$CXX" && break
4419 done
4421 if test -z "$CXX"; then
4422 ac_ct_CXX=$CXX
4423 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4425 # Extract the first word of "$ac_prog", so it can be a program name with args.
4426 set dummy $ac_prog; ac_word=$2
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4428 $as_echo_n "checking for $ac_word... " >&6; }
4429 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4430 $as_echo_n "(cached) " >&6
4431 else
4432 if test -n "$ac_ct_CXX"; then
4433 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4434 else
4435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4436 for as_dir in $PATH
4438 IFS=$as_save_IFS
4439 test -z "$as_dir" && as_dir=.
4440 for ac_exec_ext in '' $ac_executable_extensions; do
4441 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4442 ac_cv_prog_ac_ct_CXX="$ac_prog"
4443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4444 break 2
4446 done
4447 done
4448 IFS=$as_save_IFS
4452 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4453 if test -n "$ac_ct_CXX"; then
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4455 $as_echo "$ac_ct_CXX" >&6; }
4456 else
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4458 $as_echo "no" >&6; }
4462 test -n "$ac_ct_CXX" && break
4463 done
4465 if test "x$ac_ct_CXX" = x; then
4466 CXX="g++"
4467 else
4468 case $cross_compiling:$ac_tool_warned in
4469 yes:)
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4471 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4472 ac_tool_warned=yes ;;
4473 esac
4474 CXX=$ac_ct_CXX
4480 # Provide some information about the compiler.
4481 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4482 set X $ac_compile
4483 ac_compiler=$2
4484 for ac_option in --version -v -V -qversion; do
4485 { { ac_try="$ac_compiler $ac_option >&5"
4486 case "(($ac_try" in
4487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4488 *) ac_try_echo=$ac_try;;
4489 esac
4490 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4491 $as_echo "$ac_try_echo"; } >&5
4492 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4493 ac_status=$?
4494 if test -s conftest.err; then
4495 sed '10a\
4496 ... rest of stderr output deleted ...
4497 10q' conftest.err >conftest.er1
4498 cat conftest.er1 >&5
4500 rm -f conftest.er1 conftest.err
4501 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4502 test $ac_status = 0; }
4503 done
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4506 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4507 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4508 $as_echo_n "(cached) " >&6
4509 else
4510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4511 /* end confdefs.h. */
4514 main ()
4516 #ifndef __GNUC__
4517 choke me
4518 #endif
4521 return 0;
4523 _ACEOF
4524 if ac_fn_cxx_try_compile "$LINENO"; then :
4525 ac_compiler_gnu=yes
4526 else
4527 ac_compiler_gnu=no
4529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4530 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4534 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4535 if test $ac_compiler_gnu = yes; then
4536 GXX=yes
4537 else
4538 GXX=
4540 ac_test_CXXFLAGS=${CXXFLAGS+set}
4541 ac_save_CXXFLAGS=$CXXFLAGS
4542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4543 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4544 if ${ac_cv_prog_cxx_g+:} false; then :
4545 $as_echo_n "(cached) " >&6
4546 else
4547 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4548 ac_cxx_werror_flag=yes
4549 ac_cv_prog_cxx_g=no
4550 CXXFLAGS="-g"
4551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4552 /* end confdefs.h. */
4555 main ()
4559 return 0;
4561 _ACEOF
4562 if ac_fn_cxx_try_compile "$LINENO"; then :
4563 ac_cv_prog_cxx_g=yes
4564 else
4565 CXXFLAGS=""
4566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4567 /* end confdefs.h. */
4570 main ()
4574 return 0;
4576 _ACEOF
4577 if ac_fn_cxx_try_compile "$LINENO"; then :
4579 else
4580 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4581 CXXFLAGS="-g"
4582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4583 /* end confdefs.h. */
4586 main ()
4590 return 0;
4592 _ACEOF
4593 if ac_fn_cxx_try_compile "$LINENO"; then :
4594 ac_cv_prog_cxx_g=yes
4596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4601 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4604 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4605 if test "$ac_test_CXXFLAGS" = set; then
4606 CXXFLAGS=$ac_save_CXXFLAGS
4607 elif test $ac_cv_prog_cxx_g = yes; then
4608 if test "$GXX" = yes; then
4609 CXXFLAGS="-g -O2"
4610 else
4611 CXXFLAGS="-g"
4613 else
4614 if test "$GXX" = yes; then
4615 CXXFLAGS="-O2"
4616 else
4617 CXXFLAGS=
4620 ac_ext=c
4621 ac_cpp='$CPP $CPPFLAGS'
4622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4626 if test -n "$ac_tool_prefix"; then
4627 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4628 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4630 $as_echo_n "checking for $ac_word... " >&6; }
4631 if ${ac_cv_prog_CPPBIN+:} false; then :
4632 $as_echo_n "(cached) " >&6
4633 else
4634 if test -n "$CPPBIN"; then
4635 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4636 else
4637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4638 for as_dir in $PATH
4640 IFS=$as_save_IFS
4641 test -z "$as_dir" && as_dir=.
4642 for ac_exec_ext in '' $ac_executable_extensions; do
4643 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4644 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4646 break 2
4648 done
4649 done
4650 IFS=$as_save_IFS
4654 CPPBIN=$ac_cv_prog_CPPBIN
4655 if test -n "$CPPBIN"; then
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4657 $as_echo "$CPPBIN" >&6; }
4658 else
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4660 $as_echo "no" >&6; }
4665 if test -z "$ac_cv_prog_CPPBIN"; then
4666 ac_ct_CPPBIN=$CPPBIN
4667 # Extract the first word of "cpp", so it can be a program name with args.
4668 set dummy cpp; ac_word=$2
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4670 $as_echo_n "checking for $ac_word... " >&6; }
4671 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4672 $as_echo_n "(cached) " >&6
4673 else
4674 if test -n "$ac_ct_CPPBIN"; then
4675 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4676 else
4677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4678 for as_dir in $PATH
4680 IFS=$as_save_IFS
4681 test -z "$as_dir" && as_dir=.
4682 for ac_exec_ext in '' $ac_executable_extensions; do
4683 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4684 ac_cv_prog_ac_ct_CPPBIN="cpp"
4685 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4686 break 2
4688 done
4689 done
4690 IFS=$as_save_IFS
4694 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4695 if test -n "$ac_ct_CPPBIN"; then
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4697 $as_echo "$ac_ct_CPPBIN" >&6; }
4698 else
4699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4700 $as_echo "no" >&6; }
4703 if test "x$ac_ct_CPPBIN" = x; then
4704 CPPBIN="cpp"
4705 else
4706 case $cross_compiling:$ac_tool_warned in
4707 yes:)
4708 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4709 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4710 ac_tool_warned=yes ;;
4711 esac
4712 CPPBIN=$ac_ct_CPPBIN
4714 else
4715 CPPBIN="$ac_cv_prog_CPPBIN"
4719 cat >>confdefs.h <<_ACEOF
4720 #define EXEEXT "$ac_exeext"
4721 _ACEOF
4724 case $host in
4725 *-darwin*)
4726 if test "x$enable_win64" = "xyes"
4727 then
4728 CC="$CC -m64"
4729 CXX="$CXX -m64"
4730 host_cpu="x86_64"
4731 notice_platform="64-bit "
4732 TARGETFLAGS="-m64"
4734 else
4735 CC="$CC -m32"
4736 CXX="$CXX -m32"
4737 host_cpu="i386"
4738 notice_platform="32-bit "
4739 TARGETFLAGS="-m32"
4741 enable_win16=${enable_win16:-yes}
4743 with_fontconfig=${with_fontconfig:-no}
4745 x86_64*)
4746 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4747 then
4748 CC="$CC -m32"
4749 CXX="$CXX -m32"
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4751 $as_echo_n "checking whether $CC works... " >&6; }
4753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4754 /* end confdefs.h. */
4757 main ()
4761 return 0;
4763 _ACEOF
4764 if ac_fn_c_try_link "$LINENO"; then :
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4766 $as_echo "yes" >&6; }
4767 else
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4769 $as_echo "no" >&6; }
4770 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4772 rm -f core conftest.err conftest.$ac_objext \
4773 conftest$ac_exeext conftest.$ac_ext
4774 host_cpu="i386"
4775 notice_platform="32-bit "
4776 TARGETFLAGS="-m32"
4778 enable_win16=${enable_win16:-yes}
4779 else
4780 if test "x${GCC}" = "xyes"
4781 then
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4783 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4785 /* end confdefs.h. */
4786 #include <stdarg.h>
4788 main ()
4790 void func(__builtin_ms_va_list *args);
4792 return 0;
4794 _ACEOF
4795 if ac_fn_c_try_compile "$LINENO"; then :
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4797 $as_echo "yes" >&6; }
4798 else
4799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4800 $as_echo "no" >&6; }
4801 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4805 TARGETFLAGS="-m64"
4809 arm*)
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4811 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4813 /* end confdefs.h. */
4814 int ac_test(int i) { return i; }
4816 main ()
4818 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4820 return 0;
4822 _ACEOF
4823 if ac_fn_c_try_link "$LINENO"; then :
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4825 $as_echo "yes" >&6; }
4826 else
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4828 $as_echo "no" >&6; }
4829 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4831 rm -f core conftest.err conftest.$ac_objext \
4832 conftest$ac_exeext conftest.$ac_ext
4833 CFLAGS="$CFLAGS -marm"
4834 TARGETFLAGS="-marm"
4837 *-mingw32*|*-cygwin*)
4838 enable_win16=${enable_win16:-no}
4839 CFLAGS="$CFLAGS -D_WIN32"
4841 i[3456789]86*)
4842 enable_win16=${enable_win16:-yes}
4844 esac
4846 enable_win16=${enable_win16:-no}
4847 enable_win64=${enable_win64:-no}
4849 enable_winetest=${enable_winetest:-$enable_tests}
4851 if test -n "$with_wine64"
4852 then
4853 if test "x$enable_win64" = "xyes"
4854 then
4855 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4856 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4858 enable_fonts=${enable_fonts:-no}
4859 enable_server=${enable_server:-no}
4860 elif test "x$enable_win64" = "xyes"
4861 then
4862 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4866 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4867 if ${wine_cv_toolsdir+:} false; then :
4868 $as_echo_n "(cached) " >&6
4869 else
4870 wine_cv_toolsdir="$with_wine_tools"
4871 if test -z "$with_wine_tools"; then
4872 if test "$cross_compiling" = "yes"; then
4873 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4874 elif test -n "$with_wine64"; then
4875 wine_cv_toolsdir="$with_wine64"
4878 if test -z "$wine_cv_toolsdir"; then
4879 wine_makedep=tools/makedep
4880 wine_cv_toolsdir="\$(top_builddir)"
4881 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4882 wine_makedep=$wine_cv_toolsdir/tools/makedep
4883 case "$wine_cv_toolsdir" in
4884 /*) ;;
4885 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
4886 esac
4887 enable_tools=${enable_tools:-no}
4888 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
4889 else
4890 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4894 $as_echo "$wine_cv_toolsdir" >&6; }
4895 TOOLSDIR=$wine_cv_toolsdir
4897 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4898 then
4899 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
4903 for ac_prog in flex
4905 # Extract the first word of "$ac_prog", so it can be a program name with args.
4906 set dummy $ac_prog; ac_word=$2
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4908 $as_echo_n "checking for $ac_word... " >&6; }
4909 if ${ac_cv_prog_FLEX+:} false; then :
4910 $as_echo_n "(cached) " >&6
4911 else
4912 if test -n "$FLEX"; then
4913 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
4914 else
4915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4916 for as_dir in $PATH
4918 IFS=$as_save_IFS
4919 test -z "$as_dir" && as_dir=.
4920 for ac_exec_ext in '' $ac_executable_extensions; do
4921 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4922 ac_cv_prog_FLEX="$ac_prog"
4923 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4924 break 2
4926 done
4927 done
4928 IFS=$as_save_IFS
4932 FLEX=$ac_cv_prog_FLEX
4933 if test -n "$FLEX"; then
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4935 $as_echo "$FLEX" >&6; }
4936 else
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4938 $as_echo "no" >&6; }
4942 test -n "$FLEX" && break
4943 done
4944 test -n "$FLEX" || FLEX="none"
4946 if test "$FLEX" = "none"
4947 then
4948 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4951 $as_echo_n "checking whether flex is recent enough... " >&6; }
4952 cat >conftest.l <<EOF
4953 %top{
4954 #include "prediluvian.h"
4958 if $FLEX -t conftest.l >/dev/null 2>&5
4959 then
4960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4961 $as_echo "yes" >&6; }
4962 else
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4964 $as_echo "no" >&6; }
4965 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4968 for ac_prog in bison
4970 # Extract the first word of "$ac_prog", so it can be a program name with args.
4971 set dummy $ac_prog; ac_word=$2
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4973 $as_echo_n "checking for $ac_word... " >&6; }
4974 if ${ac_cv_prog_BISON+:} false; then :
4975 $as_echo_n "(cached) " >&6
4976 else
4977 if test -n "$BISON"; then
4978 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4979 else
4980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4981 for as_dir in $PATH
4983 IFS=$as_save_IFS
4984 test -z "$as_dir" && as_dir=.
4985 for ac_exec_ext in '' $ac_executable_extensions; do
4986 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4987 ac_cv_prog_BISON="$ac_prog"
4988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4989 break 2
4991 done
4992 done
4993 IFS=$as_save_IFS
4997 BISON=$ac_cv_prog_BISON
4998 if test -n "$BISON"; then
4999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5000 $as_echo "$BISON" >&6; }
5001 else
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5003 $as_echo "no" >&6; }
5007 test -n "$BISON" && break
5008 done
5009 test -n "$BISON" || BISON="none"
5011 if test "$BISON" = "none"
5012 then
5013 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5016 if test -n "$ac_tool_prefix"; then
5017 for ac_prog in ar gar
5019 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5020 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5022 $as_echo_n "checking for $ac_word... " >&6; }
5023 if ${ac_cv_prog_AR+:} false; then :
5024 $as_echo_n "(cached) " >&6
5025 else
5026 if test -n "$AR"; then
5027 ac_cv_prog_AR="$AR" # Let the user override the test.
5028 else
5029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5030 for as_dir in $PATH
5032 IFS=$as_save_IFS
5033 test -z "$as_dir" && as_dir=.
5034 for ac_exec_ext in '' $ac_executable_extensions; do
5035 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5036 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5038 break 2
5040 done
5041 done
5042 IFS=$as_save_IFS
5046 AR=$ac_cv_prog_AR
5047 if test -n "$AR"; then
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5049 $as_echo "$AR" >&6; }
5050 else
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5052 $as_echo "no" >&6; }
5056 test -n "$AR" && break
5057 done
5059 if test -z "$AR"; then
5060 ac_ct_AR=$AR
5061 for ac_prog in ar gar
5063 # Extract the first word of "$ac_prog", so it can be a program name with args.
5064 set dummy $ac_prog; ac_word=$2
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5066 $as_echo_n "checking for $ac_word... " >&6; }
5067 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5068 $as_echo_n "(cached) " >&6
5069 else
5070 if test -n "$ac_ct_AR"; then
5071 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5072 else
5073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5074 for as_dir in $PATH
5076 IFS=$as_save_IFS
5077 test -z "$as_dir" && as_dir=.
5078 for ac_exec_ext in '' $ac_executable_extensions; do
5079 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5080 ac_cv_prog_ac_ct_AR="$ac_prog"
5081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5082 break 2
5084 done
5085 done
5086 IFS=$as_save_IFS
5090 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5091 if test -n "$ac_ct_AR"; then
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5093 $as_echo "$ac_ct_AR" >&6; }
5094 else
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5096 $as_echo "no" >&6; }
5100 test -n "$ac_ct_AR" && break
5101 done
5103 if test "x$ac_ct_AR" = x; then
5104 AR="ar"
5105 else
5106 case $cross_compiling:$ac_tool_warned in
5107 yes:)
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5109 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5110 ac_tool_warned=yes ;;
5111 esac
5112 AR=$ac_ct_AR
5116 if test -n "$ac_tool_prefix"; then
5117 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5118 set dummy ${ac_tool_prefix}strip; ac_word=$2
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5120 $as_echo_n "checking for $ac_word... " >&6; }
5121 if ${ac_cv_prog_STRIP+:} false; then :
5122 $as_echo_n "(cached) " >&6
5123 else
5124 if test -n "$STRIP"; then
5125 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5126 else
5127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5128 for as_dir in $PATH
5130 IFS=$as_save_IFS
5131 test -z "$as_dir" && as_dir=.
5132 for ac_exec_ext in '' $ac_executable_extensions; do
5133 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5134 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5135 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5136 break 2
5138 done
5139 done
5140 IFS=$as_save_IFS
5144 STRIP=$ac_cv_prog_STRIP
5145 if test -n "$STRIP"; then
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5147 $as_echo "$STRIP" >&6; }
5148 else
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5150 $as_echo "no" >&6; }
5155 if test -z "$ac_cv_prog_STRIP"; then
5156 ac_ct_STRIP=$STRIP
5157 # Extract the first word of "strip", so it can be a program name with args.
5158 set dummy strip; ac_word=$2
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5160 $as_echo_n "checking for $ac_word... " >&6; }
5161 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5162 $as_echo_n "(cached) " >&6
5163 else
5164 if test -n "$ac_ct_STRIP"; then
5165 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5166 else
5167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5168 for as_dir in $PATH
5170 IFS=$as_save_IFS
5171 test -z "$as_dir" && as_dir=.
5172 for ac_exec_ext in '' $ac_executable_extensions; do
5173 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5174 ac_cv_prog_ac_ct_STRIP="strip"
5175 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5176 break 2
5178 done
5179 done
5180 IFS=$as_save_IFS
5184 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5185 if test -n "$ac_ct_STRIP"; then
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5187 $as_echo "$ac_ct_STRIP" >&6; }
5188 else
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5190 $as_echo "no" >&6; }
5193 if test "x$ac_ct_STRIP" = x; then
5194 STRIP="strip"
5195 else
5196 case $cross_compiling:$ac_tool_warned in
5197 yes:)
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5199 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5200 ac_tool_warned=yes ;;
5201 esac
5202 STRIP=$ac_ct_STRIP
5204 else
5205 STRIP="$ac_cv_prog_STRIP"
5208 ARFLAGS=rc
5210 if test -n "$ac_tool_prefix"; then
5211 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5212 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5214 $as_echo_n "checking for $ac_word... " >&6; }
5215 if ${ac_cv_prog_RANLIB+:} false; then :
5216 $as_echo_n "(cached) " >&6
5217 else
5218 if test -n "$RANLIB"; then
5219 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5220 else
5221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5222 for as_dir in $PATH
5224 IFS=$as_save_IFS
5225 test -z "$as_dir" && as_dir=.
5226 for ac_exec_ext in '' $ac_executable_extensions; do
5227 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5228 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5229 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5230 break 2
5232 done
5233 done
5234 IFS=$as_save_IFS
5238 RANLIB=$ac_cv_prog_RANLIB
5239 if test -n "$RANLIB"; then
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5241 $as_echo "$RANLIB" >&6; }
5242 else
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5244 $as_echo "no" >&6; }
5249 if test -z "$ac_cv_prog_RANLIB"; then
5250 ac_ct_RANLIB=$RANLIB
5251 # Extract the first word of "ranlib", so it can be a program name with args.
5252 set dummy ranlib; ac_word=$2
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5254 $as_echo_n "checking for $ac_word... " >&6; }
5255 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5256 $as_echo_n "(cached) " >&6
5257 else
5258 if test -n "$ac_ct_RANLIB"; then
5259 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5260 else
5261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5262 for as_dir in $PATH
5264 IFS=$as_save_IFS
5265 test -z "$as_dir" && as_dir=.
5266 for ac_exec_ext in '' $ac_executable_extensions; do
5267 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5268 ac_cv_prog_ac_ct_RANLIB="ranlib"
5269 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5270 break 2
5272 done
5273 done
5274 IFS=$as_save_IFS
5278 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5279 if test -n "$ac_ct_RANLIB"; then
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5281 $as_echo "$ac_ct_RANLIB" >&6; }
5282 else
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5284 $as_echo "no" >&6; }
5287 if test "x$ac_ct_RANLIB" = x; then
5288 RANLIB=":"
5289 else
5290 case $cross_compiling:$ac_tool_warned in
5291 yes:)
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5293 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5294 ac_tool_warned=yes ;;
5295 esac
5296 RANLIB=$ac_ct_RANLIB
5298 else
5299 RANLIB="$ac_cv_prog_RANLIB"
5302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5303 $as_echo_n "checking whether ln -s works... " >&6; }
5304 LN_S=$as_ln_s
5305 if test "$LN_S" = "ln -s"; then
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5307 $as_echo "yes" >&6; }
5308 else
5309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5310 $as_echo "no, using $LN_S" >&6; }
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5314 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5315 if ${ac_cv_path_GREP+:} false; then :
5316 $as_echo_n "(cached) " >&6
5317 else
5318 if test -z "$GREP"; then
5319 ac_path_GREP_found=false
5320 # Loop through the user's path and test for each of PROGNAME-LIST
5321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5322 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5324 IFS=$as_save_IFS
5325 test -z "$as_dir" && as_dir=.
5326 for ac_prog in grep ggrep; do
5327 for ac_exec_ext in '' $ac_executable_extensions; do
5328 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5329 as_fn_executable_p "$ac_path_GREP" || continue
5330 # Check for GNU ac_path_GREP and select it if it is found.
5331 # Check for GNU $ac_path_GREP
5332 case `"$ac_path_GREP" --version 2>&1` in
5333 *GNU*)
5334 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5336 ac_count=0
5337 $as_echo_n 0123456789 >"conftest.in"
5338 while :
5340 cat "conftest.in" "conftest.in" >"conftest.tmp"
5341 mv "conftest.tmp" "conftest.in"
5342 cp "conftest.in" "conftest.nl"
5343 $as_echo 'GREP' >> "conftest.nl"
5344 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5345 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5346 as_fn_arith $ac_count + 1 && ac_count=$as_val
5347 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5348 # Best one so far, save it but keep looking for a better one
5349 ac_cv_path_GREP="$ac_path_GREP"
5350 ac_path_GREP_max=$ac_count
5352 # 10*(2^10) chars as input seems more than enough
5353 test $ac_count -gt 10 && break
5354 done
5355 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5356 esac
5358 $ac_path_GREP_found && break 3
5359 done
5360 done
5361 done
5362 IFS=$as_save_IFS
5363 if test -z "$ac_cv_path_GREP"; then
5364 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5366 else
5367 ac_cv_path_GREP=$GREP
5371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5372 $as_echo "$ac_cv_path_GREP" >&6; }
5373 GREP="$ac_cv_path_GREP"
5376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5377 $as_echo_n "checking for egrep... " >&6; }
5378 if ${ac_cv_path_EGREP+:} false; then :
5379 $as_echo_n "(cached) " >&6
5380 else
5381 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5382 then ac_cv_path_EGREP="$GREP -E"
5383 else
5384 if test -z "$EGREP"; then
5385 ac_path_EGREP_found=false
5386 # Loop through the user's path and test for each of PROGNAME-LIST
5387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5388 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5390 IFS=$as_save_IFS
5391 test -z "$as_dir" && as_dir=.
5392 for ac_prog in egrep; do
5393 for ac_exec_ext in '' $ac_executable_extensions; do
5394 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5395 as_fn_executable_p "$ac_path_EGREP" || continue
5396 # Check for GNU ac_path_EGREP and select it if it is found.
5397 # Check for GNU $ac_path_EGREP
5398 case `"$ac_path_EGREP" --version 2>&1` in
5399 *GNU*)
5400 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5402 ac_count=0
5403 $as_echo_n 0123456789 >"conftest.in"
5404 while :
5406 cat "conftest.in" "conftest.in" >"conftest.tmp"
5407 mv "conftest.tmp" "conftest.in"
5408 cp "conftest.in" "conftest.nl"
5409 $as_echo 'EGREP' >> "conftest.nl"
5410 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5411 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5412 as_fn_arith $ac_count + 1 && ac_count=$as_val
5413 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5414 # Best one so far, save it but keep looking for a better one
5415 ac_cv_path_EGREP="$ac_path_EGREP"
5416 ac_path_EGREP_max=$ac_count
5418 # 10*(2^10) chars as input seems more than enough
5419 test $ac_count -gt 10 && break
5420 done
5421 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5422 esac
5424 $ac_path_EGREP_found && break 3
5425 done
5426 done
5427 done
5428 IFS=$as_save_IFS
5429 if test -z "$ac_cv_path_EGREP"; then
5430 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5432 else
5433 ac_cv_path_EGREP=$EGREP
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5439 $as_echo "$ac_cv_path_EGREP" >&6; }
5440 EGREP="$ac_cv_path_EGREP"
5443 # Extract the first word of "ldconfig", so it can be a program name with args.
5444 set dummy ldconfig; ac_word=$2
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5446 $as_echo_n "checking for $ac_word... " >&6; }
5447 if ${ac_cv_path_LDCONFIG+:} false; then :
5448 $as_echo_n "(cached) " >&6
5449 else
5450 case $LDCONFIG in
5451 [\\/]* | ?:[\\/]*)
5452 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5456 for as_dir in /sbin /usr/sbin $PATH
5458 IFS=$as_save_IFS
5459 test -z "$as_dir" && as_dir=.
5460 for ac_exec_ext in '' $ac_executable_extensions; do
5461 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5462 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5464 break 2
5466 done
5467 done
5468 IFS=$as_save_IFS
5470 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5472 esac
5474 LDCONFIG=$ac_cv_path_LDCONFIG
5475 if test -n "$LDCONFIG"; then
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5477 $as_echo "$LDCONFIG" >&6; }
5478 else
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5480 $as_echo "no" >&6; }
5484 for ac_prog in msgfmt
5486 # Extract the first word of "$ac_prog", so it can be a program name with args.
5487 set dummy $ac_prog; ac_word=$2
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5489 $as_echo_n "checking for $ac_word... " >&6; }
5490 if ${ac_cv_prog_MSGFMT+:} false; then :
5491 $as_echo_n "(cached) " >&6
5492 else
5493 if test -n "$MSGFMT"; then
5494 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5495 else
5496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5497 for as_dir in $PATH
5499 IFS=$as_save_IFS
5500 test -z "$as_dir" && as_dir=.
5501 for ac_exec_ext in '' $ac_executable_extensions; do
5502 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5503 ac_cv_prog_MSGFMT="$ac_prog"
5504 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5505 break 2
5507 done
5508 done
5509 IFS=$as_save_IFS
5513 MSGFMT=$ac_cv_prog_MSGFMT
5514 if test -n "$MSGFMT"; then
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5516 $as_echo "$MSGFMT" >&6; }
5517 else
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5519 $as_echo "no" >&6; }
5523 test -n "$MSGFMT" && break
5524 done
5525 test -n "$MSGFMT" || MSGFMT="false"
5527 if ${ac_tool_prefix+:} false; then :
5528 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5529 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5531 $as_echo_n "checking for $ac_word... " >&6; }
5532 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5533 $as_echo_n "(cached) " >&6
5534 else
5535 if test -n "$PKG_CONFIG"; then
5536 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5537 else
5538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5539 for as_dir in $PATH
5541 IFS=$as_save_IFS
5542 test -z "$as_dir" && as_dir=.
5543 for ac_exec_ext in '' $ac_executable_extensions; do
5544 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5545 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5546 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5547 break 2
5549 done
5550 done
5551 IFS=$as_save_IFS
5555 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5556 if test -n "$PKG_CONFIG"; then
5557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5558 $as_echo "$PKG_CONFIG" >&6; }
5559 else
5560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5561 $as_echo "no" >&6; }
5566 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5567 if test "x$cross_compiling" = xyes; then :
5569 else
5570 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5571 # Extract the first word of "pkg-config", so it can be a program name with args.
5572 set dummy pkg-config; ac_word=$2
5573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5574 $as_echo_n "checking for $ac_word... " >&6; }
5575 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5576 $as_echo_n "(cached) " >&6
5577 else
5578 if test -n "$PKG_CONFIG"; then
5579 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5580 else
5581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5582 for as_dir in $PATH
5584 IFS=$as_save_IFS
5585 test -z "$as_dir" && as_dir=.
5586 for ac_exec_ext in '' $ac_executable_extensions; do
5587 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5588 ac_cv_prog_PKG_CONFIG="pkg-config"
5589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5590 break 2
5592 done
5593 done
5594 IFS=$as_save_IFS
5598 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5599 if test -n "$PKG_CONFIG"; then
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5601 $as_echo "$PKG_CONFIG" >&6; }
5602 else
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5604 $as_echo "no" >&6; }
5609 else
5610 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5613 if test "x$enable_maintainer_mode" != "xyes"
5614 then
5615 FONTFORGE=""
5616 RSVG=""
5617 CONVERT=""
5618 ICOTOOL=""
5619 else
5620 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5621 for ac_prog in fontforge
5623 # Extract the first word of "$ac_prog", so it can be a program name with args.
5624 set dummy $ac_prog; ac_word=$2
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5626 $as_echo_n "checking for $ac_word... " >&6; }
5627 if ${ac_cv_prog_FONTFORGE+:} false; then :
5628 $as_echo_n "(cached) " >&6
5629 else
5630 if test -n "$FONTFORGE"; then
5631 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5632 else
5633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5634 for as_dir in $PATH
5636 IFS=$as_save_IFS
5637 test -z "$as_dir" && as_dir=.
5638 for ac_exec_ext in '' $ac_executable_extensions; do
5639 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5640 ac_cv_prog_FONTFORGE="$ac_prog"
5641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5642 break 2
5644 done
5645 done
5646 IFS=$as_save_IFS
5650 FONTFORGE=$ac_cv_prog_FONTFORGE
5651 if test -n "$FONTFORGE"; then
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5653 $as_echo "$FONTFORGE" >&6; }
5654 else
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5656 $as_echo "no" >&6; }
5660 test -n "$FONTFORGE" && break
5661 done
5662 test -n "$FONTFORGE" || FONTFORGE="false"
5664 for ac_prog in rsvg
5666 # Extract the first word of "$ac_prog", so it can be a program name with args.
5667 set dummy $ac_prog; ac_word=$2
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5669 $as_echo_n "checking for $ac_word... " >&6; }
5670 if ${ac_cv_prog_RSVG+:} false; then :
5671 $as_echo_n "(cached) " >&6
5672 else
5673 if test -n "$RSVG"; then
5674 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5675 else
5676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5677 for as_dir in $PATH
5679 IFS=$as_save_IFS
5680 test -z "$as_dir" && as_dir=.
5681 for ac_exec_ext in '' $ac_executable_extensions; do
5682 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5683 ac_cv_prog_RSVG="$ac_prog"
5684 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5685 break 2
5687 done
5688 done
5689 IFS=$as_save_IFS
5693 RSVG=$ac_cv_prog_RSVG
5694 if test -n "$RSVG"; then
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5696 $as_echo "$RSVG" >&6; }
5697 else
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5699 $as_echo "no" >&6; }
5703 test -n "$RSVG" && break
5704 done
5705 test -n "$RSVG" || RSVG="false"
5707 for ac_prog in convert
5709 # Extract the first word of "$ac_prog", so it can be a program name with args.
5710 set dummy $ac_prog; ac_word=$2
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5712 $as_echo_n "checking for $ac_word... " >&6; }
5713 if ${ac_cv_prog_CONVERT+:} false; then :
5714 $as_echo_n "(cached) " >&6
5715 else
5716 if test -n "$CONVERT"; then
5717 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5718 else
5719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5720 for as_dir in $PATH
5722 IFS=$as_save_IFS
5723 test -z "$as_dir" && as_dir=.
5724 for ac_exec_ext in '' $ac_executable_extensions; do
5725 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5726 ac_cv_prog_CONVERT="$ac_prog"
5727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5728 break 2
5730 done
5731 done
5732 IFS=$as_save_IFS
5736 CONVERT=$ac_cv_prog_CONVERT
5737 if test -n "$CONVERT"; then
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5739 $as_echo "$CONVERT" >&6; }
5740 else
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5742 $as_echo "no" >&6; }
5746 test -n "$CONVERT" && break
5747 done
5748 test -n "$CONVERT" || CONVERT="false"
5750 for ac_prog in icotool
5752 # Extract the first word of "$ac_prog", so it can be a program name with args.
5753 set dummy $ac_prog; ac_word=$2
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5755 $as_echo_n "checking for $ac_word... " >&6; }
5756 if ${ac_cv_prog_ICOTOOL+:} false; then :
5757 $as_echo_n "(cached) " >&6
5758 else
5759 if test -n "$ICOTOOL"; then
5760 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5761 else
5762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5763 for as_dir in $PATH
5765 IFS=$as_save_IFS
5766 test -z "$as_dir" && as_dir=.
5767 for ac_exec_ext in '' $ac_executable_extensions; do
5768 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5769 ac_cv_prog_ICOTOOL="$ac_prog"
5770 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5771 break 2
5773 done
5774 done
5775 IFS=$as_save_IFS
5779 ICOTOOL=$ac_cv_prog_ICOTOOL
5780 if test -n "$ICOTOOL"; then
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5782 $as_echo "$ICOTOOL" >&6; }
5783 else
5784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5785 $as_echo "no" >&6; }
5789 test -n "$ICOTOOL" && break
5790 done
5791 test -n "$ICOTOOL" || ICOTOOL="false"
5793 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5794 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5796 if test "$CONVERT" = false
5797 then
5798 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5799 else
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5801 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5802 convert_version=`convert --version | head -n1`
5803 if test "x$convert_version" != "x"
5804 then
5805 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5806 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5807 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5808 then
5809 CONVERT=false
5812 if test "$CONVERT" = false
5813 then
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5815 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5816 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5817 else
5818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5819 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5823 if test "$ICOTOOL" = false
5824 then
5825 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5826 else
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5828 $as_echo_n "checking for recent enough icotool... " >&6; }
5829 icotool_version=`icotool --version | head -n1`
5830 if test "x$icotool_version" != "x"
5831 then
5832 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5833 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5834 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5835 then
5836 ICOTOOL=false
5837 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5840 if test "$ICOTOOL" = false
5841 then
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5843 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5844 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5845 else
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5847 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5851 with_gettext=yes
5852 with_gettextpo=yes
5853 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5856 test "x$with_gettext" != xno || MSGFMT=false
5857 if test "$MSGFMT" != "false"
5858 then
5859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5860 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5861 cat >conftest.po <<EOF
5862 # comment
5863 msgctxt "ctxt"
5864 msgid "id"
5865 msgstr "str"
5867 if $MSGFMT -o /dev/null conftest.po 2>&5
5868 then
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5870 $as_echo "yes" >&6; }
5871 else
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5873 $as_echo "no" >&6; }
5874 MSGFMT=false
5877 if test "$MSGFMT" = false; then :
5878 case "x$with_gettext" in
5879 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
5880 xno) ;;
5881 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
5882 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5883 esac
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5888 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5889 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
5890 $as_echo_n "(cached) " >&6
5891 else
5892 ac_check_lib_save_LIBS=$LIBS
5893 LIBS="-li386 $LIBS"
5894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5895 /* end confdefs.h. */
5897 /* Override any GCC internal prototype to avoid an error.
5898 Use char because int might match the return type of a GCC
5899 builtin and then its argument prototype would still apply. */
5900 #ifdef __cplusplus
5901 extern "C"
5902 #endif
5903 char i386_set_ldt ();
5905 main ()
5907 return i386_set_ldt ();
5909 return 0;
5911 _ACEOF
5912 if ac_fn_c_try_link "$LINENO"; then :
5913 ac_cv_lib_i386_i386_set_ldt=yes
5914 else
5915 ac_cv_lib_i386_i386_set_ldt=no
5917 rm -f core conftest.err conftest.$ac_objext \
5918 conftest$ac_exeext conftest.$ac_ext
5919 LIBS=$ac_check_lib_save_LIBS
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5922 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5923 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
5924 cat >>confdefs.h <<_ACEOF
5925 #define HAVE_LIBI386 1
5926 _ACEOF
5928 LIBS="-li386 $LIBS"
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5933 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5934 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
5935 $as_echo_n "(cached) " >&6
5936 else
5937 ac_check_lib_save_LIBS=$LIBS
5938 LIBS="-lossaudio $LIBS"
5939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5940 /* end confdefs.h. */
5942 /* Override any GCC internal prototype to avoid an error.
5943 Use char because int might match the return type of a GCC
5944 builtin and then its argument prototype would still apply. */
5945 #ifdef __cplusplus
5946 extern "C"
5947 #endif
5948 char _oss_ioctl ();
5950 main ()
5952 return _oss_ioctl ();
5954 return 0;
5956 _ACEOF
5957 if ac_fn_c_try_link "$LINENO"; then :
5958 ac_cv_lib_ossaudio__oss_ioctl=yes
5959 else
5960 ac_cv_lib_ossaudio__oss_ioctl=no
5962 rm -f core conftest.err conftest.$ac_objext \
5963 conftest$ac_exeext conftest.$ac_ext
5964 LIBS=$ac_check_lib_save_LIBS
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5967 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5968 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
5969 cat >>confdefs.h <<_ACEOF
5970 #define HAVE_LIBOSSAUDIO 1
5971 _ACEOF
5973 LIBS="-lossaudio $LIBS"
5978 OPENGL_LIBS=""
5982 # Check whether --enable-largefile was given.
5983 if test "${enable_largefile+set}" = set; then :
5984 enableval=$enable_largefile;
5987 if test "$enable_largefile" != no; then
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5990 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5991 if ${ac_cv_sys_largefile_CC+:} false; then :
5992 $as_echo_n "(cached) " >&6
5993 else
5994 ac_cv_sys_largefile_CC=no
5995 if test "$GCC" != yes; then
5996 ac_save_CC=$CC
5997 while :; do
5998 # IRIX 6.2 and later do not support large files by default,
5999 # so use the C compiler's -n32 option if that helps.
6000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6001 /* end confdefs.h. */
6002 #include <sys/types.h>
6003 /* Check that off_t can represent 2**63 - 1 correctly.
6004 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6005 since some C++ compilers masquerading as C compilers
6006 incorrectly reject 9223372036854775807. */
6007 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6008 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6009 && LARGE_OFF_T % 2147483647 == 1)
6010 ? 1 : -1];
6012 main ()
6016 return 0;
6018 _ACEOF
6019 if ac_fn_c_try_compile "$LINENO"; then :
6020 break
6022 rm -f core conftest.err conftest.$ac_objext
6023 CC="$CC -n32"
6024 if ac_fn_c_try_compile "$LINENO"; then :
6025 ac_cv_sys_largefile_CC=' -n32'; break
6027 rm -f core conftest.err conftest.$ac_objext
6028 break
6029 done
6030 CC=$ac_save_CC
6031 rm -f conftest.$ac_ext
6034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6035 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6036 if test "$ac_cv_sys_largefile_CC" != no; then
6037 CC=$CC$ac_cv_sys_largefile_CC
6040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6041 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6042 if ${ac_cv_sys_file_offset_bits+:} false; then :
6043 $as_echo_n "(cached) " >&6
6044 else
6045 while :; do
6046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6047 /* end confdefs.h. */
6048 #include <sys/types.h>
6049 /* Check that off_t can represent 2**63 - 1 correctly.
6050 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6051 since some C++ compilers masquerading as C compilers
6052 incorrectly reject 9223372036854775807. */
6053 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6054 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6055 && LARGE_OFF_T % 2147483647 == 1)
6056 ? 1 : -1];
6058 main ()
6062 return 0;
6064 _ACEOF
6065 if ac_fn_c_try_compile "$LINENO"; then :
6066 ac_cv_sys_file_offset_bits=no; break
6068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6070 /* end confdefs.h. */
6071 #define _FILE_OFFSET_BITS 64
6072 #include <sys/types.h>
6073 /* Check that off_t can represent 2**63 - 1 correctly.
6074 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6075 since some C++ compilers masquerading as C compilers
6076 incorrectly reject 9223372036854775807. */
6077 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6078 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6079 && LARGE_OFF_T % 2147483647 == 1)
6080 ? 1 : -1];
6082 main ()
6086 return 0;
6088 _ACEOF
6089 if ac_fn_c_try_compile "$LINENO"; then :
6090 ac_cv_sys_file_offset_bits=64; break
6092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6093 ac_cv_sys_file_offset_bits=unknown
6094 break
6095 done
6097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6098 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6099 case $ac_cv_sys_file_offset_bits in #(
6100 no | unknown) ;;
6102 cat >>confdefs.h <<_ACEOF
6103 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6104 _ACEOF
6106 esac
6107 rm -rf conftest*
6108 if test $ac_cv_sys_file_offset_bits = unknown; then
6109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6110 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6111 if ${ac_cv_sys_large_files+:} false; then :
6112 $as_echo_n "(cached) " >&6
6113 else
6114 while :; do
6115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6116 /* end confdefs.h. */
6117 #include <sys/types.h>
6118 /* Check that off_t can represent 2**63 - 1 correctly.
6119 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6120 since some C++ compilers masquerading as C compilers
6121 incorrectly reject 9223372036854775807. */
6122 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6123 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6124 && LARGE_OFF_T % 2147483647 == 1)
6125 ? 1 : -1];
6127 main ()
6131 return 0;
6133 _ACEOF
6134 if ac_fn_c_try_compile "$LINENO"; then :
6135 ac_cv_sys_large_files=no; break
6137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6139 /* end confdefs.h. */
6140 #define _LARGE_FILES 1
6141 #include <sys/types.h>
6142 /* Check that off_t can represent 2**63 - 1 correctly.
6143 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6144 since some C++ compilers masquerading as C compilers
6145 incorrectly reject 9223372036854775807. */
6146 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6147 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6148 && LARGE_OFF_T % 2147483647 == 1)
6149 ? 1 : -1];
6151 main ()
6155 return 0;
6157 _ACEOF
6158 if ac_fn_c_try_compile "$LINENO"; then :
6159 ac_cv_sys_large_files=1; break
6161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6162 ac_cv_sys_large_files=unknown
6163 break
6164 done
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6167 $as_echo "$ac_cv_sys_large_files" >&6; }
6168 case $ac_cv_sys_large_files in #(
6169 no | unknown) ;;
6171 cat >>confdefs.h <<_ACEOF
6172 #define _LARGE_FILES $ac_cv_sys_large_files
6173 _ACEOF
6175 esac
6176 rm -rf conftest*
6183 ac_ext=c
6184 ac_cpp='$CPP $CPPFLAGS'
6185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6189 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6190 # On Suns, sometimes $CPP names a directory.
6191 if test -n "$CPP" && test -d "$CPP"; then
6192 CPP=
6194 if test -z "$CPP"; then
6195 if ${ac_cv_prog_CPP+:} false; then :
6196 $as_echo_n "(cached) " >&6
6197 else
6198 # Double quotes because CPP needs to be expanded
6199 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6201 ac_preproc_ok=false
6202 for ac_c_preproc_warn_flag in '' yes
6204 # Use a header file that comes with gcc, so configuring glibc
6205 # with a fresh cross-compiler works.
6206 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6207 # <limits.h> exists even on freestanding compilers.
6208 # On the NeXT, cc -E runs the code through the compiler's parser,
6209 # not just through cpp. "Syntax error" is here to catch this case.
6210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6211 /* end confdefs.h. */
6212 #ifdef __STDC__
6213 # include <limits.h>
6214 #else
6215 # include <assert.h>
6216 #endif
6217 Syntax error
6218 _ACEOF
6219 if ac_fn_c_try_cpp "$LINENO"; then :
6221 else
6222 # Broken: fails on valid input.
6223 continue
6225 rm -f conftest.err conftest.i conftest.$ac_ext
6227 # OK, works on sane cases. Now check whether nonexistent headers
6228 # can be detected and how.
6229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6230 /* end confdefs.h. */
6231 #include <ac_nonexistent.h>
6232 _ACEOF
6233 if ac_fn_c_try_cpp "$LINENO"; then :
6234 # Broken: success on invalid input.
6235 continue
6236 else
6237 # Passes both tests.
6238 ac_preproc_ok=:
6239 break
6241 rm -f conftest.err conftest.i conftest.$ac_ext
6243 done
6244 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6245 rm -f conftest.i conftest.err conftest.$ac_ext
6246 if $ac_preproc_ok; then :
6247 break
6250 done
6251 ac_cv_prog_CPP=$CPP
6254 CPP=$ac_cv_prog_CPP
6255 else
6256 ac_cv_prog_CPP=$CPP
6258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6259 $as_echo "$CPP" >&6; }
6260 ac_preproc_ok=false
6261 for ac_c_preproc_warn_flag in '' yes
6263 # Use a header file that comes with gcc, so configuring glibc
6264 # with a fresh cross-compiler works.
6265 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6266 # <limits.h> exists even on freestanding compilers.
6267 # On the NeXT, cc -E runs the code through the compiler's parser,
6268 # not just through cpp. "Syntax error" is here to catch this case.
6269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6270 /* end confdefs.h. */
6271 #ifdef __STDC__
6272 # include <limits.h>
6273 #else
6274 # include <assert.h>
6275 #endif
6276 Syntax error
6277 _ACEOF
6278 if ac_fn_c_try_cpp "$LINENO"; then :
6280 else
6281 # Broken: fails on valid input.
6282 continue
6284 rm -f conftest.err conftest.i conftest.$ac_ext
6286 # OK, works on sane cases. Now check whether nonexistent headers
6287 # can be detected and how.
6288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6289 /* end confdefs.h. */
6290 #include <ac_nonexistent.h>
6291 _ACEOF
6292 if ac_fn_c_try_cpp "$LINENO"; then :
6293 # Broken: success on invalid input.
6294 continue
6295 else
6296 # Passes both tests.
6297 ac_preproc_ok=:
6298 break
6300 rm -f conftest.err conftest.i conftest.$ac_ext
6302 done
6303 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6304 rm -f conftest.i conftest.err conftest.$ac_ext
6305 if $ac_preproc_ok; then :
6307 else
6308 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6309 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6310 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6311 See \`config.log' for more details" "$LINENO" 5; }
6314 ac_ext=c
6315 ac_cpp='$CPP $CPPFLAGS'
6316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6322 $as_echo_n "checking for ANSI C header files... " >&6; }
6323 if ${ac_cv_header_stdc+:} false; then :
6324 $as_echo_n "(cached) " >&6
6325 else
6326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6327 /* end confdefs.h. */
6328 #include <stdlib.h>
6329 #include <stdarg.h>
6330 #include <string.h>
6331 #include <float.h>
6334 main ()
6338 return 0;
6340 _ACEOF
6341 if ac_fn_c_try_compile "$LINENO"; then :
6342 ac_cv_header_stdc=yes
6343 else
6344 ac_cv_header_stdc=no
6346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6348 if test $ac_cv_header_stdc = yes; then
6349 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6351 /* end confdefs.h. */
6352 #include <string.h>
6354 _ACEOF
6355 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6356 $EGREP "memchr" >/dev/null 2>&1; then :
6358 else
6359 ac_cv_header_stdc=no
6361 rm -f conftest*
6365 if test $ac_cv_header_stdc = yes; then
6366 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6368 /* end confdefs.h. */
6369 #include <stdlib.h>
6371 _ACEOF
6372 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6373 $EGREP "free" >/dev/null 2>&1; then :
6375 else
6376 ac_cv_header_stdc=no
6378 rm -f conftest*
6382 if test $ac_cv_header_stdc = yes; then
6383 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6384 if test "$cross_compiling" = yes; then :
6386 else
6387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6388 /* end confdefs.h. */
6389 #include <ctype.h>
6390 #include <stdlib.h>
6391 #if ((' ' & 0x0FF) == 0x020)
6392 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6393 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6394 #else
6395 # define ISLOWER(c) \
6396 (('a' <= (c) && (c) <= 'i') \
6397 || ('j' <= (c) && (c) <= 'r') \
6398 || ('s' <= (c) && (c) <= 'z'))
6399 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6400 #endif
6402 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6404 main ()
6406 int i;
6407 for (i = 0; i < 256; i++)
6408 if (XOR (islower (i), ISLOWER (i))
6409 || toupper (i) != TOUPPER (i))
6410 return 2;
6411 return 0;
6413 _ACEOF
6414 if ac_fn_c_try_run "$LINENO"; then :
6416 else
6417 ac_cv_header_stdc=no
6419 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6420 conftest.$ac_objext conftest.beam conftest.$ac_ext
6425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6426 $as_echo "$ac_cv_header_stdc" >&6; }
6427 if test $ac_cv_header_stdc = yes; then
6429 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6433 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6434 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6435 inttypes.h stdint.h unistd.h
6436 do :
6437 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6438 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6440 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6441 cat >>confdefs.h <<_ACEOF
6442 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6443 _ACEOF
6447 done
6450 for ac_header in \
6451 AL/al.h \
6452 ApplicationServices/ApplicationServices.h \
6453 AudioToolbox/AudioConverter.h \
6454 AudioUnit/AudioUnit.h \
6455 AudioUnit/AudioComponent.h \
6456 CL/cl.h \
6457 Carbon/Carbon.h \
6458 CoreAudio/CoreAudio.h \
6459 CoreServices/CoreServices.h \
6460 DiskArbitration/DiskArbitration.h \
6461 IOKit/IOKitLib.h \
6462 IOKit/hid/IOHIDLib.h \
6463 OpenAL/al.h \
6464 OpenCL/opencl.h \
6465 QuickTime/ImageCompression.h \
6466 Security/Security.h \
6467 alias.h \
6468 alsa/asoundlib.h \
6469 arpa/inet.h \
6470 arpa/nameser.h \
6471 asm/types.h \
6472 asm/user.h \
6473 curses.h \
6474 direct.h \
6475 dirent.h \
6476 dlfcn.h \
6477 elf.h \
6478 float.h \
6479 fnmatch.h \
6480 getopt.h \
6481 gettext-po.h \
6482 grp.h \
6483 gsm.h \
6484 gsm/gsm.h \
6485 ieeefp.h \
6486 inet/mib2.h \
6487 io.h \
6488 kstat.h \
6489 lber.h \
6490 ldap.h \
6491 libproc.h \
6492 link.h \
6493 linux/cdrom.h \
6494 linux/compiler.h \
6495 linux/filter.h \
6496 linux/hdreg.h \
6497 linux/input.h \
6498 linux/ioctl.h \
6499 linux/joystick.h \
6500 linux/major.h \
6501 linux/param.h \
6502 linux/serial.h \
6503 linux/types.h \
6504 linux/ucdrom.h \
6505 lwp.h \
6506 mach-o/nlist.h \
6507 mach-o/loader.h \
6508 mach/mach.h \
6509 mach/machine.h \
6510 machine/cpu.h \
6511 machine/limits.h \
6512 machine/sysarch.h \
6513 mntent.h \
6514 ncurses.h \
6515 netdb.h \
6516 netinet/in.h \
6517 netinet/in_systm.h \
6518 netinet/tcp.h \
6519 netinet/tcp_fsm.h \
6520 pcap/pcap.h \
6521 poll.h \
6522 port.h \
6523 process.h \
6524 pthread.h \
6525 pwd.h \
6526 sched.h \
6527 scsi/scsi.h \
6528 scsi/scsi_ioctl.h \
6529 scsi/sg.h \
6530 stdbool.h \
6531 stdint.h \
6532 stropts.h \
6533 sys/asoundlib.h \
6534 sys/attr.h \
6535 sys/cdio.h \
6536 sys/elf32.h \
6537 sys/epoll.h \
6538 sys/event.h \
6539 sys/exec_elf.h \
6540 sys/filio.h \
6541 sys/inotify.h \
6542 sys/ioctl.h \
6543 sys/ipc.h \
6544 sys/limits.h \
6545 sys/link.h \
6546 sys/mman.h \
6547 sys/modem.h \
6548 sys/msg.h \
6549 sys/mtio.h \
6550 sys/param.h \
6551 sys/poll.h \
6552 sys/prctl.h \
6553 sys/protosw.h \
6554 sys/ptrace.h \
6555 sys/queue.h \
6556 sys/resource.h \
6557 sys/scsiio.h \
6558 sys/shm.h \
6559 sys/signal.h \
6560 sys/socket.h \
6561 sys/socketvar.h \
6562 sys/sockio.h \
6563 sys/statvfs.h \
6564 sys/strtio.h \
6565 sys/syscall.h \
6566 sys/tihdr.h \
6567 sys/time.h \
6568 sys/timeout.h \
6569 sys/times.h \
6570 sys/uio.h \
6571 sys/user.h \
6572 sys/utsname.h \
6573 sys/vm86.h \
6574 sys/wait.h \
6575 syscall.h \
6576 termios.h \
6577 unistd.h \
6578 utime.h \
6579 valgrind/memcheck.h \
6580 valgrind/valgrind.h \
6581 zlib.h
6583 do :
6584 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6585 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6586 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6587 cat >>confdefs.h <<_ACEOF
6588 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6589 _ACEOF
6593 done
6595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6596 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6597 if ${ac_cv_header_stat_broken+:} false; then :
6598 $as_echo_n "(cached) " >&6
6599 else
6600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6601 /* end confdefs.h. */
6602 #include <sys/types.h>
6603 #include <sys/stat.h>
6605 #if defined S_ISBLK && defined S_IFDIR
6606 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6607 #endif
6609 #if defined S_ISBLK && defined S_IFCHR
6610 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6611 #endif
6613 #if defined S_ISLNK && defined S_IFREG
6614 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6615 #endif
6617 #if defined S_ISSOCK && defined S_IFREG
6618 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6619 #endif
6621 _ACEOF
6622 if ac_fn_c_try_compile "$LINENO"; then :
6623 ac_cv_header_stat_broken=no
6624 else
6625 ac_cv_header_stat_broken=yes
6627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6630 $as_echo "$ac_cv_header_stat_broken" >&6; }
6631 if test $ac_cv_header_stat_broken = yes; then
6633 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6639 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6640 do :
6641 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6642 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6643 #ifdef HAVE_SYS_PARAM_H
6644 # include <sys/param.h>
6645 #endif
6647 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6648 cat >>confdefs.h <<_ACEOF
6649 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6650 _ACEOF
6654 done
6657 for ac_header in \
6658 netinet/ip.h \
6659 net/if.h \
6660 net/if_arp.h \
6661 net/if_dl.h \
6662 net/if_types.h \
6663 net/route.h \
6664 netinet/if_ether.h \
6665 netinet/if_inarp.h \
6666 netinet/in_pcb.h \
6667 netinet/ip_icmp.h \
6668 netinet/ip_var.h \
6669 netinet/udp.h \
6670 netipx/ipx.h \
6671 sys/un.h \
6673 do :
6674 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6675 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6676 #ifdef HAVE_SYS_SOCKET_H
6677 # include <sys/socket.h>
6678 #endif
6679 #ifdef HAVE_SYS_SOCKETVAR_H
6680 # include <sys/socketvar.h>
6681 #endif
6682 #ifdef HAVE_NET_ROUTE_H
6683 # include <net/route.h>
6684 #endif
6685 #ifdef HAVE_NETINET_IN_H
6686 # include <netinet/in.h>
6687 #endif
6688 #ifdef HAVE_NETINET_IN_SYSTM_H
6689 # include <netinet/in_systm.h>
6690 #endif
6691 #ifdef HAVE_NET_IF_H
6692 # include <net/if.h>
6693 #endif
6694 #ifdef HAVE_NETINET_IP_H
6695 # include <netinet/ip.h>
6696 #endif
6698 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6699 cat >>confdefs.h <<_ACEOF
6700 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6701 _ACEOF
6705 done
6708 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6709 do :
6710 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6711 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6712 #ifdef HAVE_ALIAS_H
6713 # include <alias.h>
6714 #endif
6715 #ifdef HAVE_SYS_SOCKET_H
6716 # include <sys/socket.h>
6717 #endif
6718 #ifdef HAVE_SYS_SOCKETVAR_H
6719 # include <sys/socketvar.h>
6720 #endif
6721 #ifdef HAVE_SYS_TIMEOUT_H
6722 # include <sys/timeout.h>
6723 #endif
6724 #ifdef HAVE_NETINET_IN_H
6725 # include <netinet/in.h>
6726 #endif
6727 #ifdef HAVE_NETINET_IN_SYSTM_H
6728 # include <netinet/in_systm.h>
6729 #endif
6730 #ifdef HAVE_NETINET_IP_H
6731 # include <netinet/ip.h>
6732 #endif
6733 #ifdef HAVE_NETINET_IP_VAR_H
6734 # include <netinet/ip_var.h>
6735 #endif
6736 #ifdef HAVE_NETINET_IP_ICMP_H
6737 # include <netinet/ip_icmp.h>
6738 #endif
6739 #ifdef HAVE_NETINET_UDP_H
6740 # include <netinet/udp.h>
6741 #endif
6742 #ifdef HAVE_NETINET_TCP_H
6743 # include <netinet/tcp.h>
6744 #endif
6745 #ifdef HAVE_NETINET_TCP_TIMER_H
6746 #include <netinet/tcp_timer.h>
6747 #endif
6749 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6750 cat >>confdefs.h <<_ACEOF
6751 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6752 _ACEOF
6756 done
6759 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6760 do :
6761 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6762 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6763 #ifdef HAVE_ASM_TYPES_H
6764 # include <asm/types.h>
6765 #endif
6766 #ifdef HAVE_SYS_SOCKET_H
6767 # include <sys/socket.h>
6768 #endif
6769 #ifdef HAVE_LINUX_TYPES_H
6770 # include <linux/types.h>
6771 #endif
6773 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6774 cat >>confdefs.h <<_ACEOF
6775 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6776 _ACEOF
6780 done
6783 for ac_header in mach-o/dyld_images.h
6784 do :
6785 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6786 # include <stdbool.h>
6787 #endif
6788 #ifdef HAVE_STDINT_H
6789 # include <stdint.h>
6790 #endif
6792 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6793 cat >>confdefs.h <<_ACEOF
6794 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6795 _ACEOF
6799 done
6802 for ac_header in resolv.h
6803 do :
6804 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6805 #ifdef HAVE_SYS_SOCKET_H
6806 # include <sys/socket.h>
6807 #endif
6808 #ifdef HAVE_NETINET_IN_H
6809 # include <netinet/in.h>
6810 #endif
6811 #ifdef HAVE_ARPA_NAMESER_H
6812 # include <arpa/nameser.h>
6813 #endif
6815 if test "x$ac_cv_header_resolv_h" = xyes; then :
6816 cat >>confdefs.h <<_ACEOF
6817 #define HAVE_RESOLV_H 1
6818 _ACEOF
6822 done
6825 for ac_header in ifaddrs.h
6826 do :
6827 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6829 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6830 cat >>confdefs.h <<_ACEOF
6831 #define HAVE_IFADDRS_H 1
6832 _ACEOF
6836 done
6839 for ac_header in sys/ucontext.h
6840 do :
6841 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6843 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
6844 cat >>confdefs.h <<_ACEOF
6845 #define HAVE_SYS_UCONTEXT_H 1
6846 _ACEOF
6850 done
6853 for ac_header in sys/thr.h
6854 do :
6855 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6856 #ifdef HAVE_SYS_UCONTEXT_H
6857 #include <sys/ucontext.h>
6858 #endif
6860 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
6861 cat >>confdefs.h <<_ACEOF
6862 #define HAVE_SYS_THR_H 1
6863 _ACEOF
6867 done
6870 for ac_header in pthread_np.h
6871 do :
6872 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6873 #include <pthread.h>
6874 #endif
6876 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
6877 cat >>confdefs.h <<_ACEOF
6878 #define HAVE_PTHREAD_NP_H 1
6879 _ACEOF
6883 done
6886 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
6887 do :
6888 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6889 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6890 #include <sys/time.h>
6891 #endif
6892 #include <sys/types.h>
6893 #ifdef HAVE_ASM_TYPES_H
6894 #include <asm/types.h>
6895 #endif
6897 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6898 cat >>confdefs.h <<_ACEOF
6899 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6900 _ACEOF
6904 done
6907 for ac_header in libprocstat.h
6908 do :
6909 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6910 #include <sys/param.h>
6911 #endif
6912 #ifdef HAVE_SYS_QUEUE_H
6913 #include <sys/queue.h>
6914 #endif
6915 #ifdef HAVE_SYS_SOCKET_H
6916 #include <sys/socket.h>
6917 #endif
6919 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
6920 cat >>confdefs.h <<_ACEOF
6921 #define HAVE_LIBPROCSTAT_H 1
6922 _ACEOF
6926 done
6930 dlldir="\${libdir}/wine"
6932 DLLPREFIX=""
6934 DLLFLAGS="-D_REENTRANT"
6936 LDRPATH_INSTALL=""
6938 LDRPATH_LOCAL=""
6940 LIBEXT="so"
6941 DLLEXT=".so"
6942 IMPLIBEXT="def"
6943 STATIC_IMPLIBEXT="def.a"
6944 # Extract the first word of "ldd", so it can be a program name with args.
6945 set dummy ldd; ac_word=$2
6946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6947 $as_echo_n "checking for $ac_word... " >&6; }
6948 if ${ac_cv_path_LDD+:} false; then :
6949 $as_echo_n "(cached) " >&6
6950 else
6951 case $LDD in
6952 [\\/]* | ?:[\\/]*)
6953 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
6956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6957 as_dummy="/sbin:/usr/sbin:$PATH"
6958 for as_dir in $as_dummy
6960 IFS=$as_save_IFS
6961 test -z "$as_dir" && as_dir=.
6962 for ac_exec_ext in '' $ac_executable_extensions; do
6963 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6964 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
6965 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6966 break 2
6968 done
6969 done
6970 IFS=$as_save_IFS
6972 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
6974 esac
6976 LDD=$ac_cv_path_LDD
6977 if test -n "$LDD"; then
6978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6979 $as_echo "$LDD" >&6; }
6980 else
6981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6982 $as_echo "no" >&6; }
6986 if test -n "$ac_tool_prefix"; then
6987 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
6988 set dummy ${ac_tool_prefix}readelf; ac_word=$2
6989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6990 $as_echo_n "checking for $ac_word... " >&6; }
6991 if ${ac_cv_prog_READELF+:} false; then :
6992 $as_echo_n "(cached) " >&6
6993 else
6994 if test -n "$READELF"; then
6995 ac_cv_prog_READELF="$READELF" # Let the user override the test.
6996 else
6997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6998 for as_dir in $PATH
7000 IFS=$as_save_IFS
7001 test -z "$as_dir" && as_dir=.
7002 for ac_exec_ext in '' $ac_executable_extensions; do
7003 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7004 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7005 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7006 break 2
7008 done
7009 done
7010 IFS=$as_save_IFS
7014 READELF=$ac_cv_prog_READELF
7015 if test -n "$READELF"; then
7016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7017 $as_echo "$READELF" >&6; }
7018 else
7019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7020 $as_echo "no" >&6; }
7025 if test -z "$ac_cv_prog_READELF"; then
7026 ac_ct_READELF=$READELF
7027 # Extract the first word of "readelf", so it can be a program name with args.
7028 set dummy readelf; ac_word=$2
7029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7030 $as_echo_n "checking for $ac_word... " >&6; }
7031 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7032 $as_echo_n "(cached) " >&6
7033 else
7034 if test -n "$ac_ct_READELF"; then
7035 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7036 else
7037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7038 for as_dir in $PATH
7040 IFS=$as_save_IFS
7041 test -z "$as_dir" && as_dir=.
7042 for ac_exec_ext in '' $ac_executable_extensions; do
7043 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7044 ac_cv_prog_ac_ct_READELF="readelf"
7045 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7046 break 2
7048 done
7049 done
7050 IFS=$as_save_IFS
7054 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7055 if test -n "$ac_ct_READELF"; then
7056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7057 $as_echo "$ac_ct_READELF" >&6; }
7058 else
7059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7060 $as_echo "no" >&6; }
7063 if test "x$ac_ct_READELF" = x; then
7064 READELF="true"
7065 else
7066 case $cross_compiling:$ac_tool_warned in
7067 yes:)
7068 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7069 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7070 ac_tool_warned=yes ;;
7071 esac
7072 READELF=$ac_ct_READELF
7074 else
7075 READELF="$ac_cv_prog_READELF"
7078 wine_rules_file=conf$$rules.make
7079 rm -f $wine_rules_file
7080 ALL_POT_FILES=""
7081 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7082 ALL_TEST_RESOURCES=""
7085 wine_fn_append_file ()
7087 as_fn_append $1 " \\$as_nl $2"
7090 wine_fn_ignore_file ()
7092 case "$1" in
7093 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7094 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7095 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7096 esac
7099 wine_fn_append_rule ()
7101 $as_echo "$1" >>$wine_rules_file
7104 wine_fn_has_flag ()
7106 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7109 wine_fn_depend_rules ()
7111 wine_fn_append_rule \
7112 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7113 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7114 depend: $ac_dir/depend
7115 .PHONY: $ac_dir/depend
7116 $ac_dir/depend: \$(MAKEDEP) dummy
7117 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7120 wine_fn_pot_rules ()
7122 test "x$with_gettextpo" = xyes || return
7124 if wine_fn_has_flag mc
7125 then
7126 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7127 wine_fn_append_rule \
7128 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7129 @cd $ac_dir && \$(MAKE) msg.pot
7130 $ac_dir/msg.pot: tools/wmc include"
7132 if wine_fn_has_flag po
7133 then
7134 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7135 wine_fn_append_rule \
7136 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7137 @cd $ac_dir && \$(MAKE) rsrc.pot
7138 $ac_dir/rsrc.pot: tools/wrc include"
7142 wine_fn_all_rules ()
7144 wine_fn_depend_rules
7145 wine_fn_append_rule \
7146 "all: $ac_dir
7147 .PHONY: $ac_dir
7148 $ac_dir: $ac_dir/Makefile dummy
7149 @cd $ac_dir && \$(MAKE)"
7152 wine_fn_install_rules ()
7154 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7156 wine_fn_append_rule \
7157 ".PHONY: $ac_dir/install $ac_dir/uninstall
7158 $ac_dir/install:: $ac_dir
7159 @cd $ac_dir && \$(MAKE) install
7160 $ac_dir/uninstall:: $ac_dir/Makefile
7161 @cd $ac_dir && \$(MAKE) uninstall
7162 install:: $ac_dir/install
7163 __uninstall__: $ac_dir/uninstall"
7165 if wine_fn_has_flag install-lib
7166 then
7167 wine_fn_append_rule \
7168 ".PHONY: $ac_dir/install-lib
7169 $ac_dir/install-lib:: $ac_dir
7170 @cd $ac_dir && \$(MAKE) install-lib
7171 install-lib:: $ac_dir/install-lib"
7174 if wine_fn_has_flag install-dev
7175 then
7176 wine_fn_append_rule \
7177 ".PHONY: $ac_dir/install-dev
7178 $ac_dir/install-dev:: $ac_dir
7179 @cd $ac_dir && \$(MAKE) install-dev
7180 install-dev:: $ac_dir/install-dev"
7184 wine_fn_clean_rules ()
7186 ac_clean=$@
7187 ac_extraclean="$ac_dir/Makefile"
7188 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7189 case $ac_dir in
7190 */tests) ac_extraclean="$ac_extraclean $ac_dir/testlist.c" ;;
7191 esac
7193 if wine_fn_has_flag clean
7194 then
7195 wine_fn_append_rule \
7196 "__clean__: $ac_dir/clean
7197 .PHONY: $ac_dir/clean
7198 $ac_dir/clean: $ac_dir/Makefile
7199 @cd $ac_dir && \$(MAKE) clean
7200 \$(RM) $ac_extraclean"
7201 else
7202 wine_fn_append_rule \
7203 "__clean__: $ac_dir/clean
7204 .PHONY: $ac_dir/clean
7205 $ac_dir/clean: dummy
7206 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7210 wine_fn_disabled_rules ()
7212 ac_clean=$@
7213 ac_extraclean="$ac_dir/Makefile"
7214 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7216 wine_fn_append_rule \
7217 "__clean__: $ac_dir/clean
7218 .PHONY: $ac_dir/clean
7219 $ac_dir/clean: dummy
7220 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7223 wine_fn_config_makefile ()
7225 ac_dir=$1
7226 ac_enable=$2
7227 ac_flags=$3
7229 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7230 wine_fn_disabled_rules; return
7232 wine_fn_all_rules
7233 wine_fn_install_rules
7234 wine_fn_clean_rules
7237 wine_fn_config_lib ()
7239 ac_name=$1
7240 ac_flags=$2
7241 ac_dir=dlls/$ac_name
7242 ac_deps="include"
7244 if test "x$enable_tools" = xno; then :
7246 else
7247 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7249 wine_fn_all_rules
7250 wine_fn_clean_rules
7252 wine_fn_append_rule \
7253 ".PHONY: $ac_dir/install $ac_dir/uninstall
7254 $ac_dir/install:: $ac_dir
7255 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7256 $ac_dir/uninstall::
7257 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7258 install install-dev:: $ac_dir/install
7259 __uninstall__: $ac_dir/uninstall
7260 __builddeps__: $ac_dir
7261 $ac_dir: $ac_deps"
7264 wine_fn_config_dll ()
7266 ac_name=$1
7267 ac_dir=dlls/$ac_name
7268 ac_enable=$2
7269 ac_flags=$3
7270 ac_implib=${4:-$ac_name}
7271 ac_file=$ac_dir/lib$ac_implib
7272 ac_dll=$ac_name
7273 ac_deps="include"
7274 ac_implibflags=""
7276 if test "x$enable_tools" = xno; then :
7278 else
7279 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7281 case $ac_name in
7282 *16) ac_implibflags=" -m16" ;;
7283 *.*) ;;
7284 *) ac_dll=$ac_dll.dll ;;
7285 esac
7287 ac_clean=
7288 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7289 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7290 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7291 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7293 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7294 if wine_fn_has_flag implib && test "$ac_enable" != enable_win16
7295 then
7296 wine_fn_depend_rules
7297 wine_fn_clean_rules $ac_clean
7298 else
7299 wine_fn_disabled_rules $ac_clean
7300 return
7302 else
7303 wine_fn_all_rules
7304 wine_fn_clean_rules $ac_clean
7305 wine_fn_append_rule \
7306 "$ac_dir: __builddeps__
7307 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7308 @cd $ac_dir && \$(MAKE) \$@
7309 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7310 install install-lib:: $ac_dir/install-lib
7311 __uninstall__: $ac_dir/uninstall"
7312 if test -n "$DLLEXT"
7313 then
7314 wine_fn_append_rule \
7315 "$ac_dir/install-lib:: $ac_dir
7316 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7317 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7318 $ac_dir/uninstall::
7319 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7320 else
7321 wine_fn_append_rule \
7322 "$ac_dir/install-lib:: $ac_dir
7323 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7324 $ac_dir/uninstall::
7325 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7328 wine_fn_pot_rules
7331 if wine_fn_has_flag staticimplib
7332 then
7333 wine_fn_append_rule \
7334 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7335 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7336 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7337 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7338 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7339 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7340 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7341 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7342 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7343 $ac_dir/uninstall::
7344 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7345 install install-dev:: $ac_dir/install-dev
7346 __uninstall__: $ac_dir/uninstall"
7348 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7349 then
7350 wine_fn_append_rule \
7351 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7352 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7353 $ac_dir/uninstall::
7354 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7357 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7358 then
7359 wine_fn_append_rule \
7360 "__builddeps__: $ac_file.cross.a
7361 $ac_file.cross.a: $ac_dir/Makefile dummy
7362 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7365 elif wine_fn_has_flag implib
7366 then
7367 wine_fn_append_rule \
7368 "__builddeps__: $ac_file.$IMPLIBEXT
7369 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7370 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7371 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7372 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7373 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7374 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7375 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7376 $ac_dir/uninstall::
7377 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7378 install install-dev:: $ac_dir/install-dev
7379 __uninstall__: $ac_dir/uninstall"
7380 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7381 then
7382 wine_fn_append_rule \
7383 "__builddeps__: $ac_file.cross.a
7384 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7385 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7388 if test "$ac_name" != "$ac_implib"
7389 then
7390 wine_fn_append_rule \
7391 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7392 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7393 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7394 clean::
7395 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7396 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7397 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7398 then
7399 wine_fn_append_rule \
7400 "__builddeps__: dlls/lib$ac_implib.cross.a
7401 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7402 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7403 clean::
7404 \$(RM) dlls/lib$ac_implib.cross.a"
7405 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7411 wine_fn_config_program ()
7413 ac_name=$1
7414 ac_dir=programs/$ac_name
7415 ac_enable=$2
7416 ac_flags=$3
7417 ac_program=$ac_name
7419 case $ac_name in
7420 *.*) ;;
7421 *) ac_program=$ac_program.exe ;;
7422 esac
7424 ac_clean=
7425 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7426 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7427 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7428 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7430 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7431 wine_fn_disabled_rules $ac_clean; return
7434 wine_fn_all_rules
7435 wine_fn_clean_rules $ac_clean
7436 wine_fn_append_rule "$ac_dir: __builddeps__"
7437 wine_fn_pot_rules
7439 wine_fn_has_flag install || return
7440 wine_fn_append_rule \
7441 ".PHONY: $ac_dir/install $ac_dir/uninstall
7442 install install-lib:: $ac_dir/install
7443 __uninstall__: $ac_dir/uninstall"
7445 if test -n "$DLLEXT"
7446 then
7447 wine_fn_append_rule \
7448 "$ac_dir/install:: $ac_dir
7449 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7450 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7451 $ac_dir/uninstall::
7452 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7454 if test -z "$with_wine64" && wine_fn_has_flag installbin
7455 then
7456 wine_fn_append_rule \
7457 "$ac_dir/install:: __tooldeps__
7458 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7459 $ac_dir/uninstall::
7460 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7462 else
7463 wine_fn_append_rule \
7464 "$ac_dir/install:: $ac_dir
7465 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7466 $ac_dir/uninstall::
7467 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7470 if test -z "$with_wine64" && wine_fn_has_flag manpage
7471 then
7472 wine_fn_append_rule \
7473 "$ac_dir/install:: $ac_dir
7474 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7475 $ac_dir/uninstall::
7476 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7480 wine_fn_config_test ()
7482 ac_dir=$1
7483 ac_name=$2
7484 ac_flags=$3
7486 ac_clean=
7487 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7488 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7490 if test "x$enable_tests" = xno; then :
7491 wine_fn_disabled_rules $ac_clean; return
7494 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7495 wine_fn_all_rules
7496 wine_fn_clean_rules $ac_clean
7498 wine_fn_append_rule \
7499 "$ac_dir: programs/winetest/Makefile __builddeps__
7500 programs/winetest: $ac_dir
7501 check test: $ac_dir/test
7502 .PHONY: $ac_dir/test
7503 $ac_dir/test: dummy
7504 @cd $ac_dir && \$(MAKE) test
7505 testclean::
7506 \$(RM) $ac_dir/*.ok"
7508 if test -n "$CROSSTARGET"
7509 then
7510 wine_fn_append_rule \
7511 "crosstest: $ac_dir/crosstest
7512 .PHONY: $ac_dir/crosstest
7513 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7514 @cd $ac_dir && \$(MAKE) crosstest"
7518 wine_fn_config_tool ()
7520 ac_dir=$1
7521 ac_flags=$2
7522 if test "x$enable_tools" = xno; then :
7523 return
7526 wine_fn_all_rules
7527 wine_fn_install_rules
7528 wine_fn_clean_rules
7530 wine_fn_append_rule "__tooldeps__: $ac_dir"
7531 wine_fn_append_rule "$ac_dir: libs/port"
7532 case $ac_dir in
7533 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7534 esac
7537 wine_fn_config_symlink ()
7539 ac_linkdir=
7540 if test "x$1" = "x-d"
7541 then
7542 ac_linkdir=$2
7543 shift; shift
7545 ac_links=$@
7546 wine_fn_append_rule \
7547 "$ac_links:
7548 @./config.status \$@
7549 distclean::
7550 \$(RM) $ac_links"
7551 for f in $ac_links; do wine_fn_ignore_file $f; done
7552 test -n "$ac_linkdir" || return
7553 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7556 wine_binary="wine"
7557 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7558 loader_programs="$wine_binary wine-installed"
7559 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7561 LOADER_RULES="
7562 all: wine.inf
7564 install install-lib:: wine-installed
7565 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7567 uninstall::
7568 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7572 case $host_os in
7573 cygwin*|mingw32*)
7574 if test -n "$ac_tool_prefix"; then
7575 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7576 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7578 $as_echo_n "checking for $ac_word... " >&6; }
7579 if ${ac_cv_prog_DLLTOOL+:} false; then :
7580 $as_echo_n "(cached) " >&6
7581 else
7582 if test -n "$DLLTOOL"; then
7583 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7584 else
7585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7586 for as_dir in $PATH
7588 IFS=$as_save_IFS
7589 test -z "$as_dir" && as_dir=.
7590 for ac_exec_ext in '' $ac_executable_extensions; do
7591 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7592 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7593 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7594 break 2
7596 done
7597 done
7598 IFS=$as_save_IFS
7602 DLLTOOL=$ac_cv_prog_DLLTOOL
7603 if test -n "$DLLTOOL"; then
7604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7605 $as_echo "$DLLTOOL" >&6; }
7606 else
7607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7608 $as_echo "no" >&6; }
7613 if test -z "$ac_cv_prog_DLLTOOL"; then
7614 ac_ct_DLLTOOL=$DLLTOOL
7615 # Extract the first word of "dlltool", so it can be a program name with args.
7616 set dummy dlltool; ac_word=$2
7617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7618 $as_echo_n "checking for $ac_word... " >&6; }
7619 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7620 $as_echo_n "(cached) " >&6
7621 else
7622 if test -n "$ac_ct_DLLTOOL"; then
7623 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7624 else
7625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7626 for as_dir in $PATH
7628 IFS=$as_save_IFS
7629 test -z "$as_dir" && as_dir=.
7630 for ac_exec_ext in '' $ac_executable_extensions; do
7631 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7632 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7633 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7634 break 2
7636 done
7637 done
7638 IFS=$as_save_IFS
7642 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7643 if test -n "$ac_ct_DLLTOOL"; then
7644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7645 $as_echo "$ac_ct_DLLTOOL" >&6; }
7646 else
7647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7648 $as_echo "no" >&6; }
7651 if test "x$ac_ct_DLLTOOL" = x; then
7652 DLLTOOL="false"
7653 else
7654 case $cross_compiling:$ac_tool_warned in
7655 yes:)
7656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7657 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7658 ac_tool_warned=yes ;;
7659 esac
7660 DLLTOOL=$ac_ct_DLLTOOL
7662 else
7663 DLLTOOL="$ac_cv_prog_DLLTOOL"
7666 LIBEXT="dll"
7667 DLLEXT=""
7668 IMPLIBEXT="a"
7669 STATIC_IMPLIBEXT="a"
7670 enable_iphlpapi=${enable_iphlpapi:-no}
7671 enable_kernel32=${enable_kernel32:-no}
7672 enable_msvcrt=${enable_msvcrt:-no}
7673 enable_ntdll=${enable_ntdll:-no}
7674 enable_ws2_32=${enable_ws2_32:-no}
7675 enable_loader=${enable_loader:-no}
7676 enable_server=${enable_server:-no}
7677 with_x=${with_x:-no}
7678 with_pthread=${with_pthread:-no}
7680 crtlibs=""
7681 case $host_os in
7682 mingw32*)
7683 crtlibs="-lmsvcrt"
7684 SOCKET_LIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7686 esac
7688 libwine_targets="libwine.dll libwine.a"
7689 LIBWINE_RULES="
7690 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7692 all: libwine.dll libwine.a
7694 libwine.a: \$(srcdir)/wine.def
7695 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7697 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7698 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7700 install install-lib:: libwine.dll
7701 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7703 install install-dev:: libwine.a
7704 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7706 uninstall::
7707 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7712 darwin*|macosx*)
7713 LIBEXT="dylib"
7714 DLLFLAGS="$DLLFLAGS -fPIC"
7715 LIBWINE_LDFLAGS="-multiply_defined suppress"
7716 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7717 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7718 COREFOUNDATION_LIBS="-framework CoreFoundation"
7720 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7722 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7724 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7726 CORESERVICES_LIBS="-framework CoreServices"
7728 APPKIT_LIBS="-framework AppKit"
7730 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7732 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7733 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
7734 $as_echo_n "(cached) " >&6
7735 else
7736 ac_wine_try_cflags_saved=$CFLAGS
7737 CFLAGS="$CFLAGS -Wl,-no_pie"
7738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7739 /* end confdefs.h. */
7740 int main(int argc, char **argv) { return 0; }
7741 _ACEOF
7742 if ac_fn_c_try_link "$LINENO"; then :
7743 ac_cv_cflags__Wl__no_pie=yes
7744 else
7745 ac_cv_cflags__Wl__no_pie=no
7747 rm -f core conftest.err conftest.$ac_objext \
7748 conftest$ac_exeext conftest.$ac_ext
7749 CFLAGS=$ac_wine_try_cflags_saved
7751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7752 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7753 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
7754 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
7756 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7757 then
7758 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
7761 if test "$ac_cv_header_Security_Security_h" = "yes"
7762 then
7763 SECURITY_LIBS="-framework Security -framework CoreFoundation"
7765 ac_save_LIBS="$LIBS"
7766 LIBS="$LIBS $SECURITY_LIBS"
7767 for ac_func in SSLCopyPeerCertificates
7768 do :
7769 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7770 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
7771 cat >>confdefs.h <<_ACEOF
7772 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7773 _ACEOF
7776 done
7778 LIBS="$ac_save_LIBS"
7779 with_gnutls=${with_gnutls:-no}
7781 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7782 then
7783 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7784 then
7785 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7787 else
7788 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7791 ac_save_LIBS="$LIBS"
7792 LIBS="$LIBS $COREAUDIO_LIBS"
7793 for ac_func in AUGraphAddNode
7794 do :
7795 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7796 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
7797 cat >>confdefs.h <<_ACEOF
7798 #define HAVE_AUGRAPHADDNODE 1
7799 _ACEOF
7802 done
7804 LIBS="$ac_save_LIBS"
7806 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7807 then
7808 OPENAL_LIBS="-framework OpenAL"
7811 cat >>confdefs.h <<_ACEOF
7812 #define HAVE_OPENAL 1
7813 _ACEOF
7815 ac_cv_lib_openal=yes
7817 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7818 then
7819 OPENCL_LIBS="-framework OpenCL"
7821 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
7823 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7824 then
7825 ac_save_LIBS="$LIBS"
7826 LIBS="$LIBS $IOKIT_LIBS"
7827 for ac_func in IOHIDManagerCreate
7828 do :
7829 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7830 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
7831 cat >>confdefs.h <<_ACEOF
7832 #define HAVE_IOHIDMANAGERCREATE 1
7833 _ACEOF
7836 done
7838 LIBS="$ac_save_LIBS"
7840 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7841 then
7842 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7844 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
7845 else
7846 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7848 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7849 then
7850 CARBON_LIBS="-framework Carbon"
7854 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7855 then
7856 ac_save_LIBS="$LIBS"
7857 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
7858 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7859 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
7860 enable_winemac_drv=${enable_winemac_drv:-yes}
7863 LIBS="$ac_save_LIBS"
7866 if test "x$enable_win16" = "xyes"
7867 then
7868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7869 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7870 if test "$cross_compiling" = yes; then :
7871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7872 $as_echo "cross-compiling, assuming yes" >&6; }
7873 else
7874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7875 /* end confdefs.h. */
7876 asm(".text\n"
7877 "bad:\tnop;nop\n"
7878 "good:\tnop;nop\n\t"
7879 ".globl _testfunc\n"
7880 "_testfunc:\tcallw good");
7881 extern void testfunc();
7883 main ()
7885 unsigned short *p = (unsigned short *)testfunc;
7886 return p[0] != 0xe866 || p[1] != 0xfffa
7888 return 0;
7890 _ACEOF
7891 if ac_fn_c_try_run "$LINENO"; then :
7892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7893 $as_echo "yes" >&6; }
7894 else
7895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7896 $as_echo "no" >&6; }
7897 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
7899 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7900 conftest.$ac_objext conftest.beam conftest.$ac_ext
7905 libwine_targets="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
7906 LIBWINE_RULES="
7907 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7909 all: libwine.dylib
7911 libwine.$libwine_version.dylib: \$(OBJS)
7912 \$(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 \$@
7914 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
7915 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
7917 libwine.dylib: libwine.$libwine_soversion.dylib
7918 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
7920 install install-lib:: libwine.$libwine_version.dylib
7921 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
7922 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
7924 install install-dev::
7925 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
7927 uninstall::
7928 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
7932 as_fn_append LOADER_RULES "
7933 $wine_binary: main.o wine_info.plist
7934 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7936 wine-installed: main.o wine_info.plist
7937 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7941 linux-android*)
7942 DLLFLAGS="$DLLFLAGS -fPIC"
7943 DLLPREFIX="lib"
7944 LDEXECFLAGS=""
7945 dlldir="\${libdir}"
7946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7947 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7948 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
7949 $as_echo_n "(cached) " >&6
7950 else
7951 ac_wine_try_cflags_saved=$CFLAGS
7952 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
7953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7954 /* end confdefs.h. */
7955 int main(int argc, char **argv) { return 0; }
7956 _ACEOF
7957 if ac_fn_c_try_link "$LINENO"; then :
7958 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
7959 else
7960 ac_cv_cflags__fPIC__Wl___export_dynamic=no
7962 rm -f core conftest.err conftest.$ac_objext \
7963 conftest$ac_exeext conftest.$ac_ext
7964 CFLAGS=$ac_wine_try_cflags_saved
7966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7967 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7968 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
7969 LDEXECFLAGS="-Wl,--export-dynamic"
7971 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7973 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7974 if eval \${$as_ac_var+:} false; then :
7975 $as_echo_n "(cached) " >&6
7976 else
7977 ac_wine_try_cflags_saved=$CFLAGS
7978 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7980 /* end confdefs.h. */
7981 int main(int argc, char **argv) { return 0; }
7982 _ACEOF
7983 if ac_fn_c_try_link "$LINENO"; then :
7984 eval "$as_ac_var=yes"
7985 else
7986 eval "$as_ac_var=no"
7988 rm -f core conftest.err conftest.$ac_objext \
7989 conftest$ac_exeext conftest.$ac_ext
7990 CFLAGS=$ac_wine_try_cflags_saved
7992 eval ac_res=\$$as_ac_var
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7994 $as_echo "$ac_res" >&6; }
7995 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
7996 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7997 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7998 else
7999 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8001 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8002 if eval \${$as_ac_var+:} false; then :
8003 $as_echo_n "(cached) " >&6
8004 else
8005 ac_wine_try_cflags_saved=$CFLAGS
8006 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8008 /* end confdefs.h. */
8009 int main(int argc, char **argv) { return 0; }
8010 _ACEOF
8011 if ac_fn_c_try_link "$LINENO"; then :
8012 eval "$as_ac_var=yes"
8013 else
8014 eval "$as_ac_var=no"
8016 rm -f core conftest.err conftest.$ac_objext \
8017 conftest$ac_exeext conftest.$ac_ext
8018 CFLAGS=$ac_wine_try_cflags_saved
8020 eval ac_res=\$$as_ac_var
8021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8022 $as_echo "$ac_res" >&6; }
8023 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8024 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8025 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8030 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8031 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8032 $as_echo_n "(cached) " >&6
8033 else
8034 ac_wine_try_cflags_saved=$CFLAGS
8035 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8037 /* end confdefs.h. */
8038 int main(int argc, char **argv) { return 0; }
8039 _ACEOF
8040 if ac_fn_c_try_link "$LINENO"; then :
8041 ac_cv_cflags__Wl___enable_new_dtags=yes
8042 else
8043 ac_cv_cflags__Wl___enable_new_dtags=no
8045 rm -f core conftest.err conftest.$ac_objext \
8046 conftest$ac_exeext conftest.$ac_ext
8047 CFLAGS=$ac_wine_try_cflags_saved
8049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8050 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8051 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8052 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8055 case $host_cpu in
8056 *i[3456789]86* | x86_64)
8057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8058 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8059 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8060 $as_echo_n "(cached) " >&6
8061 else
8062 ac_wine_try_cflags_saved=$CFLAGS
8063 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8065 /* end confdefs.h. */
8066 int main(int argc, char **argv) { return 0; }
8067 _ACEOF
8068 if ac_fn_c_try_link "$LINENO"; then :
8069 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8070 else
8071 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8073 rm -f core conftest.err conftest.$ac_objext \
8074 conftest$ac_exeext conftest.$ac_ext
8075 CFLAGS=$ac_wine_try_cflags_saved
8077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8078 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8079 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8080 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8083 esac
8085 libwine_targets="libwine.so"
8086 LIBWINE_RULES="
8087 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8089 all: libwine.so
8091 libwine.so: \$(OBJS)
8092 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8094 install install-lib:: libwine.so
8095 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8097 uninstall::
8098 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8102 as_fn_append LOADER_RULES "
8103 $wine_binary: main.o
8104 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8106 wine-installed: main.o
8107 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8112 DLLFLAGS="$DLLFLAGS -fPIC"
8113 LDEXECFLAGS=""
8114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8115 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8116 if ${ac_cv_c_dll_gnuelf+:} false; then :
8117 $as_echo_n "(cached) " >&6
8118 else
8119 ac_wine_try_cflags_saved=$CFLAGS
8120 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8122 /* end confdefs.h. */
8123 void myfunc() {}
8124 _ACEOF
8125 if ac_fn_c_try_link "$LINENO"; then :
8126 ac_cv_c_dll_gnuelf="yes"
8127 else
8128 ac_cv_c_dll_gnuelf="no"
8130 rm -f core conftest.err conftest.$ac_objext \
8131 conftest$ac_exeext conftest.$ac_ext
8132 CFLAGS=$ac_wine_try_cflags_saved
8134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8135 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8136 if test "$ac_cv_c_dll_gnuelf" = "yes"
8137 then
8138 LDSHARED="\$(CC) -shared"
8139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8140 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8141 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8142 $as_echo_n "(cached) " >&6
8143 else
8144 ac_wine_try_cflags_saved=$CFLAGS
8145 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8147 /* end confdefs.h. */
8148 int main(int argc, char **argv) { return 0; }
8149 _ACEOF
8150 if ac_fn_c_try_link "$LINENO"; then :
8151 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8152 else
8153 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8155 rm -f core conftest.err conftest.$ac_objext \
8156 conftest$ac_exeext conftest.$ac_ext
8157 CFLAGS=$ac_wine_try_cflags_saved
8159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8160 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8161 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8162 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8163 else
8164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8165 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8166 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8167 $as_echo_n "(cached) " >&6
8168 else
8169 ac_wine_try_cflags_saved=$CFLAGS
8170 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8172 /* end confdefs.h. */
8173 int main(int argc, char **argv) { return 0; }
8174 _ACEOF
8175 if ac_fn_c_try_link "$LINENO"; then :
8176 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8177 else
8178 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8180 rm -f core conftest.err conftest.$ac_objext \
8181 conftest$ac_exeext conftest.$ac_ext
8182 CFLAGS=$ac_wine_try_cflags_saved
8184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8185 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8186 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8187 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8191 echo '{ global: *; };' >conftest.map
8192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8193 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8194 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8195 $as_echo_n "(cached) " >&6
8196 else
8197 ac_wine_try_cflags_saved=$CFLAGS
8198 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8200 /* end confdefs.h. */
8201 int main(int argc, char **argv) { return 0; }
8202 _ACEOF
8203 if ac_fn_c_try_link "$LINENO"; then :
8204 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8205 else
8206 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8208 rm -f core conftest.err conftest.$ac_objext \
8209 conftest$ac_exeext conftest.$ac_ext
8210 CFLAGS=$ac_wine_try_cflags_saved
8212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8213 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8214 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8215 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8217 rm -f conftest.map
8219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8220 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8221 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8222 $as_echo_n "(cached) " >&6
8223 else
8224 ac_wine_try_cflags_saved=$CFLAGS
8225 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8227 /* end confdefs.h. */
8228 int main(int argc, char **argv) { return 0; }
8229 _ACEOF
8230 if ac_fn_c_try_link "$LINENO"; then :
8231 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8232 else
8233 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8235 rm -f core conftest.err conftest.$ac_objext \
8236 conftest$ac_exeext conftest.$ac_ext
8237 CFLAGS=$ac_wine_try_cflags_saved
8239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8240 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8241 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8242 LDEXECFLAGS="-Wl,--export-dynamic"
8245 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8247 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8248 if eval \${$as_ac_var+:} false; then :
8249 $as_echo_n "(cached) " >&6
8250 else
8251 ac_wine_try_cflags_saved=$CFLAGS
8252 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8254 /* end confdefs.h. */
8255 int main(int argc, char **argv) { return 0; }
8256 _ACEOF
8257 if ac_fn_c_try_link "$LINENO"; then :
8258 eval "$as_ac_var=yes"
8259 else
8260 eval "$as_ac_var=no"
8262 rm -f core conftest.err conftest.$ac_objext \
8263 conftest$ac_exeext conftest.$ac_ext
8264 CFLAGS=$ac_wine_try_cflags_saved
8266 eval ac_res=\$$as_ac_var
8267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8268 $as_echo "$ac_res" >&6; }
8269 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8270 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8271 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8272 else
8273 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8275 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8276 if eval \${$as_ac_var+:} false; then :
8277 $as_echo_n "(cached) " >&6
8278 else
8279 ac_wine_try_cflags_saved=$CFLAGS
8280 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8282 /* end confdefs.h. */
8283 int main(int argc, char **argv) { return 0; }
8284 _ACEOF
8285 if ac_fn_c_try_link "$LINENO"; then :
8286 eval "$as_ac_var=yes"
8287 else
8288 eval "$as_ac_var=no"
8290 rm -f core conftest.err conftest.$ac_objext \
8291 conftest$ac_exeext conftest.$ac_ext
8292 CFLAGS=$ac_wine_try_cflags_saved
8294 eval ac_res=\$$as_ac_var
8295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8296 $as_echo "$ac_res" >&6; }
8297 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8298 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8299 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8304 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8305 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8306 $as_echo_n "(cached) " >&6
8307 else
8308 ac_wine_try_cflags_saved=$CFLAGS
8309 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8311 /* end confdefs.h. */
8312 int main(int argc, char **argv) { return 0; }
8313 _ACEOF
8314 if ac_fn_c_try_link "$LINENO"; then :
8315 ac_cv_cflags__Wl___enable_new_dtags=yes
8316 else
8317 ac_cv_cflags__Wl___enable_new_dtags=no
8319 rm -f core conftest.err conftest.$ac_objext \
8320 conftest$ac_exeext conftest.$ac_ext
8321 CFLAGS=$ac_wine_try_cflags_saved
8323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8324 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8325 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8326 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8329 case $host_cpu in
8330 *i[3456789]86* | x86_64)
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8332 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8333 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8334 $as_echo_n "(cached) " >&6
8335 else
8336 ac_wine_try_cflags_saved=$CFLAGS
8337 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8339 /* end confdefs.h. */
8340 int main(int argc, char **argv) { return 0; }
8341 _ACEOF
8342 if ac_fn_c_try_link "$LINENO"; then :
8343 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8344 else
8345 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8347 rm -f core conftest.err conftest.$ac_objext \
8348 conftest$ac_exeext conftest.$ac_ext
8349 CFLAGS=$ac_wine_try_cflags_saved
8351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8352 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8353 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8354 case $host_os in
8355 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8356 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8357 esac
8360 # Extract the first word of "prelink", so it can be a program name with args.
8361 set dummy prelink; ac_word=$2
8362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8363 $as_echo_n "checking for $ac_word... " >&6; }
8364 if ${ac_cv_path_PRELINK+:} false; then :
8365 $as_echo_n "(cached) " >&6
8366 else
8367 case $PRELINK in
8368 [\\/]* | ?:[\\/]*)
8369 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8373 for as_dir in /sbin /usr/sbin $PATH
8375 IFS=$as_save_IFS
8376 test -z "$as_dir" && as_dir=.
8377 for ac_exec_ext in '' $ac_executable_extensions; do
8378 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8379 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8380 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8381 break 2
8383 done
8384 done
8385 IFS=$as_save_IFS
8387 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8389 esac
8391 PRELINK=$ac_cv_path_PRELINK
8392 if test -n "$PRELINK"; then
8393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8394 $as_echo "$PRELINK" >&6; }
8395 else
8396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8397 $as_echo "no" >&6; }
8401 if test "x$PRELINK" = xfalse
8402 then
8403 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
8406 esac
8408 else
8409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8410 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8411 if ${ac_cv_c_dll_unixware+:} false; then :
8412 $as_echo_n "(cached) " >&6
8413 else
8414 ac_wine_try_cflags_saved=$CFLAGS
8415 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8417 /* end confdefs.h. */
8418 void myfunc() {}
8419 _ACEOF
8420 if ac_fn_c_try_link "$LINENO"; then :
8421 ac_cv_c_dll_unixware="yes"
8422 else
8423 ac_cv_c_dll_unixware="no"
8425 rm -f core conftest.err conftest.$ac_objext \
8426 conftest$ac_exeext conftest.$ac_ext
8427 CFLAGS=$ac_wine_try_cflags_saved
8429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8430 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8431 if test "$ac_cv_c_dll_unixware" = "yes"
8432 then
8433 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8436 libwine_targets="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8437 LIBWINE_RULES="
8438 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8440 all: libwine.so
8442 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8443 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8445 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8446 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8448 libwine.so: libwine.so.$libwine_soversion
8449 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8451 install install-lib:: libwine.so.$libwine_version
8452 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8453 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8455 install install-dev::
8456 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8458 uninstall::
8459 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8463 as_fn_append LOADER_RULES "
8464 $wine_binary: main.o
8465 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8467 wine-installed: main.o
8468 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8471 esac
8473 as_fn_append LIBWINE_RULES "
8474 EXTRA_TARGETS = $libwine_targets
8477 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8478 enable_winemac_drv=${enable_winemac_drv:-no}
8480 CROSSTARGET=""
8482 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8483 then
8484 case "$host_cpu" in
8485 i[3456789]86*)
8486 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
8487 mingw32-gcc" ;;
8488 x86_64)
8489 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 " ;;
8491 ac_prefix_list="" ;;
8492 esac
8493 for ac_prog in $ac_prefix_list
8495 # Extract the first word of "$ac_prog", so it can be a program name with args.
8496 set dummy $ac_prog; ac_word=$2
8497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8498 $as_echo_n "checking for $ac_word... " >&6; }
8499 if ${ac_cv_prog_CROSSCC+:} false; then :
8500 $as_echo_n "(cached) " >&6
8501 else
8502 if test -n "$CROSSCC"; then
8503 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8504 else
8505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8506 for as_dir in $PATH
8508 IFS=$as_save_IFS
8509 test -z "$as_dir" && as_dir=.
8510 for ac_exec_ext in '' $ac_executable_extensions; do
8511 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8512 ac_cv_prog_CROSSCC="$ac_prog"
8513 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8514 break 2
8516 done
8517 done
8518 IFS=$as_save_IFS
8522 CROSSCC=$ac_cv_prog_CROSSCC
8523 if test -n "$CROSSCC"; then
8524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8525 $as_echo "$CROSSCC" >&6; }
8526 else
8527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8528 $as_echo "no" >&6; }
8532 test -n "$CROSSCC" && break
8533 done
8534 test -n "$CROSSCC" || CROSSCC="false"
8536 if test "$CROSSCC" != "false"
8537 then
8538 ac_save_CC="$CC"
8539 CC="$CROSSCC"
8540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8541 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8543 /* end confdefs.h. */
8546 main ()
8550 return 0;
8552 _ACEOF
8553 if ac_fn_c_try_compile "$LINENO"; then :
8554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8555 $as_echo "yes" >&6; }
8556 set x $CROSSCC
8557 shift
8558 while test $# -ge 1
8560 case "$1" in
8561 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8562 esac
8563 shift
8564 done
8565 else
8566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8567 $as_echo "no" >&6; }
8569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8570 CC="$ac_save_CC"
8575 if test "$ac_cv_header_pthread_h" = "yes"
8576 then
8577 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8578 if test "x$ac_cv_func_pthread_create" = xyes; then :
8580 else
8581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8582 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8583 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8584 $as_echo_n "(cached) " >&6
8585 else
8586 ac_check_lib_save_LIBS=$LIBS
8587 LIBS="-lpthread $LIBS"
8588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8589 /* end confdefs.h. */
8591 /* Override any GCC internal prototype to avoid an error.
8592 Use char because int might match the return type of a GCC
8593 builtin and then its argument prototype would still apply. */
8594 #ifdef __cplusplus
8595 extern "C"
8596 #endif
8597 char pthread_create ();
8599 main ()
8601 return pthread_create ();
8603 return 0;
8605 _ACEOF
8606 if ac_fn_c_try_link "$LINENO"; then :
8607 ac_cv_lib_pthread_pthread_create=yes
8608 else
8609 ac_cv_lib_pthread_pthread_create=no
8611 rm -f core conftest.err conftest.$ac_objext \
8612 conftest$ac_exeext conftest.$ac_ext
8613 LIBS=$ac_check_lib_save_LIBS
8615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8616 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8617 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8618 PTHREAD_LIBS="-lpthread"
8625 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8626 case "x$with_pthread" in
8627 xno) ;;
8628 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8629 Wine cannot support threads without libpthread.
8630 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8631 esac
8635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8636 $as_echo_n "checking for X... " >&6; }
8639 # Check whether --with-x was given.
8640 if test "${with_x+set}" = set; then :
8641 withval=$with_x;
8644 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8645 if test "x$with_x" = xno; then
8646 # The user explicitly disabled X.
8647 have_x=disabled
8648 else
8649 case $x_includes,$x_libraries in #(
8650 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8651 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8652 $as_echo_n "(cached) " >&6
8653 else
8654 # One or both of the vars are not set, and there is no cached value.
8655 ac_x_includes=no ac_x_libraries=no
8656 rm -f -r conftest.dir
8657 if mkdir conftest.dir; then
8658 cd conftest.dir
8659 cat >Imakefile <<'_ACEOF'
8660 incroot:
8661 @echo incroot='${INCROOT}'
8662 usrlibdir:
8663 @echo usrlibdir='${USRLIBDIR}'
8664 libdir:
8665 @echo libdir='${LIBDIR}'
8666 _ACEOF
8667 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8668 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8669 for ac_var in incroot usrlibdir libdir; do
8670 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8671 done
8672 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8673 for ac_extension in a so sl dylib la dll; do
8674 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8675 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8676 ac_im_usrlibdir=$ac_im_libdir; break
8678 done
8679 # Screen out bogus values from the imake configuration. They are
8680 # bogus both because they are the default anyway, and because
8681 # using them would break gcc on systems where it needs fixed includes.
8682 case $ac_im_incroot in
8683 /usr/include) ac_x_includes= ;;
8684 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8685 esac
8686 case $ac_im_usrlibdir in
8687 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8688 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8689 esac
8691 cd ..
8692 rm -f -r conftest.dir
8695 # Standard set of common directories for X headers.
8696 # Check X11 before X11Rn because it is often a symlink to the current release.
8697 ac_x_header_dirs='
8698 /usr/X11/include
8699 /usr/X11R7/include
8700 /usr/X11R6/include
8701 /usr/X11R5/include
8702 /usr/X11R4/include
8704 /usr/include/X11
8705 /usr/include/X11R7
8706 /usr/include/X11R6
8707 /usr/include/X11R5
8708 /usr/include/X11R4
8710 /usr/local/X11/include
8711 /usr/local/X11R7/include
8712 /usr/local/X11R6/include
8713 /usr/local/X11R5/include
8714 /usr/local/X11R4/include
8716 /usr/local/include/X11
8717 /usr/local/include/X11R7
8718 /usr/local/include/X11R6
8719 /usr/local/include/X11R5
8720 /usr/local/include/X11R4
8722 /usr/X386/include
8723 /usr/x386/include
8724 /usr/XFree86/include/X11
8726 /usr/include
8727 /usr/local/include
8728 /usr/unsupported/include
8729 /usr/athena/include
8730 /usr/local/x11r5/include
8731 /usr/lpp/Xamples/include
8733 /usr/openwin/include
8734 /usr/openwin/share/include'
8736 if test "$ac_x_includes" = no; then
8737 # Guess where to find include files, by looking for Xlib.h.
8738 # First, try using that file with no special directory specified.
8739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8740 /* end confdefs.h. */
8741 #include <X11/Xlib.h>
8742 _ACEOF
8743 if ac_fn_c_try_cpp "$LINENO"; then :
8744 # We can compile using X headers with no special include directory.
8745 ac_x_includes=
8746 else
8747 for ac_dir in $ac_x_header_dirs; do
8748 if test -r "$ac_dir/X11/Xlib.h"; then
8749 ac_x_includes=$ac_dir
8750 break
8752 done
8754 rm -f conftest.err conftest.i conftest.$ac_ext
8755 fi # $ac_x_includes = no
8757 if test "$ac_x_libraries" = no; then
8758 # Check for the libraries.
8759 # See if we find them without any special options.
8760 # Don't add to $LIBS permanently.
8761 ac_save_LIBS=$LIBS
8762 LIBS="-lX11 $LIBS"
8763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8764 /* end confdefs.h. */
8765 #include <X11/Xlib.h>
8767 main ()
8769 XrmInitialize ()
8771 return 0;
8773 _ACEOF
8774 if ac_fn_c_try_link "$LINENO"; then :
8775 LIBS=$ac_save_LIBS
8776 # We can link X programs with no special library path.
8777 ac_x_libraries=
8778 else
8779 LIBS=$ac_save_LIBS
8780 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8782 # Don't even attempt the hair of trying to link an X program!
8783 for ac_extension in a so sl dylib la dll; do
8784 if test -r "$ac_dir/libX11.$ac_extension"; then
8785 ac_x_libraries=$ac_dir
8786 break 2
8788 done
8789 done
8791 rm -f core conftest.err conftest.$ac_objext \
8792 conftest$ac_exeext conftest.$ac_ext
8793 fi # $ac_x_libraries = no
8795 case $ac_x_includes,$ac_x_libraries in #(
8796 no,* | *,no | *\'*)
8797 # Didn't find X, or a directory has "'" in its name.
8798 ac_cv_have_x="have_x=no";; #(
8800 # Record where we found X for the cache.
8801 ac_cv_have_x="have_x=yes\
8802 ac_x_includes='$ac_x_includes'\
8803 ac_x_libraries='$ac_x_libraries'"
8804 esac
8806 ;; #(
8807 *) have_x=yes;;
8808 esac
8809 eval "$ac_cv_have_x"
8810 fi # $with_x != no
8812 if test "$have_x" != yes; then
8813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8814 $as_echo "$have_x" >&6; }
8815 no_x=yes
8816 else
8817 # If each of the values was on the command line, it overrides each guess.
8818 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
8819 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
8820 # Update the cache value to reflect the command line values.
8821 ac_cv_have_x="have_x=yes\
8822 ac_x_includes='$x_includes'\
8823 ac_x_libraries='$x_libraries'"
8824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8825 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8828 if test "$no_x" = yes; then
8829 # Not all programs may use this symbol, but it does not hurt to define it.
8831 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8833 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
8834 else
8835 if test -n "$x_includes"; then
8836 X_CFLAGS="$X_CFLAGS -I$x_includes"
8839 # It would also be nice to do this for all -L options, not just this one.
8840 if test -n "$x_libraries"; then
8841 X_LIBS="$X_LIBS -L$x_libraries"
8842 # For Solaris; some versions of Sun CC require a space after -R and
8843 # others require no space. Words are not sufficient . . . .
8844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8845 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8846 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
8847 ac_xsave_c_werror_flag=$ac_c_werror_flag
8848 ac_c_werror_flag=yes
8849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8850 /* end confdefs.h. */
8853 main ()
8857 return 0;
8859 _ACEOF
8860 if ac_fn_c_try_link "$LINENO"; then :
8861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8862 $as_echo "no" >&6; }
8863 X_LIBS="$X_LIBS -R$x_libraries"
8864 else
8865 LIBS="$ac_xsave_LIBS -R $x_libraries"
8866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8867 /* end confdefs.h. */
8870 main ()
8874 return 0;
8876 _ACEOF
8877 if ac_fn_c_try_link "$LINENO"; then :
8878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8879 $as_echo "yes" >&6; }
8880 X_LIBS="$X_LIBS -R $x_libraries"
8881 else
8882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8883 $as_echo "neither works" >&6; }
8885 rm -f core conftest.err conftest.$ac_objext \
8886 conftest$ac_exeext conftest.$ac_ext
8888 rm -f core conftest.err conftest.$ac_objext \
8889 conftest$ac_exeext conftest.$ac_ext
8890 ac_c_werror_flag=$ac_xsave_c_werror_flag
8891 LIBS=$ac_xsave_LIBS
8894 # Check for system-dependent libraries X programs must link with.
8895 # Do this before checking for the system-independent R6 libraries
8896 # (-lICE), since we may need -lsocket or whatever for X linking.
8898 if test "$ISC" = yes; then
8899 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
8900 else
8901 # Martyn Johnson says this is needed for Ultrix, if the X
8902 # libraries were built with DECnet support. And Karl Berry says
8903 # the Alpha needs dnet_stub (dnet does not exist).
8904 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
8905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8906 /* end confdefs.h. */
8908 /* Override any GCC internal prototype to avoid an error.
8909 Use char because int might match the return type of a GCC
8910 builtin and then its argument prototype would still apply. */
8911 #ifdef __cplusplus
8912 extern "C"
8913 #endif
8914 char XOpenDisplay ();
8916 main ()
8918 return XOpenDisplay ();
8920 return 0;
8922 _ACEOF
8923 if ac_fn_c_try_link "$LINENO"; then :
8925 else
8926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8927 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8928 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
8929 $as_echo_n "(cached) " >&6
8930 else
8931 ac_check_lib_save_LIBS=$LIBS
8932 LIBS="-ldnet $LIBS"
8933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8934 /* end confdefs.h. */
8936 /* Override any GCC internal prototype to avoid an error.
8937 Use char because int might match the return type of a GCC
8938 builtin and then its argument prototype would still apply. */
8939 #ifdef __cplusplus
8940 extern "C"
8941 #endif
8942 char dnet_ntoa ();
8944 main ()
8946 return dnet_ntoa ();
8948 return 0;
8950 _ACEOF
8951 if ac_fn_c_try_link "$LINENO"; then :
8952 ac_cv_lib_dnet_dnet_ntoa=yes
8953 else
8954 ac_cv_lib_dnet_dnet_ntoa=no
8956 rm -f core conftest.err conftest.$ac_objext \
8957 conftest$ac_exeext conftest.$ac_ext
8958 LIBS=$ac_check_lib_save_LIBS
8960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8961 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8962 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
8963 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
8966 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
8967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8968 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8969 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
8970 $as_echo_n "(cached) " >&6
8971 else
8972 ac_check_lib_save_LIBS=$LIBS
8973 LIBS="-ldnet_stub $LIBS"
8974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8975 /* end confdefs.h. */
8977 /* Override any GCC internal prototype to avoid an error.
8978 Use char because int might match the return type of a GCC
8979 builtin and then its argument prototype would still apply. */
8980 #ifdef __cplusplus
8981 extern "C"
8982 #endif
8983 char dnet_ntoa ();
8985 main ()
8987 return dnet_ntoa ();
8989 return 0;
8991 _ACEOF
8992 if ac_fn_c_try_link "$LINENO"; then :
8993 ac_cv_lib_dnet_stub_dnet_ntoa=yes
8994 else
8995 ac_cv_lib_dnet_stub_dnet_ntoa=no
8997 rm -f core conftest.err conftest.$ac_objext \
8998 conftest$ac_exeext conftest.$ac_ext
8999 LIBS=$ac_check_lib_save_LIBS
9001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9002 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9003 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9004 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9009 rm -f core conftest.err conftest.$ac_objext \
9010 conftest$ac_exeext conftest.$ac_ext
9011 LIBS="$ac_xsave_LIBS"
9013 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9014 # to get the SysV transport functions.
9015 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9016 # needs -lnsl.
9017 # The nsl library prevents programs from opening the X display
9018 # on Irix 5.2, according to T.E. Dickey.
9019 # The functions gethostbyname, getservbyname, and inet_addr are
9020 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9021 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9022 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9026 if test $ac_cv_func_gethostbyname = no; then
9027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9028 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9029 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9030 $as_echo_n "(cached) " >&6
9031 else
9032 ac_check_lib_save_LIBS=$LIBS
9033 LIBS="-lnsl $LIBS"
9034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9035 /* end confdefs.h. */
9037 /* Override any GCC internal prototype to avoid an error.
9038 Use char because int might match the return type of a GCC
9039 builtin and then its argument prototype would still apply. */
9040 #ifdef __cplusplus
9041 extern "C"
9042 #endif
9043 char gethostbyname ();
9045 main ()
9047 return gethostbyname ();
9049 return 0;
9051 _ACEOF
9052 if ac_fn_c_try_link "$LINENO"; then :
9053 ac_cv_lib_nsl_gethostbyname=yes
9054 else
9055 ac_cv_lib_nsl_gethostbyname=no
9057 rm -f core conftest.err conftest.$ac_objext \
9058 conftest$ac_exeext conftest.$ac_ext
9059 LIBS=$ac_check_lib_save_LIBS
9061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9062 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9063 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9064 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9067 if test $ac_cv_lib_nsl_gethostbyname = no; then
9068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9069 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9070 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9071 $as_echo_n "(cached) " >&6
9072 else
9073 ac_check_lib_save_LIBS=$LIBS
9074 LIBS="-lbsd $LIBS"
9075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9076 /* end confdefs.h. */
9078 /* Override any GCC internal prototype to avoid an error.
9079 Use char because int might match the return type of a GCC
9080 builtin and then its argument prototype would still apply. */
9081 #ifdef __cplusplus
9082 extern "C"
9083 #endif
9084 char gethostbyname ();
9086 main ()
9088 return gethostbyname ();
9090 return 0;
9092 _ACEOF
9093 if ac_fn_c_try_link "$LINENO"; then :
9094 ac_cv_lib_bsd_gethostbyname=yes
9095 else
9096 ac_cv_lib_bsd_gethostbyname=no
9098 rm -f core conftest.err conftest.$ac_objext \
9099 conftest$ac_exeext conftest.$ac_ext
9100 LIBS=$ac_check_lib_save_LIBS
9102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9103 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9104 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9105 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9111 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9112 # socket/setsockopt and other routines are undefined under SCO ODT
9113 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9114 # on later versions), says Simon Leinen: it contains gethostby*
9115 # variants that don't use the name server (or something). -lsocket
9116 # must be given before -lnsl if both are needed. We assume that
9117 # if connect needs -lnsl, so does gethostbyname.
9118 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9119 if test "x$ac_cv_func_connect" = xyes; then :
9123 if test $ac_cv_func_connect = no; then
9124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9125 $as_echo_n "checking for connect in -lsocket... " >&6; }
9126 if ${ac_cv_lib_socket_connect+:} false; then :
9127 $as_echo_n "(cached) " >&6
9128 else
9129 ac_check_lib_save_LIBS=$LIBS
9130 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9132 /* end confdefs.h. */
9134 /* Override any GCC internal prototype to avoid an error.
9135 Use char because int might match the return type of a GCC
9136 builtin and then its argument prototype would still apply. */
9137 #ifdef __cplusplus
9138 extern "C"
9139 #endif
9140 char connect ();
9142 main ()
9144 return connect ();
9146 return 0;
9148 _ACEOF
9149 if ac_fn_c_try_link "$LINENO"; then :
9150 ac_cv_lib_socket_connect=yes
9151 else
9152 ac_cv_lib_socket_connect=no
9154 rm -f core conftest.err conftest.$ac_objext \
9155 conftest$ac_exeext conftest.$ac_ext
9156 LIBS=$ac_check_lib_save_LIBS
9158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9159 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9160 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9161 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9166 # Guillermo Gomez says -lposix is necessary on A/UX.
9167 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9168 if test "x$ac_cv_func_remove" = xyes; then :
9172 if test $ac_cv_func_remove = no; then
9173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9174 $as_echo_n "checking for remove in -lposix... " >&6; }
9175 if ${ac_cv_lib_posix_remove+:} false; then :
9176 $as_echo_n "(cached) " >&6
9177 else
9178 ac_check_lib_save_LIBS=$LIBS
9179 LIBS="-lposix $LIBS"
9180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9181 /* end confdefs.h. */
9183 /* Override any GCC internal prototype to avoid an error.
9184 Use char because int might match the return type of a GCC
9185 builtin and then its argument prototype would still apply. */
9186 #ifdef __cplusplus
9187 extern "C"
9188 #endif
9189 char remove ();
9191 main ()
9193 return remove ();
9195 return 0;
9197 _ACEOF
9198 if ac_fn_c_try_link "$LINENO"; then :
9199 ac_cv_lib_posix_remove=yes
9200 else
9201 ac_cv_lib_posix_remove=no
9203 rm -f core conftest.err conftest.$ac_objext \
9204 conftest$ac_exeext conftest.$ac_ext
9205 LIBS=$ac_check_lib_save_LIBS
9207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9208 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9209 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9210 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9215 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9216 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9217 if test "x$ac_cv_func_shmat" = xyes; then :
9221 if test $ac_cv_func_shmat = no; then
9222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9223 $as_echo_n "checking for shmat in -lipc... " >&6; }
9224 if ${ac_cv_lib_ipc_shmat+:} false; then :
9225 $as_echo_n "(cached) " >&6
9226 else
9227 ac_check_lib_save_LIBS=$LIBS
9228 LIBS="-lipc $LIBS"
9229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9230 /* end confdefs.h. */
9232 /* Override any GCC internal prototype to avoid an error.
9233 Use char because int might match the return type of a GCC
9234 builtin and then its argument prototype would still apply. */
9235 #ifdef __cplusplus
9236 extern "C"
9237 #endif
9238 char shmat ();
9240 main ()
9242 return shmat ();
9244 return 0;
9246 _ACEOF
9247 if ac_fn_c_try_link "$LINENO"; then :
9248 ac_cv_lib_ipc_shmat=yes
9249 else
9250 ac_cv_lib_ipc_shmat=no
9252 rm -f core conftest.err conftest.$ac_objext \
9253 conftest$ac_exeext conftest.$ac_ext
9254 LIBS=$ac_check_lib_save_LIBS
9256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9257 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9258 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9259 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9265 # Check for libraries that X11R6 Xt/Xaw programs need.
9266 ac_save_LDFLAGS=$LDFLAGS
9267 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9268 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9269 # check for ICE first), but we must link in the order -lSM -lICE or
9270 # we get undefined symbols. So assume we have SM if we have ICE.
9271 # These have to be linked with before -lX11, unlike the other
9272 # libraries we check for below, so use a different variable.
9273 # John Interrante, Karl Berry
9274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9275 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9276 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9277 $as_echo_n "(cached) " >&6
9278 else
9279 ac_check_lib_save_LIBS=$LIBS
9280 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9282 /* end confdefs.h. */
9284 /* Override any GCC internal prototype to avoid an error.
9285 Use char because int might match the return type of a GCC
9286 builtin and then its argument prototype would still apply. */
9287 #ifdef __cplusplus
9288 extern "C"
9289 #endif
9290 char IceConnectionNumber ();
9292 main ()
9294 return IceConnectionNumber ();
9296 return 0;
9298 _ACEOF
9299 if ac_fn_c_try_link "$LINENO"; then :
9300 ac_cv_lib_ICE_IceConnectionNumber=yes
9301 else
9302 ac_cv_lib_ICE_IceConnectionNumber=no
9304 rm -f core conftest.err conftest.$ac_objext \
9305 conftest$ac_exeext conftest.$ac_ext
9306 LIBS=$ac_check_lib_save_LIBS
9308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9309 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9310 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9311 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9314 LDFLAGS=$ac_save_LDFLAGS
9319 if test "$have_x" = "yes"
9320 then
9321 ac_save_CPPFLAGS="$CPPFLAGS"
9322 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9325 $as_echo_n "checking for -lX11... " >&6; }
9326 if ${ac_cv_lib_soname_X11+:} false; then :
9327 $as_echo_n "(cached) " >&6
9328 else
9329 ac_check_soname_save_LIBS=$LIBS
9330 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9332 /* end confdefs.h. */
9334 /* Override any GCC internal prototype to avoid an error.
9335 Use char because int might match the return type of a GCC
9336 builtin and then its argument prototype would still apply. */
9337 #ifdef __cplusplus
9338 extern "C"
9339 #endif
9340 char XCreateWindow ();
9342 main ()
9344 return XCreateWindow ();
9346 return 0;
9348 _ACEOF
9349 if ac_fn_c_try_link "$LINENO"; then :
9350 case "$LIBEXT" in
9351 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9352 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'` ;;
9353 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9354 if ${ac_cv_lib_soname_X11:+false} :; then :
9355 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9356 fi ;;
9357 esac
9359 rm -f core conftest.err conftest.$ac_objext \
9360 conftest$ac_exeext conftest.$ac_ext
9361 LIBS=$ac_check_soname_save_LIBS
9363 if ${ac_cv_lib_soname_X11:+false} :; then :
9364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9365 $as_echo "not found" >&6; }
9367 else
9368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9369 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9371 cat >>confdefs.h <<_ACEOF
9372 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9373 _ACEOF
9377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9378 $as_echo_n "checking for -lXext... " >&6; }
9379 if ${ac_cv_lib_soname_Xext+:} false; then :
9380 $as_echo_n "(cached) " >&6
9381 else
9382 ac_check_soname_save_LIBS=$LIBS
9383 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9385 /* end confdefs.h. */
9387 /* Override any GCC internal prototype to avoid an error.
9388 Use char because int might match the return type of a GCC
9389 builtin and then its argument prototype would still apply. */
9390 #ifdef __cplusplus
9391 extern "C"
9392 #endif
9393 char XextCreateExtension ();
9395 main ()
9397 return XextCreateExtension ();
9399 return 0;
9401 _ACEOF
9402 if ac_fn_c_try_link "$LINENO"; then :
9403 case "$LIBEXT" in
9404 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9405 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'` ;;
9406 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9407 if ${ac_cv_lib_soname_Xext:+false} :; then :
9408 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9409 fi ;;
9410 esac
9412 rm -f core conftest.err conftest.$ac_objext \
9413 conftest$ac_exeext conftest.$ac_ext
9414 LIBS=$ac_check_soname_save_LIBS
9416 if ${ac_cv_lib_soname_Xext:+false} :; then :
9417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9418 $as_echo "not found" >&6; }
9420 else
9421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9422 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9424 cat >>confdefs.h <<_ACEOF
9425 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9426 _ACEOF
9428 X_LIBS="$X_LIBS -lXext"
9430 X_LIBS="$X_LIBS -lX11"
9432 for ac_header in X11/Xlib.h \
9433 X11/XKBlib.h \
9434 X11/Xutil.h \
9435 X11/Xcursor/Xcursor.h \
9436 X11/extensions/shape.h \
9437 X11/extensions/XInput.h \
9438 X11/extensions/XInput2.h \
9439 X11/extensions/XShm.h \
9440 X11/extensions/Xcomposite.h \
9441 X11/extensions/Xinerama.h \
9442 X11/extensions/Xrandr.h \
9443 X11/extensions/Xrender.h \
9444 X11/extensions/xf86vmode.h \
9445 X11/extensions/xf86vmproto.h
9446 do :
9447 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9448 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9449 # include <X11/Xlib.h>
9450 #endif
9451 #ifdef HAVE_X11_XUTIL_H
9452 # include <X11/Xutil.h>
9453 #endif
9455 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9456 cat >>confdefs.h <<_ACEOF
9457 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9458 _ACEOF
9462 done
9465 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9466 then
9467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9468 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9469 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9470 $as_echo_n "(cached) " >&6
9471 else
9472 ac_check_lib_save_LIBS=$LIBS
9473 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9475 /* end confdefs.h. */
9477 /* Override any GCC internal prototype to avoid an error.
9478 Use char because int might match the return type of a GCC
9479 builtin and then its argument prototype would still apply. */
9480 #ifdef __cplusplus
9481 extern "C"
9482 #endif
9483 char XkbQueryExtension ();
9485 main ()
9487 return XkbQueryExtension ();
9489 return 0;
9491 _ACEOF
9492 if ac_fn_c_try_link "$LINENO"; then :
9493 ac_cv_lib_X11_XkbQueryExtension=yes
9494 else
9495 ac_cv_lib_X11_XkbQueryExtension=no
9497 rm -f core conftest.err conftest.$ac_objext \
9498 conftest$ac_exeext conftest.$ac_ext
9499 LIBS=$ac_check_lib_save_LIBS
9501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9502 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9503 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9505 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9511 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9512 then
9513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9514 $as_echo_n "checking for -lXcursor... " >&6; }
9515 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9516 $as_echo_n "(cached) " >&6
9517 else
9518 ac_check_soname_save_LIBS=$LIBS
9519 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9521 /* end confdefs.h. */
9523 /* Override any GCC internal prototype to avoid an error.
9524 Use char because int might match the return type of a GCC
9525 builtin and then its argument prototype would still apply. */
9526 #ifdef __cplusplus
9527 extern "C"
9528 #endif
9529 char XcursorImageLoadCursor ();
9531 main ()
9533 return XcursorImageLoadCursor ();
9535 return 0;
9537 _ACEOF
9538 if ac_fn_c_try_link "$LINENO"; then :
9539 case "$LIBEXT" in
9540 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9541 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'` ;;
9542 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9543 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9544 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9545 fi ;;
9546 esac
9548 rm -f core conftest.err conftest.$ac_objext \
9549 conftest$ac_exeext conftest.$ac_ext
9550 LIBS=$ac_check_soname_save_LIBS
9552 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9554 $as_echo "not found" >&6; }
9556 else
9557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9558 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9560 cat >>confdefs.h <<_ACEOF
9561 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9562 _ACEOF
9567 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9568 case "x$with_xcursor" in
9569 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9570 xno) ;;
9571 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9572 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9573 esac
9576 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9577 then
9578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9579 $as_echo_n "checking for -lXi... " >&6; }
9580 if ${ac_cv_lib_soname_Xi+:} false; then :
9581 $as_echo_n "(cached) " >&6
9582 else
9583 ac_check_soname_save_LIBS=$LIBS
9584 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9586 /* end confdefs.h. */
9588 /* Override any GCC internal prototype to avoid an error.
9589 Use char because int might match the return type of a GCC
9590 builtin and then its argument prototype would still apply. */
9591 #ifdef __cplusplus
9592 extern "C"
9593 #endif
9594 char XOpenDevice ();
9596 main ()
9598 return XOpenDevice ();
9600 return 0;
9602 _ACEOF
9603 if ac_fn_c_try_link "$LINENO"; then :
9604 case "$LIBEXT" in
9605 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9606 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'` ;;
9607 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9608 if ${ac_cv_lib_soname_Xi:+false} :; then :
9609 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9610 fi ;;
9611 esac
9613 rm -f core conftest.err conftest.$ac_objext \
9614 conftest$ac_exeext conftest.$ac_ext
9615 LIBS=$ac_check_soname_save_LIBS
9617 if ${ac_cv_lib_soname_Xi:+false} :; then :
9618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9619 $as_echo "not found" >&6; }
9621 else
9622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9623 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9625 cat >>confdefs.h <<_ACEOF
9626 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9627 _ACEOF
9632 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9633 case "x$with_xinput" in
9634 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9635 xno) ;;
9636 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9637 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9638 esac
9641 if test "x$ac_cv_lib_soname_Xi" != x
9642 then
9643 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9644 case "x$with_xinput2" in
9645 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9646 xno) ;;
9647 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9648 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9649 esac
9653 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9654 then
9655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9656 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9657 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9658 $as_echo_n "(cached) " >&6
9659 else
9660 ac_check_lib_save_LIBS=$LIBS
9661 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9663 /* end confdefs.h. */
9665 /* Override any GCC internal prototype to avoid an error.
9666 Use char because int might match the return type of a GCC
9667 builtin and then its argument prototype would still apply. */
9668 #ifdef __cplusplus
9669 extern "C"
9670 #endif
9671 char XShmQueryExtension ();
9673 main ()
9675 return XShmQueryExtension ();
9677 return 0;
9679 _ACEOF
9680 if ac_fn_c_try_link "$LINENO"; then :
9681 ac_cv_lib_Xext_XShmQueryExtension=yes
9682 else
9683 ac_cv_lib_Xext_XShmQueryExtension=no
9685 rm -f core conftest.err conftest.$ac_objext \
9686 conftest$ac_exeext conftest.$ac_ext
9687 LIBS=$ac_check_lib_save_LIBS
9689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9690 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9691 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9693 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9698 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9699 case "x$with_xshm" in
9700 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9701 xno) ;;
9702 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9703 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9704 esac
9707 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9708 then
9709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9710 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9711 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9712 $as_echo_n "(cached) " >&6
9713 else
9714 ac_check_lib_save_LIBS=$LIBS
9715 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9717 /* end confdefs.h. */
9719 /* Override any GCC internal prototype to avoid an error.
9720 Use char because int might match the return type of a GCC
9721 builtin and then its argument prototype would still apply. */
9722 #ifdef __cplusplus
9723 extern "C"
9724 #endif
9725 char XShapeQueryExtension ();
9727 main ()
9729 return XShapeQueryExtension ();
9731 return 0;
9733 _ACEOF
9734 if ac_fn_c_try_link "$LINENO"; then :
9735 ac_cv_lib_Xext_XShapeQueryExtension=yes
9736 else
9737 ac_cv_lib_Xext_XShapeQueryExtension=no
9739 rm -f core conftest.err conftest.$ac_objext \
9740 conftest$ac_exeext conftest.$ac_ext
9741 LIBS=$ac_check_lib_save_LIBS
9743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9744 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9745 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9747 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9752 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9753 case "x$with_xshape" in
9754 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9755 xno) ;;
9756 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
9757 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9758 esac
9761 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9762 then
9763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9764 $as_echo_n "checking for -lXxf86vm... " >&6; }
9765 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
9766 $as_echo_n "(cached) " >&6
9767 else
9768 ac_check_soname_save_LIBS=$LIBS
9769 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9771 /* end confdefs.h. */
9773 /* Override any GCC internal prototype to avoid an error.
9774 Use char because int might match the return type of a GCC
9775 builtin and then its argument prototype would still apply. */
9776 #ifdef __cplusplus
9777 extern "C"
9778 #endif
9779 char XF86VidModeQueryExtension ();
9781 main ()
9783 return XF86VidModeQueryExtension ();
9785 return 0;
9787 _ACEOF
9788 if ac_fn_c_try_link "$LINENO"; then :
9789 case "$LIBEXT" in
9790 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9791 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'` ;;
9792 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9793 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9794 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9795 fi ;;
9796 esac
9798 rm -f core conftest.err conftest.$ac_objext \
9799 conftest$ac_exeext conftest.$ac_ext
9800 LIBS=$ac_check_soname_save_LIBS
9802 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9804 $as_echo "not found" >&6; }
9806 else
9807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9808 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9810 cat >>confdefs.h <<_ACEOF
9811 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9812 _ACEOF
9817 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9818 case "x$with_xxf86vm" in
9819 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9820 xno) ;;
9821 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9822 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9823 esac
9826 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
9827 then
9828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9829 $as_echo_n "checking for -lXrender... " >&6; }
9830 if ${ac_cv_lib_soname_Xrender+:} false; then :
9831 $as_echo_n "(cached) " >&6
9832 else
9833 ac_check_soname_save_LIBS=$LIBS
9834 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9836 /* end confdefs.h. */
9838 /* Override any GCC internal prototype to avoid an error.
9839 Use char because int might match the return type of a GCC
9840 builtin and then its argument prototype would still apply. */
9841 #ifdef __cplusplus
9842 extern "C"
9843 #endif
9844 char XRenderQueryExtension ();
9846 main ()
9848 return XRenderQueryExtension ();
9850 return 0;
9852 _ACEOF
9853 if ac_fn_c_try_link "$LINENO"; then :
9854 case "$LIBEXT" in
9855 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9856 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'` ;;
9857 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9858 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9859 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9860 fi ;;
9861 esac
9863 rm -f core conftest.err conftest.$ac_objext \
9864 conftest$ac_exeext conftest.$ac_ext
9865 LIBS=$ac_check_soname_save_LIBS
9867 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9869 $as_echo "not found" >&6; }
9871 else
9872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9873 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9875 cat >>confdefs.h <<_ACEOF
9876 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9877 _ACEOF
9879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9880 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9881 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
9882 $as_echo_n "(cached) " >&6
9883 else
9884 ac_check_lib_save_LIBS=$LIBS
9885 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9887 /* end confdefs.h. */
9889 /* Override any GCC internal prototype to avoid an error.
9890 Use char because int might match the return type of a GCC
9891 builtin and then its argument prototype would still apply. */
9892 #ifdef __cplusplus
9893 extern "C"
9894 #endif
9895 char XRenderSetPictureTransform ();
9897 main ()
9899 return XRenderSetPictureTransform ();
9901 return 0;
9903 _ACEOF
9904 if ac_fn_c_try_link "$LINENO"; then :
9905 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9906 else
9907 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9909 rm -f core conftest.err conftest.$ac_objext \
9910 conftest$ac_exeext conftest.$ac_ext
9911 LIBS=$ac_check_lib_save_LIBS
9913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9914 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9915 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
9917 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9922 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9923 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
9924 $as_echo_n "(cached) " >&6
9925 else
9926 ac_check_lib_save_LIBS=$LIBS
9927 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9929 /* end confdefs.h. */
9931 /* Override any GCC internal prototype to avoid an error.
9932 Use char because int might match the return type of a GCC
9933 builtin and then its argument prototype would still apply. */
9934 #ifdef __cplusplus
9935 extern "C"
9936 #endif
9937 char XRenderCreateLinearGradient ();
9939 main ()
9941 return XRenderCreateLinearGradient ();
9943 return 0;
9945 _ACEOF
9946 if ac_fn_c_try_link "$LINENO"; then :
9947 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
9948 else
9949 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
9951 rm -f core conftest.err conftest.$ac_objext \
9952 conftest$ac_exeext conftest.$ac_ext
9953 LIBS=$ac_check_lib_save_LIBS
9955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9956 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9957 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
9959 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9966 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9967 case "x$with_xrender" in
9968 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9969 xno) ;;
9970 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
9971 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9972 esac
9975 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9976 then
9977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9978 /* end confdefs.h. */
9979 #include <X11/Xlib.h>
9980 #include <X11/extensions/Xrandr.h>
9982 main ()
9984 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9986 return 0;
9988 _ACEOF
9989 if ac_fn_c_try_compile "$LINENO"; then :
9990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9991 $as_echo_n "checking for -lXrandr... " >&6; }
9992 if ${ac_cv_lib_soname_Xrandr+:} false; then :
9993 $as_echo_n "(cached) " >&6
9994 else
9995 ac_check_soname_save_LIBS=$LIBS
9996 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
9997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9998 /* end confdefs.h. */
10000 /* Override any GCC internal prototype to avoid an error.
10001 Use char because int might match the return type of a GCC
10002 builtin and then its argument prototype would still apply. */
10003 #ifdef __cplusplus
10004 extern "C"
10005 #endif
10006 char XRRQueryExtension ();
10008 main ()
10010 return XRRQueryExtension ();
10012 return 0;
10014 _ACEOF
10015 if ac_fn_c_try_link "$LINENO"; then :
10016 case "$LIBEXT" in
10017 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10018 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'` ;;
10019 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10020 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10021 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10022 fi ;;
10023 esac
10025 rm -f core conftest.err conftest.$ac_objext \
10026 conftest$ac_exeext conftest.$ac_ext
10027 LIBS=$ac_check_soname_save_LIBS
10029 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10031 $as_echo "not found" >&6; }
10033 else
10034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10035 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10037 cat >>confdefs.h <<_ACEOF
10038 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10039 _ACEOF
10041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10042 /* end confdefs.h. */
10043 #include <X11/Xlib.h>
10044 #include <X11/extensions/Xrandr.h>
10046 main ()
10048 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10050 return 0;
10052 _ACEOF
10053 if ac_fn_c_try_compile "$LINENO"; then :
10055 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10063 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10064 case "x$with_xrandr" in
10065 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10066 xno) ;;
10067 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10068 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10069 esac
10072 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10073 then
10074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10075 /* end confdefs.h. */
10076 #include <X11/Xlib.h>
10077 #include <X11/extensions/Xinerama.h>
10079 main ()
10081 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10083 return 0;
10085 _ACEOF
10086 if ac_fn_c_try_compile "$LINENO"; then :
10087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10088 $as_echo_n "checking for -lXinerama... " >&6; }
10089 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10090 $as_echo_n "(cached) " >&6
10091 else
10092 ac_check_soname_save_LIBS=$LIBS
10093 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10095 /* end confdefs.h. */
10097 /* Override any GCC internal prototype to avoid an error.
10098 Use char because int might match the return type of a GCC
10099 builtin and then its argument prototype would still apply. */
10100 #ifdef __cplusplus
10101 extern "C"
10102 #endif
10103 char XineramaQueryScreens ();
10105 main ()
10107 return XineramaQueryScreens ();
10109 return 0;
10111 _ACEOF
10112 if ac_fn_c_try_link "$LINENO"; then :
10113 case "$LIBEXT" in
10114 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10115 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'` ;;
10116 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10117 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10118 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10119 fi ;;
10120 esac
10122 rm -f core conftest.err conftest.$ac_objext \
10123 conftest$ac_exeext conftest.$ac_ext
10124 LIBS=$ac_check_soname_save_LIBS
10126 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10128 $as_echo "not found" >&6; }
10130 else
10131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10132 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10134 cat >>confdefs.h <<_ACEOF
10135 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10136 _ACEOF
10141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10143 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10144 case "x$with_xinerama" in
10145 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10146 xno) ;;
10147 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10148 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10149 esac
10152 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10153 then
10154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10155 $as_echo_n "checking for -lXcomposite... " >&6; }
10156 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10157 $as_echo_n "(cached) " >&6
10158 else
10159 ac_check_soname_save_LIBS=$LIBS
10160 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10162 /* end confdefs.h. */
10164 /* Override any GCC internal prototype to avoid an error.
10165 Use char because int might match the return type of a GCC
10166 builtin and then its argument prototype would still apply. */
10167 #ifdef __cplusplus
10168 extern "C"
10169 #endif
10170 char XCompositeRedirectWindow ();
10172 main ()
10174 return XCompositeRedirectWindow ();
10176 return 0;
10178 _ACEOF
10179 if ac_fn_c_try_link "$LINENO"; then :
10180 case "$LIBEXT" in
10181 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10182 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'` ;;
10183 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10184 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10185 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10186 fi ;;
10187 esac
10189 rm -f core conftest.err conftest.$ac_objext \
10190 conftest$ac_exeext conftest.$ac_ext
10191 LIBS=$ac_check_soname_save_LIBS
10193 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10195 $as_echo "not found" >&6; }
10197 else
10198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10199 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10201 cat >>confdefs.h <<_ACEOF
10202 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10203 _ACEOF
10208 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10209 case "x$with_xcomposite" in
10210 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10211 xno) ;;
10212 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10213 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10214 esac
10217 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10218 #include <X11/Xlib.h>
10219 #endif
10221 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10223 cat >>confdefs.h <<_ACEOF
10224 #define HAVE_XICCALLBACK_CALLBACK 1
10225 _ACEOF
10229 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10230 #include <X11/Xlib.h>
10231 #endif
10233 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10235 cat >>confdefs.h <<_ACEOF
10236 #define HAVE_XEVENT_XCOOKIE 1
10237 _ACEOF
10244 opengl_msg=""
10245 if test "x$with_opengl" != "xno"
10246 then
10247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10248 $as_echo_n "checking for -lGL... " >&6; }
10249 if ${ac_cv_lib_soname_GL+:} false; then :
10250 $as_echo_n "(cached) " >&6
10251 else
10252 ac_check_soname_save_LIBS=$LIBS
10253 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10255 /* end confdefs.h. */
10257 /* Override any GCC internal prototype to avoid an error.
10258 Use char because int might match the return type of a GCC
10259 builtin and then its argument prototype would still apply. */
10260 #ifdef __cplusplus
10261 extern "C"
10262 #endif
10263 char glXCreateContext ();
10265 main ()
10267 return glXCreateContext ();
10269 return 0;
10271 _ACEOF
10272 if ac_fn_c_try_link "$LINENO"; then :
10273 case "$LIBEXT" in
10274 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10275 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'` ;;
10276 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10277 if ${ac_cv_lib_soname_GL:+false} :; then :
10278 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10279 fi ;;
10280 esac
10282 rm -f core conftest.err conftest.$ac_objext \
10283 conftest$ac_exeext conftest.$ac_ext
10284 LIBS=$ac_check_soname_save_LIBS
10286 if ${ac_cv_lib_soname_GL:+false} :; then :
10287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10288 $as_echo "not found" >&6; }
10289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10290 $as_echo_n "checking for -lGL... " >&6; }
10291 if ${ac_cv_lib_soname_GL+:} false; then :
10292 $as_echo_n "(cached) " >&6
10293 else
10294 ac_check_soname_save_LIBS=$LIBS
10295 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"
10296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10297 /* end confdefs.h. */
10299 /* Override any GCC internal prototype to avoid an error.
10300 Use char because int might match the return type of a GCC
10301 builtin and then its argument prototype would still apply. */
10302 #ifdef __cplusplus
10303 extern "C"
10304 #endif
10305 char glXCreateContext ();
10307 main ()
10309 return glXCreateContext ();
10311 return 0;
10313 _ACEOF
10314 if ac_fn_c_try_link "$LINENO"; then :
10315 case "$LIBEXT" in
10316 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10317 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'` ;;
10318 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10319 if ${ac_cv_lib_soname_GL:+false} :; then :
10320 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10321 fi ;;
10322 esac
10324 rm -f core conftest.err conftest.$ac_objext \
10325 conftest$ac_exeext conftest.$ac_ext
10326 LIBS=$ac_check_soname_save_LIBS
10328 if ${ac_cv_lib_soname_GL:+false} :; then :
10329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10330 $as_echo "not found" >&6; }
10331 if test -f /usr/X11R6/lib/libGL.a
10332 then
10333 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10334 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10335 else
10336 opengl_msg="No OpenGL library found on this system."
10338 else
10339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10340 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10342 cat >>confdefs.h <<_ACEOF
10343 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10344 _ACEOF
10346 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"
10348 else
10349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10350 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10352 cat >>confdefs.h <<_ACEOF
10353 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10354 _ACEOF
10356 OPENGL_LIBS="-lGL"
10358 if test "x$with_glu" != "xno"
10359 then
10360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10361 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10362 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10363 $as_echo_n "(cached) " >&6
10364 else
10365 ac_check_lib_save_LIBS=$LIBS
10366 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10368 /* end confdefs.h. */
10370 /* Override any GCC internal prototype to avoid an error.
10371 Use char because int might match the return type of a GCC
10372 builtin and then its argument prototype would still apply. */
10373 #ifdef __cplusplus
10374 extern "C"
10375 #endif
10376 char gluLookAt ();
10378 main ()
10380 return gluLookAt ();
10382 return 0;
10384 _ACEOF
10385 if ac_fn_c_try_link "$LINENO"; then :
10386 ac_cv_lib_GLU_gluLookAt=yes
10387 else
10388 ac_cv_lib_GLU_gluLookAt=no
10390 rm -f core conftest.err conftest.$ac_objext \
10391 conftest$ac_exeext conftest.$ac_ext
10392 LIBS=$ac_check_lib_save_LIBS
10394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10395 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10396 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10400 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10401 case "x$with_glu" in
10402 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10403 xno) ;;
10404 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10405 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10406 esac
10410 if test "x$with_osmesa" != "xno"
10411 then
10412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10413 $as_echo_n "checking for -lOSMesa... " >&6; }
10414 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10415 $as_echo_n "(cached) " >&6
10416 else
10417 ac_check_soname_save_LIBS=$LIBS
10418 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10420 /* end confdefs.h. */
10422 /* Override any GCC internal prototype to avoid an error.
10423 Use char because int might match the return type of a GCC
10424 builtin and then its argument prototype would still apply. */
10425 #ifdef __cplusplus
10426 extern "C"
10427 #endif
10428 char glAccum ();
10430 main ()
10432 return glAccum ();
10434 return 0;
10436 _ACEOF
10437 if ac_fn_c_try_link "$LINENO"; then :
10438 case "$LIBEXT" in
10439 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10440 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'` ;;
10441 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10442 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10443 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10444 fi ;;
10445 esac
10447 rm -f core conftest.err conftest.$ac_objext \
10448 conftest$ac_exeext conftest.$ac_ext
10449 LIBS=$ac_check_soname_save_LIBS
10451 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10453 $as_echo "not found" >&6; }
10455 else
10456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10457 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10459 cat >>confdefs.h <<_ACEOF
10460 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10461 _ACEOF
10465 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10466 case "x$with_osmesa" in
10467 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10468 xno) ;;
10469 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10470 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10471 esac
10475 if test -n "$opengl_msg"; then :
10476 case "x$with_opengl" in
10477 x) as_fn_append wine_warnings "|$opengl_msg
10478 OpenGL and Direct3D won't be supported." ;;
10479 xno) ;;
10480 *) as_fn_error $? "$opengl_msg
10481 OpenGL and Direct3D won't be supported.
10482 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10483 esac
10486 CPPFLAGS="$ac_save_CPPFLAGS"
10487 else
10488 X_CFLAGS=""
10489 X_LIBS=""
10490 enable_winex11_drv=${enable_winex11_drv:-no}
10492 if test "x$X_LIBS" = "x"; then :
10493 case "x$with_x" in
10494 xno) ;;
10495 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10496 without X support, which probably isn't what you want. You will need
10497 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10498 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10499 esac
10502 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10504 if test "$ac_cv_header_CL_cl_h" = "yes"
10505 then
10506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10507 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10508 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10509 $as_echo_n "(cached) " >&6
10510 else
10511 ac_check_lib_save_LIBS=$LIBS
10512 LIBS="-lOpenCL $LIBS"
10513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10514 /* end confdefs.h. */
10516 /* Override any GCC internal prototype to avoid an error.
10517 Use char because int might match the return type of a GCC
10518 builtin and then its argument prototype would still apply. */
10519 #ifdef __cplusplus
10520 extern "C"
10521 #endif
10522 char clGetPlatformInfo ();
10524 main ()
10526 return clGetPlatformInfo ();
10528 return 0;
10530 _ACEOF
10531 if ac_fn_c_try_link "$LINENO"; then :
10532 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10533 else
10534 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10536 rm -f core conftest.err conftest.$ac_objext \
10537 conftest$ac_exeext conftest.$ac_ext
10538 LIBS=$ac_check_lib_save_LIBS
10540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10541 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10542 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10543 OPENCL_LIBS="-lOpenCL"
10548 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10549 case "x$with_opencl" in
10550 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10551 xno) ;;
10552 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10553 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10554 esac
10556 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10558 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10559 then
10560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10561 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10562 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10563 $as_echo_n "(cached) " >&6
10564 else
10565 ac_check_lib_save_LIBS=$LIBS
10566 LIBS="-lpcap $LIBS"
10567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10568 /* end confdefs.h. */
10570 /* Override any GCC internal prototype to avoid an error.
10571 Use char because int might match the return type of a GCC
10572 builtin and then its argument prototype would still apply. */
10573 #ifdef __cplusplus
10574 extern "C"
10575 #endif
10576 char pcap_create ();
10578 main ()
10580 return pcap_create ();
10582 return 0;
10584 _ACEOF
10585 if ac_fn_c_try_link "$LINENO"; then :
10586 ac_cv_lib_pcap_pcap_create=yes
10587 else
10588 ac_cv_lib_pcap_pcap_create=no
10590 rm -f core conftest.err conftest.$ac_objext \
10591 conftest$ac_exeext conftest.$ac_ext
10592 LIBS=$ac_check_lib_save_LIBS
10594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10595 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10596 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10597 LIBPCAP="-lpcap"
10602 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10603 case "x$with_pcap" in
10604 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10605 xno) ;;
10606 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10607 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10608 esac
10610 test "x$ac_cv_lib_pcap_pcap_create" != xyes && enable_wpcap=${enable_wpcap:-no}
10613 if test "x$with_xml" != "xno"
10614 then
10615 if ${XML2_CFLAGS:+false} :; then :
10616 if ${PKG_CONFIG+:} false; then :
10617 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10620 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10621 if ${XML2_LIBS:+false} :; then :
10622 if ${PKG_CONFIG+:} false; then :
10623 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10626 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10627 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10628 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10629 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10630 ac_save_CPPFLAGS=$CPPFLAGS
10631 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10632 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10633 do :
10634 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10635 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10636 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10637 cat >>confdefs.h <<_ACEOF
10638 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10639 _ACEOF
10643 done
10645 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"
10646 then
10647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10648 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10649 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10650 $as_echo_n "(cached) " >&6
10651 else
10652 ac_check_lib_save_LIBS=$LIBS
10653 LIBS="-lxml2 $XML2_LIBS $LIBS"
10654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10655 /* end confdefs.h. */
10657 /* Override any GCC internal prototype to avoid an error.
10658 Use char because int might match the return type of a GCC
10659 builtin and then its argument prototype would still apply. */
10660 #ifdef __cplusplus
10661 extern "C"
10662 #endif
10663 char xmlParseMemory ();
10665 main ()
10667 return xmlParseMemory ();
10669 return 0;
10671 _ACEOF
10672 if ac_fn_c_try_link "$LINENO"; then :
10673 ac_cv_lib_xml2_xmlParseMemory=yes
10674 else
10675 ac_cv_lib_xml2_xmlParseMemory=no
10677 rm -f core conftest.err conftest.$ac_objext \
10678 conftest$ac_exeext conftest.$ac_ext
10679 LIBS=$ac_check_lib_save_LIBS
10681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10682 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10683 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10685 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10687 else
10688 XML2_LIBS=""
10691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10692 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10693 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10694 $as_echo_n "(cached) " >&6
10695 else
10696 ac_check_lib_save_LIBS=$LIBS
10697 LIBS="-lxml2 $XML2_LIBS $LIBS"
10698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10699 /* end confdefs.h. */
10701 /* Override any GCC internal prototype to avoid an error.
10702 Use char because int might match the return type of a GCC
10703 builtin and then its argument prototype would still apply. */
10704 #ifdef __cplusplus
10705 extern "C"
10706 #endif
10707 char xmlReadMemory ();
10709 main ()
10711 return xmlReadMemory ();
10713 return 0;
10715 _ACEOF
10716 if ac_fn_c_try_link "$LINENO"; then :
10717 ac_cv_lib_xml2_xmlReadMemory=yes
10718 else
10719 ac_cv_lib_xml2_xmlReadMemory=no
10721 rm -f core conftest.err conftest.$ac_objext \
10722 conftest$ac_exeext conftest.$ac_ext
10723 LIBS=$ac_check_lib_save_LIBS
10725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10726 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10727 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
10729 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10734 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10735 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
10736 $as_echo_n "(cached) " >&6
10737 else
10738 ac_check_lib_save_LIBS=$LIBS
10739 LIBS="-lxml2 $XML2_LIBS $LIBS"
10740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10741 /* end confdefs.h. */
10743 /* Override any GCC internal prototype to avoid an error.
10744 Use char because int might match the return type of a GCC
10745 builtin and then its argument prototype would still apply. */
10746 #ifdef __cplusplus
10747 extern "C"
10748 #endif
10749 char xmlNewDocPI ();
10751 main ()
10753 return xmlNewDocPI ();
10755 return 0;
10757 _ACEOF
10758 if ac_fn_c_try_link "$LINENO"; then :
10759 ac_cv_lib_xml2_xmlNewDocPI=yes
10760 else
10761 ac_cv_lib_xml2_xmlNewDocPI=no
10763 rm -f core conftest.err conftest.$ac_objext \
10764 conftest$ac_exeext conftest.$ac_ext
10765 LIBS=$ac_check_lib_save_LIBS
10767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10768 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10769 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
10771 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10776 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10777 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
10778 $as_echo_n "(cached) " >&6
10779 else
10780 ac_check_lib_save_LIBS=$LIBS
10781 LIBS="-lxml2 $XML2_LIBS $LIBS"
10782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10783 /* end confdefs.h. */
10785 /* Override any GCC internal prototype to avoid an error.
10786 Use char because int might match the return type of a GCC
10787 builtin and then its argument prototype would still apply. */
10788 #ifdef __cplusplus
10789 extern "C"
10790 #endif
10791 char xmlSchemaSetParserStructuredErrors ();
10793 main ()
10795 return xmlSchemaSetParserStructuredErrors ();
10797 return 0;
10799 _ACEOF
10800 if ac_fn_c_try_link "$LINENO"; then :
10801 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
10802 else
10803 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
10805 rm -f core conftest.err conftest.$ac_objext \
10806 conftest$ac_exeext conftest.$ac_ext
10807 LIBS=$ac_check_lib_save_LIBS
10809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10810 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10811 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
10813 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10818 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10819 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
10820 $as_echo_n "(cached) " >&6
10821 else
10822 ac_check_lib_save_LIBS=$LIBS
10823 LIBS="-lxml2 $XML2_LIBS $LIBS"
10824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10825 /* end confdefs.h. */
10827 /* Override any GCC internal prototype to avoid an error.
10828 Use char because int might match the return type of a GCC
10829 builtin and then its argument prototype would still apply. */
10830 #ifdef __cplusplus
10831 extern "C"
10832 #endif
10833 char xmlSchemaSetValidStructuredErrors ();
10835 main ()
10837 return xmlSchemaSetValidStructuredErrors ();
10839 return 0;
10841 _ACEOF
10842 if ac_fn_c_try_link "$LINENO"; then :
10843 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
10844 else
10845 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
10847 rm -f core conftest.err conftest.$ac_objext \
10848 conftest$ac_exeext conftest.$ac_ext
10849 LIBS=$ac_check_lib_save_LIBS
10851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10852 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10853 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
10855 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10860 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10861 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
10862 $as_echo_n "(cached) " >&6
10863 else
10864 ac_check_lib_save_LIBS=$LIBS
10865 LIBS="-lxml2 $XML2_LIBS $LIBS"
10866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10867 /* end confdefs.h. */
10869 /* Override any GCC internal prototype to avoid an error.
10870 Use char because int might match the return type of a GCC
10871 builtin and then its argument prototype would still apply. */
10872 #ifdef __cplusplus
10873 extern "C"
10874 #endif
10875 char xmlFirstElementChild ();
10877 main ()
10879 return xmlFirstElementChild ();
10881 return 0;
10883 _ACEOF
10884 if ac_fn_c_try_link "$LINENO"; then :
10885 ac_cv_lib_xml2_xmlFirstElementChild=yes
10886 else
10887 ac_cv_lib_xml2_xmlFirstElementChild=no
10889 rm -f core conftest.err conftest.$ac_objext \
10890 conftest$ac_exeext conftest.$ac_ext
10891 LIBS=$ac_check_lib_save_LIBS
10893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10894 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10895 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
10897 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10901 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10903 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
10905 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10909 else
10910 XML2_CFLAGS=""
10911 XML2_LIBS=""
10913 CPPFLAGS=$ac_save_CPPFLAGS
10914 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10915 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10918 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10919 case "x$with_xml" in
10920 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10921 xno) ;;
10922 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10923 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10924 esac
10927 if test "x$with_xslt" != "xno"
10928 then
10929 if ${XSLT_CFLAGS:+false} :; then :
10930 if ${PKG_CONFIG+:} false; then :
10931 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10934 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10935 if ${XSLT_LIBS:+false} :; then :
10936 if ${PKG_CONFIG+:} false; then :
10937 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10940 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10941 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
10942 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
10943 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
10944 ac_save_CPPFLAGS=$CPPFLAGS
10945 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
10946 for ac_header in libxslt/pattern.h libxslt/transform.h
10947 do :
10948 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10949 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10950 # include <libxslt/pattern.h>
10951 #endif
10953 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10954 cat >>confdefs.h <<_ACEOF
10955 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10956 _ACEOF
10960 done
10962 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10963 then
10964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10965 $as_echo_n "checking for -lxslt... " >&6; }
10966 if ${ac_cv_lib_soname_xslt+:} false; then :
10967 $as_echo_n "(cached) " >&6
10968 else
10969 ac_check_soname_save_LIBS=$LIBS
10970 LIBS="-lxslt $XSLT_LIBS $LIBS"
10971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10972 /* end confdefs.h. */
10974 /* Override any GCC internal prototype to avoid an error.
10975 Use char because int might match the return type of a GCC
10976 builtin and then its argument prototype would still apply. */
10977 #ifdef __cplusplus
10978 extern "C"
10979 #endif
10980 char xsltCompilePattern ();
10982 main ()
10984 return xsltCompilePattern ();
10986 return 0;
10988 _ACEOF
10989 if ac_fn_c_try_link "$LINENO"; then :
10990 case "$LIBEXT" in
10991 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10992 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'` ;;
10993 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10994 if ${ac_cv_lib_soname_xslt:+false} :; then :
10995 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10996 fi ;;
10997 esac
10999 rm -f core conftest.err conftest.$ac_objext \
11000 conftest$ac_exeext conftest.$ac_ext
11001 LIBS=$ac_check_soname_save_LIBS
11003 if ${ac_cv_lib_soname_xslt:+false} :; then :
11004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11005 $as_echo "not found" >&6; }
11007 else
11008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11009 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11011 cat >>confdefs.h <<_ACEOF
11012 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11013 _ACEOF
11017 else
11018 XSLT_CFLAGS=""
11020 CPPFLAGS=$ac_save_CPPFLAGS
11021 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11022 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11025 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11026 case "x$with_xslt" in
11027 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11028 xno) ;;
11029 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11030 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11031 esac
11034 if test "x$with_dbus" != "xno"
11035 then
11036 if ${DBUS_CFLAGS:+false} :; then :
11037 if ${PKG_CONFIG+:} false; then :
11038 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11042 if ${DBUS_LIBS:+false} :; then :
11043 if ${PKG_CONFIG+:} false; then :
11044 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11049 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11050 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11051 ac_save_CPPFLAGS=$CPPFLAGS
11052 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11053 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11054 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11056 $as_echo_n "checking for -ldbus-1... " >&6; }
11057 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11058 $as_echo_n "(cached) " >&6
11059 else
11060 ac_check_soname_save_LIBS=$LIBS
11061 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11063 /* end confdefs.h. */
11065 /* Override any GCC internal prototype to avoid an error.
11066 Use char because int might match the return type of a GCC
11067 builtin and then its argument prototype would still apply. */
11068 #ifdef __cplusplus
11069 extern "C"
11070 #endif
11071 char dbus_connection_close ();
11073 main ()
11075 return dbus_connection_close ();
11077 return 0;
11079 _ACEOF
11080 if ac_fn_c_try_link "$LINENO"; then :
11081 case "$LIBEXT" in
11082 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11083 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'` ;;
11084 *) 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'`
11085 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11086 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11087 fi ;;
11088 esac
11090 rm -f core conftest.err conftest.$ac_objext \
11091 conftest$ac_exeext conftest.$ac_ext
11092 LIBS=$ac_check_soname_save_LIBS
11094 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11096 $as_echo "not found" >&6; }
11097 DBUS_CFLAGS=""
11098 else
11099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11100 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11102 cat >>confdefs.h <<_ACEOF
11103 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11104 _ACEOF
11108 else
11109 DBUS_CFLAGS=""
11113 CPPFLAGS=$ac_save_CPPFLAGS
11114 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11115 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11118 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11119 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11120 case "x$with_dbus" in
11121 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11122 xno) ;;
11123 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11124 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11125 esac
11128 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11129 then
11130 if ${HAL_CFLAGS:+false} :; then :
11131 if ${PKG_CONFIG+:} false; then :
11132 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11136 if ${HAL_LIBS:+false} :; then :
11137 if ${PKG_CONFIG+:} false; then :
11138 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11142 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11143 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11144 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11145 ac_save_CPPFLAGS=$CPPFLAGS
11146 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11147 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11148 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11150 $as_echo_n "checking for -lhal... " >&6; }
11151 if ${ac_cv_lib_soname_hal+:} false; then :
11152 $as_echo_n "(cached) " >&6
11153 else
11154 ac_check_soname_save_LIBS=$LIBS
11155 LIBS="-lhal $HAL_LIBS $LIBS"
11156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11157 /* end confdefs.h. */
11159 /* Override any GCC internal prototype to avoid an error.
11160 Use char because int might match the return type of a GCC
11161 builtin and then its argument prototype would still apply. */
11162 #ifdef __cplusplus
11163 extern "C"
11164 #endif
11165 char libhal_ctx_new ();
11167 main ()
11169 return libhal_ctx_new ();
11171 return 0;
11173 _ACEOF
11174 if ac_fn_c_try_link "$LINENO"; then :
11175 case "$LIBEXT" in
11176 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11177 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'` ;;
11178 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11179 if ${ac_cv_lib_soname_hal:+false} :; then :
11180 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11181 fi ;;
11182 esac
11184 rm -f core conftest.err conftest.$ac_objext \
11185 conftest$ac_exeext conftest.$ac_ext
11186 LIBS=$ac_check_soname_save_LIBS
11188 if ${ac_cv_lib_soname_hal:+false} :; then :
11189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11190 $as_echo "not found" >&6; }
11191 HAL_CFLAGS=""
11192 else
11193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11194 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11196 cat >>confdefs.h <<_ACEOF
11197 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11198 _ACEOF
11202 else
11203 HAL_CFLAGS=""
11207 CPPFLAGS=$ac_save_CPPFLAGS
11208 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11209 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11211 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11212 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11213 case "x$with_hal" in
11214 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11215 xno) ;;
11216 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11217 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11218 esac
11222 if test "x$with_gnutls" != "xno"
11223 then
11224 if ${GNUTLS_CFLAGS:+false} :; then :
11225 if ${PKG_CONFIG+:} false; then :
11226 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11230 if ${GNUTLS_LIBS:+false} :; then :
11231 if ${PKG_CONFIG+:} false; then :
11232 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11237 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11238 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11239 ac_save_CPPFLAGS=$CPPFLAGS
11240 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11241 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11242 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11244 /* end confdefs.h. */
11245 #include <gnutls/gnutls.h>
11246 #include <gnutls/crypto.h>
11248 main ()
11250 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11252 return 0;
11254 _ACEOF
11255 if ac_fn_c_try_compile "$LINENO"; then :
11256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11257 $as_echo_n "checking for -lgnutls... " >&6; }
11258 if ${ac_cv_lib_soname_gnutls+:} false; then :
11259 $as_echo_n "(cached) " >&6
11260 else
11261 ac_check_soname_save_LIBS=$LIBS
11262 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11264 /* end confdefs.h. */
11266 /* Override any GCC internal prototype to avoid an error.
11267 Use char because int might match the return type of a GCC
11268 builtin and then its argument prototype would still apply. */
11269 #ifdef __cplusplus
11270 extern "C"
11271 #endif
11272 char gnutls_global_init ();
11274 main ()
11276 return gnutls_global_init ();
11278 return 0;
11280 _ACEOF
11281 if ac_fn_c_try_link "$LINENO"; then :
11282 case "$LIBEXT" in
11283 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11284 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'` ;;
11285 *) 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'`
11286 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11287 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'`
11288 fi ;;
11289 esac
11291 rm -f core conftest.err conftest.$ac_objext \
11292 conftest$ac_exeext conftest.$ac_ext
11293 LIBS=$ac_check_soname_save_LIBS
11295 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11297 $as_echo "not found" >&6; }
11298 GNUTLS_CFLAGS=""
11299 else
11300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11301 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11303 cat >>confdefs.h <<_ACEOF
11304 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11305 _ACEOF
11310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11311 else
11312 GNUTLS_CFLAGS=""
11316 CPPFLAGS=$ac_save_CPPFLAGS
11317 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11318 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11321 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11322 case "x$with_gnutls" in
11323 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11324 xno) ;;
11325 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11326 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11327 esac
11330 CURSES_LIBS=""
11331 if test "$ac_cv_header_ncurses_h" = "yes"
11332 then
11333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11334 $as_echo_n "checking for -lncurses... " >&6; }
11335 if ${ac_cv_lib_soname_ncurses+:} false; then :
11336 $as_echo_n "(cached) " >&6
11337 else
11338 ac_check_soname_save_LIBS=$LIBS
11339 LIBS="-lncurses $LIBS"
11340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11341 /* end confdefs.h. */
11343 /* Override any GCC internal prototype to avoid an error.
11344 Use char because int might match the return type of a GCC
11345 builtin and then its argument prototype would still apply. */
11346 #ifdef __cplusplus
11347 extern "C"
11348 #endif
11349 char waddch ();
11351 main ()
11353 return waddch ();
11355 return 0;
11357 _ACEOF
11358 if ac_fn_c_try_link "$LINENO"; then :
11359 case "$LIBEXT" in
11360 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11361 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'` ;;
11362 *) 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'`
11363 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11364 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11365 fi ;;
11366 esac
11368 rm -f core conftest.err conftest.$ac_objext \
11369 conftest$ac_exeext conftest.$ac_ext
11370 LIBS=$ac_check_soname_save_LIBS
11372 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11374 $as_echo "not found" >&6; }
11376 else
11377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11378 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11380 cat >>confdefs.h <<_ACEOF
11381 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11382 _ACEOF
11384 CURSES_LIBS="-lncurses"
11386 elif test "$ac_cv_header_curses_h" = "yes"
11387 then
11388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11389 $as_echo_n "checking for -lcurses... " >&6; }
11390 if ${ac_cv_lib_soname_curses+:} false; then :
11391 $as_echo_n "(cached) " >&6
11392 else
11393 ac_check_soname_save_LIBS=$LIBS
11394 LIBS="-lcurses $LIBS"
11395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11396 /* end confdefs.h. */
11398 /* Override any GCC internal prototype to avoid an error.
11399 Use char because int might match the return type of a GCC
11400 builtin and then its argument prototype would still apply. */
11401 #ifdef __cplusplus
11402 extern "C"
11403 #endif
11404 char waddch ();
11406 main ()
11408 return waddch ();
11410 return 0;
11412 _ACEOF
11413 if ac_fn_c_try_link "$LINENO"; then :
11414 case "$LIBEXT" in
11415 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11416 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'` ;;
11417 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11418 if ${ac_cv_lib_soname_curses:+false} :; then :
11419 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11420 fi ;;
11421 esac
11423 rm -f core conftest.err conftest.$ac_objext \
11424 conftest$ac_exeext conftest.$ac_ext
11425 LIBS=$ac_check_soname_save_LIBS
11427 if ${ac_cv_lib_soname_curses:+false} :; then :
11428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11429 $as_echo "not found" >&6; }
11431 else
11432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11433 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11435 cat >>confdefs.h <<_ACEOF
11436 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11437 _ACEOF
11439 CURSES_LIBS="-lcurses"
11442 ac_save_LIBS="$LIBS"
11443 LIBS="$LIBS $CURSES_LIBS"
11444 for ac_func in mousemask
11445 do :
11446 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11447 if test "x$ac_cv_func_mousemask" = xyes; then :
11448 cat >>confdefs.h <<_ACEOF
11449 #define HAVE_MOUSEMASK 1
11450 _ACEOF
11453 done
11455 LIBS="$ac_save_LIBS"
11456 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11457 case "x$with_curses" in
11458 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11459 xno) ;;
11460 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11461 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11462 esac
11465 if test "x$with_sane" != "xno"
11466 then
11467 if ${SANE_CFLAGS:+false} :; then :
11468 if ${PKG_CONFIG+:} false; then :
11469 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11472 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11473 if ${SANE_LIBS:+false} :; then :
11474 if ${PKG_CONFIG+:} false; then :
11475 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11478 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11480 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11481 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11482 ac_save_CPPFLAGS=$CPPFLAGS
11483 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11484 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11485 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11487 $as_echo_n "checking for -lsane... " >&6; }
11488 if ${ac_cv_lib_soname_sane+:} false; then :
11489 $as_echo_n "(cached) " >&6
11490 else
11491 ac_check_soname_save_LIBS=$LIBS
11492 LIBS="-lsane $SANE_LIBS $LIBS"
11493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11494 /* end confdefs.h. */
11496 /* Override any GCC internal prototype to avoid an error.
11497 Use char because int might match the return type of a GCC
11498 builtin and then its argument prototype would still apply. */
11499 #ifdef __cplusplus
11500 extern "C"
11501 #endif
11502 char sane_init ();
11504 main ()
11506 return sane_init ();
11508 return 0;
11510 _ACEOF
11511 if ac_fn_c_try_link "$LINENO"; then :
11512 case "$LIBEXT" in
11513 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11514 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'` ;;
11515 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11516 if ${ac_cv_lib_soname_sane:+false} :; then :
11517 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11518 fi ;;
11519 esac
11521 rm -f core conftest.err conftest.$ac_objext \
11522 conftest$ac_exeext conftest.$ac_ext
11523 LIBS=$ac_check_soname_save_LIBS
11525 if ${ac_cv_lib_soname_sane:+false} :; then :
11526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11527 $as_echo "not found" >&6; }
11528 SANE_CFLAGS=""
11529 else
11530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11531 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11533 cat >>confdefs.h <<_ACEOF
11534 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11535 _ACEOF
11539 else
11540 SANE_CFLAGS=""
11544 CPPFLAGS=$ac_save_CPPFLAGS
11545 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11546 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11549 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11550 case "x$with_sane" in
11551 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11552 xno) ;;
11553 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11554 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11555 esac
11558 if test "x$with_v4l" != "xno"
11559 then
11560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11561 $as_echo_n "checking for -lv4l1... " >&6; }
11562 if ${ac_cv_lib_soname_v4l1+:} false; then :
11563 $as_echo_n "(cached) " >&6
11564 else
11565 ac_check_soname_save_LIBS=$LIBS
11566 LIBS="-lv4l1 $LIBS"
11567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11568 /* end confdefs.h. */
11570 /* Override any GCC internal prototype to avoid an error.
11571 Use char because int might match the return type of a GCC
11572 builtin and then its argument prototype would still apply. */
11573 #ifdef __cplusplus
11574 extern "C"
11575 #endif
11576 char v4l1_open ();
11578 main ()
11580 return v4l1_open ();
11582 return 0;
11584 _ACEOF
11585 if ac_fn_c_try_link "$LINENO"; then :
11586 case "$LIBEXT" in
11587 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11588 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'` ;;
11589 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11590 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11591 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11592 fi ;;
11593 esac
11595 rm -f core conftest.err conftest.$ac_objext \
11596 conftest$ac_exeext conftest.$ac_ext
11597 LIBS=$ac_check_soname_save_LIBS
11599 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11601 $as_echo "not found" >&6; }
11603 else
11604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11605 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11607 cat >>confdefs.h <<_ACEOF
11608 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11609 _ACEOF
11614 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11615 case "x$with_v4l" in
11616 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11617 xno) ;;
11618 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11619 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11620 esac
11623 if test "x$with_gphoto" != "xno"
11624 then
11625 if ${GPHOTO2_CFLAGS:+false} :; then :
11626 if ${PKG_CONFIG+:} false; then :
11627 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11630 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11631 if ${GPHOTO2_LIBS:+false} :; then :
11632 if ${PKG_CONFIG+:} false; then :
11633 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11636 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11637 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11638 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11639 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11640 ac_save_CPPFLAGS=$CPPFLAGS
11641 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11642 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11643 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11645 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11646 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11647 $as_echo_n "(cached) " >&6
11648 else
11649 ac_check_lib_save_LIBS=$LIBS
11650 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11652 /* end confdefs.h. */
11654 /* Override any GCC internal prototype to avoid an error.
11655 Use char because int might match the return type of a GCC
11656 builtin and then its argument prototype would still apply. */
11657 #ifdef __cplusplus
11658 extern "C"
11659 #endif
11660 char gp_camera_new ();
11662 main ()
11664 return gp_camera_new ();
11666 return 0;
11668 _ACEOF
11669 if ac_fn_c_try_link "$LINENO"; then :
11670 ac_cv_lib_gphoto2_gp_camera_new=yes
11671 else
11672 ac_cv_lib_gphoto2_gp_camera_new=no
11674 rm -f core conftest.err conftest.$ac_objext \
11675 conftest$ac_exeext conftest.$ac_ext
11676 LIBS=$ac_check_lib_save_LIBS
11678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11679 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11680 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11682 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11684 else
11685 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11688 else
11689 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11693 CPPFLAGS=$ac_save_CPPFLAGS
11694 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11695 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11697 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11698 if ${PKG_CONFIG+:} false; then :
11699 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11702 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11703 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11704 if ${PKG_CONFIG+:} false; then :
11705 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11708 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11709 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11710 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11711 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11712 ac_save_CPPFLAGS=$CPPFLAGS
11713 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11714 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11715 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11717 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11718 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11719 $as_echo_n "(cached) " >&6
11720 else
11721 ac_check_lib_save_LIBS=$LIBS
11722 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11724 /* end confdefs.h. */
11726 /* Override any GCC internal prototype to avoid an error.
11727 Use char because int might match the return type of a GCC
11728 builtin and then its argument prototype would still apply. */
11729 #ifdef __cplusplus
11730 extern "C"
11731 #endif
11732 char gp_port_info_list_new ();
11734 main ()
11736 return gp_port_info_list_new ();
11738 return 0;
11740 _ACEOF
11741 if ac_fn_c_try_link "$LINENO"; then :
11742 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
11743 else
11744 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
11746 rm -f core conftest.err conftest.$ac_objext \
11747 conftest$ac_exeext conftest.$ac_ext
11748 LIBS=$ac_check_lib_save_LIBS
11750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11751 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11752 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
11754 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11756 else
11757 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11760 else
11761 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11765 CPPFLAGS=$ac_save_CPPFLAGS
11766 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11767 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11770 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11771 case "x$with_gphoto" in
11772 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11773 xno) ;;
11774 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11775 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11776 esac
11778 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11779 case "x$with_gphoto" in
11780 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11781 xno) ;;
11782 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11783 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11784 esac
11788 if test "$ac_cv_header_resolv_h" = "yes"
11789 then
11790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11791 $as_echo_n "checking for resolver library... " >&6; }
11792 if ${ac_cv_have_resolv+:} false; then :
11793 $as_echo_n "(cached) " >&6
11794 else
11795 ac_save_LIBS="$LIBS"
11796 for lib in '' -lresolv
11798 LIBS="$lib $ac_save_LIBS"
11799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11800 /* end confdefs.h. */
11801 #ifdef HAVE_NETINET_IN_H
11802 #include <netinet/in.h>
11803 #endif
11804 #include <resolv.h>
11806 main ()
11808 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11810 return 0;
11812 _ACEOF
11813 if ac_fn_c_try_link "$LINENO"; then :
11814 ac_cv_have_resolv=${lib:-"none required"}
11815 else
11816 ac_cv_have_resolv="not found"
11818 rm -f core conftest.err conftest.$ac_objext \
11819 conftest$ac_exeext conftest.$ac_ext
11820 test "x$ac_cv_have_resolv" = "xnot found" || break
11821 done
11822 LIBS="$ac_save_LIBS"
11824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
11825 $as_echo "$ac_cv_have_resolv" >&6; }
11827 case "$ac_cv_have_resolv" in
11828 "not found") ;;
11829 "none required")
11831 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11834 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11836 RESOLV_LIBS=$ac_cv_have_resolv
11838 esac
11841 if test "x$with_lcms2" != "xno"
11842 then
11843 if ${LCMS2_CFLAGS:+false} :; then :
11844 if ${PKG_CONFIG+:} false; then :
11845 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11849 if ${LCMS2_LIBS:+false} :; then :
11850 if ${PKG_CONFIG+:} false; then :
11851 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11855 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
11856 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11857 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
11858 ac_save_CPPFLAGS=$CPPFLAGS
11859 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
11860 for ac_header in lcms2.h
11861 do :
11862 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11863 if test "x$ac_cv_header_lcms2_h" = xyes; then :
11864 cat >>confdefs.h <<_ACEOF
11865 #define HAVE_LCMS2_H 1
11866 _ACEOF
11870 done
11872 if test "$ac_cv_header_lcms2_h" = "yes"
11873 then
11874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11875 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11876 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
11877 $as_echo_n "(cached) " >&6
11878 else
11879 ac_check_lib_save_LIBS=$LIBS
11880 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
11881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11882 /* end confdefs.h. */
11884 /* Override any GCC internal prototype to avoid an error.
11885 Use char because int might match the return type of a GCC
11886 builtin and then its argument prototype would still apply. */
11887 #ifdef __cplusplus
11888 extern "C"
11889 #endif
11890 char cmsOpenProfileFromFile ();
11892 main ()
11894 return cmsOpenProfileFromFile ();
11896 return 0;
11898 _ACEOF
11899 if ac_fn_c_try_link "$LINENO"; then :
11900 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
11901 else
11902 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
11904 rm -f core conftest.err conftest.$ac_objext \
11905 conftest$ac_exeext conftest.$ac_ext
11906 LIBS=$ac_check_lib_save_LIBS
11908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11909 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11910 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
11912 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11914 else
11915 LCMS2_LIBS=""
11918 else
11919 LCMS2_CFLAGS=""
11920 LCMS2_LIBS=""
11922 CPPFLAGS=$ac_save_CPPFLAGS
11923 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11924 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11927 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11928 case "x$with_cms" in
11929 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11930 xno) ;;
11931 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11932 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11933 esac
11936 if test "x$with_freetype" != "xno"
11937 then
11938 if ${FREETYPE_CFLAGS:+false} :; then :
11939 if ${PKG_CONFIG+:} false; then :
11940 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11943 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11944 if ${FREETYPE_LIBS:+false} :; then :
11945 if ${PKG_CONFIG+:} false; then :
11946 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11949 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11950 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
11951 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
11952 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
11953 ac_save_CPPFLAGS=$CPPFLAGS
11954 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
11955 for ac_header in ft2build.h
11956 do :
11957 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
11958 if test "x$ac_cv_header_ft2build_h" = xyes; then :
11959 cat >>confdefs.h <<_ACEOF
11960 #define HAVE_FT2BUILD_H 1
11961 _ACEOF
11965 done
11967 if test "$ac_cv_header_ft2build_h" = "yes"
11968 then
11969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11970 $as_echo_n "checking for -lfreetype... " >&6; }
11971 if ${ac_cv_lib_soname_freetype+:} false; then :
11972 $as_echo_n "(cached) " >&6
11973 else
11974 ac_check_soname_save_LIBS=$LIBS
11975 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
11976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11977 /* end confdefs.h. */
11979 /* Override any GCC internal prototype to avoid an error.
11980 Use char because int might match the return type of a GCC
11981 builtin and then its argument prototype would still apply. */
11982 #ifdef __cplusplus
11983 extern "C"
11984 #endif
11985 char FT_Init_FreeType ();
11987 main ()
11989 return FT_Init_FreeType ();
11991 return 0;
11993 _ACEOF
11994 if ac_fn_c_try_link "$LINENO"; then :
11995 case "$LIBEXT" in
11996 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11997 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'` ;;
11998 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11999 if ${ac_cv_lib_soname_freetype:+false} :; then :
12000 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12001 fi ;;
12002 esac
12004 rm -f core conftest.err conftest.$ac_objext \
12005 conftest$ac_exeext conftest.$ac_ext
12006 LIBS=$ac_check_soname_save_LIBS
12008 if ${ac_cv_lib_soname_freetype:+false} :; then :
12009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12010 $as_echo "not found" >&6; }
12011 FREETYPE_LIBS=""
12012 else
12013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12014 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12016 cat >>confdefs.h <<_ACEOF
12017 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12018 _ACEOF
12021 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12023 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12024 #include FT_MODULE_H
12026 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12028 cat >>confdefs.h <<_ACEOF
12029 #define HAVE_FT_TRUETYPEENGINETYPE 1
12030 _ACEOF
12036 else
12037 FREETYPE_CFLAGS=""
12038 FREETYPE_LIBS=""
12040 CPPFLAGS=$ac_save_CPPFLAGS
12041 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12042 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12045 if test "x$ac_cv_lib_soname_freetype" = x; then :
12046 case "x$with_freetype" in
12047 xno) ;;
12048 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12049 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12050 esac
12052 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
12054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12055 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12056 if ${ac_cv_c_ppdev+:} false; then :
12057 $as_echo_n "(cached) " >&6
12058 else
12059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12060 /* end confdefs.h. */
12061 #ifdef HAVE_SYS_IOCTL_H
12062 # include <sys/ioctl.h>
12063 #endif
12064 #include <linux/ppdev.h>
12066 main ()
12068 ioctl (1,PPCLAIM,0)
12070 return 0;
12072 _ACEOF
12073 if ac_fn_c_try_compile "$LINENO"; then :
12074 ac_cv_c_ppdev="yes"
12075 else
12076 ac_cv_c_ppdev="no"
12078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12081 $as_echo "$ac_cv_c_ppdev" >&6; }
12082 if test "$ac_cv_c_ppdev" = "yes"
12083 then
12085 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12089 ac_wine_check_funcs_save_LIBS="$LIBS"
12090 LIBS="$LIBS $PTHREAD_LIBS"
12091 for ac_func in \
12092 pthread_attr_get_np \
12093 pthread_getattr_np \
12094 pthread_getthreadid_np \
12095 pthread_get_stackaddr_np \
12096 pthread_get_stacksize_np
12097 do :
12098 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12099 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12100 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12101 cat >>confdefs.h <<_ACEOF
12102 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12103 _ACEOF
12106 done
12108 LIBS="$ac_wine_check_funcs_save_LIBS"
12110 if test "$ac_cv_header_zlib_h" = "yes"
12111 then
12112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12113 $as_echo_n "checking for inflate in -lz... " >&6; }
12114 if ${ac_cv_lib_z_inflate+:} false; then :
12115 $as_echo_n "(cached) " >&6
12116 else
12117 ac_check_lib_save_LIBS=$LIBS
12118 LIBS="-lz $LIBS"
12119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12120 /* end confdefs.h. */
12122 /* Override any GCC internal prototype to avoid an error.
12123 Use char because int might match the return type of a GCC
12124 builtin and then its argument prototype would still apply. */
12125 #ifdef __cplusplus
12126 extern "C"
12127 #endif
12128 char inflate ();
12130 main ()
12132 return inflate ();
12134 return 0;
12136 _ACEOF
12137 if ac_fn_c_try_link "$LINENO"; then :
12138 ac_cv_lib_z_inflate=yes
12139 else
12140 ac_cv_lib_z_inflate=no
12142 rm -f core conftest.err conftest.$ac_objext \
12143 conftest$ac_exeext conftest.$ac_ext
12144 LIBS=$ac_check_lib_save_LIBS
12146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12147 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12148 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12150 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12152 Z_LIBS="-lz"
12157 if test "x$Z_LIBS" = "x"; then :
12158 case "x$with_zlib" in
12159 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12160 xno) ;;
12161 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12162 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12163 esac
12166 if test "x$enable_tools" != xno
12167 then
12168 if test "$ac_cv_header_gettext_po_h" = "yes"
12169 then
12170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12171 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12172 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12173 $as_echo_n "(cached) " >&6
12174 else
12175 ac_check_lib_save_LIBS=$LIBS
12176 LIBS="-lgettextpo $LIBS"
12177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12178 /* end confdefs.h. */
12180 /* Override any GCC internal prototype to avoid an error.
12181 Use char because int might match the return type of a GCC
12182 builtin and then its argument prototype would still apply. */
12183 #ifdef __cplusplus
12184 extern "C"
12185 #endif
12186 char po_message_msgctxt ();
12188 main ()
12190 return po_message_msgctxt ();
12192 return 0;
12194 _ACEOF
12195 if ac_fn_c_try_link "$LINENO"; then :
12196 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12197 else
12198 ac_cv_lib_gettextpo_po_message_msgctxt=no
12200 rm -f core conftest.err conftest.$ac_objext \
12201 conftest$ac_exeext conftest.$ac_ext
12202 LIBS=$ac_check_lib_save_LIBS
12204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12205 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12206 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12208 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12210 GETTEXTPO_LIBS="-lgettextpo"
12215 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12216 case "x$with_gettextpo" in
12217 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12218 xno) ;;
12219 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12220 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12221 esac
12225 if test "x$with_gstreamer" != "xno"
12226 then
12227 if ${GSTREAMER_CFLAGS:+false} :; then :
12228 if ${PKG_CONFIG+:} false; then :
12229 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12233 if ${GSTREAMER_LIBS:+false} :; then :
12234 if ${PKG_CONFIG+:} false; then :
12235 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12240 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12241 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12242 ac_save_CPPFLAGS=$CPPFLAGS
12243 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12244 ac_gst_incl=""
12245 for i in $GSTREAMER_CFLAGS
12247 case "$i" in
12248 -I*) ac_gst_incl="$ac_gst_incl $i";;
12249 esac
12250 done
12251 GSTREAMER_CFLAGS=$ac_gst_incl
12252 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12253 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12254 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
12255 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12256 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
12257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12258 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12260 /* end confdefs.h. */
12261 #include <gst/app/gstappsink.h>
12263 main ()
12265 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12267 return 0;
12269 _ACEOF
12270 if ac_fn_c_try_compile "$LINENO"; then :
12271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12272 $as_echo "yes" >&6; }
12273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12274 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12275 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
12276 $as_echo_n "(cached) " >&6
12277 else
12278 ac_check_lib_save_LIBS=$LIBS
12279 LIBS="-lgstreamer-0.10 $LIBS"
12280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12281 /* end confdefs.h. */
12283 /* Override any GCC internal prototype to avoid an error.
12284 Use char because int might match the return type of a GCC
12285 builtin and then its argument prototype would still apply. */
12286 #ifdef __cplusplus
12287 extern "C"
12288 #endif
12289 char gst_pad_get_caps_reffed ();
12291 main ()
12293 return gst_pad_get_caps_reffed ();
12295 return 0;
12297 _ACEOF
12298 if ac_fn_c_try_link "$LINENO"; then :
12299 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
12300 else
12301 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
12303 rm -f core conftest.err conftest.$ac_objext \
12304 conftest$ac_exeext conftest.$ac_ext
12305 LIBS=$ac_check_lib_save_LIBS
12307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12308 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12309 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
12310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12311 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12312 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
12313 $as_echo_n "(cached) " >&6
12314 else
12315 ac_check_lib_save_LIBS=$LIBS
12316 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12318 /* end confdefs.h. */
12320 /* Override any GCC internal prototype to avoid an error.
12321 Use char because int might match the return type of a GCC
12322 builtin and then its argument prototype would still apply. */
12323 #ifdef __cplusplus
12324 extern "C"
12325 #endif
12326 char gst_app_buffer_new ();
12328 main ()
12330 return gst_app_buffer_new ();
12332 return 0;
12334 _ACEOF
12335 if ac_fn_c_try_link "$LINENO"; then :
12336 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
12337 else
12338 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
12340 rm -f core conftest.err conftest.$ac_objext \
12341 conftest$ac_exeext conftest.$ac_ext
12342 LIBS=$ac_check_lib_save_LIBS
12344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12345 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12346 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
12352 else
12353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12354 $as_echo "no" >&6; }
12356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12360 else
12361 GSTREAMER_CFLAGS=""
12365 CPPFLAGS=$ac_save_CPPFLAGS
12366 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12367 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12370 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
12371 case "x$with_gstreamer" in
12372 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12373 xno) ;;
12374 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12375 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12376 esac
12378 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12380 ALSA_LIBS=""
12382 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12383 then
12384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12385 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12386 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12387 $as_echo_n "(cached) " >&6
12388 else
12389 ac_check_lib_save_LIBS=$LIBS
12390 LIBS="-lasound $LIBS"
12391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12392 /* end confdefs.h. */
12394 /* Override any GCC internal prototype to avoid an error.
12395 Use char because int might match the return type of a GCC
12396 builtin and then its argument prototype would still apply. */
12397 #ifdef __cplusplus
12398 extern "C"
12399 #endif
12400 char snd_pcm_hw_params_get_access_mask ();
12402 main ()
12404 return snd_pcm_hw_params_get_access_mask ();
12406 return 0;
12408 _ACEOF
12409 if ac_fn_c_try_link "$LINENO"; then :
12410 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12411 else
12412 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12414 rm -f core conftest.err conftest.$ac_objext \
12415 conftest$ac_exeext conftest.$ac_ext
12416 LIBS=$ac_check_lib_save_LIBS
12418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12419 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12420 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12422 /* end confdefs.h. */
12423 #ifdef HAVE_ALSA_ASOUNDLIB_H
12424 #include <alsa/asoundlib.h>
12425 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12426 #include <sys/asoundlib.h>
12427 #endif
12429 main ()
12431 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12433 return 0;
12435 _ACEOF
12436 if ac_fn_c_try_compile "$LINENO"; then :
12437 ALSA_LIBS="-lasound"
12439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12444 if test "x$with_oss" != xno
12445 then
12446 ac_save_CPPFLAGS="$CPPFLAGS"
12447 if test -f /etc/oss.conf
12448 then
12449 . /etc/oss.conf
12451 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12452 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12453 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12454 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12455 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12457 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12459 cat >>confdefs.h <<_ACEOF
12460 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12461 _ACEOF
12463 OSS4_CFLAGS="$ac_oss_incl"
12470 CPPFLAGS="$ac_save_CPPFLAGS"
12471 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12472 then
12473 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12477 if test "x$with_capi" != "xno"
12478 then
12479 if ${CAPI20_CFLAGS:+false} :; then :
12480 if ${PKG_CONFIG+:} false; then :
12481 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12485 if ${CAPI20_LIBS:+false} :; then :
12486 if ${PKG_CONFIG+:} false; then :
12487 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12492 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12493 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12494 ac_save_CPPFLAGS=$CPPFLAGS
12495 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12496 for ac_header in capi20.h linux/capi.h
12497 do :
12498 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12499 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12501 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12502 cat >>confdefs.h <<_ACEOF
12503 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12504 _ACEOF
12508 done
12510 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12511 then
12512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12513 $as_echo_n "checking for -lcapi20... " >&6; }
12514 if ${ac_cv_lib_soname_capi20+:} false; then :
12515 $as_echo_n "(cached) " >&6
12516 else
12517 ac_check_soname_save_LIBS=$LIBS
12518 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12520 /* end confdefs.h. */
12522 /* Override any GCC internal prototype to avoid an error.
12523 Use char because int might match the return type of a GCC
12524 builtin and then its argument prototype would still apply. */
12525 #ifdef __cplusplus
12526 extern "C"
12527 #endif
12528 char capi20_register ();
12530 main ()
12532 return capi20_register ();
12534 return 0;
12536 _ACEOF
12537 if ac_fn_c_try_link "$LINENO"; then :
12538 case "$LIBEXT" in
12539 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12540 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'` ;;
12541 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12542 if ${ac_cv_lib_soname_capi20:+false} :; then :
12543 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12544 fi ;;
12545 esac
12547 rm -f core conftest.err conftest.$ac_objext \
12548 conftest$ac_exeext conftest.$ac_ext
12549 LIBS=$ac_check_soname_save_LIBS
12551 if ${ac_cv_lib_soname_capi20:+false} :; then :
12552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12553 $as_echo "not found" >&6; }
12555 else
12556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12557 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12559 cat >>confdefs.h <<_ACEOF
12560 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12561 _ACEOF
12566 CPPFLAGS=$ac_save_CPPFLAGS
12567 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12568 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12571 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12572 case "x$with_capi" in
12573 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12574 xno) ;;
12575 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12576 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12577 esac
12580 CUPS_CFLAGS=""
12582 if test "x$with_cups" != "xno"
12583 then
12584 ac_save_CPPFLAGS="$CPPFLAGS"
12585 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12586 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12587 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12588 for ac_header in cups/cups.h
12589 do :
12590 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12591 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12592 cat >>confdefs.h <<_ACEOF
12593 #define HAVE_CUPS_CUPS_H 1
12594 _ACEOF
12595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12596 $as_echo_n "checking for -lcups... " >&6; }
12597 if ${ac_cv_lib_soname_cups+:} false; then :
12598 $as_echo_n "(cached) " >&6
12599 else
12600 ac_check_soname_save_LIBS=$LIBS
12601 LIBS="-lcups $ac_cups_libs $LIBS"
12602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12603 /* end confdefs.h. */
12605 /* Override any GCC internal prototype to avoid an error.
12606 Use char because int might match the return type of a GCC
12607 builtin and then its argument prototype would still apply. */
12608 #ifdef __cplusplus
12609 extern "C"
12610 #endif
12611 char cupsGetDefault ();
12613 main ()
12615 return cupsGetDefault ();
12617 return 0;
12619 _ACEOF
12620 if ac_fn_c_try_link "$LINENO"; then :
12621 case "$LIBEXT" in
12622 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12623 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'` ;;
12624 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12625 if ${ac_cv_lib_soname_cups:+false} :; then :
12626 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12627 fi ;;
12628 esac
12630 rm -f core conftest.err conftest.$ac_objext \
12631 conftest$ac_exeext conftest.$ac_ext
12632 LIBS=$ac_check_soname_save_LIBS
12634 if ${ac_cv_lib_soname_cups:+false} :; then :
12635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12636 $as_echo "not found" >&6; }
12638 else
12639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12640 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12642 cat >>confdefs.h <<_ACEOF
12643 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12644 _ACEOF
12646 CUPS_CFLAGS="$ac_cups_cflags"
12650 done
12652 CPPFLAGS="$ac_save_CPPFLAGS"
12654 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12655 case "x$with_cups" in
12656 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12657 xno) ;;
12658 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12659 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12660 esac
12663 if test "x$with_fontconfig" != "xno"
12664 then
12665 if ${FONTCONFIG_CFLAGS:+false} :; then :
12666 if ${PKG_CONFIG+:} false; then :
12667 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12670 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12671 if ${FONTCONFIG_LIBS:+false} :; then :
12672 if ${PKG_CONFIG+:} false; then :
12673 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12676 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
12678 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12679 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12680 ac_save_CPPFLAGS=$CPPFLAGS
12681 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
12682 for ac_header in fontconfig/fontconfig.h
12683 do :
12684 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12685 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
12686 cat >>confdefs.h <<_ACEOF
12687 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12688 _ACEOF
12692 done
12694 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12695 then
12696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12697 $as_echo_n "checking for -lfontconfig... " >&6; }
12698 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12699 $as_echo_n "(cached) " >&6
12700 else
12701 ac_check_soname_save_LIBS=$LIBS
12702 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12704 /* end confdefs.h. */
12706 /* Override any GCC internal prototype to avoid an error.
12707 Use char because int might match the return type of a GCC
12708 builtin and then its argument prototype would still apply. */
12709 #ifdef __cplusplus
12710 extern "C"
12711 #endif
12712 char FcInit ();
12714 main ()
12716 return FcInit ();
12718 return 0;
12720 _ACEOF
12721 if ac_fn_c_try_link "$LINENO"; then :
12722 case "$LIBEXT" in
12723 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12724 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'` ;;
12725 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12726 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12727 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12728 fi ;;
12729 esac
12731 rm -f core conftest.err conftest.$ac_objext \
12732 conftest$ac_exeext conftest.$ac_ext
12733 LIBS=$ac_check_soname_save_LIBS
12735 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12737 $as_echo "not found" >&6; }
12738 FONTCONFIG_CFLAGS=""
12739 else
12740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12741 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12743 cat >>confdefs.h <<_ACEOF
12744 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12745 _ACEOF
12749 else
12750 FONTCONFIG_CFLAGS=""
12752 CPPFLAGS=$ac_save_CPPFLAGS
12753 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12754 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12757 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12758 case "x$with_fontconfig" in
12759 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12760 xno) ;;
12761 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12762 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12763 esac
12766 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12767 then
12768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12769 $as_echo_n "checking for -lgsm... " >&6; }
12770 if ${ac_cv_lib_soname_gsm+:} false; then :
12771 $as_echo_n "(cached) " >&6
12772 else
12773 ac_check_soname_save_LIBS=$LIBS
12774 LIBS="-lgsm $LIBS"
12775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12776 /* end confdefs.h. */
12778 /* Override any GCC internal prototype to avoid an error.
12779 Use char because int might match the return type of a GCC
12780 builtin and then its argument prototype would still apply. */
12781 #ifdef __cplusplus
12782 extern "C"
12783 #endif
12784 char gsm_create ();
12786 main ()
12788 return gsm_create ();
12790 return 0;
12792 _ACEOF
12793 if ac_fn_c_try_link "$LINENO"; then :
12794 case "$LIBEXT" in
12795 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12796 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'` ;;
12797 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12798 if ${ac_cv_lib_soname_gsm:+false} :; then :
12799 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12800 fi ;;
12801 esac
12803 rm -f core conftest.err conftest.$ac_objext \
12804 conftest$ac_exeext conftest.$ac_ext
12805 LIBS=$ac_check_soname_save_LIBS
12807 if ${ac_cv_lib_soname_gsm:+false} :; then :
12808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12809 $as_echo "not found" >&6; }
12811 else
12812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12813 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12815 cat >>confdefs.h <<_ACEOF
12816 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12817 _ACEOF
12822 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12823 case "x$with_gsm" in
12824 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12825 xno) ;;
12826 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12827 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12828 esac
12831 if test "x$with_jpeg" != "xno"
12832 then
12833 if ${JPEG_CFLAGS:+false} :; then :
12834 if ${PKG_CONFIG+:} false; then :
12835 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12839 if ${JPEG_LIBS:+false} :; then :
12840 if ${PKG_CONFIG+:} false; then :
12841 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12846 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12847 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12848 ac_save_CPPFLAGS=$CPPFLAGS
12849 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
12850 for ac_header in jpeglib.h
12851 do :
12852 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12853 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
12854 cat >>confdefs.h <<_ACEOF
12855 #define HAVE_JPEGLIB_H 1
12856 _ACEOF
12860 done
12862 if test "$ac_cv_header_jpeglib_h" = "yes"
12863 then
12864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12865 $as_echo_n "checking for -ljpeg... " >&6; }
12866 if ${ac_cv_lib_soname_jpeg+:} false; then :
12867 $as_echo_n "(cached) " >&6
12868 else
12869 ac_check_soname_save_LIBS=$LIBS
12870 LIBS="-ljpeg $JPEG_LIBS $LIBS"
12871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12872 /* end confdefs.h. */
12874 /* Override any GCC internal prototype to avoid an error.
12875 Use char because int might match the return type of a GCC
12876 builtin and then its argument prototype would still apply. */
12877 #ifdef __cplusplus
12878 extern "C"
12879 #endif
12880 char jpeg_start_decompress ();
12882 main ()
12884 return jpeg_start_decompress ();
12886 return 0;
12888 _ACEOF
12889 if ac_fn_c_try_link "$LINENO"; then :
12890 case "$LIBEXT" in
12891 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12892 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'` ;;
12893 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12894 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12895 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12896 fi ;;
12897 esac
12899 rm -f core conftest.err conftest.$ac_objext \
12900 conftest$ac_exeext conftest.$ac_ext
12901 LIBS=$ac_check_soname_save_LIBS
12903 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12905 $as_echo "not found" >&6; }
12906 JPEG_CFLAGS=""
12907 else
12908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12909 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12911 cat >>confdefs.h <<_ACEOF
12912 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12913 _ACEOF
12917 else
12918 JPEG_CFLAGS=""
12920 CPPFLAGS=$ac_save_CPPFLAGS
12921 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12922 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12925 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12926 case "x$with_jpeg" in
12927 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12928 xno) ;;
12929 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12930 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12931 esac
12934 if test "x$with_png" != "xno"
12935 then
12936 if ${PNG_CFLAGS:+false} :; then :
12937 if ${PKG_CONFIG+:} false; then :
12938 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12941 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
12942 if ${PNG_LIBS:+false} :; then :
12943 if ${PKG_CONFIG+:} false; then :
12944 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
12947 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
12949 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
12950 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
12951 ac_save_CPPFLAGS=$CPPFLAGS
12952 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
12953 for ac_header in png.h
12954 do :
12955 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12956 if test "x$ac_cv_header_png_h" = xyes; then :
12957 cat >>confdefs.h <<_ACEOF
12958 #define HAVE_PNG_H 1
12959 _ACEOF
12963 done
12965 if test "$ac_cv_header_png_h" = "yes"
12966 then
12967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12968 $as_echo_n "checking for -lpng... " >&6; }
12969 if ${ac_cv_lib_soname_png+:} false; then :
12970 $as_echo_n "(cached) " >&6
12971 else
12972 ac_check_soname_save_LIBS=$LIBS
12973 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
12974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12975 /* end confdefs.h. */
12977 /* Override any GCC internal prototype to avoid an error.
12978 Use char because int might match the return type of a GCC
12979 builtin and then its argument prototype would still apply. */
12980 #ifdef __cplusplus
12981 extern "C"
12982 #endif
12983 char png_create_read_struct ();
12985 main ()
12987 return png_create_read_struct ();
12989 return 0;
12991 _ACEOF
12992 if ac_fn_c_try_link "$LINENO"; then :
12993 case "$LIBEXT" in
12994 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12995 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'` ;;
12996 *) 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'`
12997 if ${ac_cv_lib_soname_png:+false} :; then :
12998 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12999 fi ;;
13000 esac
13002 rm -f core conftest.err conftest.$ac_objext \
13003 conftest$ac_exeext conftest.$ac_ext
13004 LIBS=$ac_check_soname_save_LIBS
13006 if ${ac_cv_lib_soname_png:+false} :; then :
13007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13008 $as_echo "not found" >&6; }
13009 PNG_CFLAGS=""
13010 else
13011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13012 $as_echo "$ac_cv_lib_soname_png" >&6; }
13014 cat >>confdefs.h <<_ACEOF
13015 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13016 _ACEOF
13018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13019 /* end confdefs.h. */
13020 #include <png.h>
13022 main ()
13024 typeof(png_set_expand_gray_1_2_4_to_8) *p
13026 return 0;
13028 _ACEOF
13029 if ac_fn_c_try_compile "$LINENO"; then :
13031 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13036 else
13037 PNG_CFLAGS=""
13039 CPPFLAGS=$ac_save_CPPFLAGS
13040 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13041 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13044 if test "x$ac_cv_lib_soname_png" = "x"; then :
13045 case "x$with_png" in
13046 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13047 xno) ;;
13048 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13049 This is an error since --with-png was requested." "$LINENO" 5 ;;
13050 esac
13053 if test "x$with_tiff" != "xno"
13054 then
13055 if ${TIFF_CFLAGS:+false} :; then :
13056 if ${PKG_CONFIG+:} false; then :
13057 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13061 if ${TIFF_LIBS:+false} :; then :
13062 if ${PKG_CONFIG+:} false; then :
13063 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13068 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13069 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13070 ac_save_CPPFLAGS=$CPPFLAGS
13071 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13072 for ac_header in tiffio.h
13073 do :
13074 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13075 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13076 cat >>confdefs.h <<_ACEOF
13077 #define HAVE_TIFFIO_H 1
13078 _ACEOF
13082 done
13084 if test "$ac_cv_header_tiffio_h" = "yes"
13085 then
13086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13087 $as_echo_n "checking for -ltiff... " >&6; }
13088 if ${ac_cv_lib_soname_tiff+:} false; then :
13089 $as_echo_n "(cached) " >&6
13090 else
13091 ac_check_soname_save_LIBS=$LIBS
13092 LIBS="-ltiff $TIFF_LIBS $LIBS"
13093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13094 /* end confdefs.h. */
13096 /* Override any GCC internal prototype to avoid an error.
13097 Use char because int might match the return type of a GCC
13098 builtin and then its argument prototype would still apply. */
13099 #ifdef __cplusplus
13100 extern "C"
13101 #endif
13102 char TIFFClientOpen ();
13104 main ()
13106 return TIFFClientOpen ();
13108 return 0;
13110 _ACEOF
13111 if ac_fn_c_try_link "$LINENO"; then :
13112 case "$LIBEXT" in
13113 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13114 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'` ;;
13115 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13116 if ${ac_cv_lib_soname_tiff:+false} :; then :
13117 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13118 fi ;;
13119 esac
13121 rm -f core conftest.err conftest.$ac_objext \
13122 conftest$ac_exeext conftest.$ac_ext
13123 LIBS=$ac_check_soname_save_LIBS
13125 if ${ac_cv_lib_soname_tiff:+false} :; then :
13126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13127 $as_echo "not found" >&6; }
13129 else
13130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13131 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13133 cat >>confdefs.h <<_ACEOF
13134 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13135 _ACEOF
13140 CPPFLAGS=$ac_save_CPPFLAGS
13141 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13142 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13145 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13146 case "x$with_tiff" in
13147 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13148 xno) ;;
13149 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13150 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13151 esac
13154 if test "x$with_mpg123" != "xno"
13155 then
13156 if ${MPG123_CFLAGS:+false} :; then :
13157 if ${PKG_CONFIG+:} false; then :
13158 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13162 if ${MPG123_LIBS:+false} :; then :
13163 if ${PKG_CONFIG+:} false; then :
13164 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13168 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13169 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13170 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13171 ac_save_CPPFLAGS=$CPPFLAGS
13172 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13173 for ac_header in mpg123.h
13174 do :
13175 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13176 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13177 cat >>confdefs.h <<_ACEOF
13178 #define HAVE_MPG123_H 1
13179 _ACEOF
13183 done
13185 if test "$ac_cv_header_mpg123_h" = "yes"
13186 then
13187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13188 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13189 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13190 $as_echo_n "(cached) " >&6
13191 else
13192 ac_check_lib_save_LIBS=$LIBS
13193 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13195 /* end confdefs.h. */
13197 /* Override any GCC internal prototype to avoid an error.
13198 Use char because int might match the return type of a GCC
13199 builtin and then its argument prototype would still apply. */
13200 #ifdef __cplusplus
13201 extern "C"
13202 #endif
13203 char mpg123_feed ();
13205 main ()
13207 return mpg123_feed ();
13209 return 0;
13211 _ACEOF
13212 if ac_fn_c_try_link "$LINENO"; then :
13213 ac_cv_lib_mpg123_mpg123_feed=yes
13214 else
13215 ac_cv_lib_mpg123_mpg123_feed=no
13217 rm -f core conftest.err conftest.$ac_objext \
13218 conftest$ac_exeext conftest.$ac_ext
13219 LIBS=$ac_check_lib_save_LIBS
13221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13222 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13223 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13225 else
13226 MPG123_LIBS=""
13229 else
13230 MPG123_CFLAGS=""
13231 MPG123_LIBS=""
13233 CPPFLAGS=$ac_save_CPPFLAGS
13234 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13235 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13238 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13239 case "x$with_mpg123" in
13240 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13241 xno) ;;
13242 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13243 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13244 esac
13246 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}
13248 if test "$ac_cv_header_AL_al_h" = "yes"
13249 then
13250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13251 $as_echo_n "checking for -lopenal... " >&6; }
13252 if ${ac_cv_lib_soname_openal+:} false; then :
13253 $as_echo_n "(cached) " >&6
13254 else
13255 ac_check_soname_save_LIBS=$LIBS
13256 LIBS="-lopenal $LIBS"
13257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13258 /* end confdefs.h. */
13260 /* Override any GCC internal prototype to avoid an error.
13261 Use char because int might match the return type of a GCC
13262 builtin and then its argument prototype would still apply. */
13263 #ifdef __cplusplus
13264 extern "C"
13265 #endif
13266 char alGetSource3i ();
13268 main ()
13270 return alGetSource3i ();
13272 return 0;
13274 _ACEOF
13275 if ac_fn_c_try_link "$LINENO"; then :
13276 case "$LIBEXT" in
13277 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13278 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'` ;;
13279 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13280 if ${ac_cv_lib_soname_openal:+false} :; then :
13281 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13282 fi ;;
13283 esac
13285 rm -f core conftest.err conftest.$ac_objext \
13286 conftest$ac_exeext conftest.$ac_ext
13287 LIBS=$ac_check_soname_save_LIBS
13289 if ${ac_cv_lib_soname_openal:+false} :; then :
13290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13291 $as_echo "not found" >&6; }
13293 else
13294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13295 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13297 cat >>confdefs.h <<_ACEOF
13298 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13299 _ACEOF
13301 OPENAL_LIBS="-lopenal"
13303 ac_cv_lib_openal=yes
13305 cat >>confdefs.h <<_ACEOF
13306 #define HAVE_OPENAL 1
13307 _ACEOF
13311 if test "x$ac_cv_lib_openal" != xyes; then :
13312 case "x$with_openal" in
13313 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13314 xno) ;;
13315 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13316 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13317 esac
13319 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13321 if test "$ac_cv_header_kstat_h" = "yes"
13322 then
13323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13324 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13325 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13326 $as_echo_n "(cached) " >&6
13327 else
13328 ac_check_lib_save_LIBS=$LIBS
13329 LIBS="-lkstat $LIBS"
13330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13331 /* end confdefs.h. */
13333 /* Override any GCC internal prototype to avoid an error.
13334 Use char because int might match the return type of a GCC
13335 builtin and then its argument prototype would still apply. */
13336 #ifdef __cplusplus
13337 extern "C"
13338 #endif
13339 char kstat_open ();
13341 main ()
13343 return kstat_open ();
13345 return 0;
13347 _ACEOF
13348 if ac_fn_c_try_link "$LINENO"; then :
13349 ac_cv_lib_kstat_kstat_open=yes
13350 else
13351 ac_cv_lib_kstat_kstat_open=no
13353 rm -f core conftest.err conftest.$ac_objext \
13354 conftest$ac_exeext conftest.$ac_ext
13355 LIBS=$ac_check_lib_save_LIBS
13357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13358 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13359 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13361 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13363 KSTAT_LIBS="-lkstat"
13369 if test "$ac_cv_header_libprocstat_h" = "yes"
13370 then
13371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13372 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13373 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13374 $as_echo_n "(cached) " >&6
13375 else
13376 ac_check_lib_save_LIBS=$LIBS
13377 LIBS="-lprocstat $LIBS"
13378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13379 /* end confdefs.h. */
13381 /* Override any GCC internal prototype to avoid an error.
13382 Use char because int might match the return type of a GCC
13383 builtin and then its argument prototype would still apply. */
13384 #ifdef __cplusplus
13385 extern "C"
13386 #endif
13387 char procstat_open_sysctl ();
13389 main ()
13391 return procstat_open_sysctl ();
13393 return 0;
13395 _ACEOF
13396 if ac_fn_c_try_link "$LINENO"; then :
13397 ac_cv_lib_procstat_procstat_open_sysctl=yes
13398 else
13399 ac_cv_lib_procstat_procstat_open_sysctl=no
13401 rm -f core conftest.err conftest.$ac_objext \
13402 conftest$ac_exeext conftest.$ac_ext
13403 LIBS=$ac_check_lib_save_LIBS
13405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13406 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13407 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13409 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13411 PROCSTAT_LIBS="-lprocstat"
13417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13418 $as_echo_n "checking for -lodbc... " >&6; }
13419 if ${ac_cv_lib_soname_odbc+:} false; then :
13420 $as_echo_n "(cached) " >&6
13421 else
13422 ac_check_soname_save_LIBS=$LIBS
13423 LIBS="-lodbc $LIBS"
13424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13425 /* end confdefs.h. */
13427 /* Override any GCC internal prototype to avoid an error.
13428 Use char because int might match the return type of a GCC
13429 builtin and then its argument prototype would still apply. */
13430 #ifdef __cplusplus
13431 extern "C"
13432 #endif
13433 char SQLConnect ();
13435 main ()
13437 return SQLConnect ();
13439 return 0;
13441 _ACEOF
13442 if ac_fn_c_try_link "$LINENO"; then :
13443 case "$LIBEXT" in
13444 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13445 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'` ;;
13446 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13447 if ${ac_cv_lib_soname_odbc:+false} :; then :
13448 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13449 fi ;;
13450 esac
13452 rm -f core conftest.err conftest.$ac_objext \
13453 conftest$ac_exeext conftest.$ac_ext
13454 LIBS=$ac_check_soname_save_LIBS
13456 if ${ac_cv_lib_soname_odbc:+false} :; then :
13457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13458 $as_echo "not found" >&6; }
13459 cat >>confdefs.h <<_ACEOF
13460 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13461 _ACEOF
13463 else
13464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13465 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13467 cat >>confdefs.h <<_ACEOF
13468 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13469 _ACEOF
13474 if test "x$with_netapi" != "xno"
13475 then
13476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13477 $as_echo_n "checking for -lnetapi... " >&6; }
13478 if ${ac_cv_lib_soname_netapi+:} false; then :
13479 $as_echo_n "(cached) " >&6
13480 else
13481 ac_check_soname_save_LIBS=$LIBS
13482 LIBS="-lnetapi $LIBS"
13483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13484 /* end confdefs.h. */
13486 /* Override any GCC internal prototype to avoid an error.
13487 Use char because int might match the return type of a GCC
13488 builtin and then its argument prototype would still apply. */
13489 #ifdef __cplusplus
13490 extern "C"
13491 #endif
13492 char libnetapi_init ();
13494 main ()
13496 return libnetapi_init ();
13498 return 0;
13500 _ACEOF
13501 if ac_fn_c_try_link "$LINENO"; then :
13502 case "$LIBEXT" in
13503 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13504 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'` ;;
13505 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13506 if ${ac_cv_lib_soname_netapi:+false} :; then :
13507 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13508 fi ;;
13509 esac
13511 rm -f core conftest.err conftest.$ac_objext \
13512 conftest$ac_exeext conftest.$ac_ext
13513 LIBS=$ac_check_soname_save_LIBS
13515 if ${ac_cv_lib_soname_netapi:+false} :; then :
13516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13517 $as_echo "not found" >&6; }
13518 cat >>confdefs.h <<_ACEOF
13519 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13520 _ACEOF
13522 else
13523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13524 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13526 cat >>confdefs.h <<_ACEOF
13527 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13528 _ACEOF
13534 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13535 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
13536 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
13537 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
13539 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13540 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
13541 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13542 then
13543 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13547 EXTRACFLAGS=""
13549 if test "x${GCC}" = "xyes"
13550 then
13551 EXTRACFLAGS="-Wall -pipe"
13553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13554 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13555 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13556 $as_echo_n "(cached) " >&6
13557 else
13558 if test "$cross_compiling" = yes; then :
13559 ac_cv_c_gcc_strength_bug="yes"
13560 else
13561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13562 /* end confdefs.h. */
13563 int L[4] = {0,1,2,3};
13565 main ()
13567 static int Array[3];
13568 unsigned int B = 3;
13569 int i;
13570 for(i=0; i<B; i++) Array[i] = i - 3;
13571 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13572 L[i] = 4;
13573 return (Array[1] != -2 || L[2] != 3)
13575 return 0;
13577 _ACEOF
13578 if ac_fn_c_try_run "$LINENO"; then :
13579 ac_cv_c_gcc_strength_bug="no"
13580 else
13581 ac_cv_c_gcc_strength_bug="yes"
13583 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13584 conftest.$ac_objext conftest.beam conftest.$ac_ext
13588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13589 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13590 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13591 then
13592 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13596 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13597 if ${ac_cv_cflags__fno_builtin+:} false; then :
13598 $as_echo_n "(cached) " >&6
13599 else
13600 ac_wine_try_cflags_saved=$CFLAGS
13601 CFLAGS="$CFLAGS -fno-builtin"
13602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13603 /* end confdefs.h. */
13604 int main(int argc, char **argv) { return 0; }
13605 _ACEOF
13606 if ac_fn_c_try_link "$LINENO"; then :
13607 ac_cv_cflags__fno_builtin=yes
13608 else
13609 ac_cv_cflags__fno_builtin=no
13611 rm -f core conftest.err conftest.$ac_objext \
13612 conftest$ac_exeext conftest.$ac_ext
13613 CFLAGS=$ac_wine_try_cflags_saved
13615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13616 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13617 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
13618 BUILTINFLAG="-fno-builtin"
13621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13622 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13623 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
13624 $as_echo_n "(cached) " >&6
13625 else
13626 ac_wine_try_cflags_saved=$CFLAGS
13627 CFLAGS="$CFLAGS -fno-strict-aliasing"
13628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13629 /* end confdefs.h. */
13630 int main(int argc, char **argv) { return 0; }
13631 _ACEOF
13632 if ac_fn_c_try_link "$LINENO"; then :
13633 ac_cv_cflags__fno_strict_aliasing=yes
13634 else
13635 ac_cv_cflags__fno_strict_aliasing=no
13637 rm -f core conftest.err conftest.$ac_objext \
13638 conftest$ac_exeext conftest.$ac_ext
13639 CFLAGS=$ac_wine_try_cflags_saved
13641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13642 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13643 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
13644 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
13646 saved_CFLAGS=$CFLAGS
13647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13648 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13649 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
13650 $as_echo_n "(cached) " >&6
13651 else
13652 ac_wine_try_cflags_saved=$CFLAGS
13653 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13655 /* end confdefs.h. */
13656 int main(int argc, char **argv) { return 0; }
13657 _ACEOF
13658 if ac_fn_c_try_link "$LINENO"; then :
13659 ac_cv_cflags__Werror_unknown_warning_option=yes
13660 else
13661 ac_cv_cflags__Werror_unknown_warning_option=no
13663 rm -f core conftest.err conftest.$ac_objext \
13664 conftest$ac_exeext conftest.$ac_ext
13665 CFLAGS=$ac_wine_try_cflags_saved
13667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13668 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13669 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
13670 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13673 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13674 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
13675 $as_echo_n "(cached) " >&6
13676 else
13677 ac_wine_try_cflags_saved=$CFLAGS
13678 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
13679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13680 /* end confdefs.h. */
13681 int main(int argc, char **argv) { return 0; }
13682 _ACEOF
13683 if ac_fn_c_try_link "$LINENO"; then :
13684 ac_cv_cflags__Wdeclaration_after_statement=yes
13685 else
13686 ac_cv_cflags__Wdeclaration_after_statement=no
13688 rm -f core conftest.err conftest.$ac_objext \
13689 conftest$ac_exeext conftest.$ac_ext
13690 CFLAGS=$ac_wine_try_cflags_saved
13692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13693 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13694 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
13695 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
13697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13698 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13699 if ${ac_cv_cflags__Wempty_body+:} false; then :
13700 $as_echo_n "(cached) " >&6
13701 else
13702 ac_wine_try_cflags_saved=$CFLAGS
13703 CFLAGS="$CFLAGS -Wempty-body"
13704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13705 /* end confdefs.h. */
13706 int main(int argc, char **argv) { return 0; }
13707 _ACEOF
13708 if ac_fn_c_try_link "$LINENO"; then :
13709 ac_cv_cflags__Wempty_body=yes
13710 else
13711 ac_cv_cflags__Wempty_body=no
13713 rm -f core conftest.err conftest.$ac_objext \
13714 conftest$ac_exeext conftest.$ac_ext
13715 CFLAGS=$ac_wine_try_cflags_saved
13717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13718 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13719 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
13720 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
13722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13723 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13724 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
13725 $as_echo_n "(cached) " >&6
13726 else
13727 ac_wine_try_cflags_saved=$CFLAGS
13728 CFLAGS="$CFLAGS -Wignored-qualifiers"
13729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13730 /* end confdefs.h. */
13731 int main(int argc, char **argv) { return 0; }
13732 _ACEOF
13733 if ac_fn_c_try_link "$LINENO"; then :
13734 ac_cv_cflags__Wignored_qualifiers=yes
13735 else
13736 ac_cv_cflags__Wignored_qualifiers=no
13738 rm -f core conftest.err conftest.$ac_objext \
13739 conftest$ac_exeext conftest.$ac_ext
13740 CFLAGS=$ac_wine_try_cflags_saved
13742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13743 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13744 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
13745 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
13747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13748 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13749 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
13750 $as_echo_n "(cached) " >&6
13751 else
13752 ac_wine_try_cflags_saved=$CFLAGS
13753 CFLAGS="$CFLAGS -Wstrict-prototypes"
13754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13755 /* end confdefs.h. */
13756 int main(int argc, char **argv) { return 0; }
13757 _ACEOF
13758 if ac_fn_c_try_link "$LINENO"; then :
13759 ac_cv_cflags__Wstrict_prototypes=yes
13760 else
13761 ac_cv_cflags__Wstrict_prototypes=no
13763 rm -f core conftest.err conftest.$ac_objext \
13764 conftest$ac_exeext conftest.$ac_ext
13765 CFLAGS=$ac_wine_try_cflags_saved
13767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13768 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13769 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
13770 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
13772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13773 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13774 if ${ac_cv_cflags__Wtype_limits+:} false; then :
13775 $as_echo_n "(cached) " >&6
13776 else
13777 ac_wine_try_cflags_saved=$CFLAGS
13778 CFLAGS="$CFLAGS -Wtype-limits"
13779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13780 /* end confdefs.h. */
13781 int main(int argc, char **argv) { return 0; }
13782 _ACEOF
13783 if ac_fn_c_try_link "$LINENO"; then :
13784 ac_cv_cflags__Wtype_limits=yes
13785 else
13786 ac_cv_cflags__Wtype_limits=no
13788 rm -f core conftest.err conftest.$ac_objext \
13789 conftest$ac_exeext conftest.$ac_ext
13790 CFLAGS=$ac_wine_try_cflags_saved
13792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13793 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13794 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
13795 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
13797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13798 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13799 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
13800 $as_echo_n "(cached) " >&6
13801 else
13802 ac_wine_try_cflags_saved=$CFLAGS
13803 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
13804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13805 /* end confdefs.h. */
13806 int main(int argc, char **argv) { return 0; }
13807 _ACEOF
13808 if ac_fn_c_try_link "$LINENO"; then :
13809 ac_cv_cflags__Wunused_but_set_parameter=yes
13810 else
13811 ac_cv_cflags__Wunused_but_set_parameter=no
13813 rm -f core conftest.err conftest.$ac_objext \
13814 conftest$ac_exeext conftest.$ac_ext
13815 CFLAGS=$ac_wine_try_cflags_saved
13817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13818 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13819 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
13820 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
13822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13823 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13824 if ${ac_cv_cflags__Wvla+:} false; then :
13825 $as_echo_n "(cached) " >&6
13826 else
13827 ac_wine_try_cflags_saved=$CFLAGS
13828 CFLAGS="$CFLAGS -Wvla"
13829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13830 /* end confdefs.h. */
13831 int main(int argc, char **argv) { return 0; }
13832 _ACEOF
13833 if ac_fn_c_try_link "$LINENO"; then :
13834 ac_cv_cflags__Wvla=yes
13835 else
13836 ac_cv_cflags__Wvla=no
13838 rm -f core conftest.err conftest.$ac_objext \
13839 conftest$ac_exeext conftest.$ac_ext
13840 CFLAGS=$ac_wine_try_cflags_saved
13842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
13843 $as_echo "$ac_cv_cflags__Wvla" >&6; }
13844 if test "x$ac_cv_cflags__Wvla" = xyes; then :
13845 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
13847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13848 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13849 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
13850 $as_echo_n "(cached) " >&6
13851 else
13852 ac_wine_try_cflags_saved=$CFLAGS
13853 CFLAGS="$CFLAGS -Wwrite-strings"
13854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13855 /* end confdefs.h. */
13856 int main(int argc, char **argv) { return 0; }
13857 _ACEOF
13858 if ac_fn_c_try_link "$LINENO"; then :
13859 ac_cv_cflags__Wwrite_strings=yes
13860 else
13861 ac_cv_cflags__Wwrite_strings=no
13863 rm -f core conftest.err conftest.$ac_objext \
13864 conftest$ac_exeext conftest.$ac_ext
13865 CFLAGS=$ac_wine_try_cflags_saved
13867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13868 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13869 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
13870 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
13873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13874 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13875 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
13876 $as_echo_n "(cached) " >&6
13877 else
13878 ac_wine_try_cflags_saved=$CFLAGS
13879 CFLAGS="$CFLAGS -Wpointer-arith"
13880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13881 /* end confdefs.h. */
13882 int main(int argc, char **argv) { return 0; }
13883 _ACEOF
13884 if ac_fn_c_try_link "$LINENO"; then :
13885 ac_cv_cflags__Wpointer_arith=yes
13886 else
13887 ac_cv_cflags__Wpointer_arith=no
13889 rm -f core conftest.err conftest.$ac_objext \
13890 conftest$ac_exeext conftest.$ac_ext
13891 CFLAGS=$ac_wine_try_cflags_saved
13893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13894 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13895 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
13896 saved_string_h_CFLAGS=$CFLAGS
13897 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
13898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13899 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13900 if ${ac_cv_c_string_h_warnings+:} false; then :
13901 $as_echo_n "(cached) " >&6
13902 else
13903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13904 /* end confdefs.h. */
13905 #include <string.h>
13907 main ()
13911 return 0;
13913 _ACEOF
13914 if ac_fn_c_try_compile "$LINENO"; then :
13915 ac_cv_c_string_h_warnings=no
13916 else
13917 ac_cv_c_string_h_warnings=yes
13919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13922 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13923 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
13924 CFLAGS=$saved_string_h_CFLAGS
13927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13928 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13929 if ${ac_cv_cflags__Wlogical_op+:} false; then :
13930 $as_echo_n "(cached) " >&6
13931 else
13932 ac_wine_try_cflags_saved=$CFLAGS
13933 CFLAGS="$CFLAGS -Wlogical-op"
13934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13935 /* end confdefs.h. */
13936 int main(int argc, char **argv) { return 0; }
13937 _ACEOF
13938 if ac_fn_c_try_link "$LINENO"; then :
13939 ac_cv_cflags__Wlogical_op=yes
13940 else
13941 ac_cv_cflags__Wlogical_op=no
13943 rm -f core conftest.err conftest.$ac_objext \
13944 conftest$ac_exeext conftest.$ac_ext
13945 CFLAGS=$ac_wine_try_cflags_saved
13947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13948 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13949 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
13950 saved_string_h_CFLAGS=$CFLAGS
13951 CFLAGS="$CFLAGS -Wlogical-op -Werror"
13952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13953 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13954 if ${ac_cv_c_logicalop_noisy+:} false; then :
13955 $as_echo_n "(cached) " >&6
13956 else
13957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13958 /* end confdefs.h. */
13959 #include <string.h>
13960 char*f(const char *h,char n) {return strchr(h,n);}
13962 main ()
13966 return 0;
13968 _ACEOF
13969 if ac_fn_c_try_compile "$LINENO"; then :
13970 ac_cv_c_logicalop_noisy=no
13971 else
13972 ac_cv_c_logicalop_noisy=yes
13974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13977 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13978 CFLAGS=$saved_string_h_CFLAGS
13979 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
13982 CFLAGS=$saved_CFLAGS
13984 for ac_flag in $CFLAGS; do
13985 case $ac_flag in
13986 -g) case $host_os in
13987 darwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13988 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
13989 if ${ac_cv_cflags__gstabsp+:} false; then :
13990 $as_echo_n "(cached) " >&6
13991 else
13992 ac_wine_try_cflags_saved=$CFLAGS
13993 CFLAGS="$CFLAGS -gstabs+"
13994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13995 /* end confdefs.h. */
13996 int main(int argc, char **argv) { return 0; }
13997 _ACEOF
13998 if ac_fn_c_try_link "$LINENO"; then :
13999 ac_cv_cflags__gstabsp=yes
14000 else
14001 ac_cv_cflags__gstabsp=no
14003 rm -f core conftest.err conftest.$ac_objext \
14004 conftest$ac_exeext conftest.$ac_ext
14005 CFLAGS=$ac_wine_try_cflags_saved
14007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
14008 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
14009 if test "x$ac_cv_cflags__gstabsp" = xyes; then :
14010 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
14011 fi ;;
14012 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14013 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14014 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14015 $as_echo_n "(cached) " >&6
14016 else
14017 ac_wine_try_cflags_saved=$CFLAGS
14018 CFLAGS="$CFLAGS -gdwarf-2"
14019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14020 /* end confdefs.h. */
14021 int main(int argc, char **argv) { return 0; }
14022 _ACEOF
14023 if ac_fn_c_try_link "$LINENO"; then :
14024 ac_cv_cflags__gdwarf_2=yes
14025 else
14026 ac_cv_cflags__gdwarf_2=no
14028 rm -f core conftest.err conftest.$ac_objext \
14029 conftest$ac_exeext conftest.$ac_ext
14030 CFLAGS=$ac_wine_try_cflags_saved
14032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14033 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14034 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14035 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14038 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14039 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14040 $as_echo_n "(cached) " >&6
14041 else
14042 ac_wine_try_cflags_saved=$CFLAGS
14043 CFLAGS="$CFLAGS -gstrict-dwarf"
14044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14045 /* end confdefs.h. */
14046 int main(int argc, char **argv) { return 0; }
14047 _ACEOF
14048 if ac_fn_c_try_link "$LINENO"; then :
14049 ac_cv_cflags__gstrict_dwarf=yes
14050 else
14051 ac_cv_cflags__gstrict_dwarf=no
14053 rm -f core conftest.err conftest.$ac_objext \
14054 conftest$ac_exeext conftest.$ac_ext
14055 CFLAGS=$ac_wine_try_cflags_saved
14057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14058 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14059 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14060 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14061 fi ;;
14062 esac ;;
14063 esac
14064 done
14066 case $host_cpu in
14067 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14068 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14069 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14070 $as_echo_n "(cached) " >&6
14071 else
14072 ac_wine_try_cflags_saved=$CFLAGS
14073 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14075 /* end confdefs.h. */
14076 int main(int argc, char **argv) { return 0; }
14077 _ACEOF
14078 if ac_fn_c_try_link "$LINENO"; then :
14079 ac_cv_cflags__fno_omit_frame_pointer=yes
14080 else
14081 ac_cv_cflags__fno_omit_frame_pointer=no
14083 rm -f core conftest.err conftest.$ac_objext \
14084 conftest$ac_exeext conftest.$ac_ext
14085 CFLAGS=$ac_wine_try_cflags_saved
14087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14088 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14089 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14090 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14091 fi ;;
14092 esac
14094 case $host in
14095 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14096 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14097 if ${ac_cv_cflags__Wno_format+:} false; then :
14098 $as_echo_n "(cached) " >&6
14099 else
14100 ac_wine_try_cflags_saved=$CFLAGS
14101 CFLAGS="$CFLAGS -Wno-format"
14102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14103 /* end confdefs.h. */
14104 int main(int argc, char **argv) { return 0; }
14105 _ACEOF
14106 if ac_fn_c_try_link "$LINENO"; then :
14107 ac_cv_cflags__Wno_format=yes
14108 else
14109 ac_cv_cflags__Wno_format=no
14111 rm -f core conftest.err conftest.$ac_objext \
14112 conftest$ac_exeext conftest.$ac_ext
14113 CFLAGS=$ac_wine_try_cflags_saved
14115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14116 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14117 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14118 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14119 fi ;;
14120 esac
14122 if test "x$enable_maintainer_mode" = "xyes"
14123 then
14124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14125 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14126 if ${ac_cv_cflags__Werror+:} false; then :
14127 $as_echo_n "(cached) " >&6
14128 else
14129 ac_wine_try_cflags_saved=$CFLAGS
14130 CFLAGS="$CFLAGS -Werror"
14131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14132 /* end confdefs.h. */
14133 int main(int argc, char **argv) { return 0; }
14134 _ACEOF
14135 if ac_fn_c_try_link "$LINENO"; then :
14136 ac_cv_cflags__Werror=yes
14137 else
14138 ac_cv_cflags__Werror=no
14140 rm -f core conftest.err conftest.$ac_objext \
14141 conftest$ac_exeext conftest.$ac_ext
14142 CFLAGS=$ac_wine_try_cflags_saved
14144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14145 $as_echo "$ac_cv_cflags__Werror" >&6; }
14146 if test "x$ac_cv_cflags__Werror" = xyes; then :
14147 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14151 saved_CFLAGS="$CFLAGS"
14152 CFLAGS="$CFLAGS -Werror"
14153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14154 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14155 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14156 $as_echo_n "(cached) " >&6
14157 else
14158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14159 /* end confdefs.h. */
14160 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14162 main ()
14166 return 0;
14168 _ACEOF
14169 if ac_fn_c_try_compile "$LINENO"; then :
14170 ac_cv_have_ms_hook_prologue="yes"
14171 else
14172 ac_cv_have_ms_hook_prologue="no"
14174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14177 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14178 CFLAGS="$saved_CFLAGS"
14179 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14180 then
14182 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14184 else
14185 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14192 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14193 if ${ac_cv_c_fortify_enabled+:} false; then :
14194 $as_echo_n "(cached) " >&6
14195 else
14196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14197 /* end confdefs.h. */
14198 #include <string.h>
14200 main ()
14202 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14203 #error Fortify enabled
14204 #endif
14206 return 0;
14208 _ACEOF
14209 if ac_fn_c_try_compile "$LINENO"; then :
14210 ac_cv_c_fortify_enabled=no
14211 else
14212 ac_cv_c_fortify_enabled=yes
14214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14217 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14218 if test "$ac_cv_c_fortify_enabled" = yes
14219 then
14220 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14225 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14226 if ${ac_cv_c_extern_prefix+:} false; then :
14227 $as_echo_n "(cached) " >&6
14228 else
14229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14230 /* end confdefs.h. */
14231 extern int ac_test;
14233 main ()
14235 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14237 return 0;
14239 _ACEOF
14240 if ac_fn_c_try_link "$LINENO"; then :
14241 ac_cv_c_extern_prefix="yes"
14242 else
14243 ac_cv_c_extern_prefix="no"
14245 rm -f core conftest.err conftest.$ac_objext \
14246 conftest$ac_exeext conftest.$ac_ext
14248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14249 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14251 case $host_cpu in
14252 *i[3456789]86*)
14253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14254 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14255 if ${ac_cv_c_stdcall_suffix+:} false; then :
14256 $as_echo_n "(cached) " >&6
14257 else
14258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14259 /* end confdefs.h. */
14260 #ifndef _MSC_VER
14261 #define __stdcall __attribute__((__stdcall__))
14262 #endif
14263 int __stdcall ac_test(int i) { return i; }
14265 main ()
14267 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14269 return 0;
14271 _ACEOF
14272 if ac_fn_c_try_link "$LINENO"; then :
14273 ac_cv_c_stdcall_suffix="yes"
14274 else
14275 ac_cv_c_stdcall_suffix="no"
14277 rm -f core conftest.err conftest.$ac_objext \
14278 conftest$ac_exeext conftest.$ac_ext
14280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14281 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14282 *) ac_cv_c_stdcall_suffix="no" ;;
14283 esac
14286 if test "$ac_cv_c_extern_prefix" = "yes"
14287 then
14288 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14290 asm_name_prefix="_"
14291 else
14292 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14294 asm_name_prefix=""
14298 if test "$ac_cv_c_stdcall_suffix" = "yes"
14299 then
14300 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14302 else
14303 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14309 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14310 if ${ac_cv_asm_func_def+:} false; then :
14311 $as_echo_n "(cached) " >&6
14312 else
14313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14314 /* end confdefs.h. */
14317 main ()
14319 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14321 return 0;
14323 _ACEOF
14324 if ac_fn_c_try_link "$LINENO"; then :
14325 ac_cv_asm_func_def=".def"
14326 else
14327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14328 /* end confdefs.h. */
14331 main ()
14333 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14335 return 0;
14337 _ACEOF
14338 if ac_fn_c_try_link "$LINENO"; then :
14339 ac_cv_asm_func_def=".type @function"
14340 else
14341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14342 /* end confdefs.h. */
14345 main ()
14347 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14349 return 0;
14351 _ACEOF
14352 if ac_fn_c_try_link "$LINENO"; then :
14353 ac_cv_asm_func_def=".type 2"
14354 else
14355 ac_cv_asm_func_def="unknown"
14357 rm -f core conftest.err conftest.$ac_objext \
14358 conftest$ac_exeext conftest.$ac_ext
14360 rm -f core conftest.err conftest.$ac_objext \
14361 conftest$ac_exeext conftest.$ac_ext
14363 rm -f core conftest.err conftest.$ac_objext \
14364 conftest$ac_exeext conftest.$ac_ext
14366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14367 $as_echo "$ac_cv_asm_func_def" >&6; }
14370 case "$ac_cv_asm_func_def" in
14371 ".def")
14372 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14374 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14375 ".type @function")
14376 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14378 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14379 ".type 2")
14380 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14382 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14384 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14386 asm_func_header="" ;;
14387 esac
14389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14390 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14391 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14392 $as_echo_n "(cached) " >&6
14393 else
14394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14395 /* end confdefs.h. */
14396 asm(".text\n\t.long 0");
14398 main ()
14402 return 0;
14404 _ACEOF
14405 if ac_fn_c_try_compile "$LINENO"; then :
14406 ac_cv_c_asm_outside_funcs="yes"
14407 else
14408 ac_cv_c_asm_outside_funcs="no"
14410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14413 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14416 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14417 if ${ac_cv_c_dot_previous+:} false; then :
14418 $as_echo_n "(cached) " >&6
14419 else
14420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14421 /* end confdefs.h. */
14424 main ()
14426 asm(".text\nac_test:\t.long 0\n\t.previous");
14428 return 0;
14430 _ACEOF
14431 if ac_fn_c_try_link "$LINENO"; then :
14432 ac_cv_c_dot_previous="yes"
14433 else
14434 ac_cv_c_dot_previous="no"
14436 rm -f core conftest.err conftest.$ac_objext \
14437 conftest$ac_exeext conftest.$ac_ext
14439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14440 $as_echo "$ac_cv_c_dot_previous" >&6; }
14442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14443 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14444 if ${ac_cv_c_cfi_support+:} false; then :
14445 $as_echo_n "(cached) " >&6
14446 else
14447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14448 /* end confdefs.h. */
14449 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14451 main ()
14455 return 0;
14457 _ACEOF
14458 if ac_fn_c_try_compile "$LINENO"; then :
14459 ac_cv_c_cfi_support="yes"
14460 else
14461 ac_cv_c_cfi_support="no"
14463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14466 $as_echo "$ac_cv_c_cfi_support" >&6; }
14468 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14469 asm_func_trailer=""
14470 if test "$ac_cv_c_dot_previous" = "yes"
14471 then
14472 asm_func_trailer="\\n\\t.previous"
14474 if test "$ac_cv_c_cfi_support" = "yes"
14475 then
14476 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14477 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14479 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14481 UNWINDFLAGS=-fasynchronous-unwind-tables
14483 else
14484 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14488 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14491 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14492 then
14493 cat >>confdefs.h <<_ACEOF
14494 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14495 _ACEOF
14497 else
14498 cat >>confdefs.h <<_ACEOF
14499 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14500 _ACEOF
14504 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14507 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14511 case $build_os in
14512 cygwin*|mingw32*) TOOLSEXT=".exe"
14514 esac
14516 case $host_os in
14517 linux*)
14518 case $host_cpu in
14519 *i[3456789]86*|x86_64*)
14520 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14521 loader_programs="$loader_programs $wine_binary-preloader"
14522 as_fn_append LOADER_RULES "
14523 $wine_binary-preloader: preloader.o
14524 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14526 install install-lib:: $wine_binary-preloader
14527 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14529 uninstall::
14530 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14532 preloader_EXTRADEFS = $BUILTINFLAG
14533 " ;;
14534 esac
14536 esac
14537 as_fn_append LOADER_RULES "
14538 PROGRAMS = $loader_programs
14542 ac_save_CFLAGS="$CFLAGS"
14543 CFLAGS="$CFLAGS $BUILTINFLAG"
14544 for ac_func in \
14545 __res_get_state \
14546 __res_getservers \
14547 _finite \
14548 _isnan \
14549 _pclose \
14550 _popen \
14551 _snprintf \
14552 _spawnvp \
14553 _strdup \
14554 _stricmp \
14555 _strnicmp \
14556 _strtoi64 \
14557 _strtoui64 \
14558 _vsnprintf \
14559 asctime_r \
14560 chsize \
14561 dlopen \
14562 epoll_create \
14563 ffs \
14564 fnmatch \
14565 fork \
14566 fpclass \
14567 fstatfs \
14568 fstatvfs \
14569 ftruncate \
14570 futimens \
14571 futimes \
14572 futimesat \
14573 getattrlist \
14574 getdirentries \
14575 getopt_long_only \
14576 getpwuid \
14577 gettimeofday \
14578 getuid \
14579 if_nameindex \
14580 kqueue \
14581 lstat \
14582 memmove \
14583 mmap \
14584 pclose \
14585 pipe2 \
14586 poll \
14587 popen \
14588 port_create \
14589 prctl \
14590 pread \
14591 proc_pidinfo \
14592 pwrite \
14593 readdir \
14594 readlink \
14595 sched_yield \
14596 select \
14597 setproctitle \
14598 setrlimit \
14599 settimeofday \
14600 sigaltstack \
14601 sigprocmask \
14602 snprintf \
14603 statfs \
14604 statvfs \
14605 strcasecmp \
14606 strdup \
14607 strerror \
14608 strncasecmp \
14609 strtold \
14610 strtoll \
14611 strtoull \
14612 symlink \
14613 tcdrain \
14614 thr_kill2 \
14615 timegm \
14616 usleep \
14617 vsnprintf
14619 do :
14620 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14621 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14622 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14623 cat >>confdefs.h <<_ACEOF
14624 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14625 _ACEOF
14628 done
14630 CFLAGS="$ac_save_CFLAGS"
14632 if test "$ac_cv_func_dlopen" = no
14633 then
14634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14635 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14636 if ${ac_cv_lib_dl_dlopen+:} false; then :
14637 $as_echo_n "(cached) " >&6
14638 else
14639 ac_check_lib_save_LIBS=$LIBS
14640 LIBS="-ldl $LIBS"
14641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14642 /* end confdefs.h. */
14644 /* Override any GCC internal prototype to avoid an error.
14645 Use char because int might match the return type of a GCC
14646 builtin and then its argument prototype would still apply. */
14647 #ifdef __cplusplus
14648 extern "C"
14649 #endif
14650 char dlopen ();
14652 main ()
14654 return dlopen ();
14656 return 0;
14658 _ACEOF
14659 if ac_fn_c_try_link "$LINENO"; then :
14660 ac_cv_lib_dl_dlopen=yes
14661 else
14662 ac_cv_lib_dl_dlopen=no
14664 rm -f core conftest.err conftest.$ac_objext \
14665 conftest$ac_exeext conftest.$ac_ext
14666 LIBS=$ac_check_lib_save_LIBS
14668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14669 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14670 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14671 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14672 DL_LIBS="-ldl"
14677 ac_wine_check_funcs_save_LIBS="$LIBS"
14678 LIBS="$LIBS $DL_LIBS"
14679 for ac_func in dladdr
14680 do :
14681 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
14682 if test "x$ac_cv_func_dladdr" = xyes; then :
14683 cat >>confdefs.h <<_ACEOF
14684 #define HAVE_DLADDR 1
14685 _ACEOF
14688 done
14690 LIBS="$ac_wine_check_funcs_save_LIBS"
14692 if test "$ac_cv_func_poll" = no
14693 then
14694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14695 $as_echo_n "checking for poll in -lpoll... " >&6; }
14696 if ${ac_cv_lib_poll_poll+:} false; then :
14697 $as_echo_n "(cached) " >&6
14698 else
14699 ac_check_lib_save_LIBS=$LIBS
14700 LIBS="-lpoll $LIBS"
14701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14702 /* end confdefs.h. */
14704 /* Override any GCC internal prototype to avoid an error.
14705 Use char because int might match the return type of a GCC
14706 builtin and then its argument prototype would still apply. */
14707 #ifdef __cplusplus
14708 extern "C"
14709 #endif
14710 char poll ();
14712 main ()
14714 return poll ();
14716 return 0;
14718 _ACEOF
14719 if ac_fn_c_try_link "$LINENO"; then :
14720 ac_cv_lib_poll_poll=yes
14721 else
14722 ac_cv_lib_poll_poll=no
14724 rm -f core conftest.err conftest.$ac_objext \
14725 conftest$ac_exeext conftest.$ac_ext
14726 LIBS=$ac_check_lib_save_LIBS
14728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14729 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14730 if test "x$ac_cv_lib_poll_poll" = xyes; then :
14731 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14732 POLL_LIBS="-lpoll"
14738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14739 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14740 if ${ac_cv_search_gethostbyname+:} false; then :
14741 $as_echo_n "(cached) " >&6
14742 else
14743 ac_func_search_save_LIBS=$LIBS
14744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14745 /* end confdefs.h. */
14747 /* Override any GCC internal prototype to avoid an error.
14748 Use char because int might match the return type of a GCC
14749 builtin and then its argument prototype would still apply. */
14750 #ifdef __cplusplus
14751 extern "C"
14752 #endif
14753 char gethostbyname ();
14755 main ()
14757 return gethostbyname ();
14759 return 0;
14761 _ACEOF
14762 for ac_lib in '' nsl; do
14763 if test -z "$ac_lib"; then
14764 ac_res="none required"
14765 else
14766 ac_res=-l$ac_lib
14767 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14769 if ac_fn_c_try_link "$LINENO"; then :
14770 ac_cv_search_gethostbyname=$ac_res
14772 rm -f core conftest.err conftest.$ac_objext \
14773 conftest$ac_exeext
14774 if ${ac_cv_search_gethostbyname+:} false; then :
14775 break
14777 done
14778 if ${ac_cv_search_gethostbyname+:} false; then :
14780 else
14781 ac_cv_search_gethostbyname=no
14783 rm conftest.$ac_ext
14784 LIBS=$ac_func_search_save_LIBS
14786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14787 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14788 ac_res=$ac_cv_search_gethostbyname
14789 if test "$ac_res" != no; then :
14790 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14796 $as_echo_n "checking for library containing connect... " >&6; }
14797 if ${ac_cv_search_connect+:} false; then :
14798 $as_echo_n "(cached) " >&6
14799 else
14800 ac_func_search_save_LIBS=$LIBS
14801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14802 /* end confdefs.h. */
14804 /* Override any GCC internal prototype to avoid an error.
14805 Use char because int might match the return type of a GCC
14806 builtin and then its argument prototype would still apply. */
14807 #ifdef __cplusplus
14808 extern "C"
14809 #endif
14810 char connect ();
14812 main ()
14814 return connect ();
14816 return 0;
14818 _ACEOF
14819 for ac_lib in '' socket; do
14820 if test -z "$ac_lib"; then
14821 ac_res="none required"
14822 else
14823 ac_res=-l$ac_lib
14824 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14826 if ac_fn_c_try_link "$LINENO"; then :
14827 ac_cv_search_connect=$ac_res
14829 rm -f core conftest.err conftest.$ac_objext \
14830 conftest$ac_exeext
14831 if ${ac_cv_search_connect+:} false; then :
14832 break
14834 done
14835 if ${ac_cv_search_connect+:} false; then :
14837 else
14838 ac_cv_search_connect=no
14840 rm conftest.$ac_ext
14841 LIBS=$ac_func_search_save_LIBS
14843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14844 $as_echo "$ac_cv_search_connect" >&6; }
14845 ac_res=$ac_cv_search_connect
14846 if test "$ac_res" != no; then :
14847 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14853 $as_echo_n "checking for library containing inet_aton... " >&6; }
14854 if ${ac_cv_search_inet_aton+:} false; then :
14855 $as_echo_n "(cached) " >&6
14856 else
14857 ac_func_search_save_LIBS=$LIBS
14858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14859 /* end confdefs.h. */
14861 /* Override any GCC internal prototype to avoid an error.
14862 Use char because int might match the return type of a GCC
14863 builtin and then its argument prototype would still apply. */
14864 #ifdef __cplusplus
14865 extern "C"
14866 #endif
14867 char inet_aton ();
14869 main ()
14871 return inet_aton ();
14873 return 0;
14875 _ACEOF
14876 for ac_lib in '' resolv; do
14877 if test -z "$ac_lib"; then
14878 ac_res="none required"
14879 else
14880 ac_res=-l$ac_lib
14881 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14883 if ac_fn_c_try_link "$LINENO"; then :
14884 ac_cv_search_inet_aton=$ac_res
14886 rm -f core conftest.err conftest.$ac_objext \
14887 conftest$ac_exeext
14888 if ${ac_cv_search_inet_aton+:} false; then :
14889 break
14891 done
14892 if ${ac_cv_search_inet_aton+:} false; then :
14894 else
14895 ac_cv_search_inet_aton=no
14897 rm conftest.$ac_ext
14898 LIBS=$ac_func_search_save_LIBS
14900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14901 $as_echo "$ac_cv_search_inet_aton" >&6; }
14902 ac_res=$ac_cv_search_inet_aton
14903 if test "$ac_res" != no; then :
14904 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14909 for ac_func in \
14910 getaddrinfo \
14911 getnameinfo \
14912 getnetbyname \
14913 getprotobyname \
14914 getprotobynumber \
14915 getservbyport \
14916 inet_addr \
14917 inet_network \
14918 inet_ntop \
14919 inet_pton \
14920 sendmsg \
14921 socketpair \
14923 do :
14924 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14925 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14926 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14927 cat >>confdefs.h <<_ACEOF
14928 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14929 _ACEOF
14932 done
14935 ac_save_LIBS=$LIBS
14936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14937 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14938 if ${ac_cv_search_clock_gettime+:} false; then :
14939 $as_echo_n "(cached) " >&6
14940 else
14941 ac_func_search_save_LIBS=$LIBS
14942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14943 /* end confdefs.h. */
14945 /* Override any GCC internal prototype to avoid an error.
14946 Use char because int might match the return type of a GCC
14947 builtin and then its argument prototype would still apply. */
14948 #ifdef __cplusplus
14949 extern "C"
14950 #endif
14951 char clock_gettime ();
14953 main ()
14955 return clock_gettime ();
14957 return 0;
14959 _ACEOF
14960 for ac_lib in '' rt; do
14961 if test -z "$ac_lib"; then
14962 ac_res="none required"
14963 else
14964 ac_res=-l$ac_lib
14965 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14967 if ac_fn_c_try_link "$LINENO"; then :
14968 ac_cv_search_clock_gettime=$ac_res
14970 rm -f core conftest.err conftest.$ac_objext \
14971 conftest$ac_exeext
14972 if ${ac_cv_search_clock_gettime+:} false; then :
14973 break
14975 done
14976 if ${ac_cv_search_clock_gettime+:} false; then :
14978 else
14979 ac_cv_search_clock_gettime=no
14981 rm conftest.$ac_ext
14982 LIBS=$ac_func_search_save_LIBS
14984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14985 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14986 ac_res=$ac_cv_search_clock_gettime
14987 if test "$ac_res" != no; then :
14988 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14990 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
14992 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
14996 LIBS=$ac_save_LIBS
14998 LDAP_LIBS=""
15000 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15001 then
15002 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15004 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15006 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15007 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15008 $as_echo_n "(cached) " >&6
15009 else
15010 ac_check_lib_save_LIBS=$LIBS
15011 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15013 /* end confdefs.h. */
15015 /* Override any GCC internal prototype to avoid an error.
15016 Use char because int might match the return type of a GCC
15017 builtin and then its argument prototype would still apply. */
15018 #ifdef __cplusplus
15019 extern "C"
15020 #endif
15021 char ldap_initialize ();
15023 main ()
15025 return ldap_initialize ();
15027 return 0;
15029 _ACEOF
15030 if ac_fn_c_try_link "$LINENO"; then :
15031 ac_cv_lib_ldap_r_ldap_initialize=yes
15032 else
15033 ac_cv_lib_ldap_r_ldap_initialize=no
15035 rm -f core conftest.err conftest.$ac_objext \
15036 conftest$ac_exeext conftest.$ac_ext
15037 LIBS=$ac_check_lib_save_LIBS
15039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15040 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15041 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15043 $as_echo_n "checking for ber_init in -llber... " >&6; }
15044 if ${ac_cv_lib_lber_ber_init+:} false; then :
15045 $as_echo_n "(cached) " >&6
15046 else
15047 ac_check_lib_save_LIBS=$LIBS
15048 LIBS="-llber $PTHREAD_LIBS $LIBS"
15049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15050 /* end confdefs.h. */
15052 /* Override any GCC internal prototype to avoid an error.
15053 Use char because int might match the return type of a GCC
15054 builtin and then its argument prototype would still apply. */
15055 #ifdef __cplusplus
15056 extern "C"
15057 #endif
15058 char ber_init ();
15060 main ()
15062 return ber_init ();
15064 return 0;
15066 _ACEOF
15067 if ac_fn_c_try_link "$LINENO"; then :
15068 ac_cv_lib_lber_ber_init=yes
15069 else
15070 ac_cv_lib_lber_ber_init=no
15072 rm -f core conftest.err conftest.$ac_objext \
15073 conftest$ac_exeext conftest.$ac_ext
15074 LIBS=$ac_check_lib_save_LIBS
15076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15077 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15078 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15080 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15082 LDAP_LIBS="-lldap_r -llber"
15089 ac_wine_check_funcs_save_LIBS="$LIBS"
15090 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15091 for ac_func in \
15092 ldap_count_references \
15093 ldap_first_reference \
15094 ldap_next_reference \
15095 ldap_parse_reference \
15096 ldap_parse_sort_control \
15097 ldap_parse_sortresponse_control \
15098 ldap_parse_vlv_control \
15099 ldap_parse_vlvresponse_control
15100 do :
15101 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15102 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15103 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15104 cat >>confdefs.h <<_ACEOF
15105 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15106 _ACEOF
15109 done
15111 LIBS="$ac_wine_check_funcs_save_LIBS"
15113 if test "x$LDAP_LIBS" = "x"; then :
15114 case "x$with_ldap" in
15115 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15116 xno) ;;
15117 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15118 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15119 esac
15122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15123 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15124 if ${wine_cv_one_arg_mkdir+:} false; then :
15125 $as_echo_n "(cached) " >&6
15126 else
15127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15128 /* end confdefs.h. */
15129 #include <sys/stat.h>
15131 main ()
15133 mkdir("foo");
15135 return 0;
15137 _ACEOF
15138 if ac_fn_c_try_compile "$LINENO"; then :
15139 wine_cv_one_arg_mkdir=yes
15140 else
15141 wine_cv_one_arg_mkdir=no
15143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15146 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15147 if test "$wine_cv_one_arg_mkdir" = "yes"
15148 then
15150 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15155 $as_echo_n "checking for sched_setaffinity... " >&6; }
15156 if ${wine_cv_have_sched_setaffinity+:} false; then :
15157 $as_echo_n "(cached) " >&6
15158 else
15159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15160 /* end confdefs.h. */
15161 #define _GNU_SOURCE
15162 #include <sched.h>
15164 main ()
15166 sched_setaffinity(0, 0, 0);
15168 return 0;
15170 _ACEOF
15171 if ac_fn_c_try_link "$LINENO"; then :
15172 wine_cv_have_sched_setaffinity=yes
15173 else
15174 wine_cv_have_sched_setaffinity=no
15176 rm -f core conftest.err conftest.$ac_objext \
15177 conftest$ac_exeext conftest.$ac_ext
15179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15180 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15181 if test "$wine_cv_have_sched_setaffinity" = "yes"
15182 then
15184 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15189 $as_echo_n "checking for fallocate... " >&6; }
15190 if ${wine_cv_have_fallocate+:} false; then :
15191 $as_echo_n "(cached) " >&6
15192 else
15193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15194 /* end confdefs.h. */
15195 #define _GNU_SOURCE
15196 #include <fcntl.h>
15198 main ()
15200 fallocate(-1, 0, 0, 0);
15202 return 0;
15204 _ACEOF
15205 if ac_fn_c_try_link "$LINENO"; then :
15206 wine_cv_have_fallocate=yes
15207 else
15208 wine_cv_have_fallocate=no
15210 rm -f core conftest.err conftest.$ac_objext \
15211 conftest$ac_exeext conftest.$ac_ext
15213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15214 $as_echo "$wine_cv_have_fallocate" >&6; }
15215 if test "$wine_cv_have_fallocate" = "yes"
15216 then
15218 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15224 $as_echo_n "checking for inline... " >&6; }
15225 if ${ac_cv_c_inline+:} false; then :
15226 $as_echo_n "(cached) " >&6
15227 else
15228 ac_cv_c_inline=no
15229 for ac_kw in inline __inline__ __inline; do
15230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15231 /* end confdefs.h. */
15232 #ifndef __cplusplus
15233 typedef int foo_t;
15234 static $ac_kw foo_t static_foo () {return 0; }
15235 $ac_kw foo_t foo () {return 0; }
15236 #endif
15238 _ACEOF
15239 if ac_fn_c_try_compile "$LINENO"; then :
15240 ac_cv_c_inline=$ac_kw
15242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15243 test "$ac_cv_c_inline" != no && break
15244 done
15247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15248 $as_echo "$ac_cv_c_inline" >&6; }
15250 case $ac_cv_c_inline in
15251 inline | yes) ;;
15253 case $ac_cv_c_inline in
15254 no) ac_val=;;
15255 *) ac_val=$ac_cv_c_inline;;
15256 esac
15257 cat >>confdefs.h <<_ACEOF
15258 #ifndef __cplusplus
15259 #define inline $ac_val
15260 #endif
15261 _ACEOF
15263 esac
15265 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15266 if test "x$ac_cv_type_mode_t" = xyes; then :
15268 cat >>confdefs.h <<_ACEOF
15269 #define HAVE_MODE_T 1
15270 _ACEOF
15274 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15275 if test "x$ac_cv_type_off_t" = xyes; then :
15277 cat >>confdefs.h <<_ACEOF
15278 #define HAVE_OFF_T 1
15279 _ACEOF
15283 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15284 if test "x$ac_cv_type_pid_t" = xyes; then :
15286 cat >>confdefs.h <<_ACEOF
15287 #define HAVE_PID_T 1
15288 _ACEOF
15292 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15293 if test "x$ac_cv_type_size_t" = xyes; then :
15295 cat >>confdefs.h <<_ACEOF
15296 #define HAVE_SIZE_T 1
15297 _ACEOF
15301 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15302 if test "x$ac_cv_type_ssize_t" = xyes; then :
15304 cat >>confdefs.h <<_ACEOF
15305 #define HAVE_SSIZE_T 1
15306 _ACEOF
15310 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15311 if test "x$ac_cv_type_long_long" = xyes; then :
15313 cat >>confdefs.h <<_ACEOF
15314 #define HAVE_LONG_LONG 1
15315 _ACEOF
15319 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15320 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15322 cat >>confdefs.h <<_ACEOF
15323 #define HAVE_FSBLKCNT_T 1
15324 _ACEOF
15328 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15329 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15331 cat >>confdefs.h <<_ACEOF
15332 #define HAVE_FSFILCNT_T 1
15333 _ACEOF
15338 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15339 #include <signal.h>
15341 if test "x$ac_cv_type_sigset_t" = xyes; then :
15343 cat >>confdefs.h <<_ACEOF
15344 #define HAVE_SIGSET_T 1
15345 _ACEOF
15350 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15352 if test "x$ac_cv_type_request_sense" = xyes; then :
15354 cat >>confdefs.h <<_ACEOF
15355 #define HAVE_REQUEST_SENSE 1
15356 _ACEOF
15362 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15363 #ifdef HAVE_SYS_SOCKET_H
15364 #include <sys/socket.h>
15365 #endif
15366 #ifdef HAVE_SYS_SOCKETVAR_H
15367 #include <sys/socketvar.h>
15368 #endif
15369 #ifdef HAVE_NET_ROUTE_H
15370 #include <net/route.h>
15371 #endif
15372 #ifdef HAVE_NETINET_IN_H
15373 #include <netinet/in.h>
15374 #endif
15375 #ifdef HAVE_NETINET_IN_SYSTM_H
15376 #include <netinet/in_systm.h>
15377 #endif
15378 #ifdef HAVE_NETINET_IP_H
15379 #include <netinet/ip.h>
15380 #endif
15381 #ifdef HAVE_NETINET_IN_PCB_H
15382 #include <netinet/in_pcb.h>
15383 #endif
15385 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15387 cat >>confdefs.h <<_ACEOF
15388 #define HAVE_STRUCT_XINPGEN 1
15389 _ACEOF
15395 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15396 #include <link.h>
15397 #endif
15398 #ifdef HAVE_SYS_LINK_H
15399 #include <sys/link.h>
15400 #endif
15402 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15404 cat >>confdefs.h <<_ACEOF
15405 #define HAVE_STRUCT_R_DEBUG 1
15406 _ACEOF
15410 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15411 #include <link.h>
15412 #endif
15413 #ifdef HAVE_SYS_LINK_H
15414 #include <sys/link.h>
15415 #endif
15417 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15419 cat >>confdefs.h <<_ACEOF
15420 #define HAVE_STRUCT_LINK_MAP 1
15421 _ACEOF
15427 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15428 #include <linux/input.h>
15429 #endif
15431 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15433 cat >>confdefs.h <<_ACEOF
15434 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15435 _ACEOF
15441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15442 $as_echo_n "checking for sigaddset... " >&6; }
15443 if ${wine_cv_have_sigaddset+:} false; then :
15444 $as_echo_n "(cached) " >&6
15445 else
15446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15447 /* end confdefs.h. */
15448 #include <signal.h>
15450 main ()
15452 sigset_t set; sigaddset(&set,SIGTERM);
15454 return 0;
15456 _ACEOF
15457 if ac_fn_c_try_link "$LINENO"; then :
15458 wine_cv_have_sigaddset=yes
15459 else
15460 wine_cv_have_sigaddset=no
15462 rm -f core conftest.err conftest.$ac_objext \
15463 conftest$ac_exeext conftest.$ac_ext
15465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15466 $as_echo "$wine_cv_have_sigaddset" >&6; }
15467 if test "$wine_cv_have_sigaddset" = "yes"
15468 then
15470 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15476 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15477 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15478 $as_echo_n "(cached) " >&6
15479 else
15480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15481 /* end confdefs.h. */
15482 #include <netdb.h>
15484 main ()
15487 char *name=0;
15488 struct hostent he;
15489 struct hostent *result;
15490 char *buf=0;
15491 int bufsize=0;
15492 int errnr;
15493 char *addr=0;
15494 int addrlen=0;
15495 int addrtype=0;
15496 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15497 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15500 return 0;
15502 _ACEOF
15503 if ac_fn_c_try_link "$LINENO"; then :
15504 wine_cv_linux_gethostbyname_r_6=yes
15505 else
15506 wine_cv_linux_gethostbyname_r_6=no
15509 rm -f core conftest.err conftest.$ac_objext \
15510 conftest$ac_exeext conftest.$ac_ext
15513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15514 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15515 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15516 then
15518 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15522 if test "$ac_cv_header_linux_joystick_h" = "yes"
15523 then
15524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15525 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15526 if ${wine_cv_linux_joystick_22_api+:} false; then :
15527 $as_echo_n "(cached) " >&6
15528 else
15529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15530 /* end confdefs.h. */
15532 #include <sys/ioctl.h>
15533 #include <sys/types.h>
15534 #include <linux/joystick.h>
15536 struct js_event blub;
15537 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15538 #error "no 2.2 header"
15539 #endif
15542 main ()
15544 /*empty*/
15546 return 0;
15548 _ACEOF
15549 if ac_fn_c_try_compile "$LINENO"; then :
15550 wine_cv_linux_joystick_22_api=yes
15551 else
15552 wine_cv_linux_joystick_22_api=no
15554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15558 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15559 if test "$wine_cv_linux_joystick_22_api" = "yes"
15560 then
15562 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15568 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15569 #ifdef HAVE_SYS_PARAM_H
15570 # include <sys/param.h>
15571 #endif
15572 #ifdef HAVE_SYS_MOUNT_H
15573 # include <sys/mount.h>
15574 #endif
15575 #ifdef HAVE_SYS_VFS_H
15576 # include <sys/vfs.h>
15577 #endif
15578 #ifdef HAVE_SYS_STATFS_H
15579 # include <sys/statfs.h>
15580 #endif
15582 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15584 cat >>confdefs.h <<_ACEOF
15585 #define HAVE_STRUCT_STATFS_F_BFREE 1
15586 _ACEOF
15590 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15591 #ifdef HAVE_SYS_PARAM_H
15592 # include <sys/param.h>
15593 #endif
15594 #ifdef HAVE_SYS_MOUNT_H
15595 # include <sys/mount.h>
15596 #endif
15597 #ifdef HAVE_SYS_VFS_H
15598 # include <sys/vfs.h>
15599 #endif
15600 #ifdef HAVE_SYS_STATFS_H
15601 # include <sys/statfs.h>
15602 #endif
15604 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
15606 cat >>confdefs.h <<_ACEOF
15607 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15608 _ACEOF
15612 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15613 #ifdef HAVE_SYS_PARAM_H
15614 # include <sys/param.h>
15615 #endif
15616 #ifdef HAVE_SYS_MOUNT_H
15617 # include <sys/mount.h>
15618 #endif
15619 #ifdef HAVE_SYS_VFS_H
15620 # include <sys/vfs.h>
15621 #endif
15622 #ifdef HAVE_SYS_STATFS_H
15623 # include <sys/statfs.h>
15624 #endif
15626 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
15628 cat >>confdefs.h <<_ACEOF
15629 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15630 _ACEOF
15634 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15635 #ifdef HAVE_SYS_PARAM_H
15636 # include <sys/param.h>
15637 #endif
15638 #ifdef HAVE_SYS_MOUNT_H
15639 # include <sys/mount.h>
15640 #endif
15641 #ifdef HAVE_SYS_VFS_H
15642 # include <sys/vfs.h>
15643 #endif
15644 #ifdef HAVE_SYS_STATFS_H
15645 # include <sys/statfs.h>
15646 #endif
15648 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
15650 cat >>confdefs.h <<_ACEOF
15651 #define HAVE_STRUCT_STATFS_F_FFREE 1
15652 _ACEOF
15656 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15657 #ifdef HAVE_SYS_PARAM_H
15658 # include <sys/param.h>
15659 #endif
15660 #ifdef HAVE_SYS_MOUNT_H
15661 # include <sys/mount.h>
15662 #endif
15663 #ifdef HAVE_SYS_VFS_H
15664 # include <sys/vfs.h>
15665 #endif
15666 #ifdef HAVE_SYS_STATFS_H
15667 # include <sys/statfs.h>
15668 #endif
15670 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
15672 cat >>confdefs.h <<_ACEOF
15673 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15674 _ACEOF
15678 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15679 #ifdef HAVE_SYS_PARAM_H
15680 # include <sys/param.h>
15681 #endif
15682 #ifdef HAVE_SYS_MOUNT_H
15683 # include <sys/mount.h>
15684 #endif
15685 #ifdef HAVE_SYS_VFS_H
15686 # include <sys/vfs.h>
15687 #endif
15688 #ifdef HAVE_SYS_STATFS_H
15689 # include <sys/statfs.h>
15690 #endif
15692 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
15694 cat >>confdefs.h <<_ACEOF
15695 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15696 _ACEOF
15702 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15703 #include <sys/statvfs.h>
15704 #endif
15706 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
15708 cat >>confdefs.h <<_ACEOF
15709 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15710 _ACEOF
15716 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15717 #include <dirent.h>
15718 #endif
15720 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
15722 cat >>confdefs.h <<_ACEOF
15723 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15724 _ACEOF
15730 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15731 #ifdef HAVE_SYS_SOCKET_H
15732 # include <sys/socket.h>
15733 #endif
15734 #ifdef HAVE_SYS_UN_H
15735 # include <sys/un.h>
15736 #endif
15738 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
15740 cat >>confdefs.h <<_ACEOF
15741 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15742 _ACEOF
15746 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15747 #ifdef HAVE_SYS_SOCKET_H
15748 # include <sys/socket.h>
15749 #endif
15750 #ifdef HAVE_SYS_UN_H
15751 # include <sys/un.h>
15752 #endif
15754 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
15756 cat >>confdefs.h <<_ACEOF
15757 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15758 _ACEOF
15762 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15763 #ifdef HAVE_SYS_SOCKET_H
15764 # include <sys/socket.h>
15765 #endif
15766 #ifdef HAVE_SYS_UN_H
15767 # include <sys/un.h>
15768 #endif
15770 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
15772 cat >>confdefs.h <<_ACEOF
15773 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15774 _ACEOF
15780 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15781 #ifdef HAVE_SCSI_SG_H
15782 #include <scsi/sg.h>
15783 #endif
15785 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
15787 cat >>confdefs.h <<_ACEOF
15788 #define HAVE_SCSIREQ_T_CMD 1
15789 _ACEOF
15793 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>
15794 #ifdef HAVE_SCSI_SG_H
15795 #include <scsi/sg.h>
15796 #endif
15798 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
15800 cat >>confdefs.h <<_ACEOF
15801 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15802 _ACEOF
15808 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15810 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
15812 cat >>confdefs.h <<_ACEOF
15813 #define HAVE_SIGINFO_T_SI_FD 1
15814 _ACEOF
15820 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15821 #ifdef HAVE_SYS_MTIO_H
15822 #include <sys/mtio.h>
15823 #endif
15825 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
15827 cat >>confdefs.h <<_ACEOF
15828 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15829 _ACEOF
15833 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15834 #ifdef HAVE_SYS_MTIO_H
15835 #include <sys/mtio.h>
15836 #endif
15838 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
15840 cat >>confdefs.h <<_ACEOF
15841 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15842 _ACEOF
15846 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15847 #ifdef HAVE_SYS_MTIO_H
15848 #include <sys/mtio.h>
15849 #endif
15851 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
15853 cat >>confdefs.h <<_ACEOF
15854 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15855 _ACEOF
15861 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15862 #include <getopt.h>
15863 #endif
15865 if test "x$ac_cv_member_struct_option_name" = xyes; then :
15867 cat >>confdefs.h <<_ACEOF
15868 #define HAVE_STRUCT_OPTION_NAME 1
15869 _ACEOF
15875 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15876 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
15878 cat >>confdefs.h <<_ACEOF
15879 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15880 _ACEOF
15884 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15885 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
15887 cat >>confdefs.h <<_ACEOF
15888 #define HAVE_STRUCT_STAT_ST_MTIM 1
15889 _ACEOF
15893 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15894 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
15896 cat >>confdefs.h <<_ACEOF
15897 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15898 _ACEOF
15902 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15903 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
15905 cat >>confdefs.h <<_ACEOF
15906 #define HAVE_STRUCT_STAT_ST_CTIM 1
15907 _ACEOF
15911 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15912 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
15914 cat >>confdefs.h <<_ACEOF
15915 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15916 _ACEOF
15920 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15921 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
15923 cat >>confdefs.h <<_ACEOF
15924 #define HAVE_STRUCT_STAT_ST_ATIM 1
15925 _ACEOF
15929 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15930 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
15932 cat >>confdefs.h <<_ACEOF
15933 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15934 _ACEOF
15938 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15939 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
15941 cat >>confdefs.h <<_ACEOF
15942 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15943 _ACEOF
15947 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15948 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
15950 cat >>confdefs.h <<_ACEOF
15951 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15952 _ACEOF
15956 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15957 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
15959 cat >>confdefs.h <<_ACEOF
15960 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15961 _ACEOF
15965 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15966 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
15968 cat >>confdefs.h <<_ACEOF
15969 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15970 _ACEOF
15974 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15975 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
15977 cat >>confdefs.h <<_ACEOF
15978 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15979 _ACEOF
15985 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
15986 #include <sys/types.h>
15987 #endif
15988 #ifdef HAVE_NETINET_IN_H
15989 #include <netinet/in.h>
15990 #endif
15992 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
15994 cat >>confdefs.h <<_ACEOF
15995 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
15996 _ACEOF
16002 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16003 #include <resolv.h>
16004 #endif
16006 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16008 cat >>confdefs.h <<_ACEOF
16009 #define HAVE_STRUCT___RES_STATE 1
16010 _ACEOF
16016 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
16017 #include <resolv.h>
16018 #endif
16020 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16022 cat >>confdefs.h <<_ACEOF
16023 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16024 _ACEOF
16030 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16031 #include <sys/types.h>
16032 #endif
16033 #ifdef HAVE_NETINET_IN_H
16034 # include <netinet/in.h>
16035 #endif
16036 #ifdef HAVE_ARPA_NAMESER_H
16037 # include <arpa/nameser.h>
16038 #endif
16040 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16042 cat >>confdefs.h <<_ACEOF
16043 #define HAVE_NS_MSG__MSG_PTR 1
16044 _ACEOF
16050 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16051 #include <sys/types.h>
16052 #endif
16053 #ifdef HAVE_NETINET_IP_H
16054 #include <netinet/ip.h>
16055 #endif
16056 #ifdef HAVE_NETINET_IP_ICMP_H
16057 #include <netinet/ip_icmp.h>
16058 #endif
16059 #ifdef HAVE_NETINET_ICMP_VAR_H
16060 #include <netinet/icmp_var.h>
16061 #endif
16063 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16065 cat >>confdefs.h <<_ACEOF
16066 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16067 _ACEOF
16073 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16074 #include <sys/types.h>
16075 #endif
16076 #ifdef HAVE_ALIAS_H
16077 #include <alias.h>
16078 #endif
16079 #ifdef HAVE_SYS_SOCKET_H
16080 #include <sys/socket.h>
16081 #endif
16082 #ifdef HAVE_SYS_SOCKETVAR_H
16083 #include <sys/socketvar.h>
16084 #endif
16085 #ifdef HAVE_SYS_TIMEOUT_H
16086 #include <sys/timeout.h>
16087 #endif
16088 #ifdef HAVE_NETINET_IN_H
16089 #include <netinet/in.h>
16090 #endif
16091 #ifdef HAVE_NETINET_IN_SYSTM_H
16092 #include <netinet/in_systm.h>
16093 #endif
16094 #ifdef HAVE_NETINET_IP_H
16095 #include <netinet/ip.h>
16096 #endif
16097 #ifdef HAVE_NETINET_IP_VAR_H
16098 #include <netinet/ip_var.h>
16099 #endif
16100 #ifdef HAVE_NETINET_IP_ICMP_H
16101 #include <netinet/ip_icmp.h>
16102 #endif
16103 #ifdef HAVE_NETINET_ICMP_VAR_H
16104 #include <netinet/icmp_var.h>
16105 #endif
16107 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16109 cat >>confdefs.h <<_ACEOF
16110 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16111 _ACEOF
16117 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16118 #include <sys/types.h>
16119 #endif
16120 #ifdef HAVE_SYS_SOCKETVAR_H
16121 #include <sys/socketvar.h>
16122 #endif
16123 #ifdef HAVE_NETINET_IN_H
16124 #include <netinet/in.h>
16125 #endif
16126 #ifdef HAVE_NETINET_IP_VAR_H
16127 #include <netinet/ip_var.h>
16128 #endif
16130 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16132 cat >>confdefs.h <<_ACEOF
16133 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16134 _ACEOF
16140 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
16141 #include <netinet/ip_var.h>
16142 #endif
16144 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16146 cat >>confdefs.h <<_ACEOF
16147 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16148 _ACEOF
16154 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16155 #include <sys/types.h>
16156 #endif
16157 #ifdef HAVE_SYS_SOCKETVAR_H
16158 #include <sys/socketvar.h>
16159 #endif
16160 #ifdef HAVE_NETINET_IN_H
16161 #include <netinet/in.h>
16162 #endif
16163 #ifdef HAVE_NETINET_TCP_H
16164 #include <netinet/tcp.h>
16165 #endif
16166 #ifdef HAVE_NETINET_TCP_VAR_H
16167 #include <netinet/tcp_var.h>
16168 #endif
16170 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16172 cat >>confdefs.h <<_ACEOF
16173 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16174 _ACEOF
16180 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
16181 #include <netinet/tcp_var.h>
16182 #endif
16184 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16186 cat >>confdefs.h <<_ACEOF
16187 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16188 _ACEOF
16194 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16195 #include <sys/types.h>
16196 #endif
16197 #ifdef HAVE_NETINET_IN_H
16198 #include <netinet/in.h>
16199 #endif
16200 #ifdef HAVE_NETINET_IP_VAR_H
16201 #include <netinet/ip_var.h>
16202 #endif
16203 #ifdef HAVE_NETINET_UDP_H
16204 #include <netinet/udp.h>
16205 #endif
16206 #ifdef HAVE_NETINET_UDP_VAR_H
16207 #include <netinet/udp_var.h>
16208 #endif
16210 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16212 cat >>confdefs.h <<_ACEOF
16213 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16214 _ACEOF
16220 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16221 #include <sys/types.h>
16222 #endif
16223 #ifdef HAVE_NET_IF_H
16224 # include <net/if.h>
16225 #endif
16227 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16229 cat >>confdefs.h <<_ACEOF
16230 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16231 _ACEOF
16237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16238 $as_echo_n "checking for timezone variable... " >&6; }
16239 if ${ac_cv_have_timezone+:} false; then :
16240 $as_echo_n "(cached) " >&6
16241 else
16242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16243 /* end confdefs.h. */
16244 #include <time.h>
16246 main ()
16248 timezone = 1
16250 return 0;
16252 _ACEOF
16253 if ac_fn_c_try_link "$LINENO"; then :
16254 ac_cv_have_timezone="yes"
16255 else
16256 ac_cv_have_timezone="no"
16258 rm -f core conftest.err conftest.$ac_objext \
16259 conftest$ac_exeext conftest.$ac_ext
16261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16262 $as_echo "$ac_cv_have_timezone" >&6; }
16263 if test "$ac_cv_have_timezone" = "yes"
16264 then
16266 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16270 $as_echo_n "checking for daylight variable... " >&6; }
16271 if ${ac_cv_have_daylight+:} false; then :
16272 $as_echo_n "(cached) " >&6
16273 else
16274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16275 /* end confdefs.h. */
16276 #include <time.h>
16278 main ()
16280 daylight = 1
16282 return 0;
16284 _ACEOF
16285 if ac_fn_c_try_link "$LINENO"; then :
16286 ac_cv_have_daylight="yes"
16287 else
16288 ac_cv_have_daylight="no"
16290 rm -f core conftest.err conftest.$ac_objext \
16291 conftest$ac_exeext conftest.$ac_ext
16293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16294 $as_echo "$ac_cv_have_daylight" >&6; }
16295 if test "$ac_cv_have_daylight" = "yes"
16296 then
16298 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16302 ac_save_LIBS="$LIBS"
16303 LIBS="$LIBS -lm"
16304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16305 $as_echo_n "checking for isfinite... " >&6; }
16306 if ${ac_cv_have_isfinite+:} false; then :
16307 $as_echo_n "(cached) " >&6
16308 else
16309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16310 /* end confdefs.h. */
16311 #define _GNU_SOURCE
16312 #include <math.h>
16314 main ()
16316 float f = 0.0; return isfinite(f)
16318 return 0;
16320 _ACEOF
16321 if ac_fn_c_try_link "$LINENO"; then :
16322 ac_cv_have_isfinite="yes"
16323 else
16324 ac_cv_have_isfinite="no"
16326 rm -f core conftest.err conftest.$ac_objext \
16327 conftest$ac_exeext conftest.$ac_ext
16329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16330 $as_echo "$ac_cv_have_isfinite" >&6; }
16331 if test "$ac_cv_have_isfinite" = "yes"
16332 then
16334 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16338 ac_save_LIBS="$LIBS"
16339 LIBS="$LIBS -lm"
16340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16341 $as_echo_n "checking for isinf... " >&6; }
16342 if ${ac_cv_have_isinf+:} false; then :
16343 $as_echo_n "(cached) " >&6
16344 else
16345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16346 /* end confdefs.h. */
16347 #include <math.h>
16349 main ()
16351 float f = 0.0; return isinf(f)
16353 return 0;
16355 _ACEOF
16356 if ac_fn_c_try_link "$LINENO"; then :
16357 ac_cv_have_isinf="yes"
16358 else
16359 ac_cv_have_isinf="no"
16361 rm -f core conftest.err conftest.$ac_objext \
16362 conftest$ac_exeext conftest.$ac_ext
16364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16365 $as_echo "$ac_cv_have_isinf" >&6; }
16366 if test "$ac_cv_have_isinf" = "yes"
16367 then
16369 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16374 $as_echo_n "checking for isnan... " >&6; }
16375 if ${ac_cv_have_isnan+:} false; then :
16376 $as_echo_n "(cached) " >&6
16377 else
16378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16379 /* end confdefs.h. */
16380 #include <math.h>
16382 main ()
16384 float f = 0.0; return isnan(f)
16386 return 0;
16388 _ACEOF
16389 if ac_fn_c_try_link "$LINENO"; then :
16390 ac_cv_have_isnan="yes"
16391 else
16392 ac_cv_have_isnan="no"
16394 rm -f core conftest.err conftest.$ac_objext \
16395 conftest$ac_exeext conftest.$ac_ext
16397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16398 $as_echo "$ac_cv_have_isnan" >&6; }
16399 if test "$ac_cv_have_isnan" = "yes"
16400 then
16402 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16405 LIBS="$ac_save_LIBS"
16408 case $host_cpu in
16409 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16410 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16411 if ${ac_cv_cpp_def___i386__+:} false; then :
16412 $as_echo_n "(cached) " >&6
16413 else
16414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16415 /* end confdefs.h. */
16416 #ifndef __i386__
16418 #endif
16419 _ACEOF
16420 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16421 $EGREP "yes" >/dev/null 2>&1; then :
16422 ac_cv_cpp_def___i386__=yes
16423 else
16424 ac_cv_cpp_def___i386__=no
16426 rm -f conftest*
16429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16430 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16431 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16432 CFLAGS="$CFLAGS -D__i386__"
16433 LINTFLAGS="$LINTFLAGS -D__i386__"
16434 fi ;;
16435 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16436 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16437 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16438 $as_echo_n "(cached) " >&6
16439 else
16440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16441 /* end confdefs.h. */
16442 #ifndef __x86_64__
16444 #endif
16445 _ACEOF
16446 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16447 $EGREP "yes" >/dev/null 2>&1; then :
16448 ac_cv_cpp_def___x86_64__=yes
16449 else
16450 ac_cv_cpp_def___x86_64__=no
16452 rm -f conftest*
16455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16456 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16457 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16458 CFLAGS="$CFLAGS -D__x86_64__"
16459 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16460 fi ;;
16461 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16462 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16463 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16464 $as_echo_n "(cached) " >&6
16465 else
16466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16467 /* end confdefs.h. */
16468 #ifndef __sparc64__
16470 #endif
16471 _ACEOF
16472 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16473 $EGREP "yes" >/dev/null 2>&1; then :
16474 ac_cv_cpp_def___sparc64__=yes
16475 else
16476 ac_cv_cpp_def___sparc64__=no
16478 rm -f conftest*
16481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16482 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16483 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
16484 CFLAGS="$CFLAGS -D__sparc64__"
16485 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16486 fi ;;
16487 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16488 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16489 if ${ac_cv_cpp_def___sparc__+:} false; then :
16490 $as_echo_n "(cached) " >&6
16491 else
16492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16493 /* end confdefs.h. */
16494 #ifndef __sparc__
16496 #endif
16497 _ACEOF
16498 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16499 $EGREP "yes" >/dev/null 2>&1; then :
16500 ac_cv_cpp_def___sparc__=yes
16501 else
16502 ac_cv_cpp_def___sparc__=no
16504 rm -f conftest*
16507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16508 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16509 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
16510 CFLAGS="$CFLAGS -D__sparc__"
16511 LINTFLAGS="$LINTFLAGS -D__sparc__"
16512 fi ;;
16513 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16514 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16515 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
16516 $as_echo_n "(cached) " >&6
16517 else
16518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16519 /* end confdefs.h. */
16520 #ifndef __powerpc64__
16522 #endif
16523 _ACEOF
16524 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16525 $EGREP "yes" >/dev/null 2>&1; then :
16526 ac_cv_cpp_def___powerpc64__=yes
16527 else
16528 ac_cv_cpp_def___powerpc64__=no
16530 rm -f conftest*
16533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16534 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16535 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
16536 CFLAGS="$CFLAGS -D__powerpc64__"
16537 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
16538 fi ;;
16539 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16540 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16541 if ${ac_cv_cpp_def___powerpc__+:} false; then :
16542 $as_echo_n "(cached) " >&6
16543 else
16544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16545 /* end confdefs.h. */
16546 #ifndef __powerpc__
16548 #endif
16549 _ACEOF
16550 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16551 $EGREP "yes" >/dev/null 2>&1; then :
16552 ac_cv_cpp_def___powerpc__=yes
16553 else
16554 ac_cv_cpp_def___powerpc__=no
16556 rm -f conftest*
16559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16560 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16561 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
16562 CFLAGS="$CFLAGS -D__powerpc__"
16563 LINTFLAGS="$LINTFLAGS -D__powerpc__"
16564 fi ;;
16565 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16566 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16567 if ${ac_cv_cpp_def___aarch64__+:} false; then :
16568 $as_echo_n "(cached) " >&6
16569 else
16570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16571 /* end confdefs.h. */
16572 #ifndef __aarch64__
16574 #endif
16575 _ACEOF
16576 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16577 $EGREP "yes" >/dev/null 2>&1; then :
16578 ac_cv_cpp_def___aarch64__=yes
16579 else
16580 ac_cv_cpp_def___aarch64__=no
16582 rm -f conftest*
16585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16586 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16587 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
16588 CFLAGS="$CFLAGS -D__aarch64__"
16589 LINTFLAGS="$LINTFLAGS -D__aarch64__"
16590 fi ;;
16591 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16592 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16593 if ${ac_cv_cpp_def___arm__+:} false; then :
16594 $as_echo_n "(cached) " >&6
16595 else
16596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16597 /* end confdefs.h. */
16598 #ifndef __arm__
16600 #endif
16601 _ACEOF
16602 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16603 $EGREP "yes" >/dev/null 2>&1; then :
16604 ac_cv_cpp_def___arm__=yes
16605 else
16606 ac_cv_cpp_def___arm__=no
16608 rm -f conftest*
16611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16612 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16613 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
16614 CFLAGS="$CFLAGS -D__arm__"
16615 LINTFLAGS="$LINTFLAGS -D__arm__"
16616 fi ;;
16617 esac
16619 case $host_vendor in
16620 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16621 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16622 if ${ac_cv_cpp_def___sun__+:} false; then :
16623 $as_echo_n "(cached) " >&6
16624 else
16625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16626 /* end confdefs.h. */
16627 #ifndef __sun__
16629 #endif
16630 _ACEOF
16631 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16632 $EGREP "yes" >/dev/null 2>&1; then :
16633 ac_cv_cpp_def___sun__=yes
16634 else
16635 ac_cv_cpp_def___sun__=no
16637 rm -f conftest*
16640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16641 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16642 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
16643 CFLAGS="$CFLAGS -D__sun__"
16644 LINTFLAGS="$LINTFLAGS -D__sun__"
16645 fi ;;
16646 esac
16652 ac_config_commands="$ac_config_commands include/stamp-h"
16654 $as_echo_n "creating Makefile rules..." >&6
16656 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
16657 SOCKET_LIBS = $SOCKET_LIBS
16658 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16659 IOKIT_LIBS = $IOKIT_LIBS
16660 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16661 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16662 CORESERVICES_LIBS = $CORESERVICES_LIBS
16663 APPKIT_LIBS = $APPKIT_LIBS
16664 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16665 SECURITY_LIBS = $SECURITY_LIBS
16666 COREAUDIO_LIBS = $COREAUDIO_LIBS
16667 OPENAL_LIBS = $OPENAL_LIBS
16668 OPENCL_LIBS = $OPENCL_LIBS
16669 QUICKTIME_LIBS = $QUICKTIME_LIBS
16670 CARBON_LIBS = $CARBON_LIBS
16671 PTHREAD_LIBS = $PTHREAD_LIBS
16672 X_CFLAGS = $X_CFLAGS
16673 X_PRE_LIBS = $X_PRE_LIBS
16674 X_LIBS = $X_LIBS
16675 X_EXTRA_LIBS = $X_EXTRA_LIBS
16676 XML2_CFLAGS = $XML2_CFLAGS
16677 XML2_LIBS = $XML2_LIBS
16678 XSLT_CFLAGS = $XSLT_CFLAGS
16679 XSLT_LIBS = $XSLT_LIBS
16680 DBUS_CFLAGS = $DBUS_CFLAGS
16681 DBUS_LIBS = $DBUS_LIBS
16682 HAL_CFLAGS = $HAL_CFLAGS
16683 HAL_LIBS = $HAL_LIBS
16684 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16685 GNUTLS_LIBS = $GNUTLS_LIBS
16686 SANE_CFLAGS = $SANE_CFLAGS
16687 SANE_LIBS = $SANE_LIBS
16688 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16689 GPHOTO2_LIBS = $GPHOTO2_LIBS
16690 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16691 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16692 RESOLV_LIBS = $RESOLV_LIBS
16693 LCMS2_CFLAGS = $LCMS2_CFLAGS
16694 LCMS2_LIBS = $LCMS2_LIBS
16695 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16696 FREETYPE_LIBS = $FREETYPE_LIBS
16697 Z_LIBS = $Z_LIBS
16698 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16699 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16700 GSTREAMER_LIBS = $GSTREAMER_LIBS
16701 ALSA_LIBS = $ALSA_LIBS
16702 OSS4_CFLAGS = $OSS4_CFLAGS
16703 CAPI20_CFLAGS = $CAPI20_CFLAGS
16704 CAPI20_LIBS = $CAPI20_LIBS
16705 CUPS_CFLAGS = $CUPS_CFLAGS
16706 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16707 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16708 JPEG_CFLAGS = $JPEG_CFLAGS
16709 JPEG_LIBS = $JPEG_LIBS
16710 PNG_CFLAGS = $PNG_CFLAGS
16711 PNG_LIBS = $PNG_LIBS
16712 TIFF_CFLAGS = $TIFF_CFLAGS
16713 TIFF_LIBS = $TIFF_LIBS
16714 MPG123_CFLAGS = $MPG123_CFLAGS
16715 MPG123_LIBS = $MPG123_LIBS
16716 KSTAT_LIBS = $KSTAT_LIBS
16717 PROCSTAT_LIBS = $PROCSTAT_LIBS
16718 DL_LIBS = $DL_LIBS
16719 POLL_LIBS = $POLL_LIBS
16720 RT_LIBS = $RT_LIBS
16721 LDAP_LIBS = $LDAP_LIBS
16726 wine_fn_append_rule "
16727 # Rules automatically generated by configure
16729 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16731 .INIT: Makefile
16732 .MAKEFILEDEPS:
16733 all: Makefile
16734 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16735 @./config.status Make.tmp Makefile"
16737 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
16738 .gitignore: config.status
16739 @./config.status .gitignore"
16741 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
16742 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16744 if test "x$enable_fonts" != xno; then
16745 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16746 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16747 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16748 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16749 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf
16751 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16752 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
16753 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
16754 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
16755 ac_config_links="$ac_config_links wine:tools/winewrapper"
16756 wine_fn_config_symlink wine
16757 if test "x$enable_win64" != xno; then
16758 ac_config_links="$ac_config_links wine64:tools/winewrapper"
16759 wine_fn_config_symlink wine64
16762 wine_fn_config_dll acledit enable_acledit
16763 wine_fn_config_dll aclui enable_aclui implib
16764 wine_fn_config_dll activeds enable_activeds implib
16765 wine_fn_config_dll actxprxy enable_actxprxy clean
16766 wine_fn_config_lib adsiid
16767 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
16768 wine_fn_config_test dlls/advapi32/tests advapi32_test
16769 wine_fn_config_dll advpack enable_advpack implib
16770 wine_fn_config_test dlls/advpack/tests advpack_test
16771 wine_fn_config_dll amstream enable_amstream clean
16772 wine_fn_config_test dlls/amstream/tests amstream_test
16773 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16774 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16775 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16776 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16777 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16778 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
16779 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16780 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16781 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16782 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16783 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
16784 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
16785 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
16786 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
16787 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
16788 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16789 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
16790 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
16791 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
16792 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16793 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
16794 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
16795 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
16796 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
16797 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
16798 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
16799 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
16800 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
16801 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
16802 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
16803 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
16804 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
16805 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
16806 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
16807 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
16808 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16809 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16810 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16811 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16812 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16813 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16814 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16815 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16816 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16817 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16818 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16819 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
16820 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
16821 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16822 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
16823 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
16824 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
16825 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
16826 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
16827 wine_fn_config_dll apphelp enable_apphelp
16828 wine_fn_config_test dlls/apphelp/tests apphelp_test
16829 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16830 wine_fn_config_dll atl enable_atl clean,implib
16831 wine_fn_config_test dlls/atl/tests atl_test
16832 wine_fn_config_dll atl100 enable_atl100 clean,implib
16833 wine_fn_config_test dlls/atl100/tests atl100_test
16834 wine_fn_config_dll atl110 enable_atl110 clean
16835 wine_fn_config_dll atl80 enable_atl80 clean,implib
16836 wine_fn_config_test dlls/atl80/tests atl80_test
16837 wine_fn_config_dll atl90 enable_atl90 clean
16838 wine_fn_config_dll authz enable_authz
16839 wine_fn_config_dll avicap32 enable_avicap32 implib
16840 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
16841 wine_fn_config_test dlls/avifil32/tests avifil32_test
16842 wine_fn_config_dll avifile.dll16 enable_win16
16843 wine_fn_config_dll avrt enable_avrt implib
16844 wine_fn_config_dll bcrypt enable_bcrypt
16845 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
16846 wine_fn_config_dll browseui enable_browseui clean,po
16847 wine_fn_config_test dlls/browseui/tests browseui_test
16848 wine_fn_config_dll cabinet enable_cabinet implib
16849 wine_fn_config_test dlls/cabinet/tests cabinet_test
16850 wine_fn_config_dll capi2032 enable_capi2032 implib
16851 wine_fn_config_dll cards enable_cards implib
16852 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16853 wine_fn_config_dll clusapi enable_clusapi implib
16854 wine_fn_config_dll comcat enable_comcat
16855 wine_fn_config_test dlls/comcat/tests comcat_test
16856 wine_fn_config_dll comctl32 enable_comctl32 implib,po
16857 wine_fn_config_test dlls/comctl32/tests comctl32_test
16858 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
16859 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
16860 wine_fn_config_dll comm.drv16 enable_win16
16861 wine_fn_config_dll commdlg.dll16 enable_win16
16862 wine_fn_config_dll compobj.dll16 enable_win16
16863 wine_fn_config_dll compstui enable_compstui implib
16864 wine_fn_config_dll comsvcs enable_comsvcs implib
16865 wine_fn_config_dll credui enable_credui implib,po
16866 wine_fn_config_test dlls/credui/tests credui_test
16867 wine_fn_config_dll crtdll enable_crtdll implib
16868 wine_fn_config_dll crypt32 enable_crypt32 implib,po
16869 wine_fn_config_test dlls/crypt32/tests crypt32_test
16870 wine_fn_config_dll cryptdlg enable_cryptdlg po
16871 wine_fn_config_dll cryptdll enable_cryptdll implib
16872 wine_fn_config_dll cryptext enable_cryptext
16873 wine_fn_config_dll cryptnet enable_cryptnet implib
16874 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
16875 wine_fn_config_dll cryptui enable_cryptui implib,po
16876 wine_fn_config_test dlls/cryptui/tests cryptui_test
16877 wine_fn_config_dll ctapi32 enable_ctapi32
16878 wine_fn_config_dll ctl3d.dll16 enable_win16
16879 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16880 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16881 wine_fn_config_dll d2d1 enable_d2d1 implib
16882 wine_fn_config_test dlls/d2d1/tests d2d1_test
16883 wine_fn_config_dll d3d10 enable_d3d10 implib
16884 wine_fn_config_test dlls/d3d10/tests d3d10_test
16885 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
16886 wine_fn_config_dll d3d10core enable_d3d10core implib
16887 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
16888 wine_fn_config_dll d3d11 enable_d3d11
16889 wine_fn_config_dll d3d8 enable_d3d8 implib
16890 wine_fn_config_test dlls/d3d8/tests d3d8_test
16891 wine_fn_config_dll d3d9 enable_d3d9 implib
16892 wine_fn_config_test dlls/d3d9/tests d3d9_test
16893 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16894 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16895 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16896 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16897 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16898 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16899 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16900 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16901 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16902 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16903 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16904 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
16905 wine_fn_config_dll d3dim enable_d3dim implib
16906 wine_fn_config_dll d3drm enable_d3drm implib
16907 wine_fn_config_test dlls/d3drm/tests d3drm_test
16908 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16909 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16910 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16911 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16912 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16913 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16914 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16915 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16916 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16917 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16918 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16919 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16920 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16921 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16922 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16923 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16924 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16925 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16926 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16927 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16928 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16929 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16930 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16931 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16932 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16933 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16934 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
16935 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16936 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16937 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16938 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16939 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16940 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16941 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16942 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
16943 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
16944 wine_fn_config_dll dbgeng enable_dbgeng implib
16945 wine_fn_config_dll dbghelp enable_dbghelp implib
16946 wine_fn_config_dll dciman32 enable_dciman32 implib
16947 wine_fn_config_dll ddeml.dll16 enable_win16
16948 wine_fn_config_dll ddraw enable_ddraw clean,implib
16949 wine_fn_config_test dlls/ddraw/tests ddraw_test
16950 wine_fn_config_dll ddrawex enable_ddrawex clean
16951 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
16952 wine_fn_config_dll devenum enable_devenum clean,po
16953 wine_fn_config_test dlls/devenum/tests devenum_test
16954 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16955 wine_fn_config_dll difxapi enable_difxapi
16956 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
16957 wine_fn_config_test dlls/dinput/tests dinput_test
16958 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
16959 wine_fn_config_test dlls/dinput8/tests dinput8_test
16960 wine_fn_config_dll dispdib.dll16 enable_win16
16961 wine_fn_config_dll dispex enable_dispex clean
16962 wine_fn_config_test dlls/dispex/tests dispex_test
16963 wine_fn_config_dll display.drv16 enable_win16
16964 wine_fn_config_dll dmband enable_dmband clean
16965 wine_fn_config_test dlls/dmband/tests dmband_test
16966 wine_fn_config_dll dmcompos enable_dmcompos clean
16967 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
16968 wine_fn_config_dll dmime enable_dmime clean
16969 wine_fn_config_test dlls/dmime/tests dmime_test
16970 wine_fn_config_dll dmloader enable_dmloader clean
16971 wine_fn_config_test dlls/dmloader/tests dmloader_test
16972 wine_fn_config_dll dmscript enable_dmscript clean
16973 wine_fn_config_test dlls/dmscript/tests dmscript_test
16974 wine_fn_config_dll dmstyle enable_dmstyle clean
16975 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
16976 wine_fn_config_dll dmsynth enable_dmsynth clean
16977 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
16978 wine_fn_config_dll dmusic enable_dmusic clean
16979 wine_fn_config_test dlls/dmusic/tests dmusic_test
16980 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16981 wine_fn_config_dll dnsapi enable_dnsapi implib
16982 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
16983 wine_fn_config_dll dplay enable_dplay implib
16984 wine_fn_config_dll dplayx enable_dplayx clean,implib
16985 wine_fn_config_test dlls/dplayx/tests dplayx_test
16986 wine_fn_config_dll dpnaddr enable_dpnaddr
16987 wine_fn_config_dll dpnet enable_dpnet clean,implib
16988 wine_fn_config_test dlls/dpnet/tests dpnet_test
16989 wine_fn_config_dll dpnhpast enable_dpnhpast
16990 wine_fn_config_dll dpnlobby enable_dpnlobby
16991 wine_fn_config_dll dpvoice enable_dpvoice clean
16992 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
16993 wine_fn_config_dll dpwsockx enable_dpwsockx
16994 wine_fn_config_dll drmclien enable_drmclien
16995 wine_fn_config_dll dsound enable_dsound clean,implib
16996 wine_fn_config_test dlls/dsound/tests dsound_test
16997 wine_fn_config_dll dssenh enable_dssenh
16998 wine_fn_config_test dlls/dssenh/tests dssenh_test
16999 wine_fn_config_dll dswave enable_dswave clean
17000 wine_fn_config_test dlls/dswave/tests dswave_test
17001 wine_fn_config_dll dwmapi enable_dwmapi implib
17002 wine_fn_config_dll dwrite enable_dwrite implib
17003 wine_fn_config_test dlls/dwrite/tests dwrite_test
17004 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
17005 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17006 wine_fn_config_lib dxerr8
17007 wine_fn_config_lib dxerr9
17008 wine_fn_config_dll dxgi enable_dxgi implib
17009 wine_fn_config_test dlls/dxgi/tests dxgi_test
17010 wine_fn_config_lib dxguid
17011 wine_fn_config_dll dxva2 enable_dxva2
17012 wine_fn_config_dll explorerframe enable_explorerframe clean
17013 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17014 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17015 wine_fn_config_dll faultrep enable_faultrep implib
17016 wine_fn_config_test dlls/faultrep/tests faultrep_test
17017 wine_fn_config_dll fltlib enable_fltlib
17018 wine_fn_config_dll fntcache enable_fntcache
17019 wine_fn_config_dll fontsub enable_fontsub
17020 wine_fn_config_dll fusion enable_fusion
17021 wine_fn_config_test dlls/fusion/tests fusion_test
17022 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17023 wine_fn_config_dll gameux enable_gameux clean
17024 wine_fn_config_test dlls/gameux/tests gameux_test
17025 wine_fn_config_dll gdi.exe16 enable_win16
17026 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
17027 wine_fn_config_test dlls/gdi32/tests gdi32_test
17028 wine_fn_config_dll gdiplus enable_gdiplus implib
17029 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17030 wine_fn_config_dll glu32 enable_glu32 implib
17031 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17032 wine_fn_config_dll gpkcsp enable_gpkcsp
17033 wine_fn_config_dll hal enable_hal
17034 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
17035 wine_fn_config_dll hid enable_hid implib
17036 wine_fn_config_dll hlink enable_hlink clean,implib
17037 wine_fn_config_test dlls/hlink/tests hlink_test
17038 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17039 wine_fn_config_dll httpapi enable_httpapi
17040 wine_fn_config_dll iccvid enable_iccvid po
17041 wine_fn_config_dll icmp enable_icmp
17042 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
17043 wine_fn_config_test dlls/ieframe/tests ieframe_test
17044 wine_fn_config_dll ifsmgr.vxd enable_win16
17045 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17046 wine_fn_config_dll imagehlp enable_imagehlp implib
17047 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17048 wine_fn_config_dll imm.dll16 enable_win16
17049 wine_fn_config_dll imm32 enable_imm32 implib
17050 wine_fn_config_test dlls/imm32/tests imm32_test
17051 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17052 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17053 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17054 wine_fn_config_dll inetmib1 enable_inetmib1
17055 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17056 wine_fn_config_dll infosoft enable_infosoft clean
17057 wine_fn_config_test dlls/infosoft/tests infosoft_test
17058 wine_fn_config_dll initpki enable_initpki
17059 wine_fn_config_dll inkobj enable_inkobj
17060 wine_fn_config_dll inseng enable_inseng clean
17061 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17062 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17063 wine_fn_config_dll itircl enable_itircl
17064 wine_fn_config_dll itss enable_itss clean
17065 wine_fn_config_test dlls/itss/tests itss_test
17066 wine_fn_config_dll joy.cpl enable_joy_cpl po
17067 wine_fn_config_dll jscript enable_jscript clean,po
17068 wine_fn_config_test dlls/jscript/tests jscript_test
17069 wine_fn_config_dll jsproxy enable_jsproxy implib
17070 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
17071 wine_fn_config_test dlls/kernel32/tests kernel32_test
17072 wine_fn_config_dll keyboard.drv16 enable_win16
17073 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17074 wine_fn_config_dll ksuser enable_ksuser
17075 wine_fn_config_dll ktmw32 enable_ktmw32
17076 wine_fn_config_dll loadperf enable_loadperf implib
17077 wine_fn_config_dll localspl enable_localspl po
17078 wine_fn_config_test dlls/localspl/tests localspl_test
17079 wine_fn_config_dll localui enable_localui po
17080 wine_fn_config_test dlls/localui/tests localui_test
17081 wine_fn_config_dll lz32 enable_lz32 implib
17082 wine_fn_config_test dlls/lz32/tests lz32_test
17083 wine_fn_config_dll lzexpand.dll16 enable_win16
17084 wine_fn_config_dll mapi32 enable_mapi32 implib,po
17085 wine_fn_config_test dlls/mapi32/tests mapi32_test
17086 wine_fn_config_dll mapistub enable_mapistub
17087 wine_fn_config_dll mciavi32 enable_mciavi32
17088 wine_fn_config_dll mcicda enable_mcicda
17089 wine_fn_config_dll mciqtz32 enable_mciqtz32
17090 wine_fn_config_dll mciseq enable_mciseq
17091 wine_fn_config_dll mciwave enable_mciwave
17092 wine_fn_config_dll mgmtapi enable_mgmtapi
17093 wine_fn_config_dll midimap enable_midimap
17094 wine_fn_config_dll mlang enable_mlang clean,implib
17095 wine_fn_config_test dlls/mlang/tests mlang_test
17096 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17097 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17098 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17099 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17100 wine_fn_config_dll mmdevldr.vxd enable_win16
17101 wine_fn_config_dll mmsystem.dll16 enable_win16
17102 wine_fn_config_dll monodebg.vxd enable_win16
17103 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17104 wine_fn_config_dll mouse.drv16 enable_win16
17105 wine_fn_config_dll mpr enable_mpr implib,po
17106 wine_fn_config_test dlls/mpr/tests mpr_test
17107 wine_fn_config_dll mprapi enable_mprapi implib
17108 wine_fn_config_dll msacm.dll16 enable_win16
17109 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17110 wine_fn_config_dll msacm32 enable_msacm32 implib,po
17111 wine_fn_config_test dlls/msacm32/tests msacm32_test
17112 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17113 wine_fn_config_dll msasn1 enable_msasn1 implib
17114 wine_fn_config_dll mscat32 enable_mscat32
17115 wine_fn_config_dll mscms enable_mscms implib
17116 wine_fn_config_test dlls/mscms/tests mscms_test
17117 wine_fn_config_dll mscoree enable_mscoree clean
17118 wine_fn_config_test dlls/mscoree/tests mscoree_test
17119 wine_fn_config_dll msctf enable_msctf clean
17120 wine_fn_config_test dlls/msctf/tests msctf_test
17121 wine_fn_config_dll msdaps enable_msdaps clean
17122 wine_fn_config_dll msdmo enable_msdmo implib
17123 wine_fn_config_dll msftedit enable_msftedit
17124 wine_fn_config_dll msg711.acm enable_msg711_acm
17125 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17126 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17127 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
17128 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17129 wine_fn_config_dll msi enable_msi clean,implib,po
17130 wine_fn_config_test dlls/msi/tests msi_test
17131 wine_fn_config_dll msident enable_msident clean
17132 wine_fn_config_dll msimg32 enable_msimg32 implib
17133 wine_fn_config_dll msimsg enable_msimsg
17134 wine_fn_config_dll msimtf enable_msimtf clean
17135 wine_fn_config_dll msisip enable_msisip
17136 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17137 wine_fn_config_dll msls31 enable_msls31
17138 wine_fn_config_dll msnet32 enable_msnet32
17139 wine_fn_config_dll mspatcha enable_mspatcha
17140 wine_fn_config_dll msrle32 enable_msrle32 po
17141 wine_fn_config_test dlls/msrle32/tests msrle32_test
17142 wine_fn_config_dll mssign32 enable_mssign32
17143 wine_fn_config_dll mssip32 enable_mssip32
17144 wine_fn_config_dll mstask enable_mstask clean
17145 wine_fn_config_test dlls/mstask/tests mstask_test
17146 wine_fn_config_dll msvcirt enable_msvcirt
17147 wine_fn_config_dll msvcm80 enable_msvcm80
17148 wine_fn_config_dll msvcm90 enable_msvcm90
17149 wine_fn_config_dll msvcp100 enable_msvcp100
17150 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17151 wine_fn_config_dll msvcp110 enable_msvcp110
17152 wine_fn_config_dll msvcp120 enable_msvcp120
17153 wine_fn_config_dll msvcp60 enable_msvcp60
17154 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17155 wine_fn_config_dll msvcp70 enable_msvcp70
17156 wine_fn_config_dll msvcp71 enable_msvcp71
17157 wine_fn_config_dll msvcp80 enable_msvcp80
17158 wine_fn_config_dll msvcp90 enable_msvcp90
17159 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17160 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17161 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17162 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17163 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17164 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17165 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17166 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17167 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17168 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17169 wine_fn_config_dll msvcrt enable_msvcrt implib
17170 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17171 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17172 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17173 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17174 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17175 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17176 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17177 wine_fn_config_dll msvidc32 enable_msvidc32 po
17178 wine_fn_config_dll msvideo.dll16 enable_win16
17179 wine_fn_config_dll mswsock enable_mswsock implib
17180 wine_fn_config_dll msxml enable_msxml clean
17181 wine_fn_config_dll msxml2 enable_msxml2 clean
17182 wine_fn_config_dll msxml3 enable_msxml3 clean
17183 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17184 wine_fn_config_dll msxml4 enable_msxml4 clean
17185 wine_fn_config_dll msxml6 enable_msxml6 clean
17186 wine_fn_config_dll nddeapi enable_nddeapi implib
17187 wine_fn_config_dll ndis.sys enable_ndis_sys
17188 wine_fn_config_dll netapi32 enable_netapi32 implib
17189 wine_fn_config_test dlls/netapi32/tests netapi32_test
17190 wine_fn_config_dll netcfgx enable_netcfgx clean
17191 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17192 wine_fn_config_dll netprofm enable_netprofm clean
17193 wine_fn_config_test dlls/netprofm/tests netprofm_test
17194 wine_fn_config_dll newdev enable_newdev implib
17195 wine_fn_config_dll normaliz enable_normaliz implib
17196 wine_fn_config_dll npmshtml enable_npmshtml
17197 wine_fn_config_dll npptools enable_npptools
17198 wine_fn_config_dll ntdll enable_ntdll implib
17199 wine_fn_config_test dlls/ntdll/tests ntdll_test
17200 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17201 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17202 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17203 wine_fn_config_dll ntprint enable_ntprint
17204 wine_fn_config_test dlls/ntprint/tests ntprint_test
17205 wine_fn_config_dll objsel enable_objsel clean
17206 wine_fn_config_dll odbc32 enable_odbc32 implib
17207 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17208 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17209 wine_fn_config_dll odbccu32 enable_odbccu32
17210 wine_fn_config_dll ole2.dll16 enable_win16
17211 wine_fn_config_dll ole2conv.dll16 enable_win16
17212 wine_fn_config_dll ole2disp.dll16 enable_win16
17213 wine_fn_config_dll ole2nls.dll16 enable_win16
17214 wine_fn_config_dll ole2prox.dll16 enable_win16
17215 wine_fn_config_dll ole2thk.dll16 enable_win16
17216 wine_fn_config_dll ole32 enable_ole32 clean,implib
17217 wine_fn_config_test dlls/ole32/tests ole32_test
17218 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17219 wine_fn_config_test dlls/oleacc/tests oleacc_test
17220 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17221 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17222 wine_fn_config_dll olecli.dll16 enable_win16
17223 wine_fn_config_dll olecli32 enable_olecli32 implib
17224 wine_fn_config_dll oledb32 enable_oledb32 clean
17225 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17226 wine_fn_config_dll oledlg enable_oledlg implib,po
17227 wine_fn_config_dll olepro32 enable_olepro32 implib
17228 wine_fn_config_dll olesvr.dll16 enable_win16
17229 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17230 wine_fn_config_dll olethk32 enable_olethk32
17231 wine_fn_config_dll openal32 enable_openal32
17232 wine_fn_config_dll opencl enable_opencl
17233 wine_fn_config_dll opengl32 enable_opengl32 implib
17234 wine_fn_config_test dlls/opengl32/tests opengl32_test
17235 wine_fn_config_dll packager enable_packager clean
17236 wine_fn_config_test dlls/packager/tests packager_test
17237 wine_fn_config_dll pdh enable_pdh implib
17238 wine_fn_config_test dlls/pdh/tests pdh_test
17239 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17240 wine_fn_config_dll pidgen enable_pidgen
17241 wine_fn_config_dll powrprof enable_powrprof implib
17242 wine_fn_config_dll printui enable_printui
17243 wine_fn_config_dll prntvpt enable_prntvpt
17244 wine_fn_config_dll propsys enable_propsys clean,implib
17245 wine_fn_config_test dlls/propsys/tests propsys_test
17246 wine_fn_config_dll psapi enable_psapi implib
17247 wine_fn_config_test dlls/psapi/tests psapi_test
17248 wine_fn_config_dll pstorec enable_pstorec clean
17249 wine_fn_config_dll qcap enable_qcap
17250 wine_fn_config_test dlls/qcap/tests qcap_test
17251 wine_fn_config_dll qedit enable_qedit clean
17252 wine_fn_config_test dlls/qedit/tests qedit_test
17253 wine_fn_config_dll qmgr enable_qmgr clean
17254 wine_fn_config_test dlls/qmgr/tests qmgr_test
17255 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17256 wine_fn_config_dll quartz enable_quartz clean,implib
17257 wine_fn_config_test dlls/quartz/tests quartz_test clean
17258 wine_fn_config_dll query enable_query
17259 wine_fn_config_dll rasapi16.dll16 enable_win16
17260 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17261 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17262 wine_fn_config_dll rasdlg enable_rasdlg implib
17263 wine_fn_config_dll regapi enable_regapi
17264 wine_fn_config_dll resutils enable_resutils implib
17265 wine_fn_config_dll riched20 enable_riched20 implib
17266 wine_fn_config_test dlls/riched20/tests riched20_test
17267 wine_fn_config_dll riched32 enable_riched32
17268 wine_fn_config_test dlls/riched32/tests riched32_test
17269 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17270 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17271 wine_fn_config_dll rsabase enable_rsabase
17272 wine_fn_config_dll rsaenh enable_rsaenh implib
17273 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17274 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17275 wine_fn_config_dll rtutils enable_rtutils implib
17276 wine_fn_config_dll samlib enable_samlib
17277 wine_fn_config_dll sane.ds enable_sane_ds po
17278 wine_fn_config_dll scarddlg enable_scarddlg
17279 wine_fn_config_dll sccbase enable_sccbase
17280 wine_fn_config_dll schannel enable_schannel
17281 wine_fn_config_test dlls/schannel/tests schannel_test
17282 wine_fn_config_dll schedsvc enable_schedsvc clean
17283 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17284 wine_fn_config_dll scrrun enable_scrrun clean
17285 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17286 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17287 wine_fn_config_dll secur32 enable_secur32 implib
17288 wine_fn_config_test dlls/secur32/tests secur32_test
17289 wine_fn_config_dll security enable_security
17290 wine_fn_config_dll sensapi enable_sensapi implib
17291 wine_fn_config_dll serialui enable_serialui implib,po
17292 wine_fn_config_test dlls/serialui/tests serialui_test
17293 wine_fn_config_dll setupapi enable_setupapi implib,po
17294 wine_fn_config_test dlls/setupapi/tests setupapi_test
17295 wine_fn_config_dll setupx.dll16 enable_win16
17296 wine_fn_config_dll sfc enable_sfc implib
17297 wine_fn_config_dll sfc_os enable_sfc_os implib
17298 wine_fn_config_dll shdoclc enable_shdoclc po
17299 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17300 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17301 wine_fn_config_dll shell.dll16 enable_win16
17302 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17303 wine_fn_config_test dlls/shell32/tests shell32_test
17304 wine_fn_config_dll shfolder enable_shfolder implib
17305 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17306 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17307 wine_fn_config_dll slbcsp enable_slbcsp
17308 wine_fn_config_dll slc enable_slc implib
17309 wine_fn_config_dll snmpapi enable_snmpapi implib
17310 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17311 wine_fn_config_dll softpub enable_softpub
17312 wine_fn_config_dll sound.drv16 enable_win16
17313 wine_fn_config_dll spoolss enable_spoolss implib
17314 wine_fn_config_test dlls/spoolss/tests spoolss_test
17315 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17316 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17317 wine_fn_config_dll sti enable_sti clean,implib
17318 wine_fn_config_test dlls/sti/tests sti_test
17319 wine_fn_config_dll storage.dll16 enable_win16
17320 wine_fn_config_dll stress.dll16 enable_win16
17321 wine_fn_config_lib strmbase
17322 wine_fn_config_lib strmiids
17323 wine_fn_config_dll svrapi enable_svrapi
17324 wine_fn_config_dll sxs enable_sxs implib
17325 wine_fn_config_test dlls/sxs/tests sxs_test
17326 wine_fn_config_dll system.drv16 enable_win16
17327 wine_fn_config_dll t2embed enable_t2embed
17328 wine_fn_config_dll tapi32 enable_tapi32 implib
17329 wine_fn_config_dll taskschd enable_taskschd clean
17330 wine_fn_config_test dlls/taskschd/tests taskschd_test
17331 wine_fn_config_dll toolhelp.dll16 enable_win16
17332 wine_fn_config_dll traffic enable_traffic
17333 wine_fn_config_dll twain.dll16 enable_win16
17334 wine_fn_config_dll twain_32 enable_twain_32
17335 wine_fn_config_test dlls/twain_32/tests twain_32_test
17336 wine_fn_config_dll typelib.dll16 enable_win16
17337 wine_fn_config_dll unicows enable_unicows implib
17338 wine_fn_config_dll updspapi enable_updspapi
17339 wine_fn_config_dll url enable_url implib
17340 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17341 wine_fn_config_test dlls/urlmon/tests urlmon_test
17342 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17343 wine_fn_config_dll user.exe16 enable_win16
17344 wine_fn_config_dll user32 enable_user32 clean,implib,po
17345 wine_fn_config_test dlls/user32/tests user32_test
17346 wine_fn_config_dll userenv enable_userenv implib
17347 wine_fn_config_test dlls/userenv/tests userenv_test
17348 wine_fn_config_dll usp10 enable_usp10 implib
17349 wine_fn_config_test dlls/usp10/tests usp10_test
17350 wine_fn_config_lib uuid
17351 wine_fn_config_dll uxtheme enable_uxtheme implib
17352 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17353 wine_fn_config_dll vbscript enable_vbscript clean
17354 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17355 wine_fn_config_dll vcomp enable_vcomp
17356 wine_fn_config_dll vcomp100 enable_vcomp100
17357 wine_fn_config_dll vcomp90 enable_vcomp90
17358 wine_fn_config_dll vdhcp.vxd enable_win16
17359 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17360 wine_fn_config_dll ver.dll16 enable_win16
17361 wine_fn_config_dll version enable_version implib
17362 wine_fn_config_test dlls/version/tests version_test
17363 wine_fn_config_dll vmm.vxd enable_win16
17364 wine_fn_config_dll vnbt.vxd enable_win16
17365 wine_fn_config_dll vnetbios.vxd enable_win16
17366 wine_fn_config_dll vssapi enable_vssapi
17367 wine_fn_config_dll vtdapi.vxd enable_win16
17368 wine_fn_config_dll vwin32.vxd enable_win16
17369 wine_fn_config_dll w32skrnl enable_win16
17370 wine_fn_config_dll w32sys.dll16 enable_win16
17371 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17372 wine_fn_config_dll wbemprox enable_wbemprox clean
17373 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17374 wine_fn_config_dll webservices enable_webservices implib
17375 wine_fn_config_dll wer enable_wer implib
17376 wine_fn_config_test dlls/wer/tests wer_test
17377 wine_fn_config_dll wevtapi enable_wevtapi
17378 wine_fn_config_dll wiaservc enable_wiaservc clean
17379 wine_fn_config_dll win32s16.dll16 enable_win16
17380 wine_fn_config_dll win87em.dll16 enable_win16
17381 wine_fn_config_dll winaspi.dll16 enable_win16
17382 wine_fn_config_dll windebug.dll16 enable_win16
17383 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17384 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17385 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17386 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17387 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17388 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17389 wine_fn_config_lib winecrt0
17390 wine_fn_config_dll wined3d enable_wined3d implib
17391 wine_fn_config_dll winegstreamer enable_winegstreamer
17392 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17393 wine_fn_config_dll winemac.drv enable_winemac_drv
17394 wine_fn_config_dll winemapi enable_winemapi
17395 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17396 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17397 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
17398 wine_fn_config_dll wineps16.drv16 enable_win16
17399 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17400 wine_fn_config_dll winex11.drv enable_winex11_drv
17401 wine_fn_config_dll wing.dll16 enable_win16
17402 wine_fn_config_dll wing32 enable_wing32
17403 wine_fn_config_dll winhttp enable_winhttp clean,implib
17404 wine_fn_config_test dlls/winhttp/tests winhttp_test
17405 wine_fn_config_dll wininet enable_wininet implib,po
17406 wine_fn_config_test dlls/wininet/tests wininet_test
17407 wine_fn_config_dll winmm enable_winmm implib,po
17408 wine_fn_config_test dlls/winmm/tests winmm_test
17409 wine_fn_config_dll winnls.dll16 enable_win16
17410 wine_fn_config_dll winnls32 enable_winnls32 implib
17411 wine_fn_config_dll winscard enable_winscard implib
17412 wine_fn_config_dll winsock.dll16 enable_win16
17413 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17414 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17415 wine_fn_config_dll winsta enable_winsta
17416 wine_fn_config_dll wintab.dll16 enable_win16
17417 wine_fn_config_dll wintab32 enable_wintab32 implib
17418 wine_fn_config_test dlls/wintab32/tests wintab32_test
17419 wine_fn_config_dll wintrust enable_wintrust implib
17420 wine_fn_config_test dlls/wintrust/tests wintrust_test
17421 wine_fn_config_dll wlanapi enable_wlanapi
17422 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17423 wine_fn_config_test dlls/wldap32/tests wldap32_test
17424 wine_fn_config_dll wmi enable_wmi
17425 wine_fn_config_dll wmiutils enable_wmiutils clean
17426 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17427 wine_fn_config_dll wmp enable_wmp clean
17428 wine_fn_config_test dlls/wmp/tests wmp_test
17429 wine_fn_config_dll wmvcore enable_wmvcore
17430 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17431 wine_fn_config_dll wow32 enable_win16 implib
17432 wine_fn_config_dll wpcap enable_wpcap
17433 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17434 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
17435 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17436 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
17437 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17438 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
17439 wine_fn_config_dll wsock32 enable_wsock32 implib
17440 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17441 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
17442 wine_fn_config_dll wuapi enable_wuapi clean
17443 wine_fn_config_dll wuaueng enable_wuaueng
17444 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17445 wine_fn_config_dll xinput1_1 enable_xinput1_1
17446 wine_fn_config_dll xinput1_2 enable_xinput1_2
17447 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17448 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
17449 wine_fn_config_dll xinput1_4 enable_xinput1_4
17450 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17451 wine_fn_config_dll xmllite enable_xmllite implib
17452 wine_fn_config_test dlls/xmllite/tests xmllite_test
17453 wine_fn_config_dll xolehlp enable_xolehlp
17454 wine_fn_config_dll xpsprint enable_xpsprint
17455 wine_fn_config_dll xpssvcs enable_xpssvcs
17456 wine_fn_config_makefile documentation enable_documentation clean
17457 wine_fn_config_makefile fonts enable_fonts clean,install-lib
17458 wine_fn_config_makefile include enable_include clean,install-dev
17459 wine_fn_config_makefile libs/port enable_libs_port
17460 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
17461 wine_fn_config_makefile libs/wpp enable_libs_wpp
17462 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
17463 wine_fn_config_program arp enable_arp install
17464 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
17465 wine_fn_config_program attrib enable_attrib install,po
17466 wine_fn_config_program cabarc enable_cabarc install
17467 wine_fn_config_program cacls enable_cacls install
17468 wine_fn_config_program clock enable_clock install,po
17469 wine_fn_config_program cmd enable_cmd install,po
17470 wine_fn_config_test programs/cmd/tests cmd.exe_test
17471 wine_fn_config_program conhost enable_conhost install
17472 wine_fn_config_program control enable_control install
17473 wine_fn_config_program cscript enable_cscript clean,install
17474 wine_fn_config_program dpnsvr enable_dpnsvr install
17475 wine_fn_config_program dxdiag enable_dxdiag install,po
17476 wine_fn_config_program eject enable_eject install
17477 wine_fn_config_program expand enable_expand install
17478 wine_fn_config_program explorer enable_explorer install,po
17479 wine_fn_config_program extrac32 enable_extrac32 install
17480 wine_fn_config_program findstr enable_findstr install
17481 wine_fn_config_program hh enable_hh install
17482 wine_fn_config_program hostname enable_hostname install,po
17483 wine_fn_config_program icinfo enable_icinfo install
17484 wine_fn_config_program iexplore enable_iexplore install
17485 wine_fn_config_program ipconfig enable_ipconfig install,po
17486 wine_fn_config_program lodctr enable_lodctr install
17487 wine_fn_config_program mofcomp enable_mofcomp install
17488 wine_fn_config_program mshta enable_mshta install
17489 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
17490 wine_fn_config_program net enable_net install,po
17491 wine_fn_config_program netsh enable_netsh install
17492 wine_fn_config_program netstat enable_netstat install,po
17493 wine_fn_config_program ngen enable_ngen install
17494 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
17495 wine_fn_config_program oleview enable_oleview install,po
17496 wine_fn_config_program ping enable_ping install
17497 wine_fn_config_program plugplay enable_plugplay install
17498 wine_fn_config_program presentationfontcache enable_presentationfontcache install
17499 wine_fn_config_program progman enable_progman install,po
17500 wine_fn_config_program reg enable_reg install,po
17501 wine_fn_config_test programs/reg/tests reg.exe_test
17502 wine_fn_config_program regasm enable_regasm install
17503 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
17504 wine_fn_config_test programs/regedit/tests regedit.exe_test
17505 wine_fn_config_program regsvcs enable_regsvcs install
17506 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage,po
17507 wine_fn_config_program rpcss enable_rpcss clean,install
17508 wine_fn_config_program rundll.exe16 enable_win16 install
17509 wine_fn_config_program rundll32 enable_rundll32 install
17510 wine_fn_config_program sc enable_sc install
17511 wine_fn_config_program schtasks enable_schtasks install
17512 wine_fn_config_program sdbinst enable_sdbinst install
17513 wine_fn_config_program secedit enable_secedit install
17514 wine_fn_config_program servicemodelreg enable_servicemodelreg install
17515 wine_fn_config_program services enable_services clean,install
17516 wine_fn_config_test programs/services/tests services.exe_test
17517 wine_fn_config_program spoolsv enable_spoolsv install
17518 wine_fn_config_program start enable_start install,po
17519 wine_fn_config_program svchost enable_svchost install
17520 wine_fn_config_program systeminfo enable_systeminfo install
17521 wine_fn_config_program taskkill enable_taskkill install,po
17522 wine_fn_config_program tasklist enable_tasklist install
17523 wine_fn_config_program taskmgr enable_taskmgr install,po
17524 wine_fn_config_program termsv enable_termsv install
17525 wine_fn_config_program uninstaller enable_uninstaller install,po
17526 wine_fn_config_program unlodctr enable_unlodctr install
17527 wine_fn_config_program view enable_view install,po
17528 wine_fn_config_program wevtutil enable_wevtutil install
17529 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
17530 wine_fn_config_program winebrowser enable_winebrowser install
17531 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
17532 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
17533 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
17534 wine_fn_config_program winedevice enable_winedevice install
17535 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
17536 wine_fn_config_program winemenubuilder enable_winemenubuilder install
17537 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
17538 wine_fn_config_program winemsibuilder enable_winemsibuilder install
17539 wine_fn_config_program winepath enable_winepath install,installbin,manpage
17540 wine_fn_config_program winetest enable_winetest clean
17541 wine_fn_config_program winevdm enable_win16 install
17542 wine_fn_config_program winhelp.exe16 enable_win16 install
17543 wine_fn_config_program winhlp32 enable_winhlp32 install,po
17544 wine_fn_config_program winoldap.mod16 enable_win16 install
17545 wine_fn_config_program winver enable_winver install
17546 wine_fn_config_program wmic enable_wmic install,po
17547 wine_fn_config_program wordpad enable_wordpad install,po
17548 wine_fn_config_program write enable_write install,po
17549 wine_fn_config_program wscript enable_wscript clean,install
17550 wine_fn_config_test programs/wscript/tests wscript.exe_test
17551 wine_fn_config_program wusa enable_wusa install
17552 wine_fn_config_program xcopy enable_xcopy install,po
17553 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
17554 wine_fn_config_makefile server enable_server clean,install-lib,manpage
17555 wine_fn_config_tool tools clean,install-dev,install-lib,manpage
17556 wine_fn_config_tool tools/sfnt2fon clean
17557 wine_fn_config_tool tools/widl clean,install-dev,manpage
17558 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
17559 wine_fn_config_tool tools/winedump clean,install-dev,manpage
17560 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
17561 wine_fn_config_tool tools/wmc clean,install-dev,manpage
17562 wine_fn_config_tool tools/wrc clean,install-dev,manpage
17564 LINGUAS="\
17565 ar \
17566 bg \
17567 ca \
17568 cs \
17569 da \
17570 de \
17571 el \
17572 en \
17573 en_US \
17574 eo \
17575 es \
17576 fa \
17577 fi \
17578 fr \
17579 he \
17580 hi \
17581 hr \
17582 hu \
17583 it \
17584 ja \
17585 ko \
17586 lt \
17587 ml \
17588 nb_NO \
17589 nl \
17590 or \
17591 pa \
17592 pl \
17593 pt_BR \
17594 pt_PT \
17595 rm \
17596 ro \
17597 ru \
17598 sk \
17599 sl \
17600 sr_RS@cyrillic \
17601 sr_RS@latin \
17602 sv \
17603 te \
17604 th \
17605 tr \
17606 uk \
17607 wa \
17608 zh_CN \
17609 zh_TW"
17614 wine_fn_ignore_file ".gitignore"
17615 wine_fn_ignore_file "Makefile"
17616 wine_fn_ignore_file "TAGS"
17617 wine_fn_ignore_file "tags"
17618 wine_fn_ignore_file "autom4te.cache"
17619 wine_fn_ignore_file "config.cache"
17620 wine_fn_ignore_file "config.log"
17621 wine_fn_ignore_file "config.status"
17622 wine_fn_ignore_file "configure.lineno"
17623 wine_fn_ignore_file "include/config.h"
17624 wine_fn_ignore_file "include/stamp-h"
17625 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
17627 if test "x$enable_tools" != xno
17628 then
17629 wine_fn_ignore_file "tools/makedep$ac_exeext"
17630 ac_config_commands="$ac_config_commands tools/makedep"
17634 ac_config_commands="$ac_config_commands Makefile"
17637 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17641 if test "x$enable_maintainer_mode" = xyes
17642 then
17643 wine_fn_append_rule "configure: configure.ac aclocal.m4
17644 autoconf --warnings=all
17645 include/config.h.in: include/stamp-h.in
17646 include/stamp-h.in: configure.ac aclocal.m4
17647 autoheader --warnings=all
17648 @echo timestamp > \$@"
17651 if test "x$with_gettextpo" = xyes
17652 then
17653 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17654 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
17655 \$(LINGUAS:%=po/%.po): po/wine.pot
17656 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17657 po/wine.pot: \$(ALL_POT_FILES)
17658 msgcat -o \$@ \$(ALL_POT_FILES)"
17661 if test "$MSGFMT" != false
17662 then
17663 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
17664 clean::
17665 \$(RM) \$(LINGUAS:%=po/%.mo)"
17667 posrc="po"
17668 test "$srcdir" = . || posrc="$srcdir/po"
17669 for i in $LINGUAS
17671 wine_fn_ignore_file "po/$i.mo"
17672 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
17673 \$(MSGFMT) -o \$@ $posrc/$i.po"
17674 done
17675 else
17676 LINGUAS=
17679 if test "x$enable_tools" != xno
17680 then
17681 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17682 @./config.status tools/makedep
17683 Makefile: tools/makedep$ac_exeext
17684 distclean:: clean
17685 \$(RM) tools/makedep$ac_exeext"
17686 else
17687 wine_fn_append_rule "\$(MAKEDEP):
17688 @echo \"You need to run make in $TOOLSDIR first\" && false"
17691 if test -n "$with_wine64"
17692 then
17693 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17694 fonts server tools:
17695 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17696 $with_wine64/loader/wine:
17697 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17698 $with_wine64/loader/wine-preloader:
17699 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17700 clean::
17701 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17702 else
17703 as_fn_append LOADER_RULES "
17704 install install-lib:: wine.inf install-man-pages
17705 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17706 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17708 uninstall::
17709 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17713 if test "$srcdir" = .
17714 then
17715 ac_config_commands="$ac_config_commands .gitignore"
17719 $as_echo " done" >&6
17720 cat >confcache <<\_ACEOF
17721 # This file is a shell script that caches the results of configure
17722 # tests run on this system so they can be shared between configure
17723 # scripts and configure runs, see configure's option --config-cache.
17724 # It is not useful on other systems. If it contains results you don't
17725 # want to keep, you may remove or edit it.
17727 # config.status only pays attention to the cache file if you give it
17728 # the --recheck option to rerun configure.
17730 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17731 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17732 # following values.
17734 _ACEOF
17736 # The following way of writing the cache mishandles newlines in values,
17737 # but we know of no workaround that is simple, portable, and efficient.
17738 # So, we kill variables containing newlines.
17739 # Ultrix sh set writes to stderr and can't be redirected directly,
17740 # and sets the high bit in the cache file unless we assign to the vars.
17742 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17743 eval ac_val=\$$ac_var
17744 case $ac_val in #(
17745 *${as_nl}*)
17746 case $ac_var in #(
17747 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17748 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17749 esac
17750 case $ac_var in #(
17751 _ | IFS | as_nl) ;; #(
17752 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17753 *) { eval $ac_var=; unset $ac_var;} ;;
17754 esac ;;
17755 esac
17756 done
17758 (set) 2>&1 |
17759 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17760 *${as_nl}ac_space=\ *)
17761 # `set' does not quote correctly, so add quotes: double-quote
17762 # substitution turns \\\\ into \\, and sed turns \\ into \.
17763 sed -n \
17764 "s/'/'\\\\''/g;
17765 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17766 ;; #(
17768 # `set' quotes correctly as required by POSIX, so do not add quotes.
17769 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17771 esac |
17772 sort
17774 sed '
17775 /^ac_cv_env_/b end
17776 t clear
17777 :clear
17778 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17779 t end
17780 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17781 :end' >>confcache
17782 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17783 if test -w "$cache_file"; then
17784 if test "x$cache_file" != "x/dev/null"; then
17785 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17786 $as_echo "$as_me: updating cache $cache_file" >&6;}
17787 if test ! -f "$cache_file" || test -h "$cache_file"; then
17788 cat confcache >"$cache_file"
17789 else
17790 case $cache_file in #(
17791 */* | ?:*)
17792 mv -f confcache "$cache_file"$$ &&
17793 mv -f "$cache_file"$$ "$cache_file" ;; #(
17795 mv -f confcache "$cache_file" ;;
17796 esac
17799 else
17800 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17801 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17804 rm -f confcache
17806 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17807 # Let make expand exec_prefix.
17808 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17810 DEFS=-DHAVE_CONFIG_H
17812 ac_libobjs=
17813 ac_ltlibobjs=
17815 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17816 # 1. Remove the extension, and $U if already installed.
17817 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17818 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17819 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17820 # will be set to the directory where LIBOBJS objects are built.
17821 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17822 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17823 done
17824 LIBOBJS=$ac_libobjs
17826 LTLIBOBJS=$ac_ltlibobjs
17830 : "${CONFIG_STATUS=./config.status}"
17831 ac_write_fail=0
17832 ac_clean_files_save=$ac_clean_files
17833 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17834 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17835 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17836 as_write_fail=0
17837 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17838 #! $SHELL
17839 # Generated by $as_me.
17840 # Run this file to recreate the current configuration.
17841 # Compiler output produced by configure, useful for debugging
17842 # configure, is in config.log if it exists.
17844 debug=false
17845 ac_cs_recheck=false
17846 ac_cs_silent=false
17848 SHELL=\${CONFIG_SHELL-$SHELL}
17849 export SHELL
17850 _ASEOF
17851 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17852 ## -------------------- ##
17853 ## M4sh Initialization. ##
17854 ## -------------------- ##
17856 # Be more Bourne compatible
17857 DUALCASE=1; export DUALCASE # for MKS sh
17858 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17859 emulate sh
17860 NULLCMD=:
17861 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17862 # is contrary to our usage. Disable this feature.
17863 alias -g '${1+"$@"}'='"$@"'
17864 setopt NO_GLOB_SUBST
17865 else
17866 case `(set -o) 2>/dev/null` in #(
17867 *posix*) :
17868 set -o posix ;; #(
17869 *) :
17871 esac
17875 as_nl='
17877 export as_nl
17878 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17879 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17880 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17881 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17882 # Prefer a ksh shell builtin over an external printf program on Solaris,
17883 # but without wasting forks for bash or zsh.
17884 if test -z "$BASH_VERSION$ZSH_VERSION" \
17885 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17886 as_echo='print -r --'
17887 as_echo_n='print -rn --'
17888 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17889 as_echo='printf %s\n'
17890 as_echo_n='printf %s'
17891 else
17892 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17893 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17894 as_echo_n='/usr/ucb/echo -n'
17895 else
17896 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17897 as_echo_n_body='eval
17898 arg=$1;
17899 case $arg in #(
17900 *"$as_nl"*)
17901 expr "X$arg" : "X\\(.*\\)$as_nl";
17902 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17903 esac;
17904 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17906 export as_echo_n_body
17907 as_echo_n='sh -c $as_echo_n_body as_echo'
17909 export as_echo_body
17910 as_echo='sh -c $as_echo_body as_echo'
17913 # The user is always right.
17914 if test "${PATH_SEPARATOR+set}" != set; then
17915 PATH_SEPARATOR=:
17916 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17917 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17918 PATH_SEPARATOR=';'
17923 # IFS
17924 # We need space, tab and new line, in precisely that order. Quoting is
17925 # there to prevent editors from complaining about space-tab.
17926 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17927 # splitting by setting IFS to empty value.)
17928 IFS=" "" $as_nl"
17930 # Find who we are. Look in the path if we contain no directory separator.
17931 as_myself=
17932 case $0 in #((
17933 *[\\/]* ) as_myself=$0 ;;
17934 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17935 for as_dir in $PATH
17937 IFS=$as_save_IFS
17938 test -z "$as_dir" && as_dir=.
17939 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17940 done
17941 IFS=$as_save_IFS
17944 esac
17945 # We did not find ourselves, most probably we were run as `sh COMMAND'
17946 # in which case we are not to be found in the path.
17947 if test "x$as_myself" = x; then
17948 as_myself=$0
17950 if test ! -f "$as_myself"; then
17951 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17952 exit 1
17955 # Unset variables that we do not need and which cause bugs (e.g. in
17956 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17957 # suppresses any "Segmentation fault" message there. '((' could
17958 # trigger a bug in pdksh 5.2.14.
17959 for as_var in BASH_ENV ENV MAIL MAILPATH
17960 do eval test x\${$as_var+set} = xset \
17961 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17962 done
17963 PS1='$ '
17964 PS2='> '
17965 PS4='+ '
17967 # NLS nuisances.
17968 LC_ALL=C
17969 export LC_ALL
17970 LANGUAGE=C
17971 export LANGUAGE
17973 # CDPATH.
17974 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17977 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17978 # ----------------------------------------
17979 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17980 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17981 # script with STATUS, using 1 if that was 0.
17982 as_fn_error ()
17984 as_status=$1; test $as_status -eq 0 && as_status=1
17985 if test "$4"; then
17986 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17987 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17989 $as_echo "$as_me: error: $2" >&2
17990 as_fn_exit $as_status
17991 } # as_fn_error
17994 # as_fn_set_status STATUS
17995 # -----------------------
17996 # Set $? to STATUS, without forking.
17997 as_fn_set_status ()
17999 return $1
18000 } # as_fn_set_status
18002 # as_fn_exit STATUS
18003 # -----------------
18004 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18005 as_fn_exit ()
18007 set +e
18008 as_fn_set_status $1
18009 exit $1
18010 } # as_fn_exit
18012 # as_fn_unset VAR
18013 # ---------------
18014 # Portably unset VAR.
18015 as_fn_unset ()
18017 { eval $1=; unset $1;}
18019 as_unset=as_fn_unset
18020 # as_fn_append VAR VALUE
18021 # ----------------------
18022 # Append the text in VALUE to the end of the definition contained in VAR. Take
18023 # advantage of any shell optimizations that allow amortized linear growth over
18024 # repeated appends, instead of the typical quadratic growth present in naive
18025 # implementations.
18026 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18027 eval 'as_fn_append ()
18029 eval $1+=\$2
18031 else
18032 as_fn_append ()
18034 eval $1=\$$1\$2
18036 fi # as_fn_append
18038 # as_fn_arith ARG...
18039 # ------------------
18040 # Perform arithmetic evaluation on the ARGs, and store the result in the
18041 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18042 # must be portable across $(()) and expr.
18043 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18044 eval 'as_fn_arith ()
18046 as_val=$(( $* ))
18048 else
18049 as_fn_arith ()
18051 as_val=`expr "$@" || test $? -eq 1`
18053 fi # as_fn_arith
18056 if expr a : '\(a\)' >/dev/null 2>&1 &&
18057 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18058 as_expr=expr
18059 else
18060 as_expr=false
18063 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18064 as_basename=basename
18065 else
18066 as_basename=false
18069 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18070 as_dirname=dirname
18071 else
18072 as_dirname=false
18075 as_me=`$as_basename -- "$0" ||
18076 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18077 X"$0" : 'X\(//\)$' \| \
18078 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18079 $as_echo X/"$0" |
18080 sed '/^.*\/\([^/][^/]*\)\/*$/{
18081 s//\1/
18084 /^X\/\(\/\/\)$/{
18085 s//\1/
18088 /^X\/\(\/\).*/{
18089 s//\1/
18092 s/.*/./; q'`
18094 # Avoid depending upon Character Ranges.
18095 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18096 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18097 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18098 as_cr_digits='0123456789'
18099 as_cr_alnum=$as_cr_Letters$as_cr_digits
18101 ECHO_C= ECHO_N= ECHO_T=
18102 case `echo -n x` in #(((((
18103 -n*)
18104 case `echo 'xy\c'` in
18105 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18106 xy) ECHO_C='\c';;
18107 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18108 ECHO_T=' ';;
18109 esac;;
18111 ECHO_N='-n';;
18112 esac
18114 rm -f conf$$ conf$$.exe conf$$.file
18115 if test -d conf$$.dir; then
18116 rm -f conf$$.dir/conf$$.file
18117 else
18118 rm -f conf$$.dir
18119 mkdir conf$$.dir 2>/dev/null
18121 if (echo >conf$$.file) 2>/dev/null; then
18122 if ln -s conf$$.file conf$$ 2>/dev/null; then
18123 as_ln_s='ln -s'
18124 # ... but there are two gotchas:
18125 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18126 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18127 # In both cases, we have to default to `cp -pR'.
18128 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18129 as_ln_s='cp -pR'
18130 elif ln conf$$.file conf$$ 2>/dev/null; then
18131 as_ln_s=ln
18132 else
18133 as_ln_s='cp -pR'
18135 else
18136 as_ln_s='cp -pR'
18138 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18139 rmdir conf$$.dir 2>/dev/null
18142 # as_fn_mkdir_p
18143 # -------------
18144 # Create "$as_dir" as a directory, including parents if necessary.
18145 as_fn_mkdir_p ()
18148 case $as_dir in #(
18149 -*) as_dir=./$as_dir;;
18150 esac
18151 test -d "$as_dir" || eval $as_mkdir_p || {
18152 as_dirs=
18153 while :; do
18154 case $as_dir in #(
18155 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18156 *) as_qdir=$as_dir;;
18157 esac
18158 as_dirs="'$as_qdir' $as_dirs"
18159 as_dir=`$as_dirname -- "$as_dir" ||
18160 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18161 X"$as_dir" : 'X\(//\)[^/]' \| \
18162 X"$as_dir" : 'X\(//\)$' \| \
18163 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18164 $as_echo X"$as_dir" |
18165 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18166 s//\1/
18169 /^X\(\/\/\)[^/].*/{
18170 s//\1/
18173 /^X\(\/\/\)$/{
18174 s//\1/
18177 /^X\(\/\).*/{
18178 s//\1/
18181 s/.*/./; q'`
18182 test -d "$as_dir" && break
18183 done
18184 test -z "$as_dirs" || eval "mkdir $as_dirs"
18185 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18188 } # as_fn_mkdir_p
18189 if mkdir -p . 2>/dev/null; then
18190 as_mkdir_p='mkdir -p "$as_dir"'
18191 else
18192 test -d ./-p && rmdir ./-p
18193 as_mkdir_p=false
18197 # as_fn_executable_p FILE
18198 # -----------------------
18199 # Test if FILE is an executable regular file.
18200 as_fn_executable_p ()
18202 test -f "$1" && test -x "$1"
18203 } # as_fn_executable_p
18204 as_test_x='test -x'
18205 as_executable_p=as_fn_executable_p
18207 # Sed expression to map a string onto a valid CPP name.
18208 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18210 # Sed expression to map a string onto a valid variable name.
18211 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18214 exec 6>&1
18215 ## ----------------------------------- ##
18216 ## Main body of $CONFIG_STATUS script. ##
18217 ## ----------------------------------- ##
18218 _ASEOF
18219 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18221 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18222 # Save the log message, to keep $0 and so on meaningful, and to
18223 # report actual input values of CONFIG_FILES etc. instead of their
18224 # values after options handling.
18225 ac_log="
18226 This file was extended by Wine $as_me 1.7.32, which was
18227 generated by GNU Autoconf 2.69. Invocation command line was
18229 CONFIG_FILES = $CONFIG_FILES
18230 CONFIG_HEADERS = $CONFIG_HEADERS
18231 CONFIG_LINKS = $CONFIG_LINKS
18232 CONFIG_COMMANDS = $CONFIG_COMMANDS
18233 $ $0 $@
18235 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18238 _ACEOF
18240 case $ac_config_files in *"
18241 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18242 esac
18244 case $ac_config_headers in *"
18245 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18246 esac
18249 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18250 # Files that config.status was made for.
18251 config_files="$ac_config_files"
18252 config_headers="$ac_config_headers"
18253 config_links="$ac_config_links"
18254 config_commands="$ac_config_commands"
18256 _ACEOF
18258 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18259 ac_cs_usage="\
18260 \`$as_me' instantiates files and other configuration actions
18261 from templates according to the current configuration. Unless the files
18262 and actions are specified as TAGs, all are instantiated by default.
18264 Usage: $0 [OPTION]... [TAG]...
18266 -h, --help print this help, then exit
18267 -V, --version print version number and configuration settings, then exit
18268 --config print configuration, then exit
18269 -q, --quiet, --silent
18270 do not print progress messages
18271 -d, --debug don't remove temporary files
18272 --recheck update $as_me by reconfiguring in the same conditions
18273 --file=FILE[:TEMPLATE]
18274 instantiate the configuration file FILE
18275 --header=FILE[:TEMPLATE]
18276 instantiate the configuration header FILE
18278 Configuration files:
18279 $config_files
18281 Configuration headers:
18282 $config_headers
18284 Configuration links:
18285 $config_links
18287 Configuration commands:
18288 $config_commands
18290 Report bugs to <wine-devel@winehq.org>.
18291 Wine home page: <http://www.winehq.org>."
18293 _ACEOF
18294 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18295 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18296 ac_cs_version="\\
18297 Wine config.status 1.7.32
18298 configured by $0, generated by GNU Autoconf 2.69,
18299 with options \\"\$ac_cs_config\\"
18301 Copyright (C) 2012 Free Software Foundation, Inc.
18302 This config.status script is free software; the Free Software Foundation
18303 gives unlimited permission to copy, distribute and modify it."
18305 ac_pwd='$ac_pwd'
18306 srcdir='$srcdir'
18307 test -n "\$AWK" || AWK=awk
18308 _ACEOF
18310 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18311 # The default lists apply if the user does not specify any file.
18312 ac_need_defaults=:
18313 while test $# != 0
18315 case $1 in
18316 --*=?*)
18317 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18318 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18319 ac_shift=:
18321 --*=)
18322 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18323 ac_optarg=
18324 ac_shift=:
18327 ac_option=$1
18328 ac_optarg=$2
18329 ac_shift=shift
18331 esac
18333 case $ac_option in
18334 # Handling of the options.
18335 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18336 ac_cs_recheck=: ;;
18337 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18338 $as_echo "$ac_cs_version"; exit ;;
18339 --config | --confi | --conf | --con | --co | --c )
18340 $as_echo "$ac_cs_config"; exit ;;
18341 --debug | --debu | --deb | --de | --d | -d )
18342 debug=: ;;
18343 --file | --fil | --fi | --f )
18344 $ac_shift
18345 case $ac_optarg in
18346 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18347 '') as_fn_error $? "missing file argument" ;;
18348 esac
18349 as_fn_append CONFIG_FILES " '$ac_optarg'"
18350 ac_need_defaults=false;;
18351 --header | --heade | --head | --hea )
18352 $ac_shift
18353 case $ac_optarg in
18354 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18355 esac
18356 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18357 ac_need_defaults=false;;
18358 --he | --h)
18359 # Conflict between --help and --header
18360 as_fn_error $? "ambiguous option: \`$1'
18361 Try \`$0 --help' for more information.";;
18362 --help | --hel | -h )
18363 $as_echo "$ac_cs_usage"; exit ;;
18364 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18365 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18366 ac_cs_silent=: ;;
18368 # This is an error.
18369 -*) as_fn_error $? "unrecognized option: \`$1'
18370 Try \`$0 --help' for more information." ;;
18372 *) as_fn_append ac_config_targets " $1"
18373 ac_need_defaults=false ;;
18375 esac
18376 shift
18377 done
18379 ac_configure_extra_args=
18381 if $ac_cs_silent; then
18382 exec 6>/dev/null
18383 ac_configure_extra_args="$ac_configure_extra_args --silent"
18386 _ACEOF
18387 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18388 if \$ac_cs_recheck; then
18389 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18390 shift
18391 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18392 CONFIG_SHELL='$SHELL'
18393 export CONFIG_SHELL
18394 exec "\$@"
18397 _ACEOF
18398 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18399 exec 5>>config.log
18401 echo
18402 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18403 ## Running $as_me. ##
18404 _ASBOX
18405 $as_echo "$ac_log"
18406 } >&5
18408 _ACEOF
18409 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18411 # INIT-COMMANDS
18413 wine_fn_output_makedep ()
18415 as_dir=tools; as_fn_mkdir_p
18416 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18418 wine_fn_output_makefile ()
18420 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18421 `cat $wine_rules_file`
18422 _WINE_EOF
18423 as_fn_error $? "could not create Makefile" "$LINENO" 5
18425 wine_fn_output_gitignore ()
18427 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18428 $GITIGNORE
18429 _WINE_EOF
18430 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18433 _ACEOF
18435 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18437 # Handling of arguments.
18438 for ac_config_target in $ac_config_targets
18440 case $ac_config_target in
18441 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18442 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
18443 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18444 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18445 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18446 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18447 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18448 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18449 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
18450 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18451 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
18452 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
18453 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18454 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
18456 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18457 esac
18458 done
18461 # If the user did not use the arguments to specify the items to instantiate,
18462 # then the envvar interface is used. Set only those that are not.
18463 # We use the long form for the default assignment because of an extremely
18464 # bizarre bug on SunOS 4.1.3.
18465 if $ac_need_defaults; then
18466 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18467 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18468 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18469 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18472 # Have a temporary directory for convenience. Make it in the build tree
18473 # simply because there is no reason against having it here, and in addition,
18474 # creating and moving files from /tmp can sometimes cause problems.
18475 # Hook for its removal unless debugging.
18476 # Note that there is a small window in which the directory will not be cleaned:
18477 # after its creation but before its name has been assigned to `$tmp'.
18478 $debug ||
18480 tmp= ac_tmp=
18481 trap 'exit_status=$?
18482 : "${ac_tmp:=$tmp}"
18483 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18485 trap 'as_fn_exit 1' 1 2 13 15
18487 # Create a (secure) tmp directory for tmp files.
18490 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18491 test -d "$tmp"
18492 } ||
18494 tmp=./conf$$-$RANDOM
18495 (umask 077 && mkdir "$tmp")
18496 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18497 ac_tmp=$tmp
18499 # Set up the scripts for CONFIG_FILES section.
18500 # No need to generate them if there are no CONFIG_FILES.
18501 # This happens for instance with `./config.status config.h'.
18502 if test -n "$CONFIG_FILES"; then
18505 ac_cr=`echo X | tr X '\015'`
18506 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18507 # But we know of no other shell where ac_cr would be empty at this
18508 # point, so we can use a bashism as a fallback.
18509 if test "x$ac_cr" = x; then
18510 eval ac_cr=\$\'\\r\'
18512 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18513 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18514 ac_cs_awk_cr='\\r'
18515 else
18516 ac_cs_awk_cr=$ac_cr
18519 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18520 _ACEOF
18524 echo "cat >conf$$subs.awk <<_ACEOF" &&
18525 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18526 echo "_ACEOF"
18527 } >conf$$subs.sh ||
18528 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18529 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18530 ac_delim='%!_!# '
18531 for ac_last_try in false false false false false :; do
18532 . ./conf$$subs.sh ||
18533 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18535 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18536 if test $ac_delim_n = $ac_delim_num; then
18537 break
18538 elif $ac_last_try; then
18539 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18540 else
18541 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18543 done
18544 rm -f conf$$subs.sh
18546 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18547 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18548 _ACEOF
18549 sed -n '
18551 s/^/S["/; s/!.*/"]=/
18554 s/^[^!]*!//
18555 :repl
18556 t repl
18557 s/'"$ac_delim"'$//
18558 t delim
18561 s/\(.\{148\}\)..*/\1/
18562 t more1
18563 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18566 b repl
18567 :more1
18568 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18571 s/.\{148\}//
18572 t nl
18573 :delim
18575 s/\(.\{148\}\)..*/\1/
18576 t more2
18577 s/["\\]/\\&/g; s/^/"/; s/$/"/
18580 :more2
18581 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18584 s/.\{148\}//
18585 t delim
18586 ' <conf$$subs.awk | sed '
18587 /^[^""]/{
18589 s/\n//
18591 ' >>$CONFIG_STATUS || ac_write_fail=1
18592 rm -f conf$$subs.awk
18593 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18594 _ACAWK
18595 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18596 for (key in S) S_is_set[key] = 1
18597 FS = "\a"
18601 line = $ 0
18602 nfields = split(line, field, "@")
18603 substed = 0
18604 len = length(field[1])
18605 for (i = 2; i < nfields; i++) {
18606 key = field[i]
18607 keylen = length(key)
18608 if (S_is_set[key]) {
18609 value = S[key]
18610 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18611 len += length(value) + length(field[++i])
18612 substed = 1
18613 } else
18614 len += 1 + keylen
18617 print line
18620 _ACAWK
18621 _ACEOF
18622 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18623 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18624 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18625 else
18627 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18628 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18629 _ACEOF
18631 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18632 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18633 # trailing colons and then remove the whole line if VPATH becomes empty
18634 # (actually we leave an empty line to preserve line numbers).
18635 if test "x$srcdir" = x.; then
18636 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18638 s///
18639 s/^/:/
18640 s/[ ]*$/:/
18641 s/:\$(srcdir):/:/g
18642 s/:\${srcdir}:/:/g
18643 s/:@srcdir@:/:/g
18644 s/^:*//
18645 s/:*$//
18647 s/\(=[ ]*\).*/\1/
18649 s/\n//
18650 s/^[^=]*=[ ]*$//
18654 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18655 fi # test -n "$CONFIG_FILES"
18657 # Set up the scripts for CONFIG_HEADERS section.
18658 # No need to generate them if there are no CONFIG_HEADERS.
18659 # This happens for instance with `./config.status Makefile'.
18660 if test -n "$CONFIG_HEADERS"; then
18661 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18662 BEGIN {
18663 _ACEOF
18665 # Transform confdefs.h into an awk script `defines.awk', embedded as
18666 # here-document in config.status, that substitutes the proper values into
18667 # config.h.in to produce config.h.
18669 # Create a delimiter string that does not exist in confdefs.h, to ease
18670 # handling of long lines.
18671 ac_delim='%!_!# '
18672 for ac_last_try in false false :; do
18673 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18674 if test -z "$ac_tt"; then
18675 break
18676 elif $ac_last_try; then
18677 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18678 else
18679 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18681 done
18683 # For the awk script, D is an array of macro values keyed by name,
18684 # likewise P contains macro parameters if any. Preserve backslash
18685 # newline sequences.
18687 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18688 sed -n '
18689 s/.\{148\}/&'"$ac_delim"'/g
18690 t rset
18691 :rset
18692 s/^[ ]*#[ ]*define[ ][ ]*/ /
18693 t def
18695 :def
18696 s/\\$//
18697 t bsnl
18698 s/["\\]/\\&/g
18699 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18700 D["\1"]=" \3"/p
18701 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18703 :bsnl
18704 s/["\\]/\\&/g
18705 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18706 D["\1"]=" \3\\\\\\n"\\/p
18707 t cont
18708 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18709 t cont
18711 :cont
18713 s/.\{148\}/&'"$ac_delim"'/g
18714 t clear
18715 :clear
18716 s/\\$//
18717 t bsnlc
18718 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18720 :bsnlc
18721 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18722 b cont
18723 ' <confdefs.h | sed '
18724 s/'"$ac_delim"'/"\\\
18725 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18727 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18728 for (key in D) D_is_set[key] = 1
18729 FS = "\a"
18731 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18732 line = \$ 0
18733 split(line, arg, " ")
18734 if (arg[1] == "#") {
18735 defundef = arg[2]
18736 mac1 = arg[3]
18737 } else {
18738 defundef = substr(arg[1], 2)
18739 mac1 = arg[2]
18741 split(mac1, mac2, "(") #)
18742 macro = mac2[1]
18743 prefix = substr(line, 1, index(line, defundef) - 1)
18744 if (D_is_set[macro]) {
18745 # Preserve the white space surrounding the "#".
18746 print prefix "define", macro P[macro] D[macro]
18747 next
18748 } else {
18749 # Replace #undef with comments. This is necessary, for example,
18750 # in the case of _POSIX_SOURCE, which is predefined and required
18751 # on some systems where configure will not decide to define it.
18752 if (defundef == "undef") {
18753 print "/*", prefix defundef, macro, "*/"
18754 next
18758 { print }
18759 _ACAWK
18760 _ACEOF
18761 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18762 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18763 fi # test -n "$CONFIG_HEADERS"
18766 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18767 shift
18768 for ac_tag
18770 case $ac_tag in
18771 :[FHLC]) ac_mode=$ac_tag; continue;;
18772 esac
18773 case $ac_mode$ac_tag in
18774 :[FHL]*:*);;
18775 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18776 :[FH]-) ac_tag=-:-;;
18777 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18778 esac
18779 ac_save_IFS=$IFS
18780 IFS=:
18781 set x $ac_tag
18782 IFS=$ac_save_IFS
18783 shift
18784 ac_file=$1
18785 shift
18787 case $ac_mode in
18788 :L) ac_source=$1;;
18789 :[FH])
18790 ac_file_inputs=
18791 for ac_f
18793 case $ac_f in
18794 -) ac_f="$ac_tmp/stdin";;
18795 *) # Look for the file first in the build tree, then in the source tree
18796 # (if the path is not absolute). The absolute path cannot be DOS-style,
18797 # because $ac_f cannot contain `:'.
18798 test -f "$ac_f" ||
18799 case $ac_f in
18800 [\\/$]*) false;;
18801 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18802 esac ||
18803 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18804 esac
18805 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18806 as_fn_append ac_file_inputs " '$ac_f'"
18807 done
18809 # Let's still pretend it is `configure' which instantiates (i.e., don't
18810 # use $as_me), people would be surprised to read:
18811 # /* config.h. Generated by config.status. */
18812 configure_input='Generated from '`
18813 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18814 `' by configure.'
18815 if test x"$ac_file" != x-; then
18816 configure_input="$ac_file. $configure_input"
18817 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18818 $as_echo "$as_me: creating $ac_file" >&6;}
18820 # Neutralize special characters interpreted by sed in replacement strings.
18821 case $configure_input in #(
18822 *\&* | *\|* | *\\* )
18823 ac_sed_conf_input=`$as_echo "$configure_input" |
18824 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18825 *) ac_sed_conf_input=$configure_input;;
18826 esac
18828 case $ac_tag in
18829 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18830 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18831 esac
18833 esac
18835 ac_dir=`$as_dirname -- "$ac_file" ||
18836 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18837 X"$ac_file" : 'X\(//\)[^/]' \| \
18838 X"$ac_file" : 'X\(//\)$' \| \
18839 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18840 $as_echo X"$ac_file" |
18841 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18842 s//\1/
18845 /^X\(\/\/\)[^/].*/{
18846 s//\1/
18849 /^X\(\/\/\)$/{
18850 s//\1/
18853 /^X\(\/\).*/{
18854 s//\1/
18857 s/.*/./; q'`
18858 as_dir="$ac_dir"; as_fn_mkdir_p
18859 ac_builddir=.
18861 case "$ac_dir" in
18862 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18864 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18865 # A ".." for each directory in $ac_dir_suffix.
18866 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18867 case $ac_top_builddir_sub in
18868 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18869 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18870 esac ;;
18871 esac
18872 ac_abs_top_builddir=$ac_pwd
18873 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18874 # for backward compatibility:
18875 ac_top_builddir=$ac_top_build_prefix
18877 case $srcdir in
18878 .) # We are building in place.
18879 ac_srcdir=.
18880 ac_top_srcdir=$ac_top_builddir_sub
18881 ac_abs_top_srcdir=$ac_pwd ;;
18882 [\\/]* | ?:[\\/]* ) # Absolute name.
18883 ac_srcdir=$srcdir$ac_dir_suffix;
18884 ac_top_srcdir=$srcdir
18885 ac_abs_top_srcdir=$srcdir ;;
18886 *) # Relative name.
18887 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18888 ac_top_srcdir=$ac_top_build_prefix$srcdir
18889 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18890 esac
18891 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18894 case $ac_mode in
18897 # CONFIG_FILE
18900 _ACEOF
18902 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18903 # If the template does not know about datarootdir, expand it.
18904 # FIXME: This hack should be removed a few years after 2.60.
18905 ac_datarootdir_hack=; ac_datarootdir_seen=
18906 ac_sed_dataroot='
18907 /datarootdir/ {
18911 /@datadir@/p
18912 /@docdir@/p
18913 /@infodir@/p
18914 /@localedir@/p
18915 /@mandir@/p'
18916 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18917 *datarootdir*) ac_datarootdir_seen=yes;;
18918 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18919 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18920 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18921 _ACEOF
18922 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18923 ac_datarootdir_hack='
18924 s&@datadir@&$datadir&g
18925 s&@docdir@&$docdir&g
18926 s&@infodir@&$infodir&g
18927 s&@localedir@&$localedir&g
18928 s&@mandir@&$mandir&g
18929 s&\\\${datarootdir}&$datarootdir&g' ;;
18930 esac
18931 _ACEOF
18933 # Neutralize VPATH when `$srcdir' = `.'.
18934 # Shell code in configure.ac might set extrasub.
18935 # FIXME: do we really want to maintain this feature?
18936 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18937 ac_sed_extra="$ac_vpsub
18938 $extrasub
18939 _ACEOF
18940 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18942 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18943 s|@configure_input@|$ac_sed_conf_input|;t t
18944 s&@top_builddir@&$ac_top_builddir_sub&;t t
18945 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18946 s&@srcdir@&$ac_srcdir&;t t
18947 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18948 s&@top_srcdir@&$ac_top_srcdir&;t t
18949 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18950 s&@builddir@&$ac_builddir&;t t
18951 s&@abs_builddir@&$ac_abs_builddir&;t t
18952 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18953 $ac_datarootdir_hack
18955 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18956 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18958 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18959 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18960 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18961 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18962 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18963 which seems to be undefined. Please make sure it is defined" >&5
18964 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18965 which seems to be undefined. Please make sure it is defined" >&2;}
18967 rm -f "$ac_tmp/stdin"
18968 case $ac_file in
18969 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18970 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18971 esac \
18972 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18976 # CONFIG_HEADER
18978 if test x"$ac_file" != x-; then
18980 $as_echo "/* $configure_input */" \
18981 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18982 } >"$ac_tmp/config.h" \
18983 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18984 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18985 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18986 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18987 else
18988 rm -f "$ac_file"
18989 mv "$ac_tmp/config.h" "$ac_file" \
18990 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18992 else
18993 $as_echo "/* $configure_input */" \
18994 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18995 || as_fn_error $? "could not create -" "$LINENO" 5
19000 # CONFIG_LINK
19003 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19005 else
19006 # Prefer the file from the source tree if names are identical.
19007 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19008 ac_source=$srcdir/$ac_source
19011 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19012 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19014 if test ! -r "$ac_source"; then
19015 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19017 rm -f "$ac_file"
19019 # Try a relative symlink, then a hard link, then a copy.
19020 case $ac_source in
19021 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19022 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19023 esac
19024 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19025 ln "$ac_source" "$ac_file" 2>/dev/null ||
19026 cp -p "$ac_source" "$ac_file" ||
19027 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19030 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19031 $as_echo "$as_me: executing $ac_file commands" >&6;}
19033 esac
19036 case $ac_file$ac_mode in
19037 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19038 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19039 "Makefile":C) wine_fn_output_makefile Makefile ;;
19040 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19042 esac
19043 done # for ac_tag
19046 as_fn_exit 0
19047 _ACEOF
19048 ac_clean_files=$ac_clean_files_save
19050 test $ac_write_fail = 0 ||
19051 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19054 # configure is writing to config.log, and then calls config.status.
19055 # config.status does its own redirection, appending to config.log.
19056 # Unfortunately, on DOS this fails, as config.log is still kept open
19057 # by configure, so config.status won't be able to write to it; its
19058 # output is simply discarded. So we exec the FD to /dev/null,
19059 # effectively closing config.log, so it can be properly (re)opened and
19060 # appended to by config.status. When coming back to configure, we
19061 # need to make the FD available again.
19062 if test "$no_create" != yes; then
19063 ac_cs_success=:
19064 ac_config_status_args=
19065 test "$silent" = yes &&
19066 ac_config_status_args="$ac_config_status_args --quiet"
19067 exec 5>/dev/null
19068 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19069 exec 5>>config.log
19070 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19071 # would make configure fail if this is the last instruction.
19072 $ac_cs_success || as_fn_exit 1
19074 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19075 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19076 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19080 if test "$no_create" = "yes"
19081 then
19082 exit 0
19085 ac_save_IFS="$IFS"
19086 if test "x$wine_notices != "x; then
19087 echo >&6
19088 IFS="|"
19089 for msg in $wine_notices; do
19090 IFS="$ac_save_IFS"
19091 if ${msg:+false} :; then :
19093 else
19094 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19095 $as_echo "$as_me: $msg" >&6;}
19097 done
19099 IFS="|"
19100 for msg in $wine_warnings; do
19101 IFS="$ac_save_IFS"
19102 if ${msg:+false} :; then :
19104 else
19105 echo >&2
19106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19107 $as_echo "$as_me: WARNING: $msg" >&2;}
19109 done
19110 IFS="$ac_save_IFS"
19112 $as_echo "
19113 $as_me: Finished. Do '${ac_make}' to compile Wine.
19114 " >&6