Release 1.7.10.
[wine/multimedia.git] / configure
blobb4dfb47fc4a38e769878e49c9d788194710a41ba
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.10.
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.10'
584 PACKAGE_STRING='Wine 1.7.10'
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 PORCFLAGS
628 LINGUAS
629 LDAPLIBS
630 LIBRT
631 LIBPOLL
632 LIBDL
633 TOOLSEXT
634 UNWINDFLAGS
635 BUILTINFLAG
636 EXTRACFLAGS
637 LIBPROCSTAT
638 LIBKSTAT
639 LIBOPENAL
640 MPG123_LIBS
641 MPG123_CFLAGS
642 TIFF_LIBS
643 TIFF_CFLAGS
644 PNG_LIBS
645 PNG_CFLAGS
646 JPEG_LIBS
647 JPEG_CFLAGS
648 FONTCONFIGINCL
649 CUPSINCL
650 CAPI20_LIBS
651 CAPI20_CFLAGS
652 OSS4INCL
653 ALSALIBS
654 GSTREAMER_LIBS
655 GSTREAMER_CFLAGS
656 LIBGETTEXTPO
657 ZLIB
658 FREETYPE_LIBS
659 FREETYPE_CFLAGS
660 LCMS2_LIBS
661 LCMS2_CFLAGS
662 RESOLVLIBS
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 X_EXTRA_LIBS
680 X_LIBS
681 X_PRE_LIBS
682 X_CFLAGS
683 XMKMF
684 LIBPTHREAD
685 CROSSCC
686 CROSSTARGET
687 PRELINK
688 CARBONLIB
689 QUICKTIMELIB
690 LIBOPENCL
691 FRAMEWORK_OPENAL
692 COREAUDIO
693 SECURITYLIB
694 DISKARBITRATIONLIB
695 APPKITLIB
696 CORESERVICESLIB
697 APPLICATIONSERVICESLIB
698 FORCEFEEDBACKLIB
699 IOKITLIB
700 COREFOUNDATIONLIB
701 LIBWINE_RULES
702 SOCKETLIBS
703 DLLTOOL
704 LOADER_RULES
705 ALL_TEST_RESOURCES
706 READELF
708 LDRPATH_LOCAL
709 LDRPATH_INSTALL
710 DLLFLAGS
711 DLLPREFIX
712 dlldir
714 OPENGL_LIBS
715 XLIB
716 ICOTOOL
717 CONVERT
718 RSVG
719 FONTFORGE
720 PKG_CONFIG
721 MSGFMT
722 INSTALL_DATA
723 INSTALL_SCRIPT
724 INSTALL_PROGRAM
725 INSTALL
726 LDCONFIG
727 MKDIR_P
728 EGREP
729 GREP
730 LN_S
731 RANLIB
732 ARFLAGS
733 STRIP
734 ac_ct_AR
736 BISON
737 FLEX
738 TOOLSDIR
739 TARGETFLAGS
740 CPPBIN
741 ac_ct_CXX
742 CXXFLAGS
744 OBJEXT
745 EXEEXT
746 ac_ct_CC
747 CPPFLAGS
748 LDFLAGS
749 CFLAGS
751 SET_MAKE
752 host_os
753 host_vendor
754 host_cpu
755 host
756 build_os
757 build_vendor
758 build_cpu
759 build
760 target_alias
761 host_alias
762 build_alias
763 LIBS
764 ECHO_T
765 ECHO_N
766 ECHO_C
767 DEFS
768 mandir
769 localedir
770 libdir
771 psdir
772 pdfdir
773 dvidir
774 htmldir
775 infodir
776 docdir
777 oldincludedir
778 includedir
779 localstatedir
780 sharedstatedir
781 sysconfdir
782 datadir
783 datarootdir
784 libexecdir
785 sbindir
786 bindir
787 program_transform_name
788 prefix
789 exec_prefix
790 PACKAGE_URL
791 PACKAGE_BUGREPORT
792 PACKAGE_STRING
793 PACKAGE_VERSION
794 PACKAGE_TARNAME
795 PACKAGE_NAME
796 PATH_SEPARATOR
797 SHELL'
798 ac_subst_files='MAKE_RULES'
799 ac_user_opts='
800 enable_option_checking
801 enable_win16
802 enable_win64
803 enable_tests
804 enable_maintainer_mode
805 with_alsa
806 with_capi
807 with_cms
808 with_coreaudio
809 with_cups
810 with_curses
811 with_dbus
812 with_fontconfig
813 with_freetype
814 with_gettext
815 with_gettextpo
816 with_gphoto
817 with_glu
818 with_gnutls
819 with_gsm
820 with_gstreamer
821 with_hal
822 with_jpeg
823 with_ldap
824 with_mpg123
825 with_netapi
826 with_openal
827 with_opencl
828 with_opengl
829 with_osmesa
830 with_oss
831 with_png
832 with_pthread
833 with_sane
834 with_tiff
835 with_v4l
836 with_xcomposite
837 with_xcursor
838 with_xinerama
839 with_xinput
840 with_xinput2
841 with_xml
842 with_xrandr
843 with_xrender
844 with_xshape
845 with_xshm
846 with_xslt
847 with_xxf86vm
848 with_zlib
849 with_wine_tools
850 with_wine64
851 enable_largefile
852 with_x
853 enable_acledit
854 enable_aclui
855 enable_activeds
856 enable_actxprxy
857 enable_advapi32
858 enable_advpack
859 enable_amstream
860 enable_api_ms_win_core_localregistry_l1_1_0
861 enable_api_ms_win_core_processthreads_l1_1_0
862 enable_api_ms_win_core_winrt_error_l1_1_0
863 enable_api_ms_win_core_winrt_string_l1_1_0
864 enable_api_ms_win_downlevel_advapi32_l1_1_0
865 enable_api_ms_win_downlevel_advapi32_l2_1_0
866 enable_api_ms_win_downlevel_normaliz_l1_1_0
867 enable_api_ms_win_downlevel_ole32_l1_1_0
868 enable_api_ms_win_downlevel_shell32_l1_1_0
869 enable_api_ms_win_downlevel_shlwapi_l1_1_0
870 enable_api_ms_win_downlevel_shlwapi_l2_1_0
871 enable_api_ms_win_downlevel_user32_l1_1_0
872 enable_api_ms_win_downlevel_version_l1_1_0
873 enable_api_ms_win_security_base_l1_1_0
874 enable_apphelp
875 enable_appwiz_cpl
876 enable_atl
877 enable_atl100
878 enable_atl110
879 enable_atl80
880 enable_atl90
881 enable_authz
882 enable_avicap32
883 enable_avifil32
884 enable_avrt
885 enable_bcrypt
886 enable_browseui
887 enable_cabinet
888 enable_capi2032
889 enable_cards
890 enable_cfgmgr32
891 enable_clusapi
892 enable_comcat
893 enable_comctl32
894 enable_comdlg32
895 enable_compstui
896 enable_comsvcs
897 enable_credui
898 enable_crtdll
899 enable_crypt32
900 enable_cryptdlg
901 enable_cryptdll
902 enable_cryptnet
903 enable_cryptui
904 enable_ctapi32
905 enable_ctl3d32
906 enable_d3d10
907 enable_d3d10core
908 enable_d3d11
909 enable_d3d8
910 enable_d3d9
911 enable_d3dcompiler_33
912 enable_d3dcompiler_34
913 enable_d3dcompiler_35
914 enable_d3dcompiler_36
915 enable_d3dcompiler_37
916 enable_d3dcompiler_38
917 enable_d3dcompiler_39
918 enable_d3dcompiler_40
919 enable_d3dcompiler_41
920 enable_d3dcompiler_42
921 enable_d3dcompiler_43
922 enable_d3dim
923 enable_d3drm
924 enable_d3dx10_33
925 enable_d3dx10_34
926 enable_d3dx10_35
927 enable_d3dx10_36
928 enable_d3dx10_37
929 enable_d3dx10_38
930 enable_d3dx10_39
931 enable_d3dx10_40
932 enable_d3dx10_41
933 enable_d3dx10_42
934 enable_d3dx10_43
935 enable_d3dx11_42
936 enable_d3dx11_43
937 enable_d3dx9_24
938 enable_d3dx9_25
939 enable_d3dx9_26
940 enable_d3dx9_27
941 enable_d3dx9_28
942 enable_d3dx9_29
943 enable_d3dx9_30
944 enable_d3dx9_31
945 enable_d3dx9_32
946 enable_d3dx9_33
947 enable_d3dx9_34
948 enable_d3dx9_35
949 enable_d3dx9_36
950 enable_d3dx9_37
951 enable_d3dx9_38
952 enable_d3dx9_39
953 enable_d3dx9_40
954 enable_d3dx9_41
955 enable_d3dx9_42
956 enable_d3dx9_43
957 enable_d3dxof
958 enable_dbgeng
959 enable_dbghelp
960 enable_dciman32
961 enable_ddraw
962 enable_ddrawex
963 enable_devenum
964 enable_dhcpcsvc
965 enable_difxapi
966 enable_dinput
967 enable_dinput8
968 enable_dispex
969 enable_dmband
970 enable_dmcompos
971 enable_dmime
972 enable_dmloader
973 enable_dmscript
974 enable_dmstyle
975 enable_dmsynth
976 enable_dmusic
977 enable_dmusic32
978 enable_dnsapi
979 enable_dplay
980 enable_dplayx
981 enable_dpnaddr
982 enable_dpnet
983 enable_dpnhpast
984 enable_dpnlobby
985 enable_dpwsockx
986 enable_drmclien
987 enable_dsound
988 enable_dssenh
989 enable_dswave
990 enable_dwmapi
991 enable_dwrite
992 enable_dxdiagn
993 enable_dxgi
994 enable_explorerframe
995 enable_faultrep
996 enable_fltlib
997 enable_fusion
998 enable_fwpuclnt
999 enable_gameux
1000 enable_gdi32
1001 enable_gdiplus
1002 enable_glu32
1003 enable_gphoto2_ds
1004 enable_gpkcsp
1005 enable_hal
1006 enable_hhctrl_ocx
1007 enable_hid
1008 enable_hlink
1009 enable_hnetcfg
1010 enable_httpapi
1011 enable_iccvid
1012 enable_icmp
1013 enable_ieframe
1014 enable_imaadp32_acm
1015 enable_imagehlp
1016 enable_imm32
1017 enable_inetcomm
1018 enable_inetcpl_cpl
1019 enable_inetmib1
1020 enable_infosoft
1021 enable_initpki
1022 enable_inkobj
1023 enable_inseng
1024 enable_iphlpapi
1025 enable_itircl
1026 enable_itss
1027 enable_joy_cpl
1028 enable_jscript
1029 enable_kernel32
1030 enable_ktmw32
1031 enable_loadperf
1032 enable_localspl
1033 enable_localui
1034 enable_lz32
1035 enable_mapi32
1036 enable_mapistub
1037 enable_mciavi32
1038 enable_mcicda
1039 enable_mciqtz32
1040 enable_mciseq
1041 enable_mciwave
1042 enable_mgmtapi
1043 enable_midimap
1044 enable_mlang
1045 enable_mmcndmgr
1046 enable_mmdevapi
1047 enable_mountmgr_sys
1048 enable_mpr
1049 enable_mprapi
1050 enable_msacm32_drv
1051 enable_msacm32
1052 enable_msadp32_acm
1053 enable_mscat32
1054 enable_mscms
1055 enable_mscoree
1056 enable_msctf
1057 enable_msdaps
1058 enable_msdmo
1059 enable_msftedit
1060 enable_msg711_acm
1061 enable_msgsm32_acm
1062 enable_mshtml_tlb
1063 enable_mshtml
1064 enable_msi
1065 enable_msident
1066 enable_msimg32
1067 enable_msimsg
1068 enable_msimtf
1069 enable_msisip
1070 enable_msisys_ocx
1071 enable_msls31
1072 enable_msnet32
1073 enable_mspatcha
1074 enable_msrle32
1075 enable_mssign32
1076 enable_mssip32
1077 enable_mstask
1078 enable_msvcirt
1079 enable_msvcm80
1080 enable_msvcm90
1081 enable_msvcp100
1082 enable_msvcp110
1083 enable_msvcp60
1084 enable_msvcp70
1085 enable_msvcp71
1086 enable_msvcp80
1087 enable_msvcp90
1088 enable_msvcr100
1089 enable_msvcr110
1090 enable_msvcr70
1091 enable_msvcr71
1092 enable_msvcr80
1093 enable_msvcr90
1094 enable_msvcrt
1095 enable_msvcrt20
1096 enable_msvcrt40
1097 enable_msvcrtd
1098 enable_msvfw32
1099 enable_msvidc32
1100 enable_mswsock
1101 enable_msxml
1102 enable_msxml2
1103 enable_msxml3
1104 enable_msxml4
1105 enable_msxml6
1106 enable_nddeapi
1107 enable_netapi32
1108 enable_netcfgx
1109 enable_newdev
1110 enable_normaliz
1111 enable_npmshtml
1112 enable_ntdll
1113 enable_ntdsapi
1114 enable_ntoskrnl_exe
1115 enable_ntprint
1116 enable_objsel
1117 enable_odbc32
1118 enable_odbccp32
1119 enable_odbccu32
1120 enable_ole32
1121 enable_oleacc
1122 enable_oleaut32
1123 enable_olecli32
1124 enable_oledb32
1125 enable_oledlg
1126 enable_olepro32
1127 enable_olesvr32
1128 enable_olethk32
1129 enable_openal32
1130 enable_opencl
1131 enable_opengl32
1132 enable_pdh
1133 enable_photometadatahandler
1134 enable_pidgen
1135 enable_powrprof
1136 enable_printui
1137 enable_propsys
1138 enable_psapi
1139 enable_pstorec
1140 enable_qcap
1141 enable_qedit
1142 enable_qmgr
1143 enable_qmgrprxy
1144 enable_quartz
1145 enable_query
1146 enable_rasapi32
1147 enable_rasdlg
1148 enable_regapi
1149 enable_resutils
1150 enable_riched20
1151 enable_riched32
1152 enable_rpcrt4
1153 enable_rsabase
1154 enable_rsaenh
1155 enable_rstrtmgr
1156 enable_rtutils
1157 enable_samlib
1158 enable_sane_ds
1159 enable_scarddlg
1160 enable_sccbase
1161 enable_schannel
1162 enable_scrrun
1163 enable_scsiport_sys
1164 enable_secur32
1165 enable_security
1166 enable_sensapi
1167 enable_serialui
1168 enable_setupapi
1169 enable_sfc
1170 enable_sfc_os
1171 enable_shdoclc
1172 enable_shdocvw
1173 enable_shell32
1174 enable_shfolder
1175 enable_shlwapi
1176 enable_slbcsp
1177 enable_slc
1178 enable_snmpapi
1179 enable_softpub
1180 enable_spoolss
1181 enable_stdole2_tlb
1182 enable_stdole32_tlb
1183 enable_sti
1184 enable_svrapi
1185 enable_sxs
1186 enable_t2embed
1187 enable_tapi32
1188 enable_taskschd
1189 enable_traffic
1190 enable_twain_32
1191 enable_unicows
1192 enable_updspapi
1193 enable_url
1194 enable_urlmon
1195 enable_usbd_sys
1196 enable_user32
1197 enable_userenv
1198 enable_usp10
1199 enable_uxtheme
1200 enable_vbscript
1201 enable_vcomp
1202 enable_vcomp100
1203 enable_vcomp90
1204 enable_vdmdbg
1205 enable_version
1206 enable_wbemdisp
1207 enable_wbemprox
1208 enable_webservices
1209 enable_wer
1210 enable_wevtapi
1211 enable_wiaservc
1212 enable_windowscodecs
1213 enable_windowscodecsext
1214 enable_winealsa_drv
1215 enable_winecoreaudio_drv
1216 enable_wined3d
1217 enable_winegstreamer
1218 enable_winejoystick_drv
1219 enable_winemac_drv
1220 enable_winemapi
1221 enable_winemp3_acm
1222 enable_wineoss_drv
1223 enable_wineps_drv
1224 enable_wineqtdecoder
1225 enable_winex11_drv
1226 enable_wing32
1227 enable_winhttp
1228 enable_wininet
1229 enable_winmm
1230 enable_winnls32
1231 enable_winscard
1232 enable_winspool_drv
1233 enable_winsta
1234 enable_wintab32
1235 enable_wintrust
1236 enable_wlanapi
1237 enable_wldap32
1238 enable_wmi
1239 enable_wmiutils
1240 enable_wmvcore
1241 enable_wnaspi32
1242 enable_ws2_32
1243 enable_wshom_ocx
1244 enable_wsnmp32
1245 enable_wsock32
1246 enable_wtsapi32
1247 enable_wuapi
1248 enable_wuaueng
1249 enable_xapofx1_1
1250 enable_xinput1_1
1251 enable_xinput1_2
1252 enable_xinput1_3
1253 enable_xinput1_4
1254 enable_xinput9_1_0
1255 enable_xmllite
1256 enable_xolehlp
1257 enable_xpsprint
1258 enable_xpssvcs
1259 enable_documentation
1260 enable_fonts
1261 enable_include
1262 enable_libs_port
1263 enable_libs_wine
1264 enable_libs_wpp
1265 enable_loader
1266 enable_arp
1267 enable_aspnet_regiis
1268 enable_attrib
1269 enable_cabarc
1270 enable_cacls
1271 enable_clock
1272 enable_cmd
1273 enable_conhost
1274 enable_control
1275 enable_cscript
1276 enable_dxdiag
1277 enable_eject
1278 enable_expand
1279 enable_explorer
1280 enable_extrac32
1281 enable_findstr
1282 enable_hh
1283 enable_hostname
1284 enable_icinfo
1285 enable_iexplore
1286 enable_ipconfig
1287 enable_lodctr
1288 enable_mofcomp
1289 enable_mshta
1290 enable_msiexec
1291 enable_net
1292 enable_netsh
1293 enable_netstat
1294 enable_ngen
1295 enable_notepad
1296 enable_oleview
1297 enable_ping
1298 enable_plugplay
1299 enable_presentationfontcache
1300 enable_progman
1301 enable_reg
1302 enable_regasm
1303 enable_regedit
1304 enable_regsvcs
1305 enable_regsvr32
1306 enable_rpcss
1307 enable_rundll32
1308 enable_sc
1309 enable_schtasks
1310 enable_secedit
1311 enable_servicemodelreg
1312 enable_services
1313 enable_spoolsv
1314 enable_start
1315 enable_svchost
1316 enable_taskkill
1317 enable_tasklist
1318 enable_taskmgr
1319 enable_termsv
1320 enable_uninstaller
1321 enable_unlodctr
1322 enable_view
1323 enable_wineboot
1324 enable_winebrowser
1325 enable_winecfg
1326 enable_wineconsole
1327 enable_winedbg
1328 enable_winedevice
1329 enable_winefile
1330 enable_winemenubuilder
1331 enable_winemine
1332 enable_winemsibuilder
1333 enable_winepath
1334 enable_winetest
1335 enable_winhlp32
1336 enable_winver
1337 enable_wmic
1338 enable_wordpad
1339 enable_write
1340 enable_wscript
1341 enable_wusa
1342 enable_xcopy
1343 enable_server
1344 enable_tools
1346 ac_precious_vars='build_alias
1347 host_alias
1348 target_alias
1350 CFLAGS
1351 LDFLAGS
1352 LIBS
1353 CPPFLAGS
1355 CXXFLAGS
1358 XMKMF
1359 XML2_CFLAGS
1360 XML2_LIBS
1361 XSLT_CFLAGS
1362 XSLT_LIBS
1363 DBUS_CFLAGS
1364 DBUS_LIBS
1365 HAL_CFLAGS
1366 HAL_LIBS
1367 GNUTLS_CFLAGS
1368 GNUTLS_LIBS
1369 SANE_CFLAGS
1370 SANE_LIBS
1371 GPHOTO2_CFLAGS
1372 GPHOTO2_LIBS
1373 GPHOTO2_PORT_CFLAGS
1374 GPHOTO2_PORT_LIBS
1375 LCMS2_CFLAGS
1376 LCMS2_LIBS
1377 FREETYPE_CFLAGS
1378 FREETYPE_LIBS
1379 GSTREAMER_CFLAGS
1380 GSTREAMER_LIBS
1381 CAPI20_CFLAGS
1382 CAPI20_LIBS
1383 JPEG_CFLAGS
1384 JPEG_LIBS
1385 PNG_CFLAGS
1386 PNG_LIBS
1387 TIFF_CFLAGS
1388 TIFF_LIBS
1389 MPG123_CFLAGS
1390 MPG123_LIBS'
1393 # Initialize some variables set by options.
1394 ac_init_help=
1395 ac_init_version=false
1396 ac_unrecognized_opts=
1397 ac_unrecognized_sep=
1398 # The variables have the same names as the options, with
1399 # dashes changed to underlines.
1400 cache_file=/dev/null
1401 exec_prefix=NONE
1402 no_create=
1403 no_recursion=
1404 prefix=NONE
1405 program_prefix=NONE
1406 program_suffix=NONE
1407 program_transform_name=s,x,x,
1408 silent=
1409 site=
1410 srcdir=
1411 verbose=
1412 x_includes=NONE
1413 x_libraries=NONE
1415 # Installation directory options.
1416 # These are left unexpanded so users can "make install exec_prefix=/foo"
1417 # and all the variables that are supposed to be based on exec_prefix
1418 # by default will actually change.
1419 # Use braces instead of parens because sh, perl, etc. also accept them.
1420 # (The list follows the same order as the GNU Coding Standards.)
1421 bindir='${exec_prefix}/bin'
1422 sbindir='${exec_prefix}/sbin'
1423 libexecdir='${exec_prefix}/libexec'
1424 datarootdir='${prefix}/share'
1425 datadir='${datarootdir}'
1426 sysconfdir='${prefix}/etc'
1427 sharedstatedir='${prefix}/com'
1428 localstatedir='${prefix}/var'
1429 includedir='${prefix}/include'
1430 oldincludedir='/usr/include'
1431 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1432 infodir='${datarootdir}/info'
1433 htmldir='${docdir}'
1434 dvidir='${docdir}'
1435 pdfdir='${docdir}'
1436 psdir='${docdir}'
1437 libdir='${exec_prefix}/lib'
1438 localedir='${datarootdir}/locale'
1439 mandir='${datarootdir}/man'
1441 ac_prev=
1442 ac_dashdash=
1443 for ac_option
1445 # If the previous option needs an argument, assign it.
1446 if test -n "$ac_prev"; then
1447 eval $ac_prev=\$ac_option
1448 ac_prev=
1449 continue
1452 case $ac_option in
1453 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1454 *=) ac_optarg= ;;
1455 *) ac_optarg=yes ;;
1456 esac
1458 # Accept the important Cygnus configure options, so we can diagnose typos.
1460 case $ac_dashdash$ac_option in
1462 ac_dashdash=yes ;;
1464 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1465 ac_prev=bindir ;;
1466 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1467 bindir=$ac_optarg ;;
1469 -build | --build | --buil | --bui | --bu)
1470 ac_prev=build_alias ;;
1471 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1472 build_alias=$ac_optarg ;;
1474 -cache-file | --cache-file | --cache-fil | --cache-fi \
1475 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1476 ac_prev=cache_file ;;
1477 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1478 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1479 cache_file=$ac_optarg ;;
1481 --config-cache | -C)
1482 cache_file=config.cache ;;
1484 -datadir | --datadir | --datadi | --datad)
1485 ac_prev=datadir ;;
1486 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1487 datadir=$ac_optarg ;;
1489 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1490 | --dataroo | --dataro | --datar)
1491 ac_prev=datarootdir ;;
1492 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1493 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1494 datarootdir=$ac_optarg ;;
1496 -disable-* | --disable-*)
1497 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1498 # Reject names that are not valid shell variable names.
1499 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1500 as_fn_error $? "invalid feature name: $ac_useropt"
1501 ac_useropt_orig=$ac_useropt
1502 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1503 case $ac_user_opts in
1505 "enable_$ac_useropt"
1506 "*) ;;
1507 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1508 ac_unrecognized_sep=', ';;
1509 esac
1510 eval enable_$ac_useropt=no ;;
1512 -docdir | --docdir | --docdi | --doc | --do)
1513 ac_prev=docdir ;;
1514 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1515 docdir=$ac_optarg ;;
1517 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1518 ac_prev=dvidir ;;
1519 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1520 dvidir=$ac_optarg ;;
1522 -enable-* | --enable-*)
1523 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1524 # Reject names that are not valid shell variable names.
1525 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1526 as_fn_error $? "invalid feature name: $ac_useropt"
1527 ac_useropt_orig=$ac_useropt
1528 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1529 case $ac_user_opts in
1531 "enable_$ac_useropt"
1532 "*) ;;
1533 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1534 ac_unrecognized_sep=', ';;
1535 esac
1536 eval enable_$ac_useropt=\$ac_optarg ;;
1538 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1539 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1540 | --exec | --exe | --ex)
1541 ac_prev=exec_prefix ;;
1542 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1543 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1544 | --exec=* | --exe=* | --ex=*)
1545 exec_prefix=$ac_optarg ;;
1547 -gas | --gas | --ga | --g)
1548 # Obsolete; use --with-gas.
1549 with_gas=yes ;;
1551 -help | --help | --hel | --he | -h)
1552 ac_init_help=long ;;
1553 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1554 ac_init_help=recursive ;;
1555 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1556 ac_init_help=short ;;
1558 -host | --host | --hos | --ho)
1559 ac_prev=host_alias ;;
1560 -host=* | --host=* | --hos=* | --ho=*)
1561 host_alias=$ac_optarg ;;
1563 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1564 ac_prev=htmldir ;;
1565 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1566 | --ht=*)
1567 htmldir=$ac_optarg ;;
1569 -includedir | --includedir | --includedi | --included | --include \
1570 | --includ | --inclu | --incl | --inc)
1571 ac_prev=includedir ;;
1572 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1573 | --includ=* | --inclu=* | --incl=* | --inc=*)
1574 includedir=$ac_optarg ;;
1576 -infodir | --infodir | --infodi | --infod | --info | --inf)
1577 ac_prev=infodir ;;
1578 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1579 infodir=$ac_optarg ;;
1581 -libdir | --libdir | --libdi | --libd)
1582 ac_prev=libdir ;;
1583 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1584 libdir=$ac_optarg ;;
1586 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1587 | --libexe | --libex | --libe)
1588 ac_prev=libexecdir ;;
1589 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1590 | --libexe=* | --libex=* | --libe=*)
1591 libexecdir=$ac_optarg ;;
1593 -localedir | --localedir | --localedi | --localed | --locale)
1594 ac_prev=localedir ;;
1595 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1596 localedir=$ac_optarg ;;
1598 -localstatedir | --localstatedir | --localstatedi | --localstated \
1599 | --localstate | --localstat | --localsta | --localst | --locals)
1600 ac_prev=localstatedir ;;
1601 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1602 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1603 localstatedir=$ac_optarg ;;
1605 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1606 ac_prev=mandir ;;
1607 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1608 mandir=$ac_optarg ;;
1610 -nfp | --nfp | --nf)
1611 # Obsolete; use --without-fp.
1612 with_fp=no ;;
1614 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1615 | --no-cr | --no-c | -n)
1616 no_create=yes ;;
1618 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1619 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1620 no_recursion=yes ;;
1622 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1623 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1624 | --oldin | --oldi | --old | --ol | --o)
1625 ac_prev=oldincludedir ;;
1626 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1627 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1628 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1629 oldincludedir=$ac_optarg ;;
1631 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1632 ac_prev=prefix ;;
1633 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1634 prefix=$ac_optarg ;;
1636 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1637 | --program-pre | --program-pr | --program-p)
1638 ac_prev=program_prefix ;;
1639 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1640 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1641 program_prefix=$ac_optarg ;;
1643 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1644 | --program-suf | --program-su | --program-s)
1645 ac_prev=program_suffix ;;
1646 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1647 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1648 program_suffix=$ac_optarg ;;
1650 -program-transform-name | --program-transform-name \
1651 | --program-transform-nam | --program-transform-na \
1652 | --program-transform-n | --program-transform- \
1653 | --program-transform | --program-transfor \
1654 | --program-transfo | --program-transf \
1655 | --program-trans | --program-tran \
1656 | --progr-tra | --program-tr | --program-t)
1657 ac_prev=program_transform_name ;;
1658 -program-transform-name=* | --program-transform-name=* \
1659 | --program-transform-nam=* | --program-transform-na=* \
1660 | --program-transform-n=* | --program-transform-=* \
1661 | --program-transform=* | --program-transfor=* \
1662 | --program-transfo=* | --program-transf=* \
1663 | --program-trans=* | --program-tran=* \
1664 | --progr-tra=* | --program-tr=* | --program-t=*)
1665 program_transform_name=$ac_optarg ;;
1667 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1668 ac_prev=pdfdir ;;
1669 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1670 pdfdir=$ac_optarg ;;
1672 -psdir | --psdir | --psdi | --psd | --ps)
1673 ac_prev=psdir ;;
1674 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1675 psdir=$ac_optarg ;;
1677 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1678 | -silent | --silent | --silen | --sile | --sil)
1679 silent=yes ;;
1681 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1682 ac_prev=sbindir ;;
1683 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1684 | --sbi=* | --sb=*)
1685 sbindir=$ac_optarg ;;
1687 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1688 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1689 | --sharedst | --shareds | --shared | --share | --shar \
1690 | --sha | --sh)
1691 ac_prev=sharedstatedir ;;
1692 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1693 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1694 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1695 | --sha=* | --sh=*)
1696 sharedstatedir=$ac_optarg ;;
1698 -site | --site | --sit)
1699 ac_prev=site ;;
1700 -site=* | --site=* | --sit=*)
1701 site=$ac_optarg ;;
1703 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1704 ac_prev=srcdir ;;
1705 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1706 srcdir=$ac_optarg ;;
1708 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1709 | --syscon | --sysco | --sysc | --sys | --sy)
1710 ac_prev=sysconfdir ;;
1711 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1712 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1713 sysconfdir=$ac_optarg ;;
1715 -target | --target | --targe | --targ | --tar | --ta | --t)
1716 ac_prev=target_alias ;;
1717 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1718 target_alias=$ac_optarg ;;
1720 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1721 verbose=yes ;;
1723 -version | --version | --versio | --versi | --vers | -V)
1724 ac_init_version=: ;;
1726 -with-* | --with-*)
1727 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1728 # Reject names that are not valid shell variable names.
1729 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1730 as_fn_error $? "invalid package name: $ac_useropt"
1731 ac_useropt_orig=$ac_useropt
1732 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1733 case $ac_user_opts in
1735 "with_$ac_useropt"
1736 "*) ;;
1737 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1738 ac_unrecognized_sep=', ';;
1739 esac
1740 eval with_$ac_useropt=\$ac_optarg ;;
1742 -without-* | --without-*)
1743 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1744 # Reject names that are not valid shell variable names.
1745 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1746 as_fn_error $? "invalid package name: $ac_useropt"
1747 ac_useropt_orig=$ac_useropt
1748 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1749 case $ac_user_opts in
1751 "with_$ac_useropt"
1752 "*) ;;
1753 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1754 ac_unrecognized_sep=', ';;
1755 esac
1756 eval with_$ac_useropt=no ;;
1758 --x)
1759 # Obsolete; use --with-x.
1760 with_x=yes ;;
1762 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1763 | --x-incl | --x-inc | --x-in | --x-i)
1764 ac_prev=x_includes ;;
1765 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1766 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1767 x_includes=$ac_optarg ;;
1769 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1770 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1771 ac_prev=x_libraries ;;
1772 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1773 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1774 x_libraries=$ac_optarg ;;
1776 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1777 Try \`$0 --help' for more information"
1780 *=*)
1781 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1782 # Reject names that are not valid shell variable names.
1783 case $ac_envvar in #(
1784 '' | [0-9]* | *[!_$as_cr_alnum]* )
1785 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1786 esac
1787 eval $ac_envvar=\$ac_optarg
1788 export $ac_envvar ;;
1791 # FIXME: should be removed in autoconf 3.0.
1792 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1793 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1794 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1795 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1798 esac
1799 done
1801 if test -n "$ac_prev"; then
1802 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1803 as_fn_error $? "missing argument to $ac_option"
1806 if test -n "$ac_unrecognized_opts"; then
1807 case $enable_option_checking in
1808 no) ;;
1809 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1810 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1811 esac
1814 # Check all directory arguments for consistency.
1815 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1816 datadir sysconfdir sharedstatedir localstatedir includedir \
1817 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1818 libdir localedir mandir
1820 eval ac_val=\$$ac_var
1821 # Remove trailing slashes.
1822 case $ac_val in
1823 */ )
1824 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1825 eval $ac_var=\$ac_val;;
1826 esac
1827 # Be sure to have absolute directory names.
1828 case $ac_val in
1829 [\\/$]* | ?:[\\/]* ) continue;;
1830 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1831 esac
1832 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1833 done
1835 # There might be people who depend on the old broken behavior: `$host'
1836 # used to hold the argument of --host etc.
1837 # FIXME: To remove some day.
1838 build=$build_alias
1839 host=$host_alias
1840 target=$target_alias
1842 # FIXME: To remove some day.
1843 if test "x$host_alias" != x; then
1844 if test "x$build_alias" = x; then
1845 cross_compiling=maybe
1846 elif test "x$build_alias" != "x$host_alias"; then
1847 cross_compiling=yes
1851 ac_tool_prefix=
1852 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1854 test "$silent" = yes && exec 6>/dev/null
1857 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1858 ac_ls_di=`ls -di .` &&
1859 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1860 as_fn_error $? "working directory cannot be determined"
1861 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1862 as_fn_error $? "pwd does not report name of working directory"
1865 # Find the source files, if location was not specified.
1866 if test -z "$srcdir"; then
1867 ac_srcdir_defaulted=yes
1868 # Try the directory containing this script, then the parent directory.
1869 ac_confdir=`$as_dirname -- "$as_myself" ||
1870 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1871 X"$as_myself" : 'X\(//\)[^/]' \| \
1872 X"$as_myself" : 'X\(//\)$' \| \
1873 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1874 $as_echo X"$as_myself" |
1875 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1876 s//\1/
1879 /^X\(\/\/\)[^/].*/{
1880 s//\1/
1883 /^X\(\/\/\)$/{
1884 s//\1/
1887 /^X\(\/\).*/{
1888 s//\1/
1891 s/.*/./; q'`
1892 srcdir=$ac_confdir
1893 if test ! -r "$srcdir/$ac_unique_file"; then
1894 srcdir=..
1896 else
1897 ac_srcdir_defaulted=no
1899 if test ! -r "$srcdir/$ac_unique_file"; then
1900 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1901 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1903 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1904 ac_abs_confdir=`(
1905 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1906 pwd)`
1907 # When building in place, set srcdir=.
1908 if test "$ac_abs_confdir" = "$ac_pwd"; then
1909 srcdir=.
1911 # Remove unnecessary trailing slashes from srcdir.
1912 # Double slashes in file names in object file debugging info
1913 # mess up M-x gdb in Emacs.
1914 case $srcdir in
1915 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1916 esac
1917 for ac_var in $ac_precious_vars; do
1918 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1919 eval ac_env_${ac_var}_value=\$${ac_var}
1920 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1921 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1922 done
1925 # Report the --help message.
1927 if test "$ac_init_help" = "long"; then
1928 # Omit some internal or obsolete options to make the list less imposing.
1929 # This message is too long to be a string in the A/UX 3.1 sh.
1930 cat <<_ACEOF
1931 \`configure' configures Wine 1.7.10 to adapt to many kinds of systems.
1933 Usage: $0 [OPTION]... [VAR=VALUE]...
1935 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1936 VAR=VALUE. See below for descriptions of some of the useful variables.
1938 Defaults for the options are specified in brackets.
1940 Configuration:
1941 -h, --help display this help and exit
1942 --help=short display options specific to this package
1943 --help=recursive display the short help of all the included packages
1944 -V, --version display version information and exit
1945 -q, --quiet, --silent do not print \`checking ...' messages
1946 --cache-file=FILE cache test results in FILE [disabled]
1947 -C, --config-cache alias for \`--cache-file=config.cache'
1948 -n, --no-create do not create output files
1949 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1951 Installation directories:
1952 --prefix=PREFIX install architecture-independent files in PREFIX
1953 [$ac_default_prefix]
1954 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1955 [PREFIX]
1957 By default, \`make install' will install all the files in
1958 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1959 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1960 for instance \`--prefix=\$HOME'.
1962 For better control, use the options below.
1964 Fine tuning of the installation directories:
1965 --bindir=DIR user executables [EPREFIX/bin]
1966 --sbindir=DIR system admin executables [EPREFIX/sbin]
1967 --libexecdir=DIR program executables [EPREFIX/libexec]
1968 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1969 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1970 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1971 --libdir=DIR object code libraries [EPREFIX/lib]
1972 --includedir=DIR C header files [PREFIX/include]
1973 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1974 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1975 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1976 --infodir=DIR info documentation [DATAROOTDIR/info]
1977 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1978 --mandir=DIR man documentation [DATAROOTDIR/man]
1979 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1980 --htmldir=DIR html documentation [DOCDIR]
1981 --dvidir=DIR dvi documentation [DOCDIR]
1982 --pdfdir=DIR pdf documentation [DOCDIR]
1983 --psdir=DIR ps documentation [DOCDIR]
1984 _ACEOF
1986 cat <<\_ACEOF
1988 X features:
1989 --x-includes=DIR X include files are in DIR
1990 --x-libraries=DIR X library files are in DIR
1992 System types:
1993 --build=BUILD configure for building on BUILD [guessed]
1994 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1995 _ACEOF
1998 if test -n "$ac_init_help"; then
1999 case $ac_init_help in
2000 short | recursive ) echo "Configuration of Wine 1.7.10:";;
2001 esac
2002 cat <<\_ACEOF
2004 Optional Features:
2005 --disable-option-checking ignore unrecognized --enable/--with options
2006 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2007 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2008 --disable-win16 do not include Win16 support
2009 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2010 binaries)
2011 --disable-tests do not build the regression tests
2012 --enable-maintainer-mode
2013 enable maintainer-specific build rules
2014 --disable-largefile omit support for large files
2016 Optional Packages:
2017 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2018 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2019 --without-alsa do not use the Alsa sound support
2020 --without-capi do not use CAPI (ISDN support)
2021 --without-cms do not use CMS (color management support)
2022 --without-coreaudio do not use the CoreAudio sound support
2023 --without-cups do not use CUPS
2024 --without-curses do not use (n)curses
2025 --without-dbus do not use DBus (dynamic device support)
2026 --without-fontconfig do not use fontconfig
2027 --without-freetype do not use the FreeType library
2028 --without-gettext do not use gettext
2029 --with-gettextpo use the GetTextPO library to rebuild po files
2030 --without-gphoto do not use gphoto (Digital Camera support)
2031 --without-glu do not use the GLU library
2032 --without-gnutls do not use GnuTLS (schannel support)
2033 --without-gsm do not use libgsm (GSM 06.10 codec support)
2034 --without-gstreamer do not use GStreamer (codecs support)
2035 --without-hal do not use HAL (dynamic device support)
2036 --without-jpeg do not use JPEG
2037 --without-ldap do not use LDAP
2038 --without-mpg123 do not use the mpg123 library
2039 --without-netapi do not use the Samba NetAPI library
2040 --without-openal do not use OpenAL
2041 --without-opencl do not use OpenCL
2042 --without-opengl do not use OpenGL
2043 --without-osmesa do not use the OSMesa library
2044 --without-oss do not use the OSS sound support
2045 --without-png do not use PNG
2046 --without-pthread do not use the pthread library
2047 --without-sane do not use SANE (scanner support)
2048 --without-tiff do not use TIFF
2049 --without-v4l do not use v4l1 (v4l support)
2050 --without-xcomposite do not use the Xcomposite extension
2051 --without-xcursor do not use the Xcursor extension
2052 --without-xinerama do not use Xinerama (multi-monitor support)
2053 --without-xinput do not use the Xinput extension
2054 --without-xinput2 do not use the Xinput 2 extension
2055 --without-xml do not use XML
2056 --without-xrandr do not use Xrandr (resolution changes)
2057 --without-xrender do not use the Xrender extension
2058 --without-xshape do not use the Xshape extension
2059 --without-xshm do not use XShm (shared memory extension)
2060 --without-xslt do not use XSLT
2061 --without-xxf86vm do not use XFree video mode extension
2062 --without-zlib do not use Zlib (data compression)
2063 --with-wine-tools=DIR use Wine tools from directory DIR
2064 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2065 --with-x use the X Window System
2067 Some influential environment variables:
2068 CC C compiler command
2069 CFLAGS C compiler flags
2070 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2071 nonstandard directory <lib dir>
2072 LIBS libraries to pass to the linker, e.g. -l<library>
2073 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2074 you have headers in a nonstandard directory <include dir>
2075 CXX C++ compiler command
2076 CXXFLAGS C++ compiler flags
2077 CPP C preprocessor
2078 XMKMF Path to xmkmf, Makefile generator for X Window System
2079 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2080 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2081 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2082 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2083 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2084 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2085 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2086 HAL_LIBS Linker flags for hal, overriding pkg-config
2087 GNUTLS_CFLAGS
2088 C compiler flags for gnutls, overriding pkg-config
2089 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2090 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2091 SANE_LIBS Linker flags for libsane, overriding pkg-config
2092 GPHOTO2_CFLAGS
2093 C compiler flags for libgphoto2, overriding pkg-config
2094 GPHOTO2_LIBS
2095 Linker flags for libgphoto2, overriding pkg-config
2096 GPHOTO2_PORT_CFLAGS
2097 C compiler flags for libgphoto2_port, overriding pkg-config
2098 GPHOTO2_PORT_LIBS
2099 Linker flags for libgphoto2_port, overriding pkg-config
2100 LCMS2_CFLAGS
2101 C compiler flags for lcms2, overriding pkg-config
2102 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2103 FREETYPE_CFLAGS
2104 C compiler flags for freetype2, overriding pkg-config
2105 FREETYPE_LIBS
2106 Linker flags for freetype2, overriding pkg-config
2107 GSTREAMER_CFLAGS
2108 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2109 GSTREAMER_LIBS
2110 Linker flags for gstreamer-app-0.10, overriding pkg-config
2111 CAPI20_CFLAGS
2112 C compiler flags for capi20, overriding pkg-config
2113 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2114 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2115 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2116 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2117 PNG_LIBS Linker flags for libpng, overriding pkg-config
2118 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2119 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2120 MPG123_CFLAGS
2121 C compiler flags for libmpg123, overriding pkg-config
2122 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2124 Use these variables to override the choices made by `configure' or to help
2125 it to find libraries and programs with nonstandard names/locations.
2127 Report bugs to <wine-devel@winehq.org>.
2128 Wine home page: <http://www.winehq.org>.
2129 _ACEOF
2130 ac_status=$?
2133 if test "$ac_init_help" = "recursive"; then
2134 # If there are subdirs, report their specific --help.
2135 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2136 test -d "$ac_dir" ||
2137 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2138 continue
2139 ac_builddir=.
2141 case "$ac_dir" in
2142 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2144 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2145 # A ".." for each directory in $ac_dir_suffix.
2146 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2147 case $ac_top_builddir_sub in
2148 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2149 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2150 esac ;;
2151 esac
2152 ac_abs_top_builddir=$ac_pwd
2153 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2154 # for backward compatibility:
2155 ac_top_builddir=$ac_top_build_prefix
2157 case $srcdir in
2158 .) # We are building in place.
2159 ac_srcdir=.
2160 ac_top_srcdir=$ac_top_builddir_sub
2161 ac_abs_top_srcdir=$ac_pwd ;;
2162 [\\/]* | ?:[\\/]* ) # Absolute name.
2163 ac_srcdir=$srcdir$ac_dir_suffix;
2164 ac_top_srcdir=$srcdir
2165 ac_abs_top_srcdir=$srcdir ;;
2166 *) # Relative name.
2167 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2168 ac_top_srcdir=$ac_top_build_prefix$srcdir
2169 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2170 esac
2171 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2173 cd "$ac_dir" || { ac_status=$?; continue; }
2174 # Check for guested configure.
2175 if test -f "$ac_srcdir/configure.gnu"; then
2176 echo &&
2177 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2178 elif test -f "$ac_srcdir/configure"; then
2179 echo &&
2180 $SHELL "$ac_srcdir/configure" --help=recursive
2181 else
2182 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2183 fi || ac_status=$?
2184 cd "$ac_pwd" || { ac_status=$?; break; }
2185 done
2188 test -n "$ac_init_help" && exit $ac_status
2189 if $ac_init_version; then
2190 cat <<\_ACEOF
2191 Wine configure 1.7.10
2192 generated by GNU Autoconf 2.69
2194 Copyright (C) 2012 Free Software Foundation, Inc.
2195 This configure script is free software; the Free Software Foundation
2196 gives unlimited permission to copy, distribute and modify it.
2197 _ACEOF
2198 exit
2201 ## ------------------------ ##
2202 ## Autoconf initialization. ##
2203 ## ------------------------ ##
2205 # ac_fn_c_try_compile LINENO
2206 # --------------------------
2207 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2208 ac_fn_c_try_compile ()
2210 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2211 rm -f conftest.$ac_objext
2212 if { { ac_try="$ac_compile"
2213 case "(($ac_try" in
2214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2215 *) ac_try_echo=$ac_try;;
2216 esac
2217 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2218 $as_echo "$ac_try_echo"; } >&5
2219 (eval "$ac_compile") 2>conftest.err
2220 ac_status=$?
2221 if test -s conftest.err; then
2222 grep -v '^ *+' conftest.err >conftest.er1
2223 cat conftest.er1 >&5
2224 mv -f conftest.er1 conftest.err
2226 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2227 test $ac_status = 0; } && {
2228 test -z "$ac_c_werror_flag" ||
2229 test ! -s conftest.err
2230 } && test -s conftest.$ac_objext; then :
2231 ac_retval=0
2232 else
2233 $as_echo "$as_me: failed program was:" >&5
2234 sed 's/^/| /' conftest.$ac_ext >&5
2236 ac_retval=1
2238 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2239 as_fn_set_status $ac_retval
2241 } # ac_fn_c_try_compile
2243 # ac_fn_cxx_try_compile LINENO
2244 # ----------------------------
2245 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2246 ac_fn_cxx_try_compile ()
2248 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2249 rm -f conftest.$ac_objext
2250 if { { ac_try="$ac_compile"
2251 case "(($ac_try" in
2252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2253 *) ac_try_echo=$ac_try;;
2254 esac
2255 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2256 $as_echo "$ac_try_echo"; } >&5
2257 (eval "$ac_compile") 2>conftest.err
2258 ac_status=$?
2259 if test -s conftest.err; then
2260 grep -v '^ *+' conftest.err >conftest.er1
2261 cat conftest.er1 >&5
2262 mv -f conftest.er1 conftest.err
2264 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2265 test $ac_status = 0; } && {
2266 test -z "$ac_cxx_werror_flag" ||
2267 test ! -s conftest.err
2268 } && test -s conftest.$ac_objext; then :
2269 ac_retval=0
2270 else
2271 $as_echo "$as_me: failed program was:" >&5
2272 sed 's/^/| /' conftest.$ac_ext >&5
2274 ac_retval=1
2276 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2277 as_fn_set_status $ac_retval
2279 } # ac_fn_cxx_try_compile
2281 # ac_fn_c_try_link LINENO
2282 # -----------------------
2283 # Try to link conftest.$ac_ext, and return whether this succeeded.
2284 ac_fn_c_try_link ()
2286 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2287 rm -f conftest.$ac_objext conftest$ac_exeext
2288 if { { ac_try="$ac_link"
2289 case "(($ac_try" in
2290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2291 *) ac_try_echo=$ac_try;;
2292 esac
2293 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2294 $as_echo "$ac_try_echo"; } >&5
2295 (eval "$ac_link") 2>conftest.err
2296 ac_status=$?
2297 if test -s conftest.err; then
2298 grep -v '^ *+' conftest.err >conftest.er1
2299 cat conftest.er1 >&5
2300 mv -f conftest.er1 conftest.err
2302 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2303 test $ac_status = 0; } && {
2304 test -z "$ac_c_werror_flag" ||
2305 test ! -s conftest.err
2306 } && test -s conftest$ac_exeext && {
2307 test "$cross_compiling" = yes ||
2308 test -x conftest$ac_exeext
2309 }; then :
2310 ac_retval=0
2311 else
2312 $as_echo "$as_me: failed program was:" >&5
2313 sed 's/^/| /' conftest.$ac_ext >&5
2315 ac_retval=1
2317 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2318 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2319 # interfere with the next link command; also delete a directory that is
2320 # left behind by Apple's compiler. We do this before executing the actions.
2321 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2322 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2323 as_fn_set_status $ac_retval
2325 } # ac_fn_c_try_link
2327 # ac_fn_c_try_cpp LINENO
2328 # ----------------------
2329 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2330 ac_fn_c_try_cpp ()
2332 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2333 if { { ac_try="$ac_cpp conftest.$ac_ext"
2334 case "(($ac_try" in
2335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2336 *) ac_try_echo=$ac_try;;
2337 esac
2338 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2339 $as_echo "$ac_try_echo"; } >&5
2340 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2341 ac_status=$?
2342 if test -s conftest.err; then
2343 grep -v '^ *+' conftest.err >conftest.er1
2344 cat conftest.er1 >&5
2345 mv -f conftest.er1 conftest.err
2347 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2348 test $ac_status = 0; } > conftest.i && {
2349 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2350 test ! -s conftest.err
2351 }; then :
2352 ac_retval=0
2353 else
2354 $as_echo "$as_me: failed program was:" >&5
2355 sed 's/^/| /' conftest.$ac_ext >&5
2357 ac_retval=1
2359 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2360 as_fn_set_status $ac_retval
2362 } # ac_fn_c_try_cpp
2364 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2365 # -------------------------------------------------------
2366 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2367 # the include files in INCLUDES and setting the cache variable VAR
2368 # accordingly.
2369 ac_fn_c_check_header_mongrel ()
2371 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2372 if eval \${$3+:} false; then :
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2374 $as_echo_n "checking for $2... " >&6; }
2375 if eval \${$3+:} false; then :
2376 $as_echo_n "(cached) " >&6
2378 eval ac_res=\$$3
2379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2380 $as_echo "$ac_res" >&6; }
2381 else
2382 # Is the header compilable?
2383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2384 $as_echo_n "checking $2 usability... " >&6; }
2385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2386 /* end confdefs.h. */
2388 #include <$2>
2389 _ACEOF
2390 if ac_fn_c_try_compile "$LINENO"; then :
2391 ac_header_compiler=yes
2392 else
2393 ac_header_compiler=no
2395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2397 $as_echo "$ac_header_compiler" >&6; }
2399 # Is the header present?
2400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2401 $as_echo_n "checking $2 presence... " >&6; }
2402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2403 /* end confdefs.h. */
2404 #include <$2>
2405 _ACEOF
2406 if ac_fn_c_try_cpp "$LINENO"; then :
2407 ac_header_preproc=yes
2408 else
2409 ac_header_preproc=no
2411 rm -f conftest.err conftest.i conftest.$ac_ext
2412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2413 $as_echo "$ac_header_preproc" >&6; }
2415 # So? What about this header?
2416 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2417 yes:no: )
2418 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2419 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2420 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2421 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2423 no:yes:* )
2424 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2425 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2426 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2427 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2429 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2430 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2431 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2432 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2433 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2434 ( $as_echo "## ------------------------------------ ##
2435 ## Report this to wine-devel@winehq.org ##
2436 ## ------------------------------------ ##"
2437 ) | sed "s/^/$as_me: WARNING: /" >&2
2439 esac
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2441 $as_echo_n "checking for $2... " >&6; }
2442 if eval \${$3+:} false; then :
2443 $as_echo_n "(cached) " >&6
2444 else
2445 eval "$3=\$ac_header_compiler"
2447 eval ac_res=\$$3
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2449 $as_echo "$ac_res" >&6; }
2451 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2453 } # ac_fn_c_check_header_mongrel
2455 # ac_fn_c_try_run LINENO
2456 # ----------------------
2457 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2458 # that executables *can* be run.
2459 ac_fn_c_try_run ()
2461 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2462 if { { ac_try="$ac_link"
2463 case "(($ac_try" in
2464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2465 *) ac_try_echo=$ac_try;;
2466 esac
2467 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2468 $as_echo "$ac_try_echo"; } >&5
2469 (eval "$ac_link") 2>&5
2470 ac_status=$?
2471 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2472 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2473 { { case "(($ac_try" in
2474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2475 *) ac_try_echo=$ac_try;;
2476 esac
2477 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2478 $as_echo "$ac_try_echo"; } >&5
2479 (eval "$ac_try") 2>&5
2480 ac_status=$?
2481 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2482 test $ac_status = 0; }; }; then :
2483 ac_retval=0
2484 else
2485 $as_echo "$as_me: program exited with status $ac_status" >&5
2486 $as_echo "$as_me: failed program was:" >&5
2487 sed 's/^/| /' conftest.$ac_ext >&5
2489 ac_retval=$ac_status
2491 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2492 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2493 as_fn_set_status $ac_retval
2495 } # ac_fn_c_try_run
2497 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2498 # -------------------------------------------------------
2499 # Tests whether HEADER exists and can be compiled using the include files in
2500 # INCLUDES, setting the cache variable VAR accordingly.
2501 ac_fn_c_check_header_compile ()
2503 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2505 $as_echo_n "checking for $2... " >&6; }
2506 if eval \${$3+:} false; then :
2507 $as_echo_n "(cached) " >&6
2508 else
2509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2510 /* end confdefs.h. */
2512 #include <$2>
2513 _ACEOF
2514 if ac_fn_c_try_compile "$LINENO"; then :
2515 eval "$3=yes"
2516 else
2517 eval "$3=no"
2519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2521 eval ac_res=\$$3
2522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2523 $as_echo "$ac_res" >&6; }
2524 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2526 } # ac_fn_c_check_header_compile
2528 # ac_fn_c_check_func LINENO FUNC VAR
2529 # ----------------------------------
2530 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2531 ac_fn_c_check_func ()
2533 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2535 $as_echo_n "checking for $2... " >&6; }
2536 if eval \${$3+:} false; then :
2537 $as_echo_n "(cached) " >&6
2538 else
2539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2540 /* end confdefs.h. */
2541 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2542 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2543 #define $2 innocuous_$2
2545 /* System header to define __stub macros and hopefully few prototypes,
2546 which can conflict with char $2 (); below.
2547 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2548 <limits.h> exists even on freestanding compilers. */
2550 #ifdef __STDC__
2551 # include <limits.h>
2552 #else
2553 # include <assert.h>
2554 #endif
2556 #undef $2
2558 /* Override any GCC internal prototype to avoid an error.
2559 Use char because int might match the return type of a GCC
2560 builtin and then its argument prototype would still apply. */
2561 #ifdef __cplusplus
2562 extern "C"
2563 #endif
2564 char $2 ();
2565 /* The GNU C library defines this for functions which it implements
2566 to always fail with ENOSYS. Some functions are actually named
2567 something starting with __ and the normal name is an alias. */
2568 #if defined __stub_$2 || defined __stub___$2
2569 choke me
2570 #endif
2573 main ()
2575 return $2 ();
2577 return 0;
2579 _ACEOF
2580 if ac_fn_c_try_link "$LINENO"; then :
2581 eval "$3=yes"
2582 else
2583 eval "$3=no"
2585 rm -f core conftest.err conftest.$ac_objext \
2586 conftest$ac_exeext conftest.$ac_ext
2588 eval ac_res=\$$3
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2590 $as_echo "$ac_res" >&6; }
2591 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2593 } # ac_fn_c_check_func
2595 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2596 # ----------------------------------------------------
2597 # Tries to find if the field MEMBER exists in type AGGR, after including
2598 # INCLUDES, setting cache variable VAR accordingly.
2599 ac_fn_c_check_member ()
2601 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2603 $as_echo_n "checking for $2.$3... " >&6; }
2604 if eval \${$4+:} false; then :
2605 $as_echo_n "(cached) " >&6
2606 else
2607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2608 /* end confdefs.h. */
2611 main ()
2613 static $2 ac_aggr;
2614 if (ac_aggr.$3)
2615 return 0;
2617 return 0;
2619 _ACEOF
2620 if ac_fn_c_try_compile "$LINENO"; then :
2621 eval "$4=yes"
2622 else
2623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2624 /* end confdefs.h. */
2627 main ()
2629 static $2 ac_aggr;
2630 if (sizeof ac_aggr.$3)
2631 return 0;
2633 return 0;
2635 _ACEOF
2636 if ac_fn_c_try_compile "$LINENO"; then :
2637 eval "$4=yes"
2638 else
2639 eval "$4=no"
2641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2645 eval ac_res=\$$4
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_member
2652 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2653 # -------------------------------------------
2654 # Tests whether TYPE exists after having included INCLUDES, setting cache
2655 # variable VAR accordingly.
2656 ac_fn_c_check_type ()
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" >&5
2660 $as_echo_n "checking for $2... " >&6; }
2661 if eval \${$3+:} false; then :
2662 $as_echo_n "(cached) " >&6
2663 else
2664 eval "$3=no"
2665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2666 /* end confdefs.h. */
2669 main ()
2671 if (sizeof ($2))
2672 return 0;
2674 return 0;
2676 _ACEOF
2677 if ac_fn_c_try_compile "$LINENO"; then :
2678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2679 /* end confdefs.h. */
2682 main ()
2684 if (sizeof (($2)))
2685 return 0;
2687 return 0;
2689 _ACEOF
2690 if ac_fn_c_try_compile "$LINENO"; then :
2692 else
2693 eval "$3=yes"
2695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2699 eval ac_res=\$$3
2700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2701 $as_echo "$ac_res" >&6; }
2702 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2704 } # ac_fn_c_check_type
2705 cat >config.log <<_ACEOF
2706 This file contains any messages produced by compilers while
2707 running configure, to aid debugging if configure makes a mistake.
2709 It was created by Wine $as_me 1.7.10, which was
2710 generated by GNU Autoconf 2.69. Invocation command line was
2712 $ $0 $@
2714 _ACEOF
2715 exec 5>>config.log
2717 cat <<_ASUNAME
2718 ## --------- ##
2719 ## Platform. ##
2720 ## --------- ##
2722 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2723 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2724 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2725 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2726 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2728 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2729 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2731 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2732 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2733 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2734 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2735 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2736 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2737 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2739 _ASUNAME
2741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2742 for as_dir in $PATH
2744 IFS=$as_save_IFS
2745 test -z "$as_dir" && as_dir=.
2746 $as_echo "PATH: $as_dir"
2747 done
2748 IFS=$as_save_IFS
2750 } >&5
2752 cat >&5 <<_ACEOF
2755 ## ----------- ##
2756 ## Core tests. ##
2757 ## ----------- ##
2759 _ACEOF
2762 # Keep a trace of the command line.
2763 # Strip out --no-create and --no-recursion so they do not pile up.
2764 # Strip out --silent because we don't want to record it for future runs.
2765 # Also quote any args containing shell meta-characters.
2766 # Make two passes to allow for proper duplicate-argument suppression.
2767 ac_configure_args=
2768 ac_configure_args0=
2769 ac_configure_args1=
2770 ac_must_keep_next=false
2771 for ac_pass in 1 2
2773 for ac_arg
2775 case $ac_arg in
2776 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2777 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2778 | -silent | --silent | --silen | --sile | --sil)
2779 continue ;;
2780 *\'*)
2781 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2782 esac
2783 case $ac_pass in
2784 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2786 as_fn_append ac_configure_args1 " '$ac_arg'"
2787 if test $ac_must_keep_next = true; then
2788 ac_must_keep_next=false # Got value, back to normal.
2789 else
2790 case $ac_arg in
2791 *=* | --config-cache | -C | -disable-* | --disable-* \
2792 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2793 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2794 | -with-* | --with-* | -without-* | --without-* | --x)
2795 case "$ac_configure_args0 " in
2796 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2797 esac
2799 -* ) ac_must_keep_next=true ;;
2800 esac
2802 as_fn_append ac_configure_args " '$ac_arg'"
2804 esac
2805 done
2806 done
2807 { ac_configure_args0=; unset ac_configure_args0;}
2808 { ac_configure_args1=; unset ac_configure_args1;}
2810 # When interrupted or exit'd, cleanup temporary files, and complete
2811 # config.log. We remove comments because anyway the quotes in there
2812 # would cause problems or look ugly.
2813 # WARNING: Use '\'' to represent an apostrophe within the trap.
2814 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2815 trap 'exit_status=$?
2816 # Save into config.log some information that might help in debugging.
2818 echo
2820 $as_echo "## ---------------- ##
2821 ## Cache variables. ##
2822 ## ---------------- ##"
2823 echo
2824 # The following way of writing the cache mishandles newlines in values,
2826 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2827 eval ac_val=\$$ac_var
2828 case $ac_val in #(
2829 *${as_nl}*)
2830 case $ac_var in #(
2831 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2832 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2833 esac
2834 case $ac_var in #(
2835 _ | IFS | as_nl) ;; #(
2836 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2837 *) { eval $ac_var=; unset $ac_var;} ;;
2838 esac ;;
2839 esac
2840 done
2841 (set) 2>&1 |
2842 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2843 *${as_nl}ac_space=\ *)
2844 sed -n \
2845 "s/'\''/'\''\\\\'\'''\''/g;
2846 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2847 ;; #(
2849 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2851 esac |
2852 sort
2854 echo
2856 $as_echo "## ----------------- ##
2857 ## Output variables. ##
2858 ## ----------------- ##"
2859 echo
2860 for ac_var in $ac_subst_vars
2862 eval ac_val=\$$ac_var
2863 case $ac_val in
2864 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2865 esac
2866 $as_echo "$ac_var='\''$ac_val'\''"
2867 done | sort
2868 echo
2870 if test -n "$ac_subst_files"; then
2871 $as_echo "## ------------------- ##
2872 ## File substitutions. ##
2873 ## ------------------- ##"
2874 echo
2875 for ac_var in $ac_subst_files
2877 eval ac_val=\$$ac_var
2878 case $ac_val in
2879 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2880 esac
2881 $as_echo "$ac_var='\''$ac_val'\''"
2882 done | sort
2883 echo
2886 if test -s confdefs.h; then
2887 $as_echo "## ----------- ##
2888 ## confdefs.h. ##
2889 ## ----------- ##"
2890 echo
2891 cat confdefs.h
2892 echo
2894 test "$ac_signal" != 0 &&
2895 $as_echo "$as_me: caught signal $ac_signal"
2896 $as_echo "$as_me: exit $exit_status"
2897 } >&5
2898 rm -f core *.core core.conftest.* &&
2899 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2900 exit $exit_status
2902 for ac_signal in 1 2 13 15; do
2903 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2904 done
2905 ac_signal=0
2907 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2908 rm -f -r conftest* confdefs.h
2910 $as_echo "/* confdefs.h */" > confdefs.h
2912 # Predefined preprocessor variables.
2914 cat >>confdefs.h <<_ACEOF
2915 #define PACKAGE_NAME "$PACKAGE_NAME"
2916 _ACEOF
2918 cat >>confdefs.h <<_ACEOF
2919 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2920 _ACEOF
2922 cat >>confdefs.h <<_ACEOF
2923 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2924 _ACEOF
2926 cat >>confdefs.h <<_ACEOF
2927 #define PACKAGE_STRING "$PACKAGE_STRING"
2928 _ACEOF
2930 cat >>confdefs.h <<_ACEOF
2931 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2932 _ACEOF
2934 cat >>confdefs.h <<_ACEOF
2935 #define PACKAGE_URL "$PACKAGE_URL"
2936 _ACEOF
2939 # Let the site file select an alternate cache file if it wants to.
2940 # Prefer an explicitly selected file to automatically selected ones.
2941 ac_site_file1=NONE
2942 ac_site_file2=NONE
2943 if test -n "$CONFIG_SITE"; then
2944 # We do not want a PATH search for config.site.
2945 case $CONFIG_SITE in #((
2946 -*) ac_site_file1=./$CONFIG_SITE;;
2947 */*) ac_site_file1=$CONFIG_SITE;;
2948 *) ac_site_file1=./$CONFIG_SITE;;
2949 esac
2950 elif test "x$prefix" != xNONE; then
2951 ac_site_file1=$prefix/share/config.site
2952 ac_site_file2=$prefix/etc/config.site
2953 else
2954 ac_site_file1=$ac_default_prefix/share/config.site
2955 ac_site_file2=$ac_default_prefix/etc/config.site
2957 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2959 test "x$ac_site_file" = xNONE && continue
2960 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2962 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2963 sed 's/^/| /' "$ac_site_file" >&5
2964 . "$ac_site_file" \
2965 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2966 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2967 as_fn_error $? "failed to load site script $ac_site_file
2968 See \`config.log' for more details" "$LINENO" 5; }
2970 done
2972 if test -r "$cache_file"; then
2973 # Some versions of bash will fail to source /dev/null (special files
2974 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2975 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2976 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2977 $as_echo "$as_me: loading cache $cache_file" >&6;}
2978 case $cache_file in
2979 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2980 *) . "./$cache_file";;
2981 esac
2983 else
2984 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2985 $as_echo "$as_me: creating cache $cache_file" >&6;}
2986 >$cache_file
2989 # Check that the precious variables saved in the cache have kept the same
2990 # value.
2991 ac_cache_corrupted=false
2992 for ac_var in $ac_precious_vars; do
2993 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2994 eval ac_new_set=\$ac_env_${ac_var}_set
2995 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2996 eval ac_new_val=\$ac_env_${ac_var}_value
2997 case $ac_old_set,$ac_new_set in
2998 set,)
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3000 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3001 ac_cache_corrupted=: ;;
3002 ,set)
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3004 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3005 ac_cache_corrupted=: ;;
3006 ,);;
3008 if test "x$ac_old_val" != "x$ac_new_val"; then
3009 # differences in whitespace do not lead to failure.
3010 ac_old_val_w=`echo x $ac_old_val`
3011 ac_new_val_w=`echo x $ac_new_val`
3012 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3014 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3015 ac_cache_corrupted=:
3016 else
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3018 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3019 eval $ac_var=\$ac_old_val
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3022 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3024 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3025 fi;;
3026 esac
3027 # Pass precious variables to config.status.
3028 if test "$ac_new_set" = set; then
3029 case $ac_new_val in
3030 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3031 *) ac_arg=$ac_var=$ac_new_val ;;
3032 esac
3033 case " $ac_configure_args " in
3034 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3035 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3036 esac
3038 done
3039 if $ac_cache_corrupted; then
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3041 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3043 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3044 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3046 ## -------------------- ##
3047 ## Main body of script. ##
3048 ## -------------------- ##
3050 ac_ext=c
3051 ac_cpp='$CPP $CPPFLAGS'
3052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3058 ac_config_headers="$ac_config_headers include/config.h"
3060 ac_aux_dir=
3061 for ac_dir in tools "$srcdir"/tools; do
3062 if test -f "$ac_dir/install-sh"; then
3063 ac_aux_dir=$ac_dir
3064 ac_install_sh="$ac_aux_dir/install-sh -c"
3065 break
3066 elif test -f "$ac_dir/install.sh"; then
3067 ac_aux_dir=$ac_dir
3068 ac_install_sh="$ac_aux_dir/install.sh -c"
3069 break
3070 elif test -f "$ac_dir/shtool"; then
3071 ac_aux_dir=$ac_dir
3072 ac_install_sh="$ac_aux_dir/shtool install -c"
3073 break
3075 done
3076 if test -z "$ac_aux_dir"; then
3077 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3080 # These three variables are undocumented and unsupported,
3081 # and are intended to be withdrawn in a future Autoconf release.
3082 # They can cause serious problems if a builder's source tree is in a directory
3083 # whose full name contains unusual characters.
3084 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3085 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3086 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3090 libwine_version="1.0"
3094 # Check whether --enable-win16 was given.
3095 if test "${enable_win16+set}" = set; then :
3096 enableval=$enable_win16;
3099 # Check whether --enable-win64 was given.
3100 if test "${enable_win64+set}" = set; then :
3101 enableval=$enable_win64;
3104 # Check whether --enable-tests was given.
3105 if test "${enable_tests+set}" = set; then :
3106 enableval=$enable_tests;
3109 # Check whether --enable-maintainer-mode was given.
3110 if test "${enable_maintainer_mode+set}" = set; then :
3111 enableval=$enable_maintainer_mode;
3116 # Check whether --with-alsa was given.
3117 if test "${with_alsa+set}" = set; then :
3118 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3122 # Check whether --with-capi was given.
3123 if test "${with_capi+set}" = set; then :
3124 withval=$with_capi;
3128 # Check whether --with-cms was given.
3129 if test "${with_cms+set}" = set; then :
3130 withval=$with_cms;
3134 # Check whether --with-coreaudio was given.
3135 if test "${with_coreaudio+set}" = set; then :
3136 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3140 # Check whether --with-cups was given.
3141 if test "${with_cups+set}" = set; then :
3142 withval=$with_cups;
3146 # Check whether --with-curses was given.
3147 if test "${with_curses+set}" = set; then :
3148 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3152 # Check whether --with-dbus was given.
3153 if test "${with_dbus+set}" = set; then :
3154 withval=$with_dbus;
3158 # Check whether --with-fontconfig was given.
3159 if test "${with_fontconfig+set}" = set; then :
3160 withval=$with_fontconfig;
3164 # Check whether --with-freetype was given.
3165 if test "${with_freetype+set}" = set; then :
3166 withval=$with_freetype;
3170 # Check whether --with-gettext was given.
3171 if test "${with_gettext+set}" = set; then :
3172 withval=$with_gettext;
3176 # Check whether --with-gettextpo was given.
3177 if test "${with_gettextpo+set}" = set; then :
3178 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3182 # Check whether --with-gphoto was given.
3183 if test "${with_gphoto+set}" = set; then :
3184 withval=$with_gphoto;
3188 # Check whether --with-glu was given.
3189 if test "${with_glu+set}" = set; then :
3190 withval=$with_glu;
3194 # Check whether --with-gnutls was given.
3195 if test "${with_gnutls+set}" = set; then :
3196 withval=$with_gnutls;
3200 # Check whether --with-gsm was given.
3201 if test "${with_gsm+set}" = set; then :
3202 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3206 # Check whether --with-gstreamer was given.
3207 if test "${with_gstreamer+set}" = set; then :
3208 withval=$with_gstreamer;
3212 # Check whether --with-hal was given.
3213 if test "${with_hal+set}" = set; then :
3214 withval=$with_hal;
3218 # Check whether --with-jpeg was given.
3219 if test "${with_jpeg+set}" = set; then :
3220 withval=$with_jpeg;
3224 # Check whether --with-ldap was given.
3225 if test "${with_ldap+set}" = set; then :
3226 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3230 # Check whether --with-mpg123 was given.
3231 if test "${with_mpg123+set}" = set; then :
3232 withval=$with_mpg123;
3236 # Check whether --with-netapi was given.
3237 if test "${with_netapi+set}" = set; then :
3238 withval=$with_netapi;
3242 # Check whether --with-openal was given.
3243 if test "${with_openal+set}" = set; then :
3244 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3248 # Check whether --with-opencl was given.
3249 if test "${with_opencl+set}" = set; then :
3250 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3254 # Check whether --with-opengl was given.
3255 if test "${with_opengl+set}" = set; then :
3256 withval=$with_opengl;
3260 # Check whether --with-osmesa was given.
3261 if test "${with_osmesa+set}" = set; then :
3262 withval=$with_osmesa;
3266 # Check whether --with-oss was given.
3267 if test "${with_oss+set}" = set; then :
3268 withval=$with_oss;
3272 # Check whether --with-png was given.
3273 if test "${with_png+set}" = set; then :
3274 withval=$with_png;
3278 # Check whether --with-pthread was given.
3279 if test "${with_pthread+set}" = set; then :
3280 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3284 # Check whether --with-sane was given.
3285 if test "${with_sane+set}" = set; then :
3286 withval=$with_sane;
3290 # Check whether --with-tiff was given.
3291 if test "${with_tiff+set}" = set; then :
3292 withval=$with_tiff;
3296 # Check whether --with-v4l was given.
3297 if test "${with_v4l+set}" = set; then :
3298 withval=$with_v4l;
3302 # Check whether --with-xcomposite was given.
3303 if test "${with_xcomposite+set}" = set; then :
3304 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3308 # Check whether --with-xcursor was given.
3309 if test "${with_xcursor+set}" = set; then :
3310 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3314 # Check whether --with-xinerama was given.
3315 if test "${with_xinerama+set}" = set; then :
3316 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3320 # Check whether --with-xinput was given.
3321 if test "${with_xinput+set}" = set; then :
3322 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3326 # Check whether --with-xinput2 was given.
3327 if test "${with_xinput2+set}" = set; then :
3328 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3332 # Check whether --with-xml was given.
3333 if test "${with_xml+set}" = set; then :
3334 withval=$with_xml;
3338 # Check whether --with-xrandr was given.
3339 if test "${with_xrandr+set}" = set; then :
3340 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3344 # Check whether --with-xrender was given.
3345 if test "${with_xrender+set}" = set; then :
3346 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3350 # Check whether --with-xshape was given.
3351 if test "${with_xshape+set}" = set; then :
3352 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3356 # Check whether --with-xshm was given.
3357 if test "${with_xshm+set}" = set; then :
3358 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3362 # Check whether --with-xslt was given.
3363 if test "${with_xslt+set}" = set; then :
3364 withval=$with_xslt;
3368 # Check whether --with-xxf86vm was given.
3369 if test "${with_xxf86vm+set}" = set; then :
3370 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
3374 # Check whether --with-zlib was given.
3375 if test "${with_zlib+set}" = set; then :
3376 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3381 # Check whether --with-wine-tools was given.
3382 if test "${with_wine_tools+set}" = set; then :
3383 withval=$with_wine_tools;
3387 # Check whether --with-wine64 was given.
3388 if test "${with_wine64+set}" = set; then :
3389 withval=$with_wine64;
3393 # Make sure we can run config.sub.
3394 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3395 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3398 $as_echo_n "checking build system type... " >&6; }
3399 if ${ac_cv_build+:} false; then :
3400 $as_echo_n "(cached) " >&6
3401 else
3402 ac_build_alias=$build_alias
3403 test "x$ac_build_alias" = x &&
3404 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3405 test "x$ac_build_alias" = x &&
3406 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3407 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3408 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3412 $as_echo "$ac_cv_build" >&6; }
3413 case $ac_cv_build in
3414 *-*-*) ;;
3415 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3416 esac
3417 build=$ac_cv_build
3418 ac_save_IFS=$IFS; IFS='-'
3419 set x $ac_cv_build
3420 shift
3421 build_cpu=$1
3422 build_vendor=$2
3423 shift; shift
3424 # Remember, the first character of IFS is used to create $*,
3425 # except with old shells:
3426 build_os=$*
3427 IFS=$ac_save_IFS
3428 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3432 $as_echo_n "checking host system type... " >&6; }
3433 if ${ac_cv_host+:} false; then :
3434 $as_echo_n "(cached) " >&6
3435 else
3436 if test "x$host_alias" = x; then
3437 ac_cv_host=$ac_cv_build
3438 else
3439 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3440 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3445 $as_echo "$ac_cv_host" >&6; }
3446 case $ac_cv_host in
3447 *-*-*) ;;
3448 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3449 esac
3450 host=$ac_cv_host
3451 ac_save_IFS=$IFS; IFS='-'
3452 set x $ac_cv_host
3453 shift
3454 host_cpu=$1
3455 host_vendor=$2
3456 shift; shift
3457 # Remember, the first character of IFS is used to create $*,
3458 # except with old shells:
3459 host_os=$*
3460 IFS=$ac_save_IFS
3461 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3465 case "$srcdir" in
3466 .) ;;
3467 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3468 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3469 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3470 fi ;;
3471 esac
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3475 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3476 set x ${MAKE-make}
3477 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3478 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3479 $as_echo_n "(cached) " >&6
3480 else
3481 cat >conftest.make <<\_ACEOF
3482 SHELL = /bin/sh
3483 all:
3484 @echo '@@@%%%=$(MAKE)=@@@%%%'
3485 _ACEOF
3486 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3487 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3488 *@@@%%%=?*=@@@%%%*)
3489 eval ac_cv_prog_make_${ac_make}_set=yes;;
3491 eval ac_cv_prog_make_${ac_make}_set=no;;
3492 esac
3493 rm -f conftest.make
3495 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3497 $as_echo "yes" >&6; }
3498 SET_MAKE=
3499 else
3500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3501 $as_echo "no" >&6; }
3502 SET_MAKE="MAKE=${MAKE-make}"
3505 ac_ext=c
3506 ac_cpp='$CPP $CPPFLAGS'
3507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3510 if test -n "$ac_tool_prefix"; then
3511 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3512 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3514 $as_echo_n "checking for $ac_word... " >&6; }
3515 if ${ac_cv_prog_CC+:} false; then :
3516 $as_echo_n "(cached) " >&6
3517 else
3518 if test -n "$CC"; then
3519 ac_cv_prog_CC="$CC" # Let the user override the test.
3520 else
3521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3522 for as_dir in $PATH
3524 IFS=$as_save_IFS
3525 test -z "$as_dir" && as_dir=.
3526 for ac_exec_ext in '' $ac_executable_extensions; do
3527 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3528 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3530 break 2
3532 done
3533 done
3534 IFS=$as_save_IFS
3538 CC=$ac_cv_prog_CC
3539 if test -n "$CC"; then
3540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3541 $as_echo "$CC" >&6; }
3542 else
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3544 $as_echo "no" >&6; }
3549 if test -z "$ac_cv_prog_CC"; then
3550 ac_ct_CC=$CC
3551 # Extract the first word of "gcc", so it can be a program name with args.
3552 set dummy gcc; ac_word=$2
3553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3554 $as_echo_n "checking for $ac_word... " >&6; }
3555 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3556 $as_echo_n "(cached) " >&6
3557 else
3558 if test -n "$ac_ct_CC"; then
3559 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3560 else
3561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3562 for as_dir in $PATH
3564 IFS=$as_save_IFS
3565 test -z "$as_dir" && as_dir=.
3566 for ac_exec_ext in '' $ac_executable_extensions; do
3567 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3568 ac_cv_prog_ac_ct_CC="gcc"
3569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3570 break 2
3572 done
3573 done
3574 IFS=$as_save_IFS
3578 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3579 if test -n "$ac_ct_CC"; then
3580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3581 $as_echo "$ac_ct_CC" >&6; }
3582 else
3583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3584 $as_echo "no" >&6; }
3587 if test "x$ac_ct_CC" = x; then
3588 CC=""
3589 else
3590 case $cross_compiling:$ac_tool_warned in
3591 yes:)
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3593 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3594 ac_tool_warned=yes ;;
3595 esac
3596 CC=$ac_ct_CC
3598 else
3599 CC="$ac_cv_prog_CC"
3602 if test -z "$CC"; then
3603 if test -n "$ac_tool_prefix"; then
3604 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3605 set dummy ${ac_tool_prefix}cc; ac_word=$2
3606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3607 $as_echo_n "checking for $ac_word... " >&6; }
3608 if ${ac_cv_prog_CC+:} false; then :
3609 $as_echo_n "(cached) " >&6
3610 else
3611 if test -n "$CC"; then
3612 ac_cv_prog_CC="$CC" # Let the user override the test.
3613 else
3614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3615 for as_dir in $PATH
3617 IFS=$as_save_IFS
3618 test -z "$as_dir" && as_dir=.
3619 for ac_exec_ext in '' $ac_executable_extensions; do
3620 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3621 ac_cv_prog_CC="${ac_tool_prefix}cc"
3622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3623 break 2
3625 done
3626 done
3627 IFS=$as_save_IFS
3631 CC=$ac_cv_prog_CC
3632 if test -n "$CC"; then
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3634 $as_echo "$CC" >&6; }
3635 else
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3637 $as_echo "no" >&6; }
3643 if test -z "$CC"; then
3644 # Extract the first word of "cc", so it can be a program name with args.
3645 set dummy cc; ac_word=$2
3646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3647 $as_echo_n "checking for $ac_word... " >&6; }
3648 if ${ac_cv_prog_CC+:} false; then :
3649 $as_echo_n "(cached) " >&6
3650 else
3651 if test -n "$CC"; then
3652 ac_cv_prog_CC="$CC" # Let the user override the test.
3653 else
3654 ac_prog_rejected=no
3655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3656 for as_dir in $PATH
3658 IFS=$as_save_IFS
3659 test -z "$as_dir" && as_dir=.
3660 for ac_exec_ext in '' $ac_executable_extensions; do
3661 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3662 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3663 ac_prog_rejected=yes
3664 continue
3666 ac_cv_prog_CC="cc"
3667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3668 break 2
3670 done
3671 done
3672 IFS=$as_save_IFS
3674 if test $ac_prog_rejected = yes; then
3675 # We found a bogon in the path, so make sure we never use it.
3676 set dummy $ac_cv_prog_CC
3677 shift
3678 if test $# != 0; then
3679 # We chose a different compiler from the bogus one.
3680 # However, it has the same basename, so the bogon will be chosen
3681 # first if we set CC to just the basename; use the full file name.
3682 shift
3683 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3688 CC=$ac_cv_prog_CC
3689 if test -n "$CC"; then
3690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3691 $as_echo "$CC" >&6; }
3692 else
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3694 $as_echo "no" >&6; }
3699 if test -z "$CC"; then
3700 if test -n "$ac_tool_prefix"; then
3701 for ac_prog in cl.exe
3703 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3704 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3706 $as_echo_n "checking for $ac_word... " >&6; }
3707 if ${ac_cv_prog_CC+:} false; then :
3708 $as_echo_n "(cached) " >&6
3709 else
3710 if test -n "$CC"; then
3711 ac_cv_prog_CC="$CC" # Let the user override the test.
3712 else
3713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3714 for as_dir in $PATH
3716 IFS=$as_save_IFS
3717 test -z "$as_dir" && as_dir=.
3718 for ac_exec_ext in '' $ac_executable_extensions; do
3719 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3720 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3721 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3722 break 2
3724 done
3725 done
3726 IFS=$as_save_IFS
3730 CC=$ac_cv_prog_CC
3731 if test -n "$CC"; then
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3733 $as_echo "$CC" >&6; }
3734 else
3735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3736 $as_echo "no" >&6; }
3740 test -n "$CC" && break
3741 done
3743 if test -z "$CC"; then
3744 ac_ct_CC=$CC
3745 for ac_prog in cl.exe
3747 # Extract the first word of "$ac_prog", so it can be a program name with args.
3748 set dummy $ac_prog; ac_word=$2
3749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3750 $as_echo_n "checking for $ac_word... " >&6; }
3751 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3752 $as_echo_n "(cached) " >&6
3753 else
3754 if test -n "$ac_ct_CC"; then
3755 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3756 else
3757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3758 for as_dir in $PATH
3760 IFS=$as_save_IFS
3761 test -z "$as_dir" && as_dir=.
3762 for ac_exec_ext in '' $ac_executable_extensions; do
3763 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3764 ac_cv_prog_ac_ct_CC="$ac_prog"
3765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3766 break 2
3768 done
3769 done
3770 IFS=$as_save_IFS
3774 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3775 if test -n "$ac_ct_CC"; then
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3777 $as_echo "$ac_ct_CC" >&6; }
3778 else
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3780 $as_echo "no" >&6; }
3784 test -n "$ac_ct_CC" && break
3785 done
3787 if test "x$ac_ct_CC" = x; then
3788 CC=""
3789 else
3790 case $cross_compiling:$ac_tool_warned in
3791 yes:)
3792 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3793 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3794 ac_tool_warned=yes ;;
3795 esac
3796 CC=$ac_ct_CC
3803 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3804 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3805 as_fn_error $? "no acceptable C compiler found in \$PATH
3806 See \`config.log' for more details" "$LINENO" 5; }
3808 # Provide some information about the compiler.
3809 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3810 set X $ac_compile
3811 ac_compiler=$2
3812 for ac_option in --version -v -V -qversion; do
3813 { { ac_try="$ac_compiler $ac_option >&5"
3814 case "(($ac_try" in
3815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3816 *) ac_try_echo=$ac_try;;
3817 esac
3818 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3819 $as_echo "$ac_try_echo"; } >&5
3820 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3821 ac_status=$?
3822 if test -s conftest.err; then
3823 sed '10a\
3824 ... rest of stderr output deleted ...
3825 10q' conftest.err >conftest.er1
3826 cat conftest.er1 >&5
3828 rm -f conftest.er1 conftest.err
3829 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3830 test $ac_status = 0; }
3831 done
3833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3834 /* end confdefs.h. */
3837 main ()
3841 return 0;
3843 _ACEOF
3844 ac_clean_files_save=$ac_clean_files
3845 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3846 # Try to create an executable without -o first, disregard a.out.
3847 # It will help us diagnose broken compilers, and finding out an intuition
3848 # of exeext.
3849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3850 $as_echo_n "checking whether the C compiler works... " >&6; }
3851 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3853 # The possible output files:
3854 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3856 ac_rmfiles=
3857 for ac_file in $ac_files
3859 case $ac_file in
3860 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3861 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3862 esac
3863 done
3864 rm -f $ac_rmfiles
3866 if { { ac_try="$ac_link_default"
3867 case "(($ac_try" in
3868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3869 *) ac_try_echo=$ac_try;;
3870 esac
3871 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3872 $as_echo "$ac_try_echo"; } >&5
3873 (eval "$ac_link_default") 2>&5
3874 ac_status=$?
3875 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3876 test $ac_status = 0; }; then :
3877 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3878 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3879 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3880 # so that the user can short-circuit this test for compilers unknown to
3881 # Autoconf.
3882 for ac_file in $ac_files ''
3884 test -f "$ac_file" || continue
3885 case $ac_file in
3886 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3888 [ab].out )
3889 # We found the default executable, but exeext='' is most
3890 # certainly right.
3891 break;;
3892 *.* )
3893 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3894 then :; else
3895 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3897 # We set ac_cv_exeext here because the later test for it is not
3898 # safe: cross compilers may not add the suffix if given an `-o'
3899 # argument, so we may need to know it at that point already.
3900 # Even if this section looks crufty: it has the advantage of
3901 # actually working.
3902 break;;
3904 break;;
3905 esac
3906 done
3907 test "$ac_cv_exeext" = no && ac_cv_exeext=
3909 else
3910 ac_file=''
3912 if test -z "$ac_file"; then :
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3914 $as_echo "no" >&6; }
3915 $as_echo "$as_me: failed program was:" >&5
3916 sed 's/^/| /' conftest.$ac_ext >&5
3918 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3919 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3920 as_fn_error 77 "C compiler cannot create executables
3921 See \`config.log' for more details" "$LINENO" 5; }
3922 else
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3924 $as_echo "yes" >&6; }
3926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3927 $as_echo_n "checking for C compiler default output file name... " >&6; }
3928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3929 $as_echo "$ac_file" >&6; }
3930 ac_exeext=$ac_cv_exeext
3932 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3933 ac_clean_files=$ac_clean_files_save
3934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3935 $as_echo_n "checking for suffix of executables... " >&6; }
3936 if { { ac_try="$ac_link"
3937 case "(($ac_try" in
3938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3939 *) ac_try_echo=$ac_try;;
3940 esac
3941 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3942 $as_echo "$ac_try_echo"; } >&5
3943 (eval "$ac_link") 2>&5
3944 ac_status=$?
3945 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3946 test $ac_status = 0; }; then :
3947 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3948 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3949 # work properly (i.e., refer to `conftest.exe'), while it won't with
3950 # `rm'.
3951 for ac_file in conftest.exe conftest conftest.*; do
3952 test -f "$ac_file" || continue
3953 case $ac_file in
3954 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3955 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3956 break;;
3957 * ) break;;
3958 esac
3959 done
3960 else
3961 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3962 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3963 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3964 See \`config.log' for more details" "$LINENO" 5; }
3966 rm -f conftest conftest$ac_cv_exeext
3967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3968 $as_echo "$ac_cv_exeext" >&6; }
3970 rm -f conftest.$ac_ext
3971 EXEEXT=$ac_cv_exeext
3972 ac_exeext=$EXEEXT
3973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3974 /* end confdefs.h. */
3975 #include <stdio.h>
3977 main ()
3979 FILE *f = fopen ("conftest.out", "w");
3980 return ferror (f) || fclose (f) != 0;
3983 return 0;
3985 _ACEOF
3986 ac_clean_files="$ac_clean_files conftest.out"
3987 # Check that the compiler produces executables we can run. If not, either
3988 # the compiler is broken, or we cross compile.
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3990 $as_echo_n "checking whether we are cross compiling... " >&6; }
3991 if test "$cross_compiling" != yes; then
3992 { { ac_try="$ac_link"
3993 case "(($ac_try" in
3994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3995 *) ac_try_echo=$ac_try;;
3996 esac
3997 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3998 $as_echo "$ac_try_echo"; } >&5
3999 (eval "$ac_link") 2>&5
4000 ac_status=$?
4001 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4002 test $ac_status = 0; }
4003 if { ac_try='./conftest$ac_cv_exeext'
4004 { { case "(($ac_try" in
4005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4006 *) ac_try_echo=$ac_try;;
4007 esac
4008 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4009 $as_echo "$ac_try_echo"; } >&5
4010 (eval "$ac_try") 2>&5
4011 ac_status=$?
4012 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4013 test $ac_status = 0; }; }; then
4014 cross_compiling=no
4015 else
4016 if test "$cross_compiling" = maybe; then
4017 cross_compiling=yes
4018 else
4019 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4020 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4021 as_fn_error $? "cannot run C compiled programs.
4022 If you meant to cross compile, use \`--host'.
4023 See \`config.log' for more details" "$LINENO" 5; }
4027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4028 $as_echo "$cross_compiling" >&6; }
4030 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4031 ac_clean_files=$ac_clean_files_save
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4033 $as_echo_n "checking for suffix of object files... " >&6; }
4034 if ${ac_cv_objext+:} false; then :
4035 $as_echo_n "(cached) " >&6
4036 else
4037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4038 /* end confdefs.h. */
4041 main ()
4045 return 0;
4047 _ACEOF
4048 rm -f conftest.o conftest.obj
4049 if { { ac_try="$ac_compile"
4050 case "(($ac_try" in
4051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4052 *) ac_try_echo=$ac_try;;
4053 esac
4054 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4055 $as_echo "$ac_try_echo"; } >&5
4056 (eval "$ac_compile") 2>&5
4057 ac_status=$?
4058 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4059 test $ac_status = 0; }; then :
4060 for ac_file in conftest.o conftest.obj conftest.*; do
4061 test -f "$ac_file" || continue;
4062 case $ac_file in
4063 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4064 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4065 break;;
4066 esac
4067 done
4068 else
4069 $as_echo "$as_me: failed program was:" >&5
4070 sed 's/^/| /' conftest.$ac_ext >&5
4072 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4073 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4074 as_fn_error $? "cannot compute suffix of object files: cannot compile
4075 See \`config.log' for more details" "$LINENO" 5; }
4077 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4080 $as_echo "$ac_cv_objext" >&6; }
4081 OBJEXT=$ac_cv_objext
4082 ac_objext=$OBJEXT
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4084 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4085 if ${ac_cv_c_compiler_gnu+:} false; then :
4086 $as_echo_n "(cached) " >&6
4087 else
4088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4089 /* end confdefs.h. */
4092 main ()
4094 #ifndef __GNUC__
4095 choke me
4096 #endif
4099 return 0;
4101 _ACEOF
4102 if ac_fn_c_try_compile "$LINENO"; then :
4103 ac_compiler_gnu=yes
4104 else
4105 ac_compiler_gnu=no
4107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4108 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4112 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4113 if test $ac_compiler_gnu = yes; then
4114 GCC=yes
4115 else
4116 GCC=
4118 ac_test_CFLAGS=${CFLAGS+set}
4119 ac_save_CFLAGS=$CFLAGS
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4121 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4122 if ${ac_cv_prog_cc_g+:} false; then :
4123 $as_echo_n "(cached) " >&6
4124 else
4125 ac_save_c_werror_flag=$ac_c_werror_flag
4126 ac_c_werror_flag=yes
4127 ac_cv_prog_cc_g=no
4128 CFLAGS="-g"
4129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4130 /* end confdefs.h. */
4133 main ()
4137 return 0;
4139 _ACEOF
4140 if ac_fn_c_try_compile "$LINENO"; then :
4141 ac_cv_prog_cc_g=yes
4142 else
4143 CFLAGS=""
4144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4145 /* end confdefs.h. */
4148 main ()
4152 return 0;
4154 _ACEOF
4155 if ac_fn_c_try_compile "$LINENO"; then :
4157 else
4158 ac_c_werror_flag=$ac_save_c_werror_flag
4159 CFLAGS="-g"
4160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4161 /* end confdefs.h. */
4164 main ()
4168 return 0;
4170 _ACEOF
4171 if ac_fn_c_try_compile "$LINENO"; then :
4172 ac_cv_prog_cc_g=yes
4174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4179 ac_c_werror_flag=$ac_save_c_werror_flag
4181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4182 $as_echo "$ac_cv_prog_cc_g" >&6; }
4183 if test "$ac_test_CFLAGS" = set; then
4184 CFLAGS=$ac_save_CFLAGS
4185 elif test $ac_cv_prog_cc_g = yes; then
4186 if test "$GCC" = yes; then
4187 CFLAGS="-g -O2"
4188 else
4189 CFLAGS="-g"
4191 else
4192 if test "$GCC" = yes; then
4193 CFLAGS="-O2"
4194 else
4195 CFLAGS=
4198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4199 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4200 if ${ac_cv_prog_cc_c89+:} false; then :
4201 $as_echo_n "(cached) " >&6
4202 else
4203 ac_cv_prog_cc_c89=no
4204 ac_save_CC=$CC
4205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4206 /* end confdefs.h. */
4207 #include <stdarg.h>
4208 #include <stdio.h>
4209 struct stat;
4210 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4211 struct buf { int x; };
4212 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4213 static char *e (p, i)
4214 char **p;
4215 int i;
4217 return p[i];
4219 static char *f (char * (*g) (char **, int), char **p, ...)
4221 char *s;
4222 va_list v;
4223 va_start (v,p);
4224 s = g (p, va_arg (v,int));
4225 va_end (v);
4226 return s;
4229 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4230 function prototypes and stuff, but not '\xHH' hex character constants.
4231 These don't provoke an error unfortunately, instead are silently treated
4232 as 'x'. The following induces an error, until -std is added to get
4233 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4234 array size at least. It's necessary to write '\x00'==0 to get something
4235 that's true only with -std. */
4236 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4238 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4239 inside strings and character constants. */
4240 #define FOO(x) 'x'
4241 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4243 int test (int i, double x);
4244 struct s1 {int (*f) (int a);};
4245 struct s2 {int (*f) (double a);};
4246 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4247 int argc;
4248 char **argv;
4250 main ()
4252 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4254 return 0;
4256 _ACEOF
4257 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4258 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4260 CC="$ac_save_CC $ac_arg"
4261 if ac_fn_c_try_compile "$LINENO"; then :
4262 ac_cv_prog_cc_c89=$ac_arg
4264 rm -f core conftest.err conftest.$ac_objext
4265 test "x$ac_cv_prog_cc_c89" != "xno" && break
4266 done
4267 rm -f conftest.$ac_ext
4268 CC=$ac_save_CC
4271 # AC_CACHE_VAL
4272 case "x$ac_cv_prog_cc_c89" in
4274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4275 $as_echo "none needed" >&6; } ;;
4276 xno)
4277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4278 $as_echo "unsupported" >&6; } ;;
4280 CC="$CC $ac_cv_prog_cc_c89"
4281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4282 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4283 esac
4284 if test "x$ac_cv_prog_cc_c89" != xno; then :
4288 ac_ext=c
4289 ac_cpp='$CPP $CPPFLAGS'
4290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4294 ac_ext=cpp
4295 ac_cpp='$CXXCPP $CPPFLAGS'
4296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4299 if test -z "$CXX"; then
4300 if test -n "$CCC"; then
4301 CXX=$CCC
4302 else
4303 if test -n "$ac_tool_prefix"; then
4304 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4306 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4307 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4309 $as_echo_n "checking for $ac_word... " >&6; }
4310 if ${ac_cv_prog_CXX+:} false; then :
4311 $as_echo_n "(cached) " >&6
4312 else
4313 if test -n "$CXX"; then
4314 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4315 else
4316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4317 for as_dir in $PATH
4319 IFS=$as_save_IFS
4320 test -z "$as_dir" && as_dir=.
4321 for ac_exec_ext in '' $ac_executable_extensions; do
4322 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4323 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4324 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4325 break 2
4327 done
4328 done
4329 IFS=$as_save_IFS
4333 CXX=$ac_cv_prog_CXX
4334 if test -n "$CXX"; then
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4336 $as_echo "$CXX" >&6; }
4337 else
4338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4339 $as_echo "no" >&6; }
4343 test -n "$CXX" && break
4344 done
4346 if test -z "$CXX"; then
4347 ac_ct_CXX=$CXX
4348 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4350 # Extract the first word of "$ac_prog", so it can be a program name with args.
4351 set dummy $ac_prog; ac_word=$2
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4353 $as_echo_n "checking for $ac_word... " >&6; }
4354 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4355 $as_echo_n "(cached) " >&6
4356 else
4357 if test -n "$ac_ct_CXX"; then
4358 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4359 else
4360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4361 for as_dir in $PATH
4363 IFS=$as_save_IFS
4364 test -z "$as_dir" && as_dir=.
4365 for ac_exec_ext in '' $ac_executable_extensions; do
4366 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4367 ac_cv_prog_ac_ct_CXX="$ac_prog"
4368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4369 break 2
4371 done
4372 done
4373 IFS=$as_save_IFS
4377 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4378 if test -n "$ac_ct_CXX"; then
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4380 $as_echo "$ac_ct_CXX" >&6; }
4381 else
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4383 $as_echo "no" >&6; }
4387 test -n "$ac_ct_CXX" && break
4388 done
4390 if test "x$ac_ct_CXX" = x; then
4391 CXX="g++"
4392 else
4393 case $cross_compiling:$ac_tool_warned in
4394 yes:)
4395 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4396 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4397 ac_tool_warned=yes ;;
4398 esac
4399 CXX=$ac_ct_CXX
4405 # Provide some information about the compiler.
4406 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4407 set X $ac_compile
4408 ac_compiler=$2
4409 for ac_option in --version -v -V -qversion; do
4410 { { ac_try="$ac_compiler $ac_option >&5"
4411 case "(($ac_try" in
4412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4413 *) ac_try_echo=$ac_try;;
4414 esac
4415 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4416 $as_echo "$ac_try_echo"; } >&5
4417 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4418 ac_status=$?
4419 if test -s conftest.err; then
4420 sed '10a\
4421 ... rest of stderr output deleted ...
4422 10q' conftest.err >conftest.er1
4423 cat conftest.er1 >&5
4425 rm -f conftest.er1 conftest.err
4426 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4427 test $ac_status = 0; }
4428 done
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4431 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4432 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4433 $as_echo_n "(cached) " >&6
4434 else
4435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4436 /* end confdefs.h. */
4439 main ()
4441 #ifndef __GNUC__
4442 choke me
4443 #endif
4446 return 0;
4448 _ACEOF
4449 if ac_fn_cxx_try_compile "$LINENO"; then :
4450 ac_compiler_gnu=yes
4451 else
4452 ac_compiler_gnu=no
4454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4455 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4459 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4460 if test $ac_compiler_gnu = yes; then
4461 GXX=yes
4462 else
4463 GXX=
4465 ac_test_CXXFLAGS=${CXXFLAGS+set}
4466 ac_save_CXXFLAGS=$CXXFLAGS
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4468 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4469 if ${ac_cv_prog_cxx_g+:} false; then :
4470 $as_echo_n "(cached) " >&6
4471 else
4472 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4473 ac_cxx_werror_flag=yes
4474 ac_cv_prog_cxx_g=no
4475 CXXFLAGS="-g"
4476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4477 /* end confdefs.h. */
4480 main ()
4484 return 0;
4486 _ACEOF
4487 if ac_fn_cxx_try_compile "$LINENO"; then :
4488 ac_cv_prog_cxx_g=yes
4489 else
4490 CXXFLAGS=""
4491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4492 /* end confdefs.h. */
4495 main ()
4499 return 0;
4501 _ACEOF
4502 if ac_fn_cxx_try_compile "$LINENO"; then :
4504 else
4505 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4506 CXXFLAGS="-g"
4507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4508 /* end confdefs.h. */
4511 main ()
4515 return 0;
4517 _ACEOF
4518 if ac_fn_cxx_try_compile "$LINENO"; then :
4519 ac_cv_prog_cxx_g=yes
4521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4526 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4529 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4530 if test "$ac_test_CXXFLAGS" = set; then
4531 CXXFLAGS=$ac_save_CXXFLAGS
4532 elif test $ac_cv_prog_cxx_g = yes; then
4533 if test "$GXX" = yes; then
4534 CXXFLAGS="-g -O2"
4535 else
4536 CXXFLAGS="-g"
4538 else
4539 if test "$GXX" = yes; then
4540 CXXFLAGS="-O2"
4541 else
4542 CXXFLAGS=
4545 ac_ext=c
4546 ac_cpp='$CPP $CPPFLAGS'
4547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4551 if test -n "$ac_tool_prefix"; then
4552 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4553 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4555 $as_echo_n "checking for $ac_word... " >&6; }
4556 if ${ac_cv_prog_CPPBIN+:} false; then :
4557 $as_echo_n "(cached) " >&6
4558 else
4559 if test -n "$CPPBIN"; then
4560 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4561 else
4562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4563 for as_dir in $PATH
4565 IFS=$as_save_IFS
4566 test -z "$as_dir" && as_dir=.
4567 for ac_exec_ext in '' $ac_executable_extensions; do
4568 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4569 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4570 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4571 break 2
4573 done
4574 done
4575 IFS=$as_save_IFS
4579 CPPBIN=$ac_cv_prog_CPPBIN
4580 if test -n "$CPPBIN"; then
4581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4582 $as_echo "$CPPBIN" >&6; }
4583 else
4584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4585 $as_echo "no" >&6; }
4590 if test -z "$ac_cv_prog_CPPBIN"; then
4591 ac_ct_CPPBIN=$CPPBIN
4592 # Extract the first word of "cpp", so it can be a program name with args.
4593 set dummy cpp; ac_word=$2
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4595 $as_echo_n "checking for $ac_word... " >&6; }
4596 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4597 $as_echo_n "(cached) " >&6
4598 else
4599 if test -n "$ac_ct_CPPBIN"; then
4600 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4601 else
4602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4603 for as_dir in $PATH
4605 IFS=$as_save_IFS
4606 test -z "$as_dir" && as_dir=.
4607 for ac_exec_ext in '' $ac_executable_extensions; do
4608 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4609 ac_cv_prog_ac_ct_CPPBIN="cpp"
4610 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4611 break 2
4613 done
4614 done
4615 IFS=$as_save_IFS
4619 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4620 if test -n "$ac_ct_CPPBIN"; then
4621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4622 $as_echo "$ac_ct_CPPBIN" >&6; }
4623 else
4624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4625 $as_echo "no" >&6; }
4628 if test "x$ac_ct_CPPBIN" = x; then
4629 CPPBIN="cpp"
4630 else
4631 case $cross_compiling:$ac_tool_warned in
4632 yes:)
4633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4634 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4635 ac_tool_warned=yes ;;
4636 esac
4637 CPPBIN=$ac_ct_CPPBIN
4639 else
4640 CPPBIN="$ac_cv_prog_CPPBIN"
4644 cat >>confdefs.h <<_ACEOF
4645 #define EXEEXT "$ac_exeext"
4646 _ACEOF
4649 case $host in
4650 *-darwin*)
4651 if test "x$enable_win64" = "xyes"
4652 then
4653 CC="$CC -m64"
4654 CXX="$CXX -m64"
4655 host_cpu="x86_64"
4656 notice_platform="64-bit "
4657 TARGETFLAGS="-m64"
4659 else
4660 CC="$CC -m32"
4661 CXX="$CXX -m32"
4662 host_cpu="i386"
4663 notice_platform="32-bit "
4664 TARGETFLAGS="-m32"
4666 enable_win16=${enable_win16:-yes}
4668 with_fontconfig=${with_fontconfig:-no}
4670 x86_64*)
4671 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4672 then
4673 CC="$CC -m32"
4674 CXX="$CXX -m32"
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4676 $as_echo_n "checking whether $CC works... " >&6; }
4678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4679 /* end confdefs.h. */
4682 main ()
4686 return 0;
4688 _ACEOF
4689 if ac_fn_c_try_link "$LINENO"; then :
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4691 $as_echo "yes" >&6; }
4692 else
4693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4694 $as_echo "no" >&6; }
4695 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4697 rm -f core conftest.err conftest.$ac_objext \
4698 conftest$ac_exeext conftest.$ac_ext
4699 host_cpu="i386"
4700 notice_platform="32-bit "
4701 TARGETFLAGS="-m32"
4703 enable_win16=${enable_win16:-yes}
4704 else
4705 if test "x${GCC}" = "xyes"
4706 then
4707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4708 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4710 /* end confdefs.h. */
4711 #include <stdarg.h>
4713 main ()
4715 void func(__builtin_ms_va_list *args);
4717 return 0;
4719 _ACEOF
4720 if ac_fn_c_try_compile "$LINENO"; then :
4721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4722 $as_echo "yes" >&6; }
4723 else
4724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4725 $as_echo "no" >&6; }
4726 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4730 TARGETFLAGS="-m64"
4734 arm*)
4735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4736 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4738 /* end confdefs.h. */
4739 int ac_test(int i) { return i; }
4741 main ()
4743 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4745 return 0;
4747 _ACEOF
4748 if ac_fn_c_try_link "$LINENO"; then :
4749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4750 $as_echo "yes" >&6; }
4751 else
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4753 $as_echo "no" >&6; }
4754 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4756 rm -f core conftest.err conftest.$ac_objext \
4757 conftest$ac_exeext conftest.$ac_ext
4758 CFLAGS="$CFLAGS -marm"
4760 *-mingw32*|*-cygwin*)
4761 enable_win16=${enable_win16:-no}
4762 CFLAGS="$CFLAGS -D_WIN32"
4764 i[3456789]86*)
4765 enable_win16=${enable_win16:-yes}
4767 esac
4769 enable_win16=${enable_win16:-no}
4770 enable_win64=${enable_win64:-no}
4772 enable_winetest=${enable_winetest:-$enable_tests}
4774 if test -n "$with_wine64"
4775 then
4776 if test "x$enable_win64" = "xyes"
4777 then
4778 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4779 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4781 enable_fonts=${enable_fonts:-no}
4782 enable_server=${enable_server:-no}
4783 elif test "x$enable_win64" = "xyes"
4784 then
4785 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4789 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4790 if ${wine_cv_toolsdir+:} false; then :
4791 $as_echo_n "(cached) " >&6
4792 else
4793 wine_cv_toolsdir="$with_wine_tools"
4794 if test -z "$with_wine_tools"; then
4795 if test "$cross_compiling" = "yes"; then
4796 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4797 elif test -n "$with_wine64"; then
4798 wine_cv_toolsdir="$with_wine64"
4801 if test -z "$wine_cv_toolsdir"; then
4802 wine_cv_toolsdir="\$(top_builddir)"
4803 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4804 case "$wine_cv_toolsdir" in
4805 /*) ;;
4806 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
4807 esac
4808 enable_tools=${enable_tools:-no}
4809 else
4810 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4814 $as_echo "$wine_cv_toolsdir" >&6; }
4815 TOOLSDIR=$wine_cv_toolsdir
4817 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4818 then
4819 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
4823 for ac_prog in flex
4825 # Extract the first word of "$ac_prog", so it can be a program name with args.
4826 set dummy $ac_prog; ac_word=$2
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4828 $as_echo_n "checking for $ac_word... " >&6; }
4829 if ${ac_cv_prog_FLEX+:} false; then :
4830 $as_echo_n "(cached) " >&6
4831 else
4832 if test -n "$FLEX"; then
4833 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
4834 else
4835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4836 for as_dir in $PATH
4838 IFS=$as_save_IFS
4839 test -z "$as_dir" && as_dir=.
4840 for ac_exec_ext in '' $ac_executable_extensions; do
4841 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4842 ac_cv_prog_FLEX="$ac_prog"
4843 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4844 break 2
4846 done
4847 done
4848 IFS=$as_save_IFS
4852 FLEX=$ac_cv_prog_FLEX
4853 if test -n "$FLEX"; then
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4855 $as_echo "$FLEX" >&6; }
4856 else
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4858 $as_echo "no" >&6; }
4862 test -n "$FLEX" && break
4863 done
4864 test -n "$FLEX" || FLEX="none"
4866 if test "$FLEX" = "none"
4867 then
4868 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4871 $as_echo_n "checking whether flex is recent enough... " >&6; }
4872 cat >conftest.l <<EOF
4873 %top{
4874 #include "prediluvian.h"
4878 if $FLEX -t conftest.l >/dev/null 2>&5
4879 then
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4881 $as_echo "yes" >&6; }
4882 else
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4884 $as_echo "no" >&6; }
4885 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4888 for ac_prog in bison
4890 # Extract the first word of "$ac_prog", so it can be a program name with args.
4891 set dummy $ac_prog; ac_word=$2
4892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4893 $as_echo_n "checking for $ac_word... " >&6; }
4894 if ${ac_cv_prog_BISON+:} false; then :
4895 $as_echo_n "(cached) " >&6
4896 else
4897 if test -n "$BISON"; then
4898 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4899 else
4900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4901 for as_dir in $PATH
4903 IFS=$as_save_IFS
4904 test -z "$as_dir" && as_dir=.
4905 for ac_exec_ext in '' $ac_executable_extensions; do
4906 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4907 ac_cv_prog_BISON="$ac_prog"
4908 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4909 break 2
4911 done
4912 done
4913 IFS=$as_save_IFS
4917 BISON=$ac_cv_prog_BISON
4918 if test -n "$BISON"; then
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4920 $as_echo "$BISON" >&6; }
4921 else
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4923 $as_echo "no" >&6; }
4927 test -n "$BISON" && break
4928 done
4929 test -n "$BISON" || BISON="none"
4931 if test "$BISON" = "none"
4932 then
4933 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4936 if test -n "$ac_tool_prefix"; then
4937 for ac_prog in ar gar
4939 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4940 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4942 $as_echo_n "checking for $ac_word... " >&6; }
4943 if ${ac_cv_prog_AR+:} false; then :
4944 $as_echo_n "(cached) " >&6
4945 else
4946 if test -n "$AR"; then
4947 ac_cv_prog_AR="$AR" # Let the user override the test.
4948 else
4949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4950 for as_dir in $PATH
4952 IFS=$as_save_IFS
4953 test -z "$as_dir" && as_dir=.
4954 for ac_exec_ext in '' $ac_executable_extensions; do
4955 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4956 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4958 break 2
4960 done
4961 done
4962 IFS=$as_save_IFS
4966 AR=$ac_cv_prog_AR
4967 if test -n "$AR"; then
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4969 $as_echo "$AR" >&6; }
4970 else
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4972 $as_echo "no" >&6; }
4976 test -n "$AR" && break
4977 done
4979 if test -z "$AR"; then
4980 ac_ct_AR=$AR
4981 for ac_prog in ar gar
4983 # Extract the first word of "$ac_prog", so it can be a program name with args.
4984 set dummy $ac_prog; ac_word=$2
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4986 $as_echo_n "checking for $ac_word... " >&6; }
4987 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4988 $as_echo_n "(cached) " >&6
4989 else
4990 if test -n "$ac_ct_AR"; then
4991 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4992 else
4993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4994 for as_dir in $PATH
4996 IFS=$as_save_IFS
4997 test -z "$as_dir" && as_dir=.
4998 for ac_exec_ext in '' $ac_executable_extensions; do
4999 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5000 ac_cv_prog_ac_ct_AR="$ac_prog"
5001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5002 break 2
5004 done
5005 done
5006 IFS=$as_save_IFS
5010 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5011 if test -n "$ac_ct_AR"; then
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5013 $as_echo "$ac_ct_AR" >&6; }
5014 else
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5016 $as_echo "no" >&6; }
5020 test -n "$ac_ct_AR" && break
5021 done
5023 if test "x$ac_ct_AR" = x; then
5024 AR="ar"
5025 else
5026 case $cross_compiling:$ac_tool_warned in
5027 yes:)
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5029 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5030 ac_tool_warned=yes ;;
5031 esac
5032 AR=$ac_ct_AR
5036 if test -n "$ac_tool_prefix"; then
5037 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5038 set dummy ${ac_tool_prefix}strip; ac_word=$2
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5040 $as_echo_n "checking for $ac_word... " >&6; }
5041 if ${ac_cv_prog_STRIP+:} false; then :
5042 $as_echo_n "(cached) " >&6
5043 else
5044 if test -n "$STRIP"; then
5045 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5046 else
5047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5048 for as_dir in $PATH
5050 IFS=$as_save_IFS
5051 test -z "$as_dir" && as_dir=.
5052 for ac_exec_ext in '' $ac_executable_extensions; do
5053 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5054 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5055 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5056 break 2
5058 done
5059 done
5060 IFS=$as_save_IFS
5064 STRIP=$ac_cv_prog_STRIP
5065 if test -n "$STRIP"; then
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5067 $as_echo "$STRIP" >&6; }
5068 else
5069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5070 $as_echo "no" >&6; }
5075 if test -z "$ac_cv_prog_STRIP"; then
5076 ac_ct_STRIP=$STRIP
5077 # Extract the first word of "strip", so it can be a program name with args.
5078 set dummy strip; ac_word=$2
5079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5080 $as_echo_n "checking for $ac_word... " >&6; }
5081 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5082 $as_echo_n "(cached) " >&6
5083 else
5084 if test -n "$ac_ct_STRIP"; then
5085 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5086 else
5087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5088 for as_dir in $PATH
5090 IFS=$as_save_IFS
5091 test -z "$as_dir" && as_dir=.
5092 for ac_exec_ext in '' $ac_executable_extensions; do
5093 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5094 ac_cv_prog_ac_ct_STRIP="strip"
5095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5096 break 2
5098 done
5099 done
5100 IFS=$as_save_IFS
5104 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5105 if test -n "$ac_ct_STRIP"; then
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5107 $as_echo "$ac_ct_STRIP" >&6; }
5108 else
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5110 $as_echo "no" >&6; }
5113 if test "x$ac_ct_STRIP" = x; then
5114 STRIP="strip"
5115 else
5116 case $cross_compiling:$ac_tool_warned in
5117 yes:)
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5119 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5120 ac_tool_warned=yes ;;
5121 esac
5122 STRIP=$ac_ct_STRIP
5124 else
5125 STRIP="$ac_cv_prog_STRIP"
5128 ARFLAGS=rc
5130 if test -n "$ac_tool_prefix"; then
5131 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5132 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5134 $as_echo_n "checking for $ac_word... " >&6; }
5135 if ${ac_cv_prog_RANLIB+:} false; then :
5136 $as_echo_n "(cached) " >&6
5137 else
5138 if test -n "$RANLIB"; then
5139 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5140 else
5141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5142 for as_dir in $PATH
5144 IFS=$as_save_IFS
5145 test -z "$as_dir" && as_dir=.
5146 for ac_exec_ext in '' $ac_executable_extensions; do
5147 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5148 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5150 break 2
5152 done
5153 done
5154 IFS=$as_save_IFS
5158 RANLIB=$ac_cv_prog_RANLIB
5159 if test -n "$RANLIB"; then
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5161 $as_echo "$RANLIB" >&6; }
5162 else
5163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5164 $as_echo "no" >&6; }
5169 if test -z "$ac_cv_prog_RANLIB"; then
5170 ac_ct_RANLIB=$RANLIB
5171 # Extract the first word of "ranlib", so it can be a program name with args.
5172 set dummy ranlib; ac_word=$2
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5174 $as_echo_n "checking for $ac_word... " >&6; }
5175 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5176 $as_echo_n "(cached) " >&6
5177 else
5178 if test -n "$ac_ct_RANLIB"; then
5179 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5180 else
5181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5182 for as_dir in $PATH
5184 IFS=$as_save_IFS
5185 test -z "$as_dir" && as_dir=.
5186 for ac_exec_ext in '' $ac_executable_extensions; do
5187 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5188 ac_cv_prog_ac_ct_RANLIB="ranlib"
5189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5190 break 2
5192 done
5193 done
5194 IFS=$as_save_IFS
5198 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5199 if test -n "$ac_ct_RANLIB"; then
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5201 $as_echo "$ac_ct_RANLIB" >&6; }
5202 else
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5204 $as_echo "no" >&6; }
5207 if test "x$ac_ct_RANLIB" = x; then
5208 RANLIB=":"
5209 else
5210 case $cross_compiling:$ac_tool_warned in
5211 yes:)
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5213 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5214 ac_tool_warned=yes ;;
5215 esac
5216 RANLIB=$ac_ct_RANLIB
5218 else
5219 RANLIB="$ac_cv_prog_RANLIB"
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5223 $as_echo_n "checking whether ln -s works... " >&6; }
5224 LN_S=$as_ln_s
5225 if test "$LN_S" = "ln -s"; then
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5227 $as_echo "yes" >&6; }
5228 else
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5230 $as_echo "no, using $LN_S" >&6; }
5233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5234 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5235 if ${ac_cv_path_GREP+:} false; then :
5236 $as_echo_n "(cached) " >&6
5237 else
5238 if test -z "$GREP"; then
5239 ac_path_GREP_found=false
5240 # Loop through the user's path and test for each of PROGNAME-LIST
5241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5242 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5244 IFS=$as_save_IFS
5245 test -z "$as_dir" && as_dir=.
5246 for ac_prog in grep ggrep; do
5247 for ac_exec_ext in '' $ac_executable_extensions; do
5248 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5249 as_fn_executable_p "$ac_path_GREP" || continue
5250 # Check for GNU ac_path_GREP and select it if it is found.
5251 # Check for GNU $ac_path_GREP
5252 case `"$ac_path_GREP" --version 2>&1` in
5253 *GNU*)
5254 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5256 ac_count=0
5257 $as_echo_n 0123456789 >"conftest.in"
5258 while :
5260 cat "conftest.in" "conftest.in" >"conftest.tmp"
5261 mv "conftest.tmp" "conftest.in"
5262 cp "conftest.in" "conftest.nl"
5263 $as_echo 'GREP' >> "conftest.nl"
5264 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5265 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5266 as_fn_arith $ac_count + 1 && ac_count=$as_val
5267 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5268 # Best one so far, save it but keep looking for a better one
5269 ac_cv_path_GREP="$ac_path_GREP"
5270 ac_path_GREP_max=$ac_count
5272 # 10*(2^10) chars as input seems more than enough
5273 test $ac_count -gt 10 && break
5274 done
5275 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5276 esac
5278 $ac_path_GREP_found && break 3
5279 done
5280 done
5281 done
5282 IFS=$as_save_IFS
5283 if test -z "$ac_cv_path_GREP"; then
5284 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5286 else
5287 ac_cv_path_GREP=$GREP
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5292 $as_echo "$ac_cv_path_GREP" >&6; }
5293 GREP="$ac_cv_path_GREP"
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5297 $as_echo_n "checking for egrep... " >&6; }
5298 if ${ac_cv_path_EGREP+:} false; then :
5299 $as_echo_n "(cached) " >&6
5300 else
5301 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5302 then ac_cv_path_EGREP="$GREP -E"
5303 else
5304 if test -z "$EGREP"; then
5305 ac_path_EGREP_found=false
5306 # Loop through the user's path and test for each of PROGNAME-LIST
5307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5308 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5310 IFS=$as_save_IFS
5311 test -z "$as_dir" && as_dir=.
5312 for ac_prog in egrep; do
5313 for ac_exec_ext in '' $ac_executable_extensions; do
5314 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5315 as_fn_executable_p "$ac_path_EGREP" || continue
5316 # Check for GNU ac_path_EGREP and select it if it is found.
5317 # Check for GNU $ac_path_EGREP
5318 case `"$ac_path_EGREP" --version 2>&1` in
5319 *GNU*)
5320 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5322 ac_count=0
5323 $as_echo_n 0123456789 >"conftest.in"
5324 while :
5326 cat "conftest.in" "conftest.in" >"conftest.tmp"
5327 mv "conftest.tmp" "conftest.in"
5328 cp "conftest.in" "conftest.nl"
5329 $as_echo 'EGREP' >> "conftest.nl"
5330 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5331 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5332 as_fn_arith $ac_count + 1 && ac_count=$as_val
5333 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5334 # Best one so far, save it but keep looking for a better one
5335 ac_cv_path_EGREP="$ac_path_EGREP"
5336 ac_path_EGREP_max=$ac_count
5338 # 10*(2^10) chars as input seems more than enough
5339 test $ac_count -gt 10 && break
5340 done
5341 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5342 esac
5344 $ac_path_EGREP_found && break 3
5345 done
5346 done
5347 done
5348 IFS=$as_save_IFS
5349 if test -z "$ac_cv_path_EGREP"; then
5350 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5352 else
5353 ac_cv_path_EGREP=$EGREP
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5359 $as_echo "$ac_cv_path_EGREP" >&6; }
5360 EGREP="$ac_cv_path_EGREP"
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
5364 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
5365 if test -z "$MKDIR_P"; then
5366 if ${ac_cv_path_mkdir+:} false; then :
5367 $as_echo_n "(cached) " >&6
5368 else
5369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5370 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
5372 IFS=$as_save_IFS
5373 test -z "$as_dir" && as_dir=.
5374 for ac_prog in mkdir gmkdir; do
5375 for ac_exec_ext in '' $ac_executable_extensions; do
5376 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
5377 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
5378 'mkdir (GNU coreutils) '* | \
5379 'mkdir (coreutils) '* | \
5380 'mkdir (fileutils) '4.1*)
5381 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
5382 break 3;;
5383 esac
5384 done
5385 done
5386 done
5387 IFS=$as_save_IFS
5391 test -d ./--version && rmdir ./--version
5392 if test "${ac_cv_path_mkdir+set}" = set; then
5393 MKDIR_P="$ac_cv_path_mkdir -p"
5394 else
5395 # As a last resort, use the slow shell script. Don't cache a
5396 # value for MKDIR_P within a source directory, because that will
5397 # break other packages using the cache if that directory is
5398 # removed, or if the value is a relative name.
5399 MKDIR_P="$ac_install_sh -d"
5402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
5403 $as_echo "$MKDIR_P" >&6; }
5405 # Extract the first word of "ldconfig", so it can be a program name with args.
5406 set dummy ldconfig; ac_word=$2
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5408 $as_echo_n "checking for $ac_word... " >&6; }
5409 if ${ac_cv_path_LDCONFIG+:} false; then :
5410 $as_echo_n "(cached) " >&6
5411 else
5412 case $LDCONFIG in
5413 [\\/]* | ?:[\\/]*)
5414 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5418 for as_dir in /sbin /usr/sbin $PATH
5420 IFS=$as_save_IFS
5421 test -z "$as_dir" && as_dir=.
5422 for ac_exec_ext in '' $ac_executable_extensions; do
5423 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5424 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5425 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5426 break 2
5428 done
5429 done
5430 IFS=$as_save_IFS
5432 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5434 esac
5436 LDCONFIG=$ac_cv_path_LDCONFIG
5437 if test -n "$LDCONFIG"; then
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5439 $as_echo "$LDCONFIG" >&6; }
5440 else
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5442 $as_echo "no" >&6; }
5447 test -z "$INSTALL" && INSTALL="\$(top_srcdir)/tools/install-sh"
5449 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM="STRIPPROG=\"\$(STRIP)\" \$(INSTALL)"
5451 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT="\$(INSTALL)"
5453 test -z "$INSTALL_DATA" && INSTALL_DATA="\$(INSTALL) -m 644"
5456 for ac_prog in msgfmt
5458 # Extract the first word of "$ac_prog", so it can be a program name with args.
5459 set dummy $ac_prog; ac_word=$2
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5461 $as_echo_n "checking for $ac_word... " >&6; }
5462 if ${ac_cv_prog_MSGFMT+:} false; then :
5463 $as_echo_n "(cached) " >&6
5464 else
5465 if test -n "$MSGFMT"; then
5466 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5467 else
5468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5469 for as_dir in $PATH
5471 IFS=$as_save_IFS
5472 test -z "$as_dir" && as_dir=.
5473 for ac_exec_ext in '' $ac_executable_extensions; do
5474 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5475 ac_cv_prog_MSGFMT="$ac_prog"
5476 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5477 break 2
5479 done
5480 done
5481 IFS=$as_save_IFS
5485 MSGFMT=$ac_cv_prog_MSGFMT
5486 if test -n "$MSGFMT"; then
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5488 $as_echo "$MSGFMT" >&6; }
5489 else
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5491 $as_echo "no" >&6; }
5495 test -n "$MSGFMT" && break
5496 done
5497 test -n "$MSGFMT" || MSGFMT="false"
5499 if test -n "$ac_tool_prefix"; then
5500 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5501 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5503 $as_echo_n "checking for $ac_word... " >&6; }
5504 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5505 $as_echo_n "(cached) " >&6
5506 else
5507 if test -n "$PKG_CONFIG"; then
5508 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5509 else
5510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5511 for as_dir in $PATH
5513 IFS=$as_save_IFS
5514 test -z "$as_dir" && as_dir=.
5515 for ac_exec_ext in '' $ac_executable_extensions; do
5516 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5517 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5518 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5519 break 2
5521 done
5522 done
5523 IFS=$as_save_IFS
5527 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5528 if test -n "$PKG_CONFIG"; then
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5530 $as_echo "$PKG_CONFIG" >&6; }
5531 else
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5533 $as_echo "no" >&6; }
5538 if test -n "$ac_cv_prog_PKG_CONFIG"; then
5539 PKG_CONFIG="$ac_cv_prog_PKG_CONFIG"
5540 elif test "$cross_compiling" != yes; then
5541 unset ac_cv_prog_PKG_CONFIG
5542 # Extract the first word of "pkg-config", so it can be a program name with args.
5543 set dummy pkg-config; ac_word=$2
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5545 $as_echo_n "checking for $ac_word... " >&6; }
5546 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5547 $as_echo_n "(cached) " >&6
5548 else
5549 if test -n "$PKG_CONFIG"; then
5550 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5551 else
5552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5553 for as_dir in $PATH
5555 IFS=$as_save_IFS
5556 test -z "$as_dir" && as_dir=.
5557 for ac_exec_ext in '' $ac_executable_extensions; do
5558 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5559 ac_cv_prog_PKG_CONFIG="pkg-config"
5560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5561 break 2
5563 done
5564 done
5565 IFS=$as_save_IFS
5569 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5570 if test -n "$PKG_CONFIG"; then
5571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5572 $as_echo "$PKG_CONFIG" >&6; }
5573 else
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5575 $as_echo "no" >&6; }
5581 if test "x$enable_maintainer_mode" != "xyes"
5582 then
5583 FONTFORGE=""
5584 RSVG=""
5585 CONVERT=""
5586 ICOTOOL=""
5587 else
5588 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5589 for ac_prog in fontforge
5591 # Extract the first word of "$ac_prog", so it can be a program name with args.
5592 set dummy $ac_prog; ac_word=$2
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5594 $as_echo_n "checking for $ac_word... " >&6; }
5595 if ${ac_cv_prog_FONTFORGE+:} false; then :
5596 $as_echo_n "(cached) " >&6
5597 else
5598 if test -n "$FONTFORGE"; then
5599 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5600 else
5601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5602 for as_dir in $PATH
5604 IFS=$as_save_IFS
5605 test -z "$as_dir" && as_dir=.
5606 for ac_exec_ext in '' $ac_executable_extensions; do
5607 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5608 ac_cv_prog_FONTFORGE="$ac_prog"
5609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5610 break 2
5612 done
5613 done
5614 IFS=$as_save_IFS
5618 FONTFORGE=$ac_cv_prog_FONTFORGE
5619 if test -n "$FONTFORGE"; then
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5621 $as_echo "$FONTFORGE" >&6; }
5622 else
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5624 $as_echo "no" >&6; }
5628 test -n "$FONTFORGE" && break
5629 done
5630 test -n "$FONTFORGE" || FONTFORGE="false"
5632 for ac_prog in rsvg
5634 # Extract the first word of "$ac_prog", so it can be a program name with args.
5635 set dummy $ac_prog; ac_word=$2
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5637 $as_echo_n "checking for $ac_word... " >&6; }
5638 if ${ac_cv_prog_RSVG+:} false; then :
5639 $as_echo_n "(cached) " >&6
5640 else
5641 if test -n "$RSVG"; then
5642 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5643 else
5644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5645 for as_dir in $PATH
5647 IFS=$as_save_IFS
5648 test -z "$as_dir" && as_dir=.
5649 for ac_exec_ext in '' $ac_executable_extensions; do
5650 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5651 ac_cv_prog_RSVG="$ac_prog"
5652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5653 break 2
5655 done
5656 done
5657 IFS=$as_save_IFS
5661 RSVG=$ac_cv_prog_RSVG
5662 if test -n "$RSVG"; then
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5664 $as_echo "$RSVG" >&6; }
5665 else
5666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5667 $as_echo "no" >&6; }
5671 test -n "$RSVG" && break
5672 done
5673 test -n "$RSVG" || RSVG="false"
5675 for ac_prog in convert
5677 # Extract the first word of "$ac_prog", so it can be a program name with args.
5678 set dummy $ac_prog; ac_word=$2
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5680 $as_echo_n "checking for $ac_word... " >&6; }
5681 if ${ac_cv_prog_CONVERT+:} false; then :
5682 $as_echo_n "(cached) " >&6
5683 else
5684 if test -n "$CONVERT"; then
5685 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5686 else
5687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5688 for as_dir in $PATH
5690 IFS=$as_save_IFS
5691 test -z "$as_dir" && as_dir=.
5692 for ac_exec_ext in '' $ac_executable_extensions; do
5693 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5694 ac_cv_prog_CONVERT="$ac_prog"
5695 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5696 break 2
5698 done
5699 done
5700 IFS=$as_save_IFS
5704 CONVERT=$ac_cv_prog_CONVERT
5705 if test -n "$CONVERT"; then
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5707 $as_echo "$CONVERT" >&6; }
5708 else
5709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5710 $as_echo "no" >&6; }
5714 test -n "$CONVERT" && break
5715 done
5716 test -n "$CONVERT" || CONVERT="false"
5718 for ac_prog in icotool
5720 # Extract the first word of "$ac_prog", so it can be a program name with args.
5721 set dummy $ac_prog; ac_word=$2
5722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5723 $as_echo_n "checking for $ac_word... " >&6; }
5724 if ${ac_cv_prog_ICOTOOL+:} false; then :
5725 $as_echo_n "(cached) " >&6
5726 else
5727 if test -n "$ICOTOOL"; then
5728 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5729 else
5730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5731 for as_dir in $PATH
5733 IFS=$as_save_IFS
5734 test -z "$as_dir" && as_dir=.
5735 for ac_exec_ext in '' $ac_executable_extensions; do
5736 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5737 ac_cv_prog_ICOTOOL="$ac_prog"
5738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5739 break 2
5741 done
5742 done
5743 IFS=$as_save_IFS
5747 ICOTOOL=$ac_cv_prog_ICOTOOL
5748 if test -n "$ICOTOOL"; then
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5750 $as_echo "$ICOTOOL" >&6; }
5751 else
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5753 $as_echo "no" >&6; }
5757 test -n "$ICOTOOL" && break
5758 done
5759 test -n "$ICOTOOL" || ICOTOOL="false"
5761 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5762 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5764 if test "$CONVERT" = false
5765 then
5766 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5767 else
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5769 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5770 convert_version=`convert --version | head -n1`
5771 if test "x$convert_version" != "x"
5772 then
5773 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5774 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5775 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5776 then
5777 CONVERT=false
5780 if test "$CONVERT" = false
5781 then
5782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5783 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5784 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5785 else
5786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5787 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5791 if test "$ICOTOOL" = false
5792 then
5793 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5794 else
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5796 $as_echo_n "checking for recent enough icotool... " >&6; }
5797 icotool_version=`icotool --version | head -n1`
5798 if test "x$icotool_version" != "x"
5799 then
5800 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5801 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5802 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5803 then
5804 ICOTOOL=false
5805 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5808 if test "$ICOTOOL" = false
5809 then
5810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5811 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5812 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5813 else
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5815 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5819 with_gettext=yes
5820 with_gettextpo=yes
5821 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5824 test "x$with_gettext" != xno || MSGFMT=false
5825 if test "$MSGFMT" != "false"
5826 then
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5828 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5829 cat >conftest.po <<EOF
5830 # comment
5831 msgctxt "ctxt"
5832 msgid "id"
5833 msgstr "str"
5835 if $MSGFMT -o /dev/null conftest.po 2>&5
5836 then
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5838 $as_echo "yes" >&6; }
5839 else
5840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5841 $as_echo "no" >&6; }
5842 MSGFMT=false
5845 if test "$MSGFMT" = false; then :
5846 case "x$with_gettext" in
5847 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
5848 xno) ;;
5849 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
5850 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5851 esac
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5856 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5857 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
5858 $as_echo_n "(cached) " >&6
5859 else
5860 ac_check_lib_save_LIBS=$LIBS
5861 LIBS="-li386 $LIBS"
5862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5863 /* end confdefs.h. */
5865 /* Override any GCC internal prototype to avoid an error.
5866 Use char because int might match the return type of a GCC
5867 builtin and then its argument prototype would still apply. */
5868 #ifdef __cplusplus
5869 extern "C"
5870 #endif
5871 char i386_set_ldt ();
5873 main ()
5875 return i386_set_ldt ();
5877 return 0;
5879 _ACEOF
5880 if ac_fn_c_try_link "$LINENO"; then :
5881 ac_cv_lib_i386_i386_set_ldt=yes
5882 else
5883 ac_cv_lib_i386_i386_set_ldt=no
5885 rm -f core conftest.err conftest.$ac_objext \
5886 conftest$ac_exeext conftest.$ac_ext
5887 LIBS=$ac_check_lib_save_LIBS
5889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5890 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5891 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
5892 cat >>confdefs.h <<_ACEOF
5893 #define HAVE_LIBI386 1
5894 _ACEOF
5896 LIBS="-li386 $LIBS"
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5901 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5902 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
5903 $as_echo_n "(cached) " >&6
5904 else
5905 ac_check_lib_save_LIBS=$LIBS
5906 LIBS="-lossaudio $LIBS"
5907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5908 /* end confdefs.h. */
5910 /* Override any GCC internal prototype to avoid an error.
5911 Use char because int might match the return type of a GCC
5912 builtin and then its argument prototype would still apply. */
5913 #ifdef __cplusplus
5914 extern "C"
5915 #endif
5916 char _oss_ioctl ();
5918 main ()
5920 return _oss_ioctl ();
5922 return 0;
5924 _ACEOF
5925 if ac_fn_c_try_link "$LINENO"; then :
5926 ac_cv_lib_ossaudio__oss_ioctl=yes
5927 else
5928 ac_cv_lib_ossaudio__oss_ioctl=no
5930 rm -f core conftest.err conftest.$ac_objext \
5931 conftest$ac_exeext conftest.$ac_ext
5932 LIBS=$ac_check_lib_save_LIBS
5934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5935 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5936 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
5937 cat >>confdefs.h <<_ACEOF
5938 #define HAVE_LIBOSSAUDIO 1
5939 _ACEOF
5941 LIBS="-lossaudio $LIBS"
5946 XLIB=""
5948 OPENGL_LIBS=""
5952 test "x$with_fontconfig" != "xno" || ac_cv_header_fontconfig_fontconfig_h=no
5954 # Check whether --enable-largefile was given.
5955 if test "${enable_largefile+set}" = set; then :
5956 enableval=$enable_largefile;
5959 if test "$enable_largefile" != no; then
5961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5962 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5963 if ${ac_cv_sys_largefile_CC+:} false; then :
5964 $as_echo_n "(cached) " >&6
5965 else
5966 ac_cv_sys_largefile_CC=no
5967 if test "$GCC" != yes; then
5968 ac_save_CC=$CC
5969 while :; do
5970 # IRIX 6.2 and later do not support large files by default,
5971 # so use the C compiler's -n32 option if that helps.
5972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5973 /* end confdefs.h. */
5974 #include <sys/types.h>
5975 /* Check that off_t can represent 2**63 - 1 correctly.
5976 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5977 since some C++ compilers masquerading as C compilers
5978 incorrectly reject 9223372036854775807. */
5979 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5980 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5981 && LARGE_OFF_T % 2147483647 == 1)
5982 ? 1 : -1];
5984 main ()
5988 return 0;
5990 _ACEOF
5991 if ac_fn_c_try_compile "$LINENO"; then :
5992 break
5994 rm -f core conftest.err conftest.$ac_objext
5995 CC="$CC -n32"
5996 if ac_fn_c_try_compile "$LINENO"; then :
5997 ac_cv_sys_largefile_CC=' -n32'; break
5999 rm -f core conftest.err conftest.$ac_objext
6000 break
6001 done
6002 CC=$ac_save_CC
6003 rm -f conftest.$ac_ext
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6007 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6008 if test "$ac_cv_sys_largefile_CC" != no; then
6009 CC=$CC$ac_cv_sys_largefile_CC
6012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6013 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6014 if ${ac_cv_sys_file_offset_bits+:} false; then :
6015 $as_echo_n "(cached) " >&6
6016 else
6017 while :; do
6018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6019 /* end confdefs.h. */
6020 #include <sys/types.h>
6021 /* Check that off_t can represent 2**63 - 1 correctly.
6022 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6023 since some C++ compilers masquerading as C compilers
6024 incorrectly reject 9223372036854775807. */
6025 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6026 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6027 && LARGE_OFF_T % 2147483647 == 1)
6028 ? 1 : -1];
6030 main ()
6034 return 0;
6036 _ACEOF
6037 if ac_fn_c_try_compile "$LINENO"; then :
6038 ac_cv_sys_file_offset_bits=no; break
6040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6042 /* end confdefs.h. */
6043 #define _FILE_OFFSET_BITS 64
6044 #include <sys/types.h>
6045 /* Check that off_t can represent 2**63 - 1 correctly.
6046 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6047 since some C++ compilers masquerading as C compilers
6048 incorrectly reject 9223372036854775807. */
6049 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6050 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6051 && LARGE_OFF_T % 2147483647 == 1)
6052 ? 1 : -1];
6054 main ()
6058 return 0;
6060 _ACEOF
6061 if ac_fn_c_try_compile "$LINENO"; then :
6062 ac_cv_sys_file_offset_bits=64; break
6064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6065 ac_cv_sys_file_offset_bits=unknown
6066 break
6067 done
6069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6070 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6071 case $ac_cv_sys_file_offset_bits in #(
6072 no | unknown) ;;
6074 cat >>confdefs.h <<_ACEOF
6075 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6076 _ACEOF
6078 esac
6079 rm -rf conftest*
6080 if test $ac_cv_sys_file_offset_bits = unknown; then
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6082 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6083 if ${ac_cv_sys_large_files+:} false; then :
6084 $as_echo_n "(cached) " >&6
6085 else
6086 while :; do
6087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6088 /* end confdefs.h. */
6089 #include <sys/types.h>
6090 /* Check that off_t can represent 2**63 - 1 correctly.
6091 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6092 since some C++ compilers masquerading as C compilers
6093 incorrectly reject 9223372036854775807. */
6094 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6095 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6096 && LARGE_OFF_T % 2147483647 == 1)
6097 ? 1 : -1];
6099 main ()
6103 return 0;
6105 _ACEOF
6106 if ac_fn_c_try_compile "$LINENO"; then :
6107 ac_cv_sys_large_files=no; break
6109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6111 /* end confdefs.h. */
6112 #define _LARGE_FILES 1
6113 #include <sys/types.h>
6114 /* Check that off_t can represent 2**63 - 1 correctly.
6115 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6116 since some C++ compilers masquerading as C compilers
6117 incorrectly reject 9223372036854775807. */
6118 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6119 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6120 && LARGE_OFF_T % 2147483647 == 1)
6121 ? 1 : -1];
6123 main ()
6127 return 0;
6129 _ACEOF
6130 if ac_fn_c_try_compile "$LINENO"; then :
6131 ac_cv_sys_large_files=1; break
6133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6134 ac_cv_sys_large_files=unknown
6135 break
6136 done
6138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6139 $as_echo "$ac_cv_sys_large_files" >&6; }
6140 case $ac_cv_sys_large_files in #(
6141 no | unknown) ;;
6143 cat >>confdefs.h <<_ACEOF
6144 #define _LARGE_FILES $ac_cv_sys_large_files
6145 _ACEOF
6147 esac
6148 rm -rf conftest*
6155 ac_ext=c
6156 ac_cpp='$CPP $CPPFLAGS'
6157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6161 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6162 # On Suns, sometimes $CPP names a directory.
6163 if test -n "$CPP" && test -d "$CPP"; then
6164 CPP=
6166 if test -z "$CPP"; then
6167 if ${ac_cv_prog_CPP+:} false; then :
6168 $as_echo_n "(cached) " >&6
6169 else
6170 # Double quotes because CPP needs to be expanded
6171 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6173 ac_preproc_ok=false
6174 for ac_c_preproc_warn_flag in '' yes
6176 # Use a header file that comes with gcc, so configuring glibc
6177 # with a fresh cross-compiler works.
6178 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6179 # <limits.h> exists even on freestanding compilers.
6180 # On the NeXT, cc -E runs the code through the compiler's parser,
6181 # not just through cpp. "Syntax error" is here to catch this case.
6182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6183 /* end confdefs.h. */
6184 #ifdef __STDC__
6185 # include <limits.h>
6186 #else
6187 # include <assert.h>
6188 #endif
6189 Syntax error
6190 _ACEOF
6191 if ac_fn_c_try_cpp "$LINENO"; then :
6193 else
6194 # Broken: fails on valid input.
6195 continue
6197 rm -f conftest.err conftest.i conftest.$ac_ext
6199 # OK, works on sane cases. Now check whether nonexistent headers
6200 # can be detected and how.
6201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6202 /* end confdefs.h. */
6203 #include <ac_nonexistent.h>
6204 _ACEOF
6205 if ac_fn_c_try_cpp "$LINENO"; then :
6206 # Broken: success on invalid input.
6207 continue
6208 else
6209 # Passes both tests.
6210 ac_preproc_ok=:
6211 break
6213 rm -f conftest.err conftest.i conftest.$ac_ext
6215 done
6216 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6217 rm -f conftest.i conftest.err conftest.$ac_ext
6218 if $ac_preproc_ok; then :
6219 break
6222 done
6223 ac_cv_prog_CPP=$CPP
6226 CPP=$ac_cv_prog_CPP
6227 else
6228 ac_cv_prog_CPP=$CPP
6230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6231 $as_echo "$CPP" >&6; }
6232 ac_preproc_ok=false
6233 for ac_c_preproc_warn_flag in '' yes
6235 # Use a header file that comes with gcc, so configuring glibc
6236 # with a fresh cross-compiler works.
6237 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6238 # <limits.h> exists even on freestanding compilers.
6239 # On the NeXT, cc -E runs the code through the compiler's parser,
6240 # not just through cpp. "Syntax error" is here to catch this case.
6241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6242 /* end confdefs.h. */
6243 #ifdef __STDC__
6244 # include <limits.h>
6245 #else
6246 # include <assert.h>
6247 #endif
6248 Syntax error
6249 _ACEOF
6250 if ac_fn_c_try_cpp "$LINENO"; then :
6252 else
6253 # Broken: fails on valid input.
6254 continue
6256 rm -f conftest.err conftest.i conftest.$ac_ext
6258 # OK, works on sane cases. Now check whether nonexistent headers
6259 # can be detected and how.
6260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6261 /* end confdefs.h. */
6262 #include <ac_nonexistent.h>
6263 _ACEOF
6264 if ac_fn_c_try_cpp "$LINENO"; then :
6265 # Broken: success on invalid input.
6266 continue
6267 else
6268 # Passes both tests.
6269 ac_preproc_ok=:
6270 break
6272 rm -f conftest.err conftest.i conftest.$ac_ext
6274 done
6275 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6276 rm -f conftest.i conftest.err conftest.$ac_ext
6277 if $ac_preproc_ok; then :
6279 else
6280 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6281 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6282 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6283 See \`config.log' for more details" "$LINENO" 5; }
6286 ac_ext=c
6287 ac_cpp='$CPP $CPPFLAGS'
6288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6294 $as_echo_n "checking for ANSI C header files... " >&6; }
6295 if ${ac_cv_header_stdc+:} false; then :
6296 $as_echo_n "(cached) " >&6
6297 else
6298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6299 /* end confdefs.h. */
6300 #include <stdlib.h>
6301 #include <stdarg.h>
6302 #include <string.h>
6303 #include <float.h>
6306 main ()
6310 return 0;
6312 _ACEOF
6313 if ac_fn_c_try_compile "$LINENO"; then :
6314 ac_cv_header_stdc=yes
6315 else
6316 ac_cv_header_stdc=no
6318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6320 if test $ac_cv_header_stdc = yes; then
6321 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6323 /* end confdefs.h. */
6324 #include <string.h>
6326 _ACEOF
6327 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6328 $EGREP "memchr" >/dev/null 2>&1; then :
6330 else
6331 ac_cv_header_stdc=no
6333 rm -f conftest*
6337 if test $ac_cv_header_stdc = yes; then
6338 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6340 /* end confdefs.h. */
6341 #include <stdlib.h>
6343 _ACEOF
6344 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6345 $EGREP "free" >/dev/null 2>&1; then :
6347 else
6348 ac_cv_header_stdc=no
6350 rm -f conftest*
6354 if test $ac_cv_header_stdc = yes; then
6355 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6356 if test "$cross_compiling" = yes; then :
6358 else
6359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6360 /* end confdefs.h. */
6361 #include <ctype.h>
6362 #include <stdlib.h>
6363 #if ((' ' & 0x0FF) == 0x020)
6364 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6365 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6366 #else
6367 # define ISLOWER(c) \
6368 (('a' <= (c) && (c) <= 'i') \
6369 || ('j' <= (c) && (c) <= 'r') \
6370 || ('s' <= (c) && (c) <= 'z'))
6371 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6372 #endif
6374 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6376 main ()
6378 int i;
6379 for (i = 0; i < 256; i++)
6380 if (XOR (islower (i), ISLOWER (i))
6381 || toupper (i) != TOUPPER (i))
6382 return 2;
6383 return 0;
6385 _ACEOF
6386 if ac_fn_c_try_run "$LINENO"; then :
6388 else
6389 ac_cv_header_stdc=no
6391 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6392 conftest.$ac_objext conftest.beam conftest.$ac_ext
6397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6398 $as_echo "$ac_cv_header_stdc" >&6; }
6399 if test $ac_cv_header_stdc = yes; then
6401 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6405 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6406 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6407 inttypes.h stdint.h unistd.h
6408 do :
6409 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6410 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6412 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6413 cat >>confdefs.h <<_ACEOF
6414 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6415 _ACEOF
6419 done
6422 for ac_header in \
6423 AL/al.h \
6424 ApplicationServices/ApplicationServices.h \
6425 AudioToolbox/AudioConverter.h \
6426 AudioUnit/AudioUnit.h \
6427 AudioUnit/AudioComponent.h \
6428 CL/cl.h \
6429 Carbon/Carbon.h \
6430 CoreAudio/CoreAudio.h \
6431 CoreServices/CoreServices.h \
6432 DiskArbitration/DiskArbitration.h \
6433 IOKit/IOKitLib.h \
6434 IOKit/hid/IOHIDLib.h \
6435 OpenAL/al.h \
6436 OpenCL/opencl.h \
6437 QuickTime/ImageCompression.h \
6438 Security/Security.h \
6439 alias.h \
6440 alsa/asoundlib.h \
6441 arpa/inet.h \
6442 arpa/nameser.h \
6443 asm/types.h \
6444 asm/user.h \
6445 curses.h \
6446 direct.h \
6447 dirent.h \
6448 dlfcn.h \
6449 elf.h \
6450 float.h \
6451 fnmatch.h \
6452 fontconfig/fontconfig.h \
6453 getopt.h \
6454 gettext-po.h \
6455 grp.h \
6456 gsm.h \
6457 gsm/gsm.h \
6458 ieeefp.h \
6459 inet/mib2.h \
6460 io.h \
6461 kstat.h \
6462 lber.h \
6463 ldap.h \
6464 libproc.h \
6465 link.h \
6466 linux/cdrom.h \
6467 linux/compiler.h \
6468 linux/filter.h \
6469 linux/hdreg.h \
6470 linux/input.h \
6471 linux/ioctl.h \
6472 linux/joystick.h \
6473 linux/major.h \
6474 linux/param.h \
6475 linux/serial.h \
6476 linux/types.h \
6477 linux/ucdrom.h \
6478 lwp.h \
6479 mach-o/nlist.h \
6480 mach-o/loader.h \
6481 mach/mach.h \
6482 mach/machine.h \
6483 machine/cpu.h \
6484 machine/limits.h \
6485 machine/sysarch.h \
6486 mntent.h \
6487 ncurses.h \
6488 netdb.h \
6489 netinet/in.h \
6490 netinet/in_systm.h \
6491 netinet/tcp.h \
6492 netinet/tcp_fsm.h \
6493 poll.h \
6494 port.h \
6495 process.h \
6496 pthread.h \
6497 pwd.h \
6498 sched.h \
6499 scsi/scsi.h \
6500 scsi/scsi_ioctl.h \
6501 scsi/sg.h \
6502 stdbool.h \
6503 stdint.h \
6504 stropts.h \
6505 sys/asoundlib.h \
6506 sys/attr.h \
6507 sys/cdio.h \
6508 sys/elf32.h \
6509 sys/epoll.h \
6510 sys/event.h \
6511 sys/exec_elf.h \
6512 sys/filio.h \
6513 sys/inotify.h \
6514 sys/ioctl.h \
6515 sys/ipc.h \
6516 sys/limits.h \
6517 sys/link.h \
6518 sys/mman.h \
6519 sys/modem.h \
6520 sys/msg.h \
6521 sys/mtio.h \
6522 sys/param.h \
6523 sys/poll.h \
6524 sys/prctl.h \
6525 sys/protosw.h \
6526 sys/ptrace.h \
6527 sys/queue.h \
6528 sys/resource.h \
6529 sys/scsiio.h \
6530 sys/shm.h \
6531 sys/signal.h \
6532 sys/socket.h \
6533 sys/socketvar.h \
6534 sys/sockio.h \
6535 sys/statvfs.h \
6536 sys/strtio.h \
6537 sys/syscall.h \
6538 sys/tihdr.h \
6539 sys/time.h \
6540 sys/timeout.h \
6541 sys/times.h \
6542 sys/uio.h \
6543 sys/user.h \
6544 sys/utsname.h \
6545 sys/vm86.h \
6546 sys/wait.h \
6547 syscall.h \
6548 termios.h \
6549 unistd.h \
6550 utime.h \
6551 valgrind/memcheck.h \
6552 valgrind/valgrind.h \
6553 zlib.h
6555 do :
6556 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6557 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6558 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6559 cat >>confdefs.h <<_ACEOF
6560 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6561 _ACEOF
6565 done
6567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6568 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6569 if ${ac_cv_header_stat_broken+:} false; then :
6570 $as_echo_n "(cached) " >&6
6571 else
6572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6573 /* end confdefs.h. */
6574 #include <sys/types.h>
6575 #include <sys/stat.h>
6577 #if defined S_ISBLK && defined S_IFDIR
6578 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6579 #endif
6581 #if defined S_ISBLK && defined S_IFCHR
6582 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6583 #endif
6585 #if defined S_ISLNK && defined S_IFREG
6586 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6587 #endif
6589 #if defined S_ISSOCK && defined S_IFREG
6590 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6591 #endif
6593 _ACEOF
6594 if ac_fn_c_try_compile "$LINENO"; then :
6595 ac_cv_header_stat_broken=no
6596 else
6597 ac_cv_header_stat_broken=yes
6599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6602 $as_echo "$ac_cv_header_stat_broken" >&6; }
6603 if test $ac_cv_header_stat_broken = yes; then
6605 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6611 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6612 do :
6613 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6614 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6615 #ifdef HAVE_SYS_PARAM_H
6616 # include <sys/param.h>
6617 #endif
6619 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6620 cat >>confdefs.h <<_ACEOF
6621 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6622 _ACEOF
6626 done
6629 for ac_header in \
6630 netinet/ip.h \
6631 net/if.h \
6632 net/if_arp.h \
6633 net/if_dl.h \
6634 net/if_types.h \
6635 net/route.h \
6636 netinet/if_ether.h \
6637 netinet/if_inarp.h \
6638 netinet/in_pcb.h \
6639 netinet/ip_icmp.h \
6640 netinet/ip_var.h \
6641 netinet/udp.h \
6642 netipx/ipx.h \
6643 sys/un.h \
6645 do :
6646 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6647 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6648 #ifdef HAVE_SYS_SOCKET_H
6649 # include <sys/socket.h>
6650 #endif
6651 #ifdef HAVE_SYS_SOCKETVAR_H
6652 # include <sys/socketvar.h>
6653 #endif
6654 #ifdef HAVE_NET_ROUTE_H
6655 # include <net/route.h>
6656 #endif
6657 #ifdef HAVE_NETINET_IN_H
6658 # include <netinet/in.h>
6659 #endif
6660 #ifdef HAVE_NETINET_IN_SYSTM_H
6661 # include <netinet/in_systm.h>
6662 #endif
6663 #ifdef HAVE_NET_IF_H
6664 # include <net/if.h>
6665 #endif
6666 #ifdef HAVE_NETINET_IP_H
6667 # include <netinet/ip.h>
6668 #endif
6670 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6671 cat >>confdefs.h <<_ACEOF
6672 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6673 _ACEOF
6677 done
6680 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6681 do :
6682 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6683 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6684 #ifdef HAVE_ALIAS_H
6685 # include <alias.h>
6686 #endif
6687 #ifdef HAVE_SYS_SOCKET_H
6688 # include <sys/socket.h>
6689 #endif
6690 #ifdef HAVE_SYS_SOCKETVAR_H
6691 # include <sys/socketvar.h>
6692 #endif
6693 #ifdef HAVE_SYS_TIMEOUT_H
6694 # include <sys/timeout.h>
6695 #endif
6696 #ifdef HAVE_NETINET_IN_H
6697 # include <netinet/in.h>
6698 #endif
6699 #ifdef HAVE_NETINET_IN_SYSTM_H
6700 # include <netinet/in_systm.h>
6701 #endif
6702 #ifdef HAVE_NETINET_IP_H
6703 # include <netinet/ip.h>
6704 #endif
6705 #ifdef HAVE_NETINET_IP_VAR_H
6706 # include <netinet/ip_var.h>
6707 #endif
6708 #ifdef HAVE_NETINET_IP_ICMP_H
6709 # include <netinet/ip_icmp.h>
6710 #endif
6711 #ifdef HAVE_NETINET_UDP_H
6712 # include <netinet/udp.h>
6713 #endif
6714 #ifdef HAVE_NETINET_TCP_H
6715 # include <netinet/tcp.h>
6716 #endif
6717 #ifdef HAVE_NETINET_TCP_TIMER_H
6718 #include <netinet/tcp_timer.h>
6719 #endif
6721 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6722 cat >>confdefs.h <<_ACEOF
6723 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6724 _ACEOF
6728 done
6731 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6732 do :
6733 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6734 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6735 #ifdef HAVE_ASM_TYPES_H
6736 # include <asm/types.h>
6737 #endif
6738 #ifdef HAVE_SYS_SOCKET_H
6739 # include <sys/socket.h>
6740 #endif
6741 #ifdef HAVE_LINUX_TYPES_H
6742 # include <linux/types.h>
6743 #endif
6745 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6746 cat >>confdefs.h <<_ACEOF
6747 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6748 _ACEOF
6752 done
6755 for ac_header in mach-o/dyld_images.h
6756 do :
6757 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6758 # include <stdbool.h>
6759 #endif
6760 #ifdef HAVE_STDINT_H
6761 # include <stdint.h>
6762 #endif
6764 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6765 cat >>confdefs.h <<_ACEOF
6766 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6767 _ACEOF
6771 done
6774 for ac_header in resolv.h
6775 do :
6776 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6777 #ifdef HAVE_SYS_SOCKET_H
6778 # include <sys/socket.h>
6779 #endif
6780 #ifdef HAVE_NETINET_IN_H
6781 # include <netinet/in.h>
6782 #endif
6783 #ifdef HAVE_ARPA_NAMESER_H
6784 # include <arpa/nameser.h>
6785 #endif
6787 if test "x$ac_cv_header_resolv_h" = xyes; then :
6788 cat >>confdefs.h <<_ACEOF
6789 #define HAVE_RESOLV_H 1
6790 _ACEOF
6794 done
6797 for ac_header in ifaddrs.h
6798 do :
6799 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6801 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6802 cat >>confdefs.h <<_ACEOF
6803 #define HAVE_IFADDRS_H 1
6804 _ACEOF
6808 done
6811 for ac_header in ucontext.h
6812 do :
6813 ac_fn_c_check_header_compile "$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6815 if test "x$ac_cv_header_ucontext_h" = xyes; then :
6816 cat >>confdefs.h <<_ACEOF
6817 #define HAVE_UCONTEXT_H 1
6818 _ACEOF
6822 done
6825 for ac_header in sys/thr.h
6826 do :
6827 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6828 #ifdef HAVE_UCONTEXT_H
6829 #include <ucontext.h>
6830 #endif
6832 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
6833 cat >>confdefs.h <<_ACEOF
6834 #define HAVE_SYS_THR_H 1
6835 _ACEOF
6839 done
6842 for ac_header in pthread_np.h
6843 do :
6844 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6845 #include <pthread.h>
6846 #endif
6848 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
6849 cat >>confdefs.h <<_ACEOF
6850 #define HAVE_PTHREAD_NP_H 1
6851 _ACEOF
6855 done
6858 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
6859 do :
6860 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6861 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6862 #include <sys/time.h>
6863 #endif
6864 #include <sys/types.h>
6865 #ifdef HAVE_ASM_TYPES_H
6866 #include <asm/types.h>
6867 #endif
6869 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6870 cat >>confdefs.h <<_ACEOF
6871 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6872 _ACEOF
6876 done
6879 for ac_header in libprocstat.h
6880 do :
6881 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6882 #include <sys/param.h>
6883 #endif
6884 #ifdef HAVE_SYS_QUEUE_H
6885 #include <sys/queue.h>
6886 #endif
6887 #ifdef HAVE_SYS_SOCKET_H
6888 #include <sys/socket.h>
6889 #endif
6891 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
6892 cat >>confdefs.h <<_ACEOF
6893 #define HAVE_LIBPROCSTAT_H 1
6894 _ACEOF
6898 done
6902 dlldir="\${libdir}/wine"
6904 DLLPREFIX=""
6906 DLLFLAGS="-D_REENTRANT"
6908 LDRPATH_INSTALL=""
6910 LDRPATH_LOCAL=""
6912 LIBEXT="so"
6913 DLLEXT=".so"
6914 IMPLIBEXT="def"
6915 STATIC_IMPLIBEXT="def.a"
6916 # Extract the first word of "ldd", so it can be a program name with args.
6917 set dummy ldd; ac_word=$2
6918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6919 $as_echo_n "checking for $ac_word... " >&6; }
6920 if ${ac_cv_path_LDD+:} false; then :
6921 $as_echo_n "(cached) " >&6
6922 else
6923 case $LDD in
6924 [\\/]* | ?:[\\/]*)
6925 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
6928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6929 as_dummy="/sbin:/usr/sbin:$PATH"
6930 for as_dir in $as_dummy
6932 IFS=$as_save_IFS
6933 test -z "$as_dir" && as_dir=.
6934 for ac_exec_ext in '' $ac_executable_extensions; do
6935 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6936 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
6937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6938 break 2
6940 done
6941 done
6942 IFS=$as_save_IFS
6944 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
6946 esac
6948 LDD=$ac_cv_path_LDD
6949 if test -n "$LDD"; then
6950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6951 $as_echo "$LDD" >&6; }
6952 else
6953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6954 $as_echo "no" >&6; }
6958 if test -n "$ac_tool_prefix"; then
6959 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
6960 set dummy ${ac_tool_prefix}readelf; ac_word=$2
6961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6962 $as_echo_n "checking for $ac_word... " >&6; }
6963 if ${ac_cv_prog_READELF+:} false; then :
6964 $as_echo_n "(cached) " >&6
6965 else
6966 if test -n "$READELF"; then
6967 ac_cv_prog_READELF="$READELF" # Let the user override the test.
6968 else
6969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6970 for as_dir in $PATH
6972 IFS=$as_save_IFS
6973 test -z "$as_dir" && as_dir=.
6974 for ac_exec_ext in '' $ac_executable_extensions; do
6975 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6976 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
6977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6978 break 2
6980 done
6981 done
6982 IFS=$as_save_IFS
6986 READELF=$ac_cv_prog_READELF
6987 if test -n "$READELF"; then
6988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
6989 $as_echo "$READELF" >&6; }
6990 else
6991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6992 $as_echo "no" >&6; }
6997 if test -z "$ac_cv_prog_READELF"; then
6998 ac_ct_READELF=$READELF
6999 # Extract the first word of "readelf", so it can be a program name with args.
7000 set dummy readelf; ac_word=$2
7001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7002 $as_echo_n "checking for $ac_word... " >&6; }
7003 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7004 $as_echo_n "(cached) " >&6
7005 else
7006 if test -n "$ac_ct_READELF"; then
7007 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7008 else
7009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7010 for as_dir in $PATH
7012 IFS=$as_save_IFS
7013 test -z "$as_dir" && as_dir=.
7014 for ac_exec_ext in '' $ac_executable_extensions; do
7015 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7016 ac_cv_prog_ac_ct_READELF="readelf"
7017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7018 break 2
7020 done
7021 done
7022 IFS=$as_save_IFS
7026 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7027 if test -n "$ac_ct_READELF"; then
7028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7029 $as_echo "$ac_ct_READELF" >&6; }
7030 else
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7032 $as_echo "no" >&6; }
7035 if test "x$ac_ct_READELF" = x; then
7036 READELF="true"
7037 else
7038 case $cross_compiling:$ac_tool_warned in
7039 yes:)
7040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7041 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7042 ac_tool_warned=yes ;;
7043 esac
7044 READELF=$ac_ct_READELF
7046 else
7047 READELF="$ac_cv_prog_READELF"
7050 wine_rules_file=conf$$rules.make
7051 rm -f $wine_rules_file
7052 ALL_POT_FILES=""
7053 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7054 ALL_TEST_RESOURCES=""
7057 wine_fn_append_file ()
7059 as_fn_append $1 " \\$as_nl $2"
7062 wine_fn_ignore_file ()
7064 case "$1" in
7065 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7066 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7067 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7068 esac
7071 wine_fn_append_rule ()
7073 $as_echo "$1" >>$wine_rules_file
7076 wine_fn_has_flag ()
7078 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7081 wine_fn_depend_rules ()
7083 ac_alldeps=$1
7084 ac_makedep="\$(MAKEDEP)"
7085 ac_input=Make.vars.in:$ac_dir/Makefile.in
7086 case $1 in
7087 *.in)
7088 ac_input=$ac_input:$1
7089 test "$srcdir" = . || ac_alldeps="$srcdir/$ac_alldeps" ;;
7091 ac_makedep="$1 $ac_makedep" ;;
7092 esac
7094 wine_fn_append_rule \
7095 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status $ac_alldeps \$(MAKEDEP)
7096 @./config.status --file $ac_dir/Makefile:$ac_input && \$(MAKEDEP) -M $ac_dir
7097 depend: $ac_dir/depend
7098 .PHONY: $ac_dir/depend
7099 $ac_dir/depend: $ac_makedep dummy
7100 @./config.status --file $ac_dir/Makefile:$ac_input && \$(MAKEDEP) -M $ac_dir"
7103 wine_fn_pot_rules ()
7105 test "x$with_gettextpo" = xyes || return
7107 if wine_fn_has_flag mc
7108 then
7109 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7110 wine_fn_append_rule \
7111 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7112 @cd $ac_dir && \$(MAKE) msg.pot
7113 $ac_dir/msg.pot: tools/wmc include"
7115 if wine_fn_has_flag po
7116 then
7117 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7118 wine_fn_append_rule \
7119 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7120 @cd $ac_dir && \$(MAKE) rsrc.pot
7121 $ac_dir/rsrc.pot: tools/wrc include"
7125 wine_fn_all_rules ()
7127 ac_rules=$1
7129 wine_fn_depend_rules ${ac_rules:-Make.rules}
7130 wine_fn_append_rule \
7131 "all: $ac_dir
7132 .PHONY: $ac_dir
7133 $ac_dir: $ac_dir/Makefile dummy
7134 @cd $ac_dir && \$(MAKE)"
7137 wine_fn_install_rules ()
7139 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7141 wine_fn_append_rule \
7142 ".PHONY: $ac_dir/install $ac_dir/uninstall
7143 $ac_dir/install:: $ac_dir
7144 @cd $ac_dir && \$(MAKE) install
7145 $ac_dir/uninstall:: $ac_dir/Makefile
7146 @cd $ac_dir && \$(MAKE) uninstall
7147 install:: $ac_dir/install
7148 __uninstall__: $ac_dir/uninstall"
7150 if wine_fn_has_flag install-lib
7151 then
7152 wine_fn_append_rule \
7153 ".PHONY: $ac_dir/install-lib
7154 $ac_dir/install-lib:: $ac_dir
7155 @cd $ac_dir && \$(MAKE) install-lib
7156 install-lib:: $ac_dir/install-lib"
7159 if wine_fn_has_flag install-dev
7160 then
7161 wine_fn_append_rule \
7162 ".PHONY: $ac_dir/install-dev
7163 $ac_dir/install-dev:: $ac_dir
7164 @cd $ac_dir && \$(MAKE) install-dev
7165 install-dev:: $ac_dir/install-dev"
7169 wine_fn_clean_rules ()
7171 ac_clean=$@
7172 ac_extraclean="$ac_dir/Makefile"
7173 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7175 if wine_fn_has_flag clean
7176 then
7177 wine_fn_append_rule \
7178 "__clean__: $ac_dir/clean
7179 .PHONY: $ac_dir/clean
7180 $ac_dir/clean: $ac_dir/Makefile
7181 @cd $ac_dir && \$(MAKE) clean
7182 \$(RM) $ac_extraclean"
7183 else
7184 wine_fn_append_rule \
7185 "__clean__: $ac_dir/clean
7186 .PHONY: $ac_dir/clean
7187 $ac_dir/clean: dummy
7188 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7192 wine_fn_disabled_rules ()
7194 ac_clean=$@
7195 ac_extraclean="$ac_dir/Makefile"
7196 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7198 wine_fn_append_rule \
7199 "__clean__: $ac_dir/clean
7200 .PHONY: $ac_dir/clean
7201 $ac_dir/clean: dummy
7202 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7205 wine_fn_config_makefile ()
7207 ac_dir=$1
7208 ac_enable=$2
7209 ac_flags=$3
7211 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7212 wine_fn_disabled_rules; return
7214 wine_fn_all_rules
7215 wine_fn_install_rules
7216 wine_fn_clean_rules
7219 wine_fn_config_lib ()
7221 ac_name=$1
7222 ac_flags=$2
7223 ac_dir=dlls/$ac_name
7224 ac_deps="include"
7226 if test "x$enable_tools" = xno; then :
7228 else
7229 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7231 wine_fn_all_rules Make.rules.in
7232 wine_fn_clean_rules
7234 wine_fn_append_rule \
7235 ".PHONY: $ac_dir/install $ac_dir/uninstall
7236 $ac_dir/install:: $ac_dir
7237 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7238 $ac_dir/uninstall::
7239 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7240 install install-dev:: $ac_dir/install
7241 __uninstall__: $ac_dir/uninstall
7242 __builddeps__: $ac_dir
7243 $ac_dir: $ac_deps"
7246 wine_fn_config_dll ()
7248 ac_name=$1
7249 ac_dir=dlls/$ac_name
7250 ac_enable=$2
7251 ac_flags=$3
7252 ac_implib=${4:-$ac_name}
7253 ac_file=$ac_dir/lib$ac_implib
7254 ac_dll=$ac_name
7255 ac_deps="include"
7256 ac_implibflags=""
7258 if test "x$enable_tools" = xno; then :
7260 else
7261 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7263 case $ac_name in
7264 *16) ac_implibflags=" -m16" ;;
7265 *.*) ;;
7266 *) ac_dll=$ac_dll.dll ;;
7267 esac
7269 ac_clean=
7270 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7271 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7272 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7273 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7275 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7276 if wine_fn_has_flag implib && test "$ac_enable" != enable_win16
7277 then
7278 wine_fn_depend_rules Make.rules.in
7279 wine_fn_clean_rules $ac_clean
7280 else
7281 wine_fn_disabled_rules $ac_clean
7282 return
7284 else
7285 wine_fn_all_rules Make.rules.in
7286 wine_fn_clean_rules $ac_clean
7287 wine_fn_append_rule \
7288 "$ac_dir: __builddeps__
7289 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7290 @cd $ac_dir && \$(MAKE) \$@
7291 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7292 install install-lib:: $ac_dir/install-lib
7293 __uninstall__: $ac_dir/uninstall"
7294 if test -n "$DLLEXT"
7295 then
7296 wine_fn_append_rule \
7297 "$ac_dir/install-lib:: $ac_dir
7298 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7299 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7300 $ac_dir/uninstall::
7301 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7302 else
7303 wine_fn_append_rule \
7304 "$ac_dir/install-lib:: $ac_dir
7305 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7306 $ac_dir/uninstall::
7307 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7310 wine_fn_pot_rules
7313 if wine_fn_has_flag staticimplib
7314 then
7315 wine_fn_append_rule \
7316 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7317 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7318 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7319 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7320 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7321 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7322 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7323 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7324 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7325 $ac_dir/uninstall::
7326 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7327 install install-dev:: $ac_dir/install-dev
7328 __uninstall__: $ac_dir/uninstall"
7330 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7331 then
7332 wine_fn_append_rule \
7333 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7334 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7335 $ac_dir/uninstall::
7336 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7339 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7340 then
7341 wine_fn_append_rule \
7342 "__builddeps__: $ac_file.cross.a
7343 $ac_file.cross.a: $ac_dir/Makefile dummy
7344 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7347 elif wine_fn_has_flag implib
7348 then
7349 wine_fn_append_rule \
7350 "__builddeps__: $ac_file.$IMPLIBEXT
7351 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7352 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7353 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7354 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7355 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7356 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7357 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7358 $ac_dir/uninstall::
7359 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7360 install install-dev:: $ac_dir/install-dev
7361 __uninstall__: $ac_dir/uninstall"
7362 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7363 then
7364 wine_fn_append_rule \
7365 "__builddeps__: $ac_file.cross.a
7366 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7367 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7370 if test "$ac_name" != "$ac_implib"
7371 then
7372 wine_fn_append_rule \
7373 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7374 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7375 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7376 clean::
7377 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7378 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7379 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7380 then
7381 wine_fn_append_rule \
7382 "__builddeps__: dlls/lib$ac_implib.cross.a
7383 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7384 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7385 clean::
7386 \$(RM) dlls/lib$ac_implib.cross.a"
7387 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7393 wine_fn_config_program ()
7395 ac_name=$1
7396 ac_dir=programs/$ac_name
7397 ac_enable=$2
7398 ac_flags=$3
7399 ac_program=$ac_name
7401 case $ac_name in
7402 *.*) ;;
7403 *) ac_program=$ac_program.exe ;;
7404 esac
7406 ac_clean=
7407 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7408 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7409 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7410 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7412 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7413 wine_fn_disabled_rules $ac_clean; return
7416 wine_fn_all_rules Make.rules.in
7417 wine_fn_clean_rules $ac_clean
7418 wine_fn_append_rule "$ac_dir: __builddeps__"
7419 wine_fn_pot_rules
7421 wine_fn_has_flag install || return
7422 wine_fn_append_rule \
7423 ".PHONY: $ac_dir/install $ac_dir/uninstall
7424 install install-lib:: $ac_dir/install
7425 __uninstall__: $ac_dir/uninstall"
7427 if test -n "$DLLEXT"
7428 then
7429 wine_fn_append_rule \
7430 "$ac_dir/install:: $ac_dir
7431 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7432 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7433 $ac_dir/uninstall::
7434 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7436 if test -z "$with_wine64" && wine_fn_has_flag installbin
7437 then
7438 wine_fn_append_rule \
7439 "$ac_dir/install:: __tooldeps__
7440 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7441 $ac_dir/uninstall::
7442 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7444 else
7445 wine_fn_append_rule \
7446 "$ac_dir/install:: $ac_dir
7447 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7448 $ac_dir/uninstall::
7449 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7452 if test -z "$with_wine64" && wine_fn_has_flag manpage
7453 then
7454 wine_fn_append_rule \
7455 "$ac_dir/install:: $ac_dir
7456 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7457 $ac_dir/uninstall::
7458 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7462 wine_fn_config_test ()
7464 ac_dir=$1
7465 ac_name=$2
7466 ac_flags=$3
7468 ac_clean=
7469 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7470 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7471 ac_clean="$ac_clean $ac_dir/testlist.c"
7473 if test "x$enable_tests" = xno; then :
7474 wine_fn_disabled_rules $ac_clean; return
7477 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7478 wine_fn_all_rules Make.rules.in
7479 wine_fn_clean_rules $ac_clean
7481 wine_fn_append_rule \
7482 "$ac_dir: programs/winetest/Makefile __builddeps__
7483 programs/winetest: $ac_dir
7484 check test: $ac_dir/test
7485 .PHONY: $ac_dir/test
7486 $ac_dir/test: dummy
7487 @cd $ac_dir && \$(MAKE) test
7488 testclean::
7489 \$(RM) $ac_dir/*.ok"
7491 if test -n "$CROSSTARGET"
7492 then
7493 wine_fn_append_rule \
7494 "crosstest: $ac_dir/crosstest
7495 .PHONY: $ac_dir/crosstest
7496 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7497 @cd $ac_dir && \$(MAKE) crosstest"
7501 wine_fn_config_tool ()
7503 ac_dir=$1
7504 ac_flags=$2
7505 if test "x$enable_tools" = xno; then :
7506 return
7509 wine_fn_all_rules
7510 wine_fn_install_rules
7511 wine_fn_clean_rules
7513 wine_fn_append_rule "__tooldeps__: $ac_dir"
7514 wine_fn_append_rule "$ac_dir: libs/port"
7515 case $ac_dir in
7516 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7517 esac
7520 wine_fn_config_makerules ()
7522 ac_rules=$1
7523 ac_deps=$2
7524 wine_fn_append_rule \
7525 "$ac_rules: $srcdir/$ac_rules.in $ac_deps config.status
7526 @./config.status $ac_rules
7527 distclean::
7528 \$(RM) $ac_rules"
7529 wine_fn_ignore_file $ac_rules
7532 wine_fn_config_symlink ()
7534 ac_linkdir=
7535 if test "x$1" = "x-d"
7536 then
7537 ac_linkdir=$2
7538 shift; shift
7540 ac_links=$@
7541 wine_fn_append_rule \
7542 "$ac_links:
7543 @./config.status \$@
7544 distclean::
7545 \$(RM) $ac_links"
7546 for f in $ac_links; do wine_fn_ignore_file $f; done
7547 test -n "$ac_linkdir" || return
7548 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7551 wine_binary="wine"
7552 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7553 loader_programs="$wine_binary wine-installed"
7554 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7556 LOADER_RULES="
7557 install install-lib:: wine-installed
7558 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7560 uninstall::
7561 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7565 case $host_os in
7566 cygwin*|mingw32*)
7567 if test -n "$ac_tool_prefix"; then
7568 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7569 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7571 $as_echo_n "checking for $ac_word... " >&6; }
7572 if ${ac_cv_prog_DLLTOOL+:} false; then :
7573 $as_echo_n "(cached) " >&6
7574 else
7575 if test -n "$DLLTOOL"; then
7576 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7577 else
7578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7579 for as_dir in $PATH
7581 IFS=$as_save_IFS
7582 test -z "$as_dir" && as_dir=.
7583 for ac_exec_ext in '' $ac_executable_extensions; do
7584 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7585 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7586 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7587 break 2
7589 done
7590 done
7591 IFS=$as_save_IFS
7595 DLLTOOL=$ac_cv_prog_DLLTOOL
7596 if test -n "$DLLTOOL"; then
7597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7598 $as_echo "$DLLTOOL" >&6; }
7599 else
7600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7601 $as_echo "no" >&6; }
7606 if test -z "$ac_cv_prog_DLLTOOL"; then
7607 ac_ct_DLLTOOL=$DLLTOOL
7608 # Extract the first word of "dlltool", so it can be a program name with args.
7609 set dummy dlltool; ac_word=$2
7610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7611 $as_echo_n "checking for $ac_word... " >&6; }
7612 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7613 $as_echo_n "(cached) " >&6
7614 else
7615 if test -n "$ac_ct_DLLTOOL"; then
7616 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7617 else
7618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7619 for as_dir in $PATH
7621 IFS=$as_save_IFS
7622 test -z "$as_dir" && as_dir=.
7623 for ac_exec_ext in '' $ac_executable_extensions; do
7624 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7625 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7626 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7627 break 2
7629 done
7630 done
7631 IFS=$as_save_IFS
7635 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7636 if test -n "$ac_ct_DLLTOOL"; then
7637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7638 $as_echo "$ac_ct_DLLTOOL" >&6; }
7639 else
7640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7641 $as_echo "no" >&6; }
7644 if test "x$ac_ct_DLLTOOL" = x; then
7645 DLLTOOL="false"
7646 else
7647 case $cross_compiling:$ac_tool_warned in
7648 yes:)
7649 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7650 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7651 ac_tool_warned=yes ;;
7652 esac
7653 DLLTOOL=$ac_ct_DLLTOOL
7655 else
7656 DLLTOOL="$ac_cv_prog_DLLTOOL"
7659 LIBEXT="dll"
7660 DLLEXT=""
7661 IMPLIBEXT="a"
7662 STATIC_IMPLIBEXT="a"
7663 enable_iphlpapi=${enable_iphlpapi:-no}
7664 enable_kernel32=${enable_kernel32:-no}
7665 enable_msvcrt=${enable_msvcrt:-no}
7666 enable_ntdll=${enable_ntdll:-no}
7667 enable_ws2_32=${enable_ws2_32:-no}
7668 enable_loader=${enable_loader:-no}
7669 enable_server=${enable_server:-no}
7670 with_x=${with_x:-no}
7671 with_pthread=${with_pthread:-no}
7673 crtlibs=""
7674 case $host_os in
7675 mingw32*)
7676 crtlibs="-lmsvcrt"
7677 SOCKETLIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7679 esac
7681 libwine_targets="libwine.dll libwine.a"
7682 LIBWINE_RULES="
7683 all: libwine.dll libwine.a
7685 libwine.a: \$(srcdir)/wine.def
7686 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7688 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7689 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7691 install install-lib:: libwine.dll
7692 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7694 install install-dev:: libwine.a
7695 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7697 uninstall::
7698 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7703 darwin*|macosx*)
7704 LIBEXT="dylib"
7705 DLLFLAGS="$DLLFLAGS -fPIC"
7706 LIBWINE_LDFLAGS="-multiply_defined suppress"
7707 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7708 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7709 COREFOUNDATIONLIB="-framework CoreFoundation"
7711 IOKITLIB="-framework IOKit -framework CoreFoundation"
7713 FORCEFEEDBACKLIB="-framework ForceFeedback -framework CoreFoundation"
7715 APPLICATIONSERVICESLIB="-framework ApplicationServices"
7717 CORESERVICESLIB="-framework CoreServices"
7719 APPKITLIB="-framework AppKit"
7721 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7722 case $host_os in
7723 darwin11*) LDEXECFLAGS="-Wl,-macosx_version_min,10.6 $LDEXECFLAGS" ;;
7724 esac
7725 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7726 then
7727 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
7730 if test "$ac_cv_header_Security_Security_h" = "yes"
7731 then
7732 SECURITYLIB="-framework Security -framework CoreFoundation"
7734 ac_save_LIBS="$LIBS"
7735 LIBS="$LIBS $SECURITYLIB"
7736 for ac_func in SSLCopyPeerCertificates
7737 do :
7738 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7739 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
7740 cat >>confdefs.h <<_ACEOF
7741 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7742 _ACEOF
7745 done
7747 LIBS="$ac_save_LIBS"
7748 with_gnutls=${with_gnutls:-no}
7750 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7751 then
7752 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7753 then
7754 COREAUDIO="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7756 else
7757 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7760 ac_save_LIBS="$LIBS"
7761 LIBS="$LIBS $COREAUDIO"
7762 for ac_func in AUGraphAddNode
7763 do :
7764 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7765 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
7766 cat >>confdefs.h <<_ACEOF
7767 #define HAVE_AUGRAPHADDNODE 1
7768 _ACEOF
7771 done
7773 LIBS="$ac_save_LIBS"
7775 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7776 then
7777 FRAMEWORK_OPENAL="-framework OpenAL"
7780 cat >>confdefs.h <<_ACEOF
7781 #define HAVE_OPENAL 1
7782 _ACEOF
7784 ac_cv_lib_openal=yes
7786 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7787 then
7788 LIBOPENCL="-framework OpenCL"
7790 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
7792 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7793 then
7794 ac_save_LIBS="$LIBS"
7795 LIBS="$LIBS $IOKITLIB"
7796 for ac_func in IOHIDManagerCreate
7797 do :
7798 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7799 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
7800 cat >>confdefs.h <<_ACEOF
7801 #define HAVE_IOHIDMANAGERCREATE 1
7802 _ACEOF
7805 done
7807 LIBS="$ac_save_LIBS"
7809 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7810 then
7811 QUICKTIMELIB="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7813 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
7814 else
7815 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7817 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7818 then
7819 CARBONLIB="-framework Carbon"
7823 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7824 then
7825 ac_save_LIBS="$LIBS"
7826 LIBS="$LIBS $APPLICATIONSERVICESLIB"
7827 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7828 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
7829 enable_winemac_drv=${enable_winemac_drv:-yes}
7832 LIBS="$ac_save_LIBS"
7835 if test "x$enable_win16" = "xyes"
7836 then
7837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7838 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7839 if test "$cross_compiling" = yes; then :
7840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7841 $as_echo "cross-compiling, assuming yes" >&6; }
7842 else
7843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7844 /* end confdefs.h. */
7845 asm(".text\n"
7846 "bad:\tnop;nop\n"
7847 "good:\tnop;nop\n\t"
7848 ".globl _testfunc\n"
7849 "_testfunc:\tcallw good");
7850 extern void testfunc();
7852 main ()
7854 unsigned short *p = (unsigned short *)testfunc;
7855 return p[0] != 0xe866 || p[1] != 0xfffa
7857 return 0;
7859 _ACEOF
7860 if ac_fn_c_try_run "$LINENO"; then :
7861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7862 $as_echo "yes" >&6; }
7863 else
7864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7865 $as_echo "no" >&6; }
7866 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
7868 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7869 conftest.$ac_objext conftest.beam conftest.$ac_ext
7874 libwine_targets="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
7875 LIBWINE_RULES="
7876 all: libwine.dylib
7878 libwine.$libwine_version.dylib: \$(OBJS)
7879 \$(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 \$@
7881 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
7882 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
7884 libwine.dylib: libwine.$libwine_soversion.dylib
7885 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
7887 install install-lib:: libwine.$libwine_version.dylib
7888 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
7889 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
7891 install install-dev::
7892 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
7894 uninstall::
7895 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
7899 as_fn_append LOADER_RULES "
7900 $wine_binary: main.o wine_info.plist
7901 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7903 wine-installed: main.o wine_info.plist
7904 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7908 linux-android*)
7909 DLLFLAGS="$DLLFLAGS -fPIC"
7910 DLLPREFIX="lib"
7911 LDEXECFLAGS=""
7912 dlldir="\${libdir}"
7913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7914 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7915 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
7916 $as_echo_n "(cached) " >&6
7917 else
7918 ac_wine_try_cflags_saved=$CFLAGS
7919 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
7920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7921 /* end confdefs.h. */
7922 int main(int argc, char **argv) { return 0; }
7923 _ACEOF
7924 if ac_fn_c_try_link "$LINENO"; then :
7925 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
7926 else
7927 ac_cv_cflags__fPIC__Wl___export_dynamic=no
7929 rm -f core conftest.err conftest.$ac_objext \
7930 conftest$ac_exeext conftest.$ac_ext
7931 CFLAGS=$ac_wine_try_cflags_saved
7933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7934 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7935 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
7936 LDEXECFLAGS="-Wl,--export-dynamic"
7938 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7940 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7941 if eval \${$as_ac_var+:} false; then :
7942 $as_echo_n "(cached) " >&6
7943 else
7944 ac_wine_try_cflags_saved=$CFLAGS
7945 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7947 /* end confdefs.h. */
7948 int main(int argc, char **argv) { return 0; }
7949 _ACEOF
7950 if ac_fn_c_try_link "$LINENO"; then :
7951 eval "$as_ac_var=yes"
7952 else
7953 eval "$as_ac_var=no"
7955 rm -f core conftest.err conftest.$ac_objext \
7956 conftest$ac_exeext conftest.$ac_ext
7957 CFLAGS=$ac_wine_try_cflags_saved
7959 eval ac_res=\$$as_ac_var
7960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7961 $as_echo "$ac_res" >&6; }
7962 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7963 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7964 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7965 else
7966 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7968 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7969 if eval \${$as_ac_var+:} false; then :
7970 $as_echo_n "(cached) " >&6
7971 else
7972 ac_wine_try_cflags_saved=$CFLAGS
7973 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7975 /* end confdefs.h. */
7976 int main(int argc, char **argv) { return 0; }
7977 _ACEOF
7978 if ac_fn_c_try_link "$LINENO"; then :
7979 eval "$as_ac_var=yes"
7980 else
7981 eval "$as_ac_var=no"
7983 rm -f core conftest.err conftest.$ac_objext \
7984 conftest$ac_exeext conftest.$ac_ext
7985 CFLAGS=$ac_wine_try_cflags_saved
7987 eval ac_res=\$$as_ac_var
7988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7989 $as_echo "$ac_res" >&6; }
7990 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7991 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7992 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7997 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7998 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
7999 $as_echo_n "(cached) " >&6
8000 else
8001 ac_wine_try_cflags_saved=$CFLAGS
8002 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8004 /* end confdefs.h. */
8005 int main(int argc, char **argv) { return 0; }
8006 _ACEOF
8007 if ac_fn_c_try_link "$LINENO"; then :
8008 ac_cv_cflags__Wl___enable_new_dtags=yes
8009 else
8010 ac_cv_cflags__Wl___enable_new_dtags=no
8012 rm -f core conftest.err conftest.$ac_objext \
8013 conftest$ac_exeext conftest.$ac_ext
8014 CFLAGS=$ac_wine_try_cflags_saved
8016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8017 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8018 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
8019 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8022 case $host_cpu in
8023 *i[3456789]86* | x86_64)
8024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8025 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8026 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8027 $as_echo_n "(cached) " >&6
8028 else
8029 ac_wine_try_cflags_saved=$CFLAGS
8030 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8032 /* end confdefs.h. */
8033 int main(int argc, char **argv) { return 0; }
8034 _ACEOF
8035 if ac_fn_c_try_link "$LINENO"; then :
8036 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8037 else
8038 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8040 rm -f core conftest.err conftest.$ac_objext \
8041 conftest$ac_exeext conftest.$ac_ext
8042 CFLAGS=$ac_wine_try_cflags_saved
8044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8045 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8046 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
8047 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8050 esac
8052 libwine_targets="libwine.so"
8053 LIBWINE_RULES="
8054 all: libwine.so
8056 libwine.so: \$(OBJS)
8057 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8059 install install-lib:: libwine.so
8060 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8062 uninstall::
8063 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8067 as_fn_append LOADER_RULES "
8068 $wine_binary: main.o
8069 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8071 wine-installed: main.o
8072 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8077 DLLFLAGS="$DLLFLAGS -fPIC"
8078 LDEXECFLAGS=""
8079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8080 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8081 if ${ac_cv_c_dll_gnuelf+:} false; then :
8082 $as_echo_n "(cached) " >&6
8083 else
8084 ac_wine_try_cflags_saved=$CFLAGS
8085 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8087 /* end confdefs.h. */
8088 void myfunc() {}
8089 _ACEOF
8090 if ac_fn_c_try_link "$LINENO"; then :
8091 ac_cv_c_dll_gnuelf="yes"
8092 else
8093 ac_cv_c_dll_gnuelf="no"
8095 rm -f core conftest.err conftest.$ac_objext \
8096 conftest$ac_exeext conftest.$ac_ext
8097 CFLAGS=$ac_wine_try_cflags_saved
8099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8100 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8101 if test "$ac_cv_c_dll_gnuelf" = "yes"
8102 then
8103 LDSHARED="\$(CC) -shared"
8104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8105 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8106 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8107 $as_echo_n "(cached) " >&6
8108 else
8109 ac_wine_try_cflags_saved=$CFLAGS
8110 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8112 /* end confdefs.h. */
8113 int main(int argc, char **argv) { return 0; }
8114 _ACEOF
8115 if ac_fn_c_try_link "$LINENO"; then :
8116 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8117 else
8118 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8120 rm -f core conftest.err conftest.$ac_objext \
8121 conftest$ac_exeext conftest.$ac_ext
8122 CFLAGS=$ac_wine_try_cflags_saved
8124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8125 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8126 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then :
8127 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8128 else
8129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8130 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8131 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8132 $as_echo_n "(cached) " >&6
8133 else
8134 ac_wine_try_cflags_saved=$CFLAGS
8135 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8137 /* end confdefs.h. */
8138 int main(int argc, char **argv) { return 0; }
8139 _ACEOF
8140 if ac_fn_c_try_link "$LINENO"; then :
8141 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8142 else
8143 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8145 rm -f core conftest.err conftest.$ac_objext \
8146 conftest$ac_exeext conftest.$ac_ext
8147 CFLAGS=$ac_wine_try_cflags_saved
8149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8150 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8151 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then :
8152 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8156 echo '{ global: *; };' >conftest.map
8157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8158 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8159 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8160 $as_echo_n "(cached) " >&6
8161 else
8162 ac_wine_try_cflags_saved=$CFLAGS
8163 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8165 /* end confdefs.h. */
8166 int main(int argc, char **argv) { return 0; }
8167 _ACEOF
8168 if ac_fn_c_try_link "$LINENO"; then :
8169 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8170 else
8171 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8173 rm -f core conftest.err conftest.$ac_objext \
8174 conftest$ac_exeext conftest.$ac_ext
8175 CFLAGS=$ac_wine_try_cflags_saved
8177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8178 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8179 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then :
8180 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8182 rm -f conftest.map
8184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8185 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8186 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8187 $as_echo_n "(cached) " >&6
8188 else
8189 ac_wine_try_cflags_saved=$CFLAGS
8190 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8192 /* end confdefs.h. */
8193 int main(int argc, char **argv) { return 0; }
8194 _ACEOF
8195 if ac_fn_c_try_link "$LINENO"; then :
8196 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8197 else
8198 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8200 rm -f core conftest.err conftest.$ac_objext \
8201 conftest$ac_exeext conftest.$ac_ext
8202 CFLAGS=$ac_wine_try_cflags_saved
8204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8205 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8206 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
8207 LDEXECFLAGS="-Wl,--export-dynamic"
8210 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8212 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8213 if eval \${$as_ac_var+:} false; then :
8214 $as_echo_n "(cached) " >&6
8215 else
8216 ac_wine_try_cflags_saved=$CFLAGS
8217 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8219 /* end confdefs.h. */
8220 int main(int argc, char **argv) { return 0; }
8221 _ACEOF
8222 if ac_fn_c_try_link "$LINENO"; then :
8223 eval "$as_ac_var=yes"
8224 else
8225 eval "$as_ac_var=no"
8227 rm -f core conftest.err conftest.$ac_objext \
8228 conftest$ac_exeext conftest.$ac_ext
8229 CFLAGS=$ac_wine_try_cflags_saved
8231 eval ac_res=\$$as_ac_var
8232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8233 $as_echo "$ac_res" >&6; }
8234 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
8235 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8236 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8237 else
8238 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8240 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8241 if eval \${$as_ac_var+:} false; then :
8242 $as_echo_n "(cached) " >&6
8243 else
8244 ac_wine_try_cflags_saved=$CFLAGS
8245 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8247 /* end confdefs.h. */
8248 int main(int argc, char **argv) { return 0; }
8249 _ACEOF
8250 if ac_fn_c_try_link "$LINENO"; then :
8251 eval "$as_ac_var=yes"
8252 else
8253 eval "$as_ac_var=no"
8255 rm -f core conftest.err conftest.$ac_objext \
8256 conftest$ac_exeext conftest.$ac_ext
8257 CFLAGS=$ac_wine_try_cflags_saved
8259 eval ac_res=\$$as_ac_var
8260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8261 $as_echo "$ac_res" >&6; }
8262 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
8263 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8264 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8269 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8270 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8271 $as_echo_n "(cached) " >&6
8272 else
8273 ac_wine_try_cflags_saved=$CFLAGS
8274 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8276 /* end confdefs.h. */
8277 int main(int argc, char **argv) { return 0; }
8278 _ACEOF
8279 if ac_fn_c_try_link "$LINENO"; then :
8280 ac_cv_cflags__Wl___enable_new_dtags=yes
8281 else
8282 ac_cv_cflags__Wl___enable_new_dtags=no
8284 rm -f core conftest.err conftest.$ac_objext \
8285 conftest$ac_exeext conftest.$ac_ext
8286 CFLAGS=$ac_wine_try_cflags_saved
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8289 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8290 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
8291 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8294 case $host_cpu in
8295 *i[3456789]86* | x86_64)
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8297 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8298 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8299 $as_echo_n "(cached) " >&6
8300 else
8301 ac_wine_try_cflags_saved=$CFLAGS
8302 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8304 /* end confdefs.h. */
8305 int main(int argc, char **argv) { return 0; }
8306 _ACEOF
8307 if ac_fn_c_try_link "$LINENO"; then :
8308 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8309 else
8310 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8312 rm -f core conftest.err conftest.$ac_objext \
8313 conftest$ac_exeext conftest.$ac_ext
8314 CFLAGS=$ac_wine_try_cflags_saved
8316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8317 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8318 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
8319 case $host_os in
8320 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8321 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8322 esac
8325 # Extract the first word of "prelink", so it can be a program name with args.
8326 set dummy prelink; ac_word=$2
8327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8328 $as_echo_n "checking for $ac_word... " >&6; }
8329 if ${ac_cv_path_PRELINK+:} false; then :
8330 $as_echo_n "(cached) " >&6
8331 else
8332 case $PRELINK in
8333 [\\/]* | ?:[\\/]*)
8334 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8338 for as_dir in /sbin /usr/sbin $PATH
8340 IFS=$as_save_IFS
8341 test -z "$as_dir" && as_dir=.
8342 for ac_exec_ext in '' $ac_executable_extensions; do
8343 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8344 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8345 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8346 break 2
8348 done
8349 done
8350 IFS=$as_save_IFS
8352 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8354 esac
8356 PRELINK=$ac_cv_path_PRELINK
8357 if test -n "$PRELINK"; then
8358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8359 $as_echo "$PRELINK" >&6; }
8360 else
8361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8362 $as_echo "no" >&6; }
8366 if test "x$PRELINK" = xfalse
8367 then
8368 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
8371 esac
8373 else
8374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8375 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8376 if ${ac_cv_c_dll_unixware+:} false; then :
8377 $as_echo_n "(cached) " >&6
8378 else
8379 ac_wine_try_cflags_saved=$CFLAGS
8380 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8382 /* end confdefs.h. */
8383 void myfunc() {}
8384 _ACEOF
8385 if ac_fn_c_try_link "$LINENO"; then :
8386 ac_cv_c_dll_unixware="yes"
8387 else
8388 ac_cv_c_dll_unixware="no"
8390 rm -f core conftest.err conftest.$ac_objext \
8391 conftest$ac_exeext conftest.$ac_ext
8392 CFLAGS=$ac_wine_try_cflags_saved
8394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8395 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8396 if test "$ac_cv_c_dll_unixware" = "yes"
8397 then
8398 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8401 libwine_targets="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8402 LIBWINE_RULES="
8403 all: libwine.so
8405 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8406 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8408 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8409 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8411 libwine.so: libwine.so.$libwine_soversion
8412 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8414 install install-lib:: libwine.so.$libwine_version
8415 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8416 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8418 install install-dev::
8419 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8421 uninstall::
8422 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8426 as_fn_append LOADER_RULES "
8427 $wine_binary: main.o
8428 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8430 wine-installed: main.o
8431 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8434 esac
8436 as_fn_append LIBWINE_RULES "
8437 EXTRA_TARGETS = $libwine_targets
8440 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8441 enable_winemac_drv=${enable_winemac_drv:-no}
8443 CROSSTARGET=""
8445 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8446 then
8447 case "$host_cpu" in
8448 i[3456789]86*)
8449 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
8450 mingw32-gcc" ;;
8451 x86_64)
8452 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 " ;;
8454 ac_prefix_list="" ;;
8455 esac
8456 for ac_prog in $ac_prefix_list
8458 # Extract the first word of "$ac_prog", so it can be a program name with args.
8459 set dummy $ac_prog; ac_word=$2
8460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8461 $as_echo_n "checking for $ac_word... " >&6; }
8462 if ${ac_cv_prog_CROSSCC+:} false; then :
8463 $as_echo_n "(cached) " >&6
8464 else
8465 if test -n "$CROSSCC"; then
8466 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8467 else
8468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8469 for as_dir in $PATH
8471 IFS=$as_save_IFS
8472 test -z "$as_dir" && as_dir=.
8473 for ac_exec_ext in '' $ac_executable_extensions; do
8474 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8475 ac_cv_prog_CROSSCC="$ac_prog"
8476 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8477 break 2
8479 done
8480 done
8481 IFS=$as_save_IFS
8485 CROSSCC=$ac_cv_prog_CROSSCC
8486 if test -n "$CROSSCC"; then
8487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8488 $as_echo "$CROSSCC" >&6; }
8489 else
8490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8491 $as_echo "no" >&6; }
8495 test -n "$CROSSCC" && break
8496 done
8497 test -n "$CROSSCC" || CROSSCC="false"
8499 if test "$CROSSCC" != "false"
8500 then
8501 ac_save_CC="$CC"
8502 CC="$CROSSCC"
8503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8504 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8506 /* end confdefs.h. */
8509 main ()
8513 return 0;
8515 _ACEOF
8516 if ac_fn_c_try_compile "$LINENO"; then :
8517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8518 $as_echo "yes" >&6; }
8519 set x $CROSSCC
8520 shift
8521 while test $# -ge 1
8523 case "$1" in
8524 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8525 esac
8526 shift
8527 done
8528 else
8529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8530 $as_echo "no" >&6; }
8532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8533 CC="$ac_save_CC"
8538 if test "$ac_cv_header_pthread_h" = "yes"
8539 then
8540 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8541 if test "x$ac_cv_func_pthread_create" = xyes; then :
8543 else
8544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8545 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8546 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8547 $as_echo_n "(cached) " >&6
8548 else
8549 ac_check_lib_save_LIBS=$LIBS
8550 LIBS="-lpthread $LIBS"
8551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8552 /* end confdefs.h. */
8554 /* Override any GCC internal prototype to avoid an error.
8555 Use char because int might match the return type of a GCC
8556 builtin and then its argument prototype would still apply. */
8557 #ifdef __cplusplus
8558 extern "C"
8559 #endif
8560 char pthread_create ();
8562 main ()
8564 return pthread_create ();
8566 return 0;
8568 _ACEOF
8569 if ac_fn_c_try_link "$LINENO"; then :
8570 ac_cv_lib_pthread_pthread_create=yes
8571 else
8572 ac_cv_lib_pthread_pthread_create=no
8574 rm -f core conftest.err conftest.$ac_objext \
8575 conftest$ac_exeext conftest.$ac_ext
8576 LIBS=$ac_check_lib_save_LIBS
8578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8579 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8580 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8581 LIBPTHREAD="-lpthread"
8588 if test "x$ac_cv_func_pthread_create" != xyes -a "x$LIBPTHREAD" = x; then :
8589 case "x$with_pthread" in
8590 xno) ;;
8591 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8592 Wine cannot support threads without libpthread.
8593 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8594 esac
8598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8599 $as_echo_n "checking for X... " >&6; }
8602 # Check whether --with-x was given.
8603 if test "${with_x+set}" = set; then :
8604 withval=$with_x;
8607 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8608 if test "x$with_x" = xno; then
8609 # The user explicitly disabled X.
8610 have_x=disabled
8611 else
8612 case $x_includes,$x_libraries in #(
8613 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8614 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8615 $as_echo_n "(cached) " >&6
8616 else
8617 # One or both of the vars are not set, and there is no cached value.
8618 ac_x_includes=no ac_x_libraries=no
8619 rm -f -r conftest.dir
8620 if mkdir conftest.dir; then
8621 cd conftest.dir
8622 cat >Imakefile <<'_ACEOF'
8623 incroot:
8624 @echo incroot='${INCROOT}'
8625 usrlibdir:
8626 @echo usrlibdir='${USRLIBDIR}'
8627 libdir:
8628 @echo libdir='${LIBDIR}'
8629 _ACEOF
8630 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8631 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8632 for ac_var in incroot usrlibdir libdir; do
8633 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8634 done
8635 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8636 for ac_extension in a so sl dylib la dll; do
8637 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8638 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8639 ac_im_usrlibdir=$ac_im_libdir; break
8641 done
8642 # Screen out bogus values from the imake configuration. They are
8643 # bogus both because they are the default anyway, and because
8644 # using them would break gcc on systems where it needs fixed includes.
8645 case $ac_im_incroot in
8646 /usr/include) ac_x_includes= ;;
8647 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8648 esac
8649 case $ac_im_usrlibdir in
8650 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8651 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8652 esac
8654 cd ..
8655 rm -f -r conftest.dir
8658 # Standard set of common directories for X headers.
8659 # Check X11 before X11Rn because it is often a symlink to the current release.
8660 ac_x_header_dirs='
8661 /usr/X11/include
8662 /usr/X11R7/include
8663 /usr/X11R6/include
8664 /usr/X11R5/include
8665 /usr/X11R4/include
8667 /usr/include/X11
8668 /usr/include/X11R7
8669 /usr/include/X11R6
8670 /usr/include/X11R5
8671 /usr/include/X11R4
8673 /usr/local/X11/include
8674 /usr/local/X11R7/include
8675 /usr/local/X11R6/include
8676 /usr/local/X11R5/include
8677 /usr/local/X11R4/include
8679 /usr/local/include/X11
8680 /usr/local/include/X11R7
8681 /usr/local/include/X11R6
8682 /usr/local/include/X11R5
8683 /usr/local/include/X11R4
8685 /usr/X386/include
8686 /usr/x386/include
8687 /usr/XFree86/include/X11
8689 /usr/include
8690 /usr/local/include
8691 /usr/unsupported/include
8692 /usr/athena/include
8693 /usr/local/x11r5/include
8694 /usr/lpp/Xamples/include
8696 /usr/openwin/include
8697 /usr/openwin/share/include'
8699 if test "$ac_x_includes" = no; then
8700 # Guess where to find include files, by looking for Xlib.h.
8701 # First, try using that file with no special directory specified.
8702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8703 /* end confdefs.h. */
8704 #include <X11/Xlib.h>
8705 _ACEOF
8706 if ac_fn_c_try_cpp "$LINENO"; then :
8707 # We can compile using X headers with no special include directory.
8708 ac_x_includes=
8709 else
8710 for ac_dir in $ac_x_header_dirs; do
8711 if test -r "$ac_dir/X11/Xlib.h"; then
8712 ac_x_includes=$ac_dir
8713 break
8715 done
8717 rm -f conftest.err conftest.i conftest.$ac_ext
8718 fi # $ac_x_includes = no
8720 if test "$ac_x_libraries" = no; then
8721 # Check for the libraries.
8722 # See if we find them without any special options.
8723 # Don't add to $LIBS permanently.
8724 ac_save_LIBS=$LIBS
8725 LIBS="-lX11 $LIBS"
8726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8727 /* end confdefs.h. */
8728 #include <X11/Xlib.h>
8730 main ()
8732 XrmInitialize ()
8734 return 0;
8736 _ACEOF
8737 if ac_fn_c_try_link "$LINENO"; then :
8738 LIBS=$ac_save_LIBS
8739 # We can link X programs with no special library path.
8740 ac_x_libraries=
8741 else
8742 LIBS=$ac_save_LIBS
8743 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8745 # Don't even attempt the hair of trying to link an X program!
8746 for ac_extension in a so sl dylib la dll; do
8747 if test -r "$ac_dir/libX11.$ac_extension"; then
8748 ac_x_libraries=$ac_dir
8749 break 2
8751 done
8752 done
8754 rm -f core conftest.err conftest.$ac_objext \
8755 conftest$ac_exeext conftest.$ac_ext
8756 fi # $ac_x_libraries = no
8758 case $ac_x_includes,$ac_x_libraries in #(
8759 no,* | *,no | *\'*)
8760 # Didn't find X, or a directory has "'" in its name.
8761 ac_cv_have_x="have_x=no";; #(
8763 # Record where we found X for the cache.
8764 ac_cv_have_x="have_x=yes\
8765 ac_x_includes='$ac_x_includes'\
8766 ac_x_libraries='$ac_x_libraries'"
8767 esac
8769 ;; #(
8770 *) have_x=yes;;
8771 esac
8772 eval "$ac_cv_have_x"
8773 fi # $with_x != no
8775 if test "$have_x" != yes; then
8776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8777 $as_echo "$have_x" >&6; }
8778 no_x=yes
8779 else
8780 # If each of the values was on the command line, it overrides each guess.
8781 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
8782 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
8783 # Update the cache value to reflect the command line values.
8784 ac_cv_have_x="have_x=yes\
8785 ac_x_includes='$x_includes'\
8786 ac_x_libraries='$x_libraries'"
8787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8788 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8791 if test "$no_x" = yes; then
8792 # Not all programs may use this symbol, but it does not hurt to define it.
8794 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8796 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
8797 else
8798 if test -n "$x_includes"; then
8799 X_CFLAGS="$X_CFLAGS -I$x_includes"
8802 # It would also be nice to do this for all -L options, not just this one.
8803 if test -n "$x_libraries"; then
8804 X_LIBS="$X_LIBS -L$x_libraries"
8805 # For Solaris; some versions of Sun CC require a space after -R and
8806 # others require no space. Words are not sufficient . . . .
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8808 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8809 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
8810 ac_xsave_c_werror_flag=$ac_c_werror_flag
8811 ac_c_werror_flag=yes
8812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8813 /* end confdefs.h. */
8816 main ()
8820 return 0;
8822 _ACEOF
8823 if ac_fn_c_try_link "$LINENO"; then :
8824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8825 $as_echo "no" >&6; }
8826 X_LIBS="$X_LIBS -R$x_libraries"
8827 else
8828 LIBS="$ac_xsave_LIBS -R $x_libraries"
8829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8830 /* end confdefs.h. */
8833 main ()
8837 return 0;
8839 _ACEOF
8840 if ac_fn_c_try_link "$LINENO"; then :
8841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8842 $as_echo "yes" >&6; }
8843 X_LIBS="$X_LIBS -R $x_libraries"
8844 else
8845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8846 $as_echo "neither works" >&6; }
8848 rm -f core conftest.err conftest.$ac_objext \
8849 conftest$ac_exeext conftest.$ac_ext
8851 rm -f core conftest.err conftest.$ac_objext \
8852 conftest$ac_exeext conftest.$ac_ext
8853 ac_c_werror_flag=$ac_xsave_c_werror_flag
8854 LIBS=$ac_xsave_LIBS
8857 # Check for system-dependent libraries X programs must link with.
8858 # Do this before checking for the system-independent R6 libraries
8859 # (-lICE), since we may need -lsocket or whatever for X linking.
8861 if test "$ISC" = yes; then
8862 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
8863 else
8864 # Martyn Johnson says this is needed for Ultrix, if the X
8865 # libraries were built with DECnet support. And Karl Berry says
8866 # the Alpha needs dnet_stub (dnet does not exist).
8867 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
8868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8869 /* end confdefs.h. */
8871 /* Override any GCC internal prototype to avoid an error.
8872 Use char because int might match the return type of a GCC
8873 builtin and then its argument prototype would still apply. */
8874 #ifdef __cplusplus
8875 extern "C"
8876 #endif
8877 char XOpenDisplay ();
8879 main ()
8881 return XOpenDisplay ();
8883 return 0;
8885 _ACEOF
8886 if ac_fn_c_try_link "$LINENO"; then :
8888 else
8889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8890 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8891 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
8892 $as_echo_n "(cached) " >&6
8893 else
8894 ac_check_lib_save_LIBS=$LIBS
8895 LIBS="-ldnet $LIBS"
8896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8897 /* end confdefs.h. */
8899 /* Override any GCC internal prototype to avoid an error.
8900 Use char because int might match the return type of a GCC
8901 builtin and then its argument prototype would still apply. */
8902 #ifdef __cplusplus
8903 extern "C"
8904 #endif
8905 char dnet_ntoa ();
8907 main ()
8909 return dnet_ntoa ();
8911 return 0;
8913 _ACEOF
8914 if ac_fn_c_try_link "$LINENO"; then :
8915 ac_cv_lib_dnet_dnet_ntoa=yes
8916 else
8917 ac_cv_lib_dnet_dnet_ntoa=no
8919 rm -f core conftest.err conftest.$ac_objext \
8920 conftest$ac_exeext conftest.$ac_ext
8921 LIBS=$ac_check_lib_save_LIBS
8923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8924 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8925 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
8926 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
8929 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
8930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8931 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8932 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
8933 $as_echo_n "(cached) " >&6
8934 else
8935 ac_check_lib_save_LIBS=$LIBS
8936 LIBS="-ldnet_stub $LIBS"
8937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8938 /* end confdefs.h. */
8940 /* Override any GCC internal prototype to avoid an error.
8941 Use char because int might match the return type of a GCC
8942 builtin and then its argument prototype would still apply. */
8943 #ifdef __cplusplus
8944 extern "C"
8945 #endif
8946 char dnet_ntoa ();
8948 main ()
8950 return dnet_ntoa ();
8952 return 0;
8954 _ACEOF
8955 if ac_fn_c_try_link "$LINENO"; then :
8956 ac_cv_lib_dnet_stub_dnet_ntoa=yes
8957 else
8958 ac_cv_lib_dnet_stub_dnet_ntoa=no
8960 rm -f core conftest.err conftest.$ac_objext \
8961 conftest$ac_exeext conftest.$ac_ext
8962 LIBS=$ac_check_lib_save_LIBS
8964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8965 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
8966 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
8967 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
8972 rm -f core conftest.err conftest.$ac_objext \
8973 conftest$ac_exeext conftest.$ac_ext
8974 LIBS="$ac_xsave_LIBS"
8976 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8977 # to get the SysV transport functions.
8978 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
8979 # needs -lnsl.
8980 # The nsl library prevents programs from opening the X display
8981 # on Irix 5.2, according to T.E. Dickey.
8982 # The functions gethostbyname, getservbyname, and inet_addr are
8983 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
8984 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
8985 if test "x$ac_cv_func_gethostbyname" = xyes; then :
8989 if test $ac_cv_func_gethostbyname = no; then
8990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
8991 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
8992 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
8993 $as_echo_n "(cached) " >&6
8994 else
8995 ac_check_lib_save_LIBS=$LIBS
8996 LIBS="-lnsl $LIBS"
8997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8998 /* end confdefs.h. */
9000 /* Override any GCC internal prototype to avoid an error.
9001 Use char because int might match the return type of a GCC
9002 builtin and then its argument prototype would still apply. */
9003 #ifdef __cplusplus
9004 extern "C"
9005 #endif
9006 char gethostbyname ();
9008 main ()
9010 return gethostbyname ();
9012 return 0;
9014 _ACEOF
9015 if ac_fn_c_try_link "$LINENO"; then :
9016 ac_cv_lib_nsl_gethostbyname=yes
9017 else
9018 ac_cv_lib_nsl_gethostbyname=no
9020 rm -f core conftest.err conftest.$ac_objext \
9021 conftest$ac_exeext conftest.$ac_ext
9022 LIBS=$ac_check_lib_save_LIBS
9024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9025 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9026 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9027 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9030 if test $ac_cv_lib_nsl_gethostbyname = no; then
9031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9032 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9033 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9034 $as_echo_n "(cached) " >&6
9035 else
9036 ac_check_lib_save_LIBS=$LIBS
9037 LIBS="-lbsd $LIBS"
9038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9039 /* end confdefs.h. */
9041 /* Override any GCC internal prototype to avoid an error.
9042 Use char because int might match the return type of a GCC
9043 builtin and then its argument prototype would still apply. */
9044 #ifdef __cplusplus
9045 extern "C"
9046 #endif
9047 char gethostbyname ();
9049 main ()
9051 return gethostbyname ();
9053 return 0;
9055 _ACEOF
9056 if ac_fn_c_try_link "$LINENO"; then :
9057 ac_cv_lib_bsd_gethostbyname=yes
9058 else
9059 ac_cv_lib_bsd_gethostbyname=no
9061 rm -f core conftest.err conftest.$ac_objext \
9062 conftest$ac_exeext conftest.$ac_ext
9063 LIBS=$ac_check_lib_save_LIBS
9065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9066 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9067 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9068 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9074 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9075 # socket/setsockopt and other routines are undefined under SCO ODT
9076 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9077 # on later versions), says Simon Leinen: it contains gethostby*
9078 # variants that don't use the name server (or something). -lsocket
9079 # must be given before -lnsl if both are needed. We assume that
9080 # if connect needs -lnsl, so does gethostbyname.
9081 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9082 if test "x$ac_cv_func_connect" = xyes; then :
9086 if test $ac_cv_func_connect = no; then
9087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9088 $as_echo_n "checking for connect in -lsocket... " >&6; }
9089 if ${ac_cv_lib_socket_connect+:} false; then :
9090 $as_echo_n "(cached) " >&6
9091 else
9092 ac_check_lib_save_LIBS=$LIBS
9093 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9095 /* end confdefs.h. */
9097 /* Override any GCC internal prototype to avoid an error.
9098 Use char because int might match the return type of a GCC
9099 builtin and then its argument prototype would still apply. */
9100 #ifdef __cplusplus
9101 extern "C"
9102 #endif
9103 char connect ();
9105 main ()
9107 return connect ();
9109 return 0;
9111 _ACEOF
9112 if ac_fn_c_try_link "$LINENO"; then :
9113 ac_cv_lib_socket_connect=yes
9114 else
9115 ac_cv_lib_socket_connect=no
9117 rm -f core conftest.err conftest.$ac_objext \
9118 conftest$ac_exeext conftest.$ac_ext
9119 LIBS=$ac_check_lib_save_LIBS
9121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9122 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9123 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9124 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9129 # Guillermo Gomez says -lposix is necessary on A/UX.
9130 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9131 if test "x$ac_cv_func_remove" = xyes; then :
9135 if test $ac_cv_func_remove = no; then
9136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9137 $as_echo_n "checking for remove in -lposix... " >&6; }
9138 if ${ac_cv_lib_posix_remove+:} false; then :
9139 $as_echo_n "(cached) " >&6
9140 else
9141 ac_check_lib_save_LIBS=$LIBS
9142 LIBS="-lposix $LIBS"
9143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9144 /* end confdefs.h. */
9146 /* Override any GCC internal prototype to avoid an error.
9147 Use char because int might match the return type of a GCC
9148 builtin and then its argument prototype would still apply. */
9149 #ifdef __cplusplus
9150 extern "C"
9151 #endif
9152 char remove ();
9154 main ()
9156 return remove ();
9158 return 0;
9160 _ACEOF
9161 if ac_fn_c_try_link "$LINENO"; then :
9162 ac_cv_lib_posix_remove=yes
9163 else
9164 ac_cv_lib_posix_remove=no
9166 rm -f core conftest.err conftest.$ac_objext \
9167 conftest$ac_exeext conftest.$ac_ext
9168 LIBS=$ac_check_lib_save_LIBS
9170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9171 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9172 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9173 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9178 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9179 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9180 if test "x$ac_cv_func_shmat" = xyes; then :
9184 if test $ac_cv_func_shmat = no; then
9185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9186 $as_echo_n "checking for shmat in -lipc... " >&6; }
9187 if ${ac_cv_lib_ipc_shmat+:} false; then :
9188 $as_echo_n "(cached) " >&6
9189 else
9190 ac_check_lib_save_LIBS=$LIBS
9191 LIBS="-lipc $LIBS"
9192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9193 /* end confdefs.h. */
9195 /* Override any GCC internal prototype to avoid an error.
9196 Use char because int might match the return type of a GCC
9197 builtin and then its argument prototype would still apply. */
9198 #ifdef __cplusplus
9199 extern "C"
9200 #endif
9201 char shmat ();
9203 main ()
9205 return shmat ();
9207 return 0;
9209 _ACEOF
9210 if ac_fn_c_try_link "$LINENO"; then :
9211 ac_cv_lib_ipc_shmat=yes
9212 else
9213 ac_cv_lib_ipc_shmat=no
9215 rm -f core conftest.err conftest.$ac_objext \
9216 conftest$ac_exeext conftest.$ac_ext
9217 LIBS=$ac_check_lib_save_LIBS
9219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9220 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9221 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9222 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9228 # Check for libraries that X11R6 Xt/Xaw programs need.
9229 ac_save_LDFLAGS=$LDFLAGS
9230 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9231 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9232 # check for ICE first), but we must link in the order -lSM -lICE or
9233 # we get undefined symbols. So assume we have SM if we have ICE.
9234 # These have to be linked with before -lX11, unlike the other
9235 # libraries we check for below, so use a different variable.
9236 # John Interrante, Karl Berry
9237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9238 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9239 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9240 $as_echo_n "(cached) " >&6
9241 else
9242 ac_check_lib_save_LIBS=$LIBS
9243 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9245 /* end confdefs.h. */
9247 /* Override any GCC internal prototype to avoid an error.
9248 Use char because int might match the return type of a GCC
9249 builtin and then its argument prototype would still apply. */
9250 #ifdef __cplusplus
9251 extern "C"
9252 #endif
9253 char IceConnectionNumber ();
9255 main ()
9257 return IceConnectionNumber ();
9259 return 0;
9261 _ACEOF
9262 if ac_fn_c_try_link "$LINENO"; then :
9263 ac_cv_lib_ICE_IceConnectionNumber=yes
9264 else
9265 ac_cv_lib_ICE_IceConnectionNumber=no
9267 rm -f core conftest.err conftest.$ac_objext \
9268 conftest$ac_exeext conftest.$ac_ext
9269 LIBS=$ac_check_lib_save_LIBS
9271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9272 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9273 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9274 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9277 LDFLAGS=$ac_save_LDFLAGS
9282 if test "$have_x" = "yes"
9283 then
9284 XLIB="-lX11"
9285 ac_save_CPPFLAGS="$CPPFLAGS"
9286 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9289 $as_echo_n "checking for -lX11... " >&6; }
9290 if ${ac_cv_lib_soname_X11+:} false; then :
9291 $as_echo_n "(cached) " >&6
9292 else
9293 ac_check_soname_save_LIBS=$LIBS
9294 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9296 /* end confdefs.h. */
9298 /* Override any GCC internal prototype to avoid an error.
9299 Use char because int might match the return type of a GCC
9300 builtin and then its argument prototype would still apply. */
9301 #ifdef __cplusplus
9302 extern "C"
9303 #endif
9304 char XCreateWindow ();
9306 main ()
9308 return XCreateWindow ();
9310 return 0;
9312 _ACEOF
9313 if ac_fn_c_try_link "$LINENO"; then :
9314 case "$LIBEXT" in
9315 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9316 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'` ;;
9317 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9318 if test "x$ac_cv_lib_soname_X11" = x; then :
9319 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9320 fi ;;
9321 esac
9323 rm -f core conftest.err conftest.$ac_objext \
9324 conftest$ac_exeext conftest.$ac_ext
9325 LIBS=$ac_check_soname_save_LIBS
9327 if test "x$ac_cv_lib_soname_X11" = "x"; then :
9328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9329 $as_echo "not found" >&6; }
9331 else
9332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9333 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9335 cat >>confdefs.h <<_ACEOF
9336 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9337 _ACEOF
9341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9342 $as_echo_n "checking for -lXext... " >&6; }
9343 if ${ac_cv_lib_soname_Xext+:} false; then :
9344 $as_echo_n "(cached) " >&6
9345 else
9346 ac_check_soname_save_LIBS=$LIBS
9347 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9349 /* end confdefs.h. */
9351 /* Override any GCC internal prototype to avoid an error.
9352 Use char because int might match the return type of a GCC
9353 builtin and then its argument prototype would still apply. */
9354 #ifdef __cplusplus
9355 extern "C"
9356 #endif
9357 char XextCreateExtension ();
9359 main ()
9361 return XextCreateExtension ();
9363 return 0;
9365 _ACEOF
9366 if ac_fn_c_try_link "$LINENO"; then :
9367 case "$LIBEXT" in
9368 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9369 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'` ;;
9370 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9371 if test "x$ac_cv_lib_soname_Xext" = x; then :
9372 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9373 fi ;;
9374 esac
9376 rm -f core conftest.err conftest.$ac_objext \
9377 conftest$ac_exeext conftest.$ac_ext
9378 LIBS=$ac_check_soname_save_LIBS
9380 if test "x$ac_cv_lib_soname_Xext" = "x"; then :
9381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9382 $as_echo "not found" >&6; }
9384 else
9385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9386 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9388 cat >>confdefs.h <<_ACEOF
9389 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9390 _ACEOF
9392 XLIB="-lXext $XLIB"
9395 for ac_header in X11/Xlib.h \
9396 X11/XKBlib.h \
9397 X11/Xutil.h \
9398 X11/Xcursor/Xcursor.h \
9399 X11/extensions/shape.h \
9400 X11/extensions/XInput.h \
9401 X11/extensions/XInput2.h \
9402 X11/extensions/XShm.h \
9403 X11/extensions/Xcomposite.h \
9404 X11/extensions/Xinerama.h \
9405 X11/extensions/Xrandr.h \
9406 X11/extensions/Xrender.h \
9407 X11/extensions/xf86vmode.h \
9408 X11/extensions/xf86vmproto.h
9409 do :
9410 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9411 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9412 # include <X11/Xlib.h>
9413 #endif
9414 #ifdef HAVE_X11_XUTIL_H
9415 # include <X11/Xutil.h>
9416 #endif
9418 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9419 cat >>confdefs.h <<_ACEOF
9420 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9421 _ACEOF
9425 done
9428 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9429 then
9430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9431 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9432 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9433 $as_echo_n "(cached) " >&6
9434 else
9435 ac_check_lib_save_LIBS=$LIBS
9436 LIBS="-lX11 $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9438 /* end confdefs.h. */
9440 /* Override any GCC internal prototype to avoid an error.
9441 Use char because int might match the return type of a GCC
9442 builtin and then its argument prototype would still apply. */
9443 #ifdef __cplusplus
9444 extern "C"
9445 #endif
9446 char XkbQueryExtension ();
9448 main ()
9450 return XkbQueryExtension ();
9452 return 0;
9454 _ACEOF
9455 if ac_fn_c_try_link "$LINENO"; then :
9456 ac_cv_lib_X11_XkbQueryExtension=yes
9457 else
9458 ac_cv_lib_X11_XkbQueryExtension=no
9460 rm -f core conftest.err conftest.$ac_objext \
9461 conftest$ac_exeext conftest.$ac_ext
9462 LIBS=$ac_check_lib_save_LIBS
9464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9465 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9466 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9468 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9474 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9475 then
9476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9477 $as_echo_n "checking for -lXcursor... " >&6; }
9478 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9479 $as_echo_n "(cached) " >&6
9480 else
9481 ac_check_soname_save_LIBS=$LIBS
9482 LIBS="-lXcursor $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9484 /* end confdefs.h. */
9486 /* Override any GCC internal prototype to avoid an error.
9487 Use char because int might match the return type of a GCC
9488 builtin and then its argument prototype would still apply. */
9489 #ifdef __cplusplus
9490 extern "C"
9491 #endif
9492 char XcursorImageLoadCursor ();
9494 main ()
9496 return XcursorImageLoadCursor ();
9498 return 0;
9500 _ACEOF
9501 if ac_fn_c_try_link "$LINENO"; then :
9502 case "$LIBEXT" in
9503 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9504 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'` ;;
9505 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9506 if test "x$ac_cv_lib_soname_Xcursor" = x; then :
9507 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9508 fi ;;
9509 esac
9511 rm -f core conftest.err conftest.$ac_objext \
9512 conftest$ac_exeext conftest.$ac_ext
9513 LIBS=$ac_check_soname_save_LIBS
9515 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9517 $as_echo "not found" >&6; }
9519 else
9520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9521 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9523 cat >>confdefs.h <<_ACEOF
9524 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9525 _ACEOF
9530 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9531 case "x$with_xcursor" in
9532 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9533 xno) ;;
9534 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9535 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9536 esac
9539 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9540 then
9541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9542 $as_echo_n "checking for -lXi... " >&6; }
9543 if ${ac_cv_lib_soname_Xi+:} false; then :
9544 $as_echo_n "(cached) " >&6
9545 else
9546 ac_check_soname_save_LIBS=$LIBS
9547 LIBS="-lXi $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9549 /* end confdefs.h. */
9551 /* Override any GCC internal prototype to avoid an error.
9552 Use char because int might match the return type of a GCC
9553 builtin and then its argument prototype would still apply. */
9554 #ifdef __cplusplus
9555 extern "C"
9556 #endif
9557 char XOpenDevice ();
9559 main ()
9561 return XOpenDevice ();
9563 return 0;
9565 _ACEOF
9566 if ac_fn_c_try_link "$LINENO"; then :
9567 case "$LIBEXT" in
9568 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9569 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'` ;;
9570 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9571 if test "x$ac_cv_lib_soname_Xi" = x; then :
9572 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9573 fi ;;
9574 esac
9576 rm -f core conftest.err conftest.$ac_objext \
9577 conftest$ac_exeext conftest.$ac_ext
9578 LIBS=$ac_check_soname_save_LIBS
9580 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9582 $as_echo "not found" >&6; }
9584 else
9585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9586 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9588 cat >>confdefs.h <<_ACEOF
9589 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9590 _ACEOF
9595 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9596 case "x$with_xinput" in
9597 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9598 xno) ;;
9599 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9600 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9601 esac
9604 if test "x$ac_cv_lib_soname_Xi" != x
9605 then
9606 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9607 case "x$with_xinput2" in
9608 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9609 xno) ;;
9610 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9611 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9612 esac
9616 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9617 then
9618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9619 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9620 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9621 $as_echo_n "(cached) " >&6
9622 else
9623 ac_check_lib_save_LIBS=$LIBS
9624 LIBS="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9626 /* end confdefs.h. */
9628 /* Override any GCC internal prototype to avoid an error.
9629 Use char because int might match the return type of a GCC
9630 builtin and then its argument prototype would still apply. */
9631 #ifdef __cplusplus
9632 extern "C"
9633 #endif
9634 char XShmQueryExtension ();
9636 main ()
9638 return XShmQueryExtension ();
9640 return 0;
9642 _ACEOF
9643 if ac_fn_c_try_link "$LINENO"; then :
9644 ac_cv_lib_Xext_XShmQueryExtension=yes
9645 else
9646 ac_cv_lib_Xext_XShmQueryExtension=no
9648 rm -f core conftest.err conftest.$ac_objext \
9649 conftest$ac_exeext conftest.$ac_ext
9650 LIBS=$ac_check_lib_save_LIBS
9652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9653 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9654 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9656 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9661 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9662 case "x$with_xshm" in
9663 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9664 xno) ;;
9665 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9666 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9667 esac
9670 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9671 then
9672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9673 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9674 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9675 $as_echo_n "(cached) " >&6
9676 else
9677 ac_check_lib_save_LIBS=$LIBS
9678 LIBS="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9680 /* end confdefs.h. */
9682 /* Override any GCC internal prototype to avoid an error.
9683 Use char because int might match the return type of a GCC
9684 builtin and then its argument prototype would still apply. */
9685 #ifdef __cplusplus
9686 extern "C"
9687 #endif
9688 char XShapeQueryExtension ();
9690 main ()
9692 return XShapeQueryExtension ();
9694 return 0;
9696 _ACEOF
9697 if ac_fn_c_try_link "$LINENO"; then :
9698 ac_cv_lib_Xext_XShapeQueryExtension=yes
9699 else
9700 ac_cv_lib_Xext_XShapeQueryExtension=no
9702 rm -f core conftest.err conftest.$ac_objext \
9703 conftest$ac_exeext conftest.$ac_ext
9704 LIBS=$ac_check_lib_save_LIBS
9706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9707 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9708 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9710 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9715 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9716 case "x$with_xshape" in
9717 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9718 xno) ;;
9719 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
9720 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9721 esac
9724 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9725 then
9726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9727 $as_echo_n "checking for -lXxf86vm... " >&6; }
9728 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
9729 $as_echo_n "(cached) " >&6
9730 else
9731 ac_check_soname_save_LIBS=$LIBS
9732 LIBS="-lXxf86vm $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9734 /* end confdefs.h. */
9736 /* Override any GCC internal prototype to avoid an error.
9737 Use char because int might match the return type of a GCC
9738 builtin and then its argument prototype would still apply. */
9739 #ifdef __cplusplus
9740 extern "C"
9741 #endif
9742 char XF86VidModeQueryExtension ();
9744 main ()
9746 return XF86VidModeQueryExtension ();
9748 return 0;
9750 _ACEOF
9751 if ac_fn_c_try_link "$LINENO"; then :
9752 case "$LIBEXT" in
9753 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9754 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'` ;;
9755 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9756 if test "x$ac_cv_lib_soname_Xxf86vm" = x; then :
9757 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9758 fi ;;
9759 esac
9761 rm -f core conftest.err conftest.$ac_objext \
9762 conftest$ac_exeext conftest.$ac_ext
9763 LIBS=$ac_check_soname_save_LIBS
9765 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9767 $as_echo "not found" >&6; }
9769 else
9770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9771 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9773 cat >>confdefs.h <<_ACEOF
9774 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9775 _ACEOF
9780 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9781 case "x$with_xxf86vm" in
9782 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9783 xno) ;;
9784 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9785 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9786 esac
9789 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"
9790 then
9791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9792 $as_echo_n "checking for -lXrender... " >&6; }
9793 if ${ac_cv_lib_soname_Xrender+:} false; then :
9794 $as_echo_n "(cached) " >&6
9795 else
9796 ac_check_soname_save_LIBS=$LIBS
9797 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9799 /* end confdefs.h. */
9801 /* Override any GCC internal prototype to avoid an error.
9802 Use char because int might match the return type of a GCC
9803 builtin and then its argument prototype would still apply. */
9804 #ifdef __cplusplus
9805 extern "C"
9806 #endif
9807 char XRenderQueryExtension ();
9809 main ()
9811 return XRenderQueryExtension ();
9813 return 0;
9815 _ACEOF
9816 if ac_fn_c_try_link "$LINENO"; then :
9817 case "$LIBEXT" in
9818 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9819 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'` ;;
9820 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9821 if test "x$ac_cv_lib_soname_Xrender" = x; then :
9822 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9823 fi ;;
9824 esac
9826 rm -f core conftest.err conftest.$ac_objext \
9827 conftest$ac_exeext conftest.$ac_ext
9828 LIBS=$ac_check_soname_save_LIBS
9830 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9832 $as_echo "not found" >&6; }
9834 else
9835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9836 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9838 cat >>confdefs.h <<_ACEOF
9839 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9840 _ACEOF
9842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9843 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9844 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
9845 $as_echo_n "(cached) " >&6
9846 else
9847 ac_check_lib_save_LIBS=$LIBS
9848 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9850 /* end confdefs.h. */
9852 /* Override any GCC internal prototype to avoid an error.
9853 Use char because int might match the return type of a GCC
9854 builtin and then its argument prototype would still apply. */
9855 #ifdef __cplusplus
9856 extern "C"
9857 #endif
9858 char XRenderSetPictureTransform ();
9860 main ()
9862 return XRenderSetPictureTransform ();
9864 return 0;
9866 _ACEOF
9867 if ac_fn_c_try_link "$LINENO"; then :
9868 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9869 else
9870 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9872 rm -f core conftest.err conftest.$ac_objext \
9873 conftest$ac_exeext conftest.$ac_ext
9874 LIBS=$ac_check_lib_save_LIBS
9876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9877 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9878 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
9880 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9885 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9886 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
9887 $as_echo_n "(cached) " >&6
9888 else
9889 ac_check_lib_save_LIBS=$LIBS
9890 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9892 /* end confdefs.h. */
9894 /* Override any GCC internal prototype to avoid an error.
9895 Use char because int might match the return type of a GCC
9896 builtin and then its argument prototype would still apply. */
9897 #ifdef __cplusplus
9898 extern "C"
9899 #endif
9900 char XRenderCreateLinearGradient ();
9902 main ()
9904 return XRenderCreateLinearGradient ();
9906 return 0;
9908 _ACEOF
9909 if ac_fn_c_try_link "$LINENO"; then :
9910 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
9911 else
9912 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
9914 rm -f core conftest.err conftest.$ac_objext \
9915 conftest$ac_exeext conftest.$ac_ext
9916 LIBS=$ac_check_lib_save_LIBS
9918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9919 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9920 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
9922 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9929 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9930 case "x$with_xrender" in
9931 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9932 xno) ;;
9933 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
9934 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9935 esac
9938 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9939 then
9940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9941 /* end confdefs.h. */
9942 #include <X11/Xlib.h>
9943 #include <X11/extensions/Xrandr.h>
9945 main ()
9947 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9949 return 0;
9951 _ACEOF
9952 if ac_fn_c_try_compile "$LINENO"; then :
9953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9954 $as_echo_n "checking for -lXrandr... " >&6; }
9955 if ${ac_cv_lib_soname_Xrandr+:} false; then :
9956 $as_echo_n "(cached) " >&6
9957 else
9958 ac_check_soname_save_LIBS=$LIBS
9959 LIBS="-lXrandr $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9961 /* end confdefs.h. */
9963 /* Override any GCC internal prototype to avoid an error.
9964 Use char because int might match the return type of a GCC
9965 builtin and then its argument prototype would still apply. */
9966 #ifdef __cplusplus
9967 extern "C"
9968 #endif
9969 char XRRQueryExtension ();
9971 main ()
9973 return XRRQueryExtension ();
9975 return 0;
9977 _ACEOF
9978 if ac_fn_c_try_link "$LINENO"; then :
9979 case "$LIBEXT" in
9980 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9981 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'` ;;
9982 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9983 if test "x$ac_cv_lib_soname_Xrandr" = x; then :
9984 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9985 fi ;;
9986 esac
9988 rm -f core conftest.err conftest.$ac_objext \
9989 conftest$ac_exeext conftest.$ac_ext
9990 LIBS=$ac_check_soname_save_LIBS
9992 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
9993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9994 $as_echo "not found" >&6; }
9996 else
9997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
9998 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10000 cat >>confdefs.h <<_ACEOF
10001 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10002 _ACEOF
10004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10005 /* end confdefs.h. */
10006 #include <X11/Xlib.h>
10007 #include <X11/extensions/Xrandr.h>
10009 main ()
10011 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10013 return 0;
10015 _ACEOF
10016 if ac_fn_c_try_compile "$LINENO"; then :
10018 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10026 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10027 case "x$with_xrandr" in
10028 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10029 xno) ;;
10030 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10031 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10032 esac
10035 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10036 then
10037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10038 /* end confdefs.h. */
10039 #include <X11/Xlib.h>
10040 #include <X11/extensions/Xinerama.h>
10042 main ()
10044 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10046 return 0;
10048 _ACEOF
10049 if ac_fn_c_try_compile "$LINENO"; then :
10050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10051 $as_echo_n "checking for -lXinerama... " >&6; }
10052 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10053 $as_echo_n "(cached) " >&6
10054 else
10055 ac_check_soname_save_LIBS=$LIBS
10056 LIBS="-lXinerama $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
10057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10058 /* end confdefs.h. */
10060 /* Override any GCC internal prototype to avoid an error.
10061 Use char because int might match the return type of a GCC
10062 builtin and then its argument prototype would still apply. */
10063 #ifdef __cplusplus
10064 extern "C"
10065 #endif
10066 char XineramaQueryScreens ();
10068 main ()
10070 return XineramaQueryScreens ();
10072 return 0;
10074 _ACEOF
10075 if ac_fn_c_try_link "$LINENO"; then :
10076 case "$LIBEXT" in
10077 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10078 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'` ;;
10079 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10080 if test "x$ac_cv_lib_soname_Xinerama" = x; then :
10081 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10082 fi ;;
10083 esac
10085 rm -f core conftest.err conftest.$ac_objext \
10086 conftest$ac_exeext conftest.$ac_ext
10087 LIBS=$ac_check_soname_save_LIBS
10089 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10091 $as_echo "not found" >&6; }
10093 else
10094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10095 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10097 cat >>confdefs.h <<_ACEOF
10098 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10099 _ACEOF
10104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10106 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10107 case "x$with_xinerama" in
10108 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10109 xno) ;;
10110 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10111 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10112 esac
10115 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10116 then
10117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10118 $as_echo_n "checking for -lXcomposite... " >&6; }
10119 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10120 $as_echo_n "(cached) " >&6
10121 else
10122 ac_check_soname_save_LIBS=$LIBS
10123 LIBS="-lXcomposite $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
10124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10125 /* end confdefs.h. */
10127 /* Override any GCC internal prototype to avoid an error.
10128 Use char because int might match the return type of a GCC
10129 builtin and then its argument prototype would still apply. */
10130 #ifdef __cplusplus
10131 extern "C"
10132 #endif
10133 char XCompositeRedirectWindow ();
10135 main ()
10137 return XCompositeRedirectWindow ();
10139 return 0;
10141 _ACEOF
10142 if ac_fn_c_try_link "$LINENO"; then :
10143 case "$LIBEXT" in
10144 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10145 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'` ;;
10146 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10147 if test "x$ac_cv_lib_soname_Xcomposite" = x; then :
10148 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10149 fi ;;
10150 esac
10152 rm -f core conftest.err conftest.$ac_objext \
10153 conftest$ac_exeext conftest.$ac_ext
10154 LIBS=$ac_check_soname_save_LIBS
10156 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10158 $as_echo "not found" >&6; }
10160 else
10161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10162 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10164 cat >>confdefs.h <<_ACEOF
10165 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10166 _ACEOF
10171 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10172 case "x$with_xcomposite" in
10173 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10174 xno) ;;
10175 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10176 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10177 esac
10180 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10181 #include <X11/Xlib.h>
10182 #endif
10184 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10186 cat >>confdefs.h <<_ACEOF
10187 #define HAVE_XICCALLBACK_CALLBACK 1
10188 _ACEOF
10192 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10193 #include <X11/Xlib.h>
10194 #endif
10196 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10198 cat >>confdefs.h <<_ACEOF
10199 #define HAVE_XEVENT_XCOOKIE 1
10200 _ACEOF
10207 opengl_msg=""
10208 if test "x$with_opengl" != "xno"
10209 then
10210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10211 $as_echo_n "checking for -lGL... " >&6; }
10212 if ${ac_cv_lib_soname_GL+:} false; then :
10213 $as_echo_n "(cached) " >&6
10214 else
10215 ac_check_soname_save_LIBS=$LIBS
10216 LIBS="-lGL $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
10217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10218 /* end confdefs.h. */
10220 /* Override any GCC internal prototype to avoid an error.
10221 Use char because int might match the return type of a GCC
10222 builtin and then its argument prototype would still apply. */
10223 #ifdef __cplusplus
10224 extern "C"
10225 #endif
10226 char glXCreateContext ();
10228 main ()
10230 return glXCreateContext ();
10232 return 0;
10234 _ACEOF
10235 if ac_fn_c_try_link "$LINENO"; then :
10236 case "$LIBEXT" in
10237 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10238 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'` ;;
10239 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10240 if test "x$ac_cv_lib_soname_GL" = x; then :
10241 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10242 fi ;;
10243 esac
10245 rm -f core conftest.err conftest.$ac_objext \
10246 conftest$ac_exeext conftest.$ac_ext
10247 LIBS=$ac_check_soname_save_LIBS
10249 if test "x$ac_cv_lib_soname_GL" = "x"; then :
10250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10251 $as_echo "not found" >&6; }
10252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10253 $as_echo_n "checking for -lGL... " >&6; }
10254 if ${ac_cv_lib_soname_GL+:} false; then :
10255 $as_echo_n "(cached) " >&6
10256 else
10257 ac_check_soname_save_LIBS=$LIBS
10258 LIBS="-lGL $X_LIBS $XLIB -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"
10259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10260 /* end confdefs.h. */
10262 /* Override any GCC internal prototype to avoid an error.
10263 Use char because int might match the return type of a GCC
10264 builtin and then its argument prototype would still apply. */
10265 #ifdef __cplusplus
10266 extern "C"
10267 #endif
10268 char glXCreateContext ();
10270 main ()
10272 return glXCreateContext ();
10274 return 0;
10276 _ACEOF
10277 if ac_fn_c_try_link "$LINENO"; then :
10278 case "$LIBEXT" in
10279 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10280 dylib) ac_cv_lib_soname_GL=`otool -L conftest$ac_exeext | grep "libGL\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGL\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10281 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10282 if test "x$ac_cv_lib_soname_GL" = x; then :
10283 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10284 fi ;;
10285 esac
10287 rm -f core conftest.err conftest.$ac_objext \
10288 conftest$ac_exeext conftest.$ac_ext
10289 LIBS=$ac_check_soname_save_LIBS
10291 if test "x$ac_cv_lib_soname_GL" = "x"; then :
10292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10293 $as_echo "not found" >&6; }
10294 if test -f /usr/X11R6/lib/libGL.a
10295 then
10296 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10297 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10298 else
10299 opengl_msg="No OpenGL library found on this system."
10301 else
10302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10303 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10305 cat >>confdefs.h <<_ACEOF
10306 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10307 _ACEOF
10309 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"
10311 else
10312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10313 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10315 cat >>confdefs.h <<_ACEOF
10316 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10317 _ACEOF
10319 OPENGL_LIBS="-lGL"
10321 if test "x$with_glu" != "xno"
10322 then
10323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10324 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10325 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10326 $as_echo_n "(cached) " >&6
10327 else
10328 ac_check_lib_save_LIBS=$LIBS
10329 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
10330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10331 /* end confdefs.h. */
10333 /* Override any GCC internal prototype to avoid an error.
10334 Use char because int might match the return type of a GCC
10335 builtin and then its argument prototype would still apply. */
10336 #ifdef __cplusplus
10337 extern "C"
10338 #endif
10339 char gluLookAt ();
10341 main ()
10343 return gluLookAt ();
10345 return 0;
10347 _ACEOF
10348 if ac_fn_c_try_link "$LINENO"; then :
10349 ac_cv_lib_GLU_gluLookAt=yes
10350 else
10351 ac_cv_lib_GLU_gluLookAt=no
10353 rm -f core conftest.err conftest.$ac_objext \
10354 conftest$ac_exeext conftest.$ac_ext
10355 LIBS=$ac_check_lib_save_LIBS
10357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10358 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10359 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10363 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10364 case "x$with_glu" in
10365 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10366 xno) ;;
10367 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10368 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10369 esac
10373 if test "x$with_osmesa" != "xno"
10374 then
10375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10376 $as_echo_n "checking for -lOSMesa... " >&6; }
10377 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10378 $as_echo_n "(cached) " >&6
10379 else
10380 ac_check_soname_save_LIBS=$LIBS
10381 LIBS="-lOSMesa $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
10382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10383 /* end confdefs.h. */
10385 /* Override any GCC internal prototype to avoid an error.
10386 Use char because int might match the return type of a GCC
10387 builtin and then its argument prototype would still apply. */
10388 #ifdef __cplusplus
10389 extern "C"
10390 #endif
10391 char glAccum ();
10393 main ()
10395 return glAccum ();
10397 return 0;
10399 _ACEOF
10400 if ac_fn_c_try_link "$LINENO"; then :
10401 case "$LIBEXT" in
10402 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10403 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'` ;;
10404 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10405 if test "x$ac_cv_lib_soname_OSMesa" = x; then :
10406 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10407 fi ;;
10408 esac
10410 rm -f core conftest.err conftest.$ac_objext \
10411 conftest$ac_exeext conftest.$ac_ext
10412 LIBS=$ac_check_soname_save_LIBS
10414 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10416 $as_echo "not found" >&6; }
10418 else
10419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10420 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10422 cat >>confdefs.h <<_ACEOF
10423 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10424 _ACEOF
10428 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10429 case "x$with_osmesa" in
10430 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10431 xno) ;;
10432 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10433 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10434 esac
10438 if test -n "$opengl_msg"; then :
10439 case "x$with_opengl" in
10440 x) as_fn_append wine_warnings "|$opengl_msg
10441 OpenGL and Direct3D won't be supported." ;;
10442 xno) ;;
10443 *) as_fn_error $? "$opengl_msg
10444 OpenGL and Direct3D won't be supported.
10445 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10446 esac
10449 CPPFLAGS="$ac_save_CPPFLAGS"
10450 else
10451 XLIB=""
10452 X_CFLAGS=""
10453 X_LIBS=""
10454 enable_winex11_drv=${enable_winex11_drv:-no}
10456 if test "x$XLIB" = "x"; then :
10457 case "x$with_x" in
10458 xno) ;;
10459 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10460 without X support, which probably isn't what you want. You will need
10461 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10462 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10463 esac
10466 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10468 if test "$ac_cv_header_CL_cl_h" = "yes"
10469 then
10470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10471 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10472 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10473 $as_echo_n "(cached) " >&6
10474 else
10475 ac_check_lib_save_LIBS=$LIBS
10476 LIBS="-lOpenCL $LIBS"
10477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10478 /* end confdefs.h. */
10480 /* Override any GCC internal prototype to avoid an error.
10481 Use char because int might match the return type of a GCC
10482 builtin and then its argument prototype would still apply. */
10483 #ifdef __cplusplus
10484 extern "C"
10485 #endif
10486 char clGetPlatformInfo ();
10488 main ()
10490 return clGetPlatformInfo ();
10492 return 0;
10494 _ACEOF
10495 if ac_fn_c_try_link "$LINENO"; then :
10496 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10497 else
10498 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10500 rm -f core conftest.err conftest.$ac_objext \
10501 conftest$ac_exeext conftest.$ac_ext
10502 LIBS=$ac_check_lib_save_LIBS
10504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10505 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10506 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10507 LIBOPENCL="-lOpenCL"
10512 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10513 case "x$with_opencl" in
10514 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10515 xno) ;;
10516 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10517 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10518 esac
10520 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10523 if test "x$with_xml" != "xno"
10524 then
10525 if test -n "$XML2_CFLAGS"; then :
10527 elif test -n "$PKG_CONFIG"; then :
10528 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10530 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10531 if test -n "$XML2_LIBS"; then :
10533 elif test -n "$PKG_CONFIG"; then :
10534 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10536 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10537 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10538 ac_save_CPPFLAGS=$CPPFLAGS
10539 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10540 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10541 do :
10542 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10543 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10544 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10545 cat >>confdefs.h <<_ACEOF
10546 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10547 _ACEOF
10551 done
10553 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"
10554 then
10555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10556 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10557 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10558 $as_echo_n "(cached) " >&6
10559 else
10560 ac_check_lib_save_LIBS=$LIBS
10561 LIBS="-lxml2 $XML2_LIBS $LIBS"
10562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10563 /* end confdefs.h. */
10565 /* Override any GCC internal prototype to avoid an error.
10566 Use char because int might match the return type of a GCC
10567 builtin and then its argument prototype would still apply. */
10568 #ifdef __cplusplus
10569 extern "C"
10570 #endif
10571 char xmlParseMemory ();
10573 main ()
10575 return xmlParseMemory ();
10577 return 0;
10579 _ACEOF
10580 if ac_fn_c_try_link "$LINENO"; then :
10581 ac_cv_lib_xml2_xmlParseMemory=yes
10582 else
10583 ac_cv_lib_xml2_xmlParseMemory=no
10585 rm -f core conftest.err conftest.$ac_objext \
10586 conftest$ac_exeext conftest.$ac_ext
10587 LIBS=$ac_check_lib_save_LIBS
10589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10590 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10591 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10593 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10595 else
10596 XML2_LIBS=""
10599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10600 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10601 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10602 $as_echo_n "(cached) " >&6
10603 else
10604 ac_check_lib_save_LIBS=$LIBS
10605 LIBS="-lxml2 $XML2_LIBS $LIBS"
10606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10607 /* end confdefs.h. */
10609 /* Override any GCC internal prototype to avoid an error.
10610 Use char because int might match the return type of a GCC
10611 builtin and then its argument prototype would still apply. */
10612 #ifdef __cplusplus
10613 extern "C"
10614 #endif
10615 char xmlReadMemory ();
10617 main ()
10619 return xmlReadMemory ();
10621 return 0;
10623 _ACEOF
10624 if ac_fn_c_try_link "$LINENO"; then :
10625 ac_cv_lib_xml2_xmlReadMemory=yes
10626 else
10627 ac_cv_lib_xml2_xmlReadMemory=no
10629 rm -f core conftest.err conftest.$ac_objext \
10630 conftest$ac_exeext conftest.$ac_ext
10631 LIBS=$ac_check_lib_save_LIBS
10633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10634 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10635 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
10637 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10642 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10643 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
10644 $as_echo_n "(cached) " >&6
10645 else
10646 ac_check_lib_save_LIBS=$LIBS
10647 LIBS="-lxml2 $XML2_LIBS $LIBS"
10648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10649 /* end confdefs.h. */
10651 /* Override any GCC internal prototype to avoid an error.
10652 Use char because int might match the return type of a GCC
10653 builtin and then its argument prototype would still apply. */
10654 #ifdef __cplusplus
10655 extern "C"
10656 #endif
10657 char xmlNewDocPI ();
10659 main ()
10661 return xmlNewDocPI ();
10663 return 0;
10665 _ACEOF
10666 if ac_fn_c_try_link "$LINENO"; then :
10667 ac_cv_lib_xml2_xmlNewDocPI=yes
10668 else
10669 ac_cv_lib_xml2_xmlNewDocPI=no
10671 rm -f core conftest.err conftest.$ac_objext \
10672 conftest$ac_exeext conftest.$ac_ext
10673 LIBS=$ac_check_lib_save_LIBS
10675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10676 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10677 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
10679 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10684 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10685 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
10686 $as_echo_n "(cached) " >&6
10687 else
10688 ac_check_lib_save_LIBS=$LIBS
10689 LIBS="-lxml2 $XML2_LIBS $LIBS"
10690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10691 /* end confdefs.h. */
10693 /* Override any GCC internal prototype to avoid an error.
10694 Use char because int might match the return type of a GCC
10695 builtin and then its argument prototype would still apply. */
10696 #ifdef __cplusplus
10697 extern "C"
10698 #endif
10699 char xmlSchemaSetParserStructuredErrors ();
10701 main ()
10703 return xmlSchemaSetParserStructuredErrors ();
10705 return 0;
10707 _ACEOF
10708 if ac_fn_c_try_link "$LINENO"; then :
10709 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
10710 else
10711 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
10713 rm -f core conftest.err conftest.$ac_objext \
10714 conftest$ac_exeext conftest.$ac_ext
10715 LIBS=$ac_check_lib_save_LIBS
10717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10718 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10719 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
10721 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10726 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10727 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
10728 $as_echo_n "(cached) " >&6
10729 else
10730 ac_check_lib_save_LIBS=$LIBS
10731 LIBS="-lxml2 $XML2_LIBS $LIBS"
10732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10733 /* end confdefs.h. */
10735 /* Override any GCC internal prototype to avoid an error.
10736 Use char because int might match the return type of a GCC
10737 builtin and then its argument prototype would still apply. */
10738 #ifdef __cplusplus
10739 extern "C"
10740 #endif
10741 char xmlSchemaSetValidStructuredErrors ();
10743 main ()
10745 return xmlSchemaSetValidStructuredErrors ();
10747 return 0;
10749 _ACEOF
10750 if ac_fn_c_try_link "$LINENO"; then :
10751 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
10752 else
10753 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
10755 rm -f core conftest.err conftest.$ac_objext \
10756 conftest$ac_exeext conftest.$ac_ext
10757 LIBS=$ac_check_lib_save_LIBS
10759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10760 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10761 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
10763 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10768 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10769 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
10770 $as_echo_n "(cached) " >&6
10771 else
10772 ac_check_lib_save_LIBS=$LIBS
10773 LIBS="-lxml2 $XML2_LIBS $LIBS"
10774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10775 /* end confdefs.h. */
10777 /* Override any GCC internal prototype to avoid an error.
10778 Use char because int might match the return type of a GCC
10779 builtin and then its argument prototype would still apply. */
10780 #ifdef __cplusplus
10781 extern "C"
10782 #endif
10783 char xmlFirstElementChild ();
10785 main ()
10787 return xmlFirstElementChild ();
10789 return 0;
10791 _ACEOF
10792 if ac_fn_c_try_link "$LINENO"; then :
10793 ac_cv_lib_xml2_xmlFirstElementChild=yes
10794 else
10795 ac_cv_lib_xml2_xmlFirstElementChild=no
10797 rm -f core conftest.err conftest.$ac_objext \
10798 conftest$ac_exeext conftest.$ac_ext
10799 LIBS=$ac_check_lib_save_LIBS
10801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10802 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10803 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
10805 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10809 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10811 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
10813 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10817 else
10818 XML2_CFLAGS=""
10819 XML2_LIBS=""
10821 CPPFLAGS=$ac_save_CPPFLAGS
10822 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10823 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10826 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10827 case "x$with_xml" in
10828 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10829 xno) ;;
10830 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10831 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10832 esac
10835 if test "x$with_xslt" != "xno"
10836 then
10837 if test -n "$XSLT_CFLAGS"; then :
10839 elif test -n "$PKG_CONFIG"; then :
10840 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10842 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10843 if test -n "$XSLT_LIBS"; then :
10845 elif test -n "$PKG_CONFIG"; then :
10846 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10848 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10849 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
10850 ac_save_CPPFLAGS=$CPPFLAGS
10851 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
10852 for ac_header in libxslt/pattern.h libxslt/transform.h
10853 do :
10854 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10855 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10856 # include <libxslt/pattern.h>
10857 #endif
10859 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10860 cat >>confdefs.h <<_ACEOF
10861 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10862 _ACEOF
10866 done
10868 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10869 then
10870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10871 $as_echo_n "checking for -lxslt... " >&6; }
10872 if ${ac_cv_lib_soname_xslt+:} false; then :
10873 $as_echo_n "(cached) " >&6
10874 else
10875 ac_check_soname_save_LIBS=$LIBS
10876 LIBS="-lxslt $XSLT_LIBS $LIBS"
10877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10878 /* end confdefs.h. */
10880 /* Override any GCC internal prototype to avoid an error.
10881 Use char because int might match the return type of a GCC
10882 builtin and then its argument prototype would still apply. */
10883 #ifdef __cplusplus
10884 extern "C"
10885 #endif
10886 char xsltCompilePattern ();
10888 main ()
10890 return xsltCompilePattern ();
10892 return 0;
10894 _ACEOF
10895 if ac_fn_c_try_link "$LINENO"; then :
10896 case "$LIBEXT" in
10897 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10898 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'` ;;
10899 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10900 if test "x$ac_cv_lib_soname_xslt" = x; then :
10901 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10902 fi ;;
10903 esac
10905 rm -f core conftest.err conftest.$ac_objext \
10906 conftest$ac_exeext conftest.$ac_ext
10907 LIBS=$ac_check_soname_save_LIBS
10909 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10911 $as_echo "not found" >&6; }
10913 else
10914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
10915 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
10917 cat >>confdefs.h <<_ACEOF
10918 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
10919 _ACEOF
10923 else
10924 XSLT_CFLAGS=""
10926 CPPFLAGS=$ac_save_CPPFLAGS
10927 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10928 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10931 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10932 case "x$with_xslt" in
10933 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
10934 xno) ;;
10935 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
10936 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
10937 esac
10940 if test "x$with_dbus" != "xno"
10941 then
10942 if test -n "$DBUS_CFLAGS"; then :
10944 elif test -n "$PKG_CONFIG"; then :
10945 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
10948 if test -n "$DBUS_LIBS"; then :
10950 elif test -n "$PKG_CONFIG"; then :
10951 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
10955 ac_save_CPPFLAGS=$CPPFLAGS
10956 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
10957 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
10958 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
10959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
10960 $as_echo_n "checking for -ldbus-1... " >&6; }
10961 if ${ac_cv_lib_soname_dbus_1+:} false; then :
10962 $as_echo_n "(cached) " >&6
10963 else
10964 ac_check_soname_save_LIBS=$LIBS
10965 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
10966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10967 /* end confdefs.h. */
10969 /* Override any GCC internal prototype to avoid an error.
10970 Use char because int might match the return type of a GCC
10971 builtin and then its argument prototype would still apply. */
10972 #ifdef __cplusplus
10973 extern "C"
10974 #endif
10975 char dbus_connection_close ();
10977 main ()
10979 return dbus_connection_close ();
10981 return 0;
10983 _ACEOF
10984 if ac_fn_c_try_link "$LINENO"; then :
10985 case "$LIBEXT" in
10986 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10987 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'` ;;
10988 *) 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'`
10989 if test "x$ac_cv_lib_soname_dbus_1" = x; then :
10990 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10991 fi ;;
10992 esac
10994 rm -f core conftest.err conftest.$ac_objext \
10995 conftest$ac_exeext conftest.$ac_ext
10996 LIBS=$ac_check_soname_save_LIBS
10998 if test "x$ac_cv_lib_soname_dbus_1" = "x"; then :
10999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11000 $as_echo "not found" >&6; }
11001 DBUS_CFLAGS=""
11002 else
11003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11004 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11006 cat >>confdefs.h <<_ACEOF
11007 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11008 _ACEOF
11012 else
11013 DBUS_CFLAGS=""
11017 CPPFLAGS=$ac_save_CPPFLAGS
11018 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11019 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11022 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11023 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11024 case "x$with_dbus" in
11025 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11026 xno) ;;
11027 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11028 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11029 esac
11032 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11033 then
11034 if test -n "$HAL_CFLAGS"; then :
11036 elif test -n "$PKG_CONFIG"; then :
11037 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11040 if test -n "$HAL_LIBS"; then :
11042 elif test -n "$PKG_CONFIG"; then :
11043 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11046 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11047 ac_save_CPPFLAGS=$CPPFLAGS
11048 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11049 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11050 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11052 $as_echo_n "checking for -lhal... " >&6; }
11053 if ${ac_cv_lib_soname_hal+:} false; then :
11054 $as_echo_n "(cached) " >&6
11055 else
11056 ac_check_soname_save_LIBS=$LIBS
11057 LIBS="-lhal $HAL_LIBS $LIBS"
11058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11059 /* end confdefs.h. */
11061 /* Override any GCC internal prototype to avoid an error.
11062 Use char because int might match the return type of a GCC
11063 builtin and then its argument prototype would still apply. */
11064 #ifdef __cplusplus
11065 extern "C"
11066 #endif
11067 char libhal_ctx_new ();
11069 main ()
11071 return libhal_ctx_new ();
11073 return 0;
11075 _ACEOF
11076 if ac_fn_c_try_link "$LINENO"; then :
11077 case "$LIBEXT" in
11078 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11079 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'` ;;
11080 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11081 if test "x$ac_cv_lib_soname_hal" = x; then :
11082 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11083 fi ;;
11084 esac
11086 rm -f core conftest.err conftest.$ac_objext \
11087 conftest$ac_exeext conftest.$ac_ext
11088 LIBS=$ac_check_soname_save_LIBS
11090 if test "x$ac_cv_lib_soname_hal" = "x"; then :
11091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11092 $as_echo "not found" >&6; }
11093 HAL_CFLAGS=""
11094 else
11095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11096 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11098 cat >>confdefs.h <<_ACEOF
11099 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11100 _ACEOF
11104 else
11105 HAL_CFLAGS=""
11109 CPPFLAGS=$ac_save_CPPFLAGS
11110 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11111 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11113 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11114 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11115 case "x$with_hal" in
11116 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11117 xno) ;;
11118 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11119 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11120 esac
11124 if test "x$with_gnutls" != "xno"
11125 then
11126 if test -n "$GNUTLS_CFLAGS"; then :
11128 elif test -n "$PKG_CONFIG"; then :
11129 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11132 if test -n "$GNUTLS_LIBS"; then :
11134 elif test -n "$PKG_CONFIG"; then :
11135 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11139 ac_save_CPPFLAGS=$CPPFLAGS
11140 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11141 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11142 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11144 /* end confdefs.h. */
11145 #include <gnutls/gnutls.h>
11146 #include <gnutls/crypto.h>
11148 main ()
11150 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11152 return 0;
11154 _ACEOF
11155 if ac_fn_c_try_compile "$LINENO"; then :
11156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11157 $as_echo_n "checking for -lgnutls... " >&6; }
11158 if ${ac_cv_lib_soname_gnutls+:} false; then :
11159 $as_echo_n "(cached) " >&6
11160 else
11161 ac_check_soname_save_LIBS=$LIBS
11162 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11164 /* end confdefs.h. */
11166 /* Override any GCC internal prototype to avoid an error.
11167 Use char because int might match the return type of a GCC
11168 builtin and then its argument prototype would still apply. */
11169 #ifdef __cplusplus
11170 extern "C"
11171 #endif
11172 char gnutls_global_init ();
11174 main ()
11176 return gnutls_global_init ();
11178 return 0;
11180 _ACEOF
11181 if ac_fn_c_try_link "$LINENO"; then :
11182 case "$LIBEXT" in
11183 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11184 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'` ;;
11185 *) ac_cv_lib_soname_gnutls=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11186 if test "x$ac_cv_lib_soname_gnutls" = x; then :
11187 ac_cv_lib_soname_gnutls=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11188 fi ;;
11189 esac
11191 rm -f core conftest.err conftest.$ac_objext \
11192 conftest$ac_exeext conftest.$ac_ext
11193 LIBS=$ac_check_soname_save_LIBS
11195 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11197 $as_echo "not found" >&6; }
11198 GNUTLS_CFLAGS=""
11199 else
11200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11201 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11203 cat >>confdefs.h <<_ACEOF
11204 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11205 _ACEOF
11210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11211 else
11212 GNUTLS_CFLAGS=""
11216 CPPFLAGS=$ac_save_CPPFLAGS
11217 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11218 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11221 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11222 case "x$with_gnutls" in
11223 x) as_fn_append wine_notices "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11224 xno) ;;
11225 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11226 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11227 esac
11230 CURSESLIBS=""
11231 if test "$ac_cv_header_ncurses_h" = "yes"
11232 then
11233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11234 $as_echo_n "checking for -lncurses... " >&6; }
11235 if ${ac_cv_lib_soname_ncurses+:} false; then :
11236 $as_echo_n "(cached) " >&6
11237 else
11238 ac_check_soname_save_LIBS=$LIBS
11239 LIBS="-lncurses $LIBS"
11240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11241 /* end confdefs.h. */
11243 /* Override any GCC internal prototype to avoid an error.
11244 Use char because int might match the return type of a GCC
11245 builtin and then its argument prototype would still apply. */
11246 #ifdef __cplusplus
11247 extern "C"
11248 #endif
11249 char waddch ();
11251 main ()
11253 return waddch ();
11255 return 0;
11257 _ACEOF
11258 if ac_fn_c_try_link "$LINENO"; then :
11259 case "$LIBEXT" in
11260 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11261 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'` ;;
11262 *) ac_cv_lib_soname_ncurses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11263 if test "x$ac_cv_lib_soname_ncurses" = x; then :
11264 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11265 fi ;;
11266 esac
11268 rm -f core conftest.err conftest.$ac_objext \
11269 conftest$ac_exeext conftest.$ac_ext
11270 LIBS=$ac_check_soname_save_LIBS
11272 if test "x$ac_cv_lib_soname_ncurses" = "x"; then :
11273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11274 $as_echo "not found" >&6; }
11276 else
11277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11278 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11280 cat >>confdefs.h <<_ACEOF
11281 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11282 _ACEOF
11284 CURSESLIBS="-lncurses"
11286 elif test "$ac_cv_header_curses_h" = "yes"
11287 then
11288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11289 $as_echo_n "checking for -lcurses... " >&6; }
11290 if ${ac_cv_lib_soname_curses+:} false; then :
11291 $as_echo_n "(cached) " >&6
11292 else
11293 ac_check_soname_save_LIBS=$LIBS
11294 LIBS="-lcurses $LIBS"
11295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11296 /* end confdefs.h. */
11298 /* Override any GCC internal prototype to avoid an error.
11299 Use char because int might match the return type of a GCC
11300 builtin and then its argument prototype would still apply. */
11301 #ifdef __cplusplus
11302 extern "C"
11303 #endif
11304 char waddch ();
11306 main ()
11308 return waddch ();
11310 return 0;
11312 _ACEOF
11313 if ac_fn_c_try_link "$LINENO"; then :
11314 case "$LIBEXT" in
11315 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11316 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'` ;;
11317 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11318 if test "x$ac_cv_lib_soname_curses" = x; then :
11319 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11320 fi ;;
11321 esac
11323 rm -f core conftest.err conftest.$ac_objext \
11324 conftest$ac_exeext conftest.$ac_ext
11325 LIBS=$ac_check_soname_save_LIBS
11327 if test "x$ac_cv_lib_soname_curses" = "x"; then :
11328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11329 $as_echo "not found" >&6; }
11331 else
11332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11333 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11335 cat >>confdefs.h <<_ACEOF
11336 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11337 _ACEOF
11339 CURSESLIBS="-lcurses"
11342 ac_save_LIBS="$LIBS"
11343 LIBS="$LIBS $CURSESLIBS"
11344 for ac_func in mousemask
11345 do :
11346 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11347 if test "x$ac_cv_func_mousemask" = xyes; then :
11348 cat >>confdefs.h <<_ACEOF
11349 #define HAVE_MOUSEMASK 1
11350 _ACEOF
11353 done
11355 LIBS="$ac_save_LIBS"
11356 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11357 case "x$with_curses" in
11358 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11359 xno) ;;
11360 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11361 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11362 esac
11365 if test "x$with_sane" != "xno"
11366 then
11367 if test -n "$SANE_CFLAGS"; then :
11369 elif test -n "$PKG_CONFIG"; then :
11370 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11372 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11373 if test -n "$SANE_LIBS"; then :
11375 elif test -n "$PKG_CONFIG"; then :
11376 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11378 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11380 ac_save_CPPFLAGS=$CPPFLAGS
11381 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11382 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11383 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11385 $as_echo_n "checking for -lsane... " >&6; }
11386 if ${ac_cv_lib_soname_sane+:} false; then :
11387 $as_echo_n "(cached) " >&6
11388 else
11389 ac_check_soname_save_LIBS=$LIBS
11390 LIBS="-lsane $SANE_LIBS $LIBS"
11391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11392 /* end confdefs.h. */
11394 /* Override any GCC internal prototype to avoid an error.
11395 Use char because int might match the return type of a GCC
11396 builtin and then its argument prototype would still apply. */
11397 #ifdef __cplusplus
11398 extern "C"
11399 #endif
11400 char sane_init ();
11402 main ()
11404 return sane_init ();
11406 return 0;
11408 _ACEOF
11409 if ac_fn_c_try_link "$LINENO"; then :
11410 case "$LIBEXT" in
11411 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11412 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'` ;;
11413 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11414 if test "x$ac_cv_lib_soname_sane" = x; then :
11415 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11416 fi ;;
11417 esac
11419 rm -f core conftest.err conftest.$ac_objext \
11420 conftest$ac_exeext conftest.$ac_ext
11421 LIBS=$ac_check_soname_save_LIBS
11423 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11425 $as_echo "not found" >&6; }
11426 SANE_CFLAGS=""
11427 else
11428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11429 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11431 cat >>confdefs.h <<_ACEOF
11432 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11433 _ACEOF
11437 else
11438 SANE_CFLAGS=""
11442 CPPFLAGS=$ac_save_CPPFLAGS
11443 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11444 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11447 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11448 case "x$with_sane" in
11449 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11450 xno) ;;
11451 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11452 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11453 esac
11456 if test "x$with_v4l" != "xno"
11457 then
11458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11459 $as_echo_n "checking for -lv4l1... " >&6; }
11460 if ${ac_cv_lib_soname_v4l1+:} false; then :
11461 $as_echo_n "(cached) " >&6
11462 else
11463 ac_check_soname_save_LIBS=$LIBS
11464 LIBS="-lv4l1 $LIBS"
11465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11466 /* end confdefs.h. */
11468 /* Override any GCC internal prototype to avoid an error.
11469 Use char because int might match the return type of a GCC
11470 builtin and then its argument prototype would still apply. */
11471 #ifdef __cplusplus
11472 extern "C"
11473 #endif
11474 char v4l1_open ();
11476 main ()
11478 return v4l1_open ();
11480 return 0;
11482 _ACEOF
11483 if ac_fn_c_try_link "$LINENO"; then :
11484 case "$LIBEXT" in
11485 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11486 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'` ;;
11487 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11488 if test "x$ac_cv_lib_soname_v4l1" = x; then :
11489 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11490 fi ;;
11491 esac
11493 rm -f core conftest.err conftest.$ac_objext \
11494 conftest$ac_exeext conftest.$ac_ext
11495 LIBS=$ac_check_soname_save_LIBS
11497 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11499 $as_echo "not found" >&6; }
11501 else
11502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11503 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11505 cat >>confdefs.h <<_ACEOF
11506 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11507 _ACEOF
11512 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11513 case "x$with_v4l" in
11514 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11515 xno) ;;
11516 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11517 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11518 esac
11521 if test "x$with_gphoto" != "xno"
11522 then
11523 if test -n "$GPHOTO2_CFLAGS"; then :
11525 elif test -n "$PKG_CONFIG"; then :
11526 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11528 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11529 if test -n "$GPHOTO2_LIBS"; then :
11531 elif test -n "$PKG_CONFIG"; then :
11532 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11534 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11535 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11536 ac_save_CPPFLAGS=$CPPFLAGS
11537 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11538 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11539 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11541 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11542 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11543 $as_echo_n "(cached) " >&6
11544 else
11545 ac_check_lib_save_LIBS=$LIBS
11546 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11548 /* end confdefs.h. */
11550 /* Override any GCC internal prototype to avoid an error.
11551 Use char because int might match the return type of a GCC
11552 builtin and then its argument prototype would still apply. */
11553 #ifdef __cplusplus
11554 extern "C"
11555 #endif
11556 char gp_camera_new ();
11558 main ()
11560 return gp_camera_new ();
11562 return 0;
11564 _ACEOF
11565 if ac_fn_c_try_link "$LINENO"; then :
11566 ac_cv_lib_gphoto2_gp_camera_new=yes
11567 else
11568 ac_cv_lib_gphoto2_gp_camera_new=no
11570 rm -f core conftest.err conftest.$ac_objext \
11571 conftest$ac_exeext conftest.$ac_ext
11572 LIBS=$ac_check_lib_save_LIBS
11574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11575 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11576 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11578 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11580 else
11581 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11584 else
11585 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11589 CPPFLAGS=$ac_save_CPPFLAGS
11590 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11591 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11593 if test -n "$GPHOTO2_PORT_CFLAGS"; then :
11595 elif test -n "$PKG_CONFIG"; then :
11596 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11598 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11599 if test -n "$GPHOTO2_PORT_LIBS"; then :
11601 elif test -n "$PKG_CONFIG"; then :
11602 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11604 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11605 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11606 ac_save_CPPFLAGS=$CPPFLAGS
11607 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11608 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11609 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11611 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11612 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11613 $as_echo_n "(cached) " >&6
11614 else
11615 ac_check_lib_save_LIBS=$LIBS
11616 LIBS="-lgphoto2_port $GPHOTO2_PORT_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_port_info_list_new ();
11628 main ()
11630 return gp_port_info_list_new ();
11632 return 0;
11634 _ACEOF
11635 if ac_fn_c_try_link "$LINENO"; then :
11636 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
11637 else
11638 ac_cv_lib_gphoto2_port_gp_port_info_list_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_port_gp_port_info_list_new" >&5
11645 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11646 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
11648 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11650 else
11651 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11654 else
11655 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11659 CPPFLAGS=$ac_save_CPPFLAGS
11660 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11661 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11664 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11665 case "x$with_gphoto" in
11666 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11667 xno) ;;
11668 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11669 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11670 esac
11672 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11673 case "x$with_gphoto" in
11674 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11675 xno) ;;
11676 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11677 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11678 esac
11682 if test "$ac_cv_header_resolv_h" = "yes"
11683 then
11684 ac_save_LIBS="$LIBS"
11685 for lib in '' -lresolv
11687 LIBS="$lib $ac_save_LIBS"
11688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11689 /* end confdefs.h. */
11690 #ifdef HAVE_NETINET_IN_H
11691 #include <netinet/in.h>
11692 #endif
11693 #include <resolv.h>
11695 main ()
11697 res_query("foo",ns_c_in,0,0,0);
11699 return 0;
11701 _ACEOF
11702 if ac_fn_c_try_link "$LINENO"; then :
11704 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11706 RESOLVLIBS="$lib"
11709 rm -f core conftest.err conftest.$ac_objext \
11710 conftest$ac_exeext conftest.$ac_ext
11711 if test "${RESOLVLIBS+set}" = set; then
11712 break
11714 done
11715 LIBS="$ac_save_LIBS"
11718 if test "x$with_lcms2" != "xno"
11719 then
11720 if test -n "$LCMS2_CFLAGS"; then :
11722 elif test -n "$PKG_CONFIG"; then :
11723 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11726 if test -n "$LCMS2_LIBS"; then :
11728 elif test -n "$PKG_CONFIG"; then :
11729 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11732 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
11733 ac_save_CPPFLAGS=$CPPFLAGS
11734 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
11735 for ac_header in lcms2.h
11736 do :
11737 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11738 if test "x$ac_cv_header_lcms2_h" = xyes; then :
11739 cat >>confdefs.h <<_ACEOF
11740 #define HAVE_LCMS2_H 1
11741 _ACEOF
11745 done
11747 if test "$ac_cv_header_lcms2_h" = "yes"
11748 then
11749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11750 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11751 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
11752 $as_echo_n "(cached) " >&6
11753 else
11754 ac_check_lib_save_LIBS=$LIBS
11755 LIBS="-llcms2 $LIBS"
11756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11757 /* end confdefs.h. */
11759 /* Override any GCC internal prototype to avoid an error.
11760 Use char because int might match the return type of a GCC
11761 builtin and then its argument prototype would still apply. */
11762 #ifdef __cplusplus
11763 extern "C"
11764 #endif
11765 char cmsOpenProfileFromFile ();
11767 main ()
11769 return cmsOpenProfileFromFile ();
11771 return 0;
11773 _ACEOF
11774 if ac_fn_c_try_link "$LINENO"; then :
11775 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
11776 else
11777 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
11779 rm -f core conftest.err conftest.$ac_objext \
11780 conftest$ac_exeext conftest.$ac_ext
11781 LIBS=$ac_check_lib_save_LIBS
11783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11784 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11785 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
11787 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11789 else
11790 LCMS2_LIBS=""
11793 else
11794 LCMS2_CFLAGS=""
11795 LCMS2_LIBS=""
11797 CPPFLAGS=$ac_save_CPPFLAGS
11798 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11799 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11802 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11803 case "x$with_cms" in
11804 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11805 xno) ;;
11806 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11807 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11808 esac
11811 if test "x$with_freetype" != "xno"
11812 then
11813 if test -n "$FREETYPE_CFLAGS"; then :
11815 elif test -n "$PKG_CONFIG"; then :
11816 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11818 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11819 if test -n "$FREETYPE_LIBS"; then :
11821 elif test -n "$PKG_CONFIG"; then :
11822 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11824 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11825 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
11826 ac_save_CPPFLAGS=$CPPFLAGS
11827 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
11828 for ac_header in ft2build.h
11829 do :
11830 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
11831 if test "x$ac_cv_header_ft2build_h" = xyes; then :
11832 cat >>confdefs.h <<_ACEOF
11833 #define HAVE_FT2BUILD_H 1
11834 _ACEOF
11838 done
11840 if test "$ac_cv_header_ft2build_h" = "yes"
11841 then
11842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11843 $as_echo_n "checking for -lfreetype... " >&6; }
11844 if ${ac_cv_lib_soname_freetype+:} false; then :
11845 $as_echo_n "(cached) " >&6
11846 else
11847 ac_check_soname_save_LIBS=$LIBS
11848 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
11849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11850 /* end confdefs.h. */
11852 /* Override any GCC internal prototype to avoid an error.
11853 Use char because int might match the return type of a GCC
11854 builtin and then its argument prototype would still apply. */
11855 #ifdef __cplusplus
11856 extern "C"
11857 #endif
11858 char FT_Init_FreeType ();
11860 main ()
11862 return FT_Init_FreeType ();
11864 return 0;
11866 _ACEOF
11867 if ac_fn_c_try_link "$LINENO"; then :
11868 case "$LIBEXT" in
11869 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11870 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'` ;;
11871 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11872 if test "x$ac_cv_lib_soname_freetype" = x; then :
11873 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11874 fi ;;
11875 esac
11877 rm -f core conftest.err conftest.$ac_objext \
11878 conftest$ac_exeext conftest.$ac_ext
11879 LIBS=$ac_check_soname_save_LIBS
11881 if test "x$ac_cv_lib_soname_freetype" = "x"; then :
11882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11883 $as_echo "not found" >&6; }
11884 FREETYPE_LIBS=""
11885 else
11886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
11887 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
11889 cat >>confdefs.h <<_ACEOF
11890 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
11891 _ACEOF
11894 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
11896 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
11897 #include FT_MODULE_H
11899 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
11901 cat >>confdefs.h <<_ACEOF
11902 #define HAVE_FT_TRUETYPEENGINETYPE 1
11903 _ACEOF
11909 else
11910 FREETYPE_CFLAGS=""
11911 FREETYPE_LIBS=""
11913 CPPFLAGS=$ac_save_CPPFLAGS
11914 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11915 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11918 if test "x$ac_cv_lib_soname_freetype" = x; then :
11919 case "x$with_freetype" in
11920 xno) ;;
11921 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
11922 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
11923 esac
11925 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
11927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
11928 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
11929 if ${ac_cv_c_ppdev+:} false; then :
11930 $as_echo_n "(cached) " >&6
11931 else
11932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11933 /* end confdefs.h. */
11934 #ifdef HAVE_SYS_IOCTL_H
11935 # include <sys/ioctl.h>
11936 #endif
11937 #include <linux/ppdev.h>
11939 main ()
11941 ioctl (1,PPCLAIM,0)
11943 return 0;
11945 _ACEOF
11946 if ac_fn_c_try_compile "$LINENO"; then :
11947 ac_cv_c_ppdev="yes"
11948 else
11949 ac_cv_c_ppdev="no"
11951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
11954 $as_echo "$ac_cv_c_ppdev" >&6; }
11955 if test "$ac_cv_c_ppdev" = "yes"
11956 then
11958 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
11962 ac_wine_check_funcs_save_LIBS="$LIBS"
11963 LIBS="$LIBS $LIBPTHREAD"
11964 for ac_func in \
11965 pthread_attr_get_np \
11966 pthread_getattr_np \
11967 pthread_getthreadid_np \
11968 pthread_get_stackaddr_np \
11969 pthread_get_stacksize_np
11970 do :
11971 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11972 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
11973 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
11974 cat >>confdefs.h <<_ACEOF
11975 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11976 _ACEOF
11979 done
11981 LIBS="$ac_wine_check_funcs_save_LIBS"
11983 if test "$ac_cv_header_zlib_h" = "yes"
11984 then
11985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
11986 $as_echo_n "checking for inflate in -lz... " >&6; }
11987 if ${ac_cv_lib_z_inflate+:} false; then :
11988 $as_echo_n "(cached) " >&6
11989 else
11990 ac_check_lib_save_LIBS=$LIBS
11991 LIBS="-lz $LIBS"
11992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11993 /* end confdefs.h. */
11995 /* Override any GCC internal prototype to avoid an error.
11996 Use char because int might match the return type of a GCC
11997 builtin and then its argument prototype would still apply. */
11998 #ifdef __cplusplus
11999 extern "C"
12000 #endif
12001 char inflate ();
12003 main ()
12005 return inflate ();
12007 return 0;
12009 _ACEOF
12010 if ac_fn_c_try_link "$LINENO"; then :
12011 ac_cv_lib_z_inflate=yes
12012 else
12013 ac_cv_lib_z_inflate=no
12015 rm -f core conftest.err conftest.$ac_objext \
12016 conftest$ac_exeext conftest.$ac_ext
12017 LIBS=$ac_check_lib_save_LIBS
12019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12020 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12021 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12023 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12025 ZLIB="-lz"
12030 if test "x$ZLIB" = "x"; then :
12031 case "x$with_zlib" in
12032 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12033 xno) ;;
12034 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12035 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12036 esac
12039 if test "x$enable_tools" != xno
12040 then
12041 if test "$ac_cv_header_gettext_po_h" = "yes"
12042 then
12043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12044 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12045 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12046 $as_echo_n "(cached) " >&6
12047 else
12048 ac_check_lib_save_LIBS=$LIBS
12049 LIBS="-lgettextpo $LIBS"
12050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12051 /* end confdefs.h. */
12053 /* Override any GCC internal prototype to avoid an error.
12054 Use char because int might match the return type of a GCC
12055 builtin and then its argument prototype would still apply. */
12056 #ifdef __cplusplus
12057 extern "C"
12058 #endif
12059 char po_message_msgctxt ();
12061 main ()
12063 return po_message_msgctxt ();
12065 return 0;
12067 _ACEOF
12068 if ac_fn_c_try_link "$LINENO"; then :
12069 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12070 else
12071 ac_cv_lib_gettextpo_po_message_msgctxt=no
12073 rm -f core conftest.err conftest.$ac_objext \
12074 conftest$ac_exeext conftest.$ac_ext
12075 LIBS=$ac_check_lib_save_LIBS
12077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12078 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12079 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12081 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12083 LIBGETTEXTPO="-lgettextpo"
12088 test "x$with_gettextpo" != xyes || if test "x$LIBGETTEXTPO" = "x"; then :
12089 case "x$with_gettextpo" in
12090 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12091 xno) ;;
12092 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12093 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12094 esac
12098 if test "x$with_gstreamer" != "xno"
12099 then
12100 if test -n "$GSTREAMER_CFLAGS"; then :
12102 elif test -n "$PKG_CONFIG"; then :
12103 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12106 if test -n "$GSTREAMER_LIBS"; then :
12108 elif test -n "$PKG_CONFIG"; then :
12109 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12113 ac_save_CPPFLAGS=$CPPFLAGS
12114 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12115 ac_gst_incl=""
12116 for i in $GSTREAMER_CFLAGS
12118 case "$i" in
12119 -I*) ac_gst_incl="$ac_gst_incl $i";;
12120 esac
12121 done
12122 GSTREAMER_CFLAGS=$ac_gst_incl
12123 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12124 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12125 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
12126 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12127 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
12128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12129 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12131 /* end confdefs.h. */
12132 #include <gst/app/gstappsink.h>
12134 main ()
12136 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12138 return 0;
12140 _ACEOF
12141 if ac_fn_c_try_compile "$LINENO"; then :
12142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12143 $as_echo "yes" >&6; }
12144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12145 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12146 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
12147 $as_echo_n "(cached) " >&6
12148 else
12149 ac_check_lib_save_LIBS=$LIBS
12150 LIBS="-lgstreamer-0.10 $LIBS"
12151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12152 /* end confdefs.h. */
12154 /* Override any GCC internal prototype to avoid an error.
12155 Use char because int might match the return type of a GCC
12156 builtin and then its argument prototype would still apply. */
12157 #ifdef __cplusplus
12158 extern "C"
12159 #endif
12160 char gst_pad_get_caps_reffed ();
12162 main ()
12164 return gst_pad_get_caps_reffed ();
12166 return 0;
12168 _ACEOF
12169 if ac_fn_c_try_link "$LINENO"; then :
12170 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
12171 else
12172 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
12174 rm -f core conftest.err conftest.$ac_objext \
12175 conftest$ac_exeext conftest.$ac_ext
12176 LIBS=$ac_check_lib_save_LIBS
12178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12179 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12180 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
12181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12182 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12183 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
12184 $as_echo_n "(cached) " >&6
12185 else
12186 ac_check_lib_save_LIBS=$LIBS
12187 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12189 /* end confdefs.h. */
12191 /* Override any GCC internal prototype to avoid an error.
12192 Use char because int might match the return type of a GCC
12193 builtin and then its argument prototype would still apply. */
12194 #ifdef __cplusplus
12195 extern "C"
12196 #endif
12197 char gst_app_buffer_new ();
12199 main ()
12201 return gst_app_buffer_new ();
12203 return 0;
12205 _ACEOF
12206 if ac_fn_c_try_link "$LINENO"; then :
12207 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
12208 else
12209 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
12211 rm -f core conftest.err conftest.$ac_objext \
12212 conftest$ac_exeext conftest.$ac_ext
12213 LIBS=$ac_check_lib_save_LIBS
12215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12216 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12217 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
12223 else
12224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12225 $as_echo "no" >&6; }
12227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12231 else
12232 GSTREAMER_CFLAGS=""
12236 CPPFLAGS=$ac_save_CPPFLAGS
12237 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12238 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12241 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
12242 case "x$with_gstreamer" in
12243 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12244 xno) ;;
12245 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12246 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12247 esac
12249 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12251 ALSALIBS=""
12253 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12254 then
12255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12256 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12257 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12258 $as_echo_n "(cached) " >&6
12259 else
12260 ac_check_lib_save_LIBS=$LIBS
12261 LIBS="-lasound $LIBS"
12262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12263 /* end confdefs.h. */
12265 /* Override any GCC internal prototype to avoid an error.
12266 Use char because int might match the return type of a GCC
12267 builtin and then its argument prototype would still apply. */
12268 #ifdef __cplusplus
12269 extern "C"
12270 #endif
12271 char snd_pcm_hw_params_get_access_mask ();
12273 main ()
12275 return snd_pcm_hw_params_get_access_mask ();
12277 return 0;
12279 _ACEOF
12280 if ac_fn_c_try_link "$LINENO"; then :
12281 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12282 else
12283 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12285 rm -f core conftest.err conftest.$ac_objext \
12286 conftest$ac_exeext conftest.$ac_ext
12287 LIBS=$ac_check_lib_save_LIBS
12289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12290 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12291 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12293 /* end confdefs.h. */
12294 #ifdef HAVE_ALSA_ASOUNDLIB_H
12295 #include <alsa/asoundlib.h>
12296 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12297 #include <sys/asoundlib.h>
12298 #endif
12300 main ()
12302 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12304 return 0;
12306 _ACEOF
12307 if ac_fn_c_try_compile "$LINENO"; then :
12308 ALSALIBS="-lasound"
12310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12315 if test "x$with_oss" != xno
12316 then
12317 ac_save_CPPFLAGS="$CPPFLAGS"
12318 if test -f /etc/oss.conf
12319 then
12320 . /etc/oss.conf
12322 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12323 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12324 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12325 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12326 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12328 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12330 cat >>confdefs.h <<_ACEOF
12331 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12332 _ACEOF
12334 OSS4INCL="$ac_oss_incl"
12341 CPPFLAGS="$ac_save_CPPFLAGS"
12342 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12343 then
12344 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12348 if test "x$with_capi" != "xno"
12349 then
12350 if test -n "$CAPI20_CFLAGS"; then :
12352 elif test -n "$PKG_CONFIG"; then :
12353 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12356 if test -n "$CAPI20_LIBS"; then :
12358 elif test -n "$PKG_CONFIG"; then :
12359 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12363 ac_save_CPPFLAGS=$CPPFLAGS
12364 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12365 for ac_header in capi20.h linux/capi.h
12366 do :
12367 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12368 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12370 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12371 cat >>confdefs.h <<_ACEOF
12372 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12373 _ACEOF
12377 done
12379 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12380 then
12381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12382 $as_echo_n "checking for -lcapi20... " >&6; }
12383 if ${ac_cv_lib_soname_capi20+:} false; then :
12384 $as_echo_n "(cached) " >&6
12385 else
12386 ac_check_soname_save_LIBS=$LIBS
12387 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12389 /* end confdefs.h. */
12391 /* Override any GCC internal prototype to avoid an error.
12392 Use char because int might match the return type of a GCC
12393 builtin and then its argument prototype would still apply. */
12394 #ifdef __cplusplus
12395 extern "C"
12396 #endif
12397 char capi20_register ();
12399 main ()
12401 return capi20_register ();
12403 return 0;
12405 _ACEOF
12406 if ac_fn_c_try_link "$LINENO"; then :
12407 case "$LIBEXT" in
12408 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12409 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'` ;;
12410 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12411 if test "x$ac_cv_lib_soname_capi20" = x; then :
12412 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12413 fi ;;
12414 esac
12416 rm -f core conftest.err conftest.$ac_objext \
12417 conftest$ac_exeext conftest.$ac_ext
12418 LIBS=$ac_check_soname_save_LIBS
12420 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12422 $as_echo "not found" >&6; }
12424 else
12425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12426 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12428 cat >>confdefs.h <<_ACEOF
12429 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12430 _ACEOF
12435 CPPFLAGS=$ac_save_CPPFLAGS
12436 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12437 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12440 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12441 case "x$with_capi" in
12442 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12443 xno) ;;
12444 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12445 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12446 esac
12449 CUPSINCL=""
12451 if test "x$with_cups" != "xno"
12452 then
12453 ac_save_CPPFLAGS="$CPPFLAGS"
12454 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12455 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12456 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12457 for ac_header in cups/cups.h
12458 do :
12459 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12460 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12461 cat >>confdefs.h <<_ACEOF
12462 #define HAVE_CUPS_CUPS_H 1
12463 _ACEOF
12464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12465 $as_echo_n "checking for -lcups... " >&6; }
12466 if ${ac_cv_lib_soname_cups+:} false; then :
12467 $as_echo_n "(cached) " >&6
12468 else
12469 ac_check_soname_save_LIBS=$LIBS
12470 LIBS="-lcups $ac_cups_libs $LIBS"
12471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12472 /* end confdefs.h. */
12474 /* Override any GCC internal prototype to avoid an error.
12475 Use char because int might match the return type of a GCC
12476 builtin and then its argument prototype would still apply. */
12477 #ifdef __cplusplus
12478 extern "C"
12479 #endif
12480 char cupsGetDefault ();
12482 main ()
12484 return cupsGetDefault ();
12486 return 0;
12488 _ACEOF
12489 if ac_fn_c_try_link "$LINENO"; then :
12490 case "$LIBEXT" in
12491 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12492 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'` ;;
12493 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12494 if test "x$ac_cv_lib_soname_cups" = x; then :
12495 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12496 fi ;;
12497 esac
12499 rm -f core conftest.err conftest.$ac_objext \
12500 conftest$ac_exeext conftest.$ac_ext
12501 LIBS=$ac_check_soname_save_LIBS
12503 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12505 $as_echo "not found" >&6; }
12507 else
12508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12509 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12511 cat >>confdefs.h <<_ACEOF
12512 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12513 _ACEOF
12515 CUPSINCL="$ac_cups_cflags"
12519 done
12521 CPPFLAGS="$ac_save_CPPFLAGS"
12523 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12524 case "x$with_cups" in
12525 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12526 xno) ;;
12527 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12528 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12529 esac
12532 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12533 then
12534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12535 $as_echo_n "checking for -lfontconfig... " >&6; }
12536 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12537 $as_echo_n "(cached) " >&6
12538 else
12539 ac_check_soname_save_LIBS=$LIBS
12540 LIBS="-lfontconfig $LIBS"
12541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12542 /* end confdefs.h. */
12544 /* Override any GCC internal prototype to avoid an error.
12545 Use char because int might match the return type of a GCC
12546 builtin and then its argument prototype would still apply. */
12547 #ifdef __cplusplus
12548 extern "C"
12549 #endif
12550 char FcInit ();
12552 main ()
12554 return FcInit ();
12556 return 0;
12558 _ACEOF
12559 if ac_fn_c_try_link "$LINENO"; then :
12560 case "$LIBEXT" in
12561 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12562 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'` ;;
12563 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12564 if test "x$ac_cv_lib_soname_fontconfig" = x; then :
12565 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12566 fi ;;
12567 esac
12569 rm -f core conftest.err conftest.$ac_objext \
12570 conftest$ac_exeext conftest.$ac_ext
12571 LIBS=$ac_check_soname_save_LIBS
12573 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12575 $as_echo "not found" >&6; }
12577 else
12578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12579 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12581 cat >>confdefs.h <<_ACEOF
12582 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12583 _ACEOF
12587 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
12588 then
12589 ac_save_CPPFLAGS="$CPPFLAGS"
12590 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
12591 $as_unset ac_cv_header_fontconfig_fontconfig_h
12592 for ac_header in fontconfig/fontconfig.h
12593 do :
12594 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12595 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
12596 cat >>confdefs.h <<_ACEOF
12597 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12598 _ACEOF
12602 done
12604 CPPFLAGS="$ac_save_CPPFLAGS"
12605 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12606 then
12607 FONTCONFIGINCL="$X_CFLAGS"
12609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12610 $as_echo_n "checking for -lfontconfig... " >&6; }
12611 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12612 $as_echo_n "(cached) " >&6
12613 else
12614 ac_check_soname_save_LIBS=$LIBS
12615 LIBS="-lfontconfig $X_LIBS $LIBS"
12616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12617 /* end confdefs.h. */
12619 /* Override any GCC internal prototype to avoid an error.
12620 Use char because int might match the return type of a GCC
12621 builtin and then its argument prototype would still apply. */
12622 #ifdef __cplusplus
12623 extern "C"
12624 #endif
12625 char FcInit ();
12627 main ()
12629 return FcInit ();
12631 return 0;
12633 _ACEOF
12634 if ac_fn_c_try_link "$LINENO"; then :
12635 case "$LIBEXT" in
12636 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12637 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'` ;;
12638 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12639 if test "x$ac_cv_lib_soname_fontconfig" = x; then :
12640 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12641 fi ;;
12642 esac
12644 rm -f core conftest.err conftest.$ac_objext \
12645 conftest$ac_exeext conftest.$ac_ext
12646 LIBS=$ac_check_soname_save_LIBS
12648 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12650 $as_echo "not found" >&6; }
12652 else
12653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12654 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12656 cat >>confdefs.h <<_ACEOF
12657 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12658 _ACEOF
12664 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12665 case "x$with_fontconfig" in
12666 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12667 xno) ;;
12668 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12669 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12670 esac
12673 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12674 then
12675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12676 $as_echo_n "checking for -lgsm... " >&6; }
12677 if ${ac_cv_lib_soname_gsm+:} false; then :
12678 $as_echo_n "(cached) " >&6
12679 else
12680 ac_check_soname_save_LIBS=$LIBS
12681 LIBS="-lgsm $LIBS"
12682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12683 /* end confdefs.h. */
12685 /* Override any GCC internal prototype to avoid an error.
12686 Use char because int might match the return type of a GCC
12687 builtin and then its argument prototype would still apply. */
12688 #ifdef __cplusplus
12689 extern "C"
12690 #endif
12691 char gsm_create ();
12693 main ()
12695 return gsm_create ();
12697 return 0;
12699 _ACEOF
12700 if ac_fn_c_try_link "$LINENO"; then :
12701 case "$LIBEXT" in
12702 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12703 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'` ;;
12704 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12705 if test "x$ac_cv_lib_soname_gsm" = x; then :
12706 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12707 fi ;;
12708 esac
12710 rm -f core conftest.err conftest.$ac_objext \
12711 conftest$ac_exeext conftest.$ac_ext
12712 LIBS=$ac_check_soname_save_LIBS
12714 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12716 $as_echo "not found" >&6; }
12718 else
12719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12720 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12722 cat >>confdefs.h <<_ACEOF
12723 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12724 _ACEOF
12729 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12730 case "x$with_gsm" in
12731 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12732 xno) ;;
12733 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12734 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12735 esac
12738 if test "x$with_jpeg" != "xno"
12739 then
12740 if test -n "$JPEG_CFLAGS"; then :
12742 elif test -n "$PKG_CONFIG"; then :
12743 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12746 if test -n "$JPEG_LIBS"; then :
12748 elif test -n "$PKG_CONFIG"; then :
12749 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12753 ac_save_CPPFLAGS=$CPPFLAGS
12754 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
12755 for ac_header in jpeglib.h
12756 do :
12757 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12758 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
12759 cat >>confdefs.h <<_ACEOF
12760 #define HAVE_JPEGLIB_H 1
12761 _ACEOF
12765 done
12767 if test "$ac_cv_header_jpeglib_h" = "yes"
12768 then
12769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12770 $as_echo_n "checking for -ljpeg... " >&6; }
12771 if ${ac_cv_lib_soname_jpeg+:} false; then :
12772 $as_echo_n "(cached) " >&6
12773 else
12774 ac_check_soname_save_LIBS=$LIBS
12775 LIBS="-ljpeg $JPEG_LIBS $LIBS"
12776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12777 /* end confdefs.h. */
12779 /* Override any GCC internal prototype to avoid an error.
12780 Use char because int might match the return type of a GCC
12781 builtin and then its argument prototype would still apply. */
12782 #ifdef __cplusplus
12783 extern "C"
12784 #endif
12785 char jpeg_start_decompress ();
12787 main ()
12789 return jpeg_start_decompress ();
12791 return 0;
12793 _ACEOF
12794 if ac_fn_c_try_link "$LINENO"; then :
12795 case "$LIBEXT" in
12796 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12797 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'` ;;
12798 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12799 if test "x$ac_cv_lib_soname_jpeg" = x; then :
12800 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12801 fi ;;
12802 esac
12804 rm -f core conftest.err conftest.$ac_objext \
12805 conftest$ac_exeext conftest.$ac_ext
12806 LIBS=$ac_check_soname_save_LIBS
12808 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12810 $as_echo "not found" >&6; }
12811 JPEG_CFLAGS=""
12812 else
12813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12814 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12816 cat >>confdefs.h <<_ACEOF
12817 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12818 _ACEOF
12822 else
12823 JPEG_CFLAGS=""
12825 CPPFLAGS=$ac_save_CPPFLAGS
12826 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12827 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12830 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12831 case "x$with_jpeg" in
12832 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12833 xno) ;;
12834 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12835 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12836 esac
12839 if test "x$with_png" != "xno"
12840 then
12841 if test -n "$PNG_CFLAGS"; then :
12843 elif test -n "$PKG_CONFIG"; then :
12844 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12846 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
12847 if test -n "$PNG_LIBS"; then :
12849 elif test -n "$PKG_CONFIG"; then :
12850 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
12852 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
12854 ac_save_CPPFLAGS=$CPPFLAGS
12855 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
12856 for ac_header in png.h
12857 do :
12858 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12859 if test "x$ac_cv_header_png_h" = xyes; then :
12860 cat >>confdefs.h <<_ACEOF
12861 #define HAVE_PNG_H 1
12862 _ACEOF
12866 done
12868 if test "$ac_cv_header_png_h" = "yes"
12869 then
12870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12871 $as_echo_n "checking for -lpng... " >&6; }
12872 if ${ac_cv_lib_soname_png+:} false; then :
12873 $as_echo_n "(cached) " >&6
12874 else
12875 ac_check_soname_save_LIBS=$LIBS
12876 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
12877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12878 /* end confdefs.h. */
12880 /* Override any GCC internal prototype to avoid an error.
12881 Use char because int might match the return type of a GCC
12882 builtin and then its argument prototype would still apply. */
12883 #ifdef __cplusplus
12884 extern "C"
12885 #endif
12886 char png_create_read_struct ();
12888 main ()
12890 return png_create_read_struct ();
12892 return 0;
12894 _ACEOF
12895 if ac_fn_c_try_link "$LINENO"; then :
12896 case "$LIBEXT" in
12897 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12898 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'` ;;
12899 *) 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'`
12900 if test "x$ac_cv_lib_soname_png" = x; then :
12901 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12902 fi ;;
12903 esac
12905 rm -f core conftest.err conftest.$ac_objext \
12906 conftest$ac_exeext conftest.$ac_ext
12907 LIBS=$ac_check_soname_save_LIBS
12909 if test "x$ac_cv_lib_soname_png" = "x"; then :
12910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12911 $as_echo "not found" >&6; }
12912 PNG_CFLAGS=""
12913 else
12914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
12915 $as_echo "$ac_cv_lib_soname_png" >&6; }
12917 cat >>confdefs.h <<_ACEOF
12918 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
12919 _ACEOF
12921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12922 /* end confdefs.h. */
12923 #include <png.h>
12925 main ()
12927 typeof(png_set_expand_gray_1_2_4_to_8) *p
12929 return 0;
12931 _ACEOF
12932 if ac_fn_c_try_compile "$LINENO"; then :
12934 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
12937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12939 else
12940 PNG_CFLAGS=""
12942 CPPFLAGS=$ac_save_CPPFLAGS
12943 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12944 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12947 if test "x$ac_cv_lib_soname_png" = "x"; then :
12948 case "x$with_png" in
12949 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
12950 xno) ;;
12951 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
12952 This is an error since --with-png was requested." "$LINENO" 5 ;;
12953 esac
12956 if test "x$with_tiff" != "xno"
12957 then
12958 if test -n "$TIFF_CFLAGS"; then :
12960 elif test -n "$PKG_CONFIG"; then :
12961 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
12964 if test -n "$TIFF_LIBS"; then :
12966 elif test -n "$PKG_CONFIG"; then :
12967 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
12971 ac_save_CPPFLAGS=$CPPFLAGS
12972 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
12973 for ac_header in tiffio.h
12974 do :
12975 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
12976 if test "x$ac_cv_header_tiffio_h" = xyes; then :
12977 cat >>confdefs.h <<_ACEOF
12978 #define HAVE_TIFFIO_H 1
12979 _ACEOF
12983 done
12985 if test "$ac_cv_header_tiffio_h" = "yes"
12986 then
12987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
12988 $as_echo_n "checking for -ltiff... " >&6; }
12989 if ${ac_cv_lib_soname_tiff+:} false; then :
12990 $as_echo_n "(cached) " >&6
12991 else
12992 ac_check_soname_save_LIBS=$LIBS
12993 LIBS="-ltiff $TIFF_LIBS $LIBS"
12994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12995 /* end confdefs.h. */
12997 /* Override any GCC internal prototype to avoid an error.
12998 Use char because int might match the return type of a GCC
12999 builtin and then its argument prototype would still apply. */
13000 #ifdef __cplusplus
13001 extern "C"
13002 #endif
13003 char TIFFClientOpen ();
13005 main ()
13007 return TIFFClientOpen ();
13009 return 0;
13011 _ACEOF
13012 if ac_fn_c_try_link "$LINENO"; then :
13013 case "$LIBEXT" in
13014 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13015 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'` ;;
13016 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13017 if test "x$ac_cv_lib_soname_tiff" = x; then :
13018 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13019 fi ;;
13020 esac
13022 rm -f core conftest.err conftest.$ac_objext \
13023 conftest$ac_exeext conftest.$ac_ext
13024 LIBS=$ac_check_soname_save_LIBS
13026 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13028 $as_echo "not found" >&6; }
13030 else
13031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13032 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13034 cat >>confdefs.h <<_ACEOF
13035 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13036 _ACEOF
13041 CPPFLAGS=$ac_save_CPPFLAGS
13042 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13043 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13046 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13047 case "x$with_tiff" in
13048 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13049 xno) ;;
13050 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13051 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13052 esac
13055 if test "x$with_mpg123" != "xno"
13056 then
13057 if test -n "$MPG123_CFLAGS"; then :
13059 elif test -n "$PKG_CONFIG"; then :
13060 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13063 if test -n "$MPG123_LIBS"; then :
13065 elif test -n "$PKG_CONFIG"; then :
13066 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13069 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13070 ac_save_CPPFLAGS=$CPPFLAGS
13071 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13072 for ac_header in mpg123.h
13073 do :
13074 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13075 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13076 cat >>confdefs.h <<_ACEOF
13077 #define HAVE_MPG123_H 1
13078 _ACEOF
13082 done
13084 if test "$ac_cv_header_mpg123_h" = "yes"
13085 then
13086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13087 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13088 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13089 $as_echo_n "(cached) " >&6
13090 else
13091 ac_check_lib_save_LIBS=$LIBS
13092 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13094 /* end confdefs.h. */
13096 /* Override any GCC internal prototype to avoid an error.
13097 Use char because int might match the return type of a GCC
13098 builtin and then its argument prototype would still apply. */
13099 #ifdef __cplusplus
13100 extern "C"
13101 #endif
13102 char mpg123_feed ();
13104 main ()
13106 return mpg123_feed ();
13108 return 0;
13110 _ACEOF
13111 if ac_fn_c_try_link "$LINENO"; then :
13112 ac_cv_lib_mpg123_mpg123_feed=yes
13113 else
13114 ac_cv_lib_mpg123_mpg123_feed=no
13116 rm -f core conftest.err conftest.$ac_objext \
13117 conftest$ac_exeext conftest.$ac_ext
13118 LIBS=$ac_check_lib_save_LIBS
13120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13121 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13122 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13124 else
13125 MPG123_LIBS=""
13128 else
13129 MPG123_CFLAGS=""
13130 MPG123_LIBS=""
13132 CPPFLAGS=$ac_save_CPPFLAGS
13133 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13134 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13137 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13138 case "x$with_mpg123" in
13139 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13140 xno) ;;
13141 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13142 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13143 esac
13145 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}
13147 if test "$ac_cv_header_AL_al_h" = "yes"
13148 then
13149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13150 $as_echo_n "checking for -lopenal... " >&6; }
13151 if ${ac_cv_lib_soname_openal+:} false; then :
13152 $as_echo_n "(cached) " >&6
13153 else
13154 ac_check_soname_save_LIBS=$LIBS
13155 LIBS="-lopenal $LIBS"
13156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13157 /* end confdefs.h. */
13159 /* Override any GCC internal prototype to avoid an error.
13160 Use char because int might match the return type of a GCC
13161 builtin and then its argument prototype would still apply. */
13162 #ifdef __cplusplus
13163 extern "C"
13164 #endif
13165 char alGetSource3i ();
13167 main ()
13169 return alGetSource3i ();
13171 return 0;
13173 _ACEOF
13174 if ac_fn_c_try_link "$LINENO"; then :
13175 case "$LIBEXT" in
13176 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13177 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'` ;;
13178 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13179 if test "x$ac_cv_lib_soname_openal" = x; then :
13180 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13181 fi ;;
13182 esac
13184 rm -f core conftest.err conftest.$ac_objext \
13185 conftest$ac_exeext conftest.$ac_ext
13186 LIBS=$ac_check_soname_save_LIBS
13188 if test "x$ac_cv_lib_soname_openal" = "x"; then :
13189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13190 $as_echo "not found" >&6; }
13192 else
13193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13194 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13196 cat >>confdefs.h <<_ACEOF
13197 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13198 _ACEOF
13200 LIBOPENAL="-lopenal"
13202 ac_cv_lib_openal=yes
13204 cat >>confdefs.h <<_ACEOF
13205 #define HAVE_OPENAL 1
13206 _ACEOF
13210 if test "x$ac_cv_lib_openal" != xyes; then :
13211 case "x$with_openal" in
13212 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13213 xno) ;;
13214 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13215 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13216 esac
13218 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13220 if test "$ac_cv_header_kstat_h" = "yes"
13221 then
13222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13223 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13224 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13225 $as_echo_n "(cached) " >&6
13226 else
13227 ac_check_lib_save_LIBS=$LIBS
13228 LIBS="-lkstat $LIBS"
13229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13230 /* end confdefs.h. */
13232 /* Override any GCC internal prototype to avoid an error.
13233 Use char because int might match the return type of a GCC
13234 builtin and then its argument prototype would still apply. */
13235 #ifdef __cplusplus
13236 extern "C"
13237 #endif
13238 char kstat_open ();
13240 main ()
13242 return kstat_open ();
13244 return 0;
13246 _ACEOF
13247 if ac_fn_c_try_link "$LINENO"; then :
13248 ac_cv_lib_kstat_kstat_open=yes
13249 else
13250 ac_cv_lib_kstat_kstat_open=no
13252 rm -f core conftest.err conftest.$ac_objext \
13253 conftest$ac_exeext conftest.$ac_ext
13254 LIBS=$ac_check_lib_save_LIBS
13256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13257 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13258 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13260 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13262 LIBKSTAT="-lkstat"
13268 if test "$ac_cv_header_libprocstat_h" = "yes"
13269 then
13270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13271 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13272 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13273 $as_echo_n "(cached) " >&6
13274 else
13275 ac_check_lib_save_LIBS=$LIBS
13276 LIBS="-lprocstat $LIBS"
13277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13278 /* end confdefs.h. */
13280 /* Override any GCC internal prototype to avoid an error.
13281 Use char because int might match the return type of a GCC
13282 builtin and then its argument prototype would still apply. */
13283 #ifdef __cplusplus
13284 extern "C"
13285 #endif
13286 char procstat_open_sysctl ();
13288 main ()
13290 return procstat_open_sysctl ();
13292 return 0;
13294 _ACEOF
13295 if ac_fn_c_try_link "$LINENO"; then :
13296 ac_cv_lib_procstat_procstat_open_sysctl=yes
13297 else
13298 ac_cv_lib_procstat_procstat_open_sysctl=no
13300 rm -f core conftest.err conftest.$ac_objext \
13301 conftest$ac_exeext conftest.$ac_ext
13302 LIBS=$ac_check_lib_save_LIBS
13304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13305 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13306 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13308 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13310 LIBPROCSTAT="-lprocstat"
13316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13317 $as_echo_n "checking for -lodbc... " >&6; }
13318 if ${ac_cv_lib_soname_odbc+:} false; then :
13319 $as_echo_n "(cached) " >&6
13320 else
13321 ac_check_soname_save_LIBS=$LIBS
13322 LIBS="-lodbc $LIBS"
13323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13324 /* end confdefs.h. */
13326 /* Override any GCC internal prototype to avoid an error.
13327 Use char because int might match the return type of a GCC
13328 builtin and then its argument prototype would still apply. */
13329 #ifdef __cplusplus
13330 extern "C"
13331 #endif
13332 char SQLConnect ();
13334 main ()
13336 return SQLConnect ();
13338 return 0;
13340 _ACEOF
13341 if ac_fn_c_try_link "$LINENO"; then :
13342 case "$LIBEXT" in
13343 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13344 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'` ;;
13345 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13346 if test "x$ac_cv_lib_soname_odbc" = x; then :
13347 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13348 fi ;;
13349 esac
13351 rm -f core conftest.err conftest.$ac_objext \
13352 conftest$ac_exeext conftest.$ac_ext
13353 LIBS=$ac_check_soname_save_LIBS
13355 if test "x$ac_cv_lib_soname_odbc" = "x"; then :
13356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13357 $as_echo "not found" >&6; }
13358 cat >>confdefs.h <<_ACEOF
13359 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13360 _ACEOF
13362 else
13363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13364 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13366 cat >>confdefs.h <<_ACEOF
13367 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13368 _ACEOF
13373 if test "x$with_netapi" != "xno"
13374 then
13375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13376 $as_echo_n "checking for -lnetapi... " >&6; }
13377 if ${ac_cv_lib_soname_netapi+:} false; then :
13378 $as_echo_n "(cached) " >&6
13379 else
13380 ac_check_soname_save_LIBS=$LIBS
13381 LIBS="-lnetapi $LIBS"
13382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13383 /* end confdefs.h. */
13385 /* Override any GCC internal prototype to avoid an error.
13386 Use char because int might match the return type of a GCC
13387 builtin and then its argument prototype would still apply. */
13388 #ifdef __cplusplus
13389 extern "C"
13390 #endif
13391 char libnetapi_init ();
13393 main ()
13395 return libnetapi_init ();
13397 return 0;
13399 _ACEOF
13400 if ac_fn_c_try_link "$LINENO"; then :
13401 case "$LIBEXT" in
13402 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13403 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'` ;;
13404 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13405 if test "x$ac_cv_lib_soname_netapi" = x; then :
13406 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13407 fi ;;
13408 esac
13410 rm -f core conftest.err conftest.$ac_objext \
13411 conftest$ac_exeext conftest.$ac_ext
13412 LIBS=$ac_check_soname_save_LIBS
13414 if test "x$ac_cv_lib_soname_netapi" = "x"; then :
13415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13416 $as_echo "not found" >&6; }
13417 cat >>confdefs.h <<_ACEOF
13418 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13419 _ACEOF
13421 else
13422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13423 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13425 cat >>confdefs.h <<_ACEOF
13426 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13427 _ACEOF
13433 test -n "$ALSALIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13434 test -n "$COREAUDIO" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
13435 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
13436 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
13438 if test "x$ALSALIBS$COREAUDIO" = "x" -a \
13439 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
13440 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13441 then
13442 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13446 EXTRACFLAGS=""
13448 if test "x${GCC}" = "xyes"
13449 then
13450 EXTRACFLAGS="-Wall -pipe"
13452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13453 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13454 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13455 $as_echo_n "(cached) " >&6
13456 else
13457 if test "$cross_compiling" = yes; then :
13458 ac_cv_c_gcc_strength_bug="yes"
13459 else
13460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13461 /* end confdefs.h. */
13462 int L[4] = {0,1,2,3};
13464 main ()
13466 static int Array[3];
13467 unsigned int B = 3;
13468 int i;
13469 for(i=0; i<B; i++) Array[i] = i - 3;
13470 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13471 L[i] = 4;
13472 return (Array[1] != -2 || L[2] != 3)
13474 return 0;
13476 _ACEOF
13477 if ac_fn_c_try_run "$LINENO"; then :
13478 ac_cv_c_gcc_strength_bug="no"
13479 else
13480 ac_cv_c_gcc_strength_bug="yes"
13482 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13483 conftest.$ac_objext conftest.beam conftest.$ac_ext
13487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13488 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13489 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13490 then
13491 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13495 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13496 if ${ac_cv_cflags__fno_builtin+:} false; then :
13497 $as_echo_n "(cached) " >&6
13498 else
13499 ac_wine_try_cflags_saved=$CFLAGS
13500 CFLAGS="$CFLAGS -fno-builtin"
13501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13502 /* end confdefs.h. */
13503 int main(int argc, char **argv) { return 0; }
13504 _ACEOF
13505 if ac_fn_c_try_link "$LINENO"; then :
13506 ac_cv_cflags__fno_builtin=yes
13507 else
13508 ac_cv_cflags__fno_builtin=no
13510 rm -f core conftest.err conftest.$ac_objext \
13511 conftest$ac_exeext conftest.$ac_ext
13512 CFLAGS=$ac_wine_try_cflags_saved
13514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13515 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13516 if test $ac_cv_cflags__fno_builtin = yes; then :
13517 BUILTINFLAG="-fno-builtin"
13520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13521 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13522 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
13523 $as_echo_n "(cached) " >&6
13524 else
13525 ac_wine_try_cflags_saved=$CFLAGS
13526 CFLAGS="$CFLAGS -fno-strict-aliasing"
13527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13528 /* end confdefs.h. */
13529 int main(int argc, char **argv) { return 0; }
13530 _ACEOF
13531 if ac_fn_c_try_link "$LINENO"; then :
13532 ac_cv_cflags__fno_strict_aliasing=yes
13533 else
13534 ac_cv_cflags__fno_strict_aliasing=no
13536 rm -f core conftest.err conftest.$ac_objext \
13537 conftest$ac_exeext conftest.$ac_ext
13538 CFLAGS=$ac_wine_try_cflags_saved
13540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13541 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13542 if test $ac_cv_cflags__fno_strict_aliasing = yes; then :
13543 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
13545 saved_CFLAGS=$CFLAGS
13546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13547 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13548 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
13549 $as_echo_n "(cached) " >&6
13550 else
13551 ac_wine_try_cflags_saved=$CFLAGS
13552 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13554 /* end confdefs.h. */
13555 int main(int argc, char **argv) { return 0; }
13556 _ACEOF
13557 if ac_fn_c_try_link "$LINENO"; then :
13558 ac_cv_cflags__Werror_unknown_warning_option=yes
13559 else
13560 ac_cv_cflags__Werror_unknown_warning_option=no
13562 rm -f core conftest.err conftest.$ac_objext \
13563 conftest$ac_exeext conftest.$ac_ext
13564 CFLAGS=$ac_wine_try_cflags_saved
13566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13567 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13568 if test $ac_cv_cflags__Werror_unknown_warning_option = yes; then :
13569 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13572 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13573 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
13574 $as_echo_n "(cached) " >&6
13575 else
13576 ac_wine_try_cflags_saved=$CFLAGS
13577 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
13578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13579 /* end confdefs.h. */
13580 int main(int argc, char **argv) { return 0; }
13581 _ACEOF
13582 if ac_fn_c_try_link "$LINENO"; then :
13583 ac_cv_cflags__Wdeclaration_after_statement=yes
13584 else
13585 ac_cv_cflags__Wdeclaration_after_statement=no
13587 rm -f core conftest.err conftest.$ac_objext \
13588 conftest$ac_exeext conftest.$ac_ext
13589 CFLAGS=$ac_wine_try_cflags_saved
13591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13592 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13593 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then :
13594 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
13596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13597 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13598 if ${ac_cv_cflags__Wempty_body+:} false; then :
13599 $as_echo_n "(cached) " >&6
13600 else
13601 ac_wine_try_cflags_saved=$CFLAGS
13602 CFLAGS="$CFLAGS -Wempty-body"
13603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13604 /* end confdefs.h. */
13605 int main(int argc, char **argv) { return 0; }
13606 _ACEOF
13607 if ac_fn_c_try_link "$LINENO"; then :
13608 ac_cv_cflags__Wempty_body=yes
13609 else
13610 ac_cv_cflags__Wempty_body=no
13612 rm -f core conftest.err conftest.$ac_objext \
13613 conftest$ac_exeext conftest.$ac_ext
13614 CFLAGS=$ac_wine_try_cflags_saved
13616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13617 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13618 if test $ac_cv_cflags__Wempty_body = yes; then :
13619 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
13621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13622 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13623 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
13624 $as_echo_n "(cached) " >&6
13625 else
13626 ac_wine_try_cflags_saved=$CFLAGS
13627 CFLAGS="$CFLAGS -Wignored-qualifiers"
13628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13629 /* end confdefs.h. */
13630 int main(int argc, char **argv) { return 0; }
13631 _ACEOF
13632 if ac_fn_c_try_link "$LINENO"; then :
13633 ac_cv_cflags__Wignored_qualifiers=yes
13634 else
13635 ac_cv_cflags__Wignored_qualifiers=no
13637 rm -f core conftest.err conftest.$ac_objext \
13638 conftest$ac_exeext conftest.$ac_ext
13639 CFLAGS=$ac_wine_try_cflags_saved
13641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13642 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13643 if test $ac_cv_cflags__Wignored_qualifiers = yes; then :
13644 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
13646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13647 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13648 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
13649 $as_echo_n "(cached) " >&6
13650 else
13651 ac_wine_try_cflags_saved=$CFLAGS
13652 CFLAGS="$CFLAGS -Wstrict-prototypes"
13653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13654 /* end confdefs.h. */
13655 int main(int argc, char **argv) { return 0; }
13656 _ACEOF
13657 if ac_fn_c_try_link "$LINENO"; then :
13658 ac_cv_cflags__Wstrict_prototypes=yes
13659 else
13660 ac_cv_cflags__Wstrict_prototypes=no
13662 rm -f core conftest.err conftest.$ac_objext \
13663 conftest$ac_exeext conftest.$ac_ext
13664 CFLAGS=$ac_wine_try_cflags_saved
13666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13667 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13668 if test $ac_cv_cflags__Wstrict_prototypes = yes; then :
13669 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
13671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13672 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13673 if ${ac_cv_cflags__Wtype_limits+:} false; then :
13674 $as_echo_n "(cached) " >&6
13675 else
13676 ac_wine_try_cflags_saved=$CFLAGS
13677 CFLAGS="$CFLAGS -Wtype-limits"
13678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13679 /* end confdefs.h. */
13680 int main(int argc, char **argv) { return 0; }
13681 _ACEOF
13682 if ac_fn_c_try_link "$LINENO"; then :
13683 ac_cv_cflags__Wtype_limits=yes
13684 else
13685 ac_cv_cflags__Wtype_limits=no
13687 rm -f core conftest.err conftest.$ac_objext \
13688 conftest$ac_exeext conftest.$ac_ext
13689 CFLAGS=$ac_wine_try_cflags_saved
13691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13692 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13693 if test $ac_cv_cflags__Wtype_limits = yes; then :
13694 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
13696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13697 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13698 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
13699 $as_echo_n "(cached) " >&6
13700 else
13701 ac_wine_try_cflags_saved=$CFLAGS
13702 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
13703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13704 /* end confdefs.h. */
13705 int main(int argc, char **argv) { return 0; }
13706 _ACEOF
13707 if ac_fn_c_try_link "$LINENO"; then :
13708 ac_cv_cflags__Wunused_but_set_parameter=yes
13709 else
13710 ac_cv_cflags__Wunused_but_set_parameter=no
13712 rm -f core conftest.err conftest.$ac_objext \
13713 conftest$ac_exeext conftest.$ac_ext
13714 CFLAGS=$ac_wine_try_cflags_saved
13716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13717 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13718 if test $ac_cv_cflags__Wunused_but_set_parameter = yes; then :
13719 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
13721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13722 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13723 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
13724 $as_echo_n "(cached) " >&6
13725 else
13726 ac_wine_try_cflags_saved=$CFLAGS
13727 CFLAGS="$CFLAGS -Wwrite-strings"
13728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13729 /* end confdefs.h. */
13730 int main(int argc, char **argv) { return 0; }
13731 _ACEOF
13732 if ac_fn_c_try_link "$LINENO"; then :
13733 ac_cv_cflags__Wwrite_strings=yes
13734 else
13735 ac_cv_cflags__Wwrite_strings=no
13737 rm -f core conftest.err conftest.$ac_objext \
13738 conftest$ac_exeext conftest.$ac_ext
13739 CFLAGS=$ac_wine_try_cflags_saved
13741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13742 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13743 if test $ac_cv_cflags__Wwrite_strings = yes; then :
13744 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
13747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13748 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13749 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
13750 $as_echo_n "(cached) " >&6
13751 else
13752 ac_wine_try_cflags_saved=$CFLAGS
13753 CFLAGS="$CFLAGS -Wpointer-arith"
13754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13755 /* end confdefs.h. */
13756 int main(int argc, char **argv) { return 0; }
13757 _ACEOF
13758 if ac_fn_c_try_link "$LINENO"; then :
13759 ac_cv_cflags__Wpointer_arith=yes
13760 else
13761 ac_cv_cflags__Wpointer_arith=no
13763 rm -f core conftest.err conftest.$ac_objext \
13764 conftest$ac_exeext conftest.$ac_ext
13765 CFLAGS=$ac_wine_try_cflags_saved
13767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13768 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13769 if test $ac_cv_cflags__Wpointer_arith = yes; then :
13770 saved_string_h_CFLAGS=$CFLAGS
13771 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
13772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13773 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13774 if ${ac_cv_c_string_h_warnings+:} false; then :
13775 $as_echo_n "(cached) " >&6
13776 else
13777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13778 /* end confdefs.h. */
13779 #include <string.h>
13781 main ()
13785 return 0;
13787 _ACEOF
13788 if ac_fn_c_try_compile "$LINENO"; then :
13789 ac_cv_c_string_h_warnings=no
13790 else
13791 ac_cv_c_string_h_warnings=yes
13793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13796 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13797 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
13798 CFLAGS=$saved_string_h_CFLAGS
13801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13802 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13803 if ${ac_cv_cflags__Wlogical_op+:} false; then :
13804 $as_echo_n "(cached) " >&6
13805 else
13806 ac_wine_try_cflags_saved=$CFLAGS
13807 CFLAGS="$CFLAGS -Wlogical-op"
13808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13809 /* end confdefs.h. */
13810 int main(int argc, char **argv) { return 0; }
13811 _ACEOF
13812 if ac_fn_c_try_link "$LINENO"; then :
13813 ac_cv_cflags__Wlogical_op=yes
13814 else
13815 ac_cv_cflags__Wlogical_op=no
13817 rm -f core conftest.err conftest.$ac_objext \
13818 conftest$ac_exeext conftest.$ac_ext
13819 CFLAGS=$ac_wine_try_cflags_saved
13821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13822 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13823 if test $ac_cv_cflags__Wlogical_op = yes; then :
13824 saved_string_h_CFLAGS=$CFLAGS
13825 CFLAGS="$CFLAGS -Wlogical-op -Werror"
13826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13827 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13828 if ${ac_cv_c_logicalop_noisy+:} false; then :
13829 $as_echo_n "(cached) " >&6
13830 else
13831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13832 /* end confdefs.h. */
13833 #include <string.h>
13834 char*f(const char *h,char n) {return strchr(h,n);}
13836 main ()
13840 return 0;
13842 _ACEOF
13843 if ac_fn_c_try_compile "$LINENO"; then :
13844 ac_cv_c_logicalop_noisy=no
13845 else
13846 ac_cv_c_logicalop_noisy=yes
13848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13851 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13852 CFLAGS=$saved_string_h_CFLAGS
13853 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
13856 CFLAGS=$saved_CFLAGS
13858 for ac_flag in $CFLAGS; do
13859 case $ac_flag in
13860 -g) case $host_os in
13861 darwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13862 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
13863 if ${ac_cv_cflags__gstabsp+:} false; then :
13864 $as_echo_n "(cached) " >&6
13865 else
13866 ac_wine_try_cflags_saved=$CFLAGS
13867 CFLAGS="$CFLAGS -gstabs+"
13868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13869 /* end confdefs.h. */
13870 int main(int argc, char **argv) { return 0; }
13871 _ACEOF
13872 if ac_fn_c_try_link "$LINENO"; then :
13873 ac_cv_cflags__gstabsp=yes
13874 else
13875 ac_cv_cflags__gstabsp=no
13877 rm -f core conftest.err conftest.$ac_objext \
13878 conftest$ac_exeext conftest.$ac_ext
13879 CFLAGS=$ac_wine_try_cflags_saved
13881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
13882 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
13883 if test $ac_cv_cflags__gstabsp = yes; then :
13884 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
13885 fi ;;
13886 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
13887 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
13888 if ${ac_cv_cflags__gdwarf_2+:} false; then :
13889 $as_echo_n "(cached) " >&6
13890 else
13891 ac_wine_try_cflags_saved=$CFLAGS
13892 CFLAGS="$CFLAGS -gdwarf-2"
13893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13894 /* end confdefs.h. */
13895 int main(int argc, char **argv) { return 0; }
13896 _ACEOF
13897 if ac_fn_c_try_link "$LINENO"; then :
13898 ac_cv_cflags__gdwarf_2=yes
13899 else
13900 ac_cv_cflags__gdwarf_2=no
13902 rm -f core conftest.err conftest.$ac_objext \
13903 conftest$ac_exeext conftest.$ac_ext
13904 CFLAGS=$ac_wine_try_cflags_saved
13906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
13907 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
13908 if test $ac_cv_cflags__gdwarf_2 = yes; then :
13909 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
13911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
13912 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
13913 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
13914 $as_echo_n "(cached) " >&6
13915 else
13916 ac_wine_try_cflags_saved=$CFLAGS
13917 CFLAGS="$CFLAGS -gstrict-dwarf"
13918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13919 /* end confdefs.h. */
13920 int main(int argc, char **argv) { return 0; }
13921 _ACEOF
13922 if ac_fn_c_try_link "$LINENO"; then :
13923 ac_cv_cflags__gstrict_dwarf=yes
13924 else
13925 ac_cv_cflags__gstrict_dwarf=no
13927 rm -f core conftest.err conftest.$ac_objext \
13928 conftest$ac_exeext conftest.$ac_ext
13929 CFLAGS=$ac_wine_try_cflags_saved
13931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
13932 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
13933 if test $ac_cv_cflags__gstrict_dwarf = yes; then :
13934 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
13935 fi ;;
13936 esac ;;
13937 esac
13938 done
13940 case $host_cpu in
13941 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
13942 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
13943 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
13944 $as_echo_n "(cached) " >&6
13945 else
13946 ac_wine_try_cflags_saved=$CFLAGS
13947 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
13948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13949 /* end confdefs.h. */
13950 int main(int argc, char **argv) { return 0; }
13951 _ACEOF
13952 if ac_fn_c_try_link "$LINENO"; then :
13953 ac_cv_cflags__fno_omit_frame_pointer=yes
13954 else
13955 ac_cv_cflags__fno_omit_frame_pointer=no
13957 rm -f core conftest.err conftest.$ac_objext \
13958 conftest$ac_exeext conftest.$ac_ext
13959 CFLAGS=$ac_wine_try_cflags_saved
13961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
13962 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
13963 if test $ac_cv_cflags__fno_omit_frame_pointer = yes; then :
13964 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
13965 fi ;;
13966 esac
13968 case $host in
13969 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
13970 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
13971 if ${ac_cv_cflags__Wno_format+:} false; then :
13972 $as_echo_n "(cached) " >&6
13973 else
13974 ac_wine_try_cflags_saved=$CFLAGS
13975 CFLAGS="$CFLAGS -Wno-format"
13976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13977 /* end confdefs.h. */
13978 int main(int argc, char **argv) { return 0; }
13979 _ACEOF
13980 if ac_fn_c_try_link "$LINENO"; then :
13981 ac_cv_cflags__Wno_format=yes
13982 else
13983 ac_cv_cflags__Wno_format=no
13985 rm -f core conftest.err conftest.$ac_objext \
13986 conftest$ac_exeext conftest.$ac_ext
13987 CFLAGS=$ac_wine_try_cflags_saved
13989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
13990 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
13991 if test $ac_cv_cflags__Wno_format = yes; then :
13992 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
13993 fi ;;
13994 esac
13996 if test "x$enable_maintainer_mode" = "xyes"
13997 then
13998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
13999 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14000 if ${ac_cv_cflags__Werror+:} false; then :
14001 $as_echo_n "(cached) " >&6
14002 else
14003 ac_wine_try_cflags_saved=$CFLAGS
14004 CFLAGS="$CFLAGS -Werror"
14005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14006 /* end confdefs.h. */
14007 int main(int argc, char **argv) { return 0; }
14008 _ACEOF
14009 if ac_fn_c_try_link "$LINENO"; then :
14010 ac_cv_cflags__Werror=yes
14011 else
14012 ac_cv_cflags__Werror=no
14014 rm -f core conftest.err conftest.$ac_objext \
14015 conftest$ac_exeext conftest.$ac_ext
14016 CFLAGS=$ac_wine_try_cflags_saved
14018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14019 $as_echo "$ac_cv_cflags__Werror" >&6; }
14020 if test $ac_cv_cflags__Werror = yes; then :
14021 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14025 saved_CFLAGS="$CFLAGS"
14026 CFLAGS="$CFLAGS -Werror"
14027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14028 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14029 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14030 $as_echo_n "(cached) " >&6
14031 else
14032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14033 /* end confdefs.h. */
14034 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14036 main ()
14040 return 0;
14042 _ACEOF
14043 if ac_fn_c_try_compile "$LINENO"; then :
14044 ac_cv_have_ms_hook_prologue="yes"
14045 else
14046 ac_cv_have_ms_hook_prologue="no"
14048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14051 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14052 CFLAGS="$saved_CFLAGS"
14053 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14054 then
14056 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14058 else
14059 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14066 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14067 if ${ac_cv_c_fortify_enabled+:} false; then :
14068 $as_echo_n "(cached) " >&6
14069 else
14070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14071 /* end confdefs.h. */
14072 #include <string.h>
14074 main ()
14076 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14077 #error Fortify enabled
14078 #endif
14080 return 0;
14082 _ACEOF
14083 if ac_fn_c_try_compile "$LINENO"; then :
14084 ac_cv_c_fortify_enabled=no
14085 else
14086 ac_cv_c_fortify_enabled=yes
14088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14091 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14092 if test "$ac_cv_c_fortify_enabled" = yes
14093 then
14094 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14099 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14100 if ${ac_cv_c_extern_prefix+:} false; then :
14101 $as_echo_n "(cached) " >&6
14102 else
14103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14104 /* end confdefs.h. */
14105 extern int ac_test;
14107 main ()
14109 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14111 return 0;
14113 _ACEOF
14114 if ac_fn_c_try_link "$LINENO"; then :
14115 ac_cv_c_extern_prefix="yes"
14116 else
14117 ac_cv_c_extern_prefix="no"
14119 rm -f core conftest.err conftest.$ac_objext \
14120 conftest$ac_exeext conftest.$ac_ext
14122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14123 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14125 case $host_cpu in
14126 *i[3456789]86*)
14127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14128 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14129 if ${ac_cv_c_stdcall_suffix+:} false; then :
14130 $as_echo_n "(cached) " >&6
14131 else
14132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14133 /* end confdefs.h. */
14134 #ifndef _MSC_VER
14135 #define __stdcall __attribute__((__stdcall__))
14136 #endif
14137 int __stdcall ac_test(int i) { return i; }
14139 main ()
14141 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14143 return 0;
14145 _ACEOF
14146 if ac_fn_c_try_link "$LINENO"; then :
14147 ac_cv_c_stdcall_suffix="yes"
14148 else
14149 ac_cv_c_stdcall_suffix="no"
14151 rm -f core conftest.err conftest.$ac_objext \
14152 conftest$ac_exeext conftest.$ac_ext
14154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14155 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14156 *) ac_cv_c_stdcall_suffix="no" ;;
14157 esac
14160 if test "$ac_cv_c_extern_prefix" = "yes"
14161 then
14162 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14164 asm_name_prefix="_"
14165 else
14166 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14168 asm_name_prefix=""
14172 if test "$ac_cv_c_stdcall_suffix" = "yes"
14173 then
14174 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14176 else
14177 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14183 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14184 if ${ac_cv_asm_func_def+:} false; then :
14185 $as_echo_n "(cached) " >&6
14186 else
14187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14188 /* end confdefs.h. */
14191 main ()
14193 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14195 return 0;
14197 _ACEOF
14198 if ac_fn_c_try_link "$LINENO"; then :
14199 ac_cv_asm_func_def=".def"
14200 else
14201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14202 /* end confdefs.h. */
14205 main ()
14207 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14209 return 0;
14211 _ACEOF
14212 if ac_fn_c_try_link "$LINENO"; then :
14213 ac_cv_asm_func_def=".type @function"
14214 else
14215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14216 /* end confdefs.h. */
14219 main ()
14221 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14223 return 0;
14225 _ACEOF
14226 if ac_fn_c_try_link "$LINENO"; then :
14227 ac_cv_asm_func_def=".type 2"
14228 else
14229 ac_cv_asm_func_def="unknown"
14231 rm -f core conftest.err conftest.$ac_objext \
14232 conftest$ac_exeext conftest.$ac_ext
14234 rm -f core conftest.err conftest.$ac_objext \
14235 conftest$ac_exeext conftest.$ac_ext
14237 rm -f core conftest.err conftest.$ac_objext \
14238 conftest$ac_exeext conftest.$ac_ext
14240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14241 $as_echo "$ac_cv_asm_func_def" >&6; }
14244 case "$ac_cv_asm_func_def" in
14245 ".def")
14246 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14248 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14249 ".type @function")
14250 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14252 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14253 ".type 2")
14254 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14256 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14258 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14260 asm_func_header="" ;;
14261 esac
14263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14264 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14265 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14266 $as_echo_n "(cached) " >&6
14267 else
14268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14269 /* end confdefs.h. */
14270 asm(".text\n\t.long 0");
14272 main ()
14276 return 0;
14278 _ACEOF
14279 if ac_fn_c_try_compile "$LINENO"; then :
14280 ac_cv_c_asm_outside_funcs="yes"
14281 else
14282 ac_cv_c_asm_outside_funcs="no"
14284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14287 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14290 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14291 if ${ac_cv_c_dot_previous+:} false; then :
14292 $as_echo_n "(cached) " >&6
14293 else
14294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14295 /* end confdefs.h. */
14298 main ()
14300 asm(".text\nac_test:\t.long 0\n\t.previous");
14302 return 0;
14304 _ACEOF
14305 if ac_fn_c_try_link "$LINENO"; then :
14306 ac_cv_c_dot_previous="yes"
14307 else
14308 ac_cv_c_dot_previous="no"
14310 rm -f core conftest.err conftest.$ac_objext \
14311 conftest$ac_exeext conftest.$ac_ext
14313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14314 $as_echo "$ac_cv_c_dot_previous" >&6; }
14316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14317 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14318 if ${ac_cv_c_cfi_support+:} false; then :
14319 $as_echo_n "(cached) " >&6
14320 else
14321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14322 /* end confdefs.h. */
14323 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14325 main ()
14329 return 0;
14331 _ACEOF
14332 if ac_fn_c_try_compile "$LINENO"; then :
14333 ac_cv_c_cfi_support="yes"
14334 else
14335 ac_cv_c_cfi_support="no"
14337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14340 $as_echo "$ac_cv_c_cfi_support" >&6; }
14342 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14343 asm_func_trailer=""
14344 if test "$ac_cv_c_dot_previous" = "yes"
14345 then
14346 asm_func_trailer="\\n\\t.previous"
14348 if test "$ac_cv_c_cfi_support" = "yes"
14349 then
14350 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14351 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14353 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14355 UNWINDFLAGS=-fasynchronous-unwind-tables
14357 else
14358 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14362 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14365 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14366 then
14367 cat >>confdefs.h <<_ACEOF
14368 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14369 _ACEOF
14371 else
14372 cat >>confdefs.h <<_ACEOF
14373 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14374 _ACEOF
14378 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14381 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14385 case $build_os in
14386 cygwin*|mingw32*) TOOLSEXT=".exe"
14388 esac
14390 case $host_os in
14391 linux*)
14392 case $host_cpu in
14393 *i[3456789]86*|x86_64*)
14394 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14395 loader_programs="$loader_programs $wine_binary-preloader"
14396 as_fn_append LOADER_RULES "
14397 $wine_binary-preloader: preloader.o
14398 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14400 install install-lib:: $wine_binary-preloader
14401 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14403 uninstall::
14404 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14405 " ;;
14406 esac
14408 esac
14409 as_fn_append LOADER_RULES "
14410 PROGRAMS = $loader_programs
14414 ac_save_CFLAGS="$CFLAGS"
14415 CFLAGS="$CFLAGS $BUILTINFLAG"
14416 for ac_func in \
14417 __res_get_state \
14418 __res_getservers \
14419 _finite \
14420 _isnan \
14421 _pclose \
14422 _popen \
14423 _snprintf \
14424 _spawnvp \
14425 _strdup \
14426 _stricmp \
14427 _strnicmp \
14428 _strtoi64 \
14429 _strtoui64 \
14430 _vsnprintf \
14431 asctime_r \
14432 chsize \
14433 dlopen \
14434 epoll_create \
14435 ffs \
14436 fnmatch \
14437 fork \
14438 fpclass \
14439 fstatfs \
14440 fstatvfs \
14441 ftruncate \
14442 futimens \
14443 futimes \
14444 futimesat \
14445 getattrlist \
14446 getdirentries \
14447 getopt_long_only \
14448 getpwuid \
14449 gettimeofday \
14450 getuid \
14451 if_nameindex \
14452 kqueue \
14453 lstat \
14454 memmove \
14455 mmap \
14456 pclose \
14457 pipe2 \
14458 poll \
14459 popen \
14460 port_create \
14461 prctl \
14462 pread \
14463 proc_pidinfo \
14464 pwrite \
14465 readdir \
14466 readlink \
14467 sched_yield \
14468 select \
14469 setproctitle \
14470 setrlimit \
14471 settimeofday \
14472 sigaltstack \
14473 sigprocmask \
14474 snprintf \
14475 statfs \
14476 statvfs \
14477 strcasecmp \
14478 strdup \
14479 strerror \
14480 strncasecmp \
14481 strtold \
14482 strtoll \
14483 strtoull \
14484 symlink \
14485 tcdrain \
14486 thr_kill2 \
14487 timegm \
14488 usleep \
14489 vsnprintf
14491 do :
14492 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14493 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14494 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14495 cat >>confdefs.h <<_ACEOF
14496 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14497 _ACEOF
14500 done
14502 CFLAGS="$ac_save_CFLAGS"
14504 if test "$ac_cv_func_dlopen" = no
14505 then
14506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14507 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14508 if ${ac_cv_lib_dl_dlopen+:} false; then :
14509 $as_echo_n "(cached) " >&6
14510 else
14511 ac_check_lib_save_LIBS=$LIBS
14512 LIBS="-ldl $LIBS"
14513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14514 /* end confdefs.h. */
14516 /* Override any GCC internal prototype to avoid an error.
14517 Use char because int might match the return type of a GCC
14518 builtin and then its argument prototype would still apply. */
14519 #ifdef __cplusplus
14520 extern "C"
14521 #endif
14522 char dlopen ();
14524 main ()
14526 return dlopen ();
14528 return 0;
14530 _ACEOF
14531 if ac_fn_c_try_link "$LINENO"; then :
14532 ac_cv_lib_dl_dlopen=yes
14533 else
14534 ac_cv_lib_dl_dlopen=no
14536 rm -f core conftest.err conftest.$ac_objext \
14537 conftest$ac_exeext conftest.$ac_ext
14538 LIBS=$ac_check_lib_save_LIBS
14540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14541 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14542 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14543 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14544 LIBDL="-ldl"
14549 ac_wine_check_funcs_save_LIBS="$LIBS"
14550 LIBS="$LIBS $LIBDL"
14551 for ac_func in dladdr
14552 do :
14553 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
14554 if test "x$ac_cv_func_dladdr" = xyes; then :
14555 cat >>confdefs.h <<_ACEOF
14556 #define HAVE_DLADDR 1
14557 _ACEOF
14560 done
14562 LIBS="$ac_wine_check_funcs_save_LIBS"
14564 if test "$ac_cv_func_poll" = no
14565 then
14566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14567 $as_echo_n "checking for poll in -lpoll... " >&6; }
14568 if ${ac_cv_lib_poll_poll+:} false; then :
14569 $as_echo_n "(cached) " >&6
14570 else
14571 ac_check_lib_save_LIBS=$LIBS
14572 LIBS="-lpoll $LIBS"
14573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14574 /* end confdefs.h. */
14576 /* Override any GCC internal prototype to avoid an error.
14577 Use char because int might match the return type of a GCC
14578 builtin and then its argument prototype would still apply. */
14579 #ifdef __cplusplus
14580 extern "C"
14581 #endif
14582 char poll ();
14584 main ()
14586 return poll ();
14588 return 0;
14590 _ACEOF
14591 if ac_fn_c_try_link "$LINENO"; then :
14592 ac_cv_lib_poll_poll=yes
14593 else
14594 ac_cv_lib_poll_poll=no
14596 rm -f core conftest.err conftest.$ac_objext \
14597 conftest$ac_exeext conftest.$ac_ext
14598 LIBS=$ac_check_lib_save_LIBS
14600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14601 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14602 if test "x$ac_cv_lib_poll_poll" = xyes; then :
14603 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14604 LIBPOLL="-lpoll"
14610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14611 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14612 if ${ac_cv_search_gethostbyname+:} false; then :
14613 $as_echo_n "(cached) " >&6
14614 else
14615 ac_func_search_save_LIBS=$LIBS
14616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14617 /* end confdefs.h. */
14619 /* Override any GCC internal prototype to avoid an error.
14620 Use char because int might match the return type of a GCC
14621 builtin and then its argument prototype would still apply. */
14622 #ifdef __cplusplus
14623 extern "C"
14624 #endif
14625 char gethostbyname ();
14627 main ()
14629 return gethostbyname ();
14631 return 0;
14633 _ACEOF
14634 for ac_lib in '' nsl; do
14635 if test -z "$ac_lib"; then
14636 ac_res="none required"
14637 else
14638 ac_res=-l$ac_lib
14639 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14641 if ac_fn_c_try_link "$LINENO"; then :
14642 ac_cv_search_gethostbyname=$ac_res
14644 rm -f core conftest.err conftest.$ac_objext \
14645 conftest$ac_exeext
14646 if ${ac_cv_search_gethostbyname+:} false; then :
14647 break
14649 done
14650 if ${ac_cv_search_gethostbyname+:} false; then :
14652 else
14653 ac_cv_search_gethostbyname=no
14655 rm conftest.$ac_ext
14656 LIBS=$ac_func_search_save_LIBS
14658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14659 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14660 ac_res=$ac_cv_search_gethostbyname
14661 if test "$ac_res" != no; then :
14662 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14668 $as_echo_n "checking for library containing connect... " >&6; }
14669 if ${ac_cv_search_connect+:} false; then :
14670 $as_echo_n "(cached) " >&6
14671 else
14672 ac_func_search_save_LIBS=$LIBS
14673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14674 /* end confdefs.h. */
14676 /* Override any GCC internal prototype to avoid an error.
14677 Use char because int might match the return type of a GCC
14678 builtin and then its argument prototype would still apply. */
14679 #ifdef __cplusplus
14680 extern "C"
14681 #endif
14682 char connect ();
14684 main ()
14686 return connect ();
14688 return 0;
14690 _ACEOF
14691 for ac_lib in '' socket; do
14692 if test -z "$ac_lib"; then
14693 ac_res="none required"
14694 else
14695 ac_res=-l$ac_lib
14696 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14698 if ac_fn_c_try_link "$LINENO"; then :
14699 ac_cv_search_connect=$ac_res
14701 rm -f core conftest.err conftest.$ac_objext \
14702 conftest$ac_exeext
14703 if ${ac_cv_search_connect+:} false; then :
14704 break
14706 done
14707 if ${ac_cv_search_connect+:} false; then :
14709 else
14710 ac_cv_search_connect=no
14712 rm conftest.$ac_ext
14713 LIBS=$ac_func_search_save_LIBS
14715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14716 $as_echo "$ac_cv_search_connect" >&6; }
14717 ac_res=$ac_cv_search_connect
14718 if test "$ac_res" != no; then :
14719 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14725 $as_echo_n "checking for library containing inet_aton... " >&6; }
14726 if ${ac_cv_search_inet_aton+:} false; then :
14727 $as_echo_n "(cached) " >&6
14728 else
14729 ac_func_search_save_LIBS=$LIBS
14730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14731 /* end confdefs.h. */
14733 /* Override any GCC internal prototype to avoid an error.
14734 Use char because int might match the return type of a GCC
14735 builtin and then its argument prototype would still apply. */
14736 #ifdef __cplusplus
14737 extern "C"
14738 #endif
14739 char inet_aton ();
14741 main ()
14743 return inet_aton ();
14745 return 0;
14747 _ACEOF
14748 for ac_lib in '' resolv; do
14749 if test -z "$ac_lib"; then
14750 ac_res="none required"
14751 else
14752 ac_res=-l$ac_lib
14753 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14755 if ac_fn_c_try_link "$LINENO"; then :
14756 ac_cv_search_inet_aton=$ac_res
14758 rm -f core conftest.err conftest.$ac_objext \
14759 conftest$ac_exeext
14760 if ${ac_cv_search_inet_aton+:} false; then :
14761 break
14763 done
14764 if ${ac_cv_search_inet_aton+:} false; then :
14766 else
14767 ac_cv_search_inet_aton=no
14769 rm conftest.$ac_ext
14770 LIBS=$ac_func_search_save_LIBS
14772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14773 $as_echo "$ac_cv_search_inet_aton" >&6; }
14774 ac_res=$ac_cv_search_inet_aton
14775 if test "$ac_res" != no; then :
14776 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14781 for ac_func in \
14782 getaddrinfo \
14783 getnameinfo \
14784 getnetbyname \
14785 getprotobyname \
14786 getprotobynumber \
14787 getservbyport \
14788 inet_addr \
14789 inet_network \
14790 inet_ntop \
14791 inet_pton \
14792 sendmsg \
14793 socketpair \
14795 do :
14796 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14797 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14798 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14799 cat >>confdefs.h <<_ACEOF
14800 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14801 _ACEOF
14804 done
14807 ac_save_LIBS=$LIBS
14808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14809 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14810 if ${ac_cv_search_clock_gettime+:} false; then :
14811 $as_echo_n "(cached) " >&6
14812 else
14813 ac_func_search_save_LIBS=$LIBS
14814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14815 /* end confdefs.h. */
14817 /* Override any GCC internal prototype to avoid an error.
14818 Use char because int might match the return type of a GCC
14819 builtin and then its argument prototype would still apply. */
14820 #ifdef __cplusplus
14821 extern "C"
14822 #endif
14823 char clock_gettime ();
14825 main ()
14827 return clock_gettime ();
14829 return 0;
14831 _ACEOF
14832 for ac_lib in '' rt; do
14833 if test -z "$ac_lib"; then
14834 ac_res="none required"
14835 else
14836 ac_res=-l$ac_lib
14837 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14839 if ac_fn_c_try_link "$LINENO"; then :
14840 ac_cv_search_clock_gettime=$ac_res
14842 rm -f core conftest.err conftest.$ac_objext \
14843 conftest$ac_exeext
14844 if ${ac_cv_search_clock_gettime+:} false; then :
14845 break
14847 done
14848 if ${ac_cv_search_clock_gettime+:} false; then :
14850 else
14851 ac_cv_search_clock_gettime=no
14853 rm conftest.$ac_ext
14854 LIBS=$ac_func_search_save_LIBS
14856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14857 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14858 ac_res=$ac_cv_search_clock_gettime
14859 if test "$ac_res" != no; then :
14860 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14862 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
14864 test "$ac_res" = "none required" || LIBRT="$ac_res"
14868 LIBS=$ac_save_LIBS
14870 LDAPLIBS=""
14872 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
14873 then
14874 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
14876 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
14877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
14878 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
14879 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
14880 $as_echo_n "(cached) " >&6
14881 else
14882 ac_check_lib_save_LIBS=$LIBS
14883 LIBS="-lldap_r $LIBPTHREAD $LIBS"
14884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14885 /* end confdefs.h. */
14887 /* Override any GCC internal prototype to avoid an error.
14888 Use char because int might match the return type of a GCC
14889 builtin and then its argument prototype would still apply. */
14890 #ifdef __cplusplus
14891 extern "C"
14892 #endif
14893 char ldap_initialize ();
14895 main ()
14897 return ldap_initialize ();
14899 return 0;
14901 _ACEOF
14902 if ac_fn_c_try_link "$LINENO"; then :
14903 ac_cv_lib_ldap_r_ldap_initialize=yes
14904 else
14905 ac_cv_lib_ldap_r_ldap_initialize=no
14907 rm -f core conftest.err conftest.$ac_objext \
14908 conftest$ac_exeext conftest.$ac_ext
14909 LIBS=$ac_check_lib_save_LIBS
14911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
14912 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
14913 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
14914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
14915 $as_echo_n "checking for ber_init in -llber... " >&6; }
14916 if ${ac_cv_lib_lber_ber_init+:} false; then :
14917 $as_echo_n "(cached) " >&6
14918 else
14919 ac_check_lib_save_LIBS=$LIBS
14920 LIBS="-llber $LIBPTHREAD $LIBS"
14921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14922 /* end confdefs.h. */
14924 /* Override any GCC internal prototype to avoid an error.
14925 Use char because int might match the return type of a GCC
14926 builtin and then its argument prototype would still apply. */
14927 #ifdef __cplusplus
14928 extern "C"
14929 #endif
14930 char ber_init ();
14932 main ()
14934 return ber_init ();
14936 return 0;
14938 _ACEOF
14939 if ac_fn_c_try_link "$LINENO"; then :
14940 ac_cv_lib_lber_ber_init=yes
14941 else
14942 ac_cv_lib_lber_ber_init=no
14944 rm -f core conftest.err conftest.$ac_objext \
14945 conftest$ac_exeext conftest.$ac_ext
14946 LIBS=$ac_check_lib_save_LIBS
14948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
14949 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
14950 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
14952 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
14954 LDAPLIBS="-lldap_r -llber"
14961 ac_wine_check_funcs_save_LIBS="$LIBS"
14962 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
14963 for ac_func in \
14964 ldap_count_references \
14965 ldap_first_reference \
14966 ldap_next_reference \
14967 ldap_parse_reference \
14968 ldap_parse_sort_control \
14969 ldap_parse_sortresponse_control \
14970 ldap_parse_vlv_control \
14971 ldap_parse_vlvresponse_control
14972 do :
14973 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14974 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14975 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14976 cat >>confdefs.h <<_ACEOF
14977 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14978 _ACEOF
14981 done
14983 LIBS="$ac_wine_check_funcs_save_LIBS"
14985 if test "x$LDAPLIBS" = "x"; then :
14986 case "x$with_ldap" in
14987 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
14988 xno) ;;
14989 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
14990 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
14991 esac
14994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
14995 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
14996 if ${wine_cv_one_arg_mkdir+:} false; then :
14997 $as_echo_n "(cached) " >&6
14998 else
14999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15000 /* end confdefs.h. */
15001 #include <sys/stat.h>
15003 main ()
15005 mkdir("foo");
15007 return 0;
15009 _ACEOF
15010 if ac_fn_c_try_compile "$LINENO"; then :
15011 wine_cv_one_arg_mkdir=yes
15012 else
15013 wine_cv_one_arg_mkdir=no
15015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15018 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15019 if test "$wine_cv_one_arg_mkdir" = "yes"
15020 then
15022 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15027 $as_echo_n "checking for sched_setaffinity... " >&6; }
15028 if ${wine_cv_have_sched_setaffinity+:} false; then :
15029 $as_echo_n "(cached) " >&6
15030 else
15031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15032 /* end confdefs.h. */
15033 #define _GNU_SOURCE
15034 #include <sched.h>
15036 main ()
15038 sched_setaffinity(0, 0, 0);
15040 return 0;
15042 _ACEOF
15043 if ac_fn_c_try_link "$LINENO"; then :
15044 wine_cv_have_sched_setaffinity=yes
15045 else
15046 wine_cv_have_sched_setaffinity=no
15048 rm -f core conftest.err conftest.$ac_objext \
15049 conftest$ac_exeext conftest.$ac_ext
15051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15052 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15053 if test "$wine_cv_have_sched_setaffinity" = "yes"
15054 then
15056 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15061 $as_echo_n "checking for fallocate... " >&6; }
15062 if ${wine_cv_have_fallocate+:} false; then :
15063 $as_echo_n "(cached) " >&6
15064 else
15065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15066 /* end confdefs.h. */
15067 #define _GNU_SOURCE
15068 #include <fcntl.h>
15070 main ()
15072 fallocate(-1, 0, 0, 0);
15074 return 0;
15076 _ACEOF
15077 if ac_fn_c_try_link "$LINENO"; then :
15078 wine_cv_have_fallocate=yes
15079 else
15080 wine_cv_have_fallocate=no
15082 rm -f core conftest.err conftest.$ac_objext \
15083 conftest$ac_exeext conftest.$ac_ext
15085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15086 $as_echo "$wine_cv_have_fallocate" >&6; }
15087 if test "$wine_cv_have_fallocate" = "yes"
15088 then
15090 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15096 $as_echo_n "checking for inline... " >&6; }
15097 if ${ac_cv_c_inline+:} false; then :
15098 $as_echo_n "(cached) " >&6
15099 else
15100 ac_cv_c_inline=no
15101 for ac_kw in inline __inline__ __inline; do
15102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15103 /* end confdefs.h. */
15104 #ifndef __cplusplus
15105 typedef int foo_t;
15106 static $ac_kw foo_t static_foo () {return 0; }
15107 $ac_kw foo_t foo () {return 0; }
15108 #endif
15110 _ACEOF
15111 if ac_fn_c_try_compile "$LINENO"; then :
15112 ac_cv_c_inline=$ac_kw
15114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15115 test "$ac_cv_c_inline" != no && break
15116 done
15119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15120 $as_echo "$ac_cv_c_inline" >&6; }
15122 case $ac_cv_c_inline in
15123 inline | yes) ;;
15125 case $ac_cv_c_inline in
15126 no) ac_val=;;
15127 *) ac_val=$ac_cv_c_inline;;
15128 esac
15129 cat >>confdefs.h <<_ACEOF
15130 #ifndef __cplusplus
15131 #define inline $ac_val
15132 #endif
15133 _ACEOF
15135 esac
15137 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15138 if test "x$ac_cv_type_mode_t" = xyes; then :
15140 cat >>confdefs.h <<_ACEOF
15141 #define HAVE_MODE_T 1
15142 _ACEOF
15146 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15147 if test "x$ac_cv_type_off_t" = xyes; then :
15149 cat >>confdefs.h <<_ACEOF
15150 #define HAVE_OFF_T 1
15151 _ACEOF
15155 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15156 if test "x$ac_cv_type_pid_t" = xyes; then :
15158 cat >>confdefs.h <<_ACEOF
15159 #define HAVE_PID_T 1
15160 _ACEOF
15164 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15165 if test "x$ac_cv_type_size_t" = xyes; then :
15167 cat >>confdefs.h <<_ACEOF
15168 #define HAVE_SIZE_T 1
15169 _ACEOF
15173 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15174 if test "x$ac_cv_type_ssize_t" = xyes; then :
15176 cat >>confdefs.h <<_ACEOF
15177 #define HAVE_SSIZE_T 1
15178 _ACEOF
15182 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15183 if test "x$ac_cv_type_long_long" = xyes; then :
15185 cat >>confdefs.h <<_ACEOF
15186 #define HAVE_LONG_LONG 1
15187 _ACEOF
15191 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15192 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15194 cat >>confdefs.h <<_ACEOF
15195 #define HAVE_FSBLKCNT_T 1
15196 _ACEOF
15200 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15201 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15203 cat >>confdefs.h <<_ACEOF
15204 #define HAVE_FSFILCNT_T 1
15205 _ACEOF
15210 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15211 #include <signal.h>
15213 if test "x$ac_cv_type_sigset_t" = xyes; then :
15215 cat >>confdefs.h <<_ACEOF
15216 #define HAVE_SIGSET_T 1
15217 _ACEOF
15222 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15224 if test "x$ac_cv_type_request_sense" = xyes; then :
15226 cat >>confdefs.h <<_ACEOF
15227 #define HAVE_REQUEST_SENSE 1
15228 _ACEOF
15234 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15235 #ifdef HAVE_SYS_SOCKET_H
15236 #include <sys/socket.h>
15237 #endif
15238 #ifdef HAVE_SYS_SOCKETVAR_H
15239 #include <sys/socketvar.h>
15240 #endif
15241 #ifdef HAVE_NET_ROUTE_H
15242 #include <net/route.h>
15243 #endif
15244 #ifdef HAVE_NETINET_IN_H
15245 #include <netinet/in.h>
15246 #endif
15247 #ifdef HAVE_NETINET_IN_SYSTM_H
15248 #include <netinet/in_systm.h>
15249 #endif
15250 #ifdef HAVE_NETINET_IP_H
15251 #include <netinet/ip.h>
15252 #endif
15253 #ifdef HAVE_NETINET_IN_PCB_H
15254 #include <netinet/in_pcb.h>
15255 #endif
15257 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15259 cat >>confdefs.h <<_ACEOF
15260 #define HAVE_STRUCT_XINPGEN 1
15261 _ACEOF
15267 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15268 #include <link.h>
15269 #endif
15270 #ifdef HAVE_SYS_LINK_H
15271 #include <sys/link.h>
15272 #endif
15274 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15276 cat >>confdefs.h <<_ACEOF
15277 #define HAVE_STRUCT_R_DEBUG 1
15278 _ACEOF
15282 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15283 #include <link.h>
15284 #endif
15285 #ifdef HAVE_SYS_LINK_H
15286 #include <sys/link.h>
15287 #endif
15289 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15291 cat >>confdefs.h <<_ACEOF
15292 #define HAVE_STRUCT_LINK_MAP 1
15293 _ACEOF
15299 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15300 #include <linux/input.h>
15301 #endif
15303 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15305 cat >>confdefs.h <<_ACEOF
15306 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15307 _ACEOF
15313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15314 $as_echo_n "checking for sigaddset... " >&6; }
15315 if ${wine_cv_have_sigaddset+:} false; then :
15316 $as_echo_n "(cached) " >&6
15317 else
15318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15319 /* end confdefs.h. */
15320 #include <signal.h>
15322 main ()
15324 sigset_t set; sigaddset(&set,SIGTERM);
15326 return 0;
15328 _ACEOF
15329 if ac_fn_c_try_link "$LINENO"; then :
15330 wine_cv_have_sigaddset=yes
15331 else
15332 wine_cv_have_sigaddset=no
15334 rm -f core conftest.err conftest.$ac_objext \
15335 conftest$ac_exeext conftest.$ac_ext
15337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15338 $as_echo "$wine_cv_have_sigaddset" >&6; }
15339 if test "$wine_cv_have_sigaddset" = "yes"
15340 then
15342 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15348 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15349 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15350 $as_echo_n "(cached) " >&6
15351 else
15352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15353 /* end confdefs.h. */
15354 #include <netdb.h>
15356 main ()
15359 char *name=0;
15360 struct hostent he;
15361 struct hostent *result;
15362 char *buf=0;
15363 int bufsize=0;
15364 int errnr;
15365 char *addr=0;
15366 int addrlen=0;
15367 int addrtype=0;
15368 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15369 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15372 return 0;
15374 _ACEOF
15375 if ac_fn_c_try_link "$LINENO"; then :
15376 wine_cv_linux_gethostbyname_r_6=yes
15377 else
15378 wine_cv_linux_gethostbyname_r_6=no
15381 rm -f core conftest.err conftest.$ac_objext \
15382 conftest$ac_exeext conftest.$ac_ext
15385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15386 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15387 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15388 then
15390 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15394 if test "$ac_cv_header_linux_joystick_h" = "yes"
15395 then
15396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15397 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15398 if ${wine_cv_linux_joystick_22_api+:} false; then :
15399 $as_echo_n "(cached) " >&6
15400 else
15401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15402 /* end confdefs.h. */
15404 #include <sys/ioctl.h>
15405 #include <sys/types.h>
15406 #include <linux/joystick.h>
15408 struct js_event blub;
15409 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15410 #error "no 2.2 header"
15411 #endif
15414 main ()
15416 /*empty*/
15418 return 0;
15420 _ACEOF
15421 if ac_fn_c_try_compile "$LINENO"; then :
15422 wine_cv_linux_joystick_22_api=yes
15423 else
15424 wine_cv_linux_joystick_22_api=no
15426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15430 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15431 if test "$wine_cv_linux_joystick_22_api" = "yes"
15432 then
15434 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15440 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15441 #ifdef HAVE_SYS_PARAM_H
15442 # include <sys/param.h>
15443 #endif
15444 #ifdef HAVE_SYS_MOUNT_H
15445 # include <sys/mount.h>
15446 #endif
15447 #ifdef HAVE_SYS_VFS_H
15448 # include <sys/vfs.h>
15449 #endif
15450 #ifdef HAVE_SYS_STATFS_H
15451 # include <sys/statfs.h>
15452 #endif
15454 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15456 cat >>confdefs.h <<_ACEOF
15457 #define HAVE_STRUCT_STATFS_F_BFREE 1
15458 _ACEOF
15462 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15463 #ifdef HAVE_SYS_PARAM_H
15464 # include <sys/param.h>
15465 #endif
15466 #ifdef HAVE_SYS_MOUNT_H
15467 # include <sys/mount.h>
15468 #endif
15469 #ifdef HAVE_SYS_VFS_H
15470 # include <sys/vfs.h>
15471 #endif
15472 #ifdef HAVE_SYS_STATFS_H
15473 # include <sys/statfs.h>
15474 #endif
15476 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
15478 cat >>confdefs.h <<_ACEOF
15479 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15480 _ACEOF
15484 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15485 #ifdef HAVE_SYS_PARAM_H
15486 # include <sys/param.h>
15487 #endif
15488 #ifdef HAVE_SYS_MOUNT_H
15489 # include <sys/mount.h>
15490 #endif
15491 #ifdef HAVE_SYS_VFS_H
15492 # include <sys/vfs.h>
15493 #endif
15494 #ifdef HAVE_SYS_STATFS_H
15495 # include <sys/statfs.h>
15496 #endif
15498 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
15500 cat >>confdefs.h <<_ACEOF
15501 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15502 _ACEOF
15506 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15507 #ifdef HAVE_SYS_PARAM_H
15508 # include <sys/param.h>
15509 #endif
15510 #ifdef HAVE_SYS_MOUNT_H
15511 # include <sys/mount.h>
15512 #endif
15513 #ifdef HAVE_SYS_VFS_H
15514 # include <sys/vfs.h>
15515 #endif
15516 #ifdef HAVE_SYS_STATFS_H
15517 # include <sys/statfs.h>
15518 #endif
15520 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
15522 cat >>confdefs.h <<_ACEOF
15523 #define HAVE_STRUCT_STATFS_F_FFREE 1
15524 _ACEOF
15528 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15529 #ifdef HAVE_SYS_PARAM_H
15530 # include <sys/param.h>
15531 #endif
15532 #ifdef HAVE_SYS_MOUNT_H
15533 # include <sys/mount.h>
15534 #endif
15535 #ifdef HAVE_SYS_VFS_H
15536 # include <sys/vfs.h>
15537 #endif
15538 #ifdef HAVE_SYS_STATFS_H
15539 # include <sys/statfs.h>
15540 #endif
15542 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
15544 cat >>confdefs.h <<_ACEOF
15545 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15546 _ACEOF
15550 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15551 #ifdef HAVE_SYS_PARAM_H
15552 # include <sys/param.h>
15553 #endif
15554 #ifdef HAVE_SYS_MOUNT_H
15555 # include <sys/mount.h>
15556 #endif
15557 #ifdef HAVE_SYS_VFS_H
15558 # include <sys/vfs.h>
15559 #endif
15560 #ifdef HAVE_SYS_STATFS_H
15561 # include <sys/statfs.h>
15562 #endif
15564 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
15566 cat >>confdefs.h <<_ACEOF
15567 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15568 _ACEOF
15574 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15575 #include <sys/statvfs.h>
15576 #endif
15578 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
15580 cat >>confdefs.h <<_ACEOF
15581 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15582 _ACEOF
15588 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15589 #include <dirent.h>
15590 #endif
15592 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
15594 cat >>confdefs.h <<_ACEOF
15595 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15596 _ACEOF
15602 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15603 #ifdef HAVE_SYS_SOCKET_H
15604 # include <sys/socket.h>
15605 #endif
15606 #ifdef HAVE_SYS_UN_H
15607 # include <sys/un.h>
15608 #endif
15610 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
15612 cat >>confdefs.h <<_ACEOF
15613 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15614 _ACEOF
15618 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15619 #ifdef HAVE_SYS_SOCKET_H
15620 # include <sys/socket.h>
15621 #endif
15622 #ifdef HAVE_SYS_UN_H
15623 # include <sys/un.h>
15624 #endif
15626 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
15628 cat >>confdefs.h <<_ACEOF
15629 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15630 _ACEOF
15634 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15635 #ifdef HAVE_SYS_SOCKET_H
15636 # include <sys/socket.h>
15637 #endif
15638 #ifdef HAVE_SYS_UN_H
15639 # include <sys/un.h>
15640 #endif
15642 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
15644 cat >>confdefs.h <<_ACEOF
15645 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15646 _ACEOF
15652 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15653 #ifdef HAVE_SCSI_SG_H
15654 #include <scsi/sg.h>
15655 #endif
15657 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
15659 cat >>confdefs.h <<_ACEOF
15660 #define HAVE_SCSIREQ_T_CMD 1
15661 _ACEOF
15665 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>
15666 #ifdef HAVE_SCSI_SG_H
15667 #include <scsi/sg.h>
15668 #endif
15670 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
15672 cat >>confdefs.h <<_ACEOF
15673 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15674 _ACEOF
15680 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15682 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
15684 cat >>confdefs.h <<_ACEOF
15685 #define HAVE_SIGINFO_T_SI_FD 1
15686 _ACEOF
15692 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15693 #ifdef HAVE_SYS_MTIO_H
15694 #include <sys/mtio.h>
15695 #endif
15697 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
15699 cat >>confdefs.h <<_ACEOF
15700 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15701 _ACEOF
15705 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15706 #ifdef HAVE_SYS_MTIO_H
15707 #include <sys/mtio.h>
15708 #endif
15710 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
15712 cat >>confdefs.h <<_ACEOF
15713 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15714 _ACEOF
15718 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15719 #ifdef HAVE_SYS_MTIO_H
15720 #include <sys/mtio.h>
15721 #endif
15723 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
15725 cat >>confdefs.h <<_ACEOF
15726 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15727 _ACEOF
15733 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15734 #include <getopt.h>
15735 #endif
15737 if test "x$ac_cv_member_struct_option_name" = xyes; then :
15739 cat >>confdefs.h <<_ACEOF
15740 #define HAVE_STRUCT_OPTION_NAME 1
15741 _ACEOF
15747 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15748 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
15750 cat >>confdefs.h <<_ACEOF
15751 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15752 _ACEOF
15756 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15757 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
15759 cat >>confdefs.h <<_ACEOF
15760 #define HAVE_STRUCT_STAT_ST_MTIM 1
15761 _ACEOF
15765 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15766 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
15768 cat >>confdefs.h <<_ACEOF
15769 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15770 _ACEOF
15774 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15775 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
15777 cat >>confdefs.h <<_ACEOF
15778 #define HAVE_STRUCT_STAT_ST_CTIM 1
15779 _ACEOF
15783 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15784 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
15786 cat >>confdefs.h <<_ACEOF
15787 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15788 _ACEOF
15792 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15793 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
15795 cat >>confdefs.h <<_ACEOF
15796 #define HAVE_STRUCT_STAT_ST_ATIM 1
15797 _ACEOF
15801 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15802 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
15804 cat >>confdefs.h <<_ACEOF
15805 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15806 _ACEOF
15810 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15811 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
15813 cat >>confdefs.h <<_ACEOF
15814 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15815 _ACEOF
15819 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15820 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
15822 cat >>confdefs.h <<_ACEOF
15823 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15824 _ACEOF
15828 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15829 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
15831 cat >>confdefs.h <<_ACEOF
15832 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15833 _ACEOF
15837 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15838 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
15840 cat >>confdefs.h <<_ACEOF
15841 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15842 _ACEOF
15846 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15847 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
15849 cat >>confdefs.h <<_ACEOF
15850 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15851 _ACEOF
15857 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
15858 #include <sys/types.h>
15859 #endif
15860 #ifdef HAVE_NETINET_IN_H
15861 #include <netinet/in.h>
15862 #endif
15864 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
15866 cat >>confdefs.h <<_ACEOF
15867 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
15868 _ACEOF
15874 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
15875 #include <resolv.h>
15876 #endif
15878 if test "x$ac_cv_type_struct___res_state" = xyes; then :
15880 cat >>confdefs.h <<_ACEOF
15881 #define HAVE_STRUCT___RES_STATE 1
15882 _ACEOF
15888 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
15889 #include <resolv.h>
15890 #endif
15892 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
15894 cat >>confdefs.h <<_ACEOF
15895 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
15896 _ACEOF
15902 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
15903 #include <sys/types.h>
15904 #endif
15905 #ifdef HAVE_NETINET_IN_H
15906 # include <netinet/in.h>
15907 #endif
15908 #ifdef HAVE_ARPA_NAMESER_H
15909 # include <arpa/nameser.h>
15910 #endif
15912 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
15914 cat >>confdefs.h <<_ACEOF
15915 #define HAVE_NS_MSG__MSG_PTR 1
15916 _ACEOF
15922 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
15923 #include <sys/types.h>
15924 #endif
15925 #ifdef HAVE_NETINET_IP_H
15926 #include <netinet/ip.h>
15927 #endif
15928 #ifdef HAVE_NETINET_IP_ICMP_H
15929 #include <netinet/ip_icmp.h>
15930 #endif
15931 #ifdef HAVE_NETINET_ICMP_VAR_H
15932 #include <netinet/icmp_var.h>
15933 #endif
15935 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
15937 cat >>confdefs.h <<_ACEOF
15938 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
15939 _ACEOF
15945 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
15946 #include <sys/types.h>
15947 #endif
15948 #ifdef HAVE_ALIAS_H
15949 #include <alias.h>
15950 #endif
15951 #ifdef HAVE_SYS_SOCKET_H
15952 #include <sys/socket.h>
15953 #endif
15954 #ifdef HAVE_SYS_SOCKETVAR_H
15955 #include <sys/socketvar.h>
15956 #endif
15957 #ifdef HAVE_SYS_TIMEOUT_H
15958 #include <sys/timeout.h>
15959 #endif
15960 #ifdef HAVE_NETINET_IN_H
15961 #include <netinet/in.h>
15962 #endif
15963 #ifdef HAVE_NETINET_IN_SYSTM_H
15964 #include <netinet/in_systm.h>
15965 #endif
15966 #ifdef HAVE_NETINET_IP_H
15967 #include <netinet/ip.h>
15968 #endif
15969 #ifdef HAVE_NETINET_IP_VAR_H
15970 #include <netinet/ip_var.h>
15971 #endif
15972 #ifdef HAVE_NETINET_IP_ICMP_H
15973 #include <netinet/ip_icmp.h>
15974 #endif
15975 #ifdef HAVE_NETINET_ICMP_VAR_H
15976 #include <netinet/icmp_var.h>
15977 #endif
15979 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
15981 cat >>confdefs.h <<_ACEOF
15982 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
15983 _ACEOF
15989 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
15990 #include <sys/types.h>
15991 #endif
15992 #ifdef HAVE_SYS_SOCKETVAR_H
15993 #include <sys/socketvar.h>
15994 #endif
15995 #ifdef HAVE_NETINET_IN_H
15996 #include <netinet/in.h>
15997 #endif
15998 #ifdef HAVE_NETINET_IP_VAR_H
15999 #include <netinet/ip_var.h>
16000 #endif
16002 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16004 cat >>confdefs.h <<_ACEOF
16005 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16006 _ACEOF
16012 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
16013 #include <netinet/ip_var.h>
16014 #endif
16016 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16018 cat >>confdefs.h <<_ACEOF
16019 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16020 _ACEOF
16026 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16027 #include <sys/types.h>
16028 #endif
16029 #ifdef HAVE_SYS_SOCKETVAR_H
16030 #include <sys/socketvar.h>
16031 #endif
16032 #ifdef HAVE_NETINET_IN_H
16033 #include <netinet/in.h>
16034 #endif
16035 #ifdef HAVE_NETINET_TCP_H
16036 #include <netinet/tcp.h>
16037 #endif
16038 #ifdef HAVE_NETINET_TCP_VAR_H
16039 #include <netinet/tcp_var.h>
16040 #endif
16042 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16044 cat >>confdefs.h <<_ACEOF
16045 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16046 _ACEOF
16052 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
16053 #include <netinet/tcp_var.h>
16054 #endif
16056 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16058 cat >>confdefs.h <<_ACEOF
16059 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16060 _ACEOF
16066 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16067 #include <sys/types.h>
16068 #endif
16069 #ifdef HAVE_NETINET_IN_H
16070 #include <netinet/in.h>
16071 #endif
16072 #ifdef HAVE_NETINET_IP_VAR_H
16073 #include <netinet/ip_var.h>
16074 #endif
16075 #ifdef HAVE_NETINET_UDP_H
16076 #include <netinet/udp.h>
16077 #endif
16078 #ifdef HAVE_NETINET_UDP_VAR_H
16079 #include <netinet/udp_var.h>
16080 #endif
16082 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16084 cat >>confdefs.h <<_ACEOF
16085 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16086 _ACEOF
16092 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16093 #include <sys/types.h>
16094 #endif
16095 #ifdef HAVE_NET_IF_H
16096 # include <net/if.h>
16097 #endif
16099 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16101 cat >>confdefs.h <<_ACEOF
16102 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16103 _ACEOF
16109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16110 $as_echo_n "checking for timezone variable... " >&6; }
16111 if ${ac_cv_have_timezone+:} false; then :
16112 $as_echo_n "(cached) " >&6
16113 else
16114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16115 /* end confdefs.h. */
16116 #include <time.h>
16118 main ()
16120 timezone = 1
16122 return 0;
16124 _ACEOF
16125 if ac_fn_c_try_link "$LINENO"; then :
16126 ac_cv_have_timezone="yes"
16127 else
16128 ac_cv_have_timezone="no"
16130 rm -f core conftest.err conftest.$ac_objext \
16131 conftest$ac_exeext conftest.$ac_ext
16133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16134 $as_echo "$ac_cv_have_timezone" >&6; }
16135 if test "$ac_cv_have_timezone" = "yes"
16136 then
16138 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16142 $as_echo_n "checking for daylight variable... " >&6; }
16143 if ${ac_cv_have_daylight+:} false; then :
16144 $as_echo_n "(cached) " >&6
16145 else
16146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16147 /* end confdefs.h. */
16148 #include <time.h>
16150 main ()
16152 daylight = 1
16154 return 0;
16156 _ACEOF
16157 if ac_fn_c_try_link "$LINENO"; then :
16158 ac_cv_have_daylight="yes"
16159 else
16160 ac_cv_have_daylight="no"
16162 rm -f core conftest.err conftest.$ac_objext \
16163 conftest$ac_exeext conftest.$ac_ext
16165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16166 $as_echo "$ac_cv_have_daylight" >&6; }
16167 if test "$ac_cv_have_daylight" = "yes"
16168 then
16170 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16174 ac_save_LIBS="$LIBS"
16175 LIBS="$LIBS -lm"
16176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16177 $as_echo_n "checking for isfinite... " >&6; }
16178 if ${ac_cv_have_isfinite+:} false; then :
16179 $as_echo_n "(cached) " >&6
16180 else
16181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16182 /* end confdefs.h. */
16183 #define _GNU_SOURCE
16184 #include <math.h>
16186 main ()
16188 float f = 0.0; return isfinite(f)
16190 return 0;
16192 _ACEOF
16193 if ac_fn_c_try_link "$LINENO"; then :
16194 ac_cv_have_isfinite="yes"
16195 else
16196 ac_cv_have_isfinite="no"
16198 rm -f core conftest.err conftest.$ac_objext \
16199 conftest$ac_exeext conftest.$ac_ext
16201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16202 $as_echo "$ac_cv_have_isfinite" >&6; }
16203 if test "$ac_cv_have_isfinite" = "yes"
16204 then
16206 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16210 ac_save_LIBS="$LIBS"
16211 LIBS="$LIBS -lm"
16212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16213 $as_echo_n "checking for isinf... " >&6; }
16214 if ${ac_cv_have_isinf+:} false; then :
16215 $as_echo_n "(cached) " >&6
16216 else
16217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16218 /* end confdefs.h. */
16219 #include <math.h>
16221 main ()
16223 float f = 0.0; return isinf(f)
16225 return 0;
16227 _ACEOF
16228 if ac_fn_c_try_link "$LINENO"; then :
16229 ac_cv_have_isinf="yes"
16230 else
16231 ac_cv_have_isinf="no"
16233 rm -f core conftest.err conftest.$ac_objext \
16234 conftest$ac_exeext conftest.$ac_ext
16236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16237 $as_echo "$ac_cv_have_isinf" >&6; }
16238 if test "$ac_cv_have_isinf" = "yes"
16239 then
16241 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16246 $as_echo_n "checking for isnan... " >&6; }
16247 if ${ac_cv_have_isnan+:} false; then :
16248 $as_echo_n "(cached) " >&6
16249 else
16250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16251 /* end confdefs.h. */
16252 #include <math.h>
16254 main ()
16256 float f = 0.0; return isnan(f)
16258 return 0;
16260 _ACEOF
16261 if ac_fn_c_try_link "$LINENO"; then :
16262 ac_cv_have_isnan="yes"
16263 else
16264 ac_cv_have_isnan="no"
16266 rm -f core conftest.err conftest.$ac_objext \
16267 conftest$ac_exeext conftest.$ac_ext
16269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16270 $as_echo "$ac_cv_have_isnan" >&6; }
16271 if test "$ac_cv_have_isnan" = "yes"
16272 then
16274 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16277 LIBS="$ac_save_LIBS"
16280 case $host_cpu in
16281 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16282 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16283 if ${ac_cv_cpp_def___i386__+:} false; then :
16284 $as_echo_n "(cached) " >&6
16285 else
16286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16287 /* end confdefs.h. */
16288 #ifndef __i386__
16290 #endif
16291 _ACEOF
16292 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16293 $EGREP "yes" >/dev/null 2>&1; then :
16294 ac_cv_cpp_def___i386__=yes
16295 else
16296 ac_cv_cpp_def___i386__=no
16298 rm -f conftest*
16301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16302 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16303 if test $ac_cv_cpp_def___i386__ = yes; then :
16304 CFLAGS="$CFLAGS -D__i386__"
16305 LINTFLAGS="$LINTFLAGS -D__i386__"
16306 fi ;;
16307 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16308 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16309 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16310 $as_echo_n "(cached) " >&6
16311 else
16312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16313 /* end confdefs.h. */
16314 #ifndef __x86_64__
16316 #endif
16317 _ACEOF
16318 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16319 $EGREP "yes" >/dev/null 2>&1; then :
16320 ac_cv_cpp_def___x86_64__=yes
16321 else
16322 ac_cv_cpp_def___x86_64__=no
16324 rm -f conftest*
16327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16328 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16329 if test $ac_cv_cpp_def___x86_64__ = yes; then :
16330 CFLAGS="$CFLAGS -D__x86_64__"
16331 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16332 fi ;;
16333 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16334 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16335 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16336 $as_echo_n "(cached) " >&6
16337 else
16338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16339 /* end confdefs.h. */
16340 #ifndef __sparc64__
16342 #endif
16343 _ACEOF
16344 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16345 $EGREP "yes" >/dev/null 2>&1; then :
16346 ac_cv_cpp_def___sparc64__=yes
16347 else
16348 ac_cv_cpp_def___sparc64__=no
16350 rm -f conftest*
16353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16354 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16355 if test $ac_cv_cpp_def___sparc64__ = yes; then :
16356 CFLAGS="$CFLAGS -D__sparc64__"
16357 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16358 fi ;;
16359 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16360 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16361 if ${ac_cv_cpp_def___sparc__+:} false; then :
16362 $as_echo_n "(cached) " >&6
16363 else
16364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16365 /* end confdefs.h. */
16366 #ifndef __sparc__
16368 #endif
16369 _ACEOF
16370 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16371 $EGREP "yes" >/dev/null 2>&1; then :
16372 ac_cv_cpp_def___sparc__=yes
16373 else
16374 ac_cv_cpp_def___sparc__=no
16376 rm -f conftest*
16379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16380 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16381 if test $ac_cv_cpp_def___sparc__ = yes; then :
16382 CFLAGS="$CFLAGS -D__sparc__"
16383 LINTFLAGS="$LINTFLAGS -D__sparc__"
16384 fi ;;
16385 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16386 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16387 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
16388 $as_echo_n "(cached) " >&6
16389 else
16390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16391 /* end confdefs.h. */
16392 #ifndef __powerpc64__
16394 #endif
16395 _ACEOF
16396 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16397 $EGREP "yes" >/dev/null 2>&1; then :
16398 ac_cv_cpp_def___powerpc64__=yes
16399 else
16400 ac_cv_cpp_def___powerpc64__=no
16402 rm -f conftest*
16405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16406 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16407 if test $ac_cv_cpp_def___powerpc64__ = yes; then :
16408 CFLAGS="$CFLAGS -D__powerpc64__"
16409 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
16410 fi ;;
16411 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16412 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16413 if ${ac_cv_cpp_def___powerpc__+:} false; then :
16414 $as_echo_n "(cached) " >&6
16415 else
16416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16417 /* end confdefs.h. */
16418 #ifndef __powerpc__
16420 #endif
16421 _ACEOF
16422 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16423 $EGREP "yes" >/dev/null 2>&1; then :
16424 ac_cv_cpp_def___powerpc__=yes
16425 else
16426 ac_cv_cpp_def___powerpc__=no
16428 rm -f conftest*
16431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16432 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16433 if test $ac_cv_cpp_def___powerpc__ = yes; then :
16434 CFLAGS="$CFLAGS -D__powerpc__"
16435 LINTFLAGS="$LINTFLAGS -D__powerpc__"
16436 fi ;;
16437 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16438 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16439 if ${ac_cv_cpp_def___aarch64__+:} false; then :
16440 $as_echo_n "(cached) " >&6
16441 else
16442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16443 /* end confdefs.h. */
16444 #ifndef __aarch64__
16446 #endif
16447 _ACEOF
16448 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16449 $EGREP "yes" >/dev/null 2>&1; then :
16450 ac_cv_cpp_def___aarch64__=yes
16451 else
16452 ac_cv_cpp_def___aarch64__=no
16454 rm -f conftest*
16457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16458 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16459 if test $ac_cv_cpp_def___aarch64__ = yes; then :
16460 CFLAGS="$CFLAGS -D__aarch64__"
16461 LINTFLAGS="$LINTFLAGS -D__aarch64__"
16462 fi ;;
16463 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16464 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16465 if ${ac_cv_cpp_def___arm__+:} false; then :
16466 $as_echo_n "(cached) " >&6
16467 else
16468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16469 /* end confdefs.h. */
16470 #ifndef __arm__
16472 #endif
16473 _ACEOF
16474 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16475 $EGREP "yes" >/dev/null 2>&1; then :
16476 ac_cv_cpp_def___arm__=yes
16477 else
16478 ac_cv_cpp_def___arm__=no
16480 rm -f conftest*
16483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16484 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16485 if test $ac_cv_cpp_def___arm__ = yes; then :
16486 CFLAGS="$CFLAGS -D__arm__"
16487 LINTFLAGS="$LINTFLAGS -D__arm__"
16488 fi ;;
16489 esac
16491 case $host_vendor in
16492 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16493 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16494 if ${ac_cv_cpp_def___sun__+:} false; then :
16495 $as_echo_n "(cached) " >&6
16496 else
16497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16498 /* end confdefs.h. */
16499 #ifndef __sun__
16501 #endif
16502 _ACEOF
16503 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16504 $EGREP "yes" >/dev/null 2>&1; then :
16505 ac_cv_cpp_def___sun__=yes
16506 else
16507 ac_cv_cpp_def___sun__=no
16509 rm -f conftest*
16512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16513 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16514 if test $ac_cv_cpp_def___sun__ = yes; then :
16515 CFLAGS="$CFLAGS -D__sun__"
16516 LINTFLAGS="$LINTFLAGS -D__sun__"
16517 fi ;;
16518 esac
16524 ac_config_commands="$ac_config_commands include/stamp-h"
16526 $as_echo_n "creating Makefile rules..." >&6
16529 wine_fn_append_rule "
16530 # Rules automatically generated by configure
16532 .INIT: Makefile
16533 .MAKEFILEDEPS:
16534 all: Makefile
16535 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status
16536 @./config.status Make.tmp Makefile"
16538 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
16539 .gitignore: config.status
16540 @./config.status .gitignore"
16542 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
16543 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16545 if test "x$enable_fonts" != xno; then
16546 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16547 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16548 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16549 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16550 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf
16552 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16553 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
16554 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
16555 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
16556 ac_config_links="$ac_config_links wine:tools/winewrapper"
16557 wine_fn_config_symlink wine
16558 if test "x$enable_win64" != xno; then
16559 ac_config_links="$ac_config_links wine64:tools/winewrapper"
16560 wine_fn_config_symlink wine64
16563 wine_fn_config_makerules Make.rules
16564 MAKE_RULES=Make.rules
16565 ac_config_files="$ac_config_files Make.rules"
16568 wine_fn_config_dll acledit enable_acledit
16569 wine_fn_config_dll aclui enable_aclui implib
16570 wine_fn_config_dll activeds enable_activeds implib
16571 wine_fn_config_dll actxprxy enable_actxprxy clean
16572 wine_fn_config_lib adsiid
16573 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
16574 wine_fn_config_test dlls/advapi32/tests advapi32_test
16575 wine_fn_config_dll advpack enable_advpack implib
16576 wine_fn_config_test dlls/advpack/tests advpack_test
16577 wine_fn_config_dll amstream enable_amstream clean
16578 wine_fn_config_test dlls/amstream/tests amstream_test
16579 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16580 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16581 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16582 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16583 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16584 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16585 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16586 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16587 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16588 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16589 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16590 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16591 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16592 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16593 wine_fn_config_dll apphelp enable_apphelp
16594 wine_fn_config_test dlls/apphelp/tests apphelp_test
16595 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16596 wine_fn_config_dll atl enable_atl clean,implib
16597 wine_fn_config_test dlls/atl/tests atl_test
16598 wine_fn_config_dll atl100 enable_atl100 implib
16599 wine_fn_config_test dlls/atl100/tests atl100_test
16600 wine_fn_config_dll atl110 enable_atl110
16601 wine_fn_config_dll atl80 enable_atl80 implib
16602 wine_fn_config_test dlls/atl80/tests atl80_test
16603 wine_fn_config_dll atl90 enable_atl90
16604 wine_fn_config_dll authz enable_authz
16605 wine_fn_config_dll avicap32 enable_avicap32 implib
16606 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
16607 wine_fn_config_test dlls/avifil32/tests avifil32_test
16608 wine_fn_config_dll avifile.dll16 enable_win16
16609 wine_fn_config_dll avrt enable_avrt implib
16610 wine_fn_config_dll bcrypt enable_bcrypt
16611 wine_fn_config_dll browseui enable_browseui clean,po
16612 wine_fn_config_test dlls/browseui/tests browseui_test
16613 wine_fn_config_dll cabinet enable_cabinet implib
16614 wine_fn_config_test dlls/cabinet/tests cabinet_test
16615 wine_fn_config_dll capi2032 enable_capi2032 implib
16616 wine_fn_config_dll cards enable_cards implib
16617 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16618 wine_fn_config_dll clusapi enable_clusapi implib
16619 wine_fn_config_dll comcat enable_comcat
16620 wine_fn_config_test dlls/comcat/tests comcat_test
16621 wine_fn_config_dll comctl32 enable_comctl32 implib,po
16622 wine_fn_config_test dlls/comctl32/tests comctl32_test
16623 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
16624 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
16625 wine_fn_config_dll comm.drv16 enable_win16
16626 wine_fn_config_dll commdlg.dll16 enable_win16
16627 wine_fn_config_dll compobj.dll16 enable_win16
16628 wine_fn_config_dll compstui enable_compstui implib
16629 wine_fn_config_dll comsvcs enable_comsvcs implib
16630 wine_fn_config_dll credui enable_credui implib,po
16631 wine_fn_config_test dlls/credui/tests credui_test
16632 wine_fn_config_dll crtdll enable_crtdll implib
16633 wine_fn_config_dll crypt32 enable_crypt32 implib,po
16634 wine_fn_config_test dlls/crypt32/tests crypt32_test
16635 wine_fn_config_dll cryptdlg enable_cryptdlg po
16636 wine_fn_config_dll cryptdll enable_cryptdll implib
16637 wine_fn_config_dll cryptnet enable_cryptnet implib
16638 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
16639 wine_fn_config_dll cryptui enable_cryptui implib,po
16640 wine_fn_config_test dlls/cryptui/tests cryptui_test
16641 wine_fn_config_dll ctapi32 enable_ctapi32
16642 wine_fn_config_dll ctl3d.dll16 enable_win16
16643 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16644 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16645 wine_fn_config_dll d3d10 enable_d3d10 implib
16646 wine_fn_config_test dlls/d3d10/tests d3d10_test
16647 wine_fn_config_dll d3d10core enable_d3d10core implib
16648 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
16649 wine_fn_config_dll d3d11 enable_d3d11
16650 wine_fn_config_dll d3d8 enable_d3d8 implib
16651 wine_fn_config_test dlls/d3d8/tests d3d8_test
16652 wine_fn_config_dll d3d9 enable_d3d9 implib
16653 wine_fn_config_test dlls/d3d9/tests d3d9_test
16654 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16655 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16656 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16657 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16658 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16659 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16660 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16661 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16662 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16663 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16664 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16665 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
16666 wine_fn_config_dll d3dim enable_d3dim implib
16667 wine_fn_config_dll d3drm enable_d3drm implib
16668 wine_fn_config_test dlls/d3drm/tests d3drm_test
16669 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16670 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16671 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16672 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16673 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16674 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16675 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16676 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16677 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16678 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16679 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16680 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16681 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16682 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16683 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16684 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16685 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16686 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16687 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16688 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16689 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16690 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16691 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16692 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16693 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16694 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16695 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
16696 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16697 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16698 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16699 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16700 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16701 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16702 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16703 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
16704 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
16705 wine_fn_config_dll dbgeng enable_dbgeng implib
16706 wine_fn_config_dll dbghelp enable_dbghelp implib
16707 wine_fn_config_dll dciman32 enable_dciman32 implib
16708 wine_fn_config_dll ddeml.dll16 enable_win16
16709 wine_fn_config_dll ddraw enable_ddraw clean,implib
16710 wine_fn_config_test dlls/ddraw/tests ddraw_test
16711 wine_fn_config_dll ddrawex enable_ddrawex clean
16712 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
16713 wine_fn_config_dll devenum enable_devenum clean,po
16714 wine_fn_config_test dlls/devenum/tests devenum_test
16715 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16716 wine_fn_config_dll difxapi enable_difxapi
16717 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
16718 wine_fn_config_test dlls/dinput/tests dinput_test
16719 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
16720 wine_fn_config_test dlls/dinput8/tests dinput8_test
16721 wine_fn_config_dll dispdib.dll16 enable_win16
16722 wine_fn_config_dll dispex enable_dispex clean
16723 wine_fn_config_test dlls/dispex/tests dispex_test
16724 wine_fn_config_dll display.drv16 enable_win16
16725 wine_fn_config_dll dmband enable_dmband clean
16726 wine_fn_config_test dlls/dmband/tests dmband_test
16727 wine_fn_config_dll dmcompos enable_dmcompos clean
16728 wine_fn_config_dll dmime enable_dmime clean
16729 wine_fn_config_test dlls/dmime/tests dmime_test
16730 wine_fn_config_dll dmloader enable_dmloader clean
16731 wine_fn_config_test dlls/dmloader/tests dmloader_test
16732 wine_fn_config_dll dmscript enable_dmscript clean
16733 wine_fn_config_dll dmstyle enable_dmstyle clean
16734 wine_fn_config_dll dmsynth enable_dmsynth clean
16735 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
16736 wine_fn_config_dll dmusic enable_dmusic clean
16737 wine_fn_config_test dlls/dmusic/tests dmusic_test
16738 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16739 wine_fn_config_dll dnsapi enable_dnsapi implib
16740 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
16741 wine_fn_config_dll dplay enable_dplay implib
16742 wine_fn_config_dll dplayx enable_dplayx clean,implib
16743 wine_fn_config_test dlls/dplayx/tests dplayx_test
16744 wine_fn_config_dll dpnaddr enable_dpnaddr
16745 wine_fn_config_dll dpnet enable_dpnet clean,implib
16746 wine_fn_config_test dlls/dpnet/tests dpnet_test
16747 wine_fn_config_dll dpnhpast enable_dpnhpast
16748 wine_fn_config_dll dpnlobby enable_dpnlobby
16749 wine_fn_config_dll dpwsockx enable_dpwsockx
16750 wine_fn_config_dll drmclien enable_drmclien
16751 wine_fn_config_dll dsound enable_dsound clean,implib
16752 wine_fn_config_test dlls/dsound/tests dsound_test
16753 wine_fn_config_dll dssenh enable_dssenh
16754 wine_fn_config_test dlls/dssenh/tests dssenh_test
16755 wine_fn_config_dll dswave enable_dswave clean
16756 wine_fn_config_dll dwmapi enable_dwmapi implib
16757 wine_fn_config_dll dwrite enable_dwrite implib
16758 wine_fn_config_test dlls/dwrite/tests dwrite_test
16759 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
16760 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
16761 wine_fn_config_lib dxerr8
16762 wine_fn_config_lib dxerr9
16763 wine_fn_config_dll dxgi enable_dxgi implib
16764 wine_fn_config_test dlls/dxgi/tests dxgi_test
16765 wine_fn_config_lib dxguid
16766 wine_fn_config_dll explorerframe enable_explorerframe clean
16767 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
16768 wine_fn_config_dll faultrep enable_faultrep implib
16769 wine_fn_config_test dlls/faultrep/tests faultrep_test
16770 wine_fn_config_dll fltlib enable_fltlib
16771 wine_fn_config_dll fusion enable_fusion
16772 wine_fn_config_test dlls/fusion/tests fusion_test
16773 wine_fn_config_dll fwpuclnt enable_fwpuclnt
16774 wine_fn_config_dll gameux enable_gameux clean
16775 wine_fn_config_test dlls/gameux/tests gameux_test
16776 wine_fn_config_dll gdi.exe16 enable_win16
16777 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
16778 wine_fn_config_test dlls/gdi32/tests gdi32_test
16779 wine_fn_config_dll gdiplus enable_gdiplus implib
16780 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
16781 wine_fn_config_dll glu32 enable_glu32 implib
16782 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
16783 wine_fn_config_dll gpkcsp enable_gpkcsp
16784 wine_fn_config_dll hal enable_hal
16785 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
16786 wine_fn_config_dll hid enable_hid implib
16787 wine_fn_config_dll hlink enable_hlink clean,implib
16788 wine_fn_config_test dlls/hlink/tests hlink_test
16789 wine_fn_config_dll hnetcfg enable_hnetcfg clean
16790 wine_fn_config_dll httpapi enable_httpapi
16791 wine_fn_config_dll iccvid enable_iccvid po
16792 wine_fn_config_dll icmp enable_icmp
16793 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
16794 wine_fn_config_test dlls/ieframe/tests ieframe_test
16795 wine_fn_config_dll ifsmgr.vxd enable_win16
16796 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
16797 wine_fn_config_dll imagehlp enable_imagehlp implib
16798 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
16799 wine_fn_config_dll imm.dll16 enable_win16
16800 wine_fn_config_dll imm32 enable_imm32 implib
16801 wine_fn_config_test dlls/imm32/tests imm32_test
16802 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
16803 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
16804 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
16805 wine_fn_config_dll inetmib1 enable_inetmib1
16806 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
16807 wine_fn_config_dll infosoft enable_infosoft clean
16808 wine_fn_config_test dlls/infosoft/tests infosoft_test
16809 wine_fn_config_dll initpki enable_initpki
16810 wine_fn_config_dll inkobj enable_inkobj
16811 wine_fn_config_dll inseng enable_inseng clean
16812 wine_fn_config_dll iphlpapi enable_iphlpapi implib
16813 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
16814 wine_fn_config_dll itircl enable_itircl
16815 wine_fn_config_dll itss enable_itss clean
16816 wine_fn_config_test dlls/itss/tests itss_test
16817 wine_fn_config_dll joy.cpl enable_joy_cpl po
16818 wine_fn_config_dll jscript enable_jscript clean,po
16819 wine_fn_config_test dlls/jscript/tests jscript_test
16820 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
16821 wine_fn_config_test dlls/kernel32/tests kernel32_test
16822 wine_fn_config_dll keyboard.drv16 enable_win16
16823 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
16824 wine_fn_config_dll ktmw32 enable_ktmw32
16825 wine_fn_config_dll loadperf enable_loadperf implib
16826 wine_fn_config_dll localspl enable_localspl po
16827 wine_fn_config_test dlls/localspl/tests localspl_test
16828 wine_fn_config_dll localui enable_localui po
16829 wine_fn_config_test dlls/localui/tests localui_test
16830 wine_fn_config_dll lz32 enable_lz32 implib
16831 wine_fn_config_test dlls/lz32/tests lz32_test
16832 wine_fn_config_dll lzexpand.dll16 enable_win16
16833 wine_fn_config_dll mapi32 enable_mapi32 implib,po
16834 wine_fn_config_test dlls/mapi32/tests mapi32_test
16835 wine_fn_config_dll mapistub enable_mapistub
16836 wine_fn_config_dll mciavi32 enable_mciavi32
16837 wine_fn_config_dll mcicda enable_mcicda
16838 wine_fn_config_dll mciqtz32 enable_mciqtz32
16839 wine_fn_config_dll mciseq enable_mciseq
16840 wine_fn_config_dll mciwave enable_mciwave
16841 wine_fn_config_dll mgmtapi enable_mgmtapi
16842 wine_fn_config_dll midimap enable_midimap
16843 wine_fn_config_dll mlang enable_mlang clean,implib
16844 wine_fn_config_test dlls/mlang/tests mlang_test
16845 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
16846 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
16847 wine_fn_config_dll mmdevapi enable_mmdevapi clean
16848 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
16849 wine_fn_config_dll mmdevldr.vxd enable_win16
16850 wine_fn_config_dll mmsystem.dll16 enable_win16
16851 wine_fn_config_dll monodebg.vxd enable_win16
16852 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
16853 wine_fn_config_dll mouse.drv16 enable_win16
16854 wine_fn_config_dll mpr enable_mpr implib,po
16855 wine_fn_config_test dlls/mpr/tests mpr_test
16856 wine_fn_config_dll mprapi enable_mprapi implib
16857 wine_fn_config_dll msacm.dll16 enable_win16
16858 wine_fn_config_dll msacm32.drv enable_msacm32_drv
16859 wine_fn_config_dll msacm32 enable_msacm32 implib,po
16860 wine_fn_config_test dlls/msacm32/tests msacm32_test
16861 wine_fn_config_dll msadp32.acm enable_msadp32_acm
16862 wine_fn_config_dll mscat32 enable_mscat32
16863 wine_fn_config_dll mscms enable_mscms implib
16864 wine_fn_config_test dlls/mscms/tests mscms_test
16865 wine_fn_config_dll mscoree enable_mscoree clean
16866 wine_fn_config_test dlls/mscoree/tests mscoree_test
16867 wine_fn_config_dll msctf enable_msctf clean
16868 wine_fn_config_test dlls/msctf/tests msctf_test
16869 wine_fn_config_dll msdaps enable_msdaps clean
16870 wine_fn_config_dll msdmo enable_msdmo implib
16871 wine_fn_config_dll msftedit enable_msftedit
16872 wine_fn_config_dll msg711.acm enable_msg711_acm
16873 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
16874 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
16875 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
16876 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
16877 wine_fn_config_dll msi enable_msi clean,implib,po
16878 wine_fn_config_test dlls/msi/tests msi_test
16879 wine_fn_config_dll msident enable_msident clean
16880 wine_fn_config_dll msimg32 enable_msimg32 implib
16881 wine_fn_config_dll msimsg enable_msimsg
16882 wine_fn_config_dll msimtf enable_msimtf clean
16883 wine_fn_config_dll msisip enable_msisip
16884 wine_fn_config_dll msisys.ocx enable_msisys_ocx
16885 wine_fn_config_dll msls31 enable_msls31
16886 wine_fn_config_dll msnet32 enable_msnet32
16887 wine_fn_config_dll mspatcha enable_mspatcha
16888 wine_fn_config_dll msrle32 enable_msrle32 po
16889 wine_fn_config_test dlls/msrle32/tests msrle32_test
16890 wine_fn_config_dll mssign32 enable_mssign32
16891 wine_fn_config_dll mssip32 enable_mssip32
16892 wine_fn_config_dll mstask enable_mstask clean
16893 wine_fn_config_test dlls/mstask/tests mstask_test
16894 wine_fn_config_dll msvcirt enable_msvcirt
16895 wine_fn_config_dll msvcm80 enable_msvcm80
16896 wine_fn_config_dll msvcm90 enable_msvcm90
16897 wine_fn_config_dll msvcp100 enable_msvcp100
16898 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
16899 wine_fn_config_dll msvcp110 enable_msvcp110
16900 wine_fn_config_dll msvcp60 enable_msvcp60
16901 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
16902 wine_fn_config_dll msvcp70 enable_msvcp70
16903 wine_fn_config_dll msvcp71 enable_msvcp71
16904 wine_fn_config_dll msvcp80 enable_msvcp80
16905 wine_fn_config_dll msvcp90 enable_msvcp90
16906 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
16907 wine_fn_config_dll msvcr100 enable_msvcr100 implib
16908 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
16909 wine_fn_config_dll msvcr110 enable_msvcr110 implib
16910 wine_fn_config_dll msvcr70 enable_msvcr70 implib
16911 wine_fn_config_dll msvcr71 enable_msvcr71 implib
16912 wine_fn_config_dll msvcr80 enable_msvcr80 implib
16913 wine_fn_config_dll msvcr90 enable_msvcr90 implib
16914 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
16915 wine_fn_config_dll msvcrt enable_msvcrt implib
16916 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
16917 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
16918 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
16919 wine_fn_config_dll msvcrtd enable_msvcrtd implib
16920 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
16921 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
16922 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
16923 wine_fn_config_dll msvidc32 enable_msvidc32 po
16924 wine_fn_config_dll msvideo.dll16 enable_win16
16925 wine_fn_config_dll mswsock enable_mswsock implib
16926 wine_fn_config_dll msxml enable_msxml clean
16927 wine_fn_config_dll msxml2 enable_msxml2 clean
16928 wine_fn_config_dll msxml3 enable_msxml3 clean
16929 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
16930 wine_fn_config_dll msxml4 enable_msxml4 clean
16931 wine_fn_config_dll msxml6 enable_msxml6 clean
16932 wine_fn_config_dll nddeapi enable_nddeapi implib
16933 wine_fn_config_dll netapi32 enable_netapi32 implib
16934 wine_fn_config_test dlls/netapi32/tests netapi32_test
16935 wine_fn_config_dll netcfgx enable_netcfgx
16936 wine_fn_config_dll newdev enable_newdev implib
16937 wine_fn_config_dll normaliz enable_normaliz implib
16938 wine_fn_config_dll npmshtml enable_npmshtml
16939 wine_fn_config_dll ntdll enable_ntdll implib
16940 wine_fn_config_test dlls/ntdll/tests ntdll_test
16941 wine_fn_config_dll ntdsapi enable_ntdsapi implib
16942 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
16943 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
16944 wine_fn_config_dll ntprint enable_ntprint
16945 wine_fn_config_test dlls/ntprint/tests ntprint_test
16946 wine_fn_config_dll objsel enable_objsel clean
16947 wine_fn_config_dll odbc32 enable_odbc32 implib
16948 wine_fn_config_dll odbccp32 enable_odbccp32 implib
16949 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
16950 wine_fn_config_dll odbccu32 enable_odbccu32
16951 wine_fn_config_dll ole2.dll16 enable_win16
16952 wine_fn_config_dll ole2conv.dll16 enable_win16
16953 wine_fn_config_dll ole2disp.dll16 enable_win16
16954 wine_fn_config_dll ole2nls.dll16 enable_win16
16955 wine_fn_config_dll ole2prox.dll16 enable_win16
16956 wine_fn_config_dll ole2thk.dll16 enable_win16
16957 wine_fn_config_dll ole32 enable_ole32 clean,implib
16958 wine_fn_config_test dlls/ole32/tests ole32_test
16959 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
16960 wine_fn_config_test dlls/oleacc/tests oleacc_test
16961 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
16962 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
16963 wine_fn_config_dll olecli.dll16 enable_win16
16964 wine_fn_config_dll olecli32 enable_olecli32 implib
16965 wine_fn_config_dll oledb32 enable_oledb32 clean
16966 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
16967 wine_fn_config_dll oledlg enable_oledlg implib,po
16968 wine_fn_config_dll olepro32 enable_olepro32 implib
16969 wine_fn_config_dll olesvr.dll16 enable_win16
16970 wine_fn_config_dll olesvr32 enable_olesvr32 implib
16971 wine_fn_config_dll olethk32 enable_olethk32
16972 wine_fn_config_dll openal32 enable_openal32
16973 wine_fn_config_dll opencl enable_opencl
16974 wine_fn_config_dll opengl32 enable_opengl32 implib
16975 wine_fn_config_test dlls/opengl32/tests opengl32_test
16976 wine_fn_config_dll pdh enable_pdh implib
16977 wine_fn_config_test dlls/pdh/tests pdh_test
16978 wine_fn_config_dll photometadatahandler enable_photometadatahandler
16979 wine_fn_config_dll pidgen enable_pidgen
16980 wine_fn_config_dll powrprof enable_powrprof implib
16981 wine_fn_config_dll printui enable_printui
16982 wine_fn_config_dll propsys enable_propsys clean,implib
16983 wine_fn_config_test dlls/propsys/tests propsys_test
16984 wine_fn_config_dll psapi enable_psapi implib
16985 wine_fn_config_test dlls/psapi/tests psapi_test
16986 wine_fn_config_dll pstorec enable_pstorec clean
16987 wine_fn_config_dll qcap enable_qcap
16988 wine_fn_config_test dlls/qcap/tests qcap_test
16989 wine_fn_config_dll qedit enable_qedit clean
16990 wine_fn_config_test dlls/qedit/tests qedit_test
16991 wine_fn_config_dll qmgr enable_qmgr clean
16992 wine_fn_config_test dlls/qmgr/tests qmgr_test
16993 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
16994 wine_fn_config_dll quartz enable_quartz clean,implib
16995 wine_fn_config_test dlls/quartz/tests quartz_test clean
16996 wine_fn_config_dll query enable_query
16997 wine_fn_config_dll rasapi16.dll16 enable_win16
16998 wine_fn_config_dll rasapi32 enable_rasapi32 implib
16999 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17000 wine_fn_config_dll rasdlg enable_rasdlg implib
17001 wine_fn_config_dll regapi enable_regapi
17002 wine_fn_config_dll resutils enable_resutils implib
17003 wine_fn_config_dll riched20 enable_riched20 implib
17004 wine_fn_config_test dlls/riched20/tests riched20_test
17005 wine_fn_config_dll riched32 enable_riched32
17006 wine_fn_config_test dlls/riched32/tests riched32_test
17007 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17008 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17009 wine_fn_config_dll rsabase enable_rsabase
17010 wine_fn_config_dll rsaenh enable_rsaenh implib
17011 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17012 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17013 wine_fn_config_dll rtutils enable_rtutils implib
17014 wine_fn_config_dll samlib enable_samlib
17015 wine_fn_config_dll sane.ds enable_sane_ds po
17016 wine_fn_config_dll scarddlg enable_scarddlg
17017 wine_fn_config_dll sccbase enable_sccbase
17018 wine_fn_config_dll schannel enable_schannel
17019 wine_fn_config_test dlls/schannel/tests schannel_test
17020 wine_fn_config_dll scrrun enable_scrrun clean
17021 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17022 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17023 wine_fn_config_dll secur32 enable_secur32 implib
17024 wine_fn_config_test dlls/secur32/tests secur32_test
17025 wine_fn_config_dll security enable_security
17026 wine_fn_config_dll sensapi enable_sensapi implib
17027 wine_fn_config_dll serialui enable_serialui implib,po
17028 wine_fn_config_test dlls/serialui/tests serialui_test
17029 wine_fn_config_dll setupapi enable_setupapi implib,po
17030 wine_fn_config_test dlls/setupapi/tests setupapi_test
17031 wine_fn_config_dll setupx.dll16 enable_win16
17032 wine_fn_config_dll sfc enable_sfc implib
17033 wine_fn_config_dll sfc_os enable_sfc_os implib
17034 wine_fn_config_dll shdoclc enable_shdoclc po
17035 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17036 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17037 wine_fn_config_dll shell.dll16 enable_win16
17038 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17039 wine_fn_config_test dlls/shell32/tests shell32_test
17040 wine_fn_config_dll shfolder enable_shfolder implib
17041 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17042 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17043 wine_fn_config_dll slbcsp enable_slbcsp
17044 wine_fn_config_dll slc enable_slc implib
17045 wine_fn_config_dll snmpapi enable_snmpapi implib
17046 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17047 wine_fn_config_dll softpub enable_softpub
17048 wine_fn_config_dll sound.drv16 enable_win16
17049 wine_fn_config_dll spoolss enable_spoolss implib
17050 wine_fn_config_test dlls/spoolss/tests spoolss_test
17051 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17052 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17053 wine_fn_config_dll sti enable_sti clean,implib
17054 wine_fn_config_test dlls/sti/tests sti_test
17055 wine_fn_config_dll storage.dll16 enable_win16
17056 wine_fn_config_dll stress.dll16 enable_win16
17057 wine_fn_config_lib strmbase
17058 wine_fn_config_lib strmiids
17059 wine_fn_config_dll svrapi enable_svrapi
17060 wine_fn_config_dll sxs enable_sxs implib
17061 wine_fn_config_test dlls/sxs/tests sxs_test
17062 wine_fn_config_dll system.drv16 enable_win16
17063 wine_fn_config_dll t2embed enable_t2embed
17064 wine_fn_config_dll tapi32 enable_tapi32 implib
17065 wine_fn_config_dll taskschd enable_taskschd clean
17066 wine_fn_config_dll toolhelp.dll16 enable_win16
17067 wine_fn_config_dll traffic enable_traffic
17068 wine_fn_config_dll twain.dll16 enable_win16
17069 wine_fn_config_dll twain_32 enable_twain_32
17070 wine_fn_config_test dlls/twain_32/tests twain_32_test
17071 wine_fn_config_dll typelib.dll16 enable_win16
17072 wine_fn_config_dll unicows enable_unicows implib
17073 wine_fn_config_dll updspapi enable_updspapi
17074 wine_fn_config_dll url enable_url implib
17075 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17076 wine_fn_config_test dlls/urlmon/tests urlmon_test
17077 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17078 wine_fn_config_dll user.exe16 enable_win16
17079 wine_fn_config_dll user32 enable_user32 clean,implib,po
17080 wine_fn_config_test dlls/user32/tests user32_test
17081 wine_fn_config_dll userenv enable_userenv implib
17082 wine_fn_config_test dlls/userenv/tests userenv_test
17083 wine_fn_config_dll usp10 enable_usp10 implib
17084 wine_fn_config_test dlls/usp10/tests usp10_test
17085 wine_fn_config_lib uuid
17086 wine_fn_config_dll uxtheme enable_uxtheme implib
17087 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17088 wine_fn_config_dll vbscript enable_vbscript clean
17089 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17090 wine_fn_config_dll vcomp enable_vcomp
17091 wine_fn_config_dll vcomp100 enable_vcomp100
17092 wine_fn_config_dll vcomp90 enable_vcomp90
17093 wine_fn_config_dll vdhcp.vxd enable_win16
17094 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17095 wine_fn_config_dll ver.dll16 enable_win16
17096 wine_fn_config_dll version enable_version implib
17097 wine_fn_config_test dlls/version/tests version_test
17098 wine_fn_config_dll vmm.vxd enable_win16
17099 wine_fn_config_dll vnbt.vxd enable_win16
17100 wine_fn_config_dll vnetbios.vxd enable_win16
17101 wine_fn_config_dll vtdapi.vxd enable_win16
17102 wine_fn_config_dll vwin32.vxd enable_win16
17103 wine_fn_config_dll w32skrnl enable_win16
17104 wine_fn_config_dll w32sys.dll16 enable_win16
17105 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17106 wine_fn_config_dll wbemprox enable_wbemprox clean
17107 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17108 wine_fn_config_dll webservices enable_webservices implib
17109 wine_fn_config_dll wer enable_wer implib
17110 wine_fn_config_test dlls/wer/tests wer_test
17111 wine_fn_config_dll wevtapi enable_wevtapi
17112 wine_fn_config_dll wiaservc enable_wiaservc clean
17113 wine_fn_config_dll win32s16.dll16 enable_win16
17114 wine_fn_config_dll win87em.dll16 enable_win16
17115 wine_fn_config_dll winaspi.dll16 enable_win16
17116 wine_fn_config_dll windebug.dll16 enable_win16
17117 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17118 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17119 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17120 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17121 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17122 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17123 wine_fn_config_lib winecrt0
17124 wine_fn_config_dll wined3d enable_wined3d implib
17125 wine_fn_config_dll winegstreamer enable_winegstreamer
17126 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17127 wine_fn_config_dll winemac.drv enable_winemac_drv
17128 wine_fn_config_dll winemapi enable_winemapi
17129 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17130 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17131 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
17132 wine_fn_config_dll wineps16.drv16 enable_win16
17133 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17134 wine_fn_config_dll winex11.drv enable_winex11_drv
17135 wine_fn_config_dll wing.dll16 enable_win16
17136 wine_fn_config_dll wing32 enable_wing32
17137 wine_fn_config_dll winhttp enable_winhttp clean,implib
17138 wine_fn_config_test dlls/winhttp/tests winhttp_test
17139 wine_fn_config_dll wininet enable_wininet implib,po
17140 wine_fn_config_test dlls/wininet/tests wininet_test
17141 wine_fn_config_dll winmm enable_winmm implib,po
17142 wine_fn_config_test dlls/winmm/tests winmm_test
17143 wine_fn_config_dll winnls.dll16 enable_win16
17144 wine_fn_config_dll winnls32 enable_winnls32 implib
17145 wine_fn_config_dll winscard enable_winscard implib
17146 wine_fn_config_dll winsock.dll16 enable_win16
17147 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17148 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17149 wine_fn_config_dll winsta enable_winsta
17150 wine_fn_config_dll wintab.dll16 enable_win16
17151 wine_fn_config_dll wintab32 enable_wintab32 implib
17152 wine_fn_config_test dlls/wintab32/tests wintab32_test
17153 wine_fn_config_dll wintrust enable_wintrust implib
17154 wine_fn_config_test dlls/wintrust/tests wintrust_test
17155 wine_fn_config_dll wlanapi enable_wlanapi
17156 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17157 wine_fn_config_test dlls/wldap32/tests wldap32_test
17158 wine_fn_config_dll wmi enable_wmi
17159 wine_fn_config_dll wmiutils enable_wmiutils clean
17160 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17161 wine_fn_config_dll wmvcore enable_wmvcore
17162 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17163 wine_fn_config_dll wow32 enable_win16 implib
17164 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17165 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
17166 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17167 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
17168 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17169 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
17170 wine_fn_config_dll wsock32 enable_wsock32 implib
17171 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17172 wine_fn_config_dll wuapi enable_wuapi clean
17173 wine_fn_config_dll wuaueng enable_wuaueng
17174 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17175 wine_fn_config_dll xinput1_1 enable_xinput1_1
17176 wine_fn_config_dll xinput1_2 enable_xinput1_2
17177 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17178 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
17179 wine_fn_config_dll xinput1_4 enable_xinput1_4
17180 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17181 wine_fn_config_dll xmllite enable_xmllite
17182 wine_fn_config_test dlls/xmllite/tests xmllite_test
17183 wine_fn_config_dll xolehlp enable_xolehlp
17184 wine_fn_config_dll xpsprint enable_xpsprint
17185 wine_fn_config_dll xpssvcs enable_xpssvcs
17186 wine_fn_config_makefile documentation enable_documentation clean
17187 wine_fn_config_makefile fonts enable_fonts clean,install-lib
17188 wine_fn_config_makefile include enable_include clean,install-dev
17189 wine_fn_config_makefile libs/port enable_libs_port
17190 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
17191 wine_fn_config_makefile libs/wpp enable_libs_wpp
17192 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
17193 wine_fn_config_program arp enable_arp install
17194 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
17195 wine_fn_config_program attrib enable_attrib install,po
17196 wine_fn_config_program cabarc enable_cabarc install
17197 wine_fn_config_program cacls enable_cacls install
17198 wine_fn_config_program clock enable_clock install,po
17199 wine_fn_config_program cmd enable_cmd install,po
17200 wine_fn_config_test programs/cmd/tests cmd.exe_test
17201 wine_fn_config_program conhost enable_conhost install
17202 wine_fn_config_program control enable_control install
17203 wine_fn_config_program cscript enable_cscript install
17204 wine_fn_config_program dxdiag enable_dxdiag install,po
17205 wine_fn_config_program eject enable_eject install
17206 wine_fn_config_program expand enable_expand install
17207 wine_fn_config_program explorer enable_explorer install,po
17208 wine_fn_config_program extrac32 enable_extrac32 install
17209 wine_fn_config_program findstr enable_findstr install
17210 wine_fn_config_program hh enable_hh install
17211 wine_fn_config_program hostname enable_hostname install,po
17212 wine_fn_config_program icinfo enable_icinfo install
17213 wine_fn_config_program iexplore enable_iexplore install
17214 wine_fn_config_program ipconfig enable_ipconfig install,po
17215 wine_fn_config_program lodctr enable_lodctr install
17216 wine_fn_config_program mofcomp enable_mofcomp install
17217 wine_fn_config_program mshta enable_mshta install
17218 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
17219 wine_fn_config_program net enable_net install,po
17220 wine_fn_config_program netsh enable_netsh install
17221 wine_fn_config_program netstat enable_netstat install,po
17222 wine_fn_config_program ngen enable_ngen install
17223 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
17224 wine_fn_config_program oleview enable_oleview install,po
17225 wine_fn_config_program ping enable_ping install
17226 wine_fn_config_program plugplay enable_plugplay install
17227 wine_fn_config_program presentationfontcache enable_presentationfontcache install
17228 wine_fn_config_program progman enable_progman install,po
17229 wine_fn_config_program reg enable_reg install,po
17230 wine_fn_config_program regasm enable_regasm install
17231 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
17232 wine_fn_config_test programs/regedit/tests regedit.exe_test
17233 wine_fn_config_program regsvcs enable_regsvcs install
17234 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage
17235 wine_fn_config_program rpcss enable_rpcss clean,install
17236 wine_fn_config_program rundll.exe16 enable_win16 install
17237 wine_fn_config_program rundll32 enable_rundll32 install
17238 wine_fn_config_program sc enable_sc install
17239 wine_fn_config_program schtasks enable_schtasks install
17240 wine_fn_config_program secedit enable_secedit install
17241 wine_fn_config_program servicemodelreg enable_servicemodelreg install
17242 wine_fn_config_program services enable_services clean,install
17243 wine_fn_config_test programs/services/tests services.exe_test
17244 wine_fn_config_program spoolsv enable_spoolsv install
17245 wine_fn_config_program start enable_start install,po
17246 wine_fn_config_program svchost enable_svchost install
17247 wine_fn_config_program taskkill enable_taskkill install,po
17248 wine_fn_config_program tasklist enable_tasklist install
17249 wine_fn_config_program taskmgr enable_taskmgr install,po
17250 wine_fn_config_program termsv enable_termsv install
17251 wine_fn_config_program uninstaller enable_uninstaller install,po
17252 wine_fn_config_program unlodctr enable_unlodctr install
17253 wine_fn_config_program view enable_view install,po
17254 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
17255 wine_fn_config_program winebrowser enable_winebrowser install
17256 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
17257 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
17258 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
17259 wine_fn_config_program winedevice enable_winedevice install
17260 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
17261 wine_fn_config_program winemenubuilder enable_winemenubuilder install
17262 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
17263 wine_fn_config_program winemsibuilder enable_winemsibuilder install
17264 wine_fn_config_program winepath enable_winepath install,installbin,manpage
17265 wine_fn_config_program winetest enable_winetest clean
17266 wine_fn_config_program winevdm enable_win16 install
17267 wine_fn_config_program winhelp.exe16 enable_win16 install
17268 wine_fn_config_program winhlp32 enable_winhlp32 install,po
17269 wine_fn_config_program winoldap.mod16 enable_win16 install
17270 wine_fn_config_program winver enable_winver install
17271 wine_fn_config_program wmic enable_wmic install,po
17272 wine_fn_config_program wordpad enable_wordpad install,po
17273 wine_fn_config_program write enable_write install,po
17274 wine_fn_config_program wscript enable_wscript clean,install
17275 wine_fn_config_test programs/wscript/tests wscript.exe_test
17276 wine_fn_config_program wusa enable_wusa install
17277 wine_fn_config_program xcopy enable_xcopy install,po
17278 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
17279 wine_fn_config_makefile server enable_server clean,install-lib,manpage
17280 wine_fn_config_tool tools clean,install-dev,install-lib,manpage
17281 wine_fn_config_tool tools/widl clean,install-dev,manpage
17282 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
17283 wine_fn_config_tool tools/winedump clean,install-dev,manpage
17284 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
17285 wine_fn_config_tool tools/wmc clean,install-dev,manpage
17286 wine_fn_config_tool tools/wrc clean,install-dev,manpage
17288 LINGUAS="\
17289 ar \
17290 bg \
17291 ca \
17292 cs \
17293 da \
17294 de \
17295 el \
17296 en \
17297 en_US \
17298 eo \
17299 es \
17300 fa \
17301 fi \
17302 fr \
17303 he \
17304 hi \
17305 hr \
17306 hu \
17307 it \
17308 ja \
17309 ko \
17310 lt \
17311 ml \
17312 nb_NO \
17313 nl \
17314 or \
17315 pa \
17316 pl \
17317 pt_BR \
17318 pt_PT \
17319 rm \
17320 ro \
17321 ru \
17322 sk \
17323 sl \
17324 sr_RS@cyrillic \
17325 sr_RS@latin \
17326 sv \
17327 te \
17328 th \
17329 tr \
17330 uk \
17331 wa \
17332 zh_CN \
17333 zh_TW"
17338 wine_fn_ignore_file ".gitignore"
17339 wine_fn_ignore_file "Makefile"
17340 wine_fn_ignore_file "TAGS"
17341 wine_fn_ignore_file "tags"
17342 wine_fn_ignore_file "autom4te.cache"
17343 wine_fn_ignore_file "config.cache"
17344 wine_fn_ignore_file "config.log"
17345 wine_fn_ignore_file "config.status"
17346 wine_fn_ignore_file "configure.lineno"
17347 wine_fn_ignore_file "include/config.h"
17348 wine_fn_ignore_file "include/stamp-h"
17349 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
17351 ac_config_commands="$ac_config_commands Makefile"
17354 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17358 if test "x$enable_maintainer_mode" = xyes
17359 then
17360 wine_fn_append_rule "configure: configure.ac aclocal.m4
17361 autoconf --warnings=all
17362 include/config.h.in: include/stamp-h.in
17363 include/stamp-h.in: configure.ac aclocal.m4
17364 autoheader --warnings=all
17365 @echo timestamp > \$@"
17368 if test "x$with_gettextpo" = xyes
17369 then
17370 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17371 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
17372 \$(LINGUAS:%=po/%.po): po/wine.pot
17373 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17374 po/wine.pot: \$(ALL_POT_FILES)
17375 msgcat -o \$@ \$(ALL_POT_FILES)"
17378 if test "$MSGFMT" != false
17379 then
17380 PORCFLAGS="--po-dir=\$(top_builddir)/po"
17382 wine_fn_append_rule "__builddeps__: \$(ALL_MO_FILES)
17383 clean::
17384 \$(RM) \$(ALL_MO_FILES)"
17386 posrc="po"
17387 test "$srcdir" = . || posrc="$srcdir/po"
17388 for i in $LINGUAS
17390 wine_fn_ignore_file "po/$i.mo"
17391 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
17392 \$(MSGFMT) -o \$@ $posrc/$i.po"
17393 done
17394 else
17395 LINGUAS=
17398 if test "x$enable_tools" != xno
17399 then
17400 ac_config_commands="$ac_config_commands tools"
17402 wine_fn_ignore_file "tools/makedep$ac_exeext"
17403 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h
17404 \$(CC) -Iinclude -I$srcdir/include -D__WINESRC__ \$(EXTRACFLAGS) \$(CPPFLAGS) \$(CFLAGS) -o \$@ $srcdir/tools/makedep.c \$(LDFLAGS)
17405 clean:: __clean__
17406 \$(RM) tools/makedep$ac_exeext"
17407 else
17408 wine_fn_append_rule "\$(MAKEDEP):
17409 @echo \"You need to run make in $TOOLSDIR first\" && false"
17412 if test -n "$with_wine64"
17413 then
17414 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17415 fonts server tools:
17416 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17417 $with_wine64/loader/wine:
17418 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17419 $with_wine64/loader/wine-preloader:
17420 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17421 clean::
17422 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17423 else
17424 as_fn_append LOADER_RULES "
17425 all: wine.inf
17427 install install-lib:: wine.inf install-man-pages
17428 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17429 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17431 uninstall::
17432 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17436 if test "$srcdir" = .
17437 then
17438 ac_config_commands="$ac_config_commands .gitignore"
17442 $as_echo " done" >&6
17443 cat >confcache <<\_ACEOF
17444 # This file is a shell script that caches the results of configure
17445 # tests run on this system so they can be shared between configure
17446 # scripts and configure runs, see configure's option --config-cache.
17447 # It is not useful on other systems. If it contains results you don't
17448 # want to keep, you may remove or edit it.
17450 # config.status only pays attention to the cache file if you give it
17451 # the --recheck option to rerun configure.
17453 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17454 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17455 # following values.
17457 _ACEOF
17459 # The following way of writing the cache mishandles newlines in values,
17460 # but we know of no workaround that is simple, portable, and efficient.
17461 # So, we kill variables containing newlines.
17462 # Ultrix sh set writes to stderr and can't be redirected directly,
17463 # and sets the high bit in the cache file unless we assign to the vars.
17465 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17466 eval ac_val=\$$ac_var
17467 case $ac_val in #(
17468 *${as_nl}*)
17469 case $ac_var in #(
17470 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17471 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17472 esac
17473 case $ac_var in #(
17474 _ | IFS | as_nl) ;; #(
17475 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17476 *) { eval $ac_var=; unset $ac_var;} ;;
17477 esac ;;
17478 esac
17479 done
17481 (set) 2>&1 |
17482 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17483 *${as_nl}ac_space=\ *)
17484 # `set' does not quote correctly, so add quotes: double-quote
17485 # substitution turns \\\\ into \\, and sed turns \\ into \.
17486 sed -n \
17487 "s/'/'\\\\''/g;
17488 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17489 ;; #(
17491 # `set' quotes correctly as required by POSIX, so do not add quotes.
17492 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17494 esac |
17495 sort
17497 sed '
17498 /^ac_cv_env_/b end
17499 t clear
17500 :clear
17501 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17502 t end
17503 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17504 :end' >>confcache
17505 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17506 if test -w "$cache_file"; then
17507 if test "x$cache_file" != "x/dev/null"; then
17508 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17509 $as_echo "$as_me: updating cache $cache_file" >&6;}
17510 if test ! -f "$cache_file" || test -h "$cache_file"; then
17511 cat confcache >"$cache_file"
17512 else
17513 case $cache_file in #(
17514 */* | ?:*)
17515 mv -f confcache "$cache_file"$$ &&
17516 mv -f "$cache_file"$$ "$cache_file" ;; #(
17518 mv -f confcache "$cache_file" ;;
17519 esac
17522 else
17523 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17524 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17527 rm -f confcache
17529 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17530 # Let make expand exec_prefix.
17531 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17533 DEFS=-DHAVE_CONFIG_H
17535 ac_libobjs=
17536 ac_ltlibobjs=
17538 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17539 # 1. Remove the extension, and $U if already installed.
17540 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17541 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17542 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17543 # will be set to the directory where LIBOBJS objects are built.
17544 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17545 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17546 done
17547 LIBOBJS=$ac_libobjs
17549 LTLIBOBJS=$ac_ltlibobjs
17553 : "${CONFIG_STATUS=./config.status}"
17554 ac_write_fail=0
17555 ac_clean_files_save=$ac_clean_files
17556 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17557 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17558 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17559 as_write_fail=0
17560 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17561 #! $SHELL
17562 # Generated by $as_me.
17563 # Run this file to recreate the current configuration.
17564 # Compiler output produced by configure, useful for debugging
17565 # configure, is in config.log if it exists.
17567 debug=false
17568 ac_cs_recheck=false
17569 ac_cs_silent=false
17571 SHELL=\${CONFIG_SHELL-$SHELL}
17572 export SHELL
17573 _ASEOF
17574 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17575 ## -------------------- ##
17576 ## M4sh Initialization. ##
17577 ## -------------------- ##
17579 # Be more Bourne compatible
17580 DUALCASE=1; export DUALCASE # for MKS sh
17581 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17582 emulate sh
17583 NULLCMD=:
17584 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17585 # is contrary to our usage. Disable this feature.
17586 alias -g '${1+"$@"}'='"$@"'
17587 setopt NO_GLOB_SUBST
17588 else
17589 case `(set -o) 2>/dev/null` in #(
17590 *posix*) :
17591 set -o posix ;; #(
17592 *) :
17594 esac
17598 as_nl='
17600 export as_nl
17601 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17602 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17603 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17604 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17605 # Prefer a ksh shell builtin over an external printf program on Solaris,
17606 # but without wasting forks for bash or zsh.
17607 if test -z "$BASH_VERSION$ZSH_VERSION" \
17608 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17609 as_echo='print -r --'
17610 as_echo_n='print -rn --'
17611 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17612 as_echo='printf %s\n'
17613 as_echo_n='printf %s'
17614 else
17615 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17616 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17617 as_echo_n='/usr/ucb/echo -n'
17618 else
17619 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17620 as_echo_n_body='eval
17621 arg=$1;
17622 case $arg in #(
17623 *"$as_nl"*)
17624 expr "X$arg" : "X\\(.*\\)$as_nl";
17625 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17626 esac;
17627 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17629 export as_echo_n_body
17630 as_echo_n='sh -c $as_echo_n_body as_echo'
17632 export as_echo_body
17633 as_echo='sh -c $as_echo_body as_echo'
17636 # The user is always right.
17637 if test "${PATH_SEPARATOR+set}" != set; then
17638 PATH_SEPARATOR=:
17639 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17640 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17641 PATH_SEPARATOR=';'
17646 # IFS
17647 # We need space, tab and new line, in precisely that order. Quoting is
17648 # there to prevent editors from complaining about space-tab.
17649 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17650 # splitting by setting IFS to empty value.)
17651 IFS=" "" $as_nl"
17653 # Find who we are. Look in the path if we contain no directory separator.
17654 as_myself=
17655 case $0 in #((
17656 *[\\/]* ) as_myself=$0 ;;
17657 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17658 for as_dir in $PATH
17660 IFS=$as_save_IFS
17661 test -z "$as_dir" && as_dir=.
17662 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17663 done
17664 IFS=$as_save_IFS
17667 esac
17668 # We did not find ourselves, most probably we were run as `sh COMMAND'
17669 # in which case we are not to be found in the path.
17670 if test "x$as_myself" = x; then
17671 as_myself=$0
17673 if test ! -f "$as_myself"; then
17674 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17675 exit 1
17678 # Unset variables that we do not need and which cause bugs (e.g. in
17679 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17680 # suppresses any "Segmentation fault" message there. '((' could
17681 # trigger a bug in pdksh 5.2.14.
17682 for as_var in BASH_ENV ENV MAIL MAILPATH
17683 do eval test x\${$as_var+set} = xset \
17684 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17685 done
17686 PS1='$ '
17687 PS2='> '
17688 PS4='+ '
17690 # NLS nuisances.
17691 LC_ALL=C
17692 export LC_ALL
17693 LANGUAGE=C
17694 export LANGUAGE
17696 # CDPATH.
17697 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17700 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17701 # ----------------------------------------
17702 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17703 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17704 # script with STATUS, using 1 if that was 0.
17705 as_fn_error ()
17707 as_status=$1; test $as_status -eq 0 && as_status=1
17708 if test "$4"; then
17709 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17710 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17712 $as_echo "$as_me: error: $2" >&2
17713 as_fn_exit $as_status
17714 } # as_fn_error
17717 # as_fn_set_status STATUS
17718 # -----------------------
17719 # Set $? to STATUS, without forking.
17720 as_fn_set_status ()
17722 return $1
17723 } # as_fn_set_status
17725 # as_fn_exit STATUS
17726 # -----------------
17727 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17728 as_fn_exit ()
17730 set +e
17731 as_fn_set_status $1
17732 exit $1
17733 } # as_fn_exit
17735 # as_fn_unset VAR
17736 # ---------------
17737 # Portably unset VAR.
17738 as_fn_unset ()
17740 { eval $1=; unset $1;}
17742 as_unset=as_fn_unset
17743 # as_fn_append VAR VALUE
17744 # ----------------------
17745 # Append the text in VALUE to the end of the definition contained in VAR. Take
17746 # advantage of any shell optimizations that allow amortized linear growth over
17747 # repeated appends, instead of the typical quadratic growth present in naive
17748 # implementations.
17749 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17750 eval 'as_fn_append ()
17752 eval $1+=\$2
17754 else
17755 as_fn_append ()
17757 eval $1=\$$1\$2
17759 fi # as_fn_append
17761 # as_fn_arith ARG...
17762 # ------------------
17763 # Perform arithmetic evaluation on the ARGs, and store the result in the
17764 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17765 # must be portable across $(()) and expr.
17766 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17767 eval 'as_fn_arith ()
17769 as_val=$(( $* ))
17771 else
17772 as_fn_arith ()
17774 as_val=`expr "$@" || test $? -eq 1`
17776 fi # as_fn_arith
17779 if expr a : '\(a\)' >/dev/null 2>&1 &&
17780 test "X`expr 00001 : '.*\(...\)'`" = X001; then
17781 as_expr=expr
17782 else
17783 as_expr=false
17786 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17787 as_basename=basename
17788 else
17789 as_basename=false
17792 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17793 as_dirname=dirname
17794 else
17795 as_dirname=false
17798 as_me=`$as_basename -- "$0" ||
17799 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17800 X"$0" : 'X\(//\)$' \| \
17801 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17802 $as_echo X/"$0" |
17803 sed '/^.*\/\([^/][^/]*\)\/*$/{
17804 s//\1/
17807 /^X\/\(\/\/\)$/{
17808 s//\1/
17811 /^X\/\(\/\).*/{
17812 s//\1/
17815 s/.*/./; q'`
17817 # Avoid depending upon Character Ranges.
17818 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17819 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17820 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17821 as_cr_digits='0123456789'
17822 as_cr_alnum=$as_cr_Letters$as_cr_digits
17824 ECHO_C= ECHO_N= ECHO_T=
17825 case `echo -n x` in #(((((
17826 -n*)
17827 case `echo 'xy\c'` in
17828 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
17829 xy) ECHO_C='\c';;
17830 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
17831 ECHO_T=' ';;
17832 esac;;
17834 ECHO_N='-n';;
17835 esac
17837 rm -f conf$$ conf$$.exe conf$$.file
17838 if test -d conf$$.dir; then
17839 rm -f conf$$.dir/conf$$.file
17840 else
17841 rm -f conf$$.dir
17842 mkdir conf$$.dir 2>/dev/null
17844 if (echo >conf$$.file) 2>/dev/null; then
17845 if ln -s conf$$.file conf$$ 2>/dev/null; then
17846 as_ln_s='ln -s'
17847 # ... but there are two gotchas:
17848 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17849 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17850 # In both cases, we have to default to `cp -pR'.
17851 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17852 as_ln_s='cp -pR'
17853 elif ln conf$$.file conf$$ 2>/dev/null; then
17854 as_ln_s=ln
17855 else
17856 as_ln_s='cp -pR'
17858 else
17859 as_ln_s='cp -pR'
17861 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17862 rmdir conf$$.dir 2>/dev/null
17865 # as_fn_mkdir_p
17866 # -------------
17867 # Create "$as_dir" as a directory, including parents if necessary.
17868 as_fn_mkdir_p ()
17871 case $as_dir in #(
17872 -*) as_dir=./$as_dir;;
17873 esac
17874 test -d "$as_dir" || eval $as_mkdir_p || {
17875 as_dirs=
17876 while :; do
17877 case $as_dir in #(
17878 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17879 *) as_qdir=$as_dir;;
17880 esac
17881 as_dirs="'$as_qdir' $as_dirs"
17882 as_dir=`$as_dirname -- "$as_dir" ||
17883 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17884 X"$as_dir" : 'X\(//\)[^/]' \| \
17885 X"$as_dir" : 'X\(//\)$' \| \
17886 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17887 $as_echo X"$as_dir" |
17888 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17889 s//\1/
17892 /^X\(\/\/\)[^/].*/{
17893 s//\1/
17896 /^X\(\/\/\)$/{
17897 s//\1/
17900 /^X\(\/\).*/{
17901 s//\1/
17904 s/.*/./; q'`
17905 test -d "$as_dir" && break
17906 done
17907 test -z "$as_dirs" || eval "mkdir $as_dirs"
17908 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17911 } # as_fn_mkdir_p
17912 if mkdir -p . 2>/dev/null; then
17913 as_mkdir_p='mkdir -p "$as_dir"'
17914 else
17915 test -d ./-p && rmdir ./-p
17916 as_mkdir_p=false
17920 # as_fn_executable_p FILE
17921 # -----------------------
17922 # Test if FILE is an executable regular file.
17923 as_fn_executable_p ()
17925 test -f "$1" && test -x "$1"
17926 } # as_fn_executable_p
17927 as_test_x='test -x'
17928 as_executable_p=as_fn_executable_p
17930 # Sed expression to map a string onto a valid CPP name.
17931 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17933 # Sed expression to map a string onto a valid variable name.
17934 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17937 exec 6>&1
17938 ## ----------------------------------- ##
17939 ## Main body of $CONFIG_STATUS script. ##
17940 ## ----------------------------------- ##
17941 _ASEOF
17942 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17944 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17945 # Save the log message, to keep $0 and so on meaningful, and to
17946 # report actual input values of CONFIG_FILES etc. instead of their
17947 # values after options handling.
17948 ac_log="
17949 This file was extended by Wine $as_me 1.7.10, which was
17950 generated by GNU Autoconf 2.69. Invocation command line was
17952 CONFIG_FILES = $CONFIG_FILES
17953 CONFIG_HEADERS = $CONFIG_HEADERS
17954 CONFIG_LINKS = $CONFIG_LINKS
17955 CONFIG_COMMANDS = $CONFIG_COMMANDS
17956 $ $0 $@
17958 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17961 _ACEOF
17963 case $ac_config_files in *"
17964 "*) set x $ac_config_files; shift; ac_config_files=$*;;
17965 esac
17967 case $ac_config_headers in *"
17968 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
17969 esac
17972 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17973 # Files that config.status was made for.
17974 config_files="$ac_config_files"
17975 config_headers="$ac_config_headers"
17976 config_links="$ac_config_links"
17977 config_commands="$ac_config_commands"
17979 _ACEOF
17981 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17982 ac_cs_usage="\
17983 \`$as_me' instantiates files and other configuration actions
17984 from templates according to the current configuration. Unless the files
17985 and actions are specified as TAGs, all are instantiated by default.
17987 Usage: $0 [OPTION]... [TAG]...
17989 -h, --help print this help, then exit
17990 -V, --version print version number and configuration settings, then exit
17991 --config print configuration, then exit
17992 -q, --quiet, --silent
17993 do not print progress messages
17994 -d, --debug don't remove temporary files
17995 --recheck update $as_me by reconfiguring in the same conditions
17996 --file=FILE[:TEMPLATE]
17997 instantiate the configuration file FILE
17998 --header=FILE[:TEMPLATE]
17999 instantiate the configuration header FILE
18001 Configuration files:
18002 $config_files
18004 Configuration headers:
18005 $config_headers
18007 Configuration links:
18008 $config_links
18010 Configuration commands:
18011 $config_commands
18013 Report bugs to <wine-devel@winehq.org>.
18014 Wine home page: <http://www.winehq.org>."
18016 _ACEOF
18017 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18018 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18019 ac_cs_version="\\
18020 Wine config.status 1.7.10
18021 configured by $0, generated by GNU Autoconf 2.69,
18022 with options \\"\$ac_cs_config\\"
18024 Copyright (C) 2012 Free Software Foundation, Inc.
18025 This config.status script is free software; the Free Software Foundation
18026 gives unlimited permission to copy, distribute and modify it."
18028 ac_pwd='$ac_pwd'
18029 srcdir='$srcdir'
18030 MKDIR_P='$MKDIR_P'
18031 test -n "\$AWK" || AWK=awk
18032 _ACEOF
18034 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18035 # The default lists apply if the user does not specify any file.
18036 ac_need_defaults=:
18037 while test $# != 0
18039 case $1 in
18040 --*=?*)
18041 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18042 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18043 ac_shift=:
18045 --*=)
18046 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18047 ac_optarg=
18048 ac_shift=:
18051 ac_option=$1
18052 ac_optarg=$2
18053 ac_shift=shift
18055 esac
18057 case $ac_option in
18058 # Handling of the options.
18059 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18060 ac_cs_recheck=: ;;
18061 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18062 $as_echo "$ac_cs_version"; exit ;;
18063 --config | --confi | --conf | --con | --co | --c )
18064 $as_echo "$ac_cs_config"; exit ;;
18065 --debug | --debu | --deb | --de | --d | -d )
18066 debug=: ;;
18067 --file | --fil | --fi | --f )
18068 $ac_shift
18069 case $ac_optarg in
18070 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18071 '') as_fn_error $? "missing file argument" ;;
18072 esac
18073 as_fn_append CONFIG_FILES " '$ac_optarg'"
18074 ac_need_defaults=false;;
18075 --header | --heade | --head | --hea )
18076 $ac_shift
18077 case $ac_optarg in
18078 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18079 esac
18080 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18081 ac_need_defaults=false;;
18082 --he | --h)
18083 # Conflict between --help and --header
18084 as_fn_error $? "ambiguous option: \`$1'
18085 Try \`$0 --help' for more information.";;
18086 --help | --hel | -h )
18087 $as_echo "$ac_cs_usage"; exit ;;
18088 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18089 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18090 ac_cs_silent=: ;;
18092 # This is an error.
18093 -*) as_fn_error $? "unrecognized option: \`$1'
18094 Try \`$0 --help' for more information." ;;
18096 *) as_fn_append ac_config_targets " $1"
18097 ac_need_defaults=false ;;
18099 esac
18100 shift
18101 done
18103 ac_configure_extra_args=
18105 if $ac_cs_silent; then
18106 exec 6>/dev/null
18107 ac_configure_extra_args="$ac_configure_extra_args --silent"
18110 _ACEOF
18111 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18112 if \$ac_cs_recheck; then
18113 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18114 shift
18115 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18116 CONFIG_SHELL='$SHELL'
18117 export CONFIG_SHELL
18118 exec "\$@"
18121 _ACEOF
18122 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18123 exec 5>>config.log
18125 echo
18126 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18127 ## Running $as_me. ##
18128 _ASBOX
18129 $as_echo "$ac_log"
18130 } >&5
18132 _ACEOF
18133 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18135 # INIT-COMMANDS
18137 wine_fn_output_makefile ()
18139 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && return
18140 `cat $wine_rules_file`
18141 _WINE_EOF
18142 as_fn_error $? "could not create Makefile" "$LINENO" 5
18144 wine_fn_output_gitignore ()
18146 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18147 $GITIGNORE
18148 _WINE_EOF
18149 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18152 _ACEOF
18154 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18156 # Handling of arguments.
18157 for ac_config_target in $ac_config_targets
18159 case $ac_config_target in
18160 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18161 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
18162 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18163 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18164 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18165 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18166 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18167 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18168 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
18169 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18170 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
18171 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
18172 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18173 "tools") CONFIG_COMMANDS="$CONFIG_COMMANDS tools" ;;
18174 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
18176 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18177 esac
18178 done
18181 # If the user did not use the arguments to specify the items to instantiate,
18182 # then the envvar interface is used. Set only those that are not.
18183 # We use the long form for the default assignment because of an extremely
18184 # bizarre bug on SunOS 4.1.3.
18185 if $ac_need_defaults; then
18186 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18187 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18188 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18189 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18192 # Have a temporary directory for convenience. Make it in the build tree
18193 # simply because there is no reason against having it here, and in addition,
18194 # creating and moving files from /tmp can sometimes cause problems.
18195 # Hook for its removal unless debugging.
18196 # Note that there is a small window in which the directory will not be cleaned:
18197 # after its creation but before its name has been assigned to `$tmp'.
18198 $debug ||
18200 tmp= ac_tmp=
18201 trap 'exit_status=$?
18202 : "${ac_tmp:=$tmp}"
18203 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18205 trap 'as_fn_exit 1' 1 2 13 15
18207 # Create a (secure) tmp directory for tmp files.
18210 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18211 test -d "$tmp"
18212 } ||
18214 tmp=./conf$$-$RANDOM
18215 (umask 077 && mkdir "$tmp")
18216 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18217 ac_tmp=$tmp
18219 # Set up the scripts for CONFIG_FILES section.
18220 # No need to generate them if there are no CONFIG_FILES.
18221 # This happens for instance with `./config.status config.h'.
18222 if test -n "$CONFIG_FILES"; then
18224 if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
18225 ac_cs_awk_getline=:
18226 ac_cs_awk_pipe_init=
18227 ac_cs_awk_read_file='
18228 while ((getline aline < (F[key])) > 0)
18229 print(aline)
18230 close(F[key])'
18231 ac_cs_awk_pipe_fini=
18232 else
18233 ac_cs_awk_getline=false
18234 ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
18235 ac_cs_awk_read_file='
18236 print "|#_!!_#|"
18237 print "cat " F[key] " &&"
18238 '$ac_cs_awk_pipe_init
18239 # The final `:' finishes the AND list.
18240 ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
18242 ac_cr=`echo X | tr X '\015'`
18243 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18244 # But we know of no other shell where ac_cr would be empty at this
18245 # point, so we can use a bashism as a fallback.
18246 if test "x$ac_cr" = x; then
18247 eval ac_cr=\$\'\\r\'
18249 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18250 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18251 ac_cs_awk_cr='\\r'
18252 else
18253 ac_cs_awk_cr=$ac_cr
18256 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18257 _ACEOF
18259 # Create commands to substitute file output variables.
18261 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
18262 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
18263 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
18264 echo "_ACAWK" &&
18265 echo "_ACEOF"
18266 } >conf$$files.sh &&
18267 . ./conf$$files.sh ||
18268 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18269 rm -f conf$$files.sh
18272 echo "cat >conf$$subs.awk <<_ACEOF" &&
18273 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18274 echo "_ACEOF"
18275 } >conf$$subs.sh ||
18276 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18277 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18278 ac_delim='%!_!# '
18279 for ac_last_try in false false false false false :; do
18280 . ./conf$$subs.sh ||
18281 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18283 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18284 if test $ac_delim_n = $ac_delim_num; then
18285 break
18286 elif $ac_last_try; then
18287 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18288 else
18289 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18291 done
18292 rm -f conf$$subs.sh
18294 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18295 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18296 _ACEOF
18297 sed -n '
18299 s/^/S["/; s/!.*/"]=/
18302 s/^[^!]*!//
18303 :repl
18304 t repl
18305 s/'"$ac_delim"'$//
18306 t delim
18309 s/\(.\{148\}\)..*/\1/
18310 t more1
18311 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18314 b repl
18315 :more1
18316 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18319 s/.\{148\}//
18320 t nl
18321 :delim
18323 s/\(.\{148\}\)..*/\1/
18324 t more2
18325 s/["\\]/\\&/g; s/^/"/; s/$/"/
18328 :more2
18329 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18332 s/.\{148\}//
18333 t delim
18334 ' <conf$$subs.awk | sed '
18335 /^[^""]/{
18337 s/\n//
18339 ' >>$CONFIG_STATUS || ac_write_fail=1
18340 rm -f conf$$subs.awk
18341 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18342 _ACAWK
18343 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18344 for (key in S) S_is_set[key] = 1
18345 FS = "\a"
18346 \$ac_cs_awk_pipe_init
18349 line = $ 0
18350 nfields = split(line, field, "@")
18351 substed = 0
18352 len = length(field[1])
18353 for (i = 2; i < nfields; i++) {
18354 key = field[i]
18355 keylen = length(key)
18356 if (S_is_set[key]) {
18357 value = S[key]
18358 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18359 len += length(value) + length(field[++i])
18360 substed = 1
18361 } else
18362 len += 1 + keylen
18364 if (nfields == 3 && !substed) {
18365 key = field[2]
18366 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
18367 \$ac_cs_awk_read_file
18368 next
18371 print line
18373 \$ac_cs_awk_pipe_fini
18374 _ACAWK
18375 _ACEOF
18376 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18377 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18378 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18379 else
18381 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18382 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18383 _ACEOF
18385 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18386 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18387 # trailing colons and then remove the whole line if VPATH becomes empty
18388 # (actually we leave an empty line to preserve line numbers).
18389 if test "x$srcdir" = x.; then
18390 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18392 s///
18393 s/^/:/
18394 s/[ ]*$/:/
18395 s/:\$(srcdir):/:/g
18396 s/:\${srcdir}:/:/g
18397 s/:@srcdir@:/:/g
18398 s/^:*//
18399 s/:*$//
18401 s/\(=[ ]*\).*/\1/
18403 s/\n//
18404 s/^[^=]*=[ ]*$//
18408 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18409 fi # test -n "$CONFIG_FILES"
18411 # Set up the scripts for CONFIG_HEADERS section.
18412 # No need to generate them if there are no CONFIG_HEADERS.
18413 # This happens for instance with `./config.status Makefile'.
18414 if test -n "$CONFIG_HEADERS"; then
18415 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18416 BEGIN {
18417 _ACEOF
18419 # Transform confdefs.h into an awk script `defines.awk', embedded as
18420 # here-document in config.status, that substitutes the proper values into
18421 # config.h.in to produce config.h.
18423 # Create a delimiter string that does not exist in confdefs.h, to ease
18424 # handling of long lines.
18425 ac_delim='%!_!# '
18426 for ac_last_try in false false :; do
18427 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18428 if test -z "$ac_tt"; then
18429 break
18430 elif $ac_last_try; then
18431 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18432 else
18433 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18435 done
18437 # For the awk script, D is an array of macro values keyed by name,
18438 # likewise P contains macro parameters if any. Preserve backslash
18439 # newline sequences.
18441 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18442 sed -n '
18443 s/.\{148\}/&'"$ac_delim"'/g
18444 t rset
18445 :rset
18446 s/^[ ]*#[ ]*define[ ][ ]*/ /
18447 t def
18449 :def
18450 s/\\$//
18451 t bsnl
18452 s/["\\]/\\&/g
18453 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18454 D["\1"]=" \3"/p
18455 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18457 :bsnl
18458 s/["\\]/\\&/g
18459 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18460 D["\1"]=" \3\\\\\\n"\\/p
18461 t cont
18462 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18463 t cont
18465 :cont
18467 s/.\{148\}/&'"$ac_delim"'/g
18468 t clear
18469 :clear
18470 s/\\$//
18471 t bsnlc
18472 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18474 :bsnlc
18475 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18476 b cont
18477 ' <confdefs.h | sed '
18478 s/'"$ac_delim"'/"\\\
18479 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18481 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18482 for (key in D) D_is_set[key] = 1
18483 FS = "\a"
18485 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18486 line = \$ 0
18487 split(line, arg, " ")
18488 if (arg[1] == "#") {
18489 defundef = arg[2]
18490 mac1 = arg[3]
18491 } else {
18492 defundef = substr(arg[1], 2)
18493 mac1 = arg[2]
18495 split(mac1, mac2, "(") #)
18496 macro = mac2[1]
18497 prefix = substr(line, 1, index(line, defundef) - 1)
18498 if (D_is_set[macro]) {
18499 # Preserve the white space surrounding the "#".
18500 print prefix "define", macro P[macro] D[macro]
18501 next
18502 } else {
18503 # Replace #undef with comments. This is necessary, for example,
18504 # in the case of _POSIX_SOURCE, which is predefined and required
18505 # on some systems where configure will not decide to define it.
18506 if (defundef == "undef") {
18507 print "/*", prefix defundef, macro, "*/"
18508 next
18512 { print }
18513 _ACAWK
18514 _ACEOF
18515 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18516 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18517 fi # test -n "$CONFIG_HEADERS"
18520 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18521 shift
18522 for ac_tag
18524 case $ac_tag in
18525 :[FHLC]) ac_mode=$ac_tag; continue;;
18526 esac
18527 case $ac_mode$ac_tag in
18528 :[FHL]*:*);;
18529 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18530 :[FH]-) ac_tag=-:-;;
18531 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18532 esac
18533 ac_save_IFS=$IFS
18534 IFS=:
18535 set x $ac_tag
18536 IFS=$ac_save_IFS
18537 shift
18538 ac_file=$1
18539 shift
18541 case $ac_mode in
18542 :L) ac_source=$1;;
18543 :[FH])
18544 ac_file_inputs=
18545 for ac_f
18547 case $ac_f in
18548 -) ac_f="$ac_tmp/stdin";;
18549 *) # Look for the file first in the build tree, then in the source tree
18550 # (if the path is not absolute). The absolute path cannot be DOS-style,
18551 # because $ac_f cannot contain `:'.
18552 test -f "$ac_f" ||
18553 case $ac_f in
18554 [\\/$]*) false;;
18555 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18556 esac ||
18557 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18558 esac
18559 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18560 as_fn_append ac_file_inputs " '$ac_f'"
18561 done
18563 # Let's still pretend it is `configure' which instantiates (i.e., don't
18564 # use $as_me), people would be surprised to read:
18565 # /* config.h. Generated by config.status. */
18566 configure_input='Generated from '`
18567 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18568 `' by configure.'
18569 if test x"$ac_file" != x-; then
18570 configure_input="$ac_file. $configure_input"
18571 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18572 $as_echo "$as_me: creating $ac_file" >&6;}
18574 # Neutralize special characters interpreted by sed in replacement strings.
18575 case $configure_input in #(
18576 *\&* | *\|* | *\\* )
18577 ac_sed_conf_input=`$as_echo "$configure_input" |
18578 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18579 *) ac_sed_conf_input=$configure_input;;
18580 esac
18582 case $ac_tag in
18583 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18584 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18585 esac
18587 esac
18589 ac_dir=`$as_dirname -- "$ac_file" ||
18590 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18591 X"$ac_file" : 'X\(//\)[^/]' \| \
18592 X"$ac_file" : 'X\(//\)$' \| \
18593 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18594 $as_echo X"$ac_file" |
18595 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18596 s//\1/
18599 /^X\(\/\/\)[^/].*/{
18600 s//\1/
18603 /^X\(\/\/\)$/{
18604 s//\1/
18607 /^X\(\/\).*/{
18608 s//\1/
18611 s/.*/./; q'`
18612 as_dir="$ac_dir"; as_fn_mkdir_p
18613 ac_builddir=.
18615 case "$ac_dir" in
18616 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18618 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18619 # A ".." for each directory in $ac_dir_suffix.
18620 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18621 case $ac_top_builddir_sub in
18622 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18623 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18624 esac ;;
18625 esac
18626 ac_abs_top_builddir=$ac_pwd
18627 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18628 # for backward compatibility:
18629 ac_top_builddir=$ac_top_build_prefix
18631 case $srcdir in
18632 .) # We are building in place.
18633 ac_srcdir=.
18634 ac_top_srcdir=$ac_top_builddir_sub
18635 ac_abs_top_srcdir=$ac_pwd ;;
18636 [\\/]* | ?:[\\/]* ) # Absolute name.
18637 ac_srcdir=$srcdir$ac_dir_suffix;
18638 ac_top_srcdir=$srcdir
18639 ac_abs_top_srcdir=$srcdir ;;
18640 *) # Relative name.
18641 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18642 ac_top_srcdir=$ac_top_build_prefix$srcdir
18643 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18644 esac
18645 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18648 case $ac_mode in
18651 # CONFIG_FILE
18654 ac_MKDIR_P=$MKDIR_P
18655 case $MKDIR_P in
18656 [\\/$]* | ?:[\\/]* ) ;;
18657 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18658 esac
18659 _ACEOF
18661 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18662 # If the template does not know about datarootdir, expand it.
18663 # FIXME: This hack should be removed a few years after 2.60.
18664 ac_datarootdir_hack=; ac_datarootdir_seen=
18665 ac_sed_dataroot='
18666 /datarootdir/ {
18670 /@datadir@/p
18671 /@docdir@/p
18672 /@infodir@/p
18673 /@localedir@/p
18674 /@mandir@/p'
18675 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18676 *datarootdir*) ac_datarootdir_seen=yes;;
18677 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18678 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18679 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18680 _ACEOF
18681 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18682 ac_datarootdir_hack='
18683 s&@datadir@&$datadir&g
18684 s&@docdir@&$docdir&g
18685 s&@infodir@&$infodir&g
18686 s&@localedir@&$localedir&g
18687 s&@mandir@&$mandir&g
18688 s&\\\${datarootdir}&$datarootdir&g' ;;
18689 esac
18690 _ACEOF
18692 # Neutralize VPATH when `$srcdir' = `.'.
18693 # Shell code in configure.ac might set extrasub.
18694 # FIXME: do we really want to maintain this feature?
18695 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18696 ac_sed_extra="$ac_vpsub
18697 $extrasub
18698 _ACEOF
18699 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18701 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18702 s|@configure_input@|$ac_sed_conf_input|;t t
18703 s&@top_builddir@&$ac_top_builddir_sub&;t t
18704 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18705 s&@srcdir@&$ac_srcdir&;t t
18706 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18707 s&@top_srcdir@&$ac_top_srcdir&;t t
18708 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18709 s&@builddir@&$ac_builddir&;t t
18710 s&@abs_builddir@&$ac_abs_builddir&;t t
18711 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18712 s&@MKDIR_P@&$ac_MKDIR_P&;t t
18713 $ac_datarootdir_hack
18715 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
18716 if $ac_cs_awk_getline; then
18717 $AWK -f "$ac_tmp/subs.awk"
18718 else
18719 $AWK -f "$ac_tmp/subs.awk" | $SHELL
18720 fi \
18721 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18723 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18724 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18725 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18726 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18728 which seems to be undefined. Please make sure it is defined" >&5
18729 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18730 which seems to be undefined. Please make sure it is defined" >&2;}
18732 rm -f "$ac_tmp/stdin"
18733 case $ac_file in
18734 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18735 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18736 esac \
18737 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18741 # CONFIG_HEADER
18743 if test x"$ac_file" != x-; then
18745 $as_echo "/* $configure_input */" \
18746 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18747 } >"$ac_tmp/config.h" \
18748 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18749 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18750 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18751 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18752 else
18753 rm -f "$ac_file"
18754 mv "$ac_tmp/config.h" "$ac_file" \
18755 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18757 else
18758 $as_echo "/* $configure_input */" \
18759 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18760 || as_fn_error $? "could not create -" "$LINENO" 5
18765 # CONFIG_LINK
18768 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
18770 else
18771 # Prefer the file from the source tree if names are identical.
18772 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
18773 ac_source=$srcdir/$ac_source
18776 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
18777 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
18779 if test ! -r "$ac_source"; then
18780 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
18782 rm -f "$ac_file"
18784 # Try a relative symlink, then a hard link, then a copy.
18785 case $ac_source in
18786 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
18787 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
18788 esac
18789 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
18790 ln "$ac_source" "$ac_file" 2>/dev/null ||
18791 cp -p "$ac_source" "$ac_file" ||
18792 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
18795 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18796 $as_echo "$as_me: executing $ac_file commands" >&6;}
18798 esac
18801 case $ac_file$ac_mode in
18802 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
18803 "Makefile":C) wine_fn_output_makefile Makefile ;;
18804 "tools":C) as_dir=tools; as_fn_mkdir_p ;;
18805 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
18807 esac
18808 done # for ac_tag
18811 as_fn_exit 0
18812 _ACEOF
18813 ac_clean_files=$ac_clean_files_save
18815 test $ac_write_fail = 0 ||
18816 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18819 # configure is writing to config.log, and then calls config.status.
18820 # config.status does its own redirection, appending to config.log.
18821 # Unfortunately, on DOS this fails, as config.log is still kept open
18822 # by configure, so config.status won't be able to write to it; its
18823 # output is simply discarded. So we exec the FD to /dev/null,
18824 # effectively closing config.log, so it can be properly (re)opened and
18825 # appended to by config.status. When coming back to configure, we
18826 # need to make the FD available again.
18827 if test "$no_create" != yes; then
18828 ac_cs_success=:
18829 ac_config_status_args=
18830 test "$silent" = yes &&
18831 ac_config_status_args="$ac_config_status_args --quiet"
18832 exec 5>/dev/null
18833 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18834 exec 5>>config.log
18835 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18836 # would make configure fail if this is the last instruction.
18837 $ac_cs_success || as_fn_exit 1
18839 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18840 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18841 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18845 if test "$no_create" = "yes"
18846 then
18847 exit 0
18850 ac_save_IFS="$IFS"
18851 if test "x$wine_notices != "x; then
18852 echo >&6
18853 IFS="|"
18854 for msg in $wine_notices; do
18855 IFS="$ac_save_IFS"
18856 if test -n "$msg"; then
18857 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
18858 $as_echo "$as_me: $msg" >&6;}
18860 done
18862 IFS="|"
18863 for msg in $wine_warnings; do
18864 IFS="$ac_save_IFS"
18865 if test -n "$msg"; then
18866 echo >&2
18867 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
18868 $as_echo "$as_me: WARNING: $msg" >&2;}
18870 done
18871 IFS="$ac_save_IFS"
18873 $as_echo "
18874 $as_me: Finished. Do '${ac_make}' to compile Wine.
18875 " >&6