dwrite: Implement custom font collections.
[wine.git] / configure
blobd2bada5113467d4c9e6ef46b575b50625fc4061d
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.29.
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.29'
584 PACKAGE_STRING='Wine 1.7.29'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='http://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 LINGUAS
628 ALL_VARS_RULES
629 LDAP_LIBS
630 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 UNWINDFLAGS
635 BUILTINFLAG
636 EXTRACFLAGS
637 PROCSTAT_LIBS
638 KSTAT_LIBS
639 MPG123_LIBS
640 MPG123_CFLAGS
641 TIFF_LIBS
642 TIFF_CFLAGS
643 PNG_LIBS
644 PNG_CFLAGS
645 JPEG_LIBS
646 JPEG_CFLAGS
647 FONTCONFIG_LIBS
648 FONTCONFIG_CFLAGS
649 CUPS_CFLAGS
650 CAPI20_LIBS
651 CAPI20_CFLAGS
652 OSS4_CFLAGS
653 ALSA_LIBS
654 GSTREAMER_LIBS
655 GSTREAMER_CFLAGS
656 GETTEXTPO_LIBS
657 Z_LIBS
658 FREETYPE_LIBS
659 FREETYPE_CFLAGS
660 LCMS2_LIBS
661 LCMS2_CFLAGS
662 RESOLV_LIBS
663 GPHOTO2_PORT_LIBS
664 GPHOTO2_PORT_CFLAGS
665 GPHOTO2_LIBS
666 GPHOTO2_CFLAGS
667 SANE_LIBS
668 SANE_CFLAGS
669 GNUTLS_LIBS
670 GNUTLS_CFLAGS
671 HAL_LIBS
672 HAL_CFLAGS
673 DBUS_LIBS
674 DBUS_CFLAGS
675 XSLT_LIBS
676 XSLT_CFLAGS
677 XML2_LIBS
678 XML2_CFLAGS
679 LIBPCAP
680 X_EXTRA_LIBS
681 X_LIBS
682 X_PRE_LIBS
683 X_CFLAGS
684 XMKMF
685 PTHREAD_LIBS
686 CROSSCC
687 CROSSTARGET
688 PRELINK
689 CARBON_LIBS
690 QUICKTIME_LIBS
691 OPENCL_LIBS
692 OPENAL_LIBS
693 COREAUDIO_LIBS
694 SECURITY_LIBS
695 DISKARBITRATION_LIBS
696 APPKIT_LIBS
697 CORESERVICES_LIBS
698 APPLICATIONSERVICES_LIBS
699 FORCEFEEDBACK_LIBS
700 IOKIT_LIBS
701 COREFOUNDATION_LIBS
702 LIBWINE_RULES
703 SOCKET_LIBS
704 DLLTOOL
705 LOADER_RULES
706 ALL_TEST_RESOURCES
707 READELF
709 LDRPATH_LOCAL
710 LDRPATH_INSTALL
711 DLLFLAGS
712 DLLPREFIX
713 dlldir
715 OPENGL_LIBS
716 ICOTOOL
717 CONVERT
718 RSVG
719 FONTFORGE
720 PKG_CONFIG
721 MSGFMT
722 LDCONFIG
723 EGREP
724 GREP
725 LN_S
726 RANLIB
727 ARFLAGS
728 STRIP
729 ac_ct_AR
731 BISON
732 FLEX
733 TOOLSDIR
734 TARGETFLAGS
735 CPPBIN
736 ac_ct_CXX
737 CXXFLAGS
739 OBJEXT
740 EXEEXT
741 ac_ct_CC
742 CPPFLAGS
743 LDFLAGS
744 CFLAGS
746 SET_MAKE
747 host_os
748 host_vendor
749 host_cpu
750 host
751 build_os
752 build_vendor
753 build_cpu
754 build
755 target_alias
756 host_alias
757 build_alias
758 LIBS
759 ECHO_T
760 ECHO_N
761 ECHO_C
762 DEFS
763 mandir
764 localedir
765 libdir
766 psdir
767 pdfdir
768 dvidir
769 htmldir
770 infodir
771 docdir
772 oldincludedir
773 includedir
774 localstatedir
775 sharedstatedir
776 sysconfdir
777 datadir
778 datarootdir
779 libexecdir
780 sbindir
781 bindir
782 program_transform_name
783 prefix
784 exec_prefix
785 PACKAGE_URL
786 PACKAGE_BUGREPORT
787 PACKAGE_STRING
788 PACKAGE_VERSION
789 PACKAGE_TARNAME
790 PACKAGE_NAME
791 PATH_SEPARATOR
792 SHELL'
793 ac_subst_files=''
794 ac_user_opts='
795 enable_option_checking
796 enable_win16
797 enable_win64
798 enable_tests
799 enable_maintainer_mode
800 with_alsa
801 with_capi
802 with_cms
803 with_coreaudio
804 with_cups
805 with_curses
806 with_dbus
807 with_fontconfig
808 with_freetype
809 with_gettext
810 with_gettextpo
811 with_gphoto
812 with_glu
813 with_gnutls
814 with_gsm
815 with_gstreamer
816 with_hal
817 with_jpeg
818 with_ldap
819 with_mpg123
820 with_netapi
821 with_openal
822 with_opencl
823 with_opengl
824 with_osmesa
825 with_oss
826 with_pcap
827 with_png
828 with_pthread
829 with_sane
830 with_tiff
831 with_v4l
832 with_xcomposite
833 with_xcursor
834 with_xinerama
835 with_xinput
836 with_xinput2
837 with_xml
838 with_xrandr
839 with_xrender
840 with_xshape
841 with_xshm
842 with_xslt
843 with_xxf86vm
844 with_zlib
845 with_wine_tools
846 with_wine64
847 enable_largefile
848 with_x
849 enable_acledit
850 enable_aclui
851 enable_activeds
852 enable_actxprxy
853 enable_advapi32
854 enable_advpack
855 enable_amstream
856 enable_api_ms_win_core_com_l1_1_0
857 enable_api_ms_win_core_console_l1_1_0
858 enable_api_ms_win_core_debug_l1_1_1
859 enable_api_ms_win_core_errorhandling_l1_1_1
860 enable_api_ms_win_core_file_l1_2_0
861 enable_api_ms_win_core_handle_l1_1_0
862 enable_api_ms_win_core_heap_l1_2_0
863 enable_api_ms_win_core_heap_obsolete_l1_1_0
864 enable_api_ms_win_core_interlocked_l1_2_0
865 enable_api_ms_win_core_io_l1_1_1
866 enable_api_ms_win_core_kernel32_legacy_l1_1_0
867 enable_api_ms_win_core_libraryloader_l1_1_1
868 enable_api_ms_win_core_localization_l1_2_0
869 enable_api_ms_win_core_localization_obsolete_l1_1_0
870 enable_api_ms_win_core_localregistry_l1_1_0
871 enable_api_ms_win_core_memory_l1_1_1
872 enable_api_ms_win_core_namedpipe_l1_2_0
873 enable_api_ms_win_core_processenvironment_l1_2_0
874 enable_api_ms_win_core_processthreads_l1_1_0
875 enable_api_ms_win_core_processthreads_l1_1_1
876 enable_api_ms_win_core_profile_l1_1_0
877 enable_api_ms_win_core_psapi_l1_1_0
878 enable_api_ms_win_core_registry_l1_1_0
879 enable_api_ms_win_core_rtlsupport_l1_2_0
880 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
881 enable_api_ms_win_core_string_l1_1_0
882 enable_api_ms_win_core_synch_l1_2_0
883 enable_api_ms_win_core_sysinfo_l1_2_0
884 enable_api_ms_win_core_threadpool_legacy_l1_1_0
885 enable_api_ms_win_core_timezone_l1_1_0
886 enable_api_ms_win_core_url_l1_1_0
887 enable_api_ms_win_core_util_l1_1_0
888 enable_api_ms_win_core_winrt_error_l1_1_0
889 enable_api_ms_win_core_winrt_string_l1_1_0
890 enable_api_ms_win_downlevel_advapi32_l1_1_0
891 enable_api_ms_win_downlevel_advapi32_l2_1_0
892 enable_api_ms_win_downlevel_normaliz_l1_1_0
893 enable_api_ms_win_downlevel_ole32_l1_1_0
894 enable_api_ms_win_downlevel_shell32_l1_1_0
895 enable_api_ms_win_downlevel_shlwapi_l1_1_0
896 enable_api_ms_win_downlevel_shlwapi_l2_1_0
897 enable_api_ms_win_downlevel_user32_l1_1_0
898 enable_api_ms_win_downlevel_version_l1_1_0
899 enable_api_ms_win_eventing_provider_l1_1_0
900 enable_api_ms_win_ntuser_dc_access_l1_1_0
901 enable_api_ms_win_security_base_l1_1_0
902 enable_api_ms_win_security_base_l1_2_0
903 enable_api_ms_win_security_sddl_l1_1_0
904 enable_api_ms_win_service_core_l1_1_1
905 enable_api_ms_win_service_management_l1_1_0
906 enable_api_ms_win_service_winsvc_l1_2_0
907 enable_apphelp
908 enable_appwiz_cpl
909 enable_atl
910 enable_atl100
911 enable_atl110
912 enable_atl80
913 enable_atl90
914 enable_authz
915 enable_avicap32
916 enable_avifil32
917 enable_avrt
918 enable_bcrypt
919 enable_browseui
920 enable_cabinet
921 enable_capi2032
922 enable_cards
923 enable_cfgmgr32
924 enable_clusapi
925 enable_comcat
926 enable_comctl32
927 enable_comdlg32
928 enable_compstui
929 enable_comsvcs
930 enable_credui
931 enable_crtdll
932 enable_crypt32
933 enable_cryptdlg
934 enable_cryptdll
935 enable_cryptnet
936 enable_cryptui
937 enable_ctapi32
938 enable_ctl3d32
939 enable_d2d1
940 enable_d3d10
941 enable_d3d10_1
942 enable_d3d10core
943 enable_d3d11
944 enable_d3d8
945 enable_d3d9
946 enable_d3dcompiler_33
947 enable_d3dcompiler_34
948 enable_d3dcompiler_35
949 enable_d3dcompiler_36
950 enable_d3dcompiler_37
951 enable_d3dcompiler_38
952 enable_d3dcompiler_39
953 enable_d3dcompiler_40
954 enable_d3dcompiler_41
955 enable_d3dcompiler_42
956 enable_d3dcompiler_43
957 enable_d3dim
958 enable_d3drm
959 enable_d3dx10_33
960 enable_d3dx10_34
961 enable_d3dx10_35
962 enable_d3dx10_36
963 enable_d3dx10_37
964 enable_d3dx10_38
965 enable_d3dx10_39
966 enable_d3dx10_40
967 enable_d3dx10_41
968 enable_d3dx10_42
969 enable_d3dx10_43
970 enable_d3dx11_42
971 enable_d3dx11_43
972 enable_d3dx9_24
973 enable_d3dx9_25
974 enable_d3dx9_26
975 enable_d3dx9_27
976 enable_d3dx9_28
977 enable_d3dx9_29
978 enable_d3dx9_30
979 enable_d3dx9_31
980 enable_d3dx9_32
981 enable_d3dx9_33
982 enable_d3dx9_34
983 enable_d3dx9_35
984 enable_d3dx9_36
985 enable_d3dx9_37
986 enable_d3dx9_38
987 enable_d3dx9_39
988 enable_d3dx9_40
989 enable_d3dx9_41
990 enable_d3dx9_42
991 enable_d3dx9_43
992 enable_d3dxof
993 enable_dbgeng
994 enable_dbghelp
995 enable_dciman32
996 enable_ddraw
997 enable_ddrawex
998 enable_devenum
999 enable_dhcpcsvc
1000 enable_difxapi
1001 enable_dinput
1002 enable_dinput8
1003 enable_dispex
1004 enable_dmband
1005 enable_dmcompos
1006 enable_dmime
1007 enable_dmloader
1008 enable_dmscript
1009 enable_dmstyle
1010 enable_dmsynth
1011 enable_dmusic
1012 enable_dmusic32
1013 enable_dnsapi
1014 enable_dplay
1015 enable_dplayx
1016 enable_dpnaddr
1017 enable_dpnet
1018 enable_dpnhpast
1019 enable_dpnlobby
1020 enable_dpvoice
1021 enable_dpwsockx
1022 enable_drmclien
1023 enable_dsound
1024 enable_dssenh
1025 enable_dswave
1026 enable_dwmapi
1027 enable_dwrite
1028 enable_dxdiagn
1029 enable_dxgi
1030 enable_dxva2
1031 enable_explorerframe
1032 enable_ext_ms_win_gdi_devcaps_l1_1_0
1033 enable_faultrep
1034 enable_fltlib
1035 enable_fntcache
1036 enable_fontsub
1037 enable_fusion
1038 enable_fwpuclnt
1039 enable_gameux
1040 enable_gdi32
1041 enable_gdiplus
1042 enable_glu32
1043 enable_gphoto2_ds
1044 enable_gpkcsp
1045 enable_hal
1046 enable_hhctrl_ocx
1047 enable_hid
1048 enable_hlink
1049 enable_hnetcfg
1050 enable_httpapi
1051 enable_iccvid
1052 enable_icmp
1053 enable_ieframe
1054 enable_imaadp32_acm
1055 enable_imagehlp
1056 enable_imm32
1057 enable_inetcomm
1058 enable_inetcpl_cpl
1059 enable_inetmib1
1060 enable_infosoft
1061 enable_initpki
1062 enable_inkobj
1063 enable_inseng
1064 enable_iphlpapi
1065 enable_itircl
1066 enable_itss
1067 enable_joy_cpl
1068 enable_jscript
1069 enable_jsproxy
1070 enable_kernel32
1071 enable_ksuser
1072 enable_ktmw32
1073 enable_loadperf
1074 enable_localspl
1075 enable_localui
1076 enable_lz32
1077 enable_mapi32
1078 enable_mapistub
1079 enable_mciavi32
1080 enable_mcicda
1081 enable_mciqtz32
1082 enable_mciseq
1083 enable_mciwave
1084 enable_mgmtapi
1085 enable_midimap
1086 enable_mlang
1087 enable_mmcndmgr
1088 enable_mmdevapi
1089 enable_mountmgr_sys
1090 enable_mpr
1091 enable_mprapi
1092 enable_msacm32_drv
1093 enable_msacm32
1094 enable_msadp32_acm
1095 enable_msasn1
1096 enable_mscat32
1097 enable_mscms
1098 enable_mscoree
1099 enable_msctf
1100 enable_msdaps
1101 enable_msdmo
1102 enable_msftedit
1103 enable_msg711_acm
1104 enable_msgsm32_acm
1105 enable_mshtml_tlb
1106 enable_mshtml
1107 enable_msi
1108 enable_msident
1109 enable_msimg32
1110 enable_msimsg
1111 enable_msimtf
1112 enable_msisip
1113 enable_msisys_ocx
1114 enable_msls31
1115 enable_msnet32
1116 enable_mspatcha
1117 enable_msrle32
1118 enable_mssign32
1119 enable_mssip32
1120 enable_mstask
1121 enable_msvcirt
1122 enable_msvcm80
1123 enable_msvcm90
1124 enable_msvcp100
1125 enable_msvcp110
1126 enable_msvcp60
1127 enable_msvcp70
1128 enable_msvcp71
1129 enable_msvcp80
1130 enable_msvcp90
1131 enable_msvcr100
1132 enable_msvcr110
1133 enable_msvcr70
1134 enable_msvcr71
1135 enable_msvcr80
1136 enable_msvcr90
1137 enable_msvcrt
1138 enable_msvcrt20
1139 enable_msvcrt40
1140 enable_msvcrtd
1141 enable_msvfw32
1142 enable_msvidc32
1143 enable_mswsock
1144 enable_msxml
1145 enable_msxml2
1146 enable_msxml3
1147 enable_msxml4
1148 enable_msxml6
1149 enable_nddeapi
1150 enable_netapi32
1151 enable_netcfgx
1152 enable_netprofm
1153 enable_newdev
1154 enable_normaliz
1155 enable_npmshtml
1156 enable_npptools
1157 enable_ntdll
1158 enable_ntdsapi
1159 enable_ntoskrnl_exe
1160 enable_ntprint
1161 enable_objsel
1162 enable_odbc32
1163 enable_odbccp32
1164 enable_odbccu32
1165 enable_ole32
1166 enable_oleacc
1167 enable_oleaut32
1168 enable_olecli32
1169 enable_oledb32
1170 enable_oledlg
1171 enable_olepro32
1172 enable_olesvr32
1173 enable_olethk32
1174 enable_openal32
1175 enable_opencl
1176 enable_opengl32
1177 enable_packager
1178 enable_pdh
1179 enable_photometadatahandler
1180 enable_pidgen
1181 enable_powrprof
1182 enable_printui
1183 enable_prntvpt
1184 enable_propsys
1185 enable_psapi
1186 enable_pstorec
1187 enable_qcap
1188 enable_qedit
1189 enable_qmgr
1190 enable_qmgrprxy
1191 enable_quartz
1192 enable_query
1193 enable_rasapi32
1194 enable_rasdlg
1195 enable_regapi
1196 enable_resutils
1197 enable_riched20
1198 enable_riched32
1199 enable_rpcrt4
1200 enable_rsabase
1201 enable_rsaenh
1202 enable_rstrtmgr
1203 enable_rtutils
1204 enable_samlib
1205 enable_sane_ds
1206 enable_scarddlg
1207 enable_sccbase
1208 enable_schannel
1209 enable_schedsvc
1210 enable_scrrun
1211 enable_scsiport_sys
1212 enable_secur32
1213 enable_security
1214 enable_sensapi
1215 enable_serialui
1216 enable_setupapi
1217 enable_sfc
1218 enable_sfc_os
1219 enable_shdoclc
1220 enable_shdocvw
1221 enable_shell32
1222 enable_shfolder
1223 enable_shlwapi
1224 enable_slbcsp
1225 enable_slc
1226 enable_snmpapi
1227 enable_softpub
1228 enable_spoolss
1229 enable_stdole2_tlb
1230 enable_stdole32_tlb
1231 enable_sti
1232 enable_svrapi
1233 enable_sxs
1234 enable_t2embed
1235 enable_tapi32
1236 enable_taskschd
1237 enable_traffic
1238 enable_twain_32
1239 enable_unicows
1240 enable_updspapi
1241 enable_url
1242 enable_urlmon
1243 enable_usbd_sys
1244 enable_user32
1245 enable_userenv
1246 enable_usp10
1247 enable_uxtheme
1248 enable_vbscript
1249 enable_vcomp
1250 enable_vcomp100
1251 enable_vcomp90
1252 enable_vdmdbg
1253 enable_version
1254 enable_wbemdisp
1255 enable_wbemprox
1256 enable_webservices
1257 enable_wer
1258 enable_wevtapi
1259 enable_wiaservc
1260 enable_windowscodecs
1261 enable_windowscodecsext
1262 enable_winealsa_drv
1263 enable_winecoreaudio_drv
1264 enable_wined3d
1265 enable_winegstreamer
1266 enable_winejoystick_drv
1267 enable_winemac_drv
1268 enable_winemapi
1269 enable_winemp3_acm
1270 enable_wineoss_drv
1271 enable_wineps_drv
1272 enable_wineqtdecoder
1273 enable_winex11_drv
1274 enable_wing32
1275 enable_winhttp
1276 enable_wininet
1277 enable_winmm
1278 enable_winnls32
1279 enable_winscard
1280 enable_winspool_drv
1281 enable_winsta
1282 enable_wintab32
1283 enable_wintrust
1284 enable_wlanapi
1285 enable_wldap32
1286 enable_wmi
1287 enable_wmiutils
1288 enable_wmp
1289 enable_wmvcore
1290 enable_wnaspi32
1291 enable_wpcap
1292 enable_ws2_32
1293 enable_wshom_ocx
1294 enable_wsnmp32
1295 enable_wsock32
1296 enable_wtsapi32
1297 enable_wuapi
1298 enable_wuaueng
1299 enable_xapofx1_1
1300 enable_xinput1_1
1301 enable_xinput1_2
1302 enable_xinput1_3
1303 enable_xinput1_4
1304 enable_xinput9_1_0
1305 enable_xmllite
1306 enable_xolehlp
1307 enable_xpsprint
1308 enable_xpssvcs
1309 enable_documentation
1310 enable_fonts
1311 enable_include
1312 enable_libs_port
1313 enable_libs_wine
1314 enable_libs_wpp
1315 enable_loader
1316 enable_arp
1317 enable_aspnet_regiis
1318 enable_attrib
1319 enable_cabarc
1320 enable_cacls
1321 enable_clock
1322 enable_cmd
1323 enable_conhost
1324 enable_control
1325 enable_cscript
1326 enable_dpnsvr
1327 enable_dxdiag
1328 enable_eject
1329 enable_expand
1330 enable_explorer
1331 enable_extrac32
1332 enable_findstr
1333 enable_hh
1334 enable_hostname
1335 enable_icinfo
1336 enable_iexplore
1337 enable_ipconfig
1338 enable_lodctr
1339 enable_mofcomp
1340 enable_mshta
1341 enable_msiexec
1342 enable_net
1343 enable_netsh
1344 enable_netstat
1345 enable_ngen
1346 enable_notepad
1347 enable_oleview
1348 enable_ping
1349 enable_plugplay
1350 enable_presentationfontcache
1351 enable_progman
1352 enable_reg
1353 enable_regasm
1354 enable_regedit
1355 enable_regsvcs
1356 enable_regsvr32
1357 enable_rpcss
1358 enable_rundll32
1359 enable_sc
1360 enable_schtasks
1361 enable_sdbinst
1362 enable_secedit
1363 enable_servicemodelreg
1364 enable_services
1365 enable_spoolsv
1366 enable_start
1367 enable_svchost
1368 enable_systeminfo
1369 enable_taskkill
1370 enable_tasklist
1371 enable_taskmgr
1372 enable_termsv
1373 enable_uninstaller
1374 enable_unlodctr
1375 enable_view
1376 enable_wevtutil
1377 enable_wineboot
1378 enable_winebrowser
1379 enable_winecfg
1380 enable_wineconsole
1381 enable_winedbg
1382 enable_winedevice
1383 enable_winefile
1384 enable_winemenubuilder
1385 enable_winemine
1386 enable_winemsibuilder
1387 enable_winepath
1388 enable_winetest
1389 enable_winhlp32
1390 enable_winver
1391 enable_wmic
1392 enable_wordpad
1393 enable_write
1394 enable_wscript
1395 enable_wusa
1396 enable_xcopy
1397 enable_server
1398 enable_tools
1400 ac_precious_vars='build_alias
1401 host_alias
1402 target_alias
1404 CFLAGS
1405 LDFLAGS
1406 LIBS
1407 CPPFLAGS
1409 CXXFLAGS
1412 XMKMF
1413 XML2_CFLAGS
1414 XML2_LIBS
1415 XSLT_CFLAGS
1416 XSLT_LIBS
1417 DBUS_CFLAGS
1418 DBUS_LIBS
1419 HAL_CFLAGS
1420 HAL_LIBS
1421 GNUTLS_CFLAGS
1422 GNUTLS_LIBS
1423 SANE_CFLAGS
1424 SANE_LIBS
1425 GPHOTO2_CFLAGS
1426 GPHOTO2_LIBS
1427 GPHOTO2_PORT_CFLAGS
1428 GPHOTO2_PORT_LIBS
1429 LCMS2_CFLAGS
1430 LCMS2_LIBS
1431 FREETYPE_CFLAGS
1432 FREETYPE_LIBS
1433 GSTREAMER_CFLAGS
1434 GSTREAMER_LIBS
1435 CAPI20_CFLAGS
1436 CAPI20_LIBS
1437 FONTCONFIG_CFLAGS
1438 FONTCONFIG_LIBS
1439 JPEG_CFLAGS
1440 JPEG_LIBS
1441 PNG_CFLAGS
1442 PNG_LIBS
1443 TIFF_CFLAGS
1444 TIFF_LIBS
1445 MPG123_CFLAGS
1446 MPG123_LIBS'
1449 # Initialize some variables set by options.
1450 ac_init_help=
1451 ac_init_version=false
1452 ac_unrecognized_opts=
1453 ac_unrecognized_sep=
1454 # The variables have the same names as the options, with
1455 # dashes changed to underlines.
1456 cache_file=/dev/null
1457 exec_prefix=NONE
1458 no_create=
1459 no_recursion=
1460 prefix=NONE
1461 program_prefix=NONE
1462 program_suffix=NONE
1463 program_transform_name=s,x,x,
1464 silent=
1465 site=
1466 srcdir=
1467 verbose=
1468 x_includes=NONE
1469 x_libraries=NONE
1471 # Installation directory options.
1472 # These are left unexpanded so users can "make install exec_prefix=/foo"
1473 # and all the variables that are supposed to be based on exec_prefix
1474 # by default will actually change.
1475 # Use braces instead of parens because sh, perl, etc. also accept them.
1476 # (The list follows the same order as the GNU Coding Standards.)
1477 bindir='${exec_prefix}/bin'
1478 sbindir='${exec_prefix}/sbin'
1479 libexecdir='${exec_prefix}/libexec'
1480 datarootdir='${prefix}/share'
1481 datadir='${datarootdir}'
1482 sysconfdir='${prefix}/etc'
1483 sharedstatedir='${prefix}/com'
1484 localstatedir='${prefix}/var'
1485 includedir='${prefix}/include'
1486 oldincludedir='/usr/include'
1487 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1488 infodir='${datarootdir}/info'
1489 htmldir='${docdir}'
1490 dvidir='${docdir}'
1491 pdfdir='${docdir}'
1492 psdir='${docdir}'
1493 libdir='${exec_prefix}/lib'
1494 localedir='${datarootdir}/locale'
1495 mandir='${datarootdir}/man'
1497 ac_prev=
1498 ac_dashdash=
1499 for ac_option
1501 # If the previous option needs an argument, assign it.
1502 if test -n "$ac_prev"; then
1503 eval $ac_prev=\$ac_option
1504 ac_prev=
1505 continue
1508 case $ac_option in
1509 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1510 *=) ac_optarg= ;;
1511 *) ac_optarg=yes ;;
1512 esac
1514 # Accept the important Cygnus configure options, so we can diagnose typos.
1516 case $ac_dashdash$ac_option in
1518 ac_dashdash=yes ;;
1520 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1521 ac_prev=bindir ;;
1522 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1523 bindir=$ac_optarg ;;
1525 -build | --build | --buil | --bui | --bu)
1526 ac_prev=build_alias ;;
1527 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1528 build_alias=$ac_optarg ;;
1530 -cache-file | --cache-file | --cache-fil | --cache-fi \
1531 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1532 ac_prev=cache_file ;;
1533 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1534 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1535 cache_file=$ac_optarg ;;
1537 --config-cache | -C)
1538 cache_file=config.cache ;;
1540 -datadir | --datadir | --datadi | --datad)
1541 ac_prev=datadir ;;
1542 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1543 datadir=$ac_optarg ;;
1545 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1546 | --dataroo | --dataro | --datar)
1547 ac_prev=datarootdir ;;
1548 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1549 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1550 datarootdir=$ac_optarg ;;
1552 -disable-* | --disable-*)
1553 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1554 # Reject names that are not valid shell variable names.
1555 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1556 as_fn_error $? "invalid feature name: $ac_useropt"
1557 ac_useropt_orig=$ac_useropt
1558 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1559 case $ac_user_opts in
1561 "enable_$ac_useropt"
1562 "*) ;;
1563 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1564 ac_unrecognized_sep=', ';;
1565 esac
1566 eval enable_$ac_useropt=no ;;
1568 -docdir | --docdir | --docdi | --doc | --do)
1569 ac_prev=docdir ;;
1570 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1571 docdir=$ac_optarg ;;
1573 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1574 ac_prev=dvidir ;;
1575 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1576 dvidir=$ac_optarg ;;
1578 -enable-* | --enable-*)
1579 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1580 # Reject names that are not valid shell variable names.
1581 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1582 as_fn_error $? "invalid feature name: $ac_useropt"
1583 ac_useropt_orig=$ac_useropt
1584 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1585 case $ac_user_opts in
1587 "enable_$ac_useropt"
1588 "*) ;;
1589 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1590 ac_unrecognized_sep=', ';;
1591 esac
1592 eval enable_$ac_useropt=\$ac_optarg ;;
1594 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1595 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1596 | --exec | --exe | --ex)
1597 ac_prev=exec_prefix ;;
1598 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1599 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1600 | --exec=* | --exe=* | --ex=*)
1601 exec_prefix=$ac_optarg ;;
1603 -gas | --gas | --ga | --g)
1604 # Obsolete; use --with-gas.
1605 with_gas=yes ;;
1607 -help | --help | --hel | --he | -h)
1608 ac_init_help=long ;;
1609 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1610 ac_init_help=recursive ;;
1611 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1612 ac_init_help=short ;;
1614 -host | --host | --hos | --ho)
1615 ac_prev=host_alias ;;
1616 -host=* | --host=* | --hos=* | --ho=*)
1617 host_alias=$ac_optarg ;;
1619 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1620 ac_prev=htmldir ;;
1621 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1622 | --ht=*)
1623 htmldir=$ac_optarg ;;
1625 -includedir | --includedir | --includedi | --included | --include \
1626 | --includ | --inclu | --incl | --inc)
1627 ac_prev=includedir ;;
1628 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1629 | --includ=* | --inclu=* | --incl=* | --inc=*)
1630 includedir=$ac_optarg ;;
1632 -infodir | --infodir | --infodi | --infod | --info | --inf)
1633 ac_prev=infodir ;;
1634 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1635 infodir=$ac_optarg ;;
1637 -libdir | --libdir | --libdi | --libd)
1638 ac_prev=libdir ;;
1639 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1640 libdir=$ac_optarg ;;
1642 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1643 | --libexe | --libex | --libe)
1644 ac_prev=libexecdir ;;
1645 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1646 | --libexe=* | --libex=* | --libe=*)
1647 libexecdir=$ac_optarg ;;
1649 -localedir | --localedir | --localedi | --localed | --locale)
1650 ac_prev=localedir ;;
1651 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1652 localedir=$ac_optarg ;;
1654 -localstatedir | --localstatedir | --localstatedi | --localstated \
1655 | --localstate | --localstat | --localsta | --localst | --locals)
1656 ac_prev=localstatedir ;;
1657 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1658 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1659 localstatedir=$ac_optarg ;;
1661 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1662 ac_prev=mandir ;;
1663 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1664 mandir=$ac_optarg ;;
1666 -nfp | --nfp | --nf)
1667 # Obsolete; use --without-fp.
1668 with_fp=no ;;
1670 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1671 | --no-cr | --no-c | -n)
1672 no_create=yes ;;
1674 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1675 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1676 no_recursion=yes ;;
1678 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1679 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1680 | --oldin | --oldi | --old | --ol | --o)
1681 ac_prev=oldincludedir ;;
1682 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1683 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1684 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1685 oldincludedir=$ac_optarg ;;
1687 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1688 ac_prev=prefix ;;
1689 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1690 prefix=$ac_optarg ;;
1692 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1693 | --program-pre | --program-pr | --program-p)
1694 ac_prev=program_prefix ;;
1695 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1696 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1697 program_prefix=$ac_optarg ;;
1699 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1700 | --program-suf | --program-su | --program-s)
1701 ac_prev=program_suffix ;;
1702 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1703 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1704 program_suffix=$ac_optarg ;;
1706 -program-transform-name | --program-transform-name \
1707 | --program-transform-nam | --program-transform-na \
1708 | --program-transform-n | --program-transform- \
1709 | --program-transform | --program-transfor \
1710 | --program-transfo | --program-transf \
1711 | --program-trans | --program-tran \
1712 | --progr-tra | --program-tr | --program-t)
1713 ac_prev=program_transform_name ;;
1714 -program-transform-name=* | --program-transform-name=* \
1715 | --program-transform-nam=* | --program-transform-na=* \
1716 | --program-transform-n=* | --program-transform-=* \
1717 | --program-transform=* | --program-transfor=* \
1718 | --program-transfo=* | --program-transf=* \
1719 | --program-trans=* | --program-tran=* \
1720 | --progr-tra=* | --program-tr=* | --program-t=*)
1721 program_transform_name=$ac_optarg ;;
1723 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1724 ac_prev=pdfdir ;;
1725 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1726 pdfdir=$ac_optarg ;;
1728 -psdir | --psdir | --psdi | --psd | --ps)
1729 ac_prev=psdir ;;
1730 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1731 psdir=$ac_optarg ;;
1733 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1734 | -silent | --silent | --silen | --sile | --sil)
1735 silent=yes ;;
1737 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1738 ac_prev=sbindir ;;
1739 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1740 | --sbi=* | --sb=*)
1741 sbindir=$ac_optarg ;;
1743 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1744 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1745 | --sharedst | --shareds | --shared | --share | --shar \
1746 | --sha | --sh)
1747 ac_prev=sharedstatedir ;;
1748 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1749 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1750 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1751 | --sha=* | --sh=*)
1752 sharedstatedir=$ac_optarg ;;
1754 -site | --site | --sit)
1755 ac_prev=site ;;
1756 -site=* | --site=* | --sit=*)
1757 site=$ac_optarg ;;
1759 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1760 ac_prev=srcdir ;;
1761 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1762 srcdir=$ac_optarg ;;
1764 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1765 | --syscon | --sysco | --sysc | --sys | --sy)
1766 ac_prev=sysconfdir ;;
1767 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1768 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1769 sysconfdir=$ac_optarg ;;
1771 -target | --target | --targe | --targ | --tar | --ta | --t)
1772 ac_prev=target_alias ;;
1773 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1774 target_alias=$ac_optarg ;;
1776 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1777 verbose=yes ;;
1779 -version | --version | --versio | --versi | --vers | -V)
1780 ac_init_version=: ;;
1782 -with-* | --with-*)
1783 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1784 # Reject names that are not valid shell variable names.
1785 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1786 as_fn_error $? "invalid package name: $ac_useropt"
1787 ac_useropt_orig=$ac_useropt
1788 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1789 case $ac_user_opts in
1791 "with_$ac_useropt"
1792 "*) ;;
1793 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1794 ac_unrecognized_sep=', ';;
1795 esac
1796 eval with_$ac_useropt=\$ac_optarg ;;
1798 -without-* | --without-*)
1799 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1800 # Reject names that are not valid shell variable names.
1801 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1802 as_fn_error $? "invalid package name: $ac_useropt"
1803 ac_useropt_orig=$ac_useropt
1804 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1805 case $ac_user_opts in
1807 "with_$ac_useropt"
1808 "*) ;;
1809 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1810 ac_unrecognized_sep=', ';;
1811 esac
1812 eval with_$ac_useropt=no ;;
1814 --x)
1815 # Obsolete; use --with-x.
1816 with_x=yes ;;
1818 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1819 | --x-incl | --x-inc | --x-in | --x-i)
1820 ac_prev=x_includes ;;
1821 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1822 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1823 x_includes=$ac_optarg ;;
1825 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1826 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1827 ac_prev=x_libraries ;;
1828 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1829 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1830 x_libraries=$ac_optarg ;;
1832 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1833 Try \`$0 --help' for more information"
1836 *=*)
1837 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1838 # Reject names that are not valid shell variable names.
1839 case $ac_envvar in #(
1840 '' | [0-9]* | *[!_$as_cr_alnum]* )
1841 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1842 esac
1843 eval $ac_envvar=\$ac_optarg
1844 export $ac_envvar ;;
1847 # FIXME: should be removed in autoconf 3.0.
1848 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1849 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1850 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1851 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1854 esac
1855 done
1857 if test -n "$ac_prev"; then
1858 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1859 as_fn_error $? "missing argument to $ac_option"
1862 if test -n "$ac_unrecognized_opts"; then
1863 case $enable_option_checking in
1864 no) ;;
1865 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1866 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1867 esac
1870 # Check all directory arguments for consistency.
1871 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1872 datadir sysconfdir sharedstatedir localstatedir includedir \
1873 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1874 libdir localedir mandir
1876 eval ac_val=\$$ac_var
1877 # Remove trailing slashes.
1878 case $ac_val in
1879 */ )
1880 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1881 eval $ac_var=\$ac_val;;
1882 esac
1883 # Be sure to have absolute directory names.
1884 case $ac_val in
1885 [\\/$]* | ?:[\\/]* ) continue;;
1886 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1887 esac
1888 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1889 done
1891 # There might be people who depend on the old broken behavior: `$host'
1892 # used to hold the argument of --host etc.
1893 # FIXME: To remove some day.
1894 build=$build_alias
1895 host=$host_alias
1896 target=$target_alias
1898 # FIXME: To remove some day.
1899 if test "x$host_alias" != x; then
1900 if test "x$build_alias" = x; then
1901 cross_compiling=maybe
1902 elif test "x$build_alias" != "x$host_alias"; then
1903 cross_compiling=yes
1907 ac_tool_prefix=
1908 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1910 test "$silent" = yes && exec 6>/dev/null
1913 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1914 ac_ls_di=`ls -di .` &&
1915 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1916 as_fn_error $? "working directory cannot be determined"
1917 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1918 as_fn_error $? "pwd does not report name of working directory"
1921 # Find the source files, if location was not specified.
1922 if test -z "$srcdir"; then
1923 ac_srcdir_defaulted=yes
1924 # Try the directory containing this script, then the parent directory.
1925 ac_confdir=`$as_dirname -- "$as_myself" ||
1926 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1927 X"$as_myself" : 'X\(//\)[^/]' \| \
1928 X"$as_myself" : 'X\(//\)$' \| \
1929 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1930 $as_echo X"$as_myself" |
1931 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1932 s//\1/
1935 /^X\(\/\/\)[^/].*/{
1936 s//\1/
1939 /^X\(\/\/\)$/{
1940 s//\1/
1943 /^X\(\/\).*/{
1944 s//\1/
1947 s/.*/./; q'`
1948 srcdir=$ac_confdir
1949 if test ! -r "$srcdir/$ac_unique_file"; then
1950 srcdir=..
1952 else
1953 ac_srcdir_defaulted=no
1955 if test ! -r "$srcdir/$ac_unique_file"; then
1956 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1957 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1959 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1960 ac_abs_confdir=`(
1961 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1962 pwd)`
1963 # When building in place, set srcdir=.
1964 if test "$ac_abs_confdir" = "$ac_pwd"; then
1965 srcdir=.
1967 # Remove unnecessary trailing slashes from srcdir.
1968 # Double slashes in file names in object file debugging info
1969 # mess up M-x gdb in Emacs.
1970 case $srcdir in
1971 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1972 esac
1973 for ac_var in $ac_precious_vars; do
1974 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1975 eval ac_env_${ac_var}_value=\$${ac_var}
1976 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1977 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1978 done
1981 # Report the --help message.
1983 if test "$ac_init_help" = "long"; then
1984 # Omit some internal or obsolete options to make the list less imposing.
1985 # This message is too long to be a string in the A/UX 3.1 sh.
1986 cat <<_ACEOF
1987 \`configure' configures Wine 1.7.29 to adapt to many kinds of systems.
1989 Usage: $0 [OPTION]... [VAR=VALUE]...
1991 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1992 VAR=VALUE. See below for descriptions of some of the useful variables.
1994 Defaults for the options are specified in brackets.
1996 Configuration:
1997 -h, --help display this help and exit
1998 --help=short display options specific to this package
1999 --help=recursive display the short help of all the included packages
2000 -V, --version display version information and exit
2001 -q, --quiet, --silent do not print \`checking ...' messages
2002 --cache-file=FILE cache test results in FILE [disabled]
2003 -C, --config-cache alias for \`--cache-file=config.cache'
2004 -n, --no-create do not create output files
2005 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2007 Installation directories:
2008 --prefix=PREFIX install architecture-independent files in PREFIX
2009 [$ac_default_prefix]
2010 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2011 [PREFIX]
2013 By default, \`make install' will install all the files in
2014 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2015 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2016 for instance \`--prefix=\$HOME'.
2018 For better control, use the options below.
2020 Fine tuning of the installation directories:
2021 --bindir=DIR user executables [EPREFIX/bin]
2022 --sbindir=DIR system admin executables [EPREFIX/sbin]
2023 --libexecdir=DIR program executables [EPREFIX/libexec]
2024 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2025 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2026 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2027 --libdir=DIR object code libraries [EPREFIX/lib]
2028 --includedir=DIR C header files [PREFIX/include]
2029 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2030 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2031 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2032 --infodir=DIR info documentation [DATAROOTDIR/info]
2033 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2034 --mandir=DIR man documentation [DATAROOTDIR/man]
2035 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2036 --htmldir=DIR html documentation [DOCDIR]
2037 --dvidir=DIR dvi documentation [DOCDIR]
2038 --pdfdir=DIR pdf documentation [DOCDIR]
2039 --psdir=DIR ps documentation [DOCDIR]
2040 _ACEOF
2042 cat <<\_ACEOF
2044 X features:
2045 --x-includes=DIR X include files are in DIR
2046 --x-libraries=DIR X library files are in DIR
2048 System types:
2049 --build=BUILD configure for building on BUILD [guessed]
2050 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2051 _ACEOF
2054 if test -n "$ac_init_help"; then
2055 case $ac_init_help in
2056 short | recursive ) echo "Configuration of Wine 1.7.29:";;
2057 esac
2058 cat <<\_ACEOF
2060 Optional Features:
2061 --disable-option-checking ignore unrecognized --enable/--with options
2062 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2063 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2064 --disable-win16 do not include Win16 support
2065 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2066 binaries)
2067 --disable-tests do not build the regression tests
2068 --enable-maintainer-mode
2069 enable maintainer-specific build rules
2070 --disable-largefile omit support for large files
2072 Optional Packages:
2073 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2074 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2075 --without-alsa do not use the Alsa sound support
2076 --without-capi do not use CAPI (ISDN support)
2077 --without-cms do not use CMS (color management support)
2078 --without-coreaudio do not use the CoreAudio sound support
2079 --without-cups do not use CUPS
2080 --without-curses do not use (n)curses
2081 --without-dbus do not use DBus (dynamic device support)
2082 --without-fontconfig do not use fontconfig
2083 --without-freetype do not use the FreeType library
2084 --without-gettext do not use gettext
2085 --with-gettextpo use the GetTextPO library to rebuild po files
2086 --without-gphoto do not use gphoto (Digital Camera support)
2087 --without-glu do not use the GLU library
2088 --without-gnutls do not use GnuTLS (schannel support)
2089 --without-gsm do not use libgsm (GSM 06.10 codec support)
2090 --without-gstreamer do not use GStreamer (codecs support)
2091 --without-hal do not use HAL (dynamic device support)
2092 --without-jpeg do not use JPEG
2093 --without-ldap do not use LDAP
2094 --without-mpg123 do not use the mpg123 library
2095 --without-netapi do not use the Samba NetAPI library
2096 --without-openal do not use OpenAL
2097 --without-opencl do not use OpenCL
2098 --without-opengl do not use OpenGL
2099 --without-osmesa do not use the OSMesa library
2100 --without-oss do not use the OSS sound support
2101 --without-pcap do not use the Packet Capture library
2102 --without-png do not use PNG
2103 --without-pthread do not use the pthread library
2104 --without-sane do not use SANE (scanner support)
2105 --without-tiff do not use TIFF
2106 --without-v4l do not use v4l1 (v4l support)
2107 --without-xcomposite do not use the Xcomposite extension
2108 --without-xcursor do not use the Xcursor extension
2109 --without-xinerama do not use Xinerama (multi-monitor support)
2110 --without-xinput do not use the Xinput extension
2111 --without-xinput2 do not use the Xinput 2 extension
2112 --without-xml do not use XML
2113 --without-xrandr do not use Xrandr (resolution changes)
2114 --without-xrender do not use the Xrender extension
2115 --without-xshape do not use the Xshape extension
2116 --without-xshm do not use XShm (shared memory extension)
2117 --without-xslt do not use XSLT
2118 --without-xxf86vm do not use XFree video mode extension
2119 --without-zlib do not use Zlib (data compression)
2120 --with-wine-tools=DIR use Wine tools from directory DIR
2121 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2122 --with-x use the X Window System
2124 Some influential environment variables:
2125 CC C compiler command
2126 CFLAGS C compiler flags
2127 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2128 nonstandard directory <lib dir>
2129 LIBS libraries to pass to the linker, e.g. -l<library>
2130 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2131 you have headers in a nonstandard directory <include dir>
2132 CXX C++ compiler command
2133 CXXFLAGS C++ compiler flags
2134 CPP C preprocessor
2135 XMKMF Path to xmkmf, Makefile generator for X Window System
2136 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2137 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2138 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2139 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2140 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2141 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2142 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2143 HAL_LIBS Linker flags for hal, overriding pkg-config
2144 GNUTLS_CFLAGS
2145 C compiler flags for gnutls, overriding pkg-config
2146 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2147 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2148 SANE_LIBS Linker flags for libsane, overriding pkg-config
2149 GPHOTO2_CFLAGS
2150 C compiler flags for libgphoto2, overriding pkg-config
2151 GPHOTO2_LIBS
2152 Linker flags for libgphoto2, overriding pkg-config
2153 GPHOTO2_PORT_CFLAGS
2154 C compiler flags for libgphoto2_port, overriding pkg-config
2155 GPHOTO2_PORT_LIBS
2156 Linker flags for libgphoto2_port, overriding pkg-config
2157 LCMS2_CFLAGS
2158 C compiler flags for lcms2, overriding pkg-config
2159 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2160 FREETYPE_CFLAGS
2161 C compiler flags for freetype2, overriding pkg-config
2162 FREETYPE_LIBS
2163 Linker flags for freetype2, overriding pkg-config
2164 GSTREAMER_CFLAGS
2165 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2166 GSTREAMER_LIBS
2167 Linker flags for gstreamer-app-0.10, overriding pkg-config
2168 CAPI20_CFLAGS
2169 C compiler flags for capi20, overriding pkg-config
2170 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2171 FONTCONFIG_CFLAGS
2172 C compiler flags for fontconfig, overriding pkg-config
2173 FONTCONFIG_LIBS
2174 Linker flags for fontconfig, overriding pkg-config
2175 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2176 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2177 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2178 PNG_LIBS Linker flags for libpng, overriding pkg-config
2179 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2180 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2181 MPG123_CFLAGS
2182 C compiler flags for libmpg123, overriding pkg-config
2183 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2185 Use these variables to override the choices made by `configure' or to help
2186 it to find libraries and programs with nonstandard names/locations.
2188 Report bugs to <wine-devel@winehq.org>.
2189 Wine home page: <http://www.winehq.org>.
2190 _ACEOF
2191 ac_status=$?
2194 if test "$ac_init_help" = "recursive"; then
2195 # If there are subdirs, report their specific --help.
2196 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2197 test -d "$ac_dir" ||
2198 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2199 continue
2200 ac_builddir=.
2202 case "$ac_dir" in
2203 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2205 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2206 # A ".." for each directory in $ac_dir_suffix.
2207 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2208 case $ac_top_builddir_sub in
2209 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2210 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2211 esac ;;
2212 esac
2213 ac_abs_top_builddir=$ac_pwd
2214 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2215 # for backward compatibility:
2216 ac_top_builddir=$ac_top_build_prefix
2218 case $srcdir in
2219 .) # We are building in place.
2220 ac_srcdir=.
2221 ac_top_srcdir=$ac_top_builddir_sub
2222 ac_abs_top_srcdir=$ac_pwd ;;
2223 [\\/]* | ?:[\\/]* ) # Absolute name.
2224 ac_srcdir=$srcdir$ac_dir_suffix;
2225 ac_top_srcdir=$srcdir
2226 ac_abs_top_srcdir=$srcdir ;;
2227 *) # Relative name.
2228 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2229 ac_top_srcdir=$ac_top_build_prefix$srcdir
2230 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2231 esac
2232 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2234 cd "$ac_dir" || { ac_status=$?; continue; }
2235 # Check for guested configure.
2236 if test -f "$ac_srcdir/configure.gnu"; then
2237 echo &&
2238 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2239 elif test -f "$ac_srcdir/configure"; then
2240 echo &&
2241 $SHELL "$ac_srcdir/configure" --help=recursive
2242 else
2243 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2244 fi || ac_status=$?
2245 cd "$ac_pwd" || { ac_status=$?; break; }
2246 done
2249 test -n "$ac_init_help" && exit $ac_status
2250 if $ac_init_version; then
2251 cat <<\_ACEOF
2252 Wine configure 1.7.29
2253 generated by GNU Autoconf 2.69
2255 Copyright (C) 2012 Free Software Foundation, Inc.
2256 This configure script is free software; the Free Software Foundation
2257 gives unlimited permission to copy, distribute and modify it.
2258 _ACEOF
2259 exit
2262 ## ------------------------ ##
2263 ## Autoconf initialization. ##
2264 ## ------------------------ ##
2266 # ac_fn_c_try_compile LINENO
2267 # --------------------------
2268 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2269 ac_fn_c_try_compile ()
2271 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2272 rm -f conftest.$ac_objext
2273 if { { ac_try="$ac_compile"
2274 case "(($ac_try" in
2275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2276 *) ac_try_echo=$ac_try;;
2277 esac
2278 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2279 $as_echo "$ac_try_echo"; } >&5
2280 (eval "$ac_compile") 2>conftest.err
2281 ac_status=$?
2282 if test -s conftest.err; then
2283 grep -v '^ *+' conftest.err >conftest.er1
2284 cat conftest.er1 >&5
2285 mv -f conftest.er1 conftest.err
2287 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2288 test $ac_status = 0; } && {
2289 test -z "$ac_c_werror_flag" ||
2290 test ! -s conftest.err
2291 } && test -s conftest.$ac_objext; then :
2292 ac_retval=0
2293 else
2294 $as_echo "$as_me: failed program was:" >&5
2295 sed 's/^/| /' conftest.$ac_ext >&5
2297 ac_retval=1
2299 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2300 as_fn_set_status $ac_retval
2302 } # ac_fn_c_try_compile
2304 # ac_fn_cxx_try_compile LINENO
2305 # ----------------------------
2306 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2307 ac_fn_cxx_try_compile ()
2309 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2310 rm -f conftest.$ac_objext
2311 if { { ac_try="$ac_compile"
2312 case "(($ac_try" in
2313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2314 *) ac_try_echo=$ac_try;;
2315 esac
2316 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2317 $as_echo "$ac_try_echo"; } >&5
2318 (eval "$ac_compile") 2>conftest.err
2319 ac_status=$?
2320 if test -s conftest.err; then
2321 grep -v '^ *+' conftest.err >conftest.er1
2322 cat conftest.er1 >&5
2323 mv -f conftest.er1 conftest.err
2325 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2326 test $ac_status = 0; } && {
2327 test -z "$ac_cxx_werror_flag" ||
2328 test ! -s conftest.err
2329 } && test -s conftest.$ac_objext; then :
2330 ac_retval=0
2331 else
2332 $as_echo "$as_me: failed program was:" >&5
2333 sed 's/^/| /' conftest.$ac_ext >&5
2335 ac_retval=1
2337 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2338 as_fn_set_status $ac_retval
2340 } # ac_fn_cxx_try_compile
2342 # ac_fn_c_try_link LINENO
2343 # -----------------------
2344 # Try to link conftest.$ac_ext, and return whether this succeeded.
2345 ac_fn_c_try_link ()
2347 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2348 rm -f conftest.$ac_objext conftest$ac_exeext
2349 if { { ac_try="$ac_link"
2350 case "(($ac_try" in
2351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2352 *) ac_try_echo=$ac_try;;
2353 esac
2354 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2355 $as_echo "$ac_try_echo"; } >&5
2356 (eval "$ac_link") 2>conftest.err
2357 ac_status=$?
2358 if test -s conftest.err; then
2359 grep -v '^ *+' conftest.err >conftest.er1
2360 cat conftest.er1 >&5
2361 mv -f conftest.er1 conftest.err
2363 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2364 test $ac_status = 0; } && {
2365 test -z "$ac_c_werror_flag" ||
2366 test ! -s conftest.err
2367 } && test -s conftest$ac_exeext && {
2368 test "$cross_compiling" = yes ||
2369 test -x conftest$ac_exeext
2370 }; then :
2371 ac_retval=0
2372 else
2373 $as_echo "$as_me: failed program was:" >&5
2374 sed 's/^/| /' conftest.$ac_ext >&5
2376 ac_retval=1
2378 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2379 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2380 # interfere with the next link command; also delete a directory that is
2381 # left behind by Apple's compiler. We do this before executing the actions.
2382 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2383 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2384 as_fn_set_status $ac_retval
2386 } # ac_fn_c_try_link
2388 # ac_fn_c_try_cpp LINENO
2389 # ----------------------
2390 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2391 ac_fn_c_try_cpp ()
2393 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2394 if { { ac_try="$ac_cpp conftest.$ac_ext"
2395 case "(($ac_try" in
2396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2397 *) ac_try_echo=$ac_try;;
2398 esac
2399 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2400 $as_echo "$ac_try_echo"; } >&5
2401 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2402 ac_status=$?
2403 if test -s conftest.err; then
2404 grep -v '^ *+' conftest.err >conftest.er1
2405 cat conftest.er1 >&5
2406 mv -f conftest.er1 conftest.err
2408 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2409 test $ac_status = 0; } > conftest.i && {
2410 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2411 test ! -s conftest.err
2412 }; then :
2413 ac_retval=0
2414 else
2415 $as_echo "$as_me: failed program was:" >&5
2416 sed 's/^/| /' conftest.$ac_ext >&5
2418 ac_retval=1
2420 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2421 as_fn_set_status $ac_retval
2423 } # ac_fn_c_try_cpp
2425 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2426 # -------------------------------------------------------
2427 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2428 # the include files in INCLUDES and setting the cache variable VAR
2429 # accordingly.
2430 ac_fn_c_check_header_mongrel ()
2432 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2433 if eval \${$3+:} false; then :
2434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2435 $as_echo_n "checking for $2... " >&6; }
2436 if eval \${$3+:} false; then :
2437 $as_echo_n "(cached) " >&6
2439 eval ac_res=\$$3
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2441 $as_echo "$ac_res" >&6; }
2442 else
2443 # Is the header compilable?
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2445 $as_echo_n "checking $2 usability... " >&6; }
2446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2447 /* end confdefs.h. */
2449 #include <$2>
2450 _ACEOF
2451 if ac_fn_c_try_compile "$LINENO"; then :
2452 ac_header_compiler=yes
2453 else
2454 ac_header_compiler=no
2456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2458 $as_echo "$ac_header_compiler" >&6; }
2460 # Is the header present?
2461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2462 $as_echo_n "checking $2 presence... " >&6; }
2463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2464 /* end confdefs.h. */
2465 #include <$2>
2466 _ACEOF
2467 if ac_fn_c_try_cpp "$LINENO"; then :
2468 ac_header_preproc=yes
2469 else
2470 ac_header_preproc=no
2472 rm -f conftest.err conftest.i conftest.$ac_ext
2473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2474 $as_echo "$ac_header_preproc" >&6; }
2476 # So? What about this header?
2477 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2478 yes:no: )
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2480 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2481 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2482 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2484 no:yes:* )
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2486 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2488 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2490 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2491 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2492 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2493 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2494 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2495 ( $as_echo "## ------------------------------------ ##
2496 ## Report this to wine-devel@winehq.org ##
2497 ## ------------------------------------ ##"
2498 ) | sed "s/^/$as_me: WARNING: /" >&2
2500 esac
2501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2502 $as_echo_n "checking for $2... " >&6; }
2503 if eval \${$3+:} false; then :
2504 $as_echo_n "(cached) " >&6
2505 else
2506 eval "$3=\$ac_header_compiler"
2508 eval ac_res=\$$3
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2510 $as_echo "$ac_res" >&6; }
2512 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2514 } # ac_fn_c_check_header_mongrel
2516 # ac_fn_c_try_run LINENO
2517 # ----------------------
2518 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2519 # that executables *can* be run.
2520 ac_fn_c_try_run ()
2522 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2523 if { { ac_try="$ac_link"
2524 case "(($ac_try" in
2525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2526 *) ac_try_echo=$ac_try;;
2527 esac
2528 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2529 $as_echo "$ac_try_echo"; } >&5
2530 (eval "$ac_link") 2>&5
2531 ac_status=$?
2532 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2533 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2534 { { case "(($ac_try" in
2535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2536 *) ac_try_echo=$ac_try;;
2537 esac
2538 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2539 $as_echo "$ac_try_echo"; } >&5
2540 (eval "$ac_try") 2>&5
2541 ac_status=$?
2542 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2543 test $ac_status = 0; }; }; then :
2544 ac_retval=0
2545 else
2546 $as_echo "$as_me: program exited with status $ac_status" >&5
2547 $as_echo "$as_me: failed program was:" >&5
2548 sed 's/^/| /' conftest.$ac_ext >&5
2550 ac_retval=$ac_status
2552 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2553 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2554 as_fn_set_status $ac_retval
2556 } # ac_fn_c_try_run
2558 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2559 # -------------------------------------------------------
2560 # Tests whether HEADER exists and can be compiled using the include files in
2561 # INCLUDES, setting the cache variable VAR accordingly.
2562 ac_fn_c_check_header_compile ()
2564 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2566 $as_echo_n "checking for $2... " >&6; }
2567 if eval \${$3+:} false; then :
2568 $as_echo_n "(cached) " >&6
2569 else
2570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2571 /* end confdefs.h. */
2573 #include <$2>
2574 _ACEOF
2575 if ac_fn_c_try_compile "$LINENO"; then :
2576 eval "$3=yes"
2577 else
2578 eval "$3=no"
2580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2582 eval ac_res=\$$3
2583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2584 $as_echo "$ac_res" >&6; }
2585 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2587 } # ac_fn_c_check_header_compile
2589 # ac_fn_c_check_func LINENO FUNC VAR
2590 # ----------------------------------
2591 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2592 ac_fn_c_check_func ()
2594 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2596 $as_echo_n "checking for $2... " >&6; }
2597 if eval \${$3+:} false; then :
2598 $as_echo_n "(cached) " >&6
2599 else
2600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2601 /* end confdefs.h. */
2602 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2603 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2604 #define $2 innocuous_$2
2606 /* System header to define __stub macros and hopefully few prototypes,
2607 which can conflict with char $2 (); below.
2608 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2609 <limits.h> exists even on freestanding compilers. */
2611 #ifdef __STDC__
2612 # include <limits.h>
2613 #else
2614 # include <assert.h>
2615 #endif
2617 #undef $2
2619 /* Override any GCC internal prototype to avoid an error.
2620 Use char because int might match the return type of a GCC
2621 builtin and then its argument prototype would still apply. */
2622 #ifdef __cplusplus
2623 extern "C"
2624 #endif
2625 char $2 ();
2626 /* The GNU C library defines this for functions which it implements
2627 to always fail with ENOSYS. Some functions are actually named
2628 something starting with __ and the normal name is an alias. */
2629 #if defined __stub_$2 || defined __stub___$2
2630 choke me
2631 #endif
2634 main ()
2636 return $2 ();
2638 return 0;
2640 _ACEOF
2641 if ac_fn_c_try_link "$LINENO"; then :
2642 eval "$3=yes"
2643 else
2644 eval "$3=no"
2646 rm -f core conftest.err conftest.$ac_objext \
2647 conftest$ac_exeext conftest.$ac_ext
2649 eval ac_res=\$$3
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2651 $as_echo "$ac_res" >&6; }
2652 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2654 } # ac_fn_c_check_func
2656 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2657 # ----------------------------------------------------
2658 # Tries to find if the field MEMBER exists in type AGGR, after including
2659 # INCLUDES, setting cache variable VAR accordingly.
2660 ac_fn_c_check_member ()
2662 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2664 $as_echo_n "checking for $2.$3... " >&6; }
2665 if eval \${$4+:} false; then :
2666 $as_echo_n "(cached) " >&6
2667 else
2668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2669 /* end confdefs.h. */
2672 main ()
2674 static $2 ac_aggr;
2675 if (ac_aggr.$3)
2676 return 0;
2678 return 0;
2680 _ACEOF
2681 if ac_fn_c_try_compile "$LINENO"; then :
2682 eval "$4=yes"
2683 else
2684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2685 /* end confdefs.h. */
2688 main ()
2690 static $2 ac_aggr;
2691 if (sizeof ac_aggr.$3)
2692 return 0;
2694 return 0;
2696 _ACEOF
2697 if ac_fn_c_try_compile "$LINENO"; then :
2698 eval "$4=yes"
2699 else
2700 eval "$4=no"
2702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2706 eval ac_res=\$$4
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2708 $as_echo "$ac_res" >&6; }
2709 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2711 } # ac_fn_c_check_member
2713 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2714 # -------------------------------------------
2715 # Tests whether TYPE exists after having included INCLUDES, setting cache
2716 # variable VAR accordingly.
2717 ac_fn_c_check_type ()
2719 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2721 $as_echo_n "checking for $2... " >&6; }
2722 if eval \${$3+:} false; then :
2723 $as_echo_n "(cached) " >&6
2724 else
2725 eval "$3=no"
2726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2727 /* end confdefs.h. */
2730 main ()
2732 if (sizeof ($2))
2733 return 0;
2735 return 0;
2737 _ACEOF
2738 if ac_fn_c_try_compile "$LINENO"; then :
2739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2740 /* end confdefs.h. */
2743 main ()
2745 if (sizeof (($2)))
2746 return 0;
2748 return 0;
2750 _ACEOF
2751 if ac_fn_c_try_compile "$LINENO"; then :
2753 else
2754 eval "$3=yes"
2756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2760 eval ac_res=\$$3
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2762 $as_echo "$ac_res" >&6; }
2763 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2765 } # ac_fn_c_check_type
2766 cat >config.log <<_ACEOF
2767 This file contains any messages produced by compilers while
2768 running configure, to aid debugging if configure makes a mistake.
2770 It was created by Wine $as_me 1.7.29, which was
2771 generated by GNU Autoconf 2.69. Invocation command line was
2773 $ $0 $@
2775 _ACEOF
2776 exec 5>>config.log
2778 cat <<_ASUNAME
2779 ## --------- ##
2780 ## Platform. ##
2781 ## --------- ##
2783 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2784 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2785 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2786 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2787 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2789 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2790 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2792 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2793 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2794 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2795 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2796 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2797 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2798 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2800 _ASUNAME
2802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2803 for as_dir in $PATH
2805 IFS=$as_save_IFS
2806 test -z "$as_dir" && as_dir=.
2807 $as_echo "PATH: $as_dir"
2808 done
2809 IFS=$as_save_IFS
2811 } >&5
2813 cat >&5 <<_ACEOF
2816 ## ----------- ##
2817 ## Core tests. ##
2818 ## ----------- ##
2820 _ACEOF
2823 # Keep a trace of the command line.
2824 # Strip out --no-create and --no-recursion so they do not pile up.
2825 # Strip out --silent because we don't want to record it for future runs.
2826 # Also quote any args containing shell meta-characters.
2827 # Make two passes to allow for proper duplicate-argument suppression.
2828 ac_configure_args=
2829 ac_configure_args0=
2830 ac_configure_args1=
2831 ac_must_keep_next=false
2832 for ac_pass in 1 2
2834 for ac_arg
2836 case $ac_arg in
2837 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2838 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2839 | -silent | --silent | --silen | --sile | --sil)
2840 continue ;;
2841 *\'*)
2842 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2843 esac
2844 case $ac_pass in
2845 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2847 as_fn_append ac_configure_args1 " '$ac_arg'"
2848 if test $ac_must_keep_next = true; then
2849 ac_must_keep_next=false # Got value, back to normal.
2850 else
2851 case $ac_arg in
2852 *=* | --config-cache | -C | -disable-* | --disable-* \
2853 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2854 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2855 | -with-* | --with-* | -without-* | --without-* | --x)
2856 case "$ac_configure_args0 " in
2857 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2858 esac
2860 -* ) ac_must_keep_next=true ;;
2861 esac
2863 as_fn_append ac_configure_args " '$ac_arg'"
2865 esac
2866 done
2867 done
2868 { ac_configure_args0=; unset ac_configure_args0;}
2869 { ac_configure_args1=; unset ac_configure_args1;}
2871 # When interrupted or exit'd, cleanup temporary files, and complete
2872 # config.log. We remove comments because anyway the quotes in there
2873 # would cause problems or look ugly.
2874 # WARNING: Use '\'' to represent an apostrophe within the trap.
2875 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2876 trap 'exit_status=$?
2877 # Save into config.log some information that might help in debugging.
2879 echo
2881 $as_echo "## ---------------- ##
2882 ## Cache variables. ##
2883 ## ---------------- ##"
2884 echo
2885 # The following way of writing the cache mishandles newlines in values,
2887 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2888 eval ac_val=\$$ac_var
2889 case $ac_val in #(
2890 *${as_nl}*)
2891 case $ac_var in #(
2892 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2893 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2894 esac
2895 case $ac_var in #(
2896 _ | IFS | as_nl) ;; #(
2897 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2898 *) { eval $ac_var=; unset $ac_var;} ;;
2899 esac ;;
2900 esac
2901 done
2902 (set) 2>&1 |
2903 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2904 *${as_nl}ac_space=\ *)
2905 sed -n \
2906 "s/'\''/'\''\\\\'\'''\''/g;
2907 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2908 ;; #(
2910 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2912 esac |
2913 sort
2915 echo
2917 $as_echo "## ----------------- ##
2918 ## Output variables. ##
2919 ## ----------------- ##"
2920 echo
2921 for ac_var in $ac_subst_vars
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
2931 if test -n "$ac_subst_files"; then
2932 $as_echo "## ------------------- ##
2933 ## File substitutions. ##
2934 ## ------------------- ##"
2935 echo
2936 for ac_var in $ac_subst_files
2938 eval ac_val=\$$ac_var
2939 case $ac_val in
2940 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2941 esac
2942 $as_echo "$ac_var='\''$ac_val'\''"
2943 done | sort
2944 echo
2947 if test -s confdefs.h; then
2948 $as_echo "## ----------- ##
2949 ## confdefs.h. ##
2950 ## ----------- ##"
2951 echo
2952 cat confdefs.h
2953 echo
2955 test "$ac_signal" != 0 &&
2956 $as_echo "$as_me: caught signal $ac_signal"
2957 $as_echo "$as_me: exit $exit_status"
2958 } >&5
2959 rm -f core *.core core.conftest.* &&
2960 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2961 exit $exit_status
2963 for ac_signal in 1 2 13 15; do
2964 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2965 done
2966 ac_signal=0
2968 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2969 rm -f -r conftest* confdefs.h
2971 $as_echo "/* confdefs.h */" > confdefs.h
2973 # Predefined preprocessor variables.
2975 cat >>confdefs.h <<_ACEOF
2976 #define PACKAGE_NAME "$PACKAGE_NAME"
2977 _ACEOF
2979 cat >>confdefs.h <<_ACEOF
2980 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2981 _ACEOF
2983 cat >>confdefs.h <<_ACEOF
2984 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2985 _ACEOF
2987 cat >>confdefs.h <<_ACEOF
2988 #define PACKAGE_STRING "$PACKAGE_STRING"
2989 _ACEOF
2991 cat >>confdefs.h <<_ACEOF
2992 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2993 _ACEOF
2995 cat >>confdefs.h <<_ACEOF
2996 #define PACKAGE_URL "$PACKAGE_URL"
2997 _ACEOF
3000 # Let the site file select an alternate cache file if it wants to.
3001 # Prefer an explicitly selected file to automatically selected ones.
3002 ac_site_file1=NONE
3003 ac_site_file2=NONE
3004 if test -n "$CONFIG_SITE"; then
3005 # We do not want a PATH search for config.site.
3006 case $CONFIG_SITE in #((
3007 -*) ac_site_file1=./$CONFIG_SITE;;
3008 */*) ac_site_file1=$CONFIG_SITE;;
3009 *) ac_site_file1=./$CONFIG_SITE;;
3010 esac
3011 elif test "x$prefix" != xNONE; then
3012 ac_site_file1=$prefix/share/config.site
3013 ac_site_file2=$prefix/etc/config.site
3014 else
3015 ac_site_file1=$ac_default_prefix/share/config.site
3016 ac_site_file2=$ac_default_prefix/etc/config.site
3018 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3020 test "x$ac_site_file" = xNONE && continue
3021 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3023 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3024 sed 's/^/| /' "$ac_site_file" >&5
3025 . "$ac_site_file" \
3026 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3027 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3028 as_fn_error $? "failed to load site script $ac_site_file
3029 See \`config.log' for more details" "$LINENO" 5; }
3031 done
3033 if test -r "$cache_file"; then
3034 # Some versions of bash will fail to source /dev/null (special files
3035 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3036 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3038 $as_echo "$as_me: loading cache $cache_file" >&6;}
3039 case $cache_file in
3040 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3041 *) . "./$cache_file";;
3042 esac
3044 else
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3046 $as_echo "$as_me: creating cache $cache_file" >&6;}
3047 >$cache_file
3050 # Check that the precious variables saved in the cache have kept the same
3051 # value.
3052 ac_cache_corrupted=false
3053 for ac_var in $ac_precious_vars; do
3054 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3055 eval ac_new_set=\$ac_env_${ac_var}_set
3056 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3057 eval ac_new_val=\$ac_env_${ac_var}_value
3058 case $ac_old_set,$ac_new_set in
3059 set,)
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3061 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3062 ac_cache_corrupted=: ;;
3063 ,set)
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3065 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3066 ac_cache_corrupted=: ;;
3067 ,);;
3069 if test "x$ac_old_val" != "x$ac_new_val"; then
3070 # differences in whitespace do not lead to failure.
3071 ac_old_val_w=`echo x $ac_old_val`
3072 ac_new_val_w=`echo x $ac_new_val`
3073 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3075 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3076 ac_cache_corrupted=:
3077 else
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3079 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3080 eval $ac_var=\$ac_old_val
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3083 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3085 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3086 fi;;
3087 esac
3088 # Pass precious variables to config.status.
3089 if test "$ac_new_set" = set; then
3090 case $ac_new_val in
3091 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3092 *) ac_arg=$ac_var=$ac_new_val ;;
3093 esac
3094 case " $ac_configure_args " in
3095 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3096 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3097 esac
3099 done
3100 if $ac_cache_corrupted; then
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3102 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3104 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3105 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3107 ## -------------------- ##
3108 ## Main body of script. ##
3109 ## -------------------- ##
3111 ac_ext=c
3112 ac_cpp='$CPP $CPPFLAGS'
3113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3119 ac_config_headers="$ac_config_headers include/config.h"
3121 ac_aux_dir=
3122 for ac_dir in tools "$srcdir"/tools; do
3123 if test -f "$ac_dir/install-sh"; then
3124 ac_aux_dir=$ac_dir
3125 ac_install_sh="$ac_aux_dir/install-sh -c"
3126 break
3127 elif test -f "$ac_dir/install.sh"; then
3128 ac_aux_dir=$ac_dir
3129 ac_install_sh="$ac_aux_dir/install.sh -c"
3130 break
3131 elif test -f "$ac_dir/shtool"; then
3132 ac_aux_dir=$ac_dir
3133 ac_install_sh="$ac_aux_dir/shtool install -c"
3134 break
3136 done
3137 if test -z "$ac_aux_dir"; then
3138 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3141 # These three variables are undocumented and unsupported,
3142 # and are intended to be withdrawn in a future Autoconf release.
3143 # They can cause serious problems if a builder's source tree is in a directory
3144 # whose full name contains unusual characters.
3145 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3146 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3147 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3151 libwine_version="1.0"
3155 # Check whether --enable-win16 was given.
3156 if test "${enable_win16+set}" = set; then :
3157 enableval=$enable_win16;
3160 # Check whether --enable-win64 was given.
3161 if test "${enable_win64+set}" = set; then :
3162 enableval=$enable_win64;
3165 # Check whether --enable-tests was given.
3166 if test "${enable_tests+set}" = set; then :
3167 enableval=$enable_tests;
3170 # Check whether --enable-maintainer-mode was given.
3171 if test "${enable_maintainer_mode+set}" = set; then :
3172 enableval=$enable_maintainer_mode;
3177 # Check whether --with-alsa was given.
3178 if test "${with_alsa+set}" = set; then :
3179 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3183 # Check whether --with-capi was given.
3184 if test "${with_capi+set}" = set; then :
3185 withval=$with_capi;
3189 # Check whether --with-cms was given.
3190 if test "${with_cms+set}" = set; then :
3191 withval=$with_cms;
3195 # Check whether --with-coreaudio was given.
3196 if test "${with_coreaudio+set}" = set; then :
3197 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3201 # Check whether --with-cups was given.
3202 if test "${with_cups+set}" = set; then :
3203 withval=$with_cups;
3207 # Check whether --with-curses was given.
3208 if test "${with_curses+set}" = set; then :
3209 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3213 # Check whether --with-dbus was given.
3214 if test "${with_dbus+set}" = set; then :
3215 withval=$with_dbus;
3219 # Check whether --with-fontconfig was given.
3220 if test "${with_fontconfig+set}" = set; then :
3221 withval=$with_fontconfig;
3225 # Check whether --with-freetype was given.
3226 if test "${with_freetype+set}" = set; then :
3227 withval=$with_freetype;
3231 # Check whether --with-gettext was given.
3232 if test "${with_gettext+set}" = set; then :
3233 withval=$with_gettext;
3237 # Check whether --with-gettextpo was given.
3238 if test "${with_gettextpo+set}" = set; then :
3239 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3243 # Check whether --with-gphoto was given.
3244 if test "${with_gphoto+set}" = set; then :
3245 withval=$with_gphoto;
3249 # Check whether --with-glu was given.
3250 if test "${with_glu+set}" = set; then :
3251 withval=$with_glu;
3255 # Check whether --with-gnutls was given.
3256 if test "${with_gnutls+set}" = set; then :
3257 withval=$with_gnutls;
3261 # Check whether --with-gsm was given.
3262 if test "${with_gsm+set}" = set; then :
3263 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3267 # Check whether --with-gstreamer was given.
3268 if test "${with_gstreamer+set}" = set; then :
3269 withval=$with_gstreamer;
3273 # Check whether --with-hal was given.
3274 if test "${with_hal+set}" = set; then :
3275 withval=$with_hal;
3279 # Check whether --with-jpeg was given.
3280 if test "${with_jpeg+set}" = set; then :
3281 withval=$with_jpeg;
3285 # Check whether --with-ldap was given.
3286 if test "${with_ldap+set}" = set; then :
3287 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3291 # Check whether --with-mpg123 was given.
3292 if test "${with_mpg123+set}" = set; then :
3293 withval=$with_mpg123;
3297 # Check whether --with-netapi was given.
3298 if test "${with_netapi+set}" = set; then :
3299 withval=$with_netapi;
3303 # Check whether --with-openal was given.
3304 if test "${with_openal+set}" = set; then :
3305 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3309 # Check whether --with-opencl was given.
3310 if test "${with_opencl+set}" = set; then :
3311 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3315 # Check whether --with-opengl was given.
3316 if test "${with_opengl+set}" = set; then :
3317 withval=$with_opengl;
3321 # Check whether --with-osmesa was given.
3322 if test "${with_osmesa+set}" = set; then :
3323 withval=$with_osmesa;
3327 # Check whether --with-oss was given.
3328 if test "${with_oss+set}" = set; then :
3329 withval=$with_oss;
3333 # Check whether --with-pcap was given.
3334 if test "${with_pcap+set}" = set; then :
3335 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3339 # Check whether --with-png was given.
3340 if test "${with_png+set}" = set; then :
3341 withval=$with_png;
3345 # Check whether --with-pthread was given.
3346 if test "${with_pthread+set}" = set; then :
3347 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3351 # Check whether --with-sane was given.
3352 if test "${with_sane+set}" = set; then :
3353 withval=$with_sane;
3357 # Check whether --with-tiff was given.
3358 if test "${with_tiff+set}" = set; then :
3359 withval=$with_tiff;
3363 # Check whether --with-v4l was given.
3364 if test "${with_v4l+set}" = set; then :
3365 withval=$with_v4l;
3369 # Check whether --with-xcomposite was given.
3370 if test "${with_xcomposite+set}" = set; then :
3371 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3375 # Check whether --with-xcursor was given.
3376 if test "${with_xcursor+set}" = set; then :
3377 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3381 # Check whether --with-xinerama was given.
3382 if test "${with_xinerama+set}" = set; then :
3383 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3387 # Check whether --with-xinput was given.
3388 if test "${with_xinput+set}" = set; then :
3389 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3393 # Check whether --with-xinput2 was given.
3394 if test "${with_xinput2+set}" = set; then :
3395 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3399 # Check whether --with-xml was given.
3400 if test "${with_xml+set}" = set; then :
3401 withval=$with_xml;
3405 # Check whether --with-xrandr was given.
3406 if test "${with_xrandr+set}" = set; then :
3407 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3411 # Check whether --with-xrender was given.
3412 if test "${with_xrender+set}" = set; then :
3413 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3417 # Check whether --with-xshape was given.
3418 if test "${with_xshape+set}" = set; then :
3419 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3423 # Check whether --with-xshm was given.
3424 if test "${with_xshm+set}" = set; then :
3425 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3429 # Check whether --with-xslt was given.
3430 if test "${with_xslt+set}" = set; then :
3431 withval=$with_xslt;
3435 # Check whether --with-xxf86vm was given.
3436 if test "${with_xxf86vm+set}" = set; then :
3437 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
3441 # Check whether --with-zlib was given.
3442 if test "${with_zlib+set}" = set; then :
3443 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3448 # Check whether --with-wine-tools was given.
3449 if test "${with_wine_tools+set}" = set; then :
3450 withval=$with_wine_tools;
3454 # Check whether --with-wine64 was given.
3455 if test "${with_wine64+set}" = set; then :
3456 withval=$with_wine64;
3460 # Make sure we can run config.sub.
3461 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3462 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3465 $as_echo_n "checking build system type... " >&6; }
3466 if ${ac_cv_build+:} false; then :
3467 $as_echo_n "(cached) " >&6
3468 else
3469 ac_build_alias=$build_alias
3470 test "x$ac_build_alias" = x &&
3471 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3472 test "x$ac_build_alias" = x &&
3473 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3474 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3475 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3479 $as_echo "$ac_cv_build" >&6; }
3480 case $ac_cv_build in
3481 *-*-*) ;;
3482 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3483 esac
3484 build=$ac_cv_build
3485 ac_save_IFS=$IFS; IFS='-'
3486 set x $ac_cv_build
3487 shift
3488 build_cpu=$1
3489 build_vendor=$2
3490 shift; shift
3491 # Remember, the first character of IFS is used to create $*,
3492 # except with old shells:
3493 build_os=$*
3494 IFS=$ac_save_IFS
3495 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3499 $as_echo_n "checking host system type... " >&6; }
3500 if ${ac_cv_host+:} false; then :
3501 $as_echo_n "(cached) " >&6
3502 else
3503 if test "x$host_alias" = x; then
3504 ac_cv_host=$ac_cv_build
3505 else
3506 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3507 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3512 $as_echo "$ac_cv_host" >&6; }
3513 case $ac_cv_host in
3514 *-*-*) ;;
3515 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3516 esac
3517 host=$ac_cv_host
3518 ac_save_IFS=$IFS; IFS='-'
3519 set x $ac_cv_host
3520 shift
3521 host_cpu=$1
3522 host_vendor=$2
3523 shift; shift
3524 # Remember, the first character of IFS is used to create $*,
3525 # except with old shells:
3526 host_os=$*
3527 IFS=$ac_save_IFS
3528 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3532 case "$srcdir" in
3533 .) ;;
3534 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3535 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3536 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3537 fi ;;
3538 esac
3541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3542 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3543 set x ${MAKE-make}
3544 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3545 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3546 $as_echo_n "(cached) " >&6
3547 else
3548 cat >conftest.make <<\_ACEOF
3549 SHELL = /bin/sh
3550 all:
3551 @echo '@@@%%%=$(MAKE)=@@@%%%'
3552 _ACEOF
3553 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3554 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3555 *@@@%%%=?*=@@@%%%*)
3556 eval ac_cv_prog_make_${ac_make}_set=yes;;
3558 eval ac_cv_prog_make_${ac_make}_set=no;;
3559 esac
3560 rm -f conftest.make
3562 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3564 $as_echo "yes" >&6; }
3565 SET_MAKE=
3566 else
3567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3568 $as_echo "no" >&6; }
3569 SET_MAKE="MAKE=${MAKE-make}"
3572 ac_ext=c
3573 ac_cpp='$CPP $CPPFLAGS'
3574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3577 if test -n "$ac_tool_prefix"; then
3578 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3579 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3581 $as_echo_n "checking for $ac_word... " >&6; }
3582 if ${ac_cv_prog_CC+:} false; then :
3583 $as_echo_n "(cached) " >&6
3584 else
3585 if test -n "$CC"; then
3586 ac_cv_prog_CC="$CC" # Let the user override the test.
3587 else
3588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3589 for as_dir in $PATH
3591 IFS=$as_save_IFS
3592 test -z "$as_dir" && as_dir=.
3593 for ac_exec_ext in '' $ac_executable_extensions; do
3594 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3595 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3596 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3597 break 2
3599 done
3600 done
3601 IFS=$as_save_IFS
3605 CC=$ac_cv_prog_CC
3606 if test -n "$CC"; then
3607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3608 $as_echo "$CC" >&6; }
3609 else
3610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3611 $as_echo "no" >&6; }
3616 if test -z "$ac_cv_prog_CC"; then
3617 ac_ct_CC=$CC
3618 # Extract the first word of "gcc", so it can be a program name with args.
3619 set dummy gcc; ac_word=$2
3620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3621 $as_echo_n "checking for $ac_word... " >&6; }
3622 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3623 $as_echo_n "(cached) " >&6
3624 else
3625 if test -n "$ac_ct_CC"; then
3626 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3627 else
3628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3629 for as_dir in $PATH
3631 IFS=$as_save_IFS
3632 test -z "$as_dir" && as_dir=.
3633 for ac_exec_ext in '' $ac_executable_extensions; do
3634 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3635 ac_cv_prog_ac_ct_CC="gcc"
3636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3637 break 2
3639 done
3640 done
3641 IFS=$as_save_IFS
3645 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3646 if test -n "$ac_ct_CC"; then
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3648 $as_echo "$ac_ct_CC" >&6; }
3649 else
3650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3651 $as_echo "no" >&6; }
3654 if test "x$ac_ct_CC" = x; then
3655 CC=""
3656 else
3657 case $cross_compiling:$ac_tool_warned in
3658 yes:)
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3660 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3661 ac_tool_warned=yes ;;
3662 esac
3663 CC=$ac_ct_CC
3665 else
3666 CC="$ac_cv_prog_CC"
3669 if test -z "$CC"; then
3670 if test -n "$ac_tool_prefix"; then
3671 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3672 set dummy ${ac_tool_prefix}cc; ac_word=$2
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3674 $as_echo_n "checking for $ac_word... " >&6; }
3675 if ${ac_cv_prog_CC+:} false; then :
3676 $as_echo_n "(cached) " >&6
3677 else
3678 if test -n "$CC"; then
3679 ac_cv_prog_CC="$CC" # Let the user override the test.
3680 else
3681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3682 for as_dir in $PATH
3684 IFS=$as_save_IFS
3685 test -z "$as_dir" && as_dir=.
3686 for ac_exec_ext in '' $ac_executable_extensions; do
3687 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3688 ac_cv_prog_CC="${ac_tool_prefix}cc"
3689 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3690 break 2
3692 done
3693 done
3694 IFS=$as_save_IFS
3698 CC=$ac_cv_prog_CC
3699 if test -n "$CC"; then
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3701 $as_echo "$CC" >&6; }
3702 else
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3704 $as_echo "no" >&6; }
3710 if test -z "$CC"; then
3711 # Extract the first word of "cc", so it can be a program name with args.
3712 set dummy cc; ac_word=$2
3713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3714 $as_echo_n "checking for $ac_word... " >&6; }
3715 if ${ac_cv_prog_CC+:} false; then :
3716 $as_echo_n "(cached) " >&6
3717 else
3718 if test -n "$CC"; then
3719 ac_cv_prog_CC="$CC" # Let the user override the test.
3720 else
3721 ac_prog_rejected=no
3722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3723 for as_dir in $PATH
3725 IFS=$as_save_IFS
3726 test -z "$as_dir" && as_dir=.
3727 for ac_exec_ext in '' $ac_executable_extensions; do
3728 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3729 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3730 ac_prog_rejected=yes
3731 continue
3733 ac_cv_prog_CC="cc"
3734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3735 break 2
3737 done
3738 done
3739 IFS=$as_save_IFS
3741 if test $ac_prog_rejected = yes; then
3742 # We found a bogon in the path, so make sure we never use it.
3743 set dummy $ac_cv_prog_CC
3744 shift
3745 if test $# != 0; then
3746 # We chose a different compiler from the bogus one.
3747 # However, it has the same basename, so the bogon will be chosen
3748 # first if we set CC to just the basename; use the full file name.
3749 shift
3750 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3755 CC=$ac_cv_prog_CC
3756 if test -n "$CC"; then
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3758 $as_echo "$CC" >&6; }
3759 else
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3761 $as_echo "no" >&6; }
3766 if test -z "$CC"; then
3767 if test -n "$ac_tool_prefix"; then
3768 for ac_prog in cl.exe
3770 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3771 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3773 $as_echo_n "checking for $ac_word... " >&6; }
3774 if ${ac_cv_prog_CC+:} false; then :
3775 $as_echo_n "(cached) " >&6
3776 else
3777 if test -n "$CC"; then
3778 ac_cv_prog_CC="$CC" # Let the user override the test.
3779 else
3780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3781 for as_dir in $PATH
3783 IFS=$as_save_IFS
3784 test -z "$as_dir" && as_dir=.
3785 for ac_exec_ext in '' $ac_executable_extensions; do
3786 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3787 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3788 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3789 break 2
3791 done
3792 done
3793 IFS=$as_save_IFS
3797 CC=$ac_cv_prog_CC
3798 if test -n "$CC"; then
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3800 $as_echo "$CC" >&6; }
3801 else
3802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3803 $as_echo "no" >&6; }
3807 test -n "$CC" && break
3808 done
3810 if test -z "$CC"; then
3811 ac_ct_CC=$CC
3812 for ac_prog in cl.exe
3814 # Extract the first word of "$ac_prog", so it can be a program name with args.
3815 set dummy $ac_prog; ac_word=$2
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3817 $as_echo_n "checking for $ac_word... " >&6; }
3818 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3819 $as_echo_n "(cached) " >&6
3820 else
3821 if test -n "$ac_ct_CC"; then
3822 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3823 else
3824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3825 for as_dir in $PATH
3827 IFS=$as_save_IFS
3828 test -z "$as_dir" && as_dir=.
3829 for ac_exec_ext in '' $ac_executable_extensions; do
3830 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3831 ac_cv_prog_ac_ct_CC="$ac_prog"
3832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3833 break 2
3835 done
3836 done
3837 IFS=$as_save_IFS
3841 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3842 if test -n "$ac_ct_CC"; then
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3844 $as_echo "$ac_ct_CC" >&6; }
3845 else
3846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3847 $as_echo "no" >&6; }
3851 test -n "$ac_ct_CC" && break
3852 done
3854 if test "x$ac_ct_CC" = x; then
3855 CC=""
3856 else
3857 case $cross_compiling:$ac_tool_warned in
3858 yes:)
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3860 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3861 ac_tool_warned=yes ;;
3862 esac
3863 CC=$ac_ct_CC
3870 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3871 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3872 as_fn_error $? "no acceptable C compiler found in \$PATH
3873 See \`config.log' for more details" "$LINENO" 5; }
3875 # Provide some information about the compiler.
3876 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3877 set X $ac_compile
3878 ac_compiler=$2
3879 for ac_option in --version -v -V -qversion; do
3880 { { ac_try="$ac_compiler $ac_option >&5"
3881 case "(($ac_try" in
3882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3883 *) ac_try_echo=$ac_try;;
3884 esac
3885 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3886 $as_echo "$ac_try_echo"; } >&5
3887 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3888 ac_status=$?
3889 if test -s conftest.err; then
3890 sed '10a\
3891 ... rest of stderr output deleted ...
3892 10q' conftest.err >conftest.er1
3893 cat conftest.er1 >&5
3895 rm -f conftest.er1 conftest.err
3896 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3897 test $ac_status = 0; }
3898 done
3900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3901 /* end confdefs.h. */
3904 main ()
3908 return 0;
3910 _ACEOF
3911 ac_clean_files_save=$ac_clean_files
3912 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3913 # Try to create an executable without -o first, disregard a.out.
3914 # It will help us diagnose broken compilers, and finding out an intuition
3915 # of exeext.
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3917 $as_echo_n "checking whether the C compiler works... " >&6; }
3918 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3920 # The possible output files:
3921 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3923 ac_rmfiles=
3924 for ac_file in $ac_files
3926 case $ac_file in
3927 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3928 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3929 esac
3930 done
3931 rm -f $ac_rmfiles
3933 if { { ac_try="$ac_link_default"
3934 case "(($ac_try" in
3935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3936 *) ac_try_echo=$ac_try;;
3937 esac
3938 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3939 $as_echo "$ac_try_echo"; } >&5
3940 (eval "$ac_link_default") 2>&5
3941 ac_status=$?
3942 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3943 test $ac_status = 0; }; then :
3944 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3945 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3946 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3947 # so that the user can short-circuit this test for compilers unknown to
3948 # Autoconf.
3949 for ac_file in $ac_files ''
3951 test -f "$ac_file" || continue
3952 case $ac_file in
3953 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3955 [ab].out )
3956 # We found the default executable, but exeext='' is most
3957 # certainly right.
3958 break;;
3959 *.* )
3960 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3961 then :; else
3962 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3964 # We set ac_cv_exeext here because the later test for it is not
3965 # safe: cross compilers may not add the suffix if given an `-o'
3966 # argument, so we may need to know it at that point already.
3967 # Even if this section looks crufty: it has the advantage of
3968 # actually working.
3969 break;;
3971 break;;
3972 esac
3973 done
3974 test "$ac_cv_exeext" = no && ac_cv_exeext=
3976 else
3977 ac_file=''
3979 if test -z "$ac_file"; then :
3980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3981 $as_echo "no" >&6; }
3982 $as_echo "$as_me: failed program was:" >&5
3983 sed 's/^/| /' conftest.$ac_ext >&5
3985 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3986 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3987 as_fn_error 77 "C compiler cannot create executables
3988 See \`config.log' for more details" "$LINENO" 5; }
3989 else
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3991 $as_echo "yes" >&6; }
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3994 $as_echo_n "checking for C compiler default output file name... " >&6; }
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3996 $as_echo "$ac_file" >&6; }
3997 ac_exeext=$ac_cv_exeext
3999 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4000 ac_clean_files=$ac_clean_files_save
4001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4002 $as_echo_n "checking for suffix of executables... " >&6; }
4003 if { { ac_try="$ac_link"
4004 case "(($ac_try" in
4005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4006 *) ac_try_echo=$ac_try;;
4007 esac
4008 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4009 $as_echo "$ac_try_echo"; } >&5
4010 (eval "$ac_link") 2>&5
4011 ac_status=$?
4012 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4013 test $ac_status = 0; }; then :
4014 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4015 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4016 # work properly (i.e., refer to `conftest.exe'), while it won't with
4017 # `rm'.
4018 for ac_file in conftest.exe conftest conftest.*; do
4019 test -f "$ac_file" || continue
4020 case $ac_file in
4021 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4022 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4023 break;;
4024 * ) break;;
4025 esac
4026 done
4027 else
4028 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4029 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4030 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4031 See \`config.log' for more details" "$LINENO" 5; }
4033 rm -f conftest conftest$ac_cv_exeext
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4035 $as_echo "$ac_cv_exeext" >&6; }
4037 rm -f conftest.$ac_ext
4038 EXEEXT=$ac_cv_exeext
4039 ac_exeext=$EXEEXT
4040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4041 /* end confdefs.h. */
4042 #include <stdio.h>
4044 main ()
4046 FILE *f = fopen ("conftest.out", "w");
4047 return ferror (f) || fclose (f) != 0;
4050 return 0;
4052 _ACEOF
4053 ac_clean_files="$ac_clean_files conftest.out"
4054 # Check that the compiler produces executables we can run. If not, either
4055 # the compiler is broken, or we cross compile.
4056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4057 $as_echo_n "checking whether we are cross compiling... " >&6; }
4058 if test "$cross_compiling" != yes; then
4059 { { ac_try="$ac_link"
4060 case "(($ac_try" in
4061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4062 *) ac_try_echo=$ac_try;;
4063 esac
4064 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4065 $as_echo "$ac_try_echo"; } >&5
4066 (eval "$ac_link") 2>&5
4067 ac_status=$?
4068 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4069 test $ac_status = 0; }
4070 if { ac_try='./conftest$ac_cv_exeext'
4071 { { case "(($ac_try" in
4072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4073 *) ac_try_echo=$ac_try;;
4074 esac
4075 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4076 $as_echo "$ac_try_echo"; } >&5
4077 (eval "$ac_try") 2>&5
4078 ac_status=$?
4079 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4080 test $ac_status = 0; }; }; then
4081 cross_compiling=no
4082 else
4083 if test "$cross_compiling" = maybe; then
4084 cross_compiling=yes
4085 else
4086 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4087 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4088 as_fn_error $? "cannot run C compiled programs.
4089 If you meant to cross compile, use \`--host'.
4090 See \`config.log' for more details" "$LINENO" 5; }
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4095 $as_echo "$cross_compiling" >&6; }
4097 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4098 ac_clean_files=$ac_clean_files_save
4099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4100 $as_echo_n "checking for suffix of object files... " >&6; }
4101 if ${ac_cv_objext+:} false; then :
4102 $as_echo_n "(cached) " >&6
4103 else
4104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4105 /* end confdefs.h. */
4108 main ()
4112 return 0;
4114 _ACEOF
4115 rm -f conftest.o conftest.obj
4116 if { { ac_try="$ac_compile"
4117 case "(($ac_try" in
4118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4119 *) ac_try_echo=$ac_try;;
4120 esac
4121 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4122 $as_echo "$ac_try_echo"; } >&5
4123 (eval "$ac_compile") 2>&5
4124 ac_status=$?
4125 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4126 test $ac_status = 0; }; then :
4127 for ac_file in conftest.o conftest.obj conftest.*; do
4128 test -f "$ac_file" || continue;
4129 case $ac_file in
4130 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4131 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4132 break;;
4133 esac
4134 done
4135 else
4136 $as_echo "$as_me: failed program was:" >&5
4137 sed 's/^/| /' conftest.$ac_ext >&5
4139 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4140 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4141 as_fn_error $? "cannot compute suffix of object files: cannot compile
4142 See \`config.log' for more details" "$LINENO" 5; }
4144 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4147 $as_echo "$ac_cv_objext" >&6; }
4148 OBJEXT=$ac_cv_objext
4149 ac_objext=$OBJEXT
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4151 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4152 if ${ac_cv_c_compiler_gnu+:} false; then :
4153 $as_echo_n "(cached) " >&6
4154 else
4155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4156 /* end confdefs.h. */
4159 main ()
4161 #ifndef __GNUC__
4162 choke me
4163 #endif
4166 return 0;
4168 _ACEOF
4169 if ac_fn_c_try_compile "$LINENO"; then :
4170 ac_compiler_gnu=yes
4171 else
4172 ac_compiler_gnu=no
4174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4175 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4179 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4180 if test $ac_compiler_gnu = yes; then
4181 GCC=yes
4182 else
4183 GCC=
4185 ac_test_CFLAGS=${CFLAGS+set}
4186 ac_save_CFLAGS=$CFLAGS
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4188 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4189 if ${ac_cv_prog_cc_g+:} false; then :
4190 $as_echo_n "(cached) " >&6
4191 else
4192 ac_save_c_werror_flag=$ac_c_werror_flag
4193 ac_c_werror_flag=yes
4194 ac_cv_prog_cc_g=no
4195 CFLAGS="-g"
4196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4197 /* end confdefs.h. */
4200 main ()
4204 return 0;
4206 _ACEOF
4207 if ac_fn_c_try_compile "$LINENO"; then :
4208 ac_cv_prog_cc_g=yes
4209 else
4210 CFLAGS=""
4211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4212 /* end confdefs.h. */
4215 main ()
4219 return 0;
4221 _ACEOF
4222 if ac_fn_c_try_compile "$LINENO"; then :
4224 else
4225 ac_c_werror_flag=$ac_save_c_werror_flag
4226 CFLAGS="-g"
4227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4228 /* end confdefs.h. */
4231 main ()
4235 return 0;
4237 _ACEOF
4238 if ac_fn_c_try_compile "$LINENO"; then :
4239 ac_cv_prog_cc_g=yes
4241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4246 ac_c_werror_flag=$ac_save_c_werror_flag
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4249 $as_echo "$ac_cv_prog_cc_g" >&6; }
4250 if test "$ac_test_CFLAGS" = set; then
4251 CFLAGS=$ac_save_CFLAGS
4252 elif test $ac_cv_prog_cc_g = yes; then
4253 if test "$GCC" = yes; then
4254 CFLAGS="-g -O2"
4255 else
4256 CFLAGS="-g"
4258 else
4259 if test "$GCC" = yes; then
4260 CFLAGS="-O2"
4261 else
4262 CFLAGS=
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4266 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4267 if ${ac_cv_prog_cc_c89+:} false; then :
4268 $as_echo_n "(cached) " >&6
4269 else
4270 ac_cv_prog_cc_c89=no
4271 ac_save_CC=$CC
4272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4273 /* end confdefs.h. */
4274 #include <stdarg.h>
4275 #include <stdio.h>
4276 struct stat;
4277 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4278 struct buf { int x; };
4279 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4280 static char *e (p, i)
4281 char **p;
4282 int i;
4284 return p[i];
4286 static char *f (char * (*g) (char **, int), char **p, ...)
4288 char *s;
4289 va_list v;
4290 va_start (v,p);
4291 s = g (p, va_arg (v,int));
4292 va_end (v);
4293 return s;
4296 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4297 function prototypes and stuff, but not '\xHH' hex character constants.
4298 These don't provoke an error unfortunately, instead are silently treated
4299 as 'x'. The following induces an error, until -std is added to get
4300 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4301 array size at least. It's necessary to write '\x00'==0 to get something
4302 that's true only with -std. */
4303 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4305 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4306 inside strings and character constants. */
4307 #define FOO(x) 'x'
4308 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4310 int test (int i, double x);
4311 struct s1 {int (*f) (int a);};
4312 struct s2 {int (*f) (double a);};
4313 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4314 int argc;
4315 char **argv;
4317 main ()
4319 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4321 return 0;
4323 _ACEOF
4324 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4325 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4327 CC="$ac_save_CC $ac_arg"
4328 if ac_fn_c_try_compile "$LINENO"; then :
4329 ac_cv_prog_cc_c89=$ac_arg
4331 rm -f core conftest.err conftest.$ac_objext
4332 test "x$ac_cv_prog_cc_c89" != "xno" && break
4333 done
4334 rm -f conftest.$ac_ext
4335 CC=$ac_save_CC
4338 # AC_CACHE_VAL
4339 case "x$ac_cv_prog_cc_c89" in
4341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4342 $as_echo "none needed" >&6; } ;;
4343 xno)
4344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4345 $as_echo "unsupported" >&6; } ;;
4347 CC="$CC $ac_cv_prog_cc_c89"
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4349 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4350 esac
4351 if test "x$ac_cv_prog_cc_c89" != xno; then :
4355 ac_ext=c
4356 ac_cpp='$CPP $CPPFLAGS'
4357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4361 ac_ext=cpp
4362 ac_cpp='$CXXCPP $CPPFLAGS'
4363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4366 if test -z "$CXX"; then
4367 if test -n "$CCC"; then
4368 CXX=$CCC
4369 else
4370 if test -n "$ac_tool_prefix"; then
4371 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4373 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4374 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4376 $as_echo_n "checking for $ac_word... " >&6; }
4377 if ${ac_cv_prog_CXX+:} false; then :
4378 $as_echo_n "(cached) " >&6
4379 else
4380 if test -n "$CXX"; then
4381 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4382 else
4383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4384 for as_dir in $PATH
4386 IFS=$as_save_IFS
4387 test -z "$as_dir" && as_dir=.
4388 for ac_exec_ext in '' $ac_executable_extensions; do
4389 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4390 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4391 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4392 break 2
4394 done
4395 done
4396 IFS=$as_save_IFS
4400 CXX=$ac_cv_prog_CXX
4401 if test -n "$CXX"; then
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4403 $as_echo "$CXX" >&6; }
4404 else
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4406 $as_echo "no" >&6; }
4410 test -n "$CXX" && break
4411 done
4413 if test -z "$CXX"; then
4414 ac_ct_CXX=$CXX
4415 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4417 # Extract the first word of "$ac_prog", so it can be a program name with args.
4418 set dummy $ac_prog; ac_word=$2
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4420 $as_echo_n "checking for $ac_word... " >&6; }
4421 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4422 $as_echo_n "(cached) " >&6
4423 else
4424 if test -n "$ac_ct_CXX"; then
4425 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4426 else
4427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4428 for as_dir in $PATH
4430 IFS=$as_save_IFS
4431 test -z "$as_dir" && as_dir=.
4432 for ac_exec_ext in '' $ac_executable_extensions; do
4433 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4434 ac_cv_prog_ac_ct_CXX="$ac_prog"
4435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4436 break 2
4438 done
4439 done
4440 IFS=$as_save_IFS
4444 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4445 if test -n "$ac_ct_CXX"; then
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4447 $as_echo "$ac_ct_CXX" >&6; }
4448 else
4449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4450 $as_echo "no" >&6; }
4454 test -n "$ac_ct_CXX" && break
4455 done
4457 if test "x$ac_ct_CXX" = x; then
4458 CXX="g++"
4459 else
4460 case $cross_compiling:$ac_tool_warned in
4461 yes:)
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4463 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4464 ac_tool_warned=yes ;;
4465 esac
4466 CXX=$ac_ct_CXX
4472 # Provide some information about the compiler.
4473 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4474 set X $ac_compile
4475 ac_compiler=$2
4476 for ac_option in --version -v -V -qversion; do
4477 { { ac_try="$ac_compiler $ac_option >&5"
4478 case "(($ac_try" in
4479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4480 *) ac_try_echo=$ac_try;;
4481 esac
4482 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4483 $as_echo "$ac_try_echo"; } >&5
4484 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4485 ac_status=$?
4486 if test -s conftest.err; then
4487 sed '10a\
4488 ... rest of stderr output deleted ...
4489 10q' conftest.err >conftest.er1
4490 cat conftest.er1 >&5
4492 rm -f conftest.er1 conftest.err
4493 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4494 test $ac_status = 0; }
4495 done
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4498 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4499 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4500 $as_echo_n "(cached) " >&6
4501 else
4502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4503 /* end confdefs.h. */
4506 main ()
4508 #ifndef __GNUC__
4509 choke me
4510 #endif
4513 return 0;
4515 _ACEOF
4516 if ac_fn_cxx_try_compile "$LINENO"; then :
4517 ac_compiler_gnu=yes
4518 else
4519 ac_compiler_gnu=no
4521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4522 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4526 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4527 if test $ac_compiler_gnu = yes; then
4528 GXX=yes
4529 else
4530 GXX=
4532 ac_test_CXXFLAGS=${CXXFLAGS+set}
4533 ac_save_CXXFLAGS=$CXXFLAGS
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4535 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4536 if ${ac_cv_prog_cxx_g+:} false; then :
4537 $as_echo_n "(cached) " >&6
4538 else
4539 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4540 ac_cxx_werror_flag=yes
4541 ac_cv_prog_cxx_g=no
4542 CXXFLAGS="-g"
4543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4544 /* end confdefs.h. */
4547 main ()
4551 return 0;
4553 _ACEOF
4554 if ac_fn_cxx_try_compile "$LINENO"; then :
4555 ac_cv_prog_cxx_g=yes
4556 else
4557 CXXFLAGS=""
4558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4559 /* end confdefs.h. */
4562 main ()
4566 return 0;
4568 _ACEOF
4569 if ac_fn_cxx_try_compile "$LINENO"; then :
4571 else
4572 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4573 CXXFLAGS="-g"
4574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4575 /* end confdefs.h. */
4578 main ()
4582 return 0;
4584 _ACEOF
4585 if ac_fn_cxx_try_compile "$LINENO"; then :
4586 ac_cv_prog_cxx_g=yes
4588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4593 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4596 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4597 if test "$ac_test_CXXFLAGS" = set; then
4598 CXXFLAGS=$ac_save_CXXFLAGS
4599 elif test $ac_cv_prog_cxx_g = yes; then
4600 if test "$GXX" = yes; then
4601 CXXFLAGS="-g -O2"
4602 else
4603 CXXFLAGS="-g"
4605 else
4606 if test "$GXX" = yes; then
4607 CXXFLAGS="-O2"
4608 else
4609 CXXFLAGS=
4612 ac_ext=c
4613 ac_cpp='$CPP $CPPFLAGS'
4614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4618 if test -n "$ac_tool_prefix"; then
4619 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4620 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4622 $as_echo_n "checking for $ac_word... " >&6; }
4623 if ${ac_cv_prog_CPPBIN+:} false; then :
4624 $as_echo_n "(cached) " >&6
4625 else
4626 if test -n "$CPPBIN"; then
4627 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4628 else
4629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4630 for as_dir in $PATH
4632 IFS=$as_save_IFS
4633 test -z "$as_dir" && as_dir=.
4634 for ac_exec_ext in '' $ac_executable_extensions; do
4635 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4636 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4637 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4638 break 2
4640 done
4641 done
4642 IFS=$as_save_IFS
4646 CPPBIN=$ac_cv_prog_CPPBIN
4647 if test -n "$CPPBIN"; then
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4649 $as_echo "$CPPBIN" >&6; }
4650 else
4651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4652 $as_echo "no" >&6; }
4657 if test -z "$ac_cv_prog_CPPBIN"; then
4658 ac_ct_CPPBIN=$CPPBIN
4659 # Extract the first word of "cpp", so it can be a program name with args.
4660 set dummy cpp; ac_word=$2
4661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4662 $as_echo_n "checking for $ac_word... " >&6; }
4663 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4664 $as_echo_n "(cached) " >&6
4665 else
4666 if test -n "$ac_ct_CPPBIN"; then
4667 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4668 else
4669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4670 for as_dir in $PATH
4672 IFS=$as_save_IFS
4673 test -z "$as_dir" && as_dir=.
4674 for ac_exec_ext in '' $ac_executable_extensions; do
4675 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4676 ac_cv_prog_ac_ct_CPPBIN="cpp"
4677 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4678 break 2
4680 done
4681 done
4682 IFS=$as_save_IFS
4686 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4687 if test -n "$ac_ct_CPPBIN"; then
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4689 $as_echo "$ac_ct_CPPBIN" >&6; }
4690 else
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4692 $as_echo "no" >&6; }
4695 if test "x$ac_ct_CPPBIN" = x; then
4696 CPPBIN="cpp"
4697 else
4698 case $cross_compiling:$ac_tool_warned in
4699 yes:)
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4701 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4702 ac_tool_warned=yes ;;
4703 esac
4704 CPPBIN=$ac_ct_CPPBIN
4706 else
4707 CPPBIN="$ac_cv_prog_CPPBIN"
4711 cat >>confdefs.h <<_ACEOF
4712 #define EXEEXT "$ac_exeext"
4713 _ACEOF
4716 case $host in
4717 *-darwin*)
4718 if test "x$enable_win64" = "xyes"
4719 then
4720 CC="$CC -m64"
4721 CXX="$CXX -m64"
4722 host_cpu="x86_64"
4723 notice_platform="64-bit "
4724 TARGETFLAGS="-m64"
4726 else
4727 CC="$CC -m32"
4728 CXX="$CXX -m32"
4729 host_cpu="i386"
4730 notice_platform="32-bit "
4731 TARGETFLAGS="-m32"
4733 enable_win16=${enable_win16:-yes}
4735 with_fontconfig=${with_fontconfig:-no}
4737 x86_64*)
4738 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4739 then
4740 CC="$CC -m32"
4741 CXX="$CXX -m32"
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4743 $as_echo_n "checking whether $CC works... " >&6; }
4745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4746 /* end confdefs.h. */
4749 main ()
4753 return 0;
4755 _ACEOF
4756 if ac_fn_c_try_link "$LINENO"; then :
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4758 $as_echo "yes" >&6; }
4759 else
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4761 $as_echo "no" >&6; }
4762 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4764 rm -f core conftest.err conftest.$ac_objext \
4765 conftest$ac_exeext conftest.$ac_ext
4766 host_cpu="i386"
4767 notice_platform="32-bit "
4768 TARGETFLAGS="-m32"
4770 enable_win16=${enable_win16:-yes}
4771 else
4772 if test "x${GCC}" = "xyes"
4773 then
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4775 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4777 /* end confdefs.h. */
4778 #include <stdarg.h>
4780 main ()
4782 void func(__builtin_ms_va_list *args);
4784 return 0;
4786 _ACEOF
4787 if ac_fn_c_try_compile "$LINENO"; then :
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4789 $as_echo "yes" >&6; }
4790 else
4791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4792 $as_echo "no" >&6; }
4793 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4797 TARGETFLAGS="-m64"
4801 arm*)
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4803 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4805 /* end confdefs.h. */
4806 int ac_test(int i) { return i; }
4808 main ()
4810 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4812 return 0;
4814 _ACEOF
4815 if ac_fn_c_try_link "$LINENO"; then :
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4817 $as_echo "yes" >&6; }
4818 else
4819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4820 $as_echo "no" >&6; }
4821 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4823 rm -f core conftest.err conftest.$ac_objext \
4824 conftest$ac_exeext conftest.$ac_ext
4825 CFLAGS="$CFLAGS -marm"
4826 TARGETFLAGS="-marm"
4829 *-mingw32*|*-cygwin*)
4830 enable_win16=${enable_win16:-no}
4831 CFLAGS="$CFLAGS -D_WIN32"
4833 i[3456789]86*)
4834 enable_win16=${enable_win16:-yes}
4836 esac
4838 enable_win16=${enable_win16:-no}
4839 enable_win64=${enable_win64:-no}
4841 enable_winetest=${enable_winetest:-$enable_tests}
4843 if test -n "$with_wine64"
4844 then
4845 if test "x$enable_win64" = "xyes"
4846 then
4847 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4848 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4850 enable_fonts=${enable_fonts:-no}
4851 enable_server=${enable_server:-no}
4852 elif test "x$enable_win64" = "xyes"
4853 then
4854 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4858 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4859 if ${wine_cv_toolsdir+:} false; then :
4860 $as_echo_n "(cached) " >&6
4861 else
4862 wine_cv_toolsdir="$with_wine_tools"
4863 if test -z "$with_wine_tools"; then
4864 if test "$cross_compiling" = "yes"; then
4865 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4866 elif test -n "$with_wine64"; then
4867 wine_cv_toolsdir="$with_wine64"
4870 if test -z "$wine_cv_toolsdir"; then
4871 wine_makedep=tools/makedep
4872 wine_cv_toolsdir="\$(top_builddir)"
4873 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4874 wine_makedep=$wine_cv_toolsdir/tools/makedep
4875 case "$wine_cv_toolsdir" in
4876 /*) ;;
4877 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
4878 esac
4879 enable_tools=${enable_tools:-no}
4880 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
4881 else
4882 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4886 $as_echo "$wine_cv_toolsdir" >&6; }
4887 TOOLSDIR=$wine_cv_toolsdir
4889 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4890 then
4891 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
4895 for ac_prog in flex
4897 # Extract the first word of "$ac_prog", so it can be a program name with args.
4898 set dummy $ac_prog; ac_word=$2
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4900 $as_echo_n "checking for $ac_word... " >&6; }
4901 if ${ac_cv_prog_FLEX+:} false; then :
4902 $as_echo_n "(cached) " >&6
4903 else
4904 if test -n "$FLEX"; then
4905 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
4906 else
4907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4908 for as_dir in $PATH
4910 IFS=$as_save_IFS
4911 test -z "$as_dir" && as_dir=.
4912 for ac_exec_ext in '' $ac_executable_extensions; do
4913 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4914 ac_cv_prog_FLEX="$ac_prog"
4915 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4916 break 2
4918 done
4919 done
4920 IFS=$as_save_IFS
4924 FLEX=$ac_cv_prog_FLEX
4925 if test -n "$FLEX"; then
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4927 $as_echo "$FLEX" >&6; }
4928 else
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4930 $as_echo "no" >&6; }
4934 test -n "$FLEX" && break
4935 done
4936 test -n "$FLEX" || FLEX="none"
4938 if test "$FLEX" = "none"
4939 then
4940 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4943 $as_echo_n "checking whether flex is recent enough... " >&6; }
4944 cat >conftest.l <<EOF
4945 %top{
4946 #include "prediluvian.h"
4950 if $FLEX -t conftest.l >/dev/null 2>&5
4951 then
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4953 $as_echo "yes" >&6; }
4954 else
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4956 $as_echo "no" >&6; }
4957 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4960 for ac_prog in bison
4962 # Extract the first word of "$ac_prog", so it can be a program name with args.
4963 set dummy $ac_prog; ac_word=$2
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4965 $as_echo_n "checking for $ac_word... " >&6; }
4966 if ${ac_cv_prog_BISON+:} false; then :
4967 $as_echo_n "(cached) " >&6
4968 else
4969 if test -n "$BISON"; then
4970 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4971 else
4972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4973 for as_dir in $PATH
4975 IFS=$as_save_IFS
4976 test -z "$as_dir" && as_dir=.
4977 for ac_exec_ext in '' $ac_executable_extensions; do
4978 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4979 ac_cv_prog_BISON="$ac_prog"
4980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4981 break 2
4983 done
4984 done
4985 IFS=$as_save_IFS
4989 BISON=$ac_cv_prog_BISON
4990 if test -n "$BISON"; then
4991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4992 $as_echo "$BISON" >&6; }
4993 else
4994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4995 $as_echo "no" >&6; }
4999 test -n "$BISON" && break
5000 done
5001 test -n "$BISON" || BISON="none"
5003 if test "$BISON" = "none"
5004 then
5005 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5008 if test -n "$ac_tool_prefix"; then
5009 for ac_prog in ar gar
5011 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5012 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5014 $as_echo_n "checking for $ac_word... " >&6; }
5015 if ${ac_cv_prog_AR+:} false; then :
5016 $as_echo_n "(cached) " >&6
5017 else
5018 if test -n "$AR"; then
5019 ac_cv_prog_AR="$AR" # Let the user override the test.
5020 else
5021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5022 for as_dir in $PATH
5024 IFS=$as_save_IFS
5025 test -z "$as_dir" && as_dir=.
5026 for ac_exec_ext in '' $ac_executable_extensions; do
5027 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5028 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5030 break 2
5032 done
5033 done
5034 IFS=$as_save_IFS
5038 AR=$ac_cv_prog_AR
5039 if test -n "$AR"; then
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5041 $as_echo "$AR" >&6; }
5042 else
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5044 $as_echo "no" >&6; }
5048 test -n "$AR" && break
5049 done
5051 if test -z "$AR"; then
5052 ac_ct_AR=$AR
5053 for ac_prog in ar gar
5055 # Extract the first word of "$ac_prog", so it can be a program name with args.
5056 set dummy $ac_prog; ac_word=$2
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5058 $as_echo_n "checking for $ac_word... " >&6; }
5059 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5060 $as_echo_n "(cached) " >&6
5061 else
5062 if test -n "$ac_ct_AR"; then
5063 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5064 else
5065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5066 for as_dir in $PATH
5068 IFS=$as_save_IFS
5069 test -z "$as_dir" && as_dir=.
5070 for ac_exec_ext in '' $ac_executable_extensions; do
5071 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5072 ac_cv_prog_ac_ct_AR="$ac_prog"
5073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5074 break 2
5076 done
5077 done
5078 IFS=$as_save_IFS
5082 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5083 if test -n "$ac_ct_AR"; then
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5085 $as_echo "$ac_ct_AR" >&6; }
5086 else
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5088 $as_echo "no" >&6; }
5092 test -n "$ac_ct_AR" && break
5093 done
5095 if test "x$ac_ct_AR" = x; then
5096 AR="ar"
5097 else
5098 case $cross_compiling:$ac_tool_warned in
5099 yes:)
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5101 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5102 ac_tool_warned=yes ;;
5103 esac
5104 AR=$ac_ct_AR
5108 if test -n "$ac_tool_prefix"; then
5109 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5110 set dummy ${ac_tool_prefix}strip; ac_word=$2
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5112 $as_echo_n "checking for $ac_word... " >&6; }
5113 if ${ac_cv_prog_STRIP+:} false; then :
5114 $as_echo_n "(cached) " >&6
5115 else
5116 if test -n "$STRIP"; then
5117 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5118 else
5119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5120 for as_dir in $PATH
5122 IFS=$as_save_IFS
5123 test -z "$as_dir" && as_dir=.
5124 for ac_exec_ext in '' $ac_executable_extensions; do
5125 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5126 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5127 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5128 break 2
5130 done
5131 done
5132 IFS=$as_save_IFS
5136 STRIP=$ac_cv_prog_STRIP
5137 if test -n "$STRIP"; then
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5139 $as_echo "$STRIP" >&6; }
5140 else
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5142 $as_echo "no" >&6; }
5147 if test -z "$ac_cv_prog_STRIP"; then
5148 ac_ct_STRIP=$STRIP
5149 # Extract the first word of "strip", so it can be a program name with args.
5150 set dummy strip; ac_word=$2
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5152 $as_echo_n "checking for $ac_word... " >&6; }
5153 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5154 $as_echo_n "(cached) " >&6
5155 else
5156 if test -n "$ac_ct_STRIP"; then
5157 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5158 else
5159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5160 for as_dir in $PATH
5162 IFS=$as_save_IFS
5163 test -z "$as_dir" && as_dir=.
5164 for ac_exec_ext in '' $ac_executable_extensions; do
5165 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5166 ac_cv_prog_ac_ct_STRIP="strip"
5167 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5168 break 2
5170 done
5171 done
5172 IFS=$as_save_IFS
5176 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5177 if test -n "$ac_ct_STRIP"; then
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5179 $as_echo "$ac_ct_STRIP" >&6; }
5180 else
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5182 $as_echo "no" >&6; }
5185 if test "x$ac_ct_STRIP" = x; then
5186 STRIP="strip"
5187 else
5188 case $cross_compiling:$ac_tool_warned in
5189 yes:)
5190 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5191 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5192 ac_tool_warned=yes ;;
5193 esac
5194 STRIP=$ac_ct_STRIP
5196 else
5197 STRIP="$ac_cv_prog_STRIP"
5200 ARFLAGS=rc
5202 if test -n "$ac_tool_prefix"; then
5203 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5204 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5206 $as_echo_n "checking for $ac_word... " >&6; }
5207 if ${ac_cv_prog_RANLIB+:} false; then :
5208 $as_echo_n "(cached) " >&6
5209 else
5210 if test -n "$RANLIB"; then
5211 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5212 else
5213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5214 for as_dir in $PATH
5216 IFS=$as_save_IFS
5217 test -z "$as_dir" && as_dir=.
5218 for ac_exec_ext in '' $ac_executable_extensions; do
5219 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5220 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5221 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5222 break 2
5224 done
5225 done
5226 IFS=$as_save_IFS
5230 RANLIB=$ac_cv_prog_RANLIB
5231 if test -n "$RANLIB"; then
5232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5233 $as_echo "$RANLIB" >&6; }
5234 else
5235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5236 $as_echo "no" >&6; }
5241 if test -z "$ac_cv_prog_RANLIB"; then
5242 ac_ct_RANLIB=$RANLIB
5243 # Extract the first word of "ranlib", so it can be a program name with args.
5244 set dummy ranlib; ac_word=$2
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5246 $as_echo_n "checking for $ac_word... " >&6; }
5247 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5248 $as_echo_n "(cached) " >&6
5249 else
5250 if test -n "$ac_ct_RANLIB"; then
5251 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5252 else
5253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5254 for as_dir in $PATH
5256 IFS=$as_save_IFS
5257 test -z "$as_dir" && as_dir=.
5258 for ac_exec_ext in '' $ac_executable_extensions; do
5259 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5260 ac_cv_prog_ac_ct_RANLIB="ranlib"
5261 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5262 break 2
5264 done
5265 done
5266 IFS=$as_save_IFS
5270 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5271 if test -n "$ac_ct_RANLIB"; then
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5273 $as_echo "$ac_ct_RANLIB" >&6; }
5274 else
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5276 $as_echo "no" >&6; }
5279 if test "x$ac_ct_RANLIB" = x; then
5280 RANLIB=":"
5281 else
5282 case $cross_compiling:$ac_tool_warned in
5283 yes:)
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5285 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5286 ac_tool_warned=yes ;;
5287 esac
5288 RANLIB=$ac_ct_RANLIB
5290 else
5291 RANLIB="$ac_cv_prog_RANLIB"
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5295 $as_echo_n "checking whether ln -s works... " >&6; }
5296 LN_S=$as_ln_s
5297 if test "$LN_S" = "ln -s"; then
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5299 $as_echo "yes" >&6; }
5300 else
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5302 $as_echo "no, using $LN_S" >&6; }
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5306 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5307 if ${ac_cv_path_GREP+:} false; then :
5308 $as_echo_n "(cached) " >&6
5309 else
5310 if test -z "$GREP"; then
5311 ac_path_GREP_found=false
5312 # Loop through the user's path and test for each of PROGNAME-LIST
5313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5314 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5316 IFS=$as_save_IFS
5317 test -z "$as_dir" && as_dir=.
5318 for ac_prog in grep ggrep; do
5319 for ac_exec_ext in '' $ac_executable_extensions; do
5320 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5321 as_fn_executable_p "$ac_path_GREP" || continue
5322 # Check for GNU ac_path_GREP and select it if it is found.
5323 # Check for GNU $ac_path_GREP
5324 case `"$ac_path_GREP" --version 2>&1` in
5325 *GNU*)
5326 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5328 ac_count=0
5329 $as_echo_n 0123456789 >"conftest.in"
5330 while :
5332 cat "conftest.in" "conftest.in" >"conftest.tmp"
5333 mv "conftest.tmp" "conftest.in"
5334 cp "conftest.in" "conftest.nl"
5335 $as_echo 'GREP' >> "conftest.nl"
5336 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5337 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5338 as_fn_arith $ac_count + 1 && ac_count=$as_val
5339 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5340 # Best one so far, save it but keep looking for a better one
5341 ac_cv_path_GREP="$ac_path_GREP"
5342 ac_path_GREP_max=$ac_count
5344 # 10*(2^10) chars as input seems more than enough
5345 test $ac_count -gt 10 && break
5346 done
5347 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5348 esac
5350 $ac_path_GREP_found && break 3
5351 done
5352 done
5353 done
5354 IFS=$as_save_IFS
5355 if test -z "$ac_cv_path_GREP"; then
5356 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5358 else
5359 ac_cv_path_GREP=$GREP
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5364 $as_echo "$ac_cv_path_GREP" >&6; }
5365 GREP="$ac_cv_path_GREP"
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5369 $as_echo_n "checking for egrep... " >&6; }
5370 if ${ac_cv_path_EGREP+:} false; then :
5371 $as_echo_n "(cached) " >&6
5372 else
5373 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5374 then ac_cv_path_EGREP="$GREP -E"
5375 else
5376 if test -z "$EGREP"; then
5377 ac_path_EGREP_found=false
5378 # Loop through the user's path and test for each of PROGNAME-LIST
5379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5380 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5382 IFS=$as_save_IFS
5383 test -z "$as_dir" && as_dir=.
5384 for ac_prog in egrep; do
5385 for ac_exec_ext in '' $ac_executable_extensions; do
5386 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5387 as_fn_executable_p "$ac_path_EGREP" || continue
5388 # Check for GNU ac_path_EGREP and select it if it is found.
5389 # Check for GNU $ac_path_EGREP
5390 case `"$ac_path_EGREP" --version 2>&1` in
5391 *GNU*)
5392 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5394 ac_count=0
5395 $as_echo_n 0123456789 >"conftest.in"
5396 while :
5398 cat "conftest.in" "conftest.in" >"conftest.tmp"
5399 mv "conftest.tmp" "conftest.in"
5400 cp "conftest.in" "conftest.nl"
5401 $as_echo 'EGREP' >> "conftest.nl"
5402 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5403 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5404 as_fn_arith $ac_count + 1 && ac_count=$as_val
5405 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5406 # Best one so far, save it but keep looking for a better one
5407 ac_cv_path_EGREP="$ac_path_EGREP"
5408 ac_path_EGREP_max=$ac_count
5410 # 10*(2^10) chars as input seems more than enough
5411 test $ac_count -gt 10 && break
5412 done
5413 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5414 esac
5416 $ac_path_EGREP_found && break 3
5417 done
5418 done
5419 done
5420 IFS=$as_save_IFS
5421 if test -z "$ac_cv_path_EGREP"; then
5422 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5424 else
5425 ac_cv_path_EGREP=$EGREP
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5431 $as_echo "$ac_cv_path_EGREP" >&6; }
5432 EGREP="$ac_cv_path_EGREP"
5435 # Extract the first word of "ldconfig", so it can be a program name with args.
5436 set dummy ldconfig; ac_word=$2
5437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5438 $as_echo_n "checking for $ac_word... " >&6; }
5439 if ${ac_cv_path_LDCONFIG+:} false; then :
5440 $as_echo_n "(cached) " >&6
5441 else
5442 case $LDCONFIG in
5443 [\\/]* | ?:[\\/]*)
5444 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5448 for as_dir in /sbin /usr/sbin $PATH
5450 IFS=$as_save_IFS
5451 test -z "$as_dir" && as_dir=.
5452 for ac_exec_ext in '' $ac_executable_extensions; do
5453 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5454 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5456 break 2
5458 done
5459 done
5460 IFS=$as_save_IFS
5462 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5464 esac
5466 LDCONFIG=$ac_cv_path_LDCONFIG
5467 if test -n "$LDCONFIG"; then
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5469 $as_echo "$LDCONFIG" >&6; }
5470 else
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5472 $as_echo "no" >&6; }
5476 for ac_prog in msgfmt
5478 # Extract the first word of "$ac_prog", so it can be a program name with args.
5479 set dummy $ac_prog; ac_word=$2
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5481 $as_echo_n "checking for $ac_word... " >&6; }
5482 if ${ac_cv_prog_MSGFMT+:} false; then :
5483 $as_echo_n "(cached) " >&6
5484 else
5485 if test -n "$MSGFMT"; then
5486 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5487 else
5488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5489 for as_dir in $PATH
5491 IFS=$as_save_IFS
5492 test -z "$as_dir" && as_dir=.
5493 for ac_exec_ext in '' $ac_executable_extensions; do
5494 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5495 ac_cv_prog_MSGFMT="$ac_prog"
5496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5497 break 2
5499 done
5500 done
5501 IFS=$as_save_IFS
5505 MSGFMT=$ac_cv_prog_MSGFMT
5506 if test -n "$MSGFMT"; then
5507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5508 $as_echo "$MSGFMT" >&6; }
5509 else
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5511 $as_echo "no" >&6; }
5515 test -n "$MSGFMT" && break
5516 done
5517 test -n "$MSGFMT" || MSGFMT="false"
5519 if ${ac_tool_prefix+:} false; then :
5520 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5521 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5523 $as_echo_n "checking for $ac_word... " >&6; }
5524 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5525 $as_echo_n "(cached) " >&6
5526 else
5527 if test -n "$PKG_CONFIG"; then
5528 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5529 else
5530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5531 for as_dir in $PATH
5533 IFS=$as_save_IFS
5534 test -z "$as_dir" && as_dir=.
5535 for ac_exec_ext in '' $ac_executable_extensions; do
5536 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5537 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5538 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5539 break 2
5541 done
5542 done
5543 IFS=$as_save_IFS
5547 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5548 if test -n "$PKG_CONFIG"; then
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5550 $as_echo "$PKG_CONFIG" >&6; }
5551 else
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5553 $as_echo "no" >&6; }
5558 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5559 if test "x$cross_compiling" = xyes; then :
5561 else
5562 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5563 # Extract the first word of "pkg-config", so it can be a program name with args.
5564 set dummy pkg-config; ac_word=$2
5565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5566 $as_echo_n "checking for $ac_word... " >&6; }
5567 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5568 $as_echo_n "(cached) " >&6
5569 else
5570 if test -n "$PKG_CONFIG"; then
5571 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5572 else
5573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5574 for as_dir in $PATH
5576 IFS=$as_save_IFS
5577 test -z "$as_dir" && as_dir=.
5578 for ac_exec_ext in '' $ac_executable_extensions; do
5579 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5580 ac_cv_prog_PKG_CONFIG="pkg-config"
5581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5582 break 2
5584 done
5585 done
5586 IFS=$as_save_IFS
5590 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5591 if test -n "$PKG_CONFIG"; then
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5593 $as_echo "$PKG_CONFIG" >&6; }
5594 else
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5596 $as_echo "no" >&6; }
5601 else
5602 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5605 if test "x$enable_maintainer_mode" != "xyes"
5606 then
5607 FONTFORGE=""
5608 RSVG=""
5609 CONVERT=""
5610 ICOTOOL=""
5611 else
5612 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5613 for ac_prog in fontforge
5615 # Extract the first word of "$ac_prog", so it can be a program name with args.
5616 set dummy $ac_prog; ac_word=$2
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5618 $as_echo_n "checking for $ac_word... " >&6; }
5619 if ${ac_cv_prog_FONTFORGE+:} false; then :
5620 $as_echo_n "(cached) " >&6
5621 else
5622 if test -n "$FONTFORGE"; then
5623 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5624 else
5625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5626 for as_dir in $PATH
5628 IFS=$as_save_IFS
5629 test -z "$as_dir" && as_dir=.
5630 for ac_exec_ext in '' $ac_executable_extensions; do
5631 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5632 ac_cv_prog_FONTFORGE="$ac_prog"
5633 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5634 break 2
5636 done
5637 done
5638 IFS=$as_save_IFS
5642 FONTFORGE=$ac_cv_prog_FONTFORGE
5643 if test -n "$FONTFORGE"; then
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5645 $as_echo "$FONTFORGE" >&6; }
5646 else
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5648 $as_echo "no" >&6; }
5652 test -n "$FONTFORGE" && break
5653 done
5654 test -n "$FONTFORGE" || FONTFORGE="false"
5656 for ac_prog in rsvg
5658 # Extract the first word of "$ac_prog", so it can be a program name with args.
5659 set dummy $ac_prog; ac_word=$2
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5661 $as_echo_n "checking for $ac_word... " >&6; }
5662 if ${ac_cv_prog_RSVG+:} false; then :
5663 $as_echo_n "(cached) " >&6
5664 else
5665 if test -n "$RSVG"; then
5666 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5667 else
5668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5669 for as_dir in $PATH
5671 IFS=$as_save_IFS
5672 test -z "$as_dir" && as_dir=.
5673 for ac_exec_ext in '' $ac_executable_extensions; do
5674 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5675 ac_cv_prog_RSVG="$ac_prog"
5676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5677 break 2
5679 done
5680 done
5681 IFS=$as_save_IFS
5685 RSVG=$ac_cv_prog_RSVG
5686 if test -n "$RSVG"; then
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5688 $as_echo "$RSVG" >&6; }
5689 else
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5691 $as_echo "no" >&6; }
5695 test -n "$RSVG" && break
5696 done
5697 test -n "$RSVG" || RSVG="false"
5699 for ac_prog in convert
5701 # Extract the first word of "$ac_prog", so it can be a program name with args.
5702 set dummy $ac_prog; ac_word=$2
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5704 $as_echo_n "checking for $ac_word... " >&6; }
5705 if ${ac_cv_prog_CONVERT+:} false; then :
5706 $as_echo_n "(cached) " >&6
5707 else
5708 if test -n "$CONVERT"; then
5709 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5710 else
5711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5712 for as_dir in $PATH
5714 IFS=$as_save_IFS
5715 test -z "$as_dir" && as_dir=.
5716 for ac_exec_ext in '' $ac_executable_extensions; do
5717 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5718 ac_cv_prog_CONVERT="$ac_prog"
5719 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5720 break 2
5722 done
5723 done
5724 IFS=$as_save_IFS
5728 CONVERT=$ac_cv_prog_CONVERT
5729 if test -n "$CONVERT"; then
5730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5731 $as_echo "$CONVERT" >&6; }
5732 else
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5734 $as_echo "no" >&6; }
5738 test -n "$CONVERT" && break
5739 done
5740 test -n "$CONVERT" || CONVERT="false"
5742 for ac_prog in icotool
5744 # Extract the first word of "$ac_prog", so it can be a program name with args.
5745 set dummy $ac_prog; ac_word=$2
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5747 $as_echo_n "checking for $ac_word... " >&6; }
5748 if ${ac_cv_prog_ICOTOOL+:} false; then :
5749 $as_echo_n "(cached) " >&6
5750 else
5751 if test -n "$ICOTOOL"; then
5752 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5753 else
5754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5755 for as_dir in $PATH
5757 IFS=$as_save_IFS
5758 test -z "$as_dir" && as_dir=.
5759 for ac_exec_ext in '' $ac_executable_extensions; do
5760 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5761 ac_cv_prog_ICOTOOL="$ac_prog"
5762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5763 break 2
5765 done
5766 done
5767 IFS=$as_save_IFS
5771 ICOTOOL=$ac_cv_prog_ICOTOOL
5772 if test -n "$ICOTOOL"; then
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5774 $as_echo "$ICOTOOL" >&6; }
5775 else
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5777 $as_echo "no" >&6; }
5781 test -n "$ICOTOOL" && break
5782 done
5783 test -n "$ICOTOOL" || ICOTOOL="false"
5785 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5786 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5788 if test "$CONVERT" = false
5789 then
5790 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5791 else
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5793 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5794 convert_version=`convert --version | head -n1`
5795 if test "x$convert_version" != "x"
5796 then
5797 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5798 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5799 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5800 then
5801 CONVERT=false
5804 if test "$CONVERT" = false
5805 then
5806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5807 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5808 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5809 else
5810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5811 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5815 if test "$ICOTOOL" = false
5816 then
5817 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5818 else
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5820 $as_echo_n "checking for recent enough icotool... " >&6; }
5821 icotool_version=`icotool --version | head -n1`
5822 if test "x$icotool_version" != "x"
5823 then
5824 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5825 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5826 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5827 then
5828 ICOTOOL=false
5829 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5832 if test "$ICOTOOL" = false
5833 then
5834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5835 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5836 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5837 else
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5839 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5843 with_gettext=yes
5844 with_gettextpo=yes
5845 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5848 test "x$with_gettext" != xno || MSGFMT=false
5849 if test "$MSGFMT" != "false"
5850 then
5851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5852 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5853 cat >conftest.po <<EOF
5854 # comment
5855 msgctxt "ctxt"
5856 msgid "id"
5857 msgstr "str"
5859 if $MSGFMT -o /dev/null conftest.po 2>&5
5860 then
5861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5862 $as_echo "yes" >&6; }
5863 else
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5865 $as_echo "no" >&6; }
5866 MSGFMT=false
5869 if test "$MSGFMT" = false; then :
5870 case "x$with_gettext" in
5871 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
5872 xno) ;;
5873 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
5874 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5875 esac
5879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5880 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5881 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
5882 $as_echo_n "(cached) " >&6
5883 else
5884 ac_check_lib_save_LIBS=$LIBS
5885 LIBS="-li386 $LIBS"
5886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5887 /* end confdefs.h. */
5889 /* Override any GCC internal prototype to avoid an error.
5890 Use char because int might match the return type of a GCC
5891 builtin and then its argument prototype would still apply. */
5892 #ifdef __cplusplus
5893 extern "C"
5894 #endif
5895 char i386_set_ldt ();
5897 main ()
5899 return i386_set_ldt ();
5901 return 0;
5903 _ACEOF
5904 if ac_fn_c_try_link "$LINENO"; then :
5905 ac_cv_lib_i386_i386_set_ldt=yes
5906 else
5907 ac_cv_lib_i386_i386_set_ldt=no
5909 rm -f core conftest.err conftest.$ac_objext \
5910 conftest$ac_exeext conftest.$ac_ext
5911 LIBS=$ac_check_lib_save_LIBS
5913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5914 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5915 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
5916 cat >>confdefs.h <<_ACEOF
5917 #define HAVE_LIBI386 1
5918 _ACEOF
5920 LIBS="-li386 $LIBS"
5924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5925 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5926 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
5927 $as_echo_n "(cached) " >&6
5928 else
5929 ac_check_lib_save_LIBS=$LIBS
5930 LIBS="-lossaudio $LIBS"
5931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5932 /* end confdefs.h. */
5934 /* Override any GCC internal prototype to avoid an error.
5935 Use char because int might match the return type of a GCC
5936 builtin and then its argument prototype would still apply. */
5937 #ifdef __cplusplus
5938 extern "C"
5939 #endif
5940 char _oss_ioctl ();
5942 main ()
5944 return _oss_ioctl ();
5946 return 0;
5948 _ACEOF
5949 if ac_fn_c_try_link "$LINENO"; then :
5950 ac_cv_lib_ossaudio__oss_ioctl=yes
5951 else
5952 ac_cv_lib_ossaudio__oss_ioctl=no
5954 rm -f core conftest.err conftest.$ac_objext \
5955 conftest$ac_exeext conftest.$ac_ext
5956 LIBS=$ac_check_lib_save_LIBS
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5959 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5960 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
5961 cat >>confdefs.h <<_ACEOF
5962 #define HAVE_LIBOSSAUDIO 1
5963 _ACEOF
5965 LIBS="-lossaudio $LIBS"
5970 OPENGL_LIBS=""
5974 # Check whether --enable-largefile was given.
5975 if test "${enable_largefile+set}" = set; then :
5976 enableval=$enable_largefile;
5979 if test "$enable_largefile" != no; then
5981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5982 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5983 if ${ac_cv_sys_largefile_CC+:} false; then :
5984 $as_echo_n "(cached) " >&6
5985 else
5986 ac_cv_sys_largefile_CC=no
5987 if test "$GCC" != yes; then
5988 ac_save_CC=$CC
5989 while :; do
5990 # IRIX 6.2 and later do not support large files by default,
5991 # so use the C compiler's -n32 option if that helps.
5992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5993 /* end confdefs.h. */
5994 #include <sys/types.h>
5995 /* Check that off_t can represent 2**63 - 1 correctly.
5996 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5997 since some C++ compilers masquerading as C compilers
5998 incorrectly reject 9223372036854775807. */
5999 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6000 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6001 && LARGE_OFF_T % 2147483647 == 1)
6002 ? 1 : -1];
6004 main ()
6008 return 0;
6010 _ACEOF
6011 if ac_fn_c_try_compile "$LINENO"; then :
6012 break
6014 rm -f core conftest.err conftest.$ac_objext
6015 CC="$CC -n32"
6016 if ac_fn_c_try_compile "$LINENO"; then :
6017 ac_cv_sys_largefile_CC=' -n32'; break
6019 rm -f core conftest.err conftest.$ac_objext
6020 break
6021 done
6022 CC=$ac_save_CC
6023 rm -f conftest.$ac_ext
6026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6027 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6028 if test "$ac_cv_sys_largefile_CC" != no; then
6029 CC=$CC$ac_cv_sys_largefile_CC
6032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6033 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6034 if ${ac_cv_sys_file_offset_bits+:} false; then :
6035 $as_echo_n "(cached) " >&6
6036 else
6037 while :; do
6038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6039 /* end confdefs.h. */
6040 #include <sys/types.h>
6041 /* Check that off_t can represent 2**63 - 1 correctly.
6042 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6043 since some C++ compilers masquerading as C compilers
6044 incorrectly reject 9223372036854775807. */
6045 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6046 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6047 && LARGE_OFF_T % 2147483647 == 1)
6048 ? 1 : -1];
6050 main ()
6054 return 0;
6056 _ACEOF
6057 if ac_fn_c_try_compile "$LINENO"; then :
6058 ac_cv_sys_file_offset_bits=no; break
6060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6062 /* end confdefs.h. */
6063 #define _FILE_OFFSET_BITS 64
6064 #include <sys/types.h>
6065 /* Check that off_t can represent 2**63 - 1 correctly.
6066 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6067 since some C++ compilers masquerading as C compilers
6068 incorrectly reject 9223372036854775807. */
6069 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6070 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6071 && LARGE_OFF_T % 2147483647 == 1)
6072 ? 1 : -1];
6074 main ()
6078 return 0;
6080 _ACEOF
6081 if ac_fn_c_try_compile "$LINENO"; then :
6082 ac_cv_sys_file_offset_bits=64; break
6084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6085 ac_cv_sys_file_offset_bits=unknown
6086 break
6087 done
6089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6090 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6091 case $ac_cv_sys_file_offset_bits in #(
6092 no | unknown) ;;
6094 cat >>confdefs.h <<_ACEOF
6095 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6096 _ACEOF
6098 esac
6099 rm -rf conftest*
6100 if test $ac_cv_sys_file_offset_bits = unknown; then
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6102 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6103 if ${ac_cv_sys_large_files+:} false; then :
6104 $as_echo_n "(cached) " >&6
6105 else
6106 while :; do
6107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6108 /* end confdefs.h. */
6109 #include <sys/types.h>
6110 /* Check that off_t can represent 2**63 - 1 correctly.
6111 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6112 since some C++ compilers masquerading as C compilers
6113 incorrectly reject 9223372036854775807. */
6114 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6115 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6116 && LARGE_OFF_T % 2147483647 == 1)
6117 ? 1 : -1];
6119 main ()
6123 return 0;
6125 _ACEOF
6126 if ac_fn_c_try_compile "$LINENO"; then :
6127 ac_cv_sys_large_files=no; break
6129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6131 /* end confdefs.h. */
6132 #define _LARGE_FILES 1
6133 #include <sys/types.h>
6134 /* Check that off_t can represent 2**63 - 1 correctly.
6135 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6136 since some C++ compilers masquerading as C compilers
6137 incorrectly reject 9223372036854775807. */
6138 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6139 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6140 && LARGE_OFF_T % 2147483647 == 1)
6141 ? 1 : -1];
6143 main ()
6147 return 0;
6149 _ACEOF
6150 if ac_fn_c_try_compile "$LINENO"; then :
6151 ac_cv_sys_large_files=1; break
6153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6154 ac_cv_sys_large_files=unknown
6155 break
6156 done
6158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6159 $as_echo "$ac_cv_sys_large_files" >&6; }
6160 case $ac_cv_sys_large_files in #(
6161 no | unknown) ;;
6163 cat >>confdefs.h <<_ACEOF
6164 #define _LARGE_FILES $ac_cv_sys_large_files
6165 _ACEOF
6167 esac
6168 rm -rf conftest*
6175 ac_ext=c
6176 ac_cpp='$CPP $CPPFLAGS'
6177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6181 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6182 # On Suns, sometimes $CPP names a directory.
6183 if test -n "$CPP" && test -d "$CPP"; then
6184 CPP=
6186 if test -z "$CPP"; then
6187 if ${ac_cv_prog_CPP+:} false; then :
6188 $as_echo_n "(cached) " >&6
6189 else
6190 # Double quotes because CPP needs to be expanded
6191 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6193 ac_preproc_ok=false
6194 for ac_c_preproc_warn_flag in '' yes
6196 # Use a header file that comes with gcc, so configuring glibc
6197 # with a fresh cross-compiler works.
6198 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6199 # <limits.h> exists even on freestanding compilers.
6200 # On the NeXT, cc -E runs the code through the compiler's parser,
6201 # not just through cpp. "Syntax error" is here to catch this case.
6202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6203 /* end confdefs.h. */
6204 #ifdef __STDC__
6205 # include <limits.h>
6206 #else
6207 # include <assert.h>
6208 #endif
6209 Syntax error
6210 _ACEOF
6211 if ac_fn_c_try_cpp "$LINENO"; then :
6213 else
6214 # Broken: fails on valid input.
6215 continue
6217 rm -f conftest.err conftest.i conftest.$ac_ext
6219 # OK, works on sane cases. Now check whether nonexistent headers
6220 # can be detected and how.
6221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6222 /* end confdefs.h. */
6223 #include <ac_nonexistent.h>
6224 _ACEOF
6225 if ac_fn_c_try_cpp "$LINENO"; then :
6226 # Broken: success on invalid input.
6227 continue
6228 else
6229 # Passes both tests.
6230 ac_preproc_ok=:
6231 break
6233 rm -f conftest.err conftest.i conftest.$ac_ext
6235 done
6236 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6237 rm -f conftest.i conftest.err conftest.$ac_ext
6238 if $ac_preproc_ok; then :
6239 break
6242 done
6243 ac_cv_prog_CPP=$CPP
6246 CPP=$ac_cv_prog_CPP
6247 else
6248 ac_cv_prog_CPP=$CPP
6250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6251 $as_echo "$CPP" >&6; }
6252 ac_preproc_ok=false
6253 for ac_c_preproc_warn_flag in '' yes
6255 # Use a header file that comes with gcc, so configuring glibc
6256 # with a fresh cross-compiler works.
6257 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6258 # <limits.h> exists even on freestanding compilers.
6259 # On the NeXT, cc -E runs the code through the compiler's parser,
6260 # not just through cpp. "Syntax error" is here to catch this case.
6261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6262 /* end confdefs.h. */
6263 #ifdef __STDC__
6264 # include <limits.h>
6265 #else
6266 # include <assert.h>
6267 #endif
6268 Syntax error
6269 _ACEOF
6270 if ac_fn_c_try_cpp "$LINENO"; then :
6272 else
6273 # Broken: fails on valid input.
6274 continue
6276 rm -f conftest.err conftest.i conftest.$ac_ext
6278 # OK, works on sane cases. Now check whether nonexistent headers
6279 # can be detected and how.
6280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6281 /* end confdefs.h. */
6282 #include <ac_nonexistent.h>
6283 _ACEOF
6284 if ac_fn_c_try_cpp "$LINENO"; then :
6285 # Broken: success on invalid input.
6286 continue
6287 else
6288 # Passes both tests.
6289 ac_preproc_ok=:
6290 break
6292 rm -f conftest.err conftest.i conftest.$ac_ext
6294 done
6295 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6296 rm -f conftest.i conftest.err conftest.$ac_ext
6297 if $ac_preproc_ok; then :
6299 else
6300 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6301 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6302 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6303 See \`config.log' for more details" "$LINENO" 5; }
6306 ac_ext=c
6307 ac_cpp='$CPP $CPPFLAGS'
6308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6314 $as_echo_n "checking for ANSI C header files... " >&6; }
6315 if ${ac_cv_header_stdc+:} false; then :
6316 $as_echo_n "(cached) " >&6
6317 else
6318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6319 /* end confdefs.h. */
6320 #include <stdlib.h>
6321 #include <stdarg.h>
6322 #include <string.h>
6323 #include <float.h>
6326 main ()
6330 return 0;
6332 _ACEOF
6333 if ac_fn_c_try_compile "$LINENO"; then :
6334 ac_cv_header_stdc=yes
6335 else
6336 ac_cv_header_stdc=no
6338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6340 if test $ac_cv_header_stdc = yes; then
6341 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6343 /* end confdefs.h. */
6344 #include <string.h>
6346 _ACEOF
6347 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6348 $EGREP "memchr" >/dev/null 2>&1; then :
6350 else
6351 ac_cv_header_stdc=no
6353 rm -f conftest*
6357 if test $ac_cv_header_stdc = yes; then
6358 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6360 /* end confdefs.h. */
6361 #include <stdlib.h>
6363 _ACEOF
6364 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6365 $EGREP "free" >/dev/null 2>&1; then :
6367 else
6368 ac_cv_header_stdc=no
6370 rm -f conftest*
6374 if test $ac_cv_header_stdc = yes; then
6375 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6376 if test "$cross_compiling" = yes; then :
6378 else
6379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6380 /* end confdefs.h. */
6381 #include <ctype.h>
6382 #include <stdlib.h>
6383 #if ((' ' & 0x0FF) == 0x020)
6384 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6385 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6386 #else
6387 # define ISLOWER(c) \
6388 (('a' <= (c) && (c) <= 'i') \
6389 || ('j' <= (c) && (c) <= 'r') \
6390 || ('s' <= (c) && (c) <= 'z'))
6391 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6392 #endif
6394 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6396 main ()
6398 int i;
6399 for (i = 0; i < 256; i++)
6400 if (XOR (islower (i), ISLOWER (i))
6401 || toupper (i) != TOUPPER (i))
6402 return 2;
6403 return 0;
6405 _ACEOF
6406 if ac_fn_c_try_run "$LINENO"; then :
6408 else
6409 ac_cv_header_stdc=no
6411 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6412 conftest.$ac_objext conftest.beam conftest.$ac_ext
6417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6418 $as_echo "$ac_cv_header_stdc" >&6; }
6419 if test $ac_cv_header_stdc = yes; then
6421 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6425 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6426 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6427 inttypes.h stdint.h unistd.h
6428 do :
6429 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6430 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6432 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6433 cat >>confdefs.h <<_ACEOF
6434 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6435 _ACEOF
6439 done
6442 for ac_header in \
6443 AL/al.h \
6444 ApplicationServices/ApplicationServices.h \
6445 AudioToolbox/AudioConverter.h \
6446 AudioUnit/AudioUnit.h \
6447 AudioUnit/AudioComponent.h \
6448 CL/cl.h \
6449 Carbon/Carbon.h \
6450 CoreAudio/CoreAudio.h \
6451 CoreServices/CoreServices.h \
6452 DiskArbitration/DiskArbitration.h \
6453 IOKit/IOKitLib.h \
6454 IOKit/hid/IOHIDLib.h \
6455 OpenAL/al.h \
6456 OpenCL/opencl.h \
6457 QuickTime/ImageCompression.h \
6458 Security/Security.h \
6459 alias.h \
6460 alsa/asoundlib.h \
6461 arpa/inet.h \
6462 arpa/nameser.h \
6463 asm/types.h \
6464 asm/user.h \
6465 curses.h \
6466 direct.h \
6467 dirent.h \
6468 dlfcn.h \
6469 elf.h \
6470 float.h \
6471 fnmatch.h \
6472 getopt.h \
6473 gettext-po.h \
6474 grp.h \
6475 gsm.h \
6476 gsm/gsm.h \
6477 ieeefp.h \
6478 inet/mib2.h \
6479 io.h \
6480 kstat.h \
6481 lber.h \
6482 ldap.h \
6483 libproc.h \
6484 link.h \
6485 linux/cdrom.h \
6486 linux/compiler.h \
6487 linux/filter.h \
6488 linux/hdreg.h \
6489 linux/input.h \
6490 linux/ioctl.h \
6491 linux/joystick.h \
6492 linux/major.h \
6493 linux/param.h \
6494 linux/serial.h \
6495 linux/types.h \
6496 linux/ucdrom.h \
6497 lwp.h \
6498 mach-o/nlist.h \
6499 mach-o/loader.h \
6500 mach/mach.h \
6501 mach/machine.h \
6502 machine/cpu.h \
6503 machine/limits.h \
6504 machine/sysarch.h \
6505 mntent.h \
6506 ncurses.h \
6507 netdb.h \
6508 netinet/in.h \
6509 netinet/in_systm.h \
6510 netinet/tcp.h \
6511 netinet/tcp_fsm.h \
6512 pcap/pcap.h \
6513 poll.h \
6514 port.h \
6515 process.h \
6516 pthread.h \
6517 pwd.h \
6518 sched.h \
6519 scsi/scsi.h \
6520 scsi/scsi_ioctl.h \
6521 scsi/sg.h \
6522 stdbool.h \
6523 stdint.h \
6524 stropts.h \
6525 sys/asoundlib.h \
6526 sys/attr.h \
6527 sys/cdio.h \
6528 sys/elf32.h \
6529 sys/epoll.h \
6530 sys/event.h \
6531 sys/exec_elf.h \
6532 sys/filio.h \
6533 sys/inotify.h \
6534 sys/ioctl.h \
6535 sys/ipc.h \
6536 sys/limits.h \
6537 sys/link.h \
6538 sys/mman.h \
6539 sys/modem.h \
6540 sys/msg.h \
6541 sys/mtio.h \
6542 sys/param.h \
6543 sys/poll.h \
6544 sys/prctl.h \
6545 sys/protosw.h \
6546 sys/ptrace.h \
6547 sys/queue.h \
6548 sys/resource.h \
6549 sys/scsiio.h \
6550 sys/shm.h \
6551 sys/signal.h \
6552 sys/socket.h \
6553 sys/socketvar.h \
6554 sys/sockio.h \
6555 sys/statvfs.h \
6556 sys/strtio.h \
6557 sys/syscall.h \
6558 sys/tihdr.h \
6559 sys/time.h \
6560 sys/timeout.h \
6561 sys/times.h \
6562 sys/uio.h \
6563 sys/user.h \
6564 sys/utsname.h \
6565 sys/vm86.h \
6566 sys/wait.h \
6567 syscall.h \
6568 termios.h \
6569 unistd.h \
6570 utime.h \
6571 valgrind/memcheck.h \
6572 valgrind/valgrind.h \
6573 zlib.h
6575 do :
6576 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6577 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6578 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6579 cat >>confdefs.h <<_ACEOF
6580 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6581 _ACEOF
6585 done
6587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6588 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6589 if ${ac_cv_header_stat_broken+:} false; then :
6590 $as_echo_n "(cached) " >&6
6591 else
6592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6593 /* end confdefs.h. */
6594 #include <sys/types.h>
6595 #include <sys/stat.h>
6597 #if defined S_ISBLK && defined S_IFDIR
6598 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6599 #endif
6601 #if defined S_ISBLK && defined S_IFCHR
6602 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6603 #endif
6605 #if defined S_ISLNK && defined S_IFREG
6606 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6607 #endif
6609 #if defined S_ISSOCK && defined S_IFREG
6610 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6611 #endif
6613 _ACEOF
6614 if ac_fn_c_try_compile "$LINENO"; then :
6615 ac_cv_header_stat_broken=no
6616 else
6617 ac_cv_header_stat_broken=yes
6619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6622 $as_echo "$ac_cv_header_stat_broken" >&6; }
6623 if test $ac_cv_header_stat_broken = yes; then
6625 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6631 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6632 do :
6633 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6634 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6635 #ifdef HAVE_SYS_PARAM_H
6636 # include <sys/param.h>
6637 #endif
6639 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6640 cat >>confdefs.h <<_ACEOF
6641 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6642 _ACEOF
6646 done
6649 for ac_header in \
6650 netinet/ip.h \
6651 net/if.h \
6652 net/if_arp.h \
6653 net/if_dl.h \
6654 net/if_types.h \
6655 net/route.h \
6656 netinet/if_ether.h \
6657 netinet/if_inarp.h \
6658 netinet/in_pcb.h \
6659 netinet/ip_icmp.h \
6660 netinet/ip_var.h \
6661 netinet/udp.h \
6662 netipx/ipx.h \
6663 sys/un.h \
6665 do :
6666 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6667 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6668 #ifdef HAVE_SYS_SOCKET_H
6669 # include <sys/socket.h>
6670 #endif
6671 #ifdef HAVE_SYS_SOCKETVAR_H
6672 # include <sys/socketvar.h>
6673 #endif
6674 #ifdef HAVE_NET_ROUTE_H
6675 # include <net/route.h>
6676 #endif
6677 #ifdef HAVE_NETINET_IN_H
6678 # include <netinet/in.h>
6679 #endif
6680 #ifdef HAVE_NETINET_IN_SYSTM_H
6681 # include <netinet/in_systm.h>
6682 #endif
6683 #ifdef HAVE_NET_IF_H
6684 # include <net/if.h>
6685 #endif
6686 #ifdef HAVE_NETINET_IP_H
6687 # include <netinet/ip.h>
6688 #endif
6690 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6691 cat >>confdefs.h <<_ACEOF
6692 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6693 _ACEOF
6697 done
6700 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6701 do :
6702 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6703 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6704 #ifdef HAVE_ALIAS_H
6705 # include <alias.h>
6706 #endif
6707 #ifdef HAVE_SYS_SOCKET_H
6708 # include <sys/socket.h>
6709 #endif
6710 #ifdef HAVE_SYS_SOCKETVAR_H
6711 # include <sys/socketvar.h>
6712 #endif
6713 #ifdef HAVE_SYS_TIMEOUT_H
6714 # include <sys/timeout.h>
6715 #endif
6716 #ifdef HAVE_NETINET_IN_H
6717 # include <netinet/in.h>
6718 #endif
6719 #ifdef HAVE_NETINET_IN_SYSTM_H
6720 # include <netinet/in_systm.h>
6721 #endif
6722 #ifdef HAVE_NETINET_IP_H
6723 # include <netinet/ip.h>
6724 #endif
6725 #ifdef HAVE_NETINET_IP_VAR_H
6726 # include <netinet/ip_var.h>
6727 #endif
6728 #ifdef HAVE_NETINET_IP_ICMP_H
6729 # include <netinet/ip_icmp.h>
6730 #endif
6731 #ifdef HAVE_NETINET_UDP_H
6732 # include <netinet/udp.h>
6733 #endif
6734 #ifdef HAVE_NETINET_TCP_H
6735 # include <netinet/tcp.h>
6736 #endif
6737 #ifdef HAVE_NETINET_TCP_TIMER_H
6738 #include <netinet/tcp_timer.h>
6739 #endif
6741 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6742 cat >>confdefs.h <<_ACEOF
6743 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6744 _ACEOF
6748 done
6751 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6752 do :
6753 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6754 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6755 #ifdef HAVE_ASM_TYPES_H
6756 # include <asm/types.h>
6757 #endif
6758 #ifdef HAVE_SYS_SOCKET_H
6759 # include <sys/socket.h>
6760 #endif
6761 #ifdef HAVE_LINUX_TYPES_H
6762 # include <linux/types.h>
6763 #endif
6765 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6766 cat >>confdefs.h <<_ACEOF
6767 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6768 _ACEOF
6772 done
6775 for ac_header in mach-o/dyld_images.h
6776 do :
6777 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6778 # include <stdbool.h>
6779 #endif
6780 #ifdef HAVE_STDINT_H
6781 # include <stdint.h>
6782 #endif
6784 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6785 cat >>confdefs.h <<_ACEOF
6786 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6787 _ACEOF
6791 done
6794 for ac_header in resolv.h
6795 do :
6796 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6797 #ifdef HAVE_SYS_SOCKET_H
6798 # include <sys/socket.h>
6799 #endif
6800 #ifdef HAVE_NETINET_IN_H
6801 # include <netinet/in.h>
6802 #endif
6803 #ifdef HAVE_ARPA_NAMESER_H
6804 # include <arpa/nameser.h>
6805 #endif
6807 if test "x$ac_cv_header_resolv_h" = xyes; then :
6808 cat >>confdefs.h <<_ACEOF
6809 #define HAVE_RESOLV_H 1
6810 _ACEOF
6814 done
6817 for ac_header in ifaddrs.h
6818 do :
6819 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6821 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6822 cat >>confdefs.h <<_ACEOF
6823 #define HAVE_IFADDRS_H 1
6824 _ACEOF
6828 done
6831 for ac_header in sys/ucontext.h
6832 do :
6833 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6835 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
6836 cat >>confdefs.h <<_ACEOF
6837 #define HAVE_SYS_UCONTEXT_H 1
6838 _ACEOF
6842 done
6845 for ac_header in sys/thr.h
6846 do :
6847 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6848 #ifdef HAVE_SYS_UCONTEXT_H
6849 #include <sys/ucontext.h>
6850 #endif
6852 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
6853 cat >>confdefs.h <<_ACEOF
6854 #define HAVE_SYS_THR_H 1
6855 _ACEOF
6859 done
6862 for ac_header in pthread_np.h
6863 do :
6864 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6865 #include <pthread.h>
6866 #endif
6868 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
6869 cat >>confdefs.h <<_ACEOF
6870 #define HAVE_PTHREAD_NP_H 1
6871 _ACEOF
6875 done
6878 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
6879 do :
6880 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6881 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6882 #include <sys/time.h>
6883 #endif
6884 #include <sys/types.h>
6885 #ifdef HAVE_ASM_TYPES_H
6886 #include <asm/types.h>
6887 #endif
6889 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6890 cat >>confdefs.h <<_ACEOF
6891 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6892 _ACEOF
6896 done
6899 for ac_header in libprocstat.h
6900 do :
6901 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6902 #include <sys/param.h>
6903 #endif
6904 #ifdef HAVE_SYS_QUEUE_H
6905 #include <sys/queue.h>
6906 #endif
6907 #ifdef HAVE_SYS_SOCKET_H
6908 #include <sys/socket.h>
6909 #endif
6911 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
6912 cat >>confdefs.h <<_ACEOF
6913 #define HAVE_LIBPROCSTAT_H 1
6914 _ACEOF
6918 done
6922 dlldir="\${libdir}/wine"
6924 DLLPREFIX=""
6926 DLLFLAGS="-D_REENTRANT"
6928 LDRPATH_INSTALL=""
6930 LDRPATH_LOCAL=""
6932 LIBEXT="so"
6933 DLLEXT=".so"
6934 IMPLIBEXT="def"
6935 STATIC_IMPLIBEXT="def.a"
6936 # Extract the first word of "ldd", so it can be a program name with args.
6937 set dummy ldd; ac_word=$2
6938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6939 $as_echo_n "checking for $ac_word... " >&6; }
6940 if ${ac_cv_path_LDD+:} false; then :
6941 $as_echo_n "(cached) " >&6
6942 else
6943 case $LDD in
6944 [\\/]* | ?:[\\/]*)
6945 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
6948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6949 as_dummy="/sbin:/usr/sbin:$PATH"
6950 for as_dir in $as_dummy
6952 IFS=$as_save_IFS
6953 test -z "$as_dir" && as_dir=.
6954 for ac_exec_ext in '' $ac_executable_extensions; do
6955 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6956 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
6957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6958 break 2
6960 done
6961 done
6962 IFS=$as_save_IFS
6964 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
6966 esac
6968 LDD=$ac_cv_path_LDD
6969 if test -n "$LDD"; then
6970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6971 $as_echo "$LDD" >&6; }
6972 else
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6974 $as_echo "no" >&6; }
6978 if test -n "$ac_tool_prefix"; then
6979 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
6980 set dummy ${ac_tool_prefix}readelf; ac_word=$2
6981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6982 $as_echo_n "checking for $ac_word... " >&6; }
6983 if ${ac_cv_prog_READELF+:} false; then :
6984 $as_echo_n "(cached) " >&6
6985 else
6986 if test -n "$READELF"; then
6987 ac_cv_prog_READELF="$READELF" # Let the user override the test.
6988 else
6989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6990 for as_dir in $PATH
6992 IFS=$as_save_IFS
6993 test -z "$as_dir" && as_dir=.
6994 for ac_exec_ext in '' $ac_executable_extensions; do
6995 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6996 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
6997 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6998 break 2
7000 done
7001 done
7002 IFS=$as_save_IFS
7006 READELF=$ac_cv_prog_READELF
7007 if test -n "$READELF"; then
7008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7009 $as_echo "$READELF" >&6; }
7010 else
7011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7012 $as_echo "no" >&6; }
7017 if test -z "$ac_cv_prog_READELF"; then
7018 ac_ct_READELF=$READELF
7019 # Extract the first word of "readelf", so it can be a program name with args.
7020 set dummy readelf; ac_word=$2
7021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7022 $as_echo_n "checking for $ac_word... " >&6; }
7023 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7024 $as_echo_n "(cached) " >&6
7025 else
7026 if test -n "$ac_ct_READELF"; then
7027 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7028 else
7029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7030 for as_dir in $PATH
7032 IFS=$as_save_IFS
7033 test -z "$as_dir" && as_dir=.
7034 for ac_exec_ext in '' $ac_executable_extensions; do
7035 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7036 ac_cv_prog_ac_ct_READELF="readelf"
7037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7038 break 2
7040 done
7041 done
7042 IFS=$as_save_IFS
7046 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7047 if test -n "$ac_ct_READELF"; then
7048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7049 $as_echo "$ac_ct_READELF" >&6; }
7050 else
7051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7052 $as_echo "no" >&6; }
7055 if test "x$ac_ct_READELF" = x; then
7056 READELF="true"
7057 else
7058 case $cross_compiling:$ac_tool_warned in
7059 yes:)
7060 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7061 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7062 ac_tool_warned=yes ;;
7063 esac
7064 READELF=$ac_ct_READELF
7066 else
7067 READELF="$ac_cv_prog_READELF"
7070 wine_rules_file=conf$$rules.make
7071 rm -f $wine_rules_file
7072 ALL_POT_FILES=""
7073 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7074 ALL_TEST_RESOURCES=""
7077 wine_fn_append_file ()
7079 as_fn_append $1 " \\$as_nl $2"
7082 wine_fn_ignore_file ()
7084 case "$1" in
7085 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7086 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7087 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7088 esac
7091 wine_fn_append_rule ()
7093 $as_echo "$1" >>$wine_rules_file
7096 wine_fn_has_flag ()
7098 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7101 wine_fn_depend_rules ()
7103 wine_fn_append_rule \
7104 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7105 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7106 depend: $ac_dir/depend
7107 .PHONY: $ac_dir/depend
7108 $ac_dir/depend: \$(MAKEDEP) dummy
7109 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7112 wine_fn_pot_rules ()
7114 test "x$with_gettextpo" = xyes || return
7116 if wine_fn_has_flag mc
7117 then
7118 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7119 wine_fn_append_rule \
7120 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7121 @cd $ac_dir && \$(MAKE) msg.pot
7122 $ac_dir/msg.pot: tools/wmc include"
7124 if wine_fn_has_flag po
7125 then
7126 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7127 wine_fn_append_rule \
7128 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7129 @cd $ac_dir && \$(MAKE) rsrc.pot
7130 $ac_dir/rsrc.pot: tools/wrc include"
7134 wine_fn_all_rules ()
7136 wine_fn_depend_rules
7137 wine_fn_append_rule \
7138 "all: $ac_dir
7139 .PHONY: $ac_dir
7140 $ac_dir: $ac_dir/Makefile dummy
7141 @cd $ac_dir && \$(MAKE)"
7144 wine_fn_install_rules ()
7146 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7148 wine_fn_append_rule \
7149 ".PHONY: $ac_dir/install $ac_dir/uninstall
7150 $ac_dir/install:: $ac_dir
7151 @cd $ac_dir && \$(MAKE) install
7152 $ac_dir/uninstall:: $ac_dir/Makefile
7153 @cd $ac_dir && \$(MAKE) uninstall
7154 install:: $ac_dir/install
7155 __uninstall__: $ac_dir/uninstall"
7157 if wine_fn_has_flag install-lib
7158 then
7159 wine_fn_append_rule \
7160 ".PHONY: $ac_dir/install-lib
7161 $ac_dir/install-lib:: $ac_dir
7162 @cd $ac_dir && \$(MAKE) install-lib
7163 install-lib:: $ac_dir/install-lib"
7166 if wine_fn_has_flag install-dev
7167 then
7168 wine_fn_append_rule \
7169 ".PHONY: $ac_dir/install-dev
7170 $ac_dir/install-dev:: $ac_dir
7171 @cd $ac_dir && \$(MAKE) install-dev
7172 install-dev:: $ac_dir/install-dev"
7176 wine_fn_clean_rules ()
7178 ac_clean=$@
7179 ac_extraclean="$ac_dir/Makefile"
7180 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7181 case $ac_dir in
7182 */tests) ac_extraclean="$ac_extraclean $ac_dir/testlist.c" ;;
7183 esac
7185 if wine_fn_has_flag clean
7186 then
7187 wine_fn_append_rule \
7188 "__clean__: $ac_dir/clean
7189 .PHONY: $ac_dir/clean
7190 $ac_dir/clean: $ac_dir/Makefile
7191 @cd $ac_dir && \$(MAKE) clean
7192 \$(RM) $ac_extraclean"
7193 else
7194 wine_fn_append_rule \
7195 "__clean__: $ac_dir/clean
7196 .PHONY: $ac_dir/clean
7197 $ac_dir/clean: dummy
7198 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7202 wine_fn_disabled_rules ()
7204 ac_clean=$@
7205 ac_extraclean="$ac_dir/Makefile"
7206 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7208 wine_fn_append_rule \
7209 "__clean__: $ac_dir/clean
7210 .PHONY: $ac_dir/clean
7211 $ac_dir/clean: dummy
7212 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7215 wine_fn_config_makefile ()
7217 ac_dir=$1
7218 ac_enable=$2
7219 ac_flags=$3
7221 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7222 wine_fn_disabled_rules; return
7224 wine_fn_all_rules
7225 wine_fn_install_rules
7226 wine_fn_clean_rules
7229 wine_fn_config_lib ()
7231 ac_name=$1
7232 ac_flags=$2
7233 ac_dir=dlls/$ac_name
7234 ac_deps="include"
7236 if test "x$enable_tools" = xno; then :
7238 else
7239 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7241 wine_fn_all_rules
7242 wine_fn_clean_rules
7244 wine_fn_append_rule \
7245 ".PHONY: $ac_dir/install $ac_dir/uninstall
7246 $ac_dir/install:: $ac_dir
7247 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7248 $ac_dir/uninstall::
7249 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7250 install install-dev:: $ac_dir/install
7251 __uninstall__: $ac_dir/uninstall
7252 __builddeps__: $ac_dir
7253 $ac_dir: $ac_deps"
7256 wine_fn_config_dll ()
7258 ac_name=$1
7259 ac_dir=dlls/$ac_name
7260 ac_enable=$2
7261 ac_flags=$3
7262 ac_implib=${4:-$ac_name}
7263 ac_file=$ac_dir/lib$ac_implib
7264 ac_dll=$ac_name
7265 ac_deps="include"
7266 ac_implibflags=""
7268 if test "x$enable_tools" = xno; then :
7270 else
7271 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7273 case $ac_name in
7274 *16) ac_implibflags=" -m16" ;;
7275 *.*) ;;
7276 *) ac_dll=$ac_dll.dll ;;
7277 esac
7279 ac_clean=
7280 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7281 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7282 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7283 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7285 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7286 if wine_fn_has_flag implib && test "$ac_enable" != enable_win16
7287 then
7288 wine_fn_depend_rules
7289 wine_fn_clean_rules $ac_clean
7290 else
7291 wine_fn_disabled_rules $ac_clean
7292 return
7294 else
7295 wine_fn_all_rules
7296 wine_fn_clean_rules $ac_clean
7297 wine_fn_append_rule \
7298 "$ac_dir: __builddeps__
7299 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7300 @cd $ac_dir && \$(MAKE) \$@
7301 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7302 install install-lib:: $ac_dir/install-lib
7303 __uninstall__: $ac_dir/uninstall"
7304 if test -n "$DLLEXT"
7305 then
7306 wine_fn_append_rule \
7307 "$ac_dir/install-lib:: $ac_dir
7308 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7309 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7310 $ac_dir/uninstall::
7311 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7312 else
7313 wine_fn_append_rule \
7314 "$ac_dir/install-lib:: $ac_dir
7315 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7316 $ac_dir/uninstall::
7317 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7320 wine_fn_pot_rules
7323 if wine_fn_has_flag staticimplib
7324 then
7325 wine_fn_append_rule \
7326 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7327 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7328 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7329 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7330 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7331 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7332 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7333 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7334 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7335 $ac_dir/uninstall::
7336 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7337 install install-dev:: $ac_dir/install-dev
7338 __uninstall__: $ac_dir/uninstall"
7340 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7341 then
7342 wine_fn_append_rule \
7343 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7344 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7345 $ac_dir/uninstall::
7346 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7349 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7350 then
7351 wine_fn_append_rule \
7352 "__builddeps__: $ac_file.cross.a
7353 $ac_file.cross.a: $ac_dir/Makefile dummy
7354 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7357 elif wine_fn_has_flag implib
7358 then
7359 wine_fn_append_rule \
7360 "__builddeps__: $ac_file.$IMPLIBEXT
7361 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7362 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7363 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7364 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7365 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7366 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7367 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7368 $ac_dir/uninstall::
7369 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7370 install install-dev:: $ac_dir/install-dev
7371 __uninstall__: $ac_dir/uninstall"
7372 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7373 then
7374 wine_fn_append_rule \
7375 "__builddeps__: $ac_file.cross.a
7376 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7377 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7380 if test "$ac_name" != "$ac_implib"
7381 then
7382 wine_fn_append_rule \
7383 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7384 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7385 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7386 clean::
7387 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7388 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7389 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7390 then
7391 wine_fn_append_rule \
7392 "__builddeps__: dlls/lib$ac_implib.cross.a
7393 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7394 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7395 clean::
7396 \$(RM) dlls/lib$ac_implib.cross.a"
7397 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7403 wine_fn_config_program ()
7405 ac_name=$1
7406 ac_dir=programs/$ac_name
7407 ac_enable=$2
7408 ac_flags=$3
7409 ac_program=$ac_name
7411 case $ac_name in
7412 *.*) ;;
7413 *) ac_program=$ac_program.exe ;;
7414 esac
7416 ac_clean=
7417 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7418 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7419 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7420 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7422 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7423 wine_fn_disabled_rules $ac_clean; return
7426 wine_fn_all_rules
7427 wine_fn_clean_rules $ac_clean
7428 wine_fn_append_rule "$ac_dir: __builddeps__"
7429 wine_fn_pot_rules
7431 wine_fn_has_flag install || return
7432 wine_fn_append_rule \
7433 ".PHONY: $ac_dir/install $ac_dir/uninstall
7434 install install-lib:: $ac_dir/install
7435 __uninstall__: $ac_dir/uninstall"
7437 if test -n "$DLLEXT"
7438 then
7439 wine_fn_append_rule \
7440 "$ac_dir/install:: $ac_dir
7441 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7442 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7443 $ac_dir/uninstall::
7444 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7446 if test -z "$with_wine64" && wine_fn_has_flag installbin
7447 then
7448 wine_fn_append_rule \
7449 "$ac_dir/install:: __tooldeps__
7450 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7451 $ac_dir/uninstall::
7452 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7454 else
7455 wine_fn_append_rule \
7456 "$ac_dir/install:: $ac_dir
7457 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7458 $ac_dir/uninstall::
7459 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7462 if test -z "$with_wine64" && wine_fn_has_flag manpage
7463 then
7464 wine_fn_append_rule \
7465 "$ac_dir/install:: $ac_dir
7466 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7467 $ac_dir/uninstall::
7468 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7472 wine_fn_config_test ()
7474 ac_dir=$1
7475 ac_name=$2
7476 ac_flags=$3
7478 ac_clean=
7479 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7480 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7482 if test "x$enable_tests" = xno; then :
7483 wine_fn_disabled_rules $ac_clean; return
7486 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7487 wine_fn_all_rules
7488 wine_fn_clean_rules $ac_clean
7490 wine_fn_append_rule \
7491 "$ac_dir: programs/winetest/Makefile __builddeps__
7492 programs/winetest: $ac_dir
7493 check test: $ac_dir/test
7494 .PHONY: $ac_dir/test
7495 $ac_dir/test: dummy
7496 @cd $ac_dir && \$(MAKE) test
7497 testclean::
7498 \$(RM) $ac_dir/*.ok"
7500 if test -n "$CROSSTARGET"
7501 then
7502 wine_fn_append_rule \
7503 "crosstest: $ac_dir/crosstest
7504 .PHONY: $ac_dir/crosstest
7505 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7506 @cd $ac_dir && \$(MAKE) crosstest"
7510 wine_fn_config_tool ()
7512 ac_dir=$1
7513 ac_flags=$2
7514 if test "x$enable_tools" = xno; then :
7515 return
7518 wine_fn_all_rules
7519 wine_fn_install_rules
7520 wine_fn_clean_rules
7522 wine_fn_append_rule "__tooldeps__: $ac_dir"
7523 wine_fn_append_rule "$ac_dir: libs/port"
7524 case $ac_dir in
7525 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7526 esac
7529 wine_fn_config_symlink ()
7531 ac_linkdir=
7532 if test "x$1" = "x-d"
7533 then
7534 ac_linkdir=$2
7535 shift; shift
7537 ac_links=$@
7538 wine_fn_append_rule \
7539 "$ac_links:
7540 @./config.status \$@
7541 distclean::
7542 \$(RM) $ac_links"
7543 for f in $ac_links; do wine_fn_ignore_file $f; done
7544 test -n "$ac_linkdir" || return
7545 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7548 wine_binary="wine"
7549 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7550 loader_programs="$wine_binary wine-installed"
7551 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7553 LOADER_RULES="
7554 all: wine.inf
7556 install install-lib:: wine-installed
7557 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7559 uninstall::
7560 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7564 case $host_os in
7565 cygwin*|mingw32*)
7566 if test -n "$ac_tool_prefix"; then
7567 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7568 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7570 $as_echo_n "checking for $ac_word... " >&6; }
7571 if ${ac_cv_prog_DLLTOOL+:} false; then :
7572 $as_echo_n "(cached) " >&6
7573 else
7574 if test -n "$DLLTOOL"; then
7575 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7576 else
7577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7578 for as_dir in $PATH
7580 IFS=$as_save_IFS
7581 test -z "$as_dir" && as_dir=.
7582 for ac_exec_ext in '' $ac_executable_extensions; do
7583 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7584 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7585 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7586 break 2
7588 done
7589 done
7590 IFS=$as_save_IFS
7594 DLLTOOL=$ac_cv_prog_DLLTOOL
7595 if test -n "$DLLTOOL"; then
7596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7597 $as_echo "$DLLTOOL" >&6; }
7598 else
7599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7600 $as_echo "no" >&6; }
7605 if test -z "$ac_cv_prog_DLLTOOL"; then
7606 ac_ct_DLLTOOL=$DLLTOOL
7607 # Extract the first word of "dlltool", so it can be a program name with args.
7608 set dummy dlltool; ac_word=$2
7609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7610 $as_echo_n "checking for $ac_word... " >&6; }
7611 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7612 $as_echo_n "(cached) " >&6
7613 else
7614 if test -n "$ac_ct_DLLTOOL"; then
7615 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7616 else
7617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7618 for as_dir in $PATH
7620 IFS=$as_save_IFS
7621 test -z "$as_dir" && as_dir=.
7622 for ac_exec_ext in '' $ac_executable_extensions; do
7623 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7624 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7625 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7626 break 2
7628 done
7629 done
7630 IFS=$as_save_IFS
7634 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7635 if test -n "$ac_ct_DLLTOOL"; then
7636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7637 $as_echo "$ac_ct_DLLTOOL" >&6; }
7638 else
7639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7640 $as_echo "no" >&6; }
7643 if test "x$ac_ct_DLLTOOL" = x; then
7644 DLLTOOL="false"
7645 else
7646 case $cross_compiling:$ac_tool_warned in
7647 yes:)
7648 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7649 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7650 ac_tool_warned=yes ;;
7651 esac
7652 DLLTOOL=$ac_ct_DLLTOOL
7654 else
7655 DLLTOOL="$ac_cv_prog_DLLTOOL"
7658 LIBEXT="dll"
7659 DLLEXT=""
7660 IMPLIBEXT="a"
7661 STATIC_IMPLIBEXT="a"
7662 enable_iphlpapi=${enable_iphlpapi:-no}
7663 enable_kernel32=${enable_kernel32:-no}
7664 enable_msvcrt=${enable_msvcrt:-no}
7665 enable_ntdll=${enable_ntdll:-no}
7666 enable_ws2_32=${enable_ws2_32:-no}
7667 enable_loader=${enable_loader:-no}
7668 enable_server=${enable_server:-no}
7669 with_x=${with_x:-no}
7670 with_pthread=${with_pthread:-no}
7672 crtlibs=""
7673 case $host_os in
7674 mingw32*)
7675 crtlibs="-lmsvcrt"
7676 SOCKET_LIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7678 esac
7680 libwine_targets="libwine.dll libwine.a"
7681 LIBWINE_RULES="
7682 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7684 all: libwine.dll libwine.a
7686 libwine.a: \$(srcdir)/wine.def
7687 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7689 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7690 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7692 install install-lib:: libwine.dll
7693 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7695 install install-dev:: libwine.a
7696 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7698 uninstall::
7699 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7704 darwin*|macosx*)
7705 LIBEXT="dylib"
7706 DLLFLAGS="$DLLFLAGS -fPIC"
7707 LIBWINE_LDFLAGS="-multiply_defined suppress"
7708 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7709 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7710 COREFOUNDATION_LIBS="-framework CoreFoundation"
7712 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7714 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7716 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7718 CORESERVICES_LIBS="-framework CoreServices"
7720 APPKIT_LIBS="-framework AppKit"
7722 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7724 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7725 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
7726 $as_echo_n "(cached) " >&6
7727 else
7728 ac_wine_try_cflags_saved=$CFLAGS
7729 CFLAGS="$CFLAGS -Wl,-no_pie"
7730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7731 /* end confdefs.h. */
7732 int main(int argc, char **argv) { return 0; }
7733 _ACEOF
7734 if ac_fn_c_try_link "$LINENO"; then :
7735 ac_cv_cflags__Wl__no_pie=yes
7736 else
7737 ac_cv_cflags__Wl__no_pie=no
7739 rm -f core conftest.err conftest.$ac_objext \
7740 conftest$ac_exeext conftest.$ac_ext
7741 CFLAGS=$ac_wine_try_cflags_saved
7743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7744 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7745 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
7746 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
7748 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7749 then
7750 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
7753 if test "$ac_cv_header_Security_Security_h" = "yes"
7754 then
7755 SECURITY_LIBS="-framework Security -framework CoreFoundation"
7757 ac_save_LIBS="$LIBS"
7758 LIBS="$LIBS $SECURITY_LIBS"
7759 for ac_func in SSLCopyPeerCertificates
7760 do :
7761 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7762 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
7763 cat >>confdefs.h <<_ACEOF
7764 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7765 _ACEOF
7768 done
7770 LIBS="$ac_save_LIBS"
7771 with_gnutls=${with_gnutls:-no}
7773 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7774 then
7775 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7776 then
7777 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7779 else
7780 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7783 ac_save_LIBS="$LIBS"
7784 LIBS="$LIBS $COREAUDIO_LIBS"
7785 for ac_func in AUGraphAddNode
7786 do :
7787 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7788 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
7789 cat >>confdefs.h <<_ACEOF
7790 #define HAVE_AUGRAPHADDNODE 1
7791 _ACEOF
7794 done
7796 LIBS="$ac_save_LIBS"
7798 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7799 then
7800 OPENAL_LIBS="-framework OpenAL"
7803 cat >>confdefs.h <<_ACEOF
7804 #define HAVE_OPENAL 1
7805 _ACEOF
7807 ac_cv_lib_openal=yes
7809 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7810 then
7811 OPENCL_LIBS="-framework OpenCL"
7813 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
7815 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7816 then
7817 ac_save_LIBS="$LIBS"
7818 LIBS="$LIBS $IOKIT_LIBS"
7819 for ac_func in IOHIDManagerCreate
7820 do :
7821 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7822 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
7823 cat >>confdefs.h <<_ACEOF
7824 #define HAVE_IOHIDMANAGERCREATE 1
7825 _ACEOF
7828 done
7830 LIBS="$ac_save_LIBS"
7832 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7833 then
7834 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7836 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
7837 else
7838 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7840 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7841 then
7842 CARBON_LIBS="-framework Carbon"
7846 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7847 then
7848 ac_save_LIBS="$LIBS"
7849 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
7850 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7851 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
7852 enable_winemac_drv=${enable_winemac_drv:-yes}
7855 LIBS="$ac_save_LIBS"
7858 if test "x$enable_win16" = "xyes"
7859 then
7860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7861 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7862 if test "$cross_compiling" = yes; then :
7863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7864 $as_echo "cross-compiling, assuming yes" >&6; }
7865 else
7866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7867 /* end confdefs.h. */
7868 asm(".text\n"
7869 "bad:\tnop;nop\n"
7870 "good:\tnop;nop\n\t"
7871 ".globl _testfunc\n"
7872 "_testfunc:\tcallw good");
7873 extern void testfunc();
7875 main ()
7877 unsigned short *p = (unsigned short *)testfunc;
7878 return p[0] != 0xe866 || p[1] != 0xfffa
7880 return 0;
7882 _ACEOF
7883 if ac_fn_c_try_run "$LINENO"; then :
7884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7885 $as_echo "yes" >&6; }
7886 else
7887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7888 $as_echo "no" >&6; }
7889 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
7891 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7892 conftest.$ac_objext conftest.beam conftest.$ac_ext
7897 libwine_targets="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
7898 LIBWINE_RULES="
7899 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7901 all: libwine.dylib
7903 libwine.$libwine_version.dylib: \$(OBJS)
7904 \$(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 \$@
7906 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
7907 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
7909 libwine.dylib: libwine.$libwine_soversion.dylib
7910 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
7912 install install-lib:: libwine.$libwine_version.dylib
7913 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
7914 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
7916 install install-dev::
7917 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
7919 uninstall::
7920 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
7924 as_fn_append LOADER_RULES "
7925 $wine_binary: main.o wine_info.plist
7926 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7928 wine-installed: main.o wine_info.plist
7929 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7933 linux-android*)
7934 DLLFLAGS="$DLLFLAGS -fPIC"
7935 DLLPREFIX="lib"
7936 LDEXECFLAGS=""
7937 dlldir="\${libdir}"
7938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7939 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7940 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
7941 $as_echo_n "(cached) " >&6
7942 else
7943 ac_wine_try_cflags_saved=$CFLAGS
7944 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
7945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7946 /* end confdefs.h. */
7947 int main(int argc, char **argv) { return 0; }
7948 _ACEOF
7949 if ac_fn_c_try_link "$LINENO"; then :
7950 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
7951 else
7952 ac_cv_cflags__fPIC__Wl___export_dynamic=no
7954 rm -f core conftest.err conftest.$ac_objext \
7955 conftest$ac_exeext conftest.$ac_ext
7956 CFLAGS=$ac_wine_try_cflags_saved
7958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7959 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7960 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
7961 LDEXECFLAGS="-Wl,--export-dynamic"
7963 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7965 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7966 if eval \${$as_ac_var+:} false; then :
7967 $as_echo_n "(cached) " >&6
7968 else
7969 ac_wine_try_cflags_saved=$CFLAGS
7970 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7972 /* end confdefs.h. */
7973 int main(int argc, char **argv) { return 0; }
7974 _ACEOF
7975 if ac_fn_c_try_link "$LINENO"; then :
7976 eval "$as_ac_var=yes"
7977 else
7978 eval "$as_ac_var=no"
7980 rm -f core conftest.err conftest.$ac_objext \
7981 conftest$ac_exeext conftest.$ac_ext
7982 CFLAGS=$ac_wine_try_cflags_saved
7984 eval ac_res=\$$as_ac_var
7985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7986 $as_echo "$ac_res" >&6; }
7987 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
7988 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7989 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7990 else
7991 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7993 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7994 if eval \${$as_ac_var+:} false; then :
7995 $as_echo_n "(cached) " >&6
7996 else
7997 ac_wine_try_cflags_saved=$CFLAGS
7998 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8000 /* end confdefs.h. */
8001 int main(int argc, char **argv) { return 0; }
8002 _ACEOF
8003 if ac_fn_c_try_link "$LINENO"; then :
8004 eval "$as_ac_var=yes"
8005 else
8006 eval "$as_ac_var=no"
8008 rm -f core conftest.err conftest.$ac_objext \
8009 conftest$ac_exeext conftest.$ac_ext
8010 CFLAGS=$ac_wine_try_cflags_saved
8012 eval ac_res=\$$as_ac_var
8013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8014 $as_echo "$ac_res" >&6; }
8015 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8016 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8017 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8022 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8023 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8024 $as_echo_n "(cached) " >&6
8025 else
8026 ac_wine_try_cflags_saved=$CFLAGS
8027 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8029 /* end confdefs.h. */
8030 int main(int argc, char **argv) { return 0; }
8031 _ACEOF
8032 if ac_fn_c_try_link "$LINENO"; then :
8033 ac_cv_cflags__Wl___enable_new_dtags=yes
8034 else
8035 ac_cv_cflags__Wl___enable_new_dtags=no
8037 rm -f core conftest.err conftest.$ac_objext \
8038 conftest$ac_exeext conftest.$ac_ext
8039 CFLAGS=$ac_wine_try_cflags_saved
8041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8042 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8043 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8044 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8047 case $host_cpu in
8048 *i[3456789]86* | x86_64)
8049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8050 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8051 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8052 $as_echo_n "(cached) " >&6
8053 else
8054 ac_wine_try_cflags_saved=$CFLAGS
8055 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8057 /* end confdefs.h. */
8058 int main(int argc, char **argv) { return 0; }
8059 _ACEOF
8060 if ac_fn_c_try_link "$LINENO"; then :
8061 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8062 else
8063 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8065 rm -f core conftest.err conftest.$ac_objext \
8066 conftest$ac_exeext conftest.$ac_ext
8067 CFLAGS=$ac_wine_try_cflags_saved
8069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8070 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8071 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8072 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8075 esac
8077 libwine_targets="libwine.so"
8078 LIBWINE_RULES="
8079 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8081 all: libwine.so
8083 libwine.so: \$(OBJS)
8084 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8086 install install-lib:: libwine.so
8087 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8089 uninstall::
8090 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8094 as_fn_append LOADER_RULES "
8095 $wine_binary: main.o
8096 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8098 wine-installed: main.o
8099 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8104 DLLFLAGS="$DLLFLAGS -fPIC"
8105 LDEXECFLAGS=""
8106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8107 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8108 if ${ac_cv_c_dll_gnuelf+:} false; then :
8109 $as_echo_n "(cached) " >&6
8110 else
8111 ac_wine_try_cflags_saved=$CFLAGS
8112 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8114 /* end confdefs.h. */
8115 void myfunc() {}
8116 _ACEOF
8117 if ac_fn_c_try_link "$LINENO"; then :
8118 ac_cv_c_dll_gnuelf="yes"
8119 else
8120 ac_cv_c_dll_gnuelf="no"
8122 rm -f core conftest.err conftest.$ac_objext \
8123 conftest$ac_exeext conftest.$ac_ext
8124 CFLAGS=$ac_wine_try_cflags_saved
8126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8127 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8128 if test "$ac_cv_c_dll_gnuelf" = "yes"
8129 then
8130 LDSHARED="\$(CC) -shared"
8131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8132 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8133 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8134 $as_echo_n "(cached) " >&6
8135 else
8136 ac_wine_try_cflags_saved=$CFLAGS
8137 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8139 /* end confdefs.h. */
8140 int main(int argc, char **argv) { return 0; }
8141 _ACEOF
8142 if ac_fn_c_try_link "$LINENO"; then :
8143 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8144 else
8145 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8147 rm -f core conftest.err conftest.$ac_objext \
8148 conftest$ac_exeext conftest.$ac_ext
8149 CFLAGS=$ac_wine_try_cflags_saved
8151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8152 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8153 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8154 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8155 else
8156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8157 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8158 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8159 $as_echo_n "(cached) " >&6
8160 else
8161 ac_wine_try_cflags_saved=$CFLAGS
8162 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8164 /* end confdefs.h. */
8165 int main(int argc, char **argv) { return 0; }
8166 _ACEOF
8167 if ac_fn_c_try_link "$LINENO"; then :
8168 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8169 else
8170 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8172 rm -f core conftest.err conftest.$ac_objext \
8173 conftest$ac_exeext conftest.$ac_ext
8174 CFLAGS=$ac_wine_try_cflags_saved
8176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8177 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8178 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8179 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8183 echo '{ global: *; };' >conftest.map
8184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8185 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8186 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8187 $as_echo_n "(cached) " >&6
8188 else
8189 ac_wine_try_cflags_saved=$CFLAGS
8190 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8192 /* end confdefs.h. */
8193 int main(int argc, char **argv) { return 0; }
8194 _ACEOF
8195 if ac_fn_c_try_link "$LINENO"; then :
8196 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8197 else
8198 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8200 rm -f core conftest.err conftest.$ac_objext \
8201 conftest$ac_exeext conftest.$ac_ext
8202 CFLAGS=$ac_wine_try_cflags_saved
8204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8205 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8206 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8207 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8209 rm -f conftest.map
8211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8212 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8213 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8214 $as_echo_n "(cached) " >&6
8215 else
8216 ac_wine_try_cflags_saved=$CFLAGS
8217 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8219 /* end confdefs.h. */
8220 int main(int argc, char **argv) { return 0; }
8221 _ACEOF
8222 if ac_fn_c_try_link "$LINENO"; then :
8223 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8224 else
8225 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8227 rm -f core conftest.err conftest.$ac_objext \
8228 conftest$ac_exeext conftest.$ac_ext
8229 CFLAGS=$ac_wine_try_cflags_saved
8231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8232 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8233 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8234 LDEXECFLAGS="-Wl,--export-dynamic"
8237 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8239 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8240 if eval \${$as_ac_var+:} false; then :
8241 $as_echo_n "(cached) " >&6
8242 else
8243 ac_wine_try_cflags_saved=$CFLAGS
8244 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8246 /* end confdefs.h. */
8247 int main(int argc, char **argv) { return 0; }
8248 _ACEOF
8249 if ac_fn_c_try_link "$LINENO"; then :
8250 eval "$as_ac_var=yes"
8251 else
8252 eval "$as_ac_var=no"
8254 rm -f core conftest.err conftest.$ac_objext \
8255 conftest$ac_exeext conftest.$ac_ext
8256 CFLAGS=$ac_wine_try_cflags_saved
8258 eval ac_res=\$$as_ac_var
8259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8260 $as_echo "$ac_res" >&6; }
8261 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8262 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8263 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8264 else
8265 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8267 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8268 if eval \${$as_ac_var+:} false; then :
8269 $as_echo_n "(cached) " >&6
8270 else
8271 ac_wine_try_cflags_saved=$CFLAGS
8272 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8274 /* end confdefs.h. */
8275 int main(int argc, char **argv) { return 0; }
8276 _ACEOF
8277 if ac_fn_c_try_link "$LINENO"; then :
8278 eval "$as_ac_var=yes"
8279 else
8280 eval "$as_ac_var=no"
8282 rm -f core conftest.err conftest.$ac_objext \
8283 conftest$ac_exeext conftest.$ac_ext
8284 CFLAGS=$ac_wine_try_cflags_saved
8286 eval ac_res=\$$as_ac_var
8287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8288 $as_echo "$ac_res" >&6; }
8289 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8290 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8291 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8296 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8297 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8298 $as_echo_n "(cached) " >&6
8299 else
8300 ac_wine_try_cflags_saved=$CFLAGS
8301 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8303 /* end confdefs.h. */
8304 int main(int argc, char **argv) { return 0; }
8305 _ACEOF
8306 if ac_fn_c_try_link "$LINENO"; then :
8307 ac_cv_cflags__Wl___enable_new_dtags=yes
8308 else
8309 ac_cv_cflags__Wl___enable_new_dtags=no
8311 rm -f core conftest.err conftest.$ac_objext \
8312 conftest$ac_exeext conftest.$ac_ext
8313 CFLAGS=$ac_wine_try_cflags_saved
8315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8316 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8317 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8318 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8321 case $host_cpu in
8322 *i[3456789]86* | x86_64)
8323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8324 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8325 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8326 $as_echo_n "(cached) " >&6
8327 else
8328 ac_wine_try_cflags_saved=$CFLAGS
8329 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8331 /* end confdefs.h. */
8332 int main(int argc, char **argv) { return 0; }
8333 _ACEOF
8334 if ac_fn_c_try_link "$LINENO"; then :
8335 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8336 else
8337 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8339 rm -f core conftest.err conftest.$ac_objext \
8340 conftest$ac_exeext conftest.$ac_ext
8341 CFLAGS=$ac_wine_try_cflags_saved
8343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8344 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8345 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8346 case $host_os in
8347 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8348 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8349 esac
8352 # Extract the first word of "prelink", so it can be a program name with args.
8353 set dummy prelink; ac_word=$2
8354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8355 $as_echo_n "checking for $ac_word... " >&6; }
8356 if ${ac_cv_path_PRELINK+:} false; then :
8357 $as_echo_n "(cached) " >&6
8358 else
8359 case $PRELINK in
8360 [\\/]* | ?:[\\/]*)
8361 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8365 for as_dir in /sbin /usr/sbin $PATH
8367 IFS=$as_save_IFS
8368 test -z "$as_dir" && as_dir=.
8369 for ac_exec_ext in '' $ac_executable_extensions; do
8370 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8371 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8372 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8373 break 2
8375 done
8376 done
8377 IFS=$as_save_IFS
8379 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8381 esac
8383 PRELINK=$ac_cv_path_PRELINK
8384 if test -n "$PRELINK"; then
8385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8386 $as_echo "$PRELINK" >&6; }
8387 else
8388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8389 $as_echo "no" >&6; }
8393 if test "x$PRELINK" = xfalse
8394 then
8395 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
8398 esac
8400 else
8401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8402 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8403 if ${ac_cv_c_dll_unixware+:} false; then :
8404 $as_echo_n "(cached) " >&6
8405 else
8406 ac_wine_try_cflags_saved=$CFLAGS
8407 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8409 /* end confdefs.h. */
8410 void myfunc() {}
8411 _ACEOF
8412 if ac_fn_c_try_link "$LINENO"; then :
8413 ac_cv_c_dll_unixware="yes"
8414 else
8415 ac_cv_c_dll_unixware="no"
8417 rm -f core conftest.err conftest.$ac_objext \
8418 conftest$ac_exeext conftest.$ac_ext
8419 CFLAGS=$ac_wine_try_cflags_saved
8421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8422 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8423 if test "$ac_cv_c_dll_unixware" = "yes"
8424 then
8425 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8428 libwine_targets="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8429 LIBWINE_RULES="
8430 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8432 all: libwine.so
8434 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8435 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8437 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8438 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8440 libwine.so: libwine.so.$libwine_soversion
8441 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8443 install install-lib:: libwine.so.$libwine_version
8444 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8445 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8447 install install-dev::
8448 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8450 uninstall::
8451 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8455 as_fn_append LOADER_RULES "
8456 $wine_binary: main.o
8457 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8459 wine-installed: main.o
8460 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8463 esac
8465 as_fn_append LIBWINE_RULES "
8466 EXTRA_TARGETS = $libwine_targets
8469 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8470 enable_winemac_drv=${enable_winemac_drv:-no}
8472 CROSSTARGET=""
8474 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8475 then
8476 case "$host_cpu" in
8477 i[3456789]86*)
8478 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
8479 mingw32-gcc" ;;
8480 x86_64)
8481 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 " ;;
8483 ac_prefix_list="" ;;
8484 esac
8485 for ac_prog in $ac_prefix_list
8487 # Extract the first word of "$ac_prog", so it can be a program name with args.
8488 set dummy $ac_prog; ac_word=$2
8489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8490 $as_echo_n "checking for $ac_word... " >&6; }
8491 if ${ac_cv_prog_CROSSCC+:} false; then :
8492 $as_echo_n "(cached) " >&6
8493 else
8494 if test -n "$CROSSCC"; then
8495 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8496 else
8497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8498 for as_dir in $PATH
8500 IFS=$as_save_IFS
8501 test -z "$as_dir" && as_dir=.
8502 for ac_exec_ext in '' $ac_executable_extensions; do
8503 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8504 ac_cv_prog_CROSSCC="$ac_prog"
8505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8506 break 2
8508 done
8509 done
8510 IFS=$as_save_IFS
8514 CROSSCC=$ac_cv_prog_CROSSCC
8515 if test -n "$CROSSCC"; then
8516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8517 $as_echo "$CROSSCC" >&6; }
8518 else
8519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8520 $as_echo "no" >&6; }
8524 test -n "$CROSSCC" && break
8525 done
8526 test -n "$CROSSCC" || CROSSCC="false"
8528 if test "$CROSSCC" != "false"
8529 then
8530 ac_save_CC="$CC"
8531 CC="$CROSSCC"
8532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8533 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8535 /* end confdefs.h. */
8538 main ()
8542 return 0;
8544 _ACEOF
8545 if ac_fn_c_try_compile "$LINENO"; then :
8546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8547 $as_echo "yes" >&6; }
8548 set x $CROSSCC
8549 shift
8550 while test $# -ge 1
8552 case "$1" in
8553 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8554 esac
8555 shift
8556 done
8557 else
8558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8559 $as_echo "no" >&6; }
8561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8562 CC="$ac_save_CC"
8567 if test "$ac_cv_header_pthread_h" = "yes"
8568 then
8569 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8570 if test "x$ac_cv_func_pthread_create" = xyes; then :
8572 else
8573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8574 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8575 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8576 $as_echo_n "(cached) " >&6
8577 else
8578 ac_check_lib_save_LIBS=$LIBS
8579 LIBS="-lpthread $LIBS"
8580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8581 /* end confdefs.h. */
8583 /* Override any GCC internal prototype to avoid an error.
8584 Use char because int might match the return type of a GCC
8585 builtin and then its argument prototype would still apply. */
8586 #ifdef __cplusplus
8587 extern "C"
8588 #endif
8589 char pthread_create ();
8591 main ()
8593 return pthread_create ();
8595 return 0;
8597 _ACEOF
8598 if ac_fn_c_try_link "$LINENO"; then :
8599 ac_cv_lib_pthread_pthread_create=yes
8600 else
8601 ac_cv_lib_pthread_pthread_create=no
8603 rm -f core conftest.err conftest.$ac_objext \
8604 conftest$ac_exeext conftest.$ac_ext
8605 LIBS=$ac_check_lib_save_LIBS
8607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8608 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8609 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8610 PTHREAD_LIBS="-lpthread"
8617 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8618 case "x$with_pthread" in
8619 xno) ;;
8620 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8621 Wine cannot support threads without libpthread.
8622 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8623 esac
8627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8628 $as_echo_n "checking for X... " >&6; }
8631 # Check whether --with-x was given.
8632 if test "${with_x+set}" = set; then :
8633 withval=$with_x;
8636 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8637 if test "x$with_x" = xno; then
8638 # The user explicitly disabled X.
8639 have_x=disabled
8640 else
8641 case $x_includes,$x_libraries in #(
8642 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8643 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8644 $as_echo_n "(cached) " >&6
8645 else
8646 # One or both of the vars are not set, and there is no cached value.
8647 ac_x_includes=no ac_x_libraries=no
8648 rm -f -r conftest.dir
8649 if mkdir conftest.dir; then
8650 cd conftest.dir
8651 cat >Imakefile <<'_ACEOF'
8652 incroot:
8653 @echo incroot='${INCROOT}'
8654 usrlibdir:
8655 @echo usrlibdir='${USRLIBDIR}'
8656 libdir:
8657 @echo libdir='${LIBDIR}'
8658 _ACEOF
8659 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8660 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8661 for ac_var in incroot usrlibdir libdir; do
8662 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8663 done
8664 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8665 for ac_extension in a so sl dylib la dll; do
8666 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8667 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8668 ac_im_usrlibdir=$ac_im_libdir; break
8670 done
8671 # Screen out bogus values from the imake configuration. They are
8672 # bogus both because they are the default anyway, and because
8673 # using them would break gcc on systems where it needs fixed includes.
8674 case $ac_im_incroot in
8675 /usr/include) ac_x_includes= ;;
8676 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8677 esac
8678 case $ac_im_usrlibdir in
8679 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8680 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8681 esac
8683 cd ..
8684 rm -f -r conftest.dir
8687 # Standard set of common directories for X headers.
8688 # Check X11 before X11Rn because it is often a symlink to the current release.
8689 ac_x_header_dirs='
8690 /usr/X11/include
8691 /usr/X11R7/include
8692 /usr/X11R6/include
8693 /usr/X11R5/include
8694 /usr/X11R4/include
8696 /usr/include/X11
8697 /usr/include/X11R7
8698 /usr/include/X11R6
8699 /usr/include/X11R5
8700 /usr/include/X11R4
8702 /usr/local/X11/include
8703 /usr/local/X11R7/include
8704 /usr/local/X11R6/include
8705 /usr/local/X11R5/include
8706 /usr/local/X11R4/include
8708 /usr/local/include/X11
8709 /usr/local/include/X11R7
8710 /usr/local/include/X11R6
8711 /usr/local/include/X11R5
8712 /usr/local/include/X11R4
8714 /usr/X386/include
8715 /usr/x386/include
8716 /usr/XFree86/include/X11
8718 /usr/include
8719 /usr/local/include
8720 /usr/unsupported/include
8721 /usr/athena/include
8722 /usr/local/x11r5/include
8723 /usr/lpp/Xamples/include
8725 /usr/openwin/include
8726 /usr/openwin/share/include'
8728 if test "$ac_x_includes" = no; then
8729 # Guess where to find include files, by looking for Xlib.h.
8730 # First, try using that file with no special directory specified.
8731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8732 /* end confdefs.h. */
8733 #include <X11/Xlib.h>
8734 _ACEOF
8735 if ac_fn_c_try_cpp "$LINENO"; then :
8736 # We can compile using X headers with no special include directory.
8737 ac_x_includes=
8738 else
8739 for ac_dir in $ac_x_header_dirs; do
8740 if test -r "$ac_dir/X11/Xlib.h"; then
8741 ac_x_includes=$ac_dir
8742 break
8744 done
8746 rm -f conftest.err conftest.i conftest.$ac_ext
8747 fi # $ac_x_includes = no
8749 if test "$ac_x_libraries" = no; then
8750 # Check for the libraries.
8751 # See if we find them without any special options.
8752 # Don't add to $LIBS permanently.
8753 ac_save_LIBS=$LIBS
8754 LIBS="-lX11 $LIBS"
8755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8756 /* end confdefs.h. */
8757 #include <X11/Xlib.h>
8759 main ()
8761 XrmInitialize ()
8763 return 0;
8765 _ACEOF
8766 if ac_fn_c_try_link "$LINENO"; then :
8767 LIBS=$ac_save_LIBS
8768 # We can link X programs with no special library path.
8769 ac_x_libraries=
8770 else
8771 LIBS=$ac_save_LIBS
8772 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8774 # Don't even attempt the hair of trying to link an X program!
8775 for ac_extension in a so sl dylib la dll; do
8776 if test -r "$ac_dir/libX11.$ac_extension"; then
8777 ac_x_libraries=$ac_dir
8778 break 2
8780 done
8781 done
8783 rm -f core conftest.err conftest.$ac_objext \
8784 conftest$ac_exeext conftest.$ac_ext
8785 fi # $ac_x_libraries = no
8787 case $ac_x_includes,$ac_x_libraries in #(
8788 no,* | *,no | *\'*)
8789 # Didn't find X, or a directory has "'" in its name.
8790 ac_cv_have_x="have_x=no";; #(
8792 # Record where we found X for the cache.
8793 ac_cv_have_x="have_x=yes\
8794 ac_x_includes='$ac_x_includes'\
8795 ac_x_libraries='$ac_x_libraries'"
8796 esac
8798 ;; #(
8799 *) have_x=yes;;
8800 esac
8801 eval "$ac_cv_have_x"
8802 fi # $with_x != no
8804 if test "$have_x" != yes; then
8805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8806 $as_echo "$have_x" >&6; }
8807 no_x=yes
8808 else
8809 # If each of the values was on the command line, it overrides each guess.
8810 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
8811 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
8812 # Update the cache value to reflect the command line values.
8813 ac_cv_have_x="have_x=yes\
8814 ac_x_includes='$x_includes'\
8815 ac_x_libraries='$x_libraries'"
8816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8817 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8820 if test "$no_x" = yes; then
8821 # Not all programs may use this symbol, but it does not hurt to define it.
8823 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8825 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
8826 else
8827 if test -n "$x_includes"; then
8828 X_CFLAGS="$X_CFLAGS -I$x_includes"
8831 # It would also be nice to do this for all -L options, not just this one.
8832 if test -n "$x_libraries"; then
8833 X_LIBS="$X_LIBS -L$x_libraries"
8834 # For Solaris; some versions of Sun CC require a space after -R and
8835 # others require no space. Words are not sufficient . . . .
8836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8837 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8838 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
8839 ac_xsave_c_werror_flag=$ac_c_werror_flag
8840 ac_c_werror_flag=yes
8841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8842 /* end confdefs.h. */
8845 main ()
8849 return 0;
8851 _ACEOF
8852 if ac_fn_c_try_link "$LINENO"; then :
8853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8854 $as_echo "no" >&6; }
8855 X_LIBS="$X_LIBS -R$x_libraries"
8856 else
8857 LIBS="$ac_xsave_LIBS -R $x_libraries"
8858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8859 /* end confdefs.h. */
8862 main ()
8866 return 0;
8868 _ACEOF
8869 if ac_fn_c_try_link "$LINENO"; then :
8870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8871 $as_echo "yes" >&6; }
8872 X_LIBS="$X_LIBS -R $x_libraries"
8873 else
8874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8875 $as_echo "neither works" >&6; }
8877 rm -f core conftest.err conftest.$ac_objext \
8878 conftest$ac_exeext conftest.$ac_ext
8880 rm -f core conftest.err conftest.$ac_objext \
8881 conftest$ac_exeext conftest.$ac_ext
8882 ac_c_werror_flag=$ac_xsave_c_werror_flag
8883 LIBS=$ac_xsave_LIBS
8886 # Check for system-dependent libraries X programs must link with.
8887 # Do this before checking for the system-independent R6 libraries
8888 # (-lICE), since we may need -lsocket or whatever for X linking.
8890 if test "$ISC" = yes; then
8891 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
8892 else
8893 # Martyn Johnson says this is needed for Ultrix, if the X
8894 # libraries were built with DECnet support. And Karl Berry says
8895 # the Alpha needs dnet_stub (dnet does not exist).
8896 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
8897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8898 /* end confdefs.h. */
8900 /* Override any GCC internal prototype to avoid an error.
8901 Use char because int might match the return type of a GCC
8902 builtin and then its argument prototype would still apply. */
8903 #ifdef __cplusplus
8904 extern "C"
8905 #endif
8906 char XOpenDisplay ();
8908 main ()
8910 return XOpenDisplay ();
8912 return 0;
8914 _ACEOF
8915 if ac_fn_c_try_link "$LINENO"; then :
8917 else
8918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8919 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8920 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
8921 $as_echo_n "(cached) " >&6
8922 else
8923 ac_check_lib_save_LIBS=$LIBS
8924 LIBS="-ldnet $LIBS"
8925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8926 /* end confdefs.h. */
8928 /* Override any GCC internal prototype to avoid an error.
8929 Use char because int might match the return type of a GCC
8930 builtin and then its argument prototype would still apply. */
8931 #ifdef __cplusplus
8932 extern "C"
8933 #endif
8934 char dnet_ntoa ();
8936 main ()
8938 return dnet_ntoa ();
8940 return 0;
8942 _ACEOF
8943 if ac_fn_c_try_link "$LINENO"; then :
8944 ac_cv_lib_dnet_dnet_ntoa=yes
8945 else
8946 ac_cv_lib_dnet_dnet_ntoa=no
8948 rm -f core conftest.err conftest.$ac_objext \
8949 conftest$ac_exeext conftest.$ac_ext
8950 LIBS=$ac_check_lib_save_LIBS
8952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8953 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8954 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
8955 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
8958 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
8959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8960 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8961 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
8962 $as_echo_n "(cached) " >&6
8963 else
8964 ac_check_lib_save_LIBS=$LIBS
8965 LIBS="-ldnet_stub $LIBS"
8966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8967 /* end confdefs.h. */
8969 /* Override any GCC internal prototype to avoid an error.
8970 Use char because int might match the return type of a GCC
8971 builtin and then its argument prototype would still apply. */
8972 #ifdef __cplusplus
8973 extern "C"
8974 #endif
8975 char dnet_ntoa ();
8977 main ()
8979 return dnet_ntoa ();
8981 return 0;
8983 _ACEOF
8984 if ac_fn_c_try_link "$LINENO"; then :
8985 ac_cv_lib_dnet_stub_dnet_ntoa=yes
8986 else
8987 ac_cv_lib_dnet_stub_dnet_ntoa=no
8989 rm -f core conftest.err conftest.$ac_objext \
8990 conftest$ac_exeext conftest.$ac_ext
8991 LIBS=$ac_check_lib_save_LIBS
8993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8994 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
8995 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
8996 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9001 rm -f core conftest.err conftest.$ac_objext \
9002 conftest$ac_exeext conftest.$ac_ext
9003 LIBS="$ac_xsave_LIBS"
9005 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9006 # to get the SysV transport functions.
9007 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9008 # needs -lnsl.
9009 # The nsl library prevents programs from opening the X display
9010 # on Irix 5.2, according to T.E. Dickey.
9011 # The functions gethostbyname, getservbyname, and inet_addr are
9012 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9013 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9014 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9018 if test $ac_cv_func_gethostbyname = no; then
9019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9020 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9021 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9022 $as_echo_n "(cached) " >&6
9023 else
9024 ac_check_lib_save_LIBS=$LIBS
9025 LIBS="-lnsl $LIBS"
9026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9027 /* end confdefs.h. */
9029 /* Override any GCC internal prototype to avoid an error.
9030 Use char because int might match the return type of a GCC
9031 builtin and then its argument prototype would still apply. */
9032 #ifdef __cplusplus
9033 extern "C"
9034 #endif
9035 char gethostbyname ();
9037 main ()
9039 return gethostbyname ();
9041 return 0;
9043 _ACEOF
9044 if ac_fn_c_try_link "$LINENO"; then :
9045 ac_cv_lib_nsl_gethostbyname=yes
9046 else
9047 ac_cv_lib_nsl_gethostbyname=no
9049 rm -f core conftest.err conftest.$ac_objext \
9050 conftest$ac_exeext conftest.$ac_ext
9051 LIBS=$ac_check_lib_save_LIBS
9053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9054 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9055 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9056 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9059 if test $ac_cv_lib_nsl_gethostbyname = no; then
9060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9061 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9062 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9063 $as_echo_n "(cached) " >&6
9064 else
9065 ac_check_lib_save_LIBS=$LIBS
9066 LIBS="-lbsd $LIBS"
9067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9068 /* end confdefs.h. */
9070 /* Override any GCC internal prototype to avoid an error.
9071 Use char because int might match the return type of a GCC
9072 builtin and then its argument prototype would still apply. */
9073 #ifdef __cplusplus
9074 extern "C"
9075 #endif
9076 char gethostbyname ();
9078 main ()
9080 return gethostbyname ();
9082 return 0;
9084 _ACEOF
9085 if ac_fn_c_try_link "$LINENO"; then :
9086 ac_cv_lib_bsd_gethostbyname=yes
9087 else
9088 ac_cv_lib_bsd_gethostbyname=no
9090 rm -f core conftest.err conftest.$ac_objext \
9091 conftest$ac_exeext conftest.$ac_ext
9092 LIBS=$ac_check_lib_save_LIBS
9094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9095 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9096 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9097 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9103 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9104 # socket/setsockopt and other routines are undefined under SCO ODT
9105 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9106 # on later versions), says Simon Leinen: it contains gethostby*
9107 # variants that don't use the name server (or something). -lsocket
9108 # must be given before -lnsl if both are needed. We assume that
9109 # if connect needs -lnsl, so does gethostbyname.
9110 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9111 if test "x$ac_cv_func_connect" = xyes; then :
9115 if test $ac_cv_func_connect = no; then
9116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9117 $as_echo_n "checking for connect in -lsocket... " >&6; }
9118 if ${ac_cv_lib_socket_connect+:} false; then :
9119 $as_echo_n "(cached) " >&6
9120 else
9121 ac_check_lib_save_LIBS=$LIBS
9122 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9124 /* end confdefs.h. */
9126 /* Override any GCC internal prototype to avoid an error.
9127 Use char because int might match the return type of a GCC
9128 builtin and then its argument prototype would still apply. */
9129 #ifdef __cplusplus
9130 extern "C"
9131 #endif
9132 char connect ();
9134 main ()
9136 return connect ();
9138 return 0;
9140 _ACEOF
9141 if ac_fn_c_try_link "$LINENO"; then :
9142 ac_cv_lib_socket_connect=yes
9143 else
9144 ac_cv_lib_socket_connect=no
9146 rm -f core conftest.err conftest.$ac_objext \
9147 conftest$ac_exeext conftest.$ac_ext
9148 LIBS=$ac_check_lib_save_LIBS
9150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9151 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9152 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9153 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9158 # Guillermo Gomez says -lposix is necessary on A/UX.
9159 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9160 if test "x$ac_cv_func_remove" = xyes; then :
9164 if test $ac_cv_func_remove = no; then
9165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9166 $as_echo_n "checking for remove in -lposix... " >&6; }
9167 if ${ac_cv_lib_posix_remove+:} false; then :
9168 $as_echo_n "(cached) " >&6
9169 else
9170 ac_check_lib_save_LIBS=$LIBS
9171 LIBS="-lposix $LIBS"
9172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9173 /* end confdefs.h. */
9175 /* Override any GCC internal prototype to avoid an error.
9176 Use char because int might match the return type of a GCC
9177 builtin and then its argument prototype would still apply. */
9178 #ifdef __cplusplus
9179 extern "C"
9180 #endif
9181 char remove ();
9183 main ()
9185 return remove ();
9187 return 0;
9189 _ACEOF
9190 if ac_fn_c_try_link "$LINENO"; then :
9191 ac_cv_lib_posix_remove=yes
9192 else
9193 ac_cv_lib_posix_remove=no
9195 rm -f core conftest.err conftest.$ac_objext \
9196 conftest$ac_exeext conftest.$ac_ext
9197 LIBS=$ac_check_lib_save_LIBS
9199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9200 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9201 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9202 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9207 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9208 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9209 if test "x$ac_cv_func_shmat" = xyes; then :
9213 if test $ac_cv_func_shmat = no; then
9214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9215 $as_echo_n "checking for shmat in -lipc... " >&6; }
9216 if ${ac_cv_lib_ipc_shmat+:} false; then :
9217 $as_echo_n "(cached) " >&6
9218 else
9219 ac_check_lib_save_LIBS=$LIBS
9220 LIBS="-lipc $LIBS"
9221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9222 /* end confdefs.h. */
9224 /* Override any GCC internal prototype to avoid an error.
9225 Use char because int might match the return type of a GCC
9226 builtin and then its argument prototype would still apply. */
9227 #ifdef __cplusplus
9228 extern "C"
9229 #endif
9230 char shmat ();
9232 main ()
9234 return shmat ();
9236 return 0;
9238 _ACEOF
9239 if ac_fn_c_try_link "$LINENO"; then :
9240 ac_cv_lib_ipc_shmat=yes
9241 else
9242 ac_cv_lib_ipc_shmat=no
9244 rm -f core conftest.err conftest.$ac_objext \
9245 conftest$ac_exeext conftest.$ac_ext
9246 LIBS=$ac_check_lib_save_LIBS
9248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9249 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9250 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9251 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9257 # Check for libraries that X11R6 Xt/Xaw programs need.
9258 ac_save_LDFLAGS=$LDFLAGS
9259 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9260 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9261 # check for ICE first), but we must link in the order -lSM -lICE or
9262 # we get undefined symbols. So assume we have SM if we have ICE.
9263 # These have to be linked with before -lX11, unlike the other
9264 # libraries we check for below, so use a different variable.
9265 # John Interrante, Karl Berry
9266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9267 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9268 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9269 $as_echo_n "(cached) " >&6
9270 else
9271 ac_check_lib_save_LIBS=$LIBS
9272 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9274 /* end confdefs.h. */
9276 /* Override any GCC internal prototype to avoid an error.
9277 Use char because int might match the return type of a GCC
9278 builtin and then its argument prototype would still apply. */
9279 #ifdef __cplusplus
9280 extern "C"
9281 #endif
9282 char IceConnectionNumber ();
9284 main ()
9286 return IceConnectionNumber ();
9288 return 0;
9290 _ACEOF
9291 if ac_fn_c_try_link "$LINENO"; then :
9292 ac_cv_lib_ICE_IceConnectionNumber=yes
9293 else
9294 ac_cv_lib_ICE_IceConnectionNumber=no
9296 rm -f core conftest.err conftest.$ac_objext \
9297 conftest$ac_exeext conftest.$ac_ext
9298 LIBS=$ac_check_lib_save_LIBS
9300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9301 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9302 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9303 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9306 LDFLAGS=$ac_save_LDFLAGS
9311 if test "$have_x" = "yes"
9312 then
9313 ac_save_CPPFLAGS="$CPPFLAGS"
9314 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9317 $as_echo_n "checking for -lX11... " >&6; }
9318 if ${ac_cv_lib_soname_X11+:} false; then :
9319 $as_echo_n "(cached) " >&6
9320 else
9321 ac_check_soname_save_LIBS=$LIBS
9322 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9324 /* end confdefs.h. */
9326 /* Override any GCC internal prototype to avoid an error.
9327 Use char because int might match the return type of a GCC
9328 builtin and then its argument prototype would still apply. */
9329 #ifdef __cplusplus
9330 extern "C"
9331 #endif
9332 char XCreateWindow ();
9334 main ()
9336 return XCreateWindow ();
9338 return 0;
9340 _ACEOF
9341 if ac_fn_c_try_link "$LINENO"; then :
9342 case "$LIBEXT" in
9343 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9344 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'` ;;
9345 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9346 if ${ac_cv_lib_soname_X11:+false} :; then :
9347 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9348 fi ;;
9349 esac
9351 rm -f core conftest.err conftest.$ac_objext \
9352 conftest$ac_exeext conftest.$ac_ext
9353 LIBS=$ac_check_soname_save_LIBS
9355 if ${ac_cv_lib_soname_X11:+false} :; then :
9356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9357 $as_echo "not found" >&6; }
9359 else
9360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9361 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9363 cat >>confdefs.h <<_ACEOF
9364 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9365 _ACEOF
9369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9370 $as_echo_n "checking for -lXext... " >&6; }
9371 if ${ac_cv_lib_soname_Xext+:} false; then :
9372 $as_echo_n "(cached) " >&6
9373 else
9374 ac_check_soname_save_LIBS=$LIBS
9375 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9377 /* end confdefs.h. */
9379 /* Override any GCC internal prototype to avoid an error.
9380 Use char because int might match the return type of a GCC
9381 builtin and then its argument prototype would still apply. */
9382 #ifdef __cplusplus
9383 extern "C"
9384 #endif
9385 char XextCreateExtension ();
9387 main ()
9389 return XextCreateExtension ();
9391 return 0;
9393 _ACEOF
9394 if ac_fn_c_try_link "$LINENO"; then :
9395 case "$LIBEXT" in
9396 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9397 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'` ;;
9398 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9399 if ${ac_cv_lib_soname_Xext:+false} :; then :
9400 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9401 fi ;;
9402 esac
9404 rm -f core conftest.err conftest.$ac_objext \
9405 conftest$ac_exeext conftest.$ac_ext
9406 LIBS=$ac_check_soname_save_LIBS
9408 if ${ac_cv_lib_soname_Xext:+false} :; then :
9409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9410 $as_echo "not found" >&6; }
9412 else
9413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9414 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9416 cat >>confdefs.h <<_ACEOF
9417 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9418 _ACEOF
9420 X_LIBS="$X_LIBS -lXext"
9422 X_LIBS="$X_LIBS -lX11"
9424 for ac_header in X11/Xlib.h \
9425 X11/XKBlib.h \
9426 X11/Xutil.h \
9427 X11/Xcursor/Xcursor.h \
9428 X11/extensions/shape.h \
9429 X11/extensions/XInput.h \
9430 X11/extensions/XInput2.h \
9431 X11/extensions/XShm.h \
9432 X11/extensions/Xcomposite.h \
9433 X11/extensions/Xinerama.h \
9434 X11/extensions/Xrandr.h \
9435 X11/extensions/Xrender.h \
9436 X11/extensions/xf86vmode.h \
9437 X11/extensions/xf86vmproto.h
9438 do :
9439 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9440 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9441 # include <X11/Xlib.h>
9442 #endif
9443 #ifdef HAVE_X11_XUTIL_H
9444 # include <X11/Xutil.h>
9445 #endif
9447 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9448 cat >>confdefs.h <<_ACEOF
9449 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9450 _ACEOF
9454 done
9457 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9458 then
9459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9460 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9461 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9462 $as_echo_n "(cached) " >&6
9463 else
9464 ac_check_lib_save_LIBS=$LIBS
9465 LIBS="-lX11 $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 XkbQueryExtension ();
9477 main ()
9479 return XkbQueryExtension ();
9481 return 0;
9483 _ACEOF
9484 if ac_fn_c_try_link "$LINENO"; then :
9485 ac_cv_lib_X11_XkbQueryExtension=yes
9486 else
9487 ac_cv_lib_X11_XkbQueryExtension=no
9489 rm -f core conftest.err conftest.$ac_objext \
9490 conftest$ac_exeext conftest.$ac_ext
9491 LIBS=$ac_check_lib_save_LIBS
9493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9494 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9495 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9497 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9503 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9504 then
9505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9506 $as_echo_n "checking for -lXcursor... " >&6; }
9507 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9508 $as_echo_n "(cached) " >&6
9509 else
9510 ac_check_soname_save_LIBS=$LIBS
9511 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9513 /* end confdefs.h. */
9515 /* Override any GCC internal prototype to avoid an error.
9516 Use char because int might match the return type of a GCC
9517 builtin and then its argument prototype would still apply. */
9518 #ifdef __cplusplus
9519 extern "C"
9520 #endif
9521 char XcursorImageLoadCursor ();
9523 main ()
9525 return XcursorImageLoadCursor ();
9527 return 0;
9529 _ACEOF
9530 if ac_fn_c_try_link "$LINENO"; then :
9531 case "$LIBEXT" in
9532 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9533 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'` ;;
9534 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9535 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9536 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9537 fi ;;
9538 esac
9540 rm -f core conftest.err conftest.$ac_objext \
9541 conftest$ac_exeext conftest.$ac_ext
9542 LIBS=$ac_check_soname_save_LIBS
9544 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9546 $as_echo "not found" >&6; }
9548 else
9549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9550 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9552 cat >>confdefs.h <<_ACEOF
9553 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9554 _ACEOF
9559 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9560 case "x$with_xcursor" in
9561 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9562 xno) ;;
9563 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9564 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9565 esac
9568 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9569 then
9570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9571 $as_echo_n "checking for -lXi... " >&6; }
9572 if ${ac_cv_lib_soname_Xi+:} false; then :
9573 $as_echo_n "(cached) " >&6
9574 else
9575 ac_check_soname_save_LIBS=$LIBS
9576 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9578 /* end confdefs.h. */
9580 /* Override any GCC internal prototype to avoid an error.
9581 Use char because int might match the return type of a GCC
9582 builtin and then its argument prototype would still apply. */
9583 #ifdef __cplusplus
9584 extern "C"
9585 #endif
9586 char XOpenDevice ();
9588 main ()
9590 return XOpenDevice ();
9592 return 0;
9594 _ACEOF
9595 if ac_fn_c_try_link "$LINENO"; then :
9596 case "$LIBEXT" in
9597 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9598 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'` ;;
9599 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9600 if ${ac_cv_lib_soname_Xi:+false} :; then :
9601 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9602 fi ;;
9603 esac
9605 rm -f core conftest.err conftest.$ac_objext \
9606 conftest$ac_exeext conftest.$ac_ext
9607 LIBS=$ac_check_soname_save_LIBS
9609 if ${ac_cv_lib_soname_Xi:+false} :; then :
9610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9611 $as_echo "not found" >&6; }
9613 else
9614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9615 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9617 cat >>confdefs.h <<_ACEOF
9618 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9619 _ACEOF
9624 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9625 case "x$with_xinput" in
9626 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9627 xno) ;;
9628 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9629 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9630 esac
9633 if test "x$ac_cv_lib_soname_Xi" != x
9634 then
9635 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9636 case "x$with_xinput2" in
9637 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9638 xno) ;;
9639 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9640 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9641 esac
9645 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9646 then
9647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9648 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9649 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9650 $as_echo_n "(cached) " >&6
9651 else
9652 ac_check_lib_save_LIBS=$LIBS
9653 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9655 /* end confdefs.h. */
9657 /* Override any GCC internal prototype to avoid an error.
9658 Use char because int might match the return type of a GCC
9659 builtin and then its argument prototype would still apply. */
9660 #ifdef __cplusplus
9661 extern "C"
9662 #endif
9663 char XShmQueryExtension ();
9665 main ()
9667 return XShmQueryExtension ();
9669 return 0;
9671 _ACEOF
9672 if ac_fn_c_try_link "$LINENO"; then :
9673 ac_cv_lib_Xext_XShmQueryExtension=yes
9674 else
9675 ac_cv_lib_Xext_XShmQueryExtension=no
9677 rm -f core conftest.err conftest.$ac_objext \
9678 conftest$ac_exeext conftest.$ac_ext
9679 LIBS=$ac_check_lib_save_LIBS
9681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9682 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9683 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9685 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9690 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9691 case "x$with_xshm" in
9692 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9693 xno) ;;
9694 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9695 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9696 esac
9699 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9700 then
9701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9702 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9703 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9704 $as_echo_n "(cached) " >&6
9705 else
9706 ac_check_lib_save_LIBS=$LIBS
9707 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9709 /* end confdefs.h. */
9711 /* Override any GCC internal prototype to avoid an error.
9712 Use char because int might match the return type of a GCC
9713 builtin and then its argument prototype would still apply. */
9714 #ifdef __cplusplus
9715 extern "C"
9716 #endif
9717 char XShapeQueryExtension ();
9719 main ()
9721 return XShapeQueryExtension ();
9723 return 0;
9725 _ACEOF
9726 if ac_fn_c_try_link "$LINENO"; then :
9727 ac_cv_lib_Xext_XShapeQueryExtension=yes
9728 else
9729 ac_cv_lib_Xext_XShapeQueryExtension=no
9731 rm -f core conftest.err conftest.$ac_objext \
9732 conftest$ac_exeext conftest.$ac_ext
9733 LIBS=$ac_check_lib_save_LIBS
9735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9736 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9737 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9739 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9744 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9745 case "x$with_xshape" in
9746 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9747 xno) ;;
9748 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
9749 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9750 esac
9753 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9754 then
9755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9756 $as_echo_n "checking for -lXxf86vm... " >&6; }
9757 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
9758 $as_echo_n "(cached) " >&6
9759 else
9760 ac_check_soname_save_LIBS=$LIBS
9761 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9763 /* end confdefs.h. */
9765 /* Override any GCC internal prototype to avoid an error.
9766 Use char because int might match the return type of a GCC
9767 builtin and then its argument prototype would still apply. */
9768 #ifdef __cplusplus
9769 extern "C"
9770 #endif
9771 char XF86VidModeQueryExtension ();
9773 main ()
9775 return XF86VidModeQueryExtension ();
9777 return 0;
9779 _ACEOF
9780 if ac_fn_c_try_link "$LINENO"; then :
9781 case "$LIBEXT" in
9782 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9783 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'` ;;
9784 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9785 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9786 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9787 fi ;;
9788 esac
9790 rm -f core conftest.err conftest.$ac_objext \
9791 conftest$ac_exeext conftest.$ac_ext
9792 LIBS=$ac_check_soname_save_LIBS
9794 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9796 $as_echo "not found" >&6; }
9798 else
9799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9800 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9802 cat >>confdefs.h <<_ACEOF
9803 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9804 _ACEOF
9809 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9810 case "x$with_xxf86vm" in
9811 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9812 xno) ;;
9813 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9814 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9815 esac
9818 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"
9819 then
9820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9821 $as_echo_n "checking for -lXrender... " >&6; }
9822 if ${ac_cv_lib_soname_Xrender+:} false; then :
9823 $as_echo_n "(cached) " >&6
9824 else
9825 ac_check_soname_save_LIBS=$LIBS
9826 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9828 /* end confdefs.h. */
9830 /* Override any GCC internal prototype to avoid an error.
9831 Use char because int might match the return type of a GCC
9832 builtin and then its argument prototype would still apply. */
9833 #ifdef __cplusplus
9834 extern "C"
9835 #endif
9836 char XRenderQueryExtension ();
9838 main ()
9840 return XRenderQueryExtension ();
9842 return 0;
9844 _ACEOF
9845 if ac_fn_c_try_link "$LINENO"; then :
9846 case "$LIBEXT" in
9847 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9848 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'` ;;
9849 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9850 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9851 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9852 fi ;;
9853 esac
9855 rm -f core conftest.err conftest.$ac_objext \
9856 conftest$ac_exeext conftest.$ac_ext
9857 LIBS=$ac_check_soname_save_LIBS
9859 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9861 $as_echo "not found" >&6; }
9863 else
9864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9865 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9867 cat >>confdefs.h <<_ACEOF
9868 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9869 _ACEOF
9871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9872 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9873 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
9874 $as_echo_n "(cached) " >&6
9875 else
9876 ac_check_lib_save_LIBS=$LIBS
9877 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9879 /* end confdefs.h. */
9881 /* Override any GCC internal prototype to avoid an error.
9882 Use char because int might match the return type of a GCC
9883 builtin and then its argument prototype would still apply. */
9884 #ifdef __cplusplus
9885 extern "C"
9886 #endif
9887 char XRenderSetPictureTransform ();
9889 main ()
9891 return XRenderSetPictureTransform ();
9893 return 0;
9895 _ACEOF
9896 if ac_fn_c_try_link "$LINENO"; then :
9897 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9898 else
9899 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9901 rm -f core conftest.err conftest.$ac_objext \
9902 conftest$ac_exeext conftest.$ac_ext
9903 LIBS=$ac_check_lib_save_LIBS
9905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9906 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9907 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
9909 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9914 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9915 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
9916 $as_echo_n "(cached) " >&6
9917 else
9918 ac_check_lib_save_LIBS=$LIBS
9919 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9921 /* end confdefs.h. */
9923 /* Override any GCC internal prototype to avoid an error.
9924 Use char because int might match the return type of a GCC
9925 builtin and then its argument prototype would still apply. */
9926 #ifdef __cplusplus
9927 extern "C"
9928 #endif
9929 char XRenderCreateLinearGradient ();
9931 main ()
9933 return XRenderCreateLinearGradient ();
9935 return 0;
9937 _ACEOF
9938 if ac_fn_c_try_link "$LINENO"; then :
9939 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
9940 else
9941 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
9943 rm -f core conftest.err conftest.$ac_objext \
9944 conftest$ac_exeext conftest.$ac_ext
9945 LIBS=$ac_check_lib_save_LIBS
9947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9948 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9949 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
9951 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9958 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9959 case "x$with_xrender" in
9960 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9961 xno) ;;
9962 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
9963 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9964 esac
9967 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9968 then
9969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9970 /* end confdefs.h. */
9971 #include <X11/Xlib.h>
9972 #include <X11/extensions/Xrandr.h>
9974 main ()
9976 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9978 return 0;
9980 _ACEOF
9981 if ac_fn_c_try_compile "$LINENO"; then :
9982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9983 $as_echo_n "checking for -lXrandr... " >&6; }
9984 if ${ac_cv_lib_soname_Xrandr+:} false; then :
9985 $as_echo_n "(cached) " >&6
9986 else
9987 ac_check_soname_save_LIBS=$LIBS
9988 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
9989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9990 /* end confdefs.h. */
9992 /* Override any GCC internal prototype to avoid an error.
9993 Use char because int might match the return type of a GCC
9994 builtin and then its argument prototype would still apply. */
9995 #ifdef __cplusplus
9996 extern "C"
9997 #endif
9998 char XRRQueryExtension ();
10000 main ()
10002 return XRRQueryExtension ();
10004 return 0;
10006 _ACEOF
10007 if ac_fn_c_try_link "$LINENO"; then :
10008 case "$LIBEXT" in
10009 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10010 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'` ;;
10011 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10012 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10013 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10014 fi ;;
10015 esac
10017 rm -f core conftest.err conftest.$ac_objext \
10018 conftest$ac_exeext conftest.$ac_ext
10019 LIBS=$ac_check_soname_save_LIBS
10021 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10023 $as_echo "not found" >&6; }
10025 else
10026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10027 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10029 cat >>confdefs.h <<_ACEOF
10030 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10031 _ACEOF
10033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10034 /* end confdefs.h. */
10035 #include <X11/Xlib.h>
10036 #include <X11/extensions/Xrandr.h>
10038 main ()
10040 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10042 return 0;
10044 _ACEOF
10045 if ac_fn_c_try_compile "$LINENO"; then :
10047 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10055 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10056 case "x$with_xrandr" in
10057 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10058 xno) ;;
10059 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10060 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10061 esac
10064 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10065 then
10066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10067 /* end confdefs.h. */
10068 #include <X11/Xlib.h>
10069 #include <X11/extensions/Xinerama.h>
10071 main ()
10073 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10075 return 0;
10077 _ACEOF
10078 if ac_fn_c_try_compile "$LINENO"; then :
10079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10080 $as_echo_n "checking for -lXinerama... " >&6; }
10081 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10082 $as_echo_n "(cached) " >&6
10083 else
10084 ac_check_soname_save_LIBS=$LIBS
10085 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10087 /* end confdefs.h. */
10089 /* Override any GCC internal prototype to avoid an error.
10090 Use char because int might match the return type of a GCC
10091 builtin and then its argument prototype would still apply. */
10092 #ifdef __cplusplus
10093 extern "C"
10094 #endif
10095 char XineramaQueryScreens ();
10097 main ()
10099 return XineramaQueryScreens ();
10101 return 0;
10103 _ACEOF
10104 if ac_fn_c_try_link "$LINENO"; then :
10105 case "$LIBEXT" in
10106 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10107 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'` ;;
10108 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10109 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10110 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10111 fi ;;
10112 esac
10114 rm -f core conftest.err conftest.$ac_objext \
10115 conftest$ac_exeext conftest.$ac_ext
10116 LIBS=$ac_check_soname_save_LIBS
10118 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10120 $as_echo "not found" >&6; }
10122 else
10123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10124 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10126 cat >>confdefs.h <<_ACEOF
10127 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10128 _ACEOF
10133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10135 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10136 case "x$with_xinerama" in
10137 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10138 xno) ;;
10139 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10140 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10141 esac
10144 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10145 then
10146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10147 $as_echo_n "checking for -lXcomposite... " >&6; }
10148 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10149 $as_echo_n "(cached) " >&6
10150 else
10151 ac_check_soname_save_LIBS=$LIBS
10152 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10154 /* end confdefs.h. */
10156 /* Override any GCC internal prototype to avoid an error.
10157 Use char because int might match the return type of a GCC
10158 builtin and then its argument prototype would still apply. */
10159 #ifdef __cplusplus
10160 extern "C"
10161 #endif
10162 char XCompositeRedirectWindow ();
10164 main ()
10166 return XCompositeRedirectWindow ();
10168 return 0;
10170 _ACEOF
10171 if ac_fn_c_try_link "$LINENO"; then :
10172 case "$LIBEXT" in
10173 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10174 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'` ;;
10175 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10176 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10177 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10178 fi ;;
10179 esac
10181 rm -f core conftest.err conftest.$ac_objext \
10182 conftest$ac_exeext conftest.$ac_ext
10183 LIBS=$ac_check_soname_save_LIBS
10185 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10187 $as_echo "not found" >&6; }
10189 else
10190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10191 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10193 cat >>confdefs.h <<_ACEOF
10194 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10195 _ACEOF
10200 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10201 case "x$with_xcomposite" in
10202 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10203 xno) ;;
10204 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10205 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10206 esac
10209 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10210 #include <X11/Xlib.h>
10211 #endif
10213 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10215 cat >>confdefs.h <<_ACEOF
10216 #define HAVE_XICCALLBACK_CALLBACK 1
10217 _ACEOF
10221 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10222 #include <X11/Xlib.h>
10223 #endif
10225 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10227 cat >>confdefs.h <<_ACEOF
10228 #define HAVE_XEVENT_XCOOKIE 1
10229 _ACEOF
10236 opengl_msg=""
10237 if test "x$with_opengl" != "xno"
10238 then
10239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10240 $as_echo_n "checking for -lGL... " >&6; }
10241 if ${ac_cv_lib_soname_GL+:} false; then :
10242 $as_echo_n "(cached) " >&6
10243 else
10244 ac_check_soname_save_LIBS=$LIBS
10245 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10247 /* end confdefs.h. */
10249 /* Override any GCC internal prototype to avoid an error.
10250 Use char because int might match the return type of a GCC
10251 builtin and then its argument prototype would still apply. */
10252 #ifdef __cplusplus
10253 extern "C"
10254 #endif
10255 char glXCreateContext ();
10257 main ()
10259 return glXCreateContext ();
10261 return 0;
10263 _ACEOF
10264 if ac_fn_c_try_link "$LINENO"; then :
10265 case "$LIBEXT" in
10266 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10267 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'` ;;
10268 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10269 if ${ac_cv_lib_soname_GL:+false} :; then :
10270 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10271 fi ;;
10272 esac
10274 rm -f core conftest.err conftest.$ac_objext \
10275 conftest$ac_exeext conftest.$ac_ext
10276 LIBS=$ac_check_soname_save_LIBS
10278 if ${ac_cv_lib_soname_GL:+false} :; then :
10279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10280 $as_echo "not found" >&6; }
10281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10282 $as_echo_n "checking for -lGL... " >&6; }
10283 if ${ac_cv_lib_soname_GL+:} false; then :
10284 $as_echo_n "(cached) " >&6
10285 else
10286 ac_check_soname_save_LIBS=$LIBS
10287 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"
10288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10289 /* end confdefs.h. */
10291 /* Override any GCC internal prototype to avoid an error.
10292 Use char because int might match the return type of a GCC
10293 builtin and then its argument prototype would still apply. */
10294 #ifdef __cplusplus
10295 extern "C"
10296 #endif
10297 char glXCreateContext ();
10299 main ()
10301 return glXCreateContext ();
10303 return 0;
10305 _ACEOF
10306 if ac_fn_c_try_link "$LINENO"; then :
10307 case "$LIBEXT" in
10308 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10309 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'` ;;
10310 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10311 if ${ac_cv_lib_soname_GL:+false} :; then :
10312 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10313 fi ;;
10314 esac
10316 rm -f core conftest.err conftest.$ac_objext \
10317 conftest$ac_exeext conftest.$ac_ext
10318 LIBS=$ac_check_soname_save_LIBS
10320 if ${ac_cv_lib_soname_GL:+false} :; then :
10321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10322 $as_echo "not found" >&6; }
10323 if test -f /usr/X11R6/lib/libGL.a
10324 then
10325 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10326 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10327 else
10328 opengl_msg="No OpenGL library found on this system."
10330 else
10331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10332 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10334 cat >>confdefs.h <<_ACEOF
10335 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10336 _ACEOF
10338 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"
10340 else
10341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10342 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10344 cat >>confdefs.h <<_ACEOF
10345 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10346 _ACEOF
10348 OPENGL_LIBS="-lGL"
10350 if test "x$with_glu" != "xno"
10351 then
10352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10353 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10354 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10355 $as_echo_n "(cached) " >&6
10356 else
10357 ac_check_lib_save_LIBS=$LIBS
10358 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10360 /* end confdefs.h. */
10362 /* Override any GCC internal prototype to avoid an error.
10363 Use char because int might match the return type of a GCC
10364 builtin and then its argument prototype would still apply. */
10365 #ifdef __cplusplus
10366 extern "C"
10367 #endif
10368 char gluLookAt ();
10370 main ()
10372 return gluLookAt ();
10374 return 0;
10376 _ACEOF
10377 if ac_fn_c_try_link "$LINENO"; then :
10378 ac_cv_lib_GLU_gluLookAt=yes
10379 else
10380 ac_cv_lib_GLU_gluLookAt=no
10382 rm -f core conftest.err conftest.$ac_objext \
10383 conftest$ac_exeext conftest.$ac_ext
10384 LIBS=$ac_check_lib_save_LIBS
10386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10387 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10388 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10392 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10393 case "x$with_glu" in
10394 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10395 xno) ;;
10396 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10397 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10398 esac
10402 if test "x$with_osmesa" != "xno"
10403 then
10404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10405 $as_echo_n "checking for -lOSMesa... " >&6; }
10406 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10407 $as_echo_n "(cached) " >&6
10408 else
10409 ac_check_soname_save_LIBS=$LIBS
10410 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10412 /* end confdefs.h. */
10414 /* Override any GCC internal prototype to avoid an error.
10415 Use char because int might match the return type of a GCC
10416 builtin and then its argument prototype would still apply. */
10417 #ifdef __cplusplus
10418 extern "C"
10419 #endif
10420 char glAccum ();
10422 main ()
10424 return glAccum ();
10426 return 0;
10428 _ACEOF
10429 if ac_fn_c_try_link "$LINENO"; then :
10430 case "$LIBEXT" in
10431 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10432 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'` ;;
10433 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10434 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10435 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10436 fi ;;
10437 esac
10439 rm -f core conftest.err conftest.$ac_objext \
10440 conftest$ac_exeext conftest.$ac_ext
10441 LIBS=$ac_check_soname_save_LIBS
10443 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10445 $as_echo "not found" >&6; }
10447 else
10448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10449 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10451 cat >>confdefs.h <<_ACEOF
10452 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10453 _ACEOF
10457 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10458 case "x$with_osmesa" in
10459 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10460 xno) ;;
10461 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10462 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10463 esac
10467 if test -n "$opengl_msg"; then :
10468 case "x$with_opengl" in
10469 x) as_fn_append wine_warnings "|$opengl_msg
10470 OpenGL and Direct3D won't be supported." ;;
10471 xno) ;;
10472 *) as_fn_error $? "$opengl_msg
10473 OpenGL and Direct3D won't be supported.
10474 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10475 esac
10478 CPPFLAGS="$ac_save_CPPFLAGS"
10479 else
10480 X_CFLAGS=""
10481 X_LIBS=""
10482 enable_winex11_drv=${enable_winex11_drv:-no}
10484 if test "x$X_LIBS" = "x"; then :
10485 case "x$with_x" in
10486 xno) ;;
10487 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10488 without X support, which probably isn't what you want. You will need
10489 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10490 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10491 esac
10494 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10496 if test "$ac_cv_header_CL_cl_h" = "yes"
10497 then
10498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10499 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10500 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10501 $as_echo_n "(cached) " >&6
10502 else
10503 ac_check_lib_save_LIBS=$LIBS
10504 LIBS="-lOpenCL $LIBS"
10505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10506 /* end confdefs.h. */
10508 /* Override any GCC internal prototype to avoid an error.
10509 Use char because int might match the return type of a GCC
10510 builtin and then its argument prototype would still apply. */
10511 #ifdef __cplusplus
10512 extern "C"
10513 #endif
10514 char clGetPlatformInfo ();
10516 main ()
10518 return clGetPlatformInfo ();
10520 return 0;
10522 _ACEOF
10523 if ac_fn_c_try_link "$LINENO"; then :
10524 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10525 else
10526 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10528 rm -f core conftest.err conftest.$ac_objext \
10529 conftest$ac_exeext conftest.$ac_ext
10530 LIBS=$ac_check_lib_save_LIBS
10532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10533 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10534 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10535 OPENCL_LIBS="-lOpenCL"
10540 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10541 case "x$with_opencl" in
10542 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10543 xno) ;;
10544 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10545 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10546 esac
10548 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10550 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10551 then
10552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10553 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10554 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10555 $as_echo_n "(cached) " >&6
10556 else
10557 ac_check_lib_save_LIBS=$LIBS
10558 LIBS="-lpcap $LIBS"
10559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10560 /* end confdefs.h. */
10562 /* Override any GCC internal prototype to avoid an error.
10563 Use char because int might match the return type of a GCC
10564 builtin and then its argument prototype would still apply. */
10565 #ifdef __cplusplus
10566 extern "C"
10567 #endif
10568 char pcap_create ();
10570 main ()
10572 return pcap_create ();
10574 return 0;
10576 _ACEOF
10577 if ac_fn_c_try_link "$LINENO"; then :
10578 ac_cv_lib_pcap_pcap_create=yes
10579 else
10580 ac_cv_lib_pcap_pcap_create=no
10582 rm -f core conftest.err conftest.$ac_objext \
10583 conftest$ac_exeext conftest.$ac_ext
10584 LIBS=$ac_check_lib_save_LIBS
10586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10587 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10588 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10589 LIBPCAP="-lpcap"
10594 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10595 case "x$with_pcap" in
10596 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10597 xno) ;;
10598 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10599 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10600 esac
10602 test "x$ac_cv_lib_pcap_pcap_create" != xyes && enable_wpcap=${enable_wpcap:-no}
10605 if test "x$with_xml" != "xno"
10606 then
10607 if ${XML2_CFLAGS:+false} :; then :
10608 if ${PKG_CONFIG+:} false; then :
10609 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10612 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10613 if ${XML2_LIBS:+false} :; then :
10614 if ${PKG_CONFIG+:} false; then :
10615 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10618 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10619 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10620 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10621 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10622 ac_save_CPPFLAGS=$CPPFLAGS
10623 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10624 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10625 do :
10626 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10627 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10628 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10629 cat >>confdefs.h <<_ACEOF
10630 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10631 _ACEOF
10635 done
10637 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"
10638 then
10639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10640 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10641 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10642 $as_echo_n "(cached) " >&6
10643 else
10644 ac_check_lib_save_LIBS=$LIBS
10645 LIBS="-lxml2 $XML2_LIBS $LIBS"
10646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10647 /* end confdefs.h. */
10649 /* Override any GCC internal prototype to avoid an error.
10650 Use char because int might match the return type of a GCC
10651 builtin and then its argument prototype would still apply. */
10652 #ifdef __cplusplus
10653 extern "C"
10654 #endif
10655 char xmlParseMemory ();
10657 main ()
10659 return xmlParseMemory ();
10661 return 0;
10663 _ACEOF
10664 if ac_fn_c_try_link "$LINENO"; then :
10665 ac_cv_lib_xml2_xmlParseMemory=yes
10666 else
10667 ac_cv_lib_xml2_xmlParseMemory=no
10669 rm -f core conftest.err conftest.$ac_objext \
10670 conftest$ac_exeext conftest.$ac_ext
10671 LIBS=$ac_check_lib_save_LIBS
10673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10674 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10675 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10677 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10679 else
10680 XML2_LIBS=""
10683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10684 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10685 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10686 $as_echo_n "(cached) " >&6
10687 else
10688 ac_check_lib_save_LIBS=$LIBS
10689 LIBS="-lxml2 $XML2_LIBS $LIBS"
10690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10691 /* end confdefs.h. */
10693 /* Override any GCC internal prototype to avoid an error.
10694 Use char because int might match the return type of a GCC
10695 builtin and then its argument prototype would still apply. */
10696 #ifdef __cplusplus
10697 extern "C"
10698 #endif
10699 char xmlReadMemory ();
10701 main ()
10703 return xmlReadMemory ();
10705 return 0;
10707 _ACEOF
10708 if ac_fn_c_try_link "$LINENO"; then :
10709 ac_cv_lib_xml2_xmlReadMemory=yes
10710 else
10711 ac_cv_lib_xml2_xmlReadMemory=no
10713 rm -f core conftest.err conftest.$ac_objext \
10714 conftest$ac_exeext conftest.$ac_ext
10715 LIBS=$ac_check_lib_save_LIBS
10717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10718 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10719 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
10721 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10726 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10727 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
10728 $as_echo_n "(cached) " >&6
10729 else
10730 ac_check_lib_save_LIBS=$LIBS
10731 LIBS="-lxml2 $XML2_LIBS $LIBS"
10732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10733 /* end confdefs.h. */
10735 /* Override any GCC internal prototype to avoid an error.
10736 Use char because int might match the return type of a GCC
10737 builtin and then its argument prototype would still apply. */
10738 #ifdef __cplusplus
10739 extern "C"
10740 #endif
10741 char xmlNewDocPI ();
10743 main ()
10745 return xmlNewDocPI ();
10747 return 0;
10749 _ACEOF
10750 if ac_fn_c_try_link "$LINENO"; then :
10751 ac_cv_lib_xml2_xmlNewDocPI=yes
10752 else
10753 ac_cv_lib_xml2_xmlNewDocPI=no
10755 rm -f core conftest.err conftest.$ac_objext \
10756 conftest$ac_exeext conftest.$ac_ext
10757 LIBS=$ac_check_lib_save_LIBS
10759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10760 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10761 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
10763 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10768 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10769 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
10770 $as_echo_n "(cached) " >&6
10771 else
10772 ac_check_lib_save_LIBS=$LIBS
10773 LIBS="-lxml2 $XML2_LIBS $LIBS"
10774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10775 /* end confdefs.h. */
10777 /* Override any GCC internal prototype to avoid an error.
10778 Use char because int might match the return type of a GCC
10779 builtin and then its argument prototype would still apply. */
10780 #ifdef __cplusplus
10781 extern "C"
10782 #endif
10783 char xmlSchemaSetParserStructuredErrors ();
10785 main ()
10787 return xmlSchemaSetParserStructuredErrors ();
10789 return 0;
10791 _ACEOF
10792 if ac_fn_c_try_link "$LINENO"; then :
10793 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
10794 else
10795 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
10797 rm -f core conftest.err conftest.$ac_objext \
10798 conftest$ac_exeext conftest.$ac_ext
10799 LIBS=$ac_check_lib_save_LIBS
10801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10802 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10803 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
10805 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10810 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10811 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
10812 $as_echo_n "(cached) " >&6
10813 else
10814 ac_check_lib_save_LIBS=$LIBS
10815 LIBS="-lxml2 $XML2_LIBS $LIBS"
10816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10817 /* end confdefs.h. */
10819 /* Override any GCC internal prototype to avoid an error.
10820 Use char because int might match the return type of a GCC
10821 builtin and then its argument prototype would still apply. */
10822 #ifdef __cplusplus
10823 extern "C"
10824 #endif
10825 char xmlSchemaSetValidStructuredErrors ();
10827 main ()
10829 return xmlSchemaSetValidStructuredErrors ();
10831 return 0;
10833 _ACEOF
10834 if ac_fn_c_try_link "$LINENO"; then :
10835 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
10836 else
10837 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
10839 rm -f core conftest.err conftest.$ac_objext \
10840 conftest$ac_exeext conftest.$ac_ext
10841 LIBS=$ac_check_lib_save_LIBS
10843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10844 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10845 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
10847 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10852 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10853 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
10854 $as_echo_n "(cached) " >&6
10855 else
10856 ac_check_lib_save_LIBS=$LIBS
10857 LIBS="-lxml2 $XML2_LIBS $LIBS"
10858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10859 /* end confdefs.h. */
10861 /* Override any GCC internal prototype to avoid an error.
10862 Use char because int might match the return type of a GCC
10863 builtin and then its argument prototype would still apply. */
10864 #ifdef __cplusplus
10865 extern "C"
10866 #endif
10867 char xmlFirstElementChild ();
10869 main ()
10871 return xmlFirstElementChild ();
10873 return 0;
10875 _ACEOF
10876 if ac_fn_c_try_link "$LINENO"; then :
10877 ac_cv_lib_xml2_xmlFirstElementChild=yes
10878 else
10879 ac_cv_lib_xml2_xmlFirstElementChild=no
10881 rm -f core conftest.err conftest.$ac_objext \
10882 conftest$ac_exeext conftest.$ac_ext
10883 LIBS=$ac_check_lib_save_LIBS
10885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10886 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10887 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
10889 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10893 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10895 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
10897 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10901 else
10902 XML2_CFLAGS=""
10903 XML2_LIBS=""
10905 CPPFLAGS=$ac_save_CPPFLAGS
10906 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10907 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10910 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10911 case "x$with_xml" in
10912 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10913 xno) ;;
10914 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10915 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10916 esac
10919 if test "x$with_xslt" != "xno"
10920 then
10921 if ${XSLT_CFLAGS:+false} :; then :
10922 if ${PKG_CONFIG+:} false; then :
10923 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10926 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10927 if ${XSLT_LIBS:+false} :; then :
10928 if ${PKG_CONFIG+:} false; then :
10929 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10932 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10933 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
10934 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
10935 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
10936 ac_save_CPPFLAGS=$CPPFLAGS
10937 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
10938 for ac_header in libxslt/pattern.h libxslt/transform.h
10939 do :
10940 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10941 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10942 # include <libxslt/pattern.h>
10943 #endif
10945 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10946 cat >>confdefs.h <<_ACEOF
10947 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10948 _ACEOF
10952 done
10954 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10955 then
10956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10957 $as_echo_n "checking for -lxslt... " >&6; }
10958 if ${ac_cv_lib_soname_xslt+:} false; then :
10959 $as_echo_n "(cached) " >&6
10960 else
10961 ac_check_soname_save_LIBS=$LIBS
10962 LIBS="-lxslt $XSLT_LIBS $LIBS"
10963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10964 /* end confdefs.h. */
10966 /* Override any GCC internal prototype to avoid an error.
10967 Use char because int might match the return type of a GCC
10968 builtin and then its argument prototype would still apply. */
10969 #ifdef __cplusplus
10970 extern "C"
10971 #endif
10972 char xsltCompilePattern ();
10974 main ()
10976 return xsltCompilePattern ();
10978 return 0;
10980 _ACEOF
10981 if ac_fn_c_try_link "$LINENO"; then :
10982 case "$LIBEXT" in
10983 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10984 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'` ;;
10985 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10986 if ${ac_cv_lib_soname_xslt:+false} :; then :
10987 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10988 fi ;;
10989 esac
10991 rm -f core conftest.err conftest.$ac_objext \
10992 conftest$ac_exeext conftest.$ac_ext
10993 LIBS=$ac_check_soname_save_LIBS
10995 if ${ac_cv_lib_soname_xslt:+false} :; then :
10996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10997 $as_echo "not found" >&6; }
10999 else
11000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11001 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11003 cat >>confdefs.h <<_ACEOF
11004 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11005 _ACEOF
11009 else
11010 XSLT_CFLAGS=""
11012 CPPFLAGS=$ac_save_CPPFLAGS
11013 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11014 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11017 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11018 case "x$with_xslt" in
11019 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11020 xno) ;;
11021 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11022 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11023 esac
11026 if test "x$with_dbus" != "xno"
11027 then
11028 if ${DBUS_CFLAGS:+false} :; then :
11029 if ${PKG_CONFIG+:} false; then :
11030 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11034 if ${DBUS_LIBS:+false} :; then :
11035 if ${PKG_CONFIG+:} false; then :
11036 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11041 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11042 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11043 ac_save_CPPFLAGS=$CPPFLAGS
11044 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11045 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11046 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11048 $as_echo_n "checking for -ldbus-1... " >&6; }
11049 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11050 $as_echo_n "(cached) " >&6
11051 else
11052 ac_check_soname_save_LIBS=$LIBS
11053 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11055 /* end confdefs.h. */
11057 /* Override any GCC internal prototype to avoid an error.
11058 Use char because int might match the return type of a GCC
11059 builtin and then its argument prototype would still apply. */
11060 #ifdef __cplusplus
11061 extern "C"
11062 #endif
11063 char dbus_connection_close ();
11065 main ()
11067 return dbus_connection_close ();
11069 return 0;
11071 _ACEOF
11072 if ac_fn_c_try_link "$LINENO"; then :
11073 case "$LIBEXT" in
11074 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11075 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'` ;;
11076 *) 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'`
11077 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11078 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11079 fi ;;
11080 esac
11082 rm -f core conftest.err conftest.$ac_objext \
11083 conftest$ac_exeext conftest.$ac_ext
11084 LIBS=$ac_check_soname_save_LIBS
11086 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11088 $as_echo "not found" >&6; }
11089 DBUS_CFLAGS=""
11090 else
11091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11092 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11094 cat >>confdefs.h <<_ACEOF
11095 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11096 _ACEOF
11100 else
11101 DBUS_CFLAGS=""
11105 CPPFLAGS=$ac_save_CPPFLAGS
11106 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11107 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11110 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11111 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11112 case "x$with_dbus" in
11113 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11114 xno) ;;
11115 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11116 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11117 esac
11120 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11121 then
11122 if ${HAL_CFLAGS:+false} :; then :
11123 if ${PKG_CONFIG+:} false; then :
11124 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11128 if ${HAL_LIBS:+false} :; then :
11129 if ${PKG_CONFIG+:} false; then :
11130 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11134 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11135 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11136 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11137 ac_save_CPPFLAGS=$CPPFLAGS
11138 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11139 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11140 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11142 $as_echo_n "checking for -lhal... " >&6; }
11143 if ${ac_cv_lib_soname_hal+:} false; then :
11144 $as_echo_n "(cached) " >&6
11145 else
11146 ac_check_soname_save_LIBS=$LIBS
11147 LIBS="-lhal $HAL_LIBS $LIBS"
11148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11149 /* end confdefs.h. */
11151 /* Override any GCC internal prototype to avoid an error.
11152 Use char because int might match the return type of a GCC
11153 builtin and then its argument prototype would still apply. */
11154 #ifdef __cplusplus
11155 extern "C"
11156 #endif
11157 char libhal_ctx_new ();
11159 main ()
11161 return libhal_ctx_new ();
11163 return 0;
11165 _ACEOF
11166 if ac_fn_c_try_link "$LINENO"; then :
11167 case "$LIBEXT" in
11168 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11169 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'` ;;
11170 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11171 if ${ac_cv_lib_soname_hal:+false} :; then :
11172 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11173 fi ;;
11174 esac
11176 rm -f core conftest.err conftest.$ac_objext \
11177 conftest$ac_exeext conftest.$ac_ext
11178 LIBS=$ac_check_soname_save_LIBS
11180 if ${ac_cv_lib_soname_hal:+false} :; then :
11181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11182 $as_echo "not found" >&6; }
11183 HAL_CFLAGS=""
11184 else
11185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11186 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11188 cat >>confdefs.h <<_ACEOF
11189 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11190 _ACEOF
11194 else
11195 HAL_CFLAGS=""
11199 CPPFLAGS=$ac_save_CPPFLAGS
11200 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11201 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11203 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11204 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11205 case "x$with_hal" in
11206 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11207 xno) ;;
11208 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11209 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11210 esac
11214 if test "x$with_gnutls" != "xno"
11215 then
11216 if ${GNUTLS_CFLAGS:+false} :; then :
11217 if ${PKG_CONFIG+:} false; then :
11218 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11222 if ${GNUTLS_LIBS:+false} :; then :
11223 if ${PKG_CONFIG+:} false; then :
11224 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11229 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11230 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11231 ac_save_CPPFLAGS=$CPPFLAGS
11232 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11233 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11234 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11236 /* end confdefs.h. */
11237 #include <gnutls/gnutls.h>
11238 #include <gnutls/crypto.h>
11240 main ()
11242 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11244 return 0;
11246 _ACEOF
11247 if ac_fn_c_try_compile "$LINENO"; then :
11248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11249 $as_echo_n "checking for -lgnutls... " >&6; }
11250 if ${ac_cv_lib_soname_gnutls+:} false; then :
11251 $as_echo_n "(cached) " >&6
11252 else
11253 ac_check_soname_save_LIBS=$LIBS
11254 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11256 /* end confdefs.h. */
11258 /* Override any GCC internal prototype to avoid an error.
11259 Use char because int might match the return type of a GCC
11260 builtin and then its argument prototype would still apply. */
11261 #ifdef __cplusplus
11262 extern "C"
11263 #endif
11264 char gnutls_global_init ();
11266 main ()
11268 return gnutls_global_init ();
11270 return 0;
11272 _ACEOF
11273 if ac_fn_c_try_link "$LINENO"; then :
11274 case "$LIBEXT" in
11275 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11276 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'` ;;
11277 *) ac_cv_lib_soname_gnutls=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11278 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11279 ac_cv_lib_soname_gnutls=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11280 fi ;;
11281 esac
11283 rm -f core conftest.err conftest.$ac_objext \
11284 conftest$ac_exeext conftest.$ac_ext
11285 LIBS=$ac_check_soname_save_LIBS
11287 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11289 $as_echo "not found" >&6; }
11290 GNUTLS_CFLAGS=""
11291 else
11292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11293 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11295 cat >>confdefs.h <<_ACEOF
11296 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11297 _ACEOF
11302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11303 else
11304 GNUTLS_CFLAGS=""
11308 CPPFLAGS=$ac_save_CPPFLAGS
11309 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11310 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11313 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11314 case "x$with_gnutls" in
11315 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11316 xno) ;;
11317 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11318 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11319 esac
11322 CURSES_LIBS=""
11323 if test "$ac_cv_header_ncurses_h" = "yes"
11324 then
11325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11326 $as_echo_n "checking for -lncurses... " >&6; }
11327 if ${ac_cv_lib_soname_ncurses+:} false; then :
11328 $as_echo_n "(cached) " >&6
11329 else
11330 ac_check_soname_save_LIBS=$LIBS
11331 LIBS="-lncurses $LIBS"
11332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11333 /* end confdefs.h. */
11335 /* Override any GCC internal prototype to avoid an error.
11336 Use char because int might match the return type of a GCC
11337 builtin and then its argument prototype would still apply. */
11338 #ifdef __cplusplus
11339 extern "C"
11340 #endif
11341 char waddch ();
11343 main ()
11345 return waddch ();
11347 return 0;
11349 _ACEOF
11350 if ac_fn_c_try_link "$LINENO"; then :
11351 case "$LIBEXT" in
11352 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11353 dylib) ac_cv_lib_soname_ncurses=`otool -L conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libncursesw\\{0,1\\}\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11354 *) ac_cv_lib_soname_ncurses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncursesw\\{0,1\\}\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11355 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11356 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11357 fi ;;
11358 esac
11360 rm -f core conftest.err conftest.$ac_objext \
11361 conftest$ac_exeext conftest.$ac_ext
11362 LIBS=$ac_check_soname_save_LIBS
11364 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11366 $as_echo "not found" >&6; }
11368 else
11369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11370 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11372 cat >>confdefs.h <<_ACEOF
11373 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11374 _ACEOF
11376 CURSES_LIBS="-lncurses"
11378 elif test "$ac_cv_header_curses_h" = "yes"
11379 then
11380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11381 $as_echo_n "checking for -lcurses... " >&6; }
11382 if ${ac_cv_lib_soname_curses+:} false; then :
11383 $as_echo_n "(cached) " >&6
11384 else
11385 ac_check_soname_save_LIBS=$LIBS
11386 LIBS="-lcurses $LIBS"
11387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11388 /* end confdefs.h. */
11390 /* Override any GCC internal prototype to avoid an error.
11391 Use char because int might match the return type of a GCC
11392 builtin and then its argument prototype would still apply. */
11393 #ifdef __cplusplus
11394 extern "C"
11395 #endif
11396 char waddch ();
11398 main ()
11400 return waddch ();
11402 return 0;
11404 _ACEOF
11405 if ac_fn_c_try_link "$LINENO"; then :
11406 case "$LIBEXT" in
11407 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11408 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'` ;;
11409 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11410 if ${ac_cv_lib_soname_curses:+false} :; then :
11411 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11412 fi ;;
11413 esac
11415 rm -f core conftest.err conftest.$ac_objext \
11416 conftest$ac_exeext conftest.$ac_ext
11417 LIBS=$ac_check_soname_save_LIBS
11419 if ${ac_cv_lib_soname_curses:+false} :; then :
11420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11421 $as_echo "not found" >&6; }
11423 else
11424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11425 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11427 cat >>confdefs.h <<_ACEOF
11428 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11429 _ACEOF
11431 CURSES_LIBS="-lcurses"
11434 ac_save_LIBS="$LIBS"
11435 LIBS="$LIBS $CURSES_LIBS"
11436 for ac_func in mousemask
11437 do :
11438 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11439 if test "x$ac_cv_func_mousemask" = xyes; then :
11440 cat >>confdefs.h <<_ACEOF
11441 #define HAVE_MOUSEMASK 1
11442 _ACEOF
11445 done
11447 LIBS="$ac_save_LIBS"
11448 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11449 case "x$with_curses" in
11450 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11451 xno) ;;
11452 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11453 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11454 esac
11457 if test "x$with_sane" != "xno"
11458 then
11459 if ${SANE_CFLAGS:+false} :; then :
11460 if ${PKG_CONFIG+:} false; then :
11461 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11464 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11465 if ${SANE_LIBS:+false} :; then :
11466 if ${PKG_CONFIG+:} false; then :
11467 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11470 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11472 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11473 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11474 ac_save_CPPFLAGS=$CPPFLAGS
11475 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11476 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11477 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11479 $as_echo_n "checking for -lsane... " >&6; }
11480 if ${ac_cv_lib_soname_sane+:} false; then :
11481 $as_echo_n "(cached) " >&6
11482 else
11483 ac_check_soname_save_LIBS=$LIBS
11484 LIBS="-lsane $SANE_LIBS $LIBS"
11485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11486 /* end confdefs.h. */
11488 /* Override any GCC internal prototype to avoid an error.
11489 Use char because int might match the return type of a GCC
11490 builtin and then its argument prototype would still apply. */
11491 #ifdef __cplusplus
11492 extern "C"
11493 #endif
11494 char sane_init ();
11496 main ()
11498 return sane_init ();
11500 return 0;
11502 _ACEOF
11503 if ac_fn_c_try_link "$LINENO"; then :
11504 case "$LIBEXT" in
11505 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11506 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'` ;;
11507 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11508 if ${ac_cv_lib_soname_sane:+false} :; then :
11509 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11510 fi ;;
11511 esac
11513 rm -f core conftest.err conftest.$ac_objext \
11514 conftest$ac_exeext conftest.$ac_ext
11515 LIBS=$ac_check_soname_save_LIBS
11517 if ${ac_cv_lib_soname_sane:+false} :; then :
11518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11519 $as_echo "not found" >&6; }
11520 SANE_CFLAGS=""
11521 else
11522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11523 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11525 cat >>confdefs.h <<_ACEOF
11526 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11527 _ACEOF
11531 else
11532 SANE_CFLAGS=""
11536 CPPFLAGS=$ac_save_CPPFLAGS
11537 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11538 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11541 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11542 case "x$with_sane" in
11543 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11544 xno) ;;
11545 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11546 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11547 esac
11550 if test "x$with_v4l" != "xno"
11551 then
11552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11553 $as_echo_n "checking for -lv4l1... " >&6; }
11554 if ${ac_cv_lib_soname_v4l1+:} false; then :
11555 $as_echo_n "(cached) " >&6
11556 else
11557 ac_check_soname_save_LIBS=$LIBS
11558 LIBS="-lv4l1 $LIBS"
11559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11560 /* end confdefs.h. */
11562 /* Override any GCC internal prototype to avoid an error.
11563 Use char because int might match the return type of a GCC
11564 builtin and then its argument prototype would still apply. */
11565 #ifdef __cplusplus
11566 extern "C"
11567 #endif
11568 char v4l1_open ();
11570 main ()
11572 return v4l1_open ();
11574 return 0;
11576 _ACEOF
11577 if ac_fn_c_try_link "$LINENO"; then :
11578 case "$LIBEXT" in
11579 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11580 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'` ;;
11581 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11582 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11583 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11584 fi ;;
11585 esac
11587 rm -f core conftest.err conftest.$ac_objext \
11588 conftest$ac_exeext conftest.$ac_ext
11589 LIBS=$ac_check_soname_save_LIBS
11591 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11593 $as_echo "not found" >&6; }
11595 else
11596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11597 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11599 cat >>confdefs.h <<_ACEOF
11600 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11601 _ACEOF
11606 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11607 case "x$with_v4l" in
11608 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11609 xno) ;;
11610 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11611 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11612 esac
11615 if test "x$with_gphoto" != "xno"
11616 then
11617 if ${GPHOTO2_CFLAGS:+false} :; then :
11618 if ${PKG_CONFIG+:} false; then :
11619 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11622 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11623 if ${GPHOTO2_LIBS:+false} :; then :
11624 if ${PKG_CONFIG+:} false; then :
11625 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11628 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11629 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11630 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11631 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11632 ac_save_CPPFLAGS=$CPPFLAGS
11633 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11634 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11635 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11637 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11638 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11639 $as_echo_n "(cached) " >&6
11640 else
11641 ac_check_lib_save_LIBS=$LIBS
11642 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11644 /* end confdefs.h. */
11646 /* Override any GCC internal prototype to avoid an error.
11647 Use char because int might match the return type of a GCC
11648 builtin and then its argument prototype would still apply. */
11649 #ifdef __cplusplus
11650 extern "C"
11651 #endif
11652 char gp_camera_new ();
11654 main ()
11656 return gp_camera_new ();
11658 return 0;
11660 _ACEOF
11661 if ac_fn_c_try_link "$LINENO"; then :
11662 ac_cv_lib_gphoto2_gp_camera_new=yes
11663 else
11664 ac_cv_lib_gphoto2_gp_camera_new=no
11666 rm -f core conftest.err conftest.$ac_objext \
11667 conftest$ac_exeext conftest.$ac_ext
11668 LIBS=$ac_check_lib_save_LIBS
11670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11671 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11672 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11674 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11676 else
11677 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11680 else
11681 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11685 CPPFLAGS=$ac_save_CPPFLAGS
11686 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11687 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11689 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11690 if ${PKG_CONFIG+:} false; then :
11691 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11694 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11695 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11696 if ${PKG_CONFIG+:} false; then :
11697 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11700 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11701 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11702 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11703 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11704 ac_save_CPPFLAGS=$CPPFLAGS
11705 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11706 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11707 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11709 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11710 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11711 $as_echo_n "(cached) " >&6
11712 else
11713 ac_check_lib_save_LIBS=$LIBS
11714 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11716 /* end confdefs.h. */
11718 /* Override any GCC internal prototype to avoid an error.
11719 Use char because int might match the return type of a GCC
11720 builtin and then its argument prototype would still apply. */
11721 #ifdef __cplusplus
11722 extern "C"
11723 #endif
11724 char gp_port_info_list_new ();
11726 main ()
11728 return gp_port_info_list_new ();
11730 return 0;
11732 _ACEOF
11733 if ac_fn_c_try_link "$LINENO"; then :
11734 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
11735 else
11736 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
11738 rm -f core conftest.err conftest.$ac_objext \
11739 conftest$ac_exeext conftest.$ac_ext
11740 LIBS=$ac_check_lib_save_LIBS
11742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11743 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11744 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
11746 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11748 else
11749 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11752 else
11753 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11757 CPPFLAGS=$ac_save_CPPFLAGS
11758 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11759 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11762 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11763 case "x$with_gphoto" in
11764 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11765 xno) ;;
11766 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11767 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11768 esac
11770 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11771 case "x$with_gphoto" in
11772 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11773 xno) ;;
11774 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11775 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11776 esac
11780 if test "$ac_cv_header_resolv_h" = "yes"
11781 then
11782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11783 $as_echo_n "checking for resolver library... " >&6; }
11784 if ${ac_cv_have_resolv+:} false; then :
11785 $as_echo_n "(cached) " >&6
11786 else
11787 ac_save_LIBS="$LIBS"
11788 for lib in '' -lresolv
11790 LIBS="$lib $ac_save_LIBS"
11791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11792 /* end confdefs.h. */
11793 #ifdef HAVE_NETINET_IN_H
11794 #include <netinet/in.h>
11795 #endif
11796 #include <resolv.h>
11798 main ()
11800 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11802 return 0;
11804 _ACEOF
11805 if ac_fn_c_try_link "$LINENO"; then :
11806 ac_cv_have_resolv=${lib:-"none required"}
11807 else
11808 ac_cv_have_resolv="not found"
11810 rm -f core conftest.err conftest.$ac_objext \
11811 conftest$ac_exeext conftest.$ac_ext
11812 test "x$ac_cv_have_resolv" = "xnot found" || break
11813 done
11814 LIBS="$ac_save_LIBS"
11816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
11817 $as_echo "$ac_cv_have_resolv" >&6; }
11819 case "$ac_cv_have_resolv" in
11820 "not found") ;;
11821 "none required")
11823 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11826 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11828 RESOLV_LIBS=$ac_cv_have_resolv
11830 esac
11833 if test "x$with_lcms2" != "xno"
11834 then
11835 if ${LCMS2_CFLAGS:+false} :; then :
11836 if ${PKG_CONFIG+:} false; then :
11837 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11841 if ${LCMS2_LIBS:+false} :; then :
11842 if ${PKG_CONFIG+:} false; then :
11843 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11847 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
11848 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11849 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
11850 ac_save_CPPFLAGS=$CPPFLAGS
11851 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
11852 for ac_header in lcms2.h
11853 do :
11854 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11855 if test "x$ac_cv_header_lcms2_h" = xyes; then :
11856 cat >>confdefs.h <<_ACEOF
11857 #define HAVE_LCMS2_H 1
11858 _ACEOF
11862 done
11864 if test "$ac_cv_header_lcms2_h" = "yes"
11865 then
11866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11867 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11868 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
11869 $as_echo_n "(cached) " >&6
11870 else
11871 ac_check_lib_save_LIBS=$LIBS
11872 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
11873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11874 /* end confdefs.h. */
11876 /* Override any GCC internal prototype to avoid an error.
11877 Use char because int might match the return type of a GCC
11878 builtin and then its argument prototype would still apply. */
11879 #ifdef __cplusplus
11880 extern "C"
11881 #endif
11882 char cmsOpenProfileFromFile ();
11884 main ()
11886 return cmsOpenProfileFromFile ();
11888 return 0;
11890 _ACEOF
11891 if ac_fn_c_try_link "$LINENO"; then :
11892 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
11893 else
11894 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
11896 rm -f core conftest.err conftest.$ac_objext \
11897 conftest$ac_exeext conftest.$ac_ext
11898 LIBS=$ac_check_lib_save_LIBS
11900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11901 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11902 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
11904 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11906 else
11907 LCMS2_LIBS=""
11910 else
11911 LCMS2_CFLAGS=""
11912 LCMS2_LIBS=""
11914 CPPFLAGS=$ac_save_CPPFLAGS
11915 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11916 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11919 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11920 case "x$with_cms" in
11921 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11922 xno) ;;
11923 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11924 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11925 esac
11928 if test "x$with_freetype" != "xno"
11929 then
11930 if ${FREETYPE_CFLAGS:+false} :; then :
11931 if ${PKG_CONFIG+:} false; then :
11932 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11935 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11936 if ${FREETYPE_LIBS:+false} :; then :
11937 if ${PKG_CONFIG+:} false; then :
11938 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11941 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11942 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
11943 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
11944 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
11945 ac_save_CPPFLAGS=$CPPFLAGS
11946 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
11947 for ac_header in ft2build.h
11948 do :
11949 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
11950 if test "x$ac_cv_header_ft2build_h" = xyes; then :
11951 cat >>confdefs.h <<_ACEOF
11952 #define HAVE_FT2BUILD_H 1
11953 _ACEOF
11957 done
11959 if test "$ac_cv_header_ft2build_h" = "yes"
11960 then
11961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11962 $as_echo_n "checking for -lfreetype... " >&6; }
11963 if ${ac_cv_lib_soname_freetype+:} false; then :
11964 $as_echo_n "(cached) " >&6
11965 else
11966 ac_check_soname_save_LIBS=$LIBS
11967 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
11968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11969 /* end confdefs.h. */
11971 /* Override any GCC internal prototype to avoid an error.
11972 Use char because int might match the return type of a GCC
11973 builtin and then its argument prototype would still apply. */
11974 #ifdef __cplusplus
11975 extern "C"
11976 #endif
11977 char FT_Init_FreeType ();
11979 main ()
11981 return FT_Init_FreeType ();
11983 return 0;
11985 _ACEOF
11986 if ac_fn_c_try_link "$LINENO"; then :
11987 case "$LIBEXT" in
11988 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11989 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'` ;;
11990 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11991 if ${ac_cv_lib_soname_freetype:+false} :; then :
11992 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11993 fi ;;
11994 esac
11996 rm -f core conftest.err conftest.$ac_objext \
11997 conftest$ac_exeext conftest.$ac_ext
11998 LIBS=$ac_check_soname_save_LIBS
12000 if ${ac_cv_lib_soname_freetype:+false} :; then :
12001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12002 $as_echo "not found" >&6; }
12003 FREETYPE_LIBS=""
12004 else
12005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12006 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12008 cat >>confdefs.h <<_ACEOF
12009 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12010 _ACEOF
12013 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12015 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12016 #include FT_MODULE_H
12018 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12020 cat >>confdefs.h <<_ACEOF
12021 #define HAVE_FT_TRUETYPEENGINETYPE 1
12022 _ACEOF
12028 else
12029 FREETYPE_CFLAGS=""
12030 FREETYPE_LIBS=""
12032 CPPFLAGS=$ac_save_CPPFLAGS
12033 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12034 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12037 if test "x$ac_cv_lib_soname_freetype" = x; then :
12038 case "x$with_freetype" in
12039 xno) ;;
12040 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12041 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12042 esac
12044 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
12046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12047 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12048 if ${ac_cv_c_ppdev+:} false; then :
12049 $as_echo_n "(cached) " >&6
12050 else
12051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12052 /* end confdefs.h. */
12053 #ifdef HAVE_SYS_IOCTL_H
12054 # include <sys/ioctl.h>
12055 #endif
12056 #include <linux/ppdev.h>
12058 main ()
12060 ioctl (1,PPCLAIM,0)
12062 return 0;
12064 _ACEOF
12065 if ac_fn_c_try_compile "$LINENO"; then :
12066 ac_cv_c_ppdev="yes"
12067 else
12068 ac_cv_c_ppdev="no"
12070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12073 $as_echo "$ac_cv_c_ppdev" >&6; }
12074 if test "$ac_cv_c_ppdev" = "yes"
12075 then
12077 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12081 ac_wine_check_funcs_save_LIBS="$LIBS"
12082 LIBS="$LIBS $PTHREAD_LIBS"
12083 for ac_func in \
12084 pthread_attr_get_np \
12085 pthread_getattr_np \
12086 pthread_getthreadid_np \
12087 pthread_get_stackaddr_np \
12088 pthread_get_stacksize_np
12089 do :
12090 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12091 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12092 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12093 cat >>confdefs.h <<_ACEOF
12094 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12095 _ACEOF
12098 done
12100 LIBS="$ac_wine_check_funcs_save_LIBS"
12102 if test "$ac_cv_header_zlib_h" = "yes"
12103 then
12104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12105 $as_echo_n "checking for inflate in -lz... " >&6; }
12106 if ${ac_cv_lib_z_inflate+:} false; then :
12107 $as_echo_n "(cached) " >&6
12108 else
12109 ac_check_lib_save_LIBS=$LIBS
12110 LIBS="-lz $LIBS"
12111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12112 /* end confdefs.h. */
12114 /* Override any GCC internal prototype to avoid an error.
12115 Use char because int might match the return type of a GCC
12116 builtin and then its argument prototype would still apply. */
12117 #ifdef __cplusplus
12118 extern "C"
12119 #endif
12120 char inflate ();
12122 main ()
12124 return inflate ();
12126 return 0;
12128 _ACEOF
12129 if ac_fn_c_try_link "$LINENO"; then :
12130 ac_cv_lib_z_inflate=yes
12131 else
12132 ac_cv_lib_z_inflate=no
12134 rm -f core conftest.err conftest.$ac_objext \
12135 conftest$ac_exeext conftest.$ac_ext
12136 LIBS=$ac_check_lib_save_LIBS
12138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12139 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12140 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12142 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12144 Z_LIBS="-lz"
12149 if test "x$Z_LIBS" = "x"; then :
12150 case "x$with_zlib" in
12151 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12152 xno) ;;
12153 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12154 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12155 esac
12158 if test "x$enable_tools" != xno
12159 then
12160 if test "$ac_cv_header_gettext_po_h" = "yes"
12161 then
12162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12163 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12164 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12165 $as_echo_n "(cached) " >&6
12166 else
12167 ac_check_lib_save_LIBS=$LIBS
12168 LIBS="-lgettextpo $LIBS"
12169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12170 /* end confdefs.h. */
12172 /* Override any GCC internal prototype to avoid an error.
12173 Use char because int might match the return type of a GCC
12174 builtin and then its argument prototype would still apply. */
12175 #ifdef __cplusplus
12176 extern "C"
12177 #endif
12178 char po_message_msgctxt ();
12180 main ()
12182 return po_message_msgctxt ();
12184 return 0;
12186 _ACEOF
12187 if ac_fn_c_try_link "$LINENO"; then :
12188 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12189 else
12190 ac_cv_lib_gettextpo_po_message_msgctxt=no
12192 rm -f core conftest.err conftest.$ac_objext \
12193 conftest$ac_exeext conftest.$ac_ext
12194 LIBS=$ac_check_lib_save_LIBS
12196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12197 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12198 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12200 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12202 GETTEXTPO_LIBS="-lgettextpo"
12207 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12208 case "x$with_gettextpo" in
12209 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12210 xno) ;;
12211 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12212 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12213 esac
12217 if test "x$with_gstreamer" != "xno"
12218 then
12219 if ${GSTREAMER_CFLAGS:+false} :; then :
12220 if ${PKG_CONFIG+:} false; then :
12221 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12225 if ${GSTREAMER_LIBS:+false} :; then :
12226 if ${PKG_CONFIG+:} false; then :
12227 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12232 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12233 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12234 ac_save_CPPFLAGS=$CPPFLAGS
12235 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12236 ac_gst_incl=""
12237 for i in $GSTREAMER_CFLAGS
12239 case "$i" in
12240 -I*) ac_gst_incl="$ac_gst_incl $i";;
12241 esac
12242 done
12243 GSTREAMER_CFLAGS=$ac_gst_incl
12244 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12245 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12246 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
12247 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12248 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
12249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12250 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12252 /* end confdefs.h. */
12253 #include <gst/app/gstappsink.h>
12255 main ()
12257 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12259 return 0;
12261 _ACEOF
12262 if ac_fn_c_try_compile "$LINENO"; then :
12263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12264 $as_echo "yes" >&6; }
12265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12266 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12267 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
12268 $as_echo_n "(cached) " >&6
12269 else
12270 ac_check_lib_save_LIBS=$LIBS
12271 LIBS="-lgstreamer-0.10 $LIBS"
12272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12273 /* end confdefs.h. */
12275 /* Override any GCC internal prototype to avoid an error.
12276 Use char because int might match the return type of a GCC
12277 builtin and then its argument prototype would still apply. */
12278 #ifdef __cplusplus
12279 extern "C"
12280 #endif
12281 char gst_pad_get_caps_reffed ();
12283 main ()
12285 return gst_pad_get_caps_reffed ();
12287 return 0;
12289 _ACEOF
12290 if ac_fn_c_try_link "$LINENO"; then :
12291 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
12292 else
12293 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
12295 rm -f core conftest.err conftest.$ac_objext \
12296 conftest$ac_exeext conftest.$ac_ext
12297 LIBS=$ac_check_lib_save_LIBS
12299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12300 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12301 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
12302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12303 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12304 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
12305 $as_echo_n "(cached) " >&6
12306 else
12307 ac_check_lib_save_LIBS=$LIBS
12308 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12310 /* end confdefs.h. */
12312 /* Override any GCC internal prototype to avoid an error.
12313 Use char because int might match the return type of a GCC
12314 builtin and then its argument prototype would still apply. */
12315 #ifdef __cplusplus
12316 extern "C"
12317 #endif
12318 char gst_app_buffer_new ();
12320 main ()
12322 return gst_app_buffer_new ();
12324 return 0;
12326 _ACEOF
12327 if ac_fn_c_try_link "$LINENO"; then :
12328 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
12329 else
12330 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
12332 rm -f core conftest.err conftest.$ac_objext \
12333 conftest$ac_exeext conftest.$ac_ext
12334 LIBS=$ac_check_lib_save_LIBS
12336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12337 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12338 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
12344 else
12345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12346 $as_echo "no" >&6; }
12348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12352 else
12353 GSTREAMER_CFLAGS=""
12357 CPPFLAGS=$ac_save_CPPFLAGS
12358 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12359 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12362 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
12363 case "x$with_gstreamer" in
12364 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12365 xno) ;;
12366 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12367 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12368 esac
12370 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12372 ALSA_LIBS=""
12374 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12375 then
12376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12377 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12378 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12379 $as_echo_n "(cached) " >&6
12380 else
12381 ac_check_lib_save_LIBS=$LIBS
12382 LIBS="-lasound $LIBS"
12383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12384 /* end confdefs.h. */
12386 /* Override any GCC internal prototype to avoid an error.
12387 Use char because int might match the return type of a GCC
12388 builtin and then its argument prototype would still apply. */
12389 #ifdef __cplusplus
12390 extern "C"
12391 #endif
12392 char snd_pcm_hw_params_get_access_mask ();
12394 main ()
12396 return snd_pcm_hw_params_get_access_mask ();
12398 return 0;
12400 _ACEOF
12401 if ac_fn_c_try_link "$LINENO"; then :
12402 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12403 else
12404 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12406 rm -f core conftest.err conftest.$ac_objext \
12407 conftest$ac_exeext conftest.$ac_ext
12408 LIBS=$ac_check_lib_save_LIBS
12410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12411 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12412 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12414 /* end confdefs.h. */
12415 #ifdef HAVE_ALSA_ASOUNDLIB_H
12416 #include <alsa/asoundlib.h>
12417 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12418 #include <sys/asoundlib.h>
12419 #endif
12421 main ()
12423 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12425 return 0;
12427 _ACEOF
12428 if ac_fn_c_try_compile "$LINENO"; then :
12429 ALSA_LIBS="-lasound"
12431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12436 if test "x$with_oss" != xno
12437 then
12438 ac_save_CPPFLAGS="$CPPFLAGS"
12439 if test -f /etc/oss.conf
12440 then
12441 . /etc/oss.conf
12443 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12444 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12445 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12446 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12447 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12449 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12451 cat >>confdefs.h <<_ACEOF
12452 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12453 _ACEOF
12455 OSS4_CFLAGS="$ac_oss_incl"
12462 CPPFLAGS="$ac_save_CPPFLAGS"
12463 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12464 then
12465 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12469 if test "x$with_capi" != "xno"
12470 then
12471 if ${CAPI20_CFLAGS:+false} :; then :
12472 if ${PKG_CONFIG+:} false; then :
12473 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12477 if ${CAPI20_LIBS:+false} :; then :
12478 if ${PKG_CONFIG+:} false; then :
12479 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12484 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12485 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12486 ac_save_CPPFLAGS=$CPPFLAGS
12487 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12488 for ac_header in capi20.h linux/capi.h
12489 do :
12490 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12491 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12493 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12494 cat >>confdefs.h <<_ACEOF
12495 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12496 _ACEOF
12500 done
12502 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12503 then
12504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12505 $as_echo_n "checking for -lcapi20... " >&6; }
12506 if ${ac_cv_lib_soname_capi20+:} false; then :
12507 $as_echo_n "(cached) " >&6
12508 else
12509 ac_check_soname_save_LIBS=$LIBS
12510 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12512 /* end confdefs.h. */
12514 /* Override any GCC internal prototype to avoid an error.
12515 Use char because int might match the return type of a GCC
12516 builtin and then its argument prototype would still apply. */
12517 #ifdef __cplusplus
12518 extern "C"
12519 #endif
12520 char capi20_register ();
12522 main ()
12524 return capi20_register ();
12526 return 0;
12528 _ACEOF
12529 if ac_fn_c_try_link "$LINENO"; then :
12530 case "$LIBEXT" in
12531 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12532 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'` ;;
12533 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12534 if ${ac_cv_lib_soname_capi20:+false} :; then :
12535 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12536 fi ;;
12537 esac
12539 rm -f core conftest.err conftest.$ac_objext \
12540 conftest$ac_exeext conftest.$ac_ext
12541 LIBS=$ac_check_soname_save_LIBS
12543 if ${ac_cv_lib_soname_capi20:+false} :; then :
12544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12545 $as_echo "not found" >&6; }
12547 else
12548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12549 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12551 cat >>confdefs.h <<_ACEOF
12552 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12553 _ACEOF
12558 CPPFLAGS=$ac_save_CPPFLAGS
12559 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12560 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12563 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12564 case "x$with_capi" in
12565 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12566 xno) ;;
12567 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12568 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12569 esac
12572 CUPS_CFLAGS=""
12574 if test "x$with_cups" != "xno"
12575 then
12576 ac_save_CPPFLAGS="$CPPFLAGS"
12577 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12578 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12579 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12580 for ac_header in cups/cups.h
12581 do :
12582 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12583 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12584 cat >>confdefs.h <<_ACEOF
12585 #define HAVE_CUPS_CUPS_H 1
12586 _ACEOF
12587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12588 $as_echo_n "checking for -lcups... " >&6; }
12589 if ${ac_cv_lib_soname_cups+:} false; then :
12590 $as_echo_n "(cached) " >&6
12591 else
12592 ac_check_soname_save_LIBS=$LIBS
12593 LIBS="-lcups $ac_cups_libs $LIBS"
12594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12595 /* end confdefs.h. */
12597 /* Override any GCC internal prototype to avoid an error.
12598 Use char because int might match the return type of a GCC
12599 builtin and then its argument prototype would still apply. */
12600 #ifdef __cplusplus
12601 extern "C"
12602 #endif
12603 char cupsGetDefault ();
12605 main ()
12607 return cupsGetDefault ();
12609 return 0;
12611 _ACEOF
12612 if ac_fn_c_try_link "$LINENO"; then :
12613 case "$LIBEXT" in
12614 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12615 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'` ;;
12616 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12617 if ${ac_cv_lib_soname_cups:+false} :; then :
12618 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12619 fi ;;
12620 esac
12622 rm -f core conftest.err conftest.$ac_objext \
12623 conftest$ac_exeext conftest.$ac_ext
12624 LIBS=$ac_check_soname_save_LIBS
12626 if ${ac_cv_lib_soname_cups:+false} :; then :
12627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12628 $as_echo "not found" >&6; }
12630 else
12631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12632 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12634 cat >>confdefs.h <<_ACEOF
12635 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12636 _ACEOF
12638 CUPS_CFLAGS="$ac_cups_cflags"
12642 done
12644 CPPFLAGS="$ac_save_CPPFLAGS"
12646 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12647 case "x$with_cups" in
12648 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12649 xno) ;;
12650 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12651 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12652 esac
12655 if test "x$with_fontconfig" != "xno"
12656 then
12657 if ${FONTCONFIG_CFLAGS:+false} :; then :
12658 if ${PKG_CONFIG+:} false; then :
12659 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12662 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12663 if ${FONTCONFIG_LIBS:+false} :; then :
12664 if ${PKG_CONFIG+:} false; then :
12665 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12668 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
12670 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12671 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12672 ac_save_CPPFLAGS=$CPPFLAGS
12673 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
12674 for ac_header in fontconfig/fontconfig.h
12675 do :
12676 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12677 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
12678 cat >>confdefs.h <<_ACEOF
12679 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12680 _ACEOF
12684 done
12686 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12687 then
12688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12689 $as_echo_n "checking for -lfontconfig... " >&6; }
12690 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12691 $as_echo_n "(cached) " >&6
12692 else
12693 ac_check_soname_save_LIBS=$LIBS
12694 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12696 /* end confdefs.h. */
12698 /* Override any GCC internal prototype to avoid an error.
12699 Use char because int might match the return type of a GCC
12700 builtin and then its argument prototype would still apply. */
12701 #ifdef __cplusplus
12702 extern "C"
12703 #endif
12704 char FcInit ();
12706 main ()
12708 return FcInit ();
12710 return 0;
12712 _ACEOF
12713 if ac_fn_c_try_link "$LINENO"; then :
12714 case "$LIBEXT" in
12715 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12716 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'` ;;
12717 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12718 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12719 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12720 fi ;;
12721 esac
12723 rm -f core conftest.err conftest.$ac_objext \
12724 conftest$ac_exeext conftest.$ac_ext
12725 LIBS=$ac_check_soname_save_LIBS
12727 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12729 $as_echo "not found" >&6; }
12730 FONTCONFIG_CFLAGS=""
12731 else
12732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12733 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12735 cat >>confdefs.h <<_ACEOF
12736 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12737 _ACEOF
12741 else
12742 FONTCONFIG_CFLAGS=""
12744 CPPFLAGS=$ac_save_CPPFLAGS
12745 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12746 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12749 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12750 case "x$with_fontconfig" in
12751 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12752 xno) ;;
12753 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12754 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12755 esac
12758 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12759 then
12760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12761 $as_echo_n "checking for -lgsm... " >&6; }
12762 if ${ac_cv_lib_soname_gsm+:} false; then :
12763 $as_echo_n "(cached) " >&6
12764 else
12765 ac_check_soname_save_LIBS=$LIBS
12766 LIBS="-lgsm $LIBS"
12767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12768 /* end confdefs.h. */
12770 /* Override any GCC internal prototype to avoid an error.
12771 Use char because int might match the return type of a GCC
12772 builtin and then its argument prototype would still apply. */
12773 #ifdef __cplusplus
12774 extern "C"
12775 #endif
12776 char gsm_create ();
12778 main ()
12780 return gsm_create ();
12782 return 0;
12784 _ACEOF
12785 if ac_fn_c_try_link "$LINENO"; then :
12786 case "$LIBEXT" in
12787 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12788 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'` ;;
12789 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12790 if ${ac_cv_lib_soname_gsm:+false} :; then :
12791 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12792 fi ;;
12793 esac
12795 rm -f core conftest.err conftest.$ac_objext \
12796 conftest$ac_exeext conftest.$ac_ext
12797 LIBS=$ac_check_soname_save_LIBS
12799 if ${ac_cv_lib_soname_gsm:+false} :; then :
12800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12801 $as_echo "not found" >&6; }
12803 else
12804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12805 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12807 cat >>confdefs.h <<_ACEOF
12808 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12809 _ACEOF
12814 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12815 case "x$with_gsm" in
12816 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12817 xno) ;;
12818 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12819 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12820 esac
12823 if test "x$with_jpeg" != "xno"
12824 then
12825 if ${JPEG_CFLAGS:+false} :; then :
12826 if ${PKG_CONFIG+:} false; then :
12827 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12831 if ${JPEG_LIBS:+false} :; then :
12832 if ${PKG_CONFIG+:} false; then :
12833 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12838 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12839 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12840 ac_save_CPPFLAGS=$CPPFLAGS
12841 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
12842 for ac_header in jpeglib.h
12843 do :
12844 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12845 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
12846 cat >>confdefs.h <<_ACEOF
12847 #define HAVE_JPEGLIB_H 1
12848 _ACEOF
12852 done
12854 if test "$ac_cv_header_jpeglib_h" = "yes"
12855 then
12856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12857 $as_echo_n "checking for -ljpeg... " >&6; }
12858 if ${ac_cv_lib_soname_jpeg+:} false; then :
12859 $as_echo_n "(cached) " >&6
12860 else
12861 ac_check_soname_save_LIBS=$LIBS
12862 LIBS="-ljpeg $JPEG_LIBS $LIBS"
12863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12864 /* end confdefs.h. */
12866 /* Override any GCC internal prototype to avoid an error.
12867 Use char because int might match the return type of a GCC
12868 builtin and then its argument prototype would still apply. */
12869 #ifdef __cplusplus
12870 extern "C"
12871 #endif
12872 char jpeg_start_decompress ();
12874 main ()
12876 return jpeg_start_decompress ();
12878 return 0;
12880 _ACEOF
12881 if ac_fn_c_try_link "$LINENO"; then :
12882 case "$LIBEXT" in
12883 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12884 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'` ;;
12885 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12886 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12887 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12888 fi ;;
12889 esac
12891 rm -f core conftest.err conftest.$ac_objext \
12892 conftest$ac_exeext conftest.$ac_ext
12893 LIBS=$ac_check_soname_save_LIBS
12895 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12897 $as_echo "not found" >&6; }
12898 JPEG_CFLAGS=""
12899 else
12900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12901 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12903 cat >>confdefs.h <<_ACEOF
12904 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12905 _ACEOF
12909 else
12910 JPEG_CFLAGS=""
12912 CPPFLAGS=$ac_save_CPPFLAGS
12913 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12914 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12917 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12918 case "x$with_jpeg" in
12919 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12920 xno) ;;
12921 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12922 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12923 esac
12926 if test "x$with_png" != "xno"
12927 then
12928 if ${PNG_CFLAGS:+false} :; then :
12929 if ${PKG_CONFIG+:} false; then :
12930 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12933 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
12934 if ${PNG_LIBS:+false} :; then :
12935 if ${PKG_CONFIG+:} false; then :
12936 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
12939 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
12941 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
12942 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
12943 ac_save_CPPFLAGS=$CPPFLAGS
12944 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
12945 for ac_header in png.h
12946 do :
12947 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12948 if test "x$ac_cv_header_png_h" = xyes; then :
12949 cat >>confdefs.h <<_ACEOF
12950 #define HAVE_PNG_H 1
12951 _ACEOF
12955 done
12957 if test "$ac_cv_header_png_h" = "yes"
12958 then
12959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12960 $as_echo_n "checking for -lpng... " >&6; }
12961 if ${ac_cv_lib_soname_png+:} false; then :
12962 $as_echo_n "(cached) " >&6
12963 else
12964 ac_check_soname_save_LIBS=$LIBS
12965 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
12966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12967 /* end confdefs.h. */
12969 /* Override any GCC internal prototype to avoid an error.
12970 Use char because int might match the return type of a GCC
12971 builtin and then its argument prototype would still apply. */
12972 #ifdef __cplusplus
12973 extern "C"
12974 #endif
12975 char png_create_read_struct ();
12977 main ()
12979 return png_create_read_struct ();
12981 return 0;
12983 _ACEOF
12984 if ac_fn_c_try_link "$LINENO"; then :
12985 case "$LIBEXT" in
12986 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12987 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'` ;;
12988 *) 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'`
12989 if ${ac_cv_lib_soname_png:+false} :; then :
12990 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12991 fi ;;
12992 esac
12994 rm -f core conftest.err conftest.$ac_objext \
12995 conftest$ac_exeext conftest.$ac_ext
12996 LIBS=$ac_check_soname_save_LIBS
12998 if ${ac_cv_lib_soname_png:+false} :; then :
12999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13000 $as_echo "not found" >&6; }
13001 PNG_CFLAGS=""
13002 else
13003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13004 $as_echo "$ac_cv_lib_soname_png" >&6; }
13006 cat >>confdefs.h <<_ACEOF
13007 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13008 _ACEOF
13010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13011 /* end confdefs.h. */
13012 #include <png.h>
13014 main ()
13016 typeof(png_set_expand_gray_1_2_4_to_8) *p
13018 return 0;
13020 _ACEOF
13021 if ac_fn_c_try_compile "$LINENO"; then :
13023 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13028 else
13029 PNG_CFLAGS=""
13031 CPPFLAGS=$ac_save_CPPFLAGS
13032 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13033 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13036 if test "x$ac_cv_lib_soname_png" = "x"; then :
13037 case "x$with_png" in
13038 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13039 xno) ;;
13040 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13041 This is an error since --with-png was requested." "$LINENO" 5 ;;
13042 esac
13045 if test "x$with_tiff" != "xno"
13046 then
13047 if ${TIFF_CFLAGS:+false} :; then :
13048 if ${PKG_CONFIG+:} false; then :
13049 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13053 if ${TIFF_LIBS:+false} :; then :
13054 if ${PKG_CONFIG+:} false; then :
13055 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13060 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13061 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13062 ac_save_CPPFLAGS=$CPPFLAGS
13063 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13064 for ac_header in tiffio.h
13065 do :
13066 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13067 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13068 cat >>confdefs.h <<_ACEOF
13069 #define HAVE_TIFFIO_H 1
13070 _ACEOF
13074 done
13076 if test "$ac_cv_header_tiffio_h" = "yes"
13077 then
13078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13079 $as_echo_n "checking for -ltiff... " >&6; }
13080 if ${ac_cv_lib_soname_tiff+:} false; then :
13081 $as_echo_n "(cached) " >&6
13082 else
13083 ac_check_soname_save_LIBS=$LIBS
13084 LIBS="-ltiff $TIFF_LIBS $LIBS"
13085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13086 /* end confdefs.h. */
13088 /* Override any GCC internal prototype to avoid an error.
13089 Use char because int might match the return type of a GCC
13090 builtin and then its argument prototype would still apply. */
13091 #ifdef __cplusplus
13092 extern "C"
13093 #endif
13094 char TIFFClientOpen ();
13096 main ()
13098 return TIFFClientOpen ();
13100 return 0;
13102 _ACEOF
13103 if ac_fn_c_try_link "$LINENO"; then :
13104 case "$LIBEXT" in
13105 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13106 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'` ;;
13107 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13108 if ${ac_cv_lib_soname_tiff:+false} :; then :
13109 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13110 fi ;;
13111 esac
13113 rm -f core conftest.err conftest.$ac_objext \
13114 conftest$ac_exeext conftest.$ac_ext
13115 LIBS=$ac_check_soname_save_LIBS
13117 if ${ac_cv_lib_soname_tiff:+false} :; then :
13118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13119 $as_echo "not found" >&6; }
13121 else
13122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13123 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13125 cat >>confdefs.h <<_ACEOF
13126 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13127 _ACEOF
13132 CPPFLAGS=$ac_save_CPPFLAGS
13133 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13134 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13137 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13138 case "x$with_tiff" in
13139 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13140 xno) ;;
13141 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13142 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13143 esac
13146 if test "x$with_mpg123" != "xno"
13147 then
13148 if ${MPG123_CFLAGS:+false} :; then :
13149 if ${PKG_CONFIG+:} false; then :
13150 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13154 if ${MPG123_LIBS:+false} :; then :
13155 if ${PKG_CONFIG+:} false; then :
13156 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13160 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13161 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13162 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13163 ac_save_CPPFLAGS=$CPPFLAGS
13164 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13165 for ac_header in mpg123.h
13166 do :
13167 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13168 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13169 cat >>confdefs.h <<_ACEOF
13170 #define HAVE_MPG123_H 1
13171 _ACEOF
13175 done
13177 if test "$ac_cv_header_mpg123_h" = "yes"
13178 then
13179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13180 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13181 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13182 $as_echo_n "(cached) " >&6
13183 else
13184 ac_check_lib_save_LIBS=$LIBS
13185 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13187 /* end confdefs.h. */
13189 /* Override any GCC internal prototype to avoid an error.
13190 Use char because int might match the return type of a GCC
13191 builtin and then its argument prototype would still apply. */
13192 #ifdef __cplusplus
13193 extern "C"
13194 #endif
13195 char mpg123_feed ();
13197 main ()
13199 return mpg123_feed ();
13201 return 0;
13203 _ACEOF
13204 if ac_fn_c_try_link "$LINENO"; then :
13205 ac_cv_lib_mpg123_mpg123_feed=yes
13206 else
13207 ac_cv_lib_mpg123_mpg123_feed=no
13209 rm -f core conftest.err conftest.$ac_objext \
13210 conftest$ac_exeext conftest.$ac_ext
13211 LIBS=$ac_check_lib_save_LIBS
13213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13214 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13215 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13217 else
13218 MPG123_LIBS=""
13221 else
13222 MPG123_CFLAGS=""
13223 MPG123_LIBS=""
13225 CPPFLAGS=$ac_save_CPPFLAGS
13226 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13227 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13230 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13231 case "x$with_mpg123" in
13232 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13233 xno) ;;
13234 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13235 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13236 esac
13238 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}
13240 if test "$ac_cv_header_AL_al_h" = "yes"
13241 then
13242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13243 $as_echo_n "checking for -lopenal... " >&6; }
13244 if ${ac_cv_lib_soname_openal+:} false; then :
13245 $as_echo_n "(cached) " >&6
13246 else
13247 ac_check_soname_save_LIBS=$LIBS
13248 LIBS="-lopenal $LIBS"
13249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13250 /* end confdefs.h. */
13252 /* Override any GCC internal prototype to avoid an error.
13253 Use char because int might match the return type of a GCC
13254 builtin and then its argument prototype would still apply. */
13255 #ifdef __cplusplus
13256 extern "C"
13257 #endif
13258 char alGetSource3i ();
13260 main ()
13262 return alGetSource3i ();
13264 return 0;
13266 _ACEOF
13267 if ac_fn_c_try_link "$LINENO"; then :
13268 case "$LIBEXT" in
13269 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13270 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'` ;;
13271 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13272 if ${ac_cv_lib_soname_openal:+false} :; then :
13273 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13274 fi ;;
13275 esac
13277 rm -f core conftest.err conftest.$ac_objext \
13278 conftest$ac_exeext conftest.$ac_ext
13279 LIBS=$ac_check_soname_save_LIBS
13281 if ${ac_cv_lib_soname_openal:+false} :; then :
13282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13283 $as_echo "not found" >&6; }
13285 else
13286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13287 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13289 cat >>confdefs.h <<_ACEOF
13290 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13291 _ACEOF
13293 OPENAL_LIBS="-lopenal"
13295 ac_cv_lib_openal=yes
13297 cat >>confdefs.h <<_ACEOF
13298 #define HAVE_OPENAL 1
13299 _ACEOF
13303 if test "x$ac_cv_lib_openal" != xyes; then :
13304 case "x$with_openal" in
13305 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13306 xno) ;;
13307 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13308 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13309 esac
13311 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13313 if test "$ac_cv_header_kstat_h" = "yes"
13314 then
13315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13316 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13317 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13318 $as_echo_n "(cached) " >&6
13319 else
13320 ac_check_lib_save_LIBS=$LIBS
13321 LIBS="-lkstat $LIBS"
13322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13323 /* end confdefs.h. */
13325 /* Override any GCC internal prototype to avoid an error.
13326 Use char because int might match the return type of a GCC
13327 builtin and then its argument prototype would still apply. */
13328 #ifdef __cplusplus
13329 extern "C"
13330 #endif
13331 char kstat_open ();
13333 main ()
13335 return kstat_open ();
13337 return 0;
13339 _ACEOF
13340 if ac_fn_c_try_link "$LINENO"; then :
13341 ac_cv_lib_kstat_kstat_open=yes
13342 else
13343 ac_cv_lib_kstat_kstat_open=no
13345 rm -f core conftest.err conftest.$ac_objext \
13346 conftest$ac_exeext conftest.$ac_ext
13347 LIBS=$ac_check_lib_save_LIBS
13349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13350 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13351 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13353 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13355 KSTAT_LIBS="-lkstat"
13361 if test "$ac_cv_header_libprocstat_h" = "yes"
13362 then
13363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13364 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13365 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13366 $as_echo_n "(cached) " >&6
13367 else
13368 ac_check_lib_save_LIBS=$LIBS
13369 LIBS="-lprocstat $LIBS"
13370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13371 /* end confdefs.h. */
13373 /* Override any GCC internal prototype to avoid an error.
13374 Use char because int might match the return type of a GCC
13375 builtin and then its argument prototype would still apply. */
13376 #ifdef __cplusplus
13377 extern "C"
13378 #endif
13379 char procstat_open_sysctl ();
13381 main ()
13383 return procstat_open_sysctl ();
13385 return 0;
13387 _ACEOF
13388 if ac_fn_c_try_link "$LINENO"; then :
13389 ac_cv_lib_procstat_procstat_open_sysctl=yes
13390 else
13391 ac_cv_lib_procstat_procstat_open_sysctl=no
13393 rm -f core conftest.err conftest.$ac_objext \
13394 conftest$ac_exeext conftest.$ac_ext
13395 LIBS=$ac_check_lib_save_LIBS
13397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13398 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13399 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13401 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13403 PROCSTAT_LIBS="-lprocstat"
13409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13410 $as_echo_n "checking for -lodbc... " >&6; }
13411 if ${ac_cv_lib_soname_odbc+:} false; then :
13412 $as_echo_n "(cached) " >&6
13413 else
13414 ac_check_soname_save_LIBS=$LIBS
13415 LIBS="-lodbc $LIBS"
13416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13417 /* end confdefs.h. */
13419 /* Override any GCC internal prototype to avoid an error.
13420 Use char because int might match the return type of a GCC
13421 builtin and then its argument prototype would still apply. */
13422 #ifdef __cplusplus
13423 extern "C"
13424 #endif
13425 char SQLConnect ();
13427 main ()
13429 return SQLConnect ();
13431 return 0;
13433 _ACEOF
13434 if ac_fn_c_try_link "$LINENO"; then :
13435 case "$LIBEXT" in
13436 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13437 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'` ;;
13438 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13439 if ${ac_cv_lib_soname_odbc:+false} :; then :
13440 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13441 fi ;;
13442 esac
13444 rm -f core conftest.err conftest.$ac_objext \
13445 conftest$ac_exeext conftest.$ac_ext
13446 LIBS=$ac_check_soname_save_LIBS
13448 if ${ac_cv_lib_soname_odbc:+false} :; then :
13449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13450 $as_echo "not found" >&6; }
13451 cat >>confdefs.h <<_ACEOF
13452 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13453 _ACEOF
13455 else
13456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13457 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13459 cat >>confdefs.h <<_ACEOF
13460 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13461 _ACEOF
13466 if test "x$with_netapi" != "xno"
13467 then
13468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13469 $as_echo_n "checking for -lnetapi... " >&6; }
13470 if ${ac_cv_lib_soname_netapi+:} false; then :
13471 $as_echo_n "(cached) " >&6
13472 else
13473 ac_check_soname_save_LIBS=$LIBS
13474 LIBS="-lnetapi $LIBS"
13475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13476 /* end confdefs.h. */
13478 /* Override any GCC internal prototype to avoid an error.
13479 Use char because int might match the return type of a GCC
13480 builtin and then its argument prototype would still apply. */
13481 #ifdef __cplusplus
13482 extern "C"
13483 #endif
13484 char libnetapi_init ();
13486 main ()
13488 return libnetapi_init ();
13490 return 0;
13492 _ACEOF
13493 if ac_fn_c_try_link "$LINENO"; then :
13494 case "$LIBEXT" in
13495 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13496 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'` ;;
13497 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13498 if ${ac_cv_lib_soname_netapi:+false} :; then :
13499 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13500 fi ;;
13501 esac
13503 rm -f core conftest.err conftest.$ac_objext \
13504 conftest$ac_exeext conftest.$ac_ext
13505 LIBS=$ac_check_soname_save_LIBS
13507 if ${ac_cv_lib_soname_netapi:+false} :; then :
13508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13509 $as_echo "not found" >&6; }
13510 cat >>confdefs.h <<_ACEOF
13511 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13512 _ACEOF
13514 else
13515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13516 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13518 cat >>confdefs.h <<_ACEOF
13519 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13520 _ACEOF
13526 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13527 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
13528 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
13529 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
13531 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13532 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
13533 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13534 then
13535 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13539 EXTRACFLAGS=""
13541 if test "x${GCC}" = "xyes"
13542 then
13543 EXTRACFLAGS="-Wall -pipe"
13545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13546 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13547 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13548 $as_echo_n "(cached) " >&6
13549 else
13550 if test "$cross_compiling" = yes; then :
13551 ac_cv_c_gcc_strength_bug="yes"
13552 else
13553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13554 /* end confdefs.h. */
13555 int L[4] = {0,1,2,3};
13557 main ()
13559 static int Array[3];
13560 unsigned int B = 3;
13561 int i;
13562 for(i=0; i<B; i++) Array[i] = i - 3;
13563 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13564 L[i] = 4;
13565 return (Array[1] != -2 || L[2] != 3)
13567 return 0;
13569 _ACEOF
13570 if ac_fn_c_try_run "$LINENO"; then :
13571 ac_cv_c_gcc_strength_bug="no"
13572 else
13573 ac_cv_c_gcc_strength_bug="yes"
13575 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13576 conftest.$ac_objext conftest.beam conftest.$ac_ext
13580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13581 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13582 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13583 then
13584 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13588 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13589 if ${ac_cv_cflags__fno_builtin+:} false; then :
13590 $as_echo_n "(cached) " >&6
13591 else
13592 ac_wine_try_cflags_saved=$CFLAGS
13593 CFLAGS="$CFLAGS -fno-builtin"
13594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13595 /* end confdefs.h. */
13596 int main(int argc, char **argv) { return 0; }
13597 _ACEOF
13598 if ac_fn_c_try_link "$LINENO"; then :
13599 ac_cv_cflags__fno_builtin=yes
13600 else
13601 ac_cv_cflags__fno_builtin=no
13603 rm -f core conftest.err conftest.$ac_objext \
13604 conftest$ac_exeext conftest.$ac_ext
13605 CFLAGS=$ac_wine_try_cflags_saved
13607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13608 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13609 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
13610 BUILTINFLAG="-fno-builtin"
13613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13614 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13615 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
13616 $as_echo_n "(cached) " >&6
13617 else
13618 ac_wine_try_cflags_saved=$CFLAGS
13619 CFLAGS="$CFLAGS -fno-strict-aliasing"
13620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13621 /* end confdefs.h. */
13622 int main(int argc, char **argv) { return 0; }
13623 _ACEOF
13624 if ac_fn_c_try_link "$LINENO"; then :
13625 ac_cv_cflags__fno_strict_aliasing=yes
13626 else
13627 ac_cv_cflags__fno_strict_aliasing=no
13629 rm -f core conftest.err conftest.$ac_objext \
13630 conftest$ac_exeext conftest.$ac_ext
13631 CFLAGS=$ac_wine_try_cflags_saved
13633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13634 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13635 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
13636 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
13638 saved_CFLAGS=$CFLAGS
13639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13640 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13641 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
13642 $as_echo_n "(cached) " >&6
13643 else
13644 ac_wine_try_cflags_saved=$CFLAGS
13645 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13647 /* end confdefs.h. */
13648 int main(int argc, char **argv) { return 0; }
13649 _ACEOF
13650 if ac_fn_c_try_link "$LINENO"; then :
13651 ac_cv_cflags__Werror_unknown_warning_option=yes
13652 else
13653 ac_cv_cflags__Werror_unknown_warning_option=no
13655 rm -f core conftest.err conftest.$ac_objext \
13656 conftest$ac_exeext conftest.$ac_ext
13657 CFLAGS=$ac_wine_try_cflags_saved
13659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13660 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13661 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
13662 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13665 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13666 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
13667 $as_echo_n "(cached) " >&6
13668 else
13669 ac_wine_try_cflags_saved=$CFLAGS
13670 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
13671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13672 /* end confdefs.h. */
13673 int main(int argc, char **argv) { return 0; }
13674 _ACEOF
13675 if ac_fn_c_try_link "$LINENO"; then :
13676 ac_cv_cflags__Wdeclaration_after_statement=yes
13677 else
13678 ac_cv_cflags__Wdeclaration_after_statement=no
13680 rm -f core conftest.err conftest.$ac_objext \
13681 conftest$ac_exeext conftest.$ac_ext
13682 CFLAGS=$ac_wine_try_cflags_saved
13684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13685 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13686 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
13687 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
13689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13690 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13691 if ${ac_cv_cflags__Wempty_body+:} false; then :
13692 $as_echo_n "(cached) " >&6
13693 else
13694 ac_wine_try_cflags_saved=$CFLAGS
13695 CFLAGS="$CFLAGS -Wempty-body"
13696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13697 /* end confdefs.h. */
13698 int main(int argc, char **argv) { return 0; }
13699 _ACEOF
13700 if ac_fn_c_try_link "$LINENO"; then :
13701 ac_cv_cflags__Wempty_body=yes
13702 else
13703 ac_cv_cflags__Wempty_body=no
13705 rm -f core conftest.err conftest.$ac_objext \
13706 conftest$ac_exeext conftest.$ac_ext
13707 CFLAGS=$ac_wine_try_cflags_saved
13709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13710 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13711 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
13712 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
13714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13715 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13716 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
13717 $as_echo_n "(cached) " >&6
13718 else
13719 ac_wine_try_cflags_saved=$CFLAGS
13720 CFLAGS="$CFLAGS -Wignored-qualifiers"
13721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13722 /* end confdefs.h. */
13723 int main(int argc, char **argv) { return 0; }
13724 _ACEOF
13725 if ac_fn_c_try_link "$LINENO"; then :
13726 ac_cv_cflags__Wignored_qualifiers=yes
13727 else
13728 ac_cv_cflags__Wignored_qualifiers=no
13730 rm -f core conftest.err conftest.$ac_objext \
13731 conftest$ac_exeext conftest.$ac_ext
13732 CFLAGS=$ac_wine_try_cflags_saved
13734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13735 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13736 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
13737 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
13739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13740 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13741 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
13742 $as_echo_n "(cached) " >&6
13743 else
13744 ac_wine_try_cflags_saved=$CFLAGS
13745 CFLAGS="$CFLAGS -Wstrict-prototypes"
13746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13747 /* end confdefs.h. */
13748 int main(int argc, char **argv) { return 0; }
13749 _ACEOF
13750 if ac_fn_c_try_link "$LINENO"; then :
13751 ac_cv_cflags__Wstrict_prototypes=yes
13752 else
13753 ac_cv_cflags__Wstrict_prototypes=no
13755 rm -f core conftest.err conftest.$ac_objext \
13756 conftest$ac_exeext conftest.$ac_ext
13757 CFLAGS=$ac_wine_try_cflags_saved
13759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13760 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13761 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
13762 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
13764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13765 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13766 if ${ac_cv_cflags__Wtype_limits+:} false; then :
13767 $as_echo_n "(cached) " >&6
13768 else
13769 ac_wine_try_cflags_saved=$CFLAGS
13770 CFLAGS="$CFLAGS -Wtype-limits"
13771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13772 /* end confdefs.h. */
13773 int main(int argc, char **argv) { return 0; }
13774 _ACEOF
13775 if ac_fn_c_try_link "$LINENO"; then :
13776 ac_cv_cflags__Wtype_limits=yes
13777 else
13778 ac_cv_cflags__Wtype_limits=no
13780 rm -f core conftest.err conftest.$ac_objext \
13781 conftest$ac_exeext conftest.$ac_ext
13782 CFLAGS=$ac_wine_try_cflags_saved
13784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13785 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13786 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
13787 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
13789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13790 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13791 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
13792 $as_echo_n "(cached) " >&6
13793 else
13794 ac_wine_try_cflags_saved=$CFLAGS
13795 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
13796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13797 /* end confdefs.h. */
13798 int main(int argc, char **argv) { return 0; }
13799 _ACEOF
13800 if ac_fn_c_try_link "$LINENO"; then :
13801 ac_cv_cflags__Wunused_but_set_parameter=yes
13802 else
13803 ac_cv_cflags__Wunused_but_set_parameter=no
13805 rm -f core conftest.err conftest.$ac_objext \
13806 conftest$ac_exeext conftest.$ac_ext
13807 CFLAGS=$ac_wine_try_cflags_saved
13809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13810 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13811 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
13812 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
13814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13815 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13816 if ${ac_cv_cflags__Wvla+:} false; then :
13817 $as_echo_n "(cached) " >&6
13818 else
13819 ac_wine_try_cflags_saved=$CFLAGS
13820 CFLAGS="$CFLAGS -Wvla"
13821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13822 /* end confdefs.h. */
13823 int main(int argc, char **argv) { return 0; }
13824 _ACEOF
13825 if ac_fn_c_try_link "$LINENO"; then :
13826 ac_cv_cflags__Wvla=yes
13827 else
13828 ac_cv_cflags__Wvla=no
13830 rm -f core conftest.err conftest.$ac_objext \
13831 conftest$ac_exeext conftest.$ac_ext
13832 CFLAGS=$ac_wine_try_cflags_saved
13834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
13835 $as_echo "$ac_cv_cflags__Wvla" >&6; }
13836 if test "x$ac_cv_cflags__Wvla" = xyes; then :
13837 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
13839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13840 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13841 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
13842 $as_echo_n "(cached) " >&6
13843 else
13844 ac_wine_try_cflags_saved=$CFLAGS
13845 CFLAGS="$CFLAGS -Wwrite-strings"
13846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13847 /* end confdefs.h. */
13848 int main(int argc, char **argv) { return 0; }
13849 _ACEOF
13850 if ac_fn_c_try_link "$LINENO"; then :
13851 ac_cv_cflags__Wwrite_strings=yes
13852 else
13853 ac_cv_cflags__Wwrite_strings=no
13855 rm -f core conftest.err conftest.$ac_objext \
13856 conftest$ac_exeext conftest.$ac_ext
13857 CFLAGS=$ac_wine_try_cflags_saved
13859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13860 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13861 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
13862 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
13865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13866 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13867 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
13868 $as_echo_n "(cached) " >&6
13869 else
13870 ac_wine_try_cflags_saved=$CFLAGS
13871 CFLAGS="$CFLAGS -Wpointer-arith"
13872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13873 /* end confdefs.h. */
13874 int main(int argc, char **argv) { return 0; }
13875 _ACEOF
13876 if ac_fn_c_try_link "$LINENO"; then :
13877 ac_cv_cflags__Wpointer_arith=yes
13878 else
13879 ac_cv_cflags__Wpointer_arith=no
13881 rm -f core conftest.err conftest.$ac_objext \
13882 conftest$ac_exeext conftest.$ac_ext
13883 CFLAGS=$ac_wine_try_cflags_saved
13885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13886 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13887 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
13888 saved_string_h_CFLAGS=$CFLAGS
13889 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
13890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13891 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13892 if ${ac_cv_c_string_h_warnings+:} false; then :
13893 $as_echo_n "(cached) " >&6
13894 else
13895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13896 /* end confdefs.h. */
13897 #include <string.h>
13899 main ()
13903 return 0;
13905 _ACEOF
13906 if ac_fn_c_try_compile "$LINENO"; then :
13907 ac_cv_c_string_h_warnings=no
13908 else
13909 ac_cv_c_string_h_warnings=yes
13911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13914 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13915 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
13916 CFLAGS=$saved_string_h_CFLAGS
13919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13920 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13921 if ${ac_cv_cflags__Wlogical_op+:} false; then :
13922 $as_echo_n "(cached) " >&6
13923 else
13924 ac_wine_try_cflags_saved=$CFLAGS
13925 CFLAGS="$CFLAGS -Wlogical-op"
13926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13927 /* end confdefs.h. */
13928 int main(int argc, char **argv) { return 0; }
13929 _ACEOF
13930 if ac_fn_c_try_link "$LINENO"; then :
13931 ac_cv_cflags__Wlogical_op=yes
13932 else
13933 ac_cv_cflags__Wlogical_op=no
13935 rm -f core conftest.err conftest.$ac_objext \
13936 conftest$ac_exeext conftest.$ac_ext
13937 CFLAGS=$ac_wine_try_cflags_saved
13939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13940 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13941 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
13942 saved_string_h_CFLAGS=$CFLAGS
13943 CFLAGS="$CFLAGS -Wlogical-op -Werror"
13944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13945 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13946 if ${ac_cv_c_logicalop_noisy+:} false; then :
13947 $as_echo_n "(cached) " >&6
13948 else
13949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13950 /* end confdefs.h. */
13951 #include <string.h>
13952 char*f(const char *h,char n) {return strchr(h,n);}
13954 main ()
13958 return 0;
13960 _ACEOF
13961 if ac_fn_c_try_compile "$LINENO"; then :
13962 ac_cv_c_logicalop_noisy=no
13963 else
13964 ac_cv_c_logicalop_noisy=yes
13966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13969 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13970 CFLAGS=$saved_string_h_CFLAGS
13971 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
13974 CFLAGS=$saved_CFLAGS
13976 for ac_flag in $CFLAGS; do
13977 case $ac_flag in
13978 -g) case $host_os in
13979 darwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13980 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
13981 if ${ac_cv_cflags__gstabsp+:} false; then :
13982 $as_echo_n "(cached) " >&6
13983 else
13984 ac_wine_try_cflags_saved=$CFLAGS
13985 CFLAGS="$CFLAGS -gstabs+"
13986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13987 /* end confdefs.h. */
13988 int main(int argc, char **argv) { return 0; }
13989 _ACEOF
13990 if ac_fn_c_try_link "$LINENO"; then :
13991 ac_cv_cflags__gstabsp=yes
13992 else
13993 ac_cv_cflags__gstabsp=no
13995 rm -f core conftest.err conftest.$ac_objext \
13996 conftest$ac_exeext conftest.$ac_ext
13997 CFLAGS=$ac_wine_try_cflags_saved
13999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
14000 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
14001 if test "x$ac_cv_cflags__gstabsp" = xyes; then :
14002 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
14003 fi ;;
14004 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14005 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14006 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14007 $as_echo_n "(cached) " >&6
14008 else
14009 ac_wine_try_cflags_saved=$CFLAGS
14010 CFLAGS="$CFLAGS -gdwarf-2"
14011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14012 /* end confdefs.h. */
14013 int main(int argc, char **argv) { return 0; }
14014 _ACEOF
14015 if ac_fn_c_try_link "$LINENO"; then :
14016 ac_cv_cflags__gdwarf_2=yes
14017 else
14018 ac_cv_cflags__gdwarf_2=no
14020 rm -f core conftest.err conftest.$ac_objext \
14021 conftest$ac_exeext conftest.$ac_ext
14022 CFLAGS=$ac_wine_try_cflags_saved
14024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14025 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14026 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14027 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14030 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14031 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14032 $as_echo_n "(cached) " >&6
14033 else
14034 ac_wine_try_cflags_saved=$CFLAGS
14035 CFLAGS="$CFLAGS -gstrict-dwarf"
14036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14037 /* end confdefs.h. */
14038 int main(int argc, char **argv) { return 0; }
14039 _ACEOF
14040 if ac_fn_c_try_link "$LINENO"; then :
14041 ac_cv_cflags__gstrict_dwarf=yes
14042 else
14043 ac_cv_cflags__gstrict_dwarf=no
14045 rm -f core conftest.err conftest.$ac_objext \
14046 conftest$ac_exeext conftest.$ac_ext
14047 CFLAGS=$ac_wine_try_cflags_saved
14049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14050 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14051 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14052 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14053 fi ;;
14054 esac ;;
14055 esac
14056 done
14058 case $host_cpu in
14059 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14060 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14061 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14062 $as_echo_n "(cached) " >&6
14063 else
14064 ac_wine_try_cflags_saved=$CFLAGS
14065 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14067 /* end confdefs.h. */
14068 int main(int argc, char **argv) { return 0; }
14069 _ACEOF
14070 if ac_fn_c_try_link "$LINENO"; then :
14071 ac_cv_cflags__fno_omit_frame_pointer=yes
14072 else
14073 ac_cv_cflags__fno_omit_frame_pointer=no
14075 rm -f core conftest.err conftest.$ac_objext \
14076 conftest$ac_exeext conftest.$ac_ext
14077 CFLAGS=$ac_wine_try_cflags_saved
14079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14080 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14081 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14082 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14083 fi ;;
14084 esac
14086 case $host in
14087 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14088 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14089 if ${ac_cv_cflags__Wno_format+:} false; then :
14090 $as_echo_n "(cached) " >&6
14091 else
14092 ac_wine_try_cflags_saved=$CFLAGS
14093 CFLAGS="$CFLAGS -Wno-format"
14094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14095 /* end confdefs.h. */
14096 int main(int argc, char **argv) { return 0; }
14097 _ACEOF
14098 if ac_fn_c_try_link "$LINENO"; then :
14099 ac_cv_cflags__Wno_format=yes
14100 else
14101 ac_cv_cflags__Wno_format=no
14103 rm -f core conftest.err conftest.$ac_objext \
14104 conftest$ac_exeext conftest.$ac_ext
14105 CFLAGS=$ac_wine_try_cflags_saved
14107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14108 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14109 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14110 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14111 fi ;;
14112 esac
14114 if test "x$enable_maintainer_mode" = "xyes"
14115 then
14116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14117 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14118 if ${ac_cv_cflags__Werror+:} false; then :
14119 $as_echo_n "(cached) " >&6
14120 else
14121 ac_wine_try_cflags_saved=$CFLAGS
14122 CFLAGS="$CFLAGS -Werror"
14123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14124 /* end confdefs.h. */
14125 int main(int argc, char **argv) { return 0; }
14126 _ACEOF
14127 if ac_fn_c_try_link "$LINENO"; then :
14128 ac_cv_cflags__Werror=yes
14129 else
14130 ac_cv_cflags__Werror=no
14132 rm -f core conftest.err conftest.$ac_objext \
14133 conftest$ac_exeext conftest.$ac_ext
14134 CFLAGS=$ac_wine_try_cflags_saved
14136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14137 $as_echo "$ac_cv_cflags__Werror" >&6; }
14138 if test "x$ac_cv_cflags__Werror" = xyes; then :
14139 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14143 saved_CFLAGS="$CFLAGS"
14144 CFLAGS="$CFLAGS -Werror"
14145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14146 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14147 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14148 $as_echo_n "(cached) " >&6
14149 else
14150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14151 /* end confdefs.h. */
14152 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14154 main ()
14158 return 0;
14160 _ACEOF
14161 if ac_fn_c_try_compile "$LINENO"; then :
14162 ac_cv_have_ms_hook_prologue="yes"
14163 else
14164 ac_cv_have_ms_hook_prologue="no"
14166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14169 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14170 CFLAGS="$saved_CFLAGS"
14171 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14172 then
14174 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14176 else
14177 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14184 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14185 if ${ac_cv_c_fortify_enabled+:} false; then :
14186 $as_echo_n "(cached) " >&6
14187 else
14188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14189 /* end confdefs.h. */
14190 #include <string.h>
14192 main ()
14194 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14195 #error Fortify enabled
14196 #endif
14198 return 0;
14200 _ACEOF
14201 if ac_fn_c_try_compile "$LINENO"; then :
14202 ac_cv_c_fortify_enabled=no
14203 else
14204 ac_cv_c_fortify_enabled=yes
14206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14209 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14210 if test "$ac_cv_c_fortify_enabled" = yes
14211 then
14212 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14217 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14218 if ${ac_cv_c_extern_prefix+:} false; then :
14219 $as_echo_n "(cached) " >&6
14220 else
14221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14222 /* end confdefs.h. */
14223 extern int ac_test;
14225 main ()
14227 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14229 return 0;
14231 _ACEOF
14232 if ac_fn_c_try_link "$LINENO"; then :
14233 ac_cv_c_extern_prefix="yes"
14234 else
14235 ac_cv_c_extern_prefix="no"
14237 rm -f core conftest.err conftest.$ac_objext \
14238 conftest$ac_exeext conftest.$ac_ext
14240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14241 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14243 case $host_cpu in
14244 *i[3456789]86*)
14245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14246 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14247 if ${ac_cv_c_stdcall_suffix+:} false; then :
14248 $as_echo_n "(cached) " >&6
14249 else
14250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14251 /* end confdefs.h. */
14252 #ifndef _MSC_VER
14253 #define __stdcall __attribute__((__stdcall__))
14254 #endif
14255 int __stdcall ac_test(int i) { return i; }
14257 main ()
14259 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14261 return 0;
14263 _ACEOF
14264 if ac_fn_c_try_link "$LINENO"; then :
14265 ac_cv_c_stdcall_suffix="yes"
14266 else
14267 ac_cv_c_stdcall_suffix="no"
14269 rm -f core conftest.err conftest.$ac_objext \
14270 conftest$ac_exeext conftest.$ac_ext
14272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14273 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14274 *) ac_cv_c_stdcall_suffix="no" ;;
14275 esac
14278 if test "$ac_cv_c_extern_prefix" = "yes"
14279 then
14280 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14282 asm_name_prefix="_"
14283 else
14284 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14286 asm_name_prefix=""
14290 if test "$ac_cv_c_stdcall_suffix" = "yes"
14291 then
14292 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14294 else
14295 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14301 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14302 if ${ac_cv_asm_func_def+:} false; then :
14303 $as_echo_n "(cached) " >&6
14304 else
14305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14306 /* end confdefs.h. */
14309 main ()
14311 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14313 return 0;
14315 _ACEOF
14316 if ac_fn_c_try_link "$LINENO"; then :
14317 ac_cv_asm_func_def=".def"
14318 else
14319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14320 /* end confdefs.h. */
14323 main ()
14325 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14327 return 0;
14329 _ACEOF
14330 if ac_fn_c_try_link "$LINENO"; then :
14331 ac_cv_asm_func_def=".type @function"
14332 else
14333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14334 /* end confdefs.h. */
14337 main ()
14339 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14341 return 0;
14343 _ACEOF
14344 if ac_fn_c_try_link "$LINENO"; then :
14345 ac_cv_asm_func_def=".type 2"
14346 else
14347 ac_cv_asm_func_def="unknown"
14349 rm -f core conftest.err conftest.$ac_objext \
14350 conftest$ac_exeext conftest.$ac_ext
14352 rm -f core conftest.err conftest.$ac_objext \
14353 conftest$ac_exeext conftest.$ac_ext
14355 rm -f core conftest.err conftest.$ac_objext \
14356 conftest$ac_exeext conftest.$ac_ext
14358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14359 $as_echo "$ac_cv_asm_func_def" >&6; }
14362 case "$ac_cv_asm_func_def" in
14363 ".def")
14364 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14366 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14367 ".type @function")
14368 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14370 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14371 ".type 2")
14372 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14374 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14376 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14378 asm_func_header="" ;;
14379 esac
14381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14382 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14383 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14384 $as_echo_n "(cached) " >&6
14385 else
14386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14387 /* end confdefs.h. */
14388 asm(".text\n\t.long 0");
14390 main ()
14394 return 0;
14396 _ACEOF
14397 if ac_fn_c_try_compile "$LINENO"; then :
14398 ac_cv_c_asm_outside_funcs="yes"
14399 else
14400 ac_cv_c_asm_outside_funcs="no"
14402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14405 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14408 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14409 if ${ac_cv_c_dot_previous+:} false; then :
14410 $as_echo_n "(cached) " >&6
14411 else
14412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14413 /* end confdefs.h. */
14416 main ()
14418 asm(".text\nac_test:\t.long 0\n\t.previous");
14420 return 0;
14422 _ACEOF
14423 if ac_fn_c_try_link "$LINENO"; then :
14424 ac_cv_c_dot_previous="yes"
14425 else
14426 ac_cv_c_dot_previous="no"
14428 rm -f core conftest.err conftest.$ac_objext \
14429 conftest$ac_exeext conftest.$ac_ext
14431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14432 $as_echo "$ac_cv_c_dot_previous" >&6; }
14434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14435 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14436 if ${ac_cv_c_cfi_support+:} false; then :
14437 $as_echo_n "(cached) " >&6
14438 else
14439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14440 /* end confdefs.h. */
14441 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14443 main ()
14447 return 0;
14449 _ACEOF
14450 if ac_fn_c_try_compile "$LINENO"; then :
14451 ac_cv_c_cfi_support="yes"
14452 else
14453 ac_cv_c_cfi_support="no"
14455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14458 $as_echo "$ac_cv_c_cfi_support" >&6; }
14460 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14461 asm_func_trailer=""
14462 if test "$ac_cv_c_dot_previous" = "yes"
14463 then
14464 asm_func_trailer="\\n\\t.previous"
14466 if test "$ac_cv_c_cfi_support" = "yes"
14467 then
14468 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14469 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14471 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14473 UNWINDFLAGS=-fasynchronous-unwind-tables
14475 else
14476 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14480 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14483 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14484 then
14485 cat >>confdefs.h <<_ACEOF
14486 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14487 _ACEOF
14489 else
14490 cat >>confdefs.h <<_ACEOF
14491 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14492 _ACEOF
14496 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14499 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14503 case $build_os in
14504 cygwin*|mingw32*) TOOLSEXT=".exe"
14506 esac
14508 case $host_os in
14509 linux*)
14510 case $host_cpu in
14511 *i[3456789]86*|x86_64*)
14512 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14513 loader_programs="$loader_programs $wine_binary-preloader"
14514 as_fn_append LOADER_RULES "
14515 $wine_binary-preloader: preloader.o
14516 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14518 install install-lib:: $wine_binary-preloader
14519 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14521 uninstall::
14522 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14524 preloader_EXTRADEFS = $BUILTINFLAG
14525 " ;;
14526 esac
14528 esac
14529 as_fn_append LOADER_RULES "
14530 PROGRAMS = $loader_programs
14534 ac_save_CFLAGS="$CFLAGS"
14535 CFLAGS="$CFLAGS $BUILTINFLAG"
14536 for ac_func in \
14537 __res_get_state \
14538 __res_getservers \
14539 _finite \
14540 _isnan \
14541 _pclose \
14542 _popen \
14543 _snprintf \
14544 _spawnvp \
14545 _strdup \
14546 _stricmp \
14547 _strnicmp \
14548 _strtoi64 \
14549 _strtoui64 \
14550 _vsnprintf \
14551 asctime_r \
14552 chsize \
14553 dlopen \
14554 epoll_create \
14555 ffs \
14556 fnmatch \
14557 fork \
14558 fpclass \
14559 fstatfs \
14560 fstatvfs \
14561 ftruncate \
14562 futimens \
14563 futimes \
14564 futimesat \
14565 getattrlist \
14566 getdirentries \
14567 getopt_long_only \
14568 getpwuid \
14569 gettimeofday \
14570 getuid \
14571 if_nameindex \
14572 kqueue \
14573 lstat \
14574 memmove \
14575 mmap \
14576 pclose \
14577 pipe2 \
14578 poll \
14579 popen \
14580 port_create \
14581 prctl \
14582 pread \
14583 proc_pidinfo \
14584 pwrite \
14585 readdir \
14586 readlink \
14587 sched_yield \
14588 select \
14589 setproctitle \
14590 setrlimit \
14591 settimeofday \
14592 sigaltstack \
14593 sigprocmask \
14594 snprintf \
14595 statfs \
14596 statvfs \
14597 strcasecmp \
14598 strdup \
14599 strerror \
14600 strncasecmp \
14601 strtold \
14602 strtoll \
14603 strtoull \
14604 symlink \
14605 tcdrain \
14606 thr_kill2 \
14607 timegm \
14608 usleep \
14609 vsnprintf
14611 do :
14612 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14613 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14614 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14615 cat >>confdefs.h <<_ACEOF
14616 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14617 _ACEOF
14620 done
14622 CFLAGS="$ac_save_CFLAGS"
14624 if test "$ac_cv_func_dlopen" = no
14625 then
14626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14627 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14628 if ${ac_cv_lib_dl_dlopen+:} false; then :
14629 $as_echo_n "(cached) " >&6
14630 else
14631 ac_check_lib_save_LIBS=$LIBS
14632 LIBS="-ldl $LIBS"
14633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14634 /* end confdefs.h. */
14636 /* Override any GCC internal prototype to avoid an error.
14637 Use char because int might match the return type of a GCC
14638 builtin and then its argument prototype would still apply. */
14639 #ifdef __cplusplus
14640 extern "C"
14641 #endif
14642 char dlopen ();
14644 main ()
14646 return dlopen ();
14648 return 0;
14650 _ACEOF
14651 if ac_fn_c_try_link "$LINENO"; then :
14652 ac_cv_lib_dl_dlopen=yes
14653 else
14654 ac_cv_lib_dl_dlopen=no
14656 rm -f core conftest.err conftest.$ac_objext \
14657 conftest$ac_exeext conftest.$ac_ext
14658 LIBS=$ac_check_lib_save_LIBS
14660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14661 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14662 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14663 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14664 DL_LIBS="-ldl"
14669 ac_wine_check_funcs_save_LIBS="$LIBS"
14670 LIBS="$LIBS $DL_LIBS"
14671 for ac_func in dladdr
14672 do :
14673 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
14674 if test "x$ac_cv_func_dladdr" = xyes; then :
14675 cat >>confdefs.h <<_ACEOF
14676 #define HAVE_DLADDR 1
14677 _ACEOF
14680 done
14682 LIBS="$ac_wine_check_funcs_save_LIBS"
14684 if test "$ac_cv_func_poll" = no
14685 then
14686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14687 $as_echo_n "checking for poll in -lpoll... " >&6; }
14688 if ${ac_cv_lib_poll_poll+:} false; then :
14689 $as_echo_n "(cached) " >&6
14690 else
14691 ac_check_lib_save_LIBS=$LIBS
14692 LIBS="-lpoll $LIBS"
14693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14694 /* end confdefs.h. */
14696 /* Override any GCC internal prototype to avoid an error.
14697 Use char because int might match the return type of a GCC
14698 builtin and then its argument prototype would still apply. */
14699 #ifdef __cplusplus
14700 extern "C"
14701 #endif
14702 char poll ();
14704 main ()
14706 return poll ();
14708 return 0;
14710 _ACEOF
14711 if ac_fn_c_try_link "$LINENO"; then :
14712 ac_cv_lib_poll_poll=yes
14713 else
14714 ac_cv_lib_poll_poll=no
14716 rm -f core conftest.err conftest.$ac_objext \
14717 conftest$ac_exeext conftest.$ac_ext
14718 LIBS=$ac_check_lib_save_LIBS
14720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14721 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14722 if test "x$ac_cv_lib_poll_poll" = xyes; then :
14723 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14724 POLL_LIBS="-lpoll"
14730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14731 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14732 if ${ac_cv_search_gethostbyname+:} false; then :
14733 $as_echo_n "(cached) " >&6
14734 else
14735 ac_func_search_save_LIBS=$LIBS
14736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14737 /* end confdefs.h. */
14739 /* Override any GCC internal prototype to avoid an error.
14740 Use char because int might match the return type of a GCC
14741 builtin and then its argument prototype would still apply. */
14742 #ifdef __cplusplus
14743 extern "C"
14744 #endif
14745 char gethostbyname ();
14747 main ()
14749 return gethostbyname ();
14751 return 0;
14753 _ACEOF
14754 for ac_lib in '' nsl; do
14755 if test -z "$ac_lib"; then
14756 ac_res="none required"
14757 else
14758 ac_res=-l$ac_lib
14759 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14761 if ac_fn_c_try_link "$LINENO"; then :
14762 ac_cv_search_gethostbyname=$ac_res
14764 rm -f core conftest.err conftest.$ac_objext \
14765 conftest$ac_exeext
14766 if ${ac_cv_search_gethostbyname+:} false; then :
14767 break
14769 done
14770 if ${ac_cv_search_gethostbyname+:} false; then :
14772 else
14773 ac_cv_search_gethostbyname=no
14775 rm conftest.$ac_ext
14776 LIBS=$ac_func_search_save_LIBS
14778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14779 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14780 ac_res=$ac_cv_search_gethostbyname
14781 if test "$ac_res" != no; then :
14782 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14788 $as_echo_n "checking for library containing connect... " >&6; }
14789 if ${ac_cv_search_connect+:} false; then :
14790 $as_echo_n "(cached) " >&6
14791 else
14792 ac_func_search_save_LIBS=$LIBS
14793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14794 /* end confdefs.h. */
14796 /* Override any GCC internal prototype to avoid an error.
14797 Use char because int might match the return type of a GCC
14798 builtin and then its argument prototype would still apply. */
14799 #ifdef __cplusplus
14800 extern "C"
14801 #endif
14802 char connect ();
14804 main ()
14806 return connect ();
14808 return 0;
14810 _ACEOF
14811 for ac_lib in '' socket; do
14812 if test -z "$ac_lib"; then
14813 ac_res="none required"
14814 else
14815 ac_res=-l$ac_lib
14816 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14818 if ac_fn_c_try_link "$LINENO"; then :
14819 ac_cv_search_connect=$ac_res
14821 rm -f core conftest.err conftest.$ac_objext \
14822 conftest$ac_exeext
14823 if ${ac_cv_search_connect+:} false; then :
14824 break
14826 done
14827 if ${ac_cv_search_connect+:} false; then :
14829 else
14830 ac_cv_search_connect=no
14832 rm conftest.$ac_ext
14833 LIBS=$ac_func_search_save_LIBS
14835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14836 $as_echo "$ac_cv_search_connect" >&6; }
14837 ac_res=$ac_cv_search_connect
14838 if test "$ac_res" != no; then :
14839 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14845 $as_echo_n "checking for library containing inet_aton... " >&6; }
14846 if ${ac_cv_search_inet_aton+:} false; then :
14847 $as_echo_n "(cached) " >&6
14848 else
14849 ac_func_search_save_LIBS=$LIBS
14850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14851 /* end confdefs.h. */
14853 /* Override any GCC internal prototype to avoid an error.
14854 Use char because int might match the return type of a GCC
14855 builtin and then its argument prototype would still apply. */
14856 #ifdef __cplusplus
14857 extern "C"
14858 #endif
14859 char inet_aton ();
14861 main ()
14863 return inet_aton ();
14865 return 0;
14867 _ACEOF
14868 for ac_lib in '' resolv; do
14869 if test -z "$ac_lib"; then
14870 ac_res="none required"
14871 else
14872 ac_res=-l$ac_lib
14873 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14875 if ac_fn_c_try_link "$LINENO"; then :
14876 ac_cv_search_inet_aton=$ac_res
14878 rm -f core conftest.err conftest.$ac_objext \
14879 conftest$ac_exeext
14880 if ${ac_cv_search_inet_aton+:} false; then :
14881 break
14883 done
14884 if ${ac_cv_search_inet_aton+:} false; then :
14886 else
14887 ac_cv_search_inet_aton=no
14889 rm conftest.$ac_ext
14890 LIBS=$ac_func_search_save_LIBS
14892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14893 $as_echo "$ac_cv_search_inet_aton" >&6; }
14894 ac_res=$ac_cv_search_inet_aton
14895 if test "$ac_res" != no; then :
14896 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14901 for ac_func in \
14902 getaddrinfo \
14903 getnameinfo \
14904 getnetbyname \
14905 getprotobyname \
14906 getprotobynumber \
14907 getservbyport \
14908 inet_addr \
14909 inet_network \
14910 inet_ntop \
14911 inet_pton \
14912 sendmsg \
14913 socketpair \
14915 do :
14916 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14917 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14918 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14919 cat >>confdefs.h <<_ACEOF
14920 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14921 _ACEOF
14924 done
14927 ac_save_LIBS=$LIBS
14928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14929 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14930 if ${ac_cv_search_clock_gettime+:} false; then :
14931 $as_echo_n "(cached) " >&6
14932 else
14933 ac_func_search_save_LIBS=$LIBS
14934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14935 /* end confdefs.h. */
14937 /* Override any GCC internal prototype to avoid an error.
14938 Use char because int might match the return type of a GCC
14939 builtin and then its argument prototype would still apply. */
14940 #ifdef __cplusplus
14941 extern "C"
14942 #endif
14943 char clock_gettime ();
14945 main ()
14947 return clock_gettime ();
14949 return 0;
14951 _ACEOF
14952 for ac_lib in '' rt; do
14953 if test -z "$ac_lib"; then
14954 ac_res="none required"
14955 else
14956 ac_res=-l$ac_lib
14957 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14959 if ac_fn_c_try_link "$LINENO"; then :
14960 ac_cv_search_clock_gettime=$ac_res
14962 rm -f core conftest.err conftest.$ac_objext \
14963 conftest$ac_exeext
14964 if ${ac_cv_search_clock_gettime+:} false; then :
14965 break
14967 done
14968 if ${ac_cv_search_clock_gettime+:} false; then :
14970 else
14971 ac_cv_search_clock_gettime=no
14973 rm conftest.$ac_ext
14974 LIBS=$ac_func_search_save_LIBS
14976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14977 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14978 ac_res=$ac_cv_search_clock_gettime
14979 if test "$ac_res" != no; then :
14980 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14982 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
14984 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
14988 LIBS=$ac_save_LIBS
14990 LDAP_LIBS=""
14992 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
14993 then
14994 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
14996 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
14997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
14998 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
14999 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15000 $as_echo_n "(cached) " >&6
15001 else
15002 ac_check_lib_save_LIBS=$LIBS
15003 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15005 /* end confdefs.h. */
15007 /* Override any GCC internal prototype to avoid an error.
15008 Use char because int might match the return type of a GCC
15009 builtin and then its argument prototype would still apply. */
15010 #ifdef __cplusplus
15011 extern "C"
15012 #endif
15013 char ldap_initialize ();
15015 main ()
15017 return ldap_initialize ();
15019 return 0;
15021 _ACEOF
15022 if ac_fn_c_try_link "$LINENO"; then :
15023 ac_cv_lib_ldap_r_ldap_initialize=yes
15024 else
15025 ac_cv_lib_ldap_r_ldap_initialize=no
15027 rm -f core conftest.err conftest.$ac_objext \
15028 conftest$ac_exeext conftest.$ac_ext
15029 LIBS=$ac_check_lib_save_LIBS
15031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15032 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15033 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15035 $as_echo_n "checking for ber_init in -llber... " >&6; }
15036 if ${ac_cv_lib_lber_ber_init+:} false; then :
15037 $as_echo_n "(cached) " >&6
15038 else
15039 ac_check_lib_save_LIBS=$LIBS
15040 LIBS="-llber $PTHREAD_LIBS $LIBS"
15041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15042 /* end confdefs.h. */
15044 /* Override any GCC internal prototype to avoid an error.
15045 Use char because int might match the return type of a GCC
15046 builtin and then its argument prototype would still apply. */
15047 #ifdef __cplusplus
15048 extern "C"
15049 #endif
15050 char ber_init ();
15052 main ()
15054 return ber_init ();
15056 return 0;
15058 _ACEOF
15059 if ac_fn_c_try_link "$LINENO"; then :
15060 ac_cv_lib_lber_ber_init=yes
15061 else
15062 ac_cv_lib_lber_ber_init=no
15064 rm -f core conftest.err conftest.$ac_objext \
15065 conftest$ac_exeext conftest.$ac_ext
15066 LIBS=$ac_check_lib_save_LIBS
15068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15069 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15070 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15072 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15074 LDAP_LIBS="-lldap_r -llber"
15081 ac_wine_check_funcs_save_LIBS="$LIBS"
15082 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15083 for ac_func in \
15084 ldap_count_references \
15085 ldap_first_reference \
15086 ldap_next_reference \
15087 ldap_parse_reference \
15088 ldap_parse_sort_control \
15089 ldap_parse_sortresponse_control \
15090 ldap_parse_vlv_control \
15091 ldap_parse_vlvresponse_control
15092 do :
15093 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15094 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15095 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15096 cat >>confdefs.h <<_ACEOF
15097 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15098 _ACEOF
15101 done
15103 LIBS="$ac_wine_check_funcs_save_LIBS"
15105 if test "x$LDAP_LIBS" = "x"; then :
15106 case "x$with_ldap" in
15107 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15108 xno) ;;
15109 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15110 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15111 esac
15114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15115 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15116 if ${wine_cv_one_arg_mkdir+:} false; then :
15117 $as_echo_n "(cached) " >&6
15118 else
15119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15120 /* end confdefs.h. */
15121 #include <sys/stat.h>
15123 main ()
15125 mkdir("foo");
15127 return 0;
15129 _ACEOF
15130 if ac_fn_c_try_compile "$LINENO"; then :
15131 wine_cv_one_arg_mkdir=yes
15132 else
15133 wine_cv_one_arg_mkdir=no
15135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15138 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15139 if test "$wine_cv_one_arg_mkdir" = "yes"
15140 then
15142 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15147 $as_echo_n "checking for sched_setaffinity... " >&6; }
15148 if ${wine_cv_have_sched_setaffinity+:} false; then :
15149 $as_echo_n "(cached) " >&6
15150 else
15151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15152 /* end confdefs.h. */
15153 #define _GNU_SOURCE
15154 #include <sched.h>
15156 main ()
15158 sched_setaffinity(0, 0, 0);
15160 return 0;
15162 _ACEOF
15163 if ac_fn_c_try_link "$LINENO"; then :
15164 wine_cv_have_sched_setaffinity=yes
15165 else
15166 wine_cv_have_sched_setaffinity=no
15168 rm -f core conftest.err conftest.$ac_objext \
15169 conftest$ac_exeext conftest.$ac_ext
15171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15172 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15173 if test "$wine_cv_have_sched_setaffinity" = "yes"
15174 then
15176 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15181 $as_echo_n "checking for fallocate... " >&6; }
15182 if ${wine_cv_have_fallocate+:} false; then :
15183 $as_echo_n "(cached) " >&6
15184 else
15185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15186 /* end confdefs.h. */
15187 #define _GNU_SOURCE
15188 #include <fcntl.h>
15190 main ()
15192 fallocate(-1, 0, 0, 0);
15194 return 0;
15196 _ACEOF
15197 if ac_fn_c_try_link "$LINENO"; then :
15198 wine_cv_have_fallocate=yes
15199 else
15200 wine_cv_have_fallocate=no
15202 rm -f core conftest.err conftest.$ac_objext \
15203 conftest$ac_exeext conftest.$ac_ext
15205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15206 $as_echo "$wine_cv_have_fallocate" >&6; }
15207 if test "$wine_cv_have_fallocate" = "yes"
15208 then
15210 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15216 $as_echo_n "checking for inline... " >&6; }
15217 if ${ac_cv_c_inline+:} false; then :
15218 $as_echo_n "(cached) " >&6
15219 else
15220 ac_cv_c_inline=no
15221 for ac_kw in inline __inline__ __inline; do
15222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15223 /* end confdefs.h. */
15224 #ifndef __cplusplus
15225 typedef int foo_t;
15226 static $ac_kw foo_t static_foo () {return 0; }
15227 $ac_kw foo_t foo () {return 0; }
15228 #endif
15230 _ACEOF
15231 if ac_fn_c_try_compile "$LINENO"; then :
15232 ac_cv_c_inline=$ac_kw
15234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15235 test "$ac_cv_c_inline" != no && break
15236 done
15239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15240 $as_echo "$ac_cv_c_inline" >&6; }
15242 case $ac_cv_c_inline in
15243 inline | yes) ;;
15245 case $ac_cv_c_inline in
15246 no) ac_val=;;
15247 *) ac_val=$ac_cv_c_inline;;
15248 esac
15249 cat >>confdefs.h <<_ACEOF
15250 #ifndef __cplusplus
15251 #define inline $ac_val
15252 #endif
15253 _ACEOF
15255 esac
15257 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15258 if test "x$ac_cv_type_mode_t" = xyes; then :
15260 cat >>confdefs.h <<_ACEOF
15261 #define HAVE_MODE_T 1
15262 _ACEOF
15266 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15267 if test "x$ac_cv_type_off_t" = xyes; then :
15269 cat >>confdefs.h <<_ACEOF
15270 #define HAVE_OFF_T 1
15271 _ACEOF
15275 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15276 if test "x$ac_cv_type_pid_t" = xyes; then :
15278 cat >>confdefs.h <<_ACEOF
15279 #define HAVE_PID_T 1
15280 _ACEOF
15284 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15285 if test "x$ac_cv_type_size_t" = xyes; then :
15287 cat >>confdefs.h <<_ACEOF
15288 #define HAVE_SIZE_T 1
15289 _ACEOF
15293 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15294 if test "x$ac_cv_type_ssize_t" = xyes; then :
15296 cat >>confdefs.h <<_ACEOF
15297 #define HAVE_SSIZE_T 1
15298 _ACEOF
15302 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15303 if test "x$ac_cv_type_long_long" = xyes; then :
15305 cat >>confdefs.h <<_ACEOF
15306 #define HAVE_LONG_LONG 1
15307 _ACEOF
15311 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15312 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15314 cat >>confdefs.h <<_ACEOF
15315 #define HAVE_FSBLKCNT_T 1
15316 _ACEOF
15320 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15321 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15323 cat >>confdefs.h <<_ACEOF
15324 #define HAVE_FSFILCNT_T 1
15325 _ACEOF
15330 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15331 #include <signal.h>
15333 if test "x$ac_cv_type_sigset_t" = xyes; then :
15335 cat >>confdefs.h <<_ACEOF
15336 #define HAVE_SIGSET_T 1
15337 _ACEOF
15342 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15344 if test "x$ac_cv_type_request_sense" = xyes; then :
15346 cat >>confdefs.h <<_ACEOF
15347 #define HAVE_REQUEST_SENSE 1
15348 _ACEOF
15354 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15355 #ifdef HAVE_SYS_SOCKET_H
15356 #include <sys/socket.h>
15357 #endif
15358 #ifdef HAVE_SYS_SOCKETVAR_H
15359 #include <sys/socketvar.h>
15360 #endif
15361 #ifdef HAVE_NET_ROUTE_H
15362 #include <net/route.h>
15363 #endif
15364 #ifdef HAVE_NETINET_IN_H
15365 #include <netinet/in.h>
15366 #endif
15367 #ifdef HAVE_NETINET_IN_SYSTM_H
15368 #include <netinet/in_systm.h>
15369 #endif
15370 #ifdef HAVE_NETINET_IP_H
15371 #include <netinet/ip.h>
15372 #endif
15373 #ifdef HAVE_NETINET_IN_PCB_H
15374 #include <netinet/in_pcb.h>
15375 #endif
15377 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15379 cat >>confdefs.h <<_ACEOF
15380 #define HAVE_STRUCT_XINPGEN 1
15381 _ACEOF
15387 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15388 #include <link.h>
15389 #endif
15390 #ifdef HAVE_SYS_LINK_H
15391 #include <sys/link.h>
15392 #endif
15394 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15396 cat >>confdefs.h <<_ACEOF
15397 #define HAVE_STRUCT_R_DEBUG 1
15398 _ACEOF
15402 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15403 #include <link.h>
15404 #endif
15405 #ifdef HAVE_SYS_LINK_H
15406 #include <sys/link.h>
15407 #endif
15409 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15411 cat >>confdefs.h <<_ACEOF
15412 #define HAVE_STRUCT_LINK_MAP 1
15413 _ACEOF
15419 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15420 #include <linux/input.h>
15421 #endif
15423 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15425 cat >>confdefs.h <<_ACEOF
15426 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15427 _ACEOF
15433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15434 $as_echo_n "checking for sigaddset... " >&6; }
15435 if ${wine_cv_have_sigaddset+:} false; then :
15436 $as_echo_n "(cached) " >&6
15437 else
15438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15439 /* end confdefs.h. */
15440 #include <signal.h>
15442 main ()
15444 sigset_t set; sigaddset(&set,SIGTERM);
15446 return 0;
15448 _ACEOF
15449 if ac_fn_c_try_link "$LINENO"; then :
15450 wine_cv_have_sigaddset=yes
15451 else
15452 wine_cv_have_sigaddset=no
15454 rm -f core conftest.err conftest.$ac_objext \
15455 conftest$ac_exeext conftest.$ac_ext
15457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15458 $as_echo "$wine_cv_have_sigaddset" >&6; }
15459 if test "$wine_cv_have_sigaddset" = "yes"
15460 then
15462 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15468 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15469 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15470 $as_echo_n "(cached) " >&6
15471 else
15472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15473 /* end confdefs.h. */
15474 #include <netdb.h>
15476 main ()
15479 char *name=0;
15480 struct hostent he;
15481 struct hostent *result;
15482 char *buf=0;
15483 int bufsize=0;
15484 int errnr;
15485 char *addr=0;
15486 int addrlen=0;
15487 int addrtype=0;
15488 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15489 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15492 return 0;
15494 _ACEOF
15495 if ac_fn_c_try_link "$LINENO"; then :
15496 wine_cv_linux_gethostbyname_r_6=yes
15497 else
15498 wine_cv_linux_gethostbyname_r_6=no
15501 rm -f core conftest.err conftest.$ac_objext \
15502 conftest$ac_exeext conftest.$ac_ext
15505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15506 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15507 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15508 then
15510 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15514 if test "$ac_cv_header_linux_joystick_h" = "yes"
15515 then
15516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15517 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15518 if ${wine_cv_linux_joystick_22_api+:} false; then :
15519 $as_echo_n "(cached) " >&6
15520 else
15521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15522 /* end confdefs.h. */
15524 #include <sys/ioctl.h>
15525 #include <sys/types.h>
15526 #include <linux/joystick.h>
15528 struct js_event blub;
15529 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15530 #error "no 2.2 header"
15531 #endif
15534 main ()
15536 /*empty*/
15538 return 0;
15540 _ACEOF
15541 if ac_fn_c_try_compile "$LINENO"; then :
15542 wine_cv_linux_joystick_22_api=yes
15543 else
15544 wine_cv_linux_joystick_22_api=no
15546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15550 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15551 if test "$wine_cv_linux_joystick_22_api" = "yes"
15552 then
15554 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15560 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15561 #ifdef HAVE_SYS_PARAM_H
15562 # include <sys/param.h>
15563 #endif
15564 #ifdef HAVE_SYS_MOUNT_H
15565 # include <sys/mount.h>
15566 #endif
15567 #ifdef HAVE_SYS_VFS_H
15568 # include <sys/vfs.h>
15569 #endif
15570 #ifdef HAVE_SYS_STATFS_H
15571 # include <sys/statfs.h>
15572 #endif
15574 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15576 cat >>confdefs.h <<_ACEOF
15577 #define HAVE_STRUCT_STATFS_F_BFREE 1
15578 _ACEOF
15582 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15583 #ifdef HAVE_SYS_PARAM_H
15584 # include <sys/param.h>
15585 #endif
15586 #ifdef HAVE_SYS_MOUNT_H
15587 # include <sys/mount.h>
15588 #endif
15589 #ifdef HAVE_SYS_VFS_H
15590 # include <sys/vfs.h>
15591 #endif
15592 #ifdef HAVE_SYS_STATFS_H
15593 # include <sys/statfs.h>
15594 #endif
15596 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
15598 cat >>confdefs.h <<_ACEOF
15599 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15600 _ACEOF
15604 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15605 #ifdef HAVE_SYS_PARAM_H
15606 # include <sys/param.h>
15607 #endif
15608 #ifdef HAVE_SYS_MOUNT_H
15609 # include <sys/mount.h>
15610 #endif
15611 #ifdef HAVE_SYS_VFS_H
15612 # include <sys/vfs.h>
15613 #endif
15614 #ifdef HAVE_SYS_STATFS_H
15615 # include <sys/statfs.h>
15616 #endif
15618 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
15620 cat >>confdefs.h <<_ACEOF
15621 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15622 _ACEOF
15626 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15627 #ifdef HAVE_SYS_PARAM_H
15628 # include <sys/param.h>
15629 #endif
15630 #ifdef HAVE_SYS_MOUNT_H
15631 # include <sys/mount.h>
15632 #endif
15633 #ifdef HAVE_SYS_VFS_H
15634 # include <sys/vfs.h>
15635 #endif
15636 #ifdef HAVE_SYS_STATFS_H
15637 # include <sys/statfs.h>
15638 #endif
15640 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
15642 cat >>confdefs.h <<_ACEOF
15643 #define HAVE_STRUCT_STATFS_F_FFREE 1
15644 _ACEOF
15648 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15649 #ifdef HAVE_SYS_PARAM_H
15650 # include <sys/param.h>
15651 #endif
15652 #ifdef HAVE_SYS_MOUNT_H
15653 # include <sys/mount.h>
15654 #endif
15655 #ifdef HAVE_SYS_VFS_H
15656 # include <sys/vfs.h>
15657 #endif
15658 #ifdef HAVE_SYS_STATFS_H
15659 # include <sys/statfs.h>
15660 #endif
15662 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
15664 cat >>confdefs.h <<_ACEOF
15665 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15666 _ACEOF
15670 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15671 #ifdef HAVE_SYS_PARAM_H
15672 # include <sys/param.h>
15673 #endif
15674 #ifdef HAVE_SYS_MOUNT_H
15675 # include <sys/mount.h>
15676 #endif
15677 #ifdef HAVE_SYS_VFS_H
15678 # include <sys/vfs.h>
15679 #endif
15680 #ifdef HAVE_SYS_STATFS_H
15681 # include <sys/statfs.h>
15682 #endif
15684 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
15686 cat >>confdefs.h <<_ACEOF
15687 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15688 _ACEOF
15694 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15695 #include <sys/statvfs.h>
15696 #endif
15698 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
15700 cat >>confdefs.h <<_ACEOF
15701 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15702 _ACEOF
15708 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15709 #include <dirent.h>
15710 #endif
15712 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
15714 cat >>confdefs.h <<_ACEOF
15715 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15716 _ACEOF
15722 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15723 #ifdef HAVE_SYS_SOCKET_H
15724 # include <sys/socket.h>
15725 #endif
15726 #ifdef HAVE_SYS_UN_H
15727 # include <sys/un.h>
15728 #endif
15730 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
15732 cat >>confdefs.h <<_ACEOF
15733 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15734 _ACEOF
15738 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15739 #ifdef HAVE_SYS_SOCKET_H
15740 # include <sys/socket.h>
15741 #endif
15742 #ifdef HAVE_SYS_UN_H
15743 # include <sys/un.h>
15744 #endif
15746 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
15748 cat >>confdefs.h <<_ACEOF
15749 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15750 _ACEOF
15754 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15755 #ifdef HAVE_SYS_SOCKET_H
15756 # include <sys/socket.h>
15757 #endif
15758 #ifdef HAVE_SYS_UN_H
15759 # include <sys/un.h>
15760 #endif
15762 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
15764 cat >>confdefs.h <<_ACEOF
15765 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15766 _ACEOF
15772 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15773 #ifdef HAVE_SCSI_SG_H
15774 #include <scsi/sg.h>
15775 #endif
15777 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
15779 cat >>confdefs.h <<_ACEOF
15780 #define HAVE_SCSIREQ_T_CMD 1
15781 _ACEOF
15785 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>
15786 #ifdef HAVE_SCSI_SG_H
15787 #include <scsi/sg.h>
15788 #endif
15790 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
15792 cat >>confdefs.h <<_ACEOF
15793 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15794 _ACEOF
15800 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15802 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
15804 cat >>confdefs.h <<_ACEOF
15805 #define HAVE_SIGINFO_T_SI_FD 1
15806 _ACEOF
15812 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15813 #ifdef HAVE_SYS_MTIO_H
15814 #include <sys/mtio.h>
15815 #endif
15817 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
15819 cat >>confdefs.h <<_ACEOF
15820 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15821 _ACEOF
15825 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15826 #ifdef HAVE_SYS_MTIO_H
15827 #include <sys/mtio.h>
15828 #endif
15830 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
15832 cat >>confdefs.h <<_ACEOF
15833 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15834 _ACEOF
15838 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15839 #ifdef HAVE_SYS_MTIO_H
15840 #include <sys/mtio.h>
15841 #endif
15843 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
15845 cat >>confdefs.h <<_ACEOF
15846 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15847 _ACEOF
15853 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15854 #include <getopt.h>
15855 #endif
15857 if test "x$ac_cv_member_struct_option_name" = xyes; then :
15859 cat >>confdefs.h <<_ACEOF
15860 #define HAVE_STRUCT_OPTION_NAME 1
15861 _ACEOF
15867 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15868 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
15870 cat >>confdefs.h <<_ACEOF
15871 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15872 _ACEOF
15876 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15877 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
15879 cat >>confdefs.h <<_ACEOF
15880 #define HAVE_STRUCT_STAT_ST_MTIM 1
15881 _ACEOF
15885 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15886 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
15888 cat >>confdefs.h <<_ACEOF
15889 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15890 _ACEOF
15894 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15895 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
15897 cat >>confdefs.h <<_ACEOF
15898 #define HAVE_STRUCT_STAT_ST_CTIM 1
15899 _ACEOF
15903 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15904 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
15906 cat >>confdefs.h <<_ACEOF
15907 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15908 _ACEOF
15912 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15913 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
15915 cat >>confdefs.h <<_ACEOF
15916 #define HAVE_STRUCT_STAT_ST_ATIM 1
15917 _ACEOF
15921 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15922 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
15924 cat >>confdefs.h <<_ACEOF
15925 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15926 _ACEOF
15930 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15931 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
15933 cat >>confdefs.h <<_ACEOF
15934 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15935 _ACEOF
15939 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15940 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
15942 cat >>confdefs.h <<_ACEOF
15943 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15944 _ACEOF
15948 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15949 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
15951 cat >>confdefs.h <<_ACEOF
15952 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15953 _ACEOF
15957 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15958 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
15960 cat >>confdefs.h <<_ACEOF
15961 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15962 _ACEOF
15966 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15967 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
15969 cat >>confdefs.h <<_ACEOF
15970 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15971 _ACEOF
15977 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
15978 #include <sys/types.h>
15979 #endif
15980 #ifdef HAVE_NETINET_IN_H
15981 #include <netinet/in.h>
15982 #endif
15984 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
15986 cat >>confdefs.h <<_ACEOF
15987 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
15988 _ACEOF
15994 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
15995 #include <resolv.h>
15996 #endif
15998 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16000 cat >>confdefs.h <<_ACEOF
16001 #define HAVE_STRUCT___RES_STATE 1
16002 _ACEOF
16008 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
16009 #include <resolv.h>
16010 #endif
16012 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16014 cat >>confdefs.h <<_ACEOF
16015 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16016 _ACEOF
16022 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16023 #include <sys/types.h>
16024 #endif
16025 #ifdef HAVE_NETINET_IN_H
16026 # include <netinet/in.h>
16027 #endif
16028 #ifdef HAVE_ARPA_NAMESER_H
16029 # include <arpa/nameser.h>
16030 #endif
16032 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16034 cat >>confdefs.h <<_ACEOF
16035 #define HAVE_NS_MSG__MSG_PTR 1
16036 _ACEOF
16042 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16043 #include <sys/types.h>
16044 #endif
16045 #ifdef HAVE_NETINET_IP_H
16046 #include <netinet/ip.h>
16047 #endif
16048 #ifdef HAVE_NETINET_IP_ICMP_H
16049 #include <netinet/ip_icmp.h>
16050 #endif
16051 #ifdef HAVE_NETINET_ICMP_VAR_H
16052 #include <netinet/icmp_var.h>
16053 #endif
16055 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16057 cat >>confdefs.h <<_ACEOF
16058 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16059 _ACEOF
16065 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16066 #include <sys/types.h>
16067 #endif
16068 #ifdef HAVE_ALIAS_H
16069 #include <alias.h>
16070 #endif
16071 #ifdef HAVE_SYS_SOCKET_H
16072 #include <sys/socket.h>
16073 #endif
16074 #ifdef HAVE_SYS_SOCKETVAR_H
16075 #include <sys/socketvar.h>
16076 #endif
16077 #ifdef HAVE_SYS_TIMEOUT_H
16078 #include <sys/timeout.h>
16079 #endif
16080 #ifdef HAVE_NETINET_IN_H
16081 #include <netinet/in.h>
16082 #endif
16083 #ifdef HAVE_NETINET_IN_SYSTM_H
16084 #include <netinet/in_systm.h>
16085 #endif
16086 #ifdef HAVE_NETINET_IP_H
16087 #include <netinet/ip.h>
16088 #endif
16089 #ifdef HAVE_NETINET_IP_VAR_H
16090 #include <netinet/ip_var.h>
16091 #endif
16092 #ifdef HAVE_NETINET_IP_ICMP_H
16093 #include <netinet/ip_icmp.h>
16094 #endif
16095 #ifdef HAVE_NETINET_ICMP_VAR_H
16096 #include <netinet/icmp_var.h>
16097 #endif
16099 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16101 cat >>confdefs.h <<_ACEOF
16102 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16103 _ACEOF
16109 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16110 #include <sys/types.h>
16111 #endif
16112 #ifdef HAVE_SYS_SOCKETVAR_H
16113 #include <sys/socketvar.h>
16114 #endif
16115 #ifdef HAVE_NETINET_IN_H
16116 #include <netinet/in.h>
16117 #endif
16118 #ifdef HAVE_NETINET_IP_VAR_H
16119 #include <netinet/ip_var.h>
16120 #endif
16122 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16124 cat >>confdefs.h <<_ACEOF
16125 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16126 _ACEOF
16132 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
16133 #include <netinet/ip_var.h>
16134 #endif
16136 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16138 cat >>confdefs.h <<_ACEOF
16139 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16140 _ACEOF
16146 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16147 #include <sys/types.h>
16148 #endif
16149 #ifdef HAVE_SYS_SOCKETVAR_H
16150 #include <sys/socketvar.h>
16151 #endif
16152 #ifdef HAVE_NETINET_IN_H
16153 #include <netinet/in.h>
16154 #endif
16155 #ifdef HAVE_NETINET_TCP_H
16156 #include <netinet/tcp.h>
16157 #endif
16158 #ifdef HAVE_NETINET_TCP_VAR_H
16159 #include <netinet/tcp_var.h>
16160 #endif
16162 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16164 cat >>confdefs.h <<_ACEOF
16165 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16166 _ACEOF
16172 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
16173 #include <netinet/tcp_var.h>
16174 #endif
16176 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16178 cat >>confdefs.h <<_ACEOF
16179 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16180 _ACEOF
16186 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16187 #include <sys/types.h>
16188 #endif
16189 #ifdef HAVE_NETINET_IN_H
16190 #include <netinet/in.h>
16191 #endif
16192 #ifdef HAVE_NETINET_IP_VAR_H
16193 #include <netinet/ip_var.h>
16194 #endif
16195 #ifdef HAVE_NETINET_UDP_H
16196 #include <netinet/udp.h>
16197 #endif
16198 #ifdef HAVE_NETINET_UDP_VAR_H
16199 #include <netinet/udp_var.h>
16200 #endif
16202 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16204 cat >>confdefs.h <<_ACEOF
16205 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16206 _ACEOF
16212 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16213 #include <sys/types.h>
16214 #endif
16215 #ifdef HAVE_NET_IF_H
16216 # include <net/if.h>
16217 #endif
16219 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16221 cat >>confdefs.h <<_ACEOF
16222 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16223 _ACEOF
16229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16230 $as_echo_n "checking for timezone variable... " >&6; }
16231 if ${ac_cv_have_timezone+:} false; then :
16232 $as_echo_n "(cached) " >&6
16233 else
16234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16235 /* end confdefs.h. */
16236 #include <time.h>
16238 main ()
16240 timezone = 1
16242 return 0;
16244 _ACEOF
16245 if ac_fn_c_try_link "$LINENO"; then :
16246 ac_cv_have_timezone="yes"
16247 else
16248 ac_cv_have_timezone="no"
16250 rm -f core conftest.err conftest.$ac_objext \
16251 conftest$ac_exeext conftest.$ac_ext
16253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16254 $as_echo "$ac_cv_have_timezone" >&6; }
16255 if test "$ac_cv_have_timezone" = "yes"
16256 then
16258 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16262 $as_echo_n "checking for daylight variable... " >&6; }
16263 if ${ac_cv_have_daylight+:} false; then :
16264 $as_echo_n "(cached) " >&6
16265 else
16266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16267 /* end confdefs.h. */
16268 #include <time.h>
16270 main ()
16272 daylight = 1
16274 return 0;
16276 _ACEOF
16277 if ac_fn_c_try_link "$LINENO"; then :
16278 ac_cv_have_daylight="yes"
16279 else
16280 ac_cv_have_daylight="no"
16282 rm -f core conftest.err conftest.$ac_objext \
16283 conftest$ac_exeext conftest.$ac_ext
16285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16286 $as_echo "$ac_cv_have_daylight" >&6; }
16287 if test "$ac_cv_have_daylight" = "yes"
16288 then
16290 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16294 ac_save_LIBS="$LIBS"
16295 LIBS="$LIBS -lm"
16296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16297 $as_echo_n "checking for isfinite... " >&6; }
16298 if ${ac_cv_have_isfinite+:} false; then :
16299 $as_echo_n "(cached) " >&6
16300 else
16301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16302 /* end confdefs.h. */
16303 #define _GNU_SOURCE
16304 #include <math.h>
16306 main ()
16308 float f = 0.0; return isfinite(f)
16310 return 0;
16312 _ACEOF
16313 if ac_fn_c_try_link "$LINENO"; then :
16314 ac_cv_have_isfinite="yes"
16315 else
16316 ac_cv_have_isfinite="no"
16318 rm -f core conftest.err conftest.$ac_objext \
16319 conftest$ac_exeext conftest.$ac_ext
16321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16322 $as_echo "$ac_cv_have_isfinite" >&6; }
16323 if test "$ac_cv_have_isfinite" = "yes"
16324 then
16326 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16330 ac_save_LIBS="$LIBS"
16331 LIBS="$LIBS -lm"
16332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16333 $as_echo_n "checking for isinf... " >&6; }
16334 if ${ac_cv_have_isinf+:} false; then :
16335 $as_echo_n "(cached) " >&6
16336 else
16337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16338 /* end confdefs.h. */
16339 #include <math.h>
16341 main ()
16343 float f = 0.0; return isinf(f)
16345 return 0;
16347 _ACEOF
16348 if ac_fn_c_try_link "$LINENO"; then :
16349 ac_cv_have_isinf="yes"
16350 else
16351 ac_cv_have_isinf="no"
16353 rm -f core conftest.err conftest.$ac_objext \
16354 conftest$ac_exeext conftest.$ac_ext
16356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16357 $as_echo "$ac_cv_have_isinf" >&6; }
16358 if test "$ac_cv_have_isinf" = "yes"
16359 then
16361 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16366 $as_echo_n "checking for isnan... " >&6; }
16367 if ${ac_cv_have_isnan+:} false; then :
16368 $as_echo_n "(cached) " >&6
16369 else
16370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16371 /* end confdefs.h. */
16372 #include <math.h>
16374 main ()
16376 float f = 0.0; return isnan(f)
16378 return 0;
16380 _ACEOF
16381 if ac_fn_c_try_link "$LINENO"; then :
16382 ac_cv_have_isnan="yes"
16383 else
16384 ac_cv_have_isnan="no"
16386 rm -f core conftest.err conftest.$ac_objext \
16387 conftest$ac_exeext conftest.$ac_ext
16389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16390 $as_echo "$ac_cv_have_isnan" >&6; }
16391 if test "$ac_cv_have_isnan" = "yes"
16392 then
16394 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16397 LIBS="$ac_save_LIBS"
16400 case $host_cpu in
16401 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16402 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16403 if ${ac_cv_cpp_def___i386__+:} false; then :
16404 $as_echo_n "(cached) " >&6
16405 else
16406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16407 /* end confdefs.h. */
16408 #ifndef __i386__
16410 #endif
16411 _ACEOF
16412 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16413 $EGREP "yes" >/dev/null 2>&1; then :
16414 ac_cv_cpp_def___i386__=yes
16415 else
16416 ac_cv_cpp_def___i386__=no
16418 rm -f conftest*
16421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16422 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16423 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16424 CFLAGS="$CFLAGS -D__i386__"
16425 LINTFLAGS="$LINTFLAGS -D__i386__"
16426 fi ;;
16427 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16428 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16429 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16430 $as_echo_n "(cached) " >&6
16431 else
16432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16433 /* end confdefs.h. */
16434 #ifndef __x86_64__
16436 #endif
16437 _ACEOF
16438 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16439 $EGREP "yes" >/dev/null 2>&1; then :
16440 ac_cv_cpp_def___x86_64__=yes
16441 else
16442 ac_cv_cpp_def___x86_64__=no
16444 rm -f conftest*
16447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16448 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16449 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16450 CFLAGS="$CFLAGS -D__x86_64__"
16451 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16452 fi ;;
16453 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16454 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16455 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16456 $as_echo_n "(cached) " >&6
16457 else
16458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16459 /* end confdefs.h. */
16460 #ifndef __sparc64__
16462 #endif
16463 _ACEOF
16464 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16465 $EGREP "yes" >/dev/null 2>&1; then :
16466 ac_cv_cpp_def___sparc64__=yes
16467 else
16468 ac_cv_cpp_def___sparc64__=no
16470 rm -f conftest*
16473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16474 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16475 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
16476 CFLAGS="$CFLAGS -D__sparc64__"
16477 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16478 fi ;;
16479 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16480 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16481 if ${ac_cv_cpp_def___sparc__+:} false; then :
16482 $as_echo_n "(cached) " >&6
16483 else
16484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16485 /* end confdefs.h. */
16486 #ifndef __sparc__
16488 #endif
16489 _ACEOF
16490 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16491 $EGREP "yes" >/dev/null 2>&1; then :
16492 ac_cv_cpp_def___sparc__=yes
16493 else
16494 ac_cv_cpp_def___sparc__=no
16496 rm -f conftest*
16499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16500 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16501 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
16502 CFLAGS="$CFLAGS -D__sparc__"
16503 LINTFLAGS="$LINTFLAGS -D__sparc__"
16504 fi ;;
16505 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16506 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16507 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
16508 $as_echo_n "(cached) " >&6
16509 else
16510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16511 /* end confdefs.h. */
16512 #ifndef __powerpc64__
16514 #endif
16515 _ACEOF
16516 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16517 $EGREP "yes" >/dev/null 2>&1; then :
16518 ac_cv_cpp_def___powerpc64__=yes
16519 else
16520 ac_cv_cpp_def___powerpc64__=no
16522 rm -f conftest*
16525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16526 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16527 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
16528 CFLAGS="$CFLAGS -D__powerpc64__"
16529 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
16530 fi ;;
16531 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16532 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16533 if ${ac_cv_cpp_def___powerpc__+:} false; then :
16534 $as_echo_n "(cached) " >&6
16535 else
16536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16537 /* end confdefs.h. */
16538 #ifndef __powerpc__
16540 #endif
16541 _ACEOF
16542 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16543 $EGREP "yes" >/dev/null 2>&1; then :
16544 ac_cv_cpp_def___powerpc__=yes
16545 else
16546 ac_cv_cpp_def___powerpc__=no
16548 rm -f conftest*
16551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16552 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16553 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
16554 CFLAGS="$CFLAGS -D__powerpc__"
16555 LINTFLAGS="$LINTFLAGS -D__powerpc__"
16556 fi ;;
16557 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16558 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16559 if ${ac_cv_cpp_def___aarch64__+:} false; then :
16560 $as_echo_n "(cached) " >&6
16561 else
16562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16563 /* end confdefs.h. */
16564 #ifndef __aarch64__
16566 #endif
16567 _ACEOF
16568 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16569 $EGREP "yes" >/dev/null 2>&1; then :
16570 ac_cv_cpp_def___aarch64__=yes
16571 else
16572 ac_cv_cpp_def___aarch64__=no
16574 rm -f conftest*
16577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16578 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16579 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
16580 CFLAGS="$CFLAGS -D__aarch64__"
16581 LINTFLAGS="$LINTFLAGS -D__aarch64__"
16582 fi ;;
16583 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16584 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16585 if ${ac_cv_cpp_def___arm__+:} false; then :
16586 $as_echo_n "(cached) " >&6
16587 else
16588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16589 /* end confdefs.h. */
16590 #ifndef __arm__
16592 #endif
16593 _ACEOF
16594 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16595 $EGREP "yes" >/dev/null 2>&1; then :
16596 ac_cv_cpp_def___arm__=yes
16597 else
16598 ac_cv_cpp_def___arm__=no
16600 rm -f conftest*
16603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16604 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16605 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
16606 CFLAGS="$CFLAGS -D__arm__"
16607 LINTFLAGS="$LINTFLAGS -D__arm__"
16608 fi ;;
16609 esac
16611 case $host_vendor in
16612 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16613 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16614 if ${ac_cv_cpp_def___sun__+:} false; then :
16615 $as_echo_n "(cached) " >&6
16616 else
16617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16618 /* end confdefs.h. */
16619 #ifndef __sun__
16621 #endif
16622 _ACEOF
16623 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16624 $EGREP "yes" >/dev/null 2>&1; then :
16625 ac_cv_cpp_def___sun__=yes
16626 else
16627 ac_cv_cpp_def___sun__=no
16629 rm -f conftest*
16632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16633 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16634 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
16635 CFLAGS="$CFLAGS -D__sun__"
16636 LINTFLAGS="$LINTFLAGS -D__sun__"
16637 fi ;;
16638 esac
16644 ac_config_commands="$ac_config_commands include/stamp-h"
16646 $as_echo_n "creating Makefile rules..." >&6
16648 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
16649 SOCKET_LIBS = $SOCKET_LIBS
16650 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16651 IOKIT_LIBS = $IOKIT_LIBS
16652 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16653 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16654 CORESERVICES_LIBS = $CORESERVICES_LIBS
16655 APPKIT_LIBS = $APPKIT_LIBS
16656 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16657 SECURITY_LIBS = $SECURITY_LIBS
16658 COREAUDIO_LIBS = $COREAUDIO_LIBS
16659 OPENAL_LIBS = $OPENAL_LIBS
16660 OPENCL_LIBS = $OPENCL_LIBS
16661 QUICKTIME_LIBS = $QUICKTIME_LIBS
16662 CARBON_LIBS = $CARBON_LIBS
16663 PTHREAD_LIBS = $PTHREAD_LIBS
16664 X_CFLAGS = $X_CFLAGS
16665 X_PRE_LIBS = $X_PRE_LIBS
16666 X_LIBS = $X_LIBS
16667 X_EXTRA_LIBS = $X_EXTRA_LIBS
16668 XML2_CFLAGS = $XML2_CFLAGS
16669 XML2_LIBS = $XML2_LIBS
16670 XSLT_CFLAGS = $XSLT_CFLAGS
16671 XSLT_LIBS = $XSLT_LIBS
16672 DBUS_CFLAGS = $DBUS_CFLAGS
16673 DBUS_LIBS = $DBUS_LIBS
16674 HAL_CFLAGS = $HAL_CFLAGS
16675 HAL_LIBS = $HAL_LIBS
16676 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16677 GNUTLS_LIBS = $GNUTLS_LIBS
16678 SANE_CFLAGS = $SANE_CFLAGS
16679 SANE_LIBS = $SANE_LIBS
16680 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16681 GPHOTO2_LIBS = $GPHOTO2_LIBS
16682 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16683 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16684 RESOLV_LIBS = $RESOLV_LIBS
16685 LCMS2_CFLAGS = $LCMS2_CFLAGS
16686 LCMS2_LIBS = $LCMS2_LIBS
16687 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16688 FREETYPE_LIBS = $FREETYPE_LIBS
16689 Z_LIBS = $Z_LIBS
16690 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16691 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16692 GSTREAMER_LIBS = $GSTREAMER_LIBS
16693 ALSA_LIBS = $ALSA_LIBS
16694 OSS4_CFLAGS = $OSS4_CFLAGS
16695 CAPI20_CFLAGS = $CAPI20_CFLAGS
16696 CAPI20_LIBS = $CAPI20_LIBS
16697 CUPS_CFLAGS = $CUPS_CFLAGS
16698 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16699 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16700 JPEG_CFLAGS = $JPEG_CFLAGS
16701 JPEG_LIBS = $JPEG_LIBS
16702 PNG_CFLAGS = $PNG_CFLAGS
16703 PNG_LIBS = $PNG_LIBS
16704 TIFF_CFLAGS = $TIFF_CFLAGS
16705 TIFF_LIBS = $TIFF_LIBS
16706 MPG123_CFLAGS = $MPG123_CFLAGS
16707 MPG123_LIBS = $MPG123_LIBS
16708 KSTAT_LIBS = $KSTAT_LIBS
16709 PROCSTAT_LIBS = $PROCSTAT_LIBS
16710 DL_LIBS = $DL_LIBS
16711 POLL_LIBS = $POLL_LIBS
16712 RT_LIBS = $RT_LIBS
16713 LDAP_LIBS = $LDAP_LIBS
16718 wine_fn_append_rule "
16719 # Rules automatically generated by configure
16721 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16723 .INIT: Makefile
16724 .MAKEFILEDEPS:
16725 all: Makefile
16726 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16727 @./config.status Make.tmp Makefile"
16729 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
16730 .gitignore: config.status
16731 @./config.status .gitignore"
16733 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
16734 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16736 if test "x$enable_fonts" != xno; then
16737 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16738 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16739 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16740 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16741 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf
16743 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16744 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
16745 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
16746 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
16747 ac_config_links="$ac_config_links wine:tools/winewrapper"
16748 wine_fn_config_symlink wine
16749 if test "x$enable_win64" != xno; then
16750 ac_config_links="$ac_config_links wine64:tools/winewrapper"
16751 wine_fn_config_symlink wine64
16754 wine_fn_config_dll acledit enable_acledit
16755 wine_fn_config_dll aclui enable_aclui implib
16756 wine_fn_config_dll activeds enable_activeds implib
16757 wine_fn_config_dll actxprxy enable_actxprxy clean
16758 wine_fn_config_lib adsiid
16759 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
16760 wine_fn_config_test dlls/advapi32/tests advapi32_test
16761 wine_fn_config_dll advpack enable_advpack implib
16762 wine_fn_config_test dlls/advpack/tests advpack_test
16763 wine_fn_config_dll amstream enable_amstream clean
16764 wine_fn_config_test dlls/amstream/tests amstream_test
16765 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16766 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16767 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16768 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16769 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16770 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16771 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16772 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16773 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16774 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
16775 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
16776 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
16777 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
16778 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
16779 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16780 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
16781 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
16782 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
16783 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16784 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
16785 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
16786 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
16787 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
16788 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
16789 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
16790 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
16791 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
16792 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
16793 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
16794 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
16795 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
16796 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
16797 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16798 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16799 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16800 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16801 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16802 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16803 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16804 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16805 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16806 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16807 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16808 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
16809 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
16810 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16811 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
16812 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
16813 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
16814 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
16815 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
16816 wine_fn_config_dll apphelp enable_apphelp
16817 wine_fn_config_test dlls/apphelp/tests apphelp_test
16818 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16819 wine_fn_config_dll atl enable_atl clean,implib
16820 wine_fn_config_test dlls/atl/tests atl_test
16821 wine_fn_config_dll atl100 enable_atl100 clean,implib
16822 wine_fn_config_test dlls/atl100/tests atl100_test
16823 wine_fn_config_dll atl110 enable_atl110 clean
16824 wine_fn_config_dll atl80 enable_atl80 clean,implib
16825 wine_fn_config_test dlls/atl80/tests atl80_test
16826 wine_fn_config_dll atl90 enable_atl90 clean
16827 wine_fn_config_dll authz enable_authz
16828 wine_fn_config_dll avicap32 enable_avicap32 implib
16829 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
16830 wine_fn_config_test dlls/avifil32/tests avifil32_test
16831 wine_fn_config_dll avifile.dll16 enable_win16
16832 wine_fn_config_dll avrt enable_avrt implib
16833 wine_fn_config_dll bcrypt enable_bcrypt
16834 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
16835 wine_fn_config_dll browseui enable_browseui clean,po
16836 wine_fn_config_test dlls/browseui/tests browseui_test
16837 wine_fn_config_dll cabinet enable_cabinet implib
16838 wine_fn_config_test dlls/cabinet/tests cabinet_test
16839 wine_fn_config_dll capi2032 enable_capi2032 implib
16840 wine_fn_config_dll cards enable_cards implib
16841 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16842 wine_fn_config_dll clusapi enable_clusapi implib
16843 wine_fn_config_dll comcat enable_comcat
16844 wine_fn_config_test dlls/comcat/tests comcat_test
16845 wine_fn_config_dll comctl32 enable_comctl32 implib,po
16846 wine_fn_config_test dlls/comctl32/tests comctl32_test
16847 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
16848 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
16849 wine_fn_config_dll comm.drv16 enable_win16
16850 wine_fn_config_dll commdlg.dll16 enable_win16
16851 wine_fn_config_dll compobj.dll16 enable_win16
16852 wine_fn_config_dll compstui enable_compstui implib
16853 wine_fn_config_dll comsvcs enable_comsvcs implib
16854 wine_fn_config_dll credui enable_credui implib,po
16855 wine_fn_config_test dlls/credui/tests credui_test
16856 wine_fn_config_dll crtdll enable_crtdll implib
16857 wine_fn_config_dll crypt32 enable_crypt32 implib,po
16858 wine_fn_config_test dlls/crypt32/tests crypt32_test
16859 wine_fn_config_dll cryptdlg enable_cryptdlg po
16860 wine_fn_config_dll cryptdll enable_cryptdll implib
16861 wine_fn_config_dll cryptnet enable_cryptnet implib
16862 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
16863 wine_fn_config_dll cryptui enable_cryptui implib,po
16864 wine_fn_config_test dlls/cryptui/tests cryptui_test
16865 wine_fn_config_dll ctapi32 enable_ctapi32
16866 wine_fn_config_dll ctl3d.dll16 enable_win16
16867 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16868 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16869 wine_fn_config_dll d2d1 enable_d2d1 implib
16870 wine_fn_config_test dlls/d2d1/tests d2d1_test
16871 wine_fn_config_dll d3d10 enable_d3d10 implib
16872 wine_fn_config_test dlls/d3d10/tests d3d10_test
16873 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
16874 wine_fn_config_dll d3d10core enable_d3d10core implib
16875 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
16876 wine_fn_config_dll d3d11 enable_d3d11
16877 wine_fn_config_dll d3d8 enable_d3d8 implib
16878 wine_fn_config_test dlls/d3d8/tests d3d8_test
16879 wine_fn_config_dll d3d9 enable_d3d9 implib
16880 wine_fn_config_test dlls/d3d9/tests d3d9_test
16881 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16882 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16883 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16884 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16885 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16886 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16887 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16888 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16889 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16890 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16891 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16892 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
16893 wine_fn_config_dll d3dim enable_d3dim implib
16894 wine_fn_config_dll d3drm enable_d3drm implib
16895 wine_fn_config_test dlls/d3drm/tests d3drm_test
16896 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16897 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16898 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16899 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16900 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16901 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16902 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16903 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16904 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16905 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16906 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16907 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16908 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16909 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16910 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16911 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16912 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16913 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16914 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16915 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16916 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16917 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16918 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16919 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16920 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16921 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16922 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
16923 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16924 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16925 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16926 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16927 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16928 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16929 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16930 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
16931 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
16932 wine_fn_config_dll dbgeng enable_dbgeng implib
16933 wine_fn_config_dll dbghelp enable_dbghelp implib
16934 wine_fn_config_dll dciman32 enable_dciman32 implib
16935 wine_fn_config_dll ddeml.dll16 enable_win16
16936 wine_fn_config_dll ddraw enable_ddraw clean,implib
16937 wine_fn_config_test dlls/ddraw/tests ddraw_test
16938 wine_fn_config_dll ddrawex enable_ddrawex clean
16939 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
16940 wine_fn_config_dll devenum enable_devenum clean,po
16941 wine_fn_config_test dlls/devenum/tests devenum_test
16942 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16943 wine_fn_config_dll difxapi enable_difxapi
16944 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
16945 wine_fn_config_test dlls/dinput/tests dinput_test
16946 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
16947 wine_fn_config_test dlls/dinput8/tests dinput8_test
16948 wine_fn_config_dll dispdib.dll16 enable_win16
16949 wine_fn_config_dll dispex enable_dispex clean
16950 wine_fn_config_test dlls/dispex/tests dispex_test
16951 wine_fn_config_dll display.drv16 enable_win16
16952 wine_fn_config_dll dmband enable_dmband clean
16953 wine_fn_config_test dlls/dmband/tests dmband_test
16954 wine_fn_config_dll dmcompos enable_dmcompos clean
16955 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
16956 wine_fn_config_dll dmime enable_dmime clean
16957 wine_fn_config_test dlls/dmime/tests dmime_test
16958 wine_fn_config_dll dmloader enable_dmloader clean
16959 wine_fn_config_test dlls/dmloader/tests dmloader_test
16960 wine_fn_config_dll dmscript enable_dmscript clean
16961 wine_fn_config_test dlls/dmscript/tests dmscript_test
16962 wine_fn_config_dll dmstyle enable_dmstyle clean
16963 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
16964 wine_fn_config_dll dmsynth enable_dmsynth clean
16965 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
16966 wine_fn_config_dll dmusic enable_dmusic clean
16967 wine_fn_config_test dlls/dmusic/tests dmusic_test
16968 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16969 wine_fn_config_dll dnsapi enable_dnsapi implib
16970 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
16971 wine_fn_config_dll dplay enable_dplay implib
16972 wine_fn_config_dll dplayx enable_dplayx clean,implib
16973 wine_fn_config_test dlls/dplayx/tests dplayx_test
16974 wine_fn_config_dll dpnaddr enable_dpnaddr
16975 wine_fn_config_dll dpnet enable_dpnet clean,implib
16976 wine_fn_config_test dlls/dpnet/tests dpnet_test
16977 wine_fn_config_dll dpnhpast enable_dpnhpast
16978 wine_fn_config_dll dpnlobby enable_dpnlobby
16979 wine_fn_config_dll dpvoice enable_dpvoice clean
16980 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
16981 wine_fn_config_dll dpwsockx enable_dpwsockx
16982 wine_fn_config_dll drmclien enable_drmclien
16983 wine_fn_config_dll dsound enable_dsound clean,implib
16984 wine_fn_config_test dlls/dsound/tests dsound_test
16985 wine_fn_config_dll dssenh enable_dssenh
16986 wine_fn_config_test dlls/dssenh/tests dssenh_test
16987 wine_fn_config_dll dswave enable_dswave clean
16988 wine_fn_config_test dlls/dswave/tests dswave_test
16989 wine_fn_config_dll dwmapi enable_dwmapi implib
16990 wine_fn_config_dll dwrite enable_dwrite implib
16991 wine_fn_config_test dlls/dwrite/tests dwrite_test
16992 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
16993 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
16994 wine_fn_config_lib dxerr8
16995 wine_fn_config_lib dxerr9
16996 wine_fn_config_dll dxgi enable_dxgi implib
16997 wine_fn_config_test dlls/dxgi/tests dxgi_test
16998 wine_fn_config_lib dxguid
16999 wine_fn_config_dll dxva2 enable_dxva2
17000 wine_fn_config_dll explorerframe enable_explorerframe clean
17001 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17002 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17003 wine_fn_config_dll faultrep enable_faultrep implib
17004 wine_fn_config_test dlls/faultrep/tests faultrep_test
17005 wine_fn_config_dll fltlib enable_fltlib
17006 wine_fn_config_dll fntcache enable_fntcache
17007 wine_fn_config_dll fontsub enable_fontsub
17008 wine_fn_config_dll fusion enable_fusion
17009 wine_fn_config_test dlls/fusion/tests fusion_test
17010 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17011 wine_fn_config_dll gameux enable_gameux clean
17012 wine_fn_config_test dlls/gameux/tests gameux_test
17013 wine_fn_config_dll gdi.exe16 enable_win16
17014 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
17015 wine_fn_config_test dlls/gdi32/tests gdi32_test
17016 wine_fn_config_dll gdiplus enable_gdiplus implib
17017 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17018 wine_fn_config_dll glu32 enable_glu32 implib
17019 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17020 wine_fn_config_dll gpkcsp enable_gpkcsp
17021 wine_fn_config_dll hal enable_hal
17022 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
17023 wine_fn_config_dll hid enable_hid implib
17024 wine_fn_config_dll hlink enable_hlink clean,implib
17025 wine_fn_config_test dlls/hlink/tests hlink_test
17026 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17027 wine_fn_config_dll httpapi enable_httpapi
17028 wine_fn_config_dll iccvid enable_iccvid po
17029 wine_fn_config_dll icmp enable_icmp
17030 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
17031 wine_fn_config_test dlls/ieframe/tests ieframe_test
17032 wine_fn_config_dll ifsmgr.vxd enable_win16
17033 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17034 wine_fn_config_dll imagehlp enable_imagehlp implib
17035 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17036 wine_fn_config_dll imm.dll16 enable_win16
17037 wine_fn_config_dll imm32 enable_imm32 implib
17038 wine_fn_config_test dlls/imm32/tests imm32_test
17039 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17040 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17041 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17042 wine_fn_config_dll inetmib1 enable_inetmib1
17043 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17044 wine_fn_config_dll infosoft enable_infosoft clean
17045 wine_fn_config_test dlls/infosoft/tests infosoft_test
17046 wine_fn_config_dll initpki enable_initpki
17047 wine_fn_config_dll inkobj enable_inkobj
17048 wine_fn_config_dll inseng enable_inseng clean
17049 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17050 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17051 wine_fn_config_dll itircl enable_itircl
17052 wine_fn_config_dll itss enable_itss clean
17053 wine_fn_config_test dlls/itss/tests itss_test
17054 wine_fn_config_dll joy.cpl enable_joy_cpl po
17055 wine_fn_config_dll jscript enable_jscript clean,po
17056 wine_fn_config_test dlls/jscript/tests jscript_test
17057 wine_fn_config_dll jsproxy enable_jsproxy implib
17058 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
17059 wine_fn_config_test dlls/kernel32/tests kernel32_test
17060 wine_fn_config_dll keyboard.drv16 enable_win16
17061 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17062 wine_fn_config_dll ksuser enable_ksuser
17063 wine_fn_config_dll ktmw32 enable_ktmw32
17064 wine_fn_config_dll loadperf enable_loadperf implib
17065 wine_fn_config_dll localspl enable_localspl po
17066 wine_fn_config_test dlls/localspl/tests localspl_test
17067 wine_fn_config_dll localui enable_localui po
17068 wine_fn_config_test dlls/localui/tests localui_test
17069 wine_fn_config_dll lz32 enable_lz32 implib
17070 wine_fn_config_test dlls/lz32/tests lz32_test
17071 wine_fn_config_dll lzexpand.dll16 enable_win16
17072 wine_fn_config_dll mapi32 enable_mapi32 implib,po
17073 wine_fn_config_test dlls/mapi32/tests mapi32_test
17074 wine_fn_config_dll mapistub enable_mapistub
17075 wine_fn_config_dll mciavi32 enable_mciavi32
17076 wine_fn_config_dll mcicda enable_mcicda
17077 wine_fn_config_dll mciqtz32 enable_mciqtz32
17078 wine_fn_config_dll mciseq enable_mciseq
17079 wine_fn_config_dll mciwave enable_mciwave
17080 wine_fn_config_dll mgmtapi enable_mgmtapi
17081 wine_fn_config_dll midimap enable_midimap
17082 wine_fn_config_dll mlang enable_mlang clean,implib
17083 wine_fn_config_test dlls/mlang/tests mlang_test
17084 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17085 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17086 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17087 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17088 wine_fn_config_dll mmdevldr.vxd enable_win16
17089 wine_fn_config_dll mmsystem.dll16 enable_win16
17090 wine_fn_config_dll monodebg.vxd enable_win16
17091 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17092 wine_fn_config_dll mouse.drv16 enable_win16
17093 wine_fn_config_dll mpr enable_mpr implib,po
17094 wine_fn_config_test dlls/mpr/tests mpr_test
17095 wine_fn_config_dll mprapi enable_mprapi implib
17096 wine_fn_config_dll msacm.dll16 enable_win16
17097 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17098 wine_fn_config_dll msacm32 enable_msacm32 implib,po
17099 wine_fn_config_test dlls/msacm32/tests msacm32_test
17100 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17101 wine_fn_config_dll msasn1 enable_msasn1 implib
17102 wine_fn_config_dll mscat32 enable_mscat32
17103 wine_fn_config_dll mscms enable_mscms implib
17104 wine_fn_config_test dlls/mscms/tests mscms_test
17105 wine_fn_config_dll mscoree enable_mscoree clean
17106 wine_fn_config_test dlls/mscoree/tests mscoree_test
17107 wine_fn_config_dll msctf enable_msctf clean
17108 wine_fn_config_test dlls/msctf/tests msctf_test
17109 wine_fn_config_dll msdaps enable_msdaps clean
17110 wine_fn_config_dll msdmo enable_msdmo implib
17111 wine_fn_config_dll msftedit enable_msftedit
17112 wine_fn_config_dll msg711.acm enable_msg711_acm
17113 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17114 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17115 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
17116 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17117 wine_fn_config_dll msi enable_msi clean,implib,po
17118 wine_fn_config_test dlls/msi/tests msi_test
17119 wine_fn_config_dll msident enable_msident clean
17120 wine_fn_config_dll msimg32 enable_msimg32 implib
17121 wine_fn_config_dll msimsg enable_msimsg
17122 wine_fn_config_dll msimtf enable_msimtf clean
17123 wine_fn_config_dll msisip enable_msisip
17124 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17125 wine_fn_config_dll msls31 enable_msls31
17126 wine_fn_config_dll msnet32 enable_msnet32
17127 wine_fn_config_dll mspatcha enable_mspatcha
17128 wine_fn_config_dll msrle32 enable_msrle32 po
17129 wine_fn_config_test dlls/msrle32/tests msrle32_test
17130 wine_fn_config_dll mssign32 enable_mssign32
17131 wine_fn_config_dll mssip32 enable_mssip32
17132 wine_fn_config_dll mstask enable_mstask clean
17133 wine_fn_config_test dlls/mstask/tests mstask_test
17134 wine_fn_config_dll msvcirt enable_msvcirt
17135 wine_fn_config_dll msvcm80 enable_msvcm80
17136 wine_fn_config_dll msvcm90 enable_msvcm90
17137 wine_fn_config_dll msvcp100 enable_msvcp100
17138 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17139 wine_fn_config_dll msvcp110 enable_msvcp110
17140 wine_fn_config_dll msvcp60 enable_msvcp60
17141 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17142 wine_fn_config_dll msvcp70 enable_msvcp70
17143 wine_fn_config_dll msvcp71 enable_msvcp71
17144 wine_fn_config_dll msvcp80 enable_msvcp80
17145 wine_fn_config_dll msvcp90 enable_msvcp90
17146 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17147 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17148 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17149 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17150 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17151 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17152 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17153 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17154 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17155 wine_fn_config_dll msvcrt enable_msvcrt implib
17156 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17157 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17158 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17159 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17160 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17161 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17162 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17163 wine_fn_config_dll msvidc32 enable_msvidc32 po
17164 wine_fn_config_dll msvideo.dll16 enable_win16
17165 wine_fn_config_dll mswsock enable_mswsock implib
17166 wine_fn_config_dll msxml enable_msxml clean
17167 wine_fn_config_dll msxml2 enable_msxml2 clean
17168 wine_fn_config_dll msxml3 enable_msxml3 clean
17169 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17170 wine_fn_config_dll msxml4 enable_msxml4 clean
17171 wine_fn_config_dll msxml6 enable_msxml6 clean
17172 wine_fn_config_dll nddeapi enable_nddeapi implib
17173 wine_fn_config_dll netapi32 enable_netapi32 implib
17174 wine_fn_config_test dlls/netapi32/tests netapi32_test
17175 wine_fn_config_dll netcfgx enable_netcfgx clean
17176 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17177 wine_fn_config_dll netprofm enable_netprofm clean
17178 wine_fn_config_test dlls/netprofm/tests netprofm_test
17179 wine_fn_config_dll newdev enable_newdev implib
17180 wine_fn_config_dll normaliz enable_normaliz implib
17181 wine_fn_config_dll npmshtml enable_npmshtml
17182 wine_fn_config_dll npptools enable_npptools
17183 wine_fn_config_dll ntdll enable_ntdll implib
17184 wine_fn_config_test dlls/ntdll/tests ntdll_test
17185 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17186 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17187 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17188 wine_fn_config_dll ntprint enable_ntprint
17189 wine_fn_config_test dlls/ntprint/tests ntprint_test
17190 wine_fn_config_dll objsel enable_objsel clean
17191 wine_fn_config_dll odbc32 enable_odbc32 implib
17192 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17193 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17194 wine_fn_config_dll odbccu32 enable_odbccu32
17195 wine_fn_config_dll ole2.dll16 enable_win16
17196 wine_fn_config_dll ole2conv.dll16 enable_win16
17197 wine_fn_config_dll ole2disp.dll16 enable_win16
17198 wine_fn_config_dll ole2nls.dll16 enable_win16
17199 wine_fn_config_dll ole2prox.dll16 enable_win16
17200 wine_fn_config_dll ole2thk.dll16 enable_win16
17201 wine_fn_config_dll ole32 enable_ole32 clean,implib
17202 wine_fn_config_test dlls/ole32/tests ole32_test
17203 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17204 wine_fn_config_test dlls/oleacc/tests oleacc_test
17205 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17206 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17207 wine_fn_config_dll olecli.dll16 enable_win16
17208 wine_fn_config_dll olecli32 enable_olecli32 implib
17209 wine_fn_config_dll oledb32 enable_oledb32 clean
17210 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17211 wine_fn_config_dll oledlg enable_oledlg implib,po
17212 wine_fn_config_dll olepro32 enable_olepro32 implib
17213 wine_fn_config_dll olesvr.dll16 enable_win16
17214 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17215 wine_fn_config_dll olethk32 enable_olethk32
17216 wine_fn_config_dll openal32 enable_openal32
17217 wine_fn_config_dll opencl enable_opencl
17218 wine_fn_config_dll opengl32 enable_opengl32 implib
17219 wine_fn_config_test dlls/opengl32/tests opengl32_test
17220 wine_fn_config_dll packager enable_packager clean
17221 wine_fn_config_test dlls/packager/tests packager_test
17222 wine_fn_config_dll pdh enable_pdh implib
17223 wine_fn_config_test dlls/pdh/tests pdh_test
17224 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17225 wine_fn_config_dll pidgen enable_pidgen
17226 wine_fn_config_dll powrprof enable_powrprof implib
17227 wine_fn_config_dll printui enable_printui
17228 wine_fn_config_dll prntvpt enable_prntvpt
17229 wine_fn_config_dll propsys enable_propsys clean,implib
17230 wine_fn_config_test dlls/propsys/tests propsys_test
17231 wine_fn_config_dll psapi enable_psapi implib
17232 wine_fn_config_test dlls/psapi/tests psapi_test
17233 wine_fn_config_dll pstorec enable_pstorec clean
17234 wine_fn_config_dll qcap enable_qcap
17235 wine_fn_config_test dlls/qcap/tests qcap_test
17236 wine_fn_config_dll qedit enable_qedit clean
17237 wine_fn_config_test dlls/qedit/tests qedit_test
17238 wine_fn_config_dll qmgr enable_qmgr clean
17239 wine_fn_config_test dlls/qmgr/tests qmgr_test
17240 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17241 wine_fn_config_dll quartz enable_quartz clean,implib
17242 wine_fn_config_test dlls/quartz/tests quartz_test clean
17243 wine_fn_config_dll query enable_query
17244 wine_fn_config_dll rasapi16.dll16 enable_win16
17245 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17246 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17247 wine_fn_config_dll rasdlg enable_rasdlg implib
17248 wine_fn_config_dll regapi enable_regapi
17249 wine_fn_config_dll resutils enable_resutils implib
17250 wine_fn_config_dll riched20 enable_riched20 implib
17251 wine_fn_config_test dlls/riched20/tests riched20_test
17252 wine_fn_config_dll riched32 enable_riched32
17253 wine_fn_config_test dlls/riched32/tests riched32_test
17254 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17255 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17256 wine_fn_config_dll rsabase enable_rsabase
17257 wine_fn_config_dll rsaenh enable_rsaenh implib
17258 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17259 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17260 wine_fn_config_dll rtutils enable_rtutils implib
17261 wine_fn_config_dll samlib enable_samlib
17262 wine_fn_config_dll sane.ds enable_sane_ds po
17263 wine_fn_config_dll scarddlg enable_scarddlg
17264 wine_fn_config_dll sccbase enable_sccbase
17265 wine_fn_config_dll schannel enable_schannel
17266 wine_fn_config_test dlls/schannel/tests schannel_test
17267 wine_fn_config_dll schedsvc enable_schedsvc clean
17268 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17269 wine_fn_config_dll scrrun enable_scrrun clean
17270 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17271 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17272 wine_fn_config_dll secur32 enable_secur32 implib
17273 wine_fn_config_test dlls/secur32/tests secur32_test
17274 wine_fn_config_dll security enable_security
17275 wine_fn_config_dll sensapi enable_sensapi implib
17276 wine_fn_config_dll serialui enable_serialui implib,po
17277 wine_fn_config_test dlls/serialui/tests serialui_test
17278 wine_fn_config_dll setupapi enable_setupapi implib,po
17279 wine_fn_config_test dlls/setupapi/tests setupapi_test
17280 wine_fn_config_dll setupx.dll16 enable_win16
17281 wine_fn_config_dll sfc enable_sfc implib
17282 wine_fn_config_dll sfc_os enable_sfc_os implib
17283 wine_fn_config_dll shdoclc enable_shdoclc po
17284 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17285 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17286 wine_fn_config_dll shell.dll16 enable_win16
17287 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17288 wine_fn_config_test dlls/shell32/tests shell32_test
17289 wine_fn_config_dll shfolder enable_shfolder implib
17290 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17291 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17292 wine_fn_config_dll slbcsp enable_slbcsp
17293 wine_fn_config_dll slc enable_slc implib
17294 wine_fn_config_dll snmpapi enable_snmpapi implib
17295 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17296 wine_fn_config_dll softpub enable_softpub
17297 wine_fn_config_dll sound.drv16 enable_win16
17298 wine_fn_config_dll spoolss enable_spoolss implib
17299 wine_fn_config_test dlls/spoolss/tests spoolss_test
17300 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17301 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17302 wine_fn_config_dll sti enable_sti clean,implib
17303 wine_fn_config_test dlls/sti/tests sti_test
17304 wine_fn_config_dll storage.dll16 enable_win16
17305 wine_fn_config_dll stress.dll16 enable_win16
17306 wine_fn_config_lib strmbase
17307 wine_fn_config_lib strmiids
17308 wine_fn_config_dll svrapi enable_svrapi
17309 wine_fn_config_dll sxs enable_sxs implib
17310 wine_fn_config_test dlls/sxs/tests sxs_test
17311 wine_fn_config_dll system.drv16 enable_win16
17312 wine_fn_config_dll t2embed enable_t2embed
17313 wine_fn_config_dll tapi32 enable_tapi32 implib
17314 wine_fn_config_dll taskschd enable_taskschd clean
17315 wine_fn_config_test dlls/taskschd/tests taskschd_test
17316 wine_fn_config_dll toolhelp.dll16 enable_win16
17317 wine_fn_config_dll traffic enable_traffic
17318 wine_fn_config_dll twain.dll16 enable_win16
17319 wine_fn_config_dll twain_32 enable_twain_32
17320 wine_fn_config_test dlls/twain_32/tests twain_32_test
17321 wine_fn_config_dll typelib.dll16 enable_win16
17322 wine_fn_config_dll unicows enable_unicows implib
17323 wine_fn_config_dll updspapi enable_updspapi
17324 wine_fn_config_dll url enable_url implib
17325 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17326 wine_fn_config_test dlls/urlmon/tests urlmon_test
17327 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17328 wine_fn_config_dll user.exe16 enable_win16
17329 wine_fn_config_dll user32 enable_user32 clean,implib,po
17330 wine_fn_config_test dlls/user32/tests user32_test
17331 wine_fn_config_dll userenv enable_userenv implib
17332 wine_fn_config_test dlls/userenv/tests userenv_test
17333 wine_fn_config_dll usp10 enable_usp10 implib
17334 wine_fn_config_test dlls/usp10/tests usp10_test
17335 wine_fn_config_lib uuid
17336 wine_fn_config_dll uxtheme enable_uxtheme implib
17337 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17338 wine_fn_config_dll vbscript enable_vbscript clean
17339 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17340 wine_fn_config_dll vcomp enable_vcomp
17341 wine_fn_config_dll vcomp100 enable_vcomp100
17342 wine_fn_config_dll vcomp90 enable_vcomp90
17343 wine_fn_config_dll vdhcp.vxd enable_win16
17344 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17345 wine_fn_config_dll ver.dll16 enable_win16
17346 wine_fn_config_dll version enable_version implib
17347 wine_fn_config_test dlls/version/tests version_test
17348 wine_fn_config_dll vmm.vxd enable_win16
17349 wine_fn_config_dll vnbt.vxd enable_win16
17350 wine_fn_config_dll vnetbios.vxd enable_win16
17351 wine_fn_config_dll vtdapi.vxd enable_win16
17352 wine_fn_config_dll vwin32.vxd enable_win16
17353 wine_fn_config_dll w32skrnl enable_win16
17354 wine_fn_config_dll w32sys.dll16 enable_win16
17355 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17356 wine_fn_config_dll wbemprox enable_wbemprox clean
17357 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17358 wine_fn_config_dll webservices enable_webservices implib
17359 wine_fn_config_dll wer enable_wer implib
17360 wine_fn_config_test dlls/wer/tests wer_test
17361 wine_fn_config_dll wevtapi enable_wevtapi
17362 wine_fn_config_dll wiaservc enable_wiaservc clean
17363 wine_fn_config_dll win32s16.dll16 enable_win16
17364 wine_fn_config_dll win87em.dll16 enable_win16
17365 wine_fn_config_dll winaspi.dll16 enable_win16
17366 wine_fn_config_dll windebug.dll16 enable_win16
17367 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17368 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17369 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17370 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17371 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17372 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17373 wine_fn_config_lib winecrt0
17374 wine_fn_config_dll wined3d enable_wined3d implib
17375 wine_fn_config_dll winegstreamer enable_winegstreamer
17376 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17377 wine_fn_config_dll winemac.drv enable_winemac_drv
17378 wine_fn_config_dll winemapi enable_winemapi
17379 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17380 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17381 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
17382 wine_fn_config_dll wineps16.drv16 enable_win16
17383 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17384 wine_fn_config_dll winex11.drv enable_winex11_drv
17385 wine_fn_config_dll wing.dll16 enable_win16
17386 wine_fn_config_dll wing32 enable_wing32
17387 wine_fn_config_dll winhttp enable_winhttp clean,implib
17388 wine_fn_config_test dlls/winhttp/tests winhttp_test
17389 wine_fn_config_dll wininet enable_wininet implib,po
17390 wine_fn_config_test dlls/wininet/tests wininet_test
17391 wine_fn_config_dll winmm enable_winmm implib,po
17392 wine_fn_config_test dlls/winmm/tests winmm_test
17393 wine_fn_config_dll winnls.dll16 enable_win16
17394 wine_fn_config_dll winnls32 enable_winnls32 implib
17395 wine_fn_config_dll winscard enable_winscard implib
17396 wine_fn_config_dll winsock.dll16 enable_win16
17397 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17398 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17399 wine_fn_config_dll winsta enable_winsta
17400 wine_fn_config_dll wintab.dll16 enable_win16
17401 wine_fn_config_dll wintab32 enable_wintab32 implib
17402 wine_fn_config_test dlls/wintab32/tests wintab32_test
17403 wine_fn_config_dll wintrust enable_wintrust implib
17404 wine_fn_config_test dlls/wintrust/tests wintrust_test
17405 wine_fn_config_dll wlanapi enable_wlanapi
17406 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17407 wine_fn_config_test dlls/wldap32/tests wldap32_test
17408 wine_fn_config_dll wmi enable_wmi
17409 wine_fn_config_dll wmiutils enable_wmiutils clean
17410 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17411 wine_fn_config_dll wmp enable_wmp clean
17412 wine_fn_config_test dlls/wmp/tests wmp_test
17413 wine_fn_config_dll wmvcore enable_wmvcore
17414 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17415 wine_fn_config_dll wow32 enable_win16 implib
17416 wine_fn_config_dll wpcap enable_wpcap
17417 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17418 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
17419 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17420 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
17421 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17422 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
17423 wine_fn_config_dll wsock32 enable_wsock32 implib
17424 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17425 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
17426 wine_fn_config_dll wuapi enable_wuapi clean
17427 wine_fn_config_dll wuaueng enable_wuaueng
17428 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17429 wine_fn_config_dll xinput1_1 enable_xinput1_1
17430 wine_fn_config_dll xinput1_2 enable_xinput1_2
17431 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17432 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
17433 wine_fn_config_dll xinput1_4 enable_xinput1_4
17434 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17435 wine_fn_config_dll xmllite enable_xmllite implib
17436 wine_fn_config_test dlls/xmllite/tests xmllite_test
17437 wine_fn_config_dll xolehlp enable_xolehlp
17438 wine_fn_config_dll xpsprint enable_xpsprint
17439 wine_fn_config_dll xpssvcs enable_xpssvcs
17440 wine_fn_config_makefile documentation enable_documentation clean
17441 wine_fn_config_makefile fonts enable_fonts clean,install-lib
17442 wine_fn_config_makefile include enable_include clean,install-dev
17443 wine_fn_config_makefile libs/port enable_libs_port
17444 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
17445 wine_fn_config_makefile libs/wpp enable_libs_wpp
17446 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
17447 wine_fn_config_program arp enable_arp install
17448 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
17449 wine_fn_config_program attrib enable_attrib install,po
17450 wine_fn_config_program cabarc enable_cabarc install
17451 wine_fn_config_program cacls enable_cacls install
17452 wine_fn_config_program clock enable_clock install,po
17453 wine_fn_config_program cmd enable_cmd install,po
17454 wine_fn_config_test programs/cmd/tests cmd.exe_test
17455 wine_fn_config_program conhost enable_conhost install
17456 wine_fn_config_program control enable_control install
17457 wine_fn_config_program cscript enable_cscript clean,install
17458 wine_fn_config_program dpnsvr enable_dpnsvr install
17459 wine_fn_config_program dxdiag enable_dxdiag install,po
17460 wine_fn_config_program eject enable_eject install
17461 wine_fn_config_program expand enable_expand install
17462 wine_fn_config_program explorer enable_explorer install,po
17463 wine_fn_config_program extrac32 enable_extrac32 install
17464 wine_fn_config_program findstr enable_findstr install
17465 wine_fn_config_program hh enable_hh install
17466 wine_fn_config_program hostname enable_hostname install,po
17467 wine_fn_config_program icinfo enable_icinfo install
17468 wine_fn_config_program iexplore enable_iexplore install
17469 wine_fn_config_program ipconfig enable_ipconfig install,po
17470 wine_fn_config_program lodctr enable_lodctr install
17471 wine_fn_config_program mofcomp enable_mofcomp install
17472 wine_fn_config_program mshta enable_mshta install
17473 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
17474 wine_fn_config_program net enable_net install,po
17475 wine_fn_config_program netsh enable_netsh install
17476 wine_fn_config_program netstat enable_netstat install,po
17477 wine_fn_config_program ngen enable_ngen install
17478 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
17479 wine_fn_config_program oleview enable_oleview install,po
17480 wine_fn_config_program ping enable_ping install
17481 wine_fn_config_program plugplay enable_plugplay install
17482 wine_fn_config_program presentationfontcache enable_presentationfontcache install
17483 wine_fn_config_program progman enable_progman install,po
17484 wine_fn_config_program reg enable_reg install,po
17485 wine_fn_config_test programs/reg/tests reg.exe_test
17486 wine_fn_config_program regasm enable_regasm install
17487 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
17488 wine_fn_config_test programs/regedit/tests regedit.exe_test
17489 wine_fn_config_program regsvcs enable_regsvcs install
17490 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage,po
17491 wine_fn_config_program rpcss enable_rpcss clean,install
17492 wine_fn_config_program rundll.exe16 enable_win16 install
17493 wine_fn_config_program rundll32 enable_rundll32 install
17494 wine_fn_config_program sc enable_sc install
17495 wine_fn_config_program schtasks enable_schtasks install
17496 wine_fn_config_program sdbinst enable_sdbinst install
17497 wine_fn_config_program secedit enable_secedit install
17498 wine_fn_config_program servicemodelreg enable_servicemodelreg install
17499 wine_fn_config_program services enable_services clean,install
17500 wine_fn_config_test programs/services/tests services.exe_test
17501 wine_fn_config_program spoolsv enable_spoolsv install
17502 wine_fn_config_program start enable_start install,po
17503 wine_fn_config_program svchost enable_svchost install
17504 wine_fn_config_program systeminfo enable_systeminfo install
17505 wine_fn_config_program taskkill enable_taskkill install,po
17506 wine_fn_config_program tasklist enable_tasklist install
17507 wine_fn_config_program taskmgr enable_taskmgr install,po
17508 wine_fn_config_program termsv enable_termsv install
17509 wine_fn_config_program uninstaller enable_uninstaller install,po
17510 wine_fn_config_program unlodctr enable_unlodctr install
17511 wine_fn_config_program view enable_view install,po
17512 wine_fn_config_program wevtutil enable_wevtutil install
17513 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
17514 wine_fn_config_program winebrowser enable_winebrowser install
17515 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
17516 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
17517 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
17518 wine_fn_config_program winedevice enable_winedevice install
17519 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
17520 wine_fn_config_program winemenubuilder enable_winemenubuilder install
17521 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
17522 wine_fn_config_program winemsibuilder enable_winemsibuilder install
17523 wine_fn_config_program winepath enable_winepath install,installbin,manpage
17524 wine_fn_config_program winetest enable_winetest clean
17525 wine_fn_config_program winevdm enable_win16 install
17526 wine_fn_config_program winhelp.exe16 enable_win16 install
17527 wine_fn_config_program winhlp32 enable_winhlp32 install,po
17528 wine_fn_config_program winoldap.mod16 enable_win16 install
17529 wine_fn_config_program winver enable_winver install
17530 wine_fn_config_program wmic enable_wmic install,po
17531 wine_fn_config_program wordpad enable_wordpad install,po
17532 wine_fn_config_program write enable_write install,po
17533 wine_fn_config_program wscript enable_wscript clean,install
17534 wine_fn_config_test programs/wscript/tests wscript.exe_test
17535 wine_fn_config_program wusa enable_wusa install
17536 wine_fn_config_program xcopy enable_xcopy install,po
17537 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
17538 wine_fn_config_makefile server enable_server clean,install-lib,manpage
17539 wine_fn_config_tool tools clean,install-dev,install-lib,manpage
17540 wine_fn_config_tool tools/sfnt2fon clean
17541 wine_fn_config_tool tools/widl clean,install-dev,manpage
17542 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
17543 wine_fn_config_tool tools/winedump clean,install-dev,manpage
17544 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
17545 wine_fn_config_tool tools/wmc clean,install-dev,manpage
17546 wine_fn_config_tool tools/wrc clean,install-dev,manpage
17548 LINGUAS="\
17549 ar \
17550 bg \
17551 ca \
17552 cs \
17553 da \
17554 de \
17555 el \
17556 en \
17557 en_US \
17558 eo \
17559 es \
17560 fa \
17561 fi \
17562 fr \
17563 he \
17564 hi \
17565 hr \
17566 hu \
17567 it \
17568 ja \
17569 ko \
17570 lt \
17571 ml \
17572 nb_NO \
17573 nl \
17574 or \
17575 pa \
17576 pl \
17577 pt_BR \
17578 pt_PT \
17579 rm \
17580 ro \
17581 ru \
17582 sk \
17583 sl \
17584 sr_RS@cyrillic \
17585 sr_RS@latin \
17586 sv \
17587 te \
17588 th \
17589 tr \
17590 uk \
17591 wa \
17592 zh_CN \
17593 zh_TW"
17598 wine_fn_ignore_file ".gitignore"
17599 wine_fn_ignore_file "Makefile"
17600 wine_fn_ignore_file "TAGS"
17601 wine_fn_ignore_file "tags"
17602 wine_fn_ignore_file "autom4te.cache"
17603 wine_fn_ignore_file "config.cache"
17604 wine_fn_ignore_file "config.log"
17605 wine_fn_ignore_file "config.status"
17606 wine_fn_ignore_file "configure.lineno"
17607 wine_fn_ignore_file "include/config.h"
17608 wine_fn_ignore_file "include/stamp-h"
17609 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
17611 if test "x$enable_tools" != xno
17612 then
17613 wine_fn_ignore_file "tools/makedep$ac_exeext"
17614 ac_config_commands="$ac_config_commands tools/makedep"
17618 ac_config_commands="$ac_config_commands Makefile"
17621 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17625 if test "x$enable_maintainer_mode" = xyes
17626 then
17627 wine_fn_append_rule "configure: configure.ac aclocal.m4
17628 autoconf --warnings=all
17629 include/config.h.in: include/stamp-h.in
17630 include/stamp-h.in: configure.ac aclocal.m4
17631 autoheader --warnings=all
17632 @echo timestamp > \$@"
17635 if test "x$with_gettextpo" = xyes
17636 then
17637 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17638 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
17639 \$(LINGUAS:%=po/%.po): po/wine.pot
17640 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17641 po/wine.pot: \$(ALL_POT_FILES)
17642 msgcat -o \$@ \$(ALL_POT_FILES)"
17645 if test "$MSGFMT" != false
17646 then
17647 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
17648 clean::
17649 \$(RM) \$(LINGUAS:%=po/%.mo)"
17651 posrc="po"
17652 test "$srcdir" = . || posrc="$srcdir/po"
17653 for i in $LINGUAS
17655 wine_fn_ignore_file "po/$i.mo"
17656 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
17657 \$(MSGFMT) -o \$@ $posrc/$i.po"
17658 done
17659 else
17660 LINGUAS=
17663 if test "x$enable_tools" != xno
17664 then
17665 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17666 @./config.status tools/makedep
17667 Makefile: tools/makedep$ac_exeext
17668 distclean:: clean
17669 \$(RM) tools/makedep$ac_exeext"
17670 else
17671 wine_fn_append_rule "\$(MAKEDEP):
17672 @echo \"You need to run make in $TOOLSDIR first\" && false"
17675 if test -n "$with_wine64"
17676 then
17677 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17678 fonts server tools:
17679 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17680 $with_wine64/loader/wine:
17681 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17682 $with_wine64/loader/wine-preloader:
17683 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17684 clean::
17685 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17686 else
17687 as_fn_append LOADER_RULES "
17688 install install-lib:: wine.inf install-man-pages
17689 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17690 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17692 uninstall::
17693 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17697 if test "$srcdir" = .
17698 then
17699 ac_config_commands="$ac_config_commands .gitignore"
17703 $as_echo " done" >&6
17704 cat >confcache <<\_ACEOF
17705 # This file is a shell script that caches the results of configure
17706 # tests run on this system so they can be shared between configure
17707 # scripts and configure runs, see configure's option --config-cache.
17708 # It is not useful on other systems. If it contains results you don't
17709 # want to keep, you may remove or edit it.
17711 # config.status only pays attention to the cache file if you give it
17712 # the --recheck option to rerun configure.
17714 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17715 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17716 # following values.
17718 _ACEOF
17720 # The following way of writing the cache mishandles newlines in values,
17721 # but we know of no workaround that is simple, portable, and efficient.
17722 # So, we kill variables containing newlines.
17723 # Ultrix sh set writes to stderr and can't be redirected directly,
17724 # and sets the high bit in the cache file unless we assign to the vars.
17726 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17727 eval ac_val=\$$ac_var
17728 case $ac_val in #(
17729 *${as_nl}*)
17730 case $ac_var in #(
17731 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17732 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17733 esac
17734 case $ac_var in #(
17735 _ | IFS | as_nl) ;; #(
17736 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17737 *) { eval $ac_var=; unset $ac_var;} ;;
17738 esac ;;
17739 esac
17740 done
17742 (set) 2>&1 |
17743 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17744 *${as_nl}ac_space=\ *)
17745 # `set' does not quote correctly, so add quotes: double-quote
17746 # substitution turns \\\\ into \\, and sed turns \\ into \.
17747 sed -n \
17748 "s/'/'\\\\''/g;
17749 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17750 ;; #(
17752 # `set' quotes correctly as required by POSIX, so do not add quotes.
17753 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17755 esac |
17756 sort
17758 sed '
17759 /^ac_cv_env_/b end
17760 t clear
17761 :clear
17762 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17763 t end
17764 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17765 :end' >>confcache
17766 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17767 if test -w "$cache_file"; then
17768 if test "x$cache_file" != "x/dev/null"; then
17769 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17770 $as_echo "$as_me: updating cache $cache_file" >&6;}
17771 if test ! -f "$cache_file" || test -h "$cache_file"; then
17772 cat confcache >"$cache_file"
17773 else
17774 case $cache_file in #(
17775 */* | ?:*)
17776 mv -f confcache "$cache_file"$$ &&
17777 mv -f "$cache_file"$$ "$cache_file" ;; #(
17779 mv -f confcache "$cache_file" ;;
17780 esac
17783 else
17784 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17785 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17788 rm -f confcache
17790 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17791 # Let make expand exec_prefix.
17792 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17794 DEFS=-DHAVE_CONFIG_H
17796 ac_libobjs=
17797 ac_ltlibobjs=
17799 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17800 # 1. Remove the extension, and $U if already installed.
17801 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17802 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17803 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17804 # will be set to the directory where LIBOBJS objects are built.
17805 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17806 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17807 done
17808 LIBOBJS=$ac_libobjs
17810 LTLIBOBJS=$ac_ltlibobjs
17814 : "${CONFIG_STATUS=./config.status}"
17815 ac_write_fail=0
17816 ac_clean_files_save=$ac_clean_files
17817 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17818 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17819 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17820 as_write_fail=0
17821 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17822 #! $SHELL
17823 # Generated by $as_me.
17824 # Run this file to recreate the current configuration.
17825 # Compiler output produced by configure, useful for debugging
17826 # configure, is in config.log if it exists.
17828 debug=false
17829 ac_cs_recheck=false
17830 ac_cs_silent=false
17832 SHELL=\${CONFIG_SHELL-$SHELL}
17833 export SHELL
17834 _ASEOF
17835 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17836 ## -------------------- ##
17837 ## M4sh Initialization. ##
17838 ## -------------------- ##
17840 # Be more Bourne compatible
17841 DUALCASE=1; export DUALCASE # for MKS sh
17842 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17843 emulate sh
17844 NULLCMD=:
17845 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17846 # is contrary to our usage. Disable this feature.
17847 alias -g '${1+"$@"}'='"$@"'
17848 setopt NO_GLOB_SUBST
17849 else
17850 case `(set -o) 2>/dev/null` in #(
17851 *posix*) :
17852 set -o posix ;; #(
17853 *) :
17855 esac
17859 as_nl='
17861 export as_nl
17862 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17863 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17864 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17865 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17866 # Prefer a ksh shell builtin over an external printf program on Solaris,
17867 # but without wasting forks for bash or zsh.
17868 if test -z "$BASH_VERSION$ZSH_VERSION" \
17869 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17870 as_echo='print -r --'
17871 as_echo_n='print -rn --'
17872 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17873 as_echo='printf %s\n'
17874 as_echo_n='printf %s'
17875 else
17876 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17877 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17878 as_echo_n='/usr/ucb/echo -n'
17879 else
17880 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17881 as_echo_n_body='eval
17882 arg=$1;
17883 case $arg in #(
17884 *"$as_nl"*)
17885 expr "X$arg" : "X\\(.*\\)$as_nl";
17886 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17887 esac;
17888 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17890 export as_echo_n_body
17891 as_echo_n='sh -c $as_echo_n_body as_echo'
17893 export as_echo_body
17894 as_echo='sh -c $as_echo_body as_echo'
17897 # The user is always right.
17898 if test "${PATH_SEPARATOR+set}" != set; then
17899 PATH_SEPARATOR=:
17900 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17901 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17902 PATH_SEPARATOR=';'
17907 # IFS
17908 # We need space, tab and new line, in precisely that order. Quoting is
17909 # there to prevent editors from complaining about space-tab.
17910 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17911 # splitting by setting IFS to empty value.)
17912 IFS=" "" $as_nl"
17914 # Find who we are. Look in the path if we contain no directory separator.
17915 as_myself=
17916 case $0 in #((
17917 *[\\/]* ) as_myself=$0 ;;
17918 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17919 for as_dir in $PATH
17921 IFS=$as_save_IFS
17922 test -z "$as_dir" && as_dir=.
17923 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17924 done
17925 IFS=$as_save_IFS
17928 esac
17929 # We did not find ourselves, most probably we were run as `sh COMMAND'
17930 # in which case we are not to be found in the path.
17931 if test "x$as_myself" = x; then
17932 as_myself=$0
17934 if test ! -f "$as_myself"; then
17935 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17936 exit 1
17939 # Unset variables that we do not need and which cause bugs (e.g. in
17940 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17941 # suppresses any "Segmentation fault" message there. '((' could
17942 # trigger a bug in pdksh 5.2.14.
17943 for as_var in BASH_ENV ENV MAIL MAILPATH
17944 do eval test x\${$as_var+set} = xset \
17945 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17946 done
17947 PS1='$ '
17948 PS2='> '
17949 PS4='+ '
17951 # NLS nuisances.
17952 LC_ALL=C
17953 export LC_ALL
17954 LANGUAGE=C
17955 export LANGUAGE
17957 # CDPATH.
17958 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17961 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17962 # ----------------------------------------
17963 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17964 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17965 # script with STATUS, using 1 if that was 0.
17966 as_fn_error ()
17968 as_status=$1; test $as_status -eq 0 && as_status=1
17969 if test "$4"; then
17970 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17971 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17973 $as_echo "$as_me: error: $2" >&2
17974 as_fn_exit $as_status
17975 } # as_fn_error
17978 # as_fn_set_status STATUS
17979 # -----------------------
17980 # Set $? to STATUS, without forking.
17981 as_fn_set_status ()
17983 return $1
17984 } # as_fn_set_status
17986 # as_fn_exit STATUS
17987 # -----------------
17988 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17989 as_fn_exit ()
17991 set +e
17992 as_fn_set_status $1
17993 exit $1
17994 } # as_fn_exit
17996 # as_fn_unset VAR
17997 # ---------------
17998 # Portably unset VAR.
17999 as_fn_unset ()
18001 { eval $1=; unset $1;}
18003 as_unset=as_fn_unset
18004 # as_fn_append VAR VALUE
18005 # ----------------------
18006 # Append the text in VALUE to the end of the definition contained in VAR. Take
18007 # advantage of any shell optimizations that allow amortized linear growth over
18008 # repeated appends, instead of the typical quadratic growth present in naive
18009 # implementations.
18010 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18011 eval 'as_fn_append ()
18013 eval $1+=\$2
18015 else
18016 as_fn_append ()
18018 eval $1=\$$1\$2
18020 fi # as_fn_append
18022 # as_fn_arith ARG...
18023 # ------------------
18024 # Perform arithmetic evaluation on the ARGs, and store the result in the
18025 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18026 # must be portable across $(()) and expr.
18027 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18028 eval 'as_fn_arith ()
18030 as_val=$(( $* ))
18032 else
18033 as_fn_arith ()
18035 as_val=`expr "$@" || test $? -eq 1`
18037 fi # as_fn_arith
18040 if expr a : '\(a\)' >/dev/null 2>&1 &&
18041 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18042 as_expr=expr
18043 else
18044 as_expr=false
18047 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18048 as_basename=basename
18049 else
18050 as_basename=false
18053 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18054 as_dirname=dirname
18055 else
18056 as_dirname=false
18059 as_me=`$as_basename -- "$0" ||
18060 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18061 X"$0" : 'X\(//\)$' \| \
18062 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18063 $as_echo X/"$0" |
18064 sed '/^.*\/\([^/][^/]*\)\/*$/{
18065 s//\1/
18068 /^X\/\(\/\/\)$/{
18069 s//\1/
18072 /^X\/\(\/\).*/{
18073 s//\1/
18076 s/.*/./; q'`
18078 # Avoid depending upon Character Ranges.
18079 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18080 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18081 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18082 as_cr_digits='0123456789'
18083 as_cr_alnum=$as_cr_Letters$as_cr_digits
18085 ECHO_C= ECHO_N= ECHO_T=
18086 case `echo -n x` in #(((((
18087 -n*)
18088 case `echo 'xy\c'` in
18089 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18090 xy) ECHO_C='\c';;
18091 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18092 ECHO_T=' ';;
18093 esac;;
18095 ECHO_N='-n';;
18096 esac
18098 rm -f conf$$ conf$$.exe conf$$.file
18099 if test -d conf$$.dir; then
18100 rm -f conf$$.dir/conf$$.file
18101 else
18102 rm -f conf$$.dir
18103 mkdir conf$$.dir 2>/dev/null
18105 if (echo >conf$$.file) 2>/dev/null; then
18106 if ln -s conf$$.file conf$$ 2>/dev/null; then
18107 as_ln_s='ln -s'
18108 # ... but there are two gotchas:
18109 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18110 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18111 # In both cases, we have to default to `cp -pR'.
18112 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18113 as_ln_s='cp -pR'
18114 elif ln conf$$.file conf$$ 2>/dev/null; then
18115 as_ln_s=ln
18116 else
18117 as_ln_s='cp -pR'
18119 else
18120 as_ln_s='cp -pR'
18122 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18123 rmdir conf$$.dir 2>/dev/null
18126 # as_fn_mkdir_p
18127 # -------------
18128 # Create "$as_dir" as a directory, including parents if necessary.
18129 as_fn_mkdir_p ()
18132 case $as_dir in #(
18133 -*) as_dir=./$as_dir;;
18134 esac
18135 test -d "$as_dir" || eval $as_mkdir_p || {
18136 as_dirs=
18137 while :; do
18138 case $as_dir in #(
18139 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18140 *) as_qdir=$as_dir;;
18141 esac
18142 as_dirs="'$as_qdir' $as_dirs"
18143 as_dir=`$as_dirname -- "$as_dir" ||
18144 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18145 X"$as_dir" : 'X\(//\)[^/]' \| \
18146 X"$as_dir" : 'X\(//\)$' \| \
18147 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18148 $as_echo X"$as_dir" |
18149 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18150 s//\1/
18153 /^X\(\/\/\)[^/].*/{
18154 s//\1/
18157 /^X\(\/\/\)$/{
18158 s//\1/
18161 /^X\(\/\).*/{
18162 s//\1/
18165 s/.*/./; q'`
18166 test -d "$as_dir" && break
18167 done
18168 test -z "$as_dirs" || eval "mkdir $as_dirs"
18169 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18172 } # as_fn_mkdir_p
18173 if mkdir -p . 2>/dev/null; then
18174 as_mkdir_p='mkdir -p "$as_dir"'
18175 else
18176 test -d ./-p && rmdir ./-p
18177 as_mkdir_p=false
18181 # as_fn_executable_p FILE
18182 # -----------------------
18183 # Test if FILE is an executable regular file.
18184 as_fn_executable_p ()
18186 test -f "$1" && test -x "$1"
18187 } # as_fn_executable_p
18188 as_test_x='test -x'
18189 as_executable_p=as_fn_executable_p
18191 # Sed expression to map a string onto a valid CPP name.
18192 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18194 # Sed expression to map a string onto a valid variable name.
18195 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18198 exec 6>&1
18199 ## ----------------------------------- ##
18200 ## Main body of $CONFIG_STATUS script. ##
18201 ## ----------------------------------- ##
18202 _ASEOF
18203 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18205 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18206 # Save the log message, to keep $0 and so on meaningful, and to
18207 # report actual input values of CONFIG_FILES etc. instead of their
18208 # values after options handling.
18209 ac_log="
18210 This file was extended by Wine $as_me 1.7.29, which was
18211 generated by GNU Autoconf 2.69. Invocation command line was
18213 CONFIG_FILES = $CONFIG_FILES
18214 CONFIG_HEADERS = $CONFIG_HEADERS
18215 CONFIG_LINKS = $CONFIG_LINKS
18216 CONFIG_COMMANDS = $CONFIG_COMMANDS
18217 $ $0 $@
18219 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18222 _ACEOF
18224 case $ac_config_files in *"
18225 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18226 esac
18228 case $ac_config_headers in *"
18229 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18230 esac
18233 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18234 # Files that config.status was made for.
18235 config_files="$ac_config_files"
18236 config_headers="$ac_config_headers"
18237 config_links="$ac_config_links"
18238 config_commands="$ac_config_commands"
18240 _ACEOF
18242 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18243 ac_cs_usage="\
18244 \`$as_me' instantiates files and other configuration actions
18245 from templates according to the current configuration. Unless the files
18246 and actions are specified as TAGs, all are instantiated by default.
18248 Usage: $0 [OPTION]... [TAG]...
18250 -h, --help print this help, then exit
18251 -V, --version print version number and configuration settings, then exit
18252 --config print configuration, then exit
18253 -q, --quiet, --silent
18254 do not print progress messages
18255 -d, --debug don't remove temporary files
18256 --recheck update $as_me by reconfiguring in the same conditions
18257 --file=FILE[:TEMPLATE]
18258 instantiate the configuration file FILE
18259 --header=FILE[:TEMPLATE]
18260 instantiate the configuration header FILE
18262 Configuration files:
18263 $config_files
18265 Configuration headers:
18266 $config_headers
18268 Configuration links:
18269 $config_links
18271 Configuration commands:
18272 $config_commands
18274 Report bugs to <wine-devel@winehq.org>.
18275 Wine home page: <http://www.winehq.org>."
18277 _ACEOF
18278 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18279 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18280 ac_cs_version="\\
18281 Wine config.status 1.7.29
18282 configured by $0, generated by GNU Autoconf 2.69,
18283 with options \\"\$ac_cs_config\\"
18285 Copyright (C) 2012 Free Software Foundation, Inc.
18286 This config.status script is free software; the Free Software Foundation
18287 gives unlimited permission to copy, distribute and modify it."
18289 ac_pwd='$ac_pwd'
18290 srcdir='$srcdir'
18291 test -n "\$AWK" || AWK=awk
18292 _ACEOF
18294 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18295 # The default lists apply if the user does not specify any file.
18296 ac_need_defaults=:
18297 while test $# != 0
18299 case $1 in
18300 --*=?*)
18301 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18302 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18303 ac_shift=:
18305 --*=)
18306 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18307 ac_optarg=
18308 ac_shift=:
18311 ac_option=$1
18312 ac_optarg=$2
18313 ac_shift=shift
18315 esac
18317 case $ac_option in
18318 # Handling of the options.
18319 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18320 ac_cs_recheck=: ;;
18321 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18322 $as_echo "$ac_cs_version"; exit ;;
18323 --config | --confi | --conf | --con | --co | --c )
18324 $as_echo "$ac_cs_config"; exit ;;
18325 --debug | --debu | --deb | --de | --d | -d )
18326 debug=: ;;
18327 --file | --fil | --fi | --f )
18328 $ac_shift
18329 case $ac_optarg in
18330 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18331 '') as_fn_error $? "missing file argument" ;;
18332 esac
18333 as_fn_append CONFIG_FILES " '$ac_optarg'"
18334 ac_need_defaults=false;;
18335 --header | --heade | --head | --hea )
18336 $ac_shift
18337 case $ac_optarg in
18338 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18339 esac
18340 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18341 ac_need_defaults=false;;
18342 --he | --h)
18343 # Conflict between --help and --header
18344 as_fn_error $? "ambiguous option: \`$1'
18345 Try \`$0 --help' for more information.";;
18346 --help | --hel | -h )
18347 $as_echo "$ac_cs_usage"; exit ;;
18348 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18349 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18350 ac_cs_silent=: ;;
18352 # This is an error.
18353 -*) as_fn_error $? "unrecognized option: \`$1'
18354 Try \`$0 --help' for more information." ;;
18356 *) as_fn_append ac_config_targets " $1"
18357 ac_need_defaults=false ;;
18359 esac
18360 shift
18361 done
18363 ac_configure_extra_args=
18365 if $ac_cs_silent; then
18366 exec 6>/dev/null
18367 ac_configure_extra_args="$ac_configure_extra_args --silent"
18370 _ACEOF
18371 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18372 if \$ac_cs_recheck; then
18373 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18374 shift
18375 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18376 CONFIG_SHELL='$SHELL'
18377 export CONFIG_SHELL
18378 exec "\$@"
18381 _ACEOF
18382 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18383 exec 5>>config.log
18385 echo
18386 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18387 ## Running $as_me. ##
18388 _ASBOX
18389 $as_echo "$ac_log"
18390 } >&5
18392 _ACEOF
18393 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18395 # INIT-COMMANDS
18397 wine_fn_output_makedep ()
18399 as_dir=tools; as_fn_mkdir_p
18400 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18402 wine_fn_output_makefile ()
18404 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18405 `cat $wine_rules_file`
18406 _WINE_EOF
18407 as_fn_error $? "could not create Makefile" "$LINENO" 5
18409 wine_fn_output_gitignore ()
18411 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18412 $GITIGNORE
18413 _WINE_EOF
18414 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18417 _ACEOF
18419 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18421 # Handling of arguments.
18422 for ac_config_target in $ac_config_targets
18424 case $ac_config_target in
18425 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18426 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
18427 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18428 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18429 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18430 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18431 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18432 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18433 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
18434 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18435 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
18436 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
18437 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18438 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
18440 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18441 esac
18442 done
18445 # If the user did not use the arguments to specify the items to instantiate,
18446 # then the envvar interface is used. Set only those that are not.
18447 # We use the long form for the default assignment because of an extremely
18448 # bizarre bug on SunOS 4.1.3.
18449 if $ac_need_defaults; then
18450 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18451 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18452 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18453 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18456 # Have a temporary directory for convenience. Make it in the build tree
18457 # simply because there is no reason against having it here, and in addition,
18458 # creating and moving files from /tmp can sometimes cause problems.
18459 # Hook for its removal unless debugging.
18460 # Note that there is a small window in which the directory will not be cleaned:
18461 # after its creation but before its name has been assigned to `$tmp'.
18462 $debug ||
18464 tmp= ac_tmp=
18465 trap 'exit_status=$?
18466 : "${ac_tmp:=$tmp}"
18467 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18469 trap 'as_fn_exit 1' 1 2 13 15
18471 # Create a (secure) tmp directory for tmp files.
18474 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18475 test -d "$tmp"
18476 } ||
18478 tmp=./conf$$-$RANDOM
18479 (umask 077 && mkdir "$tmp")
18480 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18481 ac_tmp=$tmp
18483 # Set up the scripts for CONFIG_FILES section.
18484 # No need to generate them if there are no CONFIG_FILES.
18485 # This happens for instance with `./config.status config.h'.
18486 if test -n "$CONFIG_FILES"; then
18489 ac_cr=`echo X | tr X '\015'`
18490 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18491 # But we know of no other shell where ac_cr would be empty at this
18492 # point, so we can use a bashism as a fallback.
18493 if test "x$ac_cr" = x; then
18494 eval ac_cr=\$\'\\r\'
18496 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18497 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18498 ac_cs_awk_cr='\\r'
18499 else
18500 ac_cs_awk_cr=$ac_cr
18503 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18504 _ACEOF
18508 echo "cat >conf$$subs.awk <<_ACEOF" &&
18509 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18510 echo "_ACEOF"
18511 } >conf$$subs.sh ||
18512 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18513 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18514 ac_delim='%!_!# '
18515 for ac_last_try in false false false false false :; do
18516 . ./conf$$subs.sh ||
18517 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18519 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18520 if test $ac_delim_n = $ac_delim_num; then
18521 break
18522 elif $ac_last_try; then
18523 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18524 else
18525 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18527 done
18528 rm -f conf$$subs.sh
18530 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18531 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18532 _ACEOF
18533 sed -n '
18535 s/^/S["/; s/!.*/"]=/
18538 s/^[^!]*!//
18539 :repl
18540 t repl
18541 s/'"$ac_delim"'$//
18542 t delim
18545 s/\(.\{148\}\)..*/\1/
18546 t more1
18547 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18550 b repl
18551 :more1
18552 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18555 s/.\{148\}//
18556 t nl
18557 :delim
18559 s/\(.\{148\}\)..*/\1/
18560 t more2
18561 s/["\\]/\\&/g; s/^/"/; s/$/"/
18564 :more2
18565 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18568 s/.\{148\}//
18569 t delim
18570 ' <conf$$subs.awk | sed '
18571 /^[^""]/{
18573 s/\n//
18575 ' >>$CONFIG_STATUS || ac_write_fail=1
18576 rm -f conf$$subs.awk
18577 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18578 _ACAWK
18579 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18580 for (key in S) S_is_set[key] = 1
18581 FS = "\a"
18585 line = $ 0
18586 nfields = split(line, field, "@")
18587 substed = 0
18588 len = length(field[1])
18589 for (i = 2; i < nfields; i++) {
18590 key = field[i]
18591 keylen = length(key)
18592 if (S_is_set[key]) {
18593 value = S[key]
18594 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18595 len += length(value) + length(field[++i])
18596 substed = 1
18597 } else
18598 len += 1 + keylen
18601 print line
18604 _ACAWK
18605 _ACEOF
18606 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18607 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18608 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18609 else
18611 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18612 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18613 _ACEOF
18615 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18616 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18617 # trailing colons and then remove the whole line if VPATH becomes empty
18618 # (actually we leave an empty line to preserve line numbers).
18619 if test "x$srcdir" = x.; then
18620 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18622 s///
18623 s/^/:/
18624 s/[ ]*$/:/
18625 s/:\$(srcdir):/:/g
18626 s/:\${srcdir}:/:/g
18627 s/:@srcdir@:/:/g
18628 s/^:*//
18629 s/:*$//
18631 s/\(=[ ]*\).*/\1/
18633 s/\n//
18634 s/^[^=]*=[ ]*$//
18638 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18639 fi # test -n "$CONFIG_FILES"
18641 # Set up the scripts for CONFIG_HEADERS section.
18642 # No need to generate them if there are no CONFIG_HEADERS.
18643 # This happens for instance with `./config.status Makefile'.
18644 if test -n "$CONFIG_HEADERS"; then
18645 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18646 BEGIN {
18647 _ACEOF
18649 # Transform confdefs.h into an awk script `defines.awk', embedded as
18650 # here-document in config.status, that substitutes the proper values into
18651 # config.h.in to produce config.h.
18653 # Create a delimiter string that does not exist in confdefs.h, to ease
18654 # handling of long lines.
18655 ac_delim='%!_!# '
18656 for ac_last_try in false false :; do
18657 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18658 if test -z "$ac_tt"; then
18659 break
18660 elif $ac_last_try; then
18661 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18662 else
18663 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18665 done
18667 # For the awk script, D is an array of macro values keyed by name,
18668 # likewise P contains macro parameters if any. Preserve backslash
18669 # newline sequences.
18671 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18672 sed -n '
18673 s/.\{148\}/&'"$ac_delim"'/g
18674 t rset
18675 :rset
18676 s/^[ ]*#[ ]*define[ ][ ]*/ /
18677 t def
18679 :def
18680 s/\\$//
18681 t bsnl
18682 s/["\\]/\\&/g
18683 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18684 D["\1"]=" \3"/p
18685 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18687 :bsnl
18688 s/["\\]/\\&/g
18689 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18690 D["\1"]=" \3\\\\\\n"\\/p
18691 t cont
18692 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18693 t cont
18695 :cont
18697 s/.\{148\}/&'"$ac_delim"'/g
18698 t clear
18699 :clear
18700 s/\\$//
18701 t bsnlc
18702 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18704 :bsnlc
18705 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18706 b cont
18707 ' <confdefs.h | sed '
18708 s/'"$ac_delim"'/"\\\
18709 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18711 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18712 for (key in D) D_is_set[key] = 1
18713 FS = "\a"
18715 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18716 line = \$ 0
18717 split(line, arg, " ")
18718 if (arg[1] == "#") {
18719 defundef = arg[2]
18720 mac1 = arg[3]
18721 } else {
18722 defundef = substr(arg[1], 2)
18723 mac1 = arg[2]
18725 split(mac1, mac2, "(") #)
18726 macro = mac2[1]
18727 prefix = substr(line, 1, index(line, defundef) - 1)
18728 if (D_is_set[macro]) {
18729 # Preserve the white space surrounding the "#".
18730 print prefix "define", macro P[macro] D[macro]
18731 next
18732 } else {
18733 # Replace #undef with comments. This is necessary, for example,
18734 # in the case of _POSIX_SOURCE, which is predefined and required
18735 # on some systems where configure will not decide to define it.
18736 if (defundef == "undef") {
18737 print "/*", prefix defundef, macro, "*/"
18738 next
18742 { print }
18743 _ACAWK
18744 _ACEOF
18745 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18746 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18747 fi # test -n "$CONFIG_HEADERS"
18750 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18751 shift
18752 for ac_tag
18754 case $ac_tag in
18755 :[FHLC]) ac_mode=$ac_tag; continue;;
18756 esac
18757 case $ac_mode$ac_tag in
18758 :[FHL]*:*);;
18759 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18760 :[FH]-) ac_tag=-:-;;
18761 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18762 esac
18763 ac_save_IFS=$IFS
18764 IFS=:
18765 set x $ac_tag
18766 IFS=$ac_save_IFS
18767 shift
18768 ac_file=$1
18769 shift
18771 case $ac_mode in
18772 :L) ac_source=$1;;
18773 :[FH])
18774 ac_file_inputs=
18775 for ac_f
18777 case $ac_f in
18778 -) ac_f="$ac_tmp/stdin";;
18779 *) # Look for the file first in the build tree, then in the source tree
18780 # (if the path is not absolute). The absolute path cannot be DOS-style,
18781 # because $ac_f cannot contain `:'.
18782 test -f "$ac_f" ||
18783 case $ac_f in
18784 [\\/$]*) false;;
18785 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18786 esac ||
18787 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18788 esac
18789 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18790 as_fn_append ac_file_inputs " '$ac_f'"
18791 done
18793 # Let's still pretend it is `configure' which instantiates (i.e., don't
18794 # use $as_me), people would be surprised to read:
18795 # /* config.h. Generated by config.status. */
18796 configure_input='Generated from '`
18797 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18798 `' by configure.'
18799 if test x"$ac_file" != x-; then
18800 configure_input="$ac_file. $configure_input"
18801 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18802 $as_echo "$as_me: creating $ac_file" >&6;}
18804 # Neutralize special characters interpreted by sed in replacement strings.
18805 case $configure_input in #(
18806 *\&* | *\|* | *\\* )
18807 ac_sed_conf_input=`$as_echo "$configure_input" |
18808 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18809 *) ac_sed_conf_input=$configure_input;;
18810 esac
18812 case $ac_tag in
18813 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18814 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18815 esac
18817 esac
18819 ac_dir=`$as_dirname -- "$ac_file" ||
18820 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18821 X"$ac_file" : 'X\(//\)[^/]' \| \
18822 X"$ac_file" : 'X\(//\)$' \| \
18823 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18824 $as_echo X"$ac_file" |
18825 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18826 s//\1/
18829 /^X\(\/\/\)[^/].*/{
18830 s//\1/
18833 /^X\(\/\/\)$/{
18834 s//\1/
18837 /^X\(\/\).*/{
18838 s//\1/
18841 s/.*/./; q'`
18842 as_dir="$ac_dir"; as_fn_mkdir_p
18843 ac_builddir=.
18845 case "$ac_dir" in
18846 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18848 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18849 # A ".." for each directory in $ac_dir_suffix.
18850 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18851 case $ac_top_builddir_sub in
18852 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18853 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18854 esac ;;
18855 esac
18856 ac_abs_top_builddir=$ac_pwd
18857 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18858 # for backward compatibility:
18859 ac_top_builddir=$ac_top_build_prefix
18861 case $srcdir in
18862 .) # We are building in place.
18863 ac_srcdir=.
18864 ac_top_srcdir=$ac_top_builddir_sub
18865 ac_abs_top_srcdir=$ac_pwd ;;
18866 [\\/]* | ?:[\\/]* ) # Absolute name.
18867 ac_srcdir=$srcdir$ac_dir_suffix;
18868 ac_top_srcdir=$srcdir
18869 ac_abs_top_srcdir=$srcdir ;;
18870 *) # Relative name.
18871 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18872 ac_top_srcdir=$ac_top_build_prefix$srcdir
18873 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18874 esac
18875 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18878 case $ac_mode in
18881 # CONFIG_FILE
18884 _ACEOF
18886 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18887 # If the template does not know about datarootdir, expand it.
18888 # FIXME: This hack should be removed a few years after 2.60.
18889 ac_datarootdir_hack=; ac_datarootdir_seen=
18890 ac_sed_dataroot='
18891 /datarootdir/ {
18895 /@datadir@/p
18896 /@docdir@/p
18897 /@infodir@/p
18898 /@localedir@/p
18899 /@mandir@/p'
18900 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18901 *datarootdir*) ac_datarootdir_seen=yes;;
18902 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18903 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18904 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18905 _ACEOF
18906 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18907 ac_datarootdir_hack='
18908 s&@datadir@&$datadir&g
18909 s&@docdir@&$docdir&g
18910 s&@infodir@&$infodir&g
18911 s&@localedir@&$localedir&g
18912 s&@mandir@&$mandir&g
18913 s&\\\${datarootdir}&$datarootdir&g' ;;
18914 esac
18915 _ACEOF
18917 # Neutralize VPATH when `$srcdir' = `.'.
18918 # Shell code in configure.ac might set extrasub.
18919 # FIXME: do we really want to maintain this feature?
18920 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18921 ac_sed_extra="$ac_vpsub
18922 $extrasub
18923 _ACEOF
18924 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18926 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18927 s|@configure_input@|$ac_sed_conf_input|;t t
18928 s&@top_builddir@&$ac_top_builddir_sub&;t t
18929 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18930 s&@srcdir@&$ac_srcdir&;t t
18931 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18932 s&@top_srcdir@&$ac_top_srcdir&;t t
18933 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18934 s&@builddir@&$ac_builddir&;t t
18935 s&@abs_builddir@&$ac_abs_builddir&;t t
18936 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18937 $ac_datarootdir_hack
18939 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18940 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18942 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18943 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18944 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18945 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18946 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18947 which seems to be undefined. Please make sure it is defined" >&5
18948 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18949 which seems to be undefined. Please make sure it is defined" >&2;}
18951 rm -f "$ac_tmp/stdin"
18952 case $ac_file in
18953 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18954 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18955 esac \
18956 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18960 # CONFIG_HEADER
18962 if test x"$ac_file" != x-; then
18964 $as_echo "/* $configure_input */" \
18965 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18966 } >"$ac_tmp/config.h" \
18967 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18968 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18969 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18970 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18971 else
18972 rm -f "$ac_file"
18973 mv "$ac_tmp/config.h" "$ac_file" \
18974 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18976 else
18977 $as_echo "/* $configure_input */" \
18978 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18979 || as_fn_error $? "could not create -" "$LINENO" 5
18984 # CONFIG_LINK
18987 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
18989 else
18990 # Prefer the file from the source tree if names are identical.
18991 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
18992 ac_source=$srcdir/$ac_source
18995 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
18996 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
18998 if test ! -r "$ac_source"; then
18999 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19001 rm -f "$ac_file"
19003 # Try a relative symlink, then a hard link, then a copy.
19004 case $ac_source in
19005 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19006 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19007 esac
19008 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19009 ln "$ac_source" "$ac_file" 2>/dev/null ||
19010 cp -p "$ac_source" "$ac_file" ||
19011 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19014 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19015 $as_echo "$as_me: executing $ac_file commands" >&6;}
19017 esac
19020 case $ac_file$ac_mode in
19021 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19022 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19023 "Makefile":C) wine_fn_output_makefile Makefile ;;
19024 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19026 esac
19027 done # for ac_tag
19030 as_fn_exit 0
19031 _ACEOF
19032 ac_clean_files=$ac_clean_files_save
19034 test $ac_write_fail = 0 ||
19035 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19038 # configure is writing to config.log, and then calls config.status.
19039 # config.status does its own redirection, appending to config.log.
19040 # Unfortunately, on DOS this fails, as config.log is still kept open
19041 # by configure, so config.status won't be able to write to it; its
19042 # output is simply discarded. So we exec the FD to /dev/null,
19043 # effectively closing config.log, so it can be properly (re)opened and
19044 # appended to by config.status. When coming back to configure, we
19045 # need to make the FD available again.
19046 if test "$no_create" != yes; then
19047 ac_cs_success=:
19048 ac_config_status_args=
19049 test "$silent" = yes &&
19050 ac_config_status_args="$ac_config_status_args --quiet"
19051 exec 5>/dev/null
19052 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19053 exec 5>>config.log
19054 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19055 # would make configure fail if this is the last instruction.
19056 $ac_cs_success || as_fn_exit 1
19058 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19059 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19060 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19064 if test "$no_create" = "yes"
19065 then
19066 exit 0
19069 ac_save_IFS="$IFS"
19070 if test "x$wine_notices != "x; then
19071 echo >&6
19072 IFS="|"
19073 for msg in $wine_notices; do
19074 IFS="$ac_save_IFS"
19075 if ${msg:+false} :; then :
19077 else
19078 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19079 $as_echo "$as_me: $msg" >&6;}
19081 done
19083 IFS="|"
19084 for msg in $wine_warnings; do
19085 IFS="$ac_save_IFS"
19086 if ${msg:+false} :; then :
19088 else
19089 echo >&2
19090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19091 $as_echo "$as_me: WARNING: $msg" >&2;}
19093 done
19094 IFS="$ac_save_IFS"
19096 $as_echo "
19097 $as_me: Finished. Do '${ac_make}' to compile Wine.
19098 " >&6