wbemprox: Fix a few OLE variant mappings.
[wine/multimedia.git] / configure
blob62e8abc076d3b02f34bdab46511617e1e0300f21
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.23.
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.23'
584 PACKAGE_STRING='Wine 1.7.23'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='http://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 LINGUAS
628 ALL_VARS_RULES
629 LDAP_LIBS
630 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 UNWINDFLAGS
635 BUILTINFLAG
636 EXTRACFLAGS
637 PROCSTAT_LIBS
638 KSTAT_LIBS
639 MPG123_LIBS
640 MPG123_CFLAGS
641 TIFF_LIBS
642 TIFF_CFLAGS
643 PNG_LIBS
644 PNG_CFLAGS
645 JPEG_LIBS
646 JPEG_CFLAGS
647 FONTCONFIG_LIBS
648 FONTCONFIG_CFLAGS
649 CUPS_CFLAGS
650 CAPI20_LIBS
651 CAPI20_CFLAGS
652 OSS4_CFLAGS
653 ALSA_LIBS
654 GSTREAMER_LIBS
655 GSTREAMER_CFLAGS
656 GETTEXTPO_LIBS
657 Z_LIBS
658 FREETYPE_LIBS
659 FREETYPE_CFLAGS
660 LCMS2_LIBS
661 LCMS2_CFLAGS
662 RESOLV_LIBS
663 GPHOTO2_PORT_LIBS
664 GPHOTO2_PORT_CFLAGS
665 GPHOTO2_LIBS
666 GPHOTO2_CFLAGS
667 SANE_LIBS
668 SANE_CFLAGS
669 GNUTLS_LIBS
670 GNUTLS_CFLAGS
671 HAL_LIBS
672 HAL_CFLAGS
673 DBUS_LIBS
674 DBUS_CFLAGS
675 XSLT_LIBS
676 XSLT_CFLAGS
677 XML2_LIBS
678 XML2_CFLAGS
679 X_EXTRA_LIBS
680 X_LIBS
681 X_PRE_LIBS
682 X_CFLAGS
683 XMKMF
684 PTHREAD_LIBS
685 CROSSCC
686 CROSSTARGET
687 PRELINK
688 CARBON_LIBS
689 QUICKTIME_LIBS
690 OPENCL_LIBS
691 OPENAL_LIBS
692 COREAUDIO_LIBS
693 SECURITY_LIBS
694 DISKARBITRATION_LIBS
695 APPKIT_LIBS
696 CORESERVICES_LIBS
697 APPLICATIONSERVICES_LIBS
698 FORCEFEEDBACK_LIBS
699 IOKIT_LIBS
700 COREFOUNDATION_LIBS
701 LIBWINE_RULES
702 SOCKET_LIBS
703 DLLTOOL
704 LOADER_RULES
705 ALL_TEST_RESOURCES
706 READELF
708 LDRPATH_LOCAL
709 LDRPATH_INSTALL
710 DLLFLAGS
711 DLLPREFIX
712 dlldir
714 OPENGL_LIBS
715 ICOTOOL
716 CONVERT
717 RSVG
718 FONTFORGE
719 PKG_CONFIG
720 MSGFMT
721 LDCONFIG
722 EGREP
723 GREP
724 LN_S
725 RANLIB
726 ARFLAGS
727 STRIP
728 ac_ct_AR
730 BISON
731 FLEX
732 TOOLSDIR
733 TARGETFLAGS
734 CPPBIN
735 ac_ct_CXX
736 CXXFLAGS
738 OBJEXT
739 EXEEXT
740 ac_ct_CC
741 CPPFLAGS
742 LDFLAGS
743 CFLAGS
745 SET_MAKE
746 host_os
747 host_vendor
748 host_cpu
749 host
750 build_os
751 build_vendor
752 build_cpu
753 build
754 target_alias
755 host_alias
756 build_alias
757 LIBS
758 ECHO_T
759 ECHO_N
760 ECHO_C
761 DEFS
762 mandir
763 localedir
764 libdir
765 psdir
766 pdfdir
767 dvidir
768 htmldir
769 infodir
770 docdir
771 oldincludedir
772 includedir
773 localstatedir
774 sharedstatedir
775 sysconfdir
776 datadir
777 datarootdir
778 libexecdir
779 sbindir
780 bindir
781 program_transform_name
782 prefix
783 exec_prefix
784 PACKAGE_URL
785 PACKAGE_BUGREPORT
786 PACKAGE_STRING
787 PACKAGE_VERSION
788 PACKAGE_TARNAME
789 PACKAGE_NAME
790 PATH_SEPARATOR
791 SHELL'
792 ac_subst_files=''
793 ac_user_opts='
794 enable_option_checking
795 enable_win16
796 enable_win64
797 enable_tests
798 enable_maintainer_mode
799 with_alsa
800 with_capi
801 with_cms
802 with_coreaudio
803 with_cups
804 with_curses
805 with_dbus
806 with_fontconfig
807 with_freetype
808 with_gettext
809 with_gettextpo
810 with_gphoto
811 with_glu
812 with_gnutls
813 with_gsm
814 with_gstreamer
815 with_hal
816 with_jpeg
817 with_ldap
818 with_mpg123
819 with_netapi
820 with_openal
821 with_opencl
822 with_opengl
823 with_osmesa
824 with_oss
825 with_png
826 with_pthread
827 with_sane
828 with_tiff
829 with_v4l
830 with_xcomposite
831 with_xcursor
832 with_xinerama
833 with_xinput
834 with_xinput2
835 with_xml
836 with_xrandr
837 with_xrender
838 with_xshape
839 with_xshm
840 with_xslt
841 with_xxf86vm
842 with_zlib
843 with_wine_tools
844 with_wine64
845 enable_largefile
846 with_x
847 enable_acledit
848 enable_aclui
849 enable_activeds
850 enable_actxprxy
851 enable_advapi32
852 enable_advpack
853 enable_amstream
854 enable_api_ms_win_core_com_l1_1_0
855 enable_api_ms_win_core_console_l1_1_0
856 enable_api_ms_win_core_debug_l1_1_1
857 enable_api_ms_win_core_errorhandling_l1_1_1
858 enable_api_ms_win_core_file_l1_2_0
859 enable_api_ms_win_core_handle_l1_1_0
860 enable_api_ms_win_core_heap_l1_2_0
861 enable_api_ms_win_core_heap_obsolete_l1_1_0
862 enable_api_ms_win_core_interlocked_l1_2_0
863 enable_api_ms_win_core_io_l1_1_1
864 enable_api_ms_win_core_kernel32_legacy_l1_1_0
865 enable_api_ms_win_core_libraryloader_l1_1_1
866 enable_api_ms_win_core_localization_l1_2_0
867 enable_api_ms_win_core_localization_obsolete_l1_1_0
868 enable_api_ms_win_core_localregistry_l1_1_0
869 enable_api_ms_win_core_memory_l1_1_1
870 enable_api_ms_win_core_namedpipe_l1_2_0
871 enable_api_ms_win_core_processenvironment_l1_2_0
872 enable_api_ms_win_core_processthreads_l1_1_0
873 enable_api_ms_win_core_processthreads_l1_1_1
874 enable_api_ms_win_core_profile_l1_1_0
875 enable_api_ms_win_core_psapi_l1_1_0
876 enable_api_ms_win_core_registry_l1_1_0
877 enable_api_ms_win_core_rtlsupport_l1_2_0
878 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
879 enable_api_ms_win_core_string_l1_1_0
880 enable_api_ms_win_core_synch_l1_2_0
881 enable_api_ms_win_core_sysinfo_l1_2_0
882 enable_api_ms_win_core_threadpool_legacy_l1_1_0
883 enable_api_ms_win_core_timezone_l1_1_0
884 enable_api_ms_win_core_url_l1_1_0
885 enable_api_ms_win_core_util_l1_1_0
886 enable_api_ms_win_core_winrt_error_l1_1_0
887 enable_api_ms_win_core_winrt_string_l1_1_0
888 enable_api_ms_win_downlevel_advapi32_l1_1_0
889 enable_api_ms_win_downlevel_advapi32_l2_1_0
890 enable_api_ms_win_downlevel_normaliz_l1_1_0
891 enable_api_ms_win_downlevel_ole32_l1_1_0
892 enable_api_ms_win_downlevel_shell32_l1_1_0
893 enable_api_ms_win_downlevel_shlwapi_l1_1_0
894 enable_api_ms_win_downlevel_shlwapi_l2_1_0
895 enable_api_ms_win_downlevel_user32_l1_1_0
896 enable_api_ms_win_downlevel_version_l1_1_0
897 enable_api_ms_win_eventing_provider_l1_1_0
898 enable_api_ms_win_ntuser_dc_access_l1_1_0
899 enable_api_ms_win_security_base_l1_1_0
900 enable_api_ms_win_security_base_l1_2_0
901 enable_api_ms_win_security_sddl_l1_1_0
902 enable_api_ms_win_service_core_l1_1_1
903 enable_api_ms_win_service_management_l1_1_0
904 enable_api_ms_win_service_winsvc_l1_2_0
905 enable_apphelp
906 enable_appwiz_cpl
907 enable_atl
908 enable_atl100
909 enable_atl110
910 enable_atl80
911 enable_atl90
912 enable_authz
913 enable_avicap32
914 enable_avifil32
915 enable_avrt
916 enable_bcrypt
917 enable_browseui
918 enable_cabinet
919 enable_capi2032
920 enable_cards
921 enable_cfgmgr32
922 enable_clusapi
923 enable_comcat
924 enable_comctl32
925 enable_comdlg32
926 enable_compstui
927 enable_comsvcs
928 enable_credui
929 enable_crtdll
930 enable_crypt32
931 enable_cryptdlg
932 enable_cryptdll
933 enable_cryptnet
934 enable_cryptui
935 enable_ctapi32
936 enable_ctl3d32
937 enable_d2d1
938 enable_d3d10
939 enable_d3d10_1
940 enable_d3d10core
941 enable_d3d11
942 enable_d3d8
943 enable_d3d9
944 enable_d3dcompiler_33
945 enable_d3dcompiler_34
946 enable_d3dcompiler_35
947 enable_d3dcompiler_36
948 enable_d3dcompiler_37
949 enable_d3dcompiler_38
950 enable_d3dcompiler_39
951 enable_d3dcompiler_40
952 enable_d3dcompiler_41
953 enable_d3dcompiler_42
954 enable_d3dcompiler_43
955 enable_d3dim
956 enable_d3drm
957 enable_d3dx10_33
958 enable_d3dx10_34
959 enable_d3dx10_35
960 enable_d3dx10_36
961 enable_d3dx10_37
962 enable_d3dx10_38
963 enable_d3dx10_39
964 enable_d3dx10_40
965 enable_d3dx10_41
966 enable_d3dx10_42
967 enable_d3dx10_43
968 enable_d3dx11_42
969 enable_d3dx11_43
970 enable_d3dx9_24
971 enable_d3dx9_25
972 enable_d3dx9_26
973 enable_d3dx9_27
974 enable_d3dx9_28
975 enable_d3dx9_29
976 enable_d3dx9_30
977 enable_d3dx9_31
978 enable_d3dx9_32
979 enable_d3dx9_33
980 enable_d3dx9_34
981 enable_d3dx9_35
982 enable_d3dx9_36
983 enable_d3dx9_37
984 enable_d3dx9_38
985 enable_d3dx9_39
986 enable_d3dx9_40
987 enable_d3dx9_41
988 enable_d3dx9_42
989 enable_d3dx9_43
990 enable_d3dxof
991 enable_dbgeng
992 enable_dbghelp
993 enable_dciman32
994 enable_ddraw
995 enable_ddrawex
996 enable_devenum
997 enable_dhcpcsvc
998 enable_difxapi
999 enable_dinput
1000 enable_dinput8
1001 enable_dispex
1002 enable_dmband
1003 enable_dmcompos
1004 enable_dmime
1005 enable_dmloader
1006 enable_dmscript
1007 enable_dmstyle
1008 enable_dmsynth
1009 enable_dmusic
1010 enable_dmusic32
1011 enable_dnsapi
1012 enable_dplay
1013 enable_dplayx
1014 enable_dpnaddr
1015 enable_dpnet
1016 enable_dpnhpast
1017 enable_dpnlobby
1018 enable_dpwsockx
1019 enable_drmclien
1020 enable_dsound
1021 enable_dssenh
1022 enable_dswave
1023 enable_dwmapi
1024 enable_dwrite
1025 enable_dxdiagn
1026 enable_dxgi
1027 enable_dxva2
1028 enable_explorerframe
1029 enable_ext_ms_win_gdi_devcaps_l1_1_0
1030 enable_faultrep
1031 enable_fltlib
1032 enable_fntcache
1033 enable_fontsub
1034 enable_fusion
1035 enable_fwpuclnt
1036 enable_gameux
1037 enable_gdi32
1038 enable_gdiplus
1039 enable_glu32
1040 enable_gphoto2_ds
1041 enable_gpkcsp
1042 enable_hal
1043 enable_hhctrl_ocx
1044 enable_hid
1045 enable_hlink
1046 enable_hnetcfg
1047 enable_httpapi
1048 enable_iccvid
1049 enable_icmp
1050 enable_ieframe
1051 enable_imaadp32_acm
1052 enable_imagehlp
1053 enable_imm32
1054 enable_inetcomm
1055 enable_inetcpl_cpl
1056 enable_inetmib1
1057 enable_infosoft
1058 enable_initpki
1059 enable_inkobj
1060 enable_inseng
1061 enable_iphlpapi
1062 enable_itircl
1063 enable_itss
1064 enable_joy_cpl
1065 enable_jscript
1066 enable_jsproxy
1067 enable_kernel32
1068 enable_ktmw32
1069 enable_loadperf
1070 enable_localspl
1071 enable_localui
1072 enable_lz32
1073 enable_mapi32
1074 enable_mapistub
1075 enable_mciavi32
1076 enable_mcicda
1077 enable_mciqtz32
1078 enable_mciseq
1079 enable_mciwave
1080 enable_mgmtapi
1081 enable_midimap
1082 enable_mlang
1083 enable_mmcndmgr
1084 enable_mmdevapi
1085 enable_mountmgr_sys
1086 enable_mpr
1087 enable_mprapi
1088 enable_msacm32_drv
1089 enable_msacm32
1090 enable_msadp32_acm
1091 enable_msasn1
1092 enable_mscat32
1093 enable_mscms
1094 enable_mscoree
1095 enable_msctf
1096 enable_msdaps
1097 enable_msdmo
1098 enable_msftedit
1099 enable_msg711_acm
1100 enable_msgsm32_acm
1101 enable_mshtml_tlb
1102 enable_mshtml
1103 enable_msi
1104 enable_msident
1105 enable_msimg32
1106 enable_msimsg
1107 enable_msimtf
1108 enable_msisip
1109 enable_msisys_ocx
1110 enable_msls31
1111 enable_msnet32
1112 enable_mspatcha
1113 enable_msrle32
1114 enable_mssign32
1115 enable_mssip32
1116 enable_mstask
1117 enable_msvcirt
1118 enable_msvcm80
1119 enable_msvcm90
1120 enable_msvcp100
1121 enable_msvcp110
1122 enable_msvcp60
1123 enable_msvcp70
1124 enable_msvcp71
1125 enable_msvcp80
1126 enable_msvcp90
1127 enable_msvcr100
1128 enable_msvcr110
1129 enable_msvcr70
1130 enable_msvcr71
1131 enable_msvcr80
1132 enable_msvcr90
1133 enable_msvcrt
1134 enable_msvcrt20
1135 enable_msvcrt40
1136 enable_msvcrtd
1137 enable_msvfw32
1138 enable_msvidc32
1139 enable_mswsock
1140 enable_msxml
1141 enable_msxml2
1142 enable_msxml3
1143 enable_msxml4
1144 enable_msxml6
1145 enable_nddeapi
1146 enable_netapi32
1147 enable_netcfgx
1148 enable_netprofm
1149 enable_newdev
1150 enable_normaliz
1151 enable_npmshtml
1152 enable_ntdll
1153 enable_ntdsapi
1154 enable_ntoskrnl_exe
1155 enable_ntprint
1156 enable_objsel
1157 enable_odbc32
1158 enable_odbccp32
1159 enable_odbccu32
1160 enable_ole32
1161 enable_oleacc
1162 enable_oleaut32
1163 enable_olecli32
1164 enable_oledb32
1165 enable_oledlg
1166 enable_olepro32
1167 enable_olesvr32
1168 enable_olethk32
1169 enable_openal32
1170 enable_opencl
1171 enable_opengl32
1172 enable_packager
1173 enable_pdh
1174 enable_photometadatahandler
1175 enable_pidgen
1176 enable_powrprof
1177 enable_printui
1178 enable_propsys
1179 enable_psapi
1180 enable_pstorec
1181 enable_qcap
1182 enable_qedit
1183 enable_qmgr
1184 enable_qmgrprxy
1185 enable_quartz
1186 enable_query
1187 enable_rasapi32
1188 enable_rasdlg
1189 enable_regapi
1190 enable_resutils
1191 enable_riched20
1192 enable_riched32
1193 enable_rpcrt4
1194 enable_rsabase
1195 enable_rsaenh
1196 enable_rstrtmgr
1197 enable_rtutils
1198 enable_samlib
1199 enable_sane_ds
1200 enable_scarddlg
1201 enable_sccbase
1202 enable_schannel
1203 enable_schedsvc
1204 enable_scrrun
1205 enable_scsiport_sys
1206 enable_secur32
1207 enable_security
1208 enable_sensapi
1209 enable_serialui
1210 enable_setupapi
1211 enable_sfc
1212 enable_sfc_os
1213 enable_shdoclc
1214 enable_shdocvw
1215 enable_shell32
1216 enable_shfolder
1217 enable_shlwapi
1218 enable_slbcsp
1219 enable_slc
1220 enable_snmpapi
1221 enable_softpub
1222 enable_spoolss
1223 enable_stdole2_tlb
1224 enable_stdole32_tlb
1225 enable_sti
1226 enable_svrapi
1227 enable_sxs
1228 enable_t2embed
1229 enable_tapi32
1230 enable_taskschd
1231 enable_traffic
1232 enable_twain_32
1233 enable_unicows
1234 enable_updspapi
1235 enable_url
1236 enable_urlmon
1237 enable_usbd_sys
1238 enable_user32
1239 enable_userenv
1240 enable_usp10
1241 enable_uxtheme
1242 enable_vbscript
1243 enable_vcomp
1244 enable_vcomp100
1245 enable_vcomp90
1246 enable_vdmdbg
1247 enable_version
1248 enable_wbemdisp
1249 enable_wbemprox
1250 enable_webservices
1251 enable_wer
1252 enable_wevtapi
1253 enable_wiaservc
1254 enable_windowscodecs
1255 enable_windowscodecsext
1256 enable_winealsa_drv
1257 enable_winecoreaudio_drv
1258 enable_wined3d
1259 enable_winegstreamer
1260 enable_winejoystick_drv
1261 enable_winemac_drv
1262 enable_winemapi
1263 enable_winemp3_acm
1264 enable_wineoss_drv
1265 enable_wineps_drv
1266 enable_wineqtdecoder
1267 enable_winex11_drv
1268 enable_wing32
1269 enable_winhttp
1270 enable_wininet
1271 enable_winmm
1272 enable_winnls32
1273 enable_winscard
1274 enable_winspool_drv
1275 enable_winsta
1276 enable_wintab32
1277 enable_wintrust
1278 enable_wlanapi
1279 enable_wldap32
1280 enable_wmi
1281 enable_wmiutils
1282 enable_wmp
1283 enable_wmvcore
1284 enable_wnaspi32
1285 enable_wpcap
1286 enable_ws2_32
1287 enable_wshom_ocx
1288 enable_wsnmp32
1289 enable_wsock32
1290 enable_wtsapi32
1291 enable_wuapi
1292 enable_wuaueng
1293 enable_xapofx1_1
1294 enable_xinput1_1
1295 enable_xinput1_2
1296 enable_xinput1_3
1297 enable_xinput1_4
1298 enable_xinput9_1_0
1299 enable_xmllite
1300 enable_xolehlp
1301 enable_xpsprint
1302 enable_xpssvcs
1303 enable_documentation
1304 enable_fonts
1305 enable_include
1306 enable_libs_port
1307 enable_libs_wine
1308 enable_libs_wpp
1309 enable_loader
1310 enable_arp
1311 enable_aspnet_regiis
1312 enable_attrib
1313 enable_cabarc
1314 enable_cacls
1315 enable_clock
1316 enable_cmd
1317 enable_conhost
1318 enable_control
1319 enable_cscript
1320 enable_dpnsvr
1321 enable_dxdiag
1322 enable_eject
1323 enable_expand
1324 enable_explorer
1325 enable_extrac32
1326 enable_findstr
1327 enable_hh
1328 enable_hostname
1329 enable_icinfo
1330 enable_iexplore
1331 enable_ipconfig
1332 enable_lodctr
1333 enable_mofcomp
1334 enable_mshta
1335 enable_msiexec
1336 enable_net
1337 enable_netsh
1338 enable_netstat
1339 enable_ngen
1340 enable_notepad
1341 enable_oleview
1342 enable_ping
1343 enable_plugplay
1344 enable_presentationfontcache
1345 enable_progman
1346 enable_reg
1347 enable_regasm
1348 enable_regedit
1349 enable_regsvcs
1350 enable_regsvr32
1351 enable_rpcss
1352 enable_rundll32
1353 enable_sc
1354 enable_schtasks
1355 enable_sdbinst
1356 enable_secedit
1357 enable_servicemodelreg
1358 enable_services
1359 enable_spoolsv
1360 enable_start
1361 enable_svchost
1362 enable_taskkill
1363 enable_tasklist
1364 enable_taskmgr
1365 enable_termsv
1366 enable_uninstaller
1367 enable_unlodctr
1368 enable_view
1369 enable_wevtutil
1370 enable_wineboot
1371 enable_winebrowser
1372 enable_winecfg
1373 enable_wineconsole
1374 enable_winedbg
1375 enable_winedevice
1376 enable_winefile
1377 enable_winemenubuilder
1378 enable_winemine
1379 enable_winemsibuilder
1380 enable_winepath
1381 enable_winetest
1382 enable_winhlp32
1383 enable_winver
1384 enable_wmic
1385 enable_wordpad
1386 enable_write
1387 enable_wscript
1388 enable_wusa
1389 enable_xcopy
1390 enable_server
1391 enable_tools
1393 ac_precious_vars='build_alias
1394 host_alias
1395 target_alias
1397 CFLAGS
1398 LDFLAGS
1399 LIBS
1400 CPPFLAGS
1402 CXXFLAGS
1405 XMKMF
1406 XML2_CFLAGS
1407 XML2_LIBS
1408 XSLT_CFLAGS
1409 XSLT_LIBS
1410 DBUS_CFLAGS
1411 DBUS_LIBS
1412 HAL_CFLAGS
1413 HAL_LIBS
1414 GNUTLS_CFLAGS
1415 GNUTLS_LIBS
1416 SANE_CFLAGS
1417 SANE_LIBS
1418 GPHOTO2_CFLAGS
1419 GPHOTO2_LIBS
1420 GPHOTO2_PORT_CFLAGS
1421 GPHOTO2_PORT_LIBS
1422 LCMS2_CFLAGS
1423 LCMS2_LIBS
1424 FREETYPE_CFLAGS
1425 FREETYPE_LIBS
1426 GSTREAMER_CFLAGS
1427 GSTREAMER_LIBS
1428 CAPI20_CFLAGS
1429 CAPI20_LIBS
1430 FONTCONFIG_CFLAGS
1431 FONTCONFIG_LIBS
1432 JPEG_CFLAGS
1433 JPEG_LIBS
1434 PNG_CFLAGS
1435 PNG_LIBS
1436 TIFF_CFLAGS
1437 TIFF_LIBS
1438 MPG123_CFLAGS
1439 MPG123_LIBS'
1442 # Initialize some variables set by options.
1443 ac_init_help=
1444 ac_init_version=false
1445 ac_unrecognized_opts=
1446 ac_unrecognized_sep=
1447 # The variables have the same names as the options, with
1448 # dashes changed to underlines.
1449 cache_file=/dev/null
1450 exec_prefix=NONE
1451 no_create=
1452 no_recursion=
1453 prefix=NONE
1454 program_prefix=NONE
1455 program_suffix=NONE
1456 program_transform_name=s,x,x,
1457 silent=
1458 site=
1459 srcdir=
1460 verbose=
1461 x_includes=NONE
1462 x_libraries=NONE
1464 # Installation directory options.
1465 # These are left unexpanded so users can "make install exec_prefix=/foo"
1466 # and all the variables that are supposed to be based on exec_prefix
1467 # by default will actually change.
1468 # Use braces instead of parens because sh, perl, etc. also accept them.
1469 # (The list follows the same order as the GNU Coding Standards.)
1470 bindir='${exec_prefix}/bin'
1471 sbindir='${exec_prefix}/sbin'
1472 libexecdir='${exec_prefix}/libexec'
1473 datarootdir='${prefix}/share'
1474 datadir='${datarootdir}'
1475 sysconfdir='${prefix}/etc'
1476 sharedstatedir='${prefix}/com'
1477 localstatedir='${prefix}/var'
1478 includedir='${prefix}/include'
1479 oldincludedir='/usr/include'
1480 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1481 infodir='${datarootdir}/info'
1482 htmldir='${docdir}'
1483 dvidir='${docdir}'
1484 pdfdir='${docdir}'
1485 psdir='${docdir}'
1486 libdir='${exec_prefix}/lib'
1487 localedir='${datarootdir}/locale'
1488 mandir='${datarootdir}/man'
1490 ac_prev=
1491 ac_dashdash=
1492 for ac_option
1494 # If the previous option needs an argument, assign it.
1495 if test -n "$ac_prev"; then
1496 eval $ac_prev=\$ac_option
1497 ac_prev=
1498 continue
1501 case $ac_option in
1502 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1503 *=) ac_optarg= ;;
1504 *) ac_optarg=yes ;;
1505 esac
1507 # Accept the important Cygnus configure options, so we can diagnose typos.
1509 case $ac_dashdash$ac_option in
1511 ac_dashdash=yes ;;
1513 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1514 ac_prev=bindir ;;
1515 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1516 bindir=$ac_optarg ;;
1518 -build | --build | --buil | --bui | --bu)
1519 ac_prev=build_alias ;;
1520 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1521 build_alias=$ac_optarg ;;
1523 -cache-file | --cache-file | --cache-fil | --cache-fi \
1524 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1525 ac_prev=cache_file ;;
1526 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1527 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1528 cache_file=$ac_optarg ;;
1530 --config-cache | -C)
1531 cache_file=config.cache ;;
1533 -datadir | --datadir | --datadi | --datad)
1534 ac_prev=datadir ;;
1535 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1536 datadir=$ac_optarg ;;
1538 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1539 | --dataroo | --dataro | --datar)
1540 ac_prev=datarootdir ;;
1541 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1542 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1543 datarootdir=$ac_optarg ;;
1545 -disable-* | --disable-*)
1546 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1547 # Reject names that are not valid shell variable names.
1548 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1549 as_fn_error $? "invalid feature name: $ac_useropt"
1550 ac_useropt_orig=$ac_useropt
1551 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1552 case $ac_user_opts in
1554 "enable_$ac_useropt"
1555 "*) ;;
1556 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1557 ac_unrecognized_sep=', ';;
1558 esac
1559 eval enable_$ac_useropt=no ;;
1561 -docdir | --docdir | --docdi | --doc | --do)
1562 ac_prev=docdir ;;
1563 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1564 docdir=$ac_optarg ;;
1566 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1567 ac_prev=dvidir ;;
1568 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1569 dvidir=$ac_optarg ;;
1571 -enable-* | --enable-*)
1572 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1573 # Reject names that are not valid shell variable names.
1574 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1575 as_fn_error $? "invalid feature name: $ac_useropt"
1576 ac_useropt_orig=$ac_useropt
1577 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1578 case $ac_user_opts in
1580 "enable_$ac_useropt"
1581 "*) ;;
1582 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1583 ac_unrecognized_sep=', ';;
1584 esac
1585 eval enable_$ac_useropt=\$ac_optarg ;;
1587 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1588 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1589 | --exec | --exe | --ex)
1590 ac_prev=exec_prefix ;;
1591 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1592 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1593 | --exec=* | --exe=* | --ex=*)
1594 exec_prefix=$ac_optarg ;;
1596 -gas | --gas | --ga | --g)
1597 # Obsolete; use --with-gas.
1598 with_gas=yes ;;
1600 -help | --help | --hel | --he | -h)
1601 ac_init_help=long ;;
1602 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1603 ac_init_help=recursive ;;
1604 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1605 ac_init_help=short ;;
1607 -host | --host | --hos | --ho)
1608 ac_prev=host_alias ;;
1609 -host=* | --host=* | --hos=* | --ho=*)
1610 host_alias=$ac_optarg ;;
1612 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1613 ac_prev=htmldir ;;
1614 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1615 | --ht=*)
1616 htmldir=$ac_optarg ;;
1618 -includedir | --includedir | --includedi | --included | --include \
1619 | --includ | --inclu | --incl | --inc)
1620 ac_prev=includedir ;;
1621 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1622 | --includ=* | --inclu=* | --incl=* | --inc=*)
1623 includedir=$ac_optarg ;;
1625 -infodir | --infodir | --infodi | --infod | --info | --inf)
1626 ac_prev=infodir ;;
1627 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1628 infodir=$ac_optarg ;;
1630 -libdir | --libdir | --libdi | --libd)
1631 ac_prev=libdir ;;
1632 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1633 libdir=$ac_optarg ;;
1635 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1636 | --libexe | --libex | --libe)
1637 ac_prev=libexecdir ;;
1638 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1639 | --libexe=* | --libex=* | --libe=*)
1640 libexecdir=$ac_optarg ;;
1642 -localedir | --localedir | --localedi | --localed | --locale)
1643 ac_prev=localedir ;;
1644 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1645 localedir=$ac_optarg ;;
1647 -localstatedir | --localstatedir | --localstatedi | --localstated \
1648 | --localstate | --localstat | --localsta | --localst | --locals)
1649 ac_prev=localstatedir ;;
1650 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1651 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1652 localstatedir=$ac_optarg ;;
1654 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1655 ac_prev=mandir ;;
1656 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1657 mandir=$ac_optarg ;;
1659 -nfp | --nfp | --nf)
1660 # Obsolete; use --without-fp.
1661 with_fp=no ;;
1663 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1664 | --no-cr | --no-c | -n)
1665 no_create=yes ;;
1667 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1668 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1669 no_recursion=yes ;;
1671 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1672 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1673 | --oldin | --oldi | --old | --ol | --o)
1674 ac_prev=oldincludedir ;;
1675 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1676 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1677 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1678 oldincludedir=$ac_optarg ;;
1680 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1681 ac_prev=prefix ;;
1682 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1683 prefix=$ac_optarg ;;
1685 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1686 | --program-pre | --program-pr | --program-p)
1687 ac_prev=program_prefix ;;
1688 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1689 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1690 program_prefix=$ac_optarg ;;
1692 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1693 | --program-suf | --program-su | --program-s)
1694 ac_prev=program_suffix ;;
1695 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1696 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1697 program_suffix=$ac_optarg ;;
1699 -program-transform-name | --program-transform-name \
1700 | --program-transform-nam | --program-transform-na \
1701 | --program-transform-n | --program-transform- \
1702 | --program-transform | --program-transfor \
1703 | --program-transfo | --program-transf \
1704 | --program-trans | --program-tran \
1705 | --progr-tra | --program-tr | --program-t)
1706 ac_prev=program_transform_name ;;
1707 -program-transform-name=* | --program-transform-name=* \
1708 | --program-transform-nam=* | --program-transform-na=* \
1709 | --program-transform-n=* | --program-transform-=* \
1710 | --program-transform=* | --program-transfor=* \
1711 | --program-transfo=* | --program-transf=* \
1712 | --program-trans=* | --program-tran=* \
1713 | --progr-tra=* | --program-tr=* | --program-t=*)
1714 program_transform_name=$ac_optarg ;;
1716 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1717 ac_prev=pdfdir ;;
1718 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1719 pdfdir=$ac_optarg ;;
1721 -psdir | --psdir | --psdi | --psd | --ps)
1722 ac_prev=psdir ;;
1723 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1724 psdir=$ac_optarg ;;
1726 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1727 | -silent | --silent | --silen | --sile | --sil)
1728 silent=yes ;;
1730 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1731 ac_prev=sbindir ;;
1732 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1733 | --sbi=* | --sb=*)
1734 sbindir=$ac_optarg ;;
1736 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1737 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1738 | --sharedst | --shareds | --shared | --share | --shar \
1739 | --sha | --sh)
1740 ac_prev=sharedstatedir ;;
1741 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1742 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1743 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1744 | --sha=* | --sh=*)
1745 sharedstatedir=$ac_optarg ;;
1747 -site | --site | --sit)
1748 ac_prev=site ;;
1749 -site=* | --site=* | --sit=*)
1750 site=$ac_optarg ;;
1752 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1753 ac_prev=srcdir ;;
1754 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1755 srcdir=$ac_optarg ;;
1757 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1758 | --syscon | --sysco | --sysc | --sys | --sy)
1759 ac_prev=sysconfdir ;;
1760 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1761 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1762 sysconfdir=$ac_optarg ;;
1764 -target | --target | --targe | --targ | --tar | --ta | --t)
1765 ac_prev=target_alias ;;
1766 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1767 target_alias=$ac_optarg ;;
1769 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1770 verbose=yes ;;
1772 -version | --version | --versio | --versi | --vers | -V)
1773 ac_init_version=: ;;
1775 -with-* | --with-*)
1776 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1777 # Reject names that are not valid shell variable names.
1778 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1779 as_fn_error $? "invalid package name: $ac_useropt"
1780 ac_useropt_orig=$ac_useropt
1781 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1782 case $ac_user_opts in
1784 "with_$ac_useropt"
1785 "*) ;;
1786 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1787 ac_unrecognized_sep=', ';;
1788 esac
1789 eval with_$ac_useropt=\$ac_optarg ;;
1791 -without-* | --without-*)
1792 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1793 # Reject names that are not valid shell variable names.
1794 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1795 as_fn_error $? "invalid package name: $ac_useropt"
1796 ac_useropt_orig=$ac_useropt
1797 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1798 case $ac_user_opts in
1800 "with_$ac_useropt"
1801 "*) ;;
1802 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1803 ac_unrecognized_sep=', ';;
1804 esac
1805 eval with_$ac_useropt=no ;;
1807 --x)
1808 # Obsolete; use --with-x.
1809 with_x=yes ;;
1811 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1812 | --x-incl | --x-inc | --x-in | --x-i)
1813 ac_prev=x_includes ;;
1814 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1815 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1816 x_includes=$ac_optarg ;;
1818 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1819 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1820 ac_prev=x_libraries ;;
1821 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1822 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1823 x_libraries=$ac_optarg ;;
1825 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1826 Try \`$0 --help' for more information"
1829 *=*)
1830 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1831 # Reject names that are not valid shell variable names.
1832 case $ac_envvar in #(
1833 '' | [0-9]* | *[!_$as_cr_alnum]* )
1834 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1835 esac
1836 eval $ac_envvar=\$ac_optarg
1837 export $ac_envvar ;;
1840 # FIXME: should be removed in autoconf 3.0.
1841 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1842 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1843 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1844 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1847 esac
1848 done
1850 if test -n "$ac_prev"; then
1851 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1852 as_fn_error $? "missing argument to $ac_option"
1855 if test -n "$ac_unrecognized_opts"; then
1856 case $enable_option_checking in
1857 no) ;;
1858 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1859 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1860 esac
1863 # Check all directory arguments for consistency.
1864 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1865 datadir sysconfdir sharedstatedir localstatedir includedir \
1866 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1867 libdir localedir mandir
1869 eval ac_val=\$$ac_var
1870 # Remove trailing slashes.
1871 case $ac_val in
1872 */ )
1873 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1874 eval $ac_var=\$ac_val;;
1875 esac
1876 # Be sure to have absolute directory names.
1877 case $ac_val in
1878 [\\/$]* | ?:[\\/]* ) continue;;
1879 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1880 esac
1881 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1882 done
1884 # There might be people who depend on the old broken behavior: `$host'
1885 # used to hold the argument of --host etc.
1886 # FIXME: To remove some day.
1887 build=$build_alias
1888 host=$host_alias
1889 target=$target_alias
1891 # FIXME: To remove some day.
1892 if test "x$host_alias" != x; then
1893 if test "x$build_alias" = x; then
1894 cross_compiling=maybe
1895 elif test "x$build_alias" != "x$host_alias"; then
1896 cross_compiling=yes
1900 ac_tool_prefix=
1901 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1903 test "$silent" = yes && exec 6>/dev/null
1906 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1907 ac_ls_di=`ls -di .` &&
1908 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1909 as_fn_error $? "working directory cannot be determined"
1910 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1911 as_fn_error $? "pwd does not report name of working directory"
1914 # Find the source files, if location was not specified.
1915 if test -z "$srcdir"; then
1916 ac_srcdir_defaulted=yes
1917 # Try the directory containing this script, then the parent directory.
1918 ac_confdir=`$as_dirname -- "$as_myself" ||
1919 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1920 X"$as_myself" : 'X\(//\)[^/]' \| \
1921 X"$as_myself" : 'X\(//\)$' \| \
1922 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1923 $as_echo X"$as_myself" |
1924 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1925 s//\1/
1928 /^X\(\/\/\)[^/].*/{
1929 s//\1/
1932 /^X\(\/\/\)$/{
1933 s//\1/
1936 /^X\(\/\).*/{
1937 s//\1/
1940 s/.*/./; q'`
1941 srcdir=$ac_confdir
1942 if test ! -r "$srcdir/$ac_unique_file"; then
1943 srcdir=..
1945 else
1946 ac_srcdir_defaulted=no
1948 if test ! -r "$srcdir/$ac_unique_file"; then
1949 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1950 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1952 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1953 ac_abs_confdir=`(
1954 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1955 pwd)`
1956 # When building in place, set srcdir=.
1957 if test "$ac_abs_confdir" = "$ac_pwd"; then
1958 srcdir=.
1960 # Remove unnecessary trailing slashes from srcdir.
1961 # Double slashes in file names in object file debugging info
1962 # mess up M-x gdb in Emacs.
1963 case $srcdir in
1964 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1965 esac
1966 for ac_var in $ac_precious_vars; do
1967 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1968 eval ac_env_${ac_var}_value=\$${ac_var}
1969 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1970 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1971 done
1974 # Report the --help message.
1976 if test "$ac_init_help" = "long"; then
1977 # Omit some internal or obsolete options to make the list less imposing.
1978 # This message is too long to be a string in the A/UX 3.1 sh.
1979 cat <<_ACEOF
1980 \`configure' configures Wine 1.7.23 to adapt to many kinds of systems.
1982 Usage: $0 [OPTION]... [VAR=VALUE]...
1984 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1985 VAR=VALUE. See below for descriptions of some of the useful variables.
1987 Defaults for the options are specified in brackets.
1989 Configuration:
1990 -h, --help display this help and exit
1991 --help=short display options specific to this package
1992 --help=recursive display the short help of all the included packages
1993 -V, --version display version information and exit
1994 -q, --quiet, --silent do not print \`checking ...' messages
1995 --cache-file=FILE cache test results in FILE [disabled]
1996 -C, --config-cache alias for \`--cache-file=config.cache'
1997 -n, --no-create do not create output files
1998 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2000 Installation directories:
2001 --prefix=PREFIX install architecture-independent files in PREFIX
2002 [$ac_default_prefix]
2003 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2004 [PREFIX]
2006 By default, \`make install' will install all the files in
2007 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2008 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2009 for instance \`--prefix=\$HOME'.
2011 For better control, use the options below.
2013 Fine tuning of the installation directories:
2014 --bindir=DIR user executables [EPREFIX/bin]
2015 --sbindir=DIR system admin executables [EPREFIX/sbin]
2016 --libexecdir=DIR program executables [EPREFIX/libexec]
2017 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2018 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2019 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2020 --libdir=DIR object code libraries [EPREFIX/lib]
2021 --includedir=DIR C header files [PREFIX/include]
2022 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2023 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2024 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2025 --infodir=DIR info documentation [DATAROOTDIR/info]
2026 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2027 --mandir=DIR man documentation [DATAROOTDIR/man]
2028 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2029 --htmldir=DIR html documentation [DOCDIR]
2030 --dvidir=DIR dvi documentation [DOCDIR]
2031 --pdfdir=DIR pdf documentation [DOCDIR]
2032 --psdir=DIR ps documentation [DOCDIR]
2033 _ACEOF
2035 cat <<\_ACEOF
2037 X features:
2038 --x-includes=DIR X include files are in DIR
2039 --x-libraries=DIR X library files are in DIR
2041 System types:
2042 --build=BUILD configure for building on BUILD [guessed]
2043 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2044 _ACEOF
2047 if test -n "$ac_init_help"; then
2048 case $ac_init_help in
2049 short | recursive ) echo "Configuration of Wine 1.7.23:";;
2050 esac
2051 cat <<\_ACEOF
2053 Optional Features:
2054 --disable-option-checking ignore unrecognized --enable/--with options
2055 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2056 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2057 --disable-win16 do not include Win16 support
2058 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2059 binaries)
2060 --disable-tests do not build the regression tests
2061 --enable-maintainer-mode
2062 enable maintainer-specific build rules
2063 --disable-largefile omit support for large files
2065 Optional Packages:
2066 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2067 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2068 --without-alsa do not use the Alsa sound support
2069 --without-capi do not use CAPI (ISDN support)
2070 --without-cms do not use CMS (color management support)
2071 --without-coreaudio do not use the CoreAudio sound support
2072 --without-cups do not use CUPS
2073 --without-curses do not use (n)curses
2074 --without-dbus do not use DBus (dynamic device support)
2075 --without-fontconfig do not use fontconfig
2076 --without-freetype do not use the FreeType library
2077 --without-gettext do not use gettext
2078 --with-gettextpo use the GetTextPO library to rebuild po files
2079 --without-gphoto do not use gphoto (Digital Camera support)
2080 --without-glu do not use the GLU library
2081 --without-gnutls do not use GnuTLS (schannel support)
2082 --without-gsm do not use libgsm (GSM 06.10 codec support)
2083 --without-gstreamer do not use GStreamer (codecs support)
2084 --without-hal do not use HAL (dynamic device support)
2085 --without-jpeg do not use JPEG
2086 --without-ldap do not use LDAP
2087 --without-mpg123 do not use the mpg123 library
2088 --without-netapi do not use the Samba NetAPI library
2089 --without-openal do not use OpenAL
2090 --without-opencl do not use OpenCL
2091 --without-opengl do not use OpenGL
2092 --without-osmesa do not use the OSMesa library
2093 --without-oss do not use the OSS sound support
2094 --without-png do not use PNG
2095 --without-pthread do not use the pthread library
2096 --without-sane do not use SANE (scanner support)
2097 --without-tiff do not use TIFF
2098 --without-v4l do not use v4l1 (v4l support)
2099 --without-xcomposite do not use the Xcomposite extension
2100 --without-xcursor do not use the Xcursor extension
2101 --without-xinerama do not use Xinerama (multi-monitor support)
2102 --without-xinput do not use the Xinput extension
2103 --without-xinput2 do not use the Xinput 2 extension
2104 --without-xml do not use XML
2105 --without-xrandr do not use Xrandr (resolution changes)
2106 --without-xrender do not use the Xrender extension
2107 --without-xshape do not use the Xshape extension
2108 --without-xshm do not use XShm (shared memory extension)
2109 --without-xslt do not use XSLT
2110 --without-xxf86vm do not use XFree video mode extension
2111 --without-zlib do not use Zlib (data compression)
2112 --with-wine-tools=DIR use Wine tools from directory DIR
2113 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2114 --with-x use the X Window System
2116 Some influential environment variables:
2117 CC C compiler command
2118 CFLAGS C compiler flags
2119 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2120 nonstandard directory <lib dir>
2121 LIBS libraries to pass to the linker, e.g. -l<library>
2122 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2123 you have headers in a nonstandard directory <include dir>
2124 CXX C++ compiler command
2125 CXXFLAGS C++ compiler flags
2126 CPP C preprocessor
2127 XMKMF Path to xmkmf, Makefile generator for X Window System
2128 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2129 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2130 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2131 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2132 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2133 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2134 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2135 HAL_LIBS Linker flags for hal, overriding pkg-config
2136 GNUTLS_CFLAGS
2137 C compiler flags for gnutls, overriding pkg-config
2138 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2139 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2140 SANE_LIBS Linker flags for libsane, overriding pkg-config
2141 GPHOTO2_CFLAGS
2142 C compiler flags for libgphoto2, overriding pkg-config
2143 GPHOTO2_LIBS
2144 Linker flags for libgphoto2, overriding pkg-config
2145 GPHOTO2_PORT_CFLAGS
2146 C compiler flags for libgphoto2_port, overriding pkg-config
2147 GPHOTO2_PORT_LIBS
2148 Linker flags for libgphoto2_port, overriding pkg-config
2149 LCMS2_CFLAGS
2150 C compiler flags for lcms2, overriding pkg-config
2151 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2152 FREETYPE_CFLAGS
2153 C compiler flags for freetype2, overriding pkg-config
2154 FREETYPE_LIBS
2155 Linker flags for freetype2, overriding pkg-config
2156 GSTREAMER_CFLAGS
2157 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2158 GSTREAMER_LIBS
2159 Linker flags for gstreamer-app-0.10, overriding pkg-config
2160 CAPI20_CFLAGS
2161 C compiler flags for capi20, overriding pkg-config
2162 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2163 FONTCONFIG_CFLAGS
2164 C compiler flags for fontconfig, overriding pkg-config
2165 FONTCONFIG_LIBS
2166 Linker flags for fontconfig, overriding pkg-config
2167 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2168 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2169 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2170 PNG_LIBS Linker flags for libpng, overriding pkg-config
2171 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2172 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2173 MPG123_CFLAGS
2174 C compiler flags for libmpg123, overriding pkg-config
2175 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2177 Use these variables to override the choices made by `configure' or to help
2178 it to find libraries and programs with nonstandard names/locations.
2180 Report bugs to <wine-devel@winehq.org>.
2181 Wine home page: <http://www.winehq.org>.
2182 _ACEOF
2183 ac_status=$?
2186 if test "$ac_init_help" = "recursive"; then
2187 # If there are subdirs, report their specific --help.
2188 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2189 test -d "$ac_dir" ||
2190 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2191 continue
2192 ac_builddir=.
2194 case "$ac_dir" in
2195 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2197 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2198 # A ".." for each directory in $ac_dir_suffix.
2199 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2200 case $ac_top_builddir_sub in
2201 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2202 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2203 esac ;;
2204 esac
2205 ac_abs_top_builddir=$ac_pwd
2206 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2207 # for backward compatibility:
2208 ac_top_builddir=$ac_top_build_prefix
2210 case $srcdir in
2211 .) # We are building in place.
2212 ac_srcdir=.
2213 ac_top_srcdir=$ac_top_builddir_sub
2214 ac_abs_top_srcdir=$ac_pwd ;;
2215 [\\/]* | ?:[\\/]* ) # Absolute name.
2216 ac_srcdir=$srcdir$ac_dir_suffix;
2217 ac_top_srcdir=$srcdir
2218 ac_abs_top_srcdir=$srcdir ;;
2219 *) # Relative name.
2220 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2221 ac_top_srcdir=$ac_top_build_prefix$srcdir
2222 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2223 esac
2224 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2226 cd "$ac_dir" || { ac_status=$?; continue; }
2227 # Check for guested configure.
2228 if test -f "$ac_srcdir/configure.gnu"; then
2229 echo &&
2230 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2231 elif test -f "$ac_srcdir/configure"; then
2232 echo &&
2233 $SHELL "$ac_srcdir/configure" --help=recursive
2234 else
2235 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2236 fi || ac_status=$?
2237 cd "$ac_pwd" || { ac_status=$?; break; }
2238 done
2241 test -n "$ac_init_help" && exit $ac_status
2242 if $ac_init_version; then
2243 cat <<\_ACEOF
2244 Wine configure 1.7.23
2245 generated by GNU Autoconf 2.69
2247 Copyright (C) 2012 Free Software Foundation, Inc.
2248 This configure script is free software; the Free Software Foundation
2249 gives unlimited permission to copy, distribute and modify it.
2250 _ACEOF
2251 exit
2254 ## ------------------------ ##
2255 ## Autoconf initialization. ##
2256 ## ------------------------ ##
2258 # ac_fn_c_try_compile LINENO
2259 # --------------------------
2260 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2261 ac_fn_c_try_compile ()
2263 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2264 rm -f conftest.$ac_objext
2265 if { { ac_try="$ac_compile"
2266 case "(($ac_try" in
2267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2268 *) ac_try_echo=$ac_try;;
2269 esac
2270 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2271 $as_echo "$ac_try_echo"; } >&5
2272 (eval "$ac_compile") 2>conftest.err
2273 ac_status=$?
2274 if test -s conftest.err; then
2275 grep -v '^ *+' conftest.err >conftest.er1
2276 cat conftest.er1 >&5
2277 mv -f conftest.er1 conftest.err
2279 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2280 test $ac_status = 0; } && {
2281 test -z "$ac_c_werror_flag" ||
2282 test ! -s conftest.err
2283 } && test -s conftest.$ac_objext; then :
2284 ac_retval=0
2285 else
2286 $as_echo "$as_me: failed program was:" >&5
2287 sed 's/^/| /' conftest.$ac_ext >&5
2289 ac_retval=1
2291 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2292 as_fn_set_status $ac_retval
2294 } # ac_fn_c_try_compile
2296 # ac_fn_cxx_try_compile LINENO
2297 # ----------------------------
2298 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2299 ac_fn_cxx_try_compile ()
2301 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2302 rm -f conftest.$ac_objext
2303 if { { ac_try="$ac_compile"
2304 case "(($ac_try" in
2305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2306 *) ac_try_echo=$ac_try;;
2307 esac
2308 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2309 $as_echo "$ac_try_echo"; } >&5
2310 (eval "$ac_compile") 2>conftest.err
2311 ac_status=$?
2312 if test -s conftest.err; then
2313 grep -v '^ *+' conftest.err >conftest.er1
2314 cat conftest.er1 >&5
2315 mv -f conftest.er1 conftest.err
2317 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2318 test $ac_status = 0; } && {
2319 test -z "$ac_cxx_werror_flag" ||
2320 test ! -s conftest.err
2321 } && test -s conftest.$ac_objext; then :
2322 ac_retval=0
2323 else
2324 $as_echo "$as_me: failed program was:" >&5
2325 sed 's/^/| /' conftest.$ac_ext >&5
2327 ac_retval=1
2329 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2330 as_fn_set_status $ac_retval
2332 } # ac_fn_cxx_try_compile
2334 # ac_fn_c_try_link LINENO
2335 # -----------------------
2336 # Try to link conftest.$ac_ext, and return whether this succeeded.
2337 ac_fn_c_try_link ()
2339 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2340 rm -f conftest.$ac_objext conftest$ac_exeext
2341 if { { ac_try="$ac_link"
2342 case "(($ac_try" in
2343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2344 *) ac_try_echo=$ac_try;;
2345 esac
2346 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2347 $as_echo "$ac_try_echo"; } >&5
2348 (eval "$ac_link") 2>conftest.err
2349 ac_status=$?
2350 if test -s conftest.err; then
2351 grep -v '^ *+' conftest.err >conftest.er1
2352 cat conftest.er1 >&5
2353 mv -f conftest.er1 conftest.err
2355 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2356 test $ac_status = 0; } && {
2357 test -z "$ac_c_werror_flag" ||
2358 test ! -s conftest.err
2359 } && test -s conftest$ac_exeext && {
2360 test "$cross_compiling" = yes ||
2361 test -x conftest$ac_exeext
2362 }; then :
2363 ac_retval=0
2364 else
2365 $as_echo "$as_me: failed program was:" >&5
2366 sed 's/^/| /' conftest.$ac_ext >&5
2368 ac_retval=1
2370 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2371 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2372 # interfere with the next link command; also delete a directory that is
2373 # left behind by Apple's compiler. We do this before executing the actions.
2374 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2375 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2376 as_fn_set_status $ac_retval
2378 } # ac_fn_c_try_link
2380 # ac_fn_c_try_cpp LINENO
2381 # ----------------------
2382 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2383 ac_fn_c_try_cpp ()
2385 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2386 if { { ac_try="$ac_cpp conftest.$ac_ext"
2387 case "(($ac_try" in
2388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2389 *) ac_try_echo=$ac_try;;
2390 esac
2391 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2392 $as_echo "$ac_try_echo"; } >&5
2393 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2394 ac_status=$?
2395 if test -s conftest.err; then
2396 grep -v '^ *+' conftest.err >conftest.er1
2397 cat conftest.er1 >&5
2398 mv -f conftest.er1 conftest.err
2400 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2401 test $ac_status = 0; } > conftest.i && {
2402 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2403 test ! -s conftest.err
2404 }; then :
2405 ac_retval=0
2406 else
2407 $as_echo "$as_me: failed program was:" >&5
2408 sed 's/^/| /' conftest.$ac_ext >&5
2410 ac_retval=1
2412 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2413 as_fn_set_status $ac_retval
2415 } # ac_fn_c_try_cpp
2417 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2418 # -------------------------------------------------------
2419 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2420 # the include files in INCLUDES and setting the cache variable VAR
2421 # accordingly.
2422 ac_fn_c_check_header_mongrel ()
2424 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2425 if eval \${$3+:} false; then :
2426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2427 $as_echo_n "checking for $2... " >&6; }
2428 if eval \${$3+:} false; then :
2429 $as_echo_n "(cached) " >&6
2431 eval ac_res=\$$3
2432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2433 $as_echo "$ac_res" >&6; }
2434 else
2435 # Is the header compilable?
2436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2437 $as_echo_n "checking $2 usability... " >&6; }
2438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2439 /* end confdefs.h. */
2441 #include <$2>
2442 _ACEOF
2443 if ac_fn_c_try_compile "$LINENO"; then :
2444 ac_header_compiler=yes
2445 else
2446 ac_header_compiler=no
2448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2450 $as_echo "$ac_header_compiler" >&6; }
2452 # Is the header present?
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2454 $as_echo_n "checking $2 presence... " >&6; }
2455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2456 /* end confdefs.h. */
2457 #include <$2>
2458 _ACEOF
2459 if ac_fn_c_try_cpp "$LINENO"; then :
2460 ac_header_preproc=yes
2461 else
2462 ac_header_preproc=no
2464 rm -f conftest.err conftest.i conftest.$ac_ext
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2466 $as_echo "$ac_header_preproc" >&6; }
2468 # So? What about this header?
2469 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2470 yes:no: )
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2472 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2473 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2474 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2476 no:yes:* )
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2478 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2480 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2481 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2482 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2484 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2486 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2487 ( $as_echo "## ------------------------------------ ##
2488 ## Report this to wine-devel@winehq.org ##
2489 ## ------------------------------------ ##"
2490 ) | sed "s/^/$as_me: WARNING: /" >&2
2492 esac
2493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2494 $as_echo_n "checking for $2... " >&6; }
2495 if eval \${$3+:} false; then :
2496 $as_echo_n "(cached) " >&6
2497 else
2498 eval "$3=\$ac_header_compiler"
2500 eval ac_res=\$$3
2501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2502 $as_echo "$ac_res" >&6; }
2504 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2506 } # ac_fn_c_check_header_mongrel
2508 # ac_fn_c_try_run LINENO
2509 # ----------------------
2510 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2511 # that executables *can* be run.
2512 ac_fn_c_try_run ()
2514 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2515 if { { ac_try="$ac_link"
2516 case "(($ac_try" in
2517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2518 *) ac_try_echo=$ac_try;;
2519 esac
2520 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2521 $as_echo "$ac_try_echo"; } >&5
2522 (eval "$ac_link") 2>&5
2523 ac_status=$?
2524 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2525 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2526 { { case "(($ac_try" in
2527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2528 *) ac_try_echo=$ac_try;;
2529 esac
2530 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2531 $as_echo "$ac_try_echo"; } >&5
2532 (eval "$ac_try") 2>&5
2533 ac_status=$?
2534 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2535 test $ac_status = 0; }; }; then :
2536 ac_retval=0
2537 else
2538 $as_echo "$as_me: program exited with status $ac_status" >&5
2539 $as_echo "$as_me: failed program was:" >&5
2540 sed 's/^/| /' conftest.$ac_ext >&5
2542 ac_retval=$ac_status
2544 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2545 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2546 as_fn_set_status $ac_retval
2548 } # ac_fn_c_try_run
2550 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2551 # -------------------------------------------------------
2552 # Tests whether HEADER exists and can be compiled using the include files in
2553 # INCLUDES, setting the cache variable VAR accordingly.
2554 ac_fn_c_check_header_compile ()
2556 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2558 $as_echo_n "checking for $2... " >&6; }
2559 if eval \${$3+:} false; then :
2560 $as_echo_n "(cached) " >&6
2561 else
2562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2563 /* end confdefs.h. */
2565 #include <$2>
2566 _ACEOF
2567 if ac_fn_c_try_compile "$LINENO"; then :
2568 eval "$3=yes"
2569 else
2570 eval "$3=no"
2572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2574 eval ac_res=\$$3
2575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2576 $as_echo "$ac_res" >&6; }
2577 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2579 } # ac_fn_c_check_header_compile
2581 # ac_fn_c_check_func LINENO FUNC VAR
2582 # ----------------------------------
2583 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2584 ac_fn_c_check_func ()
2586 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2588 $as_echo_n "checking for $2... " >&6; }
2589 if eval \${$3+:} false; then :
2590 $as_echo_n "(cached) " >&6
2591 else
2592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2593 /* end confdefs.h. */
2594 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2595 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2596 #define $2 innocuous_$2
2598 /* System header to define __stub macros and hopefully few prototypes,
2599 which can conflict with char $2 (); below.
2600 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2601 <limits.h> exists even on freestanding compilers. */
2603 #ifdef __STDC__
2604 # include <limits.h>
2605 #else
2606 # include <assert.h>
2607 #endif
2609 #undef $2
2611 /* Override any GCC internal prototype to avoid an error.
2612 Use char because int might match the return type of a GCC
2613 builtin and then its argument prototype would still apply. */
2614 #ifdef __cplusplus
2615 extern "C"
2616 #endif
2617 char $2 ();
2618 /* The GNU C library defines this for functions which it implements
2619 to always fail with ENOSYS. Some functions are actually named
2620 something starting with __ and the normal name is an alias. */
2621 #if defined __stub_$2 || defined __stub___$2
2622 choke me
2623 #endif
2626 main ()
2628 return $2 ();
2630 return 0;
2632 _ACEOF
2633 if ac_fn_c_try_link "$LINENO"; then :
2634 eval "$3=yes"
2635 else
2636 eval "$3=no"
2638 rm -f core conftest.err conftest.$ac_objext \
2639 conftest$ac_exeext conftest.$ac_ext
2641 eval ac_res=\$$3
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2643 $as_echo "$ac_res" >&6; }
2644 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2646 } # ac_fn_c_check_func
2648 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2649 # ----------------------------------------------------
2650 # Tries to find if the field MEMBER exists in type AGGR, after including
2651 # INCLUDES, setting cache variable VAR accordingly.
2652 ac_fn_c_check_member ()
2654 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2656 $as_echo_n "checking for $2.$3... " >&6; }
2657 if eval \${$4+:} false; then :
2658 $as_echo_n "(cached) " >&6
2659 else
2660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2661 /* end confdefs.h. */
2664 main ()
2666 static $2 ac_aggr;
2667 if (ac_aggr.$3)
2668 return 0;
2670 return 0;
2672 _ACEOF
2673 if ac_fn_c_try_compile "$LINENO"; then :
2674 eval "$4=yes"
2675 else
2676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2677 /* end confdefs.h. */
2680 main ()
2682 static $2 ac_aggr;
2683 if (sizeof ac_aggr.$3)
2684 return 0;
2686 return 0;
2688 _ACEOF
2689 if ac_fn_c_try_compile "$LINENO"; then :
2690 eval "$4=yes"
2691 else
2692 eval "$4=no"
2694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2698 eval ac_res=\$$4
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2700 $as_echo "$ac_res" >&6; }
2701 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2703 } # ac_fn_c_check_member
2705 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2706 # -------------------------------------------
2707 # Tests whether TYPE exists after having included INCLUDES, setting cache
2708 # variable VAR accordingly.
2709 ac_fn_c_check_type ()
2711 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2713 $as_echo_n "checking for $2... " >&6; }
2714 if eval \${$3+:} false; then :
2715 $as_echo_n "(cached) " >&6
2716 else
2717 eval "$3=no"
2718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2719 /* end confdefs.h. */
2722 main ()
2724 if (sizeof ($2))
2725 return 0;
2727 return 0;
2729 _ACEOF
2730 if ac_fn_c_try_compile "$LINENO"; then :
2731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2732 /* end confdefs.h. */
2735 main ()
2737 if (sizeof (($2)))
2738 return 0;
2740 return 0;
2742 _ACEOF
2743 if ac_fn_c_try_compile "$LINENO"; then :
2745 else
2746 eval "$3=yes"
2748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2752 eval ac_res=\$$3
2753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2754 $as_echo "$ac_res" >&6; }
2755 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2757 } # ac_fn_c_check_type
2758 cat >config.log <<_ACEOF
2759 This file contains any messages produced by compilers while
2760 running configure, to aid debugging if configure makes a mistake.
2762 It was created by Wine $as_me 1.7.23, which was
2763 generated by GNU Autoconf 2.69. Invocation command line was
2765 $ $0 $@
2767 _ACEOF
2768 exec 5>>config.log
2770 cat <<_ASUNAME
2771 ## --------- ##
2772 ## Platform. ##
2773 ## --------- ##
2775 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2776 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2777 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2778 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2779 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2781 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2782 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2784 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2785 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2786 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2787 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2788 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2789 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2790 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2792 _ASUNAME
2794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2795 for as_dir in $PATH
2797 IFS=$as_save_IFS
2798 test -z "$as_dir" && as_dir=.
2799 $as_echo "PATH: $as_dir"
2800 done
2801 IFS=$as_save_IFS
2803 } >&5
2805 cat >&5 <<_ACEOF
2808 ## ----------- ##
2809 ## Core tests. ##
2810 ## ----------- ##
2812 _ACEOF
2815 # Keep a trace of the command line.
2816 # Strip out --no-create and --no-recursion so they do not pile up.
2817 # Strip out --silent because we don't want to record it for future runs.
2818 # Also quote any args containing shell meta-characters.
2819 # Make two passes to allow for proper duplicate-argument suppression.
2820 ac_configure_args=
2821 ac_configure_args0=
2822 ac_configure_args1=
2823 ac_must_keep_next=false
2824 for ac_pass in 1 2
2826 for ac_arg
2828 case $ac_arg in
2829 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2830 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2831 | -silent | --silent | --silen | --sile | --sil)
2832 continue ;;
2833 *\'*)
2834 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2835 esac
2836 case $ac_pass in
2837 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2839 as_fn_append ac_configure_args1 " '$ac_arg'"
2840 if test $ac_must_keep_next = true; then
2841 ac_must_keep_next=false # Got value, back to normal.
2842 else
2843 case $ac_arg in
2844 *=* | --config-cache | -C | -disable-* | --disable-* \
2845 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2846 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2847 | -with-* | --with-* | -without-* | --without-* | --x)
2848 case "$ac_configure_args0 " in
2849 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2850 esac
2852 -* ) ac_must_keep_next=true ;;
2853 esac
2855 as_fn_append ac_configure_args " '$ac_arg'"
2857 esac
2858 done
2859 done
2860 { ac_configure_args0=; unset ac_configure_args0;}
2861 { ac_configure_args1=; unset ac_configure_args1;}
2863 # When interrupted or exit'd, cleanup temporary files, and complete
2864 # config.log. We remove comments because anyway the quotes in there
2865 # would cause problems or look ugly.
2866 # WARNING: Use '\'' to represent an apostrophe within the trap.
2867 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2868 trap 'exit_status=$?
2869 # Save into config.log some information that might help in debugging.
2871 echo
2873 $as_echo "## ---------------- ##
2874 ## Cache variables. ##
2875 ## ---------------- ##"
2876 echo
2877 # The following way of writing the cache mishandles newlines in values,
2879 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2880 eval ac_val=\$$ac_var
2881 case $ac_val in #(
2882 *${as_nl}*)
2883 case $ac_var in #(
2884 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2885 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2886 esac
2887 case $ac_var in #(
2888 _ | IFS | as_nl) ;; #(
2889 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2890 *) { eval $ac_var=; unset $ac_var;} ;;
2891 esac ;;
2892 esac
2893 done
2894 (set) 2>&1 |
2895 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2896 *${as_nl}ac_space=\ *)
2897 sed -n \
2898 "s/'\''/'\''\\\\'\'''\''/g;
2899 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2900 ;; #(
2902 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2904 esac |
2905 sort
2907 echo
2909 $as_echo "## ----------------- ##
2910 ## Output variables. ##
2911 ## ----------------- ##"
2912 echo
2913 for ac_var in $ac_subst_vars
2915 eval ac_val=\$$ac_var
2916 case $ac_val in
2917 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2918 esac
2919 $as_echo "$ac_var='\''$ac_val'\''"
2920 done | sort
2921 echo
2923 if test -n "$ac_subst_files"; then
2924 $as_echo "## ------------------- ##
2925 ## File substitutions. ##
2926 ## ------------------- ##"
2927 echo
2928 for ac_var in $ac_subst_files
2930 eval ac_val=\$$ac_var
2931 case $ac_val in
2932 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2933 esac
2934 $as_echo "$ac_var='\''$ac_val'\''"
2935 done | sort
2936 echo
2939 if test -s confdefs.h; then
2940 $as_echo "## ----------- ##
2941 ## confdefs.h. ##
2942 ## ----------- ##"
2943 echo
2944 cat confdefs.h
2945 echo
2947 test "$ac_signal" != 0 &&
2948 $as_echo "$as_me: caught signal $ac_signal"
2949 $as_echo "$as_me: exit $exit_status"
2950 } >&5
2951 rm -f core *.core core.conftest.* &&
2952 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2953 exit $exit_status
2955 for ac_signal in 1 2 13 15; do
2956 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2957 done
2958 ac_signal=0
2960 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2961 rm -f -r conftest* confdefs.h
2963 $as_echo "/* confdefs.h */" > confdefs.h
2965 # Predefined preprocessor variables.
2967 cat >>confdefs.h <<_ACEOF
2968 #define PACKAGE_NAME "$PACKAGE_NAME"
2969 _ACEOF
2971 cat >>confdefs.h <<_ACEOF
2972 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2973 _ACEOF
2975 cat >>confdefs.h <<_ACEOF
2976 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2977 _ACEOF
2979 cat >>confdefs.h <<_ACEOF
2980 #define PACKAGE_STRING "$PACKAGE_STRING"
2981 _ACEOF
2983 cat >>confdefs.h <<_ACEOF
2984 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2985 _ACEOF
2987 cat >>confdefs.h <<_ACEOF
2988 #define PACKAGE_URL "$PACKAGE_URL"
2989 _ACEOF
2992 # Let the site file select an alternate cache file if it wants to.
2993 # Prefer an explicitly selected file to automatically selected ones.
2994 ac_site_file1=NONE
2995 ac_site_file2=NONE
2996 if test -n "$CONFIG_SITE"; then
2997 # We do not want a PATH search for config.site.
2998 case $CONFIG_SITE in #((
2999 -*) ac_site_file1=./$CONFIG_SITE;;
3000 */*) ac_site_file1=$CONFIG_SITE;;
3001 *) ac_site_file1=./$CONFIG_SITE;;
3002 esac
3003 elif test "x$prefix" != xNONE; then
3004 ac_site_file1=$prefix/share/config.site
3005 ac_site_file2=$prefix/etc/config.site
3006 else
3007 ac_site_file1=$ac_default_prefix/share/config.site
3008 ac_site_file2=$ac_default_prefix/etc/config.site
3010 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3012 test "x$ac_site_file" = xNONE && continue
3013 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3015 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3016 sed 's/^/| /' "$ac_site_file" >&5
3017 . "$ac_site_file" \
3018 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3019 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3020 as_fn_error $? "failed to load site script $ac_site_file
3021 See \`config.log' for more details" "$LINENO" 5; }
3023 done
3025 if test -r "$cache_file"; then
3026 # Some versions of bash will fail to source /dev/null (special files
3027 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3028 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3030 $as_echo "$as_me: loading cache $cache_file" >&6;}
3031 case $cache_file in
3032 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3033 *) . "./$cache_file";;
3034 esac
3036 else
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3038 $as_echo "$as_me: creating cache $cache_file" >&6;}
3039 >$cache_file
3042 # Check that the precious variables saved in the cache have kept the same
3043 # value.
3044 ac_cache_corrupted=false
3045 for ac_var in $ac_precious_vars; do
3046 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3047 eval ac_new_set=\$ac_env_${ac_var}_set
3048 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3049 eval ac_new_val=\$ac_env_${ac_var}_value
3050 case $ac_old_set,$ac_new_set in
3051 set,)
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3053 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3054 ac_cache_corrupted=: ;;
3055 ,set)
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3057 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3058 ac_cache_corrupted=: ;;
3059 ,);;
3061 if test "x$ac_old_val" != "x$ac_new_val"; then
3062 # differences in whitespace do not lead to failure.
3063 ac_old_val_w=`echo x $ac_old_val`
3064 ac_new_val_w=`echo x $ac_new_val`
3065 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3067 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3068 ac_cache_corrupted=:
3069 else
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3071 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3072 eval $ac_var=\$ac_old_val
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3075 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3077 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3078 fi;;
3079 esac
3080 # Pass precious variables to config.status.
3081 if test "$ac_new_set" = set; then
3082 case $ac_new_val in
3083 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3084 *) ac_arg=$ac_var=$ac_new_val ;;
3085 esac
3086 case " $ac_configure_args " in
3087 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3088 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3089 esac
3091 done
3092 if $ac_cache_corrupted; then
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3094 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3096 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3097 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3099 ## -------------------- ##
3100 ## Main body of script. ##
3101 ## -------------------- ##
3103 ac_ext=c
3104 ac_cpp='$CPP $CPPFLAGS'
3105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3111 ac_config_headers="$ac_config_headers include/config.h"
3113 ac_aux_dir=
3114 for ac_dir in tools "$srcdir"/tools; do
3115 if test -f "$ac_dir/install-sh"; then
3116 ac_aux_dir=$ac_dir
3117 ac_install_sh="$ac_aux_dir/install-sh -c"
3118 break
3119 elif test -f "$ac_dir/install.sh"; then
3120 ac_aux_dir=$ac_dir
3121 ac_install_sh="$ac_aux_dir/install.sh -c"
3122 break
3123 elif test -f "$ac_dir/shtool"; then
3124 ac_aux_dir=$ac_dir
3125 ac_install_sh="$ac_aux_dir/shtool install -c"
3126 break
3128 done
3129 if test -z "$ac_aux_dir"; then
3130 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3133 # These three variables are undocumented and unsupported,
3134 # and are intended to be withdrawn in a future Autoconf release.
3135 # They can cause serious problems if a builder's source tree is in a directory
3136 # whose full name contains unusual characters.
3137 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3138 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3139 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3143 libwine_version="1.0"
3147 # Check whether --enable-win16 was given.
3148 if test "${enable_win16+set}" = set; then :
3149 enableval=$enable_win16;
3152 # Check whether --enable-win64 was given.
3153 if test "${enable_win64+set}" = set; then :
3154 enableval=$enable_win64;
3157 # Check whether --enable-tests was given.
3158 if test "${enable_tests+set}" = set; then :
3159 enableval=$enable_tests;
3162 # Check whether --enable-maintainer-mode was given.
3163 if test "${enable_maintainer_mode+set}" = set; then :
3164 enableval=$enable_maintainer_mode;
3169 # Check whether --with-alsa was given.
3170 if test "${with_alsa+set}" = set; then :
3171 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3175 # Check whether --with-capi was given.
3176 if test "${with_capi+set}" = set; then :
3177 withval=$with_capi;
3181 # Check whether --with-cms was given.
3182 if test "${with_cms+set}" = set; then :
3183 withval=$with_cms;
3187 # Check whether --with-coreaudio was given.
3188 if test "${with_coreaudio+set}" = set; then :
3189 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3193 # Check whether --with-cups was given.
3194 if test "${with_cups+set}" = set; then :
3195 withval=$with_cups;
3199 # Check whether --with-curses was given.
3200 if test "${with_curses+set}" = set; then :
3201 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3205 # Check whether --with-dbus was given.
3206 if test "${with_dbus+set}" = set; then :
3207 withval=$with_dbus;
3211 # Check whether --with-fontconfig was given.
3212 if test "${with_fontconfig+set}" = set; then :
3213 withval=$with_fontconfig;
3217 # Check whether --with-freetype was given.
3218 if test "${with_freetype+set}" = set; then :
3219 withval=$with_freetype;
3223 # Check whether --with-gettext was given.
3224 if test "${with_gettext+set}" = set; then :
3225 withval=$with_gettext;
3229 # Check whether --with-gettextpo was given.
3230 if test "${with_gettextpo+set}" = set; then :
3231 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3235 # Check whether --with-gphoto was given.
3236 if test "${with_gphoto+set}" = set; then :
3237 withval=$with_gphoto;
3241 # Check whether --with-glu was given.
3242 if test "${with_glu+set}" = set; then :
3243 withval=$with_glu;
3247 # Check whether --with-gnutls was given.
3248 if test "${with_gnutls+set}" = set; then :
3249 withval=$with_gnutls;
3253 # Check whether --with-gsm was given.
3254 if test "${with_gsm+set}" = set; then :
3255 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3259 # Check whether --with-gstreamer was given.
3260 if test "${with_gstreamer+set}" = set; then :
3261 withval=$with_gstreamer;
3265 # Check whether --with-hal was given.
3266 if test "${with_hal+set}" = set; then :
3267 withval=$with_hal;
3271 # Check whether --with-jpeg was given.
3272 if test "${with_jpeg+set}" = set; then :
3273 withval=$with_jpeg;
3277 # Check whether --with-ldap was given.
3278 if test "${with_ldap+set}" = set; then :
3279 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3283 # Check whether --with-mpg123 was given.
3284 if test "${with_mpg123+set}" = set; then :
3285 withval=$with_mpg123;
3289 # Check whether --with-netapi was given.
3290 if test "${with_netapi+set}" = set; then :
3291 withval=$with_netapi;
3295 # Check whether --with-openal was given.
3296 if test "${with_openal+set}" = set; then :
3297 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3301 # Check whether --with-opencl was given.
3302 if test "${with_opencl+set}" = set; then :
3303 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3307 # Check whether --with-opengl was given.
3308 if test "${with_opengl+set}" = set; then :
3309 withval=$with_opengl;
3313 # Check whether --with-osmesa was given.
3314 if test "${with_osmesa+set}" = set; then :
3315 withval=$with_osmesa;
3319 # Check whether --with-oss was given.
3320 if test "${with_oss+set}" = set; then :
3321 withval=$with_oss;
3325 # Check whether --with-png was given.
3326 if test "${with_png+set}" = set; then :
3327 withval=$with_png;
3331 # Check whether --with-pthread was given.
3332 if test "${with_pthread+set}" = set; then :
3333 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3337 # Check whether --with-sane was given.
3338 if test "${with_sane+set}" = set; then :
3339 withval=$with_sane;
3343 # Check whether --with-tiff was given.
3344 if test "${with_tiff+set}" = set; then :
3345 withval=$with_tiff;
3349 # Check whether --with-v4l was given.
3350 if test "${with_v4l+set}" = set; then :
3351 withval=$with_v4l;
3355 # Check whether --with-xcomposite was given.
3356 if test "${with_xcomposite+set}" = set; then :
3357 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3361 # Check whether --with-xcursor was given.
3362 if test "${with_xcursor+set}" = set; then :
3363 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3367 # Check whether --with-xinerama was given.
3368 if test "${with_xinerama+set}" = set; then :
3369 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3373 # Check whether --with-xinput was given.
3374 if test "${with_xinput+set}" = set; then :
3375 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3379 # Check whether --with-xinput2 was given.
3380 if test "${with_xinput2+set}" = set; then :
3381 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3385 # Check whether --with-xml was given.
3386 if test "${with_xml+set}" = set; then :
3387 withval=$with_xml;
3391 # Check whether --with-xrandr was given.
3392 if test "${with_xrandr+set}" = set; then :
3393 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3397 # Check whether --with-xrender was given.
3398 if test "${with_xrender+set}" = set; then :
3399 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3403 # Check whether --with-xshape was given.
3404 if test "${with_xshape+set}" = set; then :
3405 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3409 # Check whether --with-xshm was given.
3410 if test "${with_xshm+set}" = set; then :
3411 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3415 # Check whether --with-xslt was given.
3416 if test "${with_xslt+set}" = set; then :
3417 withval=$with_xslt;
3421 # Check whether --with-xxf86vm was given.
3422 if test "${with_xxf86vm+set}" = set; then :
3423 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
3427 # Check whether --with-zlib was given.
3428 if test "${with_zlib+set}" = set; then :
3429 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3434 # Check whether --with-wine-tools was given.
3435 if test "${with_wine_tools+set}" = set; then :
3436 withval=$with_wine_tools;
3440 # Check whether --with-wine64 was given.
3441 if test "${with_wine64+set}" = set; then :
3442 withval=$with_wine64;
3446 # Make sure we can run config.sub.
3447 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3448 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3451 $as_echo_n "checking build system type... " >&6; }
3452 if ${ac_cv_build+:} false; then :
3453 $as_echo_n "(cached) " >&6
3454 else
3455 ac_build_alias=$build_alias
3456 test "x$ac_build_alias" = x &&
3457 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3458 test "x$ac_build_alias" = x &&
3459 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3460 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3461 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3465 $as_echo "$ac_cv_build" >&6; }
3466 case $ac_cv_build in
3467 *-*-*) ;;
3468 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3469 esac
3470 build=$ac_cv_build
3471 ac_save_IFS=$IFS; IFS='-'
3472 set x $ac_cv_build
3473 shift
3474 build_cpu=$1
3475 build_vendor=$2
3476 shift; shift
3477 # Remember, the first character of IFS is used to create $*,
3478 # except with old shells:
3479 build_os=$*
3480 IFS=$ac_save_IFS
3481 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3485 $as_echo_n "checking host system type... " >&6; }
3486 if ${ac_cv_host+:} false; then :
3487 $as_echo_n "(cached) " >&6
3488 else
3489 if test "x$host_alias" = x; then
3490 ac_cv_host=$ac_cv_build
3491 else
3492 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3493 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3498 $as_echo "$ac_cv_host" >&6; }
3499 case $ac_cv_host in
3500 *-*-*) ;;
3501 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3502 esac
3503 host=$ac_cv_host
3504 ac_save_IFS=$IFS; IFS='-'
3505 set x $ac_cv_host
3506 shift
3507 host_cpu=$1
3508 host_vendor=$2
3509 shift; shift
3510 # Remember, the first character of IFS is used to create $*,
3511 # except with old shells:
3512 host_os=$*
3513 IFS=$ac_save_IFS
3514 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3518 case "$srcdir" in
3519 .) ;;
3520 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3521 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3522 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3523 fi ;;
3524 esac
3527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3528 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3529 set x ${MAKE-make}
3530 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3531 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3532 $as_echo_n "(cached) " >&6
3533 else
3534 cat >conftest.make <<\_ACEOF
3535 SHELL = /bin/sh
3536 all:
3537 @echo '@@@%%%=$(MAKE)=@@@%%%'
3538 _ACEOF
3539 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3540 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3541 *@@@%%%=?*=@@@%%%*)
3542 eval ac_cv_prog_make_${ac_make}_set=yes;;
3544 eval ac_cv_prog_make_${ac_make}_set=no;;
3545 esac
3546 rm -f conftest.make
3548 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3550 $as_echo "yes" >&6; }
3551 SET_MAKE=
3552 else
3553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3554 $as_echo "no" >&6; }
3555 SET_MAKE="MAKE=${MAKE-make}"
3558 ac_ext=c
3559 ac_cpp='$CPP $CPPFLAGS'
3560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3563 if test -n "$ac_tool_prefix"; then
3564 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3565 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3567 $as_echo_n "checking for $ac_word... " >&6; }
3568 if ${ac_cv_prog_CC+:} false; then :
3569 $as_echo_n "(cached) " >&6
3570 else
3571 if test -n "$CC"; then
3572 ac_cv_prog_CC="$CC" # Let the user override the test.
3573 else
3574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3575 for as_dir in $PATH
3577 IFS=$as_save_IFS
3578 test -z "$as_dir" && as_dir=.
3579 for ac_exec_ext in '' $ac_executable_extensions; do
3580 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3581 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3582 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3583 break 2
3585 done
3586 done
3587 IFS=$as_save_IFS
3591 CC=$ac_cv_prog_CC
3592 if test -n "$CC"; then
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3594 $as_echo "$CC" >&6; }
3595 else
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3597 $as_echo "no" >&6; }
3602 if test -z "$ac_cv_prog_CC"; then
3603 ac_ct_CC=$CC
3604 # Extract the first word of "gcc", so it can be a program name with args.
3605 set dummy gcc; ac_word=$2
3606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3607 $as_echo_n "checking for $ac_word... " >&6; }
3608 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3609 $as_echo_n "(cached) " >&6
3610 else
3611 if test -n "$ac_ct_CC"; then
3612 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3613 else
3614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3615 for as_dir in $PATH
3617 IFS=$as_save_IFS
3618 test -z "$as_dir" && as_dir=.
3619 for ac_exec_ext in '' $ac_executable_extensions; do
3620 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3621 ac_cv_prog_ac_ct_CC="gcc"
3622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3623 break 2
3625 done
3626 done
3627 IFS=$as_save_IFS
3631 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3632 if test -n "$ac_ct_CC"; then
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3634 $as_echo "$ac_ct_CC" >&6; }
3635 else
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3637 $as_echo "no" >&6; }
3640 if test "x$ac_ct_CC" = x; then
3641 CC=""
3642 else
3643 case $cross_compiling:$ac_tool_warned in
3644 yes:)
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3646 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3647 ac_tool_warned=yes ;;
3648 esac
3649 CC=$ac_ct_CC
3651 else
3652 CC="$ac_cv_prog_CC"
3655 if test -z "$CC"; then
3656 if test -n "$ac_tool_prefix"; then
3657 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3658 set dummy ${ac_tool_prefix}cc; ac_word=$2
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3660 $as_echo_n "checking for $ac_word... " >&6; }
3661 if ${ac_cv_prog_CC+:} false; then :
3662 $as_echo_n "(cached) " >&6
3663 else
3664 if test -n "$CC"; then
3665 ac_cv_prog_CC="$CC" # Let the user override the test.
3666 else
3667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3668 for as_dir in $PATH
3670 IFS=$as_save_IFS
3671 test -z "$as_dir" && as_dir=.
3672 for ac_exec_ext in '' $ac_executable_extensions; do
3673 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3674 ac_cv_prog_CC="${ac_tool_prefix}cc"
3675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3676 break 2
3678 done
3679 done
3680 IFS=$as_save_IFS
3684 CC=$ac_cv_prog_CC
3685 if test -n "$CC"; then
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3687 $as_echo "$CC" >&6; }
3688 else
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3690 $as_echo "no" >&6; }
3696 if test -z "$CC"; then
3697 # Extract the first word of "cc", so it can be a program name with args.
3698 set dummy cc; ac_word=$2
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3700 $as_echo_n "checking for $ac_word... " >&6; }
3701 if ${ac_cv_prog_CC+:} false; then :
3702 $as_echo_n "(cached) " >&6
3703 else
3704 if test -n "$CC"; then
3705 ac_cv_prog_CC="$CC" # Let the user override the test.
3706 else
3707 ac_prog_rejected=no
3708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3709 for as_dir in $PATH
3711 IFS=$as_save_IFS
3712 test -z "$as_dir" && as_dir=.
3713 for ac_exec_ext in '' $ac_executable_extensions; do
3714 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3715 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3716 ac_prog_rejected=yes
3717 continue
3719 ac_cv_prog_CC="cc"
3720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3721 break 2
3723 done
3724 done
3725 IFS=$as_save_IFS
3727 if test $ac_prog_rejected = yes; then
3728 # We found a bogon in the path, so make sure we never use it.
3729 set dummy $ac_cv_prog_CC
3730 shift
3731 if test $# != 0; then
3732 # We chose a different compiler from the bogus one.
3733 # However, it has the same basename, so the bogon will be chosen
3734 # first if we set CC to just the basename; use the full file name.
3735 shift
3736 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3741 CC=$ac_cv_prog_CC
3742 if test -n "$CC"; then
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3744 $as_echo "$CC" >&6; }
3745 else
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3747 $as_echo "no" >&6; }
3752 if test -z "$CC"; then
3753 if test -n "$ac_tool_prefix"; then
3754 for ac_prog in cl.exe
3756 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3757 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3759 $as_echo_n "checking for $ac_word... " >&6; }
3760 if ${ac_cv_prog_CC+:} false; then :
3761 $as_echo_n "(cached) " >&6
3762 else
3763 if test -n "$CC"; then
3764 ac_cv_prog_CC="$CC" # Let the user override the test.
3765 else
3766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3767 for as_dir in $PATH
3769 IFS=$as_save_IFS
3770 test -z "$as_dir" && as_dir=.
3771 for ac_exec_ext in '' $ac_executable_extensions; do
3772 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3773 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3774 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3775 break 2
3777 done
3778 done
3779 IFS=$as_save_IFS
3783 CC=$ac_cv_prog_CC
3784 if test -n "$CC"; then
3785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3786 $as_echo "$CC" >&6; }
3787 else
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3789 $as_echo "no" >&6; }
3793 test -n "$CC" && break
3794 done
3796 if test -z "$CC"; then
3797 ac_ct_CC=$CC
3798 for ac_prog in cl.exe
3800 # Extract the first word of "$ac_prog", so it can be a program name with args.
3801 set dummy $ac_prog; ac_word=$2
3802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3803 $as_echo_n "checking for $ac_word... " >&6; }
3804 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3805 $as_echo_n "(cached) " >&6
3806 else
3807 if test -n "$ac_ct_CC"; then
3808 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3809 else
3810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3811 for as_dir in $PATH
3813 IFS=$as_save_IFS
3814 test -z "$as_dir" && as_dir=.
3815 for ac_exec_ext in '' $ac_executable_extensions; do
3816 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3817 ac_cv_prog_ac_ct_CC="$ac_prog"
3818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3819 break 2
3821 done
3822 done
3823 IFS=$as_save_IFS
3827 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3828 if test -n "$ac_ct_CC"; then
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3830 $as_echo "$ac_ct_CC" >&6; }
3831 else
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3833 $as_echo "no" >&6; }
3837 test -n "$ac_ct_CC" && break
3838 done
3840 if test "x$ac_ct_CC" = x; then
3841 CC=""
3842 else
3843 case $cross_compiling:$ac_tool_warned in
3844 yes:)
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3846 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3847 ac_tool_warned=yes ;;
3848 esac
3849 CC=$ac_ct_CC
3856 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3857 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3858 as_fn_error $? "no acceptable C compiler found in \$PATH
3859 See \`config.log' for more details" "$LINENO" 5; }
3861 # Provide some information about the compiler.
3862 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3863 set X $ac_compile
3864 ac_compiler=$2
3865 for ac_option in --version -v -V -qversion; do
3866 { { ac_try="$ac_compiler $ac_option >&5"
3867 case "(($ac_try" in
3868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3869 *) ac_try_echo=$ac_try;;
3870 esac
3871 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3872 $as_echo "$ac_try_echo"; } >&5
3873 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3874 ac_status=$?
3875 if test -s conftest.err; then
3876 sed '10a\
3877 ... rest of stderr output deleted ...
3878 10q' conftest.err >conftest.er1
3879 cat conftest.er1 >&5
3881 rm -f conftest.er1 conftest.err
3882 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3883 test $ac_status = 0; }
3884 done
3886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3887 /* end confdefs.h. */
3890 main ()
3894 return 0;
3896 _ACEOF
3897 ac_clean_files_save=$ac_clean_files
3898 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3899 # Try to create an executable without -o first, disregard a.out.
3900 # It will help us diagnose broken compilers, and finding out an intuition
3901 # of exeext.
3902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3903 $as_echo_n "checking whether the C compiler works... " >&6; }
3904 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3906 # The possible output files:
3907 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3909 ac_rmfiles=
3910 for ac_file in $ac_files
3912 case $ac_file in
3913 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3914 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3915 esac
3916 done
3917 rm -f $ac_rmfiles
3919 if { { ac_try="$ac_link_default"
3920 case "(($ac_try" in
3921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3922 *) ac_try_echo=$ac_try;;
3923 esac
3924 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3925 $as_echo "$ac_try_echo"; } >&5
3926 (eval "$ac_link_default") 2>&5
3927 ac_status=$?
3928 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3929 test $ac_status = 0; }; then :
3930 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3931 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3932 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3933 # so that the user can short-circuit this test for compilers unknown to
3934 # Autoconf.
3935 for ac_file in $ac_files ''
3937 test -f "$ac_file" || continue
3938 case $ac_file in
3939 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3941 [ab].out )
3942 # We found the default executable, but exeext='' is most
3943 # certainly right.
3944 break;;
3945 *.* )
3946 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3947 then :; else
3948 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3950 # We set ac_cv_exeext here because the later test for it is not
3951 # safe: cross compilers may not add the suffix if given an `-o'
3952 # argument, so we may need to know it at that point already.
3953 # Even if this section looks crufty: it has the advantage of
3954 # actually working.
3955 break;;
3957 break;;
3958 esac
3959 done
3960 test "$ac_cv_exeext" = no && ac_cv_exeext=
3962 else
3963 ac_file=''
3965 if test -z "$ac_file"; then :
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3967 $as_echo "no" >&6; }
3968 $as_echo "$as_me: failed program was:" >&5
3969 sed 's/^/| /' conftest.$ac_ext >&5
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 77 "C compiler cannot create executables
3974 See \`config.log' for more details" "$LINENO" 5; }
3975 else
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3977 $as_echo "yes" >&6; }
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3980 $as_echo_n "checking for C compiler default output file name... " >&6; }
3981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3982 $as_echo "$ac_file" >&6; }
3983 ac_exeext=$ac_cv_exeext
3985 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3986 ac_clean_files=$ac_clean_files_save
3987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3988 $as_echo_n "checking for suffix of executables... " >&6; }
3989 if { { ac_try="$ac_link"
3990 case "(($ac_try" in
3991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3992 *) ac_try_echo=$ac_try;;
3993 esac
3994 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3995 $as_echo "$ac_try_echo"; } >&5
3996 (eval "$ac_link") 2>&5
3997 ac_status=$?
3998 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3999 test $ac_status = 0; }; then :
4000 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4001 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4002 # work properly (i.e., refer to `conftest.exe'), while it won't with
4003 # `rm'.
4004 for ac_file in conftest.exe conftest conftest.*; do
4005 test -f "$ac_file" || continue
4006 case $ac_file in
4007 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4008 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4009 break;;
4010 * ) break;;
4011 esac
4012 done
4013 else
4014 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4015 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4016 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4017 See \`config.log' for more details" "$LINENO" 5; }
4019 rm -f conftest conftest$ac_cv_exeext
4020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4021 $as_echo "$ac_cv_exeext" >&6; }
4023 rm -f conftest.$ac_ext
4024 EXEEXT=$ac_cv_exeext
4025 ac_exeext=$EXEEXT
4026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4027 /* end confdefs.h. */
4028 #include <stdio.h>
4030 main ()
4032 FILE *f = fopen ("conftest.out", "w");
4033 return ferror (f) || fclose (f) != 0;
4036 return 0;
4038 _ACEOF
4039 ac_clean_files="$ac_clean_files conftest.out"
4040 # Check that the compiler produces executables we can run. If not, either
4041 # the compiler is broken, or we cross compile.
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4043 $as_echo_n "checking whether we are cross compiling... " >&6; }
4044 if test "$cross_compiling" != yes; then
4045 { { ac_try="$ac_link"
4046 case "(($ac_try" in
4047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4048 *) ac_try_echo=$ac_try;;
4049 esac
4050 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4051 $as_echo "$ac_try_echo"; } >&5
4052 (eval "$ac_link") 2>&5
4053 ac_status=$?
4054 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4055 test $ac_status = 0; }
4056 if { ac_try='./conftest$ac_cv_exeext'
4057 { { case "(($ac_try" in
4058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4059 *) ac_try_echo=$ac_try;;
4060 esac
4061 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4062 $as_echo "$ac_try_echo"; } >&5
4063 (eval "$ac_try") 2>&5
4064 ac_status=$?
4065 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4066 test $ac_status = 0; }; }; then
4067 cross_compiling=no
4068 else
4069 if test "$cross_compiling" = maybe; then
4070 cross_compiling=yes
4071 else
4072 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4073 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4074 as_fn_error $? "cannot run C compiled programs.
4075 If you meant to cross compile, use \`--host'.
4076 See \`config.log' for more details" "$LINENO" 5; }
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4081 $as_echo "$cross_compiling" >&6; }
4083 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4084 ac_clean_files=$ac_clean_files_save
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4086 $as_echo_n "checking for suffix of object files... " >&6; }
4087 if ${ac_cv_objext+:} false; then :
4088 $as_echo_n "(cached) " >&6
4089 else
4090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4091 /* end confdefs.h. */
4094 main ()
4098 return 0;
4100 _ACEOF
4101 rm -f conftest.o conftest.obj
4102 if { { ac_try="$ac_compile"
4103 case "(($ac_try" in
4104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4105 *) ac_try_echo=$ac_try;;
4106 esac
4107 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4108 $as_echo "$ac_try_echo"; } >&5
4109 (eval "$ac_compile") 2>&5
4110 ac_status=$?
4111 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4112 test $ac_status = 0; }; then :
4113 for ac_file in conftest.o conftest.obj conftest.*; do
4114 test -f "$ac_file" || continue;
4115 case $ac_file in
4116 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4117 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4118 break;;
4119 esac
4120 done
4121 else
4122 $as_echo "$as_me: failed program was:" >&5
4123 sed 's/^/| /' conftest.$ac_ext >&5
4125 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4126 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4127 as_fn_error $? "cannot compute suffix of object files: cannot compile
4128 See \`config.log' for more details" "$LINENO" 5; }
4130 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4133 $as_echo "$ac_cv_objext" >&6; }
4134 OBJEXT=$ac_cv_objext
4135 ac_objext=$OBJEXT
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4137 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4138 if ${ac_cv_c_compiler_gnu+:} false; then :
4139 $as_echo_n "(cached) " >&6
4140 else
4141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4142 /* end confdefs.h. */
4145 main ()
4147 #ifndef __GNUC__
4148 choke me
4149 #endif
4152 return 0;
4154 _ACEOF
4155 if ac_fn_c_try_compile "$LINENO"; then :
4156 ac_compiler_gnu=yes
4157 else
4158 ac_compiler_gnu=no
4160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4161 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4165 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4166 if test $ac_compiler_gnu = yes; then
4167 GCC=yes
4168 else
4169 GCC=
4171 ac_test_CFLAGS=${CFLAGS+set}
4172 ac_save_CFLAGS=$CFLAGS
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4174 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4175 if ${ac_cv_prog_cc_g+:} false; then :
4176 $as_echo_n "(cached) " >&6
4177 else
4178 ac_save_c_werror_flag=$ac_c_werror_flag
4179 ac_c_werror_flag=yes
4180 ac_cv_prog_cc_g=no
4181 CFLAGS="-g"
4182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4183 /* end confdefs.h. */
4186 main ()
4190 return 0;
4192 _ACEOF
4193 if ac_fn_c_try_compile "$LINENO"; then :
4194 ac_cv_prog_cc_g=yes
4195 else
4196 CFLAGS=""
4197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4198 /* end confdefs.h. */
4201 main ()
4205 return 0;
4207 _ACEOF
4208 if ac_fn_c_try_compile "$LINENO"; then :
4210 else
4211 ac_c_werror_flag=$ac_save_c_werror_flag
4212 CFLAGS="-g"
4213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4214 /* end confdefs.h. */
4217 main ()
4221 return 0;
4223 _ACEOF
4224 if ac_fn_c_try_compile "$LINENO"; then :
4225 ac_cv_prog_cc_g=yes
4227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4232 ac_c_werror_flag=$ac_save_c_werror_flag
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4235 $as_echo "$ac_cv_prog_cc_g" >&6; }
4236 if test "$ac_test_CFLAGS" = set; then
4237 CFLAGS=$ac_save_CFLAGS
4238 elif test $ac_cv_prog_cc_g = yes; then
4239 if test "$GCC" = yes; then
4240 CFLAGS="-g -O2"
4241 else
4242 CFLAGS="-g"
4244 else
4245 if test "$GCC" = yes; then
4246 CFLAGS="-O2"
4247 else
4248 CFLAGS=
4251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4252 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4253 if ${ac_cv_prog_cc_c89+:} false; then :
4254 $as_echo_n "(cached) " >&6
4255 else
4256 ac_cv_prog_cc_c89=no
4257 ac_save_CC=$CC
4258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4259 /* end confdefs.h. */
4260 #include <stdarg.h>
4261 #include <stdio.h>
4262 struct stat;
4263 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4264 struct buf { int x; };
4265 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4266 static char *e (p, i)
4267 char **p;
4268 int i;
4270 return p[i];
4272 static char *f (char * (*g) (char **, int), char **p, ...)
4274 char *s;
4275 va_list v;
4276 va_start (v,p);
4277 s = g (p, va_arg (v,int));
4278 va_end (v);
4279 return s;
4282 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4283 function prototypes and stuff, but not '\xHH' hex character constants.
4284 These don't provoke an error unfortunately, instead are silently treated
4285 as 'x'. The following induces an error, until -std is added to get
4286 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4287 array size at least. It's necessary to write '\x00'==0 to get something
4288 that's true only with -std. */
4289 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4291 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4292 inside strings and character constants. */
4293 #define FOO(x) 'x'
4294 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4296 int test (int i, double x);
4297 struct s1 {int (*f) (int a);};
4298 struct s2 {int (*f) (double a);};
4299 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4300 int argc;
4301 char **argv;
4303 main ()
4305 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4307 return 0;
4309 _ACEOF
4310 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4311 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4313 CC="$ac_save_CC $ac_arg"
4314 if ac_fn_c_try_compile "$LINENO"; then :
4315 ac_cv_prog_cc_c89=$ac_arg
4317 rm -f core conftest.err conftest.$ac_objext
4318 test "x$ac_cv_prog_cc_c89" != "xno" && break
4319 done
4320 rm -f conftest.$ac_ext
4321 CC=$ac_save_CC
4324 # AC_CACHE_VAL
4325 case "x$ac_cv_prog_cc_c89" in
4327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4328 $as_echo "none needed" >&6; } ;;
4329 xno)
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4331 $as_echo "unsupported" >&6; } ;;
4333 CC="$CC $ac_cv_prog_cc_c89"
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4335 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4336 esac
4337 if test "x$ac_cv_prog_cc_c89" != xno; then :
4341 ac_ext=c
4342 ac_cpp='$CPP $CPPFLAGS'
4343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4347 ac_ext=cpp
4348 ac_cpp='$CXXCPP $CPPFLAGS'
4349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4352 if test -z "$CXX"; then
4353 if test -n "$CCC"; then
4354 CXX=$CCC
4355 else
4356 if test -n "$ac_tool_prefix"; then
4357 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4359 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4360 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4362 $as_echo_n "checking for $ac_word... " >&6; }
4363 if ${ac_cv_prog_CXX+:} false; then :
4364 $as_echo_n "(cached) " >&6
4365 else
4366 if test -n "$CXX"; then
4367 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4368 else
4369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4370 for as_dir in $PATH
4372 IFS=$as_save_IFS
4373 test -z "$as_dir" && as_dir=.
4374 for ac_exec_ext in '' $ac_executable_extensions; do
4375 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4376 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4377 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4378 break 2
4380 done
4381 done
4382 IFS=$as_save_IFS
4386 CXX=$ac_cv_prog_CXX
4387 if test -n "$CXX"; then
4388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4389 $as_echo "$CXX" >&6; }
4390 else
4391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4392 $as_echo "no" >&6; }
4396 test -n "$CXX" && break
4397 done
4399 if test -z "$CXX"; then
4400 ac_ct_CXX=$CXX
4401 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4403 # Extract the first word of "$ac_prog", so it can be a program name with args.
4404 set dummy $ac_prog; ac_word=$2
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4406 $as_echo_n "checking for $ac_word... " >&6; }
4407 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4408 $as_echo_n "(cached) " >&6
4409 else
4410 if test -n "$ac_ct_CXX"; then
4411 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4412 else
4413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4414 for as_dir in $PATH
4416 IFS=$as_save_IFS
4417 test -z "$as_dir" && as_dir=.
4418 for ac_exec_ext in '' $ac_executable_extensions; do
4419 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4420 ac_cv_prog_ac_ct_CXX="$ac_prog"
4421 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4422 break 2
4424 done
4425 done
4426 IFS=$as_save_IFS
4430 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4431 if test -n "$ac_ct_CXX"; then
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4433 $as_echo "$ac_ct_CXX" >&6; }
4434 else
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4436 $as_echo "no" >&6; }
4440 test -n "$ac_ct_CXX" && break
4441 done
4443 if test "x$ac_ct_CXX" = x; then
4444 CXX="g++"
4445 else
4446 case $cross_compiling:$ac_tool_warned in
4447 yes:)
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4449 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4450 ac_tool_warned=yes ;;
4451 esac
4452 CXX=$ac_ct_CXX
4458 # Provide some information about the compiler.
4459 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4460 set X $ac_compile
4461 ac_compiler=$2
4462 for ac_option in --version -v -V -qversion; do
4463 { { ac_try="$ac_compiler $ac_option >&5"
4464 case "(($ac_try" in
4465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4466 *) ac_try_echo=$ac_try;;
4467 esac
4468 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4469 $as_echo "$ac_try_echo"; } >&5
4470 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4471 ac_status=$?
4472 if test -s conftest.err; then
4473 sed '10a\
4474 ... rest of stderr output deleted ...
4475 10q' conftest.err >conftest.er1
4476 cat conftest.er1 >&5
4478 rm -f conftest.er1 conftest.err
4479 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4480 test $ac_status = 0; }
4481 done
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4484 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4485 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4486 $as_echo_n "(cached) " >&6
4487 else
4488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4489 /* end confdefs.h. */
4492 main ()
4494 #ifndef __GNUC__
4495 choke me
4496 #endif
4499 return 0;
4501 _ACEOF
4502 if ac_fn_cxx_try_compile "$LINENO"; then :
4503 ac_compiler_gnu=yes
4504 else
4505 ac_compiler_gnu=no
4507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4508 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4512 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4513 if test $ac_compiler_gnu = yes; then
4514 GXX=yes
4515 else
4516 GXX=
4518 ac_test_CXXFLAGS=${CXXFLAGS+set}
4519 ac_save_CXXFLAGS=$CXXFLAGS
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4521 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4522 if ${ac_cv_prog_cxx_g+:} false; then :
4523 $as_echo_n "(cached) " >&6
4524 else
4525 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4526 ac_cxx_werror_flag=yes
4527 ac_cv_prog_cxx_g=no
4528 CXXFLAGS="-g"
4529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4530 /* end confdefs.h. */
4533 main ()
4537 return 0;
4539 _ACEOF
4540 if ac_fn_cxx_try_compile "$LINENO"; then :
4541 ac_cv_prog_cxx_g=yes
4542 else
4543 CXXFLAGS=""
4544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4545 /* end confdefs.h. */
4548 main ()
4552 return 0;
4554 _ACEOF
4555 if ac_fn_cxx_try_compile "$LINENO"; then :
4557 else
4558 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4559 CXXFLAGS="-g"
4560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4561 /* end confdefs.h. */
4564 main ()
4568 return 0;
4570 _ACEOF
4571 if ac_fn_cxx_try_compile "$LINENO"; then :
4572 ac_cv_prog_cxx_g=yes
4574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4579 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4582 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4583 if test "$ac_test_CXXFLAGS" = set; then
4584 CXXFLAGS=$ac_save_CXXFLAGS
4585 elif test $ac_cv_prog_cxx_g = yes; then
4586 if test "$GXX" = yes; then
4587 CXXFLAGS="-g -O2"
4588 else
4589 CXXFLAGS="-g"
4591 else
4592 if test "$GXX" = yes; then
4593 CXXFLAGS="-O2"
4594 else
4595 CXXFLAGS=
4598 ac_ext=c
4599 ac_cpp='$CPP $CPPFLAGS'
4600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4604 if test -n "$ac_tool_prefix"; then
4605 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4606 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4608 $as_echo_n "checking for $ac_word... " >&6; }
4609 if ${ac_cv_prog_CPPBIN+:} false; then :
4610 $as_echo_n "(cached) " >&6
4611 else
4612 if test -n "$CPPBIN"; then
4613 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4614 else
4615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4616 for as_dir in $PATH
4618 IFS=$as_save_IFS
4619 test -z "$as_dir" && as_dir=.
4620 for ac_exec_ext in '' $ac_executable_extensions; do
4621 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4622 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4623 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4624 break 2
4626 done
4627 done
4628 IFS=$as_save_IFS
4632 CPPBIN=$ac_cv_prog_CPPBIN
4633 if test -n "$CPPBIN"; then
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4635 $as_echo "$CPPBIN" >&6; }
4636 else
4637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4638 $as_echo "no" >&6; }
4643 if test -z "$ac_cv_prog_CPPBIN"; then
4644 ac_ct_CPPBIN=$CPPBIN
4645 # Extract the first word of "cpp", so it can be a program name with args.
4646 set dummy cpp; ac_word=$2
4647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4648 $as_echo_n "checking for $ac_word... " >&6; }
4649 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4650 $as_echo_n "(cached) " >&6
4651 else
4652 if test -n "$ac_ct_CPPBIN"; then
4653 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4654 else
4655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4656 for as_dir in $PATH
4658 IFS=$as_save_IFS
4659 test -z "$as_dir" && as_dir=.
4660 for ac_exec_ext in '' $ac_executable_extensions; do
4661 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4662 ac_cv_prog_ac_ct_CPPBIN="cpp"
4663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4664 break 2
4666 done
4667 done
4668 IFS=$as_save_IFS
4672 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4673 if test -n "$ac_ct_CPPBIN"; then
4674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4675 $as_echo "$ac_ct_CPPBIN" >&6; }
4676 else
4677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4678 $as_echo "no" >&6; }
4681 if test "x$ac_ct_CPPBIN" = x; then
4682 CPPBIN="cpp"
4683 else
4684 case $cross_compiling:$ac_tool_warned in
4685 yes:)
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4687 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4688 ac_tool_warned=yes ;;
4689 esac
4690 CPPBIN=$ac_ct_CPPBIN
4692 else
4693 CPPBIN="$ac_cv_prog_CPPBIN"
4697 cat >>confdefs.h <<_ACEOF
4698 #define EXEEXT "$ac_exeext"
4699 _ACEOF
4702 case $host in
4703 *-darwin*)
4704 if test "x$enable_win64" = "xyes"
4705 then
4706 CC="$CC -m64"
4707 CXX="$CXX -m64"
4708 host_cpu="x86_64"
4709 notice_platform="64-bit "
4710 TARGETFLAGS="-m64"
4712 else
4713 CC="$CC -m32"
4714 CXX="$CXX -m32"
4715 host_cpu="i386"
4716 notice_platform="32-bit "
4717 TARGETFLAGS="-m32"
4719 enable_win16=${enable_win16:-yes}
4721 with_fontconfig=${with_fontconfig:-no}
4723 x86_64*)
4724 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4725 then
4726 CC="$CC -m32"
4727 CXX="$CXX -m32"
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4729 $as_echo_n "checking whether $CC works... " >&6; }
4731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4732 /* end confdefs.h. */
4735 main ()
4739 return 0;
4741 _ACEOF
4742 if ac_fn_c_try_link "$LINENO"; then :
4743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4744 $as_echo "yes" >&6; }
4745 else
4746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4747 $as_echo "no" >&6; }
4748 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4750 rm -f core conftest.err conftest.$ac_objext \
4751 conftest$ac_exeext conftest.$ac_ext
4752 host_cpu="i386"
4753 notice_platform="32-bit "
4754 TARGETFLAGS="-m32"
4756 enable_win16=${enable_win16:-yes}
4757 else
4758 if test "x${GCC}" = "xyes"
4759 then
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4761 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4763 /* end confdefs.h. */
4764 #include <stdarg.h>
4766 main ()
4768 void func(__builtin_ms_va_list *args);
4770 return 0;
4772 _ACEOF
4773 if ac_fn_c_try_compile "$LINENO"; then :
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4775 $as_echo "yes" >&6; }
4776 else
4777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4778 $as_echo "no" >&6; }
4779 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4783 TARGETFLAGS="-m64"
4787 arm*)
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4789 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4791 /* end confdefs.h. */
4792 int ac_test(int i) { return i; }
4794 main ()
4796 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4798 return 0;
4800 _ACEOF
4801 if ac_fn_c_try_link "$LINENO"; then :
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4803 $as_echo "yes" >&6; }
4804 else
4805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4806 $as_echo "no" >&6; }
4807 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4809 rm -f core conftest.err conftest.$ac_objext \
4810 conftest$ac_exeext conftest.$ac_ext
4811 CFLAGS="$CFLAGS -marm"
4812 TARGETFLAGS="-marm"
4815 *-mingw32*|*-cygwin*)
4816 enable_win16=${enable_win16:-no}
4817 CFLAGS="$CFLAGS -D_WIN32"
4819 i[3456789]86*)
4820 enable_win16=${enable_win16:-yes}
4822 esac
4824 enable_win16=${enable_win16:-no}
4825 enable_win64=${enable_win64:-no}
4827 enable_winetest=${enable_winetest:-$enable_tests}
4829 if test -n "$with_wine64"
4830 then
4831 if test "x$enable_win64" = "xyes"
4832 then
4833 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4834 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4836 enable_fonts=${enable_fonts:-no}
4837 enable_server=${enable_server:-no}
4838 elif test "x$enable_win64" = "xyes"
4839 then
4840 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
4843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4844 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4845 if ${wine_cv_toolsdir+:} false; then :
4846 $as_echo_n "(cached) " >&6
4847 else
4848 wine_cv_toolsdir="$with_wine_tools"
4849 if test -z "$with_wine_tools"; then
4850 if test "$cross_compiling" = "yes"; then
4851 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4852 elif test -n "$with_wine64"; then
4853 wine_cv_toolsdir="$with_wine64"
4856 if test -z "$wine_cv_toolsdir"; then
4857 wine_makedep=tools/makedep
4858 wine_cv_toolsdir="\$(top_builddir)"
4859 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4860 wine_makedep=$wine_cv_toolsdir/tools/makedep
4861 case "$wine_cv_toolsdir" in
4862 /*) ;;
4863 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
4864 esac
4865 enable_tools=${enable_tools:-no}
4866 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
4867 else
4868 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4872 $as_echo "$wine_cv_toolsdir" >&6; }
4873 TOOLSDIR=$wine_cv_toolsdir
4875 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4876 then
4877 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
4881 for ac_prog in flex
4883 # Extract the first word of "$ac_prog", so it can be a program name with args.
4884 set dummy $ac_prog; ac_word=$2
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4886 $as_echo_n "checking for $ac_word... " >&6; }
4887 if ${ac_cv_prog_FLEX+:} false; then :
4888 $as_echo_n "(cached) " >&6
4889 else
4890 if test -n "$FLEX"; then
4891 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
4892 else
4893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4894 for as_dir in $PATH
4896 IFS=$as_save_IFS
4897 test -z "$as_dir" && as_dir=.
4898 for ac_exec_ext in '' $ac_executable_extensions; do
4899 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4900 ac_cv_prog_FLEX="$ac_prog"
4901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4902 break 2
4904 done
4905 done
4906 IFS=$as_save_IFS
4910 FLEX=$ac_cv_prog_FLEX
4911 if test -n "$FLEX"; then
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4913 $as_echo "$FLEX" >&6; }
4914 else
4915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4916 $as_echo "no" >&6; }
4920 test -n "$FLEX" && break
4921 done
4922 test -n "$FLEX" || FLEX="none"
4924 if test "$FLEX" = "none"
4925 then
4926 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4929 $as_echo_n "checking whether flex is recent enough... " >&6; }
4930 cat >conftest.l <<EOF
4931 %top{
4932 #include "prediluvian.h"
4936 if $FLEX -t conftest.l >/dev/null 2>&5
4937 then
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4939 $as_echo "yes" >&6; }
4940 else
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4942 $as_echo "no" >&6; }
4943 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4946 for ac_prog in bison
4948 # Extract the first word of "$ac_prog", so it can be a program name with args.
4949 set dummy $ac_prog; ac_word=$2
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4951 $as_echo_n "checking for $ac_word... " >&6; }
4952 if ${ac_cv_prog_BISON+:} false; then :
4953 $as_echo_n "(cached) " >&6
4954 else
4955 if test -n "$BISON"; then
4956 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4957 else
4958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4959 for as_dir in $PATH
4961 IFS=$as_save_IFS
4962 test -z "$as_dir" && as_dir=.
4963 for ac_exec_ext in '' $ac_executable_extensions; do
4964 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4965 ac_cv_prog_BISON="$ac_prog"
4966 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4967 break 2
4969 done
4970 done
4971 IFS=$as_save_IFS
4975 BISON=$ac_cv_prog_BISON
4976 if test -n "$BISON"; then
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4978 $as_echo "$BISON" >&6; }
4979 else
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4981 $as_echo "no" >&6; }
4985 test -n "$BISON" && break
4986 done
4987 test -n "$BISON" || BISON="none"
4989 if test "$BISON" = "none"
4990 then
4991 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4994 if test -n "$ac_tool_prefix"; then
4995 for ac_prog in ar gar
4997 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4998 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5000 $as_echo_n "checking for $ac_word... " >&6; }
5001 if ${ac_cv_prog_AR+:} false; then :
5002 $as_echo_n "(cached) " >&6
5003 else
5004 if test -n "$AR"; then
5005 ac_cv_prog_AR="$AR" # Let the user override the test.
5006 else
5007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5008 for as_dir in $PATH
5010 IFS=$as_save_IFS
5011 test -z "$as_dir" && as_dir=.
5012 for ac_exec_ext in '' $ac_executable_extensions; do
5013 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5014 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5015 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5016 break 2
5018 done
5019 done
5020 IFS=$as_save_IFS
5024 AR=$ac_cv_prog_AR
5025 if test -n "$AR"; then
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5027 $as_echo "$AR" >&6; }
5028 else
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5030 $as_echo "no" >&6; }
5034 test -n "$AR" && break
5035 done
5037 if test -z "$AR"; then
5038 ac_ct_AR=$AR
5039 for ac_prog in ar gar
5041 # Extract the first word of "$ac_prog", so it can be a program name with args.
5042 set dummy $ac_prog; ac_word=$2
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5044 $as_echo_n "checking for $ac_word... " >&6; }
5045 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5046 $as_echo_n "(cached) " >&6
5047 else
5048 if test -n "$ac_ct_AR"; then
5049 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5050 else
5051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5052 for as_dir in $PATH
5054 IFS=$as_save_IFS
5055 test -z "$as_dir" && as_dir=.
5056 for ac_exec_ext in '' $ac_executable_extensions; do
5057 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5058 ac_cv_prog_ac_ct_AR="$ac_prog"
5059 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5060 break 2
5062 done
5063 done
5064 IFS=$as_save_IFS
5068 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5069 if test -n "$ac_ct_AR"; then
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5071 $as_echo "$ac_ct_AR" >&6; }
5072 else
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5074 $as_echo "no" >&6; }
5078 test -n "$ac_ct_AR" && break
5079 done
5081 if test "x$ac_ct_AR" = x; then
5082 AR="ar"
5083 else
5084 case $cross_compiling:$ac_tool_warned in
5085 yes:)
5086 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5087 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5088 ac_tool_warned=yes ;;
5089 esac
5090 AR=$ac_ct_AR
5094 if test -n "$ac_tool_prefix"; then
5095 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5096 set dummy ${ac_tool_prefix}strip; ac_word=$2
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5098 $as_echo_n "checking for $ac_word... " >&6; }
5099 if ${ac_cv_prog_STRIP+:} false; then :
5100 $as_echo_n "(cached) " >&6
5101 else
5102 if test -n "$STRIP"; then
5103 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5104 else
5105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5106 for as_dir in $PATH
5108 IFS=$as_save_IFS
5109 test -z "$as_dir" && as_dir=.
5110 for ac_exec_ext in '' $ac_executable_extensions; do
5111 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5112 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5113 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5114 break 2
5116 done
5117 done
5118 IFS=$as_save_IFS
5122 STRIP=$ac_cv_prog_STRIP
5123 if test -n "$STRIP"; then
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5125 $as_echo "$STRIP" >&6; }
5126 else
5127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5128 $as_echo "no" >&6; }
5133 if test -z "$ac_cv_prog_STRIP"; then
5134 ac_ct_STRIP=$STRIP
5135 # Extract the first word of "strip", so it can be a program name with args.
5136 set dummy strip; ac_word=$2
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5138 $as_echo_n "checking for $ac_word... " >&6; }
5139 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5140 $as_echo_n "(cached) " >&6
5141 else
5142 if test -n "$ac_ct_STRIP"; then
5143 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5144 else
5145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5146 for as_dir in $PATH
5148 IFS=$as_save_IFS
5149 test -z "$as_dir" && as_dir=.
5150 for ac_exec_ext in '' $ac_executable_extensions; do
5151 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5152 ac_cv_prog_ac_ct_STRIP="strip"
5153 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5154 break 2
5156 done
5157 done
5158 IFS=$as_save_IFS
5162 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5163 if test -n "$ac_ct_STRIP"; then
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5165 $as_echo "$ac_ct_STRIP" >&6; }
5166 else
5167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5168 $as_echo "no" >&6; }
5171 if test "x$ac_ct_STRIP" = x; then
5172 STRIP="strip"
5173 else
5174 case $cross_compiling:$ac_tool_warned in
5175 yes:)
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5177 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5178 ac_tool_warned=yes ;;
5179 esac
5180 STRIP=$ac_ct_STRIP
5182 else
5183 STRIP="$ac_cv_prog_STRIP"
5186 ARFLAGS=rc
5188 if test -n "$ac_tool_prefix"; then
5189 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5190 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5192 $as_echo_n "checking for $ac_word... " >&6; }
5193 if ${ac_cv_prog_RANLIB+:} false; then :
5194 $as_echo_n "(cached) " >&6
5195 else
5196 if test -n "$RANLIB"; then
5197 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5198 else
5199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5200 for as_dir in $PATH
5202 IFS=$as_save_IFS
5203 test -z "$as_dir" && as_dir=.
5204 for ac_exec_ext in '' $ac_executable_extensions; do
5205 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5206 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5207 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5208 break 2
5210 done
5211 done
5212 IFS=$as_save_IFS
5216 RANLIB=$ac_cv_prog_RANLIB
5217 if test -n "$RANLIB"; then
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5219 $as_echo "$RANLIB" >&6; }
5220 else
5221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5222 $as_echo "no" >&6; }
5227 if test -z "$ac_cv_prog_RANLIB"; then
5228 ac_ct_RANLIB=$RANLIB
5229 # Extract the first word of "ranlib", so it can be a program name with args.
5230 set dummy ranlib; ac_word=$2
5231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5232 $as_echo_n "checking for $ac_word... " >&6; }
5233 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5234 $as_echo_n "(cached) " >&6
5235 else
5236 if test -n "$ac_ct_RANLIB"; then
5237 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5238 else
5239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5240 for as_dir in $PATH
5242 IFS=$as_save_IFS
5243 test -z "$as_dir" && as_dir=.
5244 for ac_exec_ext in '' $ac_executable_extensions; do
5245 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5246 ac_cv_prog_ac_ct_RANLIB="ranlib"
5247 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5248 break 2
5250 done
5251 done
5252 IFS=$as_save_IFS
5256 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5257 if test -n "$ac_ct_RANLIB"; then
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5259 $as_echo "$ac_ct_RANLIB" >&6; }
5260 else
5261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5262 $as_echo "no" >&6; }
5265 if test "x$ac_ct_RANLIB" = x; then
5266 RANLIB=":"
5267 else
5268 case $cross_compiling:$ac_tool_warned in
5269 yes:)
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5271 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5272 ac_tool_warned=yes ;;
5273 esac
5274 RANLIB=$ac_ct_RANLIB
5276 else
5277 RANLIB="$ac_cv_prog_RANLIB"
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5281 $as_echo_n "checking whether ln -s works... " >&6; }
5282 LN_S=$as_ln_s
5283 if test "$LN_S" = "ln -s"; then
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5285 $as_echo "yes" >&6; }
5286 else
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5288 $as_echo "no, using $LN_S" >&6; }
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5292 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5293 if ${ac_cv_path_GREP+:} false; then :
5294 $as_echo_n "(cached) " >&6
5295 else
5296 if test -z "$GREP"; then
5297 ac_path_GREP_found=false
5298 # Loop through the user's path and test for each of PROGNAME-LIST
5299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5300 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5302 IFS=$as_save_IFS
5303 test -z "$as_dir" && as_dir=.
5304 for ac_prog in grep ggrep; do
5305 for ac_exec_ext in '' $ac_executable_extensions; do
5306 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5307 as_fn_executable_p "$ac_path_GREP" || continue
5308 # Check for GNU ac_path_GREP and select it if it is found.
5309 # Check for GNU $ac_path_GREP
5310 case `"$ac_path_GREP" --version 2>&1` in
5311 *GNU*)
5312 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5314 ac_count=0
5315 $as_echo_n 0123456789 >"conftest.in"
5316 while :
5318 cat "conftest.in" "conftest.in" >"conftest.tmp"
5319 mv "conftest.tmp" "conftest.in"
5320 cp "conftest.in" "conftest.nl"
5321 $as_echo 'GREP' >> "conftest.nl"
5322 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5323 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5324 as_fn_arith $ac_count + 1 && ac_count=$as_val
5325 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5326 # Best one so far, save it but keep looking for a better one
5327 ac_cv_path_GREP="$ac_path_GREP"
5328 ac_path_GREP_max=$ac_count
5330 # 10*(2^10) chars as input seems more than enough
5331 test $ac_count -gt 10 && break
5332 done
5333 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5334 esac
5336 $ac_path_GREP_found && break 3
5337 done
5338 done
5339 done
5340 IFS=$as_save_IFS
5341 if test -z "$ac_cv_path_GREP"; then
5342 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5344 else
5345 ac_cv_path_GREP=$GREP
5349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5350 $as_echo "$ac_cv_path_GREP" >&6; }
5351 GREP="$ac_cv_path_GREP"
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5355 $as_echo_n "checking for egrep... " >&6; }
5356 if ${ac_cv_path_EGREP+:} false; then :
5357 $as_echo_n "(cached) " >&6
5358 else
5359 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5360 then ac_cv_path_EGREP="$GREP -E"
5361 else
5362 if test -z "$EGREP"; then
5363 ac_path_EGREP_found=false
5364 # Loop through the user's path and test for each of PROGNAME-LIST
5365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5366 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5368 IFS=$as_save_IFS
5369 test -z "$as_dir" && as_dir=.
5370 for ac_prog in egrep; do
5371 for ac_exec_ext in '' $ac_executable_extensions; do
5372 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5373 as_fn_executable_p "$ac_path_EGREP" || continue
5374 # Check for GNU ac_path_EGREP and select it if it is found.
5375 # Check for GNU $ac_path_EGREP
5376 case `"$ac_path_EGREP" --version 2>&1` in
5377 *GNU*)
5378 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5380 ac_count=0
5381 $as_echo_n 0123456789 >"conftest.in"
5382 while :
5384 cat "conftest.in" "conftest.in" >"conftest.tmp"
5385 mv "conftest.tmp" "conftest.in"
5386 cp "conftest.in" "conftest.nl"
5387 $as_echo 'EGREP' >> "conftest.nl"
5388 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5389 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5390 as_fn_arith $ac_count + 1 && ac_count=$as_val
5391 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5392 # Best one so far, save it but keep looking for a better one
5393 ac_cv_path_EGREP="$ac_path_EGREP"
5394 ac_path_EGREP_max=$ac_count
5396 # 10*(2^10) chars as input seems more than enough
5397 test $ac_count -gt 10 && break
5398 done
5399 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5400 esac
5402 $ac_path_EGREP_found && break 3
5403 done
5404 done
5405 done
5406 IFS=$as_save_IFS
5407 if test -z "$ac_cv_path_EGREP"; then
5408 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5410 else
5411 ac_cv_path_EGREP=$EGREP
5416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5417 $as_echo "$ac_cv_path_EGREP" >&6; }
5418 EGREP="$ac_cv_path_EGREP"
5421 # Extract the first word of "ldconfig", so it can be a program name with args.
5422 set dummy ldconfig; ac_word=$2
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5424 $as_echo_n "checking for $ac_word... " >&6; }
5425 if ${ac_cv_path_LDCONFIG+:} false; then :
5426 $as_echo_n "(cached) " >&6
5427 else
5428 case $LDCONFIG in
5429 [\\/]* | ?:[\\/]*)
5430 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5434 for as_dir in /sbin /usr/sbin $PATH
5436 IFS=$as_save_IFS
5437 test -z "$as_dir" && as_dir=.
5438 for ac_exec_ext in '' $ac_executable_extensions; do
5439 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5440 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5442 break 2
5444 done
5445 done
5446 IFS=$as_save_IFS
5448 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5450 esac
5452 LDCONFIG=$ac_cv_path_LDCONFIG
5453 if test -n "$LDCONFIG"; then
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5455 $as_echo "$LDCONFIG" >&6; }
5456 else
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5458 $as_echo "no" >&6; }
5462 for ac_prog in msgfmt
5464 # Extract the first word of "$ac_prog", so it can be a program name with args.
5465 set dummy $ac_prog; ac_word=$2
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5467 $as_echo_n "checking for $ac_word... " >&6; }
5468 if ${ac_cv_prog_MSGFMT+:} false; then :
5469 $as_echo_n "(cached) " >&6
5470 else
5471 if test -n "$MSGFMT"; then
5472 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5473 else
5474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5475 for as_dir in $PATH
5477 IFS=$as_save_IFS
5478 test -z "$as_dir" && as_dir=.
5479 for ac_exec_ext in '' $ac_executable_extensions; do
5480 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5481 ac_cv_prog_MSGFMT="$ac_prog"
5482 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5483 break 2
5485 done
5486 done
5487 IFS=$as_save_IFS
5491 MSGFMT=$ac_cv_prog_MSGFMT
5492 if test -n "$MSGFMT"; then
5493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5494 $as_echo "$MSGFMT" >&6; }
5495 else
5496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5497 $as_echo "no" >&6; }
5501 test -n "$MSGFMT" && break
5502 done
5503 test -n "$MSGFMT" || MSGFMT="false"
5505 if ${ac_tool_prefix+:} false; then :
5506 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5507 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5509 $as_echo_n "checking for $ac_word... " >&6; }
5510 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5511 $as_echo_n "(cached) " >&6
5512 else
5513 if test -n "$PKG_CONFIG"; then
5514 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5515 else
5516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5517 for as_dir in $PATH
5519 IFS=$as_save_IFS
5520 test -z "$as_dir" && as_dir=.
5521 for ac_exec_ext in '' $ac_executable_extensions; do
5522 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5523 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5524 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5525 break 2
5527 done
5528 done
5529 IFS=$as_save_IFS
5533 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5534 if test -n "$PKG_CONFIG"; then
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5536 $as_echo "$PKG_CONFIG" >&6; }
5537 else
5538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5539 $as_echo "no" >&6; }
5544 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5545 if test "x$cross_compiling" = xyes; then :
5547 else
5548 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5549 # Extract the first word of "pkg-config", so it can be a program name with args.
5550 set dummy pkg-config; ac_word=$2
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5552 $as_echo_n "checking for $ac_word... " >&6; }
5553 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5554 $as_echo_n "(cached) " >&6
5555 else
5556 if test -n "$PKG_CONFIG"; then
5557 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5558 else
5559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5560 for as_dir in $PATH
5562 IFS=$as_save_IFS
5563 test -z "$as_dir" && as_dir=.
5564 for ac_exec_ext in '' $ac_executable_extensions; do
5565 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5566 ac_cv_prog_PKG_CONFIG="pkg-config"
5567 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5568 break 2
5570 done
5571 done
5572 IFS=$as_save_IFS
5576 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5577 if test -n "$PKG_CONFIG"; then
5578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5579 $as_echo "$PKG_CONFIG" >&6; }
5580 else
5581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5582 $as_echo "no" >&6; }
5587 else
5588 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5591 if test "x$enable_maintainer_mode" != "xyes"
5592 then
5593 FONTFORGE=""
5594 RSVG=""
5595 CONVERT=""
5596 ICOTOOL=""
5597 else
5598 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5599 for ac_prog in fontforge
5601 # Extract the first word of "$ac_prog", so it can be a program name with args.
5602 set dummy $ac_prog; ac_word=$2
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5604 $as_echo_n "checking for $ac_word... " >&6; }
5605 if ${ac_cv_prog_FONTFORGE+:} false; then :
5606 $as_echo_n "(cached) " >&6
5607 else
5608 if test -n "$FONTFORGE"; then
5609 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5610 else
5611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5612 for as_dir in $PATH
5614 IFS=$as_save_IFS
5615 test -z "$as_dir" && as_dir=.
5616 for ac_exec_ext in '' $ac_executable_extensions; do
5617 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5618 ac_cv_prog_FONTFORGE="$ac_prog"
5619 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5620 break 2
5622 done
5623 done
5624 IFS=$as_save_IFS
5628 FONTFORGE=$ac_cv_prog_FONTFORGE
5629 if test -n "$FONTFORGE"; then
5630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5631 $as_echo "$FONTFORGE" >&6; }
5632 else
5633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5634 $as_echo "no" >&6; }
5638 test -n "$FONTFORGE" && break
5639 done
5640 test -n "$FONTFORGE" || FONTFORGE="false"
5642 for ac_prog in rsvg
5644 # Extract the first word of "$ac_prog", so it can be a program name with args.
5645 set dummy $ac_prog; ac_word=$2
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5647 $as_echo_n "checking for $ac_word... " >&6; }
5648 if ${ac_cv_prog_RSVG+:} false; then :
5649 $as_echo_n "(cached) " >&6
5650 else
5651 if test -n "$RSVG"; then
5652 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5653 else
5654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5655 for as_dir in $PATH
5657 IFS=$as_save_IFS
5658 test -z "$as_dir" && as_dir=.
5659 for ac_exec_ext in '' $ac_executable_extensions; do
5660 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5661 ac_cv_prog_RSVG="$ac_prog"
5662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5663 break 2
5665 done
5666 done
5667 IFS=$as_save_IFS
5671 RSVG=$ac_cv_prog_RSVG
5672 if test -n "$RSVG"; then
5673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5674 $as_echo "$RSVG" >&6; }
5675 else
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5677 $as_echo "no" >&6; }
5681 test -n "$RSVG" && break
5682 done
5683 test -n "$RSVG" || RSVG="false"
5685 for ac_prog in convert
5687 # Extract the first word of "$ac_prog", so it can be a program name with args.
5688 set dummy $ac_prog; ac_word=$2
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5690 $as_echo_n "checking for $ac_word... " >&6; }
5691 if ${ac_cv_prog_CONVERT+:} false; then :
5692 $as_echo_n "(cached) " >&6
5693 else
5694 if test -n "$CONVERT"; then
5695 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5696 else
5697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5698 for as_dir in $PATH
5700 IFS=$as_save_IFS
5701 test -z "$as_dir" && as_dir=.
5702 for ac_exec_ext in '' $ac_executable_extensions; do
5703 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5704 ac_cv_prog_CONVERT="$ac_prog"
5705 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5706 break 2
5708 done
5709 done
5710 IFS=$as_save_IFS
5714 CONVERT=$ac_cv_prog_CONVERT
5715 if test -n "$CONVERT"; then
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5717 $as_echo "$CONVERT" >&6; }
5718 else
5719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5720 $as_echo "no" >&6; }
5724 test -n "$CONVERT" && break
5725 done
5726 test -n "$CONVERT" || CONVERT="false"
5728 for ac_prog in icotool
5730 # Extract the first word of "$ac_prog", so it can be a program name with args.
5731 set dummy $ac_prog; ac_word=$2
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5733 $as_echo_n "checking for $ac_word... " >&6; }
5734 if ${ac_cv_prog_ICOTOOL+:} false; then :
5735 $as_echo_n "(cached) " >&6
5736 else
5737 if test -n "$ICOTOOL"; then
5738 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5739 else
5740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5741 for as_dir in $PATH
5743 IFS=$as_save_IFS
5744 test -z "$as_dir" && as_dir=.
5745 for ac_exec_ext in '' $ac_executable_extensions; do
5746 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5747 ac_cv_prog_ICOTOOL="$ac_prog"
5748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5749 break 2
5751 done
5752 done
5753 IFS=$as_save_IFS
5757 ICOTOOL=$ac_cv_prog_ICOTOOL
5758 if test -n "$ICOTOOL"; then
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5760 $as_echo "$ICOTOOL" >&6; }
5761 else
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5763 $as_echo "no" >&6; }
5767 test -n "$ICOTOOL" && break
5768 done
5769 test -n "$ICOTOOL" || ICOTOOL="false"
5771 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5772 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5774 if test "$CONVERT" = false
5775 then
5776 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5777 else
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5779 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5780 convert_version=`convert --version | head -n1`
5781 if test "x$convert_version" != "x"
5782 then
5783 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5784 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5785 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5786 then
5787 CONVERT=false
5790 if test "$CONVERT" = false
5791 then
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5793 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5794 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5795 else
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5797 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5801 if test "$ICOTOOL" = false
5802 then
5803 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5804 else
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5806 $as_echo_n "checking for recent enough icotool... " >&6; }
5807 icotool_version=`icotool --version | head -n1`
5808 if test "x$icotool_version" != "x"
5809 then
5810 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5811 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5812 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5813 then
5814 ICOTOOL=false
5815 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5818 if test "$ICOTOOL" = false
5819 then
5820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5821 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5822 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5823 else
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5825 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5829 with_gettext=yes
5830 with_gettextpo=yes
5831 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5834 test "x$with_gettext" != xno || MSGFMT=false
5835 if test "$MSGFMT" != "false"
5836 then
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5838 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5839 cat >conftest.po <<EOF
5840 # comment
5841 msgctxt "ctxt"
5842 msgid "id"
5843 msgstr "str"
5845 if $MSGFMT -o /dev/null conftest.po 2>&5
5846 then
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5848 $as_echo "yes" >&6; }
5849 else
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5851 $as_echo "no" >&6; }
5852 MSGFMT=false
5855 if test "$MSGFMT" = false; then :
5856 case "x$with_gettext" in
5857 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
5858 xno) ;;
5859 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
5860 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5861 esac
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5866 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5867 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
5868 $as_echo_n "(cached) " >&6
5869 else
5870 ac_check_lib_save_LIBS=$LIBS
5871 LIBS="-li386 $LIBS"
5872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5873 /* end confdefs.h. */
5875 /* Override any GCC internal prototype to avoid an error.
5876 Use char because int might match the return type of a GCC
5877 builtin and then its argument prototype would still apply. */
5878 #ifdef __cplusplus
5879 extern "C"
5880 #endif
5881 char i386_set_ldt ();
5883 main ()
5885 return i386_set_ldt ();
5887 return 0;
5889 _ACEOF
5890 if ac_fn_c_try_link "$LINENO"; then :
5891 ac_cv_lib_i386_i386_set_ldt=yes
5892 else
5893 ac_cv_lib_i386_i386_set_ldt=no
5895 rm -f core conftest.err conftest.$ac_objext \
5896 conftest$ac_exeext conftest.$ac_ext
5897 LIBS=$ac_check_lib_save_LIBS
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5900 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5901 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
5902 cat >>confdefs.h <<_ACEOF
5903 #define HAVE_LIBI386 1
5904 _ACEOF
5906 LIBS="-li386 $LIBS"
5910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5911 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5912 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
5913 $as_echo_n "(cached) " >&6
5914 else
5915 ac_check_lib_save_LIBS=$LIBS
5916 LIBS="-lossaudio $LIBS"
5917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5918 /* end confdefs.h. */
5920 /* Override any GCC internal prototype to avoid an error.
5921 Use char because int might match the return type of a GCC
5922 builtin and then its argument prototype would still apply. */
5923 #ifdef __cplusplus
5924 extern "C"
5925 #endif
5926 char _oss_ioctl ();
5928 main ()
5930 return _oss_ioctl ();
5932 return 0;
5934 _ACEOF
5935 if ac_fn_c_try_link "$LINENO"; then :
5936 ac_cv_lib_ossaudio__oss_ioctl=yes
5937 else
5938 ac_cv_lib_ossaudio__oss_ioctl=no
5940 rm -f core conftest.err conftest.$ac_objext \
5941 conftest$ac_exeext conftest.$ac_ext
5942 LIBS=$ac_check_lib_save_LIBS
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5945 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5946 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
5947 cat >>confdefs.h <<_ACEOF
5948 #define HAVE_LIBOSSAUDIO 1
5949 _ACEOF
5951 LIBS="-lossaudio $LIBS"
5956 OPENGL_LIBS=""
5960 # Check whether --enable-largefile was given.
5961 if test "${enable_largefile+set}" = set; then :
5962 enableval=$enable_largefile;
5965 if test "$enable_largefile" != no; then
5967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5968 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5969 if ${ac_cv_sys_largefile_CC+:} false; then :
5970 $as_echo_n "(cached) " >&6
5971 else
5972 ac_cv_sys_largefile_CC=no
5973 if test "$GCC" != yes; then
5974 ac_save_CC=$CC
5975 while :; do
5976 # IRIX 6.2 and later do not support large files by default,
5977 # so use the C compiler's -n32 option if that helps.
5978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5979 /* end confdefs.h. */
5980 #include <sys/types.h>
5981 /* Check that off_t can represent 2**63 - 1 correctly.
5982 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5983 since some C++ compilers masquerading as C compilers
5984 incorrectly reject 9223372036854775807. */
5985 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5986 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5987 && LARGE_OFF_T % 2147483647 == 1)
5988 ? 1 : -1];
5990 main ()
5994 return 0;
5996 _ACEOF
5997 if ac_fn_c_try_compile "$LINENO"; then :
5998 break
6000 rm -f core conftest.err conftest.$ac_objext
6001 CC="$CC -n32"
6002 if ac_fn_c_try_compile "$LINENO"; then :
6003 ac_cv_sys_largefile_CC=' -n32'; break
6005 rm -f core conftest.err conftest.$ac_objext
6006 break
6007 done
6008 CC=$ac_save_CC
6009 rm -f conftest.$ac_ext
6012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6013 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6014 if test "$ac_cv_sys_largefile_CC" != no; then
6015 CC=$CC$ac_cv_sys_largefile_CC
6018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6019 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6020 if ${ac_cv_sys_file_offset_bits+:} false; then :
6021 $as_echo_n "(cached) " >&6
6022 else
6023 while :; do
6024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6025 /* end confdefs.h. */
6026 #include <sys/types.h>
6027 /* Check that off_t can represent 2**63 - 1 correctly.
6028 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6029 since some C++ compilers masquerading as C compilers
6030 incorrectly reject 9223372036854775807. */
6031 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6032 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6033 && LARGE_OFF_T % 2147483647 == 1)
6034 ? 1 : -1];
6036 main ()
6040 return 0;
6042 _ACEOF
6043 if ac_fn_c_try_compile "$LINENO"; then :
6044 ac_cv_sys_file_offset_bits=no; break
6046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6048 /* end confdefs.h. */
6049 #define _FILE_OFFSET_BITS 64
6050 #include <sys/types.h>
6051 /* Check that off_t can represent 2**63 - 1 correctly.
6052 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6053 since some C++ compilers masquerading as C compilers
6054 incorrectly reject 9223372036854775807. */
6055 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6056 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6057 && LARGE_OFF_T % 2147483647 == 1)
6058 ? 1 : -1];
6060 main ()
6064 return 0;
6066 _ACEOF
6067 if ac_fn_c_try_compile "$LINENO"; then :
6068 ac_cv_sys_file_offset_bits=64; break
6070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6071 ac_cv_sys_file_offset_bits=unknown
6072 break
6073 done
6075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6076 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6077 case $ac_cv_sys_file_offset_bits in #(
6078 no | unknown) ;;
6080 cat >>confdefs.h <<_ACEOF
6081 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6082 _ACEOF
6084 esac
6085 rm -rf conftest*
6086 if test $ac_cv_sys_file_offset_bits = unknown; then
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6088 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6089 if ${ac_cv_sys_large_files+:} false; then :
6090 $as_echo_n "(cached) " >&6
6091 else
6092 while :; do
6093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6094 /* end confdefs.h. */
6095 #include <sys/types.h>
6096 /* Check that off_t can represent 2**63 - 1 correctly.
6097 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6098 since some C++ compilers masquerading as C compilers
6099 incorrectly reject 9223372036854775807. */
6100 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6101 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6102 && LARGE_OFF_T % 2147483647 == 1)
6103 ? 1 : -1];
6105 main ()
6109 return 0;
6111 _ACEOF
6112 if ac_fn_c_try_compile "$LINENO"; then :
6113 ac_cv_sys_large_files=no; break
6115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6117 /* end confdefs.h. */
6118 #define _LARGE_FILES 1
6119 #include <sys/types.h>
6120 /* Check that off_t can represent 2**63 - 1 correctly.
6121 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6122 since some C++ compilers masquerading as C compilers
6123 incorrectly reject 9223372036854775807. */
6124 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6125 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6126 && LARGE_OFF_T % 2147483647 == 1)
6127 ? 1 : -1];
6129 main ()
6133 return 0;
6135 _ACEOF
6136 if ac_fn_c_try_compile "$LINENO"; then :
6137 ac_cv_sys_large_files=1; break
6139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6140 ac_cv_sys_large_files=unknown
6141 break
6142 done
6144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6145 $as_echo "$ac_cv_sys_large_files" >&6; }
6146 case $ac_cv_sys_large_files in #(
6147 no | unknown) ;;
6149 cat >>confdefs.h <<_ACEOF
6150 #define _LARGE_FILES $ac_cv_sys_large_files
6151 _ACEOF
6153 esac
6154 rm -rf conftest*
6161 ac_ext=c
6162 ac_cpp='$CPP $CPPFLAGS'
6163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6167 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6168 # On Suns, sometimes $CPP names a directory.
6169 if test -n "$CPP" && test -d "$CPP"; then
6170 CPP=
6172 if test -z "$CPP"; then
6173 if ${ac_cv_prog_CPP+:} false; then :
6174 $as_echo_n "(cached) " >&6
6175 else
6176 # Double quotes because CPP needs to be expanded
6177 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6179 ac_preproc_ok=false
6180 for ac_c_preproc_warn_flag in '' yes
6182 # Use a header file that comes with gcc, so configuring glibc
6183 # with a fresh cross-compiler works.
6184 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6185 # <limits.h> exists even on freestanding compilers.
6186 # On the NeXT, cc -E runs the code through the compiler's parser,
6187 # not just through cpp. "Syntax error" is here to catch this case.
6188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6189 /* end confdefs.h. */
6190 #ifdef __STDC__
6191 # include <limits.h>
6192 #else
6193 # include <assert.h>
6194 #endif
6195 Syntax error
6196 _ACEOF
6197 if ac_fn_c_try_cpp "$LINENO"; then :
6199 else
6200 # Broken: fails on valid input.
6201 continue
6203 rm -f conftest.err conftest.i conftest.$ac_ext
6205 # OK, works on sane cases. Now check whether nonexistent headers
6206 # can be detected and how.
6207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6208 /* end confdefs.h. */
6209 #include <ac_nonexistent.h>
6210 _ACEOF
6211 if ac_fn_c_try_cpp "$LINENO"; then :
6212 # Broken: success on invalid input.
6213 continue
6214 else
6215 # Passes both tests.
6216 ac_preproc_ok=:
6217 break
6219 rm -f conftest.err conftest.i conftest.$ac_ext
6221 done
6222 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6223 rm -f conftest.i conftest.err conftest.$ac_ext
6224 if $ac_preproc_ok; then :
6225 break
6228 done
6229 ac_cv_prog_CPP=$CPP
6232 CPP=$ac_cv_prog_CPP
6233 else
6234 ac_cv_prog_CPP=$CPP
6236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6237 $as_echo "$CPP" >&6; }
6238 ac_preproc_ok=false
6239 for ac_c_preproc_warn_flag in '' yes
6241 # Use a header file that comes with gcc, so configuring glibc
6242 # with a fresh cross-compiler works.
6243 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6244 # <limits.h> exists even on freestanding compilers.
6245 # On the NeXT, cc -E runs the code through the compiler's parser,
6246 # not just through cpp. "Syntax error" is here to catch this case.
6247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6248 /* end confdefs.h. */
6249 #ifdef __STDC__
6250 # include <limits.h>
6251 #else
6252 # include <assert.h>
6253 #endif
6254 Syntax error
6255 _ACEOF
6256 if ac_fn_c_try_cpp "$LINENO"; then :
6258 else
6259 # Broken: fails on valid input.
6260 continue
6262 rm -f conftest.err conftest.i conftest.$ac_ext
6264 # OK, works on sane cases. Now check whether nonexistent headers
6265 # can be detected and how.
6266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6267 /* end confdefs.h. */
6268 #include <ac_nonexistent.h>
6269 _ACEOF
6270 if ac_fn_c_try_cpp "$LINENO"; then :
6271 # Broken: success on invalid input.
6272 continue
6273 else
6274 # Passes both tests.
6275 ac_preproc_ok=:
6276 break
6278 rm -f conftest.err conftest.i conftest.$ac_ext
6280 done
6281 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6282 rm -f conftest.i conftest.err conftest.$ac_ext
6283 if $ac_preproc_ok; then :
6285 else
6286 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6287 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6288 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6289 See \`config.log' for more details" "$LINENO" 5; }
6292 ac_ext=c
6293 ac_cpp='$CPP $CPPFLAGS'
6294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6300 $as_echo_n "checking for ANSI C header files... " >&6; }
6301 if ${ac_cv_header_stdc+:} false; then :
6302 $as_echo_n "(cached) " >&6
6303 else
6304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6305 /* end confdefs.h. */
6306 #include <stdlib.h>
6307 #include <stdarg.h>
6308 #include <string.h>
6309 #include <float.h>
6312 main ()
6316 return 0;
6318 _ACEOF
6319 if ac_fn_c_try_compile "$LINENO"; then :
6320 ac_cv_header_stdc=yes
6321 else
6322 ac_cv_header_stdc=no
6324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6326 if test $ac_cv_header_stdc = yes; then
6327 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6329 /* end confdefs.h. */
6330 #include <string.h>
6332 _ACEOF
6333 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6334 $EGREP "memchr" >/dev/null 2>&1; then :
6336 else
6337 ac_cv_header_stdc=no
6339 rm -f conftest*
6343 if test $ac_cv_header_stdc = yes; then
6344 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6346 /* end confdefs.h. */
6347 #include <stdlib.h>
6349 _ACEOF
6350 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6351 $EGREP "free" >/dev/null 2>&1; then :
6353 else
6354 ac_cv_header_stdc=no
6356 rm -f conftest*
6360 if test $ac_cv_header_stdc = yes; then
6361 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6362 if test "$cross_compiling" = yes; then :
6364 else
6365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6366 /* end confdefs.h. */
6367 #include <ctype.h>
6368 #include <stdlib.h>
6369 #if ((' ' & 0x0FF) == 0x020)
6370 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6371 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6372 #else
6373 # define ISLOWER(c) \
6374 (('a' <= (c) && (c) <= 'i') \
6375 || ('j' <= (c) && (c) <= 'r') \
6376 || ('s' <= (c) && (c) <= 'z'))
6377 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6378 #endif
6380 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6382 main ()
6384 int i;
6385 for (i = 0; i < 256; i++)
6386 if (XOR (islower (i), ISLOWER (i))
6387 || toupper (i) != TOUPPER (i))
6388 return 2;
6389 return 0;
6391 _ACEOF
6392 if ac_fn_c_try_run "$LINENO"; then :
6394 else
6395 ac_cv_header_stdc=no
6397 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6398 conftest.$ac_objext conftest.beam conftest.$ac_ext
6403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6404 $as_echo "$ac_cv_header_stdc" >&6; }
6405 if test $ac_cv_header_stdc = yes; then
6407 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6411 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6412 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6413 inttypes.h stdint.h unistd.h
6414 do :
6415 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6416 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6418 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6419 cat >>confdefs.h <<_ACEOF
6420 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6421 _ACEOF
6425 done
6428 for ac_header in \
6429 AL/al.h \
6430 ApplicationServices/ApplicationServices.h \
6431 AudioToolbox/AudioConverter.h \
6432 AudioUnit/AudioUnit.h \
6433 AudioUnit/AudioComponent.h \
6434 CL/cl.h \
6435 Carbon/Carbon.h \
6436 CoreAudio/CoreAudio.h \
6437 CoreServices/CoreServices.h \
6438 DiskArbitration/DiskArbitration.h \
6439 IOKit/IOKitLib.h \
6440 IOKit/hid/IOHIDLib.h \
6441 OpenAL/al.h \
6442 OpenCL/opencl.h \
6443 QuickTime/ImageCompression.h \
6444 Security/Security.h \
6445 alias.h \
6446 alsa/asoundlib.h \
6447 arpa/inet.h \
6448 arpa/nameser.h \
6449 asm/types.h \
6450 asm/user.h \
6451 curses.h \
6452 direct.h \
6453 dirent.h \
6454 dlfcn.h \
6455 elf.h \
6456 float.h \
6457 fnmatch.h \
6458 getopt.h \
6459 gettext-po.h \
6460 grp.h \
6461 gsm.h \
6462 gsm/gsm.h \
6463 ieeefp.h \
6464 inet/mib2.h \
6465 io.h \
6466 kstat.h \
6467 lber.h \
6468 ldap.h \
6469 libproc.h \
6470 link.h \
6471 linux/cdrom.h \
6472 linux/compiler.h \
6473 linux/filter.h \
6474 linux/hdreg.h \
6475 linux/input.h \
6476 linux/ioctl.h \
6477 linux/joystick.h \
6478 linux/major.h \
6479 linux/param.h \
6480 linux/serial.h \
6481 linux/types.h \
6482 linux/ucdrom.h \
6483 lwp.h \
6484 mach-o/nlist.h \
6485 mach-o/loader.h \
6486 mach/mach.h \
6487 mach/machine.h \
6488 machine/cpu.h \
6489 machine/limits.h \
6490 machine/sysarch.h \
6491 mntent.h \
6492 ncurses.h \
6493 netdb.h \
6494 netinet/in.h \
6495 netinet/in_systm.h \
6496 netinet/tcp.h \
6497 netinet/tcp_fsm.h \
6498 poll.h \
6499 port.h \
6500 process.h \
6501 pthread.h \
6502 pwd.h \
6503 sched.h \
6504 scsi/scsi.h \
6505 scsi/scsi_ioctl.h \
6506 scsi/sg.h \
6507 stdbool.h \
6508 stdint.h \
6509 stropts.h \
6510 sys/asoundlib.h \
6511 sys/attr.h \
6512 sys/cdio.h \
6513 sys/elf32.h \
6514 sys/epoll.h \
6515 sys/event.h \
6516 sys/exec_elf.h \
6517 sys/filio.h \
6518 sys/inotify.h \
6519 sys/ioctl.h \
6520 sys/ipc.h \
6521 sys/limits.h \
6522 sys/link.h \
6523 sys/mman.h \
6524 sys/modem.h \
6525 sys/msg.h \
6526 sys/mtio.h \
6527 sys/param.h \
6528 sys/poll.h \
6529 sys/prctl.h \
6530 sys/protosw.h \
6531 sys/ptrace.h \
6532 sys/queue.h \
6533 sys/resource.h \
6534 sys/scsiio.h \
6535 sys/shm.h \
6536 sys/signal.h \
6537 sys/socket.h \
6538 sys/socketvar.h \
6539 sys/sockio.h \
6540 sys/statvfs.h \
6541 sys/strtio.h \
6542 sys/syscall.h \
6543 sys/tihdr.h \
6544 sys/time.h \
6545 sys/timeout.h \
6546 sys/times.h \
6547 sys/uio.h \
6548 sys/user.h \
6549 sys/utsname.h \
6550 sys/vm86.h \
6551 sys/wait.h \
6552 syscall.h \
6553 termios.h \
6554 unistd.h \
6555 utime.h \
6556 valgrind/memcheck.h \
6557 valgrind/valgrind.h \
6558 zlib.h
6560 do :
6561 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6562 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6563 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6564 cat >>confdefs.h <<_ACEOF
6565 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6566 _ACEOF
6570 done
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6573 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6574 if ${ac_cv_header_stat_broken+:} false; then :
6575 $as_echo_n "(cached) " >&6
6576 else
6577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6578 /* end confdefs.h. */
6579 #include <sys/types.h>
6580 #include <sys/stat.h>
6582 #if defined S_ISBLK && defined S_IFDIR
6583 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6584 #endif
6586 #if defined S_ISBLK && defined S_IFCHR
6587 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6588 #endif
6590 #if defined S_ISLNK && defined S_IFREG
6591 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6592 #endif
6594 #if defined S_ISSOCK && defined S_IFREG
6595 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6596 #endif
6598 _ACEOF
6599 if ac_fn_c_try_compile "$LINENO"; then :
6600 ac_cv_header_stat_broken=no
6601 else
6602 ac_cv_header_stat_broken=yes
6604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6607 $as_echo "$ac_cv_header_stat_broken" >&6; }
6608 if test $ac_cv_header_stat_broken = yes; then
6610 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6616 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6617 do :
6618 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6619 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6620 #ifdef HAVE_SYS_PARAM_H
6621 # include <sys/param.h>
6622 #endif
6624 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6625 cat >>confdefs.h <<_ACEOF
6626 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6627 _ACEOF
6631 done
6634 for ac_header in \
6635 netinet/ip.h \
6636 net/if.h \
6637 net/if_arp.h \
6638 net/if_dl.h \
6639 net/if_types.h \
6640 net/route.h \
6641 netinet/if_ether.h \
6642 netinet/if_inarp.h \
6643 netinet/in_pcb.h \
6644 netinet/ip_icmp.h \
6645 netinet/ip_var.h \
6646 netinet/udp.h \
6647 netipx/ipx.h \
6648 sys/un.h \
6650 do :
6651 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6652 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6653 #ifdef HAVE_SYS_SOCKET_H
6654 # include <sys/socket.h>
6655 #endif
6656 #ifdef HAVE_SYS_SOCKETVAR_H
6657 # include <sys/socketvar.h>
6658 #endif
6659 #ifdef HAVE_NET_ROUTE_H
6660 # include <net/route.h>
6661 #endif
6662 #ifdef HAVE_NETINET_IN_H
6663 # include <netinet/in.h>
6664 #endif
6665 #ifdef HAVE_NETINET_IN_SYSTM_H
6666 # include <netinet/in_systm.h>
6667 #endif
6668 #ifdef HAVE_NET_IF_H
6669 # include <net/if.h>
6670 #endif
6671 #ifdef HAVE_NETINET_IP_H
6672 # include <netinet/ip.h>
6673 #endif
6675 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6676 cat >>confdefs.h <<_ACEOF
6677 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6678 _ACEOF
6682 done
6685 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6686 do :
6687 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6688 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6689 #ifdef HAVE_ALIAS_H
6690 # include <alias.h>
6691 #endif
6692 #ifdef HAVE_SYS_SOCKET_H
6693 # include <sys/socket.h>
6694 #endif
6695 #ifdef HAVE_SYS_SOCKETVAR_H
6696 # include <sys/socketvar.h>
6697 #endif
6698 #ifdef HAVE_SYS_TIMEOUT_H
6699 # include <sys/timeout.h>
6700 #endif
6701 #ifdef HAVE_NETINET_IN_H
6702 # include <netinet/in.h>
6703 #endif
6704 #ifdef HAVE_NETINET_IN_SYSTM_H
6705 # include <netinet/in_systm.h>
6706 #endif
6707 #ifdef HAVE_NETINET_IP_H
6708 # include <netinet/ip.h>
6709 #endif
6710 #ifdef HAVE_NETINET_IP_VAR_H
6711 # include <netinet/ip_var.h>
6712 #endif
6713 #ifdef HAVE_NETINET_IP_ICMP_H
6714 # include <netinet/ip_icmp.h>
6715 #endif
6716 #ifdef HAVE_NETINET_UDP_H
6717 # include <netinet/udp.h>
6718 #endif
6719 #ifdef HAVE_NETINET_TCP_H
6720 # include <netinet/tcp.h>
6721 #endif
6722 #ifdef HAVE_NETINET_TCP_TIMER_H
6723 #include <netinet/tcp_timer.h>
6724 #endif
6726 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6727 cat >>confdefs.h <<_ACEOF
6728 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6729 _ACEOF
6733 done
6736 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6737 do :
6738 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6739 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6740 #ifdef HAVE_ASM_TYPES_H
6741 # include <asm/types.h>
6742 #endif
6743 #ifdef HAVE_SYS_SOCKET_H
6744 # include <sys/socket.h>
6745 #endif
6746 #ifdef HAVE_LINUX_TYPES_H
6747 # include <linux/types.h>
6748 #endif
6750 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6751 cat >>confdefs.h <<_ACEOF
6752 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6753 _ACEOF
6757 done
6760 for ac_header in mach-o/dyld_images.h
6761 do :
6762 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6763 # include <stdbool.h>
6764 #endif
6765 #ifdef HAVE_STDINT_H
6766 # include <stdint.h>
6767 #endif
6769 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6770 cat >>confdefs.h <<_ACEOF
6771 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6772 _ACEOF
6776 done
6779 for ac_header in resolv.h
6780 do :
6781 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6782 #ifdef HAVE_SYS_SOCKET_H
6783 # include <sys/socket.h>
6784 #endif
6785 #ifdef HAVE_NETINET_IN_H
6786 # include <netinet/in.h>
6787 #endif
6788 #ifdef HAVE_ARPA_NAMESER_H
6789 # include <arpa/nameser.h>
6790 #endif
6792 if test "x$ac_cv_header_resolv_h" = xyes; then :
6793 cat >>confdefs.h <<_ACEOF
6794 #define HAVE_RESOLV_H 1
6795 _ACEOF
6799 done
6802 for ac_header in ifaddrs.h
6803 do :
6804 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6806 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6807 cat >>confdefs.h <<_ACEOF
6808 #define HAVE_IFADDRS_H 1
6809 _ACEOF
6813 done
6816 for ac_header in sys/ucontext.h
6817 do :
6818 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6820 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
6821 cat >>confdefs.h <<_ACEOF
6822 #define HAVE_SYS_UCONTEXT_H 1
6823 _ACEOF
6827 done
6830 for ac_header in sys/thr.h
6831 do :
6832 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6833 #ifdef HAVE_SYS_UCONTEXT_H
6834 #include <sys/ucontext.h>
6835 #endif
6837 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
6838 cat >>confdefs.h <<_ACEOF
6839 #define HAVE_SYS_THR_H 1
6840 _ACEOF
6844 done
6847 for ac_header in pthread_np.h
6848 do :
6849 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6850 #include <pthread.h>
6851 #endif
6853 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
6854 cat >>confdefs.h <<_ACEOF
6855 #define HAVE_PTHREAD_NP_H 1
6856 _ACEOF
6860 done
6863 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
6864 do :
6865 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6866 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6867 #include <sys/time.h>
6868 #endif
6869 #include <sys/types.h>
6870 #ifdef HAVE_ASM_TYPES_H
6871 #include <asm/types.h>
6872 #endif
6874 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6875 cat >>confdefs.h <<_ACEOF
6876 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6877 _ACEOF
6881 done
6884 for ac_header in libprocstat.h
6885 do :
6886 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6887 #include <sys/param.h>
6888 #endif
6889 #ifdef HAVE_SYS_QUEUE_H
6890 #include <sys/queue.h>
6891 #endif
6892 #ifdef HAVE_SYS_SOCKET_H
6893 #include <sys/socket.h>
6894 #endif
6896 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
6897 cat >>confdefs.h <<_ACEOF
6898 #define HAVE_LIBPROCSTAT_H 1
6899 _ACEOF
6903 done
6907 dlldir="\${libdir}/wine"
6909 DLLPREFIX=""
6911 DLLFLAGS="-D_REENTRANT"
6913 LDRPATH_INSTALL=""
6915 LDRPATH_LOCAL=""
6917 LIBEXT="so"
6918 DLLEXT=".so"
6919 IMPLIBEXT="def"
6920 STATIC_IMPLIBEXT="def.a"
6921 # Extract the first word of "ldd", so it can be a program name with args.
6922 set dummy ldd; ac_word=$2
6923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6924 $as_echo_n "checking for $ac_word... " >&6; }
6925 if ${ac_cv_path_LDD+:} false; then :
6926 $as_echo_n "(cached) " >&6
6927 else
6928 case $LDD in
6929 [\\/]* | ?:[\\/]*)
6930 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
6933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6934 as_dummy="/sbin:/usr/sbin:$PATH"
6935 for as_dir in $as_dummy
6937 IFS=$as_save_IFS
6938 test -z "$as_dir" && as_dir=.
6939 for ac_exec_ext in '' $ac_executable_extensions; do
6940 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6941 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
6942 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6943 break 2
6945 done
6946 done
6947 IFS=$as_save_IFS
6949 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
6951 esac
6953 LDD=$ac_cv_path_LDD
6954 if test -n "$LDD"; then
6955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6956 $as_echo "$LDD" >&6; }
6957 else
6958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6959 $as_echo "no" >&6; }
6963 if test -n "$ac_tool_prefix"; then
6964 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
6965 set dummy ${ac_tool_prefix}readelf; ac_word=$2
6966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6967 $as_echo_n "checking for $ac_word... " >&6; }
6968 if ${ac_cv_prog_READELF+:} false; then :
6969 $as_echo_n "(cached) " >&6
6970 else
6971 if test -n "$READELF"; then
6972 ac_cv_prog_READELF="$READELF" # Let the user override the test.
6973 else
6974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6975 for as_dir in $PATH
6977 IFS=$as_save_IFS
6978 test -z "$as_dir" && as_dir=.
6979 for ac_exec_ext in '' $ac_executable_extensions; do
6980 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6981 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
6982 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6983 break 2
6985 done
6986 done
6987 IFS=$as_save_IFS
6991 READELF=$ac_cv_prog_READELF
6992 if test -n "$READELF"; then
6993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
6994 $as_echo "$READELF" >&6; }
6995 else
6996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6997 $as_echo "no" >&6; }
7002 if test -z "$ac_cv_prog_READELF"; then
7003 ac_ct_READELF=$READELF
7004 # Extract the first word of "readelf", so it can be a program name with args.
7005 set dummy readelf; ac_word=$2
7006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7007 $as_echo_n "checking for $ac_word... " >&6; }
7008 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7009 $as_echo_n "(cached) " >&6
7010 else
7011 if test -n "$ac_ct_READELF"; then
7012 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7013 else
7014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7015 for as_dir in $PATH
7017 IFS=$as_save_IFS
7018 test -z "$as_dir" && as_dir=.
7019 for ac_exec_ext in '' $ac_executable_extensions; do
7020 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7021 ac_cv_prog_ac_ct_READELF="readelf"
7022 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7023 break 2
7025 done
7026 done
7027 IFS=$as_save_IFS
7031 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7032 if test -n "$ac_ct_READELF"; then
7033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7034 $as_echo "$ac_ct_READELF" >&6; }
7035 else
7036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7037 $as_echo "no" >&6; }
7040 if test "x$ac_ct_READELF" = x; then
7041 READELF="true"
7042 else
7043 case $cross_compiling:$ac_tool_warned in
7044 yes:)
7045 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7046 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7047 ac_tool_warned=yes ;;
7048 esac
7049 READELF=$ac_ct_READELF
7051 else
7052 READELF="$ac_cv_prog_READELF"
7055 wine_rules_file=conf$$rules.make
7056 rm -f $wine_rules_file
7057 ALL_POT_FILES=""
7058 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7059 ALL_TEST_RESOURCES=""
7062 wine_fn_append_file ()
7064 as_fn_append $1 " \\$as_nl $2"
7067 wine_fn_ignore_file ()
7069 case "$1" in
7070 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7071 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7072 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7073 esac
7076 wine_fn_append_rule ()
7078 $as_echo "$1" >>$wine_rules_file
7081 wine_fn_has_flag ()
7083 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7086 wine_fn_depend_rules ()
7088 wine_fn_append_rule \
7089 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7090 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7091 depend: $ac_dir/depend
7092 .PHONY: $ac_dir/depend
7093 $ac_dir/depend: \$(MAKEDEP) dummy
7094 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7097 wine_fn_pot_rules ()
7099 test "x$with_gettextpo" = xyes || return
7101 if wine_fn_has_flag mc
7102 then
7103 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7104 wine_fn_append_rule \
7105 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7106 @cd $ac_dir && \$(MAKE) msg.pot
7107 $ac_dir/msg.pot: tools/wmc include"
7109 if wine_fn_has_flag po
7110 then
7111 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7112 wine_fn_append_rule \
7113 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7114 @cd $ac_dir && \$(MAKE) rsrc.pot
7115 $ac_dir/rsrc.pot: tools/wrc include"
7119 wine_fn_all_rules ()
7121 wine_fn_depend_rules
7122 wine_fn_append_rule \
7123 "all: $ac_dir
7124 .PHONY: $ac_dir
7125 $ac_dir: $ac_dir/Makefile dummy
7126 @cd $ac_dir && \$(MAKE)"
7129 wine_fn_install_rules ()
7131 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7133 wine_fn_append_rule \
7134 ".PHONY: $ac_dir/install $ac_dir/uninstall
7135 $ac_dir/install:: $ac_dir
7136 @cd $ac_dir && \$(MAKE) install
7137 $ac_dir/uninstall:: $ac_dir/Makefile
7138 @cd $ac_dir && \$(MAKE) uninstall
7139 install:: $ac_dir/install
7140 __uninstall__: $ac_dir/uninstall"
7142 if wine_fn_has_flag install-lib
7143 then
7144 wine_fn_append_rule \
7145 ".PHONY: $ac_dir/install-lib
7146 $ac_dir/install-lib:: $ac_dir
7147 @cd $ac_dir && \$(MAKE) install-lib
7148 install-lib:: $ac_dir/install-lib"
7151 if wine_fn_has_flag install-dev
7152 then
7153 wine_fn_append_rule \
7154 ".PHONY: $ac_dir/install-dev
7155 $ac_dir/install-dev:: $ac_dir
7156 @cd $ac_dir && \$(MAKE) install-dev
7157 install-dev:: $ac_dir/install-dev"
7161 wine_fn_clean_rules ()
7163 ac_clean=$@
7164 ac_extraclean="$ac_dir/Makefile"
7165 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7166 case $ac_dir in
7167 */tests) ac_extraclean="$ac_extraclean $ac_dir/testlist.c" ;;
7168 esac
7170 if wine_fn_has_flag clean
7171 then
7172 wine_fn_append_rule \
7173 "__clean__: $ac_dir/clean
7174 .PHONY: $ac_dir/clean
7175 $ac_dir/clean: $ac_dir/Makefile
7176 @cd $ac_dir && \$(MAKE) clean
7177 \$(RM) $ac_extraclean"
7178 else
7179 wine_fn_append_rule \
7180 "__clean__: $ac_dir/clean
7181 .PHONY: $ac_dir/clean
7182 $ac_dir/clean: dummy
7183 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7187 wine_fn_disabled_rules ()
7189 ac_clean=$@
7190 ac_extraclean="$ac_dir/Makefile"
7191 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7193 wine_fn_append_rule \
7194 "__clean__: $ac_dir/clean
7195 .PHONY: $ac_dir/clean
7196 $ac_dir/clean: dummy
7197 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7200 wine_fn_config_makefile ()
7202 ac_dir=$1
7203 ac_enable=$2
7204 ac_flags=$3
7206 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7207 wine_fn_disabled_rules; return
7209 wine_fn_all_rules
7210 wine_fn_install_rules
7211 wine_fn_clean_rules
7214 wine_fn_config_lib ()
7216 ac_name=$1
7217 ac_flags=$2
7218 ac_dir=dlls/$ac_name
7219 ac_deps="include"
7221 if test "x$enable_tools" = xno; then :
7223 else
7224 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7226 wine_fn_all_rules
7227 wine_fn_clean_rules
7229 wine_fn_append_rule \
7230 ".PHONY: $ac_dir/install $ac_dir/uninstall
7231 $ac_dir/install:: $ac_dir
7232 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7233 $ac_dir/uninstall::
7234 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7235 install install-dev:: $ac_dir/install
7236 __uninstall__: $ac_dir/uninstall
7237 __builddeps__: $ac_dir
7238 $ac_dir: $ac_deps"
7241 wine_fn_config_dll ()
7243 ac_name=$1
7244 ac_dir=dlls/$ac_name
7245 ac_enable=$2
7246 ac_flags=$3
7247 ac_implib=${4:-$ac_name}
7248 ac_file=$ac_dir/lib$ac_implib
7249 ac_dll=$ac_name
7250 ac_deps="include"
7251 ac_implibflags=""
7253 if test "x$enable_tools" = xno; then :
7255 else
7256 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7258 case $ac_name in
7259 *16) ac_implibflags=" -m16" ;;
7260 *.*) ;;
7261 *) ac_dll=$ac_dll.dll ;;
7262 esac
7264 ac_clean=
7265 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7266 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7267 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7268 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7270 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7271 if wine_fn_has_flag implib && test "$ac_enable" != enable_win16
7272 then
7273 wine_fn_depend_rules
7274 wine_fn_clean_rules $ac_clean
7275 else
7276 wine_fn_disabled_rules $ac_clean
7277 return
7279 else
7280 wine_fn_all_rules
7281 wine_fn_clean_rules $ac_clean
7282 wine_fn_append_rule \
7283 "$ac_dir: __builddeps__
7284 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7285 @cd $ac_dir && \$(MAKE) \$@
7286 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7287 install install-lib:: $ac_dir/install-lib
7288 __uninstall__: $ac_dir/uninstall"
7289 if test -n "$DLLEXT"
7290 then
7291 wine_fn_append_rule \
7292 "$ac_dir/install-lib:: $ac_dir
7293 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7294 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7295 $ac_dir/uninstall::
7296 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7297 else
7298 wine_fn_append_rule \
7299 "$ac_dir/install-lib:: $ac_dir
7300 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7301 $ac_dir/uninstall::
7302 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7305 wine_fn_pot_rules
7308 if wine_fn_has_flag staticimplib
7309 then
7310 wine_fn_append_rule \
7311 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7312 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7313 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7314 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7315 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7316 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7317 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7318 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7319 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7320 $ac_dir/uninstall::
7321 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7322 install install-dev:: $ac_dir/install-dev
7323 __uninstall__: $ac_dir/uninstall"
7325 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7326 then
7327 wine_fn_append_rule \
7328 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7329 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7330 $ac_dir/uninstall::
7331 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7334 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7335 then
7336 wine_fn_append_rule \
7337 "__builddeps__: $ac_file.cross.a
7338 $ac_file.cross.a: $ac_dir/Makefile dummy
7339 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7342 elif wine_fn_has_flag implib
7343 then
7344 wine_fn_append_rule \
7345 "__builddeps__: $ac_file.$IMPLIBEXT
7346 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7347 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7348 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7349 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7350 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7351 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7352 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7353 $ac_dir/uninstall::
7354 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7355 install install-dev:: $ac_dir/install-dev
7356 __uninstall__: $ac_dir/uninstall"
7357 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7358 then
7359 wine_fn_append_rule \
7360 "__builddeps__: $ac_file.cross.a
7361 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7362 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7365 if test "$ac_name" != "$ac_implib"
7366 then
7367 wine_fn_append_rule \
7368 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7369 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7370 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7371 clean::
7372 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7373 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7374 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7375 then
7376 wine_fn_append_rule \
7377 "__builddeps__: dlls/lib$ac_implib.cross.a
7378 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7379 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7380 clean::
7381 \$(RM) dlls/lib$ac_implib.cross.a"
7382 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7388 wine_fn_config_program ()
7390 ac_name=$1
7391 ac_dir=programs/$ac_name
7392 ac_enable=$2
7393 ac_flags=$3
7394 ac_program=$ac_name
7396 case $ac_name in
7397 *.*) ;;
7398 *) ac_program=$ac_program.exe ;;
7399 esac
7401 ac_clean=
7402 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7403 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7404 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7405 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7407 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7408 wine_fn_disabled_rules $ac_clean; return
7411 wine_fn_all_rules
7412 wine_fn_clean_rules $ac_clean
7413 wine_fn_append_rule "$ac_dir: __builddeps__"
7414 wine_fn_pot_rules
7416 wine_fn_has_flag install || return
7417 wine_fn_append_rule \
7418 ".PHONY: $ac_dir/install $ac_dir/uninstall
7419 install install-lib:: $ac_dir/install
7420 __uninstall__: $ac_dir/uninstall"
7422 if test -n "$DLLEXT"
7423 then
7424 wine_fn_append_rule \
7425 "$ac_dir/install:: $ac_dir
7426 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7427 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7428 $ac_dir/uninstall::
7429 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7431 if test -z "$with_wine64" && wine_fn_has_flag installbin
7432 then
7433 wine_fn_append_rule \
7434 "$ac_dir/install:: __tooldeps__
7435 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7436 $ac_dir/uninstall::
7437 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7439 else
7440 wine_fn_append_rule \
7441 "$ac_dir/install:: $ac_dir
7442 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7443 $ac_dir/uninstall::
7444 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7447 if test -z "$with_wine64" && wine_fn_has_flag manpage
7448 then
7449 wine_fn_append_rule \
7450 "$ac_dir/install:: $ac_dir
7451 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7452 $ac_dir/uninstall::
7453 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7457 wine_fn_config_test ()
7459 ac_dir=$1
7460 ac_name=$2
7461 ac_flags=$3
7463 ac_clean=
7464 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7465 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7467 if test "x$enable_tests" = xno; then :
7468 wine_fn_disabled_rules $ac_clean; return
7471 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7472 wine_fn_all_rules
7473 wine_fn_clean_rules $ac_clean
7475 wine_fn_append_rule \
7476 "$ac_dir: programs/winetest/Makefile __builddeps__
7477 programs/winetest: $ac_dir
7478 check test: $ac_dir/test
7479 .PHONY: $ac_dir/test
7480 $ac_dir/test: dummy
7481 @cd $ac_dir && \$(MAKE) test
7482 testclean::
7483 \$(RM) $ac_dir/*.ok"
7485 if test -n "$CROSSTARGET"
7486 then
7487 wine_fn_append_rule \
7488 "crosstest: $ac_dir/crosstest
7489 .PHONY: $ac_dir/crosstest
7490 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7491 @cd $ac_dir && \$(MAKE) crosstest"
7495 wine_fn_config_tool ()
7497 ac_dir=$1
7498 ac_flags=$2
7499 if test "x$enable_tools" = xno; then :
7500 return
7503 wine_fn_all_rules
7504 wine_fn_install_rules
7505 wine_fn_clean_rules
7507 wine_fn_append_rule "__tooldeps__: $ac_dir"
7508 wine_fn_append_rule "$ac_dir: libs/port"
7509 case $ac_dir in
7510 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7511 esac
7514 wine_fn_config_symlink ()
7516 ac_linkdir=
7517 if test "x$1" = "x-d"
7518 then
7519 ac_linkdir=$2
7520 shift; shift
7522 ac_links=$@
7523 wine_fn_append_rule \
7524 "$ac_links:
7525 @./config.status \$@
7526 distclean::
7527 \$(RM) $ac_links"
7528 for f in $ac_links; do wine_fn_ignore_file $f; done
7529 test -n "$ac_linkdir" || return
7530 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7533 wine_binary="wine"
7534 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7535 loader_programs="$wine_binary wine-installed"
7536 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7538 LOADER_RULES="
7539 all: wine.inf
7541 install install-lib:: wine-installed
7542 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7544 uninstall::
7545 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7549 case $host_os in
7550 cygwin*|mingw32*)
7551 if test -n "$ac_tool_prefix"; then
7552 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7553 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7555 $as_echo_n "checking for $ac_word... " >&6; }
7556 if ${ac_cv_prog_DLLTOOL+:} false; then :
7557 $as_echo_n "(cached) " >&6
7558 else
7559 if test -n "$DLLTOOL"; then
7560 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7561 else
7562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7563 for as_dir in $PATH
7565 IFS=$as_save_IFS
7566 test -z "$as_dir" && as_dir=.
7567 for ac_exec_ext in '' $ac_executable_extensions; do
7568 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7569 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7570 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7571 break 2
7573 done
7574 done
7575 IFS=$as_save_IFS
7579 DLLTOOL=$ac_cv_prog_DLLTOOL
7580 if test -n "$DLLTOOL"; then
7581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7582 $as_echo "$DLLTOOL" >&6; }
7583 else
7584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7585 $as_echo "no" >&6; }
7590 if test -z "$ac_cv_prog_DLLTOOL"; then
7591 ac_ct_DLLTOOL=$DLLTOOL
7592 # Extract the first word of "dlltool", so it can be a program name with args.
7593 set dummy dlltool; ac_word=$2
7594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7595 $as_echo_n "checking for $ac_word... " >&6; }
7596 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7597 $as_echo_n "(cached) " >&6
7598 else
7599 if test -n "$ac_ct_DLLTOOL"; then
7600 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7601 else
7602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7603 for as_dir in $PATH
7605 IFS=$as_save_IFS
7606 test -z "$as_dir" && as_dir=.
7607 for ac_exec_ext in '' $ac_executable_extensions; do
7608 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7609 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7610 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7611 break 2
7613 done
7614 done
7615 IFS=$as_save_IFS
7619 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7620 if test -n "$ac_ct_DLLTOOL"; then
7621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7622 $as_echo "$ac_ct_DLLTOOL" >&6; }
7623 else
7624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7625 $as_echo "no" >&6; }
7628 if test "x$ac_ct_DLLTOOL" = x; then
7629 DLLTOOL="false"
7630 else
7631 case $cross_compiling:$ac_tool_warned in
7632 yes:)
7633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7634 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7635 ac_tool_warned=yes ;;
7636 esac
7637 DLLTOOL=$ac_ct_DLLTOOL
7639 else
7640 DLLTOOL="$ac_cv_prog_DLLTOOL"
7643 LIBEXT="dll"
7644 DLLEXT=""
7645 IMPLIBEXT="a"
7646 STATIC_IMPLIBEXT="a"
7647 enable_iphlpapi=${enable_iphlpapi:-no}
7648 enable_kernel32=${enable_kernel32:-no}
7649 enable_msvcrt=${enable_msvcrt:-no}
7650 enable_ntdll=${enable_ntdll:-no}
7651 enable_ws2_32=${enable_ws2_32:-no}
7652 enable_loader=${enable_loader:-no}
7653 enable_server=${enable_server:-no}
7654 with_x=${with_x:-no}
7655 with_pthread=${with_pthread:-no}
7657 crtlibs=""
7658 case $host_os in
7659 mingw32*)
7660 crtlibs="-lmsvcrt"
7661 SOCKET_LIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7663 esac
7665 libwine_targets="libwine.dll libwine.a"
7666 LIBWINE_RULES="
7667 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7669 all: libwine.dll libwine.a
7671 libwine.a: \$(srcdir)/wine.def
7672 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7674 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7675 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7677 install install-lib:: libwine.dll
7678 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7680 install install-dev:: libwine.a
7681 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7683 uninstall::
7684 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7689 darwin*|macosx*)
7690 LIBEXT="dylib"
7691 DLLFLAGS="$DLLFLAGS -fPIC"
7692 LIBWINE_LDFLAGS="-multiply_defined suppress"
7693 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7694 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7695 COREFOUNDATION_LIBS="-framework CoreFoundation"
7697 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7699 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7701 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7703 CORESERVICES_LIBS="-framework CoreServices"
7705 APPKIT_LIBS="-framework AppKit"
7707 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7708 case $host_os in
7709 darwin11*) LDEXECFLAGS="-Wl,-macosx_version_min,10.6 $LDEXECFLAGS" ;;
7710 esac
7711 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7712 then
7713 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
7716 if test "$ac_cv_header_Security_Security_h" = "yes"
7717 then
7718 SECURITY_LIBS="-framework Security -framework CoreFoundation"
7720 ac_save_LIBS="$LIBS"
7721 LIBS="$LIBS $SECURITY_LIBS"
7722 for ac_func in SSLCopyPeerCertificates
7723 do :
7724 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7725 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
7726 cat >>confdefs.h <<_ACEOF
7727 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7728 _ACEOF
7731 done
7733 LIBS="$ac_save_LIBS"
7734 with_gnutls=${with_gnutls:-no}
7736 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7737 then
7738 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7739 then
7740 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7742 else
7743 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7746 ac_save_LIBS="$LIBS"
7747 LIBS="$LIBS $COREAUDIO_LIBS"
7748 for ac_func in AUGraphAddNode
7749 do :
7750 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7751 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
7752 cat >>confdefs.h <<_ACEOF
7753 #define HAVE_AUGRAPHADDNODE 1
7754 _ACEOF
7757 done
7759 LIBS="$ac_save_LIBS"
7761 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7762 then
7763 OPENAL_LIBS="-framework OpenAL"
7766 cat >>confdefs.h <<_ACEOF
7767 #define HAVE_OPENAL 1
7768 _ACEOF
7770 ac_cv_lib_openal=yes
7772 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7773 then
7774 OPENCL_LIBS="-framework OpenCL"
7776 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
7778 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7779 then
7780 ac_save_LIBS="$LIBS"
7781 LIBS="$LIBS $IOKIT_LIBS"
7782 for ac_func in IOHIDManagerCreate
7783 do :
7784 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7785 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
7786 cat >>confdefs.h <<_ACEOF
7787 #define HAVE_IOHIDMANAGERCREATE 1
7788 _ACEOF
7791 done
7793 LIBS="$ac_save_LIBS"
7795 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7796 then
7797 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7799 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
7800 else
7801 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7803 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7804 then
7805 CARBON_LIBS="-framework Carbon"
7809 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7810 then
7811 ac_save_LIBS="$LIBS"
7812 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
7813 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7814 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
7815 enable_winemac_drv=${enable_winemac_drv:-yes}
7818 LIBS="$ac_save_LIBS"
7821 if test "x$enable_win16" = "xyes"
7822 then
7823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7824 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7825 if test "$cross_compiling" = yes; then :
7826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7827 $as_echo "cross-compiling, assuming yes" >&6; }
7828 else
7829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7830 /* end confdefs.h. */
7831 asm(".text\n"
7832 "bad:\tnop;nop\n"
7833 "good:\tnop;nop\n\t"
7834 ".globl _testfunc\n"
7835 "_testfunc:\tcallw good");
7836 extern void testfunc();
7838 main ()
7840 unsigned short *p = (unsigned short *)testfunc;
7841 return p[0] != 0xe866 || p[1] != 0xfffa
7843 return 0;
7845 _ACEOF
7846 if ac_fn_c_try_run "$LINENO"; then :
7847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7848 $as_echo "yes" >&6; }
7849 else
7850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7851 $as_echo "no" >&6; }
7852 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
7854 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7855 conftest.$ac_objext conftest.beam conftest.$ac_ext
7860 libwine_targets="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
7861 LIBWINE_RULES="
7862 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7864 all: libwine.dylib
7866 libwine.$libwine_version.dylib: \$(OBJS)
7867 \$(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 \$@
7869 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
7870 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
7872 libwine.dylib: libwine.$libwine_soversion.dylib
7873 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
7875 install install-lib:: libwine.$libwine_version.dylib
7876 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
7877 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
7879 install install-dev::
7880 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
7882 uninstall::
7883 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
7887 as_fn_append LOADER_RULES "
7888 $wine_binary: main.o wine_info.plist
7889 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7891 wine-installed: main.o wine_info.plist
7892 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7896 linux-android*)
7897 DLLFLAGS="$DLLFLAGS -fPIC"
7898 DLLPREFIX="lib"
7899 LDEXECFLAGS=""
7900 dlldir="\${libdir}"
7901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7902 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7903 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
7904 $as_echo_n "(cached) " >&6
7905 else
7906 ac_wine_try_cflags_saved=$CFLAGS
7907 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
7908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7909 /* end confdefs.h. */
7910 int main(int argc, char **argv) { return 0; }
7911 _ACEOF
7912 if ac_fn_c_try_link "$LINENO"; then :
7913 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
7914 else
7915 ac_cv_cflags__fPIC__Wl___export_dynamic=no
7917 rm -f core conftest.err conftest.$ac_objext \
7918 conftest$ac_exeext conftest.$ac_ext
7919 CFLAGS=$ac_wine_try_cflags_saved
7921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7922 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7923 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
7924 LDEXECFLAGS="-Wl,--export-dynamic"
7926 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7928 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7929 if eval \${$as_ac_var+:} false; then :
7930 $as_echo_n "(cached) " >&6
7931 else
7932 ac_wine_try_cflags_saved=$CFLAGS
7933 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7935 /* end confdefs.h. */
7936 int main(int argc, char **argv) { return 0; }
7937 _ACEOF
7938 if ac_fn_c_try_link "$LINENO"; then :
7939 eval "$as_ac_var=yes"
7940 else
7941 eval "$as_ac_var=no"
7943 rm -f core conftest.err conftest.$ac_objext \
7944 conftest$ac_exeext conftest.$ac_ext
7945 CFLAGS=$ac_wine_try_cflags_saved
7947 eval ac_res=\$$as_ac_var
7948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7949 $as_echo "$ac_res" >&6; }
7950 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
7951 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7952 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7953 else
7954 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7956 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7957 if eval \${$as_ac_var+:} false; then :
7958 $as_echo_n "(cached) " >&6
7959 else
7960 ac_wine_try_cflags_saved=$CFLAGS
7961 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7963 /* end confdefs.h. */
7964 int main(int argc, char **argv) { return 0; }
7965 _ACEOF
7966 if ac_fn_c_try_link "$LINENO"; then :
7967 eval "$as_ac_var=yes"
7968 else
7969 eval "$as_ac_var=no"
7971 rm -f core conftest.err conftest.$ac_objext \
7972 conftest$ac_exeext conftest.$ac_ext
7973 CFLAGS=$ac_wine_try_cflags_saved
7975 eval ac_res=\$$as_ac_var
7976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7977 $as_echo "$ac_res" >&6; }
7978 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
7979 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7980 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7985 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7986 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
7987 $as_echo_n "(cached) " >&6
7988 else
7989 ac_wine_try_cflags_saved=$CFLAGS
7990 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
7991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7992 /* end confdefs.h. */
7993 int main(int argc, char **argv) { return 0; }
7994 _ACEOF
7995 if ac_fn_c_try_link "$LINENO"; then :
7996 ac_cv_cflags__Wl___enable_new_dtags=yes
7997 else
7998 ac_cv_cflags__Wl___enable_new_dtags=no
8000 rm -f core conftest.err conftest.$ac_objext \
8001 conftest$ac_exeext conftest.$ac_ext
8002 CFLAGS=$ac_wine_try_cflags_saved
8004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8005 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8006 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8007 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8010 case $host_cpu in
8011 *i[3456789]86* | x86_64)
8012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8013 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8014 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8015 $as_echo_n "(cached) " >&6
8016 else
8017 ac_wine_try_cflags_saved=$CFLAGS
8018 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8020 /* end confdefs.h. */
8021 int main(int argc, char **argv) { return 0; }
8022 _ACEOF
8023 if ac_fn_c_try_link "$LINENO"; then :
8024 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8025 else
8026 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8028 rm -f core conftest.err conftest.$ac_objext \
8029 conftest$ac_exeext conftest.$ac_ext
8030 CFLAGS=$ac_wine_try_cflags_saved
8032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8033 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8034 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8035 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8038 esac
8040 libwine_targets="libwine.so"
8041 LIBWINE_RULES="
8042 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8044 all: libwine.so
8046 libwine.so: \$(OBJS)
8047 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8049 install install-lib:: libwine.so
8050 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8052 uninstall::
8053 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8057 as_fn_append LOADER_RULES "
8058 $wine_binary: main.o
8059 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8061 wine-installed: main.o
8062 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8067 DLLFLAGS="$DLLFLAGS -fPIC"
8068 LDEXECFLAGS=""
8069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8070 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8071 if ${ac_cv_c_dll_gnuelf+:} false; then :
8072 $as_echo_n "(cached) " >&6
8073 else
8074 ac_wine_try_cflags_saved=$CFLAGS
8075 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8077 /* end confdefs.h. */
8078 void myfunc() {}
8079 _ACEOF
8080 if ac_fn_c_try_link "$LINENO"; then :
8081 ac_cv_c_dll_gnuelf="yes"
8082 else
8083 ac_cv_c_dll_gnuelf="no"
8085 rm -f core conftest.err conftest.$ac_objext \
8086 conftest$ac_exeext conftest.$ac_ext
8087 CFLAGS=$ac_wine_try_cflags_saved
8089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8090 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8091 if test "$ac_cv_c_dll_gnuelf" = "yes"
8092 then
8093 LDSHARED="\$(CC) -shared"
8094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8095 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8096 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8097 $as_echo_n "(cached) " >&6
8098 else
8099 ac_wine_try_cflags_saved=$CFLAGS
8100 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8102 /* end confdefs.h. */
8103 int main(int argc, char **argv) { return 0; }
8104 _ACEOF
8105 if ac_fn_c_try_link "$LINENO"; then :
8106 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8107 else
8108 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8110 rm -f core conftest.err conftest.$ac_objext \
8111 conftest$ac_exeext conftest.$ac_ext
8112 CFLAGS=$ac_wine_try_cflags_saved
8114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8115 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8116 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8117 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8118 else
8119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8120 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8121 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8122 $as_echo_n "(cached) " >&6
8123 else
8124 ac_wine_try_cflags_saved=$CFLAGS
8125 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8127 /* end confdefs.h. */
8128 int main(int argc, char **argv) { return 0; }
8129 _ACEOF
8130 if ac_fn_c_try_link "$LINENO"; then :
8131 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8132 else
8133 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8135 rm -f core conftest.err conftest.$ac_objext \
8136 conftest$ac_exeext conftest.$ac_ext
8137 CFLAGS=$ac_wine_try_cflags_saved
8139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8140 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8141 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8142 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8146 echo '{ global: *; };' >conftest.map
8147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8148 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8149 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8150 $as_echo_n "(cached) " >&6
8151 else
8152 ac_wine_try_cflags_saved=$CFLAGS
8153 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8155 /* end confdefs.h. */
8156 int main(int argc, char **argv) { return 0; }
8157 _ACEOF
8158 if ac_fn_c_try_link "$LINENO"; then :
8159 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8160 else
8161 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8163 rm -f core conftest.err conftest.$ac_objext \
8164 conftest$ac_exeext conftest.$ac_ext
8165 CFLAGS=$ac_wine_try_cflags_saved
8167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8168 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8169 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8170 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8172 rm -f conftest.map
8174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8175 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8176 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8177 $as_echo_n "(cached) " >&6
8178 else
8179 ac_wine_try_cflags_saved=$CFLAGS
8180 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8182 /* end confdefs.h. */
8183 int main(int argc, char **argv) { return 0; }
8184 _ACEOF
8185 if ac_fn_c_try_link "$LINENO"; then :
8186 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8187 else
8188 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8190 rm -f core conftest.err conftest.$ac_objext \
8191 conftest$ac_exeext conftest.$ac_ext
8192 CFLAGS=$ac_wine_try_cflags_saved
8194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8195 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8196 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8197 LDEXECFLAGS="-Wl,--export-dynamic"
8200 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8202 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8203 if eval \${$as_ac_var+:} false; then :
8204 $as_echo_n "(cached) " >&6
8205 else
8206 ac_wine_try_cflags_saved=$CFLAGS
8207 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8209 /* end confdefs.h. */
8210 int main(int argc, char **argv) { return 0; }
8211 _ACEOF
8212 if ac_fn_c_try_link "$LINENO"; then :
8213 eval "$as_ac_var=yes"
8214 else
8215 eval "$as_ac_var=no"
8217 rm -f core conftest.err conftest.$ac_objext \
8218 conftest$ac_exeext conftest.$ac_ext
8219 CFLAGS=$ac_wine_try_cflags_saved
8221 eval ac_res=\$$as_ac_var
8222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8223 $as_echo "$ac_res" >&6; }
8224 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8225 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8226 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8227 else
8228 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8230 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8231 if eval \${$as_ac_var+:} false; then :
8232 $as_echo_n "(cached) " >&6
8233 else
8234 ac_wine_try_cflags_saved=$CFLAGS
8235 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8237 /* end confdefs.h. */
8238 int main(int argc, char **argv) { return 0; }
8239 _ACEOF
8240 if ac_fn_c_try_link "$LINENO"; then :
8241 eval "$as_ac_var=yes"
8242 else
8243 eval "$as_ac_var=no"
8245 rm -f core conftest.err conftest.$ac_objext \
8246 conftest$ac_exeext conftest.$ac_ext
8247 CFLAGS=$ac_wine_try_cflags_saved
8249 eval ac_res=\$$as_ac_var
8250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8251 $as_echo "$ac_res" >&6; }
8252 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8253 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8254 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8259 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8260 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8261 $as_echo_n "(cached) " >&6
8262 else
8263 ac_wine_try_cflags_saved=$CFLAGS
8264 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8266 /* end confdefs.h. */
8267 int main(int argc, char **argv) { return 0; }
8268 _ACEOF
8269 if ac_fn_c_try_link "$LINENO"; then :
8270 ac_cv_cflags__Wl___enable_new_dtags=yes
8271 else
8272 ac_cv_cflags__Wl___enable_new_dtags=no
8274 rm -f core conftest.err conftest.$ac_objext \
8275 conftest$ac_exeext conftest.$ac_ext
8276 CFLAGS=$ac_wine_try_cflags_saved
8278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8279 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8280 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8281 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8284 case $host_cpu in
8285 *i[3456789]86* | x86_64)
8286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8287 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8288 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8289 $as_echo_n "(cached) " >&6
8290 else
8291 ac_wine_try_cflags_saved=$CFLAGS
8292 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8294 /* end confdefs.h. */
8295 int main(int argc, char **argv) { return 0; }
8296 _ACEOF
8297 if ac_fn_c_try_link "$LINENO"; then :
8298 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8299 else
8300 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8302 rm -f core conftest.err conftest.$ac_objext \
8303 conftest$ac_exeext conftest.$ac_ext
8304 CFLAGS=$ac_wine_try_cflags_saved
8306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8307 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8308 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8309 case $host_os in
8310 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8311 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8312 esac
8315 # Extract the first word of "prelink", so it can be a program name with args.
8316 set dummy prelink; ac_word=$2
8317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8318 $as_echo_n "checking for $ac_word... " >&6; }
8319 if ${ac_cv_path_PRELINK+:} false; then :
8320 $as_echo_n "(cached) " >&6
8321 else
8322 case $PRELINK in
8323 [\\/]* | ?:[\\/]*)
8324 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8328 for as_dir in /sbin /usr/sbin $PATH
8330 IFS=$as_save_IFS
8331 test -z "$as_dir" && as_dir=.
8332 for ac_exec_ext in '' $ac_executable_extensions; do
8333 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8334 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8335 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8336 break 2
8338 done
8339 done
8340 IFS=$as_save_IFS
8342 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8344 esac
8346 PRELINK=$ac_cv_path_PRELINK
8347 if test -n "$PRELINK"; then
8348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8349 $as_echo "$PRELINK" >&6; }
8350 else
8351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8352 $as_echo "no" >&6; }
8356 if test "x$PRELINK" = xfalse
8357 then
8358 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
8361 esac
8363 else
8364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8365 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8366 if ${ac_cv_c_dll_unixware+:} false; then :
8367 $as_echo_n "(cached) " >&6
8368 else
8369 ac_wine_try_cflags_saved=$CFLAGS
8370 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8372 /* end confdefs.h. */
8373 void myfunc() {}
8374 _ACEOF
8375 if ac_fn_c_try_link "$LINENO"; then :
8376 ac_cv_c_dll_unixware="yes"
8377 else
8378 ac_cv_c_dll_unixware="no"
8380 rm -f core conftest.err conftest.$ac_objext \
8381 conftest$ac_exeext conftest.$ac_ext
8382 CFLAGS=$ac_wine_try_cflags_saved
8384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8385 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8386 if test "$ac_cv_c_dll_unixware" = "yes"
8387 then
8388 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8391 libwine_targets="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8392 LIBWINE_RULES="
8393 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8395 all: libwine.so
8397 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8398 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8400 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8401 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8403 libwine.so: libwine.so.$libwine_soversion
8404 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8406 install install-lib:: libwine.so.$libwine_version
8407 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8408 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8410 install install-dev::
8411 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8413 uninstall::
8414 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8418 as_fn_append LOADER_RULES "
8419 $wine_binary: main.o
8420 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8422 wine-installed: main.o
8423 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8426 esac
8428 as_fn_append LIBWINE_RULES "
8429 EXTRA_TARGETS = $libwine_targets
8432 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8433 enable_winemac_drv=${enable_winemac_drv:-no}
8435 CROSSTARGET=""
8437 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8438 then
8439 case "$host_cpu" in
8440 i[3456789]86*)
8441 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
8442 mingw32-gcc" ;;
8443 x86_64)
8444 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 " ;;
8446 ac_prefix_list="" ;;
8447 esac
8448 for ac_prog in $ac_prefix_list
8450 # Extract the first word of "$ac_prog", so it can be a program name with args.
8451 set dummy $ac_prog; ac_word=$2
8452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8453 $as_echo_n "checking for $ac_word... " >&6; }
8454 if ${ac_cv_prog_CROSSCC+:} false; then :
8455 $as_echo_n "(cached) " >&6
8456 else
8457 if test -n "$CROSSCC"; then
8458 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8459 else
8460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8461 for as_dir in $PATH
8463 IFS=$as_save_IFS
8464 test -z "$as_dir" && as_dir=.
8465 for ac_exec_ext in '' $ac_executable_extensions; do
8466 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8467 ac_cv_prog_CROSSCC="$ac_prog"
8468 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8469 break 2
8471 done
8472 done
8473 IFS=$as_save_IFS
8477 CROSSCC=$ac_cv_prog_CROSSCC
8478 if test -n "$CROSSCC"; then
8479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8480 $as_echo "$CROSSCC" >&6; }
8481 else
8482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8483 $as_echo "no" >&6; }
8487 test -n "$CROSSCC" && break
8488 done
8489 test -n "$CROSSCC" || CROSSCC="false"
8491 if test "$CROSSCC" != "false"
8492 then
8493 ac_save_CC="$CC"
8494 CC="$CROSSCC"
8495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8496 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8498 /* end confdefs.h. */
8501 main ()
8505 return 0;
8507 _ACEOF
8508 if ac_fn_c_try_compile "$LINENO"; then :
8509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8510 $as_echo "yes" >&6; }
8511 set x $CROSSCC
8512 shift
8513 while test $# -ge 1
8515 case "$1" in
8516 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8517 esac
8518 shift
8519 done
8520 else
8521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8522 $as_echo "no" >&6; }
8524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8525 CC="$ac_save_CC"
8530 if test "$ac_cv_header_pthread_h" = "yes"
8531 then
8532 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8533 if test "x$ac_cv_func_pthread_create" = xyes; then :
8535 else
8536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8537 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8538 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8539 $as_echo_n "(cached) " >&6
8540 else
8541 ac_check_lib_save_LIBS=$LIBS
8542 LIBS="-lpthread $LIBS"
8543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8544 /* end confdefs.h. */
8546 /* Override any GCC internal prototype to avoid an error.
8547 Use char because int might match the return type of a GCC
8548 builtin and then its argument prototype would still apply. */
8549 #ifdef __cplusplus
8550 extern "C"
8551 #endif
8552 char pthread_create ();
8554 main ()
8556 return pthread_create ();
8558 return 0;
8560 _ACEOF
8561 if ac_fn_c_try_link "$LINENO"; then :
8562 ac_cv_lib_pthread_pthread_create=yes
8563 else
8564 ac_cv_lib_pthread_pthread_create=no
8566 rm -f core conftest.err conftest.$ac_objext \
8567 conftest$ac_exeext conftest.$ac_ext
8568 LIBS=$ac_check_lib_save_LIBS
8570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8571 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8572 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8573 PTHREAD_LIBS="-lpthread"
8580 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8581 case "x$with_pthread" in
8582 xno) ;;
8583 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8584 Wine cannot support threads without libpthread.
8585 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8586 esac
8590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8591 $as_echo_n "checking for X... " >&6; }
8594 # Check whether --with-x was given.
8595 if test "${with_x+set}" = set; then :
8596 withval=$with_x;
8599 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8600 if test "x$with_x" = xno; then
8601 # The user explicitly disabled X.
8602 have_x=disabled
8603 else
8604 case $x_includes,$x_libraries in #(
8605 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8606 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8607 $as_echo_n "(cached) " >&6
8608 else
8609 # One or both of the vars are not set, and there is no cached value.
8610 ac_x_includes=no ac_x_libraries=no
8611 rm -f -r conftest.dir
8612 if mkdir conftest.dir; then
8613 cd conftest.dir
8614 cat >Imakefile <<'_ACEOF'
8615 incroot:
8616 @echo incroot='${INCROOT}'
8617 usrlibdir:
8618 @echo usrlibdir='${USRLIBDIR}'
8619 libdir:
8620 @echo libdir='${LIBDIR}'
8621 _ACEOF
8622 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8623 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8624 for ac_var in incroot usrlibdir libdir; do
8625 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8626 done
8627 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8628 for ac_extension in a so sl dylib la dll; do
8629 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8630 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8631 ac_im_usrlibdir=$ac_im_libdir; break
8633 done
8634 # Screen out bogus values from the imake configuration. They are
8635 # bogus both because they are the default anyway, and because
8636 # using them would break gcc on systems where it needs fixed includes.
8637 case $ac_im_incroot in
8638 /usr/include) ac_x_includes= ;;
8639 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8640 esac
8641 case $ac_im_usrlibdir in
8642 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8643 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8644 esac
8646 cd ..
8647 rm -f -r conftest.dir
8650 # Standard set of common directories for X headers.
8651 # Check X11 before X11Rn because it is often a symlink to the current release.
8652 ac_x_header_dirs='
8653 /usr/X11/include
8654 /usr/X11R7/include
8655 /usr/X11R6/include
8656 /usr/X11R5/include
8657 /usr/X11R4/include
8659 /usr/include/X11
8660 /usr/include/X11R7
8661 /usr/include/X11R6
8662 /usr/include/X11R5
8663 /usr/include/X11R4
8665 /usr/local/X11/include
8666 /usr/local/X11R7/include
8667 /usr/local/X11R6/include
8668 /usr/local/X11R5/include
8669 /usr/local/X11R4/include
8671 /usr/local/include/X11
8672 /usr/local/include/X11R7
8673 /usr/local/include/X11R6
8674 /usr/local/include/X11R5
8675 /usr/local/include/X11R4
8677 /usr/X386/include
8678 /usr/x386/include
8679 /usr/XFree86/include/X11
8681 /usr/include
8682 /usr/local/include
8683 /usr/unsupported/include
8684 /usr/athena/include
8685 /usr/local/x11r5/include
8686 /usr/lpp/Xamples/include
8688 /usr/openwin/include
8689 /usr/openwin/share/include'
8691 if test "$ac_x_includes" = no; then
8692 # Guess where to find include files, by looking for Xlib.h.
8693 # First, try using that file with no special directory specified.
8694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8695 /* end confdefs.h. */
8696 #include <X11/Xlib.h>
8697 _ACEOF
8698 if ac_fn_c_try_cpp "$LINENO"; then :
8699 # We can compile using X headers with no special include directory.
8700 ac_x_includes=
8701 else
8702 for ac_dir in $ac_x_header_dirs; do
8703 if test -r "$ac_dir/X11/Xlib.h"; then
8704 ac_x_includes=$ac_dir
8705 break
8707 done
8709 rm -f conftest.err conftest.i conftest.$ac_ext
8710 fi # $ac_x_includes = no
8712 if test "$ac_x_libraries" = no; then
8713 # Check for the libraries.
8714 # See if we find them without any special options.
8715 # Don't add to $LIBS permanently.
8716 ac_save_LIBS=$LIBS
8717 LIBS="-lX11 $LIBS"
8718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8719 /* end confdefs.h. */
8720 #include <X11/Xlib.h>
8722 main ()
8724 XrmInitialize ()
8726 return 0;
8728 _ACEOF
8729 if ac_fn_c_try_link "$LINENO"; then :
8730 LIBS=$ac_save_LIBS
8731 # We can link X programs with no special library path.
8732 ac_x_libraries=
8733 else
8734 LIBS=$ac_save_LIBS
8735 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8737 # Don't even attempt the hair of trying to link an X program!
8738 for ac_extension in a so sl dylib la dll; do
8739 if test -r "$ac_dir/libX11.$ac_extension"; then
8740 ac_x_libraries=$ac_dir
8741 break 2
8743 done
8744 done
8746 rm -f core conftest.err conftest.$ac_objext \
8747 conftest$ac_exeext conftest.$ac_ext
8748 fi # $ac_x_libraries = no
8750 case $ac_x_includes,$ac_x_libraries in #(
8751 no,* | *,no | *\'*)
8752 # Didn't find X, or a directory has "'" in its name.
8753 ac_cv_have_x="have_x=no";; #(
8755 # Record where we found X for the cache.
8756 ac_cv_have_x="have_x=yes\
8757 ac_x_includes='$ac_x_includes'\
8758 ac_x_libraries='$ac_x_libraries'"
8759 esac
8761 ;; #(
8762 *) have_x=yes;;
8763 esac
8764 eval "$ac_cv_have_x"
8765 fi # $with_x != no
8767 if test "$have_x" != yes; then
8768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8769 $as_echo "$have_x" >&6; }
8770 no_x=yes
8771 else
8772 # If each of the values was on the command line, it overrides each guess.
8773 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
8774 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
8775 # Update the cache value to reflect the command line values.
8776 ac_cv_have_x="have_x=yes\
8777 ac_x_includes='$x_includes'\
8778 ac_x_libraries='$x_libraries'"
8779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8780 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8783 if test "$no_x" = yes; then
8784 # Not all programs may use this symbol, but it does not hurt to define it.
8786 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8788 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
8789 else
8790 if test -n "$x_includes"; then
8791 X_CFLAGS="$X_CFLAGS -I$x_includes"
8794 # It would also be nice to do this for all -L options, not just this one.
8795 if test -n "$x_libraries"; then
8796 X_LIBS="$X_LIBS -L$x_libraries"
8797 # For Solaris; some versions of Sun CC require a space after -R and
8798 # others require no space. Words are not sufficient . . . .
8799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8800 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8801 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
8802 ac_xsave_c_werror_flag=$ac_c_werror_flag
8803 ac_c_werror_flag=yes
8804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8805 /* end confdefs.h. */
8808 main ()
8812 return 0;
8814 _ACEOF
8815 if ac_fn_c_try_link "$LINENO"; then :
8816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8817 $as_echo "no" >&6; }
8818 X_LIBS="$X_LIBS -R$x_libraries"
8819 else
8820 LIBS="$ac_xsave_LIBS -R $x_libraries"
8821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8822 /* end confdefs.h. */
8825 main ()
8829 return 0;
8831 _ACEOF
8832 if ac_fn_c_try_link "$LINENO"; then :
8833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8834 $as_echo "yes" >&6; }
8835 X_LIBS="$X_LIBS -R $x_libraries"
8836 else
8837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8838 $as_echo "neither works" >&6; }
8840 rm -f core conftest.err conftest.$ac_objext \
8841 conftest$ac_exeext conftest.$ac_ext
8843 rm -f core conftest.err conftest.$ac_objext \
8844 conftest$ac_exeext conftest.$ac_ext
8845 ac_c_werror_flag=$ac_xsave_c_werror_flag
8846 LIBS=$ac_xsave_LIBS
8849 # Check for system-dependent libraries X programs must link with.
8850 # Do this before checking for the system-independent R6 libraries
8851 # (-lICE), since we may need -lsocket or whatever for X linking.
8853 if test "$ISC" = yes; then
8854 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
8855 else
8856 # Martyn Johnson says this is needed for Ultrix, if the X
8857 # libraries were built with DECnet support. And Karl Berry says
8858 # the Alpha needs dnet_stub (dnet does not exist).
8859 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
8860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8861 /* end confdefs.h. */
8863 /* Override any GCC internal prototype to avoid an error.
8864 Use char because int might match the return type of a GCC
8865 builtin and then its argument prototype would still apply. */
8866 #ifdef __cplusplus
8867 extern "C"
8868 #endif
8869 char XOpenDisplay ();
8871 main ()
8873 return XOpenDisplay ();
8875 return 0;
8877 _ACEOF
8878 if ac_fn_c_try_link "$LINENO"; then :
8880 else
8881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8882 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8883 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
8884 $as_echo_n "(cached) " >&6
8885 else
8886 ac_check_lib_save_LIBS=$LIBS
8887 LIBS="-ldnet $LIBS"
8888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8889 /* end confdefs.h. */
8891 /* Override any GCC internal prototype to avoid an error.
8892 Use char because int might match the return type of a GCC
8893 builtin and then its argument prototype would still apply. */
8894 #ifdef __cplusplus
8895 extern "C"
8896 #endif
8897 char dnet_ntoa ();
8899 main ()
8901 return dnet_ntoa ();
8903 return 0;
8905 _ACEOF
8906 if ac_fn_c_try_link "$LINENO"; then :
8907 ac_cv_lib_dnet_dnet_ntoa=yes
8908 else
8909 ac_cv_lib_dnet_dnet_ntoa=no
8911 rm -f core conftest.err conftest.$ac_objext \
8912 conftest$ac_exeext conftest.$ac_ext
8913 LIBS=$ac_check_lib_save_LIBS
8915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8916 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8917 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
8918 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
8921 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
8922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8923 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8924 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
8925 $as_echo_n "(cached) " >&6
8926 else
8927 ac_check_lib_save_LIBS=$LIBS
8928 LIBS="-ldnet_stub $LIBS"
8929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8930 /* end confdefs.h. */
8932 /* Override any GCC internal prototype to avoid an error.
8933 Use char because int might match the return type of a GCC
8934 builtin and then its argument prototype would still apply. */
8935 #ifdef __cplusplus
8936 extern "C"
8937 #endif
8938 char dnet_ntoa ();
8940 main ()
8942 return dnet_ntoa ();
8944 return 0;
8946 _ACEOF
8947 if ac_fn_c_try_link "$LINENO"; then :
8948 ac_cv_lib_dnet_stub_dnet_ntoa=yes
8949 else
8950 ac_cv_lib_dnet_stub_dnet_ntoa=no
8952 rm -f core conftest.err conftest.$ac_objext \
8953 conftest$ac_exeext conftest.$ac_ext
8954 LIBS=$ac_check_lib_save_LIBS
8956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8957 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
8958 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
8959 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
8964 rm -f core conftest.err conftest.$ac_objext \
8965 conftest$ac_exeext conftest.$ac_ext
8966 LIBS="$ac_xsave_LIBS"
8968 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8969 # to get the SysV transport functions.
8970 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
8971 # needs -lnsl.
8972 # The nsl library prevents programs from opening the X display
8973 # on Irix 5.2, according to T.E. Dickey.
8974 # The functions gethostbyname, getservbyname, and inet_addr are
8975 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
8976 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
8977 if test "x$ac_cv_func_gethostbyname" = xyes; then :
8981 if test $ac_cv_func_gethostbyname = no; then
8982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
8983 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
8984 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
8985 $as_echo_n "(cached) " >&6
8986 else
8987 ac_check_lib_save_LIBS=$LIBS
8988 LIBS="-lnsl $LIBS"
8989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8990 /* end confdefs.h. */
8992 /* Override any GCC internal prototype to avoid an error.
8993 Use char because int might match the return type of a GCC
8994 builtin and then its argument prototype would still apply. */
8995 #ifdef __cplusplus
8996 extern "C"
8997 #endif
8998 char gethostbyname ();
9000 main ()
9002 return gethostbyname ();
9004 return 0;
9006 _ACEOF
9007 if ac_fn_c_try_link "$LINENO"; then :
9008 ac_cv_lib_nsl_gethostbyname=yes
9009 else
9010 ac_cv_lib_nsl_gethostbyname=no
9012 rm -f core conftest.err conftest.$ac_objext \
9013 conftest$ac_exeext conftest.$ac_ext
9014 LIBS=$ac_check_lib_save_LIBS
9016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9017 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9018 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9019 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9022 if test $ac_cv_lib_nsl_gethostbyname = no; then
9023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9024 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9025 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9026 $as_echo_n "(cached) " >&6
9027 else
9028 ac_check_lib_save_LIBS=$LIBS
9029 LIBS="-lbsd $LIBS"
9030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9031 /* end confdefs.h. */
9033 /* Override any GCC internal prototype to avoid an error.
9034 Use char because int might match the return type of a GCC
9035 builtin and then its argument prototype would still apply. */
9036 #ifdef __cplusplus
9037 extern "C"
9038 #endif
9039 char gethostbyname ();
9041 main ()
9043 return gethostbyname ();
9045 return 0;
9047 _ACEOF
9048 if ac_fn_c_try_link "$LINENO"; then :
9049 ac_cv_lib_bsd_gethostbyname=yes
9050 else
9051 ac_cv_lib_bsd_gethostbyname=no
9053 rm -f core conftest.err conftest.$ac_objext \
9054 conftest$ac_exeext conftest.$ac_ext
9055 LIBS=$ac_check_lib_save_LIBS
9057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9058 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9059 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9060 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9066 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9067 # socket/setsockopt and other routines are undefined under SCO ODT
9068 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9069 # on later versions), says Simon Leinen: it contains gethostby*
9070 # variants that don't use the name server (or something). -lsocket
9071 # must be given before -lnsl if both are needed. We assume that
9072 # if connect needs -lnsl, so does gethostbyname.
9073 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9074 if test "x$ac_cv_func_connect" = xyes; then :
9078 if test $ac_cv_func_connect = no; then
9079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9080 $as_echo_n "checking for connect in -lsocket... " >&6; }
9081 if ${ac_cv_lib_socket_connect+:} false; then :
9082 $as_echo_n "(cached) " >&6
9083 else
9084 ac_check_lib_save_LIBS=$LIBS
9085 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9087 /* end confdefs.h. */
9089 /* Override any GCC internal prototype to avoid an error.
9090 Use char because int might match the return type of a GCC
9091 builtin and then its argument prototype would still apply. */
9092 #ifdef __cplusplus
9093 extern "C"
9094 #endif
9095 char connect ();
9097 main ()
9099 return connect ();
9101 return 0;
9103 _ACEOF
9104 if ac_fn_c_try_link "$LINENO"; then :
9105 ac_cv_lib_socket_connect=yes
9106 else
9107 ac_cv_lib_socket_connect=no
9109 rm -f core conftest.err conftest.$ac_objext \
9110 conftest$ac_exeext conftest.$ac_ext
9111 LIBS=$ac_check_lib_save_LIBS
9113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9114 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9115 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9116 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9121 # Guillermo Gomez says -lposix is necessary on A/UX.
9122 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9123 if test "x$ac_cv_func_remove" = xyes; then :
9127 if test $ac_cv_func_remove = no; then
9128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9129 $as_echo_n "checking for remove in -lposix... " >&6; }
9130 if ${ac_cv_lib_posix_remove+:} false; then :
9131 $as_echo_n "(cached) " >&6
9132 else
9133 ac_check_lib_save_LIBS=$LIBS
9134 LIBS="-lposix $LIBS"
9135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9136 /* end confdefs.h. */
9138 /* Override any GCC internal prototype to avoid an error.
9139 Use char because int might match the return type of a GCC
9140 builtin and then its argument prototype would still apply. */
9141 #ifdef __cplusplus
9142 extern "C"
9143 #endif
9144 char remove ();
9146 main ()
9148 return remove ();
9150 return 0;
9152 _ACEOF
9153 if ac_fn_c_try_link "$LINENO"; then :
9154 ac_cv_lib_posix_remove=yes
9155 else
9156 ac_cv_lib_posix_remove=no
9158 rm -f core conftest.err conftest.$ac_objext \
9159 conftest$ac_exeext conftest.$ac_ext
9160 LIBS=$ac_check_lib_save_LIBS
9162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9163 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9164 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9165 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9170 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9171 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9172 if test "x$ac_cv_func_shmat" = xyes; then :
9176 if test $ac_cv_func_shmat = no; then
9177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9178 $as_echo_n "checking for shmat in -lipc... " >&6; }
9179 if ${ac_cv_lib_ipc_shmat+:} false; then :
9180 $as_echo_n "(cached) " >&6
9181 else
9182 ac_check_lib_save_LIBS=$LIBS
9183 LIBS="-lipc $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 shmat ();
9195 main ()
9197 return shmat ();
9199 return 0;
9201 _ACEOF
9202 if ac_fn_c_try_link "$LINENO"; then :
9203 ac_cv_lib_ipc_shmat=yes
9204 else
9205 ac_cv_lib_ipc_shmat=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_ipc_shmat" >&5
9212 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9213 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9214 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9220 # Check for libraries that X11R6 Xt/Xaw programs need.
9221 ac_save_LDFLAGS=$LDFLAGS
9222 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9223 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9224 # check for ICE first), but we must link in the order -lSM -lICE or
9225 # we get undefined symbols. So assume we have SM if we have ICE.
9226 # These have to be linked with before -lX11, unlike the other
9227 # libraries we check for below, so use a different variable.
9228 # John Interrante, Karl Berry
9229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9230 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9231 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9232 $as_echo_n "(cached) " >&6
9233 else
9234 ac_check_lib_save_LIBS=$LIBS
9235 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9237 /* end confdefs.h. */
9239 /* Override any GCC internal prototype to avoid an error.
9240 Use char because int might match the return type of a GCC
9241 builtin and then its argument prototype would still apply. */
9242 #ifdef __cplusplus
9243 extern "C"
9244 #endif
9245 char IceConnectionNumber ();
9247 main ()
9249 return IceConnectionNumber ();
9251 return 0;
9253 _ACEOF
9254 if ac_fn_c_try_link "$LINENO"; then :
9255 ac_cv_lib_ICE_IceConnectionNumber=yes
9256 else
9257 ac_cv_lib_ICE_IceConnectionNumber=no
9259 rm -f core conftest.err conftest.$ac_objext \
9260 conftest$ac_exeext conftest.$ac_ext
9261 LIBS=$ac_check_lib_save_LIBS
9263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9264 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9265 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9266 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9269 LDFLAGS=$ac_save_LDFLAGS
9274 if test "$have_x" = "yes"
9275 then
9276 ac_save_CPPFLAGS="$CPPFLAGS"
9277 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9280 $as_echo_n "checking for -lX11... " >&6; }
9281 if ${ac_cv_lib_soname_X11+:} false; then :
9282 $as_echo_n "(cached) " >&6
9283 else
9284 ac_check_soname_save_LIBS=$LIBS
9285 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9287 /* end confdefs.h. */
9289 /* Override any GCC internal prototype to avoid an error.
9290 Use char because int might match the return type of a GCC
9291 builtin and then its argument prototype would still apply. */
9292 #ifdef __cplusplus
9293 extern "C"
9294 #endif
9295 char XCreateWindow ();
9297 main ()
9299 return XCreateWindow ();
9301 return 0;
9303 _ACEOF
9304 if ac_fn_c_try_link "$LINENO"; then :
9305 case "$LIBEXT" in
9306 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9307 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'` ;;
9308 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9309 if ${ac_cv_lib_soname_X11:+false} :; then :
9310 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9311 fi ;;
9312 esac
9314 rm -f core conftest.err conftest.$ac_objext \
9315 conftest$ac_exeext conftest.$ac_ext
9316 LIBS=$ac_check_soname_save_LIBS
9318 if ${ac_cv_lib_soname_X11:+false} :; then :
9319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9320 $as_echo "not found" >&6; }
9322 else
9323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9324 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9326 cat >>confdefs.h <<_ACEOF
9327 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9328 _ACEOF
9332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9333 $as_echo_n "checking for -lXext... " >&6; }
9334 if ${ac_cv_lib_soname_Xext+:} false; then :
9335 $as_echo_n "(cached) " >&6
9336 else
9337 ac_check_soname_save_LIBS=$LIBS
9338 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9340 /* end confdefs.h. */
9342 /* Override any GCC internal prototype to avoid an error.
9343 Use char because int might match the return type of a GCC
9344 builtin and then its argument prototype would still apply. */
9345 #ifdef __cplusplus
9346 extern "C"
9347 #endif
9348 char XextCreateExtension ();
9350 main ()
9352 return XextCreateExtension ();
9354 return 0;
9356 _ACEOF
9357 if ac_fn_c_try_link "$LINENO"; then :
9358 case "$LIBEXT" in
9359 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9360 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'` ;;
9361 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9362 if ${ac_cv_lib_soname_Xext:+false} :; then :
9363 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9364 fi ;;
9365 esac
9367 rm -f core conftest.err conftest.$ac_objext \
9368 conftest$ac_exeext conftest.$ac_ext
9369 LIBS=$ac_check_soname_save_LIBS
9371 if ${ac_cv_lib_soname_Xext:+false} :; then :
9372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9373 $as_echo "not found" >&6; }
9375 else
9376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9377 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9379 cat >>confdefs.h <<_ACEOF
9380 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9381 _ACEOF
9383 X_LIBS="$X_LIBS -lXext"
9385 X_LIBS="$X_LIBS -lX11"
9387 for ac_header in X11/Xlib.h \
9388 X11/XKBlib.h \
9389 X11/Xutil.h \
9390 X11/Xcursor/Xcursor.h \
9391 X11/extensions/shape.h \
9392 X11/extensions/XInput.h \
9393 X11/extensions/XInput2.h \
9394 X11/extensions/XShm.h \
9395 X11/extensions/Xcomposite.h \
9396 X11/extensions/Xinerama.h \
9397 X11/extensions/Xrandr.h \
9398 X11/extensions/Xrender.h \
9399 X11/extensions/xf86vmode.h \
9400 X11/extensions/xf86vmproto.h
9401 do :
9402 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9403 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9404 # include <X11/Xlib.h>
9405 #endif
9406 #ifdef HAVE_X11_XUTIL_H
9407 # include <X11/Xutil.h>
9408 #endif
9410 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9411 cat >>confdefs.h <<_ACEOF
9412 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9413 _ACEOF
9417 done
9420 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9421 then
9422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9423 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9424 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9425 $as_echo_n "(cached) " >&6
9426 else
9427 ac_check_lib_save_LIBS=$LIBS
9428 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9430 /* end confdefs.h. */
9432 /* Override any GCC internal prototype to avoid an error.
9433 Use char because int might match the return type of a GCC
9434 builtin and then its argument prototype would still apply. */
9435 #ifdef __cplusplus
9436 extern "C"
9437 #endif
9438 char XkbQueryExtension ();
9440 main ()
9442 return XkbQueryExtension ();
9444 return 0;
9446 _ACEOF
9447 if ac_fn_c_try_link "$LINENO"; then :
9448 ac_cv_lib_X11_XkbQueryExtension=yes
9449 else
9450 ac_cv_lib_X11_XkbQueryExtension=no
9452 rm -f core conftest.err conftest.$ac_objext \
9453 conftest$ac_exeext conftest.$ac_ext
9454 LIBS=$ac_check_lib_save_LIBS
9456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9457 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9458 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9460 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9466 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9467 then
9468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9469 $as_echo_n "checking for -lXcursor... " >&6; }
9470 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9471 $as_echo_n "(cached) " >&6
9472 else
9473 ac_check_soname_save_LIBS=$LIBS
9474 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9476 /* end confdefs.h. */
9478 /* Override any GCC internal prototype to avoid an error.
9479 Use char because int might match the return type of a GCC
9480 builtin and then its argument prototype would still apply. */
9481 #ifdef __cplusplus
9482 extern "C"
9483 #endif
9484 char XcursorImageLoadCursor ();
9486 main ()
9488 return XcursorImageLoadCursor ();
9490 return 0;
9492 _ACEOF
9493 if ac_fn_c_try_link "$LINENO"; then :
9494 case "$LIBEXT" in
9495 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9496 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'` ;;
9497 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9498 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9499 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9500 fi ;;
9501 esac
9503 rm -f core conftest.err conftest.$ac_objext \
9504 conftest$ac_exeext conftest.$ac_ext
9505 LIBS=$ac_check_soname_save_LIBS
9507 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9509 $as_echo "not found" >&6; }
9511 else
9512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9513 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9515 cat >>confdefs.h <<_ACEOF
9516 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9517 _ACEOF
9522 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9523 case "x$with_xcursor" in
9524 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9525 xno) ;;
9526 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9527 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9528 esac
9531 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9532 then
9533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9534 $as_echo_n "checking for -lXi... " >&6; }
9535 if ${ac_cv_lib_soname_Xi+:} false; then :
9536 $as_echo_n "(cached) " >&6
9537 else
9538 ac_check_soname_save_LIBS=$LIBS
9539 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9541 /* end confdefs.h. */
9543 /* Override any GCC internal prototype to avoid an error.
9544 Use char because int might match the return type of a GCC
9545 builtin and then its argument prototype would still apply. */
9546 #ifdef __cplusplus
9547 extern "C"
9548 #endif
9549 char XOpenDevice ();
9551 main ()
9553 return XOpenDevice ();
9555 return 0;
9557 _ACEOF
9558 if ac_fn_c_try_link "$LINENO"; then :
9559 case "$LIBEXT" in
9560 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9561 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'` ;;
9562 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9563 if ${ac_cv_lib_soname_Xi:+false} :; then :
9564 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9565 fi ;;
9566 esac
9568 rm -f core conftest.err conftest.$ac_objext \
9569 conftest$ac_exeext conftest.$ac_ext
9570 LIBS=$ac_check_soname_save_LIBS
9572 if ${ac_cv_lib_soname_Xi:+false} :; then :
9573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9574 $as_echo "not found" >&6; }
9576 else
9577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9578 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9580 cat >>confdefs.h <<_ACEOF
9581 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9582 _ACEOF
9587 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9588 case "x$with_xinput" in
9589 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9590 xno) ;;
9591 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9592 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9593 esac
9596 if test "x$ac_cv_lib_soname_Xi" != x
9597 then
9598 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9599 case "x$with_xinput2" in
9600 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9601 xno) ;;
9602 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9603 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9604 esac
9608 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9609 then
9610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9611 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9612 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9613 $as_echo_n "(cached) " >&6
9614 else
9615 ac_check_lib_save_LIBS=$LIBS
9616 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9618 /* end confdefs.h. */
9620 /* Override any GCC internal prototype to avoid an error.
9621 Use char because int might match the return type of a GCC
9622 builtin and then its argument prototype would still apply. */
9623 #ifdef __cplusplus
9624 extern "C"
9625 #endif
9626 char XShmQueryExtension ();
9628 main ()
9630 return XShmQueryExtension ();
9632 return 0;
9634 _ACEOF
9635 if ac_fn_c_try_link "$LINENO"; then :
9636 ac_cv_lib_Xext_XShmQueryExtension=yes
9637 else
9638 ac_cv_lib_Xext_XShmQueryExtension=no
9640 rm -f core conftest.err conftest.$ac_objext \
9641 conftest$ac_exeext conftest.$ac_ext
9642 LIBS=$ac_check_lib_save_LIBS
9644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9645 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9646 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9648 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9653 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9654 case "x$with_xshm" in
9655 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9656 xno) ;;
9657 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9658 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9659 esac
9662 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9663 then
9664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9665 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9666 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9667 $as_echo_n "(cached) " >&6
9668 else
9669 ac_check_lib_save_LIBS=$LIBS
9670 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9672 /* end confdefs.h. */
9674 /* Override any GCC internal prototype to avoid an error.
9675 Use char because int might match the return type of a GCC
9676 builtin and then its argument prototype would still apply. */
9677 #ifdef __cplusplus
9678 extern "C"
9679 #endif
9680 char XShapeQueryExtension ();
9682 main ()
9684 return XShapeQueryExtension ();
9686 return 0;
9688 _ACEOF
9689 if ac_fn_c_try_link "$LINENO"; then :
9690 ac_cv_lib_Xext_XShapeQueryExtension=yes
9691 else
9692 ac_cv_lib_Xext_XShapeQueryExtension=no
9694 rm -f core conftest.err conftest.$ac_objext \
9695 conftest$ac_exeext conftest.$ac_ext
9696 LIBS=$ac_check_lib_save_LIBS
9698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9699 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9700 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9702 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9707 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9708 case "x$with_xshape" in
9709 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9710 xno) ;;
9711 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
9712 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9713 esac
9716 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9717 then
9718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9719 $as_echo_n "checking for -lXxf86vm... " >&6; }
9720 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
9721 $as_echo_n "(cached) " >&6
9722 else
9723 ac_check_soname_save_LIBS=$LIBS
9724 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9726 /* end confdefs.h. */
9728 /* Override any GCC internal prototype to avoid an error.
9729 Use char because int might match the return type of a GCC
9730 builtin and then its argument prototype would still apply. */
9731 #ifdef __cplusplus
9732 extern "C"
9733 #endif
9734 char XF86VidModeQueryExtension ();
9736 main ()
9738 return XF86VidModeQueryExtension ();
9740 return 0;
9742 _ACEOF
9743 if ac_fn_c_try_link "$LINENO"; then :
9744 case "$LIBEXT" in
9745 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9746 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'` ;;
9747 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9748 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9749 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9750 fi ;;
9751 esac
9753 rm -f core conftest.err conftest.$ac_objext \
9754 conftest$ac_exeext conftest.$ac_ext
9755 LIBS=$ac_check_soname_save_LIBS
9757 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9759 $as_echo "not found" >&6; }
9761 else
9762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9763 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9765 cat >>confdefs.h <<_ACEOF
9766 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9767 _ACEOF
9772 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9773 case "x$with_xxf86vm" in
9774 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9775 xno) ;;
9776 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9777 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9778 esac
9781 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"
9782 then
9783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9784 $as_echo_n "checking for -lXrender... " >&6; }
9785 if ${ac_cv_lib_soname_Xrender+:} false; then :
9786 $as_echo_n "(cached) " >&6
9787 else
9788 ac_check_soname_save_LIBS=$LIBS
9789 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9791 /* end confdefs.h. */
9793 /* Override any GCC internal prototype to avoid an error.
9794 Use char because int might match the return type of a GCC
9795 builtin and then its argument prototype would still apply. */
9796 #ifdef __cplusplus
9797 extern "C"
9798 #endif
9799 char XRenderQueryExtension ();
9801 main ()
9803 return XRenderQueryExtension ();
9805 return 0;
9807 _ACEOF
9808 if ac_fn_c_try_link "$LINENO"; then :
9809 case "$LIBEXT" in
9810 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9811 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'` ;;
9812 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9813 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9814 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9815 fi ;;
9816 esac
9818 rm -f core conftest.err conftest.$ac_objext \
9819 conftest$ac_exeext conftest.$ac_ext
9820 LIBS=$ac_check_soname_save_LIBS
9822 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9824 $as_echo "not found" >&6; }
9826 else
9827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9828 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9830 cat >>confdefs.h <<_ACEOF
9831 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9832 _ACEOF
9834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9835 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9836 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
9837 $as_echo_n "(cached) " >&6
9838 else
9839 ac_check_lib_save_LIBS=$LIBS
9840 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9842 /* end confdefs.h. */
9844 /* Override any GCC internal prototype to avoid an error.
9845 Use char because int might match the return type of a GCC
9846 builtin and then its argument prototype would still apply. */
9847 #ifdef __cplusplus
9848 extern "C"
9849 #endif
9850 char XRenderSetPictureTransform ();
9852 main ()
9854 return XRenderSetPictureTransform ();
9856 return 0;
9858 _ACEOF
9859 if ac_fn_c_try_link "$LINENO"; then :
9860 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9861 else
9862 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9864 rm -f core conftest.err conftest.$ac_objext \
9865 conftest$ac_exeext conftest.$ac_ext
9866 LIBS=$ac_check_lib_save_LIBS
9868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9869 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9870 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
9872 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9877 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9878 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
9879 $as_echo_n "(cached) " >&6
9880 else
9881 ac_check_lib_save_LIBS=$LIBS
9882 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9884 /* end confdefs.h. */
9886 /* Override any GCC internal prototype to avoid an error.
9887 Use char because int might match the return type of a GCC
9888 builtin and then its argument prototype would still apply. */
9889 #ifdef __cplusplus
9890 extern "C"
9891 #endif
9892 char XRenderCreateLinearGradient ();
9894 main ()
9896 return XRenderCreateLinearGradient ();
9898 return 0;
9900 _ACEOF
9901 if ac_fn_c_try_link "$LINENO"; then :
9902 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
9903 else
9904 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
9906 rm -f core conftest.err conftest.$ac_objext \
9907 conftest$ac_exeext conftest.$ac_ext
9908 LIBS=$ac_check_lib_save_LIBS
9910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9911 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9912 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
9914 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9921 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9922 case "x$with_xrender" in
9923 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9924 xno) ;;
9925 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
9926 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9927 esac
9930 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9931 then
9932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9933 /* end confdefs.h. */
9934 #include <X11/Xlib.h>
9935 #include <X11/extensions/Xrandr.h>
9937 main ()
9939 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9941 return 0;
9943 _ACEOF
9944 if ac_fn_c_try_compile "$LINENO"; then :
9945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9946 $as_echo_n "checking for -lXrandr... " >&6; }
9947 if ${ac_cv_lib_soname_Xrandr+:} false; then :
9948 $as_echo_n "(cached) " >&6
9949 else
9950 ac_check_soname_save_LIBS=$LIBS
9951 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
9952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9953 /* end confdefs.h. */
9955 /* Override any GCC internal prototype to avoid an error.
9956 Use char because int might match the return type of a GCC
9957 builtin and then its argument prototype would still apply. */
9958 #ifdef __cplusplus
9959 extern "C"
9960 #endif
9961 char XRRQueryExtension ();
9963 main ()
9965 return XRRQueryExtension ();
9967 return 0;
9969 _ACEOF
9970 if ac_fn_c_try_link "$LINENO"; then :
9971 case "$LIBEXT" in
9972 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9973 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'` ;;
9974 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9975 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
9976 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9977 fi ;;
9978 esac
9980 rm -f core conftest.err conftest.$ac_objext \
9981 conftest$ac_exeext conftest.$ac_ext
9982 LIBS=$ac_check_soname_save_LIBS
9984 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
9985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9986 $as_echo "not found" >&6; }
9988 else
9989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
9990 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
9992 cat >>confdefs.h <<_ACEOF
9993 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
9994 _ACEOF
9996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9997 /* end confdefs.h. */
9998 #include <X11/Xlib.h>
9999 #include <X11/extensions/Xrandr.h>
10001 main ()
10003 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10005 return 0;
10007 _ACEOF
10008 if ac_fn_c_try_compile "$LINENO"; then :
10010 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10018 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10019 case "x$with_xrandr" in
10020 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10021 xno) ;;
10022 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10023 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10024 esac
10027 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10028 then
10029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10030 /* end confdefs.h. */
10031 #include <X11/Xlib.h>
10032 #include <X11/extensions/Xinerama.h>
10034 main ()
10036 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10038 return 0;
10040 _ACEOF
10041 if ac_fn_c_try_compile "$LINENO"; then :
10042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10043 $as_echo_n "checking for -lXinerama... " >&6; }
10044 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10045 $as_echo_n "(cached) " >&6
10046 else
10047 ac_check_soname_save_LIBS=$LIBS
10048 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10050 /* end confdefs.h. */
10052 /* Override any GCC internal prototype to avoid an error.
10053 Use char because int might match the return type of a GCC
10054 builtin and then its argument prototype would still apply. */
10055 #ifdef __cplusplus
10056 extern "C"
10057 #endif
10058 char XineramaQueryScreens ();
10060 main ()
10062 return XineramaQueryScreens ();
10064 return 0;
10066 _ACEOF
10067 if ac_fn_c_try_link "$LINENO"; then :
10068 case "$LIBEXT" in
10069 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10070 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'` ;;
10071 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10072 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10073 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10074 fi ;;
10075 esac
10077 rm -f core conftest.err conftest.$ac_objext \
10078 conftest$ac_exeext conftest.$ac_ext
10079 LIBS=$ac_check_soname_save_LIBS
10081 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10083 $as_echo "not found" >&6; }
10085 else
10086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10087 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10089 cat >>confdefs.h <<_ACEOF
10090 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10091 _ACEOF
10096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10098 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10099 case "x$with_xinerama" in
10100 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10101 xno) ;;
10102 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10103 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10104 esac
10107 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10108 then
10109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10110 $as_echo_n "checking for -lXcomposite... " >&6; }
10111 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10112 $as_echo_n "(cached) " >&6
10113 else
10114 ac_check_soname_save_LIBS=$LIBS
10115 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10117 /* end confdefs.h. */
10119 /* Override any GCC internal prototype to avoid an error.
10120 Use char because int might match the return type of a GCC
10121 builtin and then its argument prototype would still apply. */
10122 #ifdef __cplusplus
10123 extern "C"
10124 #endif
10125 char XCompositeRedirectWindow ();
10127 main ()
10129 return XCompositeRedirectWindow ();
10131 return 0;
10133 _ACEOF
10134 if ac_fn_c_try_link "$LINENO"; then :
10135 case "$LIBEXT" in
10136 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10137 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'` ;;
10138 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10139 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10140 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10141 fi ;;
10142 esac
10144 rm -f core conftest.err conftest.$ac_objext \
10145 conftest$ac_exeext conftest.$ac_ext
10146 LIBS=$ac_check_soname_save_LIBS
10148 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10150 $as_echo "not found" >&6; }
10152 else
10153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10154 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10156 cat >>confdefs.h <<_ACEOF
10157 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10158 _ACEOF
10163 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10164 case "x$with_xcomposite" in
10165 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10166 xno) ;;
10167 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10168 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10169 esac
10172 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10173 #include <X11/Xlib.h>
10174 #endif
10176 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10178 cat >>confdefs.h <<_ACEOF
10179 #define HAVE_XICCALLBACK_CALLBACK 1
10180 _ACEOF
10184 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10185 #include <X11/Xlib.h>
10186 #endif
10188 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10190 cat >>confdefs.h <<_ACEOF
10191 #define HAVE_XEVENT_XCOOKIE 1
10192 _ACEOF
10199 opengl_msg=""
10200 if test "x$with_opengl" != "xno"
10201 then
10202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10203 $as_echo_n "checking for -lGL... " >&6; }
10204 if ${ac_cv_lib_soname_GL+:} false; then :
10205 $as_echo_n "(cached) " >&6
10206 else
10207 ac_check_soname_save_LIBS=$LIBS
10208 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10210 /* end confdefs.h. */
10212 /* Override any GCC internal prototype to avoid an error.
10213 Use char because int might match the return type of a GCC
10214 builtin and then its argument prototype would still apply. */
10215 #ifdef __cplusplus
10216 extern "C"
10217 #endif
10218 char glXCreateContext ();
10220 main ()
10222 return glXCreateContext ();
10224 return 0;
10226 _ACEOF
10227 if ac_fn_c_try_link "$LINENO"; then :
10228 case "$LIBEXT" in
10229 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10230 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'` ;;
10231 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10232 if ${ac_cv_lib_soname_GL:+false} :; then :
10233 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10234 fi ;;
10235 esac
10237 rm -f core conftest.err conftest.$ac_objext \
10238 conftest$ac_exeext conftest.$ac_ext
10239 LIBS=$ac_check_soname_save_LIBS
10241 if ${ac_cv_lib_soname_GL:+false} :; then :
10242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10243 $as_echo "not found" >&6; }
10244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10245 $as_echo_n "checking for -lGL... " >&6; }
10246 if ${ac_cv_lib_soname_GL+:} false; then :
10247 $as_echo_n "(cached) " >&6
10248 else
10249 ac_check_soname_save_LIBS=$LIBS
10250 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"
10251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10252 /* end confdefs.h. */
10254 /* Override any GCC internal prototype to avoid an error.
10255 Use char because int might match the return type of a GCC
10256 builtin and then its argument prototype would still apply. */
10257 #ifdef __cplusplus
10258 extern "C"
10259 #endif
10260 char glXCreateContext ();
10262 main ()
10264 return glXCreateContext ();
10266 return 0;
10268 _ACEOF
10269 if ac_fn_c_try_link "$LINENO"; then :
10270 case "$LIBEXT" in
10271 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10272 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'` ;;
10273 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10274 if ${ac_cv_lib_soname_GL:+false} :; then :
10275 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10276 fi ;;
10277 esac
10279 rm -f core conftest.err conftest.$ac_objext \
10280 conftest$ac_exeext conftest.$ac_ext
10281 LIBS=$ac_check_soname_save_LIBS
10283 if ${ac_cv_lib_soname_GL:+false} :; then :
10284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10285 $as_echo "not found" >&6; }
10286 if test -f /usr/X11R6/lib/libGL.a
10287 then
10288 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10289 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10290 else
10291 opengl_msg="No OpenGL library found on this system."
10293 else
10294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10295 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10297 cat >>confdefs.h <<_ACEOF
10298 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10299 _ACEOF
10301 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"
10303 else
10304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10305 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10307 cat >>confdefs.h <<_ACEOF
10308 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10309 _ACEOF
10311 OPENGL_LIBS="-lGL"
10313 if test "x$with_glu" != "xno"
10314 then
10315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10316 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10317 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10318 $as_echo_n "(cached) " >&6
10319 else
10320 ac_check_lib_save_LIBS=$LIBS
10321 LIBS="-lGLU $OPENGL_LIBS $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 gluLookAt ();
10333 main ()
10335 return gluLookAt ();
10337 return 0;
10339 _ACEOF
10340 if ac_fn_c_try_link "$LINENO"; then :
10341 ac_cv_lib_GLU_gluLookAt=yes
10342 else
10343 ac_cv_lib_GLU_gluLookAt=no
10345 rm -f core conftest.err conftest.$ac_objext \
10346 conftest$ac_exeext conftest.$ac_ext
10347 LIBS=$ac_check_lib_save_LIBS
10349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10350 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10351 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10355 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10356 case "x$with_glu" in
10357 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10358 xno) ;;
10359 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10360 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10361 esac
10365 if test "x$with_osmesa" != "xno"
10366 then
10367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10368 $as_echo_n "checking for -lOSMesa... " >&6; }
10369 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10370 $as_echo_n "(cached) " >&6
10371 else
10372 ac_check_soname_save_LIBS=$LIBS
10373 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10375 /* end confdefs.h. */
10377 /* Override any GCC internal prototype to avoid an error.
10378 Use char because int might match the return type of a GCC
10379 builtin and then its argument prototype would still apply. */
10380 #ifdef __cplusplus
10381 extern "C"
10382 #endif
10383 char glAccum ();
10385 main ()
10387 return glAccum ();
10389 return 0;
10391 _ACEOF
10392 if ac_fn_c_try_link "$LINENO"; then :
10393 case "$LIBEXT" in
10394 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10395 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'` ;;
10396 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10397 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10398 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10399 fi ;;
10400 esac
10402 rm -f core conftest.err conftest.$ac_objext \
10403 conftest$ac_exeext conftest.$ac_ext
10404 LIBS=$ac_check_soname_save_LIBS
10406 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10408 $as_echo "not found" >&6; }
10410 else
10411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10412 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10414 cat >>confdefs.h <<_ACEOF
10415 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10416 _ACEOF
10420 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10421 case "x$with_osmesa" in
10422 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10423 xno) ;;
10424 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10425 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10426 esac
10430 if test -n "$opengl_msg"; then :
10431 case "x$with_opengl" in
10432 x) as_fn_append wine_warnings "|$opengl_msg
10433 OpenGL and Direct3D won't be supported." ;;
10434 xno) ;;
10435 *) as_fn_error $? "$opengl_msg
10436 OpenGL and Direct3D won't be supported.
10437 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10438 esac
10441 CPPFLAGS="$ac_save_CPPFLAGS"
10442 else
10443 X_CFLAGS=""
10444 X_LIBS=""
10445 enable_winex11_drv=${enable_winex11_drv:-no}
10447 if test "x$X_LIBS" = "x"; then :
10448 case "x$with_x" in
10449 xno) ;;
10450 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10451 without X support, which probably isn't what you want. You will need
10452 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10453 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10454 esac
10457 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10459 if test "$ac_cv_header_CL_cl_h" = "yes"
10460 then
10461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10462 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10463 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10464 $as_echo_n "(cached) " >&6
10465 else
10466 ac_check_lib_save_LIBS=$LIBS
10467 LIBS="-lOpenCL $LIBS"
10468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10469 /* end confdefs.h. */
10471 /* Override any GCC internal prototype to avoid an error.
10472 Use char because int might match the return type of a GCC
10473 builtin and then its argument prototype would still apply. */
10474 #ifdef __cplusplus
10475 extern "C"
10476 #endif
10477 char clGetPlatformInfo ();
10479 main ()
10481 return clGetPlatformInfo ();
10483 return 0;
10485 _ACEOF
10486 if ac_fn_c_try_link "$LINENO"; then :
10487 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10488 else
10489 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10491 rm -f core conftest.err conftest.$ac_objext \
10492 conftest$ac_exeext conftest.$ac_ext
10493 LIBS=$ac_check_lib_save_LIBS
10495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10496 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10497 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10498 OPENCL_LIBS="-lOpenCL"
10503 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10504 case "x$with_opencl" in
10505 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10506 xno) ;;
10507 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10508 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10509 esac
10511 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10514 if test "x$with_xml" != "xno"
10515 then
10516 if ${XML2_CFLAGS:+false} :; then :
10517 if ${PKG_CONFIG+:} false; then :
10518 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10521 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10522 if ${XML2_LIBS:+false} :; then :
10523 if ${PKG_CONFIG+:} false; then :
10524 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10527 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10528 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10529 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10530 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10531 ac_save_CPPFLAGS=$CPPFLAGS
10532 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10533 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10534 do :
10535 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10536 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10537 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10538 cat >>confdefs.h <<_ACEOF
10539 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10540 _ACEOF
10544 done
10546 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"
10547 then
10548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10549 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10550 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10551 $as_echo_n "(cached) " >&6
10552 else
10553 ac_check_lib_save_LIBS=$LIBS
10554 LIBS="-lxml2 $XML2_LIBS $LIBS"
10555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10556 /* end confdefs.h. */
10558 /* Override any GCC internal prototype to avoid an error.
10559 Use char because int might match the return type of a GCC
10560 builtin and then its argument prototype would still apply. */
10561 #ifdef __cplusplus
10562 extern "C"
10563 #endif
10564 char xmlParseMemory ();
10566 main ()
10568 return xmlParseMemory ();
10570 return 0;
10572 _ACEOF
10573 if ac_fn_c_try_link "$LINENO"; then :
10574 ac_cv_lib_xml2_xmlParseMemory=yes
10575 else
10576 ac_cv_lib_xml2_xmlParseMemory=no
10578 rm -f core conftest.err conftest.$ac_objext \
10579 conftest$ac_exeext conftest.$ac_ext
10580 LIBS=$ac_check_lib_save_LIBS
10582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10583 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10584 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10586 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10588 else
10589 XML2_LIBS=""
10592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10593 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10594 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10595 $as_echo_n "(cached) " >&6
10596 else
10597 ac_check_lib_save_LIBS=$LIBS
10598 LIBS="-lxml2 $XML2_LIBS $LIBS"
10599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10600 /* end confdefs.h. */
10602 /* Override any GCC internal prototype to avoid an error.
10603 Use char because int might match the return type of a GCC
10604 builtin and then its argument prototype would still apply. */
10605 #ifdef __cplusplus
10606 extern "C"
10607 #endif
10608 char xmlReadMemory ();
10610 main ()
10612 return xmlReadMemory ();
10614 return 0;
10616 _ACEOF
10617 if ac_fn_c_try_link "$LINENO"; then :
10618 ac_cv_lib_xml2_xmlReadMemory=yes
10619 else
10620 ac_cv_lib_xml2_xmlReadMemory=no
10622 rm -f core conftest.err conftest.$ac_objext \
10623 conftest$ac_exeext conftest.$ac_ext
10624 LIBS=$ac_check_lib_save_LIBS
10626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10627 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10628 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
10630 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10635 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10636 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
10637 $as_echo_n "(cached) " >&6
10638 else
10639 ac_check_lib_save_LIBS=$LIBS
10640 LIBS="-lxml2 $XML2_LIBS $LIBS"
10641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10642 /* end confdefs.h. */
10644 /* Override any GCC internal prototype to avoid an error.
10645 Use char because int might match the return type of a GCC
10646 builtin and then its argument prototype would still apply. */
10647 #ifdef __cplusplus
10648 extern "C"
10649 #endif
10650 char xmlNewDocPI ();
10652 main ()
10654 return xmlNewDocPI ();
10656 return 0;
10658 _ACEOF
10659 if ac_fn_c_try_link "$LINENO"; then :
10660 ac_cv_lib_xml2_xmlNewDocPI=yes
10661 else
10662 ac_cv_lib_xml2_xmlNewDocPI=no
10664 rm -f core conftest.err conftest.$ac_objext \
10665 conftest$ac_exeext conftest.$ac_ext
10666 LIBS=$ac_check_lib_save_LIBS
10668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10669 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10670 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
10672 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10677 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10678 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
10679 $as_echo_n "(cached) " >&6
10680 else
10681 ac_check_lib_save_LIBS=$LIBS
10682 LIBS="-lxml2 $XML2_LIBS $LIBS"
10683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10684 /* end confdefs.h. */
10686 /* Override any GCC internal prototype to avoid an error.
10687 Use char because int might match the return type of a GCC
10688 builtin and then its argument prototype would still apply. */
10689 #ifdef __cplusplus
10690 extern "C"
10691 #endif
10692 char xmlSchemaSetParserStructuredErrors ();
10694 main ()
10696 return xmlSchemaSetParserStructuredErrors ();
10698 return 0;
10700 _ACEOF
10701 if ac_fn_c_try_link "$LINENO"; then :
10702 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
10703 else
10704 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
10706 rm -f core conftest.err conftest.$ac_objext \
10707 conftest$ac_exeext conftest.$ac_ext
10708 LIBS=$ac_check_lib_save_LIBS
10710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10711 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10712 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
10714 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10719 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10720 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
10721 $as_echo_n "(cached) " >&6
10722 else
10723 ac_check_lib_save_LIBS=$LIBS
10724 LIBS="-lxml2 $XML2_LIBS $LIBS"
10725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10726 /* end confdefs.h. */
10728 /* Override any GCC internal prototype to avoid an error.
10729 Use char because int might match the return type of a GCC
10730 builtin and then its argument prototype would still apply. */
10731 #ifdef __cplusplus
10732 extern "C"
10733 #endif
10734 char xmlSchemaSetValidStructuredErrors ();
10736 main ()
10738 return xmlSchemaSetValidStructuredErrors ();
10740 return 0;
10742 _ACEOF
10743 if ac_fn_c_try_link "$LINENO"; then :
10744 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
10745 else
10746 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
10748 rm -f core conftest.err conftest.$ac_objext \
10749 conftest$ac_exeext conftest.$ac_ext
10750 LIBS=$ac_check_lib_save_LIBS
10752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10753 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10754 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
10756 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10761 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10762 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
10763 $as_echo_n "(cached) " >&6
10764 else
10765 ac_check_lib_save_LIBS=$LIBS
10766 LIBS="-lxml2 $XML2_LIBS $LIBS"
10767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10768 /* end confdefs.h. */
10770 /* Override any GCC internal prototype to avoid an error.
10771 Use char because int might match the return type of a GCC
10772 builtin and then its argument prototype would still apply. */
10773 #ifdef __cplusplus
10774 extern "C"
10775 #endif
10776 char xmlFirstElementChild ();
10778 main ()
10780 return xmlFirstElementChild ();
10782 return 0;
10784 _ACEOF
10785 if ac_fn_c_try_link "$LINENO"; then :
10786 ac_cv_lib_xml2_xmlFirstElementChild=yes
10787 else
10788 ac_cv_lib_xml2_xmlFirstElementChild=no
10790 rm -f core conftest.err conftest.$ac_objext \
10791 conftest$ac_exeext conftest.$ac_ext
10792 LIBS=$ac_check_lib_save_LIBS
10794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10795 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10796 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
10798 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10802 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10804 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
10806 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10810 else
10811 XML2_CFLAGS=""
10812 XML2_LIBS=""
10814 CPPFLAGS=$ac_save_CPPFLAGS
10815 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10816 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10819 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10820 case "x$with_xml" in
10821 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10822 xno) ;;
10823 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10824 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10825 esac
10828 if test "x$with_xslt" != "xno"
10829 then
10830 if ${XSLT_CFLAGS:+false} :; then :
10831 if ${PKG_CONFIG+:} false; then :
10832 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10835 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10836 if ${XSLT_LIBS:+false} :; then :
10837 if ${PKG_CONFIG+:} false; then :
10838 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10841 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10842 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
10843 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
10844 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
10845 ac_save_CPPFLAGS=$CPPFLAGS
10846 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
10847 for ac_header in libxslt/pattern.h libxslt/transform.h
10848 do :
10849 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10850 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10851 # include <libxslt/pattern.h>
10852 #endif
10854 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10855 cat >>confdefs.h <<_ACEOF
10856 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10857 _ACEOF
10861 done
10863 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10864 then
10865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10866 $as_echo_n "checking for -lxslt... " >&6; }
10867 if ${ac_cv_lib_soname_xslt+:} false; then :
10868 $as_echo_n "(cached) " >&6
10869 else
10870 ac_check_soname_save_LIBS=$LIBS
10871 LIBS="-lxslt $XSLT_LIBS $LIBS"
10872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10873 /* end confdefs.h. */
10875 /* Override any GCC internal prototype to avoid an error.
10876 Use char because int might match the return type of a GCC
10877 builtin and then its argument prototype would still apply. */
10878 #ifdef __cplusplus
10879 extern "C"
10880 #endif
10881 char xsltCompilePattern ();
10883 main ()
10885 return xsltCompilePattern ();
10887 return 0;
10889 _ACEOF
10890 if ac_fn_c_try_link "$LINENO"; then :
10891 case "$LIBEXT" in
10892 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10893 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'` ;;
10894 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10895 if ${ac_cv_lib_soname_xslt:+false} :; then :
10896 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10897 fi ;;
10898 esac
10900 rm -f core conftest.err conftest.$ac_objext \
10901 conftest$ac_exeext conftest.$ac_ext
10902 LIBS=$ac_check_soname_save_LIBS
10904 if ${ac_cv_lib_soname_xslt:+false} :; then :
10905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10906 $as_echo "not found" >&6; }
10908 else
10909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
10910 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
10912 cat >>confdefs.h <<_ACEOF
10913 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
10914 _ACEOF
10918 else
10919 XSLT_CFLAGS=""
10921 CPPFLAGS=$ac_save_CPPFLAGS
10922 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10923 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10926 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10927 case "x$with_xslt" in
10928 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
10929 xno) ;;
10930 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
10931 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
10932 esac
10935 if test "x$with_dbus" != "xno"
10936 then
10937 if ${DBUS_CFLAGS:+false} :; then :
10938 if ${PKG_CONFIG+:} false; then :
10939 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
10943 if ${DBUS_LIBS:+false} :; then :
10944 if ${PKG_CONFIG+:} false; then :
10945 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
10950 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
10951 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
10952 ac_save_CPPFLAGS=$CPPFLAGS
10953 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
10954 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
10955 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
10956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
10957 $as_echo_n "checking for -ldbus-1... " >&6; }
10958 if ${ac_cv_lib_soname_dbus_1+:} false; then :
10959 $as_echo_n "(cached) " >&6
10960 else
10961 ac_check_soname_save_LIBS=$LIBS
10962 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
10963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10964 /* end confdefs.h. */
10966 /* Override any GCC internal prototype to avoid an error.
10967 Use char because int might match the return type of a GCC
10968 builtin and then its argument prototype would still apply. */
10969 #ifdef __cplusplus
10970 extern "C"
10971 #endif
10972 char dbus_connection_close ();
10974 main ()
10976 return dbus_connection_close ();
10978 return 0;
10980 _ACEOF
10981 if ac_fn_c_try_link "$LINENO"; then :
10982 case "$LIBEXT" in
10983 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10984 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'` ;;
10985 *) 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'`
10986 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
10987 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10988 fi ;;
10989 esac
10991 rm -f core conftest.err conftest.$ac_objext \
10992 conftest$ac_exeext conftest.$ac_ext
10993 LIBS=$ac_check_soname_save_LIBS
10995 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
10996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10997 $as_echo "not found" >&6; }
10998 DBUS_CFLAGS=""
10999 else
11000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11001 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11003 cat >>confdefs.h <<_ACEOF
11004 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11005 _ACEOF
11009 else
11010 DBUS_CFLAGS=""
11014 CPPFLAGS=$ac_save_CPPFLAGS
11015 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11016 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11019 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11020 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11021 case "x$with_dbus" in
11022 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11023 xno) ;;
11024 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11025 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11026 esac
11029 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11030 then
11031 if ${HAL_CFLAGS:+false} :; then :
11032 if ${PKG_CONFIG+:} false; then :
11033 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11037 if ${HAL_LIBS:+false} :; then :
11038 if ${PKG_CONFIG+:} false; then :
11039 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11043 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11044 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11045 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11046 ac_save_CPPFLAGS=$CPPFLAGS
11047 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11048 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11049 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11051 $as_echo_n "checking for -lhal... " >&6; }
11052 if ${ac_cv_lib_soname_hal+:} false; then :
11053 $as_echo_n "(cached) " >&6
11054 else
11055 ac_check_soname_save_LIBS=$LIBS
11056 LIBS="-lhal $HAL_LIBS $LIBS"
11057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11058 /* end confdefs.h. */
11060 /* Override any GCC internal prototype to avoid an error.
11061 Use char because int might match the return type of a GCC
11062 builtin and then its argument prototype would still apply. */
11063 #ifdef __cplusplus
11064 extern "C"
11065 #endif
11066 char libhal_ctx_new ();
11068 main ()
11070 return libhal_ctx_new ();
11072 return 0;
11074 _ACEOF
11075 if ac_fn_c_try_link "$LINENO"; then :
11076 case "$LIBEXT" in
11077 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11078 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'` ;;
11079 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11080 if ${ac_cv_lib_soname_hal:+false} :; then :
11081 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11082 fi ;;
11083 esac
11085 rm -f core conftest.err conftest.$ac_objext \
11086 conftest$ac_exeext conftest.$ac_ext
11087 LIBS=$ac_check_soname_save_LIBS
11089 if ${ac_cv_lib_soname_hal:+false} :; then :
11090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11091 $as_echo "not found" >&6; }
11092 HAL_CFLAGS=""
11093 else
11094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11095 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11097 cat >>confdefs.h <<_ACEOF
11098 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11099 _ACEOF
11103 else
11104 HAL_CFLAGS=""
11108 CPPFLAGS=$ac_save_CPPFLAGS
11109 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11110 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11112 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11113 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11114 case "x$with_hal" in
11115 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11116 xno) ;;
11117 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11118 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11119 esac
11123 if test "x$with_gnutls" != "xno"
11124 then
11125 if ${GNUTLS_CFLAGS:+false} :; then :
11126 if ${PKG_CONFIG+:} false; then :
11127 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11131 if ${GNUTLS_LIBS:+false} :; then :
11132 if ${PKG_CONFIG+:} false; then :
11133 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11138 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11139 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11140 ac_save_CPPFLAGS=$CPPFLAGS
11141 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11142 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11143 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11145 /* end confdefs.h. */
11146 #include <gnutls/gnutls.h>
11147 #include <gnutls/crypto.h>
11149 main ()
11151 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11153 return 0;
11155 _ACEOF
11156 if ac_fn_c_try_compile "$LINENO"; then :
11157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11158 $as_echo_n "checking for -lgnutls... " >&6; }
11159 if ${ac_cv_lib_soname_gnutls+:} false; then :
11160 $as_echo_n "(cached) " >&6
11161 else
11162 ac_check_soname_save_LIBS=$LIBS
11163 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11165 /* end confdefs.h. */
11167 /* Override any GCC internal prototype to avoid an error.
11168 Use char because int might match the return type of a GCC
11169 builtin and then its argument prototype would still apply. */
11170 #ifdef __cplusplus
11171 extern "C"
11172 #endif
11173 char gnutls_global_init ();
11175 main ()
11177 return gnutls_global_init ();
11179 return 0;
11181 _ACEOF
11182 if ac_fn_c_try_link "$LINENO"; then :
11183 case "$LIBEXT" in
11184 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11185 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'` ;;
11186 *) ac_cv_lib_soname_gnutls=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11187 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11188 ac_cv_lib_soname_gnutls=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11189 fi ;;
11190 esac
11192 rm -f core conftest.err conftest.$ac_objext \
11193 conftest$ac_exeext conftest.$ac_ext
11194 LIBS=$ac_check_soname_save_LIBS
11196 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11198 $as_echo "not found" >&6; }
11199 GNUTLS_CFLAGS=""
11200 else
11201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11202 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11204 cat >>confdefs.h <<_ACEOF
11205 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11206 _ACEOF
11211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11212 else
11213 GNUTLS_CFLAGS=""
11217 CPPFLAGS=$ac_save_CPPFLAGS
11218 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11219 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11222 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11223 case "x$with_gnutls" in
11224 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11225 xno) ;;
11226 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11227 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11228 esac
11231 CURSES_LIBS=""
11232 if test "$ac_cv_header_ncurses_h" = "yes"
11233 then
11234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11235 $as_echo_n "checking for -lncurses... " >&6; }
11236 if ${ac_cv_lib_soname_ncurses+:} false; then :
11237 $as_echo_n "(cached) " >&6
11238 else
11239 ac_check_soname_save_LIBS=$LIBS
11240 LIBS="-lncurses $LIBS"
11241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11242 /* end confdefs.h. */
11244 /* Override any GCC internal prototype to avoid an error.
11245 Use char because int might match the return type of a GCC
11246 builtin and then its argument prototype would still apply. */
11247 #ifdef __cplusplus
11248 extern "C"
11249 #endif
11250 char waddch ();
11252 main ()
11254 return waddch ();
11256 return 0;
11258 _ACEOF
11259 if ac_fn_c_try_link "$LINENO"; then :
11260 case "$LIBEXT" in
11261 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11262 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'` ;;
11263 *) ac_cv_lib_soname_ncurses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11264 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11265 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11266 fi ;;
11267 esac
11269 rm -f core conftest.err conftest.$ac_objext \
11270 conftest$ac_exeext conftest.$ac_ext
11271 LIBS=$ac_check_soname_save_LIBS
11273 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11275 $as_echo "not found" >&6; }
11277 else
11278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11279 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11281 cat >>confdefs.h <<_ACEOF
11282 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11283 _ACEOF
11285 CURSES_LIBS="-lncurses"
11287 elif test "$ac_cv_header_curses_h" = "yes"
11288 then
11289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11290 $as_echo_n "checking for -lcurses... " >&6; }
11291 if ${ac_cv_lib_soname_curses+:} false; then :
11292 $as_echo_n "(cached) " >&6
11293 else
11294 ac_check_soname_save_LIBS=$LIBS
11295 LIBS="-lcurses $LIBS"
11296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11297 /* end confdefs.h. */
11299 /* Override any GCC internal prototype to avoid an error.
11300 Use char because int might match the return type of a GCC
11301 builtin and then its argument prototype would still apply. */
11302 #ifdef __cplusplus
11303 extern "C"
11304 #endif
11305 char waddch ();
11307 main ()
11309 return waddch ();
11311 return 0;
11313 _ACEOF
11314 if ac_fn_c_try_link "$LINENO"; then :
11315 case "$LIBEXT" in
11316 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11317 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'` ;;
11318 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11319 if ${ac_cv_lib_soname_curses:+false} :; then :
11320 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11321 fi ;;
11322 esac
11324 rm -f core conftest.err conftest.$ac_objext \
11325 conftest$ac_exeext conftest.$ac_ext
11326 LIBS=$ac_check_soname_save_LIBS
11328 if ${ac_cv_lib_soname_curses:+false} :; then :
11329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11330 $as_echo "not found" >&6; }
11332 else
11333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11334 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11336 cat >>confdefs.h <<_ACEOF
11337 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11338 _ACEOF
11340 CURSES_LIBS="-lcurses"
11343 ac_save_LIBS="$LIBS"
11344 LIBS="$LIBS $CURSES_LIBS"
11345 for ac_func in mousemask
11346 do :
11347 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11348 if test "x$ac_cv_func_mousemask" = xyes; then :
11349 cat >>confdefs.h <<_ACEOF
11350 #define HAVE_MOUSEMASK 1
11351 _ACEOF
11354 done
11356 LIBS="$ac_save_LIBS"
11357 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11358 case "x$with_curses" in
11359 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11360 xno) ;;
11361 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11362 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11363 esac
11366 if test "x$with_sane" != "xno"
11367 then
11368 if ${SANE_CFLAGS:+false} :; then :
11369 if ${PKG_CONFIG+:} false; then :
11370 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11373 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11374 if ${SANE_LIBS:+false} :; then :
11375 if ${PKG_CONFIG+:} false; then :
11376 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11379 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11381 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11382 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11383 ac_save_CPPFLAGS=$CPPFLAGS
11384 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11385 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11386 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11388 $as_echo_n "checking for -lsane... " >&6; }
11389 if ${ac_cv_lib_soname_sane+:} false; then :
11390 $as_echo_n "(cached) " >&6
11391 else
11392 ac_check_soname_save_LIBS=$LIBS
11393 LIBS="-lsane $SANE_LIBS $LIBS"
11394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11395 /* end confdefs.h. */
11397 /* Override any GCC internal prototype to avoid an error.
11398 Use char because int might match the return type of a GCC
11399 builtin and then its argument prototype would still apply. */
11400 #ifdef __cplusplus
11401 extern "C"
11402 #endif
11403 char sane_init ();
11405 main ()
11407 return sane_init ();
11409 return 0;
11411 _ACEOF
11412 if ac_fn_c_try_link "$LINENO"; then :
11413 case "$LIBEXT" in
11414 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11415 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'` ;;
11416 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11417 if ${ac_cv_lib_soname_sane:+false} :; then :
11418 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11419 fi ;;
11420 esac
11422 rm -f core conftest.err conftest.$ac_objext \
11423 conftest$ac_exeext conftest.$ac_ext
11424 LIBS=$ac_check_soname_save_LIBS
11426 if ${ac_cv_lib_soname_sane:+false} :; then :
11427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11428 $as_echo "not found" >&6; }
11429 SANE_CFLAGS=""
11430 else
11431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11432 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11434 cat >>confdefs.h <<_ACEOF
11435 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11436 _ACEOF
11440 else
11441 SANE_CFLAGS=""
11445 CPPFLAGS=$ac_save_CPPFLAGS
11446 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11447 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11450 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11451 case "x$with_sane" in
11452 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11453 xno) ;;
11454 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11455 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11456 esac
11459 if test "x$with_v4l" != "xno"
11460 then
11461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11462 $as_echo_n "checking for -lv4l1... " >&6; }
11463 if ${ac_cv_lib_soname_v4l1+:} false; then :
11464 $as_echo_n "(cached) " >&6
11465 else
11466 ac_check_soname_save_LIBS=$LIBS
11467 LIBS="-lv4l1 $LIBS"
11468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11469 /* end confdefs.h. */
11471 /* Override any GCC internal prototype to avoid an error.
11472 Use char because int might match the return type of a GCC
11473 builtin and then its argument prototype would still apply. */
11474 #ifdef __cplusplus
11475 extern "C"
11476 #endif
11477 char v4l1_open ();
11479 main ()
11481 return v4l1_open ();
11483 return 0;
11485 _ACEOF
11486 if ac_fn_c_try_link "$LINENO"; then :
11487 case "$LIBEXT" in
11488 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11489 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'` ;;
11490 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11491 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11492 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11493 fi ;;
11494 esac
11496 rm -f core conftest.err conftest.$ac_objext \
11497 conftest$ac_exeext conftest.$ac_ext
11498 LIBS=$ac_check_soname_save_LIBS
11500 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11502 $as_echo "not found" >&6; }
11504 else
11505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11506 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11508 cat >>confdefs.h <<_ACEOF
11509 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11510 _ACEOF
11515 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11516 case "x$with_v4l" in
11517 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11518 xno) ;;
11519 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11520 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11521 esac
11524 if test "x$with_gphoto" != "xno"
11525 then
11526 if ${GPHOTO2_CFLAGS:+false} :; then :
11527 if ${PKG_CONFIG+:} false; then :
11528 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11531 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11532 if ${GPHOTO2_LIBS:+false} :; then :
11533 if ${PKG_CONFIG+:} false; then :
11534 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11537 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11538 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11539 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11540 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11541 ac_save_CPPFLAGS=$CPPFLAGS
11542 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11543 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11544 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11546 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11547 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11548 $as_echo_n "(cached) " >&6
11549 else
11550 ac_check_lib_save_LIBS=$LIBS
11551 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11553 /* end confdefs.h. */
11555 /* Override any GCC internal prototype to avoid an error.
11556 Use char because int might match the return type of a GCC
11557 builtin and then its argument prototype would still apply. */
11558 #ifdef __cplusplus
11559 extern "C"
11560 #endif
11561 char gp_camera_new ();
11563 main ()
11565 return gp_camera_new ();
11567 return 0;
11569 _ACEOF
11570 if ac_fn_c_try_link "$LINENO"; then :
11571 ac_cv_lib_gphoto2_gp_camera_new=yes
11572 else
11573 ac_cv_lib_gphoto2_gp_camera_new=no
11575 rm -f core conftest.err conftest.$ac_objext \
11576 conftest$ac_exeext conftest.$ac_ext
11577 LIBS=$ac_check_lib_save_LIBS
11579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11580 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11581 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11583 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11585 else
11586 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11589 else
11590 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11594 CPPFLAGS=$ac_save_CPPFLAGS
11595 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11596 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11598 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11599 if ${PKG_CONFIG+:} false; then :
11600 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11603 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11604 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11605 if ${PKG_CONFIG+:} false; then :
11606 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11609 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11610 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11611 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11612 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11613 ac_save_CPPFLAGS=$CPPFLAGS
11614 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11615 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11616 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11618 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11619 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11620 $as_echo_n "(cached) " >&6
11621 else
11622 ac_check_lib_save_LIBS=$LIBS
11623 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11625 /* end confdefs.h. */
11627 /* Override any GCC internal prototype to avoid an error.
11628 Use char because int might match the return type of a GCC
11629 builtin and then its argument prototype would still apply. */
11630 #ifdef __cplusplus
11631 extern "C"
11632 #endif
11633 char gp_port_info_list_new ();
11635 main ()
11637 return gp_port_info_list_new ();
11639 return 0;
11641 _ACEOF
11642 if ac_fn_c_try_link "$LINENO"; then :
11643 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
11644 else
11645 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
11647 rm -f core conftest.err conftest.$ac_objext \
11648 conftest$ac_exeext conftest.$ac_ext
11649 LIBS=$ac_check_lib_save_LIBS
11651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11652 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11653 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
11655 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11657 else
11658 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11661 else
11662 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11666 CPPFLAGS=$ac_save_CPPFLAGS
11667 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11668 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11671 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11672 case "x$with_gphoto" in
11673 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11674 xno) ;;
11675 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11676 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11677 esac
11679 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11680 case "x$with_gphoto" in
11681 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11682 xno) ;;
11683 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11684 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11685 esac
11689 if test "$ac_cv_header_resolv_h" = "yes"
11690 then
11691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11692 $as_echo_n "checking for resolver library... " >&6; }
11693 if ${ac_cv_have_resolv+:} false; then :
11694 $as_echo_n "(cached) " >&6
11695 else
11696 ac_save_LIBS="$LIBS"
11697 for lib in '' -lresolv
11699 LIBS="$lib $ac_save_LIBS"
11700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11701 /* end confdefs.h. */
11702 #ifdef HAVE_NETINET_IN_H
11703 #include <netinet/in.h>
11704 #endif
11705 #include <resolv.h>
11707 main ()
11709 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11711 return 0;
11713 _ACEOF
11714 if ac_fn_c_try_link "$LINENO"; then :
11715 ac_cv_have_resolv=${lib:-"none required"}
11716 else
11717 ac_cv_have_resolv="not found"
11719 rm -f core conftest.err conftest.$ac_objext \
11720 conftest$ac_exeext conftest.$ac_ext
11721 test "x$ac_cv_have_resolv" = "xnot found" || break
11722 done
11723 LIBS="$ac_save_LIBS"
11725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
11726 $as_echo "$ac_cv_have_resolv" >&6; }
11728 case "$ac_cv_have_resolv" in
11729 "not found") ;;
11730 "none required")
11732 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11735 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11737 RESOLV_LIBS=$ac_cv_have_resolv
11739 esac
11742 if test "x$with_lcms2" != "xno"
11743 then
11744 if ${LCMS2_CFLAGS:+false} :; then :
11745 if ${PKG_CONFIG+:} false; then :
11746 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11750 if ${LCMS2_LIBS:+false} :; then :
11751 if ${PKG_CONFIG+:} false; then :
11752 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11756 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
11757 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11758 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
11759 ac_save_CPPFLAGS=$CPPFLAGS
11760 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
11761 for ac_header in lcms2.h
11762 do :
11763 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11764 if test "x$ac_cv_header_lcms2_h" = xyes; then :
11765 cat >>confdefs.h <<_ACEOF
11766 #define HAVE_LCMS2_H 1
11767 _ACEOF
11771 done
11773 if test "$ac_cv_header_lcms2_h" = "yes"
11774 then
11775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11776 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11777 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
11778 $as_echo_n "(cached) " >&6
11779 else
11780 ac_check_lib_save_LIBS=$LIBS
11781 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
11782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11783 /* end confdefs.h. */
11785 /* Override any GCC internal prototype to avoid an error.
11786 Use char because int might match the return type of a GCC
11787 builtin and then its argument prototype would still apply. */
11788 #ifdef __cplusplus
11789 extern "C"
11790 #endif
11791 char cmsOpenProfileFromFile ();
11793 main ()
11795 return cmsOpenProfileFromFile ();
11797 return 0;
11799 _ACEOF
11800 if ac_fn_c_try_link "$LINENO"; then :
11801 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
11802 else
11803 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
11805 rm -f core conftest.err conftest.$ac_objext \
11806 conftest$ac_exeext conftest.$ac_ext
11807 LIBS=$ac_check_lib_save_LIBS
11809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11810 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11811 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
11813 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11815 else
11816 LCMS2_LIBS=""
11819 else
11820 LCMS2_CFLAGS=""
11821 LCMS2_LIBS=""
11823 CPPFLAGS=$ac_save_CPPFLAGS
11824 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11825 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11828 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11829 case "x$with_cms" in
11830 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11831 xno) ;;
11832 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11833 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11834 esac
11837 if test "x$with_freetype" != "xno"
11838 then
11839 if ${FREETYPE_CFLAGS:+false} :; then :
11840 if ${PKG_CONFIG+:} false; then :
11841 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11844 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11845 if ${FREETYPE_LIBS:+false} :; then :
11846 if ${PKG_CONFIG+:} false; then :
11847 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11850 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11851 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
11852 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
11853 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
11854 ac_save_CPPFLAGS=$CPPFLAGS
11855 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
11856 for ac_header in ft2build.h
11857 do :
11858 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
11859 if test "x$ac_cv_header_ft2build_h" = xyes; then :
11860 cat >>confdefs.h <<_ACEOF
11861 #define HAVE_FT2BUILD_H 1
11862 _ACEOF
11866 done
11868 if test "$ac_cv_header_ft2build_h" = "yes"
11869 then
11870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11871 $as_echo_n "checking for -lfreetype... " >&6; }
11872 if ${ac_cv_lib_soname_freetype+:} false; then :
11873 $as_echo_n "(cached) " >&6
11874 else
11875 ac_check_soname_save_LIBS=$LIBS
11876 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
11877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11878 /* end confdefs.h. */
11880 /* Override any GCC internal prototype to avoid an error.
11881 Use char because int might match the return type of a GCC
11882 builtin and then its argument prototype would still apply. */
11883 #ifdef __cplusplus
11884 extern "C"
11885 #endif
11886 char FT_Init_FreeType ();
11888 main ()
11890 return FT_Init_FreeType ();
11892 return 0;
11894 _ACEOF
11895 if ac_fn_c_try_link "$LINENO"; then :
11896 case "$LIBEXT" in
11897 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11898 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'` ;;
11899 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11900 if ${ac_cv_lib_soname_freetype:+false} :; then :
11901 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11902 fi ;;
11903 esac
11905 rm -f core conftest.err conftest.$ac_objext \
11906 conftest$ac_exeext conftest.$ac_ext
11907 LIBS=$ac_check_soname_save_LIBS
11909 if ${ac_cv_lib_soname_freetype:+false} :; then :
11910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11911 $as_echo "not found" >&6; }
11912 FREETYPE_LIBS=""
11913 else
11914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
11915 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
11917 cat >>confdefs.h <<_ACEOF
11918 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
11919 _ACEOF
11922 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
11924 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
11925 #include FT_MODULE_H
11927 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
11929 cat >>confdefs.h <<_ACEOF
11930 #define HAVE_FT_TRUETYPEENGINETYPE 1
11931 _ACEOF
11937 else
11938 FREETYPE_CFLAGS=""
11939 FREETYPE_LIBS=""
11941 CPPFLAGS=$ac_save_CPPFLAGS
11942 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11943 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11946 if test "x$ac_cv_lib_soname_freetype" = x; then :
11947 case "x$with_freetype" in
11948 xno) ;;
11949 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
11950 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
11951 esac
11953 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
11955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
11956 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
11957 if ${ac_cv_c_ppdev+:} false; then :
11958 $as_echo_n "(cached) " >&6
11959 else
11960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11961 /* end confdefs.h. */
11962 #ifdef HAVE_SYS_IOCTL_H
11963 # include <sys/ioctl.h>
11964 #endif
11965 #include <linux/ppdev.h>
11967 main ()
11969 ioctl (1,PPCLAIM,0)
11971 return 0;
11973 _ACEOF
11974 if ac_fn_c_try_compile "$LINENO"; then :
11975 ac_cv_c_ppdev="yes"
11976 else
11977 ac_cv_c_ppdev="no"
11979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
11982 $as_echo "$ac_cv_c_ppdev" >&6; }
11983 if test "$ac_cv_c_ppdev" = "yes"
11984 then
11986 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
11990 ac_wine_check_funcs_save_LIBS="$LIBS"
11991 LIBS="$LIBS $PTHREAD_LIBS"
11992 for ac_func in \
11993 pthread_attr_get_np \
11994 pthread_getattr_np \
11995 pthread_getthreadid_np \
11996 pthread_get_stackaddr_np \
11997 pthread_get_stacksize_np
11998 do :
11999 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12000 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12001 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12002 cat >>confdefs.h <<_ACEOF
12003 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12004 _ACEOF
12007 done
12009 LIBS="$ac_wine_check_funcs_save_LIBS"
12011 if test "$ac_cv_header_zlib_h" = "yes"
12012 then
12013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12014 $as_echo_n "checking for inflate in -lz... " >&6; }
12015 if ${ac_cv_lib_z_inflate+:} false; then :
12016 $as_echo_n "(cached) " >&6
12017 else
12018 ac_check_lib_save_LIBS=$LIBS
12019 LIBS="-lz $LIBS"
12020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12021 /* end confdefs.h. */
12023 /* Override any GCC internal prototype to avoid an error.
12024 Use char because int might match the return type of a GCC
12025 builtin and then its argument prototype would still apply. */
12026 #ifdef __cplusplus
12027 extern "C"
12028 #endif
12029 char inflate ();
12031 main ()
12033 return inflate ();
12035 return 0;
12037 _ACEOF
12038 if ac_fn_c_try_link "$LINENO"; then :
12039 ac_cv_lib_z_inflate=yes
12040 else
12041 ac_cv_lib_z_inflate=no
12043 rm -f core conftest.err conftest.$ac_objext \
12044 conftest$ac_exeext conftest.$ac_ext
12045 LIBS=$ac_check_lib_save_LIBS
12047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12048 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12049 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12051 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12053 Z_LIBS="-lz"
12058 if test "x$Z_LIBS" = "x"; then :
12059 case "x$with_zlib" in
12060 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12061 xno) ;;
12062 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12063 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12064 esac
12067 if test "x$enable_tools" != xno
12068 then
12069 if test "$ac_cv_header_gettext_po_h" = "yes"
12070 then
12071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12072 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12073 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12074 $as_echo_n "(cached) " >&6
12075 else
12076 ac_check_lib_save_LIBS=$LIBS
12077 LIBS="-lgettextpo $LIBS"
12078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12079 /* end confdefs.h. */
12081 /* Override any GCC internal prototype to avoid an error.
12082 Use char because int might match the return type of a GCC
12083 builtin and then its argument prototype would still apply. */
12084 #ifdef __cplusplus
12085 extern "C"
12086 #endif
12087 char po_message_msgctxt ();
12089 main ()
12091 return po_message_msgctxt ();
12093 return 0;
12095 _ACEOF
12096 if ac_fn_c_try_link "$LINENO"; then :
12097 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12098 else
12099 ac_cv_lib_gettextpo_po_message_msgctxt=no
12101 rm -f core conftest.err conftest.$ac_objext \
12102 conftest$ac_exeext conftest.$ac_ext
12103 LIBS=$ac_check_lib_save_LIBS
12105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12106 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12107 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12109 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12111 GETTEXTPO_LIBS="-lgettextpo"
12116 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12117 case "x$with_gettextpo" in
12118 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12119 xno) ;;
12120 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12121 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12122 esac
12126 if test "x$with_gstreamer" != "xno"
12127 then
12128 if ${GSTREAMER_CFLAGS:+false} :; then :
12129 if ${PKG_CONFIG+:} false; then :
12130 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12134 if ${GSTREAMER_LIBS:+false} :; then :
12135 if ${PKG_CONFIG+:} false; then :
12136 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12141 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12142 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12143 ac_save_CPPFLAGS=$CPPFLAGS
12144 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12145 ac_gst_incl=""
12146 for i in $GSTREAMER_CFLAGS
12148 case "$i" in
12149 -I*) ac_gst_incl="$ac_gst_incl $i";;
12150 esac
12151 done
12152 GSTREAMER_CFLAGS=$ac_gst_incl
12153 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12154 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12155 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
12156 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12157 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
12158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12159 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12161 /* end confdefs.h. */
12162 #include <gst/app/gstappsink.h>
12164 main ()
12166 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12168 return 0;
12170 _ACEOF
12171 if ac_fn_c_try_compile "$LINENO"; then :
12172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12173 $as_echo "yes" >&6; }
12174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12175 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12176 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
12177 $as_echo_n "(cached) " >&6
12178 else
12179 ac_check_lib_save_LIBS=$LIBS
12180 LIBS="-lgstreamer-0.10 $LIBS"
12181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12182 /* end confdefs.h. */
12184 /* Override any GCC internal prototype to avoid an error.
12185 Use char because int might match the return type of a GCC
12186 builtin and then its argument prototype would still apply. */
12187 #ifdef __cplusplus
12188 extern "C"
12189 #endif
12190 char gst_pad_get_caps_reffed ();
12192 main ()
12194 return gst_pad_get_caps_reffed ();
12196 return 0;
12198 _ACEOF
12199 if ac_fn_c_try_link "$LINENO"; then :
12200 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
12201 else
12202 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
12204 rm -f core conftest.err conftest.$ac_objext \
12205 conftest$ac_exeext conftest.$ac_ext
12206 LIBS=$ac_check_lib_save_LIBS
12208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12209 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12210 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
12211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12212 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12213 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
12214 $as_echo_n "(cached) " >&6
12215 else
12216 ac_check_lib_save_LIBS=$LIBS
12217 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12219 /* end confdefs.h. */
12221 /* Override any GCC internal prototype to avoid an error.
12222 Use char because int might match the return type of a GCC
12223 builtin and then its argument prototype would still apply. */
12224 #ifdef __cplusplus
12225 extern "C"
12226 #endif
12227 char gst_app_buffer_new ();
12229 main ()
12231 return gst_app_buffer_new ();
12233 return 0;
12235 _ACEOF
12236 if ac_fn_c_try_link "$LINENO"; then :
12237 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
12238 else
12239 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
12241 rm -f core conftest.err conftest.$ac_objext \
12242 conftest$ac_exeext conftest.$ac_ext
12243 LIBS=$ac_check_lib_save_LIBS
12245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12246 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12247 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
12253 else
12254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12255 $as_echo "no" >&6; }
12257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12261 else
12262 GSTREAMER_CFLAGS=""
12266 CPPFLAGS=$ac_save_CPPFLAGS
12267 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12268 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12271 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
12272 case "x$with_gstreamer" in
12273 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12274 xno) ;;
12275 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12276 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12277 esac
12279 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12281 ALSA_LIBS=""
12283 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12284 then
12285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12286 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12287 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12288 $as_echo_n "(cached) " >&6
12289 else
12290 ac_check_lib_save_LIBS=$LIBS
12291 LIBS="-lasound $LIBS"
12292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12293 /* end confdefs.h. */
12295 /* Override any GCC internal prototype to avoid an error.
12296 Use char because int might match the return type of a GCC
12297 builtin and then its argument prototype would still apply. */
12298 #ifdef __cplusplus
12299 extern "C"
12300 #endif
12301 char snd_pcm_hw_params_get_access_mask ();
12303 main ()
12305 return snd_pcm_hw_params_get_access_mask ();
12307 return 0;
12309 _ACEOF
12310 if ac_fn_c_try_link "$LINENO"; then :
12311 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12312 else
12313 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12315 rm -f core conftest.err conftest.$ac_objext \
12316 conftest$ac_exeext conftest.$ac_ext
12317 LIBS=$ac_check_lib_save_LIBS
12319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12320 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12321 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12323 /* end confdefs.h. */
12324 #ifdef HAVE_ALSA_ASOUNDLIB_H
12325 #include <alsa/asoundlib.h>
12326 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12327 #include <sys/asoundlib.h>
12328 #endif
12330 main ()
12332 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12334 return 0;
12336 _ACEOF
12337 if ac_fn_c_try_compile "$LINENO"; then :
12338 ALSA_LIBS="-lasound"
12340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12345 if test "x$with_oss" != xno
12346 then
12347 ac_save_CPPFLAGS="$CPPFLAGS"
12348 if test -f /etc/oss.conf
12349 then
12350 . /etc/oss.conf
12352 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12353 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12354 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12355 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12356 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12358 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12360 cat >>confdefs.h <<_ACEOF
12361 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12362 _ACEOF
12364 OSS4_CFLAGS="$ac_oss_incl"
12371 CPPFLAGS="$ac_save_CPPFLAGS"
12372 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12373 then
12374 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12378 if test "x$with_capi" != "xno"
12379 then
12380 if ${CAPI20_CFLAGS:+false} :; then :
12381 if ${PKG_CONFIG+:} false; then :
12382 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12386 if ${CAPI20_LIBS:+false} :; then :
12387 if ${PKG_CONFIG+:} false; then :
12388 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12393 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12394 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12395 ac_save_CPPFLAGS=$CPPFLAGS
12396 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12397 for ac_header in capi20.h linux/capi.h
12398 do :
12399 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12400 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12402 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12403 cat >>confdefs.h <<_ACEOF
12404 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12405 _ACEOF
12409 done
12411 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12412 then
12413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12414 $as_echo_n "checking for -lcapi20... " >&6; }
12415 if ${ac_cv_lib_soname_capi20+:} false; then :
12416 $as_echo_n "(cached) " >&6
12417 else
12418 ac_check_soname_save_LIBS=$LIBS
12419 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12421 /* end confdefs.h. */
12423 /* Override any GCC internal prototype to avoid an error.
12424 Use char because int might match the return type of a GCC
12425 builtin and then its argument prototype would still apply. */
12426 #ifdef __cplusplus
12427 extern "C"
12428 #endif
12429 char capi20_register ();
12431 main ()
12433 return capi20_register ();
12435 return 0;
12437 _ACEOF
12438 if ac_fn_c_try_link "$LINENO"; then :
12439 case "$LIBEXT" in
12440 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12441 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'` ;;
12442 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12443 if ${ac_cv_lib_soname_capi20:+false} :; then :
12444 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12445 fi ;;
12446 esac
12448 rm -f core conftest.err conftest.$ac_objext \
12449 conftest$ac_exeext conftest.$ac_ext
12450 LIBS=$ac_check_soname_save_LIBS
12452 if ${ac_cv_lib_soname_capi20:+false} :; then :
12453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12454 $as_echo "not found" >&6; }
12456 else
12457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12458 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12460 cat >>confdefs.h <<_ACEOF
12461 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12462 _ACEOF
12467 CPPFLAGS=$ac_save_CPPFLAGS
12468 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12469 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12472 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12473 case "x$with_capi" in
12474 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12475 xno) ;;
12476 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12477 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12478 esac
12481 CUPS_CFLAGS=""
12483 if test "x$with_cups" != "xno"
12484 then
12485 ac_save_CPPFLAGS="$CPPFLAGS"
12486 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12487 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12488 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12489 for ac_header in cups/cups.h
12490 do :
12491 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12492 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12493 cat >>confdefs.h <<_ACEOF
12494 #define HAVE_CUPS_CUPS_H 1
12495 _ACEOF
12496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12497 $as_echo_n "checking for -lcups... " >&6; }
12498 if ${ac_cv_lib_soname_cups+:} false; then :
12499 $as_echo_n "(cached) " >&6
12500 else
12501 ac_check_soname_save_LIBS=$LIBS
12502 LIBS="-lcups $ac_cups_libs $LIBS"
12503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12504 /* end confdefs.h. */
12506 /* Override any GCC internal prototype to avoid an error.
12507 Use char because int might match the return type of a GCC
12508 builtin and then its argument prototype would still apply. */
12509 #ifdef __cplusplus
12510 extern "C"
12511 #endif
12512 char cupsGetDefault ();
12514 main ()
12516 return cupsGetDefault ();
12518 return 0;
12520 _ACEOF
12521 if ac_fn_c_try_link "$LINENO"; then :
12522 case "$LIBEXT" in
12523 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12524 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'` ;;
12525 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12526 if ${ac_cv_lib_soname_cups:+false} :; then :
12527 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12528 fi ;;
12529 esac
12531 rm -f core conftest.err conftest.$ac_objext \
12532 conftest$ac_exeext conftest.$ac_ext
12533 LIBS=$ac_check_soname_save_LIBS
12535 if ${ac_cv_lib_soname_cups:+false} :; then :
12536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12537 $as_echo "not found" >&6; }
12539 else
12540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12541 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12543 cat >>confdefs.h <<_ACEOF
12544 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12545 _ACEOF
12547 CUPS_CFLAGS="$ac_cups_cflags"
12551 done
12553 CPPFLAGS="$ac_save_CPPFLAGS"
12555 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12556 case "x$with_cups" in
12557 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12558 xno) ;;
12559 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12560 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12561 esac
12564 if test "x$with_fontconfig" != "xno"
12565 then
12566 if ${FONTCONFIG_CFLAGS:+false} :; then :
12567 if ${PKG_CONFIG+:} false; then :
12568 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12571 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12572 if ${FONTCONFIG_LIBS:+false} :; then :
12573 if ${PKG_CONFIG+:} false; then :
12574 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12577 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
12579 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12580 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12581 ac_save_CPPFLAGS=$CPPFLAGS
12582 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
12583 for ac_header in fontconfig/fontconfig.h
12584 do :
12585 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12586 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
12587 cat >>confdefs.h <<_ACEOF
12588 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12589 _ACEOF
12593 done
12595 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12596 then
12597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12598 $as_echo_n "checking for -lfontconfig... " >&6; }
12599 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12600 $as_echo_n "(cached) " >&6
12601 else
12602 ac_check_soname_save_LIBS=$LIBS
12603 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12605 /* end confdefs.h. */
12607 /* Override any GCC internal prototype to avoid an error.
12608 Use char because int might match the return type of a GCC
12609 builtin and then its argument prototype would still apply. */
12610 #ifdef __cplusplus
12611 extern "C"
12612 #endif
12613 char FcInit ();
12615 main ()
12617 return FcInit ();
12619 return 0;
12621 _ACEOF
12622 if ac_fn_c_try_link "$LINENO"; then :
12623 case "$LIBEXT" in
12624 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12625 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'` ;;
12626 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12627 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12628 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12629 fi ;;
12630 esac
12632 rm -f core conftest.err conftest.$ac_objext \
12633 conftest$ac_exeext conftest.$ac_ext
12634 LIBS=$ac_check_soname_save_LIBS
12636 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12638 $as_echo "not found" >&6; }
12639 FONTCONFIG_CFLAGS=""
12640 else
12641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12642 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12644 cat >>confdefs.h <<_ACEOF
12645 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12646 _ACEOF
12650 else
12651 FONTCONFIG_CFLAGS=""
12653 CPPFLAGS=$ac_save_CPPFLAGS
12654 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12655 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12658 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12659 case "x$with_fontconfig" in
12660 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12661 xno) ;;
12662 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12663 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12664 esac
12667 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12668 then
12669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12670 $as_echo_n "checking for -lgsm... " >&6; }
12671 if ${ac_cv_lib_soname_gsm+:} false; then :
12672 $as_echo_n "(cached) " >&6
12673 else
12674 ac_check_soname_save_LIBS=$LIBS
12675 LIBS="-lgsm $LIBS"
12676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12677 /* end confdefs.h. */
12679 /* Override any GCC internal prototype to avoid an error.
12680 Use char because int might match the return type of a GCC
12681 builtin and then its argument prototype would still apply. */
12682 #ifdef __cplusplus
12683 extern "C"
12684 #endif
12685 char gsm_create ();
12687 main ()
12689 return gsm_create ();
12691 return 0;
12693 _ACEOF
12694 if ac_fn_c_try_link "$LINENO"; then :
12695 case "$LIBEXT" in
12696 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12697 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'` ;;
12698 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12699 if ${ac_cv_lib_soname_gsm:+false} :; then :
12700 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12701 fi ;;
12702 esac
12704 rm -f core conftest.err conftest.$ac_objext \
12705 conftest$ac_exeext conftest.$ac_ext
12706 LIBS=$ac_check_soname_save_LIBS
12708 if ${ac_cv_lib_soname_gsm:+false} :; then :
12709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12710 $as_echo "not found" >&6; }
12712 else
12713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12714 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12716 cat >>confdefs.h <<_ACEOF
12717 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12718 _ACEOF
12723 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12724 case "x$with_gsm" in
12725 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12726 xno) ;;
12727 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12728 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12729 esac
12732 if test "x$with_jpeg" != "xno"
12733 then
12734 if ${JPEG_CFLAGS:+false} :; then :
12735 if ${PKG_CONFIG+:} false; then :
12736 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12740 if ${JPEG_LIBS:+false} :; then :
12741 if ${PKG_CONFIG+:} false; then :
12742 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12747 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12748 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12749 ac_save_CPPFLAGS=$CPPFLAGS
12750 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
12751 for ac_header in jpeglib.h
12752 do :
12753 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12754 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
12755 cat >>confdefs.h <<_ACEOF
12756 #define HAVE_JPEGLIB_H 1
12757 _ACEOF
12761 done
12763 if test "$ac_cv_header_jpeglib_h" = "yes"
12764 then
12765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12766 $as_echo_n "checking for -ljpeg... " >&6; }
12767 if ${ac_cv_lib_soname_jpeg+:} false; then :
12768 $as_echo_n "(cached) " >&6
12769 else
12770 ac_check_soname_save_LIBS=$LIBS
12771 LIBS="-ljpeg $JPEG_LIBS $LIBS"
12772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12773 /* end confdefs.h. */
12775 /* Override any GCC internal prototype to avoid an error.
12776 Use char because int might match the return type of a GCC
12777 builtin and then its argument prototype would still apply. */
12778 #ifdef __cplusplus
12779 extern "C"
12780 #endif
12781 char jpeg_start_decompress ();
12783 main ()
12785 return jpeg_start_decompress ();
12787 return 0;
12789 _ACEOF
12790 if ac_fn_c_try_link "$LINENO"; then :
12791 case "$LIBEXT" in
12792 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12793 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'` ;;
12794 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12795 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12796 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12797 fi ;;
12798 esac
12800 rm -f core conftest.err conftest.$ac_objext \
12801 conftest$ac_exeext conftest.$ac_ext
12802 LIBS=$ac_check_soname_save_LIBS
12804 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12806 $as_echo "not found" >&6; }
12807 JPEG_CFLAGS=""
12808 else
12809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12810 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12812 cat >>confdefs.h <<_ACEOF
12813 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12814 _ACEOF
12818 else
12819 JPEG_CFLAGS=""
12821 CPPFLAGS=$ac_save_CPPFLAGS
12822 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12823 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12826 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12827 case "x$with_jpeg" in
12828 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12829 xno) ;;
12830 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12831 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12832 esac
12835 if test "x$with_png" != "xno"
12836 then
12837 if ${PNG_CFLAGS:+false} :; then :
12838 if ${PKG_CONFIG+:} false; then :
12839 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12842 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
12843 if ${PNG_LIBS:+false} :; then :
12844 if ${PKG_CONFIG+:} false; then :
12845 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
12848 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
12850 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
12851 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
12852 ac_save_CPPFLAGS=$CPPFLAGS
12853 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
12854 for ac_header in png.h
12855 do :
12856 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12857 if test "x$ac_cv_header_png_h" = xyes; then :
12858 cat >>confdefs.h <<_ACEOF
12859 #define HAVE_PNG_H 1
12860 _ACEOF
12864 done
12866 if test "$ac_cv_header_png_h" = "yes"
12867 then
12868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12869 $as_echo_n "checking for -lpng... " >&6; }
12870 if ${ac_cv_lib_soname_png+:} false; then :
12871 $as_echo_n "(cached) " >&6
12872 else
12873 ac_check_soname_save_LIBS=$LIBS
12874 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
12875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12876 /* end confdefs.h. */
12878 /* Override any GCC internal prototype to avoid an error.
12879 Use char because int might match the return type of a GCC
12880 builtin and then its argument prototype would still apply. */
12881 #ifdef __cplusplus
12882 extern "C"
12883 #endif
12884 char png_create_read_struct ();
12886 main ()
12888 return png_create_read_struct ();
12890 return 0;
12892 _ACEOF
12893 if ac_fn_c_try_link "$LINENO"; then :
12894 case "$LIBEXT" in
12895 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12896 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'` ;;
12897 *) 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'`
12898 if ${ac_cv_lib_soname_png:+false} :; then :
12899 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12900 fi ;;
12901 esac
12903 rm -f core conftest.err conftest.$ac_objext \
12904 conftest$ac_exeext conftest.$ac_ext
12905 LIBS=$ac_check_soname_save_LIBS
12907 if ${ac_cv_lib_soname_png:+false} :; then :
12908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12909 $as_echo "not found" >&6; }
12910 PNG_CFLAGS=""
12911 else
12912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
12913 $as_echo "$ac_cv_lib_soname_png" >&6; }
12915 cat >>confdefs.h <<_ACEOF
12916 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
12917 _ACEOF
12919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12920 /* end confdefs.h. */
12921 #include <png.h>
12923 main ()
12925 typeof(png_set_expand_gray_1_2_4_to_8) *p
12927 return 0;
12929 _ACEOF
12930 if ac_fn_c_try_compile "$LINENO"; then :
12932 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
12935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12937 else
12938 PNG_CFLAGS=""
12940 CPPFLAGS=$ac_save_CPPFLAGS
12941 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12942 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12945 if test "x$ac_cv_lib_soname_png" = "x"; then :
12946 case "x$with_png" in
12947 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
12948 xno) ;;
12949 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
12950 This is an error since --with-png was requested." "$LINENO" 5 ;;
12951 esac
12954 if test "x$with_tiff" != "xno"
12955 then
12956 if ${TIFF_CFLAGS:+false} :; then :
12957 if ${PKG_CONFIG+:} false; then :
12958 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
12962 if ${TIFF_LIBS:+false} :; then :
12963 if ${PKG_CONFIG+:} false; then :
12964 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
12969 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
12970 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
12971 ac_save_CPPFLAGS=$CPPFLAGS
12972 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
12973 for ac_header in tiffio.h
12974 do :
12975 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
12976 if test "x$ac_cv_header_tiffio_h" = xyes; then :
12977 cat >>confdefs.h <<_ACEOF
12978 #define HAVE_TIFFIO_H 1
12979 _ACEOF
12983 done
12985 if test "$ac_cv_header_tiffio_h" = "yes"
12986 then
12987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
12988 $as_echo_n "checking for -ltiff... " >&6; }
12989 if ${ac_cv_lib_soname_tiff+:} false; then :
12990 $as_echo_n "(cached) " >&6
12991 else
12992 ac_check_soname_save_LIBS=$LIBS
12993 LIBS="-ltiff $TIFF_LIBS $LIBS"
12994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12995 /* end confdefs.h. */
12997 /* Override any GCC internal prototype to avoid an error.
12998 Use char because int might match the return type of a GCC
12999 builtin and then its argument prototype would still apply. */
13000 #ifdef __cplusplus
13001 extern "C"
13002 #endif
13003 char TIFFClientOpen ();
13005 main ()
13007 return TIFFClientOpen ();
13009 return 0;
13011 _ACEOF
13012 if ac_fn_c_try_link "$LINENO"; then :
13013 case "$LIBEXT" in
13014 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13015 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'` ;;
13016 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13017 if ${ac_cv_lib_soname_tiff:+false} :; then :
13018 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13019 fi ;;
13020 esac
13022 rm -f core conftest.err conftest.$ac_objext \
13023 conftest$ac_exeext conftest.$ac_ext
13024 LIBS=$ac_check_soname_save_LIBS
13026 if ${ac_cv_lib_soname_tiff:+false} :; then :
13027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13028 $as_echo "not found" >&6; }
13030 else
13031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13032 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13034 cat >>confdefs.h <<_ACEOF
13035 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13036 _ACEOF
13041 CPPFLAGS=$ac_save_CPPFLAGS
13042 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13043 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13046 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13047 case "x$with_tiff" in
13048 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13049 xno) ;;
13050 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13051 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13052 esac
13055 if test "x$with_mpg123" != "xno"
13056 then
13057 if ${MPG123_CFLAGS:+false} :; then :
13058 if ${PKG_CONFIG+:} false; then :
13059 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13063 if ${MPG123_LIBS:+false} :; then :
13064 if ${PKG_CONFIG+:} false; then :
13065 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13069 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13070 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13071 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13072 ac_save_CPPFLAGS=$CPPFLAGS
13073 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13074 for ac_header in mpg123.h
13075 do :
13076 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13077 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13078 cat >>confdefs.h <<_ACEOF
13079 #define HAVE_MPG123_H 1
13080 _ACEOF
13084 done
13086 if test "$ac_cv_header_mpg123_h" = "yes"
13087 then
13088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13089 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13090 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13091 $as_echo_n "(cached) " >&6
13092 else
13093 ac_check_lib_save_LIBS=$LIBS
13094 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13096 /* end confdefs.h. */
13098 /* Override any GCC internal prototype to avoid an error.
13099 Use char because int might match the return type of a GCC
13100 builtin and then its argument prototype would still apply. */
13101 #ifdef __cplusplus
13102 extern "C"
13103 #endif
13104 char mpg123_feed ();
13106 main ()
13108 return mpg123_feed ();
13110 return 0;
13112 _ACEOF
13113 if ac_fn_c_try_link "$LINENO"; then :
13114 ac_cv_lib_mpg123_mpg123_feed=yes
13115 else
13116 ac_cv_lib_mpg123_mpg123_feed=no
13118 rm -f core conftest.err conftest.$ac_objext \
13119 conftest$ac_exeext conftest.$ac_ext
13120 LIBS=$ac_check_lib_save_LIBS
13122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13123 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13124 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13126 else
13127 MPG123_LIBS=""
13130 else
13131 MPG123_CFLAGS=""
13132 MPG123_LIBS=""
13134 CPPFLAGS=$ac_save_CPPFLAGS
13135 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13136 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13139 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13140 case "x$with_mpg123" in
13141 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13142 xno) ;;
13143 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13144 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13145 esac
13147 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}
13149 if test "$ac_cv_header_AL_al_h" = "yes"
13150 then
13151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13152 $as_echo_n "checking for -lopenal... " >&6; }
13153 if ${ac_cv_lib_soname_openal+:} false; then :
13154 $as_echo_n "(cached) " >&6
13155 else
13156 ac_check_soname_save_LIBS=$LIBS
13157 LIBS="-lopenal $LIBS"
13158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13159 /* end confdefs.h. */
13161 /* Override any GCC internal prototype to avoid an error.
13162 Use char because int might match the return type of a GCC
13163 builtin and then its argument prototype would still apply. */
13164 #ifdef __cplusplus
13165 extern "C"
13166 #endif
13167 char alGetSource3i ();
13169 main ()
13171 return alGetSource3i ();
13173 return 0;
13175 _ACEOF
13176 if ac_fn_c_try_link "$LINENO"; then :
13177 case "$LIBEXT" in
13178 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13179 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'` ;;
13180 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13181 if ${ac_cv_lib_soname_openal:+false} :; then :
13182 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13183 fi ;;
13184 esac
13186 rm -f core conftest.err conftest.$ac_objext \
13187 conftest$ac_exeext conftest.$ac_ext
13188 LIBS=$ac_check_soname_save_LIBS
13190 if ${ac_cv_lib_soname_openal:+false} :; then :
13191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13192 $as_echo "not found" >&6; }
13194 else
13195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13196 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13198 cat >>confdefs.h <<_ACEOF
13199 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13200 _ACEOF
13202 OPENAL_LIBS="-lopenal"
13204 ac_cv_lib_openal=yes
13206 cat >>confdefs.h <<_ACEOF
13207 #define HAVE_OPENAL 1
13208 _ACEOF
13212 if test "x$ac_cv_lib_openal" != xyes; then :
13213 case "x$with_openal" in
13214 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13215 xno) ;;
13216 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13217 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13218 esac
13220 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13222 if test "$ac_cv_header_kstat_h" = "yes"
13223 then
13224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13225 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13226 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13227 $as_echo_n "(cached) " >&6
13228 else
13229 ac_check_lib_save_LIBS=$LIBS
13230 LIBS="-lkstat $LIBS"
13231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13232 /* end confdefs.h. */
13234 /* Override any GCC internal prototype to avoid an error.
13235 Use char because int might match the return type of a GCC
13236 builtin and then its argument prototype would still apply. */
13237 #ifdef __cplusplus
13238 extern "C"
13239 #endif
13240 char kstat_open ();
13242 main ()
13244 return kstat_open ();
13246 return 0;
13248 _ACEOF
13249 if ac_fn_c_try_link "$LINENO"; then :
13250 ac_cv_lib_kstat_kstat_open=yes
13251 else
13252 ac_cv_lib_kstat_kstat_open=no
13254 rm -f core conftest.err conftest.$ac_objext \
13255 conftest$ac_exeext conftest.$ac_ext
13256 LIBS=$ac_check_lib_save_LIBS
13258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13259 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13260 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13262 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13264 KSTAT_LIBS="-lkstat"
13270 if test "$ac_cv_header_libprocstat_h" = "yes"
13271 then
13272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13273 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13274 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13275 $as_echo_n "(cached) " >&6
13276 else
13277 ac_check_lib_save_LIBS=$LIBS
13278 LIBS="-lprocstat $LIBS"
13279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13280 /* end confdefs.h. */
13282 /* Override any GCC internal prototype to avoid an error.
13283 Use char because int might match the return type of a GCC
13284 builtin and then its argument prototype would still apply. */
13285 #ifdef __cplusplus
13286 extern "C"
13287 #endif
13288 char procstat_open_sysctl ();
13290 main ()
13292 return procstat_open_sysctl ();
13294 return 0;
13296 _ACEOF
13297 if ac_fn_c_try_link "$LINENO"; then :
13298 ac_cv_lib_procstat_procstat_open_sysctl=yes
13299 else
13300 ac_cv_lib_procstat_procstat_open_sysctl=no
13302 rm -f core conftest.err conftest.$ac_objext \
13303 conftest$ac_exeext conftest.$ac_ext
13304 LIBS=$ac_check_lib_save_LIBS
13306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13307 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13308 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13310 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13312 PROCSTAT_LIBS="-lprocstat"
13318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13319 $as_echo_n "checking for -lodbc... " >&6; }
13320 if ${ac_cv_lib_soname_odbc+:} false; then :
13321 $as_echo_n "(cached) " >&6
13322 else
13323 ac_check_soname_save_LIBS=$LIBS
13324 LIBS="-lodbc $LIBS"
13325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13326 /* end confdefs.h. */
13328 /* Override any GCC internal prototype to avoid an error.
13329 Use char because int might match the return type of a GCC
13330 builtin and then its argument prototype would still apply. */
13331 #ifdef __cplusplus
13332 extern "C"
13333 #endif
13334 char SQLConnect ();
13336 main ()
13338 return SQLConnect ();
13340 return 0;
13342 _ACEOF
13343 if ac_fn_c_try_link "$LINENO"; then :
13344 case "$LIBEXT" in
13345 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13346 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'` ;;
13347 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13348 if ${ac_cv_lib_soname_odbc:+false} :; then :
13349 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13350 fi ;;
13351 esac
13353 rm -f core conftest.err conftest.$ac_objext \
13354 conftest$ac_exeext conftest.$ac_ext
13355 LIBS=$ac_check_soname_save_LIBS
13357 if ${ac_cv_lib_soname_odbc:+false} :; then :
13358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13359 $as_echo "not found" >&6; }
13360 cat >>confdefs.h <<_ACEOF
13361 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13362 _ACEOF
13364 else
13365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13366 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13368 cat >>confdefs.h <<_ACEOF
13369 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13370 _ACEOF
13375 if test "x$with_netapi" != "xno"
13376 then
13377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13378 $as_echo_n "checking for -lnetapi... " >&6; }
13379 if ${ac_cv_lib_soname_netapi+:} false; then :
13380 $as_echo_n "(cached) " >&6
13381 else
13382 ac_check_soname_save_LIBS=$LIBS
13383 LIBS="-lnetapi $LIBS"
13384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13385 /* end confdefs.h. */
13387 /* Override any GCC internal prototype to avoid an error.
13388 Use char because int might match the return type of a GCC
13389 builtin and then its argument prototype would still apply. */
13390 #ifdef __cplusplus
13391 extern "C"
13392 #endif
13393 char libnetapi_init ();
13395 main ()
13397 return libnetapi_init ();
13399 return 0;
13401 _ACEOF
13402 if ac_fn_c_try_link "$LINENO"; then :
13403 case "$LIBEXT" in
13404 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13405 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'` ;;
13406 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13407 if ${ac_cv_lib_soname_netapi:+false} :; then :
13408 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13409 fi ;;
13410 esac
13412 rm -f core conftest.err conftest.$ac_objext \
13413 conftest$ac_exeext conftest.$ac_ext
13414 LIBS=$ac_check_soname_save_LIBS
13416 if ${ac_cv_lib_soname_netapi:+false} :; then :
13417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13418 $as_echo "not found" >&6; }
13419 cat >>confdefs.h <<_ACEOF
13420 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13421 _ACEOF
13423 else
13424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13425 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13427 cat >>confdefs.h <<_ACEOF
13428 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13429 _ACEOF
13435 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13436 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
13437 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
13438 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
13440 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13441 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
13442 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13443 then
13444 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13448 EXTRACFLAGS=""
13450 if test "x${GCC}" = "xyes"
13451 then
13452 EXTRACFLAGS="-Wall -pipe"
13454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13455 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13456 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13457 $as_echo_n "(cached) " >&6
13458 else
13459 if test "$cross_compiling" = yes; then :
13460 ac_cv_c_gcc_strength_bug="yes"
13461 else
13462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13463 /* end confdefs.h. */
13464 int L[4] = {0,1,2,3};
13466 main ()
13468 static int Array[3];
13469 unsigned int B = 3;
13470 int i;
13471 for(i=0; i<B; i++) Array[i] = i - 3;
13472 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13473 L[i] = 4;
13474 return (Array[1] != -2 || L[2] != 3)
13476 return 0;
13478 _ACEOF
13479 if ac_fn_c_try_run "$LINENO"; then :
13480 ac_cv_c_gcc_strength_bug="no"
13481 else
13482 ac_cv_c_gcc_strength_bug="yes"
13484 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13485 conftest.$ac_objext conftest.beam conftest.$ac_ext
13489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13490 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13491 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13492 then
13493 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13497 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13498 if ${ac_cv_cflags__fno_builtin+:} false; then :
13499 $as_echo_n "(cached) " >&6
13500 else
13501 ac_wine_try_cflags_saved=$CFLAGS
13502 CFLAGS="$CFLAGS -fno-builtin"
13503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13504 /* end confdefs.h. */
13505 int main(int argc, char **argv) { return 0; }
13506 _ACEOF
13507 if ac_fn_c_try_link "$LINENO"; then :
13508 ac_cv_cflags__fno_builtin=yes
13509 else
13510 ac_cv_cflags__fno_builtin=no
13512 rm -f core conftest.err conftest.$ac_objext \
13513 conftest$ac_exeext conftest.$ac_ext
13514 CFLAGS=$ac_wine_try_cflags_saved
13516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13517 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13518 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
13519 BUILTINFLAG="-fno-builtin"
13522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13523 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13524 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
13525 $as_echo_n "(cached) " >&6
13526 else
13527 ac_wine_try_cflags_saved=$CFLAGS
13528 CFLAGS="$CFLAGS -fno-strict-aliasing"
13529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13530 /* end confdefs.h. */
13531 int main(int argc, char **argv) { return 0; }
13532 _ACEOF
13533 if ac_fn_c_try_link "$LINENO"; then :
13534 ac_cv_cflags__fno_strict_aliasing=yes
13535 else
13536 ac_cv_cflags__fno_strict_aliasing=no
13538 rm -f core conftest.err conftest.$ac_objext \
13539 conftest$ac_exeext conftest.$ac_ext
13540 CFLAGS=$ac_wine_try_cflags_saved
13542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13543 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13544 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
13545 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
13547 saved_CFLAGS=$CFLAGS
13548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13549 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13550 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
13551 $as_echo_n "(cached) " >&6
13552 else
13553 ac_wine_try_cflags_saved=$CFLAGS
13554 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13556 /* end confdefs.h. */
13557 int main(int argc, char **argv) { return 0; }
13558 _ACEOF
13559 if ac_fn_c_try_link "$LINENO"; then :
13560 ac_cv_cflags__Werror_unknown_warning_option=yes
13561 else
13562 ac_cv_cflags__Werror_unknown_warning_option=no
13564 rm -f core conftest.err conftest.$ac_objext \
13565 conftest$ac_exeext conftest.$ac_ext
13566 CFLAGS=$ac_wine_try_cflags_saved
13568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13569 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13570 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
13571 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13574 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13575 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
13576 $as_echo_n "(cached) " >&6
13577 else
13578 ac_wine_try_cflags_saved=$CFLAGS
13579 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
13580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13581 /* end confdefs.h. */
13582 int main(int argc, char **argv) { return 0; }
13583 _ACEOF
13584 if ac_fn_c_try_link "$LINENO"; then :
13585 ac_cv_cflags__Wdeclaration_after_statement=yes
13586 else
13587 ac_cv_cflags__Wdeclaration_after_statement=no
13589 rm -f core conftest.err conftest.$ac_objext \
13590 conftest$ac_exeext conftest.$ac_ext
13591 CFLAGS=$ac_wine_try_cflags_saved
13593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13594 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13595 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
13596 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
13598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13599 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13600 if ${ac_cv_cflags__Wempty_body+:} false; then :
13601 $as_echo_n "(cached) " >&6
13602 else
13603 ac_wine_try_cflags_saved=$CFLAGS
13604 CFLAGS="$CFLAGS -Wempty-body"
13605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13606 /* end confdefs.h. */
13607 int main(int argc, char **argv) { return 0; }
13608 _ACEOF
13609 if ac_fn_c_try_link "$LINENO"; then :
13610 ac_cv_cflags__Wempty_body=yes
13611 else
13612 ac_cv_cflags__Wempty_body=no
13614 rm -f core conftest.err conftest.$ac_objext \
13615 conftest$ac_exeext conftest.$ac_ext
13616 CFLAGS=$ac_wine_try_cflags_saved
13618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13619 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13620 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
13621 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
13623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13624 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13625 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
13626 $as_echo_n "(cached) " >&6
13627 else
13628 ac_wine_try_cflags_saved=$CFLAGS
13629 CFLAGS="$CFLAGS -Wignored-qualifiers"
13630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13631 /* end confdefs.h. */
13632 int main(int argc, char **argv) { return 0; }
13633 _ACEOF
13634 if ac_fn_c_try_link "$LINENO"; then :
13635 ac_cv_cflags__Wignored_qualifiers=yes
13636 else
13637 ac_cv_cflags__Wignored_qualifiers=no
13639 rm -f core conftest.err conftest.$ac_objext \
13640 conftest$ac_exeext conftest.$ac_ext
13641 CFLAGS=$ac_wine_try_cflags_saved
13643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13644 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13645 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
13646 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
13648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13649 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13650 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
13651 $as_echo_n "(cached) " >&6
13652 else
13653 ac_wine_try_cflags_saved=$CFLAGS
13654 CFLAGS="$CFLAGS -Wstrict-prototypes"
13655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13656 /* end confdefs.h. */
13657 int main(int argc, char **argv) { return 0; }
13658 _ACEOF
13659 if ac_fn_c_try_link "$LINENO"; then :
13660 ac_cv_cflags__Wstrict_prototypes=yes
13661 else
13662 ac_cv_cflags__Wstrict_prototypes=no
13664 rm -f core conftest.err conftest.$ac_objext \
13665 conftest$ac_exeext conftest.$ac_ext
13666 CFLAGS=$ac_wine_try_cflags_saved
13668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13669 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13670 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
13671 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
13673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13674 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13675 if ${ac_cv_cflags__Wtype_limits+:} false; then :
13676 $as_echo_n "(cached) " >&6
13677 else
13678 ac_wine_try_cflags_saved=$CFLAGS
13679 CFLAGS="$CFLAGS -Wtype-limits"
13680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13681 /* end confdefs.h. */
13682 int main(int argc, char **argv) { return 0; }
13683 _ACEOF
13684 if ac_fn_c_try_link "$LINENO"; then :
13685 ac_cv_cflags__Wtype_limits=yes
13686 else
13687 ac_cv_cflags__Wtype_limits=no
13689 rm -f core conftest.err conftest.$ac_objext \
13690 conftest$ac_exeext conftest.$ac_ext
13691 CFLAGS=$ac_wine_try_cflags_saved
13693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13694 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13695 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
13696 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
13698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13699 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13700 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
13701 $as_echo_n "(cached) " >&6
13702 else
13703 ac_wine_try_cflags_saved=$CFLAGS
13704 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
13705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13706 /* end confdefs.h. */
13707 int main(int argc, char **argv) { return 0; }
13708 _ACEOF
13709 if ac_fn_c_try_link "$LINENO"; then :
13710 ac_cv_cflags__Wunused_but_set_parameter=yes
13711 else
13712 ac_cv_cflags__Wunused_but_set_parameter=no
13714 rm -f core conftest.err conftest.$ac_objext \
13715 conftest$ac_exeext conftest.$ac_ext
13716 CFLAGS=$ac_wine_try_cflags_saved
13718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13719 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13720 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
13721 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
13723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13724 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13725 if ${ac_cv_cflags__Wvla+:} false; then :
13726 $as_echo_n "(cached) " >&6
13727 else
13728 ac_wine_try_cflags_saved=$CFLAGS
13729 CFLAGS="$CFLAGS -Wvla"
13730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13731 /* end confdefs.h. */
13732 int main(int argc, char **argv) { return 0; }
13733 _ACEOF
13734 if ac_fn_c_try_link "$LINENO"; then :
13735 ac_cv_cflags__Wvla=yes
13736 else
13737 ac_cv_cflags__Wvla=no
13739 rm -f core conftest.err conftest.$ac_objext \
13740 conftest$ac_exeext conftest.$ac_ext
13741 CFLAGS=$ac_wine_try_cflags_saved
13743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
13744 $as_echo "$ac_cv_cflags__Wvla" >&6; }
13745 if test "x$ac_cv_cflags__Wvla" = xyes; then :
13746 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
13748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13749 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13750 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
13751 $as_echo_n "(cached) " >&6
13752 else
13753 ac_wine_try_cflags_saved=$CFLAGS
13754 CFLAGS="$CFLAGS -Wwrite-strings"
13755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13756 /* end confdefs.h. */
13757 int main(int argc, char **argv) { return 0; }
13758 _ACEOF
13759 if ac_fn_c_try_link "$LINENO"; then :
13760 ac_cv_cflags__Wwrite_strings=yes
13761 else
13762 ac_cv_cflags__Wwrite_strings=no
13764 rm -f core conftest.err conftest.$ac_objext \
13765 conftest$ac_exeext conftest.$ac_ext
13766 CFLAGS=$ac_wine_try_cflags_saved
13768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13769 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13770 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
13771 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
13774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13775 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13776 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
13777 $as_echo_n "(cached) " >&6
13778 else
13779 ac_wine_try_cflags_saved=$CFLAGS
13780 CFLAGS="$CFLAGS -Wpointer-arith"
13781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13782 /* end confdefs.h. */
13783 int main(int argc, char **argv) { return 0; }
13784 _ACEOF
13785 if ac_fn_c_try_link "$LINENO"; then :
13786 ac_cv_cflags__Wpointer_arith=yes
13787 else
13788 ac_cv_cflags__Wpointer_arith=no
13790 rm -f core conftest.err conftest.$ac_objext \
13791 conftest$ac_exeext conftest.$ac_ext
13792 CFLAGS=$ac_wine_try_cflags_saved
13794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13795 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13796 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
13797 saved_string_h_CFLAGS=$CFLAGS
13798 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
13799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13800 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13801 if ${ac_cv_c_string_h_warnings+:} false; then :
13802 $as_echo_n "(cached) " >&6
13803 else
13804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13805 /* end confdefs.h. */
13806 #include <string.h>
13808 main ()
13812 return 0;
13814 _ACEOF
13815 if ac_fn_c_try_compile "$LINENO"; then :
13816 ac_cv_c_string_h_warnings=no
13817 else
13818 ac_cv_c_string_h_warnings=yes
13820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13823 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13824 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
13825 CFLAGS=$saved_string_h_CFLAGS
13828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13829 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13830 if ${ac_cv_cflags__Wlogical_op+:} false; then :
13831 $as_echo_n "(cached) " >&6
13832 else
13833 ac_wine_try_cflags_saved=$CFLAGS
13834 CFLAGS="$CFLAGS -Wlogical-op"
13835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13836 /* end confdefs.h. */
13837 int main(int argc, char **argv) { return 0; }
13838 _ACEOF
13839 if ac_fn_c_try_link "$LINENO"; then :
13840 ac_cv_cflags__Wlogical_op=yes
13841 else
13842 ac_cv_cflags__Wlogical_op=no
13844 rm -f core conftest.err conftest.$ac_objext \
13845 conftest$ac_exeext conftest.$ac_ext
13846 CFLAGS=$ac_wine_try_cflags_saved
13848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13849 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13850 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
13851 saved_string_h_CFLAGS=$CFLAGS
13852 CFLAGS="$CFLAGS -Wlogical-op -Werror"
13853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13854 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13855 if ${ac_cv_c_logicalop_noisy+:} false; then :
13856 $as_echo_n "(cached) " >&6
13857 else
13858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13859 /* end confdefs.h. */
13860 #include <string.h>
13861 char*f(const char *h,char n) {return strchr(h,n);}
13863 main ()
13867 return 0;
13869 _ACEOF
13870 if ac_fn_c_try_compile "$LINENO"; then :
13871 ac_cv_c_logicalop_noisy=no
13872 else
13873 ac_cv_c_logicalop_noisy=yes
13875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13878 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13879 CFLAGS=$saved_string_h_CFLAGS
13880 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
13883 CFLAGS=$saved_CFLAGS
13885 for ac_flag in $CFLAGS; do
13886 case $ac_flag in
13887 -g) case $host_os in
13888 darwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13889 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
13890 if ${ac_cv_cflags__gstabsp+:} false; then :
13891 $as_echo_n "(cached) " >&6
13892 else
13893 ac_wine_try_cflags_saved=$CFLAGS
13894 CFLAGS="$CFLAGS -gstabs+"
13895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13896 /* end confdefs.h. */
13897 int main(int argc, char **argv) { return 0; }
13898 _ACEOF
13899 if ac_fn_c_try_link "$LINENO"; then :
13900 ac_cv_cflags__gstabsp=yes
13901 else
13902 ac_cv_cflags__gstabsp=no
13904 rm -f core conftest.err conftest.$ac_objext \
13905 conftest$ac_exeext conftest.$ac_ext
13906 CFLAGS=$ac_wine_try_cflags_saved
13908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
13909 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
13910 if test "x$ac_cv_cflags__gstabsp" = xyes; then :
13911 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
13912 fi ;;
13913 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
13914 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
13915 if ${ac_cv_cflags__gdwarf_2+:} false; then :
13916 $as_echo_n "(cached) " >&6
13917 else
13918 ac_wine_try_cflags_saved=$CFLAGS
13919 CFLAGS="$CFLAGS -gdwarf-2"
13920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13921 /* end confdefs.h. */
13922 int main(int argc, char **argv) { return 0; }
13923 _ACEOF
13924 if ac_fn_c_try_link "$LINENO"; then :
13925 ac_cv_cflags__gdwarf_2=yes
13926 else
13927 ac_cv_cflags__gdwarf_2=no
13929 rm -f core conftest.err conftest.$ac_objext \
13930 conftest$ac_exeext conftest.$ac_ext
13931 CFLAGS=$ac_wine_try_cflags_saved
13933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
13934 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
13935 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
13936 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
13938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
13939 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
13940 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
13941 $as_echo_n "(cached) " >&6
13942 else
13943 ac_wine_try_cflags_saved=$CFLAGS
13944 CFLAGS="$CFLAGS -gstrict-dwarf"
13945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13946 /* end confdefs.h. */
13947 int main(int argc, char **argv) { return 0; }
13948 _ACEOF
13949 if ac_fn_c_try_link "$LINENO"; then :
13950 ac_cv_cflags__gstrict_dwarf=yes
13951 else
13952 ac_cv_cflags__gstrict_dwarf=no
13954 rm -f core conftest.err conftest.$ac_objext \
13955 conftest$ac_exeext conftest.$ac_ext
13956 CFLAGS=$ac_wine_try_cflags_saved
13958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
13959 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
13960 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
13961 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
13962 fi ;;
13963 esac ;;
13964 esac
13965 done
13967 case $host_cpu in
13968 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
13969 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
13970 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
13971 $as_echo_n "(cached) " >&6
13972 else
13973 ac_wine_try_cflags_saved=$CFLAGS
13974 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
13975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13976 /* end confdefs.h. */
13977 int main(int argc, char **argv) { return 0; }
13978 _ACEOF
13979 if ac_fn_c_try_link "$LINENO"; then :
13980 ac_cv_cflags__fno_omit_frame_pointer=yes
13981 else
13982 ac_cv_cflags__fno_omit_frame_pointer=no
13984 rm -f core conftest.err conftest.$ac_objext \
13985 conftest$ac_exeext conftest.$ac_ext
13986 CFLAGS=$ac_wine_try_cflags_saved
13988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
13989 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
13990 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
13991 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
13992 fi ;;
13993 esac
13995 case $host in
13996 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
13997 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
13998 if ${ac_cv_cflags__Wno_format+:} false; then :
13999 $as_echo_n "(cached) " >&6
14000 else
14001 ac_wine_try_cflags_saved=$CFLAGS
14002 CFLAGS="$CFLAGS -Wno-format"
14003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14004 /* end confdefs.h. */
14005 int main(int argc, char **argv) { return 0; }
14006 _ACEOF
14007 if ac_fn_c_try_link "$LINENO"; then :
14008 ac_cv_cflags__Wno_format=yes
14009 else
14010 ac_cv_cflags__Wno_format=no
14012 rm -f core conftest.err conftest.$ac_objext \
14013 conftest$ac_exeext conftest.$ac_ext
14014 CFLAGS=$ac_wine_try_cflags_saved
14016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14017 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14018 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14019 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14020 fi ;;
14021 esac
14023 if test "x$enable_maintainer_mode" = "xyes"
14024 then
14025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14026 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14027 if ${ac_cv_cflags__Werror+:} false; then :
14028 $as_echo_n "(cached) " >&6
14029 else
14030 ac_wine_try_cflags_saved=$CFLAGS
14031 CFLAGS="$CFLAGS -Werror"
14032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14033 /* end confdefs.h. */
14034 int main(int argc, char **argv) { return 0; }
14035 _ACEOF
14036 if ac_fn_c_try_link "$LINENO"; then :
14037 ac_cv_cflags__Werror=yes
14038 else
14039 ac_cv_cflags__Werror=no
14041 rm -f core conftest.err conftest.$ac_objext \
14042 conftest$ac_exeext conftest.$ac_ext
14043 CFLAGS=$ac_wine_try_cflags_saved
14045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14046 $as_echo "$ac_cv_cflags__Werror" >&6; }
14047 if test "x$ac_cv_cflags__Werror" = xyes; then :
14048 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14052 saved_CFLAGS="$CFLAGS"
14053 CFLAGS="$CFLAGS -Werror"
14054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14055 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14056 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14057 $as_echo_n "(cached) " >&6
14058 else
14059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14060 /* end confdefs.h. */
14061 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14063 main ()
14067 return 0;
14069 _ACEOF
14070 if ac_fn_c_try_compile "$LINENO"; then :
14071 ac_cv_have_ms_hook_prologue="yes"
14072 else
14073 ac_cv_have_ms_hook_prologue="no"
14075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14078 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14079 CFLAGS="$saved_CFLAGS"
14080 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14081 then
14083 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14085 else
14086 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14093 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14094 if ${ac_cv_c_fortify_enabled+:} false; then :
14095 $as_echo_n "(cached) " >&6
14096 else
14097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14098 /* end confdefs.h. */
14099 #include <string.h>
14101 main ()
14103 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14104 #error Fortify enabled
14105 #endif
14107 return 0;
14109 _ACEOF
14110 if ac_fn_c_try_compile "$LINENO"; then :
14111 ac_cv_c_fortify_enabled=no
14112 else
14113 ac_cv_c_fortify_enabled=yes
14115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14118 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14119 if test "$ac_cv_c_fortify_enabled" = yes
14120 then
14121 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14126 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14127 if ${ac_cv_c_extern_prefix+:} false; then :
14128 $as_echo_n "(cached) " >&6
14129 else
14130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14131 /* end confdefs.h. */
14132 extern int ac_test;
14134 main ()
14136 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14138 return 0;
14140 _ACEOF
14141 if ac_fn_c_try_link "$LINENO"; then :
14142 ac_cv_c_extern_prefix="yes"
14143 else
14144 ac_cv_c_extern_prefix="no"
14146 rm -f core conftest.err conftest.$ac_objext \
14147 conftest$ac_exeext conftest.$ac_ext
14149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14150 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14152 case $host_cpu in
14153 *i[3456789]86*)
14154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14155 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14156 if ${ac_cv_c_stdcall_suffix+:} false; then :
14157 $as_echo_n "(cached) " >&6
14158 else
14159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14160 /* end confdefs.h. */
14161 #ifndef _MSC_VER
14162 #define __stdcall __attribute__((__stdcall__))
14163 #endif
14164 int __stdcall ac_test(int i) { return i; }
14166 main ()
14168 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14170 return 0;
14172 _ACEOF
14173 if ac_fn_c_try_link "$LINENO"; then :
14174 ac_cv_c_stdcall_suffix="yes"
14175 else
14176 ac_cv_c_stdcall_suffix="no"
14178 rm -f core conftest.err conftest.$ac_objext \
14179 conftest$ac_exeext conftest.$ac_ext
14181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14182 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14183 *) ac_cv_c_stdcall_suffix="no" ;;
14184 esac
14187 if test "$ac_cv_c_extern_prefix" = "yes"
14188 then
14189 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14191 asm_name_prefix="_"
14192 else
14193 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14195 asm_name_prefix=""
14199 if test "$ac_cv_c_stdcall_suffix" = "yes"
14200 then
14201 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14203 else
14204 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14210 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14211 if ${ac_cv_asm_func_def+:} false; then :
14212 $as_echo_n "(cached) " >&6
14213 else
14214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14215 /* end confdefs.h. */
14218 main ()
14220 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14222 return 0;
14224 _ACEOF
14225 if ac_fn_c_try_link "$LINENO"; then :
14226 ac_cv_asm_func_def=".def"
14227 else
14228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14229 /* end confdefs.h. */
14232 main ()
14234 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14236 return 0;
14238 _ACEOF
14239 if ac_fn_c_try_link "$LINENO"; then :
14240 ac_cv_asm_func_def=".type @function"
14241 else
14242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14243 /* end confdefs.h. */
14246 main ()
14248 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14250 return 0;
14252 _ACEOF
14253 if ac_fn_c_try_link "$LINENO"; then :
14254 ac_cv_asm_func_def=".type 2"
14255 else
14256 ac_cv_asm_func_def="unknown"
14258 rm -f core conftest.err conftest.$ac_objext \
14259 conftest$ac_exeext conftest.$ac_ext
14261 rm -f core conftest.err conftest.$ac_objext \
14262 conftest$ac_exeext conftest.$ac_ext
14264 rm -f core conftest.err conftest.$ac_objext \
14265 conftest$ac_exeext conftest.$ac_ext
14267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14268 $as_echo "$ac_cv_asm_func_def" >&6; }
14271 case "$ac_cv_asm_func_def" in
14272 ".def")
14273 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14275 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14276 ".type @function")
14277 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14279 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14280 ".type 2")
14281 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14283 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14285 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14287 asm_func_header="" ;;
14288 esac
14290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14291 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14292 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14293 $as_echo_n "(cached) " >&6
14294 else
14295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14296 /* end confdefs.h. */
14297 asm(".text\n\t.long 0");
14299 main ()
14303 return 0;
14305 _ACEOF
14306 if ac_fn_c_try_compile "$LINENO"; then :
14307 ac_cv_c_asm_outside_funcs="yes"
14308 else
14309 ac_cv_c_asm_outside_funcs="no"
14311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14314 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14317 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14318 if ${ac_cv_c_dot_previous+:} false; then :
14319 $as_echo_n "(cached) " >&6
14320 else
14321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14322 /* end confdefs.h. */
14325 main ()
14327 asm(".text\nac_test:\t.long 0\n\t.previous");
14329 return 0;
14331 _ACEOF
14332 if ac_fn_c_try_link "$LINENO"; then :
14333 ac_cv_c_dot_previous="yes"
14334 else
14335 ac_cv_c_dot_previous="no"
14337 rm -f core conftest.err conftest.$ac_objext \
14338 conftest$ac_exeext conftest.$ac_ext
14340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14341 $as_echo "$ac_cv_c_dot_previous" >&6; }
14343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14344 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14345 if ${ac_cv_c_cfi_support+:} false; then :
14346 $as_echo_n "(cached) " >&6
14347 else
14348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14349 /* end confdefs.h. */
14350 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14352 main ()
14356 return 0;
14358 _ACEOF
14359 if ac_fn_c_try_compile "$LINENO"; then :
14360 ac_cv_c_cfi_support="yes"
14361 else
14362 ac_cv_c_cfi_support="no"
14364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14367 $as_echo "$ac_cv_c_cfi_support" >&6; }
14369 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14370 asm_func_trailer=""
14371 if test "$ac_cv_c_dot_previous" = "yes"
14372 then
14373 asm_func_trailer="\\n\\t.previous"
14375 if test "$ac_cv_c_cfi_support" = "yes"
14376 then
14377 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14378 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14380 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14382 UNWINDFLAGS=-fasynchronous-unwind-tables
14384 else
14385 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14389 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14392 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14393 then
14394 cat >>confdefs.h <<_ACEOF
14395 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14396 _ACEOF
14398 else
14399 cat >>confdefs.h <<_ACEOF
14400 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14401 _ACEOF
14405 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14408 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14412 case $build_os in
14413 cygwin*|mingw32*) TOOLSEXT=".exe"
14415 esac
14417 case $host_os in
14418 linux*)
14419 case $host_cpu in
14420 *i[3456789]86*|x86_64*)
14421 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14422 loader_programs="$loader_programs $wine_binary-preloader"
14423 as_fn_append LOADER_RULES "
14424 $wine_binary-preloader: preloader.o
14425 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14427 install install-lib:: $wine_binary-preloader
14428 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14430 uninstall::
14431 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14433 preloader_EXTRADEFS = $BUILTINFLAG
14434 " ;;
14435 esac
14437 esac
14438 as_fn_append LOADER_RULES "
14439 PROGRAMS = $loader_programs
14443 ac_save_CFLAGS="$CFLAGS"
14444 CFLAGS="$CFLAGS $BUILTINFLAG"
14445 for ac_func in \
14446 __res_get_state \
14447 __res_getservers \
14448 _finite \
14449 _isnan \
14450 _pclose \
14451 _popen \
14452 _snprintf \
14453 _spawnvp \
14454 _strdup \
14455 _stricmp \
14456 _strnicmp \
14457 _strtoi64 \
14458 _strtoui64 \
14459 _vsnprintf \
14460 asctime_r \
14461 chsize \
14462 dlopen \
14463 epoll_create \
14464 ffs \
14465 fnmatch \
14466 fork \
14467 fpclass \
14468 fstatfs \
14469 fstatvfs \
14470 ftruncate \
14471 futimens \
14472 futimes \
14473 futimesat \
14474 getattrlist \
14475 getdirentries \
14476 getopt_long_only \
14477 getpwuid \
14478 gettimeofday \
14479 getuid \
14480 if_nameindex \
14481 kqueue \
14482 lstat \
14483 memmove \
14484 mmap \
14485 pclose \
14486 pipe2 \
14487 poll \
14488 popen \
14489 port_create \
14490 prctl \
14491 pread \
14492 proc_pidinfo \
14493 pwrite \
14494 readdir \
14495 readlink \
14496 sched_yield \
14497 select \
14498 setproctitle \
14499 setrlimit \
14500 settimeofday \
14501 sigaltstack \
14502 sigprocmask \
14503 snprintf \
14504 statfs \
14505 statvfs \
14506 strcasecmp \
14507 strdup \
14508 strerror \
14509 strncasecmp \
14510 strtold \
14511 strtoll \
14512 strtoull \
14513 symlink \
14514 tcdrain \
14515 thr_kill2 \
14516 timegm \
14517 usleep \
14518 vsnprintf
14520 do :
14521 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14522 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14523 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14524 cat >>confdefs.h <<_ACEOF
14525 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14526 _ACEOF
14529 done
14531 CFLAGS="$ac_save_CFLAGS"
14533 if test "$ac_cv_func_dlopen" = no
14534 then
14535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14536 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14537 if ${ac_cv_lib_dl_dlopen+:} false; then :
14538 $as_echo_n "(cached) " >&6
14539 else
14540 ac_check_lib_save_LIBS=$LIBS
14541 LIBS="-ldl $LIBS"
14542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14543 /* end confdefs.h. */
14545 /* Override any GCC internal prototype to avoid an error.
14546 Use char because int might match the return type of a GCC
14547 builtin and then its argument prototype would still apply. */
14548 #ifdef __cplusplus
14549 extern "C"
14550 #endif
14551 char dlopen ();
14553 main ()
14555 return dlopen ();
14557 return 0;
14559 _ACEOF
14560 if ac_fn_c_try_link "$LINENO"; then :
14561 ac_cv_lib_dl_dlopen=yes
14562 else
14563 ac_cv_lib_dl_dlopen=no
14565 rm -f core conftest.err conftest.$ac_objext \
14566 conftest$ac_exeext conftest.$ac_ext
14567 LIBS=$ac_check_lib_save_LIBS
14569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14570 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14571 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14572 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14573 DL_LIBS="-ldl"
14578 ac_wine_check_funcs_save_LIBS="$LIBS"
14579 LIBS="$LIBS $DL_LIBS"
14580 for ac_func in dladdr
14581 do :
14582 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
14583 if test "x$ac_cv_func_dladdr" = xyes; then :
14584 cat >>confdefs.h <<_ACEOF
14585 #define HAVE_DLADDR 1
14586 _ACEOF
14589 done
14591 LIBS="$ac_wine_check_funcs_save_LIBS"
14593 if test "$ac_cv_func_poll" = no
14594 then
14595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14596 $as_echo_n "checking for poll in -lpoll... " >&6; }
14597 if ${ac_cv_lib_poll_poll+:} false; then :
14598 $as_echo_n "(cached) " >&6
14599 else
14600 ac_check_lib_save_LIBS=$LIBS
14601 LIBS="-lpoll $LIBS"
14602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14603 /* end confdefs.h. */
14605 /* Override any GCC internal prototype to avoid an error.
14606 Use char because int might match the return type of a GCC
14607 builtin and then its argument prototype would still apply. */
14608 #ifdef __cplusplus
14609 extern "C"
14610 #endif
14611 char poll ();
14613 main ()
14615 return poll ();
14617 return 0;
14619 _ACEOF
14620 if ac_fn_c_try_link "$LINENO"; then :
14621 ac_cv_lib_poll_poll=yes
14622 else
14623 ac_cv_lib_poll_poll=no
14625 rm -f core conftest.err conftest.$ac_objext \
14626 conftest$ac_exeext conftest.$ac_ext
14627 LIBS=$ac_check_lib_save_LIBS
14629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14630 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14631 if test "x$ac_cv_lib_poll_poll" = xyes; then :
14632 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14633 POLL_LIBS="-lpoll"
14639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14640 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14641 if ${ac_cv_search_gethostbyname+:} false; then :
14642 $as_echo_n "(cached) " >&6
14643 else
14644 ac_func_search_save_LIBS=$LIBS
14645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14646 /* end confdefs.h. */
14648 /* Override any GCC internal prototype to avoid an error.
14649 Use char because int might match the return type of a GCC
14650 builtin and then its argument prototype would still apply. */
14651 #ifdef __cplusplus
14652 extern "C"
14653 #endif
14654 char gethostbyname ();
14656 main ()
14658 return gethostbyname ();
14660 return 0;
14662 _ACEOF
14663 for ac_lib in '' nsl; do
14664 if test -z "$ac_lib"; then
14665 ac_res="none required"
14666 else
14667 ac_res=-l$ac_lib
14668 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14670 if ac_fn_c_try_link "$LINENO"; then :
14671 ac_cv_search_gethostbyname=$ac_res
14673 rm -f core conftest.err conftest.$ac_objext \
14674 conftest$ac_exeext
14675 if ${ac_cv_search_gethostbyname+:} false; then :
14676 break
14678 done
14679 if ${ac_cv_search_gethostbyname+:} false; then :
14681 else
14682 ac_cv_search_gethostbyname=no
14684 rm conftest.$ac_ext
14685 LIBS=$ac_func_search_save_LIBS
14687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14688 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14689 ac_res=$ac_cv_search_gethostbyname
14690 if test "$ac_res" != no; then :
14691 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14697 $as_echo_n "checking for library containing connect... " >&6; }
14698 if ${ac_cv_search_connect+:} false; then :
14699 $as_echo_n "(cached) " >&6
14700 else
14701 ac_func_search_save_LIBS=$LIBS
14702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14703 /* end confdefs.h. */
14705 /* Override any GCC internal prototype to avoid an error.
14706 Use char because int might match the return type of a GCC
14707 builtin and then its argument prototype would still apply. */
14708 #ifdef __cplusplus
14709 extern "C"
14710 #endif
14711 char connect ();
14713 main ()
14715 return connect ();
14717 return 0;
14719 _ACEOF
14720 for ac_lib in '' socket; do
14721 if test -z "$ac_lib"; then
14722 ac_res="none required"
14723 else
14724 ac_res=-l$ac_lib
14725 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14727 if ac_fn_c_try_link "$LINENO"; then :
14728 ac_cv_search_connect=$ac_res
14730 rm -f core conftest.err conftest.$ac_objext \
14731 conftest$ac_exeext
14732 if ${ac_cv_search_connect+:} false; then :
14733 break
14735 done
14736 if ${ac_cv_search_connect+:} false; then :
14738 else
14739 ac_cv_search_connect=no
14741 rm conftest.$ac_ext
14742 LIBS=$ac_func_search_save_LIBS
14744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14745 $as_echo "$ac_cv_search_connect" >&6; }
14746 ac_res=$ac_cv_search_connect
14747 if test "$ac_res" != no; then :
14748 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14754 $as_echo_n "checking for library containing inet_aton... " >&6; }
14755 if ${ac_cv_search_inet_aton+:} false; then :
14756 $as_echo_n "(cached) " >&6
14757 else
14758 ac_func_search_save_LIBS=$LIBS
14759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14760 /* end confdefs.h. */
14762 /* Override any GCC internal prototype to avoid an error.
14763 Use char because int might match the return type of a GCC
14764 builtin and then its argument prototype would still apply. */
14765 #ifdef __cplusplus
14766 extern "C"
14767 #endif
14768 char inet_aton ();
14770 main ()
14772 return inet_aton ();
14774 return 0;
14776 _ACEOF
14777 for ac_lib in '' resolv; do
14778 if test -z "$ac_lib"; then
14779 ac_res="none required"
14780 else
14781 ac_res=-l$ac_lib
14782 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14784 if ac_fn_c_try_link "$LINENO"; then :
14785 ac_cv_search_inet_aton=$ac_res
14787 rm -f core conftest.err conftest.$ac_objext \
14788 conftest$ac_exeext
14789 if ${ac_cv_search_inet_aton+:} false; then :
14790 break
14792 done
14793 if ${ac_cv_search_inet_aton+:} false; then :
14795 else
14796 ac_cv_search_inet_aton=no
14798 rm conftest.$ac_ext
14799 LIBS=$ac_func_search_save_LIBS
14801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14802 $as_echo "$ac_cv_search_inet_aton" >&6; }
14803 ac_res=$ac_cv_search_inet_aton
14804 if test "$ac_res" != no; then :
14805 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14810 for ac_func in \
14811 getaddrinfo \
14812 getnameinfo \
14813 getnetbyname \
14814 getprotobyname \
14815 getprotobynumber \
14816 getservbyport \
14817 inet_addr \
14818 inet_network \
14819 inet_ntop \
14820 inet_pton \
14821 sendmsg \
14822 socketpair \
14824 do :
14825 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14826 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14827 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14828 cat >>confdefs.h <<_ACEOF
14829 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14830 _ACEOF
14833 done
14836 ac_save_LIBS=$LIBS
14837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14838 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14839 if ${ac_cv_search_clock_gettime+:} false; then :
14840 $as_echo_n "(cached) " >&6
14841 else
14842 ac_func_search_save_LIBS=$LIBS
14843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14844 /* end confdefs.h. */
14846 /* Override any GCC internal prototype to avoid an error.
14847 Use char because int might match the return type of a GCC
14848 builtin and then its argument prototype would still apply. */
14849 #ifdef __cplusplus
14850 extern "C"
14851 #endif
14852 char clock_gettime ();
14854 main ()
14856 return clock_gettime ();
14858 return 0;
14860 _ACEOF
14861 for ac_lib in '' rt; do
14862 if test -z "$ac_lib"; then
14863 ac_res="none required"
14864 else
14865 ac_res=-l$ac_lib
14866 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14868 if ac_fn_c_try_link "$LINENO"; then :
14869 ac_cv_search_clock_gettime=$ac_res
14871 rm -f core conftest.err conftest.$ac_objext \
14872 conftest$ac_exeext
14873 if ${ac_cv_search_clock_gettime+:} false; then :
14874 break
14876 done
14877 if ${ac_cv_search_clock_gettime+:} false; then :
14879 else
14880 ac_cv_search_clock_gettime=no
14882 rm conftest.$ac_ext
14883 LIBS=$ac_func_search_save_LIBS
14885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14886 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14887 ac_res=$ac_cv_search_clock_gettime
14888 if test "$ac_res" != no; then :
14889 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14891 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
14893 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
14897 LIBS=$ac_save_LIBS
14899 LDAP_LIBS=""
14901 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
14902 then
14903 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
14905 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
14906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
14907 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
14908 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
14909 $as_echo_n "(cached) " >&6
14910 else
14911 ac_check_lib_save_LIBS=$LIBS
14912 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
14913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14914 /* end confdefs.h. */
14916 /* Override any GCC internal prototype to avoid an error.
14917 Use char because int might match the return type of a GCC
14918 builtin and then its argument prototype would still apply. */
14919 #ifdef __cplusplus
14920 extern "C"
14921 #endif
14922 char ldap_initialize ();
14924 main ()
14926 return ldap_initialize ();
14928 return 0;
14930 _ACEOF
14931 if ac_fn_c_try_link "$LINENO"; then :
14932 ac_cv_lib_ldap_r_ldap_initialize=yes
14933 else
14934 ac_cv_lib_ldap_r_ldap_initialize=no
14936 rm -f core conftest.err conftest.$ac_objext \
14937 conftest$ac_exeext conftest.$ac_ext
14938 LIBS=$ac_check_lib_save_LIBS
14940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
14941 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
14942 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
14943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
14944 $as_echo_n "checking for ber_init in -llber... " >&6; }
14945 if ${ac_cv_lib_lber_ber_init+:} false; then :
14946 $as_echo_n "(cached) " >&6
14947 else
14948 ac_check_lib_save_LIBS=$LIBS
14949 LIBS="-llber $PTHREAD_LIBS $LIBS"
14950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14951 /* end confdefs.h. */
14953 /* Override any GCC internal prototype to avoid an error.
14954 Use char because int might match the return type of a GCC
14955 builtin and then its argument prototype would still apply. */
14956 #ifdef __cplusplus
14957 extern "C"
14958 #endif
14959 char ber_init ();
14961 main ()
14963 return ber_init ();
14965 return 0;
14967 _ACEOF
14968 if ac_fn_c_try_link "$LINENO"; then :
14969 ac_cv_lib_lber_ber_init=yes
14970 else
14971 ac_cv_lib_lber_ber_init=no
14973 rm -f core conftest.err conftest.$ac_objext \
14974 conftest$ac_exeext conftest.$ac_ext
14975 LIBS=$ac_check_lib_save_LIBS
14977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
14978 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
14979 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
14981 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
14983 LDAP_LIBS="-lldap_r -llber"
14990 ac_wine_check_funcs_save_LIBS="$LIBS"
14991 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
14992 for ac_func in \
14993 ldap_count_references \
14994 ldap_first_reference \
14995 ldap_next_reference \
14996 ldap_parse_reference \
14997 ldap_parse_sort_control \
14998 ldap_parse_sortresponse_control \
14999 ldap_parse_vlv_control \
15000 ldap_parse_vlvresponse_control
15001 do :
15002 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15003 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15004 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15005 cat >>confdefs.h <<_ACEOF
15006 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15007 _ACEOF
15010 done
15012 LIBS="$ac_wine_check_funcs_save_LIBS"
15014 if test "x$LDAP_LIBS" = "x"; then :
15015 case "x$with_ldap" in
15016 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15017 xno) ;;
15018 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15019 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15020 esac
15023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15024 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15025 if ${wine_cv_one_arg_mkdir+:} false; then :
15026 $as_echo_n "(cached) " >&6
15027 else
15028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15029 /* end confdefs.h. */
15030 #include <sys/stat.h>
15032 main ()
15034 mkdir("foo");
15036 return 0;
15038 _ACEOF
15039 if ac_fn_c_try_compile "$LINENO"; then :
15040 wine_cv_one_arg_mkdir=yes
15041 else
15042 wine_cv_one_arg_mkdir=no
15044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15047 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15048 if test "$wine_cv_one_arg_mkdir" = "yes"
15049 then
15051 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15056 $as_echo_n "checking for sched_setaffinity... " >&6; }
15057 if ${wine_cv_have_sched_setaffinity+:} false; then :
15058 $as_echo_n "(cached) " >&6
15059 else
15060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15061 /* end confdefs.h. */
15062 #define _GNU_SOURCE
15063 #include <sched.h>
15065 main ()
15067 sched_setaffinity(0, 0, 0);
15069 return 0;
15071 _ACEOF
15072 if ac_fn_c_try_link "$LINENO"; then :
15073 wine_cv_have_sched_setaffinity=yes
15074 else
15075 wine_cv_have_sched_setaffinity=no
15077 rm -f core conftest.err conftest.$ac_objext \
15078 conftest$ac_exeext conftest.$ac_ext
15080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15081 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15082 if test "$wine_cv_have_sched_setaffinity" = "yes"
15083 then
15085 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15090 $as_echo_n "checking for fallocate... " >&6; }
15091 if ${wine_cv_have_fallocate+:} false; then :
15092 $as_echo_n "(cached) " >&6
15093 else
15094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15095 /* end confdefs.h. */
15096 #define _GNU_SOURCE
15097 #include <fcntl.h>
15099 main ()
15101 fallocate(-1, 0, 0, 0);
15103 return 0;
15105 _ACEOF
15106 if ac_fn_c_try_link "$LINENO"; then :
15107 wine_cv_have_fallocate=yes
15108 else
15109 wine_cv_have_fallocate=no
15111 rm -f core conftest.err conftest.$ac_objext \
15112 conftest$ac_exeext conftest.$ac_ext
15114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15115 $as_echo "$wine_cv_have_fallocate" >&6; }
15116 if test "$wine_cv_have_fallocate" = "yes"
15117 then
15119 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15125 $as_echo_n "checking for inline... " >&6; }
15126 if ${ac_cv_c_inline+:} false; then :
15127 $as_echo_n "(cached) " >&6
15128 else
15129 ac_cv_c_inline=no
15130 for ac_kw in inline __inline__ __inline; do
15131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15132 /* end confdefs.h. */
15133 #ifndef __cplusplus
15134 typedef int foo_t;
15135 static $ac_kw foo_t static_foo () {return 0; }
15136 $ac_kw foo_t foo () {return 0; }
15137 #endif
15139 _ACEOF
15140 if ac_fn_c_try_compile "$LINENO"; then :
15141 ac_cv_c_inline=$ac_kw
15143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15144 test "$ac_cv_c_inline" != no && break
15145 done
15148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15149 $as_echo "$ac_cv_c_inline" >&6; }
15151 case $ac_cv_c_inline in
15152 inline | yes) ;;
15154 case $ac_cv_c_inline in
15155 no) ac_val=;;
15156 *) ac_val=$ac_cv_c_inline;;
15157 esac
15158 cat >>confdefs.h <<_ACEOF
15159 #ifndef __cplusplus
15160 #define inline $ac_val
15161 #endif
15162 _ACEOF
15164 esac
15166 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15167 if test "x$ac_cv_type_mode_t" = xyes; then :
15169 cat >>confdefs.h <<_ACEOF
15170 #define HAVE_MODE_T 1
15171 _ACEOF
15175 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15176 if test "x$ac_cv_type_off_t" = xyes; then :
15178 cat >>confdefs.h <<_ACEOF
15179 #define HAVE_OFF_T 1
15180 _ACEOF
15184 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15185 if test "x$ac_cv_type_pid_t" = xyes; then :
15187 cat >>confdefs.h <<_ACEOF
15188 #define HAVE_PID_T 1
15189 _ACEOF
15193 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15194 if test "x$ac_cv_type_size_t" = xyes; then :
15196 cat >>confdefs.h <<_ACEOF
15197 #define HAVE_SIZE_T 1
15198 _ACEOF
15202 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15203 if test "x$ac_cv_type_ssize_t" = xyes; then :
15205 cat >>confdefs.h <<_ACEOF
15206 #define HAVE_SSIZE_T 1
15207 _ACEOF
15211 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15212 if test "x$ac_cv_type_long_long" = xyes; then :
15214 cat >>confdefs.h <<_ACEOF
15215 #define HAVE_LONG_LONG 1
15216 _ACEOF
15220 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15221 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15223 cat >>confdefs.h <<_ACEOF
15224 #define HAVE_FSBLKCNT_T 1
15225 _ACEOF
15229 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15230 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15232 cat >>confdefs.h <<_ACEOF
15233 #define HAVE_FSFILCNT_T 1
15234 _ACEOF
15239 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15240 #include <signal.h>
15242 if test "x$ac_cv_type_sigset_t" = xyes; then :
15244 cat >>confdefs.h <<_ACEOF
15245 #define HAVE_SIGSET_T 1
15246 _ACEOF
15251 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15253 if test "x$ac_cv_type_request_sense" = xyes; then :
15255 cat >>confdefs.h <<_ACEOF
15256 #define HAVE_REQUEST_SENSE 1
15257 _ACEOF
15263 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15264 #ifdef HAVE_SYS_SOCKET_H
15265 #include <sys/socket.h>
15266 #endif
15267 #ifdef HAVE_SYS_SOCKETVAR_H
15268 #include <sys/socketvar.h>
15269 #endif
15270 #ifdef HAVE_NET_ROUTE_H
15271 #include <net/route.h>
15272 #endif
15273 #ifdef HAVE_NETINET_IN_H
15274 #include <netinet/in.h>
15275 #endif
15276 #ifdef HAVE_NETINET_IN_SYSTM_H
15277 #include <netinet/in_systm.h>
15278 #endif
15279 #ifdef HAVE_NETINET_IP_H
15280 #include <netinet/ip.h>
15281 #endif
15282 #ifdef HAVE_NETINET_IN_PCB_H
15283 #include <netinet/in_pcb.h>
15284 #endif
15286 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15288 cat >>confdefs.h <<_ACEOF
15289 #define HAVE_STRUCT_XINPGEN 1
15290 _ACEOF
15296 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15297 #include <link.h>
15298 #endif
15299 #ifdef HAVE_SYS_LINK_H
15300 #include <sys/link.h>
15301 #endif
15303 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15305 cat >>confdefs.h <<_ACEOF
15306 #define HAVE_STRUCT_R_DEBUG 1
15307 _ACEOF
15311 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15312 #include <link.h>
15313 #endif
15314 #ifdef HAVE_SYS_LINK_H
15315 #include <sys/link.h>
15316 #endif
15318 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15320 cat >>confdefs.h <<_ACEOF
15321 #define HAVE_STRUCT_LINK_MAP 1
15322 _ACEOF
15328 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15329 #include <linux/input.h>
15330 #endif
15332 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15334 cat >>confdefs.h <<_ACEOF
15335 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15336 _ACEOF
15342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15343 $as_echo_n "checking for sigaddset... " >&6; }
15344 if ${wine_cv_have_sigaddset+:} false; then :
15345 $as_echo_n "(cached) " >&6
15346 else
15347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15348 /* end confdefs.h. */
15349 #include <signal.h>
15351 main ()
15353 sigset_t set; sigaddset(&set,SIGTERM);
15355 return 0;
15357 _ACEOF
15358 if ac_fn_c_try_link "$LINENO"; then :
15359 wine_cv_have_sigaddset=yes
15360 else
15361 wine_cv_have_sigaddset=no
15363 rm -f core conftest.err conftest.$ac_objext \
15364 conftest$ac_exeext conftest.$ac_ext
15366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15367 $as_echo "$wine_cv_have_sigaddset" >&6; }
15368 if test "$wine_cv_have_sigaddset" = "yes"
15369 then
15371 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15377 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15378 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15379 $as_echo_n "(cached) " >&6
15380 else
15381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15382 /* end confdefs.h. */
15383 #include <netdb.h>
15385 main ()
15388 char *name=0;
15389 struct hostent he;
15390 struct hostent *result;
15391 char *buf=0;
15392 int bufsize=0;
15393 int errnr;
15394 char *addr=0;
15395 int addrlen=0;
15396 int addrtype=0;
15397 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15398 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15401 return 0;
15403 _ACEOF
15404 if ac_fn_c_try_link "$LINENO"; then :
15405 wine_cv_linux_gethostbyname_r_6=yes
15406 else
15407 wine_cv_linux_gethostbyname_r_6=no
15410 rm -f core conftest.err conftest.$ac_objext \
15411 conftest$ac_exeext conftest.$ac_ext
15414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15415 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15416 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15417 then
15419 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15423 if test "$ac_cv_header_linux_joystick_h" = "yes"
15424 then
15425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15426 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15427 if ${wine_cv_linux_joystick_22_api+:} false; then :
15428 $as_echo_n "(cached) " >&6
15429 else
15430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15431 /* end confdefs.h. */
15433 #include <sys/ioctl.h>
15434 #include <sys/types.h>
15435 #include <linux/joystick.h>
15437 struct js_event blub;
15438 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15439 #error "no 2.2 header"
15440 #endif
15443 main ()
15445 /*empty*/
15447 return 0;
15449 _ACEOF
15450 if ac_fn_c_try_compile "$LINENO"; then :
15451 wine_cv_linux_joystick_22_api=yes
15452 else
15453 wine_cv_linux_joystick_22_api=no
15455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15459 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15460 if test "$wine_cv_linux_joystick_22_api" = "yes"
15461 then
15463 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15469 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15470 #ifdef HAVE_SYS_PARAM_H
15471 # include <sys/param.h>
15472 #endif
15473 #ifdef HAVE_SYS_MOUNT_H
15474 # include <sys/mount.h>
15475 #endif
15476 #ifdef HAVE_SYS_VFS_H
15477 # include <sys/vfs.h>
15478 #endif
15479 #ifdef HAVE_SYS_STATFS_H
15480 # include <sys/statfs.h>
15481 #endif
15483 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15485 cat >>confdefs.h <<_ACEOF
15486 #define HAVE_STRUCT_STATFS_F_BFREE 1
15487 _ACEOF
15491 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15492 #ifdef HAVE_SYS_PARAM_H
15493 # include <sys/param.h>
15494 #endif
15495 #ifdef HAVE_SYS_MOUNT_H
15496 # include <sys/mount.h>
15497 #endif
15498 #ifdef HAVE_SYS_VFS_H
15499 # include <sys/vfs.h>
15500 #endif
15501 #ifdef HAVE_SYS_STATFS_H
15502 # include <sys/statfs.h>
15503 #endif
15505 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
15507 cat >>confdefs.h <<_ACEOF
15508 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15509 _ACEOF
15513 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15514 #ifdef HAVE_SYS_PARAM_H
15515 # include <sys/param.h>
15516 #endif
15517 #ifdef HAVE_SYS_MOUNT_H
15518 # include <sys/mount.h>
15519 #endif
15520 #ifdef HAVE_SYS_VFS_H
15521 # include <sys/vfs.h>
15522 #endif
15523 #ifdef HAVE_SYS_STATFS_H
15524 # include <sys/statfs.h>
15525 #endif
15527 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
15529 cat >>confdefs.h <<_ACEOF
15530 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15531 _ACEOF
15535 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15536 #ifdef HAVE_SYS_PARAM_H
15537 # include <sys/param.h>
15538 #endif
15539 #ifdef HAVE_SYS_MOUNT_H
15540 # include <sys/mount.h>
15541 #endif
15542 #ifdef HAVE_SYS_VFS_H
15543 # include <sys/vfs.h>
15544 #endif
15545 #ifdef HAVE_SYS_STATFS_H
15546 # include <sys/statfs.h>
15547 #endif
15549 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
15551 cat >>confdefs.h <<_ACEOF
15552 #define HAVE_STRUCT_STATFS_F_FFREE 1
15553 _ACEOF
15557 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15558 #ifdef HAVE_SYS_PARAM_H
15559 # include <sys/param.h>
15560 #endif
15561 #ifdef HAVE_SYS_MOUNT_H
15562 # include <sys/mount.h>
15563 #endif
15564 #ifdef HAVE_SYS_VFS_H
15565 # include <sys/vfs.h>
15566 #endif
15567 #ifdef HAVE_SYS_STATFS_H
15568 # include <sys/statfs.h>
15569 #endif
15571 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
15573 cat >>confdefs.h <<_ACEOF
15574 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15575 _ACEOF
15579 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15580 #ifdef HAVE_SYS_PARAM_H
15581 # include <sys/param.h>
15582 #endif
15583 #ifdef HAVE_SYS_MOUNT_H
15584 # include <sys/mount.h>
15585 #endif
15586 #ifdef HAVE_SYS_VFS_H
15587 # include <sys/vfs.h>
15588 #endif
15589 #ifdef HAVE_SYS_STATFS_H
15590 # include <sys/statfs.h>
15591 #endif
15593 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
15595 cat >>confdefs.h <<_ACEOF
15596 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15597 _ACEOF
15603 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15604 #include <sys/statvfs.h>
15605 #endif
15607 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
15609 cat >>confdefs.h <<_ACEOF
15610 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15611 _ACEOF
15617 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15618 #include <dirent.h>
15619 #endif
15621 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
15623 cat >>confdefs.h <<_ACEOF
15624 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15625 _ACEOF
15631 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15632 #ifdef HAVE_SYS_SOCKET_H
15633 # include <sys/socket.h>
15634 #endif
15635 #ifdef HAVE_SYS_UN_H
15636 # include <sys/un.h>
15637 #endif
15639 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
15641 cat >>confdefs.h <<_ACEOF
15642 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15643 _ACEOF
15647 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15648 #ifdef HAVE_SYS_SOCKET_H
15649 # include <sys/socket.h>
15650 #endif
15651 #ifdef HAVE_SYS_UN_H
15652 # include <sys/un.h>
15653 #endif
15655 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
15657 cat >>confdefs.h <<_ACEOF
15658 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15659 _ACEOF
15663 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15664 #ifdef HAVE_SYS_SOCKET_H
15665 # include <sys/socket.h>
15666 #endif
15667 #ifdef HAVE_SYS_UN_H
15668 # include <sys/un.h>
15669 #endif
15671 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
15673 cat >>confdefs.h <<_ACEOF
15674 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15675 _ACEOF
15681 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15682 #ifdef HAVE_SCSI_SG_H
15683 #include <scsi/sg.h>
15684 #endif
15686 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
15688 cat >>confdefs.h <<_ACEOF
15689 #define HAVE_SCSIREQ_T_CMD 1
15690 _ACEOF
15694 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>
15695 #ifdef HAVE_SCSI_SG_H
15696 #include <scsi/sg.h>
15697 #endif
15699 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
15701 cat >>confdefs.h <<_ACEOF
15702 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15703 _ACEOF
15709 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15711 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
15713 cat >>confdefs.h <<_ACEOF
15714 #define HAVE_SIGINFO_T_SI_FD 1
15715 _ACEOF
15721 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15722 #ifdef HAVE_SYS_MTIO_H
15723 #include <sys/mtio.h>
15724 #endif
15726 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
15728 cat >>confdefs.h <<_ACEOF
15729 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15730 _ACEOF
15734 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15735 #ifdef HAVE_SYS_MTIO_H
15736 #include <sys/mtio.h>
15737 #endif
15739 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
15741 cat >>confdefs.h <<_ACEOF
15742 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15743 _ACEOF
15747 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15748 #ifdef HAVE_SYS_MTIO_H
15749 #include <sys/mtio.h>
15750 #endif
15752 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
15754 cat >>confdefs.h <<_ACEOF
15755 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15756 _ACEOF
15762 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15763 #include <getopt.h>
15764 #endif
15766 if test "x$ac_cv_member_struct_option_name" = xyes; then :
15768 cat >>confdefs.h <<_ACEOF
15769 #define HAVE_STRUCT_OPTION_NAME 1
15770 _ACEOF
15776 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15777 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
15779 cat >>confdefs.h <<_ACEOF
15780 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15781 _ACEOF
15785 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15786 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
15788 cat >>confdefs.h <<_ACEOF
15789 #define HAVE_STRUCT_STAT_ST_MTIM 1
15790 _ACEOF
15794 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15795 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
15797 cat >>confdefs.h <<_ACEOF
15798 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15799 _ACEOF
15803 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15804 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
15806 cat >>confdefs.h <<_ACEOF
15807 #define HAVE_STRUCT_STAT_ST_CTIM 1
15808 _ACEOF
15812 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15813 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
15815 cat >>confdefs.h <<_ACEOF
15816 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15817 _ACEOF
15821 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15822 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
15824 cat >>confdefs.h <<_ACEOF
15825 #define HAVE_STRUCT_STAT_ST_ATIM 1
15826 _ACEOF
15830 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15831 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
15833 cat >>confdefs.h <<_ACEOF
15834 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15835 _ACEOF
15839 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15840 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
15842 cat >>confdefs.h <<_ACEOF
15843 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15844 _ACEOF
15848 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15849 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
15851 cat >>confdefs.h <<_ACEOF
15852 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15853 _ACEOF
15857 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15858 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
15860 cat >>confdefs.h <<_ACEOF
15861 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15862 _ACEOF
15866 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15867 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
15869 cat >>confdefs.h <<_ACEOF
15870 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15871 _ACEOF
15875 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15876 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
15878 cat >>confdefs.h <<_ACEOF
15879 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15880 _ACEOF
15886 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
15887 #include <sys/types.h>
15888 #endif
15889 #ifdef HAVE_NETINET_IN_H
15890 #include <netinet/in.h>
15891 #endif
15893 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
15895 cat >>confdefs.h <<_ACEOF
15896 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
15897 _ACEOF
15903 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
15904 #include <resolv.h>
15905 #endif
15907 if test "x$ac_cv_type_struct___res_state" = xyes; then :
15909 cat >>confdefs.h <<_ACEOF
15910 #define HAVE_STRUCT___RES_STATE 1
15911 _ACEOF
15917 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
15918 #include <resolv.h>
15919 #endif
15921 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
15923 cat >>confdefs.h <<_ACEOF
15924 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
15925 _ACEOF
15931 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
15932 #include <sys/types.h>
15933 #endif
15934 #ifdef HAVE_NETINET_IN_H
15935 # include <netinet/in.h>
15936 #endif
15937 #ifdef HAVE_ARPA_NAMESER_H
15938 # include <arpa/nameser.h>
15939 #endif
15941 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
15943 cat >>confdefs.h <<_ACEOF
15944 #define HAVE_NS_MSG__MSG_PTR 1
15945 _ACEOF
15951 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
15952 #include <sys/types.h>
15953 #endif
15954 #ifdef HAVE_NETINET_IP_H
15955 #include <netinet/ip.h>
15956 #endif
15957 #ifdef HAVE_NETINET_IP_ICMP_H
15958 #include <netinet/ip_icmp.h>
15959 #endif
15960 #ifdef HAVE_NETINET_ICMP_VAR_H
15961 #include <netinet/icmp_var.h>
15962 #endif
15964 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
15966 cat >>confdefs.h <<_ACEOF
15967 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
15968 _ACEOF
15974 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
15975 #include <sys/types.h>
15976 #endif
15977 #ifdef HAVE_ALIAS_H
15978 #include <alias.h>
15979 #endif
15980 #ifdef HAVE_SYS_SOCKET_H
15981 #include <sys/socket.h>
15982 #endif
15983 #ifdef HAVE_SYS_SOCKETVAR_H
15984 #include <sys/socketvar.h>
15985 #endif
15986 #ifdef HAVE_SYS_TIMEOUT_H
15987 #include <sys/timeout.h>
15988 #endif
15989 #ifdef HAVE_NETINET_IN_H
15990 #include <netinet/in.h>
15991 #endif
15992 #ifdef HAVE_NETINET_IN_SYSTM_H
15993 #include <netinet/in_systm.h>
15994 #endif
15995 #ifdef HAVE_NETINET_IP_H
15996 #include <netinet/ip.h>
15997 #endif
15998 #ifdef HAVE_NETINET_IP_VAR_H
15999 #include <netinet/ip_var.h>
16000 #endif
16001 #ifdef HAVE_NETINET_IP_ICMP_H
16002 #include <netinet/ip_icmp.h>
16003 #endif
16004 #ifdef HAVE_NETINET_ICMP_VAR_H
16005 #include <netinet/icmp_var.h>
16006 #endif
16008 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16010 cat >>confdefs.h <<_ACEOF
16011 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16012 _ACEOF
16018 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16019 #include <sys/types.h>
16020 #endif
16021 #ifdef HAVE_SYS_SOCKETVAR_H
16022 #include <sys/socketvar.h>
16023 #endif
16024 #ifdef HAVE_NETINET_IN_H
16025 #include <netinet/in.h>
16026 #endif
16027 #ifdef HAVE_NETINET_IP_VAR_H
16028 #include <netinet/ip_var.h>
16029 #endif
16031 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16033 cat >>confdefs.h <<_ACEOF
16034 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16035 _ACEOF
16041 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
16042 #include <netinet/ip_var.h>
16043 #endif
16045 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16047 cat >>confdefs.h <<_ACEOF
16048 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16049 _ACEOF
16055 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16056 #include <sys/types.h>
16057 #endif
16058 #ifdef HAVE_SYS_SOCKETVAR_H
16059 #include <sys/socketvar.h>
16060 #endif
16061 #ifdef HAVE_NETINET_IN_H
16062 #include <netinet/in.h>
16063 #endif
16064 #ifdef HAVE_NETINET_TCP_H
16065 #include <netinet/tcp.h>
16066 #endif
16067 #ifdef HAVE_NETINET_TCP_VAR_H
16068 #include <netinet/tcp_var.h>
16069 #endif
16071 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16073 cat >>confdefs.h <<_ACEOF
16074 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16075 _ACEOF
16081 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
16082 #include <netinet/tcp_var.h>
16083 #endif
16085 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16087 cat >>confdefs.h <<_ACEOF
16088 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16089 _ACEOF
16095 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16096 #include <sys/types.h>
16097 #endif
16098 #ifdef HAVE_NETINET_IN_H
16099 #include <netinet/in.h>
16100 #endif
16101 #ifdef HAVE_NETINET_IP_VAR_H
16102 #include <netinet/ip_var.h>
16103 #endif
16104 #ifdef HAVE_NETINET_UDP_H
16105 #include <netinet/udp.h>
16106 #endif
16107 #ifdef HAVE_NETINET_UDP_VAR_H
16108 #include <netinet/udp_var.h>
16109 #endif
16111 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16113 cat >>confdefs.h <<_ACEOF
16114 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16115 _ACEOF
16121 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16122 #include <sys/types.h>
16123 #endif
16124 #ifdef HAVE_NET_IF_H
16125 # include <net/if.h>
16126 #endif
16128 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16130 cat >>confdefs.h <<_ACEOF
16131 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16132 _ACEOF
16138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16139 $as_echo_n "checking for timezone variable... " >&6; }
16140 if ${ac_cv_have_timezone+:} false; then :
16141 $as_echo_n "(cached) " >&6
16142 else
16143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16144 /* end confdefs.h. */
16145 #include <time.h>
16147 main ()
16149 timezone = 1
16151 return 0;
16153 _ACEOF
16154 if ac_fn_c_try_link "$LINENO"; then :
16155 ac_cv_have_timezone="yes"
16156 else
16157 ac_cv_have_timezone="no"
16159 rm -f core conftest.err conftest.$ac_objext \
16160 conftest$ac_exeext conftest.$ac_ext
16162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16163 $as_echo "$ac_cv_have_timezone" >&6; }
16164 if test "$ac_cv_have_timezone" = "yes"
16165 then
16167 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16171 $as_echo_n "checking for daylight variable... " >&6; }
16172 if ${ac_cv_have_daylight+:} false; then :
16173 $as_echo_n "(cached) " >&6
16174 else
16175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16176 /* end confdefs.h. */
16177 #include <time.h>
16179 main ()
16181 daylight = 1
16183 return 0;
16185 _ACEOF
16186 if ac_fn_c_try_link "$LINENO"; then :
16187 ac_cv_have_daylight="yes"
16188 else
16189 ac_cv_have_daylight="no"
16191 rm -f core conftest.err conftest.$ac_objext \
16192 conftest$ac_exeext conftest.$ac_ext
16194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16195 $as_echo "$ac_cv_have_daylight" >&6; }
16196 if test "$ac_cv_have_daylight" = "yes"
16197 then
16199 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16203 ac_save_LIBS="$LIBS"
16204 LIBS="$LIBS -lm"
16205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16206 $as_echo_n "checking for isfinite... " >&6; }
16207 if ${ac_cv_have_isfinite+:} false; then :
16208 $as_echo_n "(cached) " >&6
16209 else
16210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16211 /* end confdefs.h. */
16212 #define _GNU_SOURCE
16213 #include <math.h>
16215 main ()
16217 float f = 0.0; return isfinite(f)
16219 return 0;
16221 _ACEOF
16222 if ac_fn_c_try_link "$LINENO"; then :
16223 ac_cv_have_isfinite="yes"
16224 else
16225 ac_cv_have_isfinite="no"
16227 rm -f core conftest.err conftest.$ac_objext \
16228 conftest$ac_exeext conftest.$ac_ext
16230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16231 $as_echo "$ac_cv_have_isfinite" >&6; }
16232 if test "$ac_cv_have_isfinite" = "yes"
16233 then
16235 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16239 ac_save_LIBS="$LIBS"
16240 LIBS="$LIBS -lm"
16241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16242 $as_echo_n "checking for isinf... " >&6; }
16243 if ${ac_cv_have_isinf+:} false; then :
16244 $as_echo_n "(cached) " >&6
16245 else
16246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16247 /* end confdefs.h. */
16248 #include <math.h>
16250 main ()
16252 float f = 0.0; return isinf(f)
16254 return 0;
16256 _ACEOF
16257 if ac_fn_c_try_link "$LINENO"; then :
16258 ac_cv_have_isinf="yes"
16259 else
16260 ac_cv_have_isinf="no"
16262 rm -f core conftest.err conftest.$ac_objext \
16263 conftest$ac_exeext conftest.$ac_ext
16265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16266 $as_echo "$ac_cv_have_isinf" >&6; }
16267 if test "$ac_cv_have_isinf" = "yes"
16268 then
16270 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16275 $as_echo_n "checking for isnan... " >&6; }
16276 if ${ac_cv_have_isnan+:} false; then :
16277 $as_echo_n "(cached) " >&6
16278 else
16279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16280 /* end confdefs.h. */
16281 #include <math.h>
16283 main ()
16285 float f = 0.0; return isnan(f)
16287 return 0;
16289 _ACEOF
16290 if ac_fn_c_try_link "$LINENO"; then :
16291 ac_cv_have_isnan="yes"
16292 else
16293 ac_cv_have_isnan="no"
16295 rm -f core conftest.err conftest.$ac_objext \
16296 conftest$ac_exeext conftest.$ac_ext
16298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16299 $as_echo "$ac_cv_have_isnan" >&6; }
16300 if test "$ac_cv_have_isnan" = "yes"
16301 then
16303 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16306 LIBS="$ac_save_LIBS"
16309 case $host_cpu in
16310 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16311 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16312 if ${ac_cv_cpp_def___i386__+:} false; then :
16313 $as_echo_n "(cached) " >&6
16314 else
16315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16316 /* end confdefs.h. */
16317 #ifndef __i386__
16319 #endif
16320 _ACEOF
16321 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16322 $EGREP "yes" >/dev/null 2>&1; then :
16323 ac_cv_cpp_def___i386__=yes
16324 else
16325 ac_cv_cpp_def___i386__=no
16327 rm -f conftest*
16330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16331 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16332 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16333 CFLAGS="$CFLAGS -D__i386__"
16334 LINTFLAGS="$LINTFLAGS -D__i386__"
16335 fi ;;
16336 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16337 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16338 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16339 $as_echo_n "(cached) " >&6
16340 else
16341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16342 /* end confdefs.h. */
16343 #ifndef __x86_64__
16345 #endif
16346 _ACEOF
16347 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16348 $EGREP "yes" >/dev/null 2>&1; then :
16349 ac_cv_cpp_def___x86_64__=yes
16350 else
16351 ac_cv_cpp_def___x86_64__=no
16353 rm -f conftest*
16356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16357 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16358 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16359 CFLAGS="$CFLAGS -D__x86_64__"
16360 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16361 fi ;;
16362 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16363 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16364 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16365 $as_echo_n "(cached) " >&6
16366 else
16367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16368 /* end confdefs.h. */
16369 #ifndef __sparc64__
16371 #endif
16372 _ACEOF
16373 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16374 $EGREP "yes" >/dev/null 2>&1; then :
16375 ac_cv_cpp_def___sparc64__=yes
16376 else
16377 ac_cv_cpp_def___sparc64__=no
16379 rm -f conftest*
16382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16383 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16384 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
16385 CFLAGS="$CFLAGS -D__sparc64__"
16386 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16387 fi ;;
16388 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16389 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16390 if ${ac_cv_cpp_def___sparc__+:} false; then :
16391 $as_echo_n "(cached) " >&6
16392 else
16393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16394 /* end confdefs.h. */
16395 #ifndef __sparc__
16397 #endif
16398 _ACEOF
16399 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16400 $EGREP "yes" >/dev/null 2>&1; then :
16401 ac_cv_cpp_def___sparc__=yes
16402 else
16403 ac_cv_cpp_def___sparc__=no
16405 rm -f conftest*
16408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16409 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16410 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
16411 CFLAGS="$CFLAGS -D__sparc__"
16412 LINTFLAGS="$LINTFLAGS -D__sparc__"
16413 fi ;;
16414 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16415 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16416 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
16417 $as_echo_n "(cached) " >&6
16418 else
16419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16420 /* end confdefs.h. */
16421 #ifndef __powerpc64__
16423 #endif
16424 _ACEOF
16425 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16426 $EGREP "yes" >/dev/null 2>&1; then :
16427 ac_cv_cpp_def___powerpc64__=yes
16428 else
16429 ac_cv_cpp_def___powerpc64__=no
16431 rm -f conftest*
16434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16435 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16436 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
16437 CFLAGS="$CFLAGS -D__powerpc64__"
16438 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
16439 fi ;;
16440 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16441 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16442 if ${ac_cv_cpp_def___powerpc__+:} false; then :
16443 $as_echo_n "(cached) " >&6
16444 else
16445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16446 /* end confdefs.h. */
16447 #ifndef __powerpc__
16449 #endif
16450 _ACEOF
16451 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16452 $EGREP "yes" >/dev/null 2>&1; then :
16453 ac_cv_cpp_def___powerpc__=yes
16454 else
16455 ac_cv_cpp_def___powerpc__=no
16457 rm -f conftest*
16460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16461 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16462 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
16463 CFLAGS="$CFLAGS -D__powerpc__"
16464 LINTFLAGS="$LINTFLAGS -D__powerpc__"
16465 fi ;;
16466 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16467 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16468 if ${ac_cv_cpp_def___aarch64__+:} false; then :
16469 $as_echo_n "(cached) " >&6
16470 else
16471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16472 /* end confdefs.h. */
16473 #ifndef __aarch64__
16475 #endif
16476 _ACEOF
16477 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16478 $EGREP "yes" >/dev/null 2>&1; then :
16479 ac_cv_cpp_def___aarch64__=yes
16480 else
16481 ac_cv_cpp_def___aarch64__=no
16483 rm -f conftest*
16486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16487 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16488 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
16489 CFLAGS="$CFLAGS -D__aarch64__"
16490 LINTFLAGS="$LINTFLAGS -D__aarch64__"
16491 fi ;;
16492 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16493 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16494 if ${ac_cv_cpp_def___arm__+:} false; then :
16495 $as_echo_n "(cached) " >&6
16496 else
16497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16498 /* end confdefs.h. */
16499 #ifndef __arm__
16501 #endif
16502 _ACEOF
16503 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16504 $EGREP "yes" >/dev/null 2>&1; then :
16505 ac_cv_cpp_def___arm__=yes
16506 else
16507 ac_cv_cpp_def___arm__=no
16509 rm -f conftest*
16512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16513 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16514 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
16515 CFLAGS="$CFLAGS -D__arm__"
16516 LINTFLAGS="$LINTFLAGS -D__arm__"
16517 fi ;;
16518 esac
16520 case $host_vendor in
16521 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16522 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16523 if ${ac_cv_cpp_def___sun__+:} false; then :
16524 $as_echo_n "(cached) " >&6
16525 else
16526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16527 /* end confdefs.h. */
16528 #ifndef __sun__
16530 #endif
16531 _ACEOF
16532 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16533 $EGREP "yes" >/dev/null 2>&1; then :
16534 ac_cv_cpp_def___sun__=yes
16535 else
16536 ac_cv_cpp_def___sun__=no
16538 rm -f conftest*
16541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16542 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16543 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
16544 CFLAGS="$CFLAGS -D__sun__"
16545 LINTFLAGS="$LINTFLAGS -D__sun__"
16546 fi ;;
16547 esac
16553 ac_config_commands="$ac_config_commands include/stamp-h"
16555 $as_echo_n "creating Makefile rules..." >&6
16557 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
16558 SOCKET_LIBS = $SOCKET_LIBS
16559 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16560 IOKIT_LIBS = $IOKIT_LIBS
16561 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16562 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16563 CORESERVICES_LIBS = $CORESERVICES_LIBS
16564 APPKIT_LIBS = $APPKIT_LIBS
16565 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16566 SECURITY_LIBS = $SECURITY_LIBS
16567 COREAUDIO_LIBS = $COREAUDIO_LIBS
16568 OPENAL_LIBS = $OPENAL_LIBS
16569 OPENCL_LIBS = $OPENCL_LIBS
16570 QUICKTIME_LIBS = $QUICKTIME_LIBS
16571 CARBON_LIBS = $CARBON_LIBS
16572 PTHREAD_LIBS = $PTHREAD_LIBS
16573 X_CFLAGS = $X_CFLAGS
16574 X_PRE_LIBS = $X_PRE_LIBS
16575 X_LIBS = $X_LIBS
16576 X_EXTRA_LIBS = $X_EXTRA_LIBS
16577 XML2_CFLAGS = $XML2_CFLAGS
16578 XML2_LIBS = $XML2_LIBS
16579 XSLT_CFLAGS = $XSLT_CFLAGS
16580 XSLT_LIBS = $XSLT_LIBS
16581 DBUS_CFLAGS = $DBUS_CFLAGS
16582 DBUS_LIBS = $DBUS_LIBS
16583 HAL_CFLAGS = $HAL_CFLAGS
16584 HAL_LIBS = $HAL_LIBS
16585 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16586 GNUTLS_LIBS = $GNUTLS_LIBS
16587 SANE_CFLAGS = $SANE_CFLAGS
16588 SANE_LIBS = $SANE_LIBS
16589 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16590 GPHOTO2_LIBS = $GPHOTO2_LIBS
16591 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16592 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16593 RESOLV_LIBS = $RESOLV_LIBS
16594 LCMS2_CFLAGS = $LCMS2_CFLAGS
16595 LCMS2_LIBS = $LCMS2_LIBS
16596 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16597 FREETYPE_LIBS = $FREETYPE_LIBS
16598 Z_LIBS = $Z_LIBS
16599 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16600 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16601 GSTREAMER_LIBS = $GSTREAMER_LIBS
16602 ALSA_LIBS = $ALSA_LIBS
16603 OSS4_CFLAGS = $OSS4_CFLAGS
16604 CAPI20_CFLAGS = $CAPI20_CFLAGS
16605 CAPI20_LIBS = $CAPI20_LIBS
16606 CUPS_CFLAGS = $CUPS_CFLAGS
16607 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16608 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16609 JPEG_CFLAGS = $JPEG_CFLAGS
16610 JPEG_LIBS = $JPEG_LIBS
16611 PNG_CFLAGS = $PNG_CFLAGS
16612 PNG_LIBS = $PNG_LIBS
16613 TIFF_CFLAGS = $TIFF_CFLAGS
16614 TIFF_LIBS = $TIFF_LIBS
16615 MPG123_CFLAGS = $MPG123_CFLAGS
16616 MPG123_LIBS = $MPG123_LIBS
16617 KSTAT_LIBS = $KSTAT_LIBS
16618 PROCSTAT_LIBS = $PROCSTAT_LIBS
16619 DL_LIBS = $DL_LIBS
16620 POLL_LIBS = $POLL_LIBS
16621 RT_LIBS = $RT_LIBS
16622 LDAP_LIBS = $LDAP_LIBS
16627 wine_fn_append_rule "
16628 # Rules automatically generated by configure
16630 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16632 .INIT: Makefile
16633 .MAKEFILEDEPS:
16634 all: Makefile
16635 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16636 @./config.status Make.tmp Makefile"
16638 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
16639 .gitignore: config.status
16640 @./config.status .gitignore"
16642 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
16643 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16645 if test "x$enable_fonts" != xno; then
16646 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16647 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16648 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16649 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16650 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf
16652 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16653 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
16654 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
16655 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
16656 ac_config_links="$ac_config_links wine:tools/winewrapper"
16657 wine_fn_config_symlink wine
16658 if test "x$enable_win64" != xno; then
16659 ac_config_links="$ac_config_links wine64:tools/winewrapper"
16660 wine_fn_config_symlink wine64
16663 wine_fn_config_dll acledit enable_acledit
16664 wine_fn_config_dll aclui enable_aclui implib
16665 wine_fn_config_dll activeds enable_activeds implib
16666 wine_fn_config_dll actxprxy enable_actxprxy clean
16667 wine_fn_config_lib adsiid
16668 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
16669 wine_fn_config_test dlls/advapi32/tests advapi32_test
16670 wine_fn_config_dll advpack enable_advpack implib
16671 wine_fn_config_test dlls/advpack/tests advpack_test
16672 wine_fn_config_dll amstream enable_amstream clean
16673 wine_fn_config_test dlls/amstream/tests amstream_test
16674 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16675 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16676 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16677 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16678 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16679 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16680 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16681 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16682 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16683 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
16684 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
16685 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
16686 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
16687 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
16688 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16689 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
16690 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
16691 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
16692 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16693 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
16694 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
16695 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
16696 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
16697 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
16698 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
16699 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
16700 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
16701 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
16702 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
16703 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
16704 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
16705 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
16706 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16707 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16708 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16709 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16710 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16711 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16712 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16713 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16714 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16715 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16716 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16717 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
16718 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
16719 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16720 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
16721 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
16722 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
16723 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
16724 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
16725 wine_fn_config_dll apphelp enable_apphelp
16726 wine_fn_config_test dlls/apphelp/tests apphelp_test
16727 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16728 wine_fn_config_dll atl enable_atl clean,implib
16729 wine_fn_config_test dlls/atl/tests atl_test
16730 wine_fn_config_dll atl100 enable_atl100 implib
16731 wine_fn_config_test dlls/atl100/tests atl100_test
16732 wine_fn_config_dll atl110 enable_atl110
16733 wine_fn_config_dll atl80 enable_atl80 implib
16734 wine_fn_config_test dlls/atl80/tests atl80_test
16735 wine_fn_config_dll atl90 enable_atl90
16736 wine_fn_config_dll authz enable_authz
16737 wine_fn_config_dll avicap32 enable_avicap32 implib
16738 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
16739 wine_fn_config_test dlls/avifil32/tests avifil32_test
16740 wine_fn_config_dll avifile.dll16 enable_win16
16741 wine_fn_config_dll avrt enable_avrt implib
16742 wine_fn_config_dll bcrypt enable_bcrypt
16743 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
16744 wine_fn_config_dll browseui enable_browseui clean,po
16745 wine_fn_config_test dlls/browseui/tests browseui_test
16746 wine_fn_config_dll cabinet enable_cabinet implib
16747 wine_fn_config_test dlls/cabinet/tests cabinet_test
16748 wine_fn_config_dll capi2032 enable_capi2032 implib
16749 wine_fn_config_dll cards enable_cards implib
16750 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16751 wine_fn_config_dll clusapi enable_clusapi implib
16752 wine_fn_config_dll comcat enable_comcat
16753 wine_fn_config_test dlls/comcat/tests comcat_test
16754 wine_fn_config_dll comctl32 enable_comctl32 implib,po
16755 wine_fn_config_test dlls/comctl32/tests comctl32_test
16756 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
16757 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
16758 wine_fn_config_dll comm.drv16 enable_win16
16759 wine_fn_config_dll commdlg.dll16 enable_win16
16760 wine_fn_config_dll compobj.dll16 enable_win16
16761 wine_fn_config_dll compstui enable_compstui implib
16762 wine_fn_config_dll comsvcs enable_comsvcs implib
16763 wine_fn_config_dll credui enable_credui implib,po
16764 wine_fn_config_test dlls/credui/tests credui_test
16765 wine_fn_config_dll crtdll enable_crtdll implib
16766 wine_fn_config_dll crypt32 enable_crypt32 implib,po
16767 wine_fn_config_test dlls/crypt32/tests crypt32_test
16768 wine_fn_config_dll cryptdlg enable_cryptdlg po
16769 wine_fn_config_dll cryptdll enable_cryptdll implib
16770 wine_fn_config_dll cryptnet enable_cryptnet implib
16771 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
16772 wine_fn_config_dll cryptui enable_cryptui implib,po
16773 wine_fn_config_test dlls/cryptui/tests cryptui_test
16774 wine_fn_config_dll ctapi32 enable_ctapi32
16775 wine_fn_config_dll ctl3d.dll16 enable_win16
16776 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16777 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16778 wine_fn_config_dll d2d1 enable_d2d1 implib
16779 wine_fn_config_dll d3d10 enable_d3d10 implib
16780 wine_fn_config_test dlls/d3d10/tests d3d10_test
16781 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
16782 wine_fn_config_dll d3d10core enable_d3d10core implib
16783 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
16784 wine_fn_config_dll d3d11 enable_d3d11
16785 wine_fn_config_dll d3d8 enable_d3d8 implib
16786 wine_fn_config_test dlls/d3d8/tests d3d8_test
16787 wine_fn_config_dll d3d9 enable_d3d9 implib
16788 wine_fn_config_test dlls/d3d9/tests d3d9_test
16789 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16790 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16791 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16792 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16793 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16794 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16795 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16796 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16797 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16798 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16799 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16800 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
16801 wine_fn_config_dll d3dim enable_d3dim implib
16802 wine_fn_config_dll d3drm enable_d3drm implib
16803 wine_fn_config_test dlls/d3drm/tests d3drm_test
16804 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16805 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16806 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16807 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16808 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16809 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16810 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16811 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16812 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16813 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16814 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16815 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16816 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16817 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16818 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16819 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16820 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16821 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16822 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16823 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16824 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16825 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16826 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16827 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16828 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16829 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16830 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
16831 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16832 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16833 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16834 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16835 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16836 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16837 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16838 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
16839 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
16840 wine_fn_config_dll dbgeng enable_dbgeng implib
16841 wine_fn_config_dll dbghelp enable_dbghelp implib
16842 wine_fn_config_dll dciman32 enable_dciman32 implib
16843 wine_fn_config_dll ddeml.dll16 enable_win16
16844 wine_fn_config_dll ddraw enable_ddraw clean,implib
16845 wine_fn_config_test dlls/ddraw/tests ddraw_test
16846 wine_fn_config_dll ddrawex enable_ddrawex clean
16847 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
16848 wine_fn_config_dll devenum enable_devenum clean,po
16849 wine_fn_config_test dlls/devenum/tests devenum_test
16850 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16851 wine_fn_config_dll difxapi enable_difxapi
16852 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
16853 wine_fn_config_test dlls/dinput/tests dinput_test
16854 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
16855 wine_fn_config_test dlls/dinput8/tests dinput8_test
16856 wine_fn_config_dll dispdib.dll16 enable_win16
16857 wine_fn_config_dll dispex enable_dispex clean
16858 wine_fn_config_test dlls/dispex/tests dispex_test
16859 wine_fn_config_dll display.drv16 enable_win16
16860 wine_fn_config_dll dmband enable_dmband clean
16861 wine_fn_config_test dlls/dmband/tests dmband_test
16862 wine_fn_config_dll dmcompos enable_dmcompos clean
16863 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
16864 wine_fn_config_dll dmime enable_dmime clean
16865 wine_fn_config_test dlls/dmime/tests dmime_test
16866 wine_fn_config_dll dmloader enable_dmloader clean
16867 wine_fn_config_test dlls/dmloader/tests dmloader_test
16868 wine_fn_config_dll dmscript enable_dmscript clean
16869 wine_fn_config_test dlls/dmscript/tests dmscript_test
16870 wine_fn_config_dll dmstyle enable_dmstyle clean
16871 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
16872 wine_fn_config_dll dmsynth enable_dmsynth clean
16873 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
16874 wine_fn_config_dll dmusic enable_dmusic clean
16875 wine_fn_config_test dlls/dmusic/tests dmusic_test
16876 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16877 wine_fn_config_dll dnsapi enable_dnsapi implib
16878 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
16879 wine_fn_config_dll dplay enable_dplay implib
16880 wine_fn_config_dll dplayx enable_dplayx clean,implib
16881 wine_fn_config_test dlls/dplayx/tests dplayx_test
16882 wine_fn_config_dll dpnaddr enable_dpnaddr
16883 wine_fn_config_dll dpnet enable_dpnet clean,implib
16884 wine_fn_config_test dlls/dpnet/tests dpnet_test
16885 wine_fn_config_dll dpnhpast enable_dpnhpast
16886 wine_fn_config_dll dpnlobby enable_dpnlobby
16887 wine_fn_config_dll dpwsockx enable_dpwsockx
16888 wine_fn_config_dll drmclien enable_drmclien
16889 wine_fn_config_dll dsound enable_dsound clean,implib
16890 wine_fn_config_test dlls/dsound/tests dsound_test
16891 wine_fn_config_dll dssenh enable_dssenh
16892 wine_fn_config_test dlls/dssenh/tests dssenh_test
16893 wine_fn_config_dll dswave enable_dswave clean
16894 wine_fn_config_test dlls/dswave/tests dswave_test
16895 wine_fn_config_dll dwmapi enable_dwmapi implib
16896 wine_fn_config_dll dwrite enable_dwrite implib
16897 wine_fn_config_test dlls/dwrite/tests dwrite_test
16898 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
16899 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
16900 wine_fn_config_lib dxerr8
16901 wine_fn_config_lib dxerr9
16902 wine_fn_config_dll dxgi enable_dxgi implib
16903 wine_fn_config_test dlls/dxgi/tests dxgi_test
16904 wine_fn_config_lib dxguid
16905 wine_fn_config_dll dxva2 enable_dxva2
16906 wine_fn_config_dll explorerframe enable_explorerframe clean
16907 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
16908 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
16909 wine_fn_config_dll faultrep enable_faultrep implib
16910 wine_fn_config_test dlls/faultrep/tests faultrep_test
16911 wine_fn_config_dll fltlib enable_fltlib
16912 wine_fn_config_dll fntcache enable_fntcache
16913 wine_fn_config_dll fontsub enable_fontsub
16914 wine_fn_config_dll fusion enable_fusion
16915 wine_fn_config_test dlls/fusion/tests fusion_test
16916 wine_fn_config_dll fwpuclnt enable_fwpuclnt
16917 wine_fn_config_dll gameux enable_gameux clean
16918 wine_fn_config_test dlls/gameux/tests gameux_test
16919 wine_fn_config_dll gdi.exe16 enable_win16
16920 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
16921 wine_fn_config_test dlls/gdi32/tests gdi32_test
16922 wine_fn_config_dll gdiplus enable_gdiplus implib
16923 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
16924 wine_fn_config_dll glu32 enable_glu32 implib
16925 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
16926 wine_fn_config_dll gpkcsp enable_gpkcsp
16927 wine_fn_config_dll hal enable_hal
16928 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
16929 wine_fn_config_dll hid enable_hid implib
16930 wine_fn_config_dll hlink enable_hlink clean,implib
16931 wine_fn_config_test dlls/hlink/tests hlink_test
16932 wine_fn_config_dll hnetcfg enable_hnetcfg clean
16933 wine_fn_config_dll httpapi enable_httpapi
16934 wine_fn_config_dll iccvid enable_iccvid po
16935 wine_fn_config_dll icmp enable_icmp
16936 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
16937 wine_fn_config_test dlls/ieframe/tests ieframe_test
16938 wine_fn_config_dll ifsmgr.vxd enable_win16
16939 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
16940 wine_fn_config_dll imagehlp enable_imagehlp implib
16941 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
16942 wine_fn_config_dll imm.dll16 enable_win16
16943 wine_fn_config_dll imm32 enable_imm32 implib
16944 wine_fn_config_test dlls/imm32/tests imm32_test
16945 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
16946 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
16947 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
16948 wine_fn_config_dll inetmib1 enable_inetmib1
16949 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
16950 wine_fn_config_dll infosoft enable_infosoft clean
16951 wine_fn_config_test dlls/infosoft/tests infosoft_test
16952 wine_fn_config_dll initpki enable_initpki
16953 wine_fn_config_dll inkobj enable_inkobj
16954 wine_fn_config_dll inseng enable_inseng clean
16955 wine_fn_config_dll iphlpapi enable_iphlpapi implib
16956 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
16957 wine_fn_config_dll itircl enable_itircl
16958 wine_fn_config_dll itss enable_itss clean
16959 wine_fn_config_test dlls/itss/tests itss_test
16960 wine_fn_config_dll joy.cpl enable_joy_cpl po
16961 wine_fn_config_dll jscript enable_jscript clean,po
16962 wine_fn_config_test dlls/jscript/tests jscript_test
16963 wine_fn_config_dll jsproxy enable_jsproxy implib
16964 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
16965 wine_fn_config_test dlls/kernel32/tests kernel32_test
16966 wine_fn_config_dll keyboard.drv16 enable_win16
16967 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
16968 wine_fn_config_dll ktmw32 enable_ktmw32
16969 wine_fn_config_dll loadperf enable_loadperf implib
16970 wine_fn_config_dll localspl enable_localspl po
16971 wine_fn_config_test dlls/localspl/tests localspl_test
16972 wine_fn_config_dll localui enable_localui po
16973 wine_fn_config_test dlls/localui/tests localui_test
16974 wine_fn_config_dll lz32 enable_lz32 implib
16975 wine_fn_config_test dlls/lz32/tests lz32_test
16976 wine_fn_config_dll lzexpand.dll16 enable_win16
16977 wine_fn_config_dll mapi32 enable_mapi32 implib,po
16978 wine_fn_config_test dlls/mapi32/tests mapi32_test
16979 wine_fn_config_dll mapistub enable_mapistub
16980 wine_fn_config_dll mciavi32 enable_mciavi32
16981 wine_fn_config_dll mcicda enable_mcicda
16982 wine_fn_config_dll mciqtz32 enable_mciqtz32
16983 wine_fn_config_dll mciseq enable_mciseq
16984 wine_fn_config_dll mciwave enable_mciwave
16985 wine_fn_config_dll mgmtapi enable_mgmtapi
16986 wine_fn_config_dll midimap enable_midimap
16987 wine_fn_config_dll mlang enable_mlang clean,implib
16988 wine_fn_config_test dlls/mlang/tests mlang_test
16989 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
16990 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
16991 wine_fn_config_dll mmdevapi enable_mmdevapi clean
16992 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
16993 wine_fn_config_dll mmdevldr.vxd enable_win16
16994 wine_fn_config_dll mmsystem.dll16 enable_win16
16995 wine_fn_config_dll monodebg.vxd enable_win16
16996 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
16997 wine_fn_config_dll mouse.drv16 enable_win16
16998 wine_fn_config_dll mpr enable_mpr implib,po
16999 wine_fn_config_test dlls/mpr/tests mpr_test
17000 wine_fn_config_dll mprapi enable_mprapi implib
17001 wine_fn_config_dll msacm.dll16 enable_win16
17002 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17003 wine_fn_config_dll msacm32 enable_msacm32 implib,po
17004 wine_fn_config_test dlls/msacm32/tests msacm32_test
17005 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17006 wine_fn_config_dll msasn1 enable_msasn1 implib
17007 wine_fn_config_dll mscat32 enable_mscat32
17008 wine_fn_config_dll mscms enable_mscms implib
17009 wine_fn_config_test dlls/mscms/tests mscms_test
17010 wine_fn_config_dll mscoree enable_mscoree clean
17011 wine_fn_config_test dlls/mscoree/tests mscoree_test
17012 wine_fn_config_dll msctf enable_msctf clean
17013 wine_fn_config_test dlls/msctf/tests msctf_test
17014 wine_fn_config_dll msdaps enable_msdaps clean
17015 wine_fn_config_dll msdmo enable_msdmo implib
17016 wine_fn_config_dll msftedit enable_msftedit
17017 wine_fn_config_dll msg711.acm enable_msg711_acm
17018 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17019 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17020 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
17021 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17022 wine_fn_config_dll msi enable_msi clean,implib,po
17023 wine_fn_config_test dlls/msi/tests msi_test
17024 wine_fn_config_dll msident enable_msident clean
17025 wine_fn_config_dll msimg32 enable_msimg32 implib
17026 wine_fn_config_dll msimsg enable_msimsg
17027 wine_fn_config_dll msimtf enable_msimtf clean
17028 wine_fn_config_dll msisip enable_msisip
17029 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17030 wine_fn_config_dll msls31 enable_msls31
17031 wine_fn_config_dll msnet32 enable_msnet32
17032 wine_fn_config_dll mspatcha enable_mspatcha
17033 wine_fn_config_dll msrle32 enable_msrle32 po
17034 wine_fn_config_test dlls/msrle32/tests msrle32_test
17035 wine_fn_config_dll mssign32 enable_mssign32
17036 wine_fn_config_dll mssip32 enable_mssip32
17037 wine_fn_config_dll mstask enable_mstask clean
17038 wine_fn_config_test dlls/mstask/tests mstask_test
17039 wine_fn_config_dll msvcirt enable_msvcirt
17040 wine_fn_config_dll msvcm80 enable_msvcm80
17041 wine_fn_config_dll msvcm90 enable_msvcm90
17042 wine_fn_config_dll msvcp100 enable_msvcp100
17043 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17044 wine_fn_config_dll msvcp110 enable_msvcp110
17045 wine_fn_config_dll msvcp60 enable_msvcp60
17046 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17047 wine_fn_config_dll msvcp70 enable_msvcp70
17048 wine_fn_config_dll msvcp71 enable_msvcp71
17049 wine_fn_config_dll msvcp80 enable_msvcp80
17050 wine_fn_config_dll msvcp90 enable_msvcp90
17051 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17052 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17053 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17054 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17055 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17056 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17057 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17058 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17059 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17060 wine_fn_config_dll msvcrt enable_msvcrt implib
17061 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17062 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17063 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17064 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17065 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17066 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17067 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17068 wine_fn_config_dll msvidc32 enable_msvidc32 po
17069 wine_fn_config_dll msvideo.dll16 enable_win16
17070 wine_fn_config_dll mswsock enable_mswsock implib
17071 wine_fn_config_dll msxml enable_msxml clean
17072 wine_fn_config_dll msxml2 enable_msxml2 clean
17073 wine_fn_config_dll msxml3 enable_msxml3 clean
17074 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17075 wine_fn_config_dll msxml4 enable_msxml4 clean
17076 wine_fn_config_dll msxml6 enable_msxml6 clean
17077 wine_fn_config_dll nddeapi enable_nddeapi implib
17078 wine_fn_config_dll netapi32 enable_netapi32 implib
17079 wine_fn_config_test dlls/netapi32/tests netapi32_test
17080 wine_fn_config_dll netcfgx enable_netcfgx clean
17081 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17082 wine_fn_config_dll netprofm enable_netprofm clean
17083 wine_fn_config_test dlls/netprofm/tests netprofm_test
17084 wine_fn_config_dll newdev enable_newdev implib
17085 wine_fn_config_dll normaliz enable_normaliz implib
17086 wine_fn_config_dll npmshtml enable_npmshtml
17087 wine_fn_config_dll ntdll enable_ntdll implib
17088 wine_fn_config_test dlls/ntdll/tests ntdll_test
17089 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17090 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17091 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17092 wine_fn_config_dll ntprint enable_ntprint
17093 wine_fn_config_test dlls/ntprint/tests ntprint_test
17094 wine_fn_config_dll objsel enable_objsel clean
17095 wine_fn_config_dll odbc32 enable_odbc32 implib
17096 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17097 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17098 wine_fn_config_dll odbccu32 enable_odbccu32
17099 wine_fn_config_dll ole2.dll16 enable_win16
17100 wine_fn_config_dll ole2conv.dll16 enable_win16
17101 wine_fn_config_dll ole2disp.dll16 enable_win16
17102 wine_fn_config_dll ole2nls.dll16 enable_win16
17103 wine_fn_config_dll ole2prox.dll16 enable_win16
17104 wine_fn_config_dll ole2thk.dll16 enable_win16
17105 wine_fn_config_dll ole32 enable_ole32 clean,implib
17106 wine_fn_config_test dlls/ole32/tests ole32_test
17107 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17108 wine_fn_config_test dlls/oleacc/tests oleacc_test
17109 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17110 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17111 wine_fn_config_dll olecli.dll16 enable_win16
17112 wine_fn_config_dll olecli32 enable_olecli32 implib
17113 wine_fn_config_dll oledb32 enable_oledb32 clean
17114 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17115 wine_fn_config_dll oledlg enable_oledlg implib,po
17116 wine_fn_config_dll olepro32 enable_olepro32 implib
17117 wine_fn_config_dll olesvr.dll16 enable_win16
17118 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17119 wine_fn_config_dll olethk32 enable_olethk32
17120 wine_fn_config_dll openal32 enable_openal32
17121 wine_fn_config_dll opencl enable_opencl
17122 wine_fn_config_dll opengl32 enable_opengl32 implib
17123 wine_fn_config_test dlls/opengl32/tests opengl32_test
17124 wine_fn_config_dll packager enable_packager clean
17125 wine_fn_config_test dlls/packager/tests packager_test
17126 wine_fn_config_dll pdh enable_pdh implib
17127 wine_fn_config_test dlls/pdh/tests pdh_test
17128 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17129 wine_fn_config_dll pidgen enable_pidgen
17130 wine_fn_config_dll powrprof enable_powrprof implib
17131 wine_fn_config_dll printui enable_printui
17132 wine_fn_config_dll propsys enable_propsys clean,implib
17133 wine_fn_config_test dlls/propsys/tests propsys_test
17134 wine_fn_config_dll psapi enable_psapi implib
17135 wine_fn_config_test dlls/psapi/tests psapi_test
17136 wine_fn_config_dll pstorec enable_pstorec clean
17137 wine_fn_config_dll qcap enable_qcap
17138 wine_fn_config_test dlls/qcap/tests qcap_test
17139 wine_fn_config_dll qedit enable_qedit clean
17140 wine_fn_config_test dlls/qedit/tests qedit_test
17141 wine_fn_config_dll qmgr enable_qmgr clean
17142 wine_fn_config_test dlls/qmgr/tests qmgr_test
17143 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17144 wine_fn_config_dll quartz enable_quartz clean,implib
17145 wine_fn_config_test dlls/quartz/tests quartz_test clean
17146 wine_fn_config_dll query enable_query
17147 wine_fn_config_dll rasapi16.dll16 enable_win16
17148 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17149 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17150 wine_fn_config_dll rasdlg enable_rasdlg implib
17151 wine_fn_config_dll regapi enable_regapi
17152 wine_fn_config_dll resutils enable_resutils implib
17153 wine_fn_config_dll riched20 enable_riched20 implib
17154 wine_fn_config_test dlls/riched20/tests riched20_test
17155 wine_fn_config_dll riched32 enable_riched32
17156 wine_fn_config_test dlls/riched32/tests riched32_test
17157 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17158 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17159 wine_fn_config_dll rsabase enable_rsabase
17160 wine_fn_config_dll rsaenh enable_rsaenh implib
17161 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17162 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17163 wine_fn_config_dll rtutils enable_rtutils implib
17164 wine_fn_config_dll samlib enable_samlib
17165 wine_fn_config_dll sane.ds enable_sane_ds po
17166 wine_fn_config_dll scarddlg enable_scarddlg
17167 wine_fn_config_dll sccbase enable_sccbase
17168 wine_fn_config_dll schannel enable_schannel
17169 wine_fn_config_test dlls/schannel/tests schannel_test
17170 wine_fn_config_dll schedsvc enable_schedsvc clean
17171 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17172 wine_fn_config_dll scrrun enable_scrrun clean
17173 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17174 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17175 wine_fn_config_dll secur32 enable_secur32 implib
17176 wine_fn_config_test dlls/secur32/tests secur32_test
17177 wine_fn_config_dll security enable_security
17178 wine_fn_config_dll sensapi enable_sensapi implib
17179 wine_fn_config_dll serialui enable_serialui implib,po
17180 wine_fn_config_test dlls/serialui/tests serialui_test
17181 wine_fn_config_dll setupapi enable_setupapi implib,po
17182 wine_fn_config_test dlls/setupapi/tests setupapi_test
17183 wine_fn_config_dll setupx.dll16 enable_win16
17184 wine_fn_config_dll sfc enable_sfc implib
17185 wine_fn_config_dll sfc_os enable_sfc_os implib
17186 wine_fn_config_dll shdoclc enable_shdoclc po
17187 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17188 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17189 wine_fn_config_dll shell.dll16 enable_win16
17190 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17191 wine_fn_config_test dlls/shell32/tests shell32_test
17192 wine_fn_config_dll shfolder enable_shfolder implib
17193 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17194 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17195 wine_fn_config_dll slbcsp enable_slbcsp
17196 wine_fn_config_dll slc enable_slc implib
17197 wine_fn_config_dll snmpapi enable_snmpapi implib
17198 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17199 wine_fn_config_dll softpub enable_softpub
17200 wine_fn_config_dll sound.drv16 enable_win16
17201 wine_fn_config_dll spoolss enable_spoolss implib
17202 wine_fn_config_test dlls/spoolss/tests spoolss_test
17203 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17204 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17205 wine_fn_config_dll sti enable_sti clean,implib
17206 wine_fn_config_test dlls/sti/tests sti_test
17207 wine_fn_config_dll storage.dll16 enable_win16
17208 wine_fn_config_dll stress.dll16 enable_win16
17209 wine_fn_config_lib strmbase
17210 wine_fn_config_lib strmiids
17211 wine_fn_config_dll svrapi enable_svrapi
17212 wine_fn_config_dll sxs enable_sxs implib
17213 wine_fn_config_test dlls/sxs/tests sxs_test
17214 wine_fn_config_dll system.drv16 enable_win16
17215 wine_fn_config_dll t2embed enable_t2embed
17216 wine_fn_config_dll tapi32 enable_tapi32 implib
17217 wine_fn_config_dll taskschd enable_taskschd clean
17218 wine_fn_config_test dlls/taskschd/tests taskschd_test
17219 wine_fn_config_dll toolhelp.dll16 enable_win16
17220 wine_fn_config_dll traffic enable_traffic
17221 wine_fn_config_dll twain.dll16 enable_win16
17222 wine_fn_config_dll twain_32 enable_twain_32
17223 wine_fn_config_test dlls/twain_32/tests twain_32_test
17224 wine_fn_config_dll typelib.dll16 enable_win16
17225 wine_fn_config_dll unicows enable_unicows implib
17226 wine_fn_config_dll updspapi enable_updspapi
17227 wine_fn_config_dll url enable_url implib
17228 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17229 wine_fn_config_test dlls/urlmon/tests urlmon_test
17230 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17231 wine_fn_config_dll user.exe16 enable_win16
17232 wine_fn_config_dll user32 enable_user32 clean,implib,po
17233 wine_fn_config_test dlls/user32/tests user32_test
17234 wine_fn_config_dll userenv enable_userenv implib
17235 wine_fn_config_test dlls/userenv/tests userenv_test
17236 wine_fn_config_dll usp10 enable_usp10 implib
17237 wine_fn_config_test dlls/usp10/tests usp10_test
17238 wine_fn_config_lib uuid
17239 wine_fn_config_dll uxtheme enable_uxtheme implib
17240 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17241 wine_fn_config_dll vbscript enable_vbscript clean
17242 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17243 wine_fn_config_dll vcomp enable_vcomp
17244 wine_fn_config_dll vcomp100 enable_vcomp100
17245 wine_fn_config_dll vcomp90 enable_vcomp90
17246 wine_fn_config_dll vdhcp.vxd enable_win16
17247 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17248 wine_fn_config_dll ver.dll16 enable_win16
17249 wine_fn_config_dll version enable_version implib
17250 wine_fn_config_test dlls/version/tests version_test
17251 wine_fn_config_dll vmm.vxd enable_win16
17252 wine_fn_config_dll vnbt.vxd enable_win16
17253 wine_fn_config_dll vnetbios.vxd enable_win16
17254 wine_fn_config_dll vtdapi.vxd enable_win16
17255 wine_fn_config_dll vwin32.vxd enable_win16
17256 wine_fn_config_dll w32skrnl enable_win16
17257 wine_fn_config_dll w32sys.dll16 enable_win16
17258 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17259 wine_fn_config_dll wbemprox enable_wbemprox clean
17260 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17261 wine_fn_config_dll webservices enable_webservices implib
17262 wine_fn_config_dll wer enable_wer implib
17263 wine_fn_config_test dlls/wer/tests wer_test
17264 wine_fn_config_dll wevtapi enable_wevtapi
17265 wine_fn_config_dll wiaservc enable_wiaservc clean
17266 wine_fn_config_dll win32s16.dll16 enable_win16
17267 wine_fn_config_dll win87em.dll16 enable_win16
17268 wine_fn_config_dll winaspi.dll16 enable_win16
17269 wine_fn_config_dll windebug.dll16 enable_win16
17270 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17271 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17272 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17273 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17274 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17275 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17276 wine_fn_config_lib winecrt0
17277 wine_fn_config_dll wined3d enable_wined3d implib
17278 wine_fn_config_dll winegstreamer enable_winegstreamer
17279 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17280 wine_fn_config_dll winemac.drv enable_winemac_drv
17281 wine_fn_config_dll winemapi enable_winemapi
17282 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17283 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17284 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
17285 wine_fn_config_dll wineps16.drv16 enable_win16
17286 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17287 wine_fn_config_dll winex11.drv enable_winex11_drv
17288 wine_fn_config_dll wing.dll16 enable_win16
17289 wine_fn_config_dll wing32 enable_wing32
17290 wine_fn_config_dll winhttp enable_winhttp clean,implib
17291 wine_fn_config_test dlls/winhttp/tests winhttp_test
17292 wine_fn_config_dll wininet enable_wininet implib,po
17293 wine_fn_config_test dlls/wininet/tests wininet_test
17294 wine_fn_config_dll winmm enable_winmm implib,po
17295 wine_fn_config_test dlls/winmm/tests winmm_test
17296 wine_fn_config_dll winnls.dll16 enable_win16
17297 wine_fn_config_dll winnls32 enable_winnls32 implib
17298 wine_fn_config_dll winscard enable_winscard implib
17299 wine_fn_config_dll winsock.dll16 enable_win16
17300 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17301 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17302 wine_fn_config_dll winsta enable_winsta
17303 wine_fn_config_dll wintab.dll16 enable_win16
17304 wine_fn_config_dll wintab32 enable_wintab32 implib
17305 wine_fn_config_test dlls/wintab32/tests wintab32_test
17306 wine_fn_config_dll wintrust enable_wintrust implib
17307 wine_fn_config_test dlls/wintrust/tests wintrust_test
17308 wine_fn_config_dll wlanapi enable_wlanapi
17309 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17310 wine_fn_config_test dlls/wldap32/tests wldap32_test
17311 wine_fn_config_dll wmi enable_wmi
17312 wine_fn_config_dll wmiutils enable_wmiutils clean
17313 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17314 wine_fn_config_dll wmp enable_wmp clean
17315 wine_fn_config_test dlls/wmp/tests wmp_test
17316 wine_fn_config_dll wmvcore enable_wmvcore
17317 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17318 wine_fn_config_dll wow32 enable_win16 implib
17319 wine_fn_config_dll wpcap enable_wpcap
17320 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17321 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
17322 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17323 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
17324 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17325 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
17326 wine_fn_config_dll wsock32 enable_wsock32 implib
17327 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17328 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
17329 wine_fn_config_dll wuapi enable_wuapi clean
17330 wine_fn_config_dll wuaueng enable_wuaueng
17331 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17332 wine_fn_config_dll xinput1_1 enable_xinput1_1
17333 wine_fn_config_dll xinput1_2 enable_xinput1_2
17334 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17335 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
17336 wine_fn_config_dll xinput1_4 enable_xinput1_4
17337 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17338 wine_fn_config_dll xmllite enable_xmllite implib
17339 wine_fn_config_test dlls/xmllite/tests xmllite_test
17340 wine_fn_config_dll xolehlp enable_xolehlp
17341 wine_fn_config_dll xpsprint enable_xpsprint
17342 wine_fn_config_dll xpssvcs enable_xpssvcs
17343 wine_fn_config_makefile documentation enable_documentation clean
17344 wine_fn_config_makefile fonts enable_fonts clean,install-lib
17345 wine_fn_config_makefile include enable_include clean,install-dev
17346 wine_fn_config_makefile libs/port enable_libs_port
17347 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
17348 wine_fn_config_makefile libs/wpp enable_libs_wpp
17349 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
17350 wine_fn_config_program arp enable_arp install
17351 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
17352 wine_fn_config_program attrib enable_attrib install,po
17353 wine_fn_config_program cabarc enable_cabarc install
17354 wine_fn_config_program cacls enable_cacls install
17355 wine_fn_config_program clock enable_clock install,po
17356 wine_fn_config_program cmd enable_cmd install,po
17357 wine_fn_config_test programs/cmd/tests cmd.exe_test
17358 wine_fn_config_program conhost enable_conhost install
17359 wine_fn_config_program control enable_control install
17360 wine_fn_config_program cscript enable_cscript install
17361 wine_fn_config_program dpnsvr enable_dpnsvr install
17362 wine_fn_config_program dxdiag enable_dxdiag install,po
17363 wine_fn_config_program eject enable_eject install
17364 wine_fn_config_program expand enable_expand install
17365 wine_fn_config_program explorer enable_explorer install,po
17366 wine_fn_config_program extrac32 enable_extrac32 install
17367 wine_fn_config_program findstr enable_findstr install
17368 wine_fn_config_program hh enable_hh install
17369 wine_fn_config_program hostname enable_hostname install,po
17370 wine_fn_config_program icinfo enable_icinfo install
17371 wine_fn_config_program iexplore enable_iexplore install
17372 wine_fn_config_program ipconfig enable_ipconfig install,po
17373 wine_fn_config_program lodctr enable_lodctr install
17374 wine_fn_config_program mofcomp enable_mofcomp install
17375 wine_fn_config_program mshta enable_mshta install
17376 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
17377 wine_fn_config_program net enable_net install,po
17378 wine_fn_config_program netsh enable_netsh install
17379 wine_fn_config_program netstat enable_netstat install,po
17380 wine_fn_config_program ngen enable_ngen install
17381 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
17382 wine_fn_config_program oleview enable_oleview install,po
17383 wine_fn_config_program ping enable_ping install
17384 wine_fn_config_program plugplay enable_plugplay install
17385 wine_fn_config_program presentationfontcache enable_presentationfontcache install
17386 wine_fn_config_program progman enable_progman install,po
17387 wine_fn_config_program reg enable_reg install,po
17388 wine_fn_config_program regasm enable_regasm install
17389 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
17390 wine_fn_config_test programs/regedit/tests regedit.exe_test
17391 wine_fn_config_program regsvcs enable_regsvcs install
17392 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage,po
17393 wine_fn_config_program rpcss enable_rpcss clean,install
17394 wine_fn_config_program rundll.exe16 enable_win16 install
17395 wine_fn_config_program rundll32 enable_rundll32 install
17396 wine_fn_config_program sc enable_sc install
17397 wine_fn_config_program schtasks enable_schtasks install
17398 wine_fn_config_program sdbinst enable_sdbinst install
17399 wine_fn_config_program secedit enable_secedit install
17400 wine_fn_config_program servicemodelreg enable_servicemodelreg install
17401 wine_fn_config_program services enable_services clean,install
17402 wine_fn_config_test programs/services/tests services.exe_test
17403 wine_fn_config_program spoolsv enable_spoolsv install
17404 wine_fn_config_program start enable_start install,po
17405 wine_fn_config_program svchost enable_svchost install
17406 wine_fn_config_program taskkill enable_taskkill install,po
17407 wine_fn_config_program tasklist enable_tasklist install
17408 wine_fn_config_program taskmgr enable_taskmgr install,po
17409 wine_fn_config_program termsv enable_termsv install
17410 wine_fn_config_program uninstaller enable_uninstaller install,po
17411 wine_fn_config_program unlodctr enable_unlodctr install
17412 wine_fn_config_program view enable_view install,po
17413 wine_fn_config_program wevtutil enable_wevtutil install
17414 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
17415 wine_fn_config_program winebrowser enable_winebrowser install
17416 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
17417 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
17418 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
17419 wine_fn_config_program winedevice enable_winedevice install
17420 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
17421 wine_fn_config_program winemenubuilder enable_winemenubuilder install
17422 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
17423 wine_fn_config_program winemsibuilder enable_winemsibuilder install
17424 wine_fn_config_program winepath enable_winepath install,installbin,manpage
17425 wine_fn_config_program winetest enable_winetest clean
17426 wine_fn_config_program winevdm enable_win16 install
17427 wine_fn_config_program winhelp.exe16 enable_win16 install
17428 wine_fn_config_program winhlp32 enable_winhlp32 install,po
17429 wine_fn_config_program winoldap.mod16 enable_win16 install
17430 wine_fn_config_program winver enable_winver install
17431 wine_fn_config_program wmic enable_wmic install,po
17432 wine_fn_config_program wordpad enable_wordpad install,po
17433 wine_fn_config_program write enable_write install,po
17434 wine_fn_config_program wscript enable_wscript clean,install
17435 wine_fn_config_test programs/wscript/tests wscript.exe_test
17436 wine_fn_config_program wusa enable_wusa install
17437 wine_fn_config_program xcopy enable_xcopy install,po
17438 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
17439 wine_fn_config_makefile server enable_server clean,install-lib,manpage
17440 wine_fn_config_tool tools clean,install-dev,install-lib,manpage
17441 wine_fn_config_tool tools/sfnt2fon clean
17442 wine_fn_config_tool tools/widl clean,install-dev,manpage
17443 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
17444 wine_fn_config_tool tools/winedump clean,install-dev,manpage
17445 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
17446 wine_fn_config_tool tools/wmc clean,install-dev,manpage
17447 wine_fn_config_tool tools/wrc clean,install-dev,manpage
17449 LINGUAS="\
17450 ar \
17451 bg \
17452 ca \
17453 cs \
17454 da \
17455 de \
17456 el \
17457 en \
17458 en_US \
17459 eo \
17460 es \
17461 fa \
17462 fi \
17463 fr \
17464 he \
17465 hi \
17466 hr \
17467 hu \
17468 it \
17469 ja \
17470 ko \
17471 lt \
17472 ml \
17473 nb_NO \
17474 nl \
17475 or \
17476 pa \
17477 pl \
17478 pt_BR \
17479 pt_PT \
17480 rm \
17481 ro \
17482 ru \
17483 sk \
17484 sl \
17485 sr_RS@cyrillic \
17486 sr_RS@latin \
17487 sv \
17488 te \
17489 th \
17490 tr \
17491 uk \
17492 wa \
17493 zh_CN \
17494 zh_TW"
17499 wine_fn_ignore_file ".gitignore"
17500 wine_fn_ignore_file "Makefile"
17501 wine_fn_ignore_file "TAGS"
17502 wine_fn_ignore_file "tags"
17503 wine_fn_ignore_file "autom4te.cache"
17504 wine_fn_ignore_file "config.cache"
17505 wine_fn_ignore_file "config.log"
17506 wine_fn_ignore_file "config.status"
17507 wine_fn_ignore_file "configure.lineno"
17508 wine_fn_ignore_file "include/config.h"
17509 wine_fn_ignore_file "include/stamp-h"
17510 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
17512 if test "x$enable_tools" != xno
17513 then
17514 wine_fn_ignore_file "tools/makedep$ac_exeext"
17515 ac_config_commands="$ac_config_commands tools/makedep"
17519 ac_config_commands="$ac_config_commands Makefile"
17522 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17526 if test "x$enable_maintainer_mode" = xyes
17527 then
17528 wine_fn_append_rule "configure: configure.ac aclocal.m4
17529 autoconf --warnings=all
17530 include/config.h.in: include/stamp-h.in
17531 include/stamp-h.in: configure.ac aclocal.m4
17532 autoheader --warnings=all
17533 @echo timestamp > \$@"
17536 if test "x$with_gettextpo" = xyes
17537 then
17538 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17539 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
17540 \$(LINGUAS:%=po/%.po): po/wine.pot
17541 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17542 po/wine.pot: \$(ALL_POT_FILES)
17543 msgcat -o \$@ \$(ALL_POT_FILES)"
17546 if test "$MSGFMT" != false
17547 then
17548 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
17549 clean::
17550 \$(RM) \$(LINGUAS:%=po/%.mo)"
17552 posrc="po"
17553 test "$srcdir" = . || posrc="$srcdir/po"
17554 for i in $LINGUAS
17556 wine_fn_ignore_file "po/$i.mo"
17557 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
17558 \$(MSGFMT) -o \$@ $posrc/$i.po"
17559 done
17560 else
17561 LINGUAS=
17564 if test "x$enable_tools" != xno
17565 then
17566 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17567 @./config.status tools/makedep
17568 Makefile: tools/makedep$ac_exeext
17569 distclean:: clean
17570 \$(RM) tools/makedep$ac_exeext"
17571 else
17572 wine_fn_append_rule "\$(MAKEDEP):
17573 @echo \"You need to run make in $TOOLSDIR first\" && false"
17576 if test -n "$with_wine64"
17577 then
17578 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17579 fonts server tools:
17580 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17581 $with_wine64/loader/wine:
17582 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17583 $with_wine64/loader/wine-preloader:
17584 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17585 clean::
17586 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17587 else
17588 as_fn_append LOADER_RULES "
17589 install install-lib:: wine.inf install-man-pages
17590 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17591 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17593 uninstall::
17594 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17598 if test "$srcdir" = .
17599 then
17600 ac_config_commands="$ac_config_commands .gitignore"
17604 $as_echo " done" >&6
17605 cat >confcache <<\_ACEOF
17606 # This file is a shell script that caches the results of configure
17607 # tests run on this system so they can be shared between configure
17608 # scripts and configure runs, see configure's option --config-cache.
17609 # It is not useful on other systems. If it contains results you don't
17610 # want to keep, you may remove or edit it.
17612 # config.status only pays attention to the cache file if you give it
17613 # the --recheck option to rerun configure.
17615 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17616 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17617 # following values.
17619 _ACEOF
17621 # The following way of writing the cache mishandles newlines in values,
17622 # but we know of no workaround that is simple, portable, and efficient.
17623 # So, we kill variables containing newlines.
17624 # Ultrix sh set writes to stderr and can't be redirected directly,
17625 # and sets the high bit in the cache file unless we assign to the vars.
17627 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17628 eval ac_val=\$$ac_var
17629 case $ac_val in #(
17630 *${as_nl}*)
17631 case $ac_var in #(
17632 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17633 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17634 esac
17635 case $ac_var in #(
17636 _ | IFS | as_nl) ;; #(
17637 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17638 *) { eval $ac_var=; unset $ac_var;} ;;
17639 esac ;;
17640 esac
17641 done
17643 (set) 2>&1 |
17644 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17645 *${as_nl}ac_space=\ *)
17646 # `set' does not quote correctly, so add quotes: double-quote
17647 # substitution turns \\\\ into \\, and sed turns \\ into \.
17648 sed -n \
17649 "s/'/'\\\\''/g;
17650 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17651 ;; #(
17653 # `set' quotes correctly as required by POSIX, so do not add quotes.
17654 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17656 esac |
17657 sort
17659 sed '
17660 /^ac_cv_env_/b end
17661 t clear
17662 :clear
17663 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17664 t end
17665 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17666 :end' >>confcache
17667 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17668 if test -w "$cache_file"; then
17669 if test "x$cache_file" != "x/dev/null"; then
17670 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17671 $as_echo "$as_me: updating cache $cache_file" >&6;}
17672 if test ! -f "$cache_file" || test -h "$cache_file"; then
17673 cat confcache >"$cache_file"
17674 else
17675 case $cache_file in #(
17676 */* | ?:*)
17677 mv -f confcache "$cache_file"$$ &&
17678 mv -f "$cache_file"$$ "$cache_file" ;; #(
17680 mv -f confcache "$cache_file" ;;
17681 esac
17684 else
17685 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17686 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17689 rm -f confcache
17691 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17692 # Let make expand exec_prefix.
17693 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17695 DEFS=-DHAVE_CONFIG_H
17697 ac_libobjs=
17698 ac_ltlibobjs=
17700 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17701 # 1. Remove the extension, and $U if already installed.
17702 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17703 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17704 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17705 # will be set to the directory where LIBOBJS objects are built.
17706 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17707 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17708 done
17709 LIBOBJS=$ac_libobjs
17711 LTLIBOBJS=$ac_ltlibobjs
17715 : "${CONFIG_STATUS=./config.status}"
17716 ac_write_fail=0
17717 ac_clean_files_save=$ac_clean_files
17718 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17719 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17720 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17721 as_write_fail=0
17722 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17723 #! $SHELL
17724 # Generated by $as_me.
17725 # Run this file to recreate the current configuration.
17726 # Compiler output produced by configure, useful for debugging
17727 # configure, is in config.log if it exists.
17729 debug=false
17730 ac_cs_recheck=false
17731 ac_cs_silent=false
17733 SHELL=\${CONFIG_SHELL-$SHELL}
17734 export SHELL
17735 _ASEOF
17736 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17737 ## -------------------- ##
17738 ## M4sh Initialization. ##
17739 ## -------------------- ##
17741 # Be more Bourne compatible
17742 DUALCASE=1; export DUALCASE # for MKS sh
17743 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17744 emulate sh
17745 NULLCMD=:
17746 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17747 # is contrary to our usage. Disable this feature.
17748 alias -g '${1+"$@"}'='"$@"'
17749 setopt NO_GLOB_SUBST
17750 else
17751 case `(set -o) 2>/dev/null` in #(
17752 *posix*) :
17753 set -o posix ;; #(
17754 *) :
17756 esac
17760 as_nl='
17762 export as_nl
17763 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17764 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17765 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17766 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17767 # Prefer a ksh shell builtin over an external printf program on Solaris,
17768 # but without wasting forks for bash or zsh.
17769 if test -z "$BASH_VERSION$ZSH_VERSION" \
17770 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17771 as_echo='print -r --'
17772 as_echo_n='print -rn --'
17773 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17774 as_echo='printf %s\n'
17775 as_echo_n='printf %s'
17776 else
17777 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17778 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17779 as_echo_n='/usr/ucb/echo -n'
17780 else
17781 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17782 as_echo_n_body='eval
17783 arg=$1;
17784 case $arg in #(
17785 *"$as_nl"*)
17786 expr "X$arg" : "X\\(.*\\)$as_nl";
17787 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17788 esac;
17789 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17791 export as_echo_n_body
17792 as_echo_n='sh -c $as_echo_n_body as_echo'
17794 export as_echo_body
17795 as_echo='sh -c $as_echo_body as_echo'
17798 # The user is always right.
17799 if test "${PATH_SEPARATOR+set}" != set; then
17800 PATH_SEPARATOR=:
17801 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17802 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17803 PATH_SEPARATOR=';'
17808 # IFS
17809 # We need space, tab and new line, in precisely that order. Quoting is
17810 # there to prevent editors from complaining about space-tab.
17811 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17812 # splitting by setting IFS to empty value.)
17813 IFS=" "" $as_nl"
17815 # Find who we are. Look in the path if we contain no directory separator.
17816 as_myself=
17817 case $0 in #((
17818 *[\\/]* ) as_myself=$0 ;;
17819 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17820 for as_dir in $PATH
17822 IFS=$as_save_IFS
17823 test -z "$as_dir" && as_dir=.
17824 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17825 done
17826 IFS=$as_save_IFS
17829 esac
17830 # We did not find ourselves, most probably we were run as `sh COMMAND'
17831 # in which case we are not to be found in the path.
17832 if test "x$as_myself" = x; then
17833 as_myself=$0
17835 if test ! -f "$as_myself"; then
17836 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17837 exit 1
17840 # Unset variables that we do not need and which cause bugs (e.g. in
17841 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17842 # suppresses any "Segmentation fault" message there. '((' could
17843 # trigger a bug in pdksh 5.2.14.
17844 for as_var in BASH_ENV ENV MAIL MAILPATH
17845 do eval test x\${$as_var+set} = xset \
17846 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17847 done
17848 PS1='$ '
17849 PS2='> '
17850 PS4='+ '
17852 # NLS nuisances.
17853 LC_ALL=C
17854 export LC_ALL
17855 LANGUAGE=C
17856 export LANGUAGE
17858 # CDPATH.
17859 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17862 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17863 # ----------------------------------------
17864 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17865 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17866 # script with STATUS, using 1 if that was 0.
17867 as_fn_error ()
17869 as_status=$1; test $as_status -eq 0 && as_status=1
17870 if test "$4"; then
17871 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17872 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17874 $as_echo "$as_me: error: $2" >&2
17875 as_fn_exit $as_status
17876 } # as_fn_error
17879 # as_fn_set_status STATUS
17880 # -----------------------
17881 # Set $? to STATUS, without forking.
17882 as_fn_set_status ()
17884 return $1
17885 } # as_fn_set_status
17887 # as_fn_exit STATUS
17888 # -----------------
17889 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17890 as_fn_exit ()
17892 set +e
17893 as_fn_set_status $1
17894 exit $1
17895 } # as_fn_exit
17897 # as_fn_unset VAR
17898 # ---------------
17899 # Portably unset VAR.
17900 as_fn_unset ()
17902 { eval $1=; unset $1;}
17904 as_unset=as_fn_unset
17905 # as_fn_append VAR VALUE
17906 # ----------------------
17907 # Append the text in VALUE to the end of the definition contained in VAR. Take
17908 # advantage of any shell optimizations that allow amortized linear growth over
17909 # repeated appends, instead of the typical quadratic growth present in naive
17910 # implementations.
17911 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17912 eval 'as_fn_append ()
17914 eval $1+=\$2
17916 else
17917 as_fn_append ()
17919 eval $1=\$$1\$2
17921 fi # as_fn_append
17923 # as_fn_arith ARG...
17924 # ------------------
17925 # Perform arithmetic evaluation on the ARGs, and store the result in the
17926 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17927 # must be portable across $(()) and expr.
17928 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17929 eval 'as_fn_arith ()
17931 as_val=$(( $* ))
17933 else
17934 as_fn_arith ()
17936 as_val=`expr "$@" || test $? -eq 1`
17938 fi # as_fn_arith
17941 if expr a : '\(a\)' >/dev/null 2>&1 &&
17942 test "X`expr 00001 : '.*\(...\)'`" = X001; then
17943 as_expr=expr
17944 else
17945 as_expr=false
17948 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17949 as_basename=basename
17950 else
17951 as_basename=false
17954 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17955 as_dirname=dirname
17956 else
17957 as_dirname=false
17960 as_me=`$as_basename -- "$0" ||
17961 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17962 X"$0" : 'X\(//\)$' \| \
17963 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17964 $as_echo X/"$0" |
17965 sed '/^.*\/\([^/][^/]*\)\/*$/{
17966 s//\1/
17969 /^X\/\(\/\/\)$/{
17970 s//\1/
17973 /^X\/\(\/\).*/{
17974 s//\1/
17977 s/.*/./; q'`
17979 # Avoid depending upon Character Ranges.
17980 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17981 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17982 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17983 as_cr_digits='0123456789'
17984 as_cr_alnum=$as_cr_Letters$as_cr_digits
17986 ECHO_C= ECHO_N= ECHO_T=
17987 case `echo -n x` in #(((((
17988 -n*)
17989 case `echo 'xy\c'` in
17990 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
17991 xy) ECHO_C='\c';;
17992 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
17993 ECHO_T=' ';;
17994 esac;;
17996 ECHO_N='-n';;
17997 esac
17999 rm -f conf$$ conf$$.exe conf$$.file
18000 if test -d conf$$.dir; then
18001 rm -f conf$$.dir/conf$$.file
18002 else
18003 rm -f conf$$.dir
18004 mkdir conf$$.dir 2>/dev/null
18006 if (echo >conf$$.file) 2>/dev/null; then
18007 if ln -s conf$$.file conf$$ 2>/dev/null; then
18008 as_ln_s='ln -s'
18009 # ... but there are two gotchas:
18010 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18011 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18012 # In both cases, we have to default to `cp -pR'.
18013 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18014 as_ln_s='cp -pR'
18015 elif ln conf$$.file conf$$ 2>/dev/null; then
18016 as_ln_s=ln
18017 else
18018 as_ln_s='cp -pR'
18020 else
18021 as_ln_s='cp -pR'
18023 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18024 rmdir conf$$.dir 2>/dev/null
18027 # as_fn_mkdir_p
18028 # -------------
18029 # Create "$as_dir" as a directory, including parents if necessary.
18030 as_fn_mkdir_p ()
18033 case $as_dir in #(
18034 -*) as_dir=./$as_dir;;
18035 esac
18036 test -d "$as_dir" || eval $as_mkdir_p || {
18037 as_dirs=
18038 while :; do
18039 case $as_dir in #(
18040 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18041 *) as_qdir=$as_dir;;
18042 esac
18043 as_dirs="'$as_qdir' $as_dirs"
18044 as_dir=`$as_dirname -- "$as_dir" ||
18045 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18046 X"$as_dir" : 'X\(//\)[^/]' \| \
18047 X"$as_dir" : 'X\(//\)$' \| \
18048 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18049 $as_echo X"$as_dir" |
18050 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18051 s//\1/
18054 /^X\(\/\/\)[^/].*/{
18055 s//\1/
18058 /^X\(\/\/\)$/{
18059 s//\1/
18062 /^X\(\/\).*/{
18063 s//\1/
18066 s/.*/./; q'`
18067 test -d "$as_dir" && break
18068 done
18069 test -z "$as_dirs" || eval "mkdir $as_dirs"
18070 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18073 } # as_fn_mkdir_p
18074 if mkdir -p . 2>/dev/null; then
18075 as_mkdir_p='mkdir -p "$as_dir"'
18076 else
18077 test -d ./-p && rmdir ./-p
18078 as_mkdir_p=false
18082 # as_fn_executable_p FILE
18083 # -----------------------
18084 # Test if FILE is an executable regular file.
18085 as_fn_executable_p ()
18087 test -f "$1" && test -x "$1"
18088 } # as_fn_executable_p
18089 as_test_x='test -x'
18090 as_executable_p=as_fn_executable_p
18092 # Sed expression to map a string onto a valid CPP name.
18093 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18095 # Sed expression to map a string onto a valid variable name.
18096 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18099 exec 6>&1
18100 ## ----------------------------------- ##
18101 ## Main body of $CONFIG_STATUS script. ##
18102 ## ----------------------------------- ##
18103 _ASEOF
18104 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18106 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18107 # Save the log message, to keep $0 and so on meaningful, and to
18108 # report actual input values of CONFIG_FILES etc. instead of their
18109 # values after options handling.
18110 ac_log="
18111 This file was extended by Wine $as_me 1.7.23, which was
18112 generated by GNU Autoconf 2.69. Invocation command line was
18114 CONFIG_FILES = $CONFIG_FILES
18115 CONFIG_HEADERS = $CONFIG_HEADERS
18116 CONFIG_LINKS = $CONFIG_LINKS
18117 CONFIG_COMMANDS = $CONFIG_COMMANDS
18118 $ $0 $@
18120 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18123 _ACEOF
18125 case $ac_config_files in *"
18126 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18127 esac
18129 case $ac_config_headers in *"
18130 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18131 esac
18134 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18135 # Files that config.status was made for.
18136 config_files="$ac_config_files"
18137 config_headers="$ac_config_headers"
18138 config_links="$ac_config_links"
18139 config_commands="$ac_config_commands"
18141 _ACEOF
18143 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18144 ac_cs_usage="\
18145 \`$as_me' instantiates files and other configuration actions
18146 from templates according to the current configuration. Unless the files
18147 and actions are specified as TAGs, all are instantiated by default.
18149 Usage: $0 [OPTION]... [TAG]...
18151 -h, --help print this help, then exit
18152 -V, --version print version number and configuration settings, then exit
18153 --config print configuration, then exit
18154 -q, --quiet, --silent
18155 do not print progress messages
18156 -d, --debug don't remove temporary files
18157 --recheck update $as_me by reconfiguring in the same conditions
18158 --file=FILE[:TEMPLATE]
18159 instantiate the configuration file FILE
18160 --header=FILE[:TEMPLATE]
18161 instantiate the configuration header FILE
18163 Configuration files:
18164 $config_files
18166 Configuration headers:
18167 $config_headers
18169 Configuration links:
18170 $config_links
18172 Configuration commands:
18173 $config_commands
18175 Report bugs to <wine-devel@winehq.org>.
18176 Wine home page: <http://www.winehq.org>."
18178 _ACEOF
18179 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18180 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18181 ac_cs_version="\\
18182 Wine config.status 1.7.23
18183 configured by $0, generated by GNU Autoconf 2.69,
18184 with options \\"\$ac_cs_config\\"
18186 Copyright (C) 2012 Free Software Foundation, Inc.
18187 This config.status script is free software; the Free Software Foundation
18188 gives unlimited permission to copy, distribute and modify it."
18190 ac_pwd='$ac_pwd'
18191 srcdir='$srcdir'
18192 test -n "\$AWK" || AWK=awk
18193 _ACEOF
18195 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18196 # The default lists apply if the user does not specify any file.
18197 ac_need_defaults=:
18198 while test $# != 0
18200 case $1 in
18201 --*=?*)
18202 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18203 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18204 ac_shift=:
18206 --*=)
18207 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18208 ac_optarg=
18209 ac_shift=:
18212 ac_option=$1
18213 ac_optarg=$2
18214 ac_shift=shift
18216 esac
18218 case $ac_option in
18219 # Handling of the options.
18220 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18221 ac_cs_recheck=: ;;
18222 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18223 $as_echo "$ac_cs_version"; exit ;;
18224 --config | --confi | --conf | --con | --co | --c )
18225 $as_echo "$ac_cs_config"; exit ;;
18226 --debug | --debu | --deb | --de | --d | -d )
18227 debug=: ;;
18228 --file | --fil | --fi | --f )
18229 $ac_shift
18230 case $ac_optarg in
18231 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18232 '') as_fn_error $? "missing file argument" ;;
18233 esac
18234 as_fn_append CONFIG_FILES " '$ac_optarg'"
18235 ac_need_defaults=false;;
18236 --header | --heade | --head | --hea )
18237 $ac_shift
18238 case $ac_optarg in
18239 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18240 esac
18241 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18242 ac_need_defaults=false;;
18243 --he | --h)
18244 # Conflict between --help and --header
18245 as_fn_error $? "ambiguous option: \`$1'
18246 Try \`$0 --help' for more information.";;
18247 --help | --hel | -h )
18248 $as_echo "$ac_cs_usage"; exit ;;
18249 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18250 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18251 ac_cs_silent=: ;;
18253 # This is an error.
18254 -*) as_fn_error $? "unrecognized option: \`$1'
18255 Try \`$0 --help' for more information." ;;
18257 *) as_fn_append ac_config_targets " $1"
18258 ac_need_defaults=false ;;
18260 esac
18261 shift
18262 done
18264 ac_configure_extra_args=
18266 if $ac_cs_silent; then
18267 exec 6>/dev/null
18268 ac_configure_extra_args="$ac_configure_extra_args --silent"
18271 _ACEOF
18272 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18273 if \$ac_cs_recheck; then
18274 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18275 shift
18276 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18277 CONFIG_SHELL='$SHELL'
18278 export CONFIG_SHELL
18279 exec "\$@"
18282 _ACEOF
18283 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18284 exec 5>>config.log
18286 echo
18287 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18288 ## Running $as_me. ##
18289 _ASBOX
18290 $as_echo "$ac_log"
18291 } >&5
18293 _ACEOF
18294 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18296 # INIT-COMMANDS
18298 wine_fn_output_makedep ()
18300 as_dir=tools; as_fn_mkdir_p
18301 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18303 wine_fn_output_makefile ()
18305 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18306 `cat $wine_rules_file`
18307 _WINE_EOF
18308 as_fn_error $? "could not create Makefile" "$LINENO" 5
18310 wine_fn_output_gitignore ()
18312 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18313 $GITIGNORE
18314 _WINE_EOF
18315 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18318 _ACEOF
18320 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18322 # Handling of arguments.
18323 for ac_config_target in $ac_config_targets
18325 case $ac_config_target in
18326 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18327 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
18328 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18329 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18330 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18331 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18332 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18333 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18334 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
18335 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18336 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
18337 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
18338 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18339 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
18341 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18342 esac
18343 done
18346 # If the user did not use the arguments to specify the items to instantiate,
18347 # then the envvar interface is used. Set only those that are not.
18348 # We use the long form for the default assignment because of an extremely
18349 # bizarre bug on SunOS 4.1.3.
18350 if $ac_need_defaults; then
18351 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18352 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18353 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18354 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18357 # Have a temporary directory for convenience. Make it in the build tree
18358 # simply because there is no reason against having it here, and in addition,
18359 # creating and moving files from /tmp can sometimes cause problems.
18360 # Hook for its removal unless debugging.
18361 # Note that there is a small window in which the directory will not be cleaned:
18362 # after its creation but before its name has been assigned to `$tmp'.
18363 $debug ||
18365 tmp= ac_tmp=
18366 trap 'exit_status=$?
18367 : "${ac_tmp:=$tmp}"
18368 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18370 trap 'as_fn_exit 1' 1 2 13 15
18372 # Create a (secure) tmp directory for tmp files.
18375 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18376 test -d "$tmp"
18377 } ||
18379 tmp=./conf$$-$RANDOM
18380 (umask 077 && mkdir "$tmp")
18381 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18382 ac_tmp=$tmp
18384 # Set up the scripts for CONFIG_FILES section.
18385 # No need to generate them if there are no CONFIG_FILES.
18386 # This happens for instance with `./config.status config.h'.
18387 if test -n "$CONFIG_FILES"; then
18390 ac_cr=`echo X | tr X '\015'`
18391 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18392 # But we know of no other shell where ac_cr would be empty at this
18393 # point, so we can use a bashism as a fallback.
18394 if test "x$ac_cr" = x; then
18395 eval ac_cr=\$\'\\r\'
18397 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18398 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18399 ac_cs_awk_cr='\\r'
18400 else
18401 ac_cs_awk_cr=$ac_cr
18404 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18405 _ACEOF
18409 echo "cat >conf$$subs.awk <<_ACEOF" &&
18410 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18411 echo "_ACEOF"
18412 } >conf$$subs.sh ||
18413 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18414 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18415 ac_delim='%!_!# '
18416 for ac_last_try in false false false false false :; do
18417 . ./conf$$subs.sh ||
18418 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18420 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18421 if test $ac_delim_n = $ac_delim_num; then
18422 break
18423 elif $ac_last_try; then
18424 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18425 else
18426 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18428 done
18429 rm -f conf$$subs.sh
18431 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18432 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18433 _ACEOF
18434 sed -n '
18436 s/^/S["/; s/!.*/"]=/
18439 s/^[^!]*!//
18440 :repl
18441 t repl
18442 s/'"$ac_delim"'$//
18443 t delim
18446 s/\(.\{148\}\)..*/\1/
18447 t more1
18448 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18451 b repl
18452 :more1
18453 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18456 s/.\{148\}//
18457 t nl
18458 :delim
18460 s/\(.\{148\}\)..*/\1/
18461 t more2
18462 s/["\\]/\\&/g; s/^/"/; s/$/"/
18465 :more2
18466 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18469 s/.\{148\}//
18470 t delim
18471 ' <conf$$subs.awk | sed '
18472 /^[^""]/{
18474 s/\n//
18476 ' >>$CONFIG_STATUS || ac_write_fail=1
18477 rm -f conf$$subs.awk
18478 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18479 _ACAWK
18480 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18481 for (key in S) S_is_set[key] = 1
18482 FS = "\a"
18486 line = $ 0
18487 nfields = split(line, field, "@")
18488 substed = 0
18489 len = length(field[1])
18490 for (i = 2; i < nfields; i++) {
18491 key = field[i]
18492 keylen = length(key)
18493 if (S_is_set[key]) {
18494 value = S[key]
18495 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18496 len += length(value) + length(field[++i])
18497 substed = 1
18498 } else
18499 len += 1 + keylen
18502 print line
18505 _ACAWK
18506 _ACEOF
18507 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18508 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18509 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18510 else
18512 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18513 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18514 _ACEOF
18516 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18517 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18518 # trailing colons and then remove the whole line if VPATH becomes empty
18519 # (actually we leave an empty line to preserve line numbers).
18520 if test "x$srcdir" = x.; then
18521 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18523 s///
18524 s/^/:/
18525 s/[ ]*$/:/
18526 s/:\$(srcdir):/:/g
18527 s/:\${srcdir}:/:/g
18528 s/:@srcdir@:/:/g
18529 s/^:*//
18530 s/:*$//
18532 s/\(=[ ]*\).*/\1/
18534 s/\n//
18535 s/^[^=]*=[ ]*$//
18539 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18540 fi # test -n "$CONFIG_FILES"
18542 # Set up the scripts for CONFIG_HEADERS section.
18543 # No need to generate them if there are no CONFIG_HEADERS.
18544 # This happens for instance with `./config.status Makefile'.
18545 if test -n "$CONFIG_HEADERS"; then
18546 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18547 BEGIN {
18548 _ACEOF
18550 # Transform confdefs.h into an awk script `defines.awk', embedded as
18551 # here-document in config.status, that substitutes the proper values into
18552 # config.h.in to produce config.h.
18554 # Create a delimiter string that does not exist in confdefs.h, to ease
18555 # handling of long lines.
18556 ac_delim='%!_!# '
18557 for ac_last_try in false false :; do
18558 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18559 if test -z "$ac_tt"; then
18560 break
18561 elif $ac_last_try; then
18562 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18563 else
18564 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18566 done
18568 # For the awk script, D is an array of macro values keyed by name,
18569 # likewise P contains macro parameters if any. Preserve backslash
18570 # newline sequences.
18572 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18573 sed -n '
18574 s/.\{148\}/&'"$ac_delim"'/g
18575 t rset
18576 :rset
18577 s/^[ ]*#[ ]*define[ ][ ]*/ /
18578 t def
18580 :def
18581 s/\\$//
18582 t bsnl
18583 s/["\\]/\\&/g
18584 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18585 D["\1"]=" \3"/p
18586 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18588 :bsnl
18589 s/["\\]/\\&/g
18590 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18591 D["\1"]=" \3\\\\\\n"\\/p
18592 t cont
18593 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18594 t cont
18596 :cont
18598 s/.\{148\}/&'"$ac_delim"'/g
18599 t clear
18600 :clear
18601 s/\\$//
18602 t bsnlc
18603 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18605 :bsnlc
18606 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18607 b cont
18608 ' <confdefs.h | sed '
18609 s/'"$ac_delim"'/"\\\
18610 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18612 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18613 for (key in D) D_is_set[key] = 1
18614 FS = "\a"
18616 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18617 line = \$ 0
18618 split(line, arg, " ")
18619 if (arg[1] == "#") {
18620 defundef = arg[2]
18621 mac1 = arg[3]
18622 } else {
18623 defundef = substr(arg[1], 2)
18624 mac1 = arg[2]
18626 split(mac1, mac2, "(") #)
18627 macro = mac2[1]
18628 prefix = substr(line, 1, index(line, defundef) - 1)
18629 if (D_is_set[macro]) {
18630 # Preserve the white space surrounding the "#".
18631 print prefix "define", macro P[macro] D[macro]
18632 next
18633 } else {
18634 # Replace #undef with comments. This is necessary, for example,
18635 # in the case of _POSIX_SOURCE, which is predefined and required
18636 # on some systems where configure will not decide to define it.
18637 if (defundef == "undef") {
18638 print "/*", prefix defundef, macro, "*/"
18639 next
18643 { print }
18644 _ACAWK
18645 _ACEOF
18646 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18647 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18648 fi # test -n "$CONFIG_HEADERS"
18651 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18652 shift
18653 for ac_tag
18655 case $ac_tag in
18656 :[FHLC]) ac_mode=$ac_tag; continue;;
18657 esac
18658 case $ac_mode$ac_tag in
18659 :[FHL]*:*);;
18660 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18661 :[FH]-) ac_tag=-:-;;
18662 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18663 esac
18664 ac_save_IFS=$IFS
18665 IFS=:
18666 set x $ac_tag
18667 IFS=$ac_save_IFS
18668 shift
18669 ac_file=$1
18670 shift
18672 case $ac_mode in
18673 :L) ac_source=$1;;
18674 :[FH])
18675 ac_file_inputs=
18676 for ac_f
18678 case $ac_f in
18679 -) ac_f="$ac_tmp/stdin";;
18680 *) # Look for the file first in the build tree, then in the source tree
18681 # (if the path is not absolute). The absolute path cannot be DOS-style,
18682 # because $ac_f cannot contain `:'.
18683 test -f "$ac_f" ||
18684 case $ac_f in
18685 [\\/$]*) false;;
18686 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18687 esac ||
18688 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18689 esac
18690 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18691 as_fn_append ac_file_inputs " '$ac_f'"
18692 done
18694 # Let's still pretend it is `configure' which instantiates (i.e., don't
18695 # use $as_me), people would be surprised to read:
18696 # /* config.h. Generated by config.status. */
18697 configure_input='Generated from '`
18698 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18699 `' by configure.'
18700 if test x"$ac_file" != x-; then
18701 configure_input="$ac_file. $configure_input"
18702 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18703 $as_echo "$as_me: creating $ac_file" >&6;}
18705 # Neutralize special characters interpreted by sed in replacement strings.
18706 case $configure_input in #(
18707 *\&* | *\|* | *\\* )
18708 ac_sed_conf_input=`$as_echo "$configure_input" |
18709 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18710 *) ac_sed_conf_input=$configure_input;;
18711 esac
18713 case $ac_tag in
18714 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18715 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18716 esac
18718 esac
18720 ac_dir=`$as_dirname -- "$ac_file" ||
18721 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18722 X"$ac_file" : 'X\(//\)[^/]' \| \
18723 X"$ac_file" : 'X\(//\)$' \| \
18724 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18725 $as_echo X"$ac_file" |
18726 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18727 s//\1/
18730 /^X\(\/\/\)[^/].*/{
18731 s//\1/
18734 /^X\(\/\/\)$/{
18735 s//\1/
18738 /^X\(\/\).*/{
18739 s//\1/
18742 s/.*/./; q'`
18743 as_dir="$ac_dir"; as_fn_mkdir_p
18744 ac_builddir=.
18746 case "$ac_dir" in
18747 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18749 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18750 # A ".." for each directory in $ac_dir_suffix.
18751 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18752 case $ac_top_builddir_sub in
18753 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18754 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18755 esac ;;
18756 esac
18757 ac_abs_top_builddir=$ac_pwd
18758 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18759 # for backward compatibility:
18760 ac_top_builddir=$ac_top_build_prefix
18762 case $srcdir in
18763 .) # We are building in place.
18764 ac_srcdir=.
18765 ac_top_srcdir=$ac_top_builddir_sub
18766 ac_abs_top_srcdir=$ac_pwd ;;
18767 [\\/]* | ?:[\\/]* ) # Absolute name.
18768 ac_srcdir=$srcdir$ac_dir_suffix;
18769 ac_top_srcdir=$srcdir
18770 ac_abs_top_srcdir=$srcdir ;;
18771 *) # Relative name.
18772 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18773 ac_top_srcdir=$ac_top_build_prefix$srcdir
18774 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18775 esac
18776 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18779 case $ac_mode in
18782 # CONFIG_FILE
18785 _ACEOF
18787 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18788 # If the template does not know about datarootdir, expand it.
18789 # FIXME: This hack should be removed a few years after 2.60.
18790 ac_datarootdir_hack=; ac_datarootdir_seen=
18791 ac_sed_dataroot='
18792 /datarootdir/ {
18796 /@datadir@/p
18797 /@docdir@/p
18798 /@infodir@/p
18799 /@localedir@/p
18800 /@mandir@/p'
18801 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18802 *datarootdir*) ac_datarootdir_seen=yes;;
18803 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18804 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18805 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18806 _ACEOF
18807 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18808 ac_datarootdir_hack='
18809 s&@datadir@&$datadir&g
18810 s&@docdir@&$docdir&g
18811 s&@infodir@&$infodir&g
18812 s&@localedir@&$localedir&g
18813 s&@mandir@&$mandir&g
18814 s&\\\${datarootdir}&$datarootdir&g' ;;
18815 esac
18816 _ACEOF
18818 # Neutralize VPATH when `$srcdir' = `.'.
18819 # Shell code in configure.ac might set extrasub.
18820 # FIXME: do we really want to maintain this feature?
18821 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18822 ac_sed_extra="$ac_vpsub
18823 $extrasub
18824 _ACEOF
18825 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18827 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18828 s|@configure_input@|$ac_sed_conf_input|;t t
18829 s&@top_builddir@&$ac_top_builddir_sub&;t t
18830 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18831 s&@srcdir@&$ac_srcdir&;t t
18832 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18833 s&@top_srcdir@&$ac_top_srcdir&;t t
18834 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18835 s&@builddir@&$ac_builddir&;t t
18836 s&@abs_builddir@&$ac_abs_builddir&;t t
18837 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18838 $ac_datarootdir_hack
18840 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18841 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18843 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18844 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18845 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18846 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18848 which seems to be undefined. Please make sure it is defined" >&5
18849 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18850 which seems to be undefined. Please make sure it is defined" >&2;}
18852 rm -f "$ac_tmp/stdin"
18853 case $ac_file in
18854 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18855 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18856 esac \
18857 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18861 # CONFIG_HEADER
18863 if test x"$ac_file" != x-; then
18865 $as_echo "/* $configure_input */" \
18866 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18867 } >"$ac_tmp/config.h" \
18868 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18869 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18870 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18871 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18872 else
18873 rm -f "$ac_file"
18874 mv "$ac_tmp/config.h" "$ac_file" \
18875 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18877 else
18878 $as_echo "/* $configure_input */" \
18879 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18880 || as_fn_error $? "could not create -" "$LINENO" 5
18885 # CONFIG_LINK
18888 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
18890 else
18891 # Prefer the file from the source tree if names are identical.
18892 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
18893 ac_source=$srcdir/$ac_source
18896 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
18897 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
18899 if test ! -r "$ac_source"; then
18900 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
18902 rm -f "$ac_file"
18904 # Try a relative symlink, then a hard link, then a copy.
18905 case $ac_source in
18906 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
18907 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
18908 esac
18909 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
18910 ln "$ac_source" "$ac_file" 2>/dev/null ||
18911 cp -p "$ac_source" "$ac_file" ||
18912 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
18915 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18916 $as_echo "$as_me: executing $ac_file commands" >&6;}
18918 esac
18921 case $ac_file$ac_mode in
18922 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
18923 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
18924 "Makefile":C) wine_fn_output_makefile Makefile ;;
18925 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
18927 esac
18928 done # for ac_tag
18931 as_fn_exit 0
18932 _ACEOF
18933 ac_clean_files=$ac_clean_files_save
18935 test $ac_write_fail = 0 ||
18936 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18939 # configure is writing to config.log, and then calls config.status.
18940 # config.status does its own redirection, appending to config.log.
18941 # Unfortunately, on DOS this fails, as config.log is still kept open
18942 # by configure, so config.status won't be able to write to it; its
18943 # output is simply discarded. So we exec the FD to /dev/null,
18944 # effectively closing config.log, so it can be properly (re)opened and
18945 # appended to by config.status. When coming back to configure, we
18946 # need to make the FD available again.
18947 if test "$no_create" != yes; then
18948 ac_cs_success=:
18949 ac_config_status_args=
18950 test "$silent" = yes &&
18951 ac_config_status_args="$ac_config_status_args --quiet"
18952 exec 5>/dev/null
18953 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18954 exec 5>>config.log
18955 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18956 # would make configure fail if this is the last instruction.
18957 $ac_cs_success || as_fn_exit 1
18959 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18960 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18961 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18965 if test "$no_create" = "yes"
18966 then
18967 exit 0
18970 ac_save_IFS="$IFS"
18971 if test "x$wine_notices != "x; then
18972 echo >&6
18973 IFS="|"
18974 for msg in $wine_notices; do
18975 IFS="$ac_save_IFS"
18976 if ${msg:+false} :; then :
18978 else
18979 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
18980 $as_echo "$as_me: $msg" >&6;}
18982 done
18984 IFS="|"
18985 for msg in $wine_warnings; do
18986 IFS="$ac_save_IFS"
18987 if ${msg:+false} :; then :
18989 else
18990 echo >&2
18991 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
18992 $as_echo "$as_me: WARNING: $msg" >&2;}
18994 done
18995 IFS="$ac_save_IFS"
18997 $as_echo "
18998 $as_me: Finished. Do '${ac_make}' to compile Wine.
18999 " >&6