user32/tests: Use BOOL type where appropriate.
[wine/multimedia.git] / configure
blob847dbee0ca35269c50a9944926faad68e24690b3
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.14.
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.14'
584 PACKAGE_STRING='Wine 1.7.14'
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_explorerframe
1028 enable_ext_ms_win_gdi_devcaps_l1_1_0
1029 enable_faultrep
1030 enable_fltlib
1031 enable_fntcache
1032 enable_fontsub
1033 enable_fusion
1034 enable_fwpuclnt
1035 enable_gameux
1036 enable_gdi32
1037 enable_gdiplus
1038 enable_glu32
1039 enable_gphoto2_ds
1040 enable_gpkcsp
1041 enable_hal
1042 enable_hhctrl_ocx
1043 enable_hid
1044 enable_hlink
1045 enable_hnetcfg
1046 enable_httpapi
1047 enable_iccvid
1048 enable_icmp
1049 enable_ieframe
1050 enable_imaadp32_acm
1051 enable_imagehlp
1052 enable_imm32
1053 enable_inetcomm
1054 enable_inetcpl_cpl
1055 enable_inetmib1
1056 enable_infosoft
1057 enable_initpki
1058 enable_inkobj
1059 enable_inseng
1060 enable_iphlpapi
1061 enable_itircl
1062 enable_itss
1063 enable_joy_cpl
1064 enable_jscript
1065 enable_kernel32
1066 enable_ktmw32
1067 enable_loadperf
1068 enable_localspl
1069 enable_localui
1070 enable_lz32
1071 enable_mapi32
1072 enable_mapistub
1073 enable_mciavi32
1074 enable_mcicda
1075 enable_mciqtz32
1076 enable_mciseq
1077 enable_mciwave
1078 enable_mgmtapi
1079 enable_midimap
1080 enable_mlang
1081 enable_mmcndmgr
1082 enable_mmdevapi
1083 enable_mountmgr_sys
1084 enable_mpr
1085 enable_mprapi
1086 enable_msacm32_drv
1087 enable_msacm32
1088 enable_msadp32_acm
1089 enable_mscat32
1090 enable_mscms
1091 enable_mscoree
1092 enable_msctf
1093 enable_msdaps
1094 enable_msdmo
1095 enable_msftedit
1096 enable_msg711_acm
1097 enable_msgsm32_acm
1098 enable_mshtml_tlb
1099 enable_mshtml
1100 enable_msi
1101 enable_msident
1102 enable_msimg32
1103 enable_msimsg
1104 enable_msimtf
1105 enable_msisip
1106 enable_msisys_ocx
1107 enable_msls31
1108 enable_msnet32
1109 enable_mspatcha
1110 enable_msrle32
1111 enable_mssign32
1112 enable_mssip32
1113 enable_mstask
1114 enable_msvcirt
1115 enable_msvcm80
1116 enable_msvcm90
1117 enable_msvcp100
1118 enable_msvcp110
1119 enable_msvcp60
1120 enable_msvcp70
1121 enable_msvcp71
1122 enable_msvcp80
1123 enable_msvcp90
1124 enable_msvcr100
1125 enable_msvcr110
1126 enable_msvcr70
1127 enable_msvcr71
1128 enable_msvcr80
1129 enable_msvcr90
1130 enable_msvcrt
1131 enable_msvcrt20
1132 enable_msvcrt40
1133 enable_msvcrtd
1134 enable_msvfw32
1135 enable_msvidc32
1136 enable_mswsock
1137 enable_msxml
1138 enable_msxml2
1139 enable_msxml3
1140 enable_msxml4
1141 enable_msxml6
1142 enable_nddeapi
1143 enable_netapi32
1144 enable_netcfgx
1145 enable_newdev
1146 enable_normaliz
1147 enable_npmshtml
1148 enable_ntdll
1149 enable_ntdsapi
1150 enable_ntoskrnl_exe
1151 enable_ntprint
1152 enable_objsel
1153 enable_odbc32
1154 enable_odbccp32
1155 enable_odbccu32
1156 enable_ole32
1157 enable_oleacc
1158 enable_oleaut32
1159 enable_olecli32
1160 enable_oledb32
1161 enable_oledlg
1162 enable_olepro32
1163 enable_olesvr32
1164 enable_olethk32
1165 enable_openal32
1166 enable_opencl
1167 enable_opengl32
1168 enable_pdh
1169 enable_photometadatahandler
1170 enable_pidgen
1171 enable_powrprof
1172 enable_printui
1173 enable_propsys
1174 enable_psapi
1175 enable_pstorec
1176 enable_qcap
1177 enable_qedit
1178 enable_qmgr
1179 enable_qmgrprxy
1180 enable_quartz
1181 enable_query
1182 enable_rasapi32
1183 enable_rasdlg
1184 enable_regapi
1185 enable_resutils
1186 enable_riched20
1187 enable_riched32
1188 enable_rpcrt4
1189 enable_rsabase
1190 enable_rsaenh
1191 enable_rstrtmgr
1192 enable_rtutils
1193 enable_samlib
1194 enable_sane_ds
1195 enable_scarddlg
1196 enable_sccbase
1197 enable_schannel
1198 enable_schedsvc
1199 enable_scrrun
1200 enable_scsiport_sys
1201 enable_secur32
1202 enable_security
1203 enable_sensapi
1204 enable_serialui
1205 enable_setupapi
1206 enable_sfc
1207 enable_sfc_os
1208 enable_shdoclc
1209 enable_shdocvw
1210 enable_shell32
1211 enable_shfolder
1212 enable_shlwapi
1213 enable_slbcsp
1214 enable_slc
1215 enable_snmpapi
1216 enable_softpub
1217 enable_spoolss
1218 enable_stdole2_tlb
1219 enable_stdole32_tlb
1220 enable_sti
1221 enable_svrapi
1222 enable_sxs
1223 enable_t2embed
1224 enable_tapi32
1225 enable_taskschd
1226 enable_traffic
1227 enable_twain_32
1228 enable_unicows
1229 enable_updspapi
1230 enable_url
1231 enable_urlmon
1232 enable_usbd_sys
1233 enable_user32
1234 enable_userenv
1235 enable_usp10
1236 enable_uxtheme
1237 enable_vbscript
1238 enable_vcomp
1239 enable_vcomp100
1240 enable_vcomp90
1241 enable_vdmdbg
1242 enable_version
1243 enable_wbemdisp
1244 enable_wbemprox
1245 enable_webservices
1246 enable_wer
1247 enable_wevtapi
1248 enable_wiaservc
1249 enable_windowscodecs
1250 enable_windowscodecsext
1251 enable_winealsa_drv
1252 enable_winecoreaudio_drv
1253 enable_wined3d
1254 enable_winegstreamer
1255 enable_winejoystick_drv
1256 enable_winemac_drv
1257 enable_winemapi
1258 enable_winemp3_acm
1259 enable_wineoss_drv
1260 enable_wineps_drv
1261 enable_wineqtdecoder
1262 enable_winex11_drv
1263 enable_wing32
1264 enable_winhttp
1265 enable_wininet
1266 enable_winmm
1267 enable_winnls32
1268 enable_winscard
1269 enable_winspool_drv
1270 enable_winsta
1271 enable_wintab32
1272 enable_wintrust
1273 enable_wlanapi
1274 enable_wldap32
1275 enable_wmi
1276 enable_wmiutils
1277 enable_wmp
1278 enable_wmvcore
1279 enable_wnaspi32
1280 enable_ws2_32
1281 enable_wshom_ocx
1282 enable_wsnmp32
1283 enable_wsock32
1284 enable_wtsapi32
1285 enable_wuapi
1286 enable_wuaueng
1287 enable_xapofx1_1
1288 enable_xinput1_1
1289 enable_xinput1_2
1290 enable_xinput1_3
1291 enable_xinput1_4
1292 enable_xinput9_1_0
1293 enable_xmllite
1294 enable_xolehlp
1295 enable_xpsprint
1296 enable_xpssvcs
1297 enable_documentation
1298 enable_fonts
1299 enable_include
1300 enable_libs_port
1301 enable_libs_wine
1302 enable_libs_wpp
1303 enable_loader
1304 enable_arp
1305 enable_aspnet_regiis
1306 enable_attrib
1307 enable_cabarc
1308 enable_cacls
1309 enable_clock
1310 enable_cmd
1311 enable_conhost
1312 enable_control
1313 enable_cscript
1314 enable_dpnsvr
1315 enable_dxdiag
1316 enable_eject
1317 enable_expand
1318 enable_explorer
1319 enable_extrac32
1320 enable_findstr
1321 enable_hh
1322 enable_hostname
1323 enable_icinfo
1324 enable_iexplore
1325 enable_ipconfig
1326 enable_lodctr
1327 enable_mofcomp
1328 enable_mshta
1329 enable_msiexec
1330 enable_net
1331 enable_netsh
1332 enable_netstat
1333 enable_ngen
1334 enable_notepad
1335 enable_oleview
1336 enable_ping
1337 enable_plugplay
1338 enable_presentationfontcache
1339 enable_progman
1340 enable_reg
1341 enable_regasm
1342 enable_regedit
1343 enable_regsvcs
1344 enable_regsvr32
1345 enable_rpcss
1346 enable_rundll32
1347 enable_sc
1348 enable_schtasks
1349 enable_secedit
1350 enable_servicemodelreg
1351 enable_services
1352 enable_spoolsv
1353 enable_start
1354 enable_svchost
1355 enable_taskkill
1356 enable_tasklist
1357 enable_taskmgr
1358 enable_termsv
1359 enable_uninstaller
1360 enable_unlodctr
1361 enable_view
1362 enable_wevtutil
1363 enable_wineboot
1364 enable_winebrowser
1365 enable_winecfg
1366 enable_wineconsole
1367 enable_winedbg
1368 enable_winedevice
1369 enable_winefile
1370 enable_winemenubuilder
1371 enable_winemine
1372 enable_winemsibuilder
1373 enable_winepath
1374 enable_winetest
1375 enable_winhlp32
1376 enable_winver
1377 enable_wmic
1378 enable_wordpad
1379 enable_write
1380 enable_wscript
1381 enable_wusa
1382 enable_xcopy
1383 enable_server
1384 enable_tools
1386 ac_precious_vars='build_alias
1387 host_alias
1388 target_alias
1390 CFLAGS
1391 LDFLAGS
1392 LIBS
1393 CPPFLAGS
1395 CXXFLAGS
1398 XMKMF
1399 XML2_CFLAGS
1400 XML2_LIBS
1401 XSLT_CFLAGS
1402 XSLT_LIBS
1403 DBUS_CFLAGS
1404 DBUS_LIBS
1405 HAL_CFLAGS
1406 HAL_LIBS
1407 GNUTLS_CFLAGS
1408 GNUTLS_LIBS
1409 SANE_CFLAGS
1410 SANE_LIBS
1411 GPHOTO2_CFLAGS
1412 GPHOTO2_LIBS
1413 GPHOTO2_PORT_CFLAGS
1414 GPHOTO2_PORT_LIBS
1415 LCMS2_CFLAGS
1416 LCMS2_LIBS
1417 FREETYPE_CFLAGS
1418 FREETYPE_LIBS
1419 GSTREAMER_CFLAGS
1420 GSTREAMER_LIBS
1421 CAPI20_CFLAGS
1422 CAPI20_LIBS
1423 FONTCONFIG_CFLAGS
1424 FONTCONFIG_LIBS
1425 JPEG_CFLAGS
1426 JPEG_LIBS
1427 PNG_CFLAGS
1428 PNG_LIBS
1429 TIFF_CFLAGS
1430 TIFF_LIBS
1431 MPG123_CFLAGS
1432 MPG123_LIBS'
1435 # Initialize some variables set by options.
1436 ac_init_help=
1437 ac_init_version=false
1438 ac_unrecognized_opts=
1439 ac_unrecognized_sep=
1440 # The variables have the same names as the options, with
1441 # dashes changed to underlines.
1442 cache_file=/dev/null
1443 exec_prefix=NONE
1444 no_create=
1445 no_recursion=
1446 prefix=NONE
1447 program_prefix=NONE
1448 program_suffix=NONE
1449 program_transform_name=s,x,x,
1450 silent=
1451 site=
1452 srcdir=
1453 verbose=
1454 x_includes=NONE
1455 x_libraries=NONE
1457 # Installation directory options.
1458 # These are left unexpanded so users can "make install exec_prefix=/foo"
1459 # and all the variables that are supposed to be based on exec_prefix
1460 # by default will actually change.
1461 # Use braces instead of parens because sh, perl, etc. also accept them.
1462 # (The list follows the same order as the GNU Coding Standards.)
1463 bindir='${exec_prefix}/bin'
1464 sbindir='${exec_prefix}/sbin'
1465 libexecdir='${exec_prefix}/libexec'
1466 datarootdir='${prefix}/share'
1467 datadir='${datarootdir}'
1468 sysconfdir='${prefix}/etc'
1469 sharedstatedir='${prefix}/com'
1470 localstatedir='${prefix}/var'
1471 includedir='${prefix}/include'
1472 oldincludedir='/usr/include'
1473 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1474 infodir='${datarootdir}/info'
1475 htmldir='${docdir}'
1476 dvidir='${docdir}'
1477 pdfdir='${docdir}'
1478 psdir='${docdir}'
1479 libdir='${exec_prefix}/lib'
1480 localedir='${datarootdir}/locale'
1481 mandir='${datarootdir}/man'
1483 ac_prev=
1484 ac_dashdash=
1485 for ac_option
1487 # If the previous option needs an argument, assign it.
1488 if test -n "$ac_prev"; then
1489 eval $ac_prev=\$ac_option
1490 ac_prev=
1491 continue
1494 case $ac_option in
1495 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1496 *=) ac_optarg= ;;
1497 *) ac_optarg=yes ;;
1498 esac
1500 # Accept the important Cygnus configure options, so we can diagnose typos.
1502 case $ac_dashdash$ac_option in
1504 ac_dashdash=yes ;;
1506 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1507 ac_prev=bindir ;;
1508 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1509 bindir=$ac_optarg ;;
1511 -build | --build | --buil | --bui | --bu)
1512 ac_prev=build_alias ;;
1513 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1514 build_alias=$ac_optarg ;;
1516 -cache-file | --cache-file | --cache-fil | --cache-fi \
1517 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1518 ac_prev=cache_file ;;
1519 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1520 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1521 cache_file=$ac_optarg ;;
1523 --config-cache | -C)
1524 cache_file=config.cache ;;
1526 -datadir | --datadir | --datadi | --datad)
1527 ac_prev=datadir ;;
1528 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1529 datadir=$ac_optarg ;;
1531 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1532 | --dataroo | --dataro | --datar)
1533 ac_prev=datarootdir ;;
1534 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1535 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1536 datarootdir=$ac_optarg ;;
1538 -disable-* | --disable-*)
1539 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1540 # Reject names that are not valid shell variable names.
1541 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1542 as_fn_error $? "invalid feature name: $ac_useropt"
1543 ac_useropt_orig=$ac_useropt
1544 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1545 case $ac_user_opts in
1547 "enable_$ac_useropt"
1548 "*) ;;
1549 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1550 ac_unrecognized_sep=', ';;
1551 esac
1552 eval enable_$ac_useropt=no ;;
1554 -docdir | --docdir | --docdi | --doc | --do)
1555 ac_prev=docdir ;;
1556 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1557 docdir=$ac_optarg ;;
1559 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1560 ac_prev=dvidir ;;
1561 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1562 dvidir=$ac_optarg ;;
1564 -enable-* | --enable-*)
1565 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1566 # Reject names that are not valid shell variable names.
1567 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1568 as_fn_error $? "invalid feature name: $ac_useropt"
1569 ac_useropt_orig=$ac_useropt
1570 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1571 case $ac_user_opts in
1573 "enable_$ac_useropt"
1574 "*) ;;
1575 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1576 ac_unrecognized_sep=', ';;
1577 esac
1578 eval enable_$ac_useropt=\$ac_optarg ;;
1580 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1581 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1582 | --exec | --exe | --ex)
1583 ac_prev=exec_prefix ;;
1584 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1585 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1586 | --exec=* | --exe=* | --ex=*)
1587 exec_prefix=$ac_optarg ;;
1589 -gas | --gas | --ga | --g)
1590 # Obsolete; use --with-gas.
1591 with_gas=yes ;;
1593 -help | --help | --hel | --he | -h)
1594 ac_init_help=long ;;
1595 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1596 ac_init_help=recursive ;;
1597 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1598 ac_init_help=short ;;
1600 -host | --host | --hos | --ho)
1601 ac_prev=host_alias ;;
1602 -host=* | --host=* | --hos=* | --ho=*)
1603 host_alias=$ac_optarg ;;
1605 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1606 ac_prev=htmldir ;;
1607 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1608 | --ht=*)
1609 htmldir=$ac_optarg ;;
1611 -includedir | --includedir | --includedi | --included | --include \
1612 | --includ | --inclu | --incl | --inc)
1613 ac_prev=includedir ;;
1614 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1615 | --includ=* | --inclu=* | --incl=* | --inc=*)
1616 includedir=$ac_optarg ;;
1618 -infodir | --infodir | --infodi | --infod | --info | --inf)
1619 ac_prev=infodir ;;
1620 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1621 infodir=$ac_optarg ;;
1623 -libdir | --libdir | --libdi | --libd)
1624 ac_prev=libdir ;;
1625 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1626 libdir=$ac_optarg ;;
1628 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1629 | --libexe | --libex | --libe)
1630 ac_prev=libexecdir ;;
1631 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1632 | --libexe=* | --libex=* | --libe=*)
1633 libexecdir=$ac_optarg ;;
1635 -localedir | --localedir | --localedi | --localed | --locale)
1636 ac_prev=localedir ;;
1637 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1638 localedir=$ac_optarg ;;
1640 -localstatedir | --localstatedir | --localstatedi | --localstated \
1641 | --localstate | --localstat | --localsta | --localst | --locals)
1642 ac_prev=localstatedir ;;
1643 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1644 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1645 localstatedir=$ac_optarg ;;
1647 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1648 ac_prev=mandir ;;
1649 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1650 mandir=$ac_optarg ;;
1652 -nfp | --nfp | --nf)
1653 # Obsolete; use --without-fp.
1654 with_fp=no ;;
1656 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1657 | --no-cr | --no-c | -n)
1658 no_create=yes ;;
1660 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1661 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1662 no_recursion=yes ;;
1664 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1665 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1666 | --oldin | --oldi | --old | --ol | --o)
1667 ac_prev=oldincludedir ;;
1668 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1669 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1670 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1671 oldincludedir=$ac_optarg ;;
1673 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1674 ac_prev=prefix ;;
1675 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1676 prefix=$ac_optarg ;;
1678 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1679 | --program-pre | --program-pr | --program-p)
1680 ac_prev=program_prefix ;;
1681 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1682 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1683 program_prefix=$ac_optarg ;;
1685 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1686 | --program-suf | --program-su | --program-s)
1687 ac_prev=program_suffix ;;
1688 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1689 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1690 program_suffix=$ac_optarg ;;
1692 -program-transform-name | --program-transform-name \
1693 | --program-transform-nam | --program-transform-na \
1694 | --program-transform-n | --program-transform- \
1695 | --program-transform | --program-transfor \
1696 | --program-transfo | --program-transf \
1697 | --program-trans | --program-tran \
1698 | --progr-tra | --program-tr | --program-t)
1699 ac_prev=program_transform_name ;;
1700 -program-transform-name=* | --program-transform-name=* \
1701 | --program-transform-nam=* | --program-transform-na=* \
1702 | --program-transform-n=* | --program-transform-=* \
1703 | --program-transform=* | --program-transfor=* \
1704 | --program-transfo=* | --program-transf=* \
1705 | --program-trans=* | --program-tran=* \
1706 | --progr-tra=* | --program-tr=* | --program-t=*)
1707 program_transform_name=$ac_optarg ;;
1709 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1710 ac_prev=pdfdir ;;
1711 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1712 pdfdir=$ac_optarg ;;
1714 -psdir | --psdir | --psdi | --psd | --ps)
1715 ac_prev=psdir ;;
1716 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1717 psdir=$ac_optarg ;;
1719 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1720 | -silent | --silent | --silen | --sile | --sil)
1721 silent=yes ;;
1723 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1724 ac_prev=sbindir ;;
1725 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1726 | --sbi=* | --sb=*)
1727 sbindir=$ac_optarg ;;
1729 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1730 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1731 | --sharedst | --shareds | --shared | --share | --shar \
1732 | --sha | --sh)
1733 ac_prev=sharedstatedir ;;
1734 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1735 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1736 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1737 | --sha=* | --sh=*)
1738 sharedstatedir=$ac_optarg ;;
1740 -site | --site | --sit)
1741 ac_prev=site ;;
1742 -site=* | --site=* | --sit=*)
1743 site=$ac_optarg ;;
1745 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1746 ac_prev=srcdir ;;
1747 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1748 srcdir=$ac_optarg ;;
1750 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1751 | --syscon | --sysco | --sysc | --sys | --sy)
1752 ac_prev=sysconfdir ;;
1753 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1754 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1755 sysconfdir=$ac_optarg ;;
1757 -target | --target | --targe | --targ | --tar | --ta | --t)
1758 ac_prev=target_alias ;;
1759 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1760 target_alias=$ac_optarg ;;
1762 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1763 verbose=yes ;;
1765 -version | --version | --versio | --versi | --vers | -V)
1766 ac_init_version=: ;;
1768 -with-* | --with-*)
1769 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1770 # Reject names that are not valid shell variable names.
1771 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1772 as_fn_error $? "invalid package name: $ac_useropt"
1773 ac_useropt_orig=$ac_useropt
1774 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1775 case $ac_user_opts in
1777 "with_$ac_useropt"
1778 "*) ;;
1779 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1780 ac_unrecognized_sep=', ';;
1781 esac
1782 eval with_$ac_useropt=\$ac_optarg ;;
1784 -without-* | --without-*)
1785 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1786 # Reject names that are not valid shell variable names.
1787 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1788 as_fn_error $? "invalid package name: $ac_useropt"
1789 ac_useropt_orig=$ac_useropt
1790 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1791 case $ac_user_opts in
1793 "with_$ac_useropt"
1794 "*) ;;
1795 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1796 ac_unrecognized_sep=', ';;
1797 esac
1798 eval with_$ac_useropt=no ;;
1800 --x)
1801 # Obsolete; use --with-x.
1802 with_x=yes ;;
1804 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1805 | --x-incl | --x-inc | --x-in | --x-i)
1806 ac_prev=x_includes ;;
1807 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1808 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1809 x_includes=$ac_optarg ;;
1811 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1812 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1813 ac_prev=x_libraries ;;
1814 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1815 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1816 x_libraries=$ac_optarg ;;
1818 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1819 Try \`$0 --help' for more information"
1822 *=*)
1823 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1824 # Reject names that are not valid shell variable names.
1825 case $ac_envvar in #(
1826 '' | [0-9]* | *[!_$as_cr_alnum]* )
1827 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1828 esac
1829 eval $ac_envvar=\$ac_optarg
1830 export $ac_envvar ;;
1833 # FIXME: should be removed in autoconf 3.0.
1834 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1835 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1836 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1837 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1840 esac
1841 done
1843 if test -n "$ac_prev"; then
1844 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1845 as_fn_error $? "missing argument to $ac_option"
1848 if test -n "$ac_unrecognized_opts"; then
1849 case $enable_option_checking in
1850 no) ;;
1851 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1852 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1853 esac
1856 # Check all directory arguments for consistency.
1857 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1858 datadir sysconfdir sharedstatedir localstatedir includedir \
1859 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1860 libdir localedir mandir
1862 eval ac_val=\$$ac_var
1863 # Remove trailing slashes.
1864 case $ac_val in
1865 */ )
1866 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1867 eval $ac_var=\$ac_val;;
1868 esac
1869 # Be sure to have absolute directory names.
1870 case $ac_val in
1871 [\\/$]* | ?:[\\/]* ) continue;;
1872 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1873 esac
1874 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1875 done
1877 # There might be people who depend on the old broken behavior: `$host'
1878 # used to hold the argument of --host etc.
1879 # FIXME: To remove some day.
1880 build=$build_alias
1881 host=$host_alias
1882 target=$target_alias
1884 # FIXME: To remove some day.
1885 if test "x$host_alias" != x; then
1886 if test "x$build_alias" = x; then
1887 cross_compiling=maybe
1888 elif test "x$build_alias" != "x$host_alias"; then
1889 cross_compiling=yes
1893 ac_tool_prefix=
1894 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1896 test "$silent" = yes && exec 6>/dev/null
1899 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1900 ac_ls_di=`ls -di .` &&
1901 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1902 as_fn_error $? "working directory cannot be determined"
1903 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1904 as_fn_error $? "pwd does not report name of working directory"
1907 # Find the source files, if location was not specified.
1908 if test -z "$srcdir"; then
1909 ac_srcdir_defaulted=yes
1910 # Try the directory containing this script, then the parent directory.
1911 ac_confdir=`$as_dirname -- "$as_myself" ||
1912 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1913 X"$as_myself" : 'X\(//\)[^/]' \| \
1914 X"$as_myself" : 'X\(//\)$' \| \
1915 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1916 $as_echo X"$as_myself" |
1917 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1918 s//\1/
1921 /^X\(\/\/\)[^/].*/{
1922 s//\1/
1925 /^X\(\/\/\)$/{
1926 s//\1/
1929 /^X\(\/\).*/{
1930 s//\1/
1933 s/.*/./; q'`
1934 srcdir=$ac_confdir
1935 if test ! -r "$srcdir/$ac_unique_file"; then
1936 srcdir=..
1938 else
1939 ac_srcdir_defaulted=no
1941 if test ! -r "$srcdir/$ac_unique_file"; then
1942 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1943 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1945 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1946 ac_abs_confdir=`(
1947 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1948 pwd)`
1949 # When building in place, set srcdir=.
1950 if test "$ac_abs_confdir" = "$ac_pwd"; then
1951 srcdir=.
1953 # Remove unnecessary trailing slashes from srcdir.
1954 # Double slashes in file names in object file debugging info
1955 # mess up M-x gdb in Emacs.
1956 case $srcdir in
1957 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1958 esac
1959 for ac_var in $ac_precious_vars; do
1960 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1961 eval ac_env_${ac_var}_value=\$${ac_var}
1962 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1963 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1964 done
1967 # Report the --help message.
1969 if test "$ac_init_help" = "long"; then
1970 # Omit some internal or obsolete options to make the list less imposing.
1971 # This message is too long to be a string in the A/UX 3.1 sh.
1972 cat <<_ACEOF
1973 \`configure' configures Wine 1.7.14 to adapt to many kinds of systems.
1975 Usage: $0 [OPTION]... [VAR=VALUE]...
1977 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1978 VAR=VALUE. See below for descriptions of some of the useful variables.
1980 Defaults for the options are specified in brackets.
1982 Configuration:
1983 -h, --help display this help and exit
1984 --help=short display options specific to this package
1985 --help=recursive display the short help of all the included packages
1986 -V, --version display version information and exit
1987 -q, --quiet, --silent do not print \`checking ...' messages
1988 --cache-file=FILE cache test results in FILE [disabled]
1989 -C, --config-cache alias for \`--cache-file=config.cache'
1990 -n, --no-create do not create output files
1991 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1993 Installation directories:
1994 --prefix=PREFIX install architecture-independent files in PREFIX
1995 [$ac_default_prefix]
1996 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1997 [PREFIX]
1999 By default, \`make install' will install all the files in
2000 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2001 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2002 for instance \`--prefix=\$HOME'.
2004 For better control, use the options below.
2006 Fine tuning of the installation directories:
2007 --bindir=DIR user executables [EPREFIX/bin]
2008 --sbindir=DIR system admin executables [EPREFIX/sbin]
2009 --libexecdir=DIR program executables [EPREFIX/libexec]
2010 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2011 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2012 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2013 --libdir=DIR object code libraries [EPREFIX/lib]
2014 --includedir=DIR C header files [PREFIX/include]
2015 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2016 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2017 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2018 --infodir=DIR info documentation [DATAROOTDIR/info]
2019 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2020 --mandir=DIR man documentation [DATAROOTDIR/man]
2021 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2022 --htmldir=DIR html documentation [DOCDIR]
2023 --dvidir=DIR dvi documentation [DOCDIR]
2024 --pdfdir=DIR pdf documentation [DOCDIR]
2025 --psdir=DIR ps documentation [DOCDIR]
2026 _ACEOF
2028 cat <<\_ACEOF
2030 X features:
2031 --x-includes=DIR X include files are in DIR
2032 --x-libraries=DIR X library files are in DIR
2034 System types:
2035 --build=BUILD configure for building on BUILD [guessed]
2036 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2037 _ACEOF
2040 if test -n "$ac_init_help"; then
2041 case $ac_init_help in
2042 short | recursive ) echo "Configuration of Wine 1.7.14:";;
2043 esac
2044 cat <<\_ACEOF
2046 Optional Features:
2047 --disable-option-checking ignore unrecognized --enable/--with options
2048 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2049 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2050 --disable-win16 do not include Win16 support
2051 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2052 binaries)
2053 --disable-tests do not build the regression tests
2054 --enable-maintainer-mode
2055 enable maintainer-specific build rules
2056 --disable-largefile omit support for large files
2058 Optional Packages:
2059 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2060 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2061 --without-alsa do not use the Alsa sound support
2062 --without-capi do not use CAPI (ISDN support)
2063 --without-cms do not use CMS (color management support)
2064 --without-coreaudio do not use the CoreAudio sound support
2065 --without-cups do not use CUPS
2066 --without-curses do not use (n)curses
2067 --without-dbus do not use DBus (dynamic device support)
2068 --without-fontconfig do not use fontconfig
2069 --without-freetype do not use the FreeType library
2070 --without-gettext do not use gettext
2071 --with-gettextpo use the GetTextPO library to rebuild po files
2072 --without-gphoto do not use gphoto (Digital Camera support)
2073 --without-glu do not use the GLU library
2074 --without-gnutls do not use GnuTLS (schannel support)
2075 --without-gsm do not use libgsm (GSM 06.10 codec support)
2076 --without-gstreamer do not use GStreamer (codecs support)
2077 --without-hal do not use HAL (dynamic device support)
2078 --without-jpeg do not use JPEG
2079 --without-ldap do not use LDAP
2080 --without-mpg123 do not use the mpg123 library
2081 --without-netapi do not use the Samba NetAPI library
2082 --without-openal do not use OpenAL
2083 --without-opencl do not use OpenCL
2084 --without-opengl do not use OpenGL
2085 --without-osmesa do not use the OSMesa library
2086 --without-oss do not use the OSS sound support
2087 --without-png do not use PNG
2088 --without-pthread do not use the pthread library
2089 --without-sane do not use SANE (scanner support)
2090 --without-tiff do not use TIFF
2091 --without-v4l do not use v4l1 (v4l support)
2092 --without-xcomposite do not use the Xcomposite extension
2093 --without-xcursor do not use the Xcursor extension
2094 --without-xinerama do not use Xinerama (multi-monitor support)
2095 --without-xinput do not use the Xinput extension
2096 --without-xinput2 do not use the Xinput 2 extension
2097 --without-xml do not use XML
2098 --without-xrandr do not use Xrandr (resolution changes)
2099 --without-xrender do not use the Xrender extension
2100 --without-xshape do not use the Xshape extension
2101 --without-xshm do not use XShm (shared memory extension)
2102 --without-xslt do not use XSLT
2103 --without-xxf86vm do not use XFree video mode extension
2104 --without-zlib do not use Zlib (data compression)
2105 --with-wine-tools=DIR use Wine tools from directory DIR
2106 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2107 --with-x use the X Window System
2109 Some influential environment variables:
2110 CC C compiler command
2111 CFLAGS C compiler flags
2112 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2113 nonstandard directory <lib dir>
2114 LIBS libraries to pass to the linker, e.g. -l<library>
2115 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2116 you have headers in a nonstandard directory <include dir>
2117 CXX C++ compiler command
2118 CXXFLAGS C++ compiler flags
2119 CPP C preprocessor
2120 XMKMF Path to xmkmf, Makefile generator for X Window System
2121 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2122 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2123 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2124 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2125 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2126 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2127 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2128 HAL_LIBS Linker flags for hal, overriding pkg-config
2129 GNUTLS_CFLAGS
2130 C compiler flags for gnutls, overriding pkg-config
2131 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2132 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2133 SANE_LIBS Linker flags for libsane, overriding pkg-config
2134 GPHOTO2_CFLAGS
2135 C compiler flags for libgphoto2, overriding pkg-config
2136 GPHOTO2_LIBS
2137 Linker flags for libgphoto2, overriding pkg-config
2138 GPHOTO2_PORT_CFLAGS
2139 C compiler flags for libgphoto2_port, overriding pkg-config
2140 GPHOTO2_PORT_LIBS
2141 Linker flags for libgphoto2_port, overriding pkg-config
2142 LCMS2_CFLAGS
2143 C compiler flags for lcms2, overriding pkg-config
2144 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2145 FREETYPE_CFLAGS
2146 C compiler flags for freetype2, overriding pkg-config
2147 FREETYPE_LIBS
2148 Linker flags for freetype2, overriding pkg-config
2149 GSTREAMER_CFLAGS
2150 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2151 GSTREAMER_LIBS
2152 Linker flags for gstreamer-app-0.10, overriding pkg-config
2153 CAPI20_CFLAGS
2154 C compiler flags for capi20, overriding pkg-config
2155 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2156 FONTCONFIG_CFLAGS
2157 C compiler flags for fontconfig, overriding pkg-config
2158 FONTCONFIG_LIBS
2159 Linker flags for fontconfig, overriding pkg-config
2160 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2161 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2162 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2163 PNG_LIBS Linker flags for libpng, overriding pkg-config
2164 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2165 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2166 MPG123_CFLAGS
2167 C compiler flags for libmpg123, overriding pkg-config
2168 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2170 Use these variables to override the choices made by `configure' or to help
2171 it to find libraries and programs with nonstandard names/locations.
2173 Report bugs to <wine-devel@winehq.org>.
2174 Wine home page: <http://www.winehq.org>.
2175 _ACEOF
2176 ac_status=$?
2179 if test "$ac_init_help" = "recursive"; then
2180 # If there are subdirs, report their specific --help.
2181 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2182 test -d "$ac_dir" ||
2183 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2184 continue
2185 ac_builddir=.
2187 case "$ac_dir" in
2188 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2190 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2191 # A ".." for each directory in $ac_dir_suffix.
2192 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2193 case $ac_top_builddir_sub in
2194 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2195 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2196 esac ;;
2197 esac
2198 ac_abs_top_builddir=$ac_pwd
2199 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2200 # for backward compatibility:
2201 ac_top_builddir=$ac_top_build_prefix
2203 case $srcdir in
2204 .) # We are building in place.
2205 ac_srcdir=.
2206 ac_top_srcdir=$ac_top_builddir_sub
2207 ac_abs_top_srcdir=$ac_pwd ;;
2208 [\\/]* | ?:[\\/]* ) # Absolute name.
2209 ac_srcdir=$srcdir$ac_dir_suffix;
2210 ac_top_srcdir=$srcdir
2211 ac_abs_top_srcdir=$srcdir ;;
2212 *) # Relative name.
2213 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2214 ac_top_srcdir=$ac_top_build_prefix$srcdir
2215 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2216 esac
2217 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2219 cd "$ac_dir" || { ac_status=$?; continue; }
2220 # Check for guested configure.
2221 if test -f "$ac_srcdir/configure.gnu"; then
2222 echo &&
2223 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2224 elif test -f "$ac_srcdir/configure"; then
2225 echo &&
2226 $SHELL "$ac_srcdir/configure" --help=recursive
2227 else
2228 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2229 fi || ac_status=$?
2230 cd "$ac_pwd" || { ac_status=$?; break; }
2231 done
2234 test -n "$ac_init_help" && exit $ac_status
2235 if $ac_init_version; then
2236 cat <<\_ACEOF
2237 Wine configure 1.7.14
2238 generated by GNU Autoconf 2.69
2240 Copyright (C) 2012 Free Software Foundation, Inc.
2241 This configure script is free software; the Free Software Foundation
2242 gives unlimited permission to copy, distribute and modify it.
2243 _ACEOF
2244 exit
2247 ## ------------------------ ##
2248 ## Autoconf initialization. ##
2249 ## ------------------------ ##
2251 # ac_fn_c_try_compile LINENO
2252 # --------------------------
2253 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2254 ac_fn_c_try_compile ()
2256 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2257 rm -f conftest.$ac_objext
2258 if { { ac_try="$ac_compile"
2259 case "(($ac_try" in
2260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2261 *) ac_try_echo=$ac_try;;
2262 esac
2263 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2264 $as_echo "$ac_try_echo"; } >&5
2265 (eval "$ac_compile") 2>conftest.err
2266 ac_status=$?
2267 if test -s conftest.err; then
2268 grep -v '^ *+' conftest.err >conftest.er1
2269 cat conftest.er1 >&5
2270 mv -f conftest.er1 conftest.err
2272 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2273 test $ac_status = 0; } && {
2274 test -z "$ac_c_werror_flag" ||
2275 test ! -s conftest.err
2276 } && test -s conftest.$ac_objext; then :
2277 ac_retval=0
2278 else
2279 $as_echo "$as_me: failed program was:" >&5
2280 sed 's/^/| /' conftest.$ac_ext >&5
2282 ac_retval=1
2284 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2285 as_fn_set_status $ac_retval
2287 } # ac_fn_c_try_compile
2289 # ac_fn_cxx_try_compile LINENO
2290 # ----------------------------
2291 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2292 ac_fn_cxx_try_compile ()
2294 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2295 rm -f conftest.$ac_objext
2296 if { { ac_try="$ac_compile"
2297 case "(($ac_try" in
2298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2299 *) ac_try_echo=$ac_try;;
2300 esac
2301 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2302 $as_echo "$ac_try_echo"; } >&5
2303 (eval "$ac_compile") 2>conftest.err
2304 ac_status=$?
2305 if test -s conftest.err; then
2306 grep -v '^ *+' conftest.err >conftest.er1
2307 cat conftest.er1 >&5
2308 mv -f conftest.er1 conftest.err
2310 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2311 test $ac_status = 0; } && {
2312 test -z "$ac_cxx_werror_flag" ||
2313 test ! -s conftest.err
2314 } && test -s conftest.$ac_objext; then :
2315 ac_retval=0
2316 else
2317 $as_echo "$as_me: failed program was:" >&5
2318 sed 's/^/| /' conftest.$ac_ext >&5
2320 ac_retval=1
2322 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2323 as_fn_set_status $ac_retval
2325 } # ac_fn_cxx_try_compile
2327 # ac_fn_c_try_link LINENO
2328 # -----------------------
2329 # Try to link conftest.$ac_ext, and return whether this succeeded.
2330 ac_fn_c_try_link ()
2332 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2333 rm -f conftest.$ac_objext conftest$ac_exeext
2334 if { { ac_try="$ac_link"
2335 case "(($ac_try" in
2336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2337 *) ac_try_echo=$ac_try;;
2338 esac
2339 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2340 $as_echo "$ac_try_echo"; } >&5
2341 (eval "$ac_link") 2>conftest.err
2342 ac_status=$?
2343 if test -s conftest.err; then
2344 grep -v '^ *+' conftest.err >conftest.er1
2345 cat conftest.er1 >&5
2346 mv -f conftest.er1 conftest.err
2348 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2349 test $ac_status = 0; } && {
2350 test -z "$ac_c_werror_flag" ||
2351 test ! -s conftest.err
2352 } && test -s conftest$ac_exeext && {
2353 test "$cross_compiling" = yes ||
2354 test -x conftest$ac_exeext
2355 }; then :
2356 ac_retval=0
2357 else
2358 $as_echo "$as_me: failed program was:" >&5
2359 sed 's/^/| /' conftest.$ac_ext >&5
2361 ac_retval=1
2363 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2364 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2365 # interfere with the next link command; also delete a directory that is
2366 # left behind by Apple's compiler. We do this before executing the actions.
2367 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2368 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2369 as_fn_set_status $ac_retval
2371 } # ac_fn_c_try_link
2373 # ac_fn_c_try_cpp LINENO
2374 # ----------------------
2375 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2376 ac_fn_c_try_cpp ()
2378 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2379 if { { ac_try="$ac_cpp conftest.$ac_ext"
2380 case "(($ac_try" in
2381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2382 *) ac_try_echo=$ac_try;;
2383 esac
2384 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2385 $as_echo "$ac_try_echo"; } >&5
2386 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2387 ac_status=$?
2388 if test -s conftest.err; then
2389 grep -v '^ *+' conftest.err >conftest.er1
2390 cat conftest.er1 >&5
2391 mv -f conftest.er1 conftest.err
2393 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2394 test $ac_status = 0; } > conftest.i && {
2395 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2396 test ! -s conftest.err
2397 }; then :
2398 ac_retval=0
2399 else
2400 $as_echo "$as_me: failed program was:" >&5
2401 sed 's/^/| /' conftest.$ac_ext >&5
2403 ac_retval=1
2405 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2406 as_fn_set_status $ac_retval
2408 } # ac_fn_c_try_cpp
2410 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2411 # -------------------------------------------------------
2412 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2413 # the include files in INCLUDES and setting the cache variable VAR
2414 # accordingly.
2415 ac_fn_c_check_header_mongrel ()
2417 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2418 if eval \${$3+:} false; then :
2419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2420 $as_echo_n "checking for $2... " >&6; }
2421 if eval \${$3+:} false; then :
2422 $as_echo_n "(cached) " >&6
2424 eval ac_res=\$$3
2425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2426 $as_echo "$ac_res" >&6; }
2427 else
2428 # Is the header compilable?
2429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2430 $as_echo_n "checking $2 usability... " >&6; }
2431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2432 /* end confdefs.h. */
2434 #include <$2>
2435 _ACEOF
2436 if ac_fn_c_try_compile "$LINENO"; then :
2437 ac_header_compiler=yes
2438 else
2439 ac_header_compiler=no
2441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2443 $as_echo "$ac_header_compiler" >&6; }
2445 # Is the header present?
2446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2447 $as_echo_n "checking $2 presence... " >&6; }
2448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2449 /* end confdefs.h. */
2450 #include <$2>
2451 _ACEOF
2452 if ac_fn_c_try_cpp "$LINENO"; then :
2453 ac_header_preproc=yes
2454 else
2455 ac_header_preproc=no
2457 rm -f conftest.err conftest.i conftest.$ac_ext
2458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2459 $as_echo "$ac_header_preproc" >&6; }
2461 # So? What about this header?
2462 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2463 yes:no: )
2464 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2465 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2466 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2467 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2469 no:yes:* )
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2471 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2473 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2475 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2477 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2479 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2480 ( $as_echo "## ------------------------------------ ##
2481 ## Report this to wine-devel@winehq.org ##
2482 ## ------------------------------------ ##"
2483 ) | sed "s/^/$as_me: WARNING: /" >&2
2485 esac
2486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2487 $as_echo_n "checking for $2... " >&6; }
2488 if eval \${$3+:} false; then :
2489 $as_echo_n "(cached) " >&6
2490 else
2491 eval "$3=\$ac_header_compiler"
2493 eval ac_res=\$$3
2494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2495 $as_echo "$ac_res" >&6; }
2497 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2499 } # ac_fn_c_check_header_mongrel
2501 # ac_fn_c_try_run LINENO
2502 # ----------------------
2503 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2504 # that executables *can* be run.
2505 ac_fn_c_try_run ()
2507 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2508 if { { ac_try="$ac_link"
2509 case "(($ac_try" in
2510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2511 *) ac_try_echo=$ac_try;;
2512 esac
2513 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2514 $as_echo "$ac_try_echo"; } >&5
2515 (eval "$ac_link") 2>&5
2516 ac_status=$?
2517 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2518 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2519 { { case "(($ac_try" in
2520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2521 *) ac_try_echo=$ac_try;;
2522 esac
2523 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2524 $as_echo "$ac_try_echo"; } >&5
2525 (eval "$ac_try") 2>&5
2526 ac_status=$?
2527 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2528 test $ac_status = 0; }; }; then :
2529 ac_retval=0
2530 else
2531 $as_echo "$as_me: program exited with status $ac_status" >&5
2532 $as_echo "$as_me: failed program was:" >&5
2533 sed 's/^/| /' conftest.$ac_ext >&5
2535 ac_retval=$ac_status
2537 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2538 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2539 as_fn_set_status $ac_retval
2541 } # ac_fn_c_try_run
2543 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2544 # -------------------------------------------------------
2545 # Tests whether HEADER exists and can be compiled using the include files in
2546 # INCLUDES, setting the cache variable VAR accordingly.
2547 ac_fn_c_check_header_compile ()
2549 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2551 $as_echo_n "checking for $2... " >&6; }
2552 if eval \${$3+:} false; then :
2553 $as_echo_n "(cached) " >&6
2554 else
2555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2556 /* end confdefs.h. */
2558 #include <$2>
2559 _ACEOF
2560 if ac_fn_c_try_compile "$LINENO"; then :
2561 eval "$3=yes"
2562 else
2563 eval "$3=no"
2565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2567 eval ac_res=\$$3
2568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2569 $as_echo "$ac_res" >&6; }
2570 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2572 } # ac_fn_c_check_header_compile
2574 # ac_fn_c_check_func LINENO FUNC VAR
2575 # ----------------------------------
2576 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2577 ac_fn_c_check_func ()
2579 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2581 $as_echo_n "checking for $2... " >&6; }
2582 if eval \${$3+:} false; then :
2583 $as_echo_n "(cached) " >&6
2584 else
2585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2586 /* end confdefs.h. */
2587 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2588 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2589 #define $2 innocuous_$2
2591 /* System header to define __stub macros and hopefully few prototypes,
2592 which can conflict with char $2 (); below.
2593 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2594 <limits.h> exists even on freestanding compilers. */
2596 #ifdef __STDC__
2597 # include <limits.h>
2598 #else
2599 # include <assert.h>
2600 #endif
2602 #undef $2
2604 /* Override any GCC internal prototype to avoid an error.
2605 Use char because int might match the return type of a GCC
2606 builtin and then its argument prototype would still apply. */
2607 #ifdef __cplusplus
2608 extern "C"
2609 #endif
2610 char $2 ();
2611 /* The GNU C library defines this for functions which it implements
2612 to always fail with ENOSYS. Some functions are actually named
2613 something starting with __ and the normal name is an alias. */
2614 #if defined __stub_$2 || defined __stub___$2
2615 choke me
2616 #endif
2619 main ()
2621 return $2 ();
2623 return 0;
2625 _ACEOF
2626 if ac_fn_c_try_link "$LINENO"; then :
2627 eval "$3=yes"
2628 else
2629 eval "$3=no"
2631 rm -f core conftest.err conftest.$ac_objext \
2632 conftest$ac_exeext conftest.$ac_ext
2634 eval ac_res=\$$3
2635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2636 $as_echo "$ac_res" >&6; }
2637 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2639 } # ac_fn_c_check_func
2641 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2642 # ----------------------------------------------------
2643 # Tries to find if the field MEMBER exists in type AGGR, after including
2644 # INCLUDES, setting cache variable VAR accordingly.
2645 ac_fn_c_check_member ()
2647 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2649 $as_echo_n "checking for $2.$3... " >&6; }
2650 if eval \${$4+:} false; then :
2651 $as_echo_n "(cached) " >&6
2652 else
2653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2654 /* end confdefs.h. */
2657 main ()
2659 static $2 ac_aggr;
2660 if (ac_aggr.$3)
2661 return 0;
2663 return 0;
2665 _ACEOF
2666 if ac_fn_c_try_compile "$LINENO"; then :
2667 eval "$4=yes"
2668 else
2669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2670 /* end confdefs.h. */
2673 main ()
2675 static $2 ac_aggr;
2676 if (sizeof ac_aggr.$3)
2677 return 0;
2679 return 0;
2681 _ACEOF
2682 if ac_fn_c_try_compile "$LINENO"; then :
2683 eval "$4=yes"
2684 else
2685 eval "$4=no"
2687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2691 eval ac_res=\$$4
2692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2693 $as_echo "$ac_res" >&6; }
2694 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2696 } # ac_fn_c_check_member
2698 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2699 # -------------------------------------------
2700 # Tests whether TYPE exists after having included INCLUDES, setting cache
2701 # variable VAR accordingly.
2702 ac_fn_c_check_type ()
2704 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2706 $as_echo_n "checking for $2... " >&6; }
2707 if eval \${$3+:} false; then :
2708 $as_echo_n "(cached) " >&6
2709 else
2710 eval "$3=no"
2711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2712 /* end confdefs.h. */
2715 main ()
2717 if (sizeof ($2))
2718 return 0;
2720 return 0;
2722 _ACEOF
2723 if ac_fn_c_try_compile "$LINENO"; then :
2724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2725 /* end confdefs.h. */
2728 main ()
2730 if (sizeof (($2)))
2731 return 0;
2733 return 0;
2735 _ACEOF
2736 if ac_fn_c_try_compile "$LINENO"; then :
2738 else
2739 eval "$3=yes"
2741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2745 eval ac_res=\$$3
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2747 $as_echo "$ac_res" >&6; }
2748 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2750 } # ac_fn_c_check_type
2751 cat >config.log <<_ACEOF
2752 This file contains any messages produced by compilers while
2753 running configure, to aid debugging if configure makes a mistake.
2755 It was created by Wine $as_me 1.7.14, which was
2756 generated by GNU Autoconf 2.69. Invocation command line was
2758 $ $0 $@
2760 _ACEOF
2761 exec 5>>config.log
2763 cat <<_ASUNAME
2764 ## --------- ##
2765 ## Platform. ##
2766 ## --------- ##
2768 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2769 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2770 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2771 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2772 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2774 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2775 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2777 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2778 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2779 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2780 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2781 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2782 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2783 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2785 _ASUNAME
2787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2788 for as_dir in $PATH
2790 IFS=$as_save_IFS
2791 test -z "$as_dir" && as_dir=.
2792 $as_echo "PATH: $as_dir"
2793 done
2794 IFS=$as_save_IFS
2796 } >&5
2798 cat >&5 <<_ACEOF
2801 ## ----------- ##
2802 ## Core tests. ##
2803 ## ----------- ##
2805 _ACEOF
2808 # Keep a trace of the command line.
2809 # Strip out --no-create and --no-recursion so they do not pile up.
2810 # Strip out --silent because we don't want to record it for future runs.
2811 # Also quote any args containing shell meta-characters.
2812 # Make two passes to allow for proper duplicate-argument suppression.
2813 ac_configure_args=
2814 ac_configure_args0=
2815 ac_configure_args1=
2816 ac_must_keep_next=false
2817 for ac_pass in 1 2
2819 for ac_arg
2821 case $ac_arg in
2822 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2823 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2824 | -silent | --silent | --silen | --sile | --sil)
2825 continue ;;
2826 *\'*)
2827 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2828 esac
2829 case $ac_pass in
2830 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2832 as_fn_append ac_configure_args1 " '$ac_arg'"
2833 if test $ac_must_keep_next = true; then
2834 ac_must_keep_next=false # Got value, back to normal.
2835 else
2836 case $ac_arg in
2837 *=* | --config-cache | -C | -disable-* | --disable-* \
2838 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2839 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2840 | -with-* | --with-* | -without-* | --without-* | --x)
2841 case "$ac_configure_args0 " in
2842 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2843 esac
2845 -* ) ac_must_keep_next=true ;;
2846 esac
2848 as_fn_append ac_configure_args " '$ac_arg'"
2850 esac
2851 done
2852 done
2853 { ac_configure_args0=; unset ac_configure_args0;}
2854 { ac_configure_args1=; unset ac_configure_args1;}
2856 # When interrupted or exit'd, cleanup temporary files, and complete
2857 # config.log. We remove comments because anyway the quotes in there
2858 # would cause problems or look ugly.
2859 # WARNING: Use '\'' to represent an apostrophe within the trap.
2860 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2861 trap 'exit_status=$?
2862 # Save into config.log some information that might help in debugging.
2864 echo
2866 $as_echo "## ---------------- ##
2867 ## Cache variables. ##
2868 ## ---------------- ##"
2869 echo
2870 # The following way of writing the cache mishandles newlines in values,
2872 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2873 eval ac_val=\$$ac_var
2874 case $ac_val in #(
2875 *${as_nl}*)
2876 case $ac_var in #(
2877 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2878 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2879 esac
2880 case $ac_var in #(
2881 _ | IFS | as_nl) ;; #(
2882 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2883 *) { eval $ac_var=; unset $ac_var;} ;;
2884 esac ;;
2885 esac
2886 done
2887 (set) 2>&1 |
2888 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2889 *${as_nl}ac_space=\ *)
2890 sed -n \
2891 "s/'\''/'\''\\\\'\'''\''/g;
2892 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2893 ;; #(
2895 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2897 esac |
2898 sort
2900 echo
2902 $as_echo "## ----------------- ##
2903 ## Output variables. ##
2904 ## ----------------- ##"
2905 echo
2906 for ac_var in $ac_subst_vars
2908 eval ac_val=\$$ac_var
2909 case $ac_val in
2910 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2911 esac
2912 $as_echo "$ac_var='\''$ac_val'\''"
2913 done | sort
2914 echo
2916 if test -n "$ac_subst_files"; then
2917 $as_echo "## ------------------- ##
2918 ## File substitutions. ##
2919 ## ------------------- ##"
2920 echo
2921 for ac_var in $ac_subst_files
2923 eval ac_val=\$$ac_var
2924 case $ac_val in
2925 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2926 esac
2927 $as_echo "$ac_var='\''$ac_val'\''"
2928 done | sort
2929 echo
2932 if test -s confdefs.h; then
2933 $as_echo "## ----------- ##
2934 ## confdefs.h. ##
2935 ## ----------- ##"
2936 echo
2937 cat confdefs.h
2938 echo
2940 test "$ac_signal" != 0 &&
2941 $as_echo "$as_me: caught signal $ac_signal"
2942 $as_echo "$as_me: exit $exit_status"
2943 } >&5
2944 rm -f core *.core core.conftest.* &&
2945 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2946 exit $exit_status
2948 for ac_signal in 1 2 13 15; do
2949 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2950 done
2951 ac_signal=0
2953 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2954 rm -f -r conftest* confdefs.h
2956 $as_echo "/* confdefs.h */" > confdefs.h
2958 # Predefined preprocessor variables.
2960 cat >>confdefs.h <<_ACEOF
2961 #define PACKAGE_NAME "$PACKAGE_NAME"
2962 _ACEOF
2964 cat >>confdefs.h <<_ACEOF
2965 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2966 _ACEOF
2968 cat >>confdefs.h <<_ACEOF
2969 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2970 _ACEOF
2972 cat >>confdefs.h <<_ACEOF
2973 #define PACKAGE_STRING "$PACKAGE_STRING"
2974 _ACEOF
2976 cat >>confdefs.h <<_ACEOF
2977 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2978 _ACEOF
2980 cat >>confdefs.h <<_ACEOF
2981 #define PACKAGE_URL "$PACKAGE_URL"
2982 _ACEOF
2985 # Let the site file select an alternate cache file if it wants to.
2986 # Prefer an explicitly selected file to automatically selected ones.
2987 ac_site_file1=NONE
2988 ac_site_file2=NONE
2989 if test -n "$CONFIG_SITE"; then
2990 # We do not want a PATH search for config.site.
2991 case $CONFIG_SITE in #((
2992 -*) ac_site_file1=./$CONFIG_SITE;;
2993 */*) ac_site_file1=$CONFIG_SITE;;
2994 *) ac_site_file1=./$CONFIG_SITE;;
2995 esac
2996 elif test "x$prefix" != xNONE; then
2997 ac_site_file1=$prefix/share/config.site
2998 ac_site_file2=$prefix/etc/config.site
2999 else
3000 ac_site_file1=$ac_default_prefix/share/config.site
3001 ac_site_file2=$ac_default_prefix/etc/config.site
3003 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3005 test "x$ac_site_file" = xNONE && continue
3006 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3008 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3009 sed 's/^/| /' "$ac_site_file" >&5
3010 . "$ac_site_file" \
3011 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3012 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3013 as_fn_error $? "failed to load site script $ac_site_file
3014 See \`config.log' for more details" "$LINENO" 5; }
3016 done
3018 if test -r "$cache_file"; then
3019 # Some versions of bash will fail to source /dev/null (special files
3020 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3021 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3023 $as_echo "$as_me: loading cache $cache_file" >&6;}
3024 case $cache_file in
3025 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3026 *) . "./$cache_file";;
3027 esac
3029 else
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3031 $as_echo "$as_me: creating cache $cache_file" >&6;}
3032 >$cache_file
3035 # Check that the precious variables saved in the cache have kept the same
3036 # value.
3037 ac_cache_corrupted=false
3038 for ac_var in $ac_precious_vars; do
3039 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3040 eval ac_new_set=\$ac_env_${ac_var}_set
3041 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3042 eval ac_new_val=\$ac_env_${ac_var}_value
3043 case $ac_old_set,$ac_new_set in
3044 set,)
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3046 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3047 ac_cache_corrupted=: ;;
3048 ,set)
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3050 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3051 ac_cache_corrupted=: ;;
3052 ,);;
3054 if test "x$ac_old_val" != "x$ac_new_val"; then
3055 # differences in whitespace do not lead to failure.
3056 ac_old_val_w=`echo x $ac_old_val`
3057 ac_new_val_w=`echo x $ac_new_val`
3058 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3060 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3061 ac_cache_corrupted=:
3062 else
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3064 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3065 eval $ac_var=\$ac_old_val
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3068 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3070 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3071 fi;;
3072 esac
3073 # Pass precious variables to config.status.
3074 if test "$ac_new_set" = set; then
3075 case $ac_new_val in
3076 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3077 *) ac_arg=$ac_var=$ac_new_val ;;
3078 esac
3079 case " $ac_configure_args " in
3080 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3081 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3082 esac
3084 done
3085 if $ac_cache_corrupted; then
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3087 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3089 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3090 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3092 ## -------------------- ##
3093 ## Main body of script. ##
3094 ## -------------------- ##
3096 ac_ext=c
3097 ac_cpp='$CPP $CPPFLAGS'
3098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3104 ac_config_headers="$ac_config_headers include/config.h"
3106 ac_aux_dir=
3107 for ac_dir in tools "$srcdir"/tools; do
3108 if test -f "$ac_dir/install-sh"; then
3109 ac_aux_dir=$ac_dir
3110 ac_install_sh="$ac_aux_dir/install-sh -c"
3111 break
3112 elif test -f "$ac_dir/install.sh"; then
3113 ac_aux_dir=$ac_dir
3114 ac_install_sh="$ac_aux_dir/install.sh -c"
3115 break
3116 elif test -f "$ac_dir/shtool"; then
3117 ac_aux_dir=$ac_dir
3118 ac_install_sh="$ac_aux_dir/shtool install -c"
3119 break
3121 done
3122 if test -z "$ac_aux_dir"; then
3123 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3126 # These three variables are undocumented and unsupported,
3127 # and are intended to be withdrawn in a future Autoconf release.
3128 # They can cause serious problems if a builder's source tree is in a directory
3129 # whose full name contains unusual characters.
3130 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3131 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3132 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3136 libwine_version="1.0"
3140 # Check whether --enable-win16 was given.
3141 if test "${enable_win16+set}" = set; then :
3142 enableval=$enable_win16;
3145 # Check whether --enable-win64 was given.
3146 if test "${enable_win64+set}" = set; then :
3147 enableval=$enable_win64;
3150 # Check whether --enable-tests was given.
3151 if test "${enable_tests+set}" = set; then :
3152 enableval=$enable_tests;
3155 # Check whether --enable-maintainer-mode was given.
3156 if test "${enable_maintainer_mode+set}" = set; then :
3157 enableval=$enable_maintainer_mode;
3162 # Check whether --with-alsa was given.
3163 if test "${with_alsa+set}" = set; then :
3164 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3168 # Check whether --with-capi was given.
3169 if test "${with_capi+set}" = set; then :
3170 withval=$with_capi;
3174 # Check whether --with-cms was given.
3175 if test "${with_cms+set}" = set; then :
3176 withval=$with_cms;
3180 # Check whether --with-coreaudio was given.
3181 if test "${with_coreaudio+set}" = set; then :
3182 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3186 # Check whether --with-cups was given.
3187 if test "${with_cups+set}" = set; then :
3188 withval=$with_cups;
3192 # Check whether --with-curses was given.
3193 if test "${with_curses+set}" = set; then :
3194 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3198 # Check whether --with-dbus was given.
3199 if test "${with_dbus+set}" = set; then :
3200 withval=$with_dbus;
3204 # Check whether --with-fontconfig was given.
3205 if test "${with_fontconfig+set}" = set; then :
3206 withval=$with_fontconfig;
3210 # Check whether --with-freetype was given.
3211 if test "${with_freetype+set}" = set; then :
3212 withval=$with_freetype;
3216 # Check whether --with-gettext was given.
3217 if test "${with_gettext+set}" = set; then :
3218 withval=$with_gettext;
3222 # Check whether --with-gettextpo was given.
3223 if test "${with_gettextpo+set}" = set; then :
3224 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3228 # Check whether --with-gphoto was given.
3229 if test "${with_gphoto+set}" = set; then :
3230 withval=$with_gphoto;
3234 # Check whether --with-glu was given.
3235 if test "${with_glu+set}" = set; then :
3236 withval=$with_glu;
3240 # Check whether --with-gnutls was given.
3241 if test "${with_gnutls+set}" = set; then :
3242 withval=$with_gnutls;
3246 # Check whether --with-gsm was given.
3247 if test "${with_gsm+set}" = set; then :
3248 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3252 # Check whether --with-gstreamer was given.
3253 if test "${with_gstreamer+set}" = set; then :
3254 withval=$with_gstreamer;
3258 # Check whether --with-hal was given.
3259 if test "${with_hal+set}" = set; then :
3260 withval=$with_hal;
3264 # Check whether --with-jpeg was given.
3265 if test "${with_jpeg+set}" = set; then :
3266 withval=$with_jpeg;
3270 # Check whether --with-ldap was given.
3271 if test "${with_ldap+set}" = set; then :
3272 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3276 # Check whether --with-mpg123 was given.
3277 if test "${with_mpg123+set}" = set; then :
3278 withval=$with_mpg123;
3282 # Check whether --with-netapi was given.
3283 if test "${with_netapi+set}" = set; then :
3284 withval=$with_netapi;
3288 # Check whether --with-openal was given.
3289 if test "${with_openal+set}" = set; then :
3290 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3294 # Check whether --with-opencl was given.
3295 if test "${with_opencl+set}" = set; then :
3296 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3300 # Check whether --with-opengl was given.
3301 if test "${with_opengl+set}" = set; then :
3302 withval=$with_opengl;
3306 # Check whether --with-osmesa was given.
3307 if test "${with_osmesa+set}" = set; then :
3308 withval=$with_osmesa;
3312 # Check whether --with-oss was given.
3313 if test "${with_oss+set}" = set; then :
3314 withval=$with_oss;
3318 # Check whether --with-png was given.
3319 if test "${with_png+set}" = set; then :
3320 withval=$with_png;
3324 # Check whether --with-pthread was given.
3325 if test "${with_pthread+set}" = set; then :
3326 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3330 # Check whether --with-sane was given.
3331 if test "${with_sane+set}" = set; then :
3332 withval=$with_sane;
3336 # Check whether --with-tiff was given.
3337 if test "${with_tiff+set}" = set; then :
3338 withval=$with_tiff;
3342 # Check whether --with-v4l was given.
3343 if test "${with_v4l+set}" = set; then :
3344 withval=$with_v4l;
3348 # Check whether --with-xcomposite was given.
3349 if test "${with_xcomposite+set}" = set; then :
3350 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3354 # Check whether --with-xcursor was given.
3355 if test "${with_xcursor+set}" = set; then :
3356 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3360 # Check whether --with-xinerama was given.
3361 if test "${with_xinerama+set}" = set; then :
3362 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3366 # Check whether --with-xinput was given.
3367 if test "${with_xinput+set}" = set; then :
3368 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3372 # Check whether --with-xinput2 was given.
3373 if test "${with_xinput2+set}" = set; then :
3374 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3378 # Check whether --with-xml was given.
3379 if test "${with_xml+set}" = set; then :
3380 withval=$with_xml;
3384 # Check whether --with-xrandr was given.
3385 if test "${with_xrandr+set}" = set; then :
3386 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3390 # Check whether --with-xrender was given.
3391 if test "${with_xrender+set}" = set; then :
3392 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3396 # Check whether --with-xshape was given.
3397 if test "${with_xshape+set}" = set; then :
3398 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3402 # Check whether --with-xshm was given.
3403 if test "${with_xshm+set}" = set; then :
3404 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3408 # Check whether --with-xslt was given.
3409 if test "${with_xslt+set}" = set; then :
3410 withval=$with_xslt;
3414 # Check whether --with-xxf86vm was given.
3415 if test "${with_xxf86vm+set}" = set; then :
3416 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
3420 # Check whether --with-zlib was given.
3421 if test "${with_zlib+set}" = set; then :
3422 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3427 # Check whether --with-wine-tools was given.
3428 if test "${with_wine_tools+set}" = set; then :
3429 withval=$with_wine_tools;
3433 # Check whether --with-wine64 was given.
3434 if test "${with_wine64+set}" = set; then :
3435 withval=$with_wine64;
3439 # Make sure we can run config.sub.
3440 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3441 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3444 $as_echo_n "checking build system type... " >&6; }
3445 if ${ac_cv_build+:} false; then :
3446 $as_echo_n "(cached) " >&6
3447 else
3448 ac_build_alias=$build_alias
3449 test "x$ac_build_alias" = x &&
3450 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3451 test "x$ac_build_alias" = x &&
3452 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3453 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3454 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3458 $as_echo "$ac_cv_build" >&6; }
3459 case $ac_cv_build in
3460 *-*-*) ;;
3461 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3462 esac
3463 build=$ac_cv_build
3464 ac_save_IFS=$IFS; IFS='-'
3465 set x $ac_cv_build
3466 shift
3467 build_cpu=$1
3468 build_vendor=$2
3469 shift; shift
3470 # Remember, the first character of IFS is used to create $*,
3471 # except with old shells:
3472 build_os=$*
3473 IFS=$ac_save_IFS
3474 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3478 $as_echo_n "checking host system type... " >&6; }
3479 if ${ac_cv_host+:} false; then :
3480 $as_echo_n "(cached) " >&6
3481 else
3482 if test "x$host_alias" = x; then
3483 ac_cv_host=$ac_cv_build
3484 else
3485 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3486 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3491 $as_echo "$ac_cv_host" >&6; }
3492 case $ac_cv_host in
3493 *-*-*) ;;
3494 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3495 esac
3496 host=$ac_cv_host
3497 ac_save_IFS=$IFS; IFS='-'
3498 set x $ac_cv_host
3499 shift
3500 host_cpu=$1
3501 host_vendor=$2
3502 shift; shift
3503 # Remember, the first character of IFS is used to create $*,
3504 # except with old shells:
3505 host_os=$*
3506 IFS=$ac_save_IFS
3507 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3511 case "$srcdir" in
3512 .) ;;
3513 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3514 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3515 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3516 fi ;;
3517 esac
3520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3521 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3522 set x ${MAKE-make}
3523 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3524 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3525 $as_echo_n "(cached) " >&6
3526 else
3527 cat >conftest.make <<\_ACEOF
3528 SHELL = /bin/sh
3529 all:
3530 @echo '@@@%%%=$(MAKE)=@@@%%%'
3531 _ACEOF
3532 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3533 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3534 *@@@%%%=?*=@@@%%%*)
3535 eval ac_cv_prog_make_${ac_make}_set=yes;;
3537 eval ac_cv_prog_make_${ac_make}_set=no;;
3538 esac
3539 rm -f conftest.make
3541 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3543 $as_echo "yes" >&6; }
3544 SET_MAKE=
3545 else
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3547 $as_echo "no" >&6; }
3548 SET_MAKE="MAKE=${MAKE-make}"
3551 ac_ext=c
3552 ac_cpp='$CPP $CPPFLAGS'
3553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3556 if test -n "$ac_tool_prefix"; then
3557 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3558 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3560 $as_echo_n "checking for $ac_word... " >&6; }
3561 if ${ac_cv_prog_CC+:} false; then :
3562 $as_echo_n "(cached) " >&6
3563 else
3564 if test -n "$CC"; then
3565 ac_cv_prog_CC="$CC" # Let the user override the test.
3566 else
3567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3568 for as_dir in $PATH
3570 IFS=$as_save_IFS
3571 test -z "$as_dir" && as_dir=.
3572 for ac_exec_ext in '' $ac_executable_extensions; do
3573 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3574 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3576 break 2
3578 done
3579 done
3580 IFS=$as_save_IFS
3584 CC=$ac_cv_prog_CC
3585 if test -n "$CC"; then
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3587 $as_echo "$CC" >&6; }
3588 else
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3590 $as_echo "no" >&6; }
3595 if test -z "$ac_cv_prog_CC"; then
3596 ac_ct_CC=$CC
3597 # Extract the first word of "gcc", so it can be a program name with args.
3598 set dummy gcc; ac_word=$2
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3600 $as_echo_n "checking for $ac_word... " >&6; }
3601 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3602 $as_echo_n "(cached) " >&6
3603 else
3604 if test -n "$ac_ct_CC"; then
3605 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3606 else
3607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3608 for as_dir in $PATH
3610 IFS=$as_save_IFS
3611 test -z "$as_dir" && as_dir=.
3612 for ac_exec_ext in '' $ac_executable_extensions; do
3613 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3614 ac_cv_prog_ac_ct_CC="gcc"
3615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3616 break 2
3618 done
3619 done
3620 IFS=$as_save_IFS
3624 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3625 if test -n "$ac_ct_CC"; then
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3627 $as_echo "$ac_ct_CC" >&6; }
3628 else
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3630 $as_echo "no" >&6; }
3633 if test "x$ac_ct_CC" = x; then
3634 CC=""
3635 else
3636 case $cross_compiling:$ac_tool_warned in
3637 yes:)
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3639 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3640 ac_tool_warned=yes ;;
3641 esac
3642 CC=$ac_ct_CC
3644 else
3645 CC="$ac_cv_prog_CC"
3648 if test -z "$CC"; then
3649 if test -n "$ac_tool_prefix"; then
3650 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3651 set dummy ${ac_tool_prefix}cc; ac_word=$2
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3653 $as_echo_n "checking for $ac_word... " >&6; }
3654 if ${ac_cv_prog_CC+:} false; then :
3655 $as_echo_n "(cached) " >&6
3656 else
3657 if test -n "$CC"; then
3658 ac_cv_prog_CC="$CC" # Let the user override the test.
3659 else
3660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3661 for as_dir in $PATH
3663 IFS=$as_save_IFS
3664 test -z "$as_dir" && as_dir=.
3665 for ac_exec_ext in '' $ac_executable_extensions; do
3666 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3667 ac_cv_prog_CC="${ac_tool_prefix}cc"
3668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3669 break 2
3671 done
3672 done
3673 IFS=$as_save_IFS
3677 CC=$ac_cv_prog_CC
3678 if test -n "$CC"; then
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3680 $as_echo "$CC" >&6; }
3681 else
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3683 $as_echo "no" >&6; }
3689 if test -z "$CC"; then
3690 # Extract the first word of "cc", so it can be a program name with args.
3691 set dummy cc; ac_word=$2
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3693 $as_echo_n "checking for $ac_word... " >&6; }
3694 if ${ac_cv_prog_CC+:} false; then :
3695 $as_echo_n "(cached) " >&6
3696 else
3697 if test -n "$CC"; then
3698 ac_cv_prog_CC="$CC" # Let the user override the test.
3699 else
3700 ac_prog_rejected=no
3701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3702 for as_dir in $PATH
3704 IFS=$as_save_IFS
3705 test -z "$as_dir" && as_dir=.
3706 for ac_exec_ext in '' $ac_executable_extensions; do
3707 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3708 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3709 ac_prog_rejected=yes
3710 continue
3712 ac_cv_prog_CC="cc"
3713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3714 break 2
3716 done
3717 done
3718 IFS=$as_save_IFS
3720 if test $ac_prog_rejected = yes; then
3721 # We found a bogon in the path, so make sure we never use it.
3722 set dummy $ac_cv_prog_CC
3723 shift
3724 if test $# != 0; then
3725 # We chose a different compiler from the bogus one.
3726 # However, it has the same basename, so the bogon will be chosen
3727 # first if we set CC to just the basename; use the full file name.
3728 shift
3729 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3734 CC=$ac_cv_prog_CC
3735 if test -n "$CC"; then
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3737 $as_echo "$CC" >&6; }
3738 else
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3740 $as_echo "no" >&6; }
3745 if test -z "$CC"; then
3746 if test -n "$ac_tool_prefix"; then
3747 for ac_prog in cl.exe
3749 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3750 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3752 $as_echo_n "checking for $ac_word... " >&6; }
3753 if ${ac_cv_prog_CC+:} false; then :
3754 $as_echo_n "(cached) " >&6
3755 else
3756 if test -n "$CC"; then
3757 ac_cv_prog_CC="$CC" # Let the user override the test.
3758 else
3759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3760 for as_dir in $PATH
3762 IFS=$as_save_IFS
3763 test -z "$as_dir" && as_dir=.
3764 for ac_exec_ext in '' $ac_executable_extensions; do
3765 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3766 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3768 break 2
3770 done
3771 done
3772 IFS=$as_save_IFS
3776 CC=$ac_cv_prog_CC
3777 if test -n "$CC"; then
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3779 $as_echo "$CC" >&6; }
3780 else
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3782 $as_echo "no" >&6; }
3786 test -n "$CC" && break
3787 done
3789 if test -z "$CC"; then
3790 ac_ct_CC=$CC
3791 for ac_prog in cl.exe
3793 # Extract the first word of "$ac_prog", so it can be a program name with args.
3794 set dummy $ac_prog; ac_word=$2
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3796 $as_echo_n "checking for $ac_word... " >&6; }
3797 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3798 $as_echo_n "(cached) " >&6
3799 else
3800 if test -n "$ac_ct_CC"; then
3801 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3802 else
3803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3804 for as_dir in $PATH
3806 IFS=$as_save_IFS
3807 test -z "$as_dir" && as_dir=.
3808 for ac_exec_ext in '' $ac_executable_extensions; do
3809 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3810 ac_cv_prog_ac_ct_CC="$ac_prog"
3811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3812 break 2
3814 done
3815 done
3816 IFS=$as_save_IFS
3820 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3821 if test -n "$ac_ct_CC"; then
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3823 $as_echo "$ac_ct_CC" >&6; }
3824 else
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3826 $as_echo "no" >&6; }
3830 test -n "$ac_ct_CC" && break
3831 done
3833 if test "x$ac_ct_CC" = x; then
3834 CC=""
3835 else
3836 case $cross_compiling:$ac_tool_warned in
3837 yes:)
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3839 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3840 ac_tool_warned=yes ;;
3841 esac
3842 CC=$ac_ct_CC
3849 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3850 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3851 as_fn_error $? "no acceptable C compiler found in \$PATH
3852 See \`config.log' for more details" "$LINENO" 5; }
3854 # Provide some information about the compiler.
3855 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3856 set X $ac_compile
3857 ac_compiler=$2
3858 for ac_option in --version -v -V -qversion; do
3859 { { ac_try="$ac_compiler $ac_option >&5"
3860 case "(($ac_try" in
3861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3862 *) ac_try_echo=$ac_try;;
3863 esac
3864 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3865 $as_echo "$ac_try_echo"; } >&5
3866 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3867 ac_status=$?
3868 if test -s conftest.err; then
3869 sed '10a\
3870 ... rest of stderr output deleted ...
3871 10q' conftest.err >conftest.er1
3872 cat conftest.er1 >&5
3874 rm -f conftest.er1 conftest.err
3875 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3876 test $ac_status = 0; }
3877 done
3879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3880 /* end confdefs.h. */
3883 main ()
3887 return 0;
3889 _ACEOF
3890 ac_clean_files_save=$ac_clean_files
3891 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3892 # Try to create an executable without -o first, disregard a.out.
3893 # It will help us diagnose broken compilers, and finding out an intuition
3894 # of exeext.
3895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3896 $as_echo_n "checking whether the C compiler works... " >&6; }
3897 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3899 # The possible output files:
3900 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3902 ac_rmfiles=
3903 for ac_file in $ac_files
3905 case $ac_file in
3906 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3907 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3908 esac
3909 done
3910 rm -f $ac_rmfiles
3912 if { { ac_try="$ac_link_default"
3913 case "(($ac_try" in
3914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3915 *) ac_try_echo=$ac_try;;
3916 esac
3917 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3918 $as_echo "$ac_try_echo"; } >&5
3919 (eval "$ac_link_default") 2>&5
3920 ac_status=$?
3921 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3922 test $ac_status = 0; }; then :
3923 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3924 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3925 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3926 # so that the user can short-circuit this test for compilers unknown to
3927 # Autoconf.
3928 for ac_file in $ac_files ''
3930 test -f "$ac_file" || continue
3931 case $ac_file in
3932 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3934 [ab].out )
3935 # We found the default executable, but exeext='' is most
3936 # certainly right.
3937 break;;
3938 *.* )
3939 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3940 then :; else
3941 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3943 # We set ac_cv_exeext here because the later test for it is not
3944 # safe: cross compilers may not add the suffix if given an `-o'
3945 # argument, so we may need to know it at that point already.
3946 # Even if this section looks crufty: it has the advantage of
3947 # actually working.
3948 break;;
3950 break;;
3951 esac
3952 done
3953 test "$ac_cv_exeext" = no && ac_cv_exeext=
3955 else
3956 ac_file=''
3958 if test -z "$ac_file"; then :
3959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3960 $as_echo "no" >&6; }
3961 $as_echo "$as_me: failed program was:" >&5
3962 sed 's/^/| /' conftest.$ac_ext >&5
3964 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3965 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3966 as_fn_error 77 "C compiler cannot create executables
3967 See \`config.log' for more details" "$LINENO" 5; }
3968 else
3969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3970 $as_echo "yes" >&6; }
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3973 $as_echo_n "checking for C compiler default output file name... " >&6; }
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3975 $as_echo "$ac_file" >&6; }
3976 ac_exeext=$ac_cv_exeext
3978 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3979 ac_clean_files=$ac_clean_files_save
3980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3981 $as_echo_n "checking for suffix of executables... " >&6; }
3982 if { { ac_try="$ac_link"
3983 case "(($ac_try" in
3984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3985 *) ac_try_echo=$ac_try;;
3986 esac
3987 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3988 $as_echo "$ac_try_echo"; } >&5
3989 (eval "$ac_link") 2>&5
3990 ac_status=$?
3991 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3992 test $ac_status = 0; }; then :
3993 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3994 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3995 # work properly (i.e., refer to `conftest.exe'), while it won't with
3996 # `rm'.
3997 for ac_file in conftest.exe conftest conftest.*; do
3998 test -f "$ac_file" || continue
3999 case $ac_file in
4000 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4001 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4002 break;;
4003 * ) break;;
4004 esac
4005 done
4006 else
4007 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4008 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4009 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4010 See \`config.log' for more details" "$LINENO" 5; }
4012 rm -f conftest conftest$ac_cv_exeext
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4014 $as_echo "$ac_cv_exeext" >&6; }
4016 rm -f conftest.$ac_ext
4017 EXEEXT=$ac_cv_exeext
4018 ac_exeext=$EXEEXT
4019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4020 /* end confdefs.h. */
4021 #include <stdio.h>
4023 main ()
4025 FILE *f = fopen ("conftest.out", "w");
4026 return ferror (f) || fclose (f) != 0;
4029 return 0;
4031 _ACEOF
4032 ac_clean_files="$ac_clean_files conftest.out"
4033 # Check that the compiler produces executables we can run. If not, either
4034 # the compiler is broken, or we cross compile.
4035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4036 $as_echo_n "checking whether we are cross compiling... " >&6; }
4037 if test "$cross_compiling" != yes; then
4038 { { ac_try="$ac_link"
4039 case "(($ac_try" in
4040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4041 *) ac_try_echo=$ac_try;;
4042 esac
4043 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4044 $as_echo "$ac_try_echo"; } >&5
4045 (eval "$ac_link") 2>&5
4046 ac_status=$?
4047 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4048 test $ac_status = 0; }
4049 if { ac_try='./conftest$ac_cv_exeext'
4050 { { case "(($ac_try" in
4051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4052 *) ac_try_echo=$ac_try;;
4053 esac
4054 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4055 $as_echo "$ac_try_echo"; } >&5
4056 (eval "$ac_try") 2>&5
4057 ac_status=$?
4058 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4059 test $ac_status = 0; }; }; then
4060 cross_compiling=no
4061 else
4062 if test "$cross_compiling" = maybe; then
4063 cross_compiling=yes
4064 else
4065 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4066 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4067 as_fn_error $? "cannot run C compiled programs.
4068 If you meant to cross compile, use \`--host'.
4069 See \`config.log' for more details" "$LINENO" 5; }
4073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4074 $as_echo "$cross_compiling" >&6; }
4076 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4077 ac_clean_files=$ac_clean_files_save
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4079 $as_echo_n "checking for suffix of object files... " >&6; }
4080 if ${ac_cv_objext+:} false; then :
4081 $as_echo_n "(cached) " >&6
4082 else
4083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4084 /* end confdefs.h. */
4087 main ()
4091 return 0;
4093 _ACEOF
4094 rm -f conftest.o conftest.obj
4095 if { { ac_try="$ac_compile"
4096 case "(($ac_try" in
4097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4098 *) ac_try_echo=$ac_try;;
4099 esac
4100 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4101 $as_echo "$ac_try_echo"; } >&5
4102 (eval "$ac_compile") 2>&5
4103 ac_status=$?
4104 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4105 test $ac_status = 0; }; then :
4106 for ac_file in conftest.o conftest.obj conftest.*; do
4107 test -f "$ac_file" || continue;
4108 case $ac_file in
4109 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4110 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4111 break;;
4112 esac
4113 done
4114 else
4115 $as_echo "$as_me: failed program was:" >&5
4116 sed 's/^/| /' conftest.$ac_ext >&5
4118 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4119 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4120 as_fn_error $? "cannot compute suffix of object files: cannot compile
4121 See \`config.log' for more details" "$LINENO" 5; }
4123 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4126 $as_echo "$ac_cv_objext" >&6; }
4127 OBJEXT=$ac_cv_objext
4128 ac_objext=$OBJEXT
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4130 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4131 if ${ac_cv_c_compiler_gnu+:} false; then :
4132 $as_echo_n "(cached) " >&6
4133 else
4134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4135 /* end confdefs.h. */
4138 main ()
4140 #ifndef __GNUC__
4141 choke me
4142 #endif
4145 return 0;
4147 _ACEOF
4148 if ac_fn_c_try_compile "$LINENO"; then :
4149 ac_compiler_gnu=yes
4150 else
4151 ac_compiler_gnu=no
4153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4154 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4158 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4159 if test $ac_compiler_gnu = yes; then
4160 GCC=yes
4161 else
4162 GCC=
4164 ac_test_CFLAGS=${CFLAGS+set}
4165 ac_save_CFLAGS=$CFLAGS
4166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4167 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4168 if ${ac_cv_prog_cc_g+:} false; then :
4169 $as_echo_n "(cached) " >&6
4170 else
4171 ac_save_c_werror_flag=$ac_c_werror_flag
4172 ac_c_werror_flag=yes
4173 ac_cv_prog_cc_g=no
4174 CFLAGS="-g"
4175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4176 /* end confdefs.h. */
4179 main ()
4183 return 0;
4185 _ACEOF
4186 if ac_fn_c_try_compile "$LINENO"; then :
4187 ac_cv_prog_cc_g=yes
4188 else
4189 CFLAGS=""
4190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4191 /* end confdefs.h. */
4194 main ()
4198 return 0;
4200 _ACEOF
4201 if ac_fn_c_try_compile "$LINENO"; then :
4203 else
4204 ac_c_werror_flag=$ac_save_c_werror_flag
4205 CFLAGS="-g"
4206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4207 /* end confdefs.h. */
4210 main ()
4214 return 0;
4216 _ACEOF
4217 if ac_fn_c_try_compile "$LINENO"; then :
4218 ac_cv_prog_cc_g=yes
4220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4225 ac_c_werror_flag=$ac_save_c_werror_flag
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4228 $as_echo "$ac_cv_prog_cc_g" >&6; }
4229 if test "$ac_test_CFLAGS" = set; then
4230 CFLAGS=$ac_save_CFLAGS
4231 elif test $ac_cv_prog_cc_g = yes; then
4232 if test "$GCC" = yes; then
4233 CFLAGS="-g -O2"
4234 else
4235 CFLAGS="-g"
4237 else
4238 if test "$GCC" = yes; then
4239 CFLAGS="-O2"
4240 else
4241 CFLAGS=
4244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4245 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4246 if ${ac_cv_prog_cc_c89+:} false; then :
4247 $as_echo_n "(cached) " >&6
4248 else
4249 ac_cv_prog_cc_c89=no
4250 ac_save_CC=$CC
4251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4252 /* end confdefs.h. */
4253 #include <stdarg.h>
4254 #include <stdio.h>
4255 struct stat;
4256 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4257 struct buf { int x; };
4258 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4259 static char *e (p, i)
4260 char **p;
4261 int i;
4263 return p[i];
4265 static char *f (char * (*g) (char **, int), char **p, ...)
4267 char *s;
4268 va_list v;
4269 va_start (v,p);
4270 s = g (p, va_arg (v,int));
4271 va_end (v);
4272 return s;
4275 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4276 function prototypes and stuff, but not '\xHH' hex character constants.
4277 These don't provoke an error unfortunately, instead are silently treated
4278 as 'x'. The following induces an error, until -std is added to get
4279 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4280 array size at least. It's necessary to write '\x00'==0 to get something
4281 that's true only with -std. */
4282 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4284 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4285 inside strings and character constants. */
4286 #define FOO(x) 'x'
4287 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4289 int test (int i, double x);
4290 struct s1 {int (*f) (int a);};
4291 struct s2 {int (*f) (double a);};
4292 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4293 int argc;
4294 char **argv;
4296 main ()
4298 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4300 return 0;
4302 _ACEOF
4303 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4304 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4306 CC="$ac_save_CC $ac_arg"
4307 if ac_fn_c_try_compile "$LINENO"; then :
4308 ac_cv_prog_cc_c89=$ac_arg
4310 rm -f core conftest.err conftest.$ac_objext
4311 test "x$ac_cv_prog_cc_c89" != "xno" && break
4312 done
4313 rm -f conftest.$ac_ext
4314 CC=$ac_save_CC
4317 # AC_CACHE_VAL
4318 case "x$ac_cv_prog_cc_c89" in
4320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4321 $as_echo "none needed" >&6; } ;;
4322 xno)
4323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4324 $as_echo "unsupported" >&6; } ;;
4326 CC="$CC $ac_cv_prog_cc_c89"
4327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4328 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4329 esac
4330 if test "x$ac_cv_prog_cc_c89" != xno; then :
4334 ac_ext=c
4335 ac_cpp='$CPP $CPPFLAGS'
4336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4340 ac_ext=cpp
4341 ac_cpp='$CXXCPP $CPPFLAGS'
4342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4345 if test -z "$CXX"; then
4346 if test -n "$CCC"; then
4347 CXX=$CCC
4348 else
4349 if test -n "$ac_tool_prefix"; then
4350 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4352 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4353 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4355 $as_echo_n "checking for $ac_word... " >&6; }
4356 if ${ac_cv_prog_CXX+:} false; then :
4357 $as_echo_n "(cached) " >&6
4358 else
4359 if test -n "$CXX"; then
4360 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4361 else
4362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4363 for as_dir in $PATH
4365 IFS=$as_save_IFS
4366 test -z "$as_dir" && as_dir=.
4367 for ac_exec_ext in '' $ac_executable_extensions; do
4368 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4369 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4371 break 2
4373 done
4374 done
4375 IFS=$as_save_IFS
4379 CXX=$ac_cv_prog_CXX
4380 if test -n "$CXX"; then
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4382 $as_echo "$CXX" >&6; }
4383 else
4384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4385 $as_echo "no" >&6; }
4389 test -n "$CXX" && break
4390 done
4392 if test -z "$CXX"; then
4393 ac_ct_CXX=$CXX
4394 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4396 # Extract the first word of "$ac_prog", so it can be a program name with args.
4397 set dummy $ac_prog; ac_word=$2
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4399 $as_echo_n "checking for $ac_word... " >&6; }
4400 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4401 $as_echo_n "(cached) " >&6
4402 else
4403 if test -n "$ac_ct_CXX"; then
4404 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4405 else
4406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4407 for as_dir in $PATH
4409 IFS=$as_save_IFS
4410 test -z "$as_dir" && as_dir=.
4411 for ac_exec_ext in '' $ac_executable_extensions; do
4412 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4413 ac_cv_prog_ac_ct_CXX="$ac_prog"
4414 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4415 break 2
4417 done
4418 done
4419 IFS=$as_save_IFS
4423 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4424 if test -n "$ac_ct_CXX"; then
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4426 $as_echo "$ac_ct_CXX" >&6; }
4427 else
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4429 $as_echo "no" >&6; }
4433 test -n "$ac_ct_CXX" && break
4434 done
4436 if test "x$ac_ct_CXX" = x; then
4437 CXX="g++"
4438 else
4439 case $cross_compiling:$ac_tool_warned in
4440 yes:)
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4442 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4443 ac_tool_warned=yes ;;
4444 esac
4445 CXX=$ac_ct_CXX
4451 # Provide some information about the compiler.
4452 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4453 set X $ac_compile
4454 ac_compiler=$2
4455 for ac_option in --version -v -V -qversion; do
4456 { { ac_try="$ac_compiler $ac_option >&5"
4457 case "(($ac_try" in
4458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4459 *) ac_try_echo=$ac_try;;
4460 esac
4461 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4462 $as_echo "$ac_try_echo"; } >&5
4463 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4464 ac_status=$?
4465 if test -s conftest.err; then
4466 sed '10a\
4467 ... rest of stderr output deleted ...
4468 10q' conftest.err >conftest.er1
4469 cat conftest.er1 >&5
4471 rm -f conftest.er1 conftest.err
4472 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4473 test $ac_status = 0; }
4474 done
4476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4477 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4478 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4479 $as_echo_n "(cached) " >&6
4480 else
4481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4482 /* end confdefs.h. */
4485 main ()
4487 #ifndef __GNUC__
4488 choke me
4489 #endif
4492 return 0;
4494 _ACEOF
4495 if ac_fn_cxx_try_compile "$LINENO"; then :
4496 ac_compiler_gnu=yes
4497 else
4498 ac_compiler_gnu=no
4500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4501 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4505 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4506 if test $ac_compiler_gnu = yes; then
4507 GXX=yes
4508 else
4509 GXX=
4511 ac_test_CXXFLAGS=${CXXFLAGS+set}
4512 ac_save_CXXFLAGS=$CXXFLAGS
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4514 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4515 if ${ac_cv_prog_cxx_g+:} false; then :
4516 $as_echo_n "(cached) " >&6
4517 else
4518 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4519 ac_cxx_werror_flag=yes
4520 ac_cv_prog_cxx_g=no
4521 CXXFLAGS="-g"
4522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4523 /* end confdefs.h. */
4526 main ()
4530 return 0;
4532 _ACEOF
4533 if ac_fn_cxx_try_compile "$LINENO"; then :
4534 ac_cv_prog_cxx_g=yes
4535 else
4536 CXXFLAGS=""
4537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4538 /* end confdefs.h. */
4541 main ()
4545 return 0;
4547 _ACEOF
4548 if ac_fn_cxx_try_compile "$LINENO"; then :
4550 else
4551 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4552 CXXFLAGS="-g"
4553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4554 /* end confdefs.h. */
4557 main ()
4561 return 0;
4563 _ACEOF
4564 if ac_fn_cxx_try_compile "$LINENO"; then :
4565 ac_cv_prog_cxx_g=yes
4567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4572 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4575 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4576 if test "$ac_test_CXXFLAGS" = set; then
4577 CXXFLAGS=$ac_save_CXXFLAGS
4578 elif test $ac_cv_prog_cxx_g = yes; then
4579 if test "$GXX" = yes; then
4580 CXXFLAGS="-g -O2"
4581 else
4582 CXXFLAGS="-g"
4584 else
4585 if test "$GXX" = yes; then
4586 CXXFLAGS="-O2"
4587 else
4588 CXXFLAGS=
4591 ac_ext=c
4592 ac_cpp='$CPP $CPPFLAGS'
4593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4597 if test -n "$ac_tool_prefix"; then
4598 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4599 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4601 $as_echo_n "checking for $ac_word... " >&6; }
4602 if ${ac_cv_prog_CPPBIN+:} false; then :
4603 $as_echo_n "(cached) " >&6
4604 else
4605 if test -n "$CPPBIN"; then
4606 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4607 else
4608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4609 for as_dir in $PATH
4611 IFS=$as_save_IFS
4612 test -z "$as_dir" && as_dir=.
4613 for ac_exec_ext in '' $ac_executable_extensions; do
4614 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4615 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4617 break 2
4619 done
4620 done
4621 IFS=$as_save_IFS
4625 CPPBIN=$ac_cv_prog_CPPBIN
4626 if test -n "$CPPBIN"; then
4627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4628 $as_echo "$CPPBIN" >&6; }
4629 else
4630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4631 $as_echo "no" >&6; }
4636 if test -z "$ac_cv_prog_CPPBIN"; then
4637 ac_ct_CPPBIN=$CPPBIN
4638 # Extract the first word of "cpp", so it can be a program name with args.
4639 set dummy cpp; ac_word=$2
4640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4641 $as_echo_n "checking for $ac_word... " >&6; }
4642 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4643 $as_echo_n "(cached) " >&6
4644 else
4645 if test -n "$ac_ct_CPPBIN"; then
4646 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4647 else
4648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4649 for as_dir in $PATH
4651 IFS=$as_save_IFS
4652 test -z "$as_dir" && as_dir=.
4653 for ac_exec_ext in '' $ac_executable_extensions; do
4654 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4655 ac_cv_prog_ac_ct_CPPBIN="cpp"
4656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4657 break 2
4659 done
4660 done
4661 IFS=$as_save_IFS
4665 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4666 if test -n "$ac_ct_CPPBIN"; then
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4668 $as_echo "$ac_ct_CPPBIN" >&6; }
4669 else
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4671 $as_echo "no" >&6; }
4674 if test "x$ac_ct_CPPBIN" = x; then
4675 CPPBIN="cpp"
4676 else
4677 case $cross_compiling:$ac_tool_warned in
4678 yes:)
4679 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4680 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4681 ac_tool_warned=yes ;;
4682 esac
4683 CPPBIN=$ac_ct_CPPBIN
4685 else
4686 CPPBIN="$ac_cv_prog_CPPBIN"
4690 cat >>confdefs.h <<_ACEOF
4691 #define EXEEXT "$ac_exeext"
4692 _ACEOF
4695 case $host in
4696 *-darwin*)
4697 if test "x$enable_win64" = "xyes"
4698 then
4699 CC="$CC -m64"
4700 CXX="$CXX -m64"
4701 host_cpu="x86_64"
4702 notice_platform="64-bit "
4703 TARGETFLAGS="-m64"
4705 else
4706 CC="$CC -m32"
4707 CXX="$CXX -m32"
4708 host_cpu="i386"
4709 notice_platform="32-bit "
4710 TARGETFLAGS="-m32"
4712 enable_win16=${enable_win16:-yes}
4714 with_fontconfig=${with_fontconfig:-no}
4716 x86_64*)
4717 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4718 then
4719 CC="$CC -m32"
4720 CXX="$CXX -m32"
4721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4722 $as_echo_n "checking whether $CC works... " >&6; }
4724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4725 /* end confdefs.h. */
4728 main ()
4732 return 0;
4734 _ACEOF
4735 if ac_fn_c_try_link "$LINENO"; then :
4736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4737 $as_echo "yes" >&6; }
4738 else
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4740 $as_echo "no" >&6; }
4741 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4743 rm -f core conftest.err conftest.$ac_objext \
4744 conftest$ac_exeext conftest.$ac_ext
4745 host_cpu="i386"
4746 notice_platform="32-bit "
4747 TARGETFLAGS="-m32"
4749 enable_win16=${enable_win16:-yes}
4750 else
4751 if test "x${GCC}" = "xyes"
4752 then
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4754 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4756 /* end confdefs.h. */
4757 #include <stdarg.h>
4759 main ()
4761 void func(__builtin_ms_va_list *args);
4763 return 0;
4765 _ACEOF
4766 if ac_fn_c_try_compile "$LINENO"; then :
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4768 $as_echo "yes" >&6; }
4769 else
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4771 $as_echo "no" >&6; }
4772 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4776 TARGETFLAGS="-m64"
4780 arm*)
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4782 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4784 /* end confdefs.h. */
4785 int ac_test(int i) { return i; }
4787 main ()
4789 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4791 return 0;
4793 _ACEOF
4794 if ac_fn_c_try_link "$LINENO"; then :
4795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4796 $as_echo "yes" >&6; }
4797 else
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4799 $as_echo "no" >&6; }
4800 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4802 rm -f core conftest.err conftest.$ac_objext \
4803 conftest$ac_exeext conftest.$ac_ext
4804 CFLAGS="$CFLAGS -marm"
4805 TARGETFLAGS="-marm"
4808 *-mingw32*|*-cygwin*)
4809 enable_win16=${enable_win16:-no}
4810 CFLAGS="$CFLAGS -D_WIN32"
4812 i[3456789]86*)
4813 enable_win16=${enable_win16:-yes}
4815 esac
4817 enable_win16=${enable_win16:-no}
4818 enable_win64=${enable_win64:-no}
4820 enable_winetest=${enable_winetest:-$enable_tests}
4822 if test -n "$with_wine64"
4823 then
4824 if test "x$enable_win64" = "xyes"
4825 then
4826 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4827 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4829 enable_fonts=${enable_fonts:-no}
4830 enable_server=${enable_server:-no}
4831 elif test "x$enable_win64" = "xyes"
4832 then
4833 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4837 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4838 if ${wine_cv_toolsdir+:} false; then :
4839 $as_echo_n "(cached) " >&6
4840 else
4841 wine_cv_toolsdir="$with_wine_tools"
4842 if test -z "$with_wine_tools"; then
4843 if test "$cross_compiling" = "yes"; then
4844 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4845 elif test -n "$with_wine64"; then
4846 wine_cv_toolsdir="$with_wine64"
4849 if test -z "$wine_cv_toolsdir"; then
4850 wine_makedep=tools/makedep
4851 wine_cv_toolsdir="\$(top_builddir)"
4852 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4853 wine_makedep=$wine_cv_toolsdir/tools/makedep
4854 case "$wine_cv_toolsdir" in
4855 /*) ;;
4856 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
4857 esac
4858 enable_tools=${enable_tools:-no}
4859 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
4860 else
4861 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4865 $as_echo "$wine_cv_toolsdir" >&6; }
4866 TOOLSDIR=$wine_cv_toolsdir
4868 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4869 then
4870 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
4874 for ac_prog in flex
4876 # Extract the first word of "$ac_prog", so it can be a program name with args.
4877 set dummy $ac_prog; ac_word=$2
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4879 $as_echo_n "checking for $ac_word... " >&6; }
4880 if ${ac_cv_prog_FLEX+:} false; then :
4881 $as_echo_n "(cached) " >&6
4882 else
4883 if test -n "$FLEX"; then
4884 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
4885 else
4886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4887 for as_dir in $PATH
4889 IFS=$as_save_IFS
4890 test -z "$as_dir" && as_dir=.
4891 for ac_exec_ext in '' $ac_executable_extensions; do
4892 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4893 ac_cv_prog_FLEX="$ac_prog"
4894 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4895 break 2
4897 done
4898 done
4899 IFS=$as_save_IFS
4903 FLEX=$ac_cv_prog_FLEX
4904 if test -n "$FLEX"; then
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4906 $as_echo "$FLEX" >&6; }
4907 else
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4909 $as_echo "no" >&6; }
4913 test -n "$FLEX" && break
4914 done
4915 test -n "$FLEX" || FLEX="none"
4917 if test "$FLEX" = "none"
4918 then
4919 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4922 $as_echo_n "checking whether flex is recent enough... " >&6; }
4923 cat >conftest.l <<EOF
4924 %top{
4925 #include "prediluvian.h"
4929 if $FLEX -t conftest.l >/dev/null 2>&5
4930 then
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4932 $as_echo "yes" >&6; }
4933 else
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4935 $as_echo "no" >&6; }
4936 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4939 for ac_prog in bison
4941 # Extract the first word of "$ac_prog", so it can be a program name with args.
4942 set dummy $ac_prog; ac_word=$2
4943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4944 $as_echo_n "checking for $ac_word... " >&6; }
4945 if ${ac_cv_prog_BISON+:} false; then :
4946 $as_echo_n "(cached) " >&6
4947 else
4948 if test -n "$BISON"; then
4949 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4950 else
4951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4952 for as_dir in $PATH
4954 IFS=$as_save_IFS
4955 test -z "$as_dir" && as_dir=.
4956 for ac_exec_ext in '' $ac_executable_extensions; do
4957 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4958 ac_cv_prog_BISON="$ac_prog"
4959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4960 break 2
4962 done
4963 done
4964 IFS=$as_save_IFS
4968 BISON=$ac_cv_prog_BISON
4969 if test -n "$BISON"; then
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4971 $as_echo "$BISON" >&6; }
4972 else
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4974 $as_echo "no" >&6; }
4978 test -n "$BISON" && break
4979 done
4980 test -n "$BISON" || BISON="none"
4982 if test "$BISON" = "none"
4983 then
4984 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4987 if test -n "$ac_tool_prefix"; then
4988 for ac_prog in ar gar
4990 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4991 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4993 $as_echo_n "checking for $ac_word... " >&6; }
4994 if ${ac_cv_prog_AR+:} false; then :
4995 $as_echo_n "(cached) " >&6
4996 else
4997 if test -n "$AR"; then
4998 ac_cv_prog_AR="$AR" # Let the user override the test.
4999 else
5000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5001 for as_dir in $PATH
5003 IFS=$as_save_IFS
5004 test -z "$as_dir" && as_dir=.
5005 for ac_exec_ext in '' $ac_executable_extensions; do
5006 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5007 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5008 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5009 break 2
5011 done
5012 done
5013 IFS=$as_save_IFS
5017 AR=$ac_cv_prog_AR
5018 if test -n "$AR"; then
5019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5020 $as_echo "$AR" >&6; }
5021 else
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5023 $as_echo "no" >&6; }
5027 test -n "$AR" && break
5028 done
5030 if test -z "$AR"; then
5031 ac_ct_AR=$AR
5032 for ac_prog in ar gar
5034 # Extract the first word of "$ac_prog", so it can be a program name with args.
5035 set dummy $ac_prog; ac_word=$2
5036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5037 $as_echo_n "checking for $ac_word... " >&6; }
5038 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5039 $as_echo_n "(cached) " >&6
5040 else
5041 if test -n "$ac_ct_AR"; then
5042 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5043 else
5044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5045 for as_dir in $PATH
5047 IFS=$as_save_IFS
5048 test -z "$as_dir" && as_dir=.
5049 for ac_exec_ext in '' $ac_executable_extensions; do
5050 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5051 ac_cv_prog_ac_ct_AR="$ac_prog"
5052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5053 break 2
5055 done
5056 done
5057 IFS=$as_save_IFS
5061 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5062 if test -n "$ac_ct_AR"; then
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5064 $as_echo "$ac_ct_AR" >&6; }
5065 else
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5067 $as_echo "no" >&6; }
5071 test -n "$ac_ct_AR" && break
5072 done
5074 if test "x$ac_ct_AR" = x; then
5075 AR="ar"
5076 else
5077 case $cross_compiling:$ac_tool_warned in
5078 yes:)
5079 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5080 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5081 ac_tool_warned=yes ;;
5082 esac
5083 AR=$ac_ct_AR
5087 if test -n "$ac_tool_prefix"; then
5088 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5089 set dummy ${ac_tool_prefix}strip; ac_word=$2
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5091 $as_echo_n "checking for $ac_word... " >&6; }
5092 if ${ac_cv_prog_STRIP+:} false; then :
5093 $as_echo_n "(cached) " >&6
5094 else
5095 if test -n "$STRIP"; then
5096 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5097 else
5098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5099 for as_dir in $PATH
5101 IFS=$as_save_IFS
5102 test -z "$as_dir" && as_dir=.
5103 for ac_exec_ext in '' $ac_executable_extensions; do
5104 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5105 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5106 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5107 break 2
5109 done
5110 done
5111 IFS=$as_save_IFS
5115 STRIP=$ac_cv_prog_STRIP
5116 if test -n "$STRIP"; then
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5118 $as_echo "$STRIP" >&6; }
5119 else
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5121 $as_echo "no" >&6; }
5126 if test -z "$ac_cv_prog_STRIP"; then
5127 ac_ct_STRIP=$STRIP
5128 # Extract the first word of "strip", so it can be a program name with args.
5129 set dummy strip; ac_word=$2
5130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5131 $as_echo_n "checking for $ac_word... " >&6; }
5132 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5133 $as_echo_n "(cached) " >&6
5134 else
5135 if test -n "$ac_ct_STRIP"; then
5136 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5137 else
5138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5139 for as_dir in $PATH
5141 IFS=$as_save_IFS
5142 test -z "$as_dir" && as_dir=.
5143 for ac_exec_ext in '' $ac_executable_extensions; do
5144 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5145 ac_cv_prog_ac_ct_STRIP="strip"
5146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5147 break 2
5149 done
5150 done
5151 IFS=$as_save_IFS
5155 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5156 if test -n "$ac_ct_STRIP"; then
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5158 $as_echo "$ac_ct_STRIP" >&6; }
5159 else
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5161 $as_echo "no" >&6; }
5164 if test "x$ac_ct_STRIP" = x; then
5165 STRIP="strip"
5166 else
5167 case $cross_compiling:$ac_tool_warned in
5168 yes:)
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5170 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5171 ac_tool_warned=yes ;;
5172 esac
5173 STRIP=$ac_ct_STRIP
5175 else
5176 STRIP="$ac_cv_prog_STRIP"
5179 ARFLAGS=rc
5181 if test -n "$ac_tool_prefix"; then
5182 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5183 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5185 $as_echo_n "checking for $ac_word... " >&6; }
5186 if ${ac_cv_prog_RANLIB+:} false; then :
5187 $as_echo_n "(cached) " >&6
5188 else
5189 if test -n "$RANLIB"; then
5190 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5191 else
5192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5193 for as_dir in $PATH
5195 IFS=$as_save_IFS
5196 test -z "$as_dir" && as_dir=.
5197 for ac_exec_ext in '' $ac_executable_extensions; do
5198 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5199 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5201 break 2
5203 done
5204 done
5205 IFS=$as_save_IFS
5209 RANLIB=$ac_cv_prog_RANLIB
5210 if test -n "$RANLIB"; then
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5212 $as_echo "$RANLIB" >&6; }
5213 else
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5215 $as_echo "no" >&6; }
5220 if test -z "$ac_cv_prog_RANLIB"; then
5221 ac_ct_RANLIB=$RANLIB
5222 # Extract the first word of "ranlib", so it can be a program name with args.
5223 set dummy ranlib; ac_word=$2
5224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5225 $as_echo_n "checking for $ac_word... " >&6; }
5226 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5227 $as_echo_n "(cached) " >&6
5228 else
5229 if test -n "$ac_ct_RANLIB"; then
5230 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5231 else
5232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5233 for as_dir in $PATH
5235 IFS=$as_save_IFS
5236 test -z "$as_dir" && as_dir=.
5237 for ac_exec_ext in '' $ac_executable_extensions; do
5238 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5239 ac_cv_prog_ac_ct_RANLIB="ranlib"
5240 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5241 break 2
5243 done
5244 done
5245 IFS=$as_save_IFS
5249 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5250 if test -n "$ac_ct_RANLIB"; then
5251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5252 $as_echo "$ac_ct_RANLIB" >&6; }
5253 else
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5255 $as_echo "no" >&6; }
5258 if test "x$ac_ct_RANLIB" = x; then
5259 RANLIB=":"
5260 else
5261 case $cross_compiling:$ac_tool_warned in
5262 yes:)
5263 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5264 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5265 ac_tool_warned=yes ;;
5266 esac
5267 RANLIB=$ac_ct_RANLIB
5269 else
5270 RANLIB="$ac_cv_prog_RANLIB"
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5274 $as_echo_n "checking whether ln -s works... " >&6; }
5275 LN_S=$as_ln_s
5276 if test "$LN_S" = "ln -s"; then
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5278 $as_echo "yes" >&6; }
5279 else
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5281 $as_echo "no, using $LN_S" >&6; }
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5285 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5286 if ${ac_cv_path_GREP+:} false; then :
5287 $as_echo_n "(cached) " >&6
5288 else
5289 if test -z "$GREP"; then
5290 ac_path_GREP_found=false
5291 # Loop through the user's path and test for each of PROGNAME-LIST
5292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5293 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5295 IFS=$as_save_IFS
5296 test -z "$as_dir" && as_dir=.
5297 for ac_prog in grep ggrep; do
5298 for ac_exec_ext in '' $ac_executable_extensions; do
5299 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5300 as_fn_executable_p "$ac_path_GREP" || continue
5301 # Check for GNU ac_path_GREP and select it if it is found.
5302 # Check for GNU $ac_path_GREP
5303 case `"$ac_path_GREP" --version 2>&1` in
5304 *GNU*)
5305 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5307 ac_count=0
5308 $as_echo_n 0123456789 >"conftest.in"
5309 while :
5311 cat "conftest.in" "conftest.in" >"conftest.tmp"
5312 mv "conftest.tmp" "conftest.in"
5313 cp "conftest.in" "conftest.nl"
5314 $as_echo 'GREP' >> "conftest.nl"
5315 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5316 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5317 as_fn_arith $ac_count + 1 && ac_count=$as_val
5318 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5319 # Best one so far, save it but keep looking for a better one
5320 ac_cv_path_GREP="$ac_path_GREP"
5321 ac_path_GREP_max=$ac_count
5323 # 10*(2^10) chars as input seems more than enough
5324 test $ac_count -gt 10 && break
5325 done
5326 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5327 esac
5329 $ac_path_GREP_found && break 3
5330 done
5331 done
5332 done
5333 IFS=$as_save_IFS
5334 if test -z "$ac_cv_path_GREP"; then
5335 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5337 else
5338 ac_cv_path_GREP=$GREP
5342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5343 $as_echo "$ac_cv_path_GREP" >&6; }
5344 GREP="$ac_cv_path_GREP"
5347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5348 $as_echo_n "checking for egrep... " >&6; }
5349 if ${ac_cv_path_EGREP+:} false; then :
5350 $as_echo_n "(cached) " >&6
5351 else
5352 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5353 then ac_cv_path_EGREP="$GREP -E"
5354 else
5355 if test -z "$EGREP"; then
5356 ac_path_EGREP_found=false
5357 # Loop through the user's path and test for each of PROGNAME-LIST
5358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5359 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5361 IFS=$as_save_IFS
5362 test -z "$as_dir" && as_dir=.
5363 for ac_prog in egrep; do
5364 for ac_exec_ext in '' $ac_executable_extensions; do
5365 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5366 as_fn_executable_p "$ac_path_EGREP" || continue
5367 # Check for GNU ac_path_EGREP and select it if it is found.
5368 # Check for GNU $ac_path_EGREP
5369 case `"$ac_path_EGREP" --version 2>&1` in
5370 *GNU*)
5371 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5373 ac_count=0
5374 $as_echo_n 0123456789 >"conftest.in"
5375 while :
5377 cat "conftest.in" "conftest.in" >"conftest.tmp"
5378 mv "conftest.tmp" "conftest.in"
5379 cp "conftest.in" "conftest.nl"
5380 $as_echo 'EGREP' >> "conftest.nl"
5381 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5382 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5383 as_fn_arith $ac_count + 1 && ac_count=$as_val
5384 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5385 # Best one so far, save it but keep looking for a better one
5386 ac_cv_path_EGREP="$ac_path_EGREP"
5387 ac_path_EGREP_max=$ac_count
5389 # 10*(2^10) chars as input seems more than enough
5390 test $ac_count -gt 10 && break
5391 done
5392 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5393 esac
5395 $ac_path_EGREP_found && break 3
5396 done
5397 done
5398 done
5399 IFS=$as_save_IFS
5400 if test -z "$ac_cv_path_EGREP"; then
5401 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5403 else
5404 ac_cv_path_EGREP=$EGREP
5409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5410 $as_echo "$ac_cv_path_EGREP" >&6; }
5411 EGREP="$ac_cv_path_EGREP"
5414 # Extract the first word of "ldconfig", so it can be a program name with args.
5415 set dummy ldconfig; ac_word=$2
5416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5417 $as_echo_n "checking for $ac_word... " >&6; }
5418 if ${ac_cv_path_LDCONFIG+:} false; then :
5419 $as_echo_n "(cached) " >&6
5420 else
5421 case $LDCONFIG in
5422 [\\/]* | ?:[\\/]*)
5423 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5427 for as_dir in /sbin /usr/sbin $PATH
5429 IFS=$as_save_IFS
5430 test -z "$as_dir" && as_dir=.
5431 for ac_exec_ext in '' $ac_executable_extensions; do
5432 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5433 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5434 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5435 break 2
5437 done
5438 done
5439 IFS=$as_save_IFS
5441 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5443 esac
5445 LDCONFIG=$ac_cv_path_LDCONFIG
5446 if test -n "$LDCONFIG"; then
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5448 $as_echo "$LDCONFIG" >&6; }
5449 else
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5451 $as_echo "no" >&6; }
5455 for ac_prog in msgfmt
5457 # Extract the first word of "$ac_prog", so it can be a program name with args.
5458 set dummy $ac_prog; ac_word=$2
5459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5460 $as_echo_n "checking for $ac_word... " >&6; }
5461 if ${ac_cv_prog_MSGFMT+:} false; then :
5462 $as_echo_n "(cached) " >&6
5463 else
5464 if test -n "$MSGFMT"; then
5465 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5466 else
5467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5468 for as_dir in $PATH
5470 IFS=$as_save_IFS
5471 test -z "$as_dir" && as_dir=.
5472 for ac_exec_ext in '' $ac_executable_extensions; do
5473 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5474 ac_cv_prog_MSGFMT="$ac_prog"
5475 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5476 break 2
5478 done
5479 done
5480 IFS=$as_save_IFS
5484 MSGFMT=$ac_cv_prog_MSGFMT
5485 if test -n "$MSGFMT"; then
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5487 $as_echo "$MSGFMT" >&6; }
5488 else
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5490 $as_echo "no" >&6; }
5494 test -n "$MSGFMT" && break
5495 done
5496 test -n "$MSGFMT" || MSGFMT="false"
5498 if ${ac_tool_prefix+:} false; then :
5499 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5500 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5502 $as_echo_n "checking for $ac_word... " >&6; }
5503 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5504 $as_echo_n "(cached) " >&6
5505 else
5506 if test -n "$PKG_CONFIG"; then
5507 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5508 else
5509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5510 for as_dir in $PATH
5512 IFS=$as_save_IFS
5513 test -z "$as_dir" && as_dir=.
5514 for ac_exec_ext in '' $ac_executable_extensions; do
5515 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5516 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5517 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5518 break 2
5520 done
5521 done
5522 IFS=$as_save_IFS
5526 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5527 if test -n "$PKG_CONFIG"; then
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5529 $as_echo "$PKG_CONFIG" >&6; }
5530 else
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5532 $as_echo "no" >&6; }
5537 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5538 if test "x$cross_compiling" = xyes; then :
5540 else
5541 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5542 # Extract the first word of "pkg-config", so it can be a program name with args.
5543 set dummy pkg-config; ac_word=$2
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5545 $as_echo_n "checking for $ac_word... " >&6; }
5546 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5547 $as_echo_n "(cached) " >&6
5548 else
5549 if test -n "$PKG_CONFIG"; then
5550 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5551 else
5552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5553 for as_dir in $PATH
5555 IFS=$as_save_IFS
5556 test -z "$as_dir" && as_dir=.
5557 for ac_exec_ext in '' $ac_executable_extensions; do
5558 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5559 ac_cv_prog_PKG_CONFIG="pkg-config"
5560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5561 break 2
5563 done
5564 done
5565 IFS=$as_save_IFS
5569 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5570 if test -n "$PKG_CONFIG"; then
5571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5572 $as_echo "$PKG_CONFIG" >&6; }
5573 else
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5575 $as_echo "no" >&6; }
5580 else
5581 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5584 if test "x$enable_maintainer_mode" != "xyes"
5585 then
5586 FONTFORGE=""
5587 RSVG=""
5588 CONVERT=""
5589 ICOTOOL=""
5590 else
5591 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5592 for ac_prog in fontforge
5594 # Extract the first word of "$ac_prog", so it can be a program name with args.
5595 set dummy $ac_prog; ac_word=$2
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5597 $as_echo_n "checking for $ac_word... " >&6; }
5598 if ${ac_cv_prog_FONTFORGE+:} false; then :
5599 $as_echo_n "(cached) " >&6
5600 else
5601 if test -n "$FONTFORGE"; then
5602 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5603 else
5604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5605 for as_dir in $PATH
5607 IFS=$as_save_IFS
5608 test -z "$as_dir" && as_dir=.
5609 for ac_exec_ext in '' $ac_executable_extensions; do
5610 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5611 ac_cv_prog_FONTFORGE="$ac_prog"
5612 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5613 break 2
5615 done
5616 done
5617 IFS=$as_save_IFS
5621 FONTFORGE=$ac_cv_prog_FONTFORGE
5622 if test -n "$FONTFORGE"; then
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5624 $as_echo "$FONTFORGE" >&6; }
5625 else
5626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5627 $as_echo "no" >&6; }
5631 test -n "$FONTFORGE" && break
5632 done
5633 test -n "$FONTFORGE" || FONTFORGE="false"
5635 for ac_prog in rsvg
5637 # Extract the first word of "$ac_prog", so it can be a program name with args.
5638 set dummy $ac_prog; ac_word=$2
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5640 $as_echo_n "checking for $ac_word... " >&6; }
5641 if ${ac_cv_prog_RSVG+:} false; then :
5642 $as_echo_n "(cached) " >&6
5643 else
5644 if test -n "$RSVG"; then
5645 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5646 else
5647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5648 for as_dir in $PATH
5650 IFS=$as_save_IFS
5651 test -z "$as_dir" && as_dir=.
5652 for ac_exec_ext in '' $ac_executable_extensions; do
5653 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5654 ac_cv_prog_RSVG="$ac_prog"
5655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5656 break 2
5658 done
5659 done
5660 IFS=$as_save_IFS
5664 RSVG=$ac_cv_prog_RSVG
5665 if test -n "$RSVG"; then
5666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5667 $as_echo "$RSVG" >&6; }
5668 else
5669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5670 $as_echo "no" >&6; }
5674 test -n "$RSVG" && break
5675 done
5676 test -n "$RSVG" || RSVG="false"
5678 for ac_prog in convert
5680 # Extract the first word of "$ac_prog", so it can be a program name with args.
5681 set dummy $ac_prog; ac_word=$2
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5683 $as_echo_n "checking for $ac_word... " >&6; }
5684 if ${ac_cv_prog_CONVERT+:} false; then :
5685 $as_echo_n "(cached) " >&6
5686 else
5687 if test -n "$CONVERT"; then
5688 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5689 else
5690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5691 for as_dir in $PATH
5693 IFS=$as_save_IFS
5694 test -z "$as_dir" && as_dir=.
5695 for ac_exec_ext in '' $ac_executable_extensions; do
5696 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5697 ac_cv_prog_CONVERT="$ac_prog"
5698 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5699 break 2
5701 done
5702 done
5703 IFS=$as_save_IFS
5707 CONVERT=$ac_cv_prog_CONVERT
5708 if test -n "$CONVERT"; then
5709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5710 $as_echo "$CONVERT" >&6; }
5711 else
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5713 $as_echo "no" >&6; }
5717 test -n "$CONVERT" && break
5718 done
5719 test -n "$CONVERT" || CONVERT="false"
5721 for ac_prog in icotool
5723 # Extract the first word of "$ac_prog", so it can be a program name with args.
5724 set dummy $ac_prog; ac_word=$2
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5726 $as_echo_n "checking for $ac_word... " >&6; }
5727 if ${ac_cv_prog_ICOTOOL+:} false; then :
5728 $as_echo_n "(cached) " >&6
5729 else
5730 if test -n "$ICOTOOL"; then
5731 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5732 else
5733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5734 for as_dir in $PATH
5736 IFS=$as_save_IFS
5737 test -z "$as_dir" && as_dir=.
5738 for ac_exec_ext in '' $ac_executable_extensions; do
5739 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5740 ac_cv_prog_ICOTOOL="$ac_prog"
5741 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5742 break 2
5744 done
5745 done
5746 IFS=$as_save_IFS
5750 ICOTOOL=$ac_cv_prog_ICOTOOL
5751 if test -n "$ICOTOOL"; then
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5753 $as_echo "$ICOTOOL" >&6; }
5754 else
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5756 $as_echo "no" >&6; }
5760 test -n "$ICOTOOL" && break
5761 done
5762 test -n "$ICOTOOL" || ICOTOOL="false"
5764 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5765 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5767 if test "$CONVERT" = false
5768 then
5769 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5770 else
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5772 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5773 convert_version=`convert --version | head -n1`
5774 if test "x$convert_version" != "x"
5775 then
5776 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5777 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5778 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5779 then
5780 CONVERT=false
5783 if test "$CONVERT" = false
5784 then
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5786 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5787 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5788 else
5789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5790 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5794 if test "$ICOTOOL" = false
5795 then
5796 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5797 else
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5799 $as_echo_n "checking for recent enough icotool... " >&6; }
5800 icotool_version=`icotool --version | head -n1`
5801 if test "x$icotool_version" != "x"
5802 then
5803 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5804 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5805 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5806 then
5807 ICOTOOL=false
5808 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5811 if test "$ICOTOOL" = false
5812 then
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5814 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5815 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5816 else
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5818 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5822 with_gettext=yes
5823 with_gettextpo=yes
5824 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5827 test "x$with_gettext" != xno || MSGFMT=false
5828 if test "$MSGFMT" != "false"
5829 then
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5831 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5832 cat >conftest.po <<EOF
5833 # comment
5834 msgctxt "ctxt"
5835 msgid "id"
5836 msgstr "str"
5838 if $MSGFMT -o /dev/null conftest.po 2>&5
5839 then
5840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5841 $as_echo "yes" >&6; }
5842 else
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5844 $as_echo "no" >&6; }
5845 MSGFMT=false
5848 if test "$MSGFMT" = false; then :
5849 case "x$with_gettext" in
5850 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
5851 xno) ;;
5852 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
5853 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5854 esac
5858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5859 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5860 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
5861 $as_echo_n "(cached) " >&6
5862 else
5863 ac_check_lib_save_LIBS=$LIBS
5864 LIBS="-li386 $LIBS"
5865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5866 /* end confdefs.h. */
5868 /* Override any GCC internal prototype to avoid an error.
5869 Use char because int might match the return type of a GCC
5870 builtin and then its argument prototype would still apply. */
5871 #ifdef __cplusplus
5872 extern "C"
5873 #endif
5874 char i386_set_ldt ();
5876 main ()
5878 return i386_set_ldt ();
5880 return 0;
5882 _ACEOF
5883 if ac_fn_c_try_link "$LINENO"; then :
5884 ac_cv_lib_i386_i386_set_ldt=yes
5885 else
5886 ac_cv_lib_i386_i386_set_ldt=no
5888 rm -f core conftest.err conftest.$ac_objext \
5889 conftest$ac_exeext conftest.$ac_ext
5890 LIBS=$ac_check_lib_save_LIBS
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5893 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5894 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
5895 cat >>confdefs.h <<_ACEOF
5896 #define HAVE_LIBI386 1
5897 _ACEOF
5899 LIBS="-li386 $LIBS"
5903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5904 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5905 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
5906 $as_echo_n "(cached) " >&6
5907 else
5908 ac_check_lib_save_LIBS=$LIBS
5909 LIBS="-lossaudio $LIBS"
5910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5911 /* end confdefs.h. */
5913 /* Override any GCC internal prototype to avoid an error.
5914 Use char because int might match the return type of a GCC
5915 builtin and then its argument prototype would still apply. */
5916 #ifdef __cplusplus
5917 extern "C"
5918 #endif
5919 char _oss_ioctl ();
5921 main ()
5923 return _oss_ioctl ();
5925 return 0;
5927 _ACEOF
5928 if ac_fn_c_try_link "$LINENO"; then :
5929 ac_cv_lib_ossaudio__oss_ioctl=yes
5930 else
5931 ac_cv_lib_ossaudio__oss_ioctl=no
5933 rm -f core conftest.err conftest.$ac_objext \
5934 conftest$ac_exeext conftest.$ac_ext
5935 LIBS=$ac_check_lib_save_LIBS
5937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5938 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5939 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
5940 cat >>confdefs.h <<_ACEOF
5941 #define HAVE_LIBOSSAUDIO 1
5942 _ACEOF
5944 LIBS="-lossaudio $LIBS"
5949 OPENGL_LIBS=""
5953 # Check whether --enable-largefile was given.
5954 if test "${enable_largefile+set}" = set; then :
5955 enableval=$enable_largefile;
5958 if test "$enable_largefile" != no; then
5960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5961 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5962 if ${ac_cv_sys_largefile_CC+:} false; then :
5963 $as_echo_n "(cached) " >&6
5964 else
5965 ac_cv_sys_largefile_CC=no
5966 if test "$GCC" != yes; then
5967 ac_save_CC=$CC
5968 while :; do
5969 # IRIX 6.2 and later do not support large files by default,
5970 # so use the C compiler's -n32 option if that helps.
5971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5972 /* end confdefs.h. */
5973 #include <sys/types.h>
5974 /* Check that off_t can represent 2**63 - 1 correctly.
5975 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5976 since some C++ compilers masquerading as C compilers
5977 incorrectly reject 9223372036854775807. */
5978 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5979 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5980 && LARGE_OFF_T % 2147483647 == 1)
5981 ? 1 : -1];
5983 main ()
5987 return 0;
5989 _ACEOF
5990 if ac_fn_c_try_compile "$LINENO"; then :
5991 break
5993 rm -f core conftest.err conftest.$ac_objext
5994 CC="$CC -n32"
5995 if ac_fn_c_try_compile "$LINENO"; then :
5996 ac_cv_sys_largefile_CC=' -n32'; break
5998 rm -f core conftest.err conftest.$ac_objext
5999 break
6000 done
6001 CC=$ac_save_CC
6002 rm -f conftest.$ac_ext
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6006 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6007 if test "$ac_cv_sys_largefile_CC" != no; then
6008 CC=$CC$ac_cv_sys_largefile_CC
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6012 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6013 if ${ac_cv_sys_file_offset_bits+:} false; then :
6014 $as_echo_n "(cached) " >&6
6015 else
6016 while :; do
6017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6018 /* end confdefs.h. */
6019 #include <sys/types.h>
6020 /* Check that off_t can represent 2**63 - 1 correctly.
6021 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6022 since some C++ compilers masquerading as C compilers
6023 incorrectly reject 9223372036854775807. */
6024 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6025 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6026 && LARGE_OFF_T % 2147483647 == 1)
6027 ? 1 : -1];
6029 main ()
6033 return 0;
6035 _ACEOF
6036 if ac_fn_c_try_compile "$LINENO"; then :
6037 ac_cv_sys_file_offset_bits=no; break
6039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6041 /* end confdefs.h. */
6042 #define _FILE_OFFSET_BITS 64
6043 #include <sys/types.h>
6044 /* Check that off_t can represent 2**63 - 1 correctly.
6045 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6046 since some C++ compilers masquerading as C compilers
6047 incorrectly reject 9223372036854775807. */
6048 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6049 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6050 && LARGE_OFF_T % 2147483647 == 1)
6051 ? 1 : -1];
6053 main ()
6057 return 0;
6059 _ACEOF
6060 if ac_fn_c_try_compile "$LINENO"; then :
6061 ac_cv_sys_file_offset_bits=64; break
6063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6064 ac_cv_sys_file_offset_bits=unknown
6065 break
6066 done
6068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6069 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6070 case $ac_cv_sys_file_offset_bits in #(
6071 no | unknown) ;;
6073 cat >>confdefs.h <<_ACEOF
6074 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6075 _ACEOF
6077 esac
6078 rm -rf conftest*
6079 if test $ac_cv_sys_file_offset_bits = unknown; then
6080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6081 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6082 if ${ac_cv_sys_large_files+:} false; then :
6083 $as_echo_n "(cached) " >&6
6084 else
6085 while :; do
6086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6087 /* end confdefs.h. */
6088 #include <sys/types.h>
6089 /* Check that off_t can represent 2**63 - 1 correctly.
6090 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6091 since some C++ compilers masquerading as C compilers
6092 incorrectly reject 9223372036854775807. */
6093 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6094 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6095 && LARGE_OFF_T % 2147483647 == 1)
6096 ? 1 : -1];
6098 main ()
6102 return 0;
6104 _ACEOF
6105 if ac_fn_c_try_compile "$LINENO"; then :
6106 ac_cv_sys_large_files=no; break
6108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6110 /* end confdefs.h. */
6111 #define _LARGE_FILES 1
6112 #include <sys/types.h>
6113 /* Check that off_t can represent 2**63 - 1 correctly.
6114 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6115 since some C++ compilers masquerading as C compilers
6116 incorrectly reject 9223372036854775807. */
6117 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6118 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6119 && LARGE_OFF_T % 2147483647 == 1)
6120 ? 1 : -1];
6122 main ()
6126 return 0;
6128 _ACEOF
6129 if ac_fn_c_try_compile "$LINENO"; then :
6130 ac_cv_sys_large_files=1; break
6132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6133 ac_cv_sys_large_files=unknown
6134 break
6135 done
6137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6138 $as_echo "$ac_cv_sys_large_files" >&6; }
6139 case $ac_cv_sys_large_files in #(
6140 no | unknown) ;;
6142 cat >>confdefs.h <<_ACEOF
6143 #define _LARGE_FILES $ac_cv_sys_large_files
6144 _ACEOF
6146 esac
6147 rm -rf conftest*
6154 ac_ext=c
6155 ac_cpp='$CPP $CPPFLAGS'
6156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6160 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6161 # On Suns, sometimes $CPP names a directory.
6162 if test -n "$CPP" && test -d "$CPP"; then
6163 CPP=
6165 if test -z "$CPP"; then
6166 if ${ac_cv_prog_CPP+:} false; then :
6167 $as_echo_n "(cached) " >&6
6168 else
6169 # Double quotes because CPP needs to be expanded
6170 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6172 ac_preproc_ok=false
6173 for ac_c_preproc_warn_flag in '' yes
6175 # Use a header file that comes with gcc, so configuring glibc
6176 # with a fresh cross-compiler works.
6177 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6178 # <limits.h> exists even on freestanding compilers.
6179 # On the NeXT, cc -E runs the code through the compiler's parser,
6180 # not just through cpp. "Syntax error" is here to catch this case.
6181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6182 /* end confdefs.h. */
6183 #ifdef __STDC__
6184 # include <limits.h>
6185 #else
6186 # include <assert.h>
6187 #endif
6188 Syntax error
6189 _ACEOF
6190 if ac_fn_c_try_cpp "$LINENO"; then :
6192 else
6193 # Broken: fails on valid input.
6194 continue
6196 rm -f conftest.err conftest.i conftest.$ac_ext
6198 # OK, works on sane cases. Now check whether nonexistent headers
6199 # can be detected and how.
6200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6201 /* end confdefs.h. */
6202 #include <ac_nonexistent.h>
6203 _ACEOF
6204 if ac_fn_c_try_cpp "$LINENO"; then :
6205 # Broken: success on invalid input.
6206 continue
6207 else
6208 # Passes both tests.
6209 ac_preproc_ok=:
6210 break
6212 rm -f conftest.err conftest.i conftest.$ac_ext
6214 done
6215 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6216 rm -f conftest.i conftest.err conftest.$ac_ext
6217 if $ac_preproc_ok; then :
6218 break
6221 done
6222 ac_cv_prog_CPP=$CPP
6225 CPP=$ac_cv_prog_CPP
6226 else
6227 ac_cv_prog_CPP=$CPP
6229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6230 $as_echo "$CPP" >&6; }
6231 ac_preproc_ok=false
6232 for ac_c_preproc_warn_flag in '' yes
6234 # Use a header file that comes with gcc, so configuring glibc
6235 # with a fresh cross-compiler works.
6236 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6237 # <limits.h> exists even on freestanding compilers.
6238 # On the NeXT, cc -E runs the code through the compiler's parser,
6239 # not just through cpp. "Syntax error" is here to catch this case.
6240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6241 /* end confdefs.h. */
6242 #ifdef __STDC__
6243 # include <limits.h>
6244 #else
6245 # include <assert.h>
6246 #endif
6247 Syntax error
6248 _ACEOF
6249 if ac_fn_c_try_cpp "$LINENO"; then :
6251 else
6252 # Broken: fails on valid input.
6253 continue
6255 rm -f conftest.err conftest.i conftest.$ac_ext
6257 # OK, works on sane cases. Now check whether nonexistent headers
6258 # can be detected and how.
6259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6260 /* end confdefs.h. */
6261 #include <ac_nonexistent.h>
6262 _ACEOF
6263 if ac_fn_c_try_cpp "$LINENO"; then :
6264 # Broken: success on invalid input.
6265 continue
6266 else
6267 # Passes both tests.
6268 ac_preproc_ok=:
6269 break
6271 rm -f conftest.err conftest.i conftest.$ac_ext
6273 done
6274 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6275 rm -f conftest.i conftest.err conftest.$ac_ext
6276 if $ac_preproc_ok; then :
6278 else
6279 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6280 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6281 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6282 See \`config.log' for more details" "$LINENO" 5; }
6285 ac_ext=c
6286 ac_cpp='$CPP $CPPFLAGS'
6287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6293 $as_echo_n "checking for ANSI C header files... " >&6; }
6294 if ${ac_cv_header_stdc+:} false; then :
6295 $as_echo_n "(cached) " >&6
6296 else
6297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6298 /* end confdefs.h. */
6299 #include <stdlib.h>
6300 #include <stdarg.h>
6301 #include <string.h>
6302 #include <float.h>
6305 main ()
6309 return 0;
6311 _ACEOF
6312 if ac_fn_c_try_compile "$LINENO"; then :
6313 ac_cv_header_stdc=yes
6314 else
6315 ac_cv_header_stdc=no
6317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6319 if test $ac_cv_header_stdc = yes; then
6320 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6322 /* end confdefs.h. */
6323 #include <string.h>
6325 _ACEOF
6326 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6327 $EGREP "memchr" >/dev/null 2>&1; then :
6329 else
6330 ac_cv_header_stdc=no
6332 rm -f conftest*
6336 if test $ac_cv_header_stdc = yes; then
6337 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6339 /* end confdefs.h. */
6340 #include <stdlib.h>
6342 _ACEOF
6343 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6344 $EGREP "free" >/dev/null 2>&1; then :
6346 else
6347 ac_cv_header_stdc=no
6349 rm -f conftest*
6353 if test $ac_cv_header_stdc = yes; then
6354 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6355 if test "$cross_compiling" = yes; then :
6357 else
6358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6359 /* end confdefs.h. */
6360 #include <ctype.h>
6361 #include <stdlib.h>
6362 #if ((' ' & 0x0FF) == 0x020)
6363 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6364 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6365 #else
6366 # define ISLOWER(c) \
6367 (('a' <= (c) && (c) <= 'i') \
6368 || ('j' <= (c) && (c) <= 'r') \
6369 || ('s' <= (c) && (c) <= 'z'))
6370 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6371 #endif
6373 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6375 main ()
6377 int i;
6378 for (i = 0; i < 256; i++)
6379 if (XOR (islower (i), ISLOWER (i))
6380 || toupper (i) != TOUPPER (i))
6381 return 2;
6382 return 0;
6384 _ACEOF
6385 if ac_fn_c_try_run "$LINENO"; then :
6387 else
6388 ac_cv_header_stdc=no
6390 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6391 conftest.$ac_objext conftest.beam conftest.$ac_ext
6396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6397 $as_echo "$ac_cv_header_stdc" >&6; }
6398 if test $ac_cv_header_stdc = yes; then
6400 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6404 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6405 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6406 inttypes.h stdint.h unistd.h
6407 do :
6408 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6409 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6411 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6412 cat >>confdefs.h <<_ACEOF
6413 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6414 _ACEOF
6418 done
6421 for ac_header in \
6422 AL/al.h \
6423 ApplicationServices/ApplicationServices.h \
6424 AudioToolbox/AudioConverter.h \
6425 AudioUnit/AudioUnit.h \
6426 AudioUnit/AudioComponent.h \
6427 CL/cl.h \
6428 Carbon/Carbon.h \
6429 CoreAudio/CoreAudio.h \
6430 CoreServices/CoreServices.h \
6431 DiskArbitration/DiskArbitration.h \
6432 IOKit/IOKitLib.h \
6433 IOKit/hid/IOHIDLib.h \
6434 OpenAL/al.h \
6435 OpenCL/opencl.h \
6436 QuickTime/ImageCompression.h \
6437 Security/Security.h \
6438 alias.h \
6439 alsa/asoundlib.h \
6440 arpa/inet.h \
6441 arpa/nameser.h \
6442 asm/types.h \
6443 asm/user.h \
6444 curses.h \
6445 direct.h \
6446 dirent.h \
6447 dlfcn.h \
6448 elf.h \
6449 float.h \
6450 fnmatch.h \
6451 getopt.h \
6452 gettext-po.h \
6453 grp.h \
6454 gsm.h \
6455 gsm/gsm.h \
6456 ieeefp.h \
6457 inet/mib2.h \
6458 io.h \
6459 kstat.h \
6460 lber.h \
6461 ldap.h \
6462 libproc.h \
6463 link.h \
6464 linux/cdrom.h \
6465 linux/compiler.h \
6466 linux/filter.h \
6467 linux/hdreg.h \
6468 linux/input.h \
6469 linux/ioctl.h \
6470 linux/joystick.h \
6471 linux/major.h \
6472 linux/param.h \
6473 linux/serial.h \
6474 linux/types.h \
6475 linux/ucdrom.h \
6476 lwp.h \
6477 mach-o/nlist.h \
6478 mach-o/loader.h \
6479 mach/mach.h \
6480 mach/machine.h \
6481 machine/cpu.h \
6482 machine/limits.h \
6483 machine/sysarch.h \
6484 mntent.h \
6485 ncurses.h \
6486 netdb.h \
6487 netinet/in.h \
6488 netinet/in_systm.h \
6489 netinet/tcp.h \
6490 netinet/tcp_fsm.h \
6491 poll.h \
6492 port.h \
6493 process.h \
6494 pthread.h \
6495 pwd.h \
6496 sched.h \
6497 scsi/scsi.h \
6498 scsi/scsi_ioctl.h \
6499 scsi/sg.h \
6500 stdbool.h \
6501 stdint.h \
6502 stropts.h \
6503 sys/asoundlib.h \
6504 sys/attr.h \
6505 sys/cdio.h \
6506 sys/elf32.h \
6507 sys/epoll.h \
6508 sys/event.h \
6509 sys/exec_elf.h \
6510 sys/filio.h \
6511 sys/inotify.h \
6512 sys/ioctl.h \
6513 sys/ipc.h \
6514 sys/limits.h \
6515 sys/link.h \
6516 sys/mman.h \
6517 sys/modem.h \
6518 sys/msg.h \
6519 sys/mtio.h \
6520 sys/param.h \
6521 sys/poll.h \
6522 sys/prctl.h \
6523 sys/protosw.h \
6524 sys/ptrace.h \
6525 sys/queue.h \
6526 sys/resource.h \
6527 sys/scsiio.h \
6528 sys/shm.h \
6529 sys/signal.h \
6530 sys/socket.h \
6531 sys/socketvar.h \
6532 sys/sockio.h \
6533 sys/statvfs.h \
6534 sys/strtio.h \
6535 sys/syscall.h \
6536 sys/tihdr.h \
6537 sys/time.h \
6538 sys/timeout.h \
6539 sys/times.h \
6540 sys/uio.h \
6541 sys/user.h \
6542 sys/utsname.h \
6543 sys/vm86.h \
6544 sys/wait.h \
6545 syscall.h \
6546 termios.h \
6547 unistd.h \
6548 utime.h \
6549 valgrind/memcheck.h \
6550 valgrind/valgrind.h \
6551 zlib.h
6553 do :
6554 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6555 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6556 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6557 cat >>confdefs.h <<_ACEOF
6558 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6559 _ACEOF
6563 done
6565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6566 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6567 if ${ac_cv_header_stat_broken+:} false; then :
6568 $as_echo_n "(cached) " >&6
6569 else
6570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6571 /* end confdefs.h. */
6572 #include <sys/types.h>
6573 #include <sys/stat.h>
6575 #if defined S_ISBLK && defined S_IFDIR
6576 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6577 #endif
6579 #if defined S_ISBLK && defined S_IFCHR
6580 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6581 #endif
6583 #if defined S_ISLNK && defined S_IFREG
6584 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6585 #endif
6587 #if defined S_ISSOCK && defined S_IFREG
6588 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6589 #endif
6591 _ACEOF
6592 if ac_fn_c_try_compile "$LINENO"; then :
6593 ac_cv_header_stat_broken=no
6594 else
6595 ac_cv_header_stat_broken=yes
6597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6600 $as_echo "$ac_cv_header_stat_broken" >&6; }
6601 if test $ac_cv_header_stat_broken = yes; then
6603 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6609 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6610 do :
6611 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6612 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6613 #ifdef HAVE_SYS_PARAM_H
6614 # include <sys/param.h>
6615 #endif
6617 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6618 cat >>confdefs.h <<_ACEOF
6619 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6620 _ACEOF
6624 done
6627 for ac_header in \
6628 netinet/ip.h \
6629 net/if.h \
6630 net/if_arp.h \
6631 net/if_dl.h \
6632 net/if_types.h \
6633 net/route.h \
6634 netinet/if_ether.h \
6635 netinet/if_inarp.h \
6636 netinet/in_pcb.h \
6637 netinet/ip_icmp.h \
6638 netinet/ip_var.h \
6639 netinet/udp.h \
6640 netipx/ipx.h \
6641 sys/un.h \
6643 do :
6644 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6645 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6646 #ifdef HAVE_SYS_SOCKET_H
6647 # include <sys/socket.h>
6648 #endif
6649 #ifdef HAVE_SYS_SOCKETVAR_H
6650 # include <sys/socketvar.h>
6651 #endif
6652 #ifdef HAVE_NET_ROUTE_H
6653 # include <net/route.h>
6654 #endif
6655 #ifdef HAVE_NETINET_IN_H
6656 # include <netinet/in.h>
6657 #endif
6658 #ifdef HAVE_NETINET_IN_SYSTM_H
6659 # include <netinet/in_systm.h>
6660 #endif
6661 #ifdef HAVE_NET_IF_H
6662 # include <net/if.h>
6663 #endif
6664 #ifdef HAVE_NETINET_IP_H
6665 # include <netinet/ip.h>
6666 #endif
6668 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6669 cat >>confdefs.h <<_ACEOF
6670 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6671 _ACEOF
6675 done
6678 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6679 do :
6680 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6681 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6682 #ifdef HAVE_ALIAS_H
6683 # include <alias.h>
6684 #endif
6685 #ifdef HAVE_SYS_SOCKET_H
6686 # include <sys/socket.h>
6687 #endif
6688 #ifdef HAVE_SYS_SOCKETVAR_H
6689 # include <sys/socketvar.h>
6690 #endif
6691 #ifdef HAVE_SYS_TIMEOUT_H
6692 # include <sys/timeout.h>
6693 #endif
6694 #ifdef HAVE_NETINET_IN_H
6695 # include <netinet/in.h>
6696 #endif
6697 #ifdef HAVE_NETINET_IN_SYSTM_H
6698 # include <netinet/in_systm.h>
6699 #endif
6700 #ifdef HAVE_NETINET_IP_H
6701 # include <netinet/ip.h>
6702 #endif
6703 #ifdef HAVE_NETINET_IP_VAR_H
6704 # include <netinet/ip_var.h>
6705 #endif
6706 #ifdef HAVE_NETINET_IP_ICMP_H
6707 # include <netinet/ip_icmp.h>
6708 #endif
6709 #ifdef HAVE_NETINET_UDP_H
6710 # include <netinet/udp.h>
6711 #endif
6712 #ifdef HAVE_NETINET_TCP_H
6713 # include <netinet/tcp.h>
6714 #endif
6715 #ifdef HAVE_NETINET_TCP_TIMER_H
6716 #include <netinet/tcp_timer.h>
6717 #endif
6719 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6720 cat >>confdefs.h <<_ACEOF
6721 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6722 _ACEOF
6726 done
6729 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6730 do :
6731 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6732 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6733 #ifdef HAVE_ASM_TYPES_H
6734 # include <asm/types.h>
6735 #endif
6736 #ifdef HAVE_SYS_SOCKET_H
6737 # include <sys/socket.h>
6738 #endif
6739 #ifdef HAVE_LINUX_TYPES_H
6740 # include <linux/types.h>
6741 #endif
6743 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6744 cat >>confdefs.h <<_ACEOF
6745 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6746 _ACEOF
6750 done
6753 for ac_header in mach-o/dyld_images.h
6754 do :
6755 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6756 # include <stdbool.h>
6757 #endif
6758 #ifdef HAVE_STDINT_H
6759 # include <stdint.h>
6760 #endif
6762 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6763 cat >>confdefs.h <<_ACEOF
6764 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6765 _ACEOF
6769 done
6772 for ac_header in resolv.h
6773 do :
6774 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6775 #ifdef HAVE_SYS_SOCKET_H
6776 # include <sys/socket.h>
6777 #endif
6778 #ifdef HAVE_NETINET_IN_H
6779 # include <netinet/in.h>
6780 #endif
6781 #ifdef HAVE_ARPA_NAMESER_H
6782 # include <arpa/nameser.h>
6783 #endif
6785 if test "x$ac_cv_header_resolv_h" = xyes; then :
6786 cat >>confdefs.h <<_ACEOF
6787 #define HAVE_RESOLV_H 1
6788 _ACEOF
6792 done
6795 for ac_header in ifaddrs.h
6796 do :
6797 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6799 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6800 cat >>confdefs.h <<_ACEOF
6801 #define HAVE_IFADDRS_H 1
6802 _ACEOF
6806 done
6809 for ac_header in ucontext.h
6810 do :
6811 ac_fn_c_check_header_compile "$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6813 if test "x$ac_cv_header_ucontext_h" = xyes; then :
6814 cat >>confdefs.h <<_ACEOF
6815 #define HAVE_UCONTEXT_H 1
6816 _ACEOF
6820 done
6823 for ac_header in sys/thr.h
6824 do :
6825 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6826 #ifdef HAVE_UCONTEXT_H
6827 #include <ucontext.h>
6828 #endif
6830 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
6831 cat >>confdefs.h <<_ACEOF
6832 #define HAVE_SYS_THR_H 1
6833 _ACEOF
6837 done
6840 for ac_header in pthread_np.h
6841 do :
6842 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6843 #include <pthread.h>
6844 #endif
6846 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
6847 cat >>confdefs.h <<_ACEOF
6848 #define HAVE_PTHREAD_NP_H 1
6849 _ACEOF
6853 done
6856 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
6857 do :
6858 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6859 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6860 #include <sys/time.h>
6861 #endif
6862 #include <sys/types.h>
6863 #ifdef HAVE_ASM_TYPES_H
6864 #include <asm/types.h>
6865 #endif
6867 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6868 cat >>confdefs.h <<_ACEOF
6869 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6870 _ACEOF
6874 done
6877 for ac_header in libprocstat.h
6878 do :
6879 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6880 #include <sys/param.h>
6881 #endif
6882 #ifdef HAVE_SYS_QUEUE_H
6883 #include <sys/queue.h>
6884 #endif
6885 #ifdef HAVE_SYS_SOCKET_H
6886 #include <sys/socket.h>
6887 #endif
6889 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
6890 cat >>confdefs.h <<_ACEOF
6891 #define HAVE_LIBPROCSTAT_H 1
6892 _ACEOF
6896 done
6900 dlldir="\${libdir}/wine"
6902 DLLPREFIX=""
6904 DLLFLAGS="-D_REENTRANT"
6906 LDRPATH_INSTALL=""
6908 LDRPATH_LOCAL=""
6910 LIBEXT="so"
6911 DLLEXT=".so"
6912 IMPLIBEXT="def"
6913 STATIC_IMPLIBEXT="def.a"
6914 # Extract the first word of "ldd", so it can be a program name with args.
6915 set dummy ldd; ac_word=$2
6916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6917 $as_echo_n "checking for $ac_word... " >&6; }
6918 if ${ac_cv_path_LDD+:} false; then :
6919 $as_echo_n "(cached) " >&6
6920 else
6921 case $LDD in
6922 [\\/]* | ?:[\\/]*)
6923 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
6926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6927 as_dummy="/sbin:/usr/sbin:$PATH"
6928 for as_dir in $as_dummy
6930 IFS=$as_save_IFS
6931 test -z "$as_dir" && as_dir=.
6932 for ac_exec_ext in '' $ac_executable_extensions; do
6933 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6934 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
6935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6936 break 2
6938 done
6939 done
6940 IFS=$as_save_IFS
6942 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
6944 esac
6946 LDD=$ac_cv_path_LDD
6947 if test -n "$LDD"; then
6948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6949 $as_echo "$LDD" >&6; }
6950 else
6951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6952 $as_echo "no" >&6; }
6956 if test -n "$ac_tool_prefix"; then
6957 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
6958 set dummy ${ac_tool_prefix}readelf; ac_word=$2
6959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6960 $as_echo_n "checking for $ac_word... " >&6; }
6961 if ${ac_cv_prog_READELF+:} false; then :
6962 $as_echo_n "(cached) " >&6
6963 else
6964 if test -n "$READELF"; then
6965 ac_cv_prog_READELF="$READELF" # Let the user override the test.
6966 else
6967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6968 for as_dir in $PATH
6970 IFS=$as_save_IFS
6971 test -z "$as_dir" && as_dir=.
6972 for ac_exec_ext in '' $ac_executable_extensions; do
6973 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6974 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
6975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6976 break 2
6978 done
6979 done
6980 IFS=$as_save_IFS
6984 READELF=$ac_cv_prog_READELF
6985 if test -n "$READELF"; then
6986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
6987 $as_echo "$READELF" >&6; }
6988 else
6989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6990 $as_echo "no" >&6; }
6995 if test -z "$ac_cv_prog_READELF"; then
6996 ac_ct_READELF=$READELF
6997 # Extract the first word of "readelf", so it can be a program name with args.
6998 set dummy readelf; ac_word=$2
6999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7000 $as_echo_n "checking for $ac_word... " >&6; }
7001 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7002 $as_echo_n "(cached) " >&6
7003 else
7004 if test -n "$ac_ct_READELF"; then
7005 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7006 else
7007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7008 for as_dir in $PATH
7010 IFS=$as_save_IFS
7011 test -z "$as_dir" && as_dir=.
7012 for ac_exec_ext in '' $ac_executable_extensions; do
7013 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7014 ac_cv_prog_ac_ct_READELF="readelf"
7015 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7016 break 2
7018 done
7019 done
7020 IFS=$as_save_IFS
7024 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7025 if test -n "$ac_ct_READELF"; then
7026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7027 $as_echo "$ac_ct_READELF" >&6; }
7028 else
7029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7030 $as_echo "no" >&6; }
7033 if test "x$ac_ct_READELF" = x; then
7034 READELF="true"
7035 else
7036 case $cross_compiling:$ac_tool_warned in
7037 yes:)
7038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7039 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7040 ac_tool_warned=yes ;;
7041 esac
7042 READELF=$ac_ct_READELF
7044 else
7045 READELF="$ac_cv_prog_READELF"
7048 wine_rules_file=conf$$rules.make
7049 rm -f $wine_rules_file
7050 ALL_POT_FILES=""
7051 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7052 ALL_TEST_RESOURCES=""
7055 wine_fn_append_file ()
7057 as_fn_append $1 " \\$as_nl $2"
7060 wine_fn_ignore_file ()
7062 case "$1" in
7063 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7064 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7065 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7066 esac
7069 wine_fn_append_rule ()
7071 $as_echo "$1" >>$wine_rules_file
7074 wine_fn_has_flag ()
7076 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7079 wine_fn_depend_rules ()
7081 wine_fn_append_rule \
7082 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7083 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7084 depend: $ac_dir/depend
7085 .PHONY: $ac_dir/depend
7086 $ac_dir/depend: \$(MAKEDEP) dummy
7087 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7090 wine_fn_pot_rules ()
7092 test "x$with_gettextpo" = xyes || return
7094 if wine_fn_has_flag mc
7095 then
7096 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7097 wine_fn_append_rule \
7098 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7099 @cd $ac_dir && \$(MAKE) msg.pot
7100 $ac_dir/msg.pot: tools/wmc include"
7102 if wine_fn_has_flag po
7103 then
7104 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7105 wine_fn_append_rule \
7106 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7107 @cd $ac_dir && \$(MAKE) rsrc.pot
7108 $ac_dir/rsrc.pot: tools/wrc include"
7112 wine_fn_all_rules ()
7114 wine_fn_depend_rules
7115 wine_fn_append_rule \
7116 "all: $ac_dir
7117 .PHONY: $ac_dir
7118 $ac_dir: $ac_dir/Makefile dummy
7119 @cd $ac_dir && \$(MAKE)"
7122 wine_fn_install_rules ()
7124 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7126 wine_fn_append_rule \
7127 ".PHONY: $ac_dir/install $ac_dir/uninstall
7128 $ac_dir/install:: $ac_dir
7129 @cd $ac_dir && \$(MAKE) install
7130 $ac_dir/uninstall:: $ac_dir/Makefile
7131 @cd $ac_dir && \$(MAKE) uninstall
7132 install:: $ac_dir/install
7133 __uninstall__: $ac_dir/uninstall"
7135 if wine_fn_has_flag install-lib
7136 then
7137 wine_fn_append_rule \
7138 ".PHONY: $ac_dir/install-lib
7139 $ac_dir/install-lib:: $ac_dir
7140 @cd $ac_dir && \$(MAKE) install-lib
7141 install-lib:: $ac_dir/install-lib"
7144 if wine_fn_has_flag install-dev
7145 then
7146 wine_fn_append_rule \
7147 ".PHONY: $ac_dir/install-dev
7148 $ac_dir/install-dev:: $ac_dir
7149 @cd $ac_dir && \$(MAKE) install-dev
7150 install-dev:: $ac_dir/install-dev"
7154 wine_fn_clean_rules ()
7156 ac_clean=$@
7157 ac_extraclean="$ac_dir/Makefile"
7158 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7159 case $ac_dir in
7160 */tests) ac_extraclean="$ac_extraclean $ac_dir/testlist.c" ;;
7161 esac
7163 if wine_fn_has_flag clean
7164 then
7165 wine_fn_append_rule \
7166 "__clean__: $ac_dir/clean
7167 .PHONY: $ac_dir/clean
7168 $ac_dir/clean: $ac_dir/Makefile
7169 @cd $ac_dir && \$(MAKE) clean
7170 \$(RM) $ac_extraclean"
7171 else
7172 wine_fn_append_rule \
7173 "__clean__: $ac_dir/clean
7174 .PHONY: $ac_dir/clean
7175 $ac_dir/clean: dummy
7176 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7180 wine_fn_disabled_rules ()
7182 ac_clean=$@
7183 ac_extraclean="$ac_dir/Makefile"
7184 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7186 wine_fn_append_rule \
7187 "__clean__: $ac_dir/clean
7188 .PHONY: $ac_dir/clean
7189 $ac_dir/clean: dummy
7190 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7193 wine_fn_config_makefile ()
7195 ac_dir=$1
7196 ac_enable=$2
7197 ac_flags=$3
7199 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7200 wine_fn_disabled_rules; return
7202 wine_fn_all_rules
7203 wine_fn_install_rules
7204 wine_fn_clean_rules
7207 wine_fn_config_lib ()
7209 ac_name=$1
7210 ac_flags=$2
7211 ac_dir=dlls/$ac_name
7212 ac_deps="include"
7214 if test "x$enable_tools" = xno; then :
7216 else
7217 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7219 wine_fn_all_rules
7220 wine_fn_clean_rules
7222 wine_fn_append_rule \
7223 ".PHONY: $ac_dir/install $ac_dir/uninstall
7224 $ac_dir/install:: $ac_dir
7225 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7226 $ac_dir/uninstall::
7227 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7228 install install-dev:: $ac_dir/install
7229 __uninstall__: $ac_dir/uninstall
7230 __builddeps__: $ac_dir
7231 $ac_dir: $ac_deps"
7234 wine_fn_config_dll ()
7236 ac_name=$1
7237 ac_dir=dlls/$ac_name
7238 ac_enable=$2
7239 ac_flags=$3
7240 ac_implib=${4:-$ac_name}
7241 ac_file=$ac_dir/lib$ac_implib
7242 ac_dll=$ac_name
7243 ac_deps="include"
7244 ac_implibflags=""
7246 if test "x$enable_tools" = xno; then :
7248 else
7249 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7251 case $ac_name in
7252 *16) ac_implibflags=" -m16" ;;
7253 *.*) ;;
7254 *) ac_dll=$ac_dll.dll ;;
7255 esac
7257 ac_clean=
7258 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7259 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7260 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7261 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7263 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7264 if wine_fn_has_flag implib && test "$ac_enable" != enable_win16
7265 then
7266 wine_fn_depend_rules
7267 wine_fn_clean_rules $ac_clean
7268 else
7269 wine_fn_disabled_rules $ac_clean
7270 return
7272 else
7273 wine_fn_all_rules
7274 wine_fn_clean_rules $ac_clean
7275 wine_fn_append_rule \
7276 "$ac_dir: __builddeps__
7277 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7278 @cd $ac_dir && \$(MAKE) \$@
7279 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7280 install install-lib:: $ac_dir/install-lib
7281 __uninstall__: $ac_dir/uninstall"
7282 if test -n "$DLLEXT"
7283 then
7284 wine_fn_append_rule \
7285 "$ac_dir/install-lib:: $ac_dir
7286 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7287 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7288 $ac_dir/uninstall::
7289 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7290 else
7291 wine_fn_append_rule \
7292 "$ac_dir/install-lib:: $ac_dir
7293 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7294 $ac_dir/uninstall::
7295 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7298 wine_fn_pot_rules
7301 if wine_fn_has_flag staticimplib
7302 then
7303 wine_fn_append_rule \
7304 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7305 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7306 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7307 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7308 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7309 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7310 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7311 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7312 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7313 $ac_dir/uninstall::
7314 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7315 install install-dev:: $ac_dir/install-dev
7316 __uninstall__: $ac_dir/uninstall"
7318 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7319 then
7320 wine_fn_append_rule \
7321 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7322 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7323 $ac_dir/uninstall::
7324 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7327 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7328 then
7329 wine_fn_append_rule \
7330 "__builddeps__: $ac_file.cross.a
7331 $ac_file.cross.a: $ac_dir/Makefile dummy
7332 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7335 elif wine_fn_has_flag implib
7336 then
7337 wine_fn_append_rule \
7338 "__builddeps__: $ac_file.$IMPLIBEXT
7339 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7340 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7341 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7342 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7343 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7344 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7345 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7346 $ac_dir/uninstall::
7347 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7348 install install-dev:: $ac_dir/install-dev
7349 __uninstall__: $ac_dir/uninstall"
7350 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7351 then
7352 wine_fn_append_rule \
7353 "__builddeps__: $ac_file.cross.a
7354 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7355 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7358 if test "$ac_name" != "$ac_implib"
7359 then
7360 wine_fn_append_rule \
7361 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7362 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7363 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7364 clean::
7365 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7366 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7367 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7368 then
7369 wine_fn_append_rule \
7370 "__builddeps__: dlls/lib$ac_implib.cross.a
7371 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7372 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7373 clean::
7374 \$(RM) dlls/lib$ac_implib.cross.a"
7375 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7381 wine_fn_config_program ()
7383 ac_name=$1
7384 ac_dir=programs/$ac_name
7385 ac_enable=$2
7386 ac_flags=$3
7387 ac_program=$ac_name
7389 case $ac_name in
7390 *.*) ;;
7391 *) ac_program=$ac_program.exe ;;
7392 esac
7394 ac_clean=
7395 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7396 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7397 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7398 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7400 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7401 wine_fn_disabled_rules $ac_clean; return
7404 wine_fn_all_rules
7405 wine_fn_clean_rules $ac_clean
7406 wine_fn_append_rule "$ac_dir: __builddeps__"
7407 wine_fn_pot_rules
7409 wine_fn_has_flag install || return
7410 wine_fn_append_rule \
7411 ".PHONY: $ac_dir/install $ac_dir/uninstall
7412 install install-lib:: $ac_dir/install
7413 __uninstall__: $ac_dir/uninstall"
7415 if test -n "$DLLEXT"
7416 then
7417 wine_fn_append_rule \
7418 "$ac_dir/install:: $ac_dir
7419 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7420 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7421 $ac_dir/uninstall::
7422 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7424 if test -z "$with_wine64" && wine_fn_has_flag installbin
7425 then
7426 wine_fn_append_rule \
7427 "$ac_dir/install:: __tooldeps__
7428 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7429 $ac_dir/uninstall::
7430 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7432 else
7433 wine_fn_append_rule \
7434 "$ac_dir/install:: $ac_dir
7435 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7436 $ac_dir/uninstall::
7437 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7440 if test -z "$with_wine64" && wine_fn_has_flag manpage
7441 then
7442 wine_fn_append_rule \
7443 "$ac_dir/install:: $ac_dir
7444 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7445 $ac_dir/uninstall::
7446 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7450 wine_fn_config_test ()
7452 ac_dir=$1
7453 ac_name=$2
7454 ac_flags=$3
7456 ac_clean=
7457 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7458 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7460 if test "x$enable_tests" = xno; then :
7461 wine_fn_disabled_rules $ac_clean; return
7464 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7465 wine_fn_all_rules
7466 wine_fn_clean_rules $ac_clean
7468 wine_fn_append_rule \
7469 "$ac_dir: programs/winetest/Makefile __builddeps__
7470 programs/winetest: $ac_dir
7471 check test: $ac_dir/test
7472 .PHONY: $ac_dir/test
7473 $ac_dir/test: dummy
7474 @cd $ac_dir && \$(MAKE) test
7475 testclean::
7476 \$(RM) $ac_dir/*.ok"
7478 if test -n "$CROSSTARGET"
7479 then
7480 wine_fn_append_rule \
7481 "crosstest: $ac_dir/crosstest
7482 .PHONY: $ac_dir/crosstest
7483 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7484 @cd $ac_dir && \$(MAKE) crosstest"
7488 wine_fn_config_tool ()
7490 ac_dir=$1
7491 ac_flags=$2
7492 if test "x$enable_tools" = xno; then :
7493 return
7496 wine_fn_all_rules
7497 wine_fn_install_rules
7498 wine_fn_clean_rules
7500 wine_fn_append_rule "__tooldeps__: $ac_dir"
7501 wine_fn_append_rule "$ac_dir: libs/port"
7502 case $ac_dir in
7503 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7504 esac
7507 wine_fn_config_symlink ()
7509 ac_linkdir=
7510 if test "x$1" = "x-d"
7511 then
7512 ac_linkdir=$2
7513 shift; shift
7515 ac_links=$@
7516 wine_fn_append_rule \
7517 "$ac_links:
7518 @./config.status \$@
7519 distclean::
7520 \$(RM) $ac_links"
7521 for f in $ac_links; do wine_fn_ignore_file $f; done
7522 test -n "$ac_linkdir" || return
7523 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7526 wine_binary="wine"
7527 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7528 loader_programs="$wine_binary wine-installed"
7529 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7531 LOADER_RULES="
7532 install install-lib:: wine-installed
7533 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7535 uninstall::
7536 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7540 case $host_os in
7541 cygwin*|mingw32*)
7542 if test -n "$ac_tool_prefix"; then
7543 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7544 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7546 $as_echo_n "checking for $ac_word... " >&6; }
7547 if ${ac_cv_prog_DLLTOOL+:} false; then :
7548 $as_echo_n "(cached) " >&6
7549 else
7550 if test -n "$DLLTOOL"; then
7551 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7552 else
7553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7554 for as_dir in $PATH
7556 IFS=$as_save_IFS
7557 test -z "$as_dir" && as_dir=.
7558 for ac_exec_ext in '' $ac_executable_extensions; do
7559 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7560 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7562 break 2
7564 done
7565 done
7566 IFS=$as_save_IFS
7570 DLLTOOL=$ac_cv_prog_DLLTOOL
7571 if test -n "$DLLTOOL"; then
7572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7573 $as_echo "$DLLTOOL" >&6; }
7574 else
7575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7576 $as_echo "no" >&6; }
7581 if test -z "$ac_cv_prog_DLLTOOL"; then
7582 ac_ct_DLLTOOL=$DLLTOOL
7583 # Extract the first word of "dlltool", so it can be a program name with args.
7584 set dummy dlltool; ac_word=$2
7585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7586 $as_echo_n "checking for $ac_word... " >&6; }
7587 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7588 $as_echo_n "(cached) " >&6
7589 else
7590 if test -n "$ac_ct_DLLTOOL"; then
7591 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7592 else
7593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7594 for as_dir in $PATH
7596 IFS=$as_save_IFS
7597 test -z "$as_dir" && as_dir=.
7598 for ac_exec_ext in '' $ac_executable_extensions; do
7599 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7600 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7602 break 2
7604 done
7605 done
7606 IFS=$as_save_IFS
7610 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7611 if test -n "$ac_ct_DLLTOOL"; then
7612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7613 $as_echo "$ac_ct_DLLTOOL" >&6; }
7614 else
7615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7616 $as_echo "no" >&6; }
7619 if test "x$ac_ct_DLLTOOL" = x; then
7620 DLLTOOL="false"
7621 else
7622 case $cross_compiling:$ac_tool_warned in
7623 yes:)
7624 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7625 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7626 ac_tool_warned=yes ;;
7627 esac
7628 DLLTOOL=$ac_ct_DLLTOOL
7630 else
7631 DLLTOOL="$ac_cv_prog_DLLTOOL"
7634 LIBEXT="dll"
7635 DLLEXT=""
7636 IMPLIBEXT="a"
7637 STATIC_IMPLIBEXT="a"
7638 enable_iphlpapi=${enable_iphlpapi:-no}
7639 enable_kernel32=${enable_kernel32:-no}
7640 enable_msvcrt=${enable_msvcrt:-no}
7641 enable_ntdll=${enable_ntdll:-no}
7642 enable_ws2_32=${enable_ws2_32:-no}
7643 enable_loader=${enable_loader:-no}
7644 enable_server=${enable_server:-no}
7645 with_x=${with_x:-no}
7646 with_pthread=${with_pthread:-no}
7648 crtlibs=""
7649 case $host_os in
7650 mingw32*)
7651 crtlibs="-lmsvcrt"
7652 SOCKET_LIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7654 esac
7656 libwine_targets="libwine.dll libwine.a"
7657 LIBWINE_RULES="
7658 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7660 all: libwine.dll libwine.a
7662 libwine.a: \$(srcdir)/wine.def
7663 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7665 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7666 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7668 install install-lib:: libwine.dll
7669 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7671 install install-dev:: libwine.a
7672 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7674 uninstall::
7675 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7680 darwin*|macosx*)
7681 LIBEXT="dylib"
7682 DLLFLAGS="$DLLFLAGS -fPIC"
7683 LIBWINE_LDFLAGS="-multiply_defined suppress"
7684 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7685 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7686 COREFOUNDATION_LIBS="-framework CoreFoundation"
7688 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7690 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7692 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7694 CORESERVICES_LIBS="-framework CoreServices"
7696 APPKIT_LIBS="-framework AppKit"
7698 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7699 case $host_os in
7700 darwin11*) LDEXECFLAGS="-Wl,-macosx_version_min,10.6 $LDEXECFLAGS" ;;
7701 esac
7702 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7703 then
7704 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
7707 if test "$ac_cv_header_Security_Security_h" = "yes"
7708 then
7709 SECURITY_LIBS="-framework Security -framework CoreFoundation"
7711 ac_save_LIBS="$LIBS"
7712 LIBS="$LIBS $SECURITY_LIBS"
7713 for ac_func in SSLCopyPeerCertificates
7714 do :
7715 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7716 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
7717 cat >>confdefs.h <<_ACEOF
7718 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7719 _ACEOF
7722 done
7724 LIBS="$ac_save_LIBS"
7725 with_gnutls=${with_gnutls:-no}
7727 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7728 then
7729 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7730 then
7731 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7733 else
7734 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7737 ac_save_LIBS="$LIBS"
7738 LIBS="$LIBS $COREAUDIO_LIBS"
7739 for ac_func in AUGraphAddNode
7740 do :
7741 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7742 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
7743 cat >>confdefs.h <<_ACEOF
7744 #define HAVE_AUGRAPHADDNODE 1
7745 _ACEOF
7748 done
7750 LIBS="$ac_save_LIBS"
7752 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7753 then
7754 OPENAL_LIBS="-framework OpenAL"
7757 cat >>confdefs.h <<_ACEOF
7758 #define HAVE_OPENAL 1
7759 _ACEOF
7761 ac_cv_lib_openal=yes
7763 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7764 then
7765 OPENCL_LIBS="-framework OpenCL"
7767 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
7769 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7770 then
7771 ac_save_LIBS="$LIBS"
7772 LIBS="$LIBS $IOKIT_LIBS"
7773 for ac_func in IOHIDManagerCreate
7774 do :
7775 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7776 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
7777 cat >>confdefs.h <<_ACEOF
7778 #define HAVE_IOHIDMANAGERCREATE 1
7779 _ACEOF
7782 done
7784 LIBS="$ac_save_LIBS"
7786 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7787 then
7788 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7790 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
7791 else
7792 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7794 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7795 then
7796 CARBON_LIBS="-framework Carbon"
7800 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7801 then
7802 ac_save_LIBS="$LIBS"
7803 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
7804 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7805 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
7806 enable_winemac_drv=${enable_winemac_drv:-yes}
7809 LIBS="$ac_save_LIBS"
7812 if test "x$enable_win16" = "xyes"
7813 then
7814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7815 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7816 if test "$cross_compiling" = yes; then :
7817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7818 $as_echo "cross-compiling, assuming yes" >&6; }
7819 else
7820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7821 /* end confdefs.h. */
7822 asm(".text\n"
7823 "bad:\tnop;nop\n"
7824 "good:\tnop;nop\n\t"
7825 ".globl _testfunc\n"
7826 "_testfunc:\tcallw good");
7827 extern void testfunc();
7829 main ()
7831 unsigned short *p = (unsigned short *)testfunc;
7832 return p[0] != 0xe866 || p[1] != 0xfffa
7834 return 0;
7836 _ACEOF
7837 if ac_fn_c_try_run "$LINENO"; then :
7838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7839 $as_echo "yes" >&6; }
7840 else
7841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7842 $as_echo "no" >&6; }
7843 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
7845 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7846 conftest.$ac_objext conftest.beam conftest.$ac_ext
7851 libwine_targets="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
7852 LIBWINE_RULES="
7853 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7855 all: libwine.dylib
7857 libwine.$libwine_version.dylib: \$(OBJS)
7858 \$(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 \$@
7860 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
7861 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
7863 libwine.dylib: libwine.$libwine_soversion.dylib
7864 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
7866 install install-lib:: libwine.$libwine_version.dylib
7867 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
7868 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
7870 install install-dev::
7871 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
7873 uninstall::
7874 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
7878 as_fn_append LOADER_RULES "
7879 $wine_binary: main.o wine_info.plist
7880 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7882 wine-installed: main.o wine_info.plist
7883 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7887 linux-android*)
7888 DLLFLAGS="$DLLFLAGS -fPIC"
7889 DLLPREFIX="lib"
7890 LDEXECFLAGS=""
7891 dlldir="\${libdir}"
7892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7893 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7894 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
7895 $as_echo_n "(cached) " >&6
7896 else
7897 ac_wine_try_cflags_saved=$CFLAGS
7898 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
7899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7900 /* end confdefs.h. */
7901 int main(int argc, char **argv) { return 0; }
7902 _ACEOF
7903 if ac_fn_c_try_link "$LINENO"; then :
7904 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
7905 else
7906 ac_cv_cflags__fPIC__Wl___export_dynamic=no
7908 rm -f core conftest.err conftest.$ac_objext \
7909 conftest$ac_exeext conftest.$ac_ext
7910 CFLAGS=$ac_wine_try_cflags_saved
7912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7913 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7914 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
7915 LDEXECFLAGS="-Wl,--export-dynamic"
7917 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7919 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7920 if eval \${$as_ac_var+:} false; then :
7921 $as_echo_n "(cached) " >&6
7922 else
7923 ac_wine_try_cflags_saved=$CFLAGS
7924 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7926 /* end confdefs.h. */
7927 int main(int argc, char **argv) { return 0; }
7928 _ACEOF
7929 if ac_fn_c_try_link "$LINENO"; then :
7930 eval "$as_ac_var=yes"
7931 else
7932 eval "$as_ac_var=no"
7934 rm -f core conftest.err conftest.$ac_objext \
7935 conftest$ac_exeext conftest.$ac_ext
7936 CFLAGS=$ac_wine_try_cflags_saved
7938 eval ac_res=\$$as_ac_var
7939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7940 $as_echo "$ac_res" >&6; }
7941 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
7942 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7943 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7944 else
7945 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7947 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7948 if eval \${$as_ac_var+:} false; then :
7949 $as_echo_n "(cached) " >&6
7950 else
7951 ac_wine_try_cflags_saved=$CFLAGS
7952 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7954 /* end confdefs.h. */
7955 int main(int argc, char **argv) { return 0; }
7956 _ACEOF
7957 if ac_fn_c_try_link "$LINENO"; then :
7958 eval "$as_ac_var=yes"
7959 else
7960 eval "$as_ac_var=no"
7962 rm -f core conftest.err conftest.$ac_objext \
7963 conftest$ac_exeext conftest.$ac_ext
7964 CFLAGS=$ac_wine_try_cflags_saved
7966 eval ac_res=\$$as_ac_var
7967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7968 $as_echo "$ac_res" >&6; }
7969 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
7970 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7971 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7976 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7977 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
7978 $as_echo_n "(cached) " >&6
7979 else
7980 ac_wine_try_cflags_saved=$CFLAGS
7981 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
7982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7983 /* end confdefs.h. */
7984 int main(int argc, char **argv) { return 0; }
7985 _ACEOF
7986 if ac_fn_c_try_link "$LINENO"; then :
7987 ac_cv_cflags__Wl___enable_new_dtags=yes
7988 else
7989 ac_cv_cflags__Wl___enable_new_dtags=no
7991 rm -f core conftest.err conftest.$ac_objext \
7992 conftest$ac_exeext conftest.$ac_ext
7993 CFLAGS=$ac_wine_try_cflags_saved
7995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7996 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7997 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
7998 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8001 case $host_cpu in
8002 *i[3456789]86* | x86_64)
8003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8004 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8005 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8006 $as_echo_n "(cached) " >&6
8007 else
8008 ac_wine_try_cflags_saved=$CFLAGS
8009 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8011 /* end confdefs.h. */
8012 int main(int argc, char **argv) { return 0; }
8013 _ACEOF
8014 if ac_fn_c_try_link "$LINENO"; then :
8015 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8016 else
8017 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8019 rm -f core conftest.err conftest.$ac_objext \
8020 conftest$ac_exeext conftest.$ac_ext
8021 CFLAGS=$ac_wine_try_cflags_saved
8023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8024 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8025 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8026 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8029 esac
8031 libwine_targets="libwine.so"
8032 LIBWINE_RULES="
8033 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8035 all: libwine.so
8037 libwine.so: \$(OBJS)
8038 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8040 install install-lib:: libwine.so
8041 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8043 uninstall::
8044 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8048 as_fn_append LOADER_RULES "
8049 $wine_binary: main.o
8050 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8052 wine-installed: main.o
8053 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8058 DLLFLAGS="$DLLFLAGS -fPIC"
8059 LDEXECFLAGS=""
8060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8061 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8062 if ${ac_cv_c_dll_gnuelf+:} false; then :
8063 $as_echo_n "(cached) " >&6
8064 else
8065 ac_wine_try_cflags_saved=$CFLAGS
8066 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8068 /* end confdefs.h. */
8069 void myfunc() {}
8070 _ACEOF
8071 if ac_fn_c_try_link "$LINENO"; then :
8072 ac_cv_c_dll_gnuelf="yes"
8073 else
8074 ac_cv_c_dll_gnuelf="no"
8076 rm -f core conftest.err conftest.$ac_objext \
8077 conftest$ac_exeext conftest.$ac_ext
8078 CFLAGS=$ac_wine_try_cflags_saved
8080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8081 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8082 if test "$ac_cv_c_dll_gnuelf" = "yes"
8083 then
8084 LDSHARED="\$(CC) -shared"
8085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8086 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8087 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8088 $as_echo_n "(cached) " >&6
8089 else
8090 ac_wine_try_cflags_saved=$CFLAGS
8091 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8093 /* end confdefs.h. */
8094 int main(int argc, char **argv) { return 0; }
8095 _ACEOF
8096 if ac_fn_c_try_link "$LINENO"; then :
8097 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8098 else
8099 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8101 rm -f core conftest.err conftest.$ac_objext \
8102 conftest$ac_exeext conftest.$ac_ext
8103 CFLAGS=$ac_wine_try_cflags_saved
8105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8106 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8107 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8108 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8109 else
8110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8111 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8112 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8113 $as_echo_n "(cached) " >&6
8114 else
8115 ac_wine_try_cflags_saved=$CFLAGS
8116 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8118 /* end confdefs.h. */
8119 int main(int argc, char **argv) { return 0; }
8120 _ACEOF
8121 if ac_fn_c_try_link "$LINENO"; then :
8122 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8123 else
8124 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8126 rm -f core conftest.err conftest.$ac_objext \
8127 conftest$ac_exeext conftest.$ac_ext
8128 CFLAGS=$ac_wine_try_cflags_saved
8130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8131 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8132 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8133 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8137 echo '{ global: *; };' >conftest.map
8138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8139 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8140 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8141 $as_echo_n "(cached) " >&6
8142 else
8143 ac_wine_try_cflags_saved=$CFLAGS
8144 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8146 /* end confdefs.h. */
8147 int main(int argc, char **argv) { return 0; }
8148 _ACEOF
8149 if ac_fn_c_try_link "$LINENO"; then :
8150 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8151 else
8152 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8154 rm -f core conftest.err conftest.$ac_objext \
8155 conftest$ac_exeext conftest.$ac_ext
8156 CFLAGS=$ac_wine_try_cflags_saved
8158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8159 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8160 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8161 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8163 rm -f conftest.map
8165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8166 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8167 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8168 $as_echo_n "(cached) " >&6
8169 else
8170 ac_wine_try_cflags_saved=$CFLAGS
8171 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8173 /* end confdefs.h. */
8174 int main(int argc, char **argv) { return 0; }
8175 _ACEOF
8176 if ac_fn_c_try_link "$LINENO"; then :
8177 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8178 else
8179 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8181 rm -f core conftest.err conftest.$ac_objext \
8182 conftest$ac_exeext conftest.$ac_ext
8183 CFLAGS=$ac_wine_try_cflags_saved
8185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8186 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8187 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8188 LDEXECFLAGS="-Wl,--export-dynamic"
8191 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8193 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8194 if eval \${$as_ac_var+:} false; then :
8195 $as_echo_n "(cached) " >&6
8196 else
8197 ac_wine_try_cflags_saved=$CFLAGS
8198 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8200 /* end confdefs.h. */
8201 int main(int argc, char **argv) { return 0; }
8202 _ACEOF
8203 if ac_fn_c_try_link "$LINENO"; then :
8204 eval "$as_ac_var=yes"
8205 else
8206 eval "$as_ac_var=no"
8208 rm -f core conftest.err conftest.$ac_objext \
8209 conftest$ac_exeext conftest.$ac_ext
8210 CFLAGS=$ac_wine_try_cflags_saved
8212 eval ac_res=\$$as_ac_var
8213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8214 $as_echo "$ac_res" >&6; }
8215 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8216 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8217 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8218 else
8219 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8221 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8222 if eval \${$as_ac_var+:} false; then :
8223 $as_echo_n "(cached) " >&6
8224 else
8225 ac_wine_try_cflags_saved=$CFLAGS
8226 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8228 /* end confdefs.h. */
8229 int main(int argc, char **argv) { return 0; }
8230 _ACEOF
8231 if ac_fn_c_try_link "$LINENO"; then :
8232 eval "$as_ac_var=yes"
8233 else
8234 eval "$as_ac_var=no"
8236 rm -f core conftest.err conftest.$ac_objext \
8237 conftest$ac_exeext conftest.$ac_ext
8238 CFLAGS=$ac_wine_try_cflags_saved
8240 eval ac_res=\$$as_ac_var
8241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8242 $as_echo "$ac_res" >&6; }
8243 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8244 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8245 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8250 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8251 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8252 $as_echo_n "(cached) " >&6
8253 else
8254 ac_wine_try_cflags_saved=$CFLAGS
8255 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8257 /* end confdefs.h. */
8258 int main(int argc, char **argv) { return 0; }
8259 _ACEOF
8260 if ac_fn_c_try_link "$LINENO"; then :
8261 ac_cv_cflags__Wl___enable_new_dtags=yes
8262 else
8263 ac_cv_cflags__Wl___enable_new_dtags=no
8265 rm -f core conftest.err conftest.$ac_objext \
8266 conftest$ac_exeext conftest.$ac_ext
8267 CFLAGS=$ac_wine_try_cflags_saved
8269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8270 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8271 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8272 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8275 case $host_cpu in
8276 *i[3456789]86* | x86_64)
8277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8278 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8279 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8280 $as_echo_n "(cached) " >&6
8281 else
8282 ac_wine_try_cflags_saved=$CFLAGS
8283 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8285 /* end confdefs.h. */
8286 int main(int argc, char **argv) { return 0; }
8287 _ACEOF
8288 if ac_fn_c_try_link "$LINENO"; then :
8289 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8290 else
8291 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8293 rm -f core conftest.err conftest.$ac_objext \
8294 conftest$ac_exeext conftest.$ac_ext
8295 CFLAGS=$ac_wine_try_cflags_saved
8297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8298 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8299 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8300 case $host_os in
8301 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8302 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8303 esac
8306 # Extract the first word of "prelink", so it can be a program name with args.
8307 set dummy prelink; ac_word=$2
8308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8309 $as_echo_n "checking for $ac_word... " >&6; }
8310 if ${ac_cv_path_PRELINK+:} false; then :
8311 $as_echo_n "(cached) " >&6
8312 else
8313 case $PRELINK in
8314 [\\/]* | ?:[\\/]*)
8315 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8319 for as_dir in /sbin /usr/sbin $PATH
8321 IFS=$as_save_IFS
8322 test -z "$as_dir" && as_dir=.
8323 for ac_exec_ext in '' $ac_executable_extensions; do
8324 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8325 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8326 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8327 break 2
8329 done
8330 done
8331 IFS=$as_save_IFS
8333 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8335 esac
8337 PRELINK=$ac_cv_path_PRELINK
8338 if test -n "$PRELINK"; then
8339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8340 $as_echo "$PRELINK" >&6; }
8341 else
8342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8343 $as_echo "no" >&6; }
8347 if test "x$PRELINK" = xfalse
8348 then
8349 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
8352 esac
8354 else
8355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8356 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8357 if ${ac_cv_c_dll_unixware+:} false; then :
8358 $as_echo_n "(cached) " >&6
8359 else
8360 ac_wine_try_cflags_saved=$CFLAGS
8361 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8363 /* end confdefs.h. */
8364 void myfunc() {}
8365 _ACEOF
8366 if ac_fn_c_try_link "$LINENO"; then :
8367 ac_cv_c_dll_unixware="yes"
8368 else
8369 ac_cv_c_dll_unixware="no"
8371 rm -f core conftest.err conftest.$ac_objext \
8372 conftest$ac_exeext conftest.$ac_ext
8373 CFLAGS=$ac_wine_try_cflags_saved
8375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8376 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8377 if test "$ac_cv_c_dll_unixware" = "yes"
8378 then
8379 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8382 libwine_targets="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8383 LIBWINE_RULES="
8384 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8386 all: libwine.so
8388 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8389 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8391 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8392 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8394 libwine.so: libwine.so.$libwine_soversion
8395 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8397 install install-lib:: libwine.so.$libwine_version
8398 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8399 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8401 install install-dev::
8402 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8404 uninstall::
8405 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8409 as_fn_append LOADER_RULES "
8410 $wine_binary: main.o
8411 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8413 wine-installed: main.o
8414 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8417 esac
8419 as_fn_append LIBWINE_RULES "
8420 EXTRA_TARGETS = $libwine_targets
8423 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8424 enable_winemac_drv=${enable_winemac_drv:-no}
8426 CROSSTARGET=""
8428 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8429 then
8430 case "$host_cpu" in
8431 i[3456789]86*)
8432 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
8433 mingw32-gcc" ;;
8434 x86_64)
8435 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 " ;;
8437 ac_prefix_list="" ;;
8438 esac
8439 for ac_prog in $ac_prefix_list
8441 # Extract the first word of "$ac_prog", so it can be a program name with args.
8442 set dummy $ac_prog; ac_word=$2
8443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8444 $as_echo_n "checking for $ac_word... " >&6; }
8445 if ${ac_cv_prog_CROSSCC+:} false; then :
8446 $as_echo_n "(cached) " >&6
8447 else
8448 if test -n "$CROSSCC"; then
8449 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8450 else
8451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8452 for as_dir in $PATH
8454 IFS=$as_save_IFS
8455 test -z "$as_dir" && as_dir=.
8456 for ac_exec_ext in '' $ac_executable_extensions; do
8457 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8458 ac_cv_prog_CROSSCC="$ac_prog"
8459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8460 break 2
8462 done
8463 done
8464 IFS=$as_save_IFS
8468 CROSSCC=$ac_cv_prog_CROSSCC
8469 if test -n "$CROSSCC"; then
8470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8471 $as_echo "$CROSSCC" >&6; }
8472 else
8473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8474 $as_echo "no" >&6; }
8478 test -n "$CROSSCC" && break
8479 done
8480 test -n "$CROSSCC" || CROSSCC="false"
8482 if test "$CROSSCC" != "false"
8483 then
8484 ac_save_CC="$CC"
8485 CC="$CROSSCC"
8486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8487 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8489 /* end confdefs.h. */
8492 main ()
8496 return 0;
8498 _ACEOF
8499 if ac_fn_c_try_compile "$LINENO"; then :
8500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8501 $as_echo "yes" >&6; }
8502 set x $CROSSCC
8503 shift
8504 while test $# -ge 1
8506 case "$1" in
8507 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8508 esac
8509 shift
8510 done
8511 else
8512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8513 $as_echo "no" >&6; }
8515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8516 CC="$ac_save_CC"
8521 if test "$ac_cv_header_pthread_h" = "yes"
8522 then
8523 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8524 if test "x$ac_cv_func_pthread_create" = xyes; then :
8526 else
8527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8528 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8529 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8530 $as_echo_n "(cached) " >&6
8531 else
8532 ac_check_lib_save_LIBS=$LIBS
8533 LIBS="-lpthread $LIBS"
8534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8535 /* end confdefs.h. */
8537 /* Override any GCC internal prototype to avoid an error.
8538 Use char because int might match the return type of a GCC
8539 builtin and then its argument prototype would still apply. */
8540 #ifdef __cplusplus
8541 extern "C"
8542 #endif
8543 char pthread_create ();
8545 main ()
8547 return pthread_create ();
8549 return 0;
8551 _ACEOF
8552 if ac_fn_c_try_link "$LINENO"; then :
8553 ac_cv_lib_pthread_pthread_create=yes
8554 else
8555 ac_cv_lib_pthread_pthread_create=no
8557 rm -f core conftest.err conftest.$ac_objext \
8558 conftest$ac_exeext conftest.$ac_ext
8559 LIBS=$ac_check_lib_save_LIBS
8561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8562 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8563 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8564 PTHREAD_LIBS="-lpthread"
8571 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8572 case "x$with_pthread" in
8573 xno) ;;
8574 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8575 Wine cannot support threads without libpthread.
8576 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8577 esac
8581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8582 $as_echo_n "checking for X... " >&6; }
8585 # Check whether --with-x was given.
8586 if test "${with_x+set}" = set; then :
8587 withval=$with_x;
8590 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8591 if test "x$with_x" = xno; then
8592 # The user explicitly disabled X.
8593 have_x=disabled
8594 else
8595 case $x_includes,$x_libraries in #(
8596 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8597 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8598 $as_echo_n "(cached) " >&6
8599 else
8600 # One or both of the vars are not set, and there is no cached value.
8601 ac_x_includes=no ac_x_libraries=no
8602 rm -f -r conftest.dir
8603 if mkdir conftest.dir; then
8604 cd conftest.dir
8605 cat >Imakefile <<'_ACEOF'
8606 incroot:
8607 @echo incroot='${INCROOT}'
8608 usrlibdir:
8609 @echo usrlibdir='${USRLIBDIR}'
8610 libdir:
8611 @echo libdir='${LIBDIR}'
8612 _ACEOF
8613 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8614 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8615 for ac_var in incroot usrlibdir libdir; do
8616 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8617 done
8618 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8619 for ac_extension in a so sl dylib la dll; do
8620 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8621 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8622 ac_im_usrlibdir=$ac_im_libdir; break
8624 done
8625 # Screen out bogus values from the imake configuration. They are
8626 # bogus both because they are the default anyway, and because
8627 # using them would break gcc on systems where it needs fixed includes.
8628 case $ac_im_incroot in
8629 /usr/include) ac_x_includes= ;;
8630 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8631 esac
8632 case $ac_im_usrlibdir in
8633 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8634 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8635 esac
8637 cd ..
8638 rm -f -r conftest.dir
8641 # Standard set of common directories for X headers.
8642 # Check X11 before X11Rn because it is often a symlink to the current release.
8643 ac_x_header_dirs='
8644 /usr/X11/include
8645 /usr/X11R7/include
8646 /usr/X11R6/include
8647 /usr/X11R5/include
8648 /usr/X11R4/include
8650 /usr/include/X11
8651 /usr/include/X11R7
8652 /usr/include/X11R6
8653 /usr/include/X11R5
8654 /usr/include/X11R4
8656 /usr/local/X11/include
8657 /usr/local/X11R7/include
8658 /usr/local/X11R6/include
8659 /usr/local/X11R5/include
8660 /usr/local/X11R4/include
8662 /usr/local/include/X11
8663 /usr/local/include/X11R7
8664 /usr/local/include/X11R6
8665 /usr/local/include/X11R5
8666 /usr/local/include/X11R4
8668 /usr/X386/include
8669 /usr/x386/include
8670 /usr/XFree86/include/X11
8672 /usr/include
8673 /usr/local/include
8674 /usr/unsupported/include
8675 /usr/athena/include
8676 /usr/local/x11r5/include
8677 /usr/lpp/Xamples/include
8679 /usr/openwin/include
8680 /usr/openwin/share/include'
8682 if test "$ac_x_includes" = no; then
8683 # Guess where to find include files, by looking for Xlib.h.
8684 # First, try using that file with no special directory specified.
8685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8686 /* end confdefs.h. */
8687 #include <X11/Xlib.h>
8688 _ACEOF
8689 if ac_fn_c_try_cpp "$LINENO"; then :
8690 # We can compile using X headers with no special include directory.
8691 ac_x_includes=
8692 else
8693 for ac_dir in $ac_x_header_dirs; do
8694 if test -r "$ac_dir/X11/Xlib.h"; then
8695 ac_x_includes=$ac_dir
8696 break
8698 done
8700 rm -f conftest.err conftest.i conftest.$ac_ext
8701 fi # $ac_x_includes = no
8703 if test "$ac_x_libraries" = no; then
8704 # Check for the libraries.
8705 # See if we find them without any special options.
8706 # Don't add to $LIBS permanently.
8707 ac_save_LIBS=$LIBS
8708 LIBS="-lX11 $LIBS"
8709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8710 /* end confdefs.h. */
8711 #include <X11/Xlib.h>
8713 main ()
8715 XrmInitialize ()
8717 return 0;
8719 _ACEOF
8720 if ac_fn_c_try_link "$LINENO"; then :
8721 LIBS=$ac_save_LIBS
8722 # We can link X programs with no special library path.
8723 ac_x_libraries=
8724 else
8725 LIBS=$ac_save_LIBS
8726 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8728 # Don't even attempt the hair of trying to link an X program!
8729 for ac_extension in a so sl dylib la dll; do
8730 if test -r "$ac_dir/libX11.$ac_extension"; then
8731 ac_x_libraries=$ac_dir
8732 break 2
8734 done
8735 done
8737 rm -f core conftest.err conftest.$ac_objext \
8738 conftest$ac_exeext conftest.$ac_ext
8739 fi # $ac_x_libraries = no
8741 case $ac_x_includes,$ac_x_libraries in #(
8742 no,* | *,no | *\'*)
8743 # Didn't find X, or a directory has "'" in its name.
8744 ac_cv_have_x="have_x=no";; #(
8746 # Record where we found X for the cache.
8747 ac_cv_have_x="have_x=yes\
8748 ac_x_includes='$ac_x_includes'\
8749 ac_x_libraries='$ac_x_libraries'"
8750 esac
8752 ;; #(
8753 *) have_x=yes;;
8754 esac
8755 eval "$ac_cv_have_x"
8756 fi # $with_x != no
8758 if test "$have_x" != yes; then
8759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8760 $as_echo "$have_x" >&6; }
8761 no_x=yes
8762 else
8763 # If each of the values was on the command line, it overrides each guess.
8764 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
8765 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
8766 # Update the cache value to reflect the command line values.
8767 ac_cv_have_x="have_x=yes\
8768 ac_x_includes='$x_includes'\
8769 ac_x_libraries='$x_libraries'"
8770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8771 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8774 if test "$no_x" = yes; then
8775 # Not all programs may use this symbol, but it does not hurt to define it.
8777 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8779 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
8780 else
8781 if test -n "$x_includes"; then
8782 X_CFLAGS="$X_CFLAGS -I$x_includes"
8785 # It would also be nice to do this for all -L options, not just this one.
8786 if test -n "$x_libraries"; then
8787 X_LIBS="$X_LIBS -L$x_libraries"
8788 # For Solaris; some versions of Sun CC require a space after -R and
8789 # others require no space. Words are not sufficient . . . .
8790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8791 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8792 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
8793 ac_xsave_c_werror_flag=$ac_c_werror_flag
8794 ac_c_werror_flag=yes
8795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8796 /* end confdefs.h. */
8799 main ()
8803 return 0;
8805 _ACEOF
8806 if ac_fn_c_try_link "$LINENO"; then :
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8808 $as_echo "no" >&6; }
8809 X_LIBS="$X_LIBS -R$x_libraries"
8810 else
8811 LIBS="$ac_xsave_LIBS -R $x_libraries"
8812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8813 /* end confdefs.h. */
8816 main ()
8820 return 0;
8822 _ACEOF
8823 if ac_fn_c_try_link "$LINENO"; then :
8824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8825 $as_echo "yes" >&6; }
8826 X_LIBS="$X_LIBS -R $x_libraries"
8827 else
8828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8829 $as_echo "neither works" >&6; }
8831 rm -f core conftest.err conftest.$ac_objext \
8832 conftest$ac_exeext conftest.$ac_ext
8834 rm -f core conftest.err conftest.$ac_objext \
8835 conftest$ac_exeext conftest.$ac_ext
8836 ac_c_werror_flag=$ac_xsave_c_werror_flag
8837 LIBS=$ac_xsave_LIBS
8840 # Check for system-dependent libraries X programs must link with.
8841 # Do this before checking for the system-independent R6 libraries
8842 # (-lICE), since we may need -lsocket or whatever for X linking.
8844 if test "$ISC" = yes; then
8845 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
8846 else
8847 # Martyn Johnson says this is needed for Ultrix, if the X
8848 # libraries were built with DECnet support. And Karl Berry says
8849 # the Alpha needs dnet_stub (dnet does not exist).
8850 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
8851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8852 /* end confdefs.h. */
8854 /* Override any GCC internal prototype to avoid an error.
8855 Use char because int might match the return type of a GCC
8856 builtin and then its argument prototype would still apply. */
8857 #ifdef __cplusplus
8858 extern "C"
8859 #endif
8860 char XOpenDisplay ();
8862 main ()
8864 return XOpenDisplay ();
8866 return 0;
8868 _ACEOF
8869 if ac_fn_c_try_link "$LINENO"; then :
8871 else
8872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8873 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8874 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
8875 $as_echo_n "(cached) " >&6
8876 else
8877 ac_check_lib_save_LIBS=$LIBS
8878 LIBS="-ldnet $LIBS"
8879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8880 /* end confdefs.h. */
8882 /* Override any GCC internal prototype to avoid an error.
8883 Use char because int might match the return type of a GCC
8884 builtin and then its argument prototype would still apply. */
8885 #ifdef __cplusplus
8886 extern "C"
8887 #endif
8888 char dnet_ntoa ();
8890 main ()
8892 return dnet_ntoa ();
8894 return 0;
8896 _ACEOF
8897 if ac_fn_c_try_link "$LINENO"; then :
8898 ac_cv_lib_dnet_dnet_ntoa=yes
8899 else
8900 ac_cv_lib_dnet_dnet_ntoa=no
8902 rm -f core conftest.err conftest.$ac_objext \
8903 conftest$ac_exeext conftest.$ac_ext
8904 LIBS=$ac_check_lib_save_LIBS
8906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8907 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8908 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
8909 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
8912 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
8913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8914 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8915 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
8916 $as_echo_n "(cached) " >&6
8917 else
8918 ac_check_lib_save_LIBS=$LIBS
8919 LIBS="-ldnet_stub $LIBS"
8920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8921 /* end confdefs.h. */
8923 /* Override any GCC internal prototype to avoid an error.
8924 Use char because int might match the return type of a GCC
8925 builtin and then its argument prototype would still apply. */
8926 #ifdef __cplusplus
8927 extern "C"
8928 #endif
8929 char dnet_ntoa ();
8931 main ()
8933 return dnet_ntoa ();
8935 return 0;
8937 _ACEOF
8938 if ac_fn_c_try_link "$LINENO"; then :
8939 ac_cv_lib_dnet_stub_dnet_ntoa=yes
8940 else
8941 ac_cv_lib_dnet_stub_dnet_ntoa=no
8943 rm -f core conftest.err conftest.$ac_objext \
8944 conftest$ac_exeext conftest.$ac_ext
8945 LIBS=$ac_check_lib_save_LIBS
8947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8948 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
8949 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
8950 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
8955 rm -f core conftest.err conftest.$ac_objext \
8956 conftest$ac_exeext conftest.$ac_ext
8957 LIBS="$ac_xsave_LIBS"
8959 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8960 # to get the SysV transport functions.
8961 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
8962 # needs -lnsl.
8963 # The nsl library prevents programs from opening the X display
8964 # on Irix 5.2, according to T.E. Dickey.
8965 # The functions gethostbyname, getservbyname, and inet_addr are
8966 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
8967 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
8968 if test "x$ac_cv_func_gethostbyname" = xyes; then :
8972 if test $ac_cv_func_gethostbyname = no; then
8973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
8974 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
8975 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
8976 $as_echo_n "(cached) " >&6
8977 else
8978 ac_check_lib_save_LIBS=$LIBS
8979 LIBS="-lnsl $LIBS"
8980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8981 /* end confdefs.h. */
8983 /* Override any GCC internal prototype to avoid an error.
8984 Use char because int might match the return type of a GCC
8985 builtin and then its argument prototype would still apply. */
8986 #ifdef __cplusplus
8987 extern "C"
8988 #endif
8989 char gethostbyname ();
8991 main ()
8993 return gethostbyname ();
8995 return 0;
8997 _ACEOF
8998 if ac_fn_c_try_link "$LINENO"; then :
8999 ac_cv_lib_nsl_gethostbyname=yes
9000 else
9001 ac_cv_lib_nsl_gethostbyname=no
9003 rm -f core conftest.err conftest.$ac_objext \
9004 conftest$ac_exeext conftest.$ac_ext
9005 LIBS=$ac_check_lib_save_LIBS
9007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9008 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9009 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9010 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9013 if test $ac_cv_lib_nsl_gethostbyname = no; then
9014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9015 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9016 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9017 $as_echo_n "(cached) " >&6
9018 else
9019 ac_check_lib_save_LIBS=$LIBS
9020 LIBS="-lbsd $LIBS"
9021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9022 /* end confdefs.h. */
9024 /* Override any GCC internal prototype to avoid an error.
9025 Use char because int might match the return type of a GCC
9026 builtin and then its argument prototype would still apply. */
9027 #ifdef __cplusplus
9028 extern "C"
9029 #endif
9030 char gethostbyname ();
9032 main ()
9034 return gethostbyname ();
9036 return 0;
9038 _ACEOF
9039 if ac_fn_c_try_link "$LINENO"; then :
9040 ac_cv_lib_bsd_gethostbyname=yes
9041 else
9042 ac_cv_lib_bsd_gethostbyname=no
9044 rm -f core conftest.err conftest.$ac_objext \
9045 conftest$ac_exeext conftest.$ac_ext
9046 LIBS=$ac_check_lib_save_LIBS
9048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9049 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9050 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9051 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9057 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9058 # socket/setsockopt and other routines are undefined under SCO ODT
9059 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9060 # on later versions), says Simon Leinen: it contains gethostby*
9061 # variants that don't use the name server (or something). -lsocket
9062 # must be given before -lnsl if both are needed. We assume that
9063 # if connect needs -lnsl, so does gethostbyname.
9064 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9065 if test "x$ac_cv_func_connect" = xyes; then :
9069 if test $ac_cv_func_connect = no; then
9070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9071 $as_echo_n "checking for connect in -lsocket... " >&6; }
9072 if ${ac_cv_lib_socket_connect+:} false; then :
9073 $as_echo_n "(cached) " >&6
9074 else
9075 ac_check_lib_save_LIBS=$LIBS
9076 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9078 /* end confdefs.h. */
9080 /* Override any GCC internal prototype to avoid an error.
9081 Use char because int might match the return type of a GCC
9082 builtin and then its argument prototype would still apply. */
9083 #ifdef __cplusplus
9084 extern "C"
9085 #endif
9086 char connect ();
9088 main ()
9090 return connect ();
9092 return 0;
9094 _ACEOF
9095 if ac_fn_c_try_link "$LINENO"; then :
9096 ac_cv_lib_socket_connect=yes
9097 else
9098 ac_cv_lib_socket_connect=no
9100 rm -f core conftest.err conftest.$ac_objext \
9101 conftest$ac_exeext conftest.$ac_ext
9102 LIBS=$ac_check_lib_save_LIBS
9104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9105 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9106 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9107 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9112 # Guillermo Gomez says -lposix is necessary on A/UX.
9113 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9114 if test "x$ac_cv_func_remove" = xyes; then :
9118 if test $ac_cv_func_remove = no; then
9119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9120 $as_echo_n "checking for remove in -lposix... " >&6; }
9121 if ${ac_cv_lib_posix_remove+:} false; then :
9122 $as_echo_n "(cached) " >&6
9123 else
9124 ac_check_lib_save_LIBS=$LIBS
9125 LIBS="-lposix $LIBS"
9126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9127 /* end confdefs.h. */
9129 /* Override any GCC internal prototype to avoid an error.
9130 Use char because int might match the return type of a GCC
9131 builtin and then its argument prototype would still apply. */
9132 #ifdef __cplusplus
9133 extern "C"
9134 #endif
9135 char remove ();
9137 main ()
9139 return remove ();
9141 return 0;
9143 _ACEOF
9144 if ac_fn_c_try_link "$LINENO"; then :
9145 ac_cv_lib_posix_remove=yes
9146 else
9147 ac_cv_lib_posix_remove=no
9149 rm -f core conftest.err conftest.$ac_objext \
9150 conftest$ac_exeext conftest.$ac_ext
9151 LIBS=$ac_check_lib_save_LIBS
9153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9154 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9155 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9156 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9161 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9162 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9163 if test "x$ac_cv_func_shmat" = xyes; then :
9167 if test $ac_cv_func_shmat = no; then
9168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9169 $as_echo_n "checking for shmat in -lipc... " >&6; }
9170 if ${ac_cv_lib_ipc_shmat+:} false; then :
9171 $as_echo_n "(cached) " >&6
9172 else
9173 ac_check_lib_save_LIBS=$LIBS
9174 LIBS="-lipc $LIBS"
9175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9176 /* end confdefs.h. */
9178 /* Override any GCC internal prototype to avoid an error.
9179 Use char because int might match the return type of a GCC
9180 builtin and then its argument prototype would still apply. */
9181 #ifdef __cplusplus
9182 extern "C"
9183 #endif
9184 char shmat ();
9186 main ()
9188 return shmat ();
9190 return 0;
9192 _ACEOF
9193 if ac_fn_c_try_link "$LINENO"; then :
9194 ac_cv_lib_ipc_shmat=yes
9195 else
9196 ac_cv_lib_ipc_shmat=no
9198 rm -f core conftest.err conftest.$ac_objext \
9199 conftest$ac_exeext conftest.$ac_ext
9200 LIBS=$ac_check_lib_save_LIBS
9202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9203 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9204 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9205 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9211 # Check for libraries that X11R6 Xt/Xaw programs need.
9212 ac_save_LDFLAGS=$LDFLAGS
9213 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9214 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9215 # check for ICE first), but we must link in the order -lSM -lICE or
9216 # we get undefined symbols. So assume we have SM if we have ICE.
9217 # These have to be linked with before -lX11, unlike the other
9218 # libraries we check for below, so use a different variable.
9219 # John Interrante, Karl Berry
9220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9221 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9222 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9223 $as_echo_n "(cached) " >&6
9224 else
9225 ac_check_lib_save_LIBS=$LIBS
9226 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9228 /* end confdefs.h. */
9230 /* Override any GCC internal prototype to avoid an error.
9231 Use char because int might match the return type of a GCC
9232 builtin and then its argument prototype would still apply. */
9233 #ifdef __cplusplus
9234 extern "C"
9235 #endif
9236 char IceConnectionNumber ();
9238 main ()
9240 return IceConnectionNumber ();
9242 return 0;
9244 _ACEOF
9245 if ac_fn_c_try_link "$LINENO"; then :
9246 ac_cv_lib_ICE_IceConnectionNumber=yes
9247 else
9248 ac_cv_lib_ICE_IceConnectionNumber=no
9250 rm -f core conftest.err conftest.$ac_objext \
9251 conftest$ac_exeext conftest.$ac_ext
9252 LIBS=$ac_check_lib_save_LIBS
9254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9255 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9256 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9257 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9260 LDFLAGS=$ac_save_LDFLAGS
9265 if test "$have_x" = "yes"
9266 then
9267 ac_save_CPPFLAGS="$CPPFLAGS"
9268 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9271 $as_echo_n "checking for -lX11... " >&6; }
9272 if ${ac_cv_lib_soname_X11+:} false; then :
9273 $as_echo_n "(cached) " >&6
9274 else
9275 ac_check_soname_save_LIBS=$LIBS
9276 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9278 /* end confdefs.h. */
9280 /* Override any GCC internal prototype to avoid an error.
9281 Use char because int might match the return type of a GCC
9282 builtin and then its argument prototype would still apply. */
9283 #ifdef __cplusplus
9284 extern "C"
9285 #endif
9286 char XCreateWindow ();
9288 main ()
9290 return XCreateWindow ();
9292 return 0;
9294 _ACEOF
9295 if ac_fn_c_try_link "$LINENO"; then :
9296 case "$LIBEXT" in
9297 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9298 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'` ;;
9299 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9300 if ${ac_cv_lib_soname_X11:+false} :; then :
9301 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9302 fi ;;
9303 esac
9305 rm -f core conftest.err conftest.$ac_objext \
9306 conftest$ac_exeext conftest.$ac_ext
9307 LIBS=$ac_check_soname_save_LIBS
9309 if ${ac_cv_lib_soname_X11:+false} :; then :
9310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9311 $as_echo "not found" >&6; }
9313 else
9314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9315 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9317 cat >>confdefs.h <<_ACEOF
9318 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9319 _ACEOF
9323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9324 $as_echo_n "checking for -lXext... " >&6; }
9325 if ${ac_cv_lib_soname_Xext+:} false; then :
9326 $as_echo_n "(cached) " >&6
9327 else
9328 ac_check_soname_save_LIBS=$LIBS
9329 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9331 /* end confdefs.h. */
9333 /* Override any GCC internal prototype to avoid an error.
9334 Use char because int might match the return type of a GCC
9335 builtin and then its argument prototype would still apply. */
9336 #ifdef __cplusplus
9337 extern "C"
9338 #endif
9339 char XextCreateExtension ();
9341 main ()
9343 return XextCreateExtension ();
9345 return 0;
9347 _ACEOF
9348 if ac_fn_c_try_link "$LINENO"; then :
9349 case "$LIBEXT" in
9350 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9351 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'` ;;
9352 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9353 if ${ac_cv_lib_soname_Xext:+false} :; then :
9354 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9355 fi ;;
9356 esac
9358 rm -f core conftest.err conftest.$ac_objext \
9359 conftest$ac_exeext conftest.$ac_ext
9360 LIBS=$ac_check_soname_save_LIBS
9362 if ${ac_cv_lib_soname_Xext:+false} :; then :
9363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9364 $as_echo "not found" >&6; }
9366 else
9367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9368 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9370 cat >>confdefs.h <<_ACEOF
9371 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9372 _ACEOF
9374 X_LIBS="$X_LIBS -lXext"
9376 X_LIBS="$X_LIBS -lX11"
9378 for ac_header in X11/Xlib.h \
9379 X11/XKBlib.h \
9380 X11/Xutil.h \
9381 X11/Xcursor/Xcursor.h \
9382 X11/extensions/shape.h \
9383 X11/extensions/XInput.h \
9384 X11/extensions/XInput2.h \
9385 X11/extensions/XShm.h \
9386 X11/extensions/Xcomposite.h \
9387 X11/extensions/Xinerama.h \
9388 X11/extensions/Xrandr.h \
9389 X11/extensions/Xrender.h \
9390 X11/extensions/xf86vmode.h \
9391 X11/extensions/xf86vmproto.h
9392 do :
9393 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9394 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9395 # include <X11/Xlib.h>
9396 #endif
9397 #ifdef HAVE_X11_XUTIL_H
9398 # include <X11/Xutil.h>
9399 #endif
9401 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9402 cat >>confdefs.h <<_ACEOF
9403 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9404 _ACEOF
9408 done
9411 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9412 then
9413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9414 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9415 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9416 $as_echo_n "(cached) " >&6
9417 else
9418 ac_check_lib_save_LIBS=$LIBS
9419 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9421 /* end confdefs.h. */
9423 /* Override any GCC internal prototype to avoid an error.
9424 Use char because int might match the return type of a GCC
9425 builtin and then its argument prototype would still apply. */
9426 #ifdef __cplusplus
9427 extern "C"
9428 #endif
9429 char XkbQueryExtension ();
9431 main ()
9433 return XkbQueryExtension ();
9435 return 0;
9437 _ACEOF
9438 if ac_fn_c_try_link "$LINENO"; then :
9439 ac_cv_lib_X11_XkbQueryExtension=yes
9440 else
9441 ac_cv_lib_X11_XkbQueryExtension=no
9443 rm -f core conftest.err conftest.$ac_objext \
9444 conftest$ac_exeext conftest.$ac_ext
9445 LIBS=$ac_check_lib_save_LIBS
9447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9448 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9449 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9451 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9457 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9458 then
9459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9460 $as_echo_n "checking for -lXcursor... " >&6; }
9461 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9462 $as_echo_n "(cached) " >&6
9463 else
9464 ac_check_soname_save_LIBS=$LIBS
9465 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9467 /* end confdefs.h. */
9469 /* Override any GCC internal prototype to avoid an error.
9470 Use char because int might match the return type of a GCC
9471 builtin and then its argument prototype would still apply. */
9472 #ifdef __cplusplus
9473 extern "C"
9474 #endif
9475 char XcursorImageLoadCursor ();
9477 main ()
9479 return XcursorImageLoadCursor ();
9481 return 0;
9483 _ACEOF
9484 if ac_fn_c_try_link "$LINENO"; then :
9485 case "$LIBEXT" in
9486 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9487 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'` ;;
9488 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9489 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9490 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9491 fi ;;
9492 esac
9494 rm -f core conftest.err conftest.$ac_objext \
9495 conftest$ac_exeext conftest.$ac_ext
9496 LIBS=$ac_check_soname_save_LIBS
9498 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9500 $as_echo "not found" >&6; }
9502 else
9503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9504 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9506 cat >>confdefs.h <<_ACEOF
9507 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9508 _ACEOF
9513 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9514 case "x$with_xcursor" in
9515 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9516 xno) ;;
9517 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9518 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9519 esac
9522 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9523 then
9524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9525 $as_echo_n "checking for -lXi... " >&6; }
9526 if ${ac_cv_lib_soname_Xi+:} false; then :
9527 $as_echo_n "(cached) " >&6
9528 else
9529 ac_check_soname_save_LIBS=$LIBS
9530 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9532 /* end confdefs.h. */
9534 /* Override any GCC internal prototype to avoid an error.
9535 Use char because int might match the return type of a GCC
9536 builtin and then its argument prototype would still apply. */
9537 #ifdef __cplusplus
9538 extern "C"
9539 #endif
9540 char XOpenDevice ();
9542 main ()
9544 return XOpenDevice ();
9546 return 0;
9548 _ACEOF
9549 if ac_fn_c_try_link "$LINENO"; then :
9550 case "$LIBEXT" in
9551 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9552 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'` ;;
9553 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9554 if ${ac_cv_lib_soname_Xi:+false} :; then :
9555 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9556 fi ;;
9557 esac
9559 rm -f core conftest.err conftest.$ac_objext \
9560 conftest$ac_exeext conftest.$ac_ext
9561 LIBS=$ac_check_soname_save_LIBS
9563 if ${ac_cv_lib_soname_Xi:+false} :; then :
9564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9565 $as_echo "not found" >&6; }
9567 else
9568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9569 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9571 cat >>confdefs.h <<_ACEOF
9572 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9573 _ACEOF
9578 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9579 case "x$with_xinput" in
9580 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9581 xno) ;;
9582 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9583 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9584 esac
9587 if test "x$ac_cv_lib_soname_Xi" != x
9588 then
9589 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9590 case "x$with_xinput2" in
9591 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9592 xno) ;;
9593 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9594 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9595 esac
9599 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9600 then
9601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9602 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9603 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9604 $as_echo_n "(cached) " >&6
9605 else
9606 ac_check_lib_save_LIBS=$LIBS
9607 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9609 /* end confdefs.h. */
9611 /* Override any GCC internal prototype to avoid an error.
9612 Use char because int might match the return type of a GCC
9613 builtin and then its argument prototype would still apply. */
9614 #ifdef __cplusplus
9615 extern "C"
9616 #endif
9617 char XShmQueryExtension ();
9619 main ()
9621 return XShmQueryExtension ();
9623 return 0;
9625 _ACEOF
9626 if ac_fn_c_try_link "$LINENO"; then :
9627 ac_cv_lib_Xext_XShmQueryExtension=yes
9628 else
9629 ac_cv_lib_Xext_XShmQueryExtension=no
9631 rm -f core conftest.err conftest.$ac_objext \
9632 conftest$ac_exeext conftest.$ac_ext
9633 LIBS=$ac_check_lib_save_LIBS
9635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9636 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9637 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9639 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9644 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9645 case "x$with_xshm" in
9646 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9647 xno) ;;
9648 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9649 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9650 esac
9653 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9654 then
9655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9656 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9657 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9658 $as_echo_n "(cached) " >&6
9659 else
9660 ac_check_lib_save_LIBS=$LIBS
9661 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9663 /* end confdefs.h. */
9665 /* Override any GCC internal prototype to avoid an error.
9666 Use char because int might match the return type of a GCC
9667 builtin and then its argument prototype would still apply. */
9668 #ifdef __cplusplus
9669 extern "C"
9670 #endif
9671 char XShapeQueryExtension ();
9673 main ()
9675 return XShapeQueryExtension ();
9677 return 0;
9679 _ACEOF
9680 if ac_fn_c_try_link "$LINENO"; then :
9681 ac_cv_lib_Xext_XShapeQueryExtension=yes
9682 else
9683 ac_cv_lib_Xext_XShapeQueryExtension=no
9685 rm -f core conftest.err conftest.$ac_objext \
9686 conftest$ac_exeext conftest.$ac_ext
9687 LIBS=$ac_check_lib_save_LIBS
9689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9690 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9691 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9693 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9698 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9699 case "x$with_xshape" in
9700 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9701 xno) ;;
9702 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
9703 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9704 esac
9707 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9708 then
9709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9710 $as_echo_n "checking for -lXxf86vm... " >&6; }
9711 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
9712 $as_echo_n "(cached) " >&6
9713 else
9714 ac_check_soname_save_LIBS=$LIBS
9715 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9717 /* end confdefs.h. */
9719 /* Override any GCC internal prototype to avoid an error.
9720 Use char because int might match the return type of a GCC
9721 builtin and then its argument prototype would still apply. */
9722 #ifdef __cplusplus
9723 extern "C"
9724 #endif
9725 char XF86VidModeQueryExtension ();
9727 main ()
9729 return XF86VidModeQueryExtension ();
9731 return 0;
9733 _ACEOF
9734 if ac_fn_c_try_link "$LINENO"; then :
9735 case "$LIBEXT" in
9736 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9737 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'` ;;
9738 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9739 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9740 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9741 fi ;;
9742 esac
9744 rm -f core conftest.err conftest.$ac_objext \
9745 conftest$ac_exeext conftest.$ac_ext
9746 LIBS=$ac_check_soname_save_LIBS
9748 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9750 $as_echo "not found" >&6; }
9752 else
9753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9754 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9756 cat >>confdefs.h <<_ACEOF
9757 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9758 _ACEOF
9763 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9764 case "x$with_xxf86vm" in
9765 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9766 xno) ;;
9767 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9768 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9769 esac
9772 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"
9773 then
9774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9775 $as_echo_n "checking for -lXrender... " >&6; }
9776 if ${ac_cv_lib_soname_Xrender+:} false; then :
9777 $as_echo_n "(cached) " >&6
9778 else
9779 ac_check_soname_save_LIBS=$LIBS
9780 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9782 /* end confdefs.h. */
9784 /* Override any GCC internal prototype to avoid an error.
9785 Use char because int might match the return type of a GCC
9786 builtin and then its argument prototype would still apply. */
9787 #ifdef __cplusplus
9788 extern "C"
9789 #endif
9790 char XRenderQueryExtension ();
9792 main ()
9794 return XRenderQueryExtension ();
9796 return 0;
9798 _ACEOF
9799 if ac_fn_c_try_link "$LINENO"; then :
9800 case "$LIBEXT" in
9801 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9802 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'` ;;
9803 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9804 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9805 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9806 fi ;;
9807 esac
9809 rm -f core conftest.err conftest.$ac_objext \
9810 conftest$ac_exeext conftest.$ac_ext
9811 LIBS=$ac_check_soname_save_LIBS
9813 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9815 $as_echo "not found" >&6; }
9817 else
9818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9819 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9821 cat >>confdefs.h <<_ACEOF
9822 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9823 _ACEOF
9825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9826 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9827 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
9828 $as_echo_n "(cached) " >&6
9829 else
9830 ac_check_lib_save_LIBS=$LIBS
9831 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9833 /* end confdefs.h. */
9835 /* Override any GCC internal prototype to avoid an error.
9836 Use char because int might match the return type of a GCC
9837 builtin and then its argument prototype would still apply. */
9838 #ifdef __cplusplus
9839 extern "C"
9840 #endif
9841 char XRenderSetPictureTransform ();
9843 main ()
9845 return XRenderSetPictureTransform ();
9847 return 0;
9849 _ACEOF
9850 if ac_fn_c_try_link "$LINENO"; then :
9851 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9852 else
9853 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9855 rm -f core conftest.err conftest.$ac_objext \
9856 conftest$ac_exeext conftest.$ac_ext
9857 LIBS=$ac_check_lib_save_LIBS
9859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9860 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9861 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
9863 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9868 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9869 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
9870 $as_echo_n "(cached) " >&6
9871 else
9872 ac_check_lib_save_LIBS=$LIBS
9873 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9875 /* end confdefs.h. */
9877 /* Override any GCC internal prototype to avoid an error.
9878 Use char because int might match the return type of a GCC
9879 builtin and then its argument prototype would still apply. */
9880 #ifdef __cplusplus
9881 extern "C"
9882 #endif
9883 char XRenderCreateLinearGradient ();
9885 main ()
9887 return XRenderCreateLinearGradient ();
9889 return 0;
9891 _ACEOF
9892 if ac_fn_c_try_link "$LINENO"; then :
9893 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
9894 else
9895 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
9897 rm -f core conftest.err conftest.$ac_objext \
9898 conftest$ac_exeext conftest.$ac_ext
9899 LIBS=$ac_check_lib_save_LIBS
9901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9902 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9903 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
9905 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9912 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9913 case "x$with_xrender" in
9914 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9915 xno) ;;
9916 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
9917 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9918 esac
9921 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9922 then
9923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9924 /* end confdefs.h. */
9925 #include <X11/Xlib.h>
9926 #include <X11/extensions/Xrandr.h>
9928 main ()
9930 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9932 return 0;
9934 _ACEOF
9935 if ac_fn_c_try_compile "$LINENO"; then :
9936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9937 $as_echo_n "checking for -lXrandr... " >&6; }
9938 if ${ac_cv_lib_soname_Xrandr+:} false; then :
9939 $as_echo_n "(cached) " >&6
9940 else
9941 ac_check_soname_save_LIBS=$LIBS
9942 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
9943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9944 /* end confdefs.h. */
9946 /* Override any GCC internal prototype to avoid an error.
9947 Use char because int might match the return type of a GCC
9948 builtin and then its argument prototype would still apply. */
9949 #ifdef __cplusplus
9950 extern "C"
9951 #endif
9952 char XRRQueryExtension ();
9954 main ()
9956 return XRRQueryExtension ();
9958 return 0;
9960 _ACEOF
9961 if ac_fn_c_try_link "$LINENO"; then :
9962 case "$LIBEXT" in
9963 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9964 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'` ;;
9965 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9966 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
9967 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9968 fi ;;
9969 esac
9971 rm -f core conftest.err conftest.$ac_objext \
9972 conftest$ac_exeext conftest.$ac_ext
9973 LIBS=$ac_check_soname_save_LIBS
9975 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
9976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9977 $as_echo "not found" >&6; }
9979 else
9980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
9981 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
9983 cat >>confdefs.h <<_ACEOF
9984 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
9985 _ACEOF
9987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9988 /* end confdefs.h. */
9989 #include <X11/Xlib.h>
9990 #include <X11/extensions/Xrandr.h>
9992 main ()
9994 static typeof(XRRGetScreenResources) *f; if (f) return 0;
9996 return 0;
9998 _ACEOF
9999 if ac_fn_c_try_compile "$LINENO"; then :
10001 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10009 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10010 case "x$with_xrandr" in
10011 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10012 xno) ;;
10013 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10014 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10015 esac
10018 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10019 then
10020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10021 /* end confdefs.h. */
10022 #include <X11/Xlib.h>
10023 #include <X11/extensions/Xinerama.h>
10025 main ()
10027 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10029 return 0;
10031 _ACEOF
10032 if ac_fn_c_try_compile "$LINENO"; then :
10033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10034 $as_echo_n "checking for -lXinerama... " >&6; }
10035 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10036 $as_echo_n "(cached) " >&6
10037 else
10038 ac_check_soname_save_LIBS=$LIBS
10039 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10041 /* end confdefs.h. */
10043 /* Override any GCC internal prototype to avoid an error.
10044 Use char because int might match the return type of a GCC
10045 builtin and then its argument prototype would still apply. */
10046 #ifdef __cplusplus
10047 extern "C"
10048 #endif
10049 char XineramaQueryScreens ();
10051 main ()
10053 return XineramaQueryScreens ();
10055 return 0;
10057 _ACEOF
10058 if ac_fn_c_try_link "$LINENO"; then :
10059 case "$LIBEXT" in
10060 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10061 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'` ;;
10062 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10063 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10064 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10065 fi ;;
10066 esac
10068 rm -f core conftest.err conftest.$ac_objext \
10069 conftest$ac_exeext conftest.$ac_ext
10070 LIBS=$ac_check_soname_save_LIBS
10072 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10074 $as_echo "not found" >&6; }
10076 else
10077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10078 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10080 cat >>confdefs.h <<_ACEOF
10081 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10082 _ACEOF
10087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10089 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10090 case "x$with_xinerama" in
10091 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10092 xno) ;;
10093 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10094 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10095 esac
10098 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10099 then
10100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10101 $as_echo_n "checking for -lXcomposite... " >&6; }
10102 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10103 $as_echo_n "(cached) " >&6
10104 else
10105 ac_check_soname_save_LIBS=$LIBS
10106 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10108 /* end confdefs.h. */
10110 /* Override any GCC internal prototype to avoid an error.
10111 Use char because int might match the return type of a GCC
10112 builtin and then its argument prototype would still apply. */
10113 #ifdef __cplusplus
10114 extern "C"
10115 #endif
10116 char XCompositeRedirectWindow ();
10118 main ()
10120 return XCompositeRedirectWindow ();
10122 return 0;
10124 _ACEOF
10125 if ac_fn_c_try_link "$LINENO"; then :
10126 case "$LIBEXT" in
10127 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10128 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'` ;;
10129 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10130 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10131 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10132 fi ;;
10133 esac
10135 rm -f core conftest.err conftest.$ac_objext \
10136 conftest$ac_exeext conftest.$ac_ext
10137 LIBS=$ac_check_soname_save_LIBS
10139 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10141 $as_echo "not found" >&6; }
10143 else
10144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10145 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10147 cat >>confdefs.h <<_ACEOF
10148 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10149 _ACEOF
10154 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10155 case "x$with_xcomposite" in
10156 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10157 xno) ;;
10158 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10159 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10160 esac
10163 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10164 #include <X11/Xlib.h>
10165 #endif
10167 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10169 cat >>confdefs.h <<_ACEOF
10170 #define HAVE_XICCALLBACK_CALLBACK 1
10171 _ACEOF
10175 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10176 #include <X11/Xlib.h>
10177 #endif
10179 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10181 cat >>confdefs.h <<_ACEOF
10182 #define HAVE_XEVENT_XCOOKIE 1
10183 _ACEOF
10190 opengl_msg=""
10191 if test "x$with_opengl" != "xno"
10192 then
10193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10194 $as_echo_n "checking for -lGL... " >&6; }
10195 if ${ac_cv_lib_soname_GL+:} false; then :
10196 $as_echo_n "(cached) " >&6
10197 else
10198 ac_check_soname_save_LIBS=$LIBS
10199 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10201 /* end confdefs.h. */
10203 /* Override any GCC internal prototype to avoid an error.
10204 Use char because int might match the return type of a GCC
10205 builtin and then its argument prototype would still apply. */
10206 #ifdef __cplusplus
10207 extern "C"
10208 #endif
10209 char glXCreateContext ();
10211 main ()
10213 return glXCreateContext ();
10215 return 0;
10217 _ACEOF
10218 if ac_fn_c_try_link "$LINENO"; then :
10219 case "$LIBEXT" in
10220 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10221 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'` ;;
10222 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10223 if ${ac_cv_lib_soname_GL:+false} :; then :
10224 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10225 fi ;;
10226 esac
10228 rm -f core conftest.err conftest.$ac_objext \
10229 conftest$ac_exeext conftest.$ac_ext
10230 LIBS=$ac_check_soname_save_LIBS
10232 if ${ac_cv_lib_soname_GL:+false} :; then :
10233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10234 $as_echo "not found" >&6; }
10235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10236 $as_echo_n "checking for -lGL... " >&6; }
10237 if ${ac_cv_lib_soname_GL+:} false; then :
10238 $as_echo_n "(cached) " >&6
10239 else
10240 ac_check_soname_save_LIBS=$LIBS
10241 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"
10242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10243 /* end confdefs.h. */
10245 /* Override any GCC internal prototype to avoid an error.
10246 Use char because int might match the return type of a GCC
10247 builtin and then its argument prototype would still apply. */
10248 #ifdef __cplusplus
10249 extern "C"
10250 #endif
10251 char glXCreateContext ();
10253 main ()
10255 return glXCreateContext ();
10257 return 0;
10259 _ACEOF
10260 if ac_fn_c_try_link "$LINENO"; then :
10261 case "$LIBEXT" in
10262 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10263 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'` ;;
10264 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10265 if ${ac_cv_lib_soname_GL:+false} :; then :
10266 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10267 fi ;;
10268 esac
10270 rm -f core conftest.err conftest.$ac_objext \
10271 conftest$ac_exeext conftest.$ac_ext
10272 LIBS=$ac_check_soname_save_LIBS
10274 if ${ac_cv_lib_soname_GL:+false} :; then :
10275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10276 $as_echo "not found" >&6; }
10277 if test -f /usr/X11R6/lib/libGL.a
10278 then
10279 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10280 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10281 else
10282 opengl_msg="No OpenGL library found on this system."
10284 else
10285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10286 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10288 cat >>confdefs.h <<_ACEOF
10289 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10290 _ACEOF
10292 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"
10294 else
10295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10296 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10298 cat >>confdefs.h <<_ACEOF
10299 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10300 _ACEOF
10302 OPENGL_LIBS="-lGL"
10304 if test "x$with_glu" != "xno"
10305 then
10306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10307 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10308 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10309 $as_echo_n "(cached) " >&6
10310 else
10311 ac_check_lib_save_LIBS=$LIBS
10312 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10314 /* end confdefs.h. */
10316 /* Override any GCC internal prototype to avoid an error.
10317 Use char because int might match the return type of a GCC
10318 builtin and then its argument prototype would still apply. */
10319 #ifdef __cplusplus
10320 extern "C"
10321 #endif
10322 char gluLookAt ();
10324 main ()
10326 return gluLookAt ();
10328 return 0;
10330 _ACEOF
10331 if ac_fn_c_try_link "$LINENO"; then :
10332 ac_cv_lib_GLU_gluLookAt=yes
10333 else
10334 ac_cv_lib_GLU_gluLookAt=no
10336 rm -f core conftest.err conftest.$ac_objext \
10337 conftest$ac_exeext conftest.$ac_ext
10338 LIBS=$ac_check_lib_save_LIBS
10340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10341 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10342 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10346 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10347 case "x$with_glu" in
10348 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10349 xno) ;;
10350 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10351 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10352 esac
10356 if test "x$with_osmesa" != "xno"
10357 then
10358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10359 $as_echo_n "checking for -lOSMesa... " >&6; }
10360 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10361 $as_echo_n "(cached) " >&6
10362 else
10363 ac_check_soname_save_LIBS=$LIBS
10364 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10366 /* end confdefs.h. */
10368 /* Override any GCC internal prototype to avoid an error.
10369 Use char because int might match the return type of a GCC
10370 builtin and then its argument prototype would still apply. */
10371 #ifdef __cplusplus
10372 extern "C"
10373 #endif
10374 char glAccum ();
10376 main ()
10378 return glAccum ();
10380 return 0;
10382 _ACEOF
10383 if ac_fn_c_try_link "$LINENO"; then :
10384 case "$LIBEXT" in
10385 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10386 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'` ;;
10387 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10388 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10389 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10390 fi ;;
10391 esac
10393 rm -f core conftest.err conftest.$ac_objext \
10394 conftest$ac_exeext conftest.$ac_ext
10395 LIBS=$ac_check_soname_save_LIBS
10397 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10399 $as_echo "not found" >&6; }
10401 else
10402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10403 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10405 cat >>confdefs.h <<_ACEOF
10406 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10407 _ACEOF
10411 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10412 case "x$with_osmesa" in
10413 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10414 xno) ;;
10415 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10416 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10417 esac
10421 if test -n "$opengl_msg"; then :
10422 case "x$with_opengl" in
10423 x) as_fn_append wine_warnings "|$opengl_msg
10424 OpenGL and Direct3D won't be supported." ;;
10425 xno) ;;
10426 *) as_fn_error $? "$opengl_msg
10427 OpenGL and Direct3D won't be supported.
10428 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10429 esac
10432 CPPFLAGS="$ac_save_CPPFLAGS"
10433 else
10434 X_CFLAGS=""
10435 X_LIBS=""
10436 enable_winex11_drv=${enable_winex11_drv:-no}
10438 if test "x$X_LIBS" = "x"; then :
10439 case "x$with_x" in
10440 xno) ;;
10441 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10442 without X support, which probably isn't what you want. You will need
10443 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10444 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10445 esac
10448 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10450 if test "$ac_cv_header_CL_cl_h" = "yes"
10451 then
10452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10453 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10454 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10455 $as_echo_n "(cached) " >&6
10456 else
10457 ac_check_lib_save_LIBS=$LIBS
10458 LIBS="-lOpenCL $LIBS"
10459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10460 /* end confdefs.h. */
10462 /* Override any GCC internal prototype to avoid an error.
10463 Use char because int might match the return type of a GCC
10464 builtin and then its argument prototype would still apply. */
10465 #ifdef __cplusplus
10466 extern "C"
10467 #endif
10468 char clGetPlatformInfo ();
10470 main ()
10472 return clGetPlatformInfo ();
10474 return 0;
10476 _ACEOF
10477 if ac_fn_c_try_link "$LINENO"; then :
10478 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10479 else
10480 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10482 rm -f core conftest.err conftest.$ac_objext \
10483 conftest$ac_exeext conftest.$ac_ext
10484 LIBS=$ac_check_lib_save_LIBS
10486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10487 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10488 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10489 OPENCL_LIBS="-lOpenCL"
10494 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10495 case "x$with_opencl" in
10496 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10497 xno) ;;
10498 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10499 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10500 esac
10502 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10505 if test "x$with_xml" != "xno"
10506 then
10507 if ${XML2_CFLAGS:+false} :; then :
10508 if ${PKG_CONFIG+:} false; then :
10509 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10512 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10513 if ${XML2_LIBS:+false} :; then :
10514 if ${PKG_CONFIG+:} false; then :
10515 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10518 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10519 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10520 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10521 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10522 ac_save_CPPFLAGS=$CPPFLAGS
10523 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10524 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10525 do :
10526 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10527 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10528 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10529 cat >>confdefs.h <<_ACEOF
10530 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10531 _ACEOF
10535 done
10537 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"
10538 then
10539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10540 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10541 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10542 $as_echo_n "(cached) " >&6
10543 else
10544 ac_check_lib_save_LIBS=$LIBS
10545 LIBS="-lxml2 $XML2_LIBS $LIBS"
10546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10547 /* end confdefs.h. */
10549 /* Override any GCC internal prototype to avoid an error.
10550 Use char because int might match the return type of a GCC
10551 builtin and then its argument prototype would still apply. */
10552 #ifdef __cplusplus
10553 extern "C"
10554 #endif
10555 char xmlParseMemory ();
10557 main ()
10559 return xmlParseMemory ();
10561 return 0;
10563 _ACEOF
10564 if ac_fn_c_try_link "$LINENO"; then :
10565 ac_cv_lib_xml2_xmlParseMemory=yes
10566 else
10567 ac_cv_lib_xml2_xmlParseMemory=no
10569 rm -f core conftest.err conftest.$ac_objext \
10570 conftest$ac_exeext conftest.$ac_ext
10571 LIBS=$ac_check_lib_save_LIBS
10573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10574 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10575 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10577 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10579 else
10580 XML2_LIBS=""
10583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10584 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10585 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10586 $as_echo_n "(cached) " >&6
10587 else
10588 ac_check_lib_save_LIBS=$LIBS
10589 LIBS="-lxml2 $XML2_LIBS $LIBS"
10590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10591 /* end confdefs.h. */
10593 /* Override any GCC internal prototype to avoid an error.
10594 Use char because int might match the return type of a GCC
10595 builtin and then its argument prototype would still apply. */
10596 #ifdef __cplusplus
10597 extern "C"
10598 #endif
10599 char xmlReadMemory ();
10601 main ()
10603 return xmlReadMemory ();
10605 return 0;
10607 _ACEOF
10608 if ac_fn_c_try_link "$LINENO"; then :
10609 ac_cv_lib_xml2_xmlReadMemory=yes
10610 else
10611 ac_cv_lib_xml2_xmlReadMemory=no
10613 rm -f core conftest.err conftest.$ac_objext \
10614 conftest$ac_exeext conftest.$ac_ext
10615 LIBS=$ac_check_lib_save_LIBS
10617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10618 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10619 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
10621 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10626 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10627 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
10628 $as_echo_n "(cached) " >&6
10629 else
10630 ac_check_lib_save_LIBS=$LIBS
10631 LIBS="-lxml2 $XML2_LIBS $LIBS"
10632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10633 /* end confdefs.h. */
10635 /* Override any GCC internal prototype to avoid an error.
10636 Use char because int might match the return type of a GCC
10637 builtin and then its argument prototype would still apply. */
10638 #ifdef __cplusplus
10639 extern "C"
10640 #endif
10641 char xmlNewDocPI ();
10643 main ()
10645 return xmlNewDocPI ();
10647 return 0;
10649 _ACEOF
10650 if ac_fn_c_try_link "$LINENO"; then :
10651 ac_cv_lib_xml2_xmlNewDocPI=yes
10652 else
10653 ac_cv_lib_xml2_xmlNewDocPI=no
10655 rm -f core conftest.err conftest.$ac_objext \
10656 conftest$ac_exeext conftest.$ac_ext
10657 LIBS=$ac_check_lib_save_LIBS
10659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10660 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10661 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
10663 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10668 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10669 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
10670 $as_echo_n "(cached) " >&6
10671 else
10672 ac_check_lib_save_LIBS=$LIBS
10673 LIBS="-lxml2 $XML2_LIBS $LIBS"
10674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10675 /* end confdefs.h. */
10677 /* Override any GCC internal prototype to avoid an error.
10678 Use char because int might match the return type of a GCC
10679 builtin and then its argument prototype would still apply. */
10680 #ifdef __cplusplus
10681 extern "C"
10682 #endif
10683 char xmlSchemaSetParserStructuredErrors ();
10685 main ()
10687 return xmlSchemaSetParserStructuredErrors ();
10689 return 0;
10691 _ACEOF
10692 if ac_fn_c_try_link "$LINENO"; then :
10693 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
10694 else
10695 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
10697 rm -f core conftest.err conftest.$ac_objext \
10698 conftest$ac_exeext conftest.$ac_ext
10699 LIBS=$ac_check_lib_save_LIBS
10701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10702 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10703 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
10705 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10710 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10711 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
10712 $as_echo_n "(cached) " >&6
10713 else
10714 ac_check_lib_save_LIBS=$LIBS
10715 LIBS="-lxml2 $XML2_LIBS $LIBS"
10716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10717 /* end confdefs.h. */
10719 /* Override any GCC internal prototype to avoid an error.
10720 Use char because int might match the return type of a GCC
10721 builtin and then its argument prototype would still apply. */
10722 #ifdef __cplusplus
10723 extern "C"
10724 #endif
10725 char xmlSchemaSetValidStructuredErrors ();
10727 main ()
10729 return xmlSchemaSetValidStructuredErrors ();
10731 return 0;
10733 _ACEOF
10734 if ac_fn_c_try_link "$LINENO"; then :
10735 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
10736 else
10737 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
10739 rm -f core conftest.err conftest.$ac_objext \
10740 conftest$ac_exeext conftest.$ac_ext
10741 LIBS=$ac_check_lib_save_LIBS
10743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10744 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10745 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
10747 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10752 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10753 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
10754 $as_echo_n "(cached) " >&6
10755 else
10756 ac_check_lib_save_LIBS=$LIBS
10757 LIBS="-lxml2 $XML2_LIBS $LIBS"
10758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10759 /* end confdefs.h. */
10761 /* Override any GCC internal prototype to avoid an error.
10762 Use char because int might match the return type of a GCC
10763 builtin and then its argument prototype would still apply. */
10764 #ifdef __cplusplus
10765 extern "C"
10766 #endif
10767 char xmlFirstElementChild ();
10769 main ()
10771 return xmlFirstElementChild ();
10773 return 0;
10775 _ACEOF
10776 if ac_fn_c_try_link "$LINENO"; then :
10777 ac_cv_lib_xml2_xmlFirstElementChild=yes
10778 else
10779 ac_cv_lib_xml2_xmlFirstElementChild=no
10781 rm -f core conftest.err conftest.$ac_objext \
10782 conftest$ac_exeext conftest.$ac_ext
10783 LIBS=$ac_check_lib_save_LIBS
10785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10786 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10787 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
10789 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10793 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10795 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
10797 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10801 else
10802 XML2_CFLAGS=""
10803 XML2_LIBS=""
10805 CPPFLAGS=$ac_save_CPPFLAGS
10806 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10807 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10810 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10811 case "x$with_xml" in
10812 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10813 xno) ;;
10814 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10815 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10816 esac
10819 if test "x$with_xslt" != "xno"
10820 then
10821 if ${XSLT_CFLAGS:+false} :; then :
10822 if ${PKG_CONFIG+:} false; then :
10823 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10826 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10827 if ${XSLT_LIBS:+false} :; then :
10828 if ${PKG_CONFIG+:} false; then :
10829 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10832 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10833 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
10834 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
10835 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
10836 ac_save_CPPFLAGS=$CPPFLAGS
10837 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
10838 for ac_header in libxslt/pattern.h libxslt/transform.h
10839 do :
10840 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10841 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10842 # include <libxslt/pattern.h>
10843 #endif
10845 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10846 cat >>confdefs.h <<_ACEOF
10847 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10848 _ACEOF
10852 done
10854 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10855 then
10856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10857 $as_echo_n "checking for -lxslt... " >&6; }
10858 if ${ac_cv_lib_soname_xslt+:} false; then :
10859 $as_echo_n "(cached) " >&6
10860 else
10861 ac_check_soname_save_LIBS=$LIBS
10862 LIBS="-lxslt $XSLT_LIBS $LIBS"
10863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10864 /* end confdefs.h. */
10866 /* Override any GCC internal prototype to avoid an error.
10867 Use char because int might match the return type of a GCC
10868 builtin and then its argument prototype would still apply. */
10869 #ifdef __cplusplus
10870 extern "C"
10871 #endif
10872 char xsltCompilePattern ();
10874 main ()
10876 return xsltCompilePattern ();
10878 return 0;
10880 _ACEOF
10881 if ac_fn_c_try_link "$LINENO"; then :
10882 case "$LIBEXT" in
10883 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10884 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'` ;;
10885 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10886 if ${ac_cv_lib_soname_xslt:+false} :; then :
10887 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10888 fi ;;
10889 esac
10891 rm -f core conftest.err conftest.$ac_objext \
10892 conftest$ac_exeext conftest.$ac_ext
10893 LIBS=$ac_check_soname_save_LIBS
10895 if ${ac_cv_lib_soname_xslt:+false} :; then :
10896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10897 $as_echo "not found" >&6; }
10899 else
10900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
10901 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
10903 cat >>confdefs.h <<_ACEOF
10904 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
10905 _ACEOF
10909 else
10910 XSLT_CFLAGS=""
10912 CPPFLAGS=$ac_save_CPPFLAGS
10913 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10914 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10917 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10918 case "x$with_xslt" in
10919 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
10920 xno) ;;
10921 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
10922 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
10923 esac
10926 if test "x$with_dbus" != "xno"
10927 then
10928 if ${DBUS_CFLAGS:+false} :; then :
10929 if ${PKG_CONFIG+:} false; then :
10930 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
10934 if ${DBUS_LIBS:+false} :; then :
10935 if ${PKG_CONFIG+:} false; then :
10936 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
10941 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
10942 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
10943 ac_save_CPPFLAGS=$CPPFLAGS
10944 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
10945 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
10946 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
10947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
10948 $as_echo_n "checking for -ldbus-1... " >&6; }
10949 if ${ac_cv_lib_soname_dbus_1+:} false; then :
10950 $as_echo_n "(cached) " >&6
10951 else
10952 ac_check_soname_save_LIBS=$LIBS
10953 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
10954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10955 /* end confdefs.h. */
10957 /* Override any GCC internal prototype to avoid an error.
10958 Use char because int might match the return type of a GCC
10959 builtin and then its argument prototype would still apply. */
10960 #ifdef __cplusplus
10961 extern "C"
10962 #endif
10963 char dbus_connection_close ();
10965 main ()
10967 return dbus_connection_close ();
10969 return 0;
10971 _ACEOF
10972 if ac_fn_c_try_link "$LINENO"; then :
10973 case "$LIBEXT" in
10974 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10975 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'` ;;
10976 *) 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'`
10977 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
10978 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10979 fi ;;
10980 esac
10982 rm -f core conftest.err conftest.$ac_objext \
10983 conftest$ac_exeext conftest.$ac_ext
10984 LIBS=$ac_check_soname_save_LIBS
10986 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
10987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10988 $as_echo "not found" >&6; }
10989 DBUS_CFLAGS=""
10990 else
10991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
10992 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
10994 cat >>confdefs.h <<_ACEOF
10995 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
10996 _ACEOF
11000 else
11001 DBUS_CFLAGS=""
11005 CPPFLAGS=$ac_save_CPPFLAGS
11006 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11007 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11010 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11011 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11012 case "x$with_dbus" in
11013 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11014 xno) ;;
11015 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11016 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11017 esac
11020 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11021 then
11022 if ${HAL_CFLAGS:+false} :; then :
11023 if ${PKG_CONFIG+:} false; then :
11024 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11028 if ${HAL_LIBS:+false} :; then :
11029 if ${PKG_CONFIG+:} false; then :
11030 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11034 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11035 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11036 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11037 ac_save_CPPFLAGS=$CPPFLAGS
11038 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11039 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11040 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11042 $as_echo_n "checking for -lhal... " >&6; }
11043 if ${ac_cv_lib_soname_hal+:} false; then :
11044 $as_echo_n "(cached) " >&6
11045 else
11046 ac_check_soname_save_LIBS=$LIBS
11047 LIBS="-lhal $HAL_LIBS $LIBS"
11048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11049 /* end confdefs.h. */
11051 /* Override any GCC internal prototype to avoid an error.
11052 Use char because int might match the return type of a GCC
11053 builtin and then its argument prototype would still apply. */
11054 #ifdef __cplusplus
11055 extern "C"
11056 #endif
11057 char libhal_ctx_new ();
11059 main ()
11061 return libhal_ctx_new ();
11063 return 0;
11065 _ACEOF
11066 if ac_fn_c_try_link "$LINENO"; then :
11067 case "$LIBEXT" in
11068 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11069 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'` ;;
11070 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11071 if ${ac_cv_lib_soname_hal:+false} :; then :
11072 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11073 fi ;;
11074 esac
11076 rm -f core conftest.err conftest.$ac_objext \
11077 conftest$ac_exeext conftest.$ac_ext
11078 LIBS=$ac_check_soname_save_LIBS
11080 if ${ac_cv_lib_soname_hal:+false} :; then :
11081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11082 $as_echo "not found" >&6; }
11083 HAL_CFLAGS=""
11084 else
11085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11086 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11088 cat >>confdefs.h <<_ACEOF
11089 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11090 _ACEOF
11094 else
11095 HAL_CFLAGS=""
11099 CPPFLAGS=$ac_save_CPPFLAGS
11100 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11101 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11103 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11104 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11105 case "x$with_hal" in
11106 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11107 xno) ;;
11108 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11109 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11110 esac
11114 if test "x$with_gnutls" != "xno"
11115 then
11116 if ${GNUTLS_CFLAGS:+false} :; then :
11117 if ${PKG_CONFIG+:} false; then :
11118 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11122 if ${GNUTLS_LIBS:+false} :; then :
11123 if ${PKG_CONFIG+:} false; then :
11124 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11129 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11130 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11131 ac_save_CPPFLAGS=$CPPFLAGS
11132 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11133 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11134 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11136 /* end confdefs.h. */
11137 #include <gnutls/gnutls.h>
11138 #include <gnutls/crypto.h>
11140 main ()
11142 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11144 return 0;
11146 _ACEOF
11147 if ac_fn_c_try_compile "$LINENO"; then :
11148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11149 $as_echo_n "checking for -lgnutls... " >&6; }
11150 if ${ac_cv_lib_soname_gnutls+:} false; then :
11151 $as_echo_n "(cached) " >&6
11152 else
11153 ac_check_soname_save_LIBS=$LIBS
11154 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11156 /* end confdefs.h. */
11158 /* Override any GCC internal prototype to avoid an error.
11159 Use char because int might match the return type of a GCC
11160 builtin and then its argument prototype would still apply. */
11161 #ifdef __cplusplus
11162 extern "C"
11163 #endif
11164 char gnutls_global_init ();
11166 main ()
11168 return gnutls_global_init ();
11170 return 0;
11172 _ACEOF
11173 if ac_fn_c_try_link "$LINENO"; then :
11174 case "$LIBEXT" in
11175 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11176 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'` ;;
11177 *) ac_cv_lib_soname_gnutls=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11178 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11179 ac_cv_lib_soname_gnutls=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11180 fi ;;
11181 esac
11183 rm -f core conftest.err conftest.$ac_objext \
11184 conftest$ac_exeext conftest.$ac_ext
11185 LIBS=$ac_check_soname_save_LIBS
11187 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11189 $as_echo "not found" >&6; }
11190 GNUTLS_CFLAGS=""
11191 else
11192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11193 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11195 cat >>confdefs.h <<_ACEOF
11196 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11197 _ACEOF
11202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11203 else
11204 GNUTLS_CFLAGS=""
11208 CPPFLAGS=$ac_save_CPPFLAGS
11209 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11210 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11213 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11214 case "x$with_gnutls" in
11215 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11216 xno) ;;
11217 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11218 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11219 esac
11222 CURSES_LIBS=""
11223 if test "$ac_cv_header_ncurses_h" = "yes"
11224 then
11225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11226 $as_echo_n "checking for -lncurses... " >&6; }
11227 if ${ac_cv_lib_soname_ncurses+:} false; then :
11228 $as_echo_n "(cached) " >&6
11229 else
11230 ac_check_soname_save_LIBS=$LIBS
11231 LIBS="-lncurses $LIBS"
11232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11233 /* end confdefs.h. */
11235 /* Override any GCC internal prototype to avoid an error.
11236 Use char because int might match the return type of a GCC
11237 builtin and then its argument prototype would still apply. */
11238 #ifdef __cplusplus
11239 extern "C"
11240 #endif
11241 char waddch ();
11243 main ()
11245 return waddch ();
11247 return 0;
11249 _ACEOF
11250 if ac_fn_c_try_link "$LINENO"; then :
11251 case "$LIBEXT" in
11252 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11253 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'` ;;
11254 *) ac_cv_lib_soname_ncurses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11255 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11256 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11257 fi ;;
11258 esac
11260 rm -f core conftest.err conftest.$ac_objext \
11261 conftest$ac_exeext conftest.$ac_ext
11262 LIBS=$ac_check_soname_save_LIBS
11264 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11266 $as_echo "not found" >&6; }
11268 else
11269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11270 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11272 cat >>confdefs.h <<_ACEOF
11273 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11274 _ACEOF
11276 CURSES_LIBS="-lncurses"
11278 elif test "$ac_cv_header_curses_h" = "yes"
11279 then
11280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11281 $as_echo_n "checking for -lcurses... " >&6; }
11282 if ${ac_cv_lib_soname_curses+:} false; then :
11283 $as_echo_n "(cached) " >&6
11284 else
11285 ac_check_soname_save_LIBS=$LIBS
11286 LIBS="-lcurses $LIBS"
11287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11288 /* end confdefs.h. */
11290 /* Override any GCC internal prototype to avoid an error.
11291 Use char because int might match the return type of a GCC
11292 builtin and then its argument prototype would still apply. */
11293 #ifdef __cplusplus
11294 extern "C"
11295 #endif
11296 char waddch ();
11298 main ()
11300 return waddch ();
11302 return 0;
11304 _ACEOF
11305 if ac_fn_c_try_link "$LINENO"; then :
11306 case "$LIBEXT" in
11307 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11308 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'` ;;
11309 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11310 if ${ac_cv_lib_soname_curses:+false} :; then :
11311 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11312 fi ;;
11313 esac
11315 rm -f core conftest.err conftest.$ac_objext \
11316 conftest$ac_exeext conftest.$ac_ext
11317 LIBS=$ac_check_soname_save_LIBS
11319 if ${ac_cv_lib_soname_curses:+false} :; then :
11320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11321 $as_echo "not found" >&6; }
11323 else
11324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11325 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11327 cat >>confdefs.h <<_ACEOF
11328 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11329 _ACEOF
11331 CURSES_LIBS="-lcurses"
11334 ac_save_LIBS="$LIBS"
11335 LIBS="$LIBS $CURSES_LIBS"
11336 for ac_func in mousemask
11337 do :
11338 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11339 if test "x$ac_cv_func_mousemask" = xyes; then :
11340 cat >>confdefs.h <<_ACEOF
11341 #define HAVE_MOUSEMASK 1
11342 _ACEOF
11345 done
11347 LIBS="$ac_save_LIBS"
11348 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11349 case "x$with_curses" in
11350 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11351 xno) ;;
11352 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11353 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11354 esac
11357 if test "x$with_sane" != "xno"
11358 then
11359 if ${SANE_CFLAGS:+false} :; then :
11360 if ${PKG_CONFIG+:} false; then :
11361 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11364 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11365 if ${SANE_LIBS:+false} :; then :
11366 if ${PKG_CONFIG+:} false; then :
11367 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11370 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11372 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11373 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11374 ac_save_CPPFLAGS=$CPPFLAGS
11375 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11376 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11377 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11379 $as_echo_n "checking for -lsane... " >&6; }
11380 if ${ac_cv_lib_soname_sane+:} false; then :
11381 $as_echo_n "(cached) " >&6
11382 else
11383 ac_check_soname_save_LIBS=$LIBS
11384 LIBS="-lsane $SANE_LIBS $LIBS"
11385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11386 /* end confdefs.h. */
11388 /* Override any GCC internal prototype to avoid an error.
11389 Use char because int might match the return type of a GCC
11390 builtin and then its argument prototype would still apply. */
11391 #ifdef __cplusplus
11392 extern "C"
11393 #endif
11394 char sane_init ();
11396 main ()
11398 return sane_init ();
11400 return 0;
11402 _ACEOF
11403 if ac_fn_c_try_link "$LINENO"; then :
11404 case "$LIBEXT" in
11405 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11406 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'` ;;
11407 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11408 if ${ac_cv_lib_soname_sane:+false} :; then :
11409 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11410 fi ;;
11411 esac
11413 rm -f core conftest.err conftest.$ac_objext \
11414 conftest$ac_exeext conftest.$ac_ext
11415 LIBS=$ac_check_soname_save_LIBS
11417 if ${ac_cv_lib_soname_sane:+false} :; then :
11418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11419 $as_echo "not found" >&6; }
11420 SANE_CFLAGS=""
11421 else
11422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11423 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11425 cat >>confdefs.h <<_ACEOF
11426 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11427 _ACEOF
11431 else
11432 SANE_CFLAGS=""
11436 CPPFLAGS=$ac_save_CPPFLAGS
11437 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11438 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11441 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11442 case "x$with_sane" in
11443 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11444 xno) ;;
11445 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11446 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11447 esac
11450 if test "x$with_v4l" != "xno"
11451 then
11452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11453 $as_echo_n "checking for -lv4l1... " >&6; }
11454 if ${ac_cv_lib_soname_v4l1+:} false; then :
11455 $as_echo_n "(cached) " >&6
11456 else
11457 ac_check_soname_save_LIBS=$LIBS
11458 LIBS="-lv4l1 $LIBS"
11459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11460 /* end confdefs.h. */
11462 /* Override any GCC internal prototype to avoid an error.
11463 Use char because int might match the return type of a GCC
11464 builtin and then its argument prototype would still apply. */
11465 #ifdef __cplusplus
11466 extern "C"
11467 #endif
11468 char v4l1_open ();
11470 main ()
11472 return v4l1_open ();
11474 return 0;
11476 _ACEOF
11477 if ac_fn_c_try_link "$LINENO"; then :
11478 case "$LIBEXT" in
11479 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11480 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'` ;;
11481 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11482 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11483 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11484 fi ;;
11485 esac
11487 rm -f core conftest.err conftest.$ac_objext \
11488 conftest$ac_exeext conftest.$ac_ext
11489 LIBS=$ac_check_soname_save_LIBS
11491 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11493 $as_echo "not found" >&6; }
11495 else
11496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11497 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11499 cat >>confdefs.h <<_ACEOF
11500 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11501 _ACEOF
11506 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11507 case "x$with_v4l" in
11508 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11509 xno) ;;
11510 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11511 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11512 esac
11515 if test "x$with_gphoto" != "xno"
11516 then
11517 if ${GPHOTO2_CFLAGS:+false} :; then :
11518 if ${PKG_CONFIG+:} false; then :
11519 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11522 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11523 if ${GPHOTO2_LIBS:+false} :; then :
11524 if ${PKG_CONFIG+:} false; then :
11525 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11528 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11529 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11530 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11531 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11532 ac_save_CPPFLAGS=$CPPFLAGS
11533 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11534 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11535 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11537 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11538 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11539 $as_echo_n "(cached) " >&6
11540 else
11541 ac_check_lib_save_LIBS=$LIBS
11542 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11544 /* end confdefs.h. */
11546 /* Override any GCC internal prototype to avoid an error.
11547 Use char because int might match the return type of a GCC
11548 builtin and then its argument prototype would still apply. */
11549 #ifdef __cplusplus
11550 extern "C"
11551 #endif
11552 char gp_camera_new ();
11554 main ()
11556 return gp_camera_new ();
11558 return 0;
11560 _ACEOF
11561 if ac_fn_c_try_link "$LINENO"; then :
11562 ac_cv_lib_gphoto2_gp_camera_new=yes
11563 else
11564 ac_cv_lib_gphoto2_gp_camera_new=no
11566 rm -f core conftest.err conftest.$ac_objext \
11567 conftest$ac_exeext conftest.$ac_ext
11568 LIBS=$ac_check_lib_save_LIBS
11570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11571 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11572 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11574 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11576 else
11577 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11580 else
11581 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11585 CPPFLAGS=$ac_save_CPPFLAGS
11586 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11587 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11589 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11590 if ${PKG_CONFIG+:} false; then :
11591 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11594 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11595 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11596 if ${PKG_CONFIG+:} false; then :
11597 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11600 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11601 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11602 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11603 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11604 ac_save_CPPFLAGS=$CPPFLAGS
11605 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11606 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11607 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11609 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11610 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11611 $as_echo_n "(cached) " >&6
11612 else
11613 ac_check_lib_save_LIBS=$LIBS
11614 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11616 /* end confdefs.h. */
11618 /* Override any GCC internal prototype to avoid an error.
11619 Use char because int might match the return type of a GCC
11620 builtin and then its argument prototype would still apply. */
11621 #ifdef __cplusplus
11622 extern "C"
11623 #endif
11624 char gp_port_info_list_new ();
11626 main ()
11628 return gp_port_info_list_new ();
11630 return 0;
11632 _ACEOF
11633 if ac_fn_c_try_link "$LINENO"; then :
11634 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
11635 else
11636 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
11638 rm -f core conftest.err conftest.$ac_objext \
11639 conftest$ac_exeext conftest.$ac_ext
11640 LIBS=$ac_check_lib_save_LIBS
11642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11643 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11644 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
11646 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11648 else
11649 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11652 else
11653 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11657 CPPFLAGS=$ac_save_CPPFLAGS
11658 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11659 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11662 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11663 case "x$with_gphoto" in
11664 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11665 xno) ;;
11666 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11667 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11668 esac
11670 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11671 case "x$with_gphoto" in
11672 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11673 xno) ;;
11674 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11675 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11676 esac
11680 if test "$ac_cv_header_resolv_h" = "yes"
11681 then
11682 ac_save_LIBS="$LIBS"
11683 for lib in '' -lresolv
11685 LIBS="$lib $ac_save_LIBS"
11686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11687 /* end confdefs.h. */
11688 #ifdef HAVE_NETINET_IN_H
11689 #include <netinet/in.h>
11690 #endif
11691 #include <resolv.h>
11693 main ()
11695 res_query("foo",ns_c_in,0,0,0);
11697 return 0;
11699 _ACEOF
11700 if ac_fn_c_try_link "$LINENO"; then :
11702 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11704 RESOLV_LIBS="$lib"
11707 rm -f core conftest.err conftest.$ac_objext \
11708 conftest$ac_exeext conftest.$ac_ext
11709 if test "${RESOLV_LIBS+set}" = set; then
11710 break
11712 done
11713 LIBS="$ac_save_LIBS"
11716 if test "x$with_lcms2" != "xno"
11717 then
11718 if ${LCMS2_CFLAGS:+false} :; then :
11719 if ${PKG_CONFIG+:} false; then :
11720 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11724 if ${LCMS2_LIBS:+false} :; then :
11725 if ${PKG_CONFIG+:} false; then :
11726 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11730 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
11731 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11732 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
11733 ac_save_CPPFLAGS=$CPPFLAGS
11734 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
11735 for ac_header in lcms2.h
11736 do :
11737 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11738 if test "x$ac_cv_header_lcms2_h" = xyes; then :
11739 cat >>confdefs.h <<_ACEOF
11740 #define HAVE_LCMS2_H 1
11741 _ACEOF
11745 done
11747 if test "$ac_cv_header_lcms2_h" = "yes"
11748 then
11749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11750 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11751 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
11752 $as_echo_n "(cached) " >&6
11753 else
11754 ac_check_lib_save_LIBS=$LIBS
11755 LIBS="-llcms2 $LIBS"
11756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11757 /* end confdefs.h. */
11759 /* Override any GCC internal prototype to avoid an error.
11760 Use char because int might match the return type of a GCC
11761 builtin and then its argument prototype would still apply. */
11762 #ifdef __cplusplus
11763 extern "C"
11764 #endif
11765 char cmsOpenProfileFromFile ();
11767 main ()
11769 return cmsOpenProfileFromFile ();
11771 return 0;
11773 _ACEOF
11774 if ac_fn_c_try_link "$LINENO"; then :
11775 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
11776 else
11777 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
11779 rm -f core conftest.err conftest.$ac_objext \
11780 conftest$ac_exeext conftest.$ac_ext
11781 LIBS=$ac_check_lib_save_LIBS
11783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11784 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11785 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
11787 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11789 else
11790 LCMS2_LIBS=""
11793 else
11794 LCMS2_CFLAGS=""
11795 LCMS2_LIBS=""
11797 CPPFLAGS=$ac_save_CPPFLAGS
11798 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11799 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11802 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11803 case "x$with_cms" in
11804 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11805 xno) ;;
11806 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11807 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11808 esac
11811 if test "x$with_freetype" != "xno"
11812 then
11813 if ${FREETYPE_CFLAGS:+false} :; then :
11814 if ${PKG_CONFIG+:} false; then :
11815 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11818 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11819 if ${FREETYPE_LIBS:+false} :; then :
11820 if ${PKG_CONFIG+:} false; then :
11821 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11824 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11825 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
11826 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
11827 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
11828 ac_save_CPPFLAGS=$CPPFLAGS
11829 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
11830 for ac_header in ft2build.h
11831 do :
11832 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
11833 if test "x$ac_cv_header_ft2build_h" = xyes; then :
11834 cat >>confdefs.h <<_ACEOF
11835 #define HAVE_FT2BUILD_H 1
11836 _ACEOF
11840 done
11842 if test "$ac_cv_header_ft2build_h" = "yes"
11843 then
11844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11845 $as_echo_n "checking for -lfreetype... " >&6; }
11846 if ${ac_cv_lib_soname_freetype+:} false; then :
11847 $as_echo_n "(cached) " >&6
11848 else
11849 ac_check_soname_save_LIBS=$LIBS
11850 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
11851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11852 /* end confdefs.h. */
11854 /* Override any GCC internal prototype to avoid an error.
11855 Use char because int might match the return type of a GCC
11856 builtin and then its argument prototype would still apply. */
11857 #ifdef __cplusplus
11858 extern "C"
11859 #endif
11860 char FT_Init_FreeType ();
11862 main ()
11864 return FT_Init_FreeType ();
11866 return 0;
11868 _ACEOF
11869 if ac_fn_c_try_link "$LINENO"; then :
11870 case "$LIBEXT" in
11871 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11872 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'` ;;
11873 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11874 if ${ac_cv_lib_soname_freetype:+false} :; then :
11875 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11876 fi ;;
11877 esac
11879 rm -f core conftest.err conftest.$ac_objext \
11880 conftest$ac_exeext conftest.$ac_ext
11881 LIBS=$ac_check_soname_save_LIBS
11883 if ${ac_cv_lib_soname_freetype:+false} :; then :
11884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11885 $as_echo "not found" >&6; }
11886 FREETYPE_LIBS=""
11887 else
11888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
11889 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
11891 cat >>confdefs.h <<_ACEOF
11892 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
11893 _ACEOF
11896 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
11898 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
11899 #include FT_MODULE_H
11901 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
11903 cat >>confdefs.h <<_ACEOF
11904 #define HAVE_FT_TRUETYPEENGINETYPE 1
11905 _ACEOF
11911 else
11912 FREETYPE_CFLAGS=""
11913 FREETYPE_LIBS=""
11915 CPPFLAGS=$ac_save_CPPFLAGS
11916 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11917 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11920 if test "x$ac_cv_lib_soname_freetype" = x; then :
11921 case "x$with_freetype" in
11922 xno) ;;
11923 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
11924 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
11925 esac
11927 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
11929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
11930 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
11931 if ${ac_cv_c_ppdev+:} false; then :
11932 $as_echo_n "(cached) " >&6
11933 else
11934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11935 /* end confdefs.h. */
11936 #ifdef HAVE_SYS_IOCTL_H
11937 # include <sys/ioctl.h>
11938 #endif
11939 #include <linux/ppdev.h>
11941 main ()
11943 ioctl (1,PPCLAIM,0)
11945 return 0;
11947 _ACEOF
11948 if ac_fn_c_try_compile "$LINENO"; then :
11949 ac_cv_c_ppdev="yes"
11950 else
11951 ac_cv_c_ppdev="no"
11953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
11956 $as_echo "$ac_cv_c_ppdev" >&6; }
11957 if test "$ac_cv_c_ppdev" = "yes"
11958 then
11960 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
11964 ac_wine_check_funcs_save_LIBS="$LIBS"
11965 LIBS="$LIBS $PTHREAD_LIBS"
11966 for ac_func in \
11967 pthread_attr_get_np \
11968 pthread_getattr_np \
11969 pthread_getthreadid_np \
11970 pthread_get_stackaddr_np \
11971 pthread_get_stacksize_np
11972 do :
11973 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11974 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
11975 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
11976 cat >>confdefs.h <<_ACEOF
11977 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11978 _ACEOF
11981 done
11983 LIBS="$ac_wine_check_funcs_save_LIBS"
11985 if test "$ac_cv_header_zlib_h" = "yes"
11986 then
11987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
11988 $as_echo_n "checking for inflate in -lz... " >&6; }
11989 if ${ac_cv_lib_z_inflate+:} false; then :
11990 $as_echo_n "(cached) " >&6
11991 else
11992 ac_check_lib_save_LIBS=$LIBS
11993 LIBS="-lz $LIBS"
11994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11995 /* end confdefs.h. */
11997 /* Override any GCC internal prototype to avoid an error.
11998 Use char because int might match the return type of a GCC
11999 builtin and then its argument prototype would still apply. */
12000 #ifdef __cplusplus
12001 extern "C"
12002 #endif
12003 char inflate ();
12005 main ()
12007 return inflate ();
12009 return 0;
12011 _ACEOF
12012 if ac_fn_c_try_link "$LINENO"; then :
12013 ac_cv_lib_z_inflate=yes
12014 else
12015 ac_cv_lib_z_inflate=no
12017 rm -f core conftest.err conftest.$ac_objext \
12018 conftest$ac_exeext conftest.$ac_ext
12019 LIBS=$ac_check_lib_save_LIBS
12021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12022 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12023 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12025 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12027 Z_LIBS="-lz"
12032 if test "x$Z_LIBS" = "x"; then :
12033 case "x$with_zlib" in
12034 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12035 xno) ;;
12036 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12037 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12038 esac
12041 if test "x$enable_tools" != xno
12042 then
12043 if test "$ac_cv_header_gettext_po_h" = "yes"
12044 then
12045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12046 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12047 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12048 $as_echo_n "(cached) " >&6
12049 else
12050 ac_check_lib_save_LIBS=$LIBS
12051 LIBS="-lgettextpo $LIBS"
12052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12053 /* end confdefs.h. */
12055 /* Override any GCC internal prototype to avoid an error.
12056 Use char because int might match the return type of a GCC
12057 builtin and then its argument prototype would still apply. */
12058 #ifdef __cplusplus
12059 extern "C"
12060 #endif
12061 char po_message_msgctxt ();
12063 main ()
12065 return po_message_msgctxt ();
12067 return 0;
12069 _ACEOF
12070 if ac_fn_c_try_link "$LINENO"; then :
12071 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12072 else
12073 ac_cv_lib_gettextpo_po_message_msgctxt=no
12075 rm -f core conftest.err conftest.$ac_objext \
12076 conftest$ac_exeext conftest.$ac_ext
12077 LIBS=$ac_check_lib_save_LIBS
12079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12080 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12081 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12083 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12085 GETTEXTPO_LIBS="-lgettextpo"
12090 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12091 case "x$with_gettextpo" in
12092 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12093 xno) ;;
12094 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12095 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12096 esac
12100 if test "x$with_gstreamer" != "xno"
12101 then
12102 if ${GSTREAMER_CFLAGS:+false} :; then :
12103 if ${PKG_CONFIG+:} false; then :
12104 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12108 if ${GSTREAMER_LIBS:+false} :; then :
12109 if ${PKG_CONFIG+:} false; then :
12110 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12115 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12116 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12117 ac_save_CPPFLAGS=$CPPFLAGS
12118 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12119 ac_gst_incl=""
12120 for i in $GSTREAMER_CFLAGS
12122 case "$i" in
12123 -I*) ac_gst_incl="$ac_gst_incl $i";;
12124 esac
12125 done
12126 GSTREAMER_CFLAGS=$ac_gst_incl
12127 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12128 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12129 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
12130 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12131 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
12132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12133 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12135 /* end confdefs.h. */
12136 #include <gst/app/gstappsink.h>
12138 main ()
12140 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12142 return 0;
12144 _ACEOF
12145 if ac_fn_c_try_compile "$LINENO"; then :
12146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12147 $as_echo "yes" >&6; }
12148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12149 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12150 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
12151 $as_echo_n "(cached) " >&6
12152 else
12153 ac_check_lib_save_LIBS=$LIBS
12154 LIBS="-lgstreamer-0.10 $LIBS"
12155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12156 /* end confdefs.h. */
12158 /* Override any GCC internal prototype to avoid an error.
12159 Use char because int might match the return type of a GCC
12160 builtin and then its argument prototype would still apply. */
12161 #ifdef __cplusplus
12162 extern "C"
12163 #endif
12164 char gst_pad_get_caps_reffed ();
12166 main ()
12168 return gst_pad_get_caps_reffed ();
12170 return 0;
12172 _ACEOF
12173 if ac_fn_c_try_link "$LINENO"; then :
12174 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
12175 else
12176 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
12178 rm -f core conftest.err conftest.$ac_objext \
12179 conftest$ac_exeext conftest.$ac_ext
12180 LIBS=$ac_check_lib_save_LIBS
12182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12183 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12184 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
12185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12186 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12187 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
12188 $as_echo_n "(cached) " >&6
12189 else
12190 ac_check_lib_save_LIBS=$LIBS
12191 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12193 /* end confdefs.h. */
12195 /* Override any GCC internal prototype to avoid an error.
12196 Use char because int might match the return type of a GCC
12197 builtin and then its argument prototype would still apply. */
12198 #ifdef __cplusplus
12199 extern "C"
12200 #endif
12201 char gst_app_buffer_new ();
12203 main ()
12205 return gst_app_buffer_new ();
12207 return 0;
12209 _ACEOF
12210 if ac_fn_c_try_link "$LINENO"; then :
12211 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
12212 else
12213 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
12215 rm -f core conftest.err conftest.$ac_objext \
12216 conftest$ac_exeext conftest.$ac_ext
12217 LIBS=$ac_check_lib_save_LIBS
12219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12220 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12221 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
12227 else
12228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12229 $as_echo "no" >&6; }
12231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12235 else
12236 GSTREAMER_CFLAGS=""
12240 CPPFLAGS=$ac_save_CPPFLAGS
12241 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12242 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12245 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
12246 case "x$with_gstreamer" in
12247 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12248 xno) ;;
12249 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12250 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12251 esac
12253 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12255 ALSA_LIBS=""
12257 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12258 then
12259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12260 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12261 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12262 $as_echo_n "(cached) " >&6
12263 else
12264 ac_check_lib_save_LIBS=$LIBS
12265 LIBS="-lasound $LIBS"
12266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12267 /* end confdefs.h. */
12269 /* Override any GCC internal prototype to avoid an error.
12270 Use char because int might match the return type of a GCC
12271 builtin and then its argument prototype would still apply. */
12272 #ifdef __cplusplus
12273 extern "C"
12274 #endif
12275 char snd_pcm_hw_params_get_access_mask ();
12277 main ()
12279 return snd_pcm_hw_params_get_access_mask ();
12281 return 0;
12283 _ACEOF
12284 if ac_fn_c_try_link "$LINENO"; then :
12285 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12286 else
12287 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12289 rm -f core conftest.err conftest.$ac_objext \
12290 conftest$ac_exeext conftest.$ac_ext
12291 LIBS=$ac_check_lib_save_LIBS
12293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12294 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12295 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12297 /* end confdefs.h. */
12298 #ifdef HAVE_ALSA_ASOUNDLIB_H
12299 #include <alsa/asoundlib.h>
12300 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12301 #include <sys/asoundlib.h>
12302 #endif
12304 main ()
12306 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12308 return 0;
12310 _ACEOF
12311 if ac_fn_c_try_compile "$LINENO"; then :
12312 ALSA_LIBS="-lasound"
12314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12319 if test "x$with_oss" != xno
12320 then
12321 ac_save_CPPFLAGS="$CPPFLAGS"
12322 if test -f /etc/oss.conf
12323 then
12324 . /etc/oss.conf
12326 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12327 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12328 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12329 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12330 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12332 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12334 cat >>confdefs.h <<_ACEOF
12335 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12336 _ACEOF
12338 OSS4_CFLAGS="$ac_oss_incl"
12345 CPPFLAGS="$ac_save_CPPFLAGS"
12346 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12347 then
12348 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12352 if test "x$with_capi" != "xno"
12353 then
12354 if ${CAPI20_CFLAGS:+false} :; then :
12355 if ${PKG_CONFIG+:} false; then :
12356 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12360 if ${CAPI20_LIBS:+false} :; then :
12361 if ${PKG_CONFIG+:} false; then :
12362 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12367 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12368 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12369 ac_save_CPPFLAGS=$CPPFLAGS
12370 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12371 for ac_header in capi20.h linux/capi.h
12372 do :
12373 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12374 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12376 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12377 cat >>confdefs.h <<_ACEOF
12378 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12379 _ACEOF
12383 done
12385 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12386 then
12387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12388 $as_echo_n "checking for -lcapi20... " >&6; }
12389 if ${ac_cv_lib_soname_capi20+:} false; then :
12390 $as_echo_n "(cached) " >&6
12391 else
12392 ac_check_soname_save_LIBS=$LIBS
12393 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12395 /* end confdefs.h. */
12397 /* Override any GCC internal prototype to avoid an error.
12398 Use char because int might match the return type of a GCC
12399 builtin and then its argument prototype would still apply. */
12400 #ifdef __cplusplus
12401 extern "C"
12402 #endif
12403 char capi20_register ();
12405 main ()
12407 return capi20_register ();
12409 return 0;
12411 _ACEOF
12412 if ac_fn_c_try_link "$LINENO"; then :
12413 case "$LIBEXT" in
12414 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12415 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'` ;;
12416 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12417 if ${ac_cv_lib_soname_capi20:+false} :; then :
12418 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12419 fi ;;
12420 esac
12422 rm -f core conftest.err conftest.$ac_objext \
12423 conftest$ac_exeext conftest.$ac_ext
12424 LIBS=$ac_check_soname_save_LIBS
12426 if ${ac_cv_lib_soname_capi20:+false} :; then :
12427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12428 $as_echo "not found" >&6; }
12430 else
12431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12432 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12434 cat >>confdefs.h <<_ACEOF
12435 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12436 _ACEOF
12441 CPPFLAGS=$ac_save_CPPFLAGS
12442 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12443 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12446 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12447 case "x$with_capi" in
12448 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12449 xno) ;;
12450 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12451 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12452 esac
12455 CUPS_CFLAGS=""
12457 if test "x$with_cups" != "xno"
12458 then
12459 ac_save_CPPFLAGS="$CPPFLAGS"
12460 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12461 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12462 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12463 for ac_header in cups/cups.h
12464 do :
12465 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12466 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12467 cat >>confdefs.h <<_ACEOF
12468 #define HAVE_CUPS_CUPS_H 1
12469 _ACEOF
12470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12471 $as_echo_n "checking for -lcups... " >&6; }
12472 if ${ac_cv_lib_soname_cups+:} false; then :
12473 $as_echo_n "(cached) " >&6
12474 else
12475 ac_check_soname_save_LIBS=$LIBS
12476 LIBS="-lcups $ac_cups_libs $LIBS"
12477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12478 /* end confdefs.h. */
12480 /* Override any GCC internal prototype to avoid an error.
12481 Use char because int might match the return type of a GCC
12482 builtin and then its argument prototype would still apply. */
12483 #ifdef __cplusplus
12484 extern "C"
12485 #endif
12486 char cupsGetDefault ();
12488 main ()
12490 return cupsGetDefault ();
12492 return 0;
12494 _ACEOF
12495 if ac_fn_c_try_link "$LINENO"; then :
12496 case "$LIBEXT" in
12497 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12498 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'` ;;
12499 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12500 if ${ac_cv_lib_soname_cups:+false} :; then :
12501 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12502 fi ;;
12503 esac
12505 rm -f core conftest.err conftest.$ac_objext \
12506 conftest$ac_exeext conftest.$ac_ext
12507 LIBS=$ac_check_soname_save_LIBS
12509 if ${ac_cv_lib_soname_cups:+false} :; then :
12510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12511 $as_echo "not found" >&6; }
12513 else
12514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12515 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12517 cat >>confdefs.h <<_ACEOF
12518 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12519 _ACEOF
12521 CUPS_CFLAGS="$ac_cups_cflags"
12525 done
12527 CPPFLAGS="$ac_save_CPPFLAGS"
12529 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12530 case "x$with_cups" in
12531 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12532 xno) ;;
12533 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12534 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12535 esac
12538 if test "x$with_fontconfig" != "xno"
12539 then
12540 if ${FONTCONFIG_CFLAGS:+false} :; then :
12541 if ${PKG_CONFIG+:} false; then :
12542 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12545 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12546 if ${FONTCONFIG_LIBS:+false} :; then :
12547 if ${PKG_CONFIG+:} false; then :
12548 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12551 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
12553 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12554 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12555 ac_save_CPPFLAGS=$CPPFLAGS
12556 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
12557 for ac_header in fontconfig/fontconfig.h
12558 do :
12559 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12560 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
12561 cat >>confdefs.h <<_ACEOF
12562 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12563 _ACEOF
12567 done
12569 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12570 then
12571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12572 $as_echo_n "checking for -lfontconfig... " >&6; }
12573 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12574 $as_echo_n "(cached) " >&6
12575 else
12576 ac_check_soname_save_LIBS=$LIBS
12577 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12579 /* end confdefs.h. */
12581 /* Override any GCC internal prototype to avoid an error.
12582 Use char because int might match the return type of a GCC
12583 builtin and then its argument prototype would still apply. */
12584 #ifdef __cplusplus
12585 extern "C"
12586 #endif
12587 char FcInit ();
12589 main ()
12591 return FcInit ();
12593 return 0;
12595 _ACEOF
12596 if ac_fn_c_try_link "$LINENO"; then :
12597 case "$LIBEXT" in
12598 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12599 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'` ;;
12600 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12601 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12602 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12603 fi ;;
12604 esac
12606 rm -f core conftest.err conftest.$ac_objext \
12607 conftest$ac_exeext conftest.$ac_ext
12608 LIBS=$ac_check_soname_save_LIBS
12610 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12612 $as_echo "not found" >&6; }
12613 FONTCONFIG_CFLAGS=""
12614 else
12615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12616 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12618 cat >>confdefs.h <<_ACEOF
12619 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12620 _ACEOF
12624 else
12625 FONTCONFIG_CFLAGS=""
12627 CPPFLAGS=$ac_save_CPPFLAGS
12628 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12629 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12632 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12633 case "x$with_fontconfig" in
12634 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12635 xno) ;;
12636 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12637 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12638 esac
12641 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12642 then
12643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12644 $as_echo_n "checking for -lgsm... " >&6; }
12645 if ${ac_cv_lib_soname_gsm+:} false; then :
12646 $as_echo_n "(cached) " >&6
12647 else
12648 ac_check_soname_save_LIBS=$LIBS
12649 LIBS="-lgsm $LIBS"
12650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12651 /* end confdefs.h. */
12653 /* Override any GCC internal prototype to avoid an error.
12654 Use char because int might match the return type of a GCC
12655 builtin and then its argument prototype would still apply. */
12656 #ifdef __cplusplus
12657 extern "C"
12658 #endif
12659 char gsm_create ();
12661 main ()
12663 return gsm_create ();
12665 return 0;
12667 _ACEOF
12668 if ac_fn_c_try_link "$LINENO"; then :
12669 case "$LIBEXT" in
12670 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12671 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'` ;;
12672 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12673 if ${ac_cv_lib_soname_gsm:+false} :; then :
12674 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12675 fi ;;
12676 esac
12678 rm -f core conftest.err conftest.$ac_objext \
12679 conftest$ac_exeext conftest.$ac_ext
12680 LIBS=$ac_check_soname_save_LIBS
12682 if ${ac_cv_lib_soname_gsm:+false} :; then :
12683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12684 $as_echo "not found" >&6; }
12686 else
12687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12688 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12690 cat >>confdefs.h <<_ACEOF
12691 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12692 _ACEOF
12697 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12698 case "x$with_gsm" in
12699 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12700 xno) ;;
12701 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12702 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12703 esac
12706 if test "x$with_jpeg" != "xno"
12707 then
12708 if ${JPEG_CFLAGS:+false} :; then :
12709 if ${PKG_CONFIG+:} false; then :
12710 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12714 if ${JPEG_LIBS:+false} :; then :
12715 if ${PKG_CONFIG+:} false; then :
12716 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12721 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12722 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12723 ac_save_CPPFLAGS=$CPPFLAGS
12724 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
12725 for ac_header in jpeglib.h
12726 do :
12727 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12728 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
12729 cat >>confdefs.h <<_ACEOF
12730 #define HAVE_JPEGLIB_H 1
12731 _ACEOF
12735 done
12737 if test "$ac_cv_header_jpeglib_h" = "yes"
12738 then
12739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12740 $as_echo_n "checking for -ljpeg... " >&6; }
12741 if ${ac_cv_lib_soname_jpeg+:} false; then :
12742 $as_echo_n "(cached) " >&6
12743 else
12744 ac_check_soname_save_LIBS=$LIBS
12745 LIBS="-ljpeg $JPEG_LIBS $LIBS"
12746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12747 /* end confdefs.h. */
12749 /* Override any GCC internal prototype to avoid an error.
12750 Use char because int might match the return type of a GCC
12751 builtin and then its argument prototype would still apply. */
12752 #ifdef __cplusplus
12753 extern "C"
12754 #endif
12755 char jpeg_start_decompress ();
12757 main ()
12759 return jpeg_start_decompress ();
12761 return 0;
12763 _ACEOF
12764 if ac_fn_c_try_link "$LINENO"; then :
12765 case "$LIBEXT" in
12766 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12767 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'` ;;
12768 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12769 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12770 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12771 fi ;;
12772 esac
12774 rm -f core conftest.err conftest.$ac_objext \
12775 conftest$ac_exeext conftest.$ac_ext
12776 LIBS=$ac_check_soname_save_LIBS
12778 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12780 $as_echo "not found" >&6; }
12781 JPEG_CFLAGS=""
12782 else
12783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12784 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12786 cat >>confdefs.h <<_ACEOF
12787 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12788 _ACEOF
12792 else
12793 JPEG_CFLAGS=""
12795 CPPFLAGS=$ac_save_CPPFLAGS
12796 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12797 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12800 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12801 case "x$with_jpeg" in
12802 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12803 xno) ;;
12804 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12805 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12806 esac
12809 if test "x$with_png" != "xno"
12810 then
12811 if ${PNG_CFLAGS:+false} :; then :
12812 if ${PKG_CONFIG+:} false; then :
12813 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12816 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
12817 if ${PNG_LIBS:+false} :; then :
12818 if ${PKG_CONFIG+:} false; then :
12819 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
12822 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
12824 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
12825 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
12826 ac_save_CPPFLAGS=$CPPFLAGS
12827 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
12828 for ac_header in png.h
12829 do :
12830 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12831 if test "x$ac_cv_header_png_h" = xyes; then :
12832 cat >>confdefs.h <<_ACEOF
12833 #define HAVE_PNG_H 1
12834 _ACEOF
12838 done
12840 if test "$ac_cv_header_png_h" = "yes"
12841 then
12842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12843 $as_echo_n "checking for -lpng... " >&6; }
12844 if ${ac_cv_lib_soname_png+:} false; then :
12845 $as_echo_n "(cached) " >&6
12846 else
12847 ac_check_soname_save_LIBS=$LIBS
12848 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
12849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12850 /* end confdefs.h. */
12852 /* Override any GCC internal prototype to avoid an error.
12853 Use char because int might match the return type of a GCC
12854 builtin and then its argument prototype would still apply. */
12855 #ifdef __cplusplus
12856 extern "C"
12857 #endif
12858 char png_create_read_struct ();
12860 main ()
12862 return png_create_read_struct ();
12864 return 0;
12866 _ACEOF
12867 if ac_fn_c_try_link "$LINENO"; then :
12868 case "$LIBEXT" in
12869 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12870 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'` ;;
12871 *) 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'`
12872 if ${ac_cv_lib_soname_png:+false} :; then :
12873 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12874 fi ;;
12875 esac
12877 rm -f core conftest.err conftest.$ac_objext \
12878 conftest$ac_exeext conftest.$ac_ext
12879 LIBS=$ac_check_soname_save_LIBS
12881 if ${ac_cv_lib_soname_png:+false} :; then :
12882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12883 $as_echo "not found" >&6; }
12884 PNG_CFLAGS=""
12885 else
12886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
12887 $as_echo "$ac_cv_lib_soname_png" >&6; }
12889 cat >>confdefs.h <<_ACEOF
12890 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
12891 _ACEOF
12893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12894 /* end confdefs.h. */
12895 #include <png.h>
12897 main ()
12899 typeof(png_set_expand_gray_1_2_4_to_8) *p
12901 return 0;
12903 _ACEOF
12904 if ac_fn_c_try_compile "$LINENO"; then :
12906 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
12909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12911 else
12912 PNG_CFLAGS=""
12914 CPPFLAGS=$ac_save_CPPFLAGS
12915 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12916 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12919 if test "x$ac_cv_lib_soname_png" = "x"; then :
12920 case "x$with_png" in
12921 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
12922 xno) ;;
12923 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
12924 This is an error since --with-png was requested." "$LINENO" 5 ;;
12925 esac
12928 if test "x$with_tiff" != "xno"
12929 then
12930 if ${TIFF_CFLAGS:+false} :; then :
12931 if ${PKG_CONFIG+:} false; then :
12932 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
12936 if ${TIFF_LIBS:+false} :; then :
12937 if ${PKG_CONFIG+:} false; then :
12938 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
12943 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
12944 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
12945 ac_save_CPPFLAGS=$CPPFLAGS
12946 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
12947 for ac_header in tiffio.h
12948 do :
12949 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
12950 if test "x$ac_cv_header_tiffio_h" = xyes; then :
12951 cat >>confdefs.h <<_ACEOF
12952 #define HAVE_TIFFIO_H 1
12953 _ACEOF
12957 done
12959 if test "$ac_cv_header_tiffio_h" = "yes"
12960 then
12961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
12962 $as_echo_n "checking for -ltiff... " >&6; }
12963 if ${ac_cv_lib_soname_tiff+:} false; then :
12964 $as_echo_n "(cached) " >&6
12965 else
12966 ac_check_soname_save_LIBS=$LIBS
12967 LIBS="-ltiff $TIFF_LIBS $LIBS"
12968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12969 /* end confdefs.h. */
12971 /* Override any GCC internal prototype to avoid an error.
12972 Use char because int might match the return type of a GCC
12973 builtin and then its argument prototype would still apply. */
12974 #ifdef __cplusplus
12975 extern "C"
12976 #endif
12977 char TIFFClientOpen ();
12979 main ()
12981 return TIFFClientOpen ();
12983 return 0;
12985 _ACEOF
12986 if ac_fn_c_try_link "$LINENO"; then :
12987 case "$LIBEXT" in
12988 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12989 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'` ;;
12990 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12991 if ${ac_cv_lib_soname_tiff:+false} :; then :
12992 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12993 fi ;;
12994 esac
12996 rm -f core conftest.err conftest.$ac_objext \
12997 conftest$ac_exeext conftest.$ac_ext
12998 LIBS=$ac_check_soname_save_LIBS
13000 if ${ac_cv_lib_soname_tiff:+false} :; then :
13001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13002 $as_echo "not found" >&6; }
13004 else
13005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13006 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13008 cat >>confdefs.h <<_ACEOF
13009 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13010 _ACEOF
13015 CPPFLAGS=$ac_save_CPPFLAGS
13016 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13017 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13020 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13021 case "x$with_tiff" in
13022 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13023 xno) ;;
13024 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13025 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13026 esac
13029 if test "x$with_mpg123" != "xno"
13030 then
13031 if ${MPG123_CFLAGS:+false} :; then :
13032 if ${PKG_CONFIG+:} false; then :
13033 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13037 if ${MPG123_LIBS:+false} :; then :
13038 if ${PKG_CONFIG+:} false; then :
13039 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13043 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13044 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13045 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13046 ac_save_CPPFLAGS=$CPPFLAGS
13047 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13048 for ac_header in mpg123.h
13049 do :
13050 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13051 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13052 cat >>confdefs.h <<_ACEOF
13053 #define HAVE_MPG123_H 1
13054 _ACEOF
13058 done
13060 if test "$ac_cv_header_mpg123_h" = "yes"
13061 then
13062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13063 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13064 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13065 $as_echo_n "(cached) " >&6
13066 else
13067 ac_check_lib_save_LIBS=$LIBS
13068 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13070 /* end confdefs.h. */
13072 /* Override any GCC internal prototype to avoid an error.
13073 Use char because int might match the return type of a GCC
13074 builtin and then its argument prototype would still apply. */
13075 #ifdef __cplusplus
13076 extern "C"
13077 #endif
13078 char mpg123_feed ();
13080 main ()
13082 return mpg123_feed ();
13084 return 0;
13086 _ACEOF
13087 if ac_fn_c_try_link "$LINENO"; then :
13088 ac_cv_lib_mpg123_mpg123_feed=yes
13089 else
13090 ac_cv_lib_mpg123_mpg123_feed=no
13092 rm -f core conftest.err conftest.$ac_objext \
13093 conftest$ac_exeext conftest.$ac_ext
13094 LIBS=$ac_check_lib_save_LIBS
13096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13097 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13098 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13100 else
13101 MPG123_LIBS=""
13104 else
13105 MPG123_CFLAGS=""
13106 MPG123_LIBS=""
13108 CPPFLAGS=$ac_save_CPPFLAGS
13109 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13110 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13113 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13114 case "x$with_mpg123" in
13115 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13116 xno) ;;
13117 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13118 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13119 esac
13121 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}
13123 if test "$ac_cv_header_AL_al_h" = "yes"
13124 then
13125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13126 $as_echo_n "checking for -lopenal... " >&6; }
13127 if ${ac_cv_lib_soname_openal+:} false; then :
13128 $as_echo_n "(cached) " >&6
13129 else
13130 ac_check_soname_save_LIBS=$LIBS
13131 LIBS="-lopenal $LIBS"
13132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13133 /* end confdefs.h. */
13135 /* Override any GCC internal prototype to avoid an error.
13136 Use char because int might match the return type of a GCC
13137 builtin and then its argument prototype would still apply. */
13138 #ifdef __cplusplus
13139 extern "C"
13140 #endif
13141 char alGetSource3i ();
13143 main ()
13145 return alGetSource3i ();
13147 return 0;
13149 _ACEOF
13150 if ac_fn_c_try_link "$LINENO"; then :
13151 case "$LIBEXT" in
13152 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13153 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'` ;;
13154 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13155 if ${ac_cv_lib_soname_openal:+false} :; then :
13156 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13157 fi ;;
13158 esac
13160 rm -f core conftest.err conftest.$ac_objext \
13161 conftest$ac_exeext conftest.$ac_ext
13162 LIBS=$ac_check_soname_save_LIBS
13164 if ${ac_cv_lib_soname_openal:+false} :; then :
13165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13166 $as_echo "not found" >&6; }
13168 else
13169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13170 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13172 cat >>confdefs.h <<_ACEOF
13173 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13174 _ACEOF
13176 OPENAL_LIBS="-lopenal"
13178 ac_cv_lib_openal=yes
13180 cat >>confdefs.h <<_ACEOF
13181 #define HAVE_OPENAL 1
13182 _ACEOF
13186 if test "x$ac_cv_lib_openal" != xyes; then :
13187 case "x$with_openal" in
13188 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13189 xno) ;;
13190 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13191 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13192 esac
13194 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13196 if test "$ac_cv_header_kstat_h" = "yes"
13197 then
13198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13199 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13200 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13201 $as_echo_n "(cached) " >&6
13202 else
13203 ac_check_lib_save_LIBS=$LIBS
13204 LIBS="-lkstat $LIBS"
13205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13206 /* end confdefs.h. */
13208 /* Override any GCC internal prototype to avoid an error.
13209 Use char because int might match the return type of a GCC
13210 builtin and then its argument prototype would still apply. */
13211 #ifdef __cplusplus
13212 extern "C"
13213 #endif
13214 char kstat_open ();
13216 main ()
13218 return kstat_open ();
13220 return 0;
13222 _ACEOF
13223 if ac_fn_c_try_link "$LINENO"; then :
13224 ac_cv_lib_kstat_kstat_open=yes
13225 else
13226 ac_cv_lib_kstat_kstat_open=no
13228 rm -f core conftest.err conftest.$ac_objext \
13229 conftest$ac_exeext conftest.$ac_ext
13230 LIBS=$ac_check_lib_save_LIBS
13232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13233 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13234 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13236 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13238 KSTAT_LIBS="-lkstat"
13244 if test "$ac_cv_header_libprocstat_h" = "yes"
13245 then
13246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13247 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13248 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13249 $as_echo_n "(cached) " >&6
13250 else
13251 ac_check_lib_save_LIBS=$LIBS
13252 LIBS="-lprocstat $LIBS"
13253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13254 /* end confdefs.h. */
13256 /* Override any GCC internal prototype to avoid an error.
13257 Use char because int might match the return type of a GCC
13258 builtin and then its argument prototype would still apply. */
13259 #ifdef __cplusplus
13260 extern "C"
13261 #endif
13262 char procstat_open_sysctl ();
13264 main ()
13266 return procstat_open_sysctl ();
13268 return 0;
13270 _ACEOF
13271 if ac_fn_c_try_link "$LINENO"; then :
13272 ac_cv_lib_procstat_procstat_open_sysctl=yes
13273 else
13274 ac_cv_lib_procstat_procstat_open_sysctl=no
13276 rm -f core conftest.err conftest.$ac_objext \
13277 conftest$ac_exeext conftest.$ac_ext
13278 LIBS=$ac_check_lib_save_LIBS
13280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13281 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13282 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13284 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13286 PROCSTAT_LIBS="-lprocstat"
13292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13293 $as_echo_n "checking for -lodbc... " >&6; }
13294 if ${ac_cv_lib_soname_odbc+:} false; then :
13295 $as_echo_n "(cached) " >&6
13296 else
13297 ac_check_soname_save_LIBS=$LIBS
13298 LIBS="-lodbc $LIBS"
13299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13300 /* end confdefs.h. */
13302 /* Override any GCC internal prototype to avoid an error.
13303 Use char because int might match the return type of a GCC
13304 builtin and then its argument prototype would still apply. */
13305 #ifdef __cplusplus
13306 extern "C"
13307 #endif
13308 char SQLConnect ();
13310 main ()
13312 return SQLConnect ();
13314 return 0;
13316 _ACEOF
13317 if ac_fn_c_try_link "$LINENO"; then :
13318 case "$LIBEXT" in
13319 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13320 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'` ;;
13321 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13322 if ${ac_cv_lib_soname_odbc:+false} :; then :
13323 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13324 fi ;;
13325 esac
13327 rm -f core conftest.err conftest.$ac_objext \
13328 conftest$ac_exeext conftest.$ac_ext
13329 LIBS=$ac_check_soname_save_LIBS
13331 if ${ac_cv_lib_soname_odbc:+false} :; then :
13332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13333 $as_echo "not found" >&6; }
13334 cat >>confdefs.h <<_ACEOF
13335 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13336 _ACEOF
13338 else
13339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13340 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13342 cat >>confdefs.h <<_ACEOF
13343 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13344 _ACEOF
13349 if test "x$with_netapi" != "xno"
13350 then
13351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13352 $as_echo_n "checking for -lnetapi... " >&6; }
13353 if ${ac_cv_lib_soname_netapi+:} false; then :
13354 $as_echo_n "(cached) " >&6
13355 else
13356 ac_check_soname_save_LIBS=$LIBS
13357 LIBS="-lnetapi $LIBS"
13358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13359 /* end confdefs.h. */
13361 /* Override any GCC internal prototype to avoid an error.
13362 Use char because int might match the return type of a GCC
13363 builtin and then its argument prototype would still apply. */
13364 #ifdef __cplusplus
13365 extern "C"
13366 #endif
13367 char libnetapi_init ();
13369 main ()
13371 return libnetapi_init ();
13373 return 0;
13375 _ACEOF
13376 if ac_fn_c_try_link "$LINENO"; then :
13377 case "$LIBEXT" in
13378 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13379 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'` ;;
13380 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13381 if ${ac_cv_lib_soname_netapi:+false} :; then :
13382 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13383 fi ;;
13384 esac
13386 rm -f core conftest.err conftest.$ac_objext \
13387 conftest$ac_exeext conftest.$ac_ext
13388 LIBS=$ac_check_soname_save_LIBS
13390 if ${ac_cv_lib_soname_netapi:+false} :; then :
13391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13392 $as_echo "not found" >&6; }
13393 cat >>confdefs.h <<_ACEOF
13394 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13395 _ACEOF
13397 else
13398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13399 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13401 cat >>confdefs.h <<_ACEOF
13402 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13403 _ACEOF
13409 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13410 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
13411 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
13412 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
13414 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13415 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
13416 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13417 then
13418 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13422 EXTRACFLAGS=""
13424 if test "x${GCC}" = "xyes"
13425 then
13426 EXTRACFLAGS="-Wall -pipe"
13428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13429 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13430 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13431 $as_echo_n "(cached) " >&6
13432 else
13433 if test "$cross_compiling" = yes; then :
13434 ac_cv_c_gcc_strength_bug="yes"
13435 else
13436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13437 /* end confdefs.h. */
13438 int L[4] = {0,1,2,3};
13440 main ()
13442 static int Array[3];
13443 unsigned int B = 3;
13444 int i;
13445 for(i=0; i<B; i++) Array[i] = i - 3;
13446 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13447 L[i] = 4;
13448 return (Array[1] != -2 || L[2] != 3)
13450 return 0;
13452 _ACEOF
13453 if ac_fn_c_try_run "$LINENO"; then :
13454 ac_cv_c_gcc_strength_bug="no"
13455 else
13456 ac_cv_c_gcc_strength_bug="yes"
13458 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13459 conftest.$ac_objext conftest.beam conftest.$ac_ext
13463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13464 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13465 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13466 then
13467 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13471 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13472 if ${ac_cv_cflags__fno_builtin+:} false; then :
13473 $as_echo_n "(cached) " >&6
13474 else
13475 ac_wine_try_cflags_saved=$CFLAGS
13476 CFLAGS="$CFLAGS -fno-builtin"
13477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13478 /* end confdefs.h. */
13479 int main(int argc, char **argv) { return 0; }
13480 _ACEOF
13481 if ac_fn_c_try_link "$LINENO"; then :
13482 ac_cv_cflags__fno_builtin=yes
13483 else
13484 ac_cv_cflags__fno_builtin=no
13486 rm -f core conftest.err conftest.$ac_objext \
13487 conftest$ac_exeext conftest.$ac_ext
13488 CFLAGS=$ac_wine_try_cflags_saved
13490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13491 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13492 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
13493 BUILTINFLAG="-fno-builtin"
13496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13497 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13498 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
13499 $as_echo_n "(cached) " >&6
13500 else
13501 ac_wine_try_cflags_saved=$CFLAGS
13502 CFLAGS="$CFLAGS -fno-strict-aliasing"
13503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13504 /* end confdefs.h. */
13505 int main(int argc, char **argv) { return 0; }
13506 _ACEOF
13507 if ac_fn_c_try_link "$LINENO"; then :
13508 ac_cv_cflags__fno_strict_aliasing=yes
13509 else
13510 ac_cv_cflags__fno_strict_aliasing=no
13512 rm -f core conftest.err conftest.$ac_objext \
13513 conftest$ac_exeext conftest.$ac_ext
13514 CFLAGS=$ac_wine_try_cflags_saved
13516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13517 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13518 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
13519 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
13521 saved_CFLAGS=$CFLAGS
13522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13523 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13524 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
13525 $as_echo_n "(cached) " >&6
13526 else
13527 ac_wine_try_cflags_saved=$CFLAGS
13528 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13530 /* end confdefs.h. */
13531 int main(int argc, char **argv) { return 0; }
13532 _ACEOF
13533 if ac_fn_c_try_link "$LINENO"; then :
13534 ac_cv_cflags__Werror_unknown_warning_option=yes
13535 else
13536 ac_cv_cflags__Werror_unknown_warning_option=no
13538 rm -f core conftest.err conftest.$ac_objext \
13539 conftest$ac_exeext conftest.$ac_ext
13540 CFLAGS=$ac_wine_try_cflags_saved
13542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13543 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13544 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
13545 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13548 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13549 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
13550 $as_echo_n "(cached) " >&6
13551 else
13552 ac_wine_try_cflags_saved=$CFLAGS
13553 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
13554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13555 /* end confdefs.h. */
13556 int main(int argc, char **argv) { return 0; }
13557 _ACEOF
13558 if ac_fn_c_try_link "$LINENO"; then :
13559 ac_cv_cflags__Wdeclaration_after_statement=yes
13560 else
13561 ac_cv_cflags__Wdeclaration_after_statement=no
13563 rm -f core conftest.err conftest.$ac_objext \
13564 conftest$ac_exeext conftest.$ac_ext
13565 CFLAGS=$ac_wine_try_cflags_saved
13567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13568 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13569 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
13570 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
13572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13573 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13574 if ${ac_cv_cflags__Wempty_body+:} false; then :
13575 $as_echo_n "(cached) " >&6
13576 else
13577 ac_wine_try_cflags_saved=$CFLAGS
13578 CFLAGS="$CFLAGS -Wempty-body"
13579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13580 /* end confdefs.h. */
13581 int main(int argc, char **argv) { return 0; }
13582 _ACEOF
13583 if ac_fn_c_try_link "$LINENO"; then :
13584 ac_cv_cflags__Wempty_body=yes
13585 else
13586 ac_cv_cflags__Wempty_body=no
13588 rm -f core conftest.err conftest.$ac_objext \
13589 conftest$ac_exeext conftest.$ac_ext
13590 CFLAGS=$ac_wine_try_cflags_saved
13592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13593 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13594 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
13595 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
13597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13598 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13599 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
13600 $as_echo_n "(cached) " >&6
13601 else
13602 ac_wine_try_cflags_saved=$CFLAGS
13603 CFLAGS="$CFLAGS -Wignored-qualifiers"
13604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13605 /* end confdefs.h. */
13606 int main(int argc, char **argv) { return 0; }
13607 _ACEOF
13608 if ac_fn_c_try_link "$LINENO"; then :
13609 ac_cv_cflags__Wignored_qualifiers=yes
13610 else
13611 ac_cv_cflags__Wignored_qualifiers=no
13613 rm -f core conftest.err conftest.$ac_objext \
13614 conftest$ac_exeext conftest.$ac_ext
13615 CFLAGS=$ac_wine_try_cflags_saved
13617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13618 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13619 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
13620 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
13622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13623 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13624 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
13625 $as_echo_n "(cached) " >&6
13626 else
13627 ac_wine_try_cflags_saved=$CFLAGS
13628 CFLAGS="$CFLAGS -Wstrict-prototypes"
13629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13630 /* end confdefs.h. */
13631 int main(int argc, char **argv) { return 0; }
13632 _ACEOF
13633 if ac_fn_c_try_link "$LINENO"; then :
13634 ac_cv_cflags__Wstrict_prototypes=yes
13635 else
13636 ac_cv_cflags__Wstrict_prototypes=no
13638 rm -f core conftest.err conftest.$ac_objext \
13639 conftest$ac_exeext conftest.$ac_ext
13640 CFLAGS=$ac_wine_try_cflags_saved
13642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13643 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13644 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
13645 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
13647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13648 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13649 if ${ac_cv_cflags__Wtype_limits+:} false; then :
13650 $as_echo_n "(cached) " >&6
13651 else
13652 ac_wine_try_cflags_saved=$CFLAGS
13653 CFLAGS="$CFLAGS -Wtype-limits"
13654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13655 /* end confdefs.h. */
13656 int main(int argc, char **argv) { return 0; }
13657 _ACEOF
13658 if ac_fn_c_try_link "$LINENO"; then :
13659 ac_cv_cflags__Wtype_limits=yes
13660 else
13661 ac_cv_cflags__Wtype_limits=no
13663 rm -f core conftest.err conftest.$ac_objext \
13664 conftest$ac_exeext conftest.$ac_ext
13665 CFLAGS=$ac_wine_try_cflags_saved
13667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13668 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13669 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
13670 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
13672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13673 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13674 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
13675 $as_echo_n "(cached) " >&6
13676 else
13677 ac_wine_try_cflags_saved=$CFLAGS
13678 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
13679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13680 /* end confdefs.h. */
13681 int main(int argc, char **argv) { return 0; }
13682 _ACEOF
13683 if ac_fn_c_try_link "$LINENO"; then :
13684 ac_cv_cflags__Wunused_but_set_parameter=yes
13685 else
13686 ac_cv_cflags__Wunused_but_set_parameter=no
13688 rm -f core conftest.err conftest.$ac_objext \
13689 conftest$ac_exeext conftest.$ac_ext
13690 CFLAGS=$ac_wine_try_cflags_saved
13692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13693 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13694 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
13695 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
13697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13698 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13699 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
13700 $as_echo_n "(cached) " >&6
13701 else
13702 ac_wine_try_cflags_saved=$CFLAGS
13703 CFLAGS="$CFLAGS -Wwrite-strings"
13704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13705 /* end confdefs.h. */
13706 int main(int argc, char **argv) { return 0; }
13707 _ACEOF
13708 if ac_fn_c_try_link "$LINENO"; then :
13709 ac_cv_cflags__Wwrite_strings=yes
13710 else
13711 ac_cv_cflags__Wwrite_strings=no
13713 rm -f core conftest.err conftest.$ac_objext \
13714 conftest$ac_exeext conftest.$ac_ext
13715 CFLAGS=$ac_wine_try_cflags_saved
13717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13718 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13719 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
13720 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
13723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13724 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13725 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
13726 $as_echo_n "(cached) " >&6
13727 else
13728 ac_wine_try_cflags_saved=$CFLAGS
13729 CFLAGS="$CFLAGS -Wpointer-arith"
13730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13731 /* end confdefs.h. */
13732 int main(int argc, char **argv) { return 0; }
13733 _ACEOF
13734 if ac_fn_c_try_link "$LINENO"; then :
13735 ac_cv_cflags__Wpointer_arith=yes
13736 else
13737 ac_cv_cflags__Wpointer_arith=no
13739 rm -f core conftest.err conftest.$ac_objext \
13740 conftest$ac_exeext conftest.$ac_ext
13741 CFLAGS=$ac_wine_try_cflags_saved
13743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13744 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13745 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
13746 saved_string_h_CFLAGS=$CFLAGS
13747 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
13748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13749 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13750 if ${ac_cv_c_string_h_warnings+:} false; then :
13751 $as_echo_n "(cached) " >&6
13752 else
13753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13754 /* end confdefs.h. */
13755 #include <string.h>
13757 main ()
13761 return 0;
13763 _ACEOF
13764 if ac_fn_c_try_compile "$LINENO"; then :
13765 ac_cv_c_string_h_warnings=no
13766 else
13767 ac_cv_c_string_h_warnings=yes
13769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13772 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13773 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
13774 CFLAGS=$saved_string_h_CFLAGS
13777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13778 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13779 if ${ac_cv_cflags__Wlogical_op+:} false; then :
13780 $as_echo_n "(cached) " >&6
13781 else
13782 ac_wine_try_cflags_saved=$CFLAGS
13783 CFLAGS="$CFLAGS -Wlogical-op"
13784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13785 /* end confdefs.h. */
13786 int main(int argc, char **argv) { return 0; }
13787 _ACEOF
13788 if ac_fn_c_try_link "$LINENO"; then :
13789 ac_cv_cflags__Wlogical_op=yes
13790 else
13791 ac_cv_cflags__Wlogical_op=no
13793 rm -f core conftest.err conftest.$ac_objext \
13794 conftest$ac_exeext conftest.$ac_ext
13795 CFLAGS=$ac_wine_try_cflags_saved
13797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13798 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13799 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
13800 saved_string_h_CFLAGS=$CFLAGS
13801 CFLAGS="$CFLAGS -Wlogical-op -Werror"
13802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13803 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13804 if ${ac_cv_c_logicalop_noisy+:} false; then :
13805 $as_echo_n "(cached) " >&6
13806 else
13807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13808 /* end confdefs.h. */
13809 #include <string.h>
13810 char*f(const char *h,char n) {return strchr(h,n);}
13812 main ()
13816 return 0;
13818 _ACEOF
13819 if ac_fn_c_try_compile "$LINENO"; then :
13820 ac_cv_c_logicalop_noisy=no
13821 else
13822 ac_cv_c_logicalop_noisy=yes
13824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13827 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13828 CFLAGS=$saved_string_h_CFLAGS
13829 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
13832 CFLAGS=$saved_CFLAGS
13834 for ac_flag in $CFLAGS; do
13835 case $ac_flag in
13836 -g) case $host_os in
13837 darwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13838 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
13839 if ${ac_cv_cflags__gstabsp+:} false; then :
13840 $as_echo_n "(cached) " >&6
13841 else
13842 ac_wine_try_cflags_saved=$CFLAGS
13843 CFLAGS="$CFLAGS -gstabs+"
13844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13845 /* end confdefs.h. */
13846 int main(int argc, char **argv) { return 0; }
13847 _ACEOF
13848 if ac_fn_c_try_link "$LINENO"; then :
13849 ac_cv_cflags__gstabsp=yes
13850 else
13851 ac_cv_cflags__gstabsp=no
13853 rm -f core conftest.err conftest.$ac_objext \
13854 conftest$ac_exeext conftest.$ac_ext
13855 CFLAGS=$ac_wine_try_cflags_saved
13857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
13858 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
13859 if test "x$ac_cv_cflags__gstabsp" = xyes; then :
13860 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
13861 fi ;;
13862 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
13863 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
13864 if ${ac_cv_cflags__gdwarf_2+:} false; then :
13865 $as_echo_n "(cached) " >&6
13866 else
13867 ac_wine_try_cflags_saved=$CFLAGS
13868 CFLAGS="$CFLAGS -gdwarf-2"
13869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13870 /* end confdefs.h. */
13871 int main(int argc, char **argv) { return 0; }
13872 _ACEOF
13873 if ac_fn_c_try_link "$LINENO"; then :
13874 ac_cv_cflags__gdwarf_2=yes
13875 else
13876 ac_cv_cflags__gdwarf_2=no
13878 rm -f core conftest.err conftest.$ac_objext \
13879 conftest$ac_exeext conftest.$ac_ext
13880 CFLAGS=$ac_wine_try_cflags_saved
13882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
13883 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
13884 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
13885 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
13887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
13888 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
13889 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
13890 $as_echo_n "(cached) " >&6
13891 else
13892 ac_wine_try_cflags_saved=$CFLAGS
13893 CFLAGS="$CFLAGS -gstrict-dwarf"
13894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13895 /* end confdefs.h. */
13896 int main(int argc, char **argv) { return 0; }
13897 _ACEOF
13898 if ac_fn_c_try_link "$LINENO"; then :
13899 ac_cv_cflags__gstrict_dwarf=yes
13900 else
13901 ac_cv_cflags__gstrict_dwarf=no
13903 rm -f core conftest.err conftest.$ac_objext \
13904 conftest$ac_exeext conftest.$ac_ext
13905 CFLAGS=$ac_wine_try_cflags_saved
13907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
13908 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
13909 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
13910 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
13911 fi ;;
13912 esac ;;
13913 esac
13914 done
13916 case $host_cpu in
13917 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
13918 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
13919 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
13920 $as_echo_n "(cached) " >&6
13921 else
13922 ac_wine_try_cflags_saved=$CFLAGS
13923 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
13924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13925 /* end confdefs.h. */
13926 int main(int argc, char **argv) { return 0; }
13927 _ACEOF
13928 if ac_fn_c_try_link "$LINENO"; then :
13929 ac_cv_cflags__fno_omit_frame_pointer=yes
13930 else
13931 ac_cv_cflags__fno_omit_frame_pointer=no
13933 rm -f core conftest.err conftest.$ac_objext \
13934 conftest$ac_exeext conftest.$ac_ext
13935 CFLAGS=$ac_wine_try_cflags_saved
13937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
13938 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
13939 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
13940 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
13941 fi ;;
13942 esac
13944 case $host in
13945 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
13946 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
13947 if ${ac_cv_cflags__Wno_format+:} false; then :
13948 $as_echo_n "(cached) " >&6
13949 else
13950 ac_wine_try_cflags_saved=$CFLAGS
13951 CFLAGS="$CFLAGS -Wno-format"
13952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13953 /* end confdefs.h. */
13954 int main(int argc, char **argv) { return 0; }
13955 _ACEOF
13956 if ac_fn_c_try_link "$LINENO"; then :
13957 ac_cv_cflags__Wno_format=yes
13958 else
13959 ac_cv_cflags__Wno_format=no
13961 rm -f core conftest.err conftest.$ac_objext \
13962 conftest$ac_exeext conftest.$ac_ext
13963 CFLAGS=$ac_wine_try_cflags_saved
13965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
13966 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
13967 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
13968 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
13969 fi ;;
13970 esac
13972 if test "x$enable_maintainer_mode" = "xyes"
13973 then
13974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
13975 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
13976 if ${ac_cv_cflags__Werror+:} false; then :
13977 $as_echo_n "(cached) " >&6
13978 else
13979 ac_wine_try_cflags_saved=$CFLAGS
13980 CFLAGS="$CFLAGS -Werror"
13981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13982 /* end confdefs.h. */
13983 int main(int argc, char **argv) { return 0; }
13984 _ACEOF
13985 if ac_fn_c_try_link "$LINENO"; then :
13986 ac_cv_cflags__Werror=yes
13987 else
13988 ac_cv_cflags__Werror=no
13990 rm -f core conftest.err conftest.$ac_objext \
13991 conftest$ac_exeext conftest.$ac_ext
13992 CFLAGS=$ac_wine_try_cflags_saved
13994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
13995 $as_echo "$ac_cv_cflags__Werror" >&6; }
13996 if test "x$ac_cv_cflags__Werror" = xyes; then :
13997 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14001 saved_CFLAGS="$CFLAGS"
14002 CFLAGS="$CFLAGS -Werror"
14003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14004 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14005 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14006 $as_echo_n "(cached) " >&6
14007 else
14008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14009 /* end confdefs.h. */
14010 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14012 main ()
14016 return 0;
14018 _ACEOF
14019 if ac_fn_c_try_compile "$LINENO"; then :
14020 ac_cv_have_ms_hook_prologue="yes"
14021 else
14022 ac_cv_have_ms_hook_prologue="no"
14024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14027 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14028 CFLAGS="$saved_CFLAGS"
14029 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14030 then
14032 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14034 else
14035 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14042 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14043 if ${ac_cv_c_fortify_enabled+:} false; then :
14044 $as_echo_n "(cached) " >&6
14045 else
14046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14047 /* end confdefs.h. */
14048 #include <string.h>
14050 main ()
14052 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14053 #error Fortify enabled
14054 #endif
14056 return 0;
14058 _ACEOF
14059 if ac_fn_c_try_compile "$LINENO"; then :
14060 ac_cv_c_fortify_enabled=no
14061 else
14062 ac_cv_c_fortify_enabled=yes
14064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14067 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14068 if test "$ac_cv_c_fortify_enabled" = yes
14069 then
14070 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14075 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14076 if ${ac_cv_c_extern_prefix+:} false; then :
14077 $as_echo_n "(cached) " >&6
14078 else
14079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14080 /* end confdefs.h. */
14081 extern int ac_test;
14083 main ()
14085 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14087 return 0;
14089 _ACEOF
14090 if ac_fn_c_try_link "$LINENO"; then :
14091 ac_cv_c_extern_prefix="yes"
14092 else
14093 ac_cv_c_extern_prefix="no"
14095 rm -f core conftest.err conftest.$ac_objext \
14096 conftest$ac_exeext conftest.$ac_ext
14098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14099 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14101 case $host_cpu in
14102 *i[3456789]86*)
14103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14104 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14105 if ${ac_cv_c_stdcall_suffix+:} false; then :
14106 $as_echo_n "(cached) " >&6
14107 else
14108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14109 /* end confdefs.h. */
14110 #ifndef _MSC_VER
14111 #define __stdcall __attribute__((__stdcall__))
14112 #endif
14113 int __stdcall ac_test(int i) { return i; }
14115 main ()
14117 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14119 return 0;
14121 _ACEOF
14122 if ac_fn_c_try_link "$LINENO"; then :
14123 ac_cv_c_stdcall_suffix="yes"
14124 else
14125 ac_cv_c_stdcall_suffix="no"
14127 rm -f core conftest.err conftest.$ac_objext \
14128 conftest$ac_exeext conftest.$ac_ext
14130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14131 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14132 *) ac_cv_c_stdcall_suffix="no" ;;
14133 esac
14136 if test "$ac_cv_c_extern_prefix" = "yes"
14137 then
14138 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14140 asm_name_prefix="_"
14141 else
14142 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14144 asm_name_prefix=""
14148 if test "$ac_cv_c_stdcall_suffix" = "yes"
14149 then
14150 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14152 else
14153 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14159 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14160 if ${ac_cv_asm_func_def+:} false; then :
14161 $as_echo_n "(cached) " >&6
14162 else
14163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14164 /* end confdefs.h. */
14167 main ()
14169 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14171 return 0;
14173 _ACEOF
14174 if ac_fn_c_try_link "$LINENO"; then :
14175 ac_cv_asm_func_def=".def"
14176 else
14177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14178 /* end confdefs.h. */
14181 main ()
14183 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14185 return 0;
14187 _ACEOF
14188 if ac_fn_c_try_link "$LINENO"; then :
14189 ac_cv_asm_func_def=".type @function"
14190 else
14191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14192 /* end confdefs.h. */
14195 main ()
14197 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14199 return 0;
14201 _ACEOF
14202 if ac_fn_c_try_link "$LINENO"; then :
14203 ac_cv_asm_func_def=".type 2"
14204 else
14205 ac_cv_asm_func_def="unknown"
14207 rm -f core conftest.err conftest.$ac_objext \
14208 conftest$ac_exeext conftest.$ac_ext
14210 rm -f core conftest.err conftest.$ac_objext \
14211 conftest$ac_exeext conftest.$ac_ext
14213 rm -f core conftest.err conftest.$ac_objext \
14214 conftest$ac_exeext conftest.$ac_ext
14216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14217 $as_echo "$ac_cv_asm_func_def" >&6; }
14220 case "$ac_cv_asm_func_def" in
14221 ".def")
14222 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14224 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14225 ".type @function")
14226 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14228 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14229 ".type 2")
14230 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14232 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14234 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14236 asm_func_header="" ;;
14237 esac
14239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14240 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14241 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14242 $as_echo_n "(cached) " >&6
14243 else
14244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14245 /* end confdefs.h. */
14246 asm(".text\n\t.long 0");
14248 main ()
14252 return 0;
14254 _ACEOF
14255 if ac_fn_c_try_compile "$LINENO"; then :
14256 ac_cv_c_asm_outside_funcs="yes"
14257 else
14258 ac_cv_c_asm_outside_funcs="no"
14260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14263 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14266 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14267 if ${ac_cv_c_dot_previous+:} false; then :
14268 $as_echo_n "(cached) " >&6
14269 else
14270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14271 /* end confdefs.h. */
14274 main ()
14276 asm(".text\nac_test:\t.long 0\n\t.previous");
14278 return 0;
14280 _ACEOF
14281 if ac_fn_c_try_link "$LINENO"; then :
14282 ac_cv_c_dot_previous="yes"
14283 else
14284 ac_cv_c_dot_previous="no"
14286 rm -f core conftest.err conftest.$ac_objext \
14287 conftest$ac_exeext conftest.$ac_ext
14289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14290 $as_echo "$ac_cv_c_dot_previous" >&6; }
14292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14293 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14294 if ${ac_cv_c_cfi_support+:} false; then :
14295 $as_echo_n "(cached) " >&6
14296 else
14297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14298 /* end confdefs.h. */
14299 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14301 main ()
14305 return 0;
14307 _ACEOF
14308 if ac_fn_c_try_compile "$LINENO"; then :
14309 ac_cv_c_cfi_support="yes"
14310 else
14311 ac_cv_c_cfi_support="no"
14313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14316 $as_echo "$ac_cv_c_cfi_support" >&6; }
14318 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14319 asm_func_trailer=""
14320 if test "$ac_cv_c_dot_previous" = "yes"
14321 then
14322 asm_func_trailer="\\n\\t.previous"
14324 if test "$ac_cv_c_cfi_support" = "yes"
14325 then
14326 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14327 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14329 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14331 UNWINDFLAGS=-fasynchronous-unwind-tables
14333 else
14334 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14338 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14341 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14342 then
14343 cat >>confdefs.h <<_ACEOF
14344 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14345 _ACEOF
14347 else
14348 cat >>confdefs.h <<_ACEOF
14349 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14350 _ACEOF
14354 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14357 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14361 case $build_os in
14362 cygwin*|mingw32*) TOOLSEXT=".exe"
14364 esac
14366 case $host_os in
14367 linux*)
14368 case $host_cpu in
14369 *i[3456789]86*|x86_64*)
14370 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14371 loader_programs="$loader_programs $wine_binary-preloader"
14372 as_fn_append LOADER_RULES "
14373 $wine_binary-preloader: preloader.o
14374 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14376 install install-lib:: $wine_binary-preloader
14377 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14379 uninstall::
14380 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14382 preloader_EXTRADEFS = $BUILTINFLAG
14383 " ;;
14384 esac
14386 esac
14387 as_fn_append LOADER_RULES "
14388 PROGRAMS = $loader_programs
14392 ac_save_CFLAGS="$CFLAGS"
14393 CFLAGS="$CFLAGS $BUILTINFLAG"
14394 for ac_func in \
14395 __res_get_state \
14396 __res_getservers \
14397 _finite \
14398 _isnan \
14399 _pclose \
14400 _popen \
14401 _snprintf \
14402 _spawnvp \
14403 _strdup \
14404 _stricmp \
14405 _strnicmp \
14406 _strtoi64 \
14407 _strtoui64 \
14408 _vsnprintf \
14409 asctime_r \
14410 chsize \
14411 dlopen \
14412 epoll_create \
14413 ffs \
14414 fnmatch \
14415 fork \
14416 fpclass \
14417 fstatfs \
14418 fstatvfs \
14419 ftruncate \
14420 futimens \
14421 futimes \
14422 futimesat \
14423 getattrlist \
14424 getdirentries \
14425 getopt_long_only \
14426 getpwuid \
14427 gettimeofday \
14428 getuid \
14429 if_nameindex \
14430 kqueue \
14431 lstat \
14432 memmove \
14433 mmap \
14434 pclose \
14435 pipe2 \
14436 poll \
14437 popen \
14438 port_create \
14439 prctl \
14440 pread \
14441 proc_pidinfo \
14442 pwrite \
14443 readdir \
14444 readlink \
14445 sched_yield \
14446 select \
14447 setproctitle \
14448 setrlimit \
14449 settimeofday \
14450 sigaltstack \
14451 sigprocmask \
14452 snprintf \
14453 statfs \
14454 statvfs \
14455 strcasecmp \
14456 strdup \
14457 strerror \
14458 strncasecmp \
14459 strtold \
14460 strtoll \
14461 strtoull \
14462 symlink \
14463 tcdrain \
14464 thr_kill2 \
14465 timegm \
14466 usleep \
14467 vsnprintf
14469 do :
14470 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14471 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14472 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14473 cat >>confdefs.h <<_ACEOF
14474 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14475 _ACEOF
14478 done
14480 CFLAGS="$ac_save_CFLAGS"
14482 if test "$ac_cv_func_dlopen" = no
14483 then
14484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14485 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14486 if ${ac_cv_lib_dl_dlopen+:} false; then :
14487 $as_echo_n "(cached) " >&6
14488 else
14489 ac_check_lib_save_LIBS=$LIBS
14490 LIBS="-ldl $LIBS"
14491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14492 /* end confdefs.h. */
14494 /* Override any GCC internal prototype to avoid an error.
14495 Use char because int might match the return type of a GCC
14496 builtin and then its argument prototype would still apply. */
14497 #ifdef __cplusplus
14498 extern "C"
14499 #endif
14500 char dlopen ();
14502 main ()
14504 return dlopen ();
14506 return 0;
14508 _ACEOF
14509 if ac_fn_c_try_link "$LINENO"; then :
14510 ac_cv_lib_dl_dlopen=yes
14511 else
14512 ac_cv_lib_dl_dlopen=no
14514 rm -f core conftest.err conftest.$ac_objext \
14515 conftest$ac_exeext conftest.$ac_ext
14516 LIBS=$ac_check_lib_save_LIBS
14518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14519 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14520 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14521 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14522 DL_LIBS="-ldl"
14527 ac_wine_check_funcs_save_LIBS="$LIBS"
14528 LIBS="$LIBS $DL_LIBS"
14529 for ac_func in dladdr
14530 do :
14531 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
14532 if test "x$ac_cv_func_dladdr" = xyes; then :
14533 cat >>confdefs.h <<_ACEOF
14534 #define HAVE_DLADDR 1
14535 _ACEOF
14538 done
14540 LIBS="$ac_wine_check_funcs_save_LIBS"
14542 if test "$ac_cv_func_poll" = no
14543 then
14544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14545 $as_echo_n "checking for poll in -lpoll... " >&6; }
14546 if ${ac_cv_lib_poll_poll+:} false; then :
14547 $as_echo_n "(cached) " >&6
14548 else
14549 ac_check_lib_save_LIBS=$LIBS
14550 LIBS="-lpoll $LIBS"
14551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14552 /* end confdefs.h. */
14554 /* Override any GCC internal prototype to avoid an error.
14555 Use char because int might match the return type of a GCC
14556 builtin and then its argument prototype would still apply. */
14557 #ifdef __cplusplus
14558 extern "C"
14559 #endif
14560 char poll ();
14562 main ()
14564 return poll ();
14566 return 0;
14568 _ACEOF
14569 if ac_fn_c_try_link "$LINENO"; then :
14570 ac_cv_lib_poll_poll=yes
14571 else
14572 ac_cv_lib_poll_poll=no
14574 rm -f core conftest.err conftest.$ac_objext \
14575 conftest$ac_exeext conftest.$ac_ext
14576 LIBS=$ac_check_lib_save_LIBS
14578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14579 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14580 if test "x$ac_cv_lib_poll_poll" = xyes; then :
14581 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14582 POLL_LIBS="-lpoll"
14588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14589 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14590 if ${ac_cv_search_gethostbyname+:} false; then :
14591 $as_echo_n "(cached) " >&6
14592 else
14593 ac_func_search_save_LIBS=$LIBS
14594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14595 /* end confdefs.h. */
14597 /* Override any GCC internal prototype to avoid an error.
14598 Use char because int might match the return type of a GCC
14599 builtin and then its argument prototype would still apply. */
14600 #ifdef __cplusplus
14601 extern "C"
14602 #endif
14603 char gethostbyname ();
14605 main ()
14607 return gethostbyname ();
14609 return 0;
14611 _ACEOF
14612 for ac_lib in '' nsl; do
14613 if test -z "$ac_lib"; then
14614 ac_res="none required"
14615 else
14616 ac_res=-l$ac_lib
14617 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14619 if ac_fn_c_try_link "$LINENO"; then :
14620 ac_cv_search_gethostbyname=$ac_res
14622 rm -f core conftest.err conftest.$ac_objext \
14623 conftest$ac_exeext
14624 if ${ac_cv_search_gethostbyname+:} false; then :
14625 break
14627 done
14628 if ${ac_cv_search_gethostbyname+:} false; then :
14630 else
14631 ac_cv_search_gethostbyname=no
14633 rm conftest.$ac_ext
14634 LIBS=$ac_func_search_save_LIBS
14636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14637 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14638 ac_res=$ac_cv_search_gethostbyname
14639 if test "$ac_res" != no; then :
14640 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14646 $as_echo_n "checking for library containing connect... " >&6; }
14647 if ${ac_cv_search_connect+:} false; then :
14648 $as_echo_n "(cached) " >&6
14649 else
14650 ac_func_search_save_LIBS=$LIBS
14651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14652 /* end confdefs.h. */
14654 /* Override any GCC internal prototype to avoid an error.
14655 Use char because int might match the return type of a GCC
14656 builtin and then its argument prototype would still apply. */
14657 #ifdef __cplusplus
14658 extern "C"
14659 #endif
14660 char connect ();
14662 main ()
14664 return connect ();
14666 return 0;
14668 _ACEOF
14669 for ac_lib in '' socket; do
14670 if test -z "$ac_lib"; then
14671 ac_res="none required"
14672 else
14673 ac_res=-l$ac_lib
14674 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14676 if ac_fn_c_try_link "$LINENO"; then :
14677 ac_cv_search_connect=$ac_res
14679 rm -f core conftest.err conftest.$ac_objext \
14680 conftest$ac_exeext
14681 if ${ac_cv_search_connect+:} false; then :
14682 break
14684 done
14685 if ${ac_cv_search_connect+:} false; then :
14687 else
14688 ac_cv_search_connect=no
14690 rm conftest.$ac_ext
14691 LIBS=$ac_func_search_save_LIBS
14693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14694 $as_echo "$ac_cv_search_connect" >&6; }
14695 ac_res=$ac_cv_search_connect
14696 if test "$ac_res" != no; then :
14697 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14703 $as_echo_n "checking for library containing inet_aton... " >&6; }
14704 if ${ac_cv_search_inet_aton+:} false; then :
14705 $as_echo_n "(cached) " >&6
14706 else
14707 ac_func_search_save_LIBS=$LIBS
14708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14709 /* end confdefs.h. */
14711 /* Override any GCC internal prototype to avoid an error.
14712 Use char because int might match the return type of a GCC
14713 builtin and then its argument prototype would still apply. */
14714 #ifdef __cplusplus
14715 extern "C"
14716 #endif
14717 char inet_aton ();
14719 main ()
14721 return inet_aton ();
14723 return 0;
14725 _ACEOF
14726 for ac_lib in '' resolv; do
14727 if test -z "$ac_lib"; then
14728 ac_res="none required"
14729 else
14730 ac_res=-l$ac_lib
14731 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14733 if ac_fn_c_try_link "$LINENO"; then :
14734 ac_cv_search_inet_aton=$ac_res
14736 rm -f core conftest.err conftest.$ac_objext \
14737 conftest$ac_exeext
14738 if ${ac_cv_search_inet_aton+:} false; then :
14739 break
14741 done
14742 if ${ac_cv_search_inet_aton+:} false; then :
14744 else
14745 ac_cv_search_inet_aton=no
14747 rm conftest.$ac_ext
14748 LIBS=$ac_func_search_save_LIBS
14750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14751 $as_echo "$ac_cv_search_inet_aton" >&6; }
14752 ac_res=$ac_cv_search_inet_aton
14753 if test "$ac_res" != no; then :
14754 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14759 for ac_func in \
14760 getaddrinfo \
14761 getnameinfo \
14762 getnetbyname \
14763 getprotobyname \
14764 getprotobynumber \
14765 getservbyport \
14766 inet_addr \
14767 inet_network \
14768 inet_ntop \
14769 inet_pton \
14770 sendmsg \
14771 socketpair \
14773 do :
14774 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14775 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14776 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14777 cat >>confdefs.h <<_ACEOF
14778 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14779 _ACEOF
14782 done
14785 ac_save_LIBS=$LIBS
14786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14787 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14788 if ${ac_cv_search_clock_gettime+:} false; then :
14789 $as_echo_n "(cached) " >&6
14790 else
14791 ac_func_search_save_LIBS=$LIBS
14792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14793 /* end confdefs.h. */
14795 /* Override any GCC internal prototype to avoid an error.
14796 Use char because int might match the return type of a GCC
14797 builtin and then its argument prototype would still apply. */
14798 #ifdef __cplusplus
14799 extern "C"
14800 #endif
14801 char clock_gettime ();
14803 main ()
14805 return clock_gettime ();
14807 return 0;
14809 _ACEOF
14810 for ac_lib in '' rt; do
14811 if test -z "$ac_lib"; then
14812 ac_res="none required"
14813 else
14814 ac_res=-l$ac_lib
14815 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14817 if ac_fn_c_try_link "$LINENO"; then :
14818 ac_cv_search_clock_gettime=$ac_res
14820 rm -f core conftest.err conftest.$ac_objext \
14821 conftest$ac_exeext
14822 if ${ac_cv_search_clock_gettime+:} false; then :
14823 break
14825 done
14826 if ${ac_cv_search_clock_gettime+:} false; then :
14828 else
14829 ac_cv_search_clock_gettime=no
14831 rm conftest.$ac_ext
14832 LIBS=$ac_func_search_save_LIBS
14834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14835 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14836 ac_res=$ac_cv_search_clock_gettime
14837 if test "$ac_res" != no; then :
14838 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14840 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
14842 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
14846 LIBS=$ac_save_LIBS
14848 LDAP_LIBS=""
14850 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
14851 then
14852 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
14854 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
14855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
14856 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
14857 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
14858 $as_echo_n "(cached) " >&6
14859 else
14860 ac_check_lib_save_LIBS=$LIBS
14861 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
14862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14863 /* end confdefs.h. */
14865 /* Override any GCC internal prototype to avoid an error.
14866 Use char because int might match the return type of a GCC
14867 builtin and then its argument prototype would still apply. */
14868 #ifdef __cplusplus
14869 extern "C"
14870 #endif
14871 char ldap_initialize ();
14873 main ()
14875 return ldap_initialize ();
14877 return 0;
14879 _ACEOF
14880 if ac_fn_c_try_link "$LINENO"; then :
14881 ac_cv_lib_ldap_r_ldap_initialize=yes
14882 else
14883 ac_cv_lib_ldap_r_ldap_initialize=no
14885 rm -f core conftest.err conftest.$ac_objext \
14886 conftest$ac_exeext conftest.$ac_ext
14887 LIBS=$ac_check_lib_save_LIBS
14889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
14890 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
14891 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
14892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
14893 $as_echo_n "checking for ber_init in -llber... " >&6; }
14894 if ${ac_cv_lib_lber_ber_init+:} false; then :
14895 $as_echo_n "(cached) " >&6
14896 else
14897 ac_check_lib_save_LIBS=$LIBS
14898 LIBS="-llber $PTHREAD_LIBS $LIBS"
14899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14900 /* end confdefs.h. */
14902 /* Override any GCC internal prototype to avoid an error.
14903 Use char because int might match the return type of a GCC
14904 builtin and then its argument prototype would still apply. */
14905 #ifdef __cplusplus
14906 extern "C"
14907 #endif
14908 char ber_init ();
14910 main ()
14912 return ber_init ();
14914 return 0;
14916 _ACEOF
14917 if ac_fn_c_try_link "$LINENO"; then :
14918 ac_cv_lib_lber_ber_init=yes
14919 else
14920 ac_cv_lib_lber_ber_init=no
14922 rm -f core conftest.err conftest.$ac_objext \
14923 conftest$ac_exeext conftest.$ac_ext
14924 LIBS=$ac_check_lib_save_LIBS
14926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
14927 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
14928 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
14930 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
14932 LDAP_LIBS="-lldap_r -llber"
14939 ac_wine_check_funcs_save_LIBS="$LIBS"
14940 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
14941 for ac_func in \
14942 ldap_count_references \
14943 ldap_first_reference \
14944 ldap_next_reference \
14945 ldap_parse_reference \
14946 ldap_parse_sort_control \
14947 ldap_parse_sortresponse_control \
14948 ldap_parse_vlv_control \
14949 ldap_parse_vlvresponse_control
14950 do :
14951 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14952 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14953 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14954 cat >>confdefs.h <<_ACEOF
14955 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14956 _ACEOF
14959 done
14961 LIBS="$ac_wine_check_funcs_save_LIBS"
14963 if test "x$LDAP_LIBS" = "x"; then :
14964 case "x$with_ldap" in
14965 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
14966 xno) ;;
14967 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
14968 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
14969 esac
14972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
14973 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
14974 if ${wine_cv_one_arg_mkdir+:} false; then :
14975 $as_echo_n "(cached) " >&6
14976 else
14977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14978 /* end confdefs.h. */
14979 #include <sys/stat.h>
14981 main ()
14983 mkdir("foo");
14985 return 0;
14987 _ACEOF
14988 if ac_fn_c_try_compile "$LINENO"; then :
14989 wine_cv_one_arg_mkdir=yes
14990 else
14991 wine_cv_one_arg_mkdir=no
14993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
14996 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
14997 if test "$wine_cv_one_arg_mkdir" = "yes"
14998 then
15000 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15005 $as_echo_n "checking for sched_setaffinity... " >&6; }
15006 if ${wine_cv_have_sched_setaffinity+:} false; then :
15007 $as_echo_n "(cached) " >&6
15008 else
15009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15010 /* end confdefs.h. */
15011 #define _GNU_SOURCE
15012 #include <sched.h>
15014 main ()
15016 sched_setaffinity(0, 0, 0);
15018 return 0;
15020 _ACEOF
15021 if ac_fn_c_try_link "$LINENO"; then :
15022 wine_cv_have_sched_setaffinity=yes
15023 else
15024 wine_cv_have_sched_setaffinity=no
15026 rm -f core conftest.err conftest.$ac_objext \
15027 conftest$ac_exeext conftest.$ac_ext
15029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15030 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15031 if test "$wine_cv_have_sched_setaffinity" = "yes"
15032 then
15034 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15039 $as_echo_n "checking for fallocate... " >&6; }
15040 if ${wine_cv_have_fallocate+:} false; then :
15041 $as_echo_n "(cached) " >&6
15042 else
15043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15044 /* end confdefs.h. */
15045 #define _GNU_SOURCE
15046 #include <fcntl.h>
15048 main ()
15050 fallocate(-1, 0, 0, 0);
15052 return 0;
15054 _ACEOF
15055 if ac_fn_c_try_link "$LINENO"; then :
15056 wine_cv_have_fallocate=yes
15057 else
15058 wine_cv_have_fallocate=no
15060 rm -f core conftest.err conftest.$ac_objext \
15061 conftest$ac_exeext conftest.$ac_ext
15063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15064 $as_echo "$wine_cv_have_fallocate" >&6; }
15065 if test "$wine_cv_have_fallocate" = "yes"
15066 then
15068 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15074 $as_echo_n "checking for inline... " >&6; }
15075 if ${ac_cv_c_inline+:} false; then :
15076 $as_echo_n "(cached) " >&6
15077 else
15078 ac_cv_c_inline=no
15079 for ac_kw in inline __inline__ __inline; do
15080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15081 /* end confdefs.h. */
15082 #ifndef __cplusplus
15083 typedef int foo_t;
15084 static $ac_kw foo_t static_foo () {return 0; }
15085 $ac_kw foo_t foo () {return 0; }
15086 #endif
15088 _ACEOF
15089 if ac_fn_c_try_compile "$LINENO"; then :
15090 ac_cv_c_inline=$ac_kw
15092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15093 test "$ac_cv_c_inline" != no && break
15094 done
15097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15098 $as_echo "$ac_cv_c_inline" >&6; }
15100 case $ac_cv_c_inline in
15101 inline | yes) ;;
15103 case $ac_cv_c_inline in
15104 no) ac_val=;;
15105 *) ac_val=$ac_cv_c_inline;;
15106 esac
15107 cat >>confdefs.h <<_ACEOF
15108 #ifndef __cplusplus
15109 #define inline $ac_val
15110 #endif
15111 _ACEOF
15113 esac
15115 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15116 if test "x$ac_cv_type_mode_t" = xyes; then :
15118 cat >>confdefs.h <<_ACEOF
15119 #define HAVE_MODE_T 1
15120 _ACEOF
15124 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15125 if test "x$ac_cv_type_off_t" = xyes; then :
15127 cat >>confdefs.h <<_ACEOF
15128 #define HAVE_OFF_T 1
15129 _ACEOF
15133 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15134 if test "x$ac_cv_type_pid_t" = xyes; then :
15136 cat >>confdefs.h <<_ACEOF
15137 #define HAVE_PID_T 1
15138 _ACEOF
15142 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15143 if test "x$ac_cv_type_size_t" = xyes; then :
15145 cat >>confdefs.h <<_ACEOF
15146 #define HAVE_SIZE_T 1
15147 _ACEOF
15151 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15152 if test "x$ac_cv_type_ssize_t" = xyes; then :
15154 cat >>confdefs.h <<_ACEOF
15155 #define HAVE_SSIZE_T 1
15156 _ACEOF
15160 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15161 if test "x$ac_cv_type_long_long" = xyes; then :
15163 cat >>confdefs.h <<_ACEOF
15164 #define HAVE_LONG_LONG 1
15165 _ACEOF
15169 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15170 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15172 cat >>confdefs.h <<_ACEOF
15173 #define HAVE_FSBLKCNT_T 1
15174 _ACEOF
15178 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15179 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15181 cat >>confdefs.h <<_ACEOF
15182 #define HAVE_FSFILCNT_T 1
15183 _ACEOF
15188 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15189 #include <signal.h>
15191 if test "x$ac_cv_type_sigset_t" = xyes; then :
15193 cat >>confdefs.h <<_ACEOF
15194 #define HAVE_SIGSET_T 1
15195 _ACEOF
15200 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15202 if test "x$ac_cv_type_request_sense" = xyes; then :
15204 cat >>confdefs.h <<_ACEOF
15205 #define HAVE_REQUEST_SENSE 1
15206 _ACEOF
15212 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15213 #ifdef HAVE_SYS_SOCKET_H
15214 #include <sys/socket.h>
15215 #endif
15216 #ifdef HAVE_SYS_SOCKETVAR_H
15217 #include <sys/socketvar.h>
15218 #endif
15219 #ifdef HAVE_NET_ROUTE_H
15220 #include <net/route.h>
15221 #endif
15222 #ifdef HAVE_NETINET_IN_H
15223 #include <netinet/in.h>
15224 #endif
15225 #ifdef HAVE_NETINET_IN_SYSTM_H
15226 #include <netinet/in_systm.h>
15227 #endif
15228 #ifdef HAVE_NETINET_IP_H
15229 #include <netinet/ip.h>
15230 #endif
15231 #ifdef HAVE_NETINET_IN_PCB_H
15232 #include <netinet/in_pcb.h>
15233 #endif
15235 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15237 cat >>confdefs.h <<_ACEOF
15238 #define HAVE_STRUCT_XINPGEN 1
15239 _ACEOF
15245 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15246 #include <link.h>
15247 #endif
15248 #ifdef HAVE_SYS_LINK_H
15249 #include <sys/link.h>
15250 #endif
15252 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15254 cat >>confdefs.h <<_ACEOF
15255 #define HAVE_STRUCT_R_DEBUG 1
15256 _ACEOF
15260 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15261 #include <link.h>
15262 #endif
15263 #ifdef HAVE_SYS_LINK_H
15264 #include <sys/link.h>
15265 #endif
15267 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15269 cat >>confdefs.h <<_ACEOF
15270 #define HAVE_STRUCT_LINK_MAP 1
15271 _ACEOF
15277 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15278 #include <linux/input.h>
15279 #endif
15281 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15283 cat >>confdefs.h <<_ACEOF
15284 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15285 _ACEOF
15291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15292 $as_echo_n "checking for sigaddset... " >&6; }
15293 if ${wine_cv_have_sigaddset+:} false; then :
15294 $as_echo_n "(cached) " >&6
15295 else
15296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15297 /* end confdefs.h. */
15298 #include <signal.h>
15300 main ()
15302 sigset_t set; sigaddset(&set,SIGTERM);
15304 return 0;
15306 _ACEOF
15307 if ac_fn_c_try_link "$LINENO"; then :
15308 wine_cv_have_sigaddset=yes
15309 else
15310 wine_cv_have_sigaddset=no
15312 rm -f core conftest.err conftest.$ac_objext \
15313 conftest$ac_exeext conftest.$ac_ext
15315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15316 $as_echo "$wine_cv_have_sigaddset" >&6; }
15317 if test "$wine_cv_have_sigaddset" = "yes"
15318 then
15320 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15326 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15327 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15328 $as_echo_n "(cached) " >&6
15329 else
15330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15331 /* end confdefs.h. */
15332 #include <netdb.h>
15334 main ()
15337 char *name=0;
15338 struct hostent he;
15339 struct hostent *result;
15340 char *buf=0;
15341 int bufsize=0;
15342 int errnr;
15343 char *addr=0;
15344 int addrlen=0;
15345 int addrtype=0;
15346 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15347 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15350 return 0;
15352 _ACEOF
15353 if ac_fn_c_try_link "$LINENO"; then :
15354 wine_cv_linux_gethostbyname_r_6=yes
15355 else
15356 wine_cv_linux_gethostbyname_r_6=no
15359 rm -f core conftest.err conftest.$ac_objext \
15360 conftest$ac_exeext conftest.$ac_ext
15363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15364 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15365 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15366 then
15368 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15372 if test "$ac_cv_header_linux_joystick_h" = "yes"
15373 then
15374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15375 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15376 if ${wine_cv_linux_joystick_22_api+:} false; then :
15377 $as_echo_n "(cached) " >&6
15378 else
15379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15380 /* end confdefs.h. */
15382 #include <sys/ioctl.h>
15383 #include <sys/types.h>
15384 #include <linux/joystick.h>
15386 struct js_event blub;
15387 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15388 #error "no 2.2 header"
15389 #endif
15392 main ()
15394 /*empty*/
15396 return 0;
15398 _ACEOF
15399 if ac_fn_c_try_compile "$LINENO"; then :
15400 wine_cv_linux_joystick_22_api=yes
15401 else
15402 wine_cv_linux_joystick_22_api=no
15404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15408 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15409 if test "$wine_cv_linux_joystick_22_api" = "yes"
15410 then
15412 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15418 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15419 #ifdef HAVE_SYS_PARAM_H
15420 # include <sys/param.h>
15421 #endif
15422 #ifdef HAVE_SYS_MOUNT_H
15423 # include <sys/mount.h>
15424 #endif
15425 #ifdef HAVE_SYS_VFS_H
15426 # include <sys/vfs.h>
15427 #endif
15428 #ifdef HAVE_SYS_STATFS_H
15429 # include <sys/statfs.h>
15430 #endif
15432 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15434 cat >>confdefs.h <<_ACEOF
15435 #define HAVE_STRUCT_STATFS_F_BFREE 1
15436 _ACEOF
15440 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15441 #ifdef HAVE_SYS_PARAM_H
15442 # include <sys/param.h>
15443 #endif
15444 #ifdef HAVE_SYS_MOUNT_H
15445 # include <sys/mount.h>
15446 #endif
15447 #ifdef HAVE_SYS_VFS_H
15448 # include <sys/vfs.h>
15449 #endif
15450 #ifdef HAVE_SYS_STATFS_H
15451 # include <sys/statfs.h>
15452 #endif
15454 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
15456 cat >>confdefs.h <<_ACEOF
15457 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15458 _ACEOF
15462 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15463 #ifdef HAVE_SYS_PARAM_H
15464 # include <sys/param.h>
15465 #endif
15466 #ifdef HAVE_SYS_MOUNT_H
15467 # include <sys/mount.h>
15468 #endif
15469 #ifdef HAVE_SYS_VFS_H
15470 # include <sys/vfs.h>
15471 #endif
15472 #ifdef HAVE_SYS_STATFS_H
15473 # include <sys/statfs.h>
15474 #endif
15476 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
15478 cat >>confdefs.h <<_ACEOF
15479 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15480 _ACEOF
15484 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15485 #ifdef HAVE_SYS_PARAM_H
15486 # include <sys/param.h>
15487 #endif
15488 #ifdef HAVE_SYS_MOUNT_H
15489 # include <sys/mount.h>
15490 #endif
15491 #ifdef HAVE_SYS_VFS_H
15492 # include <sys/vfs.h>
15493 #endif
15494 #ifdef HAVE_SYS_STATFS_H
15495 # include <sys/statfs.h>
15496 #endif
15498 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
15500 cat >>confdefs.h <<_ACEOF
15501 #define HAVE_STRUCT_STATFS_F_FFREE 1
15502 _ACEOF
15506 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15507 #ifdef HAVE_SYS_PARAM_H
15508 # include <sys/param.h>
15509 #endif
15510 #ifdef HAVE_SYS_MOUNT_H
15511 # include <sys/mount.h>
15512 #endif
15513 #ifdef HAVE_SYS_VFS_H
15514 # include <sys/vfs.h>
15515 #endif
15516 #ifdef HAVE_SYS_STATFS_H
15517 # include <sys/statfs.h>
15518 #endif
15520 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
15522 cat >>confdefs.h <<_ACEOF
15523 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15524 _ACEOF
15528 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15529 #ifdef HAVE_SYS_PARAM_H
15530 # include <sys/param.h>
15531 #endif
15532 #ifdef HAVE_SYS_MOUNT_H
15533 # include <sys/mount.h>
15534 #endif
15535 #ifdef HAVE_SYS_VFS_H
15536 # include <sys/vfs.h>
15537 #endif
15538 #ifdef HAVE_SYS_STATFS_H
15539 # include <sys/statfs.h>
15540 #endif
15542 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
15544 cat >>confdefs.h <<_ACEOF
15545 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15546 _ACEOF
15552 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15553 #include <sys/statvfs.h>
15554 #endif
15556 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
15558 cat >>confdefs.h <<_ACEOF
15559 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15560 _ACEOF
15566 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15567 #include <dirent.h>
15568 #endif
15570 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
15572 cat >>confdefs.h <<_ACEOF
15573 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15574 _ACEOF
15580 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15581 #ifdef HAVE_SYS_SOCKET_H
15582 # include <sys/socket.h>
15583 #endif
15584 #ifdef HAVE_SYS_UN_H
15585 # include <sys/un.h>
15586 #endif
15588 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
15590 cat >>confdefs.h <<_ACEOF
15591 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15592 _ACEOF
15596 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15597 #ifdef HAVE_SYS_SOCKET_H
15598 # include <sys/socket.h>
15599 #endif
15600 #ifdef HAVE_SYS_UN_H
15601 # include <sys/un.h>
15602 #endif
15604 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
15606 cat >>confdefs.h <<_ACEOF
15607 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15608 _ACEOF
15612 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15613 #ifdef HAVE_SYS_SOCKET_H
15614 # include <sys/socket.h>
15615 #endif
15616 #ifdef HAVE_SYS_UN_H
15617 # include <sys/un.h>
15618 #endif
15620 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
15622 cat >>confdefs.h <<_ACEOF
15623 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15624 _ACEOF
15630 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15631 #ifdef HAVE_SCSI_SG_H
15632 #include <scsi/sg.h>
15633 #endif
15635 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
15637 cat >>confdefs.h <<_ACEOF
15638 #define HAVE_SCSIREQ_T_CMD 1
15639 _ACEOF
15643 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>
15644 #ifdef HAVE_SCSI_SG_H
15645 #include <scsi/sg.h>
15646 #endif
15648 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
15650 cat >>confdefs.h <<_ACEOF
15651 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15652 _ACEOF
15658 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15660 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
15662 cat >>confdefs.h <<_ACEOF
15663 #define HAVE_SIGINFO_T_SI_FD 1
15664 _ACEOF
15670 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15671 #ifdef HAVE_SYS_MTIO_H
15672 #include <sys/mtio.h>
15673 #endif
15675 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
15677 cat >>confdefs.h <<_ACEOF
15678 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15679 _ACEOF
15683 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15684 #ifdef HAVE_SYS_MTIO_H
15685 #include <sys/mtio.h>
15686 #endif
15688 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
15690 cat >>confdefs.h <<_ACEOF
15691 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15692 _ACEOF
15696 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15697 #ifdef HAVE_SYS_MTIO_H
15698 #include <sys/mtio.h>
15699 #endif
15701 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
15703 cat >>confdefs.h <<_ACEOF
15704 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15705 _ACEOF
15711 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15712 #include <getopt.h>
15713 #endif
15715 if test "x$ac_cv_member_struct_option_name" = xyes; then :
15717 cat >>confdefs.h <<_ACEOF
15718 #define HAVE_STRUCT_OPTION_NAME 1
15719 _ACEOF
15725 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15726 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
15728 cat >>confdefs.h <<_ACEOF
15729 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15730 _ACEOF
15734 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15735 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
15737 cat >>confdefs.h <<_ACEOF
15738 #define HAVE_STRUCT_STAT_ST_MTIM 1
15739 _ACEOF
15743 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15744 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
15746 cat >>confdefs.h <<_ACEOF
15747 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15748 _ACEOF
15752 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15753 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
15755 cat >>confdefs.h <<_ACEOF
15756 #define HAVE_STRUCT_STAT_ST_CTIM 1
15757 _ACEOF
15761 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15762 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
15764 cat >>confdefs.h <<_ACEOF
15765 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15766 _ACEOF
15770 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15771 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
15773 cat >>confdefs.h <<_ACEOF
15774 #define HAVE_STRUCT_STAT_ST_ATIM 1
15775 _ACEOF
15779 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15780 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
15782 cat >>confdefs.h <<_ACEOF
15783 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15784 _ACEOF
15788 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15789 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
15791 cat >>confdefs.h <<_ACEOF
15792 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15793 _ACEOF
15797 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15798 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
15800 cat >>confdefs.h <<_ACEOF
15801 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15802 _ACEOF
15806 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15807 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
15809 cat >>confdefs.h <<_ACEOF
15810 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15811 _ACEOF
15815 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15816 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
15818 cat >>confdefs.h <<_ACEOF
15819 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15820 _ACEOF
15824 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15825 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
15827 cat >>confdefs.h <<_ACEOF
15828 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15829 _ACEOF
15835 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
15836 #include <sys/types.h>
15837 #endif
15838 #ifdef HAVE_NETINET_IN_H
15839 #include <netinet/in.h>
15840 #endif
15842 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
15844 cat >>confdefs.h <<_ACEOF
15845 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
15846 _ACEOF
15852 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
15853 #include <resolv.h>
15854 #endif
15856 if test "x$ac_cv_type_struct___res_state" = xyes; then :
15858 cat >>confdefs.h <<_ACEOF
15859 #define HAVE_STRUCT___RES_STATE 1
15860 _ACEOF
15866 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
15867 #include <resolv.h>
15868 #endif
15870 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
15872 cat >>confdefs.h <<_ACEOF
15873 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
15874 _ACEOF
15880 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
15881 #include <sys/types.h>
15882 #endif
15883 #ifdef HAVE_NETINET_IN_H
15884 # include <netinet/in.h>
15885 #endif
15886 #ifdef HAVE_ARPA_NAMESER_H
15887 # include <arpa/nameser.h>
15888 #endif
15890 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
15892 cat >>confdefs.h <<_ACEOF
15893 #define HAVE_NS_MSG__MSG_PTR 1
15894 _ACEOF
15900 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
15901 #include <sys/types.h>
15902 #endif
15903 #ifdef HAVE_NETINET_IP_H
15904 #include <netinet/ip.h>
15905 #endif
15906 #ifdef HAVE_NETINET_IP_ICMP_H
15907 #include <netinet/ip_icmp.h>
15908 #endif
15909 #ifdef HAVE_NETINET_ICMP_VAR_H
15910 #include <netinet/icmp_var.h>
15911 #endif
15913 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
15915 cat >>confdefs.h <<_ACEOF
15916 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
15917 _ACEOF
15923 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
15924 #include <sys/types.h>
15925 #endif
15926 #ifdef HAVE_ALIAS_H
15927 #include <alias.h>
15928 #endif
15929 #ifdef HAVE_SYS_SOCKET_H
15930 #include <sys/socket.h>
15931 #endif
15932 #ifdef HAVE_SYS_SOCKETVAR_H
15933 #include <sys/socketvar.h>
15934 #endif
15935 #ifdef HAVE_SYS_TIMEOUT_H
15936 #include <sys/timeout.h>
15937 #endif
15938 #ifdef HAVE_NETINET_IN_H
15939 #include <netinet/in.h>
15940 #endif
15941 #ifdef HAVE_NETINET_IN_SYSTM_H
15942 #include <netinet/in_systm.h>
15943 #endif
15944 #ifdef HAVE_NETINET_IP_H
15945 #include <netinet/ip.h>
15946 #endif
15947 #ifdef HAVE_NETINET_IP_VAR_H
15948 #include <netinet/ip_var.h>
15949 #endif
15950 #ifdef HAVE_NETINET_IP_ICMP_H
15951 #include <netinet/ip_icmp.h>
15952 #endif
15953 #ifdef HAVE_NETINET_ICMP_VAR_H
15954 #include <netinet/icmp_var.h>
15955 #endif
15957 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
15959 cat >>confdefs.h <<_ACEOF
15960 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
15961 _ACEOF
15967 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
15968 #include <sys/types.h>
15969 #endif
15970 #ifdef HAVE_SYS_SOCKETVAR_H
15971 #include <sys/socketvar.h>
15972 #endif
15973 #ifdef HAVE_NETINET_IN_H
15974 #include <netinet/in.h>
15975 #endif
15976 #ifdef HAVE_NETINET_IP_VAR_H
15977 #include <netinet/ip_var.h>
15978 #endif
15980 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
15982 cat >>confdefs.h <<_ACEOF
15983 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
15984 _ACEOF
15990 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
15991 #include <netinet/ip_var.h>
15992 #endif
15994 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
15996 cat >>confdefs.h <<_ACEOF
15997 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
15998 _ACEOF
16004 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16005 #include <sys/types.h>
16006 #endif
16007 #ifdef HAVE_SYS_SOCKETVAR_H
16008 #include <sys/socketvar.h>
16009 #endif
16010 #ifdef HAVE_NETINET_IN_H
16011 #include <netinet/in.h>
16012 #endif
16013 #ifdef HAVE_NETINET_TCP_H
16014 #include <netinet/tcp.h>
16015 #endif
16016 #ifdef HAVE_NETINET_TCP_VAR_H
16017 #include <netinet/tcp_var.h>
16018 #endif
16020 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16022 cat >>confdefs.h <<_ACEOF
16023 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16024 _ACEOF
16030 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
16031 #include <netinet/tcp_var.h>
16032 #endif
16034 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16036 cat >>confdefs.h <<_ACEOF
16037 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16038 _ACEOF
16044 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16045 #include <sys/types.h>
16046 #endif
16047 #ifdef HAVE_NETINET_IN_H
16048 #include <netinet/in.h>
16049 #endif
16050 #ifdef HAVE_NETINET_IP_VAR_H
16051 #include <netinet/ip_var.h>
16052 #endif
16053 #ifdef HAVE_NETINET_UDP_H
16054 #include <netinet/udp.h>
16055 #endif
16056 #ifdef HAVE_NETINET_UDP_VAR_H
16057 #include <netinet/udp_var.h>
16058 #endif
16060 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16062 cat >>confdefs.h <<_ACEOF
16063 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16064 _ACEOF
16070 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16071 #include <sys/types.h>
16072 #endif
16073 #ifdef HAVE_NET_IF_H
16074 # include <net/if.h>
16075 #endif
16077 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16079 cat >>confdefs.h <<_ACEOF
16080 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16081 _ACEOF
16087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16088 $as_echo_n "checking for timezone variable... " >&6; }
16089 if ${ac_cv_have_timezone+:} false; then :
16090 $as_echo_n "(cached) " >&6
16091 else
16092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16093 /* end confdefs.h. */
16094 #include <time.h>
16096 main ()
16098 timezone = 1
16100 return 0;
16102 _ACEOF
16103 if ac_fn_c_try_link "$LINENO"; then :
16104 ac_cv_have_timezone="yes"
16105 else
16106 ac_cv_have_timezone="no"
16108 rm -f core conftest.err conftest.$ac_objext \
16109 conftest$ac_exeext conftest.$ac_ext
16111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16112 $as_echo "$ac_cv_have_timezone" >&6; }
16113 if test "$ac_cv_have_timezone" = "yes"
16114 then
16116 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16120 $as_echo_n "checking for daylight variable... " >&6; }
16121 if ${ac_cv_have_daylight+:} false; then :
16122 $as_echo_n "(cached) " >&6
16123 else
16124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16125 /* end confdefs.h. */
16126 #include <time.h>
16128 main ()
16130 daylight = 1
16132 return 0;
16134 _ACEOF
16135 if ac_fn_c_try_link "$LINENO"; then :
16136 ac_cv_have_daylight="yes"
16137 else
16138 ac_cv_have_daylight="no"
16140 rm -f core conftest.err conftest.$ac_objext \
16141 conftest$ac_exeext conftest.$ac_ext
16143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16144 $as_echo "$ac_cv_have_daylight" >&6; }
16145 if test "$ac_cv_have_daylight" = "yes"
16146 then
16148 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16152 ac_save_LIBS="$LIBS"
16153 LIBS="$LIBS -lm"
16154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16155 $as_echo_n "checking for isfinite... " >&6; }
16156 if ${ac_cv_have_isfinite+:} false; then :
16157 $as_echo_n "(cached) " >&6
16158 else
16159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16160 /* end confdefs.h. */
16161 #define _GNU_SOURCE
16162 #include <math.h>
16164 main ()
16166 float f = 0.0; return isfinite(f)
16168 return 0;
16170 _ACEOF
16171 if ac_fn_c_try_link "$LINENO"; then :
16172 ac_cv_have_isfinite="yes"
16173 else
16174 ac_cv_have_isfinite="no"
16176 rm -f core conftest.err conftest.$ac_objext \
16177 conftest$ac_exeext conftest.$ac_ext
16179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16180 $as_echo "$ac_cv_have_isfinite" >&6; }
16181 if test "$ac_cv_have_isfinite" = "yes"
16182 then
16184 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16188 ac_save_LIBS="$LIBS"
16189 LIBS="$LIBS -lm"
16190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16191 $as_echo_n "checking for isinf... " >&6; }
16192 if ${ac_cv_have_isinf+:} false; then :
16193 $as_echo_n "(cached) " >&6
16194 else
16195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16196 /* end confdefs.h. */
16197 #include <math.h>
16199 main ()
16201 float f = 0.0; return isinf(f)
16203 return 0;
16205 _ACEOF
16206 if ac_fn_c_try_link "$LINENO"; then :
16207 ac_cv_have_isinf="yes"
16208 else
16209 ac_cv_have_isinf="no"
16211 rm -f core conftest.err conftest.$ac_objext \
16212 conftest$ac_exeext conftest.$ac_ext
16214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16215 $as_echo "$ac_cv_have_isinf" >&6; }
16216 if test "$ac_cv_have_isinf" = "yes"
16217 then
16219 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16224 $as_echo_n "checking for isnan... " >&6; }
16225 if ${ac_cv_have_isnan+:} false; then :
16226 $as_echo_n "(cached) " >&6
16227 else
16228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16229 /* end confdefs.h. */
16230 #include <math.h>
16232 main ()
16234 float f = 0.0; return isnan(f)
16236 return 0;
16238 _ACEOF
16239 if ac_fn_c_try_link "$LINENO"; then :
16240 ac_cv_have_isnan="yes"
16241 else
16242 ac_cv_have_isnan="no"
16244 rm -f core conftest.err conftest.$ac_objext \
16245 conftest$ac_exeext conftest.$ac_ext
16247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16248 $as_echo "$ac_cv_have_isnan" >&6; }
16249 if test "$ac_cv_have_isnan" = "yes"
16250 then
16252 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16255 LIBS="$ac_save_LIBS"
16258 case $host_cpu in
16259 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16260 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16261 if ${ac_cv_cpp_def___i386__+:} false; then :
16262 $as_echo_n "(cached) " >&6
16263 else
16264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16265 /* end confdefs.h. */
16266 #ifndef __i386__
16268 #endif
16269 _ACEOF
16270 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16271 $EGREP "yes" >/dev/null 2>&1; then :
16272 ac_cv_cpp_def___i386__=yes
16273 else
16274 ac_cv_cpp_def___i386__=no
16276 rm -f conftest*
16279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16280 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16281 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16282 CFLAGS="$CFLAGS -D__i386__"
16283 LINTFLAGS="$LINTFLAGS -D__i386__"
16284 fi ;;
16285 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16286 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16287 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16288 $as_echo_n "(cached) " >&6
16289 else
16290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16291 /* end confdefs.h. */
16292 #ifndef __x86_64__
16294 #endif
16295 _ACEOF
16296 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16297 $EGREP "yes" >/dev/null 2>&1; then :
16298 ac_cv_cpp_def___x86_64__=yes
16299 else
16300 ac_cv_cpp_def___x86_64__=no
16302 rm -f conftest*
16305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16306 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16307 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16308 CFLAGS="$CFLAGS -D__x86_64__"
16309 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16310 fi ;;
16311 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16312 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16313 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16314 $as_echo_n "(cached) " >&6
16315 else
16316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16317 /* end confdefs.h. */
16318 #ifndef __sparc64__
16320 #endif
16321 _ACEOF
16322 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16323 $EGREP "yes" >/dev/null 2>&1; then :
16324 ac_cv_cpp_def___sparc64__=yes
16325 else
16326 ac_cv_cpp_def___sparc64__=no
16328 rm -f conftest*
16331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16332 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16333 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
16334 CFLAGS="$CFLAGS -D__sparc64__"
16335 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16336 fi ;;
16337 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16338 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16339 if ${ac_cv_cpp_def___sparc__+:} false; then :
16340 $as_echo_n "(cached) " >&6
16341 else
16342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16343 /* end confdefs.h. */
16344 #ifndef __sparc__
16346 #endif
16347 _ACEOF
16348 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16349 $EGREP "yes" >/dev/null 2>&1; then :
16350 ac_cv_cpp_def___sparc__=yes
16351 else
16352 ac_cv_cpp_def___sparc__=no
16354 rm -f conftest*
16357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16358 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16359 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
16360 CFLAGS="$CFLAGS -D__sparc__"
16361 LINTFLAGS="$LINTFLAGS -D__sparc__"
16362 fi ;;
16363 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16364 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16365 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
16366 $as_echo_n "(cached) " >&6
16367 else
16368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16369 /* end confdefs.h. */
16370 #ifndef __powerpc64__
16372 #endif
16373 _ACEOF
16374 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16375 $EGREP "yes" >/dev/null 2>&1; then :
16376 ac_cv_cpp_def___powerpc64__=yes
16377 else
16378 ac_cv_cpp_def___powerpc64__=no
16380 rm -f conftest*
16383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16384 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16385 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
16386 CFLAGS="$CFLAGS -D__powerpc64__"
16387 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
16388 fi ;;
16389 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16390 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16391 if ${ac_cv_cpp_def___powerpc__+:} false; then :
16392 $as_echo_n "(cached) " >&6
16393 else
16394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16395 /* end confdefs.h. */
16396 #ifndef __powerpc__
16398 #endif
16399 _ACEOF
16400 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16401 $EGREP "yes" >/dev/null 2>&1; then :
16402 ac_cv_cpp_def___powerpc__=yes
16403 else
16404 ac_cv_cpp_def___powerpc__=no
16406 rm -f conftest*
16409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16410 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16411 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
16412 CFLAGS="$CFLAGS -D__powerpc__"
16413 LINTFLAGS="$LINTFLAGS -D__powerpc__"
16414 fi ;;
16415 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16416 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16417 if ${ac_cv_cpp_def___aarch64__+:} false; then :
16418 $as_echo_n "(cached) " >&6
16419 else
16420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16421 /* end confdefs.h. */
16422 #ifndef __aarch64__
16424 #endif
16425 _ACEOF
16426 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16427 $EGREP "yes" >/dev/null 2>&1; then :
16428 ac_cv_cpp_def___aarch64__=yes
16429 else
16430 ac_cv_cpp_def___aarch64__=no
16432 rm -f conftest*
16435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16436 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16437 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
16438 CFLAGS="$CFLAGS -D__aarch64__"
16439 LINTFLAGS="$LINTFLAGS -D__aarch64__"
16440 fi ;;
16441 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16442 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16443 if ${ac_cv_cpp_def___arm__+:} false; then :
16444 $as_echo_n "(cached) " >&6
16445 else
16446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16447 /* end confdefs.h. */
16448 #ifndef __arm__
16450 #endif
16451 _ACEOF
16452 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16453 $EGREP "yes" >/dev/null 2>&1; then :
16454 ac_cv_cpp_def___arm__=yes
16455 else
16456 ac_cv_cpp_def___arm__=no
16458 rm -f conftest*
16461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16462 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16463 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
16464 CFLAGS="$CFLAGS -D__arm__"
16465 LINTFLAGS="$LINTFLAGS -D__arm__"
16466 fi ;;
16467 esac
16469 case $host_vendor in
16470 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16471 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16472 if ${ac_cv_cpp_def___sun__+:} false; then :
16473 $as_echo_n "(cached) " >&6
16474 else
16475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16476 /* end confdefs.h. */
16477 #ifndef __sun__
16479 #endif
16480 _ACEOF
16481 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16482 $EGREP "yes" >/dev/null 2>&1; then :
16483 ac_cv_cpp_def___sun__=yes
16484 else
16485 ac_cv_cpp_def___sun__=no
16487 rm -f conftest*
16490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16491 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16492 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
16493 CFLAGS="$CFLAGS -D__sun__"
16494 LINTFLAGS="$LINTFLAGS -D__sun__"
16495 fi ;;
16496 esac
16502 ac_config_commands="$ac_config_commands include/stamp-h"
16504 $as_echo_n "creating Makefile rules..." >&6
16506 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
16507 SOCKET_LIBS = $SOCKET_LIBS
16508 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16509 IOKIT_LIBS = $IOKIT_LIBS
16510 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16511 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16512 CORESERVICES_LIBS = $CORESERVICES_LIBS
16513 APPKIT_LIBS = $APPKIT_LIBS
16514 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16515 SECURITY_LIBS = $SECURITY_LIBS
16516 COREAUDIO_LIBS = $COREAUDIO_LIBS
16517 OPENAL_LIBS = $OPENAL_LIBS
16518 OPENCL_LIBS = $OPENCL_LIBS
16519 QUICKTIME_LIBS = $QUICKTIME_LIBS
16520 CARBON_LIBS = $CARBON_LIBS
16521 PTHREAD_LIBS = $PTHREAD_LIBS
16522 X_CFLAGS = $X_CFLAGS
16523 X_PRE_LIBS = $X_PRE_LIBS
16524 X_LIBS = $X_LIBS
16525 X_EXTRA_LIBS = $X_EXTRA_LIBS
16526 XML2_CFLAGS = $XML2_CFLAGS
16527 XML2_LIBS = $XML2_LIBS
16528 XSLT_CFLAGS = $XSLT_CFLAGS
16529 XSLT_LIBS = $XSLT_LIBS
16530 DBUS_CFLAGS = $DBUS_CFLAGS
16531 DBUS_LIBS = $DBUS_LIBS
16532 HAL_CFLAGS = $HAL_CFLAGS
16533 HAL_LIBS = $HAL_LIBS
16534 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16535 GNUTLS_LIBS = $GNUTLS_LIBS
16536 SANE_CFLAGS = $SANE_CFLAGS
16537 SANE_LIBS = $SANE_LIBS
16538 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16539 GPHOTO2_LIBS = $GPHOTO2_LIBS
16540 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16541 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16542 RESOLV_LIBS = $RESOLV_LIBS
16543 LCMS2_CFLAGS = $LCMS2_CFLAGS
16544 LCMS2_LIBS = $LCMS2_LIBS
16545 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16546 FREETYPE_LIBS = $FREETYPE_LIBS
16547 Z_LIBS = $Z_LIBS
16548 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16549 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16550 GSTREAMER_LIBS = $GSTREAMER_LIBS
16551 ALSA_LIBS = $ALSA_LIBS
16552 OSS4_CFLAGS = $OSS4_CFLAGS
16553 CAPI20_CFLAGS = $CAPI20_CFLAGS
16554 CAPI20_LIBS = $CAPI20_LIBS
16555 CUPS_CFLAGS = $CUPS_CFLAGS
16556 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16557 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16558 JPEG_CFLAGS = $JPEG_CFLAGS
16559 JPEG_LIBS = $JPEG_LIBS
16560 PNG_CFLAGS = $PNG_CFLAGS
16561 PNG_LIBS = $PNG_LIBS
16562 TIFF_CFLAGS = $TIFF_CFLAGS
16563 TIFF_LIBS = $TIFF_LIBS
16564 MPG123_CFLAGS = $MPG123_CFLAGS
16565 MPG123_LIBS = $MPG123_LIBS
16566 KSTAT_LIBS = $KSTAT_LIBS
16567 PROCSTAT_LIBS = $PROCSTAT_LIBS
16568 DL_LIBS = $DL_LIBS
16569 POLL_LIBS = $POLL_LIBS
16570 RT_LIBS = $RT_LIBS
16571 LDAP_LIBS = $LDAP_LIBS
16576 wine_fn_append_rule "
16577 # Rules automatically generated by configure
16579 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16581 .INIT: Makefile
16582 .MAKEFILEDEPS:
16583 all: Makefile
16584 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16585 @./config.status Make.tmp Makefile"
16587 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
16588 .gitignore: config.status
16589 @./config.status .gitignore"
16591 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
16592 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16594 if test "x$enable_fonts" != xno; then
16595 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16596 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16597 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16598 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16599 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf
16601 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16602 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
16603 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
16604 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
16605 ac_config_links="$ac_config_links wine:tools/winewrapper"
16606 wine_fn_config_symlink wine
16607 if test "x$enable_win64" != xno; then
16608 ac_config_links="$ac_config_links wine64:tools/winewrapper"
16609 wine_fn_config_symlink wine64
16612 wine_fn_config_dll acledit enable_acledit
16613 wine_fn_config_dll aclui enable_aclui implib
16614 wine_fn_config_dll activeds enable_activeds implib
16615 wine_fn_config_dll actxprxy enable_actxprxy clean
16616 wine_fn_config_lib adsiid
16617 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
16618 wine_fn_config_test dlls/advapi32/tests advapi32_test
16619 wine_fn_config_dll advpack enable_advpack implib
16620 wine_fn_config_test dlls/advpack/tests advpack_test
16621 wine_fn_config_dll amstream enable_amstream clean
16622 wine_fn_config_test dlls/amstream/tests amstream_test
16623 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16624 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16625 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16626 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16627 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16628 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16629 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16630 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16631 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16632 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
16633 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
16634 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
16635 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
16636 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
16637 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16638 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
16639 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
16640 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
16641 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16642 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
16643 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
16644 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
16645 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
16646 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
16647 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
16648 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
16649 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
16650 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
16651 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
16652 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
16653 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
16654 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
16655 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16656 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16657 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16658 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16659 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16660 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16661 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16662 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16663 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16664 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16665 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16666 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
16667 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
16668 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16669 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
16670 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
16671 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
16672 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
16673 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
16674 wine_fn_config_dll apphelp enable_apphelp
16675 wine_fn_config_test dlls/apphelp/tests apphelp_test
16676 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16677 wine_fn_config_dll atl enable_atl clean,implib
16678 wine_fn_config_test dlls/atl/tests atl_test
16679 wine_fn_config_dll atl100 enable_atl100 implib
16680 wine_fn_config_test dlls/atl100/tests atl100_test
16681 wine_fn_config_dll atl110 enable_atl110
16682 wine_fn_config_dll atl80 enable_atl80 implib
16683 wine_fn_config_test dlls/atl80/tests atl80_test
16684 wine_fn_config_dll atl90 enable_atl90
16685 wine_fn_config_dll authz enable_authz
16686 wine_fn_config_dll avicap32 enable_avicap32 implib
16687 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
16688 wine_fn_config_test dlls/avifil32/tests avifil32_test
16689 wine_fn_config_dll avifile.dll16 enable_win16
16690 wine_fn_config_dll avrt enable_avrt implib
16691 wine_fn_config_dll bcrypt enable_bcrypt
16692 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
16693 wine_fn_config_dll browseui enable_browseui clean,po
16694 wine_fn_config_test dlls/browseui/tests browseui_test
16695 wine_fn_config_dll cabinet enable_cabinet implib
16696 wine_fn_config_test dlls/cabinet/tests cabinet_test
16697 wine_fn_config_dll capi2032 enable_capi2032 implib
16698 wine_fn_config_dll cards enable_cards implib
16699 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16700 wine_fn_config_dll clusapi enable_clusapi implib
16701 wine_fn_config_dll comcat enable_comcat
16702 wine_fn_config_test dlls/comcat/tests comcat_test
16703 wine_fn_config_dll comctl32 enable_comctl32 implib,po
16704 wine_fn_config_test dlls/comctl32/tests comctl32_test
16705 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
16706 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
16707 wine_fn_config_dll comm.drv16 enable_win16
16708 wine_fn_config_dll commdlg.dll16 enable_win16
16709 wine_fn_config_dll compobj.dll16 enable_win16
16710 wine_fn_config_dll compstui enable_compstui implib
16711 wine_fn_config_dll comsvcs enable_comsvcs implib
16712 wine_fn_config_dll credui enable_credui implib,po
16713 wine_fn_config_test dlls/credui/tests credui_test
16714 wine_fn_config_dll crtdll enable_crtdll implib
16715 wine_fn_config_dll crypt32 enable_crypt32 implib,po
16716 wine_fn_config_test dlls/crypt32/tests crypt32_test
16717 wine_fn_config_dll cryptdlg enable_cryptdlg po
16718 wine_fn_config_dll cryptdll enable_cryptdll implib
16719 wine_fn_config_dll cryptnet enable_cryptnet implib
16720 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
16721 wine_fn_config_dll cryptui enable_cryptui implib,po
16722 wine_fn_config_test dlls/cryptui/tests cryptui_test
16723 wine_fn_config_dll ctapi32 enable_ctapi32
16724 wine_fn_config_dll ctl3d.dll16 enable_win16
16725 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16726 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16727 wine_fn_config_dll d2d1 enable_d2d1 implib
16728 wine_fn_config_dll d3d10 enable_d3d10 implib
16729 wine_fn_config_test dlls/d3d10/tests d3d10_test
16730 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
16731 wine_fn_config_dll d3d10core enable_d3d10core implib
16732 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
16733 wine_fn_config_dll d3d11 enable_d3d11
16734 wine_fn_config_dll d3d8 enable_d3d8 implib
16735 wine_fn_config_test dlls/d3d8/tests d3d8_test
16736 wine_fn_config_dll d3d9 enable_d3d9 implib
16737 wine_fn_config_test dlls/d3d9/tests d3d9_test
16738 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16739 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16740 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16741 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16742 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16743 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16744 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16745 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16746 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16747 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16748 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16749 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
16750 wine_fn_config_dll d3dim enable_d3dim implib
16751 wine_fn_config_dll d3drm enable_d3drm implib
16752 wine_fn_config_test dlls/d3drm/tests d3drm_test
16753 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16754 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16755 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16756 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16757 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16758 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16759 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16760 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16761 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16762 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16763 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16764 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16765 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16766 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16767 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16768 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16769 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16770 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16771 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16772 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16773 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16774 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16775 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16776 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16777 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16778 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16779 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
16780 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16781 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16782 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16783 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16784 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16785 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16786 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16787 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
16788 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
16789 wine_fn_config_dll dbgeng enable_dbgeng implib
16790 wine_fn_config_dll dbghelp enable_dbghelp implib
16791 wine_fn_config_dll dciman32 enable_dciman32 implib
16792 wine_fn_config_dll ddeml.dll16 enable_win16
16793 wine_fn_config_dll ddraw enable_ddraw clean,implib
16794 wine_fn_config_test dlls/ddraw/tests ddraw_test
16795 wine_fn_config_dll ddrawex enable_ddrawex clean
16796 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
16797 wine_fn_config_dll devenum enable_devenum clean,po
16798 wine_fn_config_test dlls/devenum/tests devenum_test
16799 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16800 wine_fn_config_dll difxapi enable_difxapi
16801 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
16802 wine_fn_config_test dlls/dinput/tests dinput_test
16803 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
16804 wine_fn_config_test dlls/dinput8/tests dinput8_test
16805 wine_fn_config_dll dispdib.dll16 enable_win16
16806 wine_fn_config_dll dispex enable_dispex clean
16807 wine_fn_config_test dlls/dispex/tests dispex_test
16808 wine_fn_config_dll display.drv16 enable_win16
16809 wine_fn_config_dll dmband enable_dmband clean
16810 wine_fn_config_test dlls/dmband/tests dmband_test
16811 wine_fn_config_dll dmcompos enable_dmcompos clean
16812 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
16813 wine_fn_config_dll dmime enable_dmime clean
16814 wine_fn_config_test dlls/dmime/tests dmime_test
16815 wine_fn_config_dll dmloader enable_dmloader clean
16816 wine_fn_config_test dlls/dmloader/tests dmloader_test
16817 wine_fn_config_dll dmscript enable_dmscript clean
16818 wine_fn_config_test dlls/dmscript/tests dmscript_test
16819 wine_fn_config_dll dmstyle enable_dmstyle clean
16820 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
16821 wine_fn_config_dll dmsynth enable_dmsynth clean
16822 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
16823 wine_fn_config_dll dmusic enable_dmusic clean
16824 wine_fn_config_test dlls/dmusic/tests dmusic_test
16825 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16826 wine_fn_config_dll dnsapi enable_dnsapi implib
16827 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
16828 wine_fn_config_dll dplay enable_dplay implib
16829 wine_fn_config_dll dplayx enable_dplayx clean,implib
16830 wine_fn_config_test dlls/dplayx/tests dplayx_test
16831 wine_fn_config_dll dpnaddr enable_dpnaddr
16832 wine_fn_config_dll dpnet enable_dpnet clean,implib
16833 wine_fn_config_test dlls/dpnet/tests dpnet_test
16834 wine_fn_config_dll dpnhpast enable_dpnhpast
16835 wine_fn_config_dll dpnlobby enable_dpnlobby
16836 wine_fn_config_dll dpwsockx enable_dpwsockx
16837 wine_fn_config_dll drmclien enable_drmclien
16838 wine_fn_config_dll dsound enable_dsound clean,implib
16839 wine_fn_config_test dlls/dsound/tests dsound_test
16840 wine_fn_config_dll dssenh enable_dssenh
16841 wine_fn_config_test dlls/dssenh/tests dssenh_test
16842 wine_fn_config_dll dswave enable_dswave clean
16843 wine_fn_config_test dlls/dswave/tests dswave_test
16844 wine_fn_config_dll dwmapi enable_dwmapi implib
16845 wine_fn_config_dll dwrite enable_dwrite implib
16846 wine_fn_config_test dlls/dwrite/tests dwrite_test
16847 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
16848 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
16849 wine_fn_config_lib dxerr8
16850 wine_fn_config_lib dxerr9
16851 wine_fn_config_dll dxgi enable_dxgi implib
16852 wine_fn_config_test dlls/dxgi/tests dxgi_test
16853 wine_fn_config_lib dxguid
16854 wine_fn_config_dll explorerframe enable_explorerframe clean
16855 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
16856 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
16857 wine_fn_config_dll faultrep enable_faultrep implib
16858 wine_fn_config_test dlls/faultrep/tests faultrep_test
16859 wine_fn_config_dll fltlib enable_fltlib
16860 wine_fn_config_dll fntcache enable_fntcache
16861 wine_fn_config_dll fontsub enable_fontsub
16862 wine_fn_config_dll fusion enable_fusion
16863 wine_fn_config_test dlls/fusion/tests fusion_test
16864 wine_fn_config_dll fwpuclnt enable_fwpuclnt
16865 wine_fn_config_dll gameux enable_gameux clean
16866 wine_fn_config_test dlls/gameux/tests gameux_test
16867 wine_fn_config_dll gdi.exe16 enable_win16
16868 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
16869 wine_fn_config_test dlls/gdi32/tests gdi32_test
16870 wine_fn_config_dll gdiplus enable_gdiplus implib
16871 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
16872 wine_fn_config_dll glu32 enable_glu32 implib
16873 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
16874 wine_fn_config_dll gpkcsp enable_gpkcsp
16875 wine_fn_config_dll hal enable_hal
16876 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
16877 wine_fn_config_dll hid enable_hid implib
16878 wine_fn_config_dll hlink enable_hlink clean,implib
16879 wine_fn_config_test dlls/hlink/tests hlink_test
16880 wine_fn_config_dll hnetcfg enable_hnetcfg clean
16881 wine_fn_config_dll httpapi enable_httpapi
16882 wine_fn_config_dll iccvid enable_iccvid po
16883 wine_fn_config_dll icmp enable_icmp
16884 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
16885 wine_fn_config_test dlls/ieframe/tests ieframe_test
16886 wine_fn_config_dll ifsmgr.vxd enable_win16
16887 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
16888 wine_fn_config_dll imagehlp enable_imagehlp implib
16889 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
16890 wine_fn_config_dll imm.dll16 enable_win16
16891 wine_fn_config_dll imm32 enable_imm32 implib
16892 wine_fn_config_test dlls/imm32/tests imm32_test
16893 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
16894 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
16895 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
16896 wine_fn_config_dll inetmib1 enable_inetmib1
16897 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
16898 wine_fn_config_dll infosoft enable_infosoft clean
16899 wine_fn_config_test dlls/infosoft/tests infosoft_test
16900 wine_fn_config_dll initpki enable_initpki
16901 wine_fn_config_dll inkobj enable_inkobj
16902 wine_fn_config_dll inseng enable_inseng clean
16903 wine_fn_config_dll iphlpapi enable_iphlpapi implib
16904 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
16905 wine_fn_config_dll itircl enable_itircl
16906 wine_fn_config_dll itss enable_itss clean
16907 wine_fn_config_test dlls/itss/tests itss_test
16908 wine_fn_config_dll joy.cpl enable_joy_cpl po
16909 wine_fn_config_dll jscript enable_jscript clean,po
16910 wine_fn_config_test dlls/jscript/tests jscript_test
16911 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
16912 wine_fn_config_test dlls/kernel32/tests kernel32_test
16913 wine_fn_config_dll keyboard.drv16 enable_win16
16914 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
16915 wine_fn_config_dll ktmw32 enable_ktmw32
16916 wine_fn_config_dll loadperf enable_loadperf implib
16917 wine_fn_config_dll localspl enable_localspl po
16918 wine_fn_config_test dlls/localspl/tests localspl_test
16919 wine_fn_config_dll localui enable_localui po
16920 wine_fn_config_test dlls/localui/tests localui_test
16921 wine_fn_config_dll lz32 enable_lz32 implib
16922 wine_fn_config_test dlls/lz32/tests lz32_test
16923 wine_fn_config_dll lzexpand.dll16 enable_win16
16924 wine_fn_config_dll mapi32 enable_mapi32 implib,po
16925 wine_fn_config_test dlls/mapi32/tests mapi32_test
16926 wine_fn_config_dll mapistub enable_mapistub
16927 wine_fn_config_dll mciavi32 enable_mciavi32
16928 wine_fn_config_dll mcicda enable_mcicda
16929 wine_fn_config_dll mciqtz32 enable_mciqtz32
16930 wine_fn_config_dll mciseq enable_mciseq
16931 wine_fn_config_dll mciwave enable_mciwave
16932 wine_fn_config_dll mgmtapi enable_mgmtapi
16933 wine_fn_config_dll midimap enable_midimap
16934 wine_fn_config_dll mlang enable_mlang clean,implib
16935 wine_fn_config_test dlls/mlang/tests mlang_test
16936 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
16937 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
16938 wine_fn_config_dll mmdevapi enable_mmdevapi clean
16939 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
16940 wine_fn_config_dll mmdevldr.vxd enable_win16
16941 wine_fn_config_dll mmsystem.dll16 enable_win16
16942 wine_fn_config_dll monodebg.vxd enable_win16
16943 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
16944 wine_fn_config_dll mouse.drv16 enable_win16
16945 wine_fn_config_dll mpr enable_mpr implib,po
16946 wine_fn_config_test dlls/mpr/tests mpr_test
16947 wine_fn_config_dll mprapi enable_mprapi implib
16948 wine_fn_config_dll msacm.dll16 enable_win16
16949 wine_fn_config_dll msacm32.drv enable_msacm32_drv
16950 wine_fn_config_dll msacm32 enable_msacm32 implib,po
16951 wine_fn_config_test dlls/msacm32/tests msacm32_test
16952 wine_fn_config_dll msadp32.acm enable_msadp32_acm
16953 wine_fn_config_dll mscat32 enable_mscat32
16954 wine_fn_config_dll mscms enable_mscms implib
16955 wine_fn_config_test dlls/mscms/tests mscms_test
16956 wine_fn_config_dll mscoree enable_mscoree clean
16957 wine_fn_config_test dlls/mscoree/tests mscoree_test
16958 wine_fn_config_dll msctf enable_msctf clean
16959 wine_fn_config_test dlls/msctf/tests msctf_test
16960 wine_fn_config_dll msdaps enable_msdaps clean
16961 wine_fn_config_dll msdmo enable_msdmo implib
16962 wine_fn_config_dll msftedit enable_msftedit
16963 wine_fn_config_dll msg711.acm enable_msg711_acm
16964 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
16965 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
16966 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
16967 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
16968 wine_fn_config_dll msi enable_msi clean,implib,po
16969 wine_fn_config_test dlls/msi/tests msi_test
16970 wine_fn_config_dll msident enable_msident clean
16971 wine_fn_config_dll msimg32 enable_msimg32 implib
16972 wine_fn_config_dll msimsg enable_msimsg
16973 wine_fn_config_dll msimtf enable_msimtf clean
16974 wine_fn_config_dll msisip enable_msisip
16975 wine_fn_config_dll msisys.ocx enable_msisys_ocx
16976 wine_fn_config_dll msls31 enable_msls31
16977 wine_fn_config_dll msnet32 enable_msnet32
16978 wine_fn_config_dll mspatcha enable_mspatcha
16979 wine_fn_config_dll msrle32 enable_msrle32 po
16980 wine_fn_config_test dlls/msrle32/tests msrle32_test
16981 wine_fn_config_dll mssign32 enable_mssign32
16982 wine_fn_config_dll mssip32 enable_mssip32
16983 wine_fn_config_dll mstask enable_mstask clean
16984 wine_fn_config_test dlls/mstask/tests mstask_test
16985 wine_fn_config_dll msvcirt enable_msvcirt
16986 wine_fn_config_dll msvcm80 enable_msvcm80
16987 wine_fn_config_dll msvcm90 enable_msvcm90
16988 wine_fn_config_dll msvcp100 enable_msvcp100
16989 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
16990 wine_fn_config_dll msvcp110 enable_msvcp110
16991 wine_fn_config_dll msvcp60 enable_msvcp60
16992 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
16993 wine_fn_config_dll msvcp70 enable_msvcp70
16994 wine_fn_config_dll msvcp71 enable_msvcp71
16995 wine_fn_config_dll msvcp80 enable_msvcp80
16996 wine_fn_config_dll msvcp90 enable_msvcp90
16997 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
16998 wine_fn_config_dll msvcr100 enable_msvcr100 implib
16999 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17000 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17001 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17002 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17003 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17004 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17005 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17006 wine_fn_config_dll msvcrt enable_msvcrt implib
17007 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17008 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17009 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17010 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17011 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17012 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17013 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17014 wine_fn_config_dll msvidc32 enable_msvidc32 po
17015 wine_fn_config_dll msvideo.dll16 enable_win16
17016 wine_fn_config_dll mswsock enable_mswsock implib
17017 wine_fn_config_dll msxml enable_msxml clean
17018 wine_fn_config_dll msxml2 enable_msxml2 clean
17019 wine_fn_config_dll msxml3 enable_msxml3 clean
17020 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17021 wine_fn_config_dll msxml4 enable_msxml4 clean
17022 wine_fn_config_dll msxml6 enable_msxml6 clean
17023 wine_fn_config_dll nddeapi enable_nddeapi implib
17024 wine_fn_config_dll netapi32 enable_netapi32 implib
17025 wine_fn_config_test dlls/netapi32/tests netapi32_test
17026 wine_fn_config_dll netcfgx enable_netcfgx
17027 wine_fn_config_dll newdev enable_newdev implib
17028 wine_fn_config_dll normaliz enable_normaliz implib
17029 wine_fn_config_dll npmshtml enable_npmshtml
17030 wine_fn_config_dll ntdll enable_ntdll implib
17031 wine_fn_config_test dlls/ntdll/tests ntdll_test
17032 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17033 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17034 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17035 wine_fn_config_dll ntprint enable_ntprint
17036 wine_fn_config_test dlls/ntprint/tests ntprint_test
17037 wine_fn_config_dll objsel enable_objsel clean
17038 wine_fn_config_dll odbc32 enable_odbc32 implib
17039 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17040 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17041 wine_fn_config_dll odbccu32 enable_odbccu32
17042 wine_fn_config_dll ole2.dll16 enable_win16
17043 wine_fn_config_dll ole2conv.dll16 enable_win16
17044 wine_fn_config_dll ole2disp.dll16 enable_win16
17045 wine_fn_config_dll ole2nls.dll16 enable_win16
17046 wine_fn_config_dll ole2prox.dll16 enable_win16
17047 wine_fn_config_dll ole2thk.dll16 enable_win16
17048 wine_fn_config_dll ole32 enable_ole32 clean,implib
17049 wine_fn_config_test dlls/ole32/tests ole32_test
17050 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17051 wine_fn_config_test dlls/oleacc/tests oleacc_test
17052 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17053 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17054 wine_fn_config_dll olecli.dll16 enable_win16
17055 wine_fn_config_dll olecli32 enable_olecli32 implib
17056 wine_fn_config_dll oledb32 enable_oledb32 clean
17057 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17058 wine_fn_config_dll oledlg enable_oledlg implib,po
17059 wine_fn_config_dll olepro32 enable_olepro32 implib
17060 wine_fn_config_dll olesvr.dll16 enable_win16
17061 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17062 wine_fn_config_dll olethk32 enable_olethk32
17063 wine_fn_config_dll openal32 enable_openal32
17064 wine_fn_config_dll opencl enable_opencl
17065 wine_fn_config_dll opengl32 enable_opengl32 implib
17066 wine_fn_config_test dlls/opengl32/tests opengl32_test
17067 wine_fn_config_dll pdh enable_pdh implib
17068 wine_fn_config_test dlls/pdh/tests pdh_test
17069 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17070 wine_fn_config_dll pidgen enable_pidgen
17071 wine_fn_config_dll powrprof enable_powrprof implib
17072 wine_fn_config_dll printui enable_printui
17073 wine_fn_config_dll propsys enable_propsys clean,implib
17074 wine_fn_config_test dlls/propsys/tests propsys_test
17075 wine_fn_config_dll psapi enable_psapi implib
17076 wine_fn_config_test dlls/psapi/tests psapi_test
17077 wine_fn_config_dll pstorec enable_pstorec clean
17078 wine_fn_config_dll qcap enable_qcap
17079 wine_fn_config_test dlls/qcap/tests qcap_test
17080 wine_fn_config_dll qedit enable_qedit clean
17081 wine_fn_config_test dlls/qedit/tests qedit_test
17082 wine_fn_config_dll qmgr enable_qmgr clean
17083 wine_fn_config_test dlls/qmgr/tests qmgr_test
17084 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17085 wine_fn_config_dll quartz enable_quartz clean,implib
17086 wine_fn_config_test dlls/quartz/tests quartz_test clean
17087 wine_fn_config_dll query enable_query
17088 wine_fn_config_dll rasapi16.dll16 enable_win16
17089 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17090 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17091 wine_fn_config_dll rasdlg enable_rasdlg implib
17092 wine_fn_config_dll regapi enable_regapi
17093 wine_fn_config_dll resutils enable_resutils implib
17094 wine_fn_config_dll riched20 enable_riched20 implib
17095 wine_fn_config_test dlls/riched20/tests riched20_test
17096 wine_fn_config_dll riched32 enable_riched32
17097 wine_fn_config_test dlls/riched32/tests riched32_test
17098 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17099 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17100 wine_fn_config_dll rsabase enable_rsabase
17101 wine_fn_config_dll rsaenh enable_rsaenh implib
17102 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17103 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17104 wine_fn_config_dll rtutils enable_rtutils implib
17105 wine_fn_config_dll samlib enable_samlib
17106 wine_fn_config_dll sane.ds enable_sane_ds po
17107 wine_fn_config_dll scarddlg enable_scarddlg
17108 wine_fn_config_dll sccbase enable_sccbase
17109 wine_fn_config_dll schannel enable_schannel
17110 wine_fn_config_test dlls/schannel/tests schannel_test
17111 wine_fn_config_dll schedsvc enable_schedsvc clean
17112 wine_fn_config_dll scrrun enable_scrrun clean
17113 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17114 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17115 wine_fn_config_dll secur32 enable_secur32 implib
17116 wine_fn_config_test dlls/secur32/tests secur32_test
17117 wine_fn_config_dll security enable_security
17118 wine_fn_config_dll sensapi enable_sensapi implib
17119 wine_fn_config_dll serialui enable_serialui implib,po
17120 wine_fn_config_test dlls/serialui/tests serialui_test
17121 wine_fn_config_dll setupapi enable_setupapi implib,po
17122 wine_fn_config_test dlls/setupapi/tests setupapi_test
17123 wine_fn_config_dll setupx.dll16 enable_win16
17124 wine_fn_config_dll sfc enable_sfc implib
17125 wine_fn_config_dll sfc_os enable_sfc_os implib
17126 wine_fn_config_dll shdoclc enable_shdoclc po
17127 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17128 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17129 wine_fn_config_dll shell.dll16 enable_win16
17130 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17131 wine_fn_config_test dlls/shell32/tests shell32_test
17132 wine_fn_config_dll shfolder enable_shfolder implib
17133 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17134 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17135 wine_fn_config_dll slbcsp enable_slbcsp
17136 wine_fn_config_dll slc enable_slc implib
17137 wine_fn_config_dll snmpapi enable_snmpapi implib
17138 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17139 wine_fn_config_dll softpub enable_softpub
17140 wine_fn_config_dll sound.drv16 enable_win16
17141 wine_fn_config_dll spoolss enable_spoolss implib
17142 wine_fn_config_test dlls/spoolss/tests spoolss_test
17143 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17144 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17145 wine_fn_config_dll sti enable_sti clean,implib
17146 wine_fn_config_test dlls/sti/tests sti_test
17147 wine_fn_config_dll storage.dll16 enable_win16
17148 wine_fn_config_dll stress.dll16 enable_win16
17149 wine_fn_config_lib strmbase
17150 wine_fn_config_lib strmiids
17151 wine_fn_config_dll svrapi enable_svrapi
17152 wine_fn_config_dll sxs enable_sxs implib
17153 wine_fn_config_test dlls/sxs/tests sxs_test
17154 wine_fn_config_dll system.drv16 enable_win16
17155 wine_fn_config_dll t2embed enable_t2embed
17156 wine_fn_config_dll tapi32 enable_tapi32 implib
17157 wine_fn_config_dll taskschd enable_taskschd clean
17158 wine_fn_config_test dlls/taskschd/tests taskschd_test
17159 wine_fn_config_dll toolhelp.dll16 enable_win16
17160 wine_fn_config_dll traffic enable_traffic
17161 wine_fn_config_dll twain.dll16 enable_win16
17162 wine_fn_config_dll twain_32 enable_twain_32
17163 wine_fn_config_test dlls/twain_32/tests twain_32_test
17164 wine_fn_config_dll typelib.dll16 enable_win16
17165 wine_fn_config_dll unicows enable_unicows implib
17166 wine_fn_config_dll updspapi enable_updspapi
17167 wine_fn_config_dll url enable_url implib
17168 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17169 wine_fn_config_test dlls/urlmon/tests urlmon_test
17170 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17171 wine_fn_config_dll user.exe16 enable_win16
17172 wine_fn_config_dll user32 enable_user32 clean,implib,po
17173 wine_fn_config_test dlls/user32/tests user32_test
17174 wine_fn_config_dll userenv enable_userenv implib
17175 wine_fn_config_test dlls/userenv/tests userenv_test
17176 wine_fn_config_dll usp10 enable_usp10 implib
17177 wine_fn_config_test dlls/usp10/tests usp10_test
17178 wine_fn_config_lib uuid
17179 wine_fn_config_dll uxtheme enable_uxtheme implib
17180 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17181 wine_fn_config_dll vbscript enable_vbscript clean
17182 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17183 wine_fn_config_dll vcomp enable_vcomp
17184 wine_fn_config_dll vcomp100 enable_vcomp100
17185 wine_fn_config_dll vcomp90 enable_vcomp90
17186 wine_fn_config_dll vdhcp.vxd enable_win16
17187 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17188 wine_fn_config_dll ver.dll16 enable_win16
17189 wine_fn_config_dll version enable_version implib
17190 wine_fn_config_test dlls/version/tests version_test
17191 wine_fn_config_dll vmm.vxd enable_win16
17192 wine_fn_config_dll vnbt.vxd enable_win16
17193 wine_fn_config_dll vnetbios.vxd enable_win16
17194 wine_fn_config_dll vtdapi.vxd enable_win16
17195 wine_fn_config_dll vwin32.vxd enable_win16
17196 wine_fn_config_dll w32skrnl enable_win16
17197 wine_fn_config_dll w32sys.dll16 enable_win16
17198 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17199 wine_fn_config_dll wbemprox enable_wbemprox clean
17200 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17201 wine_fn_config_dll webservices enable_webservices implib
17202 wine_fn_config_dll wer enable_wer implib
17203 wine_fn_config_test dlls/wer/tests wer_test
17204 wine_fn_config_dll wevtapi enable_wevtapi
17205 wine_fn_config_dll wiaservc enable_wiaservc clean
17206 wine_fn_config_dll win32s16.dll16 enable_win16
17207 wine_fn_config_dll win87em.dll16 enable_win16
17208 wine_fn_config_dll winaspi.dll16 enable_win16
17209 wine_fn_config_dll windebug.dll16 enable_win16
17210 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17211 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17212 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17213 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17214 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17215 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17216 wine_fn_config_lib winecrt0
17217 wine_fn_config_dll wined3d enable_wined3d implib
17218 wine_fn_config_dll winegstreamer enable_winegstreamer
17219 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17220 wine_fn_config_dll winemac.drv enable_winemac_drv
17221 wine_fn_config_dll winemapi enable_winemapi
17222 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17223 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17224 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
17225 wine_fn_config_dll wineps16.drv16 enable_win16
17226 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17227 wine_fn_config_dll winex11.drv enable_winex11_drv
17228 wine_fn_config_dll wing.dll16 enable_win16
17229 wine_fn_config_dll wing32 enable_wing32
17230 wine_fn_config_dll winhttp enable_winhttp clean,implib
17231 wine_fn_config_test dlls/winhttp/tests winhttp_test
17232 wine_fn_config_dll wininet enable_wininet implib,po
17233 wine_fn_config_test dlls/wininet/tests wininet_test
17234 wine_fn_config_dll winmm enable_winmm implib,po
17235 wine_fn_config_test dlls/winmm/tests winmm_test
17236 wine_fn_config_dll winnls.dll16 enable_win16
17237 wine_fn_config_dll winnls32 enable_winnls32 implib
17238 wine_fn_config_dll winscard enable_winscard implib
17239 wine_fn_config_dll winsock.dll16 enable_win16
17240 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17241 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17242 wine_fn_config_dll winsta enable_winsta
17243 wine_fn_config_dll wintab.dll16 enable_win16
17244 wine_fn_config_dll wintab32 enable_wintab32 implib
17245 wine_fn_config_test dlls/wintab32/tests wintab32_test
17246 wine_fn_config_dll wintrust enable_wintrust implib
17247 wine_fn_config_test dlls/wintrust/tests wintrust_test
17248 wine_fn_config_dll wlanapi enable_wlanapi
17249 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17250 wine_fn_config_test dlls/wldap32/tests wldap32_test
17251 wine_fn_config_dll wmi enable_wmi
17252 wine_fn_config_dll wmiutils enable_wmiutils clean
17253 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17254 wine_fn_config_dll wmp enable_wmp clean
17255 wine_fn_config_test dlls/wmp/tests wmp_test
17256 wine_fn_config_dll wmvcore enable_wmvcore
17257 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17258 wine_fn_config_dll wow32 enable_win16 implib
17259 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17260 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
17261 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17262 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
17263 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17264 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
17265 wine_fn_config_dll wsock32 enable_wsock32 implib
17266 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17267 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
17268 wine_fn_config_dll wuapi enable_wuapi clean
17269 wine_fn_config_dll wuaueng enable_wuaueng
17270 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17271 wine_fn_config_dll xinput1_1 enable_xinput1_1
17272 wine_fn_config_dll xinput1_2 enable_xinput1_2
17273 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17274 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
17275 wine_fn_config_dll xinput1_4 enable_xinput1_4
17276 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17277 wine_fn_config_dll xmllite enable_xmllite implib
17278 wine_fn_config_test dlls/xmllite/tests xmllite_test
17279 wine_fn_config_dll xolehlp enable_xolehlp
17280 wine_fn_config_dll xpsprint enable_xpsprint
17281 wine_fn_config_dll xpssvcs enable_xpssvcs
17282 wine_fn_config_makefile documentation enable_documentation clean
17283 wine_fn_config_makefile fonts enable_fonts clean,install-lib
17284 wine_fn_config_makefile include enable_include clean,install-dev
17285 wine_fn_config_makefile libs/port enable_libs_port
17286 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
17287 wine_fn_config_makefile libs/wpp enable_libs_wpp
17288 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
17289 wine_fn_config_program arp enable_arp install
17290 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
17291 wine_fn_config_program attrib enable_attrib install,po
17292 wine_fn_config_program cabarc enable_cabarc install
17293 wine_fn_config_program cacls enable_cacls install
17294 wine_fn_config_program clock enable_clock install,po
17295 wine_fn_config_program cmd enable_cmd install,po
17296 wine_fn_config_test programs/cmd/tests cmd.exe_test
17297 wine_fn_config_program conhost enable_conhost install
17298 wine_fn_config_program control enable_control install
17299 wine_fn_config_program cscript enable_cscript install
17300 wine_fn_config_program dpnsvr enable_dpnsvr install
17301 wine_fn_config_program dxdiag enable_dxdiag install,po
17302 wine_fn_config_program eject enable_eject install
17303 wine_fn_config_program expand enable_expand install
17304 wine_fn_config_program explorer enable_explorer install,po
17305 wine_fn_config_program extrac32 enable_extrac32 install
17306 wine_fn_config_program findstr enable_findstr install
17307 wine_fn_config_program hh enable_hh install
17308 wine_fn_config_program hostname enable_hostname install,po
17309 wine_fn_config_program icinfo enable_icinfo install
17310 wine_fn_config_program iexplore enable_iexplore install
17311 wine_fn_config_program ipconfig enable_ipconfig install,po
17312 wine_fn_config_program lodctr enable_lodctr install
17313 wine_fn_config_program mofcomp enable_mofcomp install
17314 wine_fn_config_program mshta enable_mshta install
17315 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
17316 wine_fn_config_program net enable_net install,po
17317 wine_fn_config_program netsh enable_netsh install
17318 wine_fn_config_program netstat enable_netstat install,po
17319 wine_fn_config_program ngen enable_ngen install
17320 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
17321 wine_fn_config_program oleview enable_oleview install,po
17322 wine_fn_config_program ping enable_ping install
17323 wine_fn_config_program plugplay enable_plugplay install
17324 wine_fn_config_program presentationfontcache enable_presentationfontcache install
17325 wine_fn_config_program progman enable_progman install,po
17326 wine_fn_config_program reg enable_reg install,po
17327 wine_fn_config_program regasm enable_regasm install
17328 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
17329 wine_fn_config_test programs/regedit/tests regedit.exe_test
17330 wine_fn_config_program regsvcs enable_regsvcs install
17331 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage
17332 wine_fn_config_program rpcss enable_rpcss clean,install
17333 wine_fn_config_program rundll.exe16 enable_win16 install
17334 wine_fn_config_program rundll32 enable_rundll32 install
17335 wine_fn_config_program sc enable_sc install
17336 wine_fn_config_program schtasks enable_schtasks install
17337 wine_fn_config_program secedit enable_secedit install
17338 wine_fn_config_program servicemodelreg enable_servicemodelreg install
17339 wine_fn_config_program services enable_services clean,install
17340 wine_fn_config_test programs/services/tests services.exe_test
17341 wine_fn_config_program spoolsv enable_spoolsv install
17342 wine_fn_config_program start enable_start install,po
17343 wine_fn_config_program svchost enable_svchost install
17344 wine_fn_config_program taskkill enable_taskkill install,po
17345 wine_fn_config_program tasklist enable_tasklist install
17346 wine_fn_config_program taskmgr enable_taskmgr install,po
17347 wine_fn_config_program termsv enable_termsv install
17348 wine_fn_config_program uninstaller enable_uninstaller install,po
17349 wine_fn_config_program unlodctr enable_unlodctr install
17350 wine_fn_config_program view enable_view install,po
17351 wine_fn_config_program wevtutil enable_wevtutil install
17352 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
17353 wine_fn_config_program winebrowser enable_winebrowser install
17354 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
17355 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
17356 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
17357 wine_fn_config_program winedevice enable_winedevice install
17358 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
17359 wine_fn_config_program winemenubuilder enable_winemenubuilder install
17360 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
17361 wine_fn_config_program winemsibuilder enable_winemsibuilder install
17362 wine_fn_config_program winepath enable_winepath install,installbin,manpage
17363 wine_fn_config_program winetest enable_winetest clean
17364 wine_fn_config_program winevdm enable_win16 install
17365 wine_fn_config_program winhelp.exe16 enable_win16 install
17366 wine_fn_config_program winhlp32 enable_winhlp32 install,po
17367 wine_fn_config_program winoldap.mod16 enable_win16 install
17368 wine_fn_config_program winver enable_winver install
17369 wine_fn_config_program wmic enable_wmic install,po
17370 wine_fn_config_program wordpad enable_wordpad install,po
17371 wine_fn_config_program write enable_write install,po
17372 wine_fn_config_program wscript enable_wscript clean,install
17373 wine_fn_config_test programs/wscript/tests wscript.exe_test
17374 wine_fn_config_program wusa enable_wusa install
17375 wine_fn_config_program xcopy enable_xcopy install,po
17376 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
17377 wine_fn_config_makefile server enable_server clean,install-lib,manpage
17378 wine_fn_config_tool tools clean,install-dev,install-lib,manpage
17379 wine_fn_config_tool tools/sfnt2fon clean
17380 wine_fn_config_tool tools/widl clean,install-dev,manpage
17381 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
17382 wine_fn_config_tool tools/winedump clean,install-dev,manpage
17383 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
17384 wine_fn_config_tool tools/wmc clean,install-dev,manpage
17385 wine_fn_config_tool tools/wrc clean,install-dev,manpage
17387 LINGUAS="\
17388 ar \
17389 bg \
17390 ca \
17391 cs \
17392 da \
17393 de \
17394 el \
17395 en \
17396 en_US \
17397 eo \
17398 es \
17399 fa \
17400 fi \
17401 fr \
17402 he \
17403 hi \
17404 hr \
17405 hu \
17406 it \
17407 ja \
17408 ko \
17409 lt \
17410 ml \
17411 nb_NO \
17412 nl \
17413 or \
17414 pa \
17415 pl \
17416 pt_BR \
17417 pt_PT \
17418 rm \
17419 ro \
17420 ru \
17421 sk \
17422 sl \
17423 sr_RS@cyrillic \
17424 sr_RS@latin \
17425 sv \
17426 te \
17427 th \
17428 tr \
17429 uk \
17430 wa \
17431 zh_CN \
17432 zh_TW"
17437 wine_fn_ignore_file ".gitignore"
17438 wine_fn_ignore_file "Makefile"
17439 wine_fn_ignore_file "TAGS"
17440 wine_fn_ignore_file "tags"
17441 wine_fn_ignore_file "autom4te.cache"
17442 wine_fn_ignore_file "config.cache"
17443 wine_fn_ignore_file "config.log"
17444 wine_fn_ignore_file "config.status"
17445 wine_fn_ignore_file "configure.lineno"
17446 wine_fn_ignore_file "include/config.h"
17447 wine_fn_ignore_file "include/stamp-h"
17448 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
17450 if test "x$enable_tools" != xno
17451 then
17452 wine_fn_ignore_file "tools/makedep$ac_exeext"
17453 ac_config_commands="$ac_config_commands tools/makedep"
17457 ac_config_commands="$ac_config_commands Makefile"
17460 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17464 if test "x$enable_maintainer_mode" = xyes
17465 then
17466 wine_fn_append_rule "configure: configure.ac aclocal.m4
17467 autoconf --warnings=all
17468 include/config.h.in: include/stamp-h.in
17469 include/stamp-h.in: configure.ac aclocal.m4
17470 autoheader --warnings=all
17471 @echo timestamp > \$@"
17474 if test "x$with_gettextpo" = xyes
17475 then
17476 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17477 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
17478 \$(LINGUAS:%=po/%.po): po/wine.pot
17479 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17480 po/wine.pot: \$(ALL_POT_FILES)
17481 msgcat -o \$@ \$(ALL_POT_FILES)"
17484 if test "$MSGFMT" != false
17485 then
17486 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
17487 clean::
17488 \$(RM) \$(LINGUAS:%=po/%.mo)"
17490 posrc="po"
17491 test "$srcdir" = . || posrc="$srcdir/po"
17492 for i in $LINGUAS
17494 wine_fn_ignore_file "po/$i.mo"
17495 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
17496 \$(MSGFMT) -o \$@ $posrc/$i.po"
17497 done
17498 else
17499 LINGUAS=
17502 if test "x$enable_tools" != xno
17503 then
17504 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17505 @./config.status tools/makedep
17506 Makefile: tools/makedep$ac_exeext
17507 distclean:: clean
17508 \$(RM) tools/makedep$ac_exeext"
17509 else
17510 wine_fn_append_rule "\$(MAKEDEP):
17511 @echo \"You need to run make in $TOOLSDIR first\" && false"
17514 if test -n "$with_wine64"
17515 then
17516 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17517 fonts server tools:
17518 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17519 $with_wine64/loader/wine:
17520 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17521 $with_wine64/loader/wine-preloader:
17522 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17523 clean::
17524 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17525 else
17526 as_fn_append LOADER_RULES "
17527 all: wine.inf
17529 install install-lib:: wine.inf install-man-pages
17530 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17531 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17533 uninstall::
17534 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17538 if test "$srcdir" = .
17539 then
17540 ac_config_commands="$ac_config_commands .gitignore"
17544 $as_echo " done" >&6
17545 cat >confcache <<\_ACEOF
17546 # This file is a shell script that caches the results of configure
17547 # tests run on this system so they can be shared between configure
17548 # scripts and configure runs, see configure's option --config-cache.
17549 # It is not useful on other systems. If it contains results you don't
17550 # want to keep, you may remove or edit it.
17552 # config.status only pays attention to the cache file if you give it
17553 # the --recheck option to rerun configure.
17555 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17556 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17557 # following values.
17559 _ACEOF
17561 # The following way of writing the cache mishandles newlines in values,
17562 # but we know of no workaround that is simple, portable, and efficient.
17563 # So, we kill variables containing newlines.
17564 # Ultrix sh set writes to stderr and can't be redirected directly,
17565 # and sets the high bit in the cache file unless we assign to the vars.
17567 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17568 eval ac_val=\$$ac_var
17569 case $ac_val in #(
17570 *${as_nl}*)
17571 case $ac_var in #(
17572 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17573 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17574 esac
17575 case $ac_var in #(
17576 _ | IFS | as_nl) ;; #(
17577 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17578 *) { eval $ac_var=; unset $ac_var;} ;;
17579 esac ;;
17580 esac
17581 done
17583 (set) 2>&1 |
17584 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17585 *${as_nl}ac_space=\ *)
17586 # `set' does not quote correctly, so add quotes: double-quote
17587 # substitution turns \\\\ into \\, and sed turns \\ into \.
17588 sed -n \
17589 "s/'/'\\\\''/g;
17590 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17591 ;; #(
17593 # `set' quotes correctly as required by POSIX, so do not add quotes.
17594 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17596 esac |
17597 sort
17599 sed '
17600 /^ac_cv_env_/b end
17601 t clear
17602 :clear
17603 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17604 t end
17605 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17606 :end' >>confcache
17607 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17608 if test -w "$cache_file"; then
17609 if test "x$cache_file" != "x/dev/null"; then
17610 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17611 $as_echo "$as_me: updating cache $cache_file" >&6;}
17612 if test ! -f "$cache_file" || test -h "$cache_file"; then
17613 cat confcache >"$cache_file"
17614 else
17615 case $cache_file in #(
17616 */* | ?:*)
17617 mv -f confcache "$cache_file"$$ &&
17618 mv -f "$cache_file"$$ "$cache_file" ;; #(
17620 mv -f confcache "$cache_file" ;;
17621 esac
17624 else
17625 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17626 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17629 rm -f confcache
17631 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17632 # Let make expand exec_prefix.
17633 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17635 DEFS=-DHAVE_CONFIG_H
17637 ac_libobjs=
17638 ac_ltlibobjs=
17640 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17641 # 1. Remove the extension, and $U if already installed.
17642 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17643 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17644 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17645 # will be set to the directory where LIBOBJS objects are built.
17646 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17647 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17648 done
17649 LIBOBJS=$ac_libobjs
17651 LTLIBOBJS=$ac_ltlibobjs
17655 : "${CONFIG_STATUS=./config.status}"
17656 ac_write_fail=0
17657 ac_clean_files_save=$ac_clean_files
17658 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17659 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17660 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17661 as_write_fail=0
17662 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17663 #! $SHELL
17664 # Generated by $as_me.
17665 # Run this file to recreate the current configuration.
17666 # Compiler output produced by configure, useful for debugging
17667 # configure, is in config.log if it exists.
17669 debug=false
17670 ac_cs_recheck=false
17671 ac_cs_silent=false
17673 SHELL=\${CONFIG_SHELL-$SHELL}
17674 export SHELL
17675 _ASEOF
17676 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17677 ## -------------------- ##
17678 ## M4sh Initialization. ##
17679 ## -------------------- ##
17681 # Be more Bourne compatible
17682 DUALCASE=1; export DUALCASE # for MKS sh
17683 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17684 emulate sh
17685 NULLCMD=:
17686 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17687 # is contrary to our usage. Disable this feature.
17688 alias -g '${1+"$@"}'='"$@"'
17689 setopt NO_GLOB_SUBST
17690 else
17691 case `(set -o) 2>/dev/null` in #(
17692 *posix*) :
17693 set -o posix ;; #(
17694 *) :
17696 esac
17700 as_nl='
17702 export as_nl
17703 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17704 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17705 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17706 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17707 # Prefer a ksh shell builtin over an external printf program on Solaris,
17708 # but without wasting forks for bash or zsh.
17709 if test -z "$BASH_VERSION$ZSH_VERSION" \
17710 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17711 as_echo='print -r --'
17712 as_echo_n='print -rn --'
17713 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17714 as_echo='printf %s\n'
17715 as_echo_n='printf %s'
17716 else
17717 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17718 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17719 as_echo_n='/usr/ucb/echo -n'
17720 else
17721 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17722 as_echo_n_body='eval
17723 arg=$1;
17724 case $arg in #(
17725 *"$as_nl"*)
17726 expr "X$arg" : "X\\(.*\\)$as_nl";
17727 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17728 esac;
17729 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17731 export as_echo_n_body
17732 as_echo_n='sh -c $as_echo_n_body as_echo'
17734 export as_echo_body
17735 as_echo='sh -c $as_echo_body as_echo'
17738 # The user is always right.
17739 if test "${PATH_SEPARATOR+set}" != set; then
17740 PATH_SEPARATOR=:
17741 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17742 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17743 PATH_SEPARATOR=';'
17748 # IFS
17749 # We need space, tab and new line, in precisely that order. Quoting is
17750 # there to prevent editors from complaining about space-tab.
17751 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17752 # splitting by setting IFS to empty value.)
17753 IFS=" "" $as_nl"
17755 # Find who we are. Look in the path if we contain no directory separator.
17756 as_myself=
17757 case $0 in #((
17758 *[\\/]* ) as_myself=$0 ;;
17759 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17760 for as_dir in $PATH
17762 IFS=$as_save_IFS
17763 test -z "$as_dir" && as_dir=.
17764 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17765 done
17766 IFS=$as_save_IFS
17769 esac
17770 # We did not find ourselves, most probably we were run as `sh COMMAND'
17771 # in which case we are not to be found in the path.
17772 if test "x$as_myself" = x; then
17773 as_myself=$0
17775 if test ! -f "$as_myself"; then
17776 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17777 exit 1
17780 # Unset variables that we do not need and which cause bugs (e.g. in
17781 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17782 # suppresses any "Segmentation fault" message there. '((' could
17783 # trigger a bug in pdksh 5.2.14.
17784 for as_var in BASH_ENV ENV MAIL MAILPATH
17785 do eval test x\${$as_var+set} = xset \
17786 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17787 done
17788 PS1='$ '
17789 PS2='> '
17790 PS4='+ '
17792 # NLS nuisances.
17793 LC_ALL=C
17794 export LC_ALL
17795 LANGUAGE=C
17796 export LANGUAGE
17798 # CDPATH.
17799 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17802 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17803 # ----------------------------------------
17804 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17805 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17806 # script with STATUS, using 1 if that was 0.
17807 as_fn_error ()
17809 as_status=$1; test $as_status -eq 0 && as_status=1
17810 if test "$4"; then
17811 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17812 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17814 $as_echo "$as_me: error: $2" >&2
17815 as_fn_exit $as_status
17816 } # as_fn_error
17819 # as_fn_set_status STATUS
17820 # -----------------------
17821 # Set $? to STATUS, without forking.
17822 as_fn_set_status ()
17824 return $1
17825 } # as_fn_set_status
17827 # as_fn_exit STATUS
17828 # -----------------
17829 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17830 as_fn_exit ()
17832 set +e
17833 as_fn_set_status $1
17834 exit $1
17835 } # as_fn_exit
17837 # as_fn_unset VAR
17838 # ---------------
17839 # Portably unset VAR.
17840 as_fn_unset ()
17842 { eval $1=; unset $1;}
17844 as_unset=as_fn_unset
17845 # as_fn_append VAR VALUE
17846 # ----------------------
17847 # Append the text in VALUE to the end of the definition contained in VAR. Take
17848 # advantage of any shell optimizations that allow amortized linear growth over
17849 # repeated appends, instead of the typical quadratic growth present in naive
17850 # implementations.
17851 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17852 eval 'as_fn_append ()
17854 eval $1+=\$2
17856 else
17857 as_fn_append ()
17859 eval $1=\$$1\$2
17861 fi # as_fn_append
17863 # as_fn_arith ARG...
17864 # ------------------
17865 # Perform arithmetic evaluation on the ARGs, and store the result in the
17866 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17867 # must be portable across $(()) and expr.
17868 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17869 eval 'as_fn_arith ()
17871 as_val=$(( $* ))
17873 else
17874 as_fn_arith ()
17876 as_val=`expr "$@" || test $? -eq 1`
17878 fi # as_fn_arith
17881 if expr a : '\(a\)' >/dev/null 2>&1 &&
17882 test "X`expr 00001 : '.*\(...\)'`" = X001; then
17883 as_expr=expr
17884 else
17885 as_expr=false
17888 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17889 as_basename=basename
17890 else
17891 as_basename=false
17894 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17895 as_dirname=dirname
17896 else
17897 as_dirname=false
17900 as_me=`$as_basename -- "$0" ||
17901 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17902 X"$0" : 'X\(//\)$' \| \
17903 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17904 $as_echo X/"$0" |
17905 sed '/^.*\/\([^/][^/]*\)\/*$/{
17906 s//\1/
17909 /^X\/\(\/\/\)$/{
17910 s//\1/
17913 /^X\/\(\/\).*/{
17914 s//\1/
17917 s/.*/./; q'`
17919 # Avoid depending upon Character Ranges.
17920 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17921 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17922 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17923 as_cr_digits='0123456789'
17924 as_cr_alnum=$as_cr_Letters$as_cr_digits
17926 ECHO_C= ECHO_N= ECHO_T=
17927 case `echo -n x` in #(((((
17928 -n*)
17929 case `echo 'xy\c'` in
17930 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
17931 xy) ECHO_C='\c';;
17932 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
17933 ECHO_T=' ';;
17934 esac;;
17936 ECHO_N='-n';;
17937 esac
17939 rm -f conf$$ conf$$.exe conf$$.file
17940 if test -d conf$$.dir; then
17941 rm -f conf$$.dir/conf$$.file
17942 else
17943 rm -f conf$$.dir
17944 mkdir conf$$.dir 2>/dev/null
17946 if (echo >conf$$.file) 2>/dev/null; then
17947 if ln -s conf$$.file conf$$ 2>/dev/null; then
17948 as_ln_s='ln -s'
17949 # ... but there are two gotchas:
17950 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17951 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17952 # In both cases, we have to default to `cp -pR'.
17953 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17954 as_ln_s='cp -pR'
17955 elif ln conf$$.file conf$$ 2>/dev/null; then
17956 as_ln_s=ln
17957 else
17958 as_ln_s='cp -pR'
17960 else
17961 as_ln_s='cp -pR'
17963 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17964 rmdir conf$$.dir 2>/dev/null
17967 # as_fn_mkdir_p
17968 # -------------
17969 # Create "$as_dir" as a directory, including parents if necessary.
17970 as_fn_mkdir_p ()
17973 case $as_dir in #(
17974 -*) as_dir=./$as_dir;;
17975 esac
17976 test -d "$as_dir" || eval $as_mkdir_p || {
17977 as_dirs=
17978 while :; do
17979 case $as_dir in #(
17980 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17981 *) as_qdir=$as_dir;;
17982 esac
17983 as_dirs="'$as_qdir' $as_dirs"
17984 as_dir=`$as_dirname -- "$as_dir" ||
17985 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17986 X"$as_dir" : 'X\(//\)[^/]' \| \
17987 X"$as_dir" : 'X\(//\)$' \| \
17988 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17989 $as_echo X"$as_dir" |
17990 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17991 s//\1/
17994 /^X\(\/\/\)[^/].*/{
17995 s//\1/
17998 /^X\(\/\/\)$/{
17999 s//\1/
18002 /^X\(\/\).*/{
18003 s//\1/
18006 s/.*/./; q'`
18007 test -d "$as_dir" && break
18008 done
18009 test -z "$as_dirs" || eval "mkdir $as_dirs"
18010 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18013 } # as_fn_mkdir_p
18014 if mkdir -p . 2>/dev/null; then
18015 as_mkdir_p='mkdir -p "$as_dir"'
18016 else
18017 test -d ./-p && rmdir ./-p
18018 as_mkdir_p=false
18022 # as_fn_executable_p FILE
18023 # -----------------------
18024 # Test if FILE is an executable regular file.
18025 as_fn_executable_p ()
18027 test -f "$1" && test -x "$1"
18028 } # as_fn_executable_p
18029 as_test_x='test -x'
18030 as_executable_p=as_fn_executable_p
18032 # Sed expression to map a string onto a valid CPP name.
18033 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18035 # Sed expression to map a string onto a valid variable name.
18036 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18039 exec 6>&1
18040 ## ----------------------------------- ##
18041 ## Main body of $CONFIG_STATUS script. ##
18042 ## ----------------------------------- ##
18043 _ASEOF
18044 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18046 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18047 # Save the log message, to keep $0 and so on meaningful, and to
18048 # report actual input values of CONFIG_FILES etc. instead of their
18049 # values after options handling.
18050 ac_log="
18051 This file was extended by Wine $as_me 1.7.14, which was
18052 generated by GNU Autoconf 2.69. Invocation command line was
18054 CONFIG_FILES = $CONFIG_FILES
18055 CONFIG_HEADERS = $CONFIG_HEADERS
18056 CONFIG_LINKS = $CONFIG_LINKS
18057 CONFIG_COMMANDS = $CONFIG_COMMANDS
18058 $ $0 $@
18060 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18063 _ACEOF
18065 case $ac_config_files in *"
18066 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18067 esac
18069 case $ac_config_headers in *"
18070 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18071 esac
18074 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18075 # Files that config.status was made for.
18076 config_files="$ac_config_files"
18077 config_headers="$ac_config_headers"
18078 config_links="$ac_config_links"
18079 config_commands="$ac_config_commands"
18081 _ACEOF
18083 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18084 ac_cs_usage="\
18085 \`$as_me' instantiates files and other configuration actions
18086 from templates according to the current configuration. Unless the files
18087 and actions are specified as TAGs, all are instantiated by default.
18089 Usage: $0 [OPTION]... [TAG]...
18091 -h, --help print this help, then exit
18092 -V, --version print version number and configuration settings, then exit
18093 --config print configuration, then exit
18094 -q, --quiet, --silent
18095 do not print progress messages
18096 -d, --debug don't remove temporary files
18097 --recheck update $as_me by reconfiguring in the same conditions
18098 --file=FILE[:TEMPLATE]
18099 instantiate the configuration file FILE
18100 --header=FILE[:TEMPLATE]
18101 instantiate the configuration header FILE
18103 Configuration files:
18104 $config_files
18106 Configuration headers:
18107 $config_headers
18109 Configuration links:
18110 $config_links
18112 Configuration commands:
18113 $config_commands
18115 Report bugs to <wine-devel@winehq.org>.
18116 Wine home page: <http://www.winehq.org>."
18118 _ACEOF
18119 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18120 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18121 ac_cs_version="\\
18122 Wine config.status 1.7.14
18123 configured by $0, generated by GNU Autoconf 2.69,
18124 with options \\"\$ac_cs_config\\"
18126 Copyright (C) 2012 Free Software Foundation, Inc.
18127 This config.status script is free software; the Free Software Foundation
18128 gives unlimited permission to copy, distribute and modify it."
18130 ac_pwd='$ac_pwd'
18131 srcdir='$srcdir'
18132 test -n "\$AWK" || AWK=awk
18133 _ACEOF
18135 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18136 # The default lists apply if the user does not specify any file.
18137 ac_need_defaults=:
18138 while test $# != 0
18140 case $1 in
18141 --*=?*)
18142 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18143 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18144 ac_shift=:
18146 --*=)
18147 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18148 ac_optarg=
18149 ac_shift=:
18152 ac_option=$1
18153 ac_optarg=$2
18154 ac_shift=shift
18156 esac
18158 case $ac_option in
18159 # Handling of the options.
18160 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18161 ac_cs_recheck=: ;;
18162 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18163 $as_echo "$ac_cs_version"; exit ;;
18164 --config | --confi | --conf | --con | --co | --c )
18165 $as_echo "$ac_cs_config"; exit ;;
18166 --debug | --debu | --deb | --de | --d | -d )
18167 debug=: ;;
18168 --file | --fil | --fi | --f )
18169 $ac_shift
18170 case $ac_optarg in
18171 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18172 '') as_fn_error $? "missing file argument" ;;
18173 esac
18174 as_fn_append CONFIG_FILES " '$ac_optarg'"
18175 ac_need_defaults=false;;
18176 --header | --heade | --head | --hea )
18177 $ac_shift
18178 case $ac_optarg in
18179 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18180 esac
18181 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18182 ac_need_defaults=false;;
18183 --he | --h)
18184 # Conflict between --help and --header
18185 as_fn_error $? "ambiguous option: \`$1'
18186 Try \`$0 --help' for more information.";;
18187 --help | --hel | -h )
18188 $as_echo "$ac_cs_usage"; exit ;;
18189 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18190 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18191 ac_cs_silent=: ;;
18193 # This is an error.
18194 -*) as_fn_error $? "unrecognized option: \`$1'
18195 Try \`$0 --help' for more information." ;;
18197 *) as_fn_append ac_config_targets " $1"
18198 ac_need_defaults=false ;;
18200 esac
18201 shift
18202 done
18204 ac_configure_extra_args=
18206 if $ac_cs_silent; then
18207 exec 6>/dev/null
18208 ac_configure_extra_args="$ac_configure_extra_args --silent"
18211 _ACEOF
18212 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18213 if \$ac_cs_recheck; then
18214 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18215 shift
18216 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18217 CONFIG_SHELL='$SHELL'
18218 export CONFIG_SHELL
18219 exec "\$@"
18222 _ACEOF
18223 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18224 exec 5>>config.log
18226 echo
18227 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18228 ## Running $as_me. ##
18229 _ASBOX
18230 $as_echo "$ac_log"
18231 } >&5
18233 _ACEOF
18234 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18236 # INIT-COMMANDS
18238 wine_fn_output_makedep ()
18240 as_dir=tools; as_fn_mkdir_p
18241 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18243 wine_fn_output_makefile ()
18245 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18246 `cat $wine_rules_file`
18247 _WINE_EOF
18248 as_fn_error $? "could not create Makefile" "$LINENO" 5
18250 wine_fn_output_gitignore ()
18252 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18253 $GITIGNORE
18254 _WINE_EOF
18255 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18258 _ACEOF
18260 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18262 # Handling of arguments.
18263 for ac_config_target in $ac_config_targets
18265 case $ac_config_target in
18266 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18267 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
18268 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18269 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18270 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18271 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18272 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18273 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18274 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
18275 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18276 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
18277 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
18278 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18279 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
18281 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18282 esac
18283 done
18286 # If the user did not use the arguments to specify the items to instantiate,
18287 # then the envvar interface is used. Set only those that are not.
18288 # We use the long form for the default assignment because of an extremely
18289 # bizarre bug on SunOS 4.1.3.
18290 if $ac_need_defaults; then
18291 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18292 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18293 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18294 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18297 # Have a temporary directory for convenience. Make it in the build tree
18298 # simply because there is no reason against having it here, and in addition,
18299 # creating and moving files from /tmp can sometimes cause problems.
18300 # Hook for its removal unless debugging.
18301 # Note that there is a small window in which the directory will not be cleaned:
18302 # after its creation but before its name has been assigned to `$tmp'.
18303 $debug ||
18305 tmp= ac_tmp=
18306 trap 'exit_status=$?
18307 : "${ac_tmp:=$tmp}"
18308 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18310 trap 'as_fn_exit 1' 1 2 13 15
18312 # Create a (secure) tmp directory for tmp files.
18315 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18316 test -d "$tmp"
18317 } ||
18319 tmp=./conf$$-$RANDOM
18320 (umask 077 && mkdir "$tmp")
18321 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18322 ac_tmp=$tmp
18324 # Set up the scripts for CONFIG_FILES section.
18325 # No need to generate them if there are no CONFIG_FILES.
18326 # This happens for instance with `./config.status config.h'.
18327 if test -n "$CONFIG_FILES"; then
18330 ac_cr=`echo X | tr X '\015'`
18331 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18332 # But we know of no other shell where ac_cr would be empty at this
18333 # point, so we can use a bashism as a fallback.
18334 if test "x$ac_cr" = x; then
18335 eval ac_cr=\$\'\\r\'
18337 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18338 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18339 ac_cs_awk_cr='\\r'
18340 else
18341 ac_cs_awk_cr=$ac_cr
18344 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18345 _ACEOF
18349 echo "cat >conf$$subs.awk <<_ACEOF" &&
18350 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18351 echo "_ACEOF"
18352 } >conf$$subs.sh ||
18353 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18354 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18355 ac_delim='%!_!# '
18356 for ac_last_try in false false false false false :; do
18357 . ./conf$$subs.sh ||
18358 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18360 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18361 if test $ac_delim_n = $ac_delim_num; then
18362 break
18363 elif $ac_last_try; then
18364 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18365 else
18366 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18368 done
18369 rm -f conf$$subs.sh
18371 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18372 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18373 _ACEOF
18374 sed -n '
18376 s/^/S["/; s/!.*/"]=/
18379 s/^[^!]*!//
18380 :repl
18381 t repl
18382 s/'"$ac_delim"'$//
18383 t delim
18386 s/\(.\{148\}\)..*/\1/
18387 t more1
18388 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18391 b repl
18392 :more1
18393 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18396 s/.\{148\}//
18397 t nl
18398 :delim
18400 s/\(.\{148\}\)..*/\1/
18401 t more2
18402 s/["\\]/\\&/g; s/^/"/; s/$/"/
18405 :more2
18406 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18409 s/.\{148\}//
18410 t delim
18411 ' <conf$$subs.awk | sed '
18412 /^[^""]/{
18414 s/\n//
18416 ' >>$CONFIG_STATUS || ac_write_fail=1
18417 rm -f conf$$subs.awk
18418 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18419 _ACAWK
18420 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18421 for (key in S) S_is_set[key] = 1
18422 FS = "\a"
18426 line = $ 0
18427 nfields = split(line, field, "@")
18428 substed = 0
18429 len = length(field[1])
18430 for (i = 2; i < nfields; i++) {
18431 key = field[i]
18432 keylen = length(key)
18433 if (S_is_set[key]) {
18434 value = S[key]
18435 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18436 len += length(value) + length(field[++i])
18437 substed = 1
18438 } else
18439 len += 1 + keylen
18442 print line
18445 _ACAWK
18446 _ACEOF
18447 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18448 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18449 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18450 else
18452 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18453 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18454 _ACEOF
18456 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18457 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18458 # trailing colons and then remove the whole line if VPATH becomes empty
18459 # (actually we leave an empty line to preserve line numbers).
18460 if test "x$srcdir" = x.; then
18461 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18463 s///
18464 s/^/:/
18465 s/[ ]*$/:/
18466 s/:\$(srcdir):/:/g
18467 s/:\${srcdir}:/:/g
18468 s/:@srcdir@:/:/g
18469 s/^:*//
18470 s/:*$//
18472 s/\(=[ ]*\).*/\1/
18474 s/\n//
18475 s/^[^=]*=[ ]*$//
18479 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18480 fi # test -n "$CONFIG_FILES"
18482 # Set up the scripts for CONFIG_HEADERS section.
18483 # No need to generate them if there are no CONFIG_HEADERS.
18484 # This happens for instance with `./config.status Makefile'.
18485 if test -n "$CONFIG_HEADERS"; then
18486 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18487 BEGIN {
18488 _ACEOF
18490 # Transform confdefs.h into an awk script `defines.awk', embedded as
18491 # here-document in config.status, that substitutes the proper values into
18492 # config.h.in to produce config.h.
18494 # Create a delimiter string that does not exist in confdefs.h, to ease
18495 # handling of long lines.
18496 ac_delim='%!_!# '
18497 for ac_last_try in false false :; do
18498 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18499 if test -z "$ac_tt"; then
18500 break
18501 elif $ac_last_try; then
18502 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18503 else
18504 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18506 done
18508 # For the awk script, D is an array of macro values keyed by name,
18509 # likewise P contains macro parameters if any. Preserve backslash
18510 # newline sequences.
18512 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18513 sed -n '
18514 s/.\{148\}/&'"$ac_delim"'/g
18515 t rset
18516 :rset
18517 s/^[ ]*#[ ]*define[ ][ ]*/ /
18518 t def
18520 :def
18521 s/\\$//
18522 t bsnl
18523 s/["\\]/\\&/g
18524 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18525 D["\1"]=" \3"/p
18526 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18528 :bsnl
18529 s/["\\]/\\&/g
18530 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18531 D["\1"]=" \3\\\\\\n"\\/p
18532 t cont
18533 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18534 t cont
18536 :cont
18538 s/.\{148\}/&'"$ac_delim"'/g
18539 t clear
18540 :clear
18541 s/\\$//
18542 t bsnlc
18543 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18545 :bsnlc
18546 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18547 b cont
18548 ' <confdefs.h | sed '
18549 s/'"$ac_delim"'/"\\\
18550 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18552 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18553 for (key in D) D_is_set[key] = 1
18554 FS = "\a"
18556 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18557 line = \$ 0
18558 split(line, arg, " ")
18559 if (arg[1] == "#") {
18560 defundef = arg[2]
18561 mac1 = arg[3]
18562 } else {
18563 defundef = substr(arg[1], 2)
18564 mac1 = arg[2]
18566 split(mac1, mac2, "(") #)
18567 macro = mac2[1]
18568 prefix = substr(line, 1, index(line, defundef) - 1)
18569 if (D_is_set[macro]) {
18570 # Preserve the white space surrounding the "#".
18571 print prefix "define", macro P[macro] D[macro]
18572 next
18573 } else {
18574 # Replace #undef with comments. This is necessary, for example,
18575 # in the case of _POSIX_SOURCE, which is predefined and required
18576 # on some systems where configure will not decide to define it.
18577 if (defundef == "undef") {
18578 print "/*", prefix defundef, macro, "*/"
18579 next
18583 { print }
18584 _ACAWK
18585 _ACEOF
18586 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18587 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18588 fi # test -n "$CONFIG_HEADERS"
18591 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18592 shift
18593 for ac_tag
18595 case $ac_tag in
18596 :[FHLC]) ac_mode=$ac_tag; continue;;
18597 esac
18598 case $ac_mode$ac_tag in
18599 :[FHL]*:*);;
18600 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18601 :[FH]-) ac_tag=-:-;;
18602 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18603 esac
18604 ac_save_IFS=$IFS
18605 IFS=:
18606 set x $ac_tag
18607 IFS=$ac_save_IFS
18608 shift
18609 ac_file=$1
18610 shift
18612 case $ac_mode in
18613 :L) ac_source=$1;;
18614 :[FH])
18615 ac_file_inputs=
18616 for ac_f
18618 case $ac_f in
18619 -) ac_f="$ac_tmp/stdin";;
18620 *) # Look for the file first in the build tree, then in the source tree
18621 # (if the path is not absolute). The absolute path cannot be DOS-style,
18622 # because $ac_f cannot contain `:'.
18623 test -f "$ac_f" ||
18624 case $ac_f in
18625 [\\/$]*) false;;
18626 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18627 esac ||
18628 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18629 esac
18630 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18631 as_fn_append ac_file_inputs " '$ac_f'"
18632 done
18634 # Let's still pretend it is `configure' which instantiates (i.e., don't
18635 # use $as_me), people would be surprised to read:
18636 # /* config.h. Generated by config.status. */
18637 configure_input='Generated from '`
18638 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18639 `' by configure.'
18640 if test x"$ac_file" != x-; then
18641 configure_input="$ac_file. $configure_input"
18642 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18643 $as_echo "$as_me: creating $ac_file" >&6;}
18645 # Neutralize special characters interpreted by sed in replacement strings.
18646 case $configure_input in #(
18647 *\&* | *\|* | *\\* )
18648 ac_sed_conf_input=`$as_echo "$configure_input" |
18649 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18650 *) ac_sed_conf_input=$configure_input;;
18651 esac
18653 case $ac_tag in
18654 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18655 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18656 esac
18658 esac
18660 ac_dir=`$as_dirname -- "$ac_file" ||
18661 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18662 X"$ac_file" : 'X\(//\)[^/]' \| \
18663 X"$ac_file" : 'X\(//\)$' \| \
18664 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18665 $as_echo X"$ac_file" |
18666 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18667 s//\1/
18670 /^X\(\/\/\)[^/].*/{
18671 s//\1/
18674 /^X\(\/\/\)$/{
18675 s//\1/
18678 /^X\(\/\).*/{
18679 s//\1/
18682 s/.*/./; q'`
18683 as_dir="$ac_dir"; as_fn_mkdir_p
18684 ac_builddir=.
18686 case "$ac_dir" in
18687 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18689 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18690 # A ".." for each directory in $ac_dir_suffix.
18691 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18692 case $ac_top_builddir_sub in
18693 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18694 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18695 esac ;;
18696 esac
18697 ac_abs_top_builddir=$ac_pwd
18698 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18699 # for backward compatibility:
18700 ac_top_builddir=$ac_top_build_prefix
18702 case $srcdir in
18703 .) # We are building in place.
18704 ac_srcdir=.
18705 ac_top_srcdir=$ac_top_builddir_sub
18706 ac_abs_top_srcdir=$ac_pwd ;;
18707 [\\/]* | ?:[\\/]* ) # Absolute name.
18708 ac_srcdir=$srcdir$ac_dir_suffix;
18709 ac_top_srcdir=$srcdir
18710 ac_abs_top_srcdir=$srcdir ;;
18711 *) # Relative name.
18712 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18713 ac_top_srcdir=$ac_top_build_prefix$srcdir
18714 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18715 esac
18716 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18719 case $ac_mode in
18722 # CONFIG_FILE
18725 _ACEOF
18727 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18728 # If the template does not know about datarootdir, expand it.
18729 # FIXME: This hack should be removed a few years after 2.60.
18730 ac_datarootdir_hack=; ac_datarootdir_seen=
18731 ac_sed_dataroot='
18732 /datarootdir/ {
18736 /@datadir@/p
18737 /@docdir@/p
18738 /@infodir@/p
18739 /@localedir@/p
18740 /@mandir@/p'
18741 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18742 *datarootdir*) ac_datarootdir_seen=yes;;
18743 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18744 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18745 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18746 _ACEOF
18747 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18748 ac_datarootdir_hack='
18749 s&@datadir@&$datadir&g
18750 s&@docdir@&$docdir&g
18751 s&@infodir@&$infodir&g
18752 s&@localedir@&$localedir&g
18753 s&@mandir@&$mandir&g
18754 s&\\\${datarootdir}&$datarootdir&g' ;;
18755 esac
18756 _ACEOF
18758 # Neutralize VPATH when `$srcdir' = `.'.
18759 # Shell code in configure.ac might set extrasub.
18760 # FIXME: do we really want to maintain this feature?
18761 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18762 ac_sed_extra="$ac_vpsub
18763 $extrasub
18764 _ACEOF
18765 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18767 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18768 s|@configure_input@|$ac_sed_conf_input|;t t
18769 s&@top_builddir@&$ac_top_builddir_sub&;t t
18770 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18771 s&@srcdir@&$ac_srcdir&;t t
18772 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18773 s&@top_srcdir@&$ac_top_srcdir&;t t
18774 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18775 s&@builddir@&$ac_builddir&;t t
18776 s&@abs_builddir@&$ac_abs_builddir&;t t
18777 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18778 $ac_datarootdir_hack
18780 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18781 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18783 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18784 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18785 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18786 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18788 which seems to be undefined. Please make sure it is defined" >&5
18789 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18790 which seems to be undefined. Please make sure it is defined" >&2;}
18792 rm -f "$ac_tmp/stdin"
18793 case $ac_file in
18794 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18795 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18796 esac \
18797 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18801 # CONFIG_HEADER
18803 if test x"$ac_file" != x-; then
18805 $as_echo "/* $configure_input */" \
18806 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18807 } >"$ac_tmp/config.h" \
18808 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18809 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18810 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18811 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18812 else
18813 rm -f "$ac_file"
18814 mv "$ac_tmp/config.h" "$ac_file" \
18815 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18817 else
18818 $as_echo "/* $configure_input */" \
18819 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18820 || as_fn_error $? "could not create -" "$LINENO" 5
18825 # CONFIG_LINK
18828 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
18830 else
18831 # Prefer the file from the source tree if names are identical.
18832 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
18833 ac_source=$srcdir/$ac_source
18836 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
18837 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
18839 if test ! -r "$ac_source"; then
18840 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
18842 rm -f "$ac_file"
18844 # Try a relative symlink, then a hard link, then a copy.
18845 case $ac_source in
18846 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
18847 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
18848 esac
18849 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
18850 ln "$ac_source" "$ac_file" 2>/dev/null ||
18851 cp -p "$ac_source" "$ac_file" ||
18852 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
18855 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18856 $as_echo "$as_me: executing $ac_file commands" >&6;}
18858 esac
18861 case $ac_file$ac_mode in
18862 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
18863 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
18864 "Makefile":C) wine_fn_output_makefile Makefile ;;
18865 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
18867 esac
18868 done # for ac_tag
18871 as_fn_exit 0
18872 _ACEOF
18873 ac_clean_files=$ac_clean_files_save
18875 test $ac_write_fail = 0 ||
18876 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18879 # configure is writing to config.log, and then calls config.status.
18880 # config.status does its own redirection, appending to config.log.
18881 # Unfortunately, on DOS this fails, as config.log is still kept open
18882 # by configure, so config.status won't be able to write to it; its
18883 # output is simply discarded. So we exec the FD to /dev/null,
18884 # effectively closing config.log, so it can be properly (re)opened and
18885 # appended to by config.status. When coming back to configure, we
18886 # need to make the FD available again.
18887 if test "$no_create" != yes; then
18888 ac_cs_success=:
18889 ac_config_status_args=
18890 test "$silent" = yes &&
18891 ac_config_status_args="$ac_config_status_args --quiet"
18892 exec 5>/dev/null
18893 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18894 exec 5>>config.log
18895 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18896 # would make configure fail if this is the last instruction.
18897 $ac_cs_success || as_fn_exit 1
18899 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18901 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18905 if test "$no_create" = "yes"
18906 then
18907 exit 0
18910 ac_save_IFS="$IFS"
18911 if test "x$wine_notices != "x; then
18912 echo >&6
18913 IFS="|"
18914 for msg in $wine_notices; do
18915 IFS="$ac_save_IFS"
18916 if ${msg:+false} :; then :
18918 else
18919 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
18920 $as_echo "$as_me: $msg" >&6;}
18922 done
18924 IFS="|"
18925 for msg in $wine_warnings; do
18926 IFS="$ac_save_IFS"
18927 if ${msg:+false} :; then :
18929 else
18930 echo >&2
18931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
18932 $as_echo "$as_me: WARNING: $msg" >&2;}
18934 done
18935 IFS="$ac_save_IFS"
18937 $as_echo "
18938 $as_me: Finished. Do '${ac_make}' to compile Wine.
18939 " >&6