dwrite: Implement GetGlyphIndices from the CMAP table.
[wine/multimedia.git] / configure
blob35bdf9d1f433935cd2bf73b00a3521a403df66f0
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.25.
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.25'
584 PACKAGE_STRING='Wine 1.7.25'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='http://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 LINGUAS
628 ALL_VARS_RULES
629 LDAP_LIBS
630 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 UNWINDFLAGS
635 BUILTINFLAG
636 EXTRACFLAGS
637 PROCSTAT_LIBS
638 KSTAT_LIBS
639 MPG123_LIBS
640 MPG123_CFLAGS
641 TIFF_LIBS
642 TIFF_CFLAGS
643 PNG_LIBS
644 PNG_CFLAGS
645 JPEG_LIBS
646 JPEG_CFLAGS
647 FONTCONFIG_LIBS
648 FONTCONFIG_CFLAGS
649 CUPS_CFLAGS
650 CAPI20_LIBS
651 CAPI20_CFLAGS
652 OSS4_CFLAGS
653 ALSA_LIBS
654 GSTREAMER_LIBS
655 GSTREAMER_CFLAGS
656 GETTEXTPO_LIBS
657 Z_LIBS
658 FREETYPE_LIBS
659 FREETYPE_CFLAGS
660 LCMS2_LIBS
661 LCMS2_CFLAGS
662 RESOLV_LIBS
663 GPHOTO2_PORT_LIBS
664 GPHOTO2_PORT_CFLAGS
665 GPHOTO2_LIBS
666 GPHOTO2_CFLAGS
667 SANE_LIBS
668 SANE_CFLAGS
669 GNUTLS_LIBS
670 GNUTLS_CFLAGS
671 HAL_LIBS
672 HAL_CFLAGS
673 DBUS_LIBS
674 DBUS_CFLAGS
675 XSLT_LIBS
676 XSLT_CFLAGS
677 XML2_LIBS
678 XML2_CFLAGS
679 LIBPCAP
680 X_EXTRA_LIBS
681 X_LIBS
682 X_PRE_LIBS
683 X_CFLAGS
684 XMKMF
685 PTHREAD_LIBS
686 CROSSCC
687 CROSSTARGET
688 PRELINK
689 CARBON_LIBS
690 QUICKTIME_LIBS
691 OPENCL_LIBS
692 OPENAL_LIBS
693 COREAUDIO_LIBS
694 SECURITY_LIBS
695 DISKARBITRATION_LIBS
696 APPKIT_LIBS
697 CORESERVICES_LIBS
698 APPLICATIONSERVICES_LIBS
699 FORCEFEEDBACK_LIBS
700 IOKIT_LIBS
701 COREFOUNDATION_LIBS
702 LIBWINE_RULES
703 SOCKET_LIBS
704 DLLTOOL
705 LOADER_RULES
706 ALL_TEST_RESOURCES
707 READELF
709 LDRPATH_LOCAL
710 LDRPATH_INSTALL
711 DLLFLAGS
712 DLLPREFIX
713 dlldir
715 OPENGL_LIBS
716 ICOTOOL
717 CONVERT
718 RSVG
719 FONTFORGE
720 PKG_CONFIG
721 MSGFMT
722 LDCONFIG
723 EGREP
724 GREP
725 LN_S
726 RANLIB
727 ARFLAGS
728 STRIP
729 ac_ct_AR
731 BISON
732 FLEX
733 TOOLSDIR
734 TARGETFLAGS
735 CPPBIN
736 ac_ct_CXX
737 CXXFLAGS
739 OBJEXT
740 EXEEXT
741 ac_ct_CC
742 CPPFLAGS
743 LDFLAGS
744 CFLAGS
746 SET_MAKE
747 host_os
748 host_vendor
749 host_cpu
750 host
751 build_os
752 build_vendor
753 build_cpu
754 build
755 target_alias
756 host_alias
757 build_alias
758 LIBS
759 ECHO_T
760 ECHO_N
761 ECHO_C
762 DEFS
763 mandir
764 localedir
765 libdir
766 psdir
767 pdfdir
768 dvidir
769 htmldir
770 infodir
771 docdir
772 oldincludedir
773 includedir
774 localstatedir
775 sharedstatedir
776 sysconfdir
777 datadir
778 datarootdir
779 libexecdir
780 sbindir
781 bindir
782 program_transform_name
783 prefix
784 exec_prefix
785 PACKAGE_URL
786 PACKAGE_BUGREPORT
787 PACKAGE_STRING
788 PACKAGE_VERSION
789 PACKAGE_TARNAME
790 PACKAGE_NAME
791 PATH_SEPARATOR
792 SHELL'
793 ac_subst_files=''
794 ac_user_opts='
795 enable_option_checking
796 enable_win16
797 enable_win64
798 enable_tests
799 enable_maintainer_mode
800 with_alsa
801 with_capi
802 with_cms
803 with_coreaudio
804 with_cups
805 with_curses
806 with_dbus
807 with_fontconfig
808 with_freetype
809 with_gettext
810 with_gettextpo
811 with_gphoto
812 with_glu
813 with_gnutls
814 with_gsm
815 with_gstreamer
816 with_hal
817 with_jpeg
818 with_ldap
819 with_mpg123
820 with_netapi
821 with_openal
822 with_opencl
823 with_opengl
824 with_osmesa
825 with_oss
826 with_pcap
827 with_png
828 with_pthread
829 with_sane
830 with_tiff
831 with_v4l
832 with_xcomposite
833 with_xcursor
834 with_xinerama
835 with_xinput
836 with_xinput2
837 with_xml
838 with_xrandr
839 with_xrender
840 with_xshape
841 with_xshm
842 with_xslt
843 with_xxf86vm
844 with_zlib
845 with_wine_tools
846 with_wine64
847 enable_largefile
848 with_x
849 enable_acledit
850 enable_aclui
851 enable_activeds
852 enable_actxprxy
853 enable_advapi32
854 enable_advpack
855 enable_amstream
856 enable_api_ms_win_core_com_l1_1_0
857 enable_api_ms_win_core_console_l1_1_0
858 enable_api_ms_win_core_debug_l1_1_1
859 enable_api_ms_win_core_errorhandling_l1_1_1
860 enable_api_ms_win_core_file_l1_2_0
861 enable_api_ms_win_core_handle_l1_1_0
862 enable_api_ms_win_core_heap_l1_2_0
863 enable_api_ms_win_core_heap_obsolete_l1_1_0
864 enable_api_ms_win_core_interlocked_l1_2_0
865 enable_api_ms_win_core_io_l1_1_1
866 enable_api_ms_win_core_kernel32_legacy_l1_1_0
867 enable_api_ms_win_core_libraryloader_l1_1_1
868 enable_api_ms_win_core_localization_l1_2_0
869 enable_api_ms_win_core_localization_obsolete_l1_1_0
870 enable_api_ms_win_core_localregistry_l1_1_0
871 enable_api_ms_win_core_memory_l1_1_1
872 enable_api_ms_win_core_namedpipe_l1_2_0
873 enable_api_ms_win_core_processenvironment_l1_2_0
874 enable_api_ms_win_core_processthreads_l1_1_0
875 enable_api_ms_win_core_processthreads_l1_1_1
876 enable_api_ms_win_core_profile_l1_1_0
877 enable_api_ms_win_core_psapi_l1_1_0
878 enable_api_ms_win_core_registry_l1_1_0
879 enable_api_ms_win_core_rtlsupport_l1_2_0
880 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
881 enable_api_ms_win_core_string_l1_1_0
882 enable_api_ms_win_core_synch_l1_2_0
883 enable_api_ms_win_core_sysinfo_l1_2_0
884 enable_api_ms_win_core_threadpool_legacy_l1_1_0
885 enable_api_ms_win_core_timezone_l1_1_0
886 enable_api_ms_win_core_url_l1_1_0
887 enable_api_ms_win_core_util_l1_1_0
888 enable_api_ms_win_core_winrt_error_l1_1_0
889 enable_api_ms_win_core_winrt_string_l1_1_0
890 enable_api_ms_win_downlevel_advapi32_l1_1_0
891 enable_api_ms_win_downlevel_advapi32_l2_1_0
892 enable_api_ms_win_downlevel_normaliz_l1_1_0
893 enable_api_ms_win_downlevel_ole32_l1_1_0
894 enable_api_ms_win_downlevel_shell32_l1_1_0
895 enable_api_ms_win_downlevel_shlwapi_l1_1_0
896 enable_api_ms_win_downlevel_shlwapi_l2_1_0
897 enable_api_ms_win_downlevel_user32_l1_1_0
898 enable_api_ms_win_downlevel_version_l1_1_0
899 enable_api_ms_win_eventing_provider_l1_1_0
900 enable_api_ms_win_ntuser_dc_access_l1_1_0
901 enable_api_ms_win_security_base_l1_1_0
902 enable_api_ms_win_security_base_l1_2_0
903 enable_api_ms_win_security_sddl_l1_1_0
904 enable_api_ms_win_service_core_l1_1_1
905 enable_api_ms_win_service_management_l1_1_0
906 enable_api_ms_win_service_winsvc_l1_2_0
907 enable_apphelp
908 enable_appwiz_cpl
909 enable_atl
910 enable_atl100
911 enable_atl110
912 enable_atl80
913 enable_atl90
914 enable_authz
915 enable_avicap32
916 enable_avifil32
917 enable_avrt
918 enable_bcrypt
919 enable_browseui
920 enable_cabinet
921 enable_capi2032
922 enable_cards
923 enable_cfgmgr32
924 enable_clusapi
925 enable_comcat
926 enable_comctl32
927 enable_comdlg32
928 enable_compstui
929 enable_comsvcs
930 enable_credui
931 enable_crtdll
932 enable_crypt32
933 enable_cryptdlg
934 enable_cryptdll
935 enable_cryptnet
936 enable_cryptui
937 enable_ctapi32
938 enable_ctl3d32
939 enable_d2d1
940 enable_d3d10
941 enable_d3d10_1
942 enable_d3d10core
943 enable_d3d11
944 enable_d3d8
945 enable_d3d9
946 enable_d3dcompiler_33
947 enable_d3dcompiler_34
948 enable_d3dcompiler_35
949 enable_d3dcompiler_36
950 enable_d3dcompiler_37
951 enable_d3dcompiler_38
952 enable_d3dcompiler_39
953 enable_d3dcompiler_40
954 enable_d3dcompiler_41
955 enable_d3dcompiler_42
956 enable_d3dcompiler_43
957 enable_d3dim
958 enable_d3drm
959 enable_d3dx10_33
960 enable_d3dx10_34
961 enable_d3dx10_35
962 enable_d3dx10_36
963 enable_d3dx10_37
964 enable_d3dx10_38
965 enable_d3dx10_39
966 enable_d3dx10_40
967 enable_d3dx10_41
968 enable_d3dx10_42
969 enable_d3dx10_43
970 enable_d3dx11_42
971 enable_d3dx11_43
972 enable_d3dx9_24
973 enable_d3dx9_25
974 enable_d3dx9_26
975 enable_d3dx9_27
976 enable_d3dx9_28
977 enable_d3dx9_29
978 enable_d3dx9_30
979 enable_d3dx9_31
980 enable_d3dx9_32
981 enable_d3dx9_33
982 enable_d3dx9_34
983 enable_d3dx9_35
984 enable_d3dx9_36
985 enable_d3dx9_37
986 enable_d3dx9_38
987 enable_d3dx9_39
988 enable_d3dx9_40
989 enable_d3dx9_41
990 enable_d3dx9_42
991 enable_d3dx9_43
992 enable_d3dxof
993 enable_dbgeng
994 enable_dbghelp
995 enable_dciman32
996 enable_ddraw
997 enable_ddrawex
998 enable_devenum
999 enable_dhcpcsvc
1000 enable_difxapi
1001 enable_dinput
1002 enable_dinput8
1003 enable_dispex
1004 enable_dmband
1005 enable_dmcompos
1006 enable_dmime
1007 enable_dmloader
1008 enable_dmscript
1009 enable_dmstyle
1010 enable_dmsynth
1011 enable_dmusic
1012 enable_dmusic32
1013 enable_dnsapi
1014 enable_dplay
1015 enable_dplayx
1016 enable_dpnaddr
1017 enable_dpnet
1018 enable_dpnhpast
1019 enable_dpnlobby
1020 enable_dpwsockx
1021 enable_drmclien
1022 enable_dsound
1023 enable_dssenh
1024 enable_dswave
1025 enable_dwmapi
1026 enable_dwrite
1027 enable_dxdiagn
1028 enable_dxgi
1029 enable_dxva2
1030 enable_explorerframe
1031 enable_ext_ms_win_gdi_devcaps_l1_1_0
1032 enable_faultrep
1033 enable_fltlib
1034 enable_fntcache
1035 enable_fontsub
1036 enable_fusion
1037 enable_fwpuclnt
1038 enable_gameux
1039 enable_gdi32
1040 enable_gdiplus
1041 enable_glu32
1042 enable_gphoto2_ds
1043 enable_gpkcsp
1044 enable_hal
1045 enable_hhctrl_ocx
1046 enable_hid
1047 enable_hlink
1048 enable_hnetcfg
1049 enable_httpapi
1050 enable_iccvid
1051 enable_icmp
1052 enable_ieframe
1053 enable_imaadp32_acm
1054 enable_imagehlp
1055 enable_imm32
1056 enable_inetcomm
1057 enable_inetcpl_cpl
1058 enable_inetmib1
1059 enable_infosoft
1060 enable_initpki
1061 enable_inkobj
1062 enable_inseng
1063 enable_iphlpapi
1064 enable_itircl
1065 enable_itss
1066 enable_joy_cpl
1067 enable_jscript
1068 enable_jsproxy
1069 enable_kernel32
1070 enable_ktmw32
1071 enable_loadperf
1072 enable_localspl
1073 enable_localui
1074 enable_lz32
1075 enable_mapi32
1076 enable_mapistub
1077 enable_mciavi32
1078 enable_mcicda
1079 enable_mciqtz32
1080 enable_mciseq
1081 enable_mciwave
1082 enable_mgmtapi
1083 enable_midimap
1084 enable_mlang
1085 enable_mmcndmgr
1086 enable_mmdevapi
1087 enable_mountmgr_sys
1088 enable_mpr
1089 enable_mprapi
1090 enable_msacm32_drv
1091 enable_msacm32
1092 enable_msadp32_acm
1093 enable_msasn1
1094 enable_mscat32
1095 enable_mscms
1096 enable_mscoree
1097 enable_msctf
1098 enable_msdaps
1099 enable_msdmo
1100 enable_msftedit
1101 enable_msg711_acm
1102 enable_msgsm32_acm
1103 enable_mshtml_tlb
1104 enable_mshtml
1105 enable_msi
1106 enable_msident
1107 enable_msimg32
1108 enable_msimsg
1109 enable_msimtf
1110 enable_msisip
1111 enable_msisys_ocx
1112 enable_msls31
1113 enable_msnet32
1114 enable_mspatcha
1115 enable_msrle32
1116 enable_mssign32
1117 enable_mssip32
1118 enable_mstask
1119 enable_msvcirt
1120 enable_msvcm80
1121 enable_msvcm90
1122 enable_msvcp100
1123 enable_msvcp110
1124 enable_msvcp60
1125 enable_msvcp70
1126 enable_msvcp71
1127 enable_msvcp80
1128 enable_msvcp90
1129 enable_msvcr100
1130 enable_msvcr110
1131 enable_msvcr70
1132 enable_msvcr71
1133 enable_msvcr80
1134 enable_msvcr90
1135 enable_msvcrt
1136 enable_msvcrt20
1137 enable_msvcrt40
1138 enable_msvcrtd
1139 enable_msvfw32
1140 enable_msvidc32
1141 enable_mswsock
1142 enable_msxml
1143 enable_msxml2
1144 enable_msxml3
1145 enable_msxml4
1146 enable_msxml6
1147 enable_nddeapi
1148 enable_netapi32
1149 enable_netcfgx
1150 enable_netprofm
1151 enable_newdev
1152 enable_normaliz
1153 enable_npmshtml
1154 enable_npptools
1155 enable_ntdll
1156 enable_ntdsapi
1157 enable_ntoskrnl_exe
1158 enable_ntprint
1159 enable_objsel
1160 enable_odbc32
1161 enable_odbccp32
1162 enable_odbccu32
1163 enable_ole32
1164 enable_oleacc
1165 enable_oleaut32
1166 enable_olecli32
1167 enable_oledb32
1168 enable_oledlg
1169 enable_olepro32
1170 enable_olesvr32
1171 enable_olethk32
1172 enable_openal32
1173 enable_opencl
1174 enable_opengl32
1175 enable_packager
1176 enable_pdh
1177 enable_photometadatahandler
1178 enable_pidgen
1179 enable_powrprof
1180 enable_printui
1181 enable_propsys
1182 enable_psapi
1183 enable_pstorec
1184 enable_qcap
1185 enable_qedit
1186 enable_qmgr
1187 enable_qmgrprxy
1188 enable_quartz
1189 enable_query
1190 enable_rasapi32
1191 enable_rasdlg
1192 enable_regapi
1193 enable_resutils
1194 enable_riched20
1195 enable_riched32
1196 enable_rpcrt4
1197 enable_rsabase
1198 enable_rsaenh
1199 enable_rstrtmgr
1200 enable_rtutils
1201 enable_samlib
1202 enable_sane_ds
1203 enable_scarddlg
1204 enable_sccbase
1205 enable_schannel
1206 enable_schedsvc
1207 enable_scrrun
1208 enable_scsiport_sys
1209 enable_secur32
1210 enable_security
1211 enable_sensapi
1212 enable_serialui
1213 enable_setupapi
1214 enable_sfc
1215 enable_sfc_os
1216 enable_shdoclc
1217 enable_shdocvw
1218 enable_shell32
1219 enable_shfolder
1220 enable_shlwapi
1221 enable_slbcsp
1222 enable_slc
1223 enable_snmpapi
1224 enable_softpub
1225 enable_spoolss
1226 enable_stdole2_tlb
1227 enable_stdole32_tlb
1228 enable_sti
1229 enable_svrapi
1230 enable_sxs
1231 enable_t2embed
1232 enable_tapi32
1233 enable_taskschd
1234 enable_traffic
1235 enable_twain_32
1236 enable_unicows
1237 enable_updspapi
1238 enable_url
1239 enable_urlmon
1240 enable_usbd_sys
1241 enable_user32
1242 enable_userenv
1243 enable_usp10
1244 enable_uxtheme
1245 enable_vbscript
1246 enable_vcomp
1247 enable_vcomp100
1248 enable_vcomp90
1249 enable_vdmdbg
1250 enable_version
1251 enable_wbemdisp
1252 enable_wbemprox
1253 enable_webservices
1254 enable_wer
1255 enable_wevtapi
1256 enable_wiaservc
1257 enable_windowscodecs
1258 enable_windowscodecsext
1259 enable_winealsa_drv
1260 enable_winecoreaudio_drv
1261 enable_wined3d
1262 enable_winegstreamer
1263 enable_winejoystick_drv
1264 enable_winemac_drv
1265 enable_winemapi
1266 enable_winemp3_acm
1267 enable_wineoss_drv
1268 enable_wineps_drv
1269 enable_wineqtdecoder
1270 enable_winex11_drv
1271 enable_wing32
1272 enable_winhttp
1273 enable_wininet
1274 enable_winmm
1275 enable_winnls32
1276 enable_winscard
1277 enable_winspool_drv
1278 enable_winsta
1279 enable_wintab32
1280 enable_wintrust
1281 enable_wlanapi
1282 enable_wldap32
1283 enable_wmi
1284 enable_wmiutils
1285 enable_wmp
1286 enable_wmvcore
1287 enable_wnaspi32
1288 enable_wpcap
1289 enable_ws2_32
1290 enable_wshom_ocx
1291 enable_wsnmp32
1292 enable_wsock32
1293 enable_wtsapi32
1294 enable_wuapi
1295 enable_wuaueng
1296 enable_xapofx1_1
1297 enable_xinput1_1
1298 enable_xinput1_2
1299 enable_xinput1_3
1300 enable_xinput1_4
1301 enable_xinput9_1_0
1302 enable_xmllite
1303 enable_xolehlp
1304 enable_xpsprint
1305 enable_xpssvcs
1306 enable_documentation
1307 enable_fonts
1308 enable_include
1309 enable_libs_port
1310 enable_libs_wine
1311 enable_libs_wpp
1312 enable_loader
1313 enable_arp
1314 enable_aspnet_regiis
1315 enable_attrib
1316 enable_cabarc
1317 enable_cacls
1318 enable_clock
1319 enable_cmd
1320 enable_conhost
1321 enable_control
1322 enable_cscript
1323 enable_dpnsvr
1324 enable_dxdiag
1325 enable_eject
1326 enable_expand
1327 enable_explorer
1328 enable_extrac32
1329 enable_findstr
1330 enable_hh
1331 enable_hostname
1332 enable_icinfo
1333 enable_iexplore
1334 enable_ipconfig
1335 enable_lodctr
1336 enable_mofcomp
1337 enable_mshta
1338 enable_msiexec
1339 enable_net
1340 enable_netsh
1341 enable_netstat
1342 enable_ngen
1343 enable_notepad
1344 enable_oleview
1345 enable_ping
1346 enable_plugplay
1347 enable_presentationfontcache
1348 enable_progman
1349 enable_reg
1350 enable_regasm
1351 enable_regedit
1352 enable_regsvcs
1353 enable_regsvr32
1354 enable_rpcss
1355 enable_rundll32
1356 enable_sc
1357 enable_schtasks
1358 enable_sdbinst
1359 enable_secedit
1360 enable_servicemodelreg
1361 enable_services
1362 enable_spoolsv
1363 enable_start
1364 enable_svchost
1365 enable_taskkill
1366 enable_tasklist
1367 enable_taskmgr
1368 enable_termsv
1369 enable_uninstaller
1370 enable_unlodctr
1371 enable_view
1372 enable_wevtutil
1373 enable_wineboot
1374 enable_winebrowser
1375 enable_winecfg
1376 enable_wineconsole
1377 enable_winedbg
1378 enable_winedevice
1379 enable_winefile
1380 enable_winemenubuilder
1381 enable_winemine
1382 enable_winemsibuilder
1383 enable_winepath
1384 enable_winetest
1385 enable_winhlp32
1386 enable_winver
1387 enable_wmic
1388 enable_wordpad
1389 enable_write
1390 enable_wscript
1391 enable_wusa
1392 enable_xcopy
1393 enable_server
1394 enable_tools
1396 ac_precious_vars='build_alias
1397 host_alias
1398 target_alias
1400 CFLAGS
1401 LDFLAGS
1402 LIBS
1403 CPPFLAGS
1405 CXXFLAGS
1408 XMKMF
1409 XML2_CFLAGS
1410 XML2_LIBS
1411 XSLT_CFLAGS
1412 XSLT_LIBS
1413 DBUS_CFLAGS
1414 DBUS_LIBS
1415 HAL_CFLAGS
1416 HAL_LIBS
1417 GNUTLS_CFLAGS
1418 GNUTLS_LIBS
1419 SANE_CFLAGS
1420 SANE_LIBS
1421 GPHOTO2_CFLAGS
1422 GPHOTO2_LIBS
1423 GPHOTO2_PORT_CFLAGS
1424 GPHOTO2_PORT_LIBS
1425 LCMS2_CFLAGS
1426 LCMS2_LIBS
1427 FREETYPE_CFLAGS
1428 FREETYPE_LIBS
1429 GSTREAMER_CFLAGS
1430 GSTREAMER_LIBS
1431 CAPI20_CFLAGS
1432 CAPI20_LIBS
1433 FONTCONFIG_CFLAGS
1434 FONTCONFIG_LIBS
1435 JPEG_CFLAGS
1436 JPEG_LIBS
1437 PNG_CFLAGS
1438 PNG_LIBS
1439 TIFF_CFLAGS
1440 TIFF_LIBS
1441 MPG123_CFLAGS
1442 MPG123_LIBS'
1445 # Initialize some variables set by options.
1446 ac_init_help=
1447 ac_init_version=false
1448 ac_unrecognized_opts=
1449 ac_unrecognized_sep=
1450 # The variables have the same names as the options, with
1451 # dashes changed to underlines.
1452 cache_file=/dev/null
1453 exec_prefix=NONE
1454 no_create=
1455 no_recursion=
1456 prefix=NONE
1457 program_prefix=NONE
1458 program_suffix=NONE
1459 program_transform_name=s,x,x,
1460 silent=
1461 site=
1462 srcdir=
1463 verbose=
1464 x_includes=NONE
1465 x_libraries=NONE
1467 # Installation directory options.
1468 # These are left unexpanded so users can "make install exec_prefix=/foo"
1469 # and all the variables that are supposed to be based on exec_prefix
1470 # by default will actually change.
1471 # Use braces instead of parens because sh, perl, etc. also accept them.
1472 # (The list follows the same order as the GNU Coding Standards.)
1473 bindir='${exec_prefix}/bin'
1474 sbindir='${exec_prefix}/sbin'
1475 libexecdir='${exec_prefix}/libexec'
1476 datarootdir='${prefix}/share'
1477 datadir='${datarootdir}'
1478 sysconfdir='${prefix}/etc'
1479 sharedstatedir='${prefix}/com'
1480 localstatedir='${prefix}/var'
1481 includedir='${prefix}/include'
1482 oldincludedir='/usr/include'
1483 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1484 infodir='${datarootdir}/info'
1485 htmldir='${docdir}'
1486 dvidir='${docdir}'
1487 pdfdir='${docdir}'
1488 psdir='${docdir}'
1489 libdir='${exec_prefix}/lib'
1490 localedir='${datarootdir}/locale'
1491 mandir='${datarootdir}/man'
1493 ac_prev=
1494 ac_dashdash=
1495 for ac_option
1497 # If the previous option needs an argument, assign it.
1498 if test -n "$ac_prev"; then
1499 eval $ac_prev=\$ac_option
1500 ac_prev=
1501 continue
1504 case $ac_option in
1505 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1506 *=) ac_optarg= ;;
1507 *) ac_optarg=yes ;;
1508 esac
1510 # Accept the important Cygnus configure options, so we can diagnose typos.
1512 case $ac_dashdash$ac_option in
1514 ac_dashdash=yes ;;
1516 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1517 ac_prev=bindir ;;
1518 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1519 bindir=$ac_optarg ;;
1521 -build | --build | --buil | --bui | --bu)
1522 ac_prev=build_alias ;;
1523 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1524 build_alias=$ac_optarg ;;
1526 -cache-file | --cache-file | --cache-fil | --cache-fi \
1527 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1528 ac_prev=cache_file ;;
1529 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1530 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1531 cache_file=$ac_optarg ;;
1533 --config-cache | -C)
1534 cache_file=config.cache ;;
1536 -datadir | --datadir | --datadi | --datad)
1537 ac_prev=datadir ;;
1538 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1539 datadir=$ac_optarg ;;
1541 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1542 | --dataroo | --dataro | --datar)
1543 ac_prev=datarootdir ;;
1544 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1545 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1546 datarootdir=$ac_optarg ;;
1548 -disable-* | --disable-*)
1549 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1550 # Reject names that are not valid shell variable names.
1551 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1552 as_fn_error $? "invalid feature name: $ac_useropt"
1553 ac_useropt_orig=$ac_useropt
1554 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1555 case $ac_user_opts in
1557 "enable_$ac_useropt"
1558 "*) ;;
1559 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1560 ac_unrecognized_sep=', ';;
1561 esac
1562 eval enable_$ac_useropt=no ;;
1564 -docdir | --docdir | --docdi | --doc | --do)
1565 ac_prev=docdir ;;
1566 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1567 docdir=$ac_optarg ;;
1569 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1570 ac_prev=dvidir ;;
1571 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1572 dvidir=$ac_optarg ;;
1574 -enable-* | --enable-*)
1575 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1576 # Reject names that are not valid shell variable names.
1577 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1578 as_fn_error $? "invalid feature name: $ac_useropt"
1579 ac_useropt_orig=$ac_useropt
1580 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1581 case $ac_user_opts in
1583 "enable_$ac_useropt"
1584 "*) ;;
1585 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1586 ac_unrecognized_sep=', ';;
1587 esac
1588 eval enable_$ac_useropt=\$ac_optarg ;;
1590 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1591 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1592 | --exec | --exe | --ex)
1593 ac_prev=exec_prefix ;;
1594 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1595 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1596 | --exec=* | --exe=* | --ex=*)
1597 exec_prefix=$ac_optarg ;;
1599 -gas | --gas | --ga | --g)
1600 # Obsolete; use --with-gas.
1601 with_gas=yes ;;
1603 -help | --help | --hel | --he | -h)
1604 ac_init_help=long ;;
1605 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1606 ac_init_help=recursive ;;
1607 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1608 ac_init_help=short ;;
1610 -host | --host | --hos | --ho)
1611 ac_prev=host_alias ;;
1612 -host=* | --host=* | --hos=* | --ho=*)
1613 host_alias=$ac_optarg ;;
1615 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1616 ac_prev=htmldir ;;
1617 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1618 | --ht=*)
1619 htmldir=$ac_optarg ;;
1621 -includedir | --includedir | --includedi | --included | --include \
1622 | --includ | --inclu | --incl | --inc)
1623 ac_prev=includedir ;;
1624 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1625 | --includ=* | --inclu=* | --incl=* | --inc=*)
1626 includedir=$ac_optarg ;;
1628 -infodir | --infodir | --infodi | --infod | --info | --inf)
1629 ac_prev=infodir ;;
1630 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1631 infodir=$ac_optarg ;;
1633 -libdir | --libdir | --libdi | --libd)
1634 ac_prev=libdir ;;
1635 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1636 libdir=$ac_optarg ;;
1638 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1639 | --libexe | --libex | --libe)
1640 ac_prev=libexecdir ;;
1641 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1642 | --libexe=* | --libex=* | --libe=*)
1643 libexecdir=$ac_optarg ;;
1645 -localedir | --localedir | --localedi | --localed | --locale)
1646 ac_prev=localedir ;;
1647 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1648 localedir=$ac_optarg ;;
1650 -localstatedir | --localstatedir | --localstatedi | --localstated \
1651 | --localstate | --localstat | --localsta | --localst | --locals)
1652 ac_prev=localstatedir ;;
1653 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1654 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1655 localstatedir=$ac_optarg ;;
1657 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1658 ac_prev=mandir ;;
1659 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1660 mandir=$ac_optarg ;;
1662 -nfp | --nfp | --nf)
1663 # Obsolete; use --without-fp.
1664 with_fp=no ;;
1666 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1667 | --no-cr | --no-c | -n)
1668 no_create=yes ;;
1670 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1671 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1672 no_recursion=yes ;;
1674 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1675 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1676 | --oldin | --oldi | --old | --ol | --o)
1677 ac_prev=oldincludedir ;;
1678 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1679 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1680 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1681 oldincludedir=$ac_optarg ;;
1683 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1684 ac_prev=prefix ;;
1685 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1686 prefix=$ac_optarg ;;
1688 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1689 | --program-pre | --program-pr | --program-p)
1690 ac_prev=program_prefix ;;
1691 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1692 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1693 program_prefix=$ac_optarg ;;
1695 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1696 | --program-suf | --program-su | --program-s)
1697 ac_prev=program_suffix ;;
1698 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1699 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1700 program_suffix=$ac_optarg ;;
1702 -program-transform-name | --program-transform-name \
1703 | --program-transform-nam | --program-transform-na \
1704 | --program-transform-n | --program-transform- \
1705 | --program-transform | --program-transfor \
1706 | --program-transfo | --program-transf \
1707 | --program-trans | --program-tran \
1708 | --progr-tra | --program-tr | --program-t)
1709 ac_prev=program_transform_name ;;
1710 -program-transform-name=* | --program-transform-name=* \
1711 | --program-transform-nam=* | --program-transform-na=* \
1712 | --program-transform-n=* | --program-transform-=* \
1713 | --program-transform=* | --program-transfor=* \
1714 | --program-transfo=* | --program-transf=* \
1715 | --program-trans=* | --program-tran=* \
1716 | --progr-tra=* | --program-tr=* | --program-t=*)
1717 program_transform_name=$ac_optarg ;;
1719 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1720 ac_prev=pdfdir ;;
1721 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1722 pdfdir=$ac_optarg ;;
1724 -psdir | --psdir | --psdi | --psd | --ps)
1725 ac_prev=psdir ;;
1726 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1727 psdir=$ac_optarg ;;
1729 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1730 | -silent | --silent | --silen | --sile | --sil)
1731 silent=yes ;;
1733 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1734 ac_prev=sbindir ;;
1735 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1736 | --sbi=* | --sb=*)
1737 sbindir=$ac_optarg ;;
1739 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1740 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1741 | --sharedst | --shareds | --shared | --share | --shar \
1742 | --sha | --sh)
1743 ac_prev=sharedstatedir ;;
1744 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1745 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1746 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1747 | --sha=* | --sh=*)
1748 sharedstatedir=$ac_optarg ;;
1750 -site | --site | --sit)
1751 ac_prev=site ;;
1752 -site=* | --site=* | --sit=*)
1753 site=$ac_optarg ;;
1755 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1756 ac_prev=srcdir ;;
1757 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1758 srcdir=$ac_optarg ;;
1760 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1761 | --syscon | --sysco | --sysc | --sys | --sy)
1762 ac_prev=sysconfdir ;;
1763 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1764 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1765 sysconfdir=$ac_optarg ;;
1767 -target | --target | --targe | --targ | --tar | --ta | --t)
1768 ac_prev=target_alias ;;
1769 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1770 target_alias=$ac_optarg ;;
1772 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1773 verbose=yes ;;
1775 -version | --version | --versio | --versi | --vers | -V)
1776 ac_init_version=: ;;
1778 -with-* | --with-*)
1779 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1780 # Reject names that are not valid shell variable names.
1781 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1782 as_fn_error $? "invalid package name: $ac_useropt"
1783 ac_useropt_orig=$ac_useropt
1784 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1785 case $ac_user_opts in
1787 "with_$ac_useropt"
1788 "*) ;;
1789 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1790 ac_unrecognized_sep=', ';;
1791 esac
1792 eval with_$ac_useropt=\$ac_optarg ;;
1794 -without-* | --without-*)
1795 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1796 # Reject names that are not valid shell variable names.
1797 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1798 as_fn_error $? "invalid package name: $ac_useropt"
1799 ac_useropt_orig=$ac_useropt
1800 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1801 case $ac_user_opts in
1803 "with_$ac_useropt"
1804 "*) ;;
1805 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1806 ac_unrecognized_sep=', ';;
1807 esac
1808 eval with_$ac_useropt=no ;;
1810 --x)
1811 # Obsolete; use --with-x.
1812 with_x=yes ;;
1814 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1815 | --x-incl | --x-inc | --x-in | --x-i)
1816 ac_prev=x_includes ;;
1817 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1818 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1819 x_includes=$ac_optarg ;;
1821 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1822 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1823 ac_prev=x_libraries ;;
1824 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1825 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1826 x_libraries=$ac_optarg ;;
1828 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1829 Try \`$0 --help' for more information"
1832 *=*)
1833 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1834 # Reject names that are not valid shell variable names.
1835 case $ac_envvar in #(
1836 '' | [0-9]* | *[!_$as_cr_alnum]* )
1837 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1838 esac
1839 eval $ac_envvar=\$ac_optarg
1840 export $ac_envvar ;;
1843 # FIXME: should be removed in autoconf 3.0.
1844 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1845 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1846 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1847 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1850 esac
1851 done
1853 if test -n "$ac_prev"; then
1854 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1855 as_fn_error $? "missing argument to $ac_option"
1858 if test -n "$ac_unrecognized_opts"; then
1859 case $enable_option_checking in
1860 no) ;;
1861 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1862 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1863 esac
1866 # Check all directory arguments for consistency.
1867 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1868 datadir sysconfdir sharedstatedir localstatedir includedir \
1869 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1870 libdir localedir mandir
1872 eval ac_val=\$$ac_var
1873 # Remove trailing slashes.
1874 case $ac_val in
1875 */ )
1876 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1877 eval $ac_var=\$ac_val;;
1878 esac
1879 # Be sure to have absolute directory names.
1880 case $ac_val in
1881 [\\/$]* | ?:[\\/]* ) continue;;
1882 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1883 esac
1884 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1885 done
1887 # There might be people who depend on the old broken behavior: `$host'
1888 # used to hold the argument of --host etc.
1889 # FIXME: To remove some day.
1890 build=$build_alias
1891 host=$host_alias
1892 target=$target_alias
1894 # FIXME: To remove some day.
1895 if test "x$host_alias" != x; then
1896 if test "x$build_alias" = x; then
1897 cross_compiling=maybe
1898 elif test "x$build_alias" != "x$host_alias"; then
1899 cross_compiling=yes
1903 ac_tool_prefix=
1904 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1906 test "$silent" = yes && exec 6>/dev/null
1909 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1910 ac_ls_di=`ls -di .` &&
1911 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1912 as_fn_error $? "working directory cannot be determined"
1913 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1914 as_fn_error $? "pwd does not report name of working directory"
1917 # Find the source files, if location was not specified.
1918 if test -z "$srcdir"; then
1919 ac_srcdir_defaulted=yes
1920 # Try the directory containing this script, then the parent directory.
1921 ac_confdir=`$as_dirname -- "$as_myself" ||
1922 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1923 X"$as_myself" : 'X\(//\)[^/]' \| \
1924 X"$as_myself" : 'X\(//\)$' \| \
1925 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1926 $as_echo X"$as_myself" |
1927 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1928 s//\1/
1931 /^X\(\/\/\)[^/].*/{
1932 s//\1/
1935 /^X\(\/\/\)$/{
1936 s//\1/
1939 /^X\(\/\).*/{
1940 s//\1/
1943 s/.*/./; q'`
1944 srcdir=$ac_confdir
1945 if test ! -r "$srcdir/$ac_unique_file"; then
1946 srcdir=..
1948 else
1949 ac_srcdir_defaulted=no
1951 if test ! -r "$srcdir/$ac_unique_file"; then
1952 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1953 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1955 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1956 ac_abs_confdir=`(
1957 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1958 pwd)`
1959 # When building in place, set srcdir=.
1960 if test "$ac_abs_confdir" = "$ac_pwd"; then
1961 srcdir=.
1963 # Remove unnecessary trailing slashes from srcdir.
1964 # Double slashes in file names in object file debugging info
1965 # mess up M-x gdb in Emacs.
1966 case $srcdir in
1967 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1968 esac
1969 for ac_var in $ac_precious_vars; do
1970 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1971 eval ac_env_${ac_var}_value=\$${ac_var}
1972 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1973 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1974 done
1977 # Report the --help message.
1979 if test "$ac_init_help" = "long"; then
1980 # Omit some internal or obsolete options to make the list less imposing.
1981 # This message is too long to be a string in the A/UX 3.1 sh.
1982 cat <<_ACEOF
1983 \`configure' configures Wine 1.7.25 to adapt to many kinds of systems.
1985 Usage: $0 [OPTION]... [VAR=VALUE]...
1987 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1988 VAR=VALUE. See below for descriptions of some of the useful variables.
1990 Defaults for the options are specified in brackets.
1992 Configuration:
1993 -h, --help display this help and exit
1994 --help=short display options specific to this package
1995 --help=recursive display the short help of all the included packages
1996 -V, --version display version information and exit
1997 -q, --quiet, --silent do not print \`checking ...' messages
1998 --cache-file=FILE cache test results in FILE [disabled]
1999 -C, --config-cache alias for \`--cache-file=config.cache'
2000 -n, --no-create do not create output files
2001 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2003 Installation directories:
2004 --prefix=PREFIX install architecture-independent files in PREFIX
2005 [$ac_default_prefix]
2006 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2007 [PREFIX]
2009 By default, \`make install' will install all the files in
2010 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2011 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2012 for instance \`--prefix=\$HOME'.
2014 For better control, use the options below.
2016 Fine tuning of the installation directories:
2017 --bindir=DIR user executables [EPREFIX/bin]
2018 --sbindir=DIR system admin executables [EPREFIX/sbin]
2019 --libexecdir=DIR program executables [EPREFIX/libexec]
2020 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2021 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2022 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2023 --libdir=DIR object code libraries [EPREFIX/lib]
2024 --includedir=DIR C header files [PREFIX/include]
2025 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2026 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2027 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2028 --infodir=DIR info documentation [DATAROOTDIR/info]
2029 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2030 --mandir=DIR man documentation [DATAROOTDIR/man]
2031 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2032 --htmldir=DIR html documentation [DOCDIR]
2033 --dvidir=DIR dvi documentation [DOCDIR]
2034 --pdfdir=DIR pdf documentation [DOCDIR]
2035 --psdir=DIR ps documentation [DOCDIR]
2036 _ACEOF
2038 cat <<\_ACEOF
2040 X features:
2041 --x-includes=DIR X include files are in DIR
2042 --x-libraries=DIR X library files are in DIR
2044 System types:
2045 --build=BUILD configure for building on BUILD [guessed]
2046 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2047 _ACEOF
2050 if test -n "$ac_init_help"; then
2051 case $ac_init_help in
2052 short | recursive ) echo "Configuration of Wine 1.7.25:";;
2053 esac
2054 cat <<\_ACEOF
2056 Optional Features:
2057 --disable-option-checking ignore unrecognized --enable/--with options
2058 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2059 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2060 --disable-win16 do not include Win16 support
2061 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2062 binaries)
2063 --disable-tests do not build the regression tests
2064 --enable-maintainer-mode
2065 enable maintainer-specific build rules
2066 --disable-largefile omit support for large files
2068 Optional Packages:
2069 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2070 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2071 --without-alsa do not use the Alsa sound support
2072 --without-capi do not use CAPI (ISDN support)
2073 --without-cms do not use CMS (color management support)
2074 --without-coreaudio do not use the CoreAudio sound support
2075 --without-cups do not use CUPS
2076 --without-curses do not use (n)curses
2077 --without-dbus do not use DBus (dynamic device support)
2078 --without-fontconfig do not use fontconfig
2079 --without-freetype do not use the FreeType library
2080 --without-gettext do not use gettext
2081 --with-gettextpo use the GetTextPO library to rebuild po files
2082 --without-gphoto do not use gphoto (Digital Camera support)
2083 --without-glu do not use the GLU library
2084 --without-gnutls do not use GnuTLS (schannel support)
2085 --without-gsm do not use libgsm (GSM 06.10 codec support)
2086 --without-gstreamer do not use GStreamer (codecs support)
2087 --without-hal do not use HAL (dynamic device support)
2088 --without-jpeg do not use JPEG
2089 --without-ldap do not use LDAP
2090 --without-mpg123 do not use the mpg123 library
2091 --without-netapi do not use the Samba NetAPI library
2092 --without-openal do not use OpenAL
2093 --without-opencl do not use OpenCL
2094 --without-opengl do not use OpenGL
2095 --without-osmesa do not use the OSMesa library
2096 --without-oss do not use the OSS sound support
2097 --without-pcap do not use the Packet Capture library
2098 --without-png do not use PNG
2099 --without-pthread do not use the pthread library
2100 --without-sane do not use SANE (scanner support)
2101 --without-tiff do not use TIFF
2102 --without-v4l do not use v4l1 (v4l support)
2103 --without-xcomposite do not use the Xcomposite extension
2104 --without-xcursor do not use the Xcursor extension
2105 --without-xinerama do not use Xinerama (multi-monitor support)
2106 --without-xinput do not use the Xinput extension
2107 --without-xinput2 do not use the Xinput 2 extension
2108 --without-xml do not use XML
2109 --without-xrandr do not use Xrandr (resolution changes)
2110 --without-xrender do not use the Xrender extension
2111 --without-xshape do not use the Xshape extension
2112 --without-xshm do not use XShm (shared memory extension)
2113 --without-xslt do not use XSLT
2114 --without-xxf86vm do not use XFree video mode extension
2115 --without-zlib do not use Zlib (data compression)
2116 --with-wine-tools=DIR use Wine tools from directory DIR
2117 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2118 --with-x use the X Window System
2120 Some influential environment variables:
2121 CC C compiler command
2122 CFLAGS C compiler flags
2123 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2124 nonstandard directory <lib dir>
2125 LIBS libraries to pass to the linker, e.g. -l<library>
2126 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2127 you have headers in a nonstandard directory <include dir>
2128 CXX C++ compiler command
2129 CXXFLAGS C++ compiler flags
2130 CPP C preprocessor
2131 XMKMF Path to xmkmf, Makefile generator for X Window System
2132 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2133 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2134 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2135 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2136 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2137 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2138 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2139 HAL_LIBS Linker flags for hal, overriding pkg-config
2140 GNUTLS_CFLAGS
2141 C compiler flags for gnutls, overriding pkg-config
2142 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2143 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2144 SANE_LIBS Linker flags for libsane, overriding pkg-config
2145 GPHOTO2_CFLAGS
2146 C compiler flags for libgphoto2, overriding pkg-config
2147 GPHOTO2_LIBS
2148 Linker flags for libgphoto2, overriding pkg-config
2149 GPHOTO2_PORT_CFLAGS
2150 C compiler flags for libgphoto2_port, overriding pkg-config
2151 GPHOTO2_PORT_LIBS
2152 Linker flags for libgphoto2_port, overriding pkg-config
2153 LCMS2_CFLAGS
2154 C compiler flags for lcms2, overriding pkg-config
2155 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2156 FREETYPE_CFLAGS
2157 C compiler flags for freetype2, overriding pkg-config
2158 FREETYPE_LIBS
2159 Linker flags for freetype2, overriding pkg-config
2160 GSTREAMER_CFLAGS
2161 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2162 GSTREAMER_LIBS
2163 Linker flags for gstreamer-app-0.10, overriding pkg-config
2164 CAPI20_CFLAGS
2165 C compiler flags for capi20, overriding pkg-config
2166 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2167 FONTCONFIG_CFLAGS
2168 C compiler flags for fontconfig, overriding pkg-config
2169 FONTCONFIG_LIBS
2170 Linker flags for fontconfig, overriding pkg-config
2171 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2172 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2173 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2174 PNG_LIBS Linker flags for libpng, overriding pkg-config
2175 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2176 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2177 MPG123_CFLAGS
2178 C compiler flags for libmpg123, overriding pkg-config
2179 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2181 Use these variables to override the choices made by `configure' or to help
2182 it to find libraries and programs with nonstandard names/locations.
2184 Report bugs to <wine-devel@winehq.org>.
2185 Wine home page: <http://www.winehq.org>.
2186 _ACEOF
2187 ac_status=$?
2190 if test "$ac_init_help" = "recursive"; then
2191 # If there are subdirs, report their specific --help.
2192 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2193 test -d "$ac_dir" ||
2194 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2195 continue
2196 ac_builddir=.
2198 case "$ac_dir" in
2199 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2201 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2202 # A ".." for each directory in $ac_dir_suffix.
2203 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2204 case $ac_top_builddir_sub in
2205 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2206 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2207 esac ;;
2208 esac
2209 ac_abs_top_builddir=$ac_pwd
2210 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2211 # for backward compatibility:
2212 ac_top_builddir=$ac_top_build_prefix
2214 case $srcdir in
2215 .) # We are building in place.
2216 ac_srcdir=.
2217 ac_top_srcdir=$ac_top_builddir_sub
2218 ac_abs_top_srcdir=$ac_pwd ;;
2219 [\\/]* | ?:[\\/]* ) # Absolute name.
2220 ac_srcdir=$srcdir$ac_dir_suffix;
2221 ac_top_srcdir=$srcdir
2222 ac_abs_top_srcdir=$srcdir ;;
2223 *) # Relative name.
2224 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2225 ac_top_srcdir=$ac_top_build_prefix$srcdir
2226 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2227 esac
2228 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2230 cd "$ac_dir" || { ac_status=$?; continue; }
2231 # Check for guested configure.
2232 if test -f "$ac_srcdir/configure.gnu"; then
2233 echo &&
2234 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2235 elif test -f "$ac_srcdir/configure"; then
2236 echo &&
2237 $SHELL "$ac_srcdir/configure" --help=recursive
2238 else
2239 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2240 fi || ac_status=$?
2241 cd "$ac_pwd" || { ac_status=$?; break; }
2242 done
2245 test -n "$ac_init_help" && exit $ac_status
2246 if $ac_init_version; then
2247 cat <<\_ACEOF
2248 Wine configure 1.7.25
2249 generated by GNU Autoconf 2.69
2251 Copyright (C) 2012 Free Software Foundation, Inc.
2252 This configure script is free software; the Free Software Foundation
2253 gives unlimited permission to copy, distribute and modify it.
2254 _ACEOF
2255 exit
2258 ## ------------------------ ##
2259 ## Autoconf initialization. ##
2260 ## ------------------------ ##
2262 # ac_fn_c_try_compile LINENO
2263 # --------------------------
2264 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2265 ac_fn_c_try_compile ()
2267 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2268 rm -f conftest.$ac_objext
2269 if { { ac_try="$ac_compile"
2270 case "(($ac_try" in
2271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2272 *) ac_try_echo=$ac_try;;
2273 esac
2274 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2275 $as_echo "$ac_try_echo"; } >&5
2276 (eval "$ac_compile") 2>conftest.err
2277 ac_status=$?
2278 if test -s conftest.err; then
2279 grep -v '^ *+' conftest.err >conftest.er1
2280 cat conftest.er1 >&5
2281 mv -f conftest.er1 conftest.err
2283 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2284 test $ac_status = 0; } && {
2285 test -z "$ac_c_werror_flag" ||
2286 test ! -s conftest.err
2287 } && test -s conftest.$ac_objext; then :
2288 ac_retval=0
2289 else
2290 $as_echo "$as_me: failed program was:" >&5
2291 sed 's/^/| /' conftest.$ac_ext >&5
2293 ac_retval=1
2295 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2296 as_fn_set_status $ac_retval
2298 } # ac_fn_c_try_compile
2300 # ac_fn_cxx_try_compile LINENO
2301 # ----------------------------
2302 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2303 ac_fn_cxx_try_compile ()
2305 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2306 rm -f conftest.$ac_objext
2307 if { { ac_try="$ac_compile"
2308 case "(($ac_try" in
2309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2310 *) ac_try_echo=$ac_try;;
2311 esac
2312 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2313 $as_echo "$ac_try_echo"; } >&5
2314 (eval "$ac_compile") 2>conftest.err
2315 ac_status=$?
2316 if test -s conftest.err; then
2317 grep -v '^ *+' conftest.err >conftest.er1
2318 cat conftest.er1 >&5
2319 mv -f conftest.er1 conftest.err
2321 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2322 test $ac_status = 0; } && {
2323 test -z "$ac_cxx_werror_flag" ||
2324 test ! -s conftest.err
2325 } && test -s conftest.$ac_objext; then :
2326 ac_retval=0
2327 else
2328 $as_echo "$as_me: failed program was:" >&5
2329 sed 's/^/| /' conftest.$ac_ext >&5
2331 ac_retval=1
2333 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2334 as_fn_set_status $ac_retval
2336 } # ac_fn_cxx_try_compile
2338 # ac_fn_c_try_link LINENO
2339 # -----------------------
2340 # Try to link conftest.$ac_ext, and return whether this succeeded.
2341 ac_fn_c_try_link ()
2343 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2344 rm -f conftest.$ac_objext conftest$ac_exeext
2345 if { { ac_try="$ac_link"
2346 case "(($ac_try" in
2347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2348 *) ac_try_echo=$ac_try;;
2349 esac
2350 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2351 $as_echo "$ac_try_echo"; } >&5
2352 (eval "$ac_link") 2>conftest.err
2353 ac_status=$?
2354 if test -s conftest.err; then
2355 grep -v '^ *+' conftest.err >conftest.er1
2356 cat conftest.er1 >&5
2357 mv -f conftest.er1 conftest.err
2359 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2360 test $ac_status = 0; } && {
2361 test -z "$ac_c_werror_flag" ||
2362 test ! -s conftest.err
2363 } && test -s conftest$ac_exeext && {
2364 test "$cross_compiling" = yes ||
2365 test -x conftest$ac_exeext
2366 }; then :
2367 ac_retval=0
2368 else
2369 $as_echo "$as_me: failed program was:" >&5
2370 sed 's/^/| /' conftest.$ac_ext >&5
2372 ac_retval=1
2374 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2375 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2376 # interfere with the next link command; also delete a directory that is
2377 # left behind by Apple's compiler. We do this before executing the actions.
2378 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2379 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2380 as_fn_set_status $ac_retval
2382 } # ac_fn_c_try_link
2384 # ac_fn_c_try_cpp LINENO
2385 # ----------------------
2386 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2387 ac_fn_c_try_cpp ()
2389 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2390 if { { ac_try="$ac_cpp conftest.$ac_ext"
2391 case "(($ac_try" in
2392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2393 *) ac_try_echo=$ac_try;;
2394 esac
2395 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2396 $as_echo "$ac_try_echo"; } >&5
2397 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2398 ac_status=$?
2399 if test -s conftest.err; then
2400 grep -v '^ *+' conftest.err >conftest.er1
2401 cat conftest.er1 >&5
2402 mv -f conftest.er1 conftest.err
2404 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2405 test $ac_status = 0; } > conftest.i && {
2406 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2407 test ! -s conftest.err
2408 }; then :
2409 ac_retval=0
2410 else
2411 $as_echo "$as_me: failed program was:" >&5
2412 sed 's/^/| /' conftest.$ac_ext >&5
2414 ac_retval=1
2416 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2417 as_fn_set_status $ac_retval
2419 } # ac_fn_c_try_cpp
2421 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2422 # -------------------------------------------------------
2423 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2424 # the include files in INCLUDES and setting the cache variable VAR
2425 # accordingly.
2426 ac_fn_c_check_header_mongrel ()
2428 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2429 if eval \${$3+:} false; then :
2430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2431 $as_echo_n "checking for $2... " >&6; }
2432 if eval \${$3+:} false; then :
2433 $as_echo_n "(cached) " >&6
2435 eval ac_res=\$$3
2436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2437 $as_echo "$ac_res" >&6; }
2438 else
2439 # Is the header compilable?
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2441 $as_echo_n "checking $2 usability... " >&6; }
2442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2443 /* end confdefs.h. */
2445 #include <$2>
2446 _ACEOF
2447 if ac_fn_c_try_compile "$LINENO"; then :
2448 ac_header_compiler=yes
2449 else
2450 ac_header_compiler=no
2452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2454 $as_echo "$ac_header_compiler" >&6; }
2456 # Is the header present?
2457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2458 $as_echo_n "checking $2 presence... " >&6; }
2459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2460 /* end confdefs.h. */
2461 #include <$2>
2462 _ACEOF
2463 if ac_fn_c_try_cpp "$LINENO"; then :
2464 ac_header_preproc=yes
2465 else
2466 ac_header_preproc=no
2468 rm -f conftest.err conftest.i conftest.$ac_ext
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2470 $as_echo "$ac_header_preproc" >&6; }
2472 # So? What about this header?
2473 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2474 yes:no: )
2475 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2476 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2478 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2480 no:yes:* )
2481 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2482 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2484 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2486 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2488 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2490 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2491 ( $as_echo "## ------------------------------------ ##
2492 ## Report this to wine-devel@winehq.org ##
2493 ## ------------------------------------ ##"
2494 ) | sed "s/^/$as_me: WARNING: /" >&2
2496 esac
2497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2498 $as_echo_n "checking for $2... " >&6; }
2499 if eval \${$3+:} false; then :
2500 $as_echo_n "(cached) " >&6
2501 else
2502 eval "$3=\$ac_header_compiler"
2504 eval ac_res=\$$3
2505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2506 $as_echo "$ac_res" >&6; }
2508 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2510 } # ac_fn_c_check_header_mongrel
2512 # ac_fn_c_try_run LINENO
2513 # ----------------------
2514 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2515 # that executables *can* be run.
2516 ac_fn_c_try_run ()
2518 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2519 if { { ac_try="$ac_link"
2520 case "(($ac_try" in
2521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2522 *) ac_try_echo=$ac_try;;
2523 esac
2524 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2525 $as_echo "$ac_try_echo"; } >&5
2526 (eval "$ac_link") 2>&5
2527 ac_status=$?
2528 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2529 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2530 { { case "(($ac_try" in
2531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2532 *) ac_try_echo=$ac_try;;
2533 esac
2534 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2535 $as_echo "$ac_try_echo"; } >&5
2536 (eval "$ac_try") 2>&5
2537 ac_status=$?
2538 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2539 test $ac_status = 0; }; }; then :
2540 ac_retval=0
2541 else
2542 $as_echo "$as_me: program exited with status $ac_status" >&5
2543 $as_echo "$as_me: failed program was:" >&5
2544 sed 's/^/| /' conftest.$ac_ext >&5
2546 ac_retval=$ac_status
2548 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2549 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2550 as_fn_set_status $ac_retval
2552 } # ac_fn_c_try_run
2554 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2555 # -------------------------------------------------------
2556 # Tests whether HEADER exists and can be compiled using the include files in
2557 # INCLUDES, setting the cache variable VAR accordingly.
2558 ac_fn_c_check_header_compile ()
2560 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2562 $as_echo_n "checking for $2... " >&6; }
2563 if eval \${$3+:} false; then :
2564 $as_echo_n "(cached) " >&6
2565 else
2566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2567 /* end confdefs.h. */
2569 #include <$2>
2570 _ACEOF
2571 if ac_fn_c_try_compile "$LINENO"; then :
2572 eval "$3=yes"
2573 else
2574 eval "$3=no"
2576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2578 eval ac_res=\$$3
2579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2580 $as_echo "$ac_res" >&6; }
2581 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2583 } # ac_fn_c_check_header_compile
2585 # ac_fn_c_check_func LINENO FUNC VAR
2586 # ----------------------------------
2587 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2588 ac_fn_c_check_func ()
2590 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2592 $as_echo_n "checking for $2... " >&6; }
2593 if eval \${$3+:} false; then :
2594 $as_echo_n "(cached) " >&6
2595 else
2596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2597 /* end confdefs.h. */
2598 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2599 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2600 #define $2 innocuous_$2
2602 /* System header to define __stub macros and hopefully few prototypes,
2603 which can conflict with char $2 (); below.
2604 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2605 <limits.h> exists even on freestanding compilers. */
2607 #ifdef __STDC__
2608 # include <limits.h>
2609 #else
2610 # include <assert.h>
2611 #endif
2613 #undef $2
2615 /* Override any GCC internal prototype to avoid an error.
2616 Use char because int might match the return type of a GCC
2617 builtin and then its argument prototype would still apply. */
2618 #ifdef __cplusplus
2619 extern "C"
2620 #endif
2621 char $2 ();
2622 /* The GNU C library defines this for functions which it implements
2623 to always fail with ENOSYS. Some functions are actually named
2624 something starting with __ and the normal name is an alias. */
2625 #if defined __stub_$2 || defined __stub___$2
2626 choke me
2627 #endif
2630 main ()
2632 return $2 ();
2634 return 0;
2636 _ACEOF
2637 if ac_fn_c_try_link "$LINENO"; then :
2638 eval "$3=yes"
2639 else
2640 eval "$3=no"
2642 rm -f core conftest.err conftest.$ac_objext \
2643 conftest$ac_exeext conftest.$ac_ext
2645 eval ac_res=\$$3
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2647 $as_echo "$ac_res" >&6; }
2648 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2650 } # ac_fn_c_check_func
2652 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2653 # ----------------------------------------------------
2654 # Tries to find if the field MEMBER exists in type AGGR, after including
2655 # INCLUDES, setting cache variable VAR accordingly.
2656 ac_fn_c_check_member ()
2658 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2660 $as_echo_n "checking for $2.$3... " >&6; }
2661 if eval \${$4+:} false; then :
2662 $as_echo_n "(cached) " >&6
2663 else
2664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2665 /* end confdefs.h. */
2668 main ()
2670 static $2 ac_aggr;
2671 if (ac_aggr.$3)
2672 return 0;
2674 return 0;
2676 _ACEOF
2677 if ac_fn_c_try_compile "$LINENO"; then :
2678 eval "$4=yes"
2679 else
2680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2681 /* end confdefs.h. */
2684 main ()
2686 static $2 ac_aggr;
2687 if (sizeof ac_aggr.$3)
2688 return 0;
2690 return 0;
2692 _ACEOF
2693 if ac_fn_c_try_compile "$LINENO"; then :
2694 eval "$4=yes"
2695 else
2696 eval "$4=no"
2698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2702 eval ac_res=\$$4
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2704 $as_echo "$ac_res" >&6; }
2705 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2707 } # ac_fn_c_check_member
2709 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2710 # -------------------------------------------
2711 # Tests whether TYPE exists after having included INCLUDES, setting cache
2712 # variable VAR accordingly.
2713 ac_fn_c_check_type ()
2715 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2717 $as_echo_n "checking for $2... " >&6; }
2718 if eval \${$3+:} false; then :
2719 $as_echo_n "(cached) " >&6
2720 else
2721 eval "$3=no"
2722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2723 /* end confdefs.h. */
2726 main ()
2728 if (sizeof ($2))
2729 return 0;
2731 return 0;
2733 _ACEOF
2734 if ac_fn_c_try_compile "$LINENO"; then :
2735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2736 /* end confdefs.h. */
2739 main ()
2741 if (sizeof (($2)))
2742 return 0;
2744 return 0;
2746 _ACEOF
2747 if ac_fn_c_try_compile "$LINENO"; then :
2749 else
2750 eval "$3=yes"
2752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2756 eval ac_res=\$$3
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2758 $as_echo "$ac_res" >&6; }
2759 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2761 } # ac_fn_c_check_type
2762 cat >config.log <<_ACEOF
2763 This file contains any messages produced by compilers while
2764 running configure, to aid debugging if configure makes a mistake.
2766 It was created by Wine $as_me 1.7.25, which was
2767 generated by GNU Autoconf 2.69. Invocation command line was
2769 $ $0 $@
2771 _ACEOF
2772 exec 5>>config.log
2774 cat <<_ASUNAME
2775 ## --------- ##
2776 ## Platform. ##
2777 ## --------- ##
2779 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2780 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2781 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2782 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2783 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2785 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2786 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2788 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2789 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2790 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2791 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2792 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2793 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2794 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2796 _ASUNAME
2798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2799 for as_dir in $PATH
2801 IFS=$as_save_IFS
2802 test -z "$as_dir" && as_dir=.
2803 $as_echo "PATH: $as_dir"
2804 done
2805 IFS=$as_save_IFS
2807 } >&5
2809 cat >&5 <<_ACEOF
2812 ## ----------- ##
2813 ## Core tests. ##
2814 ## ----------- ##
2816 _ACEOF
2819 # Keep a trace of the command line.
2820 # Strip out --no-create and --no-recursion so they do not pile up.
2821 # Strip out --silent because we don't want to record it for future runs.
2822 # Also quote any args containing shell meta-characters.
2823 # Make two passes to allow for proper duplicate-argument suppression.
2824 ac_configure_args=
2825 ac_configure_args0=
2826 ac_configure_args1=
2827 ac_must_keep_next=false
2828 for ac_pass in 1 2
2830 for ac_arg
2832 case $ac_arg in
2833 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2834 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2835 | -silent | --silent | --silen | --sile | --sil)
2836 continue ;;
2837 *\'*)
2838 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2839 esac
2840 case $ac_pass in
2841 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2843 as_fn_append ac_configure_args1 " '$ac_arg'"
2844 if test $ac_must_keep_next = true; then
2845 ac_must_keep_next=false # Got value, back to normal.
2846 else
2847 case $ac_arg in
2848 *=* | --config-cache | -C | -disable-* | --disable-* \
2849 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2850 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2851 | -with-* | --with-* | -without-* | --without-* | --x)
2852 case "$ac_configure_args0 " in
2853 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2854 esac
2856 -* ) ac_must_keep_next=true ;;
2857 esac
2859 as_fn_append ac_configure_args " '$ac_arg'"
2861 esac
2862 done
2863 done
2864 { ac_configure_args0=; unset ac_configure_args0;}
2865 { ac_configure_args1=; unset ac_configure_args1;}
2867 # When interrupted or exit'd, cleanup temporary files, and complete
2868 # config.log. We remove comments because anyway the quotes in there
2869 # would cause problems or look ugly.
2870 # WARNING: Use '\'' to represent an apostrophe within the trap.
2871 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2872 trap 'exit_status=$?
2873 # Save into config.log some information that might help in debugging.
2875 echo
2877 $as_echo "## ---------------- ##
2878 ## Cache variables. ##
2879 ## ---------------- ##"
2880 echo
2881 # The following way of writing the cache mishandles newlines in values,
2883 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2884 eval ac_val=\$$ac_var
2885 case $ac_val in #(
2886 *${as_nl}*)
2887 case $ac_var in #(
2888 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2889 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2890 esac
2891 case $ac_var in #(
2892 _ | IFS | as_nl) ;; #(
2893 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2894 *) { eval $ac_var=; unset $ac_var;} ;;
2895 esac ;;
2896 esac
2897 done
2898 (set) 2>&1 |
2899 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2900 *${as_nl}ac_space=\ *)
2901 sed -n \
2902 "s/'\''/'\''\\\\'\'''\''/g;
2903 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2904 ;; #(
2906 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2908 esac |
2909 sort
2911 echo
2913 $as_echo "## ----------------- ##
2914 ## Output variables. ##
2915 ## ----------------- ##"
2916 echo
2917 for ac_var in $ac_subst_vars
2919 eval ac_val=\$$ac_var
2920 case $ac_val in
2921 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2922 esac
2923 $as_echo "$ac_var='\''$ac_val'\''"
2924 done | sort
2925 echo
2927 if test -n "$ac_subst_files"; then
2928 $as_echo "## ------------------- ##
2929 ## File substitutions. ##
2930 ## ------------------- ##"
2931 echo
2932 for ac_var in $ac_subst_files
2934 eval ac_val=\$$ac_var
2935 case $ac_val in
2936 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2937 esac
2938 $as_echo "$ac_var='\''$ac_val'\''"
2939 done | sort
2940 echo
2943 if test -s confdefs.h; then
2944 $as_echo "## ----------- ##
2945 ## confdefs.h. ##
2946 ## ----------- ##"
2947 echo
2948 cat confdefs.h
2949 echo
2951 test "$ac_signal" != 0 &&
2952 $as_echo "$as_me: caught signal $ac_signal"
2953 $as_echo "$as_me: exit $exit_status"
2954 } >&5
2955 rm -f core *.core core.conftest.* &&
2956 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2957 exit $exit_status
2959 for ac_signal in 1 2 13 15; do
2960 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2961 done
2962 ac_signal=0
2964 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2965 rm -f -r conftest* confdefs.h
2967 $as_echo "/* confdefs.h */" > confdefs.h
2969 # Predefined preprocessor variables.
2971 cat >>confdefs.h <<_ACEOF
2972 #define PACKAGE_NAME "$PACKAGE_NAME"
2973 _ACEOF
2975 cat >>confdefs.h <<_ACEOF
2976 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2977 _ACEOF
2979 cat >>confdefs.h <<_ACEOF
2980 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2981 _ACEOF
2983 cat >>confdefs.h <<_ACEOF
2984 #define PACKAGE_STRING "$PACKAGE_STRING"
2985 _ACEOF
2987 cat >>confdefs.h <<_ACEOF
2988 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2989 _ACEOF
2991 cat >>confdefs.h <<_ACEOF
2992 #define PACKAGE_URL "$PACKAGE_URL"
2993 _ACEOF
2996 # Let the site file select an alternate cache file if it wants to.
2997 # Prefer an explicitly selected file to automatically selected ones.
2998 ac_site_file1=NONE
2999 ac_site_file2=NONE
3000 if test -n "$CONFIG_SITE"; then
3001 # We do not want a PATH search for config.site.
3002 case $CONFIG_SITE in #((
3003 -*) ac_site_file1=./$CONFIG_SITE;;
3004 */*) ac_site_file1=$CONFIG_SITE;;
3005 *) ac_site_file1=./$CONFIG_SITE;;
3006 esac
3007 elif test "x$prefix" != xNONE; then
3008 ac_site_file1=$prefix/share/config.site
3009 ac_site_file2=$prefix/etc/config.site
3010 else
3011 ac_site_file1=$ac_default_prefix/share/config.site
3012 ac_site_file2=$ac_default_prefix/etc/config.site
3014 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3016 test "x$ac_site_file" = xNONE && continue
3017 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3019 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3020 sed 's/^/| /' "$ac_site_file" >&5
3021 . "$ac_site_file" \
3022 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3023 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3024 as_fn_error $? "failed to load site script $ac_site_file
3025 See \`config.log' for more details" "$LINENO" 5; }
3027 done
3029 if test -r "$cache_file"; then
3030 # Some versions of bash will fail to source /dev/null (special files
3031 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3032 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3033 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3034 $as_echo "$as_me: loading cache $cache_file" >&6;}
3035 case $cache_file in
3036 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3037 *) . "./$cache_file";;
3038 esac
3040 else
3041 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3042 $as_echo "$as_me: creating cache $cache_file" >&6;}
3043 >$cache_file
3046 # Check that the precious variables saved in the cache have kept the same
3047 # value.
3048 ac_cache_corrupted=false
3049 for ac_var in $ac_precious_vars; do
3050 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3051 eval ac_new_set=\$ac_env_${ac_var}_set
3052 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3053 eval ac_new_val=\$ac_env_${ac_var}_value
3054 case $ac_old_set,$ac_new_set in
3055 set,)
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3057 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3058 ac_cache_corrupted=: ;;
3059 ,set)
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3061 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3062 ac_cache_corrupted=: ;;
3063 ,);;
3065 if test "x$ac_old_val" != "x$ac_new_val"; then
3066 # differences in whitespace do not lead to failure.
3067 ac_old_val_w=`echo x $ac_old_val`
3068 ac_new_val_w=`echo x $ac_new_val`
3069 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3071 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3072 ac_cache_corrupted=:
3073 else
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3075 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3076 eval $ac_var=\$ac_old_val
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3079 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3081 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3082 fi;;
3083 esac
3084 # Pass precious variables to config.status.
3085 if test "$ac_new_set" = set; then
3086 case $ac_new_val in
3087 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3088 *) ac_arg=$ac_var=$ac_new_val ;;
3089 esac
3090 case " $ac_configure_args " in
3091 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3092 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3093 esac
3095 done
3096 if $ac_cache_corrupted; then
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3098 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3100 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3101 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3103 ## -------------------- ##
3104 ## Main body of script. ##
3105 ## -------------------- ##
3107 ac_ext=c
3108 ac_cpp='$CPP $CPPFLAGS'
3109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3115 ac_config_headers="$ac_config_headers include/config.h"
3117 ac_aux_dir=
3118 for ac_dir in tools "$srcdir"/tools; do
3119 if test -f "$ac_dir/install-sh"; then
3120 ac_aux_dir=$ac_dir
3121 ac_install_sh="$ac_aux_dir/install-sh -c"
3122 break
3123 elif test -f "$ac_dir/install.sh"; then
3124 ac_aux_dir=$ac_dir
3125 ac_install_sh="$ac_aux_dir/install.sh -c"
3126 break
3127 elif test -f "$ac_dir/shtool"; then
3128 ac_aux_dir=$ac_dir
3129 ac_install_sh="$ac_aux_dir/shtool install -c"
3130 break
3132 done
3133 if test -z "$ac_aux_dir"; then
3134 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3137 # These three variables are undocumented and unsupported,
3138 # and are intended to be withdrawn in a future Autoconf release.
3139 # They can cause serious problems if a builder's source tree is in a directory
3140 # whose full name contains unusual characters.
3141 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3142 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3143 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3147 libwine_version="1.0"
3151 # Check whether --enable-win16 was given.
3152 if test "${enable_win16+set}" = set; then :
3153 enableval=$enable_win16;
3156 # Check whether --enable-win64 was given.
3157 if test "${enable_win64+set}" = set; then :
3158 enableval=$enable_win64;
3161 # Check whether --enable-tests was given.
3162 if test "${enable_tests+set}" = set; then :
3163 enableval=$enable_tests;
3166 # Check whether --enable-maintainer-mode was given.
3167 if test "${enable_maintainer_mode+set}" = set; then :
3168 enableval=$enable_maintainer_mode;
3173 # Check whether --with-alsa was given.
3174 if test "${with_alsa+set}" = set; then :
3175 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3179 # Check whether --with-capi was given.
3180 if test "${with_capi+set}" = set; then :
3181 withval=$with_capi;
3185 # Check whether --with-cms was given.
3186 if test "${with_cms+set}" = set; then :
3187 withval=$with_cms;
3191 # Check whether --with-coreaudio was given.
3192 if test "${with_coreaudio+set}" = set; then :
3193 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3197 # Check whether --with-cups was given.
3198 if test "${with_cups+set}" = set; then :
3199 withval=$with_cups;
3203 # Check whether --with-curses was given.
3204 if test "${with_curses+set}" = set; then :
3205 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3209 # Check whether --with-dbus was given.
3210 if test "${with_dbus+set}" = set; then :
3211 withval=$with_dbus;
3215 # Check whether --with-fontconfig was given.
3216 if test "${with_fontconfig+set}" = set; then :
3217 withval=$with_fontconfig;
3221 # Check whether --with-freetype was given.
3222 if test "${with_freetype+set}" = set; then :
3223 withval=$with_freetype;
3227 # Check whether --with-gettext was given.
3228 if test "${with_gettext+set}" = set; then :
3229 withval=$with_gettext;
3233 # Check whether --with-gettextpo was given.
3234 if test "${with_gettextpo+set}" = set; then :
3235 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3239 # Check whether --with-gphoto was given.
3240 if test "${with_gphoto+set}" = set; then :
3241 withval=$with_gphoto;
3245 # Check whether --with-glu was given.
3246 if test "${with_glu+set}" = set; then :
3247 withval=$with_glu;
3251 # Check whether --with-gnutls was given.
3252 if test "${with_gnutls+set}" = set; then :
3253 withval=$with_gnutls;
3257 # Check whether --with-gsm was given.
3258 if test "${with_gsm+set}" = set; then :
3259 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3263 # Check whether --with-gstreamer was given.
3264 if test "${with_gstreamer+set}" = set; then :
3265 withval=$with_gstreamer;
3269 # Check whether --with-hal was given.
3270 if test "${with_hal+set}" = set; then :
3271 withval=$with_hal;
3275 # Check whether --with-jpeg was given.
3276 if test "${with_jpeg+set}" = set; then :
3277 withval=$with_jpeg;
3281 # Check whether --with-ldap was given.
3282 if test "${with_ldap+set}" = set; then :
3283 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3287 # Check whether --with-mpg123 was given.
3288 if test "${with_mpg123+set}" = set; then :
3289 withval=$with_mpg123;
3293 # Check whether --with-netapi was given.
3294 if test "${with_netapi+set}" = set; then :
3295 withval=$with_netapi;
3299 # Check whether --with-openal was given.
3300 if test "${with_openal+set}" = set; then :
3301 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3305 # Check whether --with-opencl was given.
3306 if test "${with_opencl+set}" = set; then :
3307 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3311 # Check whether --with-opengl was given.
3312 if test "${with_opengl+set}" = set; then :
3313 withval=$with_opengl;
3317 # Check whether --with-osmesa was given.
3318 if test "${with_osmesa+set}" = set; then :
3319 withval=$with_osmesa;
3323 # Check whether --with-oss was given.
3324 if test "${with_oss+set}" = set; then :
3325 withval=$with_oss;
3329 # Check whether --with-pcap was given.
3330 if test "${with_pcap+set}" = set; then :
3331 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3335 # Check whether --with-png was given.
3336 if test "${with_png+set}" = set; then :
3337 withval=$with_png;
3341 # Check whether --with-pthread was given.
3342 if test "${with_pthread+set}" = set; then :
3343 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3347 # Check whether --with-sane was given.
3348 if test "${with_sane+set}" = set; then :
3349 withval=$with_sane;
3353 # Check whether --with-tiff was given.
3354 if test "${with_tiff+set}" = set; then :
3355 withval=$with_tiff;
3359 # Check whether --with-v4l was given.
3360 if test "${with_v4l+set}" = set; then :
3361 withval=$with_v4l;
3365 # Check whether --with-xcomposite was given.
3366 if test "${with_xcomposite+set}" = set; then :
3367 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3371 # Check whether --with-xcursor was given.
3372 if test "${with_xcursor+set}" = set; then :
3373 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3377 # Check whether --with-xinerama was given.
3378 if test "${with_xinerama+set}" = set; then :
3379 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3383 # Check whether --with-xinput was given.
3384 if test "${with_xinput+set}" = set; then :
3385 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3389 # Check whether --with-xinput2 was given.
3390 if test "${with_xinput2+set}" = set; then :
3391 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3395 # Check whether --with-xml was given.
3396 if test "${with_xml+set}" = set; then :
3397 withval=$with_xml;
3401 # Check whether --with-xrandr was given.
3402 if test "${with_xrandr+set}" = set; then :
3403 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3407 # Check whether --with-xrender was given.
3408 if test "${with_xrender+set}" = set; then :
3409 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3413 # Check whether --with-xshape was given.
3414 if test "${with_xshape+set}" = set; then :
3415 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3419 # Check whether --with-xshm was given.
3420 if test "${with_xshm+set}" = set; then :
3421 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3425 # Check whether --with-xslt was given.
3426 if test "${with_xslt+set}" = set; then :
3427 withval=$with_xslt;
3431 # Check whether --with-xxf86vm was given.
3432 if test "${with_xxf86vm+set}" = set; then :
3433 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
3437 # Check whether --with-zlib was given.
3438 if test "${with_zlib+set}" = set; then :
3439 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3444 # Check whether --with-wine-tools was given.
3445 if test "${with_wine_tools+set}" = set; then :
3446 withval=$with_wine_tools;
3450 # Check whether --with-wine64 was given.
3451 if test "${with_wine64+set}" = set; then :
3452 withval=$with_wine64;
3456 # Make sure we can run config.sub.
3457 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3458 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3461 $as_echo_n "checking build system type... " >&6; }
3462 if ${ac_cv_build+:} false; then :
3463 $as_echo_n "(cached) " >&6
3464 else
3465 ac_build_alias=$build_alias
3466 test "x$ac_build_alias" = x &&
3467 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3468 test "x$ac_build_alias" = x &&
3469 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3470 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3471 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3475 $as_echo "$ac_cv_build" >&6; }
3476 case $ac_cv_build in
3477 *-*-*) ;;
3478 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3479 esac
3480 build=$ac_cv_build
3481 ac_save_IFS=$IFS; IFS='-'
3482 set x $ac_cv_build
3483 shift
3484 build_cpu=$1
3485 build_vendor=$2
3486 shift; shift
3487 # Remember, the first character of IFS is used to create $*,
3488 # except with old shells:
3489 build_os=$*
3490 IFS=$ac_save_IFS
3491 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3495 $as_echo_n "checking host system type... " >&6; }
3496 if ${ac_cv_host+:} false; then :
3497 $as_echo_n "(cached) " >&6
3498 else
3499 if test "x$host_alias" = x; then
3500 ac_cv_host=$ac_cv_build
3501 else
3502 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3503 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3508 $as_echo "$ac_cv_host" >&6; }
3509 case $ac_cv_host in
3510 *-*-*) ;;
3511 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3512 esac
3513 host=$ac_cv_host
3514 ac_save_IFS=$IFS; IFS='-'
3515 set x $ac_cv_host
3516 shift
3517 host_cpu=$1
3518 host_vendor=$2
3519 shift; shift
3520 # Remember, the first character of IFS is used to create $*,
3521 # except with old shells:
3522 host_os=$*
3523 IFS=$ac_save_IFS
3524 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3528 case "$srcdir" in
3529 .) ;;
3530 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3531 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3532 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3533 fi ;;
3534 esac
3537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3538 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3539 set x ${MAKE-make}
3540 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3541 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3542 $as_echo_n "(cached) " >&6
3543 else
3544 cat >conftest.make <<\_ACEOF
3545 SHELL = /bin/sh
3546 all:
3547 @echo '@@@%%%=$(MAKE)=@@@%%%'
3548 _ACEOF
3549 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3550 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3551 *@@@%%%=?*=@@@%%%*)
3552 eval ac_cv_prog_make_${ac_make}_set=yes;;
3554 eval ac_cv_prog_make_${ac_make}_set=no;;
3555 esac
3556 rm -f conftest.make
3558 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3560 $as_echo "yes" >&6; }
3561 SET_MAKE=
3562 else
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3564 $as_echo "no" >&6; }
3565 SET_MAKE="MAKE=${MAKE-make}"
3568 ac_ext=c
3569 ac_cpp='$CPP $CPPFLAGS'
3570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3573 if test -n "$ac_tool_prefix"; then
3574 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3575 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3577 $as_echo_n "checking for $ac_word... " >&6; }
3578 if ${ac_cv_prog_CC+:} false; then :
3579 $as_echo_n "(cached) " >&6
3580 else
3581 if test -n "$CC"; then
3582 ac_cv_prog_CC="$CC" # Let the user override the test.
3583 else
3584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3585 for as_dir in $PATH
3587 IFS=$as_save_IFS
3588 test -z "$as_dir" && as_dir=.
3589 for ac_exec_ext in '' $ac_executable_extensions; do
3590 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3591 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3592 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3593 break 2
3595 done
3596 done
3597 IFS=$as_save_IFS
3601 CC=$ac_cv_prog_CC
3602 if test -n "$CC"; then
3603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3604 $as_echo "$CC" >&6; }
3605 else
3606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3607 $as_echo "no" >&6; }
3612 if test -z "$ac_cv_prog_CC"; then
3613 ac_ct_CC=$CC
3614 # Extract the first word of "gcc", so it can be a program name with args.
3615 set dummy gcc; ac_word=$2
3616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3617 $as_echo_n "checking for $ac_word... " >&6; }
3618 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3619 $as_echo_n "(cached) " >&6
3620 else
3621 if test -n "$ac_ct_CC"; then
3622 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3623 else
3624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3625 for as_dir in $PATH
3627 IFS=$as_save_IFS
3628 test -z "$as_dir" && as_dir=.
3629 for ac_exec_ext in '' $ac_executable_extensions; do
3630 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3631 ac_cv_prog_ac_ct_CC="gcc"
3632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3633 break 2
3635 done
3636 done
3637 IFS=$as_save_IFS
3641 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3642 if test -n "$ac_ct_CC"; then
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3644 $as_echo "$ac_ct_CC" >&6; }
3645 else
3646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3647 $as_echo "no" >&6; }
3650 if test "x$ac_ct_CC" = x; then
3651 CC=""
3652 else
3653 case $cross_compiling:$ac_tool_warned in
3654 yes:)
3655 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3656 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3657 ac_tool_warned=yes ;;
3658 esac
3659 CC=$ac_ct_CC
3661 else
3662 CC="$ac_cv_prog_CC"
3665 if test -z "$CC"; then
3666 if test -n "$ac_tool_prefix"; then
3667 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3668 set dummy ${ac_tool_prefix}cc; ac_word=$2
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3670 $as_echo_n "checking for $ac_word... " >&6; }
3671 if ${ac_cv_prog_CC+:} false; then :
3672 $as_echo_n "(cached) " >&6
3673 else
3674 if test -n "$CC"; then
3675 ac_cv_prog_CC="$CC" # Let the user override the test.
3676 else
3677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3678 for as_dir in $PATH
3680 IFS=$as_save_IFS
3681 test -z "$as_dir" && as_dir=.
3682 for ac_exec_ext in '' $ac_executable_extensions; do
3683 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3684 ac_cv_prog_CC="${ac_tool_prefix}cc"
3685 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3686 break 2
3688 done
3689 done
3690 IFS=$as_save_IFS
3694 CC=$ac_cv_prog_CC
3695 if test -n "$CC"; then
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3697 $as_echo "$CC" >&6; }
3698 else
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3700 $as_echo "no" >&6; }
3706 if test -z "$CC"; then
3707 # Extract the first word of "cc", so it can be a program name with args.
3708 set dummy cc; ac_word=$2
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3710 $as_echo_n "checking for $ac_word... " >&6; }
3711 if ${ac_cv_prog_CC+:} false; then :
3712 $as_echo_n "(cached) " >&6
3713 else
3714 if test -n "$CC"; then
3715 ac_cv_prog_CC="$CC" # Let the user override the test.
3716 else
3717 ac_prog_rejected=no
3718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3719 for as_dir in $PATH
3721 IFS=$as_save_IFS
3722 test -z "$as_dir" && as_dir=.
3723 for ac_exec_ext in '' $ac_executable_extensions; do
3724 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3725 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3726 ac_prog_rejected=yes
3727 continue
3729 ac_cv_prog_CC="cc"
3730 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3731 break 2
3733 done
3734 done
3735 IFS=$as_save_IFS
3737 if test $ac_prog_rejected = yes; then
3738 # We found a bogon in the path, so make sure we never use it.
3739 set dummy $ac_cv_prog_CC
3740 shift
3741 if test $# != 0; then
3742 # We chose a different compiler from the bogus one.
3743 # However, it has the same basename, so the bogon will be chosen
3744 # first if we set CC to just the basename; use the full file name.
3745 shift
3746 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3751 CC=$ac_cv_prog_CC
3752 if test -n "$CC"; then
3753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3754 $as_echo "$CC" >&6; }
3755 else
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3757 $as_echo "no" >&6; }
3762 if test -z "$CC"; then
3763 if test -n "$ac_tool_prefix"; then
3764 for ac_prog in cl.exe
3766 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3767 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3769 $as_echo_n "checking for $ac_word... " >&6; }
3770 if ${ac_cv_prog_CC+:} false; then :
3771 $as_echo_n "(cached) " >&6
3772 else
3773 if test -n "$CC"; then
3774 ac_cv_prog_CC="$CC" # Let the user override the test.
3775 else
3776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3777 for as_dir in $PATH
3779 IFS=$as_save_IFS
3780 test -z "$as_dir" && as_dir=.
3781 for ac_exec_ext in '' $ac_executable_extensions; do
3782 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3783 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3784 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3785 break 2
3787 done
3788 done
3789 IFS=$as_save_IFS
3793 CC=$ac_cv_prog_CC
3794 if test -n "$CC"; then
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3796 $as_echo "$CC" >&6; }
3797 else
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3799 $as_echo "no" >&6; }
3803 test -n "$CC" && break
3804 done
3806 if test -z "$CC"; then
3807 ac_ct_CC=$CC
3808 for ac_prog in cl.exe
3810 # Extract the first word of "$ac_prog", so it can be a program name with args.
3811 set dummy $ac_prog; ac_word=$2
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3813 $as_echo_n "checking for $ac_word... " >&6; }
3814 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3815 $as_echo_n "(cached) " >&6
3816 else
3817 if test -n "$ac_ct_CC"; then
3818 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3819 else
3820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3821 for as_dir in $PATH
3823 IFS=$as_save_IFS
3824 test -z "$as_dir" && as_dir=.
3825 for ac_exec_ext in '' $ac_executable_extensions; do
3826 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3827 ac_cv_prog_ac_ct_CC="$ac_prog"
3828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3829 break 2
3831 done
3832 done
3833 IFS=$as_save_IFS
3837 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3838 if test -n "$ac_ct_CC"; then
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3840 $as_echo "$ac_ct_CC" >&6; }
3841 else
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3843 $as_echo "no" >&6; }
3847 test -n "$ac_ct_CC" && break
3848 done
3850 if test "x$ac_ct_CC" = x; then
3851 CC=""
3852 else
3853 case $cross_compiling:$ac_tool_warned in
3854 yes:)
3855 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3856 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3857 ac_tool_warned=yes ;;
3858 esac
3859 CC=$ac_ct_CC
3866 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3867 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3868 as_fn_error $? "no acceptable C compiler found in \$PATH
3869 See \`config.log' for more details" "$LINENO" 5; }
3871 # Provide some information about the compiler.
3872 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3873 set X $ac_compile
3874 ac_compiler=$2
3875 for ac_option in --version -v -V -qversion; do
3876 { { ac_try="$ac_compiler $ac_option >&5"
3877 case "(($ac_try" in
3878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3879 *) ac_try_echo=$ac_try;;
3880 esac
3881 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3882 $as_echo "$ac_try_echo"; } >&5
3883 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3884 ac_status=$?
3885 if test -s conftest.err; then
3886 sed '10a\
3887 ... rest of stderr output deleted ...
3888 10q' conftest.err >conftest.er1
3889 cat conftest.er1 >&5
3891 rm -f conftest.er1 conftest.err
3892 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3893 test $ac_status = 0; }
3894 done
3896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3897 /* end confdefs.h. */
3900 main ()
3904 return 0;
3906 _ACEOF
3907 ac_clean_files_save=$ac_clean_files
3908 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3909 # Try to create an executable without -o first, disregard a.out.
3910 # It will help us diagnose broken compilers, and finding out an intuition
3911 # of exeext.
3912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3913 $as_echo_n "checking whether the C compiler works... " >&6; }
3914 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3916 # The possible output files:
3917 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3919 ac_rmfiles=
3920 for ac_file in $ac_files
3922 case $ac_file in
3923 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3924 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3925 esac
3926 done
3927 rm -f $ac_rmfiles
3929 if { { ac_try="$ac_link_default"
3930 case "(($ac_try" in
3931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3932 *) ac_try_echo=$ac_try;;
3933 esac
3934 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3935 $as_echo "$ac_try_echo"; } >&5
3936 (eval "$ac_link_default") 2>&5
3937 ac_status=$?
3938 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3939 test $ac_status = 0; }; then :
3940 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3941 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3942 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3943 # so that the user can short-circuit this test for compilers unknown to
3944 # Autoconf.
3945 for ac_file in $ac_files ''
3947 test -f "$ac_file" || continue
3948 case $ac_file in
3949 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3951 [ab].out )
3952 # We found the default executable, but exeext='' is most
3953 # certainly right.
3954 break;;
3955 *.* )
3956 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3957 then :; else
3958 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3960 # We set ac_cv_exeext here because the later test for it is not
3961 # safe: cross compilers may not add the suffix if given an `-o'
3962 # argument, so we may need to know it at that point already.
3963 # Even if this section looks crufty: it has the advantage of
3964 # actually working.
3965 break;;
3967 break;;
3968 esac
3969 done
3970 test "$ac_cv_exeext" = no && ac_cv_exeext=
3972 else
3973 ac_file=''
3975 if test -z "$ac_file"; then :
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3977 $as_echo "no" >&6; }
3978 $as_echo "$as_me: failed program was:" >&5
3979 sed 's/^/| /' conftest.$ac_ext >&5
3981 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3982 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3983 as_fn_error 77 "C compiler cannot create executables
3984 See \`config.log' for more details" "$LINENO" 5; }
3985 else
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3987 $as_echo "yes" >&6; }
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3990 $as_echo_n "checking for C compiler default output file name... " >&6; }
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3992 $as_echo "$ac_file" >&6; }
3993 ac_exeext=$ac_cv_exeext
3995 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3996 ac_clean_files=$ac_clean_files_save
3997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3998 $as_echo_n "checking for suffix of executables... " >&6; }
3999 if { { ac_try="$ac_link"
4000 case "(($ac_try" in
4001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4002 *) ac_try_echo=$ac_try;;
4003 esac
4004 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4005 $as_echo "$ac_try_echo"; } >&5
4006 (eval "$ac_link") 2>&5
4007 ac_status=$?
4008 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4009 test $ac_status = 0; }; then :
4010 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4011 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4012 # work properly (i.e., refer to `conftest.exe'), while it won't with
4013 # `rm'.
4014 for ac_file in conftest.exe conftest conftest.*; do
4015 test -f "$ac_file" || continue
4016 case $ac_file in
4017 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4018 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4019 break;;
4020 * ) break;;
4021 esac
4022 done
4023 else
4024 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4025 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4026 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4027 See \`config.log' for more details" "$LINENO" 5; }
4029 rm -f conftest conftest$ac_cv_exeext
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4031 $as_echo "$ac_cv_exeext" >&6; }
4033 rm -f conftest.$ac_ext
4034 EXEEXT=$ac_cv_exeext
4035 ac_exeext=$EXEEXT
4036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4037 /* end confdefs.h. */
4038 #include <stdio.h>
4040 main ()
4042 FILE *f = fopen ("conftest.out", "w");
4043 return ferror (f) || fclose (f) != 0;
4046 return 0;
4048 _ACEOF
4049 ac_clean_files="$ac_clean_files conftest.out"
4050 # Check that the compiler produces executables we can run. If not, either
4051 # the compiler is broken, or we cross compile.
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4053 $as_echo_n "checking whether we are cross compiling... " >&6; }
4054 if test "$cross_compiling" != yes; then
4055 { { ac_try="$ac_link"
4056 case "(($ac_try" in
4057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4058 *) ac_try_echo=$ac_try;;
4059 esac
4060 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4061 $as_echo "$ac_try_echo"; } >&5
4062 (eval "$ac_link") 2>&5
4063 ac_status=$?
4064 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4065 test $ac_status = 0; }
4066 if { ac_try='./conftest$ac_cv_exeext'
4067 { { case "(($ac_try" in
4068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4069 *) ac_try_echo=$ac_try;;
4070 esac
4071 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4072 $as_echo "$ac_try_echo"; } >&5
4073 (eval "$ac_try") 2>&5
4074 ac_status=$?
4075 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4076 test $ac_status = 0; }; }; then
4077 cross_compiling=no
4078 else
4079 if test "$cross_compiling" = maybe; then
4080 cross_compiling=yes
4081 else
4082 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4083 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4084 as_fn_error $? "cannot run C compiled programs.
4085 If you meant to cross compile, use \`--host'.
4086 See \`config.log' for more details" "$LINENO" 5; }
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4091 $as_echo "$cross_compiling" >&6; }
4093 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4094 ac_clean_files=$ac_clean_files_save
4095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4096 $as_echo_n "checking for suffix of object files... " >&6; }
4097 if ${ac_cv_objext+:} false; then :
4098 $as_echo_n "(cached) " >&6
4099 else
4100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4101 /* end confdefs.h. */
4104 main ()
4108 return 0;
4110 _ACEOF
4111 rm -f conftest.o conftest.obj
4112 if { { ac_try="$ac_compile"
4113 case "(($ac_try" in
4114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4115 *) ac_try_echo=$ac_try;;
4116 esac
4117 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4118 $as_echo "$ac_try_echo"; } >&5
4119 (eval "$ac_compile") 2>&5
4120 ac_status=$?
4121 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4122 test $ac_status = 0; }; then :
4123 for ac_file in conftest.o conftest.obj conftest.*; do
4124 test -f "$ac_file" || continue;
4125 case $ac_file in
4126 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4127 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4128 break;;
4129 esac
4130 done
4131 else
4132 $as_echo "$as_me: failed program was:" >&5
4133 sed 's/^/| /' conftest.$ac_ext >&5
4135 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4136 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4137 as_fn_error $? "cannot compute suffix of object files: cannot compile
4138 See \`config.log' for more details" "$LINENO" 5; }
4140 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4143 $as_echo "$ac_cv_objext" >&6; }
4144 OBJEXT=$ac_cv_objext
4145 ac_objext=$OBJEXT
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4147 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4148 if ${ac_cv_c_compiler_gnu+:} false; then :
4149 $as_echo_n "(cached) " >&6
4150 else
4151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4152 /* end confdefs.h. */
4155 main ()
4157 #ifndef __GNUC__
4158 choke me
4159 #endif
4162 return 0;
4164 _ACEOF
4165 if ac_fn_c_try_compile "$LINENO"; then :
4166 ac_compiler_gnu=yes
4167 else
4168 ac_compiler_gnu=no
4170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4171 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4175 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4176 if test $ac_compiler_gnu = yes; then
4177 GCC=yes
4178 else
4179 GCC=
4181 ac_test_CFLAGS=${CFLAGS+set}
4182 ac_save_CFLAGS=$CFLAGS
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4184 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4185 if ${ac_cv_prog_cc_g+:} false; then :
4186 $as_echo_n "(cached) " >&6
4187 else
4188 ac_save_c_werror_flag=$ac_c_werror_flag
4189 ac_c_werror_flag=yes
4190 ac_cv_prog_cc_g=no
4191 CFLAGS="-g"
4192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4193 /* end confdefs.h. */
4196 main ()
4200 return 0;
4202 _ACEOF
4203 if ac_fn_c_try_compile "$LINENO"; then :
4204 ac_cv_prog_cc_g=yes
4205 else
4206 CFLAGS=""
4207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4208 /* end confdefs.h. */
4211 main ()
4215 return 0;
4217 _ACEOF
4218 if ac_fn_c_try_compile "$LINENO"; then :
4220 else
4221 ac_c_werror_flag=$ac_save_c_werror_flag
4222 CFLAGS="-g"
4223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4224 /* end confdefs.h. */
4227 main ()
4231 return 0;
4233 _ACEOF
4234 if ac_fn_c_try_compile "$LINENO"; then :
4235 ac_cv_prog_cc_g=yes
4237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4242 ac_c_werror_flag=$ac_save_c_werror_flag
4244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4245 $as_echo "$ac_cv_prog_cc_g" >&6; }
4246 if test "$ac_test_CFLAGS" = set; then
4247 CFLAGS=$ac_save_CFLAGS
4248 elif test $ac_cv_prog_cc_g = yes; then
4249 if test "$GCC" = yes; then
4250 CFLAGS="-g -O2"
4251 else
4252 CFLAGS="-g"
4254 else
4255 if test "$GCC" = yes; then
4256 CFLAGS="-O2"
4257 else
4258 CFLAGS=
4261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4262 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4263 if ${ac_cv_prog_cc_c89+:} false; then :
4264 $as_echo_n "(cached) " >&6
4265 else
4266 ac_cv_prog_cc_c89=no
4267 ac_save_CC=$CC
4268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4269 /* end confdefs.h. */
4270 #include <stdarg.h>
4271 #include <stdio.h>
4272 struct stat;
4273 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4274 struct buf { int x; };
4275 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4276 static char *e (p, i)
4277 char **p;
4278 int i;
4280 return p[i];
4282 static char *f (char * (*g) (char **, int), char **p, ...)
4284 char *s;
4285 va_list v;
4286 va_start (v,p);
4287 s = g (p, va_arg (v,int));
4288 va_end (v);
4289 return s;
4292 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4293 function prototypes and stuff, but not '\xHH' hex character constants.
4294 These don't provoke an error unfortunately, instead are silently treated
4295 as 'x'. The following induces an error, until -std is added to get
4296 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4297 array size at least. It's necessary to write '\x00'==0 to get something
4298 that's true only with -std. */
4299 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4301 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4302 inside strings and character constants. */
4303 #define FOO(x) 'x'
4304 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4306 int test (int i, double x);
4307 struct s1 {int (*f) (int a);};
4308 struct s2 {int (*f) (double a);};
4309 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4310 int argc;
4311 char **argv;
4313 main ()
4315 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4317 return 0;
4319 _ACEOF
4320 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4321 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4323 CC="$ac_save_CC $ac_arg"
4324 if ac_fn_c_try_compile "$LINENO"; then :
4325 ac_cv_prog_cc_c89=$ac_arg
4327 rm -f core conftest.err conftest.$ac_objext
4328 test "x$ac_cv_prog_cc_c89" != "xno" && break
4329 done
4330 rm -f conftest.$ac_ext
4331 CC=$ac_save_CC
4334 # AC_CACHE_VAL
4335 case "x$ac_cv_prog_cc_c89" in
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4338 $as_echo "none needed" >&6; } ;;
4339 xno)
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4341 $as_echo "unsupported" >&6; } ;;
4343 CC="$CC $ac_cv_prog_cc_c89"
4344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4345 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4346 esac
4347 if test "x$ac_cv_prog_cc_c89" != xno; then :
4351 ac_ext=c
4352 ac_cpp='$CPP $CPPFLAGS'
4353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4357 ac_ext=cpp
4358 ac_cpp='$CXXCPP $CPPFLAGS'
4359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4362 if test -z "$CXX"; then
4363 if test -n "$CCC"; then
4364 CXX=$CCC
4365 else
4366 if test -n "$ac_tool_prefix"; then
4367 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4369 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4370 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4372 $as_echo_n "checking for $ac_word... " >&6; }
4373 if ${ac_cv_prog_CXX+:} false; then :
4374 $as_echo_n "(cached) " >&6
4375 else
4376 if test -n "$CXX"; then
4377 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4378 else
4379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4380 for as_dir in $PATH
4382 IFS=$as_save_IFS
4383 test -z "$as_dir" && as_dir=.
4384 for ac_exec_ext in '' $ac_executable_extensions; do
4385 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4386 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4387 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4388 break 2
4390 done
4391 done
4392 IFS=$as_save_IFS
4396 CXX=$ac_cv_prog_CXX
4397 if test -n "$CXX"; then
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4399 $as_echo "$CXX" >&6; }
4400 else
4401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4402 $as_echo "no" >&6; }
4406 test -n "$CXX" && break
4407 done
4409 if test -z "$CXX"; then
4410 ac_ct_CXX=$CXX
4411 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4413 # Extract the first word of "$ac_prog", so it can be a program name with args.
4414 set dummy $ac_prog; ac_word=$2
4415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4416 $as_echo_n "checking for $ac_word... " >&6; }
4417 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4418 $as_echo_n "(cached) " >&6
4419 else
4420 if test -n "$ac_ct_CXX"; then
4421 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4422 else
4423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4424 for as_dir in $PATH
4426 IFS=$as_save_IFS
4427 test -z "$as_dir" && as_dir=.
4428 for ac_exec_ext in '' $ac_executable_extensions; do
4429 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4430 ac_cv_prog_ac_ct_CXX="$ac_prog"
4431 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4432 break 2
4434 done
4435 done
4436 IFS=$as_save_IFS
4440 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4441 if test -n "$ac_ct_CXX"; then
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4443 $as_echo "$ac_ct_CXX" >&6; }
4444 else
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4446 $as_echo "no" >&6; }
4450 test -n "$ac_ct_CXX" && break
4451 done
4453 if test "x$ac_ct_CXX" = x; then
4454 CXX="g++"
4455 else
4456 case $cross_compiling:$ac_tool_warned in
4457 yes:)
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4459 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4460 ac_tool_warned=yes ;;
4461 esac
4462 CXX=$ac_ct_CXX
4468 # Provide some information about the compiler.
4469 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4470 set X $ac_compile
4471 ac_compiler=$2
4472 for ac_option in --version -v -V -qversion; do
4473 { { ac_try="$ac_compiler $ac_option >&5"
4474 case "(($ac_try" in
4475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4476 *) ac_try_echo=$ac_try;;
4477 esac
4478 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4479 $as_echo "$ac_try_echo"; } >&5
4480 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4481 ac_status=$?
4482 if test -s conftest.err; then
4483 sed '10a\
4484 ... rest of stderr output deleted ...
4485 10q' conftest.err >conftest.er1
4486 cat conftest.er1 >&5
4488 rm -f conftest.er1 conftest.err
4489 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4490 test $ac_status = 0; }
4491 done
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4494 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4495 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4496 $as_echo_n "(cached) " >&6
4497 else
4498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4499 /* end confdefs.h. */
4502 main ()
4504 #ifndef __GNUC__
4505 choke me
4506 #endif
4509 return 0;
4511 _ACEOF
4512 if ac_fn_cxx_try_compile "$LINENO"; then :
4513 ac_compiler_gnu=yes
4514 else
4515 ac_compiler_gnu=no
4517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4518 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4522 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4523 if test $ac_compiler_gnu = yes; then
4524 GXX=yes
4525 else
4526 GXX=
4528 ac_test_CXXFLAGS=${CXXFLAGS+set}
4529 ac_save_CXXFLAGS=$CXXFLAGS
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4531 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4532 if ${ac_cv_prog_cxx_g+:} false; then :
4533 $as_echo_n "(cached) " >&6
4534 else
4535 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4536 ac_cxx_werror_flag=yes
4537 ac_cv_prog_cxx_g=no
4538 CXXFLAGS="-g"
4539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4540 /* end confdefs.h. */
4543 main ()
4547 return 0;
4549 _ACEOF
4550 if ac_fn_cxx_try_compile "$LINENO"; then :
4551 ac_cv_prog_cxx_g=yes
4552 else
4553 CXXFLAGS=""
4554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4555 /* end confdefs.h. */
4558 main ()
4562 return 0;
4564 _ACEOF
4565 if ac_fn_cxx_try_compile "$LINENO"; then :
4567 else
4568 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4569 CXXFLAGS="-g"
4570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4571 /* end confdefs.h. */
4574 main ()
4578 return 0;
4580 _ACEOF
4581 if ac_fn_cxx_try_compile "$LINENO"; then :
4582 ac_cv_prog_cxx_g=yes
4584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4589 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4592 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4593 if test "$ac_test_CXXFLAGS" = set; then
4594 CXXFLAGS=$ac_save_CXXFLAGS
4595 elif test $ac_cv_prog_cxx_g = yes; then
4596 if test "$GXX" = yes; then
4597 CXXFLAGS="-g -O2"
4598 else
4599 CXXFLAGS="-g"
4601 else
4602 if test "$GXX" = yes; then
4603 CXXFLAGS="-O2"
4604 else
4605 CXXFLAGS=
4608 ac_ext=c
4609 ac_cpp='$CPP $CPPFLAGS'
4610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4614 if test -n "$ac_tool_prefix"; then
4615 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4616 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4618 $as_echo_n "checking for $ac_word... " >&6; }
4619 if ${ac_cv_prog_CPPBIN+:} false; then :
4620 $as_echo_n "(cached) " >&6
4621 else
4622 if test -n "$CPPBIN"; then
4623 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4624 else
4625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4626 for as_dir in $PATH
4628 IFS=$as_save_IFS
4629 test -z "$as_dir" && as_dir=.
4630 for ac_exec_ext in '' $ac_executable_extensions; do
4631 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4632 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4633 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4634 break 2
4636 done
4637 done
4638 IFS=$as_save_IFS
4642 CPPBIN=$ac_cv_prog_CPPBIN
4643 if test -n "$CPPBIN"; then
4644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4645 $as_echo "$CPPBIN" >&6; }
4646 else
4647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4648 $as_echo "no" >&6; }
4653 if test -z "$ac_cv_prog_CPPBIN"; then
4654 ac_ct_CPPBIN=$CPPBIN
4655 # Extract the first word of "cpp", so it can be a program name with args.
4656 set dummy cpp; ac_word=$2
4657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4658 $as_echo_n "checking for $ac_word... " >&6; }
4659 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4660 $as_echo_n "(cached) " >&6
4661 else
4662 if test -n "$ac_ct_CPPBIN"; then
4663 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4664 else
4665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4666 for as_dir in $PATH
4668 IFS=$as_save_IFS
4669 test -z "$as_dir" && as_dir=.
4670 for ac_exec_ext in '' $ac_executable_extensions; do
4671 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4672 ac_cv_prog_ac_ct_CPPBIN="cpp"
4673 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4674 break 2
4676 done
4677 done
4678 IFS=$as_save_IFS
4682 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4683 if test -n "$ac_ct_CPPBIN"; then
4684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4685 $as_echo "$ac_ct_CPPBIN" >&6; }
4686 else
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4688 $as_echo "no" >&6; }
4691 if test "x$ac_ct_CPPBIN" = x; then
4692 CPPBIN="cpp"
4693 else
4694 case $cross_compiling:$ac_tool_warned in
4695 yes:)
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4697 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4698 ac_tool_warned=yes ;;
4699 esac
4700 CPPBIN=$ac_ct_CPPBIN
4702 else
4703 CPPBIN="$ac_cv_prog_CPPBIN"
4707 cat >>confdefs.h <<_ACEOF
4708 #define EXEEXT "$ac_exeext"
4709 _ACEOF
4712 case $host in
4713 *-darwin*)
4714 if test "x$enable_win64" = "xyes"
4715 then
4716 CC="$CC -m64"
4717 CXX="$CXX -m64"
4718 host_cpu="x86_64"
4719 notice_platform="64-bit "
4720 TARGETFLAGS="-m64"
4722 else
4723 CC="$CC -m32"
4724 CXX="$CXX -m32"
4725 host_cpu="i386"
4726 notice_platform="32-bit "
4727 TARGETFLAGS="-m32"
4729 enable_win16=${enable_win16:-yes}
4731 with_fontconfig=${with_fontconfig:-no}
4733 x86_64*)
4734 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4735 then
4736 CC="$CC -m32"
4737 CXX="$CXX -m32"
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4739 $as_echo_n "checking whether $CC works... " >&6; }
4741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4742 /* end confdefs.h. */
4745 main ()
4749 return 0;
4751 _ACEOF
4752 if ac_fn_c_try_link "$LINENO"; then :
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4754 $as_echo "yes" >&6; }
4755 else
4756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4757 $as_echo "no" >&6; }
4758 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4760 rm -f core conftest.err conftest.$ac_objext \
4761 conftest$ac_exeext conftest.$ac_ext
4762 host_cpu="i386"
4763 notice_platform="32-bit "
4764 TARGETFLAGS="-m32"
4766 enable_win16=${enable_win16:-yes}
4767 else
4768 if test "x${GCC}" = "xyes"
4769 then
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4771 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4773 /* end confdefs.h. */
4774 #include <stdarg.h>
4776 main ()
4778 void func(__builtin_ms_va_list *args);
4780 return 0;
4782 _ACEOF
4783 if ac_fn_c_try_compile "$LINENO"; then :
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4785 $as_echo "yes" >&6; }
4786 else
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4788 $as_echo "no" >&6; }
4789 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4793 TARGETFLAGS="-m64"
4797 arm*)
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4799 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4801 /* end confdefs.h. */
4802 int ac_test(int i) { return i; }
4804 main ()
4806 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4808 return 0;
4810 _ACEOF
4811 if ac_fn_c_try_link "$LINENO"; then :
4812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4813 $as_echo "yes" >&6; }
4814 else
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4816 $as_echo "no" >&6; }
4817 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4819 rm -f core conftest.err conftest.$ac_objext \
4820 conftest$ac_exeext conftest.$ac_ext
4821 CFLAGS="$CFLAGS -marm"
4822 TARGETFLAGS="-marm"
4825 *-mingw32*|*-cygwin*)
4826 enable_win16=${enable_win16:-no}
4827 CFLAGS="$CFLAGS -D_WIN32"
4829 i[3456789]86*)
4830 enable_win16=${enable_win16:-yes}
4832 esac
4834 enable_win16=${enable_win16:-no}
4835 enable_win64=${enable_win64:-no}
4837 enable_winetest=${enable_winetest:-$enable_tests}
4839 if test -n "$with_wine64"
4840 then
4841 if test "x$enable_win64" = "xyes"
4842 then
4843 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4844 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4846 enable_fonts=${enable_fonts:-no}
4847 enable_server=${enable_server:-no}
4848 elif test "x$enable_win64" = "xyes"
4849 then
4850 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4854 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4855 if ${wine_cv_toolsdir+:} false; then :
4856 $as_echo_n "(cached) " >&6
4857 else
4858 wine_cv_toolsdir="$with_wine_tools"
4859 if test -z "$with_wine_tools"; then
4860 if test "$cross_compiling" = "yes"; then
4861 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4862 elif test -n "$with_wine64"; then
4863 wine_cv_toolsdir="$with_wine64"
4866 if test -z "$wine_cv_toolsdir"; then
4867 wine_makedep=tools/makedep
4868 wine_cv_toolsdir="\$(top_builddir)"
4869 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4870 wine_makedep=$wine_cv_toolsdir/tools/makedep
4871 case "$wine_cv_toolsdir" in
4872 /*) ;;
4873 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
4874 esac
4875 enable_tools=${enable_tools:-no}
4876 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
4877 else
4878 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4882 $as_echo "$wine_cv_toolsdir" >&6; }
4883 TOOLSDIR=$wine_cv_toolsdir
4885 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4886 then
4887 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
4891 for ac_prog in flex
4893 # Extract the first word of "$ac_prog", so it can be a program name with args.
4894 set dummy $ac_prog; ac_word=$2
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4896 $as_echo_n "checking for $ac_word... " >&6; }
4897 if ${ac_cv_prog_FLEX+:} false; then :
4898 $as_echo_n "(cached) " >&6
4899 else
4900 if test -n "$FLEX"; then
4901 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
4902 else
4903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4904 for as_dir in $PATH
4906 IFS=$as_save_IFS
4907 test -z "$as_dir" && as_dir=.
4908 for ac_exec_ext in '' $ac_executable_extensions; do
4909 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4910 ac_cv_prog_FLEX="$ac_prog"
4911 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4912 break 2
4914 done
4915 done
4916 IFS=$as_save_IFS
4920 FLEX=$ac_cv_prog_FLEX
4921 if test -n "$FLEX"; then
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4923 $as_echo "$FLEX" >&6; }
4924 else
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4926 $as_echo "no" >&6; }
4930 test -n "$FLEX" && break
4931 done
4932 test -n "$FLEX" || FLEX="none"
4934 if test "$FLEX" = "none"
4935 then
4936 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4939 $as_echo_n "checking whether flex is recent enough... " >&6; }
4940 cat >conftest.l <<EOF
4941 %top{
4942 #include "prediluvian.h"
4946 if $FLEX -t conftest.l >/dev/null 2>&5
4947 then
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4949 $as_echo "yes" >&6; }
4950 else
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4952 $as_echo "no" >&6; }
4953 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4956 for ac_prog in bison
4958 # Extract the first word of "$ac_prog", so it can be a program name with args.
4959 set dummy $ac_prog; ac_word=$2
4960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4961 $as_echo_n "checking for $ac_word... " >&6; }
4962 if ${ac_cv_prog_BISON+:} false; then :
4963 $as_echo_n "(cached) " >&6
4964 else
4965 if test -n "$BISON"; then
4966 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4967 else
4968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4969 for as_dir in $PATH
4971 IFS=$as_save_IFS
4972 test -z "$as_dir" && as_dir=.
4973 for ac_exec_ext in '' $ac_executable_extensions; do
4974 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4975 ac_cv_prog_BISON="$ac_prog"
4976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4977 break 2
4979 done
4980 done
4981 IFS=$as_save_IFS
4985 BISON=$ac_cv_prog_BISON
4986 if test -n "$BISON"; then
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4988 $as_echo "$BISON" >&6; }
4989 else
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4991 $as_echo "no" >&6; }
4995 test -n "$BISON" && break
4996 done
4997 test -n "$BISON" || BISON="none"
4999 if test "$BISON" = "none"
5000 then
5001 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5004 if test -n "$ac_tool_prefix"; then
5005 for ac_prog in ar gar
5007 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5008 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5010 $as_echo_n "checking for $ac_word... " >&6; }
5011 if ${ac_cv_prog_AR+:} false; then :
5012 $as_echo_n "(cached) " >&6
5013 else
5014 if test -n "$AR"; then
5015 ac_cv_prog_AR="$AR" # Let the user override the test.
5016 else
5017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5018 for as_dir in $PATH
5020 IFS=$as_save_IFS
5021 test -z "$as_dir" && as_dir=.
5022 for ac_exec_ext in '' $ac_executable_extensions; do
5023 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5024 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5026 break 2
5028 done
5029 done
5030 IFS=$as_save_IFS
5034 AR=$ac_cv_prog_AR
5035 if test -n "$AR"; then
5036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5037 $as_echo "$AR" >&6; }
5038 else
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5040 $as_echo "no" >&6; }
5044 test -n "$AR" && break
5045 done
5047 if test -z "$AR"; then
5048 ac_ct_AR=$AR
5049 for ac_prog in ar gar
5051 # Extract the first word of "$ac_prog", so it can be a program name with args.
5052 set dummy $ac_prog; ac_word=$2
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5054 $as_echo_n "checking for $ac_word... " >&6; }
5055 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5056 $as_echo_n "(cached) " >&6
5057 else
5058 if test -n "$ac_ct_AR"; then
5059 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5060 else
5061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5062 for as_dir in $PATH
5064 IFS=$as_save_IFS
5065 test -z "$as_dir" && as_dir=.
5066 for ac_exec_ext in '' $ac_executable_extensions; do
5067 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5068 ac_cv_prog_ac_ct_AR="$ac_prog"
5069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5070 break 2
5072 done
5073 done
5074 IFS=$as_save_IFS
5078 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5079 if test -n "$ac_ct_AR"; then
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5081 $as_echo "$ac_ct_AR" >&6; }
5082 else
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5084 $as_echo "no" >&6; }
5088 test -n "$ac_ct_AR" && break
5089 done
5091 if test "x$ac_ct_AR" = x; then
5092 AR="ar"
5093 else
5094 case $cross_compiling:$ac_tool_warned in
5095 yes:)
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5097 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5098 ac_tool_warned=yes ;;
5099 esac
5100 AR=$ac_ct_AR
5104 if test -n "$ac_tool_prefix"; then
5105 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5106 set dummy ${ac_tool_prefix}strip; ac_word=$2
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5108 $as_echo_n "checking for $ac_word... " >&6; }
5109 if ${ac_cv_prog_STRIP+:} false; then :
5110 $as_echo_n "(cached) " >&6
5111 else
5112 if test -n "$STRIP"; then
5113 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5114 else
5115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5116 for as_dir in $PATH
5118 IFS=$as_save_IFS
5119 test -z "$as_dir" && as_dir=.
5120 for ac_exec_ext in '' $ac_executable_extensions; do
5121 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5122 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5124 break 2
5126 done
5127 done
5128 IFS=$as_save_IFS
5132 STRIP=$ac_cv_prog_STRIP
5133 if test -n "$STRIP"; then
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5135 $as_echo "$STRIP" >&6; }
5136 else
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5138 $as_echo "no" >&6; }
5143 if test -z "$ac_cv_prog_STRIP"; then
5144 ac_ct_STRIP=$STRIP
5145 # Extract the first word of "strip", so it can be a program name with args.
5146 set dummy strip; ac_word=$2
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5148 $as_echo_n "checking for $ac_word... " >&6; }
5149 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5150 $as_echo_n "(cached) " >&6
5151 else
5152 if test -n "$ac_ct_STRIP"; then
5153 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5154 else
5155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5156 for as_dir in $PATH
5158 IFS=$as_save_IFS
5159 test -z "$as_dir" && as_dir=.
5160 for ac_exec_ext in '' $ac_executable_extensions; do
5161 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5162 ac_cv_prog_ac_ct_STRIP="strip"
5163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5164 break 2
5166 done
5167 done
5168 IFS=$as_save_IFS
5172 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5173 if test -n "$ac_ct_STRIP"; then
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5175 $as_echo "$ac_ct_STRIP" >&6; }
5176 else
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5178 $as_echo "no" >&6; }
5181 if test "x$ac_ct_STRIP" = x; then
5182 STRIP="strip"
5183 else
5184 case $cross_compiling:$ac_tool_warned in
5185 yes:)
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5187 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5188 ac_tool_warned=yes ;;
5189 esac
5190 STRIP=$ac_ct_STRIP
5192 else
5193 STRIP="$ac_cv_prog_STRIP"
5196 ARFLAGS=rc
5198 if test -n "$ac_tool_prefix"; then
5199 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5200 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5202 $as_echo_n "checking for $ac_word... " >&6; }
5203 if ${ac_cv_prog_RANLIB+:} false; then :
5204 $as_echo_n "(cached) " >&6
5205 else
5206 if test -n "$RANLIB"; then
5207 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5208 else
5209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5210 for as_dir in $PATH
5212 IFS=$as_save_IFS
5213 test -z "$as_dir" && as_dir=.
5214 for ac_exec_ext in '' $ac_executable_extensions; do
5215 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5216 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5217 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5218 break 2
5220 done
5221 done
5222 IFS=$as_save_IFS
5226 RANLIB=$ac_cv_prog_RANLIB
5227 if test -n "$RANLIB"; then
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5229 $as_echo "$RANLIB" >&6; }
5230 else
5231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5232 $as_echo "no" >&6; }
5237 if test -z "$ac_cv_prog_RANLIB"; then
5238 ac_ct_RANLIB=$RANLIB
5239 # Extract the first word of "ranlib", so it can be a program name with args.
5240 set dummy ranlib; ac_word=$2
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5242 $as_echo_n "checking for $ac_word... " >&6; }
5243 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5244 $as_echo_n "(cached) " >&6
5245 else
5246 if test -n "$ac_ct_RANLIB"; then
5247 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5248 else
5249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5250 for as_dir in $PATH
5252 IFS=$as_save_IFS
5253 test -z "$as_dir" && as_dir=.
5254 for ac_exec_ext in '' $ac_executable_extensions; do
5255 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5256 ac_cv_prog_ac_ct_RANLIB="ranlib"
5257 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5258 break 2
5260 done
5261 done
5262 IFS=$as_save_IFS
5266 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5267 if test -n "$ac_ct_RANLIB"; then
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5269 $as_echo "$ac_ct_RANLIB" >&6; }
5270 else
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5272 $as_echo "no" >&6; }
5275 if test "x$ac_ct_RANLIB" = x; then
5276 RANLIB=":"
5277 else
5278 case $cross_compiling:$ac_tool_warned in
5279 yes:)
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5281 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5282 ac_tool_warned=yes ;;
5283 esac
5284 RANLIB=$ac_ct_RANLIB
5286 else
5287 RANLIB="$ac_cv_prog_RANLIB"
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5291 $as_echo_n "checking whether ln -s works... " >&6; }
5292 LN_S=$as_ln_s
5293 if test "$LN_S" = "ln -s"; then
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5295 $as_echo "yes" >&6; }
5296 else
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5298 $as_echo "no, using $LN_S" >&6; }
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5302 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5303 if ${ac_cv_path_GREP+:} false; then :
5304 $as_echo_n "(cached) " >&6
5305 else
5306 if test -z "$GREP"; then
5307 ac_path_GREP_found=false
5308 # Loop through the user's path and test for each of PROGNAME-LIST
5309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5310 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5312 IFS=$as_save_IFS
5313 test -z "$as_dir" && as_dir=.
5314 for ac_prog in grep ggrep; do
5315 for ac_exec_ext in '' $ac_executable_extensions; do
5316 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5317 as_fn_executable_p "$ac_path_GREP" || continue
5318 # Check for GNU ac_path_GREP and select it if it is found.
5319 # Check for GNU $ac_path_GREP
5320 case `"$ac_path_GREP" --version 2>&1` in
5321 *GNU*)
5322 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5324 ac_count=0
5325 $as_echo_n 0123456789 >"conftest.in"
5326 while :
5328 cat "conftest.in" "conftest.in" >"conftest.tmp"
5329 mv "conftest.tmp" "conftest.in"
5330 cp "conftest.in" "conftest.nl"
5331 $as_echo 'GREP' >> "conftest.nl"
5332 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5333 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5334 as_fn_arith $ac_count + 1 && ac_count=$as_val
5335 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5336 # Best one so far, save it but keep looking for a better one
5337 ac_cv_path_GREP="$ac_path_GREP"
5338 ac_path_GREP_max=$ac_count
5340 # 10*(2^10) chars as input seems more than enough
5341 test $ac_count -gt 10 && break
5342 done
5343 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5344 esac
5346 $ac_path_GREP_found && break 3
5347 done
5348 done
5349 done
5350 IFS=$as_save_IFS
5351 if test -z "$ac_cv_path_GREP"; then
5352 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5354 else
5355 ac_cv_path_GREP=$GREP
5359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5360 $as_echo "$ac_cv_path_GREP" >&6; }
5361 GREP="$ac_cv_path_GREP"
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5365 $as_echo_n "checking for egrep... " >&6; }
5366 if ${ac_cv_path_EGREP+:} false; then :
5367 $as_echo_n "(cached) " >&6
5368 else
5369 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5370 then ac_cv_path_EGREP="$GREP -E"
5371 else
5372 if test -z "$EGREP"; then
5373 ac_path_EGREP_found=false
5374 # Loop through the user's path and test for each of PROGNAME-LIST
5375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5376 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5378 IFS=$as_save_IFS
5379 test -z "$as_dir" && as_dir=.
5380 for ac_prog in egrep; do
5381 for ac_exec_ext in '' $ac_executable_extensions; do
5382 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5383 as_fn_executable_p "$ac_path_EGREP" || continue
5384 # Check for GNU ac_path_EGREP and select it if it is found.
5385 # Check for GNU $ac_path_EGREP
5386 case `"$ac_path_EGREP" --version 2>&1` in
5387 *GNU*)
5388 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5390 ac_count=0
5391 $as_echo_n 0123456789 >"conftest.in"
5392 while :
5394 cat "conftest.in" "conftest.in" >"conftest.tmp"
5395 mv "conftest.tmp" "conftest.in"
5396 cp "conftest.in" "conftest.nl"
5397 $as_echo 'EGREP' >> "conftest.nl"
5398 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5399 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5400 as_fn_arith $ac_count + 1 && ac_count=$as_val
5401 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5402 # Best one so far, save it but keep looking for a better one
5403 ac_cv_path_EGREP="$ac_path_EGREP"
5404 ac_path_EGREP_max=$ac_count
5406 # 10*(2^10) chars as input seems more than enough
5407 test $ac_count -gt 10 && break
5408 done
5409 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5410 esac
5412 $ac_path_EGREP_found && break 3
5413 done
5414 done
5415 done
5416 IFS=$as_save_IFS
5417 if test -z "$ac_cv_path_EGREP"; then
5418 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5420 else
5421 ac_cv_path_EGREP=$EGREP
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5427 $as_echo "$ac_cv_path_EGREP" >&6; }
5428 EGREP="$ac_cv_path_EGREP"
5431 # Extract the first word of "ldconfig", so it can be a program name with args.
5432 set dummy ldconfig; ac_word=$2
5433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5434 $as_echo_n "checking for $ac_word... " >&6; }
5435 if ${ac_cv_path_LDCONFIG+:} false; then :
5436 $as_echo_n "(cached) " >&6
5437 else
5438 case $LDCONFIG in
5439 [\\/]* | ?:[\\/]*)
5440 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5444 for as_dir in /sbin /usr/sbin $PATH
5446 IFS=$as_save_IFS
5447 test -z "$as_dir" && as_dir=.
5448 for ac_exec_ext in '' $ac_executable_extensions; do
5449 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5450 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5452 break 2
5454 done
5455 done
5456 IFS=$as_save_IFS
5458 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5460 esac
5462 LDCONFIG=$ac_cv_path_LDCONFIG
5463 if test -n "$LDCONFIG"; then
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5465 $as_echo "$LDCONFIG" >&6; }
5466 else
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5468 $as_echo "no" >&6; }
5472 for ac_prog in msgfmt
5474 # Extract the first word of "$ac_prog", so it can be a program name with args.
5475 set dummy $ac_prog; ac_word=$2
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5477 $as_echo_n "checking for $ac_word... " >&6; }
5478 if ${ac_cv_prog_MSGFMT+:} false; then :
5479 $as_echo_n "(cached) " >&6
5480 else
5481 if test -n "$MSGFMT"; then
5482 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5483 else
5484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5485 for as_dir in $PATH
5487 IFS=$as_save_IFS
5488 test -z "$as_dir" && as_dir=.
5489 for ac_exec_ext in '' $ac_executable_extensions; do
5490 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5491 ac_cv_prog_MSGFMT="$ac_prog"
5492 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5493 break 2
5495 done
5496 done
5497 IFS=$as_save_IFS
5501 MSGFMT=$ac_cv_prog_MSGFMT
5502 if test -n "$MSGFMT"; then
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5504 $as_echo "$MSGFMT" >&6; }
5505 else
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5507 $as_echo "no" >&6; }
5511 test -n "$MSGFMT" && break
5512 done
5513 test -n "$MSGFMT" || MSGFMT="false"
5515 if ${ac_tool_prefix+:} false; then :
5516 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5517 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5519 $as_echo_n "checking for $ac_word... " >&6; }
5520 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5521 $as_echo_n "(cached) " >&6
5522 else
5523 if test -n "$PKG_CONFIG"; then
5524 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5525 else
5526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5527 for as_dir in $PATH
5529 IFS=$as_save_IFS
5530 test -z "$as_dir" && as_dir=.
5531 for ac_exec_ext in '' $ac_executable_extensions; do
5532 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5533 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5534 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5535 break 2
5537 done
5538 done
5539 IFS=$as_save_IFS
5543 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5544 if test -n "$PKG_CONFIG"; then
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5546 $as_echo "$PKG_CONFIG" >&6; }
5547 else
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5549 $as_echo "no" >&6; }
5554 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5555 if test "x$cross_compiling" = xyes; then :
5557 else
5558 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5559 # Extract the first word of "pkg-config", so it can be a program name with args.
5560 set dummy pkg-config; ac_word=$2
5561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5562 $as_echo_n "checking for $ac_word... " >&6; }
5563 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5564 $as_echo_n "(cached) " >&6
5565 else
5566 if test -n "$PKG_CONFIG"; then
5567 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5568 else
5569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5570 for as_dir in $PATH
5572 IFS=$as_save_IFS
5573 test -z "$as_dir" && as_dir=.
5574 for ac_exec_ext in '' $ac_executable_extensions; do
5575 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5576 ac_cv_prog_PKG_CONFIG="pkg-config"
5577 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5578 break 2
5580 done
5581 done
5582 IFS=$as_save_IFS
5586 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5587 if test -n "$PKG_CONFIG"; then
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5589 $as_echo "$PKG_CONFIG" >&6; }
5590 else
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5592 $as_echo "no" >&6; }
5597 else
5598 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5601 if test "x$enable_maintainer_mode" != "xyes"
5602 then
5603 FONTFORGE=""
5604 RSVG=""
5605 CONVERT=""
5606 ICOTOOL=""
5607 else
5608 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5609 for ac_prog in fontforge
5611 # Extract the first word of "$ac_prog", so it can be a program name with args.
5612 set dummy $ac_prog; ac_word=$2
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5614 $as_echo_n "checking for $ac_word... " >&6; }
5615 if ${ac_cv_prog_FONTFORGE+:} false; then :
5616 $as_echo_n "(cached) " >&6
5617 else
5618 if test -n "$FONTFORGE"; then
5619 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5620 else
5621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5622 for as_dir in $PATH
5624 IFS=$as_save_IFS
5625 test -z "$as_dir" && as_dir=.
5626 for ac_exec_ext in '' $ac_executable_extensions; do
5627 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5628 ac_cv_prog_FONTFORGE="$ac_prog"
5629 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5630 break 2
5632 done
5633 done
5634 IFS=$as_save_IFS
5638 FONTFORGE=$ac_cv_prog_FONTFORGE
5639 if test -n "$FONTFORGE"; then
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5641 $as_echo "$FONTFORGE" >&6; }
5642 else
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5644 $as_echo "no" >&6; }
5648 test -n "$FONTFORGE" && break
5649 done
5650 test -n "$FONTFORGE" || FONTFORGE="false"
5652 for ac_prog in rsvg
5654 # Extract the first word of "$ac_prog", so it can be a program name with args.
5655 set dummy $ac_prog; ac_word=$2
5656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5657 $as_echo_n "checking for $ac_word... " >&6; }
5658 if ${ac_cv_prog_RSVG+:} false; then :
5659 $as_echo_n "(cached) " >&6
5660 else
5661 if test -n "$RSVG"; then
5662 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5663 else
5664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5665 for as_dir in $PATH
5667 IFS=$as_save_IFS
5668 test -z "$as_dir" && as_dir=.
5669 for ac_exec_ext in '' $ac_executable_extensions; do
5670 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5671 ac_cv_prog_RSVG="$ac_prog"
5672 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5673 break 2
5675 done
5676 done
5677 IFS=$as_save_IFS
5681 RSVG=$ac_cv_prog_RSVG
5682 if test -n "$RSVG"; then
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5684 $as_echo "$RSVG" >&6; }
5685 else
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5687 $as_echo "no" >&6; }
5691 test -n "$RSVG" && break
5692 done
5693 test -n "$RSVG" || RSVG="false"
5695 for ac_prog in convert
5697 # Extract the first word of "$ac_prog", so it can be a program name with args.
5698 set dummy $ac_prog; ac_word=$2
5699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5700 $as_echo_n "checking for $ac_word... " >&6; }
5701 if ${ac_cv_prog_CONVERT+:} false; then :
5702 $as_echo_n "(cached) " >&6
5703 else
5704 if test -n "$CONVERT"; then
5705 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5706 else
5707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5708 for as_dir in $PATH
5710 IFS=$as_save_IFS
5711 test -z "$as_dir" && as_dir=.
5712 for ac_exec_ext in '' $ac_executable_extensions; do
5713 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5714 ac_cv_prog_CONVERT="$ac_prog"
5715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5716 break 2
5718 done
5719 done
5720 IFS=$as_save_IFS
5724 CONVERT=$ac_cv_prog_CONVERT
5725 if test -n "$CONVERT"; then
5726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5727 $as_echo "$CONVERT" >&6; }
5728 else
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5730 $as_echo "no" >&6; }
5734 test -n "$CONVERT" && break
5735 done
5736 test -n "$CONVERT" || CONVERT="false"
5738 for ac_prog in icotool
5740 # Extract the first word of "$ac_prog", so it can be a program name with args.
5741 set dummy $ac_prog; ac_word=$2
5742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5743 $as_echo_n "checking for $ac_word... " >&6; }
5744 if ${ac_cv_prog_ICOTOOL+:} false; then :
5745 $as_echo_n "(cached) " >&6
5746 else
5747 if test -n "$ICOTOOL"; then
5748 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5749 else
5750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5751 for as_dir in $PATH
5753 IFS=$as_save_IFS
5754 test -z "$as_dir" && as_dir=.
5755 for ac_exec_ext in '' $ac_executable_extensions; do
5756 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5757 ac_cv_prog_ICOTOOL="$ac_prog"
5758 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5759 break 2
5761 done
5762 done
5763 IFS=$as_save_IFS
5767 ICOTOOL=$ac_cv_prog_ICOTOOL
5768 if test -n "$ICOTOOL"; then
5769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5770 $as_echo "$ICOTOOL" >&6; }
5771 else
5772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5773 $as_echo "no" >&6; }
5777 test -n "$ICOTOOL" && break
5778 done
5779 test -n "$ICOTOOL" || ICOTOOL="false"
5781 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5782 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5784 if test "$CONVERT" = false
5785 then
5786 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5787 else
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5789 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5790 convert_version=`convert --version | head -n1`
5791 if test "x$convert_version" != "x"
5792 then
5793 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5794 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5795 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5796 then
5797 CONVERT=false
5800 if test "$CONVERT" = false
5801 then
5802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5803 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5804 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5805 else
5806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5807 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5811 if test "$ICOTOOL" = false
5812 then
5813 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5814 else
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5816 $as_echo_n "checking for recent enough icotool... " >&6; }
5817 icotool_version=`icotool --version | head -n1`
5818 if test "x$icotool_version" != "x"
5819 then
5820 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5821 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5822 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5823 then
5824 ICOTOOL=false
5825 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5828 if test "$ICOTOOL" = false
5829 then
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5831 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5832 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5833 else
5834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5835 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5839 with_gettext=yes
5840 with_gettextpo=yes
5841 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5844 test "x$with_gettext" != xno || MSGFMT=false
5845 if test "$MSGFMT" != "false"
5846 then
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5848 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5849 cat >conftest.po <<EOF
5850 # comment
5851 msgctxt "ctxt"
5852 msgid "id"
5853 msgstr "str"
5855 if $MSGFMT -o /dev/null conftest.po 2>&5
5856 then
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5858 $as_echo "yes" >&6; }
5859 else
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5861 $as_echo "no" >&6; }
5862 MSGFMT=false
5865 if test "$MSGFMT" = false; then :
5866 case "x$with_gettext" in
5867 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
5868 xno) ;;
5869 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
5870 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5871 esac
5875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5876 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5877 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
5878 $as_echo_n "(cached) " >&6
5879 else
5880 ac_check_lib_save_LIBS=$LIBS
5881 LIBS="-li386 $LIBS"
5882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5883 /* end confdefs.h. */
5885 /* Override any GCC internal prototype to avoid an error.
5886 Use char because int might match the return type of a GCC
5887 builtin and then its argument prototype would still apply. */
5888 #ifdef __cplusplus
5889 extern "C"
5890 #endif
5891 char i386_set_ldt ();
5893 main ()
5895 return i386_set_ldt ();
5897 return 0;
5899 _ACEOF
5900 if ac_fn_c_try_link "$LINENO"; then :
5901 ac_cv_lib_i386_i386_set_ldt=yes
5902 else
5903 ac_cv_lib_i386_i386_set_ldt=no
5905 rm -f core conftest.err conftest.$ac_objext \
5906 conftest$ac_exeext conftest.$ac_ext
5907 LIBS=$ac_check_lib_save_LIBS
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5910 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5911 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
5912 cat >>confdefs.h <<_ACEOF
5913 #define HAVE_LIBI386 1
5914 _ACEOF
5916 LIBS="-li386 $LIBS"
5920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5921 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5922 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
5923 $as_echo_n "(cached) " >&6
5924 else
5925 ac_check_lib_save_LIBS=$LIBS
5926 LIBS="-lossaudio $LIBS"
5927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5928 /* end confdefs.h. */
5930 /* Override any GCC internal prototype to avoid an error.
5931 Use char because int might match the return type of a GCC
5932 builtin and then its argument prototype would still apply. */
5933 #ifdef __cplusplus
5934 extern "C"
5935 #endif
5936 char _oss_ioctl ();
5938 main ()
5940 return _oss_ioctl ();
5942 return 0;
5944 _ACEOF
5945 if ac_fn_c_try_link "$LINENO"; then :
5946 ac_cv_lib_ossaudio__oss_ioctl=yes
5947 else
5948 ac_cv_lib_ossaudio__oss_ioctl=no
5950 rm -f core conftest.err conftest.$ac_objext \
5951 conftest$ac_exeext conftest.$ac_ext
5952 LIBS=$ac_check_lib_save_LIBS
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5955 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5956 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
5957 cat >>confdefs.h <<_ACEOF
5958 #define HAVE_LIBOSSAUDIO 1
5959 _ACEOF
5961 LIBS="-lossaudio $LIBS"
5966 OPENGL_LIBS=""
5970 # Check whether --enable-largefile was given.
5971 if test "${enable_largefile+set}" = set; then :
5972 enableval=$enable_largefile;
5975 if test "$enable_largefile" != no; then
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5978 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5979 if ${ac_cv_sys_largefile_CC+:} false; then :
5980 $as_echo_n "(cached) " >&6
5981 else
5982 ac_cv_sys_largefile_CC=no
5983 if test "$GCC" != yes; then
5984 ac_save_CC=$CC
5985 while :; do
5986 # IRIX 6.2 and later do not support large files by default,
5987 # so use the C compiler's -n32 option if that helps.
5988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5989 /* end confdefs.h. */
5990 #include <sys/types.h>
5991 /* Check that off_t can represent 2**63 - 1 correctly.
5992 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5993 since some C++ compilers masquerading as C compilers
5994 incorrectly reject 9223372036854775807. */
5995 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5996 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5997 && LARGE_OFF_T % 2147483647 == 1)
5998 ? 1 : -1];
6000 main ()
6004 return 0;
6006 _ACEOF
6007 if ac_fn_c_try_compile "$LINENO"; then :
6008 break
6010 rm -f core conftest.err conftest.$ac_objext
6011 CC="$CC -n32"
6012 if ac_fn_c_try_compile "$LINENO"; then :
6013 ac_cv_sys_largefile_CC=' -n32'; break
6015 rm -f core conftest.err conftest.$ac_objext
6016 break
6017 done
6018 CC=$ac_save_CC
6019 rm -f conftest.$ac_ext
6022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6023 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6024 if test "$ac_cv_sys_largefile_CC" != no; then
6025 CC=$CC$ac_cv_sys_largefile_CC
6028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6029 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6030 if ${ac_cv_sys_file_offset_bits+:} false; then :
6031 $as_echo_n "(cached) " >&6
6032 else
6033 while :; do
6034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6035 /* end confdefs.h. */
6036 #include <sys/types.h>
6037 /* Check that off_t can represent 2**63 - 1 correctly.
6038 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6039 since some C++ compilers masquerading as C compilers
6040 incorrectly reject 9223372036854775807. */
6041 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6042 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6043 && LARGE_OFF_T % 2147483647 == 1)
6044 ? 1 : -1];
6046 main ()
6050 return 0;
6052 _ACEOF
6053 if ac_fn_c_try_compile "$LINENO"; then :
6054 ac_cv_sys_file_offset_bits=no; break
6056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6058 /* end confdefs.h. */
6059 #define _FILE_OFFSET_BITS 64
6060 #include <sys/types.h>
6061 /* Check that off_t can represent 2**63 - 1 correctly.
6062 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6063 since some C++ compilers masquerading as C compilers
6064 incorrectly reject 9223372036854775807. */
6065 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6066 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6067 && LARGE_OFF_T % 2147483647 == 1)
6068 ? 1 : -1];
6070 main ()
6074 return 0;
6076 _ACEOF
6077 if ac_fn_c_try_compile "$LINENO"; then :
6078 ac_cv_sys_file_offset_bits=64; break
6080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6081 ac_cv_sys_file_offset_bits=unknown
6082 break
6083 done
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6086 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6087 case $ac_cv_sys_file_offset_bits in #(
6088 no | unknown) ;;
6090 cat >>confdefs.h <<_ACEOF
6091 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6092 _ACEOF
6094 esac
6095 rm -rf conftest*
6096 if test $ac_cv_sys_file_offset_bits = unknown; then
6097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6098 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6099 if ${ac_cv_sys_large_files+:} false; then :
6100 $as_echo_n "(cached) " >&6
6101 else
6102 while :; do
6103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6104 /* end confdefs.h. */
6105 #include <sys/types.h>
6106 /* Check that off_t can represent 2**63 - 1 correctly.
6107 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6108 since some C++ compilers masquerading as C compilers
6109 incorrectly reject 9223372036854775807. */
6110 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6111 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6112 && LARGE_OFF_T % 2147483647 == 1)
6113 ? 1 : -1];
6115 main ()
6119 return 0;
6121 _ACEOF
6122 if ac_fn_c_try_compile "$LINENO"; then :
6123 ac_cv_sys_large_files=no; break
6125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6127 /* end confdefs.h. */
6128 #define _LARGE_FILES 1
6129 #include <sys/types.h>
6130 /* Check that off_t can represent 2**63 - 1 correctly.
6131 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6132 since some C++ compilers masquerading as C compilers
6133 incorrectly reject 9223372036854775807. */
6134 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6135 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6136 && LARGE_OFF_T % 2147483647 == 1)
6137 ? 1 : -1];
6139 main ()
6143 return 0;
6145 _ACEOF
6146 if ac_fn_c_try_compile "$LINENO"; then :
6147 ac_cv_sys_large_files=1; break
6149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6150 ac_cv_sys_large_files=unknown
6151 break
6152 done
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6155 $as_echo "$ac_cv_sys_large_files" >&6; }
6156 case $ac_cv_sys_large_files in #(
6157 no | unknown) ;;
6159 cat >>confdefs.h <<_ACEOF
6160 #define _LARGE_FILES $ac_cv_sys_large_files
6161 _ACEOF
6163 esac
6164 rm -rf conftest*
6171 ac_ext=c
6172 ac_cpp='$CPP $CPPFLAGS'
6173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6177 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6178 # On Suns, sometimes $CPP names a directory.
6179 if test -n "$CPP" && test -d "$CPP"; then
6180 CPP=
6182 if test -z "$CPP"; then
6183 if ${ac_cv_prog_CPP+:} false; then :
6184 $as_echo_n "(cached) " >&6
6185 else
6186 # Double quotes because CPP needs to be expanded
6187 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6189 ac_preproc_ok=false
6190 for ac_c_preproc_warn_flag in '' yes
6192 # Use a header file that comes with gcc, so configuring glibc
6193 # with a fresh cross-compiler works.
6194 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6195 # <limits.h> exists even on freestanding compilers.
6196 # On the NeXT, cc -E runs the code through the compiler's parser,
6197 # not just through cpp. "Syntax error" is here to catch this case.
6198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6199 /* end confdefs.h. */
6200 #ifdef __STDC__
6201 # include <limits.h>
6202 #else
6203 # include <assert.h>
6204 #endif
6205 Syntax error
6206 _ACEOF
6207 if ac_fn_c_try_cpp "$LINENO"; then :
6209 else
6210 # Broken: fails on valid input.
6211 continue
6213 rm -f conftest.err conftest.i conftest.$ac_ext
6215 # OK, works on sane cases. Now check whether nonexistent headers
6216 # can be detected and how.
6217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6218 /* end confdefs.h. */
6219 #include <ac_nonexistent.h>
6220 _ACEOF
6221 if ac_fn_c_try_cpp "$LINENO"; then :
6222 # Broken: success on invalid input.
6223 continue
6224 else
6225 # Passes both tests.
6226 ac_preproc_ok=:
6227 break
6229 rm -f conftest.err conftest.i conftest.$ac_ext
6231 done
6232 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6233 rm -f conftest.i conftest.err conftest.$ac_ext
6234 if $ac_preproc_ok; then :
6235 break
6238 done
6239 ac_cv_prog_CPP=$CPP
6242 CPP=$ac_cv_prog_CPP
6243 else
6244 ac_cv_prog_CPP=$CPP
6246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6247 $as_echo "$CPP" >&6; }
6248 ac_preproc_ok=false
6249 for ac_c_preproc_warn_flag in '' yes
6251 # Use a header file that comes with gcc, so configuring glibc
6252 # with a fresh cross-compiler works.
6253 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6254 # <limits.h> exists even on freestanding compilers.
6255 # On the NeXT, cc -E runs the code through the compiler's parser,
6256 # not just through cpp. "Syntax error" is here to catch this case.
6257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6258 /* end confdefs.h. */
6259 #ifdef __STDC__
6260 # include <limits.h>
6261 #else
6262 # include <assert.h>
6263 #endif
6264 Syntax error
6265 _ACEOF
6266 if ac_fn_c_try_cpp "$LINENO"; then :
6268 else
6269 # Broken: fails on valid input.
6270 continue
6272 rm -f conftest.err conftest.i conftest.$ac_ext
6274 # OK, works on sane cases. Now check whether nonexistent headers
6275 # can be detected and how.
6276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6277 /* end confdefs.h. */
6278 #include <ac_nonexistent.h>
6279 _ACEOF
6280 if ac_fn_c_try_cpp "$LINENO"; then :
6281 # Broken: success on invalid input.
6282 continue
6283 else
6284 # Passes both tests.
6285 ac_preproc_ok=:
6286 break
6288 rm -f conftest.err conftest.i conftest.$ac_ext
6290 done
6291 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6292 rm -f conftest.i conftest.err conftest.$ac_ext
6293 if $ac_preproc_ok; then :
6295 else
6296 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6297 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6298 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6299 See \`config.log' for more details" "$LINENO" 5; }
6302 ac_ext=c
6303 ac_cpp='$CPP $CPPFLAGS'
6304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6310 $as_echo_n "checking for ANSI C header files... " >&6; }
6311 if ${ac_cv_header_stdc+:} false; then :
6312 $as_echo_n "(cached) " >&6
6313 else
6314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6315 /* end confdefs.h. */
6316 #include <stdlib.h>
6317 #include <stdarg.h>
6318 #include <string.h>
6319 #include <float.h>
6322 main ()
6326 return 0;
6328 _ACEOF
6329 if ac_fn_c_try_compile "$LINENO"; then :
6330 ac_cv_header_stdc=yes
6331 else
6332 ac_cv_header_stdc=no
6334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6336 if test $ac_cv_header_stdc = yes; then
6337 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6339 /* end confdefs.h. */
6340 #include <string.h>
6342 _ACEOF
6343 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6344 $EGREP "memchr" >/dev/null 2>&1; then :
6346 else
6347 ac_cv_header_stdc=no
6349 rm -f conftest*
6353 if test $ac_cv_header_stdc = yes; then
6354 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6356 /* end confdefs.h. */
6357 #include <stdlib.h>
6359 _ACEOF
6360 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6361 $EGREP "free" >/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 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6372 if test "$cross_compiling" = yes; then :
6374 else
6375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6376 /* end confdefs.h. */
6377 #include <ctype.h>
6378 #include <stdlib.h>
6379 #if ((' ' & 0x0FF) == 0x020)
6380 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6381 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6382 #else
6383 # define ISLOWER(c) \
6384 (('a' <= (c) && (c) <= 'i') \
6385 || ('j' <= (c) && (c) <= 'r') \
6386 || ('s' <= (c) && (c) <= 'z'))
6387 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6388 #endif
6390 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6392 main ()
6394 int i;
6395 for (i = 0; i < 256; i++)
6396 if (XOR (islower (i), ISLOWER (i))
6397 || toupper (i) != TOUPPER (i))
6398 return 2;
6399 return 0;
6401 _ACEOF
6402 if ac_fn_c_try_run "$LINENO"; then :
6404 else
6405 ac_cv_header_stdc=no
6407 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6408 conftest.$ac_objext conftest.beam conftest.$ac_ext
6413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6414 $as_echo "$ac_cv_header_stdc" >&6; }
6415 if test $ac_cv_header_stdc = yes; then
6417 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6421 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6422 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6423 inttypes.h stdint.h unistd.h
6424 do :
6425 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6426 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6428 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6429 cat >>confdefs.h <<_ACEOF
6430 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6431 _ACEOF
6435 done
6438 for ac_header in \
6439 AL/al.h \
6440 ApplicationServices/ApplicationServices.h \
6441 AudioToolbox/AudioConverter.h \
6442 AudioUnit/AudioUnit.h \
6443 AudioUnit/AudioComponent.h \
6444 CL/cl.h \
6445 Carbon/Carbon.h \
6446 CoreAudio/CoreAudio.h \
6447 CoreServices/CoreServices.h \
6448 DiskArbitration/DiskArbitration.h \
6449 IOKit/IOKitLib.h \
6450 IOKit/hid/IOHIDLib.h \
6451 OpenAL/al.h \
6452 OpenCL/opencl.h \
6453 QuickTime/ImageCompression.h \
6454 Security/Security.h \
6455 alias.h \
6456 alsa/asoundlib.h \
6457 arpa/inet.h \
6458 arpa/nameser.h \
6459 asm/types.h \
6460 asm/user.h \
6461 curses.h \
6462 direct.h \
6463 dirent.h \
6464 dlfcn.h \
6465 elf.h \
6466 float.h \
6467 fnmatch.h \
6468 getopt.h \
6469 gettext-po.h \
6470 grp.h \
6471 gsm.h \
6472 gsm/gsm.h \
6473 ieeefp.h \
6474 inet/mib2.h \
6475 io.h \
6476 kstat.h \
6477 lber.h \
6478 ldap.h \
6479 libproc.h \
6480 link.h \
6481 linux/cdrom.h \
6482 linux/compiler.h \
6483 linux/filter.h \
6484 linux/hdreg.h \
6485 linux/input.h \
6486 linux/ioctl.h \
6487 linux/joystick.h \
6488 linux/major.h \
6489 linux/param.h \
6490 linux/serial.h \
6491 linux/types.h \
6492 linux/ucdrom.h \
6493 lwp.h \
6494 mach-o/nlist.h \
6495 mach-o/loader.h \
6496 mach/mach.h \
6497 mach/machine.h \
6498 machine/cpu.h \
6499 machine/limits.h \
6500 machine/sysarch.h \
6501 mntent.h \
6502 ncurses.h \
6503 netdb.h \
6504 netinet/in.h \
6505 netinet/in_systm.h \
6506 netinet/tcp.h \
6507 netinet/tcp_fsm.h \
6508 pcap/pcap.h \
6509 poll.h \
6510 port.h \
6511 process.h \
6512 pthread.h \
6513 pwd.h \
6514 sched.h \
6515 scsi/scsi.h \
6516 scsi/scsi_ioctl.h \
6517 scsi/sg.h \
6518 stdbool.h \
6519 stdint.h \
6520 stropts.h \
6521 sys/asoundlib.h \
6522 sys/attr.h \
6523 sys/cdio.h \
6524 sys/elf32.h \
6525 sys/epoll.h \
6526 sys/event.h \
6527 sys/exec_elf.h \
6528 sys/filio.h \
6529 sys/inotify.h \
6530 sys/ioctl.h \
6531 sys/ipc.h \
6532 sys/limits.h \
6533 sys/link.h \
6534 sys/mman.h \
6535 sys/modem.h \
6536 sys/msg.h \
6537 sys/mtio.h \
6538 sys/param.h \
6539 sys/poll.h \
6540 sys/prctl.h \
6541 sys/protosw.h \
6542 sys/ptrace.h \
6543 sys/queue.h \
6544 sys/resource.h \
6545 sys/scsiio.h \
6546 sys/shm.h \
6547 sys/signal.h \
6548 sys/socket.h \
6549 sys/socketvar.h \
6550 sys/sockio.h \
6551 sys/statvfs.h \
6552 sys/strtio.h \
6553 sys/syscall.h \
6554 sys/tihdr.h \
6555 sys/time.h \
6556 sys/timeout.h \
6557 sys/times.h \
6558 sys/uio.h \
6559 sys/user.h \
6560 sys/utsname.h \
6561 sys/vm86.h \
6562 sys/wait.h \
6563 syscall.h \
6564 termios.h \
6565 unistd.h \
6566 utime.h \
6567 valgrind/memcheck.h \
6568 valgrind/valgrind.h \
6569 zlib.h
6571 do :
6572 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6573 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6574 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6575 cat >>confdefs.h <<_ACEOF
6576 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6577 _ACEOF
6581 done
6583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6584 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6585 if ${ac_cv_header_stat_broken+:} false; then :
6586 $as_echo_n "(cached) " >&6
6587 else
6588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6589 /* end confdefs.h. */
6590 #include <sys/types.h>
6591 #include <sys/stat.h>
6593 #if defined S_ISBLK && defined S_IFDIR
6594 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6595 #endif
6597 #if defined S_ISBLK && defined S_IFCHR
6598 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6599 #endif
6601 #if defined S_ISLNK && defined S_IFREG
6602 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6603 #endif
6605 #if defined S_ISSOCK && defined S_IFREG
6606 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6607 #endif
6609 _ACEOF
6610 if ac_fn_c_try_compile "$LINENO"; then :
6611 ac_cv_header_stat_broken=no
6612 else
6613 ac_cv_header_stat_broken=yes
6615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6618 $as_echo "$ac_cv_header_stat_broken" >&6; }
6619 if test $ac_cv_header_stat_broken = yes; then
6621 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6627 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6628 do :
6629 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6630 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6631 #ifdef HAVE_SYS_PARAM_H
6632 # include <sys/param.h>
6633 #endif
6635 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6636 cat >>confdefs.h <<_ACEOF
6637 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6638 _ACEOF
6642 done
6645 for ac_header in \
6646 netinet/ip.h \
6647 net/if.h \
6648 net/if_arp.h \
6649 net/if_dl.h \
6650 net/if_types.h \
6651 net/route.h \
6652 netinet/if_ether.h \
6653 netinet/if_inarp.h \
6654 netinet/in_pcb.h \
6655 netinet/ip_icmp.h \
6656 netinet/ip_var.h \
6657 netinet/udp.h \
6658 netipx/ipx.h \
6659 sys/un.h \
6661 do :
6662 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6663 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6664 #ifdef HAVE_SYS_SOCKET_H
6665 # include <sys/socket.h>
6666 #endif
6667 #ifdef HAVE_SYS_SOCKETVAR_H
6668 # include <sys/socketvar.h>
6669 #endif
6670 #ifdef HAVE_NET_ROUTE_H
6671 # include <net/route.h>
6672 #endif
6673 #ifdef HAVE_NETINET_IN_H
6674 # include <netinet/in.h>
6675 #endif
6676 #ifdef HAVE_NETINET_IN_SYSTM_H
6677 # include <netinet/in_systm.h>
6678 #endif
6679 #ifdef HAVE_NET_IF_H
6680 # include <net/if.h>
6681 #endif
6682 #ifdef HAVE_NETINET_IP_H
6683 # include <netinet/ip.h>
6684 #endif
6686 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6687 cat >>confdefs.h <<_ACEOF
6688 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6689 _ACEOF
6693 done
6696 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6697 do :
6698 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6699 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6700 #ifdef HAVE_ALIAS_H
6701 # include <alias.h>
6702 #endif
6703 #ifdef HAVE_SYS_SOCKET_H
6704 # include <sys/socket.h>
6705 #endif
6706 #ifdef HAVE_SYS_SOCKETVAR_H
6707 # include <sys/socketvar.h>
6708 #endif
6709 #ifdef HAVE_SYS_TIMEOUT_H
6710 # include <sys/timeout.h>
6711 #endif
6712 #ifdef HAVE_NETINET_IN_H
6713 # include <netinet/in.h>
6714 #endif
6715 #ifdef HAVE_NETINET_IN_SYSTM_H
6716 # include <netinet/in_systm.h>
6717 #endif
6718 #ifdef HAVE_NETINET_IP_H
6719 # include <netinet/ip.h>
6720 #endif
6721 #ifdef HAVE_NETINET_IP_VAR_H
6722 # include <netinet/ip_var.h>
6723 #endif
6724 #ifdef HAVE_NETINET_IP_ICMP_H
6725 # include <netinet/ip_icmp.h>
6726 #endif
6727 #ifdef HAVE_NETINET_UDP_H
6728 # include <netinet/udp.h>
6729 #endif
6730 #ifdef HAVE_NETINET_TCP_H
6731 # include <netinet/tcp.h>
6732 #endif
6733 #ifdef HAVE_NETINET_TCP_TIMER_H
6734 #include <netinet/tcp_timer.h>
6735 #endif
6737 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6738 cat >>confdefs.h <<_ACEOF
6739 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6740 _ACEOF
6744 done
6747 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6748 do :
6749 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6750 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6751 #ifdef HAVE_ASM_TYPES_H
6752 # include <asm/types.h>
6753 #endif
6754 #ifdef HAVE_SYS_SOCKET_H
6755 # include <sys/socket.h>
6756 #endif
6757 #ifdef HAVE_LINUX_TYPES_H
6758 # include <linux/types.h>
6759 #endif
6761 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6762 cat >>confdefs.h <<_ACEOF
6763 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6764 _ACEOF
6768 done
6771 for ac_header in mach-o/dyld_images.h
6772 do :
6773 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6774 # include <stdbool.h>
6775 #endif
6776 #ifdef HAVE_STDINT_H
6777 # include <stdint.h>
6778 #endif
6780 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6781 cat >>confdefs.h <<_ACEOF
6782 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6783 _ACEOF
6787 done
6790 for ac_header in resolv.h
6791 do :
6792 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6793 #ifdef HAVE_SYS_SOCKET_H
6794 # include <sys/socket.h>
6795 #endif
6796 #ifdef HAVE_NETINET_IN_H
6797 # include <netinet/in.h>
6798 #endif
6799 #ifdef HAVE_ARPA_NAMESER_H
6800 # include <arpa/nameser.h>
6801 #endif
6803 if test "x$ac_cv_header_resolv_h" = xyes; then :
6804 cat >>confdefs.h <<_ACEOF
6805 #define HAVE_RESOLV_H 1
6806 _ACEOF
6810 done
6813 for ac_header in ifaddrs.h
6814 do :
6815 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6817 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6818 cat >>confdefs.h <<_ACEOF
6819 #define HAVE_IFADDRS_H 1
6820 _ACEOF
6824 done
6827 for ac_header in sys/ucontext.h
6828 do :
6829 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6831 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
6832 cat >>confdefs.h <<_ACEOF
6833 #define HAVE_SYS_UCONTEXT_H 1
6834 _ACEOF
6838 done
6841 for ac_header in sys/thr.h
6842 do :
6843 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6844 #ifdef HAVE_SYS_UCONTEXT_H
6845 #include <sys/ucontext.h>
6846 #endif
6848 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
6849 cat >>confdefs.h <<_ACEOF
6850 #define HAVE_SYS_THR_H 1
6851 _ACEOF
6855 done
6858 for ac_header in pthread_np.h
6859 do :
6860 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6861 #include <pthread.h>
6862 #endif
6864 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
6865 cat >>confdefs.h <<_ACEOF
6866 #define HAVE_PTHREAD_NP_H 1
6867 _ACEOF
6871 done
6874 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
6875 do :
6876 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6877 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6878 #include <sys/time.h>
6879 #endif
6880 #include <sys/types.h>
6881 #ifdef HAVE_ASM_TYPES_H
6882 #include <asm/types.h>
6883 #endif
6885 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6886 cat >>confdefs.h <<_ACEOF
6887 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6888 _ACEOF
6892 done
6895 for ac_header in libprocstat.h
6896 do :
6897 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6898 #include <sys/param.h>
6899 #endif
6900 #ifdef HAVE_SYS_QUEUE_H
6901 #include <sys/queue.h>
6902 #endif
6903 #ifdef HAVE_SYS_SOCKET_H
6904 #include <sys/socket.h>
6905 #endif
6907 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
6908 cat >>confdefs.h <<_ACEOF
6909 #define HAVE_LIBPROCSTAT_H 1
6910 _ACEOF
6914 done
6918 dlldir="\${libdir}/wine"
6920 DLLPREFIX=""
6922 DLLFLAGS="-D_REENTRANT"
6924 LDRPATH_INSTALL=""
6926 LDRPATH_LOCAL=""
6928 LIBEXT="so"
6929 DLLEXT=".so"
6930 IMPLIBEXT="def"
6931 STATIC_IMPLIBEXT="def.a"
6932 # Extract the first word of "ldd", so it can be a program name with args.
6933 set dummy ldd; ac_word=$2
6934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6935 $as_echo_n "checking for $ac_word... " >&6; }
6936 if ${ac_cv_path_LDD+:} false; then :
6937 $as_echo_n "(cached) " >&6
6938 else
6939 case $LDD in
6940 [\\/]* | ?:[\\/]*)
6941 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
6944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6945 as_dummy="/sbin:/usr/sbin:$PATH"
6946 for as_dir in $as_dummy
6948 IFS=$as_save_IFS
6949 test -z "$as_dir" && as_dir=.
6950 for ac_exec_ext in '' $ac_executable_extensions; do
6951 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6952 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
6953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6954 break 2
6956 done
6957 done
6958 IFS=$as_save_IFS
6960 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
6962 esac
6964 LDD=$ac_cv_path_LDD
6965 if test -n "$LDD"; then
6966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6967 $as_echo "$LDD" >&6; }
6968 else
6969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6970 $as_echo "no" >&6; }
6974 if test -n "$ac_tool_prefix"; then
6975 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
6976 set dummy ${ac_tool_prefix}readelf; ac_word=$2
6977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6978 $as_echo_n "checking for $ac_word... " >&6; }
6979 if ${ac_cv_prog_READELF+:} false; then :
6980 $as_echo_n "(cached) " >&6
6981 else
6982 if test -n "$READELF"; then
6983 ac_cv_prog_READELF="$READELF" # Let the user override the test.
6984 else
6985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6986 for as_dir in $PATH
6988 IFS=$as_save_IFS
6989 test -z "$as_dir" && as_dir=.
6990 for ac_exec_ext in '' $ac_executable_extensions; do
6991 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6992 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
6993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6994 break 2
6996 done
6997 done
6998 IFS=$as_save_IFS
7002 READELF=$ac_cv_prog_READELF
7003 if test -n "$READELF"; then
7004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7005 $as_echo "$READELF" >&6; }
7006 else
7007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7008 $as_echo "no" >&6; }
7013 if test -z "$ac_cv_prog_READELF"; then
7014 ac_ct_READELF=$READELF
7015 # Extract the first word of "readelf", so it can be a program name with args.
7016 set dummy readelf; ac_word=$2
7017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7018 $as_echo_n "checking for $ac_word... " >&6; }
7019 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7020 $as_echo_n "(cached) " >&6
7021 else
7022 if test -n "$ac_ct_READELF"; then
7023 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7024 else
7025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7026 for as_dir in $PATH
7028 IFS=$as_save_IFS
7029 test -z "$as_dir" && as_dir=.
7030 for ac_exec_ext in '' $ac_executable_extensions; do
7031 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7032 ac_cv_prog_ac_ct_READELF="readelf"
7033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7034 break 2
7036 done
7037 done
7038 IFS=$as_save_IFS
7042 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7043 if test -n "$ac_ct_READELF"; then
7044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7045 $as_echo "$ac_ct_READELF" >&6; }
7046 else
7047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7048 $as_echo "no" >&6; }
7051 if test "x$ac_ct_READELF" = x; then
7052 READELF="true"
7053 else
7054 case $cross_compiling:$ac_tool_warned in
7055 yes:)
7056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7057 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7058 ac_tool_warned=yes ;;
7059 esac
7060 READELF=$ac_ct_READELF
7062 else
7063 READELF="$ac_cv_prog_READELF"
7066 wine_rules_file=conf$$rules.make
7067 rm -f $wine_rules_file
7068 ALL_POT_FILES=""
7069 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7070 ALL_TEST_RESOURCES=""
7073 wine_fn_append_file ()
7075 as_fn_append $1 " \\$as_nl $2"
7078 wine_fn_ignore_file ()
7080 case "$1" in
7081 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7082 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7083 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7084 esac
7087 wine_fn_append_rule ()
7089 $as_echo "$1" >>$wine_rules_file
7092 wine_fn_has_flag ()
7094 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7097 wine_fn_depend_rules ()
7099 wine_fn_append_rule \
7100 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7101 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7102 depend: $ac_dir/depend
7103 .PHONY: $ac_dir/depend
7104 $ac_dir/depend: \$(MAKEDEP) dummy
7105 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7108 wine_fn_pot_rules ()
7110 test "x$with_gettextpo" = xyes || return
7112 if wine_fn_has_flag mc
7113 then
7114 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7115 wine_fn_append_rule \
7116 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7117 @cd $ac_dir && \$(MAKE) msg.pot
7118 $ac_dir/msg.pot: tools/wmc include"
7120 if wine_fn_has_flag po
7121 then
7122 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7123 wine_fn_append_rule \
7124 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7125 @cd $ac_dir && \$(MAKE) rsrc.pot
7126 $ac_dir/rsrc.pot: tools/wrc include"
7130 wine_fn_all_rules ()
7132 wine_fn_depend_rules
7133 wine_fn_append_rule \
7134 "all: $ac_dir
7135 .PHONY: $ac_dir
7136 $ac_dir: $ac_dir/Makefile dummy
7137 @cd $ac_dir && \$(MAKE)"
7140 wine_fn_install_rules ()
7142 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7144 wine_fn_append_rule \
7145 ".PHONY: $ac_dir/install $ac_dir/uninstall
7146 $ac_dir/install:: $ac_dir
7147 @cd $ac_dir && \$(MAKE) install
7148 $ac_dir/uninstall:: $ac_dir/Makefile
7149 @cd $ac_dir && \$(MAKE) uninstall
7150 install:: $ac_dir/install
7151 __uninstall__: $ac_dir/uninstall"
7153 if wine_fn_has_flag install-lib
7154 then
7155 wine_fn_append_rule \
7156 ".PHONY: $ac_dir/install-lib
7157 $ac_dir/install-lib:: $ac_dir
7158 @cd $ac_dir && \$(MAKE) install-lib
7159 install-lib:: $ac_dir/install-lib"
7162 if wine_fn_has_flag install-dev
7163 then
7164 wine_fn_append_rule \
7165 ".PHONY: $ac_dir/install-dev
7166 $ac_dir/install-dev:: $ac_dir
7167 @cd $ac_dir && \$(MAKE) install-dev
7168 install-dev:: $ac_dir/install-dev"
7172 wine_fn_clean_rules ()
7174 ac_clean=$@
7175 ac_extraclean="$ac_dir/Makefile"
7176 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7177 case $ac_dir in
7178 */tests) ac_extraclean="$ac_extraclean $ac_dir/testlist.c" ;;
7179 esac
7181 if wine_fn_has_flag clean
7182 then
7183 wine_fn_append_rule \
7184 "__clean__: $ac_dir/clean
7185 .PHONY: $ac_dir/clean
7186 $ac_dir/clean: $ac_dir/Makefile
7187 @cd $ac_dir && \$(MAKE) clean
7188 \$(RM) $ac_extraclean"
7189 else
7190 wine_fn_append_rule \
7191 "__clean__: $ac_dir/clean
7192 .PHONY: $ac_dir/clean
7193 $ac_dir/clean: dummy
7194 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7198 wine_fn_disabled_rules ()
7200 ac_clean=$@
7201 ac_extraclean="$ac_dir/Makefile"
7202 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7204 wine_fn_append_rule \
7205 "__clean__: $ac_dir/clean
7206 .PHONY: $ac_dir/clean
7207 $ac_dir/clean: dummy
7208 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7211 wine_fn_config_makefile ()
7213 ac_dir=$1
7214 ac_enable=$2
7215 ac_flags=$3
7217 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7218 wine_fn_disabled_rules; return
7220 wine_fn_all_rules
7221 wine_fn_install_rules
7222 wine_fn_clean_rules
7225 wine_fn_config_lib ()
7227 ac_name=$1
7228 ac_flags=$2
7229 ac_dir=dlls/$ac_name
7230 ac_deps="include"
7232 if test "x$enable_tools" = xno; then :
7234 else
7235 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7237 wine_fn_all_rules
7238 wine_fn_clean_rules
7240 wine_fn_append_rule \
7241 ".PHONY: $ac_dir/install $ac_dir/uninstall
7242 $ac_dir/install:: $ac_dir
7243 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7244 $ac_dir/uninstall::
7245 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7246 install install-dev:: $ac_dir/install
7247 __uninstall__: $ac_dir/uninstall
7248 __builddeps__: $ac_dir
7249 $ac_dir: $ac_deps"
7252 wine_fn_config_dll ()
7254 ac_name=$1
7255 ac_dir=dlls/$ac_name
7256 ac_enable=$2
7257 ac_flags=$3
7258 ac_implib=${4:-$ac_name}
7259 ac_file=$ac_dir/lib$ac_implib
7260 ac_dll=$ac_name
7261 ac_deps="include"
7262 ac_implibflags=""
7264 if test "x$enable_tools" = xno; then :
7266 else
7267 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7269 case $ac_name in
7270 *16) ac_implibflags=" -m16" ;;
7271 *.*) ;;
7272 *) ac_dll=$ac_dll.dll ;;
7273 esac
7275 ac_clean=
7276 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7277 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7278 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7279 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7281 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7282 if wine_fn_has_flag implib && test "$ac_enable" != enable_win16
7283 then
7284 wine_fn_depend_rules
7285 wine_fn_clean_rules $ac_clean
7286 else
7287 wine_fn_disabled_rules $ac_clean
7288 return
7290 else
7291 wine_fn_all_rules
7292 wine_fn_clean_rules $ac_clean
7293 wine_fn_append_rule \
7294 "$ac_dir: __builddeps__
7295 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7296 @cd $ac_dir && \$(MAKE) \$@
7297 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7298 install install-lib:: $ac_dir/install-lib
7299 __uninstall__: $ac_dir/uninstall"
7300 if test -n "$DLLEXT"
7301 then
7302 wine_fn_append_rule \
7303 "$ac_dir/install-lib:: $ac_dir
7304 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7305 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7306 $ac_dir/uninstall::
7307 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7308 else
7309 wine_fn_append_rule \
7310 "$ac_dir/install-lib:: $ac_dir
7311 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7312 $ac_dir/uninstall::
7313 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7316 wine_fn_pot_rules
7319 if wine_fn_has_flag staticimplib
7320 then
7321 wine_fn_append_rule \
7322 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7323 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7324 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7325 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7326 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7327 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7328 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7329 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7330 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7331 $ac_dir/uninstall::
7332 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7333 install install-dev:: $ac_dir/install-dev
7334 __uninstall__: $ac_dir/uninstall"
7336 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7337 then
7338 wine_fn_append_rule \
7339 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7340 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7341 $ac_dir/uninstall::
7342 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7345 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7346 then
7347 wine_fn_append_rule \
7348 "__builddeps__: $ac_file.cross.a
7349 $ac_file.cross.a: $ac_dir/Makefile dummy
7350 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7353 elif wine_fn_has_flag implib
7354 then
7355 wine_fn_append_rule \
7356 "__builddeps__: $ac_file.$IMPLIBEXT
7357 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7358 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7359 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7360 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7361 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7362 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7363 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7364 $ac_dir/uninstall::
7365 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7366 install install-dev:: $ac_dir/install-dev
7367 __uninstall__: $ac_dir/uninstall"
7368 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7369 then
7370 wine_fn_append_rule \
7371 "__builddeps__: $ac_file.cross.a
7372 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7373 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7376 if test "$ac_name" != "$ac_implib"
7377 then
7378 wine_fn_append_rule \
7379 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7380 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7381 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7382 clean::
7383 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7384 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7385 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7386 then
7387 wine_fn_append_rule \
7388 "__builddeps__: dlls/lib$ac_implib.cross.a
7389 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7390 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7391 clean::
7392 \$(RM) dlls/lib$ac_implib.cross.a"
7393 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7399 wine_fn_config_program ()
7401 ac_name=$1
7402 ac_dir=programs/$ac_name
7403 ac_enable=$2
7404 ac_flags=$3
7405 ac_program=$ac_name
7407 case $ac_name in
7408 *.*) ;;
7409 *) ac_program=$ac_program.exe ;;
7410 esac
7412 ac_clean=
7413 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7414 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7415 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7416 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7418 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7419 wine_fn_disabled_rules $ac_clean; return
7422 wine_fn_all_rules
7423 wine_fn_clean_rules $ac_clean
7424 wine_fn_append_rule "$ac_dir: __builddeps__"
7425 wine_fn_pot_rules
7427 wine_fn_has_flag install || return
7428 wine_fn_append_rule \
7429 ".PHONY: $ac_dir/install $ac_dir/uninstall
7430 install install-lib:: $ac_dir/install
7431 __uninstall__: $ac_dir/uninstall"
7433 if test -n "$DLLEXT"
7434 then
7435 wine_fn_append_rule \
7436 "$ac_dir/install:: $ac_dir
7437 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7438 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7439 $ac_dir/uninstall::
7440 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7442 if test -z "$with_wine64" && wine_fn_has_flag installbin
7443 then
7444 wine_fn_append_rule \
7445 "$ac_dir/install:: __tooldeps__
7446 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7447 $ac_dir/uninstall::
7448 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7450 else
7451 wine_fn_append_rule \
7452 "$ac_dir/install:: $ac_dir
7453 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7454 $ac_dir/uninstall::
7455 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7458 if test -z "$with_wine64" && wine_fn_has_flag manpage
7459 then
7460 wine_fn_append_rule \
7461 "$ac_dir/install:: $ac_dir
7462 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7463 $ac_dir/uninstall::
7464 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7468 wine_fn_config_test ()
7470 ac_dir=$1
7471 ac_name=$2
7472 ac_flags=$3
7474 ac_clean=
7475 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7476 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7478 if test "x$enable_tests" = xno; then :
7479 wine_fn_disabled_rules $ac_clean; return
7482 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7483 wine_fn_all_rules
7484 wine_fn_clean_rules $ac_clean
7486 wine_fn_append_rule \
7487 "$ac_dir: programs/winetest/Makefile __builddeps__
7488 programs/winetest: $ac_dir
7489 check test: $ac_dir/test
7490 .PHONY: $ac_dir/test
7491 $ac_dir/test: dummy
7492 @cd $ac_dir && \$(MAKE) test
7493 testclean::
7494 \$(RM) $ac_dir/*.ok"
7496 if test -n "$CROSSTARGET"
7497 then
7498 wine_fn_append_rule \
7499 "crosstest: $ac_dir/crosstest
7500 .PHONY: $ac_dir/crosstest
7501 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7502 @cd $ac_dir && \$(MAKE) crosstest"
7506 wine_fn_config_tool ()
7508 ac_dir=$1
7509 ac_flags=$2
7510 if test "x$enable_tools" = xno; then :
7511 return
7514 wine_fn_all_rules
7515 wine_fn_install_rules
7516 wine_fn_clean_rules
7518 wine_fn_append_rule "__tooldeps__: $ac_dir"
7519 wine_fn_append_rule "$ac_dir: libs/port"
7520 case $ac_dir in
7521 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7522 esac
7525 wine_fn_config_symlink ()
7527 ac_linkdir=
7528 if test "x$1" = "x-d"
7529 then
7530 ac_linkdir=$2
7531 shift; shift
7533 ac_links=$@
7534 wine_fn_append_rule \
7535 "$ac_links:
7536 @./config.status \$@
7537 distclean::
7538 \$(RM) $ac_links"
7539 for f in $ac_links; do wine_fn_ignore_file $f; done
7540 test -n "$ac_linkdir" || return
7541 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7544 wine_binary="wine"
7545 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7546 loader_programs="$wine_binary wine-installed"
7547 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7549 LOADER_RULES="
7550 all: wine.inf
7552 install install-lib:: wine-installed
7553 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7555 uninstall::
7556 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7560 case $host_os in
7561 cygwin*|mingw32*)
7562 if test -n "$ac_tool_prefix"; then
7563 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7564 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7566 $as_echo_n "checking for $ac_word... " >&6; }
7567 if ${ac_cv_prog_DLLTOOL+:} false; then :
7568 $as_echo_n "(cached) " >&6
7569 else
7570 if test -n "$DLLTOOL"; then
7571 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7572 else
7573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7574 for as_dir in $PATH
7576 IFS=$as_save_IFS
7577 test -z "$as_dir" && as_dir=.
7578 for ac_exec_ext in '' $ac_executable_extensions; do
7579 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7580 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7582 break 2
7584 done
7585 done
7586 IFS=$as_save_IFS
7590 DLLTOOL=$ac_cv_prog_DLLTOOL
7591 if test -n "$DLLTOOL"; then
7592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7593 $as_echo "$DLLTOOL" >&6; }
7594 else
7595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7596 $as_echo "no" >&6; }
7601 if test -z "$ac_cv_prog_DLLTOOL"; then
7602 ac_ct_DLLTOOL=$DLLTOOL
7603 # Extract the first word of "dlltool", so it can be a program name with args.
7604 set dummy dlltool; ac_word=$2
7605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7606 $as_echo_n "checking for $ac_word... " >&6; }
7607 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7608 $as_echo_n "(cached) " >&6
7609 else
7610 if test -n "$ac_ct_DLLTOOL"; then
7611 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7612 else
7613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7614 for as_dir in $PATH
7616 IFS=$as_save_IFS
7617 test -z "$as_dir" && as_dir=.
7618 for ac_exec_ext in '' $ac_executable_extensions; do
7619 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7620 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7622 break 2
7624 done
7625 done
7626 IFS=$as_save_IFS
7630 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7631 if test -n "$ac_ct_DLLTOOL"; then
7632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7633 $as_echo "$ac_ct_DLLTOOL" >&6; }
7634 else
7635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7636 $as_echo "no" >&6; }
7639 if test "x$ac_ct_DLLTOOL" = x; then
7640 DLLTOOL="false"
7641 else
7642 case $cross_compiling:$ac_tool_warned in
7643 yes:)
7644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7645 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7646 ac_tool_warned=yes ;;
7647 esac
7648 DLLTOOL=$ac_ct_DLLTOOL
7650 else
7651 DLLTOOL="$ac_cv_prog_DLLTOOL"
7654 LIBEXT="dll"
7655 DLLEXT=""
7656 IMPLIBEXT="a"
7657 STATIC_IMPLIBEXT="a"
7658 enable_iphlpapi=${enable_iphlpapi:-no}
7659 enable_kernel32=${enable_kernel32:-no}
7660 enable_msvcrt=${enable_msvcrt:-no}
7661 enable_ntdll=${enable_ntdll:-no}
7662 enable_ws2_32=${enable_ws2_32:-no}
7663 enable_loader=${enable_loader:-no}
7664 enable_server=${enable_server:-no}
7665 with_x=${with_x:-no}
7666 with_pthread=${with_pthread:-no}
7668 crtlibs=""
7669 case $host_os in
7670 mingw32*)
7671 crtlibs="-lmsvcrt"
7672 SOCKET_LIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7674 esac
7676 libwine_targets="libwine.dll libwine.a"
7677 LIBWINE_RULES="
7678 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7680 all: libwine.dll libwine.a
7682 libwine.a: \$(srcdir)/wine.def
7683 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7685 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7686 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7688 install install-lib:: libwine.dll
7689 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7691 install install-dev:: libwine.a
7692 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7694 uninstall::
7695 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7700 darwin*|macosx*)
7701 LIBEXT="dylib"
7702 DLLFLAGS="$DLLFLAGS -fPIC"
7703 LIBWINE_LDFLAGS="-multiply_defined suppress"
7704 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7705 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7706 COREFOUNDATION_LIBS="-framework CoreFoundation"
7708 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7710 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7712 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7714 CORESERVICES_LIBS="-framework CoreServices"
7716 APPKIT_LIBS="-framework AppKit"
7718 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7719 case $host_os in
7720 darwin11*) LDEXECFLAGS="-Wl,-macosx_version_min,10.6 $LDEXECFLAGS" ;;
7721 esac
7722 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7723 then
7724 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
7727 if test "$ac_cv_header_Security_Security_h" = "yes"
7728 then
7729 SECURITY_LIBS="-framework Security -framework CoreFoundation"
7731 ac_save_LIBS="$LIBS"
7732 LIBS="$LIBS $SECURITY_LIBS"
7733 for ac_func in SSLCopyPeerCertificates
7734 do :
7735 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7736 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
7737 cat >>confdefs.h <<_ACEOF
7738 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7739 _ACEOF
7742 done
7744 LIBS="$ac_save_LIBS"
7745 with_gnutls=${with_gnutls:-no}
7747 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7748 then
7749 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7750 then
7751 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7753 else
7754 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7757 ac_save_LIBS="$LIBS"
7758 LIBS="$LIBS $COREAUDIO_LIBS"
7759 for ac_func in AUGraphAddNode
7760 do :
7761 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7762 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
7763 cat >>confdefs.h <<_ACEOF
7764 #define HAVE_AUGRAPHADDNODE 1
7765 _ACEOF
7768 done
7770 LIBS="$ac_save_LIBS"
7772 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7773 then
7774 OPENAL_LIBS="-framework OpenAL"
7777 cat >>confdefs.h <<_ACEOF
7778 #define HAVE_OPENAL 1
7779 _ACEOF
7781 ac_cv_lib_openal=yes
7783 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7784 then
7785 OPENCL_LIBS="-framework OpenCL"
7787 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
7789 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7790 then
7791 ac_save_LIBS="$LIBS"
7792 LIBS="$LIBS $IOKIT_LIBS"
7793 for ac_func in IOHIDManagerCreate
7794 do :
7795 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7796 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
7797 cat >>confdefs.h <<_ACEOF
7798 #define HAVE_IOHIDMANAGERCREATE 1
7799 _ACEOF
7802 done
7804 LIBS="$ac_save_LIBS"
7806 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7807 then
7808 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7810 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
7811 else
7812 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7814 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7815 then
7816 CARBON_LIBS="-framework Carbon"
7820 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7821 then
7822 ac_save_LIBS="$LIBS"
7823 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
7824 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7825 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
7826 enable_winemac_drv=${enable_winemac_drv:-yes}
7829 LIBS="$ac_save_LIBS"
7832 if test "x$enable_win16" = "xyes"
7833 then
7834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7835 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7836 if test "$cross_compiling" = yes; then :
7837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7838 $as_echo "cross-compiling, assuming yes" >&6; }
7839 else
7840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7841 /* end confdefs.h. */
7842 asm(".text\n"
7843 "bad:\tnop;nop\n"
7844 "good:\tnop;nop\n\t"
7845 ".globl _testfunc\n"
7846 "_testfunc:\tcallw good");
7847 extern void testfunc();
7849 main ()
7851 unsigned short *p = (unsigned short *)testfunc;
7852 return p[0] != 0xe866 || p[1] != 0xfffa
7854 return 0;
7856 _ACEOF
7857 if ac_fn_c_try_run "$LINENO"; then :
7858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7859 $as_echo "yes" >&6; }
7860 else
7861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7862 $as_echo "no" >&6; }
7863 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
7865 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7866 conftest.$ac_objext conftest.beam conftest.$ac_ext
7871 libwine_targets="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
7872 LIBWINE_RULES="
7873 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7875 all: libwine.dylib
7877 libwine.$libwine_version.dylib: \$(OBJS)
7878 \$(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 \$@
7880 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
7881 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
7883 libwine.dylib: libwine.$libwine_soversion.dylib
7884 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
7886 install install-lib:: libwine.$libwine_version.dylib
7887 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
7888 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
7890 install install-dev::
7891 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
7893 uninstall::
7894 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
7898 as_fn_append LOADER_RULES "
7899 $wine_binary: main.o wine_info.plist
7900 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7902 wine-installed: main.o wine_info.plist
7903 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7907 linux-android*)
7908 DLLFLAGS="$DLLFLAGS -fPIC"
7909 DLLPREFIX="lib"
7910 LDEXECFLAGS=""
7911 dlldir="\${libdir}"
7912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7913 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7914 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
7915 $as_echo_n "(cached) " >&6
7916 else
7917 ac_wine_try_cflags_saved=$CFLAGS
7918 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
7919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7920 /* end confdefs.h. */
7921 int main(int argc, char **argv) { return 0; }
7922 _ACEOF
7923 if ac_fn_c_try_link "$LINENO"; then :
7924 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
7925 else
7926 ac_cv_cflags__fPIC__Wl___export_dynamic=no
7928 rm -f core conftest.err conftest.$ac_objext \
7929 conftest$ac_exeext conftest.$ac_ext
7930 CFLAGS=$ac_wine_try_cflags_saved
7932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7933 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7934 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
7935 LDEXECFLAGS="-Wl,--export-dynamic"
7937 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7939 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7940 if eval \${$as_ac_var+:} false; then :
7941 $as_echo_n "(cached) " >&6
7942 else
7943 ac_wine_try_cflags_saved=$CFLAGS
7944 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7946 /* end confdefs.h. */
7947 int main(int argc, char **argv) { return 0; }
7948 _ACEOF
7949 if ac_fn_c_try_link "$LINENO"; then :
7950 eval "$as_ac_var=yes"
7951 else
7952 eval "$as_ac_var=no"
7954 rm -f core conftest.err conftest.$ac_objext \
7955 conftest$ac_exeext conftest.$ac_ext
7956 CFLAGS=$ac_wine_try_cflags_saved
7958 eval ac_res=\$$as_ac_var
7959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7960 $as_echo "$ac_res" >&6; }
7961 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
7962 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7963 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7964 else
7965 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7967 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7968 if eval \${$as_ac_var+:} false; then :
7969 $as_echo_n "(cached) " >&6
7970 else
7971 ac_wine_try_cflags_saved=$CFLAGS
7972 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7974 /* end confdefs.h. */
7975 int main(int argc, char **argv) { return 0; }
7976 _ACEOF
7977 if ac_fn_c_try_link "$LINENO"; then :
7978 eval "$as_ac_var=yes"
7979 else
7980 eval "$as_ac_var=no"
7982 rm -f core conftest.err conftest.$ac_objext \
7983 conftest$ac_exeext conftest.$ac_ext
7984 CFLAGS=$ac_wine_try_cflags_saved
7986 eval ac_res=\$$as_ac_var
7987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7988 $as_echo "$ac_res" >&6; }
7989 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
7990 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7991 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7996 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7997 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
7998 $as_echo_n "(cached) " >&6
7999 else
8000 ac_wine_try_cflags_saved=$CFLAGS
8001 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8003 /* end confdefs.h. */
8004 int main(int argc, char **argv) { return 0; }
8005 _ACEOF
8006 if ac_fn_c_try_link "$LINENO"; then :
8007 ac_cv_cflags__Wl___enable_new_dtags=yes
8008 else
8009 ac_cv_cflags__Wl___enable_new_dtags=no
8011 rm -f core conftest.err conftest.$ac_objext \
8012 conftest$ac_exeext conftest.$ac_ext
8013 CFLAGS=$ac_wine_try_cflags_saved
8015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8016 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8017 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8018 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8021 case $host_cpu in
8022 *i[3456789]86* | x86_64)
8023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8024 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8025 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8026 $as_echo_n "(cached) " >&6
8027 else
8028 ac_wine_try_cflags_saved=$CFLAGS
8029 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8031 /* end confdefs.h. */
8032 int main(int argc, char **argv) { return 0; }
8033 _ACEOF
8034 if ac_fn_c_try_link "$LINENO"; then :
8035 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8036 else
8037 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8039 rm -f core conftest.err conftest.$ac_objext \
8040 conftest$ac_exeext conftest.$ac_ext
8041 CFLAGS=$ac_wine_try_cflags_saved
8043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8044 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8045 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8046 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8049 esac
8051 libwine_targets="libwine.so"
8052 LIBWINE_RULES="
8053 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8055 all: libwine.so
8057 libwine.so: \$(OBJS)
8058 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8060 install install-lib:: libwine.so
8061 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8063 uninstall::
8064 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8068 as_fn_append LOADER_RULES "
8069 $wine_binary: main.o
8070 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8072 wine-installed: main.o
8073 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8078 DLLFLAGS="$DLLFLAGS -fPIC"
8079 LDEXECFLAGS=""
8080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8081 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8082 if ${ac_cv_c_dll_gnuelf+:} false; then :
8083 $as_echo_n "(cached) " >&6
8084 else
8085 ac_wine_try_cflags_saved=$CFLAGS
8086 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8088 /* end confdefs.h. */
8089 void myfunc() {}
8090 _ACEOF
8091 if ac_fn_c_try_link "$LINENO"; then :
8092 ac_cv_c_dll_gnuelf="yes"
8093 else
8094 ac_cv_c_dll_gnuelf="no"
8096 rm -f core conftest.err conftest.$ac_objext \
8097 conftest$ac_exeext conftest.$ac_ext
8098 CFLAGS=$ac_wine_try_cflags_saved
8100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8101 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8102 if test "$ac_cv_c_dll_gnuelf" = "yes"
8103 then
8104 LDSHARED="\$(CC) -shared"
8105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8106 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8107 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8108 $as_echo_n "(cached) " >&6
8109 else
8110 ac_wine_try_cflags_saved=$CFLAGS
8111 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8113 /* end confdefs.h. */
8114 int main(int argc, char **argv) { return 0; }
8115 _ACEOF
8116 if ac_fn_c_try_link "$LINENO"; then :
8117 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8118 else
8119 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8121 rm -f core conftest.err conftest.$ac_objext \
8122 conftest$ac_exeext conftest.$ac_ext
8123 CFLAGS=$ac_wine_try_cflags_saved
8125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8126 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8127 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8128 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8129 else
8130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8131 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8132 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8133 $as_echo_n "(cached) " >&6
8134 else
8135 ac_wine_try_cflags_saved=$CFLAGS
8136 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8138 /* end confdefs.h. */
8139 int main(int argc, char **argv) { return 0; }
8140 _ACEOF
8141 if ac_fn_c_try_link "$LINENO"; then :
8142 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8143 else
8144 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8146 rm -f core conftest.err conftest.$ac_objext \
8147 conftest$ac_exeext conftest.$ac_ext
8148 CFLAGS=$ac_wine_try_cflags_saved
8150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8151 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8152 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8153 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8157 echo '{ global: *; };' >conftest.map
8158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8159 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8160 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8161 $as_echo_n "(cached) " >&6
8162 else
8163 ac_wine_try_cflags_saved=$CFLAGS
8164 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8166 /* end confdefs.h. */
8167 int main(int argc, char **argv) { return 0; }
8168 _ACEOF
8169 if ac_fn_c_try_link "$LINENO"; then :
8170 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8171 else
8172 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8174 rm -f core conftest.err conftest.$ac_objext \
8175 conftest$ac_exeext conftest.$ac_ext
8176 CFLAGS=$ac_wine_try_cflags_saved
8178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8179 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8180 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8181 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8183 rm -f conftest.map
8185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8186 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8187 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8188 $as_echo_n "(cached) " >&6
8189 else
8190 ac_wine_try_cflags_saved=$CFLAGS
8191 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8193 /* end confdefs.h. */
8194 int main(int argc, char **argv) { return 0; }
8195 _ACEOF
8196 if ac_fn_c_try_link "$LINENO"; then :
8197 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8198 else
8199 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8201 rm -f core conftest.err conftest.$ac_objext \
8202 conftest$ac_exeext conftest.$ac_ext
8203 CFLAGS=$ac_wine_try_cflags_saved
8205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8206 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8207 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8208 LDEXECFLAGS="-Wl,--export-dynamic"
8211 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8213 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8214 if eval \${$as_ac_var+:} false; then :
8215 $as_echo_n "(cached) " >&6
8216 else
8217 ac_wine_try_cflags_saved=$CFLAGS
8218 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8220 /* end confdefs.h. */
8221 int main(int argc, char **argv) { return 0; }
8222 _ACEOF
8223 if ac_fn_c_try_link "$LINENO"; then :
8224 eval "$as_ac_var=yes"
8225 else
8226 eval "$as_ac_var=no"
8228 rm -f core conftest.err conftest.$ac_objext \
8229 conftest$ac_exeext conftest.$ac_ext
8230 CFLAGS=$ac_wine_try_cflags_saved
8232 eval ac_res=\$$as_ac_var
8233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8234 $as_echo "$ac_res" >&6; }
8235 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8236 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8237 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8238 else
8239 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8241 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8242 if eval \${$as_ac_var+:} false; then :
8243 $as_echo_n "(cached) " >&6
8244 else
8245 ac_wine_try_cflags_saved=$CFLAGS
8246 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8248 /* end confdefs.h. */
8249 int main(int argc, char **argv) { return 0; }
8250 _ACEOF
8251 if ac_fn_c_try_link "$LINENO"; then :
8252 eval "$as_ac_var=yes"
8253 else
8254 eval "$as_ac_var=no"
8256 rm -f core conftest.err conftest.$ac_objext \
8257 conftest$ac_exeext conftest.$ac_ext
8258 CFLAGS=$ac_wine_try_cflags_saved
8260 eval ac_res=\$$as_ac_var
8261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8262 $as_echo "$ac_res" >&6; }
8263 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8264 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8265 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8270 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8271 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8272 $as_echo_n "(cached) " >&6
8273 else
8274 ac_wine_try_cflags_saved=$CFLAGS
8275 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8277 /* end confdefs.h. */
8278 int main(int argc, char **argv) { return 0; }
8279 _ACEOF
8280 if ac_fn_c_try_link "$LINENO"; then :
8281 ac_cv_cflags__Wl___enable_new_dtags=yes
8282 else
8283 ac_cv_cflags__Wl___enable_new_dtags=no
8285 rm -f core conftest.err conftest.$ac_objext \
8286 conftest$ac_exeext conftest.$ac_ext
8287 CFLAGS=$ac_wine_try_cflags_saved
8289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8290 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8291 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8292 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8295 case $host_cpu in
8296 *i[3456789]86* | x86_64)
8297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8298 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8299 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8300 $as_echo_n "(cached) " >&6
8301 else
8302 ac_wine_try_cflags_saved=$CFLAGS
8303 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8305 /* end confdefs.h. */
8306 int main(int argc, char **argv) { return 0; }
8307 _ACEOF
8308 if ac_fn_c_try_link "$LINENO"; then :
8309 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8310 else
8311 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8313 rm -f core conftest.err conftest.$ac_objext \
8314 conftest$ac_exeext conftest.$ac_ext
8315 CFLAGS=$ac_wine_try_cflags_saved
8317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8318 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8319 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8320 case $host_os in
8321 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8322 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8323 esac
8326 # Extract the first word of "prelink", so it can be a program name with args.
8327 set dummy prelink; ac_word=$2
8328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8329 $as_echo_n "checking for $ac_word... " >&6; }
8330 if ${ac_cv_path_PRELINK+:} false; then :
8331 $as_echo_n "(cached) " >&6
8332 else
8333 case $PRELINK in
8334 [\\/]* | ?:[\\/]*)
8335 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8339 for as_dir in /sbin /usr/sbin $PATH
8341 IFS=$as_save_IFS
8342 test -z "$as_dir" && as_dir=.
8343 for ac_exec_ext in '' $ac_executable_extensions; do
8344 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8345 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8346 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8347 break 2
8349 done
8350 done
8351 IFS=$as_save_IFS
8353 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8355 esac
8357 PRELINK=$ac_cv_path_PRELINK
8358 if test -n "$PRELINK"; then
8359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8360 $as_echo "$PRELINK" >&6; }
8361 else
8362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8363 $as_echo "no" >&6; }
8367 if test "x$PRELINK" = xfalse
8368 then
8369 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
8372 esac
8374 else
8375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8376 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8377 if ${ac_cv_c_dll_unixware+:} false; then :
8378 $as_echo_n "(cached) " >&6
8379 else
8380 ac_wine_try_cflags_saved=$CFLAGS
8381 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8383 /* end confdefs.h. */
8384 void myfunc() {}
8385 _ACEOF
8386 if ac_fn_c_try_link "$LINENO"; then :
8387 ac_cv_c_dll_unixware="yes"
8388 else
8389 ac_cv_c_dll_unixware="no"
8391 rm -f core conftest.err conftest.$ac_objext \
8392 conftest$ac_exeext conftest.$ac_ext
8393 CFLAGS=$ac_wine_try_cflags_saved
8395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8396 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8397 if test "$ac_cv_c_dll_unixware" = "yes"
8398 then
8399 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8402 libwine_targets="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8403 LIBWINE_RULES="
8404 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8406 all: libwine.so
8408 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8409 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8411 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8412 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8414 libwine.so: libwine.so.$libwine_soversion
8415 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8417 install install-lib:: libwine.so.$libwine_version
8418 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8419 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8421 install install-dev::
8422 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8424 uninstall::
8425 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8429 as_fn_append LOADER_RULES "
8430 $wine_binary: main.o
8431 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8433 wine-installed: main.o
8434 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8437 esac
8439 as_fn_append LIBWINE_RULES "
8440 EXTRA_TARGETS = $libwine_targets
8443 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8444 enable_winemac_drv=${enable_winemac_drv:-no}
8446 CROSSTARGET=""
8448 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8449 then
8450 case "$host_cpu" in
8451 i[3456789]86*)
8452 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
8453 mingw32-gcc" ;;
8454 x86_64)
8455 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 " ;;
8457 ac_prefix_list="" ;;
8458 esac
8459 for ac_prog in $ac_prefix_list
8461 # Extract the first word of "$ac_prog", so it can be a program name with args.
8462 set dummy $ac_prog; ac_word=$2
8463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8464 $as_echo_n "checking for $ac_word... " >&6; }
8465 if ${ac_cv_prog_CROSSCC+:} false; then :
8466 $as_echo_n "(cached) " >&6
8467 else
8468 if test -n "$CROSSCC"; then
8469 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8470 else
8471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8472 for as_dir in $PATH
8474 IFS=$as_save_IFS
8475 test -z "$as_dir" && as_dir=.
8476 for ac_exec_ext in '' $ac_executable_extensions; do
8477 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8478 ac_cv_prog_CROSSCC="$ac_prog"
8479 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8480 break 2
8482 done
8483 done
8484 IFS=$as_save_IFS
8488 CROSSCC=$ac_cv_prog_CROSSCC
8489 if test -n "$CROSSCC"; then
8490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8491 $as_echo "$CROSSCC" >&6; }
8492 else
8493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8494 $as_echo "no" >&6; }
8498 test -n "$CROSSCC" && break
8499 done
8500 test -n "$CROSSCC" || CROSSCC="false"
8502 if test "$CROSSCC" != "false"
8503 then
8504 ac_save_CC="$CC"
8505 CC="$CROSSCC"
8506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8507 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8509 /* end confdefs.h. */
8512 main ()
8516 return 0;
8518 _ACEOF
8519 if ac_fn_c_try_compile "$LINENO"; then :
8520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8521 $as_echo "yes" >&6; }
8522 set x $CROSSCC
8523 shift
8524 while test $# -ge 1
8526 case "$1" in
8527 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8528 esac
8529 shift
8530 done
8531 else
8532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8533 $as_echo "no" >&6; }
8535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8536 CC="$ac_save_CC"
8541 if test "$ac_cv_header_pthread_h" = "yes"
8542 then
8543 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8544 if test "x$ac_cv_func_pthread_create" = xyes; then :
8546 else
8547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8548 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8549 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8550 $as_echo_n "(cached) " >&6
8551 else
8552 ac_check_lib_save_LIBS=$LIBS
8553 LIBS="-lpthread $LIBS"
8554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8555 /* end confdefs.h. */
8557 /* Override any GCC internal prototype to avoid an error.
8558 Use char because int might match the return type of a GCC
8559 builtin and then its argument prototype would still apply. */
8560 #ifdef __cplusplus
8561 extern "C"
8562 #endif
8563 char pthread_create ();
8565 main ()
8567 return pthread_create ();
8569 return 0;
8571 _ACEOF
8572 if ac_fn_c_try_link "$LINENO"; then :
8573 ac_cv_lib_pthread_pthread_create=yes
8574 else
8575 ac_cv_lib_pthread_pthread_create=no
8577 rm -f core conftest.err conftest.$ac_objext \
8578 conftest$ac_exeext conftest.$ac_ext
8579 LIBS=$ac_check_lib_save_LIBS
8581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8582 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8583 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8584 PTHREAD_LIBS="-lpthread"
8591 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8592 case "x$with_pthread" in
8593 xno) ;;
8594 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8595 Wine cannot support threads without libpthread.
8596 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8597 esac
8601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8602 $as_echo_n "checking for X... " >&6; }
8605 # Check whether --with-x was given.
8606 if test "${with_x+set}" = set; then :
8607 withval=$with_x;
8610 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8611 if test "x$with_x" = xno; then
8612 # The user explicitly disabled X.
8613 have_x=disabled
8614 else
8615 case $x_includes,$x_libraries in #(
8616 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8617 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8618 $as_echo_n "(cached) " >&6
8619 else
8620 # One or both of the vars are not set, and there is no cached value.
8621 ac_x_includes=no ac_x_libraries=no
8622 rm -f -r conftest.dir
8623 if mkdir conftest.dir; then
8624 cd conftest.dir
8625 cat >Imakefile <<'_ACEOF'
8626 incroot:
8627 @echo incroot='${INCROOT}'
8628 usrlibdir:
8629 @echo usrlibdir='${USRLIBDIR}'
8630 libdir:
8631 @echo libdir='${LIBDIR}'
8632 _ACEOF
8633 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8634 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8635 for ac_var in incroot usrlibdir libdir; do
8636 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8637 done
8638 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8639 for ac_extension in a so sl dylib la dll; do
8640 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8641 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8642 ac_im_usrlibdir=$ac_im_libdir; break
8644 done
8645 # Screen out bogus values from the imake configuration. They are
8646 # bogus both because they are the default anyway, and because
8647 # using them would break gcc on systems where it needs fixed includes.
8648 case $ac_im_incroot in
8649 /usr/include) ac_x_includes= ;;
8650 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8651 esac
8652 case $ac_im_usrlibdir in
8653 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8654 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8655 esac
8657 cd ..
8658 rm -f -r conftest.dir
8661 # Standard set of common directories for X headers.
8662 # Check X11 before X11Rn because it is often a symlink to the current release.
8663 ac_x_header_dirs='
8664 /usr/X11/include
8665 /usr/X11R7/include
8666 /usr/X11R6/include
8667 /usr/X11R5/include
8668 /usr/X11R4/include
8670 /usr/include/X11
8671 /usr/include/X11R7
8672 /usr/include/X11R6
8673 /usr/include/X11R5
8674 /usr/include/X11R4
8676 /usr/local/X11/include
8677 /usr/local/X11R7/include
8678 /usr/local/X11R6/include
8679 /usr/local/X11R5/include
8680 /usr/local/X11R4/include
8682 /usr/local/include/X11
8683 /usr/local/include/X11R7
8684 /usr/local/include/X11R6
8685 /usr/local/include/X11R5
8686 /usr/local/include/X11R4
8688 /usr/X386/include
8689 /usr/x386/include
8690 /usr/XFree86/include/X11
8692 /usr/include
8693 /usr/local/include
8694 /usr/unsupported/include
8695 /usr/athena/include
8696 /usr/local/x11r5/include
8697 /usr/lpp/Xamples/include
8699 /usr/openwin/include
8700 /usr/openwin/share/include'
8702 if test "$ac_x_includes" = no; then
8703 # Guess where to find include files, by looking for Xlib.h.
8704 # First, try using that file with no special directory specified.
8705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8706 /* end confdefs.h. */
8707 #include <X11/Xlib.h>
8708 _ACEOF
8709 if ac_fn_c_try_cpp "$LINENO"; then :
8710 # We can compile using X headers with no special include directory.
8711 ac_x_includes=
8712 else
8713 for ac_dir in $ac_x_header_dirs; do
8714 if test -r "$ac_dir/X11/Xlib.h"; then
8715 ac_x_includes=$ac_dir
8716 break
8718 done
8720 rm -f conftest.err conftest.i conftest.$ac_ext
8721 fi # $ac_x_includes = no
8723 if test "$ac_x_libraries" = no; then
8724 # Check for the libraries.
8725 # See if we find them without any special options.
8726 # Don't add to $LIBS permanently.
8727 ac_save_LIBS=$LIBS
8728 LIBS="-lX11 $LIBS"
8729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8730 /* end confdefs.h. */
8731 #include <X11/Xlib.h>
8733 main ()
8735 XrmInitialize ()
8737 return 0;
8739 _ACEOF
8740 if ac_fn_c_try_link "$LINENO"; then :
8741 LIBS=$ac_save_LIBS
8742 # We can link X programs with no special library path.
8743 ac_x_libraries=
8744 else
8745 LIBS=$ac_save_LIBS
8746 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8748 # Don't even attempt the hair of trying to link an X program!
8749 for ac_extension in a so sl dylib la dll; do
8750 if test -r "$ac_dir/libX11.$ac_extension"; then
8751 ac_x_libraries=$ac_dir
8752 break 2
8754 done
8755 done
8757 rm -f core conftest.err conftest.$ac_objext \
8758 conftest$ac_exeext conftest.$ac_ext
8759 fi # $ac_x_libraries = no
8761 case $ac_x_includes,$ac_x_libraries in #(
8762 no,* | *,no | *\'*)
8763 # Didn't find X, or a directory has "'" in its name.
8764 ac_cv_have_x="have_x=no";; #(
8766 # Record where we found X for the cache.
8767 ac_cv_have_x="have_x=yes\
8768 ac_x_includes='$ac_x_includes'\
8769 ac_x_libraries='$ac_x_libraries'"
8770 esac
8772 ;; #(
8773 *) have_x=yes;;
8774 esac
8775 eval "$ac_cv_have_x"
8776 fi # $with_x != no
8778 if test "$have_x" != yes; then
8779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8780 $as_echo "$have_x" >&6; }
8781 no_x=yes
8782 else
8783 # If each of the values was on the command line, it overrides each guess.
8784 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
8785 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
8786 # Update the cache value to reflect the command line values.
8787 ac_cv_have_x="have_x=yes\
8788 ac_x_includes='$x_includes'\
8789 ac_x_libraries='$x_libraries'"
8790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8791 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8794 if test "$no_x" = yes; then
8795 # Not all programs may use this symbol, but it does not hurt to define it.
8797 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8799 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
8800 else
8801 if test -n "$x_includes"; then
8802 X_CFLAGS="$X_CFLAGS -I$x_includes"
8805 # It would also be nice to do this for all -L options, not just this one.
8806 if test -n "$x_libraries"; then
8807 X_LIBS="$X_LIBS -L$x_libraries"
8808 # For Solaris; some versions of Sun CC require a space after -R and
8809 # others require no space. Words are not sufficient . . . .
8810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8811 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8812 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
8813 ac_xsave_c_werror_flag=$ac_c_werror_flag
8814 ac_c_werror_flag=yes
8815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8816 /* end confdefs.h. */
8819 main ()
8823 return 0;
8825 _ACEOF
8826 if ac_fn_c_try_link "$LINENO"; then :
8827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8828 $as_echo "no" >&6; }
8829 X_LIBS="$X_LIBS -R$x_libraries"
8830 else
8831 LIBS="$ac_xsave_LIBS -R $x_libraries"
8832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8833 /* end confdefs.h. */
8836 main ()
8840 return 0;
8842 _ACEOF
8843 if ac_fn_c_try_link "$LINENO"; then :
8844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8845 $as_echo "yes" >&6; }
8846 X_LIBS="$X_LIBS -R $x_libraries"
8847 else
8848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8849 $as_echo "neither works" >&6; }
8851 rm -f core conftest.err conftest.$ac_objext \
8852 conftest$ac_exeext conftest.$ac_ext
8854 rm -f core conftest.err conftest.$ac_objext \
8855 conftest$ac_exeext conftest.$ac_ext
8856 ac_c_werror_flag=$ac_xsave_c_werror_flag
8857 LIBS=$ac_xsave_LIBS
8860 # Check for system-dependent libraries X programs must link with.
8861 # Do this before checking for the system-independent R6 libraries
8862 # (-lICE), since we may need -lsocket or whatever for X linking.
8864 if test "$ISC" = yes; then
8865 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
8866 else
8867 # Martyn Johnson says this is needed for Ultrix, if the X
8868 # libraries were built with DECnet support. And Karl Berry says
8869 # the Alpha needs dnet_stub (dnet does not exist).
8870 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
8871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8872 /* end confdefs.h. */
8874 /* Override any GCC internal prototype to avoid an error.
8875 Use char because int might match the return type of a GCC
8876 builtin and then its argument prototype would still apply. */
8877 #ifdef __cplusplus
8878 extern "C"
8879 #endif
8880 char XOpenDisplay ();
8882 main ()
8884 return XOpenDisplay ();
8886 return 0;
8888 _ACEOF
8889 if ac_fn_c_try_link "$LINENO"; then :
8891 else
8892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8893 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8894 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
8895 $as_echo_n "(cached) " >&6
8896 else
8897 ac_check_lib_save_LIBS=$LIBS
8898 LIBS="-ldnet $LIBS"
8899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8900 /* end confdefs.h. */
8902 /* Override any GCC internal prototype to avoid an error.
8903 Use char because int might match the return type of a GCC
8904 builtin and then its argument prototype would still apply. */
8905 #ifdef __cplusplus
8906 extern "C"
8907 #endif
8908 char dnet_ntoa ();
8910 main ()
8912 return dnet_ntoa ();
8914 return 0;
8916 _ACEOF
8917 if ac_fn_c_try_link "$LINENO"; then :
8918 ac_cv_lib_dnet_dnet_ntoa=yes
8919 else
8920 ac_cv_lib_dnet_dnet_ntoa=no
8922 rm -f core conftest.err conftest.$ac_objext \
8923 conftest$ac_exeext conftest.$ac_ext
8924 LIBS=$ac_check_lib_save_LIBS
8926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8927 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8928 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
8929 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
8932 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
8933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8934 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8935 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
8936 $as_echo_n "(cached) " >&6
8937 else
8938 ac_check_lib_save_LIBS=$LIBS
8939 LIBS="-ldnet_stub $LIBS"
8940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8941 /* end confdefs.h. */
8943 /* Override any GCC internal prototype to avoid an error.
8944 Use char because int might match the return type of a GCC
8945 builtin and then its argument prototype would still apply. */
8946 #ifdef __cplusplus
8947 extern "C"
8948 #endif
8949 char dnet_ntoa ();
8951 main ()
8953 return dnet_ntoa ();
8955 return 0;
8957 _ACEOF
8958 if ac_fn_c_try_link "$LINENO"; then :
8959 ac_cv_lib_dnet_stub_dnet_ntoa=yes
8960 else
8961 ac_cv_lib_dnet_stub_dnet_ntoa=no
8963 rm -f core conftest.err conftest.$ac_objext \
8964 conftest$ac_exeext conftest.$ac_ext
8965 LIBS=$ac_check_lib_save_LIBS
8967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8968 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
8969 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
8970 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
8975 rm -f core conftest.err conftest.$ac_objext \
8976 conftest$ac_exeext conftest.$ac_ext
8977 LIBS="$ac_xsave_LIBS"
8979 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8980 # to get the SysV transport functions.
8981 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
8982 # needs -lnsl.
8983 # The nsl library prevents programs from opening the X display
8984 # on Irix 5.2, according to T.E. Dickey.
8985 # The functions gethostbyname, getservbyname, and inet_addr are
8986 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
8987 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
8988 if test "x$ac_cv_func_gethostbyname" = xyes; then :
8992 if test $ac_cv_func_gethostbyname = no; then
8993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
8994 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
8995 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
8996 $as_echo_n "(cached) " >&6
8997 else
8998 ac_check_lib_save_LIBS=$LIBS
8999 LIBS="-lnsl $LIBS"
9000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9001 /* end confdefs.h. */
9003 /* Override any GCC internal prototype to avoid an error.
9004 Use char because int might match the return type of a GCC
9005 builtin and then its argument prototype would still apply. */
9006 #ifdef __cplusplus
9007 extern "C"
9008 #endif
9009 char gethostbyname ();
9011 main ()
9013 return gethostbyname ();
9015 return 0;
9017 _ACEOF
9018 if ac_fn_c_try_link "$LINENO"; then :
9019 ac_cv_lib_nsl_gethostbyname=yes
9020 else
9021 ac_cv_lib_nsl_gethostbyname=no
9023 rm -f core conftest.err conftest.$ac_objext \
9024 conftest$ac_exeext conftest.$ac_ext
9025 LIBS=$ac_check_lib_save_LIBS
9027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9028 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9029 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9030 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9033 if test $ac_cv_lib_nsl_gethostbyname = no; then
9034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9035 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9036 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9037 $as_echo_n "(cached) " >&6
9038 else
9039 ac_check_lib_save_LIBS=$LIBS
9040 LIBS="-lbsd $LIBS"
9041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9042 /* end confdefs.h. */
9044 /* Override any GCC internal prototype to avoid an error.
9045 Use char because int might match the return type of a GCC
9046 builtin and then its argument prototype would still apply. */
9047 #ifdef __cplusplus
9048 extern "C"
9049 #endif
9050 char gethostbyname ();
9052 main ()
9054 return gethostbyname ();
9056 return 0;
9058 _ACEOF
9059 if ac_fn_c_try_link "$LINENO"; then :
9060 ac_cv_lib_bsd_gethostbyname=yes
9061 else
9062 ac_cv_lib_bsd_gethostbyname=no
9064 rm -f core conftest.err conftest.$ac_objext \
9065 conftest$ac_exeext conftest.$ac_ext
9066 LIBS=$ac_check_lib_save_LIBS
9068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9069 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9070 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9071 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9077 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9078 # socket/setsockopt and other routines are undefined under SCO ODT
9079 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9080 # on later versions), says Simon Leinen: it contains gethostby*
9081 # variants that don't use the name server (or something). -lsocket
9082 # must be given before -lnsl if both are needed. We assume that
9083 # if connect needs -lnsl, so does gethostbyname.
9084 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9085 if test "x$ac_cv_func_connect" = xyes; then :
9089 if test $ac_cv_func_connect = no; then
9090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9091 $as_echo_n "checking for connect in -lsocket... " >&6; }
9092 if ${ac_cv_lib_socket_connect+:} false; then :
9093 $as_echo_n "(cached) " >&6
9094 else
9095 ac_check_lib_save_LIBS=$LIBS
9096 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9098 /* end confdefs.h. */
9100 /* Override any GCC internal prototype to avoid an error.
9101 Use char because int might match the return type of a GCC
9102 builtin and then its argument prototype would still apply. */
9103 #ifdef __cplusplus
9104 extern "C"
9105 #endif
9106 char connect ();
9108 main ()
9110 return connect ();
9112 return 0;
9114 _ACEOF
9115 if ac_fn_c_try_link "$LINENO"; then :
9116 ac_cv_lib_socket_connect=yes
9117 else
9118 ac_cv_lib_socket_connect=no
9120 rm -f core conftest.err conftest.$ac_objext \
9121 conftest$ac_exeext conftest.$ac_ext
9122 LIBS=$ac_check_lib_save_LIBS
9124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9125 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9126 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9127 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9132 # Guillermo Gomez says -lposix is necessary on A/UX.
9133 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9134 if test "x$ac_cv_func_remove" = xyes; then :
9138 if test $ac_cv_func_remove = no; then
9139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9140 $as_echo_n "checking for remove in -lposix... " >&6; }
9141 if ${ac_cv_lib_posix_remove+:} false; then :
9142 $as_echo_n "(cached) " >&6
9143 else
9144 ac_check_lib_save_LIBS=$LIBS
9145 LIBS="-lposix $LIBS"
9146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9147 /* end confdefs.h. */
9149 /* Override any GCC internal prototype to avoid an error.
9150 Use char because int might match the return type of a GCC
9151 builtin and then its argument prototype would still apply. */
9152 #ifdef __cplusplus
9153 extern "C"
9154 #endif
9155 char remove ();
9157 main ()
9159 return remove ();
9161 return 0;
9163 _ACEOF
9164 if ac_fn_c_try_link "$LINENO"; then :
9165 ac_cv_lib_posix_remove=yes
9166 else
9167 ac_cv_lib_posix_remove=no
9169 rm -f core conftest.err conftest.$ac_objext \
9170 conftest$ac_exeext conftest.$ac_ext
9171 LIBS=$ac_check_lib_save_LIBS
9173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9174 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9175 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9176 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9181 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9182 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9183 if test "x$ac_cv_func_shmat" = xyes; then :
9187 if test $ac_cv_func_shmat = no; then
9188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9189 $as_echo_n "checking for shmat in -lipc... " >&6; }
9190 if ${ac_cv_lib_ipc_shmat+:} false; then :
9191 $as_echo_n "(cached) " >&6
9192 else
9193 ac_check_lib_save_LIBS=$LIBS
9194 LIBS="-lipc $LIBS"
9195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9196 /* end confdefs.h. */
9198 /* Override any GCC internal prototype to avoid an error.
9199 Use char because int might match the return type of a GCC
9200 builtin and then its argument prototype would still apply. */
9201 #ifdef __cplusplus
9202 extern "C"
9203 #endif
9204 char shmat ();
9206 main ()
9208 return shmat ();
9210 return 0;
9212 _ACEOF
9213 if ac_fn_c_try_link "$LINENO"; then :
9214 ac_cv_lib_ipc_shmat=yes
9215 else
9216 ac_cv_lib_ipc_shmat=no
9218 rm -f core conftest.err conftest.$ac_objext \
9219 conftest$ac_exeext conftest.$ac_ext
9220 LIBS=$ac_check_lib_save_LIBS
9222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9223 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9224 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9225 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9231 # Check for libraries that X11R6 Xt/Xaw programs need.
9232 ac_save_LDFLAGS=$LDFLAGS
9233 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9234 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9235 # check for ICE first), but we must link in the order -lSM -lICE or
9236 # we get undefined symbols. So assume we have SM if we have ICE.
9237 # These have to be linked with before -lX11, unlike the other
9238 # libraries we check for below, so use a different variable.
9239 # John Interrante, Karl Berry
9240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9241 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9242 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9243 $as_echo_n "(cached) " >&6
9244 else
9245 ac_check_lib_save_LIBS=$LIBS
9246 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9248 /* end confdefs.h. */
9250 /* Override any GCC internal prototype to avoid an error.
9251 Use char because int might match the return type of a GCC
9252 builtin and then its argument prototype would still apply. */
9253 #ifdef __cplusplus
9254 extern "C"
9255 #endif
9256 char IceConnectionNumber ();
9258 main ()
9260 return IceConnectionNumber ();
9262 return 0;
9264 _ACEOF
9265 if ac_fn_c_try_link "$LINENO"; then :
9266 ac_cv_lib_ICE_IceConnectionNumber=yes
9267 else
9268 ac_cv_lib_ICE_IceConnectionNumber=no
9270 rm -f core conftest.err conftest.$ac_objext \
9271 conftest$ac_exeext conftest.$ac_ext
9272 LIBS=$ac_check_lib_save_LIBS
9274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9275 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9276 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9277 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9280 LDFLAGS=$ac_save_LDFLAGS
9285 if test "$have_x" = "yes"
9286 then
9287 ac_save_CPPFLAGS="$CPPFLAGS"
9288 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9291 $as_echo_n "checking for -lX11... " >&6; }
9292 if ${ac_cv_lib_soname_X11+:} false; then :
9293 $as_echo_n "(cached) " >&6
9294 else
9295 ac_check_soname_save_LIBS=$LIBS
9296 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9298 /* end confdefs.h. */
9300 /* Override any GCC internal prototype to avoid an error.
9301 Use char because int might match the return type of a GCC
9302 builtin and then its argument prototype would still apply. */
9303 #ifdef __cplusplus
9304 extern "C"
9305 #endif
9306 char XCreateWindow ();
9308 main ()
9310 return XCreateWindow ();
9312 return 0;
9314 _ACEOF
9315 if ac_fn_c_try_link "$LINENO"; then :
9316 case "$LIBEXT" in
9317 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9318 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'` ;;
9319 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9320 if ${ac_cv_lib_soname_X11:+false} :; then :
9321 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9322 fi ;;
9323 esac
9325 rm -f core conftest.err conftest.$ac_objext \
9326 conftest$ac_exeext conftest.$ac_ext
9327 LIBS=$ac_check_soname_save_LIBS
9329 if ${ac_cv_lib_soname_X11:+false} :; then :
9330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9331 $as_echo "not found" >&6; }
9333 else
9334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9335 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9337 cat >>confdefs.h <<_ACEOF
9338 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9339 _ACEOF
9343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9344 $as_echo_n "checking for -lXext... " >&6; }
9345 if ${ac_cv_lib_soname_Xext+:} false; then :
9346 $as_echo_n "(cached) " >&6
9347 else
9348 ac_check_soname_save_LIBS=$LIBS
9349 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9351 /* end confdefs.h. */
9353 /* Override any GCC internal prototype to avoid an error.
9354 Use char because int might match the return type of a GCC
9355 builtin and then its argument prototype would still apply. */
9356 #ifdef __cplusplus
9357 extern "C"
9358 #endif
9359 char XextCreateExtension ();
9361 main ()
9363 return XextCreateExtension ();
9365 return 0;
9367 _ACEOF
9368 if ac_fn_c_try_link "$LINENO"; then :
9369 case "$LIBEXT" in
9370 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9371 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'` ;;
9372 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9373 if ${ac_cv_lib_soname_Xext:+false} :; then :
9374 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9375 fi ;;
9376 esac
9378 rm -f core conftest.err conftest.$ac_objext \
9379 conftest$ac_exeext conftest.$ac_ext
9380 LIBS=$ac_check_soname_save_LIBS
9382 if ${ac_cv_lib_soname_Xext:+false} :; then :
9383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9384 $as_echo "not found" >&6; }
9386 else
9387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9388 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9390 cat >>confdefs.h <<_ACEOF
9391 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9392 _ACEOF
9394 X_LIBS="$X_LIBS -lXext"
9396 X_LIBS="$X_LIBS -lX11"
9398 for ac_header in X11/Xlib.h \
9399 X11/XKBlib.h \
9400 X11/Xutil.h \
9401 X11/Xcursor/Xcursor.h \
9402 X11/extensions/shape.h \
9403 X11/extensions/XInput.h \
9404 X11/extensions/XInput2.h \
9405 X11/extensions/XShm.h \
9406 X11/extensions/Xcomposite.h \
9407 X11/extensions/Xinerama.h \
9408 X11/extensions/Xrandr.h \
9409 X11/extensions/Xrender.h \
9410 X11/extensions/xf86vmode.h \
9411 X11/extensions/xf86vmproto.h
9412 do :
9413 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9414 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9415 # include <X11/Xlib.h>
9416 #endif
9417 #ifdef HAVE_X11_XUTIL_H
9418 # include <X11/Xutil.h>
9419 #endif
9421 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9422 cat >>confdefs.h <<_ACEOF
9423 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9424 _ACEOF
9428 done
9431 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9432 then
9433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9434 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9435 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9436 $as_echo_n "(cached) " >&6
9437 else
9438 ac_check_lib_save_LIBS=$LIBS
9439 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9441 /* end confdefs.h. */
9443 /* Override any GCC internal prototype to avoid an error.
9444 Use char because int might match the return type of a GCC
9445 builtin and then its argument prototype would still apply. */
9446 #ifdef __cplusplus
9447 extern "C"
9448 #endif
9449 char XkbQueryExtension ();
9451 main ()
9453 return XkbQueryExtension ();
9455 return 0;
9457 _ACEOF
9458 if ac_fn_c_try_link "$LINENO"; then :
9459 ac_cv_lib_X11_XkbQueryExtension=yes
9460 else
9461 ac_cv_lib_X11_XkbQueryExtension=no
9463 rm -f core conftest.err conftest.$ac_objext \
9464 conftest$ac_exeext conftest.$ac_ext
9465 LIBS=$ac_check_lib_save_LIBS
9467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9468 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9469 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9471 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9477 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9478 then
9479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9480 $as_echo_n "checking for -lXcursor... " >&6; }
9481 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9482 $as_echo_n "(cached) " >&6
9483 else
9484 ac_check_soname_save_LIBS=$LIBS
9485 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9487 /* end confdefs.h. */
9489 /* Override any GCC internal prototype to avoid an error.
9490 Use char because int might match the return type of a GCC
9491 builtin and then its argument prototype would still apply. */
9492 #ifdef __cplusplus
9493 extern "C"
9494 #endif
9495 char XcursorImageLoadCursor ();
9497 main ()
9499 return XcursorImageLoadCursor ();
9501 return 0;
9503 _ACEOF
9504 if ac_fn_c_try_link "$LINENO"; then :
9505 case "$LIBEXT" in
9506 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9507 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'` ;;
9508 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9509 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9510 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9511 fi ;;
9512 esac
9514 rm -f core conftest.err conftest.$ac_objext \
9515 conftest$ac_exeext conftest.$ac_ext
9516 LIBS=$ac_check_soname_save_LIBS
9518 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9520 $as_echo "not found" >&6; }
9522 else
9523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9524 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9526 cat >>confdefs.h <<_ACEOF
9527 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9528 _ACEOF
9533 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9534 case "x$with_xcursor" in
9535 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9536 xno) ;;
9537 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9538 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9539 esac
9542 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9543 then
9544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9545 $as_echo_n "checking for -lXi... " >&6; }
9546 if ${ac_cv_lib_soname_Xi+:} false; then :
9547 $as_echo_n "(cached) " >&6
9548 else
9549 ac_check_soname_save_LIBS=$LIBS
9550 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9552 /* end confdefs.h. */
9554 /* Override any GCC internal prototype to avoid an error.
9555 Use char because int might match the return type of a GCC
9556 builtin and then its argument prototype would still apply. */
9557 #ifdef __cplusplus
9558 extern "C"
9559 #endif
9560 char XOpenDevice ();
9562 main ()
9564 return XOpenDevice ();
9566 return 0;
9568 _ACEOF
9569 if ac_fn_c_try_link "$LINENO"; then :
9570 case "$LIBEXT" in
9571 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9572 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'` ;;
9573 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9574 if ${ac_cv_lib_soname_Xi:+false} :; then :
9575 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9576 fi ;;
9577 esac
9579 rm -f core conftest.err conftest.$ac_objext \
9580 conftest$ac_exeext conftest.$ac_ext
9581 LIBS=$ac_check_soname_save_LIBS
9583 if ${ac_cv_lib_soname_Xi:+false} :; then :
9584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9585 $as_echo "not found" >&6; }
9587 else
9588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9589 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9591 cat >>confdefs.h <<_ACEOF
9592 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9593 _ACEOF
9598 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9599 case "x$with_xinput" in
9600 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9601 xno) ;;
9602 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9603 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9604 esac
9607 if test "x$ac_cv_lib_soname_Xi" != x
9608 then
9609 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9610 case "x$with_xinput2" in
9611 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9612 xno) ;;
9613 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9614 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9615 esac
9619 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9620 then
9621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9622 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9623 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9624 $as_echo_n "(cached) " >&6
9625 else
9626 ac_check_lib_save_LIBS=$LIBS
9627 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9629 /* end confdefs.h. */
9631 /* Override any GCC internal prototype to avoid an error.
9632 Use char because int might match the return type of a GCC
9633 builtin and then its argument prototype would still apply. */
9634 #ifdef __cplusplus
9635 extern "C"
9636 #endif
9637 char XShmQueryExtension ();
9639 main ()
9641 return XShmQueryExtension ();
9643 return 0;
9645 _ACEOF
9646 if ac_fn_c_try_link "$LINENO"; then :
9647 ac_cv_lib_Xext_XShmQueryExtension=yes
9648 else
9649 ac_cv_lib_Xext_XShmQueryExtension=no
9651 rm -f core conftest.err conftest.$ac_objext \
9652 conftest$ac_exeext conftest.$ac_ext
9653 LIBS=$ac_check_lib_save_LIBS
9655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9656 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9657 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9659 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9664 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9665 case "x$with_xshm" in
9666 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9667 xno) ;;
9668 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9669 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9670 esac
9673 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9674 then
9675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9676 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9677 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9678 $as_echo_n "(cached) " >&6
9679 else
9680 ac_check_lib_save_LIBS=$LIBS
9681 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9683 /* end confdefs.h. */
9685 /* Override any GCC internal prototype to avoid an error.
9686 Use char because int might match the return type of a GCC
9687 builtin and then its argument prototype would still apply. */
9688 #ifdef __cplusplus
9689 extern "C"
9690 #endif
9691 char XShapeQueryExtension ();
9693 main ()
9695 return XShapeQueryExtension ();
9697 return 0;
9699 _ACEOF
9700 if ac_fn_c_try_link "$LINENO"; then :
9701 ac_cv_lib_Xext_XShapeQueryExtension=yes
9702 else
9703 ac_cv_lib_Xext_XShapeQueryExtension=no
9705 rm -f core conftest.err conftest.$ac_objext \
9706 conftest$ac_exeext conftest.$ac_ext
9707 LIBS=$ac_check_lib_save_LIBS
9709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9710 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9711 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9713 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9718 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9719 case "x$with_xshape" in
9720 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9721 xno) ;;
9722 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
9723 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9724 esac
9727 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9728 then
9729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9730 $as_echo_n "checking for -lXxf86vm... " >&6; }
9731 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
9732 $as_echo_n "(cached) " >&6
9733 else
9734 ac_check_soname_save_LIBS=$LIBS
9735 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9737 /* end confdefs.h. */
9739 /* Override any GCC internal prototype to avoid an error.
9740 Use char because int might match the return type of a GCC
9741 builtin and then its argument prototype would still apply. */
9742 #ifdef __cplusplus
9743 extern "C"
9744 #endif
9745 char XF86VidModeQueryExtension ();
9747 main ()
9749 return XF86VidModeQueryExtension ();
9751 return 0;
9753 _ACEOF
9754 if ac_fn_c_try_link "$LINENO"; then :
9755 case "$LIBEXT" in
9756 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9757 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'` ;;
9758 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9759 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9760 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9761 fi ;;
9762 esac
9764 rm -f core conftest.err conftest.$ac_objext \
9765 conftest$ac_exeext conftest.$ac_ext
9766 LIBS=$ac_check_soname_save_LIBS
9768 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9770 $as_echo "not found" >&6; }
9772 else
9773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9774 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9776 cat >>confdefs.h <<_ACEOF
9777 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9778 _ACEOF
9783 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9784 case "x$with_xxf86vm" in
9785 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9786 xno) ;;
9787 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9788 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9789 esac
9792 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x" -a "x$ac_cv_lib_soname_Xext" != "x"
9793 then
9794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9795 $as_echo_n "checking for -lXrender... " >&6; }
9796 if ${ac_cv_lib_soname_Xrender+:} false; then :
9797 $as_echo_n "(cached) " >&6
9798 else
9799 ac_check_soname_save_LIBS=$LIBS
9800 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9802 /* end confdefs.h. */
9804 /* Override any GCC internal prototype to avoid an error.
9805 Use char because int might match the return type of a GCC
9806 builtin and then its argument prototype would still apply. */
9807 #ifdef __cplusplus
9808 extern "C"
9809 #endif
9810 char XRenderQueryExtension ();
9812 main ()
9814 return XRenderQueryExtension ();
9816 return 0;
9818 _ACEOF
9819 if ac_fn_c_try_link "$LINENO"; then :
9820 case "$LIBEXT" in
9821 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9822 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'` ;;
9823 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9824 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9825 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9826 fi ;;
9827 esac
9829 rm -f core conftest.err conftest.$ac_objext \
9830 conftest$ac_exeext conftest.$ac_ext
9831 LIBS=$ac_check_soname_save_LIBS
9833 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9835 $as_echo "not found" >&6; }
9837 else
9838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9839 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9841 cat >>confdefs.h <<_ACEOF
9842 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9843 _ACEOF
9845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9846 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9847 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
9848 $as_echo_n "(cached) " >&6
9849 else
9850 ac_check_lib_save_LIBS=$LIBS
9851 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9853 /* end confdefs.h. */
9855 /* Override any GCC internal prototype to avoid an error.
9856 Use char because int might match the return type of a GCC
9857 builtin and then its argument prototype would still apply. */
9858 #ifdef __cplusplus
9859 extern "C"
9860 #endif
9861 char XRenderSetPictureTransform ();
9863 main ()
9865 return XRenderSetPictureTransform ();
9867 return 0;
9869 _ACEOF
9870 if ac_fn_c_try_link "$LINENO"; then :
9871 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9872 else
9873 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9875 rm -f core conftest.err conftest.$ac_objext \
9876 conftest$ac_exeext conftest.$ac_ext
9877 LIBS=$ac_check_lib_save_LIBS
9879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9880 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9881 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
9883 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9888 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9889 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
9890 $as_echo_n "(cached) " >&6
9891 else
9892 ac_check_lib_save_LIBS=$LIBS
9893 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9895 /* end confdefs.h. */
9897 /* Override any GCC internal prototype to avoid an error.
9898 Use char because int might match the return type of a GCC
9899 builtin and then its argument prototype would still apply. */
9900 #ifdef __cplusplus
9901 extern "C"
9902 #endif
9903 char XRenderCreateLinearGradient ();
9905 main ()
9907 return XRenderCreateLinearGradient ();
9909 return 0;
9911 _ACEOF
9912 if ac_fn_c_try_link "$LINENO"; then :
9913 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
9914 else
9915 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
9917 rm -f core conftest.err conftest.$ac_objext \
9918 conftest$ac_exeext conftest.$ac_ext
9919 LIBS=$ac_check_lib_save_LIBS
9921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9922 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9923 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
9925 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9932 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9933 case "x$with_xrender" in
9934 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9935 xno) ;;
9936 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
9937 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9938 esac
9941 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9942 then
9943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9944 /* end confdefs.h. */
9945 #include <X11/Xlib.h>
9946 #include <X11/extensions/Xrandr.h>
9948 main ()
9950 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9952 return 0;
9954 _ACEOF
9955 if ac_fn_c_try_compile "$LINENO"; then :
9956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9957 $as_echo_n "checking for -lXrandr... " >&6; }
9958 if ${ac_cv_lib_soname_Xrandr+:} false; then :
9959 $as_echo_n "(cached) " >&6
9960 else
9961 ac_check_soname_save_LIBS=$LIBS
9962 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
9963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9964 /* end confdefs.h. */
9966 /* Override any GCC internal prototype to avoid an error.
9967 Use char because int might match the return type of a GCC
9968 builtin and then its argument prototype would still apply. */
9969 #ifdef __cplusplus
9970 extern "C"
9971 #endif
9972 char XRRQueryExtension ();
9974 main ()
9976 return XRRQueryExtension ();
9978 return 0;
9980 _ACEOF
9981 if ac_fn_c_try_link "$LINENO"; then :
9982 case "$LIBEXT" in
9983 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9984 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'` ;;
9985 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9986 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
9987 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9988 fi ;;
9989 esac
9991 rm -f core conftest.err conftest.$ac_objext \
9992 conftest$ac_exeext conftest.$ac_ext
9993 LIBS=$ac_check_soname_save_LIBS
9995 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
9996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9997 $as_echo "not found" >&6; }
9999 else
10000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10001 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10003 cat >>confdefs.h <<_ACEOF
10004 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10005 _ACEOF
10007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10008 /* end confdefs.h. */
10009 #include <X11/Xlib.h>
10010 #include <X11/extensions/Xrandr.h>
10012 main ()
10014 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10016 return 0;
10018 _ACEOF
10019 if ac_fn_c_try_compile "$LINENO"; then :
10021 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10029 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10030 case "x$with_xrandr" in
10031 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10032 xno) ;;
10033 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10034 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10035 esac
10038 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10039 then
10040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10041 /* end confdefs.h. */
10042 #include <X11/Xlib.h>
10043 #include <X11/extensions/Xinerama.h>
10045 main ()
10047 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10049 return 0;
10051 _ACEOF
10052 if ac_fn_c_try_compile "$LINENO"; then :
10053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10054 $as_echo_n "checking for -lXinerama... " >&6; }
10055 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10056 $as_echo_n "(cached) " >&6
10057 else
10058 ac_check_soname_save_LIBS=$LIBS
10059 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10061 /* end confdefs.h. */
10063 /* Override any GCC internal prototype to avoid an error.
10064 Use char because int might match the return type of a GCC
10065 builtin and then its argument prototype would still apply. */
10066 #ifdef __cplusplus
10067 extern "C"
10068 #endif
10069 char XineramaQueryScreens ();
10071 main ()
10073 return XineramaQueryScreens ();
10075 return 0;
10077 _ACEOF
10078 if ac_fn_c_try_link "$LINENO"; then :
10079 case "$LIBEXT" in
10080 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10081 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'` ;;
10082 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10083 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10084 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10085 fi ;;
10086 esac
10088 rm -f core conftest.err conftest.$ac_objext \
10089 conftest$ac_exeext conftest.$ac_ext
10090 LIBS=$ac_check_soname_save_LIBS
10092 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10094 $as_echo "not found" >&6; }
10096 else
10097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10098 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10100 cat >>confdefs.h <<_ACEOF
10101 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10102 _ACEOF
10107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10109 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10110 case "x$with_xinerama" in
10111 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10112 xno) ;;
10113 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10114 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10115 esac
10118 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10119 then
10120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10121 $as_echo_n "checking for -lXcomposite... " >&6; }
10122 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10123 $as_echo_n "(cached) " >&6
10124 else
10125 ac_check_soname_save_LIBS=$LIBS
10126 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10128 /* end confdefs.h. */
10130 /* Override any GCC internal prototype to avoid an error.
10131 Use char because int might match the return type of a GCC
10132 builtin and then its argument prototype would still apply. */
10133 #ifdef __cplusplus
10134 extern "C"
10135 #endif
10136 char XCompositeRedirectWindow ();
10138 main ()
10140 return XCompositeRedirectWindow ();
10142 return 0;
10144 _ACEOF
10145 if ac_fn_c_try_link "$LINENO"; then :
10146 case "$LIBEXT" in
10147 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10148 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'` ;;
10149 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10150 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10151 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10152 fi ;;
10153 esac
10155 rm -f core conftest.err conftest.$ac_objext \
10156 conftest$ac_exeext conftest.$ac_ext
10157 LIBS=$ac_check_soname_save_LIBS
10159 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10161 $as_echo "not found" >&6; }
10163 else
10164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10165 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10167 cat >>confdefs.h <<_ACEOF
10168 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10169 _ACEOF
10174 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10175 case "x$with_xcomposite" in
10176 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10177 xno) ;;
10178 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10179 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10180 esac
10183 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10184 #include <X11/Xlib.h>
10185 #endif
10187 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10189 cat >>confdefs.h <<_ACEOF
10190 #define HAVE_XICCALLBACK_CALLBACK 1
10191 _ACEOF
10195 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10196 #include <X11/Xlib.h>
10197 #endif
10199 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10201 cat >>confdefs.h <<_ACEOF
10202 #define HAVE_XEVENT_XCOOKIE 1
10203 _ACEOF
10210 opengl_msg=""
10211 if test "x$with_opengl" != "xno"
10212 then
10213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10214 $as_echo_n "checking for -lGL... " >&6; }
10215 if ${ac_cv_lib_soname_GL+:} false; then :
10216 $as_echo_n "(cached) " >&6
10217 else
10218 ac_check_soname_save_LIBS=$LIBS
10219 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10221 /* end confdefs.h. */
10223 /* Override any GCC internal prototype to avoid an error.
10224 Use char because int might match the return type of a GCC
10225 builtin and then its argument prototype would still apply. */
10226 #ifdef __cplusplus
10227 extern "C"
10228 #endif
10229 char glXCreateContext ();
10231 main ()
10233 return glXCreateContext ();
10235 return 0;
10237 _ACEOF
10238 if ac_fn_c_try_link "$LINENO"; then :
10239 case "$LIBEXT" in
10240 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10241 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'` ;;
10242 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10243 if ${ac_cv_lib_soname_GL:+false} :; then :
10244 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10245 fi ;;
10246 esac
10248 rm -f core conftest.err conftest.$ac_objext \
10249 conftest$ac_exeext conftest.$ac_ext
10250 LIBS=$ac_check_soname_save_LIBS
10252 if ${ac_cv_lib_soname_GL:+false} :; then :
10253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10254 $as_echo "not found" >&6; }
10255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10256 $as_echo_n "checking for -lGL... " >&6; }
10257 if ${ac_cv_lib_soname_GL+:} false; then :
10258 $as_echo_n "(cached) " >&6
10259 else
10260 ac_check_soname_save_LIBS=$LIBS
10261 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"
10262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10263 /* end confdefs.h. */
10265 /* Override any GCC internal prototype to avoid an error.
10266 Use char because int might match the return type of a GCC
10267 builtin and then its argument prototype would still apply. */
10268 #ifdef __cplusplus
10269 extern "C"
10270 #endif
10271 char glXCreateContext ();
10273 main ()
10275 return glXCreateContext ();
10277 return 0;
10279 _ACEOF
10280 if ac_fn_c_try_link "$LINENO"; then :
10281 case "$LIBEXT" in
10282 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10283 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'` ;;
10284 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10285 if ${ac_cv_lib_soname_GL:+false} :; then :
10286 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10287 fi ;;
10288 esac
10290 rm -f core conftest.err conftest.$ac_objext \
10291 conftest$ac_exeext conftest.$ac_ext
10292 LIBS=$ac_check_soname_save_LIBS
10294 if ${ac_cv_lib_soname_GL:+false} :; then :
10295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10296 $as_echo "not found" >&6; }
10297 if test -f /usr/X11R6/lib/libGL.a
10298 then
10299 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10300 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10301 else
10302 opengl_msg="No OpenGL library found on this system."
10304 else
10305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10306 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10308 cat >>confdefs.h <<_ACEOF
10309 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10310 _ACEOF
10312 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"
10314 else
10315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10316 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10318 cat >>confdefs.h <<_ACEOF
10319 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10320 _ACEOF
10322 OPENGL_LIBS="-lGL"
10324 if test "x$with_glu" != "xno"
10325 then
10326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10327 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10328 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10329 $as_echo_n "(cached) " >&6
10330 else
10331 ac_check_lib_save_LIBS=$LIBS
10332 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10334 /* end confdefs.h. */
10336 /* Override any GCC internal prototype to avoid an error.
10337 Use char because int might match the return type of a GCC
10338 builtin and then its argument prototype would still apply. */
10339 #ifdef __cplusplus
10340 extern "C"
10341 #endif
10342 char gluLookAt ();
10344 main ()
10346 return gluLookAt ();
10348 return 0;
10350 _ACEOF
10351 if ac_fn_c_try_link "$LINENO"; then :
10352 ac_cv_lib_GLU_gluLookAt=yes
10353 else
10354 ac_cv_lib_GLU_gluLookAt=no
10356 rm -f core conftest.err conftest.$ac_objext \
10357 conftest$ac_exeext conftest.$ac_ext
10358 LIBS=$ac_check_lib_save_LIBS
10360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10361 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10362 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10366 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10367 case "x$with_glu" in
10368 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10369 xno) ;;
10370 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10371 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10372 esac
10376 if test "x$with_osmesa" != "xno"
10377 then
10378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10379 $as_echo_n "checking for -lOSMesa... " >&6; }
10380 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10381 $as_echo_n "(cached) " >&6
10382 else
10383 ac_check_soname_save_LIBS=$LIBS
10384 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10386 /* end confdefs.h. */
10388 /* Override any GCC internal prototype to avoid an error.
10389 Use char because int might match the return type of a GCC
10390 builtin and then its argument prototype would still apply. */
10391 #ifdef __cplusplus
10392 extern "C"
10393 #endif
10394 char glAccum ();
10396 main ()
10398 return glAccum ();
10400 return 0;
10402 _ACEOF
10403 if ac_fn_c_try_link "$LINENO"; then :
10404 case "$LIBEXT" in
10405 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10406 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'` ;;
10407 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10408 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10409 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10410 fi ;;
10411 esac
10413 rm -f core conftest.err conftest.$ac_objext \
10414 conftest$ac_exeext conftest.$ac_ext
10415 LIBS=$ac_check_soname_save_LIBS
10417 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10419 $as_echo "not found" >&6; }
10421 else
10422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10423 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10425 cat >>confdefs.h <<_ACEOF
10426 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10427 _ACEOF
10431 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10432 case "x$with_osmesa" in
10433 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10434 xno) ;;
10435 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10436 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10437 esac
10441 if test -n "$opengl_msg"; then :
10442 case "x$with_opengl" in
10443 x) as_fn_append wine_warnings "|$opengl_msg
10444 OpenGL and Direct3D won't be supported." ;;
10445 xno) ;;
10446 *) as_fn_error $? "$opengl_msg
10447 OpenGL and Direct3D won't be supported.
10448 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10449 esac
10452 CPPFLAGS="$ac_save_CPPFLAGS"
10453 else
10454 X_CFLAGS=""
10455 X_LIBS=""
10456 enable_winex11_drv=${enable_winex11_drv:-no}
10458 if test "x$X_LIBS" = "x"; then :
10459 case "x$with_x" in
10460 xno) ;;
10461 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10462 without X support, which probably isn't what you want. You will need
10463 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10464 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10465 esac
10468 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10470 if test "$ac_cv_header_CL_cl_h" = "yes"
10471 then
10472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10473 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10474 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10475 $as_echo_n "(cached) " >&6
10476 else
10477 ac_check_lib_save_LIBS=$LIBS
10478 LIBS="-lOpenCL $LIBS"
10479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10480 /* end confdefs.h. */
10482 /* Override any GCC internal prototype to avoid an error.
10483 Use char because int might match the return type of a GCC
10484 builtin and then its argument prototype would still apply. */
10485 #ifdef __cplusplus
10486 extern "C"
10487 #endif
10488 char clGetPlatformInfo ();
10490 main ()
10492 return clGetPlatformInfo ();
10494 return 0;
10496 _ACEOF
10497 if ac_fn_c_try_link "$LINENO"; then :
10498 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10499 else
10500 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10502 rm -f core conftest.err conftest.$ac_objext \
10503 conftest$ac_exeext conftest.$ac_ext
10504 LIBS=$ac_check_lib_save_LIBS
10506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10507 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10508 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10509 OPENCL_LIBS="-lOpenCL"
10514 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10515 case "x$with_opencl" in
10516 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10517 xno) ;;
10518 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10519 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10520 esac
10522 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10524 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10525 then
10526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10527 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10528 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10529 $as_echo_n "(cached) " >&6
10530 else
10531 ac_check_lib_save_LIBS=$LIBS
10532 LIBS="-lpcap $LIBS"
10533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10534 /* end confdefs.h. */
10536 /* Override any GCC internal prototype to avoid an error.
10537 Use char because int might match the return type of a GCC
10538 builtin and then its argument prototype would still apply. */
10539 #ifdef __cplusplus
10540 extern "C"
10541 #endif
10542 char pcap_create ();
10544 main ()
10546 return pcap_create ();
10548 return 0;
10550 _ACEOF
10551 if ac_fn_c_try_link "$LINENO"; then :
10552 ac_cv_lib_pcap_pcap_create=yes
10553 else
10554 ac_cv_lib_pcap_pcap_create=no
10556 rm -f core conftest.err conftest.$ac_objext \
10557 conftest$ac_exeext conftest.$ac_ext
10558 LIBS=$ac_check_lib_save_LIBS
10560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10561 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10562 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10563 LIBPCAP="-lpcap"
10568 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10569 case "x$with_pcap" in
10570 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10571 xno) ;;
10572 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10573 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10574 esac
10576 test "x$ac_cv_lib_pcap_pcap_create" != xyes && enable_wpcap=${enable_wpcap:-no}
10579 if test "x$with_xml" != "xno"
10580 then
10581 if ${XML2_CFLAGS:+false} :; then :
10582 if ${PKG_CONFIG+:} false; then :
10583 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10586 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10587 if ${XML2_LIBS:+false} :; then :
10588 if ${PKG_CONFIG+:} false; then :
10589 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10592 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10593 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10594 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10595 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10596 ac_save_CPPFLAGS=$CPPFLAGS
10597 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10598 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10599 do :
10600 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10601 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10602 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10603 cat >>confdefs.h <<_ACEOF
10604 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10605 _ACEOF
10609 done
10611 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"
10612 then
10613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10614 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10615 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10616 $as_echo_n "(cached) " >&6
10617 else
10618 ac_check_lib_save_LIBS=$LIBS
10619 LIBS="-lxml2 $XML2_LIBS $LIBS"
10620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10621 /* end confdefs.h. */
10623 /* Override any GCC internal prototype to avoid an error.
10624 Use char because int might match the return type of a GCC
10625 builtin and then its argument prototype would still apply. */
10626 #ifdef __cplusplus
10627 extern "C"
10628 #endif
10629 char xmlParseMemory ();
10631 main ()
10633 return xmlParseMemory ();
10635 return 0;
10637 _ACEOF
10638 if ac_fn_c_try_link "$LINENO"; then :
10639 ac_cv_lib_xml2_xmlParseMemory=yes
10640 else
10641 ac_cv_lib_xml2_xmlParseMemory=no
10643 rm -f core conftest.err conftest.$ac_objext \
10644 conftest$ac_exeext conftest.$ac_ext
10645 LIBS=$ac_check_lib_save_LIBS
10647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10648 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10649 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10651 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10653 else
10654 XML2_LIBS=""
10657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10658 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10659 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10660 $as_echo_n "(cached) " >&6
10661 else
10662 ac_check_lib_save_LIBS=$LIBS
10663 LIBS="-lxml2 $XML2_LIBS $LIBS"
10664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10665 /* end confdefs.h. */
10667 /* Override any GCC internal prototype to avoid an error.
10668 Use char because int might match the return type of a GCC
10669 builtin and then its argument prototype would still apply. */
10670 #ifdef __cplusplus
10671 extern "C"
10672 #endif
10673 char xmlReadMemory ();
10675 main ()
10677 return xmlReadMemory ();
10679 return 0;
10681 _ACEOF
10682 if ac_fn_c_try_link "$LINENO"; then :
10683 ac_cv_lib_xml2_xmlReadMemory=yes
10684 else
10685 ac_cv_lib_xml2_xmlReadMemory=no
10687 rm -f core conftest.err conftest.$ac_objext \
10688 conftest$ac_exeext conftest.$ac_ext
10689 LIBS=$ac_check_lib_save_LIBS
10691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10692 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10693 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
10695 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10700 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10701 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
10702 $as_echo_n "(cached) " >&6
10703 else
10704 ac_check_lib_save_LIBS=$LIBS
10705 LIBS="-lxml2 $XML2_LIBS $LIBS"
10706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10707 /* end confdefs.h. */
10709 /* Override any GCC internal prototype to avoid an error.
10710 Use char because int might match the return type of a GCC
10711 builtin and then its argument prototype would still apply. */
10712 #ifdef __cplusplus
10713 extern "C"
10714 #endif
10715 char xmlNewDocPI ();
10717 main ()
10719 return xmlNewDocPI ();
10721 return 0;
10723 _ACEOF
10724 if ac_fn_c_try_link "$LINENO"; then :
10725 ac_cv_lib_xml2_xmlNewDocPI=yes
10726 else
10727 ac_cv_lib_xml2_xmlNewDocPI=no
10729 rm -f core conftest.err conftest.$ac_objext \
10730 conftest$ac_exeext conftest.$ac_ext
10731 LIBS=$ac_check_lib_save_LIBS
10733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10734 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10735 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
10737 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10742 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10743 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
10744 $as_echo_n "(cached) " >&6
10745 else
10746 ac_check_lib_save_LIBS=$LIBS
10747 LIBS="-lxml2 $XML2_LIBS $LIBS"
10748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10749 /* end confdefs.h. */
10751 /* Override any GCC internal prototype to avoid an error.
10752 Use char because int might match the return type of a GCC
10753 builtin and then its argument prototype would still apply. */
10754 #ifdef __cplusplus
10755 extern "C"
10756 #endif
10757 char xmlSchemaSetParserStructuredErrors ();
10759 main ()
10761 return xmlSchemaSetParserStructuredErrors ();
10763 return 0;
10765 _ACEOF
10766 if ac_fn_c_try_link "$LINENO"; then :
10767 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
10768 else
10769 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
10771 rm -f core conftest.err conftest.$ac_objext \
10772 conftest$ac_exeext conftest.$ac_ext
10773 LIBS=$ac_check_lib_save_LIBS
10775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10776 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10777 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
10779 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10784 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10785 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
10786 $as_echo_n "(cached) " >&6
10787 else
10788 ac_check_lib_save_LIBS=$LIBS
10789 LIBS="-lxml2 $XML2_LIBS $LIBS"
10790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10791 /* end confdefs.h. */
10793 /* Override any GCC internal prototype to avoid an error.
10794 Use char because int might match the return type of a GCC
10795 builtin and then its argument prototype would still apply. */
10796 #ifdef __cplusplus
10797 extern "C"
10798 #endif
10799 char xmlSchemaSetValidStructuredErrors ();
10801 main ()
10803 return xmlSchemaSetValidStructuredErrors ();
10805 return 0;
10807 _ACEOF
10808 if ac_fn_c_try_link "$LINENO"; then :
10809 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
10810 else
10811 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
10813 rm -f core conftest.err conftest.$ac_objext \
10814 conftest$ac_exeext conftest.$ac_ext
10815 LIBS=$ac_check_lib_save_LIBS
10817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10818 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10819 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
10821 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10826 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10827 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
10828 $as_echo_n "(cached) " >&6
10829 else
10830 ac_check_lib_save_LIBS=$LIBS
10831 LIBS="-lxml2 $XML2_LIBS $LIBS"
10832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10833 /* end confdefs.h. */
10835 /* Override any GCC internal prototype to avoid an error.
10836 Use char because int might match the return type of a GCC
10837 builtin and then its argument prototype would still apply. */
10838 #ifdef __cplusplus
10839 extern "C"
10840 #endif
10841 char xmlFirstElementChild ();
10843 main ()
10845 return xmlFirstElementChild ();
10847 return 0;
10849 _ACEOF
10850 if ac_fn_c_try_link "$LINENO"; then :
10851 ac_cv_lib_xml2_xmlFirstElementChild=yes
10852 else
10853 ac_cv_lib_xml2_xmlFirstElementChild=no
10855 rm -f core conftest.err conftest.$ac_objext \
10856 conftest$ac_exeext conftest.$ac_ext
10857 LIBS=$ac_check_lib_save_LIBS
10859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10860 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10861 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
10863 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10867 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10869 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
10871 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10875 else
10876 XML2_CFLAGS=""
10877 XML2_LIBS=""
10879 CPPFLAGS=$ac_save_CPPFLAGS
10880 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10881 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10884 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10885 case "x$with_xml" in
10886 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10887 xno) ;;
10888 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10889 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10890 esac
10893 if test "x$with_xslt" != "xno"
10894 then
10895 if ${XSLT_CFLAGS:+false} :; then :
10896 if ${PKG_CONFIG+:} false; then :
10897 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10900 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10901 if ${XSLT_LIBS:+false} :; then :
10902 if ${PKG_CONFIG+:} false; then :
10903 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10906 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10907 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
10908 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
10909 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
10910 ac_save_CPPFLAGS=$CPPFLAGS
10911 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
10912 for ac_header in libxslt/pattern.h libxslt/transform.h
10913 do :
10914 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10915 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10916 # include <libxslt/pattern.h>
10917 #endif
10919 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10920 cat >>confdefs.h <<_ACEOF
10921 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10922 _ACEOF
10926 done
10928 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10929 then
10930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10931 $as_echo_n "checking for -lxslt... " >&6; }
10932 if ${ac_cv_lib_soname_xslt+:} false; then :
10933 $as_echo_n "(cached) " >&6
10934 else
10935 ac_check_soname_save_LIBS=$LIBS
10936 LIBS="-lxslt $XSLT_LIBS $LIBS"
10937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10938 /* end confdefs.h. */
10940 /* Override any GCC internal prototype to avoid an error.
10941 Use char because int might match the return type of a GCC
10942 builtin and then its argument prototype would still apply. */
10943 #ifdef __cplusplus
10944 extern "C"
10945 #endif
10946 char xsltCompilePattern ();
10948 main ()
10950 return xsltCompilePattern ();
10952 return 0;
10954 _ACEOF
10955 if ac_fn_c_try_link "$LINENO"; then :
10956 case "$LIBEXT" in
10957 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10958 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'` ;;
10959 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10960 if ${ac_cv_lib_soname_xslt:+false} :; then :
10961 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10962 fi ;;
10963 esac
10965 rm -f core conftest.err conftest.$ac_objext \
10966 conftest$ac_exeext conftest.$ac_ext
10967 LIBS=$ac_check_soname_save_LIBS
10969 if ${ac_cv_lib_soname_xslt:+false} :; then :
10970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10971 $as_echo "not found" >&6; }
10973 else
10974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
10975 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
10977 cat >>confdefs.h <<_ACEOF
10978 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
10979 _ACEOF
10983 else
10984 XSLT_CFLAGS=""
10986 CPPFLAGS=$ac_save_CPPFLAGS
10987 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10988 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10991 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10992 case "x$with_xslt" in
10993 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
10994 xno) ;;
10995 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
10996 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
10997 esac
11000 if test "x$with_dbus" != "xno"
11001 then
11002 if ${DBUS_CFLAGS:+false} :; then :
11003 if ${PKG_CONFIG+:} false; then :
11004 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11008 if ${DBUS_LIBS:+false} :; then :
11009 if ${PKG_CONFIG+:} false; then :
11010 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11015 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11016 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11017 ac_save_CPPFLAGS=$CPPFLAGS
11018 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11019 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11020 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11022 $as_echo_n "checking for -ldbus-1... " >&6; }
11023 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11024 $as_echo_n "(cached) " >&6
11025 else
11026 ac_check_soname_save_LIBS=$LIBS
11027 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11029 /* end confdefs.h. */
11031 /* Override any GCC internal prototype to avoid an error.
11032 Use char because int might match the return type of a GCC
11033 builtin and then its argument prototype would still apply. */
11034 #ifdef __cplusplus
11035 extern "C"
11036 #endif
11037 char dbus_connection_close ();
11039 main ()
11041 return dbus_connection_close ();
11043 return 0;
11045 _ACEOF
11046 if ac_fn_c_try_link "$LINENO"; then :
11047 case "$LIBEXT" in
11048 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11049 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'` ;;
11050 *) 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'`
11051 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11052 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11053 fi ;;
11054 esac
11056 rm -f core conftest.err conftest.$ac_objext \
11057 conftest$ac_exeext conftest.$ac_ext
11058 LIBS=$ac_check_soname_save_LIBS
11060 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11062 $as_echo "not found" >&6; }
11063 DBUS_CFLAGS=""
11064 else
11065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11066 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11068 cat >>confdefs.h <<_ACEOF
11069 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11070 _ACEOF
11074 else
11075 DBUS_CFLAGS=""
11079 CPPFLAGS=$ac_save_CPPFLAGS
11080 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11081 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11084 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11085 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11086 case "x$with_dbus" in
11087 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11088 xno) ;;
11089 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11090 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11091 esac
11094 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11095 then
11096 if ${HAL_CFLAGS:+false} :; then :
11097 if ${PKG_CONFIG+:} false; then :
11098 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11102 if ${HAL_LIBS:+false} :; then :
11103 if ${PKG_CONFIG+:} false; then :
11104 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11108 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11109 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11110 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11111 ac_save_CPPFLAGS=$CPPFLAGS
11112 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11113 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11114 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11116 $as_echo_n "checking for -lhal... " >&6; }
11117 if ${ac_cv_lib_soname_hal+:} false; then :
11118 $as_echo_n "(cached) " >&6
11119 else
11120 ac_check_soname_save_LIBS=$LIBS
11121 LIBS="-lhal $HAL_LIBS $LIBS"
11122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11123 /* end confdefs.h. */
11125 /* Override any GCC internal prototype to avoid an error.
11126 Use char because int might match the return type of a GCC
11127 builtin and then its argument prototype would still apply. */
11128 #ifdef __cplusplus
11129 extern "C"
11130 #endif
11131 char libhal_ctx_new ();
11133 main ()
11135 return libhal_ctx_new ();
11137 return 0;
11139 _ACEOF
11140 if ac_fn_c_try_link "$LINENO"; then :
11141 case "$LIBEXT" in
11142 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11143 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'` ;;
11144 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11145 if ${ac_cv_lib_soname_hal:+false} :; then :
11146 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11147 fi ;;
11148 esac
11150 rm -f core conftest.err conftest.$ac_objext \
11151 conftest$ac_exeext conftest.$ac_ext
11152 LIBS=$ac_check_soname_save_LIBS
11154 if ${ac_cv_lib_soname_hal:+false} :; then :
11155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11156 $as_echo "not found" >&6; }
11157 HAL_CFLAGS=""
11158 else
11159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11160 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11162 cat >>confdefs.h <<_ACEOF
11163 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11164 _ACEOF
11168 else
11169 HAL_CFLAGS=""
11173 CPPFLAGS=$ac_save_CPPFLAGS
11174 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11175 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11177 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11178 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11179 case "x$with_hal" in
11180 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11181 xno) ;;
11182 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11183 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11184 esac
11188 if test "x$with_gnutls" != "xno"
11189 then
11190 if ${GNUTLS_CFLAGS:+false} :; then :
11191 if ${PKG_CONFIG+:} false; then :
11192 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11196 if ${GNUTLS_LIBS:+false} :; then :
11197 if ${PKG_CONFIG+:} false; then :
11198 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11203 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11204 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11205 ac_save_CPPFLAGS=$CPPFLAGS
11206 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11207 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11208 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11210 /* end confdefs.h. */
11211 #include <gnutls/gnutls.h>
11212 #include <gnutls/crypto.h>
11214 main ()
11216 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11218 return 0;
11220 _ACEOF
11221 if ac_fn_c_try_compile "$LINENO"; then :
11222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11223 $as_echo_n "checking for -lgnutls... " >&6; }
11224 if ${ac_cv_lib_soname_gnutls+:} false; then :
11225 $as_echo_n "(cached) " >&6
11226 else
11227 ac_check_soname_save_LIBS=$LIBS
11228 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11230 /* end confdefs.h. */
11232 /* Override any GCC internal prototype to avoid an error.
11233 Use char because int might match the return type of a GCC
11234 builtin and then its argument prototype would still apply. */
11235 #ifdef __cplusplus
11236 extern "C"
11237 #endif
11238 char gnutls_global_init ();
11240 main ()
11242 return gnutls_global_init ();
11244 return 0;
11246 _ACEOF
11247 if ac_fn_c_try_link "$LINENO"; then :
11248 case "$LIBEXT" in
11249 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11250 dylib) ac_cv_lib_soname_gnutls=`otool -L conftest$ac_exeext | grep "libgnutls\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libgnutls\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11251 *) ac_cv_lib_soname_gnutls=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11252 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11253 ac_cv_lib_soname_gnutls=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11254 fi ;;
11255 esac
11257 rm -f core conftest.err conftest.$ac_objext \
11258 conftest$ac_exeext conftest.$ac_ext
11259 LIBS=$ac_check_soname_save_LIBS
11261 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11263 $as_echo "not found" >&6; }
11264 GNUTLS_CFLAGS=""
11265 else
11266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11267 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11269 cat >>confdefs.h <<_ACEOF
11270 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11271 _ACEOF
11276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11277 else
11278 GNUTLS_CFLAGS=""
11282 CPPFLAGS=$ac_save_CPPFLAGS
11283 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11284 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11287 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11288 case "x$with_gnutls" in
11289 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11290 xno) ;;
11291 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11292 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11293 esac
11296 CURSES_LIBS=""
11297 if test "$ac_cv_header_ncurses_h" = "yes"
11298 then
11299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11300 $as_echo_n "checking for -lncurses... " >&6; }
11301 if ${ac_cv_lib_soname_ncurses+:} false; then :
11302 $as_echo_n "(cached) " >&6
11303 else
11304 ac_check_soname_save_LIBS=$LIBS
11305 LIBS="-lncurses $LIBS"
11306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11307 /* end confdefs.h. */
11309 /* Override any GCC internal prototype to avoid an error.
11310 Use char because int might match the return type of a GCC
11311 builtin and then its argument prototype would still apply. */
11312 #ifdef __cplusplus
11313 extern "C"
11314 #endif
11315 char waddch ();
11317 main ()
11319 return waddch ();
11321 return 0;
11323 _ACEOF
11324 if ac_fn_c_try_link "$LINENO"; then :
11325 case "$LIBEXT" in
11326 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11327 dylib) ac_cv_lib_soname_ncurses=`otool -L conftest$ac_exeext | grep "libncurses\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libncurses\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11328 *) ac_cv_lib_soname_ncurses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11329 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11330 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11331 fi ;;
11332 esac
11334 rm -f core conftest.err conftest.$ac_objext \
11335 conftest$ac_exeext conftest.$ac_ext
11336 LIBS=$ac_check_soname_save_LIBS
11338 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11340 $as_echo "not found" >&6; }
11342 else
11343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11344 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11346 cat >>confdefs.h <<_ACEOF
11347 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11348 _ACEOF
11350 CURSES_LIBS="-lncurses"
11352 elif test "$ac_cv_header_curses_h" = "yes"
11353 then
11354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11355 $as_echo_n "checking for -lcurses... " >&6; }
11356 if ${ac_cv_lib_soname_curses+:} false; then :
11357 $as_echo_n "(cached) " >&6
11358 else
11359 ac_check_soname_save_LIBS=$LIBS
11360 LIBS="-lcurses $LIBS"
11361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11362 /* end confdefs.h. */
11364 /* Override any GCC internal prototype to avoid an error.
11365 Use char because int might match the return type of a GCC
11366 builtin and then its argument prototype would still apply. */
11367 #ifdef __cplusplus
11368 extern "C"
11369 #endif
11370 char waddch ();
11372 main ()
11374 return waddch ();
11376 return 0;
11378 _ACEOF
11379 if ac_fn_c_try_link "$LINENO"; then :
11380 case "$LIBEXT" in
11381 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11382 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'` ;;
11383 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11384 if ${ac_cv_lib_soname_curses:+false} :; then :
11385 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11386 fi ;;
11387 esac
11389 rm -f core conftest.err conftest.$ac_objext \
11390 conftest$ac_exeext conftest.$ac_ext
11391 LIBS=$ac_check_soname_save_LIBS
11393 if ${ac_cv_lib_soname_curses:+false} :; then :
11394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11395 $as_echo "not found" >&6; }
11397 else
11398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11399 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11401 cat >>confdefs.h <<_ACEOF
11402 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11403 _ACEOF
11405 CURSES_LIBS="-lcurses"
11408 ac_save_LIBS="$LIBS"
11409 LIBS="$LIBS $CURSES_LIBS"
11410 for ac_func in mousemask
11411 do :
11412 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11413 if test "x$ac_cv_func_mousemask" = xyes; then :
11414 cat >>confdefs.h <<_ACEOF
11415 #define HAVE_MOUSEMASK 1
11416 _ACEOF
11419 done
11421 LIBS="$ac_save_LIBS"
11422 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11423 case "x$with_curses" in
11424 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11425 xno) ;;
11426 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11427 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11428 esac
11431 if test "x$with_sane" != "xno"
11432 then
11433 if ${SANE_CFLAGS:+false} :; then :
11434 if ${PKG_CONFIG+:} false; then :
11435 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11438 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11439 if ${SANE_LIBS:+false} :; then :
11440 if ${PKG_CONFIG+:} false; then :
11441 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11444 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11446 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11447 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11448 ac_save_CPPFLAGS=$CPPFLAGS
11449 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11450 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11451 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11453 $as_echo_n "checking for -lsane... " >&6; }
11454 if ${ac_cv_lib_soname_sane+:} false; then :
11455 $as_echo_n "(cached) " >&6
11456 else
11457 ac_check_soname_save_LIBS=$LIBS
11458 LIBS="-lsane $SANE_LIBS $LIBS"
11459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11460 /* end confdefs.h. */
11462 /* Override any GCC internal prototype to avoid an error.
11463 Use char because int might match the return type of a GCC
11464 builtin and then its argument prototype would still apply. */
11465 #ifdef __cplusplus
11466 extern "C"
11467 #endif
11468 char sane_init ();
11470 main ()
11472 return sane_init ();
11474 return 0;
11476 _ACEOF
11477 if ac_fn_c_try_link "$LINENO"; then :
11478 case "$LIBEXT" in
11479 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11480 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'` ;;
11481 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11482 if ${ac_cv_lib_soname_sane:+false} :; then :
11483 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11484 fi ;;
11485 esac
11487 rm -f core conftest.err conftest.$ac_objext \
11488 conftest$ac_exeext conftest.$ac_ext
11489 LIBS=$ac_check_soname_save_LIBS
11491 if ${ac_cv_lib_soname_sane:+false} :; then :
11492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11493 $as_echo "not found" >&6; }
11494 SANE_CFLAGS=""
11495 else
11496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11497 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11499 cat >>confdefs.h <<_ACEOF
11500 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11501 _ACEOF
11505 else
11506 SANE_CFLAGS=""
11510 CPPFLAGS=$ac_save_CPPFLAGS
11511 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11512 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11515 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11516 case "x$with_sane" in
11517 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11518 xno) ;;
11519 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11520 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11521 esac
11524 if test "x$with_v4l" != "xno"
11525 then
11526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11527 $as_echo_n "checking for -lv4l1... " >&6; }
11528 if ${ac_cv_lib_soname_v4l1+:} false; then :
11529 $as_echo_n "(cached) " >&6
11530 else
11531 ac_check_soname_save_LIBS=$LIBS
11532 LIBS="-lv4l1 $LIBS"
11533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11534 /* end confdefs.h. */
11536 /* Override any GCC internal prototype to avoid an error.
11537 Use char because int might match the return type of a GCC
11538 builtin and then its argument prototype would still apply. */
11539 #ifdef __cplusplus
11540 extern "C"
11541 #endif
11542 char v4l1_open ();
11544 main ()
11546 return v4l1_open ();
11548 return 0;
11550 _ACEOF
11551 if ac_fn_c_try_link "$LINENO"; then :
11552 case "$LIBEXT" in
11553 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11554 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'` ;;
11555 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11556 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11557 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11558 fi ;;
11559 esac
11561 rm -f core conftest.err conftest.$ac_objext \
11562 conftest$ac_exeext conftest.$ac_ext
11563 LIBS=$ac_check_soname_save_LIBS
11565 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11567 $as_echo "not found" >&6; }
11569 else
11570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11571 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11573 cat >>confdefs.h <<_ACEOF
11574 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11575 _ACEOF
11580 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11581 case "x$with_v4l" in
11582 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11583 xno) ;;
11584 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11585 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11586 esac
11589 if test "x$with_gphoto" != "xno"
11590 then
11591 if ${GPHOTO2_CFLAGS:+false} :; then :
11592 if ${PKG_CONFIG+:} false; then :
11593 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11596 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11597 if ${GPHOTO2_LIBS:+false} :; then :
11598 if ${PKG_CONFIG+:} false; then :
11599 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11602 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11603 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11604 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11605 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11606 ac_save_CPPFLAGS=$CPPFLAGS
11607 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11608 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11609 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11611 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11612 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11613 $as_echo_n "(cached) " >&6
11614 else
11615 ac_check_lib_save_LIBS=$LIBS
11616 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11618 /* end confdefs.h. */
11620 /* Override any GCC internal prototype to avoid an error.
11621 Use char because int might match the return type of a GCC
11622 builtin and then its argument prototype would still apply. */
11623 #ifdef __cplusplus
11624 extern "C"
11625 #endif
11626 char gp_camera_new ();
11628 main ()
11630 return gp_camera_new ();
11632 return 0;
11634 _ACEOF
11635 if ac_fn_c_try_link "$LINENO"; then :
11636 ac_cv_lib_gphoto2_gp_camera_new=yes
11637 else
11638 ac_cv_lib_gphoto2_gp_camera_new=no
11640 rm -f core conftest.err conftest.$ac_objext \
11641 conftest$ac_exeext conftest.$ac_ext
11642 LIBS=$ac_check_lib_save_LIBS
11644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11645 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11646 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11648 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11650 else
11651 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11654 else
11655 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11659 CPPFLAGS=$ac_save_CPPFLAGS
11660 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11661 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11663 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11664 if ${PKG_CONFIG+:} false; then :
11665 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11668 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11669 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11670 if ${PKG_CONFIG+:} false; then :
11671 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11674 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11675 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11676 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11677 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11678 ac_save_CPPFLAGS=$CPPFLAGS
11679 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11680 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11681 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11683 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11684 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11685 $as_echo_n "(cached) " >&6
11686 else
11687 ac_check_lib_save_LIBS=$LIBS
11688 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11690 /* end confdefs.h. */
11692 /* Override any GCC internal prototype to avoid an error.
11693 Use char because int might match the return type of a GCC
11694 builtin and then its argument prototype would still apply. */
11695 #ifdef __cplusplus
11696 extern "C"
11697 #endif
11698 char gp_port_info_list_new ();
11700 main ()
11702 return gp_port_info_list_new ();
11704 return 0;
11706 _ACEOF
11707 if ac_fn_c_try_link "$LINENO"; then :
11708 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
11709 else
11710 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
11712 rm -f core conftest.err conftest.$ac_objext \
11713 conftest$ac_exeext conftest.$ac_ext
11714 LIBS=$ac_check_lib_save_LIBS
11716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11717 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11718 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
11720 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11722 else
11723 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11726 else
11727 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11731 CPPFLAGS=$ac_save_CPPFLAGS
11732 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11733 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11736 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11737 case "x$with_gphoto" in
11738 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11739 xno) ;;
11740 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11741 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11742 esac
11744 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11745 case "x$with_gphoto" in
11746 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11747 xno) ;;
11748 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11749 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11750 esac
11754 if test "$ac_cv_header_resolv_h" = "yes"
11755 then
11756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11757 $as_echo_n "checking for resolver library... " >&6; }
11758 if ${ac_cv_have_resolv+:} false; then :
11759 $as_echo_n "(cached) " >&6
11760 else
11761 ac_save_LIBS="$LIBS"
11762 for lib in '' -lresolv
11764 LIBS="$lib $ac_save_LIBS"
11765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11766 /* end confdefs.h. */
11767 #ifdef HAVE_NETINET_IN_H
11768 #include <netinet/in.h>
11769 #endif
11770 #include <resolv.h>
11772 main ()
11774 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11776 return 0;
11778 _ACEOF
11779 if ac_fn_c_try_link "$LINENO"; then :
11780 ac_cv_have_resolv=${lib:-"none required"}
11781 else
11782 ac_cv_have_resolv="not found"
11784 rm -f core conftest.err conftest.$ac_objext \
11785 conftest$ac_exeext conftest.$ac_ext
11786 test "x$ac_cv_have_resolv" = "xnot found" || break
11787 done
11788 LIBS="$ac_save_LIBS"
11790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
11791 $as_echo "$ac_cv_have_resolv" >&6; }
11793 case "$ac_cv_have_resolv" in
11794 "not found") ;;
11795 "none required")
11797 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11800 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11802 RESOLV_LIBS=$ac_cv_have_resolv
11804 esac
11807 if test "x$with_lcms2" != "xno"
11808 then
11809 if ${LCMS2_CFLAGS:+false} :; then :
11810 if ${PKG_CONFIG+:} false; then :
11811 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11815 if ${LCMS2_LIBS:+false} :; then :
11816 if ${PKG_CONFIG+:} false; then :
11817 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11821 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
11822 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11823 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
11824 ac_save_CPPFLAGS=$CPPFLAGS
11825 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
11826 for ac_header in lcms2.h
11827 do :
11828 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11829 if test "x$ac_cv_header_lcms2_h" = xyes; then :
11830 cat >>confdefs.h <<_ACEOF
11831 #define HAVE_LCMS2_H 1
11832 _ACEOF
11836 done
11838 if test "$ac_cv_header_lcms2_h" = "yes"
11839 then
11840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11841 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11842 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
11843 $as_echo_n "(cached) " >&6
11844 else
11845 ac_check_lib_save_LIBS=$LIBS
11846 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
11847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11848 /* end confdefs.h. */
11850 /* Override any GCC internal prototype to avoid an error.
11851 Use char because int might match the return type of a GCC
11852 builtin and then its argument prototype would still apply. */
11853 #ifdef __cplusplus
11854 extern "C"
11855 #endif
11856 char cmsOpenProfileFromFile ();
11858 main ()
11860 return cmsOpenProfileFromFile ();
11862 return 0;
11864 _ACEOF
11865 if ac_fn_c_try_link "$LINENO"; then :
11866 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
11867 else
11868 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
11870 rm -f core conftest.err conftest.$ac_objext \
11871 conftest$ac_exeext conftest.$ac_ext
11872 LIBS=$ac_check_lib_save_LIBS
11874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11875 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11876 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
11878 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11880 else
11881 LCMS2_LIBS=""
11884 else
11885 LCMS2_CFLAGS=""
11886 LCMS2_LIBS=""
11888 CPPFLAGS=$ac_save_CPPFLAGS
11889 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11890 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11893 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11894 case "x$with_cms" in
11895 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11896 xno) ;;
11897 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11898 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11899 esac
11902 if test "x$with_freetype" != "xno"
11903 then
11904 if ${FREETYPE_CFLAGS:+false} :; then :
11905 if ${PKG_CONFIG+:} false; then :
11906 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11909 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11910 if ${FREETYPE_LIBS:+false} :; then :
11911 if ${PKG_CONFIG+:} false; then :
11912 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11915 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11916 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
11917 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
11918 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
11919 ac_save_CPPFLAGS=$CPPFLAGS
11920 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
11921 for ac_header in ft2build.h
11922 do :
11923 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
11924 if test "x$ac_cv_header_ft2build_h" = xyes; then :
11925 cat >>confdefs.h <<_ACEOF
11926 #define HAVE_FT2BUILD_H 1
11927 _ACEOF
11931 done
11933 if test "$ac_cv_header_ft2build_h" = "yes"
11934 then
11935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11936 $as_echo_n "checking for -lfreetype... " >&6; }
11937 if ${ac_cv_lib_soname_freetype+:} false; then :
11938 $as_echo_n "(cached) " >&6
11939 else
11940 ac_check_soname_save_LIBS=$LIBS
11941 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
11942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11943 /* end confdefs.h. */
11945 /* Override any GCC internal prototype to avoid an error.
11946 Use char because int might match the return type of a GCC
11947 builtin and then its argument prototype would still apply. */
11948 #ifdef __cplusplus
11949 extern "C"
11950 #endif
11951 char FT_Init_FreeType ();
11953 main ()
11955 return FT_Init_FreeType ();
11957 return 0;
11959 _ACEOF
11960 if ac_fn_c_try_link "$LINENO"; then :
11961 case "$LIBEXT" in
11962 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11963 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'` ;;
11964 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11965 if ${ac_cv_lib_soname_freetype:+false} :; then :
11966 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11967 fi ;;
11968 esac
11970 rm -f core conftest.err conftest.$ac_objext \
11971 conftest$ac_exeext conftest.$ac_ext
11972 LIBS=$ac_check_soname_save_LIBS
11974 if ${ac_cv_lib_soname_freetype:+false} :; then :
11975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11976 $as_echo "not found" >&6; }
11977 FREETYPE_LIBS=""
11978 else
11979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
11980 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
11982 cat >>confdefs.h <<_ACEOF
11983 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
11984 _ACEOF
11987 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
11989 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
11990 #include FT_MODULE_H
11992 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
11994 cat >>confdefs.h <<_ACEOF
11995 #define HAVE_FT_TRUETYPEENGINETYPE 1
11996 _ACEOF
12002 else
12003 FREETYPE_CFLAGS=""
12004 FREETYPE_LIBS=""
12006 CPPFLAGS=$ac_save_CPPFLAGS
12007 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12008 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12011 if test "x$ac_cv_lib_soname_freetype" = x; then :
12012 case "x$with_freetype" in
12013 xno) ;;
12014 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12015 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12016 esac
12018 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
12020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12021 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12022 if ${ac_cv_c_ppdev+:} false; then :
12023 $as_echo_n "(cached) " >&6
12024 else
12025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12026 /* end confdefs.h. */
12027 #ifdef HAVE_SYS_IOCTL_H
12028 # include <sys/ioctl.h>
12029 #endif
12030 #include <linux/ppdev.h>
12032 main ()
12034 ioctl (1,PPCLAIM,0)
12036 return 0;
12038 _ACEOF
12039 if ac_fn_c_try_compile "$LINENO"; then :
12040 ac_cv_c_ppdev="yes"
12041 else
12042 ac_cv_c_ppdev="no"
12044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12047 $as_echo "$ac_cv_c_ppdev" >&6; }
12048 if test "$ac_cv_c_ppdev" = "yes"
12049 then
12051 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12055 ac_wine_check_funcs_save_LIBS="$LIBS"
12056 LIBS="$LIBS $PTHREAD_LIBS"
12057 for ac_func in \
12058 pthread_attr_get_np \
12059 pthread_getattr_np \
12060 pthread_getthreadid_np \
12061 pthread_get_stackaddr_np \
12062 pthread_get_stacksize_np
12063 do :
12064 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12065 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12066 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12067 cat >>confdefs.h <<_ACEOF
12068 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12069 _ACEOF
12072 done
12074 LIBS="$ac_wine_check_funcs_save_LIBS"
12076 if test "$ac_cv_header_zlib_h" = "yes"
12077 then
12078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12079 $as_echo_n "checking for inflate in -lz... " >&6; }
12080 if ${ac_cv_lib_z_inflate+:} false; then :
12081 $as_echo_n "(cached) " >&6
12082 else
12083 ac_check_lib_save_LIBS=$LIBS
12084 LIBS="-lz $LIBS"
12085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12086 /* end confdefs.h. */
12088 /* Override any GCC internal prototype to avoid an error.
12089 Use char because int might match the return type of a GCC
12090 builtin and then its argument prototype would still apply. */
12091 #ifdef __cplusplus
12092 extern "C"
12093 #endif
12094 char inflate ();
12096 main ()
12098 return inflate ();
12100 return 0;
12102 _ACEOF
12103 if ac_fn_c_try_link "$LINENO"; then :
12104 ac_cv_lib_z_inflate=yes
12105 else
12106 ac_cv_lib_z_inflate=no
12108 rm -f core conftest.err conftest.$ac_objext \
12109 conftest$ac_exeext conftest.$ac_ext
12110 LIBS=$ac_check_lib_save_LIBS
12112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12113 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12114 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12116 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12118 Z_LIBS="-lz"
12123 if test "x$Z_LIBS" = "x"; then :
12124 case "x$with_zlib" in
12125 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12126 xno) ;;
12127 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12128 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12129 esac
12132 if test "x$enable_tools" != xno
12133 then
12134 if test "$ac_cv_header_gettext_po_h" = "yes"
12135 then
12136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12137 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12138 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12139 $as_echo_n "(cached) " >&6
12140 else
12141 ac_check_lib_save_LIBS=$LIBS
12142 LIBS="-lgettextpo $LIBS"
12143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12144 /* end confdefs.h. */
12146 /* Override any GCC internal prototype to avoid an error.
12147 Use char because int might match the return type of a GCC
12148 builtin and then its argument prototype would still apply. */
12149 #ifdef __cplusplus
12150 extern "C"
12151 #endif
12152 char po_message_msgctxt ();
12154 main ()
12156 return po_message_msgctxt ();
12158 return 0;
12160 _ACEOF
12161 if ac_fn_c_try_link "$LINENO"; then :
12162 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12163 else
12164 ac_cv_lib_gettextpo_po_message_msgctxt=no
12166 rm -f core conftest.err conftest.$ac_objext \
12167 conftest$ac_exeext conftest.$ac_ext
12168 LIBS=$ac_check_lib_save_LIBS
12170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12171 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12172 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12174 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12176 GETTEXTPO_LIBS="-lgettextpo"
12181 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12182 case "x$with_gettextpo" in
12183 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12184 xno) ;;
12185 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12186 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12187 esac
12191 if test "x$with_gstreamer" != "xno"
12192 then
12193 if ${GSTREAMER_CFLAGS:+false} :; then :
12194 if ${PKG_CONFIG+:} false; then :
12195 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12199 if ${GSTREAMER_LIBS:+false} :; then :
12200 if ${PKG_CONFIG+:} false; then :
12201 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12206 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12207 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12208 ac_save_CPPFLAGS=$CPPFLAGS
12209 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12210 ac_gst_incl=""
12211 for i in $GSTREAMER_CFLAGS
12213 case "$i" in
12214 -I*) ac_gst_incl="$ac_gst_incl $i";;
12215 esac
12216 done
12217 GSTREAMER_CFLAGS=$ac_gst_incl
12218 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12219 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12220 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
12221 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12222 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
12223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12224 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12226 /* end confdefs.h. */
12227 #include <gst/app/gstappsink.h>
12229 main ()
12231 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12233 return 0;
12235 _ACEOF
12236 if ac_fn_c_try_compile "$LINENO"; then :
12237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12238 $as_echo "yes" >&6; }
12239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12240 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12241 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
12242 $as_echo_n "(cached) " >&6
12243 else
12244 ac_check_lib_save_LIBS=$LIBS
12245 LIBS="-lgstreamer-0.10 $LIBS"
12246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12247 /* end confdefs.h. */
12249 /* Override any GCC internal prototype to avoid an error.
12250 Use char because int might match the return type of a GCC
12251 builtin and then its argument prototype would still apply. */
12252 #ifdef __cplusplus
12253 extern "C"
12254 #endif
12255 char gst_pad_get_caps_reffed ();
12257 main ()
12259 return gst_pad_get_caps_reffed ();
12261 return 0;
12263 _ACEOF
12264 if ac_fn_c_try_link "$LINENO"; then :
12265 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
12266 else
12267 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
12269 rm -f core conftest.err conftest.$ac_objext \
12270 conftest$ac_exeext conftest.$ac_ext
12271 LIBS=$ac_check_lib_save_LIBS
12273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12274 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12275 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
12276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12277 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12278 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
12279 $as_echo_n "(cached) " >&6
12280 else
12281 ac_check_lib_save_LIBS=$LIBS
12282 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12284 /* end confdefs.h. */
12286 /* Override any GCC internal prototype to avoid an error.
12287 Use char because int might match the return type of a GCC
12288 builtin and then its argument prototype would still apply. */
12289 #ifdef __cplusplus
12290 extern "C"
12291 #endif
12292 char gst_app_buffer_new ();
12294 main ()
12296 return gst_app_buffer_new ();
12298 return 0;
12300 _ACEOF
12301 if ac_fn_c_try_link "$LINENO"; then :
12302 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
12303 else
12304 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
12306 rm -f core conftest.err conftest.$ac_objext \
12307 conftest$ac_exeext conftest.$ac_ext
12308 LIBS=$ac_check_lib_save_LIBS
12310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12311 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12312 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
12318 else
12319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12320 $as_echo "no" >&6; }
12322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12326 else
12327 GSTREAMER_CFLAGS=""
12331 CPPFLAGS=$ac_save_CPPFLAGS
12332 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12333 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12336 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
12337 case "x$with_gstreamer" in
12338 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12339 xno) ;;
12340 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12341 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12342 esac
12344 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12346 ALSA_LIBS=""
12348 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12349 then
12350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12351 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12352 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12353 $as_echo_n "(cached) " >&6
12354 else
12355 ac_check_lib_save_LIBS=$LIBS
12356 LIBS="-lasound $LIBS"
12357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12358 /* end confdefs.h. */
12360 /* Override any GCC internal prototype to avoid an error.
12361 Use char because int might match the return type of a GCC
12362 builtin and then its argument prototype would still apply. */
12363 #ifdef __cplusplus
12364 extern "C"
12365 #endif
12366 char snd_pcm_hw_params_get_access_mask ();
12368 main ()
12370 return snd_pcm_hw_params_get_access_mask ();
12372 return 0;
12374 _ACEOF
12375 if ac_fn_c_try_link "$LINENO"; then :
12376 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12377 else
12378 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12380 rm -f core conftest.err conftest.$ac_objext \
12381 conftest$ac_exeext conftest.$ac_ext
12382 LIBS=$ac_check_lib_save_LIBS
12384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12385 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12386 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12388 /* end confdefs.h. */
12389 #ifdef HAVE_ALSA_ASOUNDLIB_H
12390 #include <alsa/asoundlib.h>
12391 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12392 #include <sys/asoundlib.h>
12393 #endif
12395 main ()
12397 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12399 return 0;
12401 _ACEOF
12402 if ac_fn_c_try_compile "$LINENO"; then :
12403 ALSA_LIBS="-lasound"
12405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12410 if test "x$with_oss" != xno
12411 then
12412 ac_save_CPPFLAGS="$CPPFLAGS"
12413 if test -f /etc/oss.conf
12414 then
12415 . /etc/oss.conf
12417 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12418 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12419 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12420 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12421 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12423 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12425 cat >>confdefs.h <<_ACEOF
12426 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12427 _ACEOF
12429 OSS4_CFLAGS="$ac_oss_incl"
12436 CPPFLAGS="$ac_save_CPPFLAGS"
12437 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12438 then
12439 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12443 if test "x$with_capi" != "xno"
12444 then
12445 if ${CAPI20_CFLAGS:+false} :; then :
12446 if ${PKG_CONFIG+:} false; then :
12447 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12451 if ${CAPI20_LIBS:+false} :; then :
12452 if ${PKG_CONFIG+:} false; then :
12453 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12458 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12459 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12460 ac_save_CPPFLAGS=$CPPFLAGS
12461 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12462 for ac_header in capi20.h linux/capi.h
12463 do :
12464 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12465 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12467 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12468 cat >>confdefs.h <<_ACEOF
12469 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12470 _ACEOF
12474 done
12476 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12477 then
12478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12479 $as_echo_n "checking for -lcapi20... " >&6; }
12480 if ${ac_cv_lib_soname_capi20+:} false; then :
12481 $as_echo_n "(cached) " >&6
12482 else
12483 ac_check_soname_save_LIBS=$LIBS
12484 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12486 /* end confdefs.h. */
12488 /* Override any GCC internal prototype to avoid an error.
12489 Use char because int might match the return type of a GCC
12490 builtin and then its argument prototype would still apply. */
12491 #ifdef __cplusplus
12492 extern "C"
12493 #endif
12494 char capi20_register ();
12496 main ()
12498 return capi20_register ();
12500 return 0;
12502 _ACEOF
12503 if ac_fn_c_try_link "$LINENO"; then :
12504 case "$LIBEXT" in
12505 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12506 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'` ;;
12507 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12508 if ${ac_cv_lib_soname_capi20:+false} :; then :
12509 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12510 fi ;;
12511 esac
12513 rm -f core conftest.err conftest.$ac_objext \
12514 conftest$ac_exeext conftest.$ac_ext
12515 LIBS=$ac_check_soname_save_LIBS
12517 if ${ac_cv_lib_soname_capi20:+false} :; then :
12518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12519 $as_echo "not found" >&6; }
12521 else
12522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12523 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12525 cat >>confdefs.h <<_ACEOF
12526 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12527 _ACEOF
12532 CPPFLAGS=$ac_save_CPPFLAGS
12533 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12534 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12537 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12538 case "x$with_capi" in
12539 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12540 xno) ;;
12541 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12542 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12543 esac
12546 CUPS_CFLAGS=""
12548 if test "x$with_cups" != "xno"
12549 then
12550 ac_save_CPPFLAGS="$CPPFLAGS"
12551 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12552 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12553 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12554 for ac_header in cups/cups.h
12555 do :
12556 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12557 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12558 cat >>confdefs.h <<_ACEOF
12559 #define HAVE_CUPS_CUPS_H 1
12560 _ACEOF
12561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12562 $as_echo_n "checking for -lcups... " >&6; }
12563 if ${ac_cv_lib_soname_cups+:} false; then :
12564 $as_echo_n "(cached) " >&6
12565 else
12566 ac_check_soname_save_LIBS=$LIBS
12567 LIBS="-lcups $ac_cups_libs $LIBS"
12568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12569 /* end confdefs.h. */
12571 /* Override any GCC internal prototype to avoid an error.
12572 Use char because int might match the return type of a GCC
12573 builtin and then its argument prototype would still apply. */
12574 #ifdef __cplusplus
12575 extern "C"
12576 #endif
12577 char cupsGetDefault ();
12579 main ()
12581 return cupsGetDefault ();
12583 return 0;
12585 _ACEOF
12586 if ac_fn_c_try_link "$LINENO"; then :
12587 case "$LIBEXT" in
12588 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12589 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'` ;;
12590 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12591 if ${ac_cv_lib_soname_cups:+false} :; then :
12592 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12593 fi ;;
12594 esac
12596 rm -f core conftest.err conftest.$ac_objext \
12597 conftest$ac_exeext conftest.$ac_ext
12598 LIBS=$ac_check_soname_save_LIBS
12600 if ${ac_cv_lib_soname_cups:+false} :; then :
12601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12602 $as_echo "not found" >&6; }
12604 else
12605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12606 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12608 cat >>confdefs.h <<_ACEOF
12609 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12610 _ACEOF
12612 CUPS_CFLAGS="$ac_cups_cflags"
12616 done
12618 CPPFLAGS="$ac_save_CPPFLAGS"
12620 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12621 case "x$with_cups" in
12622 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12623 xno) ;;
12624 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12625 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12626 esac
12629 if test "x$with_fontconfig" != "xno"
12630 then
12631 if ${FONTCONFIG_CFLAGS:+false} :; then :
12632 if ${PKG_CONFIG+:} false; then :
12633 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12636 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12637 if ${FONTCONFIG_LIBS:+false} :; then :
12638 if ${PKG_CONFIG+:} false; then :
12639 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12642 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
12644 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12645 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12646 ac_save_CPPFLAGS=$CPPFLAGS
12647 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
12648 for ac_header in fontconfig/fontconfig.h
12649 do :
12650 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12651 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
12652 cat >>confdefs.h <<_ACEOF
12653 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12654 _ACEOF
12658 done
12660 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12661 then
12662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12663 $as_echo_n "checking for -lfontconfig... " >&6; }
12664 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12665 $as_echo_n "(cached) " >&6
12666 else
12667 ac_check_soname_save_LIBS=$LIBS
12668 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12670 /* end confdefs.h. */
12672 /* Override any GCC internal prototype to avoid an error.
12673 Use char because int might match the return type of a GCC
12674 builtin and then its argument prototype would still apply. */
12675 #ifdef __cplusplus
12676 extern "C"
12677 #endif
12678 char FcInit ();
12680 main ()
12682 return FcInit ();
12684 return 0;
12686 _ACEOF
12687 if ac_fn_c_try_link "$LINENO"; then :
12688 case "$LIBEXT" in
12689 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12690 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'` ;;
12691 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12692 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12693 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12694 fi ;;
12695 esac
12697 rm -f core conftest.err conftest.$ac_objext \
12698 conftest$ac_exeext conftest.$ac_ext
12699 LIBS=$ac_check_soname_save_LIBS
12701 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12703 $as_echo "not found" >&6; }
12704 FONTCONFIG_CFLAGS=""
12705 else
12706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12707 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12709 cat >>confdefs.h <<_ACEOF
12710 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12711 _ACEOF
12715 else
12716 FONTCONFIG_CFLAGS=""
12718 CPPFLAGS=$ac_save_CPPFLAGS
12719 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12720 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12723 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12724 case "x$with_fontconfig" in
12725 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12726 xno) ;;
12727 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12728 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12729 esac
12732 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12733 then
12734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12735 $as_echo_n "checking for -lgsm... " >&6; }
12736 if ${ac_cv_lib_soname_gsm+:} false; then :
12737 $as_echo_n "(cached) " >&6
12738 else
12739 ac_check_soname_save_LIBS=$LIBS
12740 LIBS="-lgsm $LIBS"
12741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12742 /* end confdefs.h. */
12744 /* Override any GCC internal prototype to avoid an error.
12745 Use char because int might match the return type of a GCC
12746 builtin and then its argument prototype would still apply. */
12747 #ifdef __cplusplus
12748 extern "C"
12749 #endif
12750 char gsm_create ();
12752 main ()
12754 return gsm_create ();
12756 return 0;
12758 _ACEOF
12759 if ac_fn_c_try_link "$LINENO"; then :
12760 case "$LIBEXT" in
12761 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12762 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'` ;;
12763 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12764 if ${ac_cv_lib_soname_gsm:+false} :; then :
12765 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12766 fi ;;
12767 esac
12769 rm -f core conftest.err conftest.$ac_objext \
12770 conftest$ac_exeext conftest.$ac_ext
12771 LIBS=$ac_check_soname_save_LIBS
12773 if ${ac_cv_lib_soname_gsm:+false} :; then :
12774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12775 $as_echo "not found" >&6; }
12777 else
12778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12779 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12781 cat >>confdefs.h <<_ACEOF
12782 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12783 _ACEOF
12788 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12789 case "x$with_gsm" in
12790 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12791 xno) ;;
12792 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12793 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12794 esac
12797 if test "x$with_jpeg" != "xno"
12798 then
12799 if ${JPEG_CFLAGS:+false} :; then :
12800 if ${PKG_CONFIG+:} false; then :
12801 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12805 if ${JPEG_LIBS:+false} :; then :
12806 if ${PKG_CONFIG+:} false; then :
12807 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12812 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12813 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12814 ac_save_CPPFLAGS=$CPPFLAGS
12815 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
12816 for ac_header in jpeglib.h
12817 do :
12818 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12819 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
12820 cat >>confdefs.h <<_ACEOF
12821 #define HAVE_JPEGLIB_H 1
12822 _ACEOF
12826 done
12828 if test "$ac_cv_header_jpeglib_h" = "yes"
12829 then
12830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12831 $as_echo_n "checking for -ljpeg... " >&6; }
12832 if ${ac_cv_lib_soname_jpeg+:} false; then :
12833 $as_echo_n "(cached) " >&6
12834 else
12835 ac_check_soname_save_LIBS=$LIBS
12836 LIBS="-ljpeg $JPEG_LIBS $LIBS"
12837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12838 /* end confdefs.h. */
12840 /* Override any GCC internal prototype to avoid an error.
12841 Use char because int might match the return type of a GCC
12842 builtin and then its argument prototype would still apply. */
12843 #ifdef __cplusplus
12844 extern "C"
12845 #endif
12846 char jpeg_start_decompress ();
12848 main ()
12850 return jpeg_start_decompress ();
12852 return 0;
12854 _ACEOF
12855 if ac_fn_c_try_link "$LINENO"; then :
12856 case "$LIBEXT" in
12857 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12858 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'` ;;
12859 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12860 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12861 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12862 fi ;;
12863 esac
12865 rm -f core conftest.err conftest.$ac_objext \
12866 conftest$ac_exeext conftest.$ac_ext
12867 LIBS=$ac_check_soname_save_LIBS
12869 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12871 $as_echo "not found" >&6; }
12872 JPEG_CFLAGS=""
12873 else
12874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12875 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12877 cat >>confdefs.h <<_ACEOF
12878 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12879 _ACEOF
12883 else
12884 JPEG_CFLAGS=""
12886 CPPFLAGS=$ac_save_CPPFLAGS
12887 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12888 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12891 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12892 case "x$with_jpeg" in
12893 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12894 xno) ;;
12895 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12896 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12897 esac
12900 if test "x$with_png" != "xno"
12901 then
12902 if ${PNG_CFLAGS:+false} :; then :
12903 if ${PKG_CONFIG+:} false; then :
12904 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12907 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
12908 if ${PNG_LIBS:+false} :; then :
12909 if ${PKG_CONFIG+:} false; then :
12910 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
12913 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
12915 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
12916 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
12917 ac_save_CPPFLAGS=$CPPFLAGS
12918 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
12919 for ac_header in png.h
12920 do :
12921 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12922 if test "x$ac_cv_header_png_h" = xyes; then :
12923 cat >>confdefs.h <<_ACEOF
12924 #define HAVE_PNG_H 1
12925 _ACEOF
12929 done
12931 if test "$ac_cv_header_png_h" = "yes"
12932 then
12933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12934 $as_echo_n "checking for -lpng... " >&6; }
12935 if ${ac_cv_lib_soname_png+:} false; then :
12936 $as_echo_n "(cached) " >&6
12937 else
12938 ac_check_soname_save_LIBS=$LIBS
12939 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
12940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12941 /* end confdefs.h. */
12943 /* Override any GCC internal prototype to avoid an error.
12944 Use char because int might match the return type of a GCC
12945 builtin and then its argument prototype would still apply. */
12946 #ifdef __cplusplus
12947 extern "C"
12948 #endif
12949 char png_create_read_struct ();
12951 main ()
12953 return png_create_read_struct ();
12955 return 0;
12957 _ACEOF
12958 if ac_fn_c_try_link "$LINENO"; then :
12959 case "$LIBEXT" in
12960 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12961 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'` ;;
12962 *) 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'`
12963 if ${ac_cv_lib_soname_png:+false} :; then :
12964 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12965 fi ;;
12966 esac
12968 rm -f core conftest.err conftest.$ac_objext \
12969 conftest$ac_exeext conftest.$ac_ext
12970 LIBS=$ac_check_soname_save_LIBS
12972 if ${ac_cv_lib_soname_png:+false} :; then :
12973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12974 $as_echo "not found" >&6; }
12975 PNG_CFLAGS=""
12976 else
12977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
12978 $as_echo "$ac_cv_lib_soname_png" >&6; }
12980 cat >>confdefs.h <<_ACEOF
12981 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
12982 _ACEOF
12984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12985 /* end confdefs.h. */
12986 #include <png.h>
12988 main ()
12990 typeof(png_set_expand_gray_1_2_4_to_8) *p
12992 return 0;
12994 _ACEOF
12995 if ac_fn_c_try_compile "$LINENO"; then :
12997 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13002 else
13003 PNG_CFLAGS=""
13005 CPPFLAGS=$ac_save_CPPFLAGS
13006 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13007 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13010 if test "x$ac_cv_lib_soname_png" = "x"; then :
13011 case "x$with_png" in
13012 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13013 xno) ;;
13014 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13015 This is an error since --with-png was requested." "$LINENO" 5 ;;
13016 esac
13019 if test "x$with_tiff" != "xno"
13020 then
13021 if ${TIFF_CFLAGS:+false} :; then :
13022 if ${PKG_CONFIG+:} false; then :
13023 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13027 if ${TIFF_LIBS:+false} :; then :
13028 if ${PKG_CONFIG+:} false; then :
13029 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13034 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13035 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13036 ac_save_CPPFLAGS=$CPPFLAGS
13037 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13038 for ac_header in tiffio.h
13039 do :
13040 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13041 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13042 cat >>confdefs.h <<_ACEOF
13043 #define HAVE_TIFFIO_H 1
13044 _ACEOF
13048 done
13050 if test "$ac_cv_header_tiffio_h" = "yes"
13051 then
13052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13053 $as_echo_n "checking for -ltiff... " >&6; }
13054 if ${ac_cv_lib_soname_tiff+:} false; then :
13055 $as_echo_n "(cached) " >&6
13056 else
13057 ac_check_soname_save_LIBS=$LIBS
13058 LIBS="-ltiff $TIFF_LIBS $LIBS"
13059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13060 /* end confdefs.h. */
13062 /* Override any GCC internal prototype to avoid an error.
13063 Use char because int might match the return type of a GCC
13064 builtin and then its argument prototype would still apply. */
13065 #ifdef __cplusplus
13066 extern "C"
13067 #endif
13068 char TIFFClientOpen ();
13070 main ()
13072 return TIFFClientOpen ();
13074 return 0;
13076 _ACEOF
13077 if ac_fn_c_try_link "$LINENO"; then :
13078 case "$LIBEXT" in
13079 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13080 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'` ;;
13081 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13082 if ${ac_cv_lib_soname_tiff:+false} :; then :
13083 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13084 fi ;;
13085 esac
13087 rm -f core conftest.err conftest.$ac_objext \
13088 conftest$ac_exeext conftest.$ac_ext
13089 LIBS=$ac_check_soname_save_LIBS
13091 if ${ac_cv_lib_soname_tiff:+false} :; then :
13092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13093 $as_echo "not found" >&6; }
13095 else
13096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13097 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13099 cat >>confdefs.h <<_ACEOF
13100 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13101 _ACEOF
13106 CPPFLAGS=$ac_save_CPPFLAGS
13107 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13108 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13111 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13112 case "x$with_tiff" in
13113 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13114 xno) ;;
13115 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13116 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13117 esac
13120 if test "x$with_mpg123" != "xno"
13121 then
13122 if ${MPG123_CFLAGS:+false} :; then :
13123 if ${PKG_CONFIG+:} false; then :
13124 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13128 if ${MPG123_LIBS:+false} :; then :
13129 if ${PKG_CONFIG+:} false; then :
13130 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13134 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13135 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13136 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13137 ac_save_CPPFLAGS=$CPPFLAGS
13138 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13139 for ac_header in mpg123.h
13140 do :
13141 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13142 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13143 cat >>confdefs.h <<_ACEOF
13144 #define HAVE_MPG123_H 1
13145 _ACEOF
13149 done
13151 if test "$ac_cv_header_mpg123_h" = "yes"
13152 then
13153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13154 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13155 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13156 $as_echo_n "(cached) " >&6
13157 else
13158 ac_check_lib_save_LIBS=$LIBS
13159 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13161 /* end confdefs.h. */
13163 /* Override any GCC internal prototype to avoid an error.
13164 Use char because int might match the return type of a GCC
13165 builtin and then its argument prototype would still apply. */
13166 #ifdef __cplusplus
13167 extern "C"
13168 #endif
13169 char mpg123_feed ();
13171 main ()
13173 return mpg123_feed ();
13175 return 0;
13177 _ACEOF
13178 if ac_fn_c_try_link "$LINENO"; then :
13179 ac_cv_lib_mpg123_mpg123_feed=yes
13180 else
13181 ac_cv_lib_mpg123_mpg123_feed=no
13183 rm -f core conftest.err conftest.$ac_objext \
13184 conftest$ac_exeext conftest.$ac_ext
13185 LIBS=$ac_check_lib_save_LIBS
13187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13188 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13189 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13191 else
13192 MPG123_LIBS=""
13195 else
13196 MPG123_CFLAGS=""
13197 MPG123_LIBS=""
13199 CPPFLAGS=$ac_save_CPPFLAGS
13200 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13201 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13204 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13205 case "x$with_mpg123" in
13206 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13207 xno) ;;
13208 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13209 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13210 esac
13212 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}
13214 if test "$ac_cv_header_AL_al_h" = "yes"
13215 then
13216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13217 $as_echo_n "checking for -lopenal... " >&6; }
13218 if ${ac_cv_lib_soname_openal+:} false; then :
13219 $as_echo_n "(cached) " >&6
13220 else
13221 ac_check_soname_save_LIBS=$LIBS
13222 LIBS="-lopenal $LIBS"
13223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13224 /* end confdefs.h. */
13226 /* Override any GCC internal prototype to avoid an error.
13227 Use char because int might match the return type of a GCC
13228 builtin and then its argument prototype would still apply. */
13229 #ifdef __cplusplus
13230 extern "C"
13231 #endif
13232 char alGetSource3i ();
13234 main ()
13236 return alGetSource3i ();
13238 return 0;
13240 _ACEOF
13241 if ac_fn_c_try_link "$LINENO"; then :
13242 case "$LIBEXT" in
13243 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13244 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'` ;;
13245 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13246 if ${ac_cv_lib_soname_openal:+false} :; then :
13247 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13248 fi ;;
13249 esac
13251 rm -f core conftest.err conftest.$ac_objext \
13252 conftest$ac_exeext conftest.$ac_ext
13253 LIBS=$ac_check_soname_save_LIBS
13255 if ${ac_cv_lib_soname_openal:+false} :; then :
13256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13257 $as_echo "not found" >&6; }
13259 else
13260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13261 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13263 cat >>confdefs.h <<_ACEOF
13264 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13265 _ACEOF
13267 OPENAL_LIBS="-lopenal"
13269 ac_cv_lib_openal=yes
13271 cat >>confdefs.h <<_ACEOF
13272 #define HAVE_OPENAL 1
13273 _ACEOF
13277 if test "x$ac_cv_lib_openal" != xyes; then :
13278 case "x$with_openal" in
13279 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13280 xno) ;;
13281 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13282 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13283 esac
13285 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13287 if test "$ac_cv_header_kstat_h" = "yes"
13288 then
13289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13290 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13291 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13292 $as_echo_n "(cached) " >&6
13293 else
13294 ac_check_lib_save_LIBS=$LIBS
13295 LIBS="-lkstat $LIBS"
13296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13297 /* end confdefs.h. */
13299 /* Override any GCC internal prototype to avoid an error.
13300 Use char because int might match the return type of a GCC
13301 builtin and then its argument prototype would still apply. */
13302 #ifdef __cplusplus
13303 extern "C"
13304 #endif
13305 char kstat_open ();
13307 main ()
13309 return kstat_open ();
13311 return 0;
13313 _ACEOF
13314 if ac_fn_c_try_link "$LINENO"; then :
13315 ac_cv_lib_kstat_kstat_open=yes
13316 else
13317 ac_cv_lib_kstat_kstat_open=no
13319 rm -f core conftest.err conftest.$ac_objext \
13320 conftest$ac_exeext conftest.$ac_ext
13321 LIBS=$ac_check_lib_save_LIBS
13323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13324 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13325 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13327 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13329 KSTAT_LIBS="-lkstat"
13335 if test "$ac_cv_header_libprocstat_h" = "yes"
13336 then
13337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13338 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13339 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13340 $as_echo_n "(cached) " >&6
13341 else
13342 ac_check_lib_save_LIBS=$LIBS
13343 LIBS="-lprocstat $LIBS"
13344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13345 /* end confdefs.h. */
13347 /* Override any GCC internal prototype to avoid an error.
13348 Use char because int might match the return type of a GCC
13349 builtin and then its argument prototype would still apply. */
13350 #ifdef __cplusplus
13351 extern "C"
13352 #endif
13353 char procstat_open_sysctl ();
13355 main ()
13357 return procstat_open_sysctl ();
13359 return 0;
13361 _ACEOF
13362 if ac_fn_c_try_link "$LINENO"; then :
13363 ac_cv_lib_procstat_procstat_open_sysctl=yes
13364 else
13365 ac_cv_lib_procstat_procstat_open_sysctl=no
13367 rm -f core conftest.err conftest.$ac_objext \
13368 conftest$ac_exeext conftest.$ac_ext
13369 LIBS=$ac_check_lib_save_LIBS
13371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13372 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13373 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13375 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13377 PROCSTAT_LIBS="-lprocstat"
13383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13384 $as_echo_n "checking for -lodbc... " >&6; }
13385 if ${ac_cv_lib_soname_odbc+:} false; then :
13386 $as_echo_n "(cached) " >&6
13387 else
13388 ac_check_soname_save_LIBS=$LIBS
13389 LIBS="-lodbc $LIBS"
13390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13391 /* end confdefs.h. */
13393 /* Override any GCC internal prototype to avoid an error.
13394 Use char because int might match the return type of a GCC
13395 builtin and then its argument prototype would still apply. */
13396 #ifdef __cplusplus
13397 extern "C"
13398 #endif
13399 char SQLConnect ();
13401 main ()
13403 return SQLConnect ();
13405 return 0;
13407 _ACEOF
13408 if ac_fn_c_try_link "$LINENO"; then :
13409 case "$LIBEXT" in
13410 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13411 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'` ;;
13412 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13413 if ${ac_cv_lib_soname_odbc:+false} :; then :
13414 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13415 fi ;;
13416 esac
13418 rm -f core conftest.err conftest.$ac_objext \
13419 conftest$ac_exeext conftest.$ac_ext
13420 LIBS=$ac_check_soname_save_LIBS
13422 if ${ac_cv_lib_soname_odbc:+false} :; then :
13423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13424 $as_echo "not found" >&6; }
13425 cat >>confdefs.h <<_ACEOF
13426 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13427 _ACEOF
13429 else
13430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13431 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13433 cat >>confdefs.h <<_ACEOF
13434 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13435 _ACEOF
13440 if test "x$with_netapi" != "xno"
13441 then
13442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13443 $as_echo_n "checking for -lnetapi... " >&6; }
13444 if ${ac_cv_lib_soname_netapi+:} false; then :
13445 $as_echo_n "(cached) " >&6
13446 else
13447 ac_check_soname_save_LIBS=$LIBS
13448 LIBS="-lnetapi $LIBS"
13449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13450 /* end confdefs.h. */
13452 /* Override any GCC internal prototype to avoid an error.
13453 Use char because int might match the return type of a GCC
13454 builtin and then its argument prototype would still apply. */
13455 #ifdef __cplusplus
13456 extern "C"
13457 #endif
13458 char libnetapi_init ();
13460 main ()
13462 return libnetapi_init ();
13464 return 0;
13466 _ACEOF
13467 if ac_fn_c_try_link "$LINENO"; then :
13468 case "$LIBEXT" in
13469 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13470 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'` ;;
13471 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13472 if ${ac_cv_lib_soname_netapi:+false} :; then :
13473 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13474 fi ;;
13475 esac
13477 rm -f core conftest.err conftest.$ac_objext \
13478 conftest$ac_exeext conftest.$ac_ext
13479 LIBS=$ac_check_soname_save_LIBS
13481 if ${ac_cv_lib_soname_netapi:+false} :; then :
13482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13483 $as_echo "not found" >&6; }
13484 cat >>confdefs.h <<_ACEOF
13485 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13486 _ACEOF
13488 else
13489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13490 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13492 cat >>confdefs.h <<_ACEOF
13493 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13494 _ACEOF
13500 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13501 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
13502 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
13503 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
13505 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13506 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
13507 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13508 then
13509 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13513 EXTRACFLAGS=""
13515 if test "x${GCC}" = "xyes"
13516 then
13517 EXTRACFLAGS="-Wall -pipe"
13519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13520 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13521 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13522 $as_echo_n "(cached) " >&6
13523 else
13524 if test "$cross_compiling" = yes; then :
13525 ac_cv_c_gcc_strength_bug="yes"
13526 else
13527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13528 /* end confdefs.h. */
13529 int L[4] = {0,1,2,3};
13531 main ()
13533 static int Array[3];
13534 unsigned int B = 3;
13535 int i;
13536 for(i=0; i<B; i++) Array[i] = i - 3;
13537 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13538 L[i] = 4;
13539 return (Array[1] != -2 || L[2] != 3)
13541 return 0;
13543 _ACEOF
13544 if ac_fn_c_try_run "$LINENO"; then :
13545 ac_cv_c_gcc_strength_bug="no"
13546 else
13547 ac_cv_c_gcc_strength_bug="yes"
13549 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13550 conftest.$ac_objext conftest.beam conftest.$ac_ext
13554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13555 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13556 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13557 then
13558 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13562 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13563 if ${ac_cv_cflags__fno_builtin+:} false; then :
13564 $as_echo_n "(cached) " >&6
13565 else
13566 ac_wine_try_cflags_saved=$CFLAGS
13567 CFLAGS="$CFLAGS -fno-builtin"
13568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13569 /* end confdefs.h. */
13570 int main(int argc, char **argv) { return 0; }
13571 _ACEOF
13572 if ac_fn_c_try_link "$LINENO"; then :
13573 ac_cv_cflags__fno_builtin=yes
13574 else
13575 ac_cv_cflags__fno_builtin=no
13577 rm -f core conftest.err conftest.$ac_objext \
13578 conftest$ac_exeext conftest.$ac_ext
13579 CFLAGS=$ac_wine_try_cflags_saved
13581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13582 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13583 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
13584 BUILTINFLAG="-fno-builtin"
13587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13588 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13589 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
13590 $as_echo_n "(cached) " >&6
13591 else
13592 ac_wine_try_cflags_saved=$CFLAGS
13593 CFLAGS="$CFLAGS -fno-strict-aliasing"
13594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13595 /* end confdefs.h. */
13596 int main(int argc, char **argv) { return 0; }
13597 _ACEOF
13598 if ac_fn_c_try_link "$LINENO"; then :
13599 ac_cv_cflags__fno_strict_aliasing=yes
13600 else
13601 ac_cv_cflags__fno_strict_aliasing=no
13603 rm -f core conftest.err conftest.$ac_objext \
13604 conftest$ac_exeext conftest.$ac_ext
13605 CFLAGS=$ac_wine_try_cflags_saved
13607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13608 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13609 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
13610 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
13612 saved_CFLAGS=$CFLAGS
13613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13614 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13615 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
13616 $as_echo_n "(cached) " >&6
13617 else
13618 ac_wine_try_cflags_saved=$CFLAGS
13619 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13621 /* end confdefs.h. */
13622 int main(int argc, char **argv) { return 0; }
13623 _ACEOF
13624 if ac_fn_c_try_link "$LINENO"; then :
13625 ac_cv_cflags__Werror_unknown_warning_option=yes
13626 else
13627 ac_cv_cflags__Werror_unknown_warning_option=no
13629 rm -f core conftest.err conftest.$ac_objext \
13630 conftest$ac_exeext conftest.$ac_ext
13631 CFLAGS=$ac_wine_try_cflags_saved
13633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13634 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13635 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
13636 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13639 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13640 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
13641 $as_echo_n "(cached) " >&6
13642 else
13643 ac_wine_try_cflags_saved=$CFLAGS
13644 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
13645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13646 /* end confdefs.h. */
13647 int main(int argc, char **argv) { return 0; }
13648 _ACEOF
13649 if ac_fn_c_try_link "$LINENO"; then :
13650 ac_cv_cflags__Wdeclaration_after_statement=yes
13651 else
13652 ac_cv_cflags__Wdeclaration_after_statement=no
13654 rm -f core conftest.err conftest.$ac_objext \
13655 conftest$ac_exeext conftest.$ac_ext
13656 CFLAGS=$ac_wine_try_cflags_saved
13658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13659 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13660 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
13661 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
13663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13664 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13665 if ${ac_cv_cflags__Wempty_body+:} false; then :
13666 $as_echo_n "(cached) " >&6
13667 else
13668 ac_wine_try_cflags_saved=$CFLAGS
13669 CFLAGS="$CFLAGS -Wempty-body"
13670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13671 /* end confdefs.h. */
13672 int main(int argc, char **argv) { return 0; }
13673 _ACEOF
13674 if ac_fn_c_try_link "$LINENO"; then :
13675 ac_cv_cflags__Wempty_body=yes
13676 else
13677 ac_cv_cflags__Wempty_body=no
13679 rm -f core conftest.err conftest.$ac_objext \
13680 conftest$ac_exeext conftest.$ac_ext
13681 CFLAGS=$ac_wine_try_cflags_saved
13683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13684 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13685 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
13686 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
13688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13689 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13690 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
13691 $as_echo_n "(cached) " >&6
13692 else
13693 ac_wine_try_cflags_saved=$CFLAGS
13694 CFLAGS="$CFLAGS -Wignored-qualifiers"
13695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13696 /* end confdefs.h. */
13697 int main(int argc, char **argv) { return 0; }
13698 _ACEOF
13699 if ac_fn_c_try_link "$LINENO"; then :
13700 ac_cv_cflags__Wignored_qualifiers=yes
13701 else
13702 ac_cv_cflags__Wignored_qualifiers=no
13704 rm -f core conftest.err conftest.$ac_objext \
13705 conftest$ac_exeext conftest.$ac_ext
13706 CFLAGS=$ac_wine_try_cflags_saved
13708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13709 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13710 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
13711 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
13713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13714 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13715 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
13716 $as_echo_n "(cached) " >&6
13717 else
13718 ac_wine_try_cflags_saved=$CFLAGS
13719 CFLAGS="$CFLAGS -Wstrict-prototypes"
13720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13721 /* end confdefs.h. */
13722 int main(int argc, char **argv) { return 0; }
13723 _ACEOF
13724 if ac_fn_c_try_link "$LINENO"; then :
13725 ac_cv_cflags__Wstrict_prototypes=yes
13726 else
13727 ac_cv_cflags__Wstrict_prototypes=no
13729 rm -f core conftest.err conftest.$ac_objext \
13730 conftest$ac_exeext conftest.$ac_ext
13731 CFLAGS=$ac_wine_try_cflags_saved
13733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13734 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13735 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
13736 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
13738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13739 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13740 if ${ac_cv_cflags__Wtype_limits+:} false; then :
13741 $as_echo_n "(cached) " >&6
13742 else
13743 ac_wine_try_cflags_saved=$CFLAGS
13744 CFLAGS="$CFLAGS -Wtype-limits"
13745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13746 /* end confdefs.h. */
13747 int main(int argc, char **argv) { return 0; }
13748 _ACEOF
13749 if ac_fn_c_try_link "$LINENO"; then :
13750 ac_cv_cflags__Wtype_limits=yes
13751 else
13752 ac_cv_cflags__Wtype_limits=no
13754 rm -f core conftest.err conftest.$ac_objext \
13755 conftest$ac_exeext conftest.$ac_ext
13756 CFLAGS=$ac_wine_try_cflags_saved
13758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13759 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13760 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
13761 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
13763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13764 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13765 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
13766 $as_echo_n "(cached) " >&6
13767 else
13768 ac_wine_try_cflags_saved=$CFLAGS
13769 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
13770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13771 /* end confdefs.h. */
13772 int main(int argc, char **argv) { return 0; }
13773 _ACEOF
13774 if ac_fn_c_try_link "$LINENO"; then :
13775 ac_cv_cflags__Wunused_but_set_parameter=yes
13776 else
13777 ac_cv_cflags__Wunused_but_set_parameter=no
13779 rm -f core conftest.err conftest.$ac_objext \
13780 conftest$ac_exeext conftest.$ac_ext
13781 CFLAGS=$ac_wine_try_cflags_saved
13783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13784 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13785 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
13786 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
13788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13789 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13790 if ${ac_cv_cflags__Wvla+:} false; then :
13791 $as_echo_n "(cached) " >&6
13792 else
13793 ac_wine_try_cflags_saved=$CFLAGS
13794 CFLAGS="$CFLAGS -Wvla"
13795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13796 /* end confdefs.h. */
13797 int main(int argc, char **argv) { return 0; }
13798 _ACEOF
13799 if ac_fn_c_try_link "$LINENO"; then :
13800 ac_cv_cflags__Wvla=yes
13801 else
13802 ac_cv_cflags__Wvla=no
13804 rm -f core conftest.err conftest.$ac_objext \
13805 conftest$ac_exeext conftest.$ac_ext
13806 CFLAGS=$ac_wine_try_cflags_saved
13808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
13809 $as_echo "$ac_cv_cflags__Wvla" >&6; }
13810 if test "x$ac_cv_cflags__Wvla" = xyes; then :
13811 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
13813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13814 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13815 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
13816 $as_echo_n "(cached) " >&6
13817 else
13818 ac_wine_try_cflags_saved=$CFLAGS
13819 CFLAGS="$CFLAGS -Wwrite-strings"
13820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13821 /* end confdefs.h. */
13822 int main(int argc, char **argv) { return 0; }
13823 _ACEOF
13824 if ac_fn_c_try_link "$LINENO"; then :
13825 ac_cv_cflags__Wwrite_strings=yes
13826 else
13827 ac_cv_cflags__Wwrite_strings=no
13829 rm -f core conftest.err conftest.$ac_objext \
13830 conftest$ac_exeext conftest.$ac_ext
13831 CFLAGS=$ac_wine_try_cflags_saved
13833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13834 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13835 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
13836 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
13839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13840 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13841 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
13842 $as_echo_n "(cached) " >&6
13843 else
13844 ac_wine_try_cflags_saved=$CFLAGS
13845 CFLAGS="$CFLAGS -Wpointer-arith"
13846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13847 /* end confdefs.h. */
13848 int main(int argc, char **argv) { return 0; }
13849 _ACEOF
13850 if ac_fn_c_try_link "$LINENO"; then :
13851 ac_cv_cflags__Wpointer_arith=yes
13852 else
13853 ac_cv_cflags__Wpointer_arith=no
13855 rm -f core conftest.err conftest.$ac_objext \
13856 conftest$ac_exeext conftest.$ac_ext
13857 CFLAGS=$ac_wine_try_cflags_saved
13859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13860 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13861 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
13862 saved_string_h_CFLAGS=$CFLAGS
13863 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
13864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13865 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13866 if ${ac_cv_c_string_h_warnings+:} false; then :
13867 $as_echo_n "(cached) " >&6
13868 else
13869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13870 /* end confdefs.h. */
13871 #include <string.h>
13873 main ()
13877 return 0;
13879 _ACEOF
13880 if ac_fn_c_try_compile "$LINENO"; then :
13881 ac_cv_c_string_h_warnings=no
13882 else
13883 ac_cv_c_string_h_warnings=yes
13885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13888 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13889 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
13890 CFLAGS=$saved_string_h_CFLAGS
13893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13894 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13895 if ${ac_cv_cflags__Wlogical_op+:} false; then :
13896 $as_echo_n "(cached) " >&6
13897 else
13898 ac_wine_try_cflags_saved=$CFLAGS
13899 CFLAGS="$CFLAGS -Wlogical-op"
13900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13901 /* end confdefs.h. */
13902 int main(int argc, char **argv) { return 0; }
13903 _ACEOF
13904 if ac_fn_c_try_link "$LINENO"; then :
13905 ac_cv_cflags__Wlogical_op=yes
13906 else
13907 ac_cv_cflags__Wlogical_op=no
13909 rm -f core conftest.err conftest.$ac_objext \
13910 conftest$ac_exeext conftest.$ac_ext
13911 CFLAGS=$ac_wine_try_cflags_saved
13913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13914 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13915 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
13916 saved_string_h_CFLAGS=$CFLAGS
13917 CFLAGS="$CFLAGS -Wlogical-op -Werror"
13918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13919 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13920 if ${ac_cv_c_logicalop_noisy+:} false; then :
13921 $as_echo_n "(cached) " >&6
13922 else
13923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13924 /* end confdefs.h. */
13925 #include <string.h>
13926 char*f(const char *h,char n) {return strchr(h,n);}
13928 main ()
13932 return 0;
13934 _ACEOF
13935 if ac_fn_c_try_compile "$LINENO"; then :
13936 ac_cv_c_logicalop_noisy=no
13937 else
13938 ac_cv_c_logicalop_noisy=yes
13940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13943 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13944 CFLAGS=$saved_string_h_CFLAGS
13945 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
13948 CFLAGS=$saved_CFLAGS
13950 for ac_flag in $CFLAGS; do
13951 case $ac_flag in
13952 -g) case $host_os in
13953 darwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13954 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
13955 if ${ac_cv_cflags__gstabsp+:} false; then :
13956 $as_echo_n "(cached) " >&6
13957 else
13958 ac_wine_try_cflags_saved=$CFLAGS
13959 CFLAGS="$CFLAGS -gstabs+"
13960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13961 /* end confdefs.h. */
13962 int main(int argc, char **argv) { return 0; }
13963 _ACEOF
13964 if ac_fn_c_try_link "$LINENO"; then :
13965 ac_cv_cflags__gstabsp=yes
13966 else
13967 ac_cv_cflags__gstabsp=no
13969 rm -f core conftest.err conftest.$ac_objext \
13970 conftest$ac_exeext conftest.$ac_ext
13971 CFLAGS=$ac_wine_try_cflags_saved
13973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
13974 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
13975 if test "x$ac_cv_cflags__gstabsp" = xyes; then :
13976 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
13977 fi ;;
13978 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
13979 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
13980 if ${ac_cv_cflags__gdwarf_2+:} false; then :
13981 $as_echo_n "(cached) " >&6
13982 else
13983 ac_wine_try_cflags_saved=$CFLAGS
13984 CFLAGS="$CFLAGS -gdwarf-2"
13985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13986 /* end confdefs.h. */
13987 int main(int argc, char **argv) { return 0; }
13988 _ACEOF
13989 if ac_fn_c_try_link "$LINENO"; then :
13990 ac_cv_cflags__gdwarf_2=yes
13991 else
13992 ac_cv_cflags__gdwarf_2=no
13994 rm -f core conftest.err conftest.$ac_objext \
13995 conftest$ac_exeext conftest.$ac_ext
13996 CFLAGS=$ac_wine_try_cflags_saved
13998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
13999 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14000 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14001 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14004 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14005 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14006 $as_echo_n "(cached) " >&6
14007 else
14008 ac_wine_try_cflags_saved=$CFLAGS
14009 CFLAGS="$CFLAGS -gstrict-dwarf"
14010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14011 /* end confdefs.h. */
14012 int main(int argc, char **argv) { return 0; }
14013 _ACEOF
14014 if ac_fn_c_try_link "$LINENO"; then :
14015 ac_cv_cflags__gstrict_dwarf=yes
14016 else
14017 ac_cv_cflags__gstrict_dwarf=no
14019 rm -f core conftest.err conftest.$ac_objext \
14020 conftest$ac_exeext conftest.$ac_ext
14021 CFLAGS=$ac_wine_try_cflags_saved
14023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14024 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14025 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14026 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14027 fi ;;
14028 esac ;;
14029 esac
14030 done
14032 case $host_cpu in
14033 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14034 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14035 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14036 $as_echo_n "(cached) " >&6
14037 else
14038 ac_wine_try_cflags_saved=$CFLAGS
14039 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14041 /* end confdefs.h. */
14042 int main(int argc, char **argv) { return 0; }
14043 _ACEOF
14044 if ac_fn_c_try_link "$LINENO"; then :
14045 ac_cv_cflags__fno_omit_frame_pointer=yes
14046 else
14047 ac_cv_cflags__fno_omit_frame_pointer=no
14049 rm -f core conftest.err conftest.$ac_objext \
14050 conftest$ac_exeext conftest.$ac_ext
14051 CFLAGS=$ac_wine_try_cflags_saved
14053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14054 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14055 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14056 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14057 fi ;;
14058 esac
14060 case $host in
14061 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14062 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14063 if ${ac_cv_cflags__Wno_format+:} false; then :
14064 $as_echo_n "(cached) " >&6
14065 else
14066 ac_wine_try_cflags_saved=$CFLAGS
14067 CFLAGS="$CFLAGS -Wno-format"
14068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14069 /* end confdefs.h. */
14070 int main(int argc, char **argv) { return 0; }
14071 _ACEOF
14072 if ac_fn_c_try_link "$LINENO"; then :
14073 ac_cv_cflags__Wno_format=yes
14074 else
14075 ac_cv_cflags__Wno_format=no
14077 rm -f core conftest.err conftest.$ac_objext \
14078 conftest$ac_exeext conftest.$ac_ext
14079 CFLAGS=$ac_wine_try_cflags_saved
14081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14082 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14083 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14084 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14085 fi ;;
14086 esac
14088 if test "x$enable_maintainer_mode" = "xyes"
14089 then
14090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14091 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14092 if ${ac_cv_cflags__Werror+:} false; then :
14093 $as_echo_n "(cached) " >&6
14094 else
14095 ac_wine_try_cflags_saved=$CFLAGS
14096 CFLAGS="$CFLAGS -Werror"
14097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14098 /* end confdefs.h. */
14099 int main(int argc, char **argv) { return 0; }
14100 _ACEOF
14101 if ac_fn_c_try_link "$LINENO"; then :
14102 ac_cv_cflags__Werror=yes
14103 else
14104 ac_cv_cflags__Werror=no
14106 rm -f core conftest.err conftest.$ac_objext \
14107 conftest$ac_exeext conftest.$ac_ext
14108 CFLAGS=$ac_wine_try_cflags_saved
14110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14111 $as_echo "$ac_cv_cflags__Werror" >&6; }
14112 if test "x$ac_cv_cflags__Werror" = xyes; then :
14113 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14117 saved_CFLAGS="$CFLAGS"
14118 CFLAGS="$CFLAGS -Werror"
14119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14120 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14121 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14122 $as_echo_n "(cached) " >&6
14123 else
14124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14125 /* end confdefs.h. */
14126 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14128 main ()
14132 return 0;
14134 _ACEOF
14135 if ac_fn_c_try_compile "$LINENO"; then :
14136 ac_cv_have_ms_hook_prologue="yes"
14137 else
14138 ac_cv_have_ms_hook_prologue="no"
14140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14143 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14144 CFLAGS="$saved_CFLAGS"
14145 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14146 then
14148 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14150 else
14151 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14158 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14159 if ${ac_cv_c_fortify_enabled+:} false; then :
14160 $as_echo_n "(cached) " >&6
14161 else
14162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14163 /* end confdefs.h. */
14164 #include <string.h>
14166 main ()
14168 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14169 #error Fortify enabled
14170 #endif
14172 return 0;
14174 _ACEOF
14175 if ac_fn_c_try_compile "$LINENO"; then :
14176 ac_cv_c_fortify_enabled=no
14177 else
14178 ac_cv_c_fortify_enabled=yes
14180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14183 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14184 if test "$ac_cv_c_fortify_enabled" = yes
14185 then
14186 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14191 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14192 if ${ac_cv_c_extern_prefix+:} false; then :
14193 $as_echo_n "(cached) " >&6
14194 else
14195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14196 /* end confdefs.h. */
14197 extern int ac_test;
14199 main ()
14201 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14203 return 0;
14205 _ACEOF
14206 if ac_fn_c_try_link "$LINENO"; then :
14207 ac_cv_c_extern_prefix="yes"
14208 else
14209 ac_cv_c_extern_prefix="no"
14211 rm -f core conftest.err conftest.$ac_objext \
14212 conftest$ac_exeext conftest.$ac_ext
14214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14215 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14217 case $host_cpu in
14218 *i[3456789]86*)
14219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14220 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14221 if ${ac_cv_c_stdcall_suffix+:} false; then :
14222 $as_echo_n "(cached) " >&6
14223 else
14224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14225 /* end confdefs.h. */
14226 #ifndef _MSC_VER
14227 #define __stdcall __attribute__((__stdcall__))
14228 #endif
14229 int __stdcall ac_test(int i) { return i; }
14231 main ()
14233 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14235 return 0;
14237 _ACEOF
14238 if ac_fn_c_try_link "$LINENO"; then :
14239 ac_cv_c_stdcall_suffix="yes"
14240 else
14241 ac_cv_c_stdcall_suffix="no"
14243 rm -f core conftest.err conftest.$ac_objext \
14244 conftest$ac_exeext conftest.$ac_ext
14246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14247 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14248 *) ac_cv_c_stdcall_suffix="no" ;;
14249 esac
14252 if test "$ac_cv_c_extern_prefix" = "yes"
14253 then
14254 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14256 asm_name_prefix="_"
14257 else
14258 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14260 asm_name_prefix=""
14264 if test "$ac_cv_c_stdcall_suffix" = "yes"
14265 then
14266 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14268 else
14269 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14275 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14276 if ${ac_cv_asm_func_def+:} false; then :
14277 $as_echo_n "(cached) " >&6
14278 else
14279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14280 /* end confdefs.h. */
14283 main ()
14285 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14287 return 0;
14289 _ACEOF
14290 if ac_fn_c_try_link "$LINENO"; then :
14291 ac_cv_asm_func_def=".def"
14292 else
14293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14294 /* end confdefs.h. */
14297 main ()
14299 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14301 return 0;
14303 _ACEOF
14304 if ac_fn_c_try_link "$LINENO"; then :
14305 ac_cv_asm_func_def=".type @function"
14306 else
14307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14308 /* end confdefs.h. */
14311 main ()
14313 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14315 return 0;
14317 _ACEOF
14318 if ac_fn_c_try_link "$LINENO"; then :
14319 ac_cv_asm_func_def=".type 2"
14320 else
14321 ac_cv_asm_func_def="unknown"
14323 rm -f core conftest.err conftest.$ac_objext \
14324 conftest$ac_exeext conftest.$ac_ext
14326 rm -f core conftest.err conftest.$ac_objext \
14327 conftest$ac_exeext conftest.$ac_ext
14329 rm -f core conftest.err conftest.$ac_objext \
14330 conftest$ac_exeext conftest.$ac_ext
14332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14333 $as_echo "$ac_cv_asm_func_def" >&6; }
14336 case "$ac_cv_asm_func_def" in
14337 ".def")
14338 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14340 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14341 ".type @function")
14342 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14344 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14345 ".type 2")
14346 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14348 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14350 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14352 asm_func_header="" ;;
14353 esac
14355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14356 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14357 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14358 $as_echo_n "(cached) " >&6
14359 else
14360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14361 /* end confdefs.h. */
14362 asm(".text\n\t.long 0");
14364 main ()
14368 return 0;
14370 _ACEOF
14371 if ac_fn_c_try_compile "$LINENO"; then :
14372 ac_cv_c_asm_outside_funcs="yes"
14373 else
14374 ac_cv_c_asm_outside_funcs="no"
14376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14379 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14382 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14383 if ${ac_cv_c_dot_previous+:} false; then :
14384 $as_echo_n "(cached) " >&6
14385 else
14386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14387 /* end confdefs.h. */
14390 main ()
14392 asm(".text\nac_test:\t.long 0\n\t.previous");
14394 return 0;
14396 _ACEOF
14397 if ac_fn_c_try_link "$LINENO"; then :
14398 ac_cv_c_dot_previous="yes"
14399 else
14400 ac_cv_c_dot_previous="no"
14402 rm -f core conftest.err conftest.$ac_objext \
14403 conftest$ac_exeext conftest.$ac_ext
14405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14406 $as_echo "$ac_cv_c_dot_previous" >&6; }
14408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14409 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14410 if ${ac_cv_c_cfi_support+:} false; then :
14411 $as_echo_n "(cached) " >&6
14412 else
14413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14414 /* end confdefs.h. */
14415 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14417 main ()
14421 return 0;
14423 _ACEOF
14424 if ac_fn_c_try_compile "$LINENO"; then :
14425 ac_cv_c_cfi_support="yes"
14426 else
14427 ac_cv_c_cfi_support="no"
14429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14432 $as_echo "$ac_cv_c_cfi_support" >&6; }
14434 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14435 asm_func_trailer=""
14436 if test "$ac_cv_c_dot_previous" = "yes"
14437 then
14438 asm_func_trailer="\\n\\t.previous"
14440 if test "$ac_cv_c_cfi_support" = "yes"
14441 then
14442 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14443 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14445 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14447 UNWINDFLAGS=-fasynchronous-unwind-tables
14449 else
14450 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14454 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14457 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14458 then
14459 cat >>confdefs.h <<_ACEOF
14460 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14461 _ACEOF
14463 else
14464 cat >>confdefs.h <<_ACEOF
14465 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14466 _ACEOF
14470 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14473 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14477 case $build_os in
14478 cygwin*|mingw32*) TOOLSEXT=".exe"
14480 esac
14482 case $host_os in
14483 linux*)
14484 case $host_cpu in
14485 *i[3456789]86*|x86_64*)
14486 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14487 loader_programs="$loader_programs $wine_binary-preloader"
14488 as_fn_append LOADER_RULES "
14489 $wine_binary-preloader: preloader.o
14490 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14492 install install-lib:: $wine_binary-preloader
14493 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14495 uninstall::
14496 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14498 preloader_EXTRADEFS = $BUILTINFLAG
14499 " ;;
14500 esac
14502 esac
14503 as_fn_append LOADER_RULES "
14504 PROGRAMS = $loader_programs
14508 ac_save_CFLAGS="$CFLAGS"
14509 CFLAGS="$CFLAGS $BUILTINFLAG"
14510 for ac_func in \
14511 __res_get_state \
14512 __res_getservers \
14513 _finite \
14514 _isnan \
14515 _pclose \
14516 _popen \
14517 _snprintf \
14518 _spawnvp \
14519 _strdup \
14520 _stricmp \
14521 _strnicmp \
14522 _strtoi64 \
14523 _strtoui64 \
14524 _vsnprintf \
14525 asctime_r \
14526 chsize \
14527 dlopen \
14528 epoll_create \
14529 ffs \
14530 fnmatch \
14531 fork \
14532 fpclass \
14533 fstatfs \
14534 fstatvfs \
14535 ftruncate \
14536 futimens \
14537 futimes \
14538 futimesat \
14539 getattrlist \
14540 getdirentries \
14541 getopt_long_only \
14542 getpwuid \
14543 gettimeofday \
14544 getuid \
14545 if_nameindex \
14546 kqueue \
14547 lstat \
14548 memmove \
14549 mmap \
14550 pclose \
14551 pipe2 \
14552 poll \
14553 popen \
14554 port_create \
14555 prctl \
14556 pread \
14557 proc_pidinfo \
14558 pwrite \
14559 readdir \
14560 readlink \
14561 sched_yield \
14562 select \
14563 setproctitle \
14564 setrlimit \
14565 settimeofday \
14566 sigaltstack \
14567 sigprocmask \
14568 snprintf \
14569 statfs \
14570 statvfs \
14571 strcasecmp \
14572 strdup \
14573 strerror \
14574 strncasecmp \
14575 strtold \
14576 strtoll \
14577 strtoull \
14578 symlink \
14579 tcdrain \
14580 thr_kill2 \
14581 timegm \
14582 usleep \
14583 vsnprintf
14585 do :
14586 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14587 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14588 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14589 cat >>confdefs.h <<_ACEOF
14590 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14591 _ACEOF
14594 done
14596 CFLAGS="$ac_save_CFLAGS"
14598 if test "$ac_cv_func_dlopen" = no
14599 then
14600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14601 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14602 if ${ac_cv_lib_dl_dlopen+:} false; then :
14603 $as_echo_n "(cached) " >&6
14604 else
14605 ac_check_lib_save_LIBS=$LIBS
14606 LIBS="-ldl $LIBS"
14607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14608 /* end confdefs.h. */
14610 /* Override any GCC internal prototype to avoid an error.
14611 Use char because int might match the return type of a GCC
14612 builtin and then its argument prototype would still apply. */
14613 #ifdef __cplusplus
14614 extern "C"
14615 #endif
14616 char dlopen ();
14618 main ()
14620 return dlopen ();
14622 return 0;
14624 _ACEOF
14625 if ac_fn_c_try_link "$LINENO"; then :
14626 ac_cv_lib_dl_dlopen=yes
14627 else
14628 ac_cv_lib_dl_dlopen=no
14630 rm -f core conftest.err conftest.$ac_objext \
14631 conftest$ac_exeext conftest.$ac_ext
14632 LIBS=$ac_check_lib_save_LIBS
14634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14635 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14636 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14637 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14638 DL_LIBS="-ldl"
14643 ac_wine_check_funcs_save_LIBS="$LIBS"
14644 LIBS="$LIBS $DL_LIBS"
14645 for ac_func in dladdr
14646 do :
14647 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
14648 if test "x$ac_cv_func_dladdr" = xyes; then :
14649 cat >>confdefs.h <<_ACEOF
14650 #define HAVE_DLADDR 1
14651 _ACEOF
14654 done
14656 LIBS="$ac_wine_check_funcs_save_LIBS"
14658 if test "$ac_cv_func_poll" = no
14659 then
14660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14661 $as_echo_n "checking for poll in -lpoll... " >&6; }
14662 if ${ac_cv_lib_poll_poll+:} false; then :
14663 $as_echo_n "(cached) " >&6
14664 else
14665 ac_check_lib_save_LIBS=$LIBS
14666 LIBS="-lpoll $LIBS"
14667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14668 /* end confdefs.h. */
14670 /* Override any GCC internal prototype to avoid an error.
14671 Use char because int might match the return type of a GCC
14672 builtin and then its argument prototype would still apply. */
14673 #ifdef __cplusplus
14674 extern "C"
14675 #endif
14676 char poll ();
14678 main ()
14680 return poll ();
14682 return 0;
14684 _ACEOF
14685 if ac_fn_c_try_link "$LINENO"; then :
14686 ac_cv_lib_poll_poll=yes
14687 else
14688 ac_cv_lib_poll_poll=no
14690 rm -f core conftest.err conftest.$ac_objext \
14691 conftest$ac_exeext conftest.$ac_ext
14692 LIBS=$ac_check_lib_save_LIBS
14694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14695 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14696 if test "x$ac_cv_lib_poll_poll" = xyes; then :
14697 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14698 POLL_LIBS="-lpoll"
14704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14705 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14706 if ${ac_cv_search_gethostbyname+:} false; then :
14707 $as_echo_n "(cached) " >&6
14708 else
14709 ac_func_search_save_LIBS=$LIBS
14710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14711 /* end confdefs.h. */
14713 /* Override any GCC internal prototype to avoid an error.
14714 Use char because int might match the return type of a GCC
14715 builtin and then its argument prototype would still apply. */
14716 #ifdef __cplusplus
14717 extern "C"
14718 #endif
14719 char gethostbyname ();
14721 main ()
14723 return gethostbyname ();
14725 return 0;
14727 _ACEOF
14728 for ac_lib in '' nsl; do
14729 if test -z "$ac_lib"; then
14730 ac_res="none required"
14731 else
14732 ac_res=-l$ac_lib
14733 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14735 if ac_fn_c_try_link "$LINENO"; then :
14736 ac_cv_search_gethostbyname=$ac_res
14738 rm -f core conftest.err conftest.$ac_objext \
14739 conftest$ac_exeext
14740 if ${ac_cv_search_gethostbyname+:} false; then :
14741 break
14743 done
14744 if ${ac_cv_search_gethostbyname+:} false; then :
14746 else
14747 ac_cv_search_gethostbyname=no
14749 rm conftest.$ac_ext
14750 LIBS=$ac_func_search_save_LIBS
14752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14753 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14754 ac_res=$ac_cv_search_gethostbyname
14755 if test "$ac_res" != no; then :
14756 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14762 $as_echo_n "checking for library containing connect... " >&6; }
14763 if ${ac_cv_search_connect+:} false; then :
14764 $as_echo_n "(cached) " >&6
14765 else
14766 ac_func_search_save_LIBS=$LIBS
14767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14768 /* end confdefs.h. */
14770 /* Override any GCC internal prototype to avoid an error.
14771 Use char because int might match the return type of a GCC
14772 builtin and then its argument prototype would still apply. */
14773 #ifdef __cplusplus
14774 extern "C"
14775 #endif
14776 char connect ();
14778 main ()
14780 return connect ();
14782 return 0;
14784 _ACEOF
14785 for ac_lib in '' socket; do
14786 if test -z "$ac_lib"; then
14787 ac_res="none required"
14788 else
14789 ac_res=-l$ac_lib
14790 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14792 if ac_fn_c_try_link "$LINENO"; then :
14793 ac_cv_search_connect=$ac_res
14795 rm -f core conftest.err conftest.$ac_objext \
14796 conftest$ac_exeext
14797 if ${ac_cv_search_connect+:} false; then :
14798 break
14800 done
14801 if ${ac_cv_search_connect+:} false; then :
14803 else
14804 ac_cv_search_connect=no
14806 rm conftest.$ac_ext
14807 LIBS=$ac_func_search_save_LIBS
14809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14810 $as_echo "$ac_cv_search_connect" >&6; }
14811 ac_res=$ac_cv_search_connect
14812 if test "$ac_res" != no; then :
14813 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14819 $as_echo_n "checking for library containing inet_aton... " >&6; }
14820 if ${ac_cv_search_inet_aton+:} false; then :
14821 $as_echo_n "(cached) " >&6
14822 else
14823 ac_func_search_save_LIBS=$LIBS
14824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14825 /* end confdefs.h. */
14827 /* Override any GCC internal prototype to avoid an error.
14828 Use char because int might match the return type of a GCC
14829 builtin and then its argument prototype would still apply. */
14830 #ifdef __cplusplus
14831 extern "C"
14832 #endif
14833 char inet_aton ();
14835 main ()
14837 return inet_aton ();
14839 return 0;
14841 _ACEOF
14842 for ac_lib in '' resolv; do
14843 if test -z "$ac_lib"; then
14844 ac_res="none required"
14845 else
14846 ac_res=-l$ac_lib
14847 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14849 if ac_fn_c_try_link "$LINENO"; then :
14850 ac_cv_search_inet_aton=$ac_res
14852 rm -f core conftest.err conftest.$ac_objext \
14853 conftest$ac_exeext
14854 if ${ac_cv_search_inet_aton+:} false; then :
14855 break
14857 done
14858 if ${ac_cv_search_inet_aton+:} false; then :
14860 else
14861 ac_cv_search_inet_aton=no
14863 rm conftest.$ac_ext
14864 LIBS=$ac_func_search_save_LIBS
14866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14867 $as_echo "$ac_cv_search_inet_aton" >&6; }
14868 ac_res=$ac_cv_search_inet_aton
14869 if test "$ac_res" != no; then :
14870 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14875 for ac_func in \
14876 getaddrinfo \
14877 getnameinfo \
14878 getnetbyname \
14879 getprotobyname \
14880 getprotobynumber \
14881 getservbyport \
14882 inet_addr \
14883 inet_network \
14884 inet_ntop \
14885 inet_pton \
14886 sendmsg \
14887 socketpair \
14889 do :
14890 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14891 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14892 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14893 cat >>confdefs.h <<_ACEOF
14894 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14895 _ACEOF
14898 done
14901 ac_save_LIBS=$LIBS
14902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14903 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14904 if ${ac_cv_search_clock_gettime+:} false; then :
14905 $as_echo_n "(cached) " >&6
14906 else
14907 ac_func_search_save_LIBS=$LIBS
14908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14909 /* end confdefs.h. */
14911 /* Override any GCC internal prototype to avoid an error.
14912 Use char because int might match the return type of a GCC
14913 builtin and then its argument prototype would still apply. */
14914 #ifdef __cplusplus
14915 extern "C"
14916 #endif
14917 char clock_gettime ();
14919 main ()
14921 return clock_gettime ();
14923 return 0;
14925 _ACEOF
14926 for ac_lib in '' rt; do
14927 if test -z "$ac_lib"; then
14928 ac_res="none required"
14929 else
14930 ac_res=-l$ac_lib
14931 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14933 if ac_fn_c_try_link "$LINENO"; then :
14934 ac_cv_search_clock_gettime=$ac_res
14936 rm -f core conftest.err conftest.$ac_objext \
14937 conftest$ac_exeext
14938 if ${ac_cv_search_clock_gettime+:} false; then :
14939 break
14941 done
14942 if ${ac_cv_search_clock_gettime+:} false; then :
14944 else
14945 ac_cv_search_clock_gettime=no
14947 rm conftest.$ac_ext
14948 LIBS=$ac_func_search_save_LIBS
14950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14951 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14952 ac_res=$ac_cv_search_clock_gettime
14953 if test "$ac_res" != no; then :
14954 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14956 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
14958 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
14962 LIBS=$ac_save_LIBS
14964 LDAP_LIBS=""
14966 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
14967 then
14968 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
14970 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
14971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
14972 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
14973 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
14974 $as_echo_n "(cached) " >&6
14975 else
14976 ac_check_lib_save_LIBS=$LIBS
14977 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
14978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14979 /* end confdefs.h. */
14981 /* Override any GCC internal prototype to avoid an error.
14982 Use char because int might match the return type of a GCC
14983 builtin and then its argument prototype would still apply. */
14984 #ifdef __cplusplus
14985 extern "C"
14986 #endif
14987 char ldap_initialize ();
14989 main ()
14991 return ldap_initialize ();
14993 return 0;
14995 _ACEOF
14996 if ac_fn_c_try_link "$LINENO"; then :
14997 ac_cv_lib_ldap_r_ldap_initialize=yes
14998 else
14999 ac_cv_lib_ldap_r_ldap_initialize=no
15001 rm -f core conftest.err conftest.$ac_objext \
15002 conftest$ac_exeext conftest.$ac_ext
15003 LIBS=$ac_check_lib_save_LIBS
15005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15006 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15007 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15009 $as_echo_n "checking for ber_init in -llber... " >&6; }
15010 if ${ac_cv_lib_lber_ber_init+:} false; then :
15011 $as_echo_n "(cached) " >&6
15012 else
15013 ac_check_lib_save_LIBS=$LIBS
15014 LIBS="-llber $PTHREAD_LIBS $LIBS"
15015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15016 /* end confdefs.h. */
15018 /* Override any GCC internal prototype to avoid an error.
15019 Use char because int might match the return type of a GCC
15020 builtin and then its argument prototype would still apply. */
15021 #ifdef __cplusplus
15022 extern "C"
15023 #endif
15024 char ber_init ();
15026 main ()
15028 return ber_init ();
15030 return 0;
15032 _ACEOF
15033 if ac_fn_c_try_link "$LINENO"; then :
15034 ac_cv_lib_lber_ber_init=yes
15035 else
15036 ac_cv_lib_lber_ber_init=no
15038 rm -f core conftest.err conftest.$ac_objext \
15039 conftest$ac_exeext conftest.$ac_ext
15040 LIBS=$ac_check_lib_save_LIBS
15042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15043 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15044 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15046 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15048 LDAP_LIBS="-lldap_r -llber"
15055 ac_wine_check_funcs_save_LIBS="$LIBS"
15056 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15057 for ac_func in \
15058 ldap_count_references \
15059 ldap_first_reference \
15060 ldap_next_reference \
15061 ldap_parse_reference \
15062 ldap_parse_sort_control \
15063 ldap_parse_sortresponse_control \
15064 ldap_parse_vlv_control \
15065 ldap_parse_vlvresponse_control
15066 do :
15067 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15068 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15069 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15070 cat >>confdefs.h <<_ACEOF
15071 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15072 _ACEOF
15075 done
15077 LIBS="$ac_wine_check_funcs_save_LIBS"
15079 if test "x$LDAP_LIBS" = "x"; then :
15080 case "x$with_ldap" in
15081 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15082 xno) ;;
15083 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15084 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15085 esac
15088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15089 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15090 if ${wine_cv_one_arg_mkdir+:} false; then :
15091 $as_echo_n "(cached) " >&6
15092 else
15093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15094 /* end confdefs.h. */
15095 #include <sys/stat.h>
15097 main ()
15099 mkdir("foo");
15101 return 0;
15103 _ACEOF
15104 if ac_fn_c_try_compile "$LINENO"; then :
15105 wine_cv_one_arg_mkdir=yes
15106 else
15107 wine_cv_one_arg_mkdir=no
15109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15112 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15113 if test "$wine_cv_one_arg_mkdir" = "yes"
15114 then
15116 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15121 $as_echo_n "checking for sched_setaffinity... " >&6; }
15122 if ${wine_cv_have_sched_setaffinity+:} false; then :
15123 $as_echo_n "(cached) " >&6
15124 else
15125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15126 /* end confdefs.h. */
15127 #define _GNU_SOURCE
15128 #include <sched.h>
15130 main ()
15132 sched_setaffinity(0, 0, 0);
15134 return 0;
15136 _ACEOF
15137 if ac_fn_c_try_link "$LINENO"; then :
15138 wine_cv_have_sched_setaffinity=yes
15139 else
15140 wine_cv_have_sched_setaffinity=no
15142 rm -f core conftest.err conftest.$ac_objext \
15143 conftest$ac_exeext conftest.$ac_ext
15145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15146 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15147 if test "$wine_cv_have_sched_setaffinity" = "yes"
15148 then
15150 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15155 $as_echo_n "checking for fallocate... " >&6; }
15156 if ${wine_cv_have_fallocate+:} false; then :
15157 $as_echo_n "(cached) " >&6
15158 else
15159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15160 /* end confdefs.h. */
15161 #define _GNU_SOURCE
15162 #include <fcntl.h>
15164 main ()
15166 fallocate(-1, 0, 0, 0);
15168 return 0;
15170 _ACEOF
15171 if ac_fn_c_try_link "$LINENO"; then :
15172 wine_cv_have_fallocate=yes
15173 else
15174 wine_cv_have_fallocate=no
15176 rm -f core conftest.err conftest.$ac_objext \
15177 conftest$ac_exeext conftest.$ac_ext
15179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15180 $as_echo "$wine_cv_have_fallocate" >&6; }
15181 if test "$wine_cv_have_fallocate" = "yes"
15182 then
15184 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15190 $as_echo_n "checking for inline... " >&6; }
15191 if ${ac_cv_c_inline+:} false; then :
15192 $as_echo_n "(cached) " >&6
15193 else
15194 ac_cv_c_inline=no
15195 for ac_kw in inline __inline__ __inline; do
15196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15197 /* end confdefs.h. */
15198 #ifndef __cplusplus
15199 typedef int foo_t;
15200 static $ac_kw foo_t static_foo () {return 0; }
15201 $ac_kw foo_t foo () {return 0; }
15202 #endif
15204 _ACEOF
15205 if ac_fn_c_try_compile "$LINENO"; then :
15206 ac_cv_c_inline=$ac_kw
15208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15209 test "$ac_cv_c_inline" != no && break
15210 done
15213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15214 $as_echo "$ac_cv_c_inline" >&6; }
15216 case $ac_cv_c_inline in
15217 inline | yes) ;;
15219 case $ac_cv_c_inline in
15220 no) ac_val=;;
15221 *) ac_val=$ac_cv_c_inline;;
15222 esac
15223 cat >>confdefs.h <<_ACEOF
15224 #ifndef __cplusplus
15225 #define inline $ac_val
15226 #endif
15227 _ACEOF
15229 esac
15231 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15232 if test "x$ac_cv_type_mode_t" = xyes; then :
15234 cat >>confdefs.h <<_ACEOF
15235 #define HAVE_MODE_T 1
15236 _ACEOF
15240 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15241 if test "x$ac_cv_type_off_t" = xyes; then :
15243 cat >>confdefs.h <<_ACEOF
15244 #define HAVE_OFF_T 1
15245 _ACEOF
15249 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15250 if test "x$ac_cv_type_pid_t" = xyes; then :
15252 cat >>confdefs.h <<_ACEOF
15253 #define HAVE_PID_T 1
15254 _ACEOF
15258 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15259 if test "x$ac_cv_type_size_t" = xyes; then :
15261 cat >>confdefs.h <<_ACEOF
15262 #define HAVE_SIZE_T 1
15263 _ACEOF
15267 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15268 if test "x$ac_cv_type_ssize_t" = xyes; then :
15270 cat >>confdefs.h <<_ACEOF
15271 #define HAVE_SSIZE_T 1
15272 _ACEOF
15276 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15277 if test "x$ac_cv_type_long_long" = xyes; then :
15279 cat >>confdefs.h <<_ACEOF
15280 #define HAVE_LONG_LONG 1
15281 _ACEOF
15285 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15286 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15288 cat >>confdefs.h <<_ACEOF
15289 #define HAVE_FSBLKCNT_T 1
15290 _ACEOF
15294 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15295 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15297 cat >>confdefs.h <<_ACEOF
15298 #define HAVE_FSFILCNT_T 1
15299 _ACEOF
15304 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15305 #include <signal.h>
15307 if test "x$ac_cv_type_sigset_t" = xyes; then :
15309 cat >>confdefs.h <<_ACEOF
15310 #define HAVE_SIGSET_T 1
15311 _ACEOF
15316 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15318 if test "x$ac_cv_type_request_sense" = xyes; then :
15320 cat >>confdefs.h <<_ACEOF
15321 #define HAVE_REQUEST_SENSE 1
15322 _ACEOF
15328 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15329 #ifdef HAVE_SYS_SOCKET_H
15330 #include <sys/socket.h>
15331 #endif
15332 #ifdef HAVE_SYS_SOCKETVAR_H
15333 #include <sys/socketvar.h>
15334 #endif
15335 #ifdef HAVE_NET_ROUTE_H
15336 #include <net/route.h>
15337 #endif
15338 #ifdef HAVE_NETINET_IN_H
15339 #include <netinet/in.h>
15340 #endif
15341 #ifdef HAVE_NETINET_IN_SYSTM_H
15342 #include <netinet/in_systm.h>
15343 #endif
15344 #ifdef HAVE_NETINET_IP_H
15345 #include <netinet/ip.h>
15346 #endif
15347 #ifdef HAVE_NETINET_IN_PCB_H
15348 #include <netinet/in_pcb.h>
15349 #endif
15351 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15353 cat >>confdefs.h <<_ACEOF
15354 #define HAVE_STRUCT_XINPGEN 1
15355 _ACEOF
15361 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15362 #include <link.h>
15363 #endif
15364 #ifdef HAVE_SYS_LINK_H
15365 #include <sys/link.h>
15366 #endif
15368 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15370 cat >>confdefs.h <<_ACEOF
15371 #define HAVE_STRUCT_R_DEBUG 1
15372 _ACEOF
15376 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15377 #include <link.h>
15378 #endif
15379 #ifdef HAVE_SYS_LINK_H
15380 #include <sys/link.h>
15381 #endif
15383 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15385 cat >>confdefs.h <<_ACEOF
15386 #define HAVE_STRUCT_LINK_MAP 1
15387 _ACEOF
15393 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15394 #include <linux/input.h>
15395 #endif
15397 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15399 cat >>confdefs.h <<_ACEOF
15400 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15401 _ACEOF
15407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15408 $as_echo_n "checking for sigaddset... " >&6; }
15409 if ${wine_cv_have_sigaddset+:} false; then :
15410 $as_echo_n "(cached) " >&6
15411 else
15412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15413 /* end confdefs.h. */
15414 #include <signal.h>
15416 main ()
15418 sigset_t set; sigaddset(&set,SIGTERM);
15420 return 0;
15422 _ACEOF
15423 if ac_fn_c_try_link "$LINENO"; then :
15424 wine_cv_have_sigaddset=yes
15425 else
15426 wine_cv_have_sigaddset=no
15428 rm -f core conftest.err conftest.$ac_objext \
15429 conftest$ac_exeext conftest.$ac_ext
15431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15432 $as_echo "$wine_cv_have_sigaddset" >&6; }
15433 if test "$wine_cv_have_sigaddset" = "yes"
15434 then
15436 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15442 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15443 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15444 $as_echo_n "(cached) " >&6
15445 else
15446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15447 /* end confdefs.h. */
15448 #include <netdb.h>
15450 main ()
15453 char *name=0;
15454 struct hostent he;
15455 struct hostent *result;
15456 char *buf=0;
15457 int bufsize=0;
15458 int errnr;
15459 char *addr=0;
15460 int addrlen=0;
15461 int addrtype=0;
15462 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15463 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15466 return 0;
15468 _ACEOF
15469 if ac_fn_c_try_link "$LINENO"; then :
15470 wine_cv_linux_gethostbyname_r_6=yes
15471 else
15472 wine_cv_linux_gethostbyname_r_6=no
15475 rm -f core conftest.err conftest.$ac_objext \
15476 conftest$ac_exeext conftest.$ac_ext
15479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15480 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15481 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15482 then
15484 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15488 if test "$ac_cv_header_linux_joystick_h" = "yes"
15489 then
15490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15491 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15492 if ${wine_cv_linux_joystick_22_api+:} false; then :
15493 $as_echo_n "(cached) " >&6
15494 else
15495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15496 /* end confdefs.h. */
15498 #include <sys/ioctl.h>
15499 #include <sys/types.h>
15500 #include <linux/joystick.h>
15502 struct js_event blub;
15503 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15504 #error "no 2.2 header"
15505 #endif
15508 main ()
15510 /*empty*/
15512 return 0;
15514 _ACEOF
15515 if ac_fn_c_try_compile "$LINENO"; then :
15516 wine_cv_linux_joystick_22_api=yes
15517 else
15518 wine_cv_linux_joystick_22_api=no
15520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15524 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15525 if test "$wine_cv_linux_joystick_22_api" = "yes"
15526 then
15528 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15534 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15535 #ifdef HAVE_SYS_PARAM_H
15536 # include <sys/param.h>
15537 #endif
15538 #ifdef HAVE_SYS_MOUNT_H
15539 # include <sys/mount.h>
15540 #endif
15541 #ifdef HAVE_SYS_VFS_H
15542 # include <sys/vfs.h>
15543 #endif
15544 #ifdef HAVE_SYS_STATFS_H
15545 # include <sys/statfs.h>
15546 #endif
15548 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15550 cat >>confdefs.h <<_ACEOF
15551 #define HAVE_STRUCT_STATFS_F_BFREE 1
15552 _ACEOF
15556 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15557 #ifdef HAVE_SYS_PARAM_H
15558 # include <sys/param.h>
15559 #endif
15560 #ifdef HAVE_SYS_MOUNT_H
15561 # include <sys/mount.h>
15562 #endif
15563 #ifdef HAVE_SYS_VFS_H
15564 # include <sys/vfs.h>
15565 #endif
15566 #ifdef HAVE_SYS_STATFS_H
15567 # include <sys/statfs.h>
15568 #endif
15570 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
15572 cat >>confdefs.h <<_ACEOF
15573 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15574 _ACEOF
15578 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15579 #ifdef HAVE_SYS_PARAM_H
15580 # include <sys/param.h>
15581 #endif
15582 #ifdef HAVE_SYS_MOUNT_H
15583 # include <sys/mount.h>
15584 #endif
15585 #ifdef HAVE_SYS_VFS_H
15586 # include <sys/vfs.h>
15587 #endif
15588 #ifdef HAVE_SYS_STATFS_H
15589 # include <sys/statfs.h>
15590 #endif
15592 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
15594 cat >>confdefs.h <<_ACEOF
15595 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15596 _ACEOF
15600 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15601 #ifdef HAVE_SYS_PARAM_H
15602 # include <sys/param.h>
15603 #endif
15604 #ifdef HAVE_SYS_MOUNT_H
15605 # include <sys/mount.h>
15606 #endif
15607 #ifdef HAVE_SYS_VFS_H
15608 # include <sys/vfs.h>
15609 #endif
15610 #ifdef HAVE_SYS_STATFS_H
15611 # include <sys/statfs.h>
15612 #endif
15614 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
15616 cat >>confdefs.h <<_ACEOF
15617 #define HAVE_STRUCT_STATFS_F_FFREE 1
15618 _ACEOF
15622 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15623 #ifdef HAVE_SYS_PARAM_H
15624 # include <sys/param.h>
15625 #endif
15626 #ifdef HAVE_SYS_MOUNT_H
15627 # include <sys/mount.h>
15628 #endif
15629 #ifdef HAVE_SYS_VFS_H
15630 # include <sys/vfs.h>
15631 #endif
15632 #ifdef HAVE_SYS_STATFS_H
15633 # include <sys/statfs.h>
15634 #endif
15636 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
15638 cat >>confdefs.h <<_ACEOF
15639 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15640 _ACEOF
15644 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15645 #ifdef HAVE_SYS_PARAM_H
15646 # include <sys/param.h>
15647 #endif
15648 #ifdef HAVE_SYS_MOUNT_H
15649 # include <sys/mount.h>
15650 #endif
15651 #ifdef HAVE_SYS_VFS_H
15652 # include <sys/vfs.h>
15653 #endif
15654 #ifdef HAVE_SYS_STATFS_H
15655 # include <sys/statfs.h>
15656 #endif
15658 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
15660 cat >>confdefs.h <<_ACEOF
15661 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15662 _ACEOF
15668 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15669 #include <sys/statvfs.h>
15670 #endif
15672 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
15674 cat >>confdefs.h <<_ACEOF
15675 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15676 _ACEOF
15682 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15683 #include <dirent.h>
15684 #endif
15686 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
15688 cat >>confdefs.h <<_ACEOF
15689 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15690 _ACEOF
15696 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15697 #ifdef HAVE_SYS_SOCKET_H
15698 # include <sys/socket.h>
15699 #endif
15700 #ifdef HAVE_SYS_UN_H
15701 # include <sys/un.h>
15702 #endif
15704 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
15706 cat >>confdefs.h <<_ACEOF
15707 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15708 _ACEOF
15712 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15713 #ifdef HAVE_SYS_SOCKET_H
15714 # include <sys/socket.h>
15715 #endif
15716 #ifdef HAVE_SYS_UN_H
15717 # include <sys/un.h>
15718 #endif
15720 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
15722 cat >>confdefs.h <<_ACEOF
15723 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15724 _ACEOF
15728 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15729 #ifdef HAVE_SYS_SOCKET_H
15730 # include <sys/socket.h>
15731 #endif
15732 #ifdef HAVE_SYS_UN_H
15733 # include <sys/un.h>
15734 #endif
15736 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
15738 cat >>confdefs.h <<_ACEOF
15739 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15740 _ACEOF
15746 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15747 #ifdef HAVE_SCSI_SG_H
15748 #include <scsi/sg.h>
15749 #endif
15751 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
15753 cat >>confdefs.h <<_ACEOF
15754 #define HAVE_SCSIREQ_T_CMD 1
15755 _ACEOF
15759 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>
15760 #ifdef HAVE_SCSI_SG_H
15761 #include <scsi/sg.h>
15762 #endif
15764 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
15766 cat >>confdefs.h <<_ACEOF
15767 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15768 _ACEOF
15774 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15776 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
15778 cat >>confdefs.h <<_ACEOF
15779 #define HAVE_SIGINFO_T_SI_FD 1
15780 _ACEOF
15786 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15787 #ifdef HAVE_SYS_MTIO_H
15788 #include <sys/mtio.h>
15789 #endif
15791 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
15793 cat >>confdefs.h <<_ACEOF
15794 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15795 _ACEOF
15799 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15800 #ifdef HAVE_SYS_MTIO_H
15801 #include <sys/mtio.h>
15802 #endif
15804 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
15806 cat >>confdefs.h <<_ACEOF
15807 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15808 _ACEOF
15812 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15813 #ifdef HAVE_SYS_MTIO_H
15814 #include <sys/mtio.h>
15815 #endif
15817 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
15819 cat >>confdefs.h <<_ACEOF
15820 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15821 _ACEOF
15827 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15828 #include <getopt.h>
15829 #endif
15831 if test "x$ac_cv_member_struct_option_name" = xyes; then :
15833 cat >>confdefs.h <<_ACEOF
15834 #define HAVE_STRUCT_OPTION_NAME 1
15835 _ACEOF
15841 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15842 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
15844 cat >>confdefs.h <<_ACEOF
15845 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15846 _ACEOF
15850 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15851 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
15853 cat >>confdefs.h <<_ACEOF
15854 #define HAVE_STRUCT_STAT_ST_MTIM 1
15855 _ACEOF
15859 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15860 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
15862 cat >>confdefs.h <<_ACEOF
15863 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15864 _ACEOF
15868 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15869 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
15871 cat >>confdefs.h <<_ACEOF
15872 #define HAVE_STRUCT_STAT_ST_CTIM 1
15873 _ACEOF
15877 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15878 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
15880 cat >>confdefs.h <<_ACEOF
15881 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15882 _ACEOF
15886 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15887 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
15889 cat >>confdefs.h <<_ACEOF
15890 #define HAVE_STRUCT_STAT_ST_ATIM 1
15891 _ACEOF
15895 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15896 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
15898 cat >>confdefs.h <<_ACEOF
15899 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15900 _ACEOF
15904 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15905 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
15907 cat >>confdefs.h <<_ACEOF
15908 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15909 _ACEOF
15913 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15914 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
15916 cat >>confdefs.h <<_ACEOF
15917 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15918 _ACEOF
15922 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15923 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
15925 cat >>confdefs.h <<_ACEOF
15926 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15927 _ACEOF
15931 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15932 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
15934 cat >>confdefs.h <<_ACEOF
15935 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15936 _ACEOF
15940 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15941 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
15943 cat >>confdefs.h <<_ACEOF
15944 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15945 _ACEOF
15951 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
15952 #include <sys/types.h>
15953 #endif
15954 #ifdef HAVE_NETINET_IN_H
15955 #include <netinet/in.h>
15956 #endif
15958 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
15960 cat >>confdefs.h <<_ACEOF
15961 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
15962 _ACEOF
15968 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
15969 #include <resolv.h>
15970 #endif
15972 if test "x$ac_cv_type_struct___res_state" = xyes; then :
15974 cat >>confdefs.h <<_ACEOF
15975 #define HAVE_STRUCT___RES_STATE 1
15976 _ACEOF
15982 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
15983 #include <resolv.h>
15984 #endif
15986 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
15988 cat >>confdefs.h <<_ACEOF
15989 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
15990 _ACEOF
15996 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
15997 #include <sys/types.h>
15998 #endif
15999 #ifdef HAVE_NETINET_IN_H
16000 # include <netinet/in.h>
16001 #endif
16002 #ifdef HAVE_ARPA_NAMESER_H
16003 # include <arpa/nameser.h>
16004 #endif
16006 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16008 cat >>confdefs.h <<_ACEOF
16009 #define HAVE_NS_MSG__MSG_PTR 1
16010 _ACEOF
16016 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16017 #include <sys/types.h>
16018 #endif
16019 #ifdef HAVE_NETINET_IP_H
16020 #include <netinet/ip.h>
16021 #endif
16022 #ifdef HAVE_NETINET_IP_ICMP_H
16023 #include <netinet/ip_icmp.h>
16024 #endif
16025 #ifdef HAVE_NETINET_ICMP_VAR_H
16026 #include <netinet/icmp_var.h>
16027 #endif
16029 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16031 cat >>confdefs.h <<_ACEOF
16032 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16033 _ACEOF
16039 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16040 #include <sys/types.h>
16041 #endif
16042 #ifdef HAVE_ALIAS_H
16043 #include <alias.h>
16044 #endif
16045 #ifdef HAVE_SYS_SOCKET_H
16046 #include <sys/socket.h>
16047 #endif
16048 #ifdef HAVE_SYS_SOCKETVAR_H
16049 #include <sys/socketvar.h>
16050 #endif
16051 #ifdef HAVE_SYS_TIMEOUT_H
16052 #include <sys/timeout.h>
16053 #endif
16054 #ifdef HAVE_NETINET_IN_H
16055 #include <netinet/in.h>
16056 #endif
16057 #ifdef HAVE_NETINET_IN_SYSTM_H
16058 #include <netinet/in_systm.h>
16059 #endif
16060 #ifdef HAVE_NETINET_IP_H
16061 #include <netinet/ip.h>
16062 #endif
16063 #ifdef HAVE_NETINET_IP_VAR_H
16064 #include <netinet/ip_var.h>
16065 #endif
16066 #ifdef HAVE_NETINET_IP_ICMP_H
16067 #include <netinet/ip_icmp.h>
16068 #endif
16069 #ifdef HAVE_NETINET_ICMP_VAR_H
16070 #include <netinet/icmp_var.h>
16071 #endif
16073 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16075 cat >>confdefs.h <<_ACEOF
16076 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16077 _ACEOF
16083 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16084 #include <sys/types.h>
16085 #endif
16086 #ifdef HAVE_SYS_SOCKETVAR_H
16087 #include <sys/socketvar.h>
16088 #endif
16089 #ifdef HAVE_NETINET_IN_H
16090 #include <netinet/in.h>
16091 #endif
16092 #ifdef HAVE_NETINET_IP_VAR_H
16093 #include <netinet/ip_var.h>
16094 #endif
16096 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16098 cat >>confdefs.h <<_ACEOF
16099 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16100 _ACEOF
16106 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
16107 #include <netinet/ip_var.h>
16108 #endif
16110 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16112 cat >>confdefs.h <<_ACEOF
16113 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16114 _ACEOF
16120 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16121 #include <sys/types.h>
16122 #endif
16123 #ifdef HAVE_SYS_SOCKETVAR_H
16124 #include <sys/socketvar.h>
16125 #endif
16126 #ifdef HAVE_NETINET_IN_H
16127 #include <netinet/in.h>
16128 #endif
16129 #ifdef HAVE_NETINET_TCP_H
16130 #include <netinet/tcp.h>
16131 #endif
16132 #ifdef HAVE_NETINET_TCP_VAR_H
16133 #include <netinet/tcp_var.h>
16134 #endif
16136 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16138 cat >>confdefs.h <<_ACEOF
16139 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16140 _ACEOF
16146 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
16147 #include <netinet/tcp_var.h>
16148 #endif
16150 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16152 cat >>confdefs.h <<_ACEOF
16153 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16154 _ACEOF
16160 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16161 #include <sys/types.h>
16162 #endif
16163 #ifdef HAVE_NETINET_IN_H
16164 #include <netinet/in.h>
16165 #endif
16166 #ifdef HAVE_NETINET_IP_VAR_H
16167 #include <netinet/ip_var.h>
16168 #endif
16169 #ifdef HAVE_NETINET_UDP_H
16170 #include <netinet/udp.h>
16171 #endif
16172 #ifdef HAVE_NETINET_UDP_VAR_H
16173 #include <netinet/udp_var.h>
16174 #endif
16176 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16178 cat >>confdefs.h <<_ACEOF
16179 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16180 _ACEOF
16186 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16187 #include <sys/types.h>
16188 #endif
16189 #ifdef HAVE_NET_IF_H
16190 # include <net/if.h>
16191 #endif
16193 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16195 cat >>confdefs.h <<_ACEOF
16196 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16197 _ACEOF
16203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16204 $as_echo_n "checking for timezone variable... " >&6; }
16205 if ${ac_cv_have_timezone+:} false; then :
16206 $as_echo_n "(cached) " >&6
16207 else
16208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16209 /* end confdefs.h. */
16210 #include <time.h>
16212 main ()
16214 timezone = 1
16216 return 0;
16218 _ACEOF
16219 if ac_fn_c_try_link "$LINENO"; then :
16220 ac_cv_have_timezone="yes"
16221 else
16222 ac_cv_have_timezone="no"
16224 rm -f core conftest.err conftest.$ac_objext \
16225 conftest$ac_exeext conftest.$ac_ext
16227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16228 $as_echo "$ac_cv_have_timezone" >&6; }
16229 if test "$ac_cv_have_timezone" = "yes"
16230 then
16232 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16236 $as_echo_n "checking for daylight variable... " >&6; }
16237 if ${ac_cv_have_daylight+:} false; then :
16238 $as_echo_n "(cached) " >&6
16239 else
16240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16241 /* end confdefs.h. */
16242 #include <time.h>
16244 main ()
16246 daylight = 1
16248 return 0;
16250 _ACEOF
16251 if ac_fn_c_try_link "$LINENO"; then :
16252 ac_cv_have_daylight="yes"
16253 else
16254 ac_cv_have_daylight="no"
16256 rm -f core conftest.err conftest.$ac_objext \
16257 conftest$ac_exeext conftest.$ac_ext
16259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16260 $as_echo "$ac_cv_have_daylight" >&6; }
16261 if test "$ac_cv_have_daylight" = "yes"
16262 then
16264 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16268 ac_save_LIBS="$LIBS"
16269 LIBS="$LIBS -lm"
16270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16271 $as_echo_n "checking for isfinite... " >&6; }
16272 if ${ac_cv_have_isfinite+:} false; then :
16273 $as_echo_n "(cached) " >&6
16274 else
16275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16276 /* end confdefs.h. */
16277 #define _GNU_SOURCE
16278 #include <math.h>
16280 main ()
16282 float f = 0.0; return isfinite(f)
16284 return 0;
16286 _ACEOF
16287 if ac_fn_c_try_link "$LINENO"; then :
16288 ac_cv_have_isfinite="yes"
16289 else
16290 ac_cv_have_isfinite="no"
16292 rm -f core conftest.err conftest.$ac_objext \
16293 conftest$ac_exeext conftest.$ac_ext
16295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16296 $as_echo "$ac_cv_have_isfinite" >&6; }
16297 if test "$ac_cv_have_isfinite" = "yes"
16298 then
16300 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16304 ac_save_LIBS="$LIBS"
16305 LIBS="$LIBS -lm"
16306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16307 $as_echo_n "checking for isinf... " >&6; }
16308 if ${ac_cv_have_isinf+:} false; then :
16309 $as_echo_n "(cached) " >&6
16310 else
16311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16312 /* end confdefs.h. */
16313 #include <math.h>
16315 main ()
16317 float f = 0.0; return isinf(f)
16319 return 0;
16321 _ACEOF
16322 if ac_fn_c_try_link "$LINENO"; then :
16323 ac_cv_have_isinf="yes"
16324 else
16325 ac_cv_have_isinf="no"
16327 rm -f core conftest.err conftest.$ac_objext \
16328 conftest$ac_exeext conftest.$ac_ext
16330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16331 $as_echo "$ac_cv_have_isinf" >&6; }
16332 if test "$ac_cv_have_isinf" = "yes"
16333 then
16335 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16340 $as_echo_n "checking for isnan... " >&6; }
16341 if ${ac_cv_have_isnan+:} false; then :
16342 $as_echo_n "(cached) " >&6
16343 else
16344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16345 /* end confdefs.h. */
16346 #include <math.h>
16348 main ()
16350 float f = 0.0; return isnan(f)
16352 return 0;
16354 _ACEOF
16355 if ac_fn_c_try_link "$LINENO"; then :
16356 ac_cv_have_isnan="yes"
16357 else
16358 ac_cv_have_isnan="no"
16360 rm -f core conftest.err conftest.$ac_objext \
16361 conftest$ac_exeext conftest.$ac_ext
16363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16364 $as_echo "$ac_cv_have_isnan" >&6; }
16365 if test "$ac_cv_have_isnan" = "yes"
16366 then
16368 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16371 LIBS="$ac_save_LIBS"
16374 case $host_cpu in
16375 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16376 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16377 if ${ac_cv_cpp_def___i386__+:} false; then :
16378 $as_echo_n "(cached) " >&6
16379 else
16380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16381 /* end confdefs.h. */
16382 #ifndef __i386__
16384 #endif
16385 _ACEOF
16386 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16387 $EGREP "yes" >/dev/null 2>&1; then :
16388 ac_cv_cpp_def___i386__=yes
16389 else
16390 ac_cv_cpp_def___i386__=no
16392 rm -f conftest*
16395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16396 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16397 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16398 CFLAGS="$CFLAGS -D__i386__"
16399 LINTFLAGS="$LINTFLAGS -D__i386__"
16400 fi ;;
16401 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16402 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16403 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16404 $as_echo_n "(cached) " >&6
16405 else
16406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16407 /* end confdefs.h. */
16408 #ifndef __x86_64__
16410 #endif
16411 _ACEOF
16412 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16413 $EGREP "yes" >/dev/null 2>&1; then :
16414 ac_cv_cpp_def___x86_64__=yes
16415 else
16416 ac_cv_cpp_def___x86_64__=no
16418 rm -f conftest*
16421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16422 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16423 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16424 CFLAGS="$CFLAGS -D__x86_64__"
16425 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16426 fi ;;
16427 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16428 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16429 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16430 $as_echo_n "(cached) " >&6
16431 else
16432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16433 /* end confdefs.h. */
16434 #ifndef __sparc64__
16436 #endif
16437 _ACEOF
16438 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16439 $EGREP "yes" >/dev/null 2>&1; then :
16440 ac_cv_cpp_def___sparc64__=yes
16441 else
16442 ac_cv_cpp_def___sparc64__=no
16444 rm -f conftest*
16447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16448 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16449 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
16450 CFLAGS="$CFLAGS -D__sparc64__"
16451 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16452 fi ;;
16453 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16454 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16455 if ${ac_cv_cpp_def___sparc__+:} false; then :
16456 $as_echo_n "(cached) " >&6
16457 else
16458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16459 /* end confdefs.h. */
16460 #ifndef __sparc__
16462 #endif
16463 _ACEOF
16464 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16465 $EGREP "yes" >/dev/null 2>&1; then :
16466 ac_cv_cpp_def___sparc__=yes
16467 else
16468 ac_cv_cpp_def___sparc__=no
16470 rm -f conftest*
16473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16474 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16475 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
16476 CFLAGS="$CFLAGS -D__sparc__"
16477 LINTFLAGS="$LINTFLAGS -D__sparc__"
16478 fi ;;
16479 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16480 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16481 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
16482 $as_echo_n "(cached) " >&6
16483 else
16484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16485 /* end confdefs.h. */
16486 #ifndef __powerpc64__
16488 #endif
16489 _ACEOF
16490 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16491 $EGREP "yes" >/dev/null 2>&1; then :
16492 ac_cv_cpp_def___powerpc64__=yes
16493 else
16494 ac_cv_cpp_def___powerpc64__=no
16496 rm -f conftest*
16499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16500 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16501 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
16502 CFLAGS="$CFLAGS -D__powerpc64__"
16503 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
16504 fi ;;
16505 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16506 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16507 if ${ac_cv_cpp_def___powerpc__+:} false; then :
16508 $as_echo_n "(cached) " >&6
16509 else
16510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16511 /* end confdefs.h. */
16512 #ifndef __powerpc__
16514 #endif
16515 _ACEOF
16516 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16517 $EGREP "yes" >/dev/null 2>&1; then :
16518 ac_cv_cpp_def___powerpc__=yes
16519 else
16520 ac_cv_cpp_def___powerpc__=no
16522 rm -f conftest*
16525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16526 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16527 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
16528 CFLAGS="$CFLAGS -D__powerpc__"
16529 LINTFLAGS="$LINTFLAGS -D__powerpc__"
16530 fi ;;
16531 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16532 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16533 if ${ac_cv_cpp_def___aarch64__+:} false; then :
16534 $as_echo_n "(cached) " >&6
16535 else
16536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16537 /* end confdefs.h. */
16538 #ifndef __aarch64__
16540 #endif
16541 _ACEOF
16542 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16543 $EGREP "yes" >/dev/null 2>&1; then :
16544 ac_cv_cpp_def___aarch64__=yes
16545 else
16546 ac_cv_cpp_def___aarch64__=no
16548 rm -f conftest*
16551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16552 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16553 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
16554 CFLAGS="$CFLAGS -D__aarch64__"
16555 LINTFLAGS="$LINTFLAGS -D__aarch64__"
16556 fi ;;
16557 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16558 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16559 if ${ac_cv_cpp_def___arm__+:} false; then :
16560 $as_echo_n "(cached) " >&6
16561 else
16562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16563 /* end confdefs.h. */
16564 #ifndef __arm__
16566 #endif
16567 _ACEOF
16568 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16569 $EGREP "yes" >/dev/null 2>&1; then :
16570 ac_cv_cpp_def___arm__=yes
16571 else
16572 ac_cv_cpp_def___arm__=no
16574 rm -f conftest*
16577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16578 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16579 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
16580 CFLAGS="$CFLAGS -D__arm__"
16581 LINTFLAGS="$LINTFLAGS -D__arm__"
16582 fi ;;
16583 esac
16585 case $host_vendor in
16586 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16587 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16588 if ${ac_cv_cpp_def___sun__+:} false; then :
16589 $as_echo_n "(cached) " >&6
16590 else
16591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16592 /* end confdefs.h. */
16593 #ifndef __sun__
16595 #endif
16596 _ACEOF
16597 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16598 $EGREP "yes" >/dev/null 2>&1; then :
16599 ac_cv_cpp_def___sun__=yes
16600 else
16601 ac_cv_cpp_def___sun__=no
16603 rm -f conftest*
16606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16607 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16608 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
16609 CFLAGS="$CFLAGS -D__sun__"
16610 LINTFLAGS="$LINTFLAGS -D__sun__"
16611 fi ;;
16612 esac
16618 ac_config_commands="$ac_config_commands include/stamp-h"
16620 $as_echo_n "creating Makefile rules..." >&6
16622 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
16623 SOCKET_LIBS = $SOCKET_LIBS
16624 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16625 IOKIT_LIBS = $IOKIT_LIBS
16626 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16627 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16628 CORESERVICES_LIBS = $CORESERVICES_LIBS
16629 APPKIT_LIBS = $APPKIT_LIBS
16630 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16631 SECURITY_LIBS = $SECURITY_LIBS
16632 COREAUDIO_LIBS = $COREAUDIO_LIBS
16633 OPENAL_LIBS = $OPENAL_LIBS
16634 OPENCL_LIBS = $OPENCL_LIBS
16635 QUICKTIME_LIBS = $QUICKTIME_LIBS
16636 CARBON_LIBS = $CARBON_LIBS
16637 PTHREAD_LIBS = $PTHREAD_LIBS
16638 X_CFLAGS = $X_CFLAGS
16639 X_PRE_LIBS = $X_PRE_LIBS
16640 X_LIBS = $X_LIBS
16641 X_EXTRA_LIBS = $X_EXTRA_LIBS
16642 XML2_CFLAGS = $XML2_CFLAGS
16643 XML2_LIBS = $XML2_LIBS
16644 XSLT_CFLAGS = $XSLT_CFLAGS
16645 XSLT_LIBS = $XSLT_LIBS
16646 DBUS_CFLAGS = $DBUS_CFLAGS
16647 DBUS_LIBS = $DBUS_LIBS
16648 HAL_CFLAGS = $HAL_CFLAGS
16649 HAL_LIBS = $HAL_LIBS
16650 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16651 GNUTLS_LIBS = $GNUTLS_LIBS
16652 SANE_CFLAGS = $SANE_CFLAGS
16653 SANE_LIBS = $SANE_LIBS
16654 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16655 GPHOTO2_LIBS = $GPHOTO2_LIBS
16656 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16657 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16658 RESOLV_LIBS = $RESOLV_LIBS
16659 LCMS2_CFLAGS = $LCMS2_CFLAGS
16660 LCMS2_LIBS = $LCMS2_LIBS
16661 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16662 FREETYPE_LIBS = $FREETYPE_LIBS
16663 Z_LIBS = $Z_LIBS
16664 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16665 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16666 GSTREAMER_LIBS = $GSTREAMER_LIBS
16667 ALSA_LIBS = $ALSA_LIBS
16668 OSS4_CFLAGS = $OSS4_CFLAGS
16669 CAPI20_CFLAGS = $CAPI20_CFLAGS
16670 CAPI20_LIBS = $CAPI20_LIBS
16671 CUPS_CFLAGS = $CUPS_CFLAGS
16672 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16673 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16674 JPEG_CFLAGS = $JPEG_CFLAGS
16675 JPEG_LIBS = $JPEG_LIBS
16676 PNG_CFLAGS = $PNG_CFLAGS
16677 PNG_LIBS = $PNG_LIBS
16678 TIFF_CFLAGS = $TIFF_CFLAGS
16679 TIFF_LIBS = $TIFF_LIBS
16680 MPG123_CFLAGS = $MPG123_CFLAGS
16681 MPG123_LIBS = $MPG123_LIBS
16682 KSTAT_LIBS = $KSTAT_LIBS
16683 PROCSTAT_LIBS = $PROCSTAT_LIBS
16684 DL_LIBS = $DL_LIBS
16685 POLL_LIBS = $POLL_LIBS
16686 RT_LIBS = $RT_LIBS
16687 LDAP_LIBS = $LDAP_LIBS
16692 wine_fn_append_rule "
16693 # Rules automatically generated by configure
16695 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16697 .INIT: Makefile
16698 .MAKEFILEDEPS:
16699 all: Makefile
16700 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16701 @./config.status Make.tmp Makefile"
16703 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
16704 .gitignore: config.status
16705 @./config.status .gitignore"
16707 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
16708 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16710 if test "x$enable_fonts" != xno; then
16711 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16712 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16713 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16714 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16715 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf
16717 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16718 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
16719 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
16720 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
16721 ac_config_links="$ac_config_links wine:tools/winewrapper"
16722 wine_fn_config_symlink wine
16723 if test "x$enable_win64" != xno; then
16724 ac_config_links="$ac_config_links wine64:tools/winewrapper"
16725 wine_fn_config_symlink wine64
16728 wine_fn_config_dll acledit enable_acledit
16729 wine_fn_config_dll aclui enable_aclui implib
16730 wine_fn_config_dll activeds enable_activeds implib
16731 wine_fn_config_dll actxprxy enable_actxprxy clean
16732 wine_fn_config_lib adsiid
16733 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
16734 wine_fn_config_test dlls/advapi32/tests advapi32_test
16735 wine_fn_config_dll advpack enable_advpack implib
16736 wine_fn_config_test dlls/advpack/tests advpack_test
16737 wine_fn_config_dll amstream enable_amstream clean
16738 wine_fn_config_test dlls/amstream/tests amstream_test
16739 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16740 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16741 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16742 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16743 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16744 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16745 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16746 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16747 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16748 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
16749 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
16750 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
16751 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
16752 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
16753 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16754 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
16755 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
16756 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
16757 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16758 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
16759 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
16760 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
16761 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
16762 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
16763 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
16764 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
16765 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
16766 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
16767 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
16768 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
16769 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
16770 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
16771 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16772 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16773 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16774 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16775 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16776 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16777 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16778 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16779 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16780 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16781 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16782 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
16783 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
16784 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16785 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
16786 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
16787 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
16788 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
16789 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
16790 wine_fn_config_dll apphelp enable_apphelp
16791 wine_fn_config_test dlls/apphelp/tests apphelp_test
16792 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16793 wine_fn_config_dll atl enable_atl clean,implib
16794 wine_fn_config_test dlls/atl/tests atl_test
16795 wine_fn_config_dll atl100 enable_atl100 clean,implib
16796 wine_fn_config_test dlls/atl100/tests atl100_test
16797 wine_fn_config_dll atl110 enable_atl110 clean
16798 wine_fn_config_dll atl80 enable_atl80 clean,implib
16799 wine_fn_config_test dlls/atl80/tests atl80_test
16800 wine_fn_config_dll atl90 enable_atl90 clean
16801 wine_fn_config_dll authz enable_authz
16802 wine_fn_config_dll avicap32 enable_avicap32 implib
16803 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
16804 wine_fn_config_test dlls/avifil32/tests avifil32_test
16805 wine_fn_config_dll avifile.dll16 enable_win16
16806 wine_fn_config_dll avrt enable_avrt implib
16807 wine_fn_config_dll bcrypt enable_bcrypt
16808 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
16809 wine_fn_config_dll browseui enable_browseui clean,po
16810 wine_fn_config_test dlls/browseui/tests browseui_test
16811 wine_fn_config_dll cabinet enable_cabinet implib
16812 wine_fn_config_test dlls/cabinet/tests cabinet_test
16813 wine_fn_config_dll capi2032 enable_capi2032 implib
16814 wine_fn_config_dll cards enable_cards implib
16815 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16816 wine_fn_config_dll clusapi enable_clusapi implib
16817 wine_fn_config_dll comcat enable_comcat
16818 wine_fn_config_test dlls/comcat/tests comcat_test
16819 wine_fn_config_dll comctl32 enable_comctl32 implib,po
16820 wine_fn_config_test dlls/comctl32/tests comctl32_test
16821 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
16822 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
16823 wine_fn_config_dll comm.drv16 enable_win16
16824 wine_fn_config_dll commdlg.dll16 enable_win16
16825 wine_fn_config_dll compobj.dll16 enable_win16
16826 wine_fn_config_dll compstui enable_compstui implib
16827 wine_fn_config_dll comsvcs enable_comsvcs implib
16828 wine_fn_config_dll credui enable_credui implib,po
16829 wine_fn_config_test dlls/credui/tests credui_test
16830 wine_fn_config_dll crtdll enable_crtdll implib
16831 wine_fn_config_dll crypt32 enable_crypt32 implib,po
16832 wine_fn_config_test dlls/crypt32/tests crypt32_test
16833 wine_fn_config_dll cryptdlg enable_cryptdlg po
16834 wine_fn_config_dll cryptdll enable_cryptdll implib
16835 wine_fn_config_dll cryptnet enable_cryptnet implib
16836 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
16837 wine_fn_config_dll cryptui enable_cryptui implib,po
16838 wine_fn_config_test dlls/cryptui/tests cryptui_test
16839 wine_fn_config_dll ctapi32 enable_ctapi32
16840 wine_fn_config_dll ctl3d.dll16 enable_win16
16841 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16842 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16843 wine_fn_config_dll d2d1 enable_d2d1 implib
16844 wine_fn_config_dll d3d10 enable_d3d10 implib
16845 wine_fn_config_test dlls/d3d10/tests d3d10_test
16846 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
16847 wine_fn_config_dll d3d10core enable_d3d10core implib
16848 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
16849 wine_fn_config_dll d3d11 enable_d3d11
16850 wine_fn_config_dll d3d8 enable_d3d8 implib
16851 wine_fn_config_test dlls/d3d8/tests d3d8_test
16852 wine_fn_config_dll d3d9 enable_d3d9 implib
16853 wine_fn_config_test dlls/d3d9/tests d3d9_test
16854 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16855 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16856 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16857 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16858 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16859 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16860 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16861 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16862 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16863 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16864 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16865 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
16866 wine_fn_config_dll d3dim enable_d3dim implib
16867 wine_fn_config_dll d3drm enable_d3drm implib
16868 wine_fn_config_test dlls/d3drm/tests d3drm_test
16869 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16870 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16871 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16872 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16873 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16874 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16875 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16876 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16877 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16878 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16879 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16880 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16881 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16882 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16883 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16884 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16885 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16886 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16887 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16888 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16889 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16890 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16891 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16892 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16893 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16894 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16895 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
16896 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16897 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16898 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16899 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16900 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16901 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16902 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16903 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
16904 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
16905 wine_fn_config_dll dbgeng enable_dbgeng implib
16906 wine_fn_config_dll dbghelp enable_dbghelp implib
16907 wine_fn_config_dll dciman32 enable_dciman32 implib
16908 wine_fn_config_dll ddeml.dll16 enable_win16
16909 wine_fn_config_dll ddraw enable_ddraw clean,implib
16910 wine_fn_config_test dlls/ddraw/tests ddraw_test
16911 wine_fn_config_dll ddrawex enable_ddrawex clean
16912 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
16913 wine_fn_config_dll devenum enable_devenum clean,po
16914 wine_fn_config_test dlls/devenum/tests devenum_test
16915 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16916 wine_fn_config_dll difxapi enable_difxapi
16917 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
16918 wine_fn_config_test dlls/dinput/tests dinput_test
16919 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
16920 wine_fn_config_test dlls/dinput8/tests dinput8_test
16921 wine_fn_config_dll dispdib.dll16 enable_win16
16922 wine_fn_config_dll dispex enable_dispex clean
16923 wine_fn_config_test dlls/dispex/tests dispex_test
16924 wine_fn_config_dll display.drv16 enable_win16
16925 wine_fn_config_dll dmband enable_dmband clean
16926 wine_fn_config_test dlls/dmband/tests dmband_test
16927 wine_fn_config_dll dmcompos enable_dmcompos clean
16928 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
16929 wine_fn_config_dll dmime enable_dmime clean
16930 wine_fn_config_test dlls/dmime/tests dmime_test
16931 wine_fn_config_dll dmloader enable_dmloader clean
16932 wine_fn_config_test dlls/dmloader/tests dmloader_test
16933 wine_fn_config_dll dmscript enable_dmscript clean
16934 wine_fn_config_test dlls/dmscript/tests dmscript_test
16935 wine_fn_config_dll dmstyle enable_dmstyle clean
16936 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
16937 wine_fn_config_dll dmsynth enable_dmsynth clean
16938 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
16939 wine_fn_config_dll dmusic enable_dmusic clean
16940 wine_fn_config_test dlls/dmusic/tests dmusic_test
16941 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16942 wine_fn_config_dll dnsapi enable_dnsapi implib
16943 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
16944 wine_fn_config_dll dplay enable_dplay implib
16945 wine_fn_config_dll dplayx enable_dplayx clean,implib
16946 wine_fn_config_test dlls/dplayx/tests dplayx_test
16947 wine_fn_config_dll dpnaddr enable_dpnaddr
16948 wine_fn_config_dll dpnet enable_dpnet clean,implib
16949 wine_fn_config_test dlls/dpnet/tests dpnet_test
16950 wine_fn_config_dll dpnhpast enable_dpnhpast
16951 wine_fn_config_dll dpnlobby enable_dpnlobby
16952 wine_fn_config_dll dpwsockx enable_dpwsockx
16953 wine_fn_config_dll drmclien enable_drmclien
16954 wine_fn_config_dll dsound enable_dsound clean,implib
16955 wine_fn_config_test dlls/dsound/tests dsound_test
16956 wine_fn_config_dll dssenh enable_dssenh
16957 wine_fn_config_test dlls/dssenh/tests dssenh_test
16958 wine_fn_config_dll dswave enable_dswave clean
16959 wine_fn_config_test dlls/dswave/tests dswave_test
16960 wine_fn_config_dll dwmapi enable_dwmapi implib
16961 wine_fn_config_dll dwrite enable_dwrite implib
16962 wine_fn_config_test dlls/dwrite/tests dwrite_test
16963 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
16964 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
16965 wine_fn_config_lib dxerr8
16966 wine_fn_config_lib dxerr9
16967 wine_fn_config_dll dxgi enable_dxgi implib
16968 wine_fn_config_test dlls/dxgi/tests dxgi_test
16969 wine_fn_config_lib dxguid
16970 wine_fn_config_dll dxva2 enable_dxva2
16971 wine_fn_config_dll explorerframe enable_explorerframe clean
16972 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
16973 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
16974 wine_fn_config_dll faultrep enable_faultrep implib
16975 wine_fn_config_test dlls/faultrep/tests faultrep_test
16976 wine_fn_config_dll fltlib enable_fltlib
16977 wine_fn_config_dll fntcache enable_fntcache
16978 wine_fn_config_dll fontsub enable_fontsub
16979 wine_fn_config_dll fusion enable_fusion
16980 wine_fn_config_test dlls/fusion/tests fusion_test
16981 wine_fn_config_dll fwpuclnt enable_fwpuclnt
16982 wine_fn_config_dll gameux enable_gameux clean
16983 wine_fn_config_test dlls/gameux/tests gameux_test
16984 wine_fn_config_dll gdi.exe16 enable_win16
16985 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
16986 wine_fn_config_test dlls/gdi32/tests gdi32_test
16987 wine_fn_config_dll gdiplus enable_gdiplus implib
16988 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
16989 wine_fn_config_dll glu32 enable_glu32 implib
16990 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
16991 wine_fn_config_dll gpkcsp enable_gpkcsp
16992 wine_fn_config_dll hal enable_hal
16993 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
16994 wine_fn_config_dll hid enable_hid implib
16995 wine_fn_config_dll hlink enable_hlink clean,implib
16996 wine_fn_config_test dlls/hlink/tests hlink_test
16997 wine_fn_config_dll hnetcfg enable_hnetcfg clean
16998 wine_fn_config_dll httpapi enable_httpapi
16999 wine_fn_config_dll iccvid enable_iccvid po
17000 wine_fn_config_dll icmp enable_icmp
17001 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
17002 wine_fn_config_test dlls/ieframe/tests ieframe_test
17003 wine_fn_config_dll ifsmgr.vxd enable_win16
17004 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17005 wine_fn_config_dll imagehlp enable_imagehlp implib
17006 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17007 wine_fn_config_dll imm.dll16 enable_win16
17008 wine_fn_config_dll imm32 enable_imm32 implib
17009 wine_fn_config_test dlls/imm32/tests imm32_test
17010 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17011 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17012 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17013 wine_fn_config_dll inetmib1 enable_inetmib1
17014 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17015 wine_fn_config_dll infosoft enable_infosoft clean
17016 wine_fn_config_test dlls/infosoft/tests infosoft_test
17017 wine_fn_config_dll initpki enable_initpki
17018 wine_fn_config_dll inkobj enable_inkobj
17019 wine_fn_config_dll inseng enable_inseng clean
17020 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17021 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17022 wine_fn_config_dll itircl enable_itircl
17023 wine_fn_config_dll itss enable_itss clean
17024 wine_fn_config_test dlls/itss/tests itss_test
17025 wine_fn_config_dll joy.cpl enable_joy_cpl po
17026 wine_fn_config_dll jscript enable_jscript clean,po
17027 wine_fn_config_test dlls/jscript/tests jscript_test
17028 wine_fn_config_dll jsproxy enable_jsproxy implib
17029 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
17030 wine_fn_config_test dlls/kernel32/tests kernel32_test
17031 wine_fn_config_dll keyboard.drv16 enable_win16
17032 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17033 wine_fn_config_dll ktmw32 enable_ktmw32
17034 wine_fn_config_dll loadperf enable_loadperf implib
17035 wine_fn_config_dll localspl enable_localspl po
17036 wine_fn_config_test dlls/localspl/tests localspl_test
17037 wine_fn_config_dll localui enable_localui po
17038 wine_fn_config_test dlls/localui/tests localui_test
17039 wine_fn_config_dll lz32 enable_lz32 implib
17040 wine_fn_config_test dlls/lz32/tests lz32_test
17041 wine_fn_config_dll lzexpand.dll16 enable_win16
17042 wine_fn_config_dll mapi32 enable_mapi32 implib,po
17043 wine_fn_config_test dlls/mapi32/tests mapi32_test
17044 wine_fn_config_dll mapistub enable_mapistub
17045 wine_fn_config_dll mciavi32 enable_mciavi32
17046 wine_fn_config_dll mcicda enable_mcicda
17047 wine_fn_config_dll mciqtz32 enable_mciqtz32
17048 wine_fn_config_dll mciseq enable_mciseq
17049 wine_fn_config_dll mciwave enable_mciwave
17050 wine_fn_config_dll mgmtapi enable_mgmtapi
17051 wine_fn_config_dll midimap enable_midimap
17052 wine_fn_config_dll mlang enable_mlang clean,implib
17053 wine_fn_config_test dlls/mlang/tests mlang_test
17054 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17055 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17056 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17057 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17058 wine_fn_config_dll mmdevldr.vxd enable_win16
17059 wine_fn_config_dll mmsystem.dll16 enable_win16
17060 wine_fn_config_dll monodebg.vxd enable_win16
17061 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17062 wine_fn_config_dll mouse.drv16 enable_win16
17063 wine_fn_config_dll mpr enable_mpr implib,po
17064 wine_fn_config_test dlls/mpr/tests mpr_test
17065 wine_fn_config_dll mprapi enable_mprapi implib
17066 wine_fn_config_dll msacm.dll16 enable_win16
17067 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17068 wine_fn_config_dll msacm32 enable_msacm32 implib,po
17069 wine_fn_config_test dlls/msacm32/tests msacm32_test
17070 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17071 wine_fn_config_dll msasn1 enable_msasn1 implib
17072 wine_fn_config_dll mscat32 enable_mscat32
17073 wine_fn_config_dll mscms enable_mscms implib
17074 wine_fn_config_test dlls/mscms/tests mscms_test
17075 wine_fn_config_dll mscoree enable_mscoree clean
17076 wine_fn_config_test dlls/mscoree/tests mscoree_test
17077 wine_fn_config_dll msctf enable_msctf clean
17078 wine_fn_config_test dlls/msctf/tests msctf_test
17079 wine_fn_config_dll msdaps enable_msdaps clean
17080 wine_fn_config_dll msdmo enable_msdmo implib
17081 wine_fn_config_dll msftedit enable_msftedit
17082 wine_fn_config_dll msg711.acm enable_msg711_acm
17083 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17084 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17085 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
17086 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17087 wine_fn_config_dll msi enable_msi clean,implib,po
17088 wine_fn_config_test dlls/msi/tests msi_test
17089 wine_fn_config_dll msident enable_msident clean
17090 wine_fn_config_dll msimg32 enable_msimg32 implib
17091 wine_fn_config_dll msimsg enable_msimsg
17092 wine_fn_config_dll msimtf enable_msimtf clean
17093 wine_fn_config_dll msisip enable_msisip
17094 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17095 wine_fn_config_dll msls31 enable_msls31
17096 wine_fn_config_dll msnet32 enable_msnet32
17097 wine_fn_config_dll mspatcha enable_mspatcha
17098 wine_fn_config_dll msrle32 enable_msrle32 po
17099 wine_fn_config_test dlls/msrle32/tests msrle32_test
17100 wine_fn_config_dll mssign32 enable_mssign32
17101 wine_fn_config_dll mssip32 enable_mssip32
17102 wine_fn_config_dll mstask enable_mstask clean
17103 wine_fn_config_test dlls/mstask/tests mstask_test
17104 wine_fn_config_dll msvcirt enable_msvcirt
17105 wine_fn_config_dll msvcm80 enable_msvcm80
17106 wine_fn_config_dll msvcm90 enable_msvcm90
17107 wine_fn_config_dll msvcp100 enable_msvcp100
17108 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17109 wine_fn_config_dll msvcp110 enable_msvcp110
17110 wine_fn_config_dll msvcp60 enable_msvcp60
17111 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17112 wine_fn_config_dll msvcp70 enable_msvcp70
17113 wine_fn_config_dll msvcp71 enable_msvcp71
17114 wine_fn_config_dll msvcp80 enable_msvcp80
17115 wine_fn_config_dll msvcp90 enable_msvcp90
17116 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17117 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17118 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17119 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17120 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17121 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17122 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17123 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17124 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17125 wine_fn_config_dll msvcrt enable_msvcrt implib
17126 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17127 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17128 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17129 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17130 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17131 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17132 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17133 wine_fn_config_dll msvidc32 enable_msvidc32 po
17134 wine_fn_config_dll msvideo.dll16 enable_win16
17135 wine_fn_config_dll mswsock enable_mswsock implib
17136 wine_fn_config_dll msxml enable_msxml clean
17137 wine_fn_config_dll msxml2 enable_msxml2 clean
17138 wine_fn_config_dll msxml3 enable_msxml3 clean
17139 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17140 wine_fn_config_dll msxml4 enable_msxml4 clean
17141 wine_fn_config_dll msxml6 enable_msxml6 clean
17142 wine_fn_config_dll nddeapi enable_nddeapi implib
17143 wine_fn_config_dll netapi32 enable_netapi32 implib
17144 wine_fn_config_test dlls/netapi32/tests netapi32_test
17145 wine_fn_config_dll netcfgx enable_netcfgx clean
17146 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17147 wine_fn_config_dll netprofm enable_netprofm clean
17148 wine_fn_config_test dlls/netprofm/tests netprofm_test
17149 wine_fn_config_dll newdev enable_newdev implib
17150 wine_fn_config_dll normaliz enable_normaliz implib
17151 wine_fn_config_dll npmshtml enable_npmshtml
17152 wine_fn_config_dll npptools enable_npptools
17153 wine_fn_config_dll ntdll enable_ntdll implib
17154 wine_fn_config_test dlls/ntdll/tests ntdll_test
17155 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17156 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17157 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17158 wine_fn_config_dll ntprint enable_ntprint
17159 wine_fn_config_test dlls/ntprint/tests ntprint_test
17160 wine_fn_config_dll objsel enable_objsel clean
17161 wine_fn_config_dll odbc32 enable_odbc32 implib
17162 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17163 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17164 wine_fn_config_dll odbccu32 enable_odbccu32
17165 wine_fn_config_dll ole2.dll16 enable_win16
17166 wine_fn_config_dll ole2conv.dll16 enable_win16
17167 wine_fn_config_dll ole2disp.dll16 enable_win16
17168 wine_fn_config_dll ole2nls.dll16 enable_win16
17169 wine_fn_config_dll ole2prox.dll16 enable_win16
17170 wine_fn_config_dll ole2thk.dll16 enable_win16
17171 wine_fn_config_dll ole32 enable_ole32 clean,implib
17172 wine_fn_config_test dlls/ole32/tests ole32_test
17173 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17174 wine_fn_config_test dlls/oleacc/tests oleacc_test
17175 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17176 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17177 wine_fn_config_dll olecli.dll16 enable_win16
17178 wine_fn_config_dll olecli32 enable_olecli32 implib
17179 wine_fn_config_dll oledb32 enable_oledb32 clean
17180 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17181 wine_fn_config_dll oledlg enable_oledlg implib,po
17182 wine_fn_config_dll olepro32 enable_olepro32 implib
17183 wine_fn_config_dll olesvr.dll16 enable_win16
17184 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17185 wine_fn_config_dll olethk32 enable_olethk32
17186 wine_fn_config_dll openal32 enable_openal32
17187 wine_fn_config_dll opencl enable_opencl
17188 wine_fn_config_dll opengl32 enable_opengl32 implib
17189 wine_fn_config_test dlls/opengl32/tests opengl32_test
17190 wine_fn_config_dll packager enable_packager clean
17191 wine_fn_config_test dlls/packager/tests packager_test
17192 wine_fn_config_dll pdh enable_pdh implib
17193 wine_fn_config_test dlls/pdh/tests pdh_test
17194 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17195 wine_fn_config_dll pidgen enable_pidgen
17196 wine_fn_config_dll powrprof enable_powrprof implib
17197 wine_fn_config_dll printui enable_printui
17198 wine_fn_config_dll propsys enable_propsys clean,implib
17199 wine_fn_config_test dlls/propsys/tests propsys_test
17200 wine_fn_config_dll psapi enable_psapi implib
17201 wine_fn_config_test dlls/psapi/tests psapi_test
17202 wine_fn_config_dll pstorec enable_pstorec clean
17203 wine_fn_config_dll qcap enable_qcap
17204 wine_fn_config_test dlls/qcap/tests qcap_test
17205 wine_fn_config_dll qedit enable_qedit clean
17206 wine_fn_config_test dlls/qedit/tests qedit_test
17207 wine_fn_config_dll qmgr enable_qmgr clean
17208 wine_fn_config_test dlls/qmgr/tests qmgr_test
17209 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17210 wine_fn_config_dll quartz enable_quartz clean,implib
17211 wine_fn_config_test dlls/quartz/tests quartz_test clean
17212 wine_fn_config_dll query enable_query
17213 wine_fn_config_dll rasapi16.dll16 enable_win16
17214 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17215 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17216 wine_fn_config_dll rasdlg enable_rasdlg implib
17217 wine_fn_config_dll regapi enable_regapi
17218 wine_fn_config_dll resutils enable_resutils implib
17219 wine_fn_config_dll riched20 enable_riched20 implib
17220 wine_fn_config_test dlls/riched20/tests riched20_test
17221 wine_fn_config_dll riched32 enable_riched32
17222 wine_fn_config_test dlls/riched32/tests riched32_test
17223 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17224 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17225 wine_fn_config_dll rsabase enable_rsabase
17226 wine_fn_config_dll rsaenh enable_rsaenh implib
17227 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17228 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17229 wine_fn_config_dll rtutils enable_rtutils implib
17230 wine_fn_config_dll samlib enable_samlib
17231 wine_fn_config_dll sane.ds enable_sane_ds po
17232 wine_fn_config_dll scarddlg enable_scarddlg
17233 wine_fn_config_dll sccbase enable_sccbase
17234 wine_fn_config_dll schannel enable_schannel
17235 wine_fn_config_test dlls/schannel/tests schannel_test
17236 wine_fn_config_dll schedsvc enable_schedsvc clean
17237 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17238 wine_fn_config_dll scrrun enable_scrrun clean
17239 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17240 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17241 wine_fn_config_dll secur32 enable_secur32 implib
17242 wine_fn_config_test dlls/secur32/tests secur32_test
17243 wine_fn_config_dll security enable_security
17244 wine_fn_config_dll sensapi enable_sensapi implib
17245 wine_fn_config_dll serialui enable_serialui implib,po
17246 wine_fn_config_test dlls/serialui/tests serialui_test
17247 wine_fn_config_dll setupapi enable_setupapi implib,po
17248 wine_fn_config_test dlls/setupapi/tests setupapi_test
17249 wine_fn_config_dll setupx.dll16 enable_win16
17250 wine_fn_config_dll sfc enable_sfc implib
17251 wine_fn_config_dll sfc_os enable_sfc_os implib
17252 wine_fn_config_dll shdoclc enable_shdoclc po
17253 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17254 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17255 wine_fn_config_dll shell.dll16 enable_win16
17256 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17257 wine_fn_config_test dlls/shell32/tests shell32_test
17258 wine_fn_config_dll shfolder enable_shfolder implib
17259 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17260 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17261 wine_fn_config_dll slbcsp enable_slbcsp
17262 wine_fn_config_dll slc enable_slc implib
17263 wine_fn_config_dll snmpapi enable_snmpapi implib
17264 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17265 wine_fn_config_dll softpub enable_softpub
17266 wine_fn_config_dll sound.drv16 enable_win16
17267 wine_fn_config_dll spoolss enable_spoolss implib
17268 wine_fn_config_test dlls/spoolss/tests spoolss_test
17269 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17270 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17271 wine_fn_config_dll sti enable_sti clean,implib
17272 wine_fn_config_test dlls/sti/tests sti_test
17273 wine_fn_config_dll storage.dll16 enable_win16
17274 wine_fn_config_dll stress.dll16 enable_win16
17275 wine_fn_config_lib strmbase
17276 wine_fn_config_lib strmiids
17277 wine_fn_config_dll svrapi enable_svrapi
17278 wine_fn_config_dll sxs enable_sxs implib
17279 wine_fn_config_test dlls/sxs/tests sxs_test
17280 wine_fn_config_dll system.drv16 enable_win16
17281 wine_fn_config_dll t2embed enable_t2embed
17282 wine_fn_config_dll tapi32 enable_tapi32 implib
17283 wine_fn_config_dll taskschd enable_taskschd clean
17284 wine_fn_config_test dlls/taskschd/tests taskschd_test
17285 wine_fn_config_dll toolhelp.dll16 enable_win16
17286 wine_fn_config_dll traffic enable_traffic
17287 wine_fn_config_dll twain.dll16 enable_win16
17288 wine_fn_config_dll twain_32 enable_twain_32
17289 wine_fn_config_test dlls/twain_32/tests twain_32_test
17290 wine_fn_config_dll typelib.dll16 enable_win16
17291 wine_fn_config_dll unicows enable_unicows implib
17292 wine_fn_config_dll updspapi enable_updspapi
17293 wine_fn_config_dll url enable_url implib
17294 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17295 wine_fn_config_test dlls/urlmon/tests urlmon_test
17296 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17297 wine_fn_config_dll user.exe16 enable_win16
17298 wine_fn_config_dll user32 enable_user32 clean,implib,po
17299 wine_fn_config_test dlls/user32/tests user32_test
17300 wine_fn_config_dll userenv enable_userenv implib
17301 wine_fn_config_test dlls/userenv/tests userenv_test
17302 wine_fn_config_dll usp10 enable_usp10 implib
17303 wine_fn_config_test dlls/usp10/tests usp10_test
17304 wine_fn_config_lib uuid
17305 wine_fn_config_dll uxtheme enable_uxtheme implib
17306 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17307 wine_fn_config_dll vbscript enable_vbscript clean
17308 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17309 wine_fn_config_dll vcomp enable_vcomp
17310 wine_fn_config_dll vcomp100 enable_vcomp100
17311 wine_fn_config_dll vcomp90 enable_vcomp90
17312 wine_fn_config_dll vdhcp.vxd enable_win16
17313 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17314 wine_fn_config_dll ver.dll16 enable_win16
17315 wine_fn_config_dll version enable_version implib
17316 wine_fn_config_test dlls/version/tests version_test
17317 wine_fn_config_dll vmm.vxd enable_win16
17318 wine_fn_config_dll vnbt.vxd enable_win16
17319 wine_fn_config_dll vnetbios.vxd enable_win16
17320 wine_fn_config_dll vtdapi.vxd enable_win16
17321 wine_fn_config_dll vwin32.vxd enable_win16
17322 wine_fn_config_dll w32skrnl enable_win16
17323 wine_fn_config_dll w32sys.dll16 enable_win16
17324 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17325 wine_fn_config_dll wbemprox enable_wbemprox clean
17326 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17327 wine_fn_config_dll webservices enable_webservices implib
17328 wine_fn_config_dll wer enable_wer implib
17329 wine_fn_config_test dlls/wer/tests wer_test
17330 wine_fn_config_dll wevtapi enable_wevtapi
17331 wine_fn_config_dll wiaservc enable_wiaservc clean
17332 wine_fn_config_dll win32s16.dll16 enable_win16
17333 wine_fn_config_dll win87em.dll16 enable_win16
17334 wine_fn_config_dll winaspi.dll16 enable_win16
17335 wine_fn_config_dll windebug.dll16 enable_win16
17336 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17337 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17338 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17339 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17340 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17341 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17342 wine_fn_config_lib winecrt0
17343 wine_fn_config_dll wined3d enable_wined3d implib
17344 wine_fn_config_dll winegstreamer enable_winegstreamer
17345 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17346 wine_fn_config_dll winemac.drv enable_winemac_drv
17347 wine_fn_config_dll winemapi enable_winemapi
17348 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17349 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17350 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
17351 wine_fn_config_dll wineps16.drv16 enable_win16
17352 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17353 wine_fn_config_dll winex11.drv enable_winex11_drv
17354 wine_fn_config_dll wing.dll16 enable_win16
17355 wine_fn_config_dll wing32 enable_wing32
17356 wine_fn_config_dll winhttp enable_winhttp clean,implib
17357 wine_fn_config_test dlls/winhttp/tests winhttp_test
17358 wine_fn_config_dll wininet enable_wininet implib,po
17359 wine_fn_config_test dlls/wininet/tests wininet_test
17360 wine_fn_config_dll winmm enable_winmm implib,po
17361 wine_fn_config_test dlls/winmm/tests winmm_test
17362 wine_fn_config_dll winnls.dll16 enable_win16
17363 wine_fn_config_dll winnls32 enable_winnls32 implib
17364 wine_fn_config_dll winscard enable_winscard implib
17365 wine_fn_config_dll winsock.dll16 enable_win16
17366 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17367 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17368 wine_fn_config_dll winsta enable_winsta
17369 wine_fn_config_dll wintab.dll16 enable_win16
17370 wine_fn_config_dll wintab32 enable_wintab32 implib
17371 wine_fn_config_test dlls/wintab32/tests wintab32_test
17372 wine_fn_config_dll wintrust enable_wintrust implib
17373 wine_fn_config_test dlls/wintrust/tests wintrust_test
17374 wine_fn_config_dll wlanapi enable_wlanapi
17375 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17376 wine_fn_config_test dlls/wldap32/tests wldap32_test
17377 wine_fn_config_dll wmi enable_wmi
17378 wine_fn_config_dll wmiutils enable_wmiutils clean
17379 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17380 wine_fn_config_dll wmp enable_wmp clean
17381 wine_fn_config_test dlls/wmp/tests wmp_test
17382 wine_fn_config_dll wmvcore enable_wmvcore
17383 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17384 wine_fn_config_dll wow32 enable_win16 implib
17385 wine_fn_config_dll wpcap enable_wpcap
17386 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17387 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
17388 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17389 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
17390 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17391 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
17392 wine_fn_config_dll wsock32 enable_wsock32 implib
17393 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17394 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
17395 wine_fn_config_dll wuapi enable_wuapi clean
17396 wine_fn_config_dll wuaueng enable_wuaueng
17397 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17398 wine_fn_config_dll xinput1_1 enable_xinput1_1
17399 wine_fn_config_dll xinput1_2 enable_xinput1_2
17400 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17401 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
17402 wine_fn_config_dll xinput1_4 enable_xinput1_4
17403 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17404 wine_fn_config_dll xmllite enable_xmllite implib
17405 wine_fn_config_test dlls/xmllite/tests xmllite_test
17406 wine_fn_config_dll xolehlp enable_xolehlp
17407 wine_fn_config_dll xpsprint enable_xpsprint
17408 wine_fn_config_dll xpssvcs enable_xpssvcs
17409 wine_fn_config_makefile documentation enable_documentation clean
17410 wine_fn_config_makefile fonts enable_fonts clean,install-lib
17411 wine_fn_config_makefile include enable_include clean,install-dev
17412 wine_fn_config_makefile libs/port enable_libs_port
17413 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
17414 wine_fn_config_makefile libs/wpp enable_libs_wpp
17415 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
17416 wine_fn_config_program arp enable_arp install
17417 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
17418 wine_fn_config_program attrib enable_attrib install,po
17419 wine_fn_config_program cabarc enable_cabarc install
17420 wine_fn_config_program cacls enable_cacls install
17421 wine_fn_config_program clock enable_clock install,po
17422 wine_fn_config_program cmd enable_cmd install,po
17423 wine_fn_config_test programs/cmd/tests cmd.exe_test
17424 wine_fn_config_program conhost enable_conhost install
17425 wine_fn_config_program control enable_control install
17426 wine_fn_config_program cscript enable_cscript clean,install
17427 wine_fn_config_program dpnsvr enable_dpnsvr install
17428 wine_fn_config_program dxdiag enable_dxdiag install,po
17429 wine_fn_config_program eject enable_eject install
17430 wine_fn_config_program expand enable_expand install
17431 wine_fn_config_program explorer enable_explorer install,po
17432 wine_fn_config_program extrac32 enable_extrac32 install
17433 wine_fn_config_program findstr enable_findstr install
17434 wine_fn_config_program hh enable_hh install
17435 wine_fn_config_program hostname enable_hostname install,po
17436 wine_fn_config_program icinfo enable_icinfo install
17437 wine_fn_config_program iexplore enable_iexplore install
17438 wine_fn_config_program ipconfig enable_ipconfig install,po
17439 wine_fn_config_program lodctr enable_lodctr install
17440 wine_fn_config_program mofcomp enable_mofcomp install
17441 wine_fn_config_program mshta enable_mshta install
17442 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
17443 wine_fn_config_program net enable_net install,po
17444 wine_fn_config_program netsh enable_netsh install
17445 wine_fn_config_program netstat enable_netstat install,po
17446 wine_fn_config_program ngen enable_ngen install
17447 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
17448 wine_fn_config_program oleview enable_oleview install,po
17449 wine_fn_config_program ping enable_ping install
17450 wine_fn_config_program plugplay enable_plugplay install
17451 wine_fn_config_program presentationfontcache enable_presentationfontcache install
17452 wine_fn_config_program progman enable_progman install,po
17453 wine_fn_config_program reg enable_reg install,po
17454 wine_fn_config_program regasm enable_regasm install
17455 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
17456 wine_fn_config_test programs/regedit/tests regedit.exe_test
17457 wine_fn_config_program regsvcs enable_regsvcs install
17458 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage,po
17459 wine_fn_config_program rpcss enable_rpcss clean,install
17460 wine_fn_config_program rundll.exe16 enable_win16 install
17461 wine_fn_config_program rundll32 enable_rundll32 install
17462 wine_fn_config_program sc enable_sc install
17463 wine_fn_config_program schtasks enable_schtasks install
17464 wine_fn_config_program sdbinst enable_sdbinst install
17465 wine_fn_config_program secedit enable_secedit install
17466 wine_fn_config_program servicemodelreg enable_servicemodelreg install
17467 wine_fn_config_program services enable_services clean,install
17468 wine_fn_config_test programs/services/tests services.exe_test
17469 wine_fn_config_program spoolsv enable_spoolsv install
17470 wine_fn_config_program start enable_start install,po
17471 wine_fn_config_program svchost enable_svchost install
17472 wine_fn_config_program taskkill enable_taskkill install,po
17473 wine_fn_config_program tasklist enable_tasklist install
17474 wine_fn_config_program taskmgr enable_taskmgr install,po
17475 wine_fn_config_program termsv enable_termsv install
17476 wine_fn_config_program uninstaller enable_uninstaller install,po
17477 wine_fn_config_program unlodctr enable_unlodctr install
17478 wine_fn_config_program view enable_view install,po
17479 wine_fn_config_program wevtutil enable_wevtutil install
17480 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
17481 wine_fn_config_program winebrowser enable_winebrowser install
17482 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
17483 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
17484 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
17485 wine_fn_config_program winedevice enable_winedevice install
17486 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
17487 wine_fn_config_program winemenubuilder enable_winemenubuilder install
17488 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
17489 wine_fn_config_program winemsibuilder enable_winemsibuilder install
17490 wine_fn_config_program winepath enable_winepath install,installbin,manpage
17491 wine_fn_config_program winetest enable_winetest clean
17492 wine_fn_config_program winevdm enable_win16 install
17493 wine_fn_config_program winhelp.exe16 enable_win16 install
17494 wine_fn_config_program winhlp32 enable_winhlp32 install,po
17495 wine_fn_config_program winoldap.mod16 enable_win16 install
17496 wine_fn_config_program winver enable_winver install
17497 wine_fn_config_program wmic enable_wmic install,po
17498 wine_fn_config_program wordpad enable_wordpad install,po
17499 wine_fn_config_program write enable_write install,po
17500 wine_fn_config_program wscript enable_wscript clean,install
17501 wine_fn_config_test programs/wscript/tests wscript.exe_test
17502 wine_fn_config_program wusa enable_wusa install
17503 wine_fn_config_program xcopy enable_xcopy install,po
17504 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
17505 wine_fn_config_makefile server enable_server clean,install-lib,manpage
17506 wine_fn_config_tool tools clean,install-dev,install-lib,manpage
17507 wine_fn_config_tool tools/sfnt2fon clean
17508 wine_fn_config_tool tools/widl clean,install-dev,manpage
17509 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
17510 wine_fn_config_tool tools/winedump clean,install-dev,manpage
17511 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
17512 wine_fn_config_tool tools/wmc clean,install-dev,manpage
17513 wine_fn_config_tool tools/wrc clean,install-dev,manpage
17515 LINGUAS="\
17516 ar \
17517 bg \
17518 ca \
17519 cs \
17520 da \
17521 de \
17522 el \
17523 en \
17524 en_US \
17525 eo \
17526 es \
17527 fa \
17528 fi \
17529 fr \
17530 he \
17531 hi \
17532 hr \
17533 hu \
17534 it \
17535 ja \
17536 ko \
17537 lt \
17538 ml \
17539 nb_NO \
17540 nl \
17541 or \
17542 pa \
17543 pl \
17544 pt_BR \
17545 pt_PT \
17546 rm \
17547 ro \
17548 ru \
17549 sk \
17550 sl \
17551 sr_RS@cyrillic \
17552 sr_RS@latin \
17553 sv \
17554 te \
17555 th \
17556 tr \
17557 uk \
17558 wa \
17559 zh_CN \
17560 zh_TW"
17565 wine_fn_ignore_file ".gitignore"
17566 wine_fn_ignore_file "Makefile"
17567 wine_fn_ignore_file "TAGS"
17568 wine_fn_ignore_file "tags"
17569 wine_fn_ignore_file "autom4te.cache"
17570 wine_fn_ignore_file "config.cache"
17571 wine_fn_ignore_file "config.log"
17572 wine_fn_ignore_file "config.status"
17573 wine_fn_ignore_file "configure.lineno"
17574 wine_fn_ignore_file "include/config.h"
17575 wine_fn_ignore_file "include/stamp-h"
17576 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
17578 if test "x$enable_tools" != xno
17579 then
17580 wine_fn_ignore_file "tools/makedep$ac_exeext"
17581 ac_config_commands="$ac_config_commands tools/makedep"
17585 ac_config_commands="$ac_config_commands Makefile"
17588 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17592 if test "x$enable_maintainer_mode" = xyes
17593 then
17594 wine_fn_append_rule "configure: configure.ac aclocal.m4
17595 autoconf --warnings=all
17596 include/config.h.in: include/stamp-h.in
17597 include/stamp-h.in: configure.ac aclocal.m4
17598 autoheader --warnings=all
17599 @echo timestamp > \$@"
17602 if test "x$with_gettextpo" = xyes
17603 then
17604 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17605 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
17606 \$(LINGUAS:%=po/%.po): po/wine.pot
17607 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17608 po/wine.pot: \$(ALL_POT_FILES)
17609 msgcat -o \$@ \$(ALL_POT_FILES)"
17612 if test "$MSGFMT" != false
17613 then
17614 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
17615 clean::
17616 \$(RM) \$(LINGUAS:%=po/%.mo)"
17618 posrc="po"
17619 test "$srcdir" = . || posrc="$srcdir/po"
17620 for i in $LINGUAS
17622 wine_fn_ignore_file "po/$i.mo"
17623 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
17624 \$(MSGFMT) -o \$@ $posrc/$i.po"
17625 done
17626 else
17627 LINGUAS=
17630 if test "x$enable_tools" != xno
17631 then
17632 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17633 @./config.status tools/makedep
17634 Makefile: tools/makedep$ac_exeext
17635 distclean:: clean
17636 \$(RM) tools/makedep$ac_exeext"
17637 else
17638 wine_fn_append_rule "\$(MAKEDEP):
17639 @echo \"You need to run make in $TOOLSDIR first\" && false"
17642 if test -n "$with_wine64"
17643 then
17644 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17645 fonts server tools:
17646 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17647 $with_wine64/loader/wine:
17648 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17649 $with_wine64/loader/wine-preloader:
17650 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17651 clean::
17652 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17653 else
17654 as_fn_append LOADER_RULES "
17655 install install-lib:: wine.inf install-man-pages
17656 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17657 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17659 uninstall::
17660 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17664 if test "$srcdir" = .
17665 then
17666 ac_config_commands="$ac_config_commands .gitignore"
17670 $as_echo " done" >&6
17671 cat >confcache <<\_ACEOF
17672 # This file is a shell script that caches the results of configure
17673 # tests run on this system so they can be shared between configure
17674 # scripts and configure runs, see configure's option --config-cache.
17675 # It is not useful on other systems. If it contains results you don't
17676 # want to keep, you may remove or edit it.
17678 # config.status only pays attention to the cache file if you give it
17679 # the --recheck option to rerun configure.
17681 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17682 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17683 # following values.
17685 _ACEOF
17687 # The following way of writing the cache mishandles newlines in values,
17688 # but we know of no workaround that is simple, portable, and efficient.
17689 # So, we kill variables containing newlines.
17690 # Ultrix sh set writes to stderr and can't be redirected directly,
17691 # and sets the high bit in the cache file unless we assign to the vars.
17693 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17694 eval ac_val=\$$ac_var
17695 case $ac_val in #(
17696 *${as_nl}*)
17697 case $ac_var in #(
17698 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17699 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17700 esac
17701 case $ac_var in #(
17702 _ | IFS | as_nl) ;; #(
17703 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17704 *) { eval $ac_var=; unset $ac_var;} ;;
17705 esac ;;
17706 esac
17707 done
17709 (set) 2>&1 |
17710 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17711 *${as_nl}ac_space=\ *)
17712 # `set' does not quote correctly, so add quotes: double-quote
17713 # substitution turns \\\\ into \\, and sed turns \\ into \.
17714 sed -n \
17715 "s/'/'\\\\''/g;
17716 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17717 ;; #(
17719 # `set' quotes correctly as required by POSIX, so do not add quotes.
17720 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17722 esac |
17723 sort
17725 sed '
17726 /^ac_cv_env_/b end
17727 t clear
17728 :clear
17729 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17730 t end
17731 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17732 :end' >>confcache
17733 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17734 if test -w "$cache_file"; then
17735 if test "x$cache_file" != "x/dev/null"; then
17736 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17737 $as_echo "$as_me: updating cache $cache_file" >&6;}
17738 if test ! -f "$cache_file" || test -h "$cache_file"; then
17739 cat confcache >"$cache_file"
17740 else
17741 case $cache_file in #(
17742 */* | ?:*)
17743 mv -f confcache "$cache_file"$$ &&
17744 mv -f "$cache_file"$$ "$cache_file" ;; #(
17746 mv -f confcache "$cache_file" ;;
17747 esac
17750 else
17751 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17752 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17755 rm -f confcache
17757 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17758 # Let make expand exec_prefix.
17759 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17761 DEFS=-DHAVE_CONFIG_H
17763 ac_libobjs=
17764 ac_ltlibobjs=
17766 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17767 # 1. Remove the extension, and $U if already installed.
17768 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17769 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17770 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17771 # will be set to the directory where LIBOBJS objects are built.
17772 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17773 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17774 done
17775 LIBOBJS=$ac_libobjs
17777 LTLIBOBJS=$ac_ltlibobjs
17781 : "${CONFIG_STATUS=./config.status}"
17782 ac_write_fail=0
17783 ac_clean_files_save=$ac_clean_files
17784 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17785 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17786 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17787 as_write_fail=0
17788 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17789 #! $SHELL
17790 # Generated by $as_me.
17791 # Run this file to recreate the current configuration.
17792 # Compiler output produced by configure, useful for debugging
17793 # configure, is in config.log if it exists.
17795 debug=false
17796 ac_cs_recheck=false
17797 ac_cs_silent=false
17799 SHELL=\${CONFIG_SHELL-$SHELL}
17800 export SHELL
17801 _ASEOF
17802 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17803 ## -------------------- ##
17804 ## M4sh Initialization. ##
17805 ## -------------------- ##
17807 # Be more Bourne compatible
17808 DUALCASE=1; export DUALCASE # for MKS sh
17809 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17810 emulate sh
17811 NULLCMD=:
17812 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17813 # is contrary to our usage. Disable this feature.
17814 alias -g '${1+"$@"}'='"$@"'
17815 setopt NO_GLOB_SUBST
17816 else
17817 case `(set -o) 2>/dev/null` in #(
17818 *posix*) :
17819 set -o posix ;; #(
17820 *) :
17822 esac
17826 as_nl='
17828 export as_nl
17829 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17830 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17831 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17832 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17833 # Prefer a ksh shell builtin over an external printf program on Solaris,
17834 # but without wasting forks for bash or zsh.
17835 if test -z "$BASH_VERSION$ZSH_VERSION" \
17836 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17837 as_echo='print -r --'
17838 as_echo_n='print -rn --'
17839 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17840 as_echo='printf %s\n'
17841 as_echo_n='printf %s'
17842 else
17843 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17844 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17845 as_echo_n='/usr/ucb/echo -n'
17846 else
17847 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17848 as_echo_n_body='eval
17849 arg=$1;
17850 case $arg in #(
17851 *"$as_nl"*)
17852 expr "X$arg" : "X\\(.*\\)$as_nl";
17853 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17854 esac;
17855 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17857 export as_echo_n_body
17858 as_echo_n='sh -c $as_echo_n_body as_echo'
17860 export as_echo_body
17861 as_echo='sh -c $as_echo_body as_echo'
17864 # The user is always right.
17865 if test "${PATH_SEPARATOR+set}" != set; then
17866 PATH_SEPARATOR=:
17867 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17868 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17869 PATH_SEPARATOR=';'
17874 # IFS
17875 # We need space, tab and new line, in precisely that order. Quoting is
17876 # there to prevent editors from complaining about space-tab.
17877 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17878 # splitting by setting IFS to empty value.)
17879 IFS=" "" $as_nl"
17881 # Find who we are. Look in the path if we contain no directory separator.
17882 as_myself=
17883 case $0 in #((
17884 *[\\/]* ) as_myself=$0 ;;
17885 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17886 for as_dir in $PATH
17888 IFS=$as_save_IFS
17889 test -z "$as_dir" && as_dir=.
17890 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17891 done
17892 IFS=$as_save_IFS
17895 esac
17896 # We did not find ourselves, most probably we were run as `sh COMMAND'
17897 # in which case we are not to be found in the path.
17898 if test "x$as_myself" = x; then
17899 as_myself=$0
17901 if test ! -f "$as_myself"; then
17902 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17903 exit 1
17906 # Unset variables that we do not need and which cause bugs (e.g. in
17907 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17908 # suppresses any "Segmentation fault" message there. '((' could
17909 # trigger a bug in pdksh 5.2.14.
17910 for as_var in BASH_ENV ENV MAIL MAILPATH
17911 do eval test x\${$as_var+set} = xset \
17912 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17913 done
17914 PS1='$ '
17915 PS2='> '
17916 PS4='+ '
17918 # NLS nuisances.
17919 LC_ALL=C
17920 export LC_ALL
17921 LANGUAGE=C
17922 export LANGUAGE
17924 # CDPATH.
17925 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17928 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17929 # ----------------------------------------
17930 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17931 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17932 # script with STATUS, using 1 if that was 0.
17933 as_fn_error ()
17935 as_status=$1; test $as_status -eq 0 && as_status=1
17936 if test "$4"; then
17937 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17938 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17940 $as_echo "$as_me: error: $2" >&2
17941 as_fn_exit $as_status
17942 } # as_fn_error
17945 # as_fn_set_status STATUS
17946 # -----------------------
17947 # Set $? to STATUS, without forking.
17948 as_fn_set_status ()
17950 return $1
17951 } # as_fn_set_status
17953 # as_fn_exit STATUS
17954 # -----------------
17955 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17956 as_fn_exit ()
17958 set +e
17959 as_fn_set_status $1
17960 exit $1
17961 } # as_fn_exit
17963 # as_fn_unset VAR
17964 # ---------------
17965 # Portably unset VAR.
17966 as_fn_unset ()
17968 { eval $1=; unset $1;}
17970 as_unset=as_fn_unset
17971 # as_fn_append VAR VALUE
17972 # ----------------------
17973 # Append the text in VALUE to the end of the definition contained in VAR. Take
17974 # advantage of any shell optimizations that allow amortized linear growth over
17975 # repeated appends, instead of the typical quadratic growth present in naive
17976 # implementations.
17977 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17978 eval 'as_fn_append ()
17980 eval $1+=\$2
17982 else
17983 as_fn_append ()
17985 eval $1=\$$1\$2
17987 fi # as_fn_append
17989 # as_fn_arith ARG...
17990 # ------------------
17991 # Perform arithmetic evaluation on the ARGs, and store the result in the
17992 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17993 # must be portable across $(()) and expr.
17994 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17995 eval 'as_fn_arith ()
17997 as_val=$(( $* ))
17999 else
18000 as_fn_arith ()
18002 as_val=`expr "$@" || test $? -eq 1`
18004 fi # as_fn_arith
18007 if expr a : '\(a\)' >/dev/null 2>&1 &&
18008 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18009 as_expr=expr
18010 else
18011 as_expr=false
18014 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18015 as_basename=basename
18016 else
18017 as_basename=false
18020 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18021 as_dirname=dirname
18022 else
18023 as_dirname=false
18026 as_me=`$as_basename -- "$0" ||
18027 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18028 X"$0" : 'X\(//\)$' \| \
18029 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18030 $as_echo X/"$0" |
18031 sed '/^.*\/\([^/][^/]*\)\/*$/{
18032 s//\1/
18035 /^X\/\(\/\/\)$/{
18036 s//\1/
18039 /^X\/\(\/\).*/{
18040 s//\1/
18043 s/.*/./; q'`
18045 # Avoid depending upon Character Ranges.
18046 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18047 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18048 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18049 as_cr_digits='0123456789'
18050 as_cr_alnum=$as_cr_Letters$as_cr_digits
18052 ECHO_C= ECHO_N= ECHO_T=
18053 case `echo -n x` in #(((((
18054 -n*)
18055 case `echo 'xy\c'` in
18056 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18057 xy) ECHO_C='\c';;
18058 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18059 ECHO_T=' ';;
18060 esac;;
18062 ECHO_N='-n';;
18063 esac
18065 rm -f conf$$ conf$$.exe conf$$.file
18066 if test -d conf$$.dir; then
18067 rm -f conf$$.dir/conf$$.file
18068 else
18069 rm -f conf$$.dir
18070 mkdir conf$$.dir 2>/dev/null
18072 if (echo >conf$$.file) 2>/dev/null; then
18073 if ln -s conf$$.file conf$$ 2>/dev/null; then
18074 as_ln_s='ln -s'
18075 # ... but there are two gotchas:
18076 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18077 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18078 # In both cases, we have to default to `cp -pR'.
18079 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18080 as_ln_s='cp -pR'
18081 elif ln conf$$.file conf$$ 2>/dev/null; then
18082 as_ln_s=ln
18083 else
18084 as_ln_s='cp -pR'
18086 else
18087 as_ln_s='cp -pR'
18089 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18090 rmdir conf$$.dir 2>/dev/null
18093 # as_fn_mkdir_p
18094 # -------------
18095 # Create "$as_dir" as a directory, including parents if necessary.
18096 as_fn_mkdir_p ()
18099 case $as_dir in #(
18100 -*) as_dir=./$as_dir;;
18101 esac
18102 test -d "$as_dir" || eval $as_mkdir_p || {
18103 as_dirs=
18104 while :; do
18105 case $as_dir in #(
18106 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18107 *) as_qdir=$as_dir;;
18108 esac
18109 as_dirs="'$as_qdir' $as_dirs"
18110 as_dir=`$as_dirname -- "$as_dir" ||
18111 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18112 X"$as_dir" : 'X\(//\)[^/]' \| \
18113 X"$as_dir" : 'X\(//\)$' \| \
18114 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18115 $as_echo X"$as_dir" |
18116 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18117 s//\1/
18120 /^X\(\/\/\)[^/].*/{
18121 s//\1/
18124 /^X\(\/\/\)$/{
18125 s//\1/
18128 /^X\(\/\).*/{
18129 s//\1/
18132 s/.*/./; q'`
18133 test -d "$as_dir" && break
18134 done
18135 test -z "$as_dirs" || eval "mkdir $as_dirs"
18136 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18139 } # as_fn_mkdir_p
18140 if mkdir -p . 2>/dev/null; then
18141 as_mkdir_p='mkdir -p "$as_dir"'
18142 else
18143 test -d ./-p && rmdir ./-p
18144 as_mkdir_p=false
18148 # as_fn_executable_p FILE
18149 # -----------------------
18150 # Test if FILE is an executable regular file.
18151 as_fn_executable_p ()
18153 test -f "$1" && test -x "$1"
18154 } # as_fn_executable_p
18155 as_test_x='test -x'
18156 as_executable_p=as_fn_executable_p
18158 # Sed expression to map a string onto a valid CPP name.
18159 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18161 # Sed expression to map a string onto a valid variable name.
18162 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18165 exec 6>&1
18166 ## ----------------------------------- ##
18167 ## Main body of $CONFIG_STATUS script. ##
18168 ## ----------------------------------- ##
18169 _ASEOF
18170 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18172 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18173 # Save the log message, to keep $0 and so on meaningful, and to
18174 # report actual input values of CONFIG_FILES etc. instead of their
18175 # values after options handling.
18176 ac_log="
18177 This file was extended by Wine $as_me 1.7.25, which was
18178 generated by GNU Autoconf 2.69. Invocation command line was
18180 CONFIG_FILES = $CONFIG_FILES
18181 CONFIG_HEADERS = $CONFIG_HEADERS
18182 CONFIG_LINKS = $CONFIG_LINKS
18183 CONFIG_COMMANDS = $CONFIG_COMMANDS
18184 $ $0 $@
18186 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18189 _ACEOF
18191 case $ac_config_files in *"
18192 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18193 esac
18195 case $ac_config_headers in *"
18196 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18197 esac
18200 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18201 # Files that config.status was made for.
18202 config_files="$ac_config_files"
18203 config_headers="$ac_config_headers"
18204 config_links="$ac_config_links"
18205 config_commands="$ac_config_commands"
18207 _ACEOF
18209 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18210 ac_cs_usage="\
18211 \`$as_me' instantiates files and other configuration actions
18212 from templates according to the current configuration. Unless the files
18213 and actions are specified as TAGs, all are instantiated by default.
18215 Usage: $0 [OPTION]... [TAG]...
18217 -h, --help print this help, then exit
18218 -V, --version print version number and configuration settings, then exit
18219 --config print configuration, then exit
18220 -q, --quiet, --silent
18221 do not print progress messages
18222 -d, --debug don't remove temporary files
18223 --recheck update $as_me by reconfiguring in the same conditions
18224 --file=FILE[:TEMPLATE]
18225 instantiate the configuration file FILE
18226 --header=FILE[:TEMPLATE]
18227 instantiate the configuration header FILE
18229 Configuration files:
18230 $config_files
18232 Configuration headers:
18233 $config_headers
18235 Configuration links:
18236 $config_links
18238 Configuration commands:
18239 $config_commands
18241 Report bugs to <wine-devel@winehq.org>.
18242 Wine home page: <http://www.winehq.org>."
18244 _ACEOF
18245 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18246 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18247 ac_cs_version="\\
18248 Wine config.status 1.7.25
18249 configured by $0, generated by GNU Autoconf 2.69,
18250 with options \\"\$ac_cs_config\\"
18252 Copyright (C) 2012 Free Software Foundation, Inc.
18253 This config.status script is free software; the Free Software Foundation
18254 gives unlimited permission to copy, distribute and modify it."
18256 ac_pwd='$ac_pwd'
18257 srcdir='$srcdir'
18258 test -n "\$AWK" || AWK=awk
18259 _ACEOF
18261 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18262 # The default lists apply if the user does not specify any file.
18263 ac_need_defaults=:
18264 while test $# != 0
18266 case $1 in
18267 --*=?*)
18268 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18269 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18270 ac_shift=:
18272 --*=)
18273 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18274 ac_optarg=
18275 ac_shift=:
18278 ac_option=$1
18279 ac_optarg=$2
18280 ac_shift=shift
18282 esac
18284 case $ac_option in
18285 # Handling of the options.
18286 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18287 ac_cs_recheck=: ;;
18288 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18289 $as_echo "$ac_cs_version"; exit ;;
18290 --config | --confi | --conf | --con | --co | --c )
18291 $as_echo "$ac_cs_config"; exit ;;
18292 --debug | --debu | --deb | --de | --d | -d )
18293 debug=: ;;
18294 --file | --fil | --fi | --f )
18295 $ac_shift
18296 case $ac_optarg in
18297 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18298 '') as_fn_error $? "missing file argument" ;;
18299 esac
18300 as_fn_append CONFIG_FILES " '$ac_optarg'"
18301 ac_need_defaults=false;;
18302 --header | --heade | --head | --hea )
18303 $ac_shift
18304 case $ac_optarg in
18305 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18306 esac
18307 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18308 ac_need_defaults=false;;
18309 --he | --h)
18310 # Conflict between --help and --header
18311 as_fn_error $? "ambiguous option: \`$1'
18312 Try \`$0 --help' for more information.";;
18313 --help | --hel | -h )
18314 $as_echo "$ac_cs_usage"; exit ;;
18315 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18316 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18317 ac_cs_silent=: ;;
18319 # This is an error.
18320 -*) as_fn_error $? "unrecognized option: \`$1'
18321 Try \`$0 --help' for more information." ;;
18323 *) as_fn_append ac_config_targets " $1"
18324 ac_need_defaults=false ;;
18326 esac
18327 shift
18328 done
18330 ac_configure_extra_args=
18332 if $ac_cs_silent; then
18333 exec 6>/dev/null
18334 ac_configure_extra_args="$ac_configure_extra_args --silent"
18337 _ACEOF
18338 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18339 if \$ac_cs_recheck; then
18340 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18341 shift
18342 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18343 CONFIG_SHELL='$SHELL'
18344 export CONFIG_SHELL
18345 exec "\$@"
18348 _ACEOF
18349 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18350 exec 5>>config.log
18352 echo
18353 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18354 ## Running $as_me. ##
18355 _ASBOX
18356 $as_echo "$ac_log"
18357 } >&5
18359 _ACEOF
18360 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18362 # INIT-COMMANDS
18364 wine_fn_output_makedep ()
18366 as_dir=tools; as_fn_mkdir_p
18367 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18369 wine_fn_output_makefile ()
18371 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18372 `cat $wine_rules_file`
18373 _WINE_EOF
18374 as_fn_error $? "could not create Makefile" "$LINENO" 5
18376 wine_fn_output_gitignore ()
18378 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18379 $GITIGNORE
18380 _WINE_EOF
18381 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18384 _ACEOF
18386 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18388 # Handling of arguments.
18389 for ac_config_target in $ac_config_targets
18391 case $ac_config_target in
18392 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18393 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
18394 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18395 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18396 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18397 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18398 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18399 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18400 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
18401 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18402 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
18403 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
18404 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18405 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
18407 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18408 esac
18409 done
18412 # If the user did not use the arguments to specify the items to instantiate,
18413 # then the envvar interface is used. Set only those that are not.
18414 # We use the long form for the default assignment because of an extremely
18415 # bizarre bug on SunOS 4.1.3.
18416 if $ac_need_defaults; then
18417 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18418 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18419 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18420 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18423 # Have a temporary directory for convenience. Make it in the build tree
18424 # simply because there is no reason against having it here, and in addition,
18425 # creating and moving files from /tmp can sometimes cause problems.
18426 # Hook for its removal unless debugging.
18427 # Note that there is a small window in which the directory will not be cleaned:
18428 # after its creation but before its name has been assigned to `$tmp'.
18429 $debug ||
18431 tmp= ac_tmp=
18432 trap 'exit_status=$?
18433 : "${ac_tmp:=$tmp}"
18434 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18436 trap 'as_fn_exit 1' 1 2 13 15
18438 # Create a (secure) tmp directory for tmp files.
18441 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18442 test -d "$tmp"
18443 } ||
18445 tmp=./conf$$-$RANDOM
18446 (umask 077 && mkdir "$tmp")
18447 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18448 ac_tmp=$tmp
18450 # Set up the scripts for CONFIG_FILES section.
18451 # No need to generate them if there are no CONFIG_FILES.
18452 # This happens for instance with `./config.status config.h'.
18453 if test -n "$CONFIG_FILES"; then
18456 ac_cr=`echo X | tr X '\015'`
18457 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18458 # But we know of no other shell where ac_cr would be empty at this
18459 # point, so we can use a bashism as a fallback.
18460 if test "x$ac_cr" = x; then
18461 eval ac_cr=\$\'\\r\'
18463 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18464 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18465 ac_cs_awk_cr='\\r'
18466 else
18467 ac_cs_awk_cr=$ac_cr
18470 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18471 _ACEOF
18475 echo "cat >conf$$subs.awk <<_ACEOF" &&
18476 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18477 echo "_ACEOF"
18478 } >conf$$subs.sh ||
18479 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18480 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18481 ac_delim='%!_!# '
18482 for ac_last_try in false false false false false :; do
18483 . ./conf$$subs.sh ||
18484 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18486 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18487 if test $ac_delim_n = $ac_delim_num; then
18488 break
18489 elif $ac_last_try; then
18490 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18491 else
18492 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18494 done
18495 rm -f conf$$subs.sh
18497 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18498 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18499 _ACEOF
18500 sed -n '
18502 s/^/S["/; s/!.*/"]=/
18505 s/^[^!]*!//
18506 :repl
18507 t repl
18508 s/'"$ac_delim"'$//
18509 t delim
18512 s/\(.\{148\}\)..*/\1/
18513 t more1
18514 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18517 b repl
18518 :more1
18519 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18522 s/.\{148\}//
18523 t nl
18524 :delim
18526 s/\(.\{148\}\)..*/\1/
18527 t more2
18528 s/["\\]/\\&/g; s/^/"/; s/$/"/
18531 :more2
18532 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18535 s/.\{148\}//
18536 t delim
18537 ' <conf$$subs.awk | sed '
18538 /^[^""]/{
18540 s/\n//
18542 ' >>$CONFIG_STATUS || ac_write_fail=1
18543 rm -f conf$$subs.awk
18544 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18545 _ACAWK
18546 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18547 for (key in S) S_is_set[key] = 1
18548 FS = "\a"
18552 line = $ 0
18553 nfields = split(line, field, "@")
18554 substed = 0
18555 len = length(field[1])
18556 for (i = 2; i < nfields; i++) {
18557 key = field[i]
18558 keylen = length(key)
18559 if (S_is_set[key]) {
18560 value = S[key]
18561 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18562 len += length(value) + length(field[++i])
18563 substed = 1
18564 } else
18565 len += 1 + keylen
18568 print line
18571 _ACAWK
18572 _ACEOF
18573 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18574 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18575 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18576 else
18578 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18579 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18580 _ACEOF
18582 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18583 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18584 # trailing colons and then remove the whole line if VPATH becomes empty
18585 # (actually we leave an empty line to preserve line numbers).
18586 if test "x$srcdir" = x.; then
18587 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18589 s///
18590 s/^/:/
18591 s/[ ]*$/:/
18592 s/:\$(srcdir):/:/g
18593 s/:\${srcdir}:/:/g
18594 s/:@srcdir@:/:/g
18595 s/^:*//
18596 s/:*$//
18598 s/\(=[ ]*\).*/\1/
18600 s/\n//
18601 s/^[^=]*=[ ]*$//
18605 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18606 fi # test -n "$CONFIG_FILES"
18608 # Set up the scripts for CONFIG_HEADERS section.
18609 # No need to generate them if there are no CONFIG_HEADERS.
18610 # This happens for instance with `./config.status Makefile'.
18611 if test -n "$CONFIG_HEADERS"; then
18612 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18613 BEGIN {
18614 _ACEOF
18616 # Transform confdefs.h into an awk script `defines.awk', embedded as
18617 # here-document in config.status, that substitutes the proper values into
18618 # config.h.in to produce config.h.
18620 # Create a delimiter string that does not exist in confdefs.h, to ease
18621 # handling of long lines.
18622 ac_delim='%!_!# '
18623 for ac_last_try in false false :; do
18624 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18625 if test -z "$ac_tt"; then
18626 break
18627 elif $ac_last_try; then
18628 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18629 else
18630 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18632 done
18634 # For the awk script, D is an array of macro values keyed by name,
18635 # likewise P contains macro parameters if any. Preserve backslash
18636 # newline sequences.
18638 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18639 sed -n '
18640 s/.\{148\}/&'"$ac_delim"'/g
18641 t rset
18642 :rset
18643 s/^[ ]*#[ ]*define[ ][ ]*/ /
18644 t def
18646 :def
18647 s/\\$//
18648 t bsnl
18649 s/["\\]/\\&/g
18650 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18651 D["\1"]=" \3"/p
18652 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18654 :bsnl
18655 s/["\\]/\\&/g
18656 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18657 D["\1"]=" \3\\\\\\n"\\/p
18658 t cont
18659 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18660 t cont
18662 :cont
18664 s/.\{148\}/&'"$ac_delim"'/g
18665 t clear
18666 :clear
18667 s/\\$//
18668 t bsnlc
18669 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18671 :bsnlc
18672 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18673 b cont
18674 ' <confdefs.h | sed '
18675 s/'"$ac_delim"'/"\\\
18676 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18678 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18679 for (key in D) D_is_set[key] = 1
18680 FS = "\a"
18682 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18683 line = \$ 0
18684 split(line, arg, " ")
18685 if (arg[1] == "#") {
18686 defundef = arg[2]
18687 mac1 = arg[3]
18688 } else {
18689 defundef = substr(arg[1], 2)
18690 mac1 = arg[2]
18692 split(mac1, mac2, "(") #)
18693 macro = mac2[1]
18694 prefix = substr(line, 1, index(line, defundef) - 1)
18695 if (D_is_set[macro]) {
18696 # Preserve the white space surrounding the "#".
18697 print prefix "define", macro P[macro] D[macro]
18698 next
18699 } else {
18700 # Replace #undef with comments. This is necessary, for example,
18701 # in the case of _POSIX_SOURCE, which is predefined and required
18702 # on some systems where configure will not decide to define it.
18703 if (defundef == "undef") {
18704 print "/*", prefix defundef, macro, "*/"
18705 next
18709 { print }
18710 _ACAWK
18711 _ACEOF
18712 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18713 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18714 fi # test -n "$CONFIG_HEADERS"
18717 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18718 shift
18719 for ac_tag
18721 case $ac_tag in
18722 :[FHLC]) ac_mode=$ac_tag; continue;;
18723 esac
18724 case $ac_mode$ac_tag in
18725 :[FHL]*:*);;
18726 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18727 :[FH]-) ac_tag=-:-;;
18728 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18729 esac
18730 ac_save_IFS=$IFS
18731 IFS=:
18732 set x $ac_tag
18733 IFS=$ac_save_IFS
18734 shift
18735 ac_file=$1
18736 shift
18738 case $ac_mode in
18739 :L) ac_source=$1;;
18740 :[FH])
18741 ac_file_inputs=
18742 for ac_f
18744 case $ac_f in
18745 -) ac_f="$ac_tmp/stdin";;
18746 *) # Look for the file first in the build tree, then in the source tree
18747 # (if the path is not absolute). The absolute path cannot be DOS-style,
18748 # because $ac_f cannot contain `:'.
18749 test -f "$ac_f" ||
18750 case $ac_f in
18751 [\\/$]*) false;;
18752 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18753 esac ||
18754 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18755 esac
18756 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18757 as_fn_append ac_file_inputs " '$ac_f'"
18758 done
18760 # Let's still pretend it is `configure' which instantiates (i.e., don't
18761 # use $as_me), people would be surprised to read:
18762 # /* config.h. Generated by config.status. */
18763 configure_input='Generated from '`
18764 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18765 `' by configure.'
18766 if test x"$ac_file" != x-; then
18767 configure_input="$ac_file. $configure_input"
18768 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18769 $as_echo "$as_me: creating $ac_file" >&6;}
18771 # Neutralize special characters interpreted by sed in replacement strings.
18772 case $configure_input in #(
18773 *\&* | *\|* | *\\* )
18774 ac_sed_conf_input=`$as_echo "$configure_input" |
18775 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18776 *) ac_sed_conf_input=$configure_input;;
18777 esac
18779 case $ac_tag in
18780 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18781 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18782 esac
18784 esac
18786 ac_dir=`$as_dirname -- "$ac_file" ||
18787 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18788 X"$ac_file" : 'X\(//\)[^/]' \| \
18789 X"$ac_file" : 'X\(//\)$' \| \
18790 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18791 $as_echo X"$ac_file" |
18792 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18793 s//\1/
18796 /^X\(\/\/\)[^/].*/{
18797 s//\1/
18800 /^X\(\/\/\)$/{
18801 s//\1/
18804 /^X\(\/\).*/{
18805 s//\1/
18808 s/.*/./; q'`
18809 as_dir="$ac_dir"; as_fn_mkdir_p
18810 ac_builddir=.
18812 case "$ac_dir" in
18813 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18815 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18816 # A ".." for each directory in $ac_dir_suffix.
18817 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18818 case $ac_top_builddir_sub in
18819 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18820 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18821 esac ;;
18822 esac
18823 ac_abs_top_builddir=$ac_pwd
18824 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18825 # for backward compatibility:
18826 ac_top_builddir=$ac_top_build_prefix
18828 case $srcdir in
18829 .) # We are building in place.
18830 ac_srcdir=.
18831 ac_top_srcdir=$ac_top_builddir_sub
18832 ac_abs_top_srcdir=$ac_pwd ;;
18833 [\\/]* | ?:[\\/]* ) # Absolute name.
18834 ac_srcdir=$srcdir$ac_dir_suffix;
18835 ac_top_srcdir=$srcdir
18836 ac_abs_top_srcdir=$srcdir ;;
18837 *) # Relative name.
18838 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18839 ac_top_srcdir=$ac_top_build_prefix$srcdir
18840 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18841 esac
18842 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18845 case $ac_mode in
18848 # CONFIG_FILE
18851 _ACEOF
18853 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18854 # If the template does not know about datarootdir, expand it.
18855 # FIXME: This hack should be removed a few years after 2.60.
18856 ac_datarootdir_hack=; ac_datarootdir_seen=
18857 ac_sed_dataroot='
18858 /datarootdir/ {
18862 /@datadir@/p
18863 /@docdir@/p
18864 /@infodir@/p
18865 /@localedir@/p
18866 /@mandir@/p'
18867 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18868 *datarootdir*) ac_datarootdir_seen=yes;;
18869 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18870 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18871 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18872 _ACEOF
18873 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18874 ac_datarootdir_hack='
18875 s&@datadir@&$datadir&g
18876 s&@docdir@&$docdir&g
18877 s&@infodir@&$infodir&g
18878 s&@localedir@&$localedir&g
18879 s&@mandir@&$mandir&g
18880 s&\\\${datarootdir}&$datarootdir&g' ;;
18881 esac
18882 _ACEOF
18884 # Neutralize VPATH when `$srcdir' = `.'.
18885 # Shell code in configure.ac might set extrasub.
18886 # FIXME: do we really want to maintain this feature?
18887 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18888 ac_sed_extra="$ac_vpsub
18889 $extrasub
18890 _ACEOF
18891 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18893 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18894 s|@configure_input@|$ac_sed_conf_input|;t t
18895 s&@top_builddir@&$ac_top_builddir_sub&;t t
18896 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18897 s&@srcdir@&$ac_srcdir&;t t
18898 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18899 s&@top_srcdir@&$ac_top_srcdir&;t t
18900 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18901 s&@builddir@&$ac_builddir&;t t
18902 s&@abs_builddir@&$ac_abs_builddir&;t t
18903 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18904 $ac_datarootdir_hack
18906 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18907 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18909 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18910 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18911 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18912 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18913 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18914 which seems to be undefined. Please make sure it is defined" >&5
18915 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18916 which seems to be undefined. Please make sure it is defined" >&2;}
18918 rm -f "$ac_tmp/stdin"
18919 case $ac_file in
18920 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18921 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18922 esac \
18923 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18927 # CONFIG_HEADER
18929 if test x"$ac_file" != x-; then
18931 $as_echo "/* $configure_input */" \
18932 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18933 } >"$ac_tmp/config.h" \
18934 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18935 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18936 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18937 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18938 else
18939 rm -f "$ac_file"
18940 mv "$ac_tmp/config.h" "$ac_file" \
18941 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18943 else
18944 $as_echo "/* $configure_input */" \
18945 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18946 || as_fn_error $? "could not create -" "$LINENO" 5
18951 # CONFIG_LINK
18954 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
18956 else
18957 # Prefer the file from the source tree if names are identical.
18958 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
18959 ac_source=$srcdir/$ac_source
18962 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
18963 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
18965 if test ! -r "$ac_source"; then
18966 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
18968 rm -f "$ac_file"
18970 # Try a relative symlink, then a hard link, then a copy.
18971 case $ac_source in
18972 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
18973 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
18974 esac
18975 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
18976 ln "$ac_source" "$ac_file" 2>/dev/null ||
18977 cp -p "$ac_source" "$ac_file" ||
18978 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
18981 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18982 $as_echo "$as_me: executing $ac_file commands" >&6;}
18984 esac
18987 case $ac_file$ac_mode in
18988 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
18989 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
18990 "Makefile":C) wine_fn_output_makefile Makefile ;;
18991 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
18993 esac
18994 done # for ac_tag
18997 as_fn_exit 0
18998 _ACEOF
18999 ac_clean_files=$ac_clean_files_save
19001 test $ac_write_fail = 0 ||
19002 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19005 # configure is writing to config.log, and then calls config.status.
19006 # config.status does its own redirection, appending to config.log.
19007 # Unfortunately, on DOS this fails, as config.log is still kept open
19008 # by configure, so config.status won't be able to write to it; its
19009 # output is simply discarded. So we exec the FD to /dev/null,
19010 # effectively closing config.log, so it can be properly (re)opened and
19011 # appended to by config.status. When coming back to configure, we
19012 # need to make the FD available again.
19013 if test "$no_create" != yes; then
19014 ac_cs_success=:
19015 ac_config_status_args=
19016 test "$silent" = yes &&
19017 ac_config_status_args="$ac_config_status_args --quiet"
19018 exec 5>/dev/null
19019 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19020 exec 5>>config.log
19021 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19022 # would make configure fail if this is the last instruction.
19023 $ac_cs_success || as_fn_exit 1
19025 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19026 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19027 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19031 if test "$no_create" = "yes"
19032 then
19033 exit 0
19036 ac_save_IFS="$IFS"
19037 if test "x$wine_notices != "x; then
19038 echo >&6
19039 IFS="|"
19040 for msg in $wine_notices; do
19041 IFS="$ac_save_IFS"
19042 if ${msg:+false} :; then :
19044 else
19045 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19046 $as_echo "$as_me: $msg" >&6;}
19048 done
19050 IFS="|"
19051 for msg in $wine_warnings; do
19052 IFS="$ac_save_IFS"
19053 if ${msg:+false} :; then :
19055 else
19056 echo >&2
19057 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19058 $as_echo "$as_me: WARNING: $msg" >&2;}
19060 done
19061 IFS="$ac_save_IFS"
19063 $as_echo "
19064 $as_me: Finished. Do '${ac_make}' to compile Wine.
19065 " >&6