oleaut32: Load and store all of the strings in a typelib.
[wine/multimedia.git] / configure
blobd72d2dfb83ef02514b8bf836fc832aef96b633dd
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.5.31.
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.5.31'
584 PACKAGE_STRING='Wine 1.5.31'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='http://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 PORCFLAGS
628 LINGUAS
629 ALL_TEST_RESOURCES
630 LDAPLIBS
631 LIBRT
632 LIBPOLL
633 LIBDL
634 EXTRA_BINARIES
635 MAIN_BINARY
636 TOOLSEXT
637 LDPATH
638 UNWINDFLAGS
639 BUILTINFLAG
640 EXTRACFLAGS
641 LIBKSTAT
642 LIBOPENAL
643 LIBMPG123
644 PNG_LIBS
645 PNG_CFLAGS
646 FONTCONFIGINCL
647 CUPSINCL
648 OSS4INCL
649 ALSALIBS
650 GSTREAMER_LIBS
651 GSTREAMER_CFLAGS
652 LIBGETTEXTPO
653 ZLIB
654 FREETYPE_LIBS
655 FREETYPE_CFLAGS
656 LCMS_LIBS
657 LCMS_CFLAGS
658 RESOLVLIBS
659 GPHOTO2_PORT_LIBS
660 GPHOTO2_PORT_CFLAGS
661 GPHOTO2_LIBS
662 GPHOTO2_CFLAGS
663 SANE_LIBS
664 SANE_CFLAGS
665 GNUTLS_LIBS
666 GNUTLS_CFLAGS
667 HAL_LIBS
668 HAL_CFLAGS
669 DBUS_LIBS
670 DBUS_CFLAGS
671 XSLT_LIBS
672 XSLT_CFLAGS
673 XML2_LIBS
674 XML2_CFLAGS
675 PKG_CONFIG
676 X_EXTRA_LIBS
677 X_LIBS
678 X_PRE_LIBS
679 X_CFLAGS
680 XMKMF
681 LIBPTHREAD
682 CROSSTARGET
683 CROSSCC
684 CROSSTEST_DISABLE
685 PRELINK
686 CARBONLIB
687 QUICKTIMELIB
688 LIBOPENCL
689 FRAMEWORK_OPENAL
690 COREAUDIO
691 SECURITYLIB
692 DISKARBITRATIONLIB
693 LDEXECFLAGS
694 CORESERVICESLIB
695 APPLICATIONSERVICESLIB
696 FORCEFEEDBACKLIB
697 IOKITLIB
698 COREFOUNDATIONLIB
699 LIBWINE_RULES
700 SOCKETLIBS
701 DLLTOOL
702 READELF
704 LDRPATH_LOCAL
705 LDRPATH_INSTALL
706 IMPLIBEXT
707 LDDLLFLAGS
708 DLLFLAGS
709 DLLEXT
711 OPENGL_LIBS
712 XLIB
713 MAINTAINER_MODE
714 MSGFMT
715 ICOTOOL
716 CONVERT
717 RSVG
718 FONTFORGE
719 LINTFLAGS
720 LINT
721 INSTALL_DATA
722 INSTALL_SCRIPT
723 INSTALL_PROGRAM
724 LDCONFIG
725 EGREP
726 GREP
727 LN_S
728 RANLIB
729 ARFLAGS
730 ac_ct_AR
732 BISON
733 FLEX
734 TOOLSDIR
735 WOW64_DISABLE
736 TARGETFLAGS
737 CPPBIN
738 ac_ct_CXX
739 CXXFLAGS
741 OBJEXT
742 EXEEXT
743 ac_ct_CC
744 CPPFLAGS
745 LDFLAGS
746 CFLAGS
748 SET_MAKE
749 host_os
750 host_vendor
751 host_cpu
752 host
753 build_os
754 build_vendor
755 build_cpu
756 build
757 target_alias
758 host_alias
759 build_alias
760 LIBS
761 ECHO_T
762 ECHO_N
763 ECHO_C
764 DEFS
765 mandir
766 localedir
767 libdir
768 psdir
769 pdfdir
770 dvidir
771 htmldir
772 infodir
773 docdir
774 oldincludedir
775 includedir
776 localstatedir
777 sharedstatedir
778 sysconfdir
779 datadir
780 datarootdir
781 libexecdir
782 sbindir
783 bindir
784 program_transform_name
785 prefix
786 exec_prefix
787 PACKAGE_URL
788 PACKAGE_BUGREPORT
789 PACKAGE_STRING
790 PACKAGE_VERSION
791 PACKAGE_TARNAME
792 PACKAGE_NAME
793 PATH_SEPARATOR
794 SHELL'
795 ac_subst_files='MAKE_RULES
796 MAKE_TEST_RULES
797 MAKE_DLL_RULES
798 MAKE_IMPLIB_RULES
799 MAKE_PROG_RULES'
800 ac_user_opts='
801 enable_option_checking
802 enable_win16
803 enable_win64
804 enable_tests
805 enable_maintainer_mode
806 with_alsa
807 with_capi
808 with_cms
809 with_coreaudio
810 with_cups
811 with_curses
812 with_dbus
813 with_fontconfig
814 with_freetype
815 with_gettext
816 with_gettextpo
817 with_gphoto
818 with_glu
819 with_gnutls
820 with_gsm
821 with_gstreamer
822 with_hal
823 with_jpeg
824 with_ldap
825 with_mpg123
826 with_openal
827 with_opencl
828 with_opengl
829 with_osmesa
830 with_oss
831 with_png
832 with_pthread
833 with_sane
834 with_tiff
835 with_v4l
836 with_xcomposite
837 with_xcursor
838 with_xinerama
839 with_xinput
840 with_xinput2
841 with_xml
842 with_xrandr
843 with_xrender
844 with_xshape
845 with_xshm
846 with_xslt
847 with_xxf86vm
848 with_zlib
849 with_wine_tools
850 with_wine64
851 enable_largefile
852 with_x
854 ac_precious_vars='build_alias
855 host_alias
856 target_alias
858 CFLAGS
859 LDFLAGS
860 LIBS
861 CPPFLAGS
863 CXXFLAGS
866 XMKMF
867 XML2_CFLAGS
868 XML2_LIBS
869 XSLT_CFLAGS
870 XSLT_LIBS
871 DBUS_CFLAGS
872 DBUS_LIBS
873 HAL_CFLAGS
874 HAL_LIBS
875 GNUTLS_CFLAGS
876 GNUTLS_LIBS
877 SANE_CFLAGS
878 SANE_LIBS
879 GPHOTO2_CFLAGS
880 GPHOTO2_LIBS
881 GPHOTO2_PORT_CFLAGS
882 GPHOTO2_PORT_LIBS
883 LCMS_CFLAGS
884 LCMS_LIBS
885 FREETYPE_CFLAGS
886 FREETYPE_LIBS
887 GSTREAMER_CFLAGS
888 GSTREAMER_LIBS
889 PNG_CFLAGS
890 PNG_LIBS'
893 # Initialize some variables set by options.
894 ac_init_help=
895 ac_init_version=false
896 ac_unrecognized_opts=
897 ac_unrecognized_sep=
898 # The variables have the same names as the options, with
899 # dashes changed to underlines.
900 cache_file=/dev/null
901 exec_prefix=NONE
902 no_create=
903 no_recursion=
904 prefix=NONE
905 program_prefix=NONE
906 program_suffix=NONE
907 program_transform_name=s,x,x,
908 silent=
909 site=
910 srcdir=
911 verbose=
912 x_includes=NONE
913 x_libraries=NONE
915 # Installation directory options.
916 # These are left unexpanded so users can "make install exec_prefix=/foo"
917 # and all the variables that are supposed to be based on exec_prefix
918 # by default will actually change.
919 # Use braces instead of parens because sh, perl, etc. also accept them.
920 # (The list follows the same order as the GNU Coding Standards.)
921 bindir='${exec_prefix}/bin'
922 sbindir='${exec_prefix}/sbin'
923 libexecdir='${exec_prefix}/libexec'
924 datarootdir='${prefix}/share'
925 datadir='${datarootdir}'
926 sysconfdir='${prefix}/etc'
927 sharedstatedir='${prefix}/com'
928 localstatedir='${prefix}/var'
929 includedir='${prefix}/include'
930 oldincludedir='/usr/include'
931 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
932 infodir='${datarootdir}/info'
933 htmldir='${docdir}'
934 dvidir='${docdir}'
935 pdfdir='${docdir}'
936 psdir='${docdir}'
937 libdir='${exec_prefix}/lib'
938 localedir='${datarootdir}/locale'
939 mandir='${datarootdir}/man'
941 ac_prev=
942 ac_dashdash=
943 for ac_option
945 # If the previous option needs an argument, assign it.
946 if test -n "$ac_prev"; then
947 eval $ac_prev=\$ac_option
948 ac_prev=
949 continue
952 case $ac_option in
953 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
954 *=) ac_optarg= ;;
955 *) ac_optarg=yes ;;
956 esac
958 # Accept the important Cygnus configure options, so we can diagnose typos.
960 case $ac_dashdash$ac_option in
962 ac_dashdash=yes ;;
964 -bindir | --bindir | --bindi | --bind | --bin | --bi)
965 ac_prev=bindir ;;
966 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
967 bindir=$ac_optarg ;;
969 -build | --build | --buil | --bui | --bu)
970 ac_prev=build_alias ;;
971 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
972 build_alias=$ac_optarg ;;
974 -cache-file | --cache-file | --cache-fil | --cache-fi \
975 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
976 ac_prev=cache_file ;;
977 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
978 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
979 cache_file=$ac_optarg ;;
981 --config-cache | -C)
982 cache_file=config.cache ;;
984 -datadir | --datadir | --datadi | --datad)
985 ac_prev=datadir ;;
986 -datadir=* | --datadir=* | --datadi=* | --datad=*)
987 datadir=$ac_optarg ;;
989 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
990 | --dataroo | --dataro | --datar)
991 ac_prev=datarootdir ;;
992 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
993 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
994 datarootdir=$ac_optarg ;;
996 -disable-* | --disable-*)
997 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
998 # Reject names that are not valid shell variable names.
999 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1000 as_fn_error $? "invalid feature name: $ac_useropt"
1001 ac_useropt_orig=$ac_useropt
1002 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1003 case $ac_user_opts in
1005 "enable_$ac_useropt"
1006 "*) ;;
1007 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1008 ac_unrecognized_sep=', ';;
1009 esac
1010 eval enable_$ac_useropt=no ;;
1012 -docdir | --docdir | --docdi | --doc | --do)
1013 ac_prev=docdir ;;
1014 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1015 docdir=$ac_optarg ;;
1017 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1018 ac_prev=dvidir ;;
1019 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1020 dvidir=$ac_optarg ;;
1022 -enable-* | --enable-*)
1023 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1024 # Reject names that are not valid shell variable names.
1025 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1026 as_fn_error $? "invalid feature name: $ac_useropt"
1027 ac_useropt_orig=$ac_useropt
1028 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1029 case $ac_user_opts in
1031 "enable_$ac_useropt"
1032 "*) ;;
1033 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1034 ac_unrecognized_sep=', ';;
1035 esac
1036 eval enable_$ac_useropt=\$ac_optarg ;;
1038 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1039 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1040 | --exec | --exe | --ex)
1041 ac_prev=exec_prefix ;;
1042 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1043 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1044 | --exec=* | --exe=* | --ex=*)
1045 exec_prefix=$ac_optarg ;;
1047 -gas | --gas | --ga | --g)
1048 # Obsolete; use --with-gas.
1049 with_gas=yes ;;
1051 -help | --help | --hel | --he | -h)
1052 ac_init_help=long ;;
1053 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1054 ac_init_help=recursive ;;
1055 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1056 ac_init_help=short ;;
1058 -host | --host | --hos | --ho)
1059 ac_prev=host_alias ;;
1060 -host=* | --host=* | --hos=* | --ho=*)
1061 host_alias=$ac_optarg ;;
1063 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1064 ac_prev=htmldir ;;
1065 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1066 | --ht=*)
1067 htmldir=$ac_optarg ;;
1069 -includedir | --includedir | --includedi | --included | --include \
1070 | --includ | --inclu | --incl | --inc)
1071 ac_prev=includedir ;;
1072 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1073 | --includ=* | --inclu=* | --incl=* | --inc=*)
1074 includedir=$ac_optarg ;;
1076 -infodir | --infodir | --infodi | --infod | --info | --inf)
1077 ac_prev=infodir ;;
1078 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1079 infodir=$ac_optarg ;;
1081 -libdir | --libdir | --libdi | --libd)
1082 ac_prev=libdir ;;
1083 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1084 libdir=$ac_optarg ;;
1086 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1087 | --libexe | --libex | --libe)
1088 ac_prev=libexecdir ;;
1089 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1090 | --libexe=* | --libex=* | --libe=*)
1091 libexecdir=$ac_optarg ;;
1093 -localedir | --localedir | --localedi | --localed | --locale)
1094 ac_prev=localedir ;;
1095 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1096 localedir=$ac_optarg ;;
1098 -localstatedir | --localstatedir | --localstatedi | --localstated \
1099 | --localstate | --localstat | --localsta | --localst | --locals)
1100 ac_prev=localstatedir ;;
1101 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1102 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1103 localstatedir=$ac_optarg ;;
1105 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1106 ac_prev=mandir ;;
1107 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1108 mandir=$ac_optarg ;;
1110 -nfp | --nfp | --nf)
1111 # Obsolete; use --without-fp.
1112 with_fp=no ;;
1114 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1115 | --no-cr | --no-c | -n)
1116 no_create=yes ;;
1118 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1119 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1120 no_recursion=yes ;;
1122 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1123 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1124 | --oldin | --oldi | --old | --ol | --o)
1125 ac_prev=oldincludedir ;;
1126 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1127 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1128 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1129 oldincludedir=$ac_optarg ;;
1131 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1132 ac_prev=prefix ;;
1133 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1134 prefix=$ac_optarg ;;
1136 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1137 | --program-pre | --program-pr | --program-p)
1138 ac_prev=program_prefix ;;
1139 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1140 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1141 program_prefix=$ac_optarg ;;
1143 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1144 | --program-suf | --program-su | --program-s)
1145 ac_prev=program_suffix ;;
1146 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1147 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1148 program_suffix=$ac_optarg ;;
1150 -program-transform-name | --program-transform-name \
1151 | --program-transform-nam | --program-transform-na \
1152 | --program-transform-n | --program-transform- \
1153 | --program-transform | --program-transfor \
1154 | --program-transfo | --program-transf \
1155 | --program-trans | --program-tran \
1156 | --progr-tra | --program-tr | --program-t)
1157 ac_prev=program_transform_name ;;
1158 -program-transform-name=* | --program-transform-name=* \
1159 | --program-transform-nam=* | --program-transform-na=* \
1160 | --program-transform-n=* | --program-transform-=* \
1161 | --program-transform=* | --program-transfor=* \
1162 | --program-transfo=* | --program-transf=* \
1163 | --program-trans=* | --program-tran=* \
1164 | --progr-tra=* | --program-tr=* | --program-t=*)
1165 program_transform_name=$ac_optarg ;;
1167 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1168 ac_prev=pdfdir ;;
1169 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1170 pdfdir=$ac_optarg ;;
1172 -psdir | --psdir | --psdi | --psd | --ps)
1173 ac_prev=psdir ;;
1174 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1175 psdir=$ac_optarg ;;
1177 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1178 | -silent | --silent | --silen | --sile | --sil)
1179 silent=yes ;;
1181 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1182 ac_prev=sbindir ;;
1183 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1184 | --sbi=* | --sb=*)
1185 sbindir=$ac_optarg ;;
1187 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1188 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1189 | --sharedst | --shareds | --shared | --share | --shar \
1190 | --sha | --sh)
1191 ac_prev=sharedstatedir ;;
1192 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1193 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1194 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1195 | --sha=* | --sh=*)
1196 sharedstatedir=$ac_optarg ;;
1198 -site | --site | --sit)
1199 ac_prev=site ;;
1200 -site=* | --site=* | --sit=*)
1201 site=$ac_optarg ;;
1203 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1204 ac_prev=srcdir ;;
1205 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1206 srcdir=$ac_optarg ;;
1208 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1209 | --syscon | --sysco | --sysc | --sys | --sy)
1210 ac_prev=sysconfdir ;;
1211 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1212 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1213 sysconfdir=$ac_optarg ;;
1215 -target | --target | --targe | --targ | --tar | --ta | --t)
1216 ac_prev=target_alias ;;
1217 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1218 target_alias=$ac_optarg ;;
1220 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1221 verbose=yes ;;
1223 -version | --version | --versio | --versi | --vers | -V)
1224 ac_init_version=: ;;
1226 -with-* | --with-*)
1227 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1228 # Reject names that are not valid shell variable names.
1229 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1230 as_fn_error $? "invalid package name: $ac_useropt"
1231 ac_useropt_orig=$ac_useropt
1232 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1233 case $ac_user_opts in
1235 "with_$ac_useropt"
1236 "*) ;;
1237 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1238 ac_unrecognized_sep=', ';;
1239 esac
1240 eval with_$ac_useropt=\$ac_optarg ;;
1242 -without-* | --without-*)
1243 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1244 # Reject names that are not valid shell variable names.
1245 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1246 as_fn_error $? "invalid package name: $ac_useropt"
1247 ac_useropt_orig=$ac_useropt
1248 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1249 case $ac_user_opts in
1251 "with_$ac_useropt"
1252 "*) ;;
1253 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1254 ac_unrecognized_sep=', ';;
1255 esac
1256 eval with_$ac_useropt=no ;;
1258 --x)
1259 # Obsolete; use --with-x.
1260 with_x=yes ;;
1262 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1263 | --x-incl | --x-inc | --x-in | --x-i)
1264 ac_prev=x_includes ;;
1265 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1266 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1267 x_includes=$ac_optarg ;;
1269 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1270 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1271 ac_prev=x_libraries ;;
1272 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1273 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1274 x_libraries=$ac_optarg ;;
1276 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1277 Try \`$0 --help' for more information"
1280 *=*)
1281 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1282 # Reject names that are not valid shell variable names.
1283 case $ac_envvar in #(
1284 '' | [0-9]* | *[!_$as_cr_alnum]* )
1285 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1286 esac
1287 eval $ac_envvar=\$ac_optarg
1288 export $ac_envvar ;;
1291 # FIXME: should be removed in autoconf 3.0.
1292 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1293 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1294 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1295 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1298 esac
1299 done
1301 if test -n "$ac_prev"; then
1302 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1303 as_fn_error $? "missing argument to $ac_option"
1306 if test -n "$ac_unrecognized_opts"; then
1307 case $enable_option_checking in
1308 no) ;;
1309 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1310 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1311 esac
1314 # Check all directory arguments for consistency.
1315 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1316 datadir sysconfdir sharedstatedir localstatedir includedir \
1317 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1318 libdir localedir mandir
1320 eval ac_val=\$$ac_var
1321 # Remove trailing slashes.
1322 case $ac_val in
1323 */ )
1324 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1325 eval $ac_var=\$ac_val;;
1326 esac
1327 # Be sure to have absolute directory names.
1328 case $ac_val in
1329 [\\/$]* | ?:[\\/]* ) continue;;
1330 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1331 esac
1332 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1333 done
1335 # There might be people who depend on the old broken behavior: `$host'
1336 # used to hold the argument of --host etc.
1337 # FIXME: To remove some day.
1338 build=$build_alias
1339 host=$host_alias
1340 target=$target_alias
1342 # FIXME: To remove some day.
1343 if test "x$host_alias" != x; then
1344 if test "x$build_alias" = x; then
1345 cross_compiling=maybe
1346 elif test "x$build_alias" != "x$host_alias"; then
1347 cross_compiling=yes
1351 ac_tool_prefix=
1352 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1354 test "$silent" = yes && exec 6>/dev/null
1357 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1358 ac_ls_di=`ls -di .` &&
1359 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1360 as_fn_error $? "working directory cannot be determined"
1361 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1362 as_fn_error $? "pwd does not report name of working directory"
1365 # Find the source files, if location was not specified.
1366 if test -z "$srcdir"; then
1367 ac_srcdir_defaulted=yes
1368 # Try the directory containing this script, then the parent directory.
1369 ac_confdir=`$as_dirname -- "$as_myself" ||
1370 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1371 X"$as_myself" : 'X\(//\)[^/]' \| \
1372 X"$as_myself" : 'X\(//\)$' \| \
1373 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1374 $as_echo X"$as_myself" |
1375 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1376 s//\1/
1379 /^X\(\/\/\)[^/].*/{
1380 s//\1/
1383 /^X\(\/\/\)$/{
1384 s//\1/
1387 /^X\(\/\).*/{
1388 s//\1/
1391 s/.*/./; q'`
1392 srcdir=$ac_confdir
1393 if test ! -r "$srcdir/$ac_unique_file"; then
1394 srcdir=..
1396 else
1397 ac_srcdir_defaulted=no
1399 if test ! -r "$srcdir/$ac_unique_file"; then
1400 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1401 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1403 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1404 ac_abs_confdir=`(
1405 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1406 pwd)`
1407 # When building in place, set srcdir=.
1408 if test "$ac_abs_confdir" = "$ac_pwd"; then
1409 srcdir=.
1411 # Remove unnecessary trailing slashes from srcdir.
1412 # Double slashes in file names in object file debugging info
1413 # mess up M-x gdb in Emacs.
1414 case $srcdir in
1415 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1416 esac
1417 for ac_var in $ac_precious_vars; do
1418 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1419 eval ac_env_${ac_var}_value=\$${ac_var}
1420 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1421 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1422 done
1425 # Report the --help message.
1427 if test "$ac_init_help" = "long"; then
1428 # Omit some internal or obsolete options to make the list less imposing.
1429 # This message is too long to be a string in the A/UX 3.1 sh.
1430 cat <<_ACEOF
1431 \`configure' configures Wine 1.5.31 to adapt to many kinds of systems.
1433 Usage: $0 [OPTION]... [VAR=VALUE]...
1435 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1436 VAR=VALUE. See below for descriptions of some of the useful variables.
1438 Defaults for the options are specified in brackets.
1440 Configuration:
1441 -h, --help display this help and exit
1442 --help=short display options specific to this package
1443 --help=recursive display the short help of all the included packages
1444 -V, --version display version information and exit
1445 -q, --quiet, --silent do not print \`checking ...' messages
1446 --cache-file=FILE cache test results in FILE [disabled]
1447 -C, --config-cache alias for \`--cache-file=config.cache'
1448 -n, --no-create do not create output files
1449 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1451 Installation directories:
1452 --prefix=PREFIX install architecture-independent files in PREFIX
1453 [$ac_default_prefix]
1454 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1455 [PREFIX]
1457 By default, \`make install' will install all the files in
1458 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1459 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1460 for instance \`--prefix=\$HOME'.
1462 For better control, use the options below.
1464 Fine tuning of the installation directories:
1465 --bindir=DIR user executables [EPREFIX/bin]
1466 --sbindir=DIR system admin executables [EPREFIX/sbin]
1467 --libexecdir=DIR program executables [EPREFIX/libexec]
1468 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1469 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1470 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1471 --libdir=DIR object code libraries [EPREFIX/lib]
1472 --includedir=DIR C header files [PREFIX/include]
1473 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1474 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1475 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1476 --infodir=DIR info documentation [DATAROOTDIR/info]
1477 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1478 --mandir=DIR man documentation [DATAROOTDIR/man]
1479 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1480 --htmldir=DIR html documentation [DOCDIR]
1481 --dvidir=DIR dvi documentation [DOCDIR]
1482 --pdfdir=DIR pdf documentation [DOCDIR]
1483 --psdir=DIR ps documentation [DOCDIR]
1484 _ACEOF
1486 cat <<\_ACEOF
1488 X features:
1489 --x-includes=DIR X include files are in DIR
1490 --x-libraries=DIR X library files are in DIR
1492 System types:
1493 --build=BUILD configure for building on BUILD [guessed]
1494 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1495 _ACEOF
1498 if test -n "$ac_init_help"; then
1499 case $ac_init_help in
1500 short | recursive ) echo "Configuration of Wine 1.5.31:";;
1501 esac
1502 cat <<\_ACEOF
1504 Optional Features:
1505 --disable-option-checking ignore unrecognized --enable/--with options
1506 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1507 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1508 --disable-win16 do not include Win16 support
1509 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1510 binaries)
1511 --disable-tests do not build the regression tests
1512 --enable-maintainer-mode
1513 enable maintainer-specific build rules
1514 --disable-largefile omit support for large files
1516 Optional Packages:
1517 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1518 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1519 --without-alsa do not use the Alsa sound support
1520 --without-capi do not use CAPI (ISDN support)
1521 --without-cms do not use CMS (color management support)
1522 --without-coreaudio do not use the CoreAudio sound support
1523 --without-cups do not use CUPS
1524 --without-curses do not use (n)curses
1525 --without-dbus do not use DBus (dynamic device support)
1526 --without-fontconfig do not use fontconfig
1527 --without-freetype do not use the FreeType library
1528 --without-gettext do not use gettext
1529 --with-gettextpo use the GetTextPO library to rebuild po files
1530 --without-gphoto do not use gphoto (Digital Camera support)
1531 --without-glu do not use the GLU library
1532 --without-gnutls do not use GnuTLS (schannel support)
1533 --without-gsm do not use libgsm (GSM 06.10 codec support)
1534 --without-gstreamer do not use GStreamer (codecs support)
1535 --without-hal do not use HAL (dynamic device support)
1536 --without-jpeg do not use JPEG
1537 --without-ldap do not use LDAP
1538 --without-mpg123 do not use the mpg123 library
1539 --without-openal do not use OpenAL
1540 --without-opencl do not use OpenCL
1541 --without-opengl do not use OpenGL
1542 --without-osmesa do not use the OSMesa library
1543 --without-oss do not use the OSS sound support
1544 --without-png do not use PNG
1545 --without-pthread do not use the pthread library
1546 --without-sane do not use SANE (scanner support)
1547 --without-tiff do not use TIFF
1548 --without-v4l do not use v4l1 (v4l support)
1549 --without-xcomposite do not use the Xcomposite extension
1550 --without-xcursor do not use the Xcursor extension
1551 --without-xinerama do not use Xinerama (multi-monitor support)
1552 --without-xinput do not use the Xinput extension
1553 --without-xinput2 do not use the Xinput 2 extension
1554 --without-xml do not use XML
1555 --without-xrandr do not use Xrandr (resolution changes)
1556 --without-xrender do not use the Xrender extension
1557 --without-xshape do not use the Xshape extension
1558 --without-xshm do not use XShm (shared memory extension)
1559 --without-xslt do not use XSLT
1560 --without-xxf86vm do not use XFree video mode extension
1561 --without-zlib do not use Zlib (data compression)
1562 --with-wine-tools=DIR use Wine tools from directory DIR
1563 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
1564 --with-x use the X Window System
1566 Some influential environment variables:
1567 CC C compiler command
1568 CFLAGS C compiler flags
1569 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1570 nonstandard directory <lib dir>
1571 LIBS libraries to pass to the linker, e.g. -l<library>
1572 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1573 you have headers in a nonstandard directory <include dir>
1574 CXX C++ compiler command
1575 CXXFLAGS C++ compiler flags
1576 CPP C preprocessor
1577 XMKMF Path to xmkmf, Makefile generator for X Window System
1578 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
1579 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
1580 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
1581 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
1582 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
1583 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
1584 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
1585 HAL_LIBS Linker flags for hal, overriding pkg-config
1586 GNUTLS_CFLAGS
1587 C compiler flags for gnutls, overriding pkg-config
1588 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
1589 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
1590 SANE_LIBS Linker flags for libsane, overriding pkg-config
1591 GPHOTO2_CFLAGS
1592 C compiler flags for libgphoto2, overriding pkg-config
1593 GPHOTO2_LIBS
1594 Linker flags for libgphoto2, overriding pkg-config
1595 GPHOTO2_PORT_CFLAGS
1596 C compiler flags for libgphoto2_port, overriding pkg-config
1597 GPHOTO2_PORT_LIBS
1598 Linker flags for libgphoto2_port, overriding pkg-config
1599 LCMS_CFLAGS C compiler flags for lcms, overriding pkg-config
1600 LCMS_LIBS Linker flags for lcms, overriding pkg-config
1601 FREETYPE_CFLAGS
1602 C compiler flags for freetype2, overriding pkg-config
1603 FREETYPE_LIBS
1604 Linker flags for freetype2, overriding pkg-config
1605 GSTREAMER_CFLAGS
1606 C compiler flags for gstreamer-app-0.10, overriding pkg-config
1607 GSTREAMER_LIBS
1608 Linker flags for gstreamer-app-0.10, overriding pkg-config
1609 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
1610 PNG_LIBS Linker flags for libpng, overriding pkg-config
1612 Use these variables to override the choices made by `configure' or to help
1613 it to find libraries and programs with nonstandard names/locations.
1615 Report bugs to <wine-devel@winehq.org>.
1616 Wine home page: <http://www.winehq.org>.
1617 _ACEOF
1618 ac_status=$?
1621 if test "$ac_init_help" = "recursive"; then
1622 # If there are subdirs, report their specific --help.
1623 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1624 test -d "$ac_dir" ||
1625 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1626 continue
1627 ac_builddir=.
1629 case "$ac_dir" in
1630 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1632 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1633 # A ".." for each directory in $ac_dir_suffix.
1634 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1635 case $ac_top_builddir_sub in
1636 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1637 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1638 esac ;;
1639 esac
1640 ac_abs_top_builddir=$ac_pwd
1641 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1642 # for backward compatibility:
1643 ac_top_builddir=$ac_top_build_prefix
1645 case $srcdir in
1646 .) # We are building in place.
1647 ac_srcdir=.
1648 ac_top_srcdir=$ac_top_builddir_sub
1649 ac_abs_top_srcdir=$ac_pwd ;;
1650 [\\/]* | ?:[\\/]* ) # Absolute name.
1651 ac_srcdir=$srcdir$ac_dir_suffix;
1652 ac_top_srcdir=$srcdir
1653 ac_abs_top_srcdir=$srcdir ;;
1654 *) # Relative name.
1655 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1656 ac_top_srcdir=$ac_top_build_prefix$srcdir
1657 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1658 esac
1659 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1661 cd "$ac_dir" || { ac_status=$?; continue; }
1662 # Check for guested configure.
1663 if test -f "$ac_srcdir/configure.gnu"; then
1664 echo &&
1665 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1666 elif test -f "$ac_srcdir/configure"; then
1667 echo &&
1668 $SHELL "$ac_srcdir/configure" --help=recursive
1669 else
1670 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1671 fi || ac_status=$?
1672 cd "$ac_pwd" || { ac_status=$?; break; }
1673 done
1676 test -n "$ac_init_help" && exit $ac_status
1677 if $ac_init_version; then
1678 cat <<\_ACEOF
1679 Wine configure 1.5.31
1680 generated by GNU Autoconf 2.69
1682 Copyright (C) 2012 Free Software Foundation, Inc.
1683 This configure script is free software; the Free Software Foundation
1684 gives unlimited permission to copy, distribute and modify it.
1685 _ACEOF
1686 exit
1689 ## ------------------------ ##
1690 ## Autoconf initialization. ##
1691 ## ------------------------ ##
1693 # ac_fn_c_try_compile LINENO
1694 # --------------------------
1695 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1696 ac_fn_c_try_compile ()
1698 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1699 rm -f conftest.$ac_objext
1700 if { { ac_try="$ac_compile"
1701 case "(($ac_try" in
1702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1703 *) ac_try_echo=$ac_try;;
1704 esac
1705 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1706 $as_echo "$ac_try_echo"; } >&5
1707 (eval "$ac_compile") 2>conftest.err
1708 ac_status=$?
1709 if test -s conftest.err; then
1710 grep -v '^ *+' conftest.err >conftest.er1
1711 cat conftest.er1 >&5
1712 mv -f conftest.er1 conftest.err
1714 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1715 test $ac_status = 0; } && {
1716 test -z "$ac_c_werror_flag" ||
1717 test ! -s conftest.err
1718 } && test -s conftest.$ac_objext; then :
1719 ac_retval=0
1720 else
1721 $as_echo "$as_me: failed program was:" >&5
1722 sed 's/^/| /' conftest.$ac_ext >&5
1724 ac_retval=1
1726 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1727 as_fn_set_status $ac_retval
1729 } # ac_fn_c_try_compile
1731 # ac_fn_cxx_try_compile LINENO
1732 # ----------------------------
1733 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1734 ac_fn_cxx_try_compile ()
1736 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1737 rm -f conftest.$ac_objext
1738 if { { ac_try="$ac_compile"
1739 case "(($ac_try" in
1740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1741 *) ac_try_echo=$ac_try;;
1742 esac
1743 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1744 $as_echo "$ac_try_echo"; } >&5
1745 (eval "$ac_compile") 2>conftest.err
1746 ac_status=$?
1747 if test -s conftest.err; then
1748 grep -v '^ *+' conftest.err >conftest.er1
1749 cat conftest.er1 >&5
1750 mv -f conftest.er1 conftest.err
1752 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1753 test $ac_status = 0; } && {
1754 test -z "$ac_cxx_werror_flag" ||
1755 test ! -s conftest.err
1756 } && test -s conftest.$ac_objext; then :
1757 ac_retval=0
1758 else
1759 $as_echo "$as_me: failed program was:" >&5
1760 sed 's/^/| /' conftest.$ac_ext >&5
1762 ac_retval=1
1764 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1765 as_fn_set_status $ac_retval
1767 } # ac_fn_cxx_try_compile
1769 # ac_fn_c_try_link LINENO
1770 # -----------------------
1771 # Try to link conftest.$ac_ext, and return whether this succeeded.
1772 ac_fn_c_try_link ()
1774 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1775 rm -f conftest.$ac_objext conftest$ac_exeext
1776 if { { ac_try="$ac_link"
1777 case "(($ac_try" in
1778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1779 *) ac_try_echo=$ac_try;;
1780 esac
1781 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1782 $as_echo "$ac_try_echo"; } >&5
1783 (eval "$ac_link") 2>conftest.err
1784 ac_status=$?
1785 if test -s conftest.err; then
1786 grep -v '^ *+' conftest.err >conftest.er1
1787 cat conftest.er1 >&5
1788 mv -f conftest.er1 conftest.err
1790 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1791 test $ac_status = 0; } && {
1792 test -z "$ac_c_werror_flag" ||
1793 test ! -s conftest.err
1794 } && test -s conftest$ac_exeext && {
1795 test "$cross_compiling" = yes ||
1796 test -x conftest$ac_exeext
1797 }; then :
1798 ac_retval=0
1799 else
1800 $as_echo "$as_me: failed program was:" >&5
1801 sed 's/^/| /' conftest.$ac_ext >&5
1803 ac_retval=1
1805 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1806 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1807 # interfere with the next link command; also delete a directory that is
1808 # left behind by Apple's compiler. We do this before executing the actions.
1809 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1810 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1811 as_fn_set_status $ac_retval
1813 } # ac_fn_c_try_link
1815 # ac_fn_c_try_cpp LINENO
1816 # ----------------------
1817 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1818 ac_fn_c_try_cpp ()
1820 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1821 if { { ac_try="$ac_cpp conftest.$ac_ext"
1822 case "(($ac_try" in
1823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1824 *) ac_try_echo=$ac_try;;
1825 esac
1826 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1827 $as_echo "$ac_try_echo"; } >&5
1828 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1829 ac_status=$?
1830 if test -s conftest.err; then
1831 grep -v '^ *+' conftest.err >conftest.er1
1832 cat conftest.er1 >&5
1833 mv -f conftest.er1 conftest.err
1835 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1836 test $ac_status = 0; } > conftest.i && {
1837 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1838 test ! -s conftest.err
1839 }; then :
1840 ac_retval=0
1841 else
1842 $as_echo "$as_me: failed program was:" >&5
1843 sed 's/^/| /' conftest.$ac_ext >&5
1845 ac_retval=1
1847 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1848 as_fn_set_status $ac_retval
1850 } # ac_fn_c_try_cpp
1852 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1853 # -------------------------------------------------------
1854 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1855 # the include files in INCLUDES and setting the cache variable VAR
1856 # accordingly.
1857 ac_fn_c_check_header_mongrel ()
1859 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1860 if eval \${$3+:} false; then :
1861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1862 $as_echo_n "checking for $2... " >&6; }
1863 if eval \${$3+:} false; then :
1864 $as_echo_n "(cached) " >&6
1866 eval ac_res=\$$3
1867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1868 $as_echo "$ac_res" >&6; }
1869 else
1870 # Is the header compilable?
1871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1872 $as_echo_n "checking $2 usability... " >&6; }
1873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1874 /* end confdefs.h. */
1876 #include <$2>
1877 _ACEOF
1878 if ac_fn_c_try_compile "$LINENO"; then :
1879 ac_header_compiler=yes
1880 else
1881 ac_header_compiler=no
1883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1885 $as_echo "$ac_header_compiler" >&6; }
1887 # Is the header present?
1888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1889 $as_echo_n "checking $2 presence... " >&6; }
1890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1891 /* end confdefs.h. */
1892 #include <$2>
1893 _ACEOF
1894 if ac_fn_c_try_cpp "$LINENO"; then :
1895 ac_header_preproc=yes
1896 else
1897 ac_header_preproc=no
1899 rm -f conftest.err conftest.i conftest.$ac_ext
1900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1901 $as_echo "$ac_header_preproc" >&6; }
1903 # So? What about this header?
1904 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1905 yes:no: )
1906 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1907 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1908 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1909 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1911 no:yes:* )
1912 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1913 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1914 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1915 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1916 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1917 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1918 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1919 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1921 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1922 ( $as_echo "## ------------------------------------ ##
1923 ## Report this to wine-devel@winehq.org ##
1924 ## ------------------------------------ ##"
1925 ) | sed "s/^/$as_me: WARNING: /" >&2
1927 esac
1928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1929 $as_echo_n "checking for $2... " >&6; }
1930 if eval \${$3+:} false; then :
1931 $as_echo_n "(cached) " >&6
1932 else
1933 eval "$3=\$ac_header_compiler"
1935 eval ac_res=\$$3
1936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1937 $as_echo "$ac_res" >&6; }
1939 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1941 } # ac_fn_c_check_header_mongrel
1943 # ac_fn_c_try_run LINENO
1944 # ----------------------
1945 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1946 # that executables *can* be run.
1947 ac_fn_c_try_run ()
1949 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1950 if { { ac_try="$ac_link"
1951 case "(($ac_try" in
1952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1953 *) ac_try_echo=$ac_try;;
1954 esac
1955 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1956 $as_echo "$ac_try_echo"; } >&5
1957 (eval "$ac_link") 2>&5
1958 ac_status=$?
1959 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1960 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1961 { { case "(($ac_try" in
1962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1963 *) ac_try_echo=$ac_try;;
1964 esac
1965 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1966 $as_echo "$ac_try_echo"; } >&5
1967 (eval "$ac_try") 2>&5
1968 ac_status=$?
1969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1970 test $ac_status = 0; }; }; then :
1971 ac_retval=0
1972 else
1973 $as_echo "$as_me: program exited with status $ac_status" >&5
1974 $as_echo "$as_me: failed program was:" >&5
1975 sed 's/^/| /' conftest.$ac_ext >&5
1977 ac_retval=$ac_status
1979 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1980 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1981 as_fn_set_status $ac_retval
1983 } # ac_fn_c_try_run
1985 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1986 # -------------------------------------------------------
1987 # Tests whether HEADER exists and can be compiled using the include files in
1988 # INCLUDES, setting the cache variable VAR accordingly.
1989 ac_fn_c_check_header_compile ()
1991 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1993 $as_echo_n "checking for $2... " >&6; }
1994 if eval \${$3+:} false; then :
1995 $as_echo_n "(cached) " >&6
1996 else
1997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1998 /* end confdefs.h. */
2000 #include <$2>
2001 _ACEOF
2002 if ac_fn_c_try_compile "$LINENO"; then :
2003 eval "$3=yes"
2004 else
2005 eval "$3=no"
2007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2009 eval ac_res=\$$3
2010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2011 $as_echo "$ac_res" >&6; }
2012 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2014 } # ac_fn_c_check_header_compile
2016 # ac_fn_c_check_func LINENO FUNC VAR
2017 # ----------------------------------
2018 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2019 ac_fn_c_check_func ()
2021 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2023 $as_echo_n "checking for $2... " >&6; }
2024 if eval \${$3+:} false; then :
2025 $as_echo_n "(cached) " >&6
2026 else
2027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2028 /* end confdefs.h. */
2029 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2030 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2031 #define $2 innocuous_$2
2033 /* System header to define __stub macros and hopefully few prototypes,
2034 which can conflict with char $2 (); below.
2035 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2036 <limits.h> exists even on freestanding compilers. */
2038 #ifdef __STDC__
2039 # include <limits.h>
2040 #else
2041 # include <assert.h>
2042 #endif
2044 #undef $2
2046 /* Override any GCC internal prototype to avoid an error.
2047 Use char because int might match the return type of a GCC
2048 builtin and then its argument prototype would still apply. */
2049 #ifdef __cplusplus
2050 extern "C"
2051 #endif
2052 char $2 ();
2053 /* The GNU C library defines this for functions which it implements
2054 to always fail with ENOSYS. Some functions are actually named
2055 something starting with __ and the normal name is an alias. */
2056 #if defined __stub_$2 || defined __stub___$2
2057 choke me
2058 #endif
2061 main ()
2063 return $2 ();
2065 return 0;
2067 _ACEOF
2068 if ac_fn_c_try_link "$LINENO"; then :
2069 eval "$3=yes"
2070 else
2071 eval "$3=no"
2073 rm -f core conftest.err conftest.$ac_objext \
2074 conftest$ac_exeext conftest.$ac_ext
2076 eval ac_res=\$$3
2077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2078 $as_echo "$ac_res" >&6; }
2079 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2081 } # ac_fn_c_check_func
2083 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2084 # ----------------------------------------------------
2085 # Tries to find if the field MEMBER exists in type AGGR, after including
2086 # INCLUDES, setting cache variable VAR accordingly.
2087 ac_fn_c_check_member ()
2089 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2091 $as_echo_n "checking for $2.$3... " >&6; }
2092 if eval \${$4+:} false; then :
2093 $as_echo_n "(cached) " >&6
2094 else
2095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2096 /* end confdefs.h. */
2099 main ()
2101 static $2 ac_aggr;
2102 if (ac_aggr.$3)
2103 return 0;
2105 return 0;
2107 _ACEOF
2108 if ac_fn_c_try_compile "$LINENO"; then :
2109 eval "$4=yes"
2110 else
2111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2112 /* end confdefs.h. */
2115 main ()
2117 static $2 ac_aggr;
2118 if (sizeof ac_aggr.$3)
2119 return 0;
2121 return 0;
2123 _ACEOF
2124 if ac_fn_c_try_compile "$LINENO"; then :
2125 eval "$4=yes"
2126 else
2127 eval "$4=no"
2129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2133 eval ac_res=\$$4
2134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2135 $as_echo "$ac_res" >&6; }
2136 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2138 } # ac_fn_c_check_member
2140 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2141 # -------------------------------------------
2142 # Tests whether TYPE exists after having included INCLUDES, setting cache
2143 # variable VAR accordingly.
2144 ac_fn_c_check_type ()
2146 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2148 $as_echo_n "checking for $2... " >&6; }
2149 if eval \${$3+:} false; then :
2150 $as_echo_n "(cached) " >&6
2151 else
2152 eval "$3=no"
2153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2154 /* end confdefs.h. */
2157 main ()
2159 if (sizeof ($2))
2160 return 0;
2162 return 0;
2164 _ACEOF
2165 if ac_fn_c_try_compile "$LINENO"; then :
2166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2167 /* end confdefs.h. */
2170 main ()
2172 if (sizeof (($2)))
2173 return 0;
2175 return 0;
2177 _ACEOF
2178 if ac_fn_c_try_compile "$LINENO"; then :
2180 else
2181 eval "$3=yes"
2183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2187 eval ac_res=\$$3
2188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2189 $as_echo "$ac_res" >&6; }
2190 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2192 } # ac_fn_c_check_type
2193 cat >config.log <<_ACEOF
2194 This file contains any messages produced by compilers while
2195 running configure, to aid debugging if configure makes a mistake.
2197 It was created by Wine $as_me 1.5.31, which was
2198 generated by GNU Autoconf 2.69. Invocation command line was
2200 $ $0 $@
2202 _ACEOF
2203 exec 5>>config.log
2205 cat <<_ASUNAME
2206 ## --------- ##
2207 ## Platform. ##
2208 ## --------- ##
2210 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2211 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2212 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2213 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2214 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2216 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2217 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2219 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2220 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2221 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2222 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2223 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2224 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2225 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2227 _ASUNAME
2229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2230 for as_dir in $PATH
2232 IFS=$as_save_IFS
2233 test -z "$as_dir" && as_dir=.
2234 $as_echo "PATH: $as_dir"
2235 done
2236 IFS=$as_save_IFS
2238 } >&5
2240 cat >&5 <<_ACEOF
2243 ## ----------- ##
2244 ## Core tests. ##
2245 ## ----------- ##
2247 _ACEOF
2250 # Keep a trace of the command line.
2251 # Strip out --no-create and --no-recursion so they do not pile up.
2252 # Strip out --silent because we don't want to record it for future runs.
2253 # Also quote any args containing shell meta-characters.
2254 # Make two passes to allow for proper duplicate-argument suppression.
2255 ac_configure_args=
2256 ac_configure_args0=
2257 ac_configure_args1=
2258 ac_must_keep_next=false
2259 for ac_pass in 1 2
2261 for ac_arg
2263 case $ac_arg in
2264 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2265 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2266 | -silent | --silent | --silen | --sile | --sil)
2267 continue ;;
2268 *\'*)
2269 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2270 esac
2271 case $ac_pass in
2272 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2274 as_fn_append ac_configure_args1 " '$ac_arg'"
2275 if test $ac_must_keep_next = true; then
2276 ac_must_keep_next=false # Got value, back to normal.
2277 else
2278 case $ac_arg in
2279 *=* | --config-cache | -C | -disable-* | --disable-* \
2280 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2281 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2282 | -with-* | --with-* | -without-* | --without-* | --x)
2283 case "$ac_configure_args0 " in
2284 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2285 esac
2287 -* ) ac_must_keep_next=true ;;
2288 esac
2290 as_fn_append ac_configure_args " '$ac_arg'"
2292 esac
2293 done
2294 done
2295 { ac_configure_args0=; unset ac_configure_args0;}
2296 { ac_configure_args1=; unset ac_configure_args1;}
2298 # When interrupted or exit'd, cleanup temporary files, and complete
2299 # config.log. We remove comments because anyway the quotes in there
2300 # would cause problems or look ugly.
2301 # WARNING: Use '\'' to represent an apostrophe within the trap.
2302 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2303 trap 'exit_status=$?
2304 # Save into config.log some information that might help in debugging.
2306 echo
2308 $as_echo "## ---------------- ##
2309 ## Cache variables. ##
2310 ## ---------------- ##"
2311 echo
2312 # The following way of writing the cache mishandles newlines in values,
2314 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2315 eval ac_val=\$$ac_var
2316 case $ac_val in #(
2317 *${as_nl}*)
2318 case $ac_var in #(
2319 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2320 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2321 esac
2322 case $ac_var in #(
2323 _ | IFS | as_nl) ;; #(
2324 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2325 *) { eval $ac_var=; unset $ac_var;} ;;
2326 esac ;;
2327 esac
2328 done
2329 (set) 2>&1 |
2330 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2331 *${as_nl}ac_space=\ *)
2332 sed -n \
2333 "s/'\''/'\''\\\\'\'''\''/g;
2334 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2335 ;; #(
2337 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2339 esac |
2340 sort
2342 echo
2344 $as_echo "## ----------------- ##
2345 ## Output variables. ##
2346 ## ----------------- ##"
2347 echo
2348 for ac_var in $ac_subst_vars
2350 eval ac_val=\$$ac_var
2351 case $ac_val in
2352 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2353 esac
2354 $as_echo "$ac_var='\''$ac_val'\''"
2355 done | sort
2356 echo
2358 if test -n "$ac_subst_files"; then
2359 $as_echo "## ------------------- ##
2360 ## File substitutions. ##
2361 ## ------------------- ##"
2362 echo
2363 for ac_var in $ac_subst_files
2365 eval ac_val=\$$ac_var
2366 case $ac_val in
2367 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2368 esac
2369 $as_echo "$ac_var='\''$ac_val'\''"
2370 done | sort
2371 echo
2374 if test -s confdefs.h; then
2375 $as_echo "## ----------- ##
2376 ## confdefs.h. ##
2377 ## ----------- ##"
2378 echo
2379 cat confdefs.h
2380 echo
2382 test "$ac_signal" != 0 &&
2383 $as_echo "$as_me: caught signal $ac_signal"
2384 $as_echo "$as_me: exit $exit_status"
2385 } >&5
2386 rm -f core *.core core.conftest.* &&
2387 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2388 exit $exit_status
2390 for ac_signal in 1 2 13 15; do
2391 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2392 done
2393 ac_signal=0
2395 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2396 rm -f -r conftest* confdefs.h
2398 $as_echo "/* confdefs.h */" > confdefs.h
2400 # Predefined preprocessor variables.
2402 cat >>confdefs.h <<_ACEOF
2403 #define PACKAGE_NAME "$PACKAGE_NAME"
2404 _ACEOF
2406 cat >>confdefs.h <<_ACEOF
2407 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2408 _ACEOF
2410 cat >>confdefs.h <<_ACEOF
2411 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2412 _ACEOF
2414 cat >>confdefs.h <<_ACEOF
2415 #define PACKAGE_STRING "$PACKAGE_STRING"
2416 _ACEOF
2418 cat >>confdefs.h <<_ACEOF
2419 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2420 _ACEOF
2422 cat >>confdefs.h <<_ACEOF
2423 #define PACKAGE_URL "$PACKAGE_URL"
2424 _ACEOF
2427 # Let the site file select an alternate cache file if it wants to.
2428 # Prefer an explicitly selected file to automatically selected ones.
2429 ac_site_file1=NONE
2430 ac_site_file2=NONE
2431 if test -n "$CONFIG_SITE"; then
2432 # We do not want a PATH search for config.site.
2433 case $CONFIG_SITE in #((
2434 -*) ac_site_file1=./$CONFIG_SITE;;
2435 */*) ac_site_file1=$CONFIG_SITE;;
2436 *) ac_site_file1=./$CONFIG_SITE;;
2437 esac
2438 elif test "x$prefix" != xNONE; then
2439 ac_site_file1=$prefix/share/config.site
2440 ac_site_file2=$prefix/etc/config.site
2441 else
2442 ac_site_file1=$ac_default_prefix/share/config.site
2443 ac_site_file2=$ac_default_prefix/etc/config.site
2445 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2447 test "x$ac_site_file" = xNONE && continue
2448 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2449 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2450 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2451 sed 's/^/| /' "$ac_site_file" >&5
2452 . "$ac_site_file" \
2453 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2454 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2455 as_fn_error $? "failed to load site script $ac_site_file
2456 See \`config.log' for more details" "$LINENO" 5; }
2458 done
2460 if test -r "$cache_file"; then
2461 # Some versions of bash will fail to source /dev/null (special files
2462 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2463 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2464 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2465 $as_echo "$as_me: loading cache $cache_file" >&6;}
2466 case $cache_file in
2467 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2468 *) . "./$cache_file";;
2469 esac
2471 else
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2473 $as_echo "$as_me: creating cache $cache_file" >&6;}
2474 >$cache_file
2477 # Check that the precious variables saved in the cache have kept the same
2478 # value.
2479 ac_cache_corrupted=false
2480 for ac_var in $ac_precious_vars; do
2481 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2482 eval ac_new_set=\$ac_env_${ac_var}_set
2483 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2484 eval ac_new_val=\$ac_env_${ac_var}_value
2485 case $ac_old_set,$ac_new_set in
2486 set,)
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2488 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2489 ac_cache_corrupted=: ;;
2490 ,set)
2491 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2492 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2493 ac_cache_corrupted=: ;;
2494 ,);;
2496 if test "x$ac_old_val" != "x$ac_new_val"; then
2497 # differences in whitespace do not lead to failure.
2498 ac_old_val_w=`echo x $ac_old_val`
2499 ac_new_val_w=`echo x $ac_new_val`
2500 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2501 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2502 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2503 ac_cache_corrupted=:
2504 else
2505 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2506 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2507 eval $ac_var=\$ac_old_val
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2510 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2512 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2513 fi;;
2514 esac
2515 # Pass precious variables to config.status.
2516 if test "$ac_new_set" = set; then
2517 case $ac_new_val in
2518 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2519 *) ac_arg=$ac_var=$ac_new_val ;;
2520 esac
2521 case " $ac_configure_args " in
2522 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2523 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2524 esac
2526 done
2527 if $ac_cache_corrupted; then
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2529 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2531 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2532 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2534 ## -------------------- ##
2535 ## Main body of script. ##
2536 ## -------------------- ##
2538 ac_ext=c
2539 ac_cpp='$CPP $CPPFLAGS'
2540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2546 ac_config_headers="$ac_config_headers include/config.h"
2548 ac_aux_dir=
2549 for ac_dir in tools "$srcdir"/tools; do
2550 if test -f "$ac_dir/install-sh"; then
2551 ac_aux_dir=$ac_dir
2552 ac_install_sh="$ac_aux_dir/install-sh -c"
2553 break
2554 elif test -f "$ac_dir/install.sh"; then
2555 ac_aux_dir=$ac_dir
2556 ac_install_sh="$ac_aux_dir/install.sh -c"
2557 break
2558 elif test -f "$ac_dir/shtool"; then
2559 ac_aux_dir=$ac_dir
2560 ac_install_sh="$ac_aux_dir/shtool install -c"
2561 break
2563 done
2564 if test -z "$ac_aux_dir"; then
2565 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
2568 # These three variables are undocumented and unsupported,
2569 # and are intended to be withdrawn in a future Autoconf release.
2570 # They can cause serious problems if a builder's source tree is in a directory
2571 # whose full name contains unusual characters.
2572 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2573 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2574 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2580 # Check whether --enable-win16 was given.
2581 if test "${enable_win16+set}" = set; then :
2582 enableval=$enable_win16;
2585 # Check whether --enable-win64 was given.
2586 if test "${enable_win64+set}" = set; then :
2587 enableval=$enable_win64;
2590 # Check whether --enable-tests was given.
2591 if test "${enable_tests+set}" = set; then :
2592 enableval=$enable_tests;
2595 # Check whether --enable-maintainer-mode was given.
2596 if test "${enable_maintainer_mode+set}" = set; then :
2597 enableval=$enable_maintainer_mode;
2602 # Check whether --with-alsa was given.
2603 if test "${with_alsa+set}" = set; then :
2604 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
2608 # Check whether --with-capi was given.
2609 if test "${with_capi+set}" = set; then :
2610 withval=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h=no; ac_cv_header_linux_capi_h=no; fi
2614 # Check whether --with-cms was given.
2615 if test "${with_cms+set}" = set; then :
2616 withval=$with_cms;
2620 # Check whether --with-coreaudio was given.
2621 if test "${with_coreaudio+set}" = set; then :
2622 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
2626 # Check whether --with-cups was given.
2627 if test "${with_cups+set}" = set; then :
2628 withval=$with_cups;
2632 # Check whether --with-curses was given.
2633 if test "${with_curses+set}" = set; then :
2634 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
2638 # Check whether --with-dbus was given.
2639 if test "${with_dbus+set}" = set; then :
2640 withval=$with_dbus;
2644 # Check whether --with-fontconfig was given.
2645 if test "${with_fontconfig+set}" = set; then :
2646 withval=$with_fontconfig;
2650 # Check whether --with-freetype was given.
2651 if test "${with_freetype+set}" = set; then :
2652 withval=$with_freetype;
2656 # Check whether --with-gettext was given.
2657 if test "${with_gettext+set}" = set; then :
2658 withval=$with_gettext;
2662 # Check whether --with-gettextpo was given.
2663 if test "${with_gettextpo+set}" = set; then :
2664 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
2668 # Check whether --with-gphoto was given.
2669 if test "${with_gphoto+set}" = set; then :
2670 withval=$with_gphoto;
2674 # Check whether --with-glu was given.
2675 if test "${with_glu+set}" = set; then :
2676 withval=$with_glu;
2680 # Check whether --with-gnutls was given.
2681 if test "${with_gnutls+set}" = set; then :
2682 withval=$with_gnutls;
2686 # Check whether --with-gsm was given.
2687 if test "${with_gsm+set}" = set; then :
2688 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
2692 # Check whether --with-gstreamer was given.
2693 if test "${with_gstreamer+set}" = set; then :
2694 withval=$with_gstreamer;
2698 # Check whether --with-hal was given.
2699 if test "${with_hal+set}" = set; then :
2700 withval=$with_hal;
2704 # Check whether --with-jpeg was given.
2705 if test "${with_jpeg+set}" = set; then :
2706 withval=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h=no; fi
2710 # Check whether --with-ldap was given.
2711 if test "${with_ldap+set}" = set; then :
2712 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
2716 # Check whether --with-mpg123 was given.
2717 if test "${with_mpg123+set}" = set; then :
2718 withval=$with_mpg123; if test "x$withval" = "xno"; then ac_cv_header_mpg123_h=no; fi
2722 # Check whether --with-openal was given.
2723 if test "${with_openal+set}" = set; then :
2724 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
2728 # Check whether --with-opencl was given.
2729 if test "${with_opencl+set}" = set; then :
2730 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
2734 # Check whether --with-opengl was given.
2735 if test "${with_opengl+set}" = set; then :
2736 withval=$with_opengl;
2740 # Check whether --with-osmesa was given.
2741 if test "${with_osmesa+set}" = set; then :
2742 withval=$with_osmesa;
2746 # Check whether --with-oss was given.
2747 if test "${with_oss+set}" = set; then :
2748 withval=$with_oss;
2752 # Check whether --with-png was given.
2753 if test "${with_png+set}" = set; then :
2754 withval=$with_png;
2758 # Check whether --with-pthread was given.
2759 if test "${with_pthread+set}" = set; then :
2760 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
2764 # Check whether --with-sane was given.
2765 if test "${with_sane+set}" = set; then :
2766 withval=$with_sane;
2770 # Check whether --with-tiff was given.
2771 if test "${with_tiff+set}" = set; then :
2772 withval=$with_tiff; if test "x$withval" = "xno"; then ac_cv_header_tiffio_h=no; fi
2776 # Check whether --with-v4l was given.
2777 if test "${with_v4l+set}" = set; then :
2778 withval=$with_v4l;
2782 # Check whether --with-xcomposite was given.
2783 if test "${with_xcomposite+set}" = set; then :
2784 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
2788 # Check whether --with-xcursor was given.
2789 if test "${with_xcursor+set}" = set; then :
2790 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
2794 # Check whether --with-xinerama was given.
2795 if test "${with_xinerama+set}" = set; then :
2796 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
2800 # Check whether --with-xinput was given.
2801 if test "${with_xinput+set}" = set; then :
2802 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
2806 # Check whether --with-xinput2 was given.
2807 if test "${with_xinput2+set}" = set; then :
2808 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
2812 # Check whether --with-xml was given.
2813 if test "${with_xml+set}" = set; then :
2814 withval=$with_xml;
2818 # Check whether --with-xrandr was given.
2819 if test "${with_xrandr+set}" = set; then :
2820 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
2824 # Check whether --with-xrender was given.
2825 if test "${with_xrender+set}" = set; then :
2826 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
2830 # Check whether --with-xshape was given.
2831 if test "${with_xshape+set}" = set; then :
2832 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
2836 # Check whether --with-xshm was given.
2837 if test "${with_xshm+set}" = set; then :
2838 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
2842 # Check whether --with-xslt was given.
2843 if test "${with_xslt+set}" = set; then :
2844 withval=$with_xslt;
2848 # Check whether --with-xxf86vm was given.
2849 if test "${with_xxf86vm+set}" = set; then :
2850 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
2854 # Check whether --with-zlib was given.
2855 if test "${with_zlib+set}" = set; then :
2856 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
2861 # Check whether --with-wine-tools was given.
2862 if test "${with_wine_tools+set}" = set; then :
2863 withval=$with_wine_tools;
2867 # Check whether --with-wine64 was given.
2868 if test "${with_wine64+set}" = set; then :
2869 withval=$with_wine64;
2873 # Make sure we can run config.sub.
2874 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2875 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2878 $as_echo_n "checking build system type... " >&6; }
2879 if ${ac_cv_build+:} false; then :
2880 $as_echo_n "(cached) " >&6
2881 else
2882 ac_build_alias=$build_alias
2883 test "x$ac_build_alias" = x &&
2884 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2885 test "x$ac_build_alias" = x &&
2886 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2887 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2888 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2892 $as_echo "$ac_cv_build" >&6; }
2893 case $ac_cv_build in
2894 *-*-*) ;;
2895 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2896 esac
2897 build=$ac_cv_build
2898 ac_save_IFS=$IFS; IFS='-'
2899 set x $ac_cv_build
2900 shift
2901 build_cpu=$1
2902 build_vendor=$2
2903 shift; shift
2904 # Remember, the first character of IFS is used to create $*,
2905 # except with old shells:
2906 build_os=$*
2907 IFS=$ac_save_IFS
2908 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2912 $as_echo_n "checking host system type... " >&6; }
2913 if ${ac_cv_host+:} false; then :
2914 $as_echo_n "(cached) " >&6
2915 else
2916 if test "x$host_alias" = x; then
2917 ac_cv_host=$ac_cv_build
2918 else
2919 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2920 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2925 $as_echo "$ac_cv_host" >&6; }
2926 case $ac_cv_host in
2927 *-*-*) ;;
2928 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2929 esac
2930 host=$ac_cv_host
2931 ac_save_IFS=$IFS; IFS='-'
2932 set x $ac_cv_host
2933 shift
2934 host_cpu=$1
2935 host_vendor=$2
2936 shift; shift
2937 # Remember, the first character of IFS is used to create $*,
2938 # except with old shells:
2939 host_os=$*
2940 IFS=$ac_save_IFS
2941 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2945 case "$srcdir" in
2946 .) ;;
2947 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2948 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
2949 You need to run 'make distclean' in the source tree first." "$LINENO" 5
2950 fi ;;
2951 esac
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2955 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2956 set x ${MAKE-make}
2957 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2958 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2959 $as_echo_n "(cached) " >&6
2960 else
2961 cat >conftest.make <<\_ACEOF
2962 SHELL = /bin/sh
2963 all:
2964 @echo '@@@%%%=$(MAKE)=@@@%%%'
2965 _ACEOF
2966 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2967 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2968 *@@@%%%=?*=@@@%%%*)
2969 eval ac_cv_prog_make_${ac_make}_set=yes;;
2971 eval ac_cv_prog_make_${ac_make}_set=no;;
2972 esac
2973 rm -f conftest.make
2975 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2977 $as_echo "yes" >&6; }
2978 SET_MAKE=
2979 else
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2981 $as_echo "no" >&6; }
2982 SET_MAKE="MAKE=${MAKE-make}"
2985 ac_ext=c
2986 ac_cpp='$CPP $CPPFLAGS'
2987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2990 if test -n "$ac_tool_prefix"; then
2991 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2992 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2994 $as_echo_n "checking for $ac_word... " >&6; }
2995 if ${ac_cv_prog_CC+:} false; then :
2996 $as_echo_n "(cached) " >&6
2997 else
2998 if test -n "$CC"; then
2999 ac_cv_prog_CC="$CC" # Let the user override the test.
3000 else
3001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3002 for as_dir in $PATH
3004 IFS=$as_save_IFS
3005 test -z "$as_dir" && as_dir=.
3006 for ac_exec_ext in '' $ac_executable_extensions; do
3007 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3008 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3009 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3010 break 2
3012 done
3013 done
3014 IFS=$as_save_IFS
3018 CC=$ac_cv_prog_CC
3019 if test -n "$CC"; then
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3021 $as_echo "$CC" >&6; }
3022 else
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3024 $as_echo "no" >&6; }
3029 if test -z "$ac_cv_prog_CC"; then
3030 ac_ct_CC=$CC
3031 # Extract the first word of "gcc", so it can be a program name with args.
3032 set dummy gcc; ac_word=$2
3033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3034 $as_echo_n "checking for $ac_word... " >&6; }
3035 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3036 $as_echo_n "(cached) " >&6
3037 else
3038 if test -n "$ac_ct_CC"; then
3039 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3040 else
3041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3042 for as_dir in $PATH
3044 IFS=$as_save_IFS
3045 test -z "$as_dir" && as_dir=.
3046 for ac_exec_ext in '' $ac_executable_extensions; do
3047 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3048 ac_cv_prog_ac_ct_CC="gcc"
3049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3050 break 2
3052 done
3053 done
3054 IFS=$as_save_IFS
3058 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3059 if test -n "$ac_ct_CC"; then
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3061 $as_echo "$ac_ct_CC" >&6; }
3062 else
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3064 $as_echo "no" >&6; }
3067 if test "x$ac_ct_CC" = x; then
3068 CC=""
3069 else
3070 case $cross_compiling:$ac_tool_warned in
3071 yes:)
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3073 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3074 ac_tool_warned=yes ;;
3075 esac
3076 CC=$ac_ct_CC
3078 else
3079 CC="$ac_cv_prog_CC"
3082 if test -z "$CC"; then
3083 if test -n "$ac_tool_prefix"; then
3084 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3085 set dummy ${ac_tool_prefix}cc; ac_word=$2
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3087 $as_echo_n "checking for $ac_word... " >&6; }
3088 if ${ac_cv_prog_CC+:} false; then :
3089 $as_echo_n "(cached) " >&6
3090 else
3091 if test -n "$CC"; then
3092 ac_cv_prog_CC="$CC" # Let the user override the test.
3093 else
3094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3095 for as_dir in $PATH
3097 IFS=$as_save_IFS
3098 test -z "$as_dir" && as_dir=.
3099 for ac_exec_ext in '' $ac_executable_extensions; do
3100 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3101 ac_cv_prog_CC="${ac_tool_prefix}cc"
3102 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3103 break 2
3105 done
3106 done
3107 IFS=$as_save_IFS
3111 CC=$ac_cv_prog_CC
3112 if test -n "$CC"; then
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3114 $as_echo "$CC" >&6; }
3115 else
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3117 $as_echo "no" >&6; }
3123 if test -z "$CC"; then
3124 # Extract the first word of "cc", so it can be a program name with args.
3125 set dummy cc; ac_word=$2
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3127 $as_echo_n "checking for $ac_word... " >&6; }
3128 if ${ac_cv_prog_CC+:} false; then :
3129 $as_echo_n "(cached) " >&6
3130 else
3131 if test -n "$CC"; then
3132 ac_cv_prog_CC="$CC" # Let the user override the test.
3133 else
3134 ac_prog_rejected=no
3135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3136 for as_dir in $PATH
3138 IFS=$as_save_IFS
3139 test -z "$as_dir" && as_dir=.
3140 for ac_exec_ext in '' $ac_executable_extensions; do
3141 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3142 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3143 ac_prog_rejected=yes
3144 continue
3146 ac_cv_prog_CC="cc"
3147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3148 break 2
3150 done
3151 done
3152 IFS=$as_save_IFS
3154 if test $ac_prog_rejected = yes; then
3155 # We found a bogon in the path, so make sure we never use it.
3156 set dummy $ac_cv_prog_CC
3157 shift
3158 if test $# != 0; then
3159 # We chose a different compiler from the bogus one.
3160 # However, it has the same basename, so the bogon will be chosen
3161 # first if we set CC to just the basename; use the full file name.
3162 shift
3163 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3168 CC=$ac_cv_prog_CC
3169 if test -n "$CC"; then
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3171 $as_echo "$CC" >&6; }
3172 else
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3174 $as_echo "no" >&6; }
3179 if test -z "$CC"; then
3180 if test -n "$ac_tool_prefix"; then
3181 for ac_prog in cl.exe
3183 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3184 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3186 $as_echo_n "checking for $ac_word... " >&6; }
3187 if ${ac_cv_prog_CC+:} false; then :
3188 $as_echo_n "(cached) " >&6
3189 else
3190 if test -n "$CC"; then
3191 ac_cv_prog_CC="$CC" # Let the user override the test.
3192 else
3193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3194 for as_dir in $PATH
3196 IFS=$as_save_IFS
3197 test -z "$as_dir" && as_dir=.
3198 for ac_exec_ext in '' $ac_executable_extensions; do
3199 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3200 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3202 break 2
3204 done
3205 done
3206 IFS=$as_save_IFS
3210 CC=$ac_cv_prog_CC
3211 if test -n "$CC"; then
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3213 $as_echo "$CC" >&6; }
3214 else
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3216 $as_echo "no" >&6; }
3220 test -n "$CC" && break
3221 done
3223 if test -z "$CC"; then
3224 ac_ct_CC=$CC
3225 for ac_prog in cl.exe
3227 # Extract the first word of "$ac_prog", so it can be a program name with args.
3228 set dummy $ac_prog; ac_word=$2
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3230 $as_echo_n "checking for $ac_word... " >&6; }
3231 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3232 $as_echo_n "(cached) " >&6
3233 else
3234 if test -n "$ac_ct_CC"; then
3235 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3236 else
3237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3238 for as_dir in $PATH
3240 IFS=$as_save_IFS
3241 test -z "$as_dir" && as_dir=.
3242 for ac_exec_ext in '' $ac_executable_extensions; do
3243 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3244 ac_cv_prog_ac_ct_CC="$ac_prog"
3245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3246 break 2
3248 done
3249 done
3250 IFS=$as_save_IFS
3254 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3255 if test -n "$ac_ct_CC"; then
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3257 $as_echo "$ac_ct_CC" >&6; }
3258 else
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3260 $as_echo "no" >&6; }
3264 test -n "$ac_ct_CC" && break
3265 done
3267 if test "x$ac_ct_CC" = x; then
3268 CC=""
3269 else
3270 case $cross_compiling:$ac_tool_warned in
3271 yes:)
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3273 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3274 ac_tool_warned=yes ;;
3275 esac
3276 CC=$ac_ct_CC
3283 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3284 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3285 as_fn_error $? "no acceptable C compiler found in \$PATH
3286 See \`config.log' for more details" "$LINENO" 5; }
3288 # Provide some information about the compiler.
3289 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3290 set X $ac_compile
3291 ac_compiler=$2
3292 for ac_option in --version -v -V -qversion; do
3293 { { ac_try="$ac_compiler $ac_option >&5"
3294 case "(($ac_try" in
3295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3296 *) ac_try_echo=$ac_try;;
3297 esac
3298 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3299 $as_echo "$ac_try_echo"; } >&5
3300 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3301 ac_status=$?
3302 if test -s conftest.err; then
3303 sed '10a\
3304 ... rest of stderr output deleted ...
3305 10q' conftest.err >conftest.er1
3306 cat conftest.er1 >&5
3308 rm -f conftest.er1 conftest.err
3309 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3310 test $ac_status = 0; }
3311 done
3313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3314 /* end confdefs.h. */
3317 main ()
3321 return 0;
3323 _ACEOF
3324 ac_clean_files_save=$ac_clean_files
3325 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3326 # Try to create an executable without -o first, disregard a.out.
3327 # It will help us diagnose broken compilers, and finding out an intuition
3328 # of exeext.
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3330 $as_echo_n "checking whether the C compiler works... " >&6; }
3331 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3333 # The possible output files:
3334 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3336 ac_rmfiles=
3337 for ac_file in $ac_files
3339 case $ac_file in
3340 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3341 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3342 esac
3343 done
3344 rm -f $ac_rmfiles
3346 if { { ac_try="$ac_link_default"
3347 case "(($ac_try" in
3348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3349 *) ac_try_echo=$ac_try;;
3350 esac
3351 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3352 $as_echo "$ac_try_echo"; } >&5
3353 (eval "$ac_link_default") 2>&5
3354 ac_status=$?
3355 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3356 test $ac_status = 0; }; then :
3357 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3358 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3359 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3360 # so that the user can short-circuit this test for compilers unknown to
3361 # Autoconf.
3362 for ac_file in $ac_files ''
3364 test -f "$ac_file" || continue
3365 case $ac_file in
3366 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3368 [ab].out )
3369 # We found the default executable, but exeext='' is most
3370 # certainly right.
3371 break;;
3372 *.* )
3373 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3374 then :; else
3375 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3377 # We set ac_cv_exeext here because the later test for it is not
3378 # safe: cross compilers may not add the suffix if given an `-o'
3379 # argument, so we may need to know it at that point already.
3380 # Even if this section looks crufty: it has the advantage of
3381 # actually working.
3382 break;;
3384 break;;
3385 esac
3386 done
3387 test "$ac_cv_exeext" = no && ac_cv_exeext=
3389 else
3390 ac_file=''
3392 if test -z "$ac_file"; then :
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3394 $as_echo "no" >&6; }
3395 $as_echo "$as_me: failed program was:" >&5
3396 sed 's/^/| /' conftest.$ac_ext >&5
3398 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3399 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3400 as_fn_error 77 "C compiler cannot create executables
3401 See \`config.log' for more details" "$LINENO" 5; }
3402 else
3403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3404 $as_echo "yes" >&6; }
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3407 $as_echo_n "checking for C compiler default output file name... " >&6; }
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3409 $as_echo "$ac_file" >&6; }
3410 ac_exeext=$ac_cv_exeext
3412 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3413 ac_clean_files=$ac_clean_files_save
3414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3415 $as_echo_n "checking for suffix of executables... " >&6; }
3416 if { { ac_try="$ac_link"
3417 case "(($ac_try" in
3418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3419 *) ac_try_echo=$ac_try;;
3420 esac
3421 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3422 $as_echo "$ac_try_echo"; } >&5
3423 (eval "$ac_link") 2>&5
3424 ac_status=$?
3425 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3426 test $ac_status = 0; }; then :
3427 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3428 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3429 # work properly (i.e., refer to `conftest.exe'), while it won't with
3430 # `rm'.
3431 for ac_file in conftest.exe conftest conftest.*; do
3432 test -f "$ac_file" || continue
3433 case $ac_file in
3434 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3435 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3436 break;;
3437 * ) break;;
3438 esac
3439 done
3440 else
3441 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3442 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3443 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3444 See \`config.log' for more details" "$LINENO" 5; }
3446 rm -f conftest conftest$ac_cv_exeext
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3448 $as_echo "$ac_cv_exeext" >&6; }
3450 rm -f conftest.$ac_ext
3451 EXEEXT=$ac_cv_exeext
3452 ac_exeext=$EXEEXT
3453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3454 /* end confdefs.h. */
3455 #include <stdio.h>
3457 main ()
3459 FILE *f = fopen ("conftest.out", "w");
3460 return ferror (f) || fclose (f) != 0;
3463 return 0;
3465 _ACEOF
3466 ac_clean_files="$ac_clean_files conftest.out"
3467 # Check that the compiler produces executables we can run. If not, either
3468 # the compiler is broken, or we cross compile.
3469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3470 $as_echo_n "checking whether we are cross compiling... " >&6; }
3471 if test "$cross_compiling" != yes; then
3472 { { ac_try="$ac_link"
3473 case "(($ac_try" in
3474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3475 *) ac_try_echo=$ac_try;;
3476 esac
3477 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3478 $as_echo "$ac_try_echo"; } >&5
3479 (eval "$ac_link") 2>&5
3480 ac_status=$?
3481 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3482 test $ac_status = 0; }
3483 if { ac_try='./conftest$ac_cv_exeext'
3484 { { case "(($ac_try" in
3485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3486 *) ac_try_echo=$ac_try;;
3487 esac
3488 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3489 $as_echo "$ac_try_echo"; } >&5
3490 (eval "$ac_try") 2>&5
3491 ac_status=$?
3492 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3493 test $ac_status = 0; }; }; then
3494 cross_compiling=no
3495 else
3496 if test "$cross_compiling" = maybe; then
3497 cross_compiling=yes
3498 else
3499 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3500 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3501 as_fn_error $? "cannot run C compiled programs.
3502 If you meant to cross compile, use \`--host'.
3503 See \`config.log' for more details" "$LINENO" 5; }
3507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3508 $as_echo "$cross_compiling" >&6; }
3510 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3511 ac_clean_files=$ac_clean_files_save
3512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3513 $as_echo_n "checking for suffix of object files... " >&6; }
3514 if ${ac_cv_objext+:} false; then :
3515 $as_echo_n "(cached) " >&6
3516 else
3517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3518 /* end confdefs.h. */
3521 main ()
3525 return 0;
3527 _ACEOF
3528 rm -f conftest.o conftest.obj
3529 if { { ac_try="$ac_compile"
3530 case "(($ac_try" in
3531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3532 *) ac_try_echo=$ac_try;;
3533 esac
3534 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3535 $as_echo "$ac_try_echo"; } >&5
3536 (eval "$ac_compile") 2>&5
3537 ac_status=$?
3538 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3539 test $ac_status = 0; }; then :
3540 for ac_file in conftest.o conftest.obj conftest.*; do
3541 test -f "$ac_file" || continue;
3542 case $ac_file in
3543 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3544 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3545 break;;
3546 esac
3547 done
3548 else
3549 $as_echo "$as_me: failed program was:" >&5
3550 sed 's/^/| /' conftest.$ac_ext >&5
3552 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3553 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3554 as_fn_error $? "cannot compute suffix of object files: cannot compile
3555 See \`config.log' for more details" "$LINENO" 5; }
3557 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3560 $as_echo "$ac_cv_objext" >&6; }
3561 OBJEXT=$ac_cv_objext
3562 ac_objext=$OBJEXT
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3564 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3565 if ${ac_cv_c_compiler_gnu+:} false; then :
3566 $as_echo_n "(cached) " >&6
3567 else
3568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3569 /* end confdefs.h. */
3572 main ()
3574 #ifndef __GNUC__
3575 choke me
3576 #endif
3579 return 0;
3581 _ACEOF
3582 if ac_fn_c_try_compile "$LINENO"; then :
3583 ac_compiler_gnu=yes
3584 else
3585 ac_compiler_gnu=no
3587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3588 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3592 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3593 if test $ac_compiler_gnu = yes; then
3594 GCC=yes
3595 else
3596 GCC=
3598 ac_test_CFLAGS=${CFLAGS+set}
3599 ac_save_CFLAGS=$CFLAGS
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3601 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3602 if ${ac_cv_prog_cc_g+:} false; then :
3603 $as_echo_n "(cached) " >&6
3604 else
3605 ac_save_c_werror_flag=$ac_c_werror_flag
3606 ac_c_werror_flag=yes
3607 ac_cv_prog_cc_g=no
3608 CFLAGS="-g"
3609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3610 /* end confdefs.h. */
3613 main ()
3617 return 0;
3619 _ACEOF
3620 if ac_fn_c_try_compile "$LINENO"; then :
3621 ac_cv_prog_cc_g=yes
3622 else
3623 CFLAGS=""
3624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3625 /* end confdefs.h. */
3628 main ()
3632 return 0;
3634 _ACEOF
3635 if ac_fn_c_try_compile "$LINENO"; then :
3637 else
3638 ac_c_werror_flag=$ac_save_c_werror_flag
3639 CFLAGS="-g"
3640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3641 /* end confdefs.h. */
3644 main ()
3648 return 0;
3650 _ACEOF
3651 if ac_fn_c_try_compile "$LINENO"; then :
3652 ac_cv_prog_cc_g=yes
3654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3659 ac_c_werror_flag=$ac_save_c_werror_flag
3661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3662 $as_echo "$ac_cv_prog_cc_g" >&6; }
3663 if test "$ac_test_CFLAGS" = set; then
3664 CFLAGS=$ac_save_CFLAGS
3665 elif test $ac_cv_prog_cc_g = yes; then
3666 if test "$GCC" = yes; then
3667 CFLAGS="-g -O2"
3668 else
3669 CFLAGS="-g"
3671 else
3672 if test "$GCC" = yes; then
3673 CFLAGS="-O2"
3674 else
3675 CFLAGS=
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3679 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3680 if ${ac_cv_prog_cc_c89+:} false; then :
3681 $as_echo_n "(cached) " >&6
3682 else
3683 ac_cv_prog_cc_c89=no
3684 ac_save_CC=$CC
3685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3686 /* end confdefs.h. */
3687 #include <stdarg.h>
3688 #include <stdio.h>
3689 struct stat;
3690 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3691 struct buf { int x; };
3692 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3693 static char *e (p, i)
3694 char **p;
3695 int i;
3697 return p[i];
3699 static char *f (char * (*g) (char **, int), char **p, ...)
3701 char *s;
3702 va_list v;
3703 va_start (v,p);
3704 s = g (p, va_arg (v,int));
3705 va_end (v);
3706 return s;
3709 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3710 function prototypes and stuff, but not '\xHH' hex character constants.
3711 These don't provoke an error unfortunately, instead are silently treated
3712 as 'x'. The following induces an error, until -std is added to get
3713 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3714 array size at least. It's necessary to write '\x00'==0 to get something
3715 that's true only with -std. */
3716 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3718 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3719 inside strings and character constants. */
3720 #define FOO(x) 'x'
3721 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3723 int test (int i, double x);
3724 struct s1 {int (*f) (int a);};
3725 struct s2 {int (*f) (double a);};
3726 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3727 int argc;
3728 char **argv;
3730 main ()
3732 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3734 return 0;
3736 _ACEOF
3737 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3738 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3740 CC="$ac_save_CC $ac_arg"
3741 if ac_fn_c_try_compile "$LINENO"; then :
3742 ac_cv_prog_cc_c89=$ac_arg
3744 rm -f core conftest.err conftest.$ac_objext
3745 test "x$ac_cv_prog_cc_c89" != "xno" && break
3746 done
3747 rm -f conftest.$ac_ext
3748 CC=$ac_save_CC
3751 # AC_CACHE_VAL
3752 case "x$ac_cv_prog_cc_c89" in
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3755 $as_echo "none needed" >&6; } ;;
3756 xno)
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3758 $as_echo "unsupported" >&6; } ;;
3760 CC="$CC $ac_cv_prog_cc_c89"
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3762 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3763 esac
3764 if test "x$ac_cv_prog_cc_c89" != xno; then :
3768 ac_ext=c
3769 ac_cpp='$CPP $CPPFLAGS'
3770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3774 ac_ext=cpp
3775 ac_cpp='$CXXCPP $CPPFLAGS'
3776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3779 if test -z "$CXX"; then
3780 if test -n "$CCC"; then
3781 CXX=$CCC
3782 else
3783 if test -n "$ac_tool_prefix"; then
3784 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3786 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3787 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3789 $as_echo_n "checking for $ac_word... " >&6; }
3790 if ${ac_cv_prog_CXX+:} false; then :
3791 $as_echo_n "(cached) " >&6
3792 else
3793 if test -n "$CXX"; then
3794 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3795 else
3796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3797 for as_dir in $PATH
3799 IFS=$as_save_IFS
3800 test -z "$as_dir" && as_dir=.
3801 for ac_exec_ext in '' $ac_executable_extensions; do
3802 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3803 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3804 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3805 break 2
3807 done
3808 done
3809 IFS=$as_save_IFS
3813 CXX=$ac_cv_prog_CXX
3814 if test -n "$CXX"; then
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3816 $as_echo "$CXX" >&6; }
3817 else
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3819 $as_echo "no" >&6; }
3823 test -n "$CXX" && break
3824 done
3826 if test -z "$CXX"; then
3827 ac_ct_CXX=$CXX
3828 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3830 # Extract the first word of "$ac_prog", so it can be a program name with args.
3831 set dummy $ac_prog; ac_word=$2
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3833 $as_echo_n "checking for $ac_word... " >&6; }
3834 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3835 $as_echo_n "(cached) " >&6
3836 else
3837 if test -n "$ac_ct_CXX"; then
3838 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3839 else
3840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3841 for as_dir in $PATH
3843 IFS=$as_save_IFS
3844 test -z "$as_dir" && as_dir=.
3845 for ac_exec_ext in '' $ac_executable_extensions; do
3846 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3847 ac_cv_prog_ac_ct_CXX="$ac_prog"
3848 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3849 break 2
3851 done
3852 done
3853 IFS=$as_save_IFS
3857 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3858 if test -n "$ac_ct_CXX"; then
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3860 $as_echo "$ac_ct_CXX" >&6; }
3861 else
3862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3863 $as_echo "no" >&6; }
3867 test -n "$ac_ct_CXX" && break
3868 done
3870 if test "x$ac_ct_CXX" = x; then
3871 CXX="g++"
3872 else
3873 case $cross_compiling:$ac_tool_warned in
3874 yes:)
3875 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3876 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3877 ac_tool_warned=yes ;;
3878 esac
3879 CXX=$ac_ct_CXX
3885 # Provide some information about the compiler.
3886 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3887 set X $ac_compile
3888 ac_compiler=$2
3889 for ac_option in --version -v -V -qversion; do
3890 { { ac_try="$ac_compiler $ac_option >&5"
3891 case "(($ac_try" in
3892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3893 *) ac_try_echo=$ac_try;;
3894 esac
3895 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3896 $as_echo "$ac_try_echo"; } >&5
3897 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3898 ac_status=$?
3899 if test -s conftest.err; then
3900 sed '10a\
3901 ... rest of stderr output deleted ...
3902 10q' conftest.err >conftest.er1
3903 cat conftest.er1 >&5
3905 rm -f conftest.er1 conftest.err
3906 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3907 test $ac_status = 0; }
3908 done
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3911 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3912 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3913 $as_echo_n "(cached) " >&6
3914 else
3915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3916 /* end confdefs.h. */
3919 main ()
3921 #ifndef __GNUC__
3922 choke me
3923 #endif
3926 return 0;
3928 _ACEOF
3929 if ac_fn_cxx_try_compile "$LINENO"; then :
3930 ac_compiler_gnu=yes
3931 else
3932 ac_compiler_gnu=no
3934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3935 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3939 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3940 if test $ac_compiler_gnu = yes; then
3941 GXX=yes
3942 else
3943 GXX=
3945 ac_test_CXXFLAGS=${CXXFLAGS+set}
3946 ac_save_CXXFLAGS=$CXXFLAGS
3947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3948 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3949 if ${ac_cv_prog_cxx_g+:} false; then :
3950 $as_echo_n "(cached) " >&6
3951 else
3952 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3953 ac_cxx_werror_flag=yes
3954 ac_cv_prog_cxx_g=no
3955 CXXFLAGS="-g"
3956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3957 /* end confdefs.h. */
3960 main ()
3964 return 0;
3966 _ACEOF
3967 if ac_fn_cxx_try_compile "$LINENO"; then :
3968 ac_cv_prog_cxx_g=yes
3969 else
3970 CXXFLAGS=""
3971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3972 /* end confdefs.h. */
3975 main ()
3979 return 0;
3981 _ACEOF
3982 if ac_fn_cxx_try_compile "$LINENO"; then :
3984 else
3985 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3986 CXXFLAGS="-g"
3987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3988 /* end confdefs.h. */
3991 main ()
3995 return 0;
3997 _ACEOF
3998 if ac_fn_cxx_try_compile "$LINENO"; then :
3999 ac_cv_prog_cxx_g=yes
4001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4006 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4009 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4010 if test "$ac_test_CXXFLAGS" = set; then
4011 CXXFLAGS=$ac_save_CXXFLAGS
4012 elif test $ac_cv_prog_cxx_g = yes; then
4013 if test "$GXX" = yes; then
4014 CXXFLAGS="-g -O2"
4015 else
4016 CXXFLAGS="-g"
4018 else
4019 if test "$GXX" = yes; then
4020 CXXFLAGS="-O2"
4021 else
4022 CXXFLAGS=
4025 ac_ext=c
4026 ac_cpp='$CPP $CPPFLAGS'
4027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4031 if test -n "$ac_tool_prefix"; then
4032 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4033 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4035 $as_echo_n "checking for $ac_word... " >&6; }
4036 if ${ac_cv_prog_CPPBIN+:} false; then :
4037 $as_echo_n "(cached) " >&6
4038 else
4039 if test -n "$CPPBIN"; then
4040 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4041 else
4042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4043 for as_dir in $PATH
4045 IFS=$as_save_IFS
4046 test -z "$as_dir" && as_dir=.
4047 for ac_exec_ext in '' $ac_executable_extensions; do
4048 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4049 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4050 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4051 break 2
4053 done
4054 done
4055 IFS=$as_save_IFS
4059 CPPBIN=$ac_cv_prog_CPPBIN
4060 if test -n "$CPPBIN"; then
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4062 $as_echo "$CPPBIN" >&6; }
4063 else
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4065 $as_echo "no" >&6; }
4070 if test -z "$ac_cv_prog_CPPBIN"; then
4071 ac_ct_CPPBIN=$CPPBIN
4072 # Extract the first word of "cpp", so it can be a program name with args.
4073 set dummy cpp; ac_word=$2
4074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4075 $as_echo_n "checking for $ac_word... " >&6; }
4076 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4077 $as_echo_n "(cached) " >&6
4078 else
4079 if test -n "$ac_ct_CPPBIN"; then
4080 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4081 else
4082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4083 for as_dir in $PATH
4085 IFS=$as_save_IFS
4086 test -z "$as_dir" && as_dir=.
4087 for ac_exec_ext in '' $ac_executable_extensions; do
4088 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4089 ac_cv_prog_ac_ct_CPPBIN="cpp"
4090 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4091 break 2
4093 done
4094 done
4095 IFS=$as_save_IFS
4099 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4100 if test -n "$ac_ct_CPPBIN"; then
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4102 $as_echo "$ac_ct_CPPBIN" >&6; }
4103 else
4104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4105 $as_echo "no" >&6; }
4108 if test "x$ac_ct_CPPBIN" = x; then
4109 CPPBIN="cpp"
4110 else
4111 case $cross_compiling:$ac_tool_warned in
4112 yes:)
4113 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4114 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4115 ac_tool_warned=yes ;;
4116 esac
4117 CPPBIN=$ac_ct_CPPBIN
4119 else
4120 CPPBIN="$ac_cv_prog_CPPBIN"
4124 cat >>confdefs.h <<_ACEOF
4125 #define EXEEXT "$ac_exeext"
4126 _ACEOF
4129 case $host in
4130 *-darwin*)
4131 if test "x$enable_win64" = "xyes"
4132 then
4133 CC="$CC -m64"
4134 CXX="$CXX -m64"
4135 host_cpu="x86_64"
4136 notice_platform="64-bit "
4137 TARGETFLAGS="-m64"
4139 else
4140 CC="$CC -m32"
4141 CXX="$CXX -m32"
4142 host_cpu="i386"
4143 notice_platform="32-bit "
4144 TARGETFLAGS="-m32"
4146 enable_win16=${enable_win16:-yes}
4148 with_fontconfig=${with_fontconfig:-no}
4150 x86_64*)
4151 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4152 then
4153 CC="$CC -m32"
4154 CXX="$CXX -m32"
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4156 $as_echo_n "checking whether $CC works... " >&6; }
4158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4159 /* end confdefs.h. */
4162 main ()
4166 return 0;
4168 _ACEOF
4169 if ac_fn_c_try_link "$LINENO"; then :
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4171 $as_echo "yes" >&6; }
4172 else
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4174 $as_echo "no" >&6; }
4175 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4177 rm -f core conftest.err conftest.$ac_objext \
4178 conftest$ac_exeext conftest.$ac_ext
4179 host_cpu="i386"
4180 notice_platform="32-bit "
4181 TARGETFLAGS="-m32"
4183 enable_win16=${enable_win16:-yes}
4184 else
4185 if test "x${GCC}" = "xyes"
4186 then
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4188 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4190 /* end confdefs.h. */
4191 #include <stdarg.h>
4193 main ()
4195 void func(__builtin_ms_va_list *args);
4197 return 0;
4199 _ACEOF
4200 if ac_fn_c_try_compile "$LINENO"; then :
4201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4202 $as_echo "yes" >&6; }
4203 else
4204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4205 $as_echo "no" >&6; }
4206 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4210 TARGETFLAGS="-m64"
4214 arm*)
4215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4216 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4218 /* end confdefs.h. */
4219 int ac_test(int i) { return i; }
4221 main ()
4223 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4225 return 0;
4227 _ACEOF
4228 if ac_fn_c_try_link "$LINENO"; then :
4229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4230 $as_echo "yes" >&6; }
4231 else
4232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4233 $as_echo "no" >&6; }
4234 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4236 rm -f core conftest.err conftest.$ac_objext \
4237 conftest$ac_exeext conftest.$ac_ext
4238 CFLAGS="$CFLAGS -marm"
4240 *-mingw32*|*-cygwin*)
4241 enable_win16=${enable_win16:-no}
4242 CFLAGS="$CFLAGS -D_WIN32"
4244 i[3456789]86*)
4245 enable_win16=${enable_win16:-yes}
4247 esac
4249 enable_win16=${enable_win16:-no}
4250 enable_win64=${enable_win64:-no}
4252 enable_winetest=${enable_winetest:-$enable_tests}
4254 if test -n "$with_wine64"
4255 then
4256 if test "x$enable_win64" = "xyes"
4257 then
4258 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4259 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4261 WOW64_DISABLE=\#
4263 enable_fonts=${enable_fonts:-no}
4264 enable_server=${enable_server:-no}
4265 enable_tools=${enable_tools:-no}
4266 elif test "x$enable_win64" = "xyes"
4267 then
4268 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4272 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4273 if ${wine_cv_toolsdir+:} false; then :
4274 $as_echo_n "(cached) " >&6
4275 else
4276 wine_cv_toolsdir="$with_wine_tools"
4277 if test -z "$with_wine_tools"; then
4278 if test "$cross_compiling" = "yes"; then
4279 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4280 elif test -n "$with_wine64"; then
4281 wine_cv_toolsdir="$with_wine64"
4284 if test -z "$wine_cv_toolsdir"; then
4285 wine_cv_toolsdir="\$(top_builddir)"
4286 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4287 case "$wine_cv_toolsdir" in
4288 /*) ;;
4289 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
4290 esac
4291 else
4292 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4296 $as_echo "$wine_cv_toolsdir" >&6; }
4297 TOOLSDIR=$wine_cv_toolsdir
4299 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4300 then
4301 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
4305 for ac_prog in flex
4307 # Extract the first word of "$ac_prog", so it can be a program name with args.
4308 set dummy $ac_prog; ac_word=$2
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4310 $as_echo_n "checking for $ac_word... " >&6; }
4311 if ${ac_cv_prog_FLEX+:} false; then :
4312 $as_echo_n "(cached) " >&6
4313 else
4314 if test -n "$FLEX"; then
4315 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
4316 else
4317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4318 for as_dir in $PATH
4320 IFS=$as_save_IFS
4321 test -z "$as_dir" && as_dir=.
4322 for ac_exec_ext in '' $ac_executable_extensions; do
4323 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4324 ac_cv_prog_FLEX="$ac_prog"
4325 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4326 break 2
4328 done
4329 done
4330 IFS=$as_save_IFS
4334 FLEX=$ac_cv_prog_FLEX
4335 if test -n "$FLEX"; then
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4337 $as_echo "$FLEX" >&6; }
4338 else
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4340 $as_echo "no" >&6; }
4344 test -n "$FLEX" && break
4345 done
4346 test -n "$FLEX" || FLEX="none"
4348 if test "$FLEX" = "none"
4349 then
4350 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4353 $as_echo_n "checking whether flex is recent enough... " >&6; }
4354 cat >conftest.l <<EOF
4355 %top{
4356 #include "prediluvian.h"
4360 if $FLEX -t conftest.l >/dev/null 2>&5
4361 then
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4363 $as_echo "yes" >&6; }
4364 else
4365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4366 $as_echo "no" >&6; }
4367 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4370 for ac_prog in bison
4372 # Extract the first word of "$ac_prog", so it can be a program name with args.
4373 set dummy $ac_prog; ac_word=$2
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4375 $as_echo_n "checking for $ac_word... " >&6; }
4376 if ${ac_cv_prog_BISON+:} false; then :
4377 $as_echo_n "(cached) " >&6
4378 else
4379 if test -n "$BISON"; then
4380 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4381 else
4382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4383 for as_dir in $PATH
4385 IFS=$as_save_IFS
4386 test -z "$as_dir" && as_dir=.
4387 for ac_exec_ext in '' $ac_executable_extensions; do
4388 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4389 ac_cv_prog_BISON="$ac_prog"
4390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4391 break 2
4393 done
4394 done
4395 IFS=$as_save_IFS
4399 BISON=$ac_cv_prog_BISON
4400 if test -n "$BISON"; then
4401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4402 $as_echo "$BISON" >&6; }
4403 else
4404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4405 $as_echo "no" >&6; }
4409 test -n "$BISON" && break
4410 done
4411 test -n "$BISON" || BISON="none"
4413 if test "$BISON" = "none"
4414 then
4415 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4418 if test -n "$ac_tool_prefix"; then
4419 for ac_prog in ar gar
4421 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4422 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4424 $as_echo_n "checking for $ac_word... " >&6; }
4425 if ${ac_cv_prog_AR+:} false; then :
4426 $as_echo_n "(cached) " >&6
4427 else
4428 if test -n "$AR"; then
4429 ac_cv_prog_AR="$AR" # Let the user override the test.
4430 else
4431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4432 for as_dir in $PATH
4434 IFS=$as_save_IFS
4435 test -z "$as_dir" && as_dir=.
4436 for ac_exec_ext in '' $ac_executable_extensions; do
4437 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4438 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4439 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4440 break 2
4442 done
4443 done
4444 IFS=$as_save_IFS
4448 AR=$ac_cv_prog_AR
4449 if test -n "$AR"; then
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4451 $as_echo "$AR" >&6; }
4452 else
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4454 $as_echo "no" >&6; }
4458 test -n "$AR" && break
4459 done
4461 if test -z "$AR"; then
4462 ac_ct_AR=$AR
4463 for ac_prog in ar gar
4465 # Extract the first word of "$ac_prog", so it can be a program name with args.
4466 set dummy $ac_prog; ac_word=$2
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4468 $as_echo_n "checking for $ac_word... " >&6; }
4469 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4470 $as_echo_n "(cached) " >&6
4471 else
4472 if test -n "$ac_ct_AR"; then
4473 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4474 else
4475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4476 for as_dir in $PATH
4478 IFS=$as_save_IFS
4479 test -z "$as_dir" && as_dir=.
4480 for ac_exec_ext in '' $ac_executable_extensions; do
4481 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4482 ac_cv_prog_ac_ct_AR="$ac_prog"
4483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4484 break 2
4486 done
4487 done
4488 IFS=$as_save_IFS
4492 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4493 if test -n "$ac_ct_AR"; then
4494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4495 $as_echo "$ac_ct_AR" >&6; }
4496 else
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4498 $as_echo "no" >&6; }
4502 test -n "$ac_ct_AR" && break
4503 done
4505 if test "x$ac_ct_AR" = x; then
4506 AR="ar"
4507 else
4508 case $cross_compiling:$ac_tool_warned in
4509 yes:)
4510 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4511 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4512 ac_tool_warned=yes ;;
4513 esac
4514 AR=$ac_ct_AR
4518 ARFLAGS=rc
4520 if test -n "$ac_tool_prefix"; then
4521 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4522 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4524 $as_echo_n "checking for $ac_word... " >&6; }
4525 if ${ac_cv_prog_RANLIB+:} false; then :
4526 $as_echo_n "(cached) " >&6
4527 else
4528 if test -n "$RANLIB"; then
4529 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4530 else
4531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4532 for as_dir in $PATH
4534 IFS=$as_save_IFS
4535 test -z "$as_dir" && as_dir=.
4536 for ac_exec_ext in '' $ac_executable_extensions; do
4537 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4538 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4539 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4540 break 2
4542 done
4543 done
4544 IFS=$as_save_IFS
4548 RANLIB=$ac_cv_prog_RANLIB
4549 if test -n "$RANLIB"; then
4550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4551 $as_echo "$RANLIB" >&6; }
4552 else
4553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4554 $as_echo "no" >&6; }
4559 if test -z "$ac_cv_prog_RANLIB"; then
4560 ac_ct_RANLIB=$RANLIB
4561 # Extract the first word of "ranlib", so it can be a program name with args.
4562 set dummy ranlib; ac_word=$2
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4564 $as_echo_n "checking for $ac_word... " >&6; }
4565 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
4566 $as_echo_n "(cached) " >&6
4567 else
4568 if test -n "$ac_ct_RANLIB"; then
4569 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4570 else
4571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4572 for as_dir in $PATH
4574 IFS=$as_save_IFS
4575 test -z "$as_dir" && as_dir=.
4576 for ac_exec_ext in '' $ac_executable_extensions; do
4577 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4578 ac_cv_prog_ac_ct_RANLIB="ranlib"
4579 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4580 break 2
4582 done
4583 done
4584 IFS=$as_save_IFS
4588 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4589 if test -n "$ac_ct_RANLIB"; then
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4591 $as_echo "$ac_ct_RANLIB" >&6; }
4592 else
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4594 $as_echo "no" >&6; }
4597 if test "x$ac_ct_RANLIB" = x; then
4598 RANLIB=":"
4599 else
4600 case $cross_compiling:$ac_tool_warned in
4601 yes:)
4602 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4603 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4604 ac_tool_warned=yes ;;
4605 esac
4606 RANLIB=$ac_ct_RANLIB
4608 else
4609 RANLIB="$ac_cv_prog_RANLIB"
4612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4613 $as_echo_n "checking whether ln -s works... " >&6; }
4614 LN_S=$as_ln_s
4615 if test "$LN_S" = "ln -s"; then
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4617 $as_echo "yes" >&6; }
4618 else
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4620 $as_echo "no, using $LN_S" >&6; }
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4624 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4625 if ${ac_cv_path_GREP+:} false; then :
4626 $as_echo_n "(cached) " >&6
4627 else
4628 if test -z "$GREP"; then
4629 ac_path_GREP_found=false
4630 # Loop through the user's path and test for each of PROGNAME-LIST
4631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4632 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4634 IFS=$as_save_IFS
4635 test -z "$as_dir" && as_dir=.
4636 for ac_prog in grep ggrep; do
4637 for ac_exec_ext in '' $ac_executable_extensions; do
4638 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4639 as_fn_executable_p "$ac_path_GREP" || continue
4640 # Check for GNU ac_path_GREP and select it if it is found.
4641 # Check for GNU $ac_path_GREP
4642 case `"$ac_path_GREP" --version 2>&1` in
4643 *GNU*)
4644 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4646 ac_count=0
4647 $as_echo_n 0123456789 >"conftest.in"
4648 while :
4650 cat "conftest.in" "conftest.in" >"conftest.tmp"
4651 mv "conftest.tmp" "conftest.in"
4652 cp "conftest.in" "conftest.nl"
4653 $as_echo 'GREP' >> "conftest.nl"
4654 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4655 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4656 as_fn_arith $ac_count + 1 && ac_count=$as_val
4657 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4658 # Best one so far, save it but keep looking for a better one
4659 ac_cv_path_GREP="$ac_path_GREP"
4660 ac_path_GREP_max=$ac_count
4662 # 10*(2^10) chars as input seems more than enough
4663 test $ac_count -gt 10 && break
4664 done
4665 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4666 esac
4668 $ac_path_GREP_found && break 3
4669 done
4670 done
4671 done
4672 IFS=$as_save_IFS
4673 if test -z "$ac_cv_path_GREP"; then
4674 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4676 else
4677 ac_cv_path_GREP=$GREP
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4682 $as_echo "$ac_cv_path_GREP" >&6; }
4683 GREP="$ac_cv_path_GREP"
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4687 $as_echo_n "checking for egrep... " >&6; }
4688 if ${ac_cv_path_EGREP+:} false; then :
4689 $as_echo_n "(cached) " >&6
4690 else
4691 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4692 then ac_cv_path_EGREP="$GREP -E"
4693 else
4694 if test -z "$EGREP"; then
4695 ac_path_EGREP_found=false
4696 # Loop through the user's path and test for each of PROGNAME-LIST
4697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4698 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4700 IFS=$as_save_IFS
4701 test -z "$as_dir" && as_dir=.
4702 for ac_prog in egrep; do
4703 for ac_exec_ext in '' $ac_executable_extensions; do
4704 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4705 as_fn_executable_p "$ac_path_EGREP" || continue
4706 # Check for GNU ac_path_EGREP and select it if it is found.
4707 # Check for GNU $ac_path_EGREP
4708 case `"$ac_path_EGREP" --version 2>&1` in
4709 *GNU*)
4710 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4712 ac_count=0
4713 $as_echo_n 0123456789 >"conftest.in"
4714 while :
4716 cat "conftest.in" "conftest.in" >"conftest.tmp"
4717 mv "conftest.tmp" "conftest.in"
4718 cp "conftest.in" "conftest.nl"
4719 $as_echo 'EGREP' >> "conftest.nl"
4720 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4721 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4722 as_fn_arith $ac_count + 1 && ac_count=$as_val
4723 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4724 # Best one so far, save it but keep looking for a better one
4725 ac_cv_path_EGREP="$ac_path_EGREP"
4726 ac_path_EGREP_max=$ac_count
4728 # 10*(2^10) chars as input seems more than enough
4729 test $ac_count -gt 10 && break
4730 done
4731 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4732 esac
4734 $ac_path_EGREP_found && break 3
4735 done
4736 done
4737 done
4738 IFS=$as_save_IFS
4739 if test -z "$ac_cv_path_EGREP"; then
4740 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4742 else
4743 ac_cv_path_EGREP=$EGREP
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4749 $as_echo "$ac_cv_path_EGREP" >&6; }
4750 EGREP="$ac_cv_path_EGREP"
4753 # Extract the first word of "ldconfig", so it can be a program name with args.
4754 set dummy ldconfig; ac_word=$2
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4756 $as_echo_n "checking for $ac_word... " >&6; }
4757 if ${ac_cv_path_LDCONFIG+:} false; then :
4758 $as_echo_n "(cached) " >&6
4759 else
4760 case $LDCONFIG in
4761 [\\/]* | ?:[\\/]*)
4762 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
4765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4766 for as_dir in /sbin /usr/sbin $PATH
4768 IFS=$as_save_IFS
4769 test -z "$as_dir" && as_dir=.
4770 for ac_exec_ext in '' $ac_executable_extensions; do
4771 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4772 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
4773 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4774 break 2
4776 done
4777 done
4778 IFS=$as_save_IFS
4780 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
4782 esac
4784 LDCONFIG=$ac_cv_path_LDCONFIG
4785 if test -n "$LDCONFIG"; then
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
4787 $as_echo "$LDCONFIG" >&6; }
4788 else
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4790 $as_echo "no" >&6; }
4794 # Find a good install program. We prefer a C program (faster),
4795 # so one script is as good as another. But avoid the broken or
4796 # incompatible versions:
4797 # SysV /etc/install, /usr/sbin/install
4798 # SunOS /usr/etc/install
4799 # IRIX /sbin/install
4800 # AIX /bin/install
4801 # AmigaOS /C/install, which installs bootblocks on floppy discs
4802 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4803 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4804 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4805 # OS/2's system install, which has a completely different semantic
4806 # ./install, which can be erroneously created by make from ./install.sh.
4807 # Reject install programs that cannot install multiple files.
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4809 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4810 if test -z "$INSTALL"; then
4811 if ${ac_cv_path_install+:} false; then :
4812 $as_echo_n "(cached) " >&6
4813 else
4814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4815 for as_dir in $PATH
4817 IFS=$as_save_IFS
4818 test -z "$as_dir" && as_dir=.
4819 # Account for people who put trailing slashes in PATH elements.
4820 case $as_dir/ in #((
4821 ./ | .// | /[cC]/* | \
4822 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4823 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
4824 /usr/ucb/* ) ;;
4826 # OSF1 and SCO ODT 3.0 have their own names for install.
4827 # Don't use installbsd from OSF since it installs stuff as root
4828 # by default.
4829 for ac_prog in ginstall scoinst install; do
4830 for ac_exec_ext in '' $ac_executable_extensions; do
4831 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4832 if test $ac_prog = install &&
4833 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4834 # AIX install. It has an incompatible calling convention.
4836 elif test $ac_prog = install &&
4837 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4838 # program-specific install script used by HP pwplus--don't use.
4840 else
4841 rm -rf conftest.one conftest.two conftest.dir
4842 echo one > conftest.one
4843 echo two > conftest.two
4844 mkdir conftest.dir
4845 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
4846 test -s conftest.one && test -s conftest.two &&
4847 test -s conftest.dir/conftest.one &&
4848 test -s conftest.dir/conftest.two
4849 then
4850 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4851 break 3
4855 done
4856 done
4858 esac
4860 done
4861 IFS=$as_save_IFS
4863 rm -rf conftest.one conftest.two conftest.dir
4866 if test "${ac_cv_path_install+set}" = set; then
4867 INSTALL=$ac_cv_path_install
4868 else
4869 # As a last resort, use the slow shell script. Don't cache a
4870 # value for INSTALL within a source directory, because that will
4871 # break other packages using the cache if that directory is
4872 # removed, or if the value is a relative name.
4873 INSTALL=$ac_install_sh
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4877 $as_echo "$INSTALL" >&6; }
4879 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4880 # It thinks the first close brace ends the variable substitution.
4881 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4883 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4885 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4887 case "$INSTALL" in
4888 [\\/$]* | ?:[\\/]* ) ;;
4889 *) INSTALL="\\\$(top_srcdir)/$INSTALL" ;;
4890 esac
4892 for ac_prog in lclint lint
4894 # Extract the first word of "$ac_prog", so it can be a program name with args.
4895 set dummy $ac_prog; ac_word=$2
4896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4897 $as_echo_n "checking for $ac_word... " >&6; }
4898 if ${ac_cv_prog_LINT+:} false; then :
4899 $as_echo_n "(cached) " >&6
4900 else
4901 if test -n "$LINT"; then
4902 ac_cv_prog_LINT="$LINT" # Let the user override the test.
4903 else
4904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4905 for as_dir in $PATH
4907 IFS=$as_save_IFS
4908 test -z "$as_dir" && as_dir=.
4909 for ac_exec_ext in '' $ac_executable_extensions; do
4910 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4911 ac_cv_prog_LINT="$ac_prog"
4912 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4913 break 2
4915 done
4916 done
4917 IFS=$as_save_IFS
4921 LINT=$ac_cv_prog_LINT
4922 if test -n "$LINT"; then
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
4924 $as_echo "$LINT" >&6; }
4925 else
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4927 $as_echo "no" >&6; }
4931 test -n "$LINT" && break
4932 done
4934 if test "$LINT" = "lint"
4935 then
4936 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
4940 for ac_prog in fontforge
4942 # Extract the first word of "$ac_prog", so it can be a program name with args.
4943 set dummy $ac_prog; ac_word=$2
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4945 $as_echo_n "checking for $ac_word... " >&6; }
4946 if ${ac_cv_prog_FONTFORGE+:} false; then :
4947 $as_echo_n "(cached) " >&6
4948 else
4949 if test -n "$FONTFORGE"; then
4950 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
4951 else
4952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4953 for as_dir in $PATH
4955 IFS=$as_save_IFS
4956 test -z "$as_dir" && as_dir=.
4957 for ac_exec_ext in '' $ac_executable_extensions; do
4958 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4959 ac_cv_prog_FONTFORGE="$ac_prog"
4960 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4961 break 2
4963 done
4964 done
4965 IFS=$as_save_IFS
4969 FONTFORGE=$ac_cv_prog_FONTFORGE
4970 if test -n "$FONTFORGE"; then
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
4972 $as_echo "$FONTFORGE" >&6; }
4973 else
4974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4975 $as_echo "no" >&6; }
4979 test -n "$FONTFORGE" && break
4980 done
4981 test -n "$FONTFORGE" || FONTFORGE="false"
4983 for ac_prog in rsvg
4985 # Extract the first word of "$ac_prog", so it can be a program name with args.
4986 set dummy $ac_prog; ac_word=$2
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4988 $as_echo_n "checking for $ac_word... " >&6; }
4989 if ${ac_cv_prog_RSVG+:} false; then :
4990 $as_echo_n "(cached) " >&6
4991 else
4992 if test -n "$RSVG"; then
4993 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
4994 else
4995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4996 for as_dir in $PATH
4998 IFS=$as_save_IFS
4999 test -z "$as_dir" && as_dir=.
5000 for ac_exec_ext in '' $ac_executable_extensions; do
5001 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5002 ac_cv_prog_RSVG="$ac_prog"
5003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5004 break 2
5006 done
5007 done
5008 IFS=$as_save_IFS
5012 RSVG=$ac_cv_prog_RSVG
5013 if test -n "$RSVG"; then
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5015 $as_echo "$RSVG" >&6; }
5016 else
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5018 $as_echo "no" >&6; }
5022 test -n "$RSVG" && break
5023 done
5024 test -n "$RSVG" || RSVG="false"
5026 for ac_prog in convert
5028 # Extract the first word of "$ac_prog", so it can be a program name with args.
5029 set dummy $ac_prog; ac_word=$2
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5031 $as_echo_n "checking for $ac_word... " >&6; }
5032 if ${ac_cv_prog_CONVERT+:} false; then :
5033 $as_echo_n "(cached) " >&6
5034 else
5035 if test -n "$CONVERT"; then
5036 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5037 else
5038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5039 for as_dir in $PATH
5041 IFS=$as_save_IFS
5042 test -z "$as_dir" && as_dir=.
5043 for ac_exec_ext in '' $ac_executable_extensions; do
5044 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5045 ac_cv_prog_CONVERT="$ac_prog"
5046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5047 break 2
5049 done
5050 done
5051 IFS=$as_save_IFS
5055 CONVERT=$ac_cv_prog_CONVERT
5056 if test -n "$CONVERT"; then
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5058 $as_echo "$CONVERT" >&6; }
5059 else
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5061 $as_echo "no" >&6; }
5065 test -n "$CONVERT" && break
5066 done
5067 test -n "$CONVERT" || CONVERT="false"
5069 for ac_prog in icotool
5071 # Extract the first word of "$ac_prog", so it can be a program name with args.
5072 set dummy $ac_prog; ac_word=$2
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5074 $as_echo_n "checking for $ac_word... " >&6; }
5075 if ${ac_cv_prog_ICOTOOL+:} false; then :
5076 $as_echo_n "(cached) " >&6
5077 else
5078 if test -n "$ICOTOOL"; then
5079 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5080 else
5081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5082 for as_dir in $PATH
5084 IFS=$as_save_IFS
5085 test -z "$as_dir" && as_dir=.
5086 for ac_exec_ext in '' $ac_executable_extensions; do
5087 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5088 ac_cv_prog_ICOTOOL="$ac_prog"
5089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5090 break 2
5092 done
5093 done
5094 IFS=$as_save_IFS
5098 ICOTOOL=$ac_cv_prog_ICOTOOL
5099 if test -n "$ICOTOOL"; then
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5101 $as_echo "$ICOTOOL" >&6; }
5102 else
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5104 $as_echo "no" >&6; }
5108 test -n "$ICOTOOL" && break
5109 done
5110 test -n "$ICOTOOL" || ICOTOOL="false"
5112 for ac_prog in msgfmt
5114 # Extract the first word of "$ac_prog", so it can be a program name with args.
5115 set dummy $ac_prog; ac_word=$2
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5117 $as_echo_n "checking for $ac_word... " >&6; }
5118 if ${ac_cv_prog_MSGFMT+:} false; then :
5119 $as_echo_n "(cached) " >&6
5120 else
5121 if test -n "$MSGFMT"; then
5122 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5123 else
5124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5125 for as_dir in $PATH
5127 IFS=$as_save_IFS
5128 test -z "$as_dir" && as_dir=.
5129 for ac_exec_ext in '' $ac_executable_extensions; do
5130 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5131 ac_cv_prog_MSGFMT="$ac_prog"
5132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5133 break 2
5135 done
5136 done
5137 IFS=$as_save_IFS
5141 MSGFMT=$ac_cv_prog_MSGFMT
5142 if test -n "$MSGFMT"; then
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5144 $as_echo "$MSGFMT" >&6; }
5145 else
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5147 $as_echo "no" >&6; }
5151 test -n "$MSGFMT" && break
5152 done
5153 test -n "$MSGFMT" || MSGFMT="false"
5156 if test "x$enable_maintainer_mode" != "xyes"
5157 then
5158 MAINTAINER_MODE=\#
5160 else
5161 if test "$FONTFORGE" = "false"; then as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5; fi
5162 if test "$RSVG" = "false"; then as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5; fi
5164 if test "$CONVERT" = false
5165 then
5166 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5167 else
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5169 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5170 convert_version=`convert --version | head -n1`
5171 if test "x$convert_version" != "x"
5172 then
5173 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5174 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5175 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5176 then
5177 CONVERT=false
5180 if test "$CONVERT" = false
5181 then
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5183 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5184 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5185 else
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5187 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5191 if test "$ICOTOOL" = false
5192 then
5193 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5194 else
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5196 $as_echo_n "checking for recent enough icotool... " >&6; }
5197 icotool_version=`icotool --version | head -n1`
5198 if test "x$icotool_version" != "x"
5199 then
5200 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5201 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5202 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5203 then
5204 ICOTOOL=false
5205 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5208 if test "$ICOTOOL" = false
5209 then
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5211 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5212 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5213 else
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5215 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5219 with_gettext=yes
5220 with_gettextpo=yes
5221 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5224 test "x$with_gettext" != xno || MSGFMT=false
5225 if test "$MSGFMT" != "false"
5226 then
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5228 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5229 cat >conftest.po <<EOF
5230 # comment
5231 msgctxt "ctxt"
5232 msgid "id"
5233 msgstr "str"
5235 if $MSGFMT -o /dev/null conftest.po 2>&5
5236 then
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5238 $as_echo "yes" >&6; }
5239 else
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5241 $as_echo "no" >&6; }
5242 MSGFMT=false
5245 if test "$MSGFMT" = false; then :
5246 case "x$with_gettext" in
5247 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
5248 xno) ;;
5249 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
5250 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5251 esac
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5256 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5257 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
5258 $as_echo_n "(cached) " >&6
5259 else
5260 ac_check_lib_save_LIBS=$LIBS
5261 LIBS="-li386 $LIBS"
5262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5263 /* end confdefs.h. */
5265 /* Override any GCC internal prototype to avoid an error.
5266 Use char because int might match the return type of a GCC
5267 builtin and then its argument prototype would still apply. */
5268 #ifdef __cplusplus
5269 extern "C"
5270 #endif
5271 char i386_set_ldt ();
5273 main ()
5275 return i386_set_ldt ();
5277 return 0;
5279 _ACEOF
5280 if ac_fn_c_try_link "$LINENO"; then :
5281 ac_cv_lib_i386_i386_set_ldt=yes
5282 else
5283 ac_cv_lib_i386_i386_set_ldt=no
5285 rm -f core conftest.err conftest.$ac_objext \
5286 conftest$ac_exeext conftest.$ac_ext
5287 LIBS=$ac_check_lib_save_LIBS
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5290 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5291 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
5292 cat >>confdefs.h <<_ACEOF
5293 #define HAVE_LIBI386 1
5294 _ACEOF
5296 LIBS="-li386 $LIBS"
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5301 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5302 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
5303 $as_echo_n "(cached) " >&6
5304 else
5305 ac_check_lib_save_LIBS=$LIBS
5306 LIBS="-lossaudio $LIBS"
5307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5308 /* end confdefs.h. */
5310 /* Override any GCC internal prototype to avoid an error.
5311 Use char because int might match the return type of a GCC
5312 builtin and then its argument prototype would still apply. */
5313 #ifdef __cplusplus
5314 extern "C"
5315 #endif
5316 char _oss_ioctl ();
5318 main ()
5320 return _oss_ioctl ();
5322 return 0;
5324 _ACEOF
5325 if ac_fn_c_try_link "$LINENO"; then :
5326 ac_cv_lib_ossaudio__oss_ioctl=yes
5327 else
5328 ac_cv_lib_ossaudio__oss_ioctl=no
5330 rm -f core conftest.err conftest.$ac_objext \
5331 conftest$ac_exeext conftest.$ac_ext
5332 LIBS=$ac_check_lib_save_LIBS
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5335 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5336 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
5337 cat >>confdefs.h <<_ACEOF
5338 #define HAVE_LIBOSSAUDIO 1
5339 _ACEOF
5341 LIBS="-lossaudio $LIBS"
5346 XLIB=""
5348 OPENGL_LIBS=""
5352 test "x$with_fontconfig" != "xno" || ac_cv_header_fontconfig_fontconfig_h=no
5354 # Check whether --enable-largefile was given.
5355 if test "${enable_largefile+set}" = set; then :
5356 enableval=$enable_largefile;
5359 if test "$enable_largefile" != no; then
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5362 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5363 if ${ac_cv_sys_largefile_CC+:} false; then :
5364 $as_echo_n "(cached) " >&6
5365 else
5366 ac_cv_sys_largefile_CC=no
5367 if test "$GCC" != yes; then
5368 ac_save_CC=$CC
5369 while :; do
5370 # IRIX 6.2 and later do not support large files by default,
5371 # so use the C compiler's -n32 option if that helps.
5372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5373 /* end confdefs.h. */
5374 #include <sys/types.h>
5375 /* Check that off_t can represent 2**63 - 1 correctly.
5376 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5377 since some C++ compilers masquerading as C compilers
5378 incorrectly reject 9223372036854775807. */
5379 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5380 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5381 && LARGE_OFF_T % 2147483647 == 1)
5382 ? 1 : -1];
5384 main ()
5388 return 0;
5390 _ACEOF
5391 if ac_fn_c_try_compile "$LINENO"; then :
5392 break
5394 rm -f core conftest.err conftest.$ac_objext
5395 CC="$CC -n32"
5396 if ac_fn_c_try_compile "$LINENO"; then :
5397 ac_cv_sys_largefile_CC=' -n32'; break
5399 rm -f core conftest.err conftest.$ac_objext
5400 break
5401 done
5402 CC=$ac_save_CC
5403 rm -f conftest.$ac_ext
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5407 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5408 if test "$ac_cv_sys_largefile_CC" != no; then
5409 CC=$CC$ac_cv_sys_largefile_CC
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5413 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5414 if ${ac_cv_sys_file_offset_bits+:} false; then :
5415 $as_echo_n "(cached) " >&6
5416 else
5417 while :; do
5418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5419 /* end confdefs.h. */
5420 #include <sys/types.h>
5421 /* Check that off_t can represent 2**63 - 1 correctly.
5422 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5423 since some C++ compilers masquerading as C compilers
5424 incorrectly reject 9223372036854775807. */
5425 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5426 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5427 && LARGE_OFF_T % 2147483647 == 1)
5428 ? 1 : -1];
5430 main ()
5434 return 0;
5436 _ACEOF
5437 if ac_fn_c_try_compile "$LINENO"; then :
5438 ac_cv_sys_file_offset_bits=no; break
5440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5442 /* end confdefs.h. */
5443 #define _FILE_OFFSET_BITS 64
5444 #include <sys/types.h>
5445 /* Check that off_t can represent 2**63 - 1 correctly.
5446 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5447 since some C++ compilers masquerading as C compilers
5448 incorrectly reject 9223372036854775807. */
5449 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5450 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5451 && LARGE_OFF_T % 2147483647 == 1)
5452 ? 1 : -1];
5454 main ()
5458 return 0;
5460 _ACEOF
5461 if ac_fn_c_try_compile "$LINENO"; then :
5462 ac_cv_sys_file_offset_bits=64; break
5464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5465 ac_cv_sys_file_offset_bits=unknown
5466 break
5467 done
5469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5470 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5471 case $ac_cv_sys_file_offset_bits in #(
5472 no | unknown) ;;
5474 cat >>confdefs.h <<_ACEOF
5475 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5476 _ACEOF
5478 esac
5479 rm -rf conftest*
5480 if test $ac_cv_sys_file_offset_bits = unknown; then
5481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5482 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5483 if ${ac_cv_sys_large_files+:} false; then :
5484 $as_echo_n "(cached) " >&6
5485 else
5486 while :; do
5487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5488 /* end confdefs.h. */
5489 #include <sys/types.h>
5490 /* Check that off_t can represent 2**63 - 1 correctly.
5491 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5492 since some C++ compilers masquerading as C compilers
5493 incorrectly reject 9223372036854775807. */
5494 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5495 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5496 && LARGE_OFF_T % 2147483647 == 1)
5497 ? 1 : -1];
5499 main ()
5503 return 0;
5505 _ACEOF
5506 if ac_fn_c_try_compile "$LINENO"; then :
5507 ac_cv_sys_large_files=no; break
5509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5511 /* end confdefs.h. */
5512 #define _LARGE_FILES 1
5513 #include <sys/types.h>
5514 /* Check that off_t can represent 2**63 - 1 correctly.
5515 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5516 since some C++ compilers masquerading as C compilers
5517 incorrectly reject 9223372036854775807. */
5518 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5519 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5520 && LARGE_OFF_T % 2147483647 == 1)
5521 ? 1 : -1];
5523 main ()
5527 return 0;
5529 _ACEOF
5530 if ac_fn_c_try_compile "$LINENO"; then :
5531 ac_cv_sys_large_files=1; break
5533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5534 ac_cv_sys_large_files=unknown
5535 break
5536 done
5538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5539 $as_echo "$ac_cv_sys_large_files" >&6; }
5540 case $ac_cv_sys_large_files in #(
5541 no | unknown) ;;
5543 cat >>confdefs.h <<_ACEOF
5544 #define _LARGE_FILES $ac_cv_sys_large_files
5545 _ACEOF
5547 esac
5548 rm -rf conftest*
5555 ac_ext=c
5556 ac_cpp='$CPP $CPPFLAGS'
5557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5561 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5562 # On Suns, sometimes $CPP names a directory.
5563 if test -n "$CPP" && test -d "$CPP"; then
5564 CPP=
5566 if test -z "$CPP"; then
5567 if ${ac_cv_prog_CPP+:} false; then :
5568 $as_echo_n "(cached) " >&6
5569 else
5570 # Double quotes because CPP needs to be expanded
5571 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5573 ac_preproc_ok=false
5574 for ac_c_preproc_warn_flag in '' yes
5576 # Use a header file that comes with gcc, so configuring glibc
5577 # with a fresh cross-compiler works.
5578 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5579 # <limits.h> exists even on freestanding compilers.
5580 # On the NeXT, cc -E runs the code through the compiler's parser,
5581 # not just through cpp. "Syntax error" is here to catch this case.
5582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5583 /* end confdefs.h. */
5584 #ifdef __STDC__
5585 # include <limits.h>
5586 #else
5587 # include <assert.h>
5588 #endif
5589 Syntax error
5590 _ACEOF
5591 if ac_fn_c_try_cpp "$LINENO"; then :
5593 else
5594 # Broken: fails on valid input.
5595 continue
5597 rm -f conftest.err conftest.i conftest.$ac_ext
5599 # OK, works on sane cases. Now check whether nonexistent headers
5600 # can be detected and how.
5601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5602 /* end confdefs.h. */
5603 #include <ac_nonexistent.h>
5604 _ACEOF
5605 if ac_fn_c_try_cpp "$LINENO"; then :
5606 # Broken: success on invalid input.
5607 continue
5608 else
5609 # Passes both tests.
5610 ac_preproc_ok=:
5611 break
5613 rm -f conftest.err conftest.i conftest.$ac_ext
5615 done
5616 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5617 rm -f conftest.i conftest.err conftest.$ac_ext
5618 if $ac_preproc_ok; then :
5619 break
5622 done
5623 ac_cv_prog_CPP=$CPP
5626 CPP=$ac_cv_prog_CPP
5627 else
5628 ac_cv_prog_CPP=$CPP
5630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5631 $as_echo "$CPP" >&6; }
5632 ac_preproc_ok=false
5633 for ac_c_preproc_warn_flag in '' yes
5635 # Use a header file that comes with gcc, so configuring glibc
5636 # with a fresh cross-compiler works.
5637 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5638 # <limits.h> exists even on freestanding compilers.
5639 # On the NeXT, cc -E runs the code through the compiler's parser,
5640 # not just through cpp. "Syntax error" is here to catch this case.
5641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5642 /* end confdefs.h. */
5643 #ifdef __STDC__
5644 # include <limits.h>
5645 #else
5646 # include <assert.h>
5647 #endif
5648 Syntax error
5649 _ACEOF
5650 if ac_fn_c_try_cpp "$LINENO"; then :
5652 else
5653 # Broken: fails on valid input.
5654 continue
5656 rm -f conftest.err conftest.i conftest.$ac_ext
5658 # OK, works on sane cases. Now check whether nonexistent headers
5659 # can be detected and how.
5660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5661 /* end confdefs.h. */
5662 #include <ac_nonexistent.h>
5663 _ACEOF
5664 if ac_fn_c_try_cpp "$LINENO"; then :
5665 # Broken: success on invalid input.
5666 continue
5667 else
5668 # Passes both tests.
5669 ac_preproc_ok=:
5670 break
5672 rm -f conftest.err conftest.i conftest.$ac_ext
5674 done
5675 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5676 rm -f conftest.i conftest.err conftest.$ac_ext
5677 if $ac_preproc_ok; then :
5679 else
5680 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5681 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5682 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5683 See \`config.log' for more details" "$LINENO" 5; }
5686 ac_ext=c
5687 ac_cpp='$CPP $CPPFLAGS'
5688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5694 $as_echo_n "checking for ANSI C header files... " >&6; }
5695 if ${ac_cv_header_stdc+:} false; then :
5696 $as_echo_n "(cached) " >&6
5697 else
5698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5699 /* end confdefs.h. */
5700 #include <stdlib.h>
5701 #include <stdarg.h>
5702 #include <string.h>
5703 #include <float.h>
5706 main ()
5710 return 0;
5712 _ACEOF
5713 if ac_fn_c_try_compile "$LINENO"; then :
5714 ac_cv_header_stdc=yes
5715 else
5716 ac_cv_header_stdc=no
5718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5720 if test $ac_cv_header_stdc = yes; then
5721 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5723 /* end confdefs.h. */
5724 #include <string.h>
5726 _ACEOF
5727 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5728 $EGREP "memchr" >/dev/null 2>&1; then :
5730 else
5731 ac_cv_header_stdc=no
5733 rm -f conftest*
5737 if test $ac_cv_header_stdc = yes; then
5738 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5740 /* end confdefs.h. */
5741 #include <stdlib.h>
5743 _ACEOF
5744 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5745 $EGREP "free" >/dev/null 2>&1; then :
5747 else
5748 ac_cv_header_stdc=no
5750 rm -f conftest*
5754 if test $ac_cv_header_stdc = yes; then
5755 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5756 if test "$cross_compiling" = yes; then :
5758 else
5759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5760 /* end confdefs.h. */
5761 #include <ctype.h>
5762 #include <stdlib.h>
5763 #if ((' ' & 0x0FF) == 0x020)
5764 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5765 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5766 #else
5767 # define ISLOWER(c) \
5768 (('a' <= (c) && (c) <= 'i') \
5769 || ('j' <= (c) && (c) <= 'r') \
5770 || ('s' <= (c) && (c) <= 'z'))
5771 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5772 #endif
5774 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5776 main ()
5778 int i;
5779 for (i = 0; i < 256; i++)
5780 if (XOR (islower (i), ISLOWER (i))
5781 || toupper (i) != TOUPPER (i))
5782 return 2;
5783 return 0;
5785 _ACEOF
5786 if ac_fn_c_try_run "$LINENO"; then :
5788 else
5789 ac_cv_header_stdc=no
5791 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5792 conftest.$ac_objext conftest.beam conftest.$ac_ext
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5798 $as_echo "$ac_cv_header_stdc" >&6; }
5799 if test $ac_cv_header_stdc = yes; then
5801 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5805 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5806 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5807 inttypes.h stdint.h unistd.h
5808 do :
5809 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5810 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5812 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5813 cat >>confdefs.h <<_ACEOF
5814 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5815 _ACEOF
5819 done
5822 for ac_header in \
5823 AL/al.h \
5824 ApplicationServices/ApplicationServices.h \
5825 AudioToolbox/AudioConverter.h \
5826 AudioUnit/AudioUnit.h \
5827 AudioUnit/AudioComponent.h \
5828 CL/cl.h \
5829 Carbon/Carbon.h \
5830 CoreAudio/CoreAudio.h \
5831 CoreServices/CoreServices.h \
5832 DiskArbitration/DiskArbitration.h \
5833 IOKit/IOKitLib.h \
5834 IOKit/hid/IOHIDLib.h \
5835 OpenAL/al.h \
5836 OpenCL/opencl.h \
5837 QuickTime/ImageCompression.h \
5838 Security/Security.h \
5839 alias.h \
5840 alsa/asoundlib.h \
5841 arpa/inet.h \
5842 arpa/nameser.h \
5843 asm/types.h \
5844 capi20.h \
5845 curses.h \
5846 direct.h \
5847 dirent.h \
5848 dlfcn.h \
5849 elf.h \
5850 float.h \
5851 fnmatch.h \
5852 fontconfig/fontconfig.h \
5853 getopt.h \
5854 gettext-po.h \
5855 grp.h \
5856 gsm.h \
5857 gsm/gsm.h \
5858 ieeefp.h \
5859 inet/mib2.h \
5860 io.h \
5861 jpeglib.h \
5862 kstat.h \
5863 lber.h \
5864 ldap.h \
5865 link.h \
5866 linux/cdrom.h \
5867 linux/compiler.h \
5868 linux/filter.h \
5869 linux/hdreg.h \
5870 linux/input.h \
5871 linux/ioctl.h \
5872 linux/joystick.h \
5873 linux/major.h \
5874 linux/param.h \
5875 linux/serial.h \
5876 linux/types.h \
5877 linux/ucdrom.h \
5878 lwp.h \
5879 mach-o/nlist.h \
5880 mach-o/loader.h \
5881 mach/mach.h \
5882 mach/machine.h \
5883 machine/cpu.h \
5884 machine/limits.h \
5885 machine/sysarch.h \
5886 mntent.h \
5887 mpg123.h \
5888 ncurses.h \
5889 netdb.h \
5890 netinet/in.h \
5891 netinet/in_systm.h \
5892 netinet/tcp.h \
5893 netinet/tcp_fsm.h \
5894 poll.h \
5895 port.h \
5896 process.h \
5897 pthread.h \
5898 pwd.h \
5899 sched.h \
5900 scsi/scsi.h \
5901 scsi/scsi_ioctl.h \
5902 scsi/sg.h \
5903 stdbool.h \
5904 stdint.h \
5905 stropts.h \
5906 sys/asoundlib.h \
5907 sys/attr.h \
5908 sys/cdio.h \
5909 sys/elf32.h \
5910 sys/epoll.h \
5911 sys/event.h \
5912 sys/exec_elf.h \
5913 sys/filio.h \
5914 sys/inotify.h \
5915 sys/ioctl.h \
5916 sys/ipc.h \
5917 sys/limits.h \
5918 sys/link.h \
5919 sys/mman.h \
5920 sys/modem.h \
5921 sys/msg.h \
5922 sys/mtio.h \
5923 sys/param.h \
5924 sys/poll.h \
5925 sys/prctl.h \
5926 sys/protosw.h \
5927 sys/ptrace.h \
5928 sys/resource.h \
5929 sys/scsiio.h \
5930 sys/shm.h \
5931 sys/signal.h \
5932 sys/socket.h \
5933 sys/socketvar.h \
5934 sys/sockio.h \
5935 sys/statvfs.h \
5936 sys/strtio.h \
5937 sys/syscall.h \
5938 sys/tihdr.h \
5939 sys/time.h \
5940 sys/timeout.h \
5941 sys/times.h \
5942 sys/uio.h \
5943 sys/utsname.h \
5944 sys/vm86.h \
5945 sys/wait.h \
5946 syscall.h \
5947 termios.h \
5948 tiffio.h \
5949 unistd.h \
5950 utime.h \
5951 valgrind/memcheck.h \
5952 valgrind/valgrind.h \
5953 zlib.h
5955 do :
5956 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5957 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5958 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5959 cat >>confdefs.h <<_ACEOF
5960 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5961 _ACEOF
5965 done
5967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
5968 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
5969 if ${ac_cv_header_stat_broken+:} false; then :
5970 $as_echo_n "(cached) " >&6
5971 else
5972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5973 /* end confdefs.h. */
5974 #include <sys/types.h>
5975 #include <sys/stat.h>
5977 #if defined S_ISBLK && defined S_IFDIR
5978 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
5979 #endif
5981 #if defined S_ISBLK && defined S_IFCHR
5982 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
5983 #endif
5985 #if defined S_ISLNK && defined S_IFREG
5986 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
5987 #endif
5989 #if defined S_ISSOCK && defined S_IFREG
5990 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
5991 #endif
5993 _ACEOF
5994 if ac_fn_c_try_compile "$LINENO"; then :
5995 ac_cv_header_stat_broken=no
5996 else
5997 ac_cv_header_stat_broken=yes
5999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6002 $as_echo "$ac_cv_header_stat_broken" >&6; }
6003 if test $ac_cv_header_stat_broken = yes; then
6005 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6011 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6012 do :
6013 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6014 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6015 #ifdef HAVE_SYS_PARAM_H
6016 # include <sys/param.h>
6017 #endif
6019 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6020 cat >>confdefs.h <<_ACEOF
6021 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6022 _ACEOF
6026 done
6029 for ac_header in \
6030 netinet/ip.h \
6031 net/if.h \
6032 net/if_arp.h \
6033 net/if_dl.h \
6034 net/if_types.h \
6035 net/route.h \
6036 netinet/if_ether.h \
6037 netinet/if_inarp.h \
6038 netinet/in_pcb.h \
6039 netinet/ip_icmp.h \
6040 netinet/ip_var.h \
6041 netinet/udp.h \
6042 netipx/ipx.h \
6043 sys/un.h \
6045 do :
6046 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6047 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6048 #ifdef HAVE_SYS_SOCKET_H
6049 # include <sys/socket.h>
6050 #endif
6051 #ifdef HAVE_SYS_SOCKETVAR_H
6052 # include <sys/socketvar.h>
6053 #endif
6054 #ifdef HAVE_NET_ROUTE_H
6055 # include <net/route.h>
6056 #endif
6057 #ifdef HAVE_NETINET_IN_H
6058 # include <netinet/in.h>
6059 #endif
6060 #ifdef HAVE_NETINET_IN_SYSTM_H
6061 # include <netinet/in_systm.h>
6062 #endif
6063 #ifdef HAVE_NET_IF_H
6064 # include <net/if.h>
6065 #endif
6066 #ifdef HAVE_NETINET_IP_H
6067 # include <netinet/ip.h>
6068 #endif
6070 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6071 cat >>confdefs.h <<_ACEOF
6072 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6073 _ACEOF
6077 done
6080 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6081 do :
6082 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6083 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6084 #ifdef HAVE_ALIAS_H
6085 # include <alias.h>
6086 #endif
6087 #ifdef HAVE_SYS_SOCKET_H
6088 # include <sys/socket.h>
6089 #endif
6090 #ifdef HAVE_SYS_SOCKETVAR_H
6091 # include <sys/socketvar.h>
6092 #endif
6093 #ifdef HAVE_SYS_TIMEOUT_H
6094 # include <sys/timeout.h>
6095 #endif
6096 #ifdef HAVE_NETINET_IN_H
6097 # include <netinet/in.h>
6098 #endif
6099 #ifdef HAVE_NETINET_IN_SYSTM_H
6100 # include <netinet/in_systm.h>
6101 #endif
6102 #ifdef HAVE_NETINET_IP_H
6103 # include <netinet/ip.h>
6104 #endif
6105 #ifdef HAVE_NETINET_IP_VAR_H
6106 # include <netinet/ip_var.h>
6107 #endif
6108 #ifdef HAVE_NETINET_IP_ICMP_H
6109 # include <netinet/ip_icmp.h>
6110 #endif
6111 #ifdef HAVE_NETINET_UDP_H
6112 # include <netinet/udp.h>
6113 #endif
6114 #ifdef HAVE_NETINET_TCP_H
6115 # include <netinet/tcp.h>
6116 #endif
6117 #ifdef HAVE_NETINET_TCP_TIMER_H
6118 #include <netinet/tcp_timer.h>
6119 #endif
6121 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6122 cat >>confdefs.h <<_ACEOF
6123 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6124 _ACEOF
6128 done
6131 for ac_header in linux/ipx.h linux/irda.h
6132 do :
6133 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6134 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6135 #ifdef HAVE_ASM_TYPES_H
6136 # include <asm/types.h>
6137 #endif
6138 #ifdef HAVE_SYS_SOCKET_H
6139 # include <sys/socket.h>
6140 #endif
6141 #ifdef HAVE_LINUX_TYPES_H
6142 # include <linux/types.h>
6143 #endif
6145 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6146 cat >>confdefs.h <<_ACEOF
6147 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6148 _ACEOF
6152 done
6155 for ac_header in mach-o/dyld_images.h
6156 do :
6157 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6158 # include <stdbool.h>
6159 #endif
6160 #ifdef HAVE_STDINT_H
6161 # include <stdint.h>
6162 #endif
6164 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6165 cat >>confdefs.h <<_ACEOF
6166 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6167 _ACEOF
6171 done
6174 for ac_header in resolv.h
6175 do :
6176 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6177 #ifdef HAVE_SYS_SOCKET_H
6178 # include <sys/socket.h>
6179 #endif
6180 #ifdef HAVE_NETINET_IN_H
6181 # include <netinet/in.h>
6182 #endif
6183 #ifdef HAVE_ARPA_NAMESER_H
6184 # include <arpa/nameser.h>
6185 #endif
6187 if test "x$ac_cv_header_resolv_h" = xyes; then :
6188 cat >>confdefs.h <<_ACEOF
6189 #define HAVE_RESOLV_H 1
6190 _ACEOF
6194 done
6197 for ac_header in ifaddrs.h
6198 do :
6199 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6201 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6202 cat >>confdefs.h <<_ACEOF
6203 #define HAVE_IFADDRS_H 1
6204 _ACEOF
6208 done
6211 for ac_header in ucontext.h
6212 do :
6213 ac_fn_c_check_header_compile "$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6215 if test "x$ac_cv_header_ucontext_h" = xyes; then :
6216 cat >>confdefs.h <<_ACEOF
6217 #define HAVE_UCONTEXT_H 1
6218 _ACEOF
6222 done
6225 for ac_header in sys/thr.h
6226 do :
6227 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6228 #ifdef HAVE_UCONTEXT_H
6229 #include <ucontext.h>
6230 #endif
6232 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
6233 cat >>confdefs.h <<_ACEOF
6234 #define HAVE_SYS_THR_H 1
6235 _ACEOF
6239 done
6242 for ac_header in pthread_np.h
6243 do :
6244 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6245 #include <pthread.h>
6246 #endif
6248 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
6249 cat >>confdefs.h <<_ACEOF
6250 #define HAVE_PTHREAD_NP_H 1
6251 _ACEOF
6255 done
6258 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
6259 do :
6260 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6261 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6262 #include <sys/time.h>
6263 #endif
6264 #include <sys/types.h>
6265 #ifdef HAVE_ASM_TYPES_H
6266 #include <asm/types.h>
6267 #endif
6269 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6270 cat >>confdefs.h <<_ACEOF
6271 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6272 _ACEOF
6276 done
6279 for ac_header in linux/capi.h
6280 do :
6281 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
6283 if test "x$ac_cv_header_linux_capi_h" = xyes; then :
6284 cat >>confdefs.h <<_ACEOF
6285 #define HAVE_LINUX_CAPI_H 1
6286 _ACEOF
6290 done
6294 DLLEXT=""
6296 DLLFLAGS="-D_REENTRANT"
6298 LDDLLFLAGS=""
6300 IMPLIBEXT="def"
6302 LDRPATH_INSTALL=""
6304 LDRPATH_LOCAL=""
6306 LIBEXT="so"
6307 STATIC_IMPLIBEXT="def.a"
6308 # Extract the first word of "ldd", so it can be a program name with args.
6309 set dummy ldd; ac_word=$2
6310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6311 $as_echo_n "checking for $ac_word... " >&6; }
6312 if ${ac_cv_path_LDD+:} false; then :
6313 $as_echo_n "(cached) " >&6
6314 else
6315 case $LDD in
6316 [\\/]* | ?:[\\/]*)
6317 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
6320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6321 as_dummy="/sbin:/usr/sbin:$PATH"
6322 for as_dir in $as_dummy
6324 IFS=$as_save_IFS
6325 test -z "$as_dir" && as_dir=.
6326 for ac_exec_ext in '' $ac_executable_extensions; do
6327 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6328 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
6329 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6330 break 2
6332 done
6333 done
6334 IFS=$as_save_IFS
6336 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
6338 esac
6340 LDD=$ac_cv_path_LDD
6341 if test -n "$LDD"; then
6342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6343 $as_echo "$LDD" >&6; }
6344 else
6345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6346 $as_echo "no" >&6; }
6350 if test -n "$ac_tool_prefix"; then
6351 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
6352 set dummy ${ac_tool_prefix}readelf; ac_word=$2
6353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6354 $as_echo_n "checking for $ac_word... " >&6; }
6355 if ${ac_cv_prog_READELF+:} false; then :
6356 $as_echo_n "(cached) " >&6
6357 else
6358 if test -n "$READELF"; then
6359 ac_cv_prog_READELF="$READELF" # Let the user override the test.
6360 else
6361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6362 for as_dir in $PATH
6364 IFS=$as_save_IFS
6365 test -z "$as_dir" && as_dir=.
6366 for ac_exec_ext in '' $ac_executable_extensions; do
6367 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6368 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
6369 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6370 break 2
6372 done
6373 done
6374 IFS=$as_save_IFS
6378 READELF=$ac_cv_prog_READELF
6379 if test -n "$READELF"; then
6380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
6381 $as_echo "$READELF" >&6; }
6382 else
6383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6384 $as_echo "no" >&6; }
6389 if test -z "$ac_cv_prog_READELF"; then
6390 ac_ct_READELF=$READELF
6391 # Extract the first word of "readelf", so it can be a program name with args.
6392 set dummy readelf; ac_word=$2
6393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6394 $as_echo_n "checking for $ac_word... " >&6; }
6395 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
6396 $as_echo_n "(cached) " >&6
6397 else
6398 if test -n "$ac_ct_READELF"; then
6399 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
6400 else
6401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6402 for as_dir in $PATH
6404 IFS=$as_save_IFS
6405 test -z "$as_dir" && as_dir=.
6406 for ac_exec_ext in '' $ac_executable_extensions; do
6407 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6408 ac_cv_prog_ac_ct_READELF="readelf"
6409 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6410 break 2
6412 done
6413 done
6414 IFS=$as_save_IFS
6418 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
6419 if test -n "$ac_ct_READELF"; then
6420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
6421 $as_echo "$ac_ct_READELF" >&6; }
6422 else
6423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6424 $as_echo "no" >&6; }
6427 if test "x$ac_ct_READELF" = x; then
6428 READELF="true"
6429 else
6430 case $cross_compiling:$ac_tool_warned in
6431 yes:)
6432 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6433 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6434 ac_tool_warned=yes ;;
6435 esac
6436 READELF=$ac_ct_READELF
6438 else
6439 READELF="$ac_cv_prog_READELF"
6443 case $host_os in
6444 cygwin*|mingw32*)
6445 if test -n "$ac_tool_prefix"; then
6446 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6447 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6449 $as_echo_n "checking for $ac_word... " >&6; }
6450 if ${ac_cv_prog_DLLTOOL+:} false; then :
6451 $as_echo_n "(cached) " >&6
6452 else
6453 if test -n "$DLLTOOL"; then
6454 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6455 else
6456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6457 for as_dir in $PATH
6459 IFS=$as_save_IFS
6460 test -z "$as_dir" && as_dir=.
6461 for ac_exec_ext in '' $ac_executable_extensions; do
6462 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6463 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6465 break 2
6467 done
6468 done
6469 IFS=$as_save_IFS
6473 DLLTOOL=$ac_cv_prog_DLLTOOL
6474 if test -n "$DLLTOOL"; then
6475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6476 $as_echo "$DLLTOOL" >&6; }
6477 else
6478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6479 $as_echo "no" >&6; }
6484 if test -z "$ac_cv_prog_DLLTOOL"; then
6485 ac_ct_DLLTOOL=$DLLTOOL
6486 # Extract the first word of "dlltool", so it can be a program name with args.
6487 set dummy dlltool; ac_word=$2
6488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6489 $as_echo_n "checking for $ac_word... " >&6; }
6490 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6491 $as_echo_n "(cached) " >&6
6492 else
6493 if test -n "$ac_ct_DLLTOOL"; then
6494 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6495 else
6496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6497 for as_dir in $PATH
6499 IFS=$as_save_IFS
6500 test -z "$as_dir" && as_dir=.
6501 for ac_exec_ext in '' $ac_executable_extensions; do
6502 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6503 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6504 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6505 break 2
6507 done
6508 done
6509 IFS=$as_save_IFS
6513 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6514 if test -n "$ac_ct_DLLTOOL"; then
6515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6516 $as_echo "$ac_ct_DLLTOOL" >&6; }
6517 else
6518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6519 $as_echo "no" >&6; }
6522 if test "x$ac_ct_DLLTOOL" = x; then
6523 DLLTOOL="false"
6524 else
6525 case $cross_compiling:$ac_tool_warned in
6526 yes:)
6527 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6528 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6529 ac_tool_warned=yes ;;
6530 esac
6531 DLLTOOL=$ac_ct_DLLTOOL
6533 else
6534 DLLTOOL="$ac_cv_prog_DLLTOOL"
6537 LIBEXT="dll"
6538 IMPLIBEXT="a"
6539 STATIC_IMPLIBEXT="a"
6540 enable_iphlpapi=${enable_iphlpapi:-no}
6541 enable_kernel32=${enable_kernel32:-no}
6542 enable_msvcrt=${enable_msvcrt:-no}
6543 enable_ntdll=${enable_ntdll:-no}
6544 enable_ws2_32=${enable_ws2_32:-no}
6545 enable_loader=${enable_loader:-no}
6546 enable_server=${enable_server:-no}
6547 with_x=${with_x:-no}
6548 with_pthread=${with_pthread:-no}
6550 crtlibs=""
6551 case $host_os in
6552 mingw32*)
6553 crtlibs="-lmsvcrt"
6554 SOCKETLIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
6556 esac
6558 LIBWINE_RULES="
6559 all: libwine.dll libwine.a
6561 libwine.a: wine.def
6562 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
6564 libwine.dll: \$(OBJS) wine.def Makefile.in
6565 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
6567 install install-lib:: libwine.dll \$(DESTDIR)\$(libdir) dummy
6568 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
6570 install install-dev:: libwine.a \$(DESTDIR)\$(libdir) dummy
6571 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
6573 uninstall::
6574 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
6576 clean::
6577 \$(RM) libwine.dll version.c
6582 darwin*|macosx*)
6583 DLLEXT=".so"
6584 LIBEXT="dylib"
6585 DLLFLAGS="$DLLFLAGS -fPIC"
6586 LDDLLFLAGS="-bundle -multiply_defined suppress"
6587 LIBWINE_LDFLAGS="-multiply_defined suppress"
6588 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6589 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
6590 COREFOUNDATIONLIB="-framework CoreFoundation"
6592 IOKITLIB="-framework IOKit -framework CoreFoundation"
6594 FORCEFEEDBACKLIB="-framework ForceFeedback -framework CoreFoundation"
6596 APPLICATIONSERVICESLIB="-framework ApplicationServices"
6598 CORESERVICESLIB="-framework CoreServices"
6600 case $host_os in
6601 darwin11*)
6602 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-macosx_version_min,10.6,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
6605 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
6607 esac
6608 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
6609 then
6610 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
6613 if test "$ac_cv_header_Security_Security_h" = "yes"
6614 then
6615 SECURITYLIB="-framework Security -framework CoreFoundation"
6617 ac_save_LIBS="$LIBS"
6618 LIBS="$LIBS $SECURITYLIB"
6619 for ac_func in SSLCopyPeerCertificates
6620 do :
6621 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
6622 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
6623 cat >>confdefs.h <<_ACEOF
6624 #define HAVE_SSLCOPYPEERCERTIFICATES 1
6625 _ACEOF
6628 done
6630 LIBS="$ac_save_LIBS"
6631 with_gnutls=${with_gnutls:-no}
6633 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
6634 then
6635 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
6636 then
6637 COREAUDIO="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
6639 else
6640 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
6643 ac_save_LIBS="$LIBS"
6644 LIBS="$LIBS $COREAUDIO"
6645 for ac_func in AUGraphAddNode
6646 do :
6647 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
6648 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
6649 cat >>confdefs.h <<_ACEOF
6650 #define HAVE_AUGRAPHADDNODE 1
6651 _ACEOF
6654 done
6656 LIBS="$ac_save_LIBS"
6658 if test "$ac_cv_header_OpenAL_al_h" = "yes"
6659 then
6660 FRAMEWORK_OPENAL="-framework OpenAL"
6663 cat >>confdefs.h <<_ACEOF
6664 #define HAVE_OPENAL 1
6665 _ACEOF
6667 ac_cv_lib_openal=yes
6669 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
6670 then
6671 LIBOPENCL="-framework OpenCL"
6673 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
6675 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
6676 then
6677 ac_save_LIBS="$LIBS"
6678 LIBS="$LIBS $IOKITLIB"
6679 for ac_func in IOHIDManagerCreate
6680 do :
6681 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
6682 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
6683 cat >>confdefs.h <<_ACEOF
6684 #define HAVE_IOHIDMANAGERCREATE 1
6685 _ACEOF
6688 done
6690 LIBS="$ac_save_LIBS"
6692 case $host_cpu in
6693 *powerpc*)
6694 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
6695 esac
6696 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
6697 then
6698 QUICKTIMELIB="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
6700 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
6701 else
6702 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
6704 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
6705 then
6706 CARBONLIB="-framework Carbon"
6710 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
6711 then
6712 ac_save_LIBS="$LIBS"
6713 LIBS="$LIBS $APPLICATIONSERVICESLIB"
6714 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
6715 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
6716 enable_winemac_drv=${enable_winemac_drv:-yes}
6719 LIBS="$ac_save_LIBS"
6722 if test "x$enable_win16" = "xyes"
6723 then
6724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
6725 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
6726 if test "$cross_compiling" = yes; then :
6727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
6728 $as_echo "cross-compiling, assuming yes" >&6; }
6729 else
6730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6731 /* end confdefs.h. */
6732 asm(".text\n"
6733 "bad:\tnop;nop\n"
6734 "good:\tnop;nop\n\t"
6735 ".globl _testfunc\n"
6736 "_testfunc:\tcallw good");
6737 extern void testfunc();
6739 main ()
6741 unsigned short *p = (unsigned short *)testfunc;
6742 return p[0] != 0xe866 || p[1] != 0xfffa
6744 return 0;
6746 _ACEOF
6747 if ac_fn_c_try_run "$LINENO"; then :
6748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6749 $as_echo "yes" >&6; }
6750 else
6751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6752 $as_echo "no" >&6; }
6753 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
6755 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6756 conftest.$ac_objext conftest.beam conftest.$ac_ext
6761 LIBWINE_RULES="
6762 all: libwine.dylib
6764 libwine.\$(VERSION).dylib: \$(OBJS) \$(RELPATH) Makefile.in
6765 \$(CC) -dynamiclib -install_name @rpath/libwine.\$(SOVERSION).dylib -Wl,-rpath,@loader_path/ -compatibility_version \$(SOVERSION) -current_version \$(VERSION) \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
6767 libwine.\$(SOVERSION).dylib: libwine.\$(VERSION).dylib
6768 \$(RM) \$@ && \$(LN_S) libwine.\$(VERSION).dylib \$@
6770 libwine.dylib: libwine.\$(SOVERSION).dylib
6771 \$(RM) \$@ && \$(LN_S) libwine.\$(SOVERSION).dylib \$@
6773 install install-lib:: libwine.\$(VERSION).dylib \$(DESTDIR)\$(libdir) dummy
6774 \$(INSTALL_PROGRAM) libwine.\$(VERSION).dylib \$(DESTDIR)\$(libdir)/libwine.\$(VERSION).dylib
6775 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.\$(SOVERSION).dylib && \$(LN_S) libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib
6777 install install-dev:: \$(DESTDIR)\$(libdir) dummy
6778 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.\$(VERSION).dylib libwine.dylib
6780 uninstall::
6781 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib
6783 clean::
6784 \$(RM) libwine.dylib libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib version.c
6789 linux-android*)
6790 DLLFLAGS="$DLLFLAGS -fPIC"
6791 DLLEXT=".so"
6792 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
6793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
6794 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... " >&6; }
6795 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+:} false; then :
6796 $as_echo_n "(cached) " >&6
6797 else
6798 ac_wine_try_cflags_saved=$CFLAGS
6799 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
6800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6801 /* end confdefs.h. */
6802 int main(int argc, char **argv) { return 0; }
6803 _ACEOF
6804 if ac_fn_c_try_link "$LINENO"; then :
6805 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
6806 else
6807 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
6809 rm -f core conftest.err conftest.$ac_objext \
6810 conftest$ac_exeext conftest.$ac_ext
6811 CFLAGS=$ac_wine_try_cflags_saved
6813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
6814 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
6815 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then :
6816 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
6818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
6819 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... " >&6; }
6820 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+:} false; then :
6821 $as_echo_n "(cached) " >&6
6822 else
6823 ac_wine_try_cflags_saved=$CFLAGS
6824 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
6825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6826 /* end confdefs.h. */
6827 int main(int argc, char **argv) { return 0; }
6828 _ACEOF
6829 if ac_fn_c_try_link "$LINENO"; then :
6830 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
6831 else
6832 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
6834 rm -f core conftest.err conftest.$ac_objext \
6835 conftest$ac_exeext conftest.$ac_ext
6836 CFLAGS=$ac_wine_try_cflags_saved
6838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
6839 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
6840 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then :
6841 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
6843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
6844 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
6845 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
6846 $as_echo_n "(cached) " >&6
6847 else
6848 ac_wine_try_cflags_saved=$CFLAGS
6849 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
6850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6851 /* end confdefs.h. */
6852 int main(int argc, char **argv) { return 0; }
6853 _ACEOF
6854 if ac_fn_c_try_link "$LINENO"; then :
6855 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
6856 else
6857 ac_cv_cflags__fPIC__Wl___export_dynamic=no
6859 rm -f core conftest.err conftest.$ac_objext \
6860 conftest$ac_exeext conftest.$ac_ext
6861 CFLAGS=$ac_wine_try_cflags_saved
6863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
6864 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
6865 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
6866 LDEXECFLAGS="-Wl,--export-dynamic"
6869 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
6870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
6871 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
6872 if eval \${$as_ac_var+:} false; then :
6873 $as_echo_n "(cached) " >&6
6874 else
6875 ac_wine_try_cflags_saved=$CFLAGS
6876 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
6877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6878 /* end confdefs.h. */
6879 int main(int argc, char **argv) { return 0; }
6880 _ACEOF
6881 if ac_fn_c_try_link "$LINENO"; then :
6882 eval "$as_ac_var=yes"
6883 else
6884 eval "$as_ac_var=no"
6886 rm -f core conftest.err conftest.$ac_objext \
6887 conftest$ac_exeext conftest.$ac_ext
6888 CFLAGS=$ac_wine_try_cflags_saved
6890 eval ac_res=\$$as_ac_var
6891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6892 $as_echo "$ac_res" >&6; }
6893 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6894 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6895 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
6896 else
6897 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
6898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
6899 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
6900 if eval \${$as_ac_var+:} false; then :
6901 $as_echo_n "(cached) " >&6
6902 else
6903 ac_wine_try_cflags_saved=$CFLAGS
6904 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
6905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6906 /* end confdefs.h. */
6907 int main(int argc, char **argv) { return 0; }
6908 _ACEOF
6909 if ac_fn_c_try_link "$LINENO"; then :
6910 eval "$as_ac_var=yes"
6911 else
6912 eval "$as_ac_var=no"
6914 rm -f core conftest.err conftest.$ac_objext \
6915 conftest$ac_exeext conftest.$ac_ext
6916 CFLAGS=$ac_wine_try_cflags_saved
6918 eval ac_res=\$$as_ac_var
6919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6920 $as_echo "$ac_res" >&6; }
6921 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6922 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6923 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
6927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
6928 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
6929 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
6930 $as_echo_n "(cached) " >&6
6931 else
6932 ac_wine_try_cflags_saved=$CFLAGS
6933 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
6934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6935 /* end confdefs.h. */
6936 int main(int argc, char **argv) { return 0; }
6937 _ACEOF
6938 if ac_fn_c_try_link "$LINENO"; then :
6939 ac_cv_cflags__Wl___enable_new_dtags=yes
6940 else
6941 ac_cv_cflags__Wl___enable_new_dtags=no
6943 rm -f core conftest.err conftest.$ac_objext \
6944 conftest$ac_exeext conftest.$ac_ext
6945 CFLAGS=$ac_wine_try_cflags_saved
6947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
6948 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
6949 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
6950 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
6953 case $host_cpu in
6954 *i[3456789]86* | x86_64)
6955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
6956 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
6957 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
6958 $as_echo_n "(cached) " >&6
6959 else
6960 ac_wine_try_cflags_saved=$CFLAGS
6961 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
6962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6963 /* end confdefs.h. */
6964 int main(int argc, char **argv) { return 0; }
6965 _ACEOF
6966 if ac_fn_c_try_link "$LINENO"; then :
6967 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
6968 else
6969 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
6971 rm -f core conftest.err conftest.$ac_objext \
6972 conftest$ac_exeext conftest.$ac_ext
6973 CFLAGS=$ac_wine_try_cflags_saved
6975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
6976 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
6977 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
6978 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
6981 esac
6983 LIBWINE_RULES="
6984 all: libwine.so
6986 libwine.so: \$(OBJS) Makefile.in
6987 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
6989 install install-lib:: libwine.so \$(DESTDIR)\$(libdir) dummy
6990 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
6992 uninstall::
6993 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
6995 clean::
6996 \$(RM) libwine.so version.c
7002 DLLFLAGS="$DLLFLAGS -fPIC"
7003 DLLEXT=".so"
7004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
7005 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
7006 if ${ac_cv_c_dll_gnuelf+:} false; then :
7007 $as_echo_n "(cached) " >&6
7008 else
7009 ac_wine_try_cflags_saved=$CFLAGS
7010 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
7011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7012 /* end confdefs.h. */
7013 void myfunc() {}
7014 _ACEOF
7015 if ac_fn_c_try_link "$LINENO"; then :
7016 ac_cv_c_dll_gnuelf="yes"
7017 else
7018 ac_cv_c_dll_gnuelf="no"
7020 rm -f core conftest.err conftest.$ac_objext \
7021 conftest$ac_exeext conftest.$ac_ext
7022 CFLAGS=$ac_wine_try_cflags_saved
7024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
7025 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
7026 if test "$ac_cv_c_dll_gnuelf" = "yes"
7027 then
7028 LDSHARED="\$(CC) -shared"
7029 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
7031 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
7032 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
7033 $as_echo_n "(cached) " >&6
7034 else
7035 ac_wine_try_cflags_saved=$CFLAGS
7036 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
7037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7038 /* end confdefs.h. */
7039 int main(int argc, char **argv) { return 0; }
7040 _ACEOF
7041 if ac_fn_c_try_link "$LINENO"; then :
7042 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
7043 else
7044 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
7046 rm -f core conftest.err conftest.$ac_objext \
7047 conftest$ac_exeext conftest.$ac_ext
7048 CFLAGS=$ac_wine_try_cflags_saved
7050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
7051 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
7052 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then :
7053 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.\$(SOVERSION)"
7054 else
7055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
7056 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
7057 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
7058 $as_echo_n "(cached) " >&6
7059 else
7060 ac_wine_try_cflags_saved=$CFLAGS
7061 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
7062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7063 /* end confdefs.h. */
7064 int main(int argc, char **argv) { return 0; }
7065 _ACEOF
7066 if ac_fn_c_try_link "$LINENO"; then :
7067 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
7068 else
7069 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
7071 rm -f core conftest.err conftest.$ac_objext \
7072 conftest$ac_exeext conftest.$ac_ext
7073 CFLAGS=$ac_wine_try_cflags_saved
7075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
7076 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
7077 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then :
7078 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.\$(SOVERSION)"
7082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
7083 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... " >&6; }
7084 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+:} false; then :
7085 $as_echo_n "(cached) " >&6
7086 else
7087 ac_wine_try_cflags_saved=$CFLAGS
7088 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
7089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7090 /* end confdefs.h. */
7091 int main(int argc, char **argv) { return 0; }
7092 _ACEOF
7093 if ac_fn_c_try_link "$LINENO"; then :
7094 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
7095 else
7096 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
7098 rm -f core conftest.err conftest.$ac_objext \
7099 conftest$ac_exeext conftest.$ac_ext
7100 CFLAGS=$ac_wine_try_cflags_saved
7102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
7103 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
7104 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then :
7105 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
7108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
7109 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... " >&6; }
7110 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+:} false; then :
7111 $as_echo_n "(cached) " >&6
7112 else
7113 ac_wine_try_cflags_saved=$CFLAGS
7114 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
7115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7116 /* end confdefs.h. */
7117 int main(int argc, char **argv) { return 0; }
7118 _ACEOF
7119 if ac_fn_c_try_link "$LINENO"; then :
7120 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
7121 else
7122 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
7124 rm -f core conftest.err conftest.$ac_objext \
7125 conftest$ac_exeext conftest.$ac_ext
7126 CFLAGS=$ac_wine_try_cflags_saved
7128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
7129 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
7130 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then :
7131 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
7134 echo '{ global: *; };' >conftest.map
7135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
7136 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
7137 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
7138 $as_echo_n "(cached) " >&6
7139 else
7140 ac_wine_try_cflags_saved=$CFLAGS
7141 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
7142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7143 /* end confdefs.h. */
7144 int main(int argc, char **argv) { return 0; }
7145 _ACEOF
7146 if ac_fn_c_try_link "$LINENO"; then :
7147 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
7148 else
7149 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
7151 rm -f core conftest.err conftest.$ac_objext \
7152 conftest$ac_exeext conftest.$ac_ext
7153 CFLAGS=$ac_wine_try_cflags_saved
7155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
7156 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
7157 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then :
7158 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
7160 rm -f conftest.map
7162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7163 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7164 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
7165 $as_echo_n "(cached) " >&6
7166 else
7167 ac_wine_try_cflags_saved=$CFLAGS
7168 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
7169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7170 /* end confdefs.h. */
7171 int main(int argc, char **argv) { return 0; }
7172 _ACEOF
7173 if ac_fn_c_try_link "$LINENO"; then :
7174 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
7175 else
7176 ac_cv_cflags__fPIC__Wl___export_dynamic=no
7178 rm -f core conftest.err conftest.$ac_objext \
7179 conftest$ac_exeext conftest.$ac_ext
7180 CFLAGS=$ac_wine_try_cflags_saved
7182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7183 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7184 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
7185 LDEXECFLAGS="-Wl,--export-dynamic"
7189 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7191 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7192 if eval \${$as_ac_var+:} false; then :
7193 $as_echo_n "(cached) " >&6
7194 else
7195 ac_wine_try_cflags_saved=$CFLAGS
7196 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7198 /* end confdefs.h. */
7199 int main(int argc, char **argv) { return 0; }
7200 _ACEOF
7201 if ac_fn_c_try_link "$LINENO"; then :
7202 eval "$as_ac_var=yes"
7203 else
7204 eval "$as_ac_var=no"
7206 rm -f core conftest.err conftest.$ac_objext \
7207 conftest$ac_exeext conftest.$ac_ext
7208 CFLAGS=$ac_wine_try_cflags_saved
7210 eval ac_res=\$$as_ac_var
7211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7212 $as_echo "$ac_res" >&6; }
7213 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7214 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7215 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7216 else
7217 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7219 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7220 if eval \${$as_ac_var+:} false; then :
7221 $as_echo_n "(cached) " >&6
7222 else
7223 ac_wine_try_cflags_saved=$CFLAGS
7224 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7226 /* end confdefs.h. */
7227 int main(int argc, char **argv) { return 0; }
7228 _ACEOF
7229 if ac_fn_c_try_link "$LINENO"; then :
7230 eval "$as_ac_var=yes"
7231 else
7232 eval "$as_ac_var=no"
7234 rm -f core conftest.err conftest.$ac_objext \
7235 conftest$ac_exeext conftest.$ac_ext
7236 CFLAGS=$ac_wine_try_cflags_saved
7238 eval ac_res=\$$as_ac_var
7239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7240 $as_echo "$ac_res" >&6; }
7241 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7242 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7243 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7248 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7249 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
7250 $as_echo_n "(cached) " >&6
7251 else
7252 ac_wine_try_cflags_saved=$CFLAGS
7253 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
7254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7255 /* end confdefs.h. */
7256 int main(int argc, char **argv) { return 0; }
7257 _ACEOF
7258 if ac_fn_c_try_link "$LINENO"; then :
7259 ac_cv_cflags__Wl___enable_new_dtags=yes
7260 else
7261 ac_cv_cflags__Wl___enable_new_dtags=no
7263 rm -f core conftest.err conftest.$ac_objext \
7264 conftest$ac_exeext conftest.$ac_ext
7265 CFLAGS=$ac_wine_try_cflags_saved
7267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7268 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7269 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
7270 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
7273 case $host_cpu in
7274 *i[3456789]86* | x86_64)
7275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
7276 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
7277 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
7278 $as_echo_n "(cached) " >&6
7279 else
7280 ac_wine_try_cflags_saved=$CFLAGS
7281 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
7282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7283 /* end confdefs.h. */
7284 int main(int argc, char **argv) { return 0; }
7285 _ACEOF
7286 if ac_fn_c_try_link "$LINENO"; then :
7287 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
7288 else
7289 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
7291 rm -f core conftest.err conftest.$ac_objext \
7292 conftest$ac_exeext conftest.$ac_ext
7293 CFLAGS=$ac_wine_try_cflags_saved
7295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
7296 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
7297 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
7298 case $host_os in
7299 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
7300 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
7301 esac
7304 # Extract the first word of "prelink", so it can be a program name with args.
7305 set dummy prelink; ac_word=$2
7306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7307 $as_echo_n "checking for $ac_word... " >&6; }
7308 if ${ac_cv_path_PRELINK+:} false; then :
7309 $as_echo_n "(cached) " >&6
7310 else
7311 case $PRELINK in
7312 [\\/]* | ?:[\\/]*)
7313 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
7316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7317 for as_dir in /sbin /usr/sbin $PATH
7319 IFS=$as_save_IFS
7320 test -z "$as_dir" && as_dir=.
7321 for ac_exec_ext in '' $ac_executable_extensions; do
7322 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7323 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
7324 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7325 break 2
7327 done
7328 done
7329 IFS=$as_save_IFS
7331 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
7333 esac
7335 PRELINK=$ac_cv_path_PRELINK
7336 if test -n "$PRELINK"; then
7337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
7338 $as_echo "$PRELINK" >&6; }
7339 else
7340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7341 $as_echo "no" >&6; }
7345 if test "x$PRELINK" = xfalse
7346 then
7347 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
7350 esac
7352 else
7353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
7354 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
7355 if ${ac_cv_c_dll_unixware+:} false; then :
7356 $as_echo_n "(cached) " >&6
7357 else
7358 ac_wine_try_cflags_saved=$CFLAGS
7359 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
7360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7361 /* end confdefs.h. */
7362 void myfunc() {}
7363 _ACEOF
7364 if ac_fn_c_try_link "$LINENO"; then :
7365 ac_cv_c_dll_unixware="yes"
7366 else
7367 ac_cv_c_dll_unixware="no"
7369 rm -f core conftest.err conftest.$ac_objext \
7370 conftest$ac_exeext conftest.$ac_ext
7371 CFLAGS=$ac_wine_try_cflags_saved
7373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
7374 $as_echo "$ac_cv_c_dll_unixware" >&6; }
7375 if test "$ac_cv_c_dll_unixware" = "yes"
7376 then
7377 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.\$(SOVERSION)"
7378 LDDLLFLAGS="-Wl,-G,-B,symbolic"
7381 LIBWINE_RULES="
7382 all: libwine.so
7384 libwine.so.\$(VERSION): \$(OBJS) wine.map Makefile.in
7385 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7387 libwine.so.\$(SOVERSION): libwine.so.\$(VERSION)
7388 \$(RM) \$@ && \$(LN_S) libwine.so.\$(VERSION) \$@
7390 libwine.so: libwine.so.\$(SOVERSION)
7391 \$(RM) \$@ && \$(LN_S) libwine.so.\$(SOVERSION) \$@
7393 install install-lib:: libwine.so.\$(VERSION) \$(DESTDIR)\$(libdir) dummy
7394 \$(INSTALL_PROGRAM) libwine.so.\$(VERSION) \$(DESTDIR)\$(libdir)/libwine.so.\$(VERSION)
7395 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.\$(SOVERSION) && \$(LN_S) libwine.so.\$(VERSION) libwine.so.\$(SOVERSION)
7397 install install-dev:: \$(DESTDIR)\$(libdir) dummy
7398 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.\$(VERSION) libwine.so
7400 uninstall::
7401 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.\$(VERSION) libwine.so.\$(SOVERSION)
7403 clean::
7404 \$(RM) libwine.so.\$(SOVERSION) libwine.so.\$(VERSION) version.c
7408 esac
7410 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
7411 enable_winemac_drv=${enable_winemac_drv:-no}
7413 CROSSTEST_DISABLE=\#
7415 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
7416 then
7417 case "$host_cpu" in
7418 i[3456789]86*)
7419 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
7420 mingw32-gcc" ;;
7421 x86_64)
7422 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 " ;;
7424 ac_prefix_list="" ;;
7425 esac
7426 for ac_prog in $ac_prefix_list
7428 # Extract the first word of "$ac_prog", so it can be a program name with args.
7429 set dummy $ac_prog; ac_word=$2
7430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7431 $as_echo_n "checking for $ac_word... " >&6; }
7432 if ${ac_cv_prog_CROSSCC+:} false; then :
7433 $as_echo_n "(cached) " >&6
7434 else
7435 if test -n "$CROSSCC"; then
7436 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
7437 else
7438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7439 for as_dir in $PATH
7441 IFS=$as_save_IFS
7442 test -z "$as_dir" && as_dir=.
7443 for ac_exec_ext in '' $ac_executable_extensions; do
7444 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7445 ac_cv_prog_CROSSCC="$ac_prog"
7446 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7447 break 2
7449 done
7450 done
7451 IFS=$as_save_IFS
7455 CROSSCC=$ac_cv_prog_CROSSCC
7456 if test -n "$CROSSCC"; then
7457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
7458 $as_echo "$CROSSCC" >&6; }
7459 else
7460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7461 $as_echo "no" >&6; }
7465 test -n "$CROSSCC" && break
7466 done
7467 test -n "$CROSSCC" || CROSSCC="false"
7469 if test "$CROSSCC" != "false"
7470 then
7471 ac_save_CC="$CC"
7472 CC="$CROSSCC"
7473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
7474 $as_echo_n "checking whether $CROSSCC works... " >&6; }
7475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7476 /* end confdefs.h. */
7479 main ()
7483 return 0;
7485 _ACEOF
7486 if ac_fn_c_try_compile "$LINENO"; then :
7487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7488 $as_echo "yes" >&6; }
7489 set x $CROSSCC
7490 shift
7491 target=""
7492 while test $# -ge 1
7494 case "$1" in
7495 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
7496 esac
7497 shift
7498 done
7499 if test -n "$target"
7500 then
7501 CROSSTEST_DISABLE=""
7502 CROSSTARGET="$target"
7505 else
7506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7507 $as_echo "no" >&6; }
7509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7510 CC="$ac_save_CC"
7515 if test "$ac_cv_header_pthread_h" = "yes"
7516 then
7517 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
7518 if test "x$ac_cv_func_pthread_create" = xyes; then :
7520 else
7521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
7522 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
7523 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
7524 $as_echo_n "(cached) " >&6
7525 else
7526 ac_check_lib_save_LIBS=$LIBS
7527 LIBS="-lpthread $LIBS"
7528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7529 /* end confdefs.h. */
7531 /* Override any GCC internal prototype to avoid an error.
7532 Use char because int might match the return type of a GCC
7533 builtin and then its argument prototype would still apply. */
7534 #ifdef __cplusplus
7535 extern "C"
7536 #endif
7537 char pthread_create ();
7539 main ()
7541 return pthread_create ();
7543 return 0;
7545 _ACEOF
7546 if ac_fn_c_try_link "$LINENO"; then :
7547 ac_cv_lib_pthread_pthread_create=yes
7548 else
7549 ac_cv_lib_pthread_pthread_create=no
7551 rm -f core conftest.err conftest.$ac_objext \
7552 conftest$ac_exeext conftest.$ac_ext
7553 LIBS=$ac_check_lib_save_LIBS
7555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
7556 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
7557 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
7558 LIBPTHREAD="-lpthread"
7565 if test "x$ac_cv_func_pthread_create" != xyes -a "x$LIBPTHREAD" = x; then :
7566 case "x$with_pthread" in
7567 xno) ;;
7568 *) as_fn_error $? "pthread ${notice_platform}development files not found.
7569 Wine cannot support threads without libpthread.
7570 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
7571 esac
7575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
7576 $as_echo_n "checking for X... " >&6; }
7579 # Check whether --with-x was given.
7580 if test "${with_x+set}" = set; then :
7581 withval=$with_x;
7584 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7585 if test "x$with_x" = xno; then
7586 # The user explicitly disabled X.
7587 have_x=disabled
7588 else
7589 case $x_includes,$x_libraries in #(
7590 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
7591 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
7592 $as_echo_n "(cached) " >&6
7593 else
7594 # One or both of the vars are not set, and there is no cached value.
7595 ac_x_includes=no ac_x_libraries=no
7596 rm -f -r conftest.dir
7597 if mkdir conftest.dir; then
7598 cd conftest.dir
7599 cat >Imakefile <<'_ACEOF'
7600 incroot:
7601 @echo incroot='${INCROOT}'
7602 usrlibdir:
7603 @echo usrlibdir='${USRLIBDIR}'
7604 libdir:
7605 @echo libdir='${LIBDIR}'
7606 _ACEOF
7607 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
7608 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
7609 for ac_var in incroot usrlibdir libdir; do
7610 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
7611 done
7612 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7613 for ac_extension in a so sl dylib la dll; do
7614 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
7615 test -f "$ac_im_libdir/libX11.$ac_extension"; then
7616 ac_im_usrlibdir=$ac_im_libdir; break
7618 done
7619 # Screen out bogus values from the imake configuration. They are
7620 # bogus both because they are the default anyway, and because
7621 # using them would break gcc on systems where it needs fixed includes.
7622 case $ac_im_incroot in
7623 /usr/include) ac_x_includes= ;;
7624 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
7625 esac
7626 case $ac_im_usrlibdir in
7627 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
7628 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
7629 esac
7631 cd ..
7632 rm -f -r conftest.dir
7635 # Standard set of common directories for X headers.
7636 # Check X11 before X11Rn because it is often a symlink to the current release.
7637 ac_x_header_dirs='
7638 /usr/X11/include
7639 /usr/X11R7/include
7640 /usr/X11R6/include
7641 /usr/X11R5/include
7642 /usr/X11R4/include
7644 /usr/include/X11
7645 /usr/include/X11R7
7646 /usr/include/X11R6
7647 /usr/include/X11R5
7648 /usr/include/X11R4
7650 /usr/local/X11/include
7651 /usr/local/X11R7/include
7652 /usr/local/X11R6/include
7653 /usr/local/X11R5/include
7654 /usr/local/X11R4/include
7656 /usr/local/include/X11
7657 /usr/local/include/X11R7
7658 /usr/local/include/X11R6
7659 /usr/local/include/X11R5
7660 /usr/local/include/X11R4
7662 /usr/X386/include
7663 /usr/x386/include
7664 /usr/XFree86/include/X11
7666 /usr/include
7667 /usr/local/include
7668 /usr/unsupported/include
7669 /usr/athena/include
7670 /usr/local/x11r5/include
7671 /usr/lpp/Xamples/include
7673 /usr/openwin/include
7674 /usr/openwin/share/include'
7676 if test "$ac_x_includes" = no; then
7677 # Guess where to find include files, by looking for Xlib.h.
7678 # First, try using that file with no special directory specified.
7679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7680 /* end confdefs.h. */
7681 #include <X11/Xlib.h>
7682 _ACEOF
7683 if ac_fn_c_try_cpp "$LINENO"; then :
7684 # We can compile using X headers with no special include directory.
7685 ac_x_includes=
7686 else
7687 for ac_dir in $ac_x_header_dirs; do
7688 if test -r "$ac_dir/X11/Xlib.h"; then
7689 ac_x_includes=$ac_dir
7690 break
7692 done
7694 rm -f conftest.err conftest.i conftest.$ac_ext
7695 fi # $ac_x_includes = no
7697 if test "$ac_x_libraries" = no; then
7698 # Check for the libraries.
7699 # See if we find them without any special options.
7700 # Don't add to $LIBS permanently.
7701 ac_save_LIBS=$LIBS
7702 LIBS="-lX11 $LIBS"
7703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7704 /* end confdefs.h. */
7705 #include <X11/Xlib.h>
7707 main ()
7709 XrmInitialize ()
7711 return 0;
7713 _ACEOF
7714 if ac_fn_c_try_link "$LINENO"; then :
7715 LIBS=$ac_save_LIBS
7716 # We can link X programs with no special library path.
7717 ac_x_libraries=
7718 else
7719 LIBS=$ac_save_LIBS
7720 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
7722 # Don't even attempt the hair of trying to link an X program!
7723 for ac_extension in a so sl dylib la dll; do
7724 if test -r "$ac_dir/libX11.$ac_extension"; then
7725 ac_x_libraries=$ac_dir
7726 break 2
7728 done
7729 done
7731 rm -f core conftest.err conftest.$ac_objext \
7732 conftest$ac_exeext conftest.$ac_ext
7733 fi # $ac_x_libraries = no
7735 case $ac_x_includes,$ac_x_libraries in #(
7736 no,* | *,no | *\'*)
7737 # Didn't find X, or a directory has "'" in its name.
7738 ac_cv_have_x="have_x=no";; #(
7740 # Record where we found X for the cache.
7741 ac_cv_have_x="have_x=yes\
7742 ac_x_includes='$ac_x_includes'\
7743 ac_x_libraries='$ac_x_libraries'"
7744 esac
7746 ;; #(
7747 *) have_x=yes;;
7748 esac
7749 eval "$ac_cv_have_x"
7750 fi # $with_x != no
7752 if test "$have_x" != yes; then
7753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
7754 $as_echo "$have_x" >&6; }
7755 no_x=yes
7756 else
7757 # If each of the values was on the command line, it overrides each guess.
7758 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
7759 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
7760 # Update the cache value to reflect the command line values.
7761 ac_cv_have_x="have_x=yes\
7762 ac_x_includes='$x_includes'\
7763 ac_x_libraries='$x_libraries'"
7764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
7765 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
7768 if test "$no_x" = yes; then
7769 # Not all programs may use this symbol, but it does not hurt to define it.
7771 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
7773 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
7774 else
7775 if test -n "$x_includes"; then
7776 X_CFLAGS="$X_CFLAGS -I$x_includes"
7779 # It would also be nice to do this for all -L options, not just this one.
7780 if test -n "$x_libraries"; then
7781 X_LIBS="$X_LIBS -L$x_libraries"
7782 # For Solaris; some versions of Sun CC require a space after -R and
7783 # others require no space. Words are not sufficient . . . .
7784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
7785 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
7786 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
7787 ac_xsave_c_werror_flag=$ac_c_werror_flag
7788 ac_c_werror_flag=yes
7789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7790 /* end confdefs.h. */
7793 main ()
7797 return 0;
7799 _ACEOF
7800 if ac_fn_c_try_link "$LINENO"; then :
7801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7802 $as_echo "no" >&6; }
7803 X_LIBS="$X_LIBS -R$x_libraries"
7804 else
7805 LIBS="$ac_xsave_LIBS -R $x_libraries"
7806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7807 /* end confdefs.h. */
7810 main ()
7814 return 0;
7816 _ACEOF
7817 if ac_fn_c_try_link "$LINENO"; then :
7818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7819 $as_echo "yes" >&6; }
7820 X_LIBS="$X_LIBS -R $x_libraries"
7821 else
7822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
7823 $as_echo "neither works" >&6; }
7825 rm -f core conftest.err conftest.$ac_objext \
7826 conftest$ac_exeext conftest.$ac_ext
7828 rm -f core conftest.err conftest.$ac_objext \
7829 conftest$ac_exeext conftest.$ac_ext
7830 ac_c_werror_flag=$ac_xsave_c_werror_flag
7831 LIBS=$ac_xsave_LIBS
7834 # Check for system-dependent libraries X programs must link with.
7835 # Do this before checking for the system-independent R6 libraries
7836 # (-lICE), since we may need -lsocket or whatever for X linking.
7838 if test "$ISC" = yes; then
7839 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
7840 else
7841 # Martyn Johnson says this is needed for Ultrix, if the X
7842 # libraries were built with DECnet support. And Karl Berry says
7843 # the Alpha needs dnet_stub (dnet does not exist).
7844 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
7845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7846 /* end confdefs.h. */
7848 /* Override any GCC internal prototype to avoid an error.
7849 Use char because int might match the return type of a GCC
7850 builtin and then its argument prototype would still apply. */
7851 #ifdef __cplusplus
7852 extern "C"
7853 #endif
7854 char XOpenDisplay ();
7856 main ()
7858 return XOpenDisplay ();
7860 return 0;
7862 _ACEOF
7863 if ac_fn_c_try_link "$LINENO"; then :
7865 else
7866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
7867 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
7868 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
7869 $as_echo_n "(cached) " >&6
7870 else
7871 ac_check_lib_save_LIBS=$LIBS
7872 LIBS="-ldnet $LIBS"
7873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7874 /* end confdefs.h. */
7876 /* Override any GCC internal prototype to avoid an error.
7877 Use char because int might match the return type of a GCC
7878 builtin and then its argument prototype would still apply. */
7879 #ifdef __cplusplus
7880 extern "C"
7881 #endif
7882 char dnet_ntoa ();
7884 main ()
7886 return dnet_ntoa ();
7888 return 0;
7890 _ACEOF
7891 if ac_fn_c_try_link "$LINENO"; then :
7892 ac_cv_lib_dnet_dnet_ntoa=yes
7893 else
7894 ac_cv_lib_dnet_dnet_ntoa=no
7896 rm -f core conftest.err conftest.$ac_objext \
7897 conftest$ac_exeext conftest.$ac_ext
7898 LIBS=$ac_check_lib_save_LIBS
7900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
7901 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
7902 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
7903 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
7906 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
7907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
7908 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
7909 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
7910 $as_echo_n "(cached) " >&6
7911 else
7912 ac_check_lib_save_LIBS=$LIBS
7913 LIBS="-ldnet_stub $LIBS"
7914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7915 /* end confdefs.h. */
7917 /* Override any GCC internal prototype to avoid an error.
7918 Use char because int might match the return type of a GCC
7919 builtin and then its argument prototype would still apply. */
7920 #ifdef __cplusplus
7921 extern "C"
7922 #endif
7923 char dnet_ntoa ();
7925 main ()
7927 return dnet_ntoa ();
7929 return 0;
7931 _ACEOF
7932 if ac_fn_c_try_link "$LINENO"; then :
7933 ac_cv_lib_dnet_stub_dnet_ntoa=yes
7934 else
7935 ac_cv_lib_dnet_stub_dnet_ntoa=no
7937 rm -f core conftest.err conftest.$ac_objext \
7938 conftest$ac_exeext conftest.$ac_ext
7939 LIBS=$ac_check_lib_save_LIBS
7941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
7942 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
7943 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
7944 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
7949 rm -f core conftest.err conftest.$ac_objext \
7950 conftest$ac_exeext conftest.$ac_ext
7951 LIBS="$ac_xsave_LIBS"
7953 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7954 # to get the SysV transport functions.
7955 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
7956 # needs -lnsl.
7957 # The nsl library prevents programs from opening the X display
7958 # on Irix 5.2, according to T.E. Dickey.
7959 # The functions gethostbyname, getservbyname, and inet_addr are
7960 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
7961 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
7962 if test "x$ac_cv_func_gethostbyname" = xyes; then :
7966 if test $ac_cv_func_gethostbyname = no; then
7967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
7968 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
7969 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
7970 $as_echo_n "(cached) " >&6
7971 else
7972 ac_check_lib_save_LIBS=$LIBS
7973 LIBS="-lnsl $LIBS"
7974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7975 /* end confdefs.h. */
7977 /* Override any GCC internal prototype to avoid an error.
7978 Use char because int might match the return type of a GCC
7979 builtin and then its argument prototype would still apply. */
7980 #ifdef __cplusplus
7981 extern "C"
7982 #endif
7983 char gethostbyname ();
7985 main ()
7987 return gethostbyname ();
7989 return 0;
7991 _ACEOF
7992 if ac_fn_c_try_link "$LINENO"; then :
7993 ac_cv_lib_nsl_gethostbyname=yes
7994 else
7995 ac_cv_lib_nsl_gethostbyname=no
7997 rm -f core conftest.err conftest.$ac_objext \
7998 conftest$ac_exeext conftest.$ac_ext
7999 LIBS=$ac_check_lib_save_LIBS
8001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
8002 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
8003 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
8004 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
8007 if test $ac_cv_lib_nsl_gethostbyname = no; then
8008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
8009 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
8010 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
8011 $as_echo_n "(cached) " >&6
8012 else
8013 ac_check_lib_save_LIBS=$LIBS
8014 LIBS="-lbsd $LIBS"
8015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8016 /* end confdefs.h. */
8018 /* Override any GCC internal prototype to avoid an error.
8019 Use char because int might match the return type of a GCC
8020 builtin and then its argument prototype would still apply. */
8021 #ifdef __cplusplus
8022 extern "C"
8023 #endif
8024 char gethostbyname ();
8026 main ()
8028 return gethostbyname ();
8030 return 0;
8032 _ACEOF
8033 if ac_fn_c_try_link "$LINENO"; then :
8034 ac_cv_lib_bsd_gethostbyname=yes
8035 else
8036 ac_cv_lib_bsd_gethostbyname=no
8038 rm -f core conftest.err conftest.$ac_objext \
8039 conftest$ac_exeext conftest.$ac_ext
8040 LIBS=$ac_check_lib_save_LIBS
8042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
8043 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
8044 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
8045 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
8051 # lieder@skyler.mavd.honeywell.com says without -lsocket,
8052 # socket/setsockopt and other routines are undefined under SCO ODT
8053 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
8054 # on later versions), says Simon Leinen: it contains gethostby*
8055 # variants that don't use the name server (or something). -lsocket
8056 # must be given before -lnsl if both are needed. We assume that
8057 # if connect needs -lnsl, so does gethostbyname.
8058 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
8059 if test "x$ac_cv_func_connect" = xyes; then :
8063 if test $ac_cv_func_connect = no; then
8064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
8065 $as_echo_n "checking for connect in -lsocket... " >&6; }
8066 if ${ac_cv_lib_socket_connect+:} false; then :
8067 $as_echo_n "(cached) " >&6
8068 else
8069 ac_check_lib_save_LIBS=$LIBS
8070 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
8071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8072 /* end confdefs.h. */
8074 /* Override any GCC internal prototype to avoid an error.
8075 Use char because int might match the return type of a GCC
8076 builtin and then its argument prototype would still apply. */
8077 #ifdef __cplusplus
8078 extern "C"
8079 #endif
8080 char connect ();
8082 main ()
8084 return connect ();
8086 return 0;
8088 _ACEOF
8089 if ac_fn_c_try_link "$LINENO"; then :
8090 ac_cv_lib_socket_connect=yes
8091 else
8092 ac_cv_lib_socket_connect=no
8094 rm -f core conftest.err conftest.$ac_objext \
8095 conftest$ac_exeext conftest.$ac_ext
8096 LIBS=$ac_check_lib_save_LIBS
8098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
8099 $as_echo "$ac_cv_lib_socket_connect" >&6; }
8100 if test "x$ac_cv_lib_socket_connect" = xyes; then :
8101 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
8106 # Guillermo Gomez says -lposix is necessary on A/UX.
8107 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
8108 if test "x$ac_cv_func_remove" = xyes; then :
8112 if test $ac_cv_func_remove = no; then
8113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
8114 $as_echo_n "checking for remove in -lposix... " >&6; }
8115 if ${ac_cv_lib_posix_remove+:} false; then :
8116 $as_echo_n "(cached) " >&6
8117 else
8118 ac_check_lib_save_LIBS=$LIBS
8119 LIBS="-lposix $LIBS"
8120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8121 /* end confdefs.h. */
8123 /* Override any GCC internal prototype to avoid an error.
8124 Use char because int might match the return type of a GCC
8125 builtin and then its argument prototype would still apply. */
8126 #ifdef __cplusplus
8127 extern "C"
8128 #endif
8129 char remove ();
8131 main ()
8133 return remove ();
8135 return 0;
8137 _ACEOF
8138 if ac_fn_c_try_link "$LINENO"; then :
8139 ac_cv_lib_posix_remove=yes
8140 else
8141 ac_cv_lib_posix_remove=no
8143 rm -f core conftest.err conftest.$ac_objext \
8144 conftest$ac_exeext conftest.$ac_ext
8145 LIBS=$ac_check_lib_save_LIBS
8147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
8148 $as_echo "$ac_cv_lib_posix_remove" >&6; }
8149 if test "x$ac_cv_lib_posix_remove" = xyes; then :
8150 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
8155 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
8156 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
8157 if test "x$ac_cv_func_shmat" = xyes; then :
8161 if test $ac_cv_func_shmat = no; then
8162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
8163 $as_echo_n "checking for shmat in -lipc... " >&6; }
8164 if ${ac_cv_lib_ipc_shmat+:} false; then :
8165 $as_echo_n "(cached) " >&6
8166 else
8167 ac_check_lib_save_LIBS=$LIBS
8168 LIBS="-lipc $LIBS"
8169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8170 /* end confdefs.h. */
8172 /* Override any GCC internal prototype to avoid an error.
8173 Use char because int might match the return type of a GCC
8174 builtin and then its argument prototype would still apply. */
8175 #ifdef __cplusplus
8176 extern "C"
8177 #endif
8178 char shmat ();
8180 main ()
8182 return shmat ();
8184 return 0;
8186 _ACEOF
8187 if ac_fn_c_try_link "$LINENO"; then :
8188 ac_cv_lib_ipc_shmat=yes
8189 else
8190 ac_cv_lib_ipc_shmat=no
8192 rm -f core conftest.err conftest.$ac_objext \
8193 conftest$ac_exeext conftest.$ac_ext
8194 LIBS=$ac_check_lib_save_LIBS
8196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
8197 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
8198 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
8199 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
8205 # Check for libraries that X11R6 Xt/Xaw programs need.
8206 ac_save_LDFLAGS=$LDFLAGS
8207 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
8208 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
8209 # check for ICE first), but we must link in the order -lSM -lICE or
8210 # we get undefined symbols. So assume we have SM if we have ICE.
8211 # These have to be linked with before -lX11, unlike the other
8212 # libraries we check for below, so use a different variable.
8213 # John Interrante, Karl Berry
8214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
8215 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
8216 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
8217 $as_echo_n "(cached) " >&6
8218 else
8219 ac_check_lib_save_LIBS=$LIBS
8220 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
8221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8222 /* end confdefs.h. */
8224 /* Override any GCC internal prototype to avoid an error.
8225 Use char because int might match the return type of a GCC
8226 builtin and then its argument prototype would still apply. */
8227 #ifdef __cplusplus
8228 extern "C"
8229 #endif
8230 char IceConnectionNumber ();
8232 main ()
8234 return IceConnectionNumber ();
8236 return 0;
8238 _ACEOF
8239 if ac_fn_c_try_link "$LINENO"; then :
8240 ac_cv_lib_ICE_IceConnectionNumber=yes
8241 else
8242 ac_cv_lib_ICE_IceConnectionNumber=no
8244 rm -f core conftest.err conftest.$ac_objext \
8245 conftest$ac_exeext conftest.$ac_ext
8246 LIBS=$ac_check_lib_save_LIBS
8248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
8249 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
8250 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
8251 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
8254 LDFLAGS=$ac_save_LDFLAGS
8259 if test "$have_x" = "yes"
8260 then
8261 XLIB="-lX11"
8262 ac_save_CPPFLAGS="$CPPFLAGS"
8263 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
8265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
8266 $as_echo_n "checking for -lX11... " >&6; }
8267 if ${ac_cv_lib_soname_X11+:} false; then :
8268 $as_echo_n "(cached) " >&6
8269 else
8270 ac_check_soname_save_LIBS=$LIBS
8271 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
8272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8273 /* end confdefs.h. */
8275 /* Override any GCC internal prototype to avoid an error.
8276 Use char because int might match the return type of a GCC
8277 builtin and then its argument prototype would still apply. */
8278 #ifdef __cplusplus
8279 extern "C"
8280 #endif
8281 char XCreateWindow ();
8283 main ()
8285 return XCreateWindow ();
8287 return 0;
8289 _ACEOF
8290 if ac_fn_c_try_link "$LINENO"; then :
8291 case "$LIBEXT" in
8292 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8293 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'` ;;
8294 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8295 if test "x$ac_cv_lib_soname_X11" = x; then :
8296 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8297 fi ;;
8298 esac
8300 rm -f core conftest.err conftest.$ac_objext \
8301 conftest$ac_exeext conftest.$ac_ext
8302 LIBS=$ac_check_soname_save_LIBS
8304 if test "x$ac_cv_lib_soname_X11" = "x"; then :
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8306 $as_echo "not found" >&6; }
8308 else
8309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
8310 $as_echo "$ac_cv_lib_soname_X11" >&6; }
8312 cat >>confdefs.h <<_ACEOF
8313 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
8314 _ACEOF
8318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
8319 $as_echo_n "checking for -lXext... " >&6; }
8320 if ${ac_cv_lib_soname_Xext+:} false; then :
8321 $as_echo_n "(cached) " >&6
8322 else
8323 ac_check_soname_save_LIBS=$LIBS
8324 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
8325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8326 /* end confdefs.h. */
8328 /* Override any GCC internal prototype to avoid an error.
8329 Use char because int might match the return type of a GCC
8330 builtin and then its argument prototype would still apply. */
8331 #ifdef __cplusplus
8332 extern "C"
8333 #endif
8334 char XextCreateExtension ();
8336 main ()
8338 return XextCreateExtension ();
8340 return 0;
8342 _ACEOF
8343 if ac_fn_c_try_link "$LINENO"; then :
8344 case "$LIBEXT" in
8345 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8346 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'` ;;
8347 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8348 if test "x$ac_cv_lib_soname_Xext" = x; then :
8349 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8350 fi ;;
8351 esac
8353 rm -f core conftest.err conftest.$ac_objext \
8354 conftest$ac_exeext conftest.$ac_ext
8355 LIBS=$ac_check_soname_save_LIBS
8357 if test "x$ac_cv_lib_soname_Xext" = "x"; then :
8358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8359 $as_echo "not found" >&6; }
8361 else
8362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
8363 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
8365 cat >>confdefs.h <<_ACEOF
8366 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
8367 _ACEOF
8369 XLIB="-lXext $XLIB"
8372 for ac_header in X11/Xlib.h \
8373 X11/XKBlib.h \
8374 X11/Xutil.h \
8375 X11/Xcursor/Xcursor.h \
8376 X11/extensions/shape.h \
8377 X11/extensions/XInput.h \
8378 X11/extensions/XInput2.h \
8379 X11/extensions/XShm.h \
8380 X11/extensions/Xcomposite.h \
8381 X11/extensions/Xinerama.h \
8382 X11/extensions/Xrandr.h \
8383 X11/extensions/Xrender.h \
8384 X11/extensions/xf86vmode.h \
8385 X11/extensions/xf86vmproto.h
8386 do :
8387 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8388 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
8389 # include <X11/Xlib.h>
8390 #endif
8391 #ifdef HAVE_X11_XUTIL_H
8392 # include <X11/Xutil.h>
8393 #endif
8395 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8396 cat >>confdefs.h <<_ACEOF
8397 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8398 _ACEOF
8402 done
8405 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
8406 then
8407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
8408 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
8409 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
8410 $as_echo_n "(cached) " >&6
8411 else
8412 ac_check_lib_save_LIBS=$LIBS
8413 LIBS="-lX11 $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8415 /* end confdefs.h. */
8417 /* Override any GCC internal prototype to avoid an error.
8418 Use char because int might match the return type of a GCC
8419 builtin and then its argument prototype would still apply. */
8420 #ifdef __cplusplus
8421 extern "C"
8422 #endif
8423 char XkbQueryExtension ();
8425 main ()
8427 return XkbQueryExtension ();
8429 return 0;
8431 _ACEOF
8432 if ac_fn_c_try_link "$LINENO"; then :
8433 ac_cv_lib_X11_XkbQueryExtension=yes
8434 else
8435 ac_cv_lib_X11_XkbQueryExtension=no
8437 rm -f core conftest.err conftest.$ac_objext \
8438 conftest$ac_exeext conftest.$ac_ext
8439 LIBS=$ac_check_lib_save_LIBS
8441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
8442 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
8443 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
8445 $as_echo "#define HAVE_XKB 1" >>confdefs.h
8451 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
8452 then
8453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
8454 $as_echo_n "checking for -lXcursor... " >&6; }
8455 if ${ac_cv_lib_soname_Xcursor+:} false; then :
8456 $as_echo_n "(cached) " >&6
8457 else
8458 ac_check_soname_save_LIBS=$LIBS
8459 LIBS="-lXcursor $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8461 /* end confdefs.h. */
8463 /* Override any GCC internal prototype to avoid an error.
8464 Use char because int might match the return type of a GCC
8465 builtin and then its argument prototype would still apply. */
8466 #ifdef __cplusplus
8467 extern "C"
8468 #endif
8469 char XcursorImageLoadCursor ();
8471 main ()
8473 return XcursorImageLoadCursor ();
8475 return 0;
8477 _ACEOF
8478 if ac_fn_c_try_link "$LINENO"; then :
8479 case "$LIBEXT" in
8480 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8481 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'` ;;
8482 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8483 if test "x$ac_cv_lib_soname_Xcursor" = x; then :
8484 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8485 fi ;;
8486 esac
8488 rm -f core conftest.err conftest.$ac_objext \
8489 conftest$ac_exeext conftest.$ac_ext
8490 LIBS=$ac_check_soname_save_LIBS
8492 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8494 $as_echo "not found" >&6; }
8496 else
8497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
8498 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
8500 cat >>confdefs.h <<_ACEOF
8501 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
8502 _ACEOF
8507 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8508 case "x$with_xcursor" in
8509 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
8510 xno) ;;
8511 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
8512 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
8513 esac
8516 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
8517 then
8518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
8519 $as_echo_n "checking for -lXi... " >&6; }
8520 if ${ac_cv_lib_soname_Xi+:} false; then :
8521 $as_echo_n "(cached) " >&6
8522 else
8523 ac_check_soname_save_LIBS=$LIBS
8524 LIBS="-lXi $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8526 /* end confdefs.h. */
8528 /* Override any GCC internal prototype to avoid an error.
8529 Use char because int might match the return type of a GCC
8530 builtin and then its argument prototype would still apply. */
8531 #ifdef __cplusplus
8532 extern "C"
8533 #endif
8534 char XOpenDevice ();
8536 main ()
8538 return XOpenDevice ();
8540 return 0;
8542 _ACEOF
8543 if ac_fn_c_try_link "$LINENO"; then :
8544 case "$LIBEXT" in
8545 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8546 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'` ;;
8547 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8548 if test "x$ac_cv_lib_soname_Xi" = x; then :
8549 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8550 fi ;;
8551 esac
8553 rm -f core conftest.err conftest.$ac_objext \
8554 conftest$ac_exeext conftest.$ac_ext
8555 LIBS=$ac_check_soname_save_LIBS
8557 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8559 $as_echo "not found" >&6; }
8561 else
8562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
8563 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
8565 cat >>confdefs.h <<_ACEOF
8566 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
8567 _ACEOF
8572 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8573 case "x$with_xinput" in
8574 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
8575 xno) ;;
8576 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
8577 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
8578 esac
8581 if test "x$ac_cv_lib_soname_Xi" != x
8582 then
8583 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
8584 case "x$with_xinput2" in
8585 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
8586 xno) ;;
8587 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
8588 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
8589 esac
8593 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
8594 then
8595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
8596 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
8597 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
8598 $as_echo_n "(cached) " >&6
8599 else
8600 ac_check_lib_save_LIBS=$LIBS
8601 LIBS="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8603 /* end confdefs.h. */
8605 /* Override any GCC internal prototype to avoid an error.
8606 Use char because int might match the return type of a GCC
8607 builtin and then its argument prototype would still apply. */
8608 #ifdef __cplusplus
8609 extern "C"
8610 #endif
8611 char XShmQueryExtension ();
8613 main ()
8615 return XShmQueryExtension ();
8617 return 0;
8619 _ACEOF
8620 if ac_fn_c_try_link "$LINENO"; then :
8621 ac_cv_lib_Xext_XShmQueryExtension=yes
8622 else
8623 ac_cv_lib_Xext_XShmQueryExtension=no
8625 rm -f core conftest.err conftest.$ac_objext \
8626 conftest$ac_exeext conftest.$ac_ext
8627 LIBS=$ac_check_lib_save_LIBS
8629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
8630 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
8631 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
8633 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
8638 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
8639 case "x$with_xshm" in
8640 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
8641 xno) ;;
8642 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
8643 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
8644 esac
8647 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
8648 then
8649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
8650 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
8651 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
8652 $as_echo_n "(cached) " >&6
8653 else
8654 ac_check_lib_save_LIBS=$LIBS
8655 LIBS="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8657 /* end confdefs.h. */
8659 /* Override any GCC internal prototype to avoid an error.
8660 Use char because int might match the return type of a GCC
8661 builtin and then its argument prototype would still apply. */
8662 #ifdef __cplusplus
8663 extern "C"
8664 #endif
8665 char XShapeQueryExtension ();
8667 main ()
8669 return XShapeQueryExtension ();
8671 return 0;
8673 _ACEOF
8674 if ac_fn_c_try_link "$LINENO"; then :
8675 ac_cv_lib_Xext_XShapeQueryExtension=yes
8676 else
8677 ac_cv_lib_Xext_XShapeQueryExtension=no
8679 rm -f core conftest.err conftest.$ac_objext \
8680 conftest$ac_exeext conftest.$ac_ext
8681 LIBS=$ac_check_lib_save_LIBS
8683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8684 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
8685 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
8687 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
8692 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
8693 case "x$with_xshape" in
8694 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
8695 xno) ;;
8696 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
8697 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
8698 esac
8701 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
8702 then
8703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
8704 $as_echo_n "checking for -lXxf86vm... " >&6; }
8705 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
8706 $as_echo_n "(cached) " >&6
8707 else
8708 ac_check_soname_save_LIBS=$LIBS
8709 LIBS="-lXxf86vm $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8711 /* end confdefs.h. */
8713 /* Override any GCC internal prototype to avoid an error.
8714 Use char because int might match the return type of a GCC
8715 builtin and then its argument prototype would still apply. */
8716 #ifdef __cplusplus
8717 extern "C"
8718 #endif
8719 char XF86VidModeQueryExtension ();
8721 main ()
8723 return XF86VidModeQueryExtension ();
8725 return 0;
8727 _ACEOF
8728 if ac_fn_c_try_link "$LINENO"; then :
8729 case "$LIBEXT" in
8730 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8731 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'` ;;
8732 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8733 if test "x$ac_cv_lib_soname_Xxf86vm" = x; then :
8734 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8735 fi ;;
8736 esac
8738 rm -f core conftest.err conftest.$ac_objext \
8739 conftest$ac_exeext conftest.$ac_ext
8740 LIBS=$ac_check_soname_save_LIBS
8742 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8744 $as_echo "not found" >&6; }
8746 else
8747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
8748 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
8750 cat >>confdefs.h <<_ACEOF
8751 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
8752 _ACEOF
8757 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8758 case "x$with_xxf86vm" in
8759 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
8760 xno) ;;
8761 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
8762 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
8763 esac
8766 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"
8767 then
8768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
8769 $as_echo_n "checking for -lXrender... " >&6; }
8770 if ${ac_cv_lib_soname_Xrender+:} false; then :
8771 $as_echo_n "(cached) " >&6
8772 else
8773 ac_check_soname_save_LIBS=$LIBS
8774 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8776 /* end confdefs.h. */
8778 /* Override any GCC internal prototype to avoid an error.
8779 Use char because int might match the return type of a GCC
8780 builtin and then its argument prototype would still apply. */
8781 #ifdef __cplusplus
8782 extern "C"
8783 #endif
8784 char XRenderQueryExtension ();
8786 main ()
8788 return XRenderQueryExtension ();
8790 return 0;
8792 _ACEOF
8793 if ac_fn_c_try_link "$LINENO"; then :
8794 case "$LIBEXT" in
8795 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8796 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'` ;;
8797 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8798 if test "x$ac_cv_lib_soname_Xrender" = x; then :
8799 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8800 fi ;;
8801 esac
8803 rm -f core conftest.err conftest.$ac_objext \
8804 conftest$ac_exeext conftest.$ac_ext
8805 LIBS=$ac_check_soname_save_LIBS
8807 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8809 $as_echo "not found" >&6; }
8811 else
8812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
8813 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
8815 cat >>confdefs.h <<_ACEOF
8816 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
8817 _ACEOF
8819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
8820 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
8821 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
8822 $as_echo_n "(cached) " >&6
8823 else
8824 ac_check_lib_save_LIBS=$LIBS
8825 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8827 /* end confdefs.h. */
8829 /* Override any GCC internal prototype to avoid an error.
8830 Use char because int might match the return type of a GCC
8831 builtin and then its argument prototype would still apply. */
8832 #ifdef __cplusplus
8833 extern "C"
8834 #endif
8835 char XRenderSetPictureTransform ();
8837 main ()
8839 return XRenderSetPictureTransform ();
8841 return 0;
8843 _ACEOF
8844 if ac_fn_c_try_link "$LINENO"; then :
8845 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
8846 else
8847 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
8849 rm -f core conftest.err conftest.$ac_objext \
8850 conftest$ac_exeext conftest.$ac_ext
8851 LIBS=$ac_check_lib_save_LIBS
8853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8854 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
8855 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
8857 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
8861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
8862 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
8863 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
8864 $as_echo_n "(cached) " >&6
8865 else
8866 ac_check_lib_save_LIBS=$LIBS
8867 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8869 /* end confdefs.h. */
8871 /* Override any GCC internal prototype to avoid an error.
8872 Use char because int might match the return type of a GCC
8873 builtin and then its argument prototype would still apply. */
8874 #ifdef __cplusplus
8875 extern "C"
8876 #endif
8877 char XRenderCreateLinearGradient ();
8879 main ()
8881 return XRenderCreateLinearGradient ();
8883 return 0;
8885 _ACEOF
8886 if ac_fn_c_try_link "$LINENO"; then :
8887 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
8888 else
8889 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
8891 rm -f core conftest.err conftest.$ac_objext \
8892 conftest$ac_exeext conftest.$ac_ext
8893 LIBS=$ac_check_lib_save_LIBS
8895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
8896 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
8897 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
8899 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
8906 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8907 case "x$with_xrender" in
8908 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
8909 xno) ;;
8910 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
8911 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
8912 esac
8915 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
8916 then
8917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8918 /* end confdefs.h. */
8919 #include <X11/Xlib.h>
8920 #include <X11/extensions/Xrandr.h>
8922 main ()
8924 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
8926 return 0;
8928 _ACEOF
8929 if ac_fn_c_try_compile "$LINENO"; then :
8930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
8931 $as_echo_n "checking for -lXrandr... " >&6; }
8932 if ${ac_cv_lib_soname_Xrandr+:} false; then :
8933 $as_echo_n "(cached) " >&6
8934 else
8935 ac_check_soname_save_LIBS=$LIBS
8936 LIBS="-lXrandr $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8938 /* end confdefs.h. */
8940 /* Override any GCC internal prototype to avoid an error.
8941 Use char because int might match the return type of a GCC
8942 builtin and then its argument prototype would still apply. */
8943 #ifdef __cplusplus
8944 extern "C"
8945 #endif
8946 char XRRQueryExtension ();
8948 main ()
8950 return XRRQueryExtension ();
8952 return 0;
8954 _ACEOF
8955 if ac_fn_c_try_link "$LINENO"; then :
8956 case "$LIBEXT" in
8957 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8958 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'` ;;
8959 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8960 if test "x$ac_cv_lib_soname_Xrandr" = x; then :
8961 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8962 fi ;;
8963 esac
8965 rm -f core conftest.err conftest.$ac_objext \
8966 conftest$ac_exeext conftest.$ac_ext
8967 LIBS=$ac_check_soname_save_LIBS
8969 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
8970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8971 $as_echo "not found" >&6; }
8973 else
8974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
8975 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
8977 cat >>confdefs.h <<_ACEOF
8978 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
8979 _ACEOF
8981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8982 /* end confdefs.h. */
8983 #include <X11/Xlib.h>
8984 #include <X11/extensions/Xrandr.h>
8986 main ()
8988 static typeof(XRRGetScreenResources) *f; if (f) return 0;
8990 return 0;
8992 _ACEOF
8993 if ac_fn_c_try_compile "$LINENO"; then :
8995 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
8998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9003 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
9004 case "x$with_xrandr" in
9005 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
9006 xno) ;;
9007 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
9008 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
9009 esac
9012 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
9013 then
9014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9015 /* end confdefs.h. */
9016 #include <X11/Xlib.h>
9017 #include <X11/extensions/Xinerama.h>
9019 main ()
9021 static typeof(XineramaQueryScreens) * func; if (func) return 0;
9023 return 0;
9025 _ACEOF
9026 if ac_fn_c_try_compile "$LINENO"; then :
9027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
9028 $as_echo_n "checking for -lXinerama... " >&6; }
9029 if ${ac_cv_lib_soname_Xinerama+:} false; then :
9030 $as_echo_n "(cached) " >&6
9031 else
9032 ac_check_soname_save_LIBS=$LIBS
9033 LIBS="-lXinerama $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9035 /* end confdefs.h. */
9037 /* Override any GCC internal prototype to avoid an error.
9038 Use char because int might match the return type of a GCC
9039 builtin and then its argument prototype would still apply. */
9040 #ifdef __cplusplus
9041 extern "C"
9042 #endif
9043 char XineramaQueryScreens ();
9045 main ()
9047 return XineramaQueryScreens ();
9049 return 0;
9051 _ACEOF
9052 if ac_fn_c_try_link "$LINENO"; then :
9053 case "$LIBEXT" in
9054 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9055 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'` ;;
9056 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9057 if test "x$ac_cv_lib_soname_Xinerama" = x; then :
9058 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9059 fi ;;
9060 esac
9062 rm -f core conftest.err conftest.$ac_objext \
9063 conftest$ac_exeext conftest.$ac_ext
9064 LIBS=$ac_check_soname_save_LIBS
9066 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
9067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9068 $as_echo "not found" >&6; }
9070 else
9071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
9072 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
9074 cat >>confdefs.h <<_ACEOF
9075 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
9076 _ACEOF
9081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9083 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
9084 case "x$with_xinerama" in
9085 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
9086 xno) ;;
9087 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
9088 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
9089 esac
9092 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
9093 then
9094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
9095 $as_echo_n "checking for -lXcomposite... " >&6; }
9096 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
9097 $as_echo_n "(cached) " >&6
9098 else
9099 ac_check_soname_save_LIBS=$LIBS
9100 LIBS="-lXcomposite $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9102 /* end confdefs.h. */
9104 /* Override any GCC internal prototype to avoid an error.
9105 Use char because int might match the return type of a GCC
9106 builtin and then its argument prototype would still apply. */
9107 #ifdef __cplusplus
9108 extern "C"
9109 #endif
9110 char XCompositeRedirectWindow ();
9112 main ()
9114 return XCompositeRedirectWindow ();
9116 return 0;
9118 _ACEOF
9119 if ac_fn_c_try_link "$LINENO"; then :
9120 case "$LIBEXT" in
9121 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9122 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'` ;;
9123 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9124 if test "x$ac_cv_lib_soname_Xcomposite" = x; then :
9125 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9126 fi ;;
9127 esac
9129 rm -f core conftest.err conftest.$ac_objext \
9130 conftest$ac_exeext conftest.$ac_ext
9131 LIBS=$ac_check_soname_save_LIBS
9133 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
9134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9135 $as_echo "not found" >&6; }
9137 else
9138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
9139 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
9141 cat >>confdefs.h <<_ACEOF
9142 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
9143 _ACEOF
9148 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
9149 case "x$with_xcomposite" in
9150 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
9151 xno) ;;
9152 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
9153 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
9154 esac
9157 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
9158 #include <X11/Xlib.h>
9159 #endif
9161 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
9163 cat >>confdefs.h <<_ACEOF
9164 #define HAVE_XICCALLBACK_CALLBACK 1
9165 _ACEOF
9169 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
9170 #include <X11/Xlib.h>
9171 #endif
9173 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
9175 cat >>confdefs.h <<_ACEOF
9176 #define HAVE_XEVENT_XCOOKIE 1
9177 _ACEOF
9184 opengl_msg=""
9185 if test "x$with_opengl" != "xno"
9186 then
9187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
9188 $as_echo_n "checking for -lGL... " >&6; }
9189 if ${ac_cv_lib_soname_GL+:} false; then :
9190 $as_echo_n "(cached) " >&6
9191 else
9192 ac_check_soname_save_LIBS=$LIBS
9193 LIBS="-lGL $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9195 /* end confdefs.h. */
9197 /* Override any GCC internal prototype to avoid an error.
9198 Use char because int might match the return type of a GCC
9199 builtin and then its argument prototype would still apply. */
9200 #ifdef __cplusplus
9201 extern "C"
9202 #endif
9203 char glXCreateContext ();
9205 main ()
9207 return glXCreateContext ();
9209 return 0;
9211 _ACEOF
9212 if ac_fn_c_try_link "$LINENO"; then :
9213 case "$LIBEXT" in
9214 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9215 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'` ;;
9216 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9217 if test "x$ac_cv_lib_soname_GL" = x; then :
9218 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9219 fi ;;
9220 esac
9222 rm -f core conftest.err conftest.$ac_objext \
9223 conftest$ac_exeext conftest.$ac_ext
9224 LIBS=$ac_check_soname_save_LIBS
9226 if test "x$ac_cv_lib_soname_GL" = "x"; then :
9227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9228 $as_echo "not found" >&6; }
9229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
9230 $as_echo_n "checking for -lGL... " >&6; }
9231 if ${ac_cv_lib_soname_GL+:} false; then :
9232 $as_echo_n "(cached) " >&6
9233 else
9234 ac_check_soname_save_LIBS=$LIBS
9235 LIBS="-lGL $X_LIBS $XLIB -lm $X_EXTRA_LIBS -dylib_file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib $LIBS"
9236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9237 /* end confdefs.h. */
9239 /* Override any GCC internal prototype to avoid an error.
9240 Use char because int might match the return type of a GCC
9241 builtin and then its argument prototype would still apply. */
9242 #ifdef __cplusplus
9243 extern "C"
9244 #endif
9245 char glXCreateContext ();
9247 main ()
9249 return glXCreateContext ();
9251 return 0;
9253 _ACEOF
9254 if ac_fn_c_try_link "$LINENO"; then :
9255 case "$LIBEXT" in
9256 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9257 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'` ;;
9258 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9259 if test "x$ac_cv_lib_soname_GL" = x; then :
9260 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9261 fi ;;
9262 esac
9264 rm -f core conftest.err conftest.$ac_objext \
9265 conftest$ac_exeext conftest.$ac_ext
9266 LIBS=$ac_check_soname_save_LIBS
9268 if test "x$ac_cv_lib_soname_GL" = "x"; then :
9269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9270 $as_echo "not found" >&6; }
9271 if test -f /usr/X11R6/lib/libGL.a
9272 then
9273 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
9274 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
9275 else
9276 opengl_msg="No OpenGL library found on this system."
9278 else
9279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
9280 $as_echo "$ac_cv_lib_soname_GL" >&6; }
9282 cat >>confdefs.h <<_ACEOF
9283 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
9284 _ACEOF
9286 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"
9288 else
9289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
9290 $as_echo "$ac_cv_lib_soname_GL" >&6; }
9292 cat >>confdefs.h <<_ACEOF
9293 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
9294 _ACEOF
9296 OPENGL_LIBS="-lGL"
9298 if test "x$with_glu" != "xno"
9299 then
9300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
9301 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
9302 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
9303 $as_echo_n "(cached) " >&6
9304 else
9305 ac_check_lib_save_LIBS=$LIBS
9306 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9308 /* end confdefs.h. */
9310 /* Override any GCC internal prototype to avoid an error.
9311 Use char because int might match the return type of a GCC
9312 builtin and then its argument prototype would still apply. */
9313 #ifdef __cplusplus
9314 extern "C"
9315 #endif
9316 char gluLookAt ();
9318 main ()
9320 return gluLookAt ();
9322 return 0;
9324 _ACEOF
9325 if ac_fn_c_try_link "$LINENO"; then :
9326 ac_cv_lib_GLU_gluLookAt=yes
9327 else
9328 ac_cv_lib_GLU_gluLookAt=no
9330 rm -f core conftest.err conftest.$ac_objext \
9331 conftest$ac_exeext conftest.$ac_ext
9332 LIBS=$ac_check_lib_save_LIBS
9334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
9335 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
9336 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
9340 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
9341 case "x$with_glu" in
9342 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
9343 xno) ;;
9344 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
9345 This is an error since --with-glu was requested." "$LINENO" 5 ;;
9346 esac
9350 if test "x$with_osmesa" != "xno"
9351 then
9352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
9353 $as_echo_n "checking for -lOSMesa... " >&6; }
9354 if ${ac_cv_lib_soname_OSMesa+:} false; then :
9355 $as_echo_n "(cached) " >&6
9356 else
9357 ac_check_soname_save_LIBS=$LIBS
9358 LIBS="-lOSMesa $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9360 /* end confdefs.h. */
9362 /* Override any GCC internal prototype to avoid an error.
9363 Use char because int might match the return type of a GCC
9364 builtin and then its argument prototype would still apply. */
9365 #ifdef __cplusplus
9366 extern "C"
9367 #endif
9368 char glAccum ();
9370 main ()
9372 return glAccum ();
9374 return 0;
9376 _ACEOF
9377 if ac_fn_c_try_link "$LINENO"; then :
9378 case "$LIBEXT" in
9379 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9380 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'` ;;
9381 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9382 if test "x$ac_cv_lib_soname_OSMesa" = x; then :
9383 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9384 fi ;;
9385 esac
9387 rm -f core conftest.err conftest.$ac_objext \
9388 conftest$ac_exeext conftest.$ac_ext
9389 LIBS=$ac_check_soname_save_LIBS
9391 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
9392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9393 $as_echo "not found" >&6; }
9395 else
9396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
9397 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
9399 cat >>confdefs.h <<_ACEOF
9400 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
9401 _ACEOF
9405 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
9406 case "x$with_osmesa" in
9407 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
9408 xno) ;;
9409 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
9410 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
9411 esac
9415 if test -n "$opengl_msg"; then :
9416 case "x$with_opengl" in
9417 x) as_fn_append wine_warnings "|$opengl_msg
9418 OpenGL and Direct3D won't be supported." ;;
9419 xno) ;;
9420 *) as_fn_error $? "$opengl_msg
9421 OpenGL and Direct3D won't be supported.
9422 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
9423 esac
9426 CPPFLAGS="$ac_save_CPPFLAGS"
9427 else
9428 XLIB=""
9429 X_CFLAGS=""
9430 X_LIBS=""
9431 enable_winex11_drv=${enable_winex11_drv:-no}
9433 if test "x$XLIB" = "x"; then :
9434 case "x$with_x" in
9435 xno) ;;
9436 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
9437 without X support, which probably isn't what you want. You will need
9438 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
9439 Use the --without-x option if you really want this." "$LINENO" 5 ;;
9440 esac
9443 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
9445 if test "$ac_cv_header_CL_cl_h" = "yes"
9446 then
9447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
9448 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
9449 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
9450 $as_echo_n "(cached) " >&6
9451 else
9452 ac_check_lib_save_LIBS=$LIBS
9453 LIBS="-lOpenCL $LIBS"
9454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9455 /* end confdefs.h. */
9457 /* Override any GCC internal prototype to avoid an error.
9458 Use char because int might match the return type of a GCC
9459 builtin and then its argument prototype would still apply. */
9460 #ifdef __cplusplus
9461 extern "C"
9462 #endif
9463 char clGetPlatformInfo ();
9465 main ()
9467 return clGetPlatformInfo ();
9469 return 0;
9471 _ACEOF
9472 if ac_fn_c_try_link "$LINENO"; then :
9473 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9474 else
9475 ac_cv_lib_OpenCL_clGetPlatformInfo=no
9477 rm -f core conftest.err conftest.$ac_objext \
9478 conftest$ac_exeext conftest.$ac_ext
9479 LIBS=$ac_check_lib_save_LIBS
9481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
9482 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
9483 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
9484 LIBOPENCL="-lOpenCL"
9489 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
9490 case "x$with_opencl" in
9491 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
9492 xno) ;;
9493 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
9494 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
9495 esac
9497 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
9500 if test "x$with_xml" != "xno"
9501 then
9502 ac_save_CPPFLAGS="$CPPFLAGS"
9503 if test -n "$ac_tool_prefix"; then
9504 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
9505 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
9506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9507 $as_echo_n "checking for $ac_word... " >&6; }
9508 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
9509 $as_echo_n "(cached) " >&6
9510 else
9511 if test -n "$PKG_CONFIG"; then
9512 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
9513 else
9514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9515 for as_dir in $PATH
9517 IFS=$as_save_IFS
9518 test -z "$as_dir" && as_dir=.
9519 for ac_exec_ext in '' $ac_executable_extensions; do
9520 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9521 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
9522 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9523 break 2
9525 done
9526 done
9527 IFS=$as_save_IFS
9531 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
9532 if test -n "$PKG_CONFIG"; then
9533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
9534 $as_echo "$PKG_CONFIG" >&6; }
9535 else
9536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9537 $as_echo "no" >&6; }
9542 if test -z "$ac_cv_prog_PKG_CONFIG"; then
9543 ac_ct_PKG_CONFIG=$PKG_CONFIG
9544 # Extract the first word of "pkg-config", so it can be a program name with args.
9545 set dummy pkg-config; ac_word=$2
9546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9547 $as_echo_n "checking for $ac_word... " >&6; }
9548 if ${ac_cv_prog_ac_ct_PKG_CONFIG+:} false; then :
9549 $as_echo_n "(cached) " >&6
9550 else
9551 if test -n "$ac_ct_PKG_CONFIG"; then
9552 ac_cv_prog_ac_ct_PKG_CONFIG="$ac_ct_PKG_CONFIG" # Let the user override the test.
9553 else
9554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9555 for as_dir in $PATH
9557 IFS=$as_save_IFS
9558 test -z "$as_dir" && as_dir=.
9559 for ac_exec_ext in '' $ac_executable_extensions; do
9560 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9561 ac_cv_prog_ac_ct_PKG_CONFIG="pkg-config"
9562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9563 break 2
9565 done
9566 done
9567 IFS=$as_save_IFS
9571 ac_ct_PKG_CONFIG=$ac_cv_prog_ac_ct_PKG_CONFIG
9572 if test -n "$ac_ct_PKG_CONFIG"; then
9573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_PKG_CONFIG" >&5
9574 $as_echo "$ac_ct_PKG_CONFIG" >&6; }
9575 else
9576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9577 $as_echo "no" >&6; }
9580 if test "x$ac_ct_PKG_CONFIG" = x; then
9581 PKG_CONFIG=""
9582 else
9583 case $cross_compiling:$ac_tool_warned in
9584 yes:)
9585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9586 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9587 ac_tool_warned=yes ;;
9588 esac
9589 PKG_CONFIG=$ac_ct_PKG_CONFIG
9591 else
9592 PKG_CONFIG="$ac_cv_prog_PKG_CONFIG"
9595 if test -n "$XML2_CFLAGS"; then :
9597 elif test -n "$PKG_CONFIG"; then :
9598 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
9600 XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
9601 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
9602 if test -n "$XML2_LIBS"; then :
9604 elif test -n "$PKG_CONFIG"; then :
9605 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
9607 XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
9608 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
9609 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
9610 do :
9611 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9612 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9613 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9614 cat >>confdefs.h <<_ACEOF
9615 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9616 _ACEOF
9620 done
9622 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"
9623 then
9624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
9625 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
9626 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
9627 $as_echo_n "(cached) " >&6
9628 else
9629 ac_check_lib_save_LIBS=$LIBS
9630 LIBS="-lxml2 $XML2_LIBS $LIBS"
9631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9632 /* end confdefs.h. */
9634 /* Override any GCC internal prototype to avoid an error.
9635 Use char because int might match the return type of a GCC
9636 builtin and then its argument prototype would still apply. */
9637 #ifdef __cplusplus
9638 extern "C"
9639 #endif
9640 char xmlParseMemory ();
9642 main ()
9644 return xmlParseMemory ();
9646 return 0;
9648 _ACEOF
9649 if ac_fn_c_try_link "$LINENO"; then :
9650 ac_cv_lib_xml2_xmlParseMemory=yes
9651 else
9652 ac_cv_lib_xml2_xmlParseMemory=no
9654 rm -f core conftest.err conftest.$ac_objext \
9655 conftest$ac_exeext conftest.$ac_ext
9656 LIBS=$ac_check_lib_save_LIBS
9658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
9659 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
9660 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
9662 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
9664 else
9665 XML2_LIBS=""
9668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
9669 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
9670 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
9671 $as_echo_n "(cached) " >&6
9672 else
9673 ac_check_lib_save_LIBS=$LIBS
9674 LIBS="-lxml2 $XML2_LIBS $LIBS"
9675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9676 /* end confdefs.h. */
9678 /* Override any GCC internal prototype to avoid an error.
9679 Use char because int might match the return type of a GCC
9680 builtin and then its argument prototype would still apply. */
9681 #ifdef __cplusplus
9682 extern "C"
9683 #endif
9684 char xmlReadMemory ();
9686 main ()
9688 return xmlReadMemory ();
9690 return 0;
9692 _ACEOF
9693 if ac_fn_c_try_link "$LINENO"; then :
9694 ac_cv_lib_xml2_xmlReadMemory=yes
9695 else
9696 ac_cv_lib_xml2_xmlReadMemory=no
9698 rm -f core conftest.err conftest.$ac_objext \
9699 conftest$ac_exeext conftest.$ac_ext
9700 LIBS=$ac_check_lib_save_LIBS
9702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
9703 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
9704 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
9706 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
9710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
9711 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
9712 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
9713 $as_echo_n "(cached) " >&6
9714 else
9715 ac_check_lib_save_LIBS=$LIBS
9716 LIBS="-lxml2 $XML2_LIBS $LIBS"
9717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9718 /* end confdefs.h. */
9720 /* Override any GCC internal prototype to avoid an error.
9721 Use char because int might match the return type of a GCC
9722 builtin and then its argument prototype would still apply. */
9723 #ifdef __cplusplus
9724 extern "C"
9725 #endif
9726 char xmlNewDocPI ();
9728 main ()
9730 return xmlNewDocPI ();
9732 return 0;
9734 _ACEOF
9735 if ac_fn_c_try_link "$LINENO"; then :
9736 ac_cv_lib_xml2_xmlNewDocPI=yes
9737 else
9738 ac_cv_lib_xml2_xmlNewDocPI=no
9740 rm -f core conftest.err conftest.$ac_objext \
9741 conftest$ac_exeext conftest.$ac_ext
9742 LIBS=$ac_check_lib_save_LIBS
9744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
9745 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
9746 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
9748 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
9752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
9753 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
9754 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
9755 $as_echo_n "(cached) " >&6
9756 else
9757 ac_check_lib_save_LIBS=$LIBS
9758 LIBS="-lxml2 $XML2_LIBS $LIBS"
9759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9760 /* end confdefs.h. */
9762 /* Override any GCC internal prototype to avoid an error.
9763 Use char because int might match the return type of a GCC
9764 builtin and then its argument prototype would still apply. */
9765 #ifdef __cplusplus
9766 extern "C"
9767 #endif
9768 char xmlSchemaSetParserStructuredErrors ();
9770 main ()
9772 return xmlSchemaSetParserStructuredErrors ();
9774 return 0;
9776 _ACEOF
9777 if ac_fn_c_try_link "$LINENO"; then :
9778 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
9779 else
9780 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
9782 rm -f core conftest.err conftest.$ac_objext \
9783 conftest$ac_exeext conftest.$ac_ext
9784 LIBS=$ac_check_lib_save_LIBS
9786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
9787 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
9788 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
9790 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
9794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
9795 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
9796 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
9797 $as_echo_n "(cached) " >&6
9798 else
9799 ac_check_lib_save_LIBS=$LIBS
9800 LIBS="-lxml2 $XML2_LIBS $LIBS"
9801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9802 /* end confdefs.h. */
9804 /* Override any GCC internal prototype to avoid an error.
9805 Use char because int might match the return type of a GCC
9806 builtin and then its argument prototype would still apply. */
9807 #ifdef __cplusplus
9808 extern "C"
9809 #endif
9810 char xmlSchemaSetValidStructuredErrors ();
9812 main ()
9814 return xmlSchemaSetValidStructuredErrors ();
9816 return 0;
9818 _ACEOF
9819 if ac_fn_c_try_link "$LINENO"; then :
9820 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
9821 else
9822 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
9824 rm -f core conftest.err conftest.$ac_objext \
9825 conftest$ac_exeext conftest.$ac_ext
9826 LIBS=$ac_check_lib_save_LIBS
9828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
9829 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
9830 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
9832 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
9836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
9837 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
9838 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
9839 $as_echo_n "(cached) " >&6
9840 else
9841 ac_check_lib_save_LIBS=$LIBS
9842 LIBS="-lxml2 $XML2_LIBS $LIBS"
9843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9844 /* end confdefs.h. */
9846 /* Override any GCC internal prototype to avoid an error.
9847 Use char because int might match the return type of a GCC
9848 builtin and then its argument prototype would still apply. */
9849 #ifdef __cplusplus
9850 extern "C"
9851 #endif
9852 char xmlFirstElementChild ();
9854 main ()
9856 return xmlFirstElementChild ();
9858 return 0;
9860 _ACEOF
9861 if ac_fn_c_try_link "$LINENO"; then :
9862 ac_cv_lib_xml2_xmlFirstElementChild=yes
9863 else
9864 ac_cv_lib_xml2_xmlFirstElementChild=no
9866 rm -f core conftest.err conftest.$ac_objext \
9867 conftest$ac_exeext conftest.$ac_ext
9868 LIBS=$ac_check_lib_save_LIBS
9870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
9871 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
9872 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
9874 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
9878 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
9880 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
9882 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
9886 else
9887 XML2_CFLAGS=""
9888 XML2_LIBS=""
9890 CPPFLAGS="$ac_save_CPPFLAGS"
9892 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
9893 case "x$with_xml" in
9894 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
9895 xno) ;;
9896 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
9897 This is an error since --with-xml was requested." "$LINENO" 5 ;;
9898 esac
9901 if test "x$with_xslt" != "xno"
9902 then
9903 ac_save_CPPFLAGS="$CPPFLAGS"
9904 if test -n "$XSLT_CFLAGS"; then :
9906 elif test -n "$PKG_CONFIG"; then :
9907 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
9909 XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
9910 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
9911 if test -n "$XSLT_LIBS"; then :
9913 elif test -n "$PKG_CONFIG"; then :
9914 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
9916 XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
9917 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
9918 for ac_header in libxslt/pattern.h libxslt/transform.h
9919 do :
9920 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9921 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
9922 # include <libxslt/pattern.h>
9923 #endif
9925 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9926 cat >>confdefs.h <<_ACEOF
9927 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9928 _ACEOF
9932 done
9934 CPPFLAGS="$ac_save_CPPFLAGS"
9935 if test "$ac_cv_header_libxslt_transform_h" = "yes"
9936 then
9937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
9938 $as_echo_n "checking for -lxslt... " >&6; }
9939 if ${ac_cv_lib_soname_xslt+:} false; then :
9940 $as_echo_n "(cached) " >&6
9941 else
9942 ac_check_soname_save_LIBS=$LIBS
9943 LIBS="-lxslt $XSLT_LIBS $LIBS"
9944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9945 /* end confdefs.h. */
9947 /* Override any GCC internal prototype to avoid an error.
9948 Use char because int might match the return type of a GCC
9949 builtin and then its argument prototype would still apply. */
9950 #ifdef __cplusplus
9951 extern "C"
9952 #endif
9953 char xsltCompilePattern ();
9955 main ()
9957 return xsltCompilePattern ();
9959 return 0;
9961 _ACEOF
9962 if ac_fn_c_try_link "$LINENO"; then :
9963 case "$LIBEXT" in
9964 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9965 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'` ;;
9966 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9967 if test "x$ac_cv_lib_soname_xslt" = x; then :
9968 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9969 fi ;;
9970 esac
9972 rm -f core conftest.err conftest.$ac_objext \
9973 conftest$ac_exeext conftest.$ac_ext
9974 LIBS=$ac_check_soname_save_LIBS
9976 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9978 $as_echo "not found" >&6; }
9980 else
9981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
9982 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
9984 cat >>confdefs.h <<_ACEOF
9985 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
9986 _ACEOF
9990 else
9991 XSLT_CFLAGS=""
9994 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9995 case "x$with_xslt" in
9996 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
9997 xno) ;;
9998 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
9999 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
10000 esac
10003 if test "x$with_dbus" != "xno"
10004 then
10005 ac_save_CPPFLAGS="$CPPFLAGS"
10006 if test -n "$DBUS_CFLAGS"; then :
10008 elif test -n "$PKG_CONFIG"; then :
10009 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
10012 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
10013 if test -n "$DBUS_LIBS"; then :
10015 elif test -n "$PKG_CONFIG"; then :
10016 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
10020 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
10021 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
10022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
10023 $as_echo_n "checking for -ldbus-1... " >&6; }
10024 if ${ac_cv_lib_soname_dbus_1+:} false; then :
10025 $as_echo_n "(cached) " >&6
10026 else
10027 ac_check_soname_save_LIBS=$LIBS
10028 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
10029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10030 /* end confdefs.h. */
10032 /* Override any GCC internal prototype to avoid an error.
10033 Use char because int might match the return type of a GCC
10034 builtin and then its argument prototype would still apply. */
10035 #ifdef __cplusplus
10036 extern "C"
10037 #endif
10038 char dbus_connection_close ();
10040 main ()
10042 return dbus_connection_close ();
10044 return 0;
10046 _ACEOF
10047 if ac_fn_c_try_link "$LINENO"; then :
10048 case "$LIBEXT" in
10049 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10050 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'` ;;
10051 *) 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'`
10052 if test "x$ac_cv_lib_soname_dbus_1" = x; then :
10053 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10054 fi ;;
10055 esac
10057 rm -f core conftest.err conftest.$ac_objext \
10058 conftest$ac_exeext conftest.$ac_ext
10059 LIBS=$ac_check_soname_save_LIBS
10061 if test "x$ac_cv_lib_soname_dbus_1" = "x"; then :
10062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10063 $as_echo "not found" >&6; }
10064 DBUS_CFLAGS=""
10065 else
10066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
10067 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
10069 cat >>confdefs.h <<_ACEOF
10070 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
10071 _ACEOF
10075 else
10076 DBUS_CFLAGS=""
10080 CPPFLAGS="$ac_save_CPPFLAGS"
10082 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
10083 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
10084 case "x$with_dbus" in
10085 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
10086 xno) ;;
10087 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
10088 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
10089 esac
10092 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
10093 then
10094 ac_save_CPPFLAGS="$CPPFLAGS"
10095 if test -n "$HAL_CFLAGS"; then :
10097 elif test -n "$PKG_CONFIG"; then :
10098 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
10101 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
10102 if test -n "$HAL_LIBS"; then :
10104 elif test -n "$PKG_CONFIG"; then :
10105 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
10108 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
10109 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
10110 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
10111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
10112 $as_echo_n "checking for -lhal... " >&6; }
10113 if ${ac_cv_lib_soname_hal+:} false; then :
10114 $as_echo_n "(cached) " >&6
10115 else
10116 ac_check_soname_save_LIBS=$LIBS
10117 LIBS="-lhal $HAL_LIBS $LIBS"
10118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10119 /* end confdefs.h. */
10121 /* Override any GCC internal prototype to avoid an error.
10122 Use char because int might match the return type of a GCC
10123 builtin and then its argument prototype would still apply. */
10124 #ifdef __cplusplus
10125 extern "C"
10126 #endif
10127 char libhal_ctx_new ();
10129 main ()
10131 return libhal_ctx_new ();
10133 return 0;
10135 _ACEOF
10136 if ac_fn_c_try_link "$LINENO"; then :
10137 case "$LIBEXT" in
10138 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10139 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'` ;;
10140 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10141 if test "x$ac_cv_lib_soname_hal" = x; then :
10142 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10143 fi ;;
10144 esac
10146 rm -f core conftest.err conftest.$ac_objext \
10147 conftest$ac_exeext conftest.$ac_ext
10148 LIBS=$ac_check_soname_save_LIBS
10150 if test "x$ac_cv_lib_soname_hal" = "x"; then :
10151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10152 $as_echo "not found" >&6; }
10153 HAL_CFLAGS=""
10154 else
10155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
10156 $as_echo "$ac_cv_lib_soname_hal" >&6; }
10158 cat >>confdefs.h <<_ACEOF
10159 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
10160 _ACEOF
10164 else
10165 HAL_CFLAGS=""
10169 CPPFLAGS="$ac_save_CPPFLAGS"
10170 if test "x$ac_cv_lib_soname_hal" = "x" -a \
10171 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
10172 case "x$with_hal" in
10173 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
10174 xno) ;;
10175 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
10176 This is an error since --with-hal was requested." "$LINENO" 5 ;;
10177 esac
10181 if test "x$with_gnutls" != "xno"
10182 then
10183 ac_save_CPPFLAGS="$CPPFLAGS"
10184 if test -n "$GNUTLS_CFLAGS"; then :
10186 elif test -n "$PKG_CONFIG"; then :
10187 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
10190 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
10191 if test -n "$GNUTLS_LIBS"; then :
10193 elif test -n "$PKG_CONFIG"; then :
10194 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
10198 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
10199 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
10200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10201 /* end confdefs.h. */
10202 #include <gnutls/gnutls.h>
10204 main ()
10206 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
10208 return 0;
10210 _ACEOF
10211 if ac_fn_c_try_compile "$LINENO"; then :
10212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
10213 $as_echo_n "checking for -lgnutls... " >&6; }
10214 if ${ac_cv_lib_soname_gnutls+:} false; then :
10215 $as_echo_n "(cached) " >&6
10216 else
10217 ac_check_soname_save_LIBS=$LIBS
10218 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
10219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10220 /* end confdefs.h. */
10222 /* Override any GCC internal prototype to avoid an error.
10223 Use char because int might match the return type of a GCC
10224 builtin and then its argument prototype would still apply. */
10225 #ifdef __cplusplus
10226 extern "C"
10227 #endif
10228 char gnutls_global_init ();
10230 main ()
10232 return gnutls_global_init ();
10234 return 0;
10236 _ACEOF
10237 if ac_fn_c_try_link "$LINENO"; then :
10238 case "$LIBEXT" in
10239 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10240 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'` ;;
10241 *) ac_cv_lib_soname_gnutls=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10242 if test "x$ac_cv_lib_soname_gnutls" = x; then :
10243 ac_cv_lib_soname_gnutls=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10244 fi ;;
10245 esac
10247 rm -f core conftest.err conftest.$ac_objext \
10248 conftest$ac_exeext conftest.$ac_ext
10249 LIBS=$ac_check_soname_save_LIBS
10251 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
10252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10253 $as_echo "not found" >&6; }
10254 GNUTLS_CFLAGS=""
10255 else
10256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
10257 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
10259 cat >>confdefs.h <<_ACEOF
10260 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
10261 _ACEOF
10266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10267 else
10268 GNUTLS_CFLAGS=""
10272 CPPFLAGS="$ac_save_CPPFLAGS"
10274 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
10275 case "x$with_gnutls" in
10276 x) as_fn_append wine_notices "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
10277 xno) ;;
10278 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
10279 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
10280 esac
10283 CURSESLIBS=""
10284 if test "$ac_cv_header_ncurses_h" = "yes"
10285 then
10286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
10287 $as_echo_n "checking for -lncurses... " >&6; }
10288 if ${ac_cv_lib_soname_ncurses+:} false; then :
10289 $as_echo_n "(cached) " >&6
10290 else
10291 ac_check_soname_save_LIBS=$LIBS
10292 LIBS="-lncurses $LIBS"
10293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10294 /* end confdefs.h. */
10296 /* Override any GCC internal prototype to avoid an error.
10297 Use char because int might match the return type of a GCC
10298 builtin and then its argument prototype would still apply. */
10299 #ifdef __cplusplus
10300 extern "C"
10301 #endif
10302 char waddch ();
10304 main ()
10306 return waddch ();
10308 return 0;
10310 _ACEOF
10311 if ac_fn_c_try_link "$LINENO"; then :
10312 case "$LIBEXT" in
10313 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10314 dylib) ac_cv_lib_soname_ncurses=`otool -L conftest$ac_exeext | grep "libncurses\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libncurses\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10315 *) ac_cv_lib_soname_ncurses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10316 if test "x$ac_cv_lib_soname_ncurses" = x; then :
10317 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10318 fi ;;
10319 esac
10321 rm -f core conftest.err conftest.$ac_objext \
10322 conftest$ac_exeext conftest.$ac_ext
10323 LIBS=$ac_check_soname_save_LIBS
10325 if test "x$ac_cv_lib_soname_ncurses" = "x"; then :
10326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10327 $as_echo "not found" >&6; }
10329 else
10330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
10331 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
10333 cat >>confdefs.h <<_ACEOF
10334 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
10335 _ACEOF
10337 CURSESLIBS="-lncurses"
10339 elif test "$ac_cv_header_curses_h" = "yes"
10340 then
10341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
10342 $as_echo_n "checking for -lcurses... " >&6; }
10343 if ${ac_cv_lib_soname_curses+:} false; then :
10344 $as_echo_n "(cached) " >&6
10345 else
10346 ac_check_soname_save_LIBS=$LIBS
10347 LIBS="-lcurses $LIBS"
10348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10349 /* end confdefs.h. */
10351 /* Override any GCC internal prototype to avoid an error.
10352 Use char because int might match the return type of a GCC
10353 builtin and then its argument prototype would still apply. */
10354 #ifdef __cplusplus
10355 extern "C"
10356 #endif
10357 char waddch ();
10359 main ()
10361 return waddch ();
10363 return 0;
10365 _ACEOF
10366 if ac_fn_c_try_link "$LINENO"; then :
10367 case "$LIBEXT" in
10368 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10369 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'` ;;
10370 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10371 if test "x$ac_cv_lib_soname_curses" = x; then :
10372 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10373 fi ;;
10374 esac
10376 rm -f core conftest.err conftest.$ac_objext \
10377 conftest$ac_exeext conftest.$ac_ext
10378 LIBS=$ac_check_soname_save_LIBS
10380 if test "x$ac_cv_lib_soname_curses" = "x"; then :
10381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10382 $as_echo "not found" >&6; }
10384 else
10385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
10386 $as_echo "$ac_cv_lib_soname_curses" >&6; }
10388 cat >>confdefs.h <<_ACEOF
10389 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
10390 _ACEOF
10392 CURSESLIBS="-lcurses"
10395 ac_save_LIBS="$LIBS"
10396 LIBS="$LIBS $CURSESLIBS"
10397 for ac_func in mousemask
10398 do :
10399 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
10400 if test "x$ac_cv_func_mousemask" = xyes; then :
10401 cat >>confdefs.h <<_ACEOF
10402 #define HAVE_MOUSEMASK 1
10403 _ACEOF
10406 done
10408 LIBS="$ac_save_LIBS"
10409 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
10410 case "x$with_curses" in
10411 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
10412 xno) ;;
10413 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
10414 This is an error since --with-curses was requested." "$LINENO" 5 ;;
10415 esac
10418 if test "x$with_sane" != "xno"
10419 then
10420 ac_save_CPPFLAGS="$CPPFLAGS"
10421 if test -n "$SANE_CFLAGS"; then :
10423 elif test -n "$PKG_CONFIG"; then :
10424 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
10426 SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
10427 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
10428 if test -n "$SANE_LIBS"; then :
10430 elif test -n "$PKG_CONFIG"; then :
10431 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
10433 SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
10435 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
10436 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
10437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
10438 $as_echo_n "checking for -lsane... " >&6; }
10439 if ${ac_cv_lib_soname_sane+:} false; then :
10440 $as_echo_n "(cached) " >&6
10441 else
10442 ac_check_soname_save_LIBS=$LIBS
10443 LIBS="-lsane $SANE_LIBS $LIBS"
10444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10445 /* end confdefs.h. */
10447 /* Override any GCC internal prototype to avoid an error.
10448 Use char because int might match the return type of a GCC
10449 builtin and then its argument prototype would still apply. */
10450 #ifdef __cplusplus
10451 extern "C"
10452 #endif
10453 char sane_init ();
10455 main ()
10457 return sane_init ();
10459 return 0;
10461 _ACEOF
10462 if ac_fn_c_try_link "$LINENO"; then :
10463 case "$LIBEXT" in
10464 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10465 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'` ;;
10466 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10467 if test "x$ac_cv_lib_soname_sane" = x; then :
10468 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10469 fi ;;
10470 esac
10472 rm -f core conftest.err conftest.$ac_objext \
10473 conftest$ac_exeext conftest.$ac_ext
10474 LIBS=$ac_check_soname_save_LIBS
10476 if test "x$ac_cv_lib_soname_sane" = "x"; then :
10477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10478 $as_echo "not found" >&6; }
10479 SANE_CFLAGS=""
10480 else
10481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
10482 $as_echo "$ac_cv_lib_soname_sane" >&6; }
10484 cat >>confdefs.h <<_ACEOF
10485 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
10486 _ACEOF
10490 else
10491 SANE_CFLAGS=""
10495 CPPFLAGS="$ac_save_CPPFLAGS"
10497 if test "x$ac_cv_lib_soname_sane" = "x"; then :
10498 case "x$with_sane" in
10499 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
10500 xno) ;;
10501 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
10502 This is an error since --with-sane was requested." "$LINENO" 5 ;;
10503 esac
10506 if test "x$with_v4l" != "xno"
10507 then
10508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
10509 $as_echo_n "checking for -lv4l1... " >&6; }
10510 if ${ac_cv_lib_soname_v4l1+:} false; then :
10511 $as_echo_n "(cached) " >&6
10512 else
10513 ac_check_soname_save_LIBS=$LIBS
10514 LIBS="-lv4l1 $LIBS"
10515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10516 /* end confdefs.h. */
10518 /* Override any GCC internal prototype to avoid an error.
10519 Use char because int might match the return type of a GCC
10520 builtin and then its argument prototype would still apply. */
10521 #ifdef __cplusplus
10522 extern "C"
10523 #endif
10524 char v4l1_open ();
10526 main ()
10528 return v4l1_open ();
10530 return 0;
10532 _ACEOF
10533 if ac_fn_c_try_link "$LINENO"; then :
10534 case "$LIBEXT" in
10535 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10536 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'` ;;
10537 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10538 if test "x$ac_cv_lib_soname_v4l1" = x; then :
10539 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10540 fi ;;
10541 esac
10543 rm -f core conftest.err conftest.$ac_objext \
10544 conftest$ac_exeext conftest.$ac_ext
10545 LIBS=$ac_check_soname_save_LIBS
10547 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
10548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10549 $as_echo "not found" >&6; }
10551 else
10552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
10553 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
10555 cat >>confdefs.h <<_ACEOF
10556 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
10557 _ACEOF
10562 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
10563 case "x$with_v4l" in
10564 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
10565 xno) ;;
10566 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
10567 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
10568 esac
10571 if test "x$with_gphoto" != "xno"
10572 then
10573 ac_save_CPPFLAGS="$CPPFLAGS"
10574 if test -n "$GPHOTO2_CFLAGS"; then :
10576 elif test -n "$PKG_CONFIG"; then :
10577 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
10579 GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
10580 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
10581 if test -n "$GPHOTO2_LIBS"; then :
10583 elif test -n "$PKG_CONFIG"; then :
10584 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
10586 GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
10587 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
10588 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
10589 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
10590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
10591 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
10592 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
10593 $as_echo_n "(cached) " >&6
10594 else
10595 ac_check_lib_save_LIBS=$LIBS
10596 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
10597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10598 /* end confdefs.h. */
10600 /* Override any GCC internal prototype to avoid an error.
10601 Use char because int might match the return type of a GCC
10602 builtin and then its argument prototype would still apply. */
10603 #ifdef __cplusplus
10604 extern "C"
10605 #endif
10606 char gp_camera_new ();
10608 main ()
10610 return gp_camera_new ();
10612 return 0;
10614 _ACEOF
10615 if ac_fn_c_try_link "$LINENO"; then :
10616 ac_cv_lib_gphoto2_gp_camera_new=yes
10617 else
10618 ac_cv_lib_gphoto2_gp_camera_new=no
10620 rm -f core conftest.err conftest.$ac_objext \
10621 conftest$ac_exeext conftest.$ac_ext
10622 LIBS=$ac_check_lib_save_LIBS
10624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
10625 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
10626 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
10628 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
10630 else
10631 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
10634 else
10635 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
10639 if test -n "$GPHOTO2_PORT_CFLAGS"; then :
10641 elif test -n "$PKG_CONFIG"; then :
10642 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
10644 GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
10645 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
10646 if test -n "$GPHOTO2_PORT_LIBS"; then :
10648 elif test -n "$PKG_CONFIG"; then :
10649 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
10651 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
10652 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
10653 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
10654 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
10655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
10656 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
10657 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
10658 $as_echo_n "(cached) " >&6
10659 else
10660 ac_check_lib_save_LIBS=$LIBS
10661 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
10662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10663 /* end confdefs.h. */
10665 /* Override any GCC internal prototype to avoid an error.
10666 Use char because int might match the return type of a GCC
10667 builtin and then its argument prototype would still apply. */
10668 #ifdef __cplusplus
10669 extern "C"
10670 #endif
10671 char gp_port_info_list_new ();
10673 main ()
10675 return gp_port_info_list_new ();
10677 return 0;
10679 _ACEOF
10680 if ac_fn_c_try_link "$LINENO"; then :
10681 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
10682 else
10683 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
10685 rm -f core conftest.err conftest.$ac_objext \
10686 conftest$ac_exeext conftest.$ac_ext
10687 LIBS=$ac_check_lib_save_LIBS
10689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
10690 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
10691 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
10693 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
10695 else
10696 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
10699 else
10700 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
10704 CPPFLAGS="$ac_save_CPPFLAGS"
10706 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
10707 case "x$with_gphoto" in
10708 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
10709 xno) ;;
10710 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
10711 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
10712 esac
10714 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
10715 case "x$with_gphoto" in
10716 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
10717 xno) ;;
10718 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
10719 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
10720 esac
10724 if test "$ac_cv_header_resolv_h" = "yes"
10725 then
10726 ac_save_LIBS="$LIBS"
10727 for lib in '' -lresolv
10729 LIBS="$lib $ac_save_LIBS"
10730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10731 /* end confdefs.h. */
10732 #ifdef HAVE_NETINET_IN_H
10733 #include <netinet/in.h>
10734 #endif
10735 #include <resolv.h>
10737 main ()
10739 res_query("foo",ns_c_in,0,0,0);
10741 return 0;
10743 _ACEOF
10744 if ac_fn_c_try_link "$LINENO"; then :
10746 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
10748 RESOLVLIBS="$lib"
10751 rm -f core conftest.err conftest.$ac_objext \
10752 conftest$ac_exeext conftest.$ac_ext
10753 if test "${RESOLVLIBS+set}" = set; then
10754 break
10756 done
10757 LIBS="$ac_save_LIBS"
10760 if test "x$with_lcms" != "xno"
10761 then
10762 ac_save_CPPFLAGS="$CPPFLAGS"
10763 if test -n "$LCMS_CFLAGS"; then :
10765 elif test -n "$PKG_CONFIG"; then :
10766 LCMS_CFLAGS=`$PKG_CONFIG --cflags lcms 2>/dev/null`
10769 CPPFLAGS="$CPPFLAGS $LCMS_CFLAGS"
10770 if test -n "$LCMS_LIBS"; then :
10772 elif test -n "$PKG_CONFIG"; then :
10773 LCMS_LIBS=`$PKG_CONFIG --libs lcms 2>/dev/null`
10776 LCMS_LIBS=${LCMS_LIBS:-"-llcms"}
10777 for ac_header in lcms.h lcms/lcms.h
10778 do :
10779 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10780 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10781 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10782 cat >>confdefs.h <<_ACEOF
10783 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10784 _ACEOF
10788 done
10790 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
10791 then
10792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms" >&5
10793 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms... " >&6; }
10794 if ${ac_cv_lib_lcms_cmsOpenProfileFromFile+:} false; then :
10795 $as_echo_n "(cached) " >&6
10796 else
10797 ac_check_lib_save_LIBS=$LIBS
10798 LIBS="-llcms $LIBS"
10799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10800 /* end confdefs.h. */
10802 /* Override any GCC internal prototype to avoid an error.
10803 Use char because int might match the return type of a GCC
10804 builtin and then its argument prototype would still apply. */
10805 #ifdef __cplusplus
10806 extern "C"
10807 #endif
10808 char cmsOpenProfileFromFile ();
10810 main ()
10812 return cmsOpenProfileFromFile ();
10814 return 0;
10816 _ACEOF
10817 if ac_fn_c_try_link "$LINENO"; then :
10818 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
10819 else
10820 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
10822 rm -f core conftest.err conftest.$ac_objext \
10823 conftest$ac_exeext conftest.$ac_ext
10824 LIBS=$ac_check_lib_save_LIBS
10826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
10827 $as_echo "$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
10828 if test "x$ac_cv_lib_lcms_cmsOpenProfileFromFile" = xyes; then :
10830 $as_echo "#define HAVE_LCMS 1" >>confdefs.h
10832 else
10833 LCMS_LIBS=""
10836 else
10837 LCMS_CFLAGS=""
10838 LCMS_LIBS=""
10840 CPPFLAGS="$ac_save_CPPFLAGS"
10842 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then :
10843 case "x$with_cms" in
10844 x) as_fn_append wine_notices "|liblcms ${notice_platform}development files not found, Color Management won't be supported." ;;
10845 xno) ;;
10846 *) as_fn_error $? "liblcms ${notice_platform}development files not found, Color Management won't be supported.
10847 This is an error since --with-cms was requested." "$LINENO" 5 ;;
10848 esac
10851 if test "x$with_freetype" != "xno"
10852 then
10853 ac_save_CPPFLAGS="$CPPFLAGS"
10854 if test -n "$FREETYPE_CFLAGS"; then :
10856 elif test -n "$PKG_CONFIG"; then :
10857 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
10859 FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
10860 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
10861 if test -n "$FREETYPE_LIBS"; then :
10863 elif test -n "$PKG_CONFIG"; then :
10864 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
10866 FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
10867 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
10868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
10869 $as_echo_n "checking for -lfreetype... " >&6; }
10870 if ${ac_cv_lib_soname_freetype+:} false; then :
10871 $as_echo_n "(cached) " >&6
10872 else
10873 ac_check_soname_save_LIBS=$LIBS
10874 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
10875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10876 /* end confdefs.h. */
10878 /* Override any GCC internal prototype to avoid an error.
10879 Use char because int might match the return type of a GCC
10880 builtin and then its argument prototype would still apply. */
10881 #ifdef __cplusplus
10882 extern "C"
10883 #endif
10884 char FT_Init_FreeType ();
10886 main ()
10888 return FT_Init_FreeType ();
10890 return 0;
10892 _ACEOF
10893 if ac_fn_c_try_link "$LINENO"; then :
10894 case "$LIBEXT" in
10895 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10896 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'` ;;
10897 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10898 if test "x$ac_cv_lib_soname_freetype" = x; then :
10899 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10900 fi ;;
10901 esac
10903 rm -f core conftest.err conftest.$ac_objext \
10904 conftest$ac_exeext conftest.$ac_ext
10905 LIBS=$ac_check_soname_save_LIBS
10907 if test "x$ac_cv_lib_soname_freetype" = "x"; then :
10908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10909 $as_echo "not found" >&6; }
10910 ft_lib=no
10911 else
10912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
10913 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
10915 cat >>confdefs.h <<_ACEOF
10916 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
10917 _ACEOF
10919 ft_lib=yes
10921 if test "$ft_lib" = "yes"
10922 then
10923 for ac_header in ft2build.h \
10924 freetype/freetype.h \
10925 freetype/ftglyph.h \
10926 freetype/fttypes.h \
10927 freetype/tttables.h \
10928 freetype/ftsnames.h \
10929 freetype/ttnameid.h \
10930 freetype/ftoutln.h \
10931 freetype/ftwinfnt.h \
10932 freetype/ftmodapi.h \
10933 freetype/ftlcdfil.h
10934 do :
10935 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10936 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_FT2BUILD_H
10937 # include <ft2build.h>
10938 #endif
10940 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10941 cat >>confdefs.h <<_ACEOF
10942 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10943 _ACEOF
10947 done
10949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10950 /* end confdefs.h. */
10951 #include <ft2build.h>
10952 #include <freetype/fttrigon.h>
10953 _ACEOF
10954 if ac_fn_c_try_cpp "$LINENO"; then :
10956 $as_echo "#define HAVE_FREETYPE_FTTRIGON_H 1" >>confdefs.h
10958 wine_cv_fttrigon=yes
10959 else
10960 wine_cv_fttrigon=no
10962 rm -f conftest.err conftest.i conftest.$ac_ext
10963 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <freetype/ftmodapi.h>
10965 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
10967 cat >>confdefs.h <<_ACEOF
10968 #define HAVE_FT_TRUETYPEENGINETYPE 1
10969 _ACEOF
10974 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
10975 then
10977 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
10979 else
10980 FREETYPE_LIBS=""
10982 else
10983 FREETYPE_LIBS=""
10985 CPPFLAGS="$ac_save_CPPFLAGS"
10987 if test "x$ac_cv_header_freetype_freetype_h" != xyes -o "x$wine_cv_fttrigon" != xyes; then :
10988 case "x$with_freetype" in
10989 xno) ;;
10990 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
10991 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
10992 esac
10994 test "x$ac_cv_header_freetype_freetype_h" = xyes -a "x$wine_cv_fttrigon" = xyes || enable_fonts=${enable_fonts:-no}
10996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
10997 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
10998 if ${ac_cv_c_ppdev+:} false; then :
10999 $as_echo_n "(cached) " >&6
11000 else
11001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11002 /* end confdefs.h. */
11003 #ifdef HAVE_SYS_IOCTL_H
11004 # include <sys/ioctl.h>
11005 #endif
11006 #include <linux/ppdev.h>
11008 main ()
11010 ioctl (1,PPCLAIM,0)
11012 return 0;
11014 _ACEOF
11015 if ac_fn_c_try_compile "$LINENO"; then :
11016 ac_cv_c_ppdev="yes"
11017 else
11018 ac_cv_c_ppdev="no"
11020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
11023 $as_echo "$ac_cv_c_ppdev" >&6; }
11024 if test "$ac_cv_c_ppdev" = "yes"
11025 then
11027 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
11031 ac_wine_check_funcs_save_LIBS="$LIBS"
11032 LIBS="$LIBS $LIBPTHREAD"
11033 for ac_func in \
11034 pthread_attr_get_np \
11035 pthread_getattr_np \
11036 pthread_getthreadid_np \
11037 pthread_get_stackaddr_np \
11038 pthread_get_stacksize_np
11039 do :
11040 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11041 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
11042 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
11043 cat >>confdefs.h <<_ACEOF
11044 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11045 _ACEOF
11048 done
11050 LIBS="$ac_wine_check_funcs_save_LIBS"
11052 if test "$ac_cv_header_zlib_h" = "yes"
11053 then
11054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
11055 $as_echo_n "checking for inflate in -lz... " >&6; }
11056 if ${ac_cv_lib_z_inflate+:} false; then :
11057 $as_echo_n "(cached) " >&6
11058 else
11059 ac_check_lib_save_LIBS=$LIBS
11060 LIBS="-lz $LIBS"
11061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11062 /* end confdefs.h. */
11064 /* Override any GCC internal prototype to avoid an error.
11065 Use char because int might match the return type of a GCC
11066 builtin and then its argument prototype would still apply. */
11067 #ifdef __cplusplus
11068 extern "C"
11069 #endif
11070 char inflate ();
11072 main ()
11074 return inflate ();
11076 return 0;
11078 _ACEOF
11079 if ac_fn_c_try_link "$LINENO"; then :
11080 ac_cv_lib_z_inflate=yes
11081 else
11082 ac_cv_lib_z_inflate=no
11084 rm -f core conftest.err conftest.$ac_objext \
11085 conftest$ac_exeext conftest.$ac_ext
11086 LIBS=$ac_check_lib_save_LIBS
11088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
11089 $as_echo "$ac_cv_lib_z_inflate" >&6; }
11090 if test "x$ac_cv_lib_z_inflate" = xyes; then :
11092 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
11094 ZLIB="-lz"
11099 if test "x$ZLIB" = "x"; then :
11100 case "x$with_zlib" in
11101 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
11102 xno) ;;
11103 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
11104 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
11105 esac
11108 if test "x$enable_tools" != xno
11109 then
11110 if test "$ac_cv_header_gettext_po_h" = "yes"
11111 then
11112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
11113 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
11114 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
11115 $as_echo_n "(cached) " >&6
11116 else
11117 ac_check_lib_save_LIBS=$LIBS
11118 LIBS="-lgettextpo $LIBS"
11119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11120 /* end confdefs.h. */
11122 /* Override any GCC internal prototype to avoid an error.
11123 Use char because int might match the return type of a GCC
11124 builtin and then its argument prototype would still apply. */
11125 #ifdef __cplusplus
11126 extern "C"
11127 #endif
11128 char po_message_msgctxt ();
11130 main ()
11132 return po_message_msgctxt ();
11134 return 0;
11136 _ACEOF
11137 if ac_fn_c_try_link "$LINENO"; then :
11138 ac_cv_lib_gettextpo_po_message_msgctxt=yes
11139 else
11140 ac_cv_lib_gettextpo_po_message_msgctxt=no
11142 rm -f core conftest.err conftest.$ac_objext \
11143 conftest$ac_exeext conftest.$ac_ext
11144 LIBS=$ac_check_lib_save_LIBS
11146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
11147 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
11148 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
11150 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
11152 LIBGETTEXTPO="-lgettextpo"
11157 test "x$with_gettextpo" != xyes || if test "x$LIBGETTEXTPO" = "x"; then :
11158 case "x$with_gettextpo" in
11159 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
11160 xno) ;;
11161 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
11162 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
11163 esac
11167 if test "x$with_gstreamer" != "xno"
11168 then
11169 ac_save_CPPFLAGS="$CPPFLAGS"
11170 if test -n "$GSTREAMER_CFLAGS"; then :
11172 elif test -n "$PKG_CONFIG"; then :
11173 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
11176 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
11177 if test -n "$GSTREAMER_LIBS"; then :
11179 elif test -n "$PKG_CONFIG"; then :
11180 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
11184 ac_gst_incl=""
11185 for i in $GSTREAMER_CFLAGS
11187 case "$i" in
11188 -I*) ac_gst_incl="$ac_gst_incl $i";;
11189 esac
11190 done
11191 GSTREAMER_CFLAGS=$ac_gst_incl
11192 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
11193 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
11194 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
11195 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
11196 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
11197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
11198 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
11199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11200 /* end confdefs.h. */
11201 #include <gst/app/gstappsink.h>
11203 main ()
11205 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
11207 return 0;
11209 _ACEOF
11210 if ac_fn_c_try_compile "$LINENO"; then :
11211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11212 $as_echo "yes" >&6; }
11213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
11214 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
11215 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
11216 $as_echo_n "(cached) " >&6
11217 else
11218 ac_check_lib_save_LIBS=$LIBS
11219 LIBS="-lgstreamer-0.10 $LIBS"
11220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11221 /* end confdefs.h. */
11223 /* Override any GCC internal prototype to avoid an error.
11224 Use char because int might match the return type of a GCC
11225 builtin and then its argument prototype would still apply. */
11226 #ifdef __cplusplus
11227 extern "C"
11228 #endif
11229 char gst_pad_get_caps_reffed ();
11231 main ()
11233 return gst_pad_get_caps_reffed ();
11235 return 0;
11237 _ACEOF
11238 if ac_fn_c_try_link "$LINENO"; then :
11239 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
11240 else
11241 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
11243 rm -f core conftest.err conftest.$ac_objext \
11244 conftest$ac_exeext conftest.$ac_ext
11245 LIBS=$ac_check_lib_save_LIBS
11247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
11248 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
11249 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
11250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
11251 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
11252 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
11253 $as_echo_n "(cached) " >&6
11254 else
11255 ac_check_lib_save_LIBS=$LIBS
11256 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
11257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11258 /* end confdefs.h. */
11260 /* Override any GCC internal prototype to avoid an error.
11261 Use char because int might match the return type of a GCC
11262 builtin and then its argument prototype would still apply. */
11263 #ifdef __cplusplus
11264 extern "C"
11265 #endif
11266 char gst_app_buffer_new ();
11268 main ()
11270 return gst_app_buffer_new ();
11272 return 0;
11274 _ACEOF
11275 if ac_fn_c_try_link "$LINENO"; then :
11276 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
11277 else
11278 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
11280 rm -f core conftest.err conftest.$ac_objext \
11281 conftest$ac_exeext conftest.$ac_ext
11282 LIBS=$ac_check_lib_save_LIBS
11284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
11285 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
11286 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
11292 else
11293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11294 $as_echo "no" >&6; }
11296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11300 else
11301 GSTREAMER_CFLAGS=""
11305 CPPFLAGS="$ac_save_CPPFLAGS"
11307 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
11308 case "x$with_gstreamer" in
11309 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
11310 xno) ;;
11311 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
11312 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
11313 esac
11315 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
11317 ALSALIBS=""
11319 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
11320 then
11321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
11322 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
11323 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
11324 $as_echo_n "(cached) " >&6
11325 else
11326 ac_check_lib_save_LIBS=$LIBS
11327 LIBS="-lasound $LIBS"
11328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11329 /* end confdefs.h. */
11331 /* Override any GCC internal prototype to avoid an error.
11332 Use char because int might match the return type of a GCC
11333 builtin and then its argument prototype would still apply. */
11334 #ifdef __cplusplus
11335 extern "C"
11336 #endif
11337 char snd_pcm_hw_params_get_access_mask ();
11339 main ()
11341 return snd_pcm_hw_params_get_access_mask ();
11343 return 0;
11345 _ACEOF
11346 if ac_fn_c_try_link "$LINENO"; then :
11347 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
11348 else
11349 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
11351 rm -f core conftest.err conftest.$ac_objext \
11352 conftest$ac_exeext conftest.$ac_ext
11353 LIBS=$ac_check_lib_save_LIBS
11355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
11356 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
11357 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
11358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11359 /* end confdefs.h. */
11360 #ifdef HAVE_ALSA_ASOUNDLIB_H
11361 #include <alsa/asoundlib.h>
11362 #elif defined(HAVE_SYS_ASOUNDLIB_H)
11363 #include <sys/asoundlib.h>
11364 #endif
11366 main ()
11368 snd_pcm_hw_params_get_access_mask(NULL, NULL)
11370 return 0;
11372 _ACEOF
11373 if ac_fn_c_try_compile "$LINENO"; then :
11374 ALSALIBS="-lasound"
11376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11381 if test "x$with_oss" != xno
11382 then
11383 ac_save_CPPFLAGS="$CPPFLAGS"
11384 if test -f /etc/oss.conf
11385 then
11386 . /etc/oss.conf
11388 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
11389 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
11390 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
11391 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
11392 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
11394 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
11396 cat >>confdefs.h <<_ACEOF
11397 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
11398 _ACEOF
11400 OSS4INCL="$ac_oss_incl"
11407 CPPFLAGS="$ac_save_CPPFLAGS"
11408 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
11409 then
11410 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
11415 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
11416 then
11417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
11418 $as_echo_n "checking for -lcapi20... " >&6; }
11419 if ${ac_cv_lib_soname_capi20+:} false; then :
11420 $as_echo_n "(cached) " >&6
11421 else
11422 ac_check_soname_save_LIBS=$LIBS
11423 LIBS="-lcapi20 $LIBS"
11424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11425 /* end confdefs.h. */
11427 /* Override any GCC internal prototype to avoid an error.
11428 Use char because int might match the return type of a GCC
11429 builtin and then its argument prototype would still apply. */
11430 #ifdef __cplusplus
11431 extern "C"
11432 #endif
11433 char capi20_register ();
11435 main ()
11437 return capi20_register ();
11439 return 0;
11441 _ACEOF
11442 if ac_fn_c_try_link "$LINENO"; then :
11443 case "$LIBEXT" in
11444 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11445 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'` ;;
11446 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11447 if test "x$ac_cv_lib_soname_capi20" = x; then :
11448 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11449 fi ;;
11450 esac
11452 rm -f core conftest.err conftest.$ac_objext \
11453 conftest$ac_exeext conftest.$ac_ext
11454 LIBS=$ac_check_soname_save_LIBS
11456 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
11457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11458 $as_echo "not found" >&6; }
11460 else
11461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
11462 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
11464 cat >>confdefs.h <<_ACEOF
11465 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
11466 _ACEOF
11471 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
11472 case "x$with_capi" in
11473 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
11474 xno) ;;
11475 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
11476 This is an error since --with-capi was requested." "$LINENO" 5 ;;
11477 esac
11480 CUPSINCL=""
11482 if test "x$with_cups" != "xno"
11483 then
11484 ac_save_CPPFLAGS="$CPPFLAGS"
11485 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
11486 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
11487 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
11488 for ac_header in cups/cups.h
11489 do :
11490 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
11491 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
11492 cat >>confdefs.h <<_ACEOF
11493 #define HAVE_CUPS_CUPS_H 1
11494 _ACEOF
11495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
11496 $as_echo_n "checking for -lcups... " >&6; }
11497 if ${ac_cv_lib_soname_cups+:} false; then :
11498 $as_echo_n "(cached) " >&6
11499 else
11500 ac_check_soname_save_LIBS=$LIBS
11501 LIBS="-lcups $ac_cups_libs $LIBS"
11502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11503 /* end confdefs.h. */
11505 /* Override any GCC internal prototype to avoid an error.
11506 Use char because int might match the return type of a GCC
11507 builtin and then its argument prototype would still apply. */
11508 #ifdef __cplusplus
11509 extern "C"
11510 #endif
11511 char cupsGetDefault ();
11513 main ()
11515 return cupsGetDefault ();
11517 return 0;
11519 _ACEOF
11520 if ac_fn_c_try_link "$LINENO"; then :
11521 case "$LIBEXT" in
11522 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11523 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'` ;;
11524 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11525 if test "x$ac_cv_lib_soname_cups" = x; then :
11526 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11527 fi ;;
11528 esac
11530 rm -f core conftest.err conftest.$ac_objext \
11531 conftest$ac_exeext conftest.$ac_ext
11532 LIBS=$ac_check_soname_save_LIBS
11534 if test "x$ac_cv_lib_soname_cups" = "x"; then :
11535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11536 $as_echo "not found" >&6; }
11538 else
11539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
11540 $as_echo "$ac_cv_lib_soname_cups" >&6; }
11542 cat >>confdefs.h <<_ACEOF
11543 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
11544 _ACEOF
11546 CUPSINCL="$ac_cups_cflags"
11550 done
11552 CPPFLAGS="$ac_save_CPPFLAGS"
11554 if test "x$ac_cv_lib_soname_cups" = "x"; then :
11555 case "x$with_cups" in
11556 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
11557 xno) ;;
11558 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
11559 This is an error since --with-cups was requested." "$LINENO" 5 ;;
11560 esac
11563 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
11564 then
11565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
11566 $as_echo_n "checking for -lfontconfig... " >&6; }
11567 if ${ac_cv_lib_soname_fontconfig+:} false; then :
11568 $as_echo_n "(cached) " >&6
11569 else
11570 ac_check_soname_save_LIBS=$LIBS
11571 LIBS="-lfontconfig $LIBS"
11572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11573 /* end confdefs.h. */
11575 /* Override any GCC internal prototype to avoid an error.
11576 Use char because int might match the return type of a GCC
11577 builtin and then its argument prototype would still apply. */
11578 #ifdef __cplusplus
11579 extern "C"
11580 #endif
11581 char FcInit ();
11583 main ()
11585 return FcInit ();
11587 return 0;
11589 _ACEOF
11590 if ac_fn_c_try_link "$LINENO"; then :
11591 case "$LIBEXT" in
11592 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11593 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'` ;;
11594 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11595 if test "x$ac_cv_lib_soname_fontconfig" = x; then :
11596 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11597 fi ;;
11598 esac
11600 rm -f core conftest.err conftest.$ac_objext \
11601 conftest$ac_exeext conftest.$ac_ext
11602 LIBS=$ac_check_soname_save_LIBS
11604 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11606 $as_echo "not found" >&6; }
11608 else
11609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
11610 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
11612 cat >>confdefs.h <<_ACEOF
11613 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
11614 _ACEOF
11618 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
11619 then
11620 ac_save_CPPFLAGS="$CPPFLAGS"
11621 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11622 $as_unset ac_cv_header_fontconfig_fontconfig_h
11623 for ac_header in fontconfig/fontconfig.h
11624 do :
11625 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
11626 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
11627 cat >>confdefs.h <<_ACEOF
11628 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
11629 _ACEOF
11633 done
11635 CPPFLAGS="$ac_save_CPPFLAGS"
11636 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
11637 then
11638 FONTCONFIGINCL="$X_CFLAGS"
11640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
11641 $as_echo_n "checking for -lfontconfig... " >&6; }
11642 if ${ac_cv_lib_soname_fontconfig+:} false; then :
11643 $as_echo_n "(cached) " >&6
11644 else
11645 ac_check_soname_save_LIBS=$LIBS
11646 LIBS="-lfontconfig $X_LIBS $LIBS"
11647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11648 /* end confdefs.h. */
11650 /* Override any GCC internal prototype to avoid an error.
11651 Use char because int might match the return type of a GCC
11652 builtin and then its argument prototype would still apply. */
11653 #ifdef __cplusplus
11654 extern "C"
11655 #endif
11656 char FcInit ();
11658 main ()
11660 return FcInit ();
11662 return 0;
11664 _ACEOF
11665 if ac_fn_c_try_link "$LINENO"; then :
11666 case "$LIBEXT" in
11667 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11668 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'` ;;
11669 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11670 if test "x$ac_cv_lib_soname_fontconfig" = x; then :
11671 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11672 fi ;;
11673 esac
11675 rm -f core conftest.err conftest.$ac_objext \
11676 conftest$ac_exeext conftest.$ac_ext
11677 LIBS=$ac_check_soname_save_LIBS
11679 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11681 $as_echo "not found" >&6; }
11683 else
11684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
11685 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
11687 cat >>confdefs.h <<_ACEOF
11688 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
11689 _ACEOF
11695 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11696 case "x$with_fontconfig" in
11697 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
11698 xno) ;;
11699 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
11700 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
11701 esac
11704 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
11705 then
11706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
11707 $as_echo_n "checking for -lgsm... " >&6; }
11708 if ${ac_cv_lib_soname_gsm+:} false; then :
11709 $as_echo_n "(cached) " >&6
11710 else
11711 ac_check_soname_save_LIBS=$LIBS
11712 LIBS="-lgsm $LIBS"
11713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11714 /* end confdefs.h. */
11716 /* Override any GCC internal prototype to avoid an error.
11717 Use char because int might match the return type of a GCC
11718 builtin and then its argument prototype would still apply. */
11719 #ifdef __cplusplus
11720 extern "C"
11721 #endif
11722 char gsm_create ();
11724 main ()
11726 return gsm_create ();
11728 return 0;
11730 _ACEOF
11731 if ac_fn_c_try_link "$LINENO"; then :
11732 case "$LIBEXT" in
11733 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11734 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'` ;;
11735 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11736 if test "x$ac_cv_lib_soname_gsm" = x; then :
11737 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11738 fi ;;
11739 esac
11741 rm -f core conftest.err conftest.$ac_objext \
11742 conftest$ac_exeext conftest.$ac_ext
11743 LIBS=$ac_check_soname_save_LIBS
11745 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11747 $as_echo "not found" >&6; }
11749 else
11750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
11751 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
11753 cat >>confdefs.h <<_ACEOF
11754 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
11755 _ACEOF
11760 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11761 case "x$with_gsm" in
11762 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
11763 xno) ;;
11764 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
11765 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
11766 esac
11769 if test "$ac_cv_header_jpeglib_h" = "yes"
11770 then
11771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
11772 $as_echo_n "checking for -ljpeg... " >&6; }
11773 if ${ac_cv_lib_soname_jpeg+:} false; then :
11774 $as_echo_n "(cached) " >&6
11775 else
11776 ac_check_soname_save_LIBS=$LIBS
11777 LIBS="-ljpeg $LIBS"
11778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11779 /* end confdefs.h. */
11781 /* Override any GCC internal prototype to avoid an error.
11782 Use char because int might match the return type of a GCC
11783 builtin and then its argument prototype would still apply. */
11784 #ifdef __cplusplus
11785 extern "C"
11786 #endif
11787 char jpeg_start_decompress ();
11789 main ()
11791 return jpeg_start_decompress ();
11793 return 0;
11795 _ACEOF
11796 if ac_fn_c_try_link "$LINENO"; then :
11797 case "$LIBEXT" in
11798 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11799 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'` ;;
11800 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11801 if test "x$ac_cv_lib_soname_jpeg" = x; then :
11802 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11803 fi ;;
11804 esac
11806 rm -f core conftest.err conftest.$ac_objext \
11807 conftest$ac_exeext conftest.$ac_ext
11808 LIBS=$ac_check_soname_save_LIBS
11810 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11812 $as_echo "not found" >&6; }
11814 else
11815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
11816 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
11818 cat >>confdefs.h <<_ACEOF
11819 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
11820 _ACEOF
11825 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11826 case "x$with_jpeg" in
11827 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
11828 xno) ;;
11829 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
11830 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
11831 esac
11834 if test "x$with_png" != "xno"
11835 then
11836 ac_save_CPPFLAGS="$CPPFLAGS"
11837 if test -n "$PNG_CFLAGS"; then :
11839 elif test -n "$PKG_CONFIG"; then :
11840 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
11842 PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
11843 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
11844 if test -n "$PNG_LIBS"; then :
11846 elif test -n "$PKG_CONFIG"; then :
11847 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
11849 PNG_LIBS=${PNG_LIBS:-$X_LIBS}
11851 for ac_header in png.h
11852 do :
11853 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
11854 if test "x$ac_cv_header_png_h" = xyes; then :
11855 cat >>confdefs.h <<_ACEOF
11856 #define HAVE_PNG_H 1
11857 _ACEOF
11861 done
11863 if test "$ac_cv_header_png_h" = "yes"
11864 then
11865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11866 $as_echo_n "checking for -lpng... " >&6; }
11867 if ${ac_cv_lib_soname_png+:} false; then :
11868 $as_echo_n "(cached) " >&6
11869 else
11870 ac_check_soname_save_LIBS=$LIBS
11871 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
11872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11873 /* end confdefs.h. */
11875 /* Override any GCC internal prototype to avoid an error.
11876 Use char because int might match the return type of a GCC
11877 builtin and then its argument prototype would still apply. */
11878 #ifdef __cplusplus
11879 extern "C"
11880 #endif
11881 char png_create_read_struct ();
11883 main ()
11885 return png_create_read_struct ();
11887 return 0;
11889 _ACEOF
11890 if ac_fn_c_try_link "$LINENO"; then :
11891 case "$LIBEXT" in
11892 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11893 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'` ;;
11894 *) 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'`
11895 if test "x$ac_cv_lib_soname_png" = x; then :
11896 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11897 fi ;;
11898 esac
11900 rm -f core conftest.err conftest.$ac_objext \
11901 conftest$ac_exeext conftest.$ac_ext
11902 LIBS=$ac_check_soname_save_LIBS
11904 if test "x$ac_cv_lib_soname_png" = "x"; then :
11905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11906 $as_echo "not found" >&6; }
11907 PNG_CFLAGS=""
11908 else
11909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
11910 $as_echo "$ac_cv_lib_soname_png" >&6; }
11912 cat >>confdefs.h <<_ACEOF
11913 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11914 _ACEOF
11916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11917 /* end confdefs.h. */
11918 #include <png.h>
11920 main ()
11922 typeof(png_set_expand_gray_1_2_4_to_8) *p
11924 return 0;
11926 _ACEOF
11927 if ac_fn_c_try_compile "$LINENO"; then :
11929 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
11932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11934 else
11935 PNG_CFLAGS=""
11937 CPPFLAGS="$ac_save_CPPFLAGS"
11939 if test "x$ac_cv_lib_soname_png" = "x"; then :
11940 case "x$with_png" in
11941 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
11942 xno) ;;
11943 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
11944 This is an error since --with-png was requested." "$LINENO" 5 ;;
11945 esac
11948 if test "$ac_cv_header_tiffio_h" = "yes"
11949 then
11950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
11951 $as_echo_n "checking for -ltiff... " >&6; }
11952 if ${ac_cv_lib_soname_tiff+:} false; then :
11953 $as_echo_n "(cached) " >&6
11954 else
11955 ac_check_soname_save_LIBS=$LIBS
11956 LIBS="-ltiff $LIBS"
11957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11958 /* end confdefs.h. */
11960 /* Override any GCC internal prototype to avoid an error.
11961 Use char because int might match the return type of a GCC
11962 builtin and then its argument prototype would still apply. */
11963 #ifdef __cplusplus
11964 extern "C"
11965 #endif
11966 char TIFFClientOpen ();
11968 main ()
11970 return TIFFClientOpen ();
11972 return 0;
11974 _ACEOF
11975 if ac_fn_c_try_link "$LINENO"; then :
11976 case "$LIBEXT" in
11977 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11978 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'` ;;
11979 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11980 if test "x$ac_cv_lib_soname_tiff" = x; then :
11981 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11982 fi ;;
11983 esac
11985 rm -f core conftest.err conftest.$ac_objext \
11986 conftest$ac_exeext conftest.$ac_ext
11987 LIBS=$ac_check_soname_save_LIBS
11989 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
11990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11991 $as_echo "not found" >&6; }
11993 else
11994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
11995 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
11997 cat >>confdefs.h <<_ACEOF
11998 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
11999 _ACEOF
12004 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
12005 case "x$with_tiff" in
12006 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
12007 xno) ;;
12008 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
12009 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
12010 esac
12013 if test "$ac_cv_header_mpg123_h" = "yes"
12014 then
12015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
12016 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
12017 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
12018 $as_echo_n "(cached) " >&6
12019 else
12020 ac_check_lib_save_LIBS=$LIBS
12021 LIBS="-lmpg123 $LIBS"
12022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12023 /* end confdefs.h. */
12025 /* Override any GCC internal prototype to avoid an error.
12026 Use char because int might match the return type of a GCC
12027 builtin and then its argument prototype would still apply. */
12028 #ifdef __cplusplus
12029 extern "C"
12030 #endif
12031 char mpg123_feed ();
12033 main ()
12035 return mpg123_feed ();
12037 return 0;
12039 _ACEOF
12040 if ac_fn_c_try_link "$LINENO"; then :
12041 ac_cv_lib_mpg123_mpg123_feed=yes
12042 else
12043 ac_cv_lib_mpg123_mpg123_feed=no
12045 rm -f core conftest.err conftest.$ac_objext \
12046 conftest$ac_exeext conftest.$ac_ext
12047 LIBS=$ac_check_lib_save_LIBS
12049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
12050 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
12051 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
12052 LIBMPG123="-lmpg123"
12057 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
12058 case "x$with_mpg123" in
12059 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
12060 xno) ;;
12061 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
12062 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
12063 esac
12065 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}
12067 if test "$ac_cv_header_AL_al_h" = "yes"
12068 then
12069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
12070 $as_echo_n "checking for -lopenal... " >&6; }
12071 if ${ac_cv_lib_soname_openal+:} false; then :
12072 $as_echo_n "(cached) " >&6
12073 else
12074 ac_check_soname_save_LIBS=$LIBS
12075 LIBS="-lopenal $LIBS"
12076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12077 /* end confdefs.h. */
12079 /* Override any GCC internal prototype to avoid an error.
12080 Use char because int might match the return type of a GCC
12081 builtin and then its argument prototype would still apply. */
12082 #ifdef __cplusplus
12083 extern "C"
12084 #endif
12085 char alGetSource3i ();
12087 main ()
12089 return alGetSource3i ();
12091 return 0;
12093 _ACEOF
12094 if ac_fn_c_try_link "$LINENO"; then :
12095 case "$LIBEXT" in
12096 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12097 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'` ;;
12098 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12099 if test "x$ac_cv_lib_soname_openal" = x; then :
12100 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12101 fi ;;
12102 esac
12104 rm -f core conftest.err conftest.$ac_objext \
12105 conftest$ac_exeext conftest.$ac_ext
12106 LIBS=$ac_check_soname_save_LIBS
12108 if test "x$ac_cv_lib_soname_openal" = "x"; then :
12109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12110 $as_echo "not found" >&6; }
12112 else
12113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
12114 $as_echo "$ac_cv_lib_soname_openal" >&6; }
12116 cat >>confdefs.h <<_ACEOF
12117 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
12118 _ACEOF
12120 LIBOPENAL="-lopenal"
12122 ac_cv_lib_openal=yes
12124 cat >>confdefs.h <<_ACEOF
12125 #define HAVE_OPENAL 1
12126 _ACEOF
12130 if test "x$ac_cv_lib_openal" != xyes; then :
12131 case "x$with_openal" in
12132 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
12133 xno) ;;
12134 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
12135 This is an error since --with-openal was requested." "$LINENO" 5 ;;
12136 esac
12138 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
12140 if test "$ac_cv_header_kstat_h" = "yes"
12141 then
12142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
12143 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
12144 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
12145 $as_echo_n "(cached) " >&6
12146 else
12147 ac_check_lib_save_LIBS=$LIBS
12148 LIBS="-lkstat $LIBS"
12149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12150 /* end confdefs.h. */
12152 /* Override any GCC internal prototype to avoid an error.
12153 Use char because int might match the return type of a GCC
12154 builtin and then its argument prototype would still apply. */
12155 #ifdef __cplusplus
12156 extern "C"
12157 #endif
12158 char kstat_open ();
12160 main ()
12162 return kstat_open ();
12164 return 0;
12166 _ACEOF
12167 if ac_fn_c_try_link "$LINENO"; then :
12168 ac_cv_lib_kstat_kstat_open=yes
12169 else
12170 ac_cv_lib_kstat_kstat_open=no
12172 rm -f core conftest.err conftest.$ac_objext \
12173 conftest$ac_exeext conftest.$ac_ext
12174 LIBS=$ac_check_lib_save_LIBS
12176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
12177 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
12178 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
12180 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
12182 LIBKSTAT="-lkstat"
12188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
12189 $as_echo_n "checking for -lodbc... " >&6; }
12190 if ${ac_cv_lib_soname_odbc+:} false; then :
12191 $as_echo_n "(cached) " >&6
12192 else
12193 ac_check_soname_save_LIBS=$LIBS
12194 LIBS="-lodbc $LIBS"
12195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12196 /* end confdefs.h. */
12198 /* Override any GCC internal prototype to avoid an error.
12199 Use char because int might match the return type of a GCC
12200 builtin and then its argument prototype would still apply. */
12201 #ifdef __cplusplus
12202 extern "C"
12203 #endif
12204 char SQLConnect ();
12206 main ()
12208 return SQLConnect ();
12210 return 0;
12212 _ACEOF
12213 if ac_fn_c_try_link "$LINENO"; then :
12214 case "$LIBEXT" in
12215 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12216 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'` ;;
12217 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12218 if test "x$ac_cv_lib_soname_odbc" = x; then :
12219 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12220 fi ;;
12221 esac
12223 rm -f core conftest.err conftest.$ac_objext \
12224 conftest$ac_exeext conftest.$ac_ext
12225 LIBS=$ac_check_soname_save_LIBS
12227 if test "x$ac_cv_lib_soname_odbc" = "x"; then :
12228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12229 $as_echo "not found" >&6; }
12230 cat >>confdefs.h <<_ACEOF
12231 #define SONAME_LIBODBC "libodbc.$LIBEXT"
12232 _ACEOF
12234 else
12235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
12236 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
12238 cat >>confdefs.h <<_ACEOF
12239 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
12240 _ACEOF
12245 test -n "$ALSALIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12246 test -n "$COREAUDIO" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
12247 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
12248 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
12250 if test "x$ALSALIBS$COREAUDIO" = "x" -a \
12251 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
12252 "x$with_alsa$with_coreaudio$with_oss" != xnonono
12253 then
12254 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
12258 EXTRACFLAGS=""
12260 if test "x${GCC}" = "xyes"
12261 then
12262 EXTRACFLAGS="-Wall -pipe"
12264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
12265 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
12266 if ${ac_cv_c_gcc_strength_bug+:} false; then :
12267 $as_echo_n "(cached) " >&6
12268 else
12269 if test "$cross_compiling" = yes; then :
12270 ac_cv_c_gcc_strength_bug="yes"
12271 else
12272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12273 /* end confdefs.h. */
12274 int L[4] = {0,1,2,3};
12276 main ()
12278 static int Array[3];
12279 unsigned int B = 3;
12280 int i;
12281 for(i=0; i<B; i++) Array[i] = i - 3;
12282 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12283 L[i] = 4;
12284 return (Array[1] != -2 || L[2] != 3)
12286 return 0;
12288 _ACEOF
12289 if ac_fn_c_try_run "$LINENO"; then :
12290 ac_cv_c_gcc_strength_bug="no"
12291 else
12292 ac_cv_c_gcc_strength_bug="yes"
12294 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12295 conftest.$ac_objext conftest.beam conftest.$ac_ext
12299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
12300 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
12301 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12302 then
12303 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
12306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
12307 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
12308 if ${ac_cv_cflags__fno_builtin+:} false; then :
12309 $as_echo_n "(cached) " >&6
12310 else
12311 ac_wine_try_cflags_saved=$CFLAGS
12312 CFLAGS="$CFLAGS -fno-builtin"
12313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12314 /* end confdefs.h. */
12315 int main(int argc, char **argv) { return 0; }
12316 _ACEOF
12317 if ac_fn_c_try_link "$LINENO"; then :
12318 ac_cv_cflags__fno_builtin=yes
12319 else
12320 ac_cv_cflags__fno_builtin=no
12322 rm -f core conftest.err conftest.$ac_objext \
12323 conftest$ac_exeext conftest.$ac_ext
12324 CFLAGS=$ac_wine_try_cflags_saved
12326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
12327 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
12328 if test $ac_cv_cflags__fno_builtin = yes; then :
12329 BUILTINFLAG="-fno-builtin"
12332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
12333 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
12334 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
12335 $as_echo_n "(cached) " >&6
12336 else
12337 ac_wine_try_cflags_saved=$CFLAGS
12338 CFLAGS="$CFLAGS -fno-strict-aliasing"
12339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12340 /* end confdefs.h. */
12341 int main(int argc, char **argv) { return 0; }
12342 _ACEOF
12343 if ac_fn_c_try_link "$LINENO"; then :
12344 ac_cv_cflags__fno_strict_aliasing=yes
12345 else
12346 ac_cv_cflags__fno_strict_aliasing=no
12348 rm -f core conftest.err conftest.$ac_objext \
12349 conftest$ac_exeext conftest.$ac_ext
12350 CFLAGS=$ac_wine_try_cflags_saved
12352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
12353 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
12354 if test $ac_cv_cflags__fno_strict_aliasing = yes; then :
12355 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
12357 saved_CFLAGS=$CFLAGS
12358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
12359 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
12360 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
12361 $as_echo_n "(cached) " >&6
12362 else
12363 ac_wine_try_cflags_saved=$CFLAGS
12364 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
12365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12366 /* end confdefs.h. */
12367 int main(int argc, char **argv) { return 0; }
12368 _ACEOF
12369 if ac_fn_c_try_link "$LINENO"; then :
12370 ac_cv_cflags__Werror_unknown_warning_option=yes
12371 else
12372 ac_cv_cflags__Werror_unknown_warning_option=no
12374 rm -f core conftest.err conftest.$ac_objext \
12375 conftest$ac_exeext conftest.$ac_ext
12376 CFLAGS=$ac_wine_try_cflags_saved
12378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
12379 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
12380 if test $ac_cv_cflags__Werror_unknown_warning_option = yes; then :
12381 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
12383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
12384 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
12385 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
12386 $as_echo_n "(cached) " >&6
12387 else
12388 ac_wine_try_cflags_saved=$CFLAGS
12389 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
12390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12391 /* end confdefs.h. */
12392 int main(int argc, char **argv) { return 0; }
12393 _ACEOF
12394 if ac_fn_c_try_link "$LINENO"; then :
12395 ac_cv_cflags__Wdeclaration_after_statement=yes
12396 else
12397 ac_cv_cflags__Wdeclaration_after_statement=no
12399 rm -f core conftest.err conftest.$ac_objext \
12400 conftest$ac_exeext conftest.$ac_ext
12401 CFLAGS=$ac_wine_try_cflags_saved
12403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
12404 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
12405 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then :
12406 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
12408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
12409 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
12410 if ${ac_cv_cflags__Wempty_body+:} false; then :
12411 $as_echo_n "(cached) " >&6
12412 else
12413 ac_wine_try_cflags_saved=$CFLAGS
12414 CFLAGS="$CFLAGS -Wempty-body"
12415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12416 /* end confdefs.h. */
12417 int main(int argc, char **argv) { return 0; }
12418 _ACEOF
12419 if ac_fn_c_try_link "$LINENO"; then :
12420 ac_cv_cflags__Wempty_body=yes
12421 else
12422 ac_cv_cflags__Wempty_body=no
12424 rm -f core conftest.err conftest.$ac_objext \
12425 conftest$ac_exeext conftest.$ac_ext
12426 CFLAGS=$ac_wine_try_cflags_saved
12428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
12429 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
12430 if test $ac_cv_cflags__Wempty_body = yes; then :
12431 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
12433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
12434 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
12435 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
12436 $as_echo_n "(cached) " >&6
12437 else
12438 ac_wine_try_cflags_saved=$CFLAGS
12439 CFLAGS="$CFLAGS -Wignored-qualifiers"
12440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12441 /* end confdefs.h. */
12442 int main(int argc, char **argv) { return 0; }
12443 _ACEOF
12444 if ac_fn_c_try_link "$LINENO"; then :
12445 ac_cv_cflags__Wignored_qualifiers=yes
12446 else
12447 ac_cv_cflags__Wignored_qualifiers=no
12449 rm -f core conftest.err conftest.$ac_objext \
12450 conftest$ac_exeext conftest.$ac_ext
12451 CFLAGS=$ac_wine_try_cflags_saved
12453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
12454 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
12455 if test $ac_cv_cflags__Wignored_qualifiers = yes; then :
12456 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
12458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
12459 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
12460 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
12461 $as_echo_n "(cached) " >&6
12462 else
12463 ac_wine_try_cflags_saved=$CFLAGS
12464 CFLAGS="$CFLAGS -Wstrict-prototypes"
12465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12466 /* end confdefs.h. */
12467 int main(int argc, char **argv) { return 0; }
12468 _ACEOF
12469 if ac_fn_c_try_link "$LINENO"; then :
12470 ac_cv_cflags__Wstrict_prototypes=yes
12471 else
12472 ac_cv_cflags__Wstrict_prototypes=no
12474 rm -f core conftest.err conftest.$ac_objext \
12475 conftest$ac_exeext conftest.$ac_ext
12476 CFLAGS=$ac_wine_try_cflags_saved
12478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
12479 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
12480 if test $ac_cv_cflags__Wstrict_prototypes = yes; then :
12481 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
12483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
12484 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
12485 if ${ac_cv_cflags__Wtype_limits+:} false; then :
12486 $as_echo_n "(cached) " >&6
12487 else
12488 ac_wine_try_cflags_saved=$CFLAGS
12489 CFLAGS="$CFLAGS -Wtype-limits"
12490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12491 /* end confdefs.h. */
12492 int main(int argc, char **argv) { return 0; }
12493 _ACEOF
12494 if ac_fn_c_try_link "$LINENO"; then :
12495 ac_cv_cflags__Wtype_limits=yes
12496 else
12497 ac_cv_cflags__Wtype_limits=no
12499 rm -f core conftest.err conftest.$ac_objext \
12500 conftest$ac_exeext conftest.$ac_ext
12501 CFLAGS=$ac_wine_try_cflags_saved
12503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
12504 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
12505 if test $ac_cv_cflags__Wtype_limits = yes; then :
12506 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
12508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
12509 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
12510 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
12511 $as_echo_n "(cached) " >&6
12512 else
12513 ac_wine_try_cflags_saved=$CFLAGS
12514 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
12515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12516 /* end confdefs.h. */
12517 int main(int argc, char **argv) { return 0; }
12518 _ACEOF
12519 if ac_fn_c_try_link "$LINENO"; then :
12520 ac_cv_cflags__Wunused_but_set_parameter=yes
12521 else
12522 ac_cv_cflags__Wunused_but_set_parameter=no
12524 rm -f core conftest.err conftest.$ac_objext \
12525 conftest$ac_exeext conftest.$ac_ext
12526 CFLAGS=$ac_wine_try_cflags_saved
12528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
12529 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
12530 if test $ac_cv_cflags__Wunused_but_set_parameter = yes; then :
12531 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
12533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
12534 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
12535 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
12536 $as_echo_n "(cached) " >&6
12537 else
12538 ac_wine_try_cflags_saved=$CFLAGS
12539 CFLAGS="$CFLAGS -Wwrite-strings"
12540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12541 /* end confdefs.h. */
12542 int main(int argc, char **argv) { return 0; }
12543 _ACEOF
12544 if ac_fn_c_try_link "$LINENO"; then :
12545 ac_cv_cflags__Wwrite_strings=yes
12546 else
12547 ac_cv_cflags__Wwrite_strings=no
12549 rm -f core conftest.err conftest.$ac_objext \
12550 conftest$ac_exeext conftest.$ac_ext
12551 CFLAGS=$ac_wine_try_cflags_saved
12553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
12554 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
12555 if test $ac_cv_cflags__Wwrite_strings = yes; then :
12556 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
12559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
12560 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
12561 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
12562 $as_echo_n "(cached) " >&6
12563 else
12564 ac_wine_try_cflags_saved=$CFLAGS
12565 CFLAGS="$CFLAGS -Wpointer-arith"
12566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12567 /* end confdefs.h. */
12568 int main(int argc, char **argv) { return 0; }
12569 _ACEOF
12570 if ac_fn_c_try_link "$LINENO"; then :
12571 ac_cv_cflags__Wpointer_arith=yes
12572 else
12573 ac_cv_cflags__Wpointer_arith=no
12575 rm -f core conftest.err conftest.$ac_objext \
12576 conftest$ac_exeext conftest.$ac_ext
12577 CFLAGS=$ac_wine_try_cflags_saved
12579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
12580 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
12581 if test $ac_cv_cflags__Wpointer_arith = yes; then :
12582 saved_string_h_CFLAGS=$CFLAGS
12583 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
12584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
12585 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
12586 if ${ac_cv_c_string_h_warnings+:} false; then :
12587 $as_echo_n "(cached) " >&6
12588 else
12589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12590 /* end confdefs.h. */
12591 #include <string.h>
12593 main ()
12597 return 0;
12599 _ACEOF
12600 if ac_fn_c_try_compile "$LINENO"; then :
12601 ac_cv_c_string_h_warnings=no
12602 else
12603 ac_cv_c_string_h_warnings=yes
12605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
12608 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
12609 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
12610 CFLAGS=$saved_string_h_CFLAGS
12613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
12614 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
12615 if ${ac_cv_cflags__Wlogical_op+:} false; then :
12616 $as_echo_n "(cached) " >&6
12617 else
12618 ac_wine_try_cflags_saved=$CFLAGS
12619 CFLAGS="$CFLAGS -Wlogical-op"
12620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12621 /* end confdefs.h. */
12622 int main(int argc, char **argv) { return 0; }
12623 _ACEOF
12624 if ac_fn_c_try_link "$LINENO"; then :
12625 ac_cv_cflags__Wlogical_op=yes
12626 else
12627 ac_cv_cflags__Wlogical_op=no
12629 rm -f core conftest.err conftest.$ac_objext \
12630 conftest$ac_exeext conftest.$ac_ext
12631 CFLAGS=$ac_wine_try_cflags_saved
12633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
12634 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
12635 if test $ac_cv_cflags__Wlogical_op = yes; then :
12636 saved_string_h_CFLAGS=$CFLAGS
12637 CFLAGS="$CFLAGS -Wlogical-op -Werror"
12638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
12639 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
12640 if ${ac_cv_c_logicalop_noisy+:} false; then :
12641 $as_echo_n "(cached) " >&6
12642 else
12643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12644 /* end confdefs.h. */
12645 #include <string.h>
12646 char*f(const char *h,char n) {return strchr(h,n);}
12648 main ()
12652 return 0;
12654 _ACEOF
12655 if ac_fn_c_try_compile "$LINENO"; then :
12656 ac_cv_c_logicalop_noisy=no
12657 else
12658 ac_cv_c_logicalop_noisy=yes
12660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
12663 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
12664 CFLAGS=$saved_string_h_CFLAGS
12665 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
12668 CFLAGS=$saved_CFLAGS
12670 for ac_flag in $CFLAGS; do
12671 case $ac_flag in
12672 -g) case $host_os in
12673 darwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
12674 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
12675 if ${ac_cv_cflags__gstabsp+:} false; then :
12676 $as_echo_n "(cached) " >&6
12677 else
12678 ac_wine_try_cflags_saved=$CFLAGS
12679 CFLAGS="$CFLAGS -gstabs+"
12680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12681 /* end confdefs.h. */
12682 int main(int argc, char **argv) { return 0; }
12683 _ACEOF
12684 if ac_fn_c_try_link "$LINENO"; then :
12685 ac_cv_cflags__gstabsp=yes
12686 else
12687 ac_cv_cflags__gstabsp=no
12689 rm -f core conftest.err conftest.$ac_objext \
12690 conftest$ac_exeext conftest.$ac_ext
12691 CFLAGS=$ac_wine_try_cflags_saved
12693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
12694 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
12695 if test $ac_cv_cflags__gstabsp = yes; then :
12696 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
12697 fi ;;
12698 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
12699 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
12700 if ${ac_cv_cflags__gdwarf_2+:} false; then :
12701 $as_echo_n "(cached) " >&6
12702 else
12703 ac_wine_try_cflags_saved=$CFLAGS
12704 CFLAGS="$CFLAGS -gdwarf-2"
12705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12706 /* end confdefs.h. */
12707 int main(int argc, char **argv) { return 0; }
12708 _ACEOF
12709 if ac_fn_c_try_link "$LINENO"; then :
12710 ac_cv_cflags__gdwarf_2=yes
12711 else
12712 ac_cv_cflags__gdwarf_2=no
12714 rm -f core conftest.err conftest.$ac_objext \
12715 conftest$ac_exeext conftest.$ac_ext
12716 CFLAGS=$ac_wine_try_cflags_saved
12718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
12719 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
12720 if test $ac_cv_cflags__gdwarf_2 = yes; then :
12721 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
12723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
12724 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
12725 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
12726 $as_echo_n "(cached) " >&6
12727 else
12728 ac_wine_try_cflags_saved=$CFLAGS
12729 CFLAGS="$CFLAGS -gstrict-dwarf"
12730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12731 /* end confdefs.h. */
12732 int main(int argc, char **argv) { return 0; }
12733 _ACEOF
12734 if ac_fn_c_try_link "$LINENO"; then :
12735 ac_cv_cflags__gstrict_dwarf=yes
12736 else
12737 ac_cv_cflags__gstrict_dwarf=no
12739 rm -f core conftest.err conftest.$ac_objext \
12740 conftest$ac_exeext conftest.$ac_ext
12741 CFLAGS=$ac_wine_try_cflags_saved
12743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
12744 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
12745 if test $ac_cv_cflags__gstrict_dwarf = yes; then :
12746 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
12747 fi ;;
12748 esac ;;
12749 esac
12750 done
12752 case $host_cpu in
12753 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
12754 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
12755 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
12756 $as_echo_n "(cached) " >&6
12757 else
12758 ac_wine_try_cflags_saved=$CFLAGS
12759 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
12760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12761 /* end confdefs.h. */
12762 int main(int argc, char **argv) { return 0; }
12763 _ACEOF
12764 if ac_fn_c_try_link "$LINENO"; then :
12765 ac_cv_cflags__fno_omit_frame_pointer=yes
12766 else
12767 ac_cv_cflags__fno_omit_frame_pointer=no
12769 rm -f core conftest.err conftest.$ac_objext \
12770 conftest$ac_exeext conftest.$ac_ext
12771 CFLAGS=$ac_wine_try_cflags_saved
12773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
12774 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
12775 if test $ac_cv_cflags__fno_omit_frame_pointer = yes; then :
12776 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
12777 fi ;;
12778 esac
12780 case $host in
12781 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
12782 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
12783 if ${ac_cv_cflags__Wno_format+:} false; then :
12784 $as_echo_n "(cached) " >&6
12785 else
12786 ac_wine_try_cflags_saved=$CFLAGS
12787 CFLAGS="$CFLAGS -Wno-format"
12788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12789 /* end confdefs.h. */
12790 int main(int argc, char **argv) { return 0; }
12791 _ACEOF
12792 if ac_fn_c_try_link "$LINENO"; then :
12793 ac_cv_cflags__Wno_format=yes
12794 else
12795 ac_cv_cflags__Wno_format=no
12797 rm -f core conftest.err conftest.$ac_objext \
12798 conftest$ac_exeext conftest.$ac_ext
12799 CFLAGS=$ac_wine_try_cflags_saved
12801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
12802 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
12803 if test $ac_cv_cflags__Wno_format = yes; then :
12804 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
12805 fi ;;
12806 esac
12808 if test "x$enable_maintainer_mode" = "xyes"
12809 then
12810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
12811 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
12812 if ${ac_cv_cflags__Werror+:} false; then :
12813 $as_echo_n "(cached) " >&6
12814 else
12815 ac_wine_try_cflags_saved=$CFLAGS
12816 CFLAGS="$CFLAGS -Werror"
12817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12818 /* end confdefs.h. */
12819 int main(int argc, char **argv) { return 0; }
12820 _ACEOF
12821 if ac_fn_c_try_link "$LINENO"; then :
12822 ac_cv_cflags__Werror=yes
12823 else
12824 ac_cv_cflags__Werror=no
12826 rm -f core conftest.err conftest.$ac_objext \
12827 conftest$ac_exeext conftest.$ac_ext
12828 CFLAGS=$ac_wine_try_cflags_saved
12830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
12831 $as_echo "$ac_cv_cflags__Werror" >&6; }
12832 if test $ac_cv_cflags__Werror = yes; then :
12833 EXTRACFLAGS="$EXTRACFLAGS -Werror"
12837 saved_CFLAGS="$CFLAGS"
12838 CFLAGS="$CFLAGS -Werror"
12839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
12840 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
12841 if ${ac_cv_have_ms_hook_prologue+:} false; then :
12842 $as_echo_n "(cached) " >&6
12843 else
12844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12845 /* end confdefs.h. */
12846 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
12848 main ()
12852 return 0;
12854 _ACEOF
12855 if ac_fn_c_try_compile "$LINENO"; then :
12856 ac_cv_have_ms_hook_prologue="yes"
12857 else
12858 ac_cv_have_ms_hook_prologue="no"
12860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
12863 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
12864 CFLAGS="$saved_CFLAGS"
12865 if test "$ac_cv_have_ms_hook_prologue" = "yes"
12866 then
12868 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
12870 else
12871 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
12877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
12878 $as_echo_n "checking for the need to disable Fortify... " >&6; }
12879 if ${ac_cv_c_fortify_enabled+:} false; then :
12880 $as_echo_n "(cached) " >&6
12881 else
12882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12883 /* end confdefs.h. */
12884 #include <string.h>
12886 main ()
12888 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
12889 #error Fortify enabled
12890 #endif
12892 return 0;
12894 _ACEOF
12895 if ac_fn_c_try_compile "$LINENO"; then :
12896 ac_cv_c_fortify_enabled=no
12897 else
12898 ac_cv_c_fortify_enabled=yes
12900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
12903 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
12904 if test "$ac_cv_c_fortify_enabled" = yes
12905 then
12906 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
12910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
12911 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
12912 if ${ac_cv_c_extern_prefix+:} false; then :
12913 $as_echo_n "(cached) " >&6
12914 else
12915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12916 /* end confdefs.h. */
12917 extern int ac_test;
12919 main ()
12921 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
12923 return 0;
12925 _ACEOF
12926 if ac_fn_c_try_link "$LINENO"; then :
12927 ac_cv_c_extern_prefix="yes"
12928 else
12929 ac_cv_c_extern_prefix="no"
12931 rm -f core conftest.err conftest.$ac_objext \
12932 conftest$ac_exeext conftest.$ac_ext
12934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
12935 $as_echo "$ac_cv_c_extern_prefix" >&6; }
12937 case $host_cpu in
12938 *i[3456789]86*)
12939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
12940 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
12941 if ${ac_cv_c_stdcall_suffix+:} false; then :
12942 $as_echo_n "(cached) " >&6
12943 else
12944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12945 /* end confdefs.h. */
12946 #ifndef _MSC_VER
12947 #define __stdcall __attribute__((__stdcall__))
12948 #endif
12949 int __stdcall ac_test(int i) { return i; }
12951 main ()
12953 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
12955 return 0;
12957 _ACEOF
12958 if ac_fn_c_try_link "$LINENO"; then :
12959 ac_cv_c_stdcall_suffix="yes"
12960 else
12961 ac_cv_c_stdcall_suffix="no"
12963 rm -f core conftest.err conftest.$ac_objext \
12964 conftest$ac_exeext conftest.$ac_ext
12966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
12967 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
12968 *) ac_cv_c_stdcall_suffix="no" ;;
12969 esac
12972 if test "$ac_cv_c_extern_prefix" = "yes"
12973 then
12974 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
12976 asm_name_prefix="_"
12977 else
12978 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
12980 asm_name_prefix=""
12984 if test "$ac_cv_c_stdcall_suffix" = "yes"
12985 then
12986 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
12988 else
12989 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
12994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
12995 $as_echo_n "checking how to define a function in assembly code... " >&6; }
12996 if ${ac_cv_asm_func_def+:} false; then :
12997 $as_echo_n "(cached) " >&6
12998 else
12999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13000 /* end confdefs.h. */
13003 main ()
13005 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
13007 return 0;
13009 _ACEOF
13010 if ac_fn_c_try_link "$LINENO"; then :
13011 ac_cv_asm_func_def=".def"
13012 else
13013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13014 /* end confdefs.h. */
13017 main ()
13019 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
13021 return 0;
13023 _ACEOF
13024 if ac_fn_c_try_link "$LINENO"; then :
13025 ac_cv_asm_func_def=".type @function"
13026 else
13027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13028 /* end confdefs.h. */
13031 main ()
13033 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
13035 return 0;
13037 _ACEOF
13038 if ac_fn_c_try_link "$LINENO"; then :
13039 ac_cv_asm_func_def=".type 2"
13040 else
13041 ac_cv_asm_func_def="unknown"
13043 rm -f core conftest.err conftest.$ac_objext \
13044 conftest$ac_exeext conftest.$ac_ext
13046 rm -f core conftest.err conftest.$ac_objext \
13047 conftest$ac_exeext conftest.$ac_ext
13049 rm -f core conftest.err conftest.$ac_objext \
13050 conftest$ac_exeext conftest.$ac_ext
13052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
13053 $as_echo "$ac_cv_asm_func_def" >&6; }
13056 case "$ac_cv_asm_func_def" in
13057 ".def")
13058 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
13060 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
13061 ".type @function")
13062 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
13064 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
13065 ".type 2")
13066 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
13068 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
13070 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
13072 asm_func_header="" ;;
13073 esac
13075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
13076 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
13077 if ${ac_cv_c_asm_outside_funcs+:} false; then :
13078 $as_echo_n "(cached) " >&6
13079 else
13080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13081 /* end confdefs.h. */
13082 asm(".text\n\t.long 0");
13084 main ()
13088 return 0;
13090 _ACEOF
13091 if ac_fn_c_try_compile "$LINENO"; then :
13092 ac_cv_c_asm_outside_funcs="yes"
13093 else
13094 ac_cv_c_asm_outside_funcs="no"
13096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
13099 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
13101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
13102 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
13103 if ${ac_cv_c_dot_previous+:} false; then :
13104 $as_echo_n "(cached) " >&6
13105 else
13106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13107 /* end confdefs.h. */
13110 main ()
13112 asm(".text\nac_test:\t.long 0\n\t.previous");
13114 return 0;
13116 _ACEOF
13117 if ac_fn_c_try_link "$LINENO"; then :
13118 ac_cv_c_dot_previous="yes"
13119 else
13120 ac_cv_c_dot_previous="no"
13122 rm -f core conftest.err conftest.$ac_objext \
13123 conftest$ac_exeext conftest.$ac_ext
13125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
13126 $as_echo "$ac_cv_c_dot_previous" >&6; }
13128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
13129 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
13130 if ${ac_cv_c_cfi_support+:} false; then :
13131 $as_echo_n "(cached) " >&6
13132 else
13133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13134 /* end confdefs.h. */
13135 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
13137 main ()
13141 return 0;
13143 _ACEOF
13144 if ac_fn_c_try_compile "$LINENO"; then :
13145 ac_cv_c_cfi_support="yes"
13146 else
13147 ac_cv_c_cfi_support="no"
13149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
13152 $as_echo "$ac_cv_c_cfi_support" >&6; }
13154 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
13155 asm_func_trailer=""
13156 if test "$ac_cv_c_dot_previous" = "yes"
13157 then
13158 asm_func_trailer="\\n\\t.previous"
13160 if test "$ac_cv_c_cfi_support" = "yes"
13161 then
13162 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
13163 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
13165 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
13167 UNWINDFLAGS=-fasynchronous-unwind-tables
13169 else
13170 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
13174 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
13177 if test "$ac_cv_c_asm_outside_funcs" = "yes"
13178 then
13179 cat >>confdefs.h <<_ACEOF
13180 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
13181 _ACEOF
13183 else
13184 cat >>confdefs.h <<_ACEOF
13185 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
13186 _ACEOF
13190 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
13193 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
13197 LDPATH=""
13199 case $build_os in
13200 cygwin*|mingw32*)
13201 TOOLSEXT=".exe"
13203 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
13205 darwin*|macosx*)
13208 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
13210 esac
13212 MAIN_BINARY="wine"
13214 test "x$enable_win64" != "xyes" || MAIN_BINARY="wine64"
13216 case $host_os in
13217 linux*)
13218 case $host_cpu in
13219 *i[3456789]86*) EXTRA_BINARIES="wine-preloader"
13221 x86_64*) EXTRA_BINARIES="wine64-preloader"
13223 esac
13225 esac
13228 ac_save_CFLAGS="$CFLAGS"
13229 CFLAGS="$CFLAGS $BUILTINFLAG"
13230 for ac_func in \
13231 _finite \
13232 _isnan \
13233 _pclose \
13234 _popen \
13235 _snprintf \
13236 _spawnvp \
13237 _strdup \
13238 _stricmp \
13239 _strnicmp \
13240 _strtoi64 \
13241 _strtoui64 \
13242 _vsnprintf \
13243 asctime_r \
13244 chsize \
13245 dlopen \
13246 epoll_create \
13247 ffs \
13248 finite \
13249 fnmatch \
13250 fork \
13251 fpclass \
13252 fstatfs \
13253 fstatvfs \
13254 ftruncate \
13255 futimens \
13256 futimes \
13257 futimesat \
13258 getattrlist \
13259 getdirentries \
13260 getopt_long_only \
13261 getpwuid \
13262 gettimeofday \
13263 getuid \
13264 kqueue \
13265 lstat \
13266 memmove \
13267 mmap \
13268 pclose \
13269 pipe2 \
13270 poll \
13271 popen \
13272 port_create \
13273 prctl \
13274 pread \
13275 pwrite \
13276 readdir \
13277 readlink \
13278 sched_yield \
13279 select \
13280 setproctitle \
13281 setrlimit \
13282 settimeofday \
13283 sigaltstack \
13284 sigprocmask \
13285 snprintf \
13286 statfs \
13287 statvfs \
13288 strcasecmp \
13289 strdup \
13290 strerror \
13291 strncasecmp \
13292 strtold \
13293 strtoll \
13294 strtoull \
13295 symlink \
13296 tcgetattr \
13297 thr_kill2 \
13298 timegm \
13299 usleep \
13300 vsnprintf
13302 do :
13303 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13304 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13305 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13306 cat >>confdefs.h <<_ACEOF
13307 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13308 _ACEOF
13311 done
13313 CFLAGS="$ac_save_CFLAGS"
13315 if test "$ac_cv_func_dlopen" = no
13316 then
13317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13318 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13319 if ${ac_cv_lib_dl_dlopen+:} false; then :
13320 $as_echo_n "(cached) " >&6
13321 else
13322 ac_check_lib_save_LIBS=$LIBS
13323 LIBS="-ldl $LIBS"
13324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13325 /* end confdefs.h. */
13327 /* Override any GCC internal prototype to avoid an error.
13328 Use char because int might match the return type of a GCC
13329 builtin and then its argument prototype would still apply. */
13330 #ifdef __cplusplus
13331 extern "C"
13332 #endif
13333 char dlopen ();
13335 main ()
13337 return dlopen ();
13339 return 0;
13341 _ACEOF
13342 if ac_fn_c_try_link "$LINENO"; then :
13343 ac_cv_lib_dl_dlopen=yes
13344 else
13345 ac_cv_lib_dl_dlopen=no
13347 rm -f core conftest.err conftest.$ac_objext \
13348 conftest$ac_exeext conftest.$ac_ext
13349 LIBS=$ac_check_lib_save_LIBS
13351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13352 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13353 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13354 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
13355 LIBDL="-ldl"
13360 ac_wine_check_funcs_save_LIBS="$LIBS"
13361 LIBS="$LIBS $LIBDL"
13362 for ac_func in dladdr
13363 do :
13364 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
13365 if test "x$ac_cv_func_dladdr" = xyes; then :
13366 cat >>confdefs.h <<_ACEOF
13367 #define HAVE_DLADDR 1
13368 _ACEOF
13371 done
13373 LIBS="$ac_wine_check_funcs_save_LIBS"
13375 if test "$ac_cv_func_poll" = no
13376 then
13377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
13378 $as_echo_n "checking for poll in -lpoll... " >&6; }
13379 if ${ac_cv_lib_poll_poll+:} false; then :
13380 $as_echo_n "(cached) " >&6
13381 else
13382 ac_check_lib_save_LIBS=$LIBS
13383 LIBS="-lpoll $LIBS"
13384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13385 /* end confdefs.h. */
13387 /* Override any GCC internal prototype to avoid an error.
13388 Use char because int might match the return type of a GCC
13389 builtin and then its argument prototype would still apply. */
13390 #ifdef __cplusplus
13391 extern "C"
13392 #endif
13393 char poll ();
13395 main ()
13397 return poll ();
13399 return 0;
13401 _ACEOF
13402 if ac_fn_c_try_link "$LINENO"; then :
13403 ac_cv_lib_poll_poll=yes
13404 else
13405 ac_cv_lib_poll_poll=no
13407 rm -f core conftest.err conftest.$ac_objext \
13408 conftest$ac_exeext conftest.$ac_ext
13409 LIBS=$ac_check_lib_save_LIBS
13411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
13412 $as_echo "$ac_cv_lib_poll_poll" >&6; }
13413 if test "x$ac_cv_lib_poll_poll" = xyes; then :
13414 $as_echo "#define HAVE_POLL 1" >>confdefs.h
13415 LIBPOLL="-lpoll"
13421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
13422 $as_echo_n "checking for library containing gethostbyname... " >&6; }
13423 if ${ac_cv_search_gethostbyname+:} false; then :
13424 $as_echo_n "(cached) " >&6
13425 else
13426 ac_func_search_save_LIBS=$LIBS
13427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13428 /* end confdefs.h. */
13430 /* Override any GCC internal prototype to avoid an error.
13431 Use char because int might match the return type of a GCC
13432 builtin and then its argument prototype would still apply. */
13433 #ifdef __cplusplus
13434 extern "C"
13435 #endif
13436 char gethostbyname ();
13438 main ()
13440 return gethostbyname ();
13442 return 0;
13444 _ACEOF
13445 for ac_lib in '' nsl; do
13446 if test -z "$ac_lib"; then
13447 ac_res="none required"
13448 else
13449 ac_res=-l$ac_lib
13450 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13452 if ac_fn_c_try_link "$LINENO"; then :
13453 ac_cv_search_gethostbyname=$ac_res
13455 rm -f core conftest.err conftest.$ac_objext \
13456 conftest$ac_exeext
13457 if ${ac_cv_search_gethostbyname+:} false; then :
13458 break
13460 done
13461 if ${ac_cv_search_gethostbyname+:} false; then :
13463 else
13464 ac_cv_search_gethostbyname=no
13466 rm conftest.$ac_ext
13467 LIBS=$ac_func_search_save_LIBS
13469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
13470 $as_echo "$ac_cv_search_gethostbyname" >&6; }
13471 ac_res=$ac_cv_search_gethostbyname
13472 if test "$ac_res" != no; then :
13473 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
13479 $as_echo_n "checking for library containing connect... " >&6; }
13480 if ${ac_cv_search_connect+:} false; then :
13481 $as_echo_n "(cached) " >&6
13482 else
13483 ac_func_search_save_LIBS=$LIBS
13484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13485 /* end confdefs.h. */
13487 /* Override any GCC internal prototype to avoid an error.
13488 Use char because int might match the return type of a GCC
13489 builtin and then its argument prototype would still apply. */
13490 #ifdef __cplusplus
13491 extern "C"
13492 #endif
13493 char connect ();
13495 main ()
13497 return connect ();
13499 return 0;
13501 _ACEOF
13502 for ac_lib in '' socket; do
13503 if test -z "$ac_lib"; then
13504 ac_res="none required"
13505 else
13506 ac_res=-l$ac_lib
13507 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13509 if ac_fn_c_try_link "$LINENO"; then :
13510 ac_cv_search_connect=$ac_res
13512 rm -f core conftest.err conftest.$ac_objext \
13513 conftest$ac_exeext
13514 if ${ac_cv_search_connect+:} false; then :
13515 break
13517 done
13518 if ${ac_cv_search_connect+:} false; then :
13520 else
13521 ac_cv_search_connect=no
13523 rm conftest.$ac_ext
13524 LIBS=$ac_func_search_save_LIBS
13526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
13527 $as_echo "$ac_cv_search_connect" >&6; }
13528 ac_res=$ac_cv_search_connect
13529 if test "$ac_res" != no; then :
13530 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
13536 $as_echo_n "checking for library containing inet_aton... " >&6; }
13537 if ${ac_cv_search_inet_aton+:} false; then :
13538 $as_echo_n "(cached) " >&6
13539 else
13540 ac_func_search_save_LIBS=$LIBS
13541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13542 /* end confdefs.h. */
13544 /* Override any GCC internal prototype to avoid an error.
13545 Use char because int might match the return type of a GCC
13546 builtin and then its argument prototype would still apply. */
13547 #ifdef __cplusplus
13548 extern "C"
13549 #endif
13550 char inet_aton ();
13552 main ()
13554 return inet_aton ();
13556 return 0;
13558 _ACEOF
13559 for ac_lib in '' resolv; do
13560 if test -z "$ac_lib"; then
13561 ac_res="none required"
13562 else
13563 ac_res=-l$ac_lib
13564 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13566 if ac_fn_c_try_link "$LINENO"; then :
13567 ac_cv_search_inet_aton=$ac_res
13569 rm -f core conftest.err conftest.$ac_objext \
13570 conftest$ac_exeext
13571 if ${ac_cv_search_inet_aton+:} false; then :
13572 break
13574 done
13575 if ${ac_cv_search_inet_aton+:} false; then :
13577 else
13578 ac_cv_search_inet_aton=no
13580 rm conftest.$ac_ext
13581 LIBS=$ac_func_search_save_LIBS
13583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
13584 $as_echo "$ac_cv_search_inet_aton" >&6; }
13585 ac_res=$ac_cv_search_inet_aton
13586 if test "$ac_res" != no; then :
13587 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13592 for ac_func in \
13593 getaddrinfo \
13594 getnameinfo \
13595 getnetbyname \
13596 getprotobyname \
13597 getprotobynumber \
13598 getservbyport \
13599 inet_network \
13600 inet_ntop \
13601 inet_pton \
13602 sendmsg \
13603 socketpair \
13605 do :
13606 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13607 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13608 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13609 cat >>confdefs.h <<_ACEOF
13610 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13611 _ACEOF
13614 done
13617 ac_save_LIBS=$LIBS
13618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
13619 $as_echo_n "checking for library containing clock_gettime... " >&6; }
13620 if ${ac_cv_search_clock_gettime+:} false; then :
13621 $as_echo_n "(cached) " >&6
13622 else
13623 ac_func_search_save_LIBS=$LIBS
13624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13625 /* end confdefs.h. */
13627 /* Override any GCC internal prototype to avoid an error.
13628 Use char because int might match the return type of a GCC
13629 builtin and then its argument prototype would still apply. */
13630 #ifdef __cplusplus
13631 extern "C"
13632 #endif
13633 char clock_gettime ();
13635 main ()
13637 return clock_gettime ();
13639 return 0;
13641 _ACEOF
13642 for ac_lib in '' rt; do
13643 if test -z "$ac_lib"; then
13644 ac_res="none required"
13645 else
13646 ac_res=-l$ac_lib
13647 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13649 if ac_fn_c_try_link "$LINENO"; then :
13650 ac_cv_search_clock_gettime=$ac_res
13652 rm -f core conftest.err conftest.$ac_objext \
13653 conftest$ac_exeext
13654 if ${ac_cv_search_clock_gettime+:} false; then :
13655 break
13657 done
13658 if ${ac_cv_search_clock_gettime+:} false; then :
13660 else
13661 ac_cv_search_clock_gettime=no
13663 rm conftest.$ac_ext
13664 LIBS=$ac_func_search_save_LIBS
13666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
13667 $as_echo "$ac_cv_search_clock_gettime" >&6; }
13668 ac_res=$ac_cv_search_clock_gettime
13669 if test "$ac_res" != no; then :
13670 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13672 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
13674 test "$ac_res" = "none required" || LIBRT="$ac_res"
13678 LIBS=$ac_save_LIBS
13680 LDAPLIBS=""
13682 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
13683 then
13684 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
13686 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
13687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
13688 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
13689 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
13690 $as_echo_n "(cached) " >&6
13691 else
13692 ac_check_lib_save_LIBS=$LIBS
13693 LIBS="-lldap_r $LIBPTHREAD $LIBS"
13694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13695 /* end confdefs.h. */
13697 /* Override any GCC internal prototype to avoid an error.
13698 Use char because int might match the return type of a GCC
13699 builtin and then its argument prototype would still apply. */
13700 #ifdef __cplusplus
13701 extern "C"
13702 #endif
13703 char ldap_initialize ();
13705 main ()
13707 return ldap_initialize ();
13709 return 0;
13711 _ACEOF
13712 if ac_fn_c_try_link "$LINENO"; then :
13713 ac_cv_lib_ldap_r_ldap_initialize=yes
13714 else
13715 ac_cv_lib_ldap_r_ldap_initialize=no
13717 rm -f core conftest.err conftest.$ac_objext \
13718 conftest$ac_exeext conftest.$ac_ext
13719 LIBS=$ac_check_lib_save_LIBS
13721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
13722 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
13723 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
13724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
13725 $as_echo_n "checking for ber_init in -llber... " >&6; }
13726 if ${ac_cv_lib_lber_ber_init+:} false; then :
13727 $as_echo_n "(cached) " >&6
13728 else
13729 ac_check_lib_save_LIBS=$LIBS
13730 LIBS="-llber $LIBPTHREAD $LIBS"
13731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13732 /* end confdefs.h. */
13734 /* Override any GCC internal prototype to avoid an error.
13735 Use char because int might match the return type of a GCC
13736 builtin and then its argument prototype would still apply. */
13737 #ifdef __cplusplus
13738 extern "C"
13739 #endif
13740 char ber_init ();
13742 main ()
13744 return ber_init ();
13746 return 0;
13748 _ACEOF
13749 if ac_fn_c_try_link "$LINENO"; then :
13750 ac_cv_lib_lber_ber_init=yes
13751 else
13752 ac_cv_lib_lber_ber_init=no
13754 rm -f core conftest.err conftest.$ac_objext \
13755 conftest$ac_exeext conftest.$ac_ext
13756 LIBS=$ac_check_lib_save_LIBS
13758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
13759 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
13760 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
13762 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
13764 LDAPLIBS="-lldap_r -llber"
13771 ac_wine_check_funcs_save_LIBS="$LIBS"
13772 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
13773 for ac_func in \
13774 ldap_count_references \
13775 ldap_first_reference \
13776 ldap_next_reference \
13777 ldap_parse_reference \
13778 ldap_parse_sort_control \
13779 ldap_parse_sortresponse_control \
13780 ldap_parse_vlv_control \
13781 ldap_parse_vlvresponse_control
13782 do :
13783 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13784 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13785 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13786 cat >>confdefs.h <<_ACEOF
13787 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13788 _ACEOF
13791 done
13793 LIBS="$ac_wine_check_funcs_save_LIBS"
13795 if test "x$LDAPLIBS" = "x"; then :
13796 case "x$with_ldap" in
13797 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
13798 xno) ;;
13799 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
13800 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
13801 esac
13804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
13805 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
13806 if ${wine_cv_one_arg_mkdir+:} false; then :
13807 $as_echo_n "(cached) " >&6
13808 else
13809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13810 /* end confdefs.h. */
13811 #include <sys/stat.h>
13813 main ()
13815 mkdir("foo");
13817 return 0;
13819 _ACEOF
13820 if ac_fn_c_try_compile "$LINENO"; then :
13821 wine_cv_one_arg_mkdir=yes
13822 else
13823 wine_cv_one_arg_mkdir=no
13825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
13828 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
13829 if test "$wine_cv_one_arg_mkdir" = "yes"
13830 then
13832 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
13836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
13837 $as_echo_n "checking for sched_setaffinity... " >&6; }
13838 if ${wine_cv_have_sched_setaffinity+:} false; then :
13839 $as_echo_n "(cached) " >&6
13840 else
13841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13842 /* end confdefs.h. */
13843 #define _GNU_SOURCE
13844 #include <sched.h>
13846 main ()
13848 sched_setaffinity(0, 0, 0);
13850 return 0;
13852 _ACEOF
13853 if ac_fn_c_try_link "$LINENO"; then :
13854 wine_cv_have_sched_setaffinity=yes
13855 else
13856 wine_cv_have_sched_setaffinity=no
13858 rm -f core conftest.err conftest.$ac_objext \
13859 conftest$ac_exeext conftest.$ac_ext
13861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
13862 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
13863 if test "$wine_cv_have_sched_setaffinity" = "yes"
13864 then
13866 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
13870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
13871 $as_echo_n "checking for fallocate... " >&6; }
13872 if ${wine_cv_have_fallocate+:} false; then :
13873 $as_echo_n "(cached) " >&6
13874 else
13875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13876 /* end confdefs.h. */
13877 #define _GNU_SOURCE
13878 #include <fcntl.h>
13880 main ()
13882 fallocate(-1, 0, 0, 0);
13884 return 0;
13886 _ACEOF
13887 if ac_fn_c_try_link "$LINENO"; then :
13888 wine_cv_have_fallocate=yes
13889 else
13890 wine_cv_have_fallocate=no
13892 rm -f core conftest.err conftest.$ac_objext \
13893 conftest$ac_exeext conftest.$ac_ext
13895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
13896 $as_echo "$wine_cv_have_fallocate" >&6; }
13897 if test "$wine_cv_have_fallocate" = "yes"
13898 then
13900 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
13905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
13906 $as_echo_n "checking for inline... " >&6; }
13907 if ${ac_cv_c_inline+:} false; then :
13908 $as_echo_n "(cached) " >&6
13909 else
13910 ac_cv_c_inline=no
13911 for ac_kw in inline __inline__ __inline; do
13912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13913 /* end confdefs.h. */
13914 #ifndef __cplusplus
13915 typedef int foo_t;
13916 static $ac_kw foo_t static_foo () {return 0; }
13917 $ac_kw foo_t foo () {return 0; }
13918 #endif
13920 _ACEOF
13921 if ac_fn_c_try_compile "$LINENO"; then :
13922 ac_cv_c_inline=$ac_kw
13924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13925 test "$ac_cv_c_inline" != no && break
13926 done
13929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
13930 $as_echo "$ac_cv_c_inline" >&6; }
13932 case $ac_cv_c_inline in
13933 inline | yes) ;;
13935 case $ac_cv_c_inline in
13936 no) ac_val=;;
13937 *) ac_val=$ac_cv_c_inline;;
13938 esac
13939 cat >>confdefs.h <<_ACEOF
13940 #ifndef __cplusplus
13941 #define inline $ac_val
13942 #endif
13943 _ACEOF
13945 esac
13947 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
13948 if test "x$ac_cv_type_mode_t" = xyes; then :
13950 cat >>confdefs.h <<_ACEOF
13951 #define HAVE_MODE_T 1
13952 _ACEOF
13956 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
13957 if test "x$ac_cv_type_off_t" = xyes; then :
13959 cat >>confdefs.h <<_ACEOF
13960 #define HAVE_OFF_T 1
13961 _ACEOF
13965 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
13966 if test "x$ac_cv_type_pid_t" = xyes; then :
13968 cat >>confdefs.h <<_ACEOF
13969 #define HAVE_PID_T 1
13970 _ACEOF
13974 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
13975 if test "x$ac_cv_type_size_t" = xyes; then :
13977 cat >>confdefs.h <<_ACEOF
13978 #define HAVE_SIZE_T 1
13979 _ACEOF
13983 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
13984 if test "x$ac_cv_type_ssize_t" = xyes; then :
13986 cat >>confdefs.h <<_ACEOF
13987 #define HAVE_SSIZE_T 1
13988 _ACEOF
13992 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
13993 if test "x$ac_cv_type_long_long" = xyes; then :
13995 cat >>confdefs.h <<_ACEOF
13996 #define HAVE_LONG_LONG 1
13997 _ACEOF
14001 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
14002 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
14004 cat >>confdefs.h <<_ACEOF
14005 #define HAVE_FSBLKCNT_T 1
14006 _ACEOF
14010 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
14011 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
14013 cat >>confdefs.h <<_ACEOF
14014 #define HAVE_FSFILCNT_T 1
14015 _ACEOF
14020 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
14021 #include <signal.h>
14023 if test "x$ac_cv_type_sigset_t" = xyes; then :
14025 cat >>confdefs.h <<_ACEOF
14026 #define HAVE_SIGSET_T 1
14027 _ACEOF
14032 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
14034 if test "x$ac_cv_type_request_sense" = xyes; then :
14036 cat >>confdefs.h <<_ACEOF
14037 #define HAVE_REQUEST_SENSE 1
14038 _ACEOF
14044 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
14045 #ifdef HAVE_SYS_SOCKET_H
14046 #include <sys/socket.h>
14047 #endif
14048 #ifdef HAVE_SYS_SOCKETVAR_H
14049 #include <sys/socketvar.h>
14050 #endif
14051 #ifdef HAVE_NET_ROUTE_H
14052 #include <net/route.h>
14053 #endif
14054 #ifdef HAVE_NETINET_IN_H
14055 #include <netinet/in.h>
14056 #endif
14057 #ifdef HAVE_NETINET_IN_SYSTM_H
14058 #include <netinet/in_systm.h>
14059 #endif
14060 #ifdef HAVE_NETINET_IP_H
14061 #include <netinet/ip.h>
14062 #endif
14063 #ifdef HAVE_NETINET_IN_PCB_H
14064 #include <netinet/in_pcb.h>
14065 #endif
14067 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
14069 cat >>confdefs.h <<_ACEOF
14070 #define HAVE_STRUCT_XINPGEN 1
14071 _ACEOF
14077 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
14078 #include <linux/input.h>
14079 #endif
14081 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
14083 cat >>confdefs.h <<_ACEOF
14084 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
14085 _ACEOF
14091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
14092 $as_echo_n "checking for sigaddset... " >&6; }
14093 if ${wine_cv_have_sigaddset+:} false; then :
14094 $as_echo_n "(cached) " >&6
14095 else
14096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14097 /* end confdefs.h. */
14098 #include <signal.h>
14100 main ()
14102 sigset_t set; sigaddset(&set,SIGTERM);
14104 return 0;
14106 _ACEOF
14107 if ac_fn_c_try_link "$LINENO"; then :
14108 wine_cv_have_sigaddset=yes
14109 else
14110 wine_cv_have_sigaddset=no
14112 rm -f core conftest.err conftest.$ac_objext \
14113 conftest$ac_exeext conftest.$ac_ext
14115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
14116 $as_echo "$wine_cv_have_sigaddset" >&6; }
14117 if test "$wine_cv_have_sigaddset" = "yes"
14118 then
14120 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
14125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
14126 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
14127 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
14128 $as_echo_n "(cached) " >&6
14129 else
14130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14131 /* end confdefs.h. */
14132 #include <netdb.h>
14134 main ()
14137 char *name=0;
14138 struct hostent he;
14139 struct hostent *result;
14140 char *buf=0;
14141 int bufsize=0;
14142 int errnr;
14143 char *addr=0;
14144 int addrlen=0;
14145 int addrtype=0;
14146 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
14147 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
14150 return 0;
14152 _ACEOF
14153 if ac_fn_c_try_link "$LINENO"; then :
14154 wine_cv_linux_gethostbyname_r_6=yes
14155 else
14156 wine_cv_linux_gethostbyname_r_6=no
14159 rm -f core conftest.err conftest.$ac_objext \
14160 conftest$ac_exeext conftest.$ac_ext
14163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
14164 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
14165 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
14166 then
14168 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
14172 if test "$ac_cv_header_linux_joystick_h" = "yes"
14173 then
14174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
14175 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
14176 if ${wine_cv_linux_joystick_22_api+:} false; then :
14177 $as_echo_n "(cached) " >&6
14178 else
14179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14180 /* end confdefs.h. */
14182 #include <sys/ioctl.h>
14183 #include <sys/types.h>
14184 #include <linux/joystick.h>
14186 struct js_event blub;
14187 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
14188 #error "no 2.2 header"
14189 #endif
14192 main ()
14194 /*empty*/
14196 return 0;
14198 _ACEOF
14199 if ac_fn_c_try_compile "$LINENO"; then :
14200 wine_cv_linux_joystick_22_api=yes
14201 else
14202 wine_cv_linux_joystick_22_api=no
14204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
14208 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
14209 if test "$wine_cv_linux_joystick_22_api" = "yes"
14210 then
14212 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
14218 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
14219 #ifdef HAVE_SYS_PARAM_H
14220 # include <sys/param.h>
14221 #endif
14222 #ifdef HAVE_SYS_MOUNT_H
14223 # include <sys/mount.h>
14224 #endif
14225 #ifdef HAVE_SYS_VFS_H
14226 # include <sys/vfs.h>
14227 #endif
14228 #ifdef HAVE_SYS_STATFS_H
14229 # include <sys/statfs.h>
14230 #endif
14232 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
14234 cat >>confdefs.h <<_ACEOF
14235 #define HAVE_STRUCT_STATFS_F_BFREE 1
14236 _ACEOF
14240 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
14241 #ifdef HAVE_SYS_PARAM_H
14242 # include <sys/param.h>
14243 #endif
14244 #ifdef HAVE_SYS_MOUNT_H
14245 # include <sys/mount.h>
14246 #endif
14247 #ifdef HAVE_SYS_VFS_H
14248 # include <sys/vfs.h>
14249 #endif
14250 #ifdef HAVE_SYS_STATFS_H
14251 # include <sys/statfs.h>
14252 #endif
14254 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
14256 cat >>confdefs.h <<_ACEOF
14257 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
14258 _ACEOF
14262 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
14263 #ifdef HAVE_SYS_PARAM_H
14264 # include <sys/param.h>
14265 #endif
14266 #ifdef HAVE_SYS_MOUNT_H
14267 # include <sys/mount.h>
14268 #endif
14269 #ifdef HAVE_SYS_VFS_H
14270 # include <sys/vfs.h>
14271 #endif
14272 #ifdef HAVE_SYS_STATFS_H
14273 # include <sys/statfs.h>
14274 #endif
14276 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
14278 cat >>confdefs.h <<_ACEOF
14279 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
14280 _ACEOF
14284 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
14285 #ifdef HAVE_SYS_PARAM_H
14286 # include <sys/param.h>
14287 #endif
14288 #ifdef HAVE_SYS_MOUNT_H
14289 # include <sys/mount.h>
14290 #endif
14291 #ifdef HAVE_SYS_VFS_H
14292 # include <sys/vfs.h>
14293 #endif
14294 #ifdef HAVE_SYS_STATFS_H
14295 # include <sys/statfs.h>
14296 #endif
14298 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
14300 cat >>confdefs.h <<_ACEOF
14301 #define HAVE_STRUCT_STATFS_F_FFREE 1
14302 _ACEOF
14306 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
14307 #ifdef HAVE_SYS_PARAM_H
14308 # include <sys/param.h>
14309 #endif
14310 #ifdef HAVE_SYS_MOUNT_H
14311 # include <sys/mount.h>
14312 #endif
14313 #ifdef HAVE_SYS_VFS_H
14314 # include <sys/vfs.h>
14315 #endif
14316 #ifdef HAVE_SYS_STATFS_H
14317 # include <sys/statfs.h>
14318 #endif
14320 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
14322 cat >>confdefs.h <<_ACEOF
14323 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
14324 _ACEOF
14328 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
14329 #ifdef HAVE_SYS_PARAM_H
14330 # include <sys/param.h>
14331 #endif
14332 #ifdef HAVE_SYS_MOUNT_H
14333 # include <sys/mount.h>
14334 #endif
14335 #ifdef HAVE_SYS_VFS_H
14336 # include <sys/vfs.h>
14337 #endif
14338 #ifdef HAVE_SYS_STATFS_H
14339 # include <sys/statfs.h>
14340 #endif
14342 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
14344 cat >>confdefs.h <<_ACEOF
14345 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
14346 _ACEOF
14352 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
14353 #include <sys/statvfs.h>
14354 #endif
14356 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
14358 cat >>confdefs.h <<_ACEOF
14359 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
14360 _ACEOF
14366 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
14367 #include <dirent.h>
14368 #endif
14370 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
14372 cat >>confdefs.h <<_ACEOF
14373 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
14374 _ACEOF
14380 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
14381 #ifdef HAVE_SYS_SOCKET_H
14382 # include <sys/socket.h>
14383 #endif
14384 #ifdef HAVE_SYS_UN_H
14385 # include <sys/un.h>
14386 #endif
14388 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
14390 cat >>confdefs.h <<_ACEOF
14391 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
14392 _ACEOF
14396 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
14397 #ifdef HAVE_SYS_SOCKET_H
14398 # include <sys/socket.h>
14399 #endif
14400 #ifdef HAVE_SYS_UN_H
14401 # include <sys/un.h>
14402 #endif
14404 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
14406 cat >>confdefs.h <<_ACEOF
14407 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
14408 _ACEOF
14412 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
14413 #ifdef HAVE_SYS_SOCKET_H
14414 # include <sys/socket.h>
14415 #endif
14416 #ifdef HAVE_SYS_UN_H
14417 # include <sys/un.h>
14418 #endif
14420 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
14422 cat >>confdefs.h <<_ACEOF
14423 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
14424 _ACEOF
14430 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
14431 #ifdef HAVE_SCSI_SG_H
14432 #include <scsi/sg.h>
14433 #endif
14435 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
14437 cat >>confdefs.h <<_ACEOF
14438 #define HAVE_SCSIREQ_T_CMD 1
14439 _ACEOF
14443 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>
14444 #ifdef HAVE_SCSI_SG_H
14445 #include <scsi/sg.h>
14446 #endif
14448 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
14450 cat >>confdefs.h <<_ACEOF
14451 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
14452 _ACEOF
14458 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
14460 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
14462 cat >>confdefs.h <<_ACEOF
14463 #define HAVE_SIGINFO_T_SI_FD 1
14464 _ACEOF
14470 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
14471 #ifdef HAVE_SYS_MTIO_H
14472 #include <sys/mtio.h>
14473 #endif
14475 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
14477 cat >>confdefs.h <<_ACEOF
14478 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
14479 _ACEOF
14483 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
14484 #ifdef HAVE_SYS_MTIO_H
14485 #include <sys/mtio.h>
14486 #endif
14488 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
14490 cat >>confdefs.h <<_ACEOF
14491 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
14492 _ACEOF
14496 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
14497 #ifdef HAVE_SYS_MTIO_H
14498 #include <sys/mtio.h>
14499 #endif
14501 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
14503 cat >>confdefs.h <<_ACEOF
14504 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
14505 _ACEOF
14511 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
14512 #include <getopt.h>
14513 #endif
14515 if test "x$ac_cv_member_struct_option_name" = xyes; then :
14517 cat >>confdefs.h <<_ACEOF
14518 #define HAVE_STRUCT_OPTION_NAME 1
14519 _ACEOF
14525 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
14526 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
14528 cat >>confdefs.h <<_ACEOF
14529 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
14530 _ACEOF
14534 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
14535 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
14537 cat >>confdefs.h <<_ACEOF
14538 #define HAVE_STRUCT_STAT_ST_MTIM 1
14539 _ACEOF
14543 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
14544 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
14546 cat >>confdefs.h <<_ACEOF
14547 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
14548 _ACEOF
14552 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
14553 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
14555 cat >>confdefs.h <<_ACEOF
14556 #define HAVE_STRUCT_STAT_ST_CTIM 1
14557 _ACEOF
14561 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
14562 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
14564 cat >>confdefs.h <<_ACEOF
14565 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
14566 _ACEOF
14570 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
14571 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
14573 cat >>confdefs.h <<_ACEOF
14574 #define HAVE_STRUCT_STAT_ST_ATIM 1
14575 _ACEOF
14579 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
14580 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
14582 cat >>confdefs.h <<_ACEOF
14583 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
14584 _ACEOF
14588 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
14589 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
14591 cat >>confdefs.h <<_ACEOF
14592 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
14593 _ACEOF
14597 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
14598 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
14600 cat >>confdefs.h <<_ACEOF
14601 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
14602 _ACEOF
14606 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
14607 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
14609 cat >>confdefs.h <<_ACEOF
14610 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
14611 _ACEOF
14615 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
14616 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
14618 cat >>confdefs.h <<_ACEOF
14619 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
14620 _ACEOF
14624 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
14625 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
14627 cat >>confdefs.h <<_ACEOF
14628 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
14629 _ACEOF
14635 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
14636 #include <sys/types.h>
14637 #endif
14638 #ifdef HAVE_NETINET_IN_H
14639 #include <netinet/in.h>
14640 #endif
14642 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
14644 cat >>confdefs.h <<_ACEOF
14645 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
14646 _ACEOF
14652 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
14653 #include <sys/types.h>
14654 #endif
14655 #ifdef HAVE_NETINET_IN_H
14656 # include <netinet/in.h>
14657 #endif
14658 #ifdef HAVE_ARPA_NAMESER_H
14659 # include <arpa/nameser.h>
14660 #endif
14662 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
14664 cat >>confdefs.h <<_ACEOF
14665 #define HAVE_NS_MSG__MSG_PTR 1
14666 _ACEOF
14672 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
14673 #include <sys/types.h>
14674 #endif
14675 #ifdef HAVE_NETINET_IP_H
14676 #include <netinet/ip.h>
14677 #endif
14678 #ifdef HAVE_NETINET_IP_ICMP_H
14679 #include <netinet/ip_icmp.h>
14680 #endif
14681 #ifdef HAVE_NETINET_ICMP_VAR_H
14682 #include <netinet/icmp_var.h>
14683 #endif
14685 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
14687 cat >>confdefs.h <<_ACEOF
14688 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
14689 _ACEOF
14695 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
14696 #include <sys/types.h>
14697 #endif
14698 #ifdef HAVE_ALIAS_H
14699 #include <alias.h>
14700 #endif
14701 #ifdef HAVE_SYS_SOCKET_H
14702 #include <sys/socket.h>
14703 #endif
14704 #ifdef HAVE_SYS_SOCKETVAR_H
14705 #include <sys/socketvar.h>
14706 #endif
14707 #ifdef HAVE_SYS_TIMEOUT_H
14708 #include <sys/timeout.h>
14709 #endif
14710 #ifdef HAVE_NETINET_IN_H
14711 #include <netinet/in.h>
14712 #endif
14713 #ifdef HAVE_NETINET_IN_SYSTM_H
14714 #include <netinet/in_systm.h>
14715 #endif
14716 #ifdef HAVE_NETINET_IP_H
14717 #include <netinet/ip.h>
14718 #endif
14719 #ifdef HAVE_NETINET_IP_VAR_H
14720 #include <netinet/ip_var.h>
14721 #endif
14722 #ifdef HAVE_NETINET_IP_ICMP_H
14723 #include <netinet/ip_icmp.h>
14724 #endif
14725 #ifdef HAVE_NETINET_ICMP_VAR_H
14726 #include <netinet/icmp_var.h>
14727 #endif
14729 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
14731 cat >>confdefs.h <<_ACEOF
14732 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
14733 _ACEOF
14739 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
14740 #include <sys/types.h>
14741 #endif
14742 #ifdef HAVE_SYS_SOCKETVAR_H
14743 #include <sys/socketvar.h>
14744 #endif
14745 #ifdef HAVE_NETINET_IN_H
14746 #include <netinet/in.h>
14747 #endif
14748 #ifdef HAVE_NETINET_IP_VAR_H
14749 #include <netinet/ip_var.h>
14750 #endif
14752 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
14754 cat >>confdefs.h <<_ACEOF
14755 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
14756 _ACEOF
14762 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
14763 #include <netinet/ip_var.h>
14764 #endif
14766 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
14768 cat >>confdefs.h <<_ACEOF
14769 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
14770 _ACEOF
14776 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
14777 #include <sys/types.h>
14778 #endif
14779 #ifdef HAVE_SYS_SOCKETVAR_H
14780 #include <sys/socketvar.h>
14781 #endif
14782 #ifdef HAVE_NETINET_IN_H
14783 #include <netinet/in.h>
14784 #endif
14785 #ifdef HAVE_NETINET_TCP_H
14786 #include <netinet/tcp.h>
14787 #endif
14788 #ifdef HAVE_NETINET_TCP_VAR_H
14789 #include <netinet/tcp_var.h>
14790 #endif
14792 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
14794 cat >>confdefs.h <<_ACEOF
14795 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
14796 _ACEOF
14802 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
14803 #include <netinet/tcp_var.h>
14804 #endif
14806 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
14808 cat >>confdefs.h <<_ACEOF
14809 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
14810 _ACEOF
14816 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
14817 #include <sys/types.h>
14818 #endif
14819 #ifdef HAVE_NETINET_IN_H
14820 #include <netinet/in.h>
14821 #endif
14822 #ifdef HAVE_NETINET_IP_VAR_H
14823 #include <netinet/ip_var.h>
14824 #endif
14825 #ifdef HAVE_NETINET_UDP_H
14826 #include <netinet/udp.h>
14827 #endif
14828 #ifdef HAVE_NETINET_UDP_VAR_H
14829 #include <netinet/udp_var.h>
14830 #endif
14832 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
14834 cat >>confdefs.h <<_ACEOF
14835 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
14836 _ACEOF
14842 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
14843 #include <sys/types.h>
14844 #endif
14845 #ifdef HAVE_NET_IF_H
14846 # include <net/if.h>
14847 #endif
14849 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
14851 cat >>confdefs.h <<_ACEOF
14852 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
14853 _ACEOF
14859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
14860 $as_echo_n "checking for timezone variable... " >&6; }
14861 if ${ac_cv_have_timezone+:} false; then :
14862 $as_echo_n "(cached) " >&6
14863 else
14864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14865 /* end confdefs.h. */
14866 #include <time.h>
14868 main ()
14870 timezone = 1
14872 return 0;
14874 _ACEOF
14875 if ac_fn_c_try_link "$LINENO"; then :
14876 ac_cv_have_timezone="yes"
14877 else
14878 ac_cv_have_timezone="no"
14880 rm -f core conftest.err conftest.$ac_objext \
14881 conftest$ac_exeext conftest.$ac_ext
14883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
14884 $as_echo "$ac_cv_have_timezone" >&6; }
14885 if test "$ac_cv_have_timezone" = "yes"
14886 then
14888 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
14891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
14892 $as_echo_n "checking for daylight variable... " >&6; }
14893 if ${ac_cv_have_daylight+:} false; then :
14894 $as_echo_n "(cached) " >&6
14895 else
14896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14897 /* end confdefs.h. */
14898 #include <time.h>
14900 main ()
14902 daylight = 1
14904 return 0;
14906 _ACEOF
14907 if ac_fn_c_try_link "$LINENO"; then :
14908 ac_cv_have_daylight="yes"
14909 else
14910 ac_cv_have_daylight="no"
14912 rm -f core conftest.err conftest.$ac_objext \
14913 conftest$ac_exeext conftest.$ac_ext
14915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
14916 $as_echo "$ac_cv_have_daylight" >&6; }
14917 if test "$ac_cv_have_daylight" = "yes"
14918 then
14920 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
14924 ac_save_LIBS="$LIBS"
14925 LIBS="$LIBS -lm"
14926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
14927 $as_echo_n "checking for isinf... " >&6; }
14928 if ${ac_cv_have_isinf+:} false; then :
14929 $as_echo_n "(cached) " >&6
14930 else
14931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14932 /* end confdefs.h. */
14933 #include <math.h>
14935 main ()
14937 float f = 0.0; return isinf(f)
14939 return 0;
14941 _ACEOF
14942 if ac_fn_c_try_link "$LINENO"; then :
14943 ac_cv_have_isinf="yes"
14944 else
14945 ac_cv_have_isinf="no"
14947 rm -f core conftest.err conftest.$ac_objext \
14948 conftest$ac_exeext conftest.$ac_ext
14950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
14951 $as_echo "$ac_cv_have_isinf" >&6; }
14952 if test "$ac_cv_have_isinf" = "yes"
14953 then
14955 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
14959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
14960 $as_echo_n "checking for isnan... " >&6; }
14961 if ${ac_cv_have_isnan+:} false; then :
14962 $as_echo_n "(cached) " >&6
14963 else
14964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14965 /* end confdefs.h. */
14966 #include <math.h>
14968 main ()
14970 float f = 0.0; return isnan(f)
14972 return 0;
14974 _ACEOF
14975 if ac_fn_c_try_link "$LINENO"; then :
14976 ac_cv_have_isnan="yes"
14977 else
14978 ac_cv_have_isnan="no"
14980 rm -f core conftest.err conftest.$ac_objext \
14981 conftest$ac_exeext conftest.$ac_ext
14983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
14984 $as_echo "$ac_cv_have_isnan" >&6; }
14985 if test "$ac_cv_have_isnan" = "yes"
14986 then
14988 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
14991 LIBS="$ac_save_LIBS"
14994 case $host_cpu in
14995 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
14996 $as_echo_n "checking whether we need to define __i386__... " >&6; }
14997 if ${ac_cv_cpp_def___i386__+:} false; then :
14998 $as_echo_n "(cached) " >&6
14999 else
15000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15001 /* end confdefs.h. */
15002 #ifndef __i386__
15004 #endif
15005 _ACEOF
15006 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15007 $EGREP "yes" >/dev/null 2>&1; then :
15008 ac_cv_cpp_def___i386__=yes
15009 else
15010 ac_cv_cpp_def___i386__=no
15012 rm -f conftest*
15015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
15016 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
15017 if test $ac_cv_cpp_def___i386__ = yes; then :
15018 CFLAGS="$CFLAGS -D__i386__"
15019 LINTFLAGS="$LINTFLAGS -D__i386__"
15020 fi ;;
15021 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
15022 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
15023 if ${ac_cv_cpp_def___x86_64__+:} false; then :
15024 $as_echo_n "(cached) " >&6
15025 else
15026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15027 /* end confdefs.h. */
15028 #ifndef __x86_64__
15030 #endif
15031 _ACEOF
15032 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15033 $EGREP "yes" >/dev/null 2>&1; then :
15034 ac_cv_cpp_def___x86_64__=yes
15035 else
15036 ac_cv_cpp_def___x86_64__=no
15038 rm -f conftest*
15041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
15042 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
15043 if test $ac_cv_cpp_def___x86_64__ = yes; then :
15044 CFLAGS="$CFLAGS -D__x86_64__"
15045 LINTFLAGS="$LINTFLAGS -D__x86_64__"
15046 fi ;;
15047 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
15048 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
15049 if ${ac_cv_cpp_def___sparc64__+:} false; then :
15050 $as_echo_n "(cached) " >&6
15051 else
15052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15053 /* end confdefs.h. */
15054 #ifndef __sparc64__
15056 #endif
15057 _ACEOF
15058 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15059 $EGREP "yes" >/dev/null 2>&1; then :
15060 ac_cv_cpp_def___sparc64__=yes
15061 else
15062 ac_cv_cpp_def___sparc64__=no
15064 rm -f conftest*
15067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
15068 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
15069 if test $ac_cv_cpp_def___sparc64__ = yes; then :
15070 CFLAGS="$CFLAGS -D__sparc64__"
15071 LINTFLAGS="$LINTFLAGS -D__sparc64__"
15072 fi ;;
15073 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
15074 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
15075 if ${ac_cv_cpp_def___sparc__+:} false; then :
15076 $as_echo_n "(cached) " >&6
15077 else
15078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15079 /* end confdefs.h. */
15080 #ifndef __sparc__
15082 #endif
15083 _ACEOF
15084 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15085 $EGREP "yes" >/dev/null 2>&1; then :
15086 ac_cv_cpp_def___sparc__=yes
15087 else
15088 ac_cv_cpp_def___sparc__=no
15090 rm -f conftest*
15093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
15094 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
15095 if test $ac_cv_cpp_def___sparc__ = yes; then :
15096 CFLAGS="$CFLAGS -D__sparc__"
15097 LINTFLAGS="$LINTFLAGS -D__sparc__"
15098 fi ;;
15099 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
15100 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
15101 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
15102 $as_echo_n "(cached) " >&6
15103 else
15104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15105 /* end confdefs.h. */
15106 #ifndef __powerpc64__
15108 #endif
15109 _ACEOF
15110 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15111 $EGREP "yes" >/dev/null 2>&1; then :
15112 ac_cv_cpp_def___powerpc64__=yes
15113 else
15114 ac_cv_cpp_def___powerpc64__=no
15116 rm -f conftest*
15119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
15120 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
15121 if test $ac_cv_cpp_def___powerpc64__ = yes; then :
15122 CFLAGS="$CFLAGS -D__powerpc64__"
15123 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
15124 fi ;;
15125 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
15126 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
15127 if ${ac_cv_cpp_def___powerpc__+:} false; then :
15128 $as_echo_n "(cached) " >&6
15129 else
15130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15131 /* end confdefs.h. */
15132 #ifndef __powerpc__
15134 #endif
15135 _ACEOF
15136 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15137 $EGREP "yes" >/dev/null 2>&1; then :
15138 ac_cv_cpp_def___powerpc__=yes
15139 else
15140 ac_cv_cpp_def___powerpc__=no
15142 rm -f conftest*
15145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
15146 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
15147 if test $ac_cv_cpp_def___powerpc__ = yes; then :
15148 CFLAGS="$CFLAGS -D__powerpc__"
15149 LINTFLAGS="$LINTFLAGS -D__powerpc__"
15150 fi ;;
15151 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
15152 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
15153 if ${ac_cv_cpp_def___aarch64__+:} false; then :
15154 $as_echo_n "(cached) " >&6
15155 else
15156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15157 /* end confdefs.h. */
15158 #ifndef __aarch64__
15160 #endif
15161 _ACEOF
15162 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15163 $EGREP "yes" >/dev/null 2>&1; then :
15164 ac_cv_cpp_def___aarch64__=yes
15165 else
15166 ac_cv_cpp_def___aarch64__=no
15168 rm -f conftest*
15171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
15172 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
15173 if test $ac_cv_cpp_def___aarch64__ = yes; then :
15174 CFLAGS="$CFLAGS -D__aarch64__"
15175 LINTFLAGS="$LINTFLAGS -D__aarch64__"
15176 fi ;;
15177 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
15178 $as_echo_n "checking whether we need to define __arm__... " >&6; }
15179 if ${ac_cv_cpp_def___arm__+:} false; then :
15180 $as_echo_n "(cached) " >&6
15181 else
15182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15183 /* end confdefs.h. */
15184 #ifndef __arm__
15186 #endif
15187 _ACEOF
15188 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15189 $EGREP "yes" >/dev/null 2>&1; then :
15190 ac_cv_cpp_def___arm__=yes
15191 else
15192 ac_cv_cpp_def___arm__=no
15194 rm -f conftest*
15197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
15198 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
15199 if test $ac_cv_cpp_def___arm__ = yes; then :
15200 CFLAGS="$CFLAGS -D__arm__"
15201 LINTFLAGS="$LINTFLAGS -D__arm__"
15202 fi ;;
15203 esac
15205 case $host_vendor in
15206 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
15207 $as_echo_n "checking whether we need to define __sun__... " >&6; }
15208 if ${ac_cv_cpp_def___sun__+:} false; then :
15209 $as_echo_n "(cached) " >&6
15210 else
15211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15212 /* end confdefs.h. */
15213 #ifndef __sun__
15215 #endif
15216 _ACEOF
15217 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15218 $EGREP "yes" >/dev/null 2>&1; then :
15219 ac_cv_cpp_def___sun__=yes
15220 else
15221 ac_cv_cpp_def___sun__=no
15223 rm -f conftest*
15226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
15227 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
15228 if test $ac_cv_cpp_def___sun__ = yes; then :
15229 CFLAGS="$CFLAGS -D__sun__"
15230 LINTFLAGS="$LINTFLAGS -D__sun__"
15231 fi ;;
15232 esac
15238 ac_config_commands="$ac_config_commands include/stamp-h"
15241 ALL_MAKEFILE_DEPENDS="
15242 # Rules automatically generated by configure
15244 .INIT: Makefile
15245 .MAKEFILEDEPS:
15246 all: Makefile
15247 Makefile: Makefile.in Make.vars.in Make.rules config.status
15248 @./config.status Make.tmp Makefile"
15250 ALL_POT_FILES=""
15251 ALL_TEST_RESOURCES=""
15254 wine_fn_append_file ()
15256 as_fn_append $1 " \\$as_nl $2"
15259 wine_fn_append_rule ()
15261 as_fn_append $1 "$as_nl$2"
15264 wine_fn_has_flag ()
15266 expr ",$2," : ".*,$1,.*" >/dev/null
15269 wine_fn_all_dir_rules ()
15271 ac_dir=$1
15272 ac_alldeps=$2
15273 ac_makedep="\$(MAKEDEP)"
15274 ac_input=Make.vars.in:$ac_dir/Makefile.in
15275 if test $ac_dir != tools
15276 then
15277 ac_alldeps="$2 $ac_makedep"
15278 else
15279 ac_alldeps="$2 include/config.h"
15281 case $2 in
15282 *.in) ac_input=$ac_input:$2 ;;
15283 *) ac_makedep="$2 $ac_makedep" ;;
15284 esac
15286 wine_fn_append_file ALL_DIRS $ac_dir
15287 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15288 "__clean__: $ac_dir/__clean__
15289 .PHONY: $ac_dir/__clean__
15290 $ac_dir/__clean__: $ac_dir/Makefile
15291 @cd $ac_dir && \$(MAKE) clean
15292 \$(RM) $ac_dir/Makefile
15293 $ac_dir/Makefile: $ac_dir/Makefile.in Make.vars.in config.status $ac_alldeps
15294 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend
15295 depend: $ac_dir/__depend__
15296 .PHONY: $ac_dir/__depend__
15297 $ac_dir/__depend__: $ac_makedep dummy
15298 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend"
15301 wine_fn_pot_rules ()
15303 ac_dir=$1
15304 ac_flags=$2
15306 test "x$with_gettextpo" = xyes || return
15308 if wine_fn_has_flag mc $ac_flags
15309 then
15310 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
15311 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15312 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
15313 @cd $ac_dir && \$(MAKE) msg.pot
15314 $ac_dir/msg.pot: tools/wmc include"
15316 if wine_fn_has_flag po $ac_flags
15317 then
15318 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
15319 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15320 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
15321 @cd $ac_dir && \$(MAKE) rsrc.pot
15322 $ac_dir/rsrc.pot: tools/wrc include"
15326 wine_fn_config_makefile ()
15328 ac_dir=$1
15329 ac_enable=$2
15330 ac_flags=$3
15331 ac_rules=$4
15332 if eval test \"x\$"$ac_enable"\" = x"no"; then :
15333 return 0
15336 wine_fn_all_dir_rules $ac_dir ${ac_rules:-Make.rules}
15337 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15338 "all: $ac_dir
15339 .PHONY: $ac_dir
15340 $ac_dir: $ac_dir/Makefile dummy
15341 @cd $ac_dir && \$(MAKE)"
15343 wine_fn_has_flag install-lib $ac_flags || wine_fn_has_flag install-dev $ac_flags || return
15345 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15346 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
15347 $ac_dir/__install__:: $ac_dir
15348 @cd $ac_dir && \$(MAKE) install
15349 $ac_dir/__uninstall__:: $ac_dir/Makefile
15350 @cd $ac_dir && \$(MAKE) uninstall
15351 install:: $ac_dir/__install__
15352 __uninstall__: $ac_dir/__uninstall__"
15354 if wine_fn_has_flag install-lib $ac_flags
15355 then
15356 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15357 ".PHONY: $ac_dir/__install-lib__
15358 $ac_dir/__install-lib__:: $ac_dir
15359 @cd $ac_dir && \$(MAKE) install-lib
15360 install-lib:: $ac_dir/__install-lib__"
15363 if wine_fn_has_flag install-dev $ac_flags
15364 then
15365 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15366 ".PHONY: $ac_dir/__install-dev
15367 $ac_dir/__install-dev__:: $ac_dir
15368 @cd $ac_dir && \$(MAKE) install-dev
15369 install-dev:: $ac_dir/__install-dev__"
15373 wine_fn_config_lib ()
15375 ac_name=$1
15376 ac_flags=$2
15377 ac_dir=dlls/$ac_name
15378 wine_fn_config_makefile $ac_dir enable_$ac_name "$ac_flags" dlls/Makeimplib.rules
15380 if wine_fn_has_flag install-dev $ac_flags
15381 then :
15382 else
15383 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15384 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
15385 $ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir)
15386 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
15387 $ac_dir/__uninstall__::
15388 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
15389 install install-dev:: $ac_dir/__install__
15390 __uninstall__: $ac_dir/__uninstall__"
15393 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "__builddeps__: $ac_dir"
15394 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "$ac_dir: tools/widl tools/winebuild tools/winegcc include"
15397 wine_fn_config_dll ()
15399 ac_name=$1
15400 ac_dir=dlls/$ac_name
15401 ac_enable=$2
15402 ac_flags=$3
15403 ac_implib=${4:-$ac_name}
15404 ac_file=$ac_dir/lib$ac_implib
15405 ac_dll=$ac_name
15406 ac_deps="tools/widl tools/winebuild tools/winegcc include"
15407 ac_implibflags=""
15409 case $ac_name in
15410 *16) ac_implibflags=" -m16" ;;
15411 *.*) ;;
15412 *) ac_dll=$ac_dll.dll ;;
15413 esac
15415 wine_fn_config_makefile $ac_dir $ac_enable "$ac_flags" dlls/Makedll.rules
15417 if eval test \"x\$"$ac_enable"\" = x"no"; then :
15418 test "$ac_enable" != enable_win16 || return 0
15419 wine_fn_has_flag implib $ac_flags && wine_fn_all_dir_rules $ac_dir dlls/Makedll.rules
15420 else
15421 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15422 "$ac_dir: __builddeps__
15423 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
15424 @cd $ac_dir && \$(MAKE) \$@"
15426 if wine_fn_has_flag install-lib $ac_flags
15427 then :
15428 else
15429 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15430 ".PHONY: $ac_dir/__install-lib__ $ac_dir/__uninstall__
15431 install install-lib:: $ac_dir/__install-lib__
15432 __uninstall__: $ac_dir/__uninstall__"
15433 if test -n "$DLLEXT"
15434 then
15435 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15436 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
15437 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
15438 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
15439 $ac_dir/__uninstall__::
15440 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
15441 else
15442 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15443 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
15444 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
15445 $ac_dir/__uninstall__::
15446 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
15450 wine_fn_pot_rules $ac_dir $ac_flags
15453 if wine_fn_has_flag staticimplib $ac_flags
15454 then
15455 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15456 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
15457 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
15458 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile
15459 @cd $ac_dir && \$(MAKE) lib$ac_implib.def
15460 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
15461 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
15462 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
15463 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
15464 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15465 $ac_dir/__uninstall__::
15466 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15467 install install-dev:: $ac_dir/__install-dev__
15468 __uninstall__: $ac_dir/__uninstall__"
15470 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
15471 then
15472 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15473 "$ac_dir/__install-dev__:: $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir) __builddeps__
15474 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
15475 $ac_dir/__uninstall__::
15476 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
15479 if test "x$CROSSTEST_DISABLE" = x
15480 then
15481 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15482 "__builddeps__: $ac_file.cross.a
15483 $ac_file.cross.a: $ac_dir/Makefile dummy
15484 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
15487 elif wine_fn_has_flag implib $ac_flags
15488 then
15489 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15490 "__builddeps__: $ac_file.$IMPLIBEXT
15491 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
15492 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
15493 $ac_file.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
15494 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
15495 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
15496 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
15497 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15498 $ac_dir/__uninstall__::
15499 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15500 install install-dev:: $ac_dir/__install-dev__
15501 __uninstall__: $ac_dir/__uninstall__"
15502 if test "x$CROSSTEST_DISABLE" = x
15503 then
15504 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15505 "__builddeps__: $ac_file.cross.a
15506 $ac_file.cross.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
15507 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec"
15510 if test "$ac_name" != "$ac_implib"
15511 then
15512 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15513 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
15514 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
15515 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
15516 clean::
15517 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
15518 if test "x$CROSSTEST_DISABLE" = x
15519 then
15520 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15521 "__builddeps__: dlls/lib$ac_implib.cross.a
15522 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
15523 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@"
15529 wine_fn_config_program ()
15531 ac_name=$1
15532 ac_dir=programs/$ac_name
15533 ac_enable=$2
15534 ac_flags=$3
15535 ac_program=$ac_name
15537 case $ac_name in
15538 *.*) ;;
15539 *) ac_program=$ac_program.exe ;;
15540 esac
15542 wine_fn_config_makefile $ac_dir $ac_enable "$ac_flags" programs/Makeprog.rules
15544 if eval test \"x\$"$ac_enable"\" = x"no"; then :
15546 else
15547 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15548 "$ac_dir: __builddeps__"
15550 wine_fn_pot_rules $ac_dir $ac_flags
15552 wine_fn_has_flag install $ac_flags || return
15553 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15554 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
15555 install install-lib:: $ac_dir/__install__
15556 __uninstall__: $ac_dir/__uninstall__"
15558 if test -n "$DLLEXT"
15559 then
15560 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15561 "$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
15562 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
15563 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
15564 $ac_dir/__uninstall__::
15565 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
15567 if test "x$enable_tools" != xno && wine_fn_has_flag installbin $ac_flags
15568 then
15569 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15570 "$ac_dir/__install__:: tools \$(DESTDIR)\$(bindir)
15571 \$(INSTALL_SCRIPT) tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
15572 $ac_dir/__uninstall__::
15573 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
15575 else
15576 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15577 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
15578 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(dlldir)/$ac_program
15579 $ac_dir/__uninstall__::
15580 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program"
15583 if test "x$enable_tools" != xno && wine_fn_has_flag manpage $ac_flags
15584 then
15585 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15586 "$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(mandir)/man\$(prog_manext)
15587 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
15588 $ac_dir/__uninstall__::
15589 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
15594 wine_fn_config_test ()
15596 ac_dir=$1
15597 ac_name=$2
15598 ac_flags=$3
15599 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
15600 wine_fn_all_dir_rules $ac_dir Maketest.rules
15602 if test "x$enable_tests" = xno; then :
15604 else
15605 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15606 "all: $ac_dir
15607 .PHONY: $ac_dir
15608 $ac_dir: $ac_dir/Makefile programs/winetest/Makefile __builddeps__ dummy
15609 @cd $ac_dir && \$(MAKE)
15610 programs/winetest: $ac_dir
15611 check test: $ac_dir/__test__
15612 .PHONY: $ac_dir/__test__
15613 $ac_dir/__test__: dummy
15614 @cd $ac_dir && \$(MAKE) test
15615 testclean::
15616 \$(RM) $ac_dir/*.ok"
15618 if test "x$CROSSTEST_DISABLE" = x
15619 then
15620 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15621 "crosstest: $ac_dir/__crosstest__
15622 .PHONY: $ac_dir/__crosstest__
15623 $ac_dir/__crosstest__: $ac_dir/Makefile __builddeps__ dummy
15624 @cd $ac_dir && \$(MAKE) crosstest"
15629 wine_fn_config_tool ()
15631 ac_dir=$1
15632 ac_flags=$2
15633 if test "x$enable_tools" = xno; then :
15634 return 0
15637 wine_fn_config_makefile $ac_dir enable_tools $ac_flags
15639 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "__tooldeps__: $ac_dir"
15640 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "$ac_dir: libs/port"
15641 case $ac_dir in
15642 tools/winebuild) wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(WINEBUILD): $ac_dir" ;;
15643 esac
15646 wine_fn_config_makerules ()
15648 ac_rules=$1
15649 ac_deps=$2
15650 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15651 "$ac_rules: $ac_rules.in $ac_deps config.status
15652 @./config.status $ac_rules
15653 distclean::
15654 \$(RM) $ac_rules"
15657 wine_fn_config_symlink ()
15659 ac_link=$1
15660 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15661 "$ac_link:
15662 @./config.status $ac_link
15663 distclean::
15664 \$(RM) $ac_link"
15667 if test "x$CROSSTEST_DISABLE" != x
15668 then
15669 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15670 "crosstest:
15671 @echo \"crosstest is not supported (mingw not installed?)\" && false"
15673 ac_config_links="$ac_config_links dlls/shell32/AUTHORS:AUTHORS"
15674 wine_fn_config_symlink dlls/shell32/AUTHORS
15675 ac_config_links="$ac_config_links dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd"
15676 test "$srcdir" = "." || wine_fn_config_symlink dlls/wineps.drv/generic.ppd
15677 if test "x$enable_fonts" != xno; then
15678 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
15679 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf
15681 if test "x$enable_fonts" != xno; then
15682 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
15683 test "$srcdir" = "." || wine_fn_config_symlink fonts/symbol.ttf
15685 if test "x$enable_fonts" != xno; then
15686 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
15687 test "$srcdir" = "." || wine_fn_config_symlink fonts/tahoma.ttf
15689 if test "x$enable_fonts" != xno; then
15690 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
15691 test "$srcdir" = "." || wine_fn_config_symlink fonts/tahomabd.ttf
15693 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
15694 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
15695 if test "x$enable_tools" != xno; then
15696 ac_config_links="$ac_config_links tools/l_intl.nls:tools/l_intl.nls"
15697 test "$srcdir" = "." || wine_fn_config_symlink tools/l_intl.nls
15699 ac_config_links="$ac_config_links wine:tools/winewrapper"
15700 wine_fn_config_symlink wine
15701 if test "x$enable_win64" != xno; then
15702 ac_config_links="$ac_config_links wine64:tools/winewrapper"
15703 wine_fn_config_symlink wine64
15706 ac_config_commands="$ac_config_commands dlls/gdi32/dibdrv"
15708 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
15710 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
15712 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
15714 ac_config_commands="$ac_config_commands dlls/user32/resources"
15716 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
15718 ac_config_commands="$ac_config_commands include/wine"
15721 wine_fn_config_makerules Make.rules
15722 MAKE_RULES=Make.rules
15723 ac_config_files="$ac_config_files Make.rules"
15725 wine_fn_config_makerules Maketest.rules Make.rules
15726 MAKE_TEST_RULES=Maketest.rules
15727 ac_config_files="$ac_config_files Maketest.rules"
15729 wine_fn_config_makerules dlls/Makedll.rules Make.rules
15730 MAKE_DLL_RULES=dlls/Makedll.rules
15731 ac_config_files="$ac_config_files dlls/Makedll.rules"
15733 wine_fn_config_makerules dlls/Makeimplib.rules Make.rules
15734 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
15735 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
15737 wine_fn_config_makerules programs/Makeprog.rules Make.rules
15738 MAKE_PROG_RULES=programs/Makeprog.rules
15739 ac_config_files="$ac_config_files programs/Makeprog.rules"
15742 wine_fn_config_dll acledit enable_acledit
15743 wine_fn_config_dll aclui enable_aclui implib
15744 wine_fn_config_dll activeds enable_activeds implib
15745 wine_fn_config_dll actxprxy enable_actxprxy
15746 wine_fn_config_lib adsiid
15747 wine_fn_config_dll advapi32 enable_advapi32 implib
15748 wine_fn_config_test dlls/advapi32/tests advapi32_test
15749 wine_fn_config_dll advpack enable_advpack implib
15750 wine_fn_config_test dlls/advpack/tests advpack_test
15751 wine_fn_config_dll amstream enable_amstream
15752 wine_fn_config_test dlls/amstream/tests amstream_test
15753 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
15754 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
15755 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
15756 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
15757 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
15758 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
15759 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
15760 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
15761 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
15762 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
15763 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
15764 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
15765 wine_fn_config_dll apphelp enable_apphelp
15766 wine_fn_config_test dlls/apphelp/tests apphelp_test
15767 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
15768 wine_fn_config_dll atl enable_atl implib
15769 wine_fn_config_test dlls/atl/tests atl_test
15770 wine_fn_config_dll atl100 enable_atl100 implib
15771 wine_fn_config_test dlls/atl100/tests atl100_test
15772 wine_fn_config_dll atl80 enable_atl80 implib
15773 wine_fn_config_test dlls/atl80/tests atl80_test
15774 wine_fn_config_dll authz enable_authz
15775 wine_fn_config_dll avicap32 enable_avicap32 implib
15776 wine_fn_config_dll avifil32 enable_avifil32 implib,po
15777 wine_fn_config_test dlls/avifil32/tests avifil32_test
15778 wine_fn_config_dll avifile.dll16 enable_win16
15779 wine_fn_config_dll avrt enable_avrt implib
15780 wine_fn_config_dll bcrypt enable_bcrypt
15781 wine_fn_config_dll browseui enable_browseui po
15782 wine_fn_config_test dlls/browseui/tests browseui_test
15783 wine_fn_config_dll cabinet enable_cabinet implib
15784 wine_fn_config_test dlls/cabinet/tests cabinet_test
15785 wine_fn_config_dll capi2032 enable_capi2032 implib
15786 wine_fn_config_dll cards enable_cards implib
15787 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
15788 wine_fn_config_dll clusapi enable_clusapi implib
15789 wine_fn_config_dll comcat enable_comcat
15790 wine_fn_config_test dlls/comcat/tests comcat_test
15791 wine_fn_config_dll comctl32 enable_comctl32 implib,po
15792 wine_fn_config_test dlls/comctl32/tests comctl32_test
15793 wine_fn_config_dll comdlg32 enable_comdlg32 implib,po
15794 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
15795 wine_fn_config_dll comm.drv16 enable_win16
15796 wine_fn_config_dll commdlg.dll16 enable_win16
15797 wine_fn_config_dll compobj.dll16 enable_win16
15798 wine_fn_config_dll compstui enable_compstui implib
15799 wine_fn_config_dll credui enable_credui implib,po
15800 wine_fn_config_test dlls/credui/tests credui_test
15801 wine_fn_config_dll crtdll enable_crtdll implib
15802 wine_fn_config_dll crypt32 enable_crypt32 implib,po
15803 wine_fn_config_test dlls/crypt32/tests crypt32_test
15804 wine_fn_config_dll cryptdlg enable_cryptdlg po
15805 wine_fn_config_dll cryptdll enable_cryptdll implib
15806 wine_fn_config_dll cryptnet enable_cryptnet implib
15807 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
15808 wine_fn_config_dll cryptui enable_cryptui implib,po
15809 wine_fn_config_test dlls/cryptui/tests cryptui_test
15810 wine_fn_config_dll ctapi32 enable_ctapi32
15811 wine_fn_config_dll ctl3d.dll16 enable_win16
15812 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
15813 wine_fn_config_dll ctl3dv2.dll16 enable_win16
15814 wine_fn_config_dll d3d10 enable_d3d10 implib
15815 wine_fn_config_test dlls/d3d10/tests d3d10_test
15816 wine_fn_config_dll d3d10core enable_d3d10core implib
15817 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
15818 wine_fn_config_dll d3d11 enable_d3d11
15819 wine_fn_config_dll d3d8 enable_d3d8 implib
15820 wine_fn_config_test dlls/d3d8/tests d3d8_test
15821 wine_fn_config_dll d3d9 enable_d3d9 implib
15822 wine_fn_config_test dlls/d3d9/tests d3d9_test
15823 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
15824 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
15825 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
15826 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
15827 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
15828 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
15829 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
15830 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
15831 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
15832 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
15833 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
15834 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
15835 wine_fn_config_dll d3dim enable_d3dim implib
15836 wine_fn_config_dll d3drm enable_d3drm implib
15837 wine_fn_config_test dlls/d3drm/tests d3drm_test
15838 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
15839 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
15840 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
15841 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
15842 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
15843 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
15844 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
15845 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
15846 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
15847 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
15848 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
15849 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
15850 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
15851 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
15852 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
15853 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
15854 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
15855 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
15856 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
15857 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
15858 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
15859 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
15860 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
15861 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
15862 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
15863 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
15864 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
15865 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
15866 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
15867 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
15868 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
15869 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
15870 wine_fn_config_dll d3dxof enable_d3dxof implib
15871 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
15872 wine_fn_config_dll dbgeng enable_dbgeng implib
15873 wine_fn_config_dll dbghelp enable_dbghelp implib
15874 wine_fn_config_dll dciman32 enable_dciman32 implib
15875 wine_fn_config_dll ddeml.dll16 enable_win16
15876 wine_fn_config_dll ddraw enable_ddraw implib
15877 wine_fn_config_test dlls/ddraw/tests ddraw_test
15878 wine_fn_config_dll ddrawex enable_ddrawex
15879 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
15880 wine_fn_config_dll devenum enable_devenum po
15881 wine_fn_config_test dlls/devenum/tests devenum_test
15882 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
15883 wine_fn_config_dll difxapi enable_difxapi
15884 wine_fn_config_dll dinput enable_dinput implib,po,staticimplib
15885 wine_fn_config_test dlls/dinput/tests dinput_test
15886 wine_fn_config_dll dinput8 enable_dinput8 implib
15887 wine_fn_config_test dlls/dinput8/tests dinput8_test
15888 wine_fn_config_dll dispdib.dll16 enable_win16
15889 wine_fn_config_dll dispex enable_dispex
15890 wine_fn_config_test dlls/dispex/tests dispex_test
15891 wine_fn_config_dll display.drv16 enable_win16
15892 wine_fn_config_dll dmband enable_dmband
15893 wine_fn_config_test dlls/dmband/tests dmband_test
15894 wine_fn_config_dll dmcompos enable_dmcompos
15895 wine_fn_config_dll dmime enable_dmime
15896 wine_fn_config_test dlls/dmime/tests dmime_test
15897 wine_fn_config_dll dmloader enable_dmloader
15898 wine_fn_config_test dlls/dmloader/tests dmloader_test
15899 wine_fn_config_dll dmscript enable_dmscript
15900 wine_fn_config_dll dmstyle enable_dmstyle
15901 wine_fn_config_dll dmsynth enable_dmsynth
15902 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
15903 wine_fn_config_dll dmusic enable_dmusic
15904 wine_fn_config_test dlls/dmusic/tests dmusic_test
15905 wine_fn_config_dll dmusic32 enable_dmusic32 implib
15906 wine_fn_config_dll dnsapi enable_dnsapi implib
15907 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
15908 wine_fn_config_dll dplay enable_dplay implib
15909 wine_fn_config_dll dplayx enable_dplayx implib
15910 wine_fn_config_test dlls/dplayx/tests dplayx_test
15911 wine_fn_config_dll dpnaddr enable_dpnaddr
15912 wine_fn_config_dll dpnet enable_dpnet implib
15913 wine_fn_config_test dlls/dpnet/tests dpnet_test
15914 wine_fn_config_dll dpnhpast enable_dpnhpast
15915 wine_fn_config_dll dpnlobby enable_dpnlobby
15916 wine_fn_config_dll dpwsockx enable_dpwsockx
15917 wine_fn_config_dll drmclien enable_drmclien
15918 wine_fn_config_dll dsound enable_dsound implib
15919 wine_fn_config_test dlls/dsound/tests dsound_test
15920 wine_fn_config_dll dssenh enable_dssenh
15921 wine_fn_config_test dlls/dssenh/tests dssenh_test
15922 wine_fn_config_dll dswave enable_dswave
15923 wine_fn_config_dll dwmapi enable_dwmapi implib
15924 wine_fn_config_dll dwrite enable_dwrite implib
15925 wine_fn_config_test dlls/dwrite/tests dwrite_test
15926 wine_fn_config_dll dxdiagn enable_dxdiagn po
15927 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
15928 wine_fn_config_lib dxerr8
15929 wine_fn_config_lib dxerr9
15930 wine_fn_config_dll dxgi enable_dxgi implib
15931 wine_fn_config_test dlls/dxgi/tests dxgi_test
15932 wine_fn_config_lib dxguid
15933 wine_fn_config_dll explorerframe enable_explorerframe
15934 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
15935 wine_fn_config_dll faultrep enable_faultrep implib
15936 wine_fn_config_test dlls/faultrep/tests faultrep_test
15937 wine_fn_config_dll fltlib enable_fltlib
15938 wine_fn_config_dll fusion enable_fusion
15939 wine_fn_config_test dlls/fusion/tests fusion_test
15940 wine_fn_config_dll fwpuclnt enable_fwpuclnt
15941 wine_fn_config_dll gameux enable_gameux
15942 wine_fn_config_test dlls/gameux/tests gameux_test
15943 wine_fn_config_dll gdi.exe16 enable_win16
15944 wine_fn_config_dll gdi32 enable_gdi32 implib,po
15945 wine_fn_config_test dlls/gdi32/tests gdi32_test
15946 wine_fn_config_dll gdiplus enable_gdiplus implib
15947 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
15948 wine_fn_config_dll glu32 enable_glu32 implib
15949 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
15950 wine_fn_config_dll gpkcsp enable_gpkcsp
15951 wine_fn_config_dll hal enable_hal
15952 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx implib,po htmlhelp
15953 wine_fn_config_dll hid enable_hid implib
15954 wine_fn_config_dll hlink enable_hlink implib
15955 wine_fn_config_test dlls/hlink/tests hlink_test
15956 wine_fn_config_dll hnetcfg enable_hnetcfg
15957 wine_fn_config_dll httpapi enable_httpapi
15958 wine_fn_config_dll iccvid enable_iccvid po
15959 wine_fn_config_dll icmp enable_icmp
15960 wine_fn_config_dll ieframe enable_ieframe implib,po
15961 wine_fn_config_test dlls/ieframe/tests ieframe_test
15962 wine_fn_config_dll ifsmgr.vxd enable_win16
15963 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
15964 wine_fn_config_dll imagehlp enable_imagehlp implib
15965 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
15966 wine_fn_config_dll imm.dll16 enable_win16
15967 wine_fn_config_dll imm32 enable_imm32 implib
15968 wine_fn_config_test dlls/imm32/tests imm32_test
15969 wine_fn_config_dll inetcomm enable_inetcomm implib
15970 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
15971 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
15972 wine_fn_config_dll inetmib1 enable_inetmib1
15973 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
15974 wine_fn_config_dll infosoft enable_infosoft
15975 wine_fn_config_test dlls/infosoft/tests infosoft_test
15976 wine_fn_config_dll initpki enable_initpki
15977 wine_fn_config_dll inkobj enable_inkobj
15978 wine_fn_config_dll inseng enable_inseng
15979 wine_fn_config_dll iphlpapi enable_iphlpapi implib
15980 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
15981 wine_fn_config_dll itircl enable_itircl
15982 wine_fn_config_dll itss enable_itss
15983 wine_fn_config_test dlls/itss/tests itss_test
15984 wine_fn_config_dll joy.cpl enable_joy_cpl po
15985 wine_fn_config_dll jscript enable_jscript po
15986 wine_fn_config_test dlls/jscript/tests jscript_test
15987 wine_fn_config_dll kernel32 enable_kernel32 implib,mc
15988 wine_fn_config_test dlls/kernel32/tests kernel32_test
15989 wine_fn_config_dll keyboard.drv16 enable_win16
15990 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
15991 wine_fn_config_dll ktmw32 enable_ktmw32
15992 wine_fn_config_dll loadperf enable_loadperf implib
15993 wine_fn_config_dll localspl enable_localspl po
15994 wine_fn_config_test dlls/localspl/tests localspl_test
15995 wine_fn_config_dll localui enable_localui po
15996 wine_fn_config_test dlls/localui/tests localui_test
15997 wine_fn_config_dll lz32 enable_lz32 implib
15998 wine_fn_config_test dlls/lz32/tests lz32_test
15999 wine_fn_config_dll lzexpand.dll16 enable_win16
16000 wine_fn_config_dll mapi32 enable_mapi32 implib,po
16001 wine_fn_config_test dlls/mapi32/tests mapi32_test
16002 wine_fn_config_dll mapistub enable_mapistub
16003 wine_fn_config_dll mciavi32 enable_mciavi32
16004 wine_fn_config_dll mcicda enable_mcicda
16005 wine_fn_config_dll mciqtz32 enable_mciqtz32
16006 wine_fn_config_dll mciseq enable_mciseq
16007 wine_fn_config_dll mciwave enable_mciwave
16008 wine_fn_config_dll mgmtapi enable_mgmtapi
16009 wine_fn_config_dll midimap enable_midimap
16010 wine_fn_config_dll mlang enable_mlang implib
16011 wine_fn_config_test dlls/mlang/tests mlang_test
16012 wine_fn_config_dll mmcndmgr enable_mmcndmgr
16013 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
16014 wine_fn_config_dll mmdevapi enable_mmdevapi
16015 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
16016 wine_fn_config_dll mmdevldr.vxd enable_win16
16017 wine_fn_config_dll mmsystem.dll16 enable_win16
16018 wine_fn_config_dll monodebg.vxd enable_win16
16019 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
16020 wine_fn_config_dll mouse.drv16 enable_win16
16021 wine_fn_config_dll mpr enable_mpr implib,po
16022 wine_fn_config_test dlls/mpr/tests mpr_test
16023 wine_fn_config_dll mprapi enable_mprapi implib
16024 wine_fn_config_dll msacm.dll16 enable_win16
16025 wine_fn_config_dll msacm32.drv enable_msacm32_drv
16026 wine_fn_config_dll msacm32 enable_msacm32 implib,po
16027 wine_fn_config_test dlls/msacm32/tests msacm32_test
16028 wine_fn_config_dll msadp32.acm enable_msadp32_acm
16029 wine_fn_config_dll mscat32 enable_mscat32
16030 wine_fn_config_dll mscms enable_mscms implib
16031 wine_fn_config_test dlls/mscms/tests mscms_test
16032 wine_fn_config_dll mscoree enable_mscoree
16033 wine_fn_config_test dlls/mscoree/tests mscoree_test
16034 wine_fn_config_dll msctf enable_msctf
16035 wine_fn_config_test dlls/msctf/tests msctf_test
16036 wine_fn_config_dll msdaps enable_msdaps
16037 wine_fn_config_dll msdmo enable_msdmo implib
16038 wine_fn_config_dll msftedit enable_msftedit
16039 wine_fn_config_dll msg711.acm enable_msg711_acm
16040 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
16041 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb
16042 wine_fn_config_dll mshtml enable_mshtml implib,po
16043 wine_fn_config_test dlls/mshtml/tests mshtml_test
16044 wine_fn_config_dll msi enable_msi implib,po
16045 wine_fn_config_test dlls/msi/tests msi_test
16046 wine_fn_config_dll msident enable_msident
16047 wine_fn_config_dll msimg32 enable_msimg32 implib
16048 wine_fn_config_dll msimsg enable_msimsg
16049 wine_fn_config_dll msimtf enable_msimtf
16050 wine_fn_config_dll msisip enable_msisip
16051 wine_fn_config_dll msisys.ocx enable_msisys_ocx
16052 wine_fn_config_dll msls31 enable_msls31
16053 wine_fn_config_dll msnet32 enable_msnet32
16054 wine_fn_config_dll mspatcha enable_mspatcha
16055 wine_fn_config_dll msrle32 enable_msrle32 po
16056 wine_fn_config_dll mssign32 enable_mssign32
16057 wine_fn_config_dll mssip32 enable_mssip32
16058 wine_fn_config_dll mstask enable_mstask
16059 wine_fn_config_test dlls/mstask/tests mstask_test
16060 wine_fn_config_dll msvcirt enable_msvcirt
16061 wine_fn_config_dll msvcm80 enable_msvcm80
16062 wine_fn_config_dll msvcm90 enable_msvcm90
16063 wine_fn_config_dll msvcp100 enable_msvcp100
16064 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
16065 wine_fn_config_dll msvcp110 enable_msvcp110
16066 wine_fn_config_dll msvcp60 enable_msvcp60
16067 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
16068 wine_fn_config_dll msvcp70 enable_msvcp70
16069 wine_fn_config_dll msvcp71 enable_msvcp71
16070 wine_fn_config_dll msvcp80 enable_msvcp80
16071 wine_fn_config_dll msvcp90 enable_msvcp90
16072 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
16073 wine_fn_config_dll msvcr100 enable_msvcr100
16074 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
16075 wine_fn_config_dll msvcr110 enable_msvcr110
16076 wine_fn_config_dll msvcr70 enable_msvcr70 implib
16077 wine_fn_config_dll msvcr71 enable_msvcr71 implib
16078 wine_fn_config_dll msvcr80 enable_msvcr80
16079 wine_fn_config_dll msvcr90 enable_msvcr90
16080 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
16081 wine_fn_config_dll msvcrt enable_msvcrt implib
16082 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
16083 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
16084 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
16085 wine_fn_config_dll msvcrtd enable_msvcrtd implib
16086 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
16087 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
16088 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
16089 wine_fn_config_dll msvidc32 enable_msvidc32 po
16090 wine_fn_config_dll msvideo.dll16 enable_win16
16091 wine_fn_config_dll mswsock enable_mswsock implib
16092 wine_fn_config_dll msxml enable_msxml
16093 wine_fn_config_dll msxml2 enable_msxml2
16094 wine_fn_config_dll msxml3 enable_msxml3
16095 wine_fn_config_test dlls/msxml3/tests msxml3_test
16096 wine_fn_config_dll msxml4 enable_msxml4
16097 wine_fn_config_dll msxml6 enable_msxml6
16098 wine_fn_config_dll nddeapi enable_nddeapi implib
16099 wine_fn_config_dll netapi32 enable_netapi32 implib
16100 wine_fn_config_test dlls/netapi32/tests netapi32_test
16101 wine_fn_config_dll newdev enable_newdev implib
16102 wine_fn_config_dll normaliz enable_normaliz implib
16103 wine_fn_config_dll npmshtml enable_npmshtml
16104 wine_fn_config_dll ntdll enable_ntdll implib
16105 wine_fn_config_test dlls/ntdll/tests ntdll_test
16106 wine_fn_config_dll ntdsapi enable_ntdsapi implib
16107 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
16108 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
16109 wine_fn_config_dll ntprint enable_ntprint
16110 wine_fn_config_test dlls/ntprint/tests ntprint_test
16111 wine_fn_config_dll objsel enable_objsel
16112 wine_fn_config_dll odbc32 enable_odbc32 implib
16113 wine_fn_config_dll odbccp32 enable_odbccp32 implib
16114 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
16115 wine_fn_config_dll odbccu32 enable_odbccu32
16116 wine_fn_config_dll ole2.dll16 enable_win16
16117 wine_fn_config_dll ole2conv.dll16 enable_win16
16118 wine_fn_config_dll ole2disp.dll16 enable_win16
16119 wine_fn_config_dll ole2nls.dll16 enable_win16
16120 wine_fn_config_dll ole2prox.dll16 enable_win16
16121 wine_fn_config_dll ole2thk.dll16 enable_win16
16122 wine_fn_config_dll ole32 enable_ole32 implib
16123 wine_fn_config_test dlls/ole32/tests ole32_test
16124 wine_fn_config_dll oleacc enable_oleacc implib,po
16125 wine_fn_config_test dlls/oleacc/tests oleacc_test
16126 wine_fn_config_dll oleaut32 enable_oleaut32 implib,po
16127 wine_fn_config_test dlls/oleaut32/tests oleaut32_test
16128 wine_fn_config_dll olecli.dll16 enable_win16
16129 wine_fn_config_dll olecli32 enable_olecli32 implib
16130 wine_fn_config_dll oledb32 enable_oledb32
16131 wine_fn_config_test dlls/oledb32/tests oledb32_test
16132 wine_fn_config_dll oledlg enable_oledlg implib,po
16133 wine_fn_config_dll olepro32 enable_olepro32 implib
16134 wine_fn_config_dll olesvr.dll16 enable_win16
16135 wine_fn_config_dll olesvr32 enable_olesvr32 implib
16136 wine_fn_config_dll olethk32 enable_olethk32
16137 wine_fn_config_dll openal32 enable_openal32
16138 wine_fn_config_dll opencl enable_opencl
16139 wine_fn_config_dll opengl32 enable_opengl32 implib
16140 wine_fn_config_test dlls/opengl32/tests opengl32_test
16141 wine_fn_config_dll pdh enable_pdh implib
16142 wine_fn_config_test dlls/pdh/tests pdh_test
16143 wine_fn_config_dll photometadatahandler enable_photometadatahandler
16144 wine_fn_config_dll pidgen enable_pidgen
16145 wine_fn_config_dll powrprof enable_powrprof implib
16146 wine_fn_config_dll printui enable_printui
16147 wine_fn_config_dll propsys enable_propsys implib
16148 wine_fn_config_test dlls/propsys/tests propsys_test
16149 wine_fn_config_dll psapi enable_psapi implib
16150 wine_fn_config_test dlls/psapi/tests psapi_test
16151 wine_fn_config_dll pstorec enable_pstorec
16152 wine_fn_config_dll qcap enable_qcap
16153 wine_fn_config_dll qedit enable_qedit
16154 wine_fn_config_test dlls/qedit/tests qedit_test
16155 wine_fn_config_dll qmgr enable_qmgr
16156 wine_fn_config_test dlls/qmgr/tests qmgr_test
16157 wine_fn_config_dll qmgrprxy enable_qmgrprxy
16158 wine_fn_config_dll quartz enable_quartz implib
16159 wine_fn_config_test dlls/quartz/tests quartz_test
16160 wine_fn_config_dll query enable_query
16161 wine_fn_config_dll rasapi16.dll16 enable_win16
16162 wine_fn_config_dll rasapi32 enable_rasapi32 implib
16163 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
16164 wine_fn_config_dll rasdlg enable_rasdlg implib
16165 wine_fn_config_dll regapi enable_regapi
16166 wine_fn_config_dll resutils enable_resutils implib
16167 wine_fn_config_dll riched20 enable_riched20 implib
16168 wine_fn_config_test dlls/riched20/tests riched20_test
16169 wine_fn_config_dll riched32 enable_riched32
16170 wine_fn_config_test dlls/riched32/tests riched32_test
16171 wine_fn_config_dll rpcrt4 enable_rpcrt4 implib
16172 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test
16173 wine_fn_config_dll rsabase enable_rsabase
16174 wine_fn_config_dll rsaenh enable_rsaenh implib
16175 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
16176 wine_fn_config_dll rstrtmgr enable_rstrtmgr
16177 wine_fn_config_dll rtutils enable_rtutils implib
16178 wine_fn_config_dll samlib enable_samlib
16179 wine_fn_config_dll sane.ds enable_sane_ds po
16180 wine_fn_config_dll scarddlg enable_scarddlg
16181 wine_fn_config_dll sccbase enable_sccbase
16182 wine_fn_config_dll schannel enable_schannel
16183 wine_fn_config_test dlls/schannel/tests schannel_test
16184 wine_fn_config_dll scrrun enable_scrrun
16185 wine_fn_config_test dlls/scrrun/tests scrrun_test
16186 wine_fn_config_dll scsiport.sys enable_scsiport_sys
16187 wine_fn_config_dll secur32 enable_secur32 implib
16188 wine_fn_config_test dlls/secur32/tests secur32_test
16189 wine_fn_config_dll security enable_security
16190 wine_fn_config_dll sensapi enable_sensapi implib
16191 wine_fn_config_dll serialui enable_serialui implib,po
16192 wine_fn_config_test dlls/serialui/tests serialui_test
16193 wine_fn_config_dll setupapi enable_setupapi implib,po
16194 wine_fn_config_test dlls/setupapi/tests setupapi_test
16195 wine_fn_config_dll setupx.dll16 enable_win16
16196 wine_fn_config_dll sfc enable_sfc implib
16197 wine_fn_config_dll sfc_os enable_sfc_os implib
16198 wine_fn_config_dll shdoclc enable_shdoclc po
16199 wine_fn_config_dll shdocvw enable_shdocvw implib
16200 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
16201 wine_fn_config_dll shell.dll16 enable_win16
16202 wine_fn_config_dll shell32 enable_shell32 implib,po
16203 wine_fn_config_test dlls/shell32/tests shell32_test
16204 wine_fn_config_dll shfolder enable_shfolder implib
16205 wine_fn_config_dll shlwapi enable_shlwapi implib,po
16206 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
16207 wine_fn_config_dll slbcsp enable_slbcsp
16208 wine_fn_config_dll slc enable_slc implib
16209 wine_fn_config_dll snmpapi enable_snmpapi implib
16210 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
16211 wine_fn_config_dll softpub enable_softpub
16212 wine_fn_config_dll sound.drv16 enable_win16
16213 wine_fn_config_dll spoolss enable_spoolss implib
16214 wine_fn_config_test dlls/spoolss/tests spoolss_test
16215 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb
16216 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb
16217 wine_fn_config_dll sti enable_sti implib
16218 wine_fn_config_test dlls/sti/tests sti_test
16219 wine_fn_config_dll storage.dll16 enable_win16
16220 wine_fn_config_dll stress.dll16 enable_win16
16221 wine_fn_config_lib strmbase
16222 wine_fn_config_lib strmiids
16223 wine_fn_config_dll svrapi enable_svrapi
16224 wine_fn_config_dll sxs enable_sxs implib
16225 wine_fn_config_test dlls/sxs/tests sxs_test
16226 wine_fn_config_dll system.drv16 enable_win16
16227 wine_fn_config_dll t2embed enable_t2embed
16228 wine_fn_config_dll tapi32 enable_tapi32 implib
16229 wine_fn_config_dll toolhelp.dll16 enable_win16
16230 wine_fn_config_dll traffic enable_traffic
16231 wine_fn_config_dll twain.dll16 enable_win16
16232 wine_fn_config_dll twain_32 enable_twain_32
16233 wine_fn_config_test dlls/twain_32/tests twain_32_test
16234 wine_fn_config_dll typelib.dll16 enable_win16
16235 wine_fn_config_dll unicows enable_unicows implib
16236 wine_fn_config_dll updspapi enable_updspapi
16237 wine_fn_config_dll url enable_url implib
16238 wine_fn_config_dll urlmon enable_urlmon implib,po
16239 wine_fn_config_test dlls/urlmon/tests urlmon_test
16240 wine_fn_config_dll usbd.sys enable_usbd_sys implib
16241 wine_fn_config_dll user.exe16 enable_win16
16242 wine_fn_config_dll user32 enable_user32 implib,po
16243 wine_fn_config_test dlls/user32/tests user32_test
16244 wine_fn_config_dll userenv enable_userenv implib
16245 wine_fn_config_test dlls/userenv/tests userenv_test
16246 wine_fn_config_dll usp10 enable_usp10 implib
16247 wine_fn_config_test dlls/usp10/tests usp10_test
16248 wine_fn_config_lib uuid
16249 wine_fn_config_dll uxtheme enable_uxtheme implib
16250 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
16251 wine_fn_config_dll vbscript enable_vbscript
16252 wine_fn_config_test dlls/vbscript/tests vbscript_test
16253 wine_fn_config_dll vcomp enable_vcomp
16254 wine_fn_config_dll vcomp100 enable_vcomp100
16255 wine_fn_config_dll vcomp90 enable_vcomp90
16256 wine_fn_config_dll vdhcp.vxd enable_win16
16257 wine_fn_config_dll vdmdbg enable_vdmdbg implib
16258 wine_fn_config_dll ver.dll16 enable_win16
16259 wine_fn_config_dll version enable_version implib
16260 wine_fn_config_test dlls/version/tests version_test
16261 wine_fn_config_dll vmm.vxd enable_win16
16262 wine_fn_config_dll vnbt.vxd enable_win16
16263 wine_fn_config_dll vnetbios.vxd enable_win16
16264 wine_fn_config_dll vtdapi.vxd enable_win16
16265 wine_fn_config_dll vwin32.vxd enable_win16
16266 wine_fn_config_dll w32skrnl enable_win16
16267 wine_fn_config_dll w32sys.dll16 enable_win16
16268 wine_fn_config_dll wbemprox enable_wbemprox
16269 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
16270 wine_fn_config_dll webservices enable_webservices implib
16271 wine_fn_config_dll wer enable_wer implib
16272 wine_fn_config_test dlls/wer/tests wer_test
16273 wine_fn_config_dll wevtapi enable_wevtapi
16274 wine_fn_config_dll wiaservc enable_wiaservc
16275 wine_fn_config_dll win32s16.dll16 enable_win16
16276 wine_fn_config_dll win87em.dll16 enable_win16
16277 wine_fn_config_dll winaspi.dll16 enable_win16
16278 wine_fn_config_dll windebug.dll16 enable_win16
16279 wine_fn_config_dll windowscodecs enable_windowscodecs implib
16280 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
16281 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
16282 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
16283 wine_fn_config_dll winealsa.drv enable_winealsa_drv
16284 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
16285 wine_fn_config_lib winecrt0
16286 wine_fn_config_dll wined3d enable_wined3d implib
16287 wine_fn_config_dll winegstreamer enable_winegstreamer
16288 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
16289 wine_fn_config_dll winemac.drv enable_winemac_drv
16290 wine_fn_config_dll winemapi enable_winemapi
16291 wine_fn_config_dll winemp3.acm enable_winemp3_acm
16292 wine_fn_config_dll wineoss.drv enable_wineoss_drv
16293 wine_fn_config_dll wineps.drv enable_wineps_drv install-lib,po
16294 wine_fn_config_dll wineps16.drv16 enable_win16
16295 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
16296 wine_fn_config_dll winex11.drv enable_winex11_drv
16297 wine_fn_config_dll wing.dll16 enable_win16
16298 wine_fn_config_dll wing32 enable_wing32
16299 wine_fn_config_dll winhttp enable_winhttp implib
16300 wine_fn_config_test dlls/winhttp/tests winhttp_test
16301 wine_fn_config_dll wininet enable_wininet implib,po
16302 wine_fn_config_test dlls/wininet/tests wininet_test
16303 wine_fn_config_dll winmm enable_winmm implib,po
16304 wine_fn_config_test dlls/winmm/tests winmm_test
16305 wine_fn_config_dll winnls.dll16 enable_win16
16306 wine_fn_config_dll winnls32 enable_winnls32 implib
16307 wine_fn_config_dll winscard enable_winscard implib
16308 wine_fn_config_dll winsock.dll16 enable_win16
16309 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
16310 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
16311 wine_fn_config_dll winsta enable_winsta
16312 wine_fn_config_dll wintab.dll16 enable_win16
16313 wine_fn_config_dll wintab32 enable_wintab32 implib
16314 wine_fn_config_test dlls/wintab32/tests wintab32_test
16315 wine_fn_config_dll wintrust enable_wintrust implib
16316 wine_fn_config_test dlls/wintrust/tests wintrust_test
16317 wine_fn_config_dll wlanapi enable_wlanapi
16318 wine_fn_config_dll wldap32 enable_wldap32 implib,po
16319 wine_fn_config_test dlls/wldap32/tests wldap32_test
16320 wine_fn_config_dll wmi enable_wmi
16321 wine_fn_config_dll wmiutils enable_wmiutils
16322 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
16323 wine_fn_config_dll wmvcore enable_wmvcore
16324 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
16325 wine_fn_config_dll wow32 enable_win16 implib
16326 wine_fn_config_dll ws2_32 enable_ws2_32 implib
16327 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
16328 wine_fn_config_dll wshom.ocx enable_wshom_ocx
16329 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test
16330 wine_fn_config_dll wsnmp32 enable_wsnmp32
16331 wine_fn_config_dll wsock32 enable_wsock32 implib
16332 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
16333 wine_fn_config_dll wuapi enable_wuapi
16334 wine_fn_config_dll wuaueng enable_wuaueng
16335 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
16336 wine_fn_config_dll xinput1_1 enable_xinput1_1
16337 wine_fn_config_dll xinput1_2 enable_xinput1_2
16338 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
16339 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
16340 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
16341 wine_fn_config_dll xmllite enable_xmllite
16342 wine_fn_config_test dlls/xmllite/tests xmllite_test
16343 wine_fn_config_dll xolehlp enable_xolehlp
16344 wine_fn_config_dll xpsprint enable_xpsprint
16345 wine_fn_config_dll xpssvcs enable_xpssvcs
16346 wine_fn_config_makefile documentation enable_documentation
16347 wine_fn_config_makefile fonts enable_fonts install-lib
16348 wine_fn_config_makefile include enable_include install-dev
16349 wine_fn_config_makefile libs/port enable_libs_port
16350 wine_fn_config_makefile libs/wine enable_libs_wine install-dev,install-lib
16351 wine_fn_config_makefile libs/wpp enable_libs_wpp
16352 wine_fn_config_makefile loader enable_loader install-lib,manpage
16353 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
16354 wine_fn_config_program attrib enable_attrib install,po
16355 wine_fn_config_program cabarc enable_cabarc install
16356 wine_fn_config_program cacls enable_cacls install
16357 wine_fn_config_program clock enable_clock install,po
16358 wine_fn_config_program cmd enable_cmd install,po
16359 wine_fn_config_test programs/cmd/tests cmd.exe_test
16360 wine_fn_config_program conhost enable_conhost install
16361 wine_fn_config_program control enable_control install
16362 wine_fn_config_program cscript enable_cscript install
16363 wine_fn_config_program dxdiag enable_dxdiag install,po
16364 wine_fn_config_program eject enable_eject install
16365 wine_fn_config_program expand enable_expand install
16366 wine_fn_config_program explorer enable_explorer install,po
16367 wine_fn_config_program extrac32 enable_extrac32 install
16368 wine_fn_config_program findstr enable_findstr install
16369 wine_fn_config_program hh enable_hh install
16370 wine_fn_config_program hostname enable_hostname install,po
16371 wine_fn_config_program icinfo enable_icinfo install
16372 wine_fn_config_program iexplore enable_iexplore install
16373 wine_fn_config_program ipconfig enable_ipconfig install,po
16374 wine_fn_config_program lodctr enable_lodctr install
16375 wine_fn_config_program mofcomp enable_mofcomp install
16376 wine_fn_config_program mshta enable_mshta install
16377 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
16378 wine_fn_config_program net enable_net install,po
16379 wine_fn_config_program netsh enable_netsh install
16380 wine_fn_config_program netstat enable_netstat install,po
16381 wine_fn_config_program ngen enable_ngen install
16382 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
16383 wine_fn_config_program oleview enable_oleview install,po
16384 wine_fn_config_program ping enable_ping install
16385 wine_fn_config_program plugplay enable_plugplay install
16386 wine_fn_config_program presentationfontcache enable_presentationfontcache install
16387 wine_fn_config_program progman enable_progman install,po
16388 wine_fn_config_program reg enable_reg install,po
16389 wine_fn_config_program regasm enable_regasm install
16390 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
16391 wine_fn_config_test programs/regedit/tests regedit.exe_test
16392 wine_fn_config_program regsvcs enable_regsvcs install
16393 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage
16394 wine_fn_config_program rpcss enable_rpcss install
16395 wine_fn_config_program rundll.exe16 enable_win16 install
16396 wine_fn_config_program rundll32 enable_rundll32 install
16397 wine_fn_config_program sc enable_sc install
16398 wine_fn_config_program schtasks enable_schtasks install
16399 wine_fn_config_program secedit enable_secedit install
16400 wine_fn_config_program servicemodelreg enable_servicemodelreg install
16401 wine_fn_config_program services enable_services install
16402 wine_fn_config_test programs/services/tests services.exe_test
16403 wine_fn_config_program spoolsv enable_spoolsv install
16404 wine_fn_config_program start enable_start install,po
16405 wine_fn_config_program svchost enable_svchost install
16406 wine_fn_config_program taskkill enable_taskkill install,po
16407 wine_fn_config_program taskmgr enable_taskmgr install,po
16408 wine_fn_config_program termsv enable_termsv install
16409 wine_fn_config_program uninstaller enable_uninstaller install,po
16410 wine_fn_config_program unlodctr enable_unlodctr install
16411 wine_fn_config_program view enable_view install,po
16412 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
16413 wine_fn_config_program winebrowser enable_winebrowser install
16414 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
16415 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
16416 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
16417 wine_fn_config_program winedevice enable_winedevice install
16418 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
16419 wine_fn_config_program winemenubuilder enable_winemenubuilder install
16420 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
16421 wine_fn_config_program winemsibuilder enable_winemsibuilder install
16422 wine_fn_config_program winepath enable_winepath install,installbin,manpage
16423 wine_fn_config_program winetest enable_winetest
16424 wine_fn_config_program winevdm enable_win16 install
16425 wine_fn_config_program winhelp.exe16 enable_win16 install
16426 wine_fn_config_program winhlp32 enable_winhlp32 install,po
16427 wine_fn_config_program winoldap.mod16 enable_win16 install
16428 wine_fn_config_program winver enable_winver install
16429 wine_fn_config_program wmic enable_wmic install,po
16430 wine_fn_config_program wordpad enable_wordpad install,po
16431 wine_fn_config_program write enable_write install,po
16432 wine_fn_config_program wscript enable_wscript install
16433 wine_fn_config_test programs/wscript/tests wscript.exe_test
16434 wine_fn_config_program wusa enable_wusa install
16435 wine_fn_config_program xcopy enable_xcopy install,po
16436 wine_fn_config_makefile server enable_server install-lib,manpage
16437 wine_fn_config_tool tools install-dev,install-lib,manpage
16438 wine_fn_config_tool tools/widl install-dev,manpage
16439 wine_fn_config_tool tools/winebuild install-dev,manpage
16440 wine_fn_config_tool tools/winedump install-dev,manpage
16441 wine_fn_config_tool tools/winegcc install-dev,manpage
16442 wine_fn_config_tool tools/wmc install-dev,manpage
16443 wine_fn_config_tool tools/wrc install-dev,manpage
16445 LINGUAS="\
16446 ar \
16447 bg \
16448 ca \
16449 cs \
16450 da \
16451 de \
16452 el \
16453 en \
16454 en_US \
16455 eo \
16456 es \
16457 fa \
16458 fi \
16459 fr \
16460 he \
16461 hi \
16462 hr \
16463 hu \
16464 it \
16465 ja \
16466 ko \
16467 lt \
16468 ml \
16469 nb_NO \
16470 nl \
16471 or \
16472 pa \
16473 pl \
16474 pt_BR \
16475 pt_PT \
16476 rm \
16477 ro \
16478 ru \
16479 sk \
16480 sl \
16481 sr_RS@cyrillic \
16482 sr_RS@latin \
16483 sv \
16484 te \
16485 th \
16486 tr \
16487 uk \
16488 wa \
16489 zh_CN \
16490 zh_TW"
16494 ac_config_commands="$ac_config_commands Makefile"
16497 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
16501 if test "x$enable_maintainer_mode" = xyes
16502 then
16503 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(srcdir)/configure: configure.ac aclocal.m4
16504 cd \$(srcdir) && autoconf --warnings=all
16505 \$(srcdir)/include/config.h.in: include/stamp-h.in
16506 \$(srcdir)/include/stamp-h.in: configure.ac aclocal.m4
16507 cd \$(srcdir) && autoheader --warnings=all
16508 @echo timestamp > \$@"
16511 if test "x$with_gettextpo" = xyes
16512 then
16513 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
16514 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "ALL_POT_FILES =$ALL_POT_FILES
16515 \$(LINGUAS:%=po/%.po): \$(srcdir)/po/wine.pot
16516 msgmerge --previous -q \$@ \$(srcdir)/po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
16517 \$(srcdir)/po/wine.pot: \$(ALL_POT_FILES)
16518 msgcat -o \$@ \$(ALL_POT_FILES)"
16521 if test "$MSGFMT" != false
16522 then
16523 PORCFLAGS="--po-dir=\$(top_builddir)/po"
16525 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "__builddeps__: \$(ALL_MO_FILES)"
16526 else
16527 LINGUAS=
16530 if test "x$enable_tools" != xno
16531 then
16532 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(MAKEDEP): tools/Makefile
16533 clean:: __clean__
16534 \$(RM) tools/makedep\$(EXEEXT)"
16537 if test -n "$with_wine64"
16538 then
16539 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
16540 fonts server tools:
16541 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
16542 $with_wine64/loader/wine:
16543 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
16544 $with_wine64/loader/wine-preloader:
16545 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
16546 clean::
16547 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
16550 cat >confcache <<\_ACEOF
16551 # This file is a shell script that caches the results of configure
16552 # tests run on this system so they can be shared between configure
16553 # scripts and configure runs, see configure's option --config-cache.
16554 # It is not useful on other systems. If it contains results you don't
16555 # want to keep, you may remove or edit it.
16557 # config.status only pays attention to the cache file if you give it
16558 # the --recheck option to rerun configure.
16560 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16561 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16562 # following values.
16564 _ACEOF
16566 # The following way of writing the cache mishandles newlines in values,
16567 # but we know of no workaround that is simple, portable, and efficient.
16568 # So, we kill variables containing newlines.
16569 # Ultrix sh set writes to stderr and can't be redirected directly,
16570 # and sets the high bit in the cache file unless we assign to the vars.
16572 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16573 eval ac_val=\$$ac_var
16574 case $ac_val in #(
16575 *${as_nl}*)
16576 case $ac_var in #(
16577 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16578 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16579 esac
16580 case $ac_var in #(
16581 _ | IFS | as_nl) ;; #(
16582 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16583 *) { eval $ac_var=; unset $ac_var;} ;;
16584 esac ;;
16585 esac
16586 done
16588 (set) 2>&1 |
16589 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16590 *${as_nl}ac_space=\ *)
16591 # `set' does not quote correctly, so add quotes: double-quote
16592 # substitution turns \\\\ into \\, and sed turns \\ into \.
16593 sed -n \
16594 "s/'/'\\\\''/g;
16595 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16596 ;; #(
16598 # `set' quotes correctly as required by POSIX, so do not add quotes.
16599 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16601 esac |
16602 sort
16604 sed '
16605 /^ac_cv_env_/b end
16606 t clear
16607 :clear
16608 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16609 t end
16610 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16611 :end' >>confcache
16612 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16613 if test -w "$cache_file"; then
16614 if test "x$cache_file" != "x/dev/null"; then
16615 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16616 $as_echo "$as_me: updating cache $cache_file" >&6;}
16617 if test ! -f "$cache_file" || test -h "$cache_file"; then
16618 cat confcache >"$cache_file"
16619 else
16620 case $cache_file in #(
16621 */* | ?:*)
16622 mv -f confcache "$cache_file"$$ &&
16623 mv -f "$cache_file"$$ "$cache_file" ;; #(
16625 mv -f confcache "$cache_file" ;;
16626 esac
16629 else
16630 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16631 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16634 rm -f confcache
16636 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16637 # Let make expand exec_prefix.
16638 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16640 DEFS=-DHAVE_CONFIG_H
16642 ac_libobjs=
16643 ac_ltlibobjs=
16645 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16646 # 1. Remove the extension, and $U if already installed.
16647 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16648 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16649 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16650 # will be set to the directory where LIBOBJS objects are built.
16651 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16652 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16653 done
16654 LIBOBJS=$ac_libobjs
16656 LTLIBOBJS=$ac_ltlibobjs
16660 : "${CONFIG_STATUS=./config.status}"
16661 ac_write_fail=0
16662 ac_clean_files_save=$ac_clean_files
16663 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16664 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16665 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16666 as_write_fail=0
16667 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16668 #! $SHELL
16669 # Generated by $as_me.
16670 # Run this file to recreate the current configuration.
16671 # Compiler output produced by configure, useful for debugging
16672 # configure, is in config.log if it exists.
16674 debug=false
16675 ac_cs_recheck=false
16676 ac_cs_silent=false
16678 SHELL=\${CONFIG_SHELL-$SHELL}
16679 export SHELL
16680 _ASEOF
16681 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16682 ## -------------------- ##
16683 ## M4sh Initialization. ##
16684 ## -------------------- ##
16686 # Be more Bourne compatible
16687 DUALCASE=1; export DUALCASE # for MKS sh
16688 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16689 emulate sh
16690 NULLCMD=:
16691 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16692 # is contrary to our usage. Disable this feature.
16693 alias -g '${1+"$@"}'='"$@"'
16694 setopt NO_GLOB_SUBST
16695 else
16696 case `(set -o) 2>/dev/null` in #(
16697 *posix*) :
16698 set -o posix ;; #(
16699 *) :
16701 esac
16705 as_nl='
16707 export as_nl
16708 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16709 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16710 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16711 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16712 # Prefer a ksh shell builtin over an external printf program on Solaris,
16713 # but without wasting forks for bash or zsh.
16714 if test -z "$BASH_VERSION$ZSH_VERSION" \
16715 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16716 as_echo='print -r --'
16717 as_echo_n='print -rn --'
16718 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16719 as_echo='printf %s\n'
16720 as_echo_n='printf %s'
16721 else
16722 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16723 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16724 as_echo_n='/usr/ucb/echo -n'
16725 else
16726 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16727 as_echo_n_body='eval
16728 arg=$1;
16729 case $arg in #(
16730 *"$as_nl"*)
16731 expr "X$arg" : "X\\(.*\\)$as_nl";
16732 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16733 esac;
16734 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16736 export as_echo_n_body
16737 as_echo_n='sh -c $as_echo_n_body as_echo'
16739 export as_echo_body
16740 as_echo='sh -c $as_echo_body as_echo'
16743 # The user is always right.
16744 if test "${PATH_SEPARATOR+set}" != set; then
16745 PATH_SEPARATOR=:
16746 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16747 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16748 PATH_SEPARATOR=';'
16753 # IFS
16754 # We need space, tab and new line, in precisely that order. Quoting is
16755 # there to prevent editors from complaining about space-tab.
16756 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16757 # splitting by setting IFS to empty value.)
16758 IFS=" "" $as_nl"
16760 # Find who we are. Look in the path if we contain no directory separator.
16761 as_myself=
16762 case $0 in #((
16763 *[\\/]* ) as_myself=$0 ;;
16764 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16765 for as_dir in $PATH
16767 IFS=$as_save_IFS
16768 test -z "$as_dir" && as_dir=.
16769 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16770 done
16771 IFS=$as_save_IFS
16774 esac
16775 # We did not find ourselves, most probably we were run as `sh COMMAND'
16776 # in which case we are not to be found in the path.
16777 if test "x$as_myself" = x; then
16778 as_myself=$0
16780 if test ! -f "$as_myself"; then
16781 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16782 exit 1
16785 # Unset variables that we do not need and which cause bugs (e.g. in
16786 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16787 # suppresses any "Segmentation fault" message there. '((' could
16788 # trigger a bug in pdksh 5.2.14.
16789 for as_var in BASH_ENV ENV MAIL MAILPATH
16790 do eval test x\${$as_var+set} = xset \
16791 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16792 done
16793 PS1='$ '
16794 PS2='> '
16795 PS4='+ '
16797 # NLS nuisances.
16798 LC_ALL=C
16799 export LC_ALL
16800 LANGUAGE=C
16801 export LANGUAGE
16803 # CDPATH.
16804 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16807 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16808 # ----------------------------------------
16809 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16810 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16811 # script with STATUS, using 1 if that was 0.
16812 as_fn_error ()
16814 as_status=$1; test $as_status -eq 0 && as_status=1
16815 if test "$4"; then
16816 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16817 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16819 $as_echo "$as_me: error: $2" >&2
16820 as_fn_exit $as_status
16821 } # as_fn_error
16824 # as_fn_set_status STATUS
16825 # -----------------------
16826 # Set $? to STATUS, without forking.
16827 as_fn_set_status ()
16829 return $1
16830 } # as_fn_set_status
16832 # as_fn_exit STATUS
16833 # -----------------
16834 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16835 as_fn_exit ()
16837 set +e
16838 as_fn_set_status $1
16839 exit $1
16840 } # as_fn_exit
16842 # as_fn_unset VAR
16843 # ---------------
16844 # Portably unset VAR.
16845 as_fn_unset ()
16847 { eval $1=; unset $1;}
16849 as_unset=as_fn_unset
16850 # as_fn_append VAR VALUE
16851 # ----------------------
16852 # Append the text in VALUE to the end of the definition contained in VAR. Take
16853 # advantage of any shell optimizations that allow amortized linear growth over
16854 # repeated appends, instead of the typical quadratic growth present in naive
16855 # implementations.
16856 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16857 eval 'as_fn_append ()
16859 eval $1+=\$2
16861 else
16862 as_fn_append ()
16864 eval $1=\$$1\$2
16866 fi # as_fn_append
16868 # as_fn_arith ARG...
16869 # ------------------
16870 # Perform arithmetic evaluation on the ARGs, and store the result in the
16871 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16872 # must be portable across $(()) and expr.
16873 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16874 eval 'as_fn_arith ()
16876 as_val=$(( $* ))
16878 else
16879 as_fn_arith ()
16881 as_val=`expr "$@" || test $? -eq 1`
16883 fi # as_fn_arith
16886 if expr a : '\(a\)' >/dev/null 2>&1 &&
16887 test "X`expr 00001 : '.*\(...\)'`" = X001; then
16888 as_expr=expr
16889 else
16890 as_expr=false
16893 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16894 as_basename=basename
16895 else
16896 as_basename=false
16899 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16900 as_dirname=dirname
16901 else
16902 as_dirname=false
16905 as_me=`$as_basename -- "$0" ||
16906 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16907 X"$0" : 'X\(//\)$' \| \
16908 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16909 $as_echo X/"$0" |
16910 sed '/^.*\/\([^/][^/]*\)\/*$/{
16911 s//\1/
16914 /^X\/\(\/\/\)$/{
16915 s//\1/
16918 /^X\/\(\/\).*/{
16919 s//\1/
16922 s/.*/./; q'`
16924 # Avoid depending upon Character Ranges.
16925 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16926 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16927 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16928 as_cr_digits='0123456789'
16929 as_cr_alnum=$as_cr_Letters$as_cr_digits
16931 ECHO_C= ECHO_N= ECHO_T=
16932 case `echo -n x` in #(((((
16933 -n*)
16934 case `echo 'xy\c'` in
16935 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
16936 xy) ECHO_C='\c';;
16937 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
16938 ECHO_T=' ';;
16939 esac;;
16941 ECHO_N='-n';;
16942 esac
16944 rm -f conf$$ conf$$.exe conf$$.file
16945 if test -d conf$$.dir; then
16946 rm -f conf$$.dir/conf$$.file
16947 else
16948 rm -f conf$$.dir
16949 mkdir conf$$.dir 2>/dev/null
16951 if (echo >conf$$.file) 2>/dev/null; then
16952 if ln -s conf$$.file conf$$ 2>/dev/null; then
16953 as_ln_s='ln -s'
16954 # ... but there are two gotchas:
16955 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16956 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16957 # In both cases, we have to default to `cp -pR'.
16958 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16959 as_ln_s='cp -pR'
16960 elif ln conf$$.file conf$$ 2>/dev/null; then
16961 as_ln_s=ln
16962 else
16963 as_ln_s='cp -pR'
16965 else
16966 as_ln_s='cp -pR'
16968 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16969 rmdir conf$$.dir 2>/dev/null
16972 # as_fn_mkdir_p
16973 # -------------
16974 # Create "$as_dir" as a directory, including parents if necessary.
16975 as_fn_mkdir_p ()
16978 case $as_dir in #(
16979 -*) as_dir=./$as_dir;;
16980 esac
16981 test -d "$as_dir" || eval $as_mkdir_p || {
16982 as_dirs=
16983 while :; do
16984 case $as_dir in #(
16985 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16986 *) as_qdir=$as_dir;;
16987 esac
16988 as_dirs="'$as_qdir' $as_dirs"
16989 as_dir=`$as_dirname -- "$as_dir" ||
16990 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16991 X"$as_dir" : 'X\(//\)[^/]' \| \
16992 X"$as_dir" : 'X\(//\)$' \| \
16993 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16994 $as_echo X"$as_dir" |
16995 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16996 s//\1/
16999 /^X\(\/\/\)[^/].*/{
17000 s//\1/
17003 /^X\(\/\/\)$/{
17004 s//\1/
17007 /^X\(\/\).*/{
17008 s//\1/
17011 s/.*/./; q'`
17012 test -d "$as_dir" && break
17013 done
17014 test -z "$as_dirs" || eval "mkdir $as_dirs"
17015 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17018 } # as_fn_mkdir_p
17019 if mkdir -p . 2>/dev/null; then
17020 as_mkdir_p='mkdir -p "$as_dir"'
17021 else
17022 test -d ./-p && rmdir ./-p
17023 as_mkdir_p=false
17027 # as_fn_executable_p FILE
17028 # -----------------------
17029 # Test if FILE is an executable regular file.
17030 as_fn_executable_p ()
17032 test -f "$1" && test -x "$1"
17033 } # as_fn_executable_p
17034 as_test_x='test -x'
17035 as_executable_p=as_fn_executable_p
17037 # Sed expression to map a string onto a valid CPP name.
17038 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17040 # Sed expression to map a string onto a valid variable name.
17041 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17044 exec 6>&1
17045 ## ----------------------------------- ##
17046 ## Main body of $CONFIG_STATUS script. ##
17047 ## ----------------------------------- ##
17048 _ASEOF
17049 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17051 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17052 # Save the log message, to keep $0 and so on meaningful, and to
17053 # report actual input values of CONFIG_FILES etc. instead of their
17054 # values after options handling.
17055 ac_log="
17056 This file was extended by Wine $as_me 1.5.31, which was
17057 generated by GNU Autoconf 2.69. Invocation command line was
17059 CONFIG_FILES = $CONFIG_FILES
17060 CONFIG_HEADERS = $CONFIG_HEADERS
17061 CONFIG_LINKS = $CONFIG_LINKS
17062 CONFIG_COMMANDS = $CONFIG_COMMANDS
17063 $ $0 $@
17065 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17068 _ACEOF
17070 case $ac_config_files in *"
17071 "*) set x $ac_config_files; shift; ac_config_files=$*;;
17072 esac
17074 case $ac_config_headers in *"
17075 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
17076 esac
17079 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17080 # Files that config.status was made for.
17081 config_files="$ac_config_files"
17082 config_headers="$ac_config_headers"
17083 config_links="$ac_config_links"
17084 config_commands="$ac_config_commands"
17086 _ACEOF
17088 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17089 ac_cs_usage="\
17090 \`$as_me' instantiates files and other configuration actions
17091 from templates according to the current configuration. Unless the files
17092 and actions are specified as TAGs, all are instantiated by default.
17094 Usage: $0 [OPTION]... [TAG]...
17096 -h, --help print this help, then exit
17097 -V, --version print version number and configuration settings, then exit
17098 --config print configuration, then exit
17099 -q, --quiet, --silent
17100 do not print progress messages
17101 -d, --debug don't remove temporary files
17102 --recheck update $as_me by reconfiguring in the same conditions
17103 --file=FILE[:TEMPLATE]
17104 instantiate the configuration file FILE
17105 --header=FILE[:TEMPLATE]
17106 instantiate the configuration header FILE
17108 Configuration files:
17109 $config_files
17111 Configuration headers:
17112 $config_headers
17114 Configuration links:
17115 $config_links
17117 Configuration commands:
17118 $config_commands
17120 Report bugs to <wine-devel@winehq.org>.
17121 Wine home page: <http://www.winehq.org>."
17123 _ACEOF
17124 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17125 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17126 ac_cs_version="\\
17127 Wine config.status 1.5.31
17128 configured by $0, generated by GNU Autoconf 2.69,
17129 with options \\"\$ac_cs_config\\"
17131 Copyright (C) 2012 Free Software Foundation, Inc.
17132 This config.status script is free software; the Free Software Foundation
17133 gives unlimited permission to copy, distribute and modify it."
17135 ac_pwd='$ac_pwd'
17136 srcdir='$srcdir'
17137 INSTALL='$INSTALL'
17138 test -n "\$AWK" || AWK=awk
17139 _ACEOF
17141 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17142 # The default lists apply if the user does not specify any file.
17143 ac_need_defaults=:
17144 while test $# != 0
17146 case $1 in
17147 --*=?*)
17148 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17149 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17150 ac_shift=:
17152 --*=)
17153 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17154 ac_optarg=
17155 ac_shift=:
17158 ac_option=$1
17159 ac_optarg=$2
17160 ac_shift=shift
17162 esac
17164 case $ac_option in
17165 # Handling of the options.
17166 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17167 ac_cs_recheck=: ;;
17168 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17169 $as_echo "$ac_cs_version"; exit ;;
17170 --config | --confi | --conf | --con | --co | --c )
17171 $as_echo "$ac_cs_config"; exit ;;
17172 --debug | --debu | --deb | --de | --d | -d )
17173 debug=: ;;
17174 --file | --fil | --fi | --f )
17175 $ac_shift
17176 case $ac_optarg in
17177 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17178 '') as_fn_error $? "missing file argument" ;;
17179 esac
17180 as_fn_append CONFIG_FILES " '$ac_optarg'"
17181 ac_need_defaults=false;;
17182 --header | --heade | --head | --hea )
17183 $ac_shift
17184 case $ac_optarg in
17185 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17186 esac
17187 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
17188 ac_need_defaults=false;;
17189 --he | --h)
17190 # Conflict between --help and --header
17191 as_fn_error $? "ambiguous option: \`$1'
17192 Try \`$0 --help' for more information.";;
17193 --help | --hel | -h )
17194 $as_echo "$ac_cs_usage"; exit ;;
17195 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17196 | -silent | --silent | --silen | --sile | --sil | --si | --s)
17197 ac_cs_silent=: ;;
17199 # This is an error.
17200 -*) as_fn_error $? "unrecognized option: \`$1'
17201 Try \`$0 --help' for more information." ;;
17203 *) as_fn_append ac_config_targets " $1"
17204 ac_need_defaults=false ;;
17206 esac
17207 shift
17208 done
17210 ac_configure_extra_args=
17212 if $ac_cs_silent; then
17213 exec 6>/dev/null
17214 ac_configure_extra_args="$ac_configure_extra_args --silent"
17217 _ACEOF
17218 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17219 if \$ac_cs_recheck; then
17220 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17221 shift
17222 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17223 CONFIG_SHELL='$SHELL'
17224 export CONFIG_SHELL
17225 exec "\$@"
17228 _ACEOF
17229 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17230 exec 5>>config.log
17232 echo
17233 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17234 ## Running $as_me. ##
17235 _ASBOX
17236 $as_echo "$ac_log"
17237 } >&5
17239 _ACEOF
17240 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17242 # INIT-COMMANDS
17244 wine_fn_output_makefile ()
17246 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && return
17247 $ALL_MAKEFILE_DEPENDS
17248 _WINE_EOF
17249 as_fn_error $? "could not create Makefile" "$LINENO" 5
17252 _ACEOF
17254 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17256 # Handling of arguments.
17257 for ac_config_target in $ac_config_targets
17259 case $ac_config_target in
17260 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
17261 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
17262 "dlls/shell32/AUTHORS") CONFIG_LINKS="$CONFIG_LINKS dlls/shell32/AUTHORS:AUTHORS" ;;
17263 "dlls/wineps.drv/generic.ppd") CONFIG_LINKS="$CONFIG_LINKS dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd" ;;
17264 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
17265 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
17266 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
17267 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
17268 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
17269 "tools/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS tools/l_intl.nls:tools/l_intl.nls" ;;
17270 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
17271 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
17272 "dlls/gdi32/dibdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/dibdrv" ;;
17273 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
17274 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
17275 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
17276 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
17277 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
17278 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
17279 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
17280 "Maketest.rules") CONFIG_FILES="$CONFIG_FILES Maketest.rules" ;;
17281 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
17282 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
17283 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
17284 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
17285 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
17287 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17288 esac
17289 done
17292 # If the user did not use the arguments to specify the items to instantiate,
17293 # then the envvar interface is used. Set only those that are not.
17294 # We use the long form for the default assignment because of an extremely
17295 # bizarre bug on SunOS 4.1.3.
17296 if $ac_need_defaults; then
17297 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17298 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17299 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
17300 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17303 # Have a temporary directory for convenience. Make it in the build tree
17304 # simply because there is no reason against having it here, and in addition,
17305 # creating and moving files from /tmp can sometimes cause problems.
17306 # Hook for its removal unless debugging.
17307 # Note that there is a small window in which the directory will not be cleaned:
17308 # after its creation but before its name has been assigned to `$tmp'.
17309 $debug ||
17311 tmp= ac_tmp=
17312 trap 'exit_status=$?
17313 : "${ac_tmp:=$tmp}"
17314 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17316 trap 'as_fn_exit 1' 1 2 13 15
17318 # Create a (secure) tmp directory for tmp files.
17321 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17322 test -d "$tmp"
17323 } ||
17325 tmp=./conf$$-$RANDOM
17326 (umask 077 && mkdir "$tmp")
17327 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17328 ac_tmp=$tmp
17330 # Set up the scripts for CONFIG_FILES section.
17331 # No need to generate them if there are no CONFIG_FILES.
17332 # This happens for instance with `./config.status config.h'.
17333 if test -n "$CONFIG_FILES"; then
17335 if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
17336 ac_cs_awk_getline=:
17337 ac_cs_awk_pipe_init=
17338 ac_cs_awk_read_file='
17339 while ((getline aline < (F[key])) > 0)
17340 print(aline)
17341 close(F[key])'
17342 ac_cs_awk_pipe_fini=
17343 else
17344 ac_cs_awk_getline=false
17345 ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
17346 ac_cs_awk_read_file='
17347 print "|#_!!_#|"
17348 print "cat " F[key] " &&"
17349 '$ac_cs_awk_pipe_init
17350 # The final `:' finishes the AND list.
17351 ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
17353 ac_cr=`echo X | tr X '\015'`
17354 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17355 # But we know of no other shell where ac_cr would be empty at this
17356 # point, so we can use a bashism as a fallback.
17357 if test "x$ac_cr" = x; then
17358 eval ac_cr=\$\'\\r\'
17360 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17361 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17362 ac_cs_awk_cr='\\r'
17363 else
17364 ac_cs_awk_cr=$ac_cr
17367 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17368 _ACEOF
17370 # Create commands to substitute file output variables.
17372 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
17373 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
17374 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
17375 echo "_ACAWK" &&
17376 echo "_ACEOF"
17377 } >conf$$files.sh &&
17378 . ./conf$$files.sh ||
17379 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17380 rm -f conf$$files.sh
17383 echo "cat >conf$$subs.awk <<_ACEOF" &&
17384 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17385 echo "_ACEOF"
17386 } >conf$$subs.sh ||
17387 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17388 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17389 ac_delim='%!_!# '
17390 for ac_last_try in false false false false false :; do
17391 . ./conf$$subs.sh ||
17392 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17394 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17395 if test $ac_delim_n = $ac_delim_num; then
17396 break
17397 elif $ac_last_try; then
17398 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17399 else
17400 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17402 done
17403 rm -f conf$$subs.sh
17405 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17406 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
17407 _ACEOF
17408 sed -n '
17410 s/^/S["/; s/!.*/"]=/
17413 s/^[^!]*!//
17414 :repl
17415 t repl
17416 s/'"$ac_delim"'$//
17417 t delim
17420 s/\(.\{148\}\)..*/\1/
17421 t more1
17422 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17425 b repl
17426 :more1
17427 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17430 s/.\{148\}//
17431 t nl
17432 :delim
17434 s/\(.\{148\}\)..*/\1/
17435 t more2
17436 s/["\\]/\\&/g; s/^/"/; s/$/"/
17439 :more2
17440 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17443 s/.\{148\}//
17444 t delim
17445 ' <conf$$subs.awk | sed '
17446 /^[^""]/{
17448 s/\n//
17450 ' >>$CONFIG_STATUS || ac_write_fail=1
17451 rm -f conf$$subs.awk
17452 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17453 _ACAWK
17454 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
17455 for (key in S) S_is_set[key] = 1
17456 FS = "\a"
17457 \$ac_cs_awk_pipe_init
17460 line = $ 0
17461 nfields = split(line, field, "@")
17462 substed = 0
17463 len = length(field[1])
17464 for (i = 2; i < nfields; i++) {
17465 key = field[i]
17466 keylen = length(key)
17467 if (S_is_set[key]) {
17468 value = S[key]
17469 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17470 len += length(value) + length(field[++i])
17471 substed = 1
17472 } else
17473 len += 1 + keylen
17475 if (nfields == 3 && !substed) {
17476 key = field[2]
17477 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
17478 \$ac_cs_awk_read_file
17479 next
17482 print line
17484 \$ac_cs_awk_pipe_fini
17485 _ACAWK
17486 _ACEOF
17487 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17488 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17489 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17490 else
17492 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
17493 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17494 _ACEOF
17496 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17497 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17498 # trailing colons and then remove the whole line if VPATH becomes empty
17499 # (actually we leave an empty line to preserve line numbers).
17500 if test "x$srcdir" = x.; then
17501 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17503 s///
17504 s/^/:/
17505 s/[ ]*$/:/
17506 s/:\$(srcdir):/:/g
17507 s/:\${srcdir}:/:/g
17508 s/:@srcdir@:/:/g
17509 s/^:*//
17510 s/:*$//
17512 s/\(=[ ]*\).*/\1/
17514 s/\n//
17515 s/^[^=]*=[ ]*$//
17519 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17520 fi # test -n "$CONFIG_FILES"
17522 # Set up the scripts for CONFIG_HEADERS section.
17523 # No need to generate them if there are no CONFIG_HEADERS.
17524 # This happens for instance with `./config.status Makefile'.
17525 if test -n "$CONFIG_HEADERS"; then
17526 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
17527 BEGIN {
17528 _ACEOF
17530 # Transform confdefs.h into an awk script `defines.awk', embedded as
17531 # here-document in config.status, that substitutes the proper values into
17532 # config.h.in to produce config.h.
17534 # Create a delimiter string that does not exist in confdefs.h, to ease
17535 # handling of long lines.
17536 ac_delim='%!_!# '
17537 for ac_last_try in false false :; do
17538 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
17539 if test -z "$ac_tt"; then
17540 break
17541 elif $ac_last_try; then
17542 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17543 else
17544 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17546 done
17548 # For the awk script, D is an array of macro values keyed by name,
17549 # likewise P contains macro parameters if any. Preserve backslash
17550 # newline sequences.
17552 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17553 sed -n '
17554 s/.\{148\}/&'"$ac_delim"'/g
17555 t rset
17556 :rset
17557 s/^[ ]*#[ ]*define[ ][ ]*/ /
17558 t def
17560 :def
17561 s/\\$//
17562 t bsnl
17563 s/["\\]/\\&/g
17564 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17565 D["\1"]=" \3"/p
17566 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
17568 :bsnl
17569 s/["\\]/\\&/g
17570 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17571 D["\1"]=" \3\\\\\\n"\\/p
17572 t cont
17573 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17574 t cont
17576 :cont
17578 s/.\{148\}/&'"$ac_delim"'/g
17579 t clear
17580 :clear
17581 s/\\$//
17582 t bsnlc
17583 s/["\\]/\\&/g; s/^/"/; s/$/"/p
17585 :bsnlc
17586 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17587 b cont
17588 ' <confdefs.h | sed '
17589 s/'"$ac_delim"'/"\\\
17590 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17592 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17593 for (key in D) D_is_set[key] = 1
17594 FS = "\a"
17596 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17597 line = \$ 0
17598 split(line, arg, " ")
17599 if (arg[1] == "#") {
17600 defundef = arg[2]
17601 mac1 = arg[3]
17602 } else {
17603 defundef = substr(arg[1], 2)
17604 mac1 = arg[2]
17606 split(mac1, mac2, "(") #)
17607 macro = mac2[1]
17608 prefix = substr(line, 1, index(line, defundef) - 1)
17609 if (D_is_set[macro]) {
17610 # Preserve the white space surrounding the "#".
17611 print prefix "define", macro P[macro] D[macro]
17612 next
17613 } else {
17614 # Replace #undef with comments. This is necessary, for example,
17615 # in the case of _POSIX_SOURCE, which is predefined and required
17616 # on some systems where configure will not decide to define it.
17617 if (defundef == "undef") {
17618 print "/*", prefix defundef, macro, "*/"
17619 next
17623 { print }
17624 _ACAWK
17625 _ACEOF
17626 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17627 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
17628 fi # test -n "$CONFIG_HEADERS"
17631 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
17632 shift
17633 for ac_tag
17635 case $ac_tag in
17636 :[FHLC]) ac_mode=$ac_tag; continue;;
17637 esac
17638 case $ac_mode$ac_tag in
17639 :[FHL]*:*);;
17640 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
17641 :[FH]-) ac_tag=-:-;;
17642 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17643 esac
17644 ac_save_IFS=$IFS
17645 IFS=:
17646 set x $ac_tag
17647 IFS=$ac_save_IFS
17648 shift
17649 ac_file=$1
17650 shift
17652 case $ac_mode in
17653 :L) ac_source=$1;;
17654 :[FH])
17655 ac_file_inputs=
17656 for ac_f
17658 case $ac_f in
17659 -) ac_f="$ac_tmp/stdin";;
17660 *) # Look for the file first in the build tree, then in the source tree
17661 # (if the path is not absolute). The absolute path cannot be DOS-style,
17662 # because $ac_f cannot contain `:'.
17663 test -f "$ac_f" ||
17664 case $ac_f in
17665 [\\/$]*) false;;
17666 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17667 esac ||
17668 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17669 esac
17670 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17671 as_fn_append ac_file_inputs " '$ac_f'"
17672 done
17674 # Let's still pretend it is `configure' which instantiates (i.e., don't
17675 # use $as_me), people would be surprised to read:
17676 # /* config.h. Generated by config.status. */
17677 configure_input='Generated from '`
17678 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17679 `' by configure.'
17680 if test x"$ac_file" != x-; then
17681 configure_input="$ac_file. $configure_input"
17682 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17683 $as_echo "$as_me: creating $ac_file" >&6;}
17685 # Neutralize special characters interpreted by sed in replacement strings.
17686 case $configure_input in #(
17687 *\&* | *\|* | *\\* )
17688 ac_sed_conf_input=`$as_echo "$configure_input" |
17689 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17690 *) ac_sed_conf_input=$configure_input;;
17691 esac
17693 case $ac_tag in
17694 *:-:* | *:-) cat >"$ac_tmp/stdin" \
17695 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
17696 esac
17698 esac
17700 ac_dir=`$as_dirname -- "$ac_file" ||
17701 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17702 X"$ac_file" : 'X\(//\)[^/]' \| \
17703 X"$ac_file" : 'X\(//\)$' \| \
17704 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17705 $as_echo X"$ac_file" |
17706 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17707 s//\1/
17710 /^X\(\/\/\)[^/].*/{
17711 s//\1/
17714 /^X\(\/\/\)$/{
17715 s//\1/
17718 /^X\(\/\).*/{
17719 s//\1/
17722 s/.*/./; q'`
17723 as_dir="$ac_dir"; as_fn_mkdir_p
17724 ac_builddir=.
17726 case "$ac_dir" in
17727 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17729 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17730 # A ".." for each directory in $ac_dir_suffix.
17731 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17732 case $ac_top_builddir_sub in
17733 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17734 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17735 esac ;;
17736 esac
17737 ac_abs_top_builddir=$ac_pwd
17738 ac_abs_builddir=$ac_pwd$ac_dir_suffix
17739 # for backward compatibility:
17740 ac_top_builddir=$ac_top_build_prefix
17742 case $srcdir in
17743 .) # We are building in place.
17744 ac_srcdir=.
17745 ac_top_srcdir=$ac_top_builddir_sub
17746 ac_abs_top_srcdir=$ac_pwd ;;
17747 [\\/]* | ?:[\\/]* ) # Absolute name.
17748 ac_srcdir=$srcdir$ac_dir_suffix;
17749 ac_top_srcdir=$srcdir
17750 ac_abs_top_srcdir=$srcdir ;;
17751 *) # Relative name.
17752 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17753 ac_top_srcdir=$ac_top_build_prefix$srcdir
17754 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17755 esac
17756 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17759 case $ac_mode in
17762 # CONFIG_FILE
17765 case $INSTALL in
17766 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17767 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17768 esac
17769 _ACEOF
17771 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17772 # If the template does not know about datarootdir, expand it.
17773 # FIXME: This hack should be removed a few years after 2.60.
17774 ac_datarootdir_hack=; ac_datarootdir_seen=
17775 ac_sed_dataroot='
17776 /datarootdir/ {
17780 /@datadir@/p
17781 /@docdir@/p
17782 /@infodir@/p
17783 /@localedir@/p
17784 /@mandir@/p'
17785 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17786 *datarootdir*) ac_datarootdir_seen=yes;;
17787 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17788 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17789 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17790 _ACEOF
17791 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17792 ac_datarootdir_hack='
17793 s&@datadir@&$datadir&g
17794 s&@docdir@&$docdir&g
17795 s&@infodir@&$infodir&g
17796 s&@localedir@&$localedir&g
17797 s&@mandir@&$mandir&g
17798 s&\\\${datarootdir}&$datarootdir&g' ;;
17799 esac
17800 _ACEOF
17802 # Neutralize VPATH when `$srcdir' = `.'.
17803 # Shell code in configure.ac might set extrasub.
17804 # FIXME: do we really want to maintain this feature?
17805 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17806 ac_sed_extra="$ac_vpsub
17807 $extrasub
17808 _ACEOF
17809 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17811 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17812 s|@configure_input@|$ac_sed_conf_input|;t t
17813 s&@top_builddir@&$ac_top_builddir_sub&;t t
17814 s&@top_build_prefix@&$ac_top_build_prefix&;t t
17815 s&@srcdir@&$ac_srcdir&;t t
17816 s&@abs_srcdir@&$ac_abs_srcdir&;t t
17817 s&@top_srcdir@&$ac_top_srcdir&;t t
17818 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17819 s&@builddir@&$ac_builddir&;t t
17820 s&@abs_builddir@&$ac_abs_builddir&;t t
17821 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17822 s&@INSTALL@&$ac_INSTALL&;t t
17823 $ac_datarootdir_hack
17825 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
17826 if $ac_cs_awk_getline; then
17827 $AWK -f "$ac_tmp/subs.awk"
17828 else
17829 $AWK -f "$ac_tmp/subs.awk" | $SHELL
17830 fi \
17831 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17833 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17834 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
17835 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17836 "$ac_tmp/out"`; test -z "$ac_out"; } &&
17837 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17838 which seems to be undefined. Please make sure it is defined" >&5
17839 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17840 which seems to be undefined. Please make sure it is defined" >&2;}
17842 rm -f "$ac_tmp/stdin"
17843 case $ac_file in
17844 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17845 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17846 esac \
17847 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17851 # CONFIG_HEADER
17853 if test x"$ac_file" != x-; then
17855 $as_echo "/* $configure_input */" \
17856 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17857 } >"$ac_tmp/config.h" \
17858 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17859 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17860 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17861 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17862 else
17863 rm -f "$ac_file"
17864 mv "$ac_tmp/config.h" "$ac_file" \
17865 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17867 else
17868 $as_echo "/* $configure_input */" \
17869 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17870 || as_fn_error $? "could not create -" "$LINENO" 5
17875 # CONFIG_LINK
17878 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
17880 else
17881 # Prefer the file from the source tree if names are identical.
17882 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
17883 ac_source=$srcdir/$ac_source
17886 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
17887 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
17889 if test ! -r "$ac_source"; then
17890 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
17892 rm -f "$ac_file"
17894 # Try a relative symlink, then a hard link, then a copy.
17895 case $ac_source in
17896 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
17897 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
17898 esac
17899 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
17900 ln "$ac_source" "$ac_file" 2>/dev/null ||
17901 cp -p "$ac_source" "$ac_file" ||
17902 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
17905 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17906 $as_echo "$as_me: executing $ac_file commands" >&6;}
17908 esac
17911 case $ac_file$ac_mode in
17912 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
17913 "dlls/gdi32/dibdrv":C) test -d "dlls/gdi32/dibdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/dibdrv" >&5
17914 $as_echo "$as_me: creating dlls/gdi32/dibdrv" >&6;}; as_dir="dlls/gdi32/dibdrv"; as_fn_mkdir_p; } ;;
17915 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/enhmfdrv" >&5
17916 $as_echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;}; as_dir="dlls/gdi32/enhmfdrv"; as_fn_mkdir_p; } ;;
17917 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/mfdrv" >&5
17918 $as_echo "$as_me: creating dlls/gdi32/mfdrv" >&6;}; as_dir="dlls/gdi32/mfdrv"; as_fn_mkdir_p; } ;;
17919 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/kernel32/nls" >&5
17920 $as_echo "$as_me: creating dlls/kernel32/nls" >&6;}; as_dir="dlls/kernel32/nls"; as_fn_mkdir_p; } ;;
17921 "dlls/user32/resources":C) test -d "dlls/user32/resources" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/user32/resources" >&5
17922 $as_echo "$as_me: creating dlls/user32/resources" >&6;}; as_dir="dlls/user32/resources"; as_fn_mkdir_p; } ;;
17923 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/wineps.drv/data" >&5
17924 $as_echo "$as_me: creating dlls/wineps.drv/data" >&6;}; as_dir="dlls/wineps.drv/data"; as_fn_mkdir_p; } ;;
17925 "include/wine":C) test -d "include/wine" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating include/wine" >&5
17926 $as_echo "$as_me: creating include/wine" >&6;}; as_dir="include/wine"; as_fn_mkdir_p; } ;;
17927 "Makefile":C) wine_fn_output_makefile Makefile ;;
17929 esac
17930 done # for ac_tag
17933 as_fn_exit 0
17934 _ACEOF
17935 ac_clean_files=$ac_clean_files_save
17937 test $ac_write_fail = 0 ||
17938 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17941 # configure is writing to config.log, and then calls config.status.
17942 # config.status does its own redirection, appending to config.log.
17943 # Unfortunately, on DOS this fails, as config.log is still kept open
17944 # by configure, so config.status won't be able to write to it; its
17945 # output is simply discarded. So we exec the FD to /dev/null,
17946 # effectively closing config.log, so it can be properly (re)opened and
17947 # appended to by config.status. When coming back to configure, we
17948 # need to make the FD available again.
17949 if test "$no_create" != yes; then
17950 ac_cs_success=:
17951 ac_config_status_args=
17952 test "$silent" = yes &&
17953 ac_config_status_args="$ac_config_status_args --quiet"
17954 exec 5>/dev/null
17955 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17956 exec 5>>config.log
17957 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17958 # would make configure fail if this is the last instruction.
17959 $ac_cs_success || as_fn_exit 1
17961 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17962 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17963 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17967 if test "$no_create" = "yes"
17968 then
17969 exit 0
17972 ac_save_IFS="$IFS"
17973 if test "x$wine_notices != "x; then
17974 echo >&6
17975 IFS="|"
17976 for msg in $wine_notices; do
17977 IFS="$ac_save_IFS"
17978 if test -n "$msg"; then
17979 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
17980 $as_echo "$as_me: $msg" >&6;}
17982 done
17984 IFS="|"
17985 for msg in $wine_warnings; do
17986 IFS="$ac_save_IFS"
17987 if test -n "$msg"; then
17988 echo >&2
17989 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
17990 $as_echo "$as_me: WARNING: $msg" >&2;}
17992 done
17993 IFS="$ac_save_IFS"
17995 echo "
17996 $as_me: Finished. Do '${ac_make}' to compile Wine.
17997 " >&6