xmllite/tests: There is no need to initialize OLE.
[wine.git] / configure
blob246b8887c703e19ee789ad2e4840dae628dce274
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.12.
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.12'
584 PACKAGE_STRING='Wine 1.7.12'
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_d3d10
938 enable_d3d10core
939 enable_d3d11
940 enable_d3d8
941 enable_d3d9
942 enable_d3dcompiler_33
943 enable_d3dcompiler_34
944 enable_d3dcompiler_35
945 enable_d3dcompiler_36
946 enable_d3dcompiler_37
947 enable_d3dcompiler_38
948 enable_d3dcompiler_39
949 enable_d3dcompiler_40
950 enable_d3dcompiler_41
951 enable_d3dcompiler_42
952 enable_d3dcompiler_43
953 enable_d3dim
954 enable_d3drm
955 enable_d3dx10_33
956 enable_d3dx10_34
957 enable_d3dx10_35
958 enable_d3dx10_36
959 enable_d3dx10_37
960 enable_d3dx10_38
961 enable_d3dx10_39
962 enable_d3dx10_40
963 enable_d3dx10_41
964 enable_d3dx10_42
965 enable_d3dx10_43
966 enable_d3dx11_42
967 enable_d3dx11_43
968 enable_d3dx9_24
969 enable_d3dx9_25
970 enable_d3dx9_26
971 enable_d3dx9_27
972 enable_d3dx9_28
973 enable_d3dx9_29
974 enable_d3dx9_30
975 enable_d3dx9_31
976 enable_d3dx9_32
977 enable_d3dx9_33
978 enable_d3dx9_34
979 enable_d3dx9_35
980 enable_d3dx9_36
981 enable_d3dx9_37
982 enable_d3dx9_38
983 enable_d3dx9_39
984 enable_d3dx9_40
985 enable_d3dx9_41
986 enable_d3dx9_42
987 enable_d3dx9_43
988 enable_d3dxof
989 enable_dbgeng
990 enable_dbghelp
991 enable_dciman32
992 enable_ddraw
993 enable_ddrawex
994 enable_devenum
995 enable_dhcpcsvc
996 enable_difxapi
997 enable_dinput
998 enable_dinput8
999 enable_dispex
1000 enable_dmband
1001 enable_dmcompos
1002 enable_dmime
1003 enable_dmloader
1004 enable_dmscript
1005 enable_dmstyle
1006 enable_dmsynth
1007 enable_dmusic
1008 enable_dmusic32
1009 enable_dnsapi
1010 enable_dplay
1011 enable_dplayx
1012 enable_dpnaddr
1013 enable_dpnet
1014 enable_dpnhpast
1015 enable_dpnlobby
1016 enable_dpwsockx
1017 enable_drmclien
1018 enable_dsound
1019 enable_dssenh
1020 enable_dswave
1021 enable_dwmapi
1022 enable_dwrite
1023 enable_dxdiagn
1024 enable_dxgi
1025 enable_explorerframe
1026 enable_ext_ms_win_gdi_devcaps_l1_1_0
1027 enable_faultrep
1028 enable_fltlib
1029 enable_fusion
1030 enable_fwpuclnt
1031 enable_gameux
1032 enable_gdi32
1033 enable_gdiplus
1034 enable_glu32
1035 enable_gphoto2_ds
1036 enable_gpkcsp
1037 enable_hal
1038 enable_hhctrl_ocx
1039 enable_hid
1040 enable_hlink
1041 enable_hnetcfg
1042 enable_httpapi
1043 enable_iccvid
1044 enable_icmp
1045 enable_ieframe
1046 enable_imaadp32_acm
1047 enable_imagehlp
1048 enable_imm32
1049 enable_inetcomm
1050 enable_inetcpl_cpl
1051 enable_inetmib1
1052 enable_infosoft
1053 enable_initpki
1054 enable_inkobj
1055 enable_inseng
1056 enable_iphlpapi
1057 enable_itircl
1058 enable_itss
1059 enable_joy_cpl
1060 enable_jscript
1061 enable_kernel32
1062 enable_ktmw32
1063 enable_loadperf
1064 enable_localspl
1065 enable_localui
1066 enable_lz32
1067 enable_mapi32
1068 enable_mapistub
1069 enable_mciavi32
1070 enable_mcicda
1071 enable_mciqtz32
1072 enable_mciseq
1073 enable_mciwave
1074 enable_mgmtapi
1075 enable_midimap
1076 enable_mlang
1077 enable_mmcndmgr
1078 enable_mmdevapi
1079 enable_mountmgr_sys
1080 enable_mpr
1081 enable_mprapi
1082 enable_msacm32_drv
1083 enable_msacm32
1084 enable_msadp32_acm
1085 enable_mscat32
1086 enable_mscms
1087 enable_mscoree
1088 enable_msctf
1089 enable_msdaps
1090 enable_msdmo
1091 enable_msftedit
1092 enable_msg711_acm
1093 enable_msgsm32_acm
1094 enable_mshtml_tlb
1095 enable_mshtml
1096 enable_msi
1097 enable_msident
1098 enable_msimg32
1099 enable_msimsg
1100 enable_msimtf
1101 enable_msisip
1102 enable_msisys_ocx
1103 enable_msls31
1104 enable_msnet32
1105 enable_mspatcha
1106 enable_msrle32
1107 enable_mssign32
1108 enable_mssip32
1109 enable_mstask
1110 enable_msvcirt
1111 enable_msvcm80
1112 enable_msvcm90
1113 enable_msvcp100
1114 enable_msvcp110
1115 enable_msvcp60
1116 enable_msvcp70
1117 enable_msvcp71
1118 enable_msvcp80
1119 enable_msvcp90
1120 enable_msvcr100
1121 enable_msvcr110
1122 enable_msvcr70
1123 enable_msvcr71
1124 enable_msvcr80
1125 enable_msvcr90
1126 enable_msvcrt
1127 enable_msvcrt20
1128 enable_msvcrt40
1129 enable_msvcrtd
1130 enable_msvfw32
1131 enable_msvidc32
1132 enable_mswsock
1133 enable_msxml
1134 enable_msxml2
1135 enable_msxml3
1136 enable_msxml4
1137 enable_msxml6
1138 enable_nddeapi
1139 enable_netapi32
1140 enable_netcfgx
1141 enable_newdev
1142 enable_normaliz
1143 enable_npmshtml
1144 enable_ntdll
1145 enable_ntdsapi
1146 enable_ntoskrnl_exe
1147 enable_ntprint
1148 enable_objsel
1149 enable_odbc32
1150 enable_odbccp32
1151 enable_odbccu32
1152 enable_ole32
1153 enable_oleacc
1154 enable_oleaut32
1155 enable_olecli32
1156 enable_oledb32
1157 enable_oledlg
1158 enable_olepro32
1159 enable_olesvr32
1160 enable_olethk32
1161 enable_openal32
1162 enable_opencl
1163 enable_opengl32
1164 enable_pdh
1165 enable_photometadatahandler
1166 enable_pidgen
1167 enable_powrprof
1168 enable_printui
1169 enable_propsys
1170 enable_psapi
1171 enable_pstorec
1172 enable_qcap
1173 enable_qedit
1174 enable_qmgr
1175 enable_qmgrprxy
1176 enable_quartz
1177 enable_query
1178 enable_rasapi32
1179 enable_rasdlg
1180 enable_regapi
1181 enable_resutils
1182 enable_riched20
1183 enable_riched32
1184 enable_rpcrt4
1185 enable_rsabase
1186 enable_rsaenh
1187 enable_rstrtmgr
1188 enable_rtutils
1189 enable_samlib
1190 enable_sane_ds
1191 enable_scarddlg
1192 enable_sccbase
1193 enable_schannel
1194 enable_scrrun
1195 enable_scsiport_sys
1196 enable_secur32
1197 enable_security
1198 enable_sensapi
1199 enable_serialui
1200 enable_setupapi
1201 enable_sfc
1202 enable_sfc_os
1203 enable_shdoclc
1204 enable_shdocvw
1205 enable_shell32
1206 enable_shfolder
1207 enable_shlwapi
1208 enable_slbcsp
1209 enable_slc
1210 enable_snmpapi
1211 enable_softpub
1212 enable_spoolss
1213 enable_stdole2_tlb
1214 enable_stdole32_tlb
1215 enable_sti
1216 enable_svrapi
1217 enable_sxs
1218 enable_t2embed
1219 enable_tapi32
1220 enable_taskschd
1221 enable_traffic
1222 enable_twain_32
1223 enable_unicows
1224 enable_updspapi
1225 enable_url
1226 enable_urlmon
1227 enable_usbd_sys
1228 enable_user32
1229 enable_userenv
1230 enable_usp10
1231 enable_uxtheme
1232 enable_vbscript
1233 enable_vcomp
1234 enable_vcomp100
1235 enable_vcomp90
1236 enable_vdmdbg
1237 enable_version
1238 enable_wbemdisp
1239 enable_wbemprox
1240 enable_webservices
1241 enable_wer
1242 enable_wevtapi
1243 enable_wiaservc
1244 enable_windowscodecs
1245 enable_windowscodecsext
1246 enable_winealsa_drv
1247 enable_winecoreaudio_drv
1248 enable_wined3d
1249 enable_winegstreamer
1250 enable_winejoystick_drv
1251 enable_winemac_drv
1252 enable_winemapi
1253 enable_winemp3_acm
1254 enable_wineoss_drv
1255 enable_wineps_drv
1256 enable_wineqtdecoder
1257 enable_winex11_drv
1258 enable_wing32
1259 enable_winhttp
1260 enable_wininet
1261 enable_winmm
1262 enable_winnls32
1263 enable_winscard
1264 enable_winspool_drv
1265 enable_winsta
1266 enable_wintab32
1267 enable_wintrust
1268 enable_wlanapi
1269 enable_wldap32
1270 enable_wmi
1271 enable_wmiutils
1272 enable_wmp
1273 enable_wmvcore
1274 enable_wnaspi32
1275 enable_ws2_32
1276 enable_wshom_ocx
1277 enable_wsnmp32
1278 enable_wsock32
1279 enable_wtsapi32
1280 enable_wuapi
1281 enable_wuaueng
1282 enable_xapofx1_1
1283 enable_xinput1_1
1284 enable_xinput1_2
1285 enable_xinput1_3
1286 enable_xinput1_4
1287 enable_xinput9_1_0
1288 enable_xmllite
1289 enable_xolehlp
1290 enable_xpsprint
1291 enable_xpssvcs
1292 enable_documentation
1293 enable_fonts
1294 enable_include
1295 enable_libs_port
1296 enable_libs_wine
1297 enable_libs_wpp
1298 enable_loader
1299 enable_arp
1300 enable_aspnet_regiis
1301 enable_attrib
1302 enable_cabarc
1303 enable_cacls
1304 enable_clock
1305 enable_cmd
1306 enable_conhost
1307 enable_control
1308 enable_cscript
1309 enable_dxdiag
1310 enable_eject
1311 enable_expand
1312 enable_explorer
1313 enable_extrac32
1314 enable_findstr
1315 enable_hh
1316 enable_hostname
1317 enable_icinfo
1318 enable_iexplore
1319 enable_ipconfig
1320 enable_lodctr
1321 enable_mofcomp
1322 enable_mshta
1323 enable_msiexec
1324 enable_net
1325 enable_netsh
1326 enable_netstat
1327 enable_ngen
1328 enable_notepad
1329 enable_oleview
1330 enable_ping
1331 enable_plugplay
1332 enable_presentationfontcache
1333 enable_progman
1334 enable_reg
1335 enable_regasm
1336 enable_regedit
1337 enable_regsvcs
1338 enable_regsvr32
1339 enable_rpcss
1340 enable_rundll32
1341 enable_sc
1342 enable_schtasks
1343 enable_secedit
1344 enable_servicemodelreg
1345 enable_services
1346 enable_spoolsv
1347 enable_start
1348 enable_svchost
1349 enable_taskkill
1350 enable_tasklist
1351 enable_taskmgr
1352 enable_termsv
1353 enable_uninstaller
1354 enable_unlodctr
1355 enable_view
1356 enable_wineboot
1357 enable_winebrowser
1358 enable_winecfg
1359 enable_wineconsole
1360 enable_winedbg
1361 enable_winedevice
1362 enable_winefile
1363 enable_winemenubuilder
1364 enable_winemine
1365 enable_winemsibuilder
1366 enable_winepath
1367 enable_winetest
1368 enable_winhlp32
1369 enable_winver
1370 enable_wmic
1371 enable_wordpad
1372 enable_write
1373 enable_wscript
1374 enable_wusa
1375 enable_xcopy
1376 enable_server
1377 enable_tools
1379 ac_precious_vars='build_alias
1380 host_alias
1381 target_alias
1383 CFLAGS
1384 LDFLAGS
1385 LIBS
1386 CPPFLAGS
1388 CXXFLAGS
1391 XMKMF
1392 XML2_CFLAGS
1393 XML2_LIBS
1394 XSLT_CFLAGS
1395 XSLT_LIBS
1396 DBUS_CFLAGS
1397 DBUS_LIBS
1398 HAL_CFLAGS
1399 HAL_LIBS
1400 GNUTLS_CFLAGS
1401 GNUTLS_LIBS
1402 SANE_CFLAGS
1403 SANE_LIBS
1404 GPHOTO2_CFLAGS
1405 GPHOTO2_LIBS
1406 GPHOTO2_PORT_CFLAGS
1407 GPHOTO2_PORT_LIBS
1408 LCMS2_CFLAGS
1409 LCMS2_LIBS
1410 FREETYPE_CFLAGS
1411 FREETYPE_LIBS
1412 GSTREAMER_CFLAGS
1413 GSTREAMER_LIBS
1414 CAPI20_CFLAGS
1415 CAPI20_LIBS
1416 FONTCONFIG_CFLAGS
1417 FONTCONFIG_LIBS
1418 JPEG_CFLAGS
1419 JPEG_LIBS
1420 PNG_CFLAGS
1421 PNG_LIBS
1422 TIFF_CFLAGS
1423 TIFF_LIBS
1424 MPG123_CFLAGS
1425 MPG123_LIBS'
1428 # Initialize some variables set by options.
1429 ac_init_help=
1430 ac_init_version=false
1431 ac_unrecognized_opts=
1432 ac_unrecognized_sep=
1433 # The variables have the same names as the options, with
1434 # dashes changed to underlines.
1435 cache_file=/dev/null
1436 exec_prefix=NONE
1437 no_create=
1438 no_recursion=
1439 prefix=NONE
1440 program_prefix=NONE
1441 program_suffix=NONE
1442 program_transform_name=s,x,x,
1443 silent=
1444 site=
1445 srcdir=
1446 verbose=
1447 x_includes=NONE
1448 x_libraries=NONE
1450 # Installation directory options.
1451 # These are left unexpanded so users can "make install exec_prefix=/foo"
1452 # and all the variables that are supposed to be based on exec_prefix
1453 # by default will actually change.
1454 # Use braces instead of parens because sh, perl, etc. also accept them.
1455 # (The list follows the same order as the GNU Coding Standards.)
1456 bindir='${exec_prefix}/bin'
1457 sbindir='${exec_prefix}/sbin'
1458 libexecdir='${exec_prefix}/libexec'
1459 datarootdir='${prefix}/share'
1460 datadir='${datarootdir}'
1461 sysconfdir='${prefix}/etc'
1462 sharedstatedir='${prefix}/com'
1463 localstatedir='${prefix}/var'
1464 includedir='${prefix}/include'
1465 oldincludedir='/usr/include'
1466 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1467 infodir='${datarootdir}/info'
1468 htmldir='${docdir}'
1469 dvidir='${docdir}'
1470 pdfdir='${docdir}'
1471 psdir='${docdir}'
1472 libdir='${exec_prefix}/lib'
1473 localedir='${datarootdir}/locale'
1474 mandir='${datarootdir}/man'
1476 ac_prev=
1477 ac_dashdash=
1478 for ac_option
1480 # If the previous option needs an argument, assign it.
1481 if test -n "$ac_prev"; then
1482 eval $ac_prev=\$ac_option
1483 ac_prev=
1484 continue
1487 case $ac_option in
1488 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1489 *=) ac_optarg= ;;
1490 *) ac_optarg=yes ;;
1491 esac
1493 # Accept the important Cygnus configure options, so we can diagnose typos.
1495 case $ac_dashdash$ac_option in
1497 ac_dashdash=yes ;;
1499 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1500 ac_prev=bindir ;;
1501 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1502 bindir=$ac_optarg ;;
1504 -build | --build | --buil | --bui | --bu)
1505 ac_prev=build_alias ;;
1506 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1507 build_alias=$ac_optarg ;;
1509 -cache-file | --cache-file | --cache-fil | --cache-fi \
1510 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1511 ac_prev=cache_file ;;
1512 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1513 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1514 cache_file=$ac_optarg ;;
1516 --config-cache | -C)
1517 cache_file=config.cache ;;
1519 -datadir | --datadir | --datadi | --datad)
1520 ac_prev=datadir ;;
1521 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1522 datadir=$ac_optarg ;;
1524 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1525 | --dataroo | --dataro | --datar)
1526 ac_prev=datarootdir ;;
1527 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1528 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1529 datarootdir=$ac_optarg ;;
1531 -disable-* | --disable-*)
1532 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1533 # Reject names that are not valid shell variable names.
1534 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1535 as_fn_error $? "invalid feature name: $ac_useropt"
1536 ac_useropt_orig=$ac_useropt
1537 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1538 case $ac_user_opts in
1540 "enable_$ac_useropt"
1541 "*) ;;
1542 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1543 ac_unrecognized_sep=', ';;
1544 esac
1545 eval enable_$ac_useropt=no ;;
1547 -docdir | --docdir | --docdi | --doc | --do)
1548 ac_prev=docdir ;;
1549 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1550 docdir=$ac_optarg ;;
1552 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1553 ac_prev=dvidir ;;
1554 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1555 dvidir=$ac_optarg ;;
1557 -enable-* | --enable-*)
1558 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1559 # Reject names that are not valid shell variable names.
1560 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1561 as_fn_error $? "invalid feature name: $ac_useropt"
1562 ac_useropt_orig=$ac_useropt
1563 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1564 case $ac_user_opts in
1566 "enable_$ac_useropt"
1567 "*) ;;
1568 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1569 ac_unrecognized_sep=', ';;
1570 esac
1571 eval enable_$ac_useropt=\$ac_optarg ;;
1573 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1574 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1575 | --exec | --exe | --ex)
1576 ac_prev=exec_prefix ;;
1577 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1578 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1579 | --exec=* | --exe=* | --ex=*)
1580 exec_prefix=$ac_optarg ;;
1582 -gas | --gas | --ga | --g)
1583 # Obsolete; use --with-gas.
1584 with_gas=yes ;;
1586 -help | --help | --hel | --he | -h)
1587 ac_init_help=long ;;
1588 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1589 ac_init_help=recursive ;;
1590 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1591 ac_init_help=short ;;
1593 -host | --host | --hos | --ho)
1594 ac_prev=host_alias ;;
1595 -host=* | --host=* | --hos=* | --ho=*)
1596 host_alias=$ac_optarg ;;
1598 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1599 ac_prev=htmldir ;;
1600 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1601 | --ht=*)
1602 htmldir=$ac_optarg ;;
1604 -includedir | --includedir | --includedi | --included | --include \
1605 | --includ | --inclu | --incl | --inc)
1606 ac_prev=includedir ;;
1607 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1608 | --includ=* | --inclu=* | --incl=* | --inc=*)
1609 includedir=$ac_optarg ;;
1611 -infodir | --infodir | --infodi | --infod | --info | --inf)
1612 ac_prev=infodir ;;
1613 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1614 infodir=$ac_optarg ;;
1616 -libdir | --libdir | --libdi | --libd)
1617 ac_prev=libdir ;;
1618 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1619 libdir=$ac_optarg ;;
1621 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1622 | --libexe | --libex | --libe)
1623 ac_prev=libexecdir ;;
1624 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1625 | --libexe=* | --libex=* | --libe=*)
1626 libexecdir=$ac_optarg ;;
1628 -localedir | --localedir | --localedi | --localed | --locale)
1629 ac_prev=localedir ;;
1630 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1631 localedir=$ac_optarg ;;
1633 -localstatedir | --localstatedir | --localstatedi | --localstated \
1634 | --localstate | --localstat | --localsta | --localst | --locals)
1635 ac_prev=localstatedir ;;
1636 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1637 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1638 localstatedir=$ac_optarg ;;
1640 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1641 ac_prev=mandir ;;
1642 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1643 mandir=$ac_optarg ;;
1645 -nfp | --nfp | --nf)
1646 # Obsolete; use --without-fp.
1647 with_fp=no ;;
1649 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1650 | --no-cr | --no-c | -n)
1651 no_create=yes ;;
1653 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1654 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1655 no_recursion=yes ;;
1657 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1658 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1659 | --oldin | --oldi | --old | --ol | --o)
1660 ac_prev=oldincludedir ;;
1661 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1662 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1663 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1664 oldincludedir=$ac_optarg ;;
1666 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1667 ac_prev=prefix ;;
1668 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1669 prefix=$ac_optarg ;;
1671 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1672 | --program-pre | --program-pr | --program-p)
1673 ac_prev=program_prefix ;;
1674 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1675 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1676 program_prefix=$ac_optarg ;;
1678 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1679 | --program-suf | --program-su | --program-s)
1680 ac_prev=program_suffix ;;
1681 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1682 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1683 program_suffix=$ac_optarg ;;
1685 -program-transform-name | --program-transform-name \
1686 | --program-transform-nam | --program-transform-na \
1687 | --program-transform-n | --program-transform- \
1688 | --program-transform | --program-transfor \
1689 | --program-transfo | --program-transf \
1690 | --program-trans | --program-tran \
1691 | --progr-tra | --program-tr | --program-t)
1692 ac_prev=program_transform_name ;;
1693 -program-transform-name=* | --program-transform-name=* \
1694 | --program-transform-nam=* | --program-transform-na=* \
1695 | --program-transform-n=* | --program-transform-=* \
1696 | --program-transform=* | --program-transfor=* \
1697 | --program-transfo=* | --program-transf=* \
1698 | --program-trans=* | --program-tran=* \
1699 | --progr-tra=* | --program-tr=* | --program-t=*)
1700 program_transform_name=$ac_optarg ;;
1702 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1703 ac_prev=pdfdir ;;
1704 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1705 pdfdir=$ac_optarg ;;
1707 -psdir | --psdir | --psdi | --psd | --ps)
1708 ac_prev=psdir ;;
1709 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1710 psdir=$ac_optarg ;;
1712 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1713 | -silent | --silent | --silen | --sile | --sil)
1714 silent=yes ;;
1716 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1717 ac_prev=sbindir ;;
1718 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1719 | --sbi=* | --sb=*)
1720 sbindir=$ac_optarg ;;
1722 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1723 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1724 | --sharedst | --shareds | --shared | --share | --shar \
1725 | --sha | --sh)
1726 ac_prev=sharedstatedir ;;
1727 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1728 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1729 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1730 | --sha=* | --sh=*)
1731 sharedstatedir=$ac_optarg ;;
1733 -site | --site | --sit)
1734 ac_prev=site ;;
1735 -site=* | --site=* | --sit=*)
1736 site=$ac_optarg ;;
1738 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1739 ac_prev=srcdir ;;
1740 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1741 srcdir=$ac_optarg ;;
1743 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1744 | --syscon | --sysco | --sysc | --sys | --sy)
1745 ac_prev=sysconfdir ;;
1746 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1747 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1748 sysconfdir=$ac_optarg ;;
1750 -target | --target | --targe | --targ | --tar | --ta | --t)
1751 ac_prev=target_alias ;;
1752 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1753 target_alias=$ac_optarg ;;
1755 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1756 verbose=yes ;;
1758 -version | --version | --versio | --versi | --vers | -V)
1759 ac_init_version=: ;;
1761 -with-* | --with-*)
1762 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1763 # Reject names that are not valid shell variable names.
1764 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1765 as_fn_error $? "invalid package name: $ac_useropt"
1766 ac_useropt_orig=$ac_useropt
1767 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1768 case $ac_user_opts in
1770 "with_$ac_useropt"
1771 "*) ;;
1772 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1773 ac_unrecognized_sep=', ';;
1774 esac
1775 eval with_$ac_useropt=\$ac_optarg ;;
1777 -without-* | --without-*)
1778 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1779 # Reject names that are not valid shell variable names.
1780 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1781 as_fn_error $? "invalid package name: $ac_useropt"
1782 ac_useropt_orig=$ac_useropt
1783 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1784 case $ac_user_opts in
1786 "with_$ac_useropt"
1787 "*) ;;
1788 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1789 ac_unrecognized_sep=', ';;
1790 esac
1791 eval with_$ac_useropt=no ;;
1793 --x)
1794 # Obsolete; use --with-x.
1795 with_x=yes ;;
1797 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1798 | --x-incl | --x-inc | --x-in | --x-i)
1799 ac_prev=x_includes ;;
1800 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1801 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1802 x_includes=$ac_optarg ;;
1804 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1805 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1806 ac_prev=x_libraries ;;
1807 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1808 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1809 x_libraries=$ac_optarg ;;
1811 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1812 Try \`$0 --help' for more information"
1815 *=*)
1816 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1817 # Reject names that are not valid shell variable names.
1818 case $ac_envvar in #(
1819 '' | [0-9]* | *[!_$as_cr_alnum]* )
1820 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1821 esac
1822 eval $ac_envvar=\$ac_optarg
1823 export $ac_envvar ;;
1826 # FIXME: should be removed in autoconf 3.0.
1827 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1828 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1829 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1830 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1833 esac
1834 done
1836 if test -n "$ac_prev"; then
1837 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1838 as_fn_error $? "missing argument to $ac_option"
1841 if test -n "$ac_unrecognized_opts"; then
1842 case $enable_option_checking in
1843 no) ;;
1844 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1845 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1846 esac
1849 # Check all directory arguments for consistency.
1850 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1851 datadir sysconfdir sharedstatedir localstatedir includedir \
1852 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1853 libdir localedir mandir
1855 eval ac_val=\$$ac_var
1856 # Remove trailing slashes.
1857 case $ac_val in
1858 */ )
1859 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1860 eval $ac_var=\$ac_val;;
1861 esac
1862 # Be sure to have absolute directory names.
1863 case $ac_val in
1864 [\\/$]* | ?:[\\/]* ) continue;;
1865 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1866 esac
1867 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1868 done
1870 # There might be people who depend on the old broken behavior: `$host'
1871 # used to hold the argument of --host etc.
1872 # FIXME: To remove some day.
1873 build=$build_alias
1874 host=$host_alias
1875 target=$target_alias
1877 # FIXME: To remove some day.
1878 if test "x$host_alias" != x; then
1879 if test "x$build_alias" = x; then
1880 cross_compiling=maybe
1881 elif test "x$build_alias" != "x$host_alias"; then
1882 cross_compiling=yes
1886 ac_tool_prefix=
1887 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1889 test "$silent" = yes && exec 6>/dev/null
1892 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1893 ac_ls_di=`ls -di .` &&
1894 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1895 as_fn_error $? "working directory cannot be determined"
1896 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1897 as_fn_error $? "pwd does not report name of working directory"
1900 # Find the source files, if location was not specified.
1901 if test -z "$srcdir"; then
1902 ac_srcdir_defaulted=yes
1903 # Try the directory containing this script, then the parent directory.
1904 ac_confdir=`$as_dirname -- "$as_myself" ||
1905 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1906 X"$as_myself" : 'X\(//\)[^/]' \| \
1907 X"$as_myself" : 'X\(//\)$' \| \
1908 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1909 $as_echo X"$as_myself" |
1910 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1911 s//\1/
1914 /^X\(\/\/\)[^/].*/{
1915 s//\1/
1918 /^X\(\/\/\)$/{
1919 s//\1/
1922 /^X\(\/\).*/{
1923 s//\1/
1926 s/.*/./; q'`
1927 srcdir=$ac_confdir
1928 if test ! -r "$srcdir/$ac_unique_file"; then
1929 srcdir=..
1931 else
1932 ac_srcdir_defaulted=no
1934 if test ! -r "$srcdir/$ac_unique_file"; then
1935 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1936 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1938 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1939 ac_abs_confdir=`(
1940 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1941 pwd)`
1942 # When building in place, set srcdir=.
1943 if test "$ac_abs_confdir" = "$ac_pwd"; then
1944 srcdir=.
1946 # Remove unnecessary trailing slashes from srcdir.
1947 # Double slashes in file names in object file debugging info
1948 # mess up M-x gdb in Emacs.
1949 case $srcdir in
1950 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1951 esac
1952 for ac_var in $ac_precious_vars; do
1953 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1954 eval ac_env_${ac_var}_value=\$${ac_var}
1955 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1956 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1957 done
1960 # Report the --help message.
1962 if test "$ac_init_help" = "long"; then
1963 # Omit some internal or obsolete options to make the list less imposing.
1964 # This message is too long to be a string in the A/UX 3.1 sh.
1965 cat <<_ACEOF
1966 \`configure' configures Wine 1.7.12 to adapt to many kinds of systems.
1968 Usage: $0 [OPTION]... [VAR=VALUE]...
1970 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1971 VAR=VALUE. See below for descriptions of some of the useful variables.
1973 Defaults for the options are specified in brackets.
1975 Configuration:
1976 -h, --help display this help and exit
1977 --help=short display options specific to this package
1978 --help=recursive display the short help of all the included packages
1979 -V, --version display version information and exit
1980 -q, --quiet, --silent do not print \`checking ...' messages
1981 --cache-file=FILE cache test results in FILE [disabled]
1982 -C, --config-cache alias for \`--cache-file=config.cache'
1983 -n, --no-create do not create output files
1984 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1986 Installation directories:
1987 --prefix=PREFIX install architecture-independent files in PREFIX
1988 [$ac_default_prefix]
1989 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1990 [PREFIX]
1992 By default, \`make install' will install all the files in
1993 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1994 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1995 for instance \`--prefix=\$HOME'.
1997 For better control, use the options below.
1999 Fine tuning of the installation directories:
2000 --bindir=DIR user executables [EPREFIX/bin]
2001 --sbindir=DIR system admin executables [EPREFIX/sbin]
2002 --libexecdir=DIR program executables [EPREFIX/libexec]
2003 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2004 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2005 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2006 --libdir=DIR object code libraries [EPREFIX/lib]
2007 --includedir=DIR C header files [PREFIX/include]
2008 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2009 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2010 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2011 --infodir=DIR info documentation [DATAROOTDIR/info]
2012 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2013 --mandir=DIR man documentation [DATAROOTDIR/man]
2014 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2015 --htmldir=DIR html documentation [DOCDIR]
2016 --dvidir=DIR dvi documentation [DOCDIR]
2017 --pdfdir=DIR pdf documentation [DOCDIR]
2018 --psdir=DIR ps documentation [DOCDIR]
2019 _ACEOF
2021 cat <<\_ACEOF
2023 X features:
2024 --x-includes=DIR X include files are in DIR
2025 --x-libraries=DIR X library files are in DIR
2027 System types:
2028 --build=BUILD configure for building on BUILD [guessed]
2029 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2030 _ACEOF
2033 if test -n "$ac_init_help"; then
2034 case $ac_init_help in
2035 short | recursive ) echo "Configuration of Wine 1.7.12:";;
2036 esac
2037 cat <<\_ACEOF
2039 Optional Features:
2040 --disable-option-checking ignore unrecognized --enable/--with options
2041 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2042 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2043 --disable-win16 do not include Win16 support
2044 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2045 binaries)
2046 --disable-tests do not build the regression tests
2047 --enable-maintainer-mode
2048 enable maintainer-specific build rules
2049 --disable-largefile omit support for large files
2051 Optional Packages:
2052 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2053 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2054 --without-alsa do not use the Alsa sound support
2055 --without-capi do not use CAPI (ISDN support)
2056 --without-cms do not use CMS (color management support)
2057 --without-coreaudio do not use the CoreAudio sound support
2058 --without-cups do not use CUPS
2059 --without-curses do not use (n)curses
2060 --without-dbus do not use DBus (dynamic device support)
2061 --without-fontconfig do not use fontconfig
2062 --without-freetype do not use the FreeType library
2063 --without-gettext do not use gettext
2064 --with-gettextpo use the GetTextPO library to rebuild po files
2065 --without-gphoto do not use gphoto (Digital Camera support)
2066 --without-glu do not use the GLU library
2067 --without-gnutls do not use GnuTLS (schannel support)
2068 --without-gsm do not use libgsm (GSM 06.10 codec support)
2069 --without-gstreamer do not use GStreamer (codecs support)
2070 --without-hal do not use HAL (dynamic device support)
2071 --without-jpeg do not use JPEG
2072 --without-ldap do not use LDAP
2073 --without-mpg123 do not use the mpg123 library
2074 --without-netapi do not use the Samba NetAPI library
2075 --without-openal do not use OpenAL
2076 --without-opencl do not use OpenCL
2077 --without-opengl do not use OpenGL
2078 --without-osmesa do not use the OSMesa library
2079 --without-oss do not use the OSS sound support
2080 --without-png do not use PNG
2081 --without-pthread do not use the pthread library
2082 --without-sane do not use SANE (scanner support)
2083 --without-tiff do not use TIFF
2084 --without-v4l do not use v4l1 (v4l support)
2085 --without-xcomposite do not use the Xcomposite extension
2086 --without-xcursor do not use the Xcursor extension
2087 --without-xinerama do not use Xinerama (multi-monitor support)
2088 --without-xinput do not use the Xinput extension
2089 --without-xinput2 do not use the Xinput 2 extension
2090 --without-xml do not use XML
2091 --without-xrandr do not use Xrandr (resolution changes)
2092 --without-xrender do not use the Xrender extension
2093 --without-xshape do not use the Xshape extension
2094 --without-xshm do not use XShm (shared memory extension)
2095 --without-xslt do not use XSLT
2096 --without-xxf86vm do not use XFree video mode extension
2097 --without-zlib do not use Zlib (data compression)
2098 --with-wine-tools=DIR use Wine tools from directory DIR
2099 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2100 --with-x use the X Window System
2102 Some influential environment variables:
2103 CC C compiler command
2104 CFLAGS C compiler flags
2105 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2106 nonstandard directory <lib dir>
2107 LIBS libraries to pass to the linker, e.g. -l<library>
2108 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2109 you have headers in a nonstandard directory <include dir>
2110 CXX C++ compiler command
2111 CXXFLAGS C++ compiler flags
2112 CPP C preprocessor
2113 XMKMF Path to xmkmf, Makefile generator for X Window System
2114 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2115 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2116 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2117 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2118 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2119 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2120 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2121 HAL_LIBS Linker flags for hal, overriding pkg-config
2122 GNUTLS_CFLAGS
2123 C compiler flags for gnutls, overriding pkg-config
2124 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2125 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2126 SANE_LIBS Linker flags for libsane, overriding pkg-config
2127 GPHOTO2_CFLAGS
2128 C compiler flags for libgphoto2, overriding pkg-config
2129 GPHOTO2_LIBS
2130 Linker flags for libgphoto2, overriding pkg-config
2131 GPHOTO2_PORT_CFLAGS
2132 C compiler flags for libgphoto2_port, overriding pkg-config
2133 GPHOTO2_PORT_LIBS
2134 Linker flags for libgphoto2_port, overriding pkg-config
2135 LCMS2_CFLAGS
2136 C compiler flags for lcms2, overriding pkg-config
2137 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2138 FREETYPE_CFLAGS
2139 C compiler flags for freetype2, overriding pkg-config
2140 FREETYPE_LIBS
2141 Linker flags for freetype2, overriding pkg-config
2142 GSTREAMER_CFLAGS
2143 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2144 GSTREAMER_LIBS
2145 Linker flags for gstreamer-app-0.10, overriding pkg-config
2146 CAPI20_CFLAGS
2147 C compiler flags for capi20, overriding pkg-config
2148 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2149 FONTCONFIG_CFLAGS
2150 C compiler flags for fontconfig, overriding pkg-config
2151 FONTCONFIG_LIBS
2152 Linker flags for fontconfig, overriding pkg-config
2153 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2154 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2155 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2156 PNG_LIBS Linker flags for libpng, overriding pkg-config
2157 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2158 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2159 MPG123_CFLAGS
2160 C compiler flags for libmpg123, overriding pkg-config
2161 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2163 Use these variables to override the choices made by `configure' or to help
2164 it to find libraries and programs with nonstandard names/locations.
2166 Report bugs to <wine-devel@winehq.org>.
2167 Wine home page: <http://www.winehq.org>.
2168 _ACEOF
2169 ac_status=$?
2172 if test "$ac_init_help" = "recursive"; then
2173 # If there are subdirs, report their specific --help.
2174 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2175 test -d "$ac_dir" ||
2176 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2177 continue
2178 ac_builddir=.
2180 case "$ac_dir" in
2181 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2183 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2184 # A ".." for each directory in $ac_dir_suffix.
2185 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2186 case $ac_top_builddir_sub in
2187 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2188 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2189 esac ;;
2190 esac
2191 ac_abs_top_builddir=$ac_pwd
2192 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2193 # for backward compatibility:
2194 ac_top_builddir=$ac_top_build_prefix
2196 case $srcdir in
2197 .) # We are building in place.
2198 ac_srcdir=.
2199 ac_top_srcdir=$ac_top_builddir_sub
2200 ac_abs_top_srcdir=$ac_pwd ;;
2201 [\\/]* | ?:[\\/]* ) # Absolute name.
2202 ac_srcdir=$srcdir$ac_dir_suffix;
2203 ac_top_srcdir=$srcdir
2204 ac_abs_top_srcdir=$srcdir ;;
2205 *) # Relative name.
2206 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2207 ac_top_srcdir=$ac_top_build_prefix$srcdir
2208 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2209 esac
2210 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2212 cd "$ac_dir" || { ac_status=$?; continue; }
2213 # Check for guested configure.
2214 if test -f "$ac_srcdir/configure.gnu"; then
2215 echo &&
2216 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2217 elif test -f "$ac_srcdir/configure"; then
2218 echo &&
2219 $SHELL "$ac_srcdir/configure" --help=recursive
2220 else
2221 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2222 fi || ac_status=$?
2223 cd "$ac_pwd" || { ac_status=$?; break; }
2224 done
2227 test -n "$ac_init_help" && exit $ac_status
2228 if $ac_init_version; then
2229 cat <<\_ACEOF
2230 Wine configure 1.7.12
2231 generated by GNU Autoconf 2.69
2233 Copyright (C) 2012 Free Software Foundation, Inc.
2234 This configure script is free software; the Free Software Foundation
2235 gives unlimited permission to copy, distribute and modify it.
2236 _ACEOF
2237 exit
2240 ## ------------------------ ##
2241 ## Autoconf initialization. ##
2242 ## ------------------------ ##
2244 # ac_fn_c_try_compile LINENO
2245 # --------------------------
2246 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2247 ac_fn_c_try_compile ()
2249 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2250 rm -f conftest.$ac_objext
2251 if { { ac_try="$ac_compile"
2252 case "(($ac_try" in
2253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2254 *) ac_try_echo=$ac_try;;
2255 esac
2256 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2257 $as_echo "$ac_try_echo"; } >&5
2258 (eval "$ac_compile") 2>conftest.err
2259 ac_status=$?
2260 if test -s conftest.err; then
2261 grep -v '^ *+' conftest.err >conftest.er1
2262 cat conftest.er1 >&5
2263 mv -f conftest.er1 conftest.err
2265 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2266 test $ac_status = 0; } && {
2267 test -z "$ac_c_werror_flag" ||
2268 test ! -s conftest.err
2269 } && test -s conftest.$ac_objext; then :
2270 ac_retval=0
2271 else
2272 $as_echo "$as_me: failed program was:" >&5
2273 sed 's/^/| /' conftest.$ac_ext >&5
2275 ac_retval=1
2277 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2278 as_fn_set_status $ac_retval
2280 } # ac_fn_c_try_compile
2282 # ac_fn_cxx_try_compile LINENO
2283 # ----------------------------
2284 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2285 ac_fn_cxx_try_compile ()
2287 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2288 rm -f conftest.$ac_objext
2289 if { { ac_try="$ac_compile"
2290 case "(($ac_try" in
2291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2292 *) ac_try_echo=$ac_try;;
2293 esac
2294 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2295 $as_echo "$ac_try_echo"; } >&5
2296 (eval "$ac_compile") 2>conftest.err
2297 ac_status=$?
2298 if test -s conftest.err; then
2299 grep -v '^ *+' conftest.err >conftest.er1
2300 cat conftest.er1 >&5
2301 mv -f conftest.er1 conftest.err
2303 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2304 test $ac_status = 0; } && {
2305 test -z "$ac_cxx_werror_flag" ||
2306 test ! -s conftest.err
2307 } && test -s conftest.$ac_objext; then :
2308 ac_retval=0
2309 else
2310 $as_echo "$as_me: failed program was:" >&5
2311 sed 's/^/| /' conftest.$ac_ext >&5
2313 ac_retval=1
2315 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2316 as_fn_set_status $ac_retval
2318 } # ac_fn_cxx_try_compile
2320 # ac_fn_c_try_link LINENO
2321 # -----------------------
2322 # Try to link conftest.$ac_ext, and return whether this succeeded.
2323 ac_fn_c_try_link ()
2325 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2326 rm -f conftest.$ac_objext conftest$ac_exeext
2327 if { { ac_try="$ac_link"
2328 case "(($ac_try" in
2329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2330 *) ac_try_echo=$ac_try;;
2331 esac
2332 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2333 $as_echo "$ac_try_echo"; } >&5
2334 (eval "$ac_link") 2>conftest.err
2335 ac_status=$?
2336 if test -s conftest.err; then
2337 grep -v '^ *+' conftest.err >conftest.er1
2338 cat conftest.er1 >&5
2339 mv -f conftest.er1 conftest.err
2341 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2342 test $ac_status = 0; } && {
2343 test -z "$ac_c_werror_flag" ||
2344 test ! -s conftest.err
2345 } && test -s conftest$ac_exeext && {
2346 test "$cross_compiling" = yes ||
2347 test -x conftest$ac_exeext
2348 }; then :
2349 ac_retval=0
2350 else
2351 $as_echo "$as_me: failed program was:" >&5
2352 sed 's/^/| /' conftest.$ac_ext >&5
2354 ac_retval=1
2356 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2357 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2358 # interfere with the next link command; also delete a directory that is
2359 # left behind by Apple's compiler. We do this before executing the actions.
2360 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2361 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2362 as_fn_set_status $ac_retval
2364 } # ac_fn_c_try_link
2366 # ac_fn_c_try_cpp LINENO
2367 # ----------------------
2368 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2369 ac_fn_c_try_cpp ()
2371 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2372 if { { ac_try="$ac_cpp conftest.$ac_ext"
2373 case "(($ac_try" in
2374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2375 *) ac_try_echo=$ac_try;;
2376 esac
2377 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2378 $as_echo "$ac_try_echo"; } >&5
2379 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2380 ac_status=$?
2381 if test -s conftest.err; then
2382 grep -v '^ *+' conftest.err >conftest.er1
2383 cat conftest.er1 >&5
2384 mv -f conftest.er1 conftest.err
2386 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2387 test $ac_status = 0; } > conftest.i && {
2388 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2389 test ! -s conftest.err
2390 }; then :
2391 ac_retval=0
2392 else
2393 $as_echo "$as_me: failed program was:" >&5
2394 sed 's/^/| /' conftest.$ac_ext >&5
2396 ac_retval=1
2398 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2399 as_fn_set_status $ac_retval
2401 } # ac_fn_c_try_cpp
2403 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2404 # -------------------------------------------------------
2405 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2406 # the include files in INCLUDES and setting the cache variable VAR
2407 # accordingly.
2408 ac_fn_c_check_header_mongrel ()
2410 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2411 if eval \${$3+:} false; then :
2412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2413 $as_echo_n "checking for $2... " >&6; }
2414 if eval \${$3+:} false; then :
2415 $as_echo_n "(cached) " >&6
2417 eval ac_res=\$$3
2418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2419 $as_echo "$ac_res" >&6; }
2420 else
2421 # Is the header compilable?
2422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2423 $as_echo_n "checking $2 usability... " >&6; }
2424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2425 /* end confdefs.h. */
2427 #include <$2>
2428 _ACEOF
2429 if ac_fn_c_try_compile "$LINENO"; then :
2430 ac_header_compiler=yes
2431 else
2432 ac_header_compiler=no
2434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2436 $as_echo "$ac_header_compiler" >&6; }
2438 # Is the header present?
2439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2440 $as_echo_n "checking $2 presence... " >&6; }
2441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2442 /* end confdefs.h. */
2443 #include <$2>
2444 _ACEOF
2445 if ac_fn_c_try_cpp "$LINENO"; then :
2446 ac_header_preproc=yes
2447 else
2448 ac_header_preproc=no
2450 rm -f conftest.err conftest.i conftest.$ac_ext
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2452 $as_echo "$ac_header_preproc" >&6; }
2454 # So? What about this header?
2455 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2456 yes:no: )
2457 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2458 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2460 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2462 no:yes:* )
2463 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2464 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2466 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2468 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2470 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2472 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2473 ( $as_echo "## ------------------------------------ ##
2474 ## Report this to wine-devel@winehq.org ##
2475 ## ------------------------------------ ##"
2476 ) | sed "s/^/$as_me: WARNING: /" >&2
2478 esac
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2480 $as_echo_n "checking for $2... " >&6; }
2481 if eval \${$3+:} false; then :
2482 $as_echo_n "(cached) " >&6
2483 else
2484 eval "$3=\$ac_header_compiler"
2486 eval ac_res=\$$3
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2488 $as_echo "$ac_res" >&6; }
2490 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2492 } # ac_fn_c_check_header_mongrel
2494 # ac_fn_c_try_run LINENO
2495 # ----------------------
2496 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2497 # that executables *can* be run.
2498 ac_fn_c_try_run ()
2500 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2501 if { { ac_try="$ac_link"
2502 case "(($ac_try" in
2503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2504 *) ac_try_echo=$ac_try;;
2505 esac
2506 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2507 $as_echo "$ac_try_echo"; } >&5
2508 (eval "$ac_link") 2>&5
2509 ac_status=$?
2510 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2511 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2512 { { case "(($ac_try" in
2513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2514 *) ac_try_echo=$ac_try;;
2515 esac
2516 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2517 $as_echo "$ac_try_echo"; } >&5
2518 (eval "$ac_try") 2>&5
2519 ac_status=$?
2520 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2521 test $ac_status = 0; }; }; then :
2522 ac_retval=0
2523 else
2524 $as_echo "$as_me: program exited with status $ac_status" >&5
2525 $as_echo "$as_me: failed program was:" >&5
2526 sed 's/^/| /' conftest.$ac_ext >&5
2528 ac_retval=$ac_status
2530 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2531 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2532 as_fn_set_status $ac_retval
2534 } # ac_fn_c_try_run
2536 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2537 # -------------------------------------------------------
2538 # Tests whether HEADER exists and can be compiled using the include files in
2539 # INCLUDES, setting the cache variable VAR accordingly.
2540 ac_fn_c_check_header_compile ()
2542 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2544 $as_echo_n "checking for $2... " >&6; }
2545 if eval \${$3+:} false; then :
2546 $as_echo_n "(cached) " >&6
2547 else
2548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2549 /* end confdefs.h. */
2551 #include <$2>
2552 _ACEOF
2553 if ac_fn_c_try_compile "$LINENO"; then :
2554 eval "$3=yes"
2555 else
2556 eval "$3=no"
2558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2560 eval ac_res=\$$3
2561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2562 $as_echo "$ac_res" >&6; }
2563 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2565 } # ac_fn_c_check_header_compile
2567 # ac_fn_c_check_func LINENO FUNC VAR
2568 # ----------------------------------
2569 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2570 ac_fn_c_check_func ()
2572 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2574 $as_echo_n "checking for $2... " >&6; }
2575 if eval \${$3+:} false; then :
2576 $as_echo_n "(cached) " >&6
2577 else
2578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2579 /* end confdefs.h. */
2580 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2581 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2582 #define $2 innocuous_$2
2584 /* System header to define __stub macros and hopefully few prototypes,
2585 which can conflict with char $2 (); below.
2586 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2587 <limits.h> exists even on freestanding compilers. */
2589 #ifdef __STDC__
2590 # include <limits.h>
2591 #else
2592 # include <assert.h>
2593 #endif
2595 #undef $2
2597 /* Override any GCC internal prototype to avoid an error.
2598 Use char because int might match the return type of a GCC
2599 builtin and then its argument prototype would still apply. */
2600 #ifdef __cplusplus
2601 extern "C"
2602 #endif
2603 char $2 ();
2604 /* The GNU C library defines this for functions which it implements
2605 to always fail with ENOSYS. Some functions are actually named
2606 something starting with __ and the normal name is an alias. */
2607 #if defined __stub_$2 || defined __stub___$2
2608 choke me
2609 #endif
2612 main ()
2614 return $2 ();
2616 return 0;
2618 _ACEOF
2619 if ac_fn_c_try_link "$LINENO"; then :
2620 eval "$3=yes"
2621 else
2622 eval "$3=no"
2624 rm -f core conftest.err conftest.$ac_objext \
2625 conftest$ac_exeext conftest.$ac_ext
2627 eval ac_res=\$$3
2628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2629 $as_echo "$ac_res" >&6; }
2630 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2632 } # ac_fn_c_check_func
2634 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2635 # ----------------------------------------------------
2636 # Tries to find if the field MEMBER exists in type AGGR, after including
2637 # INCLUDES, setting cache variable VAR accordingly.
2638 ac_fn_c_check_member ()
2640 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2642 $as_echo_n "checking for $2.$3... " >&6; }
2643 if eval \${$4+:} false; then :
2644 $as_echo_n "(cached) " >&6
2645 else
2646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2647 /* end confdefs.h. */
2650 main ()
2652 static $2 ac_aggr;
2653 if (ac_aggr.$3)
2654 return 0;
2656 return 0;
2658 _ACEOF
2659 if ac_fn_c_try_compile "$LINENO"; then :
2660 eval "$4=yes"
2661 else
2662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2663 /* end confdefs.h. */
2666 main ()
2668 static $2 ac_aggr;
2669 if (sizeof ac_aggr.$3)
2670 return 0;
2672 return 0;
2674 _ACEOF
2675 if ac_fn_c_try_compile "$LINENO"; then :
2676 eval "$4=yes"
2677 else
2678 eval "$4=no"
2680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2684 eval ac_res=\$$4
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2686 $as_echo "$ac_res" >&6; }
2687 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2689 } # ac_fn_c_check_member
2691 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2692 # -------------------------------------------
2693 # Tests whether TYPE exists after having included INCLUDES, setting cache
2694 # variable VAR accordingly.
2695 ac_fn_c_check_type ()
2697 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2699 $as_echo_n "checking for $2... " >&6; }
2700 if eval \${$3+:} false; then :
2701 $as_echo_n "(cached) " >&6
2702 else
2703 eval "$3=no"
2704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2705 /* end confdefs.h. */
2708 main ()
2710 if (sizeof ($2))
2711 return 0;
2713 return 0;
2715 _ACEOF
2716 if ac_fn_c_try_compile "$LINENO"; then :
2717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2718 /* end confdefs.h. */
2721 main ()
2723 if (sizeof (($2)))
2724 return 0;
2726 return 0;
2728 _ACEOF
2729 if ac_fn_c_try_compile "$LINENO"; then :
2731 else
2732 eval "$3=yes"
2734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2738 eval ac_res=\$$3
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2740 $as_echo "$ac_res" >&6; }
2741 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2743 } # ac_fn_c_check_type
2744 cat >config.log <<_ACEOF
2745 This file contains any messages produced by compilers while
2746 running configure, to aid debugging if configure makes a mistake.
2748 It was created by Wine $as_me 1.7.12, which was
2749 generated by GNU Autoconf 2.69. Invocation command line was
2751 $ $0 $@
2753 _ACEOF
2754 exec 5>>config.log
2756 cat <<_ASUNAME
2757 ## --------- ##
2758 ## Platform. ##
2759 ## --------- ##
2761 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2762 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2763 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2764 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2765 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2767 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2768 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2770 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2771 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2772 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2773 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2774 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2775 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2776 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2778 _ASUNAME
2780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2781 for as_dir in $PATH
2783 IFS=$as_save_IFS
2784 test -z "$as_dir" && as_dir=.
2785 $as_echo "PATH: $as_dir"
2786 done
2787 IFS=$as_save_IFS
2789 } >&5
2791 cat >&5 <<_ACEOF
2794 ## ----------- ##
2795 ## Core tests. ##
2796 ## ----------- ##
2798 _ACEOF
2801 # Keep a trace of the command line.
2802 # Strip out --no-create and --no-recursion so they do not pile up.
2803 # Strip out --silent because we don't want to record it for future runs.
2804 # Also quote any args containing shell meta-characters.
2805 # Make two passes to allow for proper duplicate-argument suppression.
2806 ac_configure_args=
2807 ac_configure_args0=
2808 ac_configure_args1=
2809 ac_must_keep_next=false
2810 for ac_pass in 1 2
2812 for ac_arg
2814 case $ac_arg in
2815 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2816 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2817 | -silent | --silent | --silen | --sile | --sil)
2818 continue ;;
2819 *\'*)
2820 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2821 esac
2822 case $ac_pass in
2823 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2825 as_fn_append ac_configure_args1 " '$ac_arg'"
2826 if test $ac_must_keep_next = true; then
2827 ac_must_keep_next=false # Got value, back to normal.
2828 else
2829 case $ac_arg in
2830 *=* | --config-cache | -C | -disable-* | --disable-* \
2831 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2832 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2833 | -with-* | --with-* | -without-* | --without-* | --x)
2834 case "$ac_configure_args0 " in
2835 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2836 esac
2838 -* ) ac_must_keep_next=true ;;
2839 esac
2841 as_fn_append ac_configure_args " '$ac_arg'"
2843 esac
2844 done
2845 done
2846 { ac_configure_args0=; unset ac_configure_args0;}
2847 { ac_configure_args1=; unset ac_configure_args1;}
2849 # When interrupted or exit'd, cleanup temporary files, and complete
2850 # config.log. We remove comments because anyway the quotes in there
2851 # would cause problems or look ugly.
2852 # WARNING: Use '\'' to represent an apostrophe within the trap.
2853 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2854 trap 'exit_status=$?
2855 # Save into config.log some information that might help in debugging.
2857 echo
2859 $as_echo "## ---------------- ##
2860 ## Cache variables. ##
2861 ## ---------------- ##"
2862 echo
2863 # The following way of writing the cache mishandles newlines in values,
2865 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2866 eval ac_val=\$$ac_var
2867 case $ac_val in #(
2868 *${as_nl}*)
2869 case $ac_var in #(
2870 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2871 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2872 esac
2873 case $ac_var in #(
2874 _ | IFS | as_nl) ;; #(
2875 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2876 *) { eval $ac_var=; unset $ac_var;} ;;
2877 esac ;;
2878 esac
2879 done
2880 (set) 2>&1 |
2881 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2882 *${as_nl}ac_space=\ *)
2883 sed -n \
2884 "s/'\''/'\''\\\\'\'''\''/g;
2885 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2886 ;; #(
2888 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2890 esac |
2891 sort
2893 echo
2895 $as_echo "## ----------------- ##
2896 ## Output variables. ##
2897 ## ----------------- ##"
2898 echo
2899 for ac_var in $ac_subst_vars
2901 eval ac_val=\$$ac_var
2902 case $ac_val in
2903 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2904 esac
2905 $as_echo "$ac_var='\''$ac_val'\''"
2906 done | sort
2907 echo
2909 if test -n "$ac_subst_files"; then
2910 $as_echo "## ------------------- ##
2911 ## File substitutions. ##
2912 ## ------------------- ##"
2913 echo
2914 for ac_var in $ac_subst_files
2916 eval ac_val=\$$ac_var
2917 case $ac_val in
2918 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2919 esac
2920 $as_echo "$ac_var='\''$ac_val'\''"
2921 done | sort
2922 echo
2925 if test -s confdefs.h; then
2926 $as_echo "## ----------- ##
2927 ## confdefs.h. ##
2928 ## ----------- ##"
2929 echo
2930 cat confdefs.h
2931 echo
2933 test "$ac_signal" != 0 &&
2934 $as_echo "$as_me: caught signal $ac_signal"
2935 $as_echo "$as_me: exit $exit_status"
2936 } >&5
2937 rm -f core *.core core.conftest.* &&
2938 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2939 exit $exit_status
2941 for ac_signal in 1 2 13 15; do
2942 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2943 done
2944 ac_signal=0
2946 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2947 rm -f -r conftest* confdefs.h
2949 $as_echo "/* confdefs.h */" > confdefs.h
2951 # Predefined preprocessor variables.
2953 cat >>confdefs.h <<_ACEOF
2954 #define PACKAGE_NAME "$PACKAGE_NAME"
2955 _ACEOF
2957 cat >>confdefs.h <<_ACEOF
2958 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2959 _ACEOF
2961 cat >>confdefs.h <<_ACEOF
2962 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2963 _ACEOF
2965 cat >>confdefs.h <<_ACEOF
2966 #define PACKAGE_STRING "$PACKAGE_STRING"
2967 _ACEOF
2969 cat >>confdefs.h <<_ACEOF
2970 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2971 _ACEOF
2973 cat >>confdefs.h <<_ACEOF
2974 #define PACKAGE_URL "$PACKAGE_URL"
2975 _ACEOF
2978 # Let the site file select an alternate cache file if it wants to.
2979 # Prefer an explicitly selected file to automatically selected ones.
2980 ac_site_file1=NONE
2981 ac_site_file2=NONE
2982 if test -n "$CONFIG_SITE"; then
2983 # We do not want a PATH search for config.site.
2984 case $CONFIG_SITE in #((
2985 -*) ac_site_file1=./$CONFIG_SITE;;
2986 */*) ac_site_file1=$CONFIG_SITE;;
2987 *) ac_site_file1=./$CONFIG_SITE;;
2988 esac
2989 elif test "x$prefix" != xNONE; then
2990 ac_site_file1=$prefix/share/config.site
2991 ac_site_file2=$prefix/etc/config.site
2992 else
2993 ac_site_file1=$ac_default_prefix/share/config.site
2994 ac_site_file2=$ac_default_prefix/etc/config.site
2996 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2998 test "x$ac_site_file" = xNONE && continue
2999 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3001 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3002 sed 's/^/| /' "$ac_site_file" >&5
3003 . "$ac_site_file" \
3004 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3005 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3006 as_fn_error $? "failed to load site script $ac_site_file
3007 See \`config.log' for more details" "$LINENO" 5; }
3009 done
3011 if test -r "$cache_file"; then
3012 # Some versions of bash will fail to source /dev/null (special files
3013 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3014 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3015 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3016 $as_echo "$as_me: loading cache $cache_file" >&6;}
3017 case $cache_file in
3018 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3019 *) . "./$cache_file";;
3020 esac
3022 else
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3024 $as_echo "$as_me: creating cache $cache_file" >&6;}
3025 >$cache_file
3028 # Check that the precious variables saved in the cache have kept the same
3029 # value.
3030 ac_cache_corrupted=false
3031 for ac_var in $ac_precious_vars; do
3032 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3033 eval ac_new_set=\$ac_env_${ac_var}_set
3034 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3035 eval ac_new_val=\$ac_env_${ac_var}_value
3036 case $ac_old_set,$ac_new_set in
3037 set,)
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3039 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3040 ac_cache_corrupted=: ;;
3041 ,set)
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3043 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3044 ac_cache_corrupted=: ;;
3045 ,);;
3047 if test "x$ac_old_val" != "x$ac_new_val"; then
3048 # differences in whitespace do not lead to failure.
3049 ac_old_val_w=`echo x $ac_old_val`
3050 ac_new_val_w=`echo x $ac_new_val`
3051 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3053 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3054 ac_cache_corrupted=:
3055 else
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3057 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3058 eval $ac_var=\$ac_old_val
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3061 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3063 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3064 fi;;
3065 esac
3066 # Pass precious variables to config.status.
3067 if test "$ac_new_set" = set; then
3068 case $ac_new_val in
3069 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3070 *) ac_arg=$ac_var=$ac_new_val ;;
3071 esac
3072 case " $ac_configure_args " in
3073 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3074 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3075 esac
3077 done
3078 if $ac_cache_corrupted; then
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3080 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3082 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3083 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3085 ## -------------------- ##
3086 ## Main body of script. ##
3087 ## -------------------- ##
3089 ac_ext=c
3090 ac_cpp='$CPP $CPPFLAGS'
3091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3097 ac_config_headers="$ac_config_headers include/config.h"
3099 ac_aux_dir=
3100 for ac_dir in tools "$srcdir"/tools; do
3101 if test -f "$ac_dir/install-sh"; then
3102 ac_aux_dir=$ac_dir
3103 ac_install_sh="$ac_aux_dir/install-sh -c"
3104 break
3105 elif test -f "$ac_dir/install.sh"; then
3106 ac_aux_dir=$ac_dir
3107 ac_install_sh="$ac_aux_dir/install.sh -c"
3108 break
3109 elif test -f "$ac_dir/shtool"; then
3110 ac_aux_dir=$ac_dir
3111 ac_install_sh="$ac_aux_dir/shtool install -c"
3112 break
3114 done
3115 if test -z "$ac_aux_dir"; then
3116 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3119 # These three variables are undocumented and unsupported,
3120 # and are intended to be withdrawn in a future Autoconf release.
3121 # They can cause serious problems if a builder's source tree is in a directory
3122 # whose full name contains unusual characters.
3123 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3124 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3125 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3129 libwine_version="1.0"
3133 # Check whether --enable-win16 was given.
3134 if test "${enable_win16+set}" = set; then :
3135 enableval=$enable_win16;
3138 # Check whether --enable-win64 was given.
3139 if test "${enable_win64+set}" = set; then :
3140 enableval=$enable_win64;
3143 # Check whether --enable-tests was given.
3144 if test "${enable_tests+set}" = set; then :
3145 enableval=$enable_tests;
3148 # Check whether --enable-maintainer-mode was given.
3149 if test "${enable_maintainer_mode+set}" = set; then :
3150 enableval=$enable_maintainer_mode;
3155 # Check whether --with-alsa was given.
3156 if test "${with_alsa+set}" = set; then :
3157 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3161 # Check whether --with-capi was given.
3162 if test "${with_capi+set}" = set; then :
3163 withval=$with_capi;
3167 # Check whether --with-cms was given.
3168 if test "${with_cms+set}" = set; then :
3169 withval=$with_cms;
3173 # Check whether --with-coreaudio was given.
3174 if test "${with_coreaudio+set}" = set; then :
3175 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3179 # Check whether --with-cups was given.
3180 if test "${with_cups+set}" = set; then :
3181 withval=$with_cups;
3185 # Check whether --with-curses was given.
3186 if test "${with_curses+set}" = set; then :
3187 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3191 # Check whether --with-dbus was given.
3192 if test "${with_dbus+set}" = set; then :
3193 withval=$with_dbus;
3197 # Check whether --with-fontconfig was given.
3198 if test "${with_fontconfig+set}" = set; then :
3199 withval=$with_fontconfig;
3203 # Check whether --with-freetype was given.
3204 if test "${with_freetype+set}" = set; then :
3205 withval=$with_freetype;
3209 # Check whether --with-gettext was given.
3210 if test "${with_gettext+set}" = set; then :
3211 withval=$with_gettext;
3215 # Check whether --with-gettextpo was given.
3216 if test "${with_gettextpo+set}" = set; then :
3217 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3221 # Check whether --with-gphoto was given.
3222 if test "${with_gphoto+set}" = set; then :
3223 withval=$with_gphoto;
3227 # Check whether --with-glu was given.
3228 if test "${with_glu+set}" = set; then :
3229 withval=$with_glu;
3233 # Check whether --with-gnutls was given.
3234 if test "${with_gnutls+set}" = set; then :
3235 withval=$with_gnutls;
3239 # Check whether --with-gsm was given.
3240 if test "${with_gsm+set}" = set; then :
3241 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3245 # Check whether --with-gstreamer was given.
3246 if test "${with_gstreamer+set}" = set; then :
3247 withval=$with_gstreamer;
3251 # Check whether --with-hal was given.
3252 if test "${with_hal+set}" = set; then :
3253 withval=$with_hal;
3257 # Check whether --with-jpeg was given.
3258 if test "${with_jpeg+set}" = set; then :
3259 withval=$with_jpeg;
3263 # Check whether --with-ldap was given.
3264 if test "${with_ldap+set}" = set; then :
3265 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3269 # Check whether --with-mpg123 was given.
3270 if test "${with_mpg123+set}" = set; then :
3271 withval=$with_mpg123;
3275 # Check whether --with-netapi was given.
3276 if test "${with_netapi+set}" = set; then :
3277 withval=$with_netapi;
3281 # Check whether --with-openal was given.
3282 if test "${with_openal+set}" = set; then :
3283 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3287 # Check whether --with-opencl was given.
3288 if test "${with_opencl+set}" = set; then :
3289 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3293 # Check whether --with-opengl was given.
3294 if test "${with_opengl+set}" = set; then :
3295 withval=$with_opengl;
3299 # Check whether --with-osmesa was given.
3300 if test "${with_osmesa+set}" = set; then :
3301 withval=$with_osmesa;
3305 # Check whether --with-oss was given.
3306 if test "${with_oss+set}" = set; then :
3307 withval=$with_oss;
3311 # Check whether --with-png was given.
3312 if test "${with_png+set}" = set; then :
3313 withval=$with_png;
3317 # Check whether --with-pthread was given.
3318 if test "${with_pthread+set}" = set; then :
3319 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3323 # Check whether --with-sane was given.
3324 if test "${with_sane+set}" = set; then :
3325 withval=$with_sane;
3329 # Check whether --with-tiff was given.
3330 if test "${with_tiff+set}" = set; then :
3331 withval=$with_tiff;
3335 # Check whether --with-v4l was given.
3336 if test "${with_v4l+set}" = set; then :
3337 withval=$with_v4l;
3341 # Check whether --with-xcomposite was given.
3342 if test "${with_xcomposite+set}" = set; then :
3343 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3347 # Check whether --with-xcursor was given.
3348 if test "${with_xcursor+set}" = set; then :
3349 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3353 # Check whether --with-xinerama was given.
3354 if test "${with_xinerama+set}" = set; then :
3355 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3359 # Check whether --with-xinput was given.
3360 if test "${with_xinput+set}" = set; then :
3361 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3365 # Check whether --with-xinput2 was given.
3366 if test "${with_xinput2+set}" = set; then :
3367 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3371 # Check whether --with-xml was given.
3372 if test "${with_xml+set}" = set; then :
3373 withval=$with_xml;
3377 # Check whether --with-xrandr was given.
3378 if test "${with_xrandr+set}" = set; then :
3379 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3383 # Check whether --with-xrender was given.
3384 if test "${with_xrender+set}" = set; then :
3385 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3389 # Check whether --with-xshape was given.
3390 if test "${with_xshape+set}" = set; then :
3391 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3395 # Check whether --with-xshm was given.
3396 if test "${with_xshm+set}" = set; then :
3397 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3401 # Check whether --with-xslt was given.
3402 if test "${with_xslt+set}" = set; then :
3403 withval=$with_xslt;
3407 # Check whether --with-xxf86vm was given.
3408 if test "${with_xxf86vm+set}" = set; then :
3409 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
3413 # Check whether --with-zlib was given.
3414 if test "${with_zlib+set}" = set; then :
3415 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3420 # Check whether --with-wine-tools was given.
3421 if test "${with_wine_tools+set}" = set; then :
3422 withval=$with_wine_tools;
3426 # Check whether --with-wine64 was given.
3427 if test "${with_wine64+set}" = set; then :
3428 withval=$with_wine64;
3432 # Make sure we can run config.sub.
3433 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3434 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3437 $as_echo_n "checking build system type... " >&6; }
3438 if ${ac_cv_build+:} false; then :
3439 $as_echo_n "(cached) " >&6
3440 else
3441 ac_build_alias=$build_alias
3442 test "x$ac_build_alias" = x &&
3443 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3444 test "x$ac_build_alias" = x &&
3445 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3446 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3447 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3451 $as_echo "$ac_cv_build" >&6; }
3452 case $ac_cv_build in
3453 *-*-*) ;;
3454 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3455 esac
3456 build=$ac_cv_build
3457 ac_save_IFS=$IFS; IFS='-'
3458 set x $ac_cv_build
3459 shift
3460 build_cpu=$1
3461 build_vendor=$2
3462 shift; shift
3463 # Remember, the first character of IFS is used to create $*,
3464 # except with old shells:
3465 build_os=$*
3466 IFS=$ac_save_IFS
3467 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3471 $as_echo_n "checking host system type... " >&6; }
3472 if ${ac_cv_host+:} false; then :
3473 $as_echo_n "(cached) " >&6
3474 else
3475 if test "x$host_alias" = x; then
3476 ac_cv_host=$ac_cv_build
3477 else
3478 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3479 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3484 $as_echo "$ac_cv_host" >&6; }
3485 case $ac_cv_host in
3486 *-*-*) ;;
3487 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3488 esac
3489 host=$ac_cv_host
3490 ac_save_IFS=$IFS; IFS='-'
3491 set x $ac_cv_host
3492 shift
3493 host_cpu=$1
3494 host_vendor=$2
3495 shift; shift
3496 # Remember, the first character of IFS is used to create $*,
3497 # except with old shells:
3498 host_os=$*
3499 IFS=$ac_save_IFS
3500 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3504 case "$srcdir" in
3505 .) ;;
3506 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3507 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3508 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3509 fi ;;
3510 esac
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3514 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3515 set x ${MAKE-make}
3516 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3517 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3518 $as_echo_n "(cached) " >&6
3519 else
3520 cat >conftest.make <<\_ACEOF
3521 SHELL = /bin/sh
3522 all:
3523 @echo '@@@%%%=$(MAKE)=@@@%%%'
3524 _ACEOF
3525 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3526 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3527 *@@@%%%=?*=@@@%%%*)
3528 eval ac_cv_prog_make_${ac_make}_set=yes;;
3530 eval ac_cv_prog_make_${ac_make}_set=no;;
3531 esac
3532 rm -f conftest.make
3534 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3536 $as_echo "yes" >&6; }
3537 SET_MAKE=
3538 else
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3540 $as_echo "no" >&6; }
3541 SET_MAKE="MAKE=${MAKE-make}"
3544 ac_ext=c
3545 ac_cpp='$CPP $CPPFLAGS'
3546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3549 if test -n "$ac_tool_prefix"; then
3550 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3551 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3553 $as_echo_n "checking for $ac_word... " >&6; }
3554 if ${ac_cv_prog_CC+:} false; then :
3555 $as_echo_n "(cached) " >&6
3556 else
3557 if test -n "$CC"; then
3558 ac_cv_prog_CC="$CC" # Let the user override the test.
3559 else
3560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3561 for as_dir in $PATH
3563 IFS=$as_save_IFS
3564 test -z "$as_dir" && as_dir=.
3565 for ac_exec_ext in '' $ac_executable_extensions; do
3566 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3567 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3569 break 2
3571 done
3572 done
3573 IFS=$as_save_IFS
3577 CC=$ac_cv_prog_CC
3578 if test -n "$CC"; then
3579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3580 $as_echo "$CC" >&6; }
3581 else
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3583 $as_echo "no" >&6; }
3588 if test -z "$ac_cv_prog_CC"; then
3589 ac_ct_CC=$CC
3590 # Extract the first word of "gcc", so it can be a program name with args.
3591 set dummy gcc; ac_word=$2
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3593 $as_echo_n "checking for $ac_word... " >&6; }
3594 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3595 $as_echo_n "(cached) " >&6
3596 else
3597 if test -n "$ac_ct_CC"; then
3598 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3599 else
3600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3601 for as_dir in $PATH
3603 IFS=$as_save_IFS
3604 test -z "$as_dir" && as_dir=.
3605 for ac_exec_ext in '' $ac_executable_extensions; do
3606 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3607 ac_cv_prog_ac_ct_CC="gcc"
3608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3609 break 2
3611 done
3612 done
3613 IFS=$as_save_IFS
3617 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3618 if test -n "$ac_ct_CC"; then
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3620 $as_echo "$ac_ct_CC" >&6; }
3621 else
3622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3623 $as_echo "no" >&6; }
3626 if test "x$ac_ct_CC" = x; then
3627 CC=""
3628 else
3629 case $cross_compiling:$ac_tool_warned in
3630 yes:)
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3632 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3633 ac_tool_warned=yes ;;
3634 esac
3635 CC=$ac_ct_CC
3637 else
3638 CC="$ac_cv_prog_CC"
3641 if test -z "$CC"; then
3642 if test -n "$ac_tool_prefix"; then
3643 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3644 set dummy ${ac_tool_prefix}cc; ac_word=$2
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3646 $as_echo_n "checking for $ac_word... " >&6; }
3647 if ${ac_cv_prog_CC+:} false; then :
3648 $as_echo_n "(cached) " >&6
3649 else
3650 if test -n "$CC"; then
3651 ac_cv_prog_CC="$CC" # Let the user override the test.
3652 else
3653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3654 for as_dir in $PATH
3656 IFS=$as_save_IFS
3657 test -z "$as_dir" && as_dir=.
3658 for ac_exec_ext in '' $ac_executable_extensions; do
3659 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3660 ac_cv_prog_CC="${ac_tool_prefix}cc"
3661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3662 break 2
3664 done
3665 done
3666 IFS=$as_save_IFS
3670 CC=$ac_cv_prog_CC
3671 if test -n "$CC"; then
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3673 $as_echo "$CC" >&6; }
3674 else
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3676 $as_echo "no" >&6; }
3682 if test -z "$CC"; then
3683 # Extract the first word of "cc", so it can be a program name with args.
3684 set dummy cc; ac_word=$2
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3686 $as_echo_n "checking for $ac_word... " >&6; }
3687 if ${ac_cv_prog_CC+:} false; then :
3688 $as_echo_n "(cached) " >&6
3689 else
3690 if test -n "$CC"; then
3691 ac_cv_prog_CC="$CC" # Let the user override the test.
3692 else
3693 ac_prog_rejected=no
3694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3695 for as_dir in $PATH
3697 IFS=$as_save_IFS
3698 test -z "$as_dir" && as_dir=.
3699 for ac_exec_ext in '' $ac_executable_extensions; do
3700 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3701 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3702 ac_prog_rejected=yes
3703 continue
3705 ac_cv_prog_CC="cc"
3706 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3707 break 2
3709 done
3710 done
3711 IFS=$as_save_IFS
3713 if test $ac_prog_rejected = yes; then
3714 # We found a bogon in the path, so make sure we never use it.
3715 set dummy $ac_cv_prog_CC
3716 shift
3717 if test $# != 0; then
3718 # We chose a different compiler from the bogus one.
3719 # However, it has the same basename, so the bogon will be chosen
3720 # first if we set CC to just the basename; use the full file name.
3721 shift
3722 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3727 CC=$ac_cv_prog_CC
3728 if test -n "$CC"; then
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3730 $as_echo "$CC" >&6; }
3731 else
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3733 $as_echo "no" >&6; }
3738 if test -z "$CC"; then
3739 if test -n "$ac_tool_prefix"; then
3740 for ac_prog in cl.exe
3742 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3743 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3745 $as_echo_n "checking for $ac_word... " >&6; }
3746 if ${ac_cv_prog_CC+:} false; then :
3747 $as_echo_n "(cached) " >&6
3748 else
3749 if test -n "$CC"; then
3750 ac_cv_prog_CC="$CC" # Let the user override the test.
3751 else
3752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3753 for as_dir in $PATH
3755 IFS=$as_save_IFS
3756 test -z "$as_dir" && as_dir=.
3757 for ac_exec_ext in '' $ac_executable_extensions; do
3758 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3759 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3761 break 2
3763 done
3764 done
3765 IFS=$as_save_IFS
3769 CC=$ac_cv_prog_CC
3770 if test -n "$CC"; then
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3772 $as_echo "$CC" >&6; }
3773 else
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3775 $as_echo "no" >&6; }
3779 test -n "$CC" && break
3780 done
3782 if test -z "$CC"; then
3783 ac_ct_CC=$CC
3784 for ac_prog in cl.exe
3786 # Extract the first word of "$ac_prog", so it can be a program name with args.
3787 set dummy $ac_prog; ac_word=$2
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3789 $as_echo_n "checking for $ac_word... " >&6; }
3790 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3791 $as_echo_n "(cached) " >&6
3792 else
3793 if test -n "$ac_ct_CC"; then
3794 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3795 else
3796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3797 for as_dir in $PATH
3799 IFS=$as_save_IFS
3800 test -z "$as_dir" && as_dir=.
3801 for ac_exec_ext in '' $ac_executable_extensions; do
3802 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3803 ac_cv_prog_ac_ct_CC="$ac_prog"
3804 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3805 break 2
3807 done
3808 done
3809 IFS=$as_save_IFS
3813 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3814 if test -n "$ac_ct_CC"; then
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3816 $as_echo "$ac_ct_CC" >&6; }
3817 else
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3819 $as_echo "no" >&6; }
3823 test -n "$ac_ct_CC" && break
3824 done
3826 if test "x$ac_ct_CC" = x; then
3827 CC=""
3828 else
3829 case $cross_compiling:$ac_tool_warned in
3830 yes:)
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3832 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3833 ac_tool_warned=yes ;;
3834 esac
3835 CC=$ac_ct_CC
3842 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3843 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3844 as_fn_error $? "no acceptable C compiler found in \$PATH
3845 See \`config.log' for more details" "$LINENO" 5; }
3847 # Provide some information about the compiler.
3848 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3849 set X $ac_compile
3850 ac_compiler=$2
3851 for ac_option in --version -v -V -qversion; do
3852 { { ac_try="$ac_compiler $ac_option >&5"
3853 case "(($ac_try" in
3854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3855 *) ac_try_echo=$ac_try;;
3856 esac
3857 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3858 $as_echo "$ac_try_echo"; } >&5
3859 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3860 ac_status=$?
3861 if test -s conftest.err; then
3862 sed '10a\
3863 ... rest of stderr output deleted ...
3864 10q' conftest.err >conftest.er1
3865 cat conftest.er1 >&5
3867 rm -f conftest.er1 conftest.err
3868 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3869 test $ac_status = 0; }
3870 done
3872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3873 /* end confdefs.h. */
3876 main ()
3880 return 0;
3882 _ACEOF
3883 ac_clean_files_save=$ac_clean_files
3884 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3885 # Try to create an executable without -o first, disregard a.out.
3886 # It will help us diagnose broken compilers, and finding out an intuition
3887 # of exeext.
3888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3889 $as_echo_n "checking whether the C compiler works... " >&6; }
3890 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3892 # The possible output files:
3893 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3895 ac_rmfiles=
3896 for ac_file in $ac_files
3898 case $ac_file in
3899 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3900 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3901 esac
3902 done
3903 rm -f $ac_rmfiles
3905 if { { ac_try="$ac_link_default"
3906 case "(($ac_try" in
3907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3908 *) ac_try_echo=$ac_try;;
3909 esac
3910 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3911 $as_echo "$ac_try_echo"; } >&5
3912 (eval "$ac_link_default") 2>&5
3913 ac_status=$?
3914 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3915 test $ac_status = 0; }; then :
3916 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3917 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3918 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3919 # so that the user can short-circuit this test for compilers unknown to
3920 # Autoconf.
3921 for ac_file in $ac_files ''
3923 test -f "$ac_file" || continue
3924 case $ac_file in
3925 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3927 [ab].out )
3928 # We found the default executable, but exeext='' is most
3929 # certainly right.
3930 break;;
3931 *.* )
3932 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3933 then :; else
3934 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3936 # We set ac_cv_exeext here because the later test for it is not
3937 # safe: cross compilers may not add the suffix if given an `-o'
3938 # argument, so we may need to know it at that point already.
3939 # Even if this section looks crufty: it has the advantage of
3940 # actually working.
3941 break;;
3943 break;;
3944 esac
3945 done
3946 test "$ac_cv_exeext" = no && ac_cv_exeext=
3948 else
3949 ac_file=''
3951 if test -z "$ac_file"; then :
3952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3953 $as_echo "no" >&6; }
3954 $as_echo "$as_me: failed program was:" >&5
3955 sed 's/^/| /' conftest.$ac_ext >&5
3957 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3958 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3959 as_fn_error 77 "C compiler cannot create executables
3960 See \`config.log' for more details" "$LINENO" 5; }
3961 else
3962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3963 $as_echo "yes" >&6; }
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3966 $as_echo_n "checking for C compiler default output file name... " >&6; }
3967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3968 $as_echo "$ac_file" >&6; }
3969 ac_exeext=$ac_cv_exeext
3971 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3972 ac_clean_files=$ac_clean_files_save
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3974 $as_echo_n "checking for suffix of executables... " >&6; }
3975 if { { ac_try="$ac_link"
3976 case "(($ac_try" in
3977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3978 *) ac_try_echo=$ac_try;;
3979 esac
3980 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3981 $as_echo "$ac_try_echo"; } >&5
3982 (eval "$ac_link") 2>&5
3983 ac_status=$?
3984 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3985 test $ac_status = 0; }; then :
3986 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3987 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3988 # work properly (i.e., refer to `conftest.exe'), while it won't with
3989 # `rm'.
3990 for ac_file in conftest.exe conftest conftest.*; do
3991 test -f "$ac_file" || continue
3992 case $ac_file in
3993 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3994 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3995 break;;
3996 * ) break;;
3997 esac
3998 done
3999 else
4000 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4001 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4002 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4003 See \`config.log' for more details" "$LINENO" 5; }
4005 rm -f conftest conftest$ac_cv_exeext
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4007 $as_echo "$ac_cv_exeext" >&6; }
4009 rm -f conftest.$ac_ext
4010 EXEEXT=$ac_cv_exeext
4011 ac_exeext=$EXEEXT
4012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4013 /* end confdefs.h. */
4014 #include <stdio.h>
4016 main ()
4018 FILE *f = fopen ("conftest.out", "w");
4019 return ferror (f) || fclose (f) != 0;
4022 return 0;
4024 _ACEOF
4025 ac_clean_files="$ac_clean_files conftest.out"
4026 # Check that the compiler produces executables we can run. If not, either
4027 # the compiler is broken, or we cross compile.
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4029 $as_echo_n "checking whether we are cross compiling... " >&6; }
4030 if test "$cross_compiling" != yes; then
4031 { { ac_try="$ac_link"
4032 case "(($ac_try" in
4033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4034 *) ac_try_echo=$ac_try;;
4035 esac
4036 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4037 $as_echo "$ac_try_echo"; } >&5
4038 (eval "$ac_link") 2>&5
4039 ac_status=$?
4040 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4041 test $ac_status = 0; }
4042 if { ac_try='./conftest$ac_cv_exeext'
4043 { { case "(($ac_try" in
4044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4045 *) ac_try_echo=$ac_try;;
4046 esac
4047 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4048 $as_echo "$ac_try_echo"; } >&5
4049 (eval "$ac_try") 2>&5
4050 ac_status=$?
4051 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4052 test $ac_status = 0; }; }; then
4053 cross_compiling=no
4054 else
4055 if test "$cross_compiling" = maybe; then
4056 cross_compiling=yes
4057 else
4058 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4059 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4060 as_fn_error $? "cannot run C compiled programs.
4061 If you meant to cross compile, use \`--host'.
4062 See \`config.log' for more details" "$LINENO" 5; }
4066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4067 $as_echo "$cross_compiling" >&6; }
4069 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4070 ac_clean_files=$ac_clean_files_save
4071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4072 $as_echo_n "checking for suffix of object files... " >&6; }
4073 if ${ac_cv_objext+:} false; then :
4074 $as_echo_n "(cached) " >&6
4075 else
4076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4077 /* end confdefs.h. */
4080 main ()
4084 return 0;
4086 _ACEOF
4087 rm -f conftest.o conftest.obj
4088 if { { ac_try="$ac_compile"
4089 case "(($ac_try" in
4090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4091 *) ac_try_echo=$ac_try;;
4092 esac
4093 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4094 $as_echo "$ac_try_echo"; } >&5
4095 (eval "$ac_compile") 2>&5
4096 ac_status=$?
4097 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4098 test $ac_status = 0; }; then :
4099 for ac_file in conftest.o conftest.obj conftest.*; do
4100 test -f "$ac_file" || continue;
4101 case $ac_file in
4102 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4103 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4104 break;;
4105 esac
4106 done
4107 else
4108 $as_echo "$as_me: failed program was:" >&5
4109 sed 's/^/| /' conftest.$ac_ext >&5
4111 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4112 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4113 as_fn_error $? "cannot compute suffix of object files: cannot compile
4114 See \`config.log' for more details" "$LINENO" 5; }
4116 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4119 $as_echo "$ac_cv_objext" >&6; }
4120 OBJEXT=$ac_cv_objext
4121 ac_objext=$OBJEXT
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4123 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4124 if ${ac_cv_c_compiler_gnu+:} false; then :
4125 $as_echo_n "(cached) " >&6
4126 else
4127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4128 /* end confdefs.h. */
4131 main ()
4133 #ifndef __GNUC__
4134 choke me
4135 #endif
4138 return 0;
4140 _ACEOF
4141 if ac_fn_c_try_compile "$LINENO"; then :
4142 ac_compiler_gnu=yes
4143 else
4144 ac_compiler_gnu=no
4146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4147 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4151 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4152 if test $ac_compiler_gnu = yes; then
4153 GCC=yes
4154 else
4155 GCC=
4157 ac_test_CFLAGS=${CFLAGS+set}
4158 ac_save_CFLAGS=$CFLAGS
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4160 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4161 if ${ac_cv_prog_cc_g+:} false; then :
4162 $as_echo_n "(cached) " >&6
4163 else
4164 ac_save_c_werror_flag=$ac_c_werror_flag
4165 ac_c_werror_flag=yes
4166 ac_cv_prog_cc_g=no
4167 CFLAGS="-g"
4168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4169 /* end confdefs.h. */
4172 main ()
4176 return 0;
4178 _ACEOF
4179 if ac_fn_c_try_compile "$LINENO"; then :
4180 ac_cv_prog_cc_g=yes
4181 else
4182 CFLAGS=""
4183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4184 /* end confdefs.h. */
4187 main ()
4191 return 0;
4193 _ACEOF
4194 if ac_fn_c_try_compile "$LINENO"; then :
4196 else
4197 ac_c_werror_flag=$ac_save_c_werror_flag
4198 CFLAGS="-g"
4199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4200 /* end confdefs.h. */
4203 main ()
4207 return 0;
4209 _ACEOF
4210 if ac_fn_c_try_compile "$LINENO"; then :
4211 ac_cv_prog_cc_g=yes
4213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4218 ac_c_werror_flag=$ac_save_c_werror_flag
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4221 $as_echo "$ac_cv_prog_cc_g" >&6; }
4222 if test "$ac_test_CFLAGS" = set; then
4223 CFLAGS=$ac_save_CFLAGS
4224 elif test $ac_cv_prog_cc_g = yes; then
4225 if test "$GCC" = yes; then
4226 CFLAGS="-g -O2"
4227 else
4228 CFLAGS="-g"
4230 else
4231 if test "$GCC" = yes; then
4232 CFLAGS="-O2"
4233 else
4234 CFLAGS=
4237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4238 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4239 if ${ac_cv_prog_cc_c89+:} false; then :
4240 $as_echo_n "(cached) " >&6
4241 else
4242 ac_cv_prog_cc_c89=no
4243 ac_save_CC=$CC
4244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4245 /* end confdefs.h. */
4246 #include <stdarg.h>
4247 #include <stdio.h>
4248 struct stat;
4249 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4250 struct buf { int x; };
4251 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4252 static char *e (p, i)
4253 char **p;
4254 int i;
4256 return p[i];
4258 static char *f (char * (*g) (char **, int), char **p, ...)
4260 char *s;
4261 va_list v;
4262 va_start (v,p);
4263 s = g (p, va_arg (v,int));
4264 va_end (v);
4265 return s;
4268 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4269 function prototypes and stuff, but not '\xHH' hex character constants.
4270 These don't provoke an error unfortunately, instead are silently treated
4271 as 'x'. The following induces an error, until -std is added to get
4272 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4273 array size at least. It's necessary to write '\x00'==0 to get something
4274 that's true only with -std. */
4275 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4277 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4278 inside strings and character constants. */
4279 #define FOO(x) 'x'
4280 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4282 int test (int i, double x);
4283 struct s1 {int (*f) (int a);};
4284 struct s2 {int (*f) (double a);};
4285 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4286 int argc;
4287 char **argv;
4289 main ()
4291 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4293 return 0;
4295 _ACEOF
4296 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4297 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4299 CC="$ac_save_CC $ac_arg"
4300 if ac_fn_c_try_compile "$LINENO"; then :
4301 ac_cv_prog_cc_c89=$ac_arg
4303 rm -f core conftest.err conftest.$ac_objext
4304 test "x$ac_cv_prog_cc_c89" != "xno" && break
4305 done
4306 rm -f conftest.$ac_ext
4307 CC=$ac_save_CC
4310 # AC_CACHE_VAL
4311 case "x$ac_cv_prog_cc_c89" in
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4314 $as_echo "none needed" >&6; } ;;
4315 xno)
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4317 $as_echo "unsupported" >&6; } ;;
4319 CC="$CC $ac_cv_prog_cc_c89"
4320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4321 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4322 esac
4323 if test "x$ac_cv_prog_cc_c89" != xno; then :
4327 ac_ext=c
4328 ac_cpp='$CPP $CPPFLAGS'
4329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4333 ac_ext=cpp
4334 ac_cpp='$CXXCPP $CPPFLAGS'
4335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4338 if test -z "$CXX"; then
4339 if test -n "$CCC"; then
4340 CXX=$CCC
4341 else
4342 if test -n "$ac_tool_prefix"; then
4343 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4345 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4346 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4348 $as_echo_n "checking for $ac_word... " >&6; }
4349 if ${ac_cv_prog_CXX+:} false; then :
4350 $as_echo_n "(cached) " >&6
4351 else
4352 if test -n "$CXX"; then
4353 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4354 else
4355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4356 for as_dir in $PATH
4358 IFS=$as_save_IFS
4359 test -z "$as_dir" && as_dir=.
4360 for ac_exec_ext in '' $ac_executable_extensions; do
4361 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4362 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4364 break 2
4366 done
4367 done
4368 IFS=$as_save_IFS
4372 CXX=$ac_cv_prog_CXX
4373 if test -n "$CXX"; then
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4375 $as_echo "$CXX" >&6; }
4376 else
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4378 $as_echo "no" >&6; }
4382 test -n "$CXX" && break
4383 done
4385 if test -z "$CXX"; then
4386 ac_ct_CXX=$CXX
4387 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4389 # Extract the first word of "$ac_prog", so it can be a program name with args.
4390 set dummy $ac_prog; ac_word=$2
4391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4392 $as_echo_n "checking for $ac_word... " >&6; }
4393 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4394 $as_echo_n "(cached) " >&6
4395 else
4396 if test -n "$ac_ct_CXX"; then
4397 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4398 else
4399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4400 for as_dir in $PATH
4402 IFS=$as_save_IFS
4403 test -z "$as_dir" && as_dir=.
4404 for ac_exec_ext in '' $ac_executable_extensions; do
4405 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4406 ac_cv_prog_ac_ct_CXX="$ac_prog"
4407 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4408 break 2
4410 done
4411 done
4412 IFS=$as_save_IFS
4416 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4417 if test -n "$ac_ct_CXX"; then
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4419 $as_echo "$ac_ct_CXX" >&6; }
4420 else
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4422 $as_echo "no" >&6; }
4426 test -n "$ac_ct_CXX" && break
4427 done
4429 if test "x$ac_ct_CXX" = x; then
4430 CXX="g++"
4431 else
4432 case $cross_compiling:$ac_tool_warned in
4433 yes:)
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4435 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4436 ac_tool_warned=yes ;;
4437 esac
4438 CXX=$ac_ct_CXX
4444 # Provide some information about the compiler.
4445 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4446 set X $ac_compile
4447 ac_compiler=$2
4448 for ac_option in --version -v -V -qversion; do
4449 { { ac_try="$ac_compiler $ac_option >&5"
4450 case "(($ac_try" in
4451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4452 *) ac_try_echo=$ac_try;;
4453 esac
4454 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4455 $as_echo "$ac_try_echo"; } >&5
4456 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4457 ac_status=$?
4458 if test -s conftest.err; then
4459 sed '10a\
4460 ... rest of stderr output deleted ...
4461 10q' conftest.err >conftest.er1
4462 cat conftest.er1 >&5
4464 rm -f conftest.er1 conftest.err
4465 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4466 test $ac_status = 0; }
4467 done
4469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4470 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4471 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4472 $as_echo_n "(cached) " >&6
4473 else
4474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4475 /* end confdefs.h. */
4478 main ()
4480 #ifndef __GNUC__
4481 choke me
4482 #endif
4485 return 0;
4487 _ACEOF
4488 if ac_fn_cxx_try_compile "$LINENO"; then :
4489 ac_compiler_gnu=yes
4490 else
4491 ac_compiler_gnu=no
4493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4494 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4498 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4499 if test $ac_compiler_gnu = yes; then
4500 GXX=yes
4501 else
4502 GXX=
4504 ac_test_CXXFLAGS=${CXXFLAGS+set}
4505 ac_save_CXXFLAGS=$CXXFLAGS
4506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4507 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4508 if ${ac_cv_prog_cxx_g+:} false; then :
4509 $as_echo_n "(cached) " >&6
4510 else
4511 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4512 ac_cxx_werror_flag=yes
4513 ac_cv_prog_cxx_g=no
4514 CXXFLAGS="-g"
4515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4516 /* end confdefs.h. */
4519 main ()
4523 return 0;
4525 _ACEOF
4526 if ac_fn_cxx_try_compile "$LINENO"; then :
4527 ac_cv_prog_cxx_g=yes
4528 else
4529 CXXFLAGS=""
4530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4531 /* end confdefs.h. */
4534 main ()
4538 return 0;
4540 _ACEOF
4541 if ac_fn_cxx_try_compile "$LINENO"; then :
4543 else
4544 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4545 CXXFLAGS="-g"
4546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4547 /* end confdefs.h. */
4550 main ()
4554 return 0;
4556 _ACEOF
4557 if ac_fn_cxx_try_compile "$LINENO"; then :
4558 ac_cv_prog_cxx_g=yes
4560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4565 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4568 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4569 if test "$ac_test_CXXFLAGS" = set; then
4570 CXXFLAGS=$ac_save_CXXFLAGS
4571 elif test $ac_cv_prog_cxx_g = yes; then
4572 if test "$GXX" = yes; then
4573 CXXFLAGS="-g -O2"
4574 else
4575 CXXFLAGS="-g"
4577 else
4578 if test "$GXX" = yes; then
4579 CXXFLAGS="-O2"
4580 else
4581 CXXFLAGS=
4584 ac_ext=c
4585 ac_cpp='$CPP $CPPFLAGS'
4586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4590 if test -n "$ac_tool_prefix"; then
4591 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4592 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4594 $as_echo_n "checking for $ac_word... " >&6; }
4595 if ${ac_cv_prog_CPPBIN+:} false; then :
4596 $as_echo_n "(cached) " >&6
4597 else
4598 if test -n "$CPPBIN"; then
4599 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4600 else
4601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4602 for as_dir in $PATH
4604 IFS=$as_save_IFS
4605 test -z "$as_dir" && as_dir=.
4606 for ac_exec_ext in '' $ac_executable_extensions; do
4607 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4608 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4610 break 2
4612 done
4613 done
4614 IFS=$as_save_IFS
4618 CPPBIN=$ac_cv_prog_CPPBIN
4619 if test -n "$CPPBIN"; then
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4621 $as_echo "$CPPBIN" >&6; }
4622 else
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4624 $as_echo "no" >&6; }
4629 if test -z "$ac_cv_prog_CPPBIN"; then
4630 ac_ct_CPPBIN=$CPPBIN
4631 # Extract the first word of "cpp", so it can be a program name with args.
4632 set dummy cpp; ac_word=$2
4633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4634 $as_echo_n "checking for $ac_word... " >&6; }
4635 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4636 $as_echo_n "(cached) " >&6
4637 else
4638 if test -n "$ac_ct_CPPBIN"; then
4639 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4640 else
4641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4642 for as_dir in $PATH
4644 IFS=$as_save_IFS
4645 test -z "$as_dir" && as_dir=.
4646 for ac_exec_ext in '' $ac_executable_extensions; do
4647 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4648 ac_cv_prog_ac_ct_CPPBIN="cpp"
4649 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4650 break 2
4652 done
4653 done
4654 IFS=$as_save_IFS
4658 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4659 if test -n "$ac_ct_CPPBIN"; then
4660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4661 $as_echo "$ac_ct_CPPBIN" >&6; }
4662 else
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4664 $as_echo "no" >&6; }
4667 if test "x$ac_ct_CPPBIN" = x; then
4668 CPPBIN="cpp"
4669 else
4670 case $cross_compiling:$ac_tool_warned in
4671 yes:)
4672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4673 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4674 ac_tool_warned=yes ;;
4675 esac
4676 CPPBIN=$ac_ct_CPPBIN
4678 else
4679 CPPBIN="$ac_cv_prog_CPPBIN"
4683 cat >>confdefs.h <<_ACEOF
4684 #define EXEEXT "$ac_exeext"
4685 _ACEOF
4688 case $host in
4689 *-darwin*)
4690 if test "x$enable_win64" = "xyes"
4691 then
4692 CC="$CC -m64"
4693 CXX="$CXX -m64"
4694 host_cpu="x86_64"
4695 notice_platform="64-bit "
4696 TARGETFLAGS="-m64"
4698 else
4699 CC="$CC -m32"
4700 CXX="$CXX -m32"
4701 host_cpu="i386"
4702 notice_platform="32-bit "
4703 TARGETFLAGS="-m32"
4705 enable_win16=${enable_win16:-yes}
4707 with_fontconfig=${with_fontconfig:-no}
4709 x86_64*)
4710 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4711 then
4712 CC="$CC -m32"
4713 CXX="$CXX -m32"
4714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4715 $as_echo_n "checking whether $CC works... " >&6; }
4717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4718 /* end confdefs.h. */
4721 main ()
4725 return 0;
4727 _ACEOF
4728 if ac_fn_c_try_link "$LINENO"; then :
4729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4730 $as_echo "yes" >&6; }
4731 else
4732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4733 $as_echo "no" >&6; }
4734 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4736 rm -f core conftest.err conftest.$ac_objext \
4737 conftest$ac_exeext conftest.$ac_ext
4738 host_cpu="i386"
4739 notice_platform="32-bit "
4740 TARGETFLAGS="-m32"
4742 enable_win16=${enable_win16:-yes}
4743 else
4744 if test "x${GCC}" = "xyes"
4745 then
4746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4747 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4749 /* end confdefs.h. */
4750 #include <stdarg.h>
4752 main ()
4754 void func(__builtin_ms_va_list *args);
4756 return 0;
4758 _ACEOF
4759 if ac_fn_c_try_compile "$LINENO"; then :
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4761 $as_echo "yes" >&6; }
4762 else
4763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4764 $as_echo "no" >&6; }
4765 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4769 TARGETFLAGS="-m64"
4773 arm*)
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4775 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4777 /* end confdefs.h. */
4778 int ac_test(int i) { return i; }
4780 main ()
4782 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4784 return 0;
4786 _ACEOF
4787 if ac_fn_c_try_link "$LINENO"; then :
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4789 $as_echo "yes" >&6; }
4790 else
4791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4792 $as_echo "no" >&6; }
4793 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4795 rm -f core conftest.err conftest.$ac_objext \
4796 conftest$ac_exeext conftest.$ac_ext
4797 CFLAGS="$CFLAGS -marm"
4799 *-mingw32*|*-cygwin*)
4800 enable_win16=${enable_win16:-no}
4801 CFLAGS="$CFLAGS -D_WIN32"
4803 i[3456789]86*)
4804 enable_win16=${enable_win16:-yes}
4806 esac
4808 enable_win16=${enable_win16:-no}
4809 enable_win64=${enable_win64:-no}
4811 enable_winetest=${enable_winetest:-$enable_tests}
4813 if test -n "$with_wine64"
4814 then
4815 if test "x$enable_win64" = "xyes"
4816 then
4817 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4818 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4820 enable_fonts=${enable_fonts:-no}
4821 enable_server=${enable_server:-no}
4822 elif test "x$enable_win64" = "xyes"
4823 then
4824 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4828 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4829 if ${wine_cv_toolsdir+:} false; then :
4830 $as_echo_n "(cached) " >&6
4831 else
4832 wine_cv_toolsdir="$with_wine_tools"
4833 if test -z "$with_wine_tools"; then
4834 if test "$cross_compiling" = "yes"; then
4835 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4836 elif test -n "$with_wine64"; then
4837 wine_cv_toolsdir="$with_wine64"
4840 if test -z "$wine_cv_toolsdir"; then
4841 wine_cv_toolsdir="\$(top_builddir)"
4842 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4843 case "$wine_cv_toolsdir" in
4844 /*) ;;
4845 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
4846 esac
4847 enable_tools=${enable_tools:-no}
4848 else
4849 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4853 $as_echo "$wine_cv_toolsdir" >&6; }
4854 TOOLSDIR=$wine_cv_toolsdir
4856 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4857 then
4858 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
4862 for ac_prog in flex
4864 # Extract the first word of "$ac_prog", so it can be a program name with args.
4865 set dummy $ac_prog; ac_word=$2
4866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4867 $as_echo_n "checking for $ac_word... " >&6; }
4868 if ${ac_cv_prog_FLEX+:} false; then :
4869 $as_echo_n "(cached) " >&6
4870 else
4871 if test -n "$FLEX"; then
4872 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
4873 else
4874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4875 for as_dir in $PATH
4877 IFS=$as_save_IFS
4878 test -z "$as_dir" && as_dir=.
4879 for ac_exec_ext in '' $ac_executable_extensions; do
4880 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4881 ac_cv_prog_FLEX="$ac_prog"
4882 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4883 break 2
4885 done
4886 done
4887 IFS=$as_save_IFS
4891 FLEX=$ac_cv_prog_FLEX
4892 if test -n "$FLEX"; then
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4894 $as_echo "$FLEX" >&6; }
4895 else
4896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4897 $as_echo "no" >&6; }
4901 test -n "$FLEX" && break
4902 done
4903 test -n "$FLEX" || FLEX="none"
4905 if test "$FLEX" = "none"
4906 then
4907 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4910 $as_echo_n "checking whether flex is recent enough... " >&6; }
4911 cat >conftest.l <<EOF
4912 %top{
4913 #include "prediluvian.h"
4917 if $FLEX -t conftest.l >/dev/null 2>&5
4918 then
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4920 $as_echo "yes" >&6; }
4921 else
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4923 $as_echo "no" >&6; }
4924 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4927 for ac_prog in bison
4929 # Extract the first word of "$ac_prog", so it can be a program name with args.
4930 set dummy $ac_prog; ac_word=$2
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4932 $as_echo_n "checking for $ac_word... " >&6; }
4933 if ${ac_cv_prog_BISON+:} false; then :
4934 $as_echo_n "(cached) " >&6
4935 else
4936 if test -n "$BISON"; then
4937 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4938 else
4939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4940 for as_dir in $PATH
4942 IFS=$as_save_IFS
4943 test -z "$as_dir" && as_dir=.
4944 for ac_exec_ext in '' $ac_executable_extensions; do
4945 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4946 ac_cv_prog_BISON="$ac_prog"
4947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4948 break 2
4950 done
4951 done
4952 IFS=$as_save_IFS
4956 BISON=$ac_cv_prog_BISON
4957 if test -n "$BISON"; then
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4959 $as_echo "$BISON" >&6; }
4960 else
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4962 $as_echo "no" >&6; }
4966 test -n "$BISON" && break
4967 done
4968 test -n "$BISON" || BISON="none"
4970 if test "$BISON" = "none"
4971 then
4972 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4975 if test -n "$ac_tool_prefix"; then
4976 for ac_prog in ar gar
4978 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4979 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4981 $as_echo_n "checking for $ac_word... " >&6; }
4982 if ${ac_cv_prog_AR+:} false; then :
4983 $as_echo_n "(cached) " >&6
4984 else
4985 if test -n "$AR"; then
4986 ac_cv_prog_AR="$AR" # Let the user override the test.
4987 else
4988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4989 for as_dir in $PATH
4991 IFS=$as_save_IFS
4992 test -z "$as_dir" && as_dir=.
4993 for ac_exec_ext in '' $ac_executable_extensions; do
4994 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4995 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4997 break 2
4999 done
5000 done
5001 IFS=$as_save_IFS
5005 AR=$ac_cv_prog_AR
5006 if test -n "$AR"; then
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5008 $as_echo "$AR" >&6; }
5009 else
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5011 $as_echo "no" >&6; }
5015 test -n "$AR" && break
5016 done
5018 if test -z "$AR"; then
5019 ac_ct_AR=$AR
5020 for ac_prog in ar gar
5022 # Extract the first word of "$ac_prog", so it can be a program name with args.
5023 set dummy $ac_prog; ac_word=$2
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5025 $as_echo_n "checking for $ac_word... " >&6; }
5026 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5027 $as_echo_n "(cached) " >&6
5028 else
5029 if test -n "$ac_ct_AR"; then
5030 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5031 else
5032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5033 for as_dir in $PATH
5035 IFS=$as_save_IFS
5036 test -z "$as_dir" && as_dir=.
5037 for ac_exec_ext in '' $ac_executable_extensions; do
5038 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5039 ac_cv_prog_ac_ct_AR="$ac_prog"
5040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5041 break 2
5043 done
5044 done
5045 IFS=$as_save_IFS
5049 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5050 if test -n "$ac_ct_AR"; then
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5052 $as_echo "$ac_ct_AR" >&6; }
5053 else
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5055 $as_echo "no" >&6; }
5059 test -n "$ac_ct_AR" && break
5060 done
5062 if test "x$ac_ct_AR" = x; then
5063 AR="ar"
5064 else
5065 case $cross_compiling:$ac_tool_warned in
5066 yes:)
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5068 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5069 ac_tool_warned=yes ;;
5070 esac
5071 AR=$ac_ct_AR
5075 if test -n "$ac_tool_prefix"; then
5076 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5077 set dummy ${ac_tool_prefix}strip; ac_word=$2
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5079 $as_echo_n "checking for $ac_word... " >&6; }
5080 if ${ac_cv_prog_STRIP+:} false; then :
5081 $as_echo_n "(cached) " >&6
5082 else
5083 if test -n "$STRIP"; then
5084 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5085 else
5086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5087 for as_dir in $PATH
5089 IFS=$as_save_IFS
5090 test -z "$as_dir" && as_dir=.
5091 for ac_exec_ext in '' $ac_executable_extensions; do
5092 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5093 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5094 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5095 break 2
5097 done
5098 done
5099 IFS=$as_save_IFS
5103 STRIP=$ac_cv_prog_STRIP
5104 if test -n "$STRIP"; then
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5106 $as_echo "$STRIP" >&6; }
5107 else
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5109 $as_echo "no" >&6; }
5114 if test -z "$ac_cv_prog_STRIP"; then
5115 ac_ct_STRIP=$STRIP
5116 # Extract the first word of "strip", so it can be a program name with args.
5117 set dummy strip; ac_word=$2
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5119 $as_echo_n "checking for $ac_word... " >&6; }
5120 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5121 $as_echo_n "(cached) " >&6
5122 else
5123 if test -n "$ac_ct_STRIP"; then
5124 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5125 else
5126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5127 for as_dir in $PATH
5129 IFS=$as_save_IFS
5130 test -z "$as_dir" && as_dir=.
5131 for ac_exec_ext in '' $ac_executable_extensions; do
5132 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5133 ac_cv_prog_ac_ct_STRIP="strip"
5134 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5135 break 2
5137 done
5138 done
5139 IFS=$as_save_IFS
5143 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5144 if test -n "$ac_ct_STRIP"; then
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5146 $as_echo "$ac_ct_STRIP" >&6; }
5147 else
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5149 $as_echo "no" >&6; }
5152 if test "x$ac_ct_STRIP" = x; then
5153 STRIP="strip"
5154 else
5155 case $cross_compiling:$ac_tool_warned in
5156 yes:)
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5158 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5159 ac_tool_warned=yes ;;
5160 esac
5161 STRIP=$ac_ct_STRIP
5163 else
5164 STRIP="$ac_cv_prog_STRIP"
5167 ARFLAGS=rc
5169 if test -n "$ac_tool_prefix"; then
5170 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5171 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5173 $as_echo_n "checking for $ac_word... " >&6; }
5174 if ${ac_cv_prog_RANLIB+:} false; then :
5175 $as_echo_n "(cached) " >&6
5176 else
5177 if test -n "$RANLIB"; then
5178 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5179 else
5180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5181 for as_dir in $PATH
5183 IFS=$as_save_IFS
5184 test -z "$as_dir" && as_dir=.
5185 for ac_exec_ext in '' $ac_executable_extensions; do
5186 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5187 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5189 break 2
5191 done
5192 done
5193 IFS=$as_save_IFS
5197 RANLIB=$ac_cv_prog_RANLIB
5198 if test -n "$RANLIB"; then
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5200 $as_echo "$RANLIB" >&6; }
5201 else
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5203 $as_echo "no" >&6; }
5208 if test -z "$ac_cv_prog_RANLIB"; then
5209 ac_ct_RANLIB=$RANLIB
5210 # Extract the first word of "ranlib", so it can be a program name with args.
5211 set dummy ranlib; ac_word=$2
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5213 $as_echo_n "checking for $ac_word... " >&6; }
5214 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5215 $as_echo_n "(cached) " >&6
5216 else
5217 if test -n "$ac_ct_RANLIB"; then
5218 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5219 else
5220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5221 for as_dir in $PATH
5223 IFS=$as_save_IFS
5224 test -z "$as_dir" && as_dir=.
5225 for ac_exec_ext in '' $ac_executable_extensions; do
5226 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5227 ac_cv_prog_ac_ct_RANLIB="ranlib"
5228 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5229 break 2
5231 done
5232 done
5233 IFS=$as_save_IFS
5237 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5238 if test -n "$ac_ct_RANLIB"; then
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5240 $as_echo "$ac_ct_RANLIB" >&6; }
5241 else
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5243 $as_echo "no" >&6; }
5246 if test "x$ac_ct_RANLIB" = x; then
5247 RANLIB=":"
5248 else
5249 case $cross_compiling:$ac_tool_warned in
5250 yes:)
5251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5252 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5253 ac_tool_warned=yes ;;
5254 esac
5255 RANLIB=$ac_ct_RANLIB
5257 else
5258 RANLIB="$ac_cv_prog_RANLIB"
5261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5262 $as_echo_n "checking whether ln -s works... " >&6; }
5263 LN_S=$as_ln_s
5264 if test "$LN_S" = "ln -s"; then
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5266 $as_echo "yes" >&6; }
5267 else
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5269 $as_echo "no, using $LN_S" >&6; }
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5273 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5274 if ${ac_cv_path_GREP+:} false; then :
5275 $as_echo_n "(cached) " >&6
5276 else
5277 if test -z "$GREP"; then
5278 ac_path_GREP_found=false
5279 # Loop through the user's path and test for each of PROGNAME-LIST
5280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5281 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5283 IFS=$as_save_IFS
5284 test -z "$as_dir" && as_dir=.
5285 for ac_prog in grep ggrep; do
5286 for ac_exec_ext in '' $ac_executable_extensions; do
5287 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5288 as_fn_executable_p "$ac_path_GREP" || continue
5289 # Check for GNU ac_path_GREP and select it if it is found.
5290 # Check for GNU $ac_path_GREP
5291 case `"$ac_path_GREP" --version 2>&1` in
5292 *GNU*)
5293 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5295 ac_count=0
5296 $as_echo_n 0123456789 >"conftest.in"
5297 while :
5299 cat "conftest.in" "conftest.in" >"conftest.tmp"
5300 mv "conftest.tmp" "conftest.in"
5301 cp "conftest.in" "conftest.nl"
5302 $as_echo 'GREP' >> "conftest.nl"
5303 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5304 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5305 as_fn_arith $ac_count + 1 && ac_count=$as_val
5306 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5307 # Best one so far, save it but keep looking for a better one
5308 ac_cv_path_GREP="$ac_path_GREP"
5309 ac_path_GREP_max=$ac_count
5311 # 10*(2^10) chars as input seems more than enough
5312 test $ac_count -gt 10 && break
5313 done
5314 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5315 esac
5317 $ac_path_GREP_found && break 3
5318 done
5319 done
5320 done
5321 IFS=$as_save_IFS
5322 if test -z "$ac_cv_path_GREP"; then
5323 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5325 else
5326 ac_cv_path_GREP=$GREP
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5331 $as_echo "$ac_cv_path_GREP" >&6; }
5332 GREP="$ac_cv_path_GREP"
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5336 $as_echo_n "checking for egrep... " >&6; }
5337 if ${ac_cv_path_EGREP+:} false; then :
5338 $as_echo_n "(cached) " >&6
5339 else
5340 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5341 then ac_cv_path_EGREP="$GREP -E"
5342 else
5343 if test -z "$EGREP"; then
5344 ac_path_EGREP_found=false
5345 # Loop through the user's path and test for each of PROGNAME-LIST
5346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5347 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5349 IFS=$as_save_IFS
5350 test -z "$as_dir" && as_dir=.
5351 for ac_prog in egrep; do
5352 for ac_exec_ext in '' $ac_executable_extensions; do
5353 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5354 as_fn_executable_p "$ac_path_EGREP" || continue
5355 # Check for GNU ac_path_EGREP and select it if it is found.
5356 # Check for GNU $ac_path_EGREP
5357 case `"$ac_path_EGREP" --version 2>&1` in
5358 *GNU*)
5359 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5361 ac_count=0
5362 $as_echo_n 0123456789 >"conftest.in"
5363 while :
5365 cat "conftest.in" "conftest.in" >"conftest.tmp"
5366 mv "conftest.tmp" "conftest.in"
5367 cp "conftest.in" "conftest.nl"
5368 $as_echo 'EGREP' >> "conftest.nl"
5369 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5370 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5371 as_fn_arith $ac_count + 1 && ac_count=$as_val
5372 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5373 # Best one so far, save it but keep looking for a better one
5374 ac_cv_path_EGREP="$ac_path_EGREP"
5375 ac_path_EGREP_max=$ac_count
5377 # 10*(2^10) chars as input seems more than enough
5378 test $ac_count -gt 10 && break
5379 done
5380 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5381 esac
5383 $ac_path_EGREP_found && break 3
5384 done
5385 done
5386 done
5387 IFS=$as_save_IFS
5388 if test -z "$ac_cv_path_EGREP"; then
5389 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5391 else
5392 ac_cv_path_EGREP=$EGREP
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5398 $as_echo "$ac_cv_path_EGREP" >&6; }
5399 EGREP="$ac_cv_path_EGREP"
5402 # Extract the first word of "ldconfig", so it can be a program name with args.
5403 set dummy ldconfig; ac_word=$2
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5405 $as_echo_n "checking for $ac_word... " >&6; }
5406 if ${ac_cv_path_LDCONFIG+:} false; then :
5407 $as_echo_n "(cached) " >&6
5408 else
5409 case $LDCONFIG in
5410 [\\/]* | ?:[\\/]*)
5411 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5415 for as_dir in /sbin /usr/sbin $PATH
5417 IFS=$as_save_IFS
5418 test -z "$as_dir" && as_dir=.
5419 for ac_exec_ext in '' $ac_executable_extensions; do
5420 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5421 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5422 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5423 break 2
5425 done
5426 done
5427 IFS=$as_save_IFS
5429 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5431 esac
5433 LDCONFIG=$ac_cv_path_LDCONFIG
5434 if test -n "$LDCONFIG"; then
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5436 $as_echo "$LDCONFIG" >&6; }
5437 else
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5439 $as_echo "no" >&6; }
5443 for ac_prog in msgfmt
5445 # Extract the first word of "$ac_prog", so it can be a program name with args.
5446 set dummy $ac_prog; ac_word=$2
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5448 $as_echo_n "checking for $ac_word... " >&6; }
5449 if ${ac_cv_prog_MSGFMT+:} false; then :
5450 $as_echo_n "(cached) " >&6
5451 else
5452 if test -n "$MSGFMT"; then
5453 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5454 else
5455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5456 for as_dir in $PATH
5458 IFS=$as_save_IFS
5459 test -z "$as_dir" && as_dir=.
5460 for ac_exec_ext in '' $ac_executable_extensions; do
5461 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5462 ac_cv_prog_MSGFMT="$ac_prog"
5463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5464 break 2
5466 done
5467 done
5468 IFS=$as_save_IFS
5472 MSGFMT=$ac_cv_prog_MSGFMT
5473 if test -n "$MSGFMT"; then
5474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5475 $as_echo "$MSGFMT" >&6; }
5476 else
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5478 $as_echo "no" >&6; }
5482 test -n "$MSGFMT" && break
5483 done
5484 test -n "$MSGFMT" || MSGFMT="false"
5486 if ${ac_tool_prefix+:} false; then :
5487 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5488 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5490 $as_echo_n "checking for $ac_word... " >&6; }
5491 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5492 $as_echo_n "(cached) " >&6
5493 else
5494 if test -n "$PKG_CONFIG"; then
5495 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5496 else
5497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5498 for as_dir in $PATH
5500 IFS=$as_save_IFS
5501 test -z "$as_dir" && as_dir=.
5502 for ac_exec_ext in '' $ac_executable_extensions; do
5503 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5504 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5506 break 2
5508 done
5509 done
5510 IFS=$as_save_IFS
5514 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5515 if test -n "$PKG_CONFIG"; then
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5517 $as_echo "$PKG_CONFIG" >&6; }
5518 else
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5520 $as_echo "no" >&6; }
5525 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5526 if test "x$cross_compiling" = xyes; then :
5528 else
5529 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5530 # Extract the first word of "pkg-config", so it can be a program name with args.
5531 set dummy pkg-config; ac_word=$2
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5533 $as_echo_n "checking for $ac_word... " >&6; }
5534 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5535 $as_echo_n "(cached) " >&6
5536 else
5537 if test -n "$PKG_CONFIG"; then
5538 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5539 else
5540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5541 for as_dir in $PATH
5543 IFS=$as_save_IFS
5544 test -z "$as_dir" && as_dir=.
5545 for ac_exec_ext in '' $ac_executable_extensions; do
5546 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5547 ac_cv_prog_PKG_CONFIG="pkg-config"
5548 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5549 break 2
5551 done
5552 done
5553 IFS=$as_save_IFS
5557 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5558 if test -n "$PKG_CONFIG"; then
5559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5560 $as_echo "$PKG_CONFIG" >&6; }
5561 else
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5563 $as_echo "no" >&6; }
5568 else
5569 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5572 if test "x$enable_maintainer_mode" != "xyes"
5573 then
5574 FONTFORGE=""
5575 RSVG=""
5576 CONVERT=""
5577 ICOTOOL=""
5578 else
5579 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5580 for ac_prog in fontforge
5582 # Extract the first word of "$ac_prog", so it can be a program name with args.
5583 set dummy $ac_prog; ac_word=$2
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5585 $as_echo_n "checking for $ac_word... " >&6; }
5586 if ${ac_cv_prog_FONTFORGE+:} false; then :
5587 $as_echo_n "(cached) " >&6
5588 else
5589 if test -n "$FONTFORGE"; then
5590 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5591 else
5592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5593 for as_dir in $PATH
5595 IFS=$as_save_IFS
5596 test -z "$as_dir" && as_dir=.
5597 for ac_exec_ext in '' $ac_executable_extensions; do
5598 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5599 ac_cv_prog_FONTFORGE="$ac_prog"
5600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5601 break 2
5603 done
5604 done
5605 IFS=$as_save_IFS
5609 FONTFORGE=$ac_cv_prog_FONTFORGE
5610 if test -n "$FONTFORGE"; then
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5612 $as_echo "$FONTFORGE" >&6; }
5613 else
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5615 $as_echo "no" >&6; }
5619 test -n "$FONTFORGE" && break
5620 done
5621 test -n "$FONTFORGE" || FONTFORGE="false"
5623 for ac_prog in rsvg
5625 # Extract the first word of "$ac_prog", so it can be a program name with args.
5626 set dummy $ac_prog; ac_word=$2
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5628 $as_echo_n "checking for $ac_word... " >&6; }
5629 if ${ac_cv_prog_RSVG+:} false; then :
5630 $as_echo_n "(cached) " >&6
5631 else
5632 if test -n "$RSVG"; then
5633 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5634 else
5635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5636 for as_dir in $PATH
5638 IFS=$as_save_IFS
5639 test -z "$as_dir" && as_dir=.
5640 for ac_exec_ext in '' $ac_executable_extensions; do
5641 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5642 ac_cv_prog_RSVG="$ac_prog"
5643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5644 break 2
5646 done
5647 done
5648 IFS=$as_save_IFS
5652 RSVG=$ac_cv_prog_RSVG
5653 if test -n "$RSVG"; then
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5655 $as_echo "$RSVG" >&6; }
5656 else
5657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5658 $as_echo "no" >&6; }
5662 test -n "$RSVG" && break
5663 done
5664 test -n "$RSVG" || RSVG="false"
5666 for ac_prog in convert
5668 # Extract the first word of "$ac_prog", so it can be a program name with args.
5669 set dummy $ac_prog; ac_word=$2
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5671 $as_echo_n "checking for $ac_word... " >&6; }
5672 if ${ac_cv_prog_CONVERT+:} false; then :
5673 $as_echo_n "(cached) " >&6
5674 else
5675 if test -n "$CONVERT"; then
5676 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5677 else
5678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5679 for as_dir in $PATH
5681 IFS=$as_save_IFS
5682 test -z "$as_dir" && as_dir=.
5683 for ac_exec_ext in '' $ac_executable_extensions; do
5684 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5685 ac_cv_prog_CONVERT="$ac_prog"
5686 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5687 break 2
5689 done
5690 done
5691 IFS=$as_save_IFS
5695 CONVERT=$ac_cv_prog_CONVERT
5696 if test -n "$CONVERT"; then
5697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5698 $as_echo "$CONVERT" >&6; }
5699 else
5700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5701 $as_echo "no" >&6; }
5705 test -n "$CONVERT" && break
5706 done
5707 test -n "$CONVERT" || CONVERT="false"
5709 for ac_prog in icotool
5711 # Extract the first word of "$ac_prog", so it can be a program name with args.
5712 set dummy $ac_prog; ac_word=$2
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5714 $as_echo_n "checking for $ac_word... " >&6; }
5715 if ${ac_cv_prog_ICOTOOL+:} false; then :
5716 $as_echo_n "(cached) " >&6
5717 else
5718 if test -n "$ICOTOOL"; then
5719 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5720 else
5721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5722 for as_dir in $PATH
5724 IFS=$as_save_IFS
5725 test -z "$as_dir" && as_dir=.
5726 for ac_exec_ext in '' $ac_executable_extensions; do
5727 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5728 ac_cv_prog_ICOTOOL="$ac_prog"
5729 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5730 break 2
5732 done
5733 done
5734 IFS=$as_save_IFS
5738 ICOTOOL=$ac_cv_prog_ICOTOOL
5739 if test -n "$ICOTOOL"; then
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5741 $as_echo "$ICOTOOL" >&6; }
5742 else
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5744 $as_echo "no" >&6; }
5748 test -n "$ICOTOOL" && break
5749 done
5750 test -n "$ICOTOOL" || ICOTOOL="false"
5752 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5753 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5755 if test "$CONVERT" = false
5756 then
5757 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5758 else
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5760 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5761 convert_version=`convert --version | head -n1`
5762 if test "x$convert_version" != "x"
5763 then
5764 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5765 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5766 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5767 then
5768 CONVERT=false
5771 if test "$CONVERT" = false
5772 then
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5774 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5775 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5776 else
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5778 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5782 if test "$ICOTOOL" = false
5783 then
5784 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5785 else
5786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5787 $as_echo_n "checking for recent enough icotool... " >&6; }
5788 icotool_version=`icotool --version | head -n1`
5789 if test "x$icotool_version" != "x"
5790 then
5791 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5792 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5793 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5794 then
5795 ICOTOOL=false
5796 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5799 if test "$ICOTOOL" = false
5800 then
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5802 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5803 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5804 else
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5806 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5810 with_gettext=yes
5811 with_gettextpo=yes
5812 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5815 test "x$with_gettext" != xno || MSGFMT=false
5816 if test "$MSGFMT" != "false"
5817 then
5818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5819 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5820 cat >conftest.po <<EOF
5821 # comment
5822 msgctxt "ctxt"
5823 msgid "id"
5824 msgstr "str"
5826 if $MSGFMT -o /dev/null conftest.po 2>&5
5827 then
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5829 $as_echo "yes" >&6; }
5830 else
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5832 $as_echo "no" >&6; }
5833 MSGFMT=false
5836 if test "$MSGFMT" = false; then :
5837 case "x$with_gettext" in
5838 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
5839 xno) ;;
5840 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
5841 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5842 esac
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5847 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5848 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
5849 $as_echo_n "(cached) " >&6
5850 else
5851 ac_check_lib_save_LIBS=$LIBS
5852 LIBS="-li386 $LIBS"
5853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5854 /* end confdefs.h. */
5856 /* Override any GCC internal prototype to avoid an error.
5857 Use char because int might match the return type of a GCC
5858 builtin and then its argument prototype would still apply. */
5859 #ifdef __cplusplus
5860 extern "C"
5861 #endif
5862 char i386_set_ldt ();
5864 main ()
5866 return i386_set_ldt ();
5868 return 0;
5870 _ACEOF
5871 if ac_fn_c_try_link "$LINENO"; then :
5872 ac_cv_lib_i386_i386_set_ldt=yes
5873 else
5874 ac_cv_lib_i386_i386_set_ldt=no
5876 rm -f core conftest.err conftest.$ac_objext \
5877 conftest$ac_exeext conftest.$ac_ext
5878 LIBS=$ac_check_lib_save_LIBS
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5881 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5882 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
5883 cat >>confdefs.h <<_ACEOF
5884 #define HAVE_LIBI386 1
5885 _ACEOF
5887 LIBS="-li386 $LIBS"
5891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5892 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5893 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
5894 $as_echo_n "(cached) " >&6
5895 else
5896 ac_check_lib_save_LIBS=$LIBS
5897 LIBS="-lossaudio $LIBS"
5898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5899 /* end confdefs.h. */
5901 /* Override any GCC internal prototype to avoid an error.
5902 Use char because int might match the return type of a GCC
5903 builtin and then its argument prototype would still apply. */
5904 #ifdef __cplusplus
5905 extern "C"
5906 #endif
5907 char _oss_ioctl ();
5909 main ()
5911 return _oss_ioctl ();
5913 return 0;
5915 _ACEOF
5916 if ac_fn_c_try_link "$LINENO"; then :
5917 ac_cv_lib_ossaudio__oss_ioctl=yes
5918 else
5919 ac_cv_lib_ossaudio__oss_ioctl=no
5921 rm -f core conftest.err conftest.$ac_objext \
5922 conftest$ac_exeext conftest.$ac_ext
5923 LIBS=$ac_check_lib_save_LIBS
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5926 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5927 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
5928 cat >>confdefs.h <<_ACEOF
5929 #define HAVE_LIBOSSAUDIO 1
5930 _ACEOF
5932 LIBS="-lossaudio $LIBS"
5937 OPENGL_LIBS=""
5941 # Check whether --enable-largefile was given.
5942 if test "${enable_largefile+set}" = set; then :
5943 enableval=$enable_largefile;
5946 if test "$enable_largefile" != no; then
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5949 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5950 if ${ac_cv_sys_largefile_CC+:} false; then :
5951 $as_echo_n "(cached) " >&6
5952 else
5953 ac_cv_sys_largefile_CC=no
5954 if test "$GCC" != yes; then
5955 ac_save_CC=$CC
5956 while :; do
5957 # IRIX 6.2 and later do not support large files by default,
5958 # so use the C compiler's -n32 option if that helps.
5959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5960 /* end confdefs.h. */
5961 #include <sys/types.h>
5962 /* Check that off_t can represent 2**63 - 1 correctly.
5963 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5964 since some C++ compilers masquerading as C compilers
5965 incorrectly reject 9223372036854775807. */
5966 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5967 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5968 && LARGE_OFF_T % 2147483647 == 1)
5969 ? 1 : -1];
5971 main ()
5975 return 0;
5977 _ACEOF
5978 if ac_fn_c_try_compile "$LINENO"; then :
5979 break
5981 rm -f core conftest.err conftest.$ac_objext
5982 CC="$CC -n32"
5983 if ac_fn_c_try_compile "$LINENO"; then :
5984 ac_cv_sys_largefile_CC=' -n32'; break
5986 rm -f core conftest.err conftest.$ac_objext
5987 break
5988 done
5989 CC=$ac_save_CC
5990 rm -f conftest.$ac_ext
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5994 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5995 if test "$ac_cv_sys_largefile_CC" != no; then
5996 CC=$CC$ac_cv_sys_largefile_CC
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6000 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6001 if ${ac_cv_sys_file_offset_bits+:} false; then :
6002 $as_echo_n "(cached) " >&6
6003 else
6004 while :; do
6005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6006 /* end confdefs.h. */
6007 #include <sys/types.h>
6008 /* Check that off_t can represent 2**63 - 1 correctly.
6009 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6010 since some C++ compilers masquerading as C compilers
6011 incorrectly reject 9223372036854775807. */
6012 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6013 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6014 && LARGE_OFF_T % 2147483647 == 1)
6015 ? 1 : -1];
6017 main ()
6021 return 0;
6023 _ACEOF
6024 if ac_fn_c_try_compile "$LINENO"; then :
6025 ac_cv_sys_file_offset_bits=no; break
6027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6029 /* end confdefs.h. */
6030 #define _FILE_OFFSET_BITS 64
6031 #include <sys/types.h>
6032 /* Check that off_t can represent 2**63 - 1 correctly.
6033 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6034 since some C++ compilers masquerading as C compilers
6035 incorrectly reject 9223372036854775807. */
6036 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6037 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6038 && LARGE_OFF_T % 2147483647 == 1)
6039 ? 1 : -1];
6041 main ()
6045 return 0;
6047 _ACEOF
6048 if ac_fn_c_try_compile "$LINENO"; then :
6049 ac_cv_sys_file_offset_bits=64; break
6051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6052 ac_cv_sys_file_offset_bits=unknown
6053 break
6054 done
6056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6057 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6058 case $ac_cv_sys_file_offset_bits in #(
6059 no | unknown) ;;
6061 cat >>confdefs.h <<_ACEOF
6062 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6063 _ACEOF
6065 esac
6066 rm -rf conftest*
6067 if test $ac_cv_sys_file_offset_bits = unknown; then
6068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6069 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6070 if ${ac_cv_sys_large_files+:} false; then :
6071 $as_echo_n "(cached) " >&6
6072 else
6073 while :; do
6074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6075 /* end confdefs.h. */
6076 #include <sys/types.h>
6077 /* Check that off_t can represent 2**63 - 1 correctly.
6078 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6079 since some C++ compilers masquerading as C compilers
6080 incorrectly reject 9223372036854775807. */
6081 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6082 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6083 && LARGE_OFF_T % 2147483647 == 1)
6084 ? 1 : -1];
6086 main ()
6090 return 0;
6092 _ACEOF
6093 if ac_fn_c_try_compile "$LINENO"; then :
6094 ac_cv_sys_large_files=no; break
6096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6098 /* end confdefs.h. */
6099 #define _LARGE_FILES 1
6100 #include <sys/types.h>
6101 /* Check that off_t can represent 2**63 - 1 correctly.
6102 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6103 since some C++ compilers masquerading as C compilers
6104 incorrectly reject 9223372036854775807. */
6105 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6106 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6107 && LARGE_OFF_T % 2147483647 == 1)
6108 ? 1 : -1];
6110 main ()
6114 return 0;
6116 _ACEOF
6117 if ac_fn_c_try_compile "$LINENO"; then :
6118 ac_cv_sys_large_files=1; break
6120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6121 ac_cv_sys_large_files=unknown
6122 break
6123 done
6125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6126 $as_echo "$ac_cv_sys_large_files" >&6; }
6127 case $ac_cv_sys_large_files in #(
6128 no | unknown) ;;
6130 cat >>confdefs.h <<_ACEOF
6131 #define _LARGE_FILES $ac_cv_sys_large_files
6132 _ACEOF
6134 esac
6135 rm -rf conftest*
6142 ac_ext=c
6143 ac_cpp='$CPP $CPPFLAGS'
6144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6148 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6149 # On Suns, sometimes $CPP names a directory.
6150 if test -n "$CPP" && test -d "$CPP"; then
6151 CPP=
6153 if test -z "$CPP"; then
6154 if ${ac_cv_prog_CPP+:} false; then :
6155 $as_echo_n "(cached) " >&6
6156 else
6157 # Double quotes because CPP needs to be expanded
6158 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6160 ac_preproc_ok=false
6161 for ac_c_preproc_warn_flag in '' yes
6163 # Use a header file that comes with gcc, so configuring glibc
6164 # with a fresh cross-compiler works.
6165 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6166 # <limits.h> exists even on freestanding compilers.
6167 # On the NeXT, cc -E runs the code through the compiler's parser,
6168 # not just through cpp. "Syntax error" is here to catch this case.
6169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6170 /* end confdefs.h. */
6171 #ifdef __STDC__
6172 # include <limits.h>
6173 #else
6174 # include <assert.h>
6175 #endif
6176 Syntax error
6177 _ACEOF
6178 if ac_fn_c_try_cpp "$LINENO"; then :
6180 else
6181 # Broken: fails on valid input.
6182 continue
6184 rm -f conftest.err conftest.i conftest.$ac_ext
6186 # OK, works on sane cases. Now check whether nonexistent headers
6187 # can be detected and how.
6188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6189 /* end confdefs.h. */
6190 #include <ac_nonexistent.h>
6191 _ACEOF
6192 if ac_fn_c_try_cpp "$LINENO"; then :
6193 # Broken: success on invalid input.
6194 continue
6195 else
6196 # Passes both tests.
6197 ac_preproc_ok=:
6198 break
6200 rm -f conftest.err conftest.i conftest.$ac_ext
6202 done
6203 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6204 rm -f conftest.i conftest.err conftest.$ac_ext
6205 if $ac_preproc_ok; then :
6206 break
6209 done
6210 ac_cv_prog_CPP=$CPP
6213 CPP=$ac_cv_prog_CPP
6214 else
6215 ac_cv_prog_CPP=$CPP
6217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6218 $as_echo "$CPP" >&6; }
6219 ac_preproc_ok=false
6220 for ac_c_preproc_warn_flag in '' yes
6222 # Use a header file that comes with gcc, so configuring glibc
6223 # with a fresh cross-compiler works.
6224 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6225 # <limits.h> exists even on freestanding compilers.
6226 # On the NeXT, cc -E runs the code through the compiler's parser,
6227 # not just through cpp. "Syntax error" is here to catch this case.
6228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6229 /* end confdefs.h. */
6230 #ifdef __STDC__
6231 # include <limits.h>
6232 #else
6233 # include <assert.h>
6234 #endif
6235 Syntax error
6236 _ACEOF
6237 if ac_fn_c_try_cpp "$LINENO"; then :
6239 else
6240 # Broken: fails on valid input.
6241 continue
6243 rm -f conftest.err conftest.i conftest.$ac_ext
6245 # OK, works on sane cases. Now check whether nonexistent headers
6246 # can be detected and how.
6247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6248 /* end confdefs.h. */
6249 #include <ac_nonexistent.h>
6250 _ACEOF
6251 if ac_fn_c_try_cpp "$LINENO"; then :
6252 # Broken: success on invalid input.
6253 continue
6254 else
6255 # Passes both tests.
6256 ac_preproc_ok=:
6257 break
6259 rm -f conftest.err conftest.i conftest.$ac_ext
6261 done
6262 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6263 rm -f conftest.i conftest.err conftest.$ac_ext
6264 if $ac_preproc_ok; then :
6266 else
6267 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6268 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6269 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6270 See \`config.log' for more details" "$LINENO" 5; }
6273 ac_ext=c
6274 ac_cpp='$CPP $CPPFLAGS'
6275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6281 $as_echo_n "checking for ANSI C header files... " >&6; }
6282 if ${ac_cv_header_stdc+:} false; then :
6283 $as_echo_n "(cached) " >&6
6284 else
6285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6286 /* end confdefs.h. */
6287 #include <stdlib.h>
6288 #include <stdarg.h>
6289 #include <string.h>
6290 #include <float.h>
6293 main ()
6297 return 0;
6299 _ACEOF
6300 if ac_fn_c_try_compile "$LINENO"; then :
6301 ac_cv_header_stdc=yes
6302 else
6303 ac_cv_header_stdc=no
6305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6307 if test $ac_cv_header_stdc = yes; then
6308 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6310 /* end confdefs.h. */
6311 #include <string.h>
6313 _ACEOF
6314 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6315 $EGREP "memchr" >/dev/null 2>&1; then :
6317 else
6318 ac_cv_header_stdc=no
6320 rm -f conftest*
6324 if test $ac_cv_header_stdc = yes; then
6325 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6327 /* end confdefs.h. */
6328 #include <stdlib.h>
6330 _ACEOF
6331 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6332 $EGREP "free" >/dev/null 2>&1; then :
6334 else
6335 ac_cv_header_stdc=no
6337 rm -f conftest*
6341 if test $ac_cv_header_stdc = yes; then
6342 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6343 if test "$cross_compiling" = yes; then :
6345 else
6346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6347 /* end confdefs.h. */
6348 #include <ctype.h>
6349 #include <stdlib.h>
6350 #if ((' ' & 0x0FF) == 0x020)
6351 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6352 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6353 #else
6354 # define ISLOWER(c) \
6355 (('a' <= (c) && (c) <= 'i') \
6356 || ('j' <= (c) && (c) <= 'r') \
6357 || ('s' <= (c) && (c) <= 'z'))
6358 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6359 #endif
6361 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6363 main ()
6365 int i;
6366 for (i = 0; i < 256; i++)
6367 if (XOR (islower (i), ISLOWER (i))
6368 || toupper (i) != TOUPPER (i))
6369 return 2;
6370 return 0;
6372 _ACEOF
6373 if ac_fn_c_try_run "$LINENO"; then :
6375 else
6376 ac_cv_header_stdc=no
6378 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6379 conftest.$ac_objext conftest.beam conftest.$ac_ext
6384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6385 $as_echo "$ac_cv_header_stdc" >&6; }
6386 if test $ac_cv_header_stdc = yes; then
6388 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6392 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6393 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6394 inttypes.h stdint.h unistd.h
6395 do :
6396 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6397 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6399 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6400 cat >>confdefs.h <<_ACEOF
6401 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6402 _ACEOF
6406 done
6409 for ac_header in \
6410 AL/al.h \
6411 ApplicationServices/ApplicationServices.h \
6412 AudioToolbox/AudioConverter.h \
6413 AudioUnit/AudioUnit.h \
6414 AudioUnit/AudioComponent.h \
6415 CL/cl.h \
6416 Carbon/Carbon.h \
6417 CoreAudio/CoreAudio.h \
6418 CoreServices/CoreServices.h \
6419 DiskArbitration/DiskArbitration.h \
6420 IOKit/IOKitLib.h \
6421 IOKit/hid/IOHIDLib.h \
6422 OpenAL/al.h \
6423 OpenCL/opencl.h \
6424 QuickTime/ImageCompression.h \
6425 Security/Security.h \
6426 alias.h \
6427 alsa/asoundlib.h \
6428 arpa/inet.h \
6429 arpa/nameser.h \
6430 asm/types.h \
6431 asm/user.h \
6432 curses.h \
6433 direct.h \
6434 dirent.h \
6435 dlfcn.h \
6436 elf.h \
6437 float.h \
6438 fnmatch.h \
6439 getopt.h \
6440 gettext-po.h \
6441 grp.h \
6442 gsm.h \
6443 gsm/gsm.h \
6444 ieeefp.h \
6445 inet/mib2.h \
6446 io.h \
6447 kstat.h \
6448 lber.h \
6449 ldap.h \
6450 libproc.h \
6451 link.h \
6452 linux/cdrom.h \
6453 linux/compiler.h \
6454 linux/filter.h \
6455 linux/hdreg.h \
6456 linux/input.h \
6457 linux/ioctl.h \
6458 linux/joystick.h \
6459 linux/major.h \
6460 linux/param.h \
6461 linux/serial.h \
6462 linux/types.h \
6463 linux/ucdrom.h \
6464 lwp.h \
6465 mach-o/nlist.h \
6466 mach-o/loader.h \
6467 mach/mach.h \
6468 mach/machine.h \
6469 machine/cpu.h \
6470 machine/limits.h \
6471 machine/sysarch.h \
6472 mntent.h \
6473 ncurses.h \
6474 netdb.h \
6475 netinet/in.h \
6476 netinet/in_systm.h \
6477 netinet/tcp.h \
6478 netinet/tcp_fsm.h \
6479 poll.h \
6480 port.h \
6481 process.h \
6482 pthread.h \
6483 pwd.h \
6484 sched.h \
6485 scsi/scsi.h \
6486 scsi/scsi_ioctl.h \
6487 scsi/sg.h \
6488 stdbool.h \
6489 stdint.h \
6490 stropts.h \
6491 sys/asoundlib.h \
6492 sys/attr.h \
6493 sys/cdio.h \
6494 sys/elf32.h \
6495 sys/epoll.h \
6496 sys/event.h \
6497 sys/exec_elf.h \
6498 sys/filio.h \
6499 sys/inotify.h \
6500 sys/ioctl.h \
6501 sys/ipc.h \
6502 sys/limits.h \
6503 sys/link.h \
6504 sys/mman.h \
6505 sys/modem.h \
6506 sys/msg.h \
6507 sys/mtio.h \
6508 sys/param.h \
6509 sys/poll.h \
6510 sys/prctl.h \
6511 sys/protosw.h \
6512 sys/ptrace.h \
6513 sys/queue.h \
6514 sys/resource.h \
6515 sys/scsiio.h \
6516 sys/shm.h \
6517 sys/signal.h \
6518 sys/socket.h \
6519 sys/socketvar.h \
6520 sys/sockio.h \
6521 sys/statvfs.h \
6522 sys/strtio.h \
6523 sys/syscall.h \
6524 sys/tihdr.h \
6525 sys/time.h \
6526 sys/timeout.h \
6527 sys/times.h \
6528 sys/uio.h \
6529 sys/user.h \
6530 sys/utsname.h \
6531 sys/vm86.h \
6532 sys/wait.h \
6533 syscall.h \
6534 termios.h \
6535 unistd.h \
6536 utime.h \
6537 valgrind/memcheck.h \
6538 valgrind/valgrind.h \
6539 zlib.h
6541 do :
6542 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6543 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6544 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6545 cat >>confdefs.h <<_ACEOF
6546 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6547 _ACEOF
6551 done
6553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6554 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6555 if ${ac_cv_header_stat_broken+:} false; then :
6556 $as_echo_n "(cached) " >&6
6557 else
6558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6559 /* end confdefs.h. */
6560 #include <sys/types.h>
6561 #include <sys/stat.h>
6563 #if defined S_ISBLK && defined S_IFDIR
6564 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6565 #endif
6567 #if defined S_ISBLK && defined S_IFCHR
6568 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6569 #endif
6571 #if defined S_ISLNK && defined S_IFREG
6572 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6573 #endif
6575 #if defined S_ISSOCK && defined S_IFREG
6576 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6577 #endif
6579 _ACEOF
6580 if ac_fn_c_try_compile "$LINENO"; then :
6581 ac_cv_header_stat_broken=no
6582 else
6583 ac_cv_header_stat_broken=yes
6585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6588 $as_echo "$ac_cv_header_stat_broken" >&6; }
6589 if test $ac_cv_header_stat_broken = yes; then
6591 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6597 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6598 do :
6599 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6600 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6601 #ifdef HAVE_SYS_PARAM_H
6602 # include <sys/param.h>
6603 #endif
6605 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6606 cat >>confdefs.h <<_ACEOF
6607 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6608 _ACEOF
6612 done
6615 for ac_header in \
6616 netinet/ip.h \
6617 net/if.h \
6618 net/if_arp.h \
6619 net/if_dl.h \
6620 net/if_types.h \
6621 net/route.h \
6622 netinet/if_ether.h \
6623 netinet/if_inarp.h \
6624 netinet/in_pcb.h \
6625 netinet/ip_icmp.h \
6626 netinet/ip_var.h \
6627 netinet/udp.h \
6628 netipx/ipx.h \
6629 sys/un.h \
6631 do :
6632 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6633 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6634 #ifdef HAVE_SYS_SOCKET_H
6635 # include <sys/socket.h>
6636 #endif
6637 #ifdef HAVE_SYS_SOCKETVAR_H
6638 # include <sys/socketvar.h>
6639 #endif
6640 #ifdef HAVE_NET_ROUTE_H
6641 # include <net/route.h>
6642 #endif
6643 #ifdef HAVE_NETINET_IN_H
6644 # include <netinet/in.h>
6645 #endif
6646 #ifdef HAVE_NETINET_IN_SYSTM_H
6647 # include <netinet/in_systm.h>
6648 #endif
6649 #ifdef HAVE_NET_IF_H
6650 # include <net/if.h>
6651 #endif
6652 #ifdef HAVE_NETINET_IP_H
6653 # include <netinet/ip.h>
6654 #endif
6656 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6657 cat >>confdefs.h <<_ACEOF
6658 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6659 _ACEOF
6663 done
6666 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6667 do :
6668 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6669 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6670 #ifdef HAVE_ALIAS_H
6671 # include <alias.h>
6672 #endif
6673 #ifdef HAVE_SYS_SOCKET_H
6674 # include <sys/socket.h>
6675 #endif
6676 #ifdef HAVE_SYS_SOCKETVAR_H
6677 # include <sys/socketvar.h>
6678 #endif
6679 #ifdef HAVE_SYS_TIMEOUT_H
6680 # include <sys/timeout.h>
6681 #endif
6682 #ifdef HAVE_NETINET_IN_H
6683 # include <netinet/in.h>
6684 #endif
6685 #ifdef HAVE_NETINET_IN_SYSTM_H
6686 # include <netinet/in_systm.h>
6687 #endif
6688 #ifdef HAVE_NETINET_IP_H
6689 # include <netinet/ip.h>
6690 #endif
6691 #ifdef HAVE_NETINET_IP_VAR_H
6692 # include <netinet/ip_var.h>
6693 #endif
6694 #ifdef HAVE_NETINET_IP_ICMP_H
6695 # include <netinet/ip_icmp.h>
6696 #endif
6697 #ifdef HAVE_NETINET_UDP_H
6698 # include <netinet/udp.h>
6699 #endif
6700 #ifdef HAVE_NETINET_TCP_H
6701 # include <netinet/tcp.h>
6702 #endif
6703 #ifdef HAVE_NETINET_TCP_TIMER_H
6704 #include <netinet/tcp_timer.h>
6705 #endif
6707 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6708 cat >>confdefs.h <<_ACEOF
6709 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6710 _ACEOF
6714 done
6717 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6718 do :
6719 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6720 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6721 #ifdef HAVE_ASM_TYPES_H
6722 # include <asm/types.h>
6723 #endif
6724 #ifdef HAVE_SYS_SOCKET_H
6725 # include <sys/socket.h>
6726 #endif
6727 #ifdef HAVE_LINUX_TYPES_H
6728 # include <linux/types.h>
6729 #endif
6731 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6732 cat >>confdefs.h <<_ACEOF
6733 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6734 _ACEOF
6738 done
6741 for ac_header in mach-o/dyld_images.h
6742 do :
6743 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6744 # include <stdbool.h>
6745 #endif
6746 #ifdef HAVE_STDINT_H
6747 # include <stdint.h>
6748 #endif
6750 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6751 cat >>confdefs.h <<_ACEOF
6752 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6753 _ACEOF
6757 done
6760 for ac_header in resolv.h
6761 do :
6762 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6763 #ifdef HAVE_SYS_SOCKET_H
6764 # include <sys/socket.h>
6765 #endif
6766 #ifdef HAVE_NETINET_IN_H
6767 # include <netinet/in.h>
6768 #endif
6769 #ifdef HAVE_ARPA_NAMESER_H
6770 # include <arpa/nameser.h>
6771 #endif
6773 if test "x$ac_cv_header_resolv_h" = xyes; then :
6774 cat >>confdefs.h <<_ACEOF
6775 #define HAVE_RESOLV_H 1
6776 _ACEOF
6780 done
6783 for ac_header in ifaddrs.h
6784 do :
6785 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6787 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6788 cat >>confdefs.h <<_ACEOF
6789 #define HAVE_IFADDRS_H 1
6790 _ACEOF
6794 done
6797 for ac_header in ucontext.h
6798 do :
6799 ac_fn_c_check_header_compile "$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6801 if test "x$ac_cv_header_ucontext_h" = xyes; then :
6802 cat >>confdefs.h <<_ACEOF
6803 #define HAVE_UCONTEXT_H 1
6804 _ACEOF
6808 done
6811 for ac_header in sys/thr.h
6812 do :
6813 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6814 #ifdef HAVE_UCONTEXT_H
6815 #include <ucontext.h>
6816 #endif
6818 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
6819 cat >>confdefs.h <<_ACEOF
6820 #define HAVE_SYS_THR_H 1
6821 _ACEOF
6825 done
6828 for ac_header in pthread_np.h
6829 do :
6830 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6831 #include <pthread.h>
6832 #endif
6834 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
6835 cat >>confdefs.h <<_ACEOF
6836 #define HAVE_PTHREAD_NP_H 1
6837 _ACEOF
6841 done
6844 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
6845 do :
6846 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6847 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6848 #include <sys/time.h>
6849 #endif
6850 #include <sys/types.h>
6851 #ifdef HAVE_ASM_TYPES_H
6852 #include <asm/types.h>
6853 #endif
6855 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6856 cat >>confdefs.h <<_ACEOF
6857 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6858 _ACEOF
6862 done
6865 for ac_header in libprocstat.h
6866 do :
6867 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6868 #include <sys/param.h>
6869 #endif
6870 #ifdef HAVE_SYS_QUEUE_H
6871 #include <sys/queue.h>
6872 #endif
6873 #ifdef HAVE_SYS_SOCKET_H
6874 #include <sys/socket.h>
6875 #endif
6877 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
6878 cat >>confdefs.h <<_ACEOF
6879 #define HAVE_LIBPROCSTAT_H 1
6880 _ACEOF
6884 done
6888 dlldir="\${libdir}/wine"
6890 DLLPREFIX=""
6892 DLLFLAGS="-D_REENTRANT"
6894 LDRPATH_INSTALL=""
6896 LDRPATH_LOCAL=""
6898 LIBEXT="so"
6899 DLLEXT=".so"
6900 IMPLIBEXT="def"
6901 STATIC_IMPLIBEXT="def.a"
6902 # Extract the first word of "ldd", so it can be a program name with args.
6903 set dummy ldd; ac_word=$2
6904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6905 $as_echo_n "checking for $ac_word... " >&6; }
6906 if ${ac_cv_path_LDD+:} false; then :
6907 $as_echo_n "(cached) " >&6
6908 else
6909 case $LDD in
6910 [\\/]* | ?:[\\/]*)
6911 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
6914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6915 as_dummy="/sbin:/usr/sbin:$PATH"
6916 for as_dir in $as_dummy
6918 IFS=$as_save_IFS
6919 test -z "$as_dir" && as_dir=.
6920 for ac_exec_ext in '' $ac_executable_extensions; do
6921 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6922 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
6923 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6924 break 2
6926 done
6927 done
6928 IFS=$as_save_IFS
6930 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
6932 esac
6934 LDD=$ac_cv_path_LDD
6935 if test -n "$LDD"; then
6936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6937 $as_echo "$LDD" >&6; }
6938 else
6939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6940 $as_echo "no" >&6; }
6944 if test -n "$ac_tool_prefix"; then
6945 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
6946 set dummy ${ac_tool_prefix}readelf; ac_word=$2
6947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6948 $as_echo_n "checking for $ac_word... " >&6; }
6949 if ${ac_cv_prog_READELF+:} false; then :
6950 $as_echo_n "(cached) " >&6
6951 else
6952 if test -n "$READELF"; then
6953 ac_cv_prog_READELF="$READELF" # Let the user override the test.
6954 else
6955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6956 for as_dir in $PATH
6958 IFS=$as_save_IFS
6959 test -z "$as_dir" && as_dir=.
6960 for ac_exec_ext in '' $ac_executable_extensions; do
6961 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6962 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
6963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6964 break 2
6966 done
6967 done
6968 IFS=$as_save_IFS
6972 READELF=$ac_cv_prog_READELF
6973 if test -n "$READELF"; then
6974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
6975 $as_echo "$READELF" >&6; }
6976 else
6977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6978 $as_echo "no" >&6; }
6983 if test -z "$ac_cv_prog_READELF"; then
6984 ac_ct_READELF=$READELF
6985 # Extract the first word of "readelf", so it can be a program name with args.
6986 set dummy readelf; ac_word=$2
6987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6988 $as_echo_n "checking for $ac_word... " >&6; }
6989 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
6990 $as_echo_n "(cached) " >&6
6991 else
6992 if test -n "$ac_ct_READELF"; then
6993 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
6994 else
6995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6996 for as_dir in $PATH
6998 IFS=$as_save_IFS
6999 test -z "$as_dir" && as_dir=.
7000 for ac_exec_ext in '' $ac_executable_extensions; do
7001 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7002 ac_cv_prog_ac_ct_READELF="readelf"
7003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7004 break 2
7006 done
7007 done
7008 IFS=$as_save_IFS
7012 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7013 if test -n "$ac_ct_READELF"; then
7014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7015 $as_echo "$ac_ct_READELF" >&6; }
7016 else
7017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7018 $as_echo "no" >&6; }
7021 if test "x$ac_ct_READELF" = x; then
7022 READELF="true"
7023 else
7024 case $cross_compiling:$ac_tool_warned in
7025 yes:)
7026 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7027 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7028 ac_tool_warned=yes ;;
7029 esac
7030 READELF=$ac_ct_READELF
7032 else
7033 READELF="$ac_cv_prog_READELF"
7036 wine_rules_file=conf$$rules.make
7037 rm -f $wine_rules_file
7038 ALL_POT_FILES=""
7039 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7040 ALL_TEST_RESOURCES=""
7043 wine_fn_append_file ()
7045 as_fn_append $1 " \\$as_nl $2"
7048 wine_fn_ignore_file ()
7050 case "$1" in
7051 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7052 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7053 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7054 esac
7057 wine_fn_append_rule ()
7059 $as_echo "$1" >>$wine_rules_file
7062 wine_fn_has_flag ()
7064 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7067 wine_fn_depend_rules ()
7069 wine_fn_append_rule \
7070 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7071 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7072 depend: $ac_dir/depend
7073 .PHONY: $ac_dir/depend
7074 $ac_dir/depend: \$(MAKEDEP) dummy
7075 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7078 wine_fn_pot_rules ()
7080 test "x$with_gettextpo" = xyes || return
7082 if wine_fn_has_flag mc
7083 then
7084 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7085 wine_fn_append_rule \
7086 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7087 @cd $ac_dir && \$(MAKE) msg.pot
7088 $ac_dir/msg.pot: tools/wmc include"
7090 if wine_fn_has_flag po
7091 then
7092 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7093 wine_fn_append_rule \
7094 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7095 @cd $ac_dir && \$(MAKE) rsrc.pot
7096 $ac_dir/rsrc.pot: tools/wrc include"
7100 wine_fn_all_rules ()
7102 wine_fn_depend_rules
7103 wine_fn_append_rule \
7104 "all: $ac_dir
7105 .PHONY: $ac_dir
7106 $ac_dir: $ac_dir/Makefile dummy
7107 @cd $ac_dir && \$(MAKE)"
7110 wine_fn_install_rules ()
7112 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7114 wine_fn_append_rule \
7115 ".PHONY: $ac_dir/install $ac_dir/uninstall
7116 $ac_dir/install:: $ac_dir
7117 @cd $ac_dir && \$(MAKE) install
7118 $ac_dir/uninstall:: $ac_dir/Makefile
7119 @cd $ac_dir && \$(MAKE) uninstall
7120 install:: $ac_dir/install
7121 __uninstall__: $ac_dir/uninstall"
7123 if wine_fn_has_flag install-lib
7124 then
7125 wine_fn_append_rule \
7126 ".PHONY: $ac_dir/install-lib
7127 $ac_dir/install-lib:: $ac_dir
7128 @cd $ac_dir && \$(MAKE) install-lib
7129 install-lib:: $ac_dir/install-lib"
7132 if wine_fn_has_flag install-dev
7133 then
7134 wine_fn_append_rule \
7135 ".PHONY: $ac_dir/install-dev
7136 $ac_dir/install-dev:: $ac_dir
7137 @cd $ac_dir && \$(MAKE) install-dev
7138 install-dev:: $ac_dir/install-dev"
7142 wine_fn_clean_rules ()
7144 ac_clean=$@
7145 ac_extraclean="$ac_dir/Makefile"
7146 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7148 if wine_fn_has_flag clean
7149 then
7150 wine_fn_append_rule \
7151 "__clean__: $ac_dir/clean
7152 .PHONY: $ac_dir/clean
7153 $ac_dir/clean: $ac_dir/Makefile
7154 @cd $ac_dir && \$(MAKE) clean
7155 \$(RM) $ac_extraclean"
7156 else
7157 wine_fn_append_rule \
7158 "__clean__: $ac_dir/clean
7159 .PHONY: $ac_dir/clean
7160 $ac_dir/clean: dummy
7161 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7165 wine_fn_disabled_rules ()
7167 ac_clean=$@
7168 ac_extraclean="$ac_dir/Makefile"
7169 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7171 wine_fn_append_rule \
7172 "__clean__: $ac_dir/clean
7173 .PHONY: $ac_dir/clean
7174 $ac_dir/clean: dummy
7175 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7178 wine_fn_config_makefile ()
7180 ac_dir=$1
7181 ac_enable=$2
7182 ac_flags=$3
7184 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7185 wine_fn_disabled_rules; return
7187 wine_fn_all_rules
7188 wine_fn_install_rules
7189 wine_fn_clean_rules
7192 wine_fn_config_lib ()
7194 ac_name=$1
7195 ac_flags=$2
7196 ac_dir=dlls/$ac_name
7197 ac_deps="include"
7199 if test "x$enable_tools" = xno; then :
7201 else
7202 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7204 wine_fn_all_rules
7205 wine_fn_clean_rules
7207 wine_fn_append_rule \
7208 ".PHONY: $ac_dir/install $ac_dir/uninstall
7209 $ac_dir/install:: $ac_dir
7210 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7211 $ac_dir/uninstall::
7212 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7213 install install-dev:: $ac_dir/install
7214 __uninstall__: $ac_dir/uninstall
7215 __builddeps__: $ac_dir
7216 $ac_dir: $ac_deps"
7219 wine_fn_config_dll ()
7221 ac_name=$1
7222 ac_dir=dlls/$ac_name
7223 ac_enable=$2
7224 ac_flags=$3
7225 ac_implib=${4:-$ac_name}
7226 ac_file=$ac_dir/lib$ac_implib
7227 ac_dll=$ac_name
7228 ac_deps="include"
7229 ac_implibflags=""
7231 if test "x$enable_tools" = xno; then :
7233 else
7234 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7236 case $ac_name in
7237 *16) ac_implibflags=" -m16" ;;
7238 *.*) ;;
7239 *) ac_dll=$ac_dll.dll ;;
7240 esac
7242 ac_clean=
7243 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7244 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7245 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7246 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7248 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7249 if wine_fn_has_flag implib && test "$ac_enable" != enable_win16
7250 then
7251 wine_fn_depend_rules
7252 wine_fn_clean_rules $ac_clean
7253 else
7254 wine_fn_disabled_rules $ac_clean
7255 return
7257 else
7258 wine_fn_all_rules
7259 wine_fn_clean_rules $ac_clean
7260 wine_fn_append_rule \
7261 "$ac_dir: __builddeps__
7262 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7263 @cd $ac_dir && \$(MAKE) \$@
7264 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7265 install install-lib:: $ac_dir/install-lib
7266 __uninstall__: $ac_dir/uninstall"
7267 if test -n "$DLLEXT"
7268 then
7269 wine_fn_append_rule \
7270 "$ac_dir/install-lib:: $ac_dir
7271 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7272 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7273 $ac_dir/uninstall::
7274 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7275 else
7276 wine_fn_append_rule \
7277 "$ac_dir/install-lib:: $ac_dir
7278 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7279 $ac_dir/uninstall::
7280 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7283 wine_fn_pot_rules
7286 if wine_fn_has_flag staticimplib
7287 then
7288 wine_fn_append_rule \
7289 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7290 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7291 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7292 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7293 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7294 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7295 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7296 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7297 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7298 $ac_dir/uninstall::
7299 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7300 install install-dev:: $ac_dir/install-dev
7301 __uninstall__: $ac_dir/uninstall"
7303 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7304 then
7305 wine_fn_append_rule \
7306 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7307 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7308 $ac_dir/uninstall::
7309 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7312 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7313 then
7314 wine_fn_append_rule \
7315 "__builddeps__: $ac_file.cross.a
7316 $ac_file.cross.a: $ac_dir/Makefile dummy
7317 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7320 elif wine_fn_has_flag implib
7321 then
7322 wine_fn_append_rule \
7323 "__builddeps__: $ac_file.$IMPLIBEXT
7324 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7325 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7326 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7327 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7328 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7329 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7330 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7331 $ac_dir/uninstall::
7332 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7333 install install-dev:: $ac_dir/install-dev
7334 __uninstall__: $ac_dir/uninstall"
7335 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7336 then
7337 wine_fn_append_rule \
7338 "__builddeps__: $ac_file.cross.a
7339 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7340 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7343 if test "$ac_name" != "$ac_implib"
7344 then
7345 wine_fn_append_rule \
7346 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7347 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7348 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7349 clean::
7350 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7351 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7352 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7353 then
7354 wine_fn_append_rule \
7355 "__builddeps__: dlls/lib$ac_implib.cross.a
7356 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7357 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7358 clean::
7359 \$(RM) dlls/lib$ac_implib.cross.a"
7360 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7366 wine_fn_config_program ()
7368 ac_name=$1
7369 ac_dir=programs/$ac_name
7370 ac_enable=$2
7371 ac_flags=$3
7372 ac_program=$ac_name
7374 case $ac_name in
7375 *.*) ;;
7376 *) ac_program=$ac_program.exe ;;
7377 esac
7379 ac_clean=
7380 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7381 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7382 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7383 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7385 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7386 wine_fn_disabled_rules $ac_clean; return
7389 wine_fn_all_rules
7390 wine_fn_clean_rules $ac_clean
7391 wine_fn_append_rule "$ac_dir: __builddeps__"
7392 wine_fn_pot_rules
7394 wine_fn_has_flag install || return
7395 wine_fn_append_rule \
7396 ".PHONY: $ac_dir/install $ac_dir/uninstall
7397 install install-lib:: $ac_dir/install
7398 __uninstall__: $ac_dir/uninstall"
7400 if test -n "$DLLEXT"
7401 then
7402 wine_fn_append_rule \
7403 "$ac_dir/install:: $ac_dir
7404 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7405 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7406 $ac_dir/uninstall::
7407 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7409 if test -z "$with_wine64" && wine_fn_has_flag installbin
7410 then
7411 wine_fn_append_rule \
7412 "$ac_dir/install:: __tooldeps__
7413 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7414 $ac_dir/uninstall::
7415 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7417 else
7418 wine_fn_append_rule \
7419 "$ac_dir/install:: $ac_dir
7420 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7421 $ac_dir/uninstall::
7422 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7425 if test -z "$with_wine64" && wine_fn_has_flag manpage
7426 then
7427 wine_fn_append_rule \
7428 "$ac_dir/install:: $ac_dir
7429 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7430 $ac_dir/uninstall::
7431 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7435 wine_fn_config_test ()
7437 ac_dir=$1
7438 ac_name=$2
7439 ac_flags=$3
7441 ac_clean=
7442 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7443 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7444 ac_clean="$ac_clean $ac_dir/testlist.c"
7446 if test "x$enable_tests" = xno; then :
7447 wine_fn_disabled_rules $ac_clean; return
7450 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7451 wine_fn_all_rules
7452 wine_fn_clean_rules $ac_clean
7454 wine_fn_append_rule \
7455 "$ac_dir: programs/winetest/Makefile __builddeps__
7456 programs/winetest: $ac_dir
7457 check test: $ac_dir/test
7458 .PHONY: $ac_dir/test
7459 $ac_dir/test: dummy
7460 @cd $ac_dir && \$(MAKE) test
7461 testclean::
7462 \$(RM) $ac_dir/*.ok"
7464 if test -n "$CROSSTARGET"
7465 then
7466 wine_fn_append_rule \
7467 "crosstest: $ac_dir/crosstest
7468 .PHONY: $ac_dir/crosstest
7469 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7470 @cd $ac_dir && \$(MAKE) crosstest"
7474 wine_fn_config_tool ()
7476 ac_dir=$1
7477 ac_flags=$2
7478 if test "x$enable_tools" = xno; then :
7479 return
7482 wine_fn_all_rules
7483 wine_fn_install_rules
7484 wine_fn_clean_rules
7486 wine_fn_append_rule "__tooldeps__: $ac_dir"
7487 wine_fn_append_rule "$ac_dir: libs/port"
7488 case $ac_dir in
7489 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7490 esac
7493 wine_fn_config_symlink ()
7495 ac_linkdir=
7496 if test "x$1" = "x-d"
7497 then
7498 ac_linkdir=$2
7499 shift; shift
7501 ac_links=$@
7502 wine_fn_append_rule \
7503 "$ac_links:
7504 @./config.status \$@
7505 distclean::
7506 \$(RM) $ac_links"
7507 for f in $ac_links; do wine_fn_ignore_file $f; done
7508 test -n "$ac_linkdir" || return
7509 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7512 wine_binary="wine"
7513 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7514 loader_programs="$wine_binary wine-installed"
7515 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7517 LOADER_RULES="
7518 install install-lib:: wine-installed
7519 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7521 uninstall::
7522 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7526 case $host_os in
7527 cygwin*|mingw32*)
7528 if test -n "$ac_tool_prefix"; then
7529 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7530 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7532 $as_echo_n "checking for $ac_word... " >&6; }
7533 if ${ac_cv_prog_DLLTOOL+:} false; then :
7534 $as_echo_n "(cached) " >&6
7535 else
7536 if test -n "$DLLTOOL"; then
7537 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7538 else
7539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7540 for as_dir in $PATH
7542 IFS=$as_save_IFS
7543 test -z "$as_dir" && as_dir=.
7544 for ac_exec_ext in '' $ac_executable_extensions; do
7545 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7546 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7547 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7548 break 2
7550 done
7551 done
7552 IFS=$as_save_IFS
7556 DLLTOOL=$ac_cv_prog_DLLTOOL
7557 if test -n "$DLLTOOL"; then
7558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7559 $as_echo "$DLLTOOL" >&6; }
7560 else
7561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7562 $as_echo "no" >&6; }
7567 if test -z "$ac_cv_prog_DLLTOOL"; then
7568 ac_ct_DLLTOOL=$DLLTOOL
7569 # Extract the first word of "dlltool", so it can be a program name with args.
7570 set dummy dlltool; ac_word=$2
7571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7572 $as_echo_n "checking for $ac_word... " >&6; }
7573 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7574 $as_echo_n "(cached) " >&6
7575 else
7576 if test -n "$ac_ct_DLLTOOL"; then
7577 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7578 else
7579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7580 for as_dir in $PATH
7582 IFS=$as_save_IFS
7583 test -z "$as_dir" && as_dir=.
7584 for ac_exec_ext in '' $ac_executable_extensions; do
7585 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7586 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7587 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7588 break 2
7590 done
7591 done
7592 IFS=$as_save_IFS
7596 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7597 if test -n "$ac_ct_DLLTOOL"; then
7598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7599 $as_echo "$ac_ct_DLLTOOL" >&6; }
7600 else
7601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7602 $as_echo "no" >&6; }
7605 if test "x$ac_ct_DLLTOOL" = x; then
7606 DLLTOOL="false"
7607 else
7608 case $cross_compiling:$ac_tool_warned in
7609 yes:)
7610 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7611 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7612 ac_tool_warned=yes ;;
7613 esac
7614 DLLTOOL=$ac_ct_DLLTOOL
7616 else
7617 DLLTOOL="$ac_cv_prog_DLLTOOL"
7620 LIBEXT="dll"
7621 DLLEXT=""
7622 IMPLIBEXT="a"
7623 STATIC_IMPLIBEXT="a"
7624 enable_iphlpapi=${enable_iphlpapi:-no}
7625 enable_kernel32=${enable_kernel32:-no}
7626 enable_msvcrt=${enable_msvcrt:-no}
7627 enable_ntdll=${enable_ntdll:-no}
7628 enable_ws2_32=${enable_ws2_32:-no}
7629 enable_loader=${enable_loader:-no}
7630 enable_server=${enable_server:-no}
7631 with_x=${with_x:-no}
7632 with_pthread=${with_pthread:-no}
7634 crtlibs=""
7635 case $host_os in
7636 mingw32*)
7637 crtlibs="-lmsvcrt"
7638 SOCKET_LIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7640 esac
7642 libwine_targets="libwine.dll libwine.a"
7643 LIBWINE_RULES="
7644 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7646 all: libwine.dll libwine.a
7648 libwine.a: \$(srcdir)/wine.def
7649 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7651 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7652 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7654 install install-lib:: libwine.dll
7655 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7657 install install-dev:: libwine.a
7658 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7660 uninstall::
7661 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7666 darwin*|macosx*)
7667 LIBEXT="dylib"
7668 DLLFLAGS="$DLLFLAGS -fPIC"
7669 LIBWINE_LDFLAGS="-multiply_defined suppress"
7670 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7671 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7672 COREFOUNDATION_LIBS="-framework CoreFoundation"
7674 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7676 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7678 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7680 CORESERVICES_LIBS="-framework CoreServices"
7682 APPKIT_LIBS="-framework AppKit"
7684 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7685 case $host_os in
7686 darwin11*) LDEXECFLAGS="-Wl,-macosx_version_min,10.6 $LDEXECFLAGS" ;;
7687 esac
7688 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7689 then
7690 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
7693 if test "$ac_cv_header_Security_Security_h" = "yes"
7694 then
7695 SECURITY_LIBS="-framework Security -framework CoreFoundation"
7697 ac_save_LIBS="$LIBS"
7698 LIBS="$LIBS $SECURITY_LIBS"
7699 for ac_func in SSLCopyPeerCertificates
7700 do :
7701 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7702 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
7703 cat >>confdefs.h <<_ACEOF
7704 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7705 _ACEOF
7708 done
7710 LIBS="$ac_save_LIBS"
7711 with_gnutls=${with_gnutls:-no}
7713 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7714 then
7715 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7716 then
7717 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7719 else
7720 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7723 ac_save_LIBS="$LIBS"
7724 LIBS="$LIBS $COREAUDIO_LIBS"
7725 for ac_func in AUGraphAddNode
7726 do :
7727 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7728 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
7729 cat >>confdefs.h <<_ACEOF
7730 #define HAVE_AUGRAPHADDNODE 1
7731 _ACEOF
7734 done
7736 LIBS="$ac_save_LIBS"
7738 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7739 then
7740 OPENAL_LIBS="-framework OpenAL"
7743 cat >>confdefs.h <<_ACEOF
7744 #define HAVE_OPENAL 1
7745 _ACEOF
7747 ac_cv_lib_openal=yes
7749 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7750 then
7751 OPENCL_LIBS="-framework OpenCL"
7753 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
7755 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7756 then
7757 ac_save_LIBS="$LIBS"
7758 LIBS="$LIBS $IOKIT_LIBS"
7759 for ac_func in IOHIDManagerCreate
7760 do :
7761 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7762 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
7763 cat >>confdefs.h <<_ACEOF
7764 #define HAVE_IOHIDMANAGERCREATE 1
7765 _ACEOF
7768 done
7770 LIBS="$ac_save_LIBS"
7772 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7773 then
7774 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7776 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
7777 else
7778 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7780 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7781 then
7782 CARBON_LIBS="-framework Carbon"
7786 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7787 then
7788 ac_save_LIBS="$LIBS"
7789 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
7790 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7791 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
7792 enable_winemac_drv=${enable_winemac_drv:-yes}
7795 LIBS="$ac_save_LIBS"
7798 if test "x$enable_win16" = "xyes"
7799 then
7800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7801 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7802 if test "$cross_compiling" = yes; then :
7803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7804 $as_echo "cross-compiling, assuming yes" >&6; }
7805 else
7806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7807 /* end confdefs.h. */
7808 asm(".text\n"
7809 "bad:\tnop;nop\n"
7810 "good:\tnop;nop\n\t"
7811 ".globl _testfunc\n"
7812 "_testfunc:\tcallw good");
7813 extern void testfunc();
7815 main ()
7817 unsigned short *p = (unsigned short *)testfunc;
7818 return p[0] != 0xe866 || p[1] != 0xfffa
7820 return 0;
7822 _ACEOF
7823 if ac_fn_c_try_run "$LINENO"; then :
7824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7825 $as_echo "yes" >&6; }
7826 else
7827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7828 $as_echo "no" >&6; }
7829 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
7831 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7832 conftest.$ac_objext conftest.beam conftest.$ac_ext
7837 libwine_targets="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
7838 LIBWINE_RULES="
7839 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7841 all: libwine.dylib
7843 libwine.$libwine_version.dylib: \$(OBJS)
7844 \$(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 \$@
7846 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
7847 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
7849 libwine.dylib: libwine.$libwine_soversion.dylib
7850 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
7852 install install-lib:: libwine.$libwine_version.dylib
7853 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
7854 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
7856 install install-dev::
7857 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
7859 uninstall::
7860 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
7864 as_fn_append LOADER_RULES "
7865 $wine_binary: main.o wine_info.plist
7866 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7868 wine-installed: main.o wine_info.plist
7869 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7873 linux-android*)
7874 DLLFLAGS="$DLLFLAGS -fPIC"
7875 DLLPREFIX="lib"
7876 LDEXECFLAGS=""
7877 dlldir="\${libdir}"
7878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7879 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7880 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
7881 $as_echo_n "(cached) " >&6
7882 else
7883 ac_wine_try_cflags_saved=$CFLAGS
7884 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
7885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7886 /* end confdefs.h. */
7887 int main(int argc, char **argv) { return 0; }
7888 _ACEOF
7889 if ac_fn_c_try_link "$LINENO"; then :
7890 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
7891 else
7892 ac_cv_cflags__fPIC__Wl___export_dynamic=no
7894 rm -f core conftest.err conftest.$ac_objext \
7895 conftest$ac_exeext conftest.$ac_ext
7896 CFLAGS=$ac_wine_try_cflags_saved
7898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7899 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7900 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
7901 LDEXECFLAGS="-Wl,--export-dynamic"
7903 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7905 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7906 if eval \${$as_ac_var+:} false; then :
7907 $as_echo_n "(cached) " >&6
7908 else
7909 ac_wine_try_cflags_saved=$CFLAGS
7910 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7912 /* end confdefs.h. */
7913 int main(int argc, char **argv) { return 0; }
7914 _ACEOF
7915 if ac_fn_c_try_link "$LINENO"; then :
7916 eval "$as_ac_var=yes"
7917 else
7918 eval "$as_ac_var=no"
7920 rm -f core conftest.err conftest.$ac_objext \
7921 conftest$ac_exeext conftest.$ac_ext
7922 CFLAGS=$ac_wine_try_cflags_saved
7924 eval ac_res=\$$as_ac_var
7925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7926 $as_echo "$ac_res" >&6; }
7927 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
7928 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7929 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7930 else
7931 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7933 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7934 if eval \${$as_ac_var+:} false; then :
7935 $as_echo_n "(cached) " >&6
7936 else
7937 ac_wine_try_cflags_saved=$CFLAGS
7938 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7940 /* end confdefs.h. */
7941 int main(int argc, char **argv) { return 0; }
7942 _ACEOF
7943 if ac_fn_c_try_link "$LINENO"; then :
7944 eval "$as_ac_var=yes"
7945 else
7946 eval "$as_ac_var=no"
7948 rm -f core conftest.err conftest.$ac_objext \
7949 conftest$ac_exeext conftest.$ac_ext
7950 CFLAGS=$ac_wine_try_cflags_saved
7952 eval ac_res=\$$as_ac_var
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7954 $as_echo "$ac_res" >&6; }
7955 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
7956 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7957 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7962 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7963 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
7964 $as_echo_n "(cached) " >&6
7965 else
7966 ac_wine_try_cflags_saved=$CFLAGS
7967 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
7968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7969 /* end confdefs.h. */
7970 int main(int argc, char **argv) { return 0; }
7971 _ACEOF
7972 if ac_fn_c_try_link "$LINENO"; then :
7973 ac_cv_cflags__Wl___enable_new_dtags=yes
7974 else
7975 ac_cv_cflags__Wl___enable_new_dtags=no
7977 rm -f core conftest.err conftest.$ac_objext \
7978 conftest$ac_exeext conftest.$ac_ext
7979 CFLAGS=$ac_wine_try_cflags_saved
7981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7982 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7983 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
7984 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
7987 case $host_cpu in
7988 *i[3456789]86* | x86_64)
7989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
7990 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
7991 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
7992 $as_echo_n "(cached) " >&6
7993 else
7994 ac_wine_try_cflags_saved=$CFLAGS
7995 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
7996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7997 /* end confdefs.h. */
7998 int main(int argc, char **argv) { return 0; }
7999 _ACEOF
8000 if ac_fn_c_try_link "$LINENO"; then :
8001 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8002 else
8003 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8005 rm -f core conftest.err conftest.$ac_objext \
8006 conftest$ac_exeext conftest.$ac_ext
8007 CFLAGS=$ac_wine_try_cflags_saved
8009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8010 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8011 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8012 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8015 esac
8017 libwine_targets="libwine.so"
8018 LIBWINE_RULES="
8019 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8021 all: libwine.so
8023 libwine.so: \$(OBJS)
8024 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8026 install install-lib:: libwine.so
8027 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8029 uninstall::
8030 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8034 as_fn_append LOADER_RULES "
8035 $wine_binary: main.o
8036 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8038 wine-installed: main.o
8039 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8044 DLLFLAGS="$DLLFLAGS -fPIC"
8045 LDEXECFLAGS=""
8046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8047 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8048 if ${ac_cv_c_dll_gnuelf+:} false; then :
8049 $as_echo_n "(cached) " >&6
8050 else
8051 ac_wine_try_cflags_saved=$CFLAGS
8052 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8054 /* end confdefs.h. */
8055 void myfunc() {}
8056 _ACEOF
8057 if ac_fn_c_try_link "$LINENO"; then :
8058 ac_cv_c_dll_gnuelf="yes"
8059 else
8060 ac_cv_c_dll_gnuelf="no"
8062 rm -f core conftest.err conftest.$ac_objext \
8063 conftest$ac_exeext conftest.$ac_ext
8064 CFLAGS=$ac_wine_try_cflags_saved
8066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8067 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8068 if test "$ac_cv_c_dll_gnuelf" = "yes"
8069 then
8070 LDSHARED="\$(CC) -shared"
8071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8072 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8073 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8074 $as_echo_n "(cached) " >&6
8075 else
8076 ac_wine_try_cflags_saved=$CFLAGS
8077 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8079 /* end confdefs.h. */
8080 int main(int argc, char **argv) { return 0; }
8081 _ACEOF
8082 if ac_fn_c_try_link "$LINENO"; then :
8083 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8084 else
8085 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8087 rm -f core conftest.err conftest.$ac_objext \
8088 conftest$ac_exeext conftest.$ac_ext
8089 CFLAGS=$ac_wine_try_cflags_saved
8091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8092 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8093 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8094 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8095 else
8096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8097 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8098 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8099 $as_echo_n "(cached) " >&6
8100 else
8101 ac_wine_try_cflags_saved=$CFLAGS
8102 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8104 /* end confdefs.h. */
8105 int main(int argc, char **argv) { return 0; }
8106 _ACEOF
8107 if ac_fn_c_try_link "$LINENO"; then :
8108 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8109 else
8110 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8112 rm -f core conftest.err conftest.$ac_objext \
8113 conftest$ac_exeext conftest.$ac_ext
8114 CFLAGS=$ac_wine_try_cflags_saved
8116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8117 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8118 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8119 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8123 echo '{ global: *; };' >conftest.map
8124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8125 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8126 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8127 $as_echo_n "(cached) " >&6
8128 else
8129 ac_wine_try_cflags_saved=$CFLAGS
8130 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8132 /* end confdefs.h. */
8133 int main(int argc, char **argv) { return 0; }
8134 _ACEOF
8135 if ac_fn_c_try_link "$LINENO"; then :
8136 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8137 else
8138 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8140 rm -f core conftest.err conftest.$ac_objext \
8141 conftest$ac_exeext conftest.$ac_ext
8142 CFLAGS=$ac_wine_try_cflags_saved
8144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8145 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8146 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8147 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8149 rm -f conftest.map
8151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8152 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8153 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8154 $as_echo_n "(cached) " >&6
8155 else
8156 ac_wine_try_cflags_saved=$CFLAGS
8157 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8159 /* end confdefs.h. */
8160 int main(int argc, char **argv) { return 0; }
8161 _ACEOF
8162 if ac_fn_c_try_link "$LINENO"; then :
8163 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8164 else
8165 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8167 rm -f core conftest.err conftest.$ac_objext \
8168 conftest$ac_exeext conftest.$ac_ext
8169 CFLAGS=$ac_wine_try_cflags_saved
8171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8172 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8173 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8174 LDEXECFLAGS="-Wl,--export-dynamic"
8177 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8179 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8180 if eval \${$as_ac_var+:} false; then :
8181 $as_echo_n "(cached) " >&6
8182 else
8183 ac_wine_try_cflags_saved=$CFLAGS
8184 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8186 /* end confdefs.h. */
8187 int main(int argc, char **argv) { return 0; }
8188 _ACEOF
8189 if ac_fn_c_try_link "$LINENO"; then :
8190 eval "$as_ac_var=yes"
8191 else
8192 eval "$as_ac_var=no"
8194 rm -f core conftest.err conftest.$ac_objext \
8195 conftest$ac_exeext conftest.$ac_ext
8196 CFLAGS=$ac_wine_try_cflags_saved
8198 eval ac_res=\$$as_ac_var
8199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8200 $as_echo "$ac_res" >&6; }
8201 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8202 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8203 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8204 else
8205 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8207 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8208 if eval \${$as_ac_var+:} false; then :
8209 $as_echo_n "(cached) " >&6
8210 else
8211 ac_wine_try_cflags_saved=$CFLAGS
8212 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8214 /* end confdefs.h. */
8215 int main(int argc, char **argv) { return 0; }
8216 _ACEOF
8217 if ac_fn_c_try_link "$LINENO"; then :
8218 eval "$as_ac_var=yes"
8219 else
8220 eval "$as_ac_var=no"
8222 rm -f core conftest.err conftest.$ac_objext \
8223 conftest$ac_exeext conftest.$ac_ext
8224 CFLAGS=$ac_wine_try_cflags_saved
8226 eval ac_res=\$$as_ac_var
8227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8228 $as_echo "$ac_res" >&6; }
8229 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8230 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8231 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8236 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8237 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8238 $as_echo_n "(cached) " >&6
8239 else
8240 ac_wine_try_cflags_saved=$CFLAGS
8241 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8243 /* end confdefs.h. */
8244 int main(int argc, char **argv) { return 0; }
8245 _ACEOF
8246 if ac_fn_c_try_link "$LINENO"; then :
8247 ac_cv_cflags__Wl___enable_new_dtags=yes
8248 else
8249 ac_cv_cflags__Wl___enable_new_dtags=no
8251 rm -f core conftest.err conftest.$ac_objext \
8252 conftest$ac_exeext conftest.$ac_ext
8253 CFLAGS=$ac_wine_try_cflags_saved
8255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8256 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8257 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8258 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8261 case $host_cpu in
8262 *i[3456789]86* | x86_64)
8263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8264 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8265 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8266 $as_echo_n "(cached) " >&6
8267 else
8268 ac_wine_try_cflags_saved=$CFLAGS
8269 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8271 /* end confdefs.h. */
8272 int main(int argc, char **argv) { return 0; }
8273 _ACEOF
8274 if ac_fn_c_try_link "$LINENO"; then :
8275 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8276 else
8277 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8279 rm -f core conftest.err conftest.$ac_objext \
8280 conftest$ac_exeext conftest.$ac_ext
8281 CFLAGS=$ac_wine_try_cflags_saved
8283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8284 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8285 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8286 case $host_os in
8287 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8288 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8289 esac
8292 # Extract the first word of "prelink", so it can be a program name with args.
8293 set dummy prelink; ac_word=$2
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8295 $as_echo_n "checking for $ac_word... " >&6; }
8296 if ${ac_cv_path_PRELINK+:} false; then :
8297 $as_echo_n "(cached) " >&6
8298 else
8299 case $PRELINK in
8300 [\\/]* | ?:[\\/]*)
8301 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8305 for as_dir in /sbin /usr/sbin $PATH
8307 IFS=$as_save_IFS
8308 test -z "$as_dir" && as_dir=.
8309 for ac_exec_ext in '' $ac_executable_extensions; do
8310 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8311 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8312 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8313 break 2
8315 done
8316 done
8317 IFS=$as_save_IFS
8319 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8321 esac
8323 PRELINK=$ac_cv_path_PRELINK
8324 if test -n "$PRELINK"; then
8325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8326 $as_echo "$PRELINK" >&6; }
8327 else
8328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8329 $as_echo "no" >&6; }
8333 if test "x$PRELINK" = xfalse
8334 then
8335 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
8338 esac
8340 else
8341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8342 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8343 if ${ac_cv_c_dll_unixware+:} false; then :
8344 $as_echo_n "(cached) " >&6
8345 else
8346 ac_wine_try_cflags_saved=$CFLAGS
8347 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8349 /* end confdefs.h. */
8350 void myfunc() {}
8351 _ACEOF
8352 if ac_fn_c_try_link "$LINENO"; then :
8353 ac_cv_c_dll_unixware="yes"
8354 else
8355 ac_cv_c_dll_unixware="no"
8357 rm -f core conftest.err conftest.$ac_objext \
8358 conftest$ac_exeext conftest.$ac_ext
8359 CFLAGS=$ac_wine_try_cflags_saved
8361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8362 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8363 if test "$ac_cv_c_dll_unixware" = "yes"
8364 then
8365 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8368 libwine_targets="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8369 LIBWINE_RULES="
8370 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8372 all: libwine.so
8374 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8375 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8377 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8378 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8380 libwine.so: libwine.so.$libwine_soversion
8381 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8383 install install-lib:: libwine.so.$libwine_version
8384 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8385 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8387 install install-dev::
8388 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8390 uninstall::
8391 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8395 as_fn_append LOADER_RULES "
8396 $wine_binary: main.o
8397 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8399 wine-installed: main.o
8400 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8403 esac
8405 as_fn_append LIBWINE_RULES "
8406 EXTRA_TARGETS = $libwine_targets
8409 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8410 enable_winemac_drv=${enable_winemac_drv:-no}
8412 CROSSTARGET=""
8414 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8415 then
8416 case "$host_cpu" in
8417 i[3456789]86*)
8418 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
8419 mingw32-gcc" ;;
8420 x86_64)
8421 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 " ;;
8423 ac_prefix_list="" ;;
8424 esac
8425 for ac_prog in $ac_prefix_list
8427 # Extract the first word of "$ac_prog", so it can be a program name with args.
8428 set dummy $ac_prog; ac_word=$2
8429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8430 $as_echo_n "checking for $ac_word... " >&6; }
8431 if ${ac_cv_prog_CROSSCC+:} false; then :
8432 $as_echo_n "(cached) " >&6
8433 else
8434 if test -n "$CROSSCC"; then
8435 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8436 else
8437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8438 for as_dir in $PATH
8440 IFS=$as_save_IFS
8441 test -z "$as_dir" && as_dir=.
8442 for ac_exec_ext in '' $ac_executable_extensions; do
8443 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8444 ac_cv_prog_CROSSCC="$ac_prog"
8445 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8446 break 2
8448 done
8449 done
8450 IFS=$as_save_IFS
8454 CROSSCC=$ac_cv_prog_CROSSCC
8455 if test -n "$CROSSCC"; then
8456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8457 $as_echo "$CROSSCC" >&6; }
8458 else
8459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8460 $as_echo "no" >&6; }
8464 test -n "$CROSSCC" && break
8465 done
8466 test -n "$CROSSCC" || CROSSCC="false"
8468 if test "$CROSSCC" != "false"
8469 then
8470 ac_save_CC="$CC"
8471 CC="$CROSSCC"
8472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8473 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8475 /* end confdefs.h. */
8478 main ()
8482 return 0;
8484 _ACEOF
8485 if ac_fn_c_try_compile "$LINENO"; then :
8486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8487 $as_echo "yes" >&6; }
8488 set x $CROSSCC
8489 shift
8490 while test $# -ge 1
8492 case "$1" in
8493 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8494 esac
8495 shift
8496 done
8497 else
8498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8499 $as_echo "no" >&6; }
8501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8502 CC="$ac_save_CC"
8507 if test "$ac_cv_header_pthread_h" = "yes"
8508 then
8509 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8510 if test "x$ac_cv_func_pthread_create" = xyes; then :
8512 else
8513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8514 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8515 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8516 $as_echo_n "(cached) " >&6
8517 else
8518 ac_check_lib_save_LIBS=$LIBS
8519 LIBS="-lpthread $LIBS"
8520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8521 /* end confdefs.h. */
8523 /* Override any GCC internal prototype to avoid an error.
8524 Use char because int might match the return type of a GCC
8525 builtin and then its argument prototype would still apply. */
8526 #ifdef __cplusplus
8527 extern "C"
8528 #endif
8529 char pthread_create ();
8531 main ()
8533 return pthread_create ();
8535 return 0;
8537 _ACEOF
8538 if ac_fn_c_try_link "$LINENO"; then :
8539 ac_cv_lib_pthread_pthread_create=yes
8540 else
8541 ac_cv_lib_pthread_pthread_create=no
8543 rm -f core conftest.err conftest.$ac_objext \
8544 conftest$ac_exeext conftest.$ac_ext
8545 LIBS=$ac_check_lib_save_LIBS
8547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8548 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8549 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8550 PTHREAD_LIBS="-lpthread"
8557 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8558 case "x$with_pthread" in
8559 xno) ;;
8560 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8561 Wine cannot support threads without libpthread.
8562 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8563 esac
8567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8568 $as_echo_n "checking for X... " >&6; }
8571 # Check whether --with-x was given.
8572 if test "${with_x+set}" = set; then :
8573 withval=$with_x;
8576 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8577 if test "x$with_x" = xno; then
8578 # The user explicitly disabled X.
8579 have_x=disabled
8580 else
8581 case $x_includes,$x_libraries in #(
8582 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8583 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8584 $as_echo_n "(cached) " >&6
8585 else
8586 # One or both of the vars are not set, and there is no cached value.
8587 ac_x_includes=no ac_x_libraries=no
8588 rm -f -r conftest.dir
8589 if mkdir conftest.dir; then
8590 cd conftest.dir
8591 cat >Imakefile <<'_ACEOF'
8592 incroot:
8593 @echo incroot='${INCROOT}'
8594 usrlibdir:
8595 @echo usrlibdir='${USRLIBDIR}'
8596 libdir:
8597 @echo libdir='${LIBDIR}'
8598 _ACEOF
8599 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8600 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8601 for ac_var in incroot usrlibdir libdir; do
8602 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8603 done
8604 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8605 for ac_extension in a so sl dylib la dll; do
8606 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8607 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8608 ac_im_usrlibdir=$ac_im_libdir; break
8610 done
8611 # Screen out bogus values from the imake configuration. They are
8612 # bogus both because they are the default anyway, and because
8613 # using them would break gcc on systems where it needs fixed includes.
8614 case $ac_im_incroot in
8615 /usr/include) ac_x_includes= ;;
8616 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8617 esac
8618 case $ac_im_usrlibdir in
8619 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8620 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8621 esac
8623 cd ..
8624 rm -f -r conftest.dir
8627 # Standard set of common directories for X headers.
8628 # Check X11 before X11Rn because it is often a symlink to the current release.
8629 ac_x_header_dirs='
8630 /usr/X11/include
8631 /usr/X11R7/include
8632 /usr/X11R6/include
8633 /usr/X11R5/include
8634 /usr/X11R4/include
8636 /usr/include/X11
8637 /usr/include/X11R7
8638 /usr/include/X11R6
8639 /usr/include/X11R5
8640 /usr/include/X11R4
8642 /usr/local/X11/include
8643 /usr/local/X11R7/include
8644 /usr/local/X11R6/include
8645 /usr/local/X11R5/include
8646 /usr/local/X11R4/include
8648 /usr/local/include/X11
8649 /usr/local/include/X11R7
8650 /usr/local/include/X11R6
8651 /usr/local/include/X11R5
8652 /usr/local/include/X11R4
8654 /usr/X386/include
8655 /usr/x386/include
8656 /usr/XFree86/include/X11
8658 /usr/include
8659 /usr/local/include
8660 /usr/unsupported/include
8661 /usr/athena/include
8662 /usr/local/x11r5/include
8663 /usr/lpp/Xamples/include
8665 /usr/openwin/include
8666 /usr/openwin/share/include'
8668 if test "$ac_x_includes" = no; then
8669 # Guess where to find include files, by looking for Xlib.h.
8670 # First, try using that file with no special directory specified.
8671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8672 /* end confdefs.h. */
8673 #include <X11/Xlib.h>
8674 _ACEOF
8675 if ac_fn_c_try_cpp "$LINENO"; then :
8676 # We can compile using X headers with no special include directory.
8677 ac_x_includes=
8678 else
8679 for ac_dir in $ac_x_header_dirs; do
8680 if test -r "$ac_dir/X11/Xlib.h"; then
8681 ac_x_includes=$ac_dir
8682 break
8684 done
8686 rm -f conftest.err conftest.i conftest.$ac_ext
8687 fi # $ac_x_includes = no
8689 if test "$ac_x_libraries" = no; then
8690 # Check for the libraries.
8691 # See if we find them without any special options.
8692 # Don't add to $LIBS permanently.
8693 ac_save_LIBS=$LIBS
8694 LIBS="-lX11 $LIBS"
8695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8696 /* end confdefs.h. */
8697 #include <X11/Xlib.h>
8699 main ()
8701 XrmInitialize ()
8703 return 0;
8705 _ACEOF
8706 if ac_fn_c_try_link "$LINENO"; then :
8707 LIBS=$ac_save_LIBS
8708 # We can link X programs with no special library path.
8709 ac_x_libraries=
8710 else
8711 LIBS=$ac_save_LIBS
8712 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8714 # Don't even attempt the hair of trying to link an X program!
8715 for ac_extension in a so sl dylib la dll; do
8716 if test -r "$ac_dir/libX11.$ac_extension"; then
8717 ac_x_libraries=$ac_dir
8718 break 2
8720 done
8721 done
8723 rm -f core conftest.err conftest.$ac_objext \
8724 conftest$ac_exeext conftest.$ac_ext
8725 fi # $ac_x_libraries = no
8727 case $ac_x_includes,$ac_x_libraries in #(
8728 no,* | *,no | *\'*)
8729 # Didn't find X, or a directory has "'" in its name.
8730 ac_cv_have_x="have_x=no";; #(
8732 # Record where we found X for the cache.
8733 ac_cv_have_x="have_x=yes\
8734 ac_x_includes='$ac_x_includes'\
8735 ac_x_libraries='$ac_x_libraries'"
8736 esac
8738 ;; #(
8739 *) have_x=yes;;
8740 esac
8741 eval "$ac_cv_have_x"
8742 fi # $with_x != no
8744 if test "$have_x" != yes; then
8745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8746 $as_echo "$have_x" >&6; }
8747 no_x=yes
8748 else
8749 # If each of the values was on the command line, it overrides each guess.
8750 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
8751 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
8752 # Update the cache value to reflect the command line values.
8753 ac_cv_have_x="have_x=yes\
8754 ac_x_includes='$x_includes'\
8755 ac_x_libraries='$x_libraries'"
8756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8757 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8760 if test "$no_x" = yes; then
8761 # Not all programs may use this symbol, but it does not hurt to define it.
8763 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8765 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
8766 else
8767 if test -n "$x_includes"; then
8768 X_CFLAGS="$X_CFLAGS -I$x_includes"
8771 # It would also be nice to do this for all -L options, not just this one.
8772 if test -n "$x_libraries"; then
8773 X_LIBS="$X_LIBS -L$x_libraries"
8774 # For Solaris; some versions of Sun CC require a space after -R and
8775 # others require no space. Words are not sufficient . . . .
8776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8777 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8778 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
8779 ac_xsave_c_werror_flag=$ac_c_werror_flag
8780 ac_c_werror_flag=yes
8781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8782 /* end confdefs.h. */
8785 main ()
8789 return 0;
8791 _ACEOF
8792 if ac_fn_c_try_link "$LINENO"; then :
8793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8794 $as_echo "no" >&6; }
8795 X_LIBS="$X_LIBS -R$x_libraries"
8796 else
8797 LIBS="$ac_xsave_LIBS -R $x_libraries"
8798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8799 /* end confdefs.h. */
8802 main ()
8806 return 0;
8808 _ACEOF
8809 if ac_fn_c_try_link "$LINENO"; then :
8810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8811 $as_echo "yes" >&6; }
8812 X_LIBS="$X_LIBS -R $x_libraries"
8813 else
8814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8815 $as_echo "neither works" >&6; }
8817 rm -f core conftest.err conftest.$ac_objext \
8818 conftest$ac_exeext conftest.$ac_ext
8820 rm -f core conftest.err conftest.$ac_objext \
8821 conftest$ac_exeext conftest.$ac_ext
8822 ac_c_werror_flag=$ac_xsave_c_werror_flag
8823 LIBS=$ac_xsave_LIBS
8826 # Check for system-dependent libraries X programs must link with.
8827 # Do this before checking for the system-independent R6 libraries
8828 # (-lICE), since we may need -lsocket or whatever for X linking.
8830 if test "$ISC" = yes; then
8831 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
8832 else
8833 # Martyn Johnson says this is needed for Ultrix, if the X
8834 # libraries were built with DECnet support. And Karl Berry says
8835 # the Alpha needs dnet_stub (dnet does not exist).
8836 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
8837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8838 /* end confdefs.h. */
8840 /* Override any GCC internal prototype to avoid an error.
8841 Use char because int might match the return type of a GCC
8842 builtin and then its argument prototype would still apply. */
8843 #ifdef __cplusplus
8844 extern "C"
8845 #endif
8846 char XOpenDisplay ();
8848 main ()
8850 return XOpenDisplay ();
8852 return 0;
8854 _ACEOF
8855 if ac_fn_c_try_link "$LINENO"; then :
8857 else
8858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8859 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8860 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
8861 $as_echo_n "(cached) " >&6
8862 else
8863 ac_check_lib_save_LIBS=$LIBS
8864 LIBS="-ldnet $LIBS"
8865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8866 /* end confdefs.h. */
8868 /* Override any GCC internal prototype to avoid an error.
8869 Use char because int might match the return type of a GCC
8870 builtin and then its argument prototype would still apply. */
8871 #ifdef __cplusplus
8872 extern "C"
8873 #endif
8874 char dnet_ntoa ();
8876 main ()
8878 return dnet_ntoa ();
8880 return 0;
8882 _ACEOF
8883 if ac_fn_c_try_link "$LINENO"; then :
8884 ac_cv_lib_dnet_dnet_ntoa=yes
8885 else
8886 ac_cv_lib_dnet_dnet_ntoa=no
8888 rm -f core conftest.err conftest.$ac_objext \
8889 conftest$ac_exeext conftest.$ac_ext
8890 LIBS=$ac_check_lib_save_LIBS
8892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8893 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8894 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
8895 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
8898 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
8899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8900 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8901 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
8902 $as_echo_n "(cached) " >&6
8903 else
8904 ac_check_lib_save_LIBS=$LIBS
8905 LIBS="-ldnet_stub $LIBS"
8906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8907 /* end confdefs.h. */
8909 /* Override any GCC internal prototype to avoid an error.
8910 Use char because int might match the return type of a GCC
8911 builtin and then its argument prototype would still apply. */
8912 #ifdef __cplusplus
8913 extern "C"
8914 #endif
8915 char dnet_ntoa ();
8917 main ()
8919 return dnet_ntoa ();
8921 return 0;
8923 _ACEOF
8924 if ac_fn_c_try_link "$LINENO"; then :
8925 ac_cv_lib_dnet_stub_dnet_ntoa=yes
8926 else
8927 ac_cv_lib_dnet_stub_dnet_ntoa=no
8929 rm -f core conftest.err conftest.$ac_objext \
8930 conftest$ac_exeext conftest.$ac_ext
8931 LIBS=$ac_check_lib_save_LIBS
8933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8934 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
8935 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
8936 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
8941 rm -f core conftest.err conftest.$ac_objext \
8942 conftest$ac_exeext conftest.$ac_ext
8943 LIBS="$ac_xsave_LIBS"
8945 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8946 # to get the SysV transport functions.
8947 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
8948 # needs -lnsl.
8949 # The nsl library prevents programs from opening the X display
8950 # on Irix 5.2, according to T.E. Dickey.
8951 # The functions gethostbyname, getservbyname, and inet_addr are
8952 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
8953 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
8954 if test "x$ac_cv_func_gethostbyname" = xyes; then :
8958 if test $ac_cv_func_gethostbyname = no; then
8959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
8960 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
8961 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
8962 $as_echo_n "(cached) " >&6
8963 else
8964 ac_check_lib_save_LIBS=$LIBS
8965 LIBS="-lnsl $LIBS"
8966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8967 /* end confdefs.h. */
8969 /* Override any GCC internal prototype to avoid an error.
8970 Use char because int might match the return type of a GCC
8971 builtin and then its argument prototype would still apply. */
8972 #ifdef __cplusplus
8973 extern "C"
8974 #endif
8975 char gethostbyname ();
8977 main ()
8979 return gethostbyname ();
8981 return 0;
8983 _ACEOF
8984 if ac_fn_c_try_link "$LINENO"; then :
8985 ac_cv_lib_nsl_gethostbyname=yes
8986 else
8987 ac_cv_lib_nsl_gethostbyname=no
8989 rm -f core conftest.err conftest.$ac_objext \
8990 conftest$ac_exeext conftest.$ac_ext
8991 LIBS=$ac_check_lib_save_LIBS
8993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
8994 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
8995 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
8996 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
8999 if test $ac_cv_lib_nsl_gethostbyname = no; then
9000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9001 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9002 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9003 $as_echo_n "(cached) " >&6
9004 else
9005 ac_check_lib_save_LIBS=$LIBS
9006 LIBS="-lbsd $LIBS"
9007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9008 /* end confdefs.h. */
9010 /* Override any GCC internal prototype to avoid an error.
9011 Use char because int might match the return type of a GCC
9012 builtin and then its argument prototype would still apply. */
9013 #ifdef __cplusplus
9014 extern "C"
9015 #endif
9016 char gethostbyname ();
9018 main ()
9020 return gethostbyname ();
9022 return 0;
9024 _ACEOF
9025 if ac_fn_c_try_link "$LINENO"; then :
9026 ac_cv_lib_bsd_gethostbyname=yes
9027 else
9028 ac_cv_lib_bsd_gethostbyname=no
9030 rm -f core conftest.err conftest.$ac_objext \
9031 conftest$ac_exeext conftest.$ac_ext
9032 LIBS=$ac_check_lib_save_LIBS
9034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9035 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9036 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9037 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9043 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9044 # socket/setsockopt and other routines are undefined under SCO ODT
9045 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9046 # on later versions), says Simon Leinen: it contains gethostby*
9047 # variants that don't use the name server (or something). -lsocket
9048 # must be given before -lnsl if both are needed. We assume that
9049 # if connect needs -lnsl, so does gethostbyname.
9050 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9051 if test "x$ac_cv_func_connect" = xyes; then :
9055 if test $ac_cv_func_connect = no; then
9056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9057 $as_echo_n "checking for connect in -lsocket... " >&6; }
9058 if ${ac_cv_lib_socket_connect+:} false; then :
9059 $as_echo_n "(cached) " >&6
9060 else
9061 ac_check_lib_save_LIBS=$LIBS
9062 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9064 /* end confdefs.h. */
9066 /* Override any GCC internal prototype to avoid an error.
9067 Use char because int might match the return type of a GCC
9068 builtin and then its argument prototype would still apply. */
9069 #ifdef __cplusplus
9070 extern "C"
9071 #endif
9072 char connect ();
9074 main ()
9076 return connect ();
9078 return 0;
9080 _ACEOF
9081 if ac_fn_c_try_link "$LINENO"; then :
9082 ac_cv_lib_socket_connect=yes
9083 else
9084 ac_cv_lib_socket_connect=no
9086 rm -f core conftest.err conftest.$ac_objext \
9087 conftest$ac_exeext conftest.$ac_ext
9088 LIBS=$ac_check_lib_save_LIBS
9090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9091 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9092 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9093 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9098 # Guillermo Gomez says -lposix is necessary on A/UX.
9099 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9100 if test "x$ac_cv_func_remove" = xyes; then :
9104 if test $ac_cv_func_remove = no; then
9105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9106 $as_echo_n "checking for remove in -lposix... " >&6; }
9107 if ${ac_cv_lib_posix_remove+:} false; then :
9108 $as_echo_n "(cached) " >&6
9109 else
9110 ac_check_lib_save_LIBS=$LIBS
9111 LIBS="-lposix $LIBS"
9112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9113 /* end confdefs.h. */
9115 /* Override any GCC internal prototype to avoid an error.
9116 Use char because int might match the return type of a GCC
9117 builtin and then its argument prototype would still apply. */
9118 #ifdef __cplusplus
9119 extern "C"
9120 #endif
9121 char remove ();
9123 main ()
9125 return remove ();
9127 return 0;
9129 _ACEOF
9130 if ac_fn_c_try_link "$LINENO"; then :
9131 ac_cv_lib_posix_remove=yes
9132 else
9133 ac_cv_lib_posix_remove=no
9135 rm -f core conftest.err conftest.$ac_objext \
9136 conftest$ac_exeext conftest.$ac_ext
9137 LIBS=$ac_check_lib_save_LIBS
9139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9140 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9141 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9142 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9147 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9148 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9149 if test "x$ac_cv_func_shmat" = xyes; then :
9153 if test $ac_cv_func_shmat = no; then
9154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9155 $as_echo_n "checking for shmat in -lipc... " >&6; }
9156 if ${ac_cv_lib_ipc_shmat+:} false; then :
9157 $as_echo_n "(cached) " >&6
9158 else
9159 ac_check_lib_save_LIBS=$LIBS
9160 LIBS="-lipc $LIBS"
9161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9162 /* end confdefs.h. */
9164 /* Override any GCC internal prototype to avoid an error.
9165 Use char because int might match the return type of a GCC
9166 builtin and then its argument prototype would still apply. */
9167 #ifdef __cplusplus
9168 extern "C"
9169 #endif
9170 char shmat ();
9172 main ()
9174 return shmat ();
9176 return 0;
9178 _ACEOF
9179 if ac_fn_c_try_link "$LINENO"; then :
9180 ac_cv_lib_ipc_shmat=yes
9181 else
9182 ac_cv_lib_ipc_shmat=no
9184 rm -f core conftest.err conftest.$ac_objext \
9185 conftest$ac_exeext conftest.$ac_ext
9186 LIBS=$ac_check_lib_save_LIBS
9188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9189 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9190 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9191 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9197 # Check for libraries that X11R6 Xt/Xaw programs need.
9198 ac_save_LDFLAGS=$LDFLAGS
9199 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9200 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9201 # check for ICE first), but we must link in the order -lSM -lICE or
9202 # we get undefined symbols. So assume we have SM if we have ICE.
9203 # These have to be linked with before -lX11, unlike the other
9204 # libraries we check for below, so use a different variable.
9205 # John Interrante, Karl Berry
9206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9207 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9208 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9209 $as_echo_n "(cached) " >&6
9210 else
9211 ac_check_lib_save_LIBS=$LIBS
9212 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9214 /* end confdefs.h. */
9216 /* Override any GCC internal prototype to avoid an error.
9217 Use char because int might match the return type of a GCC
9218 builtin and then its argument prototype would still apply. */
9219 #ifdef __cplusplus
9220 extern "C"
9221 #endif
9222 char IceConnectionNumber ();
9224 main ()
9226 return IceConnectionNumber ();
9228 return 0;
9230 _ACEOF
9231 if ac_fn_c_try_link "$LINENO"; then :
9232 ac_cv_lib_ICE_IceConnectionNumber=yes
9233 else
9234 ac_cv_lib_ICE_IceConnectionNumber=no
9236 rm -f core conftest.err conftest.$ac_objext \
9237 conftest$ac_exeext conftest.$ac_ext
9238 LIBS=$ac_check_lib_save_LIBS
9240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9241 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9242 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9243 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9246 LDFLAGS=$ac_save_LDFLAGS
9251 if test "$have_x" = "yes"
9252 then
9253 ac_save_CPPFLAGS="$CPPFLAGS"
9254 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9257 $as_echo_n "checking for -lX11... " >&6; }
9258 if ${ac_cv_lib_soname_X11+:} false; then :
9259 $as_echo_n "(cached) " >&6
9260 else
9261 ac_check_soname_save_LIBS=$LIBS
9262 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9264 /* end confdefs.h. */
9266 /* Override any GCC internal prototype to avoid an error.
9267 Use char because int might match the return type of a GCC
9268 builtin and then its argument prototype would still apply. */
9269 #ifdef __cplusplus
9270 extern "C"
9271 #endif
9272 char XCreateWindow ();
9274 main ()
9276 return XCreateWindow ();
9278 return 0;
9280 _ACEOF
9281 if ac_fn_c_try_link "$LINENO"; then :
9282 case "$LIBEXT" in
9283 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9284 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'` ;;
9285 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9286 if ${ac_cv_lib_soname_X11:+false} :; then :
9287 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9288 fi ;;
9289 esac
9291 rm -f core conftest.err conftest.$ac_objext \
9292 conftest$ac_exeext conftest.$ac_ext
9293 LIBS=$ac_check_soname_save_LIBS
9295 if ${ac_cv_lib_soname_X11:+false} :; then :
9296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9297 $as_echo "not found" >&6; }
9299 else
9300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9301 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9303 cat >>confdefs.h <<_ACEOF
9304 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9305 _ACEOF
9309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9310 $as_echo_n "checking for -lXext... " >&6; }
9311 if ${ac_cv_lib_soname_Xext+:} false; then :
9312 $as_echo_n "(cached) " >&6
9313 else
9314 ac_check_soname_save_LIBS=$LIBS
9315 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9317 /* end confdefs.h. */
9319 /* Override any GCC internal prototype to avoid an error.
9320 Use char because int might match the return type of a GCC
9321 builtin and then its argument prototype would still apply. */
9322 #ifdef __cplusplus
9323 extern "C"
9324 #endif
9325 char XextCreateExtension ();
9327 main ()
9329 return XextCreateExtension ();
9331 return 0;
9333 _ACEOF
9334 if ac_fn_c_try_link "$LINENO"; then :
9335 case "$LIBEXT" in
9336 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9337 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'` ;;
9338 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9339 if ${ac_cv_lib_soname_Xext:+false} :; then :
9340 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9341 fi ;;
9342 esac
9344 rm -f core conftest.err conftest.$ac_objext \
9345 conftest$ac_exeext conftest.$ac_ext
9346 LIBS=$ac_check_soname_save_LIBS
9348 if ${ac_cv_lib_soname_Xext:+false} :; then :
9349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9350 $as_echo "not found" >&6; }
9352 else
9353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9354 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9356 cat >>confdefs.h <<_ACEOF
9357 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9358 _ACEOF
9360 X_LIBS="$X_LIBS -lXext"
9362 X_LIBS="$X_LIBS -lX11"
9364 for ac_header in X11/Xlib.h \
9365 X11/XKBlib.h \
9366 X11/Xutil.h \
9367 X11/Xcursor/Xcursor.h \
9368 X11/extensions/shape.h \
9369 X11/extensions/XInput.h \
9370 X11/extensions/XInput2.h \
9371 X11/extensions/XShm.h \
9372 X11/extensions/Xcomposite.h \
9373 X11/extensions/Xinerama.h \
9374 X11/extensions/Xrandr.h \
9375 X11/extensions/Xrender.h \
9376 X11/extensions/xf86vmode.h \
9377 X11/extensions/xf86vmproto.h
9378 do :
9379 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9380 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9381 # include <X11/Xlib.h>
9382 #endif
9383 #ifdef HAVE_X11_XUTIL_H
9384 # include <X11/Xutil.h>
9385 #endif
9387 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9388 cat >>confdefs.h <<_ACEOF
9389 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9390 _ACEOF
9394 done
9397 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9398 then
9399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9400 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9401 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9402 $as_echo_n "(cached) " >&6
9403 else
9404 ac_check_lib_save_LIBS=$LIBS
9405 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9407 /* end confdefs.h. */
9409 /* Override any GCC internal prototype to avoid an error.
9410 Use char because int might match the return type of a GCC
9411 builtin and then its argument prototype would still apply. */
9412 #ifdef __cplusplus
9413 extern "C"
9414 #endif
9415 char XkbQueryExtension ();
9417 main ()
9419 return XkbQueryExtension ();
9421 return 0;
9423 _ACEOF
9424 if ac_fn_c_try_link "$LINENO"; then :
9425 ac_cv_lib_X11_XkbQueryExtension=yes
9426 else
9427 ac_cv_lib_X11_XkbQueryExtension=no
9429 rm -f core conftest.err conftest.$ac_objext \
9430 conftest$ac_exeext conftest.$ac_ext
9431 LIBS=$ac_check_lib_save_LIBS
9433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9434 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9435 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9437 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9443 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9444 then
9445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9446 $as_echo_n "checking for -lXcursor... " >&6; }
9447 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9448 $as_echo_n "(cached) " >&6
9449 else
9450 ac_check_soname_save_LIBS=$LIBS
9451 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9453 /* end confdefs.h. */
9455 /* Override any GCC internal prototype to avoid an error.
9456 Use char because int might match the return type of a GCC
9457 builtin and then its argument prototype would still apply. */
9458 #ifdef __cplusplus
9459 extern "C"
9460 #endif
9461 char XcursorImageLoadCursor ();
9463 main ()
9465 return XcursorImageLoadCursor ();
9467 return 0;
9469 _ACEOF
9470 if ac_fn_c_try_link "$LINENO"; then :
9471 case "$LIBEXT" in
9472 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9473 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'` ;;
9474 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9475 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9476 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9477 fi ;;
9478 esac
9480 rm -f core conftest.err conftest.$ac_objext \
9481 conftest$ac_exeext conftest.$ac_ext
9482 LIBS=$ac_check_soname_save_LIBS
9484 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9486 $as_echo "not found" >&6; }
9488 else
9489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9490 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9492 cat >>confdefs.h <<_ACEOF
9493 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9494 _ACEOF
9499 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9500 case "x$with_xcursor" in
9501 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9502 xno) ;;
9503 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9504 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9505 esac
9508 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9509 then
9510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9511 $as_echo_n "checking for -lXi... " >&6; }
9512 if ${ac_cv_lib_soname_Xi+:} false; then :
9513 $as_echo_n "(cached) " >&6
9514 else
9515 ac_check_soname_save_LIBS=$LIBS
9516 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9518 /* end confdefs.h. */
9520 /* Override any GCC internal prototype to avoid an error.
9521 Use char because int might match the return type of a GCC
9522 builtin and then its argument prototype would still apply. */
9523 #ifdef __cplusplus
9524 extern "C"
9525 #endif
9526 char XOpenDevice ();
9528 main ()
9530 return XOpenDevice ();
9532 return 0;
9534 _ACEOF
9535 if ac_fn_c_try_link "$LINENO"; then :
9536 case "$LIBEXT" in
9537 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9538 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'` ;;
9539 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9540 if ${ac_cv_lib_soname_Xi:+false} :; then :
9541 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9542 fi ;;
9543 esac
9545 rm -f core conftest.err conftest.$ac_objext \
9546 conftest$ac_exeext conftest.$ac_ext
9547 LIBS=$ac_check_soname_save_LIBS
9549 if ${ac_cv_lib_soname_Xi:+false} :; then :
9550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9551 $as_echo "not found" >&6; }
9553 else
9554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9555 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9557 cat >>confdefs.h <<_ACEOF
9558 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9559 _ACEOF
9564 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9565 case "x$with_xinput" in
9566 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9567 xno) ;;
9568 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9569 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9570 esac
9573 if test "x$ac_cv_lib_soname_Xi" != x
9574 then
9575 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9576 case "x$with_xinput2" in
9577 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9578 xno) ;;
9579 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9580 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9581 esac
9585 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9586 then
9587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9588 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9589 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9590 $as_echo_n "(cached) " >&6
9591 else
9592 ac_check_lib_save_LIBS=$LIBS
9593 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9595 /* end confdefs.h. */
9597 /* Override any GCC internal prototype to avoid an error.
9598 Use char because int might match the return type of a GCC
9599 builtin and then its argument prototype would still apply. */
9600 #ifdef __cplusplus
9601 extern "C"
9602 #endif
9603 char XShmQueryExtension ();
9605 main ()
9607 return XShmQueryExtension ();
9609 return 0;
9611 _ACEOF
9612 if ac_fn_c_try_link "$LINENO"; then :
9613 ac_cv_lib_Xext_XShmQueryExtension=yes
9614 else
9615 ac_cv_lib_Xext_XShmQueryExtension=no
9617 rm -f core conftest.err conftest.$ac_objext \
9618 conftest$ac_exeext conftest.$ac_ext
9619 LIBS=$ac_check_lib_save_LIBS
9621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9622 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9623 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9625 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9630 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9631 case "x$with_xshm" in
9632 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9633 xno) ;;
9634 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9635 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9636 esac
9639 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9640 then
9641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9642 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9643 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9644 $as_echo_n "(cached) " >&6
9645 else
9646 ac_check_lib_save_LIBS=$LIBS
9647 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9649 /* end confdefs.h. */
9651 /* Override any GCC internal prototype to avoid an error.
9652 Use char because int might match the return type of a GCC
9653 builtin and then its argument prototype would still apply. */
9654 #ifdef __cplusplus
9655 extern "C"
9656 #endif
9657 char XShapeQueryExtension ();
9659 main ()
9661 return XShapeQueryExtension ();
9663 return 0;
9665 _ACEOF
9666 if ac_fn_c_try_link "$LINENO"; then :
9667 ac_cv_lib_Xext_XShapeQueryExtension=yes
9668 else
9669 ac_cv_lib_Xext_XShapeQueryExtension=no
9671 rm -f core conftest.err conftest.$ac_objext \
9672 conftest$ac_exeext conftest.$ac_ext
9673 LIBS=$ac_check_lib_save_LIBS
9675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9676 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9677 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9679 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9684 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9685 case "x$with_xshape" in
9686 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9687 xno) ;;
9688 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
9689 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9690 esac
9693 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9694 then
9695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9696 $as_echo_n "checking for -lXxf86vm... " >&6; }
9697 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
9698 $as_echo_n "(cached) " >&6
9699 else
9700 ac_check_soname_save_LIBS=$LIBS
9701 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9703 /* end confdefs.h. */
9705 /* Override any GCC internal prototype to avoid an error.
9706 Use char because int might match the return type of a GCC
9707 builtin and then its argument prototype would still apply. */
9708 #ifdef __cplusplus
9709 extern "C"
9710 #endif
9711 char XF86VidModeQueryExtension ();
9713 main ()
9715 return XF86VidModeQueryExtension ();
9717 return 0;
9719 _ACEOF
9720 if ac_fn_c_try_link "$LINENO"; then :
9721 case "$LIBEXT" in
9722 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9723 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'` ;;
9724 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9725 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9726 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9727 fi ;;
9728 esac
9730 rm -f core conftest.err conftest.$ac_objext \
9731 conftest$ac_exeext conftest.$ac_ext
9732 LIBS=$ac_check_soname_save_LIBS
9734 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9736 $as_echo "not found" >&6; }
9738 else
9739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9740 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9742 cat >>confdefs.h <<_ACEOF
9743 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9744 _ACEOF
9749 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9750 case "x$with_xxf86vm" in
9751 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9752 xno) ;;
9753 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9754 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9755 esac
9758 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"
9759 then
9760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9761 $as_echo_n "checking for -lXrender... " >&6; }
9762 if ${ac_cv_lib_soname_Xrender+:} false; then :
9763 $as_echo_n "(cached) " >&6
9764 else
9765 ac_check_soname_save_LIBS=$LIBS
9766 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9768 /* end confdefs.h. */
9770 /* Override any GCC internal prototype to avoid an error.
9771 Use char because int might match the return type of a GCC
9772 builtin and then its argument prototype would still apply. */
9773 #ifdef __cplusplus
9774 extern "C"
9775 #endif
9776 char XRenderQueryExtension ();
9778 main ()
9780 return XRenderQueryExtension ();
9782 return 0;
9784 _ACEOF
9785 if ac_fn_c_try_link "$LINENO"; then :
9786 case "$LIBEXT" in
9787 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9788 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'` ;;
9789 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9790 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9791 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9792 fi ;;
9793 esac
9795 rm -f core conftest.err conftest.$ac_objext \
9796 conftest$ac_exeext conftest.$ac_ext
9797 LIBS=$ac_check_soname_save_LIBS
9799 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9801 $as_echo "not found" >&6; }
9803 else
9804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9805 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9807 cat >>confdefs.h <<_ACEOF
9808 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9809 _ACEOF
9811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9812 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9813 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
9814 $as_echo_n "(cached) " >&6
9815 else
9816 ac_check_lib_save_LIBS=$LIBS
9817 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9819 /* end confdefs.h. */
9821 /* Override any GCC internal prototype to avoid an error.
9822 Use char because int might match the return type of a GCC
9823 builtin and then its argument prototype would still apply. */
9824 #ifdef __cplusplus
9825 extern "C"
9826 #endif
9827 char XRenderSetPictureTransform ();
9829 main ()
9831 return XRenderSetPictureTransform ();
9833 return 0;
9835 _ACEOF
9836 if ac_fn_c_try_link "$LINENO"; then :
9837 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9838 else
9839 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9841 rm -f core conftest.err conftest.$ac_objext \
9842 conftest$ac_exeext conftest.$ac_ext
9843 LIBS=$ac_check_lib_save_LIBS
9845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9846 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9847 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
9849 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9854 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9855 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
9856 $as_echo_n "(cached) " >&6
9857 else
9858 ac_check_lib_save_LIBS=$LIBS
9859 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9861 /* end confdefs.h. */
9863 /* Override any GCC internal prototype to avoid an error.
9864 Use char because int might match the return type of a GCC
9865 builtin and then its argument prototype would still apply. */
9866 #ifdef __cplusplus
9867 extern "C"
9868 #endif
9869 char XRenderCreateLinearGradient ();
9871 main ()
9873 return XRenderCreateLinearGradient ();
9875 return 0;
9877 _ACEOF
9878 if ac_fn_c_try_link "$LINENO"; then :
9879 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
9880 else
9881 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
9883 rm -f core conftest.err conftest.$ac_objext \
9884 conftest$ac_exeext conftest.$ac_ext
9885 LIBS=$ac_check_lib_save_LIBS
9887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9888 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9889 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
9891 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9898 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9899 case "x$with_xrender" in
9900 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9901 xno) ;;
9902 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
9903 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9904 esac
9907 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9908 then
9909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9910 /* end confdefs.h. */
9911 #include <X11/Xlib.h>
9912 #include <X11/extensions/Xrandr.h>
9914 main ()
9916 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9918 return 0;
9920 _ACEOF
9921 if ac_fn_c_try_compile "$LINENO"; then :
9922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9923 $as_echo_n "checking for -lXrandr... " >&6; }
9924 if ${ac_cv_lib_soname_Xrandr+:} false; then :
9925 $as_echo_n "(cached) " >&6
9926 else
9927 ac_check_soname_save_LIBS=$LIBS
9928 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
9929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9930 /* end confdefs.h. */
9932 /* Override any GCC internal prototype to avoid an error.
9933 Use char because int might match the return type of a GCC
9934 builtin and then its argument prototype would still apply. */
9935 #ifdef __cplusplus
9936 extern "C"
9937 #endif
9938 char XRRQueryExtension ();
9940 main ()
9942 return XRRQueryExtension ();
9944 return 0;
9946 _ACEOF
9947 if ac_fn_c_try_link "$LINENO"; then :
9948 case "$LIBEXT" in
9949 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9950 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'` ;;
9951 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9952 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
9953 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9954 fi ;;
9955 esac
9957 rm -f core conftest.err conftest.$ac_objext \
9958 conftest$ac_exeext conftest.$ac_ext
9959 LIBS=$ac_check_soname_save_LIBS
9961 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
9962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9963 $as_echo "not found" >&6; }
9965 else
9966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
9967 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
9969 cat >>confdefs.h <<_ACEOF
9970 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
9971 _ACEOF
9973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9974 /* end confdefs.h. */
9975 #include <X11/Xlib.h>
9976 #include <X11/extensions/Xrandr.h>
9978 main ()
9980 static typeof(XRRGetScreenResources) *f; if (f) return 0;
9982 return 0;
9984 _ACEOF
9985 if ac_fn_c_try_compile "$LINENO"; then :
9987 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
9990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9995 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
9996 case "x$with_xrandr" in
9997 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
9998 xno) ;;
9999 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10000 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10001 esac
10004 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10005 then
10006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10007 /* end confdefs.h. */
10008 #include <X11/Xlib.h>
10009 #include <X11/extensions/Xinerama.h>
10011 main ()
10013 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10015 return 0;
10017 _ACEOF
10018 if ac_fn_c_try_compile "$LINENO"; then :
10019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10020 $as_echo_n "checking for -lXinerama... " >&6; }
10021 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10022 $as_echo_n "(cached) " >&6
10023 else
10024 ac_check_soname_save_LIBS=$LIBS
10025 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10027 /* end confdefs.h. */
10029 /* Override any GCC internal prototype to avoid an error.
10030 Use char because int might match the return type of a GCC
10031 builtin and then its argument prototype would still apply. */
10032 #ifdef __cplusplus
10033 extern "C"
10034 #endif
10035 char XineramaQueryScreens ();
10037 main ()
10039 return XineramaQueryScreens ();
10041 return 0;
10043 _ACEOF
10044 if ac_fn_c_try_link "$LINENO"; then :
10045 case "$LIBEXT" in
10046 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10047 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'` ;;
10048 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10049 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10050 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10051 fi ;;
10052 esac
10054 rm -f core conftest.err conftest.$ac_objext \
10055 conftest$ac_exeext conftest.$ac_ext
10056 LIBS=$ac_check_soname_save_LIBS
10058 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10060 $as_echo "not found" >&6; }
10062 else
10063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10064 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10066 cat >>confdefs.h <<_ACEOF
10067 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10068 _ACEOF
10073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10075 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10076 case "x$with_xinerama" in
10077 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10078 xno) ;;
10079 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10080 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10081 esac
10084 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10085 then
10086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10087 $as_echo_n "checking for -lXcomposite... " >&6; }
10088 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10089 $as_echo_n "(cached) " >&6
10090 else
10091 ac_check_soname_save_LIBS=$LIBS
10092 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10094 /* end confdefs.h. */
10096 /* Override any GCC internal prototype to avoid an error.
10097 Use char because int might match the return type of a GCC
10098 builtin and then its argument prototype would still apply. */
10099 #ifdef __cplusplus
10100 extern "C"
10101 #endif
10102 char XCompositeRedirectWindow ();
10104 main ()
10106 return XCompositeRedirectWindow ();
10108 return 0;
10110 _ACEOF
10111 if ac_fn_c_try_link "$LINENO"; then :
10112 case "$LIBEXT" in
10113 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10114 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'` ;;
10115 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10116 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10117 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10118 fi ;;
10119 esac
10121 rm -f core conftest.err conftest.$ac_objext \
10122 conftest$ac_exeext conftest.$ac_ext
10123 LIBS=$ac_check_soname_save_LIBS
10125 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10127 $as_echo "not found" >&6; }
10129 else
10130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10131 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10133 cat >>confdefs.h <<_ACEOF
10134 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10135 _ACEOF
10140 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10141 case "x$with_xcomposite" in
10142 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10143 xno) ;;
10144 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10145 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10146 esac
10149 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10150 #include <X11/Xlib.h>
10151 #endif
10153 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10155 cat >>confdefs.h <<_ACEOF
10156 #define HAVE_XICCALLBACK_CALLBACK 1
10157 _ACEOF
10161 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10162 #include <X11/Xlib.h>
10163 #endif
10165 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10167 cat >>confdefs.h <<_ACEOF
10168 #define HAVE_XEVENT_XCOOKIE 1
10169 _ACEOF
10176 opengl_msg=""
10177 if test "x$with_opengl" != "xno"
10178 then
10179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10180 $as_echo_n "checking for -lGL... " >&6; }
10181 if ${ac_cv_lib_soname_GL+:} false; then :
10182 $as_echo_n "(cached) " >&6
10183 else
10184 ac_check_soname_save_LIBS=$LIBS
10185 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10187 /* end confdefs.h. */
10189 /* Override any GCC internal prototype to avoid an error.
10190 Use char because int might match the return type of a GCC
10191 builtin and then its argument prototype would still apply. */
10192 #ifdef __cplusplus
10193 extern "C"
10194 #endif
10195 char glXCreateContext ();
10197 main ()
10199 return glXCreateContext ();
10201 return 0;
10203 _ACEOF
10204 if ac_fn_c_try_link "$LINENO"; then :
10205 case "$LIBEXT" in
10206 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10207 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'` ;;
10208 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10209 if ${ac_cv_lib_soname_GL:+false} :; then :
10210 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10211 fi ;;
10212 esac
10214 rm -f core conftest.err conftest.$ac_objext \
10215 conftest$ac_exeext conftest.$ac_ext
10216 LIBS=$ac_check_soname_save_LIBS
10218 if ${ac_cv_lib_soname_GL:+false} :; then :
10219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10220 $as_echo "not found" >&6; }
10221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10222 $as_echo_n "checking for -lGL... " >&6; }
10223 if ${ac_cv_lib_soname_GL+:} false; then :
10224 $as_echo_n "(cached) " >&6
10225 else
10226 ac_check_soname_save_LIBS=$LIBS
10227 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"
10228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10229 /* end confdefs.h. */
10231 /* Override any GCC internal prototype to avoid an error.
10232 Use char because int might match the return type of a GCC
10233 builtin and then its argument prototype would still apply. */
10234 #ifdef __cplusplus
10235 extern "C"
10236 #endif
10237 char glXCreateContext ();
10239 main ()
10241 return glXCreateContext ();
10243 return 0;
10245 _ACEOF
10246 if ac_fn_c_try_link "$LINENO"; then :
10247 case "$LIBEXT" in
10248 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10249 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'` ;;
10250 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10251 if ${ac_cv_lib_soname_GL:+false} :; then :
10252 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10253 fi ;;
10254 esac
10256 rm -f core conftest.err conftest.$ac_objext \
10257 conftest$ac_exeext conftest.$ac_ext
10258 LIBS=$ac_check_soname_save_LIBS
10260 if ${ac_cv_lib_soname_GL:+false} :; then :
10261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10262 $as_echo "not found" >&6; }
10263 if test -f /usr/X11R6/lib/libGL.a
10264 then
10265 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10266 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10267 else
10268 opengl_msg="No OpenGL library found on this system."
10270 else
10271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10272 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10274 cat >>confdefs.h <<_ACEOF
10275 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10276 _ACEOF
10278 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"
10280 else
10281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10282 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10284 cat >>confdefs.h <<_ACEOF
10285 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10286 _ACEOF
10288 OPENGL_LIBS="-lGL"
10290 if test "x$with_glu" != "xno"
10291 then
10292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10293 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10294 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10295 $as_echo_n "(cached) " >&6
10296 else
10297 ac_check_lib_save_LIBS=$LIBS
10298 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10300 /* end confdefs.h. */
10302 /* Override any GCC internal prototype to avoid an error.
10303 Use char because int might match the return type of a GCC
10304 builtin and then its argument prototype would still apply. */
10305 #ifdef __cplusplus
10306 extern "C"
10307 #endif
10308 char gluLookAt ();
10310 main ()
10312 return gluLookAt ();
10314 return 0;
10316 _ACEOF
10317 if ac_fn_c_try_link "$LINENO"; then :
10318 ac_cv_lib_GLU_gluLookAt=yes
10319 else
10320 ac_cv_lib_GLU_gluLookAt=no
10322 rm -f core conftest.err conftest.$ac_objext \
10323 conftest$ac_exeext conftest.$ac_ext
10324 LIBS=$ac_check_lib_save_LIBS
10326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10327 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10328 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10332 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10333 case "x$with_glu" in
10334 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10335 xno) ;;
10336 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10337 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10338 esac
10342 if test "x$with_osmesa" != "xno"
10343 then
10344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10345 $as_echo_n "checking for -lOSMesa... " >&6; }
10346 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10347 $as_echo_n "(cached) " >&6
10348 else
10349 ac_check_soname_save_LIBS=$LIBS
10350 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10352 /* end confdefs.h. */
10354 /* Override any GCC internal prototype to avoid an error.
10355 Use char because int might match the return type of a GCC
10356 builtin and then its argument prototype would still apply. */
10357 #ifdef __cplusplus
10358 extern "C"
10359 #endif
10360 char glAccum ();
10362 main ()
10364 return glAccum ();
10366 return 0;
10368 _ACEOF
10369 if ac_fn_c_try_link "$LINENO"; then :
10370 case "$LIBEXT" in
10371 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10372 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'` ;;
10373 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10374 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10375 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10376 fi ;;
10377 esac
10379 rm -f core conftest.err conftest.$ac_objext \
10380 conftest$ac_exeext conftest.$ac_ext
10381 LIBS=$ac_check_soname_save_LIBS
10383 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10385 $as_echo "not found" >&6; }
10387 else
10388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10389 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10391 cat >>confdefs.h <<_ACEOF
10392 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10393 _ACEOF
10397 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10398 case "x$with_osmesa" in
10399 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10400 xno) ;;
10401 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10402 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10403 esac
10407 if test -n "$opengl_msg"; then :
10408 case "x$with_opengl" in
10409 x) as_fn_append wine_warnings "|$opengl_msg
10410 OpenGL and Direct3D won't be supported." ;;
10411 xno) ;;
10412 *) as_fn_error $? "$opengl_msg
10413 OpenGL and Direct3D won't be supported.
10414 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10415 esac
10418 CPPFLAGS="$ac_save_CPPFLAGS"
10419 else
10420 X_CFLAGS=""
10421 X_LIBS=""
10422 enable_winex11_drv=${enable_winex11_drv:-no}
10424 if test "x$X_LIBS" = "x"; then :
10425 case "x$with_x" in
10426 xno) ;;
10427 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10428 without X support, which probably isn't what you want. You will need
10429 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10430 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10431 esac
10434 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10436 if test "$ac_cv_header_CL_cl_h" = "yes"
10437 then
10438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10439 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10440 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10441 $as_echo_n "(cached) " >&6
10442 else
10443 ac_check_lib_save_LIBS=$LIBS
10444 LIBS="-lOpenCL $LIBS"
10445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10446 /* end confdefs.h. */
10448 /* Override any GCC internal prototype to avoid an error.
10449 Use char because int might match the return type of a GCC
10450 builtin and then its argument prototype would still apply. */
10451 #ifdef __cplusplus
10452 extern "C"
10453 #endif
10454 char clGetPlatformInfo ();
10456 main ()
10458 return clGetPlatformInfo ();
10460 return 0;
10462 _ACEOF
10463 if ac_fn_c_try_link "$LINENO"; then :
10464 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10465 else
10466 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10468 rm -f core conftest.err conftest.$ac_objext \
10469 conftest$ac_exeext conftest.$ac_ext
10470 LIBS=$ac_check_lib_save_LIBS
10472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10473 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10474 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10475 OPENCL_LIBS="-lOpenCL"
10480 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10481 case "x$with_opencl" in
10482 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10483 xno) ;;
10484 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10485 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10486 esac
10488 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10491 if test "x$with_xml" != "xno"
10492 then
10493 if ${XML2_CFLAGS:+false} :; then :
10494 if ${PKG_CONFIG+:} false; then :
10495 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10498 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10499 if ${XML2_LIBS:+false} :; then :
10500 if ${PKG_CONFIG+:} false; then :
10501 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10504 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10505 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10506 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10507 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10508 ac_save_CPPFLAGS=$CPPFLAGS
10509 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10510 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10511 do :
10512 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10513 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10514 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10515 cat >>confdefs.h <<_ACEOF
10516 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10517 _ACEOF
10521 done
10523 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"
10524 then
10525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10526 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10527 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10528 $as_echo_n "(cached) " >&6
10529 else
10530 ac_check_lib_save_LIBS=$LIBS
10531 LIBS="-lxml2 $XML2_LIBS $LIBS"
10532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10533 /* end confdefs.h. */
10535 /* Override any GCC internal prototype to avoid an error.
10536 Use char because int might match the return type of a GCC
10537 builtin and then its argument prototype would still apply. */
10538 #ifdef __cplusplus
10539 extern "C"
10540 #endif
10541 char xmlParseMemory ();
10543 main ()
10545 return xmlParseMemory ();
10547 return 0;
10549 _ACEOF
10550 if ac_fn_c_try_link "$LINENO"; then :
10551 ac_cv_lib_xml2_xmlParseMemory=yes
10552 else
10553 ac_cv_lib_xml2_xmlParseMemory=no
10555 rm -f core conftest.err conftest.$ac_objext \
10556 conftest$ac_exeext conftest.$ac_ext
10557 LIBS=$ac_check_lib_save_LIBS
10559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10560 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10561 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10563 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10565 else
10566 XML2_LIBS=""
10569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10570 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10571 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10572 $as_echo_n "(cached) " >&6
10573 else
10574 ac_check_lib_save_LIBS=$LIBS
10575 LIBS="-lxml2 $XML2_LIBS $LIBS"
10576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10577 /* end confdefs.h. */
10579 /* Override any GCC internal prototype to avoid an error.
10580 Use char because int might match the return type of a GCC
10581 builtin and then its argument prototype would still apply. */
10582 #ifdef __cplusplus
10583 extern "C"
10584 #endif
10585 char xmlReadMemory ();
10587 main ()
10589 return xmlReadMemory ();
10591 return 0;
10593 _ACEOF
10594 if ac_fn_c_try_link "$LINENO"; then :
10595 ac_cv_lib_xml2_xmlReadMemory=yes
10596 else
10597 ac_cv_lib_xml2_xmlReadMemory=no
10599 rm -f core conftest.err conftest.$ac_objext \
10600 conftest$ac_exeext conftest.$ac_ext
10601 LIBS=$ac_check_lib_save_LIBS
10603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10604 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10605 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
10607 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10612 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10613 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
10614 $as_echo_n "(cached) " >&6
10615 else
10616 ac_check_lib_save_LIBS=$LIBS
10617 LIBS="-lxml2 $XML2_LIBS $LIBS"
10618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10619 /* end confdefs.h. */
10621 /* Override any GCC internal prototype to avoid an error.
10622 Use char because int might match the return type of a GCC
10623 builtin and then its argument prototype would still apply. */
10624 #ifdef __cplusplus
10625 extern "C"
10626 #endif
10627 char xmlNewDocPI ();
10629 main ()
10631 return xmlNewDocPI ();
10633 return 0;
10635 _ACEOF
10636 if ac_fn_c_try_link "$LINENO"; then :
10637 ac_cv_lib_xml2_xmlNewDocPI=yes
10638 else
10639 ac_cv_lib_xml2_xmlNewDocPI=no
10641 rm -f core conftest.err conftest.$ac_objext \
10642 conftest$ac_exeext conftest.$ac_ext
10643 LIBS=$ac_check_lib_save_LIBS
10645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10646 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10647 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
10649 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10654 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10655 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
10656 $as_echo_n "(cached) " >&6
10657 else
10658 ac_check_lib_save_LIBS=$LIBS
10659 LIBS="-lxml2 $XML2_LIBS $LIBS"
10660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10661 /* end confdefs.h. */
10663 /* Override any GCC internal prototype to avoid an error.
10664 Use char because int might match the return type of a GCC
10665 builtin and then its argument prototype would still apply. */
10666 #ifdef __cplusplus
10667 extern "C"
10668 #endif
10669 char xmlSchemaSetParserStructuredErrors ();
10671 main ()
10673 return xmlSchemaSetParserStructuredErrors ();
10675 return 0;
10677 _ACEOF
10678 if ac_fn_c_try_link "$LINENO"; then :
10679 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
10680 else
10681 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
10683 rm -f core conftest.err conftest.$ac_objext \
10684 conftest$ac_exeext conftest.$ac_ext
10685 LIBS=$ac_check_lib_save_LIBS
10687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10688 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10689 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
10691 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10696 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10697 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
10698 $as_echo_n "(cached) " >&6
10699 else
10700 ac_check_lib_save_LIBS=$LIBS
10701 LIBS="-lxml2 $XML2_LIBS $LIBS"
10702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10703 /* end confdefs.h. */
10705 /* Override any GCC internal prototype to avoid an error.
10706 Use char because int might match the return type of a GCC
10707 builtin and then its argument prototype would still apply. */
10708 #ifdef __cplusplus
10709 extern "C"
10710 #endif
10711 char xmlSchemaSetValidStructuredErrors ();
10713 main ()
10715 return xmlSchemaSetValidStructuredErrors ();
10717 return 0;
10719 _ACEOF
10720 if ac_fn_c_try_link "$LINENO"; then :
10721 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
10722 else
10723 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
10725 rm -f core conftest.err conftest.$ac_objext \
10726 conftest$ac_exeext conftest.$ac_ext
10727 LIBS=$ac_check_lib_save_LIBS
10729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10730 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10731 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
10733 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10738 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10739 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
10740 $as_echo_n "(cached) " >&6
10741 else
10742 ac_check_lib_save_LIBS=$LIBS
10743 LIBS="-lxml2 $XML2_LIBS $LIBS"
10744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10745 /* end confdefs.h. */
10747 /* Override any GCC internal prototype to avoid an error.
10748 Use char because int might match the return type of a GCC
10749 builtin and then its argument prototype would still apply. */
10750 #ifdef __cplusplus
10751 extern "C"
10752 #endif
10753 char xmlFirstElementChild ();
10755 main ()
10757 return xmlFirstElementChild ();
10759 return 0;
10761 _ACEOF
10762 if ac_fn_c_try_link "$LINENO"; then :
10763 ac_cv_lib_xml2_xmlFirstElementChild=yes
10764 else
10765 ac_cv_lib_xml2_xmlFirstElementChild=no
10767 rm -f core conftest.err conftest.$ac_objext \
10768 conftest$ac_exeext conftest.$ac_ext
10769 LIBS=$ac_check_lib_save_LIBS
10771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10772 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10773 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
10775 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10779 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10781 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
10783 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10787 else
10788 XML2_CFLAGS=""
10789 XML2_LIBS=""
10791 CPPFLAGS=$ac_save_CPPFLAGS
10792 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10793 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10796 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10797 case "x$with_xml" in
10798 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10799 xno) ;;
10800 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10801 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10802 esac
10805 if test "x$with_xslt" != "xno"
10806 then
10807 if ${XSLT_CFLAGS:+false} :; then :
10808 if ${PKG_CONFIG+:} false; then :
10809 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10812 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10813 if ${XSLT_LIBS:+false} :; then :
10814 if ${PKG_CONFIG+:} false; then :
10815 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10818 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10819 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
10820 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
10821 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
10822 ac_save_CPPFLAGS=$CPPFLAGS
10823 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
10824 for ac_header in libxslt/pattern.h libxslt/transform.h
10825 do :
10826 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10827 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10828 # include <libxslt/pattern.h>
10829 #endif
10831 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10832 cat >>confdefs.h <<_ACEOF
10833 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10834 _ACEOF
10838 done
10840 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10841 then
10842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10843 $as_echo_n "checking for -lxslt... " >&6; }
10844 if ${ac_cv_lib_soname_xslt+:} false; then :
10845 $as_echo_n "(cached) " >&6
10846 else
10847 ac_check_soname_save_LIBS=$LIBS
10848 LIBS="-lxslt $XSLT_LIBS $LIBS"
10849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10850 /* end confdefs.h. */
10852 /* Override any GCC internal prototype to avoid an error.
10853 Use char because int might match the return type of a GCC
10854 builtin and then its argument prototype would still apply. */
10855 #ifdef __cplusplus
10856 extern "C"
10857 #endif
10858 char xsltCompilePattern ();
10860 main ()
10862 return xsltCompilePattern ();
10864 return 0;
10866 _ACEOF
10867 if ac_fn_c_try_link "$LINENO"; then :
10868 case "$LIBEXT" in
10869 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10870 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'` ;;
10871 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10872 if ${ac_cv_lib_soname_xslt:+false} :; then :
10873 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10874 fi ;;
10875 esac
10877 rm -f core conftest.err conftest.$ac_objext \
10878 conftest$ac_exeext conftest.$ac_ext
10879 LIBS=$ac_check_soname_save_LIBS
10881 if ${ac_cv_lib_soname_xslt:+false} :; then :
10882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10883 $as_echo "not found" >&6; }
10885 else
10886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
10887 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
10889 cat >>confdefs.h <<_ACEOF
10890 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
10891 _ACEOF
10895 else
10896 XSLT_CFLAGS=""
10898 CPPFLAGS=$ac_save_CPPFLAGS
10899 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10900 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10903 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10904 case "x$with_xslt" in
10905 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
10906 xno) ;;
10907 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
10908 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
10909 esac
10912 if test "x$with_dbus" != "xno"
10913 then
10914 if ${DBUS_CFLAGS:+false} :; then :
10915 if ${PKG_CONFIG+:} false; then :
10916 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
10920 if ${DBUS_LIBS:+false} :; then :
10921 if ${PKG_CONFIG+:} false; then :
10922 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
10927 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
10928 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
10929 ac_save_CPPFLAGS=$CPPFLAGS
10930 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
10931 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
10932 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
10933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
10934 $as_echo_n "checking for -ldbus-1... " >&6; }
10935 if ${ac_cv_lib_soname_dbus_1+:} false; then :
10936 $as_echo_n "(cached) " >&6
10937 else
10938 ac_check_soname_save_LIBS=$LIBS
10939 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
10940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10941 /* end confdefs.h. */
10943 /* Override any GCC internal prototype to avoid an error.
10944 Use char because int might match the return type of a GCC
10945 builtin and then its argument prototype would still apply. */
10946 #ifdef __cplusplus
10947 extern "C"
10948 #endif
10949 char dbus_connection_close ();
10951 main ()
10953 return dbus_connection_close ();
10955 return 0;
10957 _ACEOF
10958 if ac_fn_c_try_link "$LINENO"; then :
10959 case "$LIBEXT" in
10960 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10961 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'` ;;
10962 *) 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'`
10963 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
10964 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10965 fi ;;
10966 esac
10968 rm -f core conftest.err conftest.$ac_objext \
10969 conftest$ac_exeext conftest.$ac_ext
10970 LIBS=$ac_check_soname_save_LIBS
10972 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
10973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10974 $as_echo "not found" >&6; }
10975 DBUS_CFLAGS=""
10976 else
10977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
10978 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
10980 cat >>confdefs.h <<_ACEOF
10981 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
10982 _ACEOF
10986 else
10987 DBUS_CFLAGS=""
10991 CPPFLAGS=$ac_save_CPPFLAGS
10992 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10993 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10996 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
10997 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
10998 case "x$with_dbus" in
10999 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11000 xno) ;;
11001 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11002 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11003 esac
11006 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11007 then
11008 if ${HAL_CFLAGS:+false} :; then :
11009 if ${PKG_CONFIG+:} false; then :
11010 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11014 if ${HAL_LIBS:+false} :; then :
11015 if ${PKG_CONFIG+:} false; then :
11016 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11020 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11021 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11022 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11023 ac_save_CPPFLAGS=$CPPFLAGS
11024 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11025 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11026 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11028 $as_echo_n "checking for -lhal... " >&6; }
11029 if ${ac_cv_lib_soname_hal+:} false; then :
11030 $as_echo_n "(cached) " >&6
11031 else
11032 ac_check_soname_save_LIBS=$LIBS
11033 LIBS="-lhal $HAL_LIBS $LIBS"
11034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11035 /* end confdefs.h. */
11037 /* Override any GCC internal prototype to avoid an error.
11038 Use char because int might match the return type of a GCC
11039 builtin and then its argument prototype would still apply. */
11040 #ifdef __cplusplus
11041 extern "C"
11042 #endif
11043 char libhal_ctx_new ();
11045 main ()
11047 return libhal_ctx_new ();
11049 return 0;
11051 _ACEOF
11052 if ac_fn_c_try_link "$LINENO"; then :
11053 case "$LIBEXT" in
11054 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11055 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'` ;;
11056 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11057 if ${ac_cv_lib_soname_hal:+false} :; then :
11058 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11059 fi ;;
11060 esac
11062 rm -f core conftest.err conftest.$ac_objext \
11063 conftest$ac_exeext conftest.$ac_ext
11064 LIBS=$ac_check_soname_save_LIBS
11066 if ${ac_cv_lib_soname_hal:+false} :; then :
11067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11068 $as_echo "not found" >&6; }
11069 HAL_CFLAGS=""
11070 else
11071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11072 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11074 cat >>confdefs.h <<_ACEOF
11075 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11076 _ACEOF
11080 else
11081 HAL_CFLAGS=""
11085 CPPFLAGS=$ac_save_CPPFLAGS
11086 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11087 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11089 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11090 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11091 case "x$with_hal" in
11092 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11093 xno) ;;
11094 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11095 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11096 esac
11100 if test "x$with_gnutls" != "xno"
11101 then
11102 if ${GNUTLS_CFLAGS:+false} :; then :
11103 if ${PKG_CONFIG+:} false; then :
11104 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11108 if ${GNUTLS_LIBS:+false} :; then :
11109 if ${PKG_CONFIG+:} false; then :
11110 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11115 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11116 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11117 ac_save_CPPFLAGS=$CPPFLAGS
11118 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11119 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11120 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11122 /* end confdefs.h. */
11123 #include <gnutls/gnutls.h>
11124 #include <gnutls/crypto.h>
11126 main ()
11128 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11130 return 0;
11132 _ACEOF
11133 if ac_fn_c_try_compile "$LINENO"; then :
11134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11135 $as_echo_n "checking for -lgnutls... " >&6; }
11136 if ${ac_cv_lib_soname_gnutls+:} false; then :
11137 $as_echo_n "(cached) " >&6
11138 else
11139 ac_check_soname_save_LIBS=$LIBS
11140 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11142 /* end confdefs.h. */
11144 /* Override any GCC internal prototype to avoid an error.
11145 Use char because int might match the return type of a GCC
11146 builtin and then its argument prototype would still apply. */
11147 #ifdef __cplusplus
11148 extern "C"
11149 #endif
11150 char gnutls_global_init ();
11152 main ()
11154 return gnutls_global_init ();
11156 return 0;
11158 _ACEOF
11159 if ac_fn_c_try_link "$LINENO"; then :
11160 case "$LIBEXT" in
11161 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11162 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'` ;;
11163 *) ac_cv_lib_soname_gnutls=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11164 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11165 ac_cv_lib_soname_gnutls=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11166 fi ;;
11167 esac
11169 rm -f core conftest.err conftest.$ac_objext \
11170 conftest$ac_exeext conftest.$ac_ext
11171 LIBS=$ac_check_soname_save_LIBS
11173 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11175 $as_echo "not found" >&6; }
11176 GNUTLS_CFLAGS=""
11177 else
11178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11179 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11181 cat >>confdefs.h <<_ACEOF
11182 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11183 _ACEOF
11188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11189 else
11190 GNUTLS_CFLAGS=""
11194 CPPFLAGS=$ac_save_CPPFLAGS
11195 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11196 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11199 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11200 case "x$with_gnutls" in
11201 x) as_fn_append wine_notices "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11202 xno) ;;
11203 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11204 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11205 esac
11208 CURSES_LIBS=""
11209 if test "$ac_cv_header_ncurses_h" = "yes"
11210 then
11211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11212 $as_echo_n "checking for -lncurses... " >&6; }
11213 if ${ac_cv_lib_soname_ncurses+:} false; then :
11214 $as_echo_n "(cached) " >&6
11215 else
11216 ac_check_soname_save_LIBS=$LIBS
11217 LIBS="-lncurses $LIBS"
11218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11219 /* end confdefs.h. */
11221 /* Override any GCC internal prototype to avoid an error.
11222 Use char because int might match the return type of a GCC
11223 builtin and then its argument prototype would still apply. */
11224 #ifdef __cplusplus
11225 extern "C"
11226 #endif
11227 char waddch ();
11229 main ()
11231 return waddch ();
11233 return 0;
11235 _ACEOF
11236 if ac_fn_c_try_link "$LINENO"; then :
11237 case "$LIBEXT" in
11238 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11239 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'` ;;
11240 *) ac_cv_lib_soname_ncurses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11241 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11242 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11243 fi ;;
11244 esac
11246 rm -f core conftest.err conftest.$ac_objext \
11247 conftest$ac_exeext conftest.$ac_ext
11248 LIBS=$ac_check_soname_save_LIBS
11250 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11252 $as_echo "not found" >&6; }
11254 else
11255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11256 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11258 cat >>confdefs.h <<_ACEOF
11259 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11260 _ACEOF
11262 CURSES_LIBS="-lncurses"
11264 elif test "$ac_cv_header_curses_h" = "yes"
11265 then
11266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11267 $as_echo_n "checking for -lcurses... " >&6; }
11268 if ${ac_cv_lib_soname_curses+:} false; then :
11269 $as_echo_n "(cached) " >&6
11270 else
11271 ac_check_soname_save_LIBS=$LIBS
11272 LIBS="-lcurses $LIBS"
11273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11274 /* end confdefs.h. */
11276 /* Override any GCC internal prototype to avoid an error.
11277 Use char because int might match the return type of a GCC
11278 builtin and then its argument prototype would still apply. */
11279 #ifdef __cplusplus
11280 extern "C"
11281 #endif
11282 char waddch ();
11284 main ()
11286 return waddch ();
11288 return 0;
11290 _ACEOF
11291 if ac_fn_c_try_link "$LINENO"; then :
11292 case "$LIBEXT" in
11293 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11294 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'` ;;
11295 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11296 if ${ac_cv_lib_soname_curses:+false} :; then :
11297 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11298 fi ;;
11299 esac
11301 rm -f core conftest.err conftest.$ac_objext \
11302 conftest$ac_exeext conftest.$ac_ext
11303 LIBS=$ac_check_soname_save_LIBS
11305 if ${ac_cv_lib_soname_curses:+false} :; then :
11306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11307 $as_echo "not found" >&6; }
11309 else
11310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11311 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11313 cat >>confdefs.h <<_ACEOF
11314 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11315 _ACEOF
11317 CURSES_LIBS="-lcurses"
11320 ac_save_LIBS="$LIBS"
11321 LIBS="$LIBS $CURSES_LIBS"
11322 for ac_func in mousemask
11323 do :
11324 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11325 if test "x$ac_cv_func_mousemask" = xyes; then :
11326 cat >>confdefs.h <<_ACEOF
11327 #define HAVE_MOUSEMASK 1
11328 _ACEOF
11331 done
11333 LIBS="$ac_save_LIBS"
11334 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11335 case "x$with_curses" in
11336 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11337 xno) ;;
11338 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11339 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11340 esac
11343 if test "x$with_sane" != "xno"
11344 then
11345 if ${SANE_CFLAGS:+false} :; then :
11346 if ${PKG_CONFIG+:} false; then :
11347 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11350 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11351 if ${SANE_LIBS:+false} :; then :
11352 if ${PKG_CONFIG+:} false; then :
11353 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11356 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11358 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11359 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11360 ac_save_CPPFLAGS=$CPPFLAGS
11361 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11362 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11363 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11365 $as_echo_n "checking for -lsane... " >&6; }
11366 if ${ac_cv_lib_soname_sane+:} false; then :
11367 $as_echo_n "(cached) " >&6
11368 else
11369 ac_check_soname_save_LIBS=$LIBS
11370 LIBS="-lsane $SANE_LIBS $LIBS"
11371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11372 /* end confdefs.h. */
11374 /* Override any GCC internal prototype to avoid an error.
11375 Use char because int might match the return type of a GCC
11376 builtin and then its argument prototype would still apply. */
11377 #ifdef __cplusplus
11378 extern "C"
11379 #endif
11380 char sane_init ();
11382 main ()
11384 return sane_init ();
11386 return 0;
11388 _ACEOF
11389 if ac_fn_c_try_link "$LINENO"; then :
11390 case "$LIBEXT" in
11391 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11392 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'` ;;
11393 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11394 if ${ac_cv_lib_soname_sane:+false} :; then :
11395 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11396 fi ;;
11397 esac
11399 rm -f core conftest.err conftest.$ac_objext \
11400 conftest$ac_exeext conftest.$ac_ext
11401 LIBS=$ac_check_soname_save_LIBS
11403 if ${ac_cv_lib_soname_sane:+false} :; then :
11404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11405 $as_echo "not found" >&6; }
11406 SANE_CFLAGS=""
11407 else
11408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11409 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11411 cat >>confdefs.h <<_ACEOF
11412 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11413 _ACEOF
11417 else
11418 SANE_CFLAGS=""
11422 CPPFLAGS=$ac_save_CPPFLAGS
11423 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11424 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11427 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11428 case "x$with_sane" in
11429 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11430 xno) ;;
11431 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11432 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11433 esac
11436 if test "x$with_v4l" != "xno"
11437 then
11438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11439 $as_echo_n "checking for -lv4l1... " >&6; }
11440 if ${ac_cv_lib_soname_v4l1+:} false; then :
11441 $as_echo_n "(cached) " >&6
11442 else
11443 ac_check_soname_save_LIBS=$LIBS
11444 LIBS="-lv4l1 $LIBS"
11445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11446 /* end confdefs.h. */
11448 /* Override any GCC internal prototype to avoid an error.
11449 Use char because int might match the return type of a GCC
11450 builtin and then its argument prototype would still apply. */
11451 #ifdef __cplusplus
11452 extern "C"
11453 #endif
11454 char v4l1_open ();
11456 main ()
11458 return v4l1_open ();
11460 return 0;
11462 _ACEOF
11463 if ac_fn_c_try_link "$LINENO"; then :
11464 case "$LIBEXT" in
11465 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11466 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'` ;;
11467 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11468 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11469 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11470 fi ;;
11471 esac
11473 rm -f core conftest.err conftest.$ac_objext \
11474 conftest$ac_exeext conftest.$ac_ext
11475 LIBS=$ac_check_soname_save_LIBS
11477 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11479 $as_echo "not found" >&6; }
11481 else
11482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11483 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11485 cat >>confdefs.h <<_ACEOF
11486 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11487 _ACEOF
11492 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11493 case "x$with_v4l" in
11494 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11495 xno) ;;
11496 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11497 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11498 esac
11501 if test "x$with_gphoto" != "xno"
11502 then
11503 if ${GPHOTO2_CFLAGS:+false} :; then :
11504 if ${PKG_CONFIG+:} false; then :
11505 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11508 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11509 if ${GPHOTO2_LIBS:+false} :; then :
11510 if ${PKG_CONFIG+:} false; then :
11511 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11514 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11515 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11516 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11517 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11518 ac_save_CPPFLAGS=$CPPFLAGS
11519 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11520 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11521 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11523 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11524 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11525 $as_echo_n "(cached) " >&6
11526 else
11527 ac_check_lib_save_LIBS=$LIBS
11528 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11530 /* end confdefs.h. */
11532 /* Override any GCC internal prototype to avoid an error.
11533 Use char because int might match the return type of a GCC
11534 builtin and then its argument prototype would still apply. */
11535 #ifdef __cplusplus
11536 extern "C"
11537 #endif
11538 char gp_camera_new ();
11540 main ()
11542 return gp_camera_new ();
11544 return 0;
11546 _ACEOF
11547 if ac_fn_c_try_link "$LINENO"; then :
11548 ac_cv_lib_gphoto2_gp_camera_new=yes
11549 else
11550 ac_cv_lib_gphoto2_gp_camera_new=no
11552 rm -f core conftest.err conftest.$ac_objext \
11553 conftest$ac_exeext conftest.$ac_ext
11554 LIBS=$ac_check_lib_save_LIBS
11556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11557 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11558 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11560 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11562 else
11563 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11566 else
11567 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11571 CPPFLAGS=$ac_save_CPPFLAGS
11572 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11573 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11575 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11576 if ${PKG_CONFIG+:} false; then :
11577 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11580 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11581 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11582 if ${PKG_CONFIG+:} false; then :
11583 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11586 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11587 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11588 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11589 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11590 ac_save_CPPFLAGS=$CPPFLAGS
11591 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11592 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11593 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11595 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11596 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11597 $as_echo_n "(cached) " >&6
11598 else
11599 ac_check_lib_save_LIBS=$LIBS
11600 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11602 /* end confdefs.h. */
11604 /* Override any GCC internal prototype to avoid an error.
11605 Use char because int might match the return type of a GCC
11606 builtin and then its argument prototype would still apply. */
11607 #ifdef __cplusplus
11608 extern "C"
11609 #endif
11610 char gp_port_info_list_new ();
11612 main ()
11614 return gp_port_info_list_new ();
11616 return 0;
11618 _ACEOF
11619 if ac_fn_c_try_link "$LINENO"; then :
11620 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
11621 else
11622 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
11624 rm -f core conftest.err conftest.$ac_objext \
11625 conftest$ac_exeext conftest.$ac_ext
11626 LIBS=$ac_check_lib_save_LIBS
11628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11629 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11630 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
11632 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11634 else
11635 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11638 else
11639 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11643 CPPFLAGS=$ac_save_CPPFLAGS
11644 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11645 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11648 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11649 case "x$with_gphoto" in
11650 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11651 xno) ;;
11652 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11653 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11654 esac
11656 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11657 case "x$with_gphoto" in
11658 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11659 xno) ;;
11660 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11661 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11662 esac
11666 if test "$ac_cv_header_resolv_h" = "yes"
11667 then
11668 ac_save_LIBS="$LIBS"
11669 for lib in '' -lresolv
11671 LIBS="$lib $ac_save_LIBS"
11672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11673 /* end confdefs.h. */
11674 #ifdef HAVE_NETINET_IN_H
11675 #include <netinet/in.h>
11676 #endif
11677 #include <resolv.h>
11679 main ()
11681 res_query("foo",ns_c_in,0,0,0);
11683 return 0;
11685 _ACEOF
11686 if ac_fn_c_try_link "$LINENO"; then :
11688 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11690 RESOLV_LIBS="$lib"
11693 rm -f core conftest.err conftest.$ac_objext \
11694 conftest$ac_exeext conftest.$ac_ext
11695 if test "${RESOLV_LIBS+set}" = set; then
11696 break
11698 done
11699 LIBS="$ac_save_LIBS"
11702 if test "x$with_lcms2" != "xno"
11703 then
11704 if ${LCMS2_CFLAGS:+false} :; then :
11705 if ${PKG_CONFIG+:} false; then :
11706 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11710 if ${LCMS2_LIBS:+false} :; then :
11711 if ${PKG_CONFIG+:} false; then :
11712 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11716 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
11717 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11718 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
11719 ac_save_CPPFLAGS=$CPPFLAGS
11720 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
11721 for ac_header in lcms2.h
11722 do :
11723 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11724 if test "x$ac_cv_header_lcms2_h" = xyes; then :
11725 cat >>confdefs.h <<_ACEOF
11726 #define HAVE_LCMS2_H 1
11727 _ACEOF
11731 done
11733 if test "$ac_cv_header_lcms2_h" = "yes"
11734 then
11735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11736 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11737 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
11738 $as_echo_n "(cached) " >&6
11739 else
11740 ac_check_lib_save_LIBS=$LIBS
11741 LIBS="-llcms2 $LIBS"
11742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11743 /* end confdefs.h. */
11745 /* Override any GCC internal prototype to avoid an error.
11746 Use char because int might match the return type of a GCC
11747 builtin and then its argument prototype would still apply. */
11748 #ifdef __cplusplus
11749 extern "C"
11750 #endif
11751 char cmsOpenProfileFromFile ();
11753 main ()
11755 return cmsOpenProfileFromFile ();
11757 return 0;
11759 _ACEOF
11760 if ac_fn_c_try_link "$LINENO"; then :
11761 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
11762 else
11763 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
11765 rm -f core conftest.err conftest.$ac_objext \
11766 conftest$ac_exeext conftest.$ac_ext
11767 LIBS=$ac_check_lib_save_LIBS
11769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11770 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11771 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
11773 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11775 else
11776 LCMS2_LIBS=""
11779 else
11780 LCMS2_CFLAGS=""
11781 LCMS2_LIBS=""
11783 CPPFLAGS=$ac_save_CPPFLAGS
11784 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11785 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11788 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11789 case "x$with_cms" in
11790 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11791 xno) ;;
11792 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11793 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11794 esac
11797 if test "x$with_freetype" != "xno"
11798 then
11799 if ${FREETYPE_CFLAGS:+false} :; then :
11800 if ${PKG_CONFIG+:} false; then :
11801 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11804 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11805 if ${FREETYPE_LIBS:+false} :; then :
11806 if ${PKG_CONFIG+:} false; then :
11807 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11810 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11811 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
11812 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
11813 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
11814 ac_save_CPPFLAGS=$CPPFLAGS
11815 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
11816 for ac_header in ft2build.h
11817 do :
11818 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
11819 if test "x$ac_cv_header_ft2build_h" = xyes; then :
11820 cat >>confdefs.h <<_ACEOF
11821 #define HAVE_FT2BUILD_H 1
11822 _ACEOF
11826 done
11828 if test "$ac_cv_header_ft2build_h" = "yes"
11829 then
11830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11831 $as_echo_n "checking for -lfreetype... " >&6; }
11832 if ${ac_cv_lib_soname_freetype+:} false; then :
11833 $as_echo_n "(cached) " >&6
11834 else
11835 ac_check_soname_save_LIBS=$LIBS
11836 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
11837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11838 /* end confdefs.h. */
11840 /* Override any GCC internal prototype to avoid an error.
11841 Use char because int might match the return type of a GCC
11842 builtin and then its argument prototype would still apply. */
11843 #ifdef __cplusplus
11844 extern "C"
11845 #endif
11846 char FT_Init_FreeType ();
11848 main ()
11850 return FT_Init_FreeType ();
11852 return 0;
11854 _ACEOF
11855 if ac_fn_c_try_link "$LINENO"; then :
11856 case "$LIBEXT" in
11857 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11858 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'` ;;
11859 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11860 if ${ac_cv_lib_soname_freetype:+false} :; then :
11861 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11862 fi ;;
11863 esac
11865 rm -f core conftest.err conftest.$ac_objext \
11866 conftest$ac_exeext conftest.$ac_ext
11867 LIBS=$ac_check_soname_save_LIBS
11869 if ${ac_cv_lib_soname_freetype:+false} :; then :
11870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11871 $as_echo "not found" >&6; }
11872 FREETYPE_LIBS=""
11873 else
11874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
11875 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
11877 cat >>confdefs.h <<_ACEOF
11878 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
11879 _ACEOF
11882 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
11884 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
11885 #include FT_MODULE_H
11887 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
11889 cat >>confdefs.h <<_ACEOF
11890 #define HAVE_FT_TRUETYPEENGINETYPE 1
11891 _ACEOF
11897 else
11898 FREETYPE_CFLAGS=""
11899 FREETYPE_LIBS=""
11901 CPPFLAGS=$ac_save_CPPFLAGS
11902 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11903 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11906 if test "x$ac_cv_lib_soname_freetype" = x; then :
11907 case "x$with_freetype" in
11908 xno) ;;
11909 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
11910 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
11911 esac
11913 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
11915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
11916 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
11917 if ${ac_cv_c_ppdev+:} false; then :
11918 $as_echo_n "(cached) " >&6
11919 else
11920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11921 /* end confdefs.h. */
11922 #ifdef HAVE_SYS_IOCTL_H
11923 # include <sys/ioctl.h>
11924 #endif
11925 #include <linux/ppdev.h>
11927 main ()
11929 ioctl (1,PPCLAIM,0)
11931 return 0;
11933 _ACEOF
11934 if ac_fn_c_try_compile "$LINENO"; then :
11935 ac_cv_c_ppdev="yes"
11936 else
11937 ac_cv_c_ppdev="no"
11939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
11942 $as_echo "$ac_cv_c_ppdev" >&6; }
11943 if test "$ac_cv_c_ppdev" = "yes"
11944 then
11946 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
11950 ac_wine_check_funcs_save_LIBS="$LIBS"
11951 LIBS="$LIBS $PTHREAD_LIBS"
11952 for ac_func in \
11953 pthread_attr_get_np \
11954 pthread_getattr_np \
11955 pthread_getthreadid_np \
11956 pthread_get_stackaddr_np \
11957 pthread_get_stacksize_np
11958 do :
11959 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11960 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
11961 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
11962 cat >>confdefs.h <<_ACEOF
11963 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11964 _ACEOF
11967 done
11969 LIBS="$ac_wine_check_funcs_save_LIBS"
11971 if test "$ac_cv_header_zlib_h" = "yes"
11972 then
11973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
11974 $as_echo_n "checking for inflate in -lz... " >&6; }
11975 if ${ac_cv_lib_z_inflate+:} false; then :
11976 $as_echo_n "(cached) " >&6
11977 else
11978 ac_check_lib_save_LIBS=$LIBS
11979 LIBS="-lz $LIBS"
11980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11981 /* end confdefs.h. */
11983 /* Override any GCC internal prototype to avoid an error.
11984 Use char because int might match the return type of a GCC
11985 builtin and then its argument prototype would still apply. */
11986 #ifdef __cplusplus
11987 extern "C"
11988 #endif
11989 char inflate ();
11991 main ()
11993 return inflate ();
11995 return 0;
11997 _ACEOF
11998 if ac_fn_c_try_link "$LINENO"; then :
11999 ac_cv_lib_z_inflate=yes
12000 else
12001 ac_cv_lib_z_inflate=no
12003 rm -f core conftest.err conftest.$ac_objext \
12004 conftest$ac_exeext conftest.$ac_ext
12005 LIBS=$ac_check_lib_save_LIBS
12007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12008 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12009 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12011 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12013 Z_LIBS="-lz"
12018 if test "x$Z_LIBS" = "x"; then :
12019 case "x$with_zlib" in
12020 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12021 xno) ;;
12022 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12023 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12024 esac
12027 if test "x$enable_tools" != xno
12028 then
12029 if test "$ac_cv_header_gettext_po_h" = "yes"
12030 then
12031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12032 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12033 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12034 $as_echo_n "(cached) " >&6
12035 else
12036 ac_check_lib_save_LIBS=$LIBS
12037 LIBS="-lgettextpo $LIBS"
12038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12039 /* end confdefs.h. */
12041 /* Override any GCC internal prototype to avoid an error.
12042 Use char because int might match the return type of a GCC
12043 builtin and then its argument prototype would still apply. */
12044 #ifdef __cplusplus
12045 extern "C"
12046 #endif
12047 char po_message_msgctxt ();
12049 main ()
12051 return po_message_msgctxt ();
12053 return 0;
12055 _ACEOF
12056 if ac_fn_c_try_link "$LINENO"; then :
12057 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12058 else
12059 ac_cv_lib_gettextpo_po_message_msgctxt=no
12061 rm -f core conftest.err conftest.$ac_objext \
12062 conftest$ac_exeext conftest.$ac_ext
12063 LIBS=$ac_check_lib_save_LIBS
12065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12066 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12067 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12069 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12071 GETTEXTPO_LIBS="-lgettextpo"
12076 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12077 case "x$with_gettextpo" in
12078 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12079 xno) ;;
12080 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12081 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12082 esac
12086 if test "x$with_gstreamer" != "xno"
12087 then
12088 if ${GSTREAMER_CFLAGS:+false} :; then :
12089 if ${PKG_CONFIG+:} false; then :
12090 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12094 if ${GSTREAMER_LIBS:+false} :; then :
12095 if ${PKG_CONFIG+:} false; then :
12096 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12101 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12102 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12103 ac_save_CPPFLAGS=$CPPFLAGS
12104 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12105 ac_gst_incl=""
12106 for i in $GSTREAMER_CFLAGS
12108 case "$i" in
12109 -I*) ac_gst_incl="$ac_gst_incl $i";;
12110 esac
12111 done
12112 GSTREAMER_CFLAGS=$ac_gst_incl
12113 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12114 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12115 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
12116 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12117 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
12118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12119 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12121 /* end confdefs.h. */
12122 #include <gst/app/gstappsink.h>
12124 main ()
12126 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12128 return 0;
12130 _ACEOF
12131 if ac_fn_c_try_compile "$LINENO"; then :
12132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12133 $as_echo "yes" >&6; }
12134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12135 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12136 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
12137 $as_echo_n "(cached) " >&6
12138 else
12139 ac_check_lib_save_LIBS=$LIBS
12140 LIBS="-lgstreamer-0.10 $LIBS"
12141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12142 /* end confdefs.h. */
12144 /* Override any GCC internal prototype to avoid an error.
12145 Use char because int might match the return type of a GCC
12146 builtin and then its argument prototype would still apply. */
12147 #ifdef __cplusplus
12148 extern "C"
12149 #endif
12150 char gst_pad_get_caps_reffed ();
12152 main ()
12154 return gst_pad_get_caps_reffed ();
12156 return 0;
12158 _ACEOF
12159 if ac_fn_c_try_link "$LINENO"; then :
12160 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
12161 else
12162 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
12164 rm -f core conftest.err conftest.$ac_objext \
12165 conftest$ac_exeext conftest.$ac_ext
12166 LIBS=$ac_check_lib_save_LIBS
12168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12169 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12170 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
12171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12172 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12173 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
12174 $as_echo_n "(cached) " >&6
12175 else
12176 ac_check_lib_save_LIBS=$LIBS
12177 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12179 /* end confdefs.h. */
12181 /* Override any GCC internal prototype to avoid an error.
12182 Use char because int might match the return type of a GCC
12183 builtin and then its argument prototype would still apply. */
12184 #ifdef __cplusplus
12185 extern "C"
12186 #endif
12187 char gst_app_buffer_new ();
12189 main ()
12191 return gst_app_buffer_new ();
12193 return 0;
12195 _ACEOF
12196 if ac_fn_c_try_link "$LINENO"; then :
12197 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
12198 else
12199 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
12201 rm -f core conftest.err conftest.$ac_objext \
12202 conftest$ac_exeext conftest.$ac_ext
12203 LIBS=$ac_check_lib_save_LIBS
12205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12206 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12207 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
12213 else
12214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12215 $as_echo "no" >&6; }
12217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12221 else
12222 GSTREAMER_CFLAGS=""
12226 CPPFLAGS=$ac_save_CPPFLAGS
12227 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12228 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12231 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
12232 case "x$with_gstreamer" in
12233 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12234 xno) ;;
12235 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12236 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12237 esac
12239 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12241 ALSA_LIBS=""
12243 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12244 then
12245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12246 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12247 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12248 $as_echo_n "(cached) " >&6
12249 else
12250 ac_check_lib_save_LIBS=$LIBS
12251 LIBS="-lasound $LIBS"
12252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12253 /* end confdefs.h. */
12255 /* Override any GCC internal prototype to avoid an error.
12256 Use char because int might match the return type of a GCC
12257 builtin and then its argument prototype would still apply. */
12258 #ifdef __cplusplus
12259 extern "C"
12260 #endif
12261 char snd_pcm_hw_params_get_access_mask ();
12263 main ()
12265 return snd_pcm_hw_params_get_access_mask ();
12267 return 0;
12269 _ACEOF
12270 if ac_fn_c_try_link "$LINENO"; then :
12271 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12272 else
12273 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12275 rm -f core conftest.err conftest.$ac_objext \
12276 conftest$ac_exeext conftest.$ac_ext
12277 LIBS=$ac_check_lib_save_LIBS
12279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12280 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12281 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12283 /* end confdefs.h. */
12284 #ifdef HAVE_ALSA_ASOUNDLIB_H
12285 #include <alsa/asoundlib.h>
12286 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12287 #include <sys/asoundlib.h>
12288 #endif
12290 main ()
12292 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12294 return 0;
12296 _ACEOF
12297 if ac_fn_c_try_compile "$LINENO"; then :
12298 ALSA_LIBS="-lasound"
12300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12305 if test "x$with_oss" != xno
12306 then
12307 ac_save_CPPFLAGS="$CPPFLAGS"
12308 if test -f /etc/oss.conf
12309 then
12310 . /etc/oss.conf
12312 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12313 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12314 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12315 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12316 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12318 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12320 cat >>confdefs.h <<_ACEOF
12321 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12322 _ACEOF
12324 OSS4_CFLAGS="$ac_oss_incl"
12331 CPPFLAGS="$ac_save_CPPFLAGS"
12332 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12333 then
12334 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12338 if test "x$with_capi" != "xno"
12339 then
12340 if ${CAPI20_CFLAGS:+false} :; then :
12341 if ${PKG_CONFIG+:} false; then :
12342 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12346 if ${CAPI20_LIBS:+false} :; then :
12347 if ${PKG_CONFIG+:} false; then :
12348 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12353 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12354 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12355 ac_save_CPPFLAGS=$CPPFLAGS
12356 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12357 for ac_header in capi20.h linux/capi.h
12358 do :
12359 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12360 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12362 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12363 cat >>confdefs.h <<_ACEOF
12364 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12365 _ACEOF
12369 done
12371 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12372 then
12373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12374 $as_echo_n "checking for -lcapi20... " >&6; }
12375 if ${ac_cv_lib_soname_capi20+:} false; then :
12376 $as_echo_n "(cached) " >&6
12377 else
12378 ac_check_soname_save_LIBS=$LIBS
12379 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12381 /* end confdefs.h. */
12383 /* Override any GCC internal prototype to avoid an error.
12384 Use char because int might match the return type of a GCC
12385 builtin and then its argument prototype would still apply. */
12386 #ifdef __cplusplus
12387 extern "C"
12388 #endif
12389 char capi20_register ();
12391 main ()
12393 return capi20_register ();
12395 return 0;
12397 _ACEOF
12398 if ac_fn_c_try_link "$LINENO"; then :
12399 case "$LIBEXT" in
12400 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12401 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'` ;;
12402 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12403 if ${ac_cv_lib_soname_capi20:+false} :; then :
12404 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12405 fi ;;
12406 esac
12408 rm -f core conftest.err conftest.$ac_objext \
12409 conftest$ac_exeext conftest.$ac_ext
12410 LIBS=$ac_check_soname_save_LIBS
12412 if ${ac_cv_lib_soname_capi20:+false} :; then :
12413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12414 $as_echo "not found" >&6; }
12416 else
12417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12418 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12420 cat >>confdefs.h <<_ACEOF
12421 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12422 _ACEOF
12427 CPPFLAGS=$ac_save_CPPFLAGS
12428 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12429 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12432 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12433 case "x$with_capi" in
12434 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12435 xno) ;;
12436 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12437 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12438 esac
12441 CUPS_CFLAGS=""
12443 if test "x$with_cups" != "xno"
12444 then
12445 ac_save_CPPFLAGS="$CPPFLAGS"
12446 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12447 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12448 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12449 for ac_header in cups/cups.h
12450 do :
12451 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12452 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12453 cat >>confdefs.h <<_ACEOF
12454 #define HAVE_CUPS_CUPS_H 1
12455 _ACEOF
12456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12457 $as_echo_n "checking for -lcups... " >&6; }
12458 if ${ac_cv_lib_soname_cups+:} false; then :
12459 $as_echo_n "(cached) " >&6
12460 else
12461 ac_check_soname_save_LIBS=$LIBS
12462 LIBS="-lcups $ac_cups_libs $LIBS"
12463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12464 /* end confdefs.h. */
12466 /* Override any GCC internal prototype to avoid an error.
12467 Use char because int might match the return type of a GCC
12468 builtin and then its argument prototype would still apply. */
12469 #ifdef __cplusplus
12470 extern "C"
12471 #endif
12472 char cupsGetDefault ();
12474 main ()
12476 return cupsGetDefault ();
12478 return 0;
12480 _ACEOF
12481 if ac_fn_c_try_link "$LINENO"; then :
12482 case "$LIBEXT" in
12483 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12484 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'` ;;
12485 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12486 if ${ac_cv_lib_soname_cups:+false} :; then :
12487 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12488 fi ;;
12489 esac
12491 rm -f core conftest.err conftest.$ac_objext \
12492 conftest$ac_exeext conftest.$ac_ext
12493 LIBS=$ac_check_soname_save_LIBS
12495 if ${ac_cv_lib_soname_cups:+false} :; then :
12496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12497 $as_echo "not found" >&6; }
12499 else
12500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12501 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12503 cat >>confdefs.h <<_ACEOF
12504 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12505 _ACEOF
12507 CUPS_CFLAGS="$ac_cups_cflags"
12511 done
12513 CPPFLAGS="$ac_save_CPPFLAGS"
12515 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12516 case "x$with_cups" in
12517 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12518 xno) ;;
12519 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12520 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12521 esac
12524 if test "x$with_fontconfig" != "xno"
12525 then
12526 if ${FONTCONFIG_CFLAGS:+false} :; then :
12527 if ${PKG_CONFIG+:} false; then :
12528 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12531 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12532 if ${FONTCONFIG_LIBS:+false} :; then :
12533 if ${PKG_CONFIG+:} false; then :
12534 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12537 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
12539 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12540 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12541 ac_save_CPPFLAGS=$CPPFLAGS
12542 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
12543 for ac_header in fontconfig/fontconfig.h
12544 do :
12545 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12546 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
12547 cat >>confdefs.h <<_ACEOF
12548 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12549 _ACEOF
12553 done
12555 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12556 then
12557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12558 $as_echo_n "checking for -lfontconfig... " >&6; }
12559 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12560 $as_echo_n "(cached) " >&6
12561 else
12562 ac_check_soname_save_LIBS=$LIBS
12563 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12565 /* end confdefs.h. */
12567 /* Override any GCC internal prototype to avoid an error.
12568 Use char because int might match the return type of a GCC
12569 builtin and then its argument prototype would still apply. */
12570 #ifdef __cplusplus
12571 extern "C"
12572 #endif
12573 char FcInit ();
12575 main ()
12577 return FcInit ();
12579 return 0;
12581 _ACEOF
12582 if ac_fn_c_try_link "$LINENO"; then :
12583 case "$LIBEXT" in
12584 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12585 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'` ;;
12586 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12587 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12588 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12589 fi ;;
12590 esac
12592 rm -f core conftest.err conftest.$ac_objext \
12593 conftest$ac_exeext conftest.$ac_ext
12594 LIBS=$ac_check_soname_save_LIBS
12596 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12598 $as_echo "not found" >&6; }
12599 FONTCONFIG_CFLAGS=""
12600 else
12601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12602 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12604 cat >>confdefs.h <<_ACEOF
12605 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12606 _ACEOF
12610 else
12611 FONTCONFIG_CFLAGS=""
12613 CPPFLAGS=$ac_save_CPPFLAGS
12614 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12615 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12618 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12619 case "x$with_fontconfig" in
12620 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12621 xno) ;;
12622 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12623 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12624 esac
12627 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12628 then
12629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12630 $as_echo_n "checking for -lgsm... " >&6; }
12631 if ${ac_cv_lib_soname_gsm+:} false; then :
12632 $as_echo_n "(cached) " >&6
12633 else
12634 ac_check_soname_save_LIBS=$LIBS
12635 LIBS="-lgsm $LIBS"
12636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12637 /* end confdefs.h. */
12639 /* Override any GCC internal prototype to avoid an error.
12640 Use char because int might match the return type of a GCC
12641 builtin and then its argument prototype would still apply. */
12642 #ifdef __cplusplus
12643 extern "C"
12644 #endif
12645 char gsm_create ();
12647 main ()
12649 return gsm_create ();
12651 return 0;
12653 _ACEOF
12654 if ac_fn_c_try_link "$LINENO"; then :
12655 case "$LIBEXT" in
12656 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12657 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'` ;;
12658 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12659 if ${ac_cv_lib_soname_gsm:+false} :; then :
12660 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12661 fi ;;
12662 esac
12664 rm -f core conftest.err conftest.$ac_objext \
12665 conftest$ac_exeext conftest.$ac_ext
12666 LIBS=$ac_check_soname_save_LIBS
12668 if ${ac_cv_lib_soname_gsm:+false} :; then :
12669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12670 $as_echo "not found" >&6; }
12672 else
12673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12674 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12676 cat >>confdefs.h <<_ACEOF
12677 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12678 _ACEOF
12683 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12684 case "x$with_gsm" in
12685 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12686 xno) ;;
12687 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12688 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12689 esac
12692 if test "x$with_jpeg" != "xno"
12693 then
12694 if ${JPEG_CFLAGS:+false} :; then :
12695 if ${PKG_CONFIG+:} false; then :
12696 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12700 if ${JPEG_LIBS:+false} :; then :
12701 if ${PKG_CONFIG+:} false; then :
12702 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12707 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12708 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12709 ac_save_CPPFLAGS=$CPPFLAGS
12710 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
12711 for ac_header in jpeglib.h
12712 do :
12713 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12714 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
12715 cat >>confdefs.h <<_ACEOF
12716 #define HAVE_JPEGLIB_H 1
12717 _ACEOF
12721 done
12723 if test "$ac_cv_header_jpeglib_h" = "yes"
12724 then
12725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12726 $as_echo_n "checking for -ljpeg... " >&6; }
12727 if ${ac_cv_lib_soname_jpeg+:} false; then :
12728 $as_echo_n "(cached) " >&6
12729 else
12730 ac_check_soname_save_LIBS=$LIBS
12731 LIBS="-ljpeg $JPEG_LIBS $LIBS"
12732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12733 /* end confdefs.h. */
12735 /* Override any GCC internal prototype to avoid an error.
12736 Use char because int might match the return type of a GCC
12737 builtin and then its argument prototype would still apply. */
12738 #ifdef __cplusplus
12739 extern "C"
12740 #endif
12741 char jpeg_start_decompress ();
12743 main ()
12745 return jpeg_start_decompress ();
12747 return 0;
12749 _ACEOF
12750 if ac_fn_c_try_link "$LINENO"; then :
12751 case "$LIBEXT" in
12752 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12753 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'` ;;
12754 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12755 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12756 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12757 fi ;;
12758 esac
12760 rm -f core conftest.err conftest.$ac_objext \
12761 conftest$ac_exeext conftest.$ac_ext
12762 LIBS=$ac_check_soname_save_LIBS
12764 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12766 $as_echo "not found" >&6; }
12767 JPEG_CFLAGS=""
12768 else
12769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12770 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12772 cat >>confdefs.h <<_ACEOF
12773 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12774 _ACEOF
12778 else
12779 JPEG_CFLAGS=""
12781 CPPFLAGS=$ac_save_CPPFLAGS
12782 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12783 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12786 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12787 case "x$with_jpeg" in
12788 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12789 xno) ;;
12790 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12791 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12792 esac
12795 if test "x$with_png" != "xno"
12796 then
12797 if ${PNG_CFLAGS:+false} :; then :
12798 if ${PKG_CONFIG+:} false; then :
12799 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12802 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
12803 if ${PNG_LIBS:+false} :; then :
12804 if ${PKG_CONFIG+:} false; then :
12805 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
12808 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
12810 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
12811 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
12812 ac_save_CPPFLAGS=$CPPFLAGS
12813 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
12814 for ac_header in png.h
12815 do :
12816 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12817 if test "x$ac_cv_header_png_h" = xyes; then :
12818 cat >>confdefs.h <<_ACEOF
12819 #define HAVE_PNG_H 1
12820 _ACEOF
12824 done
12826 if test "$ac_cv_header_png_h" = "yes"
12827 then
12828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12829 $as_echo_n "checking for -lpng... " >&6; }
12830 if ${ac_cv_lib_soname_png+:} false; then :
12831 $as_echo_n "(cached) " >&6
12832 else
12833 ac_check_soname_save_LIBS=$LIBS
12834 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
12835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12836 /* end confdefs.h. */
12838 /* Override any GCC internal prototype to avoid an error.
12839 Use char because int might match the return type of a GCC
12840 builtin and then its argument prototype would still apply. */
12841 #ifdef __cplusplus
12842 extern "C"
12843 #endif
12844 char png_create_read_struct ();
12846 main ()
12848 return png_create_read_struct ();
12850 return 0;
12852 _ACEOF
12853 if ac_fn_c_try_link "$LINENO"; then :
12854 case "$LIBEXT" in
12855 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12856 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'` ;;
12857 *) 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'`
12858 if ${ac_cv_lib_soname_png:+false} :; then :
12859 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12860 fi ;;
12861 esac
12863 rm -f core conftest.err conftest.$ac_objext \
12864 conftest$ac_exeext conftest.$ac_ext
12865 LIBS=$ac_check_soname_save_LIBS
12867 if ${ac_cv_lib_soname_png:+false} :; then :
12868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12869 $as_echo "not found" >&6; }
12870 PNG_CFLAGS=""
12871 else
12872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
12873 $as_echo "$ac_cv_lib_soname_png" >&6; }
12875 cat >>confdefs.h <<_ACEOF
12876 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
12877 _ACEOF
12879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12880 /* end confdefs.h. */
12881 #include <png.h>
12883 main ()
12885 typeof(png_set_expand_gray_1_2_4_to_8) *p
12887 return 0;
12889 _ACEOF
12890 if ac_fn_c_try_compile "$LINENO"; then :
12892 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
12895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12897 else
12898 PNG_CFLAGS=""
12900 CPPFLAGS=$ac_save_CPPFLAGS
12901 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12902 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12905 if test "x$ac_cv_lib_soname_png" = "x"; then :
12906 case "x$with_png" in
12907 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
12908 xno) ;;
12909 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
12910 This is an error since --with-png was requested." "$LINENO" 5 ;;
12911 esac
12914 if test "x$with_tiff" != "xno"
12915 then
12916 if ${TIFF_CFLAGS:+false} :; then :
12917 if ${PKG_CONFIG+:} false; then :
12918 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
12922 if ${TIFF_LIBS:+false} :; then :
12923 if ${PKG_CONFIG+:} false; then :
12924 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
12929 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
12930 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
12931 ac_save_CPPFLAGS=$CPPFLAGS
12932 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
12933 for ac_header in tiffio.h
12934 do :
12935 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
12936 if test "x$ac_cv_header_tiffio_h" = xyes; then :
12937 cat >>confdefs.h <<_ACEOF
12938 #define HAVE_TIFFIO_H 1
12939 _ACEOF
12943 done
12945 if test "$ac_cv_header_tiffio_h" = "yes"
12946 then
12947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
12948 $as_echo_n "checking for -ltiff... " >&6; }
12949 if ${ac_cv_lib_soname_tiff+:} false; then :
12950 $as_echo_n "(cached) " >&6
12951 else
12952 ac_check_soname_save_LIBS=$LIBS
12953 LIBS="-ltiff $TIFF_LIBS $LIBS"
12954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12955 /* end confdefs.h. */
12957 /* Override any GCC internal prototype to avoid an error.
12958 Use char because int might match the return type of a GCC
12959 builtin and then its argument prototype would still apply. */
12960 #ifdef __cplusplus
12961 extern "C"
12962 #endif
12963 char TIFFClientOpen ();
12965 main ()
12967 return TIFFClientOpen ();
12969 return 0;
12971 _ACEOF
12972 if ac_fn_c_try_link "$LINENO"; then :
12973 case "$LIBEXT" in
12974 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12975 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'` ;;
12976 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12977 if ${ac_cv_lib_soname_tiff:+false} :; then :
12978 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12979 fi ;;
12980 esac
12982 rm -f core conftest.err conftest.$ac_objext \
12983 conftest$ac_exeext conftest.$ac_ext
12984 LIBS=$ac_check_soname_save_LIBS
12986 if ${ac_cv_lib_soname_tiff:+false} :; then :
12987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12988 $as_echo "not found" >&6; }
12990 else
12991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
12992 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
12994 cat >>confdefs.h <<_ACEOF
12995 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
12996 _ACEOF
13001 CPPFLAGS=$ac_save_CPPFLAGS
13002 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13003 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13006 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13007 case "x$with_tiff" in
13008 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13009 xno) ;;
13010 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13011 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13012 esac
13015 if test "x$with_mpg123" != "xno"
13016 then
13017 if ${MPG123_CFLAGS:+false} :; then :
13018 if ${PKG_CONFIG+:} false; then :
13019 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13023 if ${MPG123_LIBS:+false} :; then :
13024 if ${PKG_CONFIG+:} false; then :
13025 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13029 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13030 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13031 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13032 ac_save_CPPFLAGS=$CPPFLAGS
13033 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13034 for ac_header in mpg123.h
13035 do :
13036 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13037 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13038 cat >>confdefs.h <<_ACEOF
13039 #define HAVE_MPG123_H 1
13040 _ACEOF
13044 done
13046 if test "$ac_cv_header_mpg123_h" = "yes"
13047 then
13048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13049 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13050 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13051 $as_echo_n "(cached) " >&6
13052 else
13053 ac_check_lib_save_LIBS=$LIBS
13054 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13056 /* end confdefs.h. */
13058 /* Override any GCC internal prototype to avoid an error.
13059 Use char because int might match the return type of a GCC
13060 builtin and then its argument prototype would still apply. */
13061 #ifdef __cplusplus
13062 extern "C"
13063 #endif
13064 char mpg123_feed ();
13066 main ()
13068 return mpg123_feed ();
13070 return 0;
13072 _ACEOF
13073 if ac_fn_c_try_link "$LINENO"; then :
13074 ac_cv_lib_mpg123_mpg123_feed=yes
13075 else
13076 ac_cv_lib_mpg123_mpg123_feed=no
13078 rm -f core conftest.err conftest.$ac_objext \
13079 conftest$ac_exeext conftest.$ac_ext
13080 LIBS=$ac_check_lib_save_LIBS
13082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13083 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13084 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13086 else
13087 MPG123_LIBS=""
13090 else
13091 MPG123_CFLAGS=""
13092 MPG123_LIBS=""
13094 CPPFLAGS=$ac_save_CPPFLAGS
13095 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13096 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13099 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13100 case "x$with_mpg123" in
13101 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13102 xno) ;;
13103 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13104 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13105 esac
13107 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}
13109 if test "$ac_cv_header_AL_al_h" = "yes"
13110 then
13111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13112 $as_echo_n "checking for -lopenal... " >&6; }
13113 if ${ac_cv_lib_soname_openal+:} false; then :
13114 $as_echo_n "(cached) " >&6
13115 else
13116 ac_check_soname_save_LIBS=$LIBS
13117 LIBS="-lopenal $LIBS"
13118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13119 /* end confdefs.h. */
13121 /* Override any GCC internal prototype to avoid an error.
13122 Use char because int might match the return type of a GCC
13123 builtin and then its argument prototype would still apply. */
13124 #ifdef __cplusplus
13125 extern "C"
13126 #endif
13127 char alGetSource3i ();
13129 main ()
13131 return alGetSource3i ();
13133 return 0;
13135 _ACEOF
13136 if ac_fn_c_try_link "$LINENO"; then :
13137 case "$LIBEXT" in
13138 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13139 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'` ;;
13140 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13141 if ${ac_cv_lib_soname_openal:+false} :; then :
13142 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13143 fi ;;
13144 esac
13146 rm -f core conftest.err conftest.$ac_objext \
13147 conftest$ac_exeext conftest.$ac_ext
13148 LIBS=$ac_check_soname_save_LIBS
13150 if ${ac_cv_lib_soname_openal:+false} :; then :
13151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13152 $as_echo "not found" >&6; }
13154 else
13155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13156 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13158 cat >>confdefs.h <<_ACEOF
13159 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13160 _ACEOF
13162 OPENAL_LIBS="-lopenal"
13164 ac_cv_lib_openal=yes
13166 cat >>confdefs.h <<_ACEOF
13167 #define HAVE_OPENAL 1
13168 _ACEOF
13172 if test "x$ac_cv_lib_openal" != xyes; then :
13173 case "x$with_openal" in
13174 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13175 xno) ;;
13176 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13177 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13178 esac
13180 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13182 if test "$ac_cv_header_kstat_h" = "yes"
13183 then
13184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13185 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13186 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13187 $as_echo_n "(cached) " >&6
13188 else
13189 ac_check_lib_save_LIBS=$LIBS
13190 LIBS="-lkstat $LIBS"
13191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13192 /* end confdefs.h. */
13194 /* Override any GCC internal prototype to avoid an error.
13195 Use char because int might match the return type of a GCC
13196 builtin and then its argument prototype would still apply. */
13197 #ifdef __cplusplus
13198 extern "C"
13199 #endif
13200 char kstat_open ();
13202 main ()
13204 return kstat_open ();
13206 return 0;
13208 _ACEOF
13209 if ac_fn_c_try_link "$LINENO"; then :
13210 ac_cv_lib_kstat_kstat_open=yes
13211 else
13212 ac_cv_lib_kstat_kstat_open=no
13214 rm -f core conftest.err conftest.$ac_objext \
13215 conftest$ac_exeext conftest.$ac_ext
13216 LIBS=$ac_check_lib_save_LIBS
13218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13219 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13220 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13222 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13224 KSTAT_LIBS="-lkstat"
13230 if test "$ac_cv_header_libprocstat_h" = "yes"
13231 then
13232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13233 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13234 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13235 $as_echo_n "(cached) " >&6
13236 else
13237 ac_check_lib_save_LIBS=$LIBS
13238 LIBS="-lprocstat $LIBS"
13239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13240 /* end confdefs.h. */
13242 /* Override any GCC internal prototype to avoid an error.
13243 Use char because int might match the return type of a GCC
13244 builtin and then its argument prototype would still apply. */
13245 #ifdef __cplusplus
13246 extern "C"
13247 #endif
13248 char procstat_open_sysctl ();
13250 main ()
13252 return procstat_open_sysctl ();
13254 return 0;
13256 _ACEOF
13257 if ac_fn_c_try_link "$LINENO"; then :
13258 ac_cv_lib_procstat_procstat_open_sysctl=yes
13259 else
13260 ac_cv_lib_procstat_procstat_open_sysctl=no
13262 rm -f core conftest.err conftest.$ac_objext \
13263 conftest$ac_exeext conftest.$ac_ext
13264 LIBS=$ac_check_lib_save_LIBS
13266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13267 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13268 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13270 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13272 PROCSTAT_LIBS="-lprocstat"
13278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13279 $as_echo_n "checking for -lodbc... " >&6; }
13280 if ${ac_cv_lib_soname_odbc+:} false; then :
13281 $as_echo_n "(cached) " >&6
13282 else
13283 ac_check_soname_save_LIBS=$LIBS
13284 LIBS="-lodbc $LIBS"
13285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13286 /* end confdefs.h. */
13288 /* Override any GCC internal prototype to avoid an error.
13289 Use char because int might match the return type of a GCC
13290 builtin and then its argument prototype would still apply. */
13291 #ifdef __cplusplus
13292 extern "C"
13293 #endif
13294 char SQLConnect ();
13296 main ()
13298 return SQLConnect ();
13300 return 0;
13302 _ACEOF
13303 if ac_fn_c_try_link "$LINENO"; then :
13304 case "$LIBEXT" in
13305 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13306 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'` ;;
13307 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13308 if ${ac_cv_lib_soname_odbc:+false} :; then :
13309 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13310 fi ;;
13311 esac
13313 rm -f core conftest.err conftest.$ac_objext \
13314 conftest$ac_exeext conftest.$ac_ext
13315 LIBS=$ac_check_soname_save_LIBS
13317 if ${ac_cv_lib_soname_odbc:+false} :; then :
13318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13319 $as_echo "not found" >&6; }
13320 cat >>confdefs.h <<_ACEOF
13321 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13322 _ACEOF
13324 else
13325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13326 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13328 cat >>confdefs.h <<_ACEOF
13329 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13330 _ACEOF
13335 if test "x$with_netapi" != "xno"
13336 then
13337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13338 $as_echo_n "checking for -lnetapi... " >&6; }
13339 if ${ac_cv_lib_soname_netapi+:} false; then :
13340 $as_echo_n "(cached) " >&6
13341 else
13342 ac_check_soname_save_LIBS=$LIBS
13343 LIBS="-lnetapi $LIBS"
13344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13345 /* end confdefs.h. */
13347 /* Override any GCC internal prototype to avoid an error.
13348 Use char because int might match the return type of a GCC
13349 builtin and then its argument prototype would still apply. */
13350 #ifdef __cplusplus
13351 extern "C"
13352 #endif
13353 char libnetapi_init ();
13355 main ()
13357 return libnetapi_init ();
13359 return 0;
13361 _ACEOF
13362 if ac_fn_c_try_link "$LINENO"; then :
13363 case "$LIBEXT" in
13364 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13365 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'` ;;
13366 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13367 if ${ac_cv_lib_soname_netapi:+false} :; then :
13368 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13369 fi ;;
13370 esac
13372 rm -f core conftest.err conftest.$ac_objext \
13373 conftest$ac_exeext conftest.$ac_ext
13374 LIBS=$ac_check_soname_save_LIBS
13376 if ${ac_cv_lib_soname_netapi:+false} :; then :
13377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13378 $as_echo "not found" >&6; }
13379 cat >>confdefs.h <<_ACEOF
13380 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13381 _ACEOF
13383 else
13384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13385 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13387 cat >>confdefs.h <<_ACEOF
13388 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13389 _ACEOF
13395 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13396 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
13397 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
13398 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
13400 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13401 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
13402 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13403 then
13404 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13408 EXTRACFLAGS=""
13410 if test "x${GCC}" = "xyes"
13411 then
13412 EXTRACFLAGS="-Wall -pipe"
13414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13415 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13416 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13417 $as_echo_n "(cached) " >&6
13418 else
13419 if test "$cross_compiling" = yes; then :
13420 ac_cv_c_gcc_strength_bug="yes"
13421 else
13422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13423 /* end confdefs.h. */
13424 int L[4] = {0,1,2,3};
13426 main ()
13428 static int Array[3];
13429 unsigned int B = 3;
13430 int i;
13431 for(i=0; i<B; i++) Array[i] = i - 3;
13432 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13433 L[i] = 4;
13434 return (Array[1] != -2 || L[2] != 3)
13436 return 0;
13438 _ACEOF
13439 if ac_fn_c_try_run "$LINENO"; then :
13440 ac_cv_c_gcc_strength_bug="no"
13441 else
13442 ac_cv_c_gcc_strength_bug="yes"
13444 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13445 conftest.$ac_objext conftest.beam conftest.$ac_ext
13449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13450 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13451 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13452 then
13453 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13457 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13458 if ${ac_cv_cflags__fno_builtin+:} false; then :
13459 $as_echo_n "(cached) " >&6
13460 else
13461 ac_wine_try_cflags_saved=$CFLAGS
13462 CFLAGS="$CFLAGS -fno-builtin"
13463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13464 /* end confdefs.h. */
13465 int main(int argc, char **argv) { return 0; }
13466 _ACEOF
13467 if ac_fn_c_try_link "$LINENO"; then :
13468 ac_cv_cflags__fno_builtin=yes
13469 else
13470 ac_cv_cflags__fno_builtin=no
13472 rm -f core conftest.err conftest.$ac_objext \
13473 conftest$ac_exeext conftest.$ac_ext
13474 CFLAGS=$ac_wine_try_cflags_saved
13476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13477 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13478 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
13479 BUILTINFLAG="-fno-builtin"
13482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13483 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13484 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
13485 $as_echo_n "(cached) " >&6
13486 else
13487 ac_wine_try_cflags_saved=$CFLAGS
13488 CFLAGS="$CFLAGS -fno-strict-aliasing"
13489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13490 /* end confdefs.h. */
13491 int main(int argc, char **argv) { return 0; }
13492 _ACEOF
13493 if ac_fn_c_try_link "$LINENO"; then :
13494 ac_cv_cflags__fno_strict_aliasing=yes
13495 else
13496 ac_cv_cflags__fno_strict_aliasing=no
13498 rm -f core conftest.err conftest.$ac_objext \
13499 conftest$ac_exeext conftest.$ac_ext
13500 CFLAGS=$ac_wine_try_cflags_saved
13502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13503 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13504 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
13505 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
13507 saved_CFLAGS=$CFLAGS
13508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13509 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13510 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
13511 $as_echo_n "(cached) " >&6
13512 else
13513 ac_wine_try_cflags_saved=$CFLAGS
13514 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13516 /* end confdefs.h. */
13517 int main(int argc, char **argv) { return 0; }
13518 _ACEOF
13519 if ac_fn_c_try_link "$LINENO"; then :
13520 ac_cv_cflags__Werror_unknown_warning_option=yes
13521 else
13522 ac_cv_cflags__Werror_unknown_warning_option=no
13524 rm -f core conftest.err conftest.$ac_objext \
13525 conftest$ac_exeext conftest.$ac_ext
13526 CFLAGS=$ac_wine_try_cflags_saved
13528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13529 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13530 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
13531 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13534 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13535 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
13536 $as_echo_n "(cached) " >&6
13537 else
13538 ac_wine_try_cflags_saved=$CFLAGS
13539 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
13540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13541 /* end confdefs.h. */
13542 int main(int argc, char **argv) { return 0; }
13543 _ACEOF
13544 if ac_fn_c_try_link "$LINENO"; then :
13545 ac_cv_cflags__Wdeclaration_after_statement=yes
13546 else
13547 ac_cv_cflags__Wdeclaration_after_statement=no
13549 rm -f core conftest.err conftest.$ac_objext \
13550 conftest$ac_exeext conftest.$ac_ext
13551 CFLAGS=$ac_wine_try_cflags_saved
13553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13554 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13555 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
13556 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
13558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13559 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13560 if ${ac_cv_cflags__Wempty_body+:} false; then :
13561 $as_echo_n "(cached) " >&6
13562 else
13563 ac_wine_try_cflags_saved=$CFLAGS
13564 CFLAGS="$CFLAGS -Wempty-body"
13565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13566 /* end confdefs.h. */
13567 int main(int argc, char **argv) { return 0; }
13568 _ACEOF
13569 if ac_fn_c_try_link "$LINENO"; then :
13570 ac_cv_cflags__Wempty_body=yes
13571 else
13572 ac_cv_cflags__Wempty_body=no
13574 rm -f core conftest.err conftest.$ac_objext \
13575 conftest$ac_exeext conftest.$ac_ext
13576 CFLAGS=$ac_wine_try_cflags_saved
13578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13579 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13580 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
13581 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
13583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13584 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13585 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
13586 $as_echo_n "(cached) " >&6
13587 else
13588 ac_wine_try_cflags_saved=$CFLAGS
13589 CFLAGS="$CFLAGS -Wignored-qualifiers"
13590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13591 /* end confdefs.h. */
13592 int main(int argc, char **argv) { return 0; }
13593 _ACEOF
13594 if ac_fn_c_try_link "$LINENO"; then :
13595 ac_cv_cflags__Wignored_qualifiers=yes
13596 else
13597 ac_cv_cflags__Wignored_qualifiers=no
13599 rm -f core conftest.err conftest.$ac_objext \
13600 conftest$ac_exeext conftest.$ac_ext
13601 CFLAGS=$ac_wine_try_cflags_saved
13603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13604 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13605 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
13606 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
13608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13609 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13610 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
13611 $as_echo_n "(cached) " >&6
13612 else
13613 ac_wine_try_cflags_saved=$CFLAGS
13614 CFLAGS="$CFLAGS -Wstrict-prototypes"
13615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13616 /* end confdefs.h. */
13617 int main(int argc, char **argv) { return 0; }
13618 _ACEOF
13619 if ac_fn_c_try_link "$LINENO"; then :
13620 ac_cv_cflags__Wstrict_prototypes=yes
13621 else
13622 ac_cv_cflags__Wstrict_prototypes=no
13624 rm -f core conftest.err conftest.$ac_objext \
13625 conftest$ac_exeext conftest.$ac_ext
13626 CFLAGS=$ac_wine_try_cflags_saved
13628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13629 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13630 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
13631 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
13633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13634 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13635 if ${ac_cv_cflags__Wtype_limits+:} false; then :
13636 $as_echo_n "(cached) " >&6
13637 else
13638 ac_wine_try_cflags_saved=$CFLAGS
13639 CFLAGS="$CFLAGS -Wtype-limits"
13640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13641 /* end confdefs.h. */
13642 int main(int argc, char **argv) { return 0; }
13643 _ACEOF
13644 if ac_fn_c_try_link "$LINENO"; then :
13645 ac_cv_cflags__Wtype_limits=yes
13646 else
13647 ac_cv_cflags__Wtype_limits=no
13649 rm -f core conftest.err conftest.$ac_objext \
13650 conftest$ac_exeext conftest.$ac_ext
13651 CFLAGS=$ac_wine_try_cflags_saved
13653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13654 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13655 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
13656 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
13658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13659 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13660 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
13661 $as_echo_n "(cached) " >&6
13662 else
13663 ac_wine_try_cflags_saved=$CFLAGS
13664 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
13665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13666 /* end confdefs.h. */
13667 int main(int argc, char **argv) { return 0; }
13668 _ACEOF
13669 if ac_fn_c_try_link "$LINENO"; then :
13670 ac_cv_cflags__Wunused_but_set_parameter=yes
13671 else
13672 ac_cv_cflags__Wunused_but_set_parameter=no
13674 rm -f core conftest.err conftest.$ac_objext \
13675 conftest$ac_exeext conftest.$ac_ext
13676 CFLAGS=$ac_wine_try_cflags_saved
13678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13679 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13680 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
13681 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
13683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13684 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13685 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
13686 $as_echo_n "(cached) " >&6
13687 else
13688 ac_wine_try_cflags_saved=$CFLAGS
13689 CFLAGS="$CFLAGS -Wwrite-strings"
13690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13691 /* end confdefs.h. */
13692 int main(int argc, char **argv) { return 0; }
13693 _ACEOF
13694 if ac_fn_c_try_link "$LINENO"; then :
13695 ac_cv_cflags__Wwrite_strings=yes
13696 else
13697 ac_cv_cflags__Wwrite_strings=no
13699 rm -f core conftest.err conftest.$ac_objext \
13700 conftest$ac_exeext conftest.$ac_ext
13701 CFLAGS=$ac_wine_try_cflags_saved
13703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13704 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13705 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
13706 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
13709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13710 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13711 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
13712 $as_echo_n "(cached) " >&6
13713 else
13714 ac_wine_try_cflags_saved=$CFLAGS
13715 CFLAGS="$CFLAGS -Wpointer-arith"
13716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13717 /* end confdefs.h. */
13718 int main(int argc, char **argv) { return 0; }
13719 _ACEOF
13720 if ac_fn_c_try_link "$LINENO"; then :
13721 ac_cv_cflags__Wpointer_arith=yes
13722 else
13723 ac_cv_cflags__Wpointer_arith=no
13725 rm -f core conftest.err conftest.$ac_objext \
13726 conftest$ac_exeext conftest.$ac_ext
13727 CFLAGS=$ac_wine_try_cflags_saved
13729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13730 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13731 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
13732 saved_string_h_CFLAGS=$CFLAGS
13733 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
13734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13735 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13736 if ${ac_cv_c_string_h_warnings+:} false; then :
13737 $as_echo_n "(cached) " >&6
13738 else
13739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13740 /* end confdefs.h. */
13741 #include <string.h>
13743 main ()
13747 return 0;
13749 _ACEOF
13750 if ac_fn_c_try_compile "$LINENO"; then :
13751 ac_cv_c_string_h_warnings=no
13752 else
13753 ac_cv_c_string_h_warnings=yes
13755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13758 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13759 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
13760 CFLAGS=$saved_string_h_CFLAGS
13763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13764 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13765 if ${ac_cv_cflags__Wlogical_op+:} false; then :
13766 $as_echo_n "(cached) " >&6
13767 else
13768 ac_wine_try_cflags_saved=$CFLAGS
13769 CFLAGS="$CFLAGS -Wlogical-op"
13770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13771 /* end confdefs.h. */
13772 int main(int argc, char **argv) { return 0; }
13773 _ACEOF
13774 if ac_fn_c_try_link "$LINENO"; then :
13775 ac_cv_cflags__Wlogical_op=yes
13776 else
13777 ac_cv_cflags__Wlogical_op=no
13779 rm -f core conftest.err conftest.$ac_objext \
13780 conftest$ac_exeext conftest.$ac_ext
13781 CFLAGS=$ac_wine_try_cflags_saved
13783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13784 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13785 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
13786 saved_string_h_CFLAGS=$CFLAGS
13787 CFLAGS="$CFLAGS -Wlogical-op -Werror"
13788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13789 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13790 if ${ac_cv_c_logicalop_noisy+:} false; then :
13791 $as_echo_n "(cached) " >&6
13792 else
13793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13794 /* end confdefs.h. */
13795 #include <string.h>
13796 char*f(const char *h,char n) {return strchr(h,n);}
13798 main ()
13802 return 0;
13804 _ACEOF
13805 if ac_fn_c_try_compile "$LINENO"; then :
13806 ac_cv_c_logicalop_noisy=no
13807 else
13808 ac_cv_c_logicalop_noisy=yes
13810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13813 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13814 CFLAGS=$saved_string_h_CFLAGS
13815 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
13818 CFLAGS=$saved_CFLAGS
13820 for ac_flag in $CFLAGS; do
13821 case $ac_flag in
13822 -g) case $host_os in
13823 darwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13824 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
13825 if ${ac_cv_cflags__gstabsp+:} false; then :
13826 $as_echo_n "(cached) " >&6
13827 else
13828 ac_wine_try_cflags_saved=$CFLAGS
13829 CFLAGS="$CFLAGS -gstabs+"
13830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13831 /* end confdefs.h. */
13832 int main(int argc, char **argv) { return 0; }
13833 _ACEOF
13834 if ac_fn_c_try_link "$LINENO"; then :
13835 ac_cv_cflags__gstabsp=yes
13836 else
13837 ac_cv_cflags__gstabsp=no
13839 rm -f core conftest.err conftest.$ac_objext \
13840 conftest$ac_exeext conftest.$ac_ext
13841 CFLAGS=$ac_wine_try_cflags_saved
13843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
13844 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
13845 if test "x$ac_cv_cflags__gstabsp" = xyes; then :
13846 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
13847 fi ;;
13848 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
13849 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
13850 if ${ac_cv_cflags__gdwarf_2+:} false; then :
13851 $as_echo_n "(cached) " >&6
13852 else
13853 ac_wine_try_cflags_saved=$CFLAGS
13854 CFLAGS="$CFLAGS -gdwarf-2"
13855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13856 /* end confdefs.h. */
13857 int main(int argc, char **argv) { return 0; }
13858 _ACEOF
13859 if ac_fn_c_try_link "$LINENO"; then :
13860 ac_cv_cflags__gdwarf_2=yes
13861 else
13862 ac_cv_cflags__gdwarf_2=no
13864 rm -f core conftest.err conftest.$ac_objext \
13865 conftest$ac_exeext conftest.$ac_ext
13866 CFLAGS=$ac_wine_try_cflags_saved
13868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
13869 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
13870 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
13871 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
13873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
13874 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
13875 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
13876 $as_echo_n "(cached) " >&6
13877 else
13878 ac_wine_try_cflags_saved=$CFLAGS
13879 CFLAGS="$CFLAGS -gstrict-dwarf"
13880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13881 /* end confdefs.h. */
13882 int main(int argc, char **argv) { return 0; }
13883 _ACEOF
13884 if ac_fn_c_try_link "$LINENO"; then :
13885 ac_cv_cflags__gstrict_dwarf=yes
13886 else
13887 ac_cv_cflags__gstrict_dwarf=no
13889 rm -f core conftest.err conftest.$ac_objext \
13890 conftest$ac_exeext conftest.$ac_ext
13891 CFLAGS=$ac_wine_try_cflags_saved
13893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
13894 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
13895 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
13896 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
13897 fi ;;
13898 esac ;;
13899 esac
13900 done
13902 case $host_cpu in
13903 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
13904 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
13905 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
13906 $as_echo_n "(cached) " >&6
13907 else
13908 ac_wine_try_cflags_saved=$CFLAGS
13909 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
13910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13911 /* end confdefs.h. */
13912 int main(int argc, char **argv) { return 0; }
13913 _ACEOF
13914 if ac_fn_c_try_link "$LINENO"; then :
13915 ac_cv_cflags__fno_omit_frame_pointer=yes
13916 else
13917 ac_cv_cflags__fno_omit_frame_pointer=no
13919 rm -f core conftest.err conftest.$ac_objext \
13920 conftest$ac_exeext conftest.$ac_ext
13921 CFLAGS=$ac_wine_try_cflags_saved
13923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
13924 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
13925 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
13926 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
13927 fi ;;
13928 esac
13930 case $host in
13931 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
13932 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
13933 if ${ac_cv_cflags__Wno_format+:} false; then :
13934 $as_echo_n "(cached) " >&6
13935 else
13936 ac_wine_try_cflags_saved=$CFLAGS
13937 CFLAGS="$CFLAGS -Wno-format"
13938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13939 /* end confdefs.h. */
13940 int main(int argc, char **argv) { return 0; }
13941 _ACEOF
13942 if ac_fn_c_try_link "$LINENO"; then :
13943 ac_cv_cflags__Wno_format=yes
13944 else
13945 ac_cv_cflags__Wno_format=no
13947 rm -f core conftest.err conftest.$ac_objext \
13948 conftest$ac_exeext conftest.$ac_ext
13949 CFLAGS=$ac_wine_try_cflags_saved
13951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
13952 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
13953 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
13954 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
13955 fi ;;
13956 esac
13958 if test "x$enable_maintainer_mode" = "xyes"
13959 then
13960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
13961 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
13962 if ${ac_cv_cflags__Werror+:} false; then :
13963 $as_echo_n "(cached) " >&6
13964 else
13965 ac_wine_try_cflags_saved=$CFLAGS
13966 CFLAGS="$CFLAGS -Werror"
13967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13968 /* end confdefs.h. */
13969 int main(int argc, char **argv) { return 0; }
13970 _ACEOF
13971 if ac_fn_c_try_link "$LINENO"; then :
13972 ac_cv_cflags__Werror=yes
13973 else
13974 ac_cv_cflags__Werror=no
13976 rm -f core conftest.err conftest.$ac_objext \
13977 conftest$ac_exeext conftest.$ac_ext
13978 CFLAGS=$ac_wine_try_cflags_saved
13980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
13981 $as_echo "$ac_cv_cflags__Werror" >&6; }
13982 if test "x$ac_cv_cflags__Werror" = xyes; then :
13983 EXTRACFLAGS="$EXTRACFLAGS -Werror"
13987 saved_CFLAGS="$CFLAGS"
13988 CFLAGS="$CFLAGS -Werror"
13989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
13990 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
13991 if ${ac_cv_have_ms_hook_prologue+:} false; then :
13992 $as_echo_n "(cached) " >&6
13993 else
13994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13995 /* end confdefs.h. */
13996 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
13998 main ()
14002 return 0;
14004 _ACEOF
14005 if ac_fn_c_try_compile "$LINENO"; then :
14006 ac_cv_have_ms_hook_prologue="yes"
14007 else
14008 ac_cv_have_ms_hook_prologue="no"
14010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14013 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14014 CFLAGS="$saved_CFLAGS"
14015 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14016 then
14018 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14020 else
14021 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14028 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14029 if ${ac_cv_c_fortify_enabled+:} false; then :
14030 $as_echo_n "(cached) " >&6
14031 else
14032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14033 /* end confdefs.h. */
14034 #include <string.h>
14036 main ()
14038 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14039 #error Fortify enabled
14040 #endif
14042 return 0;
14044 _ACEOF
14045 if ac_fn_c_try_compile "$LINENO"; then :
14046 ac_cv_c_fortify_enabled=no
14047 else
14048 ac_cv_c_fortify_enabled=yes
14050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14053 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14054 if test "$ac_cv_c_fortify_enabled" = yes
14055 then
14056 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14061 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14062 if ${ac_cv_c_extern_prefix+:} false; then :
14063 $as_echo_n "(cached) " >&6
14064 else
14065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14066 /* end confdefs.h. */
14067 extern int ac_test;
14069 main ()
14071 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14073 return 0;
14075 _ACEOF
14076 if ac_fn_c_try_link "$LINENO"; then :
14077 ac_cv_c_extern_prefix="yes"
14078 else
14079 ac_cv_c_extern_prefix="no"
14081 rm -f core conftest.err conftest.$ac_objext \
14082 conftest$ac_exeext conftest.$ac_ext
14084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14085 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14087 case $host_cpu in
14088 *i[3456789]86*)
14089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14090 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14091 if ${ac_cv_c_stdcall_suffix+:} false; then :
14092 $as_echo_n "(cached) " >&6
14093 else
14094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14095 /* end confdefs.h. */
14096 #ifndef _MSC_VER
14097 #define __stdcall __attribute__((__stdcall__))
14098 #endif
14099 int __stdcall ac_test(int i) { return i; }
14101 main ()
14103 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14105 return 0;
14107 _ACEOF
14108 if ac_fn_c_try_link "$LINENO"; then :
14109 ac_cv_c_stdcall_suffix="yes"
14110 else
14111 ac_cv_c_stdcall_suffix="no"
14113 rm -f core conftest.err conftest.$ac_objext \
14114 conftest$ac_exeext conftest.$ac_ext
14116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14117 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14118 *) ac_cv_c_stdcall_suffix="no" ;;
14119 esac
14122 if test "$ac_cv_c_extern_prefix" = "yes"
14123 then
14124 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14126 asm_name_prefix="_"
14127 else
14128 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14130 asm_name_prefix=""
14134 if test "$ac_cv_c_stdcall_suffix" = "yes"
14135 then
14136 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14138 else
14139 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14145 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14146 if ${ac_cv_asm_func_def+:} false; then :
14147 $as_echo_n "(cached) " >&6
14148 else
14149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14150 /* end confdefs.h. */
14153 main ()
14155 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14157 return 0;
14159 _ACEOF
14160 if ac_fn_c_try_link "$LINENO"; then :
14161 ac_cv_asm_func_def=".def"
14162 else
14163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14164 /* end confdefs.h. */
14167 main ()
14169 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14171 return 0;
14173 _ACEOF
14174 if ac_fn_c_try_link "$LINENO"; then :
14175 ac_cv_asm_func_def=".type @function"
14176 else
14177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14178 /* end confdefs.h. */
14181 main ()
14183 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14185 return 0;
14187 _ACEOF
14188 if ac_fn_c_try_link "$LINENO"; then :
14189 ac_cv_asm_func_def=".type 2"
14190 else
14191 ac_cv_asm_func_def="unknown"
14193 rm -f core conftest.err conftest.$ac_objext \
14194 conftest$ac_exeext conftest.$ac_ext
14196 rm -f core conftest.err conftest.$ac_objext \
14197 conftest$ac_exeext conftest.$ac_ext
14199 rm -f core conftest.err conftest.$ac_objext \
14200 conftest$ac_exeext conftest.$ac_ext
14202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14203 $as_echo "$ac_cv_asm_func_def" >&6; }
14206 case "$ac_cv_asm_func_def" in
14207 ".def")
14208 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14210 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14211 ".type @function")
14212 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14214 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14215 ".type 2")
14216 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14218 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14220 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14222 asm_func_header="" ;;
14223 esac
14225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14226 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14227 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14228 $as_echo_n "(cached) " >&6
14229 else
14230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14231 /* end confdefs.h. */
14232 asm(".text\n\t.long 0");
14234 main ()
14238 return 0;
14240 _ACEOF
14241 if ac_fn_c_try_compile "$LINENO"; then :
14242 ac_cv_c_asm_outside_funcs="yes"
14243 else
14244 ac_cv_c_asm_outside_funcs="no"
14246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14249 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14252 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14253 if ${ac_cv_c_dot_previous+:} false; then :
14254 $as_echo_n "(cached) " >&6
14255 else
14256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14257 /* end confdefs.h. */
14260 main ()
14262 asm(".text\nac_test:\t.long 0\n\t.previous");
14264 return 0;
14266 _ACEOF
14267 if ac_fn_c_try_link "$LINENO"; then :
14268 ac_cv_c_dot_previous="yes"
14269 else
14270 ac_cv_c_dot_previous="no"
14272 rm -f core conftest.err conftest.$ac_objext \
14273 conftest$ac_exeext conftest.$ac_ext
14275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14276 $as_echo "$ac_cv_c_dot_previous" >&6; }
14278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14279 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14280 if ${ac_cv_c_cfi_support+:} false; then :
14281 $as_echo_n "(cached) " >&6
14282 else
14283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14284 /* end confdefs.h. */
14285 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14287 main ()
14291 return 0;
14293 _ACEOF
14294 if ac_fn_c_try_compile "$LINENO"; then :
14295 ac_cv_c_cfi_support="yes"
14296 else
14297 ac_cv_c_cfi_support="no"
14299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14302 $as_echo "$ac_cv_c_cfi_support" >&6; }
14304 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14305 asm_func_trailer=""
14306 if test "$ac_cv_c_dot_previous" = "yes"
14307 then
14308 asm_func_trailer="\\n\\t.previous"
14310 if test "$ac_cv_c_cfi_support" = "yes"
14311 then
14312 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14313 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14315 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14317 UNWINDFLAGS=-fasynchronous-unwind-tables
14319 else
14320 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14324 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14327 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14328 then
14329 cat >>confdefs.h <<_ACEOF
14330 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14331 _ACEOF
14333 else
14334 cat >>confdefs.h <<_ACEOF
14335 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14336 _ACEOF
14340 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14343 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14347 case $build_os in
14348 cygwin*|mingw32*) TOOLSEXT=".exe"
14350 esac
14352 case $host_os in
14353 linux*)
14354 case $host_cpu in
14355 *i[3456789]86*|x86_64*)
14356 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14357 loader_programs="$loader_programs $wine_binary-preloader"
14358 as_fn_append LOADER_RULES "
14359 $wine_binary-preloader: preloader.o
14360 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14362 install install-lib:: $wine_binary-preloader
14363 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14365 uninstall::
14366 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14368 preloader_EXTRADEFS = $BUILTINFLAG
14369 " ;;
14370 esac
14372 esac
14373 as_fn_append LOADER_RULES "
14374 PROGRAMS = $loader_programs
14378 ac_save_CFLAGS="$CFLAGS"
14379 CFLAGS="$CFLAGS $BUILTINFLAG"
14380 for ac_func in \
14381 __res_get_state \
14382 __res_getservers \
14383 _finite \
14384 _isnan \
14385 _pclose \
14386 _popen \
14387 _snprintf \
14388 _spawnvp \
14389 _strdup \
14390 _stricmp \
14391 _strnicmp \
14392 _strtoi64 \
14393 _strtoui64 \
14394 _vsnprintf \
14395 asctime_r \
14396 chsize \
14397 dlopen \
14398 epoll_create \
14399 ffs \
14400 fnmatch \
14401 fork \
14402 fpclass \
14403 fstatfs \
14404 fstatvfs \
14405 ftruncate \
14406 futimens \
14407 futimes \
14408 futimesat \
14409 getattrlist \
14410 getdirentries \
14411 getopt_long_only \
14412 getpwuid \
14413 gettimeofday \
14414 getuid \
14415 if_nameindex \
14416 kqueue \
14417 lstat \
14418 memmove \
14419 mmap \
14420 pclose \
14421 pipe2 \
14422 poll \
14423 popen \
14424 port_create \
14425 prctl \
14426 pread \
14427 proc_pidinfo \
14428 pwrite \
14429 readdir \
14430 readlink \
14431 sched_yield \
14432 select \
14433 setproctitle \
14434 setrlimit \
14435 settimeofday \
14436 sigaltstack \
14437 sigprocmask \
14438 snprintf \
14439 statfs \
14440 statvfs \
14441 strcasecmp \
14442 strdup \
14443 strerror \
14444 strncasecmp \
14445 strtold \
14446 strtoll \
14447 strtoull \
14448 symlink \
14449 tcdrain \
14450 thr_kill2 \
14451 timegm \
14452 usleep \
14453 vsnprintf
14455 do :
14456 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14457 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14458 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14459 cat >>confdefs.h <<_ACEOF
14460 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14461 _ACEOF
14464 done
14466 CFLAGS="$ac_save_CFLAGS"
14468 if test "$ac_cv_func_dlopen" = no
14469 then
14470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14471 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14472 if ${ac_cv_lib_dl_dlopen+:} false; then :
14473 $as_echo_n "(cached) " >&6
14474 else
14475 ac_check_lib_save_LIBS=$LIBS
14476 LIBS="-ldl $LIBS"
14477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14478 /* end confdefs.h. */
14480 /* Override any GCC internal prototype to avoid an error.
14481 Use char because int might match the return type of a GCC
14482 builtin and then its argument prototype would still apply. */
14483 #ifdef __cplusplus
14484 extern "C"
14485 #endif
14486 char dlopen ();
14488 main ()
14490 return dlopen ();
14492 return 0;
14494 _ACEOF
14495 if ac_fn_c_try_link "$LINENO"; then :
14496 ac_cv_lib_dl_dlopen=yes
14497 else
14498 ac_cv_lib_dl_dlopen=no
14500 rm -f core conftest.err conftest.$ac_objext \
14501 conftest$ac_exeext conftest.$ac_ext
14502 LIBS=$ac_check_lib_save_LIBS
14504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14505 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14506 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14507 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14508 DL_LIBS="-ldl"
14513 ac_wine_check_funcs_save_LIBS="$LIBS"
14514 LIBS="$LIBS $DL_LIBS"
14515 for ac_func in dladdr
14516 do :
14517 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
14518 if test "x$ac_cv_func_dladdr" = xyes; then :
14519 cat >>confdefs.h <<_ACEOF
14520 #define HAVE_DLADDR 1
14521 _ACEOF
14524 done
14526 LIBS="$ac_wine_check_funcs_save_LIBS"
14528 if test "$ac_cv_func_poll" = no
14529 then
14530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14531 $as_echo_n "checking for poll in -lpoll... " >&6; }
14532 if ${ac_cv_lib_poll_poll+:} false; then :
14533 $as_echo_n "(cached) " >&6
14534 else
14535 ac_check_lib_save_LIBS=$LIBS
14536 LIBS="-lpoll $LIBS"
14537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14538 /* end confdefs.h. */
14540 /* Override any GCC internal prototype to avoid an error.
14541 Use char because int might match the return type of a GCC
14542 builtin and then its argument prototype would still apply. */
14543 #ifdef __cplusplus
14544 extern "C"
14545 #endif
14546 char poll ();
14548 main ()
14550 return poll ();
14552 return 0;
14554 _ACEOF
14555 if ac_fn_c_try_link "$LINENO"; then :
14556 ac_cv_lib_poll_poll=yes
14557 else
14558 ac_cv_lib_poll_poll=no
14560 rm -f core conftest.err conftest.$ac_objext \
14561 conftest$ac_exeext conftest.$ac_ext
14562 LIBS=$ac_check_lib_save_LIBS
14564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14565 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14566 if test "x$ac_cv_lib_poll_poll" = xyes; then :
14567 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14568 POLL_LIBS="-lpoll"
14574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14575 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14576 if ${ac_cv_search_gethostbyname+:} false; then :
14577 $as_echo_n "(cached) " >&6
14578 else
14579 ac_func_search_save_LIBS=$LIBS
14580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14581 /* end confdefs.h. */
14583 /* Override any GCC internal prototype to avoid an error.
14584 Use char because int might match the return type of a GCC
14585 builtin and then its argument prototype would still apply. */
14586 #ifdef __cplusplus
14587 extern "C"
14588 #endif
14589 char gethostbyname ();
14591 main ()
14593 return gethostbyname ();
14595 return 0;
14597 _ACEOF
14598 for ac_lib in '' nsl; do
14599 if test -z "$ac_lib"; then
14600 ac_res="none required"
14601 else
14602 ac_res=-l$ac_lib
14603 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14605 if ac_fn_c_try_link "$LINENO"; then :
14606 ac_cv_search_gethostbyname=$ac_res
14608 rm -f core conftest.err conftest.$ac_objext \
14609 conftest$ac_exeext
14610 if ${ac_cv_search_gethostbyname+:} false; then :
14611 break
14613 done
14614 if ${ac_cv_search_gethostbyname+:} false; then :
14616 else
14617 ac_cv_search_gethostbyname=no
14619 rm conftest.$ac_ext
14620 LIBS=$ac_func_search_save_LIBS
14622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14623 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14624 ac_res=$ac_cv_search_gethostbyname
14625 if test "$ac_res" != no; then :
14626 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14632 $as_echo_n "checking for library containing connect... " >&6; }
14633 if ${ac_cv_search_connect+:} false; then :
14634 $as_echo_n "(cached) " >&6
14635 else
14636 ac_func_search_save_LIBS=$LIBS
14637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14638 /* end confdefs.h. */
14640 /* Override any GCC internal prototype to avoid an error.
14641 Use char because int might match the return type of a GCC
14642 builtin and then its argument prototype would still apply. */
14643 #ifdef __cplusplus
14644 extern "C"
14645 #endif
14646 char connect ();
14648 main ()
14650 return connect ();
14652 return 0;
14654 _ACEOF
14655 for ac_lib in '' socket; do
14656 if test -z "$ac_lib"; then
14657 ac_res="none required"
14658 else
14659 ac_res=-l$ac_lib
14660 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14662 if ac_fn_c_try_link "$LINENO"; then :
14663 ac_cv_search_connect=$ac_res
14665 rm -f core conftest.err conftest.$ac_objext \
14666 conftest$ac_exeext
14667 if ${ac_cv_search_connect+:} false; then :
14668 break
14670 done
14671 if ${ac_cv_search_connect+:} false; then :
14673 else
14674 ac_cv_search_connect=no
14676 rm conftest.$ac_ext
14677 LIBS=$ac_func_search_save_LIBS
14679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14680 $as_echo "$ac_cv_search_connect" >&6; }
14681 ac_res=$ac_cv_search_connect
14682 if test "$ac_res" != no; then :
14683 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14689 $as_echo_n "checking for library containing inet_aton... " >&6; }
14690 if ${ac_cv_search_inet_aton+:} false; then :
14691 $as_echo_n "(cached) " >&6
14692 else
14693 ac_func_search_save_LIBS=$LIBS
14694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14695 /* end confdefs.h. */
14697 /* Override any GCC internal prototype to avoid an error.
14698 Use char because int might match the return type of a GCC
14699 builtin and then its argument prototype would still apply. */
14700 #ifdef __cplusplus
14701 extern "C"
14702 #endif
14703 char inet_aton ();
14705 main ()
14707 return inet_aton ();
14709 return 0;
14711 _ACEOF
14712 for ac_lib in '' resolv; do
14713 if test -z "$ac_lib"; then
14714 ac_res="none required"
14715 else
14716 ac_res=-l$ac_lib
14717 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14719 if ac_fn_c_try_link "$LINENO"; then :
14720 ac_cv_search_inet_aton=$ac_res
14722 rm -f core conftest.err conftest.$ac_objext \
14723 conftest$ac_exeext
14724 if ${ac_cv_search_inet_aton+:} false; then :
14725 break
14727 done
14728 if ${ac_cv_search_inet_aton+:} false; then :
14730 else
14731 ac_cv_search_inet_aton=no
14733 rm conftest.$ac_ext
14734 LIBS=$ac_func_search_save_LIBS
14736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14737 $as_echo "$ac_cv_search_inet_aton" >&6; }
14738 ac_res=$ac_cv_search_inet_aton
14739 if test "$ac_res" != no; then :
14740 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14745 for ac_func in \
14746 getaddrinfo \
14747 getnameinfo \
14748 getnetbyname \
14749 getprotobyname \
14750 getprotobynumber \
14751 getservbyport \
14752 inet_addr \
14753 inet_network \
14754 inet_ntop \
14755 inet_pton \
14756 sendmsg \
14757 socketpair \
14759 do :
14760 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14761 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14762 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14763 cat >>confdefs.h <<_ACEOF
14764 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14765 _ACEOF
14768 done
14771 ac_save_LIBS=$LIBS
14772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14773 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14774 if ${ac_cv_search_clock_gettime+:} false; then :
14775 $as_echo_n "(cached) " >&6
14776 else
14777 ac_func_search_save_LIBS=$LIBS
14778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14779 /* end confdefs.h. */
14781 /* Override any GCC internal prototype to avoid an error.
14782 Use char because int might match the return type of a GCC
14783 builtin and then its argument prototype would still apply. */
14784 #ifdef __cplusplus
14785 extern "C"
14786 #endif
14787 char clock_gettime ();
14789 main ()
14791 return clock_gettime ();
14793 return 0;
14795 _ACEOF
14796 for ac_lib in '' rt; do
14797 if test -z "$ac_lib"; then
14798 ac_res="none required"
14799 else
14800 ac_res=-l$ac_lib
14801 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14803 if ac_fn_c_try_link "$LINENO"; then :
14804 ac_cv_search_clock_gettime=$ac_res
14806 rm -f core conftest.err conftest.$ac_objext \
14807 conftest$ac_exeext
14808 if ${ac_cv_search_clock_gettime+:} false; then :
14809 break
14811 done
14812 if ${ac_cv_search_clock_gettime+:} false; then :
14814 else
14815 ac_cv_search_clock_gettime=no
14817 rm conftest.$ac_ext
14818 LIBS=$ac_func_search_save_LIBS
14820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14821 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14822 ac_res=$ac_cv_search_clock_gettime
14823 if test "$ac_res" != no; then :
14824 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14826 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
14828 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
14832 LIBS=$ac_save_LIBS
14834 LDAP_LIBS=""
14836 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
14837 then
14838 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
14840 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
14841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
14842 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
14843 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
14844 $as_echo_n "(cached) " >&6
14845 else
14846 ac_check_lib_save_LIBS=$LIBS
14847 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
14848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14849 /* end confdefs.h. */
14851 /* Override any GCC internal prototype to avoid an error.
14852 Use char because int might match the return type of a GCC
14853 builtin and then its argument prototype would still apply. */
14854 #ifdef __cplusplus
14855 extern "C"
14856 #endif
14857 char ldap_initialize ();
14859 main ()
14861 return ldap_initialize ();
14863 return 0;
14865 _ACEOF
14866 if ac_fn_c_try_link "$LINENO"; then :
14867 ac_cv_lib_ldap_r_ldap_initialize=yes
14868 else
14869 ac_cv_lib_ldap_r_ldap_initialize=no
14871 rm -f core conftest.err conftest.$ac_objext \
14872 conftest$ac_exeext conftest.$ac_ext
14873 LIBS=$ac_check_lib_save_LIBS
14875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
14876 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
14877 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
14878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
14879 $as_echo_n "checking for ber_init in -llber... " >&6; }
14880 if ${ac_cv_lib_lber_ber_init+:} false; then :
14881 $as_echo_n "(cached) " >&6
14882 else
14883 ac_check_lib_save_LIBS=$LIBS
14884 LIBS="-llber $PTHREAD_LIBS $LIBS"
14885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14886 /* end confdefs.h. */
14888 /* Override any GCC internal prototype to avoid an error.
14889 Use char because int might match the return type of a GCC
14890 builtin and then its argument prototype would still apply. */
14891 #ifdef __cplusplus
14892 extern "C"
14893 #endif
14894 char ber_init ();
14896 main ()
14898 return ber_init ();
14900 return 0;
14902 _ACEOF
14903 if ac_fn_c_try_link "$LINENO"; then :
14904 ac_cv_lib_lber_ber_init=yes
14905 else
14906 ac_cv_lib_lber_ber_init=no
14908 rm -f core conftest.err conftest.$ac_objext \
14909 conftest$ac_exeext conftest.$ac_ext
14910 LIBS=$ac_check_lib_save_LIBS
14912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
14913 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
14914 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
14916 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
14918 LDAP_LIBS="-lldap_r -llber"
14925 ac_wine_check_funcs_save_LIBS="$LIBS"
14926 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
14927 for ac_func in \
14928 ldap_count_references \
14929 ldap_first_reference \
14930 ldap_next_reference \
14931 ldap_parse_reference \
14932 ldap_parse_sort_control \
14933 ldap_parse_sortresponse_control \
14934 ldap_parse_vlv_control \
14935 ldap_parse_vlvresponse_control
14936 do :
14937 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14938 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14939 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14940 cat >>confdefs.h <<_ACEOF
14941 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14942 _ACEOF
14945 done
14947 LIBS="$ac_wine_check_funcs_save_LIBS"
14949 if test "x$LDAP_LIBS" = "x"; then :
14950 case "x$with_ldap" in
14951 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
14952 xno) ;;
14953 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
14954 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
14955 esac
14958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
14959 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
14960 if ${wine_cv_one_arg_mkdir+:} false; then :
14961 $as_echo_n "(cached) " >&6
14962 else
14963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14964 /* end confdefs.h. */
14965 #include <sys/stat.h>
14967 main ()
14969 mkdir("foo");
14971 return 0;
14973 _ACEOF
14974 if ac_fn_c_try_compile "$LINENO"; then :
14975 wine_cv_one_arg_mkdir=yes
14976 else
14977 wine_cv_one_arg_mkdir=no
14979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
14982 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
14983 if test "$wine_cv_one_arg_mkdir" = "yes"
14984 then
14986 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
14990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
14991 $as_echo_n "checking for sched_setaffinity... " >&6; }
14992 if ${wine_cv_have_sched_setaffinity+:} false; then :
14993 $as_echo_n "(cached) " >&6
14994 else
14995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14996 /* end confdefs.h. */
14997 #define _GNU_SOURCE
14998 #include <sched.h>
15000 main ()
15002 sched_setaffinity(0, 0, 0);
15004 return 0;
15006 _ACEOF
15007 if ac_fn_c_try_link "$LINENO"; then :
15008 wine_cv_have_sched_setaffinity=yes
15009 else
15010 wine_cv_have_sched_setaffinity=no
15012 rm -f core conftest.err conftest.$ac_objext \
15013 conftest$ac_exeext conftest.$ac_ext
15015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15016 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15017 if test "$wine_cv_have_sched_setaffinity" = "yes"
15018 then
15020 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15025 $as_echo_n "checking for fallocate... " >&6; }
15026 if ${wine_cv_have_fallocate+:} false; then :
15027 $as_echo_n "(cached) " >&6
15028 else
15029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15030 /* end confdefs.h. */
15031 #define _GNU_SOURCE
15032 #include <fcntl.h>
15034 main ()
15036 fallocate(-1, 0, 0, 0);
15038 return 0;
15040 _ACEOF
15041 if ac_fn_c_try_link "$LINENO"; then :
15042 wine_cv_have_fallocate=yes
15043 else
15044 wine_cv_have_fallocate=no
15046 rm -f core conftest.err conftest.$ac_objext \
15047 conftest$ac_exeext conftest.$ac_ext
15049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15050 $as_echo "$wine_cv_have_fallocate" >&6; }
15051 if test "$wine_cv_have_fallocate" = "yes"
15052 then
15054 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15060 $as_echo_n "checking for inline... " >&6; }
15061 if ${ac_cv_c_inline+:} false; then :
15062 $as_echo_n "(cached) " >&6
15063 else
15064 ac_cv_c_inline=no
15065 for ac_kw in inline __inline__ __inline; do
15066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15067 /* end confdefs.h. */
15068 #ifndef __cplusplus
15069 typedef int foo_t;
15070 static $ac_kw foo_t static_foo () {return 0; }
15071 $ac_kw foo_t foo () {return 0; }
15072 #endif
15074 _ACEOF
15075 if ac_fn_c_try_compile "$LINENO"; then :
15076 ac_cv_c_inline=$ac_kw
15078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15079 test "$ac_cv_c_inline" != no && break
15080 done
15083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15084 $as_echo "$ac_cv_c_inline" >&6; }
15086 case $ac_cv_c_inline in
15087 inline | yes) ;;
15089 case $ac_cv_c_inline in
15090 no) ac_val=;;
15091 *) ac_val=$ac_cv_c_inline;;
15092 esac
15093 cat >>confdefs.h <<_ACEOF
15094 #ifndef __cplusplus
15095 #define inline $ac_val
15096 #endif
15097 _ACEOF
15099 esac
15101 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15102 if test "x$ac_cv_type_mode_t" = xyes; then :
15104 cat >>confdefs.h <<_ACEOF
15105 #define HAVE_MODE_T 1
15106 _ACEOF
15110 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15111 if test "x$ac_cv_type_off_t" = xyes; then :
15113 cat >>confdefs.h <<_ACEOF
15114 #define HAVE_OFF_T 1
15115 _ACEOF
15119 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15120 if test "x$ac_cv_type_pid_t" = xyes; then :
15122 cat >>confdefs.h <<_ACEOF
15123 #define HAVE_PID_T 1
15124 _ACEOF
15128 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15129 if test "x$ac_cv_type_size_t" = xyes; then :
15131 cat >>confdefs.h <<_ACEOF
15132 #define HAVE_SIZE_T 1
15133 _ACEOF
15137 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15138 if test "x$ac_cv_type_ssize_t" = xyes; then :
15140 cat >>confdefs.h <<_ACEOF
15141 #define HAVE_SSIZE_T 1
15142 _ACEOF
15146 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15147 if test "x$ac_cv_type_long_long" = xyes; then :
15149 cat >>confdefs.h <<_ACEOF
15150 #define HAVE_LONG_LONG 1
15151 _ACEOF
15155 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15156 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15158 cat >>confdefs.h <<_ACEOF
15159 #define HAVE_FSBLKCNT_T 1
15160 _ACEOF
15164 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15165 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15167 cat >>confdefs.h <<_ACEOF
15168 #define HAVE_FSFILCNT_T 1
15169 _ACEOF
15174 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15175 #include <signal.h>
15177 if test "x$ac_cv_type_sigset_t" = xyes; then :
15179 cat >>confdefs.h <<_ACEOF
15180 #define HAVE_SIGSET_T 1
15181 _ACEOF
15186 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15188 if test "x$ac_cv_type_request_sense" = xyes; then :
15190 cat >>confdefs.h <<_ACEOF
15191 #define HAVE_REQUEST_SENSE 1
15192 _ACEOF
15198 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15199 #ifdef HAVE_SYS_SOCKET_H
15200 #include <sys/socket.h>
15201 #endif
15202 #ifdef HAVE_SYS_SOCKETVAR_H
15203 #include <sys/socketvar.h>
15204 #endif
15205 #ifdef HAVE_NET_ROUTE_H
15206 #include <net/route.h>
15207 #endif
15208 #ifdef HAVE_NETINET_IN_H
15209 #include <netinet/in.h>
15210 #endif
15211 #ifdef HAVE_NETINET_IN_SYSTM_H
15212 #include <netinet/in_systm.h>
15213 #endif
15214 #ifdef HAVE_NETINET_IP_H
15215 #include <netinet/ip.h>
15216 #endif
15217 #ifdef HAVE_NETINET_IN_PCB_H
15218 #include <netinet/in_pcb.h>
15219 #endif
15221 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15223 cat >>confdefs.h <<_ACEOF
15224 #define HAVE_STRUCT_XINPGEN 1
15225 _ACEOF
15231 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15232 #include <link.h>
15233 #endif
15234 #ifdef HAVE_SYS_LINK_H
15235 #include <sys/link.h>
15236 #endif
15238 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15240 cat >>confdefs.h <<_ACEOF
15241 #define HAVE_STRUCT_R_DEBUG 1
15242 _ACEOF
15246 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15247 #include <link.h>
15248 #endif
15249 #ifdef HAVE_SYS_LINK_H
15250 #include <sys/link.h>
15251 #endif
15253 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15255 cat >>confdefs.h <<_ACEOF
15256 #define HAVE_STRUCT_LINK_MAP 1
15257 _ACEOF
15263 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15264 #include <linux/input.h>
15265 #endif
15267 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15269 cat >>confdefs.h <<_ACEOF
15270 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15271 _ACEOF
15277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15278 $as_echo_n "checking for sigaddset... " >&6; }
15279 if ${wine_cv_have_sigaddset+:} false; then :
15280 $as_echo_n "(cached) " >&6
15281 else
15282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15283 /* end confdefs.h. */
15284 #include <signal.h>
15286 main ()
15288 sigset_t set; sigaddset(&set,SIGTERM);
15290 return 0;
15292 _ACEOF
15293 if ac_fn_c_try_link "$LINENO"; then :
15294 wine_cv_have_sigaddset=yes
15295 else
15296 wine_cv_have_sigaddset=no
15298 rm -f core conftest.err conftest.$ac_objext \
15299 conftest$ac_exeext conftest.$ac_ext
15301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15302 $as_echo "$wine_cv_have_sigaddset" >&6; }
15303 if test "$wine_cv_have_sigaddset" = "yes"
15304 then
15306 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15312 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15313 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15314 $as_echo_n "(cached) " >&6
15315 else
15316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15317 /* end confdefs.h. */
15318 #include <netdb.h>
15320 main ()
15323 char *name=0;
15324 struct hostent he;
15325 struct hostent *result;
15326 char *buf=0;
15327 int bufsize=0;
15328 int errnr;
15329 char *addr=0;
15330 int addrlen=0;
15331 int addrtype=0;
15332 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15333 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15336 return 0;
15338 _ACEOF
15339 if ac_fn_c_try_link "$LINENO"; then :
15340 wine_cv_linux_gethostbyname_r_6=yes
15341 else
15342 wine_cv_linux_gethostbyname_r_6=no
15345 rm -f core conftest.err conftest.$ac_objext \
15346 conftest$ac_exeext conftest.$ac_ext
15349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15350 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15351 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15352 then
15354 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15358 if test "$ac_cv_header_linux_joystick_h" = "yes"
15359 then
15360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15361 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15362 if ${wine_cv_linux_joystick_22_api+:} false; then :
15363 $as_echo_n "(cached) " >&6
15364 else
15365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15366 /* end confdefs.h. */
15368 #include <sys/ioctl.h>
15369 #include <sys/types.h>
15370 #include <linux/joystick.h>
15372 struct js_event blub;
15373 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15374 #error "no 2.2 header"
15375 #endif
15378 main ()
15380 /*empty*/
15382 return 0;
15384 _ACEOF
15385 if ac_fn_c_try_compile "$LINENO"; then :
15386 wine_cv_linux_joystick_22_api=yes
15387 else
15388 wine_cv_linux_joystick_22_api=no
15390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15394 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15395 if test "$wine_cv_linux_joystick_22_api" = "yes"
15396 then
15398 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15404 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15405 #ifdef HAVE_SYS_PARAM_H
15406 # include <sys/param.h>
15407 #endif
15408 #ifdef HAVE_SYS_MOUNT_H
15409 # include <sys/mount.h>
15410 #endif
15411 #ifdef HAVE_SYS_VFS_H
15412 # include <sys/vfs.h>
15413 #endif
15414 #ifdef HAVE_SYS_STATFS_H
15415 # include <sys/statfs.h>
15416 #endif
15418 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15420 cat >>confdefs.h <<_ACEOF
15421 #define HAVE_STRUCT_STATFS_F_BFREE 1
15422 _ACEOF
15426 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15427 #ifdef HAVE_SYS_PARAM_H
15428 # include <sys/param.h>
15429 #endif
15430 #ifdef HAVE_SYS_MOUNT_H
15431 # include <sys/mount.h>
15432 #endif
15433 #ifdef HAVE_SYS_VFS_H
15434 # include <sys/vfs.h>
15435 #endif
15436 #ifdef HAVE_SYS_STATFS_H
15437 # include <sys/statfs.h>
15438 #endif
15440 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
15442 cat >>confdefs.h <<_ACEOF
15443 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15444 _ACEOF
15448 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15449 #ifdef HAVE_SYS_PARAM_H
15450 # include <sys/param.h>
15451 #endif
15452 #ifdef HAVE_SYS_MOUNT_H
15453 # include <sys/mount.h>
15454 #endif
15455 #ifdef HAVE_SYS_VFS_H
15456 # include <sys/vfs.h>
15457 #endif
15458 #ifdef HAVE_SYS_STATFS_H
15459 # include <sys/statfs.h>
15460 #endif
15462 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
15464 cat >>confdefs.h <<_ACEOF
15465 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15466 _ACEOF
15470 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15471 #ifdef HAVE_SYS_PARAM_H
15472 # include <sys/param.h>
15473 #endif
15474 #ifdef HAVE_SYS_MOUNT_H
15475 # include <sys/mount.h>
15476 #endif
15477 #ifdef HAVE_SYS_VFS_H
15478 # include <sys/vfs.h>
15479 #endif
15480 #ifdef HAVE_SYS_STATFS_H
15481 # include <sys/statfs.h>
15482 #endif
15484 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
15486 cat >>confdefs.h <<_ACEOF
15487 #define HAVE_STRUCT_STATFS_F_FFREE 1
15488 _ACEOF
15492 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15493 #ifdef HAVE_SYS_PARAM_H
15494 # include <sys/param.h>
15495 #endif
15496 #ifdef HAVE_SYS_MOUNT_H
15497 # include <sys/mount.h>
15498 #endif
15499 #ifdef HAVE_SYS_VFS_H
15500 # include <sys/vfs.h>
15501 #endif
15502 #ifdef HAVE_SYS_STATFS_H
15503 # include <sys/statfs.h>
15504 #endif
15506 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
15508 cat >>confdefs.h <<_ACEOF
15509 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15510 _ACEOF
15514 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15515 #ifdef HAVE_SYS_PARAM_H
15516 # include <sys/param.h>
15517 #endif
15518 #ifdef HAVE_SYS_MOUNT_H
15519 # include <sys/mount.h>
15520 #endif
15521 #ifdef HAVE_SYS_VFS_H
15522 # include <sys/vfs.h>
15523 #endif
15524 #ifdef HAVE_SYS_STATFS_H
15525 # include <sys/statfs.h>
15526 #endif
15528 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
15530 cat >>confdefs.h <<_ACEOF
15531 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15532 _ACEOF
15538 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15539 #include <sys/statvfs.h>
15540 #endif
15542 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
15544 cat >>confdefs.h <<_ACEOF
15545 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15546 _ACEOF
15552 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15553 #include <dirent.h>
15554 #endif
15556 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
15558 cat >>confdefs.h <<_ACEOF
15559 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15560 _ACEOF
15566 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15567 #ifdef HAVE_SYS_SOCKET_H
15568 # include <sys/socket.h>
15569 #endif
15570 #ifdef HAVE_SYS_UN_H
15571 # include <sys/un.h>
15572 #endif
15574 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
15576 cat >>confdefs.h <<_ACEOF
15577 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15578 _ACEOF
15582 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15583 #ifdef HAVE_SYS_SOCKET_H
15584 # include <sys/socket.h>
15585 #endif
15586 #ifdef HAVE_SYS_UN_H
15587 # include <sys/un.h>
15588 #endif
15590 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
15592 cat >>confdefs.h <<_ACEOF
15593 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15594 _ACEOF
15598 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15599 #ifdef HAVE_SYS_SOCKET_H
15600 # include <sys/socket.h>
15601 #endif
15602 #ifdef HAVE_SYS_UN_H
15603 # include <sys/un.h>
15604 #endif
15606 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
15608 cat >>confdefs.h <<_ACEOF
15609 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15610 _ACEOF
15616 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15617 #ifdef HAVE_SCSI_SG_H
15618 #include <scsi/sg.h>
15619 #endif
15621 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
15623 cat >>confdefs.h <<_ACEOF
15624 #define HAVE_SCSIREQ_T_CMD 1
15625 _ACEOF
15629 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>
15630 #ifdef HAVE_SCSI_SG_H
15631 #include <scsi/sg.h>
15632 #endif
15634 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
15636 cat >>confdefs.h <<_ACEOF
15637 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15638 _ACEOF
15644 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15646 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
15648 cat >>confdefs.h <<_ACEOF
15649 #define HAVE_SIGINFO_T_SI_FD 1
15650 _ACEOF
15656 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15657 #ifdef HAVE_SYS_MTIO_H
15658 #include <sys/mtio.h>
15659 #endif
15661 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
15663 cat >>confdefs.h <<_ACEOF
15664 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15665 _ACEOF
15669 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15670 #ifdef HAVE_SYS_MTIO_H
15671 #include <sys/mtio.h>
15672 #endif
15674 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
15676 cat >>confdefs.h <<_ACEOF
15677 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15678 _ACEOF
15682 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15683 #ifdef HAVE_SYS_MTIO_H
15684 #include <sys/mtio.h>
15685 #endif
15687 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
15689 cat >>confdefs.h <<_ACEOF
15690 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15691 _ACEOF
15697 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15698 #include <getopt.h>
15699 #endif
15701 if test "x$ac_cv_member_struct_option_name" = xyes; then :
15703 cat >>confdefs.h <<_ACEOF
15704 #define HAVE_STRUCT_OPTION_NAME 1
15705 _ACEOF
15711 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15712 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
15714 cat >>confdefs.h <<_ACEOF
15715 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15716 _ACEOF
15720 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15721 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
15723 cat >>confdefs.h <<_ACEOF
15724 #define HAVE_STRUCT_STAT_ST_MTIM 1
15725 _ACEOF
15729 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15730 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
15732 cat >>confdefs.h <<_ACEOF
15733 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15734 _ACEOF
15738 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15739 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
15741 cat >>confdefs.h <<_ACEOF
15742 #define HAVE_STRUCT_STAT_ST_CTIM 1
15743 _ACEOF
15747 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15748 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
15750 cat >>confdefs.h <<_ACEOF
15751 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15752 _ACEOF
15756 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15757 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
15759 cat >>confdefs.h <<_ACEOF
15760 #define HAVE_STRUCT_STAT_ST_ATIM 1
15761 _ACEOF
15765 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15766 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
15768 cat >>confdefs.h <<_ACEOF
15769 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15770 _ACEOF
15774 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15775 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
15777 cat >>confdefs.h <<_ACEOF
15778 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15779 _ACEOF
15783 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15784 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
15786 cat >>confdefs.h <<_ACEOF
15787 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15788 _ACEOF
15792 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15793 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
15795 cat >>confdefs.h <<_ACEOF
15796 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15797 _ACEOF
15801 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15802 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
15804 cat >>confdefs.h <<_ACEOF
15805 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15806 _ACEOF
15810 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15811 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
15813 cat >>confdefs.h <<_ACEOF
15814 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15815 _ACEOF
15821 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
15822 #include <sys/types.h>
15823 #endif
15824 #ifdef HAVE_NETINET_IN_H
15825 #include <netinet/in.h>
15826 #endif
15828 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
15830 cat >>confdefs.h <<_ACEOF
15831 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
15832 _ACEOF
15838 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
15839 #include <resolv.h>
15840 #endif
15842 if test "x$ac_cv_type_struct___res_state" = xyes; then :
15844 cat >>confdefs.h <<_ACEOF
15845 #define HAVE_STRUCT___RES_STATE 1
15846 _ACEOF
15852 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
15853 #include <resolv.h>
15854 #endif
15856 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
15858 cat >>confdefs.h <<_ACEOF
15859 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
15860 _ACEOF
15866 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
15867 #include <sys/types.h>
15868 #endif
15869 #ifdef HAVE_NETINET_IN_H
15870 # include <netinet/in.h>
15871 #endif
15872 #ifdef HAVE_ARPA_NAMESER_H
15873 # include <arpa/nameser.h>
15874 #endif
15876 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
15878 cat >>confdefs.h <<_ACEOF
15879 #define HAVE_NS_MSG__MSG_PTR 1
15880 _ACEOF
15886 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
15887 #include <sys/types.h>
15888 #endif
15889 #ifdef HAVE_NETINET_IP_H
15890 #include <netinet/ip.h>
15891 #endif
15892 #ifdef HAVE_NETINET_IP_ICMP_H
15893 #include <netinet/ip_icmp.h>
15894 #endif
15895 #ifdef HAVE_NETINET_ICMP_VAR_H
15896 #include <netinet/icmp_var.h>
15897 #endif
15899 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
15901 cat >>confdefs.h <<_ACEOF
15902 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
15903 _ACEOF
15909 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
15910 #include <sys/types.h>
15911 #endif
15912 #ifdef HAVE_ALIAS_H
15913 #include <alias.h>
15914 #endif
15915 #ifdef HAVE_SYS_SOCKET_H
15916 #include <sys/socket.h>
15917 #endif
15918 #ifdef HAVE_SYS_SOCKETVAR_H
15919 #include <sys/socketvar.h>
15920 #endif
15921 #ifdef HAVE_SYS_TIMEOUT_H
15922 #include <sys/timeout.h>
15923 #endif
15924 #ifdef HAVE_NETINET_IN_H
15925 #include <netinet/in.h>
15926 #endif
15927 #ifdef HAVE_NETINET_IN_SYSTM_H
15928 #include <netinet/in_systm.h>
15929 #endif
15930 #ifdef HAVE_NETINET_IP_H
15931 #include <netinet/ip.h>
15932 #endif
15933 #ifdef HAVE_NETINET_IP_VAR_H
15934 #include <netinet/ip_var.h>
15935 #endif
15936 #ifdef HAVE_NETINET_IP_ICMP_H
15937 #include <netinet/ip_icmp.h>
15938 #endif
15939 #ifdef HAVE_NETINET_ICMP_VAR_H
15940 #include <netinet/icmp_var.h>
15941 #endif
15943 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
15945 cat >>confdefs.h <<_ACEOF
15946 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
15947 _ACEOF
15953 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
15954 #include <sys/types.h>
15955 #endif
15956 #ifdef HAVE_SYS_SOCKETVAR_H
15957 #include <sys/socketvar.h>
15958 #endif
15959 #ifdef HAVE_NETINET_IN_H
15960 #include <netinet/in.h>
15961 #endif
15962 #ifdef HAVE_NETINET_IP_VAR_H
15963 #include <netinet/ip_var.h>
15964 #endif
15966 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
15968 cat >>confdefs.h <<_ACEOF
15969 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
15970 _ACEOF
15976 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
15977 #include <netinet/ip_var.h>
15978 #endif
15980 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
15982 cat >>confdefs.h <<_ACEOF
15983 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
15984 _ACEOF
15990 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
15991 #include <sys/types.h>
15992 #endif
15993 #ifdef HAVE_SYS_SOCKETVAR_H
15994 #include <sys/socketvar.h>
15995 #endif
15996 #ifdef HAVE_NETINET_IN_H
15997 #include <netinet/in.h>
15998 #endif
15999 #ifdef HAVE_NETINET_TCP_H
16000 #include <netinet/tcp.h>
16001 #endif
16002 #ifdef HAVE_NETINET_TCP_VAR_H
16003 #include <netinet/tcp_var.h>
16004 #endif
16006 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16008 cat >>confdefs.h <<_ACEOF
16009 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16010 _ACEOF
16016 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
16017 #include <netinet/tcp_var.h>
16018 #endif
16020 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16022 cat >>confdefs.h <<_ACEOF
16023 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16024 _ACEOF
16030 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16031 #include <sys/types.h>
16032 #endif
16033 #ifdef HAVE_NETINET_IN_H
16034 #include <netinet/in.h>
16035 #endif
16036 #ifdef HAVE_NETINET_IP_VAR_H
16037 #include <netinet/ip_var.h>
16038 #endif
16039 #ifdef HAVE_NETINET_UDP_H
16040 #include <netinet/udp.h>
16041 #endif
16042 #ifdef HAVE_NETINET_UDP_VAR_H
16043 #include <netinet/udp_var.h>
16044 #endif
16046 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16048 cat >>confdefs.h <<_ACEOF
16049 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16050 _ACEOF
16056 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16057 #include <sys/types.h>
16058 #endif
16059 #ifdef HAVE_NET_IF_H
16060 # include <net/if.h>
16061 #endif
16063 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16065 cat >>confdefs.h <<_ACEOF
16066 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16067 _ACEOF
16073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16074 $as_echo_n "checking for timezone variable... " >&6; }
16075 if ${ac_cv_have_timezone+:} false; then :
16076 $as_echo_n "(cached) " >&6
16077 else
16078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16079 /* end confdefs.h. */
16080 #include <time.h>
16082 main ()
16084 timezone = 1
16086 return 0;
16088 _ACEOF
16089 if ac_fn_c_try_link "$LINENO"; then :
16090 ac_cv_have_timezone="yes"
16091 else
16092 ac_cv_have_timezone="no"
16094 rm -f core conftest.err conftest.$ac_objext \
16095 conftest$ac_exeext conftest.$ac_ext
16097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16098 $as_echo "$ac_cv_have_timezone" >&6; }
16099 if test "$ac_cv_have_timezone" = "yes"
16100 then
16102 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16106 $as_echo_n "checking for daylight variable... " >&6; }
16107 if ${ac_cv_have_daylight+:} false; then :
16108 $as_echo_n "(cached) " >&6
16109 else
16110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16111 /* end confdefs.h. */
16112 #include <time.h>
16114 main ()
16116 daylight = 1
16118 return 0;
16120 _ACEOF
16121 if ac_fn_c_try_link "$LINENO"; then :
16122 ac_cv_have_daylight="yes"
16123 else
16124 ac_cv_have_daylight="no"
16126 rm -f core conftest.err conftest.$ac_objext \
16127 conftest$ac_exeext conftest.$ac_ext
16129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16130 $as_echo "$ac_cv_have_daylight" >&6; }
16131 if test "$ac_cv_have_daylight" = "yes"
16132 then
16134 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16138 ac_save_LIBS="$LIBS"
16139 LIBS="$LIBS -lm"
16140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16141 $as_echo_n "checking for isfinite... " >&6; }
16142 if ${ac_cv_have_isfinite+:} false; then :
16143 $as_echo_n "(cached) " >&6
16144 else
16145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16146 /* end confdefs.h. */
16147 #define _GNU_SOURCE
16148 #include <math.h>
16150 main ()
16152 float f = 0.0; return isfinite(f)
16154 return 0;
16156 _ACEOF
16157 if ac_fn_c_try_link "$LINENO"; then :
16158 ac_cv_have_isfinite="yes"
16159 else
16160 ac_cv_have_isfinite="no"
16162 rm -f core conftest.err conftest.$ac_objext \
16163 conftest$ac_exeext conftest.$ac_ext
16165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16166 $as_echo "$ac_cv_have_isfinite" >&6; }
16167 if test "$ac_cv_have_isfinite" = "yes"
16168 then
16170 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16174 ac_save_LIBS="$LIBS"
16175 LIBS="$LIBS -lm"
16176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16177 $as_echo_n "checking for isinf... " >&6; }
16178 if ${ac_cv_have_isinf+:} false; then :
16179 $as_echo_n "(cached) " >&6
16180 else
16181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16182 /* end confdefs.h. */
16183 #include <math.h>
16185 main ()
16187 float f = 0.0; return isinf(f)
16189 return 0;
16191 _ACEOF
16192 if ac_fn_c_try_link "$LINENO"; then :
16193 ac_cv_have_isinf="yes"
16194 else
16195 ac_cv_have_isinf="no"
16197 rm -f core conftest.err conftest.$ac_objext \
16198 conftest$ac_exeext conftest.$ac_ext
16200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16201 $as_echo "$ac_cv_have_isinf" >&6; }
16202 if test "$ac_cv_have_isinf" = "yes"
16203 then
16205 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16210 $as_echo_n "checking for isnan... " >&6; }
16211 if ${ac_cv_have_isnan+:} false; then :
16212 $as_echo_n "(cached) " >&6
16213 else
16214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16215 /* end confdefs.h. */
16216 #include <math.h>
16218 main ()
16220 float f = 0.0; return isnan(f)
16222 return 0;
16224 _ACEOF
16225 if ac_fn_c_try_link "$LINENO"; then :
16226 ac_cv_have_isnan="yes"
16227 else
16228 ac_cv_have_isnan="no"
16230 rm -f core conftest.err conftest.$ac_objext \
16231 conftest$ac_exeext conftest.$ac_ext
16233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16234 $as_echo "$ac_cv_have_isnan" >&6; }
16235 if test "$ac_cv_have_isnan" = "yes"
16236 then
16238 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16241 LIBS="$ac_save_LIBS"
16244 case $host_cpu in
16245 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16246 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16247 if ${ac_cv_cpp_def___i386__+:} false; then :
16248 $as_echo_n "(cached) " >&6
16249 else
16250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16251 /* end confdefs.h. */
16252 #ifndef __i386__
16254 #endif
16255 _ACEOF
16256 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16257 $EGREP "yes" >/dev/null 2>&1; then :
16258 ac_cv_cpp_def___i386__=yes
16259 else
16260 ac_cv_cpp_def___i386__=no
16262 rm -f conftest*
16265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16266 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16267 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16268 CFLAGS="$CFLAGS -D__i386__"
16269 LINTFLAGS="$LINTFLAGS -D__i386__"
16270 fi ;;
16271 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16272 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16273 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16274 $as_echo_n "(cached) " >&6
16275 else
16276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16277 /* end confdefs.h. */
16278 #ifndef __x86_64__
16280 #endif
16281 _ACEOF
16282 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16283 $EGREP "yes" >/dev/null 2>&1; then :
16284 ac_cv_cpp_def___x86_64__=yes
16285 else
16286 ac_cv_cpp_def___x86_64__=no
16288 rm -f conftest*
16291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16292 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16293 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16294 CFLAGS="$CFLAGS -D__x86_64__"
16295 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16296 fi ;;
16297 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16298 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16299 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16300 $as_echo_n "(cached) " >&6
16301 else
16302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16303 /* end confdefs.h. */
16304 #ifndef __sparc64__
16306 #endif
16307 _ACEOF
16308 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16309 $EGREP "yes" >/dev/null 2>&1; then :
16310 ac_cv_cpp_def___sparc64__=yes
16311 else
16312 ac_cv_cpp_def___sparc64__=no
16314 rm -f conftest*
16317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16318 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16319 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
16320 CFLAGS="$CFLAGS -D__sparc64__"
16321 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16322 fi ;;
16323 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16324 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16325 if ${ac_cv_cpp_def___sparc__+:} false; then :
16326 $as_echo_n "(cached) " >&6
16327 else
16328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16329 /* end confdefs.h. */
16330 #ifndef __sparc__
16332 #endif
16333 _ACEOF
16334 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16335 $EGREP "yes" >/dev/null 2>&1; then :
16336 ac_cv_cpp_def___sparc__=yes
16337 else
16338 ac_cv_cpp_def___sparc__=no
16340 rm -f conftest*
16343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16344 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16345 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
16346 CFLAGS="$CFLAGS -D__sparc__"
16347 LINTFLAGS="$LINTFLAGS -D__sparc__"
16348 fi ;;
16349 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16350 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16351 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
16352 $as_echo_n "(cached) " >&6
16353 else
16354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16355 /* end confdefs.h. */
16356 #ifndef __powerpc64__
16358 #endif
16359 _ACEOF
16360 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16361 $EGREP "yes" >/dev/null 2>&1; then :
16362 ac_cv_cpp_def___powerpc64__=yes
16363 else
16364 ac_cv_cpp_def___powerpc64__=no
16366 rm -f conftest*
16369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16370 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16371 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
16372 CFLAGS="$CFLAGS -D__powerpc64__"
16373 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
16374 fi ;;
16375 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16376 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16377 if ${ac_cv_cpp_def___powerpc__+:} false; then :
16378 $as_echo_n "(cached) " >&6
16379 else
16380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16381 /* end confdefs.h. */
16382 #ifndef __powerpc__
16384 #endif
16385 _ACEOF
16386 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16387 $EGREP "yes" >/dev/null 2>&1; then :
16388 ac_cv_cpp_def___powerpc__=yes
16389 else
16390 ac_cv_cpp_def___powerpc__=no
16392 rm -f conftest*
16395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16396 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16397 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
16398 CFLAGS="$CFLAGS -D__powerpc__"
16399 LINTFLAGS="$LINTFLAGS -D__powerpc__"
16400 fi ;;
16401 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16402 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16403 if ${ac_cv_cpp_def___aarch64__+:} false; then :
16404 $as_echo_n "(cached) " >&6
16405 else
16406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16407 /* end confdefs.h. */
16408 #ifndef __aarch64__
16410 #endif
16411 _ACEOF
16412 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16413 $EGREP "yes" >/dev/null 2>&1; then :
16414 ac_cv_cpp_def___aarch64__=yes
16415 else
16416 ac_cv_cpp_def___aarch64__=no
16418 rm -f conftest*
16421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16422 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16423 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
16424 CFLAGS="$CFLAGS -D__aarch64__"
16425 LINTFLAGS="$LINTFLAGS -D__aarch64__"
16426 fi ;;
16427 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16428 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16429 if ${ac_cv_cpp_def___arm__+:} false; then :
16430 $as_echo_n "(cached) " >&6
16431 else
16432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16433 /* end confdefs.h. */
16434 #ifndef __arm__
16436 #endif
16437 _ACEOF
16438 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16439 $EGREP "yes" >/dev/null 2>&1; then :
16440 ac_cv_cpp_def___arm__=yes
16441 else
16442 ac_cv_cpp_def___arm__=no
16444 rm -f conftest*
16447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16448 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16449 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
16450 CFLAGS="$CFLAGS -D__arm__"
16451 LINTFLAGS="$LINTFLAGS -D__arm__"
16452 fi ;;
16453 esac
16455 case $host_vendor in
16456 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16457 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16458 if ${ac_cv_cpp_def___sun__+:} false; then :
16459 $as_echo_n "(cached) " >&6
16460 else
16461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16462 /* end confdefs.h. */
16463 #ifndef __sun__
16465 #endif
16466 _ACEOF
16467 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16468 $EGREP "yes" >/dev/null 2>&1; then :
16469 ac_cv_cpp_def___sun__=yes
16470 else
16471 ac_cv_cpp_def___sun__=no
16473 rm -f conftest*
16476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16477 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16478 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
16479 CFLAGS="$CFLAGS -D__sun__"
16480 LINTFLAGS="$LINTFLAGS -D__sun__"
16481 fi ;;
16482 esac
16488 ac_config_commands="$ac_config_commands include/stamp-h"
16490 $as_echo_n "creating Makefile rules..." >&6
16492 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
16493 SOCKET_LIBS = $SOCKET_LIBS
16494 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16495 IOKIT_LIBS = $IOKIT_LIBS
16496 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16497 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16498 CORESERVICES_LIBS = $CORESERVICES_LIBS
16499 APPKIT_LIBS = $APPKIT_LIBS
16500 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16501 SECURITY_LIBS = $SECURITY_LIBS
16502 COREAUDIO_LIBS = $COREAUDIO_LIBS
16503 OPENAL_LIBS = $OPENAL_LIBS
16504 OPENCL_LIBS = $OPENCL_LIBS
16505 QUICKTIME_LIBS = $QUICKTIME_LIBS
16506 CARBON_LIBS = $CARBON_LIBS
16507 PTHREAD_LIBS = $PTHREAD_LIBS
16508 X_CFLAGS = $X_CFLAGS
16509 X_PRE_LIBS = $X_PRE_LIBS
16510 X_LIBS = $X_LIBS
16511 X_EXTRA_LIBS = $X_EXTRA_LIBS
16512 XML2_CFLAGS = $XML2_CFLAGS
16513 XML2_LIBS = $XML2_LIBS
16514 XSLT_CFLAGS = $XSLT_CFLAGS
16515 XSLT_LIBS = $XSLT_LIBS
16516 DBUS_CFLAGS = $DBUS_CFLAGS
16517 DBUS_LIBS = $DBUS_LIBS
16518 HAL_CFLAGS = $HAL_CFLAGS
16519 HAL_LIBS = $HAL_LIBS
16520 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16521 GNUTLS_LIBS = $GNUTLS_LIBS
16522 SANE_CFLAGS = $SANE_CFLAGS
16523 SANE_LIBS = $SANE_LIBS
16524 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16525 GPHOTO2_LIBS = $GPHOTO2_LIBS
16526 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16527 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16528 RESOLV_LIBS = $RESOLV_LIBS
16529 LCMS2_CFLAGS = $LCMS2_CFLAGS
16530 LCMS2_LIBS = $LCMS2_LIBS
16531 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16532 FREETYPE_LIBS = $FREETYPE_LIBS
16533 Z_LIBS = $Z_LIBS
16534 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16535 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16536 GSTREAMER_LIBS = $GSTREAMER_LIBS
16537 ALSA_LIBS = $ALSA_LIBS
16538 OSS4_CFLAGS = $OSS4_CFLAGS
16539 CAPI20_CFLAGS = $CAPI20_CFLAGS
16540 CAPI20_LIBS = $CAPI20_LIBS
16541 CUPS_CFLAGS = $CUPS_CFLAGS
16542 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16543 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16544 JPEG_CFLAGS = $JPEG_CFLAGS
16545 JPEG_LIBS = $JPEG_LIBS
16546 PNG_CFLAGS = $PNG_CFLAGS
16547 PNG_LIBS = $PNG_LIBS
16548 TIFF_CFLAGS = $TIFF_CFLAGS
16549 TIFF_LIBS = $TIFF_LIBS
16550 MPG123_CFLAGS = $MPG123_CFLAGS
16551 MPG123_LIBS = $MPG123_LIBS
16552 KSTAT_LIBS = $KSTAT_LIBS
16553 PROCSTAT_LIBS = $PROCSTAT_LIBS
16554 DL_LIBS = $DL_LIBS
16555 POLL_LIBS = $POLL_LIBS
16556 RT_LIBS = $RT_LIBS
16557 LDAP_LIBS = $LDAP_LIBS
16562 wine_fn_append_rule "
16563 # Rules automatically generated by configure
16565 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16567 .INIT: Makefile
16568 .MAKEFILEDEPS:
16569 all: Makefile
16570 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16571 @./config.status Make.tmp Makefile && \$(MAKEDEP) ."
16573 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
16574 .gitignore: config.status
16575 @./config.status .gitignore"
16577 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
16578 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16580 if test "x$enable_fonts" != xno; then
16581 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16582 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16583 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16584 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16585 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf
16587 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16588 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
16589 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
16590 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
16591 ac_config_links="$ac_config_links wine:tools/winewrapper"
16592 wine_fn_config_symlink wine
16593 if test "x$enable_win64" != xno; then
16594 ac_config_links="$ac_config_links wine64:tools/winewrapper"
16595 wine_fn_config_symlink wine64
16598 wine_fn_config_dll acledit enable_acledit
16599 wine_fn_config_dll aclui enable_aclui implib
16600 wine_fn_config_dll activeds enable_activeds implib
16601 wine_fn_config_dll actxprxy enable_actxprxy clean
16602 wine_fn_config_lib adsiid
16603 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
16604 wine_fn_config_test dlls/advapi32/tests advapi32_test
16605 wine_fn_config_dll advpack enable_advpack implib
16606 wine_fn_config_test dlls/advpack/tests advpack_test
16607 wine_fn_config_dll amstream enable_amstream clean
16608 wine_fn_config_test dlls/amstream/tests amstream_test
16609 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16610 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16611 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16612 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16613 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16614 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16615 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16616 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16617 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16618 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
16619 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
16620 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
16621 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
16622 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
16623 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16624 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
16625 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
16626 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
16627 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16628 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
16629 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
16630 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
16631 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
16632 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
16633 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
16634 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
16635 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
16636 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
16637 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
16638 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
16639 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
16640 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
16641 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16642 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16643 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16644 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16645 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16646 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16647 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16648 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16649 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16650 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16651 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16652 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
16653 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
16654 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16655 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
16656 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
16657 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
16658 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
16659 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
16660 wine_fn_config_dll apphelp enable_apphelp
16661 wine_fn_config_test dlls/apphelp/tests apphelp_test
16662 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16663 wine_fn_config_dll atl enable_atl clean,implib
16664 wine_fn_config_test dlls/atl/tests atl_test
16665 wine_fn_config_dll atl100 enable_atl100 implib
16666 wine_fn_config_test dlls/atl100/tests atl100_test
16667 wine_fn_config_dll atl110 enable_atl110
16668 wine_fn_config_dll atl80 enable_atl80 implib
16669 wine_fn_config_test dlls/atl80/tests atl80_test
16670 wine_fn_config_dll atl90 enable_atl90
16671 wine_fn_config_dll authz enable_authz
16672 wine_fn_config_dll avicap32 enable_avicap32 implib
16673 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
16674 wine_fn_config_test dlls/avifil32/tests avifil32_test
16675 wine_fn_config_dll avifile.dll16 enable_win16
16676 wine_fn_config_dll avrt enable_avrt implib
16677 wine_fn_config_dll bcrypt enable_bcrypt
16678 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
16679 wine_fn_config_dll browseui enable_browseui clean,po
16680 wine_fn_config_test dlls/browseui/tests browseui_test
16681 wine_fn_config_dll cabinet enable_cabinet implib
16682 wine_fn_config_test dlls/cabinet/tests cabinet_test
16683 wine_fn_config_dll capi2032 enable_capi2032 implib
16684 wine_fn_config_dll cards enable_cards implib
16685 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16686 wine_fn_config_dll clusapi enable_clusapi implib
16687 wine_fn_config_dll comcat enable_comcat
16688 wine_fn_config_test dlls/comcat/tests comcat_test
16689 wine_fn_config_dll comctl32 enable_comctl32 implib,po
16690 wine_fn_config_test dlls/comctl32/tests comctl32_test
16691 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
16692 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
16693 wine_fn_config_dll comm.drv16 enable_win16
16694 wine_fn_config_dll commdlg.dll16 enable_win16
16695 wine_fn_config_dll compobj.dll16 enable_win16
16696 wine_fn_config_dll compstui enable_compstui implib
16697 wine_fn_config_dll comsvcs enable_comsvcs implib
16698 wine_fn_config_dll credui enable_credui implib,po
16699 wine_fn_config_test dlls/credui/tests credui_test
16700 wine_fn_config_dll crtdll enable_crtdll implib
16701 wine_fn_config_dll crypt32 enable_crypt32 implib,po
16702 wine_fn_config_test dlls/crypt32/tests crypt32_test
16703 wine_fn_config_dll cryptdlg enable_cryptdlg po
16704 wine_fn_config_dll cryptdll enable_cryptdll implib
16705 wine_fn_config_dll cryptnet enable_cryptnet implib
16706 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
16707 wine_fn_config_dll cryptui enable_cryptui implib,po
16708 wine_fn_config_test dlls/cryptui/tests cryptui_test
16709 wine_fn_config_dll ctapi32 enable_ctapi32
16710 wine_fn_config_dll ctl3d.dll16 enable_win16
16711 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16712 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16713 wine_fn_config_dll d3d10 enable_d3d10 implib
16714 wine_fn_config_test dlls/d3d10/tests d3d10_test
16715 wine_fn_config_dll d3d10core enable_d3d10core implib
16716 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
16717 wine_fn_config_dll d3d11 enable_d3d11
16718 wine_fn_config_dll d3d8 enable_d3d8 implib
16719 wine_fn_config_test dlls/d3d8/tests d3d8_test
16720 wine_fn_config_dll d3d9 enable_d3d9 implib
16721 wine_fn_config_test dlls/d3d9/tests d3d9_test
16722 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16723 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16724 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16725 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16726 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16727 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16728 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16729 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16730 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16731 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16732 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16733 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
16734 wine_fn_config_dll d3dim enable_d3dim implib
16735 wine_fn_config_dll d3drm enable_d3drm implib
16736 wine_fn_config_test dlls/d3drm/tests d3drm_test
16737 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16738 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16739 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16740 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16741 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16742 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16743 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16744 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16745 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16746 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16747 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16748 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16749 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16750 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16751 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16752 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16753 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16754 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16755 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16756 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16757 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16758 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16759 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16760 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16761 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16762 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16763 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
16764 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16765 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16766 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16767 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16768 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16769 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16770 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16771 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
16772 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
16773 wine_fn_config_dll dbgeng enable_dbgeng implib
16774 wine_fn_config_dll dbghelp enable_dbghelp implib
16775 wine_fn_config_dll dciman32 enable_dciman32 implib
16776 wine_fn_config_dll ddeml.dll16 enable_win16
16777 wine_fn_config_dll ddraw enable_ddraw clean,implib
16778 wine_fn_config_test dlls/ddraw/tests ddraw_test
16779 wine_fn_config_dll ddrawex enable_ddrawex clean
16780 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
16781 wine_fn_config_dll devenum enable_devenum clean,po
16782 wine_fn_config_test dlls/devenum/tests devenum_test
16783 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16784 wine_fn_config_dll difxapi enable_difxapi
16785 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
16786 wine_fn_config_test dlls/dinput/tests dinput_test
16787 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
16788 wine_fn_config_test dlls/dinput8/tests dinput8_test
16789 wine_fn_config_dll dispdib.dll16 enable_win16
16790 wine_fn_config_dll dispex enable_dispex clean
16791 wine_fn_config_test dlls/dispex/tests dispex_test
16792 wine_fn_config_dll display.drv16 enable_win16
16793 wine_fn_config_dll dmband enable_dmband clean
16794 wine_fn_config_test dlls/dmband/tests dmband_test
16795 wine_fn_config_dll dmcompos enable_dmcompos clean
16796 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
16797 wine_fn_config_dll dmime enable_dmime clean
16798 wine_fn_config_test dlls/dmime/tests dmime_test
16799 wine_fn_config_dll dmloader enable_dmloader clean
16800 wine_fn_config_test dlls/dmloader/tests dmloader_test
16801 wine_fn_config_dll dmscript enable_dmscript clean
16802 wine_fn_config_test dlls/dmscript/tests dmscript_test
16803 wine_fn_config_dll dmstyle enable_dmstyle clean
16804 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
16805 wine_fn_config_dll dmsynth enable_dmsynth clean
16806 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
16807 wine_fn_config_dll dmusic enable_dmusic clean
16808 wine_fn_config_test dlls/dmusic/tests dmusic_test
16809 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16810 wine_fn_config_dll dnsapi enable_dnsapi implib
16811 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
16812 wine_fn_config_dll dplay enable_dplay implib
16813 wine_fn_config_dll dplayx enable_dplayx clean,implib
16814 wine_fn_config_test dlls/dplayx/tests dplayx_test
16815 wine_fn_config_dll dpnaddr enable_dpnaddr
16816 wine_fn_config_dll dpnet enable_dpnet clean,implib
16817 wine_fn_config_test dlls/dpnet/tests dpnet_test
16818 wine_fn_config_dll dpnhpast enable_dpnhpast
16819 wine_fn_config_dll dpnlobby enable_dpnlobby
16820 wine_fn_config_dll dpwsockx enable_dpwsockx
16821 wine_fn_config_dll drmclien enable_drmclien
16822 wine_fn_config_dll dsound enable_dsound clean,implib
16823 wine_fn_config_test dlls/dsound/tests dsound_test
16824 wine_fn_config_dll dssenh enable_dssenh
16825 wine_fn_config_test dlls/dssenh/tests dssenh_test
16826 wine_fn_config_dll dswave enable_dswave clean
16827 wine_fn_config_dll dwmapi enable_dwmapi implib
16828 wine_fn_config_dll dwrite enable_dwrite implib
16829 wine_fn_config_test dlls/dwrite/tests dwrite_test
16830 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
16831 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
16832 wine_fn_config_lib dxerr8
16833 wine_fn_config_lib dxerr9
16834 wine_fn_config_dll dxgi enable_dxgi implib
16835 wine_fn_config_test dlls/dxgi/tests dxgi_test
16836 wine_fn_config_lib dxguid
16837 wine_fn_config_dll explorerframe enable_explorerframe clean
16838 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
16839 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
16840 wine_fn_config_dll faultrep enable_faultrep implib
16841 wine_fn_config_test dlls/faultrep/tests faultrep_test
16842 wine_fn_config_dll fltlib enable_fltlib
16843 wine_fn_config_dll fusion enable_fusion
16844 wine_fn_config_test dlls/fusion/tests fusion_test
16845 wine_fn_config_dll fwpuclnt enable_fwpuclnt
16846 wine_fn_config_dll gameux enable_gameux clean
16847 wine_fn_config_test dlls/gameux/tests gameux_test
16848 wine_fn_config_dll gdi.exe16 enable_win16
16849 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
16850 wine_fn_config_test dlls/gdi32/tests gdi32_test
16851 wine_fn_config_dll gdiplus enable_gdiplus implib
16852 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
16853 wine_fn_config_dll glu32 enable_glu32 implib
16854 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
16855 wine_fn_config_dll gpkcsp enable_gpkcsp
16856 wine_fn_config_dll hal enable_hal
16857 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
16858 wine_fn_config_dll hid enable_hid implib
16859 wine_fn_config_dll hlink enable_hlink clean,implib
16860 wine_fn_config_test dlls/hlink/tests hlink_test
16861 wine_fn_config_dll hnetcfg enable_hnetcfg clean
16862 wine_fn_config_dll httpapi enable_httpapi
16863 wine_fn_config_dll iccvid enable_iccvid po
16864 wine_fn_config_dll icmp enable_icmp
16865 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
16866 wine_fn_config_test dlls/ieframe/tests ieframe_test
16867 wine_fn_config_dll ifsmgr.vxd enable_win16
16868 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
16869 wine_fn_config_dll imagehlp enable_imagehlp implib
16870 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
16871 wine_fn_config_dll imm.dll16 enable_win16
16872 wine_fn_config_dll imm32 enable_imm32 implib
16873 wine_fn_config_test dlls/imm32/tests imm32_test
16874 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
16875 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
16876 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
16877 wine_fn_config_dll inetmib1 enable_inetmib1
16878 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
16879 wine_fn_config_dll infosoft enable_infosoft clean
16880 wine_fn_config_test dlls/infosoft/tests infosoft_test
16881 wine_fn_config_dll initpki enable_initpki
16882 wine_fn_config_dll inkobj enable_inkobj
16883 wine_fn_config_dll inseng enable_inseng clean
16884 wine_fn_config_dll iphlpapi enable_iphlpapi implib
16885 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
16886 wine_fn_config_dll itircl enable_itircl
16887 wine_fn_config_dll itss enable_itss clean
16888 wine_fn_config_test dlls/itss/tests itss_test
16889 wine_fn_config_dll joy.cpl enable_joy_cpl po
16890 wine_fn_config_dll jscript enable_jscript clean,po
16891 wine_fn_config_test dlls/jscript/tests jscript_test
16892 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
16893 wine_fn_config_test dlls/kernel32/tests kernel32_test
16894 wine_fn_config_dll keyboard.drv16 enable_win16
16895 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
16896 wine_fn_config_dll ktmw32 enable_ktmw32
16897 wine_fn_config_dll loadperf enable_loadperf implib
16898 wine_fn_config_dll localspl enable_localspl po
16899 wine_fn_config_test dlls/localspl/tests localspl_test
16900 wine_fn_config_dll localui enable_localui po
16901 wine_fn_config_test dlls/localui/tests localui_test
16902 wine_fn_config_dll lz32 enable_lz32 implib
16903 wine_fn_config_test dlls/lz32/tests lz32_test
16904 wine_fn_config_dll lzexpand.dll16 enable_win16
16905 wine_fn_config_dll mapi32 enable_mapi32 implib,po
16906 wine_fn_config_test dlls/mapi32/tests mapi32_test
16907 wine_fn_config_dll mapistub enable_mapistub
16908 wine_fn_config_dll mciavi32 enable_mciavi32
16909 wine_fn_config_dll mcicda enable_mcicda
16910 wine_fn_config_dll mciqtz32 enable_mciqtz32
16911 wine_fn_config_dll mciseq enable_mciseq
16912 wine_fn_config_dll mciwave enable_mciwave
16913 wine_fn_config_dll mgmtapi enable_mgmtapi
16914 wine_fn_config_dll midimap enable_midimap
16915 wine_fn_config_dll mlang enable_mlang clean,implib
16916 wine_fn_config_test dlls/mlang/tests mlang_test
16917 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
16918 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
16919 wine_fn_config_dll mmdevapi enable_mmdevapi clean
16920 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
16921 wine_fn_config_dll mmdevldr.vxd enable_win16
16922 wine_fn_config_dll mmsystem.dll16 enable_win16
16923 wine_fn_config_dll monodebg.vxd enable_win16
16924 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
16925 wine_fn_config_dll mouse.drv16 enable_win16
16926 wine_fn_config_dll mpr enable_mpr implib,po
16927 wine_fn_config_test dlls/mpr/tests mpr_test
16928 wine_fn_config_dll mprapi enable_mprapi implib
16929 wine_fn_config_dll msacm.dll16 enable_win16
16930 wine_fn_config_dll msacm32.drv enable_msacm32_drv
16931 wine_fn_config_dll msacm32 enable_msacm32 implib,po
16932 wine_fn_config_test dlls/msacm32/tests msacm32_test
16933 wine_fn_config_dll msadp32.acm enable_msadp32_acm
16934 wine_fn_config_dll mscat32 enable_mscat32
16935 wine_fn_config_dll mscms enable_mscms implib
16936 wine_fn_config_test dlls/mscms/tests mscms_test
16937 wine_fn_config_dll mscoree enable_mscoree clean
16938 wine_fn_config_test dlls/mscoree/tests mscoree_test
16939 wine_fn_config_dll msctf enable_msctf clean
16940 wine_fn_config_test dlls/msctf/tests msctf_test
16941 wine_fn_config_dll msdaps enable_msdaps clean
16942 wine_fn_config_dll msdmo enable_msdmo implib
16943 wine_fn_config_dll msftedit enable_msftedit
16944 wine_fn_config_dll msg711.acm enable_msg711_acm
16945 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
16946 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
16947 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
16948 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
16949 wine_fn_config_dll msi enable_msi clean,implib,po
16950 wine_fn_config_test dlls/msi/tests msi_test
16951 wine_fn_config_dll msident enable_msident clean
16952 wine_fn_config_dll msimg32 enable_msimg32 implib
16953 wine_fn_config_dll msimsg enable_msimsg
16954 wine_fn_config_dll msimtf enable_msimtf clean
16955 wine_fn_config_dll msisip enable_msisip
16956 wine_fn_config_dll msisys.ocx enable_msisys_ocx
16957 wine_fn_config_dll msls31 enable_msls31
16958 wine_fn_config_dll msnet32 enable_msnet32
16959 wine_fn_config_dll mspatcha enable_mspatcha
16960 wine_fn_config_dll msrle32 enable_msrle32 po
16961 wine_fn_config_test dlls/msrle32/tests msrle32_test
16962 wine_fn_config_dll mssign32 enable_mssign32
16963 wine_fn_config_dll mssip32 enable_mssip32
16964 wine_fn_config_dll mstask enable_mstask clean
16965 wine_fn_config_test dlls/mstask/tests mstask_test
16966 wine_fn_config_dll msvcirt enable_msvcirt
16967 wine_fn_config_dll msvcm80 enable_msvcm80
16968 wine_fn_config_dll msvcm90 enable_msvcm90
16969 wine_fn_config_dll msvcp100 enable_msvcp100
16970 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
16971 wine_fn_config_dll msvcp110 enable_msvcp110
16972 wine_fn_config_dll msvcp60 enable_msvcp60
16973 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
16974 wine_fn_config_dll msvcp70 enable_msvcp70
16975 wine_fn_config_dll msvcp71 enable_msvcp71
16976 wine_fn_config_dll msvcp80 enable_msvcp80
16977 wine_fn_config_dll msvcp90 enable_msvcp90
16978 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
16979 wine_fn_config_dll msvcr100 enable_msvcr100 implib
16980 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
16981 wine_fn_config_dll msvcr110 enable_msvcr110 implib
16982 wine_fn_config_dll msvcr70 enable_msvcr70 implib
16983 wine_fn_config_dll msvcr71 enable_msvcr71 implib
16984 wine_fn_config_dll msvcr80 enable_msvcr80 implib
16985 wine_fn_config_dll msvcr90 enable_msvcr90 implib
16986 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
16987 wine_fn_config_dll msvcrt enable_msvcrt implib
16988 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
16989 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
16990 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
16991 wine_fn_config_dll msvcrtd enable_msvcrtd implib
16992 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
16993 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
16994 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
16995 wine_fn_config_dll msvidc32 enable_msvidc32 po
16996 wine_fn_config_dll msvideo.dll16 enable_win16
16997 wine_fn_config_dll mswsock enable_mswsock implib
16998 wine_fn_config_dll msxml enable_msxml clean
16999 wine_fn_config_dll msxml2 enable_msxml2 clean
17000 wine_fn_config_dll msxml3 enable_msxml3 clean
17001 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17002 wine_fn_config_dll msxml4 enable_msxml4 clean
17003 wine_fn_config_dll msxml6 enable_msxml6 clean
17004 wine_fn_config_dll nddeapi enable_nddeapi implib
17005 wine_fn_config_dll netapi32 enable_netapi32 implib
17006 wine_fn_config_test dlls/netapi32/tests netapi32_test
17007 wine_fn_config_dll netcfgx enable_netcfgx
17008 wine_fn_config_dll newdev enable_newdev implib
17009 wine_fn_config_dll normaliz enable_normaliz implib
17010 wine_fn_config_dll npmshtml enable_npmshtml
17011 wine_fn_config_dll ntdll enable_ntdll implib
17012 wine_fn_config_test dlls/ntdll/tests ntdll_test
17013 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17014 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17015 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17016 wine_fn_config_dll ntprint enable_ntprint
17017 wine_fn_config_test dlls/ntprint/tests ntprint_test
17018 wine_fn_config_dll objsel enable_objsel clean
17019 wine_fn_config_dll odbc32 enable_odbc32 implib
17020 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17021 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17022 wine_fn_config_dll odbccu32 enable_odbccu32
17023 wine_fn_config_dll ole2.dll16 enable_win16
17024 wine_fn_config_dll ole2conv.dll16 enable_win16
17025 wine_fn_config_dll ole2disp.dll16 enable_win16
17026 wine_fn_config_dll ole2nls.dll16 enable_win16
17027 wine_fn_config_dll ole2prox.dll16 enable_win16
17028 wine_fn_config_dll ole2thk.dll16 enable_win16
17029 wine_fn_config_dll ole32 enable_ole32 clean,implib
17030 wine_fn_config_test dlls/ole32/tests ole32_test
17031 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17032 wine_fn_config_test dlls/oleacc/tests oleacc_test
17033 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17034 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17035 wine_fn_config_dll olecli.dll16 enable_win16
17036 wine_fn_config_dll olecli32 enable_olecli32 implib
17037 wine_fn_config_dll oledb32 enable_oledb32 clean
17038 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17039 wine_fn_config_dll oledlg enable_oledlg implib,po
17040 wine_fn_config_dll olepro32 enable_olepro32 implib
17041 wine_fn_config_dll olesvr.dll16 enable_win16
17042 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17043 wine_fn_config_dll olethk32 enable_olethk32
17044 wine_fn_config_dll openal32 enable_openal32
17045 wine_fn_config_dll opencl enable_opencl
17046 wine_fn_config_dll opengl32 enable_opengl32 implib
17047 wine_fn_config_test dlls/opengl32/tests opengl32_test
17048 wine_fn_config_dll pdh enable_pdh implib
17049 wine_fn_config_test dlls/pdh/tests pdh_test
17050 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17051 wine_fn_config_dll pidgen enable_pidgen
17052 wine_fn_config_dll powrprof enable_powrprof implib
17053 wine_fn_config_dll printui enable_printui
17054 wine_fn_config_dll propsys enable_propsys clean,implib
17055 wine_fn_config_test dlls/propsys/tests propsys_test
17056 wine_fn_config_dll psapi enable_psapi implib
17057 wine_fn_config_test dlls/psapi/tests psapi_test
17058 wine_fn_config_dll pstorec enable_pstorec clean
17059 wine_fn_config_dll qcap enable_qcap
17060 wine_fn_config_test dlls/qcap/tests qcap_test
17061 wine_fn_config_dll qedit enable_qedit clean
17062 wine_fn_config_test dlls/qedit/tests qedit_test
17063 wine_fn_config_dll qmgr enable_qmgr clean
17064 wine_fn_config_test dlls/qmgr/tests qmgr_test
17065 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17066 wine_fn_config_dll quartz enable_quartz clean,implib
17067 wine_fn_config_test dlls/quartz/tests quartz_test clean
17068 wine_fn_config_dll query enable_query
17069 wine_fn_config_dll rasapi16.dll16 enable_win16
17070 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17071 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17072 wine_fn_config_dll rasdlg enable_rasdlg implib
17073 wine_fn_config_dll regapi enable_regapi
17074 wine_fn_config_dll resutils enable_resutils implib
17075 wine_fn_config_dll riched20 enable_riched20 implib
17076 wine_fn_config_test dlls/riched20/tests riched20_test
17077 wine_fn_config_dll riched32 enable_riched32
17078 wine_fn_config_test dlls/riched32/tests riched32_test
17079 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17080 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17081 wine_fn_config_dll rsabase enable_rsabase
17082 wine_fn_config_dll rsaenh enable_rsaenh implib
17083 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17084 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17085 wine_fn_config_dll rtutils enable_rtutils implib
17086 wine_fn_config_dll samlib enable_samlib
17087 wine_fn_config_dll sane.ds enable_sane_ds po
17088 wine_fn_config_dll scarddlg enable_scarddlg
17089 wine_fn_config_dll sccbase enable_sccbase
17090 wine_fn_config_dll schannel enable_schannel
17091 wine_fn_config_test dlls/schannel/tests schannel_test
17092 wine_fn_config_dll scrrun enable_scrrun clean
17093 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17094 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17095 wine_fn_config_dll secur32 enable_secur32 implib
17096 wine_fn_config_test dlls/secur32/tests secur32_test
17097 wine_fn_config_dll security enable_security
17098 wine_fn_config_dll sensapi enable_sensapi implib
17099 wine_fn_config_dll serialui enable_serialui implib,po
17100 wine_fn_config_test dlls/serialui/tests serialui_test
17101 wine_fn_config_dll setupapi enable_setupapi implib,po
17102 wine_fn_config_test dlls/setupapi/tests setupapi_test
17103 wine_fn_config_dll setupx.dll16 enable_win16
17104 wine_fn_config_dll sfc enable_sfc implib
17105 wine_fn_config_dll sfc_os enable_sfc_os implib
17106 wine_fn_config_dll shdoclc enable_shdoclc po
17107 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17108 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17109 wine_fn_config_dll shell.dll16 enable_win16
17110 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17111 wine_fn_config_test dlls/shell32/tests shell32_test
17112 wine_fn_config_dll shfolder enable_shfolder implib
17113 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17114 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17115 wine_fn_config_dll slbcsp enable_slbcsp
17116 wine_fn_config_dll slc enable_slc implib
17117 wine_fn_config_dll snmpapi enable_snmpapi implib
17118 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17119 wine_fn_config_dll softpub enable_softpub
17120 wine_fn_config_dll sound.drv16 enable_win16
17121 wine_fn_config_dll spoolss enable_spoolss implib
17122 wine_fn_config_test dlls/spoolss/tests spoolss_test
17123 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17124 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17125 wine_fn_config_dll sti enable_sti clean,implib
17126 wine_fn_config_test dlls/sti/tests sti_test
17127 wine_fn_config_dll storage.dll16 enable_win16
17128 wine_fn_config_dll stress.dll16 enable_win16
17129 wine_fn_config_lib strmbase
17130 wine_fn_config_lib strmiids
17131 wine_fn_config_dll svrapi enable_svrapi
17132 wine_fn_config_dll sxs enable_sxs implib
17133 wine_fn_config_test dlls/sxs/tests sxs_test
17134 wine_fn_config_dll system.drv16 enable_win16
17135 wine_fn_config_dll t2embed enable_t2embed
17136 wine_fn_config_dll tapi32 enable_tapi32 implib
17137 wine_fn_config_dll taskschd enable_taskschd clean
17138 wine_fn_config_test dlls/taskschd/tests taskschd_test
17139 wine_fn_config_dll toolhelp.dll16 enable_win16
17140 wine_fn_config_dll traffic enable_traffic
17141 wine_fn_config_dll twain.dll16 enable_win16
17142 wine_fn_config_dll twain_32 enable_twain_32
17143 wine_fn_config_test dlls/twain_32/tests twain_32_test
17144 wine_fn_config_dll typelib.dll16 enable_win16
17145 wine_fn_config_dll unicows enable_unicows implib
17146 wine_fn_config_dll updspapi enable_updspapi
17147 wine_fn_config_dll url enable_url implib
17148 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17149 wine_fn_config_test dlls/urlmon/tests urlmon_test
17150 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17151 wine_fn_config_dll user.exe16 enable_win16
17152 wine_fn_config_dll user32 enable_user32 clean,implib,po
17153 wine_fn_config_test dlls/user32/tests user32_test
17154 wine_fn_config_dll userenv enable_userenv implib
17155 wine_fn_config_test dlls/userenv/tests userenv_test
17156 wine_fn_config_dll usp10 enable_usp10 implib
17157 wine_fn_config_test dlls/usp10/tests usp10_test
17158 wine_fn_config_lib uuid
17159 wine_fn_config_dll uxtheme enable_uxtheme implib
17160 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17161 wine_fn_config_dll vbscript enable_vbscript clean
17162 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17163 wine_fn_config_dll vcomp enable_vcomp
17164 wine_fn_config_dll vcomp100 enable_vcomp100
17165 wine_fn_config_dll vcomp90 enable_vcomp90
17166 wine_fn_config_dll vdhcp.vxd enable_win16
17167 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17168 wine_fn_config_dll ver.dll16 enable_win16
17169 wine_fn_config_dll version enable_version implib
17170 wine_fn_config_test dlls/version/tests version_test
17171 wine_fn_config_dll vmm.vxd enable_win16
17172 wine_fn_config_dll vnbt.vxd enable_win16
17173 wine_fn_config_dll vnetbios.vxd enable_win16
17174 wine_fn_config_dll vtdapi.vxd enable_win16
17175 wine_fn_config_dll vwin32.vxd enable_win16
17176 wine_fn_config_dll w32skrnl enable_win16
17177 wine_fn_config_dll w32sys.dll16 enable_win16
17178 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17179 wine_fn_config_dll wbemprox enable_wbemprox clean
17180 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17181 wine_fn_config_dll webservices enable_webservices implib
17182 wine_fn_config_dll wer enable_wer implib
17183 wine_fn_config_test dlls/wer/tests wer_test
17184 wine_fn_config_dll wevtapi enable_wevtapi
17185 wine_fn_config_dll wiaservc enable_wiaservc clean
17186 wine_fn_config_dll win32s16.dll16 enable_win16
17187 wine_fn_config_dll win87em.dll16 enable_win16
17188 wine_fn_config_dll winaspi.dll16 enable_win16
17189 wine_fn_config_dll windebug.dll16 enable_win16
17190 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17191 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17192 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17193 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17194 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17195 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17196 wine_fn_config_lib winecrt0
17197 wine_fn_config_dll wined3d enable_wined3d implib
17198 wine_fn_config_dll winegstreamer enable_winegstreamer
17199 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17200 wine_fn_config_dll winemac.drv enable_winemac_drv
17201 wine_fn_config_dll winemapi enable_winemapi
17202 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17203 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17204 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
17205 wine_fn_config_dll wineps16.drv16 enable_win16
17206 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17207 wine_fn_config_dll winex11.drv enable_winex11_drv
17208 wine_fn_config_dll wing.dll16 enable_win16
17209 wine_fn_config_dll wing32 enable_wing32
17210 wine_fn_config_dll winhttp enable_winhttp clean,implib
17211 wine_fn_config_test dlls/winhttp/tests winhttp_test
17212 wine_fn_config_dll wininet enable_wininet implib,po
17213 wine_fn_config_test dlls/wininet/tests wininet_test
17214 wine_fn_config_dll winmm enable_winmm implib,po
17215 wine_fn_config_test dlls/winmm/tests winmm_test
17216 wine_fn_config_dll winnls.dll16 enable_win16
17217 wine_fn_config_dll winnls32 enable_winnls32 implib
17218 wine_fn_config_dll winscard enable_winscard implib
17219 wine_fn_config_dll winsock.dll16 enable_win16
17220 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17221 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17222 wine_fn_config_dll winsta enable_winsta
17223 wine_fn_config_dll wintab.dll16 enable_win16
17224 wine_fn_config_dll wintab32 enable_wintab32 implib
17225 wine_fn_config_test dlls/wintab32/tests wintab32_test
17226 wine_fn_config_dll wintrust enable_wintrust implib
17227 wine_fn_config_test dlls/wintrust/tests wintrust_test
17228 wine_fn_config_dll wlanapi enable_wlanapi
17229 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17230 wine_fn_config_test dlls/wldap32/tests wldap32_test
17231 wine_fn_config_dll wmi enable_wmi
17232 wine_fn_config_dll wmiutils enable_wmiutils clean
17233 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17234 wine_fn_config_dll wmp enable_wmp clean
17235 wine_fn_config_test dlls/wmp/tests wmp_test
17236 wine_fn_config_dll wmvcore enable_wmvcore
17237 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17238 wine_fn_config_dll wow32 enable_win16 implib
17239 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17240 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
17241 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17242 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
17243 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17244 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
17245 wine_fn_config_dll wsock32 enable_wsock32 implib
17246 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17247 wine_fn_config_dll wuapi enable_wuapi clean
17248 wine_fn_config_dll wuaueng enable_wuaueng
17249 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17250 wine_fn_config_dll xinput1_1 enable_xinput1_1
17251 wine_fn_config_dll xinput1_2 enable_xinput1_2
17252 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17253 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
17254 wine_fn_config_dll xinput1_4 enable_xinput1_4
17255 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17256 wine_fn_config_dll xmllite enable_xmllite
17257 wine_fn_config_test dlls/xmllite/tests xmllite_test
17258 wine_fn_config_dll xolehlp enable_xolehlp
17259 wine_fn_config_dll xpsprint enable_xpsprint
17260 wine_fn_config_dll xpssvcs enable_xpssvcs
17261 wine_fn_config_makefile documentation enable_documentation clean
17262 wine_fn_config_makefile fonts enable_fonts clean,install-lib
17263 wine_fn_config_makefile include enable_include clean,install-dev
17264 wine_fn_config_makefile libs/port enable_libs_port
17265 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
17266 wine_fn_config_makefile libs/wpp enable_libs_wpp
17267 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
17268 wine_fn_config_program arp enable_arp install
17269 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
17270 wine_fn_config_program attrib enable_attrib install,po
17271 wine_fn_config_program cabarc enable_cabarc install
17272 wine_fn_config_program cacls enable_cacls install
17273 wine_fn_config_program clock enable_clock install,po
17274 wine_fn_config_program cmd enable_cmd install,po
17275 wine_fn_config_test programs/cmd/tests cmd.exe_test
17276 wine_fn_config_program conhost enable_conhost install
17277 wine_fn_config_program control enable_control install
17278 wine_fn_config_program cscript enable_cscript install
17279 wine_fn_config_program dxdiag enable_dxdiag install,po
17280 wine_fn_config_program eject enable_eject install
17281 wine_fn_config_program expand enable_expand install
17282 wine_fn_config_program explorer enable_explorer install,po
17283 wine_fn_config_program extrac32 enable_extrac32 install
17284 wine_fn_config_program findstr enable_findstr install
17285 wine_fn_config_program hh enable_hh install
17286 wine_fn_config_program hostname enable_hostname install,po
17287 wine_fn_config_program icinfo enable_icinfo install
17288 wine_fn_config_program iexplore enable_iexplore install
17289 wine_fn_config_program ipconfig enable_ipconfig install,po
17290 wine_fn_config_program lodctr enable_lodctr install
17291 wine_fn_config_program mofcomp enable_mofcomp install
17292 wine_fn_config_program mshta enable_mshta install
17293 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
17294 wine_fn_config_program net enable_net install,po
17295 wine_fn_config_program netsh enable_netsh install
17296 wine_fn_config_program netstat enable_netstat install,po
17297 wine_fn_config_program ngen enable_ngen install
17298 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
17299 wine_fn_config_program oleview enable_oleview install,po
17300 wine_fn_config_program ping enable_ping install
17301 wine_fn_config_program plugplay enable_plugplay install
17302 wine_fn_config_program presentationfontcache enable_presentationfontcache install
17303 wine_fn_config_program progman enable_progman install,po
17304 wine_fn_config_program reg enable_reg install,po
17305 wine_fn_config_program regasm enable_regasm install
17306 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
17307 wine_fn_config_test programs/regedit/tests regedit.exe_test
17308 wine_fn_config_program regsvcs enable_regsvcs install
17309 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage
17310 wine_fn_config_program rpcss enable_rpcss clean,install
17311 wine_fn_config_program rundll.exe16 enable_win16 install
17312 wine_fn_config_program rundll32 enable_rundll32 install
17313 wine_fn_config_program sc enable_sc install
17314 wine_fn_config_program schtasks enable_schtasks install
17315 wine_fn_config_program secedit enable_secedit install
17316 wine_fn_config_program servicemodelreg enable_servicemodelreg install
17317 wine_fn_config_program services enable_services clean,install
17318 wine_fn_config_test programs/services/tests services.exe_test
17319 wine_fn_config_program spoolsv enable_spoolsv install
17320 wine_fn_config_program start enable_start install,po
17321 wine_fn_config_program svchost enable_svchost install
17322 wine_fn_config_program taskkill enable_taskkill install,po
17323 wine_fn_config_program tasklist enable_tasklist install
17324 wine_fn_config_program taskmgr enable_taskmgr install,po
17325 wine_fn_config_program termsv enable_termsv install
17326 wine_fn_config_program uninstaller enable_uninstaller install,po
17327 wine_fn_config_program unlodctr enable_unlodctr install
17328 wine_fn_config_program view enable_view install,po
17329 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
17330 wine_fn_config_program winebrowser enable_winebrowser install
17331 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
17332 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
17333 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
17334 wine_fn_config_program winedevice enable_winedevice install
17335 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
17336 wine_fn_config_program winemenubuilder enable_winemenubuilder install
17337 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
17338 wine_fn_config_program winemsibuilder enable_winemsibuilder install
17339 wine_fn_config_program winepath enable_winepath install,installbin,manpage
17340 wine_fn_config_program winetest enable_winetest clean
17341 wine_fn_config_program winevdm enable_win16 install
17342 wine_fn_config_program winhelp.exe16 enable_win16 install
17343 wine_fn_config_program winhlp32 enable_winhlp32 install,po
17344 wine_fn_config_program winoldap.mod16 enable_win16 install
17345 wine_fn_config_program winver enable_winver install
17346 wine_fn_config_program wmic enable_wmic install,po
17347 wine_fn_config_program wordpad enable_wordpad install,po
17348 wine_fn_config_program write enable_write install,po
17349 wine_fn_config_program wscript enable_wscript clean,install
17350 wine_fn_config_test programs/wscript/tests wscript.exe_test
17351 wine_fn_config_program wusa enable_wusa install
17352 wine_fn_config_program xcopy enable_xcopy install,po
17353 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
17354 wine_fn_config_makefile server enable_server clean,install-lib,manpage
17355 wine_fn_config_tool tools clean,install-dev,install-lib,manpage
17356 wine_fn_config_tool tools/sfnt2fon clean
17357 wine_fn_config_tool tools/widl clean,install-dev,manpage
17358 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
17359 wine_fn_config_tool tools/winedump clean,install-dev,manpage
17360 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
17361 wine_fn_config_tool tools/wmc clean,install-dev,manpage
17362 wine_fn_config_tool tools/wrc clean,install-dev,manpage
17364 LINGUAS="\
17365 ar \
17366 bg \
17367 ca \
17368 cs \
17369 da \
17370 de \
17371 el \
17372 en \
17373 en_US \
17374 eo \
17375 es \
17376 fa \
17377 fi \
17378 fr \
17379 he \
17380 hi \
17381 hr \
17382 hu \
17383 it \
17384 ja \
17385 ko \
17386 lt \
17387 ml \
17388 nb_NO \
17389 nl \
17390 or \
17391 pa \
17392 pl \
17393 pt_BR \
17394 pt_PT \
17395 rm \
17396 ro \
17397 ru \
17398 sk \
17399 sl \
17400 sr_RS@cyrillic \
17401 sr_RS@latin \
17402 sv \
17403 te \
17404 th \
17405 tr \
17406 uk \
17407 wa \
17408 zh_CN \
17409 zh_TW"
17414 wine_fn_ignore_file ".gitignore"
17415 wine_fn_ignore_file "Makefile"
17416 wine_fn_ignore_file "TAGS"
17417 wine_fn_ignore_file "tags"
17418 wine_fn_ignore_file "autom4te.cache"
17419 wine_fn_ignore_file "config.cache"
17420 wine_fn_ignore_file "config.log"
17421 wine_fn_ignore_file "config.status"
17422 wine_fn_ignore_file "configure.lineno"
17423 wine_fn_ignore_file "include/config.h"
17424 wine_fn_ignore_file "include/stamp-h"
17425 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
17427 if test "x$enable_tools" != xno
17428 then
17429 wine_fn_ignore_file "tools/makedep$ac_exeext"
17430 ac_config_commands="$ac_config_commands tools/makedep"
17434 ac_config_commands="$ac_config_commands Makefile"
17437 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17441 if test "x$enable_maintainer_mode" = xyes
17442 then
17443 wine_fn_append_rule "configure: configure.ac aclocal.m4
17444 autoconf --warnings=all
17445 include/config.h.in: include/stamp-h.in
17446 include/stamp-h.in: configure.ac aclocal.m4
17447 autoheader --warnings=all
17448 @echo timestamp > \$@"
17451 if test "x$with_gettextpo" = xyes
17452 then
17453 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17454 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
17455 \$(LINGUAS:%=po/%.po): po/wine.pot
17456 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17457 po/wine.pot: \$(ALL_POT_FILES)
17458 msgcat -o \$@ \$(ALL_POT_FILES)"
17461 if test "$MSGFMT" != false
17462 then
17463 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
17464 clean::
17465 \$(RM) \$(LINGUAS:%=po/%.mo)"
17467 posrc="po"
17468 test "$srcdir" = . || posrc="$srcdir/po"
17469 for i in $LINGUAS
17471 wine_fn_ignore_file "po/$i.mo"
17472 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
17473 \$(MSGFMT) -o \$@ $posrc/$i.po"
17474 done
17475 else
17476 LINGUAS=
17479 if test "x$enable_tools" != xno
17480 then
17481 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17482 @./config.status tools/makedep
17483 Makefile: tools/makedep$ac_exeext
17484 distclean:: clean
17485 \$(RM) tools/makedep$ac_exeext"
17486 else
17487 wine_fn_append_rule "\$(MAKEDEP):
17488 @echo \"You need to run make in $TOOLSDIR first\" && false"
17491 if test -n "$with_wine64"
17492 then
17493 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17494 fonts server tools:
17495 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17496 $with_wine64/loader/wine:
17497 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17498 $with_wine64/loader/wine-preloader:
17499 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17500 clean::
17501 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17502 else
17503 as_fn_append LOADER_RULES "
17504 all: wine.inf
17506 install install-lib:: wine.inf install-man-pages
17507 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17508 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17510 uninstall::
17511 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17515 if test "$srcdir" = .
17516 then
17517 ac_config_commands="$ac_config_commands .gitignore"
17521 $as_echo " done" >&6
17522 cat >confcache <<\_ACEOF
17523 # This file is a shell script that caches the results of configure
17524 # tests run on this system so they can be shared between configure
17525 # scripts and configure runs, see configure's option --config-cache.
17526 # It is not useful on other systems. If it contains results you don't
17527 # want to keep, you may remove or edit it.
17529 # config.status only pays attention to the cache file if you give it
17530 # the --recheck option to rerun configure.
17532 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17533 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17534 # following values.
17536 _ACEOF
17538 # The following way of writing the cache mishandles newlines in values,
17539 # but we know of no workaround that is simple, portable, and efficient.
17540 # So, we kill variables containing newlines.
17541 # Ultrix sh set writes to stderr and can't be redirected directly,
17542 # and sets the high bit in the cache file unless we assign to the vars.
17544 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17545 eval ac_val=\$$ac_var
17546 case $ac_val in #(
17547 *${as_nl}*)
17548 case $ac_var in #(
17549 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17550 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17551 esac
17552 case $ac_var in #(
17553 _ | IFS | as_nl) ;; #(
17554 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17555 *) { eval $ac_var=; unset $ac_var;} ;;
17556 esac ;;
17557 esac
17558 done
17560 (set) 2>&1 |
17561 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17562 *${as_nl}ac_space=\ *)
17563 # `set' does not quote correctly, so add quotes: double-quote
17564 # substitution turns \\\\ into \\, and sed turns \\ into \.
17565 sed -n \
17566 "s/'/'\\\\''/g;
17567 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17568 ;; #(
17570 # `set' quotes correctly as required by POSIX, so do not add quotes.
17571 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17573 esac |
17574 sort
17576 sed '
17577 /^ac_cv_env_/b end
17578 t clear
17579 :clear
17580 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17581 t end
17582 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17583 :end' >>confcache
17584 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17585 if test -w "$cache_file"; then
17586 if test "x$cache_file" != "x/dev/null"; then
17587 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17588 $as_echo "$as_me: updating cache $cache_file" >&6;}
17589 if test ! -f "$cache_file" || test -h "$cache_file"; then
17590 cat confcache >"$cache_file"
17591 else
17592 case $cache_file in #(
17593 */* | ?:*)
17594 mv -f confcache "$cache_file"$$ &&
17595 mv -f "$cache_file"$$ "$cache_file" ;; #(
17597 mv -f confcache "$cache_file" ;;
17598 esac
17601 else
17602 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17603 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17606 rm -f confcache
17608 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17609 # Let make expand exec_prefix.
17610 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17612 DEFS=-DHAVE_CONFIG_H
17614 ac_libobjs=
17615 ac_ltlibobjs=
17617 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17618 # 1. Remove the extension, and $U if already installed.
17619 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17620 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17621 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17622 # will be set to the directory where LIBOBJS objects are built.
17623 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17624 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17625 done
17626 LIBOBJS=$ac_libobjs
17628 LTLIBOBJS=$ac_ltlibobjs
17632 : "${CONFIG_STATUS=./config.status}"
17633 ac_write_fail=0
17634 ac_clean_files_save=$ac_clean_files
17635 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17636 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17637 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17638 as_write_fail=0
17639 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17640 #! $SHELL
17641 # Generated by $as_me.
17642 # Run this file to recreate the current configuration.
17643 # Compiler output produced by configure, useful for debugging
17644 # configure, is in config.log if it exists.
17646 debug=false
17647 ac_cs_recheck=false
17648 ac_cs_silent=false
17650 SHELL=\${CONFIG_SHELL-$SHELL}
17651 export SHELL
17652 _ASEOF
17653 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17654 ## -------------------- ##
17655 ## M4sh Initialization. ##
17656 ## -------------------- ##
17658 # Be more Bourne compatible
17659 DUALCASE=1; export DUALCASE # for MKS sh
17660 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17661 emulate sh
17662 NULLCMD=:
17663 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17664 # is contrary to our usage. Disable this feature.
17665 alias -g '${1+"$@"}'='"$@"'
17666 setopt NO_GLOB_SUBST
17667 else
17668 case `(set -o) 2>/dev/null` in #(
17669 *posix*) :
17670 set -o posix ;; #(
17671 *) :
17673 esac
17677 as_nl='
17679 export as_nl
17680 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17681 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17682 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17683 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17684 # Prefer a ksh shell builtin over an external printf program on Solaris,
17685 # but without wasting forks for bash or zsh.
17686 if test -z "$BASH_VERSION$ZSH_VERSION" \
17687 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17688 as_echo='print -r --'
17689 as_echo_n='print -rn --'
17690 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17691 as_echo='printf %s\n'
17692 as_echo_n='printf %s'
17693 else
17694 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17695 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17696 as_echo_n='/usr/ucb/echo -n'
17697 else
17698 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17699 as_echo_n_body='eval
17700 arg=$1;
17701 case $arg in #(
17702 *"$as_nl"*)
17703 expr "X$arg" : "X\\(.*\\)$as_nl";
17704 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17705 esac;
17706 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17708 export as_echo_n_body
17709 as_echo_n='sh -c $as_echo_n_body as_echo'
17711 export as_echo_body
17712 as_echo='sh -c $as_echo_body as_echo'
17715 # The user is always right.
17716 if test "${PATH_SEPARATOR+set}" != set; then
17717 PATH_SEPARATOR=:
17718 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17719 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17720 PATH_SEPARATOR=';'
17725 # IFS
17726 # We need space, tab and new line, in precisely that order. Quoting is
17727 # there to prevent editors from complaining about space-tab.
17728 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17729 # splitting by setting IFS to empty value.)
17730 IFS=" "" $as_nl"
17732 # Find who we are. Look in the path if we contain no directory separator.
17733 as_myself=
17734 case $0 in #((
17735 *[\\/]* ) as_myself=$0 ;;
17736 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17737 for as_dir in $PATH
17739 IFS=$as_save_IFS
17740 test -z "$as_dir" && as_dir=.
17741 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17742 done
17743 IFS=$as_save_IFS
17746 esac
17747 # We did not find ourselves, most probably we were run as `sh COMMAND'
17748 # in which case we are not to be found in the path.
17749 if test "x$as_myself" = x; then
17750 as_myself=$0
17752 if test ! -f "$as_myself"; then
17753 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17754 exit 1
17757 # Unset variables that we do not need and which cause bugs (e.g. in
17758 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17759 # suppresses any "Segmentation fault" message there. '((' could
17760 # trigger a bug in pdksh 5.2.14.
17761 for as_var in BASH_ENV ENV MAIL MAILPATH
17762 do eval test x\${$as_var+set} = xset \
17763 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17764 done
17765 PS1='$ '
17766 PS2='> '
17767 PS4='+ '
17769 # NLS nuisances.
17770 LC_ALL=C
17771 export LC_ALL
17772 LANGUAGE=C
17773 export LANGUAGE
17775 # CDPATH.
17776 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17779 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17780 # ----------------------------------------
17781 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17782 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17783 # script with STATUS, using 1 if that was 0.
17784 as_fn_error ()
17786 as_status=$1; test $as_status -eq 0 && as_status=1
17787 if test "$4"; then
17788 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17789 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17791 $as_echo "$as_me: error: $2" >&2
17792 as_fn_exit $as_status
17793 } # as_fn_error
17796 # as_fn_set_status STATUS
17797 # -----------------------
17798 # Set $? to STATUS, without forking.
17799 as_fn_set_status ()
17801 return $1
17802 } # as_fn_set_status
17804 # as_fn_exit STATUS
17805 # -----------------
17806 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17807 as_fn_exit ()
17809 set +e
17810 as_fn_set_status $1
17811 exit $1
17812 } # as_fn_exit
17814 # as_fn_unset VAR
17815 # ---------------
17816 # Portably unset VAR.
17817 as_fn_unset ()
17819 { eval $1=; unset $1;}
17821 as_unset=as_fn_unset
17822 # as_fn_append VAR VALUE
17823 # ----------------------
17824 # Append the text in VALUE to the end of the definition contained in VAR. Take
17825 # advantage of any shell optimizations that allow amortized linear growth over
17826 # repeated appends, instead of the typical quadratic growth present in naive
17827 # implementations.
17828 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17829 eval 'as_fn_append ()
17831 eval $1+=\$2
17833 else
17834 as_fn_append ()
17836 eval $1=\$$1\$2
17838 fi # as_fn_append
17840 # as_fn_arith ARG...
17841 # ------------------
17842 # Perform arithmetic evaluation on the ARGs, and store the result in the
17843 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17844 # must be portable across $(()) and expr.
17845 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17846 eval 'as_fn_arith ()
17848 as_val=$(( $* ))
17850 else
17851 as_fn_arith ()
17853 as_val=`expr "$@" || test $? -eq 1`
17855 fi # as_fn_arith
17858 if expr a : '\(a\)' >/dev/null 2>&1 &&
17859 test "X`expr 00001 : '.*\(...\)'`" = X001; then
17860 as_expr=expr
17861 else
17862 as_expr=false
17865 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17866 as_basename=basename
17867 else
17868 as_basename=false
17871 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17872 as_dirname=dirname
17873 else
17874 as_dirname=false
17877 as_me=`$as_basename -- "$0" ||
17878 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17879 X"$0" : 'X\(//\)$' \| \
17880 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17881 $as_echo X/"$0" |
17882 sed '/^.*\/\([^/][^/]*\)\/*$/{
17883 s//\1/
17886 /^X\/\(\/\/\)$/{
17887 s//\1/
17890 /^X\/\(\/\).*/{
17891 s//\1/
17894 s/.*/./; q'`
17896 # Avoid depending upon Character Ranges.
17897 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17898 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17899 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17900 as_cr_digits='0123456789'
17901 as_cr_alnum=$as_cr_Letters$as_cr_digits
17903 ECHO_C= ECHO_N= ECHO_T=
17904 case `echo -n x` in #(((((
17905 -n*)
17906 case `echo 'xy\c'` in
17907 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
17908 xy) ECHO_C='\c';;
17909 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
17910 ECHO_T=' ';;
17911 esac;;
17913 ECHO_N='-n';;
17914 esac
17916 rm -f conf$$ conf$$.exe conf$$.file
17917 if test -d conf$$.dir; then
17918 rm -f conf$$.dir/conf$$.file
17919 else
17920 rm -f conf$$.dir
17921 mkdir conf$$.dir 2>/dev/null
17923 if (echo >conf$$.file) 2>/dev/null; then
17924 if ln -s conf$$.file conf$$ 2>/dev/null; then
17925 as_ln_s='ln -s'
17926 # ... but there are two gotchas:
17927 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17928 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17929 # In both cases, we have to default to `cp -pR'.
17930 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17931 as_ln_s='cp -pR'
17932 elif ln conf$$.file conf$$ 2>/dev/null; then
17933 as_ln_s=ln
17934 else
17935 as_ln_s='cp -pR'
17937 else
17938 as_ln_s='cp -pR'
17940 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17941 rmdir conf$$.dir 2>/dev/null
17944 # as_fn_mkdir_p
17945 # -------------
17946 # Create "$as_dir" as a directory, including parents if necessary.
17947 as_fn_mkdir_p ()
17950 case $as_dir in #(
17951 -*) as_dir=./$as_dir;;
17952 esac
17953 test -d "$as_dir" || eval $as_mkdir_p || {
17954 as_dirs=
17955 while :; do
17956 case $as_dir in #(
17957 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17958 *) as_qdir=$as_dir;;
17959 esac
17960 as_dirs="'$as_qdir' $as_dirs"
17961 as_dir=`$as_dirname -- "$as_dir" ||
17962 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17963 X"$as_dir" : 'X\(//\)[^/]' \| \
17964 X"$as_dir" : 'X\(//\)$' \| \
17965 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17966 $as_echo X"$as_dir" |
17967 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17968 s//\1/
17971 /^X\(\/\/\)[^/].*/{
17972 s//\1/
17975 /^X\(\/\/\)$/{
17976 s//\1/
17979 /^X\(\/\).*/{
17980 s//\1/
17983 s/.*/./; q'`
17984 test -d "$as_dir" && break
17985 done
17986 test -z "$as_dirs" || eval "mkdir $as_dirs"
17987 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17990 } # as_fn_mkdir_p
17991 if mkdir -p . 2>/dev/null; then
17992 as_mkdir_p='mkdir -p "$as_dir"'
17993 else
17994 test -d ./-p && rmdir ./-p
17995 as_mkdir_p=false
17999 # as_fn_executable_p FILE
18000 # -----------------------
18001 # Test if FILE is an executable regular file.
18002 as_fn_executable_p ()
18004 test -f "$1" && test -x "$1"
18005 } # as_fn_executable_p
18006 as_test_x='test -x'
18007 as_executable_p=as_fn_executable_p
18009 # Sed expression to map a string onto a valid CPP name.
18010 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18012 # Sed expression to map a string onto a valid variable name.
18013 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18016 exec 6>&1
18017 ## ----------------------------------- ##
18018 ## Main body of $CONFIG_STATUS script. ##
18019 ## ----------------------------------- ##
18020 _ASEOF
18021 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18023 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18024 # Save the log message, to keep $0 and so on meaningful, and to
18025 # report actual input values of CONFIG_FILES etc. instead of their
18026 # values after options handling.
18027 ac_log="
18028 This file was extended by Wine $as_me 1.7.12, which was
18029 generated by GNU Autoconf 2.69. Invocation command line was
18031 CONFIG_FILES = $CONFIG_FILES
18032 CONFIG_HEADERS = $CONFIG_HEADERS
18033 CONFIG_LINKS = $CONFIG_LINKS
18034 CONFIG_COMMANDS = $CONFIG_COMMANDS
18035 $ $0 $@
18037 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18040 _ACEOF
18042 case $ac_config_files in *"
18043 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18044 esac
18046 case $ac_config_headers in *"
18047 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18048 esac
18051 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18052 # Files that config.status was made for.
18053 config_files="$ac_config_files"
18054 config_headers="$ac_config_headers"
18055 config_links="$ac_config_links"
18056 config_commands="$ac_config_commands"
18058 _ACEOF
18060 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18061 ac_cs_usage="\
18062 \`$as_me' instantiates files and other configuration actions
18063 from templates according to the current configuration. Unless the files
18064 and actions are specified as TAGs, all are instantiated by default.
18066 Usage: $0 [OPTION]... [TAG]...
18068 -h, --help print this help, then exit
18069 -V, --version print version number and configuration settings, then exit
18070 --config print configuration, then exit
18071 -q, --quiet, --silent
18072 do not print progress messages
18073 -d, --debug don't remove temporary files
18074 --recheck update $as_me by reconfiguring in the same conditions
18075 --file=FILE[:TEMPLATE]
18076 instantiate the configuration file FILE
18077 --header=FILE[:TEMPLATE]
18078 instantiate the configuration header FILE
18080 Configuration files:
18081 $config_files
18083 Configuration headers:
18084 $config_headers
18086 Configuration links:
18087 $config_links
18089 Configuration commands:
18090 $config_commands
18092 Report bugs to <wine-devel@winehq.org>.
18093 Wine home page: <http://www.winehq.org>."
18095 _ACEOF
18096 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18097 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18098 ac_cs_version="\\
18099 Wine config.status 1.7.12
18100 configured by $0, generated by GNU Autoconf 2.69,
18101 with options \\"\$ac_cs_config\\"
18103 Copyright (C) 2012 Free Software Foundation, Inc.
18104 This config.status script is free software; the Free Software Foundation
18105 gives unlimited permission to copy, distribute and modify it."
18107 ac_pwd='$ac_pwd'
18108 srcdir='$srcdir'
18109 test -n "\$AWK" || AWK=awk
18110 _ACEOF
18112 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18113 # The default lists apply if the user does not specify any file.
18114 ac_need_defaults=:
18115 while test $# != 0
18117 case $1 in
18118 --*=?*)
18119 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18120 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18121 ac_shift=:
18123 --*=)
18124 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18125 ac_optarg=
18126 ac_shift=:
18129 ac_option=$1
18130 ac_optarg=$2
18131 ac_shift=shift
18133 esac
18135 case $ac_option in
18136 # Handling of the options.
18137 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18138 ac_cs_recheck=: ;;
18139 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18140 $as_echo "$ac_cs_version"; exit ;;
18141 --config | --confi | --conf | --con | --co | --c )
18142 $as_echo "$ac_cs_config"; exit ;;
18143 --debug | --debu | --deb | --de | --d | -d )
18144 debug=: ;;
18145 --file | --fil | --fi | --f )
18146 $ac_shift
18147 case $ac_optarg in
18148 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18149 '') as_fn_error $? "missing file argument" ;;
18150 esac
18151 as_fn_append CONFIG_FILES " '$ac_optarg'"
18152 ac_need_defaults=false;;
18153 --header | --heade | --head | --hea )
18154 $ac_shift
18155 case $ac_optarg in
18156 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18157 esac
18158 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18159 ac_need_defaults=false;;
18160 --he | --h)
18161 # Conflict between --help and --header
18162 as_fn_error $? "ambiguous option: \`$1'
18163 Try \`$0 --help' for more information.";;
18164 --help | --hel | -h )
18165 $as_echo "$ac_cs_usage"; exit ;;
18166 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18167 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18168 ac_cs_silent=: ;;
18170 # This is an error.
18171 -*) as_fn_error $? "unrecognized option: \`$1'
18172 Try \`$0 --help' for more information." ;;
18174 *) as_fn_append ac_config_targets " $1"
18175 ac_need_defaults=false ;;
18177 esac
18178 shift
18179 done
18181 ac_configure_extra_args=
18183 if $ac_cs_silent; then
18184 exec 6>/dev/null
18185 ac_configure_extra_args="$ac_configure_extra_args --silent"
18188 _ACEOF
18189 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18190 if \$ac_cs_recheck; then
18191 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18192 shift
18193 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18194 CONFIG_SHELL='$SHELL'
18195 export CONFIG_SHELL
18196 exec "\$@"
18199 _ACEOF
18200 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18201 exec 5>>config.log
18203 echo
18204 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18205 ## Running $as_me. ##
18206 _ASBOX
18207 $as_echo "$ac_log"
18208 } >&5
18210 _ACEOF
18211 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18213 # INIT-COMMANDS
18215 wine_fn_output_makedep ()
18217 as_dir=tools; as_fn_mkdir_p
18218 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18220 wine_fn_output_makefile ()
18222 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && return
18223 `cat $wine_rules_file`
18224 _WINE_EOF
18225 as_fn_error $? "could not create Makefile" "$LINENO" 5
18227 wine_fn_output_gitignore ()
18229 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18230 $GITIGNORE
18231 _WINE_EOF
18232 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18235 _ACEOF
18237 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18239 # Handling of arguments.
18240 for ac_config_target in $ac_config_targets
18242 case $ac_config_target in
18243 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18244 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
18245 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18246 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18247 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18248 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18249 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18250 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18251 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
18252 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18253 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
18254 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
18255 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18256 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
18258 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18259 esac
18260 done
18263 # If the user did not use the arguments to specify the items to instantiate,
18264 # then the envvar interface is used. Set only those that are not.
18265 # We use the long form for the default assignment because of an extremely
18266 # bizarre bug on SunOS 4.1.3.
18267 if $ac_need_defaults; then
18268 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18269 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18270 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18271 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18274 # Have a temporary directory for convenience. Make it in the build tree
18275 # simply because there is no reason against having it here, and in addition,
18276 # creating and moving files from /tmp can sometimes cause problems.
18277 # Hook for its removal unless debugging.
18278 # Note that there is a small window in which the directory will not be cleaned:
18279 # after its creation but before its name has been assigned to `$tmp'.
18280 $debug ||
18282 tmp= ac_tmp=
18283 trap 'exit_status=$?
18284 : "${ac_tmp:=$tmp}"
18285 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18287 trap 'as_fn_exit 1' 1 2 13 15
18289 # Create a (secure) tmp directory for tmp files.
18292 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18293 test -d "$tmp"
18294 } ||
18296 tmp=./conf$$-$RANDOM
18297 (umask 077 && mkdir "$tmp")
18298 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18299 ac_tmp=$tmp
18301 # Set up the scripts for CONFIG_FILES section.
18302 # No need to generate them if there are no CONFIG_FILES.
18303 # This happens for instance with `./config.status config.h'.
18304 if test -n "$CONFIG_FILES"; then
18307 ac_cr=`echo X | tr X '\015'`
18308 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18309 # But we know of no other shell where ac_cr would be empty at this
18310 # point, so we can use a bashism as a fallback.
18311 if test "x$ac_cr" = x; then
18312 eval ac_cr=\$\'\\r\'
18314 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18315 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18316 ac_cs_awk_cr='\\r'
18317 else
18318 ac_cs_awk_cr=$ac_cr
18321 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18322 _ACEOF
18326 echo "cat >conf$$subs.awk <<_ACEOF" &&
18327 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18328 echo "_ACEOF"
18329 } >conf$$subs.sh ||
18330 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18331 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18332 ac_delim='%!_!# '
18333 for ac_last_try in false false false false false :; do
18334 . ./conf$$subs.sh ||
18335 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18337 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18338 if test $ac_delim_n = $ac_delim_num; then
18339 break
18340 elif $ac_last_try; then
18341 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18342 else
18343 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18345 done
18346 rm -f conf$$subs.sh
18348 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18349 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18350 _ACEOF
18351 sed -n '
18353 s/^/S["/; s/!.*/"]=/
18356 s/^[^!]*!//
18357 :repl
18358 t repl
18359 s/'"$ac_delim"'$//
18360 t delim
18363 s/\(.\{148\}\)..*/\1/
18364 t more1
18365 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18368 b repl
18369 :more1
18370 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18373 s/.\{148\}//
18374 t nl
18375 :delim
18377 s/\(.\{148\}\)..*/\1/
18378 t more2
18379 s/["\\]/\\&/g; s/^/"/; s/$/"/
18382 :more2
18383 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18386 s/.\{148\}//
18387 t delim
18388 ' <conf$$subs.awk | sed '
18389 /^[^""]/{
18391 s/\n//
18393 ' >>$CONFIG_STATUS || ac_write_fail=1
18394 rm -f conf$$subs.awk
18395 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18396 _ACAWK
18397 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18398 for (key in S) S_is_set[key] = 1
18399 FS = "\a"
18403 line = $ 0
18404 nfields = split(line, field, "@")
18405 substed = 0
18406 len = length(field[1])
18407 for (i = 2; i < nfields; i++) {
18408 key = field[i]
18409 keylen = length(key)
18410 if (S_is_set[key]) {
18411 value = S[key]
18412 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18413 len += length(value) + length(field[++i])
18414 substed = 1
18415 } else
18416 len += 1 + keylen
18419 print line
18422 _ACAWK
18423 _ACEOF
18424 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18425 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18426 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18427 else
18429 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18430 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18431 _ACEOF
18433 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18434 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18435 # trailing colons and then remove the whole line if VPATH becomes empty
18436 # (actually we leave an empty line to preserve line numbers).
18437 if test "x$srcdir" = x.; then
18438 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18440 s///
18441 s/^/:/
18442 s/[ ]*$/:/
18443 s/:\$(srcdir):/:/g
18444 s/:\${srcdir}:/:/g
18445 s/:@srcdir@:/:/g
18446 s/^:*//
18447 s/:*$//
18449 s/\(=[ ]*\).*/\1/
18451 s/\n//
18452 s/^[^=]*=[ ]*$//
18456 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18457 fi # test -n "$CONFIG_FILES"
18459 # Set up the scripts for CONFIG_HEADERS section.
18460 # No need to generate them if there are no CONFIG_HEADERS.
18461 # This happens for instance with `./config.status Makefile'.
18462 if test -n "$CONFIG_HEADERS"; then
18463 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18464 BEGIN {
18465 _ACEOF
18467 # Transform confdefs.h into an awk script `defines.awk', embedded as
18468 # here-document in config.status, that substitutes the proper values into
18469 # config.h.in to produce config.h.
18471 # Create a delimiter string that does not exist in confdefs.h, to ease
18472 # handling of long lines.
18473 ac_delim='%!_!# '
18474 for ac_last_try in false false :; do
18475 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18476 if test -z "$ac_tt"; then
18477 break
18478 elif $ac_last_try; then
18479 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18480 else
18481 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18483 done
18485 # For the awk script, D is an array of macro values keyed by name,
18486 # likewise P contains macro parameters if any. Preserve backslash
18487 # newline sequences.
18489 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18490 sed -n '
18491 s/.\{148\}/&'"$ac_delim"'/g
18492 t rset
18493 :rset
18494 s/^[ ]*#[ ]*define[ ][ ]*/ /
18495 t def
18497 :def
18498 s/\\$//
18499 t bsnl
18500 s/["\\]/\\&/g
18501 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18502 D["\1"]=" \3"/p
18503 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18505 :bsnl
18506 s/["\\]/\\&/g
18507 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18508 D["\1"]=" \3\\\\\\n"\\/p
18509 t cont
18510 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18511 t cont
18513 :cont
18515 s/.\{148\}/&'"$ac_delim"'/g
18516 t clear
18517 :clear
18518 s/\\$//
18519 t bsnlc
18520 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18522 :bsnlc
18523 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18524 b cont
18525 ' <confdefs.h | sed '
18526 s/'"$ac_delim"'/"\\\
18527 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18529 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18530 for (key in D) D_is_set[key] = 1
18531 FS = "\a"
18533 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18534 line = \$ 0
18535 split(line, arg, " ")
18536 if (arg[1] == "#") {
18537 defundef = arg[2]
18538 mac1 = arg[3]
18539 } else {
18540 defundef = substr(arg[1], 2)
18541 mac1 = arg[2]
18543 split(mac1, mac2, "(") #)
18544 macro = mac2[1]
18545 prefix = substr(line, 1, index(line, defundef) - 1)
18546 if (D_is_set[macro]) {
18547 # Preserve the white space surrounding the "#".
18548 print prefix "define", macro P[macro] D[macro]
18549 next
18550 } else {
18551 # Replace #undef with comments. This is necessary, for example,
18552 # in the case of _POSIX_SOURCE, which is predefined and required
18553 # on some systems where configure will not decide to define it.
18554 if (defundef == "undef") {
18555 print "/*", prefix defundef, macro, "*/"
18556 next
18560 { print }
18561 _ACAWK
18562 _ACEOF
18563 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18564 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18565 fi # test -n "$CONFIG_HEADERS"
18568 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18569 shift
18570 for ac_tag
18572 case $ac_tag in
18573 :[FHLC]) ac_mode=$ac_tag; continue;;
18574 esac
18575 case $ac_mode$ac_tag in
18576 :[FHL]*:*);;
18577 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18578 :[FH]-) ac_tag=-:-;;
18579 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18580 esac
18581 ac_save_IFS=$IFS
18582 IFS=:
18583 set x $ac_tag
18584 IFS=$ac_save_IFS
18585 shift
18586 ac_file=$1
18587 shift
18589 case $ac_mode in
18590 :L) ac_source=$1;;
18591 :[FH])
18592 ac_file_inputs=
18593 for ac_f
18595 case $ac_f in
18596 -) ac_f="$ac_tmp/stdin";;
18597 *) # Look for the file first in the build tree, then in the source tree
18598 # (if the path is not absolute). The absolute path cannot be DOS-style,
18599 # because $ac_f cannot contain `:'.
18600 test -f "$ac_f" ||
18601 case $ac_f in
18602 [\\/$]*) false;;
18603 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18604 esac ||
18605 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18606 esac
18607 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18608 as_fn_append ac_file_inputs " '$ac_f'"
18609 done
18611 # Let's still pretend it is `configure' which instantiates (i.e., don't
18612 # use $as_me), people would be surprised to read:
18613 # /* config.h. Generated by config.status. */
18614 configure_input='Generated from '`
18615 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18616 `' by configure.'
18617 if test x"$ac_file" != x-; then
18618 configure_input="$ac_file. $configure_input"
18619 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18620 $as_echo "$as_me: creating $ac_file" >&6;}
18622 # Neutralize special characters interpreted by sed in replacement strings.
18623 case $configure_input in #(
18624 *\&* | *\|* | *\\* )
18625 ac_sed_conf_input=`$as_echo "$configure_input" |
18626 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18627 *) ac_sed_conf_input=$configure_input;;
18628 esac
18630 case $ac_tag in
18631 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18632 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18633 esac
18635 esac
18637 ac_dir=`$as_dirname -- "$ac_file" ||
18638 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18639 X"$ac_file" : 'X\(//\)[^/]' \| \
18640 X"$ac_file" : 'X\(//\)$' \| \
18641 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18642 $as_echo X"$ac_file" |
18643 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18644 s//\1/
18647 /^X\(\/\/\)[^/].*/{
18648 s//\1/
18651 /^X\(\/\/\)$/{
18652 s//\1/
18655 /^X\(\/\).*/{
18656 s//\1/
18659 s/.*/./; q'`
18660 as_dir="$ac_dir"; as_fn_mkdir_p
18661 ac_builddir=.
18663 case "$ac_dir" in
18664 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18666 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18667 # A ".." for each directory in $ac_dir_suffix.
18668 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18669 case $ac_top_builddir_sub in
18670 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18671 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18672 esac ;;
18673 esac
18674 ac_abs_top_builddir=$ac_pwd
18675 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18676 # for backward compatibility:
18677 ac_top_builddir=$ac_top_build_prefix
18679 case $srcdir in
18680 .) # We are building in place.
18681 ac_srcdir=.
18682 ac_top_srcdir=$ac_top_builddir_sub
18683 ac_abs_top_srcdir=$ac_pwd ;;
18684 [\\/]* | ?:[\\/]* ) # Absolute name.
18685 ac_srcdir=$srcdir$ac_dir_suffix;
18686 ac_top_srcdir=$srcdir
18687 ac_abs_top_srcdir=$srcdir ;;
18688 *) # Relative name.
18689 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18690 ac_top_srcdir=$ac_top_build_prefix$srcdir
18691 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18692 esac
18693 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18696 case $ac_mode in
18699 # CONFIG_FILE
18702 _ACEOF
18704 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18705 # If the template does not know about datarootdir, expand it.
18706 # FIXME: This hack should be removed a few years after 2.60.
18707 ac_datarootdir_hack=; ac_datarootdir_seen=
18708 ac_sed_dataroot='
18709 /datarootdir/ {
18713 /@datadir@/p
18714 /@docdir@/p
18715 /@infodir@/p
18716 /@localedir@/p
18717 /@mandir@/p'
18718 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18719 *datarootdir*) ac_datarootdir_seen=yes;;
18720 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18721 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18722 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18723 _ACEOF
18724 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18725 ac_datarootdir_hack='
18726 s&@datadir@&$datadir&g
18727 s&@docdir@&$docdir&g
18728 s&@infodir@&$infodir&g
18729 s&@localedir@&$localedir&g
18730 s&@mandir@&$mandir&g
18731 s&\\\${datarootdir}&$datarootdir&g' ;;
18732 esac
18733 _ACEOF
18735 # Neutralize VPATH when `$srcdir' = `.'.
18736 # Shell code in configure.ac might set extrasub.
18737 # FIXME: do we really want to maintain this feature?
18738 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18739 ac_sed_extra="$ac_vpsub
18740 $extrasub
18741 _ACEOF
18742 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18744 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18745 s|@configure_input@|$ac_sed_conf_input|;t t
18746 s&@top_builddir@&$ac_top_builddir_sub&;t t
18747 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18748 s&@srcdir@&$ac_srcdir&;t t
18749 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18750 s&@top_srcdir@&$ac_top_srcdir&;t t
18751 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18752 s&@builddir@&$ac_builddir&;t t
18753 s&@abs_builddir@&$ac_abs_builddir&;t t
18754 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18755 $ac_datarootdir_hack
18757 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18758 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18760 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18761 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18762 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18763 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18764 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18765 which seems to be undefined. Please make sure it is defined" >&5
18766 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18767 which seems to be undefined. Please make sure it is defined" >&2;}
18769 rm -f "$ac_tmp/stdin"
18770 case $ac_file in
18771 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18772 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18773 esac \
18774 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18778 # CONFIG_HEADER
18780 if test x"$ac_file" != x-; then
18782 $as_echo "/* $configure_input */" \
18783 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18784 } >"$ac_tmp/config.h" \
18785 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18786 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18787 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18788 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18789 else
18790 rm -f "$ac_file"
18791 mv "$ac_tmp/config.h" "$ac_file" \
18792 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18794 else
18795 $as_echo "/* $configure_input */" \
18796 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18797 || as_fn_error $? "could not create -" "$LINENO" 5
18802 # CONFIG_LINK
18805 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
18807 else
18808 # Prefer the file from the source tree if names are identical.
18809 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
18810 ac_source=$srcdir/$ac_source
18813 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
18814 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
18816 if test ! -r "$ac_source"; then
18817 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
18819 rm -f "$ac_file"
18821 # Try a relative symlink, then a hard link, then a copy.
18822 case $ac_source in
18823 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
18824 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
18825 esac
18826 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
18827 ln "$ac_source" "$ac_file" 2>/dev/null ||
18828 cp -p "$ac_source" "$ac_file" ||
18829 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
18832 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18833 $as_echo "$as_me: executing $ac_file commands" >&6;}
18835 esac
18838 case $ac_file$ac_mode in
18839 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
18840 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
18841 "Makefile":C) wine_fn_output_makefile Makefile ;;
18842 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
18844 esac
18845 done # for ac_tag
18848 as_fn_exit 0
18849 _ACEOF
18850 ac_clean_files=$ac_clean_files_save
18852 test $ac_write_fail = 0 ||
18853 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18856 # configure is writing to config.log, and then calls config.status.
18857 # config.status does its own redirection, appending to config.log.
18858 # Unfortunately, on DOS this fails, as config.log is still kept open
18859 # by configure, so config.status won't be able to write to it; its
18860 # output is simply discarded. So we exec the FD to /dev/null,
18861 # effectively closing config.log, so it can be properly (re)opened and
18862 # appended to by config.status. When coming back to configure, we
18863 # need to make the FD available again.
18864 if test "$no_create" != yes; then
18865 ac_cs_success=:
18866 ac_config_status_args=
18867 test "$silent" = yes &&
18868 ac_config_status_args="$ac_config_status_args --quiet"
18869 exec 5>/dev/null
18870 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18871 exec 5>>config.log
18872 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18873 # would make configure fail if this is the last instruction.
18874 $ac_cs_success || as_fn_exit 1
18876 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18877 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18878 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18882 if test "$no_create" = "yes"
18883 then
18884 exit 0
18887 ac_save_IFS="$IFS"
18888 if test "x$wine_notices != "x; then
18889 echo >&6
18890 IFS="|"
18891 for msg in $wine_notices; do
18892 IFS="$ac_save_IFS"
18893 if ${msg+:} false; then :
18894 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
18895 $as_echo "$as_me: $msg" >&6;}
18897 done
18899 IFS="|"
18900 for msg in $wine_warnings; do
18901 IFS="$ac_save_IFS"
18902 if ${msg+:} false; then :
18903 echo >&2
18904 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
18905 $as_echo "$as_me: WARNING: $msg" >&2;}
18907 done
18908 IFS="$ac_save_IFS"
18910 $as_echo "
18911 $as_me: Finished. Do '${ac_make}' to compile Wine.
18912 " >&6