po: Update Brazilian Portuguese translation.
[wine.git] / configure
blob6f5652a8b825de2eece367da4a32074650dc9e2c
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.11.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302 return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
346 /^X\(\/\/\)$/{
347 s//\1/
350 /^X\(\/\).*/{
351 s//\1/
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
379 eval $1+=\$2
381 else
382 as_fn_append ()
384 eval $1=\$$1\$2
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
396 as_val=$(( $* ))
398 else
399 as_fn_arith ()
401 as_val=`expr "$@" || test $? -eq 1`
403 fi # as_fn_arith
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
450 /^X\/\(\/\/\)$/{
451 s//\1/
454 /^X\/\(\/\).*/{
455 s//\1/
458 s/.*/./; q'`
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
481 :lineno
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
513 ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
537 else
538 as_ln_s='cp -pR'
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='Wine'
582 PACKAGE_TARNAME='wine'
583 PACKAGE_VERSION='1.7.11'
584 PACKAGE_STRING='Wine 1.7.11'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='http://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 LINGUAS
628 ALL_VARS_RULES
629 LDAP_LIBS
630 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 UNWINDFLAGS
635 BUILTINFLAG
636 EXTRACFLAGS
637 PROCSTAT_LIBS
638 KSTAT_LIBS
639 MPG123_LIBS
640 MPG123_CFLAGS
641 TIFF_LIBS
642 TIFF_CFLAGS
643 PNG_LIBS
644 PNG_CFLAGS
645 JPEG_LIBS
646 JPEG_CFLAGS
647 FONTCONFIG_LIBS
648 FONTCONFIG_CFLAGS
649 CUPS_CFLAGS
650 CAPI20_LIBS
651 CAPI20_CFLAGS
652 OSS4_CFLAGS
653 ALSA_LIBS
654 GSTREAMER_LIBS
655 GSTREAMER_CFLAGS
656 GETTEXTPO_LIBS
657 Z_LIBS
658 FREETYPE_LIBS
659 FREETYPE_CFLAGS
660 LCMS2_LIBS
661 LCMS2_CFLAGS
662 RESOLV_LIBS
663 GPHOTO2_PORT_LIBS
664 GPHOTO2_PORT_CFLAGS
665 GPHOTO2_LIBS
666 GPHOTO2_CFLAGS
667 SANE_LIBS
668 SANE_CFLAGS
669 GNUTLS_LIBS
670 GNUTLS_CFLAGS
671 HAL_LIBS
672 HAL_CFLAGS
673 DBUS_LIBS
674 DBUS_CFLAGS
675 XSLT_LIBS
676 XSLT_CFLAGS
677 XML2_LIBS
678 XML2_CFLAGS
679 X_EXTRA_LIBS
680 X_LIBS
681 X_PRE_LIBS
682 X_CFLAGS
683 XMKMF
684 PTHREAD_LIBS
685 CROSSCC
686 CROSSTARGET
687 PRELINK
688 CARBON_LIBS
689 QUICKTIME_LIBS
690 OPENCL_LIBS
691 OPENAL_LIBS
692 COREAUDIO_LIBS
693 SECURITY_LIBS
694 DISKARBITRATION_LIBS
695 APPKIT_LIBS
696 CORESERVICES_LIBS
697 APPLICATIONSERVICES_LIBS
698 FORCEFEEDBACK_LIBS
699 IOKIT_LIBS
700 COREFOUNDATION_LIBS
701 LIBWINE_RULES
702 SOCKET_LIBS
703 DLLTOOL
704 LOADER_RULES
705 ALL_TEST_RESOURCES
706 READELF
708 LDRPATH_LOCAL
709 LDRPATH_INSTALL
710 DLLFLAGS
711 DLLPREFIX
712 dlldir
714 OPENGL_LIBS
715 ICOTOOL
716 CONVERT
717 RSVG
718 FONTFORGE
719 PKG_CONFIG
720 MSGFMT
721 LDCONFIG
722 EGREP
723 GREP
724 LN_S
725 RANLIB
726 ARFLAGS
727 STRIP
728 ac_ct_AR
730 BISON
731 FLEX
732 TOOLSDIR
733 TARGETFLAGS
734 CPPBIN
735 ac_ct_CXX
736 CXXFLAGS
738 OBJEXT
739 EXEEXT
740 ac_ct_CC
741 CPPFLAGS
742 LDFLAGS
743 CFLAGS
745 SET_MAKE
746 host_os
747 host_vendor
748 host_cpu
749 host
750 build_os
751 build_vendor
752 build_cpu
753 build
754 target_alias
755 host_alias
756 build_alias
757 LIBS
758 ECHO_T
759 ECHO_N
760 ECHO_C
761 DEFS
762 mandir
763 localedir
764 libdir
765 psdir
766 pdfdir
767 dvidir
768 htmldir
769 infodir
770 docdir
771 oldincludedir
772 includedir
773 localstatedir
774 sharedstatedir
775 sysconfdir
776 datadir
777 datarootdir
778 libexecdir
779 sbindir
780 bindir
781 program_transform_name
782 prefix
783 exec_prefix
784 PACKAGE_URL
785 PACKAGE_BUGREPORT
786 PACKAGE_STRING
787 PACKAGE_VERSION
788 PACKAGE_TARNAME
789 PACKAGE_NAME
790 PATH_SEPARATOR
791 SHELL'
792 ac_subst_files=''
793 ac_user_opts='
794 enable_option_checking
795 enable_win16
796 enable_win64
797 enable_tests
798 enable_maintainer_mode
799 with_alsa
800 with_capi
801 with_cms
802 with_coreaudio
803 with_cups
804 with_curses
805 with_dbus
806 with_fontconfig
807 with_freetype
808 with_gettext
809 with_gettextpo
810 with_gphoto
811 with_glu
812 with_gnutls
813 with_gsm
814 with_gstreamer
815 with_hal
816 with_jpeg
817 with_ldap
818 with_mpg123
819 with_netapi
820 with_openal
821 with_opencl
822 with_opengl
823 with_osmesa
824 with_oss
825 with_png
826 with_pthread
827 with_sane
828 with_tiff
829 with_v4l
830 with_xcomposite
831 with_xcursor
832 with_xinerama
833 with_xinput
834 with_xinput2
835 with_xml
836 with_xrandr
837 with_xrender
838 with_xshape
839 with_xshm
840 with_xslt
841 with_xxf86vm
842 with_zlib
843 with_wine_tools
844 with_wine64
845 enable_largefile
846 with_x
847 enable_acledit
848 enable_aclui
849 enable_activeds
850 enable_actxprxy
851 enable_advapi32
852 enable_advpack
853 enable_amstream
854 enable_api_ms_win_core_debug_l1_1_1
855 enable_api_ms_win_core_errorhandling_l1_1_1
856 enable_api_ms_win_core_interlocked_l1_2_0
857 enable_api_ms_win_core_localregistry_l1_1_0
858 enable_api_ms_win_core_processthreads_l1_1_0
859 enable_api_ms_win_core_processthreads_l1_1_1
860 enable_api_ms_win_core_profile_l1_1_0
861 enable_api_ms_win_core_string_l1_1_0
862 enable_api_ms_win_core_synch_l1_2_0
863 enable_api_ms_win_core_sysinfo_l1_2_0
864 enable_api_ms_win_core_util_l1_1_0
865 enable_api_ms_win_core_winrt_error_l1_1_0
866 enable_api_ms_win_core_winrt_string_l1_1_0
867 enable_api_ms_win_downlevel_advapi32_l1_1_0
868 enable_api_ms_win_downlevel_advapi32_l2_1_0
869 enable_api_ms_win_downlevel_normaliz_l1_1_0
870 enable_api_ms_win_downlevel_ole32_l1_1_0
871 enable_api_ms_win_downlevel_shell32_l1_1_0
872 enable_api_ms_win_downlevel_shlwapi_l1_1_0
873 enable_api_ms_win_downlevel_shlwapi_l2_1_0
874 enable_api_ms_win_downlevel_user32_l1_1_0
875 enable_api_ms_win_downlevel_version_l1_1_0
876 enable_api_ms_win_security_base_l1_1_0
877 enable_apphelp
878 enable_appwiz_cpl
879 enable_atl
880 enable_atl100
881 enable_atl110
882 enable_atl80
883 enable_atl90
884 enable_authz
885 enable_avicap32
886 enable_avifil32
887 enable_avrt
888 enable_bcrypt
889 enable_browseui
890 enable_cabinet
891 enable_capi2032
892 enable_cards
893 enable_cfgmgr32
894 enable_clusapi
895 enable_comcat
896 enable_comctl32
897 enable_comdlg32
898 enable_compstui
899 enable_comsvcs
900 enable_credui
901 enable_crtdll
902 enable_crypt32
903 enable_cryptdlg
904 enable_cryptdll
905 enable_cryptnet
906 enable_cryptui
907 enable_ctapi32
908 enable_ctl3d32
909 enable_d3d10
910 enable_d3d10core
911 enable_d3d11
912 enable_d3d8
913 enable_d3d9
914 enable_d3dcompiler_33
915 enable_d3dcompiler_34
916 enable_d3dcompiler_35
917 enable_d3dcompiler_36
918 enable_d3dcompiler_37
919 enable_d3dcompiler_38
920 enable_d3dcompiler_39
921 enable_d3dcompiler_40
922 enable_d3dcompiler_41
923 enable_d3dcompiler_42
924 enable_d3dcompiler_43
925 enable_d3dim
926 enable_d3drm
927 enable_d3dx10_33
928 enable_d3dx10_34
929 enable_d3dx10_35
930 enable_d3dx10_36
931 enable_d3dx10_37
932 enable_d3dx10_38
933 enable_d3dx10_39
934 enable_d3dx10_40
935 enable_d3dx10_41
936 enable_d3dx10_42
937 enable_d3dx10_43
938 enable_d3dx11_42
939 enable_d3dx11_43
940 enable_d3dx9_24
941 enable_d3dx9_25
942 enable_d3dx9_26
943 enable_d3dx9_27
944 enable_d3dx9_28
945 enable_d3dx9_29
946 enable_d3dx9_30
947 enable_d3dx9_31
948 enable_d3dx9_32
949 enable_d3dx9_33
950 enable_d3dx9_34
951 enable_d3dx9_35
952 enable_d3dx9_36
953 enable_d3dx9_37
954 enable_d3dx9_38
955 enable_d3dx9_39
956 enable_d3dx9_40
957 enable_d3dx9_41
958 enable_d3dx9_42
959 enable_d3dx9_43
960 enable_d3dxof
961 enable_dbgeng
962 enable_dbghelp
963 enable_dciman32
964 enable_ddraw
965 enable_ddrawex
966 enable_devenum
967 enable_dhcpcsvc
968 enable_difxapi
969 enable_dinput
970 enable_dinput8
971 enable_dispex
972 enable_dmband
973 enable_dmcompos
974 enable_dmime
975 enable_dmloader
976 enable_dmscript
977 enable_dmstyle
978 enable_dmsynth
979 enable_dmusic
980 enable_dmusic32
981 enable_dnsapi
982 enable_dplay
983 enable_dplayx
984 enable_dpnaddr
985 enable_dpnet
986 enable_dpnhpast
987 enable_dpnlobby
988 enable_dpwsockx
989 enable_drmclien
990 enable_dsound
991 enable_dssenh
992 enable_dswave
993 enable_dwmapi
994 enable_dwrite
995 enable_dxdiagn
996 enable_dxgi
997 enable_explorerframe
998 enable_faultrep
999 enable_fltlib
1000 enable_fusion
1001 enable_fwpuclnt
1002 enable_gameux
1003 enable_gdi32
1004 enable_gdiplus
1005 enable_glu32
1006 enable_gphoto2_ds
1007 enable_gpkcsp
1008 enable_hal
1009 enable_hhctrl_ocx
1010 enable_hid
1011 enable_hlink
1012 enable_hnetcfg
1013 enable_httpapi
1014 enable_iccvid
1015 enable_icmp
1016 enable_ieframe
1017 enable_imaadp32_acm
1018 enable_imagehlp
1019 enable_imm32
1020 enable_inetcomm
1021 enable_inetcpl_cpl
1022 enable_inetmib1
1023 enable_infosoft
1024 enable_initpki
1025 enable_inkobj
1026 enable_inseng
1027 enable_iphlpapi
1028 enable_itircl
1029 enable_itss
1030 enable_joy_cpl
1031 enable_jscript
1032 enable_kernel32
1033 enable_ktmw32
1034 enable_loadperf
1035 enable_localspl
1036 enable_localui
1037 enable_lz32
1038 enable_mapi32
1039 enable_mapistub
1040 enable_mciavi32
1041 enable_mcicda
1042 enable_mciqtz32
1043 enable_mciseq
1044 enable_mciwave
1045 enable_mgmtapi
1046 enable_midimap
1047 enable_mlang
1048 enable_mmcndmgr
1049 enable_mmdevapi
1050 enable_mountmgr_sys
1051 enable_mpr
1052 enable_mprapi
1053 enable_msacm32_drv
1054 enable_msacm32
1055 enable_msadp32_acm
1056 enable_mscat32
1057 enable_mscms
1058 enable_mscoree
1059 enable_msctf
1060 enable_msdaps
1061 enable_msdmo
1062 enable_msftedit
1063 enable_msg711_acm
1064 enable_msgsm32_acm
1065 enable_mshtml_tlb
1066 enable_mshtml
1067 enable_msi
1068 enable_msident
1069 enable_msimg32
1070 enable_msimsg
1071 enable_msimtf
1072 enable_msisip
1073 enable_msisys_ocx
1074 enable_msls31
1075 enable_msnet32
1076 enable_mspatcha
1077 enable_msrle32
1078 enable_mssign32
1079 enable_mssip32
1080 enable_mstask
1081 enable_msvcirt
1082 enable_msvcm80
1083 enable_msvcm90
1084 enable_msvcp100
1085 enable_msvcp110
1086 enable_msvcp60
1087 enable_msvcp70
1088 enable_msvcp71
1089 enable_msvcp80
1090 enable_msvcp90
1091 enable_msvcr100
1092 enable_msvcr110
1093 enable_msvcr70
1094 enable_msvcr71
1095 enable_msvcr80
1096 enable_msvcr90
1097 enable_msvcrt
1098 enable_msvcrt20
1099 enable_msvcrt40
1100 enable_msvcrtd
1101 enable_msvfw32
1102 enable_msvidc32
1103 enable_mswsock
1104 enable_msxml
1105 enable_msxml2
1106 enable_msxml3
1107 enable_msxml4
1108 enable_msxml6
1109 enable_nddeapi
1110 enable_netapi32
1111 enable_netcfgx
1112 enable_newdev
1113 enable_normaliz
1114 enable_npmshtml
1115 enable_ntdll
1116 enable_ntdsapi
1117 enable_ntoskrnl_exe
1118 enable_ntprint
1119 enable_objsel
1120 enable_odbc32
1121 enable_odbccp32
1122 enable_odbccu32
1123 enable_ole32
1124 enable_oleacc
1125 enable_oleaut32
1126 enable_olecli32
1127 enable_oledb32
1128 enable_oledlg
1129 enable_olepro32
1130 enable_olesvr32
1131 enable_olethk32
1132 enable_openal32
1133 enable_opencl
1134 enable_opengl32
1135 enable_pdh
1136 enable_photometadatahandler
1137 enable_pidgen
1138 enable_powrprof
1139 enable_printui
1140 enable_propsys
1141 enable_psapi
1142 enable_pstorec
1143 enable_qcap
1144 enable_qedit
1145 enable_qmgr
1146 enable_qmgrprxy
1147 enable_quartz
1148 enable_query
1149 enable_rasapi32
1150 enable_rasdlg
1151 enable_regapi
1152 enable_resutils
1153 enable_riched20
1154 enable_riched32
1155 enable_rpcrt4
1156 enable_rsabase
1157 enable_rsaenh
1158 enable_rstrtmgr
1159 enable_rtutils
1160 enable_samlib
1161 enable_sane_ds
1162 enable_scarddlg
1163 enable_sccbase
1164 enable_schannel
1165 enable_scrrun
1166 enable_scsiport_sys
1167 enable_secur32
1168 enable_security
1169 enable_sensapi
1170 enable_serialui
1171 enable_setupapi
1172 enable_sfc
1173 enable_sfc_os
1174 enable_shdoclc
1175 enable_shdocvw
1176 enable_shell32
1177 enable_shfolder
1178 enable_shlwapi
1179 enable_slbcsp
1180 enable_slc
1181 enable_snmpapi
1182 enable_softpub
1183 enable_spoolss
1184 enable_stdole2_tlb
1185 enable_stdole32_tlb
1186 enable_sti
1187 enable_svrapi
1188 enable_sxs
1189 enable_t2embed
1190 enable_tapi32
1191 enable_taskschd
1192 enable_traffic
1193 enable_twain_32
1194 enable_unicows
1195 enable_updspapi
1196 enable_url
1197 enable_urlmon
1198 enable_usbd_sys
1199 enable_user32
1200 enable_userenv
1201 enable_usp10
1202 enable_uxtheme
1203 enable_vbscript
1204 enable_vcomp
1205 enable_vcomp100
1206 enable_vcomp90
1207 enable_vdmdbg
1208 enable_version
1209 enable_wbemdisp
1210 enable_wbemprox
1211 enable_webservices
1212 enable_wer
1213 enable_wevtapi
1214 enable_wiaservc
1215 enable_windowscodecs
1216 enable_windowscodecsext
1217 enable_winealsa_drv
1218 enable_winecoreaudio_drv
1219 enable_wined3d
1220 enable_winegstreamer
1221 enable_winejoystick_drv
1222 enable_winemac_drv
1223 enable_winemapi
1224 enable_winemp3_acm
1225 enable_wineoss_drv
1226 enable_wineps_drv
1227 enable_wineqtdecoder
1228 enable_winex11_drv
1229 enable_wing32
1230 enable_winhttp
1231 enable_wininet
1232 enable_winmm
1233 enable_winnls32
1234 enable_winscard
1235 enable_winspool_drv
1236 enable_winsta
1237 enable_wintab32
1238 enable_wintrust
1239 enable_wlanapi
1240 enable_wldap32
1241 enable_wmi
1242 enable_wmiutils
1243 enable_wmp
1244 enable_wmvcore
1245 enable_wnaspi32
1246 enable_ws2_32
1247 enable_wshom_ocx
1248 enable_wsnmp32
1249 enable_wsock32
1250 enable_wtsapi32
1251 enable_wuapi
1252 enable_wuaueng
1253 enable_xapofx1_1
1254 enable_xinput1_1
1255 enable_xinput1_2
1256 enable_xinput1_3
1257 enable_xinput1_4
1258 enable_xinput9_1_0
1259 enable_xmllite
1260 enable_xolehlp
1261 enable_xpsprint
1262 enable_xpssvcs
1263 enable_documentation
1264 enable_fonts
1265 enable_include
1266 enable_libs_port
1267 enable_libs_wine
1268 enable_libs_wpp
1269 enable_loader
1270 enable_arp
1271 enable_aspnet_regiis
1272 enable_attrib
1273 enable_cabarc
1274 enable_cacls
1275 enable_clock
1276 enable_cmd
1277 enable_conhost
1278 enable_control
1279 enable_cscript
1280 enable_dxdiag
1281 enable_eject
1282 enable_expand
1283 enable_explorer
1284 enable_extrac32
1285 enable_findstr
1286 enable_hh
1287 enable_hostname
1288 enable_icinfo
1289 enable_iexplore
1290 enable_ipconfig
1291 enable_lodctr
1292 enable_mofcomp
1293 enable_mshta
1294 enable_msiexec
1295 enable_net
1296 enable_netsh
1297 enable_netstat
1298 enable_ngen
1299 enable_notepad
1300 enable_oleview
1301 enable_ping
1302 enable_plugplay
1303 enable_presentationfontcache
1304 enable_progman
1305 enable_reg
1306 enable_regasm
1307 enable_regedit
1308 enable_regsvcs
1309 enable_regsvr32
1310 enable_rpcss
1311 enable_rundll32
1312 enable_sc
1313 enable_schtasks
1314 enable_secedit
1315 enable_servicemodelreg
1316 enable_services
1317 enable_spoolsv
1318 enable_start
1319 enable_svchost
1320 enable_taskkill
1321 enable_tasklist
1322 enable_taskmgr
1323 enable_termsv
1324 enable_uninstaller
1325 enable_unlodctr
1326 enable_view
1327 enable_wineboot
1328 enable_winebrowser
1329 enable_winecfg
1330 enable_wineconsole
1331 enable_winedbg
1332 enable_winedevice
1333 enable_winefile
1334 enable_winemenubuilder
1335 enable_winemine
1336 enable_winemsibuilder
1337 enable_winepath
1338 enable_winetest
1339 enable_winhlp32
1340 enable_winver
1341 enable_wmic
1342 enable_wordpad
1343 enable_write
1344 enable_wscript
1345 enable_wusa
1346 enable_xcopy
1347 enable_server
1348 enable_tools
1350 ac_precious_vars='build_alias
1351 host_alias
1352 target_alias
1354 CFLAGS
1355 LDFLAGS
1356 LIBS
1357 CPPFLAGS
1359 CXXFLAGS
1362 XMKMF
1363 XML2_CFLAGS
1364 XML2_LIBS
1365 XSLT_CFLAGS
1366 XSLT_LIBS
1367 DBUS_CFLAGS
1368 DBUS_LIBS
1369 HAL_CFLAGS
1370 HAL_LIBS
1371 GNUTLS_CFLAGS
1372 GNUTLS_LIBS
1373 SANE_CFLAGS
1374 SANE_LIBS
1375 GPHOTO2_CFLAGS
1376 GPHOTO2_LIBS
1377 GPHOTO2_PORT_CFLAGS
1378 GPHOTO2_PORT_LIBS
1379 LCMS2_CFLAGS
1380 LCMS2_LIBS
1381 FREETYPE_CFLAGS
1382 FREETYPE_LIBS
1383 GSTREAMER_CFLAGS
1384 GSTREAMER_LIBS
1385 CAPI20_CFLAGS
1386 CAPI20_LIBS
1387 FONTCONFIG_CFLAGS
1388 FONTCONFIG_LIBS
1389 JPEG_CFLAGS
1390 JPEG_LIBS
1391 PNG_CFLAGS
1392 PNG_LIBS
1393 TIFF_CFLAGS
1394 TIFF_LIBS
1395 MPG123_CFLAGS
1396 MPG123_LIBS'
1399 # Initialize some variables set by options.
1400 ac_init_help=
1401 ac_init_version=false
1402 ac_unrecognized_opts=
1403 ac_unrecognized_sep=
1404 # The variables have the same names as the options, with
1405 # dashes changed to underlines.
1406 cache_file=/dev/null
1407 exec_prefix=NONE
1408 no_create=
1409 no_recursion=
1410 prefix=NONE
1411 program_prefix=NONE
1412 program_suffix=NONE
1413 program_transform_name=s,x,x,
1414 silent=
1415 site=
1416 srcdir=
1417 verbose=
1418 x_includes=NONE
1419 x_libraries=NONE
1421 # Installation directory options.
1422 # These are left unexpanded so users can "make install exec_prefix=/foo"
1423 # and all the variables that are supposed to be based on exec_prefix
1424 # by default will actually change.
1425 # Use braces instead of parens because sh, perl, etc. also accept them.
1426 # (The list follows the same order as the GNU Coding Standards.)
1427 bindir='${exec_prefix}/bin'
1428 sbindir='${exec_prefix}/sbin'
1429 libexecdir='${exec_prefix}/libexec'
1430 datarootdir='${prefix}/share'
1431 datadir='${datarootdir}'
1432 sysconfdir='${prefix}/etc'
1433 sharedstatedir='${prefix}/com'
1434 localstatedir='${prefix}/var'
1435 includedir='${prefix}/include'
1436 oldincludedir='/usr/include'
1437 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1438 infodir='${datarootdir}/info'
1439 htmldir='${docdir}'
1440 dvidir='${docdir}'
1441 pdfdir='${docdir}'
1442 psdir='${docdir}'
1443 libdir='${exec_prefix}/lib'
1444 localedir='${datarootdir}/locale'
1445 mandir='${datarootdir}/man'
1447 ac_prev=
1448 ac_dashdash=
1449 for ac_option
1451 # If the previous option needs an argument, assign it.
1452 if test -n "$ac_prev"; then
1453 eval $ac_prev=\$ac_option
1454 ac_prev=
1455 continue
1458 case $ac_option in
1459 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1460 *=) ac_optarg= ;;
1461 *) ac_optarg=yes ;;
1462 esac
1464 # Accept the important Cygnus configure options, so we can diagnose typos.
1466 case $ac_dashdash$ac_option in
1468 ac_dashdash=yes ;;
1470 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1471 ac_prev=bindir ;;
1472 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1473 bindir=$ac_optarg ;;
1475 -build | --build | --buil | --bui | --bu)
1476 ac_prev=build_alias ;;
1477 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1478 build_alias=$ac_optarg ;;
1480 -cache-file | --cache-file | --cache-fil | --cache-fi \
1481 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1482 ac_prev=cache_file ;;
1483 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1484 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1485 cache_file=$ac_optarg ;;
1487 --config-cache | -C)
1488 cache_file=config.cache ;;
1490 -datadir | --datadir | --datadi | --datad)
1491 ac_prev=datadir ;;
1492 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1493 datadir=$ac_optarg ;;
1495 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1496 | --dataroo | --dataro | --datar)
1497 ac_prev=datarootdir ;;
1498 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1499 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1500 datarootdir=$ac_optarg ;;
1502 -disable-* | --disable-*)
1503 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1504 # Reject names that are not valid shell variable names.
1505 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1506 as_fn_error $? "invalid feature name: $ac_useropt"
1507 ac_useropt_orig=$ac_useropt
1508 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1509 case $ac_user_opts in
1511 "enable_$ac_useropt"
1512 "*) ;;
1513 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1514 ac_unrecognized_sep=', ';;
1515 esac
1516 eval enable_$ac_useropt=no ;;
1518 -docdir | --docdir | --docdi | --doc | --do)
1519 ac_prev=docdir ;;
1520 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1521 docdir=$ac_optarg ;;
1523 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1524 ac_prev=dvidir ;;
1525 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1526 dvidir=$ac_optarg ;;
1528 -enable-* | --enable-*)
1529 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1530 # Reject names that are not valid shell variable names.
1531 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1532 as_fn_error $? "invalid feature name: $ac_useropt"
1533 ac_useropt_orig=$ac_useropt
1534 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1535 case $ac_user_opts in
1537 "enable_$ac_useropt"
1538 "*) ;;
1539 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1540 ac_unrecognized_sep=', ';;
1541 esac
1542 eval enable_$ac_useropt=\$ac_optarg ;;
1544 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1545 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1546 | --exec | --exe | --ex)
1547 ac_prev=exec_prefix ;;
1548 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1549 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1550 | --exec=* | --exe=* | --ex=*)
1551 exec_prefix=$ac_optarg ;;
1553 -gas | --gas | --ga | --g)
1554 # Obsolete; use --with-gas.
1555 with_gas=yes ;;
1557 -help | --help | --hel | --he | -h)
1558 ac_init_help=long ;;
1559 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1560 ac_init_help=recursive ;;
1561 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1562 ac_init_help=short ;;
1564 -host | --host | --hos | --ho)
1565 ac_prev=host_alias ;;
1566 -host=* | --host=* | --hos=* | --ho=*)
1567 host_alias=$ac_optarg ;;
1569 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1570 ac_prev=htmldir ;;
1571 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1572 | --ht=*)
1573 htmldir=$ac_optarg ;;
1575 -includedir | --includedir | --includedi | --included | --include \
1576 | --includ | --inclu | --incl | --inc)
1577 ac_prev=includedir ;;
1578 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1579 | --includ=* | --inclu=* | --incl=* | --inc=*)
1580 includedir=$ac_optarg ;;
1582 -infodir | --infodir | --infodi | --infod | --info | --inf)
1583 ac_prev=infodir ;;
1584 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1585 infodir=$ac_optarg ;;
1587 -libdir | --libdir | --libdi | --libd)
1588 ac_prev=libdir ;;
1589 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1590 libdir=$ac_optarg ;;
1592 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1593 | --libexe | --libex | --libe)
1594 ac_prev=libexecdir ;;
1595 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1596 | --libexe=* | --libex=* | --libe=*)
1597 libexecdir=$ac_optarg ;;
1599 -localedir | --localedir | --localedi | --localed | --locale)
1600 ac_prev=localedir ;;
1601 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1602 localedir=$ac_optarg ;;
1604 -localstatedir | --localstatedir | --localstatedi | --localstated \
1605 | --localstate | --localstat | --localsta | --localst | --locals)
1606 ac_prev=localstatedir ;;
1607 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1608 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1609 localstatedir=$ac_optarg ;;
1611 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1612 ac_prev=mandir ;;
1613 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1614 mandir=$ac_optarg ;;
1616 -nfp | --nfp | --nf)
1617 # Obsolete; use --without-fp.
1618 with_fp=no ;;
1620 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1621 | --no-cr | --no-c | -n)
1622 no_create=yes ;;
1624 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1625 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1626 no_recursion=yes ;;
1628 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1629 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1630 | --oldin | --oldi | --old | --ol | --o)
1631 ac_prev=oldincludedir ;;
1632 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1633 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1634 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1635 oldincludedir=$ac_optarg ;;
1637 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1638 ac_prev=prefix ;;
1639 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1640 prefix=$ac_optarg ;;
1642 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1643 | --program-pre | --program-pr | --program-p)
1644 ac_prev=program_prefix ;;
1645 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1646 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1647 program_prefix=$ac_optarg ;;
1649 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1650 | --program-suf | --program-su | --program-s)
1651 ac_prev=program_suffix ;;
1652 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1653 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1654 program_suffix=$ac_optarg ;;
1656 -program-transform-name | --program-transform-name \
1657 | --program-transform-nam | --program-transform-na \
1658 | --program-transform-n | --program-transform- \
1659 | --program-transform | --program-transfor \
1660 | --program-transfo | --program-transf \
1661 | --program-trans | --program-tran \
1662 | --progr-tra | --program-tr | --program-t)
1663 ac_prev=program_transform_name ;;
1664 -program-transform-name=* | --program-transform-name=* \
1665 | --program-transform-nam=* | --program-transform-na=* \
1666 | --program-transform-n=* | --program-transform-=* \
1667 | --program-transform=* | --program-transfor=* \
1668 | --program-transfo=* | --program-transf=* \
1669 | --program-trans=* | --program-tran=* \
1670 | --progr-tra=* | --program-tr=* | --program-t=*)
1671 program_transform_name=$ac_optarg ;;
1673 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1674 ac_prev=pdfdir ;;
1675 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1676 pdfdir=$ac_optarg ;;
1678 -psdir | --psdir | --psdi | --psd | --ps)
1679 ac_prev=psdir ;;
1680 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1681 psdir=$ac_optarg ;;
1683 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1684 | -silent | --silent | --silen | --sile | --sil)
1685 silent=yes ;;
1687 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1688 ac_prev=sbindir ;;
1689 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1690 | --sbi=* | --sb=*)
1691 sbindir=$ac_optarg ;;
1693 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1694 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1695 | --sharedst | --shareds | --shared | --share | --shar \
1696 | --sha | --sh)
1697 ac_prev=sharedstatedir ;;
1698 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1699 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1700 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1701 | --sha=* | --sh=*)
1702 sharedstatedir=$ac_optarg ;;
1704 -site | --site | --sit)
1705 ac_prev=site ;;
1706 -site=* | --site=* | --sit=*)
1707 site=$ac_optarg ;;
1709 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1710 ac_prev=srcdir ;;
1711 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1712 srcdir=$ac_optarg ;;
1714 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1715 | --syscon | --sysco | --sysc | --sys | --sy)
1716 ac_prev=sysconfdir ;;
1717 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1718 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1719 sysconfdir=$ac_optarg ;;
1721 -target | --target | --targe | --targ | --tar | --ta | --t)
1722 ac_prev=target_alias ;;
1723 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1724 target_alias=$ac_optarg ;;
1726 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1727 verbose=yes ;;
1729 -version | --version | --versio | --versi | --vers | -V)
1730 ac_init_version=: ;;
1732 -with-* | --with-*)
1733 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1734 # Reject names that are not valid shell variable names.
1735 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1736 as_fn_error $? "invalid package name: $ac_useropt"
1737 ac_useropt_orig=$ac_useropt
1738 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1739 case $ac_user_opts in
1741 "with_$ac_useropt"
1742 "*) ;;
1743 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1744 ac_unrecognized_sep=', ';;
1745 esac
1746 eval with_$ac_useropt=\$ac_optarg ;;
1748 -without-* | --without-*)
1749 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1750 # Reject names that are not valid shell variable names.
1751 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1752 as_fn_error $? "invalid package name: $ac_useropt"
1753 ac_useropt_orig=$ac_useropt
1754 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1755 case $ac_user_opts in
1757 "with_$ac_useropt"
1758 "*) ;;
1759 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1760 ac_unrecognized_sep=', ';;
1761 esac
1762 eval with_$ac_useropt=no ;;
1764 --x)
1765 # Obsolete; use --with-x.
1766 with_x=yes ;;
1768 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1769 | --x-incl | --x-inc | --x-in | --x-i)
1770 ac_prev=x_includes ;;
1771 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1772 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1773 x_includes=$ac_optarg ;;
1775 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1776 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1777 ac_prev=x_libraries ;;
1778 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1779 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1780 x_libraries=$ac_optarg ;;
1782 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1783 Try \`$0 --help' for more information"
1786 *=*)
1787 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1788 # Reject names that are not valid shell variable names.
1789 case $ac_envvar in #(
1790 '' | [0-9]* | *[!_$as_cr_alnum]* )
1791 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1792 esac
1793 eval $ac_envvar=\$ac_optarg
1794 export $ac_envvar ;;
1797 # FIXME: should be removed in autoconf 3.0.
1798 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1799 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1800 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1801 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1804 esac
1805 done
1807 if test -n "$ac_prev"; then
1808 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1809 as_fn_error $? "missing argument to $ac_option"
1812 if test -n "$ac_unrecognized_opts"; then
1813 case $enable_option_checking in
1814 no) ;;
1815 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1816 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1817 esac
1820 # Check all directory arguments for consistency.
1821 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1822 datadir sysconfdir sharedstatedir localstatedir includedir \
1823 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1824 libdir localedir mandir
1826 eval ac_val=\$$ac_var
1827 # Remove trailing slashes.
1828 case $ac_val in
1829 */ )
1830 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1831 eval $ac_var=\$ac_val;;
1832 esac
1833 # Be sure to have absolute directory names.
1834 case $ac_val in
1835 [\\/$]* | ?:[\\/]* ) continue;;
1836 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1837 esac
1838 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1839 done
1841 # There might be people who depend on the old broken behavior: `$host'
1842 # used to hold the argument of --host etc.
1843 # FIXME: To remove some day.
1844 build=$build_alias
1845 host=$host_alias
1846 target=$target_alias
1848 # FIXME: To remove some day.
1849 if test "x$host_alias" != x; then
1850 if test "x$build_alias" = x; then
1851 cross_compiling=maybe
1852 elif test "x$build_alias" != "x$host_alias"; then
1853 cross_compiling=yes
1857 ac_tool_prefix=
1858 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1860 test "$silent" = yes && exec 6>/dev/null
1863 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1864 ac_ls_di=`ls -di .` &&
1865 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1866 as_fn_error $? "working directory cannot be determined"
1867 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1868 as_fn_error $? "pwd does not report name of working directory"
1871 # Find the source files, if location was not specified.
1872 if test -z "$srcdir"; then
1873 ac_srcdir_defaulted=yes
1874 # Try the directory containing this script, then the parent directory.
1875 ac_confdir=`$as_dirname -- "$as_myself" ||
1876 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1877 X"$as_myself" : 'X\(//\)[^/]' \| \
1878 X"$as_myself" : 'X\(//\)$' \| \
1879 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1880 $as_echo X"$as_myself" |
1881 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1882 s//\1/
1885 /^X\(\/\/\)[^/].*/{
1886 s//\1/
1889 /^X\(\/\/\)$/{
1890 s//\1/
1893 /^X\(\/\).*/{
1894 s//\1/
1897 s/.*/./; q'`
1898 srcdir=$ac_confdir
1899 if test ! -r "$srcdir/$ac_unique_file"; then
1900 srcdir=..
1902 else
1903 ac_srcdir_defaulted=no
1905 if test ! -r "$srcdir/$ac_unique_file"; then
1906 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1907 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1909 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1910 ac_abs_confdir=`(
1911 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1912 pwd)`
1913 # When building in place, set srcdir=.
1914 if test "$ac_abs_confdir" = "$ac_pwd"; then
1915 srcdir=.
1917 # Remove unnecessary trailing slashes from srcdir.
1918 # Double slashes in file names in object file debugging info
1919 # mess up M-x gdb in Emacs.
1920 case $srcdir in
1921 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1922 esac
1923 for ac_var in $ac_precious_vars; do
1924 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1925 eval ac_env_${ac_var}_value=\$${ac_var}
1926 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1927 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1928 done
1931 # Report the --help message.
1933 if test "$ac_init_help" = "long"; then
1934 # Omit some internal or obsolete options to make the list less imposing.
1935 # This message is too long to be a string in the A/UX 3.1 sh.
1936 cat <<_ACEOF
1937 \`configure' configures Wine 1.7.11 to adapt to many kinds of systems.
1939 Usage: $0 [OPTION]... [VAR=VALUE]...
1941 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1942 VAR=VALUE. See below for descriptions of some of the useful variables.
1944 Defaults for the options are specified in brackets.
1946 Configuration:
1947 -h, --help display this help and exit
1948 --help=short display options specific to this package
1949 --help=recursive display the short help of all the included packages
1950 -V, --version display version information and exit
1951 -q, --quiet, --silent do not print \`checking ...' messages
1952 --cache-file=FILE cache test results in FILE [disabled]
1953 -C, --config-cache alias for \`--cache-file=config.cache'
1954 -n, --no-create do not create output files
1955 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1957 Installation directories:
1958 --prefix=PREFIX install architecture-independent files in PREFIX
1959 [$ac_default_prefix]
1960 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1961 [PREFIX]
1963 By default, \`make install' will install all the files in
1964 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1965 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1966 for instance \`--prefix=\$HOME'.
1968 For better control, use the options below.
1970 Fine tuning of the installation directories:
1971 --bindir=DIR user executables [EPREFIX/bin]
1972 --sbindir=DIR system admin executables [EPREFIX/sbin]
1973 --libexecdir=DIR program executables [EPREFIX/libexec]
1974 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1975 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1976 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1977 --libdir=DIR object code libraries [EPREFIX/lib]
1978 --includedir=DIR C header files [PREFIX/include]
1979 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1980 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1981 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1982 --infodir=DIR info documentation [DATAROOTDIR/info]
1983 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1984 --mandir=DIR man documentation [DATAROOTDIR/man]
1985 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1986 --htmldir=DIR html documentation [DOCDIR]
1987 --dvidir=DIR dvi documentation [DOCDIR]
1988 --pdfdir=DIR pdf documentation [DOCDIR]
1989 --psdir=DIR ps documentation [DOCDIR]
1990 _ACEOF
1992 cat <<\_ACEOF
1994 X features:
1995 --x-includes=DIR X include files are in DIR
1996 --x-libraries=DIR X library files are in DIR
1998 System types:
1999 --build=BUILD configure for building on BUILD [guessed]
2000 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2001 _ACEOF
2004 if test -n "$ac_init_help"; then
2005 case $ac_init_help in
2006 short | recursive ) echo "Configuration of Wine 1.7.11:";;
2007 esac
2008 cat <<\_ACEOF
2010 Optional Features:
2011 --disable-option-checking ignore unrecognized --enable/--with options
2012 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2013 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2014 --disable-win16 do not include Win16 support
2015 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2016 binaries)
2017 --disable-tests do not build the regression tests
2018 --enable-maintainer-mode
2019 enable maintainer-specific build rules
2020 --disable-largefile omit support for large files
2022 Optional Packages:
2023 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2024 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2025 --without-alsa do not use the Alsa sound support
2026 --without-capi do not use CAPI (ISDN support)
2027 --without-cms do not use CMS (color management support)
2028 --without-coreaudio do not use the CoreAudio sound support
2029 --without-cups do not use CUPS
2030 --without-curses do not use (n)curses
2031 --without-dbus do not use DBus (dynamic device support)
2032 --without-fontconfig do not use fontconfig
2033 --without-freetype do not use the FreeType library
2034 --without-gettext do not use gettext
2035 --with-gettextpo use the GetTextPO library to rebuild po files
2036 --without-gphoto do not use gphoto (Digital Camera support)
2037 --without-glu do not use the GLU library
2038 --without-gnutls do not use GnuTLS (schannel support)
2039 --without-gsm do not use libgsm (GSM 06.10 codec support)
2040 --without-gstreamer do not use GStreamer (codecs support)
2041 --without-hal do not use HAL (dynamic device support)
2042 --without-jpeg do not use JPEG
2043 --without-ldap do not use LDAP
2044 --without-mpg123 do not use the mpg123 library
2045 --without-netapi do not use the Samba NetAPI library
2046 --without-openal do not use OpenAL
2047 --without-opencl do not use OpenCL
2048 --without-opengl do not use OpenGL
2049 --without-osmesa do not use the OSMesa library
2050 --without-oss do not use the OSS sound support
2051 --without-png do not use PNG
2052 --without-pthread do not use the pthread library
2053 --without-sane do not use SANE (scanner support)
2054 --without-tiff do not use TIFF
2055 --without-v4l do not use v4l1 (v4l support)
2056 --without-xcomposite do not use the Xcomposite extension
2057 --without-xcursor do not use the Xcursor extension
2058 --without-xinerama do not use Xinerama (multi-monitor support)
2059 --without-xinput do not use the Xinput extension
2060 --without-xinput2 do not use the Xinput 2 extension
2061 --without-xml do not use XML
2062 --without-xrandr do not use Xrandr (resolution changes)
2063 --without-xrender do not use the Xrender extension
2064 --without-xshape do not use the Xshape extension
2065 --without-xshm do not use XShm (shared memory extension)
2066 --without-xslt do not use XSLT
2067 --without-xxf86vm do not use XFree video mode extension
2068 --without-zlib do not use Zlib (data compression)
2069 --with-wine-tools=DIR use Wine tools from directory DIR
2070 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2071 --with-x use the X Window System
2073 Some influential environment variables:
2074 CC C compiler command
2075 CFLAGS C compiler flags
2076 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2077 nonstandard directory <lib dir>
2078 LIBS libraries to pass to the linker, e.g. -l<library>
2079 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2080 you have headers in a nonstandard directory <include dir>
2081 CXX C++ compiler command
2082 CXXFLAGS C++ compiler flags
2083 CPP C preprocessor
2084 XMKMF Path to xmkmf, Makefile generator for X Window System
2085 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2086 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2087 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2088 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2089 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2090 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2091 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2092 HAL_LIBS Linker flags for hal, overriding pkg-config
2093 GNUTLS_CFLAGS
2094 C compiler flags for gnutls, overriding pkg-config
2095 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2096 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2097 SANE_LIBS Linker flags for libsane, overriding pkg-config
2098 GPHOTO2_CFLAGS
2099 C compiler flags for libgphoto2, overriding pkg-config
2100 GPHOTO2_LIBS
2101 Linker flags for libgphoto2, overriding pkg-config
2102 GPHOTO2_PORT_CFLAGS
2103 C compiler flags for libgphoto2_port, overriding pkg-config
2104 GPHOTO2_PORT_LIBS
2105 Linker flags for libgphoto2_port, overriding pkg-config
2106 LCMS2_CFLAGS
2107 C compiler flags for lcms2, overriding pkg-config
2108 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2109 FREETYPE_CFLAGS
2110 C compiler flags for freetype2, overriding pkg-config
2111 FREETYPE_LIBS
2112 Linker flags for freetype2, overriding pkg-config
2113 GSTREAMER_CFLAGS
2114 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2115 GSTREAMER_LIBS
2116 Linker flags for gstreamer-app-0.10, overriding pkg-config
2117 CAPI20_CFLAGS
2118 C compiler flags for capi20, overriding pkg-config
2119 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2120 FONTCONFIG_CFLAGS
2121 C compiler flags for fontconfig, overriding pkg-config
2122 FONTCONFIG_LIBS
2123 Linker flags for fontconfig, overriding pkg-config
2124 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2125 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2126 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2127 PNG_LIBS Linker flags for libpng, overriding pkg-config
2128 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2129 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2130 MPG123_CFLAGS
2131 C compiler flags for libmpg123, overriding pkg-config
2132 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2134 Use these variables to override the choices made by `configure' or to help
2135 it to find libraries and programs with nonstandard names/locations.
2137 Report bugs to <wine-devel@winehq.org>.
2138 Wine home page: <http://www.winehq.org>.
2139 _ACEOF
2140 ac_status=$?
2143 if test "$ac_init_help" = "recursive"; then
2144 # If there are subdirs, report their specific --help.
2145 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2146 test -d "$ac_dir" ||
2147 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2148 continue
2149 ac_builddir=.
2151 case "$ac_dir" in
2152 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2154 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2155 # A ".." for each directory in $ac_dir_suffix.
2156 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2157 case $ac_top_builddir_sub in
2158 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2159 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2160 esac ;;
2161 esac
2162 ac_abs_top_builddir=$ac_pwd
2163 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2164 # for backward compatibility:
2165 ac_top_builddir=$ac_top_build_prefix
2167 case $srcdir in
2168 .) # We are building in place.
2169 ac_srcdir=.
2170 ac_top_srcdir=$ac_top_builddir_sub
2171 ac_abs_top_srcdir=$ac_pwd ;;
2172 [\\/]* | ?:[\\/]* ) # Absolute name.
2173 ac_srcdir=$srcdir$ac_dir_suffix;
2174 ac_top_srcdir=$srcdir
2175 ac_abs_top_srcdir=$srcdir ;;
2176 *) # Relative name.
2177 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2178 ac_top_srcdir=$ac_top_build_prefix$srcdir
2179 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2180 esac
2181 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2183 cd "$ac_dir" || { ac_status=$?; continue; }
2184 # Check for guested configure.
2185 if test -f "$ac_srcdir/configure.gnu"; then
2186 echo &&
2187 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2188 elif test -f "$ac_srcdir/configure"; then
2189 echo &&
2190 $SHELL "$ac_srcdir/configure" --help=recursive
2191 else
2192 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2193 fi || ac_status=$?
2194 cd "$ac_pwd" || { ac_status=$?; break; }
2195 done
2198 test -n "$ac_init_help" && exit $ac_status
2199 if $ac_init_version; then
2200 cat <<\_ACEOF
2201 Wine configure 1.7.11
2202 generated by GNU Autoconf 2.69
2204 Copyright (C) 2012 Free Software Foundation, Inc.
2205 This configure script is free software; the Free Software Foundation
2206 gives unlimited permission to copy, distribute and modify it.
2207 _ACEOF
2208 exit
2211 ## ------------------------ ##
2212 ## Autoconf initialization. ##
2213 ## ------------------------ ##
2215 # ac_fn_c_try_compile LINENO
2216 # --------------------------
2217 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2218 ac_fn_c_try_compile ()
2220 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2221 rm -f conftest.$ac_objext
2222 if { { ac_try="$ac_compile"
2223 case "(($ac_try" in
2224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2225 *) ac_try_echo=$ac_try;;
2226 esac
2227 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2228 $as_echo "$ac_try_echo"; } >&5
2229 (eval "$ac_compile") 2>conftest.err
2230 ac_status=$?
2231 if test -s conftest.err; then
2232 grep -v '^ *+' conftest.err >conftest.er1
2233 cat conftest.er1 >&5
2234 mv -f conftest.er1 conftest.err
2236 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2237 test $ac_status = 0; } && {
2238 test -z "$ac_c_werror_flag" ||
2239 test ! -s conftest.err
2240 } && test -s conftest.$ac_objext; then :
2241 ac_retval=0
2242 else
2243 $as_echo "$as_me: failed program was:" >&5
2244 sed 's/^/| /' conftest.$ac_ext >&5
2246 ac_retval=1
2248 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2249 as_fn_set_status $ac_retval
2251 } # ac_fn_c_try_compile
2253 # ac_fn_cxx_try_compile LINENO
2254 # ----------------------------
2255 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2256 ac_fn_cxx_try_compile ()
2258 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2259 rm -f conftest.$ac_objext
2260 if { { ac_try="$ac_compile"
2261 case "(($ac_try" in
2262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2263 *) ac_try_echo=$ac_try;;
2264 esac
2265 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2266 $as_echo "$ac_try_echo"; } >&5
2267 (eval "$ac_compile") 2>conftest.err
2268 ac_status=$?
2269 if test -s conftest.err; then
2270 grep -v '^ *+' conftest.err >conftest.er1
2271 cat conftest.er1 >&5
2272 mv -f conftest.er1 conftest.err
2274 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2275 test $ac_status = 0; } && {
2276 test -z "$ac_cxx_werror_flag" ||
2277 test ! -s conftest.err
2278 } && test -s conftest.$ac_objext; then :
2279 ac_retval=0
2280 else
2281 $as_echo "$as_me: failed program was:" >&5
2282 sed 's/^/| /' conftest.$ac_ext >&5
2284 ac_retval=1
2286 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2287 as_fn_set_status $ac_retval
2289 } # ac_fn_cxx_try_compile
2291 # ac_fn_c_try_link LINENO
2292 # -----------------------
2293 # Try to link conftest.$ac_ext, and return whether this succeeded.
2294 ac_fn_c_try_link ()
2296 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2297 rm -f conftest.$ac_objext conftest$ac_exeext
2298 if { { ac_try="$ac_link"
2299 case "(($ac_try" in
2300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2301 *) ac_try_echo=$ac_try;;
2302 esac
2303 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2304 $as_echo "$ac_try_echo"; } >&5
2305 (eval "$ac_link") 2>conftest.err
2306 ac_status=$?
2307 if test -s conftest.err; then
2308 grep -v '^ *+' conftest.err >conftest.er1
2309 cat conftest.er1 >&5
2310 mv -f conftest.er1 conftest.err
2312 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2313 test $ac_status = 0; } && {
2314 test -z "$ac_c_werror_flag" ||
2315 test ! -s conftest.err
2316 } && test -s conftest$ac_exeext && {
2317 test "$cross_compiling" = yes ||
2318 test -x conftest$ac_exeext
2319 }; then :
2320 ac_retval=0
2321 else
2322 $as_echo "$as_me: failed program was:" >&5
2323 sed 's/^/| /' conftest.$ac_ext >&5
2325 ac_retval=1
2327 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2328 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2329 # interfere with the next link command; also delete a directory that is
2330 # left behind by Apple's compiler. We do this before executing the actions.
2331 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2332 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2333 as_fn_set_status $ac_retval
2335 } # ac_fn_c_try_link
2337 # ac_fn_c_try_cpp LINENO
2338 # ----------------------
2339 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2340 ac_fn_c_try_cpp ()
2342 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2343 if { { ac_try="$ac_cpp conftest.$ac_ext"
2344 case "(($ac_try" in
2345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2346 *) ac_try_echo=$ac_try;;
2347 esac
2348 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2349 $as_echo "$ac_try_echo"; } >&5
2350 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2351 ac_status=$?
2352 if test -s conftest.err; then
2353 grep -v '^ *+' conftest.err >conftest.er1
2354 cat conftest.er1 >&5
2355 mv -f conftest.er1 conftest.err
2357 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2358 test $ac_status = 0; } > conftest.i && {
2359 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2360 test ! -s conftest.err
2361 }; then :
2362 ac_retval=0
2363 else
2364 $as_echo "$as_me: failed program was:" >&5
2365 sed 's/^/| /' conftest.$ac_ext >&5
2367 ac_retval=1
2369 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2370 as_fn_set_status $ac_retval
2372 } # ac_fn_c_try_cpp
2374 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2375 # -------------------------------------------------------
2376 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2377 # the include files in INCLUDES and setting the cache variable VAR
2378 # accordingly.
2379 ac_fn_c_check_header_mongrel ()
2381 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2382 if eval \${$3+:} false; then :
2383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2384 $as_echo_n "checking for $2... " >&6; }
2385 if eval \${$3+:} false; then :
2386 $as_echo_n "(cached) " >&6
2388 eval ac_res=\$$3
2389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2390 $as_echo "$ac_res" >&6; }
2391 else
2392 # Is the header compilable?
2393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2394 $as_echo_n "checking $2 usability... " >&6; }
2395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2396 /* end confdefs.h. */
2398 #include <$2>
2399 _ACEOF
2400 if ac_fn_c_try_compile "$LINENO"; then :
2401 ac_header_compiler=yes
2402 else
2403 ac_header_compiler=no
2405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2407 $as_echo "$ac_header_compiler" >&6; }
2409 # Is the header present?
2410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2411 $as_echo_n "checking $2 presence... " >&6; }
2412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2413 /* end confdefs.h. */
2414 #include <$2>
2415 _ACEOF
2416 if ac_fn_c_try_cpp "$LINENO"; then :
2417 ac_header_preproc=yes
2418 else
2419 ac_header_preproc=no
2421 rm -f conftest.err conftest.i conftest.$ac_ext
2422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2423 $as_echo "$ac_header_preproc" >&6; }
2425 # So? What about this header?
2426 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2427 yes:no: )
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2429 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2430 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2431 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2433 no:yes:* )
2434 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2435 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2436 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2437 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2438 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2439 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2441 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2442 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2443 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2444 ( $as_echo "## ------------------------------------ ##
2445 ## Report this to wine-devel@winehq.org ##
2446 ## ------------------------------------ ##"
2447 ) | sed "s/^/$as_me: WARNING: /" >&2
2449 esac
2450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2451 $as_echo_n "checking for $2... " >&6; }
2452 if eval \${$3+:} false; then :
2453 $as_echo_n "(cached) " >&6
2454 else
2455 eval "$3=\$ac_header_compiler"
2457 eval ac_res=\$$3
2458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2459 $as_echo "$ac_res" >&6; }
2461 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2463 } # ac_fn_c_check_header_mongrel
2465 # ac_fn_c_try_run LINENO
2466 # ----------------------
2467 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2468 # that executables *can* be run.
2469 ac_fn_c_try_run ()
2471 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2472 if { { ac_try="$ac_link"
2473 case "(($ac_try" in
2474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2475 *) ac_try_echo=$ac_try;;
2476 esac
2477 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2478 $as_echo "$ac_try_echo"; } >&5
2479 (eval "$ac_link") 2>&5
2480 ac_status=$?
2481 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2482 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2483 { { case "(($ac_try" in
2484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2485 *) ac_try_echo=$ac_try;;
2486 esac
2487 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2488 $as_echo "$ac_try_echo"; } >&5
2489 (eval "$ac_try") 2>&5
2490 ac_status=$?
2491 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2492 test $ac_status = 0; }; }; then :
2493 ac_retval=0
2494 else
2495 $as_echo "$as_me: program exited with status $ac_status" >&5
2496 $as_echo "$as_me: failed program was:" >&5
2497 sed 's/^/| /' conftest.$ac_ext >&5
2499 ac_retval=$ac_status
2501 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2502 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2503 as_fn_set_status $ac_retval
2505 } # ac_fn_c_try_run
2507 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2508 # -------------------------------------------------------
2509 # Tests whether HEADER exists and can be compiled using the include files in
2510 # INCLUDES, setting the cache variable VAR accordingly.
2511 ac_fn_c_check_header_compile ()
2513 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2515 $as_echo_n "checking for $2... " >&6; }
2516 if eval \${$3+:} false; then :
2517 $as_echo_n "(cached) " >&6
2518 else
2519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2520 /* end confdefs.h. */
2522 #include <$2>
2523 _ACEOF
2524 if ac_fn_c_try_compile "$LINENO"; then :
2525 eval "$3=yes"
2526 else
2527 eval "$3=no"
2529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2531 eval ac_res=\$$3
2532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2533 $as_echo "$ac_res" >&6; }
2534 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2536 } # ac_fn_c_check_header_compile
2538 # ac_fn_c_check_func LINENO FUNC VAR
2539 # ----------------------------------
2540 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2541 ac_fn_c_check_func ()
2543 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2545 $as_echo_n "checking for $2... " >&6; }
2546 if eval \${$3+:} false; then :
2547 $as_echo_n "(cached) " >&6
2548 else
2549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2550 /* end confdefs.h. */
2551 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2552 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2553 #define $2 innocuous_$2
2555 /* System header to define __stub macros and hopefully few prototypes,
2556 which can conflict with char $2 (); below.
2557 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2558 <limits.h> exists even on freestanding compilers. */
2560 #ifdef __STDC__
2561 # include <limits.h>
2562 #else
2563 # include <assert.h>
2564 #endif
2566 #undef $2
2568 /* Override any GCC internal prototype to avoid an error.
2569 Use char because int might match the return type of a GCC
2570 builtin and then its argument prototype would still apply. */
2571 #ifdef __cplusplus
2572 extern "C"
2573 #endif
2574 char $2 ();
2575 /* The GNU C library defines this for functions which it implements
2576 to always fail with ENOSYS. Some functions are actually named
2577 something starting with __ and the normal name is an alias. */
2578 #if defined __stub_$2 || defined __stub___$2
2579 choke me
2580 #endif
2583 main ()
2585 return $2 ();
2587 return 0;
2589 _ACEOF
2590 if ac_fn_c_try_link "$LINENO"; then :
2591 eval "$3=yes"
2592 else
2593 eval "$3=no"
2595 rm -f core conftest.err conftest.$ac_objext \
2596 conftest$ac_exeext conftest.$ac_ext
2598 eval ac_res=\$$3
2599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2600 $as_echo "$ac_res" >&6; }
2601 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2603 } # ac_fn_c_check_func
2605 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2606 # ----------------------------------------------------
2607 # Tries to find if the field MEMBER exists in type AGGR, after including
2608 # INCLUDES, setting cache variable VAR accordingly.
2609 ac_fn_c_check_member ()
2611 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2613 $as_echo_n "checking for $2.$3... " >&6; }
2614 if eval \${$4+:} false; then :
2615 $as_echo_n "(cached) " >&6
2616 else
2617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2618 /* end confdefs.h. */
2621 main ()
2623 static $2 ac_aggr;
2624 if (ac_aggr.$3)
2625 return 0;
2627 return 0;
2629 _ACEOF
2630 if ac_fn_c_try_compile "$LINENO"; then :
2631 eval "$4=yes"
2632 else
2633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2634 /* end confdefs.h. */
2637 main ()
2639 static $2 ac_aggr;
2640 if (sizeof ac_aggr.$3)
2641 return 0;
2643 return 0;
2645 _ACEOF
2646 if ac_fn_c_try_compile "$LINENO"; then :
2647 eval "$4=yes"
2648 else
2649 eval "$4=no"
2651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2655 eval ac_res=\$$4
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2657 $as_echo "$ac_res" >&6; }
2658 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2660 } # ac_fn_c_check_member
2662 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2663 # -------------------------------------------
2664 # Tests whether TYPE exists after having included INCLUDES, setting cache
2665 # variable VAR accordingly.
2666 ac_fn_c_check_type ()
2668 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2670 $as_echo_n "checking for $2... " >&6; }
2671 if eval \${$3+:} false; then :
2672 $as_echo_n "(cached) " >&6
2673 else
2674 eval "$3=no"
2675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2676 /* end confdefs.h. */
2679 main ()
2681 if (sizeof ($2))
2682 return 0;
2684 return 0;
2686 _ACEOF
2687 if ac_fn_c_try_compile "$LINENO"; then :
2688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2689 /* end confdefs.h. */
2692 main ()
2694 if (sizeof (($2)))
2695 return 0;
2697 return 0;
2699 _ACEOF
2700 if ac_fn_c_try_compile "$LINENO"; then :
2702 else
2703 eval "$3=yes"
2705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2709 eval ac_res=\$$3
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2711 $as_echo "$ac_res" >&6; }
2712 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2714 } # ac_fn_c_check_type
2715 cat >config.log <<_ACEOF
2716 This file contains any messages produced by compilers while
2717 running configure, to aid debugging if configure makes a mistake.
2719 It was created by Wine $as_me 1.7.11, which was
2720 generated by GNU Autoconf 2.69. Invocation command line was
2722 $ $0 $@
2724 _ACEOF
2725 exec 5>>config.log
2727 cat <<_ASUNAME
2728 ## --------- ##
2729 ## Platform. ##
2730 ## --------- ##
2732 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2733 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2734 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2735 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2736 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2738 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2739 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2741 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2742 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2743 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2744 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2745 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2746 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2747 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2749 _ASUNAME
2751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2752 for as_dir in $PATH
2754 IFS=$as_save_IFS
2755 test -z "$as_dir" && as_dir=.
2756 $as_echo "PATH: $as_dir"
2757 done
2758 IFS=$as_save_IFS
2760 } >&5
2762 cat >&5 <<_ACEOF
2765 ## ----------- ##
2766 ## Core tests. ##
2767 ## ----------- ##
2769 _ACEOF
2772 # Keep a trace of the command line.
2773 # Strip out --no-create and --no-recursion so they do not pile up.
2774 # Strip out --silent because we don't want to record it for future runs.
2775 # Also quote any args containing shell meta-characters.
2776 # Make two passes to allow for proper duplicate-argument suppression.
2777 ac_configure_args=
2778 ac_configure_args0=
2779 ac_configure_args1=
2780 ac_must_keep_next=false
2781 for ac_pass in 1 2
2783 for ac_arg
2785 case $ac_arg in
2786 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2787 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2788 | -silent | --silent | --silen | --sile | --sil)
2789 continue ;;
2790 *\'*)
2791 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2792 esac
2793 case $ac_pass in
2794 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2796 as_fn_append ac_configure_args1 " '$ac_arg'"
2797 if test $ac_must_keep_next = true; then
2798 ac_must_keep_next=false # Got value, back to normal.
2799 else
2800 case $ac_arg in
2801 *=* | --config-cache | -C | -disable-* | --disable-* \
2802 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2803 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2804 | -with-* | --with-* | -without-* | --without-* | --x)
2805 case "$ac_configure_args0 " in
2806 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2807 esac
2809 -* ) ac_must_keep_next=true ;;
2810 esac
2812 as_fn_append ac_configure_args " '$ac_arg'"
2814 esac
2815 done
2816 done
2817 { ac_configure_args0=; unset ac_configure_args0;}
2818 { ac_configure_args1=; unset ac_configure_args1;}
2820 # When interrupted or exit'd, cleanup temporary files, and complete
2821 # config.log. We remove comments because anyway the quotes in there
2822 # would cause problems or look ugly.
2823 # WARNING: Use '\'' to represent an apostrophe within the trap.
2824 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2825 trap 'exit_status=$?
2826 # Save into config.log some information that might help in debugging.
2828 echo
2830 $as_echo "## ---------------- ##
2831 ## Cache variables. ##
2832 ## ---------------- ##"
2833 echo
2834 # The following way of writing the cache mishandles newlines in values,
2836 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2837 eval ac_val=\$$ac_var
2838 case $ac_val in #(
2839 *${as_nl}*)
2840 case $ac_var in #(
2841 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2842 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2843 esac
2844 case $ac_var in #(
2845 _ | IFS | as_nl) ;; #(
2846 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2847 *) { eval $ac_var=; unset $ac_var;} ;;
2848 esac ;;
2849 esac
2850 done
2851 (set) 2>&1 |
2852 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2853 *${as_nl}ac_space=\ *)
2854 sed -n \
2855 "s/'\''/'\''\\\\'\'''\''/g;
2856 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2857 ;; #(
2859 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2861 esac |
2862 sort
2864 echo
2866 $as_echo "## ----------------- ##
2867 ## Output variables. ##
2868 ## ----------------- ##"
2869 echo
2870 for ac_var in $ac_subst_vars
2872 eval ac_val=\$$ac_var
2873 case $ac_val in
2874 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2875 esac
2876 $as_echo "$ac_var='\''$ac_val'\''"
2877 done | sort
2878 echo
2880 if test -n "$ac_subst_files"; then
2881 $as_echo "## ------------------- ##
2882 ## File substitutions. ##
2883 ## ------------------- ##"
2884 echo
2885 for ac_var in $ac_subst_files
2887 eval ac_val=\$$ac_var
2888 case $ac_val in
2889 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2890 esac
2891 $as_echo "$ac_var='\''$ac_val'\''"
2892 done | sort
2893 echo
2896 if test -s confdefs.h; then
2897 $as_echo "## ----------- ##
2898 ## confdefs.h. ##
2899 ## ----------- ##"
2900 echo
2901 cat confdefs.h
2902 echo
2904 test "$ac_signal" != 0 &&
2905 $as_echo "$as_me: caught signal $ac_signal"
2906 $as_echo "$as_me: exit $exit_status"
2907 } >&5
2908 rm -f core *.core core.conftest.* &&
2909 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2910 exit $exit_status
2912 for ac_signal in 1 2 13 15; do
2913 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2914 done
2915 ac_signal=0
2917 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2918 rm -f -r conftest* confdefs.h
2920 $as_echo "/* confdefs.h */" > confdefs.h
2922 # Predefined preprocessor variables.
2924 cat >>confdefs.h <<_ACEOF
2925 #define PACKAGE_NAME "$PACKAGE_NAME"
2926 _ACEOF
2928 cat >>confdefs.h <<_ACEOF
2929 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2930 _ACEOF
2932 cat >>confdefs.h <<_ACEOF
2933 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2934 _ACEOF
2936 cat >>confdefs.h <<_ACEOF
2937 #define PACKAGE_STRING "$PACKAGE_STRING"
2938 _ACEOF
2940 cat >>confdefs.h <<_ACEOF
2941 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2942 _ACEOF
2944 cat >>confdefs.h <<_ACEOF
2945 #define PACKAGE_URL "$PACKAGE_URL"
2946 _ACEOF
2949 # Let the site file select an alternate cache file if it wants to.
2950 # Prefer an explicitly selected file to automatically selected ones.
2951 ac_site_file1=NONE
2952 ac_site_file2=NONE
2953 if test -n "$CONFIG_SITE"; then
2954 # We do not want a PATH search for config.site.
2955 case $CONFIG_SITE in #((
2956 -*) ac_site_file1=./$CONFIG_SITE;;
2957 */*) ac_site_file1=$CONFIG_SITE;;
2958 *) ac_site_file1=./$CONFIG_SITE;;
2959 esac
2960 elif test "x$prefix" != xNONE; then
2961 ac_site_file1=$prefix/share/config.site
2962 ac_site_file2=$prefix/etc/config.site
2963 else
2964 ac_site_file1=$ac_default_prefix/share/config.site
2965 ac_site_file2=$ac_default_prefix/etc/config.site
2967 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2969 test "x$ac_site_file" = xNONE && continue
2970 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2972 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2973 sed 's/^/| /' "$ac_site_file" >&5
2974 . "$ac_site_file" \
2975 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2976 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2977 as_fn_error $? "failed to load site script $ac_site_file
2978 See \`config.log' for more details" "$LINENO" 5; }
2980 done
2982 if test -r "$cache_file"; then
2983 # Some versions of bash will fail to source /dev/null (special files
2984 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2985 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2986 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2987 $as_echo "$as_me: loading cache $cache_file" >&6;}
2988 case $cache_file in
2989 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2990 *) . "./$cache_file";;
2991 esac
2993 else
2994 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2995 $as_echo "$as_me: creating cache $cache_file" >&6;}
2996 >$cache_file
2999 # Check that the precious variables saved in the cache have kept the same
3000 # value.
3001 ac_cache_corrupted=false
3002 for ac_var in $ac_precious_vars; do
3003 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3004 eval ac_new_set=\$ac_env_${ac_var}_set
3005 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3006 eval ac_new_val=\$ac_env_${ac_var}_value
3007 case $ac_old_set,$ac_new_set in
3008 set,)
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3010 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3011 ac_cache_corrupted=: ;;
3012 ,set)
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3014 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3015 ac_cache_corrupted=: ;;
3016 ,);;
3018 if test "x$ac_old_val" != "x$ac_new_val"; then
3019 # differences in whitespace do not lead to failure.
3020 ac_old_val_w=`echo x $ac_old_val`
3021 ac_new_val_w=`echo x $ac_new_val`
3022 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3024 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3025 ac_cache_corrupted=:
3026 else
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3028 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3029 eval $ac_var=\$ac_old_val
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3032 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3033 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3034 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3035 fi;;
3036 esac
3037 # Pass precious variables to config.status.
3038 if test "$ac_new_set" = set; then
3039 case $ac_new_val in
3040 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3041 *) ac_arg=$ac_var=$ac_new_val ;;
3042 esac
3043 case " $ac_configure_args " in
3044 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3045 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3046 esac
3048 done
3049 if $ac_cache_corrupted; then
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3051 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3053 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3054 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3056 ## -------------------- ##
3057 ## Main body of script. ##
3058 ## -------------------- ##
3060 ac_ext=c
3061 ac_cpp='$CPP $CPPFLAGS'
3062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3068 ac_config_headers="$ac_config_headers include/config.h"
3070 ac_aux_dir=
3071 for ac_dir in tools "$srcdir"/tools; do
3072 if test -f "$ac_dir/install-sh"; then
3073 ac_aux_dir=$ac_dir
3074 ac_install_sh="$ac_aux_dir/install-sh -c"
3075 break
3076 elif test -f "$ac_dir/install.sh"; then
3077 ac_aux_dir=$ac_dir
3078 ac_install_sh="$ac_aux_dir/install.sh -c"
3079 break
3080 elif test -f "$ac_dir/shtool"; then
3081 ac_aux_dir=$ac_dir
3082 ac_install_sh="$ac_aux_dir/shtool install -c"
3083 break
3085 done
3086 if test -z "$ac_aux_dir"; then
3087 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3090 # These three variables are undocumented and unsupported,
3091 # and are intended to be withdrawn in a future Autoconf release.
3092 # They can cause serious problems if a builder's source tree is in a directory
3093 # whose full name contains unusual characters.
3094 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3095 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3096 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3100 libwine_version="1.0"
3104 # Check whether --enable-win16 was given.
3105 if test "${enable_win16+set}" = set; then :
3106 enableval=$enable_win16;
3109 # Check whether --enable-win64 was given.
3110 if test "${enable_win64+set}" = set; then :
3111 enableval=$enable_win64;
3114 # Check whether --enable-tests was given.
3115 if test "${enable_tests+set}" = set; then :
3116 enableval=$enable_tests;
3119 # Check whether --enable-maintainer-mode was given.
3120 if test "${enable_maintainer_mode+set}" = set; then :
3121 enableval=$enable_maintainer_mode;
3126 # Check whether --with-alsa was given.
3127 if test "${with_alsa+set}" = set; then :
3128 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3132 # Check whether --with-capi was given.
3133 if test "${with_capi+set}" = set; then :
3134 withval=$with_capi;
3138 # Check whether --with-cms was given.
3139 if test "${with_cms+set}" = set; then :
3140 withval=$with_cms;
3144 # Check whether --with-coreaudio was given.
3145 if test "${with_coreaudio+set}" = set; then :
3146 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3150 # Check whether --with-cups was given.
3151 if test "${with_cups+set}" = set; then :
3152 withval=$with_cups;
3156 # Check whether --with-curses was given.
3157 if test "${with_curses+set}" = set; then :
3158 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3162 # Check whether --with-dbus was given.
3163 if test "${with_dbus+set}" = set; then :
3164 withval=$with_dbus;
3168 # Check whether --with-fontconfig was given.
3169 if test "${with_fontconfig+set}" = set; then :
3170 withval=$with_fontconfig;
3174 # Check whether --with-freetype was given.
3175 if test "${with_freetype+set}" = set; then :
3176 withval=$with_freetype;
3180 # Check whether --with-gettext was given.
3181 if test "${with_gettext+set}" = set; then :
3182 withval=$with_gettext;
3186 # Check whether --with-gettextpo was given.
3187 if test "${with_gettextpo+set}" = set; then :
3188 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3192 # Check whether --with-gphoto was given.
3193 if test "${with_gphoto+set}" = set; then :
3194 withval=$with_gphoto;
3198 # Check whether --with-glu was given.
3199 if test "${with_glu+set}" = set; then :
3200 withval=$with_glu;
3204 # Check whether --with-gnutls was given.
3205 if test "${with_gnutls+set}" = set; then :
3206 withval=$with_gnutls;
3210 # Check whether --with-gsm was given.
3211 if test "${with_gsm+set}" = set; then :
3212 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3216 # Check whether --with-gstreamer was given.
3217 if test "${with_gstreamer+set}" = set; then :
3218 withval=$with_gstreamer;
3222 # Check whether --with-hal was given.
3223 if test "${with_hal+set}" = set; then :
3224 withval=$with_hal;
3228 # Check whether --with-jpeg was given.
3229 if test "${with_jpeg+set}" = set; then :
3230 withval=$with_jpeg;
3234 # Check whether --with-ldap was given.
3235 if test "${with_ldap+set}" = set; then :
3236 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3240 # Check whether --with-mpg123 was given.
3241 if test "${with_mpg123+set}" = set; then :
3242 withval=$with_mpg123;
3246 # Check whether --with-netapi was given.
3247 if test "${with_netapi+set}" = set; then :
3248 withval=$with_netapi;
3252 # Check whether --with-openal was given.
3253 if test "${with_openal+set}" = set; then :
3254 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3258 # Check whether --with-opencl was given.
3259 if test "${with_opencl+set}" = set; then :
3260 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3264 # Check whether --with-opengl was given.
3265 if test "${with_opengl+set}" = set; then :
3266 withval=$with_opengl;
3270 # Check whether --with-osmesa was given.
3271 if test "${with_osmesa+set}" = set; then :
3272 withval=$with_osmesa;
3276 # Check whether --with-oss was given.
3277 if test "${with_oss+set}" = set; then :
3278 withval=$with_oss;
3282 # Check whether --with-png was given.
3283 if test "${with_png+set}" = set; then :
3284 withval=$with_png;
3288 # Check whether --with-pthread was given.
3289 if test "${with_pthread+set}" = set; then :
3290 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3294 # Check whether --with-sane was given.
3295 if test "${with_sane+set}" = set; then :
3296 withval=$with_sane;
3300 # Check whether --with-tiff was given.
3301 if test "${with_tiff+set}" = set; then :
3302 withval=$with_tiff;
3306 # Check whether --with-v4l was given.
3307 if test "${with_v4l+set}" = set; then :
3308 withval=$with_v4l;
3312 # Check whether --with-xcomposite was given.
3313 if test "${with_xcomposite+set}" = set; then :
3314 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3318 # Check whether --with-xcursor was given.
3319 if test "${with_xcursor+set}" = set; then :
3320 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3324 # Check whether --with-xinerama was given.
3325 if test "${with_xinerama+set}" = set; then :
3326 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3330 # Check whether --with-xinput was given.
3331 if test "${with_xinput+set}" = set; then :
3332 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3336 # Check whether --with-xinput2 was given.
3337 if test "${with_xinput2+set}" = set; then :
3338 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3342 # Check whether --with-xml was given.
3343 if test "${with_xml+set}" = set; then :
3344 withval=$with_xml;
3348 # Check whether --with-xrandr was given.
3349 if test "${with_xrandr+set}" = set; then :
3350 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3354 # Check whether --with-xrender was given.
3355 if test "${with_xrender+set}" = set; then :
3356 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3360 # Check whether --with-xshape was given.
3361 if test "${with_xshape+set}" = set; then :
3362 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3366 # Check whether --with-xshm was given.
3367 if test "${with_xshm+set}" = set; then :
3368 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3372 # Check whether --with-xslt was given.
3373 if test "${with_xslt+set}" = set; then :
3374 withval=$with_xslt;
3378 # Check whether --with-xxf86vm was given.
3379 if test "${with_xxf86vm+set}" = set; then :
3380 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
3384 # Check whether --with-zlib was given.
3385 if test "${with_zlib+set}" = set; then :
3386 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3391 # Check whether --with-wine-tools was given.
3392 if test "${with_wine_tools+set}" = set; then :
3393 withval=$with_wine_tools;
3397 # Check whether --with-wine64 was given.
3398 if test "${with_wine64+set}" = set; then :
3399 withval=$with_wine64;
3403 # Make sure we can run config.sub.
3404 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3405 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3408 $as_echo_n "checking build system type... " >&6; }
3409 if ${ac_cv_build+:} false; then :
3410 $as_echo_n "(cached) " >&6
3411 else
3412 ac_build_alias=$build_alias
3413 test "x$ac_build_alias" = x &&
3414 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3415 test "x$ac_build_alias" = x &&
3416 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3417 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3418 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3422 $as_echo "$ac_cv_build" >&6; }
3423 case $ac_cv_build in
3424 *-*-*) ;;
3425 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3426 esac
3427 build=$ac_cv_build
3428 ac_save_IFS=$IFS; IFS='-'
3429 set x $ac_cv_build
3430 shift
3431 build_cpu=$1
3432 build_vendor=$2
3433 shift; shift
3434 # Remember, the first character of IFS is used to create $*,
3435 # except with old shells:
3436 build_os=$*
3437 IFS=$ac_save_IFS
3438 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3442 $as_echo_n "checking host system type... " >&6; }
3443 if ${ac_cv_host+:} false; then :
3444 $as_echo_n "(cached) " >&6
3445 else
3446 if test "x$host_alias" = x; then
3447 ac_cv_host=$ac_cv_build
3448 else
3449 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3450 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3455 $as_echo "$ac_cv_host" >&6; }
3456 case $ac_cv_host in
3457 *-*-*) ;;
3458 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3459 esac
3460 host=$ac_cv_host
3461 ac_save_IFS=$IFS; IFS='-'
3462 set x $ac_cv_host
3463 shift
3464 host_cpu=$1
3465 host_vendor=$2
3466 shift; shift
3467 # Remember, the first character of IFS is used to create $*,
3468 # except with old shells:
3469 host_os=$*
3470 IFS=$ac_save_IFS
3471 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3475 case "$srcdir" in
3476 .) ;;
3477 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3478 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3479 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3480 fi ;;
3481 esac
3484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3485 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3486 set x ${MAKE-make}
3487 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3488 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3489 $as_echo_n "(cached) " >&6
3490 else
3491 cat >conftest.make <<\_ACEOF
3492 SHELL = /bin/sh
3493 all:
3494 @echo '@@@%%%=$(MAKE)=@@@%%%'
3495 _ACEOF
3496 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3497 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3498 *@@@%%%=?*=@@@%%%*)
3499 eval ac_cv_prog_make_${ac_make}_set=yes;;
3501 eval ac_cv_prog_make_${ac_make}_set=no;;
3502 esac
3503 rm -f conftest.make
3505 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3507 $as_echo "yes" >&6; }
3508 SET_MAKE=
3509 else
3510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3511 $as_echo "no" >&6; }
3512 SET_MAKE="MAKE=${MAKE-make}"
3515 ac_ext=c
3516 ac_cpp='$CPP $CPPFLAGS'
3517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3520 if test -n "$ac_tool_prefix"; then
3521 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3522 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3524 $as_echo_n "checking for $ac_word... " >&6; }
3525 if ${ac_cv_prog_CC+:} false; then :
3526 $as_echo_n "(cached) " >&6
3527 else
3528 if test -n "$CC"; then
3529 ac_cv_prog_CC="$CC" # Let the user override the test.
3530 else
3531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3532 for as_dir in $PATH
3534 IFS=$as_save_IFS
3535 test -z "$as_dir" && as_dir=.
3536 for ac_exec_ext in '' $ac_executable_extensions; do
3537 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3538 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3539 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3540 break 2
3542 done
3543 done
3544 IFS=$as_save_IFS
3548 CC=$ac_cv_prog_CC
3549 if test -n "$CC"; then
3550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3551 $as_echo "$CC" >&6; }
3552 else
3553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3554 $as_echo "no" >&6; }
3559 if test -z "$ac_cv_prog_CC"; then
3560 ac_ct_CC=$CC
3561 # Extract the first word of "gcc", so it can be a program name with args.
3562 set dummy gcc; ac_word=$2
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3564 $as_echo_n "checking for $ac_word... " >&6; }
3565 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3566 $as_echo_n "(cached) " >&6
3567 else
3568 if test -n "$ac_ct_CC"; then
3569 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3570 else
3571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3572 for as_dir in $PATH
3574 IFS=$as_save_IFS
3575 test -z "$as_dir" && as_dir=.
3576 for ac_exec_ext in '' $ac_executable_extensions; do
3577 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3578 ac_cv_prog_ac_ct_CC="gcc"
3579 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3580 break 2
3582 done
3583 done
3584 IFS=$as_save_IFS
3588 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3589 if test -n "$ac_ct_CC"; then
3590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3591 $as_echo "$ac_ct_CC" >&6; }
3592 else
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3594 $as_echo "no" >&6; }
3597 if test "x$ac_ct_CC" = x; then
3598 CC=""
3599 else
3600 case $cross_compiling:$ac_tool_warned in
3601 yes:)
3602 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3603 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3604 ac_tool_warned=yes ;;
3605 esac
3606 CC=$ac_ct_CC
3608 else
3609 CC="$ac_cv_prog_CC"
3612 if test -z "$CC"; then
3613 if test -n "$ac_tool_prefix"; then
3614 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3615 set dummy ${ac_tool_prefix}cc; ac_word=$2
3616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3617 $as_echo_n "checking for $ac_word... " >&6; }
3618 if ${ac_cv_prog_CC+:} false; then :
3619 $as_echo_n "(cached) " >&6
3620 else
3621 if test -n "$CC"; then
3622 ac_cv_prog_CC="$CC" # Let the user override the test.
3623 else
3624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3625 for as_dir in $PATH
3627 IFS=$as_save_IFS
3628 test -z "$as_dir" && as_dir=.
3629 for ac_exec_ext in '' $ac_executable_extensions; do
3630 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3631 ac_cv_prog_CC="${ac_tool_prefix}cc"
3632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3633 break 2
3635 done
3636 done
3637 IFS=$as_save_IFS
3641 CC=$ac_cv_prog_CC
3642 if test -n "$CC"; then
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3644 $as_echo "$CC" >&6; }
3645 else
3646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3647 $as_echo "no" >&6; }
3653 if test -z "$CC"; then
3654 # Extract the first word of "cc", so it can be a program name with args.
3655 set dummy cc; ac_word=$2
3656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3657 $as_echo_n "checking for $ac_word... " >&6; }
3658 if ${ac_cv_prog_CC+:} false; then :
3659 $as_echo_n "(cached) " >&6
3660 else
3661 if test -n "$CC"; then
3662 ac_cv_prog_CC="$CC" # Let the user override the test.
3663 else
3664 ac_prog_rejected=no
3665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3666 for as_dir in $PATH
3668 IFS=$as_save_IFS
3669 test -z "$as_dir" && as_dir=.
3670 for ac_exec_ext in '' $ac_executable_extensions; do
3671 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3672 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3673 ac_prog_rejected=yes
3674 continue
3676 ac_cv_prog_CC="cc"
3677 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3678 break 2
3680 done
3681 done
3682 IFS=$as_save_IFS
3684 if test $ac_prog_rejected = yes; then
3685 # We found a bogon in the path, so make sure we never use it.
3686 set dummy $ac_cv_prog_CC
3687 shift
3688 if test $# != 0; then
3689 # We chose a different compiler from the bogus one.
3690 # However, it has the same basename, so the bogon will be chosen
3691 # first if we set CC to just the basename; use the full file name.
3692 shift
3693 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3698 CC=$ac_cv_prog_CC
3699 if test -n "$CC"; then
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3701 $as_echo "$CC" >&6; }
3702 else
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3704 $as_echo "no" >&6; }
3709 if test -z "$CC"; then
3710 if test -n "$ac_tool_prefix"; then
3711 for ac_prog in cl.exe
3713 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3714 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3716 $as_echo_n "checking for $ac_word... " >&6; }
3717 if ${ac_cv_prog_CC+:} false; then :
3718 $as_echo_n "(cached) " >&6
3719 else
3720 if test -n "$CC"; then
3721 ac_cv_prog_CC="$CC" # Let the user override the test.
3722 else
3723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3724 for as_dir in $PATH
3726 IFS=$as_save_IFS
3727 test -z "$as_dir" && as_dir=.
3728 for ac_exec_ext in '' $ac_executable_extensions; do
3729 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3730 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3731 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3732 break 2
3734 done
3735 done
3736 IFS=$as_save_IFS
3740 CC=$ac_cv_prog_CC
3741 if test -n "$CC"; then
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3743 $as_echo "$CC" >&6; }
3744 else
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3746 $as_echo "no" >&6; }
3750 test -n "$CC" && break
3751 done
3753 if test -z "$CC"; then
3754 ac_ct_CC=$CC
3755 for ac_prog in cl.exe
3757 # Extract the first word of "$ac_prog", so it can be a program name with args.
3758 set dummy $ac_prog; ac_word=$2
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3760 $as_echo_n "checking for $ac_word... " >&6; }
3761 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3762 $as_echo_n "(cached) " >&6
3763 else
3764 if test -n "$ac_ct_CC"; then
3765 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3766 else
3767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3768 for as_dir in $PATH
3770 IFS=$as_save_IFS
3771 test -z "$as_dir" && as_dir=.
3772 for ac_exec_ext in '' $ac_executable_extensions; do
3773 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3774 ac_cv_prog_ac_ct_CC="$ac_prog"
3775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3776 break 2
3778 done
3779 done
3780 IFS=$as_save_IFS
3784 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3785 if test -n "$ac_ct_CC"; then
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3787 $as_echo "$ac_ct_CC" >&6; }
3788 else
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3790 $as_echo "no" >&6; }
3794 test -n "$ac_ct_CC" && break
3795 done
3797 if test "x$ac_ct_CC" = x; then
3798 CC=""
3799 else
3800 case $cross_compiling:$ac_tool_warned in
3801 yes:)
3802 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3803 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3804 ac_tool_warned=yes ;;
3805 esac
3806 CC=$ac_ct_CC
3813 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3814 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3815 as_fn_error $? "no acceptable C compiler found in \$PATH
3816 See \`config.log' for more details" "$LINENO" 5; }
3818 # Provide some information about the compiler.
3819 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3820 set X $ac_compile
3821 ac_compiler=$2
3822 for ac_option in --version -v -V -qversion; do
3823 { { ac_try="$ac_compiler $ac_option >&5"
3824 case "(($ac_try" in
3825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3826 *) ac_try_echo=$ac_try;;
3827 esac
3828 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3829 $as_echo "$ac_try_echo"; } >&5
3830 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3831 ac_status=$?
3832 if test -s conftest.err; then
3833 sed '10a\
3834 ... rest of stderr output deleted ...
3835 10q' conftest.err >conftest.er1
3836 cat conftest.er1 >&5
3838 rm -f conftest.er1 conftest.err
3839 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3840 test $ac_status = 0; }
3841 done
3843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3844 /* end confdefs.h. */
3847 main ()
3851 return 0;
3853 _ACEOF
3854 ac_clean_files_save=$ac_clean_files
3855 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3856 # Try to create an executable without -o first, disregard a.out.
3857 # It will help us diagnose broken compilers, and finding out an intuition
3858 # of exeext.
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3860 $as_echo_n "checking whether the C compiler works... " >&6; }
3861 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3863 # The possible output files:
3864 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3866 ac_rmfiles=
3867 for ac_file in $ac_files
3869 case $ac_file in
3870 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3871 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3872 esac
3873 done
3874 rm -f $ac_rmfiles
3876 if { { ac_try="$ac_link_default"
3877 case "(($ac_try" in
3878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3879 *) ac_try_echo=$ac_try;;
3880 esac
3881 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3882 $as_echo "$ac_try_echo"; } >&5
3883 (eval "$ac_link_default") 2>&5
3884 ac_status=$?
3885 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3886 test $ac_status = 0; }; then :
3887 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3888 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3889 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3890 # so that the user can short-circuit this test for compilers unknown to
3891 # Autoconf.
3892 for ac_file in $ac_files ''
3894 test -f "$ac_file" || continue
3895 case $ac_file in
3896 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3898 [ab].out )
3899 # We found the default executable, but exeext='' is most
3900 # certainly right.
3901 break;;
3902 *.* )
3903 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3904 then :; else
3905 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3907 # We set ac_cv_exeext here because the later test for it is not
3908 # safe: cross compilers may not add the suffix if given an `-o'
3909 # argument, so we may need to know it at that point already.
3910 # Even if this section looks crufty: it has the advantage of
3911 # actually working.
3912 break;;
3914 break;;
3915 esac
3916 done
3917 test "$ac_cv_exeext" = no && ac_cv_exeext=
3919 else
3920 ac_file=''
3922 if test -z "$ac_file"; then :
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3924 $as_echo "no" >&6; }
3925 $as_echo "$as_me: failed program was:" >&5
3926 sed 's/^/| /' conftest.$ac_ext >&5
3928 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3929 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3930 as_fn_error 77 "C compiler cannot create executables
3931 See \`config.log' for more details" "$LINENO" 5; }
3932 else
3933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3934 $as_echo "yes" >&6; }
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3937 $as_echo_n "checking for C compiler default output file name... " >&6; }
3938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3939 $as_echo "$ac_file" >&6; }
3940 ac_exeext=$ac_cv_exeext
3942 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3943 ac_clean_files=$ac_clean_files_save
3944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3945 $as_echo_n "checking for suffix of executables... " >&6; }
3946 if { { ac_try="$ac_link"
3947 case "(($ac_try" in
3948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3949 *) ac_try_echo=$ac_try;;
3950 esac
3951 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3952 $as_echo "$ac_try_echo"; } >&5
3953 (eval "$ac_link") 2>&5
3954 ac_status=$?
3955 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3956 test $ac_status = 0; }; then :
3957 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3958 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3959 # work properly (i.e., refer to `conftest.exe'), while it won't with
3960 # `rm'.
3961 for ac_file in conftest.exe conftest conftest.*; do
3962 test -f "$ac_file" || continue
3963 case $ac_file in
3964 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3965 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3966 break;;
3967 * ) break;;
3968 esac
3969 done
3970 else
3971 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3972 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3973 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3974 See \`config.log' for more details" "$LINENO" 5; }
3976 rm -f conftest conftest$ac_cv_exeext
3977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3978 $as_echo "$ac_cv_exeext" >&6; }
3980 rm -f conftest.$ac_ext
3981 EXEEXT=$ac_cv_exeext
3982 ac_exeext=$EXEEXT
3983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3984 /* end confdefs.h. */
3985 #include <stdio.h>
3987 main ()
3989 FILE *f = fopen ("conftest.out", "w");
3990 return ferror (f) || fclose (f) != 0;
3993 return 0;
3995 _ACEOF
3996 ac_clean_files="$ac_clean_files conftest.out"
3997 # Check that the compiler produces executables we can run. If not, either
3998 # the compiler is broken, or we cross compile.
3999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4000 $as_echo_n "checking whether we are cross compiling... " >&6; }
4001 if test "$cross_compiling" != yes; then
4002 { { ac_try="$ac_link"
4003 case "(($ac_try" in
4004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4005 *) ac_try_echo=$ac_try;;
4006 esac
4007 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4008 $as_echo "$ac_try_echo"; } >&5
4009 (eval "$ac_link") 2>&5
4010 ac_status=$?
4011 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4012 test $ac_status = 0; }
4013 if { ac_try='./conftest$ac_cv_exeext'
4014 { { case "(($ac_try" in
4015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4016 *) ac_try_echo=$ac_try;;
4017 esac
4018 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4019 $as_echo "$ac_try_echo"; } >&5
4020 (eval "$ac_try") 2>&5
4021 ac_status=$?
4022 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4023 test $ac_status = 0; }; }; then
4024 cross_compiling=no
4025 else
4026 if test "$cross_compiling" = maybe; then
4027 cross_compiling=yes
4028 else
4029 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4030 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4031 as_fn_error $? "cannot run C compiled programs.
4032 If you meant to cross compile, use \`--host'.
4033 See \`config.log' for more details" "$LINENO" 5; }
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4038 $as_echo "$cross_compiling" >&6; }
4040 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4041 ac_clean_files=$ac_clean_files_save
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4043 $as_echo_n "checking for suffix of object files... " >&6; }
4044 if ${ac_cv_objext+:} false; then :
4045 $as_echo_n "(cached) " >&6
4046 else
4047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4048 /* end confdefs.h. */
4051 main ()
4055 return 0;
4057 _ACEOF
4058 rm -f conftest.o conftest.obj
4059 if { { ac_try="$ac_compile"
4060 case "(($ac_try" in
4061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4062 *) ac_try_echo=$ac_try;;
4063 esac
4064 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4065 $as_echo "$ac_try_echo"; } >&5
4066 (eval "$ac_compile") 2>&5
4067 ac_status=$?
4068 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4069 test $ac_status = 0; }; then :
4070 for ac_file in conftest.o conftest.obj conftest.*; do
4071 test -f "$ac_file" || continue;
4072 case $ac_file in
4073 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4074 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4075 break;;
4076 esac
4077 done
4078 else
4079 $as_echo "$as_me: failed program was:" >&5
4080 sed 's/^/| /' conftest.$ac_ext >&5
4082 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4083 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4084 as_fn_error $? "cannot compute suffix of object files: cannot compile
4085 See \`config.log' for more details" "$LINENO" 5; }
4087 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4090 $as_echo "$ac_cv_objext" >&6; }
4091 OBJEXT=$ac_cv_objext
4092 ac_objext=$OBJEXT
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4094 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4095 if ${ac_cv_c_compiler_gnu+:} false; then :
4096 $as_echo_n "(cached) " >&6
4097 else
4098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4099 /* end confdefs.h. */
4102 main ()
4104 #ifndef __GNUC__
4105 choke me
4106 #endif
4109 return 0;
4111 _ACEOF
4112 if ac_fn_c_try_compile "$LINENO"; then :
4113 ac_compiler_gnu=yes
4114 else
4115 ac_compiler_gnu=no
4117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4118 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4122 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4123 if test $ac_compiler_gnu = yes; then
4124 GCC=yes
4125 else
4126 GCC=
4128 ac_test_CFLAGS=${CFLAGS+set}
4129 ac_save_CFLAGS=$CFLAGS
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4131 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4132 if ${ac_cv_prog_cc_g+:} false; then :
4133 $as_echo_n "(cached) " >&6
4134 else
4135 ac_save_c_werror_flag=$ac_c_werror_flag
4136 ac_c_werror_flag=yes
4137 ac_cv_prog_cc_g=no
4138 CFLAGS="-g"
4139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4140 /* end confdefs.h. */
4143 main ()
4147 return 0;
4149 _ACEOF
4150 if ac_fn_c_try_compile "$LINENO"; then :
4151 ac_cv_prog_cc_g=yes
4152 else
4153 CFLAGS=""
4154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4155 /* end confdefs.h. */
4158 main ()
4162 return 0;
4164 _ACEOF
4165 if ac_fn_c_try_compile "$LINENO"; then :
4167 else
4168 ac_c_werror_flag=$ac_save_c_werror_flag
4169 CFLAGS="-g"
4170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4171 /* end confdefs.h. */
4174 main ()
4178 return 0;
4180 _ACEOF
4181 if ac_fn_c_try_compile "$LINENO"; then :
4182 ac_cv_prog_cc_g=yes
4184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4189 ac_c_werror_flag=$ac_save_c_werror_flag
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4192 $as_echo "$ac_cv_prog_cc_g" >&6; }
4193 if test "$ac_test_CFLAGS" = set; then
4194 CFLAGS=$ac_save_CFLAGS
4195 elif test $ac_cv_prog_cc_g = yes; then
4196 if test "$GCC" = yes; then
4197 CFLAGS="-g -O2"
4198 else
4199 CFLAGS="-g"
4201 else
4202 if test "$GCC" = yes; then
4203 CFLAGS="-O2"
4204 else
4205 CFLAGS=
4208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4209 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4210 if ${ac_cv_prog_cc_c89+:} false; then :
4211 $as_echo_n "(cached) " >&6
4212 else
4213 ac_cv_prog_cc_c89=no
4214 ac_save_CC=$CC
4215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4216 /* end confdefs.h. */
4217 #include <stdarg.h>
4218 #include <stdio.h>
4219 struct stat;
4220 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4221 struct buf { int x; };
4222 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4223 static char *e (p, i)
4224 char **p;
4225 int i;
4227 return p[i];
4229 static char *f (char * (*g) (char **, int), char **p, ...)
4231 char *s;
4232 va_list v;
4233 va_start (v,p);
4234 s = g (p, va_arg (v,int));
4235 va_end (v);
4236 return s;
4239 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4240 function prototypes and stuff, but not '\xHH' hex character constants.
4241 These don't provoke an error unfortunately, instead are silently treated
4242 as 'x'. The following induces an error, until -std is added to get
4243 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4244 array size at least. It's necessary to write '\x00'==0 to get something
4245 that's true only with -std. */
4246 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4248 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4249 inside strings and character constants. */
4250 #define FOO(x) 'x'
4251 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4253 int test (int i, double x);
4254 struct s1 {int (*f) (int a);};
4255 struct s2 {int (*f) (double a);};
4256 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4257 int argc;
4258 char **argv;
4260 main ()
4262 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4264 return 0;
4266 _ACEOF
4267 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4268 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4270 CC="$ac_save_CC $ac_arg"
4271 if ac_fn_c_try_compile "$LINENO"; then :
4272 ac_cv_prog_cc_c89=$ac_arg
4274 rm -f core conftest.err conftest.$ac_objext
4275 test "x$ac_cv_prog_cc_c89" != "xno" && break
4276 done
4277 rm -f conftest.$ac_ext
4278 CC=$ac_save_CC
4281 # AC_CACHE_VAL
4282 case "x$ac_cv_prog_cc_c89" in
4284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4285 $as_echo "none needed" >&6; } ;;
4286 xno)
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4288 $as_echo "unsupported" >&6; } ;;
4290 CC="$CC $ac_cv_prog_cc_c89"
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4292 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4293 esac
4294 if test "x$ac_cv_prog_cc_c89" != xno; then :
4298 ac_ext=c
4299 ac_cpp='$CPP $CPPFLAGS'
4300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4304 ac_ext=cpp
4305 ac_cpp='$CXXCPP $CPPFLAGS'
4306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4309 if test -z "$CXX"; then
4310 if test -n "$CCC"; then
4311 CXX=$CCC
4312 else
4313 if test -n "$ac_tool_prefix"; then
4314 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4316 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4317 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4319 $as_echo_n "checking for $ac_word... " >&6; }
4320 if ${ac_cv_prog_CXX+:} false; then :
4321 $as_echo_n "(cached) " >&6
4322 else
4323 if test -n "$CXX"; then
4324 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4325 else
4326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4327 for as_dir in $PATH
4329 IFS=$as_save_IFS
4330 test -z "$as_dir" && as_dir=.
4331 for ac_exec_ext in '' $ac_executable_extensions; do
4332 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4333 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4334 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4335 break 2
4337 done
4338 done
4339 IFS=$as_save_IFS
4343 CXX=$ac_cv_prog_CXX
4344 if test -n "$CXX"; then
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4346 $as_echo "$CXX" >&6; }
4347 else
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4349 $as_echo "no" >&6; }
4353 test -n "$CXX" && break
4354 done
4356 if test -z "$CXX"; then
4357 ac_ct_CXX=$CXX
4358 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4360 # Extract the first word of "$ac_prog", so it can be a program name with args.
4361 set dummy $ac_prog; ac_word=$2
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4363 $as_echo_n "checking for $ac_word... " >&6; }
4364 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4365 $as_echo_n "(cached) " >&6
4366 else
4367 if test -n "$ac_ct_CXX"; then
4368 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4369 else
4370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4371 for as_dir in $PATH
4373 IFS=$as_save_IFS
4374 test -z "$as_dir" && as_dir=.
4375 for ac_exec_ext in '' $ac_executable_extensions; do
4376 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4377 ac_cv_prog_ac_ct_CXX="$ac_prog"
4378 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4379 break 2
4381 done
4382 done
4383 IFS=$as_save_IFS
4387 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4388 if test -n "$ac_ct_CXX"; then
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4390 $as_echo "$ac_ct_CXX" >&6; }
4391 else
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4393 $as_echo "no" >&6; }
4397 test -n "$ac_ct_CXX" && break
4398 done
4400 if test "x$ac_ct_CXX" = x; then
4401 CXX="g++"
4402 else
4403 case $cross_compiling:$ac_tool_warned in
4404 yes:)
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4406 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4407 ac_tool_warned=yes ;;
4408 esac
4409 CXX=$ac_ct_CXX
4415 # Provide some information about the compiler.
4416 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4417 set X $ac_compile
4418 ac_compiler=$2
4419 for ac_option in --version -v -V -qversion; do
4420 { { ac_try="$ac_compiler $ac_option >&5"
4421 case "(($ac_try" in
4422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4423 *) ac_try_echo=$ac_try;;
4424 esac
4425 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4426 $as_echo "$ac_try_echo"; } >&5
4427 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4428 ac_status=$?
4429 if test -s conftest.err; then
4430 sed '10a\
4431 ... rest of stderr output deleted ...
4432 10q' conftest.err >conftest.er1
4433 cat conftest.er1 >&5
4435 rm -f conftest.er1 conftest.err
4436 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4437 test $ac_status = 0; }
4438 done
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4441 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4442 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4443 $as_echo_n "(cached) " >&6
4444 else
4445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4446 /* end confdefs.h. */
4449 main ()
4451 #ifndef __GNUC__
4452 choke me
4453 #endif
4456 return 0;
4458 _ACEOF
4459 if ac_fn_cxx_try_compile "$LINENO"; then :
4460 ac_compiler_gnu=yes
4461 else
4462 ac_compiler_gnu=no
4464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4465 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4469 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4470 if test $ac_compiler_gnu = yes; then
4471 GXX=yes
4472 else
4473 GXX=
4475 ac_test_CXXFLAGS=${CXXFLAGS+set}
4476 ac_save_CXXFLAGS=$CXXFLAGS
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4478 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4479 if ${ac_cv_prog_cxx_g+:} false; then :
4480 $as_echo_n "(cached) " >&6
4481 else
4482 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4483 ac_cxx_werror_flag=yes
4484 ac_cv_prog_cxx_g=no
4485 CXXFLAGS="-g"
4486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4487 /* end confdefs.h. */
4490 main ()
4494 return 0;
4496 _ACEOF
4497 if ac_fn_cxx_try_compile "$LINENO"; then :
4498 ac_cv_prog_cxx_g=yes
4499 else
4500 CXXFLAGS=""
4501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4502 /* end confdefs.h. */
4505 main ()
4509 return 0;
4511 _ACEOF
4512 if ac_fn_cxx_try_compile "$LINENO"; then :
4514 else
4515 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4516 CXXFLAGS="-g"
4517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4518 /* end confdefs.h. */
4521 main ()
4525 return 0;
4527 _ACEOF
4528 if ac_fn_cxx_try_compile "$LINENO"; then :
4529 ac_cv_prog_cxx_g=yes
4531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4536 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4539 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4540 if test "$ac_test_CXXFLAGS" = set; then
4541 CXXFLAGS=$ac_save_CXXFLAGS
4542 elif test $ac_cv_prog_cxx_g = yes; then
4543 if test "$GXX" = yes; then
4544 CXXFLAGS="-g -O2"
4545 else
4546 CXXFLAGS="-g"
4548 else
4549 if test "$GXX" = yes; then
4550 CXXFLAGS="-O2"
4551 else
4552 CXXFLAGS=
4555 ac_ext=c
4556 ac_cpp='$CPP $CPPFLAGS'
4557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4561 if test -n "$ac_tool_prefix"; then
4562 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4563 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4565 $as_echo_n "checking for $ac_word... " >&6; }
4566 if ${ac_cv_prog_CPPBIN+:} false; then :
4567 $as_echo_n "(cached) " >&6
4568 else
4569 if test -n "$CPPBIN"; then
4570 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4571 else
4572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4573 for as_dir in $PATH
4575 IFS=$as_save_IFS
4576 test -z "$as_dir" && as_dir=.
4577 for ac_exec_ext in '' $ac_executable_extensions; do
4578 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4579 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4581 break 2
4583 done
4584 done
4585 IFS=$as_save_IFS
4589 CPPBIN=$ac_cv_prog_CPPBIN
4590 if test -n "$CPPBIN"; then
4591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4592 $as_echo "$CPPBIN" >&6; }
4593 else
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4595 $as_echo "no" >&6; }
4600 if test -z "$ac_cv_prog_CPPBIN"; then
4601 ac_ct_CPPBIN=$CPPBIN
4602 # Extract the first word of "cpp", so it can be a program name with args.
4603 set dummy cpp; ac_word=$2
4604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4605 $as_echo_n "checking for $ac_word... " >&6; }
4606 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4607 $as_echo_n "(cached) " >&6
4608 else
4609 if test -n "$ac_ct_CPPBIN"; then
4610 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4611 else
4612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4613 for as_dir in $PATH
4615 IFS=$as_save_IFS
4616 test -z "$as_dir" && as_dir=.
4617 for ac_exec_ext in '' $ac_executable_extensions; do
4618 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4619 ac_cv_prog_ac_ct_CPPBIN="cpp"
4620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4621 break 2
4623 done
4624 done
4625 IFS=$as_save_IFS
4629 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4630 if test -n "$ac_ct_CPPBIN"; then
4631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4632 $as_echo "$ac_ct_CPPBIN" >&6; }
4633 else
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4635 $as_echo "no" >&6; }
4638 if test "x$ac_ct_CPPBIN" = x; then
4639 CPPBIN="cpp"
4640 else
4641 case $cross_compiling:$ac_tool_warned in
4642 yes:)
4643 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4644 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4645 ac_tool_warned=yes ;;
4646 esac
4647 CPPBIN=$ac_ct_CPPBIN
4649 else
4650 CPPBIN="$ac_cv_prog_CPPBIN"
4654 cat >>confdefs.h <<_ACEOF
4655 #define EXEEXT "$ac_exeext"
4656 _ACEOF
4659 case $host in
4660 *-darwin*)
4661 if test "x$enable_win64" = "xyes"
4662 then
4663 CC="$CC -m64"
4664 CXX="$CXX -m64"
4665 host_cpu="x86_64"
4666 notice_platform="64-bit "
4667 TARGETFLAGS="-m64"
4669 else
4670 CC="$CC -m32"
4671 CXX="$CXX -m32"
4672 host_cpu="i386"
4673 notice_platform="32-bit "
4674 TARGETFLAGS="-m32"
4676 enable_win16=${enable_win16:-yes}
4678 with_fontconfig=${with_fontconfig:-no}
4680 x86_64*)
4681 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4682 then
4683 CC="$CC -m32"
4684 CXX="$CXX -m32"
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4686 $as_echo_n "checking whether $CC works... " >&6; }
4688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4689 /* end confdefs.h. */
4692 main ()
4696 return 0;
4698 _ACEOF
4699 if ac_fn_c_try_link "$LINENO"; then :
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4701 $as_echo "yes" >&6; }
4702 else
4703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4704 $as_echo "no" >&6; }
4705 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4707 rm -f core conftest.err conftest.$ac_objext \
4708 conftest$ac_exeext conftest.$ac_ext
4709 host_cpu="i386"
4710 notice_platform="32-bit "
4711 TARGETFLAGS="-m32"
4713 enable_win16=${enable_win16:-yes}
4714 else
4715 if test "x${GCC}" = "xyes"
4716 then
4717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4718 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4720 /* end confdefs.h. */
4721 #include <stdarg.h>
4723 main ()
4725 void func(__builtin_ms_va_list *args);
4727 return 0;
4729 _ACEOF
4730 if ac_fn_c_try_compile "$LINENO"; then :
4731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4732 $as_echo "yes" >&6; }
4733 else
4734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4735 $as_echo "no" >&6; }
4736 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4740 TARGETFLAGS="-m64"
4744 arm*)
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4746 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4748 /* end confdefs.h. */
4749 int ac_test(int i) { return i; }
4751 main ()
4753 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4755 return 0;
4757 _ACEOF
4758 if ac_fn_c_try_link "$LINENO"; then :
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4760 $as_echo "yes" >&6; }
4761 else
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4763 $as_echo "no" >&6; }
4764 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4766 rm -f core conftest.err conftest.$ac_objext \
4767 conftest$ac_exeext conftest.$ac_ext
4768 CFLAGS="$CFLAGS -marm"
4770 *-mingw32*|*-cygwin*)
4771 enable_win16=${enable_win16:-no}
4772 CFLAGS="$CFLAGS -D_WIN32"
4774 i[3456789]86*)
4775 enable_win16=${enable_win16:-yes}
4777 esac
4779 enable_win16=${enable_win16:-no}
4780 enable_win64=${enable_win64:-no}
4782 enable_winetest=${enable_winetest:-$enable_tests}
4784 if test -n "$with_wine64"
4785 then
4786 if test "x$enable_win64" = "xyes"
4787 then
4788 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4789 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4791 enable_fonts=${enable_fonts:-no}
4792 enable_server=${enable_server:-no}
4793 elif test "x$enable_win64" = "xyes"
4794 then
4795 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4799 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4800 if ${wine_cv_toolsdir+:} false; then :
4801 $as_echo_n "(cached) " >&6
4802 else
4803 wine_cv_toolsdir="$with_wine_tools"
4804 if test -z "$with_wine_tools"; then
4805 if test "$cross_compiling" = "yes"; then
4806 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4807 elif test -n "$with_wine64"; then
4808 wine_cv_toolsdir="$with_wine64"
4811 if test -z "$wine_cv_toolsdir"; then
4812 wine_cv_toolsdir="\$(top_builddir)"
4813 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4814 case "$wine_cv_toolsdir" in
4815 /*) ;;
4816 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
4817 esac
4818 enable_tools=${enable_tools:-no}
4819 else
4820 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4824 $as_echo "$wine_cv_toolsdir" >&6; }
4825 TOOLSDIR=$wine_cv_toolsdir
4827 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4828 then
4829 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
4833 for ac_prog in flex
4835 # Extract the first word of "$ac_prog", so it can be a program name with args.
4836 set dummy $ac_prog; ac_word=$2
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4838 $as_echo_n "checking for $ac_word... " >&6; }
4839 if ${ac_cv_prog_FLEX+:} false; then :
4840 $as_echo_n "(cached) " >&6
4841 else
4842 if test -n "$FLEX"; then
4843 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
4844 else
4845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4846 for as_dir in $PATH
4848 IFS=$as_save_IFS
4849 test -z "$as_dir" && as_dir=.
4850 for ac_exec_ext in '' $ac_executable_extensions; do
4851 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4852 ac_cv_prog_FLEX="$ac_prog"
4853 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4854 break 2
4856 done
4857 done
4858 IFS=$as_save_IFS
4862 FLEX=$ac_cv_prog_FLEX
4863 if test -n "$FLEX"; then
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4865 $as_echo "$FLEX" >&6; }
4866 else
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4868 $as_echo "no" >&6; }
4872 test -n "$FLEX" && break
4873 done
4874 test -n "$FLEX" || FLEX="none"
4876 if test "$FLEX" = "none"
4877 then
4878 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4881 $as_echo_n "checking whether flex is recent enough... " >&6; }
4882 cat >conftest.l <<EOF
4883 %top{
4884 #include "prediluvian.h"
4888 if $FLEX -t conftest.l >/dev/null 2>&5
4889 then
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4891 $as_echo "yes" >&6; }
4892 else
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4894 $as_echo "no" >&6; }
4895 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4898 for ac_prog in bison
4900 # Extract the first word of "$ac_prog", so it can be a program name with args.
4901 set dummy $ac_prog; ac_word=$2
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4903 $as_echo_n "checking for $ac_word... " >&6; }
4904 if ${ac_cv_prog_BISON+:} false; then :
4905 $as_echo_n "(cached) " >&6
4906 else
4907 if test -n "$BISON"; then
4908 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4909 else
4910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4911 for as_dir in $PATH
4913 IFS=$as_save_IFS
4914 test -z "$as_dir" && as_dir=.
4915 for ac_exec_ext in '' $ac_executable_extensions; do
4916 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4917 ac_cv_prog_BISON="$ac_prog"
4918 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4919 break 2
4921 done
4922 done
4923 IFS=$as_save_IFS
4927 BISON=$ac_cv_prog_BISON
4928 if test -n "$BISON"; then
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4930 $as_echo "$BISON" >&6; }
4931 else
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4933 $as_echo "no" >&6; }
4937 test -n "$BISON" && break
4938 done
4939 test -n "$BISON" || BISON="none"
4941 if test "$BISON" = "none"
4942 then
4943 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4946 if test -n "$ac_tool_prefix"; then
4947 for ac_prog in ar gar
4949 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4950 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4952 $as_echo_n "checking for $ac_word... " >&6; }
4953 if ${ac_cv_prog_AR+:} false; then :
4954 $as_echo_n "(cached) " >&6
4955 else
4956 if test -n "$AR"; then
4957 ac_cv_prog_AR="$AR" # Let the user override the test.
4958 else
4959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4960 for as_dir in $PATH
4962 IFS=$as_save_IFS
4963 test -z "$as_dir" && as_dir=.
4964 for ac_exec_ext in '' $ac_executable_extensions; do
4965 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4966 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4967 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4968 break 2
4970 done
4971 done
4972 IFS=$as_save_IFS
4976 AR=$ac_cv_prog_AR
4977 if test -n "$AR"; then
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4979 $as_echo "$AR" >&6; }
4980 else
4981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4982 $as_echo "no" >&6; }
4986 test -n "$AR" && break
4987 done
4989 if test -z "$AR"; then
4990 ac_ct_AR=$AR
4991 for ac_prog in ar gar
4993 # Extract the first word of "$ac_prog", so it can be a program name with args.
4994 set dummy $ac_prog; ac_word=$2
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4996 $as_echo_n "checking for $ac_word... " >&6; }
4997 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4998 $as_echo_n "(cached) " >&6
4999 else
5000 if test -n "$ac_ct_AR"; then
5001 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5002 else
5003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5004 for as_dir in $PATH
5006 IFS=$as_save_IFS
5007 test -z "$as_dir" && as_dir=.
5008 for ac_exec_ext in '' $ac_executable_extensions; do
5009 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5010 ac_cv_prog_ac_ct_AR="$ac_prog"
5011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5012 break 2
5014 done
5015 done
5016 IFS=$as_save_IFS
5020 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5021 if test -n "$ac_ct_AR"; then
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5023 $as_echo "$ac_ct_AR" >&6; }
5024 else
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5026 $as_echo "no" >&6; }
5030 test -n "$ac_ct_AR" && break
5031 done
5033 if test "x$ac_ct_AR" = x; then
5034 AR="ar"
5035 else
5036 case $cross_compiling:$ac_tool_warned in
5037 yes:)
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5039 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5040 ac_tool_warned=yes ;;
5041 esac
5042 AR=$ac_ct_AR
5046 if test -n "$ac_tool_prefix"; then
5047 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5048 set dummy ${ac_tool_prefix}strip; ac_word=$2
5049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5050 $as_echo_n "checking for $ac_word... " >&6; }
5051 if ${ac_cv_prog_STRIP+:} false; then :
5052 $as_echo_n "(cached) " >&6
5053 else
5054 if test -n "$STRIP"; then
5055 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5056 else
5057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5058 for as_dir in $PATH
5060 IFS=$as_save_IFS
5061 test -z "$as_dir" && as_dir=.
5062 for ac_exec_ext in '' $ac_executable_extensions; do
5063 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5064 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5065 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5066 break 2
5068 done
5069 done
5070 IFS=$as_save_IFS
5074 STRIP=$ac_cv_prog_STRIP
5075 if test -n "$STRIP"; then
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5077 $as_echo "$STRIP" >&6; }
5078 else
5079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5080 $as_echo "no" >&6; }
5085 if test -z "$ac_cv_prog_STRIP"; then
5086 ac_ct_STRIP=$STRIP
5087 # Extract the first word of "strip", so it can be a program name with args.
5088 set dummy strip; ac_word=$2
5089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5090 $as_echo_n "checking for $ac_word... " >&6; }
5091 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5092 $as_echo_n "(cached) " >&6
5093 else
5094 if test -n "$ac_ct_STRIP"; then
5095 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5096 else
5097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5098 for as_dir in $PATH
5100 IFS=$as_save_IFS
5101 test -z "$as_dir" && as_dir=.
5102 for ac_exec_ext in '' $ac_executable_extensions; do
5103 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5104 ac_cv_prog_ac_ct_STRIP="strip"
5105 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5106 break 2
5108 done
5109 done
5110 IFS=$as_save_IFS
5114 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5115 if test -n "$ac_ct_STRIP"; then
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5117 $as_echo "$ac_ct_STRIP" >&6; }
5118 else
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5120 $as_echo "no" >&6; }
5123 if test "x$ac_ct_STRIP" = x; then
5124 STRIP="strip"
5125 else
5126 case $cross_compiling:$ac_tool_warned in
5127 yes:)
5128 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5129 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5130 ac_tool_warned=yes ;;
5131 esac
5132 STRIP=$ac_ct_STRIP
5134 else
5135 STRIP="$ac_cv_prog_STRIP"
5138 ARFLAGS=rc
5140 if test -n "$ac_tool_prefix"; then
5141 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5142 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5144 $as_echo_n "checking for $ac_word... " >&6; }
5145 if ${ac_cv_prog_RANLIB+:} false; then :
5146 $as_echo_n "(cached) " >&6
5147 else
5148 if test -n "$RANLIB"; then
5149 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5150 else
5151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5152 for as_dir in $PATH
5154 IFS=$as_save_IFS
5155 test -z "$as_dir" && as_dir=.
5156 for ac_exec_ext in '' $ac_executable_extensions; do
5157 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5158 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5159 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5160 break 2
5162 done
5163 done
5164 IFS=$as_save_IFS
5168 RANLIB=$ac_cv_prog_RANLIB
5169 if test -n "$RANLIB"; then
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5171 $as_echo "$RANLIB" >&6; }
5172 else
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5174 $as_echo "no" >&6; }
5179 if test -z "$ac_cv_prog_RANLIB"; then
5180 ac_ct_RANLIB=$RANLIB
5181 # Extract the first word of "ranlib", so it can be a program name with args.
5182 set dummy ranlib; ac_word=$2
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5184 $as_echo_n "checking for $ac_word... " >&6; }
5185 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5186 $as_echo_n "(cached) " >&6
5187 else
5188 if test -n "$ac_ct_RANLIB"; then
5189 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5190 else
5191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5192 for as_dir in $PATH
5194 IFS=$as_save_IFS
5195 test -z "$as_dir" && as_dir=.
5196 for ac_exec_ext in '' $ac_executable_extensions; do
5197 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5198 ac_cv_prog_ac_ct_RANLIB="ranlib"
5199 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5200 break 2
5202 done
5203 done
5204 IFS=$as_save_IFS
5208 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5209 if test -n "$ac_ct_RANLIB"; then
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5211 $as_echo "$ac_ct_RANLIB" >&6; }
5212 else
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5214 $as_echo "no" >&6; }
5217 if test "x$ac_ct_RANLIB" = x; then
5218 RANLIB=":"
5219 else
5220 case $cross_compiling:$ac_tool_warned in
5221 yes:)
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5223 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5224 ac_tool_warned=yes ;;
5225 esac
5226 RANLIB=$ac_ct_RANLIB
5228 else
5229 RANLIB="$ac_cv_prog_RANLIB"
5232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5233 $as_echo_n "checking whether ln -s works... " >&6; }
5234 LN_S=$as_ln_s
5235 if test "$LN_S" = "ln -s"; then
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5237 $as_echo "yes" >&6; }
5238 else
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5240 $as_echo "no, using $LN_S" >&6; }
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5244 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5245 if ${ac_cv_path_GREP+:} false; then :
5246 $as_echo_n "(cached) " >&6
5247 else
5248 if test -z "$GREP"; then
5249 ac_path_GREP_found=false
5250 # Loop through the user's path and test for each of PROGNAME-LIST
5251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5252 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5254 IFS=$as_save_IFS
5255 test -z "$as_dir" && as_dir=.
5256 for ac_prog in grep ggrep; do
5257 for ac_exec_ext in '' $ac_executable_extensions; do
5258 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5259 as_fn_executable_p "$ac_path_GREP" || continue
5260 # Check for GNU ac_path_GREP and select it if it is found.
5261 # Check for GNU $ac_path_GREP
5262 case `"$ac_path_GREP" --version 2>&1` in
5263 *GNU*)
5264 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5266 ac_count=0
5267 $as_echo_n 0123456789 >"conftest.in"
5268 while :
5270 cat "conftest.in" "conftest.in" >"conftest.tmp"
5271 mv "conftest.tmp" "conftest.in"
5272 cp "conftest.in" "conftest.nl"
5273 $as_echo 'GREP' >> "conftest.nl"
5274 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5275 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5276 as_fn_arith $ac_count + 1 && ac_count=$as_val
5277 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5278 # Best one so far, save it but keep looking for a better one
5279 ac_cv_path_GREP="$ac_path_GREP"
5280 ac_path_GREP_max=$ac_count
5282 # 10*(2^10) chars as input seems more than enough
5283 test $ac_count -gt 10 && break
5284 done
5285 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5286 esac
5288 $ac_path_GREP_found && break 3
5289 done
5290 done
5291 done
5292 IFS=$as_save_IFS
5293 if test -z "$ac_cv_path_GREP"; then
5294 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5296 else
5297 ac_cv_path_GREP=$GREP
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5302 $as_echo "$ac_cv_path_GREP" >&6; }
5303 GREP="$ac_cv_path_GREP"
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5307 $as_echo_n "checking for egrep... " >&6; }
5308 if ${ac_cv_path_EGREP+:} false; then :
5309 $as_echo_n "(cached) " >&6
5310 else
5311 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5312 then ac_cv_path_EGREP="$GREP -E"
5313 else
5314 if test -z "$EGREP"; then
5315 ac_path_EGREP_found=false
5316 # Loop through the user's path and test for each of PROGNAME-LIST
5317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5318 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5320 IFS=$as_save_IFS
5321 test -z "$as_dir" && as_dir=.
5322 for ac_prog in egrep; do
5323 for ac_exec_ext in '' $ac_executable_extensions; do
5324 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5325 as_fn_executable_p "$ac_path_EGREP" || continue
5326 # Check for GNU ac_path_EGREP and select it if it is found.
5327 # Check for GNU $ac_path_EGREP
5328 case `"$ac_path_EGREP" --version 2>&1` in
5329 *GNU*)
5330 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5332 ac_count=0
5333 $as_echo_n 0123456789 >"conftest.in"
5334 while :
5336 cat "conftest.in" "conftest.in" >"conftest.tmp"
5337 mv "conftest.tmp" "conftest.in"
5338 cp "conftest.in" "conftest.nl"
5339 $as_echo 'EGREP' >> "conftest.nl"
5340 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5341 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5342 as_fn_arith $ac_count + 1 && ac_count=$as_val
5343 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5344 # Best one so far, save it but keep looking for a better one
5345 ac_cv_path_EGREP="$ac_path_EGREP"
5346 ac_path_EGREP_max=$ac_count
5348 # 10*(2^10) chars as input seems more than enough
5349 test $ac_count -gt 10 && break
5350 done
5351 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5352 esac
5354 $ac_path_EGREP_found && break 3
5355 done
5356 done
5357 done
5358 IFS=$as_save_IFS
5359 if test -z "$ac_cv_path_EGREP"; then
5360 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5362 else
5363 ac_cv_path_EGREP=$EGREP
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5369 $as_echo "$ac_cv_path_EGREP" >&6; }
5370 EGREP="$ac_cv_path_EGREP"
5373 # Extract the first word of "ldconfig", so it can be a program name with args.
5374 set dummy ldconfig; ac_word=$2
5375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5376 $as_echo_n "checking for $ac_word... " >&6; }
5377 if ${ac_cv_path_LDCONFIG+:} false; then :
5378 $as_echo_n "(cached) " >&6
5379 else
5380 case $LDCONFIG in
5381 [\\/]* | ?:[\\/]*)
5382 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5386 for as_dir in /sbin /usr/sbin $PATH
5388 IFS=$as_save_IFS
5389 test -z "$as_dir" && as_dir=.
5390 for ac_exec_ext in '' $ac_executable_extensions; do
5391 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5392 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5393 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5394 break 2
5396 done
5397 done
5398 IFS=$as_save_IFS
5400 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5402 esac
5404 LDCONFIG=$ac_cv_path_LDCONFIG
5405 if test -n "$LDCONFIG"; then
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5407 $as_echo "$LDCONFIG" >&6; }
5408 else
5409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5410 $as_echo "no" >&6; }
5414 for ac_prog in msgfmt
5416 # Extract the first word of "$ac_prog", so it can be a program name with args.
5417 set dummy $ac_prog; ac_word=$2
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5419 $as_echo_n "checking for $ac_word... " >&6; }
5420 if ${ac_cv_prog_MSGFMT+:} false; then :
5421 $as_echo_n "(cached) " >&6
5422 else
5423 if test -n "$MSGFMT"; then
5424 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5425 else
5426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5427 for as_dir in $PATH
5429 IFS=$as_save_IFS
5430 test -z "$as_dir" && as_dir=.
5431 for ac_exec_ext in '' $ac_executable_extensions; do
5432 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5433 ac_cv_prog_MSGFMT="$ac_prog"
5434 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5435 break 2
5437 done
5438 done
5439 IFS=$as_save_IFS
5443 MSGFMT=$ac_cv_prog_MSGFMT
5444 if test -n "$MSGFMT"; then
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5446 $as_echo "$MSGFMT" >&6; }
5447 else
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5449 $as_echo "no" >&6; }
5453 test -n "$MSGFMT" && break
5454 done
5455 test -n "$MSGFMT" || MSGFMT="false"
5457 if ${ac_tool_prefix+:} false; then :
5458 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5459 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5461 $as_echo_n "checking for $ac_word... " >&6; }
5462 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5463 $as_echo_n "(cached) " >&6
5464 else
5465 if test -n "$PKG_CONFIG"; then
5466 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5467 else
5468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5469 for as_dir in $PATH
5471 IFS=$as_save_IFS
5472 test -z "$as_dir" && as_dir=.
5473 for ac_exec_ext in '' $ac_executable_extensions; do
5474 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5475 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5476 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5477 break 2
5479 done
5480 done
5481 IFS=$as_save_IFS
5485 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5486 if test -n "$PKG_CONFIG"; then
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5488 $as_echo "$PKG_CONFIG" >&6; }
5489 else
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5491 $as_echo "no" >&6; }
5496 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5497 if test "x$cross_compiling" = xyes; then :
5499 else
5500 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5501 # Extract the first word of "pkg-config", so it can be a program name with args.
5502 set dummy pkg-config; ac_word=$2
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5504 $as_echo_n "checking for $ac_word... " >&6; }
5505 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5506 $as_echo_n "(cached) " >&6
5507 else
5508 if test -n "$PKG_CONFIG"; then
5509 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5510 else
5511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5512 for as_dir in $PATH
5514 IFS=$as_save_IFS
5515 test -z "$as_dir" && as_dir=.
5516 for ac_exec_ext in '' $ac_executable_extensions; do
5517 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5518 ac_cv_prog_PKG_CONFIG="pkg-config"
5519 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5520 break 2
5522 done
5523 done
5524 IFS=$as_save_IFS
5528 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5529 if test -n "$PKG_CONFIG"; then
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5531 $as_echo "$PKG_CONFIG" >&6; }
5532 else
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5534 $as_echo "no" >&6; }
5539 else
5540 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5543 if test "x$enable_maintainer_mode" != "xyes"
5544 then
5545 FONTFORGE=""
5546 RSVG=""
5547 CONVERT=""
5548 ICOTOOL=""
5549 else
5550 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5551 for ac_prog in fontforge
5553 # Extract the first word of "$ac_prog", so it can be a program name with args.
5554 set dummy $ac_prog; ac_word=$2
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5556 $as_echo_n "checking for $ac_word... " >&6; }
5557 if ${ac_cv_prog_FONTFORGE+:} false; then :
5558 $as_echo_n "(cached) " >&6
5559 else
5560 if test -n "$FONTFORGE"; then
5561 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5562 else
5563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5564 for as_dir in $PATH
5566 IFS=$as_save_IFS
5567 test -z "$as_dir" && as_dir=.
5568 for ac_exec_ext in '' $ac_executable_extensions; do
5569 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5570 ac_cv_prog_FONTFORGE="$ac_prog"
5571 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5572 break 2
5574 done
5575 done
5576 IFS=$as_save_IFS
5580 FONTFORGE=$ac_cv_prog_FONTFORGE
5581 if test -n "$FONTFORGE"; then
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5583 $as_echo "$FONTFORGE" >&6; }
5584 else
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5586 $as_echo "no" >&6; }
5590 test -n "$FONTFORGE" && break
5591 done
5592 test -n "$FONTFORGE" || FONTFORGE="false"
5594 for ac_prog in rsvg
5596 # Extract the first word of "$ac_prog", so it can be a program name with args.
5597 set dummy $ac_prog; ac_word=$2
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5599 $as_echo_n "checking for $ac_word... " >&6; }
5600 if ${ac_cv_prog_RSVG+:} false; then :
5601 $as_echo_n "(cached) " >&6
5602 else
5603 if test -n "$RSVG"; then
5604 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5605 else
5606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5607 for as_dir in $PATH
5609 IFS=$as_save_IFS
5610 test -z "$as_dir" && as_dir=.
5611 for ac_exec_ext in '' $ac_executable_extensions; do
5612 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5613 ac_cv_prog_RSVG="$ac_prog"
5614 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5615 break 2
5617 done
5618 done
5619 IFS=$as_save_IFS
5623 RSVG=$ac_cv_prog_RSVG
5624 if test -n "$RSVG"; then
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5626 $as_echo "$RSVG" >&6; }
5627 else
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5629 $as_echo "no" >&6; }
5633 test -n "$RSVG" && break
5634 done
5635 test -n "$RSVG" || RSVG="false"
5637 for ac_prog in convert
5639 # Extract the first word of "$ac_prog", so it can be a program name with args.
5640 set dummy $ac_prog; ac_word=$2
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5642 $as_echo_n "checking for $ac_word... " >&6; }
5643 if ${ac_cv_prog_CONVERT+:} false; then :
5644 $as_echo_n "(cached) " >&6
5645 else
5646 if test -n "$CONVERT"; then
5647 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5648 else
5649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5650 for as_dir in $PATH
5652 IFS=$as_save_IFS
5653 test -z "$as_dir" && as_dir=.
5654 for ac_exec_ext in '' $ac_executable_extensions; do
5655 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5656 ac_cv_prog_CONVERT="$ac_prog"
5657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5658 break 2
5660 done
5661 done
5662 IFS=$as_save_IFS
5666 CONVERT=$ac_cv_prog_CONVERT
5667 if test -n "$CONVERT"; then
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5669 $as_echo "$CONVERT" >&6; }
5670 else
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5672 $as_echo "no" >&6; }
5676 test -n "$CONVERT" && break
5677 done
5678 test -n "$CONVERT" || CONVERT="false"
5680 for ac_prog in icotool
5682 # Extract the first word of "$ac_prog", so it can be a program name with args.
5683 set dummy $ac_prog; ac_word=$2
5684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5685 $as_echo_n "checking for $ac_word... " >&6; }
5686 if ${ac_cv_prog_ICOTOOL+:} false; then :
5687 $as_echo_n "(cached) " >&6
5688 else
5689 if test -n "$ICOTOOL"; then
5690 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5691 else
5692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5693 for as_dir in $PATH
5695 IFS=$as_save_IFS
5696 test -z "$as_dir" && as_dir=.
5697 for ac_exec_ext in '' $ac_executable_extensions; do
5698 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5699 ac_cv_prog_ICOTOOL="$ac_prog"
5700 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5701 break 2
5703 done
5704 done
5705 IFS=$as_save_IFS
5709 ICOTOOL=$ac_cv_prog_ICOTOOL
5710 if test -n "$ICOTOOL"; then
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5712 $as_echo "$ICOTOOL" >&6; }
5713 else
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5715 $as_echo "no" >&6; }
5719 test -n "$ICOTOOL" && break
5720 done
5721 test -n "$ICOTOOL" || ICOTOOL="false"
5723 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5724 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5726 if test "$CONVERT" = false
5727 then
5728 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5729 else
5730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5731 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5732 convert_version=`convert --version | head -n1`
5733 if test "x$convert_version" != "x"
5734 then
5735 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5736 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5737 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5738 then
5739 CONVERT=false
5742 if test "$CONVERT" = false
5743 then
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5745 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5746 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5747 else
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5749 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5753 if test "$ICOTOOL" = false
5754 then
5755 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5756 else
5757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5758 $as_echo_n "checking for recent enough icotool... " >&6; }
5759 icotool_version=`icotool --version | head -n1`
5760 if test "x$icotool_version" != "x"
5761 then
5762 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5763 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5764 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5765 then
5766 ICOTOOL=false
5767 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5770 if test "$ICOTOOL" = false
5771 then
5772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5773 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5774 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5775 else
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5777 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5781 with_gettext=yes
5782 with_gettextpo=yes
5783 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5786 test "x$with_gettext" != xno || MSGFMT=false
5787 if test "$MSGFMT" != "false"
5788 then
5789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5790 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5791 cat >conftest.po <<EOF
5792 # comment
5793 msgctxt "ctxt"
5794 msgid "id"
5795 msgstr "str"
5797 if $MSGFMT -o /dev/null conftest.po 2>&5
5798 then
5799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5800 $as_echo "yes" >&6; }
5801 else
5802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5803 $as_echo "no" >&6; }
5804 MSGFMT=false
5807 if test "$MSGFMT" = false; then :
5808 case "x$with_gettext" in
5809 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
5810 xno) ;;
5811 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
5812 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5813 esac
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5818 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5819 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
5820 $as_echo_n "(cached) " >&6
5821 else
5822 ac_check_lib_save_LIBS=$LIBS
5823 LIBS="-li386 $LIBS"
5824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5825 /* end confdefs.h. */
5827 /* Override any GCC internal prototype to avoid an error.
5828 Use char because int might match the return type of a GCC
5829 builtin and then its argument prototype would still apply. */
5830 #ifdef __cplusplus
5831 extern "C"
5832 #endif
5833 char i386_set_ldt ();
5835 main ()
5837 return i386_set_ldt ();
5839 return 0;
5841 _ACEOF
5842 if ac_fn_c_try_link "$LINENO"; then :
5843 ac_cv_lib_i386_i386_set_ldt=yes
5844 else
5845 ac_cv_lib_i386_i386_set_ldt=no
5847 rm -f core conftest.err conftest.$ac_objext \
5848 conftest$ac_exeext conftest.$ac_ext
5849 LIBS=$ac_check_lib_save_LIBS
5851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5852 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5853 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
5854 cat >>confdefs.h <<_ACEOF
5855 #define HAVE_LIBI386 1
5856 _ACEOF
5858 LIBS="-li386 $LIBS"
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5863 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5864 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
5865 $as_echo_n "(cached) " >&6
5866 else
5867 ac_check_lib_save_LIBS=$LIBS
5868 LIBS="-lossaudio $LIBS"
5869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5870 /* end confdefs.h. */
5872 /* Override any GCC internal prototype to avoid an error.
5873 Use char because int might match the return type of a GCC
5874 builtin and then its argument prototype would still apply. */
5875 #ifdef __cplusplus
5876 extern "C"
5877 #endif
5878 char _oss_ioctl ();
5880 main ()
5882 return _oss_ioctl ();
5884 return 0;
5886 _ACEOF
5887 if ac_fn_c_try_link "$LINENO"; then :
5888 ac_cv_lib_ossaudio__oss_ioctl=yes
5889 else
5890 ac_cv_lib_ossaudio__oss_ioctl=no
5892 rm -f core conftest.err conftest.$ac_objext \
5893 conftest$ac_exeext conftest.$ac_ext
5894 LIBS=$ac_check_lib_save_LIBS
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5897 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5898 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
5899 cat >>confdefs.h <<_ACEOF
5900 #define HAVE_LIBOSSAUDIO 1
5901 _ACEOF
5903 LIBS="-lossaudio $LIBS"
5908 OPENGL_LIBS=""
5912 # Check whether --enable-largefile was given.
5913 if test "${enable_largefile+set}" = set; then :
5914 enableval=$enable_largefile;
5917 if test "$enable_largefile" != no; then
5919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5920 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5921 if ${ac_cv_sys_largefile_CC+:} false; then :
5922 $as_echo_n "(cached) " >&6
5923 else
5924 ac_cv_sys_largefile_CC=no
5925 if test "$GCC" != yes; then
5926 ac_save_CC=$CC
5927 while :; do
5928 # IRIX 6.2 and later do not support large files by default,
5929 # so use the C compiler's -n32 option if that helps.
5930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5931 /* end confdefs.h. */
5932 #include <sys/types.h>
5933 /* Check that off_t can represent 2**63 - 1 correctly.
5934 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5935 since some C++ compilers masquerading as C compilers
5936 incorrectly reject 9223372036854775807. */
5937 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5938 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5939 && LARGE_OFF_T % 2147483647 == 1)
5940 ? 1 : -1];
5942 main ()
5946 return 0;
5948 _ACEOF
5949 if ac_fn_c_try_compile "$LINENO"; then :
5950 break
5952 rm -f core conftest.err conftest.$ac_objext
5953 CC="$CC -n32"
5954 if ac_fn_c_try_compile "$LINENO"; then :
5955 ac_cv_sys_largefile_CC=' -n32'; break
5957 rm -f core conftest.err conftest.$ac_objext
5958 break
5959 done
5960 CC=$ac_save_CC
5961 rm -f conftest.$ac_ext
5964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5965 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5966 if test "$ac_cv_sys_largefile_CC" != no; then
5967 CC=$CC$ac_cv_sys_largefile_CC
5970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5971 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5972 if ${ac_cv_sys_file_offset_bits+:} false; then :
5973 $as_echo_n "(cached) " >&6
5974 else
5975 while :; do
5976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5977 /* end confdefs.h. */
5978 #include <sys/types.h>
5979 /* Check that off_t can represent 2**63 - 1 correctly.
5980 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5981 since some C++ compilers masquerading as C compilers
5982 incorrectly reject 9223372036854775807. */
5983 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5984 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5985 && LARGE_OFF_T % 2147483647 == 1)
5986 ? 1 : -1];
5988 main ()
5992 return 0;
5994 _ACEOF
5995 if ac_fn_c_try_compile "$LINENO"; then :
5996 ac_cv_sys_file_offset_bits=no; break
5998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6000 /* end confdefs.h. */
6001 #define _FILE_OFFSET_BITS 64
6002 #include <sys/types.h>
6003 /* Check that off_t can represent 2**63 - 1 correctly.
6004 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6005 since some C++ compilers masquerading as C compilers
6006 incorrectly reject 9223372036854775807. */
6007 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6008 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6009 && LARGE_OFF_T % 2147483647 == 1)
6010 ? 1 : -1];
6012 main ()
6016 return 0;
6018 _ACEOF
6019 if ac_fn_c_try_compile "$LINENO"; then :
6020 ac_cv_sys_file_offset_bits=64; break
6022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6023 ac_cv_sys_file_offset_bits=unknown
6024 break
6025 done
6027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6028 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6029 case $ac_cv_sys_file_offset_bits in #(
6030 no | unknown) ;;
6032 cat >>confdefs.h <<_ACEOF
6033 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6034 _ACEOF
6036 esac
6037 rm -rf conftest*
6038 if test $ac_cv_sys_file_offset_bits = unknown; then
6039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6040 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6041 if ${ac_cv_sys_large_files+:} false; then :
6042 $as_echo_n "(cached) " >&6
6043 else
6044 while :; do
6045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6046 /* end confdefs.h. */
6047 #include <sys/types.h>
6048 /* Check that off_t can represent 2**63 - 1 correctly.
6049 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6050 since some C++ compilers masquerading as C compilers
6051 incorrectly reject 9223372036854775807. */
6052 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6053 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6054 && LARGE_OFF_T % 2147483647 == 1)
6055 ? 1 : -1];
6057 main ()
6061 return 0;
6063 _ACEOF
6064 if ac_fn_c_try_compile "$LINENO"; then :
6065 ac_cv_sys_large_files=no; break
6067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6069 /* end confdefs.h. */
6070 #define _LARGE_FILES 1
6071 #include <sys/types.h>
6072 /* Check that off_t can represent 2**63 - 1 correctly.
6073 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6074 since some C++ compilers masquerading as C compilers
6075 incorrectly reject 9223372036854775807. */
6076 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6077 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6078 && LARGE_OFF_T % 2147483647 == 1)
6079 ? 1 : -1];
6081 main ()
6085 return 0;
6087 _ACEOF
6088 if ac_fn_c_try_compile "$LINENO"; then :
6089 ac_cv_sys_large_files=1; break
6091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6092 ac_cv_sys_large_files=unknown
6093 break
6094 done
6096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6097 $as_echo "$ac_cv_sys_large_files" >&6; }
6098 case $ac_cv_sys_large_files in #(
6099 no | unknown) ;;
6101 cat >>confdefs.h <<_ACEOF
6102 #define _LARGE_FILES $ac_cv_sys_large_files
6103 _ACEOF
6105 esac
6106 rm -rf conftest*
6113 ac_ext=c
6114 ac_cpp='$CPP $CPPFLAGS'
6115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6119 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6120 # On Suns, sometimes $CPP names a directory.
6121 if test -n "$CPP" && test -d "$CPP"; then
6122 CPP=
6124 if test -z "$CPP"; then
6125 if ${ac_cv_prog_CPP+:} false; then :
6126 $as_echo_n "(cached) " >&6
6127 else
6128 # Double quotes because CPP needs to be expanded
6129 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6131 ac_preproc_ok=false
6132 for ac_c_preproc_warn_flag in '' yes
6134 # Use a header file that comes with gcc, so configuring glibc
6135 # with a fresh cross-compiler works.
6136 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6137 # <limits.h> exists even on freestanding compilers.
6138 # On the NeXT, cc -E runs the code through the compiler's parser,
6139 # not just through cpp. "Syntax error" is here to catch this case.
6140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6141 /* end confdefs.h. */
6142 #ifdef __STDC__
6143 # include <limits.h>
6144 #else
6145 # include <assert.h>
6146 #endif
6147 Syntax error
6148 _ACEOF
6149 if ac_fn_c_try_cpp "$LINENO"; then :
6151 else
6152 # Broken: fails on valid input.
6153 continue
6155 rm -f conftest.err conftest.i conftest.$ac_ext
6157 # OK, works on sane cases. Now check whether nonexistent headers
6158 # can be detected and how.
6159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6160 /* end confdefs.h. */
6161 #include <ac_nonexistent.h>
6162 _ACEOF
6163 if ac_fn_c_try_cpp "$LINENO"; then :
6164 # Broken: success on invalid input.
6165 continue
6166 else
6167 # Passes both tests.
6168 ac_preproc_ok=:
6169 break
6171 rm -f conftest.err conftest.i conftest.$ac_ext
6173 done
6174 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6175 rm -f conftest.i conftest.err conftest.$ac_ext
6176 if $ac_preproc_ok; then :
6177 break
6180 done
6181 ac_cv_prog_CPP=$CPP
6184 CPP=$ac_cv_prog_CPP
6185 else
6186 ac_cv_prog_CPP=$CPP
6188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6189 $as_echo "$CPP" >&6; }
6190 ac_preproc_ok=false
6191 for ac_c_preproc_warn_flag in '' yes
6193 # Use a header file that comes with gcc, so configuring glibc
6194 # with a fresh cross-compiler works.
6195 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6196 # <limits.h> exists even on freestanding compilers.
6197 # On the NeXT, cc -E runs the code through the compiler's parser,
6198 # not just through cpp. "Syntax error" is here to catch this case.
6199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6200 /* end confdefs.h. */
6201 #ifdef __STDC__
6202 # include <limits.h>
6203 #else
6204 # include <assert.h>
6205 #endif
6206 Syntax error
6207 _ACEOF
6208 if ac_fn_c_try_cpp "$LINENO"; then :
6210 else
6211 # Broken: fails on valid input.
6212 continue
6214 rm -f conftest.err conftest.i conftest.$ac_ext
6216 # OK, works on sane cases. Now check whether nonexistent headers
6217 # can be detected and how.
6218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6219 /* end confdefs.h. */
6220 #include <ac_nonexistent.h>
6221 _ACEOF
6222 if ac_fn_c_try_cpp "$LINENO"; then :
6223 # Broken: success on invalid input.
6224 continue
6225 else
6226 # Passes both tests.
6227 ac_preproc_ok=:
6228 break
6230 rm -f conftest.err conftest.i conftest.$ac_ext
6232 done
6233 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6234 rm -f conftest.i conftest.err conftest.$ac_ext
6235 if $ac_preproc_ok; then :
6237 else
6238 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6239 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6240 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6241 See \`config.log' for more details" "$LINENO" 5; }
6244 ac_ext=c
6245 ac_cpp='$CPP $CPPFLAGS'
6246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6252 $as_echo_n "checking for ANSI C header files... " >&6; }
6253 if ${ac_cv_header_stdc+:} false; then :
6254 $as_echo_n "(cached) " >&6
6255 else
6256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6257 /* end confdefs.h. */
6258 #include <stdlib.h>
6259 #include <stdarg.h>
6260 #include <string.h>
6261 #include <float.h>
6264 main ()
6268 return 0;
6270 _ACEOF
6271 if ac_fn_c_try_compile "$LINENO"; then :
6272 ac_cv_header_stdc=yes
6273 else
6274 ac_cv_header_stdc=no
6276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6278 if test $ac_cv_header_stdc = yes; then
6279 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6281 /* end confdefs.h. */
6282 #include <string.h>
6284 _ACEOF
6285 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6286 $EGREP "memchr" >/dev/null 2>&1; then :
6288 else
6289 ac_cv_header_stdc=no
6291 rm -f conftest*
6295 if test $ac_cv_header_stdc = yes; then
6296 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6298 /* end confdefs.h. */
6299 #include <stdlib.h>
6301 _ACEOF
6302 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6303 $EGREP "free" >/dev/null 2>&1; then :
6305 else
6306 ac_cv_header_stdc=no
6308 rm -f conftest*
6312 if test $ac_cv_header_stdc = yes; then
6313 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6314 if test "$cross_compiling" = yes; then :
6316 else
6317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6318 /* end confdefs.h. */
6319 #include <ctype.h>
6320 #include <stdlib.h>
6321 #if ((' ' & 0x0FF) == 0x020)
6322 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6323 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6324 #else
6325 # define ISLOWER(c) \
6326 (('a' <= (c) && (c) <= 'i') \
6327 || ('j' <= (c) && (c) <= 'r') \
6328 || ('s' <= (c) && (c) <= 'z'))
6329 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6330 #endif
6332 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6334 main ()
6336 int i;
6337 for (i = 0; i < 256; i++)
6338 if (XOR (islower (i), ISLOWER (i))
6339 || toupper (i) != TOUPPER (i))
6340 return 2;
6341 return 0;
6343 _ACEOF
6344 if ac_fn_c_try_run "$LINENO"; then :
6346 else
6347 ac_cv_header_stdc=no
6349 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6350 conftest.$ac_objext conftest.beam conftest.$ac_ext
6355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6356 $as_echo "$ac_cv_header_stdc" >&6; }
6357 if test $ac_cv_header_stdc = yes; then
6359 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6363 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6364 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6365 inttypes.h stdint.h unistd.h
6366 do :
6367 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6368 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6370 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6371 cat >>confdefs.h <<_ACEOF
6372 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6373 _ACEOF
6377 done
6380 for ac_header in \
6381 AL/al.h \
6382 ApplicationServices/ApplicationServices.h \
6383 AudioToolbox/AudioConverter.h \
6384 AudioUnit/AudioUnit.h \
6385 AudioUnit/AudioComponent.h \
6386 CL/cl.h \
6387 Carbon/Carbon.h \
6388 CoreAudio/CoreAudio.h \
6389 CoreServices/CoreServices.h \
6390 DiskArbitration/DiskArbitration.h \
6391 IOKit/IOKitLib.h \
6392 IOKit/hid/IOHIDLib.h \
6393 OpenAL/al.h \
6394 OpenCL/opencl.h \
6395 QuickTime/ImageCompression.h \
6396 Security/Security.h \
6397 alias.h \
6398 alsa/asoundlib.h \
6399 arpa/inet.h \
6400 arpa/nameser.h \
6401 asm/types.h \
6402 asm/user.h \
6403 curses.h \
6404 direct.h \
6405 dirent.h \
6406 dlfcn.h \
6407 elf.h \
6408 float.h \
6409 fnmatch.h \
6410 getopt.h \
6411 gettext-po.h \
6412 grp.h \
6413 gsm.h \
6414 gsm/gsm.h \
6415 ieeefp.h \
6416 inet/mib2.h \
6417 io.h \
6418 kstat.h \
6419 lber.h \
6420 ldap.h \
6421 libproc.h \
6422 link.h \
6423 linux/cdrom.h \
6424 linux/compiler.h \
6425 linux/filter.h \
6426 linux/hdreg.h \
6427 linux/input.h \
6428 linux/ioctl.h \
6429 linux/joystick.h \
6430 linux/major.h \
6431 linux/param.h \
6432 linux/serial.h \
6433 linux/types.h \
6434 linux/ucdrom.h \
6435 lwp.h \
6436 mach-o/nlist.h \
6437 mach-o/loader.h \
6438 mach/mach.h \
6439 mach/machine.h \
6440 machine/cpu.h \
6441 machine/limits.h \
6442 machine/sysarch.h \
6443 mntent.h \
6444 ncurses.h \
6445 netdb.h \
6446 netinet/in.h \
6447 netinet/in_systm.h \
6448 netinet/tcp.h \
6449 netinet/tcp_fsm.h \
6450 poll.h \
6451 port.h \
6452 process.h \
6453 pthread.h \
6454 pwd.h \
6455 sched.h \
6456 scsi/scsi.h \
6457 scsi/scsi_ioctl.h \
6458 scsi/sg.h \
6459 stdbool.h \
6460 stdint.h \
6461 stropts.h \
6462 sys/asoundlib.h \
6463 sys/attr.h \
6464 sys/cdio.h \
6465 sys/elf32.h \
6466 sys/epoll.h \
6467 sys/event.h \
6468 sys/exec_elf.h \
6469 sys/filio.h \
6470 sys/inotify.h \
6471 sys/ioctl.h \
6472 sys/ipc.h \
6473 sys/limits.h \
6474 sys/link.h \
6475 sys/mman.h \
6476 sys/modem.h \
6477 sys/msg.h \
6478 sys/mtio.h \
6479 sys/param.h \
6480 sys/poll.h \
6481 sys/prctl.h \
6482 sys/protosw.h \
6483 sys/ptrace.h \
6484 sys/queue.h \
6485 sys/resource.h \
6486 sys/scsiio.h \
6487 sys/shm.h \
6488 sys/signal.h \
6489 sys/socket.h \
6490 sys/socketvar.h \
6491 sys/sockio.h \
6492 sys/statvfs.h \
6493 sys/strtio.h \
6494 sys/syscall.h \
6495 sys/tihdr.h \
6496 sys/time.h \
6497 sys/timeout.h \
6498 sys/times.h \
6499 sys/uio.h \
6500 sys/user.h \
6501 sys/utsname.h \
6502 sys/vm86.h \
6503 sys/wait.h \
6504 syscall.h \
6505 termios.h \
6506 unistd.h \
6507 utime.h \
6508 valgrind/memcheck.h \
6509 valgrind/valgrind.h \
6510 zlib.h
6512 do :
6513 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6514 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6515 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6516 cat >>confdefs.h <<_ACEOF
6517 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6518 _ACEOF
6522 done
6524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6525 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6526 if ${ac_cv_header_stat_broken+:} false; then :
6527 $as_echo_n "(cached) " >&6
6528 else
6529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6530 /* end confdefs.h. */
6531 #include <sys/types.h>
6532 #include <sys/stat.h>
6534 #if defined S_ISBLK && defined S_IFDIR
6535 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6536 #endif
6538 #if defined S_ISBLK && defined S_IFCHR
6539 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6540 #endif
6542 #if defined S_ISLNK && defined S_IFREG
6543 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6544 #endif
6546 #if defined S_ISSOCK && defined S_IFREG
6547 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6548 #endif
6550 _ACEOF
6551 if ac_fn_c_try_compile "$LINENO"; then :
6552 ac_cv_header_stat_broken=no
6553 else
6554 ac_cv_header_stat_broken=yes
6556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6559 $as_echo "$ac_cv_header_stat_broken" >&6; }
6560 if test $ac_cv_header_stat_broken = yes; then
6562 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6568 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6569 do :
6570 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6571 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6572 #ifdef HAVE_SYS_PARAM_H
6573 # include <sys/param.h>
6574 #endif
6576 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6577 cat >>confdefs.h <<_ACEOF
6578 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6579 _ACEOF
6583 done
6586 for ac_header in \
6587 netinet/ip.h \
6588 net/if.h \
6589 net/if_arp.h \
6590 net/if_dl.h \
6591 net/if_types.h \
6592 net/route.h \
6593 netinet/if_ether.h \
6594 netinet/if_inarp.h \
6595 netinet/in_pcb.h \
6596 netinet/ip_icmp.h \
6597 netinet/ip_var.h \
6598 netinet/udp.h \
6599 netipx/ipx.h \
6600 sys/un.h \
6602 do :
6603 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6604 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6605 #ifdef HAVE_SYS_SOCKET_H
6606 # include <sys/socket.h>
6607 #endif
6608 #ifdef HAVE_SYS_SOCKETVAR_H
6609 # include <sys/socketvar.h>
6610 #endif
6611 #ifdef HAVE_NET_ROUTE_H
6612 # include <net/route.h>
6613 #endif
6614 #ifdef HAVE_NETINET_IN_H
6615 # include <netinet/in.h>
6616 #endif
6617 #ifdef HAVE_NETINET_IN_SYSTM_H
6618 # include <netinet/in_systm.h>
6619 #endif
6620 #ifdef HAVE_NET_IF_H
6621 # include <net/if.h>
6622 #endif
6623 #ifdef HAVE_NETINET_IP_H
6624 # include <netinet/ip.h>
6625 #endif
6627 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6628 cat >>confdefs.h <<_ACEOF
6629 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6630 _ACEOF
6634 done
6637 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6638 do :
6639 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6640 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6641 #ifdef HAVE_ALIAS_H
6642 # include <alias.h>
6643 #endif
6644 #ifdef HAVE_SYS_SOCKET_H
6645 # include <sys/socket.h>
6646 #endif
6647 #ifdef HAVE_SYS_SOCKETVAR_H
6648 # include <sys/socketvar.h>
6649 #endif
6650 #ifdef HAVE_SYS_TIMEOUT_H
6651 # include <sys/timeout.h>
6652 #endif
6653 #ifdef HAVE_NETINET_IN_H
6654 # include <netinet/in.h>
6655 #endif
6656 #ifdef HAVE_NETINET_IN_SYSTM_H
6657 # include <netinet/in_systm.h>
6658 #endif
6659 #ifdef HAVE_NETINET_IP_H
6660 # include <netinet/ip.h>
6661 #endif
6662 #ifdef HAVE_NETINET_IP_VAR_H
6663 # include <netinet/ip_var.h>
6664 #endif
6665 #ifdef HAVE_NETINET_IP_ICMP_H
6666 # include <netinet/ip_icmp.h>
6667 #endif
6668 #ifdef HAVE_NETINET_UDP_H
6669 # include <netinet/udp.h>
6670 #endif
6671 #ifdef HAVE_NETINET_TCP_H
6672 # include <netinet/tcp.h>
6673 #endif
6674 #ifdef HAVE_NETINET_TCP_TIMER_H
6675 #include <netinet/tcp_timer.h>
6676 #endif
6678 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6679 cat >>confdefs.h <<_ACEOF
6680 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6681 _ACEOF
6685 done
6688 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6689 do :
6690 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6691 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6692 #ifdef HAVE_ASM_TYPES_H
6693 # include <asm/types.h>
6694 #endif
6695 #ifdef HAVE_SYS_SOCKET_H
6696 # include <sys/socket.h>
6697 #endif
6698 #ifdef HAVE_LINUX_TYPES_H
6699 # include <linux/types.h>
6700 #endif
6702 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6703 cat >>confdefs.h <<_ACEOF
6704 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6705 _ACEOF
6709 done
6712 for ac_header in mach-o/dyld_images.h
6713 do :
6714 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6715 # include <stdbool.h>
6716 #endif
6717 #ifdef HAVE_STDINT_H
6718 # include <stdint.h>
6719 #endif
6721 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6722 cat >>confdefs.h <<_ACEOF
6723 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6724 _ACEOF
6728 done
6731 for ac_header in resolv.h
6732 do :
6733 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6734 #ifdef HAVE_SYS_SOCKET_H
6735 # include <sys/socket.h>
6736 #endif
6737 #ifdef HAVE_NETINET_IN_H
6738 # include <netinet/in.h>
6739 #endif
6740 #ifdef HAVE_ARPA_NAMESER_H
6741 # include <arpa/nameser.h>
6742 #endif
6744 if test "x$ac_cv_header_resolv_h" = xyes; then :
6745 cat >>confdefs.h <<_ACEOF
6746 #define HAVE_RESOLV_H 1
6747 _ACEOF
6751 done
6754 for ac_header in ifaddrs.h
6755 do :
6756 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6758 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6759 cat >>confdefs.h <<_ACEOF
6760 #define HAVE_IFADDRS_H 1
6761 _ACEOF
6765 done
6768 for ac_header in ucontext.h
6769 do :
6770 ac_fn_c_check_header_compile "$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6772 if test "x$ac_cv_header_ucontext_h" = xyes; then :
6773 cat >>confdefs.h <<_ACEOF
6774 #define HAVE_UCONTEXT_H 1
6775 _ACEOF
6779 done
6782 for ac_header in sys/thr.h
6783 do :
6784 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6785 #ifdef HAVE_UCONTEXT_H
6786 #include <ucontext.h>
6787 #endif
6789 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
6790 cat >>confdefs.h <<_ACEOF
6791 #define HAVE_SYS_THR_H 1
6792 _ACEOF
6796 done
6799 for ac_header in pthread_np.h
6800 do :
6801 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6802 #include <pthread.h>
6803 #endif
6805 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
6806 cat >>confdefs.h <<_ACEOF
6807 #define HAVE_PTHREAD_NP_H 1
6808 _ACEOF
6812 done
6815 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
6816 do :
6817 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6818 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6819 #include <sys/time.h>
6820 #endif
6821 #include <sys/types.h>
6822 #ifdef HAVE_ASM_TYPES_H
6823 #include <asm/types.h>
6824 #endif
6826 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6827 cat >>confdefs.h <<_ACEOF
6828 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6829 _ACEOF
6833 done
6836 for ac_header in libprocstat.h
6837 do :
6838 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6839 #include <sys/param.h>
6840 #endif
6841 #ifdef HAVE_SYS_QUEUE_H
6842 #include <sys/queue.h>
6843 #endif
6844 #ifdef HAVE_SYS_SOCKET_H
6845 #include <sys/socket.h>
6846 #endif
6848 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
6849 cat >>confdefs.h <<_ACEOF
6850 #define HAVE_LIBPROCSTAT_H 1
6851 _ACEOF
6855 done
6859 dlldir="\${libdir}/wine"
6861 DLLPREFIX=""
6863 DLLFLAGS="-D_REENTRANT"
6865 LDRPATH_INSTALL=""
6867 LDRPATH_LOCAL=""
6869 LIBEXT="so"
6870 DLLEXT=".so"
6871 IMPLIBEXT="def"
6872 STATIC_IMPLIBEXT="def.a"
6873 # Extract the first word of "ldd", so it can be a program name with args.
6874 set dummy ldd; ac_word=$2
6875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6876 $as_echo_n "checking for $ac_word... " >&6; }
6877 if ${ac_cv_path_LDD+:} false; then :
6878 $as_echo_n "(cached) " >&6
6879 else
6880 case $LDD in
6881 [\\/]* | ?:[\\/]*)
6882 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
6885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6886 as_dummy="/sbin:/usr/sbin:$PATH"
6887 for as_dir in $as_dummy
6889 IFS=$as_save_IFS
6890 test -z "$as_dir" && as_dir=.
6891 for ac_exec_ext in '' $ac_executable_extensions; do
6892 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6893 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
6894 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6895 break 2
6897 done
6898 done
6899 IFS=$as_save_IFS
6901 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
6903 esac
6905 LDD=$ac_cv_path_LDD
6906 if test -n "$LDD"; then
6907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6908 $as_echo "$LDD" >&6; }
6909 else
6910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6911 $as_echo "no" >&6; }
6915 if test -n "$ac_tool_prefix"; then
6916 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
6917 set dummy ${ac_tool_prefix}readelf; ac_word=$2
6918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6919 $as_echo_n "checking for $ac_word... " >&6; }
6920 if ${ac_cv_prog_READELF+:} false; then :
6921 $as_echo_n "(cached) " >&6
6922 else
6923 if test -n "$READELF"; then
6924 ac_cv_prog_READELF="$READELF" # Let the user override the test.
6925 else
6926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6927 for as_dir in $PATH
6929 IFS=$as_save_IFS
6930 test -z "$as_dir" && as_dir=.
6931 for ac_exec_ext in '' $ac_executable_extensions; do
6932 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6933 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
6934 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6935 break 2
6937 done
6938 done
6939 IFS=$as_save_IFS
6943 READELF=$ac_cv_prog_READELF
6944 if test -n "$READELF"; then
6945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
6946 $as_echo "$READELF" >&6; }
6947 else
6948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6949 $as_echo "no" >&6; }
6954 if test -z "$ac_cv_prog_READELF"; then
6955 ac_ct_READELF=$READELF
6956 # Extract the first word of "readelf", so it can be a program name with args.
6957 set dummy readelf; ac_word=$2
6958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6959 $as_echo_n "checking for $ac_word... " >&6; }
6960 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
6961 $as_echo_n "(cached) " >&6
6962 else
6963 if test -n "$ac_ct_READELF"; then
6964 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
6965 else
6966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6967 for as_dir in $PATH
6969 IFS=$as_save_IFS
6970 test -z "$as_dir" && as_dir=.
6971 for ac_exec_ext in '' $ac_executable_extensions; do
6972 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6973 ac_cv_prog_ac_ct_READELF="readelf"
6974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6975 break 2
6977 done
6978 done
6979 IFS=$as_save_IFS
6983 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
6984 if test -n "$ac_ct_READELF"; then
6985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
6986 $as_echo "$ac_ct_READELF" >&6; }
6987 else
6988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6989 $as_echo "no" >&6; }
6992 if test "x$ac_ct_READELF" = x; then
6993 READELF="true"
6994 else
6995 case $cross_compiling:$ac_tool_warned in
6996 yes:)
6997 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6998 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6999 ac_tool_warned=yes ;;
7000 esac
7001 READELF=$ac_ct_READELF
7003 else
7004 READELF="$ac_cv_prog_READELF"
7007 wine_rules_file=conf$$rules.make
7008 rm -f $wine_rules_file
7009 ALL_POT_FILES=""
7010 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7011 ALL_TEST_RESOURCES=""
7014 wine_fn_append_file ()
7016 as_fn_append $1 " \\$as_nl $2"
7019 wine_fn_ignore_file ()
7021 case "$1" in
7022 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7023 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7024 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7025 esac
7028 wine_fn_append_rule ()
7030 $as_echo "$1" >>$wine_rules_file
7033 wine_fn_has_flag ()
7035 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7038 wine_fn_depend_rules ()
7040 wine_fn_append_rule \
7041 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7042 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7043 depend: $ac_dir/depend
7044 .PHONY: $ac_dir/depend
7045 $ac_dir/depend: \$(MAKEDEP) dummy
7046 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7049 wine_fn_pot_rules ()
7051 test "x$with_gettextpo" = xyes || return
7053 if wine_fn_has_flag mc
7054 then
7055 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7056 wine_fn_append_rule \
7057 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7058 @cd $ac_dir && \$(MAKE) msg.pot
7059 $ac_dir/msg.pot: tools/wmc include"
7061 if wine_fn_has_flag po
7062 then
7063 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7064 wine_fn_append_rule \
7065 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7066 @cd $ac_dir && \$(MAKE) rsrc.pot
7067 $ac_dir/rsrc.pot: tools/wrc include"
7071 wine_fn_all_rules ()
7073 wine_fn_depend_rules
7074 wine_fn_append_rule \
7075 "all: $ac_dir
7076 .PHONY: $ac_dir
7077 $ac_dir: $ac_dir/Makefile dummy
7078 @cd $ac_dir && \$(MAKE)"
7081 wine_fn_install_rules ()
7083 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7085 wine_fn_append_rule \
7086 ".PHONY: $ac_dir/install $ac_dir/uninstall
7087 $ac_dir/install:: $ac_dir
7088 @cd $ac_dir && \$(MAKE) install
7089 $ac_dir/uninstall:: $ac_dir/Makefile
7090 @cd $ac_dir && \$(MAKE) uninstall
7091 install:: $ac_dir/install
7092 __uninstall__: $ac_dir/uninstall"
7094 if wine_fn_has_flag install-lib
7095 then
7096 wine_fn_append_rule \
7097 ".PHONY: $ac_dir/install-lib
7098 $ac_dir/install-lib:: $ac_dir
7099 @cd $ac_dir && \$(MAKE) install-lib
7100 install-lib:: $ac_dir/install-lib"
7103 if wine_fn_has_flag install-dev
7104 then
7105 wine_fn_append_rule \
7106 ".PHONY: $ac_dir/install-dev
7107 $ac_dir/install-dev:: $ac_dir
7108 @cd $ac_dir && \$(MAKE) install-dev
7109 install-dev:: $ac_dir/install-dev"
7113 wine_fn_clean_rules ()
7115 ac_clean=$@
7116 ac_extraclean="$ac_dir/Makefile"
7117 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7119 if wine_fn_has_flag clean
7120 then
7121 wine_fn_append_rule \
7122 "__clean__: $ac_dir/clean
7123 .PHONY: $ac_dir/clean
7124 $ac_dir/clean: $ac_dir/Makefile
7125 @cd $ac_dir && \$(MAKE) clean
7126 \$(RM) $ac_extraclean"
7127 else
7128 wine_fn_append_rule \
7129 "__clean__: $ac_dir/clean
7130 .PHONY: $ac_dir/clean
7131 $ac_dir/clean: dummy
7132 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7136 wine_fn_disabled_rules ()
7138 ac_clean=$@
7139 ac_extraclean="$ac_dir/Makefile"
7140 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7142 wine_fn_append_rule \
7143 "__clean__: $ac_dir/clean
7144 .PHONY: $ac_dir/clean
7145 $ac_dir/clean: dummy
7146 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7149 wine_fn_config_makefile ()
7151 ac_dir=$1
7152 ac_enable=$2
7153 ac_flags=$3
7155 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7156 wine_fn_disabled_rules; return
7158 wine_fn_all_rules
7159 wine_fn_install_rules
7160 wine_fn_clean_rules
7163 wine_fn_config_lib ()
7165 ac_name=$1
7166 ac_flags=$2
7167 ac_dir=dlls/$ac_name
7168 ac_deps="include"
7170 if test "x$enable_tools" = xno; then :
7172 else
7173 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7175 wine_fn_all_rules
7176 wine_fn_clean_rules
7178 wine_fn_append_rule \
7179 ".PHONY: $ac_dir/install $ac_dir/uninstall
7180 $ac_dir/install:: $ac_dir
7181 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7182 $ac_dir/uninstall::
7183 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7184 install install-dev:: $ac_dir/install
7185 __uninstall__: $ac_dir/uninstall
7186 __builddeps__: $ac_dir
7187 $ac_dir: $ac_deps"
7190 wine_fn_config_dll ()
7192 ac_name=$1
7193 ac_dir=dlls/$ac_name
7194 ac_enable=$2
7195 ac_flags=$3
7196 ac_implib=${4:-$ac_name}
7197 ac_file=$ac_dir/lib$ac_implib
7198 ac_dll=$ac_name
7199 ac_deps="include"
7200 ac_implibflags=""
7202 if test "x$enable_tools" = xno; then :
7204 else
7205 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7207 case $ac_name in
7208 *16) ac_implibflags=" -m16" ;;
7209 *.*) ;;
7210 *) ac_dll=$ac_dll.dll ;;
7211 esac
7213 ac_clean=
7214 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7215 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7216 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7217 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7219 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7220 if wine_fn_has_flag implib && test "$ac_enable" != enable_win16
7221 then
7222 wine_fn_depend_rules
7223 wine_fn_clean_rules $ac_clean
7224 else
7225 wine_fn_disabled_rules $ac_clean
7226 return
7228 else
7229 wine_fn_all_rules
7230 wine_fn_clean_rules $ac_clean
7231 wine_fn_append_rule \
7232 "$ac_dir: __builddeps__
7233 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7234 @cd $ac_dir && \$(MAKE) \$@
7235 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7236 install install-lib:: $ac_dir/install-lib
7237 __uninstall__: $ac_dir/uninstall"
7238 if test -n "$DLLEXT"
7239 then
7240 wine_fn_append_rule \
7241 "$ac_dir/install-lib:: $ac_dir
7242 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7243 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7244 $ac_dir/uninstall::
7245 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7246 else
7247 wine_fn_append_rule \
7248 "$ac_dir/install-lib:: $ac_dir
7249 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7250 $ac_dir/uninstall::
7251 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7254 wine_fn_pot_rules
7257 if wine_fn_has_flag staticimplib
7258 then
7259 wine_fn_append_rule \
7260 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7261 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7262 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7263 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7264 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7265 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7266 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7267 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7268 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7269 $ac_dir/uninstall::
7270 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7271 install install-dev:: $ac_dir/install-dev
7272 __uninstall__: $ac_dir/uninstall"
7274 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7275 then
7276 wine_fn_append_rule \
7277 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7278 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7279 $ac_dir/uninstall::
7280 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7283 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7284 then
7285 wine_fn_append_rule \
7286 "__builddeps__: $ac_file.cross.a
7287 $ac_file.cross.a: $ac_dir/Makefile dummy
7288 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7291 elif wine_fn_has_flag implib
7292 then
7293 wine_fn_append_rule \
7294 "__builddeps__: $ac_file.$IMPLIBEXT
7295 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7296 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7297 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7298 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7299 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7300 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7301 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7302 $ac_dir/uninstall::
7303 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7304 install install-dev:: $ac_dir/install-dev
7305 __uninstall__: $ac_dir/uninstall"
7306 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7307 then
7308 wine_fn_append_rule \
7309 "__builddeps__: $ac_file.cross.a
7310 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7311 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7314 if test "$ac_name" != "$ac_implib"
7315 then
7316 wine_fn_append_rule \
7317 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7318 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7319 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7320 clean::
7321 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7322 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7323 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7324 then
7325 wine_fn_append_rule \
7326 "__builddeps__: dlls/lib$ac_implib.cross.a
7327 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7328 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7329 clean::
7330 \$(RM) dlls/lib$ac_implib.cross.a"
7331 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7337 wine_fn_config_program ()
7339 ac_name=$1
7340 ac_dir=programs/$ac_name
7341 ac_enable=$2
7342 ac_flags=$3
7343 ac_program=$ac_name
7345 case $ac_name in
7346 *.*) ;;
7347 *) ac_program=$ac_program.exe ;;
7348 esac
7350 ac_clean=
7351 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7352 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7353 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7354 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7356 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7357 wine_fn_disabled_rules $ac_clean; return
7360 wine_fn_all_rules
7361 wine_fn_clean_rules $ac_clean
7362 wine_fn_append_rule "$ac_dir: __builddeps__"
7363 wine_fn_pot_rules
7365 wine_fn_has_flag install || return
7366 wine_fn_append_rule \
7367 ".PHONY: $ac_dir/install $ac_dir/uninstall
7368 install install-lib:: $ac_dir/install
7369 __uninstall__: $ac_dir/uninstall"
7371 if test -n "$DLLEXT"
7372 then
7373 wine_fn_append_rule \
7374 "$ac_dir/install:: $ac_dir
7375 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7376 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7377 $ac_dir/uninstall::
7378 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7380 if test -z "$with_wine64" && wine_fn_has_flag installbin
7381 then
7382 wine_fn_append_rule \
7383 "$ac_dir/install:: __tooldeps__
7384 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7385 $ac_dir/uninstall::
7386 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7388 else
7389 wine_fn_append_rule \
7390 "$ac_dir/install:: $ac_dir
7391 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7392 $ac_dir/uninstall::
7393 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7396 if test -z "$with_wine64" && wine_fn_has_flag manpage
7397 then
7398 wine_fn_append_rule \
7399 "$ac_dir/install:: $ac_dir
7400 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7401 $ac_dir/uninstall::
7402 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7406 wine_fn_config_test ()
7408 ac_dir=$1
7409 ac_name=$2
7410 ac_flags=$3
7412 ac_clean=
7413 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7414 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7415 ac_clean="$ac_clean $ac_dir/testlist.c"
7417 if test "x$enable_tests" = xno; then :
7418 wine_fn_disabled_rules $ac_clean; return
7421 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7422 wine_fn_all_rules
7423 wine_fn_clean_rules $ac_clean
7425 wine_fn_append_rule \
7426 "$ac_dir: programs/winetest/Makefile __builddeps__
7427 programs/winetest: $ac_dir
7428 check test: $ac_dir/test
7429 .PHONY: $ac_dir/test
7430 $ac_dir/test: dummy
7431 @cd $ac_dir && \$(MAKE) test
7432 testclean::
7433 \$(RM) $ac_dir/*.ok"
7435 if test -n "$CROSSTARGET"
7436 then
7437 wine_fn_append_rule \
7438 "crosstest: $ac_dir/crosstest
7439 .PHONY: $ac_dir/crosstest
7440 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7441 @cd $ac_dir && \$(MAKE) crosstest"
7445 wine_fn_config_tool ()
7447 ac_dir=$1
7448 ac_flags=$2
7449 if test "x$enable_tools" = xno; then :
7450 return
7453 wine_fn_all_rules
7454 wine_fn_install_rules
7455 wine_fn_clean_rules
7457 wine_fn_append_rule "__tooldeps__: $ac_dir"
7458 wine_fn_append_rule "$ac_dir: libs/port"
7459 case $ac_dir in
7460 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7461 esac
7464 wine_fn_config_symlink ()
7466 ac_linkdir=
7467 if test "x$1" = "x-d"
7468 then
7469 ac_linkdir=$2
7470 shift; shift
7472 ac_links=$@
7473 wine_fn_append_rule \
7474 "$ac_links:
7475 @./config.status \$@
7476 distclean::
7477 \$(RM) $ac_links"
7478 for f in $ac_links; do wine_fn_ignore_file $f; done
7479 test -n "$ac_linkdir" || return
7480 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7483 wine_binary="wine"
7484 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7485 loader_programs="$wine_binary wine-installed"
7486 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7488 LOADER_RULES="
7489 install install-lib:: wine-installed
7490 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7492 uninstall::
7493 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7497 case $host_os in
7498 cygwin*|mingw32*)
7499 if test -n "$ac_tool_prefix"; then
7500 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7501 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7503 $as_echo_n "checking for $ac_word... " >&6; }
7504 if ${ac_cv_prog_DLLTOOL+:} false; then :
7505 $as_echo_n "(cached) " >&6
7506 else
7507 if test -n "$DLLTOOL"; then
7508 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7509 else
7510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7511 for as_dir in $PATH
7513 IFS=$as_save_IFS
7514 test -z "$as_dir" && as_dir=.
7515 for ac_exec_ext in '' $ac_executable_extensions; do
7516 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7517 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7518 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7519 break 2
7521 done
7522 done
7523 IFS=$as_save_IFS
7527 DLLTOOL=$ac_cv_prog_DLLTOOL
7528 if test -n "$DLLTOOL"; then
7529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7530 $as_echo "$DLLTOOL" >&6; }
7531 else
7532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7533 $as_echo "no" >&6; }
7538 if test -z "$ac_cv_prog_DLLTOOL"; then
7539 ac_ct_DLLTOOL=$DLLTOOL
7540 # Extract the first word of "dlltool", so it can be a program name with args.
7541 set dummy dlltool; ac_word=$2
7542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7543 $as_echo_n "checking for $ac_word... " >&6; }
7544 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7545 $as_echo_n "(cached) " >&6
7546 else
7547 if test -n "$ac_ct_DLLTOOL"; then
7548 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7549 else
7550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7551 for as_dir in $PATH
7553 IFS=$as_save_IFS
7554 test -z "$as_dir" && as_dir=.
7555 for ac_exec_ext in '' $ac_executable_extensions; do
7556 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7557 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7559 break 2
7561 done
7562 done
7563 IFS=$as_save_IFS
7567 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7568 if test -n "$ac_ct_DLLTOOL"; then
7569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7570 $as_echo "$ac_ct_DLLTOOL" >&6; }
7571 else
7572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7573 $as_echo "no" >&6; }
7576 if test "x$ac_ct_DLLTOOL" = x; then
7577 DLLTOOL="false"
7578 else
7579 case $cross_compiling:$ac_tool_warned in
7580 yes:)
7581 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7582 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7583 ac_tool_warned=yes ;;
7584 esac
7585 DLLTOOL=$ac_ct_DLLTOOL
7587 else
7588 DLLTOOL="$ac_cv_prog_DLLTOOL"
7591 LIBEXT="dll"
7592 DLLEXT=""
7593 IMPLIBEXT="a"
7594 STATIC_IMPLIBEXT="a"
7595 enable_iphlpapi=${enable_iphlpapi:-no}
7596 enable_kernel32=${enable_kernel32:-no}
7597 enable_msvcrt=${enable_msvcrt:-no}
7598 enable_ntdll=${enable_ntdll:-no}
7599 enable_ws2_32=${enable_ws2_32:-no}
7600 enable_loader=${enable_loader:-no}
7601 enable_server=${enable_server:-no}
7602 with_x=${with_x:-no}
7603 with_pthread=${with_pthread:-no}
7605 crtlibs=""
7606 case $host_os in
7607 mingw32*)
7608 crtlibs="-lmsvcrt"
7609 SOCKET_LIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7611 esac
7613 libwine_targets="libwine.dll libwine.a"
7614 LIBWINE_RULES="
7615 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7617 all: libwine.dll libwine.a
7619 libwine.a: \$(srcdir)/wine.def
7620 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7622 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7623 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7625 install install-lib:: libwine.dll
7626 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7628 install install-dev:: libwine.a
7629 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7631 uninstall::
7632 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7637 darwin*|macosx*)
7638 LIBEXT="dylib"
7639 DLLFLAGS="$DLLFLAGS -fPIC"
7640 LIBWINE_LDFLAGS="-multiply_defined suppress"
7641 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7642 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7643 COREFOUNDATION_LIBS="-framework CoreFoundation"
7645 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7647 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7649 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7651 CORESERVICES_LIBS="-framework CoreServices"
7653 APPKIT_LIBS="-framework AppKit"
7655 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7656 case $host_os in
7657 darwin11*) LDEXECFLAGS="-Wl,-macosx_version_min,10.6 $LDEXECFLAGS" ;;
7658 esac
7659 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7660 then
7661 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
7664 if test "$ac_cv_header_Security_Security_h" = "yes"
7665 then
7666 SECURITY_LIBS="-framework Security -framework CoreFoundation"
7668 ac_save_LIBS="$LIBS"
7669 LIBS="$LIBS $SECURITY_LIBS"
7670 for ac_func in SSLCopyPeerCertificates
7671 do :
7672 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7673 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
7674 cat >>confdefs.h <<_ACEOF
7675 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7676 _ACEOF
7679 done
7681 LIBS="$ac_save_LIBS"
7682 with_gnutls=${with_gnutls:-no}
7684 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7685 then
7686 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7687 then
7688 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7690 else
7691 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7694 ac_save_LIBS="$LIBS"
7695 LIBS="$LIBS $COREAUDIO_LIBS"
7696 for ac_func in AUGraphAddNode
7697 do :
7698 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7699 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
7700 cat >>confdefs.h <<_ACEOF
7701 #define HAVE_AUGRAPHADDNODE 1
7702 _ACEOF
7705 done
7707 LIBS="$ac_save_LIBS"
7709 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7710 then
7711 OPENAL_LIBS="-framework OpenAL"
7714 cat >>confdefs.h <<_ACEOF
7715 #define HAVE_OPENAL 1
7716 _ACEOF
7718 ac_cv_lib_openal=yes
7720 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7721 then
7722 OPENCL_LIBS="-framework OpenCL"
7724 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
7726 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7727 then
7728 ac_save_LIBS="$LIBS"
7729 LIBS="$LIBS $IOKIT_LIBS"
7730 for ac_func in IOHIDManagerCreate
7731 do :
7732 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7733 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
7734 cat >>confdefs.h <<_ACEOF
7735 #define HAVE_IOHIDMANAGERCREATE 1
7736 _ACEOF
7739 done
7741 LIBS="$ac_save_LIBS"
7743 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7744 then
7745 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7747 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
7748 else
7749 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7751 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7752 then
7753 CARBON_LIBS="-framework Carbon"
7757 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7758 then
7759 ac_save_LIBS="$LIBS"
7760 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
7761 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7762 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
7763 enable_winemac_drv=${enable_winemac_drv:-yes}
7766 LIBS="$ac_save_LIBS"
7769 if test "x$enable_win16" = "xyes"
7770 then
7771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7772 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7773 if test "$cross_compiling" = yes; then :
7774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7775 $as_echo "cross-compiling, assuming yes" >&6; }
7776 else
7777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7778 /* end confdefs.h. */
7779 asm(".text\n"
7780 "bad:\tnop;nop\n"
7781 "good:\tnop;nop\n\t"
7782 ".globl _testfunc\n"
7783 "_testfunc:\tcallw good");
7784 extern void testfunc();
7786 main ()
7788 unsigned short *p = (unsigned short *)testfunc;
7789 return p[0] != 0xe866 || p[1] != 0xfffa
7791 return 0;
7793 _ACEOF
7794 if ac_fn_c_try_run "$LINENO"; then :
7795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7796 $as_echo "yes" >&6; }
7797 else
7798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7799 $as_echo "no" >&6; }
7800 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
7802 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7803 conftest.$ac_objext conftest.beam conftest.$ac_ext
7808 libwine_targets="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
7809 LIBWINE_RULES="
7810 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7812 all: libwine.dylib
7814 libwine.$libwine_version.dylib: \$(OBJS)
7815 \$(CC) -dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7817 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
7818 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
7820 libwine.dylib: libwine.$libwine_soversion.dylib
7821 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
7823 install install-lib:: libwine.$libwine_version.dylib
7824 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
7825 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
7827 install install-dev::
7828 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
7830 uninstall::
7831 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
7835 as_fn_append LOADER_RULES "
7836 $wine_binary: main.o wine_info.plist
7837 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7839 wine-installed: main.o wine_info.plist
7840 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7844 linux-android*)
7845 DLLFLAGS="$DLLFLAGS -fPIC"
7846 DLLPREFIX="lib"
7847 LDEXECFLAGS=""
7848 dlldir="\${libdir}"
7849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7850 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7851 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
7852 $as_echo_n "(cached) " >&6
7853 else
7854 ac_wine_try_cflags_saved=$CFLAGS
7855 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
7856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7857 /* end confdefs.h. */
7858 int main(int argc, char **argv) { return 0; }
7859 _ACEOF
7860 if ac_fn_c_try_link "$LINENO"; then :
7861 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
7862 else
7863 ac_cv_cflags__fPIC__Wl___export_dynamic=no
7865 rm -f core conftest.err conftest.$ac_objext \
7866 conftest$ac_exeext conftest.$ac_ext
7867 CFLAGS=$ac_wine_try_cflags_saved
7869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7870 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7871 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
7872 LDEXECFLAGS="-Wl,--export-dynamic"
7874 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7876 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7877 if eval \${$as_ac_var+:} false; then :
7878 $as_echo_n "(cached) " >&6
7879 else
7880 ac_wine_try_cflags_saved=$CFLAGS
7881 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7883 /* end confdefs.h. */
7884 int main(int argc, char **argv) { return 0; }
7885 _ACEOF
7886 if ac_fn_c_try_link "$LINENO"; then :
7887 eval "$as_ac_var=yes"
7888 else
7889 eval "$as_ac_var=no"
7891 rm -f core conftest.err conftest.$ac_objext \
7892 conftest$ac_exeext conftest.$ac_ext
7893 CFLAGS=$ac_wine_try_cflags_saved
7895 eval ac_res=\$$as_ac_var
7896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7897 $as_echo "$ac_res" >&6; }
7898 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
7899 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7900 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7901 else
7902 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7904 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7905 if eval \${$as_ac_var+:} false; then :
7906 $as_echo_n "(cached) " >&6
7907 else
7908 ac_wine_try_cflags_saved=$CFLAGS
7909 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7911 /* end confdefs.h. */
7912 int main(int argc, char **argv) { return 0; }
7913 _ACEOF
7914 if ac_fn_c_try_link "$LINENO"; then :
7915 eval "$as_ac_var=yes"
7916 else
7917 eval "$as_ac_var=no"
7919 rm -f core conftest.err conftest.$ac_objext \
7920 conftest$ac_exeext conftest.$ac_ext
7921 CFLAGS=$ac_wine_try_cflags_saved
7923 eval ac_res=\$$as_ac_var
7924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7925 $as_echo "$ac_res" >&6; }
7926 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
7927 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7928 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7933 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7934 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
7935 $as_echo_n "(cached) " >&6
7936 else
7937 ac_wine_try_cflags_saved=$CFLAGS
7938 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
7939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7940 /* end confdefs.h. */
7941 int main(int argc, char **argv) { return 0; }
7942 _ACEOF
7943 if ac_fn_c_try_link "$LINENO"; then :
7944 ac_cv_cflags__Wl___enable_new_dtags=yes
7945 else
7946 ac_cv_cflags__Wl___enable_new_dtags=no
7948 rm -f core conftest.err conftest.$ac_objext \
7949 conftest$ac_exeext conftest.$ac_ext
7950 CFLAGS=$ac_wine_try_cflags_saved
7952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7953 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7954 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
7955 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
7958 case $host_cpu in
7959 *i[3456789]86* | x86_64)
7960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
7961 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
7962 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
7963 $as_echo_n "(cached) " >&6
7964 else
7965 ac_wine_try_cflags_saved=$CFLAGS
7966 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
7967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7968 /* end confdefs.h. */
7969 int main(int argc, char **argv) { return 0; }
7970 _ACEOF
7971 if ac_fn_c_try_link "$LINENO"; then :
7972 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
7973 else
7974 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
7976 rm -f core conftest.err conftest.$ac_objext \
7977 conftest$ac_exeext conftest.$ac_ext
7978 CFLAGS=$ac_wine_try_cflags_saved
7980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
7981 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
7982 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
7983 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
7986 esac
7988 libwine_targets="libwine.so"
7989 LIBWINE_RULES="
7990 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7992 all: libwine.so
7994 libwine.so: \$(OBJS)
7995 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7997 install install-lib:: libwine.so
7998 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8000 uninstall::
8001 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8005 as_fn_append LOADER_RULES "
8006 $wine_binary: main.o
8007 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8009 wine-installed: main.o
8010 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8015 DLLFLAGS="$DLLFLAGS -fPIC"
8016 LDEXECFLAGS=""
8017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8018 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8019 if ${ac_cv_c_dll_gnuelf+:} false; then :
8020 $as_echo_n "(cached) " >&6
8021 else
8022 ac_wine_try_cflags_saved=$CFLAGS
8023 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8025 /* end confdefs.h. */
8026 void myfunc() {}
8027 _ACEOF
8028 if ac_fn_c_try_link "$LINENO"; then :
8029 ac_cv_c_dll_gnuelf="yes"
8030 else
8031 ac_cv_c_dll_gnuelf="no"
8033 rm -f core conftest.err conftest.$ac_objext \
8034 conftest$ac_exeext conftest.$ac_ext
8035 CFLAGS=$ac_wine_try_cflags_saved
8037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8038 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8039 if test "$ac_cv_c_dll_gnuelf" = "yes"
8040 then
8041 LDSHARED="\$(CC) -shared"
8042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8043 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8044 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8045 $as_echo_n "(cached) " >&6
8046 else
8047 ac_wine_try_cflags_saved=$CFLAGS
8048 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8050 /* end confdefs.h. */
8051 int main(int argc, char **argv) { return 0; }
8052 _ACEOF
8053 if ac_fn_c_try_link "$LINENO"; then :
8054 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8055 else
8056 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8058 rm -f core conftest.err conftest.$ac_objext \
8059 conftest$ac_exeext conftest.$ac_ext
8060 CFLAGS=$ac_wine_try_cflags_saved
8062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8063 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8064 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8065 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8066 else
8067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8068 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8069 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8070 $as_echo_n "(cached) " >&6
8071 else
8072 ac_wine_try_cflags_saved=$CFLAGS
8073 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8075 /* end confdefs.h. */
8076 int main(int argc, char **argv) { return 0; }
8077 _ACEOF
8078 if ac_fn_c_try_link "$LINENO"; then :
8079 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8080 else
8081 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8083 rm -f core conftest.err conftest.$ac_objext \
8084 conftest$ac_exeext conftest.$ac_ext
8085 CFLAGS=$ac_wine_try_cflags_saved
8087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8088 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8089 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8090 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8094 echo '{ global: *; };' >conftest.map
8095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8096 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8097 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8098 $as_echo_n "(cached) " >&6
8099 else
8100 ac_wine_try_cflags_saved=$CFLAGS
8101 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8103 /* end confdefs.h. */
8104 int main(int argc, char **argv) { return 0; }
8105 _ACEOF
8106 if ac_fn_c_try_link "$LINENO"; then :
8107 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8108 else
8109 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8111 rm -f core conftest.err conftest.$ac_objext \
8112 conftest$ac_exeext conftest.$ac_ext
8113 CFLAGS=$ac_wine_try_cflags_saved
8115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8116 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8117 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8118 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8120 rm -f conftest.map
8122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8123 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8124 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8125 $as_echo_n "(cached) " >&6
8126 else
8127 ac_wine_try_cflags_saved=$CFLAGS
8128 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8130 /* end confdefs.h. */
8131 int main(int argc, char **argv) { return 0; }
8132 _ACEOF
8133 if ac_fn_c_try_link "$LINENO"; then :
8134 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8135 else
8136 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8138 rm -f core conftest.err conftest.$ac_objext \
8139 conftest$ac_exeext conftest.$ac_ext
8140 CFLAGS=$ac_wine_try_cflags_saved
8142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8143 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8144 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8145 LDEXECFLAGS="-Wl,--export-dynamic"
8148 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8150 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8151 if eval \${$as_ac_var+:} false; then :
8152 $as_echo_n "(cached) " >&6
8153 else
8154 ac_wine_try_cflags_saved=$CFLAGS
8155 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8157 /* end confdefs.h. */
8158 int main(int argc, char **argv) { return 0; }
8159 _ACEOF
8160 if ac_fn_c_try_link "$LINENO"; then :
8161 eval "$as_ac_var=yes"
8162 else
8163 eval "$as_ac_var=no"
8165 rm -f core conftest.err conftest.$ac_objext \
8166 conftest$ac_exeext conftest.$ac_ext
8167 CFLAGS=$ac_wine_try_cflags_saved
8169 eval ac_res=\$$as_ac_var
8170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8171 $as_echo "$ac_res" >&6; }
8172 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8173 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8174 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8175 else
8176 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8178 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8179 if eval \${$as_ac_var+:} false; then :
8180 $as_echo_n "(cached) " >&6
8181 else
8182 ac_wine_try_cflags_saved=$CFLAGS
8183 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8185 /* end confdefs.h. */
8186 int main(int argc, char **argv) { return 0; }
8187 _ACEOF
8188 if ac_fn_c_try_link "$LINENO"; then :
8189 eval "$as_ac_var=yes"
8190 else
8191 eval "$as_ac_var=no"
8193 rm -f core conftest.err conftest.$ac_objext \
8194 conftest$ac_exeext conftest.$ac_ext
8195 CFLAGS=$ac_wine_try_cflags_saved
8197 eval ac_res=\$$as_ac_var
8198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8199 $as_echo "$ac_res" >&6; }
8200 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8201 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8202 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8207 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8208 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8209 $as_echo_n "(cached) " >&6
8210 else
8211 ac_wine_try_cflags_saved=$CFLAGS
8212 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8214 /* end confdefs.h. */
8215 int main(int argc, char **argv) { return 0; }
8216 _ACEOF
8217 if ac_fn_c_try_link "$LINENO"; then :
8218 ac_cv_cflags__Wl___enable_new_dtags=yes
8219 else
8220 ac_cv_cflags__Wl___enable_new_dtags=no
8222 rm -f core conftest.err conftest.$ac_objext \
8223 conftest$ac_exeext conftest.$ac_ext
8224 CFLAGS=$ac_wine_try_cflags_saved
8226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8227 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8228 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8229 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8232 case $host_cpu in
8233 *i[3456789]86* | x86_64)
8234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8235 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8236 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8237 $as_echo_n "(cached) " >&6
8238 else
8239 ac_wine_try_cflags_saved=$CFLAGS
8240 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8242 /* end confdefs.h. */
8243 int main(int argc, char **argv) { return 0; }
8244 _ACEOF
8245 if ac_fn_c_try_link "$LINENO"; then :
8246 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8247 else
8248 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8250 rm -f core conftest.err conftest.$ac_objext \
8251 conftest$ac_exeext conftest.$ac_ext
8252 CFLAGS=$ac_wine_try_cflags_saved
8254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8255 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8256 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8257 case $host_os in
8258 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8259 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8260 esac
8263 # Extract the first word of "prelink", so it can be a program name with args.
8264 set dummy prelink; ac_word=$2
8265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8266 $as_echo_n "checking for $ac_word... " >&6; }
8267 if ${ac_cv_path_PRELINK+:} false; then :
8268 $as_echo_n "(cached) " >&6
8269 else
8270 case $PRELINK in
8271 [\\/]* | ?:[\\/]*)
8272 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8276 for as_dir in /sbin /usr/sbin $PATH
8278 IFS=$as_save_IFS
8279 test -z "$as_dir" && as_dir=.
8280 for ac_exec_ext in '' $ac_executable_extensions; do
8281 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8282 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8284 break 2
8286 done
8287 done
8288 IFS=$as_save_IFS
8290 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8292 esac
8294 PRELINK=$ac_cv_path_PRELINK
8295 if test -n "$PRELINK"; then
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8297 $as_echo "$PRELINK" >&6; }
8298 else
8299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8300 $as_echo "no" >&6; }
8304 if test "x$PRELINK" = xfalse
8305 then
8306 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
8309 esac
8311 else
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8313 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8314 if ${ac_cv_c_dll_unixware+:} false; then :
8315 $as_echo_n "(cached) " >&6
8316 else
8317 ac_wine_try_cflags_saved=$CFLAGS
8318 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8320 /* end confdefs.h. */
8321 void myfunc() {}
8322 _ACEOF
8323 if ac_fn_c_try_link "$LINENO"; then :
8324 ac_cv_c_dll_unixware="yes"
8325 else
8326 ac_cv_c_dll_unixware="no"
8328 rm -f core conftest.err conftest.$ac_objext \
8329 conftest$ac_exeext conftest.$ac_ext
8330 CFLAGS=$ac_wine_try_cflags_saved
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8333 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8334 if test "$ac_cv_c_dll_unixware" = "yes"
8335 then
8336 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8339 libwine_targets="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8340 LIBWINE_RULES="
8341 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8343 all: libwine.so
8345 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8346 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8348 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8349 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8351 libwine.so: libwine.so.$libwine_soversion
8352 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8354 install install-lib:: libwine.so.$libwine_version
8355 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8356 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8358 install install-dev::
8359 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8361 uninstall::
8362 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8366 as_fn_append LOADER_RULES "
8367 $wine_binary: main.o
8368 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8370 wine-installed: main.o
8371 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8374 esac
8376 as_fn_append LIBWINE_RULES "
8377 EXTRA_TARGETS = $libwine_targets
8380 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8381 enable_winemac_drv=${enable_winemac_drv:-no}
8383 CROSSTARGET=""
8385 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8386 then
8387 case "$host_cpu" in
8388 i[3456789]86*)
8389 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
8390 mingw32-gcc" ;;
8391 x86_64)
8392 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 " ;;
8394 ac_prefix_list="" ;;
8395 esac
8396 for ac_prog in $ac_prefix_list
8398 # Extract the first word of "$ac_prog", so it can be a program name with args.
8399 set dummy $ac_prog; ac_word=$2
8400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8401 $as_echo_n "checking for $ac_word... " >&6; }
8402 if ${ac_cv_prog_CROSSCC+:} false; then :
8403 $as_echo_n "(cached) " >&6
8404 else
8405 if test -n "$CROSSCC"; then
8406 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8407 else
8408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8409 for as_dir in $PATH
8411 IFS=$as_save_IFS
8412 test -z "$as_dir" && as_dir=.
8413 for ac_exec_ext in '' $ac_executable_extensions; do
8414 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8415 ac_cv_prog_CROSSCC="$ac_prog"
8416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8417 break 2
8419 done
8420 done
8421 IFS=$as_save_IFS
8425 CROSSCC=$ac_cv_prog_CROSSCC
8426 if test -n "$CROSSCC"; then
8427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8428 $as_echo "$CROSSCC" >&6; }
8429 else
8430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8431 $as_echo "no" >&6; }
8435 test -n "$CROSSCC" && break
8436 done
8437 test -n "$CROSSCC" || CROSSCC="false"
8439 if test "$CROSSCC" != "false"
8440 then
8441 ac_save_CC="$CC"
8442 CC="$CROSSCC"
8443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8444 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8446 /* end confdefs.h. */
8449 main ()
8453 return 0;
8455 _ACEOF
8456 if ac_fn_c_try_compile "$LINENO"; then :
8457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8458 $as_echo "yes" >&6; }
8459 set x $CROSSCC
8460 shift
8461 while test $# -ge 1
8463 case "$1" in
8464 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8465 esac
8466 shift
8467 done
8468 else
8469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8470 $as_echo "no" >&6; }
8472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8473 CC="$ac_save_CC"
8478 if test "$ac_cv_header_pthread_h" = "yes"
8479 then
8480 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8481 if test "x$ac_cv_func_pthread_create" = xyes; then :
8483 else
8484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8485 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8486 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8487 $as_echo_n "(cached) " >&6
8488 else
8489 ac_check_lib_save_LIBS=$LIBS
8490 LIBS="-lpthread $LIBS"
8491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8492 /* end confdefs.h. */
8494 /* Override any GCC internal prototype to avoid an error.
8495 Use char because int might match the return type of a GCC
8496 builtin and then its argument prototype would still apply. */
8497 #ifdef __cplusplus
8498 extern "C"
8499 #endif
8500 char pthread_create ();
8502 main ()
8504 return pthread_create ();
8506 return 0;
8508 _ACEOF
8509 if ac_fn_c_try_link "$LINENO"; then :
8510 ac_cv_lib_pthread_pthread_create=yes
8511 else
8512 ac_cv_lib_pthread_pthread_create=no
8514 rm -f core conftest.err conftest.$ac_objext \
8515 conftest$ac_exeext conftest.$ac_ext
8516 LIBS=$ac_check_lib_save_LIBS
8518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8519 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8520 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8521 PTHREAD_LIBS="-lpthread"
8528 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8529 case "x$with_pthread" in
8530 xno) ;;
8531 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8532 Wine cannot support threads without libpthread.
8533 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8534 esac
8538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8539 $as_echo_n "checking for X... " >&6; }
8542 # Check whether --with-x was given.
8543 if test "${with_x+set}" = set; then :
8544 withval=$with_x;
8547 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8548 if test "x$with_x" = xno; then
8549 # The user explicitly disabled X.
8550 have_x=disabled
8551 else
8552 case $x_includes,$x_libraries in #(
8553 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8554 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8555 $as_echo_n "(cached) " >&6
8556 else
8557 # One or both of the vars are not set, and there is no cached value.
8558 ac_x_includes=no ac_x_libraries=no
8559 rm -f -r conftest.dir
8560 if mkdir conftest.dir; then
8561 cd conftest.dir
8562 cat >Imakefile <<'_ACEOF'
8563 incroot:
8564 @echo incroot='${INCROOT}'
8565 usrlibdir:
8566 @echo usrlibdir='${USRLIBDIR}'
8567 libdir:
8568 @echo libdir='${LIBDIR}'
8569 _ACEOF
8570 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8571 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8572 for ac_var in incroot usrlibdir libdir; do
8573 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8574 done
8575 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8576 for ac_extension in a so sl dylib la dll; do
8577 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8578 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8579 ac_im_usrlibdir=$ac_im_libdir; break
8581 done
8582 # Screen out bogus values from the imake configuration. They are
8583 # bogus both because they are the default anyway, and because
8584 # using them would break gcc on systems where it needs fixed includes.
8585 case $ac_im_incroot in
8586 /usr/include) ac_x_includes= ;;
8587 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8588 esac
8589 case $ac_im_usrlibdir in
8590 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8591 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8592 esac
8594 cd ..
8595 rm -f -r conftest.dir
8598 # Standard set of common directories for X headers.
8599 # Check X11 before X11Rn because it is often a symlink to the current release.
8600 ac_x_header_dirs='
8601 /usr/X11/include
8602 /usr/X11R7/include
8603 /usr/X11R6/include
8604 /usr/X11R5/include
8605 /usr/X11R4/include
8607 /usr/include/X11
8608 /usr/include/X11R7
8609 /usr/include/X11R6
8610 /usr/include/X11R5
8611 /usr/include/X11R4
8613 /usr/local/X11/include
8614 /usr/local/X11R7/include
8615 /usr/local/X11R6/include
8616 /usr/local/X11R5/include
8617 /usr/local/X11R4/include
8619 /usr/local/include/X11
8620 /usr/local/include/X11R7
8621 /usr/local/include/X11R6
8622 /usr/local/include/X11R5
8623 /usr/local/include/X11R4
8625 /usr/X386/include
8626 /usr/x386/include
8627 /usr/XFree86/include/X11
8629 /usr/include
8630 /usr/local/include
8631 /usr/unsupported/include
8632 /usr/athena/include
8633 /usr/local/x11r5/include
8634 /usr/lpp/Xamples/include
8636 /usr/openwin/include
8637 /usr/openwin/share/include'
8639 if test "$ac_x_includes" = no; then
8640 # Guess where to find include files, by looking for Xlib.h.
8641 # First, try using that file with no special directory specified.
8642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8643 /* end confdefs.h. */
8644 #include <X11/Xlib.h>
8645 _ACEOF
8646 if ac_fn_c_try_cpp "$LINENO"; then :
8647 # We can compile using X headers with no special include directory.
8648 ac_x_includes=
8649 else
8650 for ac_dir in $ac_x_header_dirs; do
8651 if test -r "$ac_dir/X11/Xlib.h"; then
8652 ac_x_includes=$ac_dir
8653 break
8655 done
8657 rm -f conftest.err conftest.i conftest.$ac_ext
8658 fi # $ac_x_includes = no
8660 if test "$ac_x_libraries" = no; then
8661 # Check for the libraries.
8662 # See if we find them without any special options.
8663 # Don't add to $LIBS permanently.
8664 ac_save_LIBS=$LIBS
8665 LIBS="-lX11 $LIBS"
8666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8667 /* end confdefs.h. */
8668 #include <X11/Xlib.h>
8670 main ()
8672 XrmInitialize ()
8674 return 0;
8676 _ACEOF
8677 if ac_fn_c_try_link "$LINENO"; then :
8678 LIBS=$ac_save_LIBS
8679 # We can link X programs with no special library path.
8680 ac_x_libraries=
8681 else
8682 LIBS=$ac_save_LIBS
8683 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8685 # Don't even attempt the hair of trying to link an X program!
8686 for ac_extension in a so sl dylib la dll; do
8687 if test -r "$ac_dir/libX11.$ac_extension"; then
8688 ac_x_libraries=$ac_dir
8689 break 2
8691 done
8692 done
8694 rm -f core conftest.err conftest.$ac_objext \
8695 conftest$ac_exeext conftest.$ac_ext
8696 fi # $ac_x_libraries = no
8698 case $ac_x_includes,$ac_x_libraries in #(
8699 no,* | *,no | *\'*)
8700 # Didn't find X, or a directory has "'" in its name.
8701 ac_cv_have_x="have_x=no";; #(
8703 # Record where we found X for the cache.
8704 ac_cv_have_x="have_x=yes\
8705 ac_x_includes='$ac_x_includes'\
8706 ac_x_libraries='$ac_x_libraries'"
8707 esac
8709 ;; #(
8710 *) have_x=yes;;
8711 esac
8712 eval "$ac_cv_have_x"
8713 fi # $with_x != no
8715 if test "$have_x" != yes; then
8716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8717 $as_echo "$have_x" >&6; }
8718 no_x=yes
8719 else
8720 # If each of the values was on the command line, it overrides each guess.
8721 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
8722 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
8723 # Update the cache value to reflect the command line values.
8724 ac_cv_have_x="have_x=yes\
8725 ac_x_includes='$x_includes'\
8726 ac_x_libraries='$x_libraries'"
8727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8728 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8731 if test "$no_x" = yes; then
8732 # Not all programs may use this symbol, but it does not hurt to define it.
8734 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8736 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
8737 else
8738 if test -n "$x_includes"; then
8739 X_CFLAGS="$X_CFLAGS -I$x_includes"
8742 # It would also be nice to do this for all -L options, not just this one.
8743 if test -n "$x_libraries"; then
8744 X_LIBS="$X_LIBS -L$x_libraries"
8745 # For Solaris; some versions of Sun CC require a space after -R and
8746 # others require no space. Words are not sufficient . . . .
8747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8748 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8749 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
8750 ac_xsave_c_werror_flag=$ac_c_werror_flag
8751 ac_c_werror_flag=yes
8752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8753 /* end confdefs.h. */
8756 main ()
8760 return 0;
8762 _ACEOF
8763 if ac_fn_c_try_link "$LINENO"; then :
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8765 $as_echo "no" >&6; }
8766 X_LIBS="$X_LIBS -R$x_libraries"
8767 else
8768 LIBS="$ac_xsave_LIBS -R $x_libraries"
8769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8770 /* end confdefs.h. */
8773 main ()
8777 return 0;
8779 _ACEOF
8780 if ac_fn_c_try_link "$LINENO"; then :
8781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8782 $as_echo "yes" >&6; }
8783 X_LIBS="$X_LIBS -R $x_libraries"
8784 else
8785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8786 $as_echo "neither works" >&6; }
8788 rm -f core conftest.err conftest.$ac_objext \
8789 conftest$ac_exeext conftest.$ac_ext
8791 rm -f core conftest.err conftest.$ac_objext \
8792 conftest$ac_exeext conftest.$ac_ext
8793 ac_c_werror_flag=$ac_xsave_c_werror_flag
8794 LIBS=$ac_xsave_LIBS
8797 # Check for system-dependent libraries X programs must link with.
8798 # Do this before checking for the system-independent R6 libraries
8799 # (-lICE), since we may need -lsocket or whatever for X linking.
8801 if test "$ISC" = yes; then
8802 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
8803 else
8804 # Martyn Johnson says this is needed for Ultrix, if the X
8805 # libraries were built with DECnet support. And Karl Berry says
8806 # the Alpha needs dnet_stub (dnet does not exist).
8807 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
8808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8809 /* end confdefs.h. */
8811 /* Override any GCC internal prototype to avoid an error.
8812 Use char because int might match the return type of a GCC
8813 builtin and then its argument prototype would still apply. */
8814 #ifdef __cplusplus
8815 extern "C"
8816 #endif
8817 char XOpenDisplay ();
8819 main ()
8821 return XOpenDisplay ();
8823 return 0;
8825 _ACEOF
8826 if ac_fn_c_try_link "$LINENO"; then :
8828 else
8829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8830 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8831 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
8832 $as_echo_n "(cached) " >&6
8833 else
8834 ac_check_lib_save_LIBS=$LIBS
8835 LIBS="-ldnet $LIBS"
8836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8837 /* end confdefs.h. */
8839 /* Override any GCC internal prototype to avoid an error.
8840 Use char because int might match the return type of a GCC
8841 builtin and then its argument prototype would still apply. */
8842 #ifdef __cplusplus
8843 extern "C"
8844 #endif
8845 char dnet_ntoa ();
8847 main ()
8849 return dnet_ntoa ();
8851 return 0;
8853 _ACEOF
8854 if ac_fn_c_try_link "$LINENO"; then :
8855 ac_cv_lib_dnet_dnet_ntoa=yes
8856 else
8857 ac_cv_lib_dnet_dnet_ntoa=no
8859 rm -f core conftest.err conftest.$ac_objext \
8860 conftest$ac_exeext conftest.$ac_ext
8861 LIBS=$ac_check_lib_save_LIBS
8863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8864 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8865 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
8866 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
8869 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
8870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8871 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8872 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
8873 $as_echo_n "(cached) " >&6
8874 else
8875 ac_check_lib_save_LIBS=$LIBS
8876 LIBS="-ldnet_stub $LIBS"
8877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8878 /* end confdefs.h. */
8880 /* Override any GCC internal prototype to avoid an error.
8881 Use char because int might match the return type of a GCC
8882 builtin and then its argument prototype would still apply. */
8883 #ifdef __cplusplus
8884 extern "C"
8885 #endif
8886 char dnet_ntoa ();
8888 main ()
8890 return dnet_ntoa ();
8892 return 0;
8894 _ACEOF
8895 if ac_fn_c_try_link "$LINENO"; then :
8896 ac_cv_lib_dnet_stub_dnet_ntoa=yes
8897 else
8898 ac_cv_lib_dnet_stub_dnet_ntoa=no
8900 rm -f core conftest.err conftest.$ac_objext \
8901 conftest$ac_exeext conftest.$ac_ext
8902 LIBS=$ac_check_lib_save_LIBS
8904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8905 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
8906 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
8907 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
8912 rm -f core conftest.err conftest.$ac_objext \
8913 conftest$ac_exeext conftest.$ac_ext
8914 LIBS="$ac_xsave_LIBS"
8916 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8917 # to get the SysV transport functions.
8918 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
8919 # needs -lnsl.
8920 # The nsl library prevents programs from opening the X display
8921 # on Irix 5.2, according to T.E. Dickey.
8922 # The functions gethostbyname, getservbyname, and inet_addr are
8923 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
8924 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
8925 if test "x$ac_cv_func_gethostbyname" = xyes; then :
8929 if test $ac_cv_func_gethostbyname = no; then
8930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
8931 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
8932 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
8933 $as_echo_n "(cached) " >&6
8934 else
8935 ac_check_lib_save_LIBS=$LIBS
8936 LIBS="-lnsl $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 gethostbyname ();
8948 main ()
8950 return gethostbyname ();
8952 return 0;
8954 _ACEOF
8955 if ac_fn_c_try_link "$LINENO"; then :
8956 ac_cv_lib_nsl_gethostbyname=yes
8957 else
8958 ac_cv_lib_nsl_gethostbyname=no
8960 rm -f core conftest.err conftest.$ac_objext \
8961 conftest$ac_exeext conftest.$ac_ext
8962 LIBS=$ac_check_lib_save_LIBS
8964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
8965 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
8966 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
8967 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
8970 if test $ac_cv_lib_nsl_gethostbyname = no; then
8971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
8972 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
8973 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
8974 $as_echo_n "(cached) " >&6
8975 else
8976 ac_check_lib_save_LIBS=$LIBS
8977 LIBS="-lbsd $LIBS"
8978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8979 /* end confdefs.h. */
8981 /* Override any GCC internal prototype to avoid an error.
8982 Use char because int might match the return type of a GCC
8983 builtin and then its argument prototype would still apply. */
8984 #ifdef __cplusplus
8985 extern "C"
8986 #endif
8987 char gethostbyname ();
8989 main ()
8991 return gethostbyname ();
8993 return 0;
8995 _ACEOF
8996 if ac_fn_c_try_link "$LINENO"; then :
8997 ac_cv_lib_bsd_gethostbyname=yes
8998 else
8999 ac_cv_lib_bsd_gethostbyname=no
9001 rm -f core conftest.err conftest.$ac_objext \
9002 conftest$ac_exeext conftest.$ac_ext
9003 LIBS=$ac_check_lib_save_LIBS
9005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9006 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9007 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9008 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9014 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9015 # socket/setsockopt and other routines are undefined under SCO ODT
9016 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9017 # on later versions), says Simon Leinen: it contains gethostby*
9018 # variants that don't use the name server (or something). -lsocket
9019 # must be given before -lnsl if both are needed. We assume that
9020 # if connect needs -lnsl, so does gethostbyname.
9021 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9022 if test "x$ac_cv_func_connect" = xyes; then :
9026 if test $ac_cv_func_connect = no; then
9027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9028 $as_echo_n "checking for connect in -lsocket... " >&6; }
9029 if ${ac_cv_lib_socket_connect+:} false; then :
9030 $as_echo_n "(cached) " >&6
9031 else
9032 ac_check_lib_save_LIBS=$LIBS
9033 LIBS="-lsocket $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 connect ();
9045 main ()
9047 return connect ();
9049 return 0;
9051 _ACEOF
9052 if ac_fn_c_try_link "$LINENO"; then :
9053 ac_cv_lib_socket_connect=yes
9054 else
9055 ac_cv_lib_socket_connect=no
9057 rm -f core conftest.err conftest.$ac_objext \
9058 conftest$ac_exeext conftest.$ac_ext
9059 LIBS=$ac_check_lib_save_LIBS
9061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9062 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9063 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9064 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9069 # Guillermo Gomez says -lposix is necessary on A/UX.
9070 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9071 if test "x$ac_cv_func_remove" = xyes; then :
9075 if test $ac_cv_func_remove = no; then
9076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9077 $as_echo_n "checking for remove in -lposix... " >&6; }
9078 if ${ac_cv_lib_posix_remove+:} false; then :
9079 $as_echo_n "(cached) " >&6
9080 else
9081 ac_check_lib_save_LIBS=$LIBS
9082 LIBS="-lposix $LIBS"
9083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9084 /* end confdefs.h. */
9086 /* Override any GCC internal prototype to avoid an error.
9087 Use char because int might match the return type of a GCC
9088 builtin and then its argument prototype would still apply. */
9089 #ifdef __cplusplus
9090 extern "C"
9091 #endif
9092 char remove ();
9094 main ()
9096 return remove ();
9098 return 0;
9100 _ACEOF
9101 if ac_fn_c_try_link "$LINENO"; then :
9102 ac_cv_lib_posix_remove=yes
9103 else
9104 ac_cv_lib_posix_remove=no
9106 rm -f core conftest.err conftest.$ac_objext \
9107 conftest$ac_exeext conftest.$ac_ext
9108 LIBS=$ac_check_lib_save_LIBS
9110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9111 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9112 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9113 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9118 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9119 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9120 if test "x$ac_cv_func_shmat" = xyes; then :
9124 if test $ac_cv_func_shmat = no; then
9125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9126 $as_echo_n "checking for shmat in -lipc... " >&6; }
9127 if ${ac_cv_lib_ipc_shmat+:} false; then :
9128 $as_echo_n "(cached) " >&6
9129 else
9130 ac_check_lib_save_LIBS=$LIBS
9131 LIBS="-lipc $LIBS"
9132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9133 /* end confdefs.h. */
9135 /* Override any GCC internal prototype to avoid an error.
9136 Use char because int might match the return type of a GCC
9137 builtin and then its argument prototype would still apply. */
9138 #ifdef __cplusplus
9139 extern "C"
9140 #endif
9141 char shmat ();
9143 main ()
9145 return shmat ();
9147 return 0;
9149 _ACEOF
9150 if ac_fn_c_try_link "$LINENO"; then :
9151 ac_cv_lib_ipc_shmat=yes
9152 else
9153 ac_cv_lib_ipc_shmat=no
9155 rm -f core conftest.err conftest.$ac_objext \
9156 conftest$ac_exeext conftest.$ac_ext
9157 LIBS=$ac_check_lib_save_LIBS
9159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9160 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9161 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9162 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9168 # Check for libraries that X11R6 Xt/Xaw programs need.
9169 ac_save_LDFLAGS=$LDFLAGS
9170 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9171 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9172 # check for ICE first), but we must link in the order -lSM -lICE or
9173 # we get undefined symbols. So assume we have SM if we have ICE.
9174 # These have to be linked with before -lX11, unlike the other
9175 # libraries we check for below, so use a different variable.
9176 # John Interrante, Karl Berry
9177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9178 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9179 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9180 $as_echo_n "(cached) " >&6
9181 else
9182 ac_check_lib_save_LIBS=$LIBS
9183 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9185 /* end confdefs.h. */
9187 /* Override any GCC internal prototype to avoid an error.
9188 Use char because int might match the return type of a GCC
9189 builtin and then its argument prototype would still apply. */
9190 #ifdef __cplusplus
9191 extern "C"
9192 #endif
9193 char IceConnectionNumber ();
9195 main ()
9197 return IceConnectionNumber ();
9199 return 0;
9201 _ACEOF
9202 if ac_fn_c_try_link "$LINENO"; then :
9203 ac_cv_lib_ICE_IceConnectionNumber=yes
9204 else
9205 ac_cv_lib_ICE_IceConnectionNumber=no
9207 rm -f core conftest.err conftest.$ac_objext \
9208 conftest$ac_exeext conftest.$ac_ext
9209 LIBS=$ac_check_lib_save_LIBS
9211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9212 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9213 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9214 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9217 LDFLAGS=$ac_save_LDFLAGS
9222 if test "$have_x" = "yes"
9223 then
9224 ac_save_CPPFLAGS="$CPPFLAGS"
9225 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9228 $as_echo_n "checking for -lX11... " >&6; }
9229 if ${ac_cv_lib_soname_X11+:} false; then :
9230 $as_echo_n "(cached) " >&6
9231 else
9232 ac_check_soname_save_LIBS=$LIBS
9233 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9235 /* end confdefs.h. */
9237 /* Override any GCC internal prototype to avoid an error.
9238 Use char because int might match the return type of a GCC
9239 builtin and then its argument prototype would still apply. */
9240 #ifdef __cplusplus
9241 extern "C"
9242 #endif
9243 char XCreateWindow ();
9245 main ()
9247 return XCreateWindow ();
9249 return 0;
9251 _ACEOF
9252 if ac_fn_c_try_link "$LINENO"; then :
9253 case "$LIBEXT" in
9254 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9255 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'` ;;
9256 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9257 if ${ac_cv_lib_soname_X11:+false} :; then :
9258 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9259 fi ;;
9260 esac
9262 rm -f core conftest.err conftest.$ac_objext \
9263 conftest$ac_exeext conftest.$ac_ext
9264 LIBS=$ac_check_soname_save_LIBS
9266 if ${ac_cv_lib_soname_X11:+false} :; then :
9267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9268 $as_echo "not found" >&6; }
9270 else
9271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9272 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9274 cat >>confdefs.h <<_ACEOF
9275 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9276 _ACEOF
9280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9281 $as_echo_n "checking for -lXext... " >&6; }
9282 if ${ac_cv_lib_soname_Xext+:} false; then :
9283 $as_echo_n "(cached) " >&6
9284 else
9285 ac_check_soname_save_LIBS=$LIBS
9286 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9288 /* end confdefs.h. */
9290 /* Override any GCC internal prototype to avoid an error.
9291 Use char because int might match the return type of a GCC
9292 builtin and then its argument prototype would still apply. */
9293 #ifdef __cplusplus
9294 extern "C"
9295 #endif
9296 char XextCreateExtension ();
9298 main ()
9300 return XextCreateExtension ();
9302 return 0;
9304 _ACEOF
9305 if ac_fn_c_try_link "$LINENO"; then :
9306 case "$LIBEXT" in
9307 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9308 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'` ;;
9309 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9310 if ${ac_cv_lib_soname_Xext:+false} :; then :
9311 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9312 fi ;;
9313 esac
9315 rm -f core conftest.err conftest.$ac_objext \
9316 conftest$ac_exeext conftest.$ac_ext
9317 LIBS=$ac_check_soname_save_LIBS
9319 if ${ac_cv_lib_soname_Xext:+false} :; then :
9320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9321 $as_echo "not found" >&6; }
9323 else
9324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9325 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9327 cat >>confdefs.h <<_ACEOF
9328 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9329 _ACEOF
9331 X_LIBS="$X_LIBS -lXext"
9333 X_LIBS="$X_LIBS -lX11"
9335 for ac_header in X11/Xlib.h \
9336 X11/XKBlib.h \
9337 X11/Xutil.h \
9338 X11/Xcursor/Xcursor.h \
9339 X11/extensions/shape.h \
9340 X11/extensions/XInput.h \
9341 X11/extensions/XInput2.h \
9342 X11/extensions/XShm.h \
9343 X11/extensions/Xcomposite.h \
9344 X11/extensions/Xinerama.h \
9345 X11/extensions/Xrandr.h \
9346 X11/extensions/Xrender.h \
9347 X11/extensions/xf86vmode.h \
9348 X11/extensions/xf86vmproto.h
9349 do :
9350 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9351 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9352 # include <X11/Xlib.h>
9353 #endif
9354 #ifdef HAVE_X11_XUTIL_H
9355 # include <X11/Xutil.h>
9356 #endif
9358 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9359 cat >>confdefs.h <<_ACEOF
9360 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9361 _ACEOF
9365 done
9368 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9369 then
9370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9371 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9372 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9373 $as_echo_n "(cached) " >&6
9374 else
9375 ac_check_lib_save_LIBS=$LIBS
9376 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9378 /* end confdefs.h. */
9380 /* Override any GCC internal prototype to avoid an error.
9381 Use char because int might match the return type of a GCC
9382 builtin and then its argument prototype would still apply. */
9383 #ifdef __cplusplus
9384 extern "C"
9385 #endif
9386 char XkbQueryExtension ();
9388 main ()
9390 return XkbQueryExtension ();
9392 return 0;
9394 _ACEOF
9395 if ac_fn_c_try_link "$LINENO"; then :
9396 ac_cv_lib_X11_XkbQueryExtension=yes
9397 else
9398 ac_cv_lib_X11_XkbQueryExtension=no
9400 rm -f core conftest.err conftest.$ac_objext \
9401 conftest$ac_exeext conftest.$ac_ext
9402 LIBS=$ac_check_lib_save_LIBS
9404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9405 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9406 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9408 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9414 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9415 then
9416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9417 $as_echo_n "checking for -lXcursor... " >&6; }
9418 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9419 $as_echo_n "(cached) " >&6
9420 else
9421 ac_check_soname_save_LIBS=$LIBS
9422 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9424 /* end confdefs.h. */
9426 /* Override any GCC internal prototype to avoid an error.
9427 Use char because int might match the return type of a GCC
9428 builtin and then its argument prototype would still apply. */
9429 #ifdef __cplusplus
9430 extern "C"
9431 #endif
9432 char XcursorImageLoadCursor ();
9434 main ()
9436 return XcursorImageLoadCursor ();
9438 return 0;
9440 _ACEOF
9441 if ac_fn_c_try_link "$LINENO"; then :
9442 case "$LIBEXT" in
9443 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9444 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'` ;;
9445 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9446 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9447 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9448 fi ;;
9449 esac
9451 rm -f core conftest.err conftest.$ac_objext \
9452 conftest$ac_exeext conftest.$ac_ext
9453 LIBS=$ac_check_soname_save_LIBS
9455 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9457 $as_echo "not found" >&6; }
9459 else
9460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9461 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9463 cat >>confdefs.h <<_ACEOF
9464 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9465 _ACEOF
9470 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9471 case "x$with_xcursor" in
9472 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9473 xno) ;;
9474 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9475 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9476 esac
9479 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9480 then
9481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9482 $as_echo_n "checking for -lXi... " >&6; }
9483 if ${ac_cv_lib_soname_Xi+:} false; then :
9484 $as_echo_n "(cached) " >&6
9485 else
9486 ac_check_soname_save_LIBS=$LIBS
9487 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9489 /* end confdefs.h. */
9491 /* Override any GCC internal prototype to avoid an error.
9492 Use char because int might match the return type of a GCC
9493 builtin and then its argument prototype would still apply. */
9494 #ifdef __cplusplus
9495 extern "C"
9496 #endif
9497 char XOpenDevice ();
9499 main ()
9501 return XOpenDevice ();
9503 return 0;
9505 _ACEOF
9506 if ac_fn_c_try_link "$LINENO"; then :
9507 case "$LIBEXT" in
9508 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9509 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'` ;;
9510 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9511 if ${ac_cv_lib_soname_Xi:+false} :; then :
9512 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9513 fi ;;
9514 esac
9516 rm -f core conftest.err conftest.$ac_objext \
9517 conftest$ac_exeext conftest.$ac_ext
9518 LIBS=$ac_check_soname_save_LIBS
9520 if ${ac_cv_lib_soname_Xi:+false} :; then :
9521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9522 $as_echo "not found" >&6; }
9524 else
9525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9526 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9528 cat >>confdefs.h <<_ACEOF
9529 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9530 _ACEOF
9535 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9536 case "x$with_xinput" in
9537 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9538 xno) ;;
9539 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9540 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9541 esac
9544 if test "x$ac_cv_lib_soname_Xi" != x
9545 then
9546 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9547 case "x$with_xinput2" in
9548 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9549 xno) ;;
9550 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9551 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9552 esac
9556 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9557 then
9558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9559 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9560 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9561 $as_echo_n "(cached) " >&6
9562 else
9563 ac_check_lib_save_LIBS=$LIBS
9564 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9566 /* end confdefs.h. */
9568 /* Override any GCC internal prototype to avoid an error.
9569 Use char because int might match the return type of a GCC
9570 builtin and then its argument prototype would still apply. */
9571 #ifdef __cplusplus
9572 extern "C"
9573 #endif
9574 char XShmQueryExtension ();
9576 main ()
9578 return XShmQueryExtension ();
9580 return 0;
9582 _ACEOF
9583 if ac_fn_c_try_link "$LINENO"; then :
9584 ac_cv_lib_Xext_XShmQueryExtension=yes
9585 else
9586 ac_cv_lib_Xext_XShmQueryExtension=no
9588 rm -f core conftest.err conftest.$ac_objext \
9589 conftest$ac_exeext conftest.$ac_ext
9590 LIBS=$ac_check_lib_save_LIBS
9592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9593 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9594 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9596 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9601 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9602 case "x$with_xshm" in
9603 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9604 xno) ;;
9605 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9606 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9607 esac
9610 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9611 then
9612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9613 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9614 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9615 $as_echo_n "(cached) " >&6
9616 else
9617 ac_check_lib_save_LIBS=$LIBS
9618 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9620 /* end confdefs.h. */
9622 /* Override any GCC internal prototype to avoid an error.
9623 Use char because int might match the return type of a GCC
9624 builtin and then its argument prototype would still apply. */
9625 #ifdef __cplusplus
9626 extern "C"
9627 #endif
9628 char XShapeQueryExtension ();
9630 main ()
9632 return XShapeQueryExtension ();
9634 return 0;
9636 _ACEOF
9637 if ac_fn_c_try_link "$LINENO"; then :
9638 ac_cv_lib_Xext_XShapeQueryExtension=yes
9639 else
9640 ac_cv_lib_Xext_XShapeQueryExtension=no
9642 rm -f core conftest.err conftest.$ac_objext \
9643 conftest$ac_exeext conftest.$ac_ext
9644 LIBS=$ac_check_lib_save_LIBS
9646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9647 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9648 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9650 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9655 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9656 case "x$with_xshape" in
9657 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9658 xno) ;;
9659 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
9660 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9661 esac
9664 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9665 then
9666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9667 $as_echo_n "checking for -lXxf86vm... " >&6; }
9668 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
9669 $as_echo_n "(cached) " >&6
9670 else
9671 ac_check_soname_save_LIBS=$LIBS
9672 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9674 /* end confdefs.h. */
9676 /* Override any GCC internal prototype to avoid an error.
9677 Use char because int might match the return type of a GCC
9678 builtin and then its argument prototype would still apply. */
9679 #ifdef __cplusplus
9680 extern "C"
9681 #endif
9682 char XF86VidModeQueryExtension ();
9684 main ()
9686 return XF86VidModeQueryExtension ();
9688 return 0;
9690 _ACEOF
9691 if ac_fn_c_try_link "$LINENO"; then :
9692 case "$LIBEXT" in
9693 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9694 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'` ;;
9695 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9696 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9697 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9698 fi ;;
9699 esac
9701 rm -f core conftest.err conftest.$ac_objext \
9702 conftest$ac_exeext conftest.$ac_ext
9703 LIBS=$ac_check_soname_save_LIBS
9705 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9707 $as_echo "not found" >&6; }
9709 else
9710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9711 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9713 cat >>confdefs.h <<_ACEOF
9714 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9715 _ACEOF
9720 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9721 case "x$with_xxf86vm" in
9722 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9723 xno) ;;
9724 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9725 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9726 esac
9729 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"
9730 then
9731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9732 $as_echo_n "checking for -lXrender... " >&6; }
9733 if ${ac_cv_lib_soname_Xrender+:} false; then :
9734 $as_echo_n "(cached) " >&6
9735 else
9736 ac_check_soname_save_LIBS=$LIBS
9737 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9739 /* end confdefs.h. */
9741 /* Override any GCC internal prototype to avoid an error.
9742 Use char because int might match the return type of a GCC
9743 builtin and then its argument prototype would still apply. */
9744 #ifdef __cplusplus
9745 extern "C"
9746 #endif
9747 char XRenderQueryExtension ();
9749 main ()
9751 return XRenderQueryExtension ();
9753 return 0;
9755 _ACEOF
9756 if ac_fn_c_try_link "$LINENO"; then :
9757 case "$LIBEXT" in
9758 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9759 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'` ;;
9760 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9761 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9762 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9763 fi ;;
9764 esac
9766 rm -f core conftest.err conftest.$ac_objext \
9767 conftest$ac_exeext conftest.$ac_ext
9768 LIBS=$ac_check_soname_save_LIBS
9770 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9772 $as_echo "not found" >&6; }
9774 else
9775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9776 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9778 cat >>confdefs.h <<_ACEOF
9779 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9780 _ACEOF
9782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9783 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9784 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
9785 $as_echo_n "(cached) " >&6
9786 else
9787 ac_check_lib_save_LIBS=$LIBS
9788 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9790 /* end confdefs.h. */
9792 /* Override any GCC internal prototype to avoid an error.
9793 Use char because int might match the return type of a GCC
9794 builtin and then its argument prototype would still apply. */
9795 #ifdef __cplusplus
9796 extern "C"
9797 #endif
9798 char XRenderSetPictureTransform ();
9800 main ()
9802 return XRenderSetPictureTransform ();
9804 return 0;
9806 _ACEOF
9807 if ac_fn_c_try_link "$LINENO"; then :
9808 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9809 else
9810 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9812 rm -f core conftest.err conftest.$ac_objext \
9813 conftest$ac_exeext conftest.$ac_ext
9814 LIBS=$ac_check_lib_save_LIBS
9816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9817 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9818 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
9820 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9825 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9826 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
9827 $as_echo_n "(cached) " >&6
9828 else
9829 ac_check_lib_save_LIBS=$LIBS
9830 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9832 /* end confdefs.h. */
9834 /* Override any GCC internal prototype to avoid an error.
9835 Use char because int might match the return type of a GCC
9836 builtin and then its argument prototype would still apply. */
9837 #ifdef __cplusplus
9838 extern "C"
9839 #endif
9840 char XRenderCreateLinearGradient ();
9842 main ()
9844 return XRenderCreateLinearGradient ();
9846 return 0;
9848 _ACEOF
9849 if ac_fn_c_try_link "$LINENO"; then :
9850 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
9851 else
9852 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
9854 rm -f core conftest.err conftest.$ac_objext \
9855 conftest$ac_exeext conftest.$ac_ext
9856 LIBS=$ac_check_lib_save_LIBS
9858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9859 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9860 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
9862 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9869 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9870 case "x$with_xrender" in
9871 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9872 xno) ;;
9873 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
9874 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9875 esac
9878 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9879 then
9880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9881 /* end confdefs.h. */
9882 #include <X11/Xlib.h>
9883 #include <X11/extensions/Xrandr.h>
9885 main ()
9887 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9889 return 0;
9891 _ACEOF
9892 if ac_fn_c_try_compile "$LINENO"; then :
9893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9894 $as_echo_n "checking for -lXrandr... " >&6; }
9895 if ${ac_cv_lib_soname_Xrandr+:} false; then :
9896 $as_echo_n "(cached) " >&6
9897 else
9898 ac_check_soname_save_LIBS=$LIBS
9899 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
9900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9901 /* end confdefs.h. */
9903 /* Override any GCC internal prototype to avoid an error.
9904 Use char because int might match the return type of a GCC
9905 builtin and then its argument prototype would still apply. */
9906 #ifdef __cplusplus
9907 extern "C"
9908 #endif
9909 char XRRQueryExtension ();
9911 main ()
9913 return XRRQueryExtension ();
9915 return 0;
9917 _ACEOF
9918 if ac_fn_c_try_link "$LINENO"; then :
9919 case "$LIBEXT" in
9920 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9921 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'` ;;
9922 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9923 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
9924 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9925 fi ;;
9926 esac
9928 rm -f core conftest.err conftest.$ac_objext \
9929 conftest$ac_exeext conftest.$ac_ext
9930 LIBS=$ac_check_soname_save_LIBS
9932 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
9933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9934 $as_echo "not found" >&6; }
9936 else
9937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
9938 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
9940 cat >>confdefs.h <<_ACEOF
9941 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
9942 _ACEOF
9944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9945 /* end confdefs.h. */
9946 #include <X11/Xlib.h>
9947 #include <X11/extensions/Xrandr.h>
9949 main ()
9951 static typeof(XRRGetScreenResources) *f; if (f) return 0;
9953 return 0;
9955 _ACEOF
9956 if ac_fn_c_try_compile "$LINENO"; then :
9958 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
9961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9966 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
9967 case "x$with_xrandr" in
9968 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
9969 xno) ;;
9970 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
9971 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
9972 esac
9975 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
9976 then
9977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9978 /* end confdefs.h. */
9979 #include <X11/Xlib.h>
9980 #include <X11/extensions/Xinerama.h>
9982 main ()
9984 static typeof(XineramaQueryScreens) * func; if (func) return 0;
9986 return 0;
9988 _ACEOF
9989 if ac_fn_c_try_compile "$LINENO"; then :
9990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
9991 $as_echo_n "checking for -lXinerama... " >&6; }
9992 if ${ac_cv_lib_soname_Xinerama+:} false; then :
9993 $as_echo_n "(cached) " >&6
9994 else
9995 ac_check_soname_save_LIBS=$LIBS
9996 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
9997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9998 /* end confdefs.h. */
10000 /* Override any GCC internal prototype to avoid an error.
10001 Use char because int might match the return type of a GCC
10002 builtin and then its argument prototype would still apply. */
10003 #ifdef __cplusplus
10004 extern "C"
10005 #endif
10006 char XineramaQueryScreens ();
10008 main ()
10010 return XineramaQueryScreens ();
10012 return 0;
10014 _ACEOF
10015 if ac_fn_c_try_link "$LINENO"; then :
10016 case "$LIBEXT" in
10017 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10018 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'` ;;
10019 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10020 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10021 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10022 fi ;;
10023 esac
10025 rm -f core conftest.err conftest.$ac_objext \
10026 conftest$ac_exeext conftest.$ac_ext
10027 LIBS=$ac_check_soname_save_LIBS
10029 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10031 $as_echo "not found" >&6; }
10033 else
10034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10035 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10037 cat >>confdefs.h <<_ACEOF
10038 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10039 _ACEOF
10044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10046 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10047 case "x$with_xinerama" in
10048 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10049 xno) ;;
10050 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10051 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10052 esac
10055 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10056 then
10057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10058 $as_echo_n "checking for -lXcomposite... " >&6; }
10059 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10060 $as_echo_n "(cached) " >&6
10061 else
10062 ac_check_soname_save_LIBS=$LIBS
10063 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10065 /* end confdefs.h. */
10067 /* Override any GCC internal prototype to avoid an error.
10068 Use char because int might match the return type of a GCC
10069 builtin and then its argument prototype would still apply. */
10070 #ifdef __cplusplus
10071 extern "C"
10072 #endif
10073 char XCompositeRedirectWindow ();
10075 main ()
10077 return XCompositeRedirectWindow ();
10079 return 0;
10081 _ACEOF
10082 if ac_fn_c_try_link "$LINENO"; then :
10083 case "$LIBEXT" in
10084 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10085 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'` ;;
10086 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10087 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10088 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10089 fi ;;
10090 esac
10092 rm -f core conftest.err conftest.$ac_objext \
10093 conftest$ac_exeext conftest.$ac_ext
10094 LIBS=$ac_check_soname_save_LIBS
10096 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10098 $as_echo "not found" >&6; }
10100 else
10101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10102 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10104 cat >>confdefs.h <<_ACEOF
10105 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10106 _ACEOF
10111 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10112 case "x$with_xcomposite" in
10113 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10114 xno) ;;
10115 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10116 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10117 esac
10120 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10121 #include <X11/Xlib.h>
10122 #endif
10124 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10126 cat >>confdefs.h <<_ACEOF
10127 #define HAVE_XICCALLBACK_CALLBACK 1
10128 _ACEOF
10132 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10133 #include <X11/Xlib.h>
10134 #endif
10136 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10138 cat >>confdefs.h <<_ACEOF
10139 #define HAVE_XEVENT_XCOOKIE 1
10140 _ACEOF
10147 opengl_msg=""
10148 if test "x$with_opengl" != "xno"
10149 then
10150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10151 $as_echo_n "checking for -lGL... " >&6; }
10152 if ${ac_cv_lib_soname_GL+:} false; then :
10153 $as_echo_n "(cached) " >&6
10154 else
10155 ac_check_soname_save_LIBS=$LIBS
10156 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10158 /* end confdefs.h. */
10160 /* Override any GCC internal prototype to avoid an error.
10161 Use char because int might match the return type of a GCC
10162 builtin and then its argument prototype would still apply. */
10163 #ifdef __cplusplus
10164 extern "C"
10165 #endif
10166 char glXCreateContext ();
10168 main ()
10170 return glXCreateContext ();
10172 return 0;
10174 _ACEOF
10175 if ac_fn_c_try_link "$LINENO"; then :
10176 case "$LIBEXT" in
10177 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10178 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'` ;;
10179 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10180 if ${ac_cv_lib_soname_GL:+false} :; then :
10181 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10182 fi ;;
10183 esac
10185 rm -f core conftest.err conftest.$ac_objext \
10186 conftest$ac_exeext conftest.$ac_ext
10187 LIBS=$ac_check_soname_save_LIBS
10189 if ${ac_cv_lib_soname_GL:+false} :; then :
10190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10191 $as_echo "not found" >&6; }
10192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10193 $as_echo_n "checking for -lGL... " >&6; }
10194 if ${ac_cv_lib_soname_GL+:} false; then :
10195 $as_echo_n "(cached) " >&6
10196 else
10197 ac_check_soname_save_LIBS=$LIBS
10198 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS -dylib_file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib $LIBS"
10199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10200 /* end confdefs.h. */
10202 /* Override any GCC internal prototype to avoid an error.
10203 Use char because int might match the return type of a GCC
10204 builtin and then its argument prototype would still apply. */
10205 #ifdef __cplusplus
10206 extern "C"
10207 #endif
10208 char glXCreateContext ();
10210 main ()
10212 return glXCreateContext ();
10214 return 0;
10216 _ACEOF
10217 if ac_fn_c_try_link "$LINENO"; then :
10218 case "$LIBEXT" in
10219 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10220 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'` ;;
10221 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10222 if ${ac_cv_lib_soname_GL:+false} :; then :
10223 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10224 fi ;;
10225 esac
10227 rm -f core conftest.err conftest.$ac_objext \
10228 conftest$ac_exeext conftest.$ac_ext
10229 LIBS=$ac_check_soname_save_LIBS
10231 if ${ac_cv_lib_soname_GL:+false} :; then :
10232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10233 $as_echo "not found" >&6; }
10234 if test -f /usr/X11R6/lib/libGL.a
10235 then
10236 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10237 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10238 else
10239 opengl_msg="No OpenGL library found on this system."
10241 else
10242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10243 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10245 cat >>confdefs.h <<_ACEOF
10246 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10247 _ACEOF
10249 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"
10251 else
10252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10253 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10255 cat >>confdefs.h <<_ACEOF
10256 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10257 _ACEOF
10259 OPENGL_LIBS="-lGL"
10261 if test "x$with_glu" != "xno"
10262 then
10263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10264 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10265 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10266 $as_echo_n "(cached) " >&6
10267 else
10268 ac_check_lib_save_LIBS=$LIBS
10269 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10271 /* end confdefs.h. */
10273 /* Override any GCC internal prototype to avoid an error.
10274 Use char because int might match the return type of a GCC
10275 builtin and then its argument prototype would still apply. */
10276 #ifdef __cplusplus
10277 extern "C"
10278 #endif
10279 char gluLookAt ();
10281 main ()
10283 return gluLookAt ();
10285 return 0;
10287 _ACEOF
10288 if ac_fn_c_try_link "$LINENO"; then :
10289 ac_cv_lib_GLU_gluLookAt=yes
10290 else
10291 ac_cv_lib_GLU_gluLookAt=no
10293 rm -f core conftest.err conftest.$ac_objext \
10294 conftest$ac_exeext conftest.$ac_ext
10295 LIBS=$ac_check_lib_save_LIBS
10297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10298 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10299 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10303 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10304 case "x$with_glu" in
10305 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10306 xno) ;;
10307 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10308 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10309 esac
10313 if test "x$with_osmesa" != "xno"
10314 then
10315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10316 $as_echo_n "checking for -lOSMesa... " >&6; }
10317 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10318 $as_echo_n "(cached) " >&6
10319 else
10320 ac_check_soname_save_LIBS=$LIBS
10321 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10323 /* end confdefs.h. */
10325 /* Override any GCC internal prototype to avoid an error.
10326 Use char because int might match the return type of a GCC
10327 builtin and then its argument prototype would still apply. */
10328 #ifdef __cplusplus
10329 extern "C"
10330 #endif
10331 char glAccum ();
10333 main ()
10335 return glAccum ();
10337 return 0;
10339 _ACEOF
10340 if ac_fn_c_try_link "$LINENO"; then :
10341 case "$LIBEXT" in
10342 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10343 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'` ;;
10344 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10345 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10346 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10347 fi ;;
10348 esac
10350 rm -f core conftest.err conftest.$ac_objext \
10351 conftest$ac_exeext conftest.$ac_ext
10352 LIBS=$ac_check_soname_save_LIBS
10354 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10356 $as_echo "not found" >&6; }
10358 else
10359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10360 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10362 cat >>confdefs.h <<_ACEOF
10363 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10364 _ACEOF
10368 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10369 case "x$with_osmesa" in
10370 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10371 xno) ;;
10372 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10373 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10374 esac
10378 if test -n "$opengl_msg"; then :
10379 case "x$with_opengl" in
10380 x) as_fn_append wine_warnings "|$opengl_msg
10381 OpenGL and Direct3D won't be supported." ;;
10382 xno) ;;
10383 *) as_fn_error $? "$opengl_msg
10384 OpenGL and Direct3D won't be supported.
10385 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10386 esac
10389 CPPFLAGS="$ac_save_CPPFLAGS"
10390 else
10391 X_CFLAGS=""
10392 X_LIBS=""
10393 enable_winex11_drv=${enable_winex11_drv:-no}
10395 if test "x$X_LIBS" = "x"; then :
10396 case "x$with_x" in
10397 xno) ;;
10398 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10399 without X support, which probably isn't what you want. You will need
10400 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10401 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10402 esac
10405 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10407 if test "$ac_cv_header_CL_cl_h" = "yes"
10408 then
10409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10410 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10411 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10412 $as_echo_n "(cached) " >&6
10413 else
10414 ac_check_lib_save_LIBS=$LIBS
10415 LIBS="-lOpenCL $LIBS"
10416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10417 /* end confdefs.h. */
10419 /* Override any GCC internal prototype to avoid an error.
10420 Use char because int might match the return type of a GCC
10421 builtin and then its argument prototype would still apply. */
10422 #ifdef __cplusplus
10423 extern "C"
10424 #endif
10425 char clGetPlatformInfo ();
10427 main ()
10429 return clGetPlatformInfo ();
10431 return 0;
10433 _ACEOF
10434 if ac_fn_c_try_link "$LINENO"; then :
10435 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10436 else
10437 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10439 rm -f core conftest.err conftest.$ac_objext \
10440 conftest$ac_exeext conftest.$ac_ext
10441 LIBS=$ac_check_lib_save_LIBS
10443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10444 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10445 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10446 OPENCL_LIBS="-lOpenCL"
10451 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10452 case "x$with_opencl" in
10453 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10454 xno) ;;
10455 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10456 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10457 esac
10459 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10462 if test "x$with_xml" != "xno"
10463 then
10464 if ${XML2_CFLAGS:+false} :; then :
10465 if ${PKG_CONFIG+:} false; then :
10466 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10469 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10470 if ${XML2_LIBS:+false} :; then :
10471 if ${PKG_CONFIG+:} false; then :
10472 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10475 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10476 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10477 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10478 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10479 ac_save_CPPFLAGS=$CPPFLAGS
10480 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10481 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10482 do :
10483 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10484 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10485 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10486 cat >>confdefs.h <<_ACEOF
10487 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10488 _ACEOF
10492 done
10494 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"
10495 then
10496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10497 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10498 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10499 $as_echo_n "(cached) " >&6
10500 else
10501 ac_check_lib_save_LIBS=$LIBS
10502 LIBS="-lxml2 $XML2_LIBS $LIBS"
10503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10504 /* end confdefs.h. */
10506 /* Override any GCC internal prototype to avoid an error.
10507 Use char because int might match the return type of a GCC
10508 builtin and then its argument prototype would still apply. */
10509 #ifdef __cplusplus
10510 extern "C"
10511 #endif
10512 char xmlParseMemory ();
10514 main ()
10516 return xmlParseMemory ();
10518 return 0;
10520 _ACEOF
10521 if ac_fn_c_try_link "$LINENO"; then :
10522 ac_cv_lib_xml2_xmlParseMemory=yes
10523 else
10524 ac_cv_lib_xml2_xmlParseMemory=no
10526 rm -f core conftest.err conftest.$ac_objext \
10527 conftest$ac_exeext conftest.$ac_ext
10528 LIBS=$ac_check_lib_save_LIBS
10530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10531 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10532 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10534 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10536 else
10537 XML2_LIBS=""
10540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10541 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10542 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10543 $as_echo_n "(cached) " >&6
10544 else
10545 ac_check_lib_save_LIBS=$LIBS
10546 LIBS="-lxml2 $XML2_LIBS $LIBS"
10547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10548 /* end confdefs.h. */
10550 /* Override any GCC internal prototype to avoid an error.
10551 Use char because int might match the return type of a GCC
10552 builtin and then its argument prototype would still apply. */
10553 #ifdef __cplusplus
10554 extern "C"
10555 #endif
10556 char xmlReadMemory ();
10558 main ()
10560 return xmlReadMemory ();
10562 return 0;
10564 _ACEOF
10565 if ac_fn_c_try_link "$LINENO"; then :
10566 ac_cv_lib_xml2_xmlReadMemory=yes
10567 else
10568 ac_cv_lib_xml2_xmlReadMemory=no
10570 rm -f core conftest.err conftest.$ac_objext \
10571 conftest$ac_exeext conftest.$ac_ext
10572 LIBS=$ac_check_lib_save_LIBS
10574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10575 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10576 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
10578 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10583 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10584 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
10585 $as_echo_n "(cached) " >&6
10586 else
10587 ac_check_lib_save_LIBS=$LIBS
10588 LIBS="-lxml2 $XML2_LIBS $LIBS"
10589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10590 /* end confdefs.h. */
10592 /* Override any GCC internal prototype to avoid an error.
10593 Use char because int might match the return type of a GCC
10594 builtin and then its argument prototype would still apply. */
10595 #ifdef __cplusplus
10596 extern "C"
10597 #endif
10598 char xmlNewDocPI ();
10600 main ()
10602 return xmlNewDocPI ();
10604 return 0;
10606 _ACEOF
10607 if ac_fn_c_try_link "$LINENO"; then :
10608 ac_cv_lib_xml2_xmlNewDocPI=yes
10609 else
10610 ac_cv_lib_xml2_xmlNewDocPI=no
10612 rm -f core conftest.err conftest.$ac_objext \
10613 conftest$ac_exeext conftest.$ac_ext
10614 LIBS=$ac_check_lib_save_LIBS
10616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10617 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10618 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
10620 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10625 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10626 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
10627 $as_echo_n "(cached) " >&6
10628 else
10629 ac_check_lib_save_LIBS=$LIBS
10630 LIBS="-lxml2 $XML2_LIBS $LIBS"
10631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10632 /* end confdefs.h. */
10634 /* Override any GCC internal prototype to avoid an error.
10635 Use char because int might match the return type of a GCC
10636 builtin and then its argument prototype would still apply. */
10637 #ifdef __cplusplus
10638 extern "C"
10639 #endif
10640 char xmlSchemaSetParserStructuredErrors ();
10642 main ()
10644 return xmlSchemaSetParserStructuredErrors ();
10646 return 0;
10648 _ACEOF
10649 if ac_fn_c_try_link "$LINENO"; then :
10650 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
10651 else
10652 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
10654 rm -f core conftest.err conftest.$ac_objext \
10655 conftest$ac_exeext conftest.$ac_ext
10656 LIBS=$ac_check_lib_save_LIBS
10658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10659 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10660 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
10662 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10667 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10668 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
10669 $as_echo_n "(cached) " >&6
10670 else
10671 ac_check_lib_save_LIBS=$LIBS
10672 LIBS="-lxml2 $XML2_LIBS $LIBS"
10673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10674 /* end confdefs.h. */
10676 /* Override any GCC internal prototype to avoid an error.
10677 Use char because int might match the return type of a GCC
10678 builtin and then its argument prototype would still apply. */
10679 #ifdef __cplusplus
10680 extern "C"
10681 #endif
10682 char xmlSchemaSetValidStructuredErrors ();
10684 main ()
10686 return xmlSchemaSetValidStructuredErrors ();
10688 return 0;
10690 _ACEOF
10691 if ac_fn_c_try_link "$LINENO"; then :
10692 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
10693 else
10694 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
10696 rm -f core conftest.err conftest.$ac_objext \
10697 conftest$ac_exeext conftest.$ac_ext
10698 LIBS=$ac_check_lib_save_LIBS
10700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10701 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10702 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
10704 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10709 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10710 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
10711 $as_echo_n "(cached) " >&6
10712 else
10713 ac_check_lib_save_LIBS=$LIBS
10714 LIBS="-lxml2 $XML2_LIBS $LIBS"
10715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10716 /* end confdefs.h. */
10718 /* Override any GCC internal prototype to avoid an error.
10719 Use char because int might match the return type of a GCC
10720 builtin and then its argument prototype would still apply. */
10721 #ifdef __cplusplus
10722 extern "C"
10723 #endif
10724 char xmlFirstElementChild ();
10726 main ()
10728 return xmlFirstElementChild ();
10730 return 0;
10732 _ACEOF
10733 if ac_fn_c_try_link "$LINENO"; then :
10734 ac_cv_lib_xml2_xmlFirstElementChild=yes
10735 else
10736 ac_cv_lib_xml2_xmlFirstElementChild=no
10738 rm -f core conftest.err conftest.$ac_objext \
10739 conftest$ac_exeext conftest.$ac_ext
10740 LIBS=$ac_check_lib_save_LIBS
10742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10743 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10744 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
10746 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10750 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10752 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
10754 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10758 else
10759 XML2_CFLAGS=""
10760 XML2_LIBS=""
10762 CPPFLAGS=$ac_save_CPPFLAGS
10763 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10764 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10767 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10768 case "x$with_xml" in
10769 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10770 xno) ;;
10771 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10772 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10773 esac
10776 if test "x$with_xslt" != "xno"
10777 then
10778 if ${XSLT_CFLAGS:+false} :; then :
10779 if ${PKG_CONFIG+:} false; then :
10780 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10783 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10784 if ${XSLT_LIBS:+false} :; then :
10785 if ${PKG_CONFIG+:} false; then :
10786 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10789 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10790 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
10791 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
10792 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
10793 ac_save_CPPFLAGS=$CPPFLAGS
10794 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
10795 for ac_header in libxslt/pattern.h libxslt/transform.h
10796 do :
10797 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10798 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10799 # include <libxslt/pattern.h>
10800 #endif
10802 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10803 cat >>confdefs.h <<_ACEOF
10804 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10805 _ACEOF
10809 done
10811 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10812 then
10813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10814 $as_echo_n "checking for -lxslt... " >&6; }
10815 if ${ac_cv_lib_soname_xslt+:} false; then :
10816 $as_echo_n "(cached) " >&6
10817 else
10818 ac_check_soname_save_LIBS=$LIBS
10819 LIBS="-lxslt $XSLT_LIBS $LIBS"
10820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10821 /* end confdefs.h. */
10823 /* Override any GCC internal prototype to avoid an error.
10824 Use char because int might match the return type of a GCC
10825 builtin and then its argument prototype would still apply. */
10826 #ifdef __cplusplus
10827 extern "C"
10828 #endif
10829 char xsltCompilePattern ();
10831 main ()
10833 return xsltCompilePattern ();
10835 return 0;
10837 _ACEOF
10838 if ac_fn_c_try_link "$LINENO"; then :
10839 case "$LIBEXT" in
10840 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10841 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'` ;;
10842 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10843 if ${ac_cv_lib_soname_xslt:+false} :; then :
10844 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10845 fi ;;
10846 esac
10848 rm -f core conftest.err conftest.$ac_objext \
10849 conftest$ac_exeext conftest.$ac_ext
10850 LIBS=$ac_check_soname_save_LIBS
10852 if ${ac_cv_lib_soname_xslt:+false} :; then :
10853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10854 $as_echo "not found" >&6; }
10856 else
10857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
10858 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
10860 cat >>confdefs.h <<_ACEOF
10861 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
10862 _ACEOF
10866 else
10867 XSLT_CFLAGS=""
10869 CPPFLAGS=$ac_save_CPPFLAGS
10870 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10871 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10874 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10875 case "x$with_xslt" in
10876 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
10877 xno) ;;
10878 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
10879 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
10880 esac
10883 if test "x$with_dbus" != "xno"
10884 then
10885 if ${DBUS_CFLAGS:+false} :; then :
10886 if ${PKG_CONFIG+:} false; then :
10887 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
10891 if ${DBUS_LIBS:+false} :; then :
10892 if ${PKG_CONFIG+:} false; then :
10893 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
10898 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
10899 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
10900 ac_save_CPPFLAGS=$CPPFLAGS
10901 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
10902 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
10903 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
10904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
10905 $as_echo_n "checking for -ldbus-1... " >&6; }
10906 if ${ac_cv_lib_soname_dbus_1+:} false; then :
10907 $as_echo_n "(cached) " >&6
10908 else
10909 ac_check_soname_save_LIBS=$LIBS
10910 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
10911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10912 /* end confdefs.h. */
10914 /* Override any GCC internal prototype to avoid an error.
10915 Use char because int might match the return type of a GCC
10916 builtin and then its argument prototype would still apply. */
10917 #ifdef __cplusplus
10918 extern "C"
10919 #endif
10920 char dbus_connection_close ();
10922 main ()
10924 return dbus_connection_close ();
10926 return 0;
10928 _ACEOF
10929 if ac_fn_c_try_link "$LINENO"; then :
10930 case "$LIBEXT" in
10931 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10932 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'` ;;
10933 *) 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'`
10934 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
10935 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10936 fi ;;
10937 esac
10939 rm -f core conftest.err conftest.$ac_objext \
10940 conftest$ac_exeext conftest.$ac_ext
10941 LIBS=$ac_check_soname_save_LIBS
10943 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
10944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10945 $as_echo "not found" >&6; }
10946 DBUS_CFLAGS=""
10947 else
10948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
10949 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
10951 cat >>confdefs.h <<_ACEOF
10952 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
10953 _ACEOF
10957 else
10958 DBUS_CFLAGS=""
10962 CPPFLAGS=$ac_save_CPPFLAGS
10963 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10964 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10967 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
10968 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
10969 case "x$with_dbus" in
10970 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
10971 xno) ;;
10972 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
10973 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
10974 esac
10977 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
10978 then
10979 if ${HAL_CFLAGS:+false} :; then :
10980 if ${PKG_CONFIG+:} false; then :
10981 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
10985 if ${HAL_LIBS:+false} :; then :
10986 if ${PKG_CONFIG+:} false; then :
10987 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
10991 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
10992 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
10993 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
10994 ac_save_CPPFLAGS=$CPPFLAGS
10995 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
10996 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
10997 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
10998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
10999 $as_echo_n "checking for -lhal... " >&6; }
11000 if ${ac_cv_lib_soname_hal+:} false; then :
11001 $as_echo_n "(cached) " >&6
11002 else
11003 ac_check_soname_save_LIBS=$LIBS
11004 LIBS="-lhal $HAL_LIBS $LIBS"
11005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11006 /* end confdefs.h. */
11008 /* Override any GCC internal prototype to avoid an error.
11009 Use char because int might match the return type of a GCC
11010 builtin and then its argument prototype would still apply. */
11011 #ifdef __cplusplus
11012 extern "C"
11013 #endif
11014 char libhal_ctx_new ();
11016 main ()
11018 return libhal_ctx_new ();
11020 return 0;
11022 _ACEOF
11023 if ac_fn_c_try_link "$LINENO"; then :
11024 case "$LIBEXT" in
11025 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11026 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'` ;;
11027 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11028 if ${ac_cv_lib_soname_hal:+false} :; then :
11029 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11030 fi ;;
11031 esac
11033 rm -f core conftest.err conftest.$ac_objext \
11034 conftest$ac_exeext conftest.$ac_ext
11035 LIBS=$ac_check_soname_save_LIBS
11037 if ${ac_cv_lib_soname_hal:+false} :; then :
11038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11039 $as_echo "not found" >&6; }
11040 HAL_CFLAGS=""
11041 else
11042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11043 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11045 cat >>confdefs.h <<_ACEOF
11046 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11047 _ACEOF
11051 else
11052 HAL_CFLAGS=""
11056 CPPFLAGS=$ac_save_CPPFLAGS
11057 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11058 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11060 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11061 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11062 case "x$with_hal" in
11063 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11064 xno) ;;
11065 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11066 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11067 esac
11071 if test "x$with_gnutls" != "xno"
11072 then
11073 if ${GNUTLS_CFLAGS:+false} :; then :
11074 if ${PKG_CONFIG+:} false; then :
11075 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11079 if ${GNUTLS_LIBS:+false} :; then :
11080 if ${PKG_CONFIG+:} false; then :
11081 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11086 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11087 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11088 ac_save_CPPFLAGS=$CPPFLAGS
11089 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11090 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11091 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11093 /* end confdefs.h. */
11094 #include <gnutls/gnutls.h>
11095 #include <gnutls/crypto.h>
11097 main ()
11099 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11101 return 0;
11103 _ACEOF
11104 if ac_fn_c_try_compile "$LINENO"; then :
11105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11106 $as_echo_n "checking for -lgnutls... " >&6; }
11107 if ${ac_cv_lib_soname_gnutls+:} false; then :
11108 $as_echo_n "(cached) " >&6
11109 else
11110 ac_check_soname_save_LIBS=$LIBS
11111 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11113 /* end confdefs.h. */
11115 /* Override any GCC internal prototype to avoid an error.
11116 Use char because int might match the return type of a GCC
11117 builtin and then its argument prototype would still apply. */
11118 #ifdef __cplusplus
11119 extern "C"
11120 #endif
11121 char gnutls_global_init ();
11123 main ()
11125 return gnutls_global_init ();
11127 return 0;
11129 _ACEOF
11130 if ac_fn_c_try_link "$LINENO"; then :
11131 case "$LIBEXT" in
11132 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11133 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'` ;;
11134 *) ac_cv_lib_soname_gnutls=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11135 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11136 ac_cv_lib_soname_gnutls=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11137 fi ;;
11138 esac
11140 rm -f core conftest.err conftest.$ac_objext \
11141 conftest$ac_exeext conftest.$ac_ext
11142 LIBS=$ac_check_soname_save_LIBS
11144 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11146 $as_echo "not found" >&6; }
11147 GNUTLS_CFLAGS=""
11148 else
11149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11150 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11152 cat >>confdefs.h <<_ACEOF
11153 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11154 _ACEOF
11159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11160 else
11161 GNUTLS_CFLAGS=""
11165 CPPFLAGS=$ac_save_CPPFLAGS
11166 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11167 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11170 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11171 case "x$with_gnutls" in
11172 x) as_fn_append wine_notices "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11173 xno) ;;
11174 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11175 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11176 esac
11179 CURSES_LIBS=""
11180 if test "$ac_cv_header_ncurses_h" = "yes"
11181 then
11182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11183 $as_echo_n "checking for -lncurses... " >&6; }
11184 if ${ac_cv_lib_soname_ncurses+:} false; then :
11185 $as_echo_n "(cached) " >&6
11186 else
11187 ac_check_soname_save_LIBS=$LIBS
11188 LIBS="-lncurses $LIBS"
11189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11190 /* end confdefs.h. */
11192 /* Override any GCC internal prototype to avoid an error.
11193 Use char because int might match the return type of a GCC
11194 builtin and then its argument prototype would still apply. */
11195 #ifdef __cplusplus
11196 extern "C"
11197 #endif
11198 char waddch ();
11200 main ()
11202 return waddch ();
11204 return 0;
11206 _ACEOF
11207 if ac_fn_c_try_link "$LINENO"; then :
11208 case "$LIBEXT" in
11209 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11210 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'` ;;
11211 *) ac_cv_lib_soname_ncurses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11212 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11213 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11214 fi ;;
11215 esac
11217 rm -f core conftest.err conftest.$ac_objext \
11218 conftest$ac_exeext conftest.$ac_ext
11219 LIBS=$ac_check_soname_save_LIBS
11221 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11223 $as_echo "not found" >&6; }
11225 else
11226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11227 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11229 cat >>confdefs.h <<_ACEOF
11230 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11231 _ACEOF
11233 CURSES_LIBS="-lncurses"
11235 elif test "$ac_cv_header_curses_h" = "yes"
11236 then
11237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11238 $as_echo_n "checking for -lcurses... " >&6; }
11239 if ${ac_cv_lib_soname_curses+:} false; then :
11240 $as_echo_n "(cached) " >&6
11241 else
11242 ac_check_soname_save_LIBS=$LIBS
11243 LIBS="-lcurses $LIBS"
11244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11245 /* end confdefs.h. */
11247 /* Override any GCC internal prototype to avoid an error.
11248 Use char because int might match the return type of a GCC
11249 builtin and then its argument prototype would still apply. */
11250 #ifdef __cplusplus
11251 extern "C"
11252 #endif
11253 char waddch ();
11255 main ()
11257 return waddch ();
11259 return 0;
11261 _ACEOF
11262 if ac_fn_c_try_link "$LINENO"; then :
11263 case "$LIBEXT" in
11264 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11265 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'` ;;
11266 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11267 if ${ac_cv_lib_soname_curses:+false} :; then :
11268 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11269 fi ;;
11270 esac
11272 rm -f core conftest.err conftest.$ac_objext \
11273 conftest$ac_exeext conftest.$ac_ext
11274 LIBS=$ac_check_soname_save_LIBS
11276 if ${ac_cv_lib_soname_curses:+false} :; then :
11277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11278 $as_echo "not found" >&6; }
11280 else
11281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11282 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11284 cat >>confdefs.h <<_ACEOF
11285 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11286 _ACEOF
11288 CURSES_LIBS="-lcurses"
11291 ac_save_LIBS="$LIBS"
11292 LIBS="$LIBS $CURSES_LIBS"
11293 for ac_func in mousemask
11294 do :
11295 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11296 if test "x$ac_cv_func_mousemask" = xyes; then :
11297 cat >>confdefs.h <<_ACEOF
11298 #define HAVE_MOUSEMASK 1
11299 _ACEOF
11302 done
11304 LIBS="$ac_save_LIBS"
11305 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11306 case "x$with_curses" in
11307 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11308 xno) ;;
11309 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11310 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11311 esac
11314 if test "x$with_sane" != "xno"
11315 then
11316 if ${SANE_CFLAGS:+false} :; then :
11317 if ${PKG_CONFIG+:} false; then :
11318 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11321 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11322 if ${SANE_LIBS:+false} :; then :
11323 if ${PKG_CONFIG+:} false; then :
11324 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11327 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11329 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11330 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11331 ac_save_CPPFLAGS=$CPPFLAGS
11332 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11333 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11334 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11336 $as_echo_n "checking for -lsane... " >&6; }
11337 if ${ac_cv_lib_soname_sane+:} false; then :
11338 $as_echo_n "(cached) " >&6
11339 else
11340 ac_check_soname_save_LIBS=$LIBS
11341 LIBS="-lsane $SANE_LIBS $LIBS"
11342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11343 /* end confdefs.h. */
11345 /* Override any GCC internal prototype to avoid an error.
11346 Use char because int might match the return type of a GCC
11347 builtin and then its argument prototype would still apply. */
11348 #ifdef __cplusplus
11349 extern "C"
11350 #endif
11351 char sane_init ();
11353 main ()
11355 return sane_init ();
11357 return 0;
11359 _ACEOF
11360 if ac_fn_c_try_link "$LINENO"; then :
11361 case "$LIBEXT" in
11362 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11363 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'` ;;
11364 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11365 if ${ac_cv_lib_soname_sane:+false} :; then :
11366 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11367 fi ;;
11368 esac
11370 rm -f core conftest.err conftest.$ac_objext \
11371 conftest$ac_exeext conftest.$ac_ext
11372 LIBS=$ac_check_soname_save_LIBS
11374 if ${ac_cv_lib_soname_sane:+false} :; then :
11375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11376 $as_echo "not found" >&6; }
11377 SANE_CFLAGS=""
11378 else
11379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11380 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11382 cat >>confdefs.h <<_ACEOF
11383 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11384 _ACEOF
11388 else
11389 SANE_CFLAGS=""
11393 CPPFLAGS=$ac_save_CPPFLAGS
11394 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11395 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11398 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11399 case "x$with_sane" in
11400 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11401 xno) ;;
11402 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11403 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11404 esac
11407 if test "x$with_v4l" != "xno"
11408 then
11409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11410 $as_echo_n "checking for -lv4l1... " >&6; }
11411 if ${ac_cv_lib_soname_v4l1+:} false; then :
11412 $as_echo_n "(cached) " >&6
11413 else
11414 ac_check_soname_save_LIBS=$LIBS
11415 LIBS="-lv4l1 $LIBS"
11416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11417 /* end confdefs.h. */
11419 /* Override any GCC internal prototype to avoid an error.
11420 Use char because int might match the return type of a GCC
11421 builtin and then its argument prototype would still apply. */
11422 #ifdef __cplusplus
11423 extern "C"
11424 #endif
11425 char v4l1_open ();
11427 main ()
11429 return v4l1_open ();
11431 return 0;
11433 _ACEOF
11434 if ac_fn_c_try_link "$LINENO"; then :
11435 case "$LIBEXT" in
11436 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11437 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'` ;;
11438 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11439 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11440 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11441 fi ;;
11442 esac
11444 rm -f core conftest.err conftest.$ac_objext \
11445 conftest$ac_exeext conftest.$ac_ext
11446 LIBS=$ac_check_soname_save_LIBS
11448 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11450 $as_echo "not found" >&6; }
11452 else
11453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11454 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11456 cat >>confdefs.h <<_ACEOF
11457 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11458 _ACEOF
11463 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11464 case "x$with_v4l" in
11465 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11466 xno) ;;
11467 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11468 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11469 esac
11472 if test "x$with_gphoto" != "xno"
11473 then
11474 if ${GPHOTO2_CFLAGS:+false} :; then :
11475 if ${PKG_CONFIG+:} false; then :
11476 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11479 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11480 if ${GPHOTO2_LIBS:+false} :; then :
11481 if ${PKG_CONFIG+:} false; then :
11482 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11485 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11486 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11487 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11488 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11489 ac_save_CPPFLAGS=$CPPFLAGS
11490 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11491 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11492 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11494 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11495 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11496 $as_echo_n "(cached) " >&6
11497 else
11498 ac_check_lib_save_LIBS=$LIBS
11499 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11501 /* end confdefs.h. */
11503 /* Override any GCC internal prototype to avoid an error.
11504 Use char because int might match the return type of a GCC
11505 builtin and then its argument prototype would still apply. */
11506 #ifdef __cplusplus
11507 extern "C"
11508 #endif
11509 char gp_camera_new ();
11511 main ()
11513 return gp_camera_new ();
11515 return 0;
11517 _ACEOF
11518 if ac_fn_c_try_link "$LINENO"; then :
11519 ac_cv_lib_gphoto2_gp_camera_new=yes
11520 else
11521 ac_cv_lib_gphoto2_gp_camera_new=no
11523 rm -f core conftest.err conftest.$ac_objext \
11524 conftest$ac_exeext conftest.$ac_ext
11525 LIBS=$ac_check_lib_save_LIBS
11527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11528 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11529 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11531 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11533 else
11534 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11537 else
11538 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11542 CPPFLAGS=$ac_save_CPPFLAGS
11543 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11544 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11546 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11547 if ${PKG_CONFIG+:} false; then :
11548 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11551 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11552 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11553 if ${PKG_CONFIG+:} false; then :
11554 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11557 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11558 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11559 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11560 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11561 ac_save_CPPFLAGS=$CPPFLAGS
11562 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11563 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11564 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11566 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11567 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11568 $as_echo_n "(cached) " >&6
11569 else
11570 ac_check_lib_save_LIBS=$LIBS
11571 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $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 gp_port_info_list_new ();
11583 main ()
11585 return gp_port_info_list_new ();
11587 return 0;
11589 _ACEOF
11590 if ac_fn_c_try_link "$LINENO"; then :
11591 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
11592 else
11593 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
11595 rm -f core conftest.err conftest.$ac_objext \
11596 conftest$ac_exeext conftest.$ac_ext
11597 LIBS=$ac_check_lib_save_LIBS
11599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11600 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11601 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
11603 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11605 else
11606 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11609 else
11610 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11614 CPPFLAGS=$ac_save_CPPFLAGS
11615 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11616 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11619 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11620 case "x$with_gphoto" in
11621 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11622 xno) ;;
11623 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11624 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11625 esac
11627 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11628 case "x$with_gphoto" in
11629 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11630 xno) ;;
11631 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11632 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11633 esac
11637 if test "$ac_cv_header_resolv_h" = "yes"
11638 then
11639 ac_save_LIBS="$LIBS"
11640 for lib in '' -lresolv
11642 LIBS="$lib $ac_save_LIBS"
11643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11644 /* end confdefs.h. */
11645 #ifdef HAVE_NETINET_IN_H
11646 #include <netinet/in.h>
11647 #endif
11648 #include <resolv.h>
11650 main ()
11652 res_query("foo",ns_c_in,0,0,0);
11654 return 0;
11656 _ACEOF
11657 if ac_fn_c_try_link "$LINENO"; then :
11659 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11661 RESOLV_LIBS="$lib"
11664 rm -f core conftest.err conftest.$ac_objext \
11665 conftest$ac_exeext conftest.$ac_ext
11666 if test "${RESOLV_LIBS+set}" = set; then
11667 break
11669 done
11670 LIBS="$ac_save_LIBS"
11673 if test "x$with_lcms2" != "xno"
11674 then
11675 if ${LCMS2_CFLAGS:+false} :; then :
11676 if ${PKG_CONFIG+:} false; then :
11677 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11681 if ${LCMS2_LIBS:+false} :; then :
11682 if ${PKG_CONFIG+:} false; then :
11683 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11687 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
11688 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11689 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
11690 ac_save_CPPFLAGS=$CPPFLAGS
11691 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
11692 for ac_header in lcms2.h
11693 do :
11694 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11695 if test "x$ac_cv_header_lcms2_h" = xyes; then :
11696 cat >>confdefs.h <<_ACEOF
11697 #define HAVE_LCMS2_H 1
11698 _ACEOF
11702 done
11704 if test "$ac_cv_header_lcms2_h" = "yes"
11705 then
11706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11707 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11708 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
11709 $as_echo_n "(cached) " >&6
11710 else
11711 ac_check_lib_save_LIBS=$LIBS
11712 LIBS="-llcms2 $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 cmsOpenProfileFromFile ();
11724 main ()
11726 return cmsOpenProfileFromFile ();
11728 return 0;
11730 _ACEOF
11731 if ac_fn_c_try_link "$LINENO"; then :
11732 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
11733 else
11734 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
11736 rm -f core conftest.err conftest.$ac_objext \
11737 conftest$ac_exeext conftest.$ac_ext
11738 LIBS=$ac_check_lib_save_LIBS
11740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11741 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11742 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
11744 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11746 else
11747 LCMS2_LIBS=""
11750 else
11751 LCMS2_CFLAGS=""
11752 LCMS2_LIBS=""
11754 CPPFLAGS=$ac_save_CPPFLAGS
11755 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11756 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11759 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11760 case "x$with_cms" in
11761 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11762 xno) ;;
11763 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11764 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11765 esac
11768 if test "x$with_freetype" != "xno"
11769 then
11770 if ${FREETYPE_CFLAGS:+false} :; then :
11771 if ${PKG_CONFIG+:} false; then :
11772 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11775 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11776 if ${FREETYPE_LIBS:+false} :; then :
11777 if ${PKG_CONFIG+:} false; then :
11778 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11781 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11782 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
11783 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
11784 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
11785 ac_save_CPPFLAGS=$CPPFLAGS
11786 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
11787 for ac_header in ft2build.h
11788 do :
11789 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
11790 if test "x$ac_cv_header_ft2build_h" = xyes; then :
11791 cat >>confdefs.h <<_ACEOF
11792 #define HAVE_FT2BUILD_H 1
11793 _ACEOF
11797 done
11799 if test "$ac_cv_header_ft2build_h" = "yes"
11800 then
11801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11802 $as_echo_n "checking for -lfreetype... " >&6; }
11803 if ${ac_cv_lib_soname_freetype+:} false; then :
11804 $as_echo_n "(cached) " >&6
11805 else
11806 ac_check_soname_save_LIBS=$LIBS
11807 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
11808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11809 /* end confdefs.h. */
11811 /* Override any GCC internal prototype to avoid an error.
11812 Use char because int might match the return type of a GCC
11813 builtin and then its argument prototype would still apply. */
11814 #ifdef __cplusplus
11815 extern "C"
11816 #endif
11817 char FT_Init_FreeType ();
11819 main ()
11821 return FT_Init_FreeType ();
11823 return 0;
11825 _ACEOF
11826 if ac_fn_c_try_link "$LINENO"; then :
11827 case "$LIBEXT" in
11828 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11829 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'` ;;
11830 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11831 if ${ac_cv_lib_soname_freetype:+false} :; then :
11832 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11833 fi ;;
11834 esac
11836 rm -f core conftest.err conftest.$ac_objext \
11837 conftest$ac_exeext conftest.$ac_ext
11838 LIBS=$ac_check_soname_save_LIBS
11840 if ${ac_cv_lib_soname_freetype:+false} :; then :
11841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11842 $as_echo "not found" >&6; }
11843 FREETYPE_LIBS=""
11844 else
11845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
11846 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
11848 cat >>confdefs.h <<_ACEOF
11849 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
11850 _ACEOF
11853 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
11855 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
11856 #include FT_MODULE_H
11858 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
11860 cat >>confdefs.h <<_ACEOF
11861 #define HAVE_FT_TRUETYPEENGINETYPE 1
11862 _ACEOF
11868 else
11869 FREETYPE_CFLAGS=""
11870 FREETYPE_LIBS=""
11872 CPPFLAGS=$ac_save_CPPFLAGS
11873 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11874 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11877 if test "x$ac_cv_lib_soname_freetype" = x; then :
11878 case "x$with_freetype" in
11879 xno) ;;
11880 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
11881 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
11882 esac
11884 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
11886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
11887 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
11888 if ${ac_cv_c_ppdev+:} false; then :
11889 $as_echo_n "(cached) " >&6
11890 else
11891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11892 /* end confdefs.h. */
11893 #ifdef HAVE_SYS_IOCTL_H
11894 # include <sys/ioctl.h>
11895 #endif
11896 #include <linux/ppdev.h>
11898 main ()
11900 ioctl (1,PPCLAIM,0)
11902 return 0;
11904 _ACEOF
11905 if ac_fn_c_try_compile "$LINENO"; then :
11906 ac_cv_c_ppdev="yes"
11907 else
11908 ac_cv_c_ppdev="no"
11910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
11913 $as_echo "$ac_cv_c_ppdev" >&6; }
11914 if test "$ac_cv_c_ppdev" = "yes"
11915 then
11917 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
11921 ac_wine_check_funcs_save_LIBS="$LIBS"
11922 LIBS="$LIBS $PTHREAD_LIBS"
11923 for ac_func in \
11924 pthread_attr_get_np \
11925 pthread_getattr_np \
11926 pthread_getthreadid_np \
11927 pthread_get_stackaddr_np \
11928 pthread_get_stacksize_np
11929 do :
11930 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11931 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
11932 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
11933 cat >>confdefs.h <<_ACEOF
11934 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11935 _ACEOF
11938 done
11940 LIBS="$ac_wine_check_funcs_save_LIBS"
11942 if test "$ac_cv_header_zlib_h" = "yes"
11943 then
11944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
11945 $as_echo_n "checking for inflate in -lz... " >&6; }
11946 if ${ac_cv_lib_z_inflate+:} false; then :
11947 $as_echo_n "(cached) " >&6
11948 else
11949 ac_check_lib_save_LIBS=$LIBS
11950 LIBS="-lz $LIBS"
11951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11952 /* end confdefs.h. */
11954 /* Override any GCC internal prototype to avoid an error.
11955 Use char because int might match the return type of a GCC
11956 builtin and then its argument prototype would still apply. */
11957 #ifdef __cplusplus
11958 extern "C"
11959 #endif
11960 char inflate ();
11962 main ()
11964 return inflate ();
11966 return 0;
11968 _ACEOF
11969 if ac_fn_c_try_link "$LINENO"; then :
11970 ac_cv_lib_z_inflate=yes
11971 else
11972 ac_cv_lib_z_inflate=no
11974 rm -f core conftest.err conftest.$ac_objext \
11975 conftest$ac_exeext conftest.$ac_ext
11976 LIBS=$ac_check_lib_save_LIBS
11978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
11979 $as_echo "$ac_cv_lib_z_inflate" >&6; }
11980 if test "x$ac_cv_lib_z_inflate" = xyes; then :
11982 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
11984 Z_LIBS="-lz"
11989 if test "x$Z_LIBS" = "x"; then :
11990 case "x$with_zlib" in
11991 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
11992 xno) ;;
11993 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
11994 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
11995 esac
11998 if test "x$enable_tools" != xno
11999 then
12000 if test "$ac_cv_header_gettext_po_h" = "yes"
12001 then
12002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12003 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12004 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12005 $as_echo_n "(cached) " >&6
12006 else
12007 ac_check_lib_save_LIBS=$LIBS
12008 LIBS="-lgettextpo $LIBS"
12009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12010 /* end confdefs.h. */
12012 /* Override any GCC internal prototype to avoid an error.
12013 Use char because int might match the return type of a GCC
12014 builtin and then its argument prototype would still apply. */
12015 #ifdef __cplusplus
12016 extern "C"
12017 #endif
12018 char po_message_msgctxt ();
12020 main ()
12022 return po_message_msgctxt ();
12024 return 0;
12026 _ACEOF
12027 if ac_fn_c_try_link "$LINENO"; then :
12028 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12029 else
12030 ac_cv_lib_gettextpo_po_message_msgctxt=no
12032 rm -f core conftest.err conftest.$ac_objext \
12033 conftest$ac_exeext conftest.$ac_ext
12034 LIBS=$ac_check_lib_save_LIBS
12036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12037 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12038 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12040 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12042 GETTEXTPO_LIBS="-lgettextpo"
12047 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12048 case "x$with_gettextpo" in
12049 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12050 xno) ;;
12051 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12052 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12053 esac
12057 if test "x$with_gstreamer" != "xno"
12058 then
12059 if ${GSTREAMER_CFLAGS:+false} :; then :
12060 if ${PKG_CONFIG+:} false; then :
12061 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12065 if ${GSTREAMER_LIBS:+false} :; then :
12066 if ${PKG_CONFIG+:} false; then :
12067 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12072 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12073 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12074 ac_save_CPPFLAGS=$CPPFLAGS
12075 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12076 ac_gst_incl=""
12077 for i in $GSTREAMER_CFLAGS
12079 case "$i" in
12080 -I*) ac_gst_incl="$ac_gst_incl $i";;
12081 esac
12082 done
12083 GSTREAMER_CFLAGS=$ac_gst_incl
12084 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12085 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12086 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
12087 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12088 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
12089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12090 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12092 /* end confdefs.h. */
12093 #include <gst/app/gstappsink.h>
12095 main ()
12097 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12099 return 0;
12101 _ACEOF
12102 if ac_fn_c_try_compile "$LINENO"; then :
12103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12104 $as_echo "yes" >&6; }
12105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12106 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12107 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
12108 $as_echo_n "(cached) " >&6
12109 else
12110 ac_check_lib_save_LIBS=$LIBS
12111 LIBS="-lgstreamer-0.10 $LIBS"
12112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12113 /* end confdefs.h. */
12115 /* Override any GCC internal prototype to avoid an error.
12116 Use char because int might match the return type of a GCC
12117 builtin and then its argument prototype would still apply. */
12118 #ifdef __cplusplus
12119 extern "C"
12120 #endif
12121 char gst_pad_get_caps_reffed ();
12123 main ()
12125 return gst_pad_get_caps_reffed ();
12127 return 0;
12129 _ACEOF
12130 if ac_fn_c_try_link "$LINENO"; then :
12131 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
12132 else
12133 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
12135 rm -f core conftest.err conftest.$ac_objext \
12136 conftest$ac_exeext conftest.$ac_ext
12137 LIBS=$ac_check_lib_save_LIBS
12139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12140 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12141 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
12142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12143 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12144 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
12145 $as_echo_n "(cached) " >&6
12146 else
12147 ac_check_lib_save_LIBS=$LIBS
12148 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $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 gst_app_buffer_new ();
12160 main ()
12162 return gst_app_buffer_new ();
12164 return 0;
12166 _ACEOF
12167 if ac_fn_c_try_link "$LINENO"; then :
12168 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
12169 else
12170 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=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_gstapp_0_10_gst_app_buffer_new" >&5
12177 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12178 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
12184 else
12185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12186 $as_echo "no" >&6; }
12188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12192 else
12193 GSTREAMER_CFLAGS=""
12197 CPPFLAGS=$ac_save_CPPFLAGS
12198 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12199 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12202 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
12203 case "x$with_gstreamer" in
12204 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12205 xno) ;;
12206 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12207 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12208 esac
12210 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12212 ALSA_LIBS=""
12214 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12215 then
12216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12217 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12218 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12219 $as_echo_n "(cached) " >&6
12220 else
12221 ac_check_lib_save_LIBS=$LIBS
12222 LIBS="-lasound $LIBS"
12223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12224 /* end confdefs.h. */
12226 /* Override any GCC internal prototype to avoid an error.
12227 Use char because int might match the return type of a GCC
12228 builtin and then its argument prototype would still apply. */
12229 #ifdef __cplusplus
12230 extern "C"
12231 #endif
12232 char snd_pcm_hw_params_get_access_mask ();
12234 main ()
12236 return snd_pcm_hw_params_get_access_mask ();
12238 return 0;
12240 _ACEOF
12241 if ac_fn_c_try_link "$LINENO"; then :
12242 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12243 else
12244 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12246 rm -f core conftest.err conftest.$ac_objext \
12247 conftest$ac_exeext conftest.$ac_ext
12248 LIBS=$ac_check_lib_save_LIBS
12250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12251 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12252 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12254 /* end confdefs.h. */
12255 #ifdef HAVE_ALSA_ASOUNDLIB_H
12256 #include <alsa/asoundlib.h>
12257 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12258 #include <sys/asoundlib.h>
12259 #endif
12261 main ()
12263 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12265 return 0;
12267 _ACEOF
12268 if ac_fn_c_try_compile "$LINENO"; then :
12269 ALSA_LIBS="-lasound"
12271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12276 if test "x$with_oss" != xno
12277 then
12278 ac_save_CPPFLAGS="$CPPFLAGS"
12279 if test -f /etc/oss.conf
12280 then
12281 . /etc/oss.conf
12283 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12284 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12285 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12286 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12287 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12289 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12291 cat >>confdefs.h <<_ACEOF
12292 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12293 _ACEOF
12295 OSS4_CFLAGS="$ac_oss_incl"
12302 CPPFLAGS="$ac_save_CPPFLAGS"
12303 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12304 then
12305 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12309 if test "x$with_capi" != "xno"
12310 then
12311 if ${CAPI20_CFLAGS:+false} :; then :
12312 if ${PKG_CONFIG+:} false; then :
12313 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12317 if ${CAPI20_LIBS:+false} :; then :
12318 if ${PKG_CONFIG+:} false; then :
12319 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12324 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12325 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12326 ac_save_CPPFLAGS=$CPPFLAGS
12327 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12328 for ac_header in capi20.h linux/capi.h
12329 do :
12330 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12331 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12333 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12334 cat >>confdefs.h <<_ACEOF
12335 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12336 _ACEOF
12340 done
12342 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12343 then
12344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12345 $as_echo_n "checking for -lcapi20... " >&6; }
12346 if ${ac_cv_lib_soname_capi20+:} false; then :
12347 $as_echo_n "(cached) " >&6
12348 else
12349 ac_check_soname_save_LIBS=$LIBS
12350 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12352 /* end confdefs.h. */
12354 /* Override any GCC internal prototype to avoid an error.
12355 Use char because int might match the return type of a GCC
12356 builtin and then its argument prototype would still apply. */
12357 #ifdef __cplusplus
12358 extern "C"
12359 #endif
12360 char capi20_register ();
12362 main ()
12364 return capi20_register ();
12366 return 0;
12368 _ACEOF
12369 if ac_fn_c_try_link "$LINENO"; then :
12370 case "$LIBEXT" in
12371 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12372 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'` ;;
12373 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12374 if ${ac_cv_lib_soname_capi20:+false} :; then :
12375 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12376 fi ;;
12377 esac
12379 rm -f core conftest.err conftest.$ac_objext \
12380 conftest$ac_exeext conftest.$ac_ext
12381 LIBS=$ac_check_soname_save_LIBS
12383 if ${ac_cv_lib_soname_capi20:+false} :; then :
12384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12385 $as_echo "not found" >&6; }
12387 else
12388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12389 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12391 cat >>confdefs.h <<_ACEOF
12392 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12393 _ACEOF
12398 CPPFLAGS=$ac_save_CPPFLAGS
12399 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12400 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12403 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12404 case "x$with_capi" in
12405 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12406 xno) ;;
12407 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12408 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12409 esac
12412 CUPS_CFLAGS=""
12414 if test "x$with_cups" != "xno"
12415 then
12416 ac_save_CPPFLAGS="$CPPFLAGS"
12417 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12418 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12419 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12420 for ac_header in cups/cups.h
12421 do :
12422 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12423 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12424 cat >>confdefs.h <<_ACEOF
12425 #define HAVE_CUPS_CUPS_H 1
12426 _ACEOF
12427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12428 $as_echo_n "checking for -lcups... " >&6; }
12429 if ${ac_cv_lib_soname_cups+:} false; then :
12430 $as_echo_n "(cached) " >&6
12431 else
12432 ac_check_soname_save_LIBS=$LIBS
12433 LIBS="-lcups $ac_cups_libs $LIBS"
12434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12435 /* end confdefs.h. */
12437 /* Override any GCC internal prototype to avoid an error.
12438 Use char because int might match the return type of a GCC
12439 builtin and then its argument prototype would still apply. */
12440 #ifdef __cplusplus
12441 extern "C"
12442 #endif
12443 char cupsGetDefault ();
12445 main ()
12447 return cupsGetDefault ();
12449 return 0;
12451 _ACEOF
12452 if ac_fn_c_try_link "$LINENO"; then :
12453 case "$LIBEXT" in
12454 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12455 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'` ;;
12456 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12457 if ${ac_cv_lib_soname_cups:+false} :; then :
12458 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12459 fi ;;
12460 esac
12462 rm -f core conftest.err conftest.$ac_objext \
12463 conftest$ac_exeext conftest.$ac_ext
12464 LIBS=$ac_check_soname_save_LIBS
12466 if ${ac_cv_lib_soname_cups:+false} :; then :
12467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12468 $as_echo "not found" >&6; }
12470 else
12471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12472 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12474 cat >>confdefs.h <<_ACEOF
12475 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12476 _ACEOF
12478 CUPS_CFLAGS="$ac_cups_cflags"
12482 done
12484 CPPFLAGS="$ac_save_CPPFLAGS"
12486 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12487 case "x$with_cups" in
12488 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12489 xno) ;;
12490 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12491 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12492 esac
12495 if test "x$with_fontconfig" != "xno"
12496 then
12497 if ${FONTCONFIG_CFLAGS:+false} :; then :
12498 if ${PKG_CONFIG+:} false; then :
12499 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12502 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12503 if ${FONTCONFIG_LIBS:+false} :; then :
12504 if ${PKG_CONFIG+:} false; then :
12505 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12508 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
12510 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12511 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12512 ac_save_CPPFLAGS=$CPPFLAGS
12513 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
12514 for ac_header in fontconfig/fontconfig.h
12515 do :
12516 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12517 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
12518 cat >>confdefs.h <<_ACEOF
12519 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12520 _ACEOF
12524 done
12526 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12527 then
12528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12529 $as_echo_n "checking for -lfontconfig... " >&6; }
12530 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12531 $as_echo_n "(cached) " >&6
12532 else
12533 ac_check_soname_save_LIBS=$LIBS
12534 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12536 /* end confdefs.h. */
12538 /* Override any GCC internal prototype to avoid an error.
12539 Use char because int might match the return type of a GCC
12540 builtin and then its argument prototype would still apply. */
12541 #ifdef __cplusplus
12542 extern "C"
12543 #endif
12544 char FcInit ();
12546 main ()
12548 return FcInit ();
12550 return 0;
12552 _ACEOF
12553 if ac_fn_c_try_link "$LINENO"; then :
12554 case "$LIBEXT" in
12555 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12556 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'` ;;
12557 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12558 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12559 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12560 fi ;;
12561 esac
12563 rm -f core conftest.err conftest.$ac_objext \
12564 conftest$ac_exeext conftest.$ac_ext
12565 LIBS=$ac_check_soname_save_LIBS
12567 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12569 $as_echo "not found" >&6; }
12570 FONTCONFIG_CFLAGS=""
12571 else
12572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12573 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12575 cat >>confdefs.h <<_ACEOF
12576 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12577 _ACEOF
12581 else
12582 FONTCONFIG_CFLAGS=""
12584 CPPFLAGS=$ac_save_CPPFLAGS
12585 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12586 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12589 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12590 case "x$with_fontconfig" in
12591 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12592 xno) ;;
12593 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12594 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12595 esac
12598 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12599 then
12600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12601 $as_echo_n "checking for -lgsm... " >&6; }
12602 if ${ac_cv_lib_soname_gsm+:} false; then :
12603 $as_echo_n "(cached) " >&6
12604 else
12605 ac_check_soname_save_LIBS=$LIBS
12606 LIBS="-lgsm $LIBS"
12607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12608 /* end confdefs.h. */
12610 /* Override any GCC internal prototype to avoid an error.
12611 Use char because int might match the return type of a GCC
12612 builtin and then its argument prototype would still apply. */
12613 #ifdef __cplusplus
12614 extern "C"
12615 #endif
12616 char gsm_create ();
12618 main ()
12620 return gsm_create ();
12622 return 0;
12624 _ACEOF
12625 if ac_fn_c_try_link "$LINENO"; then :
12626 case "$LIBEXT" in
12627 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12628 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'` ;;
12629 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12630 if ${ac_cv_lib_soname_gsm:+false} :; then :
12631 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12632 fi ;;
12633 esac
12635 rm -f core conftest.err conftest.$ac_objext \
12636 conftest$ac_exeext conftest.$ac_ext
12637 LIBS=$ac_check_soname_save_LIBS
12639 if ${ac_cv_lib_soname_gsm:+false} :; then :
12640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12641 $as_echo "not found" >&6; }
12643 else
12644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12645 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12647 cat >>confdefs.h <<_ACEOF
12648 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12649 _ACEOF
12654 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12655 case "x$with_gsm" in
12656 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12657 xno) ;;
12658 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12659 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12660 esac
12663 if test "x$with_jpeg" != "xno"
12664 then
12665 if ${JPEG_CFLAGS:+false} :; then :
12666 if ${PKG_CONFIG+:} false; then :
12667 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12671 if ${JPEG_LIBS:+false} :; then :
12672 if ${PKG_CONFIG+:} false; then :
12673 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12678 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12679 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12680 ac_save_CPPFLAGS=$CPPFLAGS
12681 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
12682 for ac_header in jpeglib.h
12683 do :
12684 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12685 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
12686 cat >>confdefs.h <<_ACEOF
12687 #define HAVE_JPEGLIB_H 1
12688 _ACEOF
12692 done
12694 if test "$ac_cv_header_jpeglib_h" = "yes"
12695 then
12696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12697 $as_echo_n "checking for -ljpeg... " >&6; }
12698 if ${ac_cv_lib_soname_jpeg+:} false; then :
12699 $as_echo_n "(cached) " >&6
12700 else
12701 ac_check_soname_save_LIBS=$LIBS
12702 LIBS="-ljpeg $JPEG_LIBS $LIBS"
12703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12704 /* end confdefs.h. */
12706 /* Override any GCC internal prototype to avoid an error.
12707 Use char because int might match the return type of a GCC
12708 builtin and then its argument prototype would still apply. */
12709 #ifdef __cplusplus
12710 extern "C"
12711 #endif
12712 char jpeg_start_decompress ();
12714 main ()
12716 return jpeg_start_decompress ();
12718 return 0;
12720 _ACEOF
12721 if ac_fn_c_try_link "$LINENO"; then :
12722 case "$LIBEXT" in
12723 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12724 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'` ;;
12725 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12726 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12727 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12728 fi ;;
12729 esac
12731 rm -f core conftest.err conftest.$ac_objext \
12732 conftest$ac_exeext conftest.$ac_ext
12733 LIBS=$ac_check_soname_save_LIBS
12735 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12737 $as_echo "not found" >&6; }
12738 JPEG_CFLAGS=""
12739 else
12740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12741 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12743 cat >>confdefs.h <<_ACEOF
12744 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12745 _ACEOF
12749 else
12750 JPEG_CFLAGS=""
12752 CPPFLAGS=$ac_save_CPPFLAGS
12753 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12754 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12757 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12758 case "x$with_jpeg" in
12759 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12760 xno) ;;
12761 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12762 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12763 esac
12766 if test "x$with_png" != "xno"
12767 then
12768 if ${PNG_CFLAGS:+false} :; then :
12769 if ${PKG_CONFIG+:} false; then :
12770 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12773 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
12774 if ${PNG_LIBS:+false} :; then :
12775 if ${PKG_CONFIG+:} false; then :
12776 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
12779 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
12781 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
12782 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
12783 ac_save_CPPFLAGS=$CPPFLAGS
12784 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
12785 for ac_header in png.h
12786 do :
12787 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12788 if test "x$ac_cv_header_png_h" = xyes; then :
12789 cat >>confdefs.h <<_ACEOF
12790 #define HAVE_PNG_H 1
12791 _ACEOF
12795 done
12797 if test "$ac_cv_header_png_h" = "yes"
12798 then
12799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12800 $as_echo_n "checking for -lpng... " >&6; }
12801 if ${ac_cv_lib_soname_png+:} false; then :
12802 $as_echo_n "(cached) " >&6
12803 else
12804 ac_check_soname_save_LIBS=$LIBS
12805 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
12806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12807 /* end confdefs.h. */
12809 /* Override any GCC internal prototype to avoid an error.
12810 Use char because int might match the return type of a GCC
12811 builtin and then its argument prototype would still apply. */
12812 #ifdef __cplusplus
12813 extern "C"
12814 #endif
12815 char png_create_read_struct ();
12817 main ()
12819 return png_create_read_struct ();
12821 return 0;
12823 _ACEOF
12824 if ac_fn_c_try_link "$LINENO"; then :
12825 case "$LIBEXT" in
12826 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12827 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'` ;;
12828 *) 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'`
12829 if ${ac_cv_lib_soname_png:+false} :; then :
12830 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12831 fi ;;
12832 esac
12834 rm -f core conftest.err conftest.$ac_objext \
12835 conftest$ac_exeext conftest.$ac_ext
12836 LIBS=$ac_check_soname_save_LIBS
12838 if ${ac_cv_lib_soname_png:+false} :; then :
12839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12840 $as_echo "not found" >&6; }
12841 PNG_CFLAGS=""
12842 else
12843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
12844 $as_echo "$ac_cv_lib_soname_png" >&6; }
12846 cat >>confdefs.h <<_ACEOF
12847 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
12848 _ACEOF
12850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12851 /* end confdefs.h. */
12852 #include <png.h>
12854 main ()
12856 typeof(png_set_expand_gray_1_2_4_to_8) *p
12858 return 0;
12860 _ACEOF
12861 if ac_fn_c_try_compile "$LINENO"; then :
12863 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
12866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12868 else
12869 PNG_CFLAGS=""
12871 CPPFLAGS=$ac_save_CPPFLAGS
12872 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12873 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12876 if test "x$ac_cv_lib_soname_png" = "x"; then :
12877 case "x$with_png" in
12878 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
12879 xno) ;;
12880 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
12881 This is an error since --with-png was requested." "$LINENO" 5 ;;
12882 esac
12885 if test "x$with_tiff" != "xno"
12886 then
12887 if ${TIFF_CFLAGS:+false} :; then :
12888 if ${PKG_CONFIG+:} false; then :
12889 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
12893 if ${TIFF_LIBS:+false} :; then :
12894 if ${PKG_CONFIG+:} false; then :
12895 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
12900 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
12901 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
12902 ac_save_CPPFLAGS=$CPPFLAGS
12903 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
12904 for ac_header in tiffio.h
12905 do :
12906 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
12907 if test "x$ac_cv_header_tiffio_h" = xyes; then :
12908 cat >>confdefs.h <<_ACEOF
12909 #define HAVE_TIFFIO_H 1
12910 _ACEOF
12914 done
12916 if test "$ac_cv_header_tiffio_h" = "yes"
12917 then
12918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
12919 $as_echo_n "checking for -ltiff... " >&6; }
12920 if ${ac_cv_lib_soname_tiff+:} false; then :
12921 $as_echo_n "(cached) " >&6
12922 else
12923 ac_check_soname_save_LIBS=$LIBS
12924 LIBS="-ltiff $TIFF_LIBS $LIBS"
12925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12926 /* end confdefs.h. */
12928 /* Override any GCC internal prototype to avoid an error.
12929 Use char because int might match the return type of a GCC
12930 builtin and then its argument prototype would still apply. */
12931 #ifdef __cplusplus
12932 extern "C"
12933 #endif
12934 char TIFFClientOpen ();
12936 main ()
12938 return TIFFClientOpen ();
12940 return 0;
12942 _ACEOF
12943 if ac_fn_c_try_link "$LINENO"; then :
12944 case "$LIBEXT" in
12945 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12946 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'` ;;
12947 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12948 if ${ac_cv_lib_soname_tiff:+false} :; then :
12949 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12950 fi ;;
12951 esac
12953 rm -f core conftest.err conftest.$ac_objext \
12954 conftest$ac_exeext conftest.$ac_ext
12955 LIBS=$ac_check_soname_save_LIBS
12957 if ${ac_cv_lib_soname_tiff:+false} :; then :
12958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12959 $as_echo "not found" >&6; }
12961 else
12962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
12963 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
12965 cat >>confdefs.h <<_ACEOF
12966 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
12967 _ACEOF
12972 CPPFLAGS=$ac_save_CPPFLAGS
12973 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12974 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12977 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
12978 case "x$with_tiff" in
12979 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
12980 xno) ;;
12981 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
12982 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
12983 esac
12986 if test "x$with_mpg123" != "xno"
12987 then
12988 if ${MPG123_CFLAGS:+false} :; then :
12989 if ${PKG_CONFIG+:} false; then :
12990 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
12994 if ${MPG123_LIBS:+false} :; then :
12995 if ${PKG_CONFIG+:} false; then :
12996 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13000 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13001 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13002 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13003 ac_save_CPPFLAGS=$CPPFLAGS
13004 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13005 for ac_header in mpg123.h
13006 do :
13007 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13008 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13009 cat >>confdefs.h <<_ACEOF
13010 #define HAVE_MPG123_H 1
13011 _ACEOF
13015 done
13017 if test "$ac_cv_header_mpg123_h" = "yes"
13018 then
13019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13020 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13021 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13022 $as_echo_n "(cached) " >&6
13023 else
13024 ac_check_lib_save_LIBS=$LIBS
13025 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13027 /* end confdefs.h. */
13029 /* Override any GCC internal prototype to avoid an error.
13030 Use char because int might match the return type of a GCC
13031 builtin and then its argument prototype would still apply. */
13032 #ifdef __cplusplus
13033 extern "C"
13034 #endif
13035 char mpg123_feed ();
13037 main ()
13039 return mpg123_feed ();
13041 return 0;
13043 _ACEOF
13044 if ac_fn_c_try_link "$LINENO"; then :
13045 ac_cv_lib_mpg123_mpg123_feed=yes
13046 else
13047 ac_cv_lib_mpg123_mpg123_feed=no
13049 rm -f core conftest.err conftest.$ac_objext \
13050 conftest$ac_exeext conftest.$ac_ext
13051 LIBS=$ac_check_lib_save_LIBS
13053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13054 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13055 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13057 else
13058 MPG123_LIBS=""
13061 else
13062 MPG123_CFLAGS=""
13063 MPG123_LIBS=""
13065 CPPFLAGS=$ac_save_CPPFLAGS
13066 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13067 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13070 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13071 case "x$with_mpg123" in
13072 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13073 xno) ;;
13074 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13075 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13076 esac
13078 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}
13080 if test "$ac_cv_header_AL_al_h" = "yes"
13081 then
13082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13083 $as_echo_n "checking for -lopenal... " >&6; }
13084 if ${ac_cv_lib_soname_openal+:} false; then :
13085 $as_echo_n "(cached) " >&6
13086 else
13087 ac_check_soname_save_LIBS=$LIBS
13088 LIBS="-lopenal $LIBS"
13089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13090 /* end confdefs.h. */
13092 /* Override any GCC internal prototype to avoid an error.
13093 Use char because int might match the return type of a GCC
13094 builtin and then its argument prototype would still apply. */
13095 #ifdef __cplusplus
13096 extern "C"
13097 #endif
13098 char alGetSource3i ();
13100 main ()
13102 return alGetSource3i ();
13104 return 0;
13106 _ACEOF
13107 if ac_fn_c_try_link "$LINENO"; then :
13108 case "$LIBEXT" in
13109 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13110 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'` ;;
13111 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13112 if ${ac_cv_lib_soname_openal:+false} :; then :
13113 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13114 fi ;;
13115 esac
13117 rm -f core conftest.err conftest.$ac_objext \
13118 conftest$ac_exeext conftest.$ac_ext
13119 LIBS=$ac_check_soname_save_LIBS
13121 if ${ac_cv_lib_soname_openal:+false} :; then :
13122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13123 $as_echo "not found" >&6; }
13125 else
13126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13127 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13129 cat >>confdefs.h <<_ACEOF
13130 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13131 _ACEOF
13133 OPENAL_LIBS="-lopenal"
13135 ac_cv_lib_openal=yes
13137 cat >>confdefs.h <<_ACEOF
13138 #define HAVE_OPENAL 1
13139 _ACEOF
13143 if test "x$ac_cv_lib_openal" != xyes; then :
13144 case "x$with_openal" in
13145 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13146 xno) ;;
13147 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13148 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13149 esac
13151 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13153 if test "$ac_cv_header_kstat_h" = "yes"
13154 then
13155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13156 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13157 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13158 $as_echo_n "(cached) " >&6
13159 else
13160 ac_check_lib_save_LIBS=$LIBS
13161 LIBS="-lkstat $LIBS"
13162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13163 /* end confdefs.h. */
13165 /* Override any GCC internal prototype to avoid an error.
13166 Use char because int might match the return type of a GCC
13167 builtin and then its argument prototype would still apply. */
13168 #ifdef __cplusplus
13169 extern "C"
13170 #endif
13171 char kstat_open ();
13173 main ()
13175 return kstat_open ();
13177 return 0;
13179 _ACEOF
13180 if ac_fn_c_try_link "$LINENO"; then :
13181 ac_cv_lib_kstat_kstat_open=yes
13182 else
13183 ac_cv_lib_kstat_kstat_open=no
13185 rm -f core conftest.err conftest.$ac_objext \
13186 conftest$ac_exeext conftest.$ac_ext
13187 LIBS=$ac_check_lib_save_LIBS
13189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13190 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13191 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13193 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13195 KSTAT_LIBS="-lkstat"
13201 if test "$ac_cv_header_libprocstat_h" = "yes"
13202 then
13203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13204 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13205 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13206 $as_echo_n "(cached) " >&6
13207 else
13208 ac_check_lib_save_LIBS=$LIBS
13209 LIBS="-lprocstat $LIBS"
13210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13211 /* end confdefs.h. */
13213 /* Override any GCC internal prototype to avoid an error.
13214 Use char because int might match the return type of a GCC
13215 builtin and then its argument prototype would still apply. */
13216 #ifdef __cplusplus
13217 extern "C"
13218 #endif
13219 char procstat_open_sysctl ();
13221 main ()
13223 return procstat_open_sysctl ();
13225 return 0;
13227 _ACEOF
13228 if ac_fn_c_try_link "$LINENO"; then :
13229 ac_cv_lib_procstat_procstat_open_sysctl=yes
13230 else
13231 ac_cv_lib_procstat_procstat_open_sysctl=no
13233 rm -f core conftest.err conftest.$ac_objext \
13234 conftest$ac_exeext conftest.$ac_ext
13235 LIBS=$ac_check_lib_save_LIBS
13237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13238 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13239 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13241 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13243 PROCSTAT_LIBS="-lprocstat"
13249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13250 $as_echo_n "checking for -lodbc... " >&6; }
13251 if ${ac_cv_lib_soname_odbc+:} false; then :
13252 $as_echo_n "(cached) " >&6
13253 else
13254 ac_check_soname_save_LIBS=$LIBS
13255 LIBS="-lodbc $LIBS"
13256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13257 /* end confdefs.h. */
13259 /* Override any GCC internal prototype to avoid an error.
13260 Use char because int might match the return type of a GCC
13261 builtin and then its argument prototype would still apply. */
13262 #ifdef __cplusplus
13263 extern "C"
13264 #endif
13265 char SQLConnect ();
13267 main ()
13269 return SQLConnect ();
13271 return 0;
13273 _ACEOF
13274 if ac_fn_c_try_link "$LINENO"; then :
13275 case "$LIBEXT" in
13276 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13277 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'` ;;
13278 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13279 if ${ac_cv_lib_soname_odbc:+false} :; then :
13280 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13281 fi ;;
13282 esac
13284 rm -f core conftest.err conftest.$ac_objext \
13285 conftest$ac_exeext conftest.$ac_ext
13286 LIBS=$ac_check_soname_save_LIBS
13288 if ${ac_cv_lib_soname_odbc:+false} :; then :
13289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13290 $as_echo "not found" >&6; }
13291 cat >>confdefs.h <<_ACEOF
13292 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13293 _ACEOF
13295 else
13296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13297 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13299 cat >>confdefs.h <<_ACEOF
13300 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13301 _ACEOF
13306 if test "x$with_netapi" != "xno"
13307 then
13308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13309 $as_echo_n "checking for -lnetapi... " >&6; }
13310 if ${ac_cv_lib_soname_netapi+:} false; then :
13311 $as_echo_n "(cached) " >&6
13312 else
13313 ac_check_soname_save_LIBS=$LIBS
13314 LIBS="-lnetapi $LIBS"
13315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13316 /* end confdefs.h. */
13318 /* Override any GCC internal prototype to avoid an error.
13319 Use char because int might match the return type of a GCC
13320 builtin and then its argument prototype would still apply. */
13321 #ifdef __cplusplus
13322 extern "C"
13323 #endif
13324 char libnetapi_init ();
13326 main ()
13328 return libnetapi_init ();
13330 return 0;
13332 _ACEOF
13333 if ac_fn_c_try_link "$LINENO"; then :
13334 case "$LIBEXT" in
13335 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13336 dylib) ac_cv_lib_soname_netapi=`otool -L conftest$ac_exeext | grep "libnetapi\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libnetapi\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
13337 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13338 if ${ac_cv_lib_soname_netapi:+false} :; then :
13339 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13340 fi ;;
13341 esac
13343 rm -f core conftest.err conftest.$ac_objext \
13344 conftest$ac_exeext conftest.$ac_ext
13345 LIBS=$ac_check_soname_save_LIBS
13347 if ${ac_cv_lib_soname_netapi:+false} :; then :
13348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13349 $as_echo "not found" >&6; }
13350 cat >>confdefs.h <<_ACEOF
13351 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13352 _ACEOF
13354 else
13355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13356 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13358 cat >>confdefs.h <<_ACEOF
13359 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13360 _ACEOF
13366 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13367 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
13368 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
13369 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
13371 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13372 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
13373 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13374 then
13375 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13379 EXTRACFLAGS=""
13381 if test "x${GCC}" = "xyes"
13382 then
13383 EXTRACFLAGS="-Wall -pipe"
13385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13386 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13387 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13388 $as_echo_n "(cached) " >&6
13389 else
13390 if test "$cross_compiling" = yes; then :
13391 ac_cv_c_gcc_strength_bug="yes"
13392 else
13393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13394 /* end confdefs.h. */
13395 int L[4] = {0,1,2,3};
13397 main ()
13399 static int Array[3];
13400 unsigned int B = 3;
13401 int i;
13402 for(i=0; i<B; i++) Array[i] = i - 3;
13403 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13404 L[i] = 4;
13405 return (Array[1] != -2 || L[2] != 3)
13407 return 0;
13409 _ACEOF
13410 if ac_fn_c_try_run "$LINENO"; then :
13411 ac_cv_c_gcc_strength_bug="no"
13412 else
13413 ac_cv_c_gcc_strength_bug="yes"
13415 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13416 conftest.$ac_objext conftest.beam conftest.$ac_ext
13420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13421 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13422 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13423 then
13424 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13428 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13429 if ${ac_cv_cflags__fno_builtin+:} false; then :
13430 $as_echo_n "(cached) " >&6
13431 else
13432 ac_wine_try_cflags_saved=$CFLAGS
13433 CFLAGS="$CFLAGS -fno-builtin"
13434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13435 /* end confdefs.h. */
13436 int main(int argc, char **argv) { return 0; }
13437 _ACEOF
13438 if ac_fn_c_try_link "$LINENO"; then :
13439 ac_cv_cflags__fno_builtin=yes
13440 else
13441 ac_cv_cflags__fno_builtin=no
13443 rm -f core conftest.err conftest.$ac_objext \
13444 conftest$ac_exeext conftest.$ac_ext
13445 CFLAGS=$ac_wine_try_cflags_saved
13447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13448 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13449 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
13450 BUILTINFLAG="-fno-builtin"
13453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13454 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13455 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
13456 $as_echo_n "(cached) " >&6
13457 else
13458 ac_wine_try_cflags_saved=$CFLAGS
13459 CFLAGS="$CFLAGS -fno-strict-aliasing"
13460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13461 /* end confdefs.h. */
13462 int main(int argc, char **argv) { return 0; }
13463 _ACEOF
13464 if ac_fn_c_try_link "$LINENO"; then :
13465 ac_cv_cflags__fno_strict_aliasing=yes
13466 else
13467 ac_cv_cflags__fno_strict_aliasing=no
13469 rm -f core conftest.err conftest.$ac_objext \
13470 conftest$ac_exeext conftest.$ac_ext
13471 CFLAGS=$ac_wine_try_cflags_saved
13473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13474 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13475 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
13476 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
13478 saved_CFLAGS=$CFLAGS
13479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13480 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13481 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
13482 $as_echo_n "(cached) " >&6
13483 else
13484 ac_wine_try_cflags_saved=$CFLAGS
13485 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13487 /* end confdefs.h. */
13488 int main(int argc, char **argv) { return 0; }
13489 _ACEOF
13490 if ac_fn_c_try_link "$LINENO"; then :
13491 ac_cv_cflags__Werror_unknown_warning_option=yes
13492 else
13493 ac_cv_cflags__Werror_unknown_warning_option=no
13495 rm -f core conftest.err conftest.$ac_objext \
13496 conftest$ac_exeext conftest.$ac_ext
13497 CFLAGS=$ac_wine_try_cflags_saved
13499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13500 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13501 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
13502 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13505 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13506 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
13507 $as_echo_n "(cached) " >&6
13508 else
13509 ac_wine_try_cflags_saved=$CFLAGS
13510 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
13511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13512 /* end confdefs.h. */
13513 int main(int argc, char **argv) { return 0; }
13514 _ACEOF
13515 if ac_fn_c_try_link "$LINENO"; then :
13516 ac_cv_cflags__Wdeclaration_after_statement=yes
13517 else
13518 ac_cv_cflags__Wdeclaration_after_statement=no
13520 rm -f core conftest.err conftest.$ac_objext \
13521 conftest$ac_exeext conftest.$ac_ext
13522 CFLAGS=$ac_wine_try_cflags_saved
13524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13525 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13526 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
13527 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
13529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13530 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13531 if ${ac_cv_cflags__Wempty_body+:} false; then :
13532 $as_echo_n "(cached) " >&6
13533 else
13534 ac_wine_try_cflags_saved=$CFLAGS
13535 CFLAGS="$CFLAGS -Wempty-body"
13536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13537 /* end confdefs.h. */
13538 int main(int argc, char **argv) { return 0; }
13539 _ACEOF
13540 if ac_fn_c_try_link "$LINENO"; then :
13541 ac_cv_cflags__Wempty_body=yes
13542 else
13543 ac_cv_cflags__Wempty_body=no
13545 rm -f core conftest.err conftest.$ac_objext \
13546 conftest$ac_exeext conftest.$ac_ext
13547 CFLAGS=$ac_wine_try_cflags_saved
13549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13550 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13551 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
13552 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
13554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13555 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13556 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
13557 $as_echo_n "(cached) " >&6
13558 else
13559 ac_wine_try_cflags_saved=$CFLAGS
13560 CFLAGS="$CFLAGS -Wignored-qualifiers"
13561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13562 /* end confdefs.h. */
13563 int main(int argc, char **argv) { return 0; }
13564 _ACEOF
13565 if ac_fn_c_try_link "$LINENO"; then :
13566 ac_cv_cflags__Wignored_qualifiers=yes
13567 else
13568 ac_cv_cflags__Wignored_qualifiers=no
13570 rm -f core conftest.err conftest.$ac_objext \
13571 conftest$ac_exeext conftest.$ac_ext
13572 CFLAGS=$ac_wine_try_cflags_saved
13574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13575 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13576 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
13577 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
13579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13580 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13581 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
13582 $as_echo_n "(cached) " >&6
13583 else
13584 ac_wine_try_cflags_saved=$CFLAGS
13585 CFLAGS="$CFLAGS -Wstrict-prototypes"
13586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13587 /* end confdefs.h. */
13588 int main(int argc, char **argv) { return 0; }
13589 _ACEOF
13590 if ac_fn_c_try_link "$LINENO"; then :
13591 ac_cv_cflags__Wstrict_prototypes=yes
13592 else
13593 ac_cv_cflags__Wstrict_prototypes=no
13595 rm -f core conftest.err conftest.$ac_objext \
13596 conftest$ac_exeext conftest.$ac_ext
13597 CFLAGS=$ac_wine_try_cflags_saved
13599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13600 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13601 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
13602 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
13604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13605 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13606 if ${ac_cv_cflags__Wtype_limits+:} false; then :
13607 $as_echo_n "(cached) " >&6
13608 else
13609 ac_wine_try_cflags_saved=$CFLAGS
13610 CFLAGS="$CFLAGS -Wtype-limits"
13611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13612 /* end confdefs.h. */
13613 int main(int argc, char **argv) { return 0; }
13614 _ACEOF
13615 if ac_fn_c_try_link "$LINENO"; then :
13616 ac_cv_cflags__Wtype_limits=yes
13617 else
13618 ac_cv_cflags__Wtype_limits=no
13620 rm -f core conftest.err conftest.$ac_objext \
13621 conftest$ac_exeext conftest.$ac_ext
13622 CFLAGS=$ac_wine_try_cflags_saved
13624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13625 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13626 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
13627 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
13629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13630 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13631 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
13632 $as_echo_n "(cached) " >&6
13633 else
13634 ac_wine_try_cflags_saved=$CFLAGS
13635 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
13636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13637 /* end confdefs.h. */
13638 int main(int argc, char **argv) { return 0; }
13639 _ACEOF
13640 if ac_fn_c_try_link "$LINENO"; then :
13641 ac_cv_cflags__Wunused_but_set_parameter=yes
13642 else
13643 ac_cv_cflags__Wunused_but_set_parameter=no
13645 rm -f core conftest.err conftest.$ac_objext \
13646 conftest$ac_exeext conftest.$ac_ext
13647 CFLAGS=$ac_wine_try_cflags_saved
13649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13650 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13651 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
13652 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
13654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13655 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13656 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
13657 $as_echo_n "(cached) " >&6
13658 else
13659 ac_wine_try_cflags_saved=$CFLAGS
13660 CFLAGS="$CFLAGS -Wwrite-strings"
13661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13662 /* end confdefs.h. */
13663 int main(int argc, char **argv) { return 0; }
13664 _ACEOF
13665 if ac_fn_c_try_link "$LINENO"; then :
13666 ac_cv_cflags__Wwrite_strings=yes
13667 else
13668 ac_cv_cflags__Wwrite_strings=no
13670 rm -f core conftest.err conftest.$ac_objext \
13671 conftest$ac_exeext conftest.$ac_ext
13672 CFLAGS=$ac_wine_try_cflags_saved
13674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13675 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13676 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
13677 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
13680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13681 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13682 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
13683 $as_echo_n "(cached) " >&6
13684 else
13685 ac_wine_try_cflags_saved=$CFLAGS
13686 CFLAGS="$CFLAGS -Wpointer-arith"
13687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13688 /* end confdefs.h. */
13689 int main(int argc, char **argv) { return 0; }
13690 _ACEOF
13691 if ac_fn_c_try_link "$LINENO"; then :
13692 ac_cv_cflags__Wpointer_arith=yes
13693 else
13694 ac_cv_cflags__Wpointer_arith=no
13696 rm -f core conftest.err conftest.$ac_objext \
13697 conftest$ac_exeext conftest.$ac_ext
13698 CFLAGS=$ac_wine_try_cflags_saved
13700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13701 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13702 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
13703 saved_string_h_CFLAGS=$CFLAGS
13704 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
13705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13706 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13707 if ${ac_cv_c_string_h_warnings+:} false; then :
13708 $as_echo_n "(cached) " >&6
13709 else
13710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13711 /* end confdefs.h. */
13712 #include <string.h>
13714 main ()
13718 return 0;
13720 _ACEOF
13721 if ac_fn_c_try_compile "$LINENO"; then :
13722 ac_cv_c_string_h_warnings=no
13723 else
13724 ac_cv_c_string_h_warnings=yes
13726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13729 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13730 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
13731 CFLAGS=$saved_string_h_CFLAGS
13734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13735 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13736 if ${ac_cv_cflags__Wlogical_op+:} false; then :
13737 $as_echo_n "(cached) " >&6
13738 else
13739 ac_wine_try_cflags_saved=$CFLAGS
13740 CFLAGS="$CFLAGS -Wlogical-op"
13741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13742 /* end confdefs.h. */
13743 int main(int argc, char **argv) { return 0; }
13744 _ACEOF
13745 if ac_fn_c_try_link "$LINENO"; then :
13746 ac_cv_cflags__Wlogical_op=yes
13747 else
13748 ac_cv_cflags__Wlogical_op=no
13750 rm -f core conftest.err conftest.$ac_objext \
13751 conftest$ac_exeext conftest.$ac_ext
13752 CFLAGS=$ac_wine_try_cflags_saved
13754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13755 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13756 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
13757 saved_string_h_CFLAGS=$CFLAGS
13758 CFLAGS="$CFLAGS -Wlogical-op -Werror"
13759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13760 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13761 if ${ac_cv_c_logicalop_noisy+:} false; then :
13762 $as_echo_n "(cached) " >&6
13763 else
13764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13765 /* end confdefs.h. */
13766 #include <string.h>
13767 char*f(const char *h,char n) {return strchr(h,n);}
13769 main ()
13773 return 0;
13775 _ACEOF
13776 if ac_fn_c_try_compile "$LINENO"; then :
13777 ac_cv_c_logicalop_noisy=no
13778 else
13779 ac_cv_c_logicalop_noisy=yes
13781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13784 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13785 CFLAGS=$saved_string_h_CFLAGS
13786 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
13789 CFLAGS=$saved_CFLAGS
13791 for ac_flag in $CFLAGS; do
13792 case $ac_flag in
13793 -g) case $host_os in
13794 darwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13795 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
13796 if ${ac_cv_cflags__gstabsp+:} false; then :
13797 $as_echo_n "(cached) " >&6
13798 else
13799 ac_wine_try_cflags_saved=$CFLAGS
13800 CFLAGS="$CFLAGS -gstabs+"
13801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13802 /* end confdefs.h. */
13803 int main(int argc, char **argv) { return 0; }
13804 _ACEOF
13805 if ac_fn_c_try_link "$LINENO"; then :
13806 ac_cv_cflags__gstabsp=yes
13807 else
13808 ac_cv_cflags__gstabsp=no
13810 rm -f core conftest.err conftest.$ac_objext \
13811 conftest$ac_exeext conftest.$ac_ext
13812 CFLAGS=$ac_wine_try_cflags_saved
13814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
13815 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
13816 if test "x$ac_cv_cflags__gstabsp" = xyes; then :
13817 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
13818 fi ;;
13819 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
13820 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
13821 if ${ac_cv_cflags__gdwarf_2+:} false; then :
13822 $as_echo_n "(cached) " >&6
13823 else
13824 ac_wine_try_cflags_saved=$CFLAGS
13825 CFLAGS="$CFLAGS -gdwarf-2"
13826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13827 /* end confdefs.h. */
13828 int main(int argc, char **argv) { return 0; }
13829 _ACEOF
13830 if ac_fn_c_try_link "$LINENO"; then :
13831 ac_cv_cflags__gdwarf_2=yes
13832 else
13833 ac_cv_cflags__gdwarf_2=no
13835 rm -f core conftest.err conftest.$ac_objext \
13836 conftest$ac_exeext conftest.$ac_ext
13837 CFLAGS=$ac_wine_try_cflags_saved
13839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
13840 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
13841 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
13842 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
13844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
13845 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
13846 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
13847 $as_echo_n "(cached) " >&6
13848 else
13849 ac_wine_try_cflags_saved=$CFLAGS
13850 CFLAGS="$CFLAGS -gstrict-dwarf"
13851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13852 /* end confdefs.h. */
13853 int main(int argc, char **argv) { return 0; }
13854 _ACEOF
13855 if ac_fn_c_try_link "$LINENO"; then :
13856 ac_cv_cflags__gstrict_dwarf=yes
13857 else
13858 ac_cv_cflags__gstrict_dwarf=no
13860 rm -f core conftest.err conftest.$ac_objext \
13861 conftest$ac_exeext conftest.$ac_ext
13862 CFLAGS=$ac_wine_try_cflags_saved
13864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
13865 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
13866 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
13867 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
13868 fi ;;
13869 esac ;;
13870 esac
13871 done
13873 case $host_cpu in
13874 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
13875 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
13876 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
13877 $as_echo_n "(cached) " >&6
13878 else
13879 ac_wine_try_cflags_saved=$CFLAGS
13880 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
13881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13882 /* end confdefs.h. */
13883 int main(int argc, char **argv) { return 0; }
13884 _ACEOF
13885 if ac_fn_c_try_link "$LINENO"; then :
13886 ac_cv_cflags__fno_omit_frame_pointer=yes
13887 else
13888 ac_cv_cflags__fno_omit_frame_pointer=no
13890 rm -f core conftest.err conftest.$ac_objext \
13891 conftest$ac_exeext conftest.$ac_ext
13892 CFLAGS=$ac_wine_try_cflags_saved
13894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
13895 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
13896 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
13897 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
13898 fi ;;
13899 esac
13901 case $host in
13902 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
13903 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
13904 if ${ac_cv_cflags__Wno_format+:} false; then :
13905 $as_echo_n "(cached) " >&6
13906 else
13907 ac_wine_try_cflags_saved=$CFLAGS
13908 CFLAGS="$CFLAGS -Wno-format"
13909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13910 /* end confdefs.h. */
13911 int main(int argc, char **argv) { return 0; }
13912 _ACEOF
13913 if ac_fn_c_try_link "$LINENO"; then :
13914 ac_cv_cflags__Wno_format=yes
13915 else
13916 ac_cv_cflags__Wno_format=no
13918 rm -f core conftest.err conftest.$ac_objext \
13919 conftest$ac_exeext conftest.$ac_ext
13920 CFLAGS=$ac_wine_try_cflags_saved
13922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
13923 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
13924 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
13925 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
13926 fi ;;
13927 esac
13929 if test "x$enable_maintainer_mode" = "xyes"
13930 then
13931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
13932 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
13933 if ${ac_cv_cflags__Werror+:} false; then :
13934 $as_echo_n "(cached) " >&6
13935 else
13936 ac_wine_try_cflags_saved=$CFLAGS
13937 CFLAGS="$CFLAGS -Werror"
13938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13939 /* end confdefs.h. */
13940 int main(int argc, char **argv) { return 0; }
13941 _ACEOF
13942 if ac_fn_c_try_link "$LINENO"; then :
13943 ac_cv_cflags__Werror=yes
13944 else
13945 ac_cv_cflags__Werror=no
13947 rm -f core conftest.err conftest.$ac_objext \
13948 conftest$ac_exeext conftest.$ac_ext
13949 CFLAGS=$ac_wine_try_cflags_saved
13951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
13952 $as_echo "$ac_cv_cflags__Werror" >&6; }
13953 if test "x$ac_cv_cflags__Werror" = xyes; then :
13954 EXTRACFLAGS="$EXTRACFLAGS -Werror"
13958 saved_CFLAGS="$CFLAGS"
13959 CFLAGS="$CFLAGS -Werror"
13960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
13961 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
13962 if ${ac_cv_have_ms_hook_prologue+:} false; then :
13963 $as_echo_n "(cached) " >&6
13964 else
13965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13966 /* end confdefs.h. */
13967 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
13969 main ()
13973 return 0;
13975 _ACEOF
13976 if ac_fn_c_try_compile "$LINENO"; then :
13977 ac_cv_have_ms_hook_prologue="yes"
13978 else
13979 ac_cv_have_ms_hook_prologue="no"
13981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
13984 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
13985 CFLAGS="$saved_CFLAGS"
13986 if test "$ac_cv_have_ms_hook_prologue" = "yes"
13987 then
13989 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
13991 else
13992 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
13998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
13999 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14000 if ${ac_cv_c_fortify_enabled+:} false; then :
14001 $as_echo_n "(cached) " >&6
14002 else
14003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14004 /* end confdefs.h. */
14005 #include <string.h>
14007 main ()
14009 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14010 #error Fortify enabled
14011 #endif
14013 return 0;
14015 _ACEOF
14016 if ac_fn_c_try_compile "$LINENO"; then :
14017 ac_cv_c_fortify_enabled=no
14018 else
14019 ac_cv_c_fortify_enabled=yes
14021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14024 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14025 if test "$ac_cv_c_fortify_enabled" = yes
14026 then
14027 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14032 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14033 if ${ac_cv_c_extern_prefix+:} false; then :
14034 $as_echo_n "(cached) " >&6
14035 else
14036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14037 /* end confdefs.h. */
14038 extern int ac_test;
14040 main ()
14042 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14044 return 0;
14046 _ACEOF
14047 if ac_fn_c_try_link "$LINENO"; then :
14048 ac_cv_c_extern_prefix="yes"
14049 else
14050 ac_cv_c_extern_prefix="no"
14052 rm -f core conftest.err conftest.$ac_objext \
14053 conftest$ac_exeext conftest.$ac_ext
14055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14056 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14058 case $host_cpu in
14059 *i[3456789]86*)
14060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14061 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14062 if ${ac_cv_c_stdcall_suffix+:} false; then :
14063 $as_echo_n "(cached) " >&6
14064 else
14065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14066 /* end confdefs.h. */
14067 #ifndef _MSC_VER
14068 #define __stdcall __attribute__((__stdcall__))
14069 #endif
14070 int __stdcall ac_test(int i) { return i; }
14072 main ()
14074 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14076 return 0;
14078 _ACEOF
14079 if ac_fn_c_try_link "$LINENO"; then :
14080 ac_cv_c_stdcall_suffix="yes"
14081 else
14082 ac_cv_c_stdcall_suffix="no"
14084 rm -f core conftest.err conftest.$ac_objext \
14085 conftest$ac_exeext conftest.$ac_ext
14087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14088 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14089 *) ac_cv_c_stdcall_suffix="no" ;;
14090 esac
14093 if test "$ac_cv_c_extern_prefix" = "yes"
14094 then
14095 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14097 asm_name_prefix="_"
14098 else
14099 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14101 asm_name_prefix=""
14105 if test "$ac_cv_c_stdcall_suffix" = "yes"
14106 then
14107 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14109 else
14110 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14116 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14117 if ${ac_cv_asm_func_def+:} false; then :
14118 $as_echo_n "(cached) " >&6
14119 else
14120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14121 /* end confdefs.h. */
14124 main ()
14126 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14128 return 0;
14130 _ACEOF
14131 if ac_fn_c_try_link "$LINENO"; then :
14132 ac_cv_asm_func_def=".def"
14133 else
14134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14135 /* end confdefs.h. */
14138 main ()
14140 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14142 return 0;
14144 _ACEOF
14145 if ac_fn_c_try_link "$LINENO"; then :
14146 ac_cv_asm_func_def=".type @function"
14147 else
14148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14149 /* end confdefs.h. */
14152 main ()
14154 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14156 return 0;
14158 _ACEOF
14159 if ac_fn_c_try_link "$LINENO"; then :
14160 ac_cv_asm_func_def=".type 2"
14161 else
14162 ac_cv_asm_func_def="unknown"
14164 rm -f core conftest.err conftest.$ac_objext \
14165 conftest$ac_exeext conftest.$ac_ext
14167 rm -f core conftest.err conftest.$ac_objext \
14168 conftest$ac_exeext conftest.$ac_ext
14170 rm -f core conftest.err conftest.$ac_objext \
14171 conftest$ac_exeext conftest.$ac_ext
14173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14174 $as_echo "$ac_cv_asm_func_def" >&6; }
14177 case "$ac_cv_asm_func_def" in
14178 ".def")
14179 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14181 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14182 ".type @function")
14183 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14185 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14186 ".type 2")
14187 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14189 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14191 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14193 asm_func_header="" ;;
14194 esac
14196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14197 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14198 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14199 $as_echo_n "(cached) " >&6
14200 else
14201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14202 /* end confdefs.h. */
14203 asm(".text\n\t.long 0");
14205 main ()
14209 return 0;
14211 _ACEOF
14212 if ac_fn_c_try_compile "$LINENO"; then :
14213 ac_cv_c_asm_outside_funcs="yes"
14214 else
14215 ac_cv_c_asm_outside_funcs="no"
14217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14220 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14223 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14224 if ${ac_cv_c_dot_previous+:} false; then :
14225 $as_echo_n "(cached) " >&6
14226 else
14227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14228 /* end confdefs.h. */
14231 main ()
14233 asm(".text\nac_test:\t.long 0\n\t.previous");
14235 return 0;
14237 _ACEOF
14238 if ac_fn_c_try_link "$LINENO"; then :
14239 ac_cv_c_dot_previous="yes"
14240 else
14241 ac_cv_c_dot_previous="no"
14243 rm -f core conftest.err conftest.$ac_objext \
14244 conftest$ac_exeext conftest.$ac_ext
14246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14247 $as_echo "$ac_cv_c_dot_previous" >&6; }
14249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14250 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14251 if ${ac_cv_c_cfi_support+:} false; then :
14252 $as_echo_n "(cached) " >&6
14253 else
14254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14255 /* end confdefs.h. */
14256 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14258 main ()
14262 return 0;
14264 _ACEOF
14265 if ac_fn_c_try_compile "$LINENO"; then :
14266 ac_cv_c_cfi_support="yes"
14267 else
14268 ac_cv_c_cfi_support="no"
14270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14273 $as_echo "$ac_cv_c_cfi_support" >&6; }
14275 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14276 asm_func_trailer=""
14277 if test "$ac_cv_c_dot_previous" = "yes"
14278 then
14279 asm_func_trailer="\\n\\t.previous"
14281 if test "$ac_cv_c_cfi_support" = "yes"
14282 then
14283 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14284 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14286 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14288 UNWINDFLAGS=-fasynchronous-unwind-tables
14290 else
14291 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14295 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14298 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14299 then
14300 cat >>confdefs.h <<_ACEOF
14301 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14302 _ACEOF
14304 else
14305 cat >>confdefs.h <<_ACEOF
14306 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14307 _ACEOF
14311 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14314 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14318 case $build_os in
14319 cygwin*|mingw32*) TOOLSEXT=".exe"
14321 esac
14323 case $host_os in
14324 linux*)
14325 case $host_cpu in
14326 *i[3456789]86*|x86_64*)
14327 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14328 loader_programs="$loader_programs $wine_binary-preloader"
14329 as_fn_append LOADER_RULES "
14330 $wine_binary-preloader: preloader.o
14331 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14333 install install-lib:: $wine_binary-preloader
14334 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14336 uninstall::
14337 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14339 preloader_EXTRADEFS = $BUILTINFLAG
14340 " ;;
14341 esac
14343 esac
14344 as_fn_append LOADER_RULES "
14345 PROGRAMS = $loader_programs
14349 ac_save_CFLAGS="$CFLAGS"
14350 CFLAGS="$CFLAGS $BUILTINFLAG"
14351 for ac_func in \
14352 __res_get_state \
14353 __res_getservers \
14354 _finite \
14355 _isnan \
14356 _pclose \
14357 _popen \
14358 _snprintf \
14359 _spawnvp \
14360 _strdup \
14361 _stricmp \
14362 _strnicmp \
14363 _strtoi64 \
14364 _strtoui64 \
14365 _vsnprintf \
14366 asctime_r \
14367 chsize \
14368 dlopen \
14369 epoll_create \
14370 ffs \
14371 fnmatch \
14372 fork \
14373 fpclass \
14374 fstatfs \
14375 fstatvfs \
14376 ftruncate \
14377 futimens \
14378 futimes \
14379 futimesat \
14380 getattrlist \
14381 getdirentries \
14382 getopt_long_only \
14383 getpwuid \
14384 gettimeofday \
14385 getuid \
14386 if_nameindex \
14387 kqueue \
14388 lstat \
14389 memmove \
14390 mmap \
14391 pclose \
14392 pipe2 \
14393 poll \
14394 popen \
14395 port_create \
14396 prctl \
14397 pread \
14398 proc_pidinfo \
14399 pwrite \
14400 readdir \
14401 readlink \
14402 sched_yield \
14403 select \
14404 setproctitle \
14405 setrlimit \
14406 settimeofday \
14407 sigaltstack \
14408 sigprocmask \
14409 snprintf \
14410 statfs \
14411 statvfs \
14412 strcasecmp \
14413 strdup \
14414 strerror \
14415 strncasecmp \
14416 strtold \
14417 strtoll \
14418 strtoull \
14419 symlink \
14420 tcdrain \
14421 thr_kill2 \
14422 timegm \
14423 usleep \
14424 vsnprintf
14426 do :
14427 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14428 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14429 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14430 cat >>confdefs.h <<_ACEOF
14431 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14432 _ACEOF
14435 done
14437 CFLAGS="$ac_save_CFLAGS"
14439 if test "$ac_cv_func_dlopen" = no
14440 then
14441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14442 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14443 if ${ac_cv_lib_dl_dlopen+:} false; then :
14444 $as_echo_n "(cached) " >&6
14445 else
14446 ac_check_lib_save_LIBS=$LIBS
14447 LIBS="-ldl $LIBS"
14448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14449 /* end confdefs.h. */
14451 /* Override any GCC internal prototype to avoid an error.
14452 Use char because int might match the return type of a GCC
14453 builtin and then its argument prototype would still apply. */
14454 #ifdef __cplusplus
14455 extern "C"
14456 #endif
14457 char dlopen ();
14459 main ()
14461 return dlopen ();
14463 return 0;
14465 _ACEOF
14466 if ac_fn_c_try_link "$LINENO"; then :
14467 ac_cv_lib_dl_dlopen=yes
14468 else
14469 ac_cv_lib_dl_dlopen=no
14471 rm -f core conftest.err conftest.$ac_objext \
14472 conftest$ac_exeext conftest.$ac_ext
14473 LIBS=$ac_check_lib_save_LIBS
14475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14476 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14477 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14478 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14479 DL_LIBS="-ldl"
14484 ac_wine_check_funcs_save_LIBS="$LIBS"
14485 LIBS="$LIBS $DL_LIBS"
14486 for ac_func in dladdr
14487 do :
14488 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
14489 if test "x$ac_cv_func_dladdr" = xyes; then :
14490 cat >>confdefs.h <<_ACEOF
14491 #define HAVE_DLADDR 1
14492 _ACEOF
14495 done
14497 LIBS="$ac_wine_check_funcs_save_LIBS"
14499 if test "$ac_cv_func_poll" = no
14500 then
14501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14502 $as_echo_n "checking for poll in -lpoll... " >&6; }
14503 if ${ac_cv_lib_poll_poll+:} false; then :
14504 $as_echo_n "(cached) " >&6
14505 else
14506 ac_check_lib_save_LIBS=$LIBS
14507 LIBS="-lpoll $LIBS"
14508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14509 /* end confdefs.h. */
14511 /* Override any GCC internal prototype to avoid an error.
14512 Use char because int might match the return type of a GCC
14513 builtin and then its argument prototype would still apply. */
14514 #ifdef __cplusplus
14515 extern "C"
14516 #endif
14517 char poll ();
14519 main ()
14521 return poll ();
14523 return 0;
14525 _ACEOF
14526 if ac_fn_c_try_link "$LINENO"; then :
14527 ac_cv_lib_poll_poll=yes
14528 else
14529 ac_cv_lib_poll_poll=no
14531 rm -f core conftest.err conftest.$ac_objext \
14532 conftest$ac_exeext conftest.$ac_ext
14533 LIBS=$ac_check_lib_save_LIBS
14535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14536 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14537 if test "x$ac_cv_lib_poll_poll" = xyes; then :
14538 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14539 POLL_LIBS="-lpoll"
14545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14546 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14547 if ${ac_cv_search_gethostbyname+:} false; then :
14548 $as_echo_n "(cached) " >&6
14549 else
14550 ac_func_search_save_LIBS=$LIBS
14551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14552 /* end confdefs.h. */
14554 /* Override any GCC internal prototype to avoid an error.
14555 Use char because int might match the return type of a GCC
14556 builtin and then its argument prototype would still apply. */
14557 #ifdef __cplusplus
14558 extern "C"
14559 #endif
14560 char gethostbyname ();
14562 main ()
14564 return gethostbyname ();
14566 return 0;
14568 _ACEOF
14569 for ac_lib in '' nsl; do
14570 if test -z "$ac_lib"; then
14571 ac_res="none required"
14572 else
14573 ac_res=-l$ac_lib
14574 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14576 if ac_fn_c_try_link "$LINENO"; then :
14577 ac_cv_search_gethostbyname=$ac_res
14579 rm -f core conftest.err conftest.$ac_objext \
14580 conftest$ac_exeext
14581 if ${ac_cv_search_gethostbyname+:} false; then :
14582 break
14584 done
14585 if ${ac_cv_search_gethostbyname+:} false; then :
14587 else
14588 ac_cv_search_gethostbyname=no
14590 rm conftest.$ac_ext
14591 LIBS=$ac_func_search_save_LIBS
14593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14594 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14595 ac_res=$ac_cv_search_gethostbyname
14596 if test "$ac_res" != no; then :
14597 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14603 $as_echo_n "checking for library containing connect... " >&6; }
14604 if ${ac_cv_search_connect+:} false; then :
14605 $as_echo_n "(cached) " >&6
14606 else
14607 ac_func_search_save_LIBS=$LIBS
14608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14609 /* end confdefs.h. */
14611 /* Override any GCC internal prototype to avoid an error.
14612 Use char because int might match the return type of a GCC
14613 builtin and then its argument prototype would still apply. */
14614 #ifdef __cplusplus
14615 extern "C"
14616 #endif
14617 char connect ();
14619 main ()
14621 return connect ();
14623 return 0;
14625 _ACEOF
14626 for ac_lib in '' socket; do
14627 if test -z "$ac_lib"; then
14628 ac_res="none required"
14629 else
14630 ac_res=-l$ac_lib
14631 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14633 if ac_fn_c_try_link "$LINENO"; then :
14634 ac_cv_search_connect=$ac_res
14636 rm -f core conftest.err conftest.$ac_objext \
14637 conftest$ac_exeext
14638 if ${ac_cv_search_connect+:} false; then :
14639 break
14641 done
14642 if ${ac_cv_search_connect+:} false; then :
14644 else
14645 ac_cv_search_connect=no
14647 rm conftest.$ac_ext
14648 LIBS=$ac_func_search_save_LIBS
14650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14651 $as_echo "$ac_cv_search_connect" >&6; }
14652 ac_res=$ac_cv_search_connect
14653 if test "$ac_res" != no; then :
14654 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14660 $as_echo_n "checking for library containing inet_aton... " >&6; }
14661 if ${ac_cv_search_inet_aton+:} false; then :
14662 $as_echo_n "(cached) " >&6
14663 else
14664 ac_func_search_save_LIBS=$LIBS
14665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14666 /* end confdefs.h. */
14668 /* Override any GCC internal prototype to avoid an error.
14669 Use char because int might match the return type of a GCC
14670 builtin and then its argument prototype would still apply. */
14671 #ifdef __cplusplus
14672 extern "C"
14673 #endif
14674 char inet_aton ();
14676 main ()
14678 return inet_aton ();
14680 return 0;
14682 _ACEOF
14683 for ac_lib in '' resolv; do
14684 if test -z "$ac_lib"; then
14685 ac_res="none required"
14686 else
14687 ac_res=-l$ac_lib
14688 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14690 if ac_fn_c_try_link "$LINENO"; then :
14691 ac_cv_search_inet_aton=$ac_res
14693 rm -f core conftest.err conftest.$ac_objext \
14694 conftest$ac_exeext
14695 if ${ac_cv_search_inet_aton+:} false; then :
14696 break
14698 done
14699 if ${ac_cv_search_inet_aton+:} false; then :
14701 else
14702 ac_cv_search_inet_aton=no
14704 rm conftest.$ac_ext
14705 LIBS=$ac_func_search_save_LIBS
14707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14708 $as_echo "$ac_cv_search_inet_aton" >&6; }
14709 ac_res=$ac_cv_search_inet_aton
14710 if test "$ac_res" != no; then :
14711 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14716 for ac_func in \
14717 getaddrinfo \
14718 getnameinfo \
14719 getnetbyname \
14720 getprotobyname \
14721 getprotobynumber \
14722 getservbyport \
14723 inet_addr \
14724 inet_network \
14725 inet_ntop \
14726 inet_pton \
14727 sendmsg \
14728 socketpair \
14730 do :
14731 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14732 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14733 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14734 cat >>confdefs.h <<_ACEOF
14735 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14736 _ACEOF
14739 done
14742 ac_save_LIBS=$LIBS
14743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14744 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14745 if ${ac_cv_search_clock_gettime+:} false; then :
14746 $as_echo_n "(cached) " >&6
14747 else
14748 ac_func_search_save_LIBS=$LIBS
14749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14750 /* end confdefs.h. */
14752 /* Override any GCC internal prototype to avoid an error.
14753 Use char because int might match the return type of a GCC
14754 builtin and then its argument prototype would still apply. */
14755 #ifdef __cplusplus
14756 extern "C"
14757 #endif
14758 char clock_gettime ();
14760 main ()
14762 return clock_gettime ();
14764 return 0;
14766 _ACEOF
14767 for ac_lib in '' rt; do
14768 if test -z "$ac_lib"; then
14769 ac_res="none required"
14770 else
14771 ac_res=-l$ac_lib
14772 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14774 if ac_fn_c_try_link "$LINENO"; then :
14775 ac_cv_search_clock_gettime=$ac_res
14777 rm -f core conftest.err conftest.$ac_objext \
14778 conftest$ac_exeext
14779 if ${ac_cv_search_clock_gettime+:} false; then :
14780 break
14782 done
14783 if ${ac_cv_search_clock_gettime+:} false; then :
14785 else
14786 ac_cv_search_clock_gettime=no
14788 rm conftest.$ac_ext
14789 LIBS=$ac_func_search_save_LIBS
14791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14792 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14793 ac_res=$ac_cv_search_clock_gettime
14794 if test "$ac_res" != no; then :
14795 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14797 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
14799 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
14803 LIBS=$ac_save_LIBS
14805 LDAP_LIBS=""
14807 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
14808 then
14809 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
14811 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
14812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
14813 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
14814 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
14815 $as_echo_n "(cached) " >&6
14816 else
14817 ac_check_lib_save_LIBS=$LIBS
14818 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
14819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14820 /* end confdefs.h. */
14822 /* Override any GCC internal prototype to avoid an error.
14823 Use char because int might match the return type of a GCC
14824 builtin and then its argument prototype would still apply. */
14825 #ifdef __cplusplus
14826 extern "C"
14827 #endif
14828 char ldap_initialize ();
14830 main ()
14832 return ldap_initialize ();
14834 return 0;
14836 _ACEOF
14837 if ac_fn_c_try_link "$LINENO"; then :
14838 ac_cv_lib_ldap_r_ldap_initialize=yes
14839 else
14840 ac_cv_lib_ldap_r_ldap_initialize=no
14842 rm -f core conftest.err conftest.$ac_objext \
14843 conftest$ac_exeext conftest.$ac_ext
14844 LIBS=$ac_check_lib_save_LIBS
14846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
14847 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
14848 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
14849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
14850 $as_echo_n "checking for ber_init in -llber... " >&6; }
14851 if ${ac_cv_lib_lber_ber_init+:} false; then :
14852 $as_echo_n "(cached) " >&6
14853 else
14854 ac_check_lib_save_LIBS=$LIBS
14855 LIBS="-llber $PTHREAD_LIBS $LIBS"
14856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14857 /* end confdefs.h. */
14859 /* Override any GCC internal prototype to avoid an error.
14860 Use char because int might match the return type of a GCC
14861 builtin and then its argument prototype would still apply. */
14862 #ifdef __cplusplus
14863 extern "C"
14864 #endif
14865 char ber_init ();
14867 main ()
14869 return ber_init ();
14871 return 0;
14873 _ACEOF
14874 if ac_fn_c_try_link "$LINENO"; then :
14875 ac_cv_lib_lber_ber_init=yes
14876 else
14877 ac_cv_lib_lber_ber_init=no
14879 rm -f core conftest.err conftest.$ac_objext \
14880 conftest$ac_exeext conftest.$ac_ext
14881 LIBS=$ac_check_lib_save_LIBS
14883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
14884 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
14885 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
14887 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
14889 LDAP_LIBS="-lldap_r -llber"
14896 ac_wine_check_funcs_save_LIBS="$LIBS"
14897 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
14898 for ac_func in \
14899 ldap_count_references \
14900 ldap_first_reference \
14901 ldap_next_reference \
14902 ldap_parse_reference \
14903 ldap_parse_sort_control \
14904 ldap_parse_sortresponse_control \
14905 ldap_parse_vlv_control \
14906 ldap_parse_vlvresponse_control
14907 do :
14908 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14909 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14910 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14911 cat >>confdefs.h <<_ACEOF
14912 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14913 _ACEOF
14916 done
14918 LIBS="$ac_wine_check_funcs_save_LIBS"
14920 if test "x$LDAP_LIBS" = "x"; then :
14921 case "x$with_ldap" in
14922 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
14923 xno) ;;
14924 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
14925 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
14926 esac
14929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
14930 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
14931 if ${wine_cv_one_arg_mkdir+:} false; then :
14932 $as_echo_n "(cached) " >&6
14933 else
14934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14935 /* end confdefs.h. */
14936 #include <sys/stat.h>
14938 main ()
14940 mkdir("foo");
14942 return 0;
14944 _ACEOF
14945 if ac_fn_c_try_compile "$LINENO"; then :
14946 wine_cv_one_arg_mkdir=yes
14947 else
14948 wine_cv_one_arg_mkdir=no
14950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
14953 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
14954 if test "$wine_cv_one_arg_mkdir" = "yes"
14955 then
14957 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
14961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
14962 $as_echo_n "checking for sched_setaffinity... " >&6; }
14963 if ${wine_cv_have_sched_setaffinity+:} false; then :
14964 $as_echo_n "(cached) " >&6
14965 else
14966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14967 /* end confdefs.h. */
14968 #define _GNU_SOURCE
14969 #include <sched.h>
14971 main ()
14973 sched_setaffinity(0, 0, 0);
14975 return 0;
14977 _ACEOF
14978 if ac_fn_c_try_link "$LINENO"; then :
14979 wine_cv_have_sched_setaffinity=yes
14980 else
14981 wine_cv_have_sched_setaffinity=no
14983 rm -f core conftest.err conftest.$ac_objext \
14984 conftest$ac_exeext conftest.$ac_ext
14986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
14987 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
14988 if test "$wine_cv_have_sched_setaffinity" = "yes"
14989 then
14991 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
14995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
14996 $as_echo_n "checking for fallocate... " >&6; }
14997 if ${wine_cv_have_fallocate+:} false; then :
14998 $as_echo_n "(cached) " >&6
14999 else
15000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15001 /* end confdefs.h. */
15002 #define _GNU_SOURCE
15003 #include <fcntl.h>
15005 main ()
15007 fallocate(-1, 0, 0, 0);
15009 return 0;
15011 _ACEOF
15012 if ac_fn_c_try_link "$LINENO"; then :
15013 wine_cv_have_fallocate=yes
15014 else
15015 wine_cv_have_fallocate=no
15017 rm -f core conftest.err conftest.$ac_objext \
15018 conftest$ac_exeext conftest.$ac_ext
15020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15021 $as_echo "$wine_cv_have_fallocate" >&6; }
15022 if test "$wine_cv_have_fallocate" = "yes"
15023 then
15025 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15031 $as_echo_n "checking for inline... " >&6; }
15032 if ${ac_cv_c_inline+:} false; then :
15033 $as_echo_n "(cached) " >&6
15034 else
15035 ac_cv_c_inline=no
15036 for ac_kw in inline __inline__ __inline; do
15037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15038 /* end confdefs.h. */
15039 #ifndef __cplusplus
15040 typedef int foo_t;
15041 static $ac_kw foo_t static_foo () {return 0; }
15042 $ac_kw foo_t foo () {return 0; }
15043 #endif
15045 _ACEOF
15046 if ac_fn_c_try_compile "$LINENO"; then :
15047 ac_cv_c_inline=$ac_kw
15049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15050 test "$ac_cv_c_inline" != no && break
15051 done
15054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15055 $as_echo "$ac_cv_c_inline" >&6; }
15057 case $ac_cv_c_inline in
15058 inline | yes) ;;
15060 case $ac_cv_c_inline in
15061 no) ac_val=;;
15062 *) ac_val=$ac_cv_c_inline;;
15063 esac
15064 cat >>confdefs.h <<_ACEOF
15065 #ifndef __cplusplus
15066 #define inline $ac_val
15067 #endif
15068 _ACEOF
15070 esac
15072 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15073 if test "x$ac_cv_type_mode_t" = xyes; then :
15075 cat >>confdefs.h <<_ACEOF
15076 #define HAVE_MODE_T 1
15077 _ACEOF
15081 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15082 if test "x$ac_cv_type_off_t" = xyes; then :
15084 cat >>confdefs.h <<_ACEOF
15085 #define HAVE_OFF_T 1
15086 _ACEOF
15090 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15091 if test "x$ac_cv_type_pid_t" = xyes; then :
15093 cat >>confdefs.h <<_ACEOF
15094 #define HAVE_PID_T 1
15095 _ACEOF
15099 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15100 if test "x$ac_cv_type_size_t" = xyes; then :
15102 cat >>confdefs.h <<_ACEOF
15103 #define HAVE_SIZE_T 1
15104 _ACEOF
15108 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15109 if test "x$ac_cv_type_ssize_t" = xyes; then :
15111 cat >>confdefs.h <<_ACEOF
15112 #define HAVE_SSIZE_T 1
15113 _ACEOF
15117 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15118 if test "x$ac_cv_type_long_long" = xyes; then :
15120 cat >>confdefs.h <<_ACEOF
15121 #define HAVE_LONG_LONG 1
15122 _ACEOF
15126 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15127 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15129 cat >>confdefs.h <<_ACEOF
15130 #define HAVE_FSBLKCNT_T 1
15131 _ACEOF
15135 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15136 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15138 cat >>confdefs.h <<_ACEOF
15139 #define HAVE_FSFILCNT_T 1
15140 _ACEOF
15145 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15146 #include <signal.h>
15148 if test "x$ac_cv_type_sigset_t" = xyes; then :
15150 cat >>confdefs.h <<_ACEOF
15151 #define HAVE_SIGSET_T 1
15152 _ACEOF
15157 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15159 if test "x$ac_cv_type_request_sense" = xyes; then :
15161 cat >>confdefs.h <<_ACEOF
15162 #define HAVE_REQUEST_SENSE 1
15163 _ACEOF
15169 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15170 #ifdef HAVE_SYS_SOCKET_H
15171 #include <sys/socket.h>
15172 #endif
15173 #ifdef HAVE_SYS_SOCKETVAR_H
15174 #include <sys/socketvar.h>
15175 #endif
15176 #ifdef HAVE_NET_ROUTE_H
15177 #include <net/route.h>
15178 #endif
15179 #ifdef HAVE_NETINET_IN_H
15180 #include <netinet/in.h>
15181 #endif
15182 #ifdef HAVE_NETINET_IN_SYSTM_H
15183 #include <netinet/in_systm.h>
15184 #endif
15185 #ifdef HAVE_NETINET_IP_H
15186 #include <netinet/ip.h>
15187 #endif
15188 #ifdef HAVE_NETINET_IN_PCB_H
15189 #include <netinet/in_pcb.h>
15190 #endif
15192 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15194 cat >>confdefs.h <<_ACEOF
15195 #define HAVE_STRUCT_XINPGEN 1
15196 _ACEOF
15202 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15203 #include <link.h>
15204 #endif
15205 #ifdef HAVE_SYS_LINK_H
15206 #include <sys/link.h>
15207 #endif
15209 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15211 cat >>confdefs.h <<_ACEOF
15212 #define HAVE_STRUCT_R_DEBUG 1
15213 _ACEOF
15217 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15218 #include <link.h>
15219 #endif
15220 #ifdef HAVE_SYS_LINK_H
15221 #include <sys/link.h>
15222 #endif
15224 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15226 cat >>confdefs.h <<_ACEOF
15227 #define HAVE_STRUCT_LINK_MAP 1
15228 _ACEOF
15234 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15235 #include <linux/input.h>
15236 #endif
15238 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15240 cat >>confdefs.h <<_ACEOF
15241 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15242 _ACEOF
15248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15249 $as_echo_n "checking for sigaddset... " >&6; }
15250 if ${wine_cv_have_sigaddset+:} false; then :
15251 $as_echo_n "(cached) " >&6
15252 else
15253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15254 /* end confdefs.h. */
15255 #include <signal.h>
15257 main ()
15259 sigset_t set; sigaddset(&set,SIGTERM);
15261 return 0;
15263 _ACEOF
15264 if ac_fn_c_try_link "$LINENO"; then :
15265 wine_cv_have_sigaddset=yes
15266 else
15267 wine_cv_have_sigaddset=no
15269 rm -f core conftest.err conftest.$ac_objext \
15270 conftest$ac_exeext conftest.$ac_ext
15272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15273 $as_echo "$wine_cv_have_sigaddset" >&6; }
15274 if test "$wine_cv_have_sigaddset" = "yes"
15275 then
15277 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15283 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15284 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15285 $as_echo_n "(cached) " >&6
15286 else
15287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15288 /* end confdefs.h. */
15289 #include <netdb.h>
15291 main ()
15294 char *name=0;
15295 struct hostent he;
15296 struct hostent *result;
15297 char *buf=0;
15298 int bufsize=0;
15299 int errnr;
15300 char *addr=0;
15301 int addrlen=0;
15302 int addrtype=0;
15303 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15304 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15307 return 0;
15309 _ACEOF
15310 if ac_fn_c_try_link "$LINENO"; then :
15311 wine_cv_linux_gethostbyname_r_6=yes
15312 else
15313 wine_cv_linux_gethostbyname_r_6=no
15316 rm -f core conftest.err conftest.$ac_objext \
15317 conftest$ac_exeext conftest.$ac_ext
15320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15321 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15322 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15323 then
15325 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15329 if test "$ac_cv_header_linux_joystick_h" = "yes"
15330 then
15331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15332 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15333 if ${wine_cv_linux_joystick_22_api+:} false; then :
15334 $as_echo_n "(cached) " >&6
15335 else
15336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15337 /* end confdefs.h. */
15339 #include <sys/ioctl.h>
15340 #include <sys/types.h>
15341 #include <linux/joystick.h>
15343 struct js_event blub;
15344 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15345 #error "no 2.2 header"
15346 #endif
15349 main ()
15351 /*empty*/
15353 return 0;
15355 _ACEOF
15356 if ac_fn_c_try_compile "$LINENO"; then :
15357 wine_cv_linux_joystick_22_api=yes
15358 else
15359 wine_cv_linux_joystick_22_api=no
15361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15365 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15366 if test "$wine_cv_linux_joystick_22_api" = "yes"
15367 then
15369 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15375 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15376 #ifdef HAVE_SYS_PARAM_H
15377 # include <sys/param.h>
15378 #endif
15379 #ifdef HAVE_SYS_MOUNT_H
15380 # include <sys/mount.h>
15381 #endif
15382 #ifdef HAVE_SYS_VFS_H
15383 # include <sys/vfs.h>
15384 #endif
15385 #ifdef HAVE_SYS_STATFS_H
15386 # include <sys/statfs.h>
15387 #endif
15389 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15391 cat >>confdefs.h <<_ACEOF
15392 #define HAVE_STRUCT_STATFS_F_BFREE 1
15393 _ACEOF
15397 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15398 #ifdef HAVE_SYS_PARAM_H
15399 # include <sys/param.h>
15400 #endif
15401 #ifdef HAVE_SYS_MOUNT_H
15402 # include <sys/mount.h>
15403 #endif
15404 #ifdef HAVE_SYS_VFS_H
15405 # include <sys/vfs.h>
15406 #endif
15407 #ifdef HAVE_SYS_STATFS_H
15408 # include <sys/statfs.h>
15409 #endif
15411 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
15413 cat >>confdefs.h <<_ACEOF
15414 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15415 _ACEOF
15419 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15420 #ifdef HAVE_SYS_PARAM_H
15421 # include <sys/param.h>
15422 #endif
15423 #ifdef HAVE_SYS_MOUNT_H
15424 # include <sys/mount.h>
15425 #endif
15426 #ifdef HAVE_SYS_VFS_H
15427 # include <sys/vfs.h>
15428 #endif
15429 #ifdef HAVE_SYS_STATFS_H
15430 # include <sys/statfs.h>
15431 #endif
15433 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
15435 cat >>confdefs.h <<_ACEOF
15436 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15437 _ACEOF
15441 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15442 #ifdef HAVE_SYS_PARAM_H
15443 # include <sys/param.h>
15444 #endif
15445 #ifdef HAVE_SYS_MOUNT_H
15446 # include <sys/mount.h>
15447 #endif
15448 #ifdef HAVE_SYS_VFS_H
15449 # include <sys/vfs.h>
15450 #endif
15451 #ifdef HAVE_SYS_STATFS_H
15452 # include <sys/statfs.h>
15453 #endif
15455 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
15457 cat >>confdefs.h <<_ACEOF
15458 #define HAVE_STRUCT_STATFS_F_FFREE 1
15459 _ACEOF
15463 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15464 #ifdef HAVE_SYS_PARAM_H
15465 # include <sys/param.h>
15466 #endif
15467 #ifdef HAVE_SYS_MOUNT_H
15468 # include <sys/mount.h>
15469 #endif
15470 #ifdef HAVE_SYS_VFS_H
15471 # include <sys/vfs.h>
15472 #endif
15473 #ifdef HAVE_SYS_STATFS_H
15474 # include <sys/statfs.h>
15475 #endif
15477 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
15479 cat >>confdefs.h <<_ACEOF
15480 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15481 _ACEOF
15485 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15486 #ifdef HAVE_SYS_PARAM_H
15487 # include <sys/param.h>
15488 #endif
15489 #ifdef HAVE_SYS_MOUNT_H
15490 # include <sys/mount.h>
15491 #endif
15492 #ifdef HAVE_SYS_VFS_H
15493 # include <sys/vfs.h>
15494 #endif
15495 #ifdef HAVE_SYS_STATFS_H
15496 # include <sys/statfs.h>
15497 #endif
15499 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
15501 cat >>confdefs.h <<_ACEOF
15502 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15503 _ACEOF
15509 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15510 #include <sys/statvfs.h>
15511 #endif
15513 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
15515 cat >>confdefs.h <<_ACEOF
15516 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15517 _ACEOF
15523 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15524 #include <dirent.h>
15525 #endif
15527 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
15529 cat >>confdefs.h <<_ACEOF
15530 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15531 _ACEOF
15537 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15538 #ifdef HAVE_SYS_SOCKET_H
15539 # include <sys/socket.h>
15540 #endif
15541 #ifdef HAVE_SYS_UN_H
15542 # include <sys/un.h>
15543 #endif
15545 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
15547 cat >>confdefs.h <<_ACEOF
15548 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15549 _ACEOF
15553 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15554 #ifdef HAVE_SYS_SOCKET_H
15555 # include <sys/socket.h>
15556 #endif
15557 #ifdef HAVE_SYS_UN_H
15558 # include <sys/un.h>
15559 #endif
15561 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
15563 cat >>confdefs.h <<_ACEOF
15564 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15565 _ACEOF
15569 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15570 #ifdef HAVE_SYS_SOCKET_H
15571 # include <sys/socket.h>
15572 #endif
15573 #ifdef HAVE_SYS_UN_H
15574 # include <sys/un.h>
15575 #endif
15577 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
15579 cat >>confdefs.h <<_ACEOF
15580 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15581 _ACEOF
15587 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15588 #ifdef HAVE_SCSI_SG_H
15589 #include <scsi/sg.h>
15590 #endif
15592 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
15594 cat >>confdefs.h <<_ACEOF
15595 #define HAVE_SCSIREQ_T_CMD 1
15596 _ACEOF
15600 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>
15601 #ifdef HAVE_SCSI_SG_H
15602 #include <scsi/sg.h>
15603 #endif
15605 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
15607 cat >>confdefs.h <<_ACEOF
15608 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15609 _ACEOF
15615 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15617 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
15619 cat >>confdefs.h <<_ACEOF
15620 #define HAVE_SIGINFO_T_SI_FD 1
15621 _ACEOF
15627 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15628 #ifdef HAVE_SYS_MTIO_H
15629 #include <sys/mtio.h>
15630 #endif
15632 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
15634 cat >>confdefs.h <<_ACEOF
15635 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15636 _ACEOF
15640 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15641 #ifdef HAVE_SYS_MTIO_H
15642 #include <sys/mtio.h>
15643 #endif
15645 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
15647 cat >>confdefs.h <<_ACEOF
15648 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15649 _ACEOF
15653 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15654 #ifdef HAVE_SYS_MTIO_H
15655 #include <sys/mtio.h>
15656 #endif
15658 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
15660 cat >>confdefs.h <<_ACEOF
15661 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15662 _ACEOF
15668 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15669 #include <getopt.h>
15670 #endif
15672 if test "x$ac_cv_member_struct_option_name" = xyes; then :
15674 cat >>confdefs.h <<_ACEOF
15675 #define HAVE_STRUCT_OPTION_NAME 1
15676 _ACEOF
15682 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15683 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
15685 cat >>confdefs.h <<_ACEOF
15686 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15687 _ACEOF
15691 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15692 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
15694 cat >>confdefs.h <<_ACEOF
15695 #define HAVE_STRUCT_STAT_ST_MTIM 1
15696 _ACEOF
15700 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15701 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
15703 cat >>confdefs.h <<_ACEOF
15704 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15705 _ACEOF
15709 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15710 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
15712 cat >>confdefs.h <<_ACEOF
15713 #define HAVE_STRUCT_STAT_ST_CTIM 1
15714 _ACEOF
15718 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15719 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
15721 cat >>confdefs.h <<_ACEOF
15722 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15723 _ACEOF
15727 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15728 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
15730 cat >>confdefs.h <<_ACEOF
15731 #define HAVE_STRUCT_STAT_ST_ATIM 1
15732 _ACEOF
15736 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15737 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
15739 cat >>confdefs.h <<_ACEOF
15740 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15741 _ACEOF
15745 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15746 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
15748 cat >>confdefs.h <<_ACEOF
15749 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15750 _ACEOF
15754 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15755 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
15757 cat >>confdefs.h <<_ACEOF
15758 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15759 _ACEOF
15763 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15764 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
15766 cat >>confdefs.h <<_ACEOF
15767 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15768 _ACEOF
15772 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15773 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
15775 cat >>confdefs.h <<_ACEOF
15776 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15777 _ACEOF
15781 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15782 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
15784 cat >>confdefs.h <<_ACEOF
15785 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15786 _ACEOF
15792 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
15793 #include <sys/types.h>
15794 #endif
15795 #ifdef HAVE_NETINET_IN_H
15796 #include <netinet/in.h>
15797 #endif
15799 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
15801 cat >>confdefs.h <<_ACEOF
15802 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
15803 _ACEOF
15809 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
15810 #include <resolv.h>
15811 #endif
15813 if test "x$ac_cv_type_struct___res_state" = xyes; then :
15815 cat >>confdefs.h <<_ACEOF
15816 #define HAVE_STRUCT___RES_STATE 1
15817 _ACEOF
15823 ac_fn_c_check_member "$LINENO" "struct __res_state" "_u._ext.nscount6" "ac_cv_member_struct___res_state__u__ext_nscount6" "#ifdef HAVE_RESOLV_H
15824 #include <resolv.h>
15825 #endif
15827 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
15829 cat >>confdefs.h <<_ACEOF
15830 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
15831 _ACEOF
15837 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
15838 #include <sys/types.h>
15839 #endif
15840 #ifdef HAVE_NETINET_IN_H
15841 # include <netinet/in.h>
15842 #endif
15843 #ifdef HAVE_ARPA_NAMESER_H
15844 # include <arpa/nameser.h>
15845 #endif
15847 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
15849 cat >>confdefs.h <<_ACEOF
15850 #define HAVE_NS_MSG__MSG_PTR 1
15851 _ACEOF
15857 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
15858 #include <sys/types.h>
15859 #endif
15860 #ifdef HAVE_NETINET_IP_H
15861 #include <netinet/ip.h>
15862 #endif
15863 #ifdef HAVE_NETINET_IP_ICMP_H
15864 #include <netinet/ip_icmp.h>
15865 #endif
15866 #ifdef HAVE_NETINET_ICMP_VAR_H
15867 #include <netinet/icmp_var.h>
15868 #endif
15870 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
15872 cat >>confdefs.h <<_ACEOF
15873 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
15874 _ACEOF
15880 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
15881 #include <sys/types.h>
15882 #endif
15883 #ifdef HAVE_ALIAS_H
15884 #include <alias.h>
15885 #endif
15886 #ifdef HAVE_SYS_SOCKET_H
15887 #include <sys/socket.h>
15888 #endif
15889 #ifdef HAVE_SYS_SOCKETVAR_H
15890 #include <sys/socketvar.h>
15891 #endif
15892 #ifdef HAVE_SYS_TIMEOUT_H
15893 #include <sys/timeout.h>
15894 #endif
15895 #ifdef HAVE_NETINET_IN_H
15896 #include <netinet/in.h>
15897 #endif
15898 #ifdef HAVE_NETINET_IN_SYSTM_H
15899 #include <netinet/in_systm.h>
15900 #endif
15901 #ifdef HAVE_NETINET_IP_H
15902 #include <netinet/ip.h>
15903 #endif
15904 #ifdef HAVE_NETINET_IP_VAR_H
15905 #include <netinet/ip_var.h>
15906 #endif
15907 #ifdef HAVE_NETINET_IP_ICMP_H
15908 #include <netinet/ip_icmp.h>
15909 #endif
15910 #ifdef HAVE_NETINET_ICMP_VAR_H
15911 #include <netinet/icmp_var.h>
15912 #endif
15914 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
15916 cat >>confdefs.h <<_ACEOF
15917 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
15918 _ACEOF
15924 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
15925 #include <sys/types.h>
15926 #endif
15927 #ifdef HAVE_SYS_SOCKETVAR_H
15928 #include <sys/socketvar.h>
15929 #endif
15930 #ifdef HAVE_NETINET_IN_H
15931 #include <netinet/in.h>
15932 #endif
15933 #ifdef HAVE_NETINET_IP_VAR_H
15934 #include <netinet/ip_var.h>
15935 #endif
15937 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
15939 cat >>confdefs.h <<_ACEOF
15940 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
15941 _ACEOF
15947 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
15948 #include <netinet/ip_var.h>
15949 #endif
15951 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
15953 cat >>confdefs.h <<_ACEOF
15954 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
15955 _ACEOF
15961 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
15962 #include <sys/types.h>
15963 #endif
15964 #ifdef HAVE_SYS_SOCKETVAR_H
15965 #include <sys/socketvar.h>
15966 #endif
15967 #ifdef HAVE_NETINET_IN_H
15968 #include <netinet/in.h>
15969 #endif
15970 #ifdef HAVE_NETINET_TCP_H
15971 #include <netinet/tcp.h>
15972 #endif
15973 #ifdef HAVE_NETINET_TCP_VAR_H
15974 #include <netinet/tcp_var.h>
15975 #endif
15977 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
15979 cat >>confdefs.h <<_ACEOF
15980 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
15981 _ACEOF
15987 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
15988 #include <netinet/tcp_var.h>
15989 #endif
15991 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
15993 cat >>confdefs.h <<_ACEOF
15994 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
15995 _ACEOF
16001 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16002 #include <sys/types.h>
16003 #endif
16004 #ifdef HAVE_NETINET_IN_H
16005 #include <netinet/in.h>
16006 #endif
16007 #ifdef HAVE_NETINET_IP_VAR_H
16008 #include <netinet/ip_var.h>
16009 #endif
16010 #ifdef HAVE_NETINET_UDP_H
16011 #include <netinet/udp.h>
16012 #endif
16013 #ifdef HAVE_NETINET_UDP_VAR_H
16014 #include <netinet/udp_var.h>
16015 #endif
16017 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16019 cat >>confdefs.h <<_ACEOF
16020 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16021 _ACEOF
16027 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16028 #include <sys/types.h>
16029 #endif
16030 #ifdef HAVE_NET_IF_H
16031 # include <net/if.h>
16032 #endif
16034 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16036 cat >>confdefs.h <<_ACEOF
16037 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16038 _ACEOF
16044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16045 $as_echo_n "checking for timezone variable... " >&6; }
16046 if ${ac_cv_have_timezone+:} false; then :
16047 $as_echo_n "(cached) " >&6
16048 else
16049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16050 /* end confdefs.h. */
16051 #include <time.h>
16053 main ()
16055 timezone = 1
16057 return 0;
16059 _ACEOF
16060 if ac_fn_c_try_link "$LINENO"; then :
16061 ac_cv_have_timezone="yes"
16062 else
16063 ac_cv_have_timezone="no"
16065 rm -f core conftest.err conftest.$ac_objext \
16066 conftest$ac_exeext conftest.$ac_ext
16068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16069 $as_echo "$ac_cv_have_timezone" >&6; }
16070 if test "$ac_cv_have_timezone" = "yes"
16071 then
16073 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16077 $as_echo_n "checking for daylight variable... " >&6; }
16078 if ${ac_cv_have_daylight+:} false; then :
16079 $as_echo_n "(cached) " >&6
16080 else
16081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16082 /* end confdefs.h. */
16083 #include <time.h>
16085 main ()
16087 daylight = 1
16089 return 0;
16091 _ACEOF
16092 if ac_fn_c_try_link "$LINENO"; then :
16093 ac_cv_have_daylight="yes"
16094 else
16095 ac_cv_have_daylight="no"
16097 rm -f core conftest.err conftest.$ac_objext \
16098 conftest$ac_exeext conftest.$ac_ext
16100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16101 $as_echo "$ac_cv_have_daylight" >&6; }
16102 if test "$ac_cv_have_daylight" = "yes"
16103 then
16105 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16109 ac_save_LIBS="$LIBS"
16110 LIBS="$LIBS -lm"
16111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16112 $as_echo_n "checking for isfinite... " >&6; }
16113 if ${ac_cv_have_isfinite+:} false; then :
16114 $as_echo_n "(cached) " >&6
16115 else
16116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16117 /* end confdefs.h. */
16118 #define _GNU_SOURCE
16119 #include <math.h>
16121 main ()
16123 float f = 0.0; return isfinite(f)
16125 return 0;
16127 _ACEOF
16128 if ac_fn_c_try_link "$LINENO"; then :
16129 ac_cv_have_isfinite="yes"
16130 else
16131 ac_cv_have_isfinite="no"
16133 rm -f core conftest.err conftest.$ac_objext \
16134 conftest$ac_exeext conftest.$ac_ext
16136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16137 $as_echo "$ac_cv_have_isfinite" >&6; }
16138 if test "$ac_cv_have_isfinite" = "yes"
16139 then
16141 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16145 ac_save_LIBS="$LIBS"
16146 LIBS="$LIBS -lm"
16147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16148 $as_echo_n "checking for isinf... " >&6; }
16149 if ${ac_cv_have_isinf+:} false; then :
16150 $as_echo_n "(cached) " >&6
16151 else
16152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16153 /* end confdefs.h. */
16154 #include <math.h>
16156 main ()
16158 float f = 0.0; return isinf(f)
16160 return 0;
16162 _ACEOF
16163 if ac_fn_c_try_link "$LINENO"; then :
16164 ac_cv_have_isinf="yes"
16165 else
16166 ac_cv_have_isinf="no"
16168 rm -f core conftest.err conftest.$ac_objext \
16169 conftest$ac_exeext conftest.$ac_ext
16171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16172 $as_echo "$ac_cv_have_isinf" >&6; }
16173 if test "$ac_cv_have_isinf" = "yes"
16174 then
16176 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16181 $as_echo_n "checking for isnan... " >&6; }
16182 if ${ac_cv_have_isnan+:} false; then :
16183 $as_echo_n "(cached) " >&6
16184 else
16185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16186 /* end confdefs.h. */
16187 #include <math.h>
16189 main ()
16191 float f = 0.0; return isnan(f)
16193 return 0;
16195 _ACEOF
16196 if ac_fn_c_try_link "$LINENO"; then :
16197 ac_cv_have_isnan="yes"
16198 else
16199 ac_cv_have_isnan="no"
16201 rm -f core conftest.err conftest.$ac_objext \
16202 conftest$ac_exeext conftest.$ac_ext
16204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16205 $as_echo "$ac_cv_have_isnan" >&6; }
16206 if test "$ac_cv_have_isnan" = "yes"
16207 then
16209 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16212 LIBS="$ac_save_LIBS"
16215 case $host_cpu in
16216 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16217 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16218 if ${ac_cv_cpp_def___i386__+:} false; then :
16219 $as_echo_n "(cached) " >&6
16220 else
16221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16222 /* end confdefs.h. */
16223 #ifndef __i386__
16225 #endif
16226 _ACEOF
16227 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16228 $EGREP "yes" >/dev/null 2>&1; then :
16229 ac_cv_cpp_def___i386__=yes
16230 else
16231 ac_cv_cpp_def___i386__=no
16233 rm -f conftest*
16236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16237 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16238 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16239 CFLAGS="$CFLAGS -D__i386__"
16240 LINTFLAGS="$LINTFLAGS -D__i386__"
16241 fi ;;
16242 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16243 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16244 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16245 $as_echo_n "(cached) " >&6
16246 else
16247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16248 /* end confdefs.h. */
16249 #ifndef __x86_64__
16251 #endif
16252 _ACEOF
16253 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16254 $EGREP "yes" >/dev/null 2>&1; then :
16255 ac_cv_cpp_def___x86_64__=yes
16256 else
16257 ac_cv_cpp_def___x86_64__=no
16259 rm -f conftest*
16262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16263 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16264 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16265 CFLAGS="$CFLAGS -D__x86_64__"
16266 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16267 fi ;;
16268 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16269 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16270 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16271 $as_echo_n "(cached) " >&6
16272 else
16273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16274 /* end confdefs.h. */
16275 #ifndef __sparc64__
16277 #endif
16278 _ACEOF
16279 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16280 $EGREP "yes" >/dev/null 2>&1; then :
16281 ac_cv_cpp_def___sparc64__=yes
16282 else
16283 ac_cv_cpp_def___sparc64__=no
16285 rm -f conftest*
16288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16289 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16290 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
16291 CFLAGS="$CFLAGS -D__sparc64__"
16292 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16293 fi ;;
16294 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16295 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16296 if ${ac_cv_cpp_def___sparc__+:} false; then :
16297 $as_echo_n "(cached) " >&6
16298 else
16299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16300 /* end confdefs.h. */
16301 #ifndef __sparc__
16303 #endif
16304 _ACEOF
16305 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16306 $EGREP "yes" >/dev/null 2>&1; then :
16307 ac_cv_cpp_def___sparc__=yes
16308 else
16309 ac_cv_cpp_def___sparc__=no
16311 rm -f conftest*
16314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16315 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16316 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
16317 CFLAGS="$CFLAGS -D__sparc__"
16318 LINTFLAGS="$LINTFLAGS -D__sparc__"
16319 fi ;;
16320 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16321 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16322 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
16323 $as_echo_n "(cached) " >&6
16324 else
16325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16326 /* end confdefs.h. */
16327 #ifndef __powerpc64__
16329 #endif
16330 _ACEOF
16331 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16332 $EGREP "yes" >/dev/null 2>&1; then :
16333 ac_cv_cpp_def___powerpc64__=yes
16334 else
16335 ac_cv_cpp_def___powerpc64__=no
16337 rm -f conftest*
16340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16341 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16342 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
16343 CFLAGS="$CFLAGS -D__powerpc64__"
16344 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
16345 fi ;;
16346 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16347 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16348 if ${ac_cv_cpp_def___powerpc__+:} false; then :
16349 $as_echo_n "(cached) " >&6
16350 else
16351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16352 /* end confdefs.h. */
16353 #ifndef __powerpc__
16355 #endif
16356 _ACEOF
16357 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16358 $EGREP "yes" >/dev/null 2>&1; then :
16359 ac_cv_cpp_def___powerpc__=yes
16360 else
16361 ac_cv_cpp_def___powerpc__=no
16363 rm -f conftest*
16366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16367 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16368 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
16369 CFLAGS="$CFLAGS -D__powerpc__"
16370 LINTFLAGS="$LINTFLAGS -D__powerpc__"
16371 fi ;;
16372 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16373 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16374 if ${ac_cv_cpp_def___aarch64__+:} false; then :
16375 $as_echo_n "(cached) " >&6
16376 else
16377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16378 /* end confdefs.h. */
16379 #ifndef __aarch64__
16381 #endif
16382 _ACEOF
16383 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16384 $EGREP "yes" >/dev/null 2>&1; then :
16385 ac_cv_cpp_def___aarch64__=yes
16386 else
16387 ac_cv_cpp_def___aarch64__=no
16389 rm -f conftest*
16392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16393 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16394 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
16395 CFLAGS="$CFLAGS -D__aarch64__"
16396 LINTFLAGS="$LINTFLAGS -D__aarch64__"
16397 fi ;;
16398 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16399 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16400 if ${ac_cv_cpp_def___arm__+:} false; then :
16401 $as_echo_n "(cached) " >&6
16402 else
16403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16404 /* end confdefs.h. */
16405 #ifndef __arm__
16407 #endif
16408 _ACEOF
16409 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16410 $EGREP "yes" >/dev/null 2>&1; then :
16411 ac_cv_cpp_def___arm__=yes
16412 else
16413 ac_cv_cpp_def___arm__=no
16415 rm -f conftest*
16418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16419 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16420 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
16421 CFLAGS="$CFLAGS -D__arm__"
16422 LINTFLAGS="$LINTFLAGS -D__arm__"
16423 fi ;;
16424 esac
16426 case $host_vendor in
16427 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16428 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16429 if ${ac_cv_cpp_def___sun__+:} false; then :
16430 $as_echo_n "(cached) " >&6
16431 else
16432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16433 /* end confdefs.h. */
16434 #ifndef __sun__
16436 #endif
16437 _ACEOF
16438 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16439 $EGREP "yes" >/dev/null 2>&1; then :
16440 ac_cv_cpp_def___sun__=yes
16441 else
16442 ac_cv_cpp_def___sun__=no
16444 rm -f conftest*
16447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16448 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16449 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
16450 CFLAGS="$CFLAGS -D__sun__"
16451 LINTFLAGS="$LINTFLAGS -D__sun__"
16452 fi ;;
16453 esac
16459 ac_config_commands="$ac_config_commands include/stamp-h"
16461 $as_echo_n "creating Makefile rules..." >&6
16463 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
16464 SOCKET_LIBS = $SOCKET_LIBS
16465 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16466 IOKIT_LIBS = $IOKIT_LIBS
16467 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16468 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16469 CORESERVICES_LIBS = $CORESERVICES_LIBS
16470 APPKIT_LIBS = $APPKIT_LIBS
16471 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16472 SECURITY_LIBS = $SECURITY_LIBS
16473 COREAUDIO_LIBS = $COREAUDIO_LIBS
16474 OPENAL_LIBS = $OPENAL_LIBS
16475 OPENCL_LIBS = $OPENCL_LIBS
16476 QUICKTIME_LIBS = $QUICKTIME_LIBS
16477 CARBON_LIBS = $CARBON_LIBS
16478 PTHREAD_LIBS = $PTHREAD_LIBS
16479 X_CFLAGS = $X_CFLAGS
16480 X_PRE_LIBS = $X_PRE_LIBS
16481 X_LIBS = $X_LIBS
16482 X_EXTRA_LIBS = $X_EXTRA_LIBS
16483 XML2_CFLAGS = $XML2_CFLAGS
16484 XML2_LIBS = $XML2_LIBS
16485 XSLT_CFLAGS = $XSLT_CFLAGS
16486 XSLT_LIBS = $XSLT_LIBS
16487 DBUS_CFLAGS = $DBUS_CFLAGS
16488 DBUS_LIBS = $DBUS_LIBS
16489 HAL_CFLAGS = $HAL_CFLAGS
16490 HAL_LIBS = $HAL_LIBS
16491 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16492 GNUTLS_LIBS = $GNUTLS_LIBS
16493 SANE_CFLAGS = $SANE_CFLAGS
16494 SANE_LIBS = $SANE_LIBS
16495 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16496 GPHOTO2_LIBS = $GPHOTO2_LIBS
16497 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16498 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16499 RESOLV_LIBS = $RESOLV_LIBS
16500 LCMS2_CFLAGS = $LCMS2_CFLAGS
16501 LCMS2_LIBS = $LCMS2_LIBS
16502 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16503 FREETYPE_LIBS = $FREETYPE_LIBS
16504 Z_LIBS = $Z_LIBS
16505 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16506 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16507 GSTREAMER_LIBS = $GSTREAMER_LIBS
16508 ALSA_LIBS = $ALSA_LIBS
16509 OSS4_CFLAGS = $OSS4_CFLAGS
16510 CAPI20_CFLAGS = $CAPI20_CFLAGS
16511 CAPI20_LIBS = $CAPI20_LIBS
16512 CUPS_CFLAGS = $CUPS_CFLAGS
16513 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16514 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16515 JPEG_CFLAGS = $JPEG_CFLAGS
16516 JPEG_LIBS = $JPEG_LIBS
16517 PNG_CFLAGS = $PNG_CFLAGS
16518 PNG_LIBS = $PNG_LIBS
16519 TIFF_CFLAGS = $TIFF_CFLAGS
16520 TIFF_LIBS = $TIFF_LIBS
16521 MPG123_CFLAGS = $MPG123_CFLAGS
16522 MPG123_LIBS = $MPG123_LIBS
16523 KSTAT_LIBS = $KSTAT_LIBS
16524 PROCSTAT_LIBS = $PROCSTAT_LIBS
16525 DL_LIBS = $DL_LIBS
16526 POLL_LIBS = $POLL_LIBS
16527 RT_LIBS = $RT_LIBS
16528 LDAP_LIBS = $LDAP_LIBS
16533 wine_fn_append_rule "
16534 # Rules automatically generated by configure
16536 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16538 .INIT: Makefile
16539 .MAKEFILEDEPS:
16540 all: Makefile
16541 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16542 @./config.status Make.tmp Makefile && \$(MAKEDEP) ."
16544 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
16545 .gitignore: config.status
16546 @./config.status .gitignore"
16548 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
16549 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16551 if test "x$enable_fonts" != xno; then
16552 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16553 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16554 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16555 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16556 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf
16558 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16559 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
16560 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
16561 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
16562 ac_config_links="$ac_config_links wine:tools/winewrapper"
16563 wine_fn_config_symlink wine
16564 if test "x$enable_win64" != xno; then
16565 ac_config_links="$ac_config_links wine64:tools/winewrapper"
16566 wine_fn_config_symlink wine64
16569 wine_fn_config_dll acledit enable_acledit
16570 wine_fn_config_dll aclui enable_aclui implib
16571 wine_fn_config_dll activeds enable_activeds implib
16572 wine_fn_config_dll actxprxy enable_actxprxy clean
16573 wine_fn_config_lib adsiid
16574 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
16575 wine_fn_config_test dlls/advapi32/tests advapi32_test
16576 wine_fn_config_dll advpack enable_advpack implib
16577 wine_fn_config_test dlls/advpack/tests advpack_test
16578 wine_fn_config_dll amstream enable_amstream clean
16579 wine_fn_config_test dlls/amstream/tests amstream_test
16580 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16581 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16582 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16583 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16584 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16585 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
16586 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
16587 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
16588 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
16589 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
16590 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
16591 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16592 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16593 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16594 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16595 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16596 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16597 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16598 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16599 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16600 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16601 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16602 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16603 wine_fn_config_dll apphelp enable_apphelp
16604 wine_fn_config_test dlls/apphelp/tests apphelp_test
16605 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16606 wine_fn_config_dll atl enable_atl clean,implib
16607 wine_fn_config_test dlls/atl/tests atl_test
16608 wine_fn_config_dll atl100 enable_atl100 implib
16609 wine_fn_config_test dlls/atl100/tests atl100_test
16610 wine_fn_config_dll atl110 enable_atl110
16611 wine_fn_config_dll atl80 enable_atl80 implib
16612 wine_fn_config_test dlls/atl80/tests atl80_test
16613 wine_fn_config_dll atl90 enable_atl90
16614 wine_fn_config_dll authz enable_authz
16615 wine_fn_config_dll avicap32 enable_avicap32 implib
16616 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
16617 wine_fn_config_test dlls/avifil32/tests avifil32_test
16618 wine_fn_config_dll avifile.dll16 enable_win16
16619 wine_fn_config_dll avrt enable_avrt implib
16620 wine_fn_config_dll bcrypt enable_bcrypt
16621 wine_fn_config_dll browseui enable_browseui clean,po
16622 wine_fn_config_test dlls/browseui/tests browseui_test
16623 wine_fn_config_dll cabinet enable_cabinet implib
16624 wine_fn_config_test dlls/cabinet/tests cabinet_test
16625 wine_fn_config_dll capi2032 enable_capi2032 implib
16626 wine_fn_config_dll cards enable_cards implib
16627 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16628 wine_fn_config_dll clusapi enable_clusapi implib
16629 wine_fn_config_dll comcat enable_comcat
16630 wine_fn_config_test dlls/comcat/tests comcat_test
16631 wine_fn_config_dll comctl32 enable_comctl32 implib,po
16632 wine_fn_config_test dlls/comctl32/tests comctl32_test
16633 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
16634 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
16635 wine_fn_config_dll comm.drv16 enable_win16
16636 wine_fn_config_dll commdlg.dll16 enable_win16
16637 wine_fn_config_dll compobj.dll16 enable_win16
16638 wine_fn_config_dll compstui enable_compstui implib
16639 wine_fn_config_dll comsvcs enable_comsvcs implib
16640 wine_fn_config_dll credui enable_credui implib,po
16641 wine_fn_config_test dlls/credui/tests credui_test
16642 wine_fn_config_dll crtdll enable_crtdll implib
16643 wine_fn_config_dll crypt32 enable_crypt32 implib,po
16644 wine_fn_config_test dlls/crypt32/tests crypt32_test
16645 wine_fn_config_dll cryptdlg enable_cryptdlg po
16646 wine_fn_config_dll cryptdll enable_cryptdll implib
16647 wine_fn_config_dll cryptnet enable_cryptnet implib
16648 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
16649 wine_fn_config_dll cryptui enable_cryptui implib,po
16650 wine_fn_config_test dlls/cryptui/tests cryptui_test
16651 wine_fn_config_dll ctapi32 enable_ctapi32
16652 wine_fn_config_dll ctl3d.dll16 enable_win16
16653 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16654 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16655 wine_fn_config_dll d3d10 enable_d3d10 implib
16656 wine_fn_config_test dlls/d3d10/tests d3d10_test
16657 wine_fn_config_dll d3d10core enable_d3d10core implib
16658 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
16659 wine_fn_config_dll d3d11 enable_d3d11
16660 wine_fn_config_dll d3d8 enable_d3d8 implib
16661 wine_fn_config_test dlls/d3d8/tests d3d8_test
16662 wine_fn_config_dll d3d9 enable_d3d9 implib
16663 wine_fn_config_test dlls/d3d9/tests d3d9_test
16664 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16665 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16666 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16667 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16668 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16669 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16670 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16671 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16672 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16673 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16674 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16675 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
16676 wine_fn_config_dll d3dim enable_d3dim implib
16677 wine_fn_config_dll d3drm enable_d3drm implib
16678 wine_fn_config_test dlls/d3drm/tests d3drm_test
16679 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16680 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16681 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16682 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16683 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16684 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16685 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16686 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16687 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16688 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16689 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16690 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16691 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16692 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16693 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16694 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16695 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16696 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16697 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16698 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16699 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16700 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16701 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16702 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16703 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16704 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16705 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
16706 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16707 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16708 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16709 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16710 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16711 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16712 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16713 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
16714 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
16715 wine_fn_config_dll dbgeng enable_dbgeng implib
16716 wine_fn_config_dll dbghelp enable_dbghelp implib
16717 wine_fn_config_dll dciman32 enable_dciman32 implib
16718 wine_fn_config_dll ddeml.dll16 enable_win16
16719 wine_fn_config_dll ddraw enable_ddraw clean,implib
16720 wine_fn_config_test dlls/ddraw/tests ddraw_test
16721 wine_fn_config_dll ddrawex enable_ddrawex clean
16722 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
16723 wine_fn_config_dll devenum enable_devenum clean,po
16724 wine_fn_config_test dlls/devenum/tests devenum_test
16725 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16726 wine_fn_config_dll difxapi enable_difxapi
16727 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
16728 wine_fn_config_test dlls/dinput/tests dinput_test
16729 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
16730 wine_fn_config_test dlls/dinput8/tests dinput8_test
16731 wine_fn_config_dll dispdib.dll16 enable_win16
16732 wine_fn_config_dll dispex enable_dispex clean
16733 wine_fn_config_test dlls/dispex/tests dispex_test
16734 wine_fn_config_dll display.drv16 enable_win16
16735 wine_fn_config_dll dmband enable_dmband clean
16736 wine_fn_config_test dlls/dmband/tests dmband_test
16737 wine_fn_config_dll dmcompos enable_dmcompos clean
16738 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
16739 wine_fn_config_dll dmime enable_dmime clean
16740 wine_fn_config_test dlls/dmime/tests dmime_test
16741 wine_fn_config_dll dmloader enable_dmloader clean
16742 wine_fn_config_test dlls/dmloader/tests dmloader_test
16743 wine_fn_config_dll dmscript enable_dmscript clean
16744 wine_fn_config_test dlls/dmscript/tests dmscript_test
16745 wine_fn_config_dll dmstyle enable_dmstyle clean
16746 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
16747 wine_fn_config_dll dmsynth enable_dmsynth clean
16748 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
16749 wine_fn_config_dll dmusic enable_dmusic clean
16750 wine_fn_config_test dlls/dmusic/tests dmusic_test
16751 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16752 wine_fn_config_dll dnsapi enable_dnsapi implib
16753 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
16754 wine_fn_config_dll dplay enable_dplay implib
16755 wine_fn_config_dll dplayx enable_dplayx clean,implib
16756 wine_fn_config_test dlls/dplayx/tests dplayx_test
16757 wine_fn_config_dll dpnaddr enable_dpnaddr
16758 wine_fn_config_dll dpnet enable_dpnet clean,implib
16759 wine_fn_config_test dlls/dpnet/tests dpnet_test
16760 wine_fn_config_dll dpnhpast enable_dpnhpast
16761 wine_fn_config_dll dpnlobby enable_dpnlobby
16762 wine_fn_config_dll dpwsockx enable_dpwsockx
16763 wine_fn_config_dll drmclien enable_drmclien
16764 wine_fn_config_dll dsound enable_dsound clean,implib
16765 wine_fn_config_test dlls/dsound/tests dsound_test
16766 wine_fn_config_dll dssenh enable_dssenh
16767 wine_fn_config_test dlls/dssenh/tests dssenh_test
16768 wine_fn_config_dll dswave enable_dswave clean
16769 wine_fn_config_dll dwmapi enable_dwmapi implib
16770 wine_fn_config_dll dwrite enable_dwrite implib
16771 wine_fn_config_test dlls/dwrite/tests dwrite_test
16772 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
16773 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
16774 wine_fn_config_lib dxerr8
16775 wine_fn_config_lib dxerr9
16776 wine_fn_config_dll dxgi enable_dxgi implib
16777 wine_fn_config_test dlls/dxgi/tests dxgi_test
16778 wine_fn_config_lib dxguid
16779 wine_fn_config_dll explorerframe enable_explorerframe clean
16780 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
16781 wine_fn_config_dll faultrep enable_faultrep implib
16782 wine_fn_config_test dlls/faultrep/tests faultrep_test
16783 wine_fn_config_dll fltlib enable_fltlib
16784 wine_fn_config_dll fusion enable_fusion
16785 wine_fn_config_test dlls/fusion/tests fusion_test
16786 wine_fn_config_dll fwpuclnt enable_fwpuclnt
16787 wine_fn_config_dll gameux enable_gameux clean
16788 wine_fn_config_test dlls/gameux/tests gameux_test
16789 wine_fn_config_dll gdi.exe16 enable_win16
16790 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
16791 wine_fn_config_test dlls/gdi32/tests gdi32_test
16792 wine_fn_config_dll gdiplus enable_gdiplus implib
16793 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
16794 wine_fn_config_dll glu32 enable_glu32 implib
16795 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
16796 wine_fn_config_dll gpkcsp enable_gpkcsp
16797 wine_fn_config_dll hal enable_hal
16798 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
16799 wine_fn_config_dll hid enable_hid implib
16800 wine_fn_config_dll hlink enable_hlink clean,implib
16801 wine_fn_config_test dlls/hlink/tests hlink_test
16802 wine_fn_config_dll hnetcfg enable_hnetcfg clean
16803 wine_fn_config_dll httpapi enable_httpapi
16804 wine_fn_config_dll iccvid enable_iccvid po
16805 wine_fn_config_dll icmp enable_icmp
16806 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
16807 wine_fn_config_test dlls/ieframe/tests ieframe_test
16808 wine_fn_config_dll ifsmgr.vxd enable_win16
16809 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
16810 wine_fn_config_dll imagehlp enable_imagehlp implib
16811 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
16812 wine_fn_config_dll imm.dll16 enable_win16
16813 wine_fn_config_dll imm32 enable_imm32 implib
16814 wine_fn_config_test dlls/imm32/tests imm32_test
16815 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
16816 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
16817 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
16818 wine_fn_config_dll inetmib1 enable_inetmib1
16819 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
16820 wine_fn_config_dll infosoft enable_infosoft clean
16821 wine_fn_config_test dlls/infosoft/tests infosoft_test
16822 wine_fn_config_dll initpki enable_initpki
16823 wine_fn_config_dll inkobj enable_inkobj
16824 wine_fn_config_dll inseng enable_inseng clean
16825 wine_fn_config_dll iphlpapi enable_iphlpapi implib
16826 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
16827 wine_fn_config_dll itircl enable_itircl
16828 wine_fn_config_dll itss enable_itss clean
16829 wine_fn_config_test dlls/itss/tests itss_test
16830 wine_fn_config_dll joy.cpl enable_joy_cpl po
16831 wine_fn_config_dll jscript enable_jscript clean,po
16832 wine_fn_config_test dlls/jscript/tests jscript_test
16833 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
16834 wine_fn_config_test dlls/kernel32/tests kernel32_test
16835 wine_fn_config_dll keyboard.drv16 enable_win16
16836 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
16837 wine_fn_config_dll ktmw32 enable_ktmw32
16838 wine_fn_config_dll loadperf enable_loadperf implib
16839 wine_fn_config_dll localspl enable_localspl po
16840 wine_fn_config_test dlls/localspl/tests localspl_test
16841 wine_fn_config_dll localui enable_localui po
16842 wine_fn_config_test dlls/localui/tests localui_test
16843 wine_fn_config_dll lz32 enable_lz32 implib
16844 wine_fn_config_test dlls/lz32/tests lz32_test
16845 wine_fn_config_dll lzexpand.dll16 enable_win16
16846 wine_fn_config_dll mapi32 enable_mapi32 implib,po
16847 wine_fn_config_test dlls/mapi32/tests mapi32_test
16848 wine_fn_config_dll mapistub enable_mapistub
16849 wine_fn_config_dll mciavi32 enable_mciavi32
16850 wine_fn_config_dll mcicda enable_mcicda
16851 wine_fn_config_dll mciqtz32 enable_mciqtz32
16852 wine_fn_config_dll mciseq enable_mciseq
16853 wine_fn_config_dll mciwave enable_mciwave
16854 wine_fn_config_dll mgmtapi enable_mgmtapi
16855 wine_fn_config_dll midimap enable_midimap
16856 wine_fn_config_dll mlang enable_mlang clean,implib
16857 wine_fn_config_test dlls/mlang/tests mlang_test
16858 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
16859 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
16860 wine_fn_config_dll mmdevapi enable_mmdevapi clean
16861 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
16862 wine_fn_config_dll mmdevldr.vxd enable_win16
16863 wine_fn_config_dll mmsystem.dll16 enable_win16
16864 wine_fn_config_dll monodebg.vxd enable_win16
16865 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
16866 wine_fn_config_dll mouse.drv16 enable_win16
16867 wine_fn_config_dll mpr enable_mpr implib,po
16868 wine_fn_config_test dlls/mpr/tests mpr_test
16869 wine_fn_config_dll mprapi enable_mprapi implib
16870 wine_fn_config_dll msacm.dll16 enable_win16
16871 wine_fn_config_dll msacm32.drv enable_msacm32_drv
16872 wine_fn_config_dll msacm32 enable_msacm32 implib,po
16873 wine_fn_config_test dlls/msacm32/tests msacm32_test
16874 wine_fn_config_dll msadp32.acm enable_msadp32_acm
16875 wine_fn_config_dll mscat32 enable_mscat32
16876 wine_fn_config_dll mscms enable_mscms implib
16877 wine_fn_config_test dlls/mscms/tests mscms_test
16878 wine_fn_config_dll mscoree enable_mscoree clean
16879 wine_fn_config_test dlls/mscoree/tests mscoree_test
16880 wine_fn_config_dll msctf enable_msctf clean
16881 wine_fn_config_test dlls/msctf/tests msctf_test
16882 wine_fn_config_dll msdaps enable_msdaps clean
16883 wine_fn_config_dll msdmo enable_msdmo implib
16884 wine_fn_config_dll msftedit enable_msftedit
16885 wine_fn_config_dll msg711.acm enable_msg711_acm
16886 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
16887 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
16888 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
16889 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
16890 wine_fn_config_dll msi enable_msi clean,implib,po
16891 wine_fn_config_test dlls/msi/tests msi_test
16892 wine_fn_config_dll msident enable_msident clean
16893 wine_fn_config_dll msimg32 enable_msimg32 implib
16894 wine_fn_config_dll msimsg enable_msimsg
16895 wine_fn_config_dll msimtf enable_msimtf clean
16896 wine_fn_config_dll msisip enable_msisip
16897 wine_fn_config_dll msisys.ocx enable_msisys_ocx
16898 wine_fn_config_dll msls31 enable_msls31
16899 wine_fn_config_dll msnet32 enable_msnet32
16900 wine_fn_config_dll mspatcha enable_mspatcha
16901 wine_fn_config_dll msrle32 enable_msrle32 po
16902 wine_fn_config_test dlls/msrle32/tests msrle32_test
16903 wine_fn_config_dll mssign32 enable_mssign32
16904 wine_fn_config_dll mssip32 enable_mssip32
16905 wine_fn_config_dll mstask enable_mstask clean
16906 wine_fn_config_test dlls/mstask/tests mstask_test
16907 wine_fn_config_dll msvcirt enable_msvcirt
16908 wine_fn_config_dll msvcm80 enable_msvcm80
16909 wine_fn_config_dll msvcm90 enable_msvcm90
16910 wine_fn_config_dll msvcp100 enable_msvcp100
16911 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
16912 wine_fn_config_dll msvcp110 enable_msvcp110
16913 wine_fn_config_dll msvcp60 enable_msvcp60
16914 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
16915 wine_fn_config_dll msvcp70 enable_msvcp70
16916 wine_fn_config_dll msvcp71 enable_msvcp71
16917 wine_fn_config_dll msvcp80 enable_msvcp80
16918 wine_fn_config_dll msvcp90 enable_msvcp90
16919 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
16920 wine_fn_config_dll msvcr100 enable_msvcr100 implib
16921 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
16922 wine_fn_config_dll msvcr110 enable_msvcr110 implib
16923 wine_fn_config_dll msvcr70 enable_msvcr70 implib
16924 wine_fn_config_dll msvcr71 enable_msvcr71 implib
16925 wine_fn_config_dll msvcr80 enable_msvcr80 implib
16926 wine_fn_config_dll msvcr90 enable_msvcr90 implib
16927 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
16928 wine_fn_config_dll msvcrt enable_msvcrt implib
16929 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
16930 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
16931 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
16932 wine_fn_config_dll msvcrtd enable_msvcrtd implib
16933 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
16934 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
16935 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
16936 wine_fn_config_dll msvidc32 enable_msvidc32 po
16937 wine_fn_config_dll msvideo.dll16 enable_win16
16938 wine_fn_config_dll mswsock enable_mswsock implib
16939 wine_fn_config_dll msxml enable_msxml clean
16940 wine_fn_config_dll msxml2 enable_msxml2 clean
16941 wine_fn_config_dll msxml3 enable_msxml3 clean
16942 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
16943 wine_fn_config_dll msxml4 enable_msxml4 clean
16944 wine_fn_config_dll msxml6 enable_msxml6 clean
16945 wine_fn_config_dll nddeapi enable_nddeapi implib
16946 wine_fn_config_dll netapi32 enable_netapi32 implib
16947 wine_fn_config_test dlls/netapi32/tests netapi32_test
16948 wine_fn_config_dll netcfgx enable_netcfgx
16949 wine_fn_config_dll newdev enable_newdev implib
16950 wine_fn_config_dll normaliz enable_normaliz implib
16951 wine_fn_config_dll npmshtml enable_npmshtml
16952 wine_fn_config_dll ntdll enable_ntdll implib
16953 wine_fn_config_test dlls/ntdll/tests ntdll_test
16954 wine_fn_config_dll ntdsapi enable_ntdsapi implib
16955 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
16956 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
16957 wine_fn_config_dll ntprint enable_ntprint
16958 wine_fn_config_test dlls/ntprint/tests ntprint_test
16959 wine_fn_config_dll objsel enable_objsel clean
16960 wine_fn_config_dll odbc32 enable_odbc32 implib
16961 wine_fn_config_dll odbccp32 enable_odbccp32 implib
16962 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
16963 wine_fn_config_dll odbccu32 enable_odbccu32
16964 wine_fn_config_dll ole2.dll16 enable_win16
16965 wine_fn_config_dll ole2conv.dll16 enable_win16
16966 wine_fn_config_dll ole2disp.dll16 enable_win16
16967 wine_fn_config_dll ole2nls.dll16 enable_win16
16968 wine_fn_config_dll ole2prox.dll16 enable_win16
16969 wine_fn_config_dll ole2thk.dll16 enable_win16
16970 wine_fn_config_dll ole32 enable_ole32 clean,implib
16971 wine_fn_config_test dlls/ole32/tests ole32_test
16972 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
16973 wine_fn_config_test dlls/oleacc/tests oleacc_test
16974 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
16975 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
16976 wine_fn_config_dll olecli.dll16 enable_win16
16977 wine_fn_config_dll olecli32 enable_olecli32 implib
16978 wine_fn_config_dll oledb32 enable_oledb32 clean
16979 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
16980 wine_fn_config_dll oledlg enable_oledlg implib,po
16981 wine_fn_config_dll olepro32 enable_olepro32 implib
16982 wine_fn_config_dll olesvr.dll16 enable_win16
16983 wine_fn_config_dll olesvr32 enable_olesvr32 implib
16984 wine_fn_config_dll olethk32 enable_olethk32
16985 wine_fn_config_dll openal32 enable_openal32
16986 wine_fn_config_dll opencl enable_opencl
16987 wine_fn_config_dll opengl32 enable_opengl32 implib
16988 wine_fn_config_test dlls/opengl32/tests opengl32_test
16989 wine_fn_config_dll pdh enable_pdh implib
16990 wine_fn_config_test dlls/pdh/tests pdh_test
16991 wine_fn_config_dll photometadatahandler enable_photometadatahandler
16992 wine_fn_config_dll pidgen enable_pidgen
16993 wine_fn_config_dll powrprof enable_powrprof implib
16994 wine_fn_config_dll printui enable_printui
16995 wine_fn_config_dll propsys enable_propsys clean,implib
16996 wine_fn_config_test dlls/propsys/tests propsys_test
16997 wine_fn_config_dll psapi enable_psapi implib
16998 wine_fn_config_test dlls/psapi/tests psapi_test
16999 wine_fn_config_dll pstorec enable_pstorec clean
17000 wine_fn_config_dll qcap enable_qcap
17001 wine_fn_config_test dlls/qcap/tests qcap_test
17002 wine_fn_config_dll qedit enable_qedit clean
17003 wine_fn_config_test dlls/qedit/tests qedit_test
17004 wine_fn_config_dll qmgr enable_qmgr clean
17005 wine_fn_config_test dlls/qmgr/tests qmgr_test
17006 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17007 wine_fn_config_dll quartz enable_quartz clean,implib
17008 wine_fn_config_test dlls/quartz/tests quartz_test clean
17009 wine_fn_config_dll query enable_query
17010 wine_fn_config_dll rasapi16.dll16 enable_win16
17011 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17012 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17013 wine_fn_config_dll rasdlg enable_rasdlg implib
17014 wine_fn_config_dll regapi enable_regapi
17015 wine_fn_config_dll resutils enable_resutils implib
17016 wine_fn_config_dll riched20 enable_riched20 implib
17017 wine_fn_config_test dlls/riched20/tests riched20_test
17018 wine_fn_config_dll riched32 enable_riched32
17019 wine_fn_config_test dlls/riched32/tests riched32_test
17020 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17021 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17022 wine_fn_config_dll rsabase enable_rsabase
17023 wine_fn_config_dll rsaenh enable_rsaenh implib
17024 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17025 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17026 wine_fn_config_dll rtutils enable_rtutils implib
17027 wine_fn_config_dll samlib enable_samlib
17028 wine_fn_config_dll sane.ds enable_sane_ds po
17029 wine_fn_config_dll scarddlg enable_scarddlg
17030 wine_fn_config_dll sccbase enable_sccbase
17031 wine_fn_config_dll schannel enable_schannel
17032 wine_fn_config_test dlls/schannel/tests schannel_test
17033 wine_fn_config_dll scrrun enable_scrrun clean
17034 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17035 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17036 wine_fn_config_dll secur32 enable_secur32 implib
17037 wine_fn_config_test dlls/secur32/tests secur32_test
17038 wine_fn_config_dll security enable_security
17039 wine_fn_config_dll sensapi enable_sensapi implib
17040 wine_fn_config_dll serialui enable_serialui implib,po
17041 wine_fn_config_test dlls/serialui/tests serialui_test
17042 wine_fn_config_dll setupapi enable_setupapi implib,po
17043 wine_fn_config_test dlls/setupapi/tests setupapi_test
17044 wine_fn_config_dll setupx.dll16 enable_win16
17045 wine_fn_config_dll sfc enable_sfc implib
17046 wine_fn_config_dll sfc_os enable_sfc_os implib
17047 wine_fn_config_dll shdoclc enable_shdoclc po
17048 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17049 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17050 wine_fn_config_dll shell.dll16 enable_win16
17051 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17052 wine_fn_config_test dlls/shell32/tests shell32_test
17053 wine_fn_config_dll shfolder enable_shfolder implib
17054 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17055 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17056 wine_fn_config_dll slbcsp enable_slbcsp
17057 wine_fn_config_dll slc enable_slc implib
17058 wine_fn_config_dll snmpapi enable_snmpapi implib
17059 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17060 wine_fn_config_dll softpub enable_softpub
17061 wine_fn_config_dll sound.drv16 enable_win16
17062 wine_fn_config_dll spoolss enable_spoolss implib
17063 wine_fn_config_test dlls/spoolss/tests spoolss_test
17064 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17065 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17066 wine_fn_config_dll sti enable_sti clean,implib
17067 wine_fn_config_test dlls/sti/tests sti_test
17068 wine_fn_config_dll storage.dll16 enable_win16
17069 wine_fn_config_dll stress.dll16 enable_win16
17070 wine_fn_config_lib strmbase
17071 wine_fn_config_lib strmiids
17072 wine_fn_config_dll svrapi enable_svrapi
17073 wine_fn_config_dll sxs enable_sxs implib
17074 wine_fn_config_test dlls/sxs/tests sxs_test
17075 wine_fn_config_dll system.drv16 enable_win16
17076 wine_fn_config_dll t2embed enable_t2embed
17077 wine_fn_config_dll tapi32 enable_tapi32 implib
17078 wine_fn_config_dll taskschd enable_taskschd clean
17079 wine_fn_config_test dlls/taskschd/tests taskschd_test
17080 wine_fn_config_dll toolhelp.dll16 enable_win16
17081 wine_fn_config_dll traffic enable_traffic
17082 wine_fn_config_dll twain.dll16 enable_win16
17083 wine_fn_config_dll twain_32 enable_twain_32
17084 wine_fn_config_test dlls/twain_32/tests twain_32_test
17085 wine_fn_config_dll typelib.dll16 enable_win16
17086 wine_fn_config_dll unicows enable_unicows implib
17087 wine_fn_config_dll updspapi enable_updspapi
17088 wine_fn_config_dll url enable_url implib
17089 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17090 wine_fn_config_test dlls/urlmon/tests urlmon_test
17091 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17092 wine_fn_config_dll user.exe16 enable_win16
17093 wine_fn_config_dll user32 enable_user32 clean,implib,po
17094 wine_fn_config_test dlls/user32/tests user32_test
17095 wine_fn_config_dll userenv enable_userenv implib
17096 wine_fn_config_test dlls/userenv/tests userenv_test
17097 wine_fn_config_dll usp10 enable_usp10 implib
17098 wine_fn_config_test dlls/usp10/tests usp10_test
17099 wine_fn_config_lib uuid
17100 wine_fn_config_dll uxtheme enable_uxtheme implib
17101 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17102 wine_fn_config_dll vbscript enable_vbscript clean
17103 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17104 wine_fn_config_dll vcomp enable_vcomp
17105 wine_fn_config_dll vcomp100 enable_vcomp100
17106 wine_fn_config_dll vcomp90 enable_vcomp90
17107 wine_fn_config_dll vdhcp.vxd enable_win16
17108 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17109 wine_fn_config_dll ver.dll16 enable_win16
17110 wine_fn_config_dll version enable_version implib
17111 wine_fn_config_test dlls/version/tests version_test
17112 wine_fn_config_dll vmm.vxd enable_win16
17113 wine_fn_config_dll vnbt.vxd enable_win16
17114 wine_fn_config_dll vnetbios.vxd enable_win16
17115 wine_fn_config_dll vtdapi.vxd enable_win16
17116 wine_fn_config_dll vwin32.vxd enable_win16
17117 wine_fn_config_dll w32skrnl enable_win16
17118 wine_fn_config_dll w32sys.dll16 enable_win16
17119 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17120 wine_fn_config_dll wbemprox enable_wbemprox clean
17121 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17122 wine_fn_config_dll webservices enable_webservices implib
17123 wine_fn_config_dll wer enable_wer implib
17124 wine_fn_config_test dlls/wer/tests wer_test
17125 wine_fn_config_dll wevtapi enable_wevtapi
17126 wine_fn_config_dll wiaservc enable_wiaservc clean
17127 wine_fn_config_dll win32s16.dll16 enable_win16
17128 wine_fn_config_dll win87em.dll16 enable_win16
17129 wine_fn_config_dll winaspi.dll16 enable_win16
17130 wine_fn_config_dll windebug.dll16 enable_win16
17131 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17132 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17133 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17134 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17135 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17136 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17137 wine_fn_config_lib winecrt0
17138 wine_fn_config_dll wined3d enable_wined3d implib
17139 wine_fn_config_dll winegstreamer enable_winegstreamer
17140 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17141 wine_fn_config_dll winemac.drv enable_winemac_drv
17142 wine_fn_config_dll winemapi enable_winemapi
17143 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17144 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17145 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
17146 wine_fn_config_dll wineps16.drv16 enable_win16
17147 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17148 wine_fn_config_dll winex11.drv enable_winex11_drv
17149 wine_fn_config_dll wing.dll16 enable_win16
17150 wine_fn_config_dll wing32 enable_wing32
17151 wine_fn_config_dll winhttp enable_winhttp clean,implib
17152 wine_fn_config_test dlls/winhttp/tests winhttp_test
17153 wine_fn_config_dll wininet enable_wininet implib,po
17154 wine_fn_config_test dlls/wininet/tests wininet_test
17155 wine_fn_config_dll winmm enable_winmm implib,po
17156 wine_fn_config_test dlls/winmm/tests winmm_test
17157 wine_fn_config_dll winnls.dll16 enable_win16
17158 wine_fn_config_dll winnls32 enable_winnls32 implib
17159 wine_fn_config_dll winscard enable_winscard implib
17160 wine_fn_config_dll winsock.dll16 enable_win16
17161 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17162 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17163 wine_fn_config_dll winsta enable_winsta
17164 wine_fn_config_dll wintab.dll16 enable_win16
17165 wine_fn_config_dll wintab32 enable_wintab32 implib
17166 wine_fn_config_test dlls/wintab32/tests wintab32_test
17167 wine_fn_config_dll wintrust enable_wintrust implib
17168 wine_fn_config_test dlls/wintrust/tests wintrust_test
17169 wine_fn_config_dll wlanapi enable_wlanapi
17170 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17171 wine_fn_config_test dlls/wldap32/tests wldap32_test
17172 wine_fn_config_dll wmi enable_wmi
17173 wine_fn_config_dll wmiutils enable_wmiutils clean
17174 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17175 wine_fn_config_dll wmp enable_wmp clean
17176 wine_fn_config_test dlls/wmp/tests wmp_test
17177 wine_fn_config_dll wmvcore enable_wmvcore
17178 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17179 wine_fn_config_dll wow32 enable_win16 implib
17180 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17181 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
17182 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17183 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
17184 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17185 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
17186 wine_fn_config_dll wsock32 enable_wsock32 implib
17187 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17188 wine_fn_config_dll wuapi enable_wuapi clean
17189 wine_fn_config_dll wuaueng enable_wuaueng
17190 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17191 wine_fn_config_dll xinput1_1 enable_xinput1_1
17192 wine_fn_config_dll xinput1_2 enable_xinput1_2
17193 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17194 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
17195 wine_fn_config_dll xinput1_4 enable_xinput1_4
17196 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17197 wine_fn_config_dll xmllite enable_xmllite
17198 wine_fn_config_test dlls/xmllite/tests xmllite_test
17199 wine_fn_config_dll xolehlp enable_xolehlp
17200 wine_fn_config_dll xpsprint enable_xpsprint
17201 wine_fn_config_dll xpssvcs enable_xpssvcs
17202 wine_fn_config_makefile documentation enable_documentation clean
17203 wine_fn_config_makefile fonts enable_fonts clean,install-lib
17204 wine_fn_config_makefile include enable_include clean,install-dev
17205 wine_fn_config_makefile libs/port enable_libs_port
17206 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
17207 wine_fn_config_makefile libs/wpp enable_libs_wpp
17208 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
17209 wine_fn_config_program arp enable_arp install
17210 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
17211 wine_fn_config_program attrib enable_attrib install,po
17212 wine_fn_config_program cabarc enable_cabarc install
17213 wine_fn_config_program cacls enable_cacls install
17214 wine_fn_config_program clock enable_clock install,po
17215 wine_fn_config_program cmd enable_cmd install,po
17216 wine_fn_config_test programs/cmd/tests cmd.exe_test
17217 wine_fn_config_program conhost enable_conhost install
17218 wine_fn_config_program control enable_control install
17219 wine_fn_config_program cscript enable_cscript install
17220 wine_fn_config_program dxdiag enable_dxdiag install,po
17221 wine_fn_config_program eject enable_eject install
17222 wine_fn_config_program expand enable_expand install
17223 wine_fn_config_program explorer enable_explorer install,po
17224 wine_fn_config_program extrac32 enable_extrac32 install
17225 wine_fn_config_program findstr enable_findstr install
17226 wine_fn_config_program hh enable_hh install
17227 wine_fn_config_program hostname enable_hostname install,po
17228 wine_fn_config_program icinfo enable_icinfo install
17229 wine_fn_config_program iexplore enable_iexplore install
17230 wine_fn_config_program ipconfig enable_ipconfig install,po
17231 wine_fn_config_program lodctr enable_lodctr install
17232 wine_fn_config_program mofcomp enable_mofcomp install
17233 wine_fn_config_program mshta enable_mshta install
17234 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
17235 wine_fn_config_program net enable_net install,po
17236 wine_fn_config_program netsh enable_netsh install
17237 wine_fn_config_program netstat enable_netstat install,po
17238 wine_fn_config_program ngen enable_ngen install
17239 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
17240 wine_fn_config_program oleview enable_oleview install,po
17241 wine_fn_config_program ping enable_ping install
17242 wine_fn_config_program plugplay enable_plugplay install
17243 wine_fn_config_program presentationfontcache enable_presentationfontcache install
17244 wine_fn_config_program progman enable_progman install,po
17245 wine_fn_config_program reg enable_reg install,po
17246 wine_fn_config_program regasm enable_regasm install
17247 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
17248 wine_fn_config_test programs/regedit/tests regedit.exe_test
17249 wine_fn_config_program regsvcs enable_regsvcs install
17250 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage
17251 wine_fn_config_program rpcss enable_rpcss clean,install
17252 wine_fn_config_program rundll.exe16 enable_win16 install
17253 wine_fn_config_program rundll32 enable_rundll32 install
17254 wine_fn_config_program sc enable_sc install
17255 wine_fn_config_program schtasks enable_schtasks install
17256 wine_fn_config_program secedit enable_secedit install
17257 wine_fn_config_program servicemodelreg enable_servicemodelreg install
17258 wine_fn_config_program services enable_services clean,install
17259 wine_fn_config_test programs/services/tests services.exe_test
17260 wine_fn_config_program spoolsv enable_spoolsv install
17261 wine_fn_config_program start enable_start install,po
17262 wine_fn_config_program svchost enable_svchost install
17263 wine_fn_config_program taskkill enable_taskkill install,po
17264 wine_fn_config_program tasklist enable_tasklist install
17265 wine_fn_config_program taskmgr enable_taskmgr install,po
17266 wine_fn_config_program termsv enable_termsv install
17267 wine_fn_config_program uninstaller enable_uninstaller install,po
17268 wine_fn_config_program unlodctr enable_unlodctr install
17269 wine_fn_config_program view enable_view install,po
17270 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
17271 wine_fn_config_program winebrowser enable_winebrowser install
17272 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
17273 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
17274 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
17275 wine_fn_config_program winedevice enable_winedevice install
17276 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
17277 wine_fn_config_program winemenubuilder enable_winemenubuilder install
17278 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
17279 wine_fn_config_program winemsibuilder enable_winemsibuilder install
17280 wine_fn_config_program winepath enable_winepath install,installbin,manpage
17281 wine_fn_config_program winetest enable_winetest clean
17282 wine_fn_config_program winevdm enable_win16 install
17283 wine_fn_config_program winhelp.exe16 enable_win16 install
17284 wine_fn_config_program winhlp32 enable_winhlp32 install,po
17285 wine_fn_config_program winoldap.mod16 enable_win16 install
17286 wine_fn_config_program winver enable_winver install
17287 wine_fn_config_program wmic enable_wmic install,po
17288 wine_fn_config_program wordpad enable_wordpad install,po
17289 wine_fn_config_program write enable_write install,po
17290 wine_fn_config_program wscript enable_wscript clean,install
17291 wine_fn_config_test programs/wscript/tests wscript.exe_test
17292 wine_fn_config_program wusa enable_wusa install
17293 wine_fn_config_program xcopy enable_xcopy install,po
17294 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
17295 wine_fn_config_makefile server enable_server clean,install-lib,manpage
17296 wine_fn_config_tool tools clean,install-dev,install-lib,manpage
17297 wine_fn_config_tool tools/widl clean,install-dev,manpage
17298 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
17299 wine_fn_config_tool tools/winedump clean,install-dev,manpage
17300 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
17301 wine_fn_config_tool tools/wmc clean,install-dev,manpage
17302 wine_fn_config_tool tools/wrc clean,install-dev,manpage
17304 LINGUAS="\
17305 ar \
17306 bg \
17307 ca \
17308 cs \
17309 da \
17310 de \
17311 el \
17312 en \
17313 en_US \
17314 eo \
17315 es \
17316 fa \
17317 fi \
17318 fr \
17319 he \
17320 hi \
17321 hr \
17322 hu \
17323 it \
17324 ja \
17325 ko \
17326 lt \
17327 ml \
17328 nb_NO \
17329 nl \
17330 or \
17331 pa \
17332 pl \
17333 pt_BR \
17334 pt_PT \
17335 rm \
17336 ro \
17337 ru \
17338 sk \
17339 sl \
17340 sr_RS@cyrillic \
17341 sr_RS@latin \
17342 sv \
17343 te \
17344 th \
17345 tr \
17346 uk \
17347 wa \
17348 zh_CN \
17349 zh_TW"
17354 wine_fn_ignore_file ".gitignore"
17355 wine_fn_ignore_file "Makefile"
17356 wine_fn_ignore_file "TAGS"
17357 wine_fn_ignore_file "tags"
17358 wine_fn_ignore_file "autom4te.cache"
17359 wine_fn_ignore_file "config.cache"
17360 wine_fn_ignore_file "config.log"
17361 wine_fn_ignore_file "config.status"
17362 wine_fn_ignore_file "configure.lineno"
17363 wine_fn_ignore_file "include/config.h"
17364 wine_fn_ignore_file "include/stamp-h"
17365 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
17367 if test "x$enable_tools" != xno
17368 then
17369 wine_fn_ignore_file "tools/makedep$ac_exeext"
17370 ac_config_commands="$ac_config_commands tools/makedep"
17374 ac_config_commands="$ac_config_commands Makefile"
17377 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17381 if test "x$enable_maintainer_mode" = xyes
17382 then
17383 wine_fn_append_rule "configure: configure.ac aclocal.m4
17384 autoconf --warnings=all
17385 include/config.h.in: include/stamp-h.in
17386 include/stamp-h.in: configure.ac aclocal.m4
17387 autoheader --warnings=all
17388 @echo timestamp > \$@"
17391 if test "x$with_gettextpo" = xyes
17392 then
17393 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17394 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
17395 \$(LINGUAS:%=po/%.po): po/wine.pot
17396 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17397 po/wine.pot: \$(ALL_POT_FILES)
17398 msgcat -o \$@ \$(ALL_POT_FILES)"
17401 if test "$MSGFMT" != false
17402 then
17403 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
17404 clean::
17405 \$(RM) \$(LINGUAS:%=po/%.mo)"
17407 posrc="po"
17408 test "$srcdir" = . || posrc="$srcdir/po"
17409 for i in $LINGUAS
17411 wine_fn_ignore_file "po/$i.mo"
17412 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
17413 \$(MSGFMT) -o \$@ $posrc/$i.po"
17414 done
17415 else
17416 LINGUAS=
17419 if test "x$enable_tools" != xno
17420 then
17421 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17422 @./config.status tools/makedep
17423 Makefile: tools/makedep$ac_exeext
17424 distclean:: clean
17425 \$(RM) tools/makedep$ac_exeext"
17426 else
17427 wine_fn_append_rule "\$(MAKEDEP):
17428 @echo \"You need to run make in $TOOLSDIR first\" && false"
17431 if test -n "$with_wine64"
17432 then
17433 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17434 fonts server tools:
17435 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17436 $with_wine64/loader/wine:
17437 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17438 $with_wine64/loader/wine-preloader:
17439 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17440 clean::
17441 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17442 else
17443 as_fn_append LOADER_RULES "
17444 all: wine.inf
17446 install install-lib:: wine.inf install-man-pages
17447 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17448 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17450 uninstall::
17451 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17455 if test "$srcdir" = .
17456 then
17457 ac_config_commands="$ac_config_commands .gitignore"
17461 $as_echo " done" >&6
17462 cat >confcache <<\_ACEOF
17463 # This file is a shell script that caches the results of configure
17464 # tests run on this system so they can be shared between configure
17465 # scripts and configure runs, see configure's option --config-cache.
17466 # It is not useful on other systems. If it contains results you don't
17467 # want to keep, you may remove or edit it.
17469 # config.status only pays attention to the cache file if you give it
17470 # the --recheck option to rerun configure.
17472 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17473 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17474 # following values.
17476 _ACEOF
17478 # The following way of writing the cache mishandles newlines in values,
17479 # but we know of no workaround that is simple, portable, and efficient.
17480 # So, we kill variables containing newlines.
17481 # Ultrix sh set writes to stderr and can't be redirected directly,
17482 # and sets the high bit in the cache file unless we assign to the vars.
17484 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17485 eval ac_val=\$$ac_var
17486 case $ac_val in #(
17487 *${as_nl}*)
17488 case $ac_var in #(
17489 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17490 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17491 esac
17492 case $ac_var in #(
17493 _ | IFS | as_nl) ;; #(
17494 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17495 *) { eval $ac_var=; unset $ac_var;} ;;
17496 esac ;;
17497 esac
17498 done
17500 (set) 2>&1 |
17501 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17502 *${as_nl}ac_space=\ *)
17503 # `set' does not quote correctly, so add quotes: double-quote
17504 # substitution turns \\\\ into \\, and sed turns \\ into \.
17505 sed -n \
17506 "s/'/'\\\\''/g;
17507 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17508 ;; #(
17510 # `set' quotes correctly as required by POSIX, so do not add quotes.
17511 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17513 esac |
17514 sort
17516 sed '
17517 /^ac_cv_env_/b end
17518 t clear
17519 :clear
17520 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17521 t end
17522 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17523 :end' >>confcache
17524 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17525 if test -w "$cache_file"; then
17526 if test "x$cache_file" != "x/dev/null"; then
17527 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17528 $as_echo "$as_me: updating cache $cache_file" >&6;}
17529 if test ! -f "$cache_file" || test -h "$cache_file"; then
17530 cat confcache >"$cache_file"
17531 else
17532 case $cache_file in #(
17533 */* | ?:*)
17534 mv -f confcache "$cache_file"$$ &&
17535 mv -f "$cache_file"$$ "$cache_file" ;; #(
17537 mv -f confcache "$cache_file" ;;
17538 esac
17541 else
17542 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17543 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17546 rm -f confcache
17548 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17549 # Let make expand exec_prefix.
17550 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17552 DEFS=-DHAVE_CONFIG_H
17554 ac_libobjs=
17555 ac_ltlibobjs=
17557 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17558 # 1. Remove the extension, and $U if already installed.
17559 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17560 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17561 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17562 # will be set to the directory where LIBOBJS objects are built.
17563 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17564 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17565 done
17566 LIBOBJS=$ac_libobjs
17568 LTLIBOBJS=$ac_ltlibobjs
17572 : "${CONFIG_STATUS=./config.status}"
17573 ac_write_fail=0
17574 ac_clean_files_save=$ac_clean_files
17575 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17576 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17577 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17578 as_write_fail=0
17579 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17580 #! $SHELL
17581 # Generated by $as_me.
17582 # Run this file to recreate the current configuration.
17583 # Compiler output produced by configure, useful for debugging
17584 # configure, is in config.log if it exists.
17586 debug=false
17587 ac_cs_recheck=false
17588 ac_cs_silent=false
17590 SHELL=\${CONFIG_SHELL-$SHELL}
17591 export SHELL
17592 _ASEOF
17593 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17594 ## -------------------- ##
17595 ## M4sh Initialization. ##
17596 ## -------------------- ##
17598 # Be more Bourne compatible
17599 DUALCASE=1; export DUALCASE # for MKS sh
17600 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17601 emulate sh
17602 NULLCMD=:
17603 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17604 # is contrary to our usage. Disable this feature.
17605 alias -g '${1+"$@"}'='"$@"'
17606 setopt NO_GLOB_SUBST
17607 else
17608 case `(set -o) 2>/dev/null` in #(
17609 *posix*) :
17610 set -o posix ;; #(
17611 *) :
17613 esac
17617 as_nl='
17619 export as_nl
17620 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17621 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17622 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17623 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17624 # Prefer a ksh shell builtin over an external printf program on Solaris,
17625 # but without wasting forks for bash or zsh.
17626 if test -z "$BASH_VERSION$ZSH_VERSION" \
17627 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17628 as_echo='print -r --'
17629 as_echo_n='print -rn --'
17630 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17631 as_echo='printf %s\n'
17632 as_echo_n='printf %s'
17633 else
17634 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17635 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17636 as_echo_n='/usr/ucb/echo -n'
17637 else
17638 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17639 as_echo_n_body='eval
17640 arg=$1;
17641 case $arg in #(
17642 *"$as_nl"*)
17643 expr "X$arg" : "X\\(.*\\)$as_nl";
17644 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17645 esac;
17646 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17648 export as_echo_n_body
17649 as_echo_n='sh -c $as_echo_n_body as_echo'
17651 export as_echo_body
17652 as_echo='sh -c $as_echo_body as_echo'
17655 # The user is always right.
17656 if test "${PATH_SEPARATOR+set}" != set; then
17657 PATH_SEPARATOR=:
17658 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17659 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17660 PATH_SEPARATOR=';'
17665 # IFS
17666 # We need space, tab and new line, in precisely that order. Quoting is
17667 # there to prevent editors from complaining about space-tab.
17668 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17669 # splitting by setting IFS to empty value.)
17670 IFS=" "" $as_nl"
17672 # Find who we are. Look in the path if we contain no directory separator.
17673 as_myself=
17674 case $0 in #((
17675 *[\\/]* ) as_myself=$0 ;;
17676 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17677 for as_dir in $PATH
17679 IFS=$as_save_IFS
17680 test -z "$as_dir" && as_dir=.
17681 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17682 done
17683 IFS=$as_save_IFS
17686 esac
17687 # We did not find ourselves, most probably we were run as `sh COMMAND'
17688 # in which case we are not to be found in the path.
17689 if test "x$as_myself" = x; then
17690 as_myself=$0
17692 if test ! -f "$as_myself"; then
17693 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17694 exit 1
17697 # Unset variables that we do not need and which cause bugs (e.g. in
17698 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17699 # suppresses any "Segmentation fault" message there. '((' could
17700 # trigger a bug in pdksh 5.2.14.
17701 for as_var in BASH_ENV ENV MAIL MAILPATH
17702 do eval test x\${$as_var+set} = xset \
17703 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17704 done
17705 PS1='$ '
17706 PS2='> '
17707 PS4='+ '
17709 # NLS nuisances.
17710 LC_ALL=C
17711 export LC_ALL
17712 LANGUAGE=C
17713 export LANGUAGE
17715 # CDPATH.
17716 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17719 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17720 # ----------------------------------------
17721 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17722 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17723 # script with STATUS, using 1 if that was 0.
17724 as_fn_error ()
17726 as_status=$1; test $as_status -eq 0 && as_status=1
17727 if test "$4"; then
17728 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17729 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17731 $as_echo "$as_me: error: $2" >&2
17732 as_fn_exit $as_status
17733 } # as_fn_error
17736 # as_fn_set_status STATUS
17737 # -----------------------
17738 # Set $? to STATUS, without forking.
17739 as_fn_set_status ()
17741 return $1
17742 } # as_fn_set_status
17744 # as_fn_exit STATUS
17745 # -----------------
17746 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17747 as_fn_exit ()
17749 set +e
17750 as_fn_set_status $1
17751 exit $1
17752 } # as_fn_exit
17754 # as_fn_unset VAR
17755 # ---------------
17756 # Portably unset VAR.
17757 as_fn_unset ()
17759 { eval $1=; unset $1;}
17761 as_unset=as_fn_unset
17762 # as_fn_append VAR VALUE
17763 # ----------------------
17764 # Append the text in VALUE to the end of the definition contained in VAR. Take
17765 # advantage of any shell optimizations that allow amortized linear growth over
17766 # repeated appends, instead of the typical quadratic growth present in naive
17767 # implementations.
17768 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17769 eval 'as_fn_append ()
17771 eval $1+=\$2
17773 else
17774 as_fn_append ()
17776 eval $1=\$$1\$2
17778 fi # as_fn_append
17780 # as_fn_arith ARG...
17781 # ------------------
17782 # Perform arithmetic evaluation on the ARGs, and store the result in the
17783 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17784 # must be portable across $(()) and expr.
17785 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17786 eval 'as_fn_arith ()
17788 as_val=$(( $* ))
17790 else
17791 as_fn_arith ()
17793 as_val=`expr "$@" || test $? -eq 1`
17795 fi # as_fn_arith
17798 if expr a : '\(a\)' >/dev/null 2>&1 &&
17799 test "X`expr 00001 : '.*\(...\)'`" = X001; then
17800 as_expr=expr
17801 else
17802 as_expr=false
17805 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17806 as_basename=basename
17807 else
17808 as_basename=false
17811 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17812 as_dirname=dirname
17813 else
17814 as_dirname=false
17817 as_me=`$as_basename -- "$0" ||
17818 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17819 X"$0" : 'X\(//\)$' \| \
17820 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17821 $as_echo X/"$0" |
17822 sed '/^.*\/\([^/][^/]*\)\/*$/{
17823 s//\1/
17826 /^X\/\(\/\/\)$/{
17827 s//\1/
17830 /^X\/\(\/\).*/{
17831 s//\1/
17834 s/.*/./; q'`
17836 # Avoid depending upon Character Ranges.
17837 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17838 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17839 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17840 as_cr_digits='0123456789'
17841 as_cr_alnum=$as_cr_Letters$as_cr_digits
17843 ECHO_C= ECHO_N= ECHO_T=
17844 case `echo -n x` in #(((((
17845 -n*)
17846 case `echo 'xy\c'` in
17847 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
17848 xy) ECHO_C='\c';;
17849 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
17850 ECHO_T=' ';;
17851 esac;;
17853 ECHO_N='-n';;
17854 esac
17856 rm -f conf$$ conf$$.exe conf$$.file
17857 if test -d conf$$.dir; then
17858 rm -f conf$$.dir/conf$$.file
17859 else
17860 rm -f conf$$.dir
17861 mkdir conf$$.dir 2>/dev/null
17863 if (echo >conf$$.file) 2>/dev/null; then
17864 if ln -s conf$$.file conf$$ 2>/dev/null; then
17865 as_ln_s='ln -s'
17866 # ... but there are two gotchas:
17867 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17868 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17869 # In both cases, we have to default to `cp -pR'.
17870 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17871 as_ln_s='cp -pR'
17872 elif ln conf$$.file conf$$ 2>/dev/null; then
17873 as_ln_s=ln
17874 else
17875 as_ln_s='cp -pR'
17877 else
17878 as_ln_s='cp -pR'
17880 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17881 rmdir conf$$.dir 2>/dev/null
17884 # as_fn_mkdir_p
17885 # -------------
17886 # Create "$as_dir" as a directory, including parents if necessary.
17887 as_fn_mkdir_p ()
17890 case $as_dir in #(
17891 -*) as_dir=./$as_dir;;
17892 esac
17893 test -d "$as_dir" || eval $as_mkdir_p || {
17894 as_dirs=
17895 while :; do
17896 case $as_dir in #(
17897 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17898 *) as_qdir=$as_dir;;
17899 esac
17900 as_dirs="'$as_qdir' $as_dirs"
17901 as_dir=`$as_dirname -- "$as_dir" ||
17902 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17903 X"$as_dir" : 'X\(//\)[^/]' \| \
17904 X"$as_dir" : 'X\(//\)$' \| \
17905 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17906 $as_echo X"$as_dir" |
17907 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17908 s//\1/
17911 /^X\(\/\/\)[^/].*/{
17912 s//\1/
17915 /^X\(\/\/\)$/{
17916 s//\1/
17919 /^X\(\/\).*/{
17920 s//\1/
17923 s/.*/./; q'`
17924 test -d "$as_dir" && break
17925 done
17926 test -z "$as_dirs" || eval "mkdir $as_dirs"
17927 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17930 } # as_fn_mkdir_p
17931 if mkdir -p . 2>/dev/null; then
17932 as_mkdir_p='mkdir -p "$as_dir"'
17933 else
17934 test -d ./-p && rmdir ./-p
17935 as_mkdir_p=false
17939 # as_fn_executable_p FILE
17940 # -----------------------
17941 # Test if FILE is an executable regular file.
17942 as_fn_executable_p ()
17944 test -f "$1" && test -x "$1"
17945 } # as_fn_executable_p
17946 as_test_x='test -x'
17947 as_executable_p=as_fn_executable_p
17949 # Sed expression to map a string onto a valid CPP name.
17950 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17952 # Sed expression to map a string onto a valid variable name.
17953 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17956 exec 6>&1
17957 ## ----------------------------------- ##
17958 ## Main body of $CONFIG_STATUS script. ##
17959 ## ----------------------------------- ##
17960 _ASEOF
17961 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17963 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17964 # Save the log message, to keep $0 and so on meaningful, and to
17965 # report actual input values of CONFIG_FILES etc. instead of their
17966 # values after options handling.
17967 ac_log="
17968 This file was extended by Wine $as_me 1.7.11, which was
17969 generated by GNU Autoconf 2.69. Invocation command line was
17971 CONFIG_FILES = $CONFIG_FILES
17972 CONFIG_HEADERS = $CONFIG_HEADERS
17973 CONFIG_LINKS = $CONFIG_LINKS
17974 CONFIG_COMMANDS = $CONFIG_COMMANDS
17975 $ $0 $@
17977 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17980 _ACEOF
17982 case $ac_config_files in *"
17983 "*) set x $ac_config_files; shift; ac_config_files=$*;;
17984 esac
17986 case $ac_config_headers in *"
17987 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
17988 esac
17991 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17992 # Files that config.status was made for.
17993 config_files="$ac_config_files"
17994 config_headers="$ac_config_headers"
17995 config_links="$ac_config_links"
17996 config_commands="$ac_config_commands"
17998 _ACEOF
18000 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18001 ac_cs_usage="\
18002 \`$as_me' instantiates files and other configuration actions
18003 from templates according to the current configuration. Unless the files
18004 and actions are specified as TAGs, all are instantiated by default.
18006 Usage: $0 [OPTION]... [TAG]...
18008 -h, --help print this help, then exit
18009 -V, --version print version number and configuration settings, then exit
18010 --config print configuration, then exit
18011 -q, --quiet, --silent
18012 do not print progress messages
18013 -d, --debug don't remove temporary files
18014 --recheck update $as_me by reconfiguring in the same conditions
18015 --file=FILE[:TEMPLATE]
18016 instantiate the configuration file FILE
18017 --header=FILE[:TEMPLATE]
18018 instantiate the configuration header FILE
18020 Configuration files:
18021 $config_files
18023 Configuration headers:
18024 $config_headers
18026 Configuration links:
18027 $config_links
18029 Configuration commands:
18030 $config_commands
18032 Report bugs to <wine-devel@winehq.org>.
18033 Wine home page: <http://www.winehq.org>."
18035 _ACEOF
18036 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18037 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18038 ac_cs_version="\\
18039 Wine config.status 1.7.11
18040 configured by $0, generated by GNU Autoconf 2.69,
18041 with options \\"\$ac_cs_config\\"
18043 Copyright (C) 2012 Free Software Foundation, Inc.
18044 This config.status script is free software; the Free Software Foundation
18045 gives unlimited permission to copy, distribute and modify it."
18047 ac_pwd='$ac_pwd'
18048 srcdir='$srcdir'
18049 test -n "\$AWK" || AWK=awk
18050 _ACEOF
18052 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18053 # The default lists apply if the user does not specify any file.
18054 ac_need_defaults=:
18055 while test $# != 0
18057 case $1 in
18058 --*=?*)
18059 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18060 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18061 ac_shift=:
18063 --*=)
18064 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18065 ac_optarg=
18066 ac_shift=:
18069 ac_option=$1
18070 ac_optarg=$2
18071 ac_shift=shift
18073 esac
18075 case $ac_option in
18076 # Handling of the options.
18077 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18078 ac_cs_recheck=: ;;
18079 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18080 $as_echo "$ac_cs_version"; exit ;;
18081 --config | --confi | --conf | --con | --co | --c )
18082 $as_echo "$ac_cs_config"; exit ;;
18083 --debug | --debu | --deb | --de | --d | -d )
18084 debug=: ;;
18085 --file | --fil | --fi | --f )
18086 $ac_shift
18087 case $ac_optarg in
18088 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18089 '') as_fn_error $? "missing file argument" ;;
18090 esac
18091 as_fn_append CONFIG_FILES " '$ac_optarg'"
18092 ac_need_defaults=false;;
18093 --header | --heade | --head | --hea )
18094 $ac_shift
18095 case $ac_optarg in
18096 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18097 esac
18098 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18099 ac_need_defaults=false;;
18100 --he | --h)
18101 # Conflict between --help and --header
18102 as_fn_error $? "ambiguous option: \`$1'
18103 Try \`$0 --help' for more information.";;
18104 --help | --hel | -h )
18105 $as_echo "$ac_cs_usage"; exit ;;
18106 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18107 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18108 ac_cs_silent=: ;;
18110 # This is an error.
18111 -*) as_fn_error $? "unrecognized option: \`$1'
18112 Try \`$0 --help' for more information." ;;
18114 *) as_fn_append ac_config_targets " $1"
18115 ac_need_defaults=false ;;
18117 esac
18118 shift
18119 done
18121 ac_configure_extra_args=
18123 if $ac_cs_silent; then
18124 exec 6>/dev/null
18125 ac_configure_extra_args="$ac_configure_extra_args --silent"
18128 _ACEOF
18129 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18130 if \$ac_cs_recheck; then
18131 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18132 shift
18133 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18134 CONFIG_SHELL='$SHELL'
18135 export CONFIG_SHELL
18136 exec "\$@"
18139 _ACEOF
18140 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18141 exec 5>>config.log
18143 echo
18144 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18145 ## Running $as_me. ##
18146 _ASBOX
18147 $as_echo "$ac_log"
18148 } >&5
18150 _ACEOF
18151 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18153 # INIT-COMMANDS
18155 wine_fn_output_makedep ()
18157 as_dir=tools; as_fn_mkdir_p
18158 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18160 wine_fn_output_makefile ()
18162 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && return
18163 `cat $wine_rules_file`
18164 _WINE_EOF
18165 as_fn_error $? "could not create Makefile" "$LINENO" 5
18167 wine_fn_output_gitignore ()
18169 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18170 $GITIGNORE
18171 _WINE_EOF
18172 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18175 _ACEOF
18177 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18179 # Handling of arguments.
18180 for ac_config_target in $ac_config_targets
18182 case $ac_config_target in
18183 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18184 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
18185 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18186 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18187 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18188 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18189 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18190 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18191 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
18192 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18193 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
18194 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
18195 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18196 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
18198 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18199 esac
18200 done
18203 # If the user did not use the arguments to specify the items to instantiate,
18204 # then the envvar interface is used. Set only those that are not.
18205 # We use the long form for the default assignment because of an extremely
18206 # bizarre bug on SunOS 4.1.3.
18207 if $ac_need_defaults; then
18208 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18209 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18210 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18211 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18214 # Have a temporary directory for convenience. Make it in the build tree
18215 # simply because there is no reason against having it here, and in addition,
18216 # creating and moving files from /tmp can sometimes cause problems.
18217 # Hook for its removal unless debugging.
18218 # Note that there is a small window in which the directory will not be cleaned:
18219 # after its creation but before its name has been assigned to `$tmp'.
18220 $debug ||
18222 tmp= ac_tmp=
18223 trap 'exit_status=$?
18224 : "${ac_tmp:=$tmp}"
18225 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18227 trap 'as_fn_exit 1' 1 2 13 15
18229 # Create a (secure) tmp directory for tmp files.
18232 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18233 test -d "$tmp"
18234 } ||
18236 tmp=./conf$$-$RANDOM
18237 (umask 077 && mkdir "$tmp")
18238 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18239 ac_tmp=$tmp
18241 # Set up the scripts for CONFIG_FILES section.
18242 # No need to generate them if there are no CONFIG_FILES.
18243 # This happens for instance with `./config.status config.h'.
18244 if test -n "$CONFIG_FILES"; then
18247 ac_cr=`echo X | tr X '\015'`
18248 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18249 # But we know of no other shell where ac_cr would be empty at this
18250 # point, so we can use a bashism as a fallback.
18251 if test "x$ac_cr" = x; then
18252 eval ac_cr=\$\'\\r\'
18254 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18255 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18256 ac_cs_awk_cr='\\r'
18257 else
18258 ac_cs_awk_cr=$ac_cr
18261 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18262 _ACEOF
18266 echo "cat >conf$$subs.awk <<_ACEOF" &&
18267 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18268 echo "_ACEOF"
18269 } >conf$$subs.sh ||
18270 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18271 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18272 ac_delim='%!_!# '
18273 for ac_last_try in false false false false false :; do
18274 . ./conf$$subs.sh ||
18275 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18277 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18278 if test $ac_delim_n = $ac_delim_num; then
18279 break
18280 elif $ac_last_try; then
18281 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18282 else
18283 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18285 done
18286 rm -f conf$$subs.sh
18288 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18289 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18290 _ACEOF
18291 sed -n '
18293 s/^/S["/; s/!.*/"]=/
18296 s/^[^!]*!//
18297 :repl
18298 t repl
18299 s/'"$ac_delim"'$//
18300 t delim
18303 s/\(.\{148\}\)..*/\1/
18304 t more1
18305 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18308 b repl
18309 :more1
18310 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18313 s/.\{148\}//
18314 t nl
18315 :delim
18317 s/\(.\{148\}\)..*/\1/
18318 t more2
18319 s/["\\]/\\&/g; s/^/"/; s/$/"/
18322 :more2
18323 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18326 s/.\{148\}//
18327 t delim
18328 ' <conf$$subs.awk | sed '
18329 /^[^""]/{
18331 s/\n//
18333 ' >>$CONFIG_STATUS || ac_write_fail=1
18334 rm -f conf$$subs.awk
18335 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18336 _ACAWK
18337 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18338 for (key in S) S_is_set[key] = 1
18339 FS = "\a"
18343 line = $ 0
18344 nfields = split(line, field, "@")
18345 substed = 0
18346 len = length(field[1])
18347 for (i = 2; i < nfields; i++) {
18348 key = field[i]
18349 keylen = length(key)
18350 if (S_is_set[key]) {
18351 value = S[key]
18352 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18353 len += length(value) + length(field[++i])
18354 substed = 1
18355 } else
18356 len += 1 + keylen
18359 print line
18362 _ACAWK
18363 _ACEOF
18364 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18365 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18366 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18367 else
18369 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18370 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18371 _ACEOF
18373 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18374 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18375 # trailing colons and then remove the whole line if VPATH becomes empty
18376 # (actually we leave an empty line to preserve line numbers).
18377 if test "x$srcdir" = x.; then
18378 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18380 s///
18381 s/^/:/
18382 s/[ ]*$/:/
18383 s/:\$(srcdir):/:/g
18384 s/:\${srcdir}:/:/g
18385 s/:@srcdir@:/:/g
18386 s/^:*//
18387 s/:*$//
18389 s/\(=[ ]*\).*/\1/
18391 s/\n//
18392 s/^[^=]*=[ ]*$//
18396 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18397 fi # test -n "$CONFIG_FILES"
18399 # Set up the scripts for CONFIG_HEADERS section.
18400 # No need to generate them if there are no CONFIG_HEADERS.
18401 # This happens for instance with `./config.status Makefile'.
18402 if test -n "$CONFIG_HEADERS"; then
18403 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18404 BEGIN {
18405 _ACEOF
18407 # Transform confdefs.h into an awk script `defines.awk', embedded as
18408 # here-document in config.status, that substitutes the proper values into
18409 # config.h.in to produce config.h.
18411 # Create a delimiter string that does not exist in confdefs.h, to ease
18412 # handling of long lines.
18413 ac_delim='%!_!# '
18414 for ac_last_try in false false :; do
18415 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18416 if test -z "$ac_tt"; then
18417 break
18418 elif $ac_last_try; then
18419 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18420 else
18421 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18423 done
18425 # For the awk script, D is an array of macro values keyed by name,
18426 # likewise P contains macro parameters if any. Preserve backslash
18427 # newline sequences.
18429 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18430 sed -n '
18431 s/.\{148\}/&'"$ac_delim"'/g
18432 t rset
18433 :rset
18434 s/^[ ]*#[ ]*define[ ][ ]*/ /
18435 t def
18437 :def
18438 s/\\$//
18439 t bsnl
18440 s/["\\]/\\&/g
18441 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18442 D["\1"]=" \3"/p
18443 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18445 :bsnl
18446 s/["\\]/\\&/g
18447 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18448 D["\1"]=" \3\\\\\\n"\\/p
18449 t cont
18450 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18451 t cont
18453 :cont
18455 s/.\{148\}/&'"$ac_delim"'/g
18456 t clear
18457 :clear
18458 s/\\$//
18459 t bsnlc
18460 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18462 :bsnlc
18463 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18464 b cont
18465 ' <confdefs.h | sed '
18466 s/'"$ac_delim"'/"\\\
18467 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18469 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18470 for (key in D) D_is_set[key] = 1
18471 FS = "\a"
18473 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18474 line = \$ 0
18475 split(line, arg, " ")
18476 if (arg[1] == "#") {
18477 defundef = arg[2]
18478 mac1 = arg[3]
18479 } else {
18480 defundef = substr(arg[1], 2)
18481 mac1 = arg[2]
18483 split(mac1, mac2, "(") #)
18484 macro = mac2[1]
18485 prefix = substr(line, 1, index(line, defundef) - 1)
18486 if (D_is_set[macro]) {
18487 # Preserve the white space surrounding the "#".
18488 print prefix "define", macro P[macro] D[macro]
18489 next
18490 } else {
18491 # Replace #undef with comments. This is necessary, for example,
18492 # in the case of _POSIX_SOURCE, which is predefined and required
18493 # on some systems where configure will not decide to define it.
18494 if (defundef == "undef") {
18495 print "/*", prefix defundef, macro, "*/"
18496 next
18500 { print }
18501 _ACAWK
18502 _ACEOF
18503 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18504 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18505 fi # test -n "$CONFIG_HEADERS"
18508 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18509 shift
18510 for ac_tag
18512 case $ac_tag in
18513 :[FHLC]) ac_mode=$ac_tag; continue;;
18514 esac
18515 case $ac_mode$ac_tag in
18516 :[FHL]*:*);;
18517 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18518 :[FH]-) ac_tag=-:-;;
18519 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18520 esac
18521 ac_save_IFS=$IFS
18522 IFS=:
18523 set x $ac_tag
18524 IFS=$ac_save_IFS
18525 shift
18526 ac_file=$1
18527 shift
18529 case $ac_mode in
18530 :L) ac_source=$1;;
18531 :[FH])
18532 ac_file_inputs=
18533 for ac_f
18535 case $ac_f in
18536 -) ac_f="$ac_tmp/stdin";;
18537 *) # Look for the file first in the build tree, then in the source tree
18538 # (if the path is not absolute). The absolute path cannot be DOS-style,
18539 # because $ac_f cannot contain `:'.
18540 test -f "$ac_f" ||
18541 case $ac_f in
18542 [\\/$]*) false;;
18543 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18544 esac ||
18545 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18546 esac
18547 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18548 as_fn_append ac_file_inputs " '$ac_f'"
18549 done
18551 # Let's still pretend it is `configure' which instantiates (i.e., don't
18552 # use $as_me), people would be surprised to read:
18553 # /* config.h. Generated by config.status. */
18554 configure_input='Generated from '`
18555 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18556 `' by configure.'
18557 if test x"$ac_file" != x-; then
18558 configure_input="$ac_file. $configure_input"
18559 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18560 $as_echo "$as_me: creating $ac_file" >&6;}
18562 # Neutralize special characters interpreted by sed in replacement strings.
18563 case $configure_input in #(
18564 *\&* | *\|* | *\\* )
18565 ac_sed_conf_input=`$as_echo "$configure_input" |
18566 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18567 *) ac_sed_conf_input=$configure_input;;
18568 esac
18570 case $ac_tag in
18571 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18572 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18573 esac
18575 esac
18577 ac_dir=`$as_dirname -- "$ac_file" ||
18578 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18579 X"$ac_file" : 'X\(//\)[^/]' \| \
18580 X"$ac_file" : 'X\(//\)$' \| \
18581 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18582 $as_echo X"$ac_file" |
18583 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18584 s//\1/
18587 /^X\(\/\/\)[^/].*/{
18588 s//\1/
18591 /^X\(\/\/\)$/{
18592 s//\1/
18595 /^X\(\/\).*/{
18596 s//\1/
18599 s/.*/./; q'`
18600 as_dir="$ac_dir"; as_fn_mkdir_p
18601 ac_builddir=.
18603 case "$ac_dir" in
18604 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18606 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18607 # A ".." for each directory in $ac_dir_suffix.
18608 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18609 case $ac_top_builddir_sub in
18610 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18611 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18612 esac ;;
18613 esac
18614 ac_abs_top_builddir=$ac_pwd
18615 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18616 # for backward compatibility:
18617 ac_top_builddir=$ac_top_build_prefix
18619 case $srcdir in
18620 .) # We are building in place.
18621 ac_srcdir=.
18622 ac_top_srcdir=$ac_top_builddir_sub
18623 ac_abs_top_srcdir=$ac_pwd ;;
18624 [\\/]* | ?:[\\/]* ) # Absolute name.
18625 ac_srcdir=$srcdir$ac_dir_suffix;
18626 ac_top_srcdir=$srcdir
18627 ac_abs_top_srcdir=$srcdir ;;
18628 *) # Relative name.
18629 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18630 ac_top_srcdir=$ac_top_build_prefix$srcdir
18631 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18632 esac
18633 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18636 case $ac_mode in
18639 # CONFIG_FILE
18642 _ACEOF
18644 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18645 # If the template does not know about datarootdir, expand it.
18646 # FIXME: This hack should be removed a few years after 2.60.
18647 ac_datarootdir_hack=; ac_datarootdir_seen=
18648 ac_sed_dataroot='
18649 /datarootdir/ {
18653 /@datadir@/p
18654 /@docdir@/p
18655 /@infodir@/p
18656 /@localedir@/p
18657 /@mandir@/p'
18658 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18659 *datarootdir*) ac_datarootdir_seen=yes;;
18660 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18661 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18662 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18663 _ACEOF
18664 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18665 ac_datarootdir_hack='
18666 s&@datadir@&$datadir&g
18667 s&@docdir@&$docdir&g
18668 s&@infodir@&$infodir&g
18669 s&@localedir@&$localedir&g
18670 s&@mandir@&$mandir&g
18671 s&\\\${datarootdir}&$datarootdir&g' ;;
18672 esac
18673 _ACEOF
18675 # Neutralize VPATH when `$srcdir' = `.'.
18676 # Shell code in configure.ac might set extrasub.
18677 # FIXME: do we really want to maintain this feature?
18678 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18679 ac_sed_extra="$ac_vpsub
18680 $extrasub
18681 _ACEOF
18682 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18684 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18685 s|@configure_input@|$ac_sed_conf_input|;t t
18686 s&@top_builddir@&$ac_top_builddir_sub&;t t
18687 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18688 s&@srcdir@&$ac_srcdir&;t t
18689 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18690 s&@top_srcdir@&$ac_top_srcdir&;t t
18691 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18692 s&@builddir@&$ac_builddir&;t t
18693 s&@abs_builddir@&$ac_abs_builddir&;t t
18694 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18695 $ac_datarootdir_hack
18697 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18698 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18700 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18701 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18702 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18703 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18705 which seems to be undefined. Please make sure it is defined" >&5
18706 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18707 which seems to be undefined. Please make sure it is defined" >&2;}
18709 rm -f "$ac_tmp/stdin"
18710 case $ac_file in
18711 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18712 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18713 esac \
18714 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18718 # CONFIG_HEADER
18720 if test x"$ac_file" != x-; then
18722 $as_echo "/* $configure_input */" \
18723 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18724 } >"$ac_tmp/config.h" \
18725 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18726 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18727 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18728 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18729 else
18730 rm -f "$ac_file"
18731 mv "$ac_tmp/config.h" "$ac_file" \
18732 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18734 else
18735 $as_echo "/* $configure_input */" \
18736 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18737 || as_fn_error $? "could not create -" "$LINENO" 5
18742 # CONFIG_LINK
18745 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
18747 else
18748 # Prefer the file from the source tree if names are identical.
18749 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
18750 ac_source=$srcdir/$ac_source
18753 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
18754 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
18756 if test ! -r "$ac_source"; then
18757 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
18759 rm -f "$ac_file"
18761 # Try a relative symlink, then a hard link, then a copy.
18762 case $ac_source in
18763 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
18764 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
18765 esac
18766 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
18767 ln "$ac_source" "$ac_file" 2>/dev/null ||
18768 cp -p "$ac_source" "$ac_file" ||
18769 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
18772 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18773 $as_echo "$as_me: executing $ac_file commands" >&6;}
18775 esac
18778 case $ac_file$ac_mode in
18779 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
18780 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
18781 "Makefile":C) wine_fn_output_makefile Makefile ;;
18782 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
18784 esac
18785 done # for ac_tag
18788 as_fn_exit 0
18789 _ACEOF
18790 ac_clean_files=$ac_clean_files_save
18792 test $ac_write_fail = 0 ||
18793 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18796 # configure is writing to config.log, and then calls config.status.
18797 # config.status does its own redirection, appending to config.log.
18798 # Unfortunately, on DOS this fails, as config.log is still kept open
18799 # by configure, so config.status won't be able to write to it; its
18800 # output is simply discarded. So we exec the FD to /dev/null,
18801 # effectively closing config.log, so it can be properly (re)opened and
18802 # appended to by config.status. When coming back to configure, we
18803 # need to make the FD available again.
18804 if test "$no_create" != yes; then
18805 ac_cs_success=:
18806 ac_config_status_args=
18807 test "$silent" = yes &&
18808 ac_config_status_args="$ac_config_status_args --quiet"
18809 exec 5>/dev/null
18810 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18811 exec 5>>config.log
18812 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18813 # would make configure fail if this is the last instruction.
18814 $ac_cs_success || as_fn_exit 1
18816 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18817 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18818 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18822 if test "$no_create" = "yes"
18823 then
18824 exit 0
18827 ac_save_IFS="$IFS"
18828 if test "x$wine_notices != "x; then
18829 echo >&6
18830 IFS="|"
18831 for msg in $wine_notices; do
18832 IFS="$ac_save_IFS"
18833 if ${msg+:} false; then :
18834 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
18835 $as_echo "$as_me: $msg" >&6;}
18837 done
18839 IFS="|"
18840 for msg in $wine_warnings; do
18841 IFS="$ac_save_IFS"
18842 if ${msg+:} false; then :
18843 echo >&2
18844 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
18845 $as_echo "$as_me: WARNING: $msg" >&2;}
18847 done
18848 IFS="$ac_save_IFS"
18850 $as_echo "
18851 $as_me: Finished. Do '${ac_make}' to compile Wine.
18852 " >&6