urlmon/tests: Remove unused strings (Clang).
[wine/multimedia.git] / configure
blobdf48de381302f2e0301dba1336cc079cd9c85dba
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.32.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302 return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
346 /^X\(\/\/\)$/{
347 s//\1/
350 /^X\(\/\).*/{
351 s//\1/
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
379 eval $1+=\$2
381 else
382 as_fn_append ()
384 eval $1=\$$1\$2
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
396 as_val=$(( $* ))
398 else
399 as_fn_arith ()
401 as_val=`expr "$@" || test $? -eq 1`
403 fi # as_fn_arith
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
450 /^X\/\(\/\/\)$/{
451 s//\1/
454 /^X\/\(\/\).*/{
455 s//\1/
458 s/.*/./; q'`
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
481 :lineno
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
513 ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
537 else
538 as_ln_s='cp -pR'
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='Wine'
582 PACKAGE_TARNAME='wine'
583 PACKAGE_VERSION='1.7.32'
584 PACKAGE_STRING='Wine 1.7.32'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='http://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 LINGUAS
628 ALL_VARS_RULES
629 LDAP_LIBS
630 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 UNWINDFLAGS
635 BUILTINFLAG
636 EXTRACFLAGS
637 PROCSTAT_LIBS
638 KSTAT_LIBS
639 MPG123_LIBS
640 MPG123_CFLAGS
641 TIFF_LIBS
642 TIFF_CFLAGS
643 PNG_LIBS
644 PNG_CFLAGS
645 JPEG_LIBS
646 JPEG_CFLAGS
647 FONTCONFIG_LIBS
648 FONTCONFIG_CFLAGS
649 CUPS_CFLAGS
650 CAPI20_LIBS
651 CAPI20_CFLAGS
652 OSS4_CFLAGS
653 ALSA_LIBS
654 GSTREAMER_LIBS
655 GSTREAMER_CFLAGS
656 GETTEXTPO_LIBS
657 Z_LIBS
658 FREETYPE_LIBS
659 FREETYPE_CFLAGS
660 LCMS2_LIBS
661 LCMS2_CFLAGS
662 RESOLV_LIBS
663 GPHOTO2_PORT_LIBS
664 GPHOTO2_PORT_CFLAGS
665 GPHOTO2_LIBS
666 GPHOTO2_CFLAGS
667 SANE_LIBS
668 SANE_CFLAGS
669 GNUTLS_LIBS
670 GNUTLS_CFLAGS
671 HAL_LIBS
672 HAL_CFLAGS
673 DBUS_LIBS
674 DBUS_CFLAGS
675 XSLT_LIBS
676 XSLT_CFLAGS
677 XML2_LIBS
678 XML2_CFLAGS
679 LIBPCAP
680 X_EXTRA_LIBS
681 X_LIBS
682 X_PRE_LIBS
683 X_CFLAGS
684 XMKMF
685 PTHREAD_LIBS
686 CROSSCC
687 CROSSTARGET
688 PRELINK
689 CARBON_LIBS
690 QUICKTIME_LIBS
691 OPENCL_LIBS
692 OPENAL_LIBS
693 COREAUDIO_LIBS
694 SECURITY_LIBS
695 DISKARBITRATION_LIBS
696 APPKIT_LIBS
697 CORESERVICES_LIBS
698 APPLICATIONSERVICES_LIBS
699 FORCEFEEDBACK_LIBS
700 IOKIT_LIBS
701 COREFOUNDATION_LIBS
702 LIBWINE_RULES
703 SOCKET_LIBS
704 DLLTOOL
705 LOADER_RULES
706 ALL_TEST_RESOURCES
707 READELF
709 LDRPATH_LOCAL
710 LDRPATH_INSTALL
711 DLLFLAGS
712 DLLPREFIX
713 dlldir
715 OPENGL_LIBS
716 ICOTOOL
717 CONVERT
718 RSVG
719 FONTFORGE
720 PKG_CONFIG
721 MSGFMT
722 LDCONFIG
723 EGREP
724 GREP
725 LN_S
726 RANLIB
727 ARFLAGS
728 STRIP
729 ac_ct_AR
731 BISON
732 FLEX
733 TOOLSDIR
734 TARGETFLAGS
735 CPPBIN
736 ac_ct_CXX
737 CXXFLAGS
739 OBJEXT
740 EXEEXT
741 ac_ct_CC
742 CPPFLAGS
743 LDFLAGS
744 CFLAGS
746 SET_MAKE
747 host_os
748 host_vendor
749 host_cpu
750 host
751 build_os
752 build_vendor
753 build_cpu
754 build
755 target_alias
756 host_alias
757 build_alias
758 LIBS
759 ECHO_T
760 ECHO_N
761 ECHO_C
762 DEFS
763 mandir
764 localedir
765 libdir
766 psdir
767 pdfdir
768 dvidir
769 htmldir
770 infodir
771 docdir
772 oldincludedir
773 includedir
774 localstatedir
775 sharedstatedir
776 sysconfdir
777 datadir
778 datarootdir
779 libexecdir
780 sbindir
781 bindir
782 program_transform_name
783 prefix
784 exec_prefix
785 PACKAGE_URL
786 PACKAGE_BUGREPORT
787 PACKAGE_STRING
788 PACKAGE_VERSION
789 PACKAGE_TARNAME
790 PACKAGE_NAME
791 PATH_SEPARATOR
792 SHELL'
793 ac_subst_files=''
794 ac_user_opts='
795 enable_option_checking
796 enable_win16
797 enable_win64
798 enable_tests
799 enable_maintainer_mode
800 with_alsa
801 with_capi
802 with_cms
803 with_coreaudio
804 with_cups
805 with_curses
806 with_dbus
807 with_fontconfig
808 with_freetype
809 with_gettext
810 with_gettextpo
811 with_gphoto
812 with_glu
813 with_gnutls
814 with_gsm
815 with_gstreamer
816 with_hal
817 with_jpeg
818 with_ldap
819 with_mpg123
820 with_netapi
821 with_openal
822 with_opencl
823 with_opengl
824 with_osmesa
825 with_oss
826 with_pcap
827 with_png
828 with_pthread
829 with_sane
830 with_tiff
831 with_v4l
832 with_xcomposite
833 with_xcursor
834 with_xinerama
835 with_xinput
836 with_xinput2
837 with_xml
838 with_xrandr
839 with_xrender
840 with_xshape
841 with_xshm
842 with_xslt
843 with_xxf86vm
844 with_zlib
845 with_wine_tools
846 with_wine64
847 enable_largefile
848 with_x
849 enable_acledit
850 enable_aclui
851 enable_activeds
852 enable_actxprxy
853 enable_advapi32
854 enable_advpack
855 enable_amstream
856 enable_api_ms_win_core_com_l1_1_0
857 enable_api_ms_win_core_console_l1_1_0
858 enable_api_ms_win_core_datetime_l1_1_1
859 enable_api_ms_win_core_debug_l1_1_1
860 enable_api_ms_win_core_errorhandling_l1_1_1
861 enable_api_ms_win_core_fibers_l1_1_1
862 enable_api_ms_win_core_file_l1_2_0
863 enable_api_ms_win_core_file_l2_1_0
864 enable_api_ms_win_core_file_l2_1_1
865 enable_api_ms_win_core_handle_l1_1_0
866 enable_api_ms_win_core_heap_l1_2_0
867 enable_api_ms_win_core_heap_obsolete_l1_1_0
868 enable_api_ms_win_core_interlocked_l1_2_0
869 enable_api_ms_win_core_io_l1_1_1
870 enable_api_ms_win_core_kernel32_legacy_l1_1_0
871 enable_api_ms_win_core_libraryloader_l1_1_1
872 enable_api_ms_win_core_localization_l1_2_0
873 enable_api_ms_win_core_localization_l1_2_1
874 enable_api_ms_win_core_localization_obsolete_l1_1_0
875 enable_api_ms_win_core_localregistry_l1_1_0
876 enable_api_ms_win_core_memory_l1_1_1
877 enable_api_ms_win_core_namedpipe_l1_2_0
878 enable_api_ms_win_core_processenvironment_l1_2_0
879 enable_api_ms_win_core_processthreads_l1_1_0
880 enable_api_ms_win_core_processthreads_l1_1_1
881 enable_api_ms_win_core_processthreads_l1_1_2
882 enable_api_ms_win_core_profile_l1_1_0
883 enable_api_ms_win_core_psapi_l1_1_0
884 enable_api_ms_win_core_registry_l1_1_0
885 enable_api_ms_win_core_rtlsupport_l1_2_0
886 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
887 enable_api_ms_win_core_string_l1_1_0
888 enable_api_ms_win_core_synch_l1_2_0
889 enable_api_ms_win_core_sysinfo_l1_2_0
890 enable_api_ms_win_core_sysinfo_l1_2_1
891 enable_api_ms_win_core_threadpool_legacy_l1_1_0
892 enable_api_ms_win_core_timezone_l1_1_0
893 enable_api_ms_win_core_url_l1_1_0
894 enable_api_ms_win_core_util_l1_1_0
895 enable_api_ms_win_core_winrt_error_l1_1_0
896 enable_api_ms_win_core_winrt_l1_1_0
897 enable_api_ms_win_core_winrt_string_l1_1_0
898 enable_api_ms_win_downlevel_advapi32_l1_1_0
899 enable_api_ms_win_downlevel_advapi32_l2_1_0
900 enable_api_ms_win_downlevel_normaliz_l1_1_0
901 enable_api_ms_win_downlevel_ole32_l1_1_0
902 enable_api_ms_win_downlevel_shell32_l1_1_0
903 enable_api_ms_win_downlevel_shlwapi_l1_1_0
904 enable_api_ms_win_downlevel_shlwapi_l2_1_0
905 enable_api_ms_win_downlevel_user32_l1_1_0
906 enable_api_ms_win_downlevel_version_l1_1_0
907 enable_api_ms_win_eventing_provider_l1_1_0
908 enable_api_ms_win_ntuser_dc_access_l1_1_0
909 enable_api_ms_win_security_base_l1_1_0
910 enable_api_ms_win_security_base_l1_2_0
911 enable_api_ms_win_security_sddl_l1_1_0
912 enable_api_ms_win_service_core_l1_1_1
913 enable_api_ms_win_service_management_l1_1_0
914 enable_api_ms_win_service_winsvc_l1_2_0
915 enable_apphelp
916 enable_appwiz_cpl
917 enable_atl
918 enable_atl100
919 enable_atl110
920 enable_atl80
921 enable_atl90
922 enable_authz
923 enable_avicap32
924 enable_avifil32
925 enable_avrt
926 enable_bcrypt
927 enable_browseui
928 enable_cabinet
929 enable_capi2032
930 enable_cards
931 enable_cfgmgr32
932 enable_clusapi
933 enable_comcat
934 enable_comctl32
935 enable_comdlg32
936 enable_compstui
937 enable_comsvcs
938 enable_credui
939 enable_crtdll
940 enable_crypt32
941 enable_cryptdlg
942 enable_cryptdll
943 enable_cryptext
944 enable_cryptnet
945 enable_cryptui
946 enable_ctapi32
947 enable_ctl3d32
948 enable_d2d1
949 enable_d3d10
950 enable_d3d10_1
951 enable_d3d10core
952 enable_d3d11
953 enable_d3d8
954 enable_d3d9
955 enable_d3dcompiler_33
956 enable_d3dcompiler_34
957 enable_d3dcompiler_35
958 enable_d3dcompiler_36
959 enable_d3dcompiler_37
960 enable_d3dcompiler_38
961 enable_d3dcompiler_39
962 enable_d3dcompiler_40
963 enable_d3dcompiler_41
964 enable_d3dcompiler_42
965 enable_d3dcompiler_43
966 enable_d3dim
967 enable_d3drm
968 enable_d3dx10_33
969 enable_d3dx10_34
970 enable_d3dx10_35
971 enable_d3dx10_36
972 enable_d3dx10_37
973 enable_d3dx10_38
974 enable_d3dx10_39
975 enable_d3dx10_40
976 enable_d3dx10_41
977 enable_d3dx10_42
978 enable_d3dx10_43
979 enable_d3dx11_42
980 enable_d3dx11_43
981 enable_d3dx9_24
982 enable_d3dx9_25
983 enable_d3dx9_26
984 enable_d3dx9_27
985 enable_d3dx9_28
986 enable_d3dx9_29
987 enable_d3dx9_30
988 enable_d3dx9_31
989 enable_d3dx9_32
990 enable_d3dx9_33
991 enable_d3dx9_34
992 enable_d3dx9_35
993 enable_d3dx9_36
994 enable_d3dx9_37
995 enable_d3dx9_38
996 enable_d3dx9_39
997 enable_d3dx9_40
998 enable_d3dx9_41
999 enable_d3dx9_42
1000 enable_d3dx9_43
1001 enable_d3dxof
1002 enable_dbgeng
1003 enable_dbghelp
1004 enable_dciman32
1005 enable_ddraw
1006 enable_ddrawex
1007 enable_devenum
1008 enable_dhcpcsvc
1009 enable_difxapi
1010 enable_dinput
1011 enable_dinput8
1012 enable_dispex
1013 enable_dmband
1014 enable_dmcompos
1015 enable_dmime
1016 enable_dmloader
1017 enable_dmscript
1018 enable_dmstyle
1019 enable_dmsynth
1020 enable_dmusic
1021 enable_dmusic32
1022 enable_dnsapi
1023 enable_dplay
1024 enable_dplayx
1025 enable_dpnaddr
1026 enable_dpnet
1027 enable_dpnhpast
1028 enable_dpnlobby
1029 enable_dpvoice
1030 enable_dpwsockx
1031 enable_drmclien
1032 enable_dsound
1033 enable_dssenh
1034 enable_dswave
1035 enable_dwmapi
1036 enable_dwrite
1037 enable_dxdiagn
1038 enable_dxgi
1039 enable_dxva2
1040 enable_explorerframe
1041 enable_ext_ms_win_gdi_devcaps_l1_1_0
1042 enable_faultrep
1043 enable_fltlib
1044 enable_fntcache
1045 enable_fontsub
1046 enable_fusion
1047 enable_fwpuclnt
1048 enable_gameux
1049 enable_gdi32
1050 enable_gdiplus
1051 enable_glu32
1052 enable_gphoto2_ds
1053 enable_gpkcsp
1054 enable_hal
1055 enable_hhctrl_ocx
1056 enable_hid
1057 enable_hlink
1058 enable_hnetcfg
1059 enable_httpapi
1060 enable_iccvid
1061 enable_icmp
1062 enable_ieframe
1063 enable_imaadp32_acm
1064 enable_imagehlp
1065 enable_imm32
1066 enable_inetcomm
1067 enable_inetcpl_cpl
1068 enable_inetmib1
1069 enable_infosoft
1070 enable_initpki
1071 enable_inkobj
1072 enable_inseng
1073 enable_iphlpapi
1074 enable_itircl
1075 enable_itss
1076 enable_joy_cpl
1077 enable_jscript
1078 enable_jsproxy
1079 enable_kernel32
1080 enable_ksuser
1081 enable_ktmw32
1082 enable_loadperf
1083 enable_localspl
1084 enable_localui
1085 enable_lz32
1086 enable_mapi32
1087 enable_mapistub
1088 enable_mciavi32
1089 enable_mcicda
1090 enable_mciqtz32
1091 enable_mciseq
1092 enable_mciwave
1093 enable_mgmtapi
1094 enable_midimap
1095 enable_mlang
1096 enable_mmcndmgr
1097 enable_mmdevapi
1098 enable_mountmgr_sys
1099 enable_mpr
1100 enable_mprapi
1101 enable_msacm32_drv
1102 enable_msacm32
1103 enable_msadp32_acm
1104 enable_msasn1
1105 enable_mscat32
1106 enable_mscms
1107 enable_mscoree
1108 enable_msctf
1109 enable_msdaps
1110 enable_msdmo
1111 enable_msftedit
1112 enable_msg711_acm
1113 enable_msgsm32_acm
1114 enable_mshtml_tlb
1115 enable_mshtml
1116 enable_msi
1117 enable_msident
1118 enable_msimg32
1119 enable_msimsg
1120 enable_msimtf
1121 enable_msisip
1122 enable_msisys_ocx
1123 enable_msls31
1124 enable_msnet32
1125 enable_mspatcha
1126 enable_msrle32
1127 enable_mssign32
1128 enable_mssip32
1129 enable_mstask
1130 enable_msvcirt
1131 enable_msvcm80
1132 enable_msvcm90
1133 enable_msvcp100
1134 enable_msvcp110
1135 enable_msvcp120
1136 enable_msvcp60
1137 enable_msvcp70
1138 enable_msvcp71
1139 enable_msvcp80
1140 enable_msvcp90
1141 enable_msvcr100
1142 enable_msvcr110
1143 enable_msvcr120
1144 enable_msvcr70
1145 enable_msvcr71
1146 enable_msvcr80
1147 enable_msvcr90
1148 enable_msvcrt
1149 enable_msvcrt20
1150 enable_msvcrt40
1151 enable_msvcrtd
1152 enable_msvfw32
1153 enable_msvidc32
1154 enable_mswsock
1155 enable_msxml
1156 enable_msxml2
1157 enable_msxml3
1158 enable_msxml4
1159 enable_msxml6
1160 enable_nddeapi
1161 enable_ndis_sys
1162 enable_netapi32
1163 enable_netcfgx
1164 enable_netprofm
1165 enable_newdev
1166 enable_normaliz
1167 enable_npmshtml
1168 enable_npptools
1169 enable_ntdll
1170 enable_ntdsapi
1171 enable_ntoskrnl_exe
1172 enable_ntprint
1173 enable_objsel
1174 enable_odbc32
1175 enable_odbccp32
1176 enable_odbccu32
1177 enable_ole32
1178 enable_oleacc
1179 enable_oleaut32
1180 enable_olecli32
1181 enable_oledb32
1182 enable_oledlg
1183 enable_olepro32
1184 enable_olesvr32
1185 enable_olethk32
1186 enable_openal32
1187 enable_opencl
1188 enable_opengl32
1189 enable_packager
1190 enable_pdh
1191 enable_photometadatahandler
1192 enable_pidgen
1193 enable_powrprof
1194 enable_printui
1195 enable_prntvpt
1196 enable_propsys
1197 enable_psapi
1198 enable_pstorec
1199 enable_qcap
1200 enable_qedit
1201 enable_qmgr
1202 enable_qmgrprxy
1203 enable_quartz
1204 enable_query
1205 enable_rasapi32
1206 enable_rasdlg
1207 enable_regapi
1208 enable_resutils
1209 enable_riched20
1210 enable_riched32
1211 enable_rpcrt4
1212 enable_rsabase
1213 enable_rsaenh
1214 enable_rstrtmgr
1215 enable_rtutils
1216 enable_samlib
1217 enable_sane_ds
1218 enable_scarddlg
1219 enable_sccbase
1220 enable_schannel
1221 enable_schedsvc
1222 enable_scrrun
1223 enable_scsiport_sys
1224 enable_secur32
1225 enable_security
1226 enable_sensapi
1227 enable_serialui
1228 enable_setupapi
1229 enable_sfc
1230 enable_sfc_os
1231 enable_shdoclc
1232 enable_shdocvw
1233 enable_shell32
1234 enable_shfolder
1235 enable_shlwapi
1236 enable_slbcsp
1237 enable_slc
1238 enable_snmpapi
1239 enable_softpub
1240 enable_spoolss
1241 enable_stdole2_tlb
1242 enable_stdole32_tlb
1243 enable_sti
1244 enable_svrapi
1245 enable_sxs
1246 enable_t2embed
1247 enable_tapi32
1248 enable_taskschd
1249 enable_traffic
1250 enable_twain_32
1251 enable_unicows
1252 enable_updspapi
1253 enable_url
1254 enable_urlmon
1255 enable_usbd_sys
1256 enable_user32
1257 enable_userenv
1258 enable_usp10
1259 enable_uxtheme
1260 enable_vbscript
1261 enable_vcomp
1262 enable_vcomp100
1263 enable_vcomp90
1264 enable_vdmdbg
1265 enable_version
1266 enable_vssapi
1267 enable_wbemdisp
1268 enable_wbemprox
1269 enable_webservices
1270 enable_wer
1271 enable_wevtapi
1272 enable_wiaservc
1273 enable_windowscodecs
1274 enable_windowscodecsext
1275 enable_winealsa_drv
1276 enable_winecoreaudio_drv
1277 enable_wined3d
1278 enable_winegstreamer
1279 enable_winejoystick_drv
1280 enable_winemac_drv
1281 enable_winemapi
1282 enable_winemp3_acm
1283 enable_wineoss_drv
1284 enable_wineps_drv
1285 enable_wineqtdecoder
1286 enable_winex11_drv
1287 enable_wing32
1288 enable_winhttp
1289 enable_wininet
1290 enable_winmm
1291 enable_winnls32
1292 enable_winscard
1293 enable_winspool_drv
1294 enable_winsta
1295 enable_wintab32
1296 enable_wintrust
1297 enable_wlanapi
1298 enable_wldap32
1299 enable_wmi
1300 enable_wmiutils
1301 enable_wmp
1302 enable_wmvcore
1303 enable_wnaspi32
1304 enable_wpcap
1305 enable_ws2_32
1306 enable_wshom_ocx
1307 enable_wsnmp32
1308 enable_wsock32
1309 enable_wtsapi32
1310 enable_wuapi
1311 enable_wuaueng
1312 enable_xapofx1_1
1313 enable_xinput1_1
1314 enable_xinput1_2
1315 enable_xinput1_3
1316 enable_xinput1_4
1317 enable_xinput9_1_0
1318 enable_xmllite
1319 enable_xolehlp
1320 enable_xpsprint
1321 enable_xpssvcs
1322 enable_documentation
1323 enable_fonts
1324 enable_include
1325 enable_libs_port
1326 enable_libs_wine
1327 enable_libs_wpp
1328 enable_loader
1329 enable_arp
1330 enable_aspnet_regiis
1331 enable_attrib
1332 enable_cabarc
1333 enable_cacls
1334 enable_clock
1335 enable_cmd
1336 enable_conhost
1337 enable_control
1338 enable_cscript
1339 enable_dpnsvr
1340 enable_dxdiag
1341 enable_eject
1342 enable_expand
1343 enable_explorer
1344 enable_extrac32
1345 enable_findstr
1346 enable_hh
1347 enable_hostname
1348 enable_icinfo
1349 enable_iexplore
1350 enable_ipconfig
1351 enable_lodctr
1352 enable_mofcomp
1353 enable_mshta
1354 enable_msiexec
1355 enable_net
1356 enable_netsh
1357 enable_netstat
1358 enable_ngen
1359 enable_notepad
1360 enable_oleview
1361 enable_ping
1362 enable_plugplay
1363 enable_presentationfontcache
1364 enable_progman
1365 enable_reg
1366 enable_regasm
1367 enable_regedit
1368 enable_regsvcs
1369 enable_regsvr32
1370 enable_rpcss
1371 enable_rundll32
1372 enable_sc
1373 enable_schtasks
1374 enable_sdbinst
1375 enable_secedit
1376 enable_servicemodelreg
1377 enable_services
1378 enable_spoolsv
1379 enable_start
1380 enable_svchost
1381 enable_systeminfo
1382 enable_taskkill
1383 enable_tasklist
1384 enable_taskmgr
1385 enable_termsv
1386 enable_uninstaller
1387 enable_unlodctr
1388 enable_view
1389 enable_wevtutil
1390 enable_wineboot
1391 enable_winebrowser
1392 enable_winecfg
1393 enable_wineconsole
1394 enable_winedbg
1395 enable_winedevice
1396 enable_winefile
1397 enable_winemenubuilder
1398 enable_winemine
1399 enable_winemsibuilder
1400 enable_winepath
1401 enable_winetest
1402 enable_winhlp32
1403 enable_winver
1404 enable_wmic
1405 enable_wordpad
1406 enable_write
1407 enable_wscript
1408 enable_wusa
1409 enable_xcopy
1410 enable_server
1411 enable_tools
1413 ac_precious_vars='build_alias
1414 host_alias
1415 target_alias
1417 CFLAGS
1418 LDFLAGS
1419 LIBS
1420 CPPFLAGS
1422 CXXFLAGS
1425 XMKMF
1426 XML2_CFLAGS
1427 XML2_LIBS
1428 XSLT_CFLAGS
1429 XSLT_LIBS
1430 DBUS_CFLAGS
1431 DBUS_LIBS
1432 HAL_CFLAGS
1433 HAL_LIBS
1434 GNUTLS_CFLAGS
1435 GNUTLS_LIBS
1436 SANE_CFLAGS
1437 SANE_LIBS
1438 GPHOTO2_CFLAGS
1439 GPHOTO2_LIBS
1440 GPHOTO2_PORT_CFLAGS
1441 GPHOTO2_PORT_LIBS
1442 LCMS2_CFLAGS
1443 LCMS2_LIBS
1444 FREETYPE_CFLAGS
1445 FREETYPE_LIBS
1446 GSTREAMER_CFLAGS
1447 GSTREAMER_LIBS
1448 CAPI20_CFLAGS
1449 CAPI20_LIBS
1450 FONTCONFIG_CFLAGS
1451 FONTCONFIG_LIBS
1452 JPEG_CFLAGS
1453 JPEG_LIBS
1454 PNG_CFLAGS
1455 PNG_LIBS
1456 TIFF_CFLAGS
1457 TIFF_LIBS
1458 MPG123_CFLAGS
1459 MPG123_LIBS'
1462 # Initialize some variables set by options.
1463 ac_init_help=
1464 ac_init_version=false
1465 ac_unrecognized_opts=
1466 ac_unrecognized_sep=
1467 # The variables have the same names as the options, with
1468 # dashes changed to underlines.
1469 cache_file=/dev/null
1470 exec_prefix=NONE
1471 no_create=
1472 no_recursion=
1473 prefix=NONE
1474 program_prefix=NONE
1475 program_suffix=NONE
1476 program_transform_name=s,x,x,
1477 silent=
1478 site=
1479 srcdir=
1480 verbose=
1481 x_includes=NONE
1482 x_libraries=NONE
1484 # Installation directory options.
1485 # These are left unexpanded so users can "make install exec_prefix=/foo"
1486 # and all the variables that are supposed to be based on exec_prefix
1487 # by default will actually change.
1488 # Use braces instead of parens because sh, perl, etc. also accept them.
1489 # (The list follows the same order as the GNU Coding Standards.)
1490 bindir='${exec_prefix}/bin'
1491 sbindir='${exec_prefix}/sbin'
1492 libexecdir='${exec_prefix}/libexec'
1493 datarootdir='${prefix}/share'
1494 datadir='${datarootdir}'
1495 sysconfdir='${prefix}/etc'
1496 sharedstatedir='${prefix}/com'
1497 localstatedir='${prefix}/var'
1498 includedir='${prefix}/include'
1499 oldincludedir='/usr/include'
1500 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1501 infodir='${datarootdir}/info'
1502 htmldir='${docdir}'
1503 dvidir='${docdir}'
1504 pdfdir='${docdir}'
1505 psdir='${docdir}'
1506 libdir='${exec_prefix}/lib'
1507 localedir='${datarootdir}/locale'
1508 mandir='${datarootdir}/man'
1510 ac_prev=
1511 ac_dashdash=
1512 for ac_option
1514 # If the previous option needs an argument, assign it.
1515 if test -n "$ac_prev"; then
1516 eval $ac_prev=\$ac_option
1517 ac_prev=
1518 continue
1521 case $ac_option in
1522 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1523 *=) ac_optarg= ;;
1524 *) ac_optarg=yes ;;
1525 esac
1527 # Accept the important Cygnus configure options, so we can diagnose typos.
1529 case $ac_dashdash$ac_option in
1531 ac_dashdash=yes ;;
1533 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1534 ac_prev=bindir ;;
1535 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1536 bindir=$ac_optarg ;;
1538 -build | --build | --buil | --bui | --bu)
1539 ac_prev=build_alias ;;
1540 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1541 build_alias=$ac_optarg ;;
1543 -cache-file | --cache-file | --cache-fil | --cache-fi \
1544 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1545 ac_prev=cache_file ;;
1546 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1547 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1548 cache_file=$ac_optarg ;;
1550 --config-cache | -C)
1551 cache_file=config.cache ;;
1553 -datadir | --datadir | --datadi | --datad)
1554 ac_prev=datadir ;;
1555 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1556 datadir=$ac_optarg ;;
1558 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1559 | --dataroo | --dataro | --datar)
1560 ac_prev=datarootdir ;;
1561 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1562 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1563 datarootdir=$ac_optarg ;;
1565 -disable-* | --disable-*)
1566 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1567 # Reject names that are not valid shell variable names.
1568 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1569 as_fn_error $? "invalid feature name: $ac_useropt"
1570 ac_useropt_orig=$ac_useropt
1571 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1572 case $ac_user_opts in
1574 "enable_$ac_useropt"
1575 "*) ;;
1576 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1577 ac_unrecognized_sep=', ';;
1578 esac
1579 eval enable_$ac_useropt=no ;;
1581 -docdir | --docdir | --docdi | --doc | --do)
1582 ac_prev=docdir ;;
1583 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1584 docdir=$ac_optarg ;;
1586 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1587 ac_prev=dvidir ;;
1588 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1589 dvidir=$ac_optarg ;;
1591 -enable-* | --enable-*)
1592 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1593 # Reject names that are not valid shell variable names.
1594 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1595 as_fn_error $? "invalid feature name: $ac_useropt"
1596 ac_useropt_orig=$ac_useropt
1597 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1598 case $ac_user_opts in
1600 "enable_$ac_useropt"
1601 "*) ;;
1602 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1603 ac_unrecognized_sep=', ';;
1604 esac
1605 eval enable_$ac_useropt=\$ac_optarg ;;
1607 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1608 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1609 | --exec | --exe | --ex)
1610 ac_prev=exec_prefix ;;
1611 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1612 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1613 | --exec=* | --exe=* | --ex=*)
1614 exec_prefix=$ac_optarg ;;
1616 -gas | --gas | --ga | --g)
1617 # Obsolete; use --with-gas.
1618 with_gas=yes ;;
1620 -help | --help | --hel | --he | -h)
1621 ac_init_help=long ;;
1622 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1623 ac_init_help=recursive ;;
1624 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1625 ac_init_help=short ;;
1627 -host | --host | --hos | --ho)
1628 ac_prev=host_alias ;;
1629 -host=* | --host=* | --hos=* | --ho=*)
1630 host_alias=$ac_optarg ;;
1632 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1633 ac_prev=htmldir ;;
1634 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1635 | --ht=*)
1636 htmldir=$ac_optarg ;;
1638 -includedir | --includedir | --includedi | --included | --include \
1639 | --includ | --inclu | --incl | --inc)
1640 ac_prev=includedir ;;
1641 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1642 | --includ=* | --inclu=* | --incl=* | --inc=*)
1643 includedir=$ac_optarg ;;
1645 -infodir | --infodir | --infodi | --infod | --info | --inf)
1646 ac_prev=infodir ;;
1647 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1648 infodir=$ac_optarg ;;
1650 -libdir | --libdir | --libdi | --libd)
1651 ac_prev=libdir ;;
1652 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1653 libdir=$ac_optarg ;;
1655 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1656 | --libexe | --libex | --libe)
1657 ac_prev=libexecdir ;;
1658 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1659 | --libexe=* | --libex=* | --libe=*)
1660 libexecdir=$ac_optarg ;;
1662 -localedir | --localedir | --localedi | --localed | --locale)
1663 ac_prev=localedir ;;
1664 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1665 localedir=$ac_optarg ;;
1667 -localstatedir | --localstatedir | --localstatedi | --localstated \
1668 | --localstate | --localstat | --localsta | --localst | --locals)
1669 ac_prev=localstatedir ;;
1670 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1671 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1672 localstatedir=$ac_optarg ;;
1674 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1675 ac_prev=mandir ;;
1676 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1677 mandir=$ac_optarg ;;
1679 -nfp | --nfp | --nf)
1680 # Obsolete; use --without-fp.
1681 with_fp=no ;;
1683 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1684 | --no-cr | --no-c | -n)
1685 no_create=yes ;;
1687 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1688 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1689 no_recursion=yes ;;
1691 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1692 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1693 | --oldin | --oldi | --old | --ol | --o)
1694 ac_prev=oldincludedir ;;
1695 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1696 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1697 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1698 oldincludedir=$ac_optarg ;;
1700 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1701 ac_prev=prefix ;;
1702 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1703 prefix=$ac_optarg ;;
1705 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1706 | --program-pre | --program-pr | --program-p)
1707 ac_prev=program_prefix ;;
1708 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1709 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1710 program_prefix=$ac_optarg ;;
1712 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1713 | --program-suf | --program-su | --program-s)
1714 ac_prev=program_suffix ;;
1715 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1716 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1717 program_suffix=$ac_optarg ;;
1719 -program-transform-name | --program-transform-name \
1720 | --program-transform-nam | --program-transform-na \
1721 | --program-transform-n | --program-transform- \
1722 | --program-transform | --program-transfor \
1723 | --program-transfo | --program-transf \
1724 | --program-trans | --program-tran \
1725 | --progr-tra | --program-tr | --program-t)
1726 ac_prev=program_transform_name ;;
1727 -program-transform-name=* | --program-transform-name=* \
1728 | --program-transform-nam=* | --program-transform-na=* \
1729 | --program-transform-n=* | --program-transform-=* \
1730 | --program-transform=* | --program-transfor=* \
1731 | --program-transfo=* | --program-transf=* \
1732 | --program-trans=* | --program-tran=* \
1733 | --progr-tra=* | --program-tr=* | --program-t=*)
1734 program_transform_name=$ac_optarg ;;
1736 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1737 ac_prev=pdfdir ;;
1738 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1739 pdfdir=$ac_optarg ;;
1741 -psdir | --psdir | --psdi | --psd | --ps)
1742 ac_prev=psdir ;;
1743 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1744 psdir=$ac_optarg ;;
1746 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1747 | -silent | --silent | --silen | --sile | --sil)
1748 silent=yes ;;
1750 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1751 ac_prev=sbindir ;;
1752 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1753 | --sbi=* | --sb=*)
1754 sbindir=$ac_optarg ;;
1756 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1757 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1758 | --sharedst | --shareds | --shared | --share | --shar \
1759 | --sha | --sh)
1760 ac_prev=sharedstatedir ;;
1761 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1762 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1763 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1764 | --sha=* | --sh=*)
1765 sharedstatedir=$ac_optarg ;;
1767 -site | --site | --sit)
1768 ac_prev=site ;;
1769 -site=* | --site=* | --sit=*)
1770 site=$ac_optarg ;;
1772 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1773 ac_prev=srcdir ;;
1774 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1775 srcdir=$ac_optarg ;;
1777 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1778 | --syscon | --sysco | --sysc | --sys | --sy)
1779 ac_prev=sysconfdir ;;
1780 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1781 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1782 sysconfdir=$ac_optarg ;;
1784 -target | --target | --targe | --targ | --tar | --ta | --t)
1785 ac_prev=target_alias ;;
1786 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1787 target_alias=$ac_optarg ;;
1789 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1790 verbose=yes ;;
1792 -version | --version | --versio | --versi | --vers | -V)
1793 ac_init_version=: ;;
1795 -with-* | --with-*)
1796 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1797 # Reject names that are not valid shell variable names.
1798 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1799 as_fn_error $? "invalid package name: $ac_useropt"
1800 ac_useropt_orig=$ac_useropt
1801 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1802 case $ac_user_opts in
1804 "with_$ac_useropt"
1805 "*) ;;
1806 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1807 ac_unrecognized_sep=', ';;
1808 esac
1809 eval with_$ac_useropt=\$ac_optarg ;;
1811 -without-* | --without-*)
1812 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1813 # Reject names that are not valid shell variable names.
1814 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1815 as_fn_error $? "invalid package name: $ac_useropt"
1816 ac_useropt_orig=$ac_useropt
1817 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1818 case $ac_user_opts in
1820 "with_$ac_useropt"
1821 "*) ;;
1822 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1823 ac_unrecognized_sep=', ';;
1824 esac
1825 eval with_$ac_useropt=no ;;
1827 --x)
1828 # Obsolete; use --with-x.
1829 with_x=yes ;;
1831 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1832 | --x-incl | --x-inc | --x-in | --x-i)
1833 ac_prev=x_includes ;;
1834 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1835 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1836 x_includes=$ac_optarg ;;
1838 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1839 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1840 ac_prev=x_libraries ;;
1841 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1842 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1843 x_libraries=$ac_optarg ;;
1845 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1846 Try \`$0 --help' for more information"
1849 *=*)
1850 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1851 # Reject names that are not valid shell variable names.
1852 case $ac_envvar in #(
1853 '' | [0-9]* | *[!_$as_cr_alnum]* )
1854 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1855 esac
1856 eval $ac_envvar=\$ac_optarg
1857 export $ac_envvar ;;
1860 # FIXME: should be removed in autoconf 3.0.
1861 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1862 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1863 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1864 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1867 esac
1868 done
1870 if test -n "$ac_prev"; then
1871 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1872 as_fn_error $? "missing argument to $ac_option"
1875 if test -n "$ac_unrecognized_opts"; then
1876 case $enable_option_checking in
1877 no) ;;
1878 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1879 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1880 esac
1883 # Check all directory arguments for consistency.
1884 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1885 datadir sysconfdir sharedstatedir localstatedir includedir \
1886 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1887 libdir localedir mandir
1889 eval ac_val=\$$ac_var
1890 # Remove trailing slashes.
1891 case $ac_val in
1892 */ )
1893 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1894 eval $ac_var=\$ac_val;;
1895 esac
1896 # Be sure to have absolute directory names.
1897 case $ac_val in
1898 [\\/$]* | ?:[\\/]* ) continue;;
1899 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1900 esac
1901 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1902 done
1904 # There might be people who depend on the old broken behavior: `$host'
1905 # used to hold the argument of --host etc.
1906 # FIXME: To remove some day.
1907 build=$build_alias
1908 host=$host_alias
1909 target=$target_alias
1911 # FIXME: To remove some day.
1912 if test "x$host_alias" != x; then
1913 if test "x$build_alias" = x; then
1914 cross_compiling=maybe
1915 elif test "x$build_alias" != "x$host_alias"; then
1916 cross_compiling=yes
1920 ac_tool_prefix=
1921 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1923 test "$silent" = yes && exec 6>/dev/null
1926 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1927 ac_ls_di=`ls -di .` &&
1928 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1929 as_fn_error $? "working directory cannot be determined"
1930 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1931 as_fn_error $? "pwd does not report name of working directory"
1934 # Find the source files, if location was not specified.
1935 if test -z "$srcdir"; then
1936 ac_srcdir_defaulted=yes
1937 # Try the directory containing this script, then the parent directory.
1938 ac_confdir=`$as_dirname -- "$as_myself" ||
1939 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1940 X"$as_myself" : 'X\(//\)[^/]' \| \
1941 X"$as_myself" : 'X\(//\)$' \| \
1942 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1943 $as_echo X"$as_myself" |
1944 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1945 s//\1/
1948 /^X\(\/\/\)[^/].*/{
1949 s//\1/
1952 /^X\(\/\/\)$/{
1953 s//\1/
1956 /^X\(\/\).*/{
1957 s//\1/
1960 s/.*/./; q'`
1961 srcdir=$ac_confdir
1962 if test ! -r "$srcdir/$ac_unique_file"; then
1963 srcdir=..
1965 else
1966 ac_srcdir_defaulted=no
1968 if test ! -r "$srcdir/$ac_unique_file"; then
1969 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1970 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1972 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1973 ac_abs_confdir=`(
1974 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1975 pwd)`
1976 # When building in place, set srcdir=.
1977 if test "$ac_abs_confdir" = "$ac_pwd"; then
1978 srcdir=.
1980 # Remove unnecessary trailing slashes from srcdir.
1981 # Double slashes in file names in object file debugging info
1982 # mess up M-x gdb in Emacs.
1983 case $srcdir in
1984 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1985 esac
1986 for ac_var in $ac_precious_vars; do
1987 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1988 eval ac_env_${ac_var}_value=\$${ac_var}
1989 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1990 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1991 done
1994 # Report the --help message.
1996 if test "$ac_init_help" = "long"; then
1997 # Omit some internal or obsolete options to make the list less imposing.
1998 # This message is too long to be a string in the A/UX 3.1 sh.
1999 cat <<_ACEOF
2000 \`configure' configures Wine 1.7.32 to adapt to many kinds of systems.
2002 Usage: $0 [OPTION]... [VAR=VALUE]...
2004 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2005 VAR=VALUE. See below for descriptions of some of the useful variables.
2007 Defaults for the options are specified in brackets.
2009 Configuration:
2010 -h, --help display this help and exit
2011 --help=short display options specific to this package
2012 --help=recursive display the short help of all the included packages
2013 -V, --version display version information and exit
2014 -q, --quiet, --silent do not print \`checking ...' messages
2015 --cache-file=FILE cache test results in FILE [disabled]
2016 -C, --config-cache alias for \`--cache-file=config.cache'
2017 -n, --no-create do not create output files
2018 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2020 Installation directories:
2021 --prefix=PREFIX install architecture-independent files in PREFIX
2022 [$ac_default_prefix]
2023 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2024 [PREFIX]
2026 By default, \`make install' will install all the files in
2027 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2028 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2029 for instance \`--prefix=\$HOME'.
2031 For better control, use the options below.
2033 Fine tuning of the installation directories:
2034 --bindir=DIR user executables [EPREFIX/bin]
2035 --sbindir=DIR system admin executables [EPREFIX/sbin]
2036 --libexecdir=DIR program executables [EPREFIX/libexec]
2037 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2038 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2039 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2040 --libdir=DIR object code libraries [EPREFIX/lib]
2041 --includedir=DIR C header files [PREFIX/include]
2042 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2043 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2044 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2045 --infodir=DIR info documentation [DATAROOTDIR/info]
2046 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2047 --mandir=DIR man documentation [DATAROOTDIR/man]
2048 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2049 --htmldir=DIR html documentation [DOCDIR]
2050 --dvidir=DIR dvi documentation [DOCDIR]
2051 --pdfdir=DIR pdf documentation [DOCDIR]
2052 --psdir=DIR ps documentation [DOCDIR]
2053 _ACEOF
2055 cat <<\_ACEOF
2057 X features:
2058 --x-includes=DIR X include files are in DIR
2059 --x-libraries=DIR X library files are in DIR
2061 System types:
2062 --build=BUILD configure for building on BUILD [guessed]
2063 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2064 _ACEOF
2067 if test -n "$ac_init_help"; then
2068 case $ac_init_help in
2069 short | recursive ) echo "Configuration of Wine 1.7.32:";;
2070 esac
2071 cat <<\_ACEOF
2073 Optional Features:
2074 --disable-option-checking ignore unrecognized --enable/--with options
2075 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2076 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2077 --disable-win16 do not include Win16 support
2078 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2079 binaries)
2080 --disable-tests do not build the regression tests
2081 --enable-maintainer-mode
2082 enable maintainer-specific build rules
2083 --disable-largefile omit support for large files
2085 Optional Packages:
2086 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2087 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2088 --without-alsa do not use the Alsa sound support
2089 --without-capi do not use CAPI (ISDN support)
2090 --without-cms do not use CMS (color management support)
2091 --without-coreaudio do not use the CoreAudio sound support
2092 --without-cups do not use CUPS
2093 --without-curses do not use (n)curses
2094 --without-dbus do not use DBus (dynamic device support)
2095 --without-fontconfig do not use fontconfig
2096 --without-freetype do not use the FreeType library
2097 --without-gettext do not use gettext
2098 --with-gettextpo use the GetTextPO library to rebuild po files
2099 --without-gphoto do not use gphoto (Digital Camera support)
2100 --without-glu do not use the GLU library
2101 --without-gnutls do not use GnuTLS (schannel support)
2102 --without-gsm do not use libgsm (GSM 06.10 codec support)
2103 --without-gstreamer do not use GStreamer (codecs support)
2104 --without-hal do not use HAL (dynamic device support)
2105 --without-jpeg do not use JPEG
2106 --without-ldap do not use LDAP
2107 --without-mpg123 do not use the mpg123 library
2108 --without-netapi do not use the Samba NetAPI library
2109 --without-openal do not use OpenAL
2110 --without-opencl do not use OpenCL
2111 --without-opengl do not use OpenGL
2112 --without-osmesa do not use the OSMesa library
2113 --without-oss do not use the OSS sound support
2114 --without-pcap do not use the Packet Capture library
2115 --without-png do not use PNG
2116 --without-pthread do not use the pthread library
2117 --without-sane do not use SANE (scanner support)
2118 --without-tiff do not use TIFF
2119 --without-v4l do not use v4l1 (v4l support)
2120 --without-xcomposite do not use the Xcomposite extension
2121 --without-xcursor do not use the Xcursor extension
2122 --without-xinerama do not use Xinerama (multi-monitor support)
2123 --without-xinput do not use the Xinput extension
2124 --without-xinput2 do not use the Xinput 2 extension
2125 --without-xml do not use XML
2126 --without-xrandr do not use Xrandr (resolution changes)
2127 --without-xrender do not use the Xrender extension
2128 --without-xshape do not use the Xshape extension
2129 --without-xshm do not use XShm (shared memory extension)
2130 --without-xslt do not use XSLT
2131 --without-xxf86vm do not use XFree video mode extension
2132 --without-zlib do not use Zlib (data compression)
2133 --with-wine-tools=DIR use Wine tools from directory DIR
2134 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2135 --with-x use the X Window System
2137 Some influential environment variables:
2138 CC C compiler command
2139 CFLAGS C compiler flags
2140 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2141 nonstandard directory <lib dir>
2142 LIBS libraries to pass to the linker, e.g. -l<library>
2143 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2144 you have headers in a nonstandard directory <include dir>
2145 CXX C++ compiler command
2146 CXXFLAGS C++ compiler flags
2147 CPP C preprocessor
2148 XMKMF Path to xmkmf, Makefile generator for X Window System
2149 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2150 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2151 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2152 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2153 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2154 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2155 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2156 HAL_LIBS Linker flags for hal, overriding pkg-config
2157 GNUTLS_CFLAGS
2158 C compiler flags for gnutls, overriding pkg-config
2159 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2160 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2161 SANE_LIBS Linker flags for libsane, overriding pkg-config
2162 GPHOTO2_CFLAGS
2163 C compiler flags for libgphoto2, overriding pkg-config
2164 GPHOTO2_LIBS
2165 Linker flags for libgphoto2, overriding pkg-config
2166 GPHOTO2_PORT_CFLAGS
2167 C compiler flags for libgphoto2_port, overriding pkg-config
2168 GPHOTO2_PORT_LIBS
2169 Linker flags for libgphoto2_port, overriding pkg-config
2170 LCMS2_CFLAGS
2171 C compiler flags for lcms2, overriding pkg-config
2172 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2173 FREETYPE_CFLAGS
2174 C compiler flags for freetype2, overriding pkg-config
2175 FREETYPE_LIBS
2176 Linker flags for freetype2, overriding pkg-config
2177 GSTREAMER_CFLAGS
2178 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2179 GSTREAMER_LIBS
2180 Linker flags for gstreamer-app-0.10, overriding pkg-config
2181 CAPI20_CFLAGS
2182 C compiler flags for capi20, overriding pkg-config
2183 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2184 FONTCONFIG_CFLAGS
2185 C compiler flags for fontconfig, overriding pkg-config
2186 FONTCONFIG_LIBS
2187 Linker flags for fontconfig, overriding pkg-config
2188 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2189 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2190 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2191 PNG_LIBS Linker flags for libpng, overriding pkg-config
2192 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2193 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2194 MPG123_CFLAGS
2195 C compiler flags for libmpg123, overriding pkg-config
2196 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2198 Use these variables to override the choices made by `configure' or to help
2199 it to find libraries and programs with nonstandard names/locations.
2201 Report bugs to <wine-devel@winehq.org>.
2202 Wine home page: <http://www.winehq.org>.
2203 _ACEOF
2204 ac_status=$?
2207 if test "$ac_init_help" = "recursive"; then
2208 # If there are subdirs, report their specific --help.
2209 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2210 test -d "$ac_dir" ||
2211 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2212 continue
2213 ac_builddir=.
2215 case "$ac_dir" in
2216 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2218 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2219 # A ".." for each directory in $ac_dir_suffix.
2220 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2221 case $ac_top_builddir_sub in
2222 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2223 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2224 esac ;;
2225 esac
2226 ac_abs_top_builddir=$ac_pwd
2227 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2228 # for backward compatibility:
2229 ac_top_builddir=$ac_top_build_prefix
2231 case $srcdir in
2232 .) # We are building in place.
2233 ac_srcdir=.
2234 ac_top_srcdir=$ac_top_builddir_sub
2235 ac_abs_top_srcdir=$ac_pwd ;;
2236 [\\/]* | ?:[\\/]* ) # Absolute name.
2237 ac_srcdir=$srcdir$ac_dir_suffix;
2238 ac_top_srcdir=$srcdir
2239 ac_abs_top_srcdir=$srcdir ;;
2240 *) # Relative name.
2241 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2242 ac_top_srcdir=$ac_top_build_prefix$srcdir
2243 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2244 esac
2245 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2247 cd "$ac_dir" || { ac_status=$?; continue; }
2248 # Check for guested configure.
2249 if test -f "$ac_srcdir/configure.gnu"; then
2250 echo &&
2251 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2252 elif test -f "$ac_srcdir/configure"; then
2253 echo &&
2254 $SHELL "$ac_srcdir/configure" --help=recursive
2255 else
2256 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2257 fi || ac_status=$?
2258 cd "$ac_pwd" || { ac_status=$?; break; }
2259 done
2262 test -n "$ac_init_help" && exit $ac_status
2263 if $ac_init_version; then
2264 cat <<\_ACEOF
2265 Wine configure 1.7.32
2266 generated by GNU Autoconf 2.69
2268 Copyright (C) 2012 Free Software Foundation, Inc.
2269 This configure script is free software; the Free Software Foundation
2270 gives unlimited permission to copy, distribute and modify it.
2271 _ACEOF
2272 exit
2275 ## ------------------------ ##
2276 ## Autoconf initialization. ##
2277 ## ------------------------ ##
2279 # ac_fn_c_try_compile LINENO
2280 # --------------------------
2281 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2282 ac_fn_c_try_compile ()
2284 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2285 rm -f conftest.$ac_objext
2286 if { { ac_try="$ac_compile"
2287 case "(($ac_try" in
2288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2289 *) ac_try_echo=$ac_try;;
2290 esac
2291 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2292 $as_echo "$ac_try_echo"; } >&5
2293 (eval "$ac_compile") 2>conftest.err
2294 ac_status=$?
2295 if test -s conftest.err; then
2296 grep -v '^ *+' conftest.err >conftest.er1
2297 cat conftest.er1 >&5
2298 mv -f conftest.er1 conftest.err
2300 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2301 test $ac_status = 0; } && {
2302 test -z "$ac_c_werror_flag" ||
2303 test ! -s conftest.err
2304 } && test -s conftest.$ac_objext; then :
2305 ac_retval=0
2306 else
2307 $as_echo "$as_me: failed program was:" >&5
2308 sed 's/^/| /' conftest.$ac_ext >&5
2310 ac_retval=1
2312 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2313 as_fn_set_status $ac_retval
2315 } # ac_fn_c_try_compile
2317 # ac_fn_cxx_try_compile LINENO
2318 # ----------------------------
2319 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2320 ac_fn_cxx_try_compile ()
2322 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2323 rm -f conftest.$ac_objext
2324 if { { ac_try="$ac_compile"
2325 case "(($ac_try" in
2326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2327 *) ac_try_echo=$ac_try;;
2328 esac
2329 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2330 $as_echo "$ac_try_echo"; } >&5
2331 (eval "$ac_compile") 2>conftest.err
2332 ac_status=$?
2333 if test -s conftest.err; then
2334 grep -v '^ *+' conftest.err >conftest.er1
2335 cat conftest.er1 >&5
2336 mv -f conftest.er1 conftest.err
2338 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2339 test $ac_status = 0; } && {
2340 test -z "$ac_cxx_werror_flag" ||
2341 test ! -s conftest.err
2342 } && test -s conftest.$ac_objext; then :
2343 ac_retval=0
2344 else
2345 $as_echo "$as_me: failed program was:" >&5
2346 sed 's/^/| /' conftest.$ac_ext >&5
2348 ac_retval=1
2350 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2351 as_fn_set_status $ac_retval
2353 } # ac_fn_cxx_try_compile
2355 # ac_fn_c_try_link LINENO
2356 # -----------------------
2357 # Try to link conftest.$ac_ext, and return whether this succeeded.
2358 ac_fn_c_try_link ()
2360 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2361 rm -f conftest.$ac_objext conftest$ac_exeext
2362 if { { ac_try="$ac_link"
2363 case "(($ac_try" in
2364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2365 *) ac_try_echo=$ac_try;;
2366 esac
2367 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2368 $as_echo "$ac_try_echo"; } >&5
2369 (eval "$ac_link") 2>conftest.err
2370 ac_status=$?
2371 if test -s conftest.err; then
2372 grep -v '^ *+' conftest.err >conftest.er1
2373 cat conftest.er1 >&5
2374 mv -f conftest.er1 conftest.err
2376 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2377 test $ac_status = 0; } && {
2378 test -z "$ac_c_werror_flag" ||
2379 test ! -s conftest.err
2380 } && test -s conftest$ac_exeext && {
2381 test "$cross_compiling" = yes ||
2382 test -x conftest$ac_exeext
2383 }; then :
2384 ac_retval=0
2385 else
2386 $as_echo "$as_me: failed program was:" >&5
2387 sed 's/^/| /' conftest.$ac_ext >&5
2389 ac_retval=1
2391 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2392 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2393 # interfere with the next link command; also delete a directory that is
2394 # left behind by Apple's compiler. We do this before executing the actions.
2395 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2396 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2397 as_fn_set_status $ac_retval
2399 } # ac_fn_c_try_link
2401 # ac_fn_c_try_cpp LINENO
2402 # ----------------------
2403 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2404 ac_fn_c_try_cpp ()
2406 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2407 if { { ac_try="$ac_cpp conftest.$ac_ext"
2408 case "(($ac_try" in
2409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2410 *) ac_try_echo=$ac_try;;
2411 esac
2412 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2413 $as_echo "$ac_try_echo"; } >&5
2414 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2415 ac_status=$?
2416 if test -s conftest.err; then
2417 grep -v '^ *+' conftest.err >conftest.er1
2418 cat conftest.er1 >&5
2419 mv -f conftest.er1 conftest.err
2421 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2422 test $ac_status = 0; } > conftest.i && {
2423 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2424 test ! -s conftest.err
2425 }; then :
2426 ac_retval=0
2427 else
2428 $as_echo "$as_me: failed program was:" >&5
2429 sed 's/^/| /' conftest.$ac_ext >&5
2431 ac_retval=1
2433 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2434 as_fn_set_status $ac_retval
2436 } # ac_fn_c_try_cpp
2438 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2439 # -------------------------------------------------------
2440 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2441 # the include files in INCLUDES and setting the cache variable VAR
2442 # accordingly.
2443 ac_fn_c_check_header_mongrel ()
2445 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2446 if eval \${$3+:} false; then :
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2448 $as_echo_n "checking for $2... " >&6; }
2449 if eval \${$3+:} false; then :
2450 $as_echo_n "(cached) " >&6
2452 eval ac_res=\$$3
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2454 $as_echo "$ac_res" >&6; }
2455 else
2456 # Is the header compilable?
2457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2458 $as_echo_n "checking $2 usability... " >&6; }
2459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2460 /* end confdefs.h. */
2462 #include <$2>
2463 _ACEOF
2464 if ac_fn_c_try_compile "$LINENO"; then :
2465 ac_header_compiler=yes
2466 else
2467 ac_header_compiler=no
2469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2471 $as_echo "$ac_header_compiler" >&6; }
2473 # Is the header present?
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2475 $as_echo_n "checking $2 presence... " >&6; }
2476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2477 /* end confdefs.h. */
2478 #include <$2>
2479 _ACEOF
2480 if ac_fn_c_try_cpp "$LINENO"; then :
2481 ac_header_preproc=yes
2482 else
2483 ac_header_preproc=no
2485 rm -f conftest.err conftest.i conftest.$ac_ext
2486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2487 $as_echo "$ac_header_preproc" >&6; }
2489 # So? What about this header?
2490 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2491 yes:no: )
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2493 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2494 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2495 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2497 no:yes:* )
2498 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2499 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2501 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2502 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2503 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2504 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2505 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2507 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2508 ( $as_echo "## ------------------------------------ ##
2509 ## Report this to wine-devel@winehq.org ##
2510 ## ------------------------------------ ##"
2511 ) | sed "s/^/$as_me: WARNING: /" >&2
2513 esac
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2515 $as_echo_n "checking for $2... " >&6; }
2516 if eval \${$3+:} false; then :
2517 $as_echo_n "(cached) " >&6
2518 else
2519 eval "$3=\$ac_header_compiler"
2521 eval ac_res=\$$3
2522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2523 $as_echo "$ac_res" >&6; }
2525 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2527 } # ac_fn_c_check_header_mongrel
2529 # ac_fn_c_try_run LINENO
2530 # ----------------------
2531 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2532 # that executables *can* be run.
2533 ac_fn_c_try_run ()
2535 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2536 if { { ac_try="$ac_link"
2537 case "(($ac_try" in
2538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2539 *) ac_try_echo=$ac_try;;
2540 esac
2541 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2542 $as_echo "$ac_try_echo"; } >&5
2543 (eval "$ac_link") 2>&5
2544 ac_status=$?
2545 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2546 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2547 { { case "(($ac_try" in
2548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2549 *) ac_try_echo=$ac_try;;
2550 esac
2551 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2552 $as_echo "$ac_try_echo"; } >&5
2553 (eval "$ac_try") 2>&5
2554 ac_status=$?
2555 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2556 test $ac_status = 0; }; }; then :
2557 ac_retval=0
2558 else
2559 $as_echo "$as_me: program exited with status $ac_status" >&5
2560 $as_echo "$as_me: failed program was:" >&5
2561 sed 's/^/| /' conftest.$ac_ext >&5
2563 ac_retval=$ac_status
2565 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2566 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2567 as_fn_set_status $ac_retval
2569 } # ac_fn_c_try_run
2571 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2572 # -------------------------------------------------------
2573 # Tests whether HEADER exists and can be compiled using the include files in
2574 # INCLUDES, setting the cache variable VAR accordingly.
2575 ac_fn_c_check_header_compile ()
2577 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2579 $as_echo_n "checking for $2... " >&6; }
2580 if eval \${$3+:} false; then :
2581 $as_echo_n "(cached) " >&6
2582 else
2583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2584 /* end confdefs.h. */
2586 #include <$2>
2587 _ACEOF
2588 if ac_fn_c_try_compile "$LINENO"; then :
2589 eval "$3=yes"
2590 else
2591 eval "$3=no"
2593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2595 eval ac_res=\$$3
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2597 $as_echo "$ac_res" >&6; }
2598 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2600 } # ac_fn_c_check_header_compile
2602 # ac_fn_c_check_func LINENO FUNC VAR
2603 # ----------------------------------
2604 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2605 ac_fn_c_check_func ()
2607 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2609 $as_echo_n "checking for $2... " >&6; }
2610 if eval \${$3+:} false; then :
2611 $as_echo_n "(cached) " >&6
2612 else
2613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2614 /* end confdefs.h. */
2615 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2616 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2617 #define $2 innocuous_$2
2619 /* System header to define __stub macros and hopefully few prototypes,
2620 which can conflict with char $2 (); below.
2621 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2622 <limits.h> exists even on freestanding compilers. */
2624 #ifdef __STDC__
2625 # include <limits.h>
2626 #else
2627 # include <assert.h>
2628 #endif
2630 #undef $2
2632 /* Override any GCC internal prototype to avoid an error.
2633 Use char because int might match the return type of a GCC
2634 builtin and then its argument prototype would still apply. */
2635 #ifdef __cplusplus
2636 extern "C"
2637 #endif
2638 char $2 ();
2639 /* The GNU C library defines this for functions which it implements
2640 to always fail with ENOSYS. Some functions are actually named
2641 something starting with __ and the normal name is an alias. */
2642 #if defined __stub_$2 || defined __stub___$2
2643 choke me
2644 #endif
2647 main ()
2649 return $2 ();
2651 return 0;
2653 _ACEOF
2654 if ac_fn_c_try_link "$LINENO"; then :
2655 eval "$3=yes"
2656 else
2657 eval "$3=no"
2659 rm -f core conftest.err conftest.$ac_objext \
2660 conftest$ac_exeext conftest.$ac_ext
2662 eval ac_res=\$$3
2663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2664 $as_echo "$ac_res" >&6; }
2665 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2667 } # ac_fn_c_check_func
2669 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2670 # ----------------------------------------------------
2671 # Tries to find if the field MEMBER exists in type AGGR, after including
2672 # INCLUDES, setting cache variable VAR accordingly.
2673 ac_fn_c_check_member ()
2675 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2677 $as_echo_n "checking for $2.$3... " >&6; }
2678 if eval \${$4+:} false; then :
2679 $as_echo_n "(cached) " >&6
2680 else
2681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2682 /* end confdefs.h. */
2685 main ()
2687 static $2 ac_aggr;
2688 if (ac_aggr.$3)
2689 return 0;
2691 return 0;
2693 _ACEOF
2694 if ac_fn_c_try_compile "$LINENO"; then :
2695 eval "$4=yes"
2696 else
2697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2698 /* end confdefs.h. */
2701 main ()
2703 static $2 ac_aggr;
2704 if (sizeof ac_aggr.$3)
2705 return 0;
2707 return 0;
2709 _ACEOF
2710 if ac_fn_c_try_compile "$LINENO"; then :
2711 eval "$4=yes"
2712 else
2713 eval "$4=no"
2715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2719 eval ac_res=\$$4
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2721 $as_echo "$ac_res" >&6; }
2722 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2724 } # ac_fn_c_check_member
2726 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2727 # -------------------------------------------
2728 # Tests whether TYPE exists after having included INCLUDES, setting cache
2729 # variable VAR accordingly.
2730 ac_fn_c_check_type ()
2732 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2734 $as_echo_n "checking for $2... " >&6; }
2735 if eval \${$3+:} false; then :
2736 $as_echo_n "(cached) " >&6
2737 else
2738 eval "$3=no"
2739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2740 /* end confdefs.h. */
2743 main ()
2745 if (sizeof ($2))
2746 return 0;
2748 return 0;
2750 _ACEOF
2751 if ac_fn_c_try_compile "$LINENO"; then :
2752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2753 /* end confdefs.h. */
2756 main ()
2758 if (sizeof (($2)))
2759 return 0;
2761 return 0;
2763 _ACEOF
2764 if ac_fn_c_try_compile "$LINENO"; then :
2766 else
2767 eval "$3=yes"
2769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2773 eval ac_res=\$$3
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2775 $as_echo "$ac_res" >&6; }
2776 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2778 } # ac_fn_c_check_type
2779 cat >config.log <<_ACEOF
2780 This file contains any messages produced by compilers while
2781 running configure, to aid debugging if configure makes a mistake.
2783 It was created by Wine $as_me 1.7.32, which was
2784 generated by GNU Autoconf 2.69. Invocation command line was
2786 $ $0 $@
2788 _ACEOF
2789 exec 5>>config.log
2791 cat <<_ASUNAME
2792 ## --------- ##
2793 ## Platform. ##
2794 ## --------- ##
2796 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2797 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2798 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2799 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2800 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2802 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2803 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2805 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2806 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2807 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2808 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2809 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2810 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2811 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2813 _ASUNAME
2815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2816 for as_dir in $PATH
2818 IFS=$as_save_IFS
2819 test -z "$as_dir" && as_dir=.
2820 $as_echo "PATH: $as_dir"
2821 done
2822 IFS=$as_save_IFS
2824 } >&5
2826 cat >&5 <<_ACEOF
2829 ## ----------- ##
2830 ## Core tests. ##
2831 ## ----------- ##
2833 _ACEOF
2836 # Keep a trace of the command line.
2837 # Strip out --no-create and --no-recursion so they do not pile up.
2838 # Strip out --silent because we don't want to record it for future runs.
2839 # Also quote any args containing shell meta-characters.
2840 # Make two passes to allow for proper duplicate-argument suppression.
2841 ac_configure_args=
2842 ac_configure_args0=
2843 ac_configure_args1=
2844 ac_must_keep_next=false
2845 for ac_pass in 1 2
2847 for ac_arg
2849 case $ac_arg in
2850 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2851 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2852 | -silent | --silent | --silen | --sile | --sil)
2853 continue ;;
2854 *\'*)
2855 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2856 esac
2857 case $ac_pass in
2858 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2860 as_fn_append ac_configure_args1 " '$ac_arg'"
2861 if test $ac_must_keep_next = true; then
2862 ac_must_keep_next=false # Got value, back to normal.
2863 else
2864 case $ac_arg in
2865 *=* | --config-cache | -C | -disable-* | --disable-* \
2866 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2867 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2868 | -with-* | --with-* | -without-* | --without-* | --x)
2869 case "$ac_configure_args0 " in
2870 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2871 esac
2873 -* ) ac_must_keep_next=true ;;
2874 esac
2876 as_fn_append ac_configure_args " '$ac_arg'"
2878 esac
2879 done
2880 done
2881 { ac_configure_args0=; unset ac_configure_args0;}
2882 { ac_configure_args1=; unset ac_configure_args1;}
2884 # When interrupted or exit'd, cleanup temporary files, and complete
2885 # config.log. We remove comments because anyway the quotes in there
2886 # would cause problems or look ugly.
2887 # WARNING: Use '\'' to represent an apostrophe within the trap.
2888 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2889 trap 'exit_status=$?
2890 # Save into config.log some information that might help in debugging.
2892 echo
2894 $as_echo "## ---------------- ##
2895 ## Cache variables. ##
2896 ## ---------------- ##"
2897 echo
2898 # The following way of writing the cache mishandles newlines in values,
2900 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2901 eval ac_val=\$$ac_var
2902 case $ac_val in #(
2903 *${as_nl}*)
2904 case $ac_var in #(
2905 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2906 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2907 esac
2908 case $ac_var in #(
2909 _ | IFS | as_nl) ;; #(
2910 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2911 *) { eval $ac_var=; unset $ac_var;} ;;
2912 esac ;;
2913 esac
2914 done
2915 (set) 2>&1 |
2916 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2917 *${as_nl}ac_space=\ *)
2918 sed -n \
2919 "s/'\''/'\''\\\\'\'''\''/g;
2920 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2921 ;; #(
2923 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2925 esac |
2926 sort
2928 echo
2930 $as_echo "## ----------------- ##
2931 ## Output variables. ##
2932 ## ----------------- ##"
2933 echo
2934 for ac_var in $ac_subst_vars
2936 eval ac_val=\$$ac_var
2937 case $ac_val in
2938 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2939 esac
2940 $as_echo "$ac_var='\''$ac_val'\''"
2941 done | sort
2942 echo
2944 if test -n "$ac_subst_files"; then
2945 $as_echo "## ------------------- ##
2946 ## File substitutions. ##
2947 ## ------------------- ##"
2948 echo
2949 for ac_var in $ac_subst_files
2951 eval ac_val=\$$ac_var
2952 case $ac_val in
2953 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2954 esac
2955 $as_echo "$ac_var='\''$ac_val'\''"
2956 done | sort
2957 echo
2960 if test -s confdefs.h; then
2961 $as_echo "## ----------- ##
2962 ## confdefs.h. ##
2963 ## ----------- ##"
2964 echo
2965 cat confdefs.h
2966 echo
2968 test "$ac_signal" != 0 &&
2969 $as_echo "$as_me: caught signal $ac_signal"
2970 $as_echo "$as_me: exit $exit_status"
2971 } >&5
2972 rm -f core *.core core.conftest.* &&
2973 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2974 exit $exit_status
2976 for ac_signal in 1 2 13 15; do
2977 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2978 done
2979 ac_signal=0
2981 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2982 rm -f -r conftest* confdefs.h
2984 $as_echo "/* confdefs.h */" > confdefs.h
2986 # Predefined preprocessor variables.
2988 cat >>confdefs.h <<_ACEOF
2989 #define PACKAGE_NAME "$PACKAGE_NAME"
2990 _ACEOF
2992 cat >>confdefs.h <<_ACEOF
2993 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2994 _ACEOF
2996 cat >>confdefs.h <<_ACEOF
2997 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2998 _ACEOF
3000 cat >>confdefs.h <<_ACEOF
3001 #define PACKAGE_STRING "$PACKAGE_STRING"
3002 _ACEOF
3004 cat >>confdefs.h <<_ACEOF
3005 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3006 _ACEOF
3008 cat >>confdefs.h <<_ACEOF
3009 #define PACKAGE_URL "$PACKAGE_URL"
3010 _ACEOF
3013 # Let the site file select an alternate cache file if it wants to.
3014 # Prefer an explicitly selected file to automatically selected ones.
3015 ac_site_file1=NONE
3016 ac_site_file2=NONE
3017 if test -n "$CONFIG_SITE"; then
3018 # We do not want a PATH search for config.site.
3019 case $CONFIG_SITE in #((
3020 -*) ac_site_file1=./$CONFIG_SITE;;
3021 */*) ac_site_file1=$CONFIG_SITE;;
3022 *) ac_site_file1=./$CONFIG_SITE;;
3023 esac
3024 elif test "x$prefix" != xNONE; then
3025 ac_site_file1=$prefix/share/config.site
3026 ac_site_file2=$prefix/etc/config.site
3027 else
3028 ac_site_file1=$ac_default_prefix/share/config.site
3029 ac_site_file2=$ac_default_prefix/etc/config.site
3031 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3033 test "x$ac_site_file" = xNONE && continue
3034 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3036 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3037 sed 's/^/| /' "$ac_site_file" >&5
3038 . "$ac_site_file" \
3039 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3040 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3041 as_fn_error $? "failed to load site script $ac_site_file
3042 See \`config.log' for more details" "$LINENO" 5; }
3044 done
3046 if test -r "$cache_file"; then
3047 # Some versions of bash will fail to source /dev/null (special files
3048 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3049 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3051 $as_echo "$as_me: loading cache $cache_file" >&6;}
3052 case $cache_file in
3053 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3054 *) . "./$cache_file";;
3055 esac
3057 else
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3059 $as_echo "$as_me: creating cache $cache_file" >&6;}
3060 >$cache_file
3063 # Check that the precious variables saved in the cache have kept the same
3064 # value.
3065 ac_cache_corrupted=false
3066 for ac_var in $ac_precious_vars; do
3067 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3068 eval ac_new_set=\$ac_env_${ac_var}_set
3069 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3070 eval ac_new_val=\$ac_env_${ac_var}_value
3071 case $ac_old_set,$ac_new_set in
3072 set,)
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3074 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3075 ac_cache_corrupted=: ;;
3076 ,set)
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3078 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3079 ac_cache_corrupted=: ;;
3080 ,);;
3082 if test "x$ac_old_val" != "x$ac_new_val"; then
3083 # differences in whitespace do not lead to failure.
3084 ac_old_val_w=`echo x $ac_old_val`
3085 ac_new_val_w=`echo x $ac_new_val`
3086 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3088 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3089 ac_cache_corrupted=:
3090 else
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3092 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3093 eval $ac_var=\$ac_old_val
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3096 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3098 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3099 fi;;
3100 esac
3101 # Pass precious variables to config.status.
3102 if test "$ac_new_set" = set; then
3103 case $ac_new_val in
3104 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3105 *) ac_arg=$ac_var=$ac_new_val ;;
3106 esac
3107 case " $ac_configure_args " in
3108 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3109 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3110 esac
3112 done
3113 if $ac_cache_corrupted; then
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3115 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3117 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3118 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3120 ## -------------------- ##
3121 ## Main body of script. ##
3122 ## -------------------- ##
3124 ac_ext=c
3125 ac_cpp='$CPP $CPPFLAGS'
3126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3132 ac_config_headers="$ac_config_headers include/config.h"
3134 ac_aux_dir=
3135 for ac_dir in tools "$srcdir"/tools; do
3136 if test -f "$ac_dir/install-sh"; then
3137 ac_aux_dir=$ac_dir
3138 ac_install_sh="$ac_aux_dir/install-sh -c"
3139 break
3140 elif test -f "$ac_dir/install.sh"; then
3141 ac_aux_dir=$ac_dir
3142 ac_install_sh="$ac_aux_dir/install.sh -c"
3143 break
3144 elif test -f "$ac_dir/shtool"; then
3145 ac_aux_dir=$ac_dir
3146 ac_install_sh="$ac_aux_dir/shtool install -c"
3147 break
3149 done
3150 if test -z "$ac_aux_dir"; then
3151 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3154 # These three variables are undocumented and unsupported,
3155 # and are intended to be withdrawn in a future Autoconf release.
3156 # They can cause serious problems if a builder's source tree is in a directory
3157 # whose full name contains unusual characters.
3158 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3159 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3160 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3164 libwine_version="1.0"
3168 # Check whether --enable-win16 was given.
3169 if test "${enable_win16+set}" = set; then :
3170 enableval=$enable_win16;
3173 # Check whether --enable-win64 was given.
3174 if test "${enable_win64+set}" = set; then :
3175 enableval=$enable_win64;
3178 # Check whether --enable-tests was given.
3179 if test "${enable_tests+set}" = set; then :
3180 enableval=$enable_tests;
3183 # Check whether --enable-maintainer-mode was given.
3184 if test "${enable_maintainer_mode+set}" = set; then :
3185 enableval=$enable_maintainer_mode;
3190 # Check whether --with-alsa was given.
3191 if test "${with_alsa+set}" = set; then :
3192 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3196 # Check whether --with-capi was given.
3197 if test "${with_capi+set}" = set; then :
3198 withval=$with_capi;
3202 # Check whether --with-cms was given.
3203 if test "${with_cms+set}" = set; then :
3204 withval=$with_cms;
3208 # Check whether --with-coreaudio was given.
3209 if test "${with_coreaudio+set}" = set; then :
3210 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3214 # Check whether --with-cups was given.
3215 if test "${with_cups+set}" = set; then :
3216 withval=$with_cups;
3220 # Check whether --with-curses was given.
3221 if test "${with_curses+set}" = set; then :
3222 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3226 # Check whether --with-dbus was given.
3227 if test "${with_dbus+set}" = set; then :
3228 withval=$with_dbus;
3232 # Check whether --with-fontconfig was given.
3233 if test "${with_fontconfig+set}" = set; then :
3234 withval=$with_fontconfig;
3238 # Check whether --with-freetype was given.
3239 if test "${with_freetype+set}" = set; then :
3240 withval=$with_freetype;
3244 # Check whether --with-gettext was given.
3245 if test "${with_gettext+set}" = set; then :
3246 withval=$with_gettext;
3250 # Check whether --with-gettextpo was given.
3251 if test "${with_gettextpo+set}" = set; then :
3252 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3256 # Check whether --with-gphoto was given.
3257 if test "${with_gphoto+set}" = set; then :
3258 withval=$with_gphoto;
3262 # Check whether --with-glu was given.
3263 if test "${with_glu+set}" = set; then :
3264 withval=$with_glu;
3268 # Check whether --with-gnutls was given.
3269 if test "${with_gnutls+set}" = set; then :
3270 withval=$with_gnutls;
3274 # Check whether --with-gsm was given.
3275 if test "${with_gsm+set}" = set; then :
3276 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3280 # Check whether --with-gstreamer was given.
3281 if test "${with_gstreamer+set}" = set; then :
3282 withval=$with_gstreamer;
3286 # Check whether --with-hal was given.
3287 if test "${with_hal+set}" = set; then :
3288 withval=$with_hal;
3292 # Check whether --with-jpeg was given.
3293 if test "${with_jpeg+set}" = set; then :
3294 withval=$with_jpeg;
3298 # Check whether --with-ldap was given.
3299 if test "${with_ldap+set}" = set; then :
3300 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3304 # Check whether --with-mpg123 was given.
3305 if test "${with_mpg123+set}" = set; then :
3306 withval=$with_mpg123;
3310 # Check whether --with-netapi was given.
3311 if test "${with_netapi+set}" = set; then :
3312 withval=$with_netapi;
3316 # Check whether --with-openal was given.
3317 if test "${with_openal+set}" = set; then :
3318 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3322 # Check whether --with-opencl was given.
3323 if test "${with_opencl+set}" = set; then :
3324 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3328 # Check whether --with-opengl was given.
3329 if test "${with_opengl+set}" = set; then :
3330 withval=$with_opengl;
3334 # Check whether --with-osmesa was given.
3335 if test "${with_osmesa+set}" = set; then :
3336 withval=$with_osmesa;
3340 # Check whether --with-oss was given.
3341 if test "${with_oss+set}" = set; then :
3342 withval=$with_oss;
3346 # Check whether --with-pcap was given.
3347 if test "${with_pcap+set}" = set; then :
3348 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3352 # Check whether --with-png was given.
3353 if test "${with_png+set}" = set; then :
3354 withval=$with_png;
3358 # Check whether --with-pthread was given.
3359 if test "${with_pthread+set}" = set; then :
3360 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3364 # Check whether --with-sane was given.
3365 if test "${with_sane+set}" = set; then :
3366 withval=$with_sane;
3370 # Check whether --with-tiff was given.
3371 if test "${with_tiff+set}" = set; then :
3372 withval=$with_tiff;
3376 # Check whether --with-v4l was given.
3377 if test "${with_v4l+set}" = set; then :
3378 withval=$with_v4l;
3382 # Check whether --with-xcomposite was given.
3383 if test "${with_xcomposite+set}" = set; then :
3384 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3388 # Check whether --with-xcursor was given.
3389 if test "${with_xcursor+set}" = set; then :
3390 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3394 # Check whether --with-xinerama was given.
3395 if test "${with_xinerama+set}" = set; then :
3396 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3400 # Check whether --with-xinput was given.
3401 if test "${with_xinput+set}" = set; then :
3402 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3406 # Check whether --with-xinput2 was given.
3407 if test "${with_xinput2+set}" = set; then :
3408 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3412 # Check whether --with-xml was given.
3413 if test "${with_xml+set}" = set; then :
3414 withval=$with_xml;
3418 # Check whether --with-xrandr was given.
3419 if test "${with_xrandr+set}" = set; then :
3420 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3424 # Check whether --with-xrender was given.
3425 if test "${with_xrender+set}" = set; then :
3426 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3430 # Check whether --with-xshape was given.
3431 if test "${with_xshape+set}" = set; then :
3432 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3436 # Check whether --with-xshm was given.
3437 if test "${with_xshm+set}" = set; then :
3438 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3442 # Check whether --with-xslt was given.
3443 if test "${with_xslt+set}" = set; then :
3444 withval=$with_xslt;
3448 # Check whether --with-xxf86vm was given.
3449 if test "${with_xxf86vm+set}" = set; then :
3450 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
3454 # Check whether --with-zlib was given.
3455 if test "${with_zlib+set}" = set; then :
3456 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3461 # Check whether --with-wine-tools was given.
3462 if test "${with_wine_tools+set}" = set; then :
3463 withval=$with_wine_tools;
3467 # Check whether --with-wine64 was given.
3468 if test "${with_wine64+set}" = set; then :
3469 withval=$with_wine64;
3473 # Make sure we can run config.sub.
3474 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3475 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3478 $as_echo_n "checking build system type... " >&6; }
3479 if ${ac_cv_build+:} false; then :
3480 $as_echo_n "(cached) " >&6
3481 else
3482 ac_build_alias=$build_alias
3483 test "x$ac_build_alias" = x &&
3484 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3485 test "x$ac_build_alias" = x &&
3486 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3487 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3488 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3492 $as_echo "$ac_cv_build" >&6; }
3493 case $ac_cv_build in
3494 *-*-*) ;;
3495 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3496 esac
3497 build=$ac_cv_build
3498 ac_save_IFS=$IFS; IFS='-'
3499 set x $ac_cv_build
3500 shift
3501 build_cpu=$1
3502 build_vendor=$2
3503 shift; shift
3504 # Remember, the first character of IFS is used to create $*,
3505 # except with old shells:
3506 build_os=$*
3507 IFS=$ac_save_IFS
3508 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3512 $as_echo_n "checking host system type... " >&6; }
3513 if ${ac_cv_host+:} false; then :
3514 $as_echo_n "(cached) " >&6
3515 else
3516 if test "x$host_alias" = x; then
3517 ac_cv_host=$ac_cv_build
3518 else
3519 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3520 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3525 $as_echo "$ac_cv_host" >&6; }
3526 case $ac_cv_host in
3527 *-*-*) ;;
3528 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3529 esac
3530 host=$ac_cv_host
3531 ac_save_IFS=$IFS; IFS='-'
3532 set x $ac_cv_host
3533 shift
3534 host_cpu=$1
3535 host_vendor=$2
3536 shift; shift
3537 # Remember, the first character of IFS is used to create $*,
3538 # except with old shells:
3539 host_os=$*
3540 IFS=$ac_save_IFS
3541 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3545 case "$srcdir" in
3546 .) ;;
3547 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3548 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3549 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3550 fi ;;
3551 esac
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3555 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3556 set x ${MAKE-make}
3557 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3558 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3559 $as_echo_n "(cached) " >&6
3560 else
3561 cat >conftest.make <<\_ACEOF
3562 SHELL = /bin/sh
3563 all:
3564 @echo '@@@%%%=$(MAKE)=@@@%%%'
3565 _ACEOF
3566 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3567 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3568 *@@@%%%=?*=@@@%%%*)
3569 eval ac_cv_prog_make_${ac_make}_set=yes;;
3571 eval ac_cv_prog_make_${ac_make}_set=no;;
3572 esac
3573 rm -f conftest.make
3575 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3577 $as_echo "yes" >&6; }
3578 SET_MAKE=
3579 else
3580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3581 $as_echo "no" >&6; }
3582 SET_MAKE="MAKE=${MAKE-make}"
3585 ac_ext=c
3586 ac_cpp='$CPP $CPPFLAGS'
3587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3590 if test -n "$ac_tool_prefix"; then
3591 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3592 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3594 $as_echo_n "checking for $ac_word... " >&6; }
3595 if ${ac_cv_prog_CC+:} false; then :
3596 $as_echo_n "(cached) " >&6
3597 else
3598 if test -n "$CC"; then
3599 ac_cv_prog_CC="$CC" # Let the user override the test.
3600 else
3601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3602 for as_dir in $PATH
3604 IFS=$as_save_IFS
3605 test -z "$as_dir" && as_dir=.
3606 for ac_exec_ext in '' $ac_executable_extensions; do
3607 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3608 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3610 break 2
3612 done
3613 done
3614 IFS=$as_save_IFS
3618 CC=$ac_cv_prog_CC
3619 if test -n "$CC"; then
3620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3621 $as_echo "$CC" >&6; }
3622 else
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3624 $as_echo "no" >&6; }
3629 if test -z "$ac_cv_prog_CC"; then
3630 ac_ct_CC=$CC
3631 # Extract the first word of "gcc", so it can be a program name with args.
3632 set dummy gcc; ac_word=$2
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3634 $as_echo_n "checking for $ac_word... " >&6; }
3635 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3636 $as_echo_n "(cached) " >&6
3637 else
3638 if test -n "$ac_ct_CC"; then
3639 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3640 else
3641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3642 for as_dir in $PATH
3644 IFS=$as_save_IFS
3645 test -z "$as_dir" && as_dir=.
3646 for ac_exec_ext in '' $ac_executable_extensions; do
3647 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3648 ac_cv_prog_ac_ct_CC="gcc"
3649 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3650 break 2
3652 done
3653 done
3654 IFS=$as_save_IFS
3658 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3659 if test -n "$ac_ct_CC"; then
3660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3661 $as_echo "$ac_ct_CC" >&6; }
3662 else
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3664 $as_echo "no" >&6; }
3667 if test "x$ac_ct_CC" = x; then
3668 CC=""
3669 else
3670 case $cross_compiling:$ac_tool_warned in
3671 yes:)
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3673 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3674 ac_tool_warned=yes ;;
3675 esac
3676 CC=$ac_ct_CC
3678 else
3679 CC="$ac_cv_prog_CC"
3682 if test -z "$CC"; then
3683 if test -n "$ac_tool_prefix"; then
3684 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3685 set dummy ${ac_tool_prefix}cc; ac_word=$2
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3687 $as_echo_n "checking for $ac_word... " >&6; }
3688 if ${ac_cv_prog_CC+:} false; then :
3689 $as_echo_n "(cached) " >&6
3690 else
3691 if test -n "$CC"; then
3692 ac_cv_prog_CC="$CC" # Let the user override the test.
3693 else
3694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3695 for as_dir in $PATH
3697 IFS=$as_save_IFS
3698 test -z "$as_dir" && as_dir=.
3699 for ac_exec_ext in '' $ac_executable_extensions; do
3700 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3701 ac_cv_prog_CC="${ac_tool_prefix}cc"
3702 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3703 break 2
3705 done
3706 done
3707 IFS=$as_save_IFS
3711 CC=$ac_cv_prog_CC
3712 if test -n "$CC"; then
3713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3714 $as_echo "$CC" >&6; }
3715 else
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3717 $as_echo "no" >&6; }
3723 if test -z "$CC"; then
3724 # Extract the first word of "cc", so it can be a program name with args.
3725 set dummy cc; ac_word=$2
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3727 $as_echo_n "checking for $ac_word... " >&6; }
3728 if ${ac_cv_prog_CC+:} false; then :
3729 $as_echo_n "(cached) " >&6
3730 else
3731 if test -n "$CC"; then
3732 ac_cv_prog_CC="$CC" # Let the user override the test.
3733 else
3734 ac_prog_rejected=no
3735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3736 for as_dir in $PATH
3738 IFS=$as_save_IFS
3739 test -z "$as_dir" && as_dir=.
3740 for ac_exec_ext in '' $ac_executable_extensions; do
3741 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3742 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3743 ac_prog_rejected=yes
3744 continue
3746 ac_cv_prog_CC="cc"
3747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3748 break 2
3750 done
3751 done
3752 IFS=$as_save_IFS
3754 if test $ac_prog_rejected = yes; then
3755 # We found a bogon in the path, so make sure we never use it.
3756 set dummy $ac_cv_prog_CC
3757 shift
3758 if test $# != 0; then
3759 # We chose a different compiler from the bogus one.
3760 # However, it has the same basename, so the bogon will be chosen
3761 # first if we set CC to just the basename; use the full file name.
3762 shift
3763 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3768 CC=$ac_cv_prog_CC
3769 if test -n "$CC"; then
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3771 $as_echo "$CC" >&6; }
3772 else
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3774 $as_echo "no" >&6; }
3779 if test -z "$CC"; then
3780 if test -n "$ac_tool_prefix"; then
3781 for ac_prog in cl.exe
3783 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3784 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3786 $as_echo_n "checking for $ac_word... " >&6; }
3787 if ${ac_cv_prog_CC+:} false; then :
3788 $as_echo_n "(cached) " >&6
3789 else
3790 if test -n "$CC"; then
3791 ac_cv_prog_CC="$CC" # Let the user override the test.
3792 else
3793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3794 for as_dir in $PATH
3796 IFS=$as_save_IFS
3797 test -z "$as_dir" && as_dir=.
3798 for ac_exec_ext in '' $ac_executable_extensions; do
3799 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3800 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3802 break 2
3804 done
3805 done
3806 IFS=$as_save_IFS
3810 CC=$ac_cv_prog_CC
3811 if test -n "$CC"; then
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3813 $as_echo "$CC" >&6; }
3814 else
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3816 $as_echo "no" >&6; }
3820 test -n "$CC" && break
3821 done
3823 if test -z "$CC"; then
3824 ac_ct_CC=$CC
3825 for ac_prog in cl.exe
3827 # Extract the first word of "$ac_prog", so it can be a program name with args.
3828 set dummy $ac_prog; ac_word=$2
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3830 $as_echo_n "checking for $ac_word... " >&6; }
3831 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3832 $as_echo_n "(cached) " >&6
3833 else
3834 if test -n "$ac_ct_CC"; then
3835 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3836 else
3837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3838 for as_dir in $PATH
3840 IFS=$as_save_IFS
3841 test -z "$as_dir" && as_dir=.
3842 for ac_exec_ext in '' $ac_executable_extensions; do
3843 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3844 ac_cv_prog_ac_ct_CC="$ac_prog"
3845 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3846 break 2
3848 done
3849 done
3850 IFS=$as_save_IFS
3854 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3855 if test -n "$ac_ct_CC"; then
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3857 $as_echo "$ac_ct_CC" >&6; }
3858 else
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3860 $as_echo "no" >&6; }
3864 test -n "$ac_ct_CC" && break
3865 done
3867 if test "x$ac_ct_CC" = x; then
3868 CC=""
3869 else
3870 case $cross_compiling:$ac_tool_warned in
3871 yes:)
3872 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3873 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3874 ac_tool_warned=yes ;;
3875 esac
3876 CC=$ac_ct_CC
3883 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3884 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3885 as_fn_error $? "no acceptable C compiler found in \$PATH
3886 See \`config.log' for more details" "$LINENO" 5; }
3888 # Provide some information about the compiler.
3889 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3890 set X $ac_compile
3891 ac_compiler=$2
3892 for ac_option in --version -v -V -qversion; do
3893 { { ac_try="$ac_compiler $ac_option >&5"
3894 case "(($ac_try" in
3895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3896 *) ac_try_echo=$ac_try;;
3897 esac
3898 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3899 $as_echo "$ac_try_echo"; } >&5
3900 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3901 ac_status=$?
3902 if test -s conftest.err; then
3903 sed '10a\
3904 ... rest of stderr output deleted ...
3905 10q' conftest.err >conftest.er1
3906 cat conftest.er1 >&5
3908 rm -f conftest.er1 conftest.err
3909 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3910 test $ac_status = 0; }
3911 done
3913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3914 /* end confdefs.h. */
3917 main ()
3921 return 0;
3923 _ACEOF
3924 ac_clean_files_save=$ac_clean_files
3925 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3926 # Try to create an executable without -o first, disregard a.out.
3927 # It will help us diagnose broken compilers, and finding out an intuition
3928 # of exeext.
3929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3930 $as_echo_n "checking whether the C compiler works... " >&6; }
3931 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3933 # The possible output files:
3934 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3936 ac_rmfiles=
3937 for ac_file in $ac_files
3939 case $ac_file in
3940 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3941 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3942 esac
3943 done
3944 rm -f $ac_rmfiles
3946 if { { ac_try="$ac_link_default"
3947 case "(($ac_try" in
3948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3949 *) ac_try_echo=$ac_try;;
3950 esac
3951 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3952 $as_echo "$ac_try_echo"; } >&5
3953 (eval "$ac_link_default") 2>&5
3954 ac_status=$?
3955 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3956 test $ac_status = 0; }; then :
3957 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3958 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3959 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3960 # so that the user can short-circuit this test for compilers unknown to
3961 # Autoconf.
3962 for ac_file in $ac_files ''
3964 test -f "$ac_file" || continue
3965 case $ac_file in
3966 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3968 [ab].out )
3969 # We found the default executable, but exeext='' is most
3970 # certainly right.
3971 break;;
3972 *.* )
3973 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3974 then :; else
3975 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3977 # We set ac_cv_exeext here because the later test for it is not
3978 # safe: cross compilers may not add the suffix if given an `-o'
3979 # argument, so we may need to know it at that point already.
3980 # Even if this section looks crufty: it has the advantage of
3981 # actually working.
3982 break;;
3984 break;;
3985 esac
3986 done
3987 test "$ac_cv_exeext" = no && ac_cv_exeext=
3989 else
3990 ac_file=''
3992 if test -z "$ac_file"; then :
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3994 $as_echo "no" >&6; }
3995 $as_echo "$as_me: failed program was:" >&5
3996 sed 's/^/| /' conftest.$ac_ext >&5
3998 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3999 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4000 as_fn_error 77 "C compiler cannot create executables
4001 See \`config.log' for more details" "$LINENO" 5; }
4002 else
4003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4004 $as_echo "yes" >&6; }
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4007 $as_echo_n "checking for C compiler default output file name... " >&6; }
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4009 $as_echo "$ac_file" >&6; }
4010 ac_exeext=$ac_cv_exeext
4012 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4013 ac_clean_files=$ac_clean_files_save
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4015 $as_echo_n "checking for suffix of executables... " >&6; }
4016 if { { ac_try="$ac_link"
4017 case "(($ac_try" in
4018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4019 *) ac_try_echo=$ac_try;;
4020 esac
4021 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4022 $as_echo "$ac_try_echo"; } >&5
4023 (eval "$ac_link") 2>&5
4024 ac_status=$?
4025 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4026 test $ac_status = 0; }; then :
4027 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4028 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4029 # work properly (i.e., refer to `conftest.exe'), while it won't with
4030 # `rm'.
4031 for ac_file in conftest.exe conftest conftest.*; do
4032 test -f "$ac_file" || continue
4033 case $ac_file in
4034 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4035 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4036 break;;
4037 * ) break;;
4038 esac
4039 done
4040 else
4041 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4042 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4043 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4044 See \`config.log' for more details" "$LINENO" 5; }
4046 rm -f conftest conftest$ac_cv_exeext
4047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4048 $as_echo "$ac_cv_exeext" >&6; }
4050 rm -f conftest.$ac_ext
4051 EXEEXT=$ac_cv_exeext
4052 ac_exeext=$EXEEXT
4053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4054 /* end confdefs.h. */
4055 #include <stdio.h>
4057 main ()
4059 FILE *f = fopen ("conftest.out", "w");
4060 return ferror (f) || fclose (f) != 0;
4063 return 0;
4065 _ACEOF
4066 ac_clean_files="$ac_clean_files conftest.out"
4067 # Check that the compiler produces executables we can run. If not, either
4068 # the compiler is broken, or we cross compile.
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4070 $as_echo_n "checking whether we are cross compiling... " >&6; }
4071 if test "$cross_compiling" != yes; then
4072 { { ac_try="$ac_link"
4073 case "(($ac_try" in
4074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4075 *) ac_try_echo=$ac_try;;
4076 esac
4077 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4078 $as_echo "$ac_try_echo"; } >&5
4079 (eval "$ac_link") 2>&5
4080 ac_status=$?
4081 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4082 test $ac_status = 0; }
4083 if { ac_try='./conftest$ac_cv_exeext'
4084 { { case "(($ac_try" in
4085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4086 *) ac_try_echo=$ac_try;;
4087 esac
4088 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4089 $as_echo "$ac_try_echo"; } >&5
4090 (eval "$ac_try") 2>&5
4091 ac_status=$?
4092 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4093 test $ac_status = 0; }; }; then
4094 cross_compiling=no
4095 else
4096 if test "$cross_compiling" = maybe; then
4097 cross_compiling=yes
4098 else
4099 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4100 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4101 as_fn_error $? "cannot run C compiled programs.
4102 If you meant to cross compile, use \`--host'.
4103 See \`config.log' for more details" "$LINENO" 5; }
4107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4108 $as_echo "$cross_compiling" >&6; }
4110 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4111 ac_clean_files=$ac_clean_files_save
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4113 $as_echo_n "checking for suffix of object files... " >&6; }
4114 if ${ac_cv_objext+:} false; then :
4115 $as_echo_n "(cached) " >&6
4116 else
4117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4118 /* end confdefs.h. */
4121 main ()
4125 return 0;
4127 _ACEOF
4128 rm -f conftest.o conftest.obj
4129 if { { ac_try="$ac_compile"
4130 case "(($ac_try" in
4131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4132 *) ac_try_echo=$ac_try;;
4133 esac
4134 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4135 $as_echo "$ac_try_echo"; } >&5
4136 (eval "$ac_compile") 2>&5
4137 ac_status=$?
4138 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4139 test $ac_status = 0; }; then :
4140 for ac_file in conftest.o conftest.obj conftest.*; do
4141 test -f "$ac_file" || continue;
4142 case $ac_file in
4143 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4144 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4145 break;;
4146 esac
4147 done
4148 else
4149 $as_echo "$as_me: failed program was:" >&5
4150 sed 's/^/| /' conftest.$ac_ext >&5
4152 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4153 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4154 as_fn_error $? "cannot compute suffix of object files: cannot compile
4155 See \`config.log' for more details" "$LINENO" 5; }
4157 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4160 $as_echo "$ac_cv_objext" >&6; }
4161 OBJEXT=$ac_cv_objext
4162 ac_objext=$OBJEXT
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4164 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4165 if ${ac_cv_c_compiler_gnu+:} false; then :
4166 $as_echo_n "(cached) " >&6
4167 else
4168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4169 /* end confdefs.h. */
4172 main ()
4174 #ifndef __GNUC__
4175 choke me
4176 #endif
4179 return 0;
4181 _ACEOF
4182 if ac_fn_c_try_compile "$LINENO"; then :
4183 ac_compiler_gnu=yes
4184 else
4185 ac_compiler_gnu=no
4187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4188 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4192 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4193 if test $ac_compiler_gnu = yes; then
4194 GCC=yes
4195 else
4196 GCC=
4198 ac_test_CFLAGS=${CFLAGS+set}
4199 ac_save_CFLAGS=$CFLAGS
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4201 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4202 if ${ac_cv_prog_cc_g+:} false; then :
4203 $as_echo_n "(cached) " >&6
4204 else
4205 ac_save_c_werror_flag=$ac_c_werror_flag
4206 ac_c_werror_flag=yes
4207 ac_cv_prog_cc_g=no
4208 CFLAGS="-g"
4209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4210 /* end confdefs.h. */
4213 main ()
4217 return 0;
4219 _ACEOF
4220 if ac_fn_c_try_compile "$LINENO"; then :
4221 ac_cv_prog_cc_g=yes
4222 else
4223 CFLAGS=""
4224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4225 /* end confdefs.h. */
4228 main ()
4232 return 0;
4234 _ACEOF
4235 if ac_fn_c_try_compile "$LINENO"; then :
4237 else
4238 ac_c_werror_flag=$ac_save_c_werror_flag
4239 CFLAGS="-g"
4240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4241 /* end confdefs.h. */
4244 main ()
4248 return 0;
4250 _ACEOF
4251 if ac_fn_c_try_compile "$LINENO"; then :
4252 ac_cv_prog_cc_g=yes
4254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4259 ac_c_werror_flag=$ac_save_c_werror_flag
4261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4262 $as_echo "$ac_cv_prog_cc_g" >&6; }
4263 if test "$ac_test_CFLAGS" = set; then
4264 CFLAGS=$ac_save_CFLAGS
4265 elif test $ac_cv_prog_cc_g = yes; then
4266 if test "$GCC" = yes; then
4267 CFLAGS="-g -O2"
4268 else
4269 CFLAGS="-g"
4271 else
4272 if test "$GCC" = yes; then
4273 CFLAGS="-O2"
4274 else
4275 CFLAGS=
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4279 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4280 if ${ac_cv_prog_cc_c89+:} false; then :
4281 $as_echo_n "(cached) " >&6
4282 else
4283 ac_cv_prog_cc_c89=no
4284 ac_save_CC=$CC
4285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4286 /* end confdefs.h. */
4287 #include <stdarg.h>
4288 #include <stdio.h>
4289 struct stat;
4290 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4291 struct buf { int x; };
4292 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4293 static char *e (p, i)
4294 char **p;
4295 int i;
4297 return p[i];
4299 static char *f (char * (*g) (char **, int), char **p, ...)
4301 char *s;
4302 va_list v;
4303 va_start (v,p);
4304 s = g (p, va_arg (v,int));
4305 va_end (v);
4306 return s;
4309 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4310 function prototypes and stuff, but not '\xHH' hex character constants.
4311 These don't provoke an error unfortunately, instead are silently treated
4312 as 'x'. The following induces an error, until -std is added to get
4313 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4314 array size at least. It's necessary to write '\x00'==0 to get something
4315 that's true only with -std. */
4316 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4318 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4319 inside strings and character constants. */
4320 #define FOO(x) 'x'
4321 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4323 int test (int i, double x);
4324 struct s1 {int (*f) (int a);};
4325 struct s2 {int (*f) (double a);};
4326 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4327 int argc;
4328 char **argv;
4330 main ()
4332 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4334 return 0;
4336 _ACEOF
4337 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4338 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4340 CC="$ac_save_CC $ac_arg"
4341 if ac_fn_c_try_compile "$LINENO"; then :
4342 ac_cv_prog_cc_c89=$ac_arg
4344 rm -f core conftest.err conftest.$ac_objext
4345 test "x$ac_cv_prog_cc_c89" != "xno" && break
4346 done
4347 rm -f conftest.$ac_ext
4348 CC=$ac_save_CC
4351 # AC_CACHE_VAL
4352 case "x$ac_cv_prog_cc_c89" in
4354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4355 $as_echo "none needed" >&6; } ;;
4356 xno)
4357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4358 $as_echo "unsupported" >&6; } ;;
4360 CC="$CC $ac_cv_prog_cc_c89"
4361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4362 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4363 esac
4364 if test "x$ac_cv_prog_cc_c89" != xno; then :
4368 ac_ext=c
4369 ac_cpp='$CPP $CPPFLAGS'
4370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4374 ac_ext=cpp
4375 ac_cpp='$CXXCPP $CPPFLAGS'
4376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4379 if test -z "$CXX"; then
4380 if test -n "$CCC"; then
4381 CXX=$CCC
4382 else
4383 if test -n "$ac_tool_prefix"; then
4384 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4386 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4387 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4389 $as_echo_n "checking for $ac_word... " >&6; }
4390 if ${ac_cv_prog_CXX+:} false; then :
4391 $as_echo_n "(cached) " >&6
4392 else
4393 if test -n "$CXX"; then
4394 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4395 else
4396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4397 for as_dir in $PATH
4399 IFS=$as_save_IFS
4400 test -z "$as_dir" && as_dir=.
4401 for ac_exec_ext in '' $ac_executable_extensions; do
4402 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4403 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4404 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4405 break 2
4407 done
4408 done
4409 IFS=$as_save_IFS
4413 CXX=$ac_cv_prog_CXX
4414 if test -n "$CXX"; then
4415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4416 $as_echo "$CXX" >&6; }
4417 else
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4419 $as_echo "no" >&6; }
4423 test -n "$CXX" && break
4424 done
4426 if test -z "$CXX"; then
4427 ac_ct_CXX=$CXX
4428 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4430 # Extract the first word of "$ac_prog", so it can be a program name with args.
4431 set dummy $ac_prog; ac_word=$2
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4433 $as_echo_n "checking for $ac_word... " >&6; }
4434 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4435 $as_echo_n "(cached) " >&6
4436 else
4437 if test -n "$ac_ct_CXX"; then
4438 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4439 else
4440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4441 for as_dir in $PATH
4443 IFS=$as_save_IFS
4444 test -z "$as_dir" && as_dir=.
4445 for ac_exec_ext in '' $ac_executable_extensions; do
4446 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4447 ac_cv_prog_ac_ct_CXX="$ac_prog"
4448 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4449 break 2
4451 done
4452 done
4453 IFS=$as_save_IFS
4457 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4458 if test -n "$ac_ct_CXX"; then
4459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4460 $as_echo "$ac_ct_CXX" >&6; }
4461 else
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4463 $as_echo "no" >&6; }
4467 test -n "$ac_ct_CXX" && break
4468 done
4470 if test "x$ac_ct_CXX" = x; then
4471 CXX="g++"
4472 else
4473 case $cross_compiling:$ac_tool_warned in
4474 yes:)
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4476 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4477 ac_tool_warned=yes ;;
4478 esac
4479 CXX=$ac_ct_CXX
4485 # Provide some information about the compiler.
4486 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4487 set X $ac_compile
4488 ac_compiler=$2
4489 for ac_option in --version -v -V -qversion; do
4490 { { ac_try="$ac_compiler $ac_option >&5"
4491 case "(($ac_try" in
4492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4493 *) ac_try_echo=$ac_try;;
4494 esac
4495 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4496 $as_echo "$ac_try_echo"; } >&5
4497 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4498 ac_status=$?
4499 if test -s conftest.err; then
4500 sed '10a\
4501 ... rest of stderr output deleted ...
4502 10q' conftest.err >conftest.er1
4503 cat conftest.er1 >&5
4505 rm -f conftest.er1 conftest.err
4506 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4507 test $ac_status = 0; }
4508 done
4510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4511 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4512 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4513 $as_echo_n "(cached) " >&6
4514 else
4515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4516 /* end confdefs.h. */
4519 main ()
4521 #ifndef __GNUC__
4522 choke me
4523 #endif
4526 return 0;
4528 _ACEOF
4529 if ac_fn_cxx_try_compile "$LINENO"; then :
4530 ac_compiler_gnu=yes
4531 else
4532 ac_compiler_gnu=no
4534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4535 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4539 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4540 if test $ac_compiler_gnu = yes; then
4541 GXX=yes
4542 else
4543 GXX=
4545 ac_test_CXXFLAGS=${CXXFLAGS+set}
4546 ac_save_CXXFLAGS=$CXXFLAGS
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4548 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4549 if ${ac_cv_prog_cxx_g+:} false; then :
4550 $as_echo_n "(cached) " >&6
4551 else
4552 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4553 ac_cxx_werror_flag=yes
4554 ac_cv_prog_cxx_g=no
4555 CXXFLAGS="-g"
4556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4557 /* end confdefs.h. */
4560 main ()
4564 return 0;
4566 _ACEOF
4567 if ac_fn_cxx_try_compile "$LINENO"; then :
4568 ac_cv_prog_cxx_g=yes
4569 else
4570 CXXFLAGS=""
4571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4572 /* end confdefs.h. */
4575 main ()
4579 return 0;
4581 _ACEOF
4582 if ac_fn_cxx_try_compile "$LINENO"; then :
4584 else
4585 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4586 CXXFLAGS="-g"
4587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4588 /* end confdefs.h. */
4591 main ()
4595 return 0;
4597 _ACEOF
4598 if ac_fn_cxx_try_compile "$LINENO"; then :
4599 ac_cv_prog_cxx_g=yes
4601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4606 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4609 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4610 if test "$ac_test_CXXFLAGS" = set; then
4611 CXXFLAGS=$ac_save_CXXFLAGS
4612 elif test $ac_cv_prog_cxx_g = yes; then
4613 if test "$GXX" = yes; then
4614 CXXFLAGS="-g -O2"
4615 else
4616 CXXFLAGS="-g"
4618 else
4619 if test "$GXX" = yes; then
4620 CXXFLAGS="-O2"
4621 else
4622 CXXFLAGS=
4625 ac_ext=c
4626 ac_cpp='$CPP $CPPFLAGS'
4627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4631 if test -n "$ac_tool_prefix"; then
4632 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4633 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4635 $as_echo_n "checking for $ac_word... " >&6; }
4636 if ${ac_cv_prog_CPPBIN+:} false; then :
4637 $as_echo_n "(cached) " >&6
4638 else
4639 if test -n "$CPPBIN"; then
4640 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4641 else
4642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4643 for as_dir in $PATH
4645 IFS=$as_save_IFS
4646 test -z "$as_dir" && as_dir=.
4647 for ac_exec_ext in '' $ac_executable_extensions; do
4648 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4649 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4651 break 2
4653 done
4654 done
4655 IFS=$as_save_IFS
4659 CPPBIN=$ac_cv_prog_CPPBIN
4660 if test -n "$CPPBIN"; then
4661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4662 $as_echo "$CPPBIN" >&6; }
4663 else
4664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4665 $as_echo "no" >&6; }
4670 if test -z "$ac_cv_prog_CPPBIN"; then
4671 ac_ct_CPPBIN=$CPPBIN
4672 # Extract the first word of "cpp", so it can be a program name with args.
4673 set dummy cpp; ac_word=$2
4674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4675 $as_echo_n "checking for $ac_word... " >&6; }
4676 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4677 $as_echo_n "(cached) " >&6
4678 else
4679 if test -n "$ac_ct_CPPBIN"; then
4680 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4681 else
4682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4683 for as_dir in $PATH
4685 IFS=$as_save_IFS
4686 test -z "$as_dir" && as_dir=.
4687 for ac_exec_ext in '' $ac_executable_extensions; do
4688 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4689 ac_cv_prog_ac_ct_CPPBIN="cpp"
4690 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4691 break 2
4693 done
4694 done
4695 IFS=$as_save_IFS
4699 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4700 if test -n "$ac_ct_CPPBIN"; then
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4702 $as_echo "$ac_ct_CPPBIN" >&6; }
4703 else
4704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4705 $as_echo "no" >&6; }
4708 if test "x$ac_ct_CPPBIN" = x; then
4709 CPPBIN="cpp"
4710 else
4711 case $cross_compiling:$ac_tool_warned in
4712 yes:)
4713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4714 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4715 ac_tool_warned=yes ;;
4716 esac
4717 CPPBIN=$ac_ct_CPPBIN
4719 else
4720 CPPBIN="$ac_cv_prog_CPPBIN"
4724 cat >>confdefs.h <<_ACEOF
4725 #define EXEEXT "$ac_exeext"
4726 _ACEOF
4729 case $host in
4730 *-darwin*)
4731 if test "x$enable_win64" = "xyes"
4732 then
4733 CC="$CC -m64"
4734 CXX="$CXX -m64"
4735 host_cpu="x86_64"
4736 notice_platform="64-bit "
4737 TARGETFLAGS="-m64"
4739 else
4740 CC="$CC -m32"
4741 CXX="$CXX -m32"
4742 host_cpu="i386"
4743 notice_platform="32-bit "
4744 TARGETFLAGS="-m32"
4746 enable_win16=${enable_win16:-yes}
4748 with_fontconfig=${with_fontconfig:-no}
4750 x86_64*)
4751 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4752 then
4753 CC="$CC -m32"
4754 CXX="$CXX -m32"
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4756 $as_echo_n "checking whether $CC works... " >&6; }
4758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4759 /* end confdefs.h. */
4762 main ()
4766 return 0;
4768 _ACEOF
4769 if ac_fn_c_try_link "$LINENO"; then :
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4771 $as_echo "yes" >&6; }
4772 else
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4774 $as_echo "no" >&6; }
4775 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4777 rm -f core conftest.err conftest.$ac_objext \
4778 conftest$ac_exeext conftest.$ac_ext
4779 host_cpu="i386"
4780 notice_platform="32-bit "
4781 TARGETFLAGS="-m32"
4783 enable_win16=${enable_win16:-yes}
4784 else
4785 if test "x${GCC}" = "xyes"
4786 then
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4788 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4790 /* end confdefs.h. */
4791 #include <stdarg.h>
4793 main ()
4795 void func(__builtin_ms_va_list *args);
4797 return 0;
4799 _ACEOF
4800 if ac_fn_c_try_compile "$LINENO"; then :
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4802 $as_echo "yes" >&6; }
4803 else
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4805 $as_echo "no" >&6; }
4806 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4810 TARGETFLAGS="-m64"
4814 arm*)
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4816 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4818 /* end confdefs.h. */
4819 int ac_test(int i) { return i; }
4821 main ()
4823 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4825 return 0;
4827 _ACEOF
4828 if ac_fn_c_try_link "$LINENO"; then :
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4830 $as_echo "yes" >&6; }
4831 else
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4833 $as_echo "no" >&6; }
4834 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4836 rm -f core conftest.err conftest.$ac_objext \
4837 conftest$ac_exeext conftest.$ac_ext
4838 CFLAGS="$CFLAGS -marm"
4839 TARGETFLAGS="-marm"
4842 *-mingw32*|*-cygwin*)
4843 enable_win16=${enable_win16:-no}
4844 CFLAGS="$CFLAGS -D_WIN32"
4846 i[3456789]86*)
4847 enable_win16=${enable_win16:-yes}
4849 esac
4851 enable_win16=${enable_win16:-no}
4852 enable_win64=${enable_win64:-no}
4854 enable_winetest=${enable_winetest:-$enable_tests}
4856 if test -n "$with_wine64"
4857 then
4858 if test "x$enable_win64" = "xyes"
4859 then
4860 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4861 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4863 enable_fonts=${enable_fonts:-no}
4864 enable_server=${enable_server:-no}
4865 elif test "x$enable_win64" = "xyes"
4866 then
4867 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4871 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4872 if ${wine_cv_toolsdir+:} false; then :
4873 $as_echo_n "(cached) " >&6
4874 else
4875 wine_cv_toolsdir="$with_wine_tools"
4876 if test -z "$with_wine_tools"; then
4877 if test "$cross_compiling" = "yes"; then
4878 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4879 elif test -n "$with_wine64"; then
4880 wine_cv_toolsdir="$with_wine64"
4883 if test -z "$wine_cv_toolsdir"; then
4884 wine_makedep=tools/makedep
4885 wine_cv_toolsdir="\$(top_builddir)"
4886 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4887 wine_makedep=$wine_cv_toolsdir/tools/makedep
4888 case "$wine_cv_toolsdir" in
4889 /*) ;;
4890 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
4891 esac
4892 enable_tools=${enable_tools:-no}
4893 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
4894 else
4895 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4899 $as_echo "$wine_cv_toolsdir" >&6; }
4900 TOOLSDIR=$wine_cv_toolsdir
4902 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4903 then
4904 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
4908 for ac_prog in flex
4910 # Extract the first word of "$ac_prog", so it can be a program name with args.
4911 set dummy $ac_prog; ac_word=$2
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4913 $as_echo_n "checking for $ac_word... " >&6; }
4914 if ${ac_cv_prog_FLEX+:} false; then :
4915 $as_echo_n "(cached) " >&6
4916 else
4917 if test -n "$FLEX"; then
4918 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
4919 else
4920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4921 for as_dir in $PATH
4923 IFS=$as_save_IFS
4924 test -z "$as_dir" && as_dir=.
4925 for ac_exec_ext in '' $ac_executable_extensions; do
4926 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4927 ac_cv_prog_FLEX="$ac_prog"
4928 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4929 break 2
4931 done
4932 done
4933 IFS=$as_save_IFS
4937 FLEX=$ac_cv_prog_FLEX
4938 if test -n "$FLEX"; then
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4940 $as_echo "$FLEX" >&6; }
4941 else
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4943 $as_echo "no" >&6; }
4947 test -n "$FLEX" && break
4948 done
4949 test -n "$FLEX" || FLEX="none"
4951 if test "$FLEX" = "none"
4952 then
4953 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4956 $as_echo_n "checking whether flex is recent enough... " >&6; }
4957 cat >conftest.l <<EOF
4958 %top{
4959 #include "prediluvian.h"
4963 if $FLEX -t conftest.l >/dev/null 2>&5
4964 then
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4966 $as_echo "yes" >&6; }
4967 else
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4969 $as_echo "no" >&6; }
4970 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4973 for ac_prog in bison
4975 # Extract the first word of "$ac_prog", so it can be a program name with args.
4976 set dummy $ac_prog; ac_word=$2
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4978 $as_echo_n "checking for $ac_word... " >&6; }
4979 if ${ac_cv_prog_BISON+:} false; then :
4980 $as_echo_n "(cached) " >&6
4981 else
4982 if test -n "$BISON"; then
4983 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4984 else
4985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4986 for as_dir in $PATH
4988 IFS=$as_save_IFS
4989 test -z "$as_dir" && as_dir=.
4990 for ac_exec_ext in '' $ac_executable_extensions; do
4991 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4992 ac_cv_prog_BISON="$ac_prog"
4993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4994 break 2
4996 done
4997 done
4998 IFS=$as_save_IFS
5002 BISON=$ac_cv_prog_BISON
5003 if test -n "$BISON"; then
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5005 $as_echo "$BISON" >&6; }
5006 else
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5008 $as_echo "no" >&6; }
5012 test -n "$BISON" && break
5013 done
5014 test -n "$BISON" || BISON="none"
5016 if test "$BISON" = "none"
5017 then
5018 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5021 if test -n "$ac_tool_prefix"; then
5022 for ac_prog in ar gar
5024 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5025 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5027 $as_echo_n "checking for $ac_word... " >&6; }
5028 if ${ac_cv_prog_AR+:} false; then :
5029 $as_echo_n "(cached) " >&6
5030 else
5031 if test -n "$AR"; then
5032 ac_cv_prog_AR="$AR" # Let the user override the test.
5033 else
5034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5035 for as_dir in $PATH
5037 IFS=$as_save_IFS
5038 test -z "$as_dir" && as_dir=.
5039 for ac_exec_ext in '' $ac_executable_extensions; do
5040 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5041 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5042 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5043 break 2
5045 done
5046 done
5047 IFS=$as_save_IFS
5051 AR=$ac_cv_prog_AR
5052 if test -n "$AR"; then
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5054 $as_echo "$AR" >&6; }
5055 else
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5057 $as_echo "no" >&6; }
5061 test -n "$AR" && break
5062 done
5064 if test -z "$AR"; then
5065 ac_ct_AR=$AR
5066 for ac_prog in ar gar
5068 # Extract the first word of "$ac_prog", so it can be a program name with args.
5069 set dummy $ac_prog; ac_word=$2
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5071 $as_echo_n "checking for $ac_word... " >&6; }
5072 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5073 $as_echo_n "(cached) " >&6
5074 else
5075 if test -n "$ac_ct_AR"; then
5076 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5077 else
5078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5079 for as_dir in $PATH
5081 IFS=$as_save_IFS
5082 test -z "$as_dir" && as_dir=.
5083 for ac_exec_ext in '' $ac_executable_extensions; do
5084 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5085 ac_cv_prog_ac_ct_AR="$ac_prog"
5086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5087 break 2
5089 done
5090 done
5091 IFS=$as_save_IFS
5095 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5096 if test -n "$ac_ct_AR"; then
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5098 $as_echo "$ac_ct_AR" >&6; }
5099 else
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5101 $as_echo "no" >&6; }
5105 test -n "$ac_ct_AR" && break
5106 done
5108 if test "x$ac_ct_AR" = x; then
5109 AR="ar"
5110 else
5111 case $cross_compiling:$ac_tool_warned in
5112 yes:)
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5114 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5115 ac_tool_warned=yes ;;
5116 esac
5117 AR=$ac_ct_AR
5121 if test -n "$ac_tool_prefix"; then
5122 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5123 set dummy ${ac_tool_prefix}strip; ac_word=$2
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5125 $as_echo_n "checking for $ac_word... " >&6; }
5126 if ${ac_cv_prog_STRIP+:} false; then :
5127 $as_echo_n "(cached) " >&6
5128 else
5129 if test -n "$STRIP"; then
5130 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5131 else
5132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5133 for as_dir in $PATH
5135 IFS=$as_save_IFS
5136 test -z "$as_dir" && as_dir=.
5137 for ac_exec_ext in '' $ac_executable_extensions; do
5138 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5139 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5140 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5141 break 2
5143 done
5144 done
5145 IFS=$as_save_IFS
5149 STRIP=$ac_cv_prog_STRIP
5150 if test -n "$STRIP"; then
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5152 $as_echo "$STRIP" >&6; }
5153 else
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5155 $as_echo "no" >&6; }
5160 if test -z "$ac_cv_prog_STRIP"; then
5161 ac_ct_STRIP=$STRIP
5162 # Extract the first word of "strip", so it can be a program name with args.
5163 set dummy strip; ac_word=$2
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5165 $as_echo_n "checking for $ac_word... " >&6; }
5166 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5167 $as_echo_n "(cached) " >&6
5168 else
5169 if test -n "$ac_ct_STRIP"; then
5170 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5171 else
5172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5173 for as_dir in $PATH
5175 IFS=$as_save_IFS
5176 test -z "$as_dir" && as_dir=.
5177 for ac_exec_ext in '' $ac_executable_extensions; do
5178 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5179 ac_cv_prog_ac_ct_STRIP="strip"
5180 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5181 break 2
5183 done
5184 done
5185 IFS=$as_save_IFS
5189 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5190 if test -n "$ac_ct_STRIP"; then
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5192 $as_echo "$ac_ct_STRIP" >&6; }
5193 else
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5195 $as_echo "no" >&6; }
5198 if test "x$ac_ct_STRIP" = x; then
5199 STRIP="strip"
5200 else
5201 case $cross_compiling:$ac_tool_warned in
5202 yes:)
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5204 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5205 ac_tool_warned=yes ;;
5206 esac
5207 STRIP=$ac_ct_STRIP
5209 else
5210 STRIP="$ac_cv_prog_STRIP"
5213 ARFLAGS=rc
5215 if test -n "$ac_tool_prefix"; then
5216 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5217 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5219 $as_echo_n "checking for $ac_word... " >&6; }
5220 if ${ac_cv_prog_RANLIB+:} false; then :
5221 $as_echo_n "(cached) " >&6
5222 else
5223 if test -n "$RANLIB"; then
5224 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5225 else
5226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5227 for as_dir in $PATH
5229 IFS=$as_save_IFS
5230 test -z "$as_dir" && as_dir=.
5231 for ac_exec_ext in '' $ac_executable_extensions; do
5232 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5233 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5234 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5235 break 2
5237 done
5238 done
5239 IFS=$as_save_IFS
5243 RANLIB=$ac_cv_prog_RANLIB
5244 if test -n "$RANLIB"; then
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5246 $as_echo "$RANLIB" >&6; }
5247 else
5248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5249 $as_echo "no" >&6; }
5254 if test -z "$ac_cv_prog_RANLIB"; then
5255 ac_ct_RANLIB=$RANLIB
5256 # Extract the first word of "ranlib", so it can be a program name with args.
5257 set dummy ranlib; ac_word=$2
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5259 $as_echo_n "checking for $ac_word... " >&6; }
5260 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5261 $as_echo_n "(cached) " >&6
5262 else
5263 if test -n "$ac_ct_RANLIB"; then
5264 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5265 else
5266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5267 for as_dir in $PATH
5269 IFS=$as_save_IFS
5270 test -z "$as_dir" && as_dir=.
5271 for ac_exec_ext in '' $ac_executable_extensions; do
5272 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5273 ac_cv_prog_ac_ct_RANLIB="ranlib"
5274 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5275 break 2
5277 done
5278 done
5279 IFS=$as_save_IFS
5283 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5284 if test -n "$ac_ct_RANLIB"; then
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5286 $as_echo "$ac_ct_RANLIB" >&6; }
5287 else
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5289 $as_echo "no" >&6; }
5292 if test "x$ac_ct_RANLIB" = x; then
5293 RANLIB=":"
5294 else
5295 case $cross_compiling:$ac_tool_warned in
5296 yes:)
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5298 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5299 ac_tool_warned=yes ;;
5300 esac
5301 RANLIB=$ac_ct_RANLIB
5303 else
5304 RANLIB="$ac_cv_prog_RANLIB"
5307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5308 $as_echo_n "checking whether ln -s works... " >&6; }
5309 LN_S=$as_ln_s
5310 if test "$LN_S" = "ln -s"; then
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5312 $as_echo "yes" >&6; }
5313 else
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5315 $as_echo "no, using $LN_S" >&6; }
5318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5319 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5320 if ${ac_cv_path_GREP+:} false; then :
5321 $as_echo_n "(cached) " >&6
5322 else
5323 if test -z "$GREP"; then
5324 ac_path_GREP_found=false
5325 # Loop through the user's path and test for each of PROGNAME-LIST
5326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5327 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5329 IFS=$as_save_IFS
5330 test -z "$as_dir" && as_dir=.
5331 for ac_prog in grep ggrep; do
5332 for ac_exec_ext in '' $ac_executable_extensions; do
5333 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5334 as_fn_executable_p "$ac_path_GREP" || continue
5335 # Check for GNU ac_path_GREP and select it if it is found.
5336 # Check for GNU $ac_path_GREP
5337 case `"$ac_path_GREP" --version 2>&1` in
5338 *GNU*)
5339 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5341 ac_count=0
5342 $as_echo_n 0123456789 >"conftest.in"
5343 while :
5345 cat "conftest.in" "conftest.in" >"conftest.tmp"
5346 mv "conftest.tmp" "conftest.in"
5347 cp "conftest.in" "conftest.nl"
5348 $as_echo 'GREP' >> "conftest.nl"
5349 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5350 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5351 as_fn_arith $ac_count + 1 && ac_count=$as_val
5352 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5353 # Best one so far, save it but keep looking for a better one
5354 ac_cv_path_GREP="$ac_path_GREP"
5355 ac_path_GREP_max=$ac_count
5357 # 10*(2^10) chars as input seems more than enough
5358 test $ac_count -gt 10 && break
5359 done
5360 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5361 esac
5363 $ac_path_GREP_found && break 3
5364 done
5365 done
5366 done
5367 IFS=$as_save_IFS
5368 if test -z "$ac_cv_path_GREP"; then
5369 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5371 else
5372 ac_cv_path_GREP=$GREP
5376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5377 $as_echo "$ac_cv_path_GREP" >&6; }
5378 GREP="$ac_cv_path_GREP"
5381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5382 $as_echo_n "checking for egrep... " >&6; }
5383 if ${ac_cv_path_EGREP+:} false; then :
5384 $as_echo_n "(cached) " >&6
5385 else
5386 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5387 then ac_cv_path_EGREP="$GREP -E"
5388 else
5389 if test -z "$EGREP"; then
5390 ac_path_EGREP_found=false
5391 # Loop through the user's path and test for each of PROGNAME-LIST
5392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5393 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5395 IFS=$as_save_IFS
5396 test -z "$as_dir" && as_dir=.
5397 for ac_prog in egrep; do
5398 for ac_exec_ext in '' $ac_executable_extensions; do
5399 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5400 as_fn_executable_p "$ac_path_EGREP" || continue
5401 # Check for GNU ac_path_EGREP and select it if it is found.
5402 # Check for GNU $ac_path_EGREP
5403 case `"$ac_path_EGREP" --version 2>&1` in
5404 *GNU*)
5405 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5407 ac_count=0
5408 $as_echo_n 0123456789 >"conftest.in"
5409 while :
5411 cat "conftest.in" "conftest.in" >"conftest.tmp"
5412 mv "conftest.tmp" "conftest.in"
5413 cp "conftest.in" "conftest.nl"
5414 $as_echo 'EGREP' >> "conftest.nl"
5415 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5416 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5417 as_fn_arith $ac_count + 1 && ac_count=$as_val
5418 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5419 # Best one so far, save it but keep looking for a better one
5420 ac_cv_path_EGREP="$ac_path_EGREP"
5421 ac_path_EGREP_max=$ac_count
5423 # 10*(2^10) chars as input seems more than enough
5424 test $ac_count -gt 10 && break
5425 done
5426 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5427 esac
5429 $ac_path_EGREP_found && break 3
5430 done
5431 done
5432 done
5433 IFS=$as_save_IFS
5434 if test -z "$ac_cv_path_EGREP"; then
5435 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5437 else
5438 ac_cv_path_EGREP=$EGREP
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5444 $as_echo "$ac_cv_path_EGREP" >&6; }
5445 EGREP="$ac_cv_path_EGREP"
5448 # Extract the first word of "ldconfig", so it can be a program name with args.
5449 set dummy ldconfig; ac_word=$2
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5451 $as_echo_n "checking for $ac_word... " >&6; }
5452 if ${ac_cv_path_LDCONFIG+:} false; then :
5453 $as_echo_n "(cached) " >&6
5454 else
5455 case $LDCONFIG in
5456 [\\/]* | ?:[\\/]*)
5457 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5461 for as_dir in /sbin /usr/sbin $PATH
5463 IFS=$as_save_IFS
5464 test -z "$as_dir" && as_dir=.
5465 for ac_exec_ext in '' $ac_executable_extensions; do
5466 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5467 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5468 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5469 break 2
5471 done
5472 done
5473 IFS=$as_save_IFS
5475 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5477 esac
5479 LDCONFIG=$ac_cv_path_LDCONFIG
5480 if test -n "$LDCONFIG"; then
5481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5482 $as_echo "$LDCONFIG" >&6; }
5483 else
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5485 $as_echo "no" >&6; }
5489 for ac_prog in msgfmt
5491 # Extract the first word of "$ac_prog", so it can be a program name with args.
5492 set dummy $ac_prog; ac_word=$2
5493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5494 $as_echo_n "checking for $ac_word... " >&6; }
5495 if ${ac_cv_prog_MSGFMT+:} false; then :
5496 $as_echo_n "(cached) " >&6
5497 else
5498 if test -n "$MSGFMT"; then
5499 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5500 else
5501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5502 for as_dir in $PATH
5504 IFS=$as_save_IFS
5505 test -z "$as_dir" && as_dir=.
5506 for ac_exec_ext in '' $ac_executable_extensions; do
5507 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5508 ac_cv_prog_MSGFMT="$ac_prog"
5509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5510 break 2
5512 done
5513 done
5514 IFS=$as_save_IFS
5518 MSGFMT=$ac_cv_prog_MSGFMT
5519 if test -n "$MSGFMT"; then
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5521 $as_echo "$MSGFMT" >&6; }
5522 else
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5524 $as_echo "no" >&6; }
5528 test -n "$MSGFMT" && break
5529 done
5530 test -n "$MSGFMT" || MSGFMT="false"
5532 if ${ac_tool_prefix+:} false; then :
5533 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5534 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5536 $as_echo_n "checking for $ac_word... " >&6; }
5537 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5538 $as_echo_n "(cached) " >&6
5539 else
5540 if test -n "$PKG_CONFIG"; then
5541 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5542 else
5543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5544 for as_dir in $PATH
5546 IFS=$as_save_IFS
5547 test -z "$as_dir" && as_dir=.
5548 for ac_exec_ext in '' $ac_executable_extensions; do
5549 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5550 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5551 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5552 break 2
5554 done
5555 done
5556 IFS=$as_save_IFS
5560 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5561 if test -n "$PKG_CONFIG"; then
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5563 $as_echo "$PKG_CONFIG" >&6; }
5564 else
5565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5566 $as_echo "no" >&6; }
5571 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5572 if test "x$cross_compiling" = xyes; then :
5574 else
5575 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5576 # Extract the first word of "pkg-config", so it can be a program name with args.
5577 set dummy pkg-config; ac_word=$2
5578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5579 $as_echo_n "checking for $ac_word... " >&6; }
5580 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5581 $as_echo_n "(cached) " >&6
5582 else
5583 if test -n "$PKG_CONFIG"; then
5584 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5585 else
5586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5587 for as_dir in $PATH
5589 IFS=$as_save_IFS
5590 test -z "$as_dir" && as_dir=.
5591 for ac_exec_ext in '' $ac_executable_extensions; do
5592 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5593 ac_cv_prog_PKG_CONFIG="pkg-config"
5594 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5595 break 2
5597 done
5598 done
5599 IFS=$as_save_IFS
5603 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5604 if test -n "$PKG_CONFIG"; then
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5606 $as_echo "$PKG_CONFIG" >&6; }
5607 else
5608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5609 $as_echo "no" >&6; }
5614 else
5615 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5618 if test "x$enable_maintainer_mode" != "xyes"
5619 then
5620 FONTFORGE=""
5621 RSVG=""
5622 CONVERT=""
5623 ICOTOOL=""
5624 else
5625 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5626 for ac_prog in fontforge
5628 # Extract the first word of "$ac_prog", so it can be a program name with args.
5629 set dummy $ac_prog; ac_word=$2
5630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5631 $as_echo_n "checking for $ac_word... " >&6; }
5632 if ${ac_cv_prog_FONTFORGE+:} false; then :
5633 $as_echo_n "(cached) " >&6
5634 else
5635 if test -n "$FONTFORGE"; then
5636 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5637 else
5638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5639 for as_dir in $PATH
5641 IFS=$as_save_IFS
5642 test -z "$as_dir" && as_dir=.
5643 for ac_exec_ext in '' $ac_executable_extensions; do
5644 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5645 ac_cv_prog_FONTFORGE="$ac_prog"
5646 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5647 break 2
5649 done
5650 done
5651 IFS=$as_save_IFS
5655 FONTFORGE=$ac_cv_prog_FONTFORGE
5656 if test -n "$FONTFORGE"; then
5657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5658 $as_echo "$FONTFORGE" >&6; }
5659 else
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5661 $as_echo "no" >&6; }
5665 test -n "$FONTFORGE" && break
5666 done
5667 test -n "$FONTFORGE" || FONTFORGE="false"
5669 for ac_prog in rsvg
5671 # Extract the first word of "$ac_prog", so it can be a program name with args.
5672 set dummy $ac_prog; ac_word=$2
5673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5674 $as_echo_n "checking for $ac_word... " >&6; }
5675 if ${ac_cv_prog_RSVG+:} false; then :
5676 $as_echo_n "(cached) " >&6
5677 else
5678 if test -n "$RSVG"; then
5679 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5680 else
5681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5682 for as_dir in $PATH
5684 IFS=$as_save_IFS
5685 test -z "$as_dir" && as_dir=.
5686 for ac_exec_ext in '' $ac_executable_extensions; do
5687 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5688 ac_cv_prog_RSVG="$ac_prog"
5689 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5690 break 2
5692 done
5693 done
5694 IFS=$as_save_IFS
5698 RSVG=$ac_cv_prog_RSVG
5699 if test -n "$RSVG"; then
5700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5701 $as_echo "$RSVG" >&6; }
5702 else
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5704 $as_echo "no" >&6; }
5708 test -n "$RSVG" && break
5709 done
5710 test -n "$RSVG" || RSVG="false"
5712 for ac_prog in convert
5714 # Extract the first word of "$ac_prog", so it can be a program name with args.
5715 set dummy $ac_prog; ac_word=$2
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5717 $as_echo_n "checking for $ac_word... " >&6; }
5718 if ${ac_cv_prog_CONVERT+:} false; then :
5719 $as_echo_n "(cached) " >&6
5720 else
5721 if test -n "$CONVERT"; then
5722 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5723 else
5724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5725 for as_dir in $PATH
5727 IFS=$as_save_IFS
5728 test -z "$as_dir" && as_dir=.
5729 for ac_exec_ext in '' $ac_executable_extensions; do
5730 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5731 ac_cv_prog_CONVERT="$ac_prog"
5732 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5733 break 2
5735 done
5736 done
5737 IFS=$as_save_IFS
5741 CONVERT=$ac_cv_prog_CONVERT
5742 if test -n "$CONVERT"; then
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5744 $as_echo "$CONVERT" >&6; }
5745 else
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5747 $as_echo "no" >&6; }
5751 test -n "$CONVERT" && break
5752 done
5753 test -n "$CONVERT" || CONVERT="false"
5755 for ac_prog in icotool
5757 # Extract the first word of "$ac_prog", so it can be a program name with args.
5758 set dummy $ac_prog; ac_word=$2
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5760 $as_echo_n "checking for $ac_word... " >&6; }
5761 if ${ac_cv_prog_ICOTOOL+:} false; then :
5762 $as_echo_n "(cached) " >&6
5763 else
5764 if test -n "$ICOTOOL"; then
5765 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5766 else
5767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5768 for as_dir in $PATH
5770 IFS=$as_save_IFS
5771 test -z "$as_dir" && as_dir=.
5772 for ac_exec_ext in '' $ac_executable_extensions; do
5773 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5774 ac_cv_prog_ICOTOOL="$ac_prog"
5775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5776 break 2
5778 done
5779 done
5780 IFS=$as_save_IFS
5784 ICOTOOL=$ac_cv_prog_ICOTOOL
5785 if test -n "$ICOTOOL"; then
5786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5787 $as_echo "$ICOTOOL" >&6; }
5788 else
5789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5790 $as_echo "no" >&6; }
5794 test -n "$ICOTOOL" && break
5795 done
5796 test -n "$ICOTOOL" || ICOTOOL="false"
5798 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5799 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5801 if test "$CONVERT" = false
5802 then
5803 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5804 else
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5806 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5807 convert_version=`convert --version | head -n1`
5808 if test "x$convert_version" != "x"
5809 then
5810 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5811 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5812 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5813 then
5814 CONVERT=false
5817 if test "$CONVERT" = false
5818 then
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5820 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5821 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5822 else
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5824 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5828 if test "$ICOTOOL" = false
5829 then
5830 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5831 else
5832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5833 $as_echo_n "checking for recent enough icotool... " >&6; }
5834 icotool_version=`icotool --version | head -n1`
5835 if test "x$icotool_version" != "x"
5836 then
5837 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5838 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5839 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5840 then
5841 ICOTOOL=false
5842 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5845 if test "$ICOTOOL" = false
5846 then
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5848 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5849 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5850 else
5851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5852 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5856 with_gettext=yes
5857 with_gettextpo=yes
5858 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5861 test "x$with_gettext" != xno || MSGFMT=false
5862 if test "$MSGFMT" != "false"
5863 then
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5865 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5866 cat >conftest.po <<EOF
5867 # comment
5868 msgctxt "ctxt"
5869 msgid "id"
5870 msgstr "str"
5872 if $MSGFMT -o /dev/null conftest.po 2>&5
5873 then
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5875 $as_echo "yes" >&6; }
5876 else
5877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5878 $as_echo "no" >&6; }
5879 MSGFMT=false
5882 if test "$MSGFMT" = false; then :
5883 case "x$with_gettext" in
5884 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
5885 xno) ;;
5886 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
5887 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5888 esac
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5893 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5894 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
5895 $as_echo_n "(cached) " >&6
5896 else
5897 ac_check_lib_save_LIBS=$LIBS
5898 LIBS="-li386 $LIBS"
5899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5900 /* end confdefs.h. */
5902 /* Override any GCC internal prototype to avoid an error.
5903 Use char because int might match the return type of a GCC
5904 builtin and then its argument prototype would still apply. */
5905 #ifdef __cplusplus
5906 extern "C"
5907 #endif
5908 char i386_set_ldt ();
5910 main ()
5912 return i386_set_ldt ();
5914 return 0;
5916 _ACEOF
5917 if ac_fn_c_try_link "$LINENO"; then :
5918 ac_cv_lib_i386_i386_set_ldt=yes
5919 else
5920 ac_cv_lib_i386_i386_set_ldt=no
5922 rm -f core conftest.err conftest.$ac_objext \
5923 conftest$ac_exeext conftest.$ac_ext
5924 LIBS=$ac_check_lib_save_LIBS
5926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5927 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5928 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
5929 cat >>confdefs.h <<_ACEOF
5930 #define HAVE_LIBI386 1
5931 _ACEOF
5933 LIBS="-li386 $LIBS"
5937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5938 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5939 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
5940 $as_echo_n "(cached) " >&6
5941 else
5942 ac_check_lib_save_LIBS=$LIBS
5943 LIBS="-lossaudio $LIBS"
5944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5945 /* end confdefs.h. */
5947 /* Override any GCC internal prototype to avoid an error.
5948 Use char because int might match the return type of a GCC
5949 builtin and then its argument prototype would still apply. */
5950 #ifdef __cplusplus
5951 extern "C"
5952 #endif
5953 char _oss_ioctl ();
5955 main ()
5957 return _oss_ioctl ();
5959 return 0;
5961 _ACEOF
5962 if ac_fn_c_try_link "$LINENO"; then :
5963 ac_cv_lib_ossaudio__oss_ioctl=yes
5964 else
5965 ac_cv_lib_ossaudio__oss_ioctl=no
5967 rm -f core conftest.err conftest.$ac_objext \
5968 conftest$ac_exeext conftest.$ac_ext
5969 LIBS=$ac_check_lib_save_LIBS
5971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5972 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5973 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
5974 cat >>confdefs.h <<_ACEOF
5975 #define HAVE_LIBOSSAUDIO 1
5976 _ACEOF
5978 LIBS="-lossaudio $LIBS"
5983 OPENGL_LIBS=""
5987 # Check whether --enable-largefile was given.
5988 if test "${enable_largefile+set}" = set; then :
5989 enableval=$enable_largefile;
5992 if test "$enable_largefile" != no; then
5994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5995 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5996 if ${ac_cv_sys_largefile_CC+:} false; then :
5997 $as_echo_n "(cached) " >&6
5998 else
5999 ac_cv_sys_largefile_CC=no
6000 if test "$GCC" != yes; then
6001 ac_save_CC=$CC
6002 while :; do
6003 # IRIX 6.2 and later do not support large files by default,
6004 # so use the C compiler's -n32 option if that helps.
6005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6006 /* end confdefs.h. */
6007 #include <sys/types.h>
6008 /* Check that off_t can represent 2**63 - 1 correctly.
6009 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6010 since some C++ compilers masquerading as C compilers
6011 incorrectly reject 9223372036854775807. */
6012 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6013 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6014 && LARGE_OFF_T % 2147483647 == 1)
6015 ? 1 : -1];
6017 main ()
6021 return 0;
6023 _ACEOF
6024 if ac_fn_c_try_compile "$LINENO"; then :
6025 break
6027 rm -f core conftest.err conftest.$ac_objext
6028 CC="$CC -n32"
6029 if ac_fn_c_try_compile "$LINENO"; then :
6030 ac_cv_sys_largefile_CC=' -n32'; break
6032 rm -f core conftest.err conftest.$ac_objext
6033 break
6034 done
6035 CC=$ac_save_CC
6036 rm -f conftest.$ac_ext
6039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6040 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6041 if test "$ac_cv_sys_largefile_CC" != no; then
6042 CC=$CC$ac_cv_sys_largefile_CC
6045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6046 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6047 if ${ac_cv_sys_file_offset_bits+:} false; then :
6048 $as_echo_n "(cached) " >&6
6049 else
6050 while :; do
6051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6052 /* end confdefs.h. */
6053 #include <sys/types.h>
6054 /* Check that off_t can represent 2**63 - 1 correctly.
6055 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6056 since some C++ compilers masquerading as C compilers
6057 incorrectly reject 9223372036854775807. */
6058 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6059 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6060 && LARGE_OFF_T % 2147483647 == 1)
6061 ? 1 : -1];
6063 main ()
6067 return 0;
6069 _ACEOF
6070 if ac_fn_c_try_compile "$LINENO"; then :
6071 ac_cv_sys_file_offset_bits=no; break
6073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6075 /* end confdefs.h. */
6076 #define _FILE_OFFSET_BITS 64
6077 #include <sys/types.h>
6078 /* Check that off_t can represent 2**63 - 1 correctly.
6079 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6080 since some C++ compilers masquerading as C compilers
6081 incorrectly reject 9223372036854775807. */
6082 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6083 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6084 && LARGE_OFF_T % 2147483647 == 1)
6085 ? 1 : -1];
6087 main ()
6091 return 0;
6093 _ACEOF
6094 if ac_fn_c_try_compile "$LINENO"; then :
6095 ac_cv_sys_file_offset_bits=64; break
6097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6098 ac_cv_sys_file_offset_bits=unknown
6099 break
6100 done
6102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6103 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6104 case $ac_cv_sys_file_offset_bits in #(
6105 no | unknown) ;;
6107 cat >>confdefs.h <<_ACEOF
6108 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6109 _ACEOF
6111 esac
6112 rm -rf conftest*
6113 if test $ac_cv_sys_file_offset_bits = unknown; then
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6115 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6116 if ${ac_cv_sys_large_files+:} false; then :
6117 $as_echo_n "(cached) " >&6
6118 else
6119 while :; do
6120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6121 /* end confdefs.h. */
6122 #include <sys/types.h>
6123 /* Check that off_t can represent 2**63 - 1 correctly.
6124 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6125 since some C++ compilers masquerading as C compilers
6126 incorrectly reject 9223372036854775807. */
6127 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6128 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6129 && LARGE_OFF_T % 2147483647 == 1)
6130 ? 1 : -1];
6132 main ()
6136 return 0;
6138 _ACEOF
6139 if ac_fn_c_try_compile "$LINENO"; then :
6140 ac_cv_sys_large_files=no; break
6142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6144 /* end confdefs.h. */
6145 #define _LARGE_FILES 1
6146 #include <sys/types.h>
6147 /* Check that off_t can represent 2**63 - 1 correctly.
6148 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6149 since some C++ compilers masquerading as C compilers
6150 incorrectly reject 9223372036854775807. */
6151 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6152 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6153 && LARGE_OFF_T % 2147483647 == 1)
6154 ? 1 : -1];
6156 main ()
6160 return 0;
6162 _ACEOF
6163 if ac_fn_c_try_compile "$LINENO"; then :
6164 ac_cv_sys_large_files=1; break
6166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6167 ac_cv_sys_large_files=unknown
6168 break
6169 done
6171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6172 $as_echo "$ac_cv_sys_large_files" >&6; }
6173 case $ac_cv_sys_large_files in #(
6174 no | unknown) ;;
6176 cat >>confdefs.h <<_ACEOF
6177 #define _LARGE_FILES $ac_cv_sys_large_files
6178 _ACEOF
6180 esac
6181 rm -rf conftest*
6188 ac_ext=c
6189 ac_cpp='$CPP $CPPFLAGS'
6190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6194 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6195 # On Suns, sometimes $CPP names a directory.
6196 if test -n "$CPP" && test -d "$CPP"; then
6197 CPP=
6199 if test -z "$CPP"; then
6200 if ${ac_cv_prog_CPP+:} false; then :
6201 $as_echo_n "(cached) " >&6
6202 else
6203 # Double quotes because CPP needs to be expanded
6204 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6206 ac_preproc_ok=false
6207 for ac_c_preproc_warn_flag in '' yes
6209 # Use a header file that comes with gcc, so configuring glibc
6210 # with a fresh cross-compiler works.
6211 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6212 # <limits.h> exists even on freestanding compilers.
6213 # On the NeXT, cc -E runs the code through the compiler's parser,
6214 # not just through cpp. "Syntax error" is here to catch this case.
6215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6216 /* end confdefs.h. */
6217 #ifdef __STDC__
6218 # include <limits.h>
6219 #else
6220 # include <assert.h>
6221 #endif
6222 Syntax error
6223 _ACEOF
6224 if ac_fn_c_try_cpp "$LINENO"; then :
6226 else
6227 # Broken: fails on valid input.
6228 continue
6230 rm -f conftest.err conftest.i conftest.$ac_ext
6232 # OK, works on sane cases. Now check whether nonexistent headers
6233 # can be detected and how.
6234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6235 /* end confdefs.h. */
6236 #include <ac_nonexistent.h>
6237 _ACEOF
6238 if ac_fn_c_try_cpp "$LINENO"; then :
6239 # Broken: success on invalid input.
6240 continue
6241 else
6242 # Passes both tests.
6243 ac_preproc_ok=:
6244 break
6246 rm -f conftest.err conftest.i conftest.$ac_ext
6248 done
6249 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6250 rm -f conftest.i conftest.err conftest.$ac_ext
6251 if $ac_preproc_ok; then :
6252 break
6255 done
6256 ac_cv_prog_CPP=$CPP
6259 CPP=$ac_cv_prog_CPP
6260 else
6261 ac_cv_prog_CPP=$CPP
6263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6264 $as_echo "$CPP" >&6; }
6265 ac_preproc_ok=false
6266 for ac_c_preproc_warn_flag in '' yes
6268 # Use a header file that comes with gcc, so configuring glibc
6269 # with a fresh cross-compiler works.
6270 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6271 # <limits.h> exists even on freestanding compilers.
6272 # On the NeXT, cc -E runs the code through the compiler's parser,
6273 # not just through cpp. "Syntax error" is here to catch this case.
6274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6275 /* end confdefs.h. */
6276 #ifdef __STDC__
6277 # include <limits.h>
6278 #else
6279 # include <assert.h>
6280 #endif
6281 Syntax error
6282 _ACEOF
6283 if ac_fn_c_try_cpp "$LINENO"; then :
6285 else
6286 # Broken: fails on valid input.
6287 continue
6289 rm -f conftest.err conftest.i conftest.$ac_ext
6291 # OK, works on sane cases. Now check whether nonexistent headers
6292 # can be detected and how.
6293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6294 /* end confdefs.h. */
6295 #include <ac_nonexistent.h>
6296 _ACEOF
6297 if ac_fn_c_try_cpp "$LINENO"; then :
6298 # Broken: success on invalid input.
6299 continue
6300 else
6301 # Passes both tests.
6302 ac_preproc_ok=:
6303 break
6305 rm -f conftest.err conftest.i conftest.$ac_ext
6307 done
6308 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6309 rm -f conftest.i conftest.err conftest.$ac_ext
6310 if $ac_preproc_ok; then :
6312 else
6313 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6314 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6315 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6316 See \`config.log' for more details" "$LINENO" 5; }
6319 ac_ext=c
6320 ac_cpp='$CPP $CPPFLAGS'
6321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6327 $as_echo_n "checking for ANSI C header files... " >&6; }
6328 if ${ac_cv_header_stdc+:} false; then :
6329 $as_echo_n "(cached) " >&6
6330 else
6331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6332 /* end confdefs.h. */
6333 #include <stdlib.h>
6334 #include <stdarg.h>
6335 #include <string.h>
6336 #include <float.h>
6339 main ()
6343 return 0;
6345 _ACEOF
6346 if ac_fn_c_try_compile "$LINENO"; then :
6347 ac_cv_header_stdc=yes
6348 else
6349 ac_cv_header_stdc=no
6351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6353 if test $ac_cv_header_stdc = yes; then
6354 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6356 /* end confdefs.h. */
6357 #include <string.h>
6359 _ACEOF
6360 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6361 $EGREP "memchr" >/dev/null 2>&1; then :
6363 else
6364 ac_cv_header_stdc=no
6366 rm -f conftest*
6370 if test $ac_cv_header_stdc = yes; then
6371 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6373 /* end confdefs.h. */
6374 #include <stdlib.h>
6376 _ACEOF
6377 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6378 $EGREP "free" >/dev/null 2>&1; then :
6380 else
6381 ac_cv_header_stdc=no
6383 rm -f conftest*
6387 if test $ac_cv_header_stdc = yes; then
6388 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6389 if test "$cross_compiling" = yes; then :
6391 else
6392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6393 /* end confdefs.h. */
6394 #include <ctype.h>
6395 #include <stdlib.h>
6396 #if ((' ' & 0x0FF) == 0x020)
6397 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6398 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6399 #else
6400 # define ISLOWER(c) \
6401 (('a' <= (c) && (c) <= 'i') \
6402 || ('j' <= (c) && (c) <= 'r') \
6403 || ('s' <= (c) && (c) <= 'z'))
6404 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6405 #endif
6407 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6409 main ()
6411 int i;
6412 for (i = 0; i < 256; i++)
6413 if (XOR (islower (i), ISLOWER (i))
6414 || toupper (i) != TOUPPER (i))
6415 return 2;
6416 return 0;
6418 _ACEOF
6419 if ac_fn_c_try_run "$LINENO"; then :
6421 else
6422 ac_cv_header_stdc=no
6424 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6425 conftest.$ac_objext conftest.beam conftest.$ac_ext
6430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6431 $as_echo "$ac_cv_header_stdc" >&6; }
6432 if test $ac_cv_header_stdc = yes; then
6434 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6438 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6439 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6440 inttypes.h stdint.h unistd.h
6441 do :
6442 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6443 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6445 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6446 cat >>confdefs.h <<_ACEOF
6447 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6448 _ACEOF
6452 done
6455 for ac_header in \
6456 AL/al.h \
6457 ApplicationServices/ApplicationServices.h \
6458 AudioToolbox/AudioConverter.h \
6459 AudioUnit/AudioUnit.h \
6460 AudioUnit/AudioComponent.h \
6461 CL/cl.h \
6462 Carbon/Carbon.h \
6463 CoreAudio/CoreAudio.h \
6464 CoreServices/CoreServices.h \
6465 DiskArbitration/DiskArbitration.h \
6466 IOKit/IOKitLib.h \
6467 IOKit/hid/IOHIDLib.h \
6468 OpenAL/al.h \
6469 OpenCL/opencl.h \
6470 QuickTime/ImageCompression.h \
6471 Security/Security.h \
6472 alias.h \
6473 alsa/asoundlib.h \
6474 arpa/inet.h \
6475 arpa/nameser.h \
6476 asm/types.h \
6477 asm/user.h \
6478 curses.h \
6479 direct.h \
6480 dirent.h \
6481 dlfcn.h \
6482 elf.h \
6483 float.h \
6484 fnmatch.h \
6485 getopt.h \
6486 gettext-po.h \
6487 grp.h \
6488 gsm.h \
6489 gsm/gsm.h \
6490 ieeefp.h \
6491 inet/mib2.h \
6492 io.h \
6493 kstat.h \
6494 lber.h \
6495 ldap.h \
6496 libproc.h \
6497 link.h \
6498 linux/cdrom.h \
6499 linux/compiler.h \
6500 linux/filter.h \
6501 linux/hdreg.h \
6502 linux/input.h \
6503 linux/ioctl.h \
6504 linux/joystick.h \
6505 linux/major.h \
6506 linux/param.h \
6507 linux/serial.h \
6508 linux/types.h \
6509 linux/ucdrom.h \
6510 lwp.h \
6511 mach-o/nlist.h \
6512 mach-o/loader.h \
6513 mach/mach.h \
6514 mach/machine.h \
6515 machine/cpu.h \
6516 machine/limits.h \
6517 machine/sysarch.h \
6518 mntent.h \
6519 ncurses.h \
6520 netdb.h \
6521 netinet/in.h \
6522 netinet/in_systm.h \
6523 netinet/tcp.h \
6524 netinet/tcp_fsm.h \
6525 pcap/pcap.h \
6526 poll.h \
6527 port.h \
6528 process.h \
6529 pthread.h \
6530 pwd.h \
6531 sched.h \
6532 scsi/scsi.h \
6533 scsi/scsi_ioctl.h \
6534 scsi/sg.h \
6535 stdbool.h \
6536 stdint.h \
6537 stropts.h \
6538 sys/asoundlib.h \
6539 sys/attr.h \
6540 sys/cdio.h \
6541 sys/elf32.h \
6542 sys/epoll.h \
6543 sys/event.h \
6544 sys/exec_elf.h \
6545 sys/filio.h \
6546 sys/inotify.h \
6547 sys/ioctl.h \
6548 sys/ipc.h \
6549 sys/limits.h \
6550 sys/link.h \
6551 sys/mman.h \
6552 sys/modem.h \
6553 sys/msg.h \
6554 sys/mtio.h \
6555 sys/param.h \
6556 sys/poll.h \
6557 sys/prctl.h \
6558 sys/protosw.h \
6559 sys/ptrace.h \
6560 sys/queue.h \
6561 sys/resource.h \
6562 sys/scsiio.h \
6563 sys/shm.h \
6564 sys/signal.h \
6565 sys/socket.h \
6566 sys/socketvar.h \
6567 sys/sockio.h \
6568 sys/statvfs.h \
6569 sys/strtio.h \
6570 sys/syscall.h \
6571 sys/tihdr.h \
6572 sys/time.h \
6573 sys/timeout.h \
6574 sys/times.h \
6575 sys/uio.h \
6576 sys/user.h \
6577 sys/utsname.h \
6578 sys/vm86.h \
6579 sys/wait.h \
6580 syscall.h \
6581 termios.h \
6582 unistd.h \
6583 utime.h \
6584 valgrind/memcheck.h \
6585 valgrind/valgrind.h \
6586 zlib.h
6588 do :
6589 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6590 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6591 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6592 cat >>confdefs.h <<_ACEOF
6593 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6594 _ACEOF
6598 done
6600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6601 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6602 if ${ac_cv_header_stat_broken+:} false; then :
6603 $as_echo_n "(cached) " >&6
6604 else
6605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6606 /* end confdefs.h. */
6607 #include <sys/types.h>
6608 #include <sys/stat.h>
6610 #if defined S_ISBLK && defined S_IFDIR
6611 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6612 #endif
6614 #if defined S_ISBLK && defined S_IFCHR
6615 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6616 #endif
6618 #if defined S_ISLNK && defined S_IFREG
6619 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6620 #endif
6622 #if defined S_ISSOCK && defined S_IFREG
6623 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6624 #endif
6626 _ACEOF
6627 if ac_fn_c_try_compile "$LINENO"; then :
6628 ac_cv_header_stat_broken=no
6629 else
6630 ac_cv_header_stat_broken=yes
6632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6635 $as_echo "$ac_cv_header_stat_broken" >&6; }
6636 if test $ac_cv_header_stat_broken = yes; then
6638 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6644 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6645 do :
6646 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6647 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6648 #ifdef HAVE_SYS_PARAM_H
6649 # include <sys/param.h>
6650 #endif
6652 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6653 cat >>confdefs.h <<_ACEOF
6654 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6655 _ACEOF
6659 done
6662 for ac_header in \
6663 netinet/ip.h \
6664 net/if.h \
6665 net/if_arp.h \
6666 net/if_dl.h \
6667 net/if_types.h \
6668 net/route.h \
6669 netinet/if_ether.h \
6670 netinet/if_inarp.h \
6671 netinet/in_pcb.h \
6672 netinet/ip_icmp.h \
6673 netinet/ip_var.h \
6674 netinet/udp.h \
6675 netipx/ipx.h \
6676 sys/un.h \
6678 do :
6679 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6680 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6681 #ifdef HAVE_SYS_SOCKET_H
6682 # include <sys/socket.h>
6683 #endif
6684 #ifdef HAVE_SYS_SOCKETVAR_H
6685 # include <sys/socketvar.h>
6686 #endif
6687 #ifdef HAVE_NET_ROUTE_H
6688 # include <net/route.h>
6689 #endif
6690 #ifdef HAVE_NETINET_IN_H
6691 # include <netinet/in.h>
6692 #endif
6693 #ifdef HAVE_NETINET_IN_SYSTM_H
6694 # include <netinet/in_systm.h>
6695 #endif
6696 #ifdef HAVE_NET_IF_H
6697 # include <net/if.h>
6698 #endif
6699 #ifdef HAVE_NETINET_IP_H
6700 # include <netinet/ip.h>
6701 #endif
6703 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6704 cat >>confdefs.h <<_ACEOF
6705 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6706 _ACEOF
6710 done
6713 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6714 do :
6715 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6716 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6717 #ifdef HAVE_ALIAS_H
6718 # include <alias.h>
6719 #endif
6720 #ifdef HAVE_SYS_SOCKET_H
6721 # include <sys/socket.h>
6722 #endif
6723 #ifdef HAVE_SYS_SOCKETVAR_H
6724 # include <sys/socketvar.h>
6725 #endif
6726 #ifdef HAVE_SYS_TIMEOUT_H
6727 # include <sys/timeout.h>
6728 #endif
6729 #ifdef HAVE_NETINET_IN_H
6730 # include <netinet/in.h>
6731 #endif
6732 #ifdef HAVE_NETINET_IN_SYSTM_H
6733 # include <netinet/in_systm.h>
6734 #endif
6735 #ifdef HAVE_NETINET_IP_H
6736 # include <netinet/ip.h>
6737 #endif
6738 #ifdef HAVE_NETINET_IP_VAR_H
6739 # include <netinet/ip_var.h>
6740 #endif
6741 #ifdef HAVE_NETINET_IP_ICMP_H
6742 # include <netinet/ip_icmp.h>
6743 #endif
6744 #ifdef HAVE_NETINET_UDP_H
6745 # include <netinet/udp.h>
6746 #endif
6747 #ifdef HAVE_NETINET_TCP_H
6748 # include <netinet/tcp.h>
6749 #endif
6750 #ifdef HAVE_NETINET_TCP_TIMER_H
6751 #include <netinet/tcp_timer.h>
6752 #endif
6754 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6755 cat >>confdefs.h <<_ACEOF
6756 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6757 _ACEOF
6761 done
6764 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6765 do :
6766 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6767 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6768 #ifdef HAVE_ASM_TYPES_H
6769 # include <asm/types.h>
6770 #endif
6771 #ifdef HAVE_SYS_SOCKET_H
6772 # include <sys/socket.h>
6773 #endif
6774 #ifdef HAVE_LINUX_TYPES_H
6775 # include <linux/types.h>
6776 #endif
6778 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6779 cat >>confdefs.h <<_ACEOF
6780 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6781 _ACEOF
6785 done
6788 for ac_header in mach-o/dyld_images.h
6789 do :
6790 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6791 # include <stdbool.h>
6792 #endif
6793 #ifdef HAVE_STDINT_H
6794 # include <stdint.h>
6795 #endif
6797 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6798 cat >>confdefs.h <<_ACEOF
6799 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6800 _ACEOF
6804 done
6807 for ac_header in resolv.h
6808 do :
6809 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6810 #ifdef HAVE_SYS_SOCKET_H
6811 # include <sys/socket.h>
6812 #endif
6813 #ifdef HAVE_NETINET_IN_H
6814 # include <netinet/in.h>
6815 #endif
6816 #ifdef HAVE_ARPA_NAMESER_H
6817 # include <arpa/nameser.h>
6818 #endif
6820 if test "x$ac_cv_header_resolv_h" = xyes; then :
6821 cat >>confdefs.h <<_ACEOF
6822 #define HAVE_RESOLV_H 1
6823 _ACEOF
6827 done
6830 for ac_header in ifaddrs.h
6831 do :
6832 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6834 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6835 cat >>confdefs.h <<_ACEOF
6836 #define HAVE_IFADDRS_H 1
6837 _ACEOF
6841 done
6844 for ac_header in sys/ucontext.h
6845 do :
6846 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6848 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
6849 cat >>confdefs.h <<_ACEOF
6850 #define HAVE_SYS_UCONTEXT_H 1
6851 _ACEOF
6855 done
6858 for ac_header in sys/thr.h
6859 do :
6860 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6861 #ifdef HAVE_SYS_UCONTEXT_H
6862 #include <sys/ucontext.h>
6863 #endif
6865 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
6866 cat >>confdefs.h <<_ACEOF
6867 #define HAVE_SYS_THR_H 1
6868 _ACEOF
6872 done
6875 for ac_header in pthread_np.h
6876 do :
6877 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6878 #include <pthread.h>
6879 #endif
6881 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
6882 cat >>confdefs.h <<_ACEOF
6883 #define HAVE_PTHREAD_NP_H 1
6884 _ACEOF
6888 done
6891 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
6892 do :
6893 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6894 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6895 #include <sys/time.h>
6896 #endif
6897 #include <sys/types.h>
6898 #ifdef HAVE_ASM_TYPES_H
6899 #include <asm/types.h>
6900 #endif
6902 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6903 cat >>confdefs.h <<_ACEOF
6904 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6905 _ACEOF
6909 done
6912 for ac_header in libprocstat.h
6913 do :
6914 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6915 #include <sys/param.h>
6916 #endif
6917 #ifdef HAVE_SYS_QUEUE_H
6918 #include <sys/queue.h>
6919 #endif
6920 #ifdef HAVE_SYS_SOCKET_H
6921 #include <sys/socket.h>
6922 #endif
6924 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
6925 cat >>confdefs.h <<_ACEOF
6926 #define HAVE_LIBPROCSTAT_H 1
6927 _ACEOF
6931 done
6935 dlldir="\${libdir}/wine"
6937 DLLPREFIX=""
6939 DLLFLAGS="-D_REENTRANT"
6941 LDRPATH_INSTALL=""
6943 LDRPATH_LOCAL=""
6945 LIBEXT="so"
6946 DLLEXT=".so"
6947 IMPLIBEXT="def"
6948 STATIC_IMPLIBEXT="def.a"
6949 # Extract the first word of "ldd", so it can be a program name with args.
6950 set dummy ldd; ac_word=$2
6951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6952 $as_echo_n "checking for $ac_word... " >&6; }
6953 if ${ac_cv_path_LDD+:} false; then :
6954 $as_echo_n "(cached) " >&6
6955 else
6956 case $LDD in
6957 [\\/]* | ?:[\\/]*)
6958 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
6961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6962 as_dummy="/sbin:/usr/sbin:$PATH"
6963 for as_dir in $as_dummy
6965 IFS=$as_save_IFS
6966 test -z "$as_dir" && as_dir=.
6967 for ac_exec_ext in '' $ac_executable_extensions; do
6968 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6969 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
6970 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6971 break 2
6973 done
6974 done
6975 IFS=$as_save_IFS
6977 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
6979 esac
6981 LDD=$ac_cv_path_LDD
6982 if test -n "$LDD"; then
6983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6984 $as_echo "$LDD" >&6; }
6985 else
6986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6987 $as_echo "no" >&6; }
6991 if test -n "$ac_tool_prefix"; then
6992 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
6993 set dummy ${ac_tool_prefix}readelf; ac_word=$2
6994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6995 $as_echo_n "checking for $ac_word... " >&6; }
6996 if ${ac_cv_prog_READELF+:} false; then :
6997 $as_echo_n "(cached) " >&6
6998 else
6999 if test -n "$READELF"; then
7000 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7001 else
7002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7003 for as_dir in $PATH
7005 IFS=$as_save_IFS
7006 test -z "$as_dir" && as_dir=.
7007 for ac_exec_ext in '' $ac_executable_extensions; do
7008 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7009 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7010 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7011 break 2
7013 done
7014 done
7015 IFS=$as_save_IFS
7019 READELF=$ac_cv_prog_READELF
7020 if test -n "$READELF"; then
7021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7022 $as_echo "$READELF" >&6; }
7023 else
7024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7025 $as_echo "no" >&6; }
7030 if test -z "$ac_cv_prog_READELF"; then
7031 ac_ct_READELF=$READELF
7032 # Extract the first word of "readelf", so it can be a program name with args.
7033 set dummy readelf; ac_word=$2
7034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7035 $as_echo_n "checking for $ac_word... " >&6; }
7036 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7037 $as_echo_n "(cached) " >&6
7038 else
7039 if test -n "$ac_ct_READELF"; then
7040 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7041 else
7042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7043 for as_dir in $PATH
7045 IFS=$as_save_IFS
7046 test -z "$as_dir" && as_dir=.
7047 for ac_exec_ext in '' $ac_executable_extensions; do
7048 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7049 ac_cv_prog_ac_ct_READELF="readelf"
7050 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7051 break 2
7053 done
7054 done
7055 IFS=$as_save_IFS
7059 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7060 if test -n "$ac_ct_READELF"; then
7061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7062 $as_echo "$ac_ct_READELF" >&6; }
7063 else
7064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7065 $as_echo "no" >&6; }
7068 if test "x$ac_ct_READELF" = x; then
7069 READELF="true"
7070 else
7071 case $cross_compiling:$ac_tool_warned in
7072 yes:)
7073 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7074 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7075 ac_tool_warned=yes ;;
7076 esac
7077 READELF=$ac_ct_READELF
7079 else
7080 READELF="$ac_cv_prog_READELF"
7083 wine_rules_file=conf$$rules.make
7084 rm -f $wine_rules_file
7085 ALL_POT_FILES=""
7086 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7087 ALL_TEST_RESOURCES=""
7090 wine_fn_append_file ()
7092 as_fn_append $1 " \\$as_nl $2"
7095 wine_fn_ignore_file ()
7097 case "$1" in
7098 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7099 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7100 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7101 esac
7104 wine_fn_append_rule ()
7106 $as_echo "$1" >>$wine_rules_file
7109 wine_fn_has_flag ()
7111 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7114 wine_fn_depend_rules ()
7116 wine_fn_append_rule \
7117 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7118 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7119 depend: $ac_dir/depend
7120 .PHONY: $ac_dir/depend
7121 $ac_dir/depend: \$(MAKEDEP) dummy
7122 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7125 wine_fn_pot_rules ()
7127 test "x$with_gettextpo" = xyes || return
7129 if wine_fn_has_flag mc
7130 then
7131 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7132 wine_fn_append_rule \
7133 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7134 @cd $ac_dir && \$(MAKE) msg.pot
7135 $ac_dir/msg.pot: tools/wmc include"
7137 if wine_fn_has_flag po
7138 then
7139 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7140 wine_fn_append_rule \
7141 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7142 @cd $ac_dir && \$(MAKE) rsrc.pot
7143 $ac_dir/rsrc.pot: tools/wrc include"
7147 wine_fn_all_rules ()
7149 wine_fn_depend_rules
7150 wine_fn_append_rule \
7151 "all: $ac_dir
7152 .PHONY: $ac_dir
7153 $ac_dir: $ac_dir/Makefile dummy
7154 @cd $ac_dir && \$(MAKE)"
7157 wine_fn_install_rules ()
7159 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7161 wine_fn_append_rule \
7162 ".PHONY: $ac_dir/install $ac_dir/uninstall
7163 $ac_dir/install:: $ac_dir
7164 @cd $ac_dir && \$(MAKE) install
7165 $ac_dir/uninstall:: $ac_dir/Makefile
7166 @cd $ac_dir && \$(MAKE) uninstall
7167 install:: $ac_dir/install
7168 __uninstall__: $ac_dir/uninstall"
7170 if wine_fn_has_flag install-lib
7171 then
7172 wine_fn_append_rule \
7173 ".PHONY: $ac_dir/install-lib
7174 $ac_dir/install-lib:: $ac_dir
7175 @cd $ac_dir && \$(MAKE) install-lib
7176 install-lib:: $ac_dir/install-lib"
7179 if wine_fn_has_flag install-dev
7180 then
7181 wine_fn_append_rule \
7182 ".PHONY: $ac_dir/install-dev
7183 $ac_dir/install-dev:: $ac_dir
7184 @cd $ac_dir && \$(MAKE) install-dev
7185 install-dev:: $ac_dir/install-dev"
7189 wine_fn_clean_rules ()
7191 ac_clean=$@
7192 ac_extraclean="$ac_dir/Makefile"
7193 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7194 case $ac_dir in
7195 */tests) ac_extraclean="$ac_extraclean $ac_dir/testlist.c" ;;
7196 esac
7198 if wine_fn_has_flag clean
7199 then
7200 wine_fn_append_rule \
7201 "__clean__: $ac_dir/clean
7202 .PHONY: $ac_dir/clean
7203 $ac_dir/clean: $ac_dir/Makefile
7204 @cd $ac_dir && \$(MAKE) clean
7205 \$(RM) $ac_extraclean"
7206 else
7207 wine_fn_append_rule \
7208 "__clean__: $ac_dir/clean
7209 .PHONY: $ac_dir/clean
7210 $ac_dir/clean: dummy
7211 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7215 wine_fn_disabled_rules ()
7217 ac_clean=$@
7218 ac_extraclean="$ac_dir/Makefile"
7219 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7221 wine_fn_append_rule \
7222 "__clean__: $ac_dir/clean
7223 .PHONY: $ac_dir/clean
7224 $ac_dir/clean: dummy
7225 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7228 wine_fn_config_makefile ()
7230 ac_dir=$1
7231 ac_enable=$2
7232 ac_flags=$3
7234 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7235 wine_fn_disabled_rules; return
7237 wine_fn_all_rules
7238 wine_fn_install_rules
7239 wine_fn_clean_rules
7242 wine_fn_config_lib ()
7244 ac_name=$1
7245 ac_flags=$2
7246 ac_dir=dlls/$ac_name
7247 ac_deps="include"
7249 if test "x$enable_tools" = xno; then :
7251 else
7252 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7254 wine_fn_all_rules
7255 wine_fn_clean_rules
7257 wine_fn_append_rule \
7258 ".PHONY: $ac_dir/install $ac_dir/uninstall
7259 $ac_dir/install:: $ac_dir
7260 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7261 $ac_dir/uninstall::
7262 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7263 install install-dev:: $ac_dir/install
7264 __uninstall__: $ac_dir/uninstall
7265 __builddeps__: $ac_dir
7266 $ac_dir: $ac_deps"
7269 wine_fn_config_dll ()
7271 ac_name=$1
7272 ac_dir=dlls/$ac_name
7273 ac_enable=$2
7274 ac_flags=$3
7275 ac_implib=${4:-$ac_name}
7276 ac_file=$ac_dir/lib$ac_implib
7277 ac_dll=$ac_name
7278 ac_deps="include"
7279 ac_implibflags=""
7281 if test "x$enable_tools" = xno; then :
7283 else
7284 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7286 case $ac_name in
7287 *16) ac_implibflags=" -m16" ;;
7288 *.*) ;;
7289 *) ac_dll=$ac_dll.dll ;;
7290 esac
7292 ac_clean=
7293 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7294 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7295 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7296 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7298 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7299 if wine_fn_has_flag implib && test "$ac_enable" != enable_win16
7300 then
7301 wine_fn_depend_rules
7302 wine_fn_clean_rules $ac_clean
7303 else
7304 wine_fn_disabled_rules $ac_clean
7305 return
7307 else
7308 wine_fn_all_rules
7309 wine_fn_clean_rules $ac_clean
7310 wine_fn_append_rule \
7311 "$ac_dir: __builddeps__
7312 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7313 @cd $ac_dir && \$(MAKE) \$@
7314 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7315 install install-lib:: $ac_dir/install-lib
7316 __uninstall__: $ac_dir/uninstall"
7317 if test -n "$DLLEXT"
7318 then
7319 wine_fn_append_rule \
7320 "$ac_dir/install-lib:: $ac_dir
7321 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7322 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7323 $ac_dir/uninstall::
7324 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7325 else
7326 wine_fn_append_rule \
7327 "$ac_dir/install-lib:: $ac_dir
7328 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7329 $ac_dir/uninstall::
7330 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7333 wine_fn_pot_rules
7336 if wine_fn_has_flag staticimplib
7337 then
7338 wine_fn_append_rule \
7339 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7340 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7341 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7342 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7343 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7344 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7345 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7346 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7347 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7348 $ac_dir/uninstall::
7349 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7350 install install-dev:: $ac_dir/install-dev
7351 __uninstall__: $ac_dir/uninstall"
7353 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7354 then
7355 wine_fn_append_rule \
7356 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7357 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7358 $ac_dir/uninstall::
7359 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7362 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7363 then
7364 wine_fn_append_rule \
7365 "__builddeps__: $ac_file.cross.a
7366 $ac_file.cross.a: $ac_dir/Makefile dummy
7367 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7370 elif wine_fn_has_flag implib
7371 then
7372 wine_fn_append_rule \
7373 "__builddeps__: $ac_file.$IMPLIBEXT
7374 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7375 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7376 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7377 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7378 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7379 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7380 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7381 $ac_dir/uninstall::
7382 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7383 install install-dev:: $ac_dir/install-dev
7384 __uninstall__: $ac_dir/uninstall"
7385 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7386 then
7387 wine_fn_append_rule \
7388 "__builddeps__: $ac_file.cross.a
7389 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7390 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7393 if test "$ac_name" != "$ac_implib"
7394 then
7395 wine_fn_append_rule \
7396 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7397 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7398 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7399 clean::
7400 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7401 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7402 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7403 then
7404 wine_fn_append_rule \
7405 "__builddeps__: dlls/lib$ac_implib.cross.a
7406 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7407 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7408 clean::
7409 \$(RM) dlls/lib$ac_implib.cross.a"
7410 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7416 wine_fn_config_program ()
7418 ac_name=$1
7419 ac_dir=programs/$ac_name
7420 ac_enable=$2
7421 ac_flags=$3
7422 ac_program=$ac_name
7424 case $ac_name in
7425 *.*) ;;
7426 *) ac_program=$ac_program.exe ;;
7427 esac
7429 ac_clean=
7430 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7431 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7432 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7433 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7435 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7436 wine_fn_disabled_rules $ac_clean; return
7439 wine_fn_all_rules
7440 wine_fn_clean_rules $ac_clean
7441 wine_fn_append_rule "$ac_dir: __builddeps__"
7442 wine_fn_pot_rules
7444 wine_fn_has_flag install || return
7445 wine_fn_append_rule \
7446 ".PHONY: $ac_dir/install $ac_dir/uninstall
7447 install install-lib:: $ac_dir/install
7448 __uninstall__: $ac_dir/uninstall"
7450 if test -n "$DLLEXT"
7451 then
7452 wine_fn_append_rule \
7453 "$ac_dir/install:: $ac_dir
7454 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7455 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7456 $ac_dir/uninstall::
7457 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7459 if test -z "$with_wine64" && wine_fn_has_flag installbin
7460 then
7461 wine_fn_append_rule \
7462 "$ac_dir/install:: __tooldeps__
7463 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7464 $ac_dir/uninstall::
7465 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7467 else
7468 wine_fn_append_rule \
7469 "$ac_dir/install:: $ac_dir
7470 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7471 $ac_dir/uninstall::
7472 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7475 if test -z "$with_wine64" && wine_fn_has_flag manpage
7476 then
7477 wine_fn_append_rule \
7478 "$ac_dir/install:: $ac_dir
7479 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7480 $ac_dir/uninstall::
7481 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7485 wine_fn_config_test ()
7487 ac_dir=$1
7488 ac_name=$2
7489 ac_flags=$3
7491 ac_clean=
7492 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7493 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7495 if test "x$enable_tests" = xno; then :
7496 wine_fn_disabled_rules $ac_clean; return
7499 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7500 wine_fn_all_rules
7501 wine_fn_clean_rules $ac_clean
7503 wine_fn_append_rule \
7504 "$ac_dir: programs/winetest/Makefile __builddeps__
7505 programs/winetest: $ac_dir
7506 check test: $ac_dir/test
7507 .PHONY: $ac_dir/test
7508 $ac_dir/test: dummy
7509 @cd $ac_dir && \$(MAKE) test
7510 testclean::
7511 \$(RM) $ac_dir/*.ok"
7513 if test -n "$CROSSTARGET"
7514 then
7515 wine_fn_append_rule \
7516 "crosstest: $ac_dir/crosstest
7517 .PHONY: $ac_dir/crosstest
7518 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7519 @cd $ac_dir && \$(MAKE) crosstest"
7523 wine_fn_config_tool ()
7525 ac_dir=$1
7526 ac_flags=$2
7527 if test "x$enable_tools" = xno; then :
7528 return
7531 wine_fn_all_rules
7532 wine_fn_install_rules
7533 wine_fn_clean_rules
7535 wine_fn_append_rule "__tooldeps__: $ac_dir"
7536 wine_fn_append_rule "$ac_dir: libs/port"
7537 case $ac_dir in
7538 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7539 esac
7542 wine_fn_config_symlink ()
7544 ac_linkdir=
7545 if test "x$1" = "x-d"
7546 then
7547 ac_linkdir=$2
7548 shift; shift
7550 ac_links=$@
7551 wine_fn_append_rule \
7552 "$ac_links:
7553 @./config.status \$@
7554 distclean::
7555 \$(RM) $ac_links"
7556 for f in $ac_links; do wine_fn_ignore_file $f; done
7557 test -n "$ac_linkdir" || return
7558 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7561 wine_binary="wine"
7562 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7563 loader_programs="$wine_binary wine-installed"
7564 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7566 LOADER_RULES="
7567 all: wine.inf
7569 install install-lib:: wine-installed
7570 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7572 uninstall::
7573 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7577 case $host_os in
7578 cygwin*|mingw32*)
7579 if test -n "$ac_tool_prefix"; then
7580 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7581 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7583 $as_echo_n "checking for $ac_word... " >&6; }
7584 if ${ac_cv_prog_DLLTOOL+:} false; then :
7585 $as_echo_n "(cached) " >&6
7586 else
7587 if test -n "$DLLTOOL"; then
7588 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7589 else
7590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7591 for as_dir in $PATH
7593 IFS=$as_save_IFS
7594 test -z "$as_dir" && as_dir=.
7595 for ac_exec_ext in '' $ac_executable_extensions; do
7596 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7597 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7599 break 2
7601 done
7602 done
7603 IFS=$as_save_IFS
7607 DLLTOOL=$ac_cv_prog_DLLTOOL
7608 if test -n "$DLLTOOL"; then
7609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7610 $as_echo "$DLLTOOL" >&6; }
7611 else
7612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7613 $as_echo "no" >&6; }
7618 if test -z "$ac_cv_prog_DLLTOOL"; then
7619 ac_ct_DLLTOOL=$DLLTOOL
7620 # Extract the first word of "dlltool", so it can be a program name with args.
7621 set dummy dlltool; ac_word=$2
7622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7623 $as_echo_n "checking for $ac_word... " >&6; }
7624 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7625 $as_echo_n "(cached) " >&6
7626 else
7627 if test -n "$ac_ct_DLLTOOL"; then
7628 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7629 else
7630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7631 for as_dir in $PATH
7633 IFS=$as_save_IFS
7634 test -z "$as_dir" && as_dir=.
7635 for ac_exec_ext in '' $ac_executable_extensions; do
7636 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7637 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7638 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7639 break 2
7641 done
7642 done
7643 IFS=$as_save_IFS
7647 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7648 if test -n "$ac_ct_DLLTOOL"; then
7649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7650 $as_echo "$ac_ct_DLLTOOL" >&6; }
7651 else
7652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7653 $as_echo "no" >&6; }
7656 if test "x$ac_ct_DLLTOOL" = x; then
7657 DLLTOOL="false"
7658 else
7659 case $cross_compiling:$ac_tool_warned in
7660 yes:)
7661 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7662 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7663 ac_tool_warned=yes ;;
7664 esac
7665 DLLTOOL=$ac_ct_DLLTOOL
7667 else
7668 DLLTOOL="$ac_cv_prog_DLLTOOL"
7671 LIBEXT="dll"
7672 DLLEXT=""
7673 IMPLIBEXT="a"
7674 STATIC_IMPLIBEXT="a"
7675 enable_iphlpapi=${enable_iphlpapi:-no}
7676 enable_kernel32=${enable_kernel32:-no}
7677 enable_msvcrt=${enable_msvcrt:-no}
7678 enable_ntdll=${enable_ntdll:-no}
7679 enable_ws2_32=${enable_ws2_32:-no}
7680 enable_loader=${enable_loader:-no}
7681 enable_server=${enable_server:-no}
7682 with_x=${with_x:-no}
7683 with_pthread=${with_pthread:-no}
7685 crtlibs=""
7686 case $host_os in
7687 mingw32*)
7688 crtlibs="-lmsvcrt"
7689 SOCKET_LIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7691 esac
7693 libwine_targets="libwine.dll libwine.a"
7694 LIBWINE_RULES="
7695 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7697 all: libwine.dll libwine.a
7699 libwine.a: \$(srcdir)/wine.def
7700 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7702 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7703 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7705 install install-lib:: libwine.dll
7706 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7708 install install-dev:: libwine.a
7709 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7711 uninstall::
7712 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7717 darwin*|macosx*)
7718 LIBEXT="dylib"
7719 DLLFLAGS="$DLLFLAGS -fPIC"
7720 LIBWINE_LDFLAGS="-multiply_defined suppress"
7721 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7722 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7723 COREFOUNDATION_LIBS="-framework CoreFoundation"
7725 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7727 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7729 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7731 CORESERVICES_LIBS="-framework CoreServices"
7733 APPKIT_LIBS="-framework AppKit"
7735 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7737 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7738 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
7739 $as_echo_n "(cached) " >&6
7740 else
7741 ac_wine_try_cflags_saved=$CFLAGS
7742 CFLAGS="$CFLAGS -Wl,-no_pie"
7743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7744 /* end confdefs.h. */
7745 int main(int argc, char **argv) { return 0; }
7746 _ACEOF
7747 if ac_fn_c_try_link "$LINENO"; then :
7748 ac_cv_cflags__Wl__no_pie=yes
7749 else
7750 ac_cv_cflags__Wl__no_pie=no
7752 rm -f core conftest.err conftest.$ac_objext \
7753 conftest$ac_exeext conftest.$ac_ext
7754 CFLAGS=$ac_wine_try_cflags_saved
7756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7757 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7758 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
7759 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
7761 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7762 then
7763 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
7766 if test "$ac_cv_header_Security_Security_h" = "yes"
7767 then
7768 SECURITY_LIBS="-framework Security -framework CoreFoundation"
7770 ac_save_LIBS="$LIBS"
7771 LIBS="$LIBS $SECURITY_LIBS"
7772 for ac_func in SSLCopyPeerCertificates
7773 do :
7774 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7775 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
7776 cat >>confdefs.h <<_ACEOF
7777 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7778 _ACEOF
7781 done
7783 LIBS="$ac_save_LIBS"
7784 with_gnutls=${with_gnutls:-no}
7786 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7787 then
7788 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7789 then
7790 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7792 else
7793 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7796 ac_save_LIBS="$LIBS"
7797 LIBS="$LIBS $COREAUDIO_LIBS"
7798 for ac_func in AUGraphAddNode
7799 do :
7800 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7801 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
7802 cat >>confdefs.h <<_ACEOF
7803 #define HAVE_AUGRAPHADDNODE 1
7804 _ACEOF
7807 done
7809 LIBS="$ac_save_LIBS"
7811 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7812 then
7813 OPENAL_LIBS="-framework OpenAL"
7816 cat >>confdefs.h <<_ACEOF
7817 #define HAVE_OPENAL 1
7818 _ACEOF
7820 ac_cv_lib_openal=yes
7822 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7823 then
7824 OPENCL_LIBS="-framework OpenCL"
7826 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
7828 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7829 then
7830 ac_save_LIBS="$LIBS"
7831 LIBS="$LIBS $IOKIT_LIBS"
7832 for ac_func in IOHIDManagerCreate
7833 do :
7834 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7835 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
7836 cat >>confdefs.h <<_ACEOF
7837 #define HAVE_IOHIDMANAGERCREATE 1
7838 _ACEOF
7841 done
7843 LIBS="$ac_save_LIBS"
7845 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7846 then
7847 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7849 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
7850 else
7851 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7853 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7854 then
7855 CARBON_LIBS="-framework Carbon"
7859 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7860 then
7861 ac_save_LIBS="$LIBS"
7862 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
7863 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7864 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
7865 enable_winemac_drv=${enable_winemac_drv:-yes}
7868 LIBS="$ac_save_LIBS"
7871 if test "x$enable_win16" = "xyes"
7872 then
7873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7874 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7875 if test "$cross_compiling" = yes; then :
7876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7877 $as_echo "cross-compiling, assuming yes" >&6; }
7878 else
7879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7880 /* end confdefs.h. */
7881 asm(".text\n"
7882 "bad:\tnop;nop\n"
7883 "good:\tnop;nop\n\t"
7884 ".globl _testfunc\n"
7885 "_testfunc:\tcallw good");
7886 extern void testfunc();
7888 main ()
7890 unsigned short *p = (unsigned short *)testfunc;
7891 return p[0] != 0xe866 || p[1] != 0xfffa
7893 return 0;
7895 _ACEOF
7896 if ac_fn_c_try_run "$LINENO"; then :
7897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7898 $as_echo "yes" >&6; }
7899 else
7900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7901 $as_echo "no" >&6; }
7902 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
7904 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7905 conftest.$ac_objext conftest.beam conftest.$ac_ext
7910 libwine_targets="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
7911 LIBWINE_RULES="
7912 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7914 all: libwine.dylib
7916 libwine.$libwine_version.dylib: \$(OBJS)
7917 \$(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 \$@
7919 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
7920 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
7922 libwine.dylib: libwine.$libwine_soversion.dylib
7923 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
7925 install install-lib:: libwine.$libwine_version.dylib
7926 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
7927 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
7929 install install-dev::
7930 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
7932 uninstall::
7933 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
7937 as_fn_append LOADER_RULES "
7938 $wine_binary: main.o wine_info.plist
7939 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7941 wine-installed: main.o wine_info.plist
7942 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7946 linux-android*)
7947 DLLFLAGS="$DLLFLAGS -fPIC"
7948 DLLPREFIX="lib"
7949 LDEXECFLAGS=""
7950 dlldir="\${libdir}"
7951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7952 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7953 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
7954 $as_echo_n "(cached) " >&6
7955 else
7956 ac_wine_try_cflags_saved=$CFLAGS
7957 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
7958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7959 /* end confdefs.h. */
7960 int main(int argc, char **argv) { return 0; }
7961 _ACEOF
7962 if ac_fn_c_try_link "$LINENO"; then :
7963 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
7964 else
7965 ac_cv_cflags__fPIC__Wl___export_dynamic=no
7967 rm -f core conftest.err conftest.$ac_objext \
7968 conftest$ac_exeext conftest.$ac_ext
7969 CFLAGS=$ac_wine_try_cflags_saved
7971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7972 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7973 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
7974 LDEXECFLAGS="-Wl,--export-dynamic"
7976 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7978 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7979 if eval \${$as_ac_var+:} false; then :
7980 $as_echo_n "(cached) " >&6
7981 else
7982 ac_wine_try_cflags_saved=$CFLAGS
7983 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7985 /* end confdefs.h. */
7986 int main(int argc, char **argv) { return 0; }
7987 _ACEOF
7988 if ac_fn_c_try_link "$LINENO"; then :
7989 eval "$as_ac_var=yes"
7990 else
7991 eval "$as_ac_var=no"
7993 rm -f core conftest.err conftest.$ac_objext \
7994 conftest$ac_exeext conftest.$ac_ext
7995 CFLAGS=$ac_wine_try_cflags_saved
7997 eval ac_res=\$$as_ac_var
7998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7999 $as_echo "$ac_res" >&6; }
8000 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8001 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8002 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8003 else
8004 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8006 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8007 if eval \${$as_ac_var+:} false; then :
8008 $as_echo_n "(cached) " >&6
8009 else
8010 ac_wine_try_cflags_saved=$CFLAGS
8011 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8013 /* end confdefs.h. */
8014 int main(int argc, char **argv) { return 0; }
8015 _ACEOF
8016 if ac_fn_c_try_link "$LINENO"; then :
8017 eval "$as_ac_var=yes"
8018 else
8019 eval "$as_ac_var=no"
8021 rm -f core conftest.err conftest.$ac_objext \
8022 conftest$ac_exeext conftest.$ac_ext
8023 CFLAGS=$ac_wine_try_cflags_saved
8025 eval ac_res=\$$as_ac_var
8026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8027 $as_echo "$ac_res" >&6; }
8028 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8029 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8030 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8035 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8036 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8037 $as_echo_n "(cached) " >&6
8038 else
8039 ac_wine_try_cflags_saved=$CFLAGS
8040 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8042 /* end confdefs.h. */
8043 int main(int argc, char **argv) { return 0; }
8044 _ACEOF
8045 if ac_fn_c_try_link "$LINENO"; then :
8046 ac_cv_cflags__Wl___enable_new_dtags=yes
8047 else
8048 ac_cv_cflags__Wl___enable_new_dtags=no
8050 rm -f core conftest.err conftest.$ac_objext \
8051 conftest$ac_exeext conftest.$ac_ext
8052 CFLAGS=$ac_wine_try_cflags_saved
8054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8055 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8056 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8057 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8060 case $host_cpu in
8061 *i[3456789]86* | x86_64)
8062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8063 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8064 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8065 $as_echo_n "(cached) " >&6
8066 else
8067 ac_wine_try_cflags_saved=$CFLAGS
8068 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8070 /* end confdefs.h. */
8071 int main(int argc, char **argv) { return 0; }
8072 _ACEOF
8073 if ac_fn_c_try_link "$LINENO"; then :
8074 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8075 else
8076 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8078 rm -f core conftest.err conftest.$ac_objext \
8079 conftest$ac_exeext conftest.$ac_ext
8080 CFLAGS=$ac_wine_try_cflags_saved
8082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8083 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8084 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8085 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8088 esac
8090 libwine_targets="libwine.so"
8091 LIBWINE_RULES="
8092 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8094 all: libwine.so
8096 libwine.so: \$(OBJS)
8097 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8099 install install-lib:: libwine.so
8100 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8102 uninstall::
8103 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8107 as_fn_append LOADER_RULES "
8108 $wine_binary: main.o
8109 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8111 wine-installed: main.o
8112 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8117 DLLFLAGS="$DLLFLAGS -fPIC"
8118 LDEXECFLAGS=""
8119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8120 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8121 if ${ac_cv_c_dll_gnuelf+:} false; then :
8122 $as_echo_n "(cached) " >&6
8123 else
8124 ac_wine_try_cflags_saved=$CFLAGS
8125 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8127 /* end confdefs.h. */
8128 void myfunc() {}
8129 _ACEOF
8130 if ac_fn_c_try_link "$LINENO"; then :
8131 ac_cv_c_dll_gnuelf="yes"
8132 else
8133 ac_cv_c_dll_gnuelf="no"
8135 rm -f core conftest.err conftest.$ac_objext \
8136 conftest$ac_exeext conftest.$ac_ext
8137 CFLAGS=$ac_wine_try_cflags_saved
8139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8140 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8141 if test "$ac_cv_c_dll_gnuelf" = "yes"
8142 then
8143 LDSHARED="\$(CC) -shared"
8144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8145 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8146 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8147 $as_echo_n "(cached) " >&6
8148 else
8149 ac_wine_try_cflags_saved=$CFLAGS
8150 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8152 /* end confdefs.h. */
8153 int main(int argc, char **argv) { return 0; }
8154 _ACEOF
8155 if ac_fn_c_try_link "$LINENO"; then :
8156 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8157 else
8158 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8160 rm -f core conftest.err conftest.$ac_objext \
8161 conftest$ac_exeext conftest.$ac_ext
8162 CFLAGS=$ac_wine_try_cflags_saved
8164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8165 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8166 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8167 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8168 else
8169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8170 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8171 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8172 $as_echo_n "(cached) " >&6
8173 else
8174 ac_wine_try_cflags_saved=$CFLAGS
8175 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8177 /* end confdefs.h. */
8178 int main(int argc, char **argv) { return 0; }
8179 _ACEOF
8180 if ac_fn_c_try_link "$LINENO"; then :
8181 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8182 else
8183 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8185 rm -f core conftest.err conftest.$ac_objext \
8186 conftest$ac_exeext conftest.$ac_ext
8187 CFLAGS=$ac_wine_try_cflags_saved
8189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8190 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8191 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8192 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8196 echo '{ global: *; };' >conftest.map
8197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8198 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8199 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8200 $as_echo_n "(cached) " >&6
8201 else
8202 ac_wine_try_cflags_saved=$CFLAGS
8203 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8205 /* end confdefs.h. */
8206 int main(int argc, char **argv) { return 0; }
8207 _ACEOF
8208 if ac_fn_c_try_link "$LINENO"; then :
8209 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8210 else
8211 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8213 rm -f core conftest.err conftest.$ac_objext \
8214 conftest$ac_exeext conftest.$ac_ext
8215 CFLAGS=$ac_wine_try_cflags_saved
8217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8218 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8219 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8220 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8222 rm -f conftest.map
8224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8225 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8226 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8227 $as_echo_n "(cached) " >&6
8228 else
8229 ac_wine_try_cflags_saved=$CFLAGS
8230 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8232 /* end confdefs.h. */
8233 int main(int argc, char **argv) { return 0; }
8234 _ACEOF
8235 if ac_fn_c_try_link "$LINENO"; then :
8236 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8237 else
8238 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8240 rm -f core conftest.err conftest.$ac_objext \
8241 conftest$ac_exeext conftest.$ac_ext
8242 CFLAGS=$ac_wine_try_cflags_saved
8244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8245 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8246 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8247 LDEXECFLAGS="-Wl,--export-dynamic"
8250 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8252 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8253 if eval \${$as_ac_var+:} false; then :
8254 $as_echo_n "(cached) " >&6
8255 else
8256 ac_wine_try_cflags_saved=$CFLAGS
8257 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8259 /* end confdefs.h. */
8260 int main(int argc, char **argv) { return 0; }
8261 _ACEOF
8262 if ac_fn_c_try_link "$LINENO"; then :
8263 eval "$as_ac_var=yes"
8264 else
8265 eval "$as_ac_var=no"
8267 rm -f core conftest.err conftest.$ac_objext \
8268 conftest$ac_exeext conftest.$ac_ext
8269 CFLAGS=$ac_wine_try_cflags_saved
8271 eval ac_res=\$$as_ac_var
8272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8273 $as_echo "$ac_res" >&6; }
8274 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8275 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8276 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8277 else
8278 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8280 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8281 if eval \${$as_ac_var+:} false; then :
8282 $as_echo_n "(cached) " >&6
8283 else
8284 ac_wine_try_cflags_saved=$CFLAGS
8285 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8287 /* end confdefs.h. */
8288 int main(int argc, char **argv) { return 0; }
8289 _ACEOF
8290 if ac_fn_c_try_link "$LINENO"; then :
8291 eval "$as_ac_var=yes"
8292 else
8293 eval "$as_ac_var=no"
8295 rm -f core conftest.err conftest.$ac_objext \
8296 conftest$ac_exeext conftest.$ac_ext
8297 CFLAGS=$ac_wine_try_cflags_saved
8299 eval ac_res=\$$as_ac_var
8300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8301 $as_echo "$ac_res" >&6; }
8302 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8303 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8304 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8309 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8310 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8311 $as_echo_n "(cached) " >&6
8312 else
8313 ac_wine_try_cflags_saved=$CFLAGS
8314 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8316 /* end confdefs.h. */
8317 int main(int argc, char **argv) { return 0; }
8318 _ACEOF
8319 if ac_fn_c_try_link "$LINENO"; then :
8320 ac_cv_cflags__Wl___enable_new_dtags=yes
8321 else
8322 ac_cv_cflags__Wl___enable_new_dtags=no
8324 rm -f core conftest.err conftest.$ac_objext \
8325 conftest$ac_exeext conftest.$ac_ext
8326 CFLAGS=$ac_wine_try_cflags_saved
8328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8329 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8330 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8331 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8334 case $host_cpu in
8335 *i[3456789]86* | x86_64)
8336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8337 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8338 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8339 $as_echo_n "(cached) " >&6
8340 else
8341 ac_wine_try_cflags_saved=$CFLAGS
8342 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8344 /* end confdefs.h. */
8345 int main(int argc, char **argv) { return 0; }
8346 _ACEOF
8347 if ac_fn_c_try_link "$LINENO"; then :
8348 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8349 else
8350 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8352 rm -f core conftest.err conftest.$ac_objext \
8353 conftest$ac_exeext conftest.$ac_ext
8354 CFLAGS=$ac_wine_try_cflags_saved
8356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8357 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8358 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8359 case $host_os in
8360 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8361 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8362 esac
8365 # Extract the first word of "prelink", so it can be a program name with args.
8366 set dummy prelink; ac_word=$2
8367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8368 $as_echo_n "checking for $ac_word... " >&6; }
8369 if ${ac_cv_path_PRELINK+:} false; then :
8370 $as_echo_n "(cached) " >&6
8371 else
8372 case $PRELINK in
8373 [\\/]* | ?:[\\/]*)
8374 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8378 for as_dir in /sbin /usr/sbin $PATH
8380 IFS=$as_save_IFS
8381 test -z "$as_dir" && as_dir=.
8382 for ac_exec_ext in '' $ac_executable_extensions; do
8383 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8384 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8385 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8386 break 2
8388 done
8389 done
8390 IFS=$as_save_IFS
8392 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8394 esac
8396 PRELINK=$ac_cv_path_PRELINK
8397 if test -n "$PRELINK"; then
8398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8399 $as_echo "$PRELINK" >&6; }
8400 else
8401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8402 $as_echo "no" >&6; }
8406 if test "x$PRELINK" = xfalse
8407 then
8408 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
8411 esac
8413 else
8414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8415 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8416 if ${ac_cv_c_dll_unixware+:} false; then :
8417 $as_echo_n "(cached) " >&6
8418 else
8419 ac_wine_try_cflags_saved=$CFLAGS
8420 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8422 /* end confdefs.h. */
8423 void myfunc() {}
8424 _ACEOF
8425 if ac_fn_c_try_link "$LINENO"; then :
8426 ac_cv_c_dll_unixware="yes"
8427 else
8428 ac_cv_c_dll_unixware="no"
8430 rm -f core conftest.err conftest.$ac_objext \
8431 conftest$ac_exeext conftest.$ac_ext
8432 CFLAGS=$ac_wine_try_cflags_saved
8434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8435 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8436 if test "$ac_cv_c_dll_unixware" = "yes"
8437 then
8438 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8441 libwine_targets="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8442 LIBWINE_RULES="
8443 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8445 all: libwine.so
8447 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8448 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8450 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8451 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8453 libwine.so: libwine.so.$libwine_soversion
8454 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8456 install install-lib:: libwine.so.$libwine_version
8457 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8458 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8460 install install-dev::
8461 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8463 uninstall::
8464 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8468 as_fn_append LOADER_RULES "
8469 $wine_binary: main.o
8470 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8472 wine-installed: main.o
8473 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8476 esac
8478 as_fn_append LIBWINE_RULES "
8479 EXTRA_TARGETS = $libwine_targets
8482 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8483 enable_winemac_drv=${enable_winemac_drv:-no}
8485 CROSSTARGET=""
8487 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8488 then
8489 case "$host_cpu" in
8490 i[3456789]86*)
8491 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
8492 mingw32-gcc" ;;
8493 x86_64)
8494 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 " ;;
8496 ac_prefix_list="" ;;
8497 esac
8498 for ac_prog in $ac_prefix_list
8500 # Extract the first word of "$ac_prog", so it can be a program name with args.
8501 set dummy $ac_prog; ac_word=$2
8502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8503 $as_echo_n "checking for $ac_word... " >&6; }
8504 if ${ac_cv_prog_CROSSCC+:} false; then :
8505 $as_echo_n "(cached) " >&6
8506 else
8507 if test -n "$CROSSCC"; then
8508 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8509 else
8510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8511 for as_dir in $PATH
8513 IFS=$as_save_IFS
8514 test -z "$as_dir" && as_dir=.
8515 for ac_exec_ext in '' $ac_executable_extensions; do
8516 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8517 ac_cv_prog_CROSSCC="$ac_prog"
8518 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8519 break 2
8521 done
8522 done
8523 IFS=$as_save_IFS
8527 CROSSCC=$ac_cv_prog_CROSSCC
8528 if test -n "$CROSSCC"; then
8529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8530 $as_echo "$CROSSCC" >&6; }
8531 else
8532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8533 $as_echo "no" >&6; }
8537 test -n "$CROSSCC" && break
8538 done
8539 test -n "$CROSSCC" || CROSSCC="false"
8541 if test "$CROSSCC" != "false"
8542 then
8543 ac_save_CC="$CC"
8544 CC="$CROSSCC"
8545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8546 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8548 /* end confdefs.h. */
8551 main ()
8555 return 0;
8557 _ACEOF
8558 if ac_fn_c_try_compile "$LINENO"; then :
8559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8560 $as_echo "yes" >&6; }
8561 set x $CROSSCC
8562 shift
8563 while test $# -ge 1
8565 case "$1" in
8566 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8567 esac
8568 shift
8569 done
8570 else
8571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8572 $as_echo "no" >&6; }
8574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8575 CC="$ac_save_CC"
8580 if test "$ac_cv_header_pthread_h" = "yes"
8581 then
8582 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8583 if test "x$ac_cv_func_pthread_create" = xyes; then :
8585 else
8586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8587 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8588 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8589 $as_echo_n "(cached) " >&6
8590 else
8591 ac_check_lib_save_LIBS=$LIBS
8592 LIBS="-lpthread $LIBS"
8593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8594 /* end confdefs.h. */
8596 /* Override any GCC internal prototype to avoid an error.
8597 Use char because int might match the return type of a GCC
8598 builtin and then its argument prototype would still apply. */
8599 #ifdef __cplusplus
8600 extern "C"
8601 #endif
8602 char pthread_create ();
8604 main ()
8606 return pthread_create ();
8608 return 0;
8610 _ACEOF
8611 if ac_fn_c_try_link "$LINENO"; then :
8612 ac_cv_lib_pthread_pthread_create=yes
8613 else
8614 ac_cv_lib_pthread_pthread_create=no
8616 rm -f core conftest.err conftest.$ac_objext \
8617 conftest$ac_exeext conftest.$ac_ext
8618 LIBS=$ac_check_lib_save_LIBS
8620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8621 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8622 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8623 PTHREAD_LIBS="-lpthread"
8630 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8631 case "x$with_pthread" in
8632 xno) ;;
8633 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8634 Wine cannot support threads without libpthread.
8635 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8636 esac
8640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8641 $as_echo_n "checking for X... " >&6; }
8644 # Check whether --with-x was given.
8645 if test "${with_x+set}" = set; then :
8646 withval=$with_x;
8649 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8650 if test "x$with_x" = xno; then
8651 # The user explicitly disabled X.
8652 have_x=disabled
8653 else
8654 case $x_includes,$x_libraries in #(
8655 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8656 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8657 $as_echo_n "(cached) " >&6
8658 else
8659 # One or both of the vars are not set, and there is no cached value.
8660 ac_x_includes=no ac_x_libraries=no
8661 rm -f -r conftest.dir
8662 if mkdir conftest.dir; then
8663 cd conftest.dir
8664 cat >Imakefile <<'_ACEOF'
8665 incroot:
8666 @echo incroot='${INCROOT}'
8667 usrlibdir:
8668 @echo usrlibdir='${USRLIBDIR}'
8669 libdir:
8670 @echo libdir='${LIBDIR}'
8671 _ACEOF
8672 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8673 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8674 for ac_var in incroot usrlibdir libdir; do
8675 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8676 done
8677 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8678 for ac_extension in a so sl dylib la dll; do
8679 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8680 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8681 ac_im_usrlibdir=$ac_im_libdir; break
8683 done
8684 # Screen out bogus values from the imake configuration. They are
8685 # bogus both because they are the default anyway, and because
8686 # using them would break gcc on systems where it needs fixed includes.
8687 case $ac_im_incroot in
8688 /usr/include) ac_x_includes= ;;
8689 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8690 esac
8691 case $ac_im_usrlibdir in
8692 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8693 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8694 esac
8696 cd ..
8697 rm -f -r conftest.dir
8700 # Standard set of common directories for X headers.
8701 # Check X11 before X11Rn because it is often a symlink to the current release.
8702 ac_x_header_dirs='
8703 /usr/X11/include
8704 /usr/X11R7/include
8705 /usr/X11R6/include
8706 /usr/X11R5/include
8707 /usr/X11R4/include
8709 /usr/include/X11
8710 /usr/include/X11R7
8711 /usr/include/X11R6
8712 /usr/include/X11R5
8713 /usr/include/X11R4
8715 /usr/local/X11/include
8716 /usr/local/X11R7/include
8717 /usr/local/X11R6/include
8718 /usr/local/X11R5/include
8719 /usr/local/X11R4/include
8721 /usr/local/include/X11
8722 /usr/local/include/X11R7
8723 /usr/local/include/X11R6
8724 /usr/local/include/X11R5
8725 /usr/local/include/X11R4
8727 /usr/X386/include
8728 /usr/x386/include
8729 /usr/XFree86/include/X11
8731 /usr/include
8732 /usr/local/include
8733 /usr/unsupported/include
8734 /usr/athena/include
8735 /usr/local/x11r5/include
8736 /usr/lpp/Xamples/include
8738 /usr/openwin/include
8739 /usr/openwin/share/include'
8741 if test "$ac_x_includes" = no; then
8742 # Guess where to find include files, by looking for Xlib.h.
8743 # First, try using that file with no special directory specified.
8744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8745 /* end confdefs.h. */
8746 #include <X11/Xlib.h>
8747 _ACEOF
8748 if ac_fn_c_try_cpp "$LINENO"; then :
8749 # We can compile using X headers with no special include directory.
8750 ac_x_includes=
8751 else
8752 for ac_dir in $ac_x_header_dirs; do
8753 if test -r "$ac_dir/X11/Xlib.h"; then
8754 ac_x_includes=$ac_dir
8755 break
8757 done
8759 rm -f conftest.err conftest.i conftest.$ac_ext
8760 fi # $ac_x_includes = no
8762 if test "$ac_x_libraries" = no; then
8763 # Check for the libraries.
8764 # See if we find them without any special options.
8765 # Don't add to $LIBS permanently.
8766 ac_save_LIBS=$LIBS
8767 LIBS="-lX11 $LIBS"
8768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8769 /* end confdefs.h. */
8770 #include <X11/Xlib.h>
8772 main ()
8774 XrmInitialize ()
8776 return 0;
8778 _ACEOF
8779 if ac_fn_c_try_link "$LINENO"; then :
8780 LIBS=$ac_save_LIBS
8781 # We can link X programs with no special library path.
8782 ac_x_libraries=
8783 else
8784 LIBS=$ac_save_LIBS
8785 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8787 # Don't even attempt the hair of trying to link an X program!
8788 for ac_extension in a so sl dylib la dll; do
8789 if test -r "$ac_dir/libX11.$ac_extension"; then
8790 ac_x_libraries=$ac_dir
8791 break 2
8793 done
8794 done
8796 rm -f core conftest.err conftest.$ac_objext \
8797 conftest$ac_exeext conftest.$ac_ext
8798 fi # $ac_x_libraries = no
8800 case $ac_x_includes,$ac_x_libraries in #(
8801 no,* | *,no | *\'*)
8802 # Didn't find X, or a directory has "'" in its name.
8803 ac_cv_have_x="have_x=no";; #(
8805 # Record where we found X for the cache.
8806 ac_cv_have_x="have_x=yes\
8807 ac_x_includes='$ac_x_includes'\
8808 ac_x_libraries='$ac_x_libraries'"
8809 esac
8811 ;; #(
8812 *) have_x=yes;;
8813 esac
8814 eval "$ac_cv_have_x"
8815 fi # $with_x != no
8817 if test "$have_x" != yes; then
8818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8819 $as_echo "$have_x" >&6; }
8820 no_x=yes
8821 else
8822 # If each of the values was on the command line, it overrides each guess.
8823 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
8824 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
8825 # Update the cache value to reflect the command line values.
8826 ac_cv_have_x="have_x=yes\
8827 ac_x_includes='$x_includes'\
8828 ac_x_libraries='$x_libraries'"
8829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8830 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8833 if test "$no_x" = yes; then
8834 # Not all programs may use this symbol, but it does not hurt to define it.
8836 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8838 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
8839 else
8840 if test -n "$x_includes"; then
8841 X_CFLAGS="$X_CFLAGS -I$x_includes"
8844 # It would also be nice to do this for all -L options, not just this one.
8845 if test -n "$x_libraries"; then
8846 X_LIBS="$X_LIBS -L$x_libraries"
8847 # For Solaris; some versions of Sun CC require a space after -R and
8848 # others require no space. Words are not sufficient . . . .
8849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8850 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8851 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
8852 ac_xsave_c_werror_flag=$ac_c_werror_flag
8853 ac_c_werror_flag=yes
8854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8855 /* end confdefs.h. */
8858 main ()
8862 return 0;
8864 _ACEOF
8865 if ac_fn_c_try_link "$LINENO"; then :
8866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8867 $as_echo "no" >&6; }
8868 X_LIBS="$X_LIBS -R$x_libraries"
8869 else
8870 LIBS="$ac_xsave_LIBS -R $x_libraries"
8871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8872 /* end confdefs.h. */
8875 main ()
8879 return 0;
8881 _ACEOF
8882 if ac_fn_c_try_link "$LINENO"; then :
8883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8884 $as_echo "yes" >&6; }
8885 X_LIBS="$X_LIBS -R $x_libraries"
8886 else
8887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8888 $as_echo "neither works" >&6; }
8890 rm -f core conftest.err conftest.$ac_objext \
8891 conftest$ac_exeext conftest.$ac_ext
8893 rm -f core conftest.err conftest.$ac_objext \
8894 conftest$ac_exeext conftest.$ac_ext
8895 ac_c_werror_flag=$ac_xsave_c_werror_flag
8896 LIBS=$ac_xsave_LIBS
8899 # Check for system-dependent libraries X programs must link with.
8900 # Do this before checking for the system-independent R6 libraries
8901 # (-lICE), since we may need -lsocket or whatever for X linking.
8903 if test "$ISC" = yes; then
8904 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
8905 else
8906 # Martyn Johnson says this is needed for Ultrix, if the X
8907 # libraries were built with DECnet support. And Karl Berry says
8908 # the Alpha needs dnet_stub (dnet does not exist).
8909 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
8910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8911 /* end confdefs.h. */
8913 /* Override any GCC internal prototype to avoid an error.
8914 Use char because int might match the return type of a GCC
8915 builtin and then its argument prototype would still apply. */
8916 #ifdef __cplusplus
8917 extern "C"
8918 #endif
8919 char XOpenDisplay ();
8921 main ()
8923 return XOpenDisplay ();
8925 return 0;
8927 _ACEOF
8928 if ac_fn_c_try_link "$LINENO"; then :
8930 else
8931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8932 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8933 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
8934 $as_echo_n "(cached) " >&6
8935 else
8936 ac_check_lib_save_LIBS=$LIBS
8937 LIBS="-ldnet $LIBS"
8938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8939 /* end confdefs.h. */
8941 /* Override any GCC internal prototype to avoid an error.
8942 Use char because int might match the return type of a GCC
8943 builtin and then its argument prototype would still apply. */
8944 #ifdef __cplusplus
8945 extern "C"
8946 #endif
8947 char dnet_ntoa ();
8949 main ()
8951 return dnet_ntoa ();
8953 return 0;
8955 _ACEOF
8956 if ac_fn_c_try_link "$LINENO"; then :
8957 ac_cv_lib_dnet_dnet_ntoa=yes
8958 else
8959 ac_cv_lib_dnet_dnet_ntoa=no
8961 rm -f core conftest.err conftest.$ac_objext \
8962 conftest$ac_exeext conftest.$ac_ext
8963 LIBS=$ac_check_lib_save_LIBS
8965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8966 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8967 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
8968 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
8971 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
8972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8973 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8974 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
8975 $as_echo_n "(cached) " >&6
8976 else
8977 ac_check_lib_save_LIBS=$LIBS
8978 LIBS="-ldnet_stub $LIBS"
8979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8980 /* end confdefs.h. */
8982 /* Override any GCC internal prototype to avoid an error.
8983 Use char because int might match the return type of a GCC
8984 builtin and then its argument prototype would still apply. */
8985 #ifdef __cplusplus
8986 extern "C"
8987 #endif
8988 char dnet_ntoa ();
8990 main ()
8992 return dnet_ntoa ();
8994 return 0;
8996 _ACEOF
8997 if ac_fn_c_try_link "$LINENO"; then :
8998 ac_cv_lib_dnet_stub_dnet_ntoa=yes
8999 else
9000 ac_cv_lib_dnet_stub_dnet_ntoa=no
9002 rm -f core conftest.err conftest.$ac_objext \
9003 conftest$ac_exeext conftest.$ac_ext
9004 LIBS=$ac_check_lib_save_LIBS
9006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9007 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9008 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9009 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9014 rm -f core conftest.err conftest.$ac_objext \
9015 conftest$ac_exeext conftest.$ac_ext
9016 LIBS="$ac_xsave_LIBS"
9018 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9019 # to get the SysV transport functions.
9020 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9021 # needs -lnsl.
9022 # The nsl library prevents programs from opening the X display
9023 # on Irix 5.2, according to T.E. Dickey.
9024 # The functions gethostbyname, getservbyname, and inet_addr are
9025 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9026 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9027 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9031 if test $ac_cv_func_gethostbyname = no; then
9032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9033 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9034 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9035 $as_echo_n "(cached) " >&6
9036 else
9037 ac_check_lib_save_LIBS=$LIBS
9038 LIBS="-lnsl $LIBS"
9039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9040 /* end confdefs.h. */
9042 /* Override any GCC internal prototype to avoid an error.
9043 Use char because int might match the return type of a GCC
9044 builtin and then its argument prototype would still apply. */
9045 #ifdef __cplusplus
9046 extern "C"
9047 #endif
9048 char gethostbyname ();
9050 main ()
9052 return gethostbyname ();
9054 return 0;
9056 _ACEOF
9057 if ac_fn_c_try_link "$LINENO"; then :
9058 ac_cv_lib_nsl_gethostbyname=yes
9059 else
9060 ac_cv_lib_nsl_gethostbyname=no
9062 rm -f core conftest.err conftest.$ac_objext \
9063 conftest$ac_exeext conftest.$ac_ext
9064 LIBS=$ac_check_lib_save_LIBS
9066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9067 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9068 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9069 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9072 if test $ac_cv_lib_nsl_gethostbyname = no; then
9073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9074 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9075 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9076 $as_echo_n "(cached) " >&6
9077 else
9078 ac_check_lib_save_LIBS=$LIBS
9079 LIBS="-lbsd $LIBS"
9080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9081 /* end confdefs.h. */
9083 /* Override any GCC internal prototype to avoid an error.
9084 Use char because int might match the return type of a GCC
9085 builtin and then its argument prototype would still apply. */
9086 #ifdef __cplusplus
9087 extern "C"
9088 #endif
9089 char gethostbyname ();
9091 main ()
9093 return gethostbyname ();
9095 return 0;
9097 _ACEOF
9098 if ac_fn_c_try_link "$LINENO"; then :
9099 ac_cv_lib_bsd_gethostbyname=yes
9100 else
9101 ac_cv_lib_bsd_gethostbyname=no
9103 rm -f core conftest.err conftest.$ac_objext \
9104 conftest$ac_exeext conftest.$ac_ext
9105 LIBS=$ac_check_lib_save_LIBS
9107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9108 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9109 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9110 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9116 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9117 # socket/setsockopt and other routines are undefined under SCO ODT
9118 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9119 # on later versions), says Simon Leinen: it contains gethostby*
9120 # variants that don't use the name server (or something). -lsocket
9121 # must be given before -lnsl if both are needed. We assume that
9122 # if connect needs -lnsl, so does gethostbyname.
9123 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9124 if test "x$ac_cv_func_connect" = xyes; then :
9128 if test $ac_cv_func_connect = no; then
9129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9130 $as_echo_n "checking for connect in -lsocket... " >&6; }
9131 if ${ac_cv_lib_socket_connect+:} false; then :
9132 $as_echo_n "(cached) " >&6
9133 else
9134 ac_check_lib_save_LIBS=$LIBS
9135 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9137 /* end confdefs.h. */
9139 /* Override any GCC internal prototype to avoid an error.
9140 Use char because int might match the return type of a GCC
9141 builtin and then its argument prototype would still apply. */
9142 #ifdef __cplusplus
9143 extern "C"
9144 #endif
9145 char connect ();
9147 main ()
9149 return connect ();
9151 return 0;
9153 _ACEOF
9154 if ac_fn_c_try_link "$LINENO"; then :
9155 ac_cv_lib_socket_connect=yes
9156 else
9157 ac_cv_lib_socket_connect=no
9159 rm -f core conftest.err conftest.$ac_objext \
9160 conftest$ac_exeext conftest.$ac_ext
9161 LIBS=$ac_check_lib_save_LIBS
9163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9164 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9165 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9166 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9171 # Guillermo Gomez says -lposix is necessary on A/UX.
9172 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9173 if test "x$ac_cv_func_remove" = xyes; then :
9177 if test $ac_cv_func_remove = no; then
9178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9179 $as_echo_n "checking for remove in -lposix... " >&6; }
9180 if ${ac_cv_lib_posix_remove+:} false; then :
9181 $as_echo_n "(cached) " >&6
9182 else
9183 ac_check_lib_save_LIBS=$LIBS
9184 LIBS="-lposix $LIBS"
9185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9186 /* end confdefs.h. */
9188 /* Override any GCC internal prototype to avoid an error.
9189 Use char because int might match the return type of a GCC
9190 builtin and then its argument prototype would still apply. */
9191 #ifdef __cplusplus
9192 extern "C"
9193 #endif
9194 char remove ();
9196 main ()
9198 return remove ();
9200 return 0;
9202 _ACEOF
9203 if ac_fn_c_try_link "$LINENO"; then :
9204 ac_cv_lib_posix_remove=yes
9205 else
9206 ac_cv_lib_posix_remove=no
9208 rm -f core conftest.err conftest.$ac_objext \
9209 conftest$ac_exeext conftest.$ac_ext
9210 LIBS=$ac_check_lib_save_LIBS
9212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9213 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9214 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9215 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9220 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9221 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9222 if test "x$ac_cv_func_shmat" = xyes; then :
9226 if test $ac_cv_func_shmat = no; then
9227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9228 $as_echo_n "checking for shmat in -lipc... " >&6; }
9229 if ${ac_cv_lib_ipc_shmat+:} false; then :
9230 $as_echo_n "(cached) " >&6
9231 else
9232 ac_check_lib_save_LIBS=$LIBS
9233 LIBS="-lipc $LIBS"
9234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9235 /* end confdefs.h. */
9237 /* Override any GCC internal prototype to avoid an error.
9238 Use char because int might match the return type of a GCC
9239 builtin and then its argument prototype would still apply. */
9240 #ifdef __cplusplus
9241 extern "C"
9242 #endif
9243 char shmat ();
9245 main ()
9247 return shmat ();
9249 return 0;
9251 _ACEOF
9252 if ac_fn_c_try_link "$LINENO"; then :
9253 ac_cv_lib_ipc_shmat=yes
9254 else
9255 ac_cv_lib_ipc_shmat=no
9257 rm -f core conftest.err conftest.$ac_objext \
9258 conftest$ac_exeext conftest.$ac_ext
9259 LIBS=$ac_check_lib_save_LIBS
9261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9262 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9263 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9264 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9270 # Check for libraries that X11R6 Xt/Xaw programs need.
9271 ac_save_LDFLAGS=$LDFLAGS
9272 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9273 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9274 # check for ICE first), but we must link in the order -lSM -lICE or
9275 # we get undefined symbols. So assume we have SM if we have ICE.
9276 # These have to be linked with before -lX11, unlike the other
9277 # libraries we check for below, so use a different variable.
9278 # John Interrante, Karl Berry
9279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9280 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9281 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9282 $as_echo_n "(cached) " >&6
9283 else
9284 ac_check_lib_save_LIBS=$LIBS
9285 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9287 /* end confdefs.h. */
9289 /* Override any GCC internal prototype to avoid an error.
9290 Use char because int might match the return type of a GCC
9291 builtin and then its argument prototype would still apply. */
9292 #ifdef __cplusplus
9293 extern "C"
9294 #endif
9295 char IceConnectionNumber ();
9297 main ()
9299 return IceConnectionNumber ();
9301 return 0;
9303 _ACEOF
9304 if ac_fn_c_try_link "$LINENO"; then :
9305 ac_cv_lib_ICE_IceConnectionNumber=yes
9306 else
9307 ac_cv_lib_ICE_IceConnectionNumber=no
9309 rm -f core conftest.err conftest.$ac_objext \
9310 conftest$ac_exeext conftest.$ac_ext
9311 LIBS=$ac_check_lib_save_LIBS
9313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9314 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9315 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9316 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9319 LDFLAGS=$ac_save_LDFLAGS
9324 if test "$have_x" = "yes"
9325 then
9326 ac_save_CPPFLAGS="$CPPFLAGS"
9327 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9330 $as_echo_n "checking for -lX11... " >&6; }
9331 if ${ac_cv_lib_soname_X11+:} false; then :
9332 $as_echo_n "(cached) " >&6
9333 else
9334 ac_check_soname_save_LIBS=$LIBS
9335 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9337 /* end confdefs.h. */
9339 /* Override any GCC internal prototype to avoid an error.
9340 Use char because int might match the return type of a GCC
9341 builtin and then its argument prototype would still apply. */
9342 #ifdef __cplusplus
9343 extern "C"
9344 #endif
9345 char XCreateWindow ();
9347 main ()
9349 return XCreateWindow ();
9351 return 0;
9353 _ACEOF
9354 if ac_fn_c_try_link "$LINENO"; then :
9355 case "$LIBEXT" in
9356 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9357 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'` ;;
9358 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9359 if ${ac_cv_lib_soname_X11:+false} :; then :
9360 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9361 fi ;;
9362 esac
9364 rm -f core conftest.err conftest.$ac_objext \
9365 conftest$ac_exeext conftest.$ac_ext
9366 LIBS=$ac_check_soname_save_LIBS
9368 if ${ac_cv_lib_soname_X11:+false} :; then :
9369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9370 $as_echo "not found" >&6; }
9372 else
9373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9374 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9376 cat >>confdefs.h <<_ACEOF
9377 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9378 _ACEOF
9382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9383 $as_echo_n "checking for -lXext... " >&6; }
9384 if ${ac_cv_lib_soname_Xext+:} false; then :
9385 $as_echo_n "(cached) " >&6
9386 else
9387 ac_check_soname_save_LIBS=$LIBS
9388 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9390 /* end confdefs.h. */
9392 /* Override any GCC internal prototype to avoid an error.
9393 Use char because int might match the return type of a GCC
9394 builtin and then its argument prototype would still apply. */
9395 #ifdef __cplusplus
9396 extern "C"
9397 #endif
9398 char XextCreateExtension ();
9400 main ()
9402 return XextCreateExtension ();
9404 return 0;
9406 _ACEOF
9407 if ac_fn_c_try_link "$LINENO"; then :
9408 case "$LIBEXT" in
9409 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9410 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'` ;;
9411 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9412 if ${ac_cv_lib_soname_Xext:+false} :; then :
9413 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9414 fi ;;
9415 esac
9417 rm -f core conftest.err conftest.$ac_objext \
9418 conftest$ac_exeext conftest.$ac_ext
9419 LIBS=$ac_check_soname_save_LIBS
9421 if ${ac_cv_lib_soname_Xext:+false} :; then :
9422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9423 $as_echo "not found" >&6; }
9425 else
9426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9427 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9429 cat >>confdefs.h <<_ACEOF
9430 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9431 _ACEOF
9433 X_LIBS="$X_LIBS -lXext"
9435 X_LIBS="$X_LIBS -lX11"
9437 for ac_header in X11/Xlib.h \
9438 X11/XKBlib.h \
9439 X11/Xutil.h \
9440 X11/Xcursor/Xcursor.h \
9441 X11/extensions/shape.h \
9442 X11/extensions/XInput.h \
9443 X11/extensions/XInput2.h \
9444 X11/extensions/XShm.h \
9445 X11/extensions/Xcomposite.h \
9446 X11/extensions/Xinerama.h \
9447 X11/extensions/Xrandr.h \
9448 X11/extensions/Xrender.h \
9449 X11/extensions/xf86vmode.h \
9450 X11/extensions/xf86vmproto.h
9451 do :
9452 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9453 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9454 # include <X11/Xlib.h>
9455 #endif
9456 #ifdef HAVE_X11_XUTIL_H
9457 # include <X11/Xutil.h>
9458 #endif
9460 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9461 cat >>confdefs.h <<_ACEOF
9462 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9463 _ACEOF
9467 done
9470 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9471 then
9472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9473 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9474 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9475 $as_echo_n "(cached) " >&6
9476 else
9477 ac_check_lib_save_LIBS=$LIBS
9478 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9480 /* end confdefs.h. */
9482 /* Override any GCC internal prototype to avoid an error.
9483 Use char because int might match the return type of a GCC
9484 builtin and then its argument prototype would still apply. */
9485 #ifdef __cplusplus
9486 extern "C"
9487 #endif
9488 char XkbQueryExtension ();
9490 main ()
9492 return XkbQueryExtension ();
9494 return 0;
9496 _ACEOF
9497 if ac_fn_c_try_link "$LINENO"; then :
9498 ac_cv_lib_X11_XkbQueryExtension=yes
9499 else
9500 ac_cv_lib_X11_XkbQueryExtension=no
9502 rm -f core conftest.err conftest.$ac_objext \
9503 conftest$ac_exeext conftest.$ac_ext
9504 LIBS=$ac_check_lib_save_LIBS
9506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9507 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9508 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9510 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9516 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9517 then
9518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9519 $as_echo_n "checking for -lXcursor... " >&6; }
9520 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9521 $as_echo_n "(cached) " >&6
9522 else
9523 ac_check_soname_save_LIBS=$LIBS
9524 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9526 /* end confdefs.h. */
9528 /* Override any GCC internal prototype to avoid an error.
9529 Use char because int might match the return type of a GCC
9530 builtin and then its argument prototype would still apply. */
9531 #ifdef __cplusplus
9532 extern "C"
9533 #endif
9534 char XcursorImageLoadCursor ();
9536 main ()
9538 return XcursorImageLoadCursor ();
9540 return 0;
9542 _ACEOF
9543 if ac_fn_c_try_link "$LINENO"; then :
9544 case "$LIBEXT" in
9545 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9546 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'` ;;
9547 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9548 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9549 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9550 fi ;;
9551 esac
9553 rm -f core conftest.err conftest.$ac_objext \
9554 conftest$ac_exeext conftest.$ac_ext
9555 LIBS=$ac_check_soname_save_LIBS
9557 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9559 $as_echo "not found" >&6; }
9561 else
9562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9563 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9565 cat >>confdefs.h <<_ACEOF
9566 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9567 _ACEOF
9572 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9573 case "x$with_xcursor" in
9574 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9575 xno) ;;
9576 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9577 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9578 esac
9581 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9582 then
9583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9584 $as_echo_n "checking for -lXi... " >&6; }
9585 if ${ac_cv_lib_soname_Xi+:} false; then :
9586 $as_echo_n "(cached) " >&6
9587 else
9588 ac_check_soname_save_LIBS=$LIBS
9589 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9591 /* end confdefs.h. */
9593 /* Override any GCC internal prototype to avoid an error.
9594 Use char because int might match the return type of a GCC
9595 builtin and then its argument prototype would still apply. */
9596 #ifdef __cplusplus
9597 extern "C"
9598 #endif
9599 char XOpenDevice ();
9601 main ()
9603 return XOpenDevice ();
9605 return 0;
9607 _ACEOF
9608 if ac_fn_c_try_link "$LINENO"; then :
9609 case "$LIBEXT" in
9610 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9611 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'` ;;
9612 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9613 if ${ac_cv_lib_soname_Xi:+false} :; then :
9614 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9615 fi ;;
9616 esac
9618 rm -f core conftest.err conftest.$ac_objext \
9619 conftest$ac_exeext conftest.$ac_ext
9620 LIBS=$ac_check_soname_save_LIBS
9622 if ${ac_cv_lib_soname_Xi:+false} :; then :
9623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9624 $as_echo "not found" >&6; }
9626 else
9627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9628 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9630 cat >>confdefs.h <<_ACEOF
9631 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9632 _ACEOF
9637 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9638 case "x$with_xinput" in
9639 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9640 xno) ;;
9641 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9642 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9643 esac
9646 if test "x$ac_cv_lib_soname_Xi" != x
9647 then
9648 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9649 case "x$with_xinput2" in
9650 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9651 xno) ;;
9652 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9653 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9654 esac
9658 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9659 then
9660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9661 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9662 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9663 $as_echo_n "(cached) " >&6
9664 else
9665 ac_check_lib_save_LIBS=$LIBS
9666 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9668 /* end confdefs.h. */
9670 /* Override any GCC internal prototype to avoid an error.
9671 Use char because int might match the return type of a GCC
9672 builtin and then its argument prototype would still apply. */
9673 #ifdef __cplusplus
9674 extern "C"
9675 #endif
9676 char XShmQueryExtension ();
9678 main ()
9680 return XShmQueryExtension ();
9682 return 0;
9684 _ACEOF
9685 if ac_fn_c_try_link "$LINENO"; then :
9686 ac_cv_lib_Xext_XShmQueryExtension=yes
9687 else
9688 ac_cv_lib_Xext_XShmQueryExtension=no
9690 rm -f core conftest.err conftest.$ac_objext \
9691 conftest$ac_exeext conftest.$ac_ext
9692 LIBS=$ac_check_lib_save_LIBS
9694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9695 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9696 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9698 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9703 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9704 case "x$with_xshm" in
9705 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9706 xno) ;;
9707 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9708 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9709 esac
9712 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9713 then
9714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9715 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9716 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9717 $as_echo_n "(cached) " >&6
9718 else
9719 ac_check_lib_save_LIBS=$LIBS
9720 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9722 /* end confdefs.h. */
9724 /* Override any GCC internal prototype to avoid an error.
9725 Use char because int might match the return type of a GCC
9726 builtin and then its argument prototype would still apply. */
9727 #ifdef __cplusplus
9728 extern "C"
9729 #endif
9730 char XShapeQueryExtension ();
9732 main ()
9734 return XShapeQueryExtension ();
9736 return 0;
9738 _ACEOF
9739 if ac_fn_c_try_link "$LINENO"; then :
9740 ac_cv_lib_Xext_XShapeQueryExtension=yes
9741 else
9742 ac_cv_lib_Xext_XShapeQueryExtension=no
9744 rm -f core conftest.err conftest.$ac_objext \
9745 conftest$ac_exeext conftest.$ac_ext
9746 LIBS=$ac_check_lib_save_LIBS
9748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9749 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9750 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9752 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9757 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9758 case "x$with_xshape" in
9759 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9760 xno) ;;
9761 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
9762 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9763 esac
9766 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9767 then
9768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9769 $as_echo_n "checking for -lXxf86vm... " >&6; }
9770 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
9771 $as_echo_n "(cached) " >&6
9772 else
9773 ac_check_soname_save_LIBS=$LIBS
9774 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9776 /* end confdefs.h. */
9778 /* Override any GCC internal prototype to avoid an error.
9779 Use char because int might match the return type of a GCC
9780 builtin and then its argument prototype would still apply. */
9781 #ifdef __cplusplus
9782 extern "C"
9783 #endif
9784 char XF86VidModeQueryExtension ();
9786 main ()
9788 return XF86VidModeQueryExtension ();
9790 return 0;
9792 _ACEOF
9793 if ac_fn_c_try_link "$LINENO"; then :
9794 case "$LIBEXT" in
9795 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9796 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'` ;;
9797 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9798 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9799 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9800 fi ;;
9801 esac
9803 rm -f core conftest.err conftest.$ac_objext \
9804 conftest$ac_exeext conftest.$ac_ext
9805 LIBS=$ac_check_soname_save_LIBS
9807 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9809 $as_echo "not found" >&6; }
9811 else
9812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9813 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9815 cat >>confdefs.h <<_ACEOF
9816 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9817 _ACEOF
9822 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9823 case "x$with_xxf86vm" in
9824 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9825 xno) ;;
9826 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9827 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9828 esac
9831 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
9832 then
9833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9834 $as_echo_n "checking for -lXrender... " >&6; }
9835 if ${ac_cv_lib_soname_Xrender+:} false; then :
9836 $as_echo_n "(cached) " >&6
9837 else
9838 ac_check_soname_save_LIBS=$LIBS
9839 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9841 /* end confdefs.h. */
9843 /* Override any GCC internal prototype to avoid an error.
9844 Use char because int might match the return type of a GCC
9845 builtin and then its argument prototype would still apply. */
9846 #ifdef __cplusplus
9847 extern "C"
9848 #endif
9849 char XRenderQueryExtension ();
9851 main ()
9853 return XRenderQueryExtension ();
9855 return 0;
9857 _ACEOF
9858 if ac_fn_c_try_link "$LINENO"; then :
9859 case "$LIBEXT" in
9860 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9861 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'` ;;
9862 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9863 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9864 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9865 fi ;;
9866 esac
9868 rm -f core conftest.err conftest.$ac_objext \
9869 conftest$ac_exeext conftest.$ac_ext
9870 LIBS=$ac_check_soname_save_LIBS
9872 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9874 $as_echo "not found" >&6; }
9876 else
9877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9878 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9880 cat >>confdefs.h <<_ACEOF
9881 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9882 _ACEOF
9884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9885 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9886 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
9887 $as_echo_n "(cached) " >&6
9888 else
9889 ac_check_lib_save_LIBS=$LIBS
9890 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9892 /* end confdefs.h. */
9894 /* Override any GCC internal prototype to avoid an error.
9895 Use char because int might match the return type of a GCC
9896 builtin and then its argument prototype would still apply. */
9897 #ifdef __cplusplus
9898 extern "C"
9899 #endif
9900 char XRenderSetPictureTransform ();
9902 main ()
9904 return XRenderSetPictureTransform ();
9906 return 0;
9908 _ACEOF
9909 if ac_fn_c_try_link "$LINENO"; then :
9910 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9911 else
9912 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9914 rm -f core conftest.err conftest.$ac_objext \
9915 conftest$ac_exeext conftest.$ac_ext
9916 LIBS=$ac_check_lib_save_LIBS
9918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9919 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9920 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
9922 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9927 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9928 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
9929 $as_echo_n "(cached) " >&6
9930 else
9931 ac_check_lib_save_LIBS=$LIBS
9932 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9934 /* end confdefs.h. */
9936 /* Override any GCC internal prototype to avoid an error.
9937 Use char because int might match the return type of a GCC
9938 builtin and then its argument prototype would still apply. */
9939 #ifdef __cplusplus
9940 extern "C"
9941 #endif
9942 char XRenderCreateLinearGradient ();
9944 main ()
9946 return XRenderCreateLinearGradient ();
9948 return 0;
9950 _ACEOF
9951 if ac_fn_c_try_link "$LINENO"; then :
9952 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
9953 else
9954 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
9956 rm -f core conftest.err conftest.$ac_objext \
9957 conftest$ac_exeext conftest.$ac_ext
9958 LIBS=$ac_check_lib_save_LIBS
9960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9961 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9962 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
9964 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9971 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9972 case "x$with_xrender" in
9973 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9974 xno) ;;
9975 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
9976 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9977 esac
9980 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9981 then
9982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9983 /* end confdefs.h. */
9984 #include <X11/Xlib.h>
9985 #include <X11/extensions/Xrandr.h>
9987 main ()
9989 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9991 return 0;
9993 _ACEOF
9994 if ac_fn_c_try_compile "$LINENO"; then :
9995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9996 $as_echo_n "checking for -lXrandr... " >&6; }
9997 if ${ac_cv_lib_soname_Xrandr+:} false; then :
9998 $as_echo_n "(cached) " >&6
9999 else
10000 ac_check_soname_save_LIBS=$LIBS
10001 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10003 /* end confdefs.h. */
10005 /* Override any GCC internal prototype to avoid an error.
10006 Use char because int might match the return type of a GCC
10007 builtin and then its argument prototype would still apply. */
10008 #ifdef __cplusplus
10009 extern "C"
10010 #endif
10011 char XRRQueryExtension ();
10013 main ()
10015 return XRRQueryExtension ();
10017 return 0;
10019 _ACEOF
10020 if ac_fn_c_try_link "$LINENO"; then :
10021 case "$LIBEXT" in
10022 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10023 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'` ;;
10024 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10025 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10026 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10027 fi ;;
10028 esac
10030 rm -f core conftest.err conftest.$ac_objext \
10031 conftest$ac_exeext conftest.$ac_ext
10032 LIBS=$ac_check_soname_save_LIBS
10034 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10036 $as_echo "not found" >&6; }
10038 else
10039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10040 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10042 cat >>confdefs.h <<_ACEOF
10043 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10044 _ACEOF
10046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10047 /* end confdefs.h. */
10048 #include <X11/Xlib.h>
10049 #include <X11/extensions/Xrandr.h>
10051 main ()
10053 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10055 return 0;
10057 _ACEOF
10058 if ac_fn_c_try_compile "$LINENO"; then :
10060 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10068 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10069 case "x$with_xrandr" in
10070 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10071 xno) ;;
10072 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10073 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10074 esac
10077 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10078 then
10079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10080 /* end confdefs.h. */
10081 #include <X11/Xlib.h>
10082 #include <X11/extensions/Xinerama.h>
10084 main ()
10086 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10088 return 0;
10090 _ACEOF
10091 if ac_fn_c_try_compile "$LINENO"; then :
10092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10093 $as_echo_n "checking for -lXinerama... " >&6; }
10094 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10095 $as_echo_n "(cached) " >&6
10096 else
10097 ac_check_soname_save_LIBS=$LIBS
10098 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10100 /* end confdefs.h. */
10102 /* Override any GCC internal prototype to avoid an error.
10103 Use char because int might match the return type of a GCC
10104 builtin and then its argument prototype would still apply. */
10105 #ifdef __cplusplus
10106 extern "C"
10107 #endif
10108 char XineramaQueryScreens ();
10110 main ()
10112 return XineramaQueryScreens ();
10114 return 0;
10116 _ACEOF
10117 if ac_fn_c_try_link "$LINENO"; then :
10118 case "$LIBEXT" in
10119 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10120 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'` ;;
10121 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10122 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10123 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10124 fi ;;
10125 esac
10127 rm -f core conftest.err conftest.$ac_objext \
10128 conftest$ac_exeext conftest.$ac_ext
10129 LIBS=$ac_check_soname_save_LIBS
10131 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10133 $as_echo "not found" >&6; }
10135 else
10136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10137 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10139 cat >>confdefs.h <<_ACEOF
10140 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10141 _ACEOF
10146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10148 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10149 case "x$with_xinerama" in
10150 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10151 xno) ;;
10152 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10153 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10154 esac
10157 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10158 then
10159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10160 $as_echo_n "checking for -lXcomposite... " >&6; }
10161 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10162 $as_echo_n "(cached) " >&6
10163 else
10164 ac_check_soname_save_LIBS=$LIBS
10165 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10167 /* end confdefs.h. */
10169 /* Override any GCC internal prototype to avoid an error.
10170 Use char because int might match the return type of a GCC
10171 builtin and then its argument prototype would still apply. */
10172 #ifdef __cplusplus
10173 extern "C"
10174 #endif
10175 char XCompositeRedirectWindow ();
10177 main ()
10179 return XCompositeRedirectWindow ();
10181 return 0;
10183 _ACEOF
10184 if ac_fn_c_try_link "$LINENO"; then :
10185 case "$LIBEXT" in
10186 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10187 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'` ;;
10188 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10189 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10190 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10191 fi ;;
10192 esac
10194 rm -f core conftest.err conftest.$ac_objext \
10195 conftest$ac_exeext conftest.$ac_ext
10196 LIBS=$ac_check_soname_save_LIBS
10198 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10200 $as_echo "not found" >&6; }
10202 else
10203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10204 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10206 cat >>confdefs.h <<_ACEOF
10207 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10208 _ACEOF
10213 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10214 case "x$with_xcomposite" in
10215 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10216 xno) ;;
10217 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10218 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10219 esac
10222 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10223 #include <X11/Xlib.h>
10224 #endif
10226 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10228 cat >>confdefs.h <<_ACEOF
10229 #define HAVE_XICCALLBACK_CALLBACK 1
10230 _ACEOF
10234 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10235 #include <X11/Xlib.h>
10236 #endif
10238 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10240 cat >>confdefs.h <<_ACEOF
10241 #define HAVE_XEVENT_XCOOKIE 1
10242 _ACEOF
10249 opengl_msg=""
10250 if test "x$with_opengl" != "xno"
10251 then
10252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10253 $as_echo_n "checking for -lGL... " >&6; }
10254 if ${ac_cv_lib_soname_GL+:} false; then :
10255 $as_echo_n "(cached) " >&6
10256 else
10257 ac_check_soname_save_LIBS=$LIBS
10258 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10260 /* end confdefs.h. */
10262 /* Override any GCC internal prototype to avoid an error.
10263 Use char because int might match the return type of a GCC
10264 builtin and then its argument prototype would still apply. */
10265 #ifdef __cplusplus
10266 extern "C"
10267 #endif
10268 char glXCreateContext ();
10270 main ()
10272 return glXCreateContext ();
10274 return 0;
10276 _ACEOF
10277 if ac_fn_c_try_link "$LINENO"; then :
10278 case "$LIBEXT" in
10279 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10280 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'` ;;
10281 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10282 if ${ac_cv_lib_soname_GL:+false} :; then :
10283 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10284 fi ;;
10285 esac
10287 rm -f core conftest.err conftest.$ac_objext \
10288 conftest$ac_exeext conftest.$ac_ext
10289 LIBS=$ac_check_soname_save_LIBS
10291 if ${ac_cv_lib_soname_GL:+false} :; then :
10292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10293 $as_echo "not found" >&6; }
10294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10295 $as_echo_n "checking for -lGL... " >&6; }
10296 if ${ac_cv_lib_soname_GL+:} false; then :
10297 $as_echo_n "(cached) " >&6
10298 else
10299 ac_check_soname_save_LIBS=$LIBS
10300 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"
10301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10302 /* end confdefs.h. */
10304 /* Override any GCC internal prototype to avoid an error.
10305 Use char because int might match the return type of a GCC
10306 builtin and then its argument prototype would still apply. */
10307 #ifdef __cplusplus
10308 extern "C"
10309 #endif
10310 char glXCreateContext ();
10312 main ()
10314 return glXCreateContext ();
10316 return 0;
10318 _ACEOF
10319 if ac_fn_c_try_link "$LINENO"; then :
10320 case "$LIBEXT" in
10321 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10322 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'` ;;
10323 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10324 if ${ac_cv_lib_soname_GL:+false} :; then :
10325 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10326 fi ;;
10327 esac
10329 rm -f core conftest.err conftest.$ac_objext \
10330 conftest$ac_exeext conftest.$ac_ext
10331 LIBS=$ac_check_soname_save_LIBS
10333 if ${ac_cv_lib_soname_GL:+false} :; then :
10334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10335 $as_echo "not found" >&6; }
10336 if test -f /usr/X11R6/lib/libGL.a
10337 then
10338 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10339 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10340 else
10341 opengl_msg="No OpenGL library found on this system."
10343 else
10344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10345 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10347 cat >>confdefs.h <<_ACEOF
10348 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10349 _ACEOF
10351 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"
10353 else
10354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10355 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10357 cat >>confdefs.h <<_ACEOF
10358 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10359 _ACEOF
10361 OPENGL_LIBS="-lGL"
10363 if test "x$with_glu" != "xno"
10364 then
10365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10366 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10367 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10368 $as_echo_n "(cached) " >&6
10369 else
10370 ac_check_lib_save_LIBS=$LIBS
10371 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10373 /* end confdefs.h. */
10375 /* Override any GCC internal prototype to avoid an error.
10376 Use char because int might match the return type of a GCC
10377 builtin and then its argument prototype would still apply. */
10378 #ifdef __cplusplus
10379 extern "C"
10380 #endif
10381 char gluLookAt ();
10383 main ()
10385 return gluLookAt ();
10387 return 0;
10389 _ACEOF
10390 if ac_fn_c_try_link "$LINENO"; then :
10391 ac_cv_lib_GLU_gluLookAt=yes
10392 else
10393 ac_cv_lib_GLU_gluLookAt=no
10395 rm -f core conftest.err conftest.$ac_objext \
10396 conftest$ac_exeext conftest.$ac_ext
10397 LIBS=$ac_check_lib_save_LIBS
10399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10400 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10401 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10405 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10406 case "x$with_glu" in
10407 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10408 xno) ;;
10409 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10410 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10411 esac
10415 if test "x$with_osmesa" != "xno"
10416 then
10417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10418 $as_echo_n "checking for -lOSMesa... " >&6; }
10419 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10420 $as_echo_n "(cached) " >&6
10421 else
10422 ac_check_soname_save_LIBS=$LIBS
10423 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10425 /* end confdefs.h. */
10427 /* Override any GCC internal prototype to avoid an error.
10428 Use char because int might match the return type of a GCC
10429 builtin and then its argument prototype would still apply. */
10430 #ifdef __cplusplus
10431 extern "C"
10432 #endif
10433 char glAccum ();
10435 main ()
10437 return glAccum ();
10439 return 0;
10441 _ACEOF
10442 if ac_fn_c_try_link "$LINENO"; then :
10443 case "$LIBEXT" in
10444 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10445 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'` ;;
10446 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10447 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10448 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10449 fi ;;
10450 esac
10452 rm -f core conftest.err conftest.$ac_objext \
10453 conftest$ac_exeext conftest.$ac_ext
10454 LIBS=$ac_check_soname_save_LIBS
10456 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10458 $as_echo "not found" >&6; }
10460 else
10461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10462 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10464 cat >>confdefs.h <<_ACEOF
10465 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10466 _ACEOF
10470 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10471 case "x$with_osmesa" in
10472 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10473 xno) ;;
10474 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10475 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10476 esac
10480 if test -n "$opengl_msg"; then :
10481 case "x$with_opengl" in
10482 x) as_fn_append wine_warnings "|$opengl_msg
10483 OpenGL and Direct3D won't be supported." ;;
10484 xno) ;;
10485 *) as_fn_error $? "$opengl_msg
10486 OpenGL and Direct3D won't be supported.
10487 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10488 esac
10491 CPPFLAGS="$ac_save_CPPFLAGS"
10492 else
10493 X_CFLAGS=""
10494 X_LIBS=""
10495 enable_winex11_drv=${enable_winex11_drv:-no}
10497 if test "x$X_LIBS" = "x"; then :
10498 case "x$with_x" in
10499 xno) ;;
10500 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10501 without X support, which probably isn't what you want. You will need
10502 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10503 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10504 esac
10507 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10509 if test "$ac_cv_header_CL_cl_h" = "yes"
10510 then
10511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10512 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10513 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10514 $as_echo_n "(cached) " >&6
10515 else
10516 ac_check_lib_save_LIBS=$LIBS
10517 LIBS="-lOpenCL $LIBS"
10518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10519 /* end confdefs.h. */
10521 /* Override any GCC internal prototype to avoid an error.
10522 Use char because int might match the return type of a GCC
10523 builtin and then its argument prototype would still apply. */
10524 #ifdef __cplusplus
10525 extern "C"
10526 #endif
10527 char clGetPlatformInfo ();
10529 main ()
10531 return clGetPlatformInfo ();
10533 return 0;
10535 _ACEOF
10536 if ac_fn_c_try_link "$LINENO"; then :
10537 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10538 else
10539 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10541 rm -f core conftest.err conftest.$ac_objext \
10542 conftest$ac_exeext conftest.$ac_ext
10543 LIBS=$ac_check_lib_save_LIBS
10545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10546 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10547 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10548 OPENCL_LIBS="-lOpenCL"
10553 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10554 case "x$with_opencl" in
10555 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10556 xno) ;;
10557 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10558 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10559 esac
10561 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10563 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10564 then
10565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10566 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10567 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10568 $as_echo_n "(cached) " >&6
10569 else
10570 ac_check_lib_save_LIBS=$LIBS
10571 LIBS="-lpcap $LIBS"
10572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10573 /* end confdefs.h. */
10575 /* Override any GCC internal prototype to avoid an error.
10576 Use char because int might match the return type of a GCC
10577 builtin and then its argument prototype would still apply. */
10578 #ifdef __cplusplus
10579 extern "C"
10580 #endif
10581 char pcap_create ();
10583 main ()
10585 return pcap_create ();
10587 return 0;
10589 _ACEOF
10590 if ac_fn_c_try_link "$LINENO"; then :
10591 ac_cv_lib_pcap_pcap_create=yes
10592 else
10593 ac_cv_lib_pcap_pcap_create=no
10595 rm -f core conftest.err conftest.$ac_objext \
10596 conftest$ac_exeext conftest.$ac_ext
10597 LIBS=$ac_check_lib_save_LIBS
10599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10600 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10601 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10602 LIBPCAP="-lpcap"
10607 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10608 case "x$with_pcap" in
10609 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10610 xno) ;;
10611 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10612 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10613 esac
10615 test "x$ac_cv_lib_pcap_pcap_create" != xyes && enable_wpcap=${enable_wpcap:-no}
10618 if test "x$with_xml" != "xno"
10619 then
10620 if ${XML2_CFLAGS:+false} :; then :
10621 if ${PKG_CONFIG+:} false; then :
10622 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10625 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10626 if ${XML2_LIBS:+false} :; then :
10627 if ${PKG_CONFIG+:} false; then :
10628 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10631 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10632 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10633 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10634 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10635 ac_save_CPPFLAGS=$CPPFLAGS
10636 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10637 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10638 do :
10639 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10640 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10641 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10642 cat >>confdefs.h <<_ACEOF
10643 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10644 _ACEOF
10648 done
10650 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"
10651 then
10652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10653 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10654 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10655 $as_echo_n "(cached) " >&6
10656 else
10657 ac_check_lib_save_LIBS=$LIBS
10658 LIBS="-lxml2 $XML2_LIBS $LIBS"
10659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10660 /* end confdefs.h. */
10662 /* Override any GCC internal prototype to avoid an error.
10663 Use char because int might match the return type of a GCC
10664 builtin and then its argument prototype would still apply. */
10665 #ifdef __cplusplus
10666 extern "C"
10667 #endif
10668 char xmlParseMemory ();
10670 main ()
10672 return xmlParseMemory ();
10674 return 0;
10676 _ACEOF
10677 if ac_fn_c_try_link "$LINENO"; then :
10678 ac_cv_lib_xml2_xmlParseMemory=yes
10679 else
10680 ac_cv_lib_xml2_xmlParseMemory=no
10682 rm -f core conftest.err conftest.$ac_objext \
10683 conftest$ac_exeext conftest.$ac_ext
10684 LIBS=$ac_check_lib_save_LIBS
10686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10687 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10688 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10690 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10692 else
10693 XML2_LIBS=""
10696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10697 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10698 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10699 $as_echo_n "(cached) " >&6
10700 else
10701 ac_check_lib_save_LIBS=$LIBS
10702 LIBS="-lxml2 $XML2_LIBS $LIBS"
10703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10704 /* end confdefs.h. */
10706 /* Override any GCC internal prototype to avoid an error.
10707 Use char because int might match the return type of a GCC
10708 builtin and then its argument prototype would still apply. */
10709 #ifdef __cplusplus
10710 extern "C"
10711 #endif
10712 char xmlReadMemory ();
10714 main ()
10716 return xmlReadMemory ();
10718 return 0;
10720 _ACEOF
10721 if ac_fn_c_try_link "$LINENO"; then :
10722 ac_cv_lib_xml2_xmlReadMemory=yes
10723 else
10724 ac_cv_lib_xml2_xmlReadMemory=no
10726 rm -f core conftest.err conftest.$ac_objext \
10727 conftest$ac_exeext conftest.$ac_ext
10728 LIBS=$ac_check_lib_save_LIBS
10730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10731 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10732 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
10734 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10739 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10740 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
10741 $as_echo_n "(cached) " >&6
10742 else
10743 ac_check_lib_save_LIBS=$LIBS
10744 LIBS="-lxml2 $XML2_LIBS $LIBS"
10745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10746 /* end confdefs.h. */
10748 /* Override any GCC internal prototype to avoid an error.
10749 Use char because int might match the return type of a GCC
10750 builtin and then its argument prototype would still apply. */
10751 #ifdef __cplusplus
10752 extern "C"
10753 #endif
10754 char xmlNewDocPI ();
10756 main ()
10758 return xmlNewDocPI ();
10760 return 0;
10762 _ACEOF
10763 if ac_fn_c_try_link "$LINENO"; then :
10764 ac_cv_lib_xml2_xmlNewDocPI=yes
10765 else
10766 ac_cv_lib_xml2_xmlNewDocPI=no
10768 rm -f core conftest.err conftest.$ac_objext \
10769 conftest$ac_exeext conftest.$ac_ext
10770 LIBS=$ac_check_lib_save_LIBS
10772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10773 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10774 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
10776 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10781 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10782 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
10783 $as_echo_n "(cached) " >&6
10784 else
10785 ac_check_lib_save_LIBS=$LIBS
10786 LIBS="-lxml2 $XML2_LIBS $LIBS"
10787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10788 /* end confdefs.h. */
10790 /* Override any GCC internal prototype to avoid an error.
10791 Use char because int might match the return type of a GCC
10792 builtin and then its argument prototype would still apply. */
10793 #ifdef __cplusplus
10794 extern "C"
10795 #endif
10796 char xmlSchemaSetParserStructuredErrors ();
10798 main ()
10800 return xmlSchemaSetParserStructuredErrors ();
10802 return 0;
10804 _ACEOF
10805 if ac_fn_c_try_link "$LINENO"; then :
10806 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
10807 else
10808 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
10810 rm -f core conftest.err conftest.$ac_objext \
10811 conftest$ac_exeext conftest.$ac_ext
10812 LIBS=$ac_check_lib_save_LIBS
10814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10815 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10816 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
10818 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10823 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10824 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
10825 $as_echo_n "(cached) " >&6
10826 else
10827 ac_check_lib_save_LIBS=$LIBS
10828 LIBS="-lxml2 $XML2_LIBS $LIBS"
10829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10830 /* end confdefs.h. */
10832 /* Override any GCC internal prototype to avoid an error.
10833 Use char because int might match the return type of a GCC
10834 builtin and then its argument prototype would still apply. */
10835 #ifdef __cplusplus
10836 extern "C"
10837 #endif
10838 char xmlSchemaSetValidStructuredErrors ();
10840 main ()
10842 return xmlSchemaSetValidStructuredErrors ();
10844 return 0;
10846 _ACEOF
10847 if ac_fn_c_try_link "$LINENO"; then :
10848 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
10849 else
10850 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
10852 rm -f core conftest.err conftest.$ac_objext \
10853 conftest$ac_exeext conftest.$ac_ext
10854 LIBS=$ac_check_lib_save_LIBS
10856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10857 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10858 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
10860 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10865 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10866 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
10867 $as_echo_n "(cached) " >&6
10868 else
10869 ac_check_lib_save_LIBS=$LIBS
10870 LIBS="-lxml2 $XML2_LIBS $LIBS"
10871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10872 /* end confdefs.h. */
10874 /* Override any GCC internal prototype to avoid an error.
10875 Use char because int might match the return type of a GCC
10876 builtin and then its argument prototype would still apply. */
10877 #ifdef __cplusplus
10878 extern "C"
10879 #endif
10880 char xmlFirstElementChild ();
10882 main ()
10884 return xmlFirstElementChild ();
10886 return 0;
10888 _ACEOF
10889 if ac_fn_c_try_link "$LINENO"; then :
10890 ac_cv_lib_xml2_xmlFirstElementChild=yes
10891 else
10892 ac_cv_lib_xml2_xmlFirstElementChild=no
10894 rm -f core conftest.err conftest.$ac_objext \
10895 conftest$ac_exeext conftest.$ac_ext
10896 LIBS=$ac_check_lib_save_LIBS
10898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10899 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10900 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
10902 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10906 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10908 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
10910 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10914 else
10915 XML2_CFLAGS=""
10916 XML2_LIBS=""
10918 CPPFLAGS=$ac_save_CPPFLAGS
10919 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10920 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10923 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10924 case "x$with_xml" in
10925 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10926 xno) ;;
10927 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10928 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10929 esac
10932 if test "x$with_xslt" != "xno"
10933 then
10934 if ${XSLT_CFLAGS:+false} :; then :
10935 if ${PKG_CONFIG+:} false; then :
10936 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10939 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10940 if ${XSLT_LIBS:+false} :; then :
10941 if ${PKG_CONFIG+:} false; then :
10942 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10945 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10946 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
10947 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
10948 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
10949 ac_save_CPPFLAGS=$CPPFLAGS
10950 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
10951 for ac_header in libxslt/pattern.h libxslt/transform.h
10952 do :
10953 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10954 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10955 # include <libxslt/pattern.h>
10956 #endif
10958 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10959 cat >>confdefs.h <<_ACEOF
10960 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10961 _ACEOF
10965 done
10967 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10968 then
10969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10970 $as_echo_n "checking for -lxslt... " >&6; }
10971 if ${ac_cv_lib_soname_xslt+:} false; then :
10972 $as_echo_n "(cached) " >&6
10973 else
10974 ac_check_soname_save_LIBS=$LIBS
10975 LIBS="-lxslt $XSLT_LIBS $LIBS"
10976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10977 /* end confdefs.h. */
10979 /* Override any GCC internal prototype to avoid an error.
10980 Use char because int might match the return type of a GCC
10981 builtin and then its argument prototype would still apply. */
10982 #ifdef __cplusplus
10983 extern "C"
10984 #endif
10985 char xsltCompilePattern ();
10987 main ()
10989 return xsltCompilePattern ();
10991 return 0;
10993 _ACEOF
10994 if ac_fn_c_try_link "$LINENO"; then :
10995 case "$LIBEXT" in
10996 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10997 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'` ;;
10998 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10999 if ${ac_cv_lib_soname_xslt:+false} :; then :
11000 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11001 fi ;;
11002 esac
11004 rm -f core conftest.err conftest.$ac_objext \
11005 conftest$ac_exeext conftest.$ac_ext
11006 LIBS=$ac_check_soname_save_LIBS
11008 if ${ac_cv_lib_soname_xslt:+false} :; then :
11009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11010 $as_echo "not found" >&6; }
11012 else
11013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11014 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11016 cat >>confdefs.h <<_ACEOF
11017 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11018 _ACEOF
11022 else
11023 XSLT_CFLAGS=""
11025 CPPFLAGS=$ac_save_CPPFLAGS
11026 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11027 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11030 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11031 case "x$with_xslt" in
11032 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11033 xno) ;;
11034 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11035 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11036 esac
11039 if test "x$with_dbus" != "xno"
11040 then
11041 if ${DBUS_CFLAGS:+false} :; then :
11042 if ${PKG_CONFIG+:} false; then :
11043 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11047 if ${DBUS_LIBS:+false} :; then :
11048 if ${PKG_CONFIG+:} false; then :
11049 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11054 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11055 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11056 ac_save_CPPFLAGS=$CPPFLAGS
11057 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11058 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11059 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11061 $as_echo_n "checking for -ldbus-1... " >&6; }
11062 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11063 $as_echo_n "(cached) " >&6
11064 else
11065 ac_check_soname_save_LIBS=$LIBS
11066 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11068 /* end confdefs.h. */
11070 /* Override any GCC internal prototype to avoid an error.
11071 Use char because int might match the return type of a GCC
11072 builtin and then its argument prototype would still apply. */
11073 #ifdef __cplusplus
11074 extern "C"
11075 #endif
11076 char dbus_connection_close ();
11078 main ()
11080 return dbus_connection_close ();
11082 return 0;
11084 _ACEOF
11085 if ac_fn_c_try_link "$LINENO"; then :
11086 case "$LIBEXT" in
11087 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11088 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'` ;;
11089 *) 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'`
11090 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11091 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11092 fi ;;
11093 esac
11095 rm -f core conftest.err conftest.$ac_objext \
11096 conftest$ac_exeext conftest.$ac_ext
11097 LIBS=$ac_check_soname_save_LIBS
11099 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11101 $as_echo "not found" >&6; }
11102 DBUS_CFLAGS=""
11103 else
11104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11105 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11107 cat >>confdefs.h <<_ACEOF
11108 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11109 _ACEOF
11113 else
11114 DBUS_CFLAGS=""
11118 CPPFLAGS=$ac_save_CPPFLAGS
11119 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11120 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11123 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11124 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11125 case "x$with_dbus" in
11126 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11127 xno) ;;
11128 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11129 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11130 esac
11133 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11134 then
11135 if ${HAL_CFLAGS:+false} :; then :
11136 if ${PKG_CONFIG+:} false; then :
11137 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11141 if ${HAL_LIBS:+false} :; then :
11142 if ${PKG_CONFIG+:} false; then :
11143 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11147 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11148 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11149 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11150 ac_save_CPPFLAGS=$CPPFLAGS
11151 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11152 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11153 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11155 $as_echo_n "checking for -lhal... " >&6; }
11156 if ${ac_cv_lib_soname_hal+:} false; then :
11157 $as_echo_n "(cached) " >&6
11158 else
11159 ac_check_soname_save_LIBS=$LIBS
11160 LIBS="-lhal $HAL_LIBS $LIBS"
11161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11162 /* end confdefs.h. */
11164 /* Override any GCC internal prototype to avoid an error.
11165 Use char because int might match the return type of a GCC
11166 builtin and then its argument prototype would still apply. */
11167 #ifdef __cplusplus
11168 extern "C"
11169 #endif
11170 char libhal_ctx_new ();
11172 main ()
11174 return libhal_ctx_new ();
11176 return 0;
11178 _ACEOF
11179 if ac_fn_c_try_link "$LINENO"; then :
11180 case "$LIBEXT" in
11181 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11182 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'` ;;
11183 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11184 if ${ac_cv_lib_soname_hal:+false} :; then :
11185 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11186 fi ;;
11187 esac
11189 rm -f core conftest.err conftest.$ac_objext \
11190 conftest$ac_exeext conftest.$ac_ext
11191 LIBS=$ac_check_soname_save_LIBS
11193 if ${ac_cv_lib_soname_hal:+false} :; then :
11194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11195 $as_echo "not found" >&6; }
11196 HAL_CFLAGS=""
11197 else
11198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11199 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11201 cat >>confdefs.h <<_ACEOF
11202 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11203 _ACEOF
11207 else
11208 HAL_CFLAGS=""
11212 CPPFLAGS=$ac_save_CPPFLAGS
11213 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11214 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11216 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11217 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11218 case "x$with_hal" in
11219 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11220 xno) ;;
11221 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11222 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11223 esac
11227 if test "x$with_gnutls" != "xno"
11228 then
11229 if ${GNUTLS_CFLAGS:+false} :; then :
11230 if ${PKG_CONFIG+:} false; then :
11231 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11235 if ${GNUTLS_LIBS:+false} :; then :
11236 if ${PKG_CONFIG+:} false; then :
11237 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11242 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11243 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11244 ac_save_CPPFLAGS=$CPPFLAGS
11245 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11246 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11247 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11249 /* end confdefs.h. */
11250 #include <gnutls/gnutls.h>
11251 #include <gnutls/crypto.h>
11253 main ()
11255 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11257 return 0;
11259 _ACEOF
11260 if ac_fn_c_try_compile "$LINENO"; then :
11261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11262 $as_echo_n "checking for -lgnutls... " >&6; }
11263 if ${ac_cv_lib_soname_gnutls+:} false; then :
11264 $as_echo_n "(cached) " >&6
11265 else
11266 ac_check_soname_save_LIBS=$LIBS
11267 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11269 /* end confdefs.h. */
11271 /* Override any GCC internal prototype to avoid an error.
11272 Use char because int might match the return type of a GCC
11273 builtin and then its argument prototype would still apply. */
11274 #ifdef __cplusplus
11275 extern "C"
11276 #endif
11277 char gnutls_global_init ();
11279 main ()
11281 return gnutls_global_init ();
11283 return 0;
11285 _ACEOF
11286 if ac_fn_c_try_link "$LINENO"; then :
11287 case "$LIBEXT" in
11288 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11289 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'` ;;
11290 *) 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'`
11291 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11292 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'`
11293 fi ;;
11294 esac
11296 rm -f core conftest.err conftest.$ac_objext \
11297 conftest$ac_exeext conftest.$ac_ext
11298 LIBS=$ac_check_soname_save_LIBS
11300 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11302 $as_echo "not found" >&6; }
11303 GNUTLS_CFLAGS=""
11304 else
11305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11306 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11308 cat >>confdefs.h <<_ACEOF
11309 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11310 _ACEOF
11315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11316 else
11317 GNUTLS_CFLAGS=""
11321 CPPFLAGS=$ac_save_CPPFLAGS
11322 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11323 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11326 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11327 case "x$with_gnutls" in
11328 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11329 xno) ;;
11330 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11331 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11332 esac
11335 CURSES_LIBS=""
11336 if test "$ac_cv_header_ncurses_h" = "yes"
11337 then
11338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11339 $as_echo_n "checking for -lncurses... " >&6; }
11340 if ${ac_cv_lib_soname_ncurses+:} false; then :
11341 $as_echo_n "(cached) " >&6
11342 else
11343 ac_check_soname_save_LIBS=$LIBS
11344 LIBS="-lncurses $LIBS"
11345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11346 /* end confdefs.h. */
11348 /* Override any GCC internal prototype to avoid an error.
11349 Use char because int might match the return type of a GCC
11350 builtin and then its argument prototype would still apply. */
11351 #ifdef __cplusplus
11352 extern "C"
11353 #endif
11354 char waddch ();
11356 main ()
11358 return waddch ();
11360 return 0;
11362 _ACEOF
11363 if ac_fn_c_try_link "$LINENO"; then :
11364 case "$LIBEXT" in
11365 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11366 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'` ;;
11367 *) 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'`
11368 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11369 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11370 fi ;;
11371 esac
11373 rm -f core conftest.err conftest.$ac_objext \
11374 conftest$ac_exeext conftest.$ac_ext
11375 LIBS=$ac_check_soname_save_LIBS
11377 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11379 $as_echo "not found" >&6; }
11381 else
11382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11383 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11385 cat >>confdefs.h <<_ACEOF
11386 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11387 _ACEOF
11389 CURSES_LIBS="-lncurses"
11391 elif test "$ac_cv_header_curses_h" = "yes"
11392 then
11393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11394 $as_echo_n "checking for -lcurses... " >&6; }
11395 if ${ac_cv_lib_soname_curses+:} false; then :
11396 $as_echo_n "(cached) " >&6
11397 else
11398 ac_check_soname_save_LIBS=$LIBS
11399 LIBS="-lcurses $LIBS"
11400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11401 /* end confdefs.h. */
11403 /* Override any GCC internal prototype to avoid an error.
11404 Use char because int might match the return type of a GCC
11405 builtin and then its argument prototype would still apply. */
11406 #ifdef __cplusplus
11407 extern "C"
11408 #endif
11409 char waddch ();
11411 main ()
11413 return waddch ();
11415 return 0;
11417 _ACEOF
11418 if ac_fn_c_try_link "$LINENO"; then :
11419 case "$LIBEXT" in
11420 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11421 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'` ;;
11422 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11423 if ${ac_cv_lib_soname_curses:+false} :; then :
11424 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11425 fi ;;
11426 esac
11428 rm -f core conftest.err conftest.$ac_objext \
11429 conftest$ac_exeext conftest.$ac_ext
11430 LIBS=$ac_check_soname_save_LIBS
11432 if ${ac_cv_lib_soname_curses:+false} :; then :
11433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11434 $as_echo "not found" >&6; }
11436 else
11437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11438 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11440 cat >>confdefs.h <<_ACEOF
11441 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11442 _ACEOF
11444 CURSES_LIBS="-lcurses"
11447 ac_save_LIBS="$LIBS"
11448 LIBS="$LIBS $CURSES_LIBS"
11449 for ac_func in mousemask
11450 do :
11451 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11452 if test "x$ac_cv_func_mousemask" = xyes; then :
11453 cat >>confdefs.h <<_ACEOF
11454 #define HAVE_MOUSEMASK 1
11455 _ACEOF
11458 done
11460 LIBS="$ac_save_LIBS"
11461 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11462 case "x$with_curses" in
11463 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11464 xno) ;;
11465 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11466 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11467 esac
11470 if test "x$with_sane" != "xno"
11471 then
11472 if ${SANE_CFLAGS:+false} :; then :
11473 if ${PKG_CONFIG+:} false; then :
11474 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11477 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11478 if ${SANE_LIBS:+false} :; then :
11479 if ${PKG_CONFIG+:} false; then :
11480 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11483 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11485 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11486 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11487 ac_save_CPPFLAGS=$CPPFLAGS
11488 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11489 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11490 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11492 $as_echo_n "checking for -lsane... " >&6; }
11493 if ${ac_cv_lib_soname_sane+:} false; then :
11494 $as_echo_n "(cached) " >&6
11495 else
11496 ac_check_soname_save_LIBS=$LIBS
11497 LIBS="-lsane $SANE_LIBS $LIBS"
11498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11499 /* end confdefs.h. */
11501 /* Override any GCC internal prototype to avoid an error.
11502 Use char because int might match the return type of a GCC
11503 builtin and then its argument prototype would still apply. */
11504 #ifdef __cplusplus
11505 extern "C"
11506 #endif
11507 char sane_init ();
11509 main ()
11511 return sane_init ();
11513 return 0;
11515 _ACEOF
11516 if ac_fn_c_try_link "$LINENO"; then :
11517 case "$LIBEXT" in
11518 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11519 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'` ;;
11520 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11521 if ${ac_cv_lib_soname_sane:+false} :; then :
11522 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11523 fi ;;
11524 esac
11526 rm -f core conftest.err conftest.$ac_objext \
11527 conftest$ac_exeext conftest.$ac_ext
11528 LIBS=$ac_check_soname_save_LIBS
11530 if ${ac_cv_lib_soname_sane:+false} :; then :
11531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11532 $as_echo "not found" >&6; }
11533 SANE_CFLAGS=""
11534 else
11535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11536 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11538 cat >>confdefs.h <<_ACEOF
11539 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11540 _ACEOF
11544 else
11545 SANE_CFLAGS=""
11549 CPPFLAGS=$ac_save_CPPFLAGS
11550 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11551 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11554 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11555 case "x$with_sane" in
11556 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11557 xno) ;;
11558 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11559 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11560 esac
11563 if test "x$with_v4l" != "xno"
11564 then
11565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11566 $as_echo_n "checking for -lv4l1... " >&6; }
11567 if ${ac_cv_lib_soname_v4l1+:} false; then :
11568 $as_echo_n "(cached) " >&6
11569 else
11570 ac_check_soname_save_LIBS=$LIBS
11571 LIBS="-lv4l1 $LIBS"
11572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11573 /* end confdefs.h. */
11575 /* Override any GCC internal prototype to avoid an error.
11576 Use char because int might match the return type of a GCC
11577 builtin and then its argument prototype would still apply. */
11578 #ifdef __cplusplus
11579 extern "C"
11580 #endif
11581 char v4l1_open ();
11583 main ()
11585 return v4l1_open ();
11587 return 0;
11589 _ACEOF
11590 if ac_fn_c_try_link "$LINENO"; then :
11591 case "$LIBEXT" in
11592 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11593 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'` ;;
11594 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11595 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11596 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11597 fi ;;
11598 esac
11600 rm -f core conftest.err conftest.$ac_objext \
11601 conftest$ac_exeext conftest.$ac_ext
11602 LIBS=$ac_check_soname_save_LIBS
11604 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11606 $as_echo "not found" >&6; }
11608 else
11609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11610 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11612 cat >>confdefs.h <<_ACEOF
11613 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11614 _ACEOF
11619 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11620 case "x$with_v4l" in
11621 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11622 xno) ;;
11623 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11624 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11625 esac
11628 if test "x$with_gphoto" != "xno"
11629 then
11630 if ${GPHOTO2_CFLAGS:+false} :; then :
11631 if ${PKG_CONFIG+:} false; then :
11632 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11635 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11636 if ${GPHOTO2_LIBS:+false} :; then :
11637 if ${PKG_CONFIG+:} false; then :
11638 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11641 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11642 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11643 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11644 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11645 ac_save_CPPFLAGS=$CPPFLAGS
11646 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11647 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11648 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11650 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11651 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11652 $as_echo_n "(cached) " >&6
11653 else
11654 ac_check_lib_save_LIBS=$LIBS
11655 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11657 /* end confdefs.h. */
11659 /* Override any GCC internal prototype to avoid an error.
11660 Use char because int might match the return type of a GCC
11661 builtin and then its argument prototype would still apply. */
11662 #ifdef __cplusplus
11663 extern "C"
11664 #endif
11665 char gp_camera_new ();
11667 main ()
11669 return gp_camera_new ();
11671 return 0;
11673 _ACEOF
11674 if ac_fn_c_try_link "$LINENO"; then :
11675 ac_cv_lib_gphoto2_gp_camera_new=yes
11676 else
11677 ac_cv_lib_gphoto2_gp_camera_new=no
11679 rm -f core conftest.err conftest.$ac_objext \
11680 conftest$ac_exeext conftest.$ac_ext
11681 LIBS=$ac_check_lib_save_LIBS
11683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11684 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11685 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11687 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11689 else
11690 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11693 else
11694 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11698 CPPFLAGS=$ac_save_CPPFLAGS
11699 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11700 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11702 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11703 if ${PKG_CONFIG+:} false; then :
11704 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11707 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11708 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11709 if ${PKG_CONFIG+:} false; then :
11710 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11713 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11714 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11715 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11716 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11717 ac_save_CPPFLAGS=$CPPFLAGS
11718 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11719 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11720 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11722 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11723 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11724 $as_echo_n "(cached) " >&6
11725 else
11726 ac_check_lib_save_LIBS=$LIBS
11727 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11729 /* end confdefs.h. */
11731 /* Override any GCC internal prototype to avoid an error.
11732 Use char because int might match the return type of a GCC
11733 builtin and then its argument prototype would still apply. */
11734 #ifdef __cplusplus
11735 extern "C"
11736 #endif
11737 char gp_port_info_list_new ();
11739 main ()
11741 return gp_port_info_list_new ();
11743 return 0;
11745 _ACEOF
11746 if ac_fn_c_try_link "$LINENO"; then :
11747 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
11748 else
11749 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
11751 rm -f core conftest.err conftest.$ac_objext \
11752 conftest$ac_exeext conftest.$ac_ext
11753 LIBS=$ac_check_lib_save_LIBS
11755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11756 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11757 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
11759 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11761 else
11762 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11765 else
11766 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11770 CPPFLAGS=$ac_save_CPPFLAGS
11771 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11772 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11775 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11776 case "x$with_gphoto" in
11777 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11778 xno) ;;
11779 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11780 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11781 esac
11783 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11784 case "x$with_gphoto" in
11785 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11786 xno) ;;
11787 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11788 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11789 esac
11793 if test "$ac_cv_header_resolv_h" = "yes"
11794 then
11795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11796 $as_echo_n "checking for resolver library... " >&6; }
11797 if ${ac_cv_have_resolv+:} false; then :
11798 $as_echo_n "(cached) " >&6
11799 else
11800 ac_save_LIBS="$LIBS"
11801 for lib in '' -lresolv
11803 LIBS="$lib $ac_save_LIBS"
11804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11805 /* end confdefs.h. */
11806 #ifdef HAVE_NETINET_IN_H
11807 #include <netinet/in.h>
11808 #endif
11809 #include <resolv.h>
11811 main ()
11813 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11815 return 0;
11817 _ACEOF
11818 if ac_fn_c_try_link "$LINENO"; then :
11819 ac_cv_have_resolv=${lib:-"none required"}
11820 else
11821 ac_cv_have_resolv="not found"
11823 rm -f core conftest.err conftest.$ac_objext \
11824 conftest$ac_exeext conftest.$ac_ext
11825 test "x$ac_cv_have_resolv" = "xnot found" || break
11826 done
11827 LIBS="$ac_save_LIBS"
11829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
11830 $as_echo "$ac_cv_have_resolv" >&6; }
11832 case "$ac_cv_have_resolv" in
11833 "not found") ;;
11834 "none required")
11836 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11839 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11841 RESOLV_LIBS=$ac_cv_have_resolv
11843 esac
11846 if test "x$with_lcms2" != "xno"
11847 then
11848 if ${LCMS2_CFLAGS:+false} :; then :
11849 if ${PKG_CONFIG+:} false; then :
11850 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11854 if ${LCMS2_LIBS:+false} :; then :
11855 if ${PKG_CONFIG+:} false; then :
11856 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11860 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
11861 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11862 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
11863 ac_save_CPPFLAGS=$CPPFLAGS
11864 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
11865 for ac_header in lcms2.h
11866 do :
11867 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11868 if test "x$ac_cv_header_lcms2_h" = xyes; then :
11869 cat >>confdefs.h <<_ACEOF
11870 #define HAVE_LCMS2_H 1
11871 _ACEOF
11875 done
11877 if test "$ac_cv_header_lcms2_h" = "yes"
11878 then
11879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11880 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11881 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
11882 $as_echo_n "(cached) " >&6
11883 else
11884 ac_check_lib_save_LIBS=$LIBS
11885 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
11886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11887 /* end confdefs.h. */
11889 /* Override any GCC internal prototype to avoid an error.
11890 Use char because int might match the return type of a GCC
11891 builtin and then its argument prototype would still apply. */
11892 #ifdef __cplusplus
11893 extern "C"
11894 #endif
11895 char cmsOpenProfileFromFile ();
11897 main ()
11899 return cmsOpenProfileFromFile ();
11901 return 0;
11903 _ACEOF
11904 if ac_fn_c_try_link "$LINENO"; then :
11905 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
11906 else
11907 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
11909 rm -f core conftest.err conftest.$ac_objext \
11910 conftest$ac_exeext conftest.$ac_ext
11911 LIBS=$ac_check_lib_save_LIBS
11913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11914 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11915 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
11917 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11919 else
11920 LCMS2_LIBS=""
11923 else
11924 LCMS2_CFLAGS=""
11925 LCMS2_LIBS=""
11927 CPPFLAGS=$ac_save_CPPFLAGS
11928 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11929 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11932 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11933 case "x$with_cms" in
11934 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11935 xno) ;;
11936 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11937 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11938 esac
11941 if test "x$with_freetype" != "xno"
11942 then
11943 if ${FREETYPE_CFLAGS:+false} :; then :
11944 if ${PKG_CONFIG+:} false; then :
11945 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11948 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11949 if ${FREETYPE_LIBS:+false} :; then :
11950 if ${PKG_CONFIG+:} false; then :
11951 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11954 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11955 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
11956 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
11957 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
11958 ac_save_CPPFLAGS=$CPPFLAGS
11959 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
11960 for ac_header in ft2build.h
11961 do :
11962 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
11963 if test "x$ac_cv_header_ft2build_h" = xyes; then :
11964 cat >>confdefs.h <<_ACEOF
11965 #define HAVE_FT2BUILD_H 1
11966 _ACEOF
11970 done
11972 if test "$ac_cv_header_ft2build_h" = "yes"
11973 then
11974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11975 $as_echo_n "checking for -lfreetype... " >&6; }
11976 if ${ac_cv_lib_soname_freetype+:} false; then :
11977 $as_echo_n "(cached) " >&6
11978 else
11979 ac_check_soname_save_LIBS=$LIBS
11980 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
11981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11982 /* end confdefs.h. */
11984 /* Override any GCC internal prototype to avoid an error.
11985 Use char because int might match the return type of a GCC
11986 builtin and then its argument prototype would still apply. */
11987 #ifdef __cplusplus
11988 extern "C"
11989 #endif
11990 char FT_Init_FreeType ();
11992 main ()
11994 return FT_Init_FreeType ();
11996 return 0;
11998 _ACEOF
11999 if ac_fn_c_try_link "$LINENO"; then :
12000 case "$LIBEXT" in
12001 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12002 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'` ;;
12003 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12004 if ${ac_cv_lib_soname_freetype:+false} :; then :
12005 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12006 fi ;;
12007 esac
12009 rm -f core conftest.err conftest.$ac_objext \
12010 conftest$ac_exeext conftest.$ac_ext
12011 LIBS=$ac_check_soname_save_LIBS
12013 if ${ac_cv_lib_soname_freetype:+false} :; then :
12014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12015 $as_echo "not found" >&6; }
12016 FREETYPE_LIBS=""
12017 else
12018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12019 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12021 cat >>confdefs.h <<_ACEOF
12022 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12023 _ACEOF
12026 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12028 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12029 #include FT_MODULE_H
12031 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12033 cat >>confdefs.h <<_ACEOF
12034 #define HAVE_FT_TRUETYPEENGINETYPE 1
12035 _ACEOF
12041 else
12042 FREETYPE_CFLAGS=""
12043 FREETYPE_LIBS=""
12045 CPPFLAGS=$ac_save_CPPFLAGS
12046 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12047 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12050 if test "x$ac_cv_lib_soname_freetype" = x; then :
12051 case "x$with_freetype" in
12052 xno) ;;
12053 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12054 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12055 esac
12057 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
12059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12060 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12061 if ${ac_cv_c_ppdev+:} false; then :
12062 $as_echo_n "(cached) " >&6
12063 else
12064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12065 /* end confdefs.h. */
12066 #ifdef HAVE_SYS_IOCTL_H
12067 # include <sys/ioctl.h>
12068 #endif
12069 #include <linux/ppdev.h>
12071 main ()
12073 ioctl (1,PPCLAIM,0)
12075 return 0;
12077 _ACEOF
12078 if ac_fn_c_try_compile "$LINENO"; then :
12079 ac_cv_c_ppdev="yes"
12080 else
12081 ac_cv_c_ppdev="no"
12083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12086 $as_echo "$ac_cv_c_ppdev" >&6; }
12087 if test "$ac_cv_c_ppdev" = "yes"
12088 then
12090 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12094 ac_wine_check_funcs_save_LIBS="$LIBS"
12095 LIBS="$LIBS $PTHREAD_LIBS"
12096 for ac_func in \
12097 pthread_attr_get_np \
12098 pthread_getattr_np \
12099 pthread_getthreadid_np \
12100 pthread_get_stackaddr_np \
12101 pthread_get_stacksize_np
12102 do :
12103 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12104 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12105 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12106 cat >>confdefs.h <<_ACEOF
12107 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12108 _ACEOF
12111 done
12113 LIBS="$ac_wine_check_funcs_save_LIBS"
12115 if test "$ac_cv_header_zlib_h" = "yes"
12116 then
12117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12118 $as_echo_n "checking for inflate in -lz... " >&6; }
12119 if ${ac_cv_lib_z_inflate+:} false; then :
12120 $as_echo_n "(cached) " >&6
12121 else
12122 ac_check_lib_save_LIBS=$LIBS
12123 LIBS="-lz $LIBS"
12124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12125 /* end confdefs.h. */
12127 /* Override any GCC internal prototype to avoid an error.
12128 Use char because int might match the return type of a GCC
12129 builtin and then its argument prototype would still apply. */
12130 #ifdef __cplusplus
12131 extern "C"
12132 #endif
12133 char inflate ();
12135 main ()
12137 return inflate ();
12139 return 0;
12141 _ACEOF
12142 if ac_fn_c_try_link "$LINENO"; then :
12143 ac_cv_lib_z_inflate=yes
12144 else
12145 ac_cv_lib_z_inflate=no
12147 rm -f core conftest.err conftest.$ac_objext \
12148 conftest$ac_exeext conftest.$ac_ext
12149 LIBS=$ac_check_lib_save_LIBS
12151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12152 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12153 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12155 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12157 Z_LIBS="-lz"
12162 if test "x$Z_LIBS" = "x"; then :
12163 case "x$with_zlib" in
12164 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12165 xno) ;;
12166 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12167 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12168 esac
12171 if test "x$enable_tools" != xno
12172 then
12173 if test "$ac_cv_header_gettext_po_h" = "yes"
12174 then
12175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12176 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12177 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12178 $as_echo_n "(cached) " >&6
12179 else
12180 ac_check_lib_save_LIBS=$LIBS
12181 LIBS="-lgettextpo $LIBS"
12182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12183 /* end confdefs.h. */
12185 /* Override any GCC internal prototype to avoid an error.
12186 Use char because int might match the return type of a GCC
12187 builtin and then its argument prototype would still apply. */
12188 #ifdef __cplusplus
12189 extern "C"
12190 #endif
12191 char po_message_msgctxt ();
12193 main ()
12195 return po_message_msgctxt ();
12197 return 0;
12199 _ACEOF
12200 if ac_fn_c_try_link "$LINENO"; then :
12201 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12202 else
12203 ac_cv_lib_gettextpo_po_message_msgctxt=no
12205 rm -f core conftest.err conftest.$ac_objext \
12206 conftest$ac_exeext conftest.$ac_ext
12207 LIBS=$ac_check_lib_save_LIBS
12209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12210 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12211 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12213 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12215 GETTEXTPO_LIBS="-lgettextpo"
12220 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12221 case "x$with_gettextpo" in
12222 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12223 xno) ;;
12224 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12225 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12226 esac
12230 if test "x$with_gstreamer" != "xno"
12231 then
12232 if ${GSTREAMER_CFLAGS:+false} :; then :
12233 if ${PKG_CONFIG+:} false; then :
12234 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12238 if ${GSTREAMER_LIBS:+false} :; then :
12239 if ${PKG_CONFIG+:} false; then :
12240 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12245 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12246 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12247 ac_save_CPPFLAGS=$CPPFLAGS
12248 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12249 ac_gst_incl=""
12250 for i in $GSTREAMER_CFLAGS
12252 case "$i" in
12253 -I*) ac_gst_incl="$ac_gst_incl $i";;
12254 esac
12255 done
12256 GSTREAMER_CFLAGS=$ac_gst_incl
12257 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12258 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12259 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
12260 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12261 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
12262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12263 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12265 /* end confdefs.h. */
12266 #include <gst/app/gstappsink.h>
12268 main ()
12270 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12272 return 0;
12274 _ACEOF
12275 if ac_fn_c_try_compile "$LINENO"; then :
12276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12277 $as_echo "yes" >&6; }
12278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12279 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12280 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
12281 $as_echo_n "(cached) " >&6
12282 else
12283 ac_check_lib_save_LIBS=$LIBS
12284 LIBS="-lgstreamer-0.10 $LIBS"
12285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12286 /* end confdefs.h. */
12288 /* Override any GCC internal prototype to avoid an error.
12289 Use char because int might match the return type of a GCC
12290 builtin and then its argument prototype would still apply. */
12291 #ifdef __cplusplus
12292 extern "C"
12293 #endif
12294 char gst_pad_get_caps_reffed ();
12296 main ()
12298 return gst_pad_get_caps_reffed ();
12300 return 0;
12302 _ACEOF
12303 if ac_fn_c_try_link "$LINENO"; then :
12304 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
12305 else
12306 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
12308 rm -f core conftest.err conftest.$ac_objext \
12309 conftest$ac_exeext conftest.$ac_ext
12310 LIBS=$ac_check_lib_save_LIBS
12312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12313 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12314 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
12315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12316 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12317 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
12318 $as_echo_n "(cached) " >&6
12319 else
12320 ac_check_lib_save_LIBS=$LIBS
12321 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12323 /* end confdefs.h. */
12325 /* Override any GCC internal prototype to avoid an error.
12326 Use char because int might match the return type of a GCC
12327 builtin and then its argument prototype would still apply. */
12328 #ifdef __cplusplus
12329 extern "C"
12330 #endif
12331 char gst_app_buffer_new ();
12333 main ()
12335 return gst_app_buffer_new ();
12337 return 0;
12339 _ACEOF
12340 if ac_fn_c_try_link "$LINENO"; then :
12341 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
12342 else
12343 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
12345 rm -f core conftest.err conftest.$ac_objext \
12346 conftest$ac_exeext conftest.$ac_ext
12347 LIBS=$ac_check_lib_save_LIBS
12349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12350 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12351 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
12357 else
12358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12359 $as_echo "no" >&6; }
12361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12365 else
12366 GSTREAMER_CFLAGS=""
12370 CPPFLAGS=$ac_save_CPPFLAGS
12371 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12372 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12375 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
12376 case "x$with_gstreamer" in
12377 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12378 xno) ;;
12379 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12380 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12381 esac
12383 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12385 ALSA_LIBS=""
12387 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12388 then
12389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12390 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12391 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12392 $as_echo_n "(cached) " >&6
12393 else
12394 ac_check_lib_save_LIBS=$LIBS
12395 LIBS="-lasound $LIBS"
12396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12397 /* end confdefs.h. */
12399 /* Override any GCC internal prototype to avoid an error.
12400 Use char because int might match the return type of a GCC
12401 builtin and then its argument prototype would still apply. */
12402 #ifdef __cplusplus
12403 extern "C"
12404 #endif
12405 char snd_pcm_hw_params_get_access_mask ();
12407 main ()
12409 return snd_pcm_hw_params_get_access_mask ();
12411 return 0;
12413 _ACEOF
12414 if ac_fn_c_try_link "$LINENO"; then :
12415 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12416 else
12417 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12419 rm -f core conftest.err conftest.$ac_objext \
12420 conftest$ac_exeext conftest.$ac_ext
12421 LIBS=$ac_check_lib_save_LIBS
12423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12424 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12425 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12427 /* end confdefs.h. */
12428 #ifdef HAVE_ALSA_ASOUNDLIB_H
12429 #include <alsa/asoundlib.h>
12430 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12431 #include <sys/asoundlib.h>
12432 #endif
12434 main ()
12436 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12438 return 0;
12440 _ACEOF
12441 if ac_fn_c_try_compile "$LINENO"; then :
12442 ALSA_LIBS="-lasound"
12444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12449 if test "x$with_oss" != xno
12450 then
12451 ac_save_CPPFLAGS="$CPPFLAGS"
12452 if test -f /etc/oss.conf
12453 then
12454 . /etc/oss.conf
12456 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12457 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12458 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12459 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12460 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12462 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12464 cat >>confdefs.h <<_ACEOF
12465 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12466 _ACEOF
12468 OSS4_CFLAGS="$ac_oss_incl"
12475 CPPFLAGS="$ac_save_CPPFLAGS"
12476 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12477 then
12478 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12482 if test "x$with_capi" != "xno"
12483 then
12484 if ${CAPI20_CFLAGS:+false} :; then :
12485 if ${PKG_CONFIG+:} false; then :
12486 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12490 if ${CAPI20_LIBS:+false} :; then :
12491 if ${PKG_CONFIG+:} false; then :
12492 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12497 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12498 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12499 ac_save_CPPFLAGS=$CPPFLAGS
12500 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12501 for ac_header in capi20.h linux/capi.h
12502 do :
12503 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12504 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12506 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12507 cat >>confdefs.h <<_ACEOF
12508 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12509 _ACEOF
12513 done
12515 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12516 then
12517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12518 $as_echo_n "checking for -lcapi20... " >&6; }
12519 if ${ac_cv_lib_soname_capi20+:} false; then :
12520 $as_echo_n "(cached) " >&6
12521 else
12522 ac_check_soname_save_LIBS=$LIBS
12523 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12525 /* end confdefs.h. */
12527 /* Override any GCC internal prototype to avoid an error.
12528 Use char because int might match the return type of a GCC
12529 builtin and then its argument prototype would still apply. */
12530 #ifdef __cplusplus
12531 extern "C"
12532 #endif
12533 char capi20_register ();
12535 main ()
12537 return capi20_register ();
12539 return 0;
12541 _ACEOF
12542 if ac_fn_c_try_link "$LINENO"; then :
12543 case "$LIBEXT" in
12544 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12545 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'` ;;
12546 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12547 if ${ac_cv_lib_soname_capi20:+false} :; then :
12548 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12549 fi ;;
12550 esac
12552 rm -f core conftest.err conftest.$ac_objext \
12553 conftest$ac_exeext conftest.$ac_ext
12554 LIBS=$ac_check_soname_save_LIBS
12556 if ${ac_cv_lib_soname_capi20:+false} :; then :
12557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12558 $as_echo "not found" >&6; }
12560 else
12561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12562 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12564 cat >>confdefs.h <<_ACEOF
12565 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12566 _ACEOF
12571 CPPFLAGS=$ac_save_CPPFLAGS
12572 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12573 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12576 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12577 case "x$with_capi" in
12578 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12579 xno) ;;
12580 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12581 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12582 esac
12585 CUPS_CFLAGS=""
12587 if test "x$with_cups" != "xno"
12588 then
12589 ac_save_CPPFLAGS="$CPPFLAGS"
12590 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12591 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12592 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12593 for ac_header in cups/cups.h
12594 do :
12595 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12596 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12597 cat >>confdefs.h <<_ACEOF
12598 #define HAVE_CUPS_CUPS_H 1
12599 _ACEOF
12600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12601 $as_echo_n "checking for -lcups... " >&6; }
12602 if ${ac_cv_lib_soname_cups+:} false; then :
12603 $as_echo_n "(cached) " >&6
12604 else
12605 ac_check_soname_save_LIBS=$LIBS
12606 LIBS="-lcups $ac_cups_libs $LIBS"
12607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12608 /* end confdefs.h. */
12610 /* Override any GCC internal prototype to avoid an error.
12611 Use char because int might match the return type of a GCC
12612 builtin and then its argument prototype would still apply. */
12613 #ifdef __cplusplus
12614 extern "C"
12615 #endif
12616 char cupsGetDefault ();
12618 main ()
12620 return cupsGetDefault ();
12622 return 0;
12624 _ACEOF
12625 if ac_fn_c_try_link "$LINENO"; then :
12626 case "$LIBEXT" in
12627 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12628 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'` ;;
12629 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12630 if ${ac_cv_lib_soname_cups:+false} :; then :
12631 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12632 fi ;;
12633 esac
12635 rm -f core conftest.err conftest.$ac_objext \
12636 conftest$ac_exeext conftest.$ac_ext
12637 LIBS=$ac_check_soname_save_LIBS
12639 if ${ac_cv_lib_soname_cups:+false} :; then :
12640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12641 $as_echo "not found" >&6; }
12643 else
12644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12645 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12647 cat >>confdefs.h <<_ACEOF
12648 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12649 _ACEOF
12651 CUPS_CFLAGS="$ac_cups_cflags"
12655 done
12657 CPPFLAGS="$ac_save_CPPFLAGS"
12659 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12660 case "x$with_cups" in
12661 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12662 xno) ;;
12663 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12664 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12665 esac
12668 if test "x$with_fontconfig" != "xno"
12669 then
12670 if ${FONTCONFIG_CFLAGS:+false} :; then :
12671 if ${PKG_CONFIG+:} false; then :
12672 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12675 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12676 if ${FONTCONFIG_LIBS:+false} :; then :
12677 if ${PKG_CONFIG+:} false; then :
12678 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12681 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
12683 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12684 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12685 ac_save_CPPFLAGS=$CPPFLAGS
12686 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
12687 for ac_header in fontconfig/fontconfig.h
12688 do :
12689 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12690 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
12691 cat >>confdefs.h <<_ACEOF
12692 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12693 _ACEOF
12697 done
12699 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12700 then
12701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12702 $as_echo_n "checking for -lfontconfig... " >&6; }
12703 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12704 $as_echo_n "(cached) " >&6
12705 else
12706 ac_check_soname_save_LIBS=$LIBS
12707 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12709 /* end confdefs.h. */
12711 /* Override any GCC internal prototype to avoid an error.
12712 Use char because int might match the return type of a GCC
12713 builtin and then its argument prototype would still apply. */
12714 #ifdef __cplusplus
12715 extern "C"
12716 #endif
12717 char FcInit ();
12719 main ()
12721 return FcInit ();
12723 return 0;
12725 _ACEOF
12726 if ac_fn_c_try_link "$LINENO"; then :
12727 case "$LIBEXT" in
12728 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12729 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'` ;;
12730 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12731 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12732 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12733 fi ;;
12734 esac
12736 rm -f core conftest.err conftest.$ac_objext \
12737 conftest$ac_exeext conftest.$ac_ext
12738 LIBS=$ac_check_soname_save_LIBS
12740 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12742 $as_echo "not found" >&6; }
12743 FONTCONFIG_CFLAGS=""
12744 else
12745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12746 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12748 cat >>confdefs.h <<_ACEOF
12749 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12750 _ACEOF
12754 else
12755 FONTCONFIG_CFLAGS=""
12757 CPPFLAGS=$ac_save_CPPFLAGS
12758 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12759 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12762 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12763 case "x$with_fontconfig" in
12764 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12765 xno) ;;
12766 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12767 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12768 esac
12771 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12772 then
12773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12774 $as_echo_n "checking for -lgsm... " >&6; }
12775 if ${ac_cv_lib_soname_gsm+:} false; then :
12776 $as_echo_n "(cached) " >&6
12777 else
12778 ac_check_soname_save_LIBS=$LIBS
12779 LIBS="-lgsm $LIBS"
12780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12781 /* end confdefs.h. */
12783 /* Override any GCC internal prototype to avoid an error.
12784 Use char because int might match the return type of a GCC
12785 builtin and then its argument prototype would still apply. */
12786 #ifdef __cplusplus
12787 extern "C"
12788 #endif
12789 char gsm_create ();
12791 main ()
12793 return gsm_create ();
12795 return 0;
12797 _ACEOF
12798 if ac_fn_c_try_link "$LINENO"; then :
12799 case "$LIBEXT" in
12800 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12801 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'` ;;
12802 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12803 if ${ac_cv_lib_soname_gsm:+false} :; then :
12804 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12805 fi ;;
12806 esac
12808 rm -f core conftest.err conftest.$ac_objext \
12809 conftest$ac_exeext conftest.$ac_ext
12810 LIBS=$ac_check_soname_save_LIBS
12812 if ${ac_cv_lib_soname_gsm:+false} :; then :
12813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12814 $as_echo "not found" >&6; }
12816 else
12817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12818 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12820 cat >>confdefs.h <<_ACEOF
12821 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12822 _ACEOF
12827 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12828 case "x$with_gsm" in
12829 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12830 xno) ;;
12831 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12832 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12833 esac
12836 if test "x$with_jpeg" != "xno"
12837 then
12838 if ${JPEG_CFLAGS:+false} :; then :
12839 if ${PKG_CONFIG+:} false; then :
12840 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12844 if ${JPEG_LIBS:+false} :; then :
12845 if ${PKG_CONFIG+:} false; then :
12846 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12851 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12852 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12853 ac_save_CPPFLAGS=$CPPFLAGS
12854 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
12855 for ac_header in jpeglib.h
12856 do :
12857 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12858 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
12859 cat >>confdefs.h <<_ACEOF
12860 #define HAVE_JPEGLIB_H 1
12861 _ACEOF
12865 done
12867 if test "$ac_cv_header_jpeglib_h" = "yes"
12868 then
12869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12870 $as_echo_n "checking for -ljpeg... " >&6; }
12871 if ${ac_cv_lib_soname_jpeg+:} false; then :
12872 $as_echo_n "(cached) " >&6
12873 else
12874 ac_check_soname_save_LIBS=$LIBS
12875 LIBS="-ljpeg $JPEG_LIBS $LIBS"
12876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12877 /* end confdefs.h. */
12879 /* Override any GCC internal prototype to avoid an error.
12880 Use char because int might match the return type of a GCC
12881 builtin and then its argument prototype would still apply. */
12882 #ifdef __cplusplus
12883 extern "C"
12884 #endif
12885 char jpeg_start_decompress ();
12887 main ()
12889 return jpeg_start_decompress ();
12891 return 0;
12893 _ACEOF
12894 if ac_fn_c_try_link "$LINENO"; then :
12895 case "$LIBEXT" in
12896 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12897 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'` ;;
12898 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12899 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12900 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12901 fi ;;
12902 esac
12904 rm -f core conftest.err conftest.$ac_objext \
12905 conftest$ac_exeext conftest.$ac_ext
12906 LIBS=$ac_check_soname_save_LIBS
12908 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12910 $as_echo "not found" >&6; }
12911 JPEG_CFLAGS=""
12912 else
12913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12914 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12916 cat >>confdefs.h <<_ACEOF
12917 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12918 _ACEOF
12922 else
12923 JPEG_CFLAGS=""
12925 CPPFLAGS=$ac_save_CPPFLAGS
12926 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12927 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12930 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12931 case "x$with_jpeg" in
12932 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12933 xno) ;;
12934 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12935 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12936 esac
12939 if test "x$with_png" != "xno"
12940 then
12941 if ${PNG_CFLAGS:+false} :; then :
12942 if ${PKG_CONFIG+:} false; then :
12943 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12946 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
12947 if ${PNG_LIBS:+false} :; then :
12948 if ${PKG_CONFIG+:} false; then :
12949 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
12952 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
12954 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
12955 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
12956 ac_save_CPPFLAGS=$CPPFLAGS
12957 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
12958 for ac_header in png.h
12959 do :
12960 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12961 if test "x$ac_cv_header_png_h" = xyes; then :
12962 cat >>confdefs.h <<_ACEOF
12963 #define HAVE_PNG_H 1
12964 _ACEOF
12968 done
12970 if test "$ac_cv_header_png_h" = "yes"
12971 then
12972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12973 $as_echo_n "checking for -lpng... " >&6; }
12974 if ${ac_cv_lib_soname_png+:} false; then :
12975 $as_echo_n "(cached) " >&6
12976 else
12977 ac_check_soname_save_LIBS=$LIBS
12978 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
12979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12980 /* end confdefs.h. */
12982 /* Override any GCC internal prototype to avoid an error.
12983 Use char because int might match the return type of a GCC
12984 builtin and then its argument prototype would still apply. */
12985 #ifdef __cplusplus
12986 extern "C"
12987 #endif
12988 char png_create_read_struct ();
12990 main ()
12992 return png_create_read_struct ();
12994 return 0;
12996 _ACEOF
12997 if ac_fn_c_try_link "$LINENO"; then :
12998 case "$LIBEXT" in
12999 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13000 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'` ;;
13001 *) 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'`
13002 if ${ac_cv_lib_soname_png:+false} :; then :
13003 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13004 fi ;;
13005 esac
13007 rm -f core conftest.err conftest.$ac_objext \
13008 conftest$ac_exeext conftest.$ac_ext
13009 LIBS=$ac_check_soname_save_LIBS
13011 if ${ac_cv_lib_soname_png:+false} :; then :
13012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13013 $as_echo "not found" >&6; }
13014 PNG_CFLAGS=""
13015 else
13016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13017 $as_echo "$ac_cv_lib_soname_png" >&6; }
13019 cat >>confdefs.h <<_ACEOF
13020 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13021 _ACEOF
13023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13024 /* end confdefs.h. */
13025 #include <png.h>
13027 main ()
13029 typeof(png_set_expand_gray_1_2_4_to_8) *p
13031 return 0;
13033 _ACEOF
13034 if ac_fn_c_try_compile "$LINENO"; then :
13036 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13041 else
13042 PNG_CFLAGS=""
13044 CPPFLAGS=$ac_save_CPPFLAGS
13045 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13046 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13049 if test "x$ac_cv_lib_soname_png" = "x"; then :
13050 case "x$with_png" in
13051 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13052 xno) ;;
13053 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13054 This is an error since --with-png was requested." "$LINENO" 5 ;;
13055 esac
13058 if test "x$with_tiff" != "xno"
13059 then
13060 if ${TIFF_CFLAGS:+false} :; then :
13061 if ${PKG_CONFIG+:} false; then :
13062 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13066 if ${TIFF_LIBS:+false} :; then :
13067 if ${PKG_CONFIG+:} false; then :
13068 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13073 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13074 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13075 ac_save_CPPFLAGS=$CPPFLAGS
13076 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13077 for ac_header in tiffio.h
13078 do :
13079 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13080 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13081 cat >>confdefs.h <<_ACEOF
13082 #define HAVE_TIFFIO_H 1
13083 _ACEOF
13087 done
13089 if test "$ac_cv_header_tiffio_h" = "yes"
13090 then
13091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13092 $as_echo_n "checking for -ltiff... " >&6; }
13093 if ${ac_cv_lib_soname_tiff+:} false; then :
13094 $as_echo_n "(cached) " >&6
13095 else
13096 ac_check_soname_save_LIBS=$LIBS
13097 LIBS="-ltiff $TIFF_LIBS $LIBS"
13098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13099 /* end confdefs.h. */
13101 /* Override any GCC internal prototype to avoid an error.
13102 Use char because int might match the return type of a GCC
13103 builtin and then its argument prototype would still apply. */
13104 #ifdef __cplusplus
13105 extern "C"
13106 #endif
13107 char TIFFClientOpen ();
13109 main ()
13111 return TIFFClientOpen ();
13113 return 0;
13115 _ACEOF
13116 if ac_fn_c_try_link "$LINENO"; then :
13117 case "$LIBEXT" in
13118 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13119 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'` ;;
13120 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13121 if ${ac_cv_lib_soname_tiff:+false} :; then :
13122 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13123 fi ;;
13124 esac
13126 rm -f core conftest.err conftest.$ac_objext \
13127 conftest$ac_exeext conftest.$ac_ext
13128 LIBS=$ac_check_soname_save_LIBS
13130 if ${ac_cv_lib_soname_tiff:+false} :; then :
13131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13132 $as_echo "not found" >&6; }
13134 else
13135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13136 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13138 cat >>confdefs.h <<_ACEOF
13139 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13140 _ACEOF
13145 CPPFLAGS=$ac_save_CPPFLAGS
13146 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13147 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13150 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13151 case "x$with_tiff" in
13152 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13153 xno) ;;
13154 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13155 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13156 esac
13159 if test "x$with_mpg123" != "xno"
13160 then
13161 if ${MPG123_CFLAGS:+false} :; then :
13162 if ${PKG_CONFIG+:} false; then :
13163 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13167 if ${MPG123_LIBS:+false} :; then :
13168 if ${PKG_CONFIG+:} false; then :
13169 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13173 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13174 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13175 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13176 ac_save_CPPFLAGS=$CPPFLAGS
13177 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13178 for ac_header in mpg123.h
13179 do :
13180 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13181 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13182 cat >>confdefs.h <<_ACEOF
13183 #define HAVE_MPG123_H 1
13184 _ACEOF
13188 done
13190 if test "$ac_cv_header_mpg123_h" = "yes"
13191 then
13192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13193 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13194 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13195 $as_echo_n "(cached) " >&6
13196 else
13197 ac_check_lib_save_LIBS=$LIBS
13198 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13200 /* end confdefs.h. */
13202 /* Override any GCC internal prototype to avoid an error.
13203 Use char because int might match the return type of a GCC
13204 builtin and then its argument prototype would still apply. */
13205 #ifdef __cplusplus
13206 extern "C"
13207 #endif
13208 char mpg123_feed ();
13210 main ()
13212 return mpg123_feed ();
13214 return 0;
13216 _ACEOF
13217 if ac_fn_c_try_link "$LINENO"; then :
13218 ac_cv_lib_mpg123_mpg123_feed=yes
13219 else
13220 ac_cv_lib_mpg123_mpg123_feed=no
13222 rm -f core conftest.err conftest.$ac_objext \
13223 conftest$ac_exeext conftest.$ac_ext
13224 LIBS=$ac_check_lib_save_LIBS
13226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13227 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13228 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13230 else
13231 MPG123_LIBS=""
13234 else
13235 MPG123_CFLAGS=""
13236 MPG123_LIBS=""
13238 CPPFLAGS=$ac_save_CPPFLAGS
13239 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13240 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13243 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13244 case "x$with_mpg123" in
13245 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13246 xno) ;;
13247 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13248 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13249 esac
13251 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}
13253 if test "$ac_cv_header_AL_al_h" = "yes"
13254 then
13255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13256 $as_echo_n "checking for -lopenal... " >&6; }
13257 if ${ac_cv_lib_soname_openal+:} false; then :
13258 $as_echo_n "(cached) " >&6
13259 else
13260 ac_check_soname_save_LIBS=$LIBS
13261 LIBS="-lopenal $LIBS"
13262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13263 /* end confdefs.h. */
13265 /* Override any GCC internal prototype to avoid an error.
13266 Use char because int might match the return type of a GCC
13267 builtin and then its argument prototype would still apply. */
13268 #ifdef __cplusplus
13269 extern "C"
13270 #endif
13271 char alGetSource3i ();
13273 main ()
13275 return alGetSource3i ();
13277 return 0;
13279 _ACEOF
13280 if ac_fn_c_try_link "$LINENO"; then :
13281 case "$LIBEXT" in
13282 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13283 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'` ;;
13284 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13285 if ${ac_cv_lib_soname_openal:+false} :; then :
13286 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13287 fi ;;
13288 esac
13290 rm -f core conftest.err conftest.$ac_objext \
13291 conftest$ac_exeext conftest.$ac_ext
13292 LIBS=$ac_check_soname_save_LIBS
13294 if ${ac_cv_lib_soname_openal:+false} :; then :
13295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13296 $as_echo "not found" >&6; }
13298 else
13299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13300 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13302 cat >>confdefs.h <<_ACEOF
13303 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13304 _ACEOF
13306 OPENAL_LIBS="-lopenal"
13308 ac_cv_lib_openal=yes
13310 cat >>confdefs.h <<_ACEOF
13311 #define HAVE_OPENAL 1
13312 _ACEOF
13316 if test "x$ac_cv_lib_openal" != xyes; then :
13317 case "x$with_openal" in
13318 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13319 xno) ;;
13320 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13321 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13322 esac
13324 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13326 if test "$ac_cv_header_kstat_h" = "yes"
13327 then
13328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13329 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13330 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13331 $as_echo_n "(cached) " >&6
13332 else
13333 ac_check_lib_save_LIBS=$LIBS
13334 LIBS="-lkstat $LIBS"
13335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13336 /* end confdefs.h. */
13338 /* Override any GCC internal prototype to avoid an error.
13339 Use char because int might match the return type of a GCC
13340 builtin and then its argument prototype would still apply. */
13341 #ifdef __cplusplus
13342 extern "C"
13343 #endif
13344 char kstat_open ();
13346 main ()
13348 return kstat_open ();
13350 return 0;
13352 _ACEOF
13353 if ac_fn_c_try_link "$LINENO"; then :
13354 ac_cv_lib_kstat_kstat_open=yes
13355 else
13356 ac_cv_lib_kstat_kstat_open=no
13358 rm -f core conftest.err conftest.$ac_objext \
13359 conftest$ac_exeext conftest.$ac_ext
13360 LIBS=$ac_check_lib_save_LIBS
13362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13363 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13364 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13366 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13368 KSTAT_LIBS="-lkstat"
13374 if test "$ac_cv_header_libprocstat_h" = "yes"
13375 then
13376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13377 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13378 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13379 $as_echo_n "(cached) " >&6
13380 else
13381 ac_check_lib_save_LIBS=$LIBS
13382 LIBS="-lprocstat $LIBS"
13383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13384 /* end confdefs.h. */
13386 /* Override any GCC internal prototype to avoid an error.
13387 Use char because int might match the return type of a GCC
13388 builtin and then its argument prototype would still apply. */
13389 #ifdef __cplusplus
13390 extern "C"
13391 #endif
13392 char procstat_open_sysctl ();
13394 main ()
13396 return procstat_open_sysctl ();
13398 return 0;
13400 _ACEOF
13401 if ac_fn_c_try_link "$LINENO"; then :
13402 ac_cv_lib_procstat_procstat_open_sysctl=yes
13403 else
13404 ac_cv_lib_procstat_procstat_open_sysctl=no
13406 rm -f core conftest.err conftest.$ac_objext \
13407 conftest$ac_exeext conftest.$ac_ext
13408 LIBS=$ac_check_lib_save_LIBS
13410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13411 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13412 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13414 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13416 PROCSTAT_LIBS="-lprocstat"
13422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13423 $as_echo_n "checking for -lodbc... " >&6; }
13424 if ${ac_cv_lib_soname_odbc+:} false; then :
13425 $as_echo_n "(cached) " >&6
13426 else
13427 ac_check_soname_save_LIBS=$LIBS
13428 LIBS="-lodbc $LIBS"
13429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13430 /* end confdefs.h. */
13432 /* Override any GCC internal prototype to avoid an error.
13433 Use char because int might match the return type of a GCC
13434 builtin and then its argument prototype would still apply. */
13435 #ifdef __cplusplus
13436 extern "C"
13437 #endif
13438 char SQLConnect ();
13440 main ()
13442 return SQLConnect ();
13444 return 0;
13446 _ACEOF
13447 if ac_fn_c_try_link "$LINENO"; then :
13448 case "$LIBEXT" in
13449 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13450 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'` ;;
13451 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13452 if ${ac_cv_lib_soname_odbc:+false} :; then :
13453 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13454 fi ;;
13455 esac
13457 rm -f core conftest.err conftest.$ac_objext \
13458 conftest$ac_exeext conftest.$ac_ext
13459 LIBS=$ac_check_soname_save_LIBS
13461 if ${ac_cv_lib_soname_odbc:+false} :; then :
13462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13463 $as_echo "not found" >&6; }
13464 cat >>confdefs.h <<_ACEOF
13465 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13466 _ACEOF
13468 else
13469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13470 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13472 cat >>confdefs.h <<_ACEOF
13473 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13474 _ACEOF
13479 if test "x$with_netapi" != "xno"
13480 then
13481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13482 $as_echo_n "checking for -lnetapi... " >&6; }
13483 if ${ac_cv_lib_soname_netapi+:} false; then :
13484 $as_echo_n "(cached) " >&6
13485 else
13486 ac_check_soname_save_LIBS=$LIBS
13487 LIBS="-lnetapi $LIBS"
13488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13489 /* end confdefs.h. */
13491 /* Override any GCC internal prototype to avoid an error.
13492 Use char because int might match the return type of a GCC
13493 builtin and then its argument prototype would still apply. */
13494 #ifdef __cplusplus
13495 extern "C"
13496 #endif
13497 char libnetapi_init ();
13499 main ()
13501 return libnetapi_init ();
13503 return 0;
13505 _ACEOF
13506 if ac_fn_c_try_link "$LINENO"; then :
13507 case "$LIBEXT" in
13508 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13509 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'` ;;
13510 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13511 if ${ac_cv_lib_soname_netapi:+false} :; then :
13512 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13513 fi ;;
13514 esac
13516 rm -f core conftest.err conftest.$ac_objext \
13517 conftest$ac_exeext conftest.$ac_ext
13518 LIBS=$ac_check_soname_save_LIBS
13520 if ${ac_cv_lib_soname_netapi:+false} :; then :
13521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13522 $as_echo "not found" >&6; }
13523 cat >>confdefs.h <<_ACEOF
13524 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13525 _ACEOF
13527 else
13528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13529 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13531 cat >>confdefs.h <<_ACEOF
13532 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13533 _ACEOF
13539 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13540 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
13541 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
13542 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
13544 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13545 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
13546 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13547 then
13548 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13552 EXTRACFLAGS=""
13554 if test "x${GCC}" = "xyes"
13555 then
13556 EXTRACFLAGS="-Wall -pipe"
13558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13559 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13560 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13561 $as_echo_n "(cached) " >&6
13562 else
13563 if test "$cross_compiling" = yes; then :
13564 ac_cv_c_gcc_strength_bug="yes"
13565 else
13566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13567 /* end confdefs.h. */
13568 int L[4] = {0,1,2,3};
13570 main ()
13572 static int Array[3];
13573 unsigned int B = 3;
13574 int i;
13575 for(i=0; i<B; i++) Array[i] = i - 3;
13576 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13577 L[i] = 4;
13578 return (Array[1] != -2 || L[2] != 3)
13580 return 0;
13582 _ACEOF
13583 if ac_fn_c_try_run "$LINENO"; then :
13584 ac_cv_c_gcc_strength_bug="no"
13585 else
13586 ac_cv_c_gcc_strength_bug="yes"
13588 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13589 conftest.$ac_objext conftest.beam conftest.$ac_ext
13593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13594 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13595 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13596 then
13597 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13601 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13602 if ${ac_cv_cflags__fno_builtin+:} false; then :
13603 $as_echo_n "(cached) " >&6
13604 else
13605 ac_wine_try_cflags_saved=$CFLAGS
13606 CFLAGS="$CFLAGS -fno-builtin"
13607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13608 /* end confdefs.h. */
13609 int main(int argc, char **argv) { return 0; }
13610 _ACEOF
13611 if ac_fn_c_try_link "$LINENO"; then :
13612 ac_cv_cflags__fno_builtin=yes
13613 else
13614 ac_cv_cflags__fno_builtin=no
13616 rm -f core conftest.err conftest.$ac_objext \
13617 conftest$ac_exeext conftest.$ac_ext
13618 CFLAGS=$ac_wine_try_cflags_saved
13620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13621 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13622 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
13623 BUILTINFLAG="-fno-builtin"
13626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13627 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13628 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
13629 $as_echo_n "(cached) " >&6
13630 else
13631 ac_wine_try_cflags_saved=$CFLAGS
13632 CFLAGS="$CFLAGS -fno-strict-aliasing"
13633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13634 /* end confdefs.h. */
13635 int main(int argc, char **argv) { return 0; }
13636 _ACEOF
13637 if ac_fn_c_try_link "$LINENO"; then :
13638 ac_cv_cflags__fno_strict_aliasing=yes
13639 else
13640 ac_cv_cflags__fno_strict_aliasing=no
13642 rm -f core conftest.err conftest.$ac_objext \
13643 conftest$ac_exeext conftest.$ac_ext
13644 CFLAGS=$ac_wine_try_cflags_saved
13646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13647 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13648 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
13649 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
13651 saved_CFLAGS=$CFLAGS
13652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13653 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13654 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
13655 $as_echo_n "(cached) " >&6
13656 else
13657 ac_wine_try_cflags_saved=$CFLAGS
13658 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13660 /* end confdefs.h. */
13661 int main(int argc, char **argv) { return 0; }
13662 _ACEOF
13663 if ac_fn_c_try_link "$LINENO"; then :
13664 ac_cv_cflags__Werror_unknown_warning_option=yes
13665 else
13666 ac_cv_cflags__Werror_unknown_warning_option=no
13668 rm -f core conftest.err conftest.$ac_objext \
13669 conftest$ac_exeext conftest.$ac_ext
13670 CFLAGS=$ac_wine_try_cflags_saved
13672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13673 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13674 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
13675 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13678 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13679 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
13680 $as_echo_n "(cached) " >&6
13681 else
13682 ac_wine_try_cflags_saved=$CFLAGS
13683 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
13684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13685 /* end confdefs.h. */
13686 int main(int argc, char **argv) { return 0; }
13687 _ACEOF
13688 if ac_fn_c_try_link "$LINENO"; then :
13689 ac_cv_cflags__Wdeclaration_after_statement=yes
13690 else
13691 ac_cv_cflags__Wdeclaration_after_statement=no
13693 rm -f core conftest.err conftest.$ac_objext \
13694 conftest$ac_exeext conftest.$ac_ext
13695 CFLAGS=$ac_wine_try_cflags_saved
13697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13698 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13699 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
13700 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
13702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13703 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13704 if ${ac_cv_cflags__Wempty_body+:} false; then :
13705 $as_echo_n "(cached) " >&6
13706 else
13707 ac_wine_try_cflags_saved=$CFLAGS
13708 CFLAGS="$CFLAGS -Wempty-body"
13709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13710 /* end confdefs.h. */
13711 int main(int argc, char **argv) { return 0; }
13712 _ACEOF
13713 if ac_fn_c_try_link "$LINENO"; then :
13714 ac_cv_cflags__Wempty_body=yes
13715 else
13716 ac_cv_cflags__Wempty_body=no
13718 rm -f core conftest.err conftest.$ac_objext \
13719 conftest$ac_exeext conftest.$ac_ext
13720 CFLAGS=$ac_wine_try_cflags_saved
13722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13723 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13724 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
13725 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
13727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13728 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13729 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
13730 $as_echo_n "(cached) " >&6
13731 else
13732 ac_wine_try_cflags_saved=$CFLAGS
13733 CFLAGS="$CFLAGS -Wignored-qualifiers"
13734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13735 /* end confdefs.h. */
13736 int main(int argc, char **argv) { return 0; }
13737 _ACEOF
13738 if ac_fn_c_try_link "$LINENO"; then :
13739 ac_cv_cflags__Wignored_qualifiers=yes
13740 else
13741 ac_cv_cflags__Wignored_qualifiers=no
13743 rm -f core conftest.err conftest.$ac_objext \
13744 conftest$ac_exeext conftest.$ac_ext
13745 CFLAGS=$ac_wine_try_cflags_saved
13747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13748 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13749 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
13750 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
13752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13753 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13754 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
13755 $as_echo_n "(cached) " >&6
13756 else
13757 ac_wine_try_cflags_saved=$CFLAGS
13758 CFLAGS="$CFLAGS -Wstrict-prototypes"
13759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13760 /* end confdefs.h. */
13761 int main(int argc, char **argv) { return 0; }
13762 _ACEOF
13763 if ac_fn_c_try_link "$LINENO"; then :
13764 ac_cv_cflags__Wstrict_prototypes=yes
13765 else
13766 ac_cv_cflags__Wstrict_prototypes=no
13768 rm -f core conftest.err conftest.$ac_objext \
13769 conftest$ac_exeext conftest.$ac_ext
13770 CFLAGS=$ac_wine_try_cflags_saved
13772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13773 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13774 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
13775 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
13777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13778 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13779 if ${ac_cv_cflags__Wtype_limits+:} false; then :
13780 $as_echo_n "(cached) " >&6
13781 else
13782 ac_wine_try_cflags_saved=$CFLAGS
13783 CFLAGS="$CFLAGS -Wtype-limits"
13784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13785 /* end confdefs.h. */
13786 int main(int argc, char **argv) { return 0; }
13787 _ACEOF
13788 if ac_fn_c_try_link "$LINENO"; then :
13789 ac_cv_cflags__Wtype_limits=yes
13790 else
13791 ac_cv_cflags__Wtype_limits=no
13793 rm -f core conftest.err conftest.$ac_objext \
13794 conftest$ac_exeext conftest.$ac_ext
13795 CFLAGS=$ac_wine_try_cflags_saved
13797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13798 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13799 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
13800 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
13802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13803 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13804 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
13805 $as_echo_n "(cached) " >&6
13806 else
13807 ac_wine_try_cflags_saved=$CFLAGS
13808 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
13809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13810 /* end confdefs.h. */
13811 int main(int argc, char **argv) { return 0; }
13812 _ACEOF
13813 if ac_fn_c_try_link "$LINENO"; then :
13814 ac_cv_cflags__Wunused_but_set_parameter=yes
13815 else
13816 ac_cv_cflags__Wunused_but_set_parameter=no
13818 rm -f core conftest.err conftest.$ac_objext \
13819 conftest$ac_exeext conftest.$ac_ext
13820 CFLAGS=$ac_wine_try_cflags_saved
13822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13823 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13824 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
13825 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
13827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13828 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13829 if ${ac_cv_cflags__Wvla+:} false; then :
13830 $as_echo_n "(cached) " >&6
13831 else
13832 ac_wine_try_cflags_saved=$CFLAGS
13833 CFLAGS="$CFLAGS -Wvla"
13834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13835 /* end confdefs.h. */
13836 int main(int argc, char **argv) { return 0; }
13837 _ACEOF
13838 if ac_fn_c_try_link "$LINENO"; then :
13839 ac_cv_cflags__Wvla=yes
13840 else
13841 ac_cv_cflags__Wvla=no
13843 rm -f core conftest.err conftest.$ac_objext \
13844 conftest$ac_exeext conftest.$ac_ext
13845 CFLAGS=$ac_wine_try_cflags_saved
13847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
13848 $as_echo "$ac_cv_cflags__Wvla" >&6; }
13849 if test "x$ac_cv_cflags__Wvla" = xyes; then :
13850 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
13852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13853 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13854 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
13855 $as_echo_n "(cached) " >&6
13856 else
13857 ac_wine_try_cflags_saved=$CFLAGS
13858 CFLAGS="$CFLAGS -Wwrite-strings"
13859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13860 /* end confdefs.h. */
13861 int main(int argc, char **argv) { return 0; }
13862 _ACEOF
13863 if ac_fn_c_try_link "$LINENO"; then :
13864 ac_cv_cflags__Wwrite_strings=yes
13865 else
13866 ac_cv_cflags__Wwrite_strings=no
13868 rm -f core conftest.err conftest.$ac_objext \
13869 conftest$ac_exeext conftest.$ac_ext
13870 CFLAGS=$ac_wine_try_cflags_saved
13872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13873 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13874 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
13875 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
13878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13879 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13880 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
13881 $as_echo_n "(cached) " >&6
13882 else
13883 ac_wine_try_cflags_saved=$CFLAGS
13884 CFLAGS="$CFLAGS -Wpointer-arith"
13885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13886 /* end confdefs.h. */
13887 int main(int argc, char **argv) { return 0; }
13888 _ACEOF
13889 if ac_fn_c_try_link "$LINENO"; then :
13890 ac_cv_cflags__Wpointer_arith=yes
13891 else
13892 ac_cv_cflags__Wpointer_arith=no
13894 rm -f core conftest.err conftest.$ac_objext \
13895 conftest$ac_exeext conftest.$ac_ext
13896 CFLAGS=$ac_wine_try_cflags_saved
13898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13899 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13900 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
13901 saved_string_h_CFLAGS=$CFLAGS
13902 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
13903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13904 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13905 if ${ac_cv_c_string_h_warnings+:} false; then :
13906 $as_echo_n "(cached) " >&6
13907 else
13908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13909 /* end confdefs.h. */
13910 #include <string.h>
13912 main ()
13916 return 0;
13918 _ACEOF
13919 if ac_fn_c_try_compile "$LINENO"; then :
13920 ac_cv_c_string_h_warnings=no
13921 else
13922 ac_cv_c_string_h_warnings=yes
13924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13927 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13928 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
13929 CFLAGS=$saved_string_h_CFLAGS
13932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13933 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13934 if ${ac_cv_cflags__Wlogical_op+:} false; then :
13935 $as_echo_n "(cached) " >&6
13936 else
13937 ac_wine_try_cflags_saved=$CFLAGS
13938 CFLAGS="$CFLAGS -Wlogical-op"
13939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13940 /* end confdefs.h. */
13941 int main(int argc, char **argv) { return 0; }
13942 _ACEOF
13943 if ac_fn_c_try_link "$LINENO"; then :
13944 ac_cv_cflags__Wlogical_op=yes
13945 else
13946 ac_cv_cflags__Wlogical_op=no
13948 rm -f core conftest.err conftest.$ac_objext \
13949 conftest$ac_exeext conftest.$ac_ext
13950 CFLAGS=$ac_wine_try_cflags_saved
13952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13953 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13954 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
13955 saved_string_h_CFLAGS=$CFLAGS
13956 CFLAGS="$CFLAGS -Wlogical-op -Werror"
13957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13958 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13959 if ${ac_cv_c_logicalop_noisy+:} false; then :
13960 $as_echo_n "(cached) " >&6
13961 else
13962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13963 /* end confdefs.h. */
13964 #include <string.h>
13965 char*f(const char *h,char n) {return strchr(h,n);}
13967 main ()
13971 return 0;
13973 _ACEOF
13974 if ac_fn_c_try_compile "$LINENO"; then :
13975 ac_cv_c_logicalop_noisy=no
13976 else
13977 ac_cv_c_logicalop_noisy=yes
13979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13982 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13983 CFLAGS=$saved_string_h_CFLAGS
13984 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
13987 CFLAGS=$saved_CFLAGS
13989 for ac_flag in $CFLAGS; do
13990 case $ac_flag in
13991 -g) case $host_os in
13992 darwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13993 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
13994 if ${ac_cv_cflags__gstabsp+:} false; then :
13995 $as_echo_n "(cached) " >&6
13996 else
13997 ac_wine_try_cflags_saved=$CFLAGS
13998 CFLAGS="$CFLAGS -gstabs+"
13999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14000 /* end confdefs.h. */
14001 int main(int argc, char **argv) { return 0; }
14002 _ACEOF
14003 if ac_fn_c_try_link "$LINENO"; then :
14004 ac_cv_cflags__gstabsp=yes
14005 else
14006 ac_cv_cflags__gstabsp=no
14008 rm -f core conftest.err conftest.$ac_objext \
14009 conftest$ac_exeext conftest.$ac_ext
14010 CFLAGS=$ac_wine_try_cflags_saved
14012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
14013 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
14014 if test "x$ac_cv_cflags__gstabsp" = xyes; then :
14015 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
14016 fi ;;
14017 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14018 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14019 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14020 $as_echo_n "(cached) " >&6
14021 else
14022 ac_wine_try_cflags_saved=$CFLAGS
14023 CFLAGS="$CFLAGS -gdwarf-2"
14024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14025 /* end confdefs.h. */
14026 int main(int argc, char **argv) { return 0; }
14027 _ACEOF
14028 if ac_fn_c_try_link "$LINENO"; then :
14029 ac_cv_cflags__gdwarf_2=yes
14030 else
14031 ac_cv_cflags__gdwarf_2=no
14033 rm -f core conftest.err conftest.$ac_objext \
14034 conftest$ac_exeext conftest.$ac_ext
14035 CFLAGS=$ac_wine_try_cflags_saved
14037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14038 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14039 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14040 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14043 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14044 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14045 $as_echo_n "(cached) " >&6
14046 else
14047 ac_wine_try_cflags_saved=$CFLAGS
14048 CFLAGS="$CFLAGS -gstrict-dwarf"
14049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14050 /* end confdefs.h. */
14051 int main(int argc, char **argv) { return 0; }
14052 _ACEOF
14053 if ac_fn_c_try_link "$LINENO"; then :
14054 ac_cv_cflags__gstrict_dwarf=yes
14055 else
14056 ac_cv_cflags__gstrict_dwarf=no
14058 rm -f core conftest.err conftest.$ac_objext \
14059 conftest$ac_exeext conftest.$ac_ext
14060 CFLAGS=$ac_wine_try_cflags_saved
14062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14063 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14064 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14065 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14066 fi ;;
14067 esac ;;
14068 esac
14069 done
14071 case $host_cpu in
14072 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14073 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14074 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14075 $as_echo_n "(cached) " >&6
14076 else
14077 ac_wine_try_cflags_saved=$CFLAGS
14078 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14080 /* end confdefs.h. */
14081 int main(int argc, char **argv) { return 0; }
14082 _ACEOF
14083 if ac_fn_c_try_link "$LINENO"; then :
14084 ac_cv_cflags__fno_omit_frame_pointer=yes
14085 else
14086 ac_cv_cflags__fno_omit_frame_pointer=no
14088 rm -f core conftest.err conftest.$ac_objext \
14089 conftest$ac_exeext conftest.$ac_ext
14090 CFLAGS=$ac_wine_try_cflags_saved
14092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14093 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14094 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14095 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14096 fi ;;
14097 esac
14099 case $host in
14100 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14101 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14102 if ${ac_cv_cflags__Wno_format+:} false; then :
14103 $as_echo_n "(cached) " >&6
14104 else
14105 ac_wine_try_cflags_saved=$CFLAGS
14106 CFLAGS="$CFLAGS -Wno-format"
14107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14108 /* end confdefs.h. */
14109 int main(int argc, char **argv) { return 0; }
14110 _ACEOF
14111 if ac_fn_c_try_link "$LINENO"; then :
14112 ac_cv_cflags__Wno_format=yes
14113 else
14114 ac_cv_cflags__Wno_format=no
14116 rm -f core conftest.err conftest.$ac_objext \
14117 conftest$ac_exeext conftest.$ac_ext
14118 CFLAGS=$ac_wine_try_cflags_saved
14120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14121 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14122 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14123 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14124 fi ;;
14125 esac
14127 if test "x$enable_maintainer_mode" = "xyes"
14128 then
14129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14130 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14131 if ${ac_cv_cflags__Werror+:} false; then :
14132 $as_echo_n "(cached) " >&6
14133 else
14134 ac_wine_try_cflags_saved=$CFLAGS
14135 CFLAGS="$CFLAGS -Werror"
14136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14137 /* end confdefs.h. */
14138 int main(int argc, char **argv) { return 0; }
14139 _ACEOF
14140 if ac_fn_c_try_link "$LINENO"; then :
14141 ac_cv_cflags__Werror=yes
14142 else
14143 ac_cv_cflags__Werror=no
14145 rm -f core conftest.err conftest.$ac_objext \
14146 conftest$ac_exeext conftest.$ac_ext
14147 CFLAGS=$ac_wine_try_cflags_saved
14149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14150 $as_echo "$ac_cv_cflags__Werror" >&6; }
14151 if test "x$ac_cv_cflags__Werror" = xyes; then :
14152 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14156 saved_CFLAGS="$CFLAGS"
14157 CFLAGS="$CFLAGS -Werror"
14158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14159 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14160 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14161 $as_echo_n "(cached) " >&6
14162 else
14163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14164 /* end confdefs.h. */
14165 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14167 main ()
14171 return 0;
14173 _ACEOF
14174 if ac_fn_c_try_compile "$LINENO"; then :
14175 ac_cv_have_ms_hook_prologue="yes"
14176 else
14177 ac_cv_have_ms_hook_prologue="no"
14179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14182 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14183 CFLAGS="$saved_CFLAGS"
14184 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14185 then
14187 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14189 else
14190 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14197 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14198 if ${ac_cv_c_fortify_enabled+:} false; then :
14199 $as_echo_n "(cached) " >&6
14200 else
14201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14202 /* end confdefs.h. */
14203 #include <string.h>
14205 main ()
14207 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14208 #error Fortify enabled
14209 #endif
14211 return 0;
14213 _ACEOF
14214 if ac_fn_c_try_compile "$LINENO"; then :
14215 ac_cv_c_fortify_enabled=no
14216 else
14217 ac_cv_c_fortify_enabled=yes
14219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14222 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14223 if test "$ac_cv_c_fortify_enabled" = yes
14224 then
14225 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14230 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14231 if ${ac_cv_c_extern_prefix+:} false; then :
14232 $as_echo_n "(cached) " >&6
14233 else
14234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14235 /* end confdefs.h. */
14236 extern int ac_test;
14238 main ()
14240 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14242 return 0;
14244 _ACEOF
14245 if ac_fn_c_try_link "$LINENO"; then :
14246 ac_cv_c_extern_prefix="yes"
14247 else
14248 ac_cv_c_extern_prefix="no"
14250 rm -f core conftest.err conftest.$ac_objext \
14251 conftest$ac_exeext conftest.$ac_ext
14253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14254 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14256 case $host_cpu in
14257 *i[3456789]86*)
14258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14259 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14260 if ${ac_cv_c_stdcall_suffix+:} false; then :
14261 $as_echo_n "(cached) " >&6
14262 else
14263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14264 /* end confdefs.h. */
14265 #ifndef _MSC_VER
14266 #define __stdcall __attribute__((__stdcall__))
14267 #endif
14268 int __stdcall ac_test(int i) { return i; }
14270 main ()
14272 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14274 return 0;
14276 _ACEOF
14277 if ac_fn_c_try_link "$LINENO"; then :
14278 ac_cv_c_stdcall_suffix="yes"
14279 else
14280 ac_cv_c_stdcall_suffix="no"
14282 rm -f core conftest.err conftest.$ac_objext \
14283 conftest$ac_exeext conftest.$ac_ext
14285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14286 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14287 *) ac_cv_c_stdcall_suffix="no" ;;
14288 esac
14291 if test "$ac_cv_c_extern_prefix" = "yes"
14292 then
14293 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14295 asm_name_prefix="_"
14296 else
14297 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14299 asm_name_prefix=""
14303 if test "$ac_cv_c_stdcall_suffix" = "yes"
14304 then
14305 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14307 else
14308 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14314 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14315 if ${ac_cv_asm_func_def+:} false; then :
14316 $as_echo_n "(cached) " >&6
14317 else
14318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14319 /* end confdefs.h. */
14322 main ()
14324 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14326 return 0;
14328 _ACEOF
14329 if ac_fn_c_try_link "$LINENO"; then :
14330 ac_cv_asm_func_def=".def"
14331 else
14332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14333 /* end confdefs.h. */
14336 main ()
14338 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14340 return 0;
14342 _ACEOF
14343 if ac_fn_c_try_link "$LINENO"; then :
14344 ac_cv_asm_func_def=".type @function"
14345 else
14346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14347 /* end confdefs.h. */
14350 main ()
14352 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14354 return 0;
14356 _ACEOF
14357 if ac_fn_c_try_link "$LINENO"; then :
14358 ac_cv_asm_func_def=".type 2"
14359 else
14360 ac_cv_asm_func_def="unknown"
14362 rm -f core conftest.err conftest.$ac_objext \
14363 conftest$ac_exeext conftest.$ac_ext
14365 rm -f core conftest.err conftest.$ac_objext \
14366 conftest$ac_exeext conftest.$ac_ext
14368 rm -f core conftest.err conftest.$ac_objext \
14369 conftest$ac_exeext conftest.$ac_ext
14371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14372 $as_echo "$ac_cv_asm_func_def" >&6; }
14375 case "$ac_cv_asm_func_def" in
14376 ".def")
14377 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14379 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14380 ".type @function")
14381 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14383 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14384 ".type 2")
14385 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14387 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14389 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14391 asm_func_header="" ;;
14392 esac
14394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14395 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14396 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14397 $as_echo_n "(cached) " >&6
14398 else
14399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14400 /* end confdefs.h. */
14401 asm(".text\n\t.long 0");
14403 main ()
14407 return 0;
14409 _ACEOF
14410 if ac_fn_c_try_compile "$LINENO"; then :
14411 ac_cv_c_asm_outside_funcs="yes"
14412 else
14413 ac_cv_c_asm_outside_funcs="no"
14415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14418 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14421 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14422 if ${ac_cv_c_dot_previous+:} false; then :
14423 $as_echo_n "(cached) " >&6
14424 else
14425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14426 /* end confdefs.h. */
14429 main ()
14431 asm(".text\nac_test:\t.long 0\n\t.previous");
14433 return 0;
14435 _ACEOF
14436 if ac_fn_c_try_link "$LINENO"; then :
14437 ac_cv_c_dot_previous="yes"
14438 else
14439 ac_cv_c_dot_previous="no"
14441 rm -f core conftest.err conftest.$ac_objext \
14442 conftest$ac_exeext conftest.$ac_ext
14444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14445 $as_echo "$ac_cv_c_dot_previous" >&6; }
14447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14448 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14449 if ${ac_cv_c_cfi_support+:} false; then :
14450 $as_echo_n "(cached) " >&6
14451 else
14452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14453 /* end confdefs.h. */
14454 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14456 main ()
14460 return 0;
14462 _ACEOF
14463 if ac_fn_c_try_compile "$LINENO"; then :
14464 ac_cv_c_cfi_support="yes"
14465 else
14466 ac_cv_c_cfi_support="no"
14468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14471 $as_echo "$ac_cv_c_cfi_support" >&6; }
14473 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14474 asm_func_trailer=""
14475 if test "$ac_cv_c_dot_previous" = "yes"
14476 then
14477 asm_func_trailer="\\n\\t.previous"
14479 if test "$ac_cv_c_cfi_support" = "yes"
14480 then
14481 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14482 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14484 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14486 UNWINDFLAGS=-fasynchronous-unwind-tables
14488 else
14489 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14493 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14496 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14497 then
14498 cat >>confdefs.h <<_ACEOF
14499 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14500 _ACEOF
14502 else
14503 cat >>confdefs.h <<_ACEOF
14504 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14505 _ACEOF
14509 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14512 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14516 case $build_os in
14517 cygwin*|mingw32*) TOOLSEXT=".exe"
14519 esac
14521 case $host_os in
14522 linux*)
14523 case $host_cpu in
14524 *i[3456789]86*|x86_64*)
14525 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14526 loader_programs="$loader_programs $wine_binary-preloader"
14527 as_fn_append LOADER_RULES "
14528 $wine_binary-preloader: preloader.o
14529 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14531 install install-lib:: $wine_binary-preloader
14532 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14534 uninstall::
14535 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14537 preloader_EXTRADEFS = $BUILTINFLAG
14538 " ;;
14539 esac
14541 esac
14542 as_fn_append LOADER_RULES "
14543 PROGRAMS = $loader_programs
14547 ac_save_CFLAGS="$CFLAGS"
14548 CFLAGS="$CFLAGS $BUILTINFLAG"
14549 for ac_func in \
14550 __res_get_state \
14551 __res_getservers \
14552 _finite \
14553 _isnan \
14554 _pclose \
14555 _popen \
14556 _snprintf \
14557 _spawnvp \
14558 _strdup \
14559 _stricmp \
14560 _strnicmp \
14561 _strtoi64 \
14562 _strtoui64 \
14563 _vsnprintf \
14564 asctime_r \
14565 chsize \
14566 dlopen \
14567 epoll_create \
14568 ffs \
14569 fnmatch \
14570 fork \
14571 fpclass \
14572 fstatfs \
14573 fstatvfs \
14574 ftruncate \
14575 futimens \
14576 futimes \
14577 futimesat \
14578 getattrlist \
14579 getdirentries \
14580 getopt_long_only \
14581 getpwuid \
14582 gettimeofday \
14583 getuid \
14584 if_nameindex \
14585 kqueue \
14586 lstat \
14587 memmove \
14588 mmap \
14589 pclose \
14590 pipe2 \
14591 poll \
14592 popen \
14593 port_create \
14594 prctl \
14595 pread \
14596 proc_pidinfo \
14597 pwrite \
14598 readdir \
14599 readlink \
14600 sched_yield \
14601 select \
14602 setproctitle \
14603 setrlimit \
14604 settimeofday \
14605 sigaltstack \
14606 sigprocmask \
14607 snprintf \
14608 statfs \
14609 statvfs \
14610 strcasecmp \
14611 strdup \
14612 strerror \
14613 strncasecmp \
14614 strtold \
14615 strtoll \
14616 strtoull \
14617 symlink \
14618 tcdrain \
14619 thr_kill2 \
14620 timegm \
14621 usleep \
14622 vsnprintf
14624 do :
14625 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14626 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14627 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14628 cat >>confdefs.h <<_ACEOF
14629 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14630 _ACEOF
14633 done
14635 CFLAGS="$ac_save_CFLAGS"
14637 if test "$ac_cv_func_dlopen" = no
14638 then
14639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14640 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14641 if ${ac_cv_lib_dl_dlopen+:} false; then :
14642 $as_echo_n "(cached) " >&6
14643 else
14644 ac_check_lib_save_LIBS=$LIBS
14645 LIBS="-ldl $LIBS"
14646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14647 /* end confdefs.h. */
14649 /* Override any GCC internal prototype to avoid an error.
14650 Use char because int might match the return type of a GCC
14651 builtin and then its argument prototype would still apply. */
14652 #ifdef __cplusplus
14653 extern "C"
14654 #endif
14655 char dlopen ();
14657 main ()
14659 return dlopen ();
14661 return 0;
14663 _ACEOF
14664 if ac_fn_c_try_link "$LINENO"; then :
14665 ac_cv_lib_dl_dlopen=yes
14666 else
14667 ac_cv_lib_dl_dlopen=no
14669 rm -f core conftest.err conftest.$ac_objext \
14670 conftest$ac_exeext conftest.$ac_ext
14671 LIBS=$ac_check_lib_save_LIBS
14673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14674 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14675 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14676 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14677 DL_LIBS="-ldl"
14682 ac_wine_check_funcs_save_LIBS="$LIBS"
14683 LIBS="$LIBS $DL_LIBS"
14684 for ac_func in dladdr
14685 do :
14686 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
14687 if test "x$ac_cv_func_dladdr" = xyes; then :
14688 cat >>confdefs.h <<_ACEOF
14689 #define HAVE_DLADDR 1
14690 _ACEOF
14693 done
14695 LIBS="$ac_wine_check_funcs_save_LIBS"
14697 if test "$ac_cv_func_poll" = no
14698 then
14699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14700 $as_echo_n "checking for poll in -lpoll... " >&6; }
14701 if ${ac_cv_lib_poll_poll+:} false; then :
14702 $as_echo_n "(cached) " >&6
14703 else
14704 ac_check_lib_save_LIBS=$LIBS
14705 LIBS="-lpoll $LIBS"
14706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14707 /* end confdefs.h. */
14709 /* Override any GCC internal prototype to avoid an error.
14710 Use char because int might match the return type of a GCC
14711 builtin and then its argument prototype would still apply. */
14712 #ifdef __cplusplus
14713 extern "C"
14714 #endif
14715 char poll ();
14717 main ()
14719 return poll ();
14721 return 0;
14723 _ACEOF
14724 if ac_fn_c_try_link "$LINENO"; then :
14725 ac_cv_lib_poll_poll=yes
14726 else
14727 ac_cv_lib_poll_poll=no
14729 rm -f core conftest.err conftest.$ac_objext \
14730 conftest$ac_exeext conftest.$ac_ext
14731 LIBS=$ac_check_lib_save_LIBS
14733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14734 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14735 if test "x$ac_cv_lib_poll_poll" = xyes; then :
14736 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14737 POLL_LIBS="-lpoll"
14743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14744 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14745 if ${ac_cv_search_gethostbyname+:} false; then :
14746 $as_echo_n "(cached) " >&6
14747 else
14748 ac_func_search_save_LIBS=$LIBS
14749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14750 /* end confdefs.h. */
14752 /* Override any GCC internal prototype to avoid an error.
14753 Use char because int might match the return type of a GCC
14754 builtin and then its argument prototype would still apply. */
14755 #ifdef __cplusplus
14756 extern "C"
14757 #endif
14758 char gethostbyname ();
14760 main ()
14762 return gethostbyname ();
14764 return 0;
14766 _ACEOF
14767 for ac_lib in '' nsl; do
14768 if test -z "$ac_lib"; then
14769 ac_res="none required"
14770 else
14771 ac_res=-l$ac_lib
14772 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14774 if ac_fn_c_try_link "$LINENO"; then :
14775 ac_cv_search_gethostbyname=$ac_res
14777 rm -f core conftest.err conftest.$ac_objext \
14778 conftest$ac_exeext
14779 if ${ac_cv_search_gethostbyname+:} false; then :
14780 break
14782 done
14783 if ${ac_cv_search_gethostbyname+:} false; then :
14785 else
14786 ac_cv_search_gethostbyname=no
14788 rm conftest.$ac_ext
14789 LIBS=$ac_func_search_save_LIBS
14791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14792 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14793 ac_res=$ac_cv_search_gethostbyname
14794 if test "$ac_res" != no; then :
14795 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14801 $as_echo_n "checking for library containing connect... " >&6; }
14802 if ${ac_cv_search_connect+:} false; then :
14803 $as_echo_n "(cached) " >&6
14804 else
14805 ac_func_search_save_LIBS=$LIBS
14806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14807 /* end confdefs.h. */
14809 /* Override any GCC internal prototype to avoid an error.
14810 Use char because int might match the return type of a GCC
14811 builtin and then its argument prototype would still apply. */
14812 #ifdef __cplusplus
14813 extern "C"
14814 #endif
14815 char connect ();
14817 main ()
14819 return connect ();
14821 return 0;
14823 _ACEOF
14824 for ac_lib in '' socket; do
14825 if test -z "$ac_lib"; then
14826 ac_res="none required"
14827 else
14828 ac_res=-l$ac_lib
14829 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14831 if ac_fn_c_try_link "$LINENO"; then :
14832 ac_cv_search_connect=$ac_res
14834 rm -f core conftest.err conftest.$ac_objext \
14835 conftest$ac_exeext
14836 if ${ac_cv_search_connect+:} false; then :
14837 break
14839 done
14840 if ${ac_cv_search_connect+:} false; then :
14842 else
14843 ac_cv_search_connect=no
14845 rm conftest.$ac_ext
14846 LIBS=$ac_func_search_save_LIBS
14848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14849 $as_echo "$ac_cv_search_connect" >&6; }
14850 ac_res=$ac_cv_search_connect
14851 if test "$ac_res" != no; then :
14852 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14858 $as_echo_n "checking for library containing inet_aton... " >&6; }
14859 if ${ac_cv_search_inet_aton+:} false; then :
14860 $as_echo_n "(cached) " >&6
14861 else
14862 ac_func_search_save_LIBS=$LIBS
14863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14864 /* end confdefs.h. */
14866 /* Override any GCC internal prototype to avoid an error.
14867 Use char because int might match the return type of a GCC
14868 builtin and then its argument prototype would still apply. */
14869 #ifdef __cplusplus
14870 extern "C"
14871 #endif
14872 char inet_aton ();
14874 main ()
14876 return inet_aton ();
14878 return 0;
14880 _ACEOF
14881 for ac_lib in '' resolv; do
14882 if test -z "$ac_lib"; then
14883 ac_res="none required"
14884 else
14885 ac_res=-l$ac_lib
14886 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14888 if ac_fn_c_try_link "$LINENO"; then :
14889 ac_cv_search_inet_aton=$ac_res
14891 rm -f core conftest.err conftest.$ac_objext \
14892 conftest$ac_exeext
14893 if ${ac_cv_search_inet_aton+:} false; then :
14894 break
14896 done
14897 if ${ac_cv_search_inet_aton+:} false; then :
14899 else
14900 ac_cv_search_inet_aton=no
14902 rm conftest.$ac_ext
14903 LIBS=$ac_func_search_save_LIBS
14905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14906 $as_echo "$ac_cv_search_inet_aton" >&6; }
14907 ac_res=$ac_cv_search_inet_aton
14908 if test "$ac_res" != no; then :
14909 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14914 for ac_func in \
14915 getaddrinfo \
14916 getnameinfo \
14917 getnetbyname \
14918 getprotobyname \
14919 getprotobynumber \
14920 getservbyport \
14921 inet_addr \
14922 inet_network \
14923 inet_ntop \
14924 inet_pton \
14925 sendmsg \
14926 socketpair \
14928 do :
14929 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14930 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14931 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14932 cat >>confdefs.h <<_ACEOF
14933 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14934 _ACEOF
14937 done
14940 ac_save_LIBS=$LIBS
14941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14942 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14943 if ${ac_cv_search_clock_gettime+:} false; then :
14944 $as_echo_n "(cached) " >&6
14945 else
14946 ac_func_search_save_LIBS=$LIBS
14947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14948 /* end confdefs.h. */
14950 /* Override any GCC internal prototype to avoid an error.
14951 Use char because int might match the return type of a GCC
14952 builtin and then its argument prototype would still apply. */
14953 #ifdef __cplusplus
14954 extern "C"
14955 #endif
14956 char clock_gettime ();
14958 main ()
14960 return clock_gettime ();
14962 return 0;
14964 _ACEOF
14965 for ac_lib in '' rt; do
14966 if test -z "$ac_lib"; then
14967 ac_res="none required"
14968 else
14969 ac_res=-l$ac_lib
14970 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14972 if ac_fn_c_try_link "$LINENO"; then :
14973 ac_cv_search_clock_gettime=$ac_res
14975 rm -f core conftest.err conftest.$ac_objext \
14976 conftest$ac_exeext
14977 if ${ac_cv_search_clock_gettime+:} false; then :
14978 break
14980 done
14981 if ${ac_cv_search_clock_gettime+:} false; then :
14983 else
14984 ac_cv_search_clock_gettime=no
14986 rm conftest.$ac_ext
14987 LIBS=$ac_func_search_save_LIBS
14989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14990 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14991 ac_res=$ac_cv_search_clock_gettime
14992 if test "$ac_res" != no; then :
14993 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14995 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
14997 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15001 LIBS=$ac_save_LIBS
15003 LDAP_LIBS=""
15005 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15006 then
15007 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15009 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15011 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15012 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15013 $as_echo_n "(cached) " >&6
15014 else
15015 ac_check_lib_save_LIBS=$LIBS
15016 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15018 /* end confdefs.h. */
15020 /* Override any GCC internal prototype to avoid an error.
15021 Use char because int might match the return type of a GCC
15022 builtin and then its argument prototype would still apply. */
15023 #ifdef __cplusplus
15024 extern "C"
15025 #endif
15026 char ldap_initialize ();
15028 main ()
15030 return ldap_initialize ();
15032 return 0;
15034 _ACEOF
15035 if ac_fn_c_try_link "$LINENO"; then :
15036 ac_cv_lib_ldap_r_ldap_initialize=yes
15037 else
15038 ac_cv_lib_ldap_r_ldap_initialize=no
15040 rm -f core conftest.err conftest.$ac_objext \
15041 conftest$ac_exeext conftest.$ac_ext
15042 LIBS=$ac_check_lib_save_LIBS
15044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15045 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15046 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15048 $as_echo_n "checking for ber_init in -llber... " >&6; }
15049 if ${ac_cv_lib_lber_ber_init+:} false; then :
15050 $as_echo_n "(cached) " >&6
15051 else
15052 ac_check_lib_save_LIBS=$LIBS
15053 LIBS="-llber $PTHREAD_LIBS $LIBS"
15054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15055 /* end confdefs.h. */
15057 /* Override any GCC internal prototype to avoid an error.
15058 Use char because int might match the return type of a GCC
15059 builtin and then its argument prototype would still apply. */
15060 #ifdef __cplusplus
15061 extern "C"
15062 #endif
15063 char ber_init ();
15065 main ()
15067 return ber_init ();
15069 return 0;
15071 _ACEOF
15072 if ac_fn_c_try_link "$LINENO"; then :
15073 ac_cv_lib_lber_ber_init=yes
15074 else
15075 ac_cv_lib_lber_ber_init=no
15077 rm -f core conftest.err conftest.$ac_objext \
15078 conftest$ac_exeext conftest.$ac_ext
15079 LIBS=$ac_check_lib_save_LIBS
15081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15082 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15083 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15085 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15087 LDAP_LIBS="-lldap_r -llber"
15094 ac_wine_check_funcs_save_LIBS="$LIBS"
15095 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15096 for ac_func in \
15097 ldap_count_references \
15098 ldap_first_reference \
15099 ldap_next_reference \
15100 ldap_parse_reference \
15101 ldap_parse_sort_control \
15102 ldap_parse_sortresponse_control \
15103 ldap_parse_vlv_control \
15104 ldap_parse_vlvresponse_control
15105 do :
15106 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15107 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15108 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15109 cat >>confdefs.h <<_ACEOF
15110 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15111 _ACEOF
15114 done
15116 LIBS="$ac_wine_check_funcs_save_LIBS"
15118 if test "x$LDAP_LIBS" = "x"; then :
15119 case "x$with_ldap" in
15120 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15121 xno) ;;
15122 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15123 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15124 esac
15127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15128 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15129 if ${wine_cv_one_arg_mkdir+:} false; then :
15130 $as_echo_n "(cached) " >&6
15131 else
15132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15133 /* end confdefs.h. */
15134 #include <sys/stat.h>
15136 main ()
15138 mkdir("foo");
15140 return 0;
15142 _ACEOF
15143 if ac_fn_c_try_compile "$LINENO"; then :
15144 wine_cv_one_arg_mkdir=yes
15145 else
15146 wine_cv_one_arg_mkdir=no
15148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15151 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15152 if test "$wine_cv_one_arg_mkdir" = "yes"
15153 then
15155 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15160 $as_echo_n "checking for sched_setaffinity... " >&6; }
15161 if ${wine_cv_have_sched_setaffinity+:} false; then :
15162 $as_echo_n "(cached) " >&6
15163 else
15164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15165 /* end confdefs.h. */
15166 #define _GNU_SOURCE
15167 #include <sched.h>
15169 main ()
15171 sched_setaffinity(0, 0, 0);
15173 return 0;
15175 _ACEOF
15176 if ac_fn_c_try_link "$LINENO"; then :
15177 wine_cv_have_sched_setaffinity=yes
15178 else
15179 wine_cv_have_sched_setaffinity=no
15181 rm -f core conftest.err conftest.$ac_objext \
15182 conftest$ac_exeext conftest.$ac_ext
15184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15185 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15186 if test "$wine_cv_have_sched_setaffinity" = "yes"
15187 then
15189 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15194 $as_echo_n "checking for fallocate... " >&6; }
15195 if ${wine_cv_have_fallocate+:} false; then :
15196 $as_echo_n "(cached) " >&6
15197 else
15198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15199 /* end confdefs.h. */
15200 #define _GNU_SOURCE
15201 #include <fcntl.h>
15203 main ()
15205 fallocate(-1, 0, 0, 0);
15207 return 0;
15209 _ACEOF
15210 if ac_fn_c_try_link "$LINENO"; then :
15211 wine_cv_have_fallocate=yes
15212 else
15213 wine_cv_have_fallocate=no
15215 rm -f core conftest.err conftest.$ac_objext \
15216 conftest$ac_exeext conftest.$ac_ext
15218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15219 $as_echo "$wine_cv_have_fallocate" >&6; }
15220 if test "$wine_cv_have_fallocate" = "yes"
15221 then
15223 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15229 $as_echo_n "checking for inline... " >&6; }
15230 if ${ac_cv_c_inline+:} false; then :
15231 $as_echo_n "(cached) " >&6
15232 else
15233 ac_cv_c_inline=no
15234 for ac_kw in inline __inline__ __inline; do
15235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15236 /* end confdefs.h. */
15237 #ifndef __cplusplus
15238 typedef int foo_t;
15239 static $ac_kw foo_t static_foo () {return 0; }
15240 $ac_kw foo_t foo () {return 0; }
15241 #endif
15243 _ACEOF
15244 if ac_fn_c_try_compile "$LINENO"; then :
15245 ac_cv_c_inline=$ac_kw
15247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15248 test "$ac_cv_c_inline" != no && break
15249 done
15252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15253 $as_echo "$ac_cv_c_inline" >&6; }
15255 case $ac_cv_c_inline in
15256 inline | yes) ;;
15258 case $ac_cv_c_inline in
15259 no) ac_val=;;
15260 *) ac_val=$ac_cv_c_inline;;
15261 esac
15262 cat >>confdefs.h <<_ACEOF
15263 #ifndef __cplusplus
15264 #define inline $ac_val
15265 #endif
15266 _ACEOF
15268 esac
15270 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15271 if test "x$ac_cv_type_mode_t" = xyes; then :
15273 cat >>confdefs.h <<_ACEOF
15274 #define HAVE_MODE_T 1
15275 _ACEOF
15279 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15280 if test "x$ac_cv_type_off_t" = xyes; then :
15282 cat >>confdefs.h <<_ACEOF
15283 #define HAVE_OFF_T 1
15284 _ACEOF
15288 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15289 if test "x$ac_cv_type_pid_t" = xyes; then :
15291 cat >>confdefs.h <<_ACEOF
15292 #define HAVE_PID_T 1
15293 _ACEOF
15297 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15298 if test "x$ac_cv_type_size_t" = xyes; then :
15300 cat >>confdefs.h <<_ACEOF
15301 #define HAVE_SIZE_T 1
15302 _ACEOF
15306 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15307 if test "x$ac_cv_type_ssize_t" = xyes; then :
15309 cat >>confdefs.h <<_ACEOF
15310 #define HAVE_SSIZE_T 1
15311 _ACEOF
15315 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15316 if test "x$ac_cv_type_long_long" = xyes; then :
15318 cat >>confdefs.h <<_ACEOF
15319 #define HAVE_LONG_LONG 1
15320 _ACEOF
15324 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15325 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15327 cat >>confdefs.h <<_ACEOF
15328 #define HAVE_FSBLKCNT_T 1
15329 _ACEOF
15333 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15334 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15336 cat >>confdefs.h <<_ACEOF
15337 #define HAVE_FSFILCNT_T 1
15338 _ACEOF
15343 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15344 #include <signal.h>
15346 if test "x$ac_cv_type_sigset_t" = xyes; then :
15348 cat >>confdefs.h <<_ACEOF
15349 #define HAVE_SIGSET_T 1
15350 _ACEOF
15355 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15357 if test "x$ac_cv_type_request_sense" = xyes; then :
15359 cat >>confdefs.h <<_ACEOF
15360 #define HAVE_REQUEST_SENSE 1
15361 _ACEOF
15367 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15368 #ifdef HAVE_SYS_SOCKET_H
15369 #include <sys/socket.h>
15370 #endif
15371 #ifdef HAVE_SYS_SOCKETVAR_H
15372 #include <sys/socketvar.h>
15373 #endif
15374 #ifdef HAVE_NET_ROUTE_H
15375 #include <net/route.h>
15376 #endif
15377 #ifdef HAVE_NETINET_IN_H
15378 #include <netinet/in.h>
15379 #endif
15380 #ifdef HAVE_NETINET_IN_SYSTM_H
15381 #include <netinet/in_systm.h>
15382 #endif
15383 #ifdef HAVE_NETINET_IP_H
15384 #include <netinet/ip.h>
15385 #endif
15386 #ifdef HAVE_NETINET_IN_PCB_H
15387 #include <netinet/in_pcb.h>
15388 #endif
15390 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15392 cat >>confdefs.h <<_ACEOF
15393 #define HAVE_STRUCT_XINPGEN 1
15394 _ACEOF
15400 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15401 #include <link.h>
15402 #endif
15403 #ifdef HAVE_SYS_LINK_H
15404 #include <sys/link.h>
15405 #endif
15407 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15409 cat >>confdefs.h <<_ACEOF
15410 #define HAVE_STRUCT_R_DEBUG 1
15411 _ACEOF
15415 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15416 #include <link.h>
15417 #endif
15418 #ifdef HAVE_SYS_LINK_H
15419 #include <sys/link.h>
15420 #endif
15422 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15424 cat >>confdefs.h <<_ACEOF
15425 #define HAVE_STRUCT_LINK_MAP 1
15426 _ACEOF
15432 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15433 #include <linux/input.h>
15434 #endif
15436 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15438 cat >>confdefs.h <<_ACEOF
15439 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15440 _ACEOF
15446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15447 $as_echo_n "checking for sigaddset... " >&6; }
15448 if ${wine_cv_have_sigaddset+:} false; then :
15449 $as_echo_n "(cached) " >&6
15450 else
15451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15452 /* end confdefs.h. */
15453 #include <signal.h>
15455 main ()
15457 sigset_t set; sigaddset(&set,SIGTERM);
15459 return 0;
15461 _ACEOF
15462 if ac_fn_c_try_link "$LINENO"; then :
15463 wine_cv_have_sigaddset=yes
15464 else
15465 wine_cv_have_sigaddset=no
15467 rm -f core conftest.err conftest.$ac_objext \
15468 conftest$ac_exeext conftest.$ac_ext
15470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15471 $as_echo "$wine_cv_have_sigaddset" >&6; }
15472 if test "$wine_cv_have_sigaddset" = "yes"
15473 then
15475 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15481 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15482 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15483 $as_echo_n "(cached) " >&6
15484 else
15485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15486 /* end confdefs.h. */
15487 #include <netdb.h>
15489 main ()
15492 char *name=0;
15493 struct hostent he;
15494 struct hostent *result;
15495 char *buf=0;
15496 int bufsize=0;
15497 int errnr;
15498 char *addr=0;
15499 int addrlen=0;
15500 int addrtype=0;
15501 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15502 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15505 return 0;
15507 _ACEOF
15508 if ac_fn_c_try_link "$LINENO"; then :
15509 wine_cv_linux_gethostbyname_r_6=yes
15510 else
15511 wine_cv_linux_gethostbyname_r_6=no
15514 rm -f core conftest.err conftest.$ac_objext \
15515 conftest$ac_exeext conftest.$ac_ext
15518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15519 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15520 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15521 then
15523 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15527 if test "$ac_cv_header_linux_joystick_h" = "yes"
15528 then
15529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15530 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15531 if ${wine_cv_linux_joystick_22_api+:} false; then :
15532 $as_echo_n "(cached) " >&6
15533 else
15534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15535 /* end confdefs.h. */
15537 #include <sys/ioctl.h>
15538 #include <sys/types.h>
15539 #include <linux/joystick.h>
15541 struct js_event blub;
15542 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15543 #error "no 2.2 header"
15544 #endif
15547 main ()
15549 /*empty*/
15551 return 0;
15553 _ACEOF
15554 if ac_fn_c_try_compile "$LINENO"; then :
15555 wine_cv_linux_joystick_22_api=yes
15556 else
15557 wine_cv_linux_joystick_22_api=no
15559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15563 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15564 if test "$wine_cv_linux_joystick_22_api" = "yes"
15565 then
15567 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15573 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15574 #ifdef HAVE_SYS_PARAM_H
15575 # include <sys/param.h>
15576 #endif
15577 #ifdef HAVE_SYS_MOUNT_H
15578 # include <sys/mount.h>
15579 #endif
15580 #ifdef HAVE_SYS_VFS_H
15581 # include <sys/vfs.h>
15582 #endif
15583 #ifdef HAVE_SYS_STATFS_H
15584 # include <sys/statfs.h>
15585 #endif
15587 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15589 cat >>confdefs.h <<_ACEOF
15590 #define HAVE_STRUCT_STATFS_F_BFREE 1
15591 _ACEOF
15595 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15596 #ifdef HAVE_SYS_PARAM_H
15597 # include <sys/param.h>
15598 #endif
15599 #ifdef HAVE_SYS_MOUNT_H
15600 # include <sys/mount.h>
15601 #endif
15602 #ifdef HAVE_SYS_VFS_H
15603 # include <sys/vfs.h>
15604 #endif
15605 #ifdef HAVE_SYS_STATFS_H
15606 # include <sys/statfs.h>
15607 #endif
15609 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
15611 cat >>confdefs.h <<_ACEOF
15612 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15613 _ACEOF
15617 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15618 #ifdef HAVE_SYS_PARAM_H
15619 # include <sys/param.h>
15620 #endif
15621 #ifdef HAVE_SYS_MOUNT_H
15622 # include <sys/mount.h>
15623 #endif
15624 #ifdef HAVE_SYS_VFS_H
15625 # include <sys/vfs.h>
15626 #endif
15627 #ifdef HAVE_SYS_STATFS_H
15628 # include <sys/statfs.h>
15629 #endif
15631 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
15633 cat >>confdefs.h <<_ACEOF
15634 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15635 _ACEOF
15639 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15640 #ifdef HAVE_SYS_PARAM_H
15641 # include <sys/param.h>
15642 #endif
15643 #ifdef HAVE_SYS_MOUNT_H
15644 # include <sys/mount.h>
15645 #endif
15646 #ifdef HAVE_SYS_VFS_H
15647 # include <sys/vfs.h>
15648 #endif
15649 #ifdef HAVE_SYS_STATFS_H
15650 # include <sys/statfs.h>
15651 #endif
15653 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
15655 cat >>confdefs.h <<_ACEOF
15656 #define HAVE_STRUCT_STATFS_F_FFREE 1
15657 _ACEOF
15661 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15662 #ifdef HAVE_SYS_PARAM_H
15663 # include <sys/param.h>
15664 #endif
15665 #ifdef HAVE_SYS_MOUNT_H
15666 # include <sys/mount.h>
15667 #endif
15668 #ifdef HAVE_SYS_VFS_H
15669 # include <sys/vfs.h>
15670 #endif
15671 #ifdef HAVE_SYS_STATFS_H
15672 # include <sys/statfs.h>
15673 #endif
15675 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
15677 cat >>confdefs.h <<_ACEOF
15678 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15679 _ACEOF
15683 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15684 #ifdef HAVE_SYS_PARAM_H
15685 # include <sys/param.h>
15686 #endif
15687 #ifdef HAVE_SYS_MOUNT_H
15688 # include <sys/mount.h>
15689 #endif
15690 #ifdef HAVE_SYS_VFS_H
15691 # include <sys/vfs.h>
15692 #endif
15693 #ifdef HAVE_SYS_STATFS_H
15694 # include <sys/statfs.h>
15695 #endif
15697 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
15699 cat >>confdefs.h <<_ACEOF
15700 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15701 _ACEOF
15707 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15708 #include <sys/statvfs.h>
15709 #endif
15711 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
15713 cat >>confdefs.h <<_ACEOF
15714 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15715 _ACEOF
15721 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15722 #include <dirent.h>
15723 #endif
15725 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
15727 cat >>confdefs.h <<_ACEOF
15728 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15729 _ACEOF
15735 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15736 #ifdef HAVE_SYS_SOCKET_H
15737 # include <sys/socket.h>
15738 #endif
15739 #ifdef HAVE_SYS_UN_H
15740 # include <sys/un.h>
15741 #endif
15743 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
15745 cat >>confdefs.h <<_ACEOF
15746 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15747 _ACEOF
15751 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15752 #ifdef HAVE_SYS_SOCKET_H
15753 # include <sys/socket.h>
15754 #endif
15755 #ifdef HAVE_SYS_UN_H
15756 # include <sys/un.h>
15757 #endif
15759 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
15761 cat >>confdefs.h <<_ACEOF
15762 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15763 _ACEOF
15767 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15768 #ifdef HAVE_SYS_SOCKET_H
15769 # include <sys/socket.h>
15770 #endif
15771 #ifdef HAVE_SYS_UN_H
15772 # include <sys/un.h>
15773 #endif
15775 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
15777 cat >>confdefs.h <<_ACEOF
15778 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15779 _ACEOF
15785 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15786 #ifdef HAVE_SCSI_SG_H
15787 #include <scsi/sg.h>
15788 #endif
15790 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
15792 cat >>confdefs.h <<_ACEOF
15793 #define HAVE_SCSIREQ_T_CMD 1
15794 _ACEOF
15798 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>
15799 #ifdef HAVE_SCSI_SG_H
15800 #include <scsi/sg.h>
15801 #endif
15803 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
15805 cat >>confdefs.h <<_ACEOF
15806 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15807 _ACEOF
15813 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15815 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
15817 cat >>confdefs.h <<_ACEOF
15818 #define HAVE_SIGINFO_T_SI_FD 1
15819 _ACEOF
15825 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15826 #ifdef HAVE_SYS_MTIO_H
15827 #include <sys/mtio.h>
15828 #endif
15830 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
15832 cat >>confdefs.h <<_ACEOF
15833 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15834 _ACEOF
15838 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15839 #ifdef HAVE_SYS_MTIO_H
15840 #include <sys/mtio.h>
15841 #endif
15843 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
15845 cat >>confdefs.h <<_ACEOF
15846 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15847 _ACEOF
15851 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15852 #ifdef HAVE_SYS_MTIO_H
15853 #include <sys/mtio.h>
15854 #endif
15856 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
15858 cat >>confdefs.h <<_ACEOF
15859 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15860 _ACEOF
15866 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15867 #include <getopt.h>
15868 #endif
15870 if test "x$ac_cv_member_struct_option_name" = xyes; then :
15872 cat >>confdefs.h <<_ACEOF
15873 #define HAVE_STRUCT_OPTION_NAME 1
15874 _ACEOF
15880 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15881 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
15883 cat >>confdefs.h <<_ACEOF
15884 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15885 _ACEOF
15889 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15890 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
15892 cat >>confdefs.h <<_ACEOF
15893 #define HAVE_STRUCT_STAT_ST_MTIM 1
15894 _ACEOF
15898 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15899 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
15901 cat >>confdefs.h <<_ACEOF
15902 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15903 _ACEOF
15907 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15908 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
15910 cat >>confdefs.h <<_ACEOF
15911 #define HAVE_STRUCT_STAT_ST_CTIM 1
15912 _ACEOF
15916 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15917 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
15919 cat >>confdefs.h <<_ACEOF
15920 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15921 _ACEOF
15925 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15926 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
15928 cat >>confdefs.h <<_ACEOF
15929 #define HAVE_STRUCT_STAT_ST_ATIM 1
15930 _ACEOF
15934 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15935 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
15937 cat >>confdefs.h <<_ACEOF
15938 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15939 _ACEOF
15943 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15944 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
15946 cat >>confdefs.h <<_ACEOF
15947 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15948 _ACEOF
15952 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15953 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
15955 cat >>confdefs.h <<_ACEOF
15956 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15957 _ACEOF
15961 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15962 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
15964 cat >>confdefs.h <<_ACEOF
15965 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15966 _ACEOF
15970 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15971 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
15973 cat >>confdefs.h <<_ACEOF
15974 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15975 _ACEOF
15979 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15980 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
15982 cat >>confdefs.h <<_ACEOF
15983 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15984 _ACEOF
15990 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
15991 #include <sys/types.h>
15992 #endif
15993 #ifdef HAVE_NETINET_IN_H
15994 #include <netinet/in.h>
15995 #endif
15997 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
15999 cat >>confdefs.h <<_ACEOF
16000 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16001 _ACEOF
16007 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16008 #include <resolv.h>
16009 #endif
16011 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16013 cat >>confdefs.h <<_ACEOF
16014 #define HAVE_STRUCT___RES_STATE 1
16015 _ACEOF
16021 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
16022 #include <resolv.h>
16023 #endif
16025 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16027 cat >>confdefs.h <<_ACEOF
16028 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16029 _ACEOF
16035 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16036 #include <sys/types.h>
16037 #endif
16038 #ifdef HAVE_NETINET_IN_H
16039 # include <netinet/in.h>
16040 #endif
16041 #ifdef HAVE_ARPA_NAMESER_H
16042 # include <arpa/nameser.h>
16043 #endif
16045 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16047 cat >>confdefs.h <<_ACEOF
16048 #define HAVE_NS_MSG__MSG_PTR 1
16049 _ACEOF
16055 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16056 #include <sys/types.h>
16057 #endif
16058 #ifdef HAVE_NETINET_IP_H
16059 #include <netinet/ip.h>
16060 #endif
16061 #ifdef HAVE_NETINET_IP_ICMP_H
16062 #include <netinet/ip_icmp.h>
16063 #endif
16064 #ifdef HAVE_NETINET_ICMP_VAR_H
16065 #include <netinet/icmp_var.h>
16066 #endif
16068 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16070 cat >>confdefs.h <<_ACEOF
16071 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16072 _ACEOF
16078 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16079 #include <sys/types.h>
16080 #endif
16081 #ifdef HAVE_ALIAS_H
16082 #include <alias.h>
16083 #endif
16084 #ifdef HAVE_SYS_SOCKET_H
16085 #include <sys/socket.h>
16086 #endif
16087 #ifdef HAVE_SYS_SOCKETVAR_H
16088 #include <sys/socketvar.h>
16089 #endif
16090 #ifdef HAVE_SYS_TIMEOUT_H
16091 #include <sys/timeout.h>
16092 #endif
16093 #ifdef HAVE_NETINET_IN_H
16094 #include <netinet/in.h>
16095 #endif
16096 #ifdef HAVE_NETINET_IN_SYSTM_H
16097 #include <netinet/in_systm.h>
16098 #endif
16099 #ifdef HAVE_NETINET_IP_H
16100 #include <netinet/ip.h>
16101 #endif
16102 #ifdef HAVE_NETINET_IP_VAR_H
16103 #include <netinet/ip_var.h>
16104 #endif
16105 #ifdef HAVE_NETINET_IP_ICMP_H
16106 #include <netinet/ip_icmp.h>
16107 #endif
16108 #ifdef HAVE_NETINET_ICMP_VAR_H
16109 #include <netinet/icmp_var.h>
16110 #endif
16112 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16114 cat >>confdefs.h <<_ACEOF
16115 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16116 _ACEOF
16122 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16123 #include <sys/types.h>
16124 #endif
16125 #ifdef HAVE_SYS_SOCKETVAR_H
16126 #include <sys/socketvar.h>
16127 #endif
16128 #ifdef HAVE_NETINET_IN_H
16129 #include <netinet/in.h>
16130 #endif
16131 #ifdef HAVE_NETINET_IP_VAR_H
16132 #include <netinet/ip_var.h>
16133 #endif
16135 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16137 cat >>confdefs.h <<_ACEOF
16138 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16139 _ACEOF
16145 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
16146 #include <netinet/ip_var.h>
16147 #endif
16149 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16151 cat >>confdefs.h <<_ACEOF
16152 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16153 _ACEOF
16159 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16160 #include <sys/types.h>
16161 #endif
16162 #ifdef HAVE_SYS_SOCKETVAR_H
16163 #include <sys/socketvar.h>
16164 #endif
16165 #ifdef HAVE_NETINET_IN_H
16166 #include <netinet/in.h>
16167 #endif
16168 #ifdef HAVE_NETINET_TCP_H
16169 #include <netinet/tcp.h>
16170 #endif
16171 #ifdef HAVE_NETINET_TCP_VAR_H
16172 #include <netinet/tcp_var.h>
16173 #endif
16175 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16177 cat >>confdefs.h <<_ACEOF
16178 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16179 _ACEOF
16185 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
16186 #include <netinet/tcp_var.h>
16187 #endif
16189 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16191 cat >>confdefs.h <<_ACEOF
16192 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16193 _ACEOF
16199 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16200 #include <sys/types.h>
16201 #endif
16202 #ifdef HAVE_NETINET_IN_H
16203 #include <netinet/in.h>
16204 #endif
16205 #ifdef HAVE_NETINET_IP_VAR_H
16206 #include <netinet/ip_var.h>
16207 #endif
16208 #ifdef HAVE_NETINET_UDP_H
16209 #include <netinet/udp.h>
16210 #endif
16211 #ifdef HAVE_NETINET_UDP_VAR_H
16212 #include <netinet/udp_var.h>
16213 #endif
16215 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16217 cat >>confdefs.h <<_ACEOF
16218 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16219 _ACEOF
16225 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16226 #include <sys/types.h>
16227 #endif
16228 #ifdef HAVE_NET_IF_H
16229 # include <net/if.h>
16230 #endif
16232 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16234 cat >>confdefs.h <<_ACEOF
16235 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16236 _ACEOF
16242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16243 $as_echo_n "checking for timezone variable... " >&6; }
16244 if ${ac_cv_have_timezone+:} false; then :
16245 $as_echo_n "(cached) " >&6
16246 else
16247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16248 /* end confdefs.h. */
16249 #include <time.h>
16251 main ()
16253 timezone = 1
16255 return 0;
16257 _ACEOF
16258 if ac_fn_c_try_link "$LINENO"; then :
16259 ac_cv_have_timezone="yes"
16260 else
16261 ac_cv_have_timezone="no"
16263 rm -f core conftest.err conftest.$ac_objext \
16264 conftest$ac_exeext conftest.$ac_ext
16266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16267 $as_echo "$ac_cv_have_timezone" >&6; }
16268 if test "$ac_cv_have_timezone" = "yes"
16269 then
16271 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16275 $as_echo_n "checking for daylight variable... " >&6; }
16276 if ${ac_cv_have_daylight+:} false; then :
16277 $as_echo_n "(cached) " >&6
16278 else
16279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16280 /* end confdefs.h. */
16281 #include <time.h>
16283 main ()
16285 daylight = 1
16287 return 0;
16289 _ACEOF
16290 if ac_fn_c_try_link "$LINENO"; then :
16291 ac_cv_have_daylight="yes"
16292 else
16293 ac_cv_have_daylight="no"
16295 rm -f core conftest.err conftest.$ac_objext \
16296 conftest$ac_exeext conftest.$ac_ext
16298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16299 $as_echo "$ac_cv_have_daylight" >&6; }
16300 if test "$ac_cv_have_daylight" = "yes"
16301 then
16303 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16307 ac_save_LIBS="$LIBS"
16308 LIBS="$LIBS -lm"
16309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16310 $as_echo_n "checking for isfinite... " >&6; }
16311 if ${ac_cv_have_isfinite+:} false; then :
16312 $as_echo_n "(cached) " >&6
16313 else
16314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16315 /* end confdefs.h. */
16316 #define _GNU_SOURCE
16317 #include <math.h>
16319 main ()
16321 float f = 0.0; return isfinite(f)
16323 return 0;
16325 _ACEOF
16326 if ac_fn_c_try_link "$LINENO"; then :
16327 ac_cv_have_isfinite="yes"
16328 else
16329 ac_cv_have_isfinite="no"
16331 rm -f core conftest.err conftest.$ac_objext \
16332 conftest$ac_exeext conftest.$ac_ext
16334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16335 $as_echo "$ac_cv_have_isfinite" >&6; }
16336 if test "$ac_cv_have_isfinite" = "yes"
16337 then
16339 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16343 ac_save_LIBS="$LIBS"
16344 LIBS="$LIBS -lm"
16345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16346 $as_echo_n "checking for isinf... " >&6; }
16347 if ${ac_cv_have_isinf+:} false; then :
16348 $as_echo_n "(cached) " >&6
16349 else
16350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16351 /* end confdefs.h. */
16352 #include <math.h>
16354 main ()
16356 float f = 0.0; return isinf(f)
16358 return 0;
16360 _ACEOF
16361 if ac_fn_c_try_link "$LINENO"; then :
16362 ac_cv_have_isinf="yes"
16363 else
16364 ac_cv_have_isinf="no"
16366 rm -f core conftest.err conftest.$ac_objext \
16367 conftest$ac_exeext conftest.$ac_ext
16369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16370 $as_echo "$ac_cv_have_isinf" >&6; }
16371 if test "$ac_cv_have_isinf" = "yes"
16372 then
16374 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16379 $as_echo_n "checking for isnan... " >&6; }
16380 if ${ac_cv_have_isnan+:} false; then :
16381 $as_echo_n "(cached) " >&6
16382 else
16383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16384 /* end confdefs.h. */
16385 #include <math.h>
16387 main ()
16389 float f = 0.0; return isnan(f)
16391 return 0;
16393 _ACEOF
16394 if ac_fn_c_try_link "$LINENO"; then :
16395 ac_cv_have_isnan="yes"
16396 else
16397 ac_cv_have_isnan="no"
16399 rm -f core conftest.err conftest.$ac_objext \
16400 conftest$ac_exeext conftest.$ac_ext
16402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16403 $as_echo "$ac_cv_have_isnan" >&6; }
16404 if test "$ac_cv_have_isnan" = "yes"
16405 then
16407 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16410 LIBS="$ac_save_LIBS"
16413 case $host_cpu in
16414 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16415 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16416 if ${ac_cv_cpp_def___i386__+:} false; then :
16417 $as_echo_n "(cached) " >&6
16418 else
16419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16420 /* end confdefs.h. */
16421 #ifndef __i386__
16423 #endif
16424 _ACEOF
16425 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16426 $EGREP "yes" >/dev/null 2>&1; then :
16427 ac_cv_cpp_def___i386__=yes
16428 else
16429 ac_cv_cpp_def___i386__=no
16431 rm -f conftest*
16434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16435 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16436 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16437 CFLAGS="$CFLAGS -D__i386__"
16438 LINTFLAGS="$LINTFLAGS -D__i386__"
16439 fi ;;
16440 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16441 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16442 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16443 $as_echo_n "(cached) " >&6
16444 else
16445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16446 /* end confdefs.h. */
16447 #ifndef __x86_64__
16449 #endif
16450 _ACEOF
16451 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16452 $EGREP "yes" >/dev/null 2>&1; then :
16453 ac_cv_cpp_def___x86_64__=yes
16454 else
16455 ac_cv_cpp_def___x86_64__=no
16457 rm -f conftest*
16460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16461 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16462 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16463 CFLAGS="$CFLAGS -D__x86_64__"
16464 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16465 fi ;;
16466 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16467 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16468 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16469 $as_echo_n "(cached) " >&6
16470 else
16471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16472 /* end confdefs.h. */
16473 #ifndef __sparc64__
16475 #endif
16476 _ACEOF
16477 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16478 $EGREP "yes" >/dev/null 2>&1; then :
16479 ac_cv_cpp_def___sparc64__=yes
16480 else
16481 ac_cv_cpp_def___sparc64__=no
16483 rm -f conftest*
16486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16487 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16488 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
16489 CFLAGS="$CFLAGS -D__sparc64__"
16490 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16491 fi ;;
16492 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16493 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16494 if ${ac_cv_cpp_def___sparc__+:} false; then :
16495 $as_echo_n "(cached) " >&6
16496 else
16497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16498 /* end confdefs.h. */
16499 #ifndef __sparc__
16501 #endif
16502 _ACEOF
16503 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16504 $EGREP "yes" >/dev/null 2>&1; then :
16505 ac_cv_cpp_def___sparc__=yes
16506 else
16507 ac_cv_cpp_def___sparc__=no
16509 rm -f conftest*
16512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16513 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16514 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
16515 CFLAGS="$CFLAGS -D__sparc__"
16516 LINTFLAGS="$LINTFLAGS -D__sparc__"
16517 fi ;;
16518 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16519 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16520 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
16521 $as_echo_n "(cached) " >&6
16522 else
16523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16524 /* end confdefs.h. */
16525 #ifndef __powerpc64__
16527 #endif
16528 _ACEOF
16529 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16530 $EGREP "yes" >/dev/null 2>&1; then :
16531 ac_cv_cpp_def___powerpc64__=yes
16532 else
16533 ac_cv_cpp_def___powerpc64__=no
16535 rm -f conftest*
16538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16539 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16540 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
16541 CFLAGS="$CFLAGS -D__powerpc64__"
16542 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
16543 fi ;;
16544 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16545 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16546 if ${ac_cv_cpp_def___powerpc__+:} false; then :
16547 $as_echo_n "(cached) " >&6
16548 else
16549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16550 /* end confdefs.h. */
16551 #ifndef __powerpc__
16553 #endif
16554 _ACEOF
16555 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16556 $EGREP "yes" >/dev/null 2>&1; then :
16557 ac_cv_cpp_def___powerpc__=yes
16558 else
16559 ac_cv_cpp_def___powerpc__=no
16561 rm -f conftest*
16564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16565 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16566 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
16567 CFLAGS="$CFLAGS -D__powerpc__"
16568 LINTFLAGS="$LINTFLAGS -D__powerpc__"
16569 fi ;;
16570 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16571 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16572 if ${ac_cv_cpp_def___aarch64__+:} false; then :
16573 $as_echo_n "(cached) " >&6
16574 else
16575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16576 /* end confdefs.h. */
16577 #ifndef __aarch64__
16579 #endif
16580 _ACEOF
16581 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16582 $EGREP "yes" >/dev/null 2>&1; then :
16583 ac_cv_cpp_def___aarch64__=yes
16584 else
16585 ac_cv_cpp_def___aarch64__=no
16587 rm -f conftest*
16590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16591 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16592 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
16593 CFLAGS="$CFLAGS -D__aarch64__"
16594 LINTFLAGS="$LINTFLAGS -D__aarch64__"
16595 fi ;;
16596 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16597 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16598 if ${ac_cv_cpp_def___arm__+:} false; then :
16599 $as_echo_n "(cached) " >&6
16600 else
16601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16602 /* end confdefs.h. */
16603 #ifndef __arm__
16605 #endif
16606 _ACEOF
16607 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16608 $EGREP "yes" >/dev/null 2>&1; then :
16609 ac_cv_cpp_def___arm__=yes
16610 else
16611 ac_cv_cpp_def___arm__=no
16613 rm -f conftest*
16616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16617 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16618 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
16619 CFLAGS="$CFLAGS -D__arm__"
16620 LINTFLAGS="$LINTFLAGS -D__arm__"
16621 fi ;;
16622 esac
16624 case $host_vendor in
16625 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16626 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16627 if ${ac_cv_cpp_def___sun__+:} false; then :
16628 $as_echo_n "(cached) " >&6
16629 else
16630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16631 /* end confdefs.h. */
16632 #ifndef __sun__
16634 #endif
16635 _ACEOF
16636 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16637 $EGREP "yes" >/dev/null 2>&1; then :
16638 ac_cv_cpp_def___sun__=yes
16639 else
16640 ac_cv_cpp_def___sun__=no
16642 rm -f conftest*
16645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16646 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16647 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
16648 CFLAGS="$CFLAGS -D__sun__"
16649 LINTFLAGS="$LINTFLAGS -D__sun__"
16650 fi ;;
16651 esac
16657 ac_config_commands="$ac_config_commands include/stamp-h"
16659 $as_echo_n "creating Makefile rules..." >&6
16661 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
16662 SOCKET_LIBS = $SOCKET_LIBS
16663 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16664 IOKIT_LIBS = $IOKIT_LIBS
16665 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16666 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16667 CORESERVICES_LIBS = $CORESERVICES_LIBS
16668 APPKIT_LIBS = $APPKIT_LIBS
16669 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16670 SECURITY_LIBS = $SECURITY_LIBS
16671 COREAUDIO_LIBS = $COREAUDIO_LIBS
16672 OPENAL_LIBS = $OPENAL_LIBS
16673 OPENCL_LIBS = $OPENCL_LIBS
16674 QUICKTIME_LIBS = $QUICKTIME_LIBS
16675 CARBON_LIBS = $CARBON_LIBS
16676 PTHREAD_LIBS = $PTHREAD_LIBS
16677 X_CFLAGS = $X_CFLAGS
16678 X_PRE_LIBS = $X_PRE_LIBS
16679 X_LIBS = $X_LIBS
16680 X_EXTRA_LIBS = $X_EXTRA_LIBS
16681 XML2_CFLAGS = $XML2_CFLAGS
16682 XML2_LIBS = $XML2_LIBS
16683 XSLT_CFLAGS = $XSLT_CFLAGS
16684 XSLT_LIBS = $XSLT_LIBS
16685 DBUS_CFLAGS = $DBUS_CFLAGS
16686 DBUS_LIBS = $DBUS_LIBS
16687 HAL_CFLAGS = $HAL_CFLAGS
16688 HAL_LIBS = $HAL_LIBS
16689 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16690 GNUTLS_LIBS = $GNUTLS_LIBS
16691 SANE_CFLAGS = $SANE_CFLAGS
16692 SANE_LIBS = $SANE_LIBS
16693 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16694 GPHOTO2_LIBS = $GPHOTO2_LIBS
16695 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16696 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16697 RESOLV_LIBS = $RESOLV_LIBS
16698 LCMS2_CFLAGS = $LCMS2_CFLAGS
16699 LCMS2_LIBS = $LCMS2_LIBS
16700 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16701 FREETYPE_LIBS = $FREETYPE_LIBS
16702 Z_LIBS = $Z_LIBS
16703 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16704 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16705 GSTREAMER_LIBS = $GSTREAMER_LIBS
16706 ALSA_LIBS = $ALSA_LIBS
16707 OSS4_CFLAGS = $OSS4_CFLAGS
16708 CAPI20_CFLAGS = $CAPI20_CFLAGS
16709 CAPI20_LIBS = $CAPI20_LIBS
16710 CUPS_CFLAGS = $CUPS_CFLAGS
16711 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16712 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16713 JPEG_CFLAGS = $JPEG_CFLAGS
16714 JPEG_LIBS = $JPEG_LIBS
16715 PNG_CFLAGS = $PNG_CFLAGS
16716 PNG_LIBS = $PNG_LIBS
16717 TIFF_CFLAGS = $TIFF_CFLAGS
16718 TIFF_LIBS = $TIFF_LIBS
16719 MPG123_CFLAGS = $MPG123_CFLAGS
16720 MPG123_LIBS = $MPG123_LIBS
16721 KSTAT_LIBS = $KSTAT_LIBS
16722 PROCSTAT_LIBS = $PROCSTAT_LIBS
16723 DL_LIBS = $DL_LIBS
16724 POLL_LIBS = $POLL_LIBS
16725 RT_LIBS = $RT_LIBS
16726 LDAP_LIBS = $LDAP_LIBS
16731 wine_fn_append_rule "
16732 # Rules automatically generated by configure
16734 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16736 .INIT: Makefile
16737 .MAKEFILEDEPS:
16738 all: Makefile
16739 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16740 @./config.status Make.tmp Makefile"
16742 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
16743 .gitignore: config.status
16744 @./config.status .gitignore"
16746 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
16747 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16749 if test "x$enable_fonts" != xno; then
16750 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16751 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16752 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16753 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16754 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf
16756 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16757 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
16758 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
16759 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
16760 ac_config_links="$ac_config_links wine:tools/winewrapper"
16761 wine_fn_config_symlink wine
16762 if test "x$enable_win64" != xno; then
16763 ac_config_links="$ac_config_links wine64:tools/winewrapper"
16764 wine_fn_config_symlink wine64
16767 wine_fn_config_dll acledit enable_acledit
16768 wine_fn_config_dll aclui enable_aclui implib
16769 wine_fn_config_dll activeds enable_activeds implib
16770 wine_fn_config_dll actxprxy enable_actxprxy clean
16771 wine_fn_config_lib adsiid
16772 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
16773 wine_fn_config_test dlls/advapi32/tests advapi32_test
16774 wine_fn_config_dll advpack enable_advpack implib
16775 wine_fn_config_test dlls/advpack/tests advpack_test
16776 wine_fn_config_dll amstream enable_amstream clean
16777 wine_fn_config_test dlls/amstream/tests amstream_test
16778 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16779 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16780 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
16781 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16782 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16783 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
16784 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16785 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
16786 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
16787 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16788 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16789 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16790 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16791 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
16792 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
16793 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
16794 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
16795 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
16796 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
16797 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16798 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
16799 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
16800 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
16801 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16802 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
16803 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
16804 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
16805 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
16806 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
16807 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
16808 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
16809 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
16810 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
16811 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
16812 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
16813 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
16814 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
16815 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
16816 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
16817 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16818 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
16819 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16820 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16821 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16822 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16823 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16824 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16825 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16826 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16827 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16828 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16829 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
16830 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
16831 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16832 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
16833 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
16834 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
16835 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
16836 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
16837 wine_fn_config_dll apphelp enable_apphelp
16838 wine_fn_config_test dlls/apphelp/tests apphelp_test
16839 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16840 wine_fn_config_dll atl enable_atl clean,implib
16841 wine_fn_config_test dlls/atl/tests atl_test
16842 wine_fn_config_dll atl100 enable_atl100 clean,implib
16843 wine_fn_config_test dlls/atl100/tests atl100_test
16844 wine_fn_config_dll atl110 enable_atl110 clean
16845 wine_fn_config_dll atl80 enable_atl80 clean,implib
16846 wine_fn_config_test dlls/atl80/tests atl80_test
16847 wine_fn_config_dll atl90 enable_atl90 clean
16848 wine_fn_config_dll authz enable_authz
16849 wine_fn_config_dll avicap32 enable_avicap32 implib
16850 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
16851 wine_fn_config_test dlls/avifil32/tests avifil32_test
16852 wine_fn_config_dll avifile.dll16 enable_win16
16853 wine_fn_config_dll avrt enable_avrt implib
16854 wine_fn_config_dll bcrypt enable_bcrypt
16855 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
16856 wine_fn_config_dll browseui enable_browseui clean,po
16857 wine_fn_config_test dlls/browseui/tests browseui_test
16858 wine_fn_config_dll cabinet enable_cabinet implib
16859 wine_fn_config_test dlls/cabinet/tests cabinet_test
16860 wine_fn_config_dll capi2032 enable_capi2032 implib
16861 wine_fn_config_dll cards enable_cards implib
16862 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16863 wine_fn_config_dll clusapi enable_clusapi implib
16864 wine_fn_config_dll comcat enable_comcat
16865 wine_fn_config_test dlls/comcat/tests comcat_test
16866 wine_fn_config_dll comctl32 enable_comctl32 implib,po
16867 wine_fn_config_test dlls/comctl32/tests comctl32_test
16868 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
16869 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
16870 wine_fn_config_dll comm.drv16 enable_win16
16871 wine_fn_config_dll commdlg.dll16 enable_win16
16872 wine_fn_config_dll compobj.dll16 enable_win16
16873 wine_fn_config_dll compstui enable_compstui implib
16874 wine_fn_config_dll comsvcs enable_comsvcs implib
16875 wine_fn_config_dll credui enable_credui implib,po
16876 wine_fn_config_test dlls/credui/tests credui_test
16877 wine_fn_config_dll crtdll enable_crtdll implib
16878 wine_fn_config_dll crypt32 enable_crypt32 implib,po
16879 wine_fn_config_test dlls/crypt32/tests crypt32_test
16880 wine_fn_config_dll cryptdlg enable_cryptdlg po
16881 wine_fn_config_dll cryptdll enable_cryptdll implib
16882 wine_fn_config_dll cryptext enable_cryptext
16883 wine_fn_config_dll cryptnet enable_cryptnet implib
16884 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
16885 wine_fn_config_dll cryptui enable_cryptui implib,po
16886 wine_fn_config_test dlls/cryptui/tests cryptui_test
16887 wine_fn_config_dll ctapi32 enable_ctapi32
16888 wine_fn_config_dll ctl3d.dll16 enable_win16
16889 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16890 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16891 wine_fn_config_dll d2d1 enable_d2d1 implib
16892 wine_fn_config_test dlls/d2d1/tests d2d1_test
16893 wine_fn_config_dll d3d10 enable_d3d10 implib
16894 wine_fn_config_test dlls/d3d10/tests d3d10_test
16895 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
16896 wine_fn_config_dll d3d10core enable_d3d10core implib
16897 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
16898 wine_fn_config_dll d3d11 enable_d3d11
16899 wine_fn_config_dll d3d8 enable_d3d8 implib
16900 wine_fn_config_test dlls/d3d8/tests d3d8_test
16901 wine_fn_config_dll d3d9 enable_d3d9 implib
16902 wine_fn_config_test dlls/d3d9/tests d3d9_test
16903 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16904 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16905 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16906 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16907 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16908 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16909 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16910 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16911 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16912 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16913 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16914 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
16915 wine_fn_config_dll d3dim enable_d3dim implib
16916 wine_fn_config_dll d3drm enable_d3drm implib
16917 wine_fn_config_test dlls/d3drm/tests d3drm_test
16918 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16919 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16920 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16921 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16922 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16923 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16924 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16925 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16926 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16927 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16928 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16929 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16930 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16931 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16932 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16933 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16934 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16935 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16936 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16937 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16938 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16939 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16940 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16941 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16942 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16943 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16944 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
16945 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16946 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16947 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16948 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16949 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16950 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16951 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16952 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
16953 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
16954 wine_fn_config_dll dbgeng enable_dbgeng implib
16955 wine_fn_config_dll dbghelp enable_dbghelp implib
16956 wine_fn_config_dll dciman32 enable_dciman32 implib
16957 wine_fn_config_dll ddeml.dll16 enable_win16
16958 wine_fn_config_dll ddraw enable_ddraw clean,implib
16959 wine_fn_config_test dlls/ddraw/tests ddraw_test
16960 wine_fn_config_dll ddrawex enable_ddrawex clean
16961 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
16962 wine_fn_config_dll devenum enable_devenum clean,po
16963 wine_fn_config_test dlls/devenum/tests devenum_test
16964 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16965 wine_fn_config_dll difxapi enable_difxapi
16966 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
16967 wine_fn_config_test dlls/dinput/tests dinput_test
16968 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
16969 wine_fn_config_test dlls/dinput8/tests dinput8_test
16970 wine_fn_config_dll dispdib.dll16 enable_win16
16971 wine_fn_config_dll dispex enable_dispex clean
16972 wine_fn_config_test dlls/dispex/tests dispex_test
16973 wine_fn_config_dll display.drv16 enable_win16
16974 wine_fn_config_dll dmband enable_dmband clean
16975 wine_fn_config_test dlls/dmband/tests dmband_test
16976 wine_fn_config_dll dmcompos enable_dmcompos clean
16977 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
16978 wine_fn_config_dll dmime enable_dmime clean
16979 wine_fn_config_test dlls/dmime/tests dmime_test
16980 wine_fn_config_dll dmloader enable_dmloader clean
16981 wine_fn_config_test dlls/dmloader/tests dmloader_test
16982 wine_fn_config_dll dmscript enable_dmscript clean
16983 wine_fn_config_test dlls/dmscript/tests dmscript_test
16984 wine_fn_config_dll dmstyle enable_dmstyle clean
16985 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
16986 wine_fn_config_dll dmsynth enable_dmsynth clean
16987 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
16988 wine_fn_config_dll dmusic enable_dmusic clean
16989 wine_fn_config_test dlls/dmusic/tests dmusic_test
16990 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16991 wine_fn_config_dll dnsapi enable_dnsapi implib
16992 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
16993 wine_fn_config_dll dplay enable_dplay implib
16994 wine_fn_config_dll dplayx enable_dplayx clean,implib
16995 wine_fn_config_test dlls/dplayx/tests dplayx_test
16996 wine_fn_config_dll dpnaddr enable_dpnaddr
16997 wine_fn_config_dll dpnet enable_dpnet clean,implib
16998 wine_fn_config_test dlls/dpnet/tests dpnet_test
16999 wine_fn_config_dll dpnhpast enable_dpnhpast
17000 wine_fn_config_dll dpnlobby enable_dpnlobby
17001 wine_fn_config_dll dpvoice enable_dpvoice clean
17002 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17003 wine_fn_config_dll dpwsockx enable_dpwsockx
17004 wine_fn_config_dll drmclien enable_drmclien
17005 wine_fn_config_dll dsound enable_dsound clean,implib
17006 wine_fn_config_test dlls/dsound/tests dsound_test
17007 wine_fn_config_dll dssenh enable_dssenh
17008 wine_fn_config_test dlls/dssenh/tests dssenh_test
17009 wine_fn_config_dll dswave enable_dswave clean
17010 wine_fn_config_test dlls/dswave/tests dswave_test
17011 wine_fn_config_dll dwmapi enable_dwmapi implib
17012 wine_fn_config_dll dwrite enable_dwrite implib
17013 wine_fn_config_test dlls/dwrite/tests dwrite_test
17014 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
17015 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17016 wine_fn_config_lib dxerr8
17017 wine_fn_config_lib dxerr9
17018 wine_fn_config_dll dxgi enable_dxgi implib
17019 wine_fn_config_test dlls/dxgi/tests dxgi_test
17020 wine_fn_config_lib dxguid
17021 wine_fn_config_dll dxva2 enable_dxva2
17022 wine_fn_config_dll explorerframe enable_explorerframe clean
17023 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17024 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17025 wine_fn_config_dll faultrep enable_faultrep implib
17026 wine_fn_config_test dlls/faultrep/tests faultrep_test
17027 wine_fn_config_dll fltlib enable_fltlib
17028 wine_fn_config_dll fntcache enable_fntcache
17029 wine_fn_config_dll fontsub enable_fontsub
17030 wine_fn_config_dll fusion enable_fusion
17031 wine_fn_config_test dlls/fusion/tests fusion_test
17032 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17033 wine_fn_config_dll gameux enable_gameux clean
17034 wine_fn_config_test dlls/gameux/tests gameux_test
17035 wine_fn_config_dll gdi.exe16 enable_win16
17036 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
17037 wine_fn_config_test dlls/gdi32/tests gdi32_test
17038 wine_fn_config_dll gdiplus enable_gdiplus implib
17039 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17040 wine_fn_config_dll glu32 enable_glu32 implib
17041 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17042 wine_fn_config_dll gpkcsp enable_gpkcsp
17043 wine_fn_config_dll hal enable_hal
17044 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
17045 wine_fn_config_dll hid enable_hid implib
17046 wine_fn_config_dll hlink enable_hlink clean,implib
17047 wine_fn_config_test dlls/hlink/tests hlink_test
17048 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17049 wine_fn_config_dll httpapi enable_httpapi
17050 wine_fn_config_dll iccvid enable_iccvid po
17051 wine_fn_config_dll icmp enable_icmp
17052 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
17053 wine_fn_config_test dlls/ieframe/tests ieframe_test
17054 wine_fn_config_dll ifsmgr.vxd enable_win16
17055 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17056 wine_fn_config_dll imagehlp enable_imagehlp implib
17057 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17058 wine_fn_config_dll imm.dll16 enable_win16
17059 wine_fn_config_dll imm32 enable_imm32 implib
17060 wine_fn_config_test dlls/imm32/tests imm32_test
17061 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17062 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17063 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17064 wine_fn_config_dll inetmib1 enable_inetmib1
17065 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17066 wine_fn_config_dll infosoft enable_infosoft clean
17067 wine_fn_config_test dlls/infosoft/tests infosoft_test
17068 wine_fn_config_dll initpki enable_initpki
17069 wine_fn_config_dll inkobj enable_inkobj
17070 wine_fn_config_dll inseng enable_inseng clean
17071 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17072 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17073 wine_fn_config_dll itircl enable_itircl
17074 wine_fn_config_dll itss enable_itss clean
17075 wine_fn_config_test dlls/itss/tests itss_test
17076 wine_fn_config_dll joy.cpl enable_joy_cpl po
17077 wine_fn_config_dll jscript enable_jscript clean,po
17078 wine_fn_config_test dlls/jscript/tests jscript_test
17079 wine_fn_config_dll jsproxy enable_jsproxy implib
17080 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
17081 wine_fn_config_test dlls/kernel32/tests kernel32_test
17082 wine_fn_config_dll keyboard.drv16 enable_win16
17083 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17084 wine_fn_config_dll ksuser enable_ksuser
17085 wine_fn_config_dll ktmw32 enable_ktmw32
17086 wine_fn_config_dll loadperf enable_loadperf implib
17087 wine_fn_config_dll localspl enable_localspl po
17088 wine_fn_config_test dlls/localspl/tests localspl_test
17089 wine_fn_config_dll localui enable_localui po
17090 wine_fn_config_test dlls/localui/tests localui_test
17091 wine_fn_config_dll lz32 enable_lz32 implib
17092 wine_fn_config_test dlls/lz32/tests lz32_test
17093 wine_fn_config_dll lzexpand.dll16 enable_win16
17094 wine_fn_config_dll mapi32 enable_mapi32 implib,po
17095 wine_fn_config_test dlls/mapi32/tests mapi32_test
17096 wine_fn_config_dll mapistub enable_mapistub
17097 wine_fn_config_dll mciavi32 enable_mciavi32
17098 wine_fn_config_dll mcicda enable_mcicda
17099 wine_fn_config_dll mciqtz32 enable_mciqtz32
17100 wine_fn_config_dll mciseq enable_mciseq
17101 wine_fn_config_dll mciwave enable_mciwave
17102 wine_fn_config_dll mgmtapi enable_mgmtapi
17103 wine_fn_config_dll midimap enable_midimap
17104 wine_fn_config_dll mlang enable_mlang clean,implib
17105 wine_fn_config_test dlls/mlang/tests mlang_test
17106 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17107 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17108 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17109 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17110 wine_fn_config_dll mmdevldr.vxd enable_win16
17111 wine_fn_config_dll mmsystem.dll16 enable_win16
17112 wine_fn_config_dll monodebg.vxd enable_win16
17113 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17114 wine_fn_config_dll mouse.drv16 enable_win16
17115 wine_fn_config_dll mpr enable_mpr implib,po
17116 wine_fn_config_test dlls/mpr/tests mpr_test
17117 wine_fn_config_dll mprapi enable_mprapi implib
17118 wine_fn_config_dll msacm.dll16 enable_win16
17119 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17120 wine_fn_config_dll msacm32 enable_msacm32 implib,po
17121 wine_fn_config_test dlls/msacm32/tests msacm32_test
17122 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17123 wine_fn_config_dll msasn1 enable_msasn1 implib
17124 wine_fn_config_dll mscat32 enable_mscat32
17125 wine_fn_config_dll mscms enable_mscms implib
17126 wine_fn_config_test dlls/mscms/tests mscms_test
17127 wine_fn_config_dll mscoree enable_mscoree clean
17128 wine_fn_config_test dlls/mscoree/tests mscoree_test
17129 wine_fn_config_dll msctf enable_msctf clean
17130 wine_fn_config_test dlls/msctf/tests msctf_test
17131 wine_fn_config_dll msdaps enable_msdaps clean
17132 wine_fn_config_dll msdmo enable_msdmo implib
17133 wine_fn_config_dll msftedit enable_msftedit
17134 wine_fn_config_dll msg711.acm enable_msg711_acm
17135 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17136 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17137 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
17138 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17139 wine_fn_config_dll msi enable_msi clean,implib,po
17140 wine_fn_config_test dlls/msi/tests msi_test
17141 wine_fn_config_dll msident enable_msident clean
17142 wine_fn_config_dll msimg32 enable_msimg32 implib
17143 wine_fn_config_dll msimsg enable_msimsg
17144 wine_fn_config_dll msimtf enable_msimtf clean
17145 wine_fn_config_dll msisip enable_msisip
17146 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17147 wine_fn_config_dll msls31 enable_msls31
17148 wine_fn_config_dll msnet32 enable_msnet32
17149 wine_fn_config_dll mspatcha enable_mspatcha
17150 wine_fn_config_dll msrle32 enable_msrle32 po
17151 wine_fn_config_test dlls/msrle32/tests msrle32_test
17152 wine_fn_config_dll mssign32 enable_mssign32
17153 wine_fn_config_dll mssip32 enable_mssip32
17154 wine_fn_config_dll mstask enable_mstask clean
17155 wine_fn_config_test dlls/mstask/tests mstask_test
17156 wine_fn_config_dll msvcirt enable_msvcirt
17157 wine_fn_config_dll msvcm80 enable_msvcm80
17158 wine_fn_config_dll msvcm90 enable_msvcm90
17159 wine_fn_config_dll msvcp100 enable_msvcp100
17160 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17161 wine_fn_config_dll msvcp110 enable_msvcp110
17162 wine_fn_config_dll msvcp120 enable_msvcp120
17163 wine_fn_config_dll msvcp60 enable_msvcp60
17164 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17165 wine_fn_config_dll msvcp70 enable_msvcp70
17166 wine_fn_config_dll msvcp71 enable_msvcp71
17167 wine_fn_config_dll msvcp80 enable_msvcp80
17168 wine_fn_config_dll msvcp90 enable_msvcp90
17169 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17170 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17171 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17172 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17173 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17174 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
17175 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17176 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17177 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17178 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17179 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17180 wine_fn_config_dll msvcrt enable_msvcrt implib
17181 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17182 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17183 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17184 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17185 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17186 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17187 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17188 wine_fn_config_dll msvidc32 enable_msvidc32 po
17189 wine_fn_config_dll msvideo.dll16 enable_win16
17190 wine_fn_config_dll mswsock enable_mswsock implib
17191 wine_fn_config_dll msxml enable_msxml clean
17192 wine_fn_config_dll msxml2 enable_msxml2 clean
17193 wine_fn_config_dll msxml3 enable_msxml3 clean
17194 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17195 wine_fn_config_dll msxml4 enable_msxml4 clean
17196 wine_fn_config_dll msxml6 enable_msxml6 clean
17197 wine_fn_config_dll nddeapi enable_nddeapi implib
17198 wine_fn_config_dll ndis.sys enable_ndis_sys
17199 wine_fn_config_dll netapi32 enable_netapi32 implib
17200 wine_fn_config_test dlls/netapi32/tests netapi32_test
17201 wine_fn_config_dll netcfgx enable_netcfgx clean
17202 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17203 wine_fn_config_dll netprofm enable_netprofm clean
17204 wine_fn_config_test dlls/netprofm/tests netprofm_test
17205 wine_fn_config_dll newdev enable_newdev implib
17206 wine_fn_config_dll normaliz enable_normaliz implib
17207 wine_fn_config_dll npmshtml enable_npmshtml
17208 wine_fn_config_dll npptools enable_npptools
17209 wine_fn_config_dll ntdll enable_ntdll implib
17210 wine_fn_config_test dlls/ntdll/tests ntdll_test
17211 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17212 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17213 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17214 wine_fn_config_dll ntprint enable_ntprint
17215 wine_fn_config_test dlls/ntprint/tests ntprint_test
17216 wine_fn_config_dll objsel enable_objsel clean
17217 wine_fn_config_dll odbc32 enable_odbc32 implib
17218 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17219 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17220 wine_fn_config_dll odbccu32 enable_odbccu32
17221 wine_fn_config_dll ole2.dll16 enable_win16
17222 wine_fn_config_dll ole2conv.dll16 enable_win16
17223 wine_fn_config_dll ole2disp.dll16 enable_win16
17224 wine_fn_config_dll ole2nls.dll16 enable_win16
17225 wine_fn_config_dll ole2prox.dll16 enable_win16
17226 wine_fn_config_dll ole2thk.dll16 enable_win16
17227 wine_fn_config_dll ole32 enable_ole32 clean,implib
17228 wine_fn_config_test dlls/ole32/tests ole32_test
17229 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17230 wine_fn_config_test dlls/oleacc/tests oleacc_test
17231 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17232 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17233 wine_fn_config_dll olecli.dll16 enable_win16
17234 wine_fn_config_dll olecli32 enable_olecli32 implib
17235 wine_fn_config_dll oledb32 enable_oledb32 clean
17236 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17237 wine_fn_config_dll oledlg enable_oledlg implib,po
17238 wine_fn_config_dll olepro32 enable_olepro32 implib
17239 wine_fn_config_dll olesvr.dll16 enable_win16
17240 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17241 wine_fn_config_dll olethk32 enable_olethk32
17242 wine_fn_config_dll openal32 enable_openal32
17243 wine_fn_config_dll opencl enable_opencl
17244 wine_fn_config_dll opengl32 enable_opengl32 implib
17245 wine_fn_config_test dlls/opengl32/tests opengl32_test
17246 wine_fn_config_dll packager enable_packager clean
17247 wine_fn_config_test dlls/packager/tests packager_test
17248 wine_fn_config_dll pdh enable_pdh implib
17249 wine_fn_config_test dlls/pdh/tests pdh_test
17250 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17251 wine_fn_config_dll pidgen enable_pidgen
17252 wine_fn_config_dll powrprof enable_powrprof implib
17253 wine_fn_config_dll printui enable_printui
17254 wine_fn_config_dll prntvpt enable_prntvpt
17255 wine_fn_config_dll propsys enable_propsys clean,implib
17256 wine_fn_config_test dlls/propsys/tests propsys_test
17257 wine_fn_config_dll psapi enable_psapi implib
17258 wine_fn_config_test dlls/psapi/tests psapi_test
17259 wine_fn_config_dll pstorec enable_pstorec clean
17260 wine_fn_config_dll qcap enable_qcap
17261 wine_fn_config_test dlls/qcap/tests qcap_test
17262 wine_fn_config_dll qedit enable_qedit clean
17263 wine_fn_config_test dlls/qedit/tests qedit_test
17264 wine_fn_config_dll qmgr enable_qmgr clean
17265 wine_fn_config_test dlls/qmgr/tests qmgr_test
17266 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17267 wine_fn_config_dll quartz enable_quartz clean,implib
17268 wine_fn_config_test dlls/quartz/tests quartz_test clean
17269 wine_fn_config_dll query enable_query
17270 wine_fn_config_dll rasapi16.dll16 enable_win16
17271 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17272 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17273 wine_fn_config_dll rasdlg enable_rasdlg implib
17274 wine_fn_config_dll regapi enable_regapi
17275 wine_fn_config_dll resutils enable_resutils implib
17276 wine_fn_config_dll riched20 enable_riched20 implib
17277 wine_fn_config_test dlls/riched20/tests riched20_test
17278 wine_fn_config_dll riched32 enable_riched32
17279 wine_fn_config_test dlls/riched32/tests riched32_test
17280 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17281 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17282 wine_fn_config_dll rsabase enable_rsabase
17283 wine_fn_config_dll rsaenh enable_rsaenh implib
17284 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17285 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17286 wine_fn_config_dll rtutils enable_rtutils implib
17287 wine_fn_config_dll samlib enable_samlib
17288 wine_fn_config_dll sane.ds enable_sane_ds po
17289 wine_fn_config_dll scarddlg enable_scarddlg
17290 wine_fn_config_dll sccbase enable_sccbase
17291 wine_fn_config_dll schannel enable_schannel
17292 wine_fn_config_test dlls/schannel/tests schannel_test
17293 wine_fn_config_dll schedsvc enable_schedsvc clean
17294 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17295 wine_fn_config_dll scrrun enable_scrrun clean
17296 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17297 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17298 wine_fn_config_dll secur32 enable_secur32 implib
17299 wine_fn_config_test dlls/secur32/tests secur32_test
17300 wine_fn_config_dll security enable_security
17301 wine_fn_config_dll sensapi enable_sensapi implib
17302 wine_fn_config_dll serialui enable_serialui implib,po
17303 wine_fn_config_test dlls/serialui/tests serialui_test
17304 wine_fn_config_dll setupapi enable_setupapi implib,po
17305 wine_fn_config_test dlls/setupapi/tests setupapi_test
17306 wine_fn_config_dll setupx.dll16 enable_win16
17307 wine_fn_config_dll sfc enable_sfc implib
17308 wine_fn_config_dll sfc_os enable_sfc_os implib
17309 wine_fn_config_dll shdoclc enable_shdoclc po
17310 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17311 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17312 wine_fn_config_dll shell.dll16 enable_win16
17313 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17314 wine_fn_config_test dlls/shell32/tests shell32_test
17315 wine_fn_config_dll shfolder enable_shfolder implib
17316 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17317 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17318 wine_fn_config_dll slbcsp enable_slbcsp
17319 wine_fn_config_dll slc enable_slc implib
17320 wine_fn_config_dll snmpapi enable_snmpapi implib
17321 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17322 wine_fn_config_dll softpub enable_softpub
17323 wine_fn_config_dll sound.drv16 enable_win16
17324 wine_fn_config_dll spoolss enable_spoolss implib
17325 wine_fn_config_test dlls/spoolss/tests spoolss_test
17326 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17327 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17328 wine_fn_config_dll sti enable_sti clean,implib
17329 wine_fn_config_test dlls/sti/tests sti_test
17330 wine_fn_config_dll storage.dll16 enable_win16
17331 wine_fn_config_dll stress.dll16 enable_win16
17332 wine_fn_config_lib strmbase
17333 wine_fn_config_lib strmiids
17334 wine_fn_config_dll svrapi enable_svrapi
17335 wine_fn_config_dll sxs enable_sxs implib
17336 wine_fn_config_test dlls/sxs/tests sxs_test
17337 wine_fn_config_dll system.drv16 enable_win16
17338 wine_fn_config_dll t2embed enable_t2embed
17339 wine_fn_config_dll tapi32 enable_tapi32 implib
17340 wine_fn_config_dll taskschd enable_taskschd clean
17341 wine_fn_config_test dlls/taskschd/tests taskschd_test
17342 wine_fn_config_dll toolhelp.dll16 enable_win16
17343 wine_fn_config_dll traffic enable_traffic
17344 wine_fn_config_dll twain.dll16 enable_win16
17345 wine_fn_config_dll twain_32 enable_twain_32
17346 wine_fn_config_test dlls/twain_32/tests twain_32_test
17347 wine_fn_config_dll typelib.dll16 enable_win16
17348 wine_fn_config_dll unicows enable_unicows implib
17349 wine_fn_config_dll updspapi enable_updspapi
17350 wine_fn_config_dll url enable_url implib
17351 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17352 wine_fn_config_test dlls/urlmon/tests urlmon_test
17353 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17354 wine_fn_config_dll user.exe16 enable_win16
17355 wine_fn_config_dll user32 enable_user32 clean,implib,po
17356 wine_fn_config_test dlls/user32/tests user32_test
17357 wine_fn_config_dll userenv enable_userenv implib
17358 wine_fn_config_test dlls/userenv/tests userenv_test
17359 wine_fn_config_dll usp10 enable_usp10 implib
17360 wine_fn_config_test dlls/usp10/tests usp10_test
17361 wine_fn_config_lib uuid
17362 wine_fn_config_dll uxtheme enable_uxtheme implib
17363 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17364 wine_fn_config_dll vbscript enable_vbscript clean
17365 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17366 wine_fn_config_dll vcomp enable_vcomp
17367 wine_fn_config_dll vcomp100 enable_vcomp100
17368 wine_fn_config_dll vcomp90 enable_vcomp90
17369 wine_fn_config_dll vdhcp.vxd enable_win16
17370 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17371 wine_fn_config_dll ver.dll16 enable_win16
17372 wine_fn_config_dll version enable_version implib
17373 wine_fn_config_test dlls/version/tests version_test
17374 wine_fn_config_dll vmm.vxd enable_win16
17375 wine_fn_config_dll vnbt.vxd enable_win16
17376 wine_fn_config_dll vnetbios.vxd enable_win16
17377 wine_fn_config_dll vssapi enable_vssapi
17378 wine_fn_config_dll vtdapi.vxd enable_win16
17379 wine_fn_config_dll vwin32.vxd enable_win16
17380 wine_fn_config_dll w32skrnl enable_win16
17381 wine_fn_config_dll w32sys.dll16 enable_win16
17382 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17383 wine_fn_config_dll wbemprox enable_wbemprox clean
17384 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17385 wine_fn_config_dll webservices enable_webservices implib
17386 wine_fn_config_dll wer enable_wer implib
17387 wine_fn_config_test dlls/wer/tests wer_test
17388 wine_fn_config_dll wevtapi enable_wevtapi
17389 wine_fn_config_dll wiaservc enable_wiaservc clean
17390 wine_fn_config_dll win32s16.dll16 enable_win16
17391 wine_fn_config_dll win87em.dll16 enable_win16
17392 wine_fn_config_dll winaspi.dll16 enable_win16
17393 wine_fn_config_dll windebug.dll16 enable_win16
17394 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17395 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17396 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17397 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17398 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17399 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17400 wine_fn_config_lib winecrt0
17401 wine_fn_config_dll wined3d enable_wined3d implib
17402 wine_fn_config_dll winegstreamer enable_winegstreamer
17403 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17404 wine_fn_config_dll winemac.drv enable_winemac_drv
17405 wine_fn_config_dll winemapi enable_winemapi
17406 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17407 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17408 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
17409 wine_fn_config_dll wineps16.drv16 enable_win16
17410 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17411 wine_fn_config_dll winex11.drv enable_winex11_drv
17412 wine_fn_config_dll wing.dll16 enable_win16
17413 wine_fn_config_dll wing32 enable_wing32
17414 wine_fn_config_dll winhttp enable_winhttp clean,implib
17415 wine_fn_config_test dlls/winhttp/tests winhttp_test
17416 wine_fn_config_dll wininet enable_wininet implib,po
17417 wine_fn_config_test dlls/wininet/tests wininet_test
17418 wine_fn_config_dll winmm enable_winmm implib,po
17419 wine_fn_config_test dlls/winmm/tests winmm_test
17420 wine_fn_config_dll winnls.dll16 enable_win16
17421 wine_fn_config_dll winnls32 enable_winnls32 implib
17422 wine_fn_config_dll winscard enable_winscard implib
17423 wine_fn_config_dll winsock.dll16 enable_win16
17424 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17425 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17426 wine_fn_config_dll winsta enable_winsta
17427 wine_fn_config_dll wintab.dll16 enable_win16
17428 wine_fn_config_dll wintab32 enable_wintab32 implib
17429 wine_fn_config_test dlls/wintab32/tests wintab32_test
17430 wine_fn_config_dll wintrust enable_wintrust implib
17431 wine_fn_config_test dlls/wintrust/tests wintrust_test
17432 wine_fn_config_dll wlanapi enable_wlanapi
17433 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17434 wine_fn_config_test dlls/wldap32/tests wldap32_test
17435 wine_fn_config_dll wmi enable_wmi
17436 wine_fn_config_dll wmiutils enable_wmiutils clean
17437 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17438 wine_fn_config_dll wmp enable_wmp clean
17439 wine_fn_config_test dlls/wmp/tests wmp_test
17440 wine_fn_config_dll wmvcore enable_wmvcore
17441 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17442 wine_fn_config_dll wow32 enable_win16 implib
17443 wine_fn_config_dll wpcap enable_wpcap
17444 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17445 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
17446 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17447 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
17448 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17449 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
17450 wine_fn_config_dll wsock32 enable_wsock32 implib
17451 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17452 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
17453 wine_fn_config_dll wuapi enable_wuapi clean
17454 wine_fn_config_dll wuaueng enable_wuaueng
17455 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17456 wine_fn_config_dll xinput1_1 enable_xinput1_1
17457 wine_fn_config_dll xinput1_2 enable_xinput1_2
17458 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17459 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
17460 wine_fn_config_dll xinput1_4 enable_xinput1_4
17461 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17462 wine_fn_config_dll xmllite enable_xmllite implib
17463 wine_fn_config_test dlls/xmllite/tests xmllite_test
17464 wine_fn_config_dll xolehlp enable_xolehlp
17465 wine_fn_config_dll xpsprint enable_xpsprint
17466 wine_fn_config_dll xpssvcs enable_xpssvcs
17467 wine_fn_config_makefile documentation enable_documentation clean
17468 wine_fn_config_makefile fonts enable_fonts clean,install-lib
17469 wine_fn_config_makefile include enable_include clean,install-dev
17470 wine_fn_config_makefile libs/port enable_libs_port
17471 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
17472 wine_fn_config_makefile libs/wpp enable_libs_wpp
17473 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
17474 wine_fn_config_program arp enable_arp install
17475 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
17476 wine_fn_config_program attrib enable_attrib install,po
17477 wine_fn_config_program cabarc enable_cabarc install
17478 wine_fn_config_program cacls enable_cacls install
17479 wine_fn_config_program clock enable_clock install,po
17480 wine_fn_config_program cmd enable_cmd install,po
17481 wine_fn_config_test programs/cmd/tests cmd.exe_test
17482 wine_fn_config_program conhost enable_conhost install
17483 wine_fn_config_program control enable_control install
17484 wine_fn_config_program cscript enable_cscript clean,install
17485 wine_fn_config_program dpnsvr enable_dpnsvr install
17486 wine_fn_config_program dxdiag enable_dxdiag install,po
17487 wine_fn_config_program eject enable_eject install
17488 wine_fn_config_program expand enable_expand install
17489 wine_fn_config_program explorer enable_explorer install,po
17490 wine_fn_config_program extrac32 enable_extrac32 install
17491 wine_fn_config_program findstr enable_findstr install
17492 wine_fn_config_program hh enable_hh install
17493 wine_fn_config_program hostname enable_hostname install,po
17494 wine_fn_config_program icinfo enable_icinfo install
17495 wine_fn_config_program iexplore enable_iexplore install
17496 wine_fn_config_program ipconfig enable_ipconfig install,po
17497 wine_fn_config_program lodctr enable_lodctr install
17498 wine_fn_config_program mofcomp enable_mofcomp install
17499 wine_fn_config_program mshta enable_mshta install
17500 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
17501 wine_fn_config_program net enable_net install,po
17502 wine_fn_config_program netsh enable_netsh install
17503 wine_fn_config_program netstat enable_netstat install,po
17504 wine_fn_config_program ngen enable_ngen install
17505 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
17506 wine_fn_config_program oleview enable_oleview install,po
17507 wine_fn_config_program ping enable_ping install
17508 wine_fn_config_program plugplay enable_plugplay install
17509 wine_fn_config_program presentationfontcache enable_presentationfontcache install
17510 wine_fn_config_program progman enable_progman install,po
17511 wine_fn_config_program reg enable_reg install,po
17512 wine_fn_config_test programs/reg/tests reg.exe_test
17513 wine_fn_config_program regasm enable_regasm install
17514 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
17515 wine_fn_config_test programs/regedit/tests regedit.exe_test
17516 wine_fn_config_program regsvcs enable_regsvcs install
17517 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage,po
17518 wine_fn_config_program rpcss enable_rpcss clean,install
17519 wine_fn_config_program rundll.exe16 enable_win16 install
17520 wine_fn_config_program rundll32 enable_rundll32 install
17521 wine_fn_config_program sc enable_sc install
17522 wine_fn_config_program schtasks enable_schtasks install
17523 wine_fn_config_program sdbinst enable_sdbinst install
17524 wine_fn_config_program secedit enable_secedit install
17525 wine_fn_config_program servicemodelreg enable_servicemodelreg install
17526 wine_fn_config_program services enable_services clean,install
17527 wine_fn_config_test programs/services/tests services.exe_test
17528 wine_fn_config_program spoolsv enable_spoolsv install
17529 wine_fn_config_program start enable_start install,po
17530 wine_fn_config_program svchost enable_svchost install
17531 wine_fn_config_program systeminfo enable_systeminfo install
17532 wine_fn_config_program taskkill enable_taskkill install,po
17533 wine_fn_config_program tasklist enable_tasklist install
17534 wine_fn_config_program taskmgr enable_taskmgr install,po
17535 wine_fn_config_program termsv enable_termsv install
17536 wine_fn_config_program uninstaller enable_uninstaller install,po
17537 wine_fn_config_program unlodctr enable_unlodctr install
17538 wine_fn_config_program view enable_view install,po
17539 wine_fn_config_program wevtutil enable_wevtutil install
17540 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
17541 wine_fn_config_program winebrowser enable_winebrowser install
17542 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
17543 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
17544 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
17545 wine_fn_config_program winedevice enable_winedevice install
17546 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
17547 wine_fn_config_program winemenubuilder enable_winemenubuilder install
17548 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
17549 wine_fn_config_program winemsibuilder enable_winemsibuilder install
17550 wine_fn_config_program winepath enable_winepath install,installbin,manpage
17551 wine_fn_config_program winetest enable_winetest clean
17552 wine_fn_config_program winevdm enable_win16 install
17553 wine_fn_config_program winhelp.exe16 enable_win16 install
17554 wine_fn_config_program winhlp32 enable_winhlp32 install,po
17555 wine_fn_config_program winoldap.mod16 enable_win16 install
17556 wine_fn_config_program winver enable_winver install
17557 wine_fn_config_program wmic enable_wmic install,po
17558 wine_fn_config_program wordpad enable_wordpad install,po
17559 wine_fn_config_program write enable_write install,po
17560 wine_fn_config_program wscript enable_wscript clean,install
17561 wine_fn_config_test programs/wscript/tests wscript.exe_test
17562 wine_fn_config_program wusa enable_wusa install
17563 wine_fn_config_program xcopy enable_xcopy install,po
17564 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
17565 wine_fn_config_makefile server enable_server clean,install-lib,manpage
17566 wine_fn_config_tool tools clean,install-dev,install-lib,manpage
17567 wine_fn_config_tool tools/sfnt2fon clean
17568 wine_fn_config_tool tools/widl clean,install-dev,manpage
17569 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
17570 wine_fn_config_tool tools/winedump clean,install-dev,manpage
17571 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
17572 wine_fn_config_tool tools/wmc clean,install-dev,manpage
17573 wine_fn_config_tool tools/wrc clean,install-dev,manpage
17575 LINGUAS="\
17576 ar \
17577 bg \
17578 ca \
17579 cs \
17580 da \
17581 de \
17582 el \
17583 en \
17584 en_US \
17585 eo \
17586 es \
17587 fa \
17588 fi \
17589 fr \
17590 he \
17591 hi \
17592 hr \
17593 hu \
17594 it \
17595 ja \
17596 ko \
17597 lt \
17598 ml \
17599 nb_NO \
17600 nl \
17601 or \
17602 pa \
17603 pl \
17604 pt_BR \
17605 pt_PT \
17606 rm \
17607 ro \
17608 ru \
17609 sk \
17610 sl \
17611 sr_RS@cyrillic \
17612 sr_RS@latin \
17613 sv \
17614 te \
17615 th \
17616 tr \
17617 uk \
17618 wa \
17619 zh_CN \
17620 zh_TW"
17625 wine_fn_ignore_file ".gitignore"
17626 wine_fn_ignore_file "Makefile"
17627 wine_fn_ignore_file "TAGS"
17628 wine_fn_ignore_file "tags"
17629 wine_fn_ignore_file "autom4te.cache"
17630 wine_fn_ignore_file "config.cache"
17631 wine_fn_ignore_file "config.log"
17632 wine_fn_ignore_file "config.status"
17633 wine_fn_ignore_file "configure.lineno"
17634 wine_fn_ignore_file "include/config.h"
17635 wine_fn_ignore_file "include/stamp-h"
17636 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
17638 if test "x$enable_tools" != xno
17639 then
17640 wine_fn_ignore_file "tools/makedep$ac_exeext"
17641 ac_config_commands="$ac_config_commands tools/makedep"
17645 ac_config_commands="$ac_config_commands Makefile"
17648 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17652 if test "x$enable_maintainer_mode" = xyes
17653 then
17654 wine_fn_append_rule "configure: configure.ac aclocal.m4
17655 autoconf --warnings=all
17656 include/config.h.in: include/stamp-h.in
17657 include/stamp-h.in: configure.ac aclocal.m4
17658 autoheader --warnings=all
17659 @echo timestamp > \$@"
17662 if test "x$with_gettextpo" = xyes
17663 then
17664 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17665 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
17666 \$(LINGUAS:%=po/%.po): po/wine.pot
17667 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17668 po/wine.pot: \$(ALL_POT_FILES)
17669 msgcat -o \$@ \$(ALL_POT_FILES)"
17672 if test "$MSGFMT" != false
17673 then
17674 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
17675 clean::
17676 \$(RM) \$(LINGUAS:%=po/%.mo)"
17678 posrc="po"
17679 test "$srcdir" = . || posrc="$srcdir/po"
17680 for i in $LINGUAS
17682 wine_fn_ignore_file "po/$i.mo"
17683 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
17684 \$(MSGFMT) -o \$@ $posrc/$i.po"
17685 done
17686 else
17687 LINGUAS=
17690 if test "x$enable_tools" != xno
17691 then
17692 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17693 @./config.status tools/makedep
17694 Makefile: tools/makedep$ac_exeext
17695 distclean:: clean
17696 \$(RM) tools/makedep$ac_exeext"
17697 else
17698 wine_fn_append_rule "\$(MAKEDEP):
17699 @echo \"You need to run make in $TOOLSDIR first\" && false"
17702 if test -n "$with_wine64"
17703 then
17704 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17705 fonts server tools:
17706 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17707 $with_wine64/loader/wine:
17708 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17709 $with_wine64/loader/wine-preloader:
17710 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17711 clean::
17712 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17713 else
17714 as_fn_append LOADER_RULES "
17715 install install-lib:: wine.inf install-man-pages
17716 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17717 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17719 uninstall::
17720 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17724 if test "$srcdir" = .
17725 then
17726 ac_config_commands="$ac_config_commands .gitignore"
17730 $as_echo " done" >&6
17731 cat >confcache <<\_ACEOF
17732 # This file is a shell script that caches the results of configure
17733 # tests run on this system so they can be shared between configure
17734 # scripts and configure runs, see configure's option --config-cache.
17735 # It is not useful on other systems. If it contains results you don't
17736 # want to keep, you may remove or edit it.
17738 # config.status only pays attention to the cache file if you give it
17739 # the --recheck option to rerun configure.
17741 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17742 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17743 # following values.
17745 _ACEOF
17747 # The following way of writing the cache mishandles newlines in values,
17748 # but we know of no workaround that is simple, portable, and efficient.
17749 # So, we kill variables containing newlines.
17750 # Ultrix sh set writes to stderr and can't be redirected directly,
17751 # and sets the high bit in the cache file unless we assign to the vars.
17753 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17754 eval ac_val=\$$ac_var
17755 case $ac_val in #(
17756 *${as_nl}*)
17757 case $ac_var in #(
17758 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17759 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17760 esac
17761 case $ac_var in #(
17762 _ | IFS | as_nl) ;; #(
17763 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17764 *) { eval $ac_var=; unset $ac_var;} ;;
17765 esac ;;
17766 esac
17767 done
17769 (set) 2>&1 |
17770 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17771 *${as_nl}ac_space=\ *)
17772 # `set' does not quote correctly, so add quotes: double-quote
17773 # substitution turns \\\\ into \\, and sed turns \\ into \.
17774 sed -n \
17775 "s/'/'\\\\''/g;
17776 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17777 ;; #(
17779 # `set' quotes correctly as required by POSIX, so do not add quotes.
17780 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17782 esac |
17783 sort
17785 sed '
17786 /^ac_cv_env_/b end
17787 t clear
17788 :clear
17789 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17790 t end
17791 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17792 :end' >>confcache
17793 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17794 if test -w "$cache_file"; then
17795 if test "x$cache_file" != "x/dev/null"; then
17796 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17797 $as_echo "$as_me: updating cache $cache_file" >&6;}
17798 if test ! -f "$cache_file" || test -h "$cache_file"; then
17799 cat confcache >"$cache_file"
17800 else
17801 case $cache_file in #(
17802 */* | ?:*)
17803 mv -f confcache "$cache_file"$$ &&
17804 mv -f "$cache_file"$$ "$cache_file" ;; #(
17806 mv -f confcache "$cache_file" ;;
17807 esac
17810 else
17811 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17812 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17815 rm -f confcache
17817 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17818 # Let make expand exec_prefix.
17819 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17821 DEFS=-DHAVE_CONFIG_H
17823 ac_libobjs=
17824 ac_ltlibobjs=
17826 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17827 # 1. Remove the extension, and $U if already installed.
17828 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17829 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17830 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17831 # will be set to the directory where LIBOBJS objects are built.
17832 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17833 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17834 done
17835 LIBOBJS=$ac_libobjs
17837 LTLIBOBJS=$ac_ltlibobjs
17841 : "${CONFIG_STATUS=./config.status}"
17842 ac_write_fail=0
17843 ac_clean_files_save=$ac_clean_files
17844 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17845 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17846 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17847 as_write_fail=0
17848 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17849 #! $SHELL
17850 # Generated by $as_me.
17851 # Run this file to recreate the current configuration.
17852 # Compiler output produced by configure, useful for debugging
17853 # configure, is in config.log if it exists.
17855 debug=false
17856 ac_cs_recheck=false
17857 ac_cs_silent=false
17859 SHELL=\${CONFIG_SHELL-$SHELL}
17860 export SHELL
17861 _ASEOF
17862 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17863 ## -------------------- ##
17864 ## M4sh Initialization. ##
17865 ## -------------------- ##
17867 # Be more Bourne compatible
17868 DUALCASE=1; export DUALCASE # for MKS sh
17869 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17870 emulate sh
17871 NULLCMD=:
17872 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17873 # is contrary to our usage. Disable this feature.
17874 alias -g '${1+"$@"}'='"$@"'
17875 setopt NO_GLOB_SUBST
17876 else
17877 case `(set -o) 2>/dev/null` in #(
17878 *posix*) :
17879 set -o posix ;; #(
17880 *) :
17882 esac
17886 as_nl='
17888 export as_nl
17889 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17890 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17891 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17892 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17893 # Prefer a ksh shell builtin over an external printf program on Solaris,
17894 # but without wasting forks for bash or zsh.
17895 if test -z "$BASH_VERSION$ZSH_VERSION" \
17896 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17897 as_echo='print -r --'
17898 as_echo_n='print -rn --'
17899 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17900 as_echo='printf %s\n'
17901 as_echo_n='printf %s'
17902 else
17903 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17904 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17905 as_echo_n='/usr/ucb/echo -n'
17906 else
17907 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17908 as_echo_n_body='eval
17909 arg=$1;
17910 case $arg in #(
17911 *"$as_nl"*)
17912 expr "X$arg" : "X\\(.*\\)$as_nl";
17913 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17914 esac;
17915 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17917 export as_echo_n_body
17918 as_echo_n='sh -c $as_echo_n_body as_echo'
17920 export as_echo_body
17921 as_echo='sh -c $as_echo_body as_echo'
17924 # The user is always right.
17925 if test "${PATH_SEPARATOR+set}" != set; then
17926 PATH_SEPARATOR=:
17927 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17928 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17929 PATH_SEPARATOR=';'
17934 # IFS
17935 # We need space, tab and new line, in precisely that order. Quoting is
17936 # there to prevent editors from complaining about space-tab.
17937 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17938 # splitting by setting IFS to empty value.)
17939 IFS=" "" $as_nl"
17941 # Find who we are. Look in the path if we contain no directory separator.
17942 as_myself=
17943 case $0 in #((
17944 *[\\/]* ) as_myself=$0 ;;
17945 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17946 for as_dir in $PATH
17948 IFS=$as_save_IFS
17949 test -z "$as_dir" && as_dir=.
17950 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17951 done
17952 IFS=$as_save_IFS
17955 esac
17956 # We did not find ourselves, most probably we were run as `sh COMMAND'
17957 # in which case we are not to be found in the path.
17958 if test "x$as_myself" = x; then
17959 as_myself=$0
17961 if test ! -f "$as_myself"; then
17962 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17963 exit 1
17966 # Unset variables that we do not need and which cause bugs (e.g. in
17967 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17968 # suppresses any "Segmentation fault" message there. '((' could
17969 # trigger a bug in pdksh 5.2.14.
17970 for as_var in BASH_ENV ENV MAIL MAILPATH
17971 do eval test x\${$as_var+set} = xset \
17972 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17973 done
17974 PS1='$ '
17975 PS2='> '
17976 PS4='+ '
17978 # NLS nuisances.
17979 LC_ALL=C
17980 export LC_ALL
17981 LANGUAGE=C
17982 export LANGUAGE
17984 # CDPATH.
17985 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17988 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17989 # ----------------------------------------
17990 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17991 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17992 # script with STATUS, using 1 if that was 0.
17993 as_fn_error ()
17995 as_status=$1; test $as_status -eq 0 && as_status=1
17996 if test "$4"; then
17997 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17998 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18000 $as_echo "$as_me: error: $2" >&2
18001 as_fn_exit $as_status
18002 } # as_fn_error
18005 # as_fn_set_status STATUS
18006 # -----------------------
18007 # Set $? to STATUS, without forking.
18008 as_fn_set_status ()
18010 return $1
18011 } # as_fn_set_status
18013 # as_fn_exit STATUS
18014 # -----------------
18015 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18016 as_fn_exit ()
18018 set +e
18019 as_fn_set_status $1
18020 exit $1
18021 } # as_fn_exit
18023 # as_fn_unset VAR
18024 # ---------------
18025 # Portably unset VAR.
18026 as_fn_unset ()
18028 { eval $1=; unset $1;}
18030 as_unset=as_fn_unset
18031 # as_fn_append VAR VALUE
18032 # ----------------------
18033 # Append the text in VALUE to the end of the definition contained in VAR. Take
18034 # advantage of any shell optimizations that allow amortized linear growth over
18035 # repeated appends, instead of the typical quadratic growth present in naive
18036 # implementations.
18037 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18038 eval 'as_fn_append ()
18040 eval $1+=\$2
18042 else
18043 as_fn_append ()
18045 eval $1=\$$1\$2
18047 fi # as_fn_append
18049 # as_fn_arith ARG...
18050 # ------------------
18051 # Perform arithmetic evaluation on the ARGs, and store the result in the
18052 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18053 # must be portable across $(()) and expr.
18054 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18055 eval 'as_fn_arith ()
18057 as_val=$(( $* ))
18059 else
18060 as_fn_arith ()
18062 as_val=`expr "$@" || test $? -eq 1`
18064 fi # as_fn_arith
18067 if expr a : '\(a\)' >/dev/null 2>&1 &&
18068 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18069 as_expr=expr
18070 else
18071 as_expr=false
18074 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18075 as_basename=basename
18076 else
18077 as_basename=false
18080 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18081 as_dirname=dirname
18082 else
18083 as_dirname=false
18086 as_me=`$as_basename -- "$0" ||
18087 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18088 X"$0" : 'X\(//\)$' \| \
18089 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18090 $as_echo X/"$0" |
18091 sed '/^.*\/\([^/][^/]*\)\/*$/{
18092 s//\1/
18095 /^X\/\(\/\/\)$/{
18096 s//\1/
18099 /^X\/\(\/\).*/{
18100 s//\1/
18103 s/.*/./; q'`
18105 # Avoid depending upon Character Ranges.
18106 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18107 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18108 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18109 as_cr_digits='0123456789'
18110 as_cr_alnum=$as_cr_Letters$as_cr_digits
18112 ECHO_C= ECHO_N= ECHO_T=
18113 case `echo -n x` in #(((((
18114 -n*)
18115 case `echo 'xy\c'` in
18116 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18117 xy) ECHO_C='\c';;
18118 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18119 ECHO_T=' ';;
18120 esac;;
18122 ECHO_N='-n';;
18123 esac
18125 rm -f conf$$ conf$$.exe conf$$.file
18126 if test -d conf$$.dir; then
18127 rm -f conf$$.dir/conf$$.file
18128 else
18129 rm -f conf$$.dir
18130 mkdir conf$$.dir 2>/dev/null
18132 if (echo >conf$$.file) 2>/dev/null; then
18133 if ln -s conf$$.file conf$$ 2>/dev/null; then
18134 as_ln_s='ln -s'
18135 # ... but there are two gotchas:
18136 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18137 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18138 # In both cases, we have to default to `cp -pR'.
18139 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18140 as_ln_s='cp -pR'
18141 elif ln conf$$.file conf$$ 2>/dev/null; then
18142 as_ln_s=ln
18143 else
18144 as_ln_s='cp -pR'
18146 else
18147 as_ln_s='cp -pR'
18149 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18150 rmdir conf$$.dir 2>/dev/null
18153 # as_fn_mkdir_p
18154 # -------------
18155 # Create "$as_dir" as a directory, including parents if necessary.
18156 as_fn_mkdir_p ()
18159 case $as_dir in #(
18160 -*) as_dir=./$as_dir;;
18161 esac
18162 test -d "$as_dir" || eval $as_mkdir_p || {
18163 as_dirs=
18164 while :; do
18165 case $as_dir in #(
18166 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18167 *) as_qdir=$as_dir;;
18168 esac
18169 as_dirs="'$as_qdir' $as_dirs"
18170 as_dir=`$as_dirname -- "$as_dir" ||
18171 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18172 X"$as_dir" : 'X\(//\)[^/]' \| \
18173 X"$as_dir" : 'X\(//\)$' \| \
18174 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18175 $as_echo X"$as_dir" |
18176 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18177 s//\1/
18180 /^X\(\/\/\)[^/].*/{
18181 s//\1/
18184 /^X\(\/\/\)$/{
18185 s//\1/
18188 /^X\(\/\).*/{
18189 s//\1/
18192 s/.*/./; q'`
18193 test -d "$as_dir" && break
18194 done
18195 test -z "$as_dirs" || eval "mkdir $as_dirs"
18196 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18199 } # as_fn_mkdir_p
18200 if mkdir -p . 2>/dev/null; then
18201 as_mkdir_p='mkdir -p "$as_dir"'
18202 else
18203 test -d ./-p && rmdir ./-p
18204 as_mkdir_p=false
18208 # as_fn_executable_p FILE
18209 # -----------------------
18210 # Test if FILE is an executable regular file.
18211 as_fn_executable_p ()
18213 test -f "$1" && test -x "$1"
18214 } # as_fn_executable_p
18215 as_test_x='test -x'
18216 as_executable_p=as_fn_executable_p
18218 # Sed expression to map a string onto a valid CPP name.
18219 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18221 # Sed expression to map a string onto a valid variable name.
18222 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18225 exec 6>&1
18226 ## ----------------------------------- ##
18227 ## Main body of $CONFIG_STATUS script. ##
18228 ## ----------------------------------- ##
18229 _ASEOF
18230 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18232 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18233 # Save the log message, to keep $0 and so on meaningful, and to
18234 # report actual input values of CONFIG_FILES etc. instead of their
18235 # values after options handling.
18236 ac_log="
18237 This file was extended by Wine $as_me 1.7.32, which was
18238 generated by GNU Autoconf 2.69. Invocation command line was
18240 CONFIG_FILES = $CONFIG_FILES
18241 CONFIG_HEADERS = $CONFIG_HEADERS
18242 CONFIG_LINKS = $CONFIG_LINKS
18243 CONFIG_COMMANDS = $CONFIG_COMMANDS
18244 $ $0 $@
18246 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18249 _ACEOF
18251 case $ac_config_files in *"
18252 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18253 esac
18255 case $ac_config_headers in *"
18256 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18257 esac
18260 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18261 # Files that config.status was made for.
18262 config_files="$ac_config_files"
18263 config_headers="$ac_config_headers"
18264 config_links="$ac_config_links"
18265 config_commands="$ac_config_commands"
18267 _ACEOF
18269 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18270 ac_cs_usage="\
18271 \`$as_me' instantiates files and other configuration actions
18272 from templates according to the current configuration. Unless the files
18273 and actions are specified as TAGs, all are instantiated by default.
18275 Usage: $0 [OPTION]... [TAG]...
18277 -h, --help print this help, then exit
18278 -V, --version print version number and configuration settings, then exit
18279 --config print configuration, then exit
18280 -q, --quiet, --silent
18281 do not print progress messages
18282 -d, --debug don't remove temporary files
18283 --recheck update $as_me by reconfiguring in the same conditions
18284 --file=FILE[:TEMPLATE]
18285 instantiate the configuration file FILE
18286 --header=FILE[:TEMPLATE]
18287 instantiate the configuration header FILE
18289 Configuration files:
18290 $config_files
18292 Configuration headers:
18293 $config_headers
18295 Configuration links:
18296 $config_links
18298 Configuration commands:
18299 $config_commands
18301 Report bugs to <wine-devel@winehq.org>.
18302 Wine home page: <http://www.winehq.org>."
18304 _ACEOF
18305 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18306 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18307 ac_cs_version="\\
18308 Wine config.status 1.7.32
18309 configured by $0, generated by GNU Autoconf 2.69,
18310 with options \\"\$ac_cs_config\\"
18312 Copyright (C) 2012 Free Software Foundation, Inc.
18313 This config.status script is free software; the Free Software Foundation
18314 gives unlimited permission to copy, distribute and modify it."
18316 ac_pwd='$ac_pwd'
18317 srcdir='$srcdir'
18318 test -n "\$AWK" || AWK=awk
18319 _ACEOF
18321 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18322 # The default lists apply if the user does not specify any file.
18323 ac_need_defaults=:
18324 while test $# != 0
18326 case $1 in
18327 --*=?*)
18328 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18329 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18330 ac_shift=:
18332 --*=)
18333 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18334 ac_optarg=
18335 ac_shift=:
18338 ac_option=$1
18339 ac_optarg=$2
18340 ac_shift=shift
18342 esac
18344 case $ac_option in
18345 # Handling of the options.
18346 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18347 ac_cs_recheck=: ;;
18348 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18349 $as_echo "$ac_cs_version"; exit ;;
18350 --config | --confi | --conf | --con | --co | --c )
18351 $as_echo "$ac_cs_config"; exit ;;
18352 --debug | --debu | --deb | --de | --d | -d )
18353 debug=: ;;
18354 --file | --fil | --fi | --f )
18355 $ac_shift
18356 case $ac_optarg in
18357 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18358 '') as_fn_error $? "missing file argument" ;;
18359 esac
18360 as_fn_append CONFIG_FILES " '$ac_optarg'"
18361 ac_need_defaults=false;;
18362 --header | --heade | --head | --hea )
18363 $ac_shift
18364 case $ac_optarg in
18365 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18366 esac
18367 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18368 ac_need_defaults=false;;
18369 --he | --h)
18370 # Conflict between --help and --header
18371 as_fn_error $? "ambiguous option: \`$1'
18372 Try \`$0 --help' for more information.";;
18373 --help | --hel | -h )
18374 $as_echo "$ac_cs_usage"; exit ;;
18375 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18376 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18377 ac_cs_silent=: ;;
18379 # This is an error.
18380 -*) as_fn_error $? "unrecognized option: \`$1'
18381 Try \`$0 --help' for more information." ;;
18383 *) as_fn_append ac_config_targets " $1"
18384 ac_need_defaults=false ;;
18386 esac
18387 shift
18388 done
18390 ac_configure_extra_args=
18392 if $ac_cs_silent; then
18393 exec 6>/dev/null
18394 ac_configure_extra_args="$ac_configure_extra_args --silent"
18397 _ACEOF
18398 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18399 if \$ac_cs_recheck; then
18400 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18401 shift
18402 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18403 CONFIG_SHELL='$SHELL'
18404 export CONFIG_SHELL
18405 exec "\$@"
18408 _ACEOF
18409 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18410 exec 5>>config.log
18412 echo
18413 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18414 ## Running $as_me. ##
18415 _ASBOX
18416 $as_echo "$ac_log"
18417 } >&5
18419 _ACEOF
18420 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18422 # INIT-COMMANDS
18424 wine_fn_output_makedep ()
18426 as_dir=tools; as_fn_mkdir_p
18427 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18429 wine_fn_output_makefile ()
18431 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18432 `cat $wine_rules_file`
18433 _WINE_EOF
18434 as_fn_error $? "could not create Makefile" "$LINENO" 5
18436 wine_fn_output_gitignore ()
18438 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18439 $GITIGNORE
18440 _WINE_EOF
18441 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18444 _ACEOF
18446 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18448 # Handling of arguments.
18449 for ac_config_target in $ac_config_targets
18451 case $ac_config_target in
18452 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18453 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
18454 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18455 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18456 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18457 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18458 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18459 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18460 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
18461 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18462 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
18463 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
18464 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18465 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
18467 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18468 esac
18469 done
18472 # If the user did not use the arguments to specify the items to instantiate,
18473 # then the envvar interface is used. Set only those that are not.
18474 # We use the long form for the default assignment because of an extremely
18475 # bizarre bug on SunOS 4.1.3.
18476 if $ac_need_defaults; then
18477 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18478 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18479 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18480 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18483 # Have a temporary directory for convenience. Make it in the build tree
18484 # simply because there is no reason against having it here, and in addition,
18485 # creating and moving files from /tmp can sometimes cause problems.
18486 # Hook for its removal unless debugging.
18487 # Note that there is a small window in which the directory will not be cleaned:
18488 # after its creation but before its name has been assigned to `$tmp'.
18489 $debug ||
18491 tmp= ac_tmp=
18492 trap 'exit_status=$?
18493 : "${ac_tmp:=$tmp}"
18494 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18496 trap 'as_fn_exit 1' 1 2 13 15
18498 # Create a (secure) tmp directory for tmp files.
18501 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18502 test -d "$tmp"
18503 } ||
18505 tmp=./conf$$-$RANDOM
18506 (umask 077 && mkdir "$tmp")
18507 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18508 ac_tmp=$tmp
18510 # Set up the scripts for CONFIG_FILES section.
18511 # No need to generate them if there are no CONFIG_FILES.
18512 # This happens for instance with `./config.status config.h'.
18513 if test -n "$CONFIG_FILES"; then
18516 ac_cr=`echo X | tr X '\015'`
18517 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18518 # But we know of no other shell where ac_cr would be empty at this
18519 # point, so we can use a bashism as a fallback.
18520 if test "x$ac_cr" = x; then
18521 eval ac_cr=\$\'\\r\'
18523 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18524 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18525 ac_cs_awk_cr='\\r'
18526 else
18527 ac_cs_awk_cr=$ac_cr
18530 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18531 _ACEOF
18535 echo "cat >conf$$subs.awk <<_ACEOF" &&
18536 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18537 echo "_ACEOF"
18538 } >conf$$subs.sh ||
18539 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18540 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18541 ac_delim='%!_!# '
18542 for ac_last_try in false false false false false :; do
18543 . ./conf$$subs.sh ||
18544 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18546 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18547 if test $ac_delim_n = $ac_delim_num; then
18548 break
18549 elif $ac_last_try; then
18550 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18551 else
18552 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18554 done
18555 rm -f conf$$subs.sh
18557 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18558 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18559 _ACEOF
18560 sed -n '
18562 s/^/S["/; s/!.*/"]=/
18565 s/^[^!]*!//
18566 :repl
18567 t repl
18568 s/'"$ac_delim"'$//
18569 t delim
18572 s/\(.\{148\}\)..*/\1/
18573 t more1
18574 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18577 b repl
18578 :more1
18579 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18582 s/.\{148\}//
18583 t nl
18584 :delim
18586 s/\(.\{148\}\)..*/\1/
18587 t more2
18588 s/["\\]/\\&/g; s/^/"/; s/$/"/
18591 :more2
18592 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18595 s/.\{148\}//
18596 t delim
18597 ' <conf$$subs.awk | sed '
18598 /^[^""]/{
18600 s/\n//
18602 ' >>$CONFIG_STATUS || ac_write_fail=1
18603 rm -f conf$$subs.awk
18604 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18605 _ACAWK
18606 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18607 for (key in S) S_is_set[key] = 1
18608 FS = "\a"
18612 line = $ 0
18613 nfields = split(line, field, "@")
18614 substed = 0
18615 len = length(field[1])
18616 for (i = 2; i < nfields; i++) {
18617 key = field[i]
18618 keylen = length(key)
18619 if (S_is_set[key]) {
18620 value = S[key]
18621 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18622 len += length(value) + length(field[++i])
18623 substed = 1
18624 } else
18625 len += 1 + keylen
18628 print line
18631 _ACAWK
18632 _ACEOF
18633 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18634 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18635 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18636 else
18638 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18639 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18640 _ACEOF
18642 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18643 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18644 # trailing colons and then remove the whole line if VPATH becomes empty
18645 # (actually we leave an empty line to preserve line numbers).
18646 if test "x$srcdir" = x.; then
18647 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18649 s///
18650 s/^/:/
18651 s/[ ]*$/:/
18652 s/:\$(srcdir):/:/g
18653 s/:\${srcdir}:/:/g
18654 s/:@srcdir@:/:/g
18655 s/^:*//
18656 s/:*$//
18658 s/\(=[ ]*\).*/\1/
18660 s/\n//
18661 s/^[^=]*=[ ]*$//
18665 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18666 fi # test -n "$CONFIG_FILES"
18668 # Set up the scripts for CONFIG_HEADERS section.
18669 # No need to generate them if there are no CONFIG_HEADERS.
18670 # This happens for instance with `./config.status Makefile'.
18671 if test -n "$CONFIG_HEADERS"; then
18672 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18673 BEGIN {
18674 _ACEOF
18676 # Transform confdefs.h into an awk script `defines.awk', embedded as
18677 # here-document in config.status, that substitutes the proper values into
18678 # config.h.in to produce config.h.
18680 # Create a delimiter string that does not exist in confdefs.h, to ease
18681 # handling of long lines.
18682 ac_delim='%!_!# '
18683 for ac_last_try in false false :; do
18684 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18685 if test -z "$ac_tt"; then
18686 break
18687 elif $ac_last_try; then
18688 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18689 else
18690 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18692 done
18694 # For the awk script, D is an array of macro values keyed by name,
18695 # likewise P contains macro parameters if any. Preserve backslash
18696 # newline sequences.
18698 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18699 sed -n '
18700 s/.\{148\}/&'"$ac_delim"'/g
18701 t rset
18702 :rset
18703 s/^[ ]*#[ ]*define[ ][ ]*/ /
18704 t def
18706 :def
18707 s/\\$//
18708 t bsnl
18709 s/["\\]/\\&/g
18710 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18711 D["\1"]=" \3"/p
18712 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18714 :bsnl
18715 s/["\\]/\\&/g
18716 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18717 D["\1"]=" \3\\\\\\n"\\/p
18718 t cont
18719 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18720 t cont
18722 :cont
18724 s/.\{148\}/&'"$ac_delim"'/g
18725 t clear
18726 :clear
18727 s/\\$//
18728 t bsnlc
18729 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18731 :bsnlc
18732 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18733 b cont
18734 ' <confdefs.h | sed '
18735 s/'"$ac_delim"'/"\\\
18736 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18738 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18739 for (key in D) D_is_set[key] = 1
18740 FS = "\a"
18742 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18743 line = \$ 0
18744 split(line, arg, " ")
18745 if (arg[1] == "#") {
18746 defundef = arg[2]
18747 mac1 = arg[3]
18748 } else {
18749 defundef = substr(arg[1], 2)
18750 mac1 = arg[2]
18752 split(mac1, mac2, "(") #)
18753 macro = mac2[1]
18754 prefix = substr(line, 1, index(line, defundef) - 1)
18755 if (D_is_set[macro]) {
18756 # Preserve the white space surrounding the "#".
18757 print prefix "define", macro P[macro] D[macro]
18758 next
18759 } else {
18760 # Replace #undef with comments. This is necessary, for example,
18761 # in the case of _POSIX_SOURCE, which is predefined and required
18762 # on some systems where configure will not decide to define it.
18763 if (defundef == "undef") {
18764 print "/*", prefix defundef, macro, "*/"
18765 next
18769 { print }
18770 _ACAWK
18771 _ACEOF
18772 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18773 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18774 fi # test -n "$CONFIG_HEADERS"
18777 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18778 shift
18779 for ac_tag
18781 case $ac_tag in
18782 :[FHLC]) ac_mode=$ac_tag; continue;;
18783 esac
18784 case $ac_mode$ac_tag in
18785 :[FHL]*:*);;
18786 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18787 :[FH]-) ac_tag=-:-;;
18788 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18789 esac
18790 ac_save_IFS=$IFS
18791 IFS=:
18792 set x $ac_tag
18793 IFS=$ac_save_IFS
18794 shift
18795 ac_file=$1
18796 shift
18798 case $ac_mode in
18799 :L) ac_source=$1;;
18800 :[FH])
18801 ac_file_inputs=
18802 for ac_f
18804 case $ac_f in
18805 -) ac_f="$ac_tmp/stdin";;
18806 *) # Look for the file first in the build tree, then in the source tree
18807 # (if the path is not absolute). The absolute path cannot be DOS-style,
18808 # because $ac_f cannot contain `:'.
18809 test -f "$ac_f" ||
18810 case $ac_f in
18811 [\\/$]*) false;;
18812 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18813 esac ||
18814 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18815 esac
18816 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18817 as_fn_append ac_file_inputs " '$ac_f'"
18818 done
18820 # Let's still pretend it is `configure' which instantiates (i.e., don't
18821 # use $as_me), people would be surprised to read:
18822 # /* config.h. Generated by config.status. */
18823 configure_input='Generated from '`
18824 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18825 `' by configure.'
18826 if test x"$ac_file" != x-; then
18827 configure_input="$ac_file. $configure_input"
18828 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18829 $as_echo "$as_me: creating $ac_file" >&6;}
18831 # Neutralize special characters interpreted by sed in replacement strings.
18832 case $configure_input in #(
18833 *\&* | *\|* | *\\* )
18834 ac_sed_conf_input=`$as_echo "$configure_input" |
18835 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18836 *) ac_sed_conf_input=$configure_input;;
18837 esac
18839 case $ac_tag in
18840 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18841 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18842 esac
18844 esac
18846 ac_dir=`$as_dirname -- "$ac_file" ||
18847 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18848 X"$ac_file" : 'X\(//\)[^/]' \| \
18849 X"$ac_file" : 'X\(//\)$' \| \
18850 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18851 $as_echo X"$ac_file" |
18852 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18853 s//\1/
18856 /^X\(\/\/\)[^/].*/{
18857 s//\1/
18860 /^X\(\/\/\)$/{
18861 s//\1/
18864 /^X\(\/\).*/{
18865 s//\1/
18868 s/.*/./; q'`
18869 as_dir="$ac_dir"; as_fn_mkdir_p
18870 ac_builddir=.
18872 case "$ac_dir" in
18873 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18875 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18876 # A ".." for each directory in $ac_dir_suffix.
18877 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18878 case $ac_top_builddir_sub in
18879 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18880 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18881 esac ;;
18882 esac
18883 ac_abs_top_builddir=$ac_pwd
18884 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18885 # for backward compatibility:
18886 ac_top_builddir=$ac_top_build_prefix
18888 case $srcdir in
18889 .) # We are building in place.
18890 ac_srcdir=.
18891 ac_top_srcdir=$ac_top_builddir_sub
18892 ac_abs_top_srcdir=$ac_pwd ;;
18893 [\\/]* | ?:[\\/]* ) # Absolute name.
18894 ac_srcdir=$srcdir$ac_dir_suffix;
18895 ac_top_srcdir=$srcdir
18896 ac_abs_top_srcdir=$srcdir ;;
18897 *) # Relative name.
18898 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18899 ac_top_srcdir=$ac_top_build_prefix$srcdir
18900 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18901 esac
18902 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18905 case $ac_mode in
18908 # CONFIG_FILE
18911 _ACEOF
18913 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18914 # If the template does not know about datarootdir, expand it.
18915 # FIXME: This hack should be removed a few years after 2.60.
18916 ac_datarootdir_hack=; ac_datarootdir_seen=
18917 ac_sed_dataroot='
18918 /datarootdir/ {
18922 /@datadir@/p
18923 /@docdir@/p
18924 /@infodir@/p
18925 /@localedir@/p
18926 /@mandir@/p'
18927 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18928 *datarootdir*) ac_datarootdir_seen=yes;;
18929 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18930 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18931 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18932 _ACEOF
18933 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18934 ac_datarootdir_hack='
18935 s&@datadir@&$datadir&g
18936 s&@docdir@&$docdir&g
18937 s&@infodir@&$infodir&g
18938 s&@localedir@&$localedir&g
18939 s&@mandir@&$mandir&g
18940 s&\\\${datarootdir}&$datarootdir&g' ;;
18941 esac
18942 _ACEOF
18944 # Neutralize VPATH when `$srcdir' = `.'.
18945 # Shell code in configure.ac might set extrasub.
18946 # FIXME: do we really want to maintain this feature?
18947 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18948 ac_sed_extra="$ac_vpsub
18949 $extrasub
18950 _ACEOF
18951 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18953 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18954 s|@configure_input@|$ac_sed_conf_input|;t t
18955 s&@top_builddir@&$ac_top_builddir_sub&;t t
18956 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18957 s&@srcdir@&$ac_srcdir&;t t
18958 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18959 s&@top_srcdir@&$ac_top_srcdir&;t t
18960 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18961 s&@builddir@&$ac_builddir&;t t
18962 s&@abs_builddir@&$ac_abs_builddir&;t t
18963 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18964 $ac_datarootdir_hack
18966 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18967 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18969 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18970 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18971 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18972 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18974 which seems to be undefined. Please make sure it is defined" >&5
18975 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18976 which seems to be undefined. Please make sure it is defined" >&2;}
18978 rm -f "$ac_tmp/stdin"
18979 case $ac_file in
18980 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18981 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18982 esac \
18983 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18987 # CONFIG_HEADER
18989 if test x"$ac_file" != x-; then
18991 $as_echo "/* $configure_input */" \
18992 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18993 } >"$ac_tmp/config.h" \
18994 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18995 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18996 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18997 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18998 else
18999 rm -f "$ac_file"
19000 mv "$ac_tmp/config.h" "$ac_file" \
19001 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19003 else
19004 $as_echo "/* $configure_input */" \
19005 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19006 || as_fn_error $? "could not create -" "$LINENO" 5
19011 # CONFIG_LINK
19014 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19016 else
19017 # Prefer the file from the source tree if names are identical.
19018 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19019 ac_source=$srcdir/$ac_source
19022 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19023 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19025 if test ! -r "$ac_source"; then
19026 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19028 rm -f "$ac_file"
19030 # Try a relative symlink, then a hard link, then a copy.
19031 case $ac_source in
19032 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19033 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19034 esac
19035 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19036 ln "$ac_source" "$ac_file" 2>/dev/null ||
19037 cp -p "$ac_source" "$ac_file" ||
19038 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19041 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19042 $as_echo "$as_me: executing $ac_file commands" >&6;}
19044 esac
19047 case $ac_file$ac_mode in
19048 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19049 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19050 "Makefile":C) wine_fn_output_makefile Makefile ;;
19051 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19053 esac
19054 done # for ac_tag
19057 as_fn_exit 0
19058 _ACEOF
19059 ac_clean_files=$ac_clean_files_save
19061 test $ac_write_fail = 0 ||
19062 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19065 # configure is writing to config.log, and then calls config.status.
19066 # config.status does its own redirection, appending to config.log.
19067 # Unfortunately, on DOS this fails, as config.log is still kept open
19068 # by configure, so config.status won't be able to write to it; its
19069 # output is simply discarded. So we exec the FD to /dev/null,
19070 # effectively closing config.log, so it can be properly (re)opened and
19071 # appended to by config.status. When coming back to configure, we
19072 # need to make the FD available again.
19073 if test "$no_create" != yes; then
19074 ac_cs_success=:
19075 ac_config_status_args=
19076 test "$silent" = yes &&
19077 ac_config_status_args="$ac_config_status_args --quiet"
19078 exec 5>/dev/null
19079 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19080 exec 5>>config.log
19081 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19082 # would make configure fail if this is the last instruction.
19083 $ac_cs_success || as_fn_exit 1
19085 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19086 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19087 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19091 if test "$no_create" = "yes"
19092 then
19093 exit 0
19096 ac_save_IFS="$IFS"
19097 if test "x$wine_notices != "x; then
19098 echo >&6
19099 IFS="|"
19100 for msg in $wine_notices; do
19101 IFS="$ac_save_IFS"
19102 if ${msg:+false} :; then :
19104 else
19105 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19106 $as_echo "$as_me: $msg" >&6;}
19108 done
19110 IFS="|"
19111 for msg in $wine_warnings; do
19112 IFS="$ac_save_IFS"
19113 if ${msg:+false} :; then :
19115 else
19116 echo >&2
19117 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19118 $as_echo "$as_me: WARNING: $msg" >&2;}
19120 done
19121 IFS="$ac_save_IFS"
19123 $as_echo "
19124 $as_me: Finished. Do '${ac_make}' to compile Wine.
19125 " >&6