wininet: Don't try to read content in response to HEAD request.
[wine/multimedia.git] / configure
blob49a32ac343c246aa1c64c446daeb683953660c5b
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.20.
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.20'
584 PACKAGE_STRING='Wine 1.7.20'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='http://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 LINGUAS
628 ALL_VARS_RULES
629 LDAP_LIBS
630 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 UNWINDFLAGS
635 BUILTINFLAG
636 EXTRACFLAGS
637 PROCSTAT_LIBS
638 KSTAT_LIBS
639 MPG123_LIBS
640 MPG123_CFLAGS
641 TIFF_LIBS
642 TIFF_CFLAGS
643 PNG_LIBS
644 PNG_CFLAGS
645 JPEG_LIBS
646 JPEG_CFLAGS
647 FONTCONFIG_LIBS
648 FONTCONFIG_CFLAGS
649 CUPS_CFLAGS
650 CAPI20_LIBS
651 CAPI20_CFLAGS
652 OSS4_CFLAGS
653 ALSA_LIBS
654 GSTREAMER_LIBS
655 GSTREAMER_CFLAGS
656 GETTEXTPO_LIBS
657 Z_LIBS
658 FREETYPE_LIBS
659 FREETYPE_CFLAGS
660 LCMS2_LIBS
661 LCMS2_CFLAGS
662 RESOLV_LIBS
663 GPHOTO2_PORT_LIBS
664 GPHOTO2_PORT_CFLAGS
665 GPHOTO2_LIBS
666 GPHOTO2_CFLAGS
667 SANE_LIBS
668 SANE_CFLAGS
669 GNUTLS_LIBS
670 GNUTLS_CFLAGS
671 HAL_LIBS
672 HAL_CFLAGS
673 DBUS_LIBS
674 DBUS_CFLAGS
675 XSLT_LIBS
676 XSLT_CFLAGS
677 XML2_LIBS
678 XML2_CFLAGS
679 X_EXTRA_LIBS
680 X_LIBS
681 X_PRE_LIBS
682 X_CFLAGS
683 XMKMF
684 PTHREAD_LIBS
685 CROSSCC
686 CROSSTARGET
687 PRELINK
688 CARBON_LIBS
689 QUICKTIME_LIBS
690 OPENCL_LIBS
691 OPENAL_LIBS
692 COREAUDIO_LIBS
693 SECURITY_LIBS
694 DISKARBITRATION_LIBS
695 APPKIT_LIBS
696 CORESERVICES_LIBS
697 APPLICATIONSERVICES_LIBS
698 FORCEFEEDBACK_LIBS
699 IOKIT_LIBS
700 COREFOUNDATION_LIBS
701 LIBWINE_RULES
702 SOCKET_LIBS
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 ICOTOOL
716 CONVERT
717 RSVG
718 FONTFORGE
719 PKG_CONFIG
720 MSGFMT
721 LDCONFIG
722 EGREP
723 GREP
724 LN_S
725 RANLIB
726 ARFLAGS
727 STRIP
728 ac_ct_AR
730 BISON
731 FLEX
732 TOOLSDIR
733 TARGETFLAGS
734 CPPBIN
735 ac_ct_CXX
736 CXXFLAGS
738 OBJEXT
739 EXEEXT
740 ac_ct_CC
741 CPPFLAGS
742 LDFLAGS
743 CFLAGS
745 SET_MAKE
746 host_os
747 host_vendor
748 host_cpu
749 host
750 build_os
751 build_vendor
752 build_cpu
753 build
754 target_alias
755 host_alias
756 build_alias
757 LIBS
758 ECHO_T
759 ECHO_N
760 ECHO_C
761 DEFS
762 mandir
763 localedir
764 libdir
765 psdir
766 pdfdir
767 dvidir
768 htmldir
769 infodir
770 docdir
771 oldincludedir
772 includedir
773 localstatedir
774 sharedstatedir
775 sysconfdir
776 datadir
777 datarootdir
778 libexecdir
779 sbindir
780 bindir
781 program_transform_name
782 prefix
783 exec_prefix
784 PACKAGE_URL
785 PACKAGE_BUGREPORT
786 PACKAGE_STRING
787 PACKAGE_VERSION
788 PACKAGE_TARNAME
789 PACKAGE_NAME
790 PATH_SEPARATOR
791 SHELL'
792 ac_subst_files=''
793 ac_user_opts='
794 enable_option_checking
795 enable_win16
796 enable_win64
797 enable_tests
798 enable_maintainer_mode
799 with_alsa
800 with_capi
801 with_cms
802 with_coreaudio
803 with_cups
804 with_curses
805 with_dbus
806 with_fontconfig
807 with_freetype
808 with_gettext
809 with_gettextpo
810 with_gphoto
811 with_glu
812 with_gnutls
813 with_gsm
814 with_gstreamer
815 with_hal
816 with_jpeg
817 with_ldap
818 with_mpg123
819 with_netapi
820 with_openal
821 with_opencl
822 with_opengl
823 with_osmesa
824 with_oss
825 with_png
826 with_pthread
827 with_sane
828 with_tiff
829 with_v4l
830 with_xcomposite
831 with_xcursor
832 with_xinerama
833 with_xinput
834 with_xinput2
835 with_xml
836 with_xrandr
837 with_xrender
838 with_xshape
839 with_xshm
840 with_xslt
841 with_xxf86vm
842 with_zlib
843 with_wine_tools
844 with_wine64
845 enable_largefile
846 with_x
847 enable_acledit
848 enable_aclui
849 enable_activeds
850 enable_actxprxy
851 enable_advapi32
852 enable_advpack
853 enable_amstream
854 enable_api_ms_win_core_com_l1_1_0
855 enable_api_ms_win_core_console_l1_1_0
856 enable_api_ms_win_core_debug_l1_1_1
857 enable_api_ms_win_core_errorhandling_l1_1_1
858 enable_api_ms_win_core_file_l1_2_0
859 enable_api_ms_win_core_handle_l1_1_0
860 enable_api_ms_win_core_heap_l1_2_0
861 enable_api_ms_win_core_heap_obsolete_l1_1_0
862 enable_api_ms_win_core_interlocked_l1_2_0
863 enable_api_ms_win_core_io_l1_1_1
864 enable_api_ms_win_core_kernel32_legacy_l1_1_0
865 enable_api_ms_win_core_libraryloader_l1_1_1
866 enable_api_ms_win_core_localization_l1_2_0
867 enable_api_ms_win_core_localization_obsolete_l1_1_0
868 enable_api_ms_win_core_localregistry_l1_1_0
869 enable_api_ms_win_core_memory_l1_1_1
870 enable_api_ms_win_core_namedpipe_l1_2_0
871 enable_api_ms_win_core_processenvironment_l1_2_0
872 enable_api_ms_win_core_processthreads_l1_1_0
873 enable_api_ms_win_core_processthreads_l1_1_1
874 enable_api_ms_win_core_profile_l1_1_0
875 enable_api_ms_win_core_psapi_l1_1_0
876 enable_api_ms_win_core_registry_l1_1_0
877 enable_api_ms_win_core_rtlsupport_l1_2_0
878 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
879 enable_api_ms_win_core_string_l1_1_0
880 enable_api_ms_win_core_synch_l1_2_0
881 enable_api_ms_win_core_sysinfo_l1_2_0
882 enable_api_ms_win_core_threadpool_legacy_l1_1_0
883 enable_api_ms_win_core_timezone_l1_1_0
884 enable_api_ms_win_core_url_l1_1_0
885 enable_api_ms_win_core_util_l1_1_0
886 enable_api_ms_win_core_winrt_error_l1_1_0
887 enable_api_ms_win_core_winrt_string_l1_1_0
888 enable_api_ms_win_downlevel_advapi32_l1_1_0
889 enable_api_ms_win_downlevel_advapi32_l2_1_0
890 enable_api_ms_win_downlevel_normaliz_l1_1_0
891 enable_api_ms_win_downlevel_ole32_l1_1_0
892 enable_api_ms_win_downlevel_shell32_l1_1_0
893 enable_api_ms_win_downlevel_shlwapi_l1_1_0
894 enable_api_ms_win_downlevel_shlwapi_l2_1_0
895 enable_api_ms_win_downlevel_user32_l1_1_0
896 enable_api_ms_win_downlevel_version_l1_1_0
897 enable_api_ms_win_eventing_provider_l1_1_0
898 enable_api_ms_win_ntuser_dc_access_l1_1_0
899 enable_api_ms_win_security_base_l1_1_0
900 enable_api_ms_win_security_base_l1_2_0
901 enable_api_ms_win_security_sddl_l1_1_0
902 enable_api_ms_win_service_core_l1_1_1
903 enable_api_ms_win_service_management_l1_1_0
904 enable_api_ms_win_service_winsvc_l1_2_0
905 enable_apphelp
906 enable_appwiz_cpl
907 enable_atl
908 enable_atl100
909 enable_atl110
910 enable_atl80
911 enable_atl90
912 enable_authz
913 enable_avicap32
914 enable_avifil32
915 enable_avrt
916 enable_bcrypt
917 enable_browseui
918 enable_cabinet
919 enable_capi2032
920 enable_cards
921 enable_cfgmgr32
922 enable_clusapi
923 enable_comcat
924 enable_comctl32
925 enable_comdlg32
926 enable_compstui
927 enable_comsvcs
928 enable_credui
929 enable_crtdll
930 enable_crypt32
931 enable_cryptdlg
932 enable_cryptdll
933 enable_cryptnet
934 enable_cryptui
935 enable_ctapi32
936 enable_ctl3d32
937 enable_d2d1
938 enable_d3d10
939 enable_d3d10_1
940 enable_d3d10core
941 enable_d3d11
942 enable_d3d8
943 enable_d3d9
944 enable_d3dcompiler_33
945 enable_d3dcompiler_34
946 enable_d3dcompiler_35
947 enable_d3dcompiler_36
948 enable_d3dcompiler_37
949 enable_d3dcompiler_38
950 enable_d3dcompiler_39
951 enable_d3dcompiler_40
952 enable_d3dcompiler_41
953 enable_d3dcompiler_42
954 enable_d3dcompiler_43
955 enable_d3dim
956 enable_d3drm
957 enable_d3dx10_33
958 enable_d3dx10_34
959 enable_d3dx10_35
960 enable_d3dx10_36
961 enable_d3dx10_37
962 enable_d3dx10_38
963 enable_d3dx10_39
964 enable_d3dx10_40
965 enable_d3dx10_41
966 enable_d3dx10_42
967 enable_d3dx10_43
968 enable_d3dx11_42
969 enable_d3dx11_43
970 enable_d3dx9_24
971 enable_d3dx9_25
972 enable_d3dx9_26
973 enable_d3dx9_27
974 enable_d3dx9_28
975 enable_d3dx9_29
976 enable_d3dx9_30
977 enable_d3dx9_31
978 enable_d3dx9_32
979 enable_d3dx9_33
980 enable_d3dx9_34
981 enable_d3dx9_35
982 enable_d3dx9_36
983 enable_d3dx9_37
984 enable_d3dx9_38
985 enable_d3dx9_39
986 enable_d3dx9_40
987 enable_d3dx9_41
988 enable_d3dx9_42
989 enable_d3dx9_43
990 enable_d3dxof
991 enable_dbgeng
992 enable_dbghelp
993 enable_dciman32
994 enable_ddraw
995 enable_ddrawex
996 enable_devenum
997 enable_dhcpcsvc
998 enable_difxapi
999 enable_dinput
1000 enable_dinput8
1001 enable_dispex
1002 enable_dmband
1003 enable_dmcompos
1004 enable_dmime
1005 enable_dmloader
1006 enable_dmscript
1007 enable_dmstyle
1008 enable_dmsynth
1009 enable_dmusic
1010 enable_dmusic32
1011 enable_dnsapi
1012 enable_dplay
1013 enable_dplayx
1014 enable_dpnaddr
1015 enable_dpnet
1016 enable_dpnhpast
1017 enable_dpnlobby
1018 enable_dpwsockx
1019 enable_drmclien
1020 enable_dsound
1021 enable_dssenh
1022 enable_dswave
1023 enable_dwmapi
1024 enable_dwrite
1025 enable_dxdiagn
1026 enable_dxgi
1027 enable_dxva2
1028 enable_explorerframe
1029 enable_ext_ms_win_gdi_devcaps_l1_1_0
1030 enable_faultrep
1031 enable_fltlib
1032 enable_fntcache
1033 enable_fontsub
1034 enable_fusion
1035 enable_fwpuclnt
1036 enable_gameux
1037 enable_gdi32
1038 enable_gdiplus
1039 enable_glu32
1040 enable_gphoto2_ds
1041 enable_gpkcsp
1042 enable_hal
1043 enable_hhctrl_ocx
1044 enable_hid
1045 enable_hlink
1046 enable_hnetcfg
1047 enable_httpapi
1048 enable_iccvid
1049 enable_icmp
1050 enable_ieframe
1051 enable_imaadp32_acm
1052 enable_imagehlp
1053 enable_imm32
1054 enable_inetcomm
1055 enable_inetcpl_cpl
1056 enable_inetmib1
1057 enable_infosoft
1058 enable_initpki
1059 enable_inkobj
1060 enable_inseng
1061 enable_iphlpapi
1062 enable_itircl
1063 enable_itss
1064 enable_joy_cpl
1065 enable_jscript
1066 enable_jsproxy
1067 enable_kernel32
1068 enable_ktmw32
1069 enable_loadperf
1070 enable_localspl
1071 enable_localui
1072 enable_lz32
1073 enable_mapi32
1074 enable_mapistub
1075 enable_mciavi32
1076 enable_mcicda
1077 enable_mciqtz32
1078 enable_mciseq
1079 enable_mciwave
1080 enable_mgmtapi
1081 enable_midimap
1082 enable_mlang
1083 enable_mmcndmgr
1084 enable_mmdevapi
1085 enable_mountmgr_sys
1086 enable_mpr
1087 enable_mprapi
1088 enable_msacm32_drv
1089 enable_msacm32
1090 enable_msadp32_acm
1091 enable_msasn1
1092 enable_mscat32
1093 enable_mscms
1094 enable_mscoree
1095 enable_msctf
1096 enable_msdaps
1097 enable_msdmo
1098 enable_msftedit
1099 enable_msg711_acm
1100 enable_msgsm32_acm
1101 enable_mshtml_tlb
1102 enable_mshtml
1103 enable_msi
1104 enable_msident
1105 enable_msimg32
1106 enable_msimsg
1107 enable_msimtf
1108 enable_msisip
1109 enable_msisys_ocx
1110 enable_msls31
1111 enable_msnet32
1112 enable_mspatcha
1113 enable_msrle32
1114 enable_mssign32
1115 enable_mssip32
1116 enable_mstask
1117 enable_msvcirt
1118 enable_msvcm80
1119 enable_msvcm90
1120 enable_msvcp100
1121 enable_msvcp110
1122 enable_msvcp60
1123 enable_msvcp70
1124 enable_msvcp71
1125 enable_msvcp80
1126 enable_msvcp90
1127 enable_msvcr100
1128 enable_msvcr110
1129 enable_msvcr70
1130 enable_msvcr71
1131 enable_msvcr80
1132 enable_msvcr90
1133 enable_msvcrt
1134 enable_msvcrt20
1135 enable_msvcrt40
1136 enable_msvcrtd
1137 enable_msvfw32
1138 enable_msvidc32
1139 enable_mswsock
1140 enable_msxml
1141 enable_msxml2
1142 enable_msxml3
1143 enable_msxml4
1144 enable_msxml6
1145 enable_nddeapi
1146 enable_netapi32
1147 enable_netcfgx
1148 enable_netprofm
1149 enable_newdev
1150 enable_normaliz
1151 enable_npmshtml
1152 enable_ntdll
1153 enable_ntdsapi
1154 enable_ntoskrnl_exe
1155 enable_ntprint
1156 enable_objsel
1157 enable_odbc32
1158 enable_odbccp32
1159 enable_odbccu32
1160 enable_ole32
1161 enable_oleacc
1162 enable_oleaut32
1163 enable_olecli32
1164 enable_oledb32
1165 enable_oledlg
1166 enable_olepro32
1167 enable_olesvr32
1168 enable_olethk32
1169 enable_openal32
1170 enable_opencl
1171 enable_opengl32
1172 enable_packager
1173 enable_pdh
1174 enable_photometadatahandler
1175 enable_pidgen
1176 enable_powrprof
1177 enable_printui
1178 enable_propsys
1179 enable_psapi
1180 enable_pstorec
1181 enable_qcap
1182 enable_qedit
1183 enable_qmgr
1184 enable_qmgrprxy
1185 enable_quartz
1186 enable_query
1187 enable_rasapi32
1188 enable_rasdlg
1189 enable_regapi
1190 enable_resutils
1191 enable_riched20
1192 enable_riched32
1193 enable_rpcrt4
1194 enable_rsabase
1195 enable_rsaenh
1196 enable_rstrtmgr
1197 enable_rtutils
1198 enable_samlib
1199 enable_sane_ds
1200 enable_scarddlg
1201 enable_sccbase
1202 enable_schannel
1203 enable_schedsvc
1204 enable_scrrun
1205 enable_scsiport_sys
1206 enable_secur32
1207 enable_security
1208 enable_sensapi
1209 enable_serialui
1210 enable_setupapi
1211 enable_sfc
1212 enable_sfc_os
1213 enable_shdoclc
1214 enable_shdocvw
1215 enable_shell32
1216 enable_shfolder
1217 enable_shlwapi
1218 enable_slbcsp
1219 enable_slc
1220 enable_snmpapi
1221 enable_softpub
1222 enable_spoolss
1223 enable_stdole2_tlb
1224 enable_stdole32_tlb
1225 enable_sti
1226 enable_svrapi
1227 enable_sxs
1228 enable_t2embed
1229 enable_tapi32
1230 enable_taskschd
1231 enable_traffic
1232 enable_twain_32
1233 enable_unicows
1234 enable_updspapi
1235 enable_url
1236 enable_urlmon
1237 enable_usbd_sys
1238 enable_user32
1239 enable_userenv
1240 enable_usp10
1241 enable_uxtheme
1242 enable_vbscript
1243 enable_vcomp
1244 enable_vcomp100
1245 enable_vcomp90
1246 enable_vdmdbg
1247 enable_version
1248 enable_wbemdisp
1249 enable_wbemprox
1250 enable_webservices
1251 enable_wer
1252 enable_wevtapi
1253 enable_wiaservc
1254 enable_windowscodecs
1255 enable_windowscodecsext
1256 enable_winealsa_drv
1257 enable_winecoreaudio_drv
1258 enable_wined3d
1259 enable_winegstreamer
1260 enable_winejoystick_drv
1261 enable_winemac_drv
1262 enable_winemapi
1263 enable_winemp3_acm
1264 enable_wineoss_drv
1265 enable_wineps_drv
1266 enable_wineqtdecoder
1267 enable_winex11_drv
1268 enable_wing32
1269 enable_winhttp
1270 enable_wininet
1271 enable_winmm
1272 enable_winnls32
1273 enable_winscard
1274 enable_winspool_drv
1275 enable_winsta
1276 enable_wintab32
1277 enable_wintrust
1278 enable_wlanapi
1279 enable_wldap32
1280 enable_wmi
1281 enable_wmiutils
1282 enable_wmp
1283 enable_wmvcore
1284 enable_wnaspi32
1285 enable_ws2_32
1286 enable_wshom_ocx
1287 enable_wsnmp32
1288 enable_wsock32
1289 enable_wtsapi32
1290 enable_wuapi
1291 enable_wuaueng
1292 enable_xapofx1_1
1293 enable_xinput1_1
1294 enable_xinput1_2
1295 enable_xinput1_3
1296 enable_xinput1_4
1297 enable_xinput9_1_0
1298 enable_xmllite
1299 enable_xolehlp
1300 enable_xpsprint
1301 enable_xpssvcs
1302 enable_documentation
1303 enable_fonts
1304 enable_include
1305 enable_libs_port
1306 enable_libs_wine
1307 enable_libs_wpp
1308 enable_loader
1309 enable_arp
1310 enable_aspnet_regiis
1311 enable_attrib
1312 enable_cabarc
1313 enable_cacls
1314 enable_clock
1315 enable_cmd
1316 enable_conhost
1317 enable_control
1318 enable_cscript
1319 enable_dpnsvr
1320 enable_dxdiag
1321 enable_eject
1322 enable_expand
1323 enable_explorer
1324 enable_extrac32
1325 enable_findstr
1326 enable_hh
1327 enable_hostname
1328 enable_icinfo
1329 enable_iexplore
1330 enable_ipconfig
1331 enable_lodctr
1332 enable_mofcomp
1333 enable_mshta
1334 enable_msiexec
1335 enable_net
1336 enable_netsh
1337 enable_netstat
1338 enable_ngen
1339 enable_notepad
1340 enable_oleview
1341 enable_ping
1342 enable_plugplay
1343 enable_presentationfontcache
1344 enable_progman
1345 enable_reg
1346 enable_regasm
1347 enable_regedit
1348 enable_regsvcs
1349 enable_regsvr32
1350 enable_rpcss
1351 enable_rundll32
1352 enable_sc
1353 enable_schtasks
1354 enable_sdbinst
1355 enable_secedit
1356 enable_servicemodelreg
1357 enable_services
1358 enable_spoolsv
1359 enable_start
1360 enable_svchost
1361 enable_taskkill
1362 enable_tasklist
1363 enable_taskmgr
1364 enable_termsv
1365 enable_uninstaller
1366 enable_unlodctr
1367 enable_view
1368 enable_wevtutil
1369 enable_wineboot
1370 enable_winebrowser
1371 enable_winecfg
1372 enable_wineconsole
1373 enable_winedbg
1374 enable_winedevice
1375 enable_winefile
1376 enable_winemenubuilder
1377 enable_winemine
1378 enable_winemsibuilder
1379 enable_winepath
1380 enable_winetest
1381 enable_winhlp32
1382 enable_winver
1383 enable_wmic
1384 enable_wordpad
1385 enable_write
1386 enable_wscript
1387 enable_wusa
1388 enable_xcopy
1389 enable_server
1390 enable_tools
1392 ac_precious_vars='build_alias
1393 host_alias
1394 target_alias
1396 CFLAGS
1397 LDFLAGS
1398 LIBS
1399 CPPFLAGS
1401 CXXFLAGS
1404 XMKMF
1405 XML2_CFLAGS
1406 XML2_LIBS
1407 XSLT_CFLAGS
1408 XSLT_LIBS
1409 DBUS_CFLAGS
1410 DBUS_LIBS
1411 HAL_CFLAGS
1412 HAL_LIBS
1413 GNUTLS_CFLAGS
1414 GNUTLS_LIBS
1415 SANE_CFLAGS
1416 SANE_LIBS
1417 GPHOTO2_CFLAGS
1418 GPHOTO2_LIBS
1419 GPHOTO2_PORT_CFLAGS
1420 GPHOTO2_PORT_LIBS
1421 LCMS2_CFLAGS
1422 LCMS2_LIBS
1423 FREETYPE_CFLAGS
1424 FREETYPE_LIBS
1425 GSTREAMER_CFLAGS
1426 GSTREAMER_LIBS
1427 CAPI20_CFLAGS
1428 CAPI20_LIBS
1429 FONTCONFIG_CFLAGS
1430 FONTCONFIG_LIBS
1431 JPEG_CFLAGS
1432 JPEG_LIBS
1433 PNG_CFLAGS
1434 PNG_LIBS
1435 TIFF_CFLAGS
1436 TIFF_LIBS
1437 MPG123_CFLAGS
1438 MPG123_LIBS'
1441 # Initialize some variables set by options.
1442 ac_init_help=
1443 ac_init_version=false
1444 ac_unrecognized_opts=
1445 ac_unrecognized_sep=
1446 # The variables have the same names as the options, with
1447 # dashes changed to underlines.
1448 cache_file=/dev/null
1449 exec_prefix=NONE
1450 no_create=
1451 no_recursion=
1452 prefix=NONE
1453 program_prefix=NONE
1454 program_suffix=NONE
1455 program_transform_name=s,x,x,
1456 silent=
1457 site=
1458 srcdir=
1459 verbose=
1460 x_includes=NONE
1461 x_libraries=NONE
1463 # Installation directory options.
1464 # These are left unexpanded so users can "make install exec_prefix=/foo"
1465 # and all the variables that are supposed to be based on exec_prefix
1466 # by default will actually change.
1467 # Use braces instead of parens because sh, perl, etc. also accept them.
1468 # (The list follows the same order as the GNU Coding Standards.)
1469 bindir='${exec_prefix}/bin'
1470 sbindir='${exec_prefix}/sbin'
1471 libexecdir='${exec_prefix}/libexec'
1472 datarootdir='${prefix}/share'
1473 datadir='${datarootdir}'
1474 sysconfdir='${prefix}/etc'
1475 sharedstatedir='${prefix}/com'
1476 localstatedir='${prefix}/var'
1477 includedir='${prefix}/include'
1478 oldincludedir='/usr/include'
1479 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1480 infodir='${datarootdir}/info'
1481 htmldir='${docdir}'
1482 dvidir='${docdir}'
1483 pdfdir='${docdir}'
1484 psdir='${docdir}'
1485 libdir='${exec_prefix}/lib'
1486 localedir='${datarootdir}/locale'
1487 mandir='${datarootdir}/man'
1489 ac_prev=
1490 ac_dashdash=
1491 for ac_option
1493 # If the previous option needs an argument, assign it.
1494 if test -n "$ac_prev"; then
1495 eval $ac_prev=\$ac_option
1496 ac_prev=
1497 continue
1500 case $ac_option in
1501 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1502 *=) ac_optarg= ;;
1503 *) ac_optarg=yes ;;
1504 esac
1506 # Accept the important Cygnus configure options, so we can diagnose typos.
1508 case $ac_dashdash$ac_option in
1510 ac_dashdash=yes ;;
1512 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1513 ac_prev=bindir ;;
1514 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1515 bindir=$ac_optarg ;;
1517 -build | --build | --buil | --bui | --bu)
1518 ac_prev=build_alias ;;
1519 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1520 build_alias=$ac_optarg ;;
1522 -cache-file | --cache-file | --cache-fil | --cache-fi \
1523 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1524 ac_prev=cache_file ;;
1525 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1526 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1527 cache_file=$ac_optarg ;;
1529 --config-cache | -C)
1530 cache_file=config.cache ;;
1532 -datadir | --datadir | --datadi | --datad)
1533 ac_prev=datadir ;;
1534 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1535 datadir=$ac_optarg ;;
1537 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1538 | --dataroo | --dataro | --datar)
1539 ac_prev=datarootdir ;;
1540 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1541 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1542 datarootdir=$ac_optarg ;;
1544 -disable-* | --disable-*)
1545 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1546 # Reject names that are not valid shell variable names.
1547 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1548 as_fn_error $? "invalid feature name: $ac_useropt"
1549 ac_useropt_orig=$ac_useropt
1550 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1551 case $ac_user_opts in
1553 "enable_$ac_useropt"
1554 "*) ;;
1555 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1556 ac_unrecognized_sep=', ';;
1557 esac
1558 eval enable_$ac_useropt=no ;;
1560 -docdir | --docdir | --docdi | --doc | --do)
1561 ac_prev=docdir ;;
1562 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1563 docdir=$ac_optarg ;;
1565 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1566 ac_prev=dvidir ;;
1567 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1568 dvidir=$ac_optarg ;;
1570 -enable-* | --enable-*)
1571 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1572 # Reject names that are not valid shell variable names.
1573 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1574 as_fn_error $? "invalid feature name: $ac_useropt"
1575 ac_useropt_orig=$ac_useropt
1576 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1577 case $ac_user_opts in
1579 "enable_$ac_useropt"
1580 "*) ;;
1581 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1582 ac_unrecognized_sep=', ';;
1583 esac
1584 eval enable_$ac_useropt=\$ac_optarg ;;
1586 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1587 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1588 | --exec | --exe | --ex)
1589 ac_prev=exec_prefix ;;
1590 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1591 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1592 | --exec=* | --exe=* | --ex=*)
1593 exec_prefix=$ac_optarg ;;
1595 -gas | --gas | --ga | --g)
1596 # Obsolete; use --with-gas.
1597 with_gas=yes ;;
1599 -help | --help | --hel | --he | -h)
1600 ac_init_help=long ;;
1601 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1602 ac_init_help=recursive ;;
1603 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1604 ac_init_help=short ;;
1606 -host | --host | --hos | --ho)
1607 ac_prev=host_alias ;;
1608 -host=* | --host=* | --hos=* | --ho=*)
1609 host_alias=$ac_optarg ;;
1611 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1612 ac_prev=htmldir ;;
1613 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1614 | --ht=*)
1615 htmldir=$ac_optarg ;;
1617 -includedir | --includedir | --includedi | --included | --include \
1618 | --includ | --inclu | --incl | --inc)
1619 ac_prev=includedir ;;
1620 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1621 | --includ=* | --inclu=* | --incl=* | --inc=*)
1622 includedir=$ac_optarg ;;
1624 -infodir | --infodir | --infodi | --infod | --info | --inf)
1625 ac_prev=infodir ;;
1626 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1627 infodir=$ac_optarg ;;
1629 -libdir | --libdir | --libdi | --libd)
1630 ac_prev=libdir ;;
1631 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1632 libdir=$ac_optarg ;;
1634 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1635 | --libexe | --libex | --libe)
1636 ac_prev=libexecdir ;;
1637 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1638 | --libexe=* | --libex=* | --libe=*)
1639 libexecdir=$ac_optarg ;;
1641 -localedir | --localedir | --localedi | --localed | --locale)
1642 ac_prev=localedir ;;
1643 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1644 localedir=$ac_optarg ;;
1646 -localstatedir | --localstatedir | --localstatedi | --localstated \
1647 | --localstate | --localstat | --localsta | --localst | --locals)
1648 ac_prev=localstatedir ;;
1649 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1650 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1651 localstatedir=$ac_optarg ;;
1653 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1654 ac_prev=mandir ;;
1655 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1656 mandir=$ac_optarg ;;
1658 -nfp | --nfp | --nf)
1659 # Obsolete; use --without-fp.
1660 with_fp=no ;;
1662 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1663 | --no-cr | --no-c | -n)
1664 no_create=yes ;;
1666 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1667 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1668 no_recursion=yes ;;
1670 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1671 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1672 | --oldin | --oldi | --old | --ol | --o)
1673 ac_prev=oldincludedir ;;
1674 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1675 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1676 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1677 oldincludedir=$ac_optarg ;;
1679 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1680 ac_prev=prefix ;;
1681 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1682 prefix=$ac_optarg ;;
1684 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1685 | --program-pre | --program-pr | --program-p)
1686 ac_prev=program_prefix ;;
1687 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1688 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1689 program_prefix=$ac_optarg ;;
1691 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1692 | --program-suf | --program-su | --program-s)
1693 ac_prev=program_suffix ;;
1694 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1695 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1696 program_suffix=$ac_optarg ;;
1698 -program-transform-name | --program-transform-name \
1699 | --program-transform-nam | --program-transform-na \
1700 | --program-transform-n | --program-transform- \
1701 | --program-transform | --program-transfor \
1702 | --program-transfo | --program-transf \
1703 | --program-trans | --program-tran \
1704 | --progr-tra | --program-tr | --program-t)
1705 ac_prev=program_transform_name ;;
1706 -program-transform-name=* | --program-transform-name=* \
1707 | --program-transform-nam=* | --program-transform-na=* \
1708 | --program-transform-n=* | --program-transform-=* \
1709 | --program-transform=* | --program-transfor=* \
1710 | --program-transfo=* | --program-transf=* \
1711 | --program-trans=* | --program-tran=* \
1712 | --progr-tra=* | --program-tr=* | --program-t=*)
1713 program_transform_name=$ac_optarg ;;
1715 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1716 ac_prev=pdfdir ;;
1717 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1718 pdfdir=$ac_optarg ;;
1720 -psdir | --psdir | --psdi | --psd | --ps)
1721 ac_prev=psdir ;;
1722 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1723 psdir=$ac_optarg ;;
1725 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1726 | -silent | --silent | --silen | --sile | --sil)
1727 silent=yes ;;
1729 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1730 ac_prev=sbindir ;;
1731 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1732 | --sbi=* | --sb=*)
1733 sbindir=$ac_optarg ;;
1735 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1736 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1737 | --sharedst | --shareds | --shared | --share | --shar \
1738 | --sha | --sh)
1739 ac_prev=sharedstatedir ;;
1740 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1741 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1742 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1743 | --sha=* | --sh=*)
1744 sharedstatedir=$ac_optarg ;;
1746 -site | --site | --sit)
1747 ac_prev=site ;;
1748 -site=* | --site=* | --sit=*)
1749 site=$ac_optarg ;;
1751 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1752 ac_prev=srcdir ;;
1753 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1754 srcdir=$ac_optarg ;;
1756 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1757 | --syscon | --sysco | --sysc | --sys | --sy)
1758 ac_prev=sysconfdir ;;
1759 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1760 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1761 sysconfdir=$ac_optarg ;;
1763 -target | --target | --targe | --targ | --tar | --ta | --t)
1764 ac_prev=target_alias ;;
1765 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1766 target_alias=$ac_optarg ;;
1768 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1769 verbose=yes ;;
1771 -version | --version | --versio | --versi | --vers | -V)
1772 ac_init_version=: ;;
1774 -with-* | --with-*)
1775 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1776 # Reject names that are not valid shell variable names.
1777 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1778 as_fn_error $? "invalid package name: $ac_useropt"
1779 ac_useropt_orig=$ac_useropt
1780 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1781 case $ac_user_opts in
1783 "with_$ac_useropt"
1784 "*) ;;
1785 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1786 ac_unrecognized_sep=', ';;
1787 esac
1788 eval with_$ac_useropt=\$ac_optarg ;;
1790 -without-* | --without-*)
1791 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1792 # Reject names that are not valid shell variable names.
1793 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1794 as_fn_error $? "invalid package name: $ac_useropt"
1795 ac_useropt_orig=$ac_useropt
1796 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1797 case $ac_user_opts in
1799 "with_$ac_useropt"
1800 "*) ;;
1801 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1802 ac_unrecognized_sep=', ';;
1803 esac
1804 eval with_$ac_useropt=no ;;
1806 --x)
1807 # Obsolete; use --with-x.
1808 with_x=yes ;;
1810 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1811 | --x-incl | --x-inc | --x-in | --x-i)
1812 ac_prev=x_includes ;;
1813 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1814 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1815 x_includes=$ac_optarg ;;
1817 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1818 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1819 ac_prev=x_libraries ;;
1820 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1821 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1822 x_libraries=$ac_optarg ;;
1824 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1825 Try \`$0 --help' for more information"
1828 *=*)
1829 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1830 # Reject names that are not valid shell variable names.
1831 case $ac_envvar in #(
1832 '' | [0-9]* | *[!_$as_cr_alnum]* )
1833 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1834 esac
1835 eval $ac_envvar=\$ac_optarg
1836 export $ac_envvar ;;
1839 # FIXME: should be removed in autoconf 3.0.
1840 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1841 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1842 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1843 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1846 esac
1847 done
1849 if test -n "$ac_prev"; then
1850 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1851 as_fn_error $? "missing argument to $ac_option"
1854 if test -n "$ac_unrecognized_opts"; then
1855 case $enable_option_checking in
1856 no) ;;
1857 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1858 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1859 esac
1862 # Check all directory arguments for consistency.
1863 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1864 datadir sysconfdir sharedstatedir localstatedir includedir \
1865 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1866 libdir localedir mandir
1868 eval ac_val=\$$ac_var
1869 # Remove trailing slashes.
1870 case $ac_val in
1871 */ )
1872 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1873 eval $ac_var=\$ac_val;;
1874 esac
1875 # Be sure to have absolute directory names.
1876 case $ac_val in
1877 [\\/$]* | ?:[\\/]* ) continue;;
1878 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1879 esac
1880 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1881 done
1883 # There might be people who depend on the old broken behavior: `$host'
1884 # used to hold the argument of --host etc.
1885 # FIXME: To remove some day.
1886 build=$build_alias
1887 host=$host_alias
1888 target=$target_alias
1890 # FIXME: To remove some day.
1891 if test "x$host_alias" != x; then
1892 if test "x$build_alias" = x; then
1893 cross_compiling=maybe
1894 elif test "x$build_alias" != "x$host_alias"; then
1895 cross_compiling=yes
1899 ac_tool_prefix=
1900 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1902 test "$silent" = yes && exec 6>/dev/null
1905 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1906 ac_ls_di=`ls -di .` &&
1907 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1908 as_fn_error $? "working directory cannot be determined"
1909 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1910 as_fn_error $? "pwd does not report name of working directory"
1913 # Find the source files, if location was not specified.
1914 if test -z "$srcdir"; then
1915 ac_srcdir_defaulted=yes
1916 # Try the directory containing this script, then the parent directory.
1917 ac_confdir=`$as_dirname -- "$as_myself" ||
1918 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1919 X"$as_myself" : 'X\(//\)[^/]' \| \
1920 X"$as_myself" : 'X\(//\)$' \| \
1921 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1922 $as_echo X"$as_myself" |
1923 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1924 s//\1/
1927 /^X\(\/\/\)[^/].*/{
1928 s//\1/
1931 /^X\(\/\/\)$/{
1932 s//\1/
1935 /^X\(\/\).*/{
1936 s//\1/
1939 s/.*/./; q'`
1940 srcdir=$ac_confdir
1941 if test ! -r "$srcdir/$ac_unique_file"; then
1942 srcdir=..
1944 else
1945 ac_srcdir_defaulted=no
1947 if test ! -r "$srcdir/$ac_unique_file"; then
1948 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1949 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1951 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1952 ac_abs_confdir=`(
1953 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1954 pwd)`
1955 # When building in place, set srcdir=.
1956 if test "$ac_abs_confdir" = "$ac_pwd"; then
1957 srcdir=.
1959 # Remove unnecessary trailing slashes from srcdir.
1960 # Double slashes in file names in object file debugging info
1961 # mess up M-x gdb in Emacs.
1962 case $srcdir in
1963 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1964 esac
1965 for ac_var in $ac_precious_vars; do
1966 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1967 eval ac_env_${ac_var}_value=\$${ac_var}
1968 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1969 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1970 done
1973 # Report the --help message.
1975 if test "$ac_init_help" = "long"; then
1976 # Omit some internal or obsolete options to make the list less imposing.
1977 # This message is too long to be a string in the A/UX 3.1 sh.
1978 cat <<_ACEOF
1979 \`configure' configures Wine 1.7.20 to adapt to many kinds of systems.
1981 Usage: $0 [OPTION]... [VAR=VALUE]...
1983 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1984 VAR=VALUE. See below for descriptions of some of the useful variables.
1986 Defaults for the options are specified in brackets.
1988 Configuration:
1989 -h, --help display this help and exit
1990 --help=short display options specific to this package
1991 --help=recursive display the short help of all the included packages
1992 -V, --version display version information and exit
1993 -q, --quiet, --silent do not print \`checking ...' messages
1994 --cache-file=FILE cache test results in FILE [disabled]
1995 -C, --config-cache alias for \`--cache-file=config.cache'
1996 -n, --no-create do not create output files
1997 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1999 Installation directories:
2000 --prefix=PREFIX install architecture-independent files in PREFIX
2001 [$ac_default_prefix]
2002 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2003 [PREFIX]
2005 By default, \`make install' will install all the files in
2006 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2007 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2008 for instance \`--prefix=\$HOME'.
2010 For better control, use the options below.
2012 Fine tuning of the installation directories:
2013 --bindir=DIR user executables [EPREFIX/bin]
2014 --sbindir=DIR system admin executables [EPREFIX/sbin]
2015 --libexecdir=DIR program executables [EPREFIX/libexec]
2016 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2017 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2018 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2019 --libdir=DIR object code libraries [EPREFIX/lib]
2020 --includedir=DIR C header files [PREFIX/include]
2021 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2022 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2023 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2024 --infodir=DIR info documentation [DATAROOTDIR/info]
2025 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2026 --mandir=DIR man documentation [DATAROOTDIR/man]
2027 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2028 --htmldir=DIR html documentation [DOCDIR]
2029 --dvidir=DIR dvi documentation [DOCDIR]
2030 --pdfdir=DIR pdf documentation [DOCDIR]
2031 --psdir=DIR ps documentation [DOCDIR]
2032 _ACEOF
2034 cat <<\_ACEOF
2036 X features:
2037 --x-includes=DIR X include files are in DIR
2038 --x-libraries=DIR X library files are in DIR
2040 System types:
2041 --build=BUILD configure for building on BUILD [guessed]
2042 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2043 _ACEOF
2046 if test -n "$ac_init_help"; then
2047 case $ac_init_help in
2048 short | recursive ) echo "Configuration of Wine 1.7.20:";;
2049 esac
2050 cat <<\_ACEOF
2052 Optional Features:
2053 --disable-option-checking ignore unrecognized --enable/--with options
2054 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2055 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2056 --disable-win16 do not include Win16 support
2057 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2058 binaries)
2059 --disable-tests do not build the regression tests
2060 --enable-maintainer-mode
2061 enable maintainer-specific build rules
2062 --disable-largefile omit support for large files
2064 Optional Packages:
2065 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2066 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2067 --without-alsa do not use the Alsa sound support
2068 --without-capi do not use CAPI (ISDN support)
2069 --without-cms do not use CMS (color management support)
2070 --without-coreaudio do not use the CoreAudio sound support
2071 --without-cups do not use CUPS
2072 --without-curses do not use (n)curses
2073 --without-dbus do not use DBus (dynamic device support)
2074 --without-fontconfig do not use fontconfig
2075 --without-freetype do not use the FreeType library
2076 --without-gettext do not use gettext
2077 --with-gettextpo use the GetTextPO library to rebuild po files
2078 --without-gphoto do not use gphoto (Digital Camera support)
2079 --without-glu do not use the GLU library
2080 --without-gnutls do not use GnuTLS (schannel support)
2081 --without-gsm do not use libgsm (GSM 06.10 codec support)
2082 --without-gstreamer do not use GStreamer (codecs support)
2083 --without-hal do not use HAL (dynamic device support)
2084 --without-jpeg do not use JPEG
2085 --without-ldap do not use LDAP
2086 --without-mpg123 do not use the mpg123 library
2087 --without-netapi do not use the Samba NetAPI library
2088 --without-openal do not use OpenAL
2089 --without-opencl do not use OpenCL
2090 --without-opengl do not use OpenGL
2091 --without-osmesa do not use the OSMesa library
2092 --without-oss do not use the OSS sound support
2093 --without-png do not use PNG
2094 --without-pthread do not use the pthread library
2095 --without-sane do not use SANE (scanner support)
2096 --without-tiff do not use TIFF
2097 --without-v4l do not use v4l1 (v4l support)
2098 --without-xcomposite do not use the Xcomposite extension
2099 --without-xcursor do not use the Xcursor extension
2100 --without-xinerama do not use Xinerama (multi-monitor support)
2101 --without-xinput do not use the Xinput extension
2102 --without-xinput2 do not use the Xinput 2 extension
2103 --without-xml do not use XML
2104 --without-xrandr do not use Xrandr (resolution changes)
2105 --without-xrender do not use the Xrender extension
2106 --without-xshape do not use the Xshape extension
2107 --without-xshm do not use XShm (shared memory extension)
2108 --without-xslt do not use XSLT
2109 --without-xxf86vm do not use XFree video mode extension
2110 --without-zlib do not use Zlib (data compression)
2111 --with-wine-tools=DIR use Wine tools from directory DIR
2112 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2113 --with-x use the X Window System
2115 Some influential environment variables:
2116 CC C compiler command
2117 CFLAGS C compiler flags
2118 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2119 nonstandard directory <lib dir>
2120 LIBS libraries to pass to the linker, e.g. -l<library>
2121 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2122 you have headers in a nonstandard directory <include dir>
2123 CXX C++ compiler command
2124 CXXFLAGS C++ compiler flags
2125 CPP C preprocessor
2126 XMKMF Path to xmkmf, Makefile generator for X Window System
2127 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2128 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2129 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2130 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2131 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2132 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2133 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2134 HAL_LIBS Linker flags for hal, overriding pkg-config
2135 GNUTLS_CFLAGS
2136 C compiler flags for gnutls, overriding pkg-config
2137 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2138 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2139 SANE_LIBS Linker flags for libsane, overriding pkg-config
2140 GPHOTO2_CFLAGS
2141 C compiler flags for libgphoto2, overriding pkg-config
2142 GPHOTO2_LIBS
2143 Linker flags for libgphoto2, overriding pkg-config
2144 GPHOTO2_PORT_CFLAGS
2145 C compiler flags for libgphoto2_port, overriding pkg-config
2146 GPHOTO2_PORT_LIBS
2147 Linker flags for libgphoto2_port, overriding pkg-config
2148 LCMS2_CFLAGS
2149 C compiler flags for lcms2, overriding pkg-config
2150 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2151 FREETYPE_CFLAGS
2152 C compiler flags for freetype2, overriding pkg-config
2153 FREETYPE_LIBS
2154 Linker flags for freetype2, overriding pkg-config
2155 GSTREAMER_CFLAGS
2156 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2157 GSTREAMER_LIBS
2158 Linker flags for gstreamer-app-0.10, overriding pkg-config
2159 CAPI20_CFLAGS
2160 C compiler flags for capi20, overriding pkg-config
2161 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2162 FONTCONFIG_CFLAGS
2163 C compiler flags for fontconfig, overriding pkg-config
2164 FONTCONFIG_LIBS
2165 Linker flags for fontconfig, overriding pkg-config
2166 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2167 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2168 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2169 PNG_LIBS Linker flags for libpng, overriding pkg-config
2170 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2171 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2172 MPG123_CFLAGS
2173 C compiler flags for libmpg123, overriding pkg-config
2174 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2176 Use these variables to override the choices made by `configure' or to help
2177 it to find libraries and programs with nonstandard names/locations.
2179 Report bugs to <wine-devel@winehq.org>.
2180 Wine home page: <http://www.winehq.org>.
2181 _ACEOF
2182 ac_status=$?
2185 if test "$ac_init_help" = "recursive"; then
2186 # If there are subdirs, report their specific --help.
2187 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2188 test -d "$ac_dir" ||
2189 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2190 continue
2191 ac_builddir=.
2193 case "$ac_dir" in
2194 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2196 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2197 # A ".." for each directory in $ac_dir_suffix.
2198 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2199 case $ac_top_builddir_sub in
2200 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2201 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2202 esac ;;
2203 esac
2204 ac_abs_top_builddir=$ac_pwd
2205 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2206 # for backward compatibility:
2207 ac_top_builddir=$ac_top_build_prefix
2209 case $srcdir in
2210 .) # We are building in place.
2211 ac_srcdir=.
2212 ac_top_srcdir=$ac_top_builddir_sub
2213 ac_abs_top_srcdir=$ac_pwd ;;
2214 [\\/]* | ?:[\\/]* ) # Absolute name.
2215 ac_srcdir=$srcdir$ac_dir_suffix;
2216 ac_top_srcdir=$srcdir
2217 ac_abs_top_srcdir=$srcdir ;;
2218 *) # Relative name.
2219 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2220 ac_top_srcdir=$ac_top_build_prefix$srcdir
2221 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2222 esac
2223 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2225 cd "$ac_dir" || { ac_status=$?; continue; }
2226 # Check for guested configure.
2227 if test -f "$ac_srcdir/configure.gnu"; then
2228 echo &&
2229 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2230 elif test -f "$ac_srcdir/configure"; then
2231 echo &&
2232 $SHELL "$ac_srcdir/configure" --help=recursive
2233 else
2234 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2235 fi || ac_status=$?
2236 cd "$ac_pwd" || { ac_status=$?; break; }
2237 done
2240 test -n "$ac_init_help" && exit $ac_status
2241 if $ac_init_version; then
2242 cat <<\_ACEOF
2243 Wine configure 1.7.20
2244 generated by GNU Autoconf 2.69
2246 Copyright (C) 2012 Free Software Foundation, Inc.
2247 This configure script is free software; the Free Software Foundation
2248 gives unlimited permission to copy, distribute and modify it.
2249 _ACEOF
2250 exit
2253 ## ------------------------ ##
2254 ## Autoconf initialization. ##
2255 ## ------------------------ ##
2257 # ac_fn_c_try_compile LINENO
2258 # --------------------------
2259 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2260 ac_fn_c_try_compile ()
2262 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2263 rm -f conftest.$ac_objext
2264 if { { ac_try="$ac_compile"
2265 case "(($ac_try" in
2266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2267 *) ac_try_echo=$ac_try;;
2268 esac
2269 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2270 $as_echo "$ac_try_echo"; } >&5
2271 (eval "$ac_compile") 2>conftest.err
2272 ac_status=$?
2273 if test -s conftest.err; then
2274 grep -v '^ *+' conftest.err >conftest.er1
2275 cat conftest.er1 >&5
2276 mv -f conftest.er1 conftest.err
2278 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2279 test $ac_status = 0; } && {
2280 test -z "$ac_c_werror_flag" ||
2281 test ! -s conftest.err
2282 } && test -s conftest.$ac_objext; then :
2283 ac_retval=0
2284 else
2285 $as_echo "$as_me: failed program was:" >&5
2286 sed 's/^/| /' conftest.$ac_ext >&5
2288 ac_retval=1
2290 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2291 as_fn_set_status $ac_retval
2293 } # ac_fn_c_try_compile
2295 # ac_fn_cxx_try_compile LINENO
2296 # ----------------------------
2297 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2298 ac_fn_cxx_try_compile ()
2300 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2301 rm -f conftest.$ac_objext
2302 if { { ac_try="$ac_compile"
2303 case "(($ac_try" in
2304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2305 *) ac_try_echo=$ac_try;;
2306 esac
2307 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2308 $as_echo "$ac_try_echo"; } >&5
2309 (eval "$ac_compile") 2>conftest.err
2310 ac_status=$?
2311 if test -s conftest.err; then
2312 grep -v '^ *+' conftest.err >conftest.er1
2313 cat conftest.er1 >&5
2314 mv -f conftest.er1 conftest.err
2316 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2317 test $ac_status = 0; } && {
2318 test -z "$ac_cxx_werror_flag" ||
2319 test ! -s conftest.err
2320 } && test -s conftest.$ac_objext; then :
2321 ac_retval=0
2322 else
2323 $as_echo "$as_me: failed program was:" >&5
2324 sed 's/^/| /' conftest.$ac_ext >&5
2326 ac_retval=1
2328 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2329 as_fn_set_status $ac_retval
2331 } # ac_fn_cxx_try_compile
2333 # ac_fn_c_try_link LINENO
2334 # -----------------------
2335 # Try to link conftest.$ac_ext, and return whether this succeeded.
2336 ac_fn_c_try_link ()
2338 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2339 rm -f conftest.$ac_objext conftest$ac_exeext
2340 if { { ac_try="$ac_link"
2341 case "(($ac_try" in
2342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2343 *) ac_try_echo=$ac_try;;
2344 esac
2345 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2346 $as_echo "$ac_try_echo"; } >&5
2347 (eval "$ac_link") 2>conftest.err
2348 ac_status=$?
2349 if test -s conftest.err; then
2350 grep -v '^ *+' conftest.err >conftest.er1
2351 cat conftest.er1 >&5
2352 mv -f conftest.er1 conftest.err
2354 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2355 test $ac_status = 0; } && {
2356 test -z "$ac_c_werror_flag" ||
2357 test ! -s conftest.err
2358 } && test -s conftest$ac_exeext && {
2359 test "$cross_compiling" = yes ||
2360 test -x conftest$ac_exeext
2361 }; then :
2362 ac_retval=0
2363 else
2364 $as_echo "$as_me: failed program was:" >&5
2365 sed 's/^/| /' conftest.$ac_ext >&5
2367 ac_retval=1
2369 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2370 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2371 # interfere with the next link command; also delete a directory that is
2372 # left behind by Apple's compiler. We do this before executing the actions.
2373 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2374 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2375 as_fn_set_status $ac_retval
2377 } # ac_fn_c_try_link
2379 # ac_fn_c_try_cpp LINENO
2380 # ----------------------
2381 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2382 ac_fn_c_try_cpp ()
2384 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2385 if { { ac_try="$ac_cpp conftest.$ac_ext"
2386 case "(($ac_try" in
2387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2388 *) ac_try_echo=$ac_try;;
2389 esac
2390 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2391 $as_echo "$ac_try_echo"; } >&5
2392 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2393 ac_status=$?
2394 if test -s conftest.err; then
2395 grep -v '^ *+' conftest.err >conftest.er1
2396 cat conftest.er1 >&5
2397 mv -f conftest.er1 conftest.err
2399 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2400 test $ac_status = 0; } > conftest.i && {
2401 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2402 test ! -s conftest.err
2403 }; then :
2404 ac_retval=0
2405 else
2406 $as_echo "$as_me: failed program was:" >&5
2407 sed 's/^/| /' conftest.$ac_ext >&5
2409 ac_retval=1
2411 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2412 as_fn_set_status $ac_retval
2414 } # ac_fn_c_try_cpp
2416 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2417 # -------------------------------------------------------
2418 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2419 # the include files in INCLUDES and setting the cache variable VAR
2420 # accordingly.
2421 ac_fn_c_check_header_mongrel ()
2423 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2424 if eval \${$3+:} false; then :
2425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2426 $as_echo_n "checking for $2... " >&6; }
2427 if eval \${$3+:} false; then :
2428 $as_echo_n "(cached) " >&6
2430 eval ac_res=\$$3
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2432 $as_echo "$ac_res" >&6; }
2433 else
2434 # Is the header compilable?
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2436 $as_echo_n "checking $2 usability... " >&6; }
2437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2438 /* end confdefs.h. */
2440 #include <$2>
2441 _ACEOF
2442 if ac_fn_c_try_compile "$LINENO"; then :
2443 ac_header_compiler=yes
2444 else
2445 ac_header_compiler=no
2447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2449 $as_echo "$ac_header_compiler" >&6; }
2451 # Is the header present?
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2453 $as_echo_n "checking $2 presence... " >&6; }
2454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2455 /* end confdefs.h. */
2456 #include <$2>
2457 _ACEOF
2458 if ac_fn_c_try_cpp "$LINENO"; then :
2459 ac_header_preproc=yes
2460 else
2461 ac_header_preproc=no
2463 rm -f conftest.err conftest.i conftest.$ac_ext
2464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2465 $as_echo "$ac_header_preproc" >&6; }
2467 # So? What about this header?
2468 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2469 yes:no: )
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2471 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2473 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2475 no:yes:* )
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2477 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2479 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2481 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2482 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2483 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2484 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2485 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2486 ( $as_echo "## ------------------------------------ ##
2487 ## Report this to wine-devel@winehq.org ##
2488 ## ------------------------------------ ##"
2489 ) | sed "s/^/$as_me: WARNING: /" >&2
2491 esac
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2493 $as_echo_n "checking for $2... " >&6; }
2494 if eval \${$3+:} false; then :
2495 $as_echo_n "(cached) " >&6
2496 else
2497 eval "$3=\$ac_header_compiler"
2499 eval ac_res=\$$3
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2501 $as_echo "$ac_res" >&6; }
2503 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2505 } # ac_fn_c_check_header_mongrel
2507 # ac_fn_c_try_run LINENO
2508 # ----------------------
2509 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2510 # that executables *can* be run.
2511 ac_fn_c_try_run ()
2513 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2514 if { { ac_try="$ac_link"
2515 case "(($ac_try" in
2516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2517 *) ac_try_echo=$ac_try;;
2518 esac
2519 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2520 $as_echo "$ac_try_echo"; } >&5
2521 (eval "$ac_link") 2>&5
2522 ac_status=$?
2523 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2524 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2525 { { case "(($ac_try" in
2526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2527 *) ac_try_echo=$ac_try;;
2528 esac
2529 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2530 $as_echo "$ac_try_echo"; } >&5
2531 (eval "$ac_try") 2>&5
2532 ac_status=$?
2533 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2534 test $ac_status = 0; }; }; then :
2535 ac_retval=0
2536 else
2537 $as_echo "$as_me: program exited with status $ac_status" >&5
2538 $as_echo "$as_me: failed program was:" >&5
2539 sed 's/^/| /' conftest.$ac_ext >&5
2541 ac_retval=$ac_status
2543 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2544 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2545 as_fn_set_status $ac_retval
2547 } # ac_fn_c_try_run
2549 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2550 # -------------------------------------------------------
2551 # Tests whether HEADER exists and can be compiled using the include files in
2552 # INCLUDES, setting the cache variable VAR accordingly.
2553 ac_fn_c_check_header_compile ()
2555 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2557 $as_echo_n "checking for $2... " >&6; }
2558 if eval \${$3+:} false; then :
2559 $as_echo_n "(cached) " >&6
2560 else
2561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2562 /* end confdefs.h. */
2564 #include <$2>
2565 _ACEOF
2566 if ac_fn_c_try_compile "$LINENO"; then :
2567 eval "$3=yes"
2568 else
2569 eval "$3=no"
2571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2573 eval ac_res=\$$3
2574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2575 $as_echo "$ac_res" >&6; }
2576 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2578 } # ac_fn_c_check_header_compile
2580 # ac_fn_c_check_func LINENO FUNC VAR
2581 # ----------------------------------
2582 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2583 ac_fn_c_check_func ()
2585 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2587 $as_echo_n "checking for $2... " >&6; }
2588 if eval \${$3+:} false; then :
2589 $as_echo_n "(cached) " >&6
2590 else
2591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2592 /* end confdefs.h. */
2593 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2594 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2595 #define $2 innocuous_$2
2597 /* System header to define __stub macros and hopefully few prototypes,
2598 which can conflict with char $2 (); below.
2599 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2600 <limits.h> exists even on freestanding compilers. */
2602 #ifdef __STDC__
2603 # include <limits.h>
2604 #else
2605 # include <assert.h>
2606 #endif
2608 #undef $2
2610 /* Override any GCC internal prototype to avoid an error.
2611 Use char because int might match the return type of a GCC
2612 builtin and then its argument prototype would still apply. */
2613 #ifdef __cplusplus
2614 extern "C"
2615 #endif
2616 char $2 ();
2617 /* The GNU C library defines this for functions which it implements
2618 to always fail with ENOSYS. Some functions are actually named
2619 something starting with __ and the normal name is an alias. */
2620 #if defined __stub_$2 || defined __stub___$2
2621 choke me
2622 #endif
2625 main ()
2627 return $2 ();
2629 return 0;
2631 _ACEOF
2632 if ac_fn_c_try_link "$LINENO"; then :
2633 eval "$3=yes"
2634 else
2635 eval "$3=no"
2637 rm -f core conftest.err conftest.$ac_objext \
2638 conftest$ac_exeext conftest.$ac_ext
2640 eval ac_res=\$$3
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2642 $as_echo "$ac_res" >&6; }
2643 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2645 } # ac_fn_c_check_func
2647 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2648 # ----------------------------------------------------
2649 # Tries to find if the field MEMBER exists in type AGGR, after including
2650 # INCLUDES, setting cache variable VAR accordingly.
2651 ac_fn_c_check_member ()
2653 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2655 $as_echo_n "checking for $2.$3... " >&6; }
2656 if eval \${$4+:} false; then :
2657 $as_echo_n "(cached) " >&6
2658 else
2659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2660 /* end confdefs.h. */
2663 main ()
2665 static $2 ac_aggr;
2666 if (ac_aggr.$3)
2667 return 0;
2669 return 0;
2671 _ACEOF
2672 if ac_fn_c_try_compile "$LINENO"; then :
2673 eval "$4=yes"
2674 else
2675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2676 /* end confdefs.h. */
2679 main ()
2681 static $2 ac_aggr;
2682 if (sizeof ac_aggr.$3)
2683 return 0;
2685 return 0;
2687 _ACEOF
2688 if ac_fn_c_try_compile "$LINENO"; then :
2689 eval "$4=yes"
2690 else
2691 eval "$4=no"
2693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2697 eval ac_res=\$$4
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2699 $as_echo "$ac_res" >&6; }
2700 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2702 } # ac_fn_c_check_member
2704 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2705 # -------------------------------------------
2706 # Tests whether TYPE exists after having included INCLUDES, setting cache
2707 # variable VAR accordingly.
2708 ac_fn_c_check_type ()
2710 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2712 $as_echo_n "checking for $2... " >&6; }
2713 if eval \${$3+:} false; then :
2714 $as_echo_n "(cached) " >&6
2715 else
2716 eval "$3=no"
2717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2718 /* end confdefs.h. */
2721 main ()
2723 if (sizeof ($2))
2724 return 0;
2726 return 0;
2728 _ACEOF
2729 if ac_fn_c_try_compile "$LINENO"; then :
2730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2731 /* end confdefs.h. */
2734 main ()
2736 if (sizeof (($2)))
2737 return 0;
2739 return 0;
2741 _ACEOF
2742 if ac_fn_c_try_compile "$LINENO"; then :
2744 else
2745 eval "$3=yes"
2747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2751 eval ac_res=\$$3
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2753 $as_echo "$ac_res" >&6; }
2754 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2756 } # ac_fn_c_check_type
2757 cat >config.log <<_ACEOF
2758 This file contains any messages produced by compilers while
2759 running configure, to aid debugging if configure makes a mistake.
2761 It was created by Wine $as_me 1.7.20, which was
2762 generated by GNU Autoconf 2.69. Invocation command line was
2764 $ $0 $@
2766 _ACEOF
2767 exec 5>>config.log
2769 cat <<_ASUNAME
2770 ## --------- ##
2771 ## Platform. ##
2772 ## --------- ##
2774 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2775 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2776 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2777 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2778 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2780 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2781 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2783 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2784 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2785 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2786 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2787 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2788 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2789 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2791 _ASUNAME
2793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2794 for as_dir in $PATH
2796 IFS=$as_save_IFS
2797 test -z "$as_dir" && as_dir=.
2798 $as_echo "PATH: $as_dir"
2799 done
2800 IFS=$as_save_IFS
2802 } >&5
2804 cat >&5 <<_ACEOF
2807 ## ----------- ##
2808 ## Core tests. ##
2809 ## ----------- ##
2811 _ACEOF
2814 # Keep a trace of the command line.
2815 # Strip out --no-create and --no-recursion so they do not pile up.
2816 # Strip out --silent because we don't want to record it for future runs.
2817 # Also quote any args containing shell meta-characters.
2818 # Make two passes to allow for proper duplicate-argument suppression.
2819 ac_configure_args=
2820 ac_configure_args0=
2821 ac_configure_args1=
2822 ac_must_keep_next=false
2823 for ac_pass in 1 2
2825 for ac_arg
2827 case $ac_arg in
2828 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2829 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2830 | -silent | --silent | --silen | --sile | --sil)
2831 continue ;;
2832 *\'*)
2833 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2834 esac
2835 case $ac_pass in
2836 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2838 as_fn_append ac_configure_args1 " '$ac_arg'"
2839 if test $ac_must_keep_next = true; then
2840 ac_must_keep_next=false # Got value, back to normal.
2841 else
2842 case $ac_arg in
2843 *=* | --config-cache | -C | -disable-* | --disable-* \
2844 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2845 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2846 | -with-* | --with-* | -without-* | --without-* | --x)
2847 case "$ac_configure_args0 " in
2848 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2849 esac
2851 -* ) ac_must_keep_next=true ;;
2852 esac
2854 as_fn_append ac_configure_args " '$ac_arg'"
2856 esac
2857 done
2858 done
2859 { ac_configure_args0=; unset ac_configure_args0;}
2860 { ac_configure_args1=; unset ac_configure_args1;}
2862 # When interrupted or exit'd, cleanup temporary files, and complete
2863 # config.log. We remove comments because anyway the quotes in there
2864 # would cause problems or look ugly.
2865 # WARNING: Use '\'' to represent an apostrophe within the trap.
2866 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2867 trap 'exit_status=$?
2868 # Save into config.log some information that might help in debugging.
2870 echo
2872 $as_echo "## ---------------- ##
2873 ## Cache variables. ##
2874 ## ---------------- ##"
2875 echo
2876 # The following way of writing the cache mishandles newlines in values,
2878 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2879 eval ac_val=\$$ac_var
2880 case $ac_val in #(
2881 *${as_nl}*)
2882 case $ac_var in #(
2883 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2884 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2885 esac
2886 case $ac_var in #(
2887 _ | IFS | as_nl) ;; #(
2888 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2889 *) { eval $ac_var=; unset $ac_var;} ;;
2890 esac ;;
2891 esac
2892 done
2893 (set) 2>&1 |
2894 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2895 *${as_nl}ac_space=\ *)
2896 sed -n \
2897 "s/'\''/'\''\\\\'\'''\''/g;
2898 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2899 ;; #(
2901 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2903 esac |
2904 sort
2906 echo
2908 $as_echo "## ----------------- ##
2909 ## Output variables. ##
2910 ## ----------------- ##"
2911 echo
2912 for ac_var in $ac_subst_vars
2914 eval ac_val=\$$ac_var
2915 case $ac_val in
2916 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2917 esac
2918 $as_echo "$ac_var='\''$ac_val'\''"
2919 done | sort
2920 echo
2922 if test -n "$ac_subst_files"; then
2923 $as_echo "## ------------------- ##
2924 ## File substitutions. ##
2925 ## ------------------- ##"
2926 echo
2927 for ac_var in $ac_subst_files
2929 eval ac_val=\$$ac_var
2930 case $ac_val in
2931 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2932 esac
2933 $as_echo "$ac_var='\''$ac_val'\''"
2934 done | sort
2935 echo
2938 if test -s confdefs.h; then
2939 $as_echo "## ----------- ##
2940 ## confdefs.h. ##
2941 ## ----------- ##"
2942 echo
2943 cat confdefs.h
2944 echo
2946 test "$ac_signal" != 0 &&
2947 $as_echo "$as_me: caught signal $ac_signal"
2948 $as_echo "$as_me: exit $exit_status"
2949 } >&5
2950 rm -f core *.core core.conftest.* &&
2951 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2952 exit $exit_status
2954 for ac_signal in 1 2 13 15; do
2955 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2956 done
2957 ac_signal=0
2959 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2960 rm -f -r conftest* confdefs.h
2962 $as_echo "/* confdefs.h */" > confdefs.h
2964 # Predefined preprocessor variables.
2966 cat >>confdefs.h <<_ACEOF
2967 #define PACKAGE_NAME "$PACKAGE_NAME"
2968 _ACEOF
2970 cat >>confdefs.h <<_ACEOF
2971 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2972 _ACEOF
2974 cat >>confdefs.h <<_ACEOF
2975 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2976 _ACEOF
2978 cat >>confdefs.h <<_ACEOF
2979 #define PACKAGE_STRING "$PACKAGE_STRING"
2980 _ACEOF
2982 cat >>confdefs.h <<_ACEOF
2983 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2984 _ACEOF
2986 cat >>confdefs.h <<_ACEOF
2987 #define PACKAGE_URL "$PACKAGE_URL"
2988 _ACEOF
2991 # Let the site file select an alternate cache file if it wants to.
2992 # Prefer an explicitly selected file to automatically selected ones.
2993 ac_site_file1=NONE
2994 ac_site_file2=NONE
2995 if test -n "$CONFIG_SITE"; then
2996 # We do not want a PATH search for config.site.
2997 case $CONFIG_SITE in #((
2998 -*) ac_site_file1=./$CONFIG_SITE;;
2999 */*) ac_site_file1=$CONFIG_SITE;;
3000 *) ac_site_file1=./$CONFIG_SITE;;
3001 esac
3002 elif test "x$prefix" != xNONE; then
3003 ac_site_file1=$prefix/share/config.site
3004 ac_site_file2=$prefix/etc/config.site
3005 else
3006 ac_site_file1=$ac_default_prefix/share/config.site
3007 ac_site_file2=$ac_default_prefix/etc/config.site
3009 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3011 test "x$ac_site_file" = xNONE && continue
3012 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3014 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3015 sed 's/^/| /' "$ac_site_file" >&5
3016 . "$ac_site_file" \
3017 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3018 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3019 as_fn_error $? "failed to load site script $ac_site_file
3020 See \`config.log' for more details" "$LINENO" 5; }
3022 done
3024 if test -r "$cache_file"; then
3025 # Some versions of bash will fail to source /dev/null (special files
3026 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3027 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3029 $as_echo "$as_me: loading cache $cache_file" >&6;}
3030 case $cache_file in
3031 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3032 *) . "./$cache_file";;
3033 esac
3035 else
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3037 $as_echo "$as_me: creating cache $cache_file" >&6;}
3038 >$cache_file
3041 # Check that the precious variables saved in the cache have kept the same
3042 # value.
3043 ac_cache_corrupted=false
3044 for ac_var in $ac_precious_vars; do
3045 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3046 eval ac_new_set=\$ac_env_${ac_var}_set
3047 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3048 eval ac_new_val=\$ac_env_${ac_var}_value
3049 case $ac_old_set,$ac_new_set in
3050 set,)
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3052 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3053 ac_cache_corrupted=: ;;
3054 ,set)
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3056 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3057 ac_cache_corrupted=: ;;
3058 ,);;
3060 if test "x$ac_old_val" != "x$ac_new_val"; then
3061 # differences in whitespace do not lead to failure.
3062 ac_old_val_w=`echo x $ac_old_val`
3063 ac_new_val_w=`echo x $ac_new_val`
3064 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3066 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3067 ac_cache_corrupted=:
3068 else
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3070 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3071 eval $ac_var=\$ac_old_val
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3074 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3076 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3077 fi;;
3078 esac
3079 # Pass precious variables to config.status.
3080 if test "$ac_new_set" = set; then
3081 case $ac_new_val in
3082 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3083 *) ac_arg=$ac_var=$ac_new_val ;;
3084 esac
3085 case " $ac_configure_args " in
3086 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3087 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3088 esac
3090 done
3091 if $ac_cache_corrupted; then
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3093 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3095 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3096 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3098 ## -------------------- ##
3099 ## Main body of script. ##
3100 ## -------------------- ##
3102 ac_ext=c
3103 ac_cpp='$CPP $CPPFLAGS'
3104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3110 ac_config_headers="$ac_config_headers include/config.h"
3112 ac_aux_dir=
3113 for ac_dir in tools "$srcdir"/tools; do
3114 if test -f "$ac_dir/install-sh"; then
3115 ac_aux_dir=$ac_dir
3116 ac_install_sh="$ac_aux_dir/install-sh -c"
3117 break
3118 elif test -f "$ac_dir/install.sh"; then
3119 ac_aux_dir=$ac_dir
3120 ac_install_sh="$ac_aux_dir/install.sh -c"
3121 break
3122 elif test -f "$ac_dir/shtool"; then
3123 ac_aux_dir=$ac_dir
3124 ac_install_sh="$ac_aux_dir/shtool install -c"
3125 break
3127 done
3128 if test -z "$ac_aux_dir"; then
3129 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3132 # These three variables are undocumented and unsupported,
3133 # and are intended to be withdrawn in a future Autoconf release.
3134 # They can cause serious problems if a builder's source tree is in a directory
3135 # whose full name contains unusual characters.
3136 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3137 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3138 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3142 libwine_version="1.0"
3146 # Check whether --enable-win16 was given.
3147 if test "${enable_win16+set}" = set; then :
3148 enableval=$enable_win16;
3151 # Check whether --enable-win64 was given.
3152 if test "${enable_win64+set}" = set; then :
3153 enableval=$enable_win64;
3156 # Check whether --enable-tests was given.
3157 if test "${enable_tests+set}" = set; then :
3158 enableval=$enable_tests;
3161 # Check whether --enable-maintainer-mode was given.
3162 if test "${enable_maintainer_mode+set}" = set; then :
3163 enableval=$enable_maintainer_mode;
3168 # Check whether --with-alsa was given.
3169 if test "${with_alsa+set}" = set; then :
3170 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3174 # Check whether --with-capi was given.
3175 if test "${with_capi+set}" = set; then :
3176 withval=$with_capi;
3180 # Check whether --with-cms was given.
3181 if test "${with_cms+set}" = set; then :
3182 withval=$with_cms;
3186 # Check whether --with-coreaudio was given.
3187 if test "${with_coreaudio+set}" = set; then :
3188 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3192 # Check whether --with-cups was given.
3193 if test "${with_cups+set}" = set; then :
3194 withval=$with_cups;
3198 # Check whether --with-curses was given.
3199 if test "${with_curses+set}" = set; then :
3200 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3204 # Check whether --with-dbus was given.
3205 if test "${with_dbus+set}" = set; then :
3206 withval=$with_dbus;
3210 # Check whether --with-fontconfig was given.
3211 if test "${with_fontconfig+set}" = set; then :
3212 withval=$with_fontconfig;
3216 # Check whether --with-freetype was given.
3217 if test "${with_freetype+set}" = set; then :
3218 withval=$with_freetype;
3222 # Check whether --with-gettext was given.
3223 if test "${with_gettext+set}" = set; then :
3224 withval=$with_gettext;
3228 # Check whether --with-gettextpo was given.
3229 if test "${with_gettextpo+set}" = set; then :
3230 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3234 # Check whether --with-gphoto was given.
3235 if test "${with_gphoto+set}" = set; then :
3236 withval=$with_gphoto;
3240 # Check whether --with-glu was given.
3241 if test "${with_glu+set}" = set; then :
3242 withval=$with_glu;
3246 # Check whether --with-gnutls was given.
3247 if test "${with_gnutls+set}" = set; then :
3248 withval=$with_gnutls;
3252 # Check whether --with-gsm was given.
3253 if test "${with_gsm+set}" = set; then :
3254 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3258 # Check whether --with-gstreamer was given.
3259 if test "${with_gstreamer+set}" = set; then :
3260 withval=$with_gstreamer;
3264 # Check whether --with-hal was given.
3265 if test "${with_hal+set}" = set; then :
3266 withval=$with_hal;
3270 # Check whether --with-jpeg was given.
3271 if test "${with_jpeg+set}" = set; then :
3272 withval=$with_jpeg;
3276 # Check whether --with-ldap was given.
3277 if test "${with_ldap+set}" = set; then :
3278 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3282 # Check whether --with-mpg123 was given.
3283 if test "${with_mpg123+set}" = set; then :
3284 withval=$with_mpg123;
3288 # Check whether --with-netapi was given.
3289 if test "${with_netapi+set}" = set; then :
3290 withval=$with_netapi;
3294 # Check whether --with-openal was given.
3295 if test "${with_openal+set}" = set; then :
3296 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3300 # Check whether --with-opencl was given.
3301 if test "${with_opencl+set}" = set; then :
3302 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3306 # Check whether --with-opengl was given.
3307 if test "${with_opengl+set}" = set; then :
3308 withval=$with_opengl;
3312 # Check whether --with-osmesa was given.
3313 if test "${with_osmesa+set}" = set; then :
3314 withval=$with_osmesa;
3318 # Check whether --with-oss was given.
3319 if test "${with_oss+set}" = set; then :
3320 withval=$with_oss;
3324 # Check whether --with-png was given.
3325 if test "${with_png+set}" = set; then :
3326 withval=$with_png;
3330 # Check whether --with-pthread was given.
3331 if test "${with_pthread+set}" = set; then :
3332 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3336 # Check whether --with-sane was given.
3337 if test "${with_sane+set}" = set; then :
3338 withval=$with_sane;
3342 # Check whether --with-tiff was given.
3343 if test "${with_tiff+set}" = set; then :
3344 withval=$with_tiff;
3348 # Check whether --with-v4l was given.
3349 if test "${with_v4l+set}" = set; then :
3350 withval=$with_v4l;
3354 # Check whether --with-xcomposite was given.
3355 if test "${with_xcomposite+set}" = set; then :
3356 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3360 # Check whether --with-xcursor was given.
3361 if test "${with_xcursor+set}" = set; then :
3362 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3366 # Check whether --with-xinerama was given.
3367 if test "${with_xinerama+set}" = set; then :
3368 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3372 # Check whether --with-xinput was given.
3373 if test "${with_xinput+set}" = set; then :
3374 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3378 # Check whether --with-xinput2 was given.
3379 if test "${with_xinput2+set}" = set; then :
3380 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3384 # Check whether --with-xml was given.
3385 if test "${with_xml+set}" = set; then :
3386 withval=$with_xml;
3390 # Check whether --with-xrandr was given.
3391 if test "${with_xrandr+set}" = set; then :
3392 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3396 # Check whether --with-xrender was given.
3397 if test "${with_xrender+set}" = set; then :
3398 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3402 # Check whether --with-xshape was given.
3403 if test "${with_xshape+set}" = set; then :
3404 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3408 # Check whether --with-xshm was given.
3409 if test "${with_xshm+set}" = set; then :
3410 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3414 # Check whether --with-xslt was given.
3415 if test "${with_xslt+set}" = set; then :
3416 withval=$with_xslt;
3420 # Check whether --with-xxf86vm was given.
3421 if test "${with_xxf86vm+set}" = set; then :
3422 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
3426 # Check whether --with-zlib was given.
3427 if test "${with_zlib+set}" = set; then :
3428 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3433 # Check whether --with-wine-tools was given.
3434 if test "${with_wine_tools+set}" = set; then :
3435 withval=$with_wine_tools;
3439 # Check whether --with-wine64 was given.
3440 if test "${with_wine64+set}" = set; then :
3441 withval=$with_wine64;
3445 # Make sure we can run config.sub.
3446 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3447 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3450 $as_echo_n "checking build system type... " >&6; }
3451 if ${ac_cv_build+:} false; then :
3452 $as_echo_n "(cached) " >&6
3453 else
3454 ac_build_alias=$build_alias
3455 test "x$ac_build_alias" = x &&
3456 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3457 test "x$ac_build_alias" = x &&
3458 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3459 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3460 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3464 $as_echo "$ac_cv_build" >&6; }
3465 case $ac_cv_build in
3466 *-*-*) ;;
3467 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3468 esac
3469 build=$ac_cv_build
3470 ac_save_IFS=$IFS; IFS='-'
3471 set x $ac_cv_build
3472 shift
3473 build_cpu=$1
3474 build_vendor=$2
3475 shift; shift
3476 # Remember, the first character of IFS is used to create $*,
3477 # except with old shells:
3478 build_os=$*
3479 IFS=$ac_save_IFS
3480 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3484 $as_echo_n "checking host system type... " >&6; }
3485 if ${ac_cv_host+:} false; then :
3486 $as_echo_n "(cached) " >&6
3487 else
3488 if test "x$host_alias" = x; then
3489 ac_cv_host=$ac_cv_build
3490 else
3491 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3492 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3497 $as_echo "$ac_cv_host" >&6; }
3498 case $ac_cv_host in
3499 *-*-*) ;;
3500 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3501 esac
3502 host=$ac_cv_host
3503 ac_save_IFS=$IFS; IFS='-'
3504 set x $ac_cv_host
3505 shift
3506 host_cpu=$1
3507 host_vendor=$2
3508 shift; shift
3509 # Remember, the first character of IFS is used to create $*,
3510 # except with old shells:
3511 host_os=$*
3512 IFS=$ac_save_IFS
3513 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3517 case "$srcdir" in
3518 .) ;;
3519 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3520 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3521 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3522 fi ;;
3523 esac
3526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3527 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3528 set x ${MAKE-make}
3529 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3530 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3531 $as_echo_n "(cached) " >&6
3532 else
3533 cat >conftest.make <<\_ACEOF
3534 SHELL = /bin/sh
3535 all:
3536 @echo '@@@%%%=$(MAKE)=@@@%%%'
3537 _ACEOF
3538 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3539 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3540 *@@@%%%=?*=@@@%%%*)
3541 eval ac_cv_prog_make_${ac_make}_set=yes;;
3543 eval ac_cv_prog_make_${ac_make}_set=no;;
3544 esac
3545 rm -f conftest.make
3547 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3549 $as_echo "yes" >&6; }
3550 SET_MAKE=
3551 else
3552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3553 $as_echo "no" >&6; }
3554 SET_MAKE="MAKE=${MAKE-make}"
3557 ac_ext=c
3558 ac_cpp='$CPP $CPPFLAGS'
3559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3562 if test -n "$ac_tool_prefix"; then
3563 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3564 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3566 $as_echo_n "checking for $ac_word... " >&6; }
3567 if ${ac_cv_prog_CC+:} false; then :
3568 $as_echo_n "(cached) " >&6
3569 else
3570 if test -n "$CC"; then
3571 ac_cv_prog_CC="$CC" # Let the user override the test.
3572 else
3573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3574 for as_dir in $PATH
3576 IFS=$as_save_IFS
3577 test -z "$as_dir" && as_dir=.
3578 for ac_exec_ext in '' $ac_executable_extensions; do
3579 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3580 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3582 break 2
3584 done
3585 done
3586 IFS=$as_save_IFS
3590 CC=$ac_cv_prog_CC
3591 if test -n "$CC"; then
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3593 $as_echo "$CC" >&6; }
3594 else
3595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3596 $as_echo "no" >&6; }
3601 if test -z "$ac_cv_prog_CC"; then
3602 ac_ct_CC=$CC
3603 # Extract the first word of "gcc", so it can be a program name with args.
3604 set dummy gcc; ac_word=$2
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3606 $as_echo_n "checking for $ac_word... " >&6; }
3607 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3608 $as_echo_n "(cached) " >&6
3609 else
3610 if test -n "$ac_ct_CC"; then
3611 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3612 else
3613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3614 for as_dir in $PATH
3616 IFS=$as_save_IFS
3617 test -z "$as_dir" && as_dir=.
3618 for ac_exec_ext in '' $ac_executable_extensions; do
3619 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3620 ac_cv_prog_ac_ct_CC="gcc"
3621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3622 break 2
3624 done
3625 done
3626 IFS=$as_save_IFS
3630 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3631 if test -n "$ac_ct_CC"; then
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3633 $as_echo "$ac_ct_CC" >&6; }
3634 else
3635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3636 $as_echo "no" >&6; }
3639 if test "x$ac_ct_CC" = x; then
3640 CC=""
3641 else
3642 case $cross_compiling:$ac_tool_warned in
3643 yes:)
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3645 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3646 ac_tool_warned=yes ;;
3647 esac
3648 CC=$ac_ct_CC
3650 else
3651 CC="$ac_cv_prog_CC"
3654 if test -z "$CC"; then
3655 if test -n "$ac_tool_prefix"; then
3656 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3657 set dummy ${ac_tool_prefix}cc; ac_word=$2
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3659 $as_echo_n "checking for $ac_word... " >&6; }
3660 if ${ac_cv_prog_CC+:} false; then :
3661 $as_echo_n "(cached) " >&6
3662 else
3663 if test -n "$CC"; then
3664 ac_cv_prog_CC="$CC" # Let the user override the test.
3665 else
3666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3667 for as_dir in $PATH
3669 IFS=$as_save_IFS
3670 test -z "$as_dir" && as_dir=.
3671 for ac_exec_ext in '' $ac_executable_extensions; do
3672 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3673 ac_cv_prog_CC="${ac_tool_prefix}cc"
3674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3675 break 2
3677 done
3678 done
3679 IFS=$as_save_IFS
3683 CC=$ac_cv_prog_CC
3684 if test -n "$CC"; then
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3686 $as_echo "$CC" >&6; }
3687 else
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3689 $as_echo "no" >&6; }
3695 if test -z "$CC"; then
3696 # Extract the first word of "cc", so it can be a program name with args.
3697 set dummy cc; ac_word=$2
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3699 $as_echo_n "checking for $ac_word... " >&6; }
3700 if ${ac_cv_prog_CC+:} false; then :
3701 $as_echo_n "(cached) " >&6
3702 else
3703 if test -n "$CC"; then
3704 ac_cv_prog_CC="$CC" # Let the user override the test.
3705 else
3706 ac_prog_rejected=no
3707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3708 for as_dir in $PATH
3710 IFS=$as_save_IFS
3711 test -z "$as_dir" && as_dir=.
3712 for ac_exec_ext in '' $ac_executable_extensions; do
3713 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3714 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3715 ac_prog_rejected=yes
3716 continue
3718 ac_cv_prog_CC="cc"
3719 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3720 break 2
3722 done
3723 done
3724 IFS=$as_save_IFS
3726 if test $ac_prog_rejected = yes; then
3727 # We found a bogon in the path, so make sure we never use it.
3728 set dummy $ac_cv_prog_CC
3729 shift
3730 if test $# != 0; then
3731 # We chose a different compiler from the bogus one.
3732 # However, it has the same basename, so the bogon will be chosen
3733 # first if we set CC to just the basename; use the full file name.
3734 shift
3735 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3740 CC=$ac_cv_prog_CC
3741 if test -n "$CC"; then
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3743 $as_echo "$CC" >&6; }
3744 else
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3746 $as_echo "no" >&6; }
3751 if test -z "$CC"; then
3752 if test -n "$ac_tool_prefix"; then
3753 for ac_prog in cl.exe
3755 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3756 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3758 $as_echo_n "checking for $ac_word... " >&6; }
3759 if ${ac_cv_prog_CC+:} false; then :
3760 $as_echo_n "(cached) " >&6
3761 else
3762 if test -n "$CC"; then
3763 ac_cv_prog_CC="$CC" # Let the user override the test.
3764 else
3765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3766 for as_dir in $PATH
3768 IFS=$as_save_IFS
3769 test -z "$as_dir" && as_dir=.
3770 for ac_exec_ext in '' $ac_executable_extensions; do
3771 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3772 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3773 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3774 break 2
3776 done
3777 done
3778 IFS=$as_save_IFS
3782 CC=$ac_cv_prog_CC
3783 if test -n "$CC"; then
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3785 $as_echo "$CC" >&6; }
3786 else
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3788 $as_echo "no" >&6; }
3792 test -n "$CC" && break
3793 done
3795 if test -z "$CC"; then
3796 ac_ct_CC=$CC
3797 for ac_prog in cl.exe
3799 # Extract the first word of "$ac_prog", so it can be a program name with args.
3800 set dummy $ac_prog; ac_word=$2
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3802 $as_echo_n "checking for $ac_word... " >&6; }
3803 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3804 $as_echo_n "(cached) " >&6
3805 else
3806 if test -n "$ac_ct_CC"; then
3807 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3808 else
3809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3810 for as_dir in $PATH
3812 IFS=$as_save_IFS
3813 test -z "$as_dir" && as_dir=.
3814 for ac_exec_ext in '' $ac_executable_extensions; do
3815 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3816 ac_cv_prog_ac_ct_CC="$ac_prog"
3817 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3818 break 2
3820 done
3821 done
3822 IFS=$as_save_IFS
3826 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3827 if test -n "$ac_ct_CC"; then
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3829 $as_echo "$ac_ct_CC" >&6; }
3830 else
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3832 $as_echo "no" >&6; }
3836 test -n "$ac_ct_CC" && break
3837 done
3839 if test "x$ac_ct_CC" = x; then
3840 CC=""
3841 else
3842 case $cross_compiling:$ac_tool_warned in
3843 yes:)
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3845 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3846 ac_tool_warned=yes ;;
3847 esac
3848 CC=$ac_ct_CC
3855 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3856 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3857 as_fn_error $? "no acceptable C compiler found in \$PATH
3858 See \`config.log' for more details" "$LINENO" 5; }
3860 # Provide some information about the compiler.
3861 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3862 set X $ac_compile
3863 ac_compiler=$2
3864 for ac_option in --version -v -V -qversion; do
3865 { { ac_try="$ac_compiler $ac_option >&5"
3866 case "(($ac_try" in
3867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3868 *) ac_try_echo=$ac_try;;
3869 esac
3870 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3871 $as_echo "$ac_try_echo"; } >&5
3872 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3873 ac_status=$?
3874 if test -s conftest.err; then
3875 sed '10a\
3876 ... rest of stderr output deleted ...
3877 10q' conftest.err >conftest.er1
3878 cat conftest.er1 >&5
3880 rm -f conftest.er1 conftest.err
3881 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3882 test $ac_status = 0; }
3883 done
3885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3886 /* end confdefs.h. */
3889 main ()
3893 return 0;
3895 _ACEOF
3896 ac_clean_files_save=$ac_clean_files
3897 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3898 # Try to create an executable without -o first, disregard a.out.
3899 # It will help us diagnose broken compilers, and finding out an intuition
3900 # of exeext.
3901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3902 $as_echo_n "checking whether the C compiler works... " >&6; }
3903 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3905 # The possible output files:
3906 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3908 ac_rmfiles=
3909 for ac_file in $ac_files
3911 case $ac_file in
3912 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3913 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3914 esac
3915 done
3916 rm -f $ac_rmfiles
3918 if { { ac_try="$ac_link_default"
3919 case "(($ac_try" in
3920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3921 *) ac_try_echo=$ac_try;;
3922 esac
3923 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3924 $as_echo "$ac_try_echo"; } >&5
3925 (eval "$ac_link_default") 2>&5
3926 ac_status=$?
3927 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3928 test $ac_status = 0; }; then :
3929 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3930 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3931 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3932 # so that the user can short-circuit this test for compilers unknown to
3933 # Autoconf.
3934 for ac_file in $ac_files ''
3936 test -f "$ac_file" || continue
3937 case $ac_file in
3938 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3940 [ab].out )
3941 # We found the default executable, but exeext='' is most
3942 # certainly right.
3943 break;;
3944 *.* )
3945 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3946 then :; else
3947 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3949 # We set ac_cv_exeext here because the later test for it is not
3950 # safe: cross compilers may not add the suffix if given an `-o'
3951 # argument, so we may need to know it at that point already.
3952 # Even if this section looks crufty: it has the advantage of
3953 # actually working.
3954 break;;
3956 break;;
3957 esac
3958 done
3959 test "$ac_cv_exeext" = no && ac_cv_exeext=
3961 else
3962 ac_file=''
3964 if test -z "$ac_file"; then :
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3966 $as_echo "no" >&6; }
3967 $as_echo "$as_me: failed program was:" >&5
3968 sed 's/^/| /' conftest.$ac_ext >&5
3970 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3971 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3972 as_fn_error 77 "C compiler cannot create executables
3973 See \`config.log' for more details" "$LINENO" 5; }
3974 else
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3976 $as_echo "yes" >&6; }
3978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3979 $as_echo_n "checking for C compiler default output file name... " >&6; }
3980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3981 $as_echo "$ac_file" >&6; }
3982 ac_exeext=$ac_cv_exeext
3984 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3985 ac_clean_files=$ac_clean_files_save
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3987 $as_echo_n "checking for suffix of executables... " >&6; }
3988 if { { ac_try="$ac_link"
3989 case "(($ac_try" in
3990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3991 *) ac_try_echo=$ac_try;;
3992 esac
3993 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3994 $as_echo "$ac_try_echo"; } >&5
3995 (eval "$ac_link") 2>&5
3996 ac_status=$?
3997 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3998 test $ac_status = 0; }; then :
3999 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4000 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4001 # work properly (i.e., refer to `conftest.exe'), while it won't with
4002 # `rm'.
4003 for ac_file in conftest.exe conftest conftest.*; do
4004 test -f "$ac_file" || continue
4005 case $ac_file in
4006 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4007 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4008 break;;
4009 * ) break;;
4010 esac
4011 done
4012 else
4013 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4014 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4015 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4016 See \`config.log' for more details" "$LINENO" 5; }
4018 rm -f conftest conftest$ac_cv_exeext
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4020 $as_echo "$ac_cv_exeext" >&6; }
4022 rm -f conftest.$ac_ext
4023 EXEEXT=$ac_cv_exeext
4024 ac_exeext=$EXEEXT
4025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4026 /* end confdefs.h. */
4027 #include <stdio.h>
4029 main ()
4031 FILE *f = fopen ("conftest.out", "w");
4032 return ferror (f) || fclose (f) != 0;
4035 return 0;
4037 _ACEOF
4038 ac_clean_files="$ac_clean_files conftest.out"
4039 # Check that the compiler produces executables we can run. If not, either
4040 # the compiler is broken, or we cross compile.
4041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4042 $as_echo_n "checking whether we are cross compiling... " >&6; }
4043 if test "$cross_compiling" != yes; then
4044 { { ac_try="$ac_link"
4045 case "(($ac_try" in
4046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4047 *) ac_try_echo=$ac_try;;
4048 esac
4049 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4050 $as_echo "$ac_try_echo"; } >&5
4051 (eval "$ac_link") 2>&5
4052 ac_status=$?
4053 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4054 test $ac_status = 0; }
4055 if { ac_try='./conftest$ac_cv_exeext'
4056 { { case "(($ac_try" in
4057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4058 *) ac_try_echo=$ac_try;;
4059 esac
4060 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4061 $as_echo "$ac_try_echo"; } >&5
4062 (eval "$ac_try") 2>&5
4063 ac_status=$?
4064 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4065 test $ac_status = 0; }; }; then
4066 cross_compiling=no
4067 else
4068 if test "$cross_compiling" = maybe; then
4069 cross_compiling=yes
4070 else
4071 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4072 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4073 as_fn_error $? "cannot run C compiled programs.
4074 If you meant to cross compile, use \`--host'.
4075 See \`config.log' for more details" "$LINENO" 5; }
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4080 $as_echo "$cross_compiling" >&6; }
4082 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4083 ac_clean_files=$ac_clean_files_save
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4085 $as_echo_n "checking for suffix of object files... " >&6; }
4086 if ${ac_cv_objext+:} false; then :
4087 $as_echo_n "(cached) " >&6
4088 else
4089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4090 /* end confdefs.h. */
4093 main ()
4097 return 0;
4099 _ACEOF
4100 rm -f conftest.o conftest.obj
4101 if { { ac_try="$ac_compile"
4102 case "(($ac_try" in
4103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4104 *) ac_try_echo=$ac_try;;
4105 esac
4106 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4107 $as_echo "$ac_try_echo"; } >&5
4108 (eval "$ac_compile") 2>&5
4109 ac_status=$?
4110 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4111 test $ac_status = 0; }; then :
4112 for ac_file in conftest.o conftest.obj conftest.*; do
4113 test -f "$ac_file" || continue;
4114 case $ac_file in
4115 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4116 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4117 break;;
4118 esac
4119 done
4120 else
4121 $as_echo "$as_me: failed program was:" >&5
4122 sed 's/^/| /' conftest.$ac_ext >&5
4124 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4125 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4126 as_fn_error $? "cannot compute suffix of object files: cannot compile
4127 See \`config.log' for more details" "$LINENO" 5; }
4129 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4132 $as_echo "$ac_cv_objext" >&6; }
4133 OBJEXT=$ac_cv_objext
4134 ac_objext=$OBJEXT
4135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4136 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4137 if ${ac_cv_c_compiler_gnu+:} false; then :
4138 $as_echo_n "(cached) " >&6
4139 else
4140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4141 /* end confdefs.h. */
4144 main ()
4146 #ifndef __GNUC__
4147 choke me
4148 #endif
4151 return 0;
4153 _ACEOF
4154 if ac_fn_c_try_compile "$LINENO"; then :
4155 ac_compiler_gnu=yes
4156 else
4157 ac_compiler_gnu=no
4159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4160 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4164 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4165 if test $ac_compiler_gnu = yes; then
4166 GCC=yes
4167 else
4168 GCC=
4170 ac_test_CFLAGS=${CFLAGS+set}
4171 ac_save_CFLAGS=$CFLAGS
4172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4173 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4174 if ${ac_cv_prog_cc_g+:} false; then :
4175 $as_echo_n "(cached) " >&6
4176 else
4177 ac_save_c_werror_flag=$ac_c_werror_flag
4178 ac_c_werror_flag=yes
4179 ac_cv_prog_cc_g=no
4180 CFLAGS="-g"
4181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4182 /* end confdefs.h. */
4185 main ()
4189 return 0;
4191 _ACEOF
4192 if ac_fn_c_try_compile "$LINENO"; then :
4193 ac_cv_prog_cc_g=yes
4194 else
4195 CFLAGS=""
4196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4197 /* end confdefs.h. */
4200 main ()
4204 return 0;
4206 _ACEOF
4207 if ac_fn_c_try_compile "$LINENO"; then :
4209 else
4210 ac_c_werror_flag=$ac_save_c_werror_flag
4211 CFLAGS="-g"
4212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4213 /* end confdefs.h. */
4216 main ()
4220 return 0;
4222 _ACEOF
4223 if ac_fn_c_try_compile "$LINENO"; then :
4224 ac_cv_prog_cc_g=yes
4226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4231 ac_c_werror_flag=$ac_save_c_werror_flag
4233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4234 $as_echo "$ac_cv_prog_cc_g" >&6; }
4235 if test "$ac_test_CFLAGS" = set; then
4236 CFLAGS=$ac_save_CFLAGS
4237 elif test $ac_cv_prog_cc_g = yes; then
4238 if test "$GCC" = yes; then
4239 CFLAGS="-g -O2"
4240 else
4241 CFLAGS="-g"
4243 else
4244 if test "$GCC" = yes; then
4245 CFLAGS="-O2"
4246 else
4247 CFLAGS=
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4251 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4252 if ${ac_cv_prog_cc_c89+:} false; then :
4253 $as_echo_n "(cached) " >&6
4254 else
4255 ac_cv_prog_cc_c89=no
4256 ac_save_CC=$CC
4257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4258 /* end confdefs.h. */
4259 #include <stdarg.h>
4260 #include <stdio.h>
4261 struct stat;
4262 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4263 struct buf { int x; };
4264 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4265 static char *e (p, i)
4266 char **p;
4267 int i;
4269 return p[i];
4271 static char *f (char * (*g) (char **, int), char **p, ...)
4273 char *s;
4274 va_list v;
4275 va_start (v,p);
4276 s = g (p, va_arg (v,int));
4277 va_end (v);
4278 return s;
4281 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4282 function prototypes and stuff, but not '\xHH' hex character constants.
4283 These don't provoke an error unfortunately, instead are silently treated
4284 as 'x'. The following induces an error, until -std is added to get
4285 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4286 array size at least. It's necessary to write '\x00'==0 to get something
4287 that's true only with -std. */
4288 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4290 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4291 inside strings and character constants. */
4292 #define FOO(x) 'x'
4293 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4295 int test (int i, double x);
4296 struct s1 {int (*f) (int a);};
4297 struct s2 {int (*f) (double a);};
4298 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4299 int argc;
4300 char **argv;
4302 main ()
4304 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4306 return 0;
4308 _ACEOF
4309 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4310 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4312 CC="$ac_save_CC $ac_arg"
4313 if ac_fn_c_try_compile "$LINENO"; then :
4314 ac_cv_prog_cc_c89=$ac_arg
4316 rm -f core conftest.err conftest.$ac_objext
4317 test "x$ac_cv_prog_cc_c89" != "xno" && break
4318 done
4319 rm -f conftest.$ac_ext
4320 CC=$ac_save_CC
4323 # AC_CACHE_VAL
4324 case "x$ac_cv_prog_cc_c89" in
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4327 $as_echo "none needed" >&6; } ;;
4328 xno)
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4330 $as_echo "unsupported" >&6; } ;;
4332 CC="$CC $ac_cv_prog_cc_c89"
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4334 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4335 esac
4336 if test "x$ac_cv_prog_cc_c89" != xno; then :
4340 ac_ext=c
4341 ac_cpp='$CPP $CPPFLAGS'
4342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4346 ac_ext=cpp
4347 ac_cpp='$CXXCPP $CPPFLAGS'
4348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4351 if test -z "$CXX"; then
4352 if test -n "$CCC"; then
4353 CXX=$CCC
4354 else
4355 if test -n "$ac_tool_prefix"; then
4356 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4358 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4359 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4361 $as_echo_n "checking for $ac_word... " >&6; }
4362 if ${ac_cv_prog_CXX+:} false; then :
4363 $as_echo_n "(cached) " >&6
4364 else
4365 if test -n "$CXX"; then
4366 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4367 else
4368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4369 for as_dir in $PATH
4371 IFS=$as_save_IFS
4372 test -z "$as_dir" && as_dir=.
4373 for ac_exec_ext in '' $ac_executable_extensions; do
4374 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4375 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4376 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4377 break 2
4379 done
4380 done
4381 IFS=$as_save_IFS
4385 CXX=$ac_cv_prog_CXX
4386 if test -n "$CXX"; then
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4388 $as_echo "$CXX" >&6; }
4389 else
4390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4391 $as_echo "no" >&6; }
4395 test -n "$CXX" && break
4396 done
4398 if test -z "$CXX"; then
4399 ac_ct_CXX=$CXX
4400 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4402 # Extract the first word of "$ac_prog", so it can be a program name with args.
4403 set dummy $ac_prog; ac_word=$2
4404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4405 $as_echo_n "checking for $ac_word... " >&6; }
4406 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4407 $as_echo_n "(cached) " >&6
4408 else
4409 if test -n "$ac_ct_CXX"; then
4410 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4411 else
4412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4413 for as_dir in $PATH
4415 IFS=$as_save_IFS
4416 test -z "$as_dir" && as_dir=.
4417 for ac_exec_ext in '' $ac_executable_extensions; do
4418 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4419 ac_cv_prog_ac_ct_CXX="$ac_prog"
4420 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4421 break 2
4423 done
4424 done
4425 IFS=$as_save_IFS
4429 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4430 if test -n "$ac_ct_CXX"; then
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4432 $as_echo "$ac_ct_CXX" >&6; }
4433 else
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4435 $as_echo "no" >&6; }
4439 test -n "$ac_ct_CXX" && break
4440 done
4442 if test "x$ac_ct_CXX" = x; then
4443 CXX="g++"
4444 else
4445 case $cross_compiling:$ac_tool_warned in
4446 yes:)
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4448 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4449 ac_tool_warned=yes ;;
4450 esac
4451 CXX=$ac_ct_CXX
4457 # Provide some information about the compiler.
4458 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4459 set X $ac_compile
4460 ac_compiler=$2
4461 for ac_option in --version -v -V -qversion; do
4462 { { ac_try="$ac_compiler $ac_option >&5"
4463 case "(($ac_try" in
4464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4465 *) ac_try_echo=$ac_try;;
4466 esac
4467 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4468 $as_echo "$ac_try_echo"; } >&5
4469 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4470 ac_status=$?
4471 if test -s conftest.err; then
4472 sed '10a\
4473 ... rest of stderr output deleted ...
4474 10q' conftest.err >conftest.er1
4475 cat conftest.er1 >&5
4477 rm -f conftest.er1 conftest.err
4478 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4479 test $ac_status = 0; }
4480 done
4482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4483 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4484 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4485 $as_echo_n "(cached) " >&6
4486 else
4487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4488 /* end confdefs.h. */
4491 main ()
4493 #ifndef __GNUC__
4494 choke me
4495 #endif
4498 return 0;
4500 _ACEOF
4501 if ac_fn_cxx_try_compile "$LINENO"; then :
4502 ac_compiler_gnu=yes
4503 else
4504 ac_compiler_gnu=no
4506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4507 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4511 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4512 if test $ac_compiler_gnu = yes; then
4513 GXX=yes
4514 else
4515 GXX=
4517 ac_test_CXXFLAGS=${CXXFLAGS+set}
4518 ac_save_CXXFLAGS=$CXXFLAGS
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4520 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4521 if ${ac_cv_prog_cxx_g+:} false; then :
4522 $as_echo_n "(cached) " >&6
4523 else
4524 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4525 ac_cxx_werror_flag=yes
4526 ac_cv_prog_cxx_g=no
4527 CXXFLAGS="-g"
4528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4529 /* end confdefs.h. */
4532 main ()
4536 return 0;
4538 _ACEOF
4539 if ac_fn_cxx_try_compile "$LINENO"; then :
4540 ac_cv_prog_cxx_g=yes
4541 else
4542 CXXFLAGS=""
4543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4544 /* end confdefs.h. */
4547 main ()
4551 return 0;
4553 _ACEOF
4554 if ac_fn_cxx_try_compile "$LINENO"; then :
4556 else
4557 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4558 CXXFLAGS="-g"
4559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4560 /* end confdefs.h. */
4563 main ()
4567 return 0;
4569 _ACEOF
4570 if ac_fn_cxx_try_compile "$LINENO"; then :
4571 ac_cv_prog_cxx_g=yes
4573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4578 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4581 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4582 if test "$ac_test_CXXFLAGS" = set; then
4583 CXXFLAGS=$ac_save_CXXFLAGS
4584 elif test $ac_cv_prog_cxx_g = yes; then
4585 if test "$GXX" = yes; then
4586 CXXFLAGS="-g -O2"
4587 else
4588 CXXFLAGS="-g"
4590 else
4591 if test "$GXX" = yes; then
4592 CXXFLAGS="-O2"
4593 else
4594 CXXFLAGS=
4597 ac_ext=c
4598 ac_cpp='$CPP $CPPFLAGS'
4599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4603 if test -n "$ac_tool_prefix"; then
4604 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4605 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4607 $as_echo_n "checking for $ac_word... " >&6; }
4608 if ${ac_cv_prog_CPPBIN+:} false; then :
4609 $as_echo_n "(cached) " >&6
4610 else
4611 if test -n "$CPPBIN"; then
4612 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4613 else
4614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4615 for as_dir in $PATH
4617 IFS=$as_save_IFS
4618 test -z "$as_dir" && as_dir=.
4619 for ac_exec_ext in '' $ac_executable_extensions; do
4620 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4621 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4623 break 2
4625 done
4626 done
4627 IFS=$as_save_IFS
4631 CPPBIN=$ac_cv_prog_CPPBIN
4632 if test -n "$CPPBIN"; then
4633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4634 $as_echo "$CPPBIN" >&6; }
4635 else
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4637 $as_echo "no" >&6; }
4642 if test -z "$ac_cv_prog_CPPBIN"; then
4643 ac_ct_CPPBIN=$CPPBIN
4644 # Extract the first word of "cpp", so it can be a program name with args.
4645 set dummy cpp; ac_word=$2
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4647 $as_echo_n "checking for $ac_word... " >&6; }
4648 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4649 $as_echo_n "(cached) " >&6
4650 else
4651 if test -n "$ac_ct_CPPBIN"; then
4652 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4653 else
4654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4655 for as_dir in $PATH
4657 IFS=$as_save_IFS
4658 test -z "$as_dir" && as_dir=.
4659 for ac_exec_ext in '' $ac_executable_extensions; do
4660 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4661 ac_cv_prog_ac_ct_CPPBIN="cpp"
4662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4663 break 2
4665 done
4666 done
4667 IFS=$as_save_IFS
4671 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4672 if test -n "$ac_ct_CPPBIN"; then
4673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4674 $as_echo "$ac_ct_CPPBIN" >&6; }
4675 else
4676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4677 $as_echo "no" >&6; }
4680 if test "x$ac_ct_CPPBIN" = x; then
4681 CPPBIN="cpp"
4682 else
4683 case $cross_compiling:$ac_tool_warned in
4684 yes:)
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4686 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4687 ac_tool_warned=yes ;;
4688 esac
4689 CPPBIN=$ac_ct_CPPBIN
4691 else
4692 CPPBIN="$ac_cv_prog_CPPBIN"
4696 cat >>confdefs.h <<_ACEOF
4697 #define EXEEXT "$ac_exeext"
4698 _ACEOF
4701 case $host in
4702 *-darwin*)
4703 if test "x$enable_win64" = "xyes"
4704 then
4705 CC="$CC -m64"
4706 CXX="$CXX -m64"
4707 host_cpu="x86_64"
4708 notice_platform="64-bit "
4709 TARGETFLAGS="-m64"
4711 else
4712 CC="$CC -m32"
4713 CXX="$CXX -m32"
4714 host_cpu="i386"
4715 notice_platform="32-bit "
4716 TARGETFLAGS="-m32"
4718 enable_win16=${enable_win16:-yes}
4720 with_fontconfig=${with_fontconfig:-no}
4722 x86_64*)
4723 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4724 then
4725 CC="$CC -m32"
4726 CXX="$CXX -m32"
4727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4728 $as_echo_n "checking whether $CC works... " >&6; }
4730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4731 /* end confdefs.h. */
4734 main ()
4738 return 0;
4740 _ACEOF
4741 if ac_fn_c_try_link "$LINENO"; then :
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4743 $as_echo "yes" >&6; }
4744 else
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4746 $as_echo "no" >&6; }
4747 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4749 rm -f core conftest.err conftest.$ac_objext \
4750 conftest$ac_exeext conftest.$ac_ext
4751 host_cpu="i386"
4752 notice_platform="32-bit "
4753 TARGETFLAGS="-m32"
4755 enable_win16=${enable_win16:-yes}
4756 else
4757 if test "x${GCC}" = "xyes"
4758 then
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4760 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4762 /* end confdefs.h. */
4763 #include <stdarg.h>
4765 main ()
4767 void func(__builtin_ms_va_list *args);
4769 return 0;
4771 _ACEOF
4772 if ac_fn_c_try_compile "$LINENO"; then :
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4774 $as_echo "yes" >&6; }
4775 else
4776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4777 $as_echo "no" >&6; }
4778 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4782 TARGETFLAGS="-m64"
4786 arm*)
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4788 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4790 /* end confdefs.h. */
4791 int ac_test(int i) { return i; }
4793 main ()
4795 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4797 return 0;
4799 _ACEOF
4800 if ac_fn_c_try_link "$LINENO"; then :
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4802 $as_echo "yes" >&6; }
4803 else
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4805 $as_echo "no" >&6; }
4806 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4808 rm -f core conftest.err conftest.$ac_objext \
4809 conftest$ac_exeext conftest.$ac_ext
4810 CFLAGS="$CFLAGS -marm"
4811 TARGETFLAGS="-marm"
4814 *-mingw32*|*-cygwin*)
4815 enable_win16=${enable_win16:-no}
4816 CFLAGS="$CFLAGS -D_WIN32"
4818 i[3456789]86*)
4819 enable_win16=${enable_win16:-yes}
4821 esac
4823 enable_win16=${enable_win16:-no}
4824 enable_win64=${enable_win64:-no}
4826 enable_winetest=${enable_winetest:-$enable_tests}
4828 if test -n "$with_wine64"
4829 then
4830 if test "x$enable_win64" = "xyes"
4831 then
4832 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4833 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4835 enable_fonts=${enable_fonts:-no}
4836 enable_server=${enable_server:-no}
4837 elif test "x$enable_win64" = "xyes"
4838 then
4839 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4843 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4844 if ${wine_cv_toolsdir+:} false; then :
4845 $as_echo_n "(cached) " >&6
4846 else
4847 wine_cv_toolsdir="$with_wine_tools"
4848 if test -z "$with_wine_tools"; then
4849 if test "$cross_compiling" = "yes"; then
4850 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4851 elif test -n "$with_wine64"; then
4852 wine_cv_toolsdir="$with_wine64"
4855 if test -z "$wine_cv_toolsdir"; then
4856 wine_makedep=tools/makedep
4857 wine_cv_toolsdir="\$(top_builddir)"
4858 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4859 wine_makedep=$wine_cv_toolsdir/tools/makedep
4860 case "$wine_cv_toolsdir" in
4861 /*) ;;
4862 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
4863 esac
4864 enable_tools=${enable_tools:-no}
4865 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
4866 else
4867 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4871 $as_echo "$wine_cv_toolsdir" >&6; }
4872 TOOLSDIR=$wine_cv_toolsdir
4874 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4875 then
4876 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
4880 for ac_prog in flex
4882 # Extract the first word of "$ac_prog", so it can be a program name with args.
4883 set dummy $ac_prog; ac_word=$2
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4885 $as_echo_n "checking for $ac_word... " >&6; }
4886 if ${ac_cv_prog_FLEX+:} false; then :
4887 $as_echo_n "(cached) " >&6
4888 else
4889 if test -n "$FLEX"; then
4890 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
4891 else
4892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4893 for as_dir in $PATH
4895 IFS=$as_save_IFS
4896 test -z "$as_dir" && as_dir=.
4897 for ac_exec_ext in '' $ac_executable_extensions; do
4898 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4899 ac_cv_prog_FLEX="$ac_prog"
4900 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4901 break 2
4903 done
4904 done
4905 IFS=$as_save_IFS
4909 FLEX=$ac_cv_prog_FLEX
4910 if test -n "$FLEX"; then
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4912 $as_echo "$FLEX" >&6; }
4913 else
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4915 $as_echo "no" >&6; }
4919 test -n "$FLEX" && break
4920 done
4921 test -n "$FLEX" || FLEX="none"
4923 if test "$FLEX" = "none"
4924 then
4925 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4928 $as_echo_n "checking whether flex is recent enough... " >&6; }
4929 cat >conftest.l <<EOF
4930 %top{
4931 #include "prediluvian.h"
4935 if $FLEX -t conftest.l >/dev/null 2>&5
4936 then
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4938 $as_echo "yes" >&6; }
4939 else
4940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4941 $as_echo "no" >&6; }
4942 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4945 for ac_prog in bison
4947 # Extract the first word of "$ac_prog", so it can be a program name with args.
4948 set dummy $ac_prog; ac_word=$2
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4950 $as_echo_n "checking for $ac_word... " >&6; }
4951 if ${ac_cv_prog_BISON+:} false; then :
4952 $as_echo_n "(cached) " >&6
4953 else
4954 if test -n "$BISON"; then
4955 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4956 else
4957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4958 for as_dir in $PATH
4960 IFS=$as_save_IFS
4961 test -z "$as_dir" && as_dir=.
4962 for ac_exec_ext in '' $ac_executable_extensions; do
4963 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4964 ac_cv_prog_BISON="$ac_prog"
4965 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4966 break 2
4968 done
4969 done
4970 IFS=$as_save_IFS
4974 BISON=$ac_cv_prog_BISON
4975 if test -n "$BISON"; then
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4977 $as_echo "$BISON" >&6; }
4978 else
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4980 $as_echo "no" >&6; }
4984 test -n "$BISON" && break
4985 done
4986 test -n "$BISON" || BISON="none"
4988 if test "$BISON" = "none"
4989 then
4990 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4993 if test -n "$ac_tool_prefix"; then
4994 for ac_prog in ar gar
4996 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4997 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4999 $as_echo_n "checking for $ac_word... " >&6; }
5000 if ${ac_cv_prog_AR+:} false; then :
5001 $as_echo_n "(cached) " >&6
5002 else
5003 if test -n "$AR"; then
5004 ac_cv_prog_AR="$AR" # Let the user override the test.
5005 else
5006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5007 for as_dir in $PATH
5009 IFS=$as_save_IFS
5010 test -z "$as_dir" && as_dir=.
5011 for ac_exec_ext in '' $ac_executable_extensions; do
5012 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5013 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5014 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5015 break 2
5017 done
5018 done
5019 IFS=$as_save_IFS
5023 AR=$ac_cv_prog_AR
5024 if test -n "$AR"; then
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5026 $as_echo "$AR" >&6; }
5027 else
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5029 $as_echo "no" >&6; }
5033 test -n "$AR" && break
5034 done
5036 if test -z "$AR"; then
5037 ac_ct_AR=$AR
5038 for ac_prog in ar gar
5040 # Extract the first word of "$ac_prog", so it can be a program name with args.
5041 set dummy $ac_prog; ac_word=$2
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5043 $as_echo_n "checking for $ac_word... " >&6; }
5044 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5045 $as_echo_n "(cached) " >&6
5046 else
5047 if test -n "$ac_ct_AR"; then
5048 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5049 else
5050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5051 for as_dir in $PATH
5053 IFS=$as_save_IFS
5054 test -z "$as_dir" && as_dir=.
5055 for ac_exec_ext in '' $ac_executable_extensions; do
5056 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5057 ac_cv_prog_ac_ct_AR="$ac_prog"
5058 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5059 break 2
5061 done
5062 done
5063 IFS=$as_save_IFS
5067 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5068 if test -n "$ac_ct_AR"; then
5069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5070 $as_echo "$ac_ct_AR" >&6; }
5071 else
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5073 $as_echo "no" >&6; }
5077 test -n "$ac_ct_AR" && break
5078 done
5080 if test "x$ac_ct_AR" = x; then
5081 AR="ar"
5082 else
5083 case $cross_compiling:$ac_tool_warned in
5084 yes:)
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5086 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5087 ac_tool_warned=yes ;;
5088 esac
5089 AR=$ac_ct_AR
5093 if test -n "$ac_tool_prefix"; then
5094 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5095 set dummy ${ac_tool_prefix}strip; ac_word=$2
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5097 $as_echo_n "checking for $ac_word... " >&6; }
5098 if ${ac_cv_prog_STRIP+:} false; then :
5099 $as_echo_n "(cached) " >&6
5100 else
5101 if test -n "$STRIP"; then
5102 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5103 else
5104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5105 for as_dir in $PATH
5107 IFS=$as_save_IFS
5108 test -z "$as_dir" && as_dir=.
5109 for ac_exec_ext in '' $ac_executable_extensions; do
5110 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5111 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5112 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5113 break 2
5115 done
5116 done
5117 IFS=$as_save_IFS
5121 STRIP=$ac_cv_prog_STRIP
5122 if test -n "$STRIP"; then
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5124 $as_echo "$STRIP" >&6; }
5125 else
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5127 $as_echo "no" >&6; }
5132 if test -z "$ac_cv_prog_STRIP"; then
5133 ac_ct_STRIP=$STRIP
5134 # Extract the first word of "strip", so it can be a program name with args.
5135 set dummy strip; ac_word=$2
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5137 $as_echo_n "checking for $ac_word... " >&6; }
5138 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5139 $as_echo_n "(cached) " >&6
5140 else
5141 if test -n "$ac_ct_STRIP"; then
5142 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5143 else
5144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5145 for as_dir in $PATH
5147 IFS=$as_save_IFS
5148 test -z "$as_dir" && as_dir=.
5149 for ac_exec_ext in '' $ac_executable_extensions; do
5150 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5151 ac_cv_prog_ac_ct_STRIP="strip"
5152 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5153 break 2
5155 done
5156 done
5157 IFS=$as_save_IFS
5161 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5162 if test -n "$ac_ct_STRIP"; then
5163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5164 $as_echo "$ac_ct_STRIP" >&6; }
5165 else
5166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5167 $as_echo "no" >&6; }
5170 if test "x$ac_ct_STRIP" = x; then
5171 STRIP="strip"
5172 else
5173 case $cross_compiling:$ac_tool_warned in
5174 yes:)
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5176 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5177 ac_tool_warned=yes ;;
5178 esac
5179 STRIP=$ac_ct_STRIP
5181 else
5182 STRIP="$ac_cv_prog_STRIP"
5185 ARFLAGS=rc
5187 if test -n "$ac_tool_prefix"; then
5188 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5189 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5191 $as_echo_n "checking for $ac_word... " >&6; }
5192 if ${ac_cv_prog_RANLIB+:} false; then :
5193 $as_echo_n "(cached) " >&6
5194 else
5195 if test -n "$RANLIB"; then
5196 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5197 else
5198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5199 for as_dir in $PATH
5201 IFS=$as_save_IFS
5202 test -z "$as_dir" && as_dir=.
5203 for ac_exec_ext in '' $ac_executable_extensions; do
5204 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5205 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5207 break 2
5209 done
5210 done
5211 IFS=$as_save_IFS
5215 RANLIB=$ac_cv_prog_RANLIB
5216 if test -n "$RANLIB"; then
5217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5218 $as_echo "$RANLIB" >&6; }
5219 else
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5221 $as_echo "no" >&6; }
5226 if test -z "$ac_cv_prog_RANLIB"; then
5227 ac_ct_RANLIB=$RANLIB
5228 # Extract the first word of "ranlib", so it can be a program name with args.
5229 set dummy ranlib; ac_word=$2
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5231 $as_echo_n "checking for $ac_word... " >&6; }
5232 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5233 $as_echo_n "(cached) " >&6
5234 else
5235 if test -n "$ac_ct_RANLIB"; then
5236 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5237 else
5238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5239 for as_dir in $PATH
5241 IFS=$as_save_IFS
5242 test -z "$as_dir" && as_dir=.
5243 for ac_exec_ext in '' $ac_executable_extensions; do
5244 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5245 ac_cv_prog_ac_ct_RANLIB="ranlib"
5246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5247 break 2
5249 done
5250 done
5251 IFS=$as_save_IFS
5255 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5256 if test -n "$ac_ct_RANLIB"; then
5257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5258 $as_echo "$ac_ct_RANLIB" >&6; }
5259 else
5260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5261 $as_echo "no" >&6; }
5264 if test "x$ac_ct_RANLIB" = x; then
5265 RANLIB=":"
5266 else
5267 case $cross_compiling:$ac_tool_warned in
5268 yes:)
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5270 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5271 ac_tool_warned=yes ;;
5272 esac
5273 RANLIB=$ac_ct_RANLIB
5275 else
5276 RANLIB="$ac_cv_prog_RANLIB"
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5280 $as_echo_n "checking whether ln -s works... " >&6; }
5281 LN_S=$as_ln_s
5282 if test "$LN_S" = "ln -s"; then
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5284 $as_echo "yes" >&6; }
5285 else
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5287 $as_echo "no, using $LN_S" >&6; }
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5291 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5292 if ${ac_cv_path_GREP+:} false; then :
5293 $as_echo_n "(cached) " >&6
5294 else
5295 if test -z "$GREP"; then
5296 ac_path_GREP_found=false
5297 # Loop through the user's path and test for each of PROGNAME-LIST
5298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5299 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5301 IFS=$as_save_IFS
5302 test -z "$as_dir" && as_dir=.
5303 for ac_prog in grep ggrep; do
5304 for ac_exec_ext in '' $ac_executable_extensions; do
5305 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5306 as_fn_executable_p "$ac_path_GREP" || continue
5307 # Check for GNU ac_path_GREP and select it if it is found.
5308 # Check for GNU $ac_path_GREP
5309 case `"$ac_path_GREP" --version 2>&1` in
5310 *GNU*)
5311 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5313 ac_count=0
5314 $as_echo_n 0123456789 >"conftest.in"
5315 while :
5317 cat "conftest.in" "conftest.in" >"conftest.tmp"
5318 mv "conftest.tmp" "conftest.in"
5319 cp "conftest.in" "conftest.nl"
5320 $as_echo 'GREP' >> "conftest.nl"
5321 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5322 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5323 as_fn_arith $ac_count + 1 && ac_count=$as_val
5324 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5325 # Best one so far, save it but keep looking for a better one
5326 ac_cv_path_GREP="$ac_path_GREP"
5327 ac_path_GREP_max=$ac_count
5329 # 10*(2^10) chars as input seems more than enough
5330 test $ac_count -gt 10 && break
5331 done
5332 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5333 esac
5335 $ac_path_GREP_found && break 3
5336 done
5337 done
5338 done
5339 IFS=$as_save_IFS
5340 if test -z "$ac_cv_path_GREP"; then
5341 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5343 else
5344 ac_cv_path_GREP=$GREP
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5349 $as_echo "$ac_cv_path_GREP" >&6; }
5350 GREP="$ac_cv_path_GREP"
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5354 $as_echo_n "checking for egrep... " >&6; }
5355 if ${ac_cv_path_EGREP+:} false; then :
5356 $as_echo_n "(cached) " >&6
5357 else
5358 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5359 then ac_cv_path_EGREP="$GREP -E"
5360 else
5361 if test -z "$EGREP"; then
5362 ac_path_EGREP_found=false
5363 # Loop through the user's path and test for each of PROGNAME-LIST
5364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5365 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5367 IFS=$as_save_IFS
5368 test -z "$as_dir" && as_dir=.
5369 for ac_prog in egrep; do
5370 for ac_exec_ext in '' $ac_executable_extensions; do
5371 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5372 as_fn_executable_p "$ac_path_EGREP" || continue
5373 # Check for GNU ac_path_EGREP and select it if it is found.
5374 # Check for GNU $ac_path_EGREP
5375 case `"$ac_path_EGREP" --version 2>&1` in
5376 *GNU*)
5377 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5379 ac_count=0
5380 $as_echo_n 0123456789 >"conftest.in"
5381 while :
5383 cat "conftest.in" "conftest.in" >"conftest.tmp"
5384 mv "conftest.tmp" "conftest.in"
5385 cp "conftest.in" "conftest.nl"
5386 $as_echo 'EGREP' >> "conftest.nl"
5387 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5388 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5389 as_fn_arith $ac_count + 1 && ac_count=$as_val
5390 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5391 # Best one so far, save it but keep looking for a better one
5392 ac_cv_path_EGREP="$ac_path_EGREP"
5393 ac_path_EGREP_max=$ac_count
5395 # 10*(2^10) chars as input seems more than enough
5396 test $ac_count -gt 10 && break
5397 done
5398 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5399 esac
5401 $ac_path_EGREP_found && break 3
5402 done
5403 done
5404 done
5405 IFS=$as_save_IFS
5406 if test -z "$ac_cv_path_EGREP"; then
5407 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5409 else
5410 ac_cv_path_EGREP=$EGREP
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5416 $as_echo "$ac_cv_path_EGREP" >&6; }
5417 EGREP="$ac_cv_path_EGREP"
5420 # Extract the first word of "ldconfig", so it can be a program name with args.
5421 set dummy ldconfig; ac_word=$2
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5423 $as_echo_n "checking for $ac_word... " >&6; }
5424 if ${ac_cv_path_LDCONFIG+:} false; then :
5425 $as_echo_n "(cached) " >&6
5426 else
5427 case $LDCONFIG in
5428 [\\/]* | ?:[\\/]*)
5429 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5433 for as_dir in /sbin /usr/sbin $PATH
5435 IFS=$as_save_IFS
5436 test -z "$as_dir" && as_dir=.
5437 for ac_exec_ext in '' $ac_executable_extensions; do
5438 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5439 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5441 break 2
5443 done
5444 done
5445 IFS=$as_save_IFS
5447 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5449 esac
5451 LDCONFIG=$ac_cv_path_LDCONFIG
5452 if test -n "$LDCONFIG"; then
5453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5454 $as_echo "$LDCONFIG" >&6; }
5455 else
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5457 $as_echo "no" >&6; }
5461 for ac_prog in msgfmt
5463 # Extract the first word of "$ac_prog", so it can be a program name with args.
5464 set dummy $ac_prog; ac_word=$2
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5466 $as_echo_n "checking for $ac_word... " >&6; }
5467 if ${ac_cv_prog_MSGFMT+:} false; then :
5468 $as_echo_n "(cached) " >&6
5469 else
5470 if test -n "$MSGFMT"; then
5471 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5472 else
5473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5474 for as_dir in $PATH
5476 IFS=$as_save_IFS
5477 test -z "$as_dir" && as_dir=.
5478 for ac_exec_ext in '' $ac_executable_extensions; do
5479 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5480 ac_cv_prog_MSGFMT="$ac_prog"
5481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5482 break 2
5484 done
5485 done
5486 IFS=$as_save_IFS
5490 MSGFMT=$ac_cv_prog_MSGFMT
5491 if test -n "$MSGFMT"; then
5492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5493 $as_echo "$MSGFMT" >&6; }
5494 else
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5496 $as_echo "no" >&6; }
5500 test -n "$MSGFMT" && break
5501 done
5502 test -n "$MSGFMT" || MSGFMT="false"
5504 if ${ac_tool_prefix+:} false; then :
5505 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5506 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5508 $as_echo_n "checking for $ac_word... " >&6; }
5509 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5510 $as_echo_n "(cached) " >&6
5511 else
5512 if test -n "$PKG_CONFIG"; then
5513 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5514 else
5515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5516 for as_dir in $PATH
5518 IFS=$as_save_IFS
5519 test -z "$as_dir" && as_dir=.
5520 for ac_exec_ext in '' $ac_executable_extensions; do
5521 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5522 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5523 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5524 break 2
5526 done
5527 done
5528 IFS=$as_save_IFS
5532 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5533 if test -n "$PKG_CONFIG"; then
5534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5535 $as_echo "$PKG_CONFIG" >&6; }
5536 else
5537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5538 $as_echo "no" >&6; }
5543 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5544 if test "x$cross_compiling" = xyes; then :
5546 else
5547 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5548 # Extract the first word of "pkg-config", so it can be a program name with args.
5549 set dummy pkg-config; ac_word=$2
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5551 $as_echo_n "checking for $ac_word... " >&6; }
5552 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5553 $as_echo_n "(cached) " >&6
5554 else
5555 if test -n "$PKG_CONFIG"; then
5556 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5557 else
5558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5559 for as_dir in $PATH
5561 IFS=$as_save_IFS
5562 test -z "$as_dir" && as_dir=.
5563 for ac_exec_ext in '' $ac_executable_extensions; do
5564 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5565 ac_cv_prog_PKG_CONFIG="pkg-config"
5566 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5567 break 2
5569 done
5570 done
5571 IFS=$as_save_IFS
5575 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5576 if test -n "$PKG_CONFIG"; then
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5578 $as_echo "$PKG_CONFIG" >&6; }
5579 else
5580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5581 $as_echo "no" >&6; }
5586 else
5587 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5590 if test "x$enable_maintainer_mode" != "xyes"
5591 then
5592 FONTFORGE=""
5593 RSVG=""
5594 CONVERT=""
5595 ICOTOOL=""
5596 else
5597 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5598 for ac_prog in fontforge
5600 # Extract the first word of "$ac_prog", so it can be a program name with args.
5601 set dummy $ac_prog; ac_word=$2
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5603 $as_echo_n "checking for $ac_word... " >&6; }
5604 if ${ac_cv_prog_FONTFORGE+:} false; then :
5605 $as_echo_n "(cached) " >&6
5606 else
5607 if test -n "$FONTFORGE"; then
5608 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5609 else
5610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5611 for as_dir in $PATH
5613 IFS=$as_save_IFS
5614 test -z "$as_dir" && as_dir=.
5615 for ac_exec_ext in '' $ac_executable_extensions; do
5616 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5617 ac_cv_prog_FONTFORGE="$ac_prog"
5618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5619 break 2
5621 done
5622 done
5623 IFS=$as_save_IFS
5627 FONTFORGE=$ac_cv_prog_FONTFORGE
5628 if test -n "$FONTFORGE"; then
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5630 $as_echo "$FONTFORGE" >&6; }
5631 else
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5633 $as_echo "no" >&6; }
5637 test -n "$FONTFORGE" && break
5638 done
5639 test -n "$FONTFORGE" || FONTFORGE="false"
5641 for ac_prog in rsvg
5643 # Extract the first word of "$ac_prog", so it can be a program name with args.
5644 set dummy $ac_prog; ac_word=$2
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5646 $as_echo_n "checking for $ac_word... " >&6; }
5647 if ${ac_cv_prog_RSVG+:} false; then :
5648 $as_echo_n "(cached) " >&6
5649 else
5650 if test -n "$RSVG"; then
5651 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5652 else
5653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5654 for as_dir in $PATH
5656 IFS=$as_save_IFS
5657 test -z "$as_dir" && as_dir=.
5658 for ac_exec_ext in '' $ac_executable_extensions; do
5659 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5660 ac_cv_prog_RSVG="$ac_prog"
5661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5662 break 2
5664 done
5665 done
5666 IFS=$as_save_IFS
5670 RSVG=$ac_cv_prog_RSVG
5671 if test -n "$RSVG"; then
5672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5673 $as_echo "$RSVG" >&6; }
5674 else
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5676 $as_echo "no" >&6; }
5680 test -n "$RSVG" && break
5681 done
5682 test -n "$RSVG" || RSVG="false"
5684 for ac_prog in convert
5686 # Extract the first word of "$ac_prog", so it can be a program name with args.
5687 set dummy $ac_prog; ac_word=$2
5688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5689 $as_echo_n "checking for $ac_word... " >&6; }
5690 if ${ac_cv_prog_CONVERT+:} false; then :
5691 $as_echo_n "(cached) " >&6
5692 else
5693 if test -n "$CONVERT"; then
5694 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5695 else
5696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5697 for as_dir in $PATH
5699 IFS=$as_save_IFS
5700 test -z "$as_dir" && as_dir=.
5701 for ac_exec_ext in '' $ac_executable_extensions; do
5702 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5703 ac_cv_prog_CONVERT="$ac_prog"
5704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5705 break 2
5707 done
5708 done
5709 IFS=$as_save_IFS
5713 CONVERT=$ac_cv_prog_CONVERT
5714 if test -n "$CONVERT"; then
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5716 $as_echo "$CONVERT" >&6; }
5717 else
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5719 $as_echo "no" >&6; }
5723 test -n "$CONVERT" && break
5724 done
5725 test -n "$CONVERT" || CONVERT="false"
5727 for ac_prog in icotool
5729 # Extract the first word of "$ac_prog", so it can be a program name with args.
5730 set dummy $ac_prog; ac_word=$2
5731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5732 $as_echo_n "checking for $ac_word... " >&6; }
5733 if ${ac_cv_prog_ICOTOOL+:} false; then :
5734 $as_echo_n "(cached) " >&6
5735 else
5736 if test -n "$ICOTOOL"; then
5737 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5738 else
5739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5740 for as_dir in $PATH
5742 IFS=$as_save_IFS
5743 test -z "$as_dir" && as_dir=.
5744 for ac_exec_ext in '' $ac_executable_extensions; do
5745 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5746 ac_cv_prog_ICOTOOL="$ac_prog"
5747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5748 break 2
5750 done
5751 done
5752 IFS=$as_save_IFS
5756 ICOTOOL=$ac_cv_prog_ICOTOOL
5757 if test -n "$ICOTOOL"; then
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5759 $as_echo "$ICOTOOL" >&6; }
5760 else
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5762 $as_echo "no" >&6; }
5766 test -n "$ICOTOOL" && break
5767 done
5768 test -n "$ICOTOOL" || ICOTOOL="false"
5770 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5771 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5773 if test "$CONVERT" = false
5774 then
5775 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5776 else
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5778 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5779 convert_version=`convert --version | head -n1`
5780 if test "x$convert_version" != "x"
5781 then
5782 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5783 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5784 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5785 then
5786 CONVERT=false
5789 if test "$CONVERT" = false
5790 then
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5792 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5793 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5794 else
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5796 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5800 if test "$ICOTOOL" = false
5801 then
5802 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5803 else
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5805 $as_echo_n "checking for recent enough icotool... " >&6; }
5806 icotool_version=`icotool --version | head -n1`
5807 if test "x$icotool_version" != "x"
5808 then
5809 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5810 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5811 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5812 then
5813 ICOTOOL=false
5814 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5817 if test "$ICOTOOL" = false
5818 then
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5820 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5821 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5822 else
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5824 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5828 with_gettext=yes
5829 with_gettextpo=yes
5830 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5833 test "x$with_gettext" != xno || MSGFMT=false
5834 if test "$MSGFMT" != "false"
5835 then
5836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5837 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5838 cat >conftest.po <<EOF
5839 # comment
5840 msgctxt "ctxt"
5841 msgid "id"
5842 msgstr "str"
5844 if $MSGFMT -o /dev/null conftest.po 2>&5
5845 then
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5847 $as_echo "yes" >&6; }
5848 else
5849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5850 $as_echo "no" >&6; }
5851 MSGFMT=false
5854 if test "$MSGFMT" = false; then :
5855 case "x$with_gettext" in
5856 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
5857 xno) ;;
5858 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
5859 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5860 esac
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5865 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5866 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
5867 $as_echo_n "(cached) " >&6
5868 else
5869 ac_check_lib_save_LIBS=$LIBS
5870 LIBS="-li386 $LIBS"
5871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5872 /* end confdefs.h. */
5874 /* Override any GCC internal prototype to avoid an error.
5875 Use char because int might match the return type of a GCC
5876 builtin and then its argument prototype would still apply. */
5877 #ifdef __cplusplus
5878 extern "C"
5879 #endif
5880 char i386_set_ldt ();
5882 main ()
5884 return i386_set_ldt ();
5886 return 0;
5888 _ACEOF
5889 if ac_fn_c_try_link "$LINENO"; then :
5890 ac_cv_lib_i386_i386_set_ldt=yes
5891 else
5892 ac_cv_lib_i386_i386_set_ldt=no
5894 rm -f core conftest.err conftest.$ac_objext \
5895 conftest$ac_exeext conftest.$ac_ext
5896 LIBS=$ac_check_lib_save_LIBS
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5899 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5900 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
5901 cat >>confdefs.h <<_ACEOF
5902 #define HAVE_LIBI386 1
5903 _ACEOF
5905 LIBS="-li386 $LIBS"
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5910 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5911 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
5912 $as_echo_n "(cached) " >&6
5913 else
5914 ac_check_lib_save_LIBS=$LIBS
5915 LIBS="-lossaudio $LIBS"
5916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5917 /* end confdefs.h. */
5919 /* Override any GCC internal prototype to avoid an error.
5920 Use char because int might match the return type of a GCC
5921 builtin and then its argument prototype would still apply. */
5922 #ifdef __cplusplus
5923 extern "C"
5924 #endif
5925 char _oss_ioctl ();
5927 main ()
5929 return _oss_ioctl ();
5931 return 0;
5933 _ACEOF
5934 if ac_fn_c_try_link "$LINENO"; then :
5935 ac_cv_lib_ossaudio__oss_ioctl=yes
5936 else
5937 ac_cv_lib_ossaudio__oss_ioctl=no
5939 rm -f core conftest.err conftest.$ac_objext \
5940 conftest$ac_exeext conftest.$ac_ext
5941 LIBS=$ac_check_lib_save_LIBS
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5944 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5945 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
5946 cat >>confdefs.h <<_ACEOF
5947 #define HAVE_LIBOSSAUDIO 1
5948 _ACEOF
5950 LIBS="-lossaudio $LIBS"
5955 OPENGL_LIBS=""
5959 # Check whether --enable-largefile was given.
5960 if test "${enable_largefile+set}" = set; then :
5961 enableval=$enable_largefile;
5964 if test "$enable_largefile" != no; then
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5967 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5968 if ${ac_cv_sys_largefile_CC+:} false; then :
5969 $as_echo_n "(cached) " >&6
5970 else
5971 ac_cv_sys_largefile_CC=no
5972 if test "$GCC" != yes; then
5973 ac_save_CC=$CC
5974 while :; do
5975 # IRIX 6.2 and later do not support large files by default,
5976 # so use the C compiler's -n32 option if that helps.
5977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5978 /* end confdefs.h. */
5979 #include <sys/types.h>
5980 /* Check that off_t can represent 2**63 - 1 correctly.
5981 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5982 since some C++ compilers masquerading as C compilers
5983 incorrectly reject 9223372036854775807. */
5984 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5985 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5986 && LARGE_OFF_T % 2147483647 == 1)
5987 ? 1 : -1];
5989 main ()
5993 return 0;
5995 _ACEOF
5996 if ac_fn_c_try_compile "$LINENO"; then :
5997 break
5999 rm -f core conftest.err conftest.$ac_objext
6000 CC="$CC -n32"
6001 if ac_fn_c_try_compile "$LINENO"; then :
6002 ac_cv_sys_largefile_CC=' -n32'; break
6004 rm -f core conftest.err conftest.$ac_objext
6005 break
6006 done
6007 CC=$ac_save_CC
6008 rm -f conftest.$ac_ext
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6012 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6013 if test "$ac_cv_sys_largefile_CC" != no; then
6014 CC=$CC$ac_cv_sys_largefile_CC
6017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6018 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6019 if ${ac_cv_sys_file_offset_bits+:} false; then :
6020 $as_echo_n "(cached) " >&6
6021 else
6022 while :; do
6023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6024 /* end confdefs.h. */
6025 #include <sys/types.h>
6026 /* Check that off_t can represent 2**63 - 1 correctly.
6027 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6028 since some C++ compilers masquerading as C compilers
6029 incorrectly reject 9223372036854775807. */
6030 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6031 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6032 && LARGE_OFF_T % 2147483647 == 1)
6033 ? 1 : -1];
6035 main ()
6039 return 0;
6041 _ACEOF
6042 if ac_fn_c_try_compile "$LINENO"; then :
6043 ac_cv_sys_file_offset_bits=no; break
6045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6047 /* end confdefs.h. */
6048 #define _FILE_OFFSET_BITS 64
6049 #include <sys/types.h>
6050 /* Check that off_t can represent 2**63 - 1 correctly.
6051 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6052 since some C++ compilers masquerading as C compilers
6053 incorrectly reject 9223372036854775807. */
6054 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6055 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6056 && LARGE_OFF_T % 2147483647 == 1)
6057 ? 1 : -1];
6059 main ()
6063 return 0;
6065 _ACEOF
6066 if ac_fn_c_try_compile "$LINENO"; then :
6067 ac_cv_sys_file_offset_bits=64; break
6069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6070 ac_cv_sys_file_offset_bits=unknown
6071 break
6072 done
6074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6075 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6076 case $ac_cv_sys_file_offset_bits in #(
6077 no | unknown) ;;
6079 cat >>confdefs.h <<_ACEOF
6080 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6081 _ACEOF
6083 esac
6084 rm -rf conftest*
6085 if test $ac_cv_sys_file_offset_bits = unknown; then
6086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6087 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6088 if ${ac_cv_sys_large_files+:} false; then :
6089 $as_echo_n "(cached) " >&6
6090 else
6091 while :; do
6092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6093 /* end confdefs.h. */
6094 #include <sys/types.h>
6095 /* Check that off_t can represent 2**63 - 1 correctly.
6096 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6097 since some C++ compilers masquerading as C compilers
6098 incorrectly reject 9223372036854775807. */
6099 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6100 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6101 && LARGE_OFF_T % 2147483647 == 1)
6102 ? 1 : -1];
6104 main ()
6108 return 0;
6110 _ACEOF
6111 if ac_fn_c_try_compile "$LINENO"; then :
6112 ac_cv_sys_large_files=no; break
6114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6116 /* end confdefs.h. */
6117 #define _LARGE_FILES 1
6118 #include <sys/types.h>
6119 /* Check that off_t can represent 2**63 - 1 correctly.
6120 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6121 since some C++ compilers masquerading as C compilers
6122 incorrectly reject 9223372036854775807. */
6123 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6124 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6125 && LARGE_OFF_T % 2147483647 == 1)
6126 ? 1 : -1];
6128 main ()
6132 return 0;
6134 _ACEOF
6135 if ac_fn_c_try_compile "$LINENO"; then :
6136 ac_cv_sys_large_files=1; break
6138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6139 ac_cv_sys_large_files=unknown
6140 break
6141 done
6143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6144 $as_echo "$ac_cv_sys_large_files" >&6; }
6145 case $ac_cv_sys_large_files in #(
6146 no | unknown) ;;
6148 cat >>confdefs.h <<_ACEOF
6149 #define _LARGE_FILES $ac_cv_sys_large_files
6150 _ACEOF
6152 esac
6153 rm -rf conftest*
6160 ac_ext=c
6161 ac_cpp='$CPP $CPPFLAGS'
6162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6166 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6167 # On Suns, sometimes $CPP names a directory.
6168 if test -n "$CPP" && test -d "$CPP"; then
6169 CPP=
6171 if test -z "$CPP"; then
6172 if ${ac_cv_prog_CPP+:} false; then :
6173 $as_echo_n "(cached) " >&6
6174 else
6175 # Double quotes because CPP needs to be expanded
6176 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6178 ac_preproc_ok=false
6179 for ac_c_preproc_warn_flag in '' yes
6181 # Use a header file that comes with gcc, so configuring glibc
6182 # with a fresh cross-compiler works.
6183 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6184 # <limits.h> exists even on freestanding compilers.
6185 # On the NeXT, cc -E runs the code through the compiler's parser,
6186 # not just through cpp. "Syntax error" is here to catch this case.
6187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6188 /* end confdefs.h. */
6189 #ifdef __STDC__
6190 # include <limits.h>
6191 #else
6192 # include <assert.h>
6193 #endif
6194 Syntax error
6195 _ACEOF
6196 if ac_fn_c_try_cpp "$LINENO"; then :
6198 else
6199 # Broken: fails on valid input.
6200 continue
6202 rm -f conftest.err conftest.i conftest.$ac_ext
6204 # OK, works on sane cases. Now check whether nonexistent headers
6205 # can be detected and how.
6206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6207 /* end confdefs.h. */
6208 #include <ac_nonexistent.h>
6209 _ACEOF
6210 if ac_fn_c_try_cpp "$LINENO"; then :
6211 # Broken: success on invalid input.
6212 continue
6213 else
6214 # Passes both tests.
6215 ac_preproc_ok=:
6216 break
6218 rm -f conftest.err conftest.i conftest.$ac_ext
6220 done
6221 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6222 rm -f conftest.i conftest.err conftest.$ac_ext
6223 if $ac_preproc_ok; then :
6224 break
6227 done
6228 ac_cv_prog_CPP=$CPP
6231 CPP=$ac_cv_prog_CPP
6232 else
6233 ac_cv_prog_CPP=$CPP
6235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6236 $as_echo "$CPP" >&6; }
6237 ac_preproc_ok=false
6238 for ac_c_preproc_warn_flag in '' yes
6240 # Use a header file that comes with gcc, so configuring glibc
6241 # with a fresh cross-compiler works.
6242 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6243 # <limits.h> exists even on freestanding compilers.
6244 # On the NeXT, cc -E runs the code through the compiler's parser,
6245 # not just through cpp. "Syntax error" is here to catch this case.
6246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6247 /* end confdefs.h. */
6248 #ifdef __STDC__
6249 # include <limits.h>
6250 #else
6251 # include <assert.h>
6252 #endif
6253 Syntax error
6254 _ACEOF
6255 if ac_fn_c_try_cpp "$LINENO"; then :
6257 else
6258 # Broken: fails on valid input.
6259 continue
6261 rm -f conftest.err conftest.i conftest.$ac_ext
6263 # OK, works on sane cases. Now check whether nonexistent headers
6264 # can be detected and how.
6265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6266 /* end confdefs.h. */
6267 #include <ac_nonexistent.h>
6268 _ACEOF
6269 if ac_fn_c_try_cpp "$LINENO"; then :
6270 # Broken: success on invalid input.
6271 continue
6272 else
6273 # Passes both tests.
6274 ac_preproc_ok=:
6275 break
6277 rm -f conftest.err conftest.i conftest.$ac_ext
6279 done
6280 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6281 rm -f conftest.i conftest.err conftest.$ac_ext
6282 if $ac_preproc_ok; then :
6284 else
6285 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6286 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6287 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6288 See \`config.log' for more details" "$LINENO" 5; }
6291 ac_ext=c
6292 ac_cpp='$CPP $CPPFLAGS'
6293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6299 $as_echo_n "checking for ANSI C header files... " >&6; }
6300 if ${ac_cv_header_stdc+:} false; then :
6301 $as_echo_n "(cached) " >&6
6302 else
6303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6304 /* end confdefs.h. */
6305 #include <stdlib.h>
6306 #include <stdarg.h>
6307 #include <string.h>
6308 #include <float.h>
6311 main ()
6315 return 0;
6317 _ACEOF
6318 if ac_fn_c_try_compile "$LINENO"; then :
6319 ac_cv_header_stdc=yes
6320 else
6321 ac_cv_header_stdc=no
6323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6325 if test $ac_cv_header_stdc = yes; then
6326 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6328 /* end confdefs.h. */
6329 #include <string.h>
6331 _ACEOF
6332 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6333 $EGREP "memchr" >/dev/null 2>&1; then :
6335 else
6336 ac_cv_header_stdc=no
6338 rm -f conftest*
6342 if test $ac_cv_header_stdc = yes; then
6343 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6345 /* end confdefs.h. */
6346 #include <stdlib.h>
6348 _ACEOF
6349 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6350 $EGREP "free" >/dev/null 2>&1; then :
6352 else
6353 ac_cv_header_stdc=no
6355 rm -f conftest*
6359 if test $ac_cv_header_stdc = yes; then
6360 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6361 if test "$cross_compiling" = yes; then :
6363 else
6364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6365 /* end confdefs.h. */
6366 #include <ctype.h>
6367 #include <stdlib.h>
6368 #if ((' ' & 0x0FF) == 0x020)
6369 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6370 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6371 #else
6372 # define ISLOWER(c) \
6373 (('a' <= (c) && (c) <= 'i') \
6374 || ('j' <= (c) && (c) <= 'r') \
6375 || ('s' <= (c) && (c) <= 'z'))
6376 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6377 #endif
6379 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6381 main ()
6383 int i;
6384 for (i = 0; i < 256; i++)
6385 if (XOR (islower (i), ISLOWER (i))
6386 || toupper (i) != TOUPPER (i))
6387 return 2;
6388 return 0;
6390 _ACEOF
6391 if ac_fn_c_try_run "$LINENO"; then :
6393 else
6394 ac_cv_header_stdc=no
6396 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6397 conftest.$ac_objext conftest.beam conftest.$ac_ext
6402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6403 $as_echo "$ac_cv_header_stdc" >&6; }
6404 if test $ac_cv_header_stdc = yes; then
6406 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6410 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6411 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6412 inttypes.h stdint.h unistd.h
6413 do :
6414 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6415 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6417 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6418 cat >>confdefs.h <<_ACEOF
6419 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6420 _ACEOF
6424 done
6427 for ac_header in \
6428 AL/al.h \
6429 ApplicationServices/ApplicationServices.h \
6430 AudioToolbox/AudioConverter.h \
6431 AudioUnit/AudioUnit.h \
6432 AudioUnit/AudioComponent.h \
6433 CL/cl.h \
6434 Carbon/Carbon.h \
6435 CoreAudio/CoreAudio.h \
6436 CoreServices/CoreServices.h \
6437 DiskArbitration/DiskArbitration.h \
6438 IOKit/IOKitLib.h \
6439 IOKit/hid/IOHIDLib.h \
6440 OpenAL/al.h \
6441 OpenCL/opencl.h \
6442 QuickTime/ImageCompression.h \
6443 Security/Security.h \
6444 alias.h \
6445 alsa/asoundlib.h \
6446 arpa/inet.h \
6447 arpa/nameser.h \
6448 asm/types.h \
6449 asm/user.h \
6450 curses.h \
6451 direct.h \
6452 dirent.h \
6453 dlfcn.h \
6454 elf.h \
6455 float.h \
6456 fnmatch.h \
6457 getopt.h \
6458 gettext-po.h \
6459 grp.h \
6460 gsm.h \
6461 gsm/gsm.h \
6462 ieeefp.h \
6463 inet/mib2.h \
6464 io.h \
6465 kstat.h \
6466 lber.h \
6467 ldap.h \
6468 libproc.h \
6469 link.h \
6470 linux/cdrom.h \
6471 linux/compiler.h \
6472 linux/filter.h \
6473 linux/hdreg.h \
6474 linux/input.h \
6475 linux/ioctl.h \
6476 linux/joystick.h \
6477 linux/major.h \
6478 linux/param.h \
6479 linux/serial.h \
6480 linux/types.h \
6481 linux/ucdrom.h \
6482 lwp.h \
6483 mach-o/nlist.h \
6484 mach-o/loader.h \
6485 mach/mach.h \
6486 mach/machine.h \
6487 machine/cpu.h \
6488 machine/limits.h \
6489 machine/sysarch.h \
6490 mntent.h \
6491 ncurses.h \
6492 netdb.h \
6493 netinet/in.h \
6494 netinet/in_systm.h \
6495 netinet/tcp.h \
6496 netinet/tcp_fsm.h \
6497 poll.h \
6498 port.h \
6499 process.h \
6500 pthread.h \
6501 pwd.h \
6502 sched.h \
6503 scsi/scsi.h \
6504 scsi/scsi_ioctl.h \
6505 scsi/sg.h \
6506 stdbool.h \
6507 stdint.h \
6508 stropts.h \
6509 sys/asoundlib.h \
6510 sys/attr.h \
6511 sys/cdio.h \
6512 sys/elf32.h \
6513 sys/epoll.h \
6514 sys/event.h \
6515 sys/exec_elf.h \
6516 sys/filio.h \
6517 sys/inotify.h \
6518 sys/ioctl.h \
6519 sys/ipc.h \
6520 sys/limits.h \
6521 sys/link.h \
6522 sys/mman.h \
6523 sys/modem.h \
6524 sys/msg.h \
6525 sys/mtio.h \
6526 sys/param.h \
6527 sys/poll.h \
6528 sys/prctl.h \
6529 sys/protosw.h \
6530 sys/ptrace.h \
6531 sys/queue.h \
6532 sys/resource.h \
6533 sys/scsiio.h \
6534 sys/shm.h \
6535 sys/signal.h \
6536 sys/socket.h \
6537 sys/socketvar.h \
6538 sys/sockio.h \
6539 sys/statvfs.h \
6540 sys/strtio.h \
6541 sys/syscall.h \
6542 sys/tihdr.h \
6543 sys/time.h \
6544 sys/timeout.h \
6545 sys/times.h \
6546 sys/uio.h \
6547 sys/user.h \
6548 sys/utsname.h \
6549 sys/vm86.h \
6550 sys/wait.h \
6551 syscall.h \
6552 termios.h \
6553 unistd.h \
6554 utime.h \
6555 valgrind/memcheck.h \
6556 valgrind/valgrind.h \
6557 zlib.h
6559 do :
6560 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6561 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6562 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6563 cat >>confdefs.h <<_ACEOF
6564 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6565 _ACEOF
6569 done
6571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6572 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6573 if ${ac_cv_header_stat_broken+:} false; then :
6574 $as_echo_n "(cached) " >&6
6575 else
6576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6577 /* end confdefs.h. */
6578 #include <sys/types.h>
6579 #include <sys/stat.h>
6581 #if defined S_ISBLK && defined S_IFDIR
6582 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6583 #endif
6585 #if defined S_ISBLK && defined S_IFCHR
6586 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6587 #endif
6589 #if defined S_ISLNK && defined S_IFREG
6590 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6591 #endif
6593 #if defined S_ISSOCK && defined S_IFREG
6594 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6595 #endif
6597 _ACEOF
6598 if ac_fn_c_try_compile "$LINENO"; then :
6599 ac_cv_header_stat_broken=no
6600 else
6601 ac_cv_header_stat_broken=yes
6603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6606 $as_echo "$ac_cv_header_stat_broken" >&6; }
6607 if test $ac_cv_header_stat_broken = yes; then
6609 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6615 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6616 do :
6617 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6618 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6619 #ifdef HAVE_SYS_PARAM_H
6620 # include <sys/param.h>
6621 #endif
6623 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6624 cat >>confdefs.h <<_ACEOF
6625 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6626 _ACEOF
6630 done
6633 for ac_header in \
6634 netinet/ip.h \
6635 net/if.h \
6636 net/if_arp.h \
6637 net/if_dl.h \
6638 net/if_types.h \
6639 net/route.h \
6640 netinet/if_ether.h \
6641 netinet/if_inarp.h \
6642 netinet/in_pcb.h \
6643 netinet/ip_icmp.h \
6644 netinet/ip_var.h \
6645 netinet/udp.h \
6646 netipx/ipx.h \
6647 sys/un.h \
6649 do :
6650 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6651 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6652 #ifdef HAVE_SYS_SOCKET_H
6653 # include <sys/socket.h>
6654 #endif
6655 #ifdef HAVE_SYS_SOCKETVAR_H
6656 # include <sys/socketvar.h>
6657 #endif
6658 #ifdef HAVE_NET_ROUTE_H
6659 # include <net/route.h>
6660 #endif
6661 #ifdef HAVE_NETINET_IN_H
6662 # include <netinet/in.h>
6663 #endif
6664 #ifdef HAVE_NETINET_IN_SYSTM_H
6665 # include <netinet/in_systm.h>
6666 #endif
6667 #ifdef HAVE_NET_IF_H
6668 # include <net/if.h>
6669 #endif
6670 #ifdef HAVE_NETINET_IP_H
6671 # include <netinet/ip.h>
6672 #endif
6674 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6675 cat >>confdefs.h <<_ACEOF
6676 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6677 _ACEOF
6681 done
6684 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6685 do :
6686 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6687 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6688 #ifdef HAVE_ALIAS_H
6689 # include <alias.h>
6690 #endif
6691 #ifdef HAVE_SYS_SOCKET_H
6692 # include <sys/socket.h>
6693 #endif
6694 #ifdef HAVE_SYS_SOCKETVAR_H
6695 # include <sys/socketvar.h>
6696 #endif
6697 #ifdef HAVE_SYS_TIMEOUT_H
6698 # include <sys/timeout.h>
6699 #endif
6700 #ifdef HAVE_NETINET_IN_H
6701 # include <netinet/in.h>
6702 #endif
6703 #ifdef HAVE_NETINET_IN_SYSTM_H
6704 # include <netinet/in_systm.h>
6705 #endif
6706 #ifdef HAVE_NETINET_IP_H
6707 # include <netinet/ip.h>
6708 #endif
6709 #ifdef HAVE_NETINET_IP_VAR_H
6710 # include <netinet/ip_var.h>
6711 #endif
6712 #ifdef HAVE_NETINET_IP_ICMP_H
6713 # include <netinet/ip_icmp.h>
6714 #endif
6715 #ifdef HAVE_NETINET_UDP_H
6716 # include <netinet/udp.h>
6717 #endif
6718 #ifdef HAVE_NETINET_TCP_H
6719 # include <netinet/tcp.h>
6720 #endif
6721 #ifdef HAVE_NETINET_TCP_TIMER_H
6722 #include <netinet/tcp_timer.h>
6723 #endif
6725 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6726 cat >>confdefs.h <<_ACEOF
6727 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6728 _ACEOF
6732 done
6735 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6736 do :
6737 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6738 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6739 #ifdef HAVE_ASM_TYPES_H
6740 # include <asm/types.h>
6741 #endif
6742 #ifdef HAVE_SYS_SOCKET_H
6743 # include <sys/socket.h>
6744 #endif
6745 #ifdef HAVE_LINUX_TYPES_H
6746 # include <linux/types.h>
6747 #endif
6749 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6750 cat >>confdefs.h <<_ACEOF
6751 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6752 _ACEOF
6756 done
6759 for ac_header in mach-o/dyld_images.h
6760 do :
6761 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6762 # include <stdbool.h>
6763 #endif
6764 #ifdef HAVE_STDINT_H
6765 # include <stdint.h>
6766 #endif
6768 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6769 cat >>confdefs.h <<_ACEOF
6770 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6771 _ACEOF
6775 done
6778 for ac_header in resolv.h
6779 do :
6780 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6781 #ifdef HAVE_SYS_SOCKET_H
6782 # include <sys/socket.h>
6783 #endif
6784 #ifdef HAVE_NETINET_IN_H
6785 # include <netinet/in.h>
6786 #endif
6787 #ifdef HAVE_ARPA_NAMESER_H
6788 # include <arpa/nameser.h>
6789 #endif
6791 if test "x$ac_cv_header_resolv_h" = xyes; then :
6792 cat >>confdefs.h <<_ACEOF
6793 #define HAVE_RESOLV_H 1
6794 _ACEOF
6798 done
6801 for ac_header in ifaddrs.h
6802 do :
6803 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6805 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6806 cat >>confdefs.h <<_ACEOF
6807 #define HAVE_IFADDRS_H 1
6808 _ACEOF
6812 done
6815 for ac_header in ucontext.h
6816 do :
6817 ac_fn_c_check_header_compile "$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6819 if test "x$ac_cv_header_ucontext_h" = xyes; then :
6820 cat >>confdefs.h <<_ACEOF
6821 #define HAVE_UCONTEXT_H 1
6822 _ACEOF
6826 done
6829 for ac_header in sys/thr.h
6830 do :
6831 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6832 #ifdef HAVE_UCONTEXT_H
6833 #include <ucontext.h>
6834 #endif
6836 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
6837 cat >>confdefs.h <<_ACEOF
6838 #define HAVE_SYS_THR_H 1
6839 _ACEOF
6843 done
6846 for ac_header in pthread_np.h
6847 do :
6848 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6849 #include <pthread.h>
6850 #endif
6852 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
6853 cat >>confdefs.h <<_ACEOF
6854 #define HAVE_PTHREAD_NP_H 1
6855 _ACEOF
6859 done
6862 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
6863 do :
6864 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6865 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6866 #include <sys/time.h>
6867 #endif
6868 #include <sys/types.h>
6869 #ifdef HAVE_ASM_TYPES_H
6870 #include <asm/types.h>
6871 #endif
6873 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6874 cat >>confdefs.h <<_ACEOF
6875 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6876 _ACEOF
6880 done
6883 for ac_header in libprocstat.h
6884 do :
6885 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6886 #include <sys/param.h>
6887 #endif
6888 #ifdef HAVE_SYS_QUEUE_H
6889 #include <sys/queue.h>
6890 #endif
6891 #ifdef HAVE_SYS_SOCKET_H
6892 #include <sys/socket.h>
6893 #endif
6895 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
6896 cat >>confdefs.h <<_ACEOF
6897 #define HAVE_LIBPROCSTAT_H 1
6898 _ACEOF
6902 done
6906 dlldir="\${libdir}/wine"
6908 DLLPREFIX=""
6910 DLLFLAGS="-D_REENTRANT"
6912 LDRPATH_INSTALL=""
6914 LDRPATH_LOCAL=""
6916 LIBEXT="so"
6917 DLLEXT=".so"
6918 IMPLIBEXT="def"
6919 STATIC_IMPLIBEXT="def.a"
6920 # Extract the first word of "ldd", so it can be a program name with args.
6921 set dummy ldd; ac_word=$2
6922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6923 $as_echo_n "checking for $ac_word... " >&6; }
6924 if ${ac_cv_path_LDD+:} false; then :
6925 $as_echo_n "(cached) " >&6
6926 else
6927 case $LDD in
6928 [\\/]* | ?:[\\/]*)
6929 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
6932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6933 as_dummy="/sbin:/usr/sbin:$PATH"
6934 for as_dir in $as_dummy
6936 IFS=$as_save_IFS
6937 test -z "$as_dir" && as_dir=.
6938 for ac_exec_ext in '' $ac_executable_extensions; do
6939 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6940 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
6941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6942 break 2
6944 done
6945 done
6946 IFS=$as_save_IFS
6948 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
6950 esac
6952 LDD=$ac_cv_path_LDD
6953 if test -n "$LDD"; then
6954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6955 $as_echo "$LDD" >&6; }
6956 else
6957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6958 $as_echo "no" >&6; }
6962 if test -n "$ac_tool_prefix"; then
6963 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
6964 set dummy ${ac_tool_prefix}readelf; ac_word=$2
6965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6966 $as_echo_n "checking for $ac_word... " >&6; }
6967 if ${ac_cv_prog_READELF+:} false; then :
6968 $as_echo_n "(cached) " >&6
6969 else
6970 if test -n "$READELF"; then
6971 ac_cv_prog_READELF="$READELF" # Let the user override the test.
6972 else
6973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6974 for as_dir in $PATH
6976 IFS=$as_save_IFS
6977 test -z "$as_dir" && as_dir=.
6978 for ac_exec_ext in '' $ac_executable_extensions; do
6979 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6980 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
6981 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6982 break 2
6984 done
6985 done
6986 IFS=$as_save_IFS
6990 READELF=$ac_cv_prog_READELF
6991 if test -n "$READELF"; then
6992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
6993 $as_echo "$READELF" >&6; }
6994 else
6995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6996 $as_echo "no" >&6; }
7001 if test -z "$ac_cv_prog_READELF"; then
7002 ac_ct_READELF=$READELF
7003 # Extract the first word of "readelf", so it can be a program name with args.
7004 set dummy readelf; ac_word=$2
7005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7006 $as_echo_n "checking for $ac_word... " >&6; }
7007 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7008 $as_echo_n "(cached) " >&6
7009 else
7010 if test -n "$ac_ct_READELF"; then
7011 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7012 else
7013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7014 for as_dir in $PATH
7016 IFS=$as_save_IFS
7017 test -z "$as_dir" && as_dir=.
7018 for ac_exec_ext in '' $ac_executable_extensions; do
7019 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7020 ac_cv_prog_ac_ct_READELF="readelf"
7021 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7022 break 2
7024 done
7025 done
7026 IFS=$as_save_IFS
7030 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7031 if test -n "$ac_ct_READELF"; then
7032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7033 $as_echo "$ac_ct_READELF" >&6; }
7034 else
7035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7036 $as_echo "no" >&6; }
7039 if test "x$ac_ct_READELF" = x; then
7040 READELF="true"
7041 else
7042 case $cross_compiling:$ac_tool_warned in
7043 yes:)
7044 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7045 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7046 ac_tool_warned=yes ;;
7047 esac
7048 READELF=$ac_ct_READELF
7050 else
7051 READELF="$ac_cv_prog_READELF"
7054 wine_rules_file=conf$$rules.make
7055 rm -f $wine_rules_file
7056 ALL_POT_FILES=""
7057 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7058 ALL_TEST_RESOURCES=""
7061 wine_fn_append_file ()
7063 as_fn_append $1 " \\$as_nl $2"
7066 wine_fn_ignore_file ()
7068 case "$1" in
7069 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7070 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7071 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7072 esac
7075 wine_fn_append_rule ()
7077 $as_echo "$1" >>$wine_rules_file
7080 wine_fn_has_flag ()
7082 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7085 wine_fn_depend_rules ()
7087 wine_fn_append_rule \
7088 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7089 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7090 depend: $ac_dir/depend
7091 .PHONY: $ac_dir/depend
7092 $ac_dir/depend: \$(MAKEDEP) dummy
7093 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7096 wine_fn_pot_rules ()
7098 test "x$with_gettextpo" = xyes || return
7100 if wine_fn_has_flag mc
7101 then
7102 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7103 wine_fn_append_rule \
7104 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7105 @cd $ac_dir && \$(MAKE) msg.pot
7106 $ac_dir/msg.pot: tools/wmc include"
7108 if wine_fn_has_flag po
7109 then
7110 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7111 wine_fn_append_rule \
7112 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7113 @cd $ac_dir && \$(MAKE) rsrc.pot
7114 $ac_dir/rsrc.pot: tools/wrc include"
7118 wine_fn_all_rules ()
7120 wine_fn_depend_rules
7121 wine_fn_append_rule \
7122 "all: $ac_dir
7123 .PHONY: $ac_dir
7124 $ac_dir: $ac_dir/Makefile dummy
7125 @cd $ac_dir && \$(MAKE)"
7128 wine_fn_install_rules ()
7130 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7132 wine_fn_append_rule \
7133 ".PHONY: $ac_dir/install $ac_dir/uninstall
7134 $ac_dir/install:: $ac_dir
7135 @cd $ac_dir && \$(MAKE) install
7136 $ac_dir/uninstall:: $ac_dir/Makefile
7137 @cd $ac_dir && \$(MAKE) uninstall
7138 install:: $ac_dir/install
7139 __uninstall__: $ac_dir/uninstall"
7141 if wine_fn_has_flag install-lib
7142 then
7143 wine_fn_append_rule \
7144 ".PHONY: $ac_dir/install-lib
7145 $ac_dir/install-lib:: $ac_dir
7146 @cd $ac_dir && \$(MAKE) install-lib
7147 install-lib:: $ac_dir/install-lib"
7150 if wine_fn_has_flag install-dev
7151 then
7152 wine_fn_append_rule \
7153 ".PHONY: $ac_dir/install-dev
7154 $ac_dir/install-dev:: $ac_dir
7155 @cd $ac_dir && \$(MAKE) install-dev
7156 install-dev:: $ac_dir/install-dev"
7160 wine_fn_clean_rules ()
7162 ac_clean=$@
7163 ac_extraclean="$ac_dir/Makefile"
7164 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7165 case $ac_dir in
7166 */tests) ac_extraclean="$ac_extraclean $ac_dir/testlist.c" ;;
7167 esac
7169 if wine_fn_has_flag clean
7170 then
7171 wine_fn_append_rule \
7172 "__clean__: $ac_dir/clean
7173 .PHONY: $ac_dir/clean
7174 $ac_dir/clean: $ac_dir/Makefile
7175 @cd $ac_dir && \$(MAKE) clean
7176 \$(RM) $ac_extraclean"
7177 else
7178 wine_fn_append_rule \
7179 "__clean__: $ac_dir/clean
7180 .PHONY: $ac_dir/clean
7181 $ac_dir/clean: dummy
7182 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7186 wine_fn_disabled_rules ()
7188 ac_clean=$@
7189 ac_extraclean="$ac_dir/Makefile"
7190 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7192 wine_fn_append_rule \
7193 "__clean__: $ac_dir/clean
7194 .PHONY: $ac_dir/clean
7195 $ac_dir/clean: dummy
7196 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7199 wine_fn_config_makefile ()
7201 ac_dir=$1
7202 ac_enable=$2
7203 ac_flags=$3
7205 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7206 wine_fn_disabled_rules; return
7208 wine_fn_all_rules
7209 wine_fn_install_rules
7210 wine_fn_clean_rules
7213 wine_fn_config_lib ()
7215 ac_name=$1
7216 ac_flags=$2
7217 ac_dir=dlls/$ac_name
7218 ac_deps="include"
7220 if test "x$enable_tools" = xno; then :
7222 else
7223 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7225 wine_fn_all_rules
7226 wine_fn_clean_rules
7228 wine_fn_append_rule \
7229 ".PHONY: $ac_dir/install $ac_dir/uninstall
7230 $ac_dir/install:: $ac_dir
7231 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7232 $ac_dir/uninstall::
7233 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7234 install install-dev:: $ac_dir/install
7235 __uninstall__: $ac_dir/uninstall
7236 __builddeps__: $ac_dir
7237 $ac_dir: $ac_deps"
7240 wine_fn_config_dll ()
7242 ac_name=$1
7243 ac_dir=dlls/$ac_name
7244 ac_enable=$2
7245 ac_flags=$3
7246 ac_implib=${4:-$ac_name}
7247 ac_file=$ac_dir/lib$ac_implib
7248 ac_dll=$ac_name
7249 ac_deps="include"
7250 ac_implibflags=""
7252 if test "x$enable_tools" = xno; then :
7254 else
7255 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7257 case $ac_name in
7258 *16) ac_implibflags=" -m16" ;;
7259 *.*) ;;
7260 *) ac_dll=$ac_dll.dll ;;
7261 esac
7263 ac_clean=
7264 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7265 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7266 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7267 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7269 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7270 if wine_fn_has_flag implib && test "$ac_enable" != enable_win16
7271 then
7272 wine_fn_depend_rules
7273 wine_fn_clean_rules $ac_clean
7274 else
7275 wine_fn_disabled_rules $ac_clean
7276 return
7278 else
7279 wine_fn_all_rules
7280 wine_fn_clean_rules $ac_clean
7281 wine_fn_append_rule \
7282 "$ac_dir: __builddeps__
7283 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7284 @cd $ac_dir && \$(MAKE) \$@
7285 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7286 install install-lib:: $ac_dir/install-lib
7287 __uninstall__: $ac_dir/uninstall"
7288 if test -n "$DLLEXT"
7289 then
7290 wine_fn_append_rule \
7291 "$ac_dir/install-lib:: $ac_dir
7292 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7293 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7294 $ac_dir/uninstall::
7295 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7296 else
7297 wine_fn_append_rule \
7298 "$ac_dir/install-lib:: $ac_dir
7299 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7300 $ac_dir/uninstall::
7301 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7304 wine_fn_pot_rules
7307 if wine_fn_has_flag staticimplib
7308 then
7309 wine_fn_append_rule \
7310 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7311 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7312 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7313 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7314 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7315 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7316 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7317 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7318 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7319 $ac_dir/uninstall::
7320 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7321 install install-dev:: $ac_dir/install-dev
7322 __uninstall__: $ac_dir/uninstall"
7324 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7325 then
7326 wine_fn_append_rule \
7327 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7328 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7329 $ac_dir/uninstall::
7330 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7333 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7334 then
7335 wine_fn_append_rule \
7336 "__builddeps__: $ac_file.cross.a
7337 $ac_file.cross.a: $ac_dir/Makefile dummy
7338 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7341 elif wine_fn_has_flag implib
7342 then
7343 wine_fn_append_rule \
7344 "__builddeps__: $ac_file.$IMPLIBEXT
7345 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7346 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7347 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7348 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7349 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7350 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7351 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7352 $ac_dir/uninstall::
7353 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7354 install install-dev:: $ac_dir/install-dev
7355 __uninstall__: $ac_dir/uninstall"
7356 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7357 then
7358 wine_fn_append_rule \
7359 "__builddeps__: $ac_file.cross.a
7360 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7361 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7364 if test "$ac_name" != "$ac_implib"
7365 then
7366 wine_fn_append_rule \
7367 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7368 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7369 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7370 clean::
7371 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7372 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7373 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7374 then
7375 wine_fn_append_rule \
7376 "__builddeps__: dlls/lib$ac_implib.cross.a
7377 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7378 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7379 clean::
7380 \$(RM) dlls/lib$ac_implib.cross.a"
7381 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7387 wine_fn_config_program ()
7389 ac_name=$1
7390 ac_dir=programs/$ac_name
7391 ac_enable=$2
7392 ac_flags=$3
7393 ac_program=$ac_name
7395 case $ac_name in
7396 *.*) ;;
7397 *) ac_program=$ac_program.exe ;;
7398 esac
7400 ac_clean=
7401 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7402 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7403 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7404 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7406 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7407 wine_fn_disabled_rules $ac_clean; return
7410 wine_fn_all_rules
7411 wine_fn_clean_rules $ac_clean
7412 wine_fn_append_rule "$ac_dir: __builddeps__"
7413 wine_fn_pot_rules
7415 wine_fn_has_flag install || return
7416 wine_fn_append_rule \
7417 ".PHONY: $ac_dir/install $ac_dir/uninstall
7418 install install-lib:: $ac_dir/install
7419 __uninstall__: $ac_dir/uninstall"
7421 if test -n "$DLLEXT"
7422 then
7423 wine_fn_append_rule \
7424 "$ac_dir/install:: $ac_dir
7425 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7426 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7427 $ac_dir/uninstall::
7428 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7430 if test -z "$with_wine64" && wine_fn_has_flag installbin
7431 then
7432 wine_fn_append_rule \
7433 "$ac_dir/install:: __tooldeps__
7434 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7435 $ac_dir/uninstall::
7436 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7438 else
7439 wine_fn_append_rule \
7440 "$ac_dir/install:: $ac_dir
7441 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7442 $ac_dir/uninstall::
7443 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7446 if test -z "$with_wine64" && wine_fn_has_flag manpage
7447 then
7448 wine_fn_append_rule \
7449 "$ac_dir/install:: $ac_dir
7450 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7451 $ac_dir/uninstall::
7452 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7456 wine_fn_config_test ()
7458 ac_dir=$1
7459 ac_name=$2
7460 ac_flags=$3
7462 ac_clean=
7463 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7464 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7466 if test "x$enable_tests" = xno; then :
7467 wine_fn_disabled_rules $ac_clean; return
7470 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7471 wine_fn_all_rules
7472 wine_fn_clean_rules $ac_clean
7474 wine_fn_append_rule \
7475 "$ac_dir: programs/winetest/Makefile __builddeps__
7476 programs/winetest: $ac_dir
7477 check test: $ac_dir/test
7478 .PHONY: $ac_dir/test
7479 $ac_dir/test: dummy
7480 @cd $ac_dir && \$(MAKE) test
7481 testclean::
7482 \$(RM) $ac_dir/*.ok"
7484 if test -n "$CROSSTARGET"
7485 then
7486 wine_fn_append_rule \
7487 "crosstest: $ac_dir/crosstest
7488 .PHONY: $ac_dir/crosstest
7489 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7490 @cd $ac_dir && \$(MAKE) crosstest"
7494 wine_fn_config_tool ()
7496 ac_dir=$1
7497 ac_flags=$2
7498 if test "x$enable_tools" = xno; then :
7499 return
7502 wine_fn_all_rules
7503 wine_fn_install_rules
7504 wine_fn_clean_rules
7506 wine_fn_append_rule "__tooldeps__: $ac_dir"
7507 wine_fn_append_rule "$ac_dir: libs/port"
7508 case $ac_dir in
7509 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7510 esac
7513 wine_fn_config_symlink ()
7515 ac_linkdir=
7516 if test "x$1" = "x-d"
7517 then
7518 ac_linkdir=$2
7519 shift; shift
7521 ac_links=$@
7522 wine_fn_append_rule \
7523 "$ac_links:
7524 @./config.status \$@
7525 distclean::
7526 \$(RM) $ac_links"
7527 for f in $ac_links; do wine_fn_ignore_file $f; done
7528 test -n "$ac_linkdir" || return
7529 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7532 wine_binary="wine"
7533 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7534 loader_programs="$wine_binary wine-installed"
7535 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7537 LOADER_RULES="
7538 install install-lib:: wine-installed
7539 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7541 uninstall::
7542 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7546 case $host_os in
7547 cygwin*|mingw32*)
7548 if test -n "$ac_tool_prefix"; then
7549 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7550 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7552 $as_echo_n "checking for $ac_word... " >&6; }
7553 if ${ac_cv_prog_DLLTOOL+:} false; then :
7554 $as_echo_n "(cached) " >&6
7555 else
7556 if test -n "$DLLTOOL"; then
7557 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7558 else
7559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7560 for as_dir in $PATH
7562 IFS=$as_save_IFS
7563 test -z "$as_dir" && as_dir=.
7564 for ac_exec_ext in '' $ac_executable_extensions; do
7565 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7566 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7567 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7568 break 2
7570 done
7571 done
7572 IFS=$as_save_IFS
7576 DLLTOOL=$ac_cv_prog_DLLTOOL
7577 if test -n "$DLLTOOL"; then
7578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7579 $as_echo "$DLLTOOL" >&6; }
7580 else
7581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7582 $as_echo "no" >&6; }
7587 if test -z "$ac_cv_prog_DLLTOOL"; then
7588 ac_ct_DLLTOOL=$DLLTOOL
7589 # Extract the first word of "dlltool", so it can be a program name with args.
7590 set dummy dlltool; ac_word=$2
7591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7592 $as_echo_n "checking for $ac_word... " >&6; }
7593 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7594 $as_echo_n "(cached) " >&6
7595 else
7596 if test -n "$ac_ct_DLLTOOL"; then
7597 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7598 else
7599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7600 for as_dir in $PATH
7602 IFS=$as_save_IFS
7603 test -z "$as_dir" && as_dir=.
7604 for ac_exec_ext in '' $ac_executable_extensions; do
7605 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7606 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7607 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7608 break 2
7610 done
7611 done
7612 IFS=$as_save_IFS
7616 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7617 if test -n "$ac_ct_DLLTOOL"; then
7618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7619 $as_echo "$ac_ct_DLLTOOL" >&6; }
7620 else
7621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7622 $as_echo "no" >&6; }
7625 if test "x$ac_ct_DLLTOOL" = x; then
7626 DLLTOOL="false"
7627 else
7628 case $cross_compiling:$ac_tool_warned in
7629 yes:)
7630 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7631 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7632 ac_tool_warned=yes ;;
7633 esac
7634 DLLTOOL=$ac_ct_DLLTOOL
7636 else
7637 DLLTOOL="$ac_cv_prog_DLLTOOL"
7640 LIBEXT="dll"
7641 DLLEXT=""
7642 IMPLIBEXT="a"
7643 STATIC_IMPLIBEXT="a"
7644 enable_iphlpapi=${enable_iphlpapi:-no}
7645 enable_kernel32=${enable_kernel32:-no}
7646 enable_msvcrt=${enable_msvcrt:-no}
7647 enable_ntdll=${enable_ntdll:-no}
7648 enable_ws2_32=${enable_ws2_32:-no}
7649 enable_loader=${enable_loader:-no}
7650 enable_server=${enable_server:-no}
7651 with_x=${with_x:-no}
7652 with_pthread=${with_pthread:-no}
7654 crtlibs=""
7655 case $host_os in
7656 mingw32*)
7657 crtlibs="-lmsvcrt"
7658 SOCKET_LIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7660 esac
7662 libwine_targets="libwine.dll libwine.a"
7663 LIBWINE_RULES="
7664 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7666 all: libwine.dll libwine.a
7668 libwine.a: \$(srcdir)/wine.def
7669 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7671 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7672 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7674 install install-lib:: libwine.dll
7675 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7677 install install-dev:: libwine.a
7678 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7680 uninstall::
7681 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7686 darwin*|macosx*)
7687 LIBEXT="dylib"
7688 DLLFLAGS="$DLLFLAGS -fPIC"
7689 LIBWINE_LDFLAGS="-multiply_defined suppress"
7690 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7691 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7692 COREFOUNDATION_LIBS="-framework CoreFoundation"
7694 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7696 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7698 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7700 CORESERVICES_LIBS="-framework CoreServices"
7702 APPKIT_LIBS="-framework AppKit"
7704 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7705 case $host_os in
7706 darwin11*) LDEXECFLAGS="-Wl,-macosx_version_min,10.6 $LDEXECFLAGS" ;;
7707 esac
7708 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7709 then
7710 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
7713 if test "$ac_cv_header_Security_Security_h" = "yes"
7714 then
7715 SECURITY_LIBS="-framework Security -framework CoreFoundation"
7717 ac_save_LIBS="$LIBS"
7718 LIBS="$LIBS $SECURITY_LIBS"
7719 for ac_func in SSLCopyPeerCertificates
7720 do :
7721 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7722 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
7723 cat >>confdefs.h <<_ACEOF
7724 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7725 _ACEOF
7728 done
7730 LIBS="$ac_save_LIBS"
7731 with_gnutls=${with_gnutls:-no}
7733 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7734 then
7735 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7736 then
7737 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7739 else
7740 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7743 ac_save_LIBS="$LIBS"
7744 LIBS="$LIBS $COREAUDIO_LIBS"
7745 for ac_func in AUGraphAddNode
7746 do :
7747 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7748 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
7749 cat >>confdefs.h <<_ACEOF
7750 #define HAVE_AUGRAPHADDNODE 1
7751 _ACEOF
7754 done
7756 LIBS="$ac_save_LIBS"
7758 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7759 then
7760 OPENAL_LIBS="-framework OpenAL"
7763 cat >>confdefs.h <<_ACEOF
7764 #define HAVE_OPENAL 1
7765 _ACEOF
7767 ac_cv_lib_openal=yes
7769 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7770 then
7771 OPENCL_LIBS="-framework OpenCL"
7773 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
7775 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7776 then
7777 ac_save_LIBS="$LIBS"
7778 LIBS="$LIBS $IOKIT_LIBS"
7779 for ac_func in IOHIDManagerCreate
7780 do :
7781 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7782 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
7783 cat >>confdefs.h <<_ACEOF
7784 #define HAVE_IOHIDMANAGERCREATE 1
7785 _ACEOF
7788 done
7790 LIBS="$ac_save_LIBS"
7792 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7793 then
7794 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7796 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
7797 else
7798 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7800 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7801 then
7802 CARBON_LIBS="-framework Carbon"
7806 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7807 then
7808 ac_save_LIBS="$LIBS"
7809 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
7810 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7811 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
7812 enable_winemac_drv=${enable_winemac_drv:-yes}
7815 LIBS="$ac_save_LIBS"
7818 if test "x$enable_win16" = "xyes"
7819 then
7820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7821 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7822 if test "$cross_compiling" = yes; then :
7823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7824 $as_echo "cross-compiling, assuming yes" >&6; }
7825 else
7826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7827 /* end confdefs.h. */
7828 asm(".text\n"
7829 "bad:\tnop;nop\n"
7830 "good:\tnop;nop\n\t"
7831 ".globl _testfunc\n"
7832 "_testfunc:\tcallw good");
7833 extern void testfunc();
7835 main ()
7837 unsigned short *p = (unsigned short *)testfunc;
7838 return p[0] != 0xe866 || p[1] != 0xfffa
7840 return 0;
7842 _ACEOF
7843 if ac_fn_c_try_run "$LINENO"; then :
7844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7845 $as_echo "yes" >&6; }
7846 else
7847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7848 $as_echo "no" >&6; }
7849 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
7851 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7852 conftest.$ac_objext conftest.beam conftest.$ac_ext
7857 libwine_targets="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
7858 LIBWINE_RULES="
7859 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7861 all: libwine.dylib
7863 libwine.$libwine_version.dylib: \$(OBJS)
7864 \$(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 \$@
7866 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
7867 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
7869 libwine.dylib: libwine.$libwine_soversion.dylib
7870 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
7872 install install-lib:: libwine.$libwine_version.dylib
7873 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
7874 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
7876 install install-dev::
7877 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
7879 uninstall::
7880 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
7884 as_fn_append LOADER_RULES "
7885 $wine_binary: main.o wine_info.plist
7886 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7888 wine-installed: main.o wine_info.plist
7889 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7893 linux-android*)
7894 DLLFLAGS="$DLLFLAGS -fPIC"
7895 DLLPREFIX="lib"
7896 LDEXECFLAGS=""
7897 dlldir="\${libdir}"
7898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7899 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7900 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
7901 $as_echo_n "(cached) " >&6
7902 else
7903 ac_wine_try_cflags_saved=$CFLAGS
7904 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
7905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7906 /* end confdefs.h. */
7907 int main(int argc, char **argv) { return 0; }
7908 _ACEOF
7909 if ac_fn_c_try_link "$LINENO"; then :
7910 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
7911 else
7912 ac_cv_cflags__fPIC__Wl___export_dynamic=no
7914 rm -f core conftest.err conftest.$ac_objext \
7915 conftest$ac_exeext conftest.$ac_ext
7916 CFLAGS=$ac_wine_try_cflags_saved
7918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7919 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7920 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
7921 LDEXECFLAGS="-Wl,--export-dynamic"
7923 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7925 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7926 if eval \${$as_ac_var+:} false; then :
7927 $as_echo_n "(cached) " >&6
7928 else
7929 ac_wine_try_cflags_saved=$CFLAGS
7930 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7932 /* end confdefs.h. */
7933 int main(int argc, char **argv) { return 0; }
7934 _ACEOF
7935 if ac_fn_c_try_link "$LINENO"; then :
7936 eval "$as_ac_var=yes"
7937 else
7938 eval "$as_ac_var=no"
7940 rm -f core conftest.err conftest.$ac_objext \
7941 conftest$ac_exeext conftest.$ac_ext
7942 CFLAGS=$ac_wine_try_cflags_saved
7944 eval ac_res=\$$as_ac_var
7945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7946 $as_echo "$ac_res" >&6; }
7947 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
7948 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7949 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7950 else
7951 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7953 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7954 if eval \${$as_ac_var+:} false; then :
7955 $as_echo_n "(cached) " >&6
7956 else
7957 ac_wine_try_cflags_saved=$CFLAGS
7958 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7960 /* end confdefs.h. */
7961 int main(int argc, char **argv) { return 0; }
7962 _ACEOF
7963 if ac_fn_c_try_link "$LINENO"; then :
7964 eval "$as_ac_var=yes"
7965 else
7966 eval "$as_ac_var=no"
7968 rm -f core conftest.err conftest.$ac_objext \
7969 conftest$ac_exeext conftest.$ac_ext
7970 CFLAGS=$ac_wine_try_cflags_saved
7972 eval ac_res=\$$as_ac_var
7973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7974 $as_echo "$ac_res" >&6; }
7975 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
7976 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7977 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7982 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7983 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
7984 $as_echo_n "(cached) " >&6
7985 else
7986 ac_wine_try_cflags_saved=$CFLAGS
7987 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
7988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7989 /* end confdefs.h. */
7990 int main(int argc, char **argv) { return 0; }
7991 _ACEOF
7992 if ac_fn_c_try_link "$LINENO"; then :
7993 ac_cv_cflags__Wl___enable_new_dtags=yes
7994 else
7995 ac_cv_cflags__Wl___enable_new_dtags=no
7997 rm -f core conftest.err conftest.$ac_objext \
7998 conftest$ac_exeext conftest.$ac_ext
7999 CFLAGS=$ac_wine_try_cflags_saved
8001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8002 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8003 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8004 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8007 case $host_cpu in
8008 *i[3456789]86* | x86_64)
8009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8010 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8011 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8012 $as_echo_n "(cached) " >&6
8013 else
8014 ac_wine_try_cflags_saved=$CFLAGS
8015 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8017 /* end confdefs.h. */
8018 int main(int argc, char **argv) { return 0; }
8019 _ACEOF
8020 if ac_fn_c_try_link "$LINENO"; then :
8021 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8022 else
8023 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8025 rm -f core conftest.err conftest.$ac_objext \
8026 conftest$ac_exeext conftest.$ac_ext
8027 CFLAGS=$ac_wine_try_cflags_saved
8029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8030 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8031 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8032 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8035 esac
8037 libwine_targets="libwine.so"
8038 LIBWINE_RULES="
8039 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8041 all: libwine.so
8043 libwine.so: \$(OBJS)
8044 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8046 install install-lib:: libwine.so
8047 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8049 uninstall::
8050 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8054 as_fn_append LOADER_RULES "
8055 $wine_binary: main.o
8056 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8058 wine-installed: main.o
8059 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8064 DLLFLAGS="$DLLFLAGS -fPIC"
8065 LDEXECFLAGS=""
8066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8067 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8068 if ${ac_cv_c_dll_gnuelf+:} false; then :
8069 $as_echo_n "(cached) " >&6
8070 else
8071 ac_wine_try_cflags_saved=$CFLAGS
8072 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8074 /* end confdefs.h. */
8075 void myfunc() {}
8076 _ACEOF
8077 if ac_fn_c_try_link "$LINENO"; then :
8078 ac_cv_c_dll_gnuelf="yes"
8079 else
8080 ac_cv_c_dll_gnuelf="no"
8082 rm -f core conftest.err conftest.$ac_objext \
8083 conftest$ac_exeext conftest.$ac_ext
8084 CFLAGS=$ac_wine_try_cflags_saved
8086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8087 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8088 if test "$ac_cv_c_dll_gnuelf" = "yes"
8089 then
8090 LDSHARED="\$(CC) -shared"
8091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8092 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8093 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8094 $as_echo_n "(cached) " >&6
8095 else
8096 ac_wine_try_cflags_saved=$CFLAGS
8097 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8099 /* end confdefs.h. */
8100 int main(int argc, char **argv) { return 0; }
8101 _ACEOF
8102 if ac_fn_c_try_link "$LINENO"; then :
8103 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8104 else
8105 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8107 rm -f core conftest.err conftest.$ac_objext \
8108 conftest$ac_exeext conftest.$ac_ext
8109 CFLAGS=$ac_wine_try_cflags_saved
8111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8112 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8113 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8114 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8115 else
8116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8117 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8118 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8119 $as_echo_n "(cached) " >&6
8120 else
8121 ac_wine_try_cflags_saved=$CFLAGS
8122 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8124 /* end confdefs.h. */
8125 int main(int argc, char **argv) { return 0; }
8126 _ACEOF
8127 if ac_fn_c_try_link "$LINENO"; then :
8128 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8129 else
8130 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8132 rm -f core conftest.err conftest.$ac_objext \
8133 conftest$ac_exeext conftest.$ac_ext
8134 CFLAGS=$ac_wine_try_cflags_saved
8136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8137 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8138 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8139 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8143 echo '{ global: *; };' >conftest.map
8144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8145 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8146 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8147 $as_echo_n "(cached) " >&6
8148 else
8149 ac_wine_try_cflags_saved=$CFLAGS
8150 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8152 /* end confdefs.h. */
8153 int main(int argc, char **argv) { return 0; }
8154 _ACEOF
8155 if ac_fn_c_try_link "$LINENO"; then :
8156 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8157 else
8158 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8160 rm -f core conftest.err conftest.$ac_objext \
8161 conftest$ac_exeext conftest.$ac_ext
8162 CFLAGS=$ac_wine_try_cflags_saved
8164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8165 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8166 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8167 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8169 rm -f conftest.map
8171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8172 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8173 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8174 $as_echo_n "(cached) " >&6
8175 else
8176 ac_wine_try_cflags_saved=$CFLAGS
8177 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8179 /* end confdefs.h. */
8180 int main(int argc, char **argv) { return 0; }
8181 _ACEOF
8182 if ac_fn_c_try_link "$LINENO"; then :
8183 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8184 else
8185 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8187 rm -f core conftest.err conftest.$ac_objext \
8188 conftest$ac_exeext conftest.$ac_ext
8189 CFLAGS=$ac_wine_try_cflags_saved
8191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8192 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8193 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8194 LDEXECFLAGS="-Wl,--export-dynamic"
8197 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8199 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8200 if eval \${$as_ac_var+:} false; then :
8201 $as_echo_n "(cached) " >&6
8202 else
8203 ac_wine_try_cflags_saved=$CFLAGS
8204 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8206 /* end confdefs.h. */
8207 int main(int argc, char **argv) { return 0; }
8208 _ACEOF
8209 if ac_fn_c_try_link "$LINENO"; then :
8210 eval "$as_ac_var=yes"
8211 else
8212 eval "$as_ac_var=no"
8214 rm -f core conftest.err conftest.$ac_objext \
8215 conftest$ac_exeext conftest.$ac_ext
8216 CFLAGS=$ac_wine_try_cflags_saved
8218 eval ac_res=\$$as_ac_var
8219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8220 $as_echo "$ac_res" >&6; }
8221 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8222 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8223 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8224 else
8225 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8227 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8228 if eval \${$as_ac_var+:} false; then :
8229 $as_echo_n "(cached) " >&6
8230 else
8231 ac_wine_try_cflags_saved=$CFLAGS
8232 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8234 /* end confdefs.h. */
8235 int main(int argc, char **argv) { return 0; }
8236 _ACEOF
8237 if ac_fn_c_try_link "$LINENO"; then :
8238 eval "$as_ac_var=yes"
8239 else
8240 eval "$as_ac_var=no"
8242 rm -f core conftest.err conftest.$ac_objext \
8243 conftest$ac_exeext conftest.$ac_ext
8244 CFLAGS=$ac_wine_try_cflags_saved
8246 eval ac_res=\$$as_ac_var
8247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8248 $as_echo "$ac_res" >&6; }
8249 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8250 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8251 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8256 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8257 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8258 $as_echo_n "(cached) " >&6
8259 else
8260 ac_wine_try_cflags_saved=$CFLAGS
8261 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8263 /* end confdefs.h. */
8264 int main(int argc, char **argv) { return 0; }
8265 _ACEOF
8266 if ac_fn_c_try_link "$LINENO"; then :
8267 ac_cv_cflags__Wl___enable_new_dtags=yes
8268 else
8269 ac_cv_cflags__Wl___enable_new_dtags=no
8271 rm -f core conftest.err conftest.$ac_objext \
8272 conftest$ac_exeext conftest.$ac_ext
8273 CFLAGS=$ac_wine_try_cflags_saved
8275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8276 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8277 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8278 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8281 case $host_cpu in
8282 *i[3456789]86* | x86_64)
8283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8284 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8285 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8286 $as_echo_n "(cached) " >&6
8287 else
8288 ac_wine_try_cflags_saved=$CFLAGS
8289 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8291 /* end confdefs.h. */
8292 int main(int argc, char **argv) { return 0; }
8293 _ACEOF
8294 if ac_fn_c_try_link "$LINENO"; then :
8295 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8296 else
8297 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8299 rm -f core conftest.err conftest.$ac_objext \
8300 conftest$ac_exeext conftest.$ac_ext
8301 CFLAGS=$ac_wine_try_cflags_saved
8303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8304 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8305 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8306 case $host_os in
8307 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8308 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8309 esac
8312 # Extract the first word of "prelink", so it can be a program name with args.
8313 set dummy prelink; ac_word=$2
8314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8315 $as_echo_n "checking for $ac_word... " >&6; }
8316 if ${ac_cv_path_PRELINK+:} false; then :
8317 $as_echo_n "(cached) " >&6
8318 else
8319 case $PRELINK in
8320 [\\/]* | ?:[\\/]*)
8321 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8325 for as_dir in /sbin /usr/sbin $PATH
8327 IFS=$as_save_IFS
8328 test -z "$as_dir" && as_dir=.
8329 for ac_exec_ext in '' $ac_executable_extensions; do
8330 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8331 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8332 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8333 break 2
8335 done
8336 done
8337 IFS=$as_save_IFS
8339 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8341 esac
8343 PRELINK=$ac_cv_path_PRELINK
8344 if test -n "$PRELINK"; then
8345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8346 $as_echo "$PRELINK" >&6; }
8347 else
8348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8349 $as_echo "no" >&6; }
8353 if test "x$PRELINK" = xfalse
8354 then
8355 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
8358 esac
8360 else
8361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8362 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8363 if ${ac_cv_c_dll_unixware+:} false; then :
8364 $as_echo_n "(cached) " >&6
8365 else
8366 ac_wine_try_cflags_saved=$CFLAGS
8367 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8369 /* end confdefs.h. */
8370 void myfunc() {}
8371 _ACEOF
8372 if ac_fn_c_try_link "$LINENO"; then :
8373 ac_cv_c_dll_unixware="yes"
8374 else
8375 ac_cv_c_dll_unixware="no"
8377 rm -f core conftest.err conftest.$ac_objext \
8378 conftest$ac_exeext conftest.$ac_ext
8379 CFLAGS=$ac_wine_try_cflags_saved
8381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8382 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8383 if test "$ac_cv_c_dll_unixware" = "yes"
8384 then
8385 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8388 libwine_targets="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8389 LIBWINE_RULES="
8390 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8392 all: libwine.so
8394 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8395 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8397 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8398 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8400 libwine.so: libwine.so.$libwine_soversion
8401 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8403 install install-lib:: libwine.so.$libwine_version
8404 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8405 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8407 install install-dev::
8408 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8410 uninstall::
8411 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8415 as_fn_append LOADER_RULES "
8416 $wine_binary: main.o
8417 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8419 wine-installed: main.o
8420 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8423 esac
8425 as_fn_append LIBWINE_RULES "
8426 EXTRA_TARGETS = $libwine_targets
8429 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8430 enable_winemac_drv=${enable_winemac_drv:-no}
8432 CROSSTARGET=""
8434 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8435 then
8436 case "$host_cpu" in
8437 i[3456789]86*)
8438 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
8439 mingw32-gcc" ;;
8440 x86_64)
8441 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 " ;;
8443 ac_prefix_list="" ;;
8444 esac
8445 for ac_prog in $ac_prefix_list
8447 # Extract the first word of "$ac_prog", so it can be a program name with args.
8448 set dummy $ac_prog; ac_word=$2
8449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8450 $as_echo_n "checking for $ac_word... " >&6; }
8451 if ${ac_cv_prog_CROSSCC+:} false; then :
8452 $as_echo_n "(cached) " >&6
8453 else
8454 if test -n "$CROSSCC"; then
8455 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8456 else
8457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8458 for as_dir in $PATH
8460 IFS=$as_save_IFS
8461 test -z "$as_dir" && as_dir=.
8462 for ac_exec_ext in '' $ac_executable_extensions; do
8463 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8464 ac_cv_prog_CROSSCC="$ac_prog"
8465 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8466 break 2
8468 done
8469 done
8470 IFS=$as_save_IFS
8474 CROSSCC=$ac_cv_prog_CROSSCC
8475 if test -n "$CROSSCC"; then
8476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8477 $as_echo "$CROSSCC" >&6; }
8478 else
8479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8480 $as_echo "no" >&6; }
8484 test -n "$CROSSCC" && break
8485 done
8486 test -n "$CROSSCC" || CROSSCC="false"
8488 if test "$CROSSCC" != "false"
8489 then
8490 ac_save_CC="$CC"
8491 CC="$CROSSCC"
8492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8493 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8495 /* end confdefs.h. */
8498 main ()
8502 return 0;
8504 _ACEOF
8505 if ac_fn_c_try_compile "$LINENO"; then :
8506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8507 $as_echo "yes" >&6; }
8508 set x $CROSSCC
8509 shift
8510 while test $# -ge 1
8512 case "$1" in
8513 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8514 esac
8515 shift
8516 done
8517 else
8518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8519 $as_echo "no" >&6; }
8521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8522 CC="$ac_save_CC"
8527 if test "$ac_cv_header_pthread_h" = "yes"
8528 then
8529 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8530 if test "x$ac_cv_func_pthread_create" = xyes; then :
8532 else
8533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8534 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8535 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8536 $as_echo_n "(cached) " >&6
8537 else
8538 ac_check_lib_save_LIBS=$LIBS
8539 LIBS="-lpthread $LIBS"
8540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8541 /* end confdefs.h. */
8543 /* Override any GCC internal prototype to avoid an error.
8544 Use char because int might match the return type of a GCC
8545 builtin and then its argument prototype would still apply. */
8546 #ifdef __cplusplus
8547 extern "C"
8548 #endif
8549 char pthread_create ();
8551 main ()
8553 return pthread_create ();
8555 return 0;
8557 _ACEOF
8558 if ac_fn_c_try_link "$LINENO"; then :
8559 ac_cv_lib_pthread_pthread_create=yes
8560 else
8561 ac_cv_lib_pthread_pthread_create=no
8563 rm -f core conftest.err conftest.$ac_objext \
8564 conftest$ac_exeext conftest.$ac_ext
8565 LIBS=$ac_check_lib_save_LIBS
8567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8568 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8569 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8570 PTHREAD_LIBS="-lpthread"
8577 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8578 case "x$with_pthread" in
8579 xno) ;;
8580 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8581 Wine cannot support threads without libpthread.
8582 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8583 esac
8587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8588 $as_echo_n "checking for X... " >&6; }
8591 # Check whether --with-x was given.
8592 if test "${with_x+set}" = set; then :
8593 withval=$with_x;
8596 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8597 if test "x$with_x" = xno; then
8598 # The user explicitly disabled X.
8599 have_x=disabled
8600 else
8601 case $x_includes,$x_libraries in #(
8602 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8603 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8604 $as_echo_n "(cached) " >&6
8605 else
8606 # One or both of the vars are not set, and there is no cached value.
8607 ac_x_includes=no ac_x_libraries=no
8608 rm -f -r conftest.dir
8609 if mkdir conftest.dir; then
8610 cd conftest.dir
8611 cat >Imakefile <<'_ACEOF'
8612 incroot:
8613 @echo incroot='${INCROOT}'
8614 usrlibdir:
8615 @echo usrlibdir='${USRLIBDIR}'
8616 libdir:
8617 @echo libdir='${LIBDIR}'
8618 _ACEOF
8619 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8620 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8621 for ac_var in incroot usrlibdir libdir; do
8622 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8623 done
8624 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8625 for ac_extension in a so sl dylib la dll; do
8626 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8627 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8628 ac_im_usrlibdir=$ac_im_libdir; break
8630 done
8631 # Screen out bogus values from the imake configuration. They are
8632 # bogus both because they are the default anyway, and because
8633 # using them would break gcc on systems where it needs fixed includes.
8634 case $ac_im_incroot in
8635 /usr/include) ac_x_includes= ;;
8636 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8637 esac
8638 case $ac_im_usrlibdir in
8639 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8640 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8641 esac
8643 cd ..
8644 rm -f -r conftest.dir
8647 # Standard set of common directories for X headers.
8648 # Check X11 before X11Rn because it is often a symlink to the current release.
8649 ac_x_header_dirs='
8650 /usr/X11/include
8651 /usr/X11R7/include
8652 /usr/X11R6/include
8653 /usr/X11R5/include
8654 /usr/X11R4/include
8656 /usr/include/X11
8657 /usr/include/X11R7
8658 /usr/include/X11R6
8659 /usr/include/X11R5
8660 /usr/include/X11R4
8662 /usr/local/X11/include
8663 /usr/local/X11R7/include
8664 /usr/local/X11R6/include
8665 /usr/local/X11R5/include
8666 /usr/local/X11R4/include
8668 /usr/local/include/X11
8669 /usr/local/include/X11R7
8670 /usr/local/include/X11R6
8671 /usr/local/include/X11R5
8672 /usr/local/include/X11R4
8674 /usr/X386/include
8675 /usr/x386/include
8676 /usr/XFree86/include/X11
8678 /usr/include
8679 /usr/local/include
8680 /usr/unsupported/include
8681 /usr/athena/include
8682 /usr/local/x11r5/include
8683 /usr/lpp/Xamples/include
8685 /usr/openwin/include
8686 /usr/openwin/share/include'
8688 if test "$ac_x_includes" = no; then
8689 # Guess where to find include files, by looking for Xlib.h.
8690 # First, try using that file with no special directory specified.
8691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8692 /* end confdefs.h. */
8693 #include <X11/Xlib.h>
8694 _ACEOF
8695 if ac_fn_c_try_cpp "$LINENO"; then :
8696 # We can compile using X headers with no special include directory.
8697 ac_x_includes=
8698 else
8699 for ac_dir in $ac_x_header_dirs; do
8700 if test -r "$ac_dir/X11/Xlib.h"; then
8701 ac_x_includes=$ac_dir
8702 break
8704 done
8706 rm -f conftest.err conftest.i conftest.$ac_ext
8707 fi # $ac_x_includes = no
8709 if test "$ac_x_libraries" = no; then
8710 # Check for the libraries.
8711 # See if we find them without any special options.
8712 # Don't add to $LIBS permanently.
8713 ac_save_LIBS=$LIBS
8714 LIBS="-lX11 $LIBS"
8715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8716 /* end confdefs.h. */
8717 #include <X11/Xlib.h>
8719 main ()
8721 XrmInitialize ()
8723 return 0;
8725 _ACEOF
8726 if ac_fn_c_try_link "$LINENO"; then :
8727 LIBS=$ac_save_LIBS
8728 # We can link X programs with no special library path.
8729 ac_x_libraries=
8730 else
8731 LIBS=$ac_save_LIBS
8732 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8734 # Don't even attempt the hair of trying to link an X program!
8735 for ac_extension in a so sl dylib la dll; do
8736 if test -r "$ac_dir/libX11.$ac_extension"; then
8737 ac_x_libraries=$ac_dir
8738 break 2
8740 done
8741 done
8743 rm -f core conftest.err conftest.$ac_objext \
8744 conftest$ac_exeext conftest.$ac_ext
8745 fi # $ac_x_libraries = no
8747 case $ac_x_includes,$ac_x_libraries in #(
8748 no,* | *,no | *\'*)
8749 # Didn't find X, or a directory has "'" in its name.
8750 ac_cv_have_x="have_x=no";; #(
8752 # Record where we found X for the cache.
8753 ac_cv_have_x="have_x=yes\
8754 ac_x_includes='$ac_x_includes'\
8755 ac_x_libraries='$ac_x_libraries'"
8756 esac
8758 ;; #(
8759 *) have_x=yes;;
8760 esac
8761 eval "$ac_cv_have_x"
8762 fi # $with_x != no
8764 if test "$have_x" != yes; then
8765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8766 $as_echo "$have_x" >&6; }
8767 no_x=yes
8768 else
8769 # If each of the values was on the command line, it overrides each guess.
8770 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
8771 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
8772 # Update the cache value to reflect the command line values.
8773 ac_cv_have_x="have_x=yes\
8774 ac_x_includes='$x_includes'\
8775 ac_x_libraries='$x_libraries'"
8776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8777 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8780 if test "$no_x" = yes; then
8781 # Not all programs may use this symbol, but it does not hurt to define it.
8783 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8785 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
8786 else
8787 if test -n "$x_includes"; then
8788 X_CFLAGS="$X_CFLAGS -I$x_includes"
8791 # It would also be nice to do this for all -L options, not just this one.
8792 if test -n "$x_libraries"; then
8793 X_LIBS="$X_LIBS -L$x_libraries"
8794 # For Solaris; some versions of Sun CC require a space after -R and
8795 # others require no space. Words are not sufficient . . . .
8796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8797 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8798 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
8799 ac_xsave_c_werror_flag=$ac_c_werror_flag
8800 ac_c_werror_flag=yes
8801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8802 /* end confdefs.h. */
8805 main ()
8809 return 0;
8811 _ACEOF
8812 if ac_fn_c_try_link "$LINENO"; then :
8813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8814 $as_echo "no" >&6; }
8815 X_LIBS="$X_LIBS -R$x_libraries"
8816 else
8817 LIBS="$ac_xsave_LIBS -R $x_libraries"
8818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8819 /* end confdefs.h. */
8822 main ()
8826 return 0;
8828 _ACEOF
8829 if ac_fn_c_try_link "$LINENO"; then :
8830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8831 $as_echo "yes" >&6; }
8832 X_LIBS="$X_LIBS -R $x_libraries"
8833 else
8834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8835 $as_echo "neither works" >&6; }
8837 rm -f core conftest.err conftest.$ac_objext \
8838 conftest$ac_exeext conftest.$ac_ext
8840 rm -f core conftest.err conftest.$ac_objext \
8841 conftest$ac_exeext conftest.$ac_ext
8842 ac_c_werror_flag=$ac_xsave_c_werror_flag
8843 LIBS=$ac_xsave_LIBS
8846 # Check for system-dependent libraries X programs must link with.
8847 # Do this before checking for the system-independent R6 libraries
8848 # (-lICE), since we may need -lsocket or whatever for X linking.
8850 if test "$ISC" = yes; then
8851 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
8852 else
8853 # Martyn Johnson says this is needed for Ultrix, if the X
8854 # libraries were built with DECnet support. And Karl Berry says
8855 # the Alpha needs dnet_stub (dnet does not exist).
8856 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
8857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8858 /* end confdefs.h. */
8860 /* Override any GCC internal prototype to avoid an error.
8861 Use char because int might match the return type of a GCC
8862 builtin and then its argument prototype would still apply. */
8863 #ifdef __cplusplus
8864 extern "C"
8865 #endif
8866 char XOpenDisplay ();
8868 main ()
8870 return XOpenDisplay ();
8872 return 0;
8874 _ACEOF
8875 if ac_fn_c_try_link "$LINENO"; then :
8877 else
8878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8879 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8880 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
8881 $as_echo_n "(cached) " >&6
8882 else
8883 ac_check_lib_save_LIBS=$LIBS
8884 LIBS="-ldnet $LIBS"
8885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8886 /* end confdefs.h. */
8888 /* Override any GCC internal prototype to avoid an error.
8889 Use char because int might match the return type of a GCC
8890 builtin and then its argument prototype would still apply. */
8891 #ifdef __cplusplus
8892 extern "C"
8893 #endif
8894 char dnet_ntoa ();
8896 main ()
8898 return dnet_ntoa ();
8900 return 0;
8902 _ACEOF
8903 if ac_fn_c_try_link "$LINENO"; then :
8904 ac_cv_lib_dnet_dnet_ntoa=yes
8905 else
8906 ac_cv_lib_dnet_dnet_ntoa=no
8908 rm -f core conftest.err conftest.$ac_objext \
8909 conftest$ac_exeext conftest.$ac_ext
8910 LIBS=$ac_check_lib_save_LIBS
8912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8913 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8914 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
8915 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
8918 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
8919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8920 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8921 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
8922 $as_echo_n "(cached) " >&6
8923 else
8924 ac_check_lib_save_LIBS=$LIBS
8925 LIBS="-ldnet_stub $LIBS"
8926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8927 /* end confdefs.h. */
8929 /* Override any GCC internal prototype to avoid an error.
8930 Use char because int might match the return type of a GCC
8931 builtin and then its argument prototype would still apply. */
8932 #ifdef __cplusplus
8933 extern "C"
8934 #endif
8935 char dnet_ntoa ();
8937 main ()
8939 return dnet_ntoa ();
8941 return 0;
8943 _ACEOF
8944 if ac_fn_c_try_link "$LINENO"; then :
8945 ac_cv_lib_dnet_stub_dnet_ntoa=yes
8946 else
8947 ac_cv_lib_dnet_stub_dnet_ntoa=no
8949 rm -f core conftest.err conftest.$ac_objext \
8950 conftest$ac_exeext conftest.$ac_ext
8951 LIBS=$ac_check_lib_save_LIBS
8953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8954 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
8955 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
8956 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
8961 rm -f core conftest.err conftest.$ac_objext \
8962 conftest$ac_exeext conftest.$ac_ext
8963 LIBS="$ac_xsave_LIBS"
8965 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8966 # to get the SysV transport functions.
8967 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
8968 # needs -lnsl.
8969 # The nsl library prevents programs from opening the X display
8970 # on Irix 5.2, according to T.E. Dickey.
8971 # The functions gethostbyname, getservbyname, and inet_addr are
8972 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
8973 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
8974 if test "x$ac_cv_func_gethostbyname" = xyes; then :
8978 if test $ac_cv_func_gethostbyname = no; then
8979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
8980 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
8981 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
8982 $as_echo_n "(cached) " >&6
8983 else
8984 ac_check_lib_save_LIBS=$LIBS
8985 LIBS="-lnsl $LIBS"
8986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8987 /* end confdefs.h. */
8989 /* Override any GCC internal prototype to avoid an error.
8990 Use char because int might match the return type of a GCC
8991 builtin and then its argument prototype would still apply. */
8992 #ifdef __cplusplus
8993 extern "C"
8994 #endif
8995 char gethostbyname ();
8997 main ()
8999 return gethostbyname ();
9001 return 0;
9003 _ACEOF
9004 if ac_fn_c_try_link "$LINENO"; then :
9005 ac_cv_lib_nsl_gethostbyname=yes
9006 else
9007 ac_cv_lib_nsl_gethostbyname=no
9009 rm -f core conftest.err conftest.$ac_objext \
9010 conftest$ac_exeext conftest.$ac_ext
9011 LIBS=$ac_check_lib_save_LIBS
9013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9014 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9015 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9016 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9019 if test $ac_cv_lib_nsl_gethostbyname = no; then
9020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9021 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9022 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9023 $as_echo_n "(cached) " >&6
9024 else
9025 ac_check_lib_save_LIBS=$LIBS
9026 LIBS="-lbsd $LIBS"
9027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9028 /* end confdefs.h. */
9030 /* Override any GCC internal prototype to avoid an error.
9031 Use char because int might match the return type of a GCC
9032 builtin and then its argument prototype would still apply. */
9033 #ifdef __cplusplus
9034 extern "C"
9035 #endif
9036 char gethostbyname ();
9038 main ()
9040 return gethostbyname ();
9042 return 0;
9044 _ACEOF
9045 if ac_fn_c_try_link "$LINENO"; then :
9046 ac_cv_lib_bsd_gethostbyname=yes
9047 else
9048 ac_cv_lib_bsd_gethostbyname=no
9050 rm -f core conftest.err conftest.$ac_objext \
9051 conftest$ac_exeext conftest.$ac_ext
9052 LIBS=$ac_check_lib_save_LIBS
9054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9055 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9056 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9057 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9063 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9064 # socket/setsockopt and other routines are undefined under SCO ODT
9065 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9066 # on later versions), says Simon Leinen: it contains gethostby*
9067 # variants that don't use the name server (or something). -lsocket
9068 # must be given before -lnsl if both are needed. We assume that
9069 # if connect needs -lnsl, so does gethostbyname.
9070 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9071 if test "x$ac_cv_func_connect" = xyes; then :
9075 if test $ac_cv_func_connect = no; then
9076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9077 $as_echo_n "checking for connect in -lsocket... " >&6; }
9078 if ${ac_cv_lib_socket_connect+:} false; then :
9079 $as_echo_n "(cached) " >&6
9080 else
9081 ac_check_lib_save_LIBS=$LIBS
9082 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9084 /* end confdefs.h. */
9086 /* Override any GCC internal prototype to avoid an error.
9087 Use char because int might match the return type of a GCC
9088 builtin and then its argument prototype would still apply. */
9089 #ifdef __cplusplus
9090 extern "C"
9091 #endif
9092 char connect ();
9094 main ()
9096 return connect ();
9098 return 0;
9100 _ACEOF
9101 if ac_fn_c_try_link "$LINENO"; then :
9102 ac_cv_lib_socket_connect=yes
9103 else
9104 ac_cv_lib_socket_connect=no
9106 rm -f core conftest.err conftest.$ac_objext \
9107 conftest$ac_exeext conftest.$ac_ext
9108 LIBS=$ac_check_lib_save_LIBS
9110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9111 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9112 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9113 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9118 # Guillermo Gomez says -lposix is necessary on A/UX.
9119 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9120 if test "x$ac_cv_func_remove" = xyes; then :
9124 if test $ac_cv_func_remove = no; then
9125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9126 $as_echo_n "checking for remove in -lposix... " >&6; }
9127 if ${ac_cv_lib_posix_remove+:} false; then :
9128 $as_echo_n "(cached) " >&6
9129 else
9130 ac_check_lib_save_LIBS=$LIBS
9131 LIBS="-lposix $LIBS"
9132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9133 /* end confdefs.h. */
9135 /* Override any GCC internal prototype to avoid an error.
9136 Use char because int might match the return type of a GCC
9137 builtin and then its argument prototype would still apply. */
9138 #ifdef __cplusplus
9139 extern "C"
9140 #endif
9141 char remove ();
9143 main ()
9145 return remove ();
9147 return 0;
9149 _ACEOF
9150 if ac_fn_c_try_link "$LINENO"; then :
9151 ac_cv_lib_posix_remove=yes
9152 else
9153 ac_cv_lib_posix_remove=no
9155 rm -f core conftest.err conftest.$ac_objext \
9156 conftest$ac_exeext conftest.$ac_ext
9157 LIBS=$ac_check_lib_save_LIBS
9159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9160 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9161 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9162 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9167 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9168 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9169 if test "x$ac_cv_func_shmat" = xyes; then :
9173 if test $ac_cv_func_shmat = no; then
9174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9175 $as_echo_n "checking for shmat in -lipc... " >&6; }
9176 if ${ac_cv_lib_ipc_shmat+:} false; then :
9177 $as_echo_n "(cached) " >&6
9178 else
9179 ac_check_lib_save_LIBS=$LIBS
9180 LIBS="-lipc $LIBS"
9181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9182 /* end confdefs.h. */
9184 /* Override any GCC internal prototype to avoid an error.
9185 Use char because int might match the return type of a GCC
9186 builtin and then its argument prototype would still apply. */
9187 #ifdef __cplusplus
9188 extern "C"
9189 #endif
9190 char shmat ();
9192 main ()
9194 return shmat ();
9196 return 0;
9198 _ACEOF
9199 if ac_fn_c_try_link "$LINENO"; then :
9200 ac_cv_lib_ipc_shmat=yes
9201 else
9202 ac_cv_lib_ipc_shmat=no
9204 rm -f core conftest.err conftest.$ac_objext \
9205 conftest$ac_exeext conftest.$ac_ext
9206 LIBS=$ac_check_lib_save_LIBS
9208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9209 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9210 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9211 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9217 # Check for libraries that X11R6 Xt/Xaw programs need.
9218 ac_save_LDFLAGS=$LDFLAGS
9219 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9220 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9221 # check for ICE first), but we must link in the order -lSM -lICE or
9222 # we get undefined symbols. So assume we have SM if we have ICE.
9223 # These have to be linked with before -lX11, unlike the other
9224 # libraries we check for below, so use a different variable.
9225 # John Interrante, Karl Berry
9226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9227 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9228 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9229 $as_echo_n "(cached) " >&6
9230 else
9231 ac_check_lib_save_LIBS=$LIBS
9232 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9234 /* end confdefs.h. */
9236 /* Override any GCC internal prototype to avoid an error.
9237 Use char because int might match the return type of a GCC
9238 builtin and then its argument prototype would still apply. */
9239 #ifdef __cplusplus
9240 extern "C"
9241 #endif
9242 char IceConnectionNumber ();
9244 main ()
9246 return IceConnectionNumber ();
9248 return 0;
9250 _ACEOF
9251 if ac_fn_c_try_link "$LINENO"; then :
9252 ac_cv_lib_ICE_IceConnectionNumber=yes
9253 else
9254 ac_cv_lib_ICE_IceConnectionNumber=no
9256 rm -f core conftest.err conftest.$ac_objext \
9257 conftest$ac_exeext conftest.$ac_ext
9258 LIBS=$ac_check_lib_save_LIBS
9260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9261 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9262 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9263 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9266 LDFLAGS=$ac_save_LDFLAGS
9271 if test "$have_x" = "yes"
9272 then
9273 ac_save_CPPFLAGS="$CPPFLAGS"
9274 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9277 $as_echo_n "checking for -lX11... " >&6; }
9278 if ${ac_cv_lib_soname_X11+:} false; then :
9279 $as_echo_n "(cached) " >&6
9280 else
9281 ac_check_soname_save_LIBS=$LIBS
9282 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9284 /* end confdefs.h. */
9286 /* Override any GCC internal prototype to avoid an error.
9287 Use char because int might match the return type of a GCC
9288 builtin and then its argument prototype would still apply. */
9289 #ifdef __cplusplus
9290 extern "C"
9291 #endif
9292 char XCreateWindow ();
9294 main ()
9296 return XCreateWindow ();
9298 return 0;
9300 _ACEOF
9301 if ac_fn_c_try_link "$LINENO"; then :
9302 case "$LIBEXT" in
9303 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9304 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'` ;;
9305 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9306 if ${ac_cv_lib_soname_X11:+false} :; then :
9307 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9308 fi ;;
9309 esac
9311 rm -f core conftest.err conftest.$ac_objext \
9312 conftest$ac_exeext conftest.$ac_ext
9313 LIBS=$ac_check_soname_save_LIBS
9315 if ${ac_cv_lib_soname_X11:+false} :; then :
9316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9317 $as_echo "not found" >&6; }
9319 else
9320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9321 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9323 cat >>confdefs.h <<_ACEOF
9324 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9325 _ACEOF
9329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9330 $as_echo_n "checking for -lXext... " >&6; }
9331 if ${ac_cv_lib_soname_Xext+:} false; then :
9332 $as_echo_n "(cached) " >&6
9333 else
9334 ac_check_soname_save_LIBS=$LIBS
9335 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9337 /* end confdefs.h. */
9339 /* Override any GCC internal prototype to avoid an error.
9340 Use char because int might match the return type of a GCC
9341 builtin and then its argument prototype would still apply. */
9342 #ifdef __cplusplus
9343 extern "C"
9344 #endif
9345 char XextCreateExtension ();
9347 main ()
9349 return XextCreateExtension ();
9351 return 0;
9353 _ACEOF
9354 if ac_fn_c_try_link "$LINENO"; then :
9355 case "$LIBEXT" in
9356 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9357 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'` ;;
9358 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9359 if ${ac_cv_lib_soname_Xext:+false} :; then :
9360 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9361 fi ;;
9362 esac
9364 rm -f core conftest.err conftest.$ac_objext \
9365 conftest$ac_exeext conftest.$ac_ext
9366 LIBS=$ac_check_soname_save_LIBS
9368 if ${ac_cv_lib_soname_Xext:+false} :; then :
9369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9370 $as_echo "not found" >&6; }
9372 else
9373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9374 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9376 cat >>confdefs.h <<_ACEOF
9377 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9378 _ACEOF
9380 X_LIBS="$X_LIBS -lXext"
9382 X_LIBS="$X_LIBS -lX11"
9384 for ac_header in X11/Xlib.h \
9385 X11/XKBlib.h \
9386 X11/Xutil.h \
9387 X11/Xcursor/Xcursor.h \
9388 X11/extensions/shape.h \
9389 X11/extensions/XInput.h \
9390 X11/extensions/XInput2.h \
9391 X11/extensions/XShm.h \
9392 X11/extensions/Xcomposite.h \
9393 X11/extensions/Xinerama.h \
9394 X11/extensions/Xrandr.h \
9395 X11/extensions/Xrender.h \
9396 X11/extensions/xf86vmode.h \
9397 X11/extensions/xf86vmproto.h
9398 do :
9399 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9400 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9401 # include <X11/Xlib.h>
9402 #endif
9403 #ifdef HAVE_X11_XUTIL_H
9404 # include <X11/Xutil.h>
9405 #endif
9407 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9408 cat >>confdefs.h <<_ACEOF
9409 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9410 _ACEOF
9414 done
9417 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9418 then
9419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9420 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9421 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9422 $as_echo_n "(cached) " >&6
9423 else
9424 ac_check_lib_save_LIBS=$LIBS
9425 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9427 /* end confdefs.h. */
9429 /* Override any GCC internal prototype to avoid an error.
9430 Use char because int might match the return type of a GCC
9431 builtin and then its argument prototype would still apply. */
9432 #ifdef __cplusplus
9433 extern "C"
9434 #endif
9435 char XkbQueryExtension ();
9437 main ()
9439 return XkbQueryExtension ();
9441 return 0;
9443 _ACEOF
9444 if ac_fn_c_try_link "$LINENO"; then :
9445 ac_cv_lib_X11_XkbQueryExtension=yes
9446 else
9447 ac_cv_lib_X11_XkbQueryExtension=no
9449 rm -f core conftest.err conftest.$ac_objext \
9450 conftest$ac_exeext conftest.$ac_ext
9451 LIBS=$ac_check_lib_save_LIBS
9453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9454 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9455 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9457 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9463 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9464 then
9465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9466 $as_echo_n "checking for -lXcursor... " >&6; }
9467 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9468 $as_echo_n "(cached) " >&6
9469 else
9470 ac_check_soname_save_LIBS=$LIBS
9471 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9473 /* end confdefs.h. */
9475 /* Override any GCC internal prototype to avoid an error.
9476 Use char because int might match the return type of a GCC
9477 builtin and then its argument prototype would still apply. */
9478 #ifdef __cplusplus
9479 extern "C"
9480 #endif
9481 char XcursorImageLoadCursor ();
9483 main ()
9485 return XcursorImageLoadCursor ();
9487 return 0;
9489 _ACEOF
9490 if ac_fn_c_try_link "$LINENO"; then :
9491 case "$LIBEXT" in
9492 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9493 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'` ;;
9494 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9495 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9496 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9497 fi ;;
9498 esac
9500 rm -f core conftest.err conftest.$ac_objext \
9501 conftest$ac_exeext conftest.$ac_ext
9502 LIBS=$ac_check_soname_save_LIBS
9504 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9506 $as_echo "not found" >&6; }
9508 else
9509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9510 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9512 cat >>confdefs.h <<_ACEOF
9513 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9514 _ACEOF
9519 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9520 case "x$with_xcursor" in
9521 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9522 xno) ;;
9523 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9524 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9525 esac
9528 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9529 then
9530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9531 $as_echo_n "checking for -lXi... " >&6; }
9532 if ${ac_cv_lib_soname_Xi+:} false; then :
9533 $as_echo_n "(cached) " >&6
9534 else
9535 ac_check_soname_save_LIBS=$LIBS
9536 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9538 /* end confdefs.h. */
9540 /* Override any GCC internal prototype to avoid an error.
9541 Use char because int might match the return type of a GCC
9542 builtin and then its argument prototype would still apply. */
9543 #ifdef __cplusplus
9544 extern "C"
9545 #endif
9546 char XOpenDevice ();
9548 main ()
9550 return XOpenDevice ();
9552 return 0;
9554 _ACEOF
9555 if ac_fn_c_try_link "$LINENO"; then :
9556 case "$LIBEXT" in
9557 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9558 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'` ;;
9559 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9560 if ${ac_cv_lib_soname_Xi:+false} :; then :
9561 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9562 fi ;;
9563 esac
9565 rm -f core conftest.err conftest.$ac_objext \
9566 conftest$ac_exeext conftest.$ac_ext
9567 LIBS=$ac_check_soname_save_LIBS
9569 if ${ac_cv_lib_soname_Xi:+false} :; then :
9570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9571 $as_echo "not found" >&6; }
9573 else
9574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9575 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9577 cat >>confdefs.h <<_ACEOF
9578 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9579 _ACEOF
9584 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9585 case "x$with_xinput" in
9586 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9587 xno) ;;
9588 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9589 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9590 esac
9593 if test "x$ac_cv_lib_soname_Xi" != x
9594 then
9595 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9596 case "x$with_xinput2" in
9597 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9598 xno) ;;
9599 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9600 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9601 esac
9605 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9606 then
9607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9608 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9609 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9610 $as_echo_n "(cached) " >&6
9611 else
9612 ac_check_lib_save_LIBS=$LIBS
9613 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9615 /* end confdefs.h. */
9617 /* Override any GCC internal prototype to avoid an error.
9618 Use char because int might match the return type of a GCC
9619 builtin and then its argument prototype would still apply. */
9620 #ifdef __cplusplus
9621 extern "C"
9622 #endif
9623 char XShmQueryExtension ();
9625 main ()
9627 return XShmQueryExtension ();
9629 return 0;
9631 _ACEOF
9632 if ac_fn_c_try_link "$LINENO"; then :
9633 ac_cv_lib_Xext_XShmQueryExtension=yes
9634 else
9635 ac_cv_lib_Xext_XShmQueryExtension=no
9637 rm -f core conftest.err conftest.$ac_objext \
9638 conftest$ac_exeext conftest.$ac_ext
9639 LIBS=$ac_check_lib_save_LIBS
9641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9642 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9643 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9645 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9650 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9651 case "x$with_xshm" in
9652 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9653 xno) ;;
9654 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9655 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9656 esac
9659 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9660 then
9661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9662 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9663 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9664 $as_echo_n "(cached) " >&6
9665 else
9666 ac_check_lib_save_LIBS=$LIBS
9667 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9669 /* end confdefs.h. */
9671 /* Override any GCC internal prototype to avoid an error.
9672 Use char because int might match the return type of a GCC
9673 builtin and then its argument prototype would still apply. */
9674 #ifdef __cplusplus
9675 extern "C"
9676 #endif
9677 char XShapeQueryExtension ();
9679 main ()
9681 return XShapeQueryExtension ();
9683 return 0;
9685 _ACEOF
9686 if ac_fn_c_try_link "$LINENO"; then :
9687 ac_cv_lib_Xext_XShapeQueryExtension=yes
9688 else
9689 ac_cv_lib_Xext_XShapeQueryExtension=no
9691 rm -f core conftest.err conftest.$ac_objext \
9692 conftest$ac_exeext conftest.$ac_ext
9693 LIBS=$ac_check_lib_save_LIBS
9695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9696 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9697 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9699 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9704 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9705 case "x$with_xshape" in
9706 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9707 xno) ;;
9708 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
9709 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9710 esac
9713 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9714 then
9715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9716 $as_echo_n "checking for -lXxf86vm... " >&6; }
9717 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
9718 $as_echo_n "(cached) " >&6
9719 else
9720 ac_check_soname_save_LIBS=$LIBS
9721 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9723 /* end confdefs.h. */
9725 /* Override any GCC internal prototype to avoid an error.
9726 Use char because int might match the return type of a GCC
9727 builtin and then its argument prototype would still apply. */
9728 #ifdef __cplusplus
9729 extern "C"
9730 #endif
9731 char XF86VidModeQueryExtension ();
9733 main ()
9735 return XF86VidModeQueryExtension ();
9737 return 0;
9739 _ACEOF
9740 if ac_fn_c_try_link "$LINENO"; then :
9741 case "$LIBEXT" in
9742 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9743 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'` ;;
9744 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9745 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9746 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9747 fi ;;
9748 esac
9750 rm -f core conftest.err conftest.$ac_objext \
9751 conftest$ac_exeext conftest.$ac_ext
9752 LIBS=$ac_check_soname_save_LIBS
9754 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9756 $as_echo "not found" >&6; }
9758 else
9759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9760 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9762 cat >>confdefs.h <<_ACEOF
9763 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9764 _ACEOF
9769 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9770 case "x$with_xxf86vm" in
9771 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9772 xno) ;;
9773 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9774 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9775 esac
9778 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"
9779 then
9780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9781 $as_echo_n "checking for -lXrender... " >&6; }
9782 if ${ac_cv_lib_soname_Xrender+:} false; then :
9783 $as_echo_n "(cached) " >&6
9784 else
9785 ac_check_soname_save_LIBS=$LIBS
9786 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9788 /* end confdefs.h. */
9790 /* Override any GCC internal prototype to avoid an error.
9791 Use char because int might match the return type of a GCC
9792 builtin and then its argument prototype would still apply. */
9793 #ifdef __cplusplus
9794 extern "C"
9795 #endif
9796 char XRenderQueryExtension ();
9798 main ()
9800 return XRenderQueryExtension ();
9802 return 0;
9804 _ACEOF
9805 if ac_fn_c_try_link "$LINENO"; then :
9806 case "$LIBEXT" in
9807 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9808 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'` ;;
9809 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9810 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9811 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9812 fi ;;
9813 esac
9815 rm -f core conftest.err conftest.$ac_objext \
9816 conftest$ac_exeext conftest.$ac_ext
9817 LIBS=$ac_check_soname_save_LIBS
9819 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9821 $as_echo "not found" >&6; }
9823 else
9824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9825 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9827 cat >>confdefs.h <<_ACEOF
9828 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9829 _ACEOF
9831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9832 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9833 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
9834 $as_echo_n "(cached) " >&6
9835 else
9836 ac_check_lib_save_LIBS=$LIBS
9837 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9839 /* end confdefs.h. */
9841 /* Override any GCC internal prototype to avoid an error.
9842 Use char because int might match the return type of a GCC
9843 builtin and then its argument prototype would still apply. */
9844 #ifdef __cplusplus
9845 extern "C"
9846 #endif
9847 char XRenderSetPictureTransform ();
9849 main ()
9851 return XRenderSetPictureTransform ();
9853 return 0;
9855 _ACEOF
9856 if ac_fn_c_try_link "$LINENO"; then :
9857 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9858 else
9859 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9861 rm -f core conftest.err conftest.$ac_objext \
9862 conftest$ac_exeext conftest.$ac_ext
9863 LIBS=$ac_check_lib_save_LIBS
9865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9866 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9867 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
9869 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9874 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9875 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
9876 $as_echo_n "(cached) " >&6
9877 else
9878 ac_check_lib_save_LIBS=$LIBS
9879 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9881 /* end confdefs.h. */
9883 /* Override any GCC internal prototype to avoid an error.
9884 Use char because int might match the return type of a GCC
9885 builtin and then its argument prototype would still apply. */
9886 #ifdef __cplusplus
9887 extern "C"
9888 #endif
9889 char XRenderCreateLinearGradient ();
9891 main ()
9893 return XRenderCreateLinearGradient ();
9895 return 0;
9897 _ACEOF
9898 if ac_fn_c_try_link "$LINENO"; then :
9899 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
9900 else
9901 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
9903 rm -f core conftest.err conftest.$ac_objext \
9904 conftest$ac_exeext conftest.$ac_ext
9905 LIBS=$ac_check_lib_save_LIBS
9907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9908 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9909 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
9911 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9918 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9919 case "x$with_xrender" in
9920 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9921 xno) ;;
9922 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
9923 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9924 esac
9927 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9928 then
9929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9930 /* end confdefs.h. */
9931 #include <X11/Xlib.h>
9932 #include <X11/extensions/Xrandr.h>
9934 main ()
9936 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9938 return 0;
9940 _ACEOF
9941 if ac_fn_c_try_compile "$LINENO"; then :
9942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9943 $as_echo_n "checking for -lXrandr... " >&6; }
9944 if ${ac_cv_lib_soname_Xrandr+:} false; then :
9945 $as_echo_n "(cached) " >&6
9946 else
9947 ac_check_soname_save_LIBS=$LIBS
9948 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
9949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9950 /* end confdefs.h. */
9952 /* Override any GCC internal prototype to avoid an error.
9953 Use char because int might match the return type of a GCC
9954 builtin and then its argument prototype would still apply. */
9955 #ifdef __cplusplus
9956 extern "C"
9957 #endif
9958 char XRRQueryExtension ();
9960 main ()
9962 return XRRQueryExtension ();
9964 return 0;
9966 _ACEOF
9967 if ac_fn_c_try_link "$LINENO"; then :
9968 case "$LIBEXT" in
9969 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9970 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'` ;;
9971 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9972 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
9973 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9974 fi ;;
9975 esac
9977 rm -f core conftest.err conftest.$ac_objext \
9978 conftest$ac_exeext conftest.$ac_ext
9979 LIBS=$ac_check_soname_save_LIBS
9981 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
9982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9983 $as_echo "not found" >&6; }
9985 else
9986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
9987 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
9989 cat >>confdefs.h <<_ACEOF
9990 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
9991 _ACEOF
9993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9994 /* end confdefs.h. */
9995 #include <X11/Xlib.h>
9996 #include <X11/extensions/Xrandr.h>
9998 main ()
10000 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10002 return 0;
10004 _ACEOF
10005 if ac_fn_c_try_compile "$LINENO"; then :
10007 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10015 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10016 case "x$with_xrandr" in
10017 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10018 xno) ;;
10019 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10020 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10021 esac
10024 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10025 then
10026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10027 /* end confdefs.h. */
10028 #include <X11/Xlib.h>
10029 #include <X11/extensions/Xinerama.h>
10031 main ()
10033 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10035 return 0;
10037 _ACEOF
10038 if ac_fn_c_try_compile "$LINENO"; then :
10039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10040 $as_echo_n "checking for -lXinerama... " >&6; }
10041 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10042 $as_echo_n "(cached) " >&6
10043 else
10044 ac_check_soname_save_LIBS=$LIBS
10045 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10047 /* end confdefs.h. */
10049 /* Override any GCC internal prototype to avoid an error.
10050 Use char because int might match the return type of a GCC
10051 builtin and then its argument prototype would still apply. */
10052 #ifdef __cplusplus
10053 extern "C"
10054 #endif
10055 char XineramaQueryScreens ();
10057 main ()
10059 return XineramaQueryScreens ();
10061 return 0;
10063 _ACEOF
10064 if ac_fn_c_try_link "$LINENO"; then :
10065 case "$LIBEXT" in
10066 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10067 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'` ;;
10068 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10069 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10070 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10071 fi ;;
10072 esac
10074 rm -f core conftest.err conftest.$ac_objext \
10075 conftest$ac_exeext conftest.$ac_ext
10076 LIBS=$ac_check_soname_save_LIBS
10078 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10080 $as_echo "not found" >&6; }
10082 else
10083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10084 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10086 cat >>confdefs.h <<_ACEOF
10087 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10088 _ACEOF
10093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10095 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10096 case "x$with_xinerama" in
10097 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10098 xno) ;;
10099 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10100 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10101 esac
10104 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10105 then
10106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10107 $as_echo_n "checking for -lXcomposite... " >&6; }
10108 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10109 $as_echo_n "(cached) " >&6
10110 else
10111 ac_check_soname_save_LIBS=$LIBS
10112 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10114 /* end confdefs.h. */
10116 /* Override any GCC internal prototype to avoid an error.
10117 Use char because int might match the return type of a GCC
10118 builtin and then its argument prototype would still apply. */
10119 #ifdef __cplusplus
10120 extern "C"
10121 #endif
10122 char XCompositeRedirectWindow ();
10124 main ()
10126 return XCompositeRedirectWindow ();
10128 return 0;
10130 _ACEOF
10131 if ac_fn_c_try_link "$LINENO"; then :
10132 case "$LIBEXT" in
10133 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10134 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'` ;;
10135 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10136 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10137 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10138 fi ;;
10139 esac
10141 rm -f core conftest.err conftest.$ac_objext \
10142 conftest$ac_exeext conftest.$ac_ext
10143 LIBS=$ac_check_soname_save_LIBS
10145 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10147 $as_echo "not found" >&6; }
10149 else
10150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10151 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10153 cat >>confdefs.h <<_ACEOF
10154 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10155 _ACEOF
10160 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10161 case "x$with_xcomposite" in
10162 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10163 xno) ;;
10164 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10165 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10166 esac
10169 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10170 #include <X11/Xlib.h>
10171 #endif
10173 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10175 cat >>confdefs.h <<_ACEOF
10176 #define HAVE_XICCALLBACK_CALLBACK 1
10177 _ACEOF
10181 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10182 #include <X11/Xlib.h>
10183 #endif
10185 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10187 cat >>confdefs.h <<_ACEOF
10188 #define HAVE_XEVENT_XCOOKIE 1
10189 _ACEOF
10196 opengl_msg=""
10197 if test "x$with_opengl" != "xno"
10198 then
10199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10200 $as_echo_n "checking for -lGL... " >&6; }
10201 if ${ac_cv_lib_soname_GL+:} false; then :
10202 $as_echo_n "(cached) " >&6
10203 else
10204 ac_check_soname_save_LIBS=$LIBS
10205 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10207 /* end confdefs.h. */
10209 /* Override any GCC internal prototype to avoid an error.
10210 Use char because int might match the return type of a GCC
10211 builtin and then its argument prototype would still apply. */
10212 #ifdef __cplusplus
10213 extern "C"
10214 #endif
10215 char glXCreateContext ();
10217 main ()
10219 return glXCreateContext ();
10221 return 0;
10223 _ACEOF
10224 if ac_fn_c_try_link "$LINENO"; then :
10225 case "$LIBEXT" in
10226 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10227 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'` ;;
10228 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10229 if ${ac_cv_lib_soname_GL:+false} :; then :
10230 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10231 fi ;;
10232 esac
10234 rm -f core conftest.err conftest.$ac_objext \
10235 conftest$ac_exeext conftest.$ac_ext
10236 LIBS=$ac_check_soname_save_LIBS
10238 if ${ac_cv_lib_soname_GL:+false} :; then :
10239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10240 $as_echo "not found" >&6; }
10241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10242 $as_echo_n "checking for -lGL... " >&6; }
10243 if ${ac_cv_lib_soname_GL+:} false; then :
10244 $as_echo_n "(cached) " >&6
10245 else
10246 ac_check_soname_save_LIBS=$LIBS
10247 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS -dylib_file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib $LIBS"
10248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10249 /* end confdefs.h. */
10251 /* Override any GCC internal prototype to avoid an error.
10252 Use char because int might match the return type of a GCC
10253 builtin and then its argument prototype would still apply. */
10254 #ifdef __cplusplus
10255 extern "C"
10256 #endif
10257 char glXCreateContext ();
10259 main ()
10261 return glXCreateContext ();
10263 return 0;
10265 _ACEOF
10266 if ac_fn_c_try_link "$LINENO"; then :
10267 case "$LIBEXT" in
10268 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10269 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'` ;;
10270 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10271 if ${ac_cv_lib_soname_GL:+false} :; then :
10272 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10273 fi ;;
10274 esac
10276 rm -f core conftest.err conftest.$ac_objext \
10277 conftest$ac_exeext conftest.$ac_ext
10278 LIBS=$ac_check_soname_save_LIBS
10280 if ${ac_cv_lib_soname_GL:+false} :; then :
10281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10282 $as_echo "not found" >&6; }
10283 if test -f /usr/X11R6/lib/libGL.a
10284 then
10285 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10286 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10287 else
10288 opengl_msg="No OpenGL library found on this system."
10290 else
10291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10292 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10294 cat >>confdefs.h <<_ACEOF
10295 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10296 _ACEOF
10298 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"
10300 else
10301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10302 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10304 cat >>confdefs.h <<_ACEOF
10305 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10306 _ACEOF
10308 OPENGL_LIBS="-lGL"
10310 if test "x$with_glu" != "xno"
10311 then
10312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10313 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10314 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10315 $as_echo_n "(cached) " >&6
10316 else
10317 ac_check_lib_save_LIBS=$LIBS
10318 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10320 /* end confdefs.h. */
10322 /* Override any GCC internal prototype to avoid an error.
10323 Use char because int might match the return type of a GCC
10324 builtin and then its argument prototype would still apply. */
10325 #ifdef __cplusplus
10326 extern "C"
10327 #endif
10328 char gluLookAt ();
10330 main ()
10332 return gluLookAt ();
10334 return 0;
10336 _ACEOF
10337 if ac_fn_c_try_link "$LINENO"; then :
10338 ac_cv_lib_GLU_gluLookAt=yes
10339 else
10340 ac_cv_lib_GLU_gluLookAt=no
10342 rm -f core conftest.err conftest.$ac_objext \
10343 conftest$ac_exeext conftest.$ac_ext
10344 LIBS=$ac_check_lib_save_LIBS
10346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10347 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10348 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10352 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10353 case "x$with_glu" in
10354 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10355 xno) ;;
10356 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10357 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10358 esac
10362 if test "x$with_osmesa" != "xno"
10363 then
10364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10365 $as_echo_n "checking for -lOSMesa... " >&6; }
10366 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10367 $as_echo_n "(cached) " >&6
10368 else
10369 ac_check_soname_save_LIBS=$LIBS
10370 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10372 /* end confdefs.h. */
10374 /* Override any GCC internal prototype to avoid an error.
10375 Use char because int might match the return type of a GCC
10376 builtin and then its argument prototype would still apply. */
10377 #ifdef __cplusplus
10378 extern "C"
10379 #endif
10380 char glAccum ();
10382 main ()
10384 return glAccum ();
10386 return 0;
10388 _ACEOF
10389 if ac_fn_c_try_link "$LINENO"; then :
10390 case "$LIBEXT" in
10391 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10392 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'` ;;
10393 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10394 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10395 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10396 fi ;;
10397 esac
10399 rm -f core conftest.err conftest.$ac_objext \
10400 conftest$ac_exeext conftest.$ac_ext
10401 LIBS=$ac_check_soname_save_LIBS
10403 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10405 $as_echo "not found" >&6; }
10407 else
10408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10409 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10411 cat >>confdefs.h <<_ACEOF
10412 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10413 _ACEOF
10417 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10418 case "x$with_osmesa" in
10419 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10420 xno) ;;
10421 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10422 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10423 esac
10427 if test -n "$opengl_msg"; then :
10428 case "x$with_opengl" in
10429 x) as_fn_append wine_warnings "|$opengl_msg
10430 OpenGL and Direct3D won't be supported." ;;
10431 xno) ;;
10432 *) as_fn_error $? "$opengl_msg
10433 OpenGL and Direct3D won't be supported.
10434 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10435 esac
10438 CPPFLAGS="$ac_save_CPPFLAGS"
10439 else
10440 X_CFLAGS=""
10441 X_LIBS=""
10442 enable_winex11_drv=${enable_winex11_drv:-no}
10444 if test "x$X_LIBS" = "x"; then :
10445 case "x$with_x" in
10446 xno) ;;
10447 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10448 without X support, which probably isn't what you want. You will need
10449 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10450 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10451 esac
10454 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10456 if test "$ac_cv_header_CL_cl_h" = "yes"
10457 then
10458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10459 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10460 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10461 $as_echo_n "(cached) " >&6
10462 else
10463 ac_check_lib_save_LIBS=$LIBS
10464 LIBS="-lOpenCL $LIBS"
10465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10466 /* end confdefs.h. */
10468 /* Override any GCC internal prototype to avoid an error.
10469 Use char because int might match the return type of a GCC
10470 builtin and then its argument prototype would still apply. */
10471 #ifdef __cplusplus
10472 extern "C"
10473 #endif
10474 char clGetPlatformInfo ();
10476 main ()
10478 return clGetPlatformInfo ();
10480 return 0;
10482 _ACEOF
10483 if ac_fn_c_try_link "$LINENO"; then :
10484 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10485 else
10486 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10488 rm -f core conftest.err conftest.$ac_objext \
10489 conftest$ac_exeext conftest.$ac_ext
10490 LIBS=$ac_check_lib_save_LIBS
10492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10493 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10494 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10495 OPENCL_LIBS="-lOpenCL"
10500 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10501 case "x$with_opencl" in
10502 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10503 xno) ;;
10504 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10505 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10506 esac
10508 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10511 if test "x$with_xml" != "xno"
10512 then
10513 if ${XML2_CFLAGS:+false} :; then :
10514 if ${PKG_CONFIG+:} false; then :
10515 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10518 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10519 if ${XML2_LIBS:+false} :; then :
10520 if ${PKG_CONFIG+:} false; then :
10521 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10524 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10525 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10526 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10527 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10528 ac_save_CPPFLAGS=$CPPFLAGS
10529 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10530 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10531 do :
10532 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10533 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10534 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10535 cat >>confdefs.h <<_ACEOF
10536 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10537 _ACEOF
10541 done
10543 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"
10544 then
10545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10546 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10547 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10548 $as_echo_n "(cached) " >&6
10549 else
10550 ac_check_lib_save_LIBS=$LIBS
10551 LIBS="-lxml2 $XML2_LIBS $LIBS"
10552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10553 /* end confdefs.h. */
10555 /* Override any GCC internal prototype to avoid an error.
10556 Use char because int might match the return type of a GCC
10557 builtin and then its argument prototype would still apply. */
10558 #ifdef __cplusplus
10559 extern "C"
10560 #endif
10561 char xmlParseMemory ();
10563 main ()
10565 return xmlParseMemory ();
10567 return 0;
10569 _ACEOF
10570 if ac_fn_c_try_link "$LINENO"; then :
10571 ac_cv_lib_xml2_xmlParseMemory=yes
10572 else
10573 ac_cv_lib_xml2_xmlParseMemory=no
10575 rm -f core conftest.err conftest.$ac_objext \
10576 conftest$ac_exeext conftest.$ac_ext
10577 LIBS=$ac_check_lib_save_LIBS
10579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10580 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10581 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10583 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10585 else
10586 XML2_LIBS=""
10589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10590 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10591 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10592 $as_echo_n "(cached) " >&6
10593 else
10594 ac_check_lib_save_LIBS=$LIBS
10595 LIBS="-lxml2 $XML2_LIBS $LIBS"
10596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10597 /* end confdefs.h. */
10599 /* Override any GCC internal prototype to avoid an error.
10600 Use char because int might match the return type of a GCC
10601 builtin and then its argument prototype would still apply. */
10602 #ifdef __cplusplus
10603 extern "C"
10604 #endif
10605 char xmlReadMemory ();
10607 main ()
10609 return xmlReadMemory ();
10611 return 0;
10613 _ACEOF
10614 if ac_fn_c_try_link "$LINENO"; then :
10615 ac_cv_lib_xml2_xmlReadMemory=yes
10616 else
10617 ac_cv_lib_xml2_xmlReadMemory=no
10619 rm -f core conftest.err conftest.$ac_objext \
10620 conftest$ac_exeext conftest.$ac_ext
10621 LIBS=$ac_check_lib_save_LIBS
10623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10624 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10625 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
10627 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10632 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10633 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
10634 $as_echo_n "(cached) " >&6
10635 else
10636 ac_check_lib_save_LIBS=$LIBS
10637 LIBS="-lxml2 $XML2_LIBS $LIBS"
10638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10639 /* end confdefs.h. */
10641 /* Override any GCC internal prototype to avoid an error.
10642 Use char because int might match the return type of a GCC
10643 builtin and then its argument prototype would still apply. */
10644 #ifdef __cplusplus
10645 extern "C"
10646 #endif
10647 char xmlNewDocPI ();
10649 main ()
10651 return xmlNewDocPI ();
10653 return 0;
10655 _ACEOF
10656 if ac_fn_c_try_link "$LINENO"; then :
10657 ac_cv_lib_xml2_xmlNewDocPI=yes
10658 else
10659 ac_cv_lib_xml2_xmlNewDocPI=no
10661 rm -f core conftest.err conftest.$ac_objext \
10662 conftest$ac_exeext conftest.$ac_ext
10663 LIBS=$ac_check_lib_save_LIBS
10665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10666 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10667 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
10669 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10674 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10675 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
10676 $as_echo_n "(cached) " >&6
10677 else
10678 ac_check_lib_save_LIBS=$LIBS
10679 LIBS="-lxml2 $XML2_LIBS $LIBS"
10680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10681 /* end confdefs.h. */
10683 /* Override any GCC internal prototype to avoid an error.
10684 Use char because int might match the return type of a GCC
10685 builtin and then its argument prototype would still apply. */
10686 #ifdef __cplusplus
10687 extern "C"
10688 #endif
10689 char xmlSchemaSetParserStructuredErrors ();
10691 main ()
10693 return xmlSchemaSetParserStructuredErrors ();
10695 return 0;
10697 _ACEOF
10698 if ac_fn_c_try_link "$LINENO"; then :
10699 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
10700 else
10701 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
10703 rm -f core conftest.err conftest.$ac_objext \
10704 conftest$ac_exeext conftest.$ac_ext
10705 LIBS=$ac_check_lib_save_LIBS
10707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10708 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10709 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
10711 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10716 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10717 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
10718 $as_echo_n "(cached) " >&6
10719 else
10720 ac_check_lib_save_LIBS=$LIBS
10721 LIBS="-lxml2 $XML2_LIBS $LIBS"
10722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10723 /* end confdefs.h. */
10725 /* Override any GCC internal prototype to avoid an error.
10726 Use char because int might match the return type of a GCC
10727 builtin and then its argument prototype would still apply. */
10728 #ifdef __cplusplus
10729 extern "C"
10730 #endif
10731 char xmlSchemaSetValidStructuredErrors ();
10733 main ()
10735 return xmlSchemaSetValidStructuredErrors ();
10737 return 0;
10739 _ACEOF
10740 if ac_fn_c_try_link "$LINENO"; then :
10741 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
10742 else
10743 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
10745 rm -f core conftest.err conftest.$ac_objext \
10746 conftest$ac_exeext conftest.$ac_ext
10747 LIBS=$ac_check_lib_save_LIBS
10749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10750 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10751 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
10753 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10758 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10759 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
10760 $as_echo_n "(cached) " >&6
10761 else
10762 ac_check_lib_save_LIBS=$LIBS
10763 LIBS="-lxml2 $XML2_LIBS $LIBS"
10764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10765 /* end confdefs.h. */
10767 /* Override any GCC internal prototype to avoid an error.
10768 Use char because int might match the return type of a GCC
10769 builtin and then its argument prototype would still apply. */
10770 #ifdef __cplusplus
10771 extern "C"
10772 #endif
10773 char xmlFirstElementChild ();
10775 main ()
10777 return xmlFirstElementChild ();
10779 return 0;
10781 _ACEOF
10782 if ac_fn_c_try_link "$LINENO"; then :
10783 ac_cv_lib_xml2_xmlFirstElementChild=yes
10784 else
10785 ac_cv_lib_xml2_xmlFirstElementChild=no
10787 rm -f core conftest.err conftest.$ac_objext \
10788 conftest$ac_exeext conftest.$ac_ext
10789 LIBS=$ac_check_lib_save_LIBS
10791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10792 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10793 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
10795 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10799 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10801 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
10803 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10807 else
10808 XML2_CFLAGS=""
10809 XML2_LIBS=""
10811 CPPFLAGS=$ac_save_CPPFLAGS
10812 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10813 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10816 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10817 case "x$with_xml" in
10818 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10819 xno) ;;
10820 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10821 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10822 esac
10825 if test "x$with_xslt" != "xno"
10826 then
10827 if ${XSLT_CFLAGS:+false} :; then :
10828 if ${PKG_CONFIG+:} false; then :
10829 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10832 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10833 if ${XSLT_LIBS:+false} :; then :
10834 if ${PKG_CONFIG+:} false; then :
10835 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10838 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10839 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
10840 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
10841 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
10842 ac_save_CPPFLAGS=$CPPFLAGS
10843 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
10844 for ac_header in libxslt/pattern.h libxslt/transform.h
10845 do :
10846 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10847 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10848 # include <libxslt/pattern.h>
10849 #endif
10851 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10852 cat >>confdefs.h <<_ACEOF
10853 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10854 _ACEOF
10858 done
10860 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10861 then
10862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10863 $as_echo_n "checking for -lxslt... " >&6; }
10864 if ${ac_cv_lib_soname_xslt+:} false; then :
10865 $as_echo_n "(cached) " >&6
10866 else
10867 ac_check_soname_save_LIBS=$LIBS
10868 LIBS="-lxslt $XSLT_LIBS $LIBS"
10869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10870 /* end confdefs.h. */
10872 /* Override any GCC internal prototype to avoid an error.
10873 Use char because int might match the return type of a GCC
10874 builtin and then its argument prototype would still apply. */
10875 #ifdef __cplusplus
10876 extern "C"
10877 #endif
10878 char xsltCompilePattern ();
10880 main ()
10882 return xsltCompilePattern ();
10884 return 0;
10886 _ACEOF
10887 if ac_fn_c_try_link "$LINENO"; then :
10888 case "$LIBEXT" in
10889 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10890 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'` ;;
10891 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10892 if ${ac_cv_lib_soname_xslt:+false} :; then :
10893 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10894 fi ;;
10895 esac
10897 rm -f core conftest.err conftest.$ac_objext \
10898 conftest$ac_exeext conftest.$ac_ext
10899 LIBS=$ac_check_soname_save_LIBS
10901 if ${ac_cv_lib_soname_xslt:+false} :; then :
10902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10903 $as_echo "not found" >&6; }
10905 else
10906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
10907 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
10909 cat >>confdefs.h <<_ACEOF
10910 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
10911 _ACEOF
10915 else
10916 XSLT_CFLAGS=""
10918 CPPFLAGS=$ac_save_CPPFLAGS
10919 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10920 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10923 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10924 case "x$with_xslt" in
10925 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
10926 xno) ;;
10927 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
10928 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
10929 esac
10932 if test "x$with_dbus" != "xno"
10933 then
10934 if ${DBUS_CFLAGS:+false} :; then :
10935 if ${PKG_CONFIG+:} false; then :
10936 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
10940 if ${DBUS_LIBS:+false} :; then :
10941 if ${PKG_CONFIG+:} false; then :
10942 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
10947 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
10948 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
10949 ac_save_CPPFLAGS=$CPPFLAGS
10950 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
10951 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
10952 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
10953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
10954 $as_echo_n "checking for -ldbus-1... " >&6; }
10955 if ${ac_cv_lib_soname_dbus_1+:} false; then :
10956 $as_echo_n "(cached) " >&6
10957 else
10958 ac_check_soname_save_LIBS=$LIBS
10959 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
10960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10961 /* end confdefs.h. */
10963 /* Override any GCC internal prototype to avoid an error.
10964 Use char because int might match the return type of a GCC
10965 builtin and then its argument prototype would still apply. */
10966 #ifdef __cplusplus
10967 extern "C"
10968 #endif
10969 char dbus_connection_close ();
10971 main ()
10973 return dbus_connection_close ();
10975 return 0;
10977 _ACEOF
10978 if ac_fn_c_try_link "$LINENO"; then :
10979 case "$LIBEXT" in
10980 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10981 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'` ;;
10982 *) 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'`
10983 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
10984 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10985 fi ;;
10986 esac
10988 rm -f core conftest.err conftest.$ac_objext \
10989 conftest$ac_exeext conftest.$ac_ext
10990 LIBS=$ac_check_soname_save_LIBS
10992 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
10993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10994 $as_echo "not found" >&6; }
10995 DBUS_CFLAGS=""
10996 else
10997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
10998 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11000 cat >>confdefs.h <<_ACEOF
11001 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11002 _ACEOF
11006 else
11007 DBUS_CFLAGS=""
11011 CPPFLAGS=$ac_save_CPPFLAGS
11012 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11013 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11016 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11017 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11018 case "x$with_dbus" in
11019 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11020 xno) ;;
11021 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11022 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11023 esac
11026 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11027 then
11028 if ${HAL_CFLAGS:+false} :; then :
11029 if ${PKG_CONFIG+:} false; then :
11030 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11034 if ${HAL_LIBS:+false} :; then :
11035 if ${PKG_CONFIG+:} false; then :
11036 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11040 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11041 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11042 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11043 ac_save_CPPFLAGS=$CPPFLAGS
11044 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11045 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11046 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11048 $as_echo_n "checking for -lhal... " >&6; }
11049 if ${ac_cv_lib_soname_hal+:} false; then :
11050 $as_echo_n "(cached) " >&6
11051 else
11052 ac_check_soname_save_LIBS=$LIBS
11053 LIBS="-lhal $HAL_LIBS $LIBS"
11054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11055 /* end confdefs.h. */
11057 /* Override any GCC internal prototype to avoid an error.
11058 Use char because int might match the return type of a GCC
11059 builtin and then its argument prototype would still apply. */
11060 #ifdef __cplusplus
11061 extern "C"
11062 #endif
11063 char libhal_ctx_new ();
11065 main ()
11067 return libhal_ctx_new ();
11069 return 0;
11071 _ACEOF
11072 if ac_fn_c_try_link "$LINENO"; then :
11073 case "$LIBEXT" in
11074 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11075 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'` ;;
11076 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11077 if ${ac_cv_lib_soname_hal:+false} :; then :
11078 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11079 fi ;;
11080 esac
11082 rm -f core conftest.err conftest.$ac_objext \
11083 conftest$ac_exeext conftest.$ac_ext
11084 LIBS=$ac_check_soname_save_LIBS
11086 if ${ac_cv_lib_soname_hal:+false} :; then :
11087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11088 $as_echo "not found" >&6; }
11089 HAL_CFLAGS=""
11090 else
11091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11092 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11094 cat >>confdefs.h <<_ACEOF
11095 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11096 _ACEOF
11100 else
11101 HAL_CFLAGS=""
11105 CPPFLAGS=$ac_save_CPPFLAGS
11106 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11107 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11109 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11110 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11111 case "x$with_hal" in
11112 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11113 xno) ;;
11114 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11115 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11116 esac
11120 if test "x$with_gnutls" != "xno"
11121 then
11122 if ${GNUTLS_CFLAGS:+false} :; then :
11123 if ${PKG_CONFIG+:} false; then :
11124 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11128 if ${GNUTLS_LIBS:+false} :; then :
11129 if ${PKG_CONFIG+:} false; then :
11130 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11135 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11136 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11137 ac_save_CPPFLAGS=$CPPFLAGS
11138 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11139 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11140 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11142 /* end confdefs.h. */
11143 #include <gnutls/gnutls.h>
11144 #include <gnutls/crypto.h>
11146 main ()
11148 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11150 return 0;
11152 _ACEOF
11153 if ac_fn_c_try_compile "$LINENO"; then :
11154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11155 $as_echo_n "checking for -lgnutls... " >&6; }
11156 if ${ac_cv_lib_soname_gnutls+:} false; then :
11157 $as_echo_n "(cached) " >&6
11158 else
11159 ac_check_soname_save_LIBS=$LIBS
11160 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11162 /* end confdefs.h. */
11164 /* Override any GCC internal prototype to avoid an error.
11165 Use char because int might match the return type of a GCC
11166 builtin and then its argument prototype would still apply. */
11167 #ifdef __cplusplus
11168 extern "C"
11169 #endif
11170 char gnutls_global_init ();
11172 main ()
11174 return gnutls_global_init ();
11176 return 0;
11178 _ACEOF
11179 if ac_fn_c_try_link "$LINENO"; then :
11180 case "$LIBEXT" in
11181 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11182 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'` ;;
11183 *) ac_cv_lib_soname_gnutls=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11184 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11185 ac_cv_lib_soname_gnutls=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11186 fi ;;
11187 esac
11189 rm -f core conftest.err conftest.$ac_objext \
11190 conftest$ac_exeext conftest.$ac_ext
11191 LIBS=$ac_check_soname_save_LIBS
11193 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11195 $as_echo "not found" >&6; }
11196 GNUTLS_CFLAGS=""
11197 else
11198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11199 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11201 cat >>confdefs.h <<_ACEOF
11202 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11203 _ACEOF
11208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11209 else
11210 GNUTLS_CFLAGS=""
11214 CPPFLAGS=$ac_save_CPPFLAGS
11215 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11216 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11219 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11220 case "x$with_gnutls" in
11221 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11222 xno) ;;
11223 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11224 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11225 esac
11228 CURSES_LIBS=""
11229 if test "$ac_cv_header_ncurses_h" = "yes"
11230 then
11231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11232 $as_echo_n "checking for -lncurses... " >&6; }
11233 if ${ac_cv_lib_soname_ncurses+:} false; then :
11234 $as_echo_n "(cached) " >&6
11235 else
11236 ac_check_soname_save_LIBS=$LIBS
11237 LIBS="-lncurses $LIBS"
11238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11239 /* end confdefs.h. */
11241 /* Override any GCC internal prototype to avoid an error.
11242 Use char because int might match the return type of a GCC
11243 builtin and then its argument prototype would still apply. */
11244 #ifdef __cplusplus
11245 extern "C"
11246 #endif
11247 char waddch ();
11249 main ()
11251 return waddch ();
11253 return 0;
11255 _ACEOF
11256 if ac_fn_c_try_link "$LINENO"; then :
11257 case "$LIBEXT" in
11258 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11259 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'` ;;
11260 *) ac_cv_lib_soname_ncurses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11261 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11262 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11263 fi ;;
11264 esac
11266 rm -f core conftest.err conftest.$ac_objext \
11267 conftest$ac_exeext conftest.$ac_ext
11268 LIBS=$ac_check_soname_save_LIBS
11270 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11272 $as_echo "not found" >&6; }
11274 else
11275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11276 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11278 cat >>confdefs.h <<_ACEOF
11279 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11280 _ACEOF
11282 CURSES_LIBS="-lncurses"
11284 elif test "$ac_cv_header_curses_h" = "yes"
11285 then
11286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11287 $as_echo_n "checking for -lcurses... " >&6; }
11288 if ${ac_cv_lib_soname_curses+:} false; then :
11289 $as_echo_n "(cached) " >&6
11290 else
11291 ac_check_soname_save_LIBS=$LIBS
11292 LIBS="-lcurses $LIBS"
11293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11294 /* end confdefs.h. */
11296 /* Override any GCC internal prototype to avoid an error.
11297 Use char because int might match the return type of a GCC
11298 builtin and then its argument prototype would still apply. */
11299 #ifdef __cplusplus
11300 extern "C"
11301 #endif
11302 char waddch ();
11304 main ()
11306 return waddch ();
11308 return 0;
11310 _ACEOF
11311 if ac_fn_c_try_link "$LINENO"; then :
11312 case "$LIBEXT" in
11313 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11314 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'` ;;
11315 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11316 if ${ac_cv_lib_soname_curses:+false} :; then :
11317 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11318 fi ;;
11319 esac
11321 rm -f core conftest.err conftest.$ac_objext \
11322 conftest$ac_exeext conftest.$ac_ext
11323 LIBS=$ac_check_soname_save_LIBS
11325 if ${ac_cv_lib_soname_curses:+false} :; then :
11326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11327 $as_echo "not found" >&6; }
11329 else
11330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11331 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11333 cat >>confdefs.h <<_ACEOF
11334 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11335 _ACEOF
11337 CURSES_LIBS="-lcurses"
11340 ac_save_LIBS="$LIBS"
11341 LIBS="$LIBS $CURSES_LIBS"
11342 for ac_func in mousemask
11343 do :
11344 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11345 if test "x$ac_cv_func_mousemask" = xyes; then :
11346 cat >>confdefs.h <<_ACEOF
11347 #define HAVE_MOUSEMASK 1
11348 _ACEOF
11351 done
11353 LIBS="$ac_save_LIBS"
11354 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11355 case "x$with_curses" in
11356 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11357 xno) ;;
11358 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11359 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11360 esac
11363 if test "x$with_sane" != "xno"
11364 then
11365 if ${SANE_CFLAGS:+false} :; then :
11366 if ${PKG_CONFIG+:} false; then :
11367 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11370 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11371 if ${SANE_LIBS:+false} :; then :
11372 if ${PKG_CONFIG+:} false; then :
11373 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11376 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11378 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11379 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
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 ${ac_cv_lib_soname_sane:+false} :; 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 ${ac_cv_lib_soname_sane:+false} :; 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 ${ac_cv_lib_soname_v4l1:+false} :; 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 ${ac_cv_lib_soname_v4l1:+false} :; 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 ${GPHOTO2_CFLAGS:+false} :; then :
11524 if ${PKG_CONFIG+:} false; then :
11525 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 ${GPHOTO2_LIBS:+false} :; then :
11530 if ${PKG_CONFIG+:} false; then :
11531 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 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11537 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11538 ac_save_CPPFLAGS=$CPPFLAGS
11539 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11540 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11541 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11543 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11544 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11545 $as_echo_n "(cached) " >&6
11546 else
11547 ac_check_lib_save_LIBS=$LIBS
11548 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11550 /* end confdefs.h. */
11552 /* Override any GCC internal prototype to avoid an error.
11553 Use char because int might match the return type of a GCC
11554 builtin and then its argument prototype would still apply. */
11555 #ifdef __cplusplus
11556 extern "C"
11557 #endif
11558 char gp_camera_new ();
11560 main ()
11562 return gp_camera_new ();
11564 return 0;
11566 _ACEOF
11567 if ac_fn_c_try_link "$LINENO"; then :
11568 ac_cv_lib_gphoto2_gp_camera_new=yes
11569 else
11570 ac_cv_lib_gphoto2_gp_camera_new=no
11572 rm -f core conftest.err conftest.$ac_objext \
11573 conftest$ac_exeext conftest.$ac_ext
11574 LIBS=$ac_check_lib_save_LIBS
11576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11577 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11578 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11580 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11582 else
11583 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11586 else
11587 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11591 CPPFLAGS=$ac_save_CPPFLAGS
11592 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11593 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11595 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11596 if ${PKG_CONFIG+:} false; then :
11597 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11600 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11601 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11602 if ${PKG_CONFIG+:} false; then :
11603 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11606 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11607 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11608 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11609 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11610 ac_save_CPPFLAGS=$CPPFLAGS
11611 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11612 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11613 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11615 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11616 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11617 $as_echo_n "(cached) " >&6
11618 else
11619 ac_check_lib_save_LIBS=$LIBS
11620 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11622 /* end confdefs.h. */
11624 /* Override any GCC internal prototype to avoid an error.
11625 Use char because int might match the return type of a GCC
11626 builtin and then its argument prototype would still apply. */
11627 #ifdef __cplusplus
11628 extern "C"
11629 #endif
11630 char gp_port_info_list_new ();
11632 main ()
11634 return gp_port_info_list_new ();
11636 return 0;
11638 _ACEOF
11639 if ac_fn_c_try_link "$LINENO"; then :
11640 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
11641 else
11642 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
11644 rm -f core conftest.err conftest.$ac_objext \
11645 conftest$ac_exeext conftest.$ac_ext
11646 LIBS=$ac_check_lib_save_LIBS
11648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11649 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11650 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
11652 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11654 else
11655 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11658 else
11659 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11663 CPPFLAGS=$ac_save_CPPFLAGS
11664 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11665 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11668 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11669 case "x$with_gphoto" in
11670 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11671 xno) ;;
11672 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11673 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11674 esac
11676 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11677 case "x$with_gphoto" in
11678 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11679 xno) ;;
11680 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11681 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11682 esac
11686 if test "$ac_cv_header_resolv_h" = "yes"
11687 then
11688 ac_save_LIBS="$LIBS"
11689 for lib in '' -lresolv
11691 LIBS="$lib $ac_save_LIBS"
11692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11693 /* end confdefs.h. */
11694 #ifdef HAVE_NETINET_IN_H
11695 #include <netinet/in.h>
11696 #endif
11697 #include <resolv.h>
11699 main ()
11701 res_query("foo",ns_c_in,0,0,0);
11703 return 0;
11705 _ACEOF
11706 if ac_fn_c_try_link "$LINENO"; then :
11708 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11710 RESOLV_LIBS="$lib"
11713 rm -f core conftest.err conftest.$ac_objext \
11714 conftest$ac_exeext conftest.$ac_ext
11715 if test "${RESOLV_LIBS+set}" = set; then
11716 break
11718 done
11719 LIBS="$ac_save_LIBS"
11722 if test "x$with_lcms2" != "xno"
11723 then
11724 if ${LCMS2_CFLAGS:+false} :; then :
11725 if ${PKG_CONFIG+:} false; then :
11726 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11730 if ${LCMS2_LIBS:+false} :; then :
11731 if ${PKG_CONFIG+:} false; then :
11732 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11736 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
11737 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11738 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
11739 ac_save_CPPFLAGS=$CPPFLAGS
11740 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
11741 for ac_header in lcms2.h
11742 do :
11743 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11744 if test "x$ac_cv_header_lcms2_h" = xyes; then :
11745 cat >>confdefs.h <<_ACEOF
11746 #define HAVE_LCMS2_H 1
11747 _ACEOF
11751 done
11753 if test "$ac_cv_header_lcms2_h" = "yes"
11754 then
11755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11756 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11757 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
11758 $as_echo_n "(cached) " >&6
11759 else
11760 ac_check_lib_save_LIBS=$LIBS
11761 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
11762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11763 /* end confdefs.h. */
11765 /* Override any GCC internal prototype to avoid an error.
11766 Use char because int might match the return type of a GCC
11767 builtin and then its argument prototype would still apply. */
11768 #ifdef __cplusplus
11769 extern "C"
11770 #endif
11771 char cmsOpenProfileFromFile ();
11773 main ()
11775 return cmsOpenProfileFromFile ();
11777 return 0;
11779 _ACEOF
11780 if ac_fn_c_try_link "$LINENO"; then :
11781 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
11782 else
11783 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
11785 rm -f core conftest.err conftest.$ac_objext \
11786 conftest$ac_exeext conftest.$ac_ext
11787 LIBS=$ac_check_lib_save_LIBS
11789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11790 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11791 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
11793 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11795 else
11796 LCMS2_LIBS=""
11799 else
11800 LCMS2_CFLAGS=""
11801 LCMS2_LIBS=""
11803 CPPFLAGS=$ac_save_CPPFLAGS
11804 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11805 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11808 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11809 case "x$with_cms" in
11810 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11811 xno) ;;
11812 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11813 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11814 esac
11817 if test "x$with_freetype" != "xno"
11818 then
11819 if ${FREETYPE_CFLAGS:+false} :; then :
11820 if ${PKG_CONFIG+:} false; then :
11821 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11824 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11825 if ${FREETYPE_LIBS:+false} :; then :
11826 if ${PKG_CONFIG+:} false; then :
11827 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11830 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11831 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
11832 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
11833 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
11834 ac_save_CPPFLAGS=$CPPFLAGS
11835 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
11836 for ac_header in ft2build.h
11837 do :
11838 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
11839 if test "x$ac_cv_header_ft2build_h" = xyes; then :
11840 cat >>confdefs.h <<_ACEOF
11841 #define HAVE_FT2BUILD_H 1
11842 _ACEOF
11846 done
11848 if test "$ac_cv_header_ft2build_h" = "yes"
11849 then
11850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11851 $as_echo_n "checking for -lfreetype... " >&6; }
11852 if ${ac_cv_lib_soname_freetype+:} false; then :
11853 $as_echo_n "(cached) " >&6
11854 else
11855 ac_check_soname_save_LIBS=$LIBS
11856 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
11857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11858 /* end confdefs.h. */
11860 /* Override any GCC internal prototype to avoid an error.
11861 Use char because int might match the return type of a GCC
11862 builtin and then its argument prototype would still apply. */
11863 #ifdef __cplusplus
11864 extern "C"
11865 #endif
11866 char FT_Init_FreeType ();
11868 main ()
11870 return FT_Init_FreeType ();
11872 return 0;
11874 _ACEOF
11875 if ac_fn_c_try_link "$LINENO"; then :
11876 case "$LIBEXT" in
11877 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11878 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'` ;;
11879 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11880 if ${ac_cv_lib_soname_freetype:+false} :; then :
11881 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11882 fi ;;
11883 esac
11885 rm -f core conftest.err conftest.$ac_objext \
11886 conftest$ac_exeext conftest.$ac_ext
11887 LIBS=$ac_check_soname_save_LIBS
11889 if ${ac_cv_lib_soname_freetype:+false} :; then :
11890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11891 $as_echo "not found" >&6; }
11892 FREETYPE_LIBS=""
11893 else
11894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
11895 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
11897 cat >>confdefs.h <<_ACEOF
11898 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
11899 _ACEOF
11902 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
11904 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
11905 #include FT_MODULE_H
11907 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
11909 cat >>confdefs.h <<_ACEOF
11910 #define HAVE_FT_TRUETYPEENGINETYPE 1
11911 _ACEOF
11917 else
11918 FREETYPE_CFLAGS=""
11919 FREETYPE_LIBS=""
11921 CPPFLAGS=$ac_save_CPPFLAGS
11922 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11923 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11926 if test "x$ac_cv_lib_soname_freetype" = x; then :
11927 case "x$with_freetype" in
11928 xno) ;;
11929 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
11930 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
11931 esac
11933 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
11935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
11936 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
11937 if ${ac_cv_c_ppdev+:} false; then :
11938 $as_echo_n "(cached) " >&6
11939 else
11940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11941 /* end confdefs.h. */
11942 #ifdef HAVE_SYS_IOCTL_H
11943 # include <sys/ioctl.h>
11944 #endif
11945 #include <linux/ppdev.h>
11947 main ()
11949 ioctl (1,PPCLAIM,0)
11951 return 0;
11953 _ACEOF
11954 if ac_fn_c_try_compile "$LINENO"; then :
11955 ac_cv_c_ppdev="yes"
11956 else
11957 ac_cv_c_ppdev="no"
11959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
11962 $as_echo "$ac_cv_c_ppdev" >&6; }
11963 if test "$ac_cv_c_ppdev" = "yes"
11964 then
11966 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
11970 ac_wine_check_funcs_save_LIBS="$LIBS"
11971 LIBS="$LIBS $PTHREAD_LIBS"
11972 for ac_func in \
11973 pthread_attr_get_np \
11974 pthread_getattr_np \
11975 pthread_getthreadid_np \
11976 pthread_get_stackaddr_np \
11977 pthread_get_stacksize_np
11978 do :
11979 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11980 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
11981 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
11982 cat >>confdefs.h <<_ACEOF
11983 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11984 _ACEOF
11987 done
11989 LIBS="$ac_wine_check_funcs_save_LIBS"
11991 if test "$ac_cv_header_zlib_h" = "yes"
11992 then
11993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
11994 $as_echo_n "checking for inflate in -lz... " >&6; }
11995 if ${ac_cv_lib_z_inflate+:} false; then :
11996 $as_echo_n "(cached) " >&6
11997 else
11998 ac_check_lib_save_LIBS=$LIBS
11999 LIBS="-lz $LIBS"
12000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12001 /* end confdefs.h. */
12003 /* Override any GCC internal prototype to avoid an error.
12004 Use char because int might match the return type of a GCC
12005 builtin and then its argument prototype would still apply. */
12006 #ifdef __cplusplus
12007 extern "C"
12008 #endif
12009 char inflate ();
12011 main ()
12013 return inflate ();
12015 return 0;
12017 _ACEOF
12018 if ac_fn_c_try_link "$LINENO"; then :
12019 ac_cv_lib_z_inflate=yes
12020 else
12021 ac_cv_lib_z_inflate=no
12023 rm -f core conftest.err conftest.$ac_objext \
12024 conftest$ac_exeext conftest.$ac_ext
12025 LIBS=$ac_check_lib_save_LIBS
12027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12028 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12029 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12031 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12033 Z_LIBS="-lz"
12038 if test "x$Z_LIBS" = "x"; then :
12039 case "x$with_zlib" in
12040 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12041 xno) ;;
12042 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12043 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12044 esac
12047 if test "x$enable_tools" != xno
12048 then
12049 if test "$ac_cv_header_gettext_po_h" = "yes"
12050 then
12051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12052 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12053 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12054 $as_echo_n "(cached) " >&6
12055 else
12056 ac_check_lib_save_LIBS=$LIBS
12057 LIBS="-lgettextpo $LIBS"
12058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12059 /* end confdefs.h. */
12061 /* Override any GCC internal prototype to avoid an error.
12062 Use char because int might match the return type of a GCC
12063 builtin and then its argument prototype would still apply. */
12064 #ifdef __cplusplus
12065 extern "C"
12066 #endif
12067 char po_message_msgctxt ();
12069 main ()
12071 return po_message_msgctxt ();
12073 return 0;
12075 _ACEOF
12076 if ac_fn_c_try_link "$LINENO"; then :
12077 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12078 else
12079 ac_cv_lib_gettextpo_po_message_msgctxt=no
12081 rm -f core conftest.err conftest.$ac_objext \
12082 conftest$ac_exeext conftest.$ac_ext
12083 LIBS=$ac_check_lib_save_LIBS
12085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12086 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12087 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12089 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12091 GETTEXTPO_LIBS="-lgettextpo"
12096 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12097 case "x$with_gettextpo" in
12098 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12099 xno) ;;
12100 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12101 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12102 esac
12106 if test "x$with_gstreamer" != "xno"
12107 then
12108 if ${GSTREAMER_CFLAGS:+false} :; then :
12109 if ${PKG_CONFIG+:} false; then :
12110 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12114 if ${GSTREAMER_LIBS:+false} :; then :
12115 if ${PKG_CONFIG+:} false; then :
12116 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12121 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12122 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12123 ac_save_CPPFLAGS=$CPPFLAGS
12124 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12125 ac_gst_incl=""
12126 for i in $GSTREAMER_CFLAGS
12128 case "$i" in
12129 -I*) ac_gst_incl="$ac_gst_incl $i";;
12130 esac
12131 done
12132 GSTREAMER_CFLAGS=$ac_gst_incl
12133 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12134 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12135 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
12136 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12137 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
12138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12139 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12141 /* end confdefs.h. */
12142 #include <gst/app/gstappsink.h>
12144 main ()
12146 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12148 return 0;
12150 _ACEOF
12151 if ac_fn_c_try_compile "$LINENO"; then :
12152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12153 $as_echo "yes" >&6; }
12154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12155 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12156 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
12157 $as_echo_n "(cached) " >&6
12158 else
12159 ac_check_lib_save_LIBS=$LIBS
12160 LIBS="-lgstreamer-0.10 $LIBS"
12161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12162 /* end confdefs.h. */
12164 /* Override any GCC internal prototype to avoid an error.
12165 Use char because int might match the return type of a GCC
12166 builtin and then its argument prototype would still apply. */
12167 #ifdef __cplusplus
12168 extern "C"
12169 #endif
12170 char gst_pad_get_caps_reffed ();
12172 main ()
12174 return gst_pad_get_caps_reffed ();
12176 return 0;
12178 _ACEOF
12179 if ac_fn_c_try_link "$LINENO"; then :
12180 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
12181 else
12182 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
12184 rm -f core conftest.err conftest.$ac_objext \
12185 conftest$ac_exeext conftest.$ac_ext
12186 LIBS=$ac_check_lib_save_LIBS
12188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12189 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12190 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
12191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12192 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12193 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
12194 $as_echo_n "(cached) " >&6
12195 else
12196 ac_check_lib_save_LIBS=$LIBS
12197 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12199 /* end confdefs.h. */
12201 /* Override any GCC internal prototype to avoid an error.
12202 Use char because int might match the return type of a GCC
12203 builtin and then its argument prototype would still apply. */
12204 #ifdef __cplusplus
12205 extern "C"
12206 #endif
12207 char gst_app_buffer_new ();
12209 main ()
12211 return gst_app_buffer_new ();
12213 return 0;
12215 _ACEOF
12216 if ac_fn_c_try_link "$LINENO"; then :
12217 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
12218 else
12219 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
12221 rm -f core conftest.err conftest.$ac_objext \
12222 conftest$ac_exeext conftest.$ac_ext
12223 LIBS=$ac_check_lib_save_LIBS
12225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12226 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12227 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
12233 else
12234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12235 $as_echo "no" >&6; }
12237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12241 else
12242 GSTREAMER_CFLAGS=""
12246 CPPFLAGS=$ac_save_CPPFLAGS
12247 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12248 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12251 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
12252 case "x$with_gstreamer" in
12253 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12254 xno) ;;
12255 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12256 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12257 esac
12259 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12261 ALSA_LIBS=""
12263 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12264 then
12265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12266 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12267 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12268 $as_echo_n "(cached) " >&6
12269 else
12270 ac_check_lib_save_LIBS=$LIBS
12271 LIBS="-lasound $LIBS"
12272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12273 /* end confdefs.h. */
12275 /* Override any GCC internal prototype to avoid an error.
12276 Use char because int might match the return type of a GCC
12277 builtin and then its argument prototype would still apply. */
12278 #ifdef __cplusplus
12279 extern "C"
12280 #endif
12281 char snd_pcm_hw_params_get_access_mask ();
12283 main ()
12285 return snd_pcm_hw_params_get_access_mask ();
12287 return 0;
12289 _ACEOF
12290 if ac_fn_c_try_link "$LINENO"; then :
12291 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12292 else
12293 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12295 rm -f core conftest.err conftest.$ac_objext \
12296 conftest$ac_exeext conftest.$ac_ext
12297 LIBS=$ac_check_lib_save_LIBS
12299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12300 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12301 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12303 /* end confdefs.h. */
12304 #ifdef HAVE_ALSA_ASOUNDLIB_H
12305 #include <alsa/asoundlib.h>
12306 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12307 #include <sys/asoundlib.h>
12308 #endif
12310 main ()
12312 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12314 return 0;
12316 _ACEOF
12317 if ac_fn_c_try_compile "$LINENO"; then :
12318 ALSA_LIBS="-lasound"
12320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12325 if test "x$with_oss" != xno
12326 then
12327 ac_save_CPPFLAGS="$CPPFLAGS"
12328 if test -f /etc/oss.conf
12329 then
12330 . /etc/oss.conf
12332 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12333 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12334 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12335 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12336 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12338 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12340 cat >>confdefs.h <<_ACEOF
12341 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12342 _ACEOF
12344 OSS4_CFLAGS="$ac_oss_incl"
12351 CPPFLAGS="$ac_save_CPPFLAGS"
12352 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12353 then
12354 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12358 if test "x$with_capi" != "xno"
12359 then
12360 if ${CAPI20_CFLAGS:+false} :; then :
12361 if ${PKG_CONFIG+:} false; then :
12362 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12366 if ${CAPI20_LIBS:+false} :; then :
12367 if ${PKG_CONFIG+:} false; then :
12368 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12373 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12374 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12375 ac_save_CPPFLAGS=$CPPFLAGS
12376 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12377 for ac_header in capi20.h linux/capi.h
12378 do :
12379 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12380 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12382 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12383 cat >>confdefs.h <<_ACEOF
12384 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12385 _ACEOF
12389 done
12391 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12392 then
12393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12394 $as_echo_n "checking for -lcapi20... " >&6; }
12395 if ${ac_cv_lib_soname_capi20+:} false; then :
12396 $as_echo_n "(cached) " >&6
12397 else
12398 ac_check_soname_save_LIBS=$LIBS
12399 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12401 /* end confdefs.h. */
12403 /* Override any GCC internal prototype to avoid an error.
12404 Use char because int might match the return type of a GCC
12405 builtin and then its argument prototype would still apply. */
12406 #ifdef __cplusplus
12407 extern "C"
12408 #endif
12409 char capi20_register ();
12411 main ()
12413 return capi20_register ();
12415 return 0;
12417 _ACEOF
12418 if ac_fn_c_try_link "$LINENO"; then :
12419 case "$LIBEXT" in
12420 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12421 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'` ;;
12422 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12423 if ${ac_cv_lib_soname_capi20:+false} :; then :
12424 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12425 fi ;;
12426 esac
12428 rm -f core conftest.err conftest.$ac_objext \
12429 conftest$ac_exeext conftest.$ac_ext
12430 LIBS=$ac_check_soname_save_LIBS
12432 if ${ac_cv_lib_soname_capi20:+false} :; then :
12433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12434 $as_echo "not found" >&6; }
12436 else
12437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12438 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12440 cat >>confdefs.h <<_ACEOF
12441 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12442 _ACEOF
12447 CPPFLAGS=$ac_save_CPPFLAGS
12448 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12449 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12452 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12453 case "x$with_capi" in
12454 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12455 xno) ;;
12456 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12457 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12458 esac
12461 CUPS_CFLAGS=""
12463 if test "x$with_cups" != "xno"
12464 then
12465 ac_save_CPPFLAGS="$CPPFLAGS"
12466 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12467 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12468 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12469 for ac_header in cups/cups.h
12470 do :
12471 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12472 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12473 cat >>confdefs.h <<_ACEOF
12474 #define HAVE_CUPS_CUPS_H 1
12475 _ACEOF
12476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12477 $as_echo_n "checking for -lcups... " >&6; }
12478 if ${ac_cv_lib_soname_cups+:} false; then :
12479 $as_echo_n "(cached) " >&6
12480 else
12481 ac_check_soname_save_LIBS=$LIBS
12482 LIBS="-lcups $ac_cups_libs $LIBS"
12483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12484 /* end confdefs.h. */
12486 /* Override any GCC internal prototype to avoid an error.
12487 Use char because int might match the return type of a GCC
12488 builtin and then its argument prototype would still apply. */
12489 #ifdef __cplusplus
12490 extern "C"
12491 #endif
12492 char cupsGetDefault ();
12494 main ()
12496 return cupsGetDefault ();
12498 return 0;
12500 _ACEOF
12501 if ac_fn_c_try_link "$LINENO"; then :
12502 case "$LIBEXT" in
12503 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12504 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'` ;;
12505 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12506 if ${ac_cv_lib_soname_cups:+false} :; then :
12507 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12508 fi ;;
12509 esac
12511 rm -f core conftest.err conftest.$ac_objext \
12512 conftest$ac_exeext conftest.$ac_ext
12513 LIBS=$ac_check_soname_save_LIBS
12515 if ${ac_cv_lib_soname_cups:+false} :; then :
12516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12517 $as_echo "not found" >&6; }
12519 else
12520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12521 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12523 cat >>confdefs.h <<_ACEOF
12524 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12525 _ACEOF
12527 CUPS_CFLAGS="$ac_cups_cflags"
12531 done
12533 CPPFLAGS="$ac_save_CPPFLAGS"
12535 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12536 case "x$with_cups" in
12537 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12538 xno) ;;
12539 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12540 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12541 esac
12544 if test "x$with_fontconfig" != "xno"
12545 then
12546 if ${FONTCONFIG_CFLAGS:+false} :; then :
12547 if ${PKG_CONFIG+:} false; then :
12548 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12551 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12552 if ${FONTCONFIG_LIBS:+false} :; then :
12553 if ${PKG_CONFIG+:} false; then :
12554 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12557 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
12559 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12560 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12561 ac_save_CPPFLAGS=$CPPFLAGS
12562 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
12563 for ac_header in fontconfig/fontconfig.h
12564 do :
12565 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12566 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
12567 cat >>confdefs.h <<_ACEOF
12568 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12569 _ACEOF
12573 done
12575 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12576 then
12577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12578 $as_echo_n "checking for -lfontconfig... " >&6; }
12579 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12580 $as_echo_n "(cached) " >&6
12581 else
12582 ac_check_soname_save_LIBS=$LIBS
12583 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12585 /* end confdefs.h. */
12587 /* Override any GCC internal prototype to avoid an error.
12588 Use char because int might match the return type of a GCC
12589 builtin and then its argument prototype would still apply. */
12590 #ifdef __cplusplus
12591 extern "C"
12592 #endif
12593 char FcInit ();
12595 main ()
12597 return FcInit ();
12599 return 0;
12601 _ACEOF
12602 if ac_fn_c_try_link "$LINENO"; then :
12603 case "$LIBEXT" in
12604 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12605 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'` ;;
12606 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12607 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12608 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12609 fi ;;
12610 esac
12612 rm -f core conftest.err conftest.$ac_objext \
12613 conftest$ac_exeext conftest.$ac_ext
12614 LIBS=$ac_check_soname_save_LIBS
12616 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12618 $as_echo "not found" >&6; }
12619 FONTCONFIG_CFLAGS=""
12620 else
12621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12622 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12624 cat >>confdefs.h <<_ACEOF
12625 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12626 _ACEOF
12630 else
12631 FONTCONFIG_CFLAGS=""
12633 CPPFLAGS=$ac_save_CPPFLAGS
12634 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12635 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12638 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12639 case "x$with_fontconfig" in
12640 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12641 xno) ;;
12642 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12643 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12644 esac
12647 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12648 then
12649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12650 $as_echo_n "checking for -lgsm... " >&6; }
12651 if ${ac_cv_lib_soname_gsm+:} false; then :
12652 $as_echo_n "(cached) " >&6
12653 else
12654 ac_check_soname_save_LIBS=$LIBS
12655 LIBS="-lgsm $LIBS"
12656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12657 /* end confdefs.h. */
12659 /* Override any GCC internal prototype to avoid an error.
12660 Use char because int might match the return type of a GCC
12661 builtin and then its argument prototype would still apply. */
12662 #ifdef __cplusplus
12663 extern "C"
12664 #endif
12665 char gsm_create ();
12667 main ()
12669 return gsm_create ();
12671 return 0;
12673 _ACEOF
12674 if ac_fn_c_try_link "$LINENO"; then :
12675 case "$LIBEXT" in
12676 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12677 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'` ;;
12678 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12679 if ${ac_cv_lib_soname_gsm:+false} :; then :
12680 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12681 fi ;;
12682 esac
12684 rm -f core conftest.err conftest.$ac_objext \
12685 conftest$ac_exeext conftest.$ac_ext
12686 LIBS=$ac_check_soname_save_LIBS
12688 if ${ac_cv_lib_soname_gsm:+false} :; then :
12689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12690 $as_echo "not found" >&6; }
12692 else
12693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12694 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12696 cat >>confdefs.h <<_ACEOF
12697 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12698 _ACEOF
12703 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12704 case "x$with_gsm" in
12705 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12706 xno) ;;
12707 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12708 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12709 esac
12712 if test "x$with_jpeg" != "xno"
12713 then
12714 if ${JPEG_CFLAGS:+false} :; then :
12715 if ${PKG_CONFIG+:} false; then :
12716 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12720 if ${JPEG_LIBS:+false} :; then :
12721 if ${PKG_CONFIG+:} false; then :
12722 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12727 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12728 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12729 ac_save_CPPFLAGS=$CPPFLAGS
12730 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
12731 for ac_header in jpeglib.h
12732 do :
12733 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12734 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
12735 cat >>confdefs.h <<_ACEOF
12736 #define HAVE_JPEGLIB_H 1
12737 _ACEOF
12741 done
12743 if test "$ac_cv_header_jpeglib_h" = "yes"
12744 then
12745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12746 $as_echo_n "checking for -ljpeg... " >&6; }
12747 if ${ac_cv_lib_soname_jpeg+:} false; then :
12748 $as_echo_n "(cached) " >&6
12749 else
12750 ac_check_soname_save_LIBS=$LIBS
12751 LIBS="-ljpeg $JPEG_LIBS $LIBS"
12752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12753 /* end confdefs.h. */
12755 /* Override any GCC internal prototype to avoid an error.
12756 Use char because int might match the return type of a GCC
12757 builtin and then its argument prototype would still apply. */
12758 #ifdef __cplusplus
12759 extern "C"
12760 #endif
12761 char jpeg_start_decompress ();
12763 main ()
12765 return jpeg_start_decompress ();
12767 return 0;
12769 _ACEOF
12770 if ac_fn_c_try_link "$LINENO"; then :
12771 case "$LIBEXT" in
12772 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12773 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'` ;;
12774 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12775 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12776 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12777 fi ;;
12778 esac
12780 rm -f core conftest.err conftest.$ac_objext \
12781 conftest$ac_exeext conftest.$ac_ext
12782 LIBS=$ac_check_soname_save_LIBS
12784 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12786 $as_echo "not found" >&6; }
12787 JPEG_CFLAGS=""
12788 else
12789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12790 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12792 cat >>confdefs.h <<_ACEOF
12793 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12794 _ACEOF
12798 else
12799 JPEG_CFLAGS=""
12801 CPPFLAGS=$ac_save_CPPFLAGS
12802 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12803 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12806 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12807 case "x$with_jpeg" in
12808 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12809 xno) ;;
12810 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12811 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12812 esac
12815 if test "x$with_png" != "xno"
12816 then
12817 if ${PNG_CFLAGS:+false} :; then :
12818 if ${PKG_CONFIG+:} false; then :
12819 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12822 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
12823 if ${PNG_LIBS:+false} :; then :
12824 if ${PKG_CONFIG+:} false; then :
12825 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
12828 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
12830 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
12831 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
12832 ac_save_CPPFLAGS=$CPPFLAGS
12833 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
12834 for ac_header in png.h
12835 do :
12836 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12837 if test "x$ac_cv_header_png_h" = xyes; then :
12838 cat >>confdefs.h <<_ACEOF
12839 #define HAVE_PNG_H 1
12840 _ACEOF
12844 done
12846 if test "$ac_cv_header_png_h" = "yes"
12847 then
12848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12849 $as_echo_n "checking for -lpng... " >&6; }
12850 if ${ac_cv_lib_soname_png+:} false; then :
12851 $as_echo_n "(cached) " >&6
12852 else
12853 ac_check_soname_save_LIBS=$LIBS
12854 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
12855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12856 /* end confdefs.h. */
12858 /* Override any GCC internal prototype to avoid an error.
12859 Use char because int might match the return type of a GCC
12860 builtin and then its argument prototype would still apply. */
12861 #ifdef __cplusplus
12862 extern "C"
12863 #endif
12864 char png_create_read_struct ();
12866 main ()
12868 return png_create_read_struct ();
12870 return 0;
12872 _ACEOF
12873 if ac_fn_c_try_link "$LINENO"; then :
12874 case "$LIBEXT" in
12875 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12876 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'` ;;
12877 *) 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'`
12878 if ${ac_cv_lib_soname_png:+false} :; then :
12879 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12880 fi ;;
12881 esac
12883 rm -f core conftest.err conftest.$ac_objext \
12884 conftest$ac_exeext conftest.$ac_ext
12885 LIBS=$ac_check_soname_save_LIBS
12887 if ${ac_cv_lib_soname_png:+false} :; then :
12888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12889 $as_echo "not found" >&6; }
12890 PNG_CFLAGS=""
12891 else
12892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
12893 $as_echo "$ac_cv_lib_soname_png" >&6; }
12895 cat >>confdefs.h <<_ACEOF
12896 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
12897 _ACEOF
12899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12900 /* end confdefs.h. */
12901 #include <png.h>
12903 main ()
12905 typeof(png_set_expand_gray_1_2_4_to_8) *p
12907 return 0;
12909 _ACEOF
12910 if ac_fn_c_try_compile "$LINENO"; then :
12912 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
12915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12917 else
12918 PNG_CFLAGS=""
12920 CPPFLAGS=$ac_save_CPPFLAGS
12921 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12922 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12925 if test "x$ac_cv_lib_soname_png" = "x"; then :
12926 case "x$with_png" in
12927 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
12928 xno) ;;
12929 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
12930 This is an error since --with-png was requested." "$LINENO" 5 ;;
12931 esac
12934 if test "x$with_tiff" != "xno"
12935 then
12936 if ${TIFF_CFLAGS:+false} :; then :
12937 if ${PKG_CONFIG+:} false; then :
12938 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
12942 if ${TIFF_LIBS:+false} :; then :
12943 if ${PKG_CONFIG+:} false; then :
12944 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
12949 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
12950 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
12951 ac_save_CPPFLAGS=$CPPFLAGS
12952 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
12953 for ac_header in tiffio.h
12954 do :
12955 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
12956 if test "x$ac_cv_header_tiffio_h" = xyes; then :
12957 cat >>confdefs.h <<_ACEOF
12958 #define HAVE_TIFFIO_H 1
12959 _ACEOF
12963 done
12965 if test "$ac_cv_header_tiffio_h" = "yes"
12966 then
12967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
12968 $as_echo_n "checking for -ltiff... " >&6; }
12969 if ${ac_cv_lib_soname_tiff+:} false; then :
12970 $as_echo_n "(cached) " >&6
12971 else
12972 ac_check_soname_save_LIBS=$LIBS
12973 LIBS="-ltiff $TIFF_LIBS $LIBS"
12974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12975 /* end confdefs.h. */
12977 /* Override any GCC internal prototype to avoid an error.
12978 Use char because int might match the return type of a GCC
12979 builtin and then its argument prototype would still apply. */
12980 #ifdef __cplusplus
12981 extern "C"
12982 #endif
12983 char TIFFClientOpen ();
12985 main ()
12987 return TIFFClientOpen ();
12989 return 0;
12991 _ACEOF
12992 if ac_fn_c_try_link "$LINENO"; then :
12993 case "$LIBEXT" in
12994 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12995 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'` ;;
12996 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12997 if ${ac_cv_lib_soname_tiff:+false} :; then :
12998 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12999 fi ;;
13000 esac
13002 rm -f core conftest.err conftest.$ac_objext \
13003 conftest$ac_exeext conftest.$ac_ext
13004 LIBS=$ac_check_soname_save_LIBS
13006 if ${ac_cv_lib_soname_tiff:+false} :; then :
13007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13008 $as_echo "not found" >&6; }
13010 else
13011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13012 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13014 cat >>confdefs.h <<_ACEOF
13015 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13016 _ACEOF
13021 CPPFLAGS=$ac_save_CPPFLAGS
13022 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13023 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13026 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13027 case "x$with_tiff" in
13028 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13029 xno) ;;
13030 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13031 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13032 esac
13035 if test "x$with_mpg123" != "xno"
13036 then
13037 if ${MPG123_CFLAGS:+false} :; then :
13038 if ${PKG_CONFIG+:} false; then :
13039 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13043 if ${MPG123_LIBS:+false} :; then :
13044 if ${PKG_CONFIG+:} false; then :
13045 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13049 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13050 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13051 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13052 ac_save_CPPFLAGS=$CPPFLAGS
13053 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13054 for ac_header in mpg123.h
13055 do :
13056 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13057 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13058 cat >>confdefs.h <<_ACEOF
13059 #define HAVE_MPG123_H 1
13060 _ACEOF
13064 done
13066 if test "$ac_cv_header_mpg123_h" = "yes"
13067 then
13068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13069 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13070 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13071 $as_echo_n "(cached) " >&6
13072 else
13073 ac_check_lib_save_LIBS=$LIBS
13074 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13076 /* end confdefs.h. */
13078 /* Override any GCC internal prototype to avoid an error.
13079 Use char because int might match the return type of a GCC
13080 builtin and then its argument prototype would still apply. */
13081 #ifdef __cplusplus
13082 extern "C"
13083 #endif
13084 char mpg123_feed ();
13086 main ()
13088 return mpg123_feed ();
13090 return 0;
13092 _ACEOF
13093 if ac_fn_c_try_link "$LINENO"; then :
13094 ac_cv_lib_mpg123_mpg123_feed=yes
13095 else
13096 ac_cv_lib_mpg123_mpg123_feed=no
13098 rm -f core conftest.err conftest.$ac_objext \
13099 conftest$ac_exeext conftest.$ac_ext
13100 LIBS=$ac_check_lib_save_LIBS
13102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13103 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13104 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13106 else
13107 MPG123_LIBS=""
13110 else
13111 MPG123_CFLAGS=""
13112 MPG123_LIBS=""
13114 CPPFLAGS=$ac_save_CPPFLAGS
13115 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13116 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13119 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13120 case "x$with_mpg123" in
13121 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13122 xno) ;;
13123 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13124 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13125 esac
13127 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}
13129 if test "$ac_cv_header_AL_al_h" = "yes"
13130 then
13131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13132 $as_echo_n "checking for -lopenal... " >&6; }
13133 if ${ac_cv_lib_soname_openal+:} false; then :
13134 $as_echo_n "(cached) " >&6
13135 else
13136 ac_check_soname_save_LIBS=$LIBS
13137 LIBS="-lopenal $LIBS"
13138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13139 /* end confdefs.h. */
13141 /* Override any GCC internal prototype to avoid an error.
13142 Use char because int might match the return type of a GCC
13143 builtin and then its argument prototype would still apply. */
13144 #ifdef __cplusplus
13145 extern "C"
13146 #endif
13147 char alGetSource3i ();
13149 main ()
13151 return alGetSource3i ();
13153 return 0;
13155 _ACEOF
13156 if ac_fn_c_try_link "$LINENO"; then :
13157 case "$LIBEXT" in
13158 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13159 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'` ;;
13160 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13161 if ${ac_cv_lib_soname_openal:+false} :; then :
13162 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13163 fi ;;
13164 esac
13166 rm -f core conftest.err conftest.$ac_objext \
13167 conftest$ac_exeext conftest.$ac_ext
13168 LIBS=$ac_check_soname_save_LIBS
13170 if ${ac_cv_lib_soname_openal:+false} :; then :
13171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13172 $as_echo "not found" >&6; }
13174 else
13175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13176 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13178 cat >>confdefs.h <<_ACEOF
13179 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13180 _ACEOF
13182 OPENAL_LIBS="-lopenal"
13184 ac_cv_lib_openal=yes
13186 cat >>confdefs.h <<_ACEOF
13187 #define HAVE_OPENAL 1
13188 _ACEOF
13192 if test "x$ac_cv_lib_openal" != xyes; then :
13193 case "x$with_openal" in
13194 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13195 xno) ;;
13196 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13197 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13198 esac
13200 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13202 if test "$ac_cv_header_kstat_h" = "yes"
13203 then
13204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13205 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13206 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13207 $as_echo_n "(cached) " >&6
13208 else
13209 ac_check_lib_save_LIBS=$LIBS
13210 LIBS="-lkstat $LIBS"
13211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13212 /* end confdefs.h. */
13214 /* Override any GCC internal prototype to avoid an error.
13215 Use char because int might match the return type of a GCC
13216 builtin and then its argument prototype would still apply. */
13217 #ifdef __cplusplus
13218 extern "C"
13219 #endif
13220 char kstat_open ();
13222 main ()
13224 return kstat_open ();
13226 return 0;
13228 _ACEOF
13229 if ac_fn_c_try_link "$LINENO"; then :
13230 ac_cv_lib_kstat_kstat_open=yes
13231 else
13232 ac_cv_lib_kstat_kstat_open=no
13234 rm -f core conftest.err conftest.$ac_objext \
13235 conftest$ac_exeext conftest.$ac_ext
13236 LIBS=$ac_check_lib_save_LIBS
13238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13239 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13240 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13242 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13244 KSTAT_LIBS="-lkstat"
13250 if test "$ac_cv_header_libprocstat_h" = "yes"
13251 then
13252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13253 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13254 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13255 $as_echo_n "(cached) " >&6
13256 else
13257 ac_check_lib_save_LIBS=$LIBS
13258 LIBS="-lprocstat $LIBS"
13259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13260 /* end confdefs.h. */
13262 /* Override any GCC internal prototype to avoid an error.
13263 Use char because int might match the return type of a GCC
13264 builtin and then its argument prototype would still apply. */
13265 #ifdef __cplusplus
13266 extern "C"
13267 #endif
13268 char procstat_open_sysctl ();
13270 main ()
13272 return procstat_open_sysctl ();
13274 return 0;
13276 _ACEOF
13277 if ac_fn_c_try_link "$LINENO"; then :
13278 ac_cv_lib_procstat_procstat_open_sysctl=yes
13279 else
13280 ac_cv_lib_procstat_procstat_open_sysctl=no
13282 rm -f core conftest.err conftest.$ac_objext \
13283 conftest$ac_exeext conftest.$ac_ext
13284 LIBS=$ac_check_lib_save_LIBS
13286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13287 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13288 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13290 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13292 PROCSTAT_LIBS="-lprocstat"
13298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13299 $as_echo_n "checking for -lodbc... " >&6; }
13300 if ${ac_cv_lib_soname_odbc+:} false; then :
13301 $as_echo_n "(cached) " >&6
13302 else
13303 ac_check_soname_save_LIBS=$LIBS
13304 LIBS="-lodbc $LIBS"
13305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13306 /* end confdefs.h. */
13308 /* Override any GCC internal prototype to avoid an error.
13309 Use char because int might match the return type of a GCC
13310 builtin and then its argument prototype would still apply. */
13311 #ifdef __cplusplus
13312 extern "C"
13313 #endif
13314 char SQLConnect ();
13316 main ()
13318 return SQLConnect ();
13320 return 0;
13322 _ACEOF
13323 if ac_fn_c_try_link "$LINENO"; then :
13324 case "$LIBEXT" in
13325 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13326 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'` ;;
13327 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13328 if ${ac_cv_lib_soname_odbc:+false} :; then :
13329 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13330 fi ;;
13331 esac
13333 rm -f core conftest.err conftest.$ac_objext \
13334 conftest$ac_exeext conftest.$ac_ext
13335 LIBS=$ac_check_soname_save_LIBS
13337 if ${ac_cv_lib_soname_odbc:+false} :; then :
13338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13339 $as_echo "not found" >&6; }
13340 cat >>confdefs.h <<_ACEOF
13341 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13342 _ACEOF
13344 else
13345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13346 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13348 cat >>confdefs.h <<_ACEOF
13349 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13350 _ACEOF
13355 if test "x$with_netapi" != "xno"
13356 then
13357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13358 $as_echo_n "checking for -lnetapi... " >&6; }
13359 if ${ac_cv_lib_soname_netapi+:} false; then :
13360 $as_echo_n "(cached) " >&6
13361 else
13362 ac_check_soname_save_LIBS=$LIBS
13363 LIBS="-lnetapi $LIBS"
13364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13365 /* end confdefs.h. */
13367 /* Override any GCC internal prototype to avoid an error.
13368 Use char because int might match the return type of a GCC
13369 builtin and then its argument prototype would still apply. */
13370 #ifdef __cplusplus
13371 extern "C"
13372 #endif
13373 char libnetapi_init ();
13375 main ()
13377 return libnetapi_init ();
13379 return 0;
13381 _ACEOF
13382 if ac_fn_c_try_link "$LINENO"; then :
13383 case "$LIBEXT" in
13384 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13385 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'` ;;
13386 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13387 if ${ac_cv_lib_soname_netapi:+false} :; then :
13388 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13389 fi ;;
13390 esac
13392 rm -f core conftest.err conftest.$ac_objext \
13393 conftest$ac_exeext conftest.$ac_ext
13394 LIBS=$ac_check_soname_save_LIBS
13396 if ${ac_cv_lib_soname_netapi:+false} :; then :
13397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13398 $as_echo "not found" >&6; }
13399 cat >>confdefs.h <<_ACEOF
13400 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13401 _ACEOF
13403 else
13404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13405 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13407 cat >>confdefs.h <<_ACEOF
13408 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13409 _ACEOF
13415 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13416 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
13417 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
13418 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
13420 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13421 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
13422 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13423 then
13424 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13428 EXTRACFLAGS=""
13430 if test "x${GCC}" = "xyes"
13431 then
13432 EXTRACFLAGS="-Wall -pipe"
13434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13435 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13436 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13437 $as_echo_n "(cached) " >&6
13438 else
13439 if test "$cross_compiling" = yes; then :
13440 ac_cv_c_gcc_strength_bug="yes"
13441 else
13442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13443 /* end confdefs.h. */
13444 int L[4] = {0,1,2,3};
13446 main ()
13448 static int Array[3];
13449 unsigned int B = 3;
13450 int i;
13451 for(i=0; i<B; i++) Array[i] = i - 3;
13452 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13453 L[i] = 4;
13454 return (Array[1] != -2 || L[2] != 3)
13456 return 0;
13458 _ACEOF
13459 if ac_fn_c_try_run "$LINENO"; then :
13460 ac_cv_c_gcc_strength_bug="no"
13461 else
13462 ac_cv_c_gcc_strength_bug="yes"
13464 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13465 conftest.$ac_objext conftest.beam conftest.$ac_ext
13469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13470 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13471 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13472 then
13473 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13477 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13478 if ${ac_cv_cflags__fno_builtin+:} false; then :
13479 $as_echo_n "(cached) " >&6
13480 else
13481 ac_wine_try_cflags_saved=$CFLAGS
13482 CFLAGS="$CFLAGS -fno-builtin"
13483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13484 /* end confdefs.h. */
13485 int main(int argc, char **argv) { return 0; }
13486 _ACEOF
13487 if ac_fn_c_try_link "$LINENO"; then :
13488 ac_cv_cflags__fno_builtin=yes
13489 else
13490 ac_cv_cflags__fno_builtin=no
13492 rm -f core conftest.err conftest.$ac_objext \
13493 conftest$ac_exeext conftest.$ac_ext
13494 CFLAGS=$ac_wine_try_cflags_saved
13496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13497 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13498 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
13499 BUILTINFLAG="-fno-builtin"
13502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13503 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13504 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
13505 $as_echo_n "(cached) " >&6
13506 else
13507 ac_wine_try_cflags_saved=$CFLAGS
13508 CFLAGS="$CFLAGS -fno-strict-aliasing"
13509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13510 /* end confdefs.h. */
13511 int main(int argc, char **argv) { return 0; }
13512 _ACEOF
13513 if ac_fn_c_try_link "$LINENO"; then :
13514 ac_cv_cflags__fno_strict_aliasing=yes
13515 else
13516 ac_cv_cflags__fno_strict_aliasing=no
13518 rm -f core conftest.err conftest.$ac_objext \
13519 conftest$ac_exeext conftest.$ac_ext
13520 CFLAGS=$ac_wine_try_cflags_saved
13522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13523 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13524 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
13525 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
13527 saved_CFLAGS=$CFLAGS
13528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13529 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13530 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
13531 $as_echo_n "(cached) " >&6
13532 else
13533 ac_wine_try_cflags_saved=$CFLAGS
13534 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13536 /* end confdefs.h. */
13537 int main(int argc, char **argv) { return 0; }
13538 _ACEOF
13539 if ac_fn_c_try_link "$LINENO"; then :
13540 ac_cv_cflags__Werror_unknown_warning_option=yes
13541 else
13542 ac_cv_cflags__Werror_unknown_warning_option=no
13544 rm -f core conftest.err conftest.$ac_objext \
13545 conftest$ac_exeext conftest.$ac_ext
13546 CFLAGS=$ac_wine_try_cflags_saved
13548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13549 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13550 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
13551 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13554 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13555 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
13556 $as_echo_n "(cached) " >&6
13557 else
13558 ac_wine_try_cflags_saved=$CFLAGS
13559 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
13560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13561 /* end confdefs.h. */
13562 int main(int argc, char **argv) { return 0; }
13563 _ACEOF
13564 if ac_fn_c_try_link "$LINENO"; then :
13565 ac_cv_cflags__Wdeclaration_after_statement=yes
13566 else
13567 ac_cv_cflags__Wdeclaration_after_statement=no
13569 rm -f core conftest.err conftest.$ac_objext \
13570 conftest$ac_exeext conftest.$ac_ext
13571 CFLAGS=$ac_wine_try_cflags_saved
13573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13574 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13575 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
13576 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
13578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13579 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13580 if ${ac_cv_cflags__Wempty_body+:} false; then :
13581 $as_echo_n "(cached) " >&6
13582 else
13583 ac_wine_try_cflags_saved=$CFLAGS
13584 CFLAGS="$CFLAGS -Wempty-body"
13585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13586 /* end confdefs.h. */
13587 int main(int argc, char **argv) { return 0; }
13588 _ACEOF
13589 if ac_fn_c_try_link "$LINENO"; then :
13590 ac_cv_cflags__Wempty_body=yes
13591 else
13592 ac_cv_cflags__Wempty_body=no
13594 rm -f core conftest.err conftest.$ac_objext \
13595 conftest$ac_exeext conftest.$ac_ext
13596 CFLAGS=$ac_wine_try_cflags_saved
13598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13599 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13600 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
13601 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
13603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13604 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13605 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
13606 $as_echo_n "(cached) " >&6
13607 else
13608 ac_wine_try_cflags_saved=$CFLAGS
13609 CFLAGS="$CFLAGS -Wignored-qualifiers"
13610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13611 /* end confdefs.h. */
13612 int main(int argc, char **argv) { return 0; }
13613 _ACEOF
13614 if ac_fn_c_try_link "$LINENO"; then :
13615 ac_cv_cflags__Wignored_qualifiers=yes
13616 else
13617 ac_cv_cflags__Wignored_qualifiers=no
13619 rm -f core conftest.err conftest.$ac_objext \
13620 conftest$ac_exeext conftest.$ac_ext
13621 CFLAGS=$ac_wine_try_cflags_saved
13623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13624 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13625 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
13626 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
13628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13629 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13630 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
13631 $as_echo_n "(cached) " >&6
13632 else
13633 ac_wine_try_cflags_saved=$CFLAGS
13634 CFLAGS="$CFLAGS -Wstrict-prototypes"
13635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13636 /* end confdefs.h. */
13637 int main(int argc, char **argv) { return 0; }
13638 _ACEOF
13639 if ac_fn_c_try_link "$LINENO"; then :
13640 ac_cv_cflags__Wstrict_prototypes=yes
13641 else
13642 ac_cv_cflags__Wstrict_prototypes=no
13644 rm -f core conftest.err conftest.$ac_objext \
13645 conftest$ac_exeext conftest.$ac_ext
13646 CFLAGS=$ac_wine_try_cflags_saved
13648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13649 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13650 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
13651 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
13653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13654 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13655 if ${ac_cv_cflags__Wtype_limits+:} false; then :
13656 $as_echo_n "(cached) " >&6
13657 else
13658 ac_wine_try_cflags_saved=$CFLAGS
13659 CFLAGS="$CFLAGS -Wtype-limits"
13660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13661 /* end confdefs.h. */
13662 int main(int argc, char **argv) { return 0; }
13663 _ACEOF
13664 if ac_fn_c_try_link "$LINENO"; then :
13665 ac_cv_cflags__Wtype_limits=yes
13666 else
13667 ac_cv_cflags__Wtype_limits=no
13669 rm -f core conftest.err conftest.$ac_objext \
13670 conftest$ac_exeext conftest.$ac_ext
13671 CFLAGS=$ac_wine_try_cflags_saved
13673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13674 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13675 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
13676 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
13678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13679 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13680 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
13681 $as_echo_n "(cached) " >&6
13682 else
13683 ac_wine_try_cflags_saved=$CFLAGS
13684 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
13685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13686 /* end confdefs.h. */
13687 int main(int argc, char **argv) { return 0; }
13688 _ACEOF
13689 if ac_fn_c_try_link "$LINENO"; then :
13690 ac_cv_cflags__Wunused_but_set_parameter=yes
13691 else
13692 ac_cv_cflags__Wunused_but_set_parameter=no
13694 rm -f core conftest.err conftest.$ac_objext \
13695 conftest$ac_exeext conftest.$ac_ext
13696 CFLAGS=$ac_wine_try_cflags_saved
13698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13699 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13700 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
13701 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
13703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13704 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13705 if ${ac_cv_cflags__Wvla+:} false; then :
13706 $as_echo_n "(cached) " >&6
13707 else
13708 ac_wine_try_cflags_saved=$CFLAGS
13709 CFLAGS="$CFLAGS -Wvla"
13710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13711 /* end confdefs.h. */
13712 int main(int argc, char **argv) { return 0; }
13713 _ACEOF
13714 if ac_fn_c_try_link "$LINENO"; then :
13715 ac_cv_cflags__Wvla=yes
13716 else
13717 ac_cv_cflags__Wvla=no
13719 rm -f core conftest.err conftest.$ac_objext \
13720 conftest$ac_exeext conftest.$ac_ext
13721 CFLAGS=$ac_wine_try_cflags_saved
13723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
13724 $as_echo "$ac_cv_cflags__Wvla" >&6; }
13725 if test "x$ac_cv_cflags__Wvla" = xyes; then :
13726 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
13728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13729 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13730 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
13731 $as_echo_n "(cached) " >&6
13732 else
13733 ac_wine_try_cflags_saved=$CFLAGS
13734 CFLAGS="$CFLAGS -Wwrite-strings"
13735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13736 /* end confdefs.h. */
13737 int main(int argc, char **argv) { return 0; }
13738 _ACEOF
13739 if ac_fn_c_try_link "$LINENO"; then :
13740 ac_cv_cflags__Wwrite_strings=yes
13741 else
13742 ac_cv_cflags__Wwrite_strings=no
13744 rm -f core conftest.err conftest.$ac_objext \
13745 conftest$ac_exeext conftest.$ac_ext
13746 CFLAGS=$ac_wine_try_cflags_saved
13748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13749 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13750 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
13751 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
13754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13755 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13756 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
13757 $as_echo_n "(cached) " >&6
13758 else
13759 ac_wine_try_cflags_saved=$CFLAGS
13760 CFLAGS="$CFLAGS -Wpointer-arith"
13761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13762 /* end confdefs.h. */
13763 int main(int argc, char **argv) { return 0; }
13764 _ACEOF
13765 if ac_fn_c_try_link "$LINENO"; then :
13766 ac_cv_cflags__Wpointer_arith=yes
13767 else
13768 ac_cv_cflags__Wpointer_arith=no
13770 rm -f core conftest.err conftest.$ac_objext \
13771 conftest$ac_exeext conftest.$ac_ext
13772 CFLAGS=$ac_wine_try_cflags_saved
13774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13775 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13776 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
13777 saved_string_h_CFLAGS=$CFLAGS
13778 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
13779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13780 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13781 if ${ac_cv_c_string_h_warnings+:} false; then :
13782 $as_echo_n "(cached) " >&6
13783 else
13784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13785 /* end confdefs.h. */
13786 #include <string.h>
13788 main ()
13792 return 0;
13794 _ACEOF
13795 if ac_fn_c_try_compile "$LINENO"; then :
13796 ac_cv_c_string_h_warnings=no
13797 else
13798 ac_cv_c_string_h_warnings=yes
13800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13803 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13804 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
13805 CFLAGS=$saved_string_h_CFLAGS
13808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13809 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13810 if ${ac_cv_cflags__Wlogical_op+:} false; then :
13811 $as_echo_n "(cached) " >&6
13812 else
13813 ac_wine_try_cflags_saved=$CFLAGS
13814 CFLAGS="$CFLAGS -Wlogical-op"
13815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13816 /* end confdefs.h. */
13817 int main(int argc, char **argv) { return 0; }
13818 _ACEOF
13819 if ac_fn_c_try_link "$LINENO"; then :
13820 ac_cv_cflags__Wlogical_op=yes
13821 else
13822 ac_cv_cflags__Wlogical_op=no
13824 rm -f core conftest.err conftest.$ac_objext \
13825 conftest$ac_exeext conftest.$ac_ext
13826 CFLAGS=$ac_wine_try_cflags_saved
13828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13829 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13830 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
13831 saved_string_h_CFLAGS=$CFLAGS
13832 CFLAGS="$CFLAGS -Wlogical-op -Werror"
13833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13834 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13835 if ${ac_cv_c_logicalop_noisy+:} false; then :
13836 $as_echo_n "(cached) " >&6
13837 else
13838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13839 /* end confdefs.h. */
13840 #include <string.h>
13841 char*f(const char *h,char n) {return strchr(h,n);}
13843 main ()
13847 return 0;
13849 _ACEOF
13850 if ac_fn_c_try_compile "$LINENO"; then :
13851 ac_cv_c_logicalop_noisy=no
13852 else
13853 ac_cv_c_logicalop_noisy=yes
13855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13858 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13859 CFLAGS=$saved_string_h_CFLAGS
13860 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
13863 CFLAGS=$saved_CFLAGS
13865 for ac_flag in $CFLAGS; do
13866 case $ac_flag in
13867 -g) case $host_os in
13868 darwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13869 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
13870 if ${ac_cv_cflags__gstabsp+:} false; then :
13871 $as_echo_n "(cached) " >&6
13872 else
13873 ac_wine_try_cflags_saved=$CFLAGS
13874 CFLAGS="$CFLAGS -gstabs+"
13875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13876 /* end confdefs.h. */
13877 int main(int argc, char **argv) { return 0; }
13878 _ACEOF
13879 if ac_fn_c_try_link "$LINENO"; then :
13880 ac_cv_cflags__gstabsp=yes
13881 else
13882 ac_cv_cflags__gstabsp=no
13884 rm -f core conftest.err conftest.$ac_objext \
13885 conftest$ac_exeext conftest.$ac_ext
13886 CFLAGS=$ac_wine_try_cflags_saved
13888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
13889 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
13890 if test "x$ac_cv_cflags__gstabsp" = xyes; then :
13891 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
13892 fi ;;
13893 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
13894 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
13895 if ${ac_cv_cflags__gdwarf_2+:} false; then :
13896 $as_echo_n "(cached) " >&6
13897 else
13898 ac_wine_try_cflags_saved=$CFLAGS
13899 CFLAGS="$CFLAGS -gdwarf-2"
13900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13901 /* end confdefs.h. */
13902 int main(int argc, char **argv) { return 0; }
13903 _ACEOF
13904 if ac_fn_c_try_link "$LINENO"; then :
13905 ac_cv_cflags__gdwarf_2=yes
13906 else
13907 ac_cv_cflags__gdwarf_2=no
13909 rm -f core conftest.err conftest.$ac_objext \
13910 conftest$ac_exeext conftest.$ac_ext
13911 CFLAGS=$ac_wine_try_cflags_saved
13913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
13914 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
13915 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
13916 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
13918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
13919 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
13920 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
13921 $as_echo_n "(cached) " >&6
13922 else
13923 ac_wine_try_cflags_saved=$CFLAGS
13924 CFLAGS="$CFLAGS -gstrict-dwarf"
13925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13926 /* end confdefs.h. */
13927 int main(int argc, char **argv) { return 0; }
13928 _ACEOF
13929 if ac_fn_c_try_link "$LINENO"; then :
13930 ac_cv_cflags__gstrict_dwarf=yes
13931 else
13932 ac_cv_cflags__gstrict_dwarf=no
13934 rm -f core conftest.err conftest.$ac_objext \
13935 conftest$ac_exeext conftest.$ac_ext
13936 CFLAGS=$ac_wine_try_cflags_saved
13938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
13939 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
13940 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
13941 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
13942 fi ;;
13943 esac ;;
13944 esac
13945 done
13947 case $host_cpu in
13948 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
13949 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
13950 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
13951 $as_echo_n "(cached) " >&6
13952 else
13953 ac_wine_try_cflags_saved=$CFLAGS
13954 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
13955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13956 /* end confdefs.h. */
13957 int main(int argc, char **argv) { return 0; }
13958 _ACEOF
13959 if ac_fn_c_try_link "$LINENO"; then :
13960 ac_cv_cflags__fno_omit_frame_pointer=yes
13961 else
13962 ac_cv_cflags__fno_omit_frame_pointer=no
13964 rm -f core conftest.err conftest.$ac_objext \
13965 conftest$ac_exeext conftest.$ac_ext
13966 CFLAGS=$ac_wine_try_cflags_saved
13968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
13969 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
13970 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
13971 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
13972 fi ;;
13973 esac
13975 case $host in
13976 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
13977 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
13978 if ${ac_cv_cflags__Wno_format+:} false; then :
13979 $as_echo_n "(cached) " >&6
13980 else
13981 ac_wine_try_cflags_saved=$CFLAGS
13982 CFLAGS="$CFLAGS -Wno-format"
13983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13984 /* end confdefs.h. */
13985 int main(int argc, char **argv) { return 0; }
13986 _ACEOF
13987 if ac_fn_c_try_link "$LINENO"; then :
13988 ac_cv_cflags__Wno_format=yes
13989 else
13990 ac_cv_cflags__Wno_format=no
13992 rm -f core conftest.err conftest.$ac_objext \
13993 conftest$ac_exeext conftest.$ac_ext
13994 CFLAGS=$ac_wine_try_cflags_saved
13996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
13997 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
13998 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
13999 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14000 fi ;;
14001 esac
14003 if test "x$enable_maintainer_mode" = "xyes"
14004 then
14005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14006 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14007 if ${ac_cv_cflags__Werror+:} false; then :
14008 $as_echo_n "(cached) " >&6
14009 else
14010 ac_wine_try_cflags_saved=$CFLAGS
14011 CFLAGS="$CFLAGS -Werror"
14012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14013 /* end confdefs.h. */
14014 int main(int argc, char **argv) { return 0; }
14015 _ACEOF
14016 if ac_fn_c_try_link "$LINENO"; then :
14017 ac_cv_cflags__Werror=yes
14018 else
14019 ac_cv_cflags__Werror=no
14021 rm -f core conftest.err conftest.$ac_objext \
14022 conftest$ac_exeext conftest.$ac_ext
14023 CFLAGS=$ac_wine_try_cflags_saved
14025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14026 $as_echo "$ac_cv_cflags__Werror" >&6; }
14027 if test "x$ac_cv_cflags__Werror" = xyes; then :
14028 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14032 saved_CFLAGS="$CFLAGS"
14033 CFLAGS="$CFLAGS -Werror"
14034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14035 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14036 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14037 $as_echo_n "(cached) " >&6
14038 else
14039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14040 /* end confdefs.h. */
14041 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14043 main ()
14047 return 0;
14049 _ACEOF
14050 if ac_fn_c_try_compile "$LINENO"; then :
14051 ac_cv_have_ms_hook_prologue="yes"
14052 else
14053 ac_cv_have_ms_hook_prologue="no"
14055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14058 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14059 CFLAGS="$saved_CFLAGS"
14060 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14061 then
14063 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14065 else
14066 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14073 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14074 if ${ac_cv_c_fortify_enabled+:} false; then :
14075 $as_echo_n "(cached) " >&6
14076 else
14077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14078 /* end confdefs.h. */
14079 #include <string.h>
14081 main ()
14083 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14084 #error Fortify enabled
14085 #endif
14087 return 0;
14089 _ACEOF
14090 if ac_fn_c_try_compile "$LINENO"; then :
14091 ac_cv_c_fortify_enabled=no
14092 else
14093 ac_cv_c_fortify_enabled=yes
14095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14098 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14099 if test "$ac_cv_c_fortify_enabled" = yes
14100 then
14101 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14106 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14107 if ${ac_cv_c_extern_prefix+:} false; then :
14108 $as_echo_n "(cached) " >&6
14109 else
14110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14111 /* end confdefs.h. */
14112 extern int ac_test;
14114 main ()
14116 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14118 return 0;
14120 _ACEOF
14121 if ac_fn_c_try_link "$LINENO"; then :
14122 ac_cv_c_extern_prefix="yes"
14123 else
14124 ac_cv_c_extern_prefix="no"
14126 rm -f core conftest.err conftest.$ac_objext \
14127 conftest$ac_exeext conftest.$ac_ext
14129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14130 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14132 case $host_cpu in
14133 *i[3456789]86*)
14134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14135 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14136 if ${ac_cv_c_stdcall_suffix+:} false; then :
14137 $as_echo_n "(cached) " >&6
14138 else
14139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14140 /* end confdefs.h. */
14141 #ifndef _MSC_VER
14142 #define __stdcall __attribute__((__stdcall__))
14143 #endif
14144 int __stdcall ac_test(int i) { return i; }
14146 main ()
14148 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14150 return 0;
14152 _ACEOF
14153 if ac_fn_c_try_link "$LINENO"; then :
14154 ac_cv_c_stdcall_suffix="yes"
14155 else
14156 ac_cv_c_stdcall_suffix="no"
14158 rm -f core conftest.err conftest.$ac_objext \
14159 conftest$ac_exeext conftest.$ac_ext
14161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14162 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14163 *) ac_cv_c_stdcall_suffix="no" ;;
14164 esac
14167 if test "$ac_cv_c_extern_prefix" = "yes"
14168 then
14169 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14171 asm_name_prefix="_"
14172 else
14173 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14175 asm_name_prefix=""
14179 if test "$ac_cv_c_stdcall_suffix" = "yes"
14180 then
14181 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14183 else
14184 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14190 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14191 if ${ac_cv_asm_func_def+:} false; then :
14192 $as_echo_n "(cached) " >&6
14193 else
14194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14195 /* end confdefs.h. */
14198 main ()
14200 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14202 return 0;
14204 _ACEOF
14205 if ac_fn_c_try_link "$LINENO"; then :
14206 ac_cv_asm_func_def=".def"
14207 else
14208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14209 /* end confdefs.h. */
14212 main ()
14214 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14216 return 0;
14218 _ACEOF
14219 if ac_fn_c_try_link "$LINENO"; then :
14220 ac_cv_asm_func_def=".type @function"
14221 else
14222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14223 /* end confdefs.h. */
14226 main ()
14228 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14230 return 0;
14232 _ACEOF
14233 if ac_fn_c_try_link "$LINENO"; then :
14234 ac_cv_asm_func_def=".type 2"
14235 else
14236 ac_cv_asm_func_def="unknown"
14238 rm -f core conftest.err conftest.$ac_objext \
14239 conftest$ac_exeext conftest.$ac_ext
14241 rm -f core conftest.err conftest.$ac_objext \
14242 conftest$ac_exeext conftest.$ac_ext
14244 rm -f core conftest.err conftest.$ac_objext \
14245 conftest$ac_exeext conftest.$ac_ext
14247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14248 $as_echo "$ac_cv_asm_func_def" >&6; }
14251 case "$ac_cv_asm_func_def" in
14252 ".def")
14253 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14255 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14256 ".type @function")
14257 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14259 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14260 ".type 2")
14261 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14263 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14265 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14267 asm_func_header="" ;;
14268 esac
14270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14271 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14272 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14273 $as_echo_n "(cached) " >&6
14274 else
14275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14276 /* end confdefs.h. */
14277 asm(".text\n\t.long 0");
14279 main ()
14283 return 0;
14285 _ACEOF
14286 if ac_fn_c_try_compile "$LINENO"; then :
14287 ac_cv_c_asm_outside_funcs="yes"
14288 else
14289 ac_cv_c_asm_outside_funcs="no"
14291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14294 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14297 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14298 if ${ac_cv_c_dot_previous+:} false; then :
14299 $as_echo_n "(cached) " >&6
14300 else
14301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14302 /* end confdefs.h. */
14305 main ()
14307 asm(".text\nac_test:\t.long 0\n\t.previous");
14309 return 0;
14311 _ACEOF
14312 if ac_fn_c_try_link "$LINENO"; then :
14313 ac_cv_c_dot_previous="yes"
14314 else
14315 ac_cv_c_dot_previous="no"
14317 rm -f core conftest.err conftest.$ac_objext \
14318 conftest$ac_exeext conftest.$ac_ext
14320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14321 $as_echo "$ac_cv_c_dot_previous" >&6; }
14323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14324 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14325 if ${ac_cv_c_cfi_support+:} false; then :
14326 $as_echo_n "(cached) " >&6
14327 else
14328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14329 /* end confdefs.h. */
14330 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14332 main ()
14336 return 0;
14338 _ACEOF
14339 if ac_fn_c_try_compile "$LINENO"; then :
14340 ac_cv_c_cfi_support="yes"
14341 else
14342 ac_cv_c_cfi_support="no"
14344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14347 $as_echo "$ac_cv_c_cfi_support" >&6; }
14349 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14350 asm_func_trailer=""
14351 if test "$ac_cv_c_dot_previous" = "yes"
14352 then
14353 asm_func_trailer="\\n\\t.previous"
14355 if test "$ac_cv_c_cfi_support" = "yes"
14356 then
14357 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14358 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14360 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14362 UNWINDFLAGS=-fasynchronous-unwind-tables
14364 else
14365 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14369 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14372 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14373 then
14374 cat >>confdefs.h <<_ACEOF
14375 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14376 _ACEOF
14378 else
14379 cat >>confdefs.h <<_ACEOF
14380 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14381 _ACEOF
14385 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14388 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14392 case $build_os in
14393 cygwin*|mingw32*) TOOLSEXT=".exe"
14395 esac
14397 case $host_os in
14398 linux*)
14399 case $host_cpu in
14400 *i[3456789]86*|x86_64*)
14401 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14402 loader_programs="$loader_programs $wine_binary-preloader"
14403 as_fn_append LOADER_RULES "
14404 $wine_binary-preloader: preloader.o
14405 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14407 install install-lib:: $wine_binary-preloader
14408 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14410 uninstall::
14411 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14413 preloader_EXTRADEFS = $BUILTINFLAG
14414 " ;;
14415 esac
14417 esac
14418 as_fn_append LOADER_RULES "
14419 PROGRAMS = $loader_programs
14423 ac_save_CFLAGS="$CFLAGS"
14424 CFLAGS="$CFLAGS $BUILTINFLAG"
14425 for ac_func in \
14426 __res_get_state \
14427 __res_getservers \
14428 _finite \
14429 _isnan \
14430 _pclose \
14431 _popen \
14432 _snprintf \
14433 _spawnvp \
14434 _strdup \
14435 _stricmp \
14436 _strnicmp \
14437 _strtoi64 \
14438 _strtoui64 \
14439 _vsnprintf \
14440 asctime_r \
14441 chsize \
14442 dlopen \
14443 epoll_create \
14444 ffs \
14445 fnmatch \
14446 fork \
14447 fpclass \
14448 fstatfs \
14449 fstatvfs \
14450 ftruncate \
14451 futimens \
14452 futimes \
14453 futimesat \
14454 getattrlist \
14455 getdirentries \
14456 getopt_long_only \
14457 getpwuid \
14458 gettimeofday \
14459 getuid \
14460 if_nameindex \
14461 kqueue \
14462 lstat \
14463 memmove \
14464 mmap \
14465 pclose \
14466 pipe2 \
14467 poll \
14468 popen \
14469 port_create \
14470 prctl \
14471 pread \
14472 proc_pidinfo \
14473 pwrite \
14474 readdir \
14475 readlink \
14476 sched_yield \
14477 select \
14478 setproctitle \
14479 setrlimit \
14480 settimeofday \
14481 sigaltstack \
14482 sigprocmask \
14483 snprintf \
14484 statfs \
14485 statvfs \
14486 strcasecmp \
14487 strdup \
14488 strerror \
14489 strncasecmp \
14490 strtold \
14491 strtoll \
14492 strtoull \
14493 symlink \
14494 tcdrain \
14495 thr_kill2 \
14496 timegm \
14497 usleep \
14498 vsnprintf
14500 do :
14501 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14502 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14503 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14504 cat >>confdefs.h <<_ACEOF
14505 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14506 _ACEOF
14509 done
14511 CFLAGS="$ac_save_CFLAGS"
14513 if test "$ac_cv_func_dlopen" = no
14514 then
14515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14516 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14517 if ${ac_cv_lib_dl_dlopen+:} false; then :
14518 $as_echo_n "(cached) " >&6
14519 else
14520 ac_check_lib_save_LIBS=$LIBS
14521 LIBS="-ldl $LIBS"
14522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14523 /* end confdefs.h. */
14525 /* Override any GCC internal prototype to avoid an error.
14526 Use char because int might match the return type of a GCC
14527 builtin and then its argument prototype would still apply. */
14528 #ifdef __cplusplus
14529 extern "C"
14530 #endif
14531 char dlopen ();
14533 main ()
14535 return dlopen ();
14537 return 0;
14539 _ACEOF
14540 if ac_fn_c_try_link "$LINENO"; then :
14541 ac_cv_lib_dl_dlopen=yes
14542 else
14543 ac_cv_lib_dl_dlopen=no
14545 rm -f core conftest.err conftest.$ac_objext \
14546 conftest$ac_exeext conftest.$ac_ext
14547 LIBS=$ac_check_lib_save_LIBS
14549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14550 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14551 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14552 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14553 DL_LIBS="-ldl"
14558 ac_wine_check_funcs_save_LIBS="$LIBS"
14559 LIBS="$LIBS $DL_LIBS"
14560 for ac_func in dladdr
14561 do :
14562 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
14563 if test "x$ac_cv_func_dladdr" = xyes; then :
14564 cat >>confdefs.h <<_ACEOF
14565 #define HAVE_DLADDR 1
14566 _ACEOF
14569 done
14571 LIBS="$ac_wine_check_funcs_save_LIBS"
14573 if test "$ac_cv_func_poll" = no
14574 then
14575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14576 $as_echo_n "checking for poll in -lpoll... " >&6; }
14577 if ${ac_cv_lib_poll_poll+:} false; then :
14578 $as_echo_n "(cached) " >&6
14579 else
14580 ac_check_lib_save_LIBS=$LIBS
14581 LIBS="-lpoll $LIBS"
14582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14583 /* end confdefs.h. */
14585 /* Override any GCC internal prototype to avoid an error.
14586 Use char because int might match the return type of a GCC
14587 builtin and then its argument prototype would still apply. */
14588 #ifdef __cplusplus
14589 extern "C"
14590 #endif
14591 char poll ();
14593 main ()
14595 return poll ();
14597 return 0;
14599 _ACEOF
14600 if ac_fn_c_try_link "$LINENO"; then :
14601 ac_cv_lib_poll_poll=yes
14602 else
14603 ac_cv_lib_poll_poll=no
14605 rm -f core conftest.err conftest.$ac_objext \
14606 conftest$ac_exeext conftest.$ac_ext
14607 LIBS=$ac_check_lib_save_LIBS
14609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14610 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14611 if test "x$ac_cv_lib_poll_poll" = xyes; then :
14612 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14613 POLL_LIBS="-lpoll"
14619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14620 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14621 if ${ac_cv_search_gethostbyname+:} false; then :
14622 $as_echo_n "(cached) " >&6
14623 else
14624 ac_func_search_save_LIBS=$LIBS
14625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14626 /* end confdefs.h. */
14628 /* Override any GCC internal prototype to avoid an error.
14629 Use char because int might match the return type of a GCC
14630 builtin and then its argument prototype would still apply. */
14631 #ifdef __cplusplus
14632 extern "C"
14633 #endif
14634 char gethostbyname ();
14636 main ()
14638 return gethostbyname ();
14640 return 0;
14642 _ACEOF
14643 for ac_lib in '' nsl; do
14644 if test -z "$ac_lib"; then
14645 ac_res="none required"
14646 else
14647 ac_res=-l$ac_lib
14648 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14650 if ac_fn_c_try_link "$LINENO"; then :
14651 ac_cv_search_gethostbyname=$ac_res
14653 rm -f core conftest.err conftest.$ac_objext \
14654 conftest$ac_exeext
14655 if ${ac_cv_search_gethostbyname+:} false; then :
14656 break
14658 done
14659 if ${ac_cv_search_gethostbyname+:} false; then :
14661 else
14662 ac_cv_search_gethostbyname=no
14664 rm conftest.$ac_ext
14665 LIBS=$ac_func_search_save_LIBS
14667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14668 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14669 ac_res=$ac_cv_search_gethostbyname
14670 if test "$ac_res" != no; then :
14671 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14677 $as_echo_n "checking for library containing connect... " >&6; }
14678 if ${ac_cv_search_connect+:} false; then :
14679 $as_echo_n "(cached) " >&6
14680 else
14681 ac_func_search_save_LIBS=$LIBS
14682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14683 /* end confdefs.h. */
14685 /* Override any GCC internal prototype to avoid an error.
14686 Use char because int might match the return type of a GCC
14687 builtin and then its argument prototype would still apply. */
14688 #ifdef __cplusplus
14689 extern "C"
14690 #endif
14691 char connect ();
14693 main ()
14695 return connect ();
14697 return 0;
14699 _ACEOF
14700 for ac_lib in '' socket; do
14701 if test -z "$ac_lib"; then
14702 ac_res="none required"
14703 else
14704 ac_res=-l$ac_lib
14705 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14707 if ac_fn_c_try_link "$LINENO"; then :
14708 ac_cv_search_connect=$ac_res
14710 rm -f core conftest.err conftest.$ac_objext \
14711 conftest$ac_exeext
14712 if ${ac_cv_search_connect+:} false; then :
14713 break
14715 done
14716 if ${ac_cv_search_connect+:} false; then :
14718 else
14719 ac_cv_search_connect=no
14721 rm conftest.$ac_ext
14722 LIBS=$ac_func_search_save_LIBS
14724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14725 $as_echo "$ac_cv_search_connect" >&6; }
14726 ac_res=$ac_cv_search_connect
14727 if test "$ac_res" != no; then :
14728 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14734 $as_echo_n "checking for library containing inet_aton... " >&6; }
14735 if ${ac_cv_search_inet_aton+:} false; then :
14736 $as_echo_n "(cached) " >&6
14737 else
14738 ac_func_search_save_LIBS=$LIBS
14739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14740 /* end confdefs.h. */
14742 /* Override any GCC internal prototype to avoid an error.
14743 Use char because int might match the return type of a GCC
14744 builtin and then its argument prototype would still apply. */
14745 #ifdef __cplusplus
14746 extern "C"
14747 #endif
14748 char inet_aton ();
14750 main ()
14752 return inet_aton ();
14754 return 0;
14756 _ACEOF
14757 for ac_lib in '' resolv; do
14758 if test -z "$ac_lib"; then
14759 ac_res="none required"
14760 else
14761 ac_res=-l$ac_lib
14762 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14764 if ac_fn_c_try_link "$LINENO"; then :
14765 ac_cv_search_inet_aton=$ac_res
14767 rm -f core conftest.err conftest.$ac_objext \
14768 conftest$ac_exeext
14769 if ${ac_cv_search_inet_aton+:} false; then :
14770 break
14772 done
14773 if ${ac_cv_search_inet_aton+:} false; then :
14775 else
14776 ac_cv_search_inet_aton=no
14778 rm conftest.$ac_ext
14779 LIBS=$ac_func_search_save_LIBS
14781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14782 $as_echo "$ac_cv_search_inet_aton" >&6; }
14783 ac_res=$ac_cv_search_inet_aton
14784 if test "$ac_res" != no; then :
14785 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14790 for ac_func in \
14791 getaddrinfo \
14792 getnameinfo \
14793 getnetbyname \
14794 getprotobyname \
14795 getprotobynumber \
14796 getservbyport \
14797 inet_addr \
14798 inet_network \
14799 inet_ntop \
14800 inet_pton \
14801 sendmsg \
14802 socketpair \
14804 do :
14805 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14806 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14807 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14808 cat >>confdefs.h <<_ACEOF
14809 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14810 _ACEOF
14813 done
14816 ac_save_LIBS=$LIBS
14817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14818 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14819 if ${ac_cv_search_clock_gettime+:} false; then :
14820 $as_echo_n "(cached) " >&6
14821 else
14822 ac_func_search_save_LIBS=$LIBS
14823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14824 /* end confdefs.h. */
14826 /* Override any GCC internal prototype to avoid an error.
14827 Use char because int might match the return type of a GCC
14828 builtin and then its argument prototype would still apply. */
14829 #ifdef __cplusplus
14830 extern "C"
14831 #endif
14832 char clock_gettime ();
14834 main ()
14836 return clock_gettime ();
14838 return 0;
14840 _ACEOF
14841 for ac_lib in '' rt; do
14842 if test -z "$ac_lib"; then
14843 ac_res="none required"
14844 else
14845 ac_res=-l$ac_lib
14846 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14848 if ac_fn_c_try_link "$LINENO"; then :
14849 ac_cv_search_clock_gettime=$ac_res
14851 rm -f core conftest.err conftest.$ac_objext \
14852 conftest$ac_exeext
14853 if ${ac_cv_search_clock_gettime+:} false; then :
14854 break
14856 done
14857 if ${ac_cv_search_clock_gettime+:} false; then :
14859 else
14860 ac_cv_search_clock_gettime=no
14862 rm conftest.$ac_ext
14863 LIBS=$ac_func_search_save_LIBS
14865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14866 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14867 ac_res=$ac_cv_search_clock_gettime
14868 if test "$ac_res" != no; then :
14869 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14871 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
14873 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
14877 LIBS=$ac_save_LIBS
14879 LDAP_LIBS=""
14881 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
14882 then
14883 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
14885 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
14886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
14887 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
14888 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
14889 $as_echo_n "(cached) " >&6
14890 else
14891 ac_check_lib_save_LIBS=$LIBS
14892 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
14893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14894 /* end confdefs.h. */
14896 /* Override any GCC internal prototype to avoid an error.
14897 Use char because int might match the return type of a GCC
14898 builtin and then its argument prototype would still apply. */
14899 #ifdef __cplusplus
14900 extern "C"
14901 #endif
14902 char ldap_initialize ();
14904 main ()
14906 return ldap_initialize ();
14908 return 0;
14910 _ACEOF
14911 if ac_fn_c_try_link "$LINENO"; then :
14912 ac_cv_lib_ldap_r_ldap_initialize=yes
14913 else
14914 ac_cv_lib_ldap_r_ldap_initialize=no
14916 rm -f core conftest.err conftest.$ac_objext \
14917 conftest$ac_exeext conftest.$ac_ext
14918 LIBS=$ac_check_lib_save_LIBS
14920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
14921 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
14922 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
14923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
14924 $as_echo_n "checking for ber_init in -llber... " >&6; }
14925 if ${ac_cv_lib_lber_ber_init+:} false; then :
14926 $as_echo_n "(cached) " >&6
14927 else
14928 ac_check_lib_save_LIBS=$LIBS
14929 LIBS="-llber $PTHREAD_LIBS $LIBS"
14930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14931 /* end confdefs.h. */
14933 /* Override any GCC internal prototype to avoid an error.
14934 Use char because int might match the return type of a GCC
14935 builtin and then its argument prototype would still apply. */
14936 #ifdef __cplusplus
14937 extern "C"
14938 #endif
14939 char ber_init ();
14941 main ()
14943 return ber_init ();
14945 return 0;
14947 _ACEOF
14948 if ac_fn_c_try_link "$LINENO"; then :
14949 ac_cv_lib_lber_ber_init=yes
14950 else
14951 ac_cv_lib_lber_ber_init=no
14953 rm -f core conftest.err conftest.$ac_objext \
14954 conftest$ac_exeext conftest.$ac_ext
14955 LIBS=$ac_check_lib_save_LIBS
14957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
14958 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
14959 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
14961 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
14963 LDAP_LIBS="-lldap_r -llber"
14970 ac_wine_check_funcs_save_LIBS="$LIBS"
14971 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
14972 for ac_func in \
14973 ldap_count_references \
14974 ldap_first_reference \
14975 ldap_next_reference \
14976 ldap_parse_reference \
14977 ldap_parse_sort_control \
14978 ldap_parse_sortresponse_control \
14979 ldap_parse_vlv_control \
14980 ldap_parse_vlvresponse_control
14981 do :
14982 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14983 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14984 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14985 cat >>confdefs.h <<_ACEOF
14986 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14987 _ACEOF
14990 done
14992 LIBS="$ac_wine_check_funcs_save_LIBS"
14994 if test "x$LDAP_LIBS" = "x"; then :
14995 case "x$with_ldap" in
14996 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
14997 xno) ;;
14998 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
14999 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15000 esac
15003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15004 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15005 if ${wine_cv_one_arg_mkdir+:} false; then :
15006 $as_echo_n "(cached) " >&6
15007 else
15008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15009 /* end confdefs.h. */
15010 #include <sys/stat.h>
15012 main ()
15014 mkdir("foo");
15016 return 0;
15018 _ACEOF
15019 if ac_fn_c_try_compile "$LINENO"; then :
15020 wine_cv_one_arg_mkdir=yes
15021 else
15022 wine_cv_one_arg_mkdir=no
15024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15027 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15028 if test "$wine_cv_one_arg_mkdir" = "yes"
15029 then
15031 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15036 $as_echo_n "checking for sched_setaffinity... " >&6; }
15037 if ${wine_cv_have_sched_setaffinity+:} false; then :
15038 $as_echo_n "(cached) " >&6
15039 else
15040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15041 /* end confdefs.h. */
15042 #define _GNU_SOURCE
15043 #include <sched.h>
15045 main ()
15047 sched_setaffinity(0, 0, 0);
15049 return 0;
15051 _ACEOF
15052 if ac_fn_c_try_link "$LINENO"; then :
15053 wine_cv_have_sched_setaffinity=yes
15054 else
15055 wine_cv_have_sched_setaffinity=no
15057 rm -f core conftest.err conftest.$ac_objext \
15058 conftest$ac_exeext conftest.$ac_ext
15060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15061 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15062 if test "$wine_cv_have_sched_setaffinity" = "yes"
15063 then
15065 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15070 $as_echo_n "checking for fallocate... " >&6; }
15071 if ${wine_cv_have_fallocate+:} false; then :
15072 $as_echo_n "(cached) " >&6
15073 else
15074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15075 /* end confdefs.h. */
15076 #define _GNU_SOURCE
15077 #include <fcntl.h>
15079 main ()
15081 fallocate(-1, 0, 0, 0);
15083 return 0;
15085 _ACEOF
15086 if ac_fn_c_try_link "$LINENO"; then :
15087 wine_cv_have_fallocate=yes
15088 else
15089 wine_cv_have_fallocate=no
15091 rm -f core conftest.err conftest.$ac_objext \
15092 conftest$ac_exeext conftest.$ac_ext
15094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15095 $as_echo "$wine_cv_have_fallocate" >&6; }
15096 if test "$wine_cv_have_fallocate" = "yes"
15097 then
15099 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15105 $as_echo_n "checking for inline... " >&6; }
15106 if ${ac_cv_c_inline+:} false; then :
15107 $as_echo_n "(cached) " >&6
15108 else
15109 ac_cv_c_inline=no
15110 for ac_kw in inline __inline__ __inline; do
15111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15112 /* end confdefs.h. */
15113 #ifndef __cplusplus
15114 typedef int foo_t;
15115 static $ac_kw foo_t static_foo () {return 0; }
15116 $ac_kw foo_t foo () {return 0; }
15117 #endif
15119 _ACEOF
15120 if ac_fn_c_try_compile "$LINENO"; then :
15121 ac_cv_c_inline=$ac_kw
15123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15124 test "$ac_cv_c_inline" != no && break
15125 done
15128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15129 $as_echo "$ac_cv_c_inline" >&6; }
15131 case $ac_cv_c_inline in
15132 inline | yes) ;;
15134 case $ac_cv_c_inline in
15135 no) ac_val=;;
15136 *) ac_val=$ac_cv_c_inline;;
15137 esac
15138 cat >>confdefs.h <<_ACEOF
15139 #ifndef __cplusplus
15140 #define inline $ac_val
15141 #endif
15142 _ACEOF
15144 esac
15146 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15147 if test "x$ac_cv_type_mode_t" = xyes; then :
15149 cat >>confdefs.h <<_ACEOF
15150 #define HAVE_MODE_T 1
15151 _ACEOF
15155 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15156 if test "x$ac_cv_type_off_t" = xyes; then :
15158 cat >>confdefs.h <<_ACEOF
15159 #define HAVE_OFF_T 1
15160 _ACEOF
15164 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15165 if test "x$ac_cv_type_pid_t" = xyes; then :
15167 cat >>confdefs.h <<_ACEOF
15168 #define HAVE_PID_T 1
15169 _ACEOF
15173 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15174 if test "x$ac_cv_type_size_t" = xyes; then :
15176 cat >>confdefs.h <<_ACEOF
15177 #define HAVE_SIZE_T 1
15178 _ACEOF
15182 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15183 if test "x$ac_cv_type_ssize_t" = xyes; then :
15185 cat >>confdefs.h <<_ACEOF
15186 #define HAVE_SSIZE_T 1
15187 _ACEOF
15191 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15192 if test "x$ac_cv_type_long_long" = xyes; then :
15194 cat >>confdefs.h <<_ACEOF
15195 #define HAVE_LONG_LONG 1
15196 _ACEOF
15200 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15201 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15203 cat >>confdefs.h <<_ACEOF
15204 #define HAVE_FSBLKCNT_T 1
15205 _ACEOF
15209 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15210 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15212 cat >>confdefs.h <<_ACEOF
15213 #define HAVE_FSFILCNT_T 1
15214 _ACEOF
15219 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15220 #include <signal.h>
15222 if test "x$ac_cv_type_sigset_t" = xyes; then :
15224 cat >>confdefs.h <<_ACEOF
15225 #define HAVE_SIGSET_T 1
15226 _ACEOF
15231 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15233 if test "x$ac_cv_type_request_sense" = xyes; then :
15235 cat >>confdefs.h <<_ACEOF
15236 #define HAVE_REQUEST_SENSE 1
15237 _ACEOF
15243 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15244 #ifdef HAVE_SYS_SOCKET_H
15245 #include <sys/socket.h>
15246 #endif
15247 #ifdef HAVE_SYS_SOCKETVAR_H
15248 #include <sys/socketvar.h>
15249 #endif
15250 #ifdef HAVE_NET_ROUTE_H
15251 #include <net/route.h>
15252 #endif
15253 #ifdef HAVE_NETINET_IN_H
15254 #include <netinet/in.h>
15255 #endif
15256 #ifdef HAVE_NETINET_IN_SYSTM_H
15257 #include <netinet/in_systm.h>
15258 #endif
15259 #ifdef HAVE_NETINET_IP_H
15260 #include <netinet/ip.h>
15261 #endif
15262 #ifdef HAVE_NETINET_IN_PCB_H
15263 #include <netinet/in_pcb.h>
15264 #endif
15266 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15268 cat >>confdefs.h <<_ACEOF
15269 #define HAVE_STRUCT_XINPGEN 1
15270 _ACEOF
15276 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15277 #include <link.h>
15278 #endif
15279 #ifdef HAVE_SYS_LINK_H
15280 #include <sys/link.h>
15281 #endif
15283 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15285 cat >>confdefs.h <<_ACEOF
15286 #define HAVE_STRUCT_R_DEBUG 1
15287 _ACEOF
15291 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15292 #include <link.h>
15293 #endif
15294 #ifdef HAVE_SYS_LINK_H
15295 #include <sys/link.h>
15296 #endif
15298 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15300 cat >>confdefs.h <<_ACEOF
15301 #define HAVE_STRUCT_LINK_MAP 1
15302 _ACEOF
15308 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15309 #include <linux/input.h>
15310 #endif
15312 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15314 cat >>confdefs.h <<_ACEOF
15315 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15316 _ACEOF
15322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15323 $as_echo_n "checking for sigaddset... " >&6; }
15324 if ${wine_cv_have_sigaddset+:} false; then :
15325 $as_echo_n "(cached) " >&6
15326 else
15327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15328 /* end confdefs.h. */
15329 #include <signal.h>
15331 main ()
15333 sigset_t set; sigaddset(&set,SIGTERM);
15335 return 0;
15337 _ACEOF
15338 if ac_fn_c_try_link "$LINENO"; then :
15339 wine_cv_have_sigaddset=yes
15340 else
15341 wine_cv_have_sigaddset=no
15343 rm -f core conftest.err conftest.$ac_objext \
15344 conftest$ac_exeext conftest.$ac_ext
15346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15347 $as_echo "$wine_cv_have_sigaddset" >&6; }
15348 if test "$wine_cv_have_sigaddset" = "yes"
15349 then
15351 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15357 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15358 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15359 $as_echo_n "(cached) " >&6
15360 else
15361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15362 /* end confdefs.h. */
15363 #include <netdb.h>
15365 main ()
15368 char *name=0;
15369 struct hostent he;
15370 struct hostent *result;
15371 char *buf=0;
15372 int bufsize=0;
15373 int errnr;
15374 char *addr=0;
15375 int addrlen=0;
15376 int addrtype=0;
15377 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15378 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15381 return 0;
15383 _ACEOF
15384 if ac_fn_c_try_link "$LINENO"; then :
15385 wine_cv_linux_gethostbyname_r_6=yes
15386 else
15387 wine_cv_linux_gethostbyname_r_6=no
15390 rm -f core conftest.err conftest.$ac_objext \
15391 conftest$ac_exeext conftest.$ac_ext
15394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15395 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15396 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15397 then
15399 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15403 if test "$ac_cv_header_linux_joystick_h" = "yes"
15404 then
15405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15406 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15407 if ${wine_cv_linux_joystick_22_api+:} false; then :
15408 $as_echo_n "(cached) " >&6
15409 else
15410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15411 /* end confdefs.h. */
15413 #include <sys/ioctl.h>
15414 #include <sys/types.h>
15415 #include <linux/joystick.h>
15417 struct js_event blub;
15418 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15419 #error "no 2.2 header"
15420 #endif
15423 main ()
15425 /*empty*/
15427 return 0;
15429 _ACEOF
15430 if ac_fn_c_try_compile "$LINENO"; then :
15431 wine_cv_linux_joystick_22_api=yes
15432 else
15433 wine_cv_linux_joystick_22_api=no
15435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15439 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15440 if test "$wine_cv_linux_joystick_22_api" = "yes"
15441 then
15443 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15449 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15450 #ifdef HAVE_SYS_PARAM_H
15451 # include <sys/param.h>
15452 #endif
15453 #ifdef HAVE_SYS_MOUNT_H
15454 # include <sys/mount.h>
15455 #endif
15456 #ifdef HAVE_SYS_VFS_H
15457 # include <sys/vfs.h>
15458 #endif
15459 #ifdef HAVE_SYS_STATFS_H
15460 # include <sys/statfs.h>
15461 #endif
15463 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15465 cat >>confdefs.h <<_ACEOF
15466 #define HAVE_STRUCT_STATFS_F_BFREE 1
15467 _ACEOF
15471 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15472 #ifdef HAVE_SYS_PARAM_H
15473 # include <sys/param.h>
15474 #endif
15475 #ifdef HAVE_SYS_MOUNT_H
15476 # include <sys/mount.h>
15477 #endif
15478 #ifdef HAVE_SYS_VFS_H
15479 # include <sys/vfs.h>
15480 #endif
15481 #ifdef HAVE_SYS_STATFS_H
15482 # include <sys/statfs.h>
15483 #endif
15485 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
15487 cat >>confdefs.h <<_ACEOF
15488 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15489 _ACEOF
15493 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15494 #ifdef HAVE_SYS_PARAM_H
15495 # include <sys/param.h>
15496 #endif
15497 #ifdef HAVE_SYS_MOUNT_H
15498 # include <sys/mount.h>
15499 #endif
15500 #ifdef HAVE_SYS_VFS_H
15501 # include <sys/vfs.h>
15502 #endif
15503 #ifdef HAVE_SYS_STATFS_H
15504 # include <sys/statfs.h>
15505 #endif
15507 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
15509 cat >>confdefs.h <<_ACEOF
15510 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15511 _ACEOF
15515 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15516 #ifdef HAVE_SYS_PARAM_H
15517 # include <sys/param.h>
15518 #endif
15519 #ifdef HAVE_SYS_MOUNT_H
15520 # include <sys/mount.h>
15521 #endif
15522 #ifdef HAVE_SYS_VFS_H
15523 # include <sys/vfs.h>
15524 #endif
15525 #ifdef HAVE_SYS_STATFS_H
15526 # include <sys/statfs.h>
15527 #endif
15529 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
15531 cat >>confdefs.h <<_ACEOF
15532 #define HAVE_STRUCT_STATFS_F_FFREE 1
15533 _ACEOF
15537 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15538 #ifdef HAVE_SYS_PARAM_H
15539 # include <sys/param.h>
15540 #endif
15541 #ifdef HAVE_SYS_MOUNT_H
15542 # include <sys/mount.h>
15543 #endif
15544 #ifdef HAVE_SYS_VFS_H
15545 # include <sys/vfs.h>
15546 #endif
15547 #ifdef HAVE_SYS_STATFS_H
15548 # include <sys/statfs.h>
15549 #endif
15551 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
15553 cat >>confdefs.h <<_ACEOF
15554 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15555 _ACEOF
15559 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15560 #ifdef HAVE_SYS_PARAM_H
15561 # include <sys/param.h>
15562 #endif
15563 #ifdef HAVE_SYS_MOUNT_H
15564 # include <sys/mount.h>
15565 #endif
15566 #ifdef HAVE_SYS_VFS_H
15567 # include <sys/vfs.h>
15568 #endif
15569 #ifdef HAVE_SYS_STATFS_H
15570 # include <sys/statfs.h>
15571 #endif
15573 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
15575 cat >>confdefs.h <<_ACEOF
15576 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15577 _ACEOF
15583 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15584 #include <sys/statvfs.h>
15585 #endif
15587 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
15589 cat >>confdefs.h <<_ACEOF
15590 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15591 _ACEOF
15597 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15598 #include <dirent.h>
15599 #endif
15601 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
15603 cat >>confdefs.h <<_ACEOF
15604 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15605 _ACEOF
15611 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15612 #ifdef HAVE_SYS_SOCKET_H
15613 # include <sys/socket.h>
15614 #endif
15615 #ifdef HAVE_SYS_UN_H
15616 # include <sys/un.h>
15617 #endif
15619 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
15621 cat >>confdefs.h <<_ACEOF
15622 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15623 _ACEOF
15627 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15628 #ifdef HAVE_SYS_SOCKET_H
15629 # include <sys/socket.h>
15630 #endif
15631 #ifdef HAVE_SYS_UN_H
15632 # include <sys/un.h>
15633 #endif
15635 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
15637 cat >>confdefs.h <<_ACEOF
15638 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15639 _ACEOF
15643 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15644 #ifdef HAVE_SYS_SOCKET_H
15645 # include <sys/socket.h>
15646 #endif
15647 #ifdef HAVE_SYS_UN_H
15648 # include <sys/un.h>
15649 #endif
15651 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
15653 cat >>confdefs.h <<_ACEOF
15654 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15655 _ACEOF
15661 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15662 #ifdef HAVE_SCSI_SG_H
15663 #include <scsi/sg.h>
15664 #endif
15666 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
15668 cat >>confdefs.h <<_ACEOF
15669 #define HAVE_SCSIREQ_T_CMD 1
15670 _ACEOF
15674 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>
15675 #ifdef HAVE_SCSI_SG_H
15676 #include <scsi/sg.h>
15677 #endif
15679 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
15681 cat >>confdefs.h <<_ACEOF
15682 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15683 _ACEOF
15689 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15691 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
15693 cat >>confdefs.h <<_ACEOF
15694 #define HAVE_SIGINFO_T_SI_FD 1
15695 _ACEOF
15701 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15702 #ifdef HAVE_SYS_MTIO_H
15703 #include <sys/mtio.h>
15704 #endif
15706 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
15708 cat >>confdefs.h <<_ACEOF
15709 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15710 _ACEOF
15714 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15715 #ifdef HAVE_SYS_MTIO_H
15716 #include <sys/mtio.h>
15717 #endif
15719 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
15721 cat >>confdefs.h <<_ACEOF
15722 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15723 _ACEOF
15727 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15728 #ifdef HAVE_SYS_MTIO_H
15729 #include <sys/mtio.h>
15730 #endif
15732 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
15734 cat >>confdefs.h <<_ACEOF
15735 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15736 _ACEOF
15742 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15743 #include <getopt.h>
15744 #endif
15746 if test "x$ac_cv_member_struct_option_name" = xyes; then :
15748 cat >>confdefs.h <<_ACEOF
15749 #define HAVE_STRUCT_OPTION_NAME 1
15750 _ACEOF
15756 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15757 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
15759 cat >>confdefs.h <<_ACEOF
15760 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15761 _ACEOF
15765 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15766 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
15768 cat >>confdefs.h <<_ACEOF
15769 #define HAVE_STRUCT_STAT_ST_MTIM 1
15770 _ACEOF
15774 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15775 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
15777 cat >>confdefs.h <<_ACEOF
15778 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15779 _ACEOF
15783 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15784 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
15786 cat >>confdefs.h <<_ACEOF
15787 #define HAVE_STRUCT_STAT_ST_CTIM 1
15788 _ACEOF
15792 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15793 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
15795 cat >>confdefs.h <<_ACEOF
15796 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15797 _ACEOF
15801 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15802 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
15804 cat >>confdefs.h <<_ACEOF
15805 #define HAVE_STRUCT_STAT_ST_ATIM 1
15806 _ACEOF
15810 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15811 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
15813 cat >>confdefs.h <<_ACEOF
15814 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15815 _ACEOF
15819 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15820 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
15822 cat >>confdefs.h <<_ACEOF
15823 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15824 _ACEOF
15828 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15829 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
15831 cat >>confdefs.h <<_ACEOF
15832 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15833 _ACEOF
15837 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15838 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
15840 cat >>confdefs.h <<_ACEOF
15841 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15842 _ACEOF
15846 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15847 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
15849 cat >>confdefs.h <<_ACEOF
15850 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15851 _ACEOF
15855 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15856 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
15858 cat >>confdefs.h <<_ACEOF
15859 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15860 _ACEOF
15866 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
15867 #include <sys/types.h>
15868 #endif
15869 #ifdef HAVE_NETINET_IN_H
15870 #include <netinet/in.h>
15871 #endif
15873 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
15875 cat >>confdefs.h <<_ACEOF
15876 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
15877 _ACEOF
15883 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
15884 #include <resolv.h>
15885 #endif
15887 if test "x$ac_cv_type_struct___res_state" = xyes; then :
15889 cat >>confdefs.h <<_ACEOF
15890 #define HAVE_STRUCT___RES_STATE 1
15891 _ACEOF
15897 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
15898 #include <resolv.h>
15899 #endif
15901 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
15903 cat >>confdefs.h <<_ACEOF
15904 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
15905 _ACEOF
15911 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
15912 #include <sys/types.h>
15913 #endif
15914 #ifdef HAVE_NETINET_IN_H
15915 # include <netinet/in.h>
15916 #endif
15917 #ifdef HAVE_ARPA_NAMESER_H
15918 # include <arpa/nameser.h>
15919 #endif
15921 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
15923 cat >>confdefs.h <<_ACEOF
15924 #define HAVE_NS_MSG__MSG_PTR 1
15925 _ACEOF
15931 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
15932 #include <sys/types.h>
15933 #endif
15934 #ifdef HAVE_NETINET_IP_H
15935 #include <netinet/ip.h>
15936 #endif
15937 #ifdef HAVE_NETINET_IP_ICMP_H
15938 #include <netinet/ip_icmp.h>
15939 #endif
15940 #ifdef HAVE_NETINET_ICMP_VAR_H
15941 #include <netinet/icmp_var.h>
15942 #endif
15944 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
15946 cat >>confdefs.h <<_ACEOF
15947 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
15948 _ACEOF
15954 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
15955 #include <sys/types.h>
15956 #endif
15957 #ifdef HAVE_ALIAS_H
15958 #include <alias.h>
15959 #endif
15960 #ifdef HAVE_SYS_SOCKET_H
15961 #include <sys/socket.h>
15962 #endif
15963 #ifdef HAVE_SYS_SOCKETVAR_H
15964 #include <sys/socketvar.h>
15965 #endif
15966 #ifdef HAVE_SYS_TIMEOUT_H
15967 #include <sys/timeout.h>
15968 #endif
15969 #ifdef HAVE_NETINET_IN_H
15970 #include <netinet/in.h>
15971 #endif
15972 #ifdef HAVE_NETINET_IN_SYSTM_H
15973 #include <netinet/in_systm.h>
15974 #endif
15975 #ifdef HAVE_NETINET_IP_H
15976 #include <netinet/ip.h>
15977 #endif
15978 #ifdef HAVE_NETINET_IP_VAR_H
15979 #include <netinet/ip_var.h>
15980 #endif
15981 #ifdef HAVE_NETINET_IP_ICMP_H
15982 #include <netinet/ip_icmp.h>
15983 #endif
15984 #ifdef HAVE_NETINET_ICMP_VAR_H
15985 #include <netinet/icmp_var.h>
15986 #endif
15988 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
15990 cat >>confdefs.h <<_ACEOF
15991 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
15992 _ACEOF
15998 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
15999 #include <sys/types.h>
16000 #endif
16001 #ifdef HAVE_SYS_SOCKETVAR_H
16002 #include <sys/socketvar.h>
16003 #endif
16004 #ifdef HAVE_NETINET_IN_H
16005 #include <netinet/in.h>
16006 #endif
16007 #ifdef HAVE_NETINET_IP_VAR_H
16008 #include <netinet/ip_var.h>
16009 #endif
16011 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16013 cat >>confdefs.h <<_ACEOF
16014 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16015 _ACEOF
16021 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
16022 #include <netinet/ip_var.h>
16023 #endif
16025 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16027 cat >>confdefs.h <<_ACEOF
16028 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16029 _ACEOF
16035 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16036 #include <sys/types.h>
16037 #endif
16038 #ifdef HAVE_SYS_SOCKETVAR_H
16039 #include <sys/socketvar.h>
16040 #endif
16041 #ifdef HAVE_NETINET_IN_H
16042 #include <netinet/in.h>
16043 #endif
16044 #ifdef HAVE_NETINET_TCP_H
16045 #include <netinet/tcp.h>
16046 #endif
16047 #ifdef HAVE_NETINET_TCP_VAR_H
16048 #include <netinet/tcp_var.h>
16049 #endif
16051 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16053 cat >>confdefs.h <<_ACEOF
16054 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16055 _ACEOF
16061 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
16062 #include <netinet/tcp_var.h>
16063 #endif
16065 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16067 cat >>confdefs.h <<_ACEOF
16068 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16069 _ACEOF
16075 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16076 #include <sys/types.h>
16077 #endif
16078 #ifdef HAVE_NETINET_IN_H
16079 #include <netinet/in.h>
16080 #endif
16081 #ifdef HAVE_NETINET_IP_VAR_H
16082 #include <netinet/ip_var.h>
16083 #endif
16084 #ifdef HAVE_NETINET_UDP_H
16085 #include <netinet/udp.h>
16086 #endif
16087 #ifdef HAVE_NETINET_UDP_VAR_H
16088 #include <netinet/udp_var.h>
16089 #endif
16091 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16093 cat >>confdefs.h <<_ACEOF
16094 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16095 _ACEOF
16101 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16102 #include <sys/types.h>
16103 #endif
16104 #ifdef HAVE_NET_IF_H
16105 # include <net/if.h>
16106 #endif
16108 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16110 cat >>confdefs.h <<_ACEOF
16111 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16112 _ACEOF
16118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16119 $as_echo_n "checking for timezone variable... " >&6; }
16120 if ${ac_cv_have_timezone+:} false; then :
16121 $as_echo_n "(cached) " >&6
16122 else
16123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16124 /* end confdefs.h. */
16125 #include <time.h>
16127 main ()
16129 timezone = 1
16131 return 0;
16133 _ACEOF
16134 if ac_fn_c_try_link "$LINENO"; then :
16135 ac_cv_have_timezone="yes"
16136 else
16137 ac_cv_have_timezone="no"
16139 rm -f core conftest.err conftest.$ac_objext \
16140 conftest$ac_exeext conftest.$ac_ext
16142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16143 $as_echo "$ac_cv_have_timezone" >&6; }
16144 if test "$ac_cv_have_timezone" = "yes"
16145 then
16147 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16151 $as_echo_n "checking for daylight variable... " >&6; }
16152 if ${ac_cv_have_daylight+:} false; then :
16153 $as_echo_n "(cached) " >&6
16154 else
16155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16156 /* end confdefs.h. */
16157 #include <time.h>
16159 main ()
16161 daylight = 1
16163 return 0;
16165 _ACEOF
16166 if ac_fn_c_try_link "$LINENO"; then :
16167 ac_cv_have_daylight="yes"
16168 else
16169 ac_cv_have_daylight="no"
16171 rm -f core conftest.err conftest.$ac_objext \
16172 conftest$ac_exeext conftest.$ac_ext
16174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16175 $as_echo "$ac_cv_have_daylight" >&6; }
16176 if test "$ac_cv_have_daylight" = "yes"
16177 then
16179 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16183 ac_save_LIBS="$LIBS"
16184 LIBS="$LIBS -lm"
16185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16186 $as_echo_n "checking for isfinite... " >&6; }
16187 if ${ac_cv_have_isfinite+:} false; then :
16188 $as_echo_n "(cached) " >&6
16189 else
16190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16191 /* end confdefs.h. */
16192 #define _GNU_SOURCE
16193 #include <math.h>
16195 main ()
16197 float f = 0.0; return isfinite(f)
16199 return 0;
16201 _ACEOF
16202 if ac_fn_c_try_link "$LINENO"; then :
16203 ac_cv_have_isfinite="yes"
16204 else
16205 ac_cv_have_isfinite="no"
16207 rm -f core conftest.err conftest.$ac_objext \
16208 conftest$ac_exeext conftest.$ac_ext
16210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16211 $as_echo "$ac_cv_have_isfinite" >&6; }
16212 if test "$ac_cv_have_isfinite" = "yes"
16213 then
16215 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16219 ac_save_LIBS="$LIBS"
16220 LIBS="$LIBS -lm"
16221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16222 $as_echo_n "checking for isinf... " >&6; }
16223 if ${ac_cv_have_isinf+:} false; then :
16224 $as_echo_n "(cached) " >&6
16225 else
16226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16227 /* end confdefs.h. */
16228 #include <math.h>
16230 main ()
16232 float f = 0.0; return isinf(f)
16234 return 0;
16236 _ACEOF
16237 if ac_fn_c_try_link "$LINENO"; then :
16238 ac_cv_have_isinf="yes"
16239 else
16240 ac_cv_have_isinf="no"
16242 rm -f core conftest.err conftest.$ac_objext \
16243 conftest$ac_exeext conftest.$ac_ext
16245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16246 $as_echo "$ac_cv_have_isinf" >&6; }
16247 if test "$ac_cv_have_isinf" = "yes"
16248 then
16250 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16255 $as_echo_n "checking for isnan... " >&6; }
16256 if ${ac_cv_have_isnan+:} false; then :
16257 $as_echo_n "(cached) " >&6
16258 else
16259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16260 /* end confdefs.h. */
16261 #include <math.h>
16263 main ()
16265 float f = 0.0; return isnan(f)
16267 return 0;
16269 _ACEOF
16270 if ac_fn_c_try_link "$LINENO"; then :
16271 ac_cv_have_isnan="yes"
16272 else
16273 ac_cv_have_isnan="no"
16275 rm -f core conftest.err conftest.$ac_objext \
16276 conftest$ac_exeext conftest.$ac_ext
16278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16279 $as_echo "$ac_cv_have_isnan" >&6; }
16280 if test "$ac_cv_have_isnan" = "yes"
16281 then
16283 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16286 LIBS="$ac_save_LIBS"
16289 case $host_cpu in
16290 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16291 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16292 if ${ac_cv_cpp_def___i386__+:} false; then :
16293 $as_echo_n "(cached) " >&6
16294 else
16295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16296 /* end confdefs.h. */
16297 #ifndef __i386__
16299 #endif
16300 _ACEOF
16301 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16302 $EGREP "yes" >/dev/null 2>&1; then :
16303 ac_cv_cpp_def___i386__=yes
16304 else
16305 ac_cv_cpp_def___i386__=no
16307 rm -f conftest*
16310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16311 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16312 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16313 CFLAGS="$CFLAGS -D__i386__"
16314 LINTFLAGS="$LINTFLAGS -D__i386__"
16315 fi ;;
16316 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16317 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16318 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16319 $as_echo_n "(cached) " >&6
16320 else
16321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16322 /* end confdefs.h. */
16323 #ifndef __x86_64__
16325 #endif
16326 _ACEOF
16327 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16328 $EGREP "yes" >/dev/null 2>&1; then :
16329 ac_cv_cpp_def___x86_64__=yes
16330 else
16331 ac_cv_cpp_def___x86_64__=no
16333 rm -f conftest*
16336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16337 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16338 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16339 CFLAGS="$CFLAGS -D__x86_64__"
16340 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16341 fi ;;
16342 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16343 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16344 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16345 $as_echo_n "(cached) " >&6
16346 else
16347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16348 /* end confdefs.h. */
16349 #ifndef __sparc64__
16351 #endif
16352 _ACEOF
16353 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16354 $EGREP "yes" >/dev/null 2>&1; then :
16355 ac_cv_cpp_def___sparc64__=yes
16356 else
16357 ac_cv_cpp_def___sparc64__=no
16359 rm -f conftest*
16362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16363 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16364 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
16365 CFLAGS="$CFLAGS -D__sparc64__"
16366 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16367 fi ;;
16368 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16369 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16370 if ${ac_cv_cpp_def___sparc__+:} false; then :
16371 $as_echo_n "(cached) " >&6
16372 else
16373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16374 /* end confdefs.h. */
16375 #ifndef __sparc__
16377 #endif
16378 _ACEOF
16379 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16380 $EGREP "yes" >/dev/null 2>&1; then :
16381 ac_cv_cpp_def___sparc__=yes
16382 else
16383 ac_cv_cpp_def___sparc__=no
16385 rm -f conftest*
16388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16389 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16390 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
16391 CFLAGS="$CFLAGS -D__sparc__"
16392 LINTFLAGS="$LINTFLAGS -D__sparc__"
16393 fi ;;
16394 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16395 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16396 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
16397 $as_echo_n "(cached) " >&6
16398 else
16399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16400 /* end confdefs.h. */
16401 #ifndef __powerpc64__
16403 #endif
16404 _ACEOF
16405 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16406 $EGREP "yes" >/dev/null 2>&1; then :
16407 ac_cv_cpp_def___powerpc64__=yes
16408 else
16409 ac_cv_cpp_def___powerpc64__=no
16411 rm -f conftest*
16414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16415 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16416 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
16417 CFLAGS="$CFLAGS -D__powerpc64__"
16418 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
16419 fi ;;
16420 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16421 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16422 if ${ac_cv_cpp_def___powerpc__+:} false; then :
16423 $as_echo_n "(cached) " >&6
16424 else
16425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16426 /* end confdefs.h. */
16427 #ifndef __powerpc__
16429 #endif
16430 _ACEOF
16431 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16432 $EGREP "yes" >/dev/null 2>&1; then :
16433 ac_cv_cpp_def___powerpc__=yes
16434 else
16435 ac_cv_cpp_def___powerpc__=no
16437 rm -f conftest*
16440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16441 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16442 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
16443 CFLAGS="$CFLAGS -D__powerpc__"
16444 LINTFLAGS="$LINTFLAGS -D__powerpc__"
16445 fi ;;
16446 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16447 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16448 if ${ac_cv_cpp_def___aarch64__+:} false; then :
16449 $as_echo_n "(cached) " >&6
16450 else
16451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16452 /* end confdefs.h. */
16453 #ifndef __aarch64__
16455 #endif
16456 _ACEOF
16457 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16458 $EGREP "yes" >/dev/null 2>&1; then :
16459 ac_cv_cpp_def___aarch64__=yes
16460 else
16461 ac_cv_cpp_def___aarch64__=no
16463 rm -f conftest*
16466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16467 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16468 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
16469 CFLAGS="$CFLAGS -D__aarch64__"
16470 LINTFLAGS="$LINTFLAGS -D__aarch64__"
16471 fi ;;
16472 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16473 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16474 if ${ac_cv_cpp_def___arm__+:} false; then :
16475 $as_echo_n "(cached) " >&6
16476 else
16477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16478 /* end confdefs.h. */
16479 #ifndef __arm__
16481 #endif
16482 _ACEOF
16483 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16484 $EGREP "yes" >/dev/null 2>&1; then :
16485 ac_cv_cpp_def___arm__=yes
16486 else
16487 ac_cv_cpp_def___arm__=no
16489 rm -f conftest*
16492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16493 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16494 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
16495 CFLAGS="$CFLAGS -D__arm__"
16496 LINTFLAGS="$LINTFLAGS -D__arm__"
16497 fi ;;
16498 esac
16500 case $host_vendor in
16501 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16502 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16503 if ${ac_cv_cpp_def___sun__+:} false; then :
16504 $as_echo_n "(cached) " >&6
16505 else
16506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16507 /* end confdefs.h. */
16508 #ifndef __sun__
16510 #endif
16511 _ACEOF
16512 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16513 $EGREP "yes" >/dev/null 2>&1; then :
16514 ac_cv_cpp_def___sun__=yes
16515 else
16516 ac_cv_cpp_def___sun__=no
16518 rm -f conftest*
16521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16522 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16523 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
16524 CFLAGS="$CFLAGS -D__sun__"
16525 LINTFLAGS="$LINTFLAGS -D__sun__"
16526 fi ;;
16527 esac
16533 ac_config_commands="$ac_config_commands include/stamp-h"
16535 $as_echo_n "creating Makefile rules..." >&6
16537 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
16538 SOCKET_LIBS = $SOCKET_LIBS
16539 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16540 IOKIT_LIBS = $IOKIT_LIBS
16541 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16542 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16543 CORESERVICES_LIBS = $CORESERVICES_LIBS
16544 APPKIT_LIBS = $APPKIT_LIBS
16545 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16546 SECURITY_LIBS = $SECURITY_LIBS
16547 COREAUDIO_LIBS = $COREAUDIO_LIBS
16548 OPENAL_LIBS = $OPENAL_LIBS
16549 OPENCL_LIBS = $OPENCL_LIBS
16550 QUICKTIME_LIBS = $QUICKTIME_LIBS
16551 CARBON_LIBS = $CARBON_LIBS
16552 PTHREAD_LIBS = $PTHREAD_LIBS
16553 X_CFLAGS = $X_CFLAGS
16554 X_PRE_LIBS = $X_PRE_LIBS
16555 X_LIBS = $X_LIBS
16556 X_EXTRA_LIBS = $X_EXTRA_LIBS
16557 XML2_CFLAGS = $XML2_CFLAGS
16558 XML2_LIBS = $XML2_LIBS
16559 XSLT_CFLAGS = $XSLT_CFLAGS
16560 XSLT_LIBS = $XSLT_LIBS
16561 DBUS_CFLAGS = $DBUS_CFLAGS
16562 DBUS_LIBS = $DBUS_LIBS
16563 HAL_CFLAGS = $HAL_CFLAGS
16564 HAL_LIBS = $HAL_LIBS
16565 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16566 GNUTLS_LIBS = $GNUTLS_LIBS
16567 SANE_CFLAGS = $SANE_CFLAGS
16568 SANE_LIBS = $SANE_LIBS
16569 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16570 GPHOTO2_LIBS = $GPHOTO2_LIBS
16571 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16572 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16573 RESOLV_LIBS = $RESOLV_LIBS
16574 LCMS2_CFLAGS = $LCMS2_CFLAGS
16575 LCMS2_LIBS = $LCMS2_LIBS
16576 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16577 FREETYPE_LIBS = $FREETYPE_LIBS
16578 Z_LIBS = $Z_LIBS
16579 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16580 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16581 GSTREAMER_LIBS = $GSTREAMER_LIBS
16582 ALSA_LIBS = $ALSA_LIBS
16583 OSS4_CFLAGS = $OSS4_CFLAGS
16584 CAPI20_CFLAGS = $CAPI20_CFLAGS
16585 CAPI20_LIBS = $CAPI20_LIBS
16586 CUPS_CFLAGS = $CUPS_CFLAGS
16587 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16588 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16589 JPEG_CFLAGS = $JPEG_CFLAGS
16590 JPEG_LIBS = $JPEG_LIBS
16591 PNG_CFLAGS = $PNG_CFLAGS
16592 PNG_LIBS = $PNG_LIBS
16593 TIFF_CFLAGS = $TIFF_CFLAGS
16594 TIFF_LIBS = $TIFF_LIBS
16595 MPG123_CFLAGS = $MPG123_CFLAGS
16596 MPG123_LIBS = $MPG123_LIBS
16597 KSTAT_LIBS = $KSTAT_LIBS
16598 PROCSTAT_LIBS = $PROCSTAT_LIBS
16599 DL_LIBS = $DL_LIBS
16600 POLL_LIBS = $POLL_LIBS
16601 RT_LIBS = $RT_LIBS
16602 LDAP_LIBS = $LDAP_LIBS
16607 wine_fn_append_rule "
16608 # Rules automatically generated by configure
16610 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16612 .INIT: Makefile
16613 .MAKEFILEDEPS:
16614 all: Makefile
16615 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16616 @./config.status Make.tmp Makefile"
16618 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
16619 .gitignore: config.status
16620 @./config.status .gitignore"
16622 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
16623 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16625 if test "x$enable_fonts" != xno; then
16626 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16627 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16628 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16629 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16630 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf
16632 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16633 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
16634 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
16635 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
16636 ac_config_links="$ac_config_links wine:tools/winewrapper"
16637 wine_fn_config_symlink wine
16638 if test "x$enable_win64" != xno; then
16639 ac_config_links="$ac_config_links wine64:tools/winewrapper"
16640 wine_fn_config_symlink wine64
16643 wine_fn_config_dll acledit enable_acledit
16644 wine_fn_config_dll aclui enable_aclui implib
16645 wine_fn_config_dll activeds enable_activeds implib
16646 wine_fn_config_dll actxprxy enable_actxprxy clean
16647 wine_fn_config_lib adsiid
16648 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
16649 wine_fn_config_test dlls/advapi32/tests advapi32_test
16650 wine_fn_config_dll advpack enable_advpack implib
16651 wine_fn_config_test dlls/advpack/tests advpack_test
16652 wine_fn_config_dll amstream enable_amstream clean
16653 wine_fn_config_test dlls/amstream/tests amstream_test
16654 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16655 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16656 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16657 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16658 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16659 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16660 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16661 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16662 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16663 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
16664 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
16665 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
16666 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
16667 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
16668 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16669 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
16670 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
16671 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
16672 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16673 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
16674 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
16675 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
16676 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
16677 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
16678 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
16679 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
16680 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
16681 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
16682 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
16683 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
16684 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
16685 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
16686 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16687 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16688 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16689 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16690 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16691 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16692 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16693 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16694 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16695 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16696 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16697 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
16698 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
16699 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16700 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
16701 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
16702 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
16703 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
16704 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
16705 wine_fn_config_dll apphelp enable_apphelp
16706 wine_fn_config_test dlls/apphelp/tests apphelp_test
16707 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16708 wine_fn_config_dll atl enable_atl clean,implib
16709 wine_fn_config_test dlls/atl/tests atl_test
16710 wine_fn_config_dll atl100 enable_atl100 implib
16711 wine_fn_config_test dlls/atl100/tests atl100_test
16712 wine_fn_config_dll atl110 enable_atl110
16713 wine_fn_config_dll atl80 enable_atl80 implib
16714 wine_fn_config_test dlls/atl80/tests atl80_test
16715 wine_fn_config_dll atl90 enable_atl90
16716 wine_fn_config_dll authz enable_authz
16717 wine_fn_config_dll avicap32 enable_avicap32 implib
16718 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
16719 wine_fn_config_test dlls/avifil32/tests avifil32_test
16720 wine_fn_config_dll avifile.dll16 enable_win16
16721 wine_fn_config_dll avrt enable_avrt implib
16722 wine_fn_config_dll bcrypt enable_bcrypt
16723 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
16724 wine_fn_config_dll browseui enable_browseui clean,po
16725 wine_fn_config_test dlls/browseui/tests browseui_test
16726 wine_fn_config_dll cabinet enable_cabinet implib
16727 wine_fn_config_test dlls/cabinet/tests cabinet_test
16728 wine_fn_config_dll capi2032 enable_capi2032 implib
16729 wine_fn_config_dll cards enable_cards implib
16730 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16731 wine_fn_config_dll clusapi enable_clusapi implib
16732 wine_fn_config_dll comcat enable_comcat
16733 wine_fn_config_test dlls/comcat/tests comcat_test
16734 wine_fn_config_dll comctl32 enable_comctl32 implib,po
16735 wine_fn_config_test dlls/comctl32/tests comctl32_test
16736 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
16737 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
16738 wine_fn_config_dll comm.drv16 enable_win16
16739 wine_fn_config_dll commdlg.dll16 enable_win16
16740 wine_fn_config_dll compobj.dll16 enable_win16
16741 wine_fn_config_dll compstui enable_compstui implib
16742 wine_fn_config_dll comsvcs enable_comsvcs implib
16743 wine_fn_config_dll credui enable_credui implib,po
16744 wine_fn_config_test dlls/credui/tests credui_test
16745 wine_fn_config_dll crtdll enable_crtdll implib
16746 wine_fn_config_dll crypt32 enable_crypt32 implib,po
16747 wine_fn_config_test dlls/crypt32/tests crypt32_test
16748 wine_fn_config_dll cryptdlg enable_cryptdlg po
16749 wine_fn_config_dll cryptdll enable_cryptdll implib
16750 wine_fn_config_dll cryptnet enable_cryptnet implib
16751 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
16752 wine_fn_config_dll cryptui enable_cryptui implib,po
16753 wine_fn_config_test dlls/cryptui/tests cryptui_test
16754 wine_fn_config_dll ctapi32 enable_ctapi32
16755 wine_fn_config_dll ctl3d.dll16 enable_win16
16756 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16757 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16758 wine_fn_config_dll d2d1 enable_d2d1 implib
16759 wine_fn_config_dll d3d10 enable_d3d10 implib
16760 wine_fn_config_test dlls/d3d10/tests d3d10_test
16761 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
16762 wine_fn_config_dll d3d10core enable_d3d10core implib
16763 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
16764 wine_fn_config_dll d3d11 enable_d3d11
16765 wine_fn_config_dll d3d8 enable_d3d8 implib
16766 wine_fn_config_test dlls/d3d8/tests d3d8_test
16767 wine_fn_config_dll d3d9 enable_d3d9 implib
16768 wine_fn_config_test dlls/d3d9/tests d3d9_test
16769 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16770 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16771 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16772 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16773 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16774 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16775 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16776 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16777 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16778 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16779 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16780 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
16781 wine_fn_config_dll d3dim enable_d3dim implib
16782 wine_fn_config_dll d3drm enable_d3drm implib
16783 wine_fn_config_test dlls/d3drm/tests d3drm_test
16784 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16785 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16786 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16787 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16788 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16789 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16790 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16791 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16792 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16793 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16794 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16795 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16796 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16797 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16798 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16799 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16800 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16801 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16802 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16803 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16804 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16805 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16806 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16807 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16808 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16809 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16810 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
16811 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16812 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16813 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16814 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16815 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16816 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16817 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16818 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
16819 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
16820 wine_fn_config_dll dbgeng enable_dbgeng implib
16821 wine_fn_config_dll dbghelp enable_dbghelp implib
16822 wine_fn_config_dll dciman32 enable_dciman32 implib
16823 wine_fn_config_dll ddeml.dll16 enable_win16
16824 wine_fn_config_dll ddraw enable_ddraw clean,implib
16825 wine_fn_config_test dlls/ddraw/tests ddraw_test
16826 wine_fn_config_dll ddrawex enable_ddrawex clean
16827 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
16828 wine_fn_config_dll devenum enable_devenum clean,po
16829 wine_fn_config_test dlls/devenum/tests devenum_test
16830 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16831 wine_fn_config_dll difxapi enable_difxapi
16832 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
16833 wine_fn_config_test dlls/dinput/tests dinput_test
16834 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
16835 wine_fn_config_test dlls/dinput8/tests dinput8_test
16836 wine_fn_config_dll dispdib.dll16 enable_win16
16837 wine_fn_config_dll dispex enable_dispex clean
16838 wine_fn_config_test dlls/dispex/tests dispex_test
16839 wine_fn_config_dll display.drv16 enable_win16
16840 wine_fn_config_dll dmband enable_dmband clean
16841 wine_fn_config_test dlls/dmband/tests dmband_test
16842 wine_fn_config_dll dmcompos enable_dmcompos clean
16843 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
16844 wine_fn_config_dll dmime enable_dmime clean
16845 wine_fn_config_test dlls/dmime/tests dmime_test
16846 wine_fn_config_dll dmloader enable_dmloader clean
16847 wine_fn_config_test dlls/dmloader/tests dmloader_test
16848 wine_fn_config_dll dmscript enable_dmscript clean
16849 wine_fn_config_test dlls/dmscript/tests dmscript_test
16850 wine_fn_config_dll dmstyle enable_dmstyle clean
16851 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
16852 wine_fn_config_dll dmsynth enable_dmsynth clean
16853 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
16854 wine_fn_config_dll dmusic enable_dmusic clean
16855 wine_fn_config_test dlls/dmusic/tests dmusic_test
16856 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16857 wine_fn_config_dll dnsapi enable_dnsapi implib
16858 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
16859 wine_fn_config_dll dplay enable_dplay implib
16860 wine_fn_config_dll dplayx enable_dplayx clean,implib
16861 wine_fn_config_test dlls/dplayx/tests dplayx_test
16862 wine_fn_config_dll dpnaddr enable_dpnaddr
16863 wine_fn_config_dll dpnet enable_dpnet clean,implib
16864 wine_fn_config_test dlls/dpnet/tests dpnet_test
16865 wine_fn_config_dll dpnhpast enable_dpnhpast
16866 wine_fn_config_dll dpnlobby enable_dpnlobby
16867 wine_fn_config_dll dpwsockx enable_dpwsockx
16868 wine_fn_config_dll drmclien enable_drmclien
16869 wine_fn_config_dll dsound enable_dsound clean,implib
16870 wine_fn_config_test dlls/dsound/tests dsound_test
16871 wine_fn_config_dll dssenh enable_dssenh
16872 wine_fn_config_test dlls/dssenh/tests dssenh_test
16873 wine_fn_config_dll dswave enable_dswave clean
16874 wine_fn_config_test dlls/dswave/tests dswave_test
16875 wine_fn_config_dll dwmapi enable_dwmapi implib
16876 wine_fn_config_dll dwrite enable_dwrite implib
16877 wine_fn_config_test dlls/dwrite/tests dwrite_test
16878 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
16879 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
16880 wine_fn_config_lib dxerr8
16881 wine_fn_config_lib dxerr9
16882 wine_fn_config_dll dxgi enable_dxgi implib
16883 wine_fn_config_test dlls/dxgi/tests dxgi_test
16884 wine_fn_config_lib dxguid
16885 wine_fn_config_dll dxva2 enable_dxva2
16886 wine_fn_config_dll explorerframe enable_explorerframe clean
16887 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
16888 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
16889 wine_fn_config_dll faultrep enable_faultrep implib
16890 wine_fn_config_test dlls/faultrep/tests faultrep_test
16891 wine_fn_config_dll fltlib enable_fltlib
16892 wine_fn_config_dll fntcache enable_fntcache
16893 wine_fn_config_dll fontsub enable_fontsub
16894 wine_fn_config_dll fusion enable_fusion
16895 wine_fn_config_test dlls/fusion/tests fusion_test
16896 wine_fn_config_dll fwpuclnt enable_fwpuclnt
16897 wine_fn_config_dll gameux enable_gameux clean
16898 wine_fn_config_test dlls/gameux/tests gameux_test
16899 wine_fn_config_dll gdi.exe16 enable_win16
16900 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
16901 wine_fn_config_test dlls/gdi32/tests gdi32_test
16902 wine_fn_config_dll gdiplus enable_gdiplus implib
16903 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
16904 wine_fn_config_dll glu32 enable_glu32 implib
16905 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
16906 wine_fn_config_dll gpkcsp enable_gpkcsp
16907 wine_fn_config_dll hal enable_hal
16908 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
16909 wine_fn_config_dll hid enable_hid implib
16910 wine_fn_config_dll hlink enable_hlink clean,implib
16911 wine_fn_config_test dlls/hlink/tests hlink_test
16912 wine_fn_config_dll hnetcfg enable_hnetcfg clean
16913 wine_fn_config_dll httpapi enable_httpapi
16914 wine_fn_config_dll iccvid enable_iccvid po
16915 wine_fn_config_dll icmp enable_icmp
16916 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
16917 wine_fn_config_test dlls/ieframe/tests ieframe_test
16918 wine_fn_config_dll ifsmgr.vxd enable_win16
16919 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
16920 wine_fn_config_dll imagehlp enable_imagehlp implib
16921 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
16922 wine_fn_config_dll imm.dll16 enable_win16
16923 wine_fn_config_dll imm32 enable_imm32 implib
16924 wine_fn_config_test dlls/imm32/tests imm32_test
16925 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
16926 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
16927 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
16928 wine_fn_config_dll inetmib1 enable_inetmib1
16929 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
16930 wine_fn_config_dll infosoft enable_infosoft clean
16931 wine_fn_config_test dlls/infosoft/tests infosoft_test
16932 wine_fn_config_dll initpki enable_initpki
16933 wine_fn_config_dll inkobj enable_inkobj
16934 wine_fn_config_dll inseng enable_inseng clean
16935 wine_fn_config_dll iphlpapi enable_iphlpapi implib
16936 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
16937 wine_fn_config_dll itircl enable_itircl
16938 wine_fn_config_dll itss enable_itss clean
16939 wine_fn_config_test dlls/itss/tests itss_test
16940 wine_fn_config_dll joy.cpl enable_joy_cpl po
16941 wine_fn_config_dll jscript enable_jscript clean,po
16942 wine_fn_config_test dlls/jscript/tests jscript_test
16943 wine_fn_config_dll jsproxy enable_jsproxy implib
16944 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
16945 wine_fn_config_test dlls/kernel32/tests kernel32_test
16946 wine_fn_config_dll keyboard.drv16 enable_win16
16947 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
16948 wine_fn_config_dll ktmw32 enable_ktmw32
16949 wine_fn_config_dll loadperf enable_loadperf implib
16950 wine_fn_config_dll localspl enable_localspl po
16951 wine_fn_config_test dlls/localspl/tests localspl_test
16952 wine_fn_config_dll localui enable_localui po
16953 wine_fn_config_test dlls/localui/tests localui_test
16954 wine_fn_config_dll lz32 enable_lz32 implib
16955 wine_fn_config_test dlls/lz32/tests lz32_test
16956 wine_fn_config_dll lzexpand.dll16 enable_win16
16957 wine_fn_config_dll mapi32 enable_mapi32 implib,po
16958 wine_fn_config_test dlls/mapi32/tests mapi32_test
16959 wine_fn_config_dll mapistub enable_mapistub
16960 wine_fn_config_dll mciavi32 enable_mciavi32
16961 wine_fn_config_dll mcicda enable_mcicda
16962 wine_fn_config_dll mciqtz32 enable_mciqtz32
16963 wine_fn_config_dll mciseq enable_mciseq
16964 wine_fn_config_dll mciwave enable_mciwave
16965 wine_fn_config_dll mgmtapi enable_mgmtapi
16966 wine_fn_config_dll midimap enable_midimap
16967 wine_fn_config_dll mlang enable_mlang clean,implib
16968 wine_fn_config_test dlls/mlang/tests mlang_test
16969 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
16970 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
16971 wine_fn_config_dll mmdevapi enable_mmdevapi clean
16972 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
16973 wine_fn_config_dll mmdevldr.vxd enable_win16
16974 wine_fn_config_dll mmsystem.dll16 enable_win16
16975 wine_fn_config_dll monodebg.vxd enable_win16
16976 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
16977 wine_fn_config_dll mouse.drv16 enable_win16
16978 wine_fn_config_dll mpr enable_mpr implib,po
16979 wine_fn_config_test dlls/mpr/tests mpr_test
16980 wine_fn_config_dll mprapi enable_mprapi implib
16981 wine_fn_config_dll msacm.dll16 enable_win16
16982 wine_fn_config_dll msacm32.drv enable_msacm32_drv
16983 wine_fn_config_dll msacm32 enable_msacm32 implib,po
16984 wine_fn_config_test dlls/msacm32/tests msacm32_test
16985 wine_fn_config_dll msadp32.acm enable_msadp32_acm
16986 wine_fn_config_dll msasn1 enable_msasn1 implib
16987 wine_fn_config_dll mscat32 enable_mscat32
16988 wine_fn_config_dll mscms enable_mscms implib
16989 wine_fn_config_test dlls/mscms/tests mscms_test
16990 wine_fn_config_dll mscoree enable_mscoree clean
16991 wine_fn_config_test dlls/mscoree/tests mscoree_test
16992 wine_fn_config_dll msctf enable_msctf clean
16993 wine_fn_config_test dlls/msctf/tests msctf_test
16994 wine_fn_config_dll msdaps enable_msdaps clean
16995 wine_fn_config_dll msdmo enable_msdmo implib
16996 wine_fn_config_dll msftedit enable_msftedit
16997 wine_fn_config_dll msg711.acm enable_msg711_acm
16998 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
16999 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17000 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
17001 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17002 wine_fn_config_dll msi enable_msi clean,implib,po
17003 wine_fn_config_test dlls/msi/tests msi_test
17004 wine_fn_config_dll msident enable_msident clean
17005 wine_fn_config_dll msimg32 enable_msimg32 implib
17006 wine_fn_config_dll msimsg enable_msimsg
17007 wine_fn_config_dll msimtf enable_msimtf clean
17008 wine_fn_config_dll msisip enable_msisip
17009 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17010 wine_fn_config_dll msls31 enable_msls31
17011 wine_fn_config_dll msnet32 enable_msnet32
17012 wine_fn_config_dll mspatcha enable_mspatcha
17013 wine_fn_config_dll msrle32 enable_msrle32 po
17014 wine_fn_config_test dlls/msrle32/tests msrle32_test
17015 wine_fn_config_dll mssign32 enable_mssign32
17016 wine_fn_config_dll mssip32 enable_mssip32
17017 wine_fn_config_dll mstask enable_mstask clean
17018 wine_fn_config_test dlls/mstask/tests mstask_test
17019 wine_fn_config_dll msvcirt enable_msvcirt
17020 wine_fn_config_dll msvcm80 enable_msvcm80
17021 wine_fn_config_dll msvcm90 enable_msvcm90
17022 wine_fn_config_dll msvcp100 enable_msvcp100
17023 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17024 wine_fn_config_dll msvcp110 enable_msvcp110
17025 wine_fn_config_dll msvcp60 enable_msvcp60
17026 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17027 wine_fn_config_dll msvcp70 enable_msvcp70
17028 wine_fn_config_dll msvcp71 enable_msvcp71
17029 wine_fn_config_dll msvcp80 enable_msvcp80
17030 wine_fn_config_dll msvcp90 enable_msvcp90
17031 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17032 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17033 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17034 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17035 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17036 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17037 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17038 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17039 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17040 wine_fn_config_dll msvcrt enable_msvcrt implib
17041 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17042 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17043 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17044 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17045 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17046 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17047 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17048 wine_fn_config_dll msvidc32 enable_msvidc32 po
17049 wine_fn_config_dll msvideo.dll16 enable_win16
17050 wine_fn_config_dll mswsock enable_mswsock implib
17051 wine_fn_config_dll msxml enable_msxml clean
17052 wine_fn_config_dll msxml2 enable_msxml2 clean
17053 wine_fn_config_dll msxml3 enable_msxml3 clean
17054 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17055 wine_fn_config_dll msxml4 enable_msxml4 clean
17056 wine_fn_config_dll msxml6 enable_msxml6 clean
17057 wine_fn_config_dll nddeapi enable_nddeapi implib
17058 wine_fn_config_dll netapi32 enable_netapi32 implib
17059 wine_fn_config_test dlls/netapi32/tests netapi32_test
17060 wine_fn_config_dll netcfgx enable_netcfgx clean
17061 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17062 wine_fn_config_dll netprofm enable_netprofm clean
17063 wine_fn_config_test dlls/netprofm/tests netprofm_test
17064 wine_fn_config_dll newdev enable_newdev implib
17065 wine_fn_config_dll normaliz enable_normaliz implib
17066 wine_fn_config_dll npmshtml enable_npmshtml
17067 wine_fn_config_dll ntdll enable_ntdll implib
17068 wine_fn_config_test dlls/ntdll/tests ntdll_test
17069 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17070 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17071 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17072 wine_fn_config_dll ntprint enable_ntprint
17073 wine_fn_config_test dlls/ntprint/tests ntprint_test
17074 wine_fn_config_dll objsel enable_objsel clean
17075 wine_fn_config_dll odbc32 enable_odbc32 implib
17076 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17077 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17078 wine_fn_config_dll odbccu32 enable_odbccu32
17079 wine_fn_config_dll ole2.dll16 enable_win16
17080 wine_fn_config_dll ole2conv.dll16 enable_win16
17081 wine_fn_config_dll ole2disp.dll16 enable_win16
17082 wine_fn_config_dll ole2nls.dll16 enable_win16
17083 wine_fn_config_dll ole2prox.dll16 enable_win16
17084 wine_fn_config_dll ole2thk.dll16 enable_win16
17085 wine_fn_config_dll ole32 enable_ole32 clean,implib
17086 wine_fn_config_test dlls/ole32/tests ole32_test
17087 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17088 wine_fn_config_test dlls/oleacc/tests oleacc_test
17089 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17090 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17091 wine_fn_config_dll olecli.dll16 enable_win16
17092 wine_fn_config_dll olecli32 enable_olecli32 implib
17093 wine_fn_config_dll oledb32 enable_oledb32 clean
17094 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17095 wine_fn_config_dll oledlg enable_oledlg implib,po
17096 wine_fn_config_dll olepro32 enable_olepro32 implib
17097 wine_fn_config_dll olesvr.dll16 enable_win16
17098 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17099 wine_fn_config_dll olethk32 enable_olethk32
17100 wine_fn_config_dll openal32 enable_openal32
17101 wine_fn_config_dll opencl enable_opencl
17102 wine_fn_config_dll opengl32 enable_opengl32 implib
17103 wine_fn_config_test dlls/opengl32/tests opengl32_test
17104 wine_fn_config_dll packager enable_packager clean
17105 wine_fn_config_test dlls/packager/tests packager_test
17106 wine_fn_config_dll pdh enable_pdh implib
17107 wine_fn_config_test dlls/pdh/tests pdh_test
17108 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17109 wine_fn_config_dll pidgen enable_pidgen
17110 wine_fn_config_dll powrprof enable_powrprof implib
17111 wine_fn_config_dll printui enable_printui
17112 wine_fn_config_dll propsys enable_propsys clean,implib
17113 wine_fn_config_test dlls/propsys/tests propsys_test
17114 wine_fn_config_dll psapi enable_psapi implib
17115 wine_fn_config_test dlls/psapi/tests psapi_test
17116 wine_fn_config_dll pstorec enable_pstorec clean
17117 wine_fn_config_dll qcap enable_qcap
17118 wine_fn_config_test dlls/qcap/tests qcap_test
17119 wine_fn_config_dll qedit enable_qedit clean
17120 wine_fn_config_test dlls/qedit/tests qedit_test
17121 wine_fn_config_dll qmgr enable_qmgr clean
17122 wine_fn_config_test dlls/qmgr/tests qmgr_test
17123 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17124 wine_fn_config_dll quartz enable_quartz clean,implib
17125 wine_fn_config_test dlls/quartz/tests quartz_test clean
17126 wine_fn_config_dll query enable_query
17127 wine_fn_config_dll rasapi16.dll16 enable_win16
17128 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17129 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17130 wine_fn_config_dll rasdlg enable_rasdlg implib
17131 wine_fn_config_dll regapi enable_regapi
17132 wine_fn_config_dll resutils enable_resutils implib
17133 wine_fn_config_dll riched20 enable_riched20 implib
17134 wine_fn_config_test dlls/riched20/tests riched20_test
17135 wine_fn_config_dll riched32 enable_riched32
17136 wine_fn_config_test dlls/riched32/tests riched32_test
17137 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17138 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17139 wine_fn_config_dll rsabase enable_rsabase
17140 wine_fn_config_dll rsaenh enable_rsaenh implib
17141 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17142 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17143 wine_fn_config_dll rtutils enable_rtutils implib
17144 wine_fn_config_dll samlib enable_samlib
17145 wine_fn_config_dll sane.ds enable_sane_ds po
17146 wine_fn_config_dll scarddlg enable_scarddlg
17147 wine_fn_config_dll sccbase enable_sccbase
17148 wine_fn_config_dll schannel enable_schannel
17149 wine_fn_config_test dlls/schannel/tests schannel_test
17150 wine_fn_config_dll schedsvc enable_schedsvc clean
17151 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17152 wine_fn_config_dll scrrun enable_scrrun clean
17153 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17154 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17155 wine_fn_config_dll secur32 enable_secur32 implib
17156 wine_fn_config_test dlls/secur32/tests secur32_test
17157 wine_fn_config_dll security enable_security
17158 wine_fn_config_dll sensapi enable_sensapi implib
17159 wine_fn_config_dll serialui enable_serialui implib,po
17160 wine_fn_config_test dlls/serialui/tests serialui_test
17161 wine_fn_config_dll setupapi enable_setupapi implib,po
17162 wine_fn_config_test dlls/setupapi/tests setupapi_test
17163 wine_fn_config_dll setupx.dll16 enable_win16
17164 wine_fn_config_dll sfc enable_sfc implib
17165 wine_fn_config_dll sfc_os enable_sfc_os implib
17166 wine_fn_config_dll shdoclc enable_shdoclc po
17167 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17168 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17169 wine_fn_config_dll shell.dll16 enable_win16
17170 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17171 wine_fn_config_test dlls/shell32/tests shell32_test
17172 wine_fn_config_dll shfolder enable_shfolder implib
17173 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17174 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17175 wine_fn_config_dll slbcsp enable_slbcsp
17176 wine_fn_config_dll slc enable_slc implib
17177 wine_fn_config_dll snmpapi enable_snmpapi implib
17178 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17179 wine_fn_config_dll softpub enable_softpub
17180 wine_fn_config_dll sound.drv16 enable_win16
17181 wine_fn_config_dll spoolss enable_spoolss implib
17182 wine_fn_config_test dlls/spoolss/tests spoolss_test
17183 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17184 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17185 wine_fn_config_dll sti enable_sti clean,implib
17186 wine_fn_config_test dlls/sti/tests sti_test
17187 wine_fn_config_dll storage.dll16 enable_win16
17188 wine_fn_config_dll stress.dll16 enable_win16
17189 wine_fn_config_lib strmbase
17190 wine_fn_config_lib strmiids
17191 wine_fn_config_dll svrapi enable_svrapi
17192 wine_fn_config_dll sxs enable_sxs implib
17193 wine_fn_config_test dlls/sxs/tests sxs_test
17194 wine_fn_config_dll system.drv16 enable_win16
17195 wine_fn_config_dll t2embed enable_t2embed
17196 wine_fn_config_dll tapi32 enable_tapi32 implib
17197 wine_fn_config_dll taskschd enable_taskschd clean
17198 wine_fn_config_test dlls/taskschd/tests taskschd_test
17199 wine_fn_config_dll toolhelp.dll16 enable_win16
17200 wine_fn_config_dll traffic enable_traffic
17201 wine_fn_config_dll twain.dll16 enable_win16
17202 wine_fn_config_dll twain_32 enable_twain_32
17203 wine_fn_config_test dlls/twain_32/tests twain_32_test
17204 wine_fn_config_dll typelib.dll16 enable_win16
17205 wine_fn_config_dll unicows enable_unicows implib
17206 wine_fn_config_dll updspapi enable_updspapi
17207 wine_fn_config_dll url enable_url implib
17208 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17209 wine_fn_config_test dlls/urlmon/tests urlmon_test
17210 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17211 wine_fn_config_dll user.exe16 enable_win16
17212 wine_fn_config_dll user32 enable_user32 clean,implib,po
17213 wine_fn_config_test dlls/user32/tests user32_test
17214 wine_fn_config_dll userenv enable_userenv implib
17215 wine_fn_config_test dlls/userenv/tests userenv_test
17216 wine_fn_config_dll usp10 enable_usp10 implib
17217 wine_fn_config_test dlls/usp10/tests usp10_test
17218 wine_fn_config_lib uuid
17219 wine_fn_config_dll uxtheme enable_uxtheme implib
17220 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17221 wine_fn_config_dll vbscript enable_vbscript clean
17222 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17223 wine_fn_config_dll vcomp enable_vcomp
17224 wine_fn_config_dll vcomp100 enable_vcomp100
17225 wine_fn_config_dll vcomp90 enable_vcomp90
17226 wine_fn_config_dll vdhcp.vxd enable_win16
17227 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17228 wine_fn_config_dll ver.dll16 enable_win16
17229 wine_fn_config_dll version enable_version implib
17230 wine_fn_config_test dlls/version/tests version_test
17231 wine_fn_config_dll vmm.vxd enable_win16
17232 wine_fn_config_dll vnbt.vxd enable_win16
17233 wine_fn_config_dll vnetbios.vxd enable_win16
17234 wine_fn_config_dll vtdapi.vxd enable_win16
17235 wine_fn_config_dll vwin32.vxd enable_win16
17236 wine_fn_config_dll w32skrnl enable_win16
17237 wine_fn_config_dll w32sys.dll16 enable_win16
17238 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17239 wine_fn_config_dll wbemprox enable_wbemprox clean
17240 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17241 wine_fn_config_dll webservices enable_webservices implib
17242 wine_fn_config_dll wer enable_wer implib
17243 wine_fn_config_test dlls/wer/tests wer_test
17244 wine_fn_config_dll wevtapi enable_wevtapi
17245 wine_fn_config_dll wiaservc enable_wiaservc clean
17246 wine_fn_config_dll win32s16.dll16 enable_win16
17247 wine_fn_config_dll win87em.dll16 enable_win16
17248 wine_fn_config_dll winaspi.dll16 enable_win16
17249 wine_fn_config_dll windebug.dll16 enable_win16
17250 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17251 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17252 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17253 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17254 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17255 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17256 wine_fn_config_lib winecrt0
17257 wine_fn_config_dll wined3d enable_wined3d implib
17258 wine_fn_config_dll winegstreamer enable_winegstreamer
17259 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17260 wine_fn_config_dll winemac.drv enable_winemac_drv
17261 wine_fn_config_dll winemapi enable_winemapi
17262 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17263 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17264 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
17265 wine_fn_config_dll wineps16.drv16 enable_win16
17266 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17267 wine_fn_config_dll winex11.drv enable_winex11_drv
17268 wine_fn_config_dll wing.dll16 enable_win16
17269 wine_fn_config_dll wing32 enable_wing32
17270 wine_fn_config_dll winhttp enable_winhttp clean,implib
17271 wine_fn_config_test dlls/winhttp/tests winhttp_test
17272 wine_fn_config_dll wininet enable_wininet implib,po
17273 wine_fn_config_test dlls/wininet/tests wininet_test
17274 wine_fn_config_dll winmm enable_winmm implib,po
17275 wine_fn_config_test dlls/winmm/tests winmm_test
17276 wine_fn_config_dll winnls.dll16 enable_win16
17277 wine_fn_config_dll winnls32 enable_winnls32 implib
17278 wine_fn_config_dll winscard enable_winscard implib
17279 wine_fn_config_dll winsock.dll16 enable_win16
17280 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17281 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17282 wine_fn_config_dll winsta enable_winsta
17283 wine_fn_config_dll wintab.dll16 enable_win16
17284 wine_fn_config_dll wintab32 enable_wintab32 implib
17285 wine_fn_config_test dlls/wintab32/tests wintab32_test
17286 wine_fn_config_dll wintrust enable_wintrust implib
17287 wine_fn_config_test dlls/wintrust/tests wintrust_test
17288 wine_fn_config_dll wlanapi enable_wlanapi
17289 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17290 wine_fn_config_test dlls/wldap32/tests wldap32_test
17291 wine_fn_config_dll wmi enable_wmi
17292 wine_fn_config_dll wmiutils enable_wmiutils clean
17293 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17294 wine_fn_config_dll wmp enable_wmp clean
17295 wine_fn_config_test dlls/wmp/tests wmp_test
17296 wine_fn_config_dll wmvcore enable_wmvcore
17297 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17298 wine_fn_config_dll wow32 enable_win16 implib
17299 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17300 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
17301 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17302 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
17303 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17304 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
17305 wine_fn_config_dll wsock32 enable_wsock32 implib
17306 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17307 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
17308 wine_fn_config_dll wuapi enable_wuapi clean
17309 wine_fn_config_dll wuaueng enable_wuaueng
17310 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17311 wine_fn_config_dll xinput1_1 enable_xinput1_1
17312 wine_fn_config_dll xinput1_2 enable_xinput1_2
17313 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17314 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
17315 wine_fn_config_dll xinput1_4 enable_xinput1_4
17316 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17317 wine_fn_config_dll xmllite enable_xmllite implib
17318 wine_fn_config_test dlls/xmllite/tests xmllite_test
17319 wine_fn_config_dll xolehlp enable_xolehlp
17320 wine_fn_config_dll xpsprint enable_xpsprint
17321 wine_fn_config_dll xpssvcs enable_xpssvcs
17322 wine_fn_config_makefile documentation enable_documentation clean
17323 wine_fn_config_makefile fonts enable_fonts clean,install-lib
17324 wine_fn_config_makefile include enable_include clean,install-dev
17325 wine_fn_config_makefile libs/port enable_libs_port
17326 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
17327 wine_fn_config_makefile libs/wpp enable_libs_wpp
17328 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
17329 wine_fn_config_program arp enable_arp install
17330 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
17331 wine_fn_config_program attrib enable_attrib install,po
17332 wine_fn_config_program cabarc enable_cabarc install
17333 wine_fn_config_program cacls enable_cacls install
17334 wine_fn_config_program clock enable_clock install,po
17335 wine_fn_config_program cmd enable_cmd install,po
17336 wine_fn_config_test programs/cmd/tests cmd.exe_test
17337 wine_fn_config_program conhost enable_conhost install
17338 wine_fn_config_program control enable_control install
17339 wine_fn_config_program cscript enable_cscript install
17340 wine_fn_config_program dpnsvr enable_dpnsvr install
17341 wine_fn_config_program dxdiag enable_dxdiag install,po
17342 wine_fn_config_program eject enable_eject install
17343 wine_fn_config_program expand enable_expand install
17344 wine_fn_config_program explorer enable_explorer install,po
17345 wine_fn_config_program extrac32 enable_extrac32 install
17346 wine_fn_config_program findstr enable_findstr install
17347 wine_fn_config_program hh enable_hh install
17348 wine_fn_config_program hostname enable_hostname install,po
17349 wine_fn_config_program icinfo enable_icinfo install
17350 wine_fn_config_program iexplore enable_iexplore install
17351 wine_fn_config_program ipconfig enable_ipconfig install,po
17352 wine_fn_config_program lodctr enable_lodctr install
17353 wine_fn_config_program mofcomp enable_mofcomp install
17354 wine_fn_config_program mshta enable_mshta install
17355 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
17356 wine_fn_config_program net enable_net install,po
17357 wine_fn_config_program netsh enable_netsh install
17358 wine_fn_config_program netstat enable_netstat install,po
17359 wine_fn_config_program ngen enable_ngen install
17360 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
17361 wine_fn_config_program oleview enable_oleview install,po
17362 wine_fn_config_program ping enable_ping install
17363 wine_fn_config_program plugplay enable_plugplay install
17364 wine_fn_config_program presentationfontcache enable_presentationfontcache install
17365 wine_fn_config_program progman enable_progman install,po
17366 wine_fn_config_program reg enable_reg install,po
17367 wine_fn_config_program regasm enable_regasm install
17368 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
17369 wine_fn_config_test programs/regedit/tests regedit.exe_test
17370 wine_fn_config_program regsvcs enable_regsvcs install
17371 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage,po
17372 wine_fn_config_program rpcss enable_rpcss clean,install
17373 wine_fn_config_program rundll.exe16 enable_win16 install
17374 wine_fn_config_program rundll32 enable_rundll32 install
17375 wine_fn_config_program sc enable_sc install
17376 wine_fn_config_program schtasks enable_schtasks install
17377 wine_fn_config_program sdbinst enable_sdbinst install
17378 wine_fn_config_program secedit enable_secedit install
17379 wine_fn_config_program servicemodelreg enable_servicemodelreg install
17380 wine_fn_config_program services enable_services clean,install
17381 wine_fn_config_test programs/services/tests services.exe_test
17382 wine_fn_config_program spoolsv enable_spoolsv install
17383 wine_fn_config_program start enable_start install,po
17384 wine_fn_config_program svchost enable_svchost install
17385 wine_fn_config_program taskkill enable_taskkill install,po
17386 wine_fn_config_program tasklist enable_tasklist install
17387 wine_fn_config_program taskmgr enable_taskmgr install,po
17388 wine_fn_config_program termsv enable_termsv install
17389 wine_fn_config_program uninstaller enable_uninstaller install,po
17390 wine_fn_config_program unlodctr enable_unlodctr install
17391 wine_fn_config_program view enable_view install,po
17392 wine_fn_config_program wevtutil enable_wevtutil install
17393 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
17394 wine_fn_config_program winebrowser enable_winebrowser install
17395 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
17396 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
17397 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
17398 wine_fn_config_program winedevice enable_winedevice install
17399 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
17400 wine_fn_config_program winemenubuilder enable_winemenubuilder install
17401 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
17402 wine_fn_config_program winemsibuilder enable_winemsibuilder install
17403 wine_fn_config_program winepath enable_winepath install,installbin,manpage
17404 wine_fn_config_program winetest enable_winetest clean
17405 wine_fn_config_program winevdm enable_win16 install
17406 wine_fn_config_program winhelp.exe16 enable_win16 install
17407 wine_fn_config_program winhlp32 enable_winhlp32 install,po
17408 wine_fn_config_program winoldap.mod16 enable_win16 install
17409 wine_fn_config_program winver enable_winver install
17410 wine_fn_config_program wmic enable_wmic install,po
17411 wine_fn_config_program wordpad enable_wordpad install,po
17412 wine_fn_config_program write enable_write install,po
17413 wine_fn_config_program wscript enable_wscript clean,install
17414 wine_fn_config_test programs/wscript/tests wscript.exe_test
17415 wine_fn_config_program wusa enable_wusa install
17416 wine_fn_config_program xcopy enable_xcopy install,po
17417 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
17418 wine_fn_config_makefile server enable_server clean,install-lib,manpage
17419 wine_fn_config_tool tools clean,install-dev,install-lib,manpage
17420 wine_fn_config_tool tools/sfnt2fon clean
17421 wine_fn_config_tool tools/widl clean,install-dev,manpage
17422 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
17423 wine_fn_config_tool tools/winedump clean,install-dev,manpage
17424 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
17425 wine_fn_config_tool tools/wmc clean,install-dev,manpage
17426 wine_fn_config_tool tools/wrc clean,install-dev,manpage
17428 LINGUAS="\
17429 ar \
17430 bg \
17431 ca \
17432 cs \
17433 da \
17434 de \
17435 el \
17436 en \
17437 en_US \
17438 eo \
17439 es \
17440 fa \
17441 fi \
17442 fr \
17443 he \
17444 hi \
17445 hr \
17446 hu \
17447 it \
17448 ja \
17449 ko \
17450 lt \
17451 ml \
17452 nb_NO \
17453 nl \
17454 or \
17455 pa \
17456 pl \
17457 pt_BR \
17458 pt_PT \
17459 rm \
17460 ro \
17461 ru \
17462 sk \
17463 sl \
17464 sr_RS@cyrillic \
17465 sr_RS@latin \
17466 sv \
17467 te \
17468 th \
17469 tr \
17470 uk \
17471 wa \
17472 zh_CN \
17473 zh_TW"
17478 wine_fn_ignore_file ".gitignore"
17479 wine_fn_ignore_file "Makefile"
17480 wine_fn_ignore_file "TAGS"
17481 wine_fn_ignore_file "tags"
17482 wine_fn_ignore_file "autom4te.cache"
17483 wine_fn_ignore_file "config.cache"
17484 wine_fn_ignore_file "config.log"
17485 wine_fn_ignore_file "config.status"
17486 wine_fn_ignore_file "configure.lineno"
17487 wine_fn_ignore_file "include/config.h"
17488 wine_fn_ignore_file "include/stamp-h"
17489 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
17491 if test "x$enable_tools" != xno
17492 then
17493 wine_fn_ignore_file "tools/makedep$ac_exeext"
17494 ac_config_commands="$ac_config_commands tools/makedep"
17498 ac_config_commands="$ac_config_commands Makefile"
17501 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17505 if test "x$enable_maintainer_mode" = xyes
17506 then
17507 wine_fn_append_rule "configure: configure.ac aclocal.m4
17508 autoconf --warnings=all
17509 include/config.h.in: include/stamp-h.in
17510 include/stamp-h.in: configure.ac aclocal.m4
17511 autoheader --warnings=all
17512 @echo timestamp > \$@"
17515 if test "x$with_gettextpo" = xyes
17516 then
17517 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17518 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
17519 \$(LINGUAS:%=po/%.po): po/wine.pot
17520 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17521 po/wine.pot: \$(ALL_POT_FILES)
17522 msgcat -o \$@ \$(ALL_POT_FILES)"
17525 if test "$MSGFMT" != false
17526 then
17527 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
17528 clean::
17529 \$(RM) \$(LINGUAS:%=po/%.mo)"
17531 posrc="po"
17532 test "$srcdir" = . || posrc="$srcdir/po"
17533 for i in $LINGUAS
17535 wine_fn_ignore_file "po/$i.mo"
17536 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
17537 \$(MSGFMT) -o \$@ $posrc/$i.po"
17538 done
17539 else
17540 LINGUAS=
17543 if test "x$enable_tools" != xno
17544 then
17545 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17546 @./config.status tools/makedep
17547 Makefile: tools/makedep$ac_exeext
17548 distclean:: clean
17549 \$(RM) tools/makedep$ac_exeext"
17550 else
17551 wine_fn_append_rule "\$(MAKEDEP):
17552 @echo \"You need to run make in $TOOLSDIR first\" && false"
17555 if test -n "$with_wine64"
17556 then
17557 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17558 fonts server tools:
17559 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17560 $with_wine64/loader/wine:
17561 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17562 $with_wine64/loader/wine-preloader:
17563 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17564 clean::
17565 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17566 else
17567 as_fn_append LOADER_RULES "
17568 all: wine.inf
17570 install install-lib:: wine.inf install-man-pages
17571 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17572 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17574 uninstall::
17575 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17579 if test "$srcdir" = .
17580 then
17581 ac_config_commands="$ac_config_commands .gitignore"
17585 $as_echo " done" >&6
17586 cat >confcache <<\_ACEOF
17587 # This file is a shell script that caches the results of configure
17588 # tests run on this system so they can be shared between configure
17589 # scripts and configure runs, see configure's option --config-cache.
17590 # It is not useful on other systems. If it contains results you don't
17591 # want to keep, you may remove or edit it.
17593 # config.status only pays attention to the cache file if you give it
17594 # the --recheck option to rerun configure.
17596 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17597 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17598 # following values.
17600 _ACEOF
17602 # The following way of writing the cache mishandles newlines in values,
17603 # but we know of no workaround that is simple, portable, and efficient.
17604 # So, we kill variables containing newlines.
17605 # Ultrix sh set writes to stderr and can't be redirected directly,
17606 # and sets the high bit in the cache file unless we assign to the vars.
17608 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17609 eval ac_val=\$$ac_var
17610 case $ac_val in #(
17611 *${as_nl}*)
17612 case $ac_var in #(
17613 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17614 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17615 esac
17616 case $ac_var in #(
17617 _ | IFS | as_nl) ;; #(
17618 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17619 *) { eval $ac_var=; unset $ac_var;} ;;
17620 esac ;;
17621 esac
17622 done
17624 (set) 2>&1 |
17625 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17626 *${as_nl}ac_space=\ *)
17627 # `set' does not quote correctly, so add quotes: double-quote
17628 # substitution turns \\\\ into \\, and sed turns \\ into \.
17629 sed -n \
17630 "s/'/'\\\\''/g;
17631 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17632 ;; #(
17634 # `set' quotes correctly as required by POSIX, so do not add quotes.
17635 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17637 esac |
17638 sort
17640 sed '
17641 /^ac_cv_env_/b end
17642 t clear
17643 :clear
17644 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17645 t end
17646 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17647 :end' >>confcache
17648 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17649 if test -w "$cache_file"; then
17650 if test "x$cache_file" != "x/dev/null"; then
17651 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17652 $as_echo "$as_me: updating cache $cache_file" >&6;}
17653 if test ! -f "$cache_file" || test -h "$cache_file"; then
17654 cat confcache >"$cache_file"
17655 else
17656 case $cache_file in #(
17657 */* | ?:*)
17658 mv -f confcache "$cache_file"$$ &&
17659 mv -f "$cache_file"$$ "$cache_file" ;; #(
17661 mv -f confcache "$cache_file" ;;
17662 esac
17665 else
17666 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17667 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17670 rm -f confcache
17672 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17673 # Let make expand exec_prefix.
17674 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17676 DEFS=-DHAVE_CONFIG_H
17678 ac_libobjs=
17679 ac_ltlibobjs=
17681 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17682 # 1. Remove the extension, and $U if already installed.
17683 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17684 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17685 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17686 # will be set to the directory where LIBOBJS objects are built.
17687 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17688 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17689 done
17690 LIBOBJS=$ac_libobjs
17692 LTLIBOBJS=$ac_ltlibobjs
17696 : "${CONFIG_STATUS=./config.status}"
17697 ac_write_fail=0
17698 ac_clean_files_save=$ac_clean_files
17699 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17700 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17701 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17702 as_write_fail=0
17703 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17704 #! $SHELL
17705 # Generated by $as_me.
17706 # Run this file to recreate the current configuration.
17707 # Compiler output produced by configure, useful for debugging
17708 # configure, is in config.log if it exists.
17710 debug=false
17711 ac_cs_recheck=false
17712 ac_cs_silent=false
17714 SHELL=\${CONFIG_SHELL-$SHELL}
17715 export SHELL
17716 _ASEOF
17717 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17718 ## -------------------- ##
17719 ## M4sh Initialization. ##
17720 ## -------------------- ##
17722 # Be more Bourne compatible
17723 DUALCASE=1; export DUALCASE # for MKS sh
17724 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17725 emulate sh
17726 NULLCMD=:
17727 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17728 # is contrary to our usage. Disable this feature.
17729 alias -g '${1+"$@"}'='"$@"'
17730 setopt NO_GLOB_SUBST
17731 else
17732 case `(set -o) 2>/dev/null` in #(
17733 *posix*) :
17734 set -o posix ;; #(
17735 *) :
17737 esac
17741 as_nl='
17743 export as_nl
17744 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17745 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17746 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17747 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17748 # Prefer a ksh shell builtin over an external printf program on Solaris,
17749 # but without wasting forks for bash or zsh.
17750 if test -z "$BASH_VERSION$ZSH_VERSION" \
17751 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17752 as_echo='print -r --'
17753 as_echo_n='print -rn --'
17754 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17755 as_echo='printf %s\n'
17756 as_echo_n='printf %s'
17757 else
17758 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17759 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17760 as_echo_n='/usr/ucb/echo -n'
17761 else
17762 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17763 as_echo_n_body='eval
17764 arg=$1;
17765 case $arg in #(
17766 *"$as_nl"*)
17767 expr "X$arg" : "X\\(.*\\)$as_nl";
17768 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17769 esac;
17770 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17772 export as_echo_n_body
17773 as_echo_n='sh -c $as_echo_n_body as_echo'
17775 export as_echo_body
17776 as_echo='sh -c $as_echo_body as_echo'
17779 # The user is always right.
17780 if test "${PATH_SEPARATOR+set}" != set; then
17781 PATH_SEPARATOR=:
17782 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17783 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17784 PATH_SEPARATOR=';'
17789 # IFS
17790 # We need space, tab and new line, in precisely that order. Quoting is
17791 # there to prevent editors from complaining about space-tab.
17792 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17793 # splitting by setting IFS to empty value.)
17794 IFS=" "" $as_nl"
17796 # Find who we are. Look in the path if we contain no directory separator.
17797 as_myself=
17798 case $0 in #((
17799 *[\\/]* ) as_myself=$0 ;;
17800 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17801 for as_dir in $PATH
17803 IFS=$as_save_IFS
17804 test -z "$as_dir" && as_dir=.
17805 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17806 done
17807 IFS=$as_save_IFS
17810 esac
17811 # We did not find ourselves, most probably we were run as `sh COMMAND'
17812 # in which case we are not to be found in the path.
17813 if test "x$as_myself" = x; then
17814 as_myself=$0
17816 if test ! -f "$as_myself"; then
17817 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17818 exit 1
17821 # Unset variables that we do not need and which cause bugs (e.g. in
17822 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17823 # suppresses any "Segmentation fault" message there. '((' could
17824 # trigger a bug in pdksh 5.2.14.
17825 for as_var in BASH_ENV ENV MAIL MAILPATH
17826 do eval test x\${$as_var+set} = xset \
17827 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17828 done
17829 PS1='$ '
17830 PS2='> '
17831 PS4='+ '
17833 # NLS nuisances.
17834 LC_ALL=C
17835 export LC_ALL
17836 LANGUAGE=C
17837 export LANGUAGE
17839 # CDPATH.
17840 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17843 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17844 # ----------------------------------------
17845 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17846 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17847 # script with STATUS, using 1 if that was 0.
17848 as_fn_error ()
17850 as_status=$1; test $as_status -eq 0 && as_status=1
17851 if test "$4"; then
17852 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17853 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17855 $as_echo "$as_me: error: $2" >&2
17856 as_fn_exit $as_status
17857 } # as_fn_error
17860 # as_fn_set_status STATUS
17861 # -----------------------
17862 # Set $? to STATUS, without forking.
17863 as_fn_set_status ()
17865 return $1
17866 } # as_fn_set_status
17868 # as_fn_exit STATUS
17869 # -----------------
17870 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17871 as_fn_exit ()
17873 set +e
17874 as_fn_set_status $1
17875 exit $1
17876 } # as_fn_exit
17878 # as_fn_unset VAR
17879 # ---------------
17880 # Portably unset VAR.
17881 as_fn_unset ()
17883 { eval $1=; unset $1;}
17885 as_unset=as_fn_unset
17886 # as_fn_append VAR VALUE
17887 # ----------------------
17888 # Append the text in VALUE to the end of the definition contained in VAR. Take
17889 # advantage of any shell optimizations that allow amortized linear growth over
17890 # repeated appends, instead of the typical quadratic growth present in naive
17891 # implementations.
17892 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17893 eval 'as_fn_append ()
17895 eval $1+=\$2
17897 else
17898 as_fn_append ()
17900 eval $1=\$$1\$2
17902 fi # as_fn_append
17904 # as_fn_arith ARG...
17905 # ------------------
17906 # Perform arithmetic evaluation on the ARGs, and store the result in the
17907 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17908 # must be portable across $(()) and expr.
17909 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17910 eval 'as_fn_arith ()
17912 as_val=$(( $* ))
17914 else
17915 as_fn_arith ()
17917 as_val=`expr "$@" || test $? -eq 1`
17919 fi # as_fn_arith
17922 if expr a : '\(a\)' >/dev/null 2>&1 &&
17923 test "X`expr 00001 : '.*\(...\)'`" = X001; then
17924 as_expr=expr
17925 else
17926 as_expr=false
17929 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17930 as_basename=basename
17931 else
17932 as_basename=false
17935 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17936 as_dirname=dirname
17937 else
17938 as_dirname=false
17941 as_me=`$as_basename -- "$0" ||
17942 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17943 X"$0" : 'X\(//\)$' \| \
17944 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17945 $as_echo X/"$0" |
17946 sed '/^.*\/\([^/][^/]*\)\/*$/{
17947 s//\1/
17950 /^X\/\(\/\/\)$/{
17951 s//\1/
17954 /^X\/\(\/\).*/{
17955 s//\1/
17958 s/.*/./; q'`
17960 # Avoid depending upon Character Ranges.
17961 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17962 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17963 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17964 as_cr_digits='0123456789'
17965 as_cr_alnum=$as_cr_Letters$as_cr_digits
17967 ECHO_C= ECHO_N= ECHO_T=
17968 case `echo -n x` in #(((((
17969 -n*)
17970 case `echo 'xy\c'` in
17971 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
17972 xy) ECHO_C='\c';;
17973 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
17974 ECHO_T=' ';;
17975 esac;;
17977 ECHO_N='-n';;
17978 esac
17980 rm -f conf$$ conf$$.exe conf$$.file
17981 if test -d conf$$.dir; then
17982 rm -f conf$$.dir/conf$$.file
17983 else
17984 rm -f conf$$.dir
17985 mkdir conf$$.dir 2>/dev/null
17987 if (echo >conf$$.file) 2>/dev/null; then
17988 if ln -s conf$$.file conf$$ 2>/dev/null; then
17989 as_ln_s='ln -s'
17990 # ... but there are two gotchas:
17991 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17992 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17993 # In both cases, we have to default to `cp -pR'.
17994 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17995 as_ln_s='cp -pR'
17996 elif ln conf$$.file conf$$ 2>/dev/null; then
17997 as_ln_s=ln
17998 else
17999 as_ln_s='cp -pR'
18001 else
18002 as_ln_s='cp -pR'
18004 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18005 rmdir conf$$.dir 2>/dev/null
18008 # as_fn_mkdir_p
18009 # -------------
18010 # Create "$as_dir" as a directory, including parents if necessary.
18011 as_fn_mkdir_p ()
18014 case $as_dir in #(
18015 -*) as_dir=./$as_dir;;
18016 esac
18017 test -d "$as_dir" || eval $as_mkdir_p || {
18018 as_dirs=
18019 while :; do
18020 case $as_dir in #(
18021 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18022 *) as_qdir=$as_dir;;
18023 esac
18024 as_dirs="'$as_qdir' $as_dirs"
18025 as_dir=`$as_dirname -- "$as_dir" ||
18026 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18027 X"$as_dir" : 'X\(//\)[^/]' \| \
18028 X"$as_dir" : 'X\(//\)$' \| \
18029 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18030 $as_echo X"$as_dir" |
18031 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18032 s//\1/
18035 /^X\(\/\/\)[^/].*/{
18036 s//\1/
18039 /^X\(\/\/\)$/{
18040 s//\1/
18043 /^X\(\/\).*/{
18044 s//\1/
18047 s/.*/./; q'`
18048 test -d "$as_dir" && break
18049 done
18050 test -z "$as_dirs" || eval "mkdir $as_dirs"
18051 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18054 } # as_fn_mkdir_p
18055 if mkdir -p . 2>/dev/null; then
18056 as_mkdir_p='mkdir -p "$as_dir"'
18057 else
18058 test -d ./-p && rmdir ./-p
18059 as_mkdir_p=false
18063 # as_fn_executable_p FILE
18064 # -----------------------
18065 # Test if FILE is an executable regular file.
18066 as_fn_executable_p ()
18068 test -f "$1" && test -x "$1"
18069 } # as_fn_executable_p
18070 as_test_x='test -x'
18071 as_executable_p=as_fn_executable_p
18073 # Sed expression to map a string onto a valid CPP name.
18074 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18076 # Sed expression to map a string onto a valid variable name.
18077 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18080 exec 6>&1
18081 ## ----------------------------------- ##
18082 ## Main body of $CONFIG_STATUS script. ##
18083 ## ----------------------------------- ##
18084 _ASEOF
18085 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18087 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18088 # Save the log message, to keep $0 and so on meaningful, and to
18089 # report actual input values of CONFIG_FILES etc. instead of their
18090 # values after options handling.
18091 ac_log="
18092 This file was extended by Wine $as_me 1.7.20, which was
18093 generated by GNU Autoconf 2.69. Invocation command line was
18095 CONFIG_FILES = $CONFIG_FILES
18096 CONFIG_HEADERS = $CONFIG_HEADERS
18097 CONFIG_LINKS = $CONFIG_LINKS
18098 CONFIG_COMMANDS = $CONFIG_COMMANDS
18099 $ $0 $@
18101 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18104 _ACEOF
18106 case $ac_config_files in *"
18107 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18108 esac
18110 case $ac_config_headers in *"
18111 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18112 esac
18115 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18116 # Files that config.status was made for.
18117 config_files="$ac_config_files"
18118 config_headers="$ac_config_headers"
18119 config_links="$ac_config_links"
18120 config_commands="$ac_config_commands"
18122 _ACEOF
18124 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18125 ac_cs_usage="\
18126 \`$as_me' instantiates files and other configuration actions
18127 from templates according to the current configuration. Unless the files
18128 and actions are specified as TAGs, all are instantiated by default.
18130 Usage: $0 [OPTION]... [TAG]...
18132 -h, --help print this help, then exit
18133 -V, --version print version number and configuration settings, then exit
18134 --config print configuration, then exit
18135 -q, --quiet, --silent
18136 do not print progress messages
18137 -d, --debug don't remove temporary files
18138 --recheck update $as_me by reconfiguring in the same conditions
18139 --file=FILE[:TEMPLATE]
18140 instantiate the configuration file FILE
18141 --header=FILE[:TEMPLATE]
18142 instantiate the configuration header FILE
18144 Configuration files:
18145 $config_files
18147 Configuration headers:
18148 $config_headers
18150 Configuration links:
18151 $config_links
18153 Configuration commands:
18154 $config_commands
18156 Report bugs to <wine-devel@winehq.org>.
18157 Wine home page: <http://www.winehq.org>."
18159 _ACEOF
18160 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18161 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18162 ac_cs_version="\\
18163 Wine config.status 1.7.20
18164 configured by $0, generated by GNU Autoconf 2.69,
18165 with options \\"\$ac_cs_config\\"
18167 Copyright (C) 2012 Free Software Foundation, Inc.
18168 This config.status script is free software; the Free Software Foundation
18169 gives unlimited permission to copy, distribute and modify it."
18171 ac_pwd='$ac_pwd'
18172 srcdir='$srcdir'
18173 test -n "\$AWK" || AWK=awk
18174 _ACEOF
18176 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18177 # The default lists apply if the user does not specify any file.
18178 ac_need_defaults=:
18179 while test $# != 0
18181 case $1 in
18182 --*=?*)
18183 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18184 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18185 ac_shift=:
18187 --*=)
18188 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18189 ac_optarg=
18190 ac_shift=:
18193 ac_option=$1
18194 ac_optarg=$2
18195 ac_shift=shift
18197 esac
18199 case $ac_option in
18200 # Handling of the options.
18201 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18202 ac_cs_recheck=: ;;
18203 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18204 $as_echo "$ac_cs_version"; exit ;;
18205 --config | --confi | --conf | --con | --co | --c )
18206 $as_echo "$ac_cs_config"; exit ;;
18207 --debug | --debu | --deb | --de | --d | -d )
18208 debug=: ;;
18209 --file | --fil | --fi | --f )
18210 $ac_shift
18211 case $ac_optarg in
18212 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18213 '') as_fn_error $? "missing file argument" ;;
18214 esac
18215 as_fn_append CONFIG_FILES " '$ac_optarg'"
18216 ac_need_defaults=false;;
18217 --header | --heade | --head | --hea )
18218 $ac_shift
18219 case $ac_optarg in
18220 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18221 esac
18222 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18223 ac_need_defaults=false;;
18224 --he | --h)
18225 # Conflict between --help and --header
18226 as_fn_error $? "ambiguous option: \`$1'
18227 Try \`$0 --help' for more information.";;
18228 --help | --hel | -h )
18229 $as_echo "$ac_cs_usage"; exit ;;
18230 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18231 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18232 ac_cs_silent=: ;;
18234 # This is an error.
18235 -*) as_fn_error $? "unrecognized option: \`$1'
18236 Try \`$0 --help' for more information." ;;
18238 *) as_fn_append ac_config_targets " $1"
18239 ac_need_defaults=false ;;
18241 esac
18242 shift
18243 done
18245 ac_configure_extra_args=
18247 if $ac_cs_silent; then
18248 exec 6>/dev/null
18249 ac_configure_extra_args="$ac_configure_extra_args --silent"
18252 _ACEOF
18253 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18254 if \$ac_cs_recheck; then
18255 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18256 shift
18257 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18258 CONFIG_SHELL='$SHELL'
18259 export CONFIG_SHELL
18260 exec "\$@"
18263 _ACEOF
18264 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18265 exec 5>>config.log
18267 echo
18268 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18269 ## Running $as_me. ##
18270 _ASBOX
18271 $as_echo "$ac_log"
18272 } >&5
18274 _ACEOF
18275 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18277 # INIT-COMMANDS
18279 wine_fn_output_makedep ()
18281 as_dir=tools; as_fn_mkdir_p
18282 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18284 wine_fn_output_makefile ()
18286 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18287 `cat $wine_rules_file`
18288 _WINE_EOF
18289 as_fn_error $? "could not create Makefile" "$LINENO" 5
18291 wine_fn_output_gitignore ()
18293 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18294 $GITIGNORE
18295 _WINE_EOF
18296 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18299 _ACEOF
18301 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18303 # Handling of arguments.
18304 for ac_config_target in $ac_config_targets
18306 case $ac_config_target in
18307 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18308 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
18309 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18310 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18311 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18312 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18313 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18314 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18315 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
18316 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18317 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
18318 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
18319 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18320 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
18322 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18323 esac
18324 done
18327 # If the user did not use the arguments to specify the items to instantiate,
18328 # then the envvar interface is used. Set only those that are not.
18329 # We use the long form for the default assignment because of an extremely
18330 # bizarre bug on SunOS 4.1.3.
18331 if $ac_need_defaults; then
18332 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18333 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18334 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18335 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18338 # Have a temporary directory for convenience. Make it in the build tree
18339 # simply because there is no reason against having it here, and in addition,
18340 # creating and moving files from /tmp can sometimes cause problems.
18341 # Hook for its removal unless debugging.
18342 # Note that there is a small window in which the directory will not be cleaned:
18343 # after its creation but before its name has been assigned to `$tmp'.
18344 $debug ||
18346 tmp= ac_tmp=
18347 trap 'exit_status=$?
18348 : "${ac_tmp:=$tmp}"
18349 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18351 trap 'as_fn_exit 1' 1 2 13 15
18353 # Create a (secure) tmp directory for tmp files.
18356 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18357 test -d "$tmp"
18358 } ||
18360 tmp=./conf$$-$RANDOM
18361 (umask 077 && mkdir "$tmp")
18362 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18363 ac_tmp=$tmp
18365 # Set up the scripts for CONFIG_FILES section.
18366 # No need to generate them if there are no CONFIG_FILES.
18367 # This happens for instance with `./config.status config.h'.
18368 if test -n "$CONFIG_FILES"; then
18371 ac_cr=`echo X | tr X '\015'`
18372 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18373 # But we know of no other shell where ac_cr would be empty at this
18374 # point, so we can use a bashism as a fallback.
18375 if test "x$ac_cr" = x; then
18376 eval ac_cr=\$\'\\r\'
18378 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18379 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18380 ac_cs_awk_cr='\\r'
18381 else
18382 ac_cs_awk_cr=$ac_cr
18385 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18386 _ACEOF
18390 echo "cat >conf$$subs.awk <<_ACEOF" &&
18391 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18392 echo "_ACEOF"
18393 } >conf$$subs.sh ||
18394 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18395 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18396 ac_delim='%!_!# '
18397 for ac_last_try in false false false false false :; do
18398 . ./conf$$subs.sh ||
18399 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18401 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18402 if test $ac_delim_n = $ac_delim_num; then
18403 break
18404 elif $ac_last_try; then
18405 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18406 else
18407 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18409 done
18410 rm -f conf$$subs.sh
18412 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18413 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18414 _ACEOF
18415 sed -n '
18417 s/^/S["/; s/!.*/"]=/
18420 s/^[^!]*!//
18421 :repl
18422 t repl
18423 s/'"$ac_delim"'$//
18424 t delim
18427 s/\(.\{148\}\)..*/\1/
18428 t more1
18429 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18432 b repl
18433 :more1
18434 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18437 s/.\{148\}//
18438 t nl
18439 :delim
18441 s/\(.\{148\}\)..*/\1/
18442 t more2
18443 s/["\\]/\\&/g; s/^/"/; s/$/"/
18446 :more2
18447 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18450 s/.\{148\}//
18451 t delim
18452 ' <conf$$subs.awk | sed '
18453 /^[^""]/{
18455 s/\n//
18457 ' >>$CONFIG_STATUS || ac_write_fail=1
18458 rm -f conf$$subs.awk
18459 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18460 _ACAWK
18461 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18462 for (key in S) S_is_set[key] = 1
18463 FS = "\a"
18467 line = $ 0
18468 nfields = split(line, field, "@")
18469 substed = 0
18470 len = length(field[1])
18471 for (i = 2; i < nfields; i++) {
18472 key = field[i]
18473 keylen = length(key)
18474 if (S_is_set[key]) {
18475 value = S[key]
18476 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18477 len += length(value) + length(field[++i])
18478 substed = 1
18479 } else
18480 len += 1 + keylen
18483 print line
18486 _ACAWK
18487 _ACEOF
18488 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18489 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18490 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18491 else
18493 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18494 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18495 _ACEOF
18497 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18498 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18499 # trailing colons and then remove the whole line if VPATH becomes empty
18500 # (actually we leave an empty line to preserve line numbers).
18501 if test "x$srcdir" = x.; then
18502 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18504 s///
18505 s/^/:/
18506 s/[ ]*$/:/
18507 s/:\$(srcdir):/:/g
18508 s/:\${srcdir}:/:/g
18509 s/:@srcdir@:/:/g
18510 s/^:*//
18511 s/:*$//
18513 s/\(=[ ]*\).*/\1/
18515 s/\n//
18516 s/^[^=]*=[ ]*$//
18520 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18521 fi # test -n "$CONFIG_FILES"
18523 # Set up the scripts for CONFIG_HEADERS section.
18524 # No need to generate them if there are no CONFIG_HEADERS.
18525 # This happens for instance with `./config.status Makefile'.
18526 if test -n "$CONFIG_HEADERS"; then
18527 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18528 BEGIN {
18529 _ACEOF
18531 # Transform confdefs.h into an awk script `defines.awk', embedded as
18532 # here-document in config.status, that substitutes the proper values into
18533 # config.h.in to produce config.h.
18535 # Create a delimiter string that does not exist in confdefs.h, to ease
18536 # handling of long lines.
18537 ac_delim='%!_!# '
18538 for ac_last_try in false false :; do
18539 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18540 if test -z "$ac_tt"; then
18541 break
18542 elif $ac_last_try; then
18543 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18544 else
18545 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18547 done
18549 # For the awk script, D is an array of macro values keyed by name,
18550 # likewise P contains macro parameters if any. Preserve backslash
18551 # newline sequences.
18553 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18554 sed -n '
18555 s/.\{148\}/&'"$ac_delim"'/g
18556 t rset
18557 :rset
18558 s/^[ ]*#[ ]*define[ ][ ]*/ /
18559 t def
18561 :def
18562 s/\\$//
18563 t bsnl
18564 s/["\\]/\\&/g
18565 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18566 D["\1"]=" \3"/p
18567 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18569 :bsnl
18570 s/["\\]/\\&/g
18571 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18572 D["\1"]=" \3\\\\\\n"\\/p
18573 t cont
18574 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18575 t cont
18577 :cont
18579 s/.\{148\}/&'"$ac_delim"'/g
18580 t clear
18581 :clear
18582 s/\\$//
18583 t bsnlc
18584 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18586 :bsnlc
18587 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18588 b cont
18589 ' <confdefs.h | sed '
18590 s/'"$ac_delim"'/"\\\
18591 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18593 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18594 for (key in D) D_is_set[key] = 1
18595 FS = "\a"
18597 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18598 line = \$ 0
18599 split(line, arg, " ")
18600 if (arg[1] == "#") {
18601 defundef = arg[2]
18602 mac1 = arg[3]
18603 } else {
18604 defundef = substr(arg[1], 2)
18605 mac1 = arg[2]
18607 split(mac1, mac2, "(") #)
18608 macro = mac2[1]
18609 prefix = substr(line, 1, index(line, defundef) - 1)
18610 if (D_is_set[macro]) {
18611 # Preserve the white space surrounding the "#".
18612 print prefix "define", macro P[macro] D[macro]
18613 next
18614 } else {
18615 # Replace #undef with comments. This is necessary, for example,
18616 # in the case of _POSIX_SOURCE, which is predefined and required
18617 # on some systems where configure will not decide to define it.
18618 if (defundef == "undef") {
18619 print "/*", prefix defundef, macro, "*/"
18620 next
18624 { print }
18625 _ACAWK
18626 _ACEOF
18627 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18628 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18629 fi # test -n "$CONFIG_HEADERS"
18632 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18633 shift
18634 for ac_tag
18636 case $ac_tag in
18637 :[FHLC]) ac_mode=$ac_tag; continue;;
18638 esac
18639 case $ac_mode$ac_tag in
18640 :[FHL]*:*);;
18641 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18642 :[FH]-) ac_tag=-:-;;
18643 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18644 esac
18645 ac_save_IFS=$IFS
18646 IFS=:
18647 set x $ac_tag
18648 IFS=$ac_save_IFS
18649 shift
18650 ac_file=$1
18651 shift
18653 case $ac_mode in
18654 :L) ac_source=$1;;
18655 :[FH])
18656 ac_file_inputs=
18657 for ac_f
18659 case $ac_f in
18660 -) ac_f="$ac_tmp/stdin";;
18661 *) # Look for the file first in the build tree, then in the source tree
18662 # (if the path is not absolute). The absolute path cannot be DOS-style,
18663 # because $ac_f cannot contain `:'.
18664 test -f "$ac_f" ||
18665 case $ac_f in
18666 [\\/$]*) false;;
18667 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18668 esac ||
18669 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18670 esac
18671 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18672 as_fn_append ac_file_inputs " '$ac_f'"
18673 done
18675 # Let's still pretend it is `configure' which instantiates (i.e., don't
18676 # use $as_me), people would be surprised to read:
18677 # /* config.h. Generated by config.status. */
18678 configure_input='Generated from '`
18679 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18680 `' by configure.'
18681 if test x"$ac_file" != x-; then
18682 configure_input="$ac_file. $configure_input"
18683 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18684 $as_echo "$as_me: creating $ac_file" >&6;}
18686 # Neutralize special characters interpreted by sed in replacement strings.
18687 case $configure_input in #(
18688 *\&* | *\|* | *\\* )
18689 ac_sed_conf_input=`$as_echo "$configure_input" |
18690 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18691 *) ac_sed_conf_input=$configure_input;;
18692 esac
18694 case $ac_tag in
18695 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18696 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18697 esac
18699 esac
18701 ac_dir=`$as_dirname -- "$ac_file" ||
18702 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18703 X"$ac_file" : 'X\(//\)[^/]' \| \
18704 X"$ac_file" : 'X\(//\)$' \| \
18705 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18706 $as_echo X"$ac_file" |
18707 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18708 s//\1/
18711 /^X\(\/\/\)[^/].*/{
18712 s//\1/
18715 /^X\(\/\/\)$/{
18716 s//\1/
18719 /^X\(\/\).*/{
18720 s//\1/
18723 s/.*/./; q'`
18724 as_dir="$ac_dir"; as_fn_mkdir_p
18725 ac_builddir=.
18727 case "$ac_dir" in
18728 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18730 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18731 # A ".." for each directory in $ac_dir_suffix.
18732 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18733 case $ac_top_builddir_sub in
18734 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18735 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18736 esac ;;
18737 esac
18738 ac_abs_top_builddir=$ac_pwd
18739 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18740 # for backward compatibility:
18741 ac_top_builddir=$ac_top_build_prefix
18743 case $srcdir in
18744 .) # We are building in place.
18745 ac_srcdir=.
18746 ac_top_srcdir=$ac_top_builddir_sub
18747 ac_abs_top_srcdir=$ac_pwd ;;
18748 [\\/]* | ?:[\\/]* ) # Absolute name.
18749 ac_srcdir=$srcdir$ac_dir_suffix;
18750 ac_top_srcdir=$srcdir
18751 ac_abs_top_srcdir=$srcdir ;;
18752 *) # Relative name.
18753 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18754 ac_top_srcdir=$ac_top_build_prefix$srcdir
18755 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18756 esac
18757 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18760 case $ac_mode in
18763 # CONFIG_FILE
18766 _ACEOF
18768 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18769 # If the template does not know about datarootdir, expand it.
18770 # FIXME: This hack should be removed a few years after 2.60.
18771 ac_datarootdir_hack=; ac_datarootdir_seen=
18772 ac_sed_dataroot='
18773 /datarootdir/ {
18777 /@datadir@/p
18778 /@docdir@/p
18779 /@infodir@/p
18780 /@localedir@/p
18781 /@mandir@/p'
18782 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18783 *datarootdir*) ac_datarootdir_seen=yes;;
18784 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18786 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18787 _ACEOF
18788 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18789 ac_datarootdir_hack='
18790 s&@datadir@&$datadir&g
18791 s&@docdir@&$docdir&g
18792 s&@infodir@&$infodir&g
18793 s&@localedir@&$localedir&g
18794 s&@mandir@&$mandir&g
18795 s&\\\${datarootdir}&$datarootdir&g' ;;
18796 esac
18797 _ACEOF
18799 # Neutralize VPATH when `$srcdir' = `.'.
18800 # Shell code in configure.ac might set extrasub.
18801 # FIXME: do we really want to maintain this feature?
18802 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18803 ac_sed_extra="$ac_vpsub
18804 $extrasub
18805 _ACEOF
18806 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18808 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18809 s|@configure_input@|$ac_sed_conf_input|;t t
18810 s&@top_builddir@&$ac_top_builddir_sub&;t t
18811 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18812 s&@srcdir@&$ac_srcdir&;t t
18813 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18814 s&@top_srcdir@&$ac_top_srcdir&;t t
18815 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18816 s&@builddir@&$ac_builddir&;t t
18817 s&@abs_builddir@&$ac_abs_builddir&;t t
18818 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18819 $ac_datarootdir_hack
18821 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18822 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18824 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18825 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18826 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18827 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18829 which seems to be undefined. Please make sure it is defined" >&5
18830 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18831 which seems to be undefined. Please make sure it is defined" >&2;}
18833 rm -f "$ac_tmp/stdin"
18834 case $ac_file in
18835 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18836 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18837 esac \
18838 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18842 # CONFIG_HEADER
18844 if test x"$ac_file" != x-; then
18846 $as_echo "/* $configure_input */" \
18847 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18848 } >"$ac_tmp/config.h" \
18849 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18850 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18851 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18852 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18853 else
18854 rm -f "$ac_file"
18855 mv "$ac_tmp/config.h" "$ac_file" \
18856 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18858 else
18859 $as_echo "/* $configure_input */" \
18860 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18861 || as_fn_error $? "could not create -" "$LINENO" 5
18866 # CONFIG_LINK
18869 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
18871 else
18872 # Prefer the file from the source tree if names are identical.
18873 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
18874 ac_source=$srcdir/$ac_source
18877 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
18878 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
18880 if test ! -r "$ac_source"; then
18881 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
18883 rm -f "$ac_file"
18885 # Try a relative symlink, then a hard link, then a copy.
18886 case $ac_source in
18887 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
18888 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
18889 esac
18890 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
18891 ln "$ac_source" "$ac_file" 2>/dev/null ||
18892 cp -p "$ac_source" "$ac_file" ||
18893 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
18896 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18897 $as_echo "$as_me: executing $ac_file commands" >&6;}
18899 esac
18902 case $ac_file$ac_mode in
18903 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
18904 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
18905 "Makefile":C) wine_fn_output_makefile Makefile ;;
18906 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
18908 esac
18909 done # for ac_tag
18912 as_fn_exit 0
18913 _ACEOF
18914 ac_clean_files=$ac_clean_files_save
18916 test $ac_write_fail = 0 ||
18917 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18920 # configure is writing to config.log, and then calls config.status.
18921 # config.status does its own redirection, appending to config.log.
18922 # Unfortunately, on DOS this fails, as config.log is still kept open
18923 # by configure, so config.status won't be able to write to it; its
18924 # output is simply discarded. So we exec the FD to /dev/null,
18925 # effectively closing config.log, so it can be properly (re)opened and
18926 # appended to by config.status. When coming back to configure, we
18927 # need to make the FD available again.
18928 if test "$no_create" != yes; then
18929 ac_cs_success=:
18930 ac_config_status_args=
18931 test "$silent" = yes &&
18932 ac_config_status_args="$ac_config_status_args --quiet"
18933 exec 5>/dev/null
18934 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18935 exec 5>>config.log
18936 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18937 # would make configure fail if this is the last instruction.
18938 $ac_cs_success || as_fn_exit 1
18940 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18941 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18942 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18946 if test "$no_create" = "yes"
18947 then
18948 exit 0
18951 ac_save_IFS="$IFS"
18952 if test "x$wine_notices != "x; then
18953 echo >&6
18954 IFS="|"
18955 for msg in $wine_notices; do
18956 IFS="$ac_save_IFS"
18957 if ${msg:+false} :; then :
18959 else
18960 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
18961 $as_echo "$as_me: $msg" >&6;}
18963 done
18965 IFS="|"
18966 for msg in $wine_warnings; do
18967 IFS="$ac_save_IFS"
18968 if ${msg:+false} :; then :
18970 else
18971 echo >&2
18972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
18973 $as_echo "$as_me: WARNING: $msg" >&2;}
18975 done
18976 IFS="$ac_save_IFS"
18978 $as_echo "
18979 $as_me: Finished. Do '${ac_make}' to compile Wine.
18980 " >&6