msi: Correctly [un]register progids when associated class and extensions change state.
[wine/multimedia.git] / configure
blobc6f4b390b0e21f747262ac9aac5b00788329fe3e
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.13.
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.13'
584 PACKAGE_STRING='Wine 1.7.13'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='http://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 LINGUAS
628 ALL_VARS_RULES
629 LDAP_LIBS
630 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 UNWINDFLAGS
635 BUILTINFLAG
636 EXTRACFLAGS
637 PROCSTAT_LIBS
638 KSTAT_LIBS
639 MPG123_LIBS
640 MPG123_CFLAGS
641 TIFF_LIBS
642 TIFF_CFLAGS
643 PNG_LIBS
644 PNG_CFLAGS
645 JPEG_LIBS
646 JPEG_CFLAGS
647 FONTCONFIG_LIBS
648 FONTCONFIG_CFLAGS
649 CUPS_CFLAGS
650 CAPI20_LIBS
651 CAPI20_CFLAGS
652 OSS4_CFLAGS
653 ALSA_LIBS
654 GSTREAMER_LIBS
655 GSTREAMER_CFLAGS
656 GETTEXTPO_LIBS
657 Z_LIBS
658 FREETYPE_LIBS
659 FREETYPE_CFLAGS
660 LCMS2_LIBS
661 LCMS2_CFLAGS
662 RESOLV_LIBS
663 GPHOTO2_PORT_LIBS
664 GPHOTO2_PORT_CFLAGS
665 GPHOTO2_LIBS
666 GPHOTO2_CFLAGS
667 SANE_LIBS
668 SANE_CFLAGS
669 GNUTLS_LIBS
670 GNUTLS_CFLAGS
671 HAL_LIBS
672 HAL_CFLAGS
673 DBUS_LIBS
674 DBUS_CFLAGS
675 XSLT_LIBS
676 XSLT_CFLAGS
677 XML2_LIBS
678 XML2_CFLAGS
679 X_EXTRA_LIBS
680 X_LIBS
681 X_PRE_LIBS
682 X_CFLAGS
683 XMKMF
684 PTHREAD_LIBS
685 CROSSCC
686 CROSSTARGET
687 PRELINK
688 CARBON_LIBS
689 QUICKTIME_LIBS
690 OPENCL_LIBS
691 OPENAL_LIBS
692 COREAUDIO_LIBS
693 SECURITY_LIBS
694 DISKARBITRATION_LIBS
695 APPKIT_LIBS
696 CORESERVICES_LIBS
697 APPLICATIONSERVICES_LIBS
698 FORCEFEEDBACK_LIBS
699 IOKIT_LIBS
700 COREFOUNDATION_LIBS
701 LIBWINE_RULES
702 SOCKET_LIBS
703 DLLTOOL
704 LOADER_RULES
705 ALL_TEST_RESOURCES
706 READELF
708 LDRPATH_LOCAL
709 LDRPATH_INSTALL
710 DLLFLAGS
711 DLLPREFIX
712 dlldir
714 OPENGL_LIBS
715 ICOTOOL
716 CONVERT
717 RSVG
718 FONTFORGE
719 PKG_CONFIG
720 MSGFMT
721 LDCONFIG
722 EGREP
723 GREP
724 LN_S
725 RANLIB
726 ARFLAGS
727 STRIP
728 ac_ct_AR
730 BISON
731 FLEX
732 TOOLSDIR
733 TARGETFLAGS
734 CPPBIN
735 ac_ct_CXX
736 CXXFLAGS
738 OBJEXT
739 EXEEXT
740 ac_ct_CC
741 CPPFLAGS
742 LDFLAGS
743 CFLAGS
745 SET_MAKE
746 host_os
747 host_vendor
748 host_cpu
749 host
750 build_os
751 build_vendor
752 build_cpu
753 build
754 target_alias
755 host_alias
756 build_alias
757 LIBS
758 ECHO_T
759 ECHO_N
760 ECHO_C
761 DEFS
762 mandir
763 localedir
764 libdir
765 psdir
766 pdfdir
767 dvidir
768 htmldir
769 infodir
770 docdir
771 oldincludedir
772 includedir
773 localstatedir
774 sharedstatedir
775 sysconfdir
776 datadir
777 datarootdir
778 libexecdir
779 sbindir
780 bindir
781 program_transform_name
782 prefix
783 exec_prefix
784 PACKAGE_URL
785 PACKAGE_BUGREPORT
786 PACKAGE_STRING
787 PACKAGE_VERSION
788 PACKAGE_TARNAME
789 PACKAGE_NAME
790 PATH_SEPARATOR
791 SHELL'
792 ac_subst_files=''
793 ac_user_opts='
794 enable_option_checking
795 enable_win16
796 enable_win64
797 enable_tests
798 enable_maintainer_mode
799 with_alsa
800 with_capi
801 with_cms
802 with_coreaudio
803 with_cups
804 with_curses
805 with_dbus
806 with_fontconfig
807 with_freetype
808 with_gettext
809 with_gettextpo
810 with_gphoto
811 with_glu
812 with_gnutls
813 with_gsm
814 with_gstreamer
815 with_hal
816 with_jpeg
817 with_ldap
818 with_mpg123
819 with_netapi
820 with_openal
821 with_opencl
822 with_opengl
823 with_osmesa
824 with_oss
825 with_png
826 with_pthread
827 with_sane
828 with_tiff
829 with_v4l
830 with_xcomposite
831 with_xcursor
832 with_xinerama
833 with_xinput
834 with_xinput2
835 with_xml
836 with_xrandr
837 with_xrender
838 with_xshape
839 with_xshm
840 with_xslt
841 with_xxf86vm
842 with_zlib
843 with_wine_tools
844 with_wine64
845 enable_largefile
846 with_x
847 enable_acledit
848 enable_aclui
849 enable_activeds
850 enable_actxprxy
851 enable_advapi32
852 enable_advpack
853 enable_amstream
854 enable_api_ms_win_core_com_l1_1_0
855 enable_api_ms_win_core_console_l1_1_0
856 enable_api_ms_win_core_debug_l1_1_1
857 enable_api_ms_win_core_errorhandling_l1_1_1
858 enable_api_ms_win_core_file_l1_2_0
859 enable_api_ms_win_core_handle_l1_1_0
860 enable_api_ms_win_core_heap_l1_2_0
861 enable_api_ms_win_core_heap_obsolete_l1_1_0
862 enable_api_ms_win_core_interlocked_l1_2_0
863 enable_api_ms_win_core_io_l1_1_1
864 enable_api_ms_win_core_kernel32_legacy_l1_1_0
865 enable_api_ms_win_core_libraryloader_l1_1_1
866 enable_api_ms_win_core_localization_l1_2_0
867 enable_api_ms_win_core_localization_obsolete_l1_1_0
868 enable_api_ms_win_core_localregistry_l1_1_0
869 enable_api_ms_win_core_memory_l1_1_1
870 enable_api_ms_win_core_namedpipe_l1_2_0
871 enable_api_ms_win_core_processenvironment_l1_2_0
872 enable_api_ms_win_core_processthreads_l1_1_0
873 enable_api_ms_win_core_processthreads_l1_1_1
874 enable_api_ms_win_core_profile_l1_1_0
875 enable_api_ms_win_core_psapi_l1_1_0
876 enable_api_ms_win_core_registry_l1_1_0
877 enable_api_ms_win_core_rtlsupport_l1_2_0
878 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
879 enable_api_ms_win_core_string_l1_1_0
880 enable_api_ms_win_core_synch_l1_2_0
881 enable_api_ms_win_core_sysinfo_l1_2_0
882 enable_api_ms_win_core_threadpool_legacy_l1_1_0
883 enable_api_ms_win_core_timezone_l1_1_0
884 enable_api_ms_win_core_url_l1_1_0
885 enable_api_ms_win_core_util_l1_1_0
886 enable_api_ms_win_core_winrt_error_l1_1_0
887 enable_api_ms_win_core_winrt_string_l1_1_0
888 enable_api_ms_win_downlevel_advapi32_l1_1_0
889 enable_api_ms_win_downlevel_advapi32_l2_1_0
890 enable_api_ms_win_downlevel_normaliz_l1_1_0
891 enable_api_ms_win_downlevel_ole32_l1_1_0
892 enable_api_ms_win_downlevel_shell32_l1_1_0
893 enable_api_ms_win_downlevel_shlwapi_l1_1_0
894 enable_api_ms_win_downlevel_shlwapi_l2_1_0
895 enable_api_ms_win_downlevel_user32_l1_1_0
896 enable_api_ms_win_downlevel_version_l1_1_0
897 enable_api_ms_win_eventing_provider_l1_1_0
898 enable_api_ms_win_ntuser_dc_access_l1_1_0
899 enable_api_ms_win_security_base_l1_1_0
900 enable_api_ms_win_security_base_l1_2_0
901 enable_api_ms_win_security_sddl_l1_1_0
902 enable_api_ms_win_service_core_l1_1_1
903 enable_api_ms_win_service_management_l1_1_0
904 enable_api_ms_win_service_winsvc_l1_2_0
905 enable_apphelp
906 enable_appwiz_cpl
907 enable_atl
908 enable_atl100
909 enable_atl110
910 enable_atl80
911 enable_atl90
912 enable_authz
913 enable_avicap32
914 enable_avifil32
915 enable_avrt
916 enable_bcrypt
917 enable_browseui
918 enable_cabinet
919 enable_capi2032
920 enable_cards
921 enable_cfgmgr32
922 enable_clusapi
923 enable_comcat
924 enable_comctl32
925 enable_comdlg32
926 enable_compstui
927 enable_comsvcs
928 enable_credui
929 enable_crtdll
930 enable_crypt32
931 enable_cryptdlg
932 enable_cryptdll
933 enable_cryptnet
934 enable_cryptui
935 enable_ctapi32
936 enable_ctl3d32
937 enable_d2d1
938 enable_d3d10
939 enable_d3d10_1
940 enable_d3d10core
941 enable_d3d11
942 enable_d3d8
943 enable_d3d9
944 enable_d3dcompiler_33
945 enable_d3dcompiler_34
946 enable_d3dcompiler_35
947 enable_d3dcompiler_36
948 enable_d3dcompiler_37
949 enable_d3dcompiler_38
950 enable_d3dcompiler_39
951 enable_d3dcompiler_40
952 enable_d3dcompiler_41
953 enable_d3dcompiler_42
954 enable_d3dcompiler_43
955 enable_d3dim
956 enable_d3drm
957 enable_d3dx10_33
958 enable_d3dx10_34
959 enable_d3dx10_35
960 enable_d3dx10_36
961 enable_d3dx10_37
962 enable_d3dx10_38
963 enable_d3dx10_39
964 enable_d3dx10_40
965 enable_d3dx10_41
966 enable_d3dx10_42
967 enable_d3dx10_43
968 enable_d3dx11_42
969 enable_d3dx11_43
970 enable_d3dx9_24
971 enable_d3dx9_25
972 enable_d3dx9_26
973 enable_d3dx9_27
974 enable_d3dx9_28
975 enable_d3dx9_29
976 enable_d3dx9_30
977 enable_d3dx9_31
978 enable_d3dx9_32
979 enable_d3dx9_33
980 enable_d3dx9_34
981 enable_d3dx9_35
982 enable_d3dx9_36
983 enable_d3dx9_37
984 enable_d3dx9_38
985 enable_d3dx9_39
986 enable_d3dx9_40
987 enable_d3dx9_41
988 enable_d3dx9_42
989 enable_d3dx9_43
990 enable_d3dxof
991 enable_dbgeng
992 enable_dbghelp
993 enable_dciman32
994 enable_ddraw
995 enable_ddrawex
996 enable_devenum
997 enable_dhcpcsvc
998 enable_difxapi
999 enable_dinput
1000 enable_dinput8
1001 enable_dispex
1002 enable_dmband
1003 enable_dmcompos
1004 enable_dmime
1005 enable_dmloader
1006 enable_dmscript
1007 enable_dmstyle
1008 enable_dmsynth
1009 enable_dmusic
1010 enable_dmusic32
1011 enable_dnsapi
1012 enable_dplay
1013 enable_dplayx
1014 enable_dpnaddr
1015 enable_dpnet
1016 enable_dpnhpast
1017 enable_dpnlobby
1018 enable_dpwsockx
1019 enable_drmclien
1020 enable_dsound
1021 enable_dssenh
1022 enable_dswave
1023 enable_dwmapi
1024 enable_dwrite
1025 enable_dxdiagn
1026 enable_dxgi
1027 enable_explorerframe
1028 enable_ext_ms_win_gdi_devcaps_l1_1_0
1029 enable_faultrep
1030 enable_fltlib
1031 enable_fntcache
1032 enable_fusion
1033 enable_fwpuclnt
1034 enable_gameux
1035 enable_gdi32
1036 enable_gdiplus
1037 enable_glu32
1038 enable_gphoto2_ds
1039 enable_gpkcsp
1040 enable_hal
1041 enable_hhctrl_ocx
1042 enable_hid
1043 enable_hlink
1044 enable_hnetcfg
1045 enable_httpapi
1046 enable_iccvid
1047 enable_icmp
1048 enable_ieframe
1049 enable_imaadp32_acm
1050 enable_imagehlp
1051 enable_imm32
1052 enable_inetcomm
1053 enable_inetcpl_cpl
1054 enable_inetmib1
1055 enable_infosoft
1056 enable_initpki
1057 enable_inkobj
1058 enable_inseng
1059 enable_iphlpapi
1060 enable_itircl
1061 enable_itss
1062 enable_joy_cpl
1063 enable_jscript
1064 enable_kernel32
1065 enable_ktmw32
1066 enable_loadperf
1067 enable_localspl
1068 enable_localui
1069 enable_lz32
1070 enable_mapi32
1071 enable_mapistub
1072 enable_mciavi32
1073 enable_mcicda
1074 enable_mciqtz32
1075 enable_mciseq
1076 enable_mciwave
1077 enable_mgmtapi
1078 enable_midimap
1079 enable_mlang
1080 enable_mmcndmgr
1081 enable_mmdevapi
1082 enable_mountmgr_sys
1083 enable_mpr
1084 enable_mprapi
1085 enable_msacm32_drv
1086 enable_msacm32
1087 enable_msadp32_acm
1088 enable_mscat32
1089 enable_mscms
1090 enable_mscoree
1091 enable_msctf
1092 enable_msdaps
1093 enable_msdmo
1094 enable_msftedit
1095 enable_msg711_acm
1096 enable_msgsm32_acm
1097 enable_mshtml_tlb
1098 enable_mshtml
1099 enable_msi
1100 enable_msident
1101 enable_msimg32
1102 enable_msimsg
1103 enable_msimtf
1104 enable_msisip
1105 enable_msisys_ocx
1106 enable_msls31
1107 enable_msnet32
1108 enable_mspatcha
1109 enable_msrle32
1110 enable_mssign32
1111 enable_mssip32
1112 enable_mstask
1113 enable_msvcirt
1114 enable_msvcm80
1115 enable_msvcm90
1116 enable_msvcp100
1117 enable_msvcp110
1118 enable_msvcp60
1119 enable_msvcp70
1120 enable_msvcp71
1121 enable_msvcp80
1122 enable_msvcp90
1123 enable_msvcr100
1124 enable_msvcr110
1125 enable_msvcr70
1126 enable_msvcr71
1127 enable_msvcr80
1128 enable_msvcr90
1129 enable_msvcrt
1130 enable_msvcrt20
1131 enable_msvcrt40
1132 enable_msvcrtd
1133 enable_msvfw32
1134 enable_msvidc32
1135 enable_mswsock
1136 enable_msxml
1137 enable_msxml2
1138 enable_msxml3
1139 enable_msxml4
1140 enable_msxml6
1141 enable_nddeapi
1142 enable_netapi32
1143 enable_netcfgx
1144 enable_newdev
1145 enable_normaliz
1146 enable_npmshtml
1147 enable_ntdll
1148 enable_ntdsapi
1149 enable_ntoskrnl_exe
1150 enable_ntprint
1151 enable_objsel
1152 enable_odbc32
1153 enable_odbccp32
1154 enable_odbccu32
1155 enable_ole32
1156 enable_oleacc
1157 enable_oleaut32
1158 enable_olecli32
1159 enable_oledb32
1160 enable_oledlg
1161 enable_olepro32
1162 enable_olesvr32
1163 enable_olethk32
1164 enable_openal32
1165 enable_opencl
1166 enable_opengl32
1167 enable_pdh
1168 enable_photometadatahandler
1169 enable_pidgen
1170 enable_powrprof
1171 enable_printui
1172 enable_propsys
1173 enable_psapi
1174 enable_pstorec
1175 enable_qcap
1176 enable_qedit
1177 enable_qmgr
1178 enable_qmgrprxy
1179 enable_quartz
1180 enable_query
1181 enable_rasapi32
1182 enable_rasdlg
1183 enable_regapi
1184 enable_resutils
1185 enable_riched20
1186 enable_riched32
1187 enable_rpcrt4
1188 enable_rsabase
1189 enable_rsaenh
1190 enable_rstrtmgr
1191 enable_rtutils
1192 enable_samlib
1193 enable_sane_ds
1194 enable_scarddlg
1195 enable_sccbase
1196 enable_schannel
1197 enable_scrrun
1198 enable_scsiport_sys
1199 enable_secur32
1200 enable_security
1201 enable_sensapi
1202 enable_serialui
1203 enable_setupapi
1204 enable_sfc
1205 enable_sfc_os
1206 enable_shdoclc
1207 enable_shdocvw
1208 enable_shell32
1209 enable_shfolder
1210 enable_shlwapi
1211 enable_slbcsp
1212 enable_slc
1213 enable_snmpapi
1214 enable_softpub
1215 enable_spoolss
1216 enable_stdole2_tlb
1217 enable_stdole32_tlb
1218 enable_sti
1219 enable_svrapi
1220 enable_sxs
1221 enable_t2embed
1222 enable_tapi32
1223 enable_taskschd
1224 enable_traffic
1225 enable_twain_32
1226 enable_unicows
1227 enable_updspapi
1228 enable_url
1229 enable_urlmon
1230 enable_usbd_sys
1231 enable_user32
1232 enable_userenv
1233 enable_usp10
1234 enable_uxtheme
1235 enable_vbscript
1236 enable_vcomp
1237 enable_vcomp100
1238 enable_vcomp90
1239 enable_vdmdbg
1240 enable_version
1241 enable_wbemdisp
1242 enable_wbemprox
1243 enable_webservices
1244 enable_wer
1245 enable_wevtapi
1246 enable_wiaservc
1247 enable_windowscodecs
1248 enable_windowscodecsext
1249 enable_winealsa_drv
1250 enable_winecoreaudio_drv
1251 enable_wined3d
1252 enable_winegstreamer
1253 enable_winejoystick_drv
1254 enable_winemac_drv
1255 enable_winemapi
1256 enable_winemp3_acm
1257 enable_wineoss_drv
1258 enable_wineps_drv
1259 enable_wineqtdecoder
1260 enable_winex11_drv
1261 enable_wing32
1262 enable_winhttp
1263 enable_wininet
1264 enable_winmm
1265 enable_winnls32
1266 enable_winscard
1267 enable_winspool_drv
1268 enable_winsta
1269 enable_wintab32
1270 enable_wintrust
1271 enable_wlanapi
1272 enable_wldap32
1273 enable_wmi
1274 enable_wmiutils
1275 enable_wmp
1276 enable_wmvcore
1277 enable_wnaspi32
1278 enable_ws2_32
1279 enable_wshom_ocx
1280 enable_wsnmp32
1281 enable_wsock32
1282 enable_wtsapi32
1283 enable_wuapi
1284 enable_wuaueng
1285 enable_xapofx1_1
1286 enable_xinput1_1
1287 enable_xinput1_2
1288 enable_xinput1_3
1289 enable_xinput1_4
1290 enable_xinput9_1_0
1291 enable_xmllite
1292 enable_xolehlp
1293 enable_xpsprint
1294 enable_xpssvcs
1295 enable_documentation
1296 enable_fonts
1297 enable_include
1298 enable_libs_port
1299 enable_libs_wine
1300 enable_libs_wpp
1301 enable_loader
1302 enable_arp
1303 enable_aspnet_regiis
1304 enable_attrib
1305 enable_cabarc
1306 enable_cacls
1307 enable_clock
1308 enable_cmd
1309 enable_conhost
1310 enable_control
1311 enable_cscript
1312 enable_dpnsvr
1313 enable_dxdiag
1314 enable_eject
1315 enable_expand
1316 enable_explorer
1317 enable_extrac32
1318 enable_findstr
1319 enable_hh
1320 enable_hostname
1321 enable_icinfo
1322 enable_iexplore
1323 enable_ipconfig
1324 enable_lodctr
1325 enable_mofcomp
1326 enable_mshta
1327 enable_msiexec
1328 enable_net
1329 enable_netsh
1330 enable_netstat
1331 enable_ngen
1332 enable_notepad
1333 enable_oleview
1334 enable_ping
1335 enable_plugplay
1336 enable_presentationfontcache
1337 enable_progman
1338 enable_reg
1339 enable_regasm
1340 enable_regedit
1341 enable_regsvcs
1342 enable_regsvr32
1343 enable_rpcss
1344 enable_rundll32
1345 enable_sc
1346 enable_schtasks
1347 enable_secedit
1348 enable_servicemodelreg
1349 enable_services
1350 enable_spoolsv
1351 enable_start
1352 enable_svchost
1353 enable_taskkill
1354 enable_tasklist
1355 enable_taskmgr
1356 enable_termsv
1357 enable_uninstaller
1358 enable_unlodctr
1359 enable_view
1360 enable_wevtutil
1361 enable_wineboot
1362 enable_winebrowser
1363 enable_winecfg
1364 enable_wineconsole
1365 enable_winedbg
1366 enable_winedevice
1367 enable_winefile
1368 enable_winemenubuilder
1369 enable_winemine
1370 enable_winemsibuilder
1371 enable_winepath
1372 enable_winetest
1373 enable_winhlp32
1374 enable_winver
1375 enable_wmic
1376 enable_wordpad
1377 enable_write
1378 enable_wscript
1379 enable_wusa
1380 enable_xcopy
1381 enable_server
1382 enable_tools
1384 ac_precious_vars='build_alias
1385 host_alias
1386 target_alias
1388 CFLAGS
1389 LDFLAGS
1390 LIBS
1391 CPPFLAGS
1393 CXXFLAGS
1396 XMKMF
1397 XML2_CFLAGS
1398 XML2_LIBS
1399 XSLT_CFLAGS
1400 XSLT_LIBS
1401 DBUS_CFLAGS
1402 DBUS_LIBS
1403 HAL_CFLAGS
1404 HAL_LIBS
1405 GNUTLS_CFLAGS
1406 GNUTLS_LIBS
1407 SANE_CFLAGS
1408 SANE_LIBS
1409 GPHOTO2_CFLAGS
1410 GPHOTO2_LIBS
1411 GPHOTO2_PORT_CFLAGS
1412 GPHOTO2_PORT_LIBS
1413 LCMS2_CFLAGS
1414 LCMS2_LIBS
1415 FREETYPE_CFLAGS
1416 FREETYPE_LIBS
1417 GSTREAMER_CFLAGS
1418 GSTREAMER_LIBS
1419 CAPI20_CFLAGS
1420 CAPI20_LIBS
1421 FONTCONFIG_CFLAGS
1422 FONTCONFIG_LIBS
1423 JPEG_CFLAGS
1424 JPEG_LIBS
1425 PNG_CFLAGS
1426 PNG_LIBS
1427 TIFF_CFLAGS
1428 TIFF_LIBS
1429 MPG123_CFLAGS
1430 MPG123_LIBS'
1433 # Initialize some variables set by options.
1434 ac_init_help=
1435 ac_init_version=false
1436 ac_unrecognized_opts=
1437 ac_unrecognized_sep=
1438 # The variables have the same names as the options, with
1439 # dashes changed to underlines.
1440 cache_file=/dev/null
1441 exec_prefix=NONE
1442 no_create=
1443 no_recursion=
1444 prefix=NONE
1445 program_prefix=NONE
1446 program_suffix=NONE
1447 program_transform_name=s,x,x,
1448 silent=
1449 site=
1450 srcdir=
1451 verbose=
1452 x_includes=NONE
1453 x_libraries=NONE
1455 # Installation directory options.
1456 # These are left unexpanded so users can "make install exec_prefix=/foo"
1457 # and all the variables that are supposed to be based on exec_prefix
1458 # by default will actually change.
1459 # Use braces instead of parens because sh, perl, etc. also accept them.
1460 # (The list follows the same order as the GNU Coding Standards.)
1461 bindir='${exec_prefix}/bin'
1462 sbindir='${exec_prefix}/sbin'
1463 libexecdir='${exec_prefix}/libexec'
1464 datarootdir='${prefix}/share'
1465 datadir='${datarootdir}'
1466 sysconfdir='${prefix}/etc'
1467 sharedstatedir='${prefix}/com'
1468 localstatedir='${prefix}/var'
1469 includedir='${prefix}/include'
1470 oldincludedir='/usr/include'
1471 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1472 infodir='${datarootdir}/info'
1473 htmldir='${docdir}'
1474 dvidir='${docdir}'
1475 pdfdir='${docdir}'
1476 psdir='${docdir}'
1477 libdir='${exec_prefix}/lib'
1478 localedir='${datarootdir}/locale'
1479 mandir='${datarootdir}/man'
1481 ac_prev=
1482 ac_dashdash=
1483 for ac_option
1485 # If the previous option needs an argument, assign it.
1486 if test -n "$ac_prev"; then
1487 eval $ac_prev=\$ac_option
1488 ac_prev=
1489 continue
1492 case $ac_option in
1493 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1494 *=) ac_optarg= ;;
1495 *) ac_optarg=yes ;;
1496 esac
1498 # Accept the important Cygnus configure options, so we can diagnose typos.
1500 case $ac_dashdash$ac_option in
1502 ac_dashdash=yes ;;
1504 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1505 ac_prev=bindir ;;
1506 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1507 bindir=$ac_optarg ;;
1509 -build | --build | --buil | --bui | --bu)
1510 ac_prev=build_alias ;;
1511 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1512 build_alias=$ac_optarg ;;
1514 -cache-file | --cache-file | --cache-fil | --cache-fi \
1515 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1516 ac_prev=cache_file ;;
1517 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1518 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1519 cache_file=$ac_optarg ;;
1521 --config-cache | -C)
1522 cache_file=config.cache ;;
1524 -datadir | --datadir | --datadi | --datad)
1525 ac_prev=datadir ;;
1526 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1527 datadir=$ac_optarg ;;
1529 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1530 | --dataroo | --dataro | --datar)
1531 ac_prev=datarootdir ;;
1532 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1533 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1534 datarootdir=$ac_optarg ;;
1536 -disable-* | --disable-*)
1537 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1538 # Reject names that are not valid shell variable names.
1539 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1540 as_fn_error $? "invalid feature name: $ac_useropt"
1541 ac_useropt_orig=$ac_useropt
1542 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1543 case $ac_user_opts in
1545 "enable_$ac_useropt"
1546 "*) ;;
1547 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1548 ac_unrecognized_sep=', ';;
1549 esac
1550 eval enable_$ac_useropt=no ;;
1552 -docdir | --docdir | --docdi | --doc | --do)
1553 ac_prev=docdir ;;
1554 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1555 docdir=$ac_optarg ;;
1557 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1558 ac_prev=dvidir ;;
1559 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1560 dvidir=$ac_optarg ;;
1562 -enable-* | --enable-*)
1563 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1564 # Reject names that are not valid shell variable names.
1565 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1566 as_fn_error $? "invalid feature name: $ac_useropt"
1567 ac_useropt_orig=$ac_useropt
1568 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1569 case $ac_user_opts in
1571 "enable_$ac_useropt"
1572 "*) ;;
1573 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1574 ac_unrecognized_sep=', ';;
1575 esac
1576 eval enable_$ac_useropt=\$ac_optarg ;;
1578 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1579 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1580 | --exec | --exe | --ex)
1581 ac_prev=exec_prefix ;;
1582 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1583 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1584 | --exec=* | --exe=* | --ex=*)
1585 exec_prefix=$ac_optarg ;;
1587 -gas | --gas | --ga | --g)
1588 # Obsolete; use --with-gas.
1589 with_gas=yes ;;
1591 -help | --help | --hel | --he | -h)
1592 ac_init_help=long ;;
1593 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1594 ac_init_help=recursive ;;
1595 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1596 ac_init_help=short ;;
1598 -host | --host | --hos | --ho)
1599 ac_prev=host_alias ;;
1600 -host=* | --host=* | --hos=* | --ho=*)
1601 host_alias=$ac_optarg ;;
1603 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1604 ac_prev=htmldir ;;
1605 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1606 | --ht=*)
1607 htmldir=$ac_optarg ;;
1609 -includedir | --includedir | --includedi | --included | --include \
1610 | --includ | --inclu | --incl | --inc)
1611 ac_prev=includedir ;;
1612 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1613 | --includ=* | --inclu=* | --incl=* | --inc=*)
1614 includedir=$ac_optarg ;;
1616 -infodir | --infodir | --infodi | --infod | --info | --inf)
1617 ac_prev=infodir ;;
1618 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1619 infodir=$ac_optarg ;;
1621 -libdir | --libdir | --libdi | --libd)
1622 ac_prev=libdir ;;
1623 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1624 libdir=$ac_optarg ;;
1626 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1627 | --libexe | --libex | --libe)
1628 ac_prev=libexecdir ;;
1629 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1630 | --libexe=* | --libex=* | --libe=*)
1631 libexecdir=$ac_optarg ;;
1633 -localedir | --localedir | --localedi | --localed | --locale)
1634 ac_prev=localedir ;;
1635 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1636 localedir=$ac_optarg ;;
1638 -localstatedir | --localstatedir | --localstatedi | --localstated \
1639 | --localstate | --localstat | --localsta | --localst | --locals)
1640 ac_prev=localstatedir ;;
1641 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1642 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1643 localstatedir=$ac_optarg ;;
1645 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1646 ac_prev=mandir ;;
1647 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1648 mandir=$ac_optarg ;;
1650 -nfp | --nfp | --nf)
1651 # Obsolete; use --without-fp.
1652 with_fp=no ;;
1654 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1655 | --no-cr | --no-c | -n)
1656 no_create=yes ;;
1658 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1659 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1660 no_recursion=yes ;;
1662 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1663 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1664 | --oldin | --oldi | --old | --ol | --o)
1665 ac_prev=oldincludedir ;;
1666 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1667 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1668 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1669 oldincludedir=$ac_optarg ;;
1671 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1672 ac_prev=prefix ;;
1673 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1674 prefix=$ac_optarg ;;
1676 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1677 | --program-pre | --program-pr | --program-p)
1678 ac_prev=program_prefix ;;
1679 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1680 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1681 program_prefix=$ac_optarg ;;
1683 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1684 | --program-suf | --program-su | --program-s)
1685 ac_prev=program_suffix ;;
1686 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1687 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1688 program_suffix=$ac_optarg ;;
1690 -program-transform-name | --program-transform-name \
1691 | --program-transform-nam | --program-transform-na \
1692 | --program-transform-n | --program-transform- \
1693 | --program-transform | --program-transfor \
1694 | --program-transfo | --program-transf \
1695 | --program-trans | --program-tran \
1696 | --progr-tra | --program-tr | --program-t)
1697 ac_prev=program_transform_name ;;
1698 -program-transform-name=* | --program-transform-name=* \
1699 | --program-transform-nam=* | --program-transform-na=* \
1700 | --program-transform-n=* | --program-transform-=* \
1701 | --program-transform=* | --program-transfor=* \
1702 | --program-transfo=* | --program-transf=* \
1703 | --program-trans=* | --program-tran=* \
1704 | --progr-tra=* | --program-tr=* | --program-t=*)
1705 program_transform_name=$ac_optarg ;;
1707 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1708 ac_prev=pdfdir ;;
1709 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1710 pdfdir=$ac_optarg ;;
1712 -psdir | --psdir | --psdi | --psd | --ps)
1713 ac_prev=psdir ;;
1714 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1715 psdir=$ac_optarg ;;
1717 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1718 | -silent | --silent | --silen | --sile | --sil)
1719 silent=yes ;;
1721 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1722 ac_prev=sbindir ;;
1723 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1724 | --sbi=* | --sb=*)
1725 sbindir=$ac_optarg ;;
1727 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1728 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1729 | --sharedst | --shareds | --shared | --share | --shar \
1730 | --sha | --sh)
1731 ac_prev=sharedstatedir ;;
1732 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1733 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1734 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1735 | --sha=* | --sh=*)
1736 sharedstatedir=$ac_optarg ;;
1738 -site | --site | --sit)
1739 ac_prev=site ;;
1740 -site=* | --site=* | --sit=*)
1741 site=$ac_optarg ;;
1743 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1744 ac_prev=srcdir ;;
1745 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1746 srcdir=$ac_optarg ;;
1748 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1749 | --syscon | --sysco | --sysc | --sys | --sy)
1750 ac_prev=sysconfdir ;;
1751 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1752 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1753 sysconfdir=$ac_optarg ;;
1755 -target | --target | --targe | --targ | --tar | --ta | --t)
1756 ac_prev=target_alias ;;
1757 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1758 target_alias=$ac_optarg ;;
1760 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1761 verbose=yes ;;
1763 -version | --version | --versio | --versi | --vers | -V)
1764 ac_init_version=: ;;
1766 -with-* | --with-*)
1767 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1768 # Reject names that are not valid shell variable names.
1769 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1770 as_fn_error $? "invalid package name: $ac_useropt"
1771 ac_useropt_orig=$ac_useropt
1772 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1773 case $ac_user_opts in
1775 "with_$ac_useropt"
1776 "*) ;;
1777 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1778 ac_unrecognized_sep=', ';;
1779 esac
1780 eval with_$ac_useropt=\$ac_optarg ;;
1782 -without-* | --without-*)
1783 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1784 # Reject names that are not valid shell variable names.
1785 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1786 as_fn_error $? "invalid package name: $ac_useropt"
1787 ac_useropt_orig=$ac_useropt
1788 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1789 case $ac_user_opts in
1791 "with_$ac_useropt"
1792 "*) ;;
1793 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1794 ac_unrecognized_sep=', ';;
1795 esac
1796 eval with_$ac_useropt=no ;;
1798 --x)
1799 # Obsolete; use --with-x.
1800 with_x=yes ;;
1802 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1803 | --x-incl | --x-inc | --x-in | --x-i)
1804 ac_prev=x_includes ;;
1805 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1806 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1807 x_includes=$ac_optarg ;;
1809 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1810 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1811 ac_prev=x_libraries ;;
1812 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1813 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1814 x_libraries=$ac_optarg ;;
1816 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1817 Try \`$0 --help' for more information"
1820 *=*)
1821 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1822 # Reject names that are not valid shell variable names.
1823 case $ac_envvar in #(
1824 '' | [0-9]* | *[!_$as_cr_alnum]* )
1825 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1826 esac
1827 eval $ac_envvar=\$ac_optarg
1828 export $ac_envvar ;;
1831 # FIXME: should be removed in autoconf 3.0.
1832 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1833 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1834 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1835 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1838 esac
1839 done
1841 if test -n "$ac_prev"; then
1842 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1843 as_fn_error $? "missing argument to $ac_option"
1846 if test -n "$ac_unrecognized_opts"; then
1847 case $enable_option_checking in
1848 no) ;;
1849 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1850 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1851 esac
1854 # Check all directory arguments for consistency.
1855 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1856 datadir sysconfdir sharedstatedir localstatedir includedir \
1857 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1858 libdir localedir mandir
1860 eval ac_val=\$$ac_var
1861 # Remove trailing slashes.
1862 case $ac_val in
1863 */ )
1864 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1865 eval $ac_var=\$ac_val;;
1866 esac
1867 # Be sure to have absolute directory names.
1868 case $ac_val in
1869 [\\/$]* | ?:[\\/]* ) continue;;
1870 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1871 esac
1872 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1873 done
1875 # There might be people who depend on the old broken behavior: `$host'
1876 # used to hold the argument of --host etc.
1877 # FIXME: To remove some day.
1878 build=$build_alias
1879 host=$host_alias
1880 target=$target_alias
1882 # FIXME: To remove some day.
1883 if test "x$host_alias" != x; then
1884 if test "x$build_alias" = x; then
1885 cross_compiling=maybe
1886 elif test "x$build_alias" != "x$host_alias"; then
1887 cross_compiling=yes
1891 ac_tool_prefix=
1892 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1894 test "$silent" = yes && exec 6>/dev/null
1897 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1898 ac_ls_di=`ls -di .` &&
1899 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1900 as_fn_error $? "working directory cannot be determined"
1901 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1902 as_fn_error $? "pwd does not report name of working directory"
1905 # Find the source files, if location was not specified.
1906 if test -z "$srcdir"; then
1907 ac_srcdir_defaulted=yes
1908 # Try the directory containing this script, then the parent directory.
1909 ac_confdir=`$as_dirname -- "$as_myself" ||
1910 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1911 X"$as_myself" : 'X\(//\)[^/]' \| \
1912 X"$as_myself" : 'X\(//\)$' \| \
1913 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1914 $as_echo X"$as_myself" |
1915 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1916 s//\1/
1919 /^X\(\/\/\)[^/].*/{
1920 s//\1/
1923 /^X\(\/\/\)$/{
1924 s//\1/
1927 /^X\(\/\).*/{
1928 s//\1/
1931 s/.*/./; q'`
1932 srcdir=$ac_confdir
1933 if test ! -r "$srcdir/$ac_unique_file"; then
1934 srcdir=..
1936 else
1937 ac_srcdir_defaulted=no
1939 if test ! -r "$srcdir/$ac_unique_file"; then
1940 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1941 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1943 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1944 ac_abs_confdir=`(
1945 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1946 pwd)`
1947 # When building in place, set srcdir=.
1948 if test "$ac_abs_confdir" = "$ac_pwd"; then
1949 srcdir=.
1951 # Remove unnecessary trailing slashes from srcdir.
1952 # Double slashes in file names in object file debugging info
1953 # mess up M-x gdb in Emacs.
1954 case $srcdir in
1955 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1956 esac
1957 for ac_var in $ac_precious_vars; do
1958 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1959 eval ac_env_${ac_var}_value=\$${ac_var}
1960 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1961 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1962 done
1965 # Report the --help message.
1967 if test "$ac_init_help" = "long"; then
1968 # Omit some internal or obsolete options to make the list less imposing.
1969 # This message is too long to be a string in the A/UX 3.1 sh.
1970 cat <<_ACEOF
1971 \`configure' configures Wine 1.7.13 to adapt to many kinds of systems.
1973 Usage: $0 [OPTION]... [VAR=VALUE]...
1975 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1976 VAR=VALUE. See below for descriptions of some of the useful variables.
1978 Defaults for the options are specified in brackets.
1980 Configuration:
1981 -h, --help display this help and exit
1982 --help=short display options specific to this package
1983 --help=recursive display the short help of all the included packages
1984 -V, --version display version information and exit
1985 -q, --quiet, --silent do not print \`checking ...' messages
1986 --cache-file=FILE cache test results in FILE [disabled]
1987 -C, --config-cache alias for \`--cache-file=config.cache'
1988 -n, --no-create do not create output files
1989 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1991 Installation directories:
1992 --prefix=PREFIX install architecture-independent files in PREFIX
1993 [$ac_default_prefix]
1994 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1995 [PREFIX]
1997 By default, \`make install' will install all the files in
1998 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1999 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2000 for instance \`--prefix=\$HOME'.
2002 For better control, use the options below.
2004 Fine tuning of the installation directories:
2005 --bindir=DIR user executables [EPREFIX/bin]
2006 --sbindir=DIR system admin executables [EPREFIX/sbin]
2007 --libexecdir=DIR program executables [EPREFIX/libexec]
2008 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2009 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2010 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2011 --libdir=DIR object code libraries [EPREFIX/lib]
2012 --includedir=DIR C header files [PREFIX/include]
2013 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2014 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2015 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2016 --infodir=DIR info documentation [DATAROOTDIR/info]
2017 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2018 --mandir=DIR man documentation [DATAROOTDIR/man]
2019 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2020 --htmldir=DIR html documentation [DOCDIR]
2021 --dvidir=DIR dvi documentation [DOCDIR]
2022 --pdfdir=DIR pdf documentation [DOCDIR]
2023 --psdir=DIR ps documentation [DOCDIR]
2024 _ACEOF
2026 cat <<\_ACEOF
2028 X features:
2029 --x-includes=DIR X include files are in DIR
2030 --x-libraries=DIR X library files are in DIR
2032 System types:
2033 --build=BUILD configure for building on BUILD [guessed]
2034 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2035 _ACEOF
2038 if test -n "$ac_init_help"; then
2039 case $ac_init_help in
2040 short | recursive ) echo "Configuration of Wine 1.7.13:";;
2041 esac
2042 cat <<\_ACEOF
2044 Optional Features:
2045 --disable-option-checking ignore unrecognized --enable/--with options
2046 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2047 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2048 --disable-win16 do not include Win16 support
2049 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2050 binaries)
2051 --disable-tests do not build the regression tests
2052 --enable-maintainer-mode
2053 enable maintainer-specific build rules
2054 --disable-largefile omit support for large files
2056 Optional Packages:
2057 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2058 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2059 --without-alsa do not use the Alsa sound support
2060 --without-capi do not use CAPI (ISDN support)
2061 --without-cms do not use CMS (color management support)
2062 --without-coreaudio do not use the CoreAudio sound support
2063 --without-cups do not use CUPS
2064 --without-curses do not use (n)curses
2065 --without-dbus do not use DBus (dynamic device support)
2066 --without-fontconfig do not use fontconfig
2067 --without-freetype do not use the FreeType library
2068 --without-gettext do not use gettext
2069 --with-gettextpo use the GetTextPO library to rebuild po files
2070 --without-gphoto do not use gphoto (Digital Camera support)
2071 --without-glu do not use the GLU library
2072 --without-gnutls do not use GnuTLS (schannel support)
2073 --without-gsm do not use libgsm (GSM 06.10 codec support)
2074 --without-gstreamer do not use GStreamer (codecs support)
2075 --without-hal do not use HAL (dynamic device support)
2076 --without-jpeg do not use JPEG
2077 --without-ldap do not use LDAP
2078 --without-mpg123 do not use the mpg123 library
2079 --without-netapi do not use the Samba NetAPI library
2080 --without-openal do not use OpenAL
2081 --without-opencl do not use OpenCL
2082 --without-opengl do not use OpenGL
2083 --without-osmesa do not use the OSMesa library
2084 --without-oss do not use the OSS sound support
2085 --without-png do not use PNG
2086 --without-pthread do not use the pthread library
2087 --without-sane do not use SANE (scanner support)
2088 --without-tiff do not use TIFF
2089 --without-v4l do not use v4l1 (v4l support)
2090 --without-xcomposite do not use the Xcomposite extension
2091 --without-xcursor do not use the Xcursor extension
2092 --without-xinerama do not use Xinerama (multi-monitor support)
2093 --without-xinput do not use the Xinput extension
2094 --without-xinput2 do not use the Xinput 2 extension
2095 --without-xml do not use XML
2096 --without-xrandr do not use Xrandr (resolution changes)
2097 --without-xrender do not use the Xrender extension
2098 --without-xshape do not use the Xshape extension
2099 --without-xshm do not use XShm (shared memory extension)
2100 --without-xslt do not use XSLT
2101 --without-xxf86vm do not use XFree video mode extension
2102 --without-zlib do not use Zlib (data compression)
2103 --with-wine-tools=DIR use Wine tools from directory DIR
2104 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2105 --with-x use the X Window System
2107 Some influential environment variables:
2108 CC C compiler command
2109 CFLAGS C compiler flags
2110 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2111 nonstandard directory <lib dir>
2112 LIBS libraries to pass to the linker, e.g. -l<library>
2113 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2114 you have headers in a nonstandard directory <include dir>
2115 CXX C++ compiler command
2116 CXXFLAGS C++ compiler flags
2117 CPP C preprocessor
2118 XMKMF Path to xmkmf, Makefile generator for X Window System
2119 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2120 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2121 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2122 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2123 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2124 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2125 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2126 HAL_LIBS Linker flags for hal, overriding pkg-config
2127 GNUTLS_CFLAGS
2128 C compiler flags for gnutls, overriding pkg-config
2129 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2130 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2131 SANE_LIBS Linker flags for libsane, overriding pkg-config
2132 GPHOTO2_CFLAGS
2133 C compiler flags for libgphoto2, overriding pkg-config
2134 GPHOTO2_LIBS
2135 Linker flags for libgphoto2, overriding pkg-config
2136 GPHOTO2_PORT_CFLAGS
2137 C compiler flags for libgphoto2_port, overriding pkg-config
2138 GPHOTO2_PORT_LIBS
2139 Linker flags for libgphoto2_port, overriding pkg-config
2140 LCMS2_CFLAGS
2141 C compiler flags for lcms2, overriding pkg-config
2142 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2143 FREETYPE_CFLAGS
2144 C compiler flags for freetype2, overriding pkg-config
2145 FREETYPE_LIBS
2146 Linker flags for freetype2, overriding pkg-config
2147 GSTREAMER_CFLAGS
2148 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2149 GSTREAMER_LIBS
2150 Linker flags for gstreamer-app-0.10, overriding pkg-config
2151 CAPI20_CFLAGS
2152 C compiler flags for capi20, overriding pkg-config
2153 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2154 FONTCONFIG_CFLAGS
2155 C compiler flags for fontconfig, overriding pkg-config
2156 FONTCONFIG_LIBS
2157 Linker flags for fontconfig, overriding pkg-config
2158 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2159 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2160 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2161 PNG_LIBS Linker flags for libpng, overriding pkg-config
2162 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2163 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2164 MPG123_CFLAGS
2165 C compiler flags for libmpg123, overriding pkg-config
2166 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2168 Use these variables to override the choices made by `configure' or to help
2169 it to find libraries and programs with nonstandard names/locations.
2171 Report bugs to <wine-devel@winehq.org>.
2172 Wine home page: <http://www.winehq.org>.
2173 _ACEOF
2174 ac_status=$?
2177 if test "$ac_init_help" = "recursive"; then
2178 # If there are subdirs, report their specific --help.
2179 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2180 test -d "$ac_dir" ||
2181 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2182 continue
2183 ac_builddir=.
2185 case "$ac_dir" in
2186 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2188 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2189 # A ".." for each directory in $ac_dir_suffix.
2190 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2191 case $ac_top_builddir_sub in
2192 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2193 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2194 esac ;;
2195 esac
2196 ac_abs_top_builddir=$ac_pwd
2197 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2198 # for backward compatibility:
2199 ac_top_builddir=$ac_top_build_prefix
2201 case $srcdir in
2202 .) # We are building in place.
2203 ac_srcdir=.
2204 ac_top_srcdir=$ac_top_builddir_sub
2205 ac_abs_top_srcdir=$ac_pwd ;;
2206 [\\/]* | ?:[\\/]* ) # Absolute name.
2207 ac_srcdir=$srcdir$ac_dir_suffix;
2208 ac_top_srcdir=$srcdir
2209 ac_abs_top_srcdir=$srcdir ;;
2210 *) # Relative name.
2211 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2212 ac_top_srcdir=$ac_top_build_prefix$srcdir
2213 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2214 esac
2215 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2217 cd "$ac_dir" || { ac_status=$?; continue; }
2218 # Check for guested configure.
2219 if test -f "$ac_srcdir/configure.gnu"; then
2220 echo &&
2221 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2222 elif test -f "$ac_srcdir/configure"; then
2223 echo &&
2224 $SHELL "$ac_srcdir/configure" --help=recursive
2225 else
2226 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2227 fi || ac_status=$?
2228 cd "$ac_pwd" || { ac_status=$?; break; }
2229 done
2232 test -n "$ac_init_help" && exit $ac_status
2233 if $ac_init_version; then
2234 cat <<\_ACEOF
2235 Wine configure 1.7.13
2236 generated by GNU Autoconf 2.69
2238 Copyright (C) 2012 Free Software Foundation, Inc.
2239 This configure script is free software; the Free Software Foundation
2240 gives unlimited permission to copy, distribute and modify it.
2241 _ACEOF
2242 exit
2245 ## ------------------------ ##
2246 ## Autoconf initialization. ##
2247 ## ------------------------ ##
2249 # ac_fn_c_try_compile LINENO
2250 # --------------------------
2251 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2252 ac_fn_c_try_compile ()
2254 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2255 rm -f conftest.$ac_objext
2256 if { { ac_try="$ac_compile"
2257 case "(($ac_try" in
2258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2259 *) ac_try_echo=$ac_try;;
2260 esac
2261 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2262 $as_echo "$ac_try_echo"; } >&5
2263 (eval "$ac_compile") 2>conftest.err
2264 ac_status=$?
2265 if test -s conftest.err; then
2266 grep -v '^ *+' conftest.err >conftest.er1
2267 cat conftest.er1 >&5
2268 mv -f conftest.er1 conftest.err
2270 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2271 test $ac_status = 0; } && {
2272 test -z "$ac_c_werror_flag" ||
2273 test ! -s conftest.err
2274 } && test -s conftest.$ac_objext; then :
2275 ac_retval=0
2276 else
2277 $as_echo "$as_me: failed program was:" >&5
2278 sed 's/^/| /' conftest.$ac_ext >&5
2280 ac_retval=1
2282 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2283 as_fn_set_status $ac_retval
2285 } # ac_fn_c_try_compile
2287 # ac_fn_cxx_try_compile LINENO
2288 # ----------------------------
2289 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2290 ac_fn_cxx_try_compile ()
2292 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2293 rm -f conftest.$ac_objext
2294 if { { ac_try="$ac_compile"
2295 case "(($ac_try" in
2296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2297 *) ac_try_echo=$ac_try;;
2298 esac
2299 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2300 $as_echo "$ac_try_echo"; } >&5
2301 (eval "$ac_compile") 2>conftest.err
2302 ac_status=$?
2303 if test -s conftest.err; then
2304 grep -v '^ *+' conftest.err >conftest.er1
2305 cat conftest.er1 >&5
2306 mv -f conftest.er1 conftest.err
2308 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2309 test $ac_status = 0; } && {
2310 test -z "$ac_cxx_werror_flag" ||
2311 test ! -s conftest.err
2312 } && test -s conftest.$ac_objext; then :
2313 ac_retval=0
2314 else
2315 $as_echo "$as_me: failed program was:" >&5
2316 sed 's/^/| /' conftest.$ac_ext >&5
2318 ac_retval=1
2320 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2321 as_fn_set_status $ac_retval
2323 } # ac_fn_cxx_try_compile
2325 # ac_fn_c_try_link LINENO
2326 # -----------------------
2327 # Try to link conftest.$ac_ext, and return whether this succeeded.
2328 ac_fn_c_try_link ()
2330 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2331 rm -f conftest.$ac_objext conftest$ac_exeext
2332 if { { ac_try="$ac_link"
2333 case "(($ac_try" in
2334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2335 *) ac_try_echo=$ac_try;;
2336 esac
2337 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2338 $as_echo "$ac_try_echo"; } >&5
2339 (eval "$ac_link") 2>conftest.err
2340 ac_status=$?
2341 if test -s conftest.err; then
2342 grep -v '^ *+' conftest.err >conftest.er1
2343 cat conftest.er1 >&5
2344 mv -f conftest.er1 conftest.err
2346 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2347 test $ac_status = 0; } && {
2348 test -z "$ac_c_werror_flag" ||
2349 test ! -s conftest.err
2350 } && test -s conftest$ac_exeext && {
2351 test "$cross_compiling" = yes ||
2352 test -x conftest$ac_exeext
2353 }; then :
2354 ac_retval=0
2355 else
2356 $as_echo "$as_me: failed program was:" >&5
2357 sed 's/^/| /' conftest.$ac_ext >&5
2359 ac_retval=1
2361 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2362 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2363 # interfere with the next link command; also delete a directory that is
2364 # left behind by Apple's compiler. We do this before executing the actions.
2365 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2366 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2367 as_fn_set_status $ac_retval
2369 } # ac_fn_c_try_link
2371 # ac_fn_c_try_cpp LINENO
2372 # ----------------------
2373 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2374 ac_fn_c_try_cpp ()
2376 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2377 if { { ac_try="$ac_cpp conftest.$ac_ext"
2378 case "(($ac_try" in
2379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2380 *) ac_try_echo=$ac_try;;
2381 esac
2382 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2383 $as_echo "$ac_try_echo"; } >&5
2384 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2385 ac_status=$?
2386 if test -s conftest.err; then
2387 grep -v '^ *+' conftest.err >conftest.er1
2388 cat conftest.er1 >&5
2389 mv -f conftest.er1 conftest.err
2391 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2392 test $ac_status = 0; } > conftest.i && {
2393 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2394 test ! -s conftest.err
2395 }; then :
2396 ac_retval=0
2397 else
2398 $as_echo "$as_me: failed program was:" >&5
2399 sed 's/^/| /' conftest.$ac_ext >&5
2401 ac_retval=1
2403 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2404 as_fn_set_status $ac_retval
2406 } # ac_fn_c_try_cpp
2408 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2409 # -------------------------------------------------------
2410 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2411 # the include files in INCLUDES and setting the cache variable VAR
2412 # accordingly.
2413 ac_fn_c_check_header_mongrel ()
2415 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2416 if eval \${$3+:} false; then :
2417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2418 $as_echo_n "checking for $2... " >&6; }
2419 if eval \${$3+:} false; then :
2420 $as_echo_n "(cached) " >&6
2422 eval ac_res=\$$3
2423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2424 $as_echo "$ac_res" >&6; }
2425 else
2426 # Is the header compilable?
2427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2428 $as_echo_n "checking $2 usability... " >&6; }
2429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2430 /* end confdefs.h. */
2432 #include <$2>
2433 _ACEOF
2434 if ac_fn_c_try_compile "$LINENO"; then :
2435 ac_header_compiler=yes
2436 else
2437 ac_header_compiler=no
2439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2441 $as_echo "$ac_header_compiler" >&6; }
2443 # Is the header present?
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2445 $as_echo_n "checking $2 presence... " >&6; }
2446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2447 /* end confdefs.h. */
2448 #include <$2>
2449 _ACEOF
2450 if ac_fn_c_try_cpp "$LINENO"; then :
2451 ac_header_preproc=yes
2452 else
2453 ac_header_preproc=no
2455 rm -f conftest.err conftest.i conftest.$ac_ext
2456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2457 $as_echo "$ac_header_preproc" >&6; }
2459 # So? What about this header?
2460 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2461 yes:no: )
2462 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2463 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2464 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2465 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2467 no:yes:* )
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2469 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2471 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2473 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2475 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2477 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2478 ( $as_echo "## ------------------------------------ ##
2479 ## Report this to wine-devel@winehq.org ##
2480 ## ------------------------------------ ##"
2481 ) | sed "s/^/$as_me: WARNING: /" >&2
2483 esac
2484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2485 $as_echo_n "checking for $2... " >&6; }
2486 if eval \${$3+:} false; then :
2487 $as_echo_n "(cached) " >&6
2488 else
2489 eval "$3=\$ac_header_compiler"
2491 eval ac_res=\$$3
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2493 $as_echo "$ac_res" >&6; }
2495 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2497 } # ac_fn_c_check_header_mongrel
2499 # ac_fn_c_try_run LINENO
2500 # ----------------------
2501 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2502 # that executables *can* be run.
2503 ac_fn_c_try_run ()
2505 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2506 if { { ac_try="$ac_link"
2507 case "(($ac_try" in
2508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2509 *) ac_try_echo=$ac_try;;
2510 esac
2511 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2512 $as_echo "$ac_try_echo"; } >&5
2513 (eval "$ac_link") 2>&5
2514 ac_status=$?
2515 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2516 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2517 { { case "(($ac_try" in
2518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2519 *) ac_try_echo=$ac_try;;
2520 esac
2521 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2522 $as_echo "$ac_try_echo"; } >&5
2523 (eval "$ac_try") 2>&5
2524 ac_status=$?
2525 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2526 test $ac_status = 0; }; }; then :
2527 ac_retval=0
2528 else
2529 $as_echo "$as_me: program exited with status $ac_status" >&5
2530 $as_echo "$as_me: failed program was:" >&5
2531 sed 's/^/| /' conftest.$ac_ext >&5
2533 ac_retval=$ac_status
2535 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2536 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2537 as_fn_set_status $ac_retval
2539 } # ac_fn_c_try_run
2541 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2542 # -------------------------------------------------------
2543 # Tests whether HEADER exists and can be compiled using the include files in
2544 # INCLUDES, setting the cache variable VAR accordingly.
2545 ac_fn_c_check_header_compile ()
2547 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2549 $as_echo_n "checking for $2... " >&6; }
2550 if eval \${$3+:} false; then :
2551 $as_echo_n "(cached) " >&6
2552 else
2553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2554 /* end confdefs.h. */
2556 #include <$2>
2557 _ACEOF
2558 if ac_fn_c_try_compile "$LINENO"; then :
2559 eval "$3=yes"
2560 else
2561 eval "$3=no"
2563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2565 eval ac_res=\$$3
2566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2567 $as_echo "$ac_res" >&6; }
2568 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2570 } # ac_fn_c_check_header_compile
2572 # ac_fn_c_check_func LINENO FUNC VAR
2573 # ----------------------------------
2574 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2575 ac_fn_c_check_func ()
2577 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2579 $as_echo_n "checking for $2... " >&6; }
2580 if eval \${$3+:} false; then :
2581 $as_echo_n "(cached) " >&6
2582 else
2583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2584 /* end confdefs.h. */
2585 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2586 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2587 #define $2 innocuous_$2
2589 /* System header to define __stub macros and hopefully few prototypes,
2590 which can conflict with char $2 (); below.
2591 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2592 <limits.h> exists even on freestanding compilers. */
2594 #ifdef __STDC__
2595 # include <limits.h>
2596 #else
2597 # include <assert.h>
2598 #endif
2600 #undef $2
2602 /* Override any GCC internal prototype to avoid an error.
2603 Use char because int might match the return type of a GCC
2604 builtin and then its argument prototype would still apply. */
2605 #ifdef __cplusplus
2606 extern "C"
2607 #endif
2608 char $2 ();
2609 /* The GNU C library defines this for functions which it implements
2610 to always fail with ENOSYS. Some functions are actually named
2611 something starting with __ and the normal name is an alias. */
2612 #if defined __stub_$2 || defined __stub___$2
2613 choke me
2614 #endif
2617 main ()
2619 return $2 ();
2621 return 0;
2623 _ACEOF
2624 if ac_fn_c_try_link "$LINENO"; then :
2625 eval "$3=yes"
2626 else
2627 eval "$3=no"
2629 rm -f core conftest.err conftest.$ac_objext \
2630 conftest$ac_exeext conftest.$ac_ext
2632 eval ac_res=\$$3
2633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2634 $as_echo "$ac_res" >&6; }
2635 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2637 } # ac_fn_c_check_func
2639 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2640 # ----------------------------------------------------
2641 # Tries to find if the field MEMBER exists in type AGGR, after including
2642 # INCLUDES, setting cache variable VAR accordingly.
2643 ac_fn_c_check_member ()
2645 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2647 $as_echo_n "checking for $2.$3... " >&6; }
2648 if eval \${$4+:} false; then :
2649 $as_echo_n "(cached) " >&6
2650 else
2651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2652 /* end confdefs.h. */
2655 main ()
2657 static $2 ac_aggr;
2658 if (ac_aggr.$3)
2659 return 0;
2661 return 0;
2663 _ACEOF
2664 if ac_fn_c_try_compile "$LINENO"; then :
2665 eval "$4=yes"
2666 else
2667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2668 /* end confdefs.h. */
2671 main ()
2673 static $2 ac_aggr;
2674 if (sizeof ac_aggr.$3)
2675 return 0;
2677 return 0;
2679 _ACEOF
2680 if ac_fn_c_try_compile "$LINENO"; then :
2681 eval "$4=yes"
2682 else
2683 eval "$4=no"
2685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2689 eval ac_res=\$$4
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2691 $as_echo "$ac_res" >&6; }
2692 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2694 } # ac_fn_c_check_member
2696 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2697 # -------------------------------------------
2698 # Tests whether TYPE exists after having included INCLUDES, setting cache
2699 # variable VAR accordingly.
2700 ac_fn_c_check_type ()
2702 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2704 $as_echo_n "checking for $2... " >&6; }
2705 if eval \${$3+:} false; then :
2706 $as_echo_n "(cached) " >&6
2707 else
2708 eval "$3=no"
2709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2710 /* end confdefs.h. */
2713 main ()
2715 if (sizeof ($2))
2716 return 0;
2718 return 0;
2720 _ACEOF
2721 if ac_fn_c_try_compile "$LINENO"; then :
2722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2723 /* end confdefs.h. */
2726 main ()
2728 if (sizeof (($2)))
2729 return 0;
2731 return 0;
2733 _ACEOF
2734 if ac_fn_c_try_compile "$LINENO"; then :
2736 else
2737 eval "$3=yes"
2739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2743 eval ac_res=\$$3
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2745 $as_echo "$ac_res" >&6; }
2746 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2748 } # ac_fn_c_check_type
2749 cat >config.log <<_ACEOF
2750 This file contains any messages produced by compilers while
2751 running configure, to aid debugging if configure makes a mistake.
2753 It was created by Wine $as_me 1.7.13, which was
2754 generated by GNU Autoconf 2.69. Invocation command line was
2756 $ $0 $@
2758 _ACEOF
2759 exec 5>>config.log
2761 cat <<_ASUNAME
2762 ## --------- ##
2763 ## Platform. ##
2764 ## --------- ##
2766 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2767 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2768 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2769 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2770 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2772 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2773 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2775 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2776 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2777 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2778 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2779 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2780 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2781 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2783 _ASUNAME
2785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2786 for as_dir in $PATH
2788 IFS=$as_save_IFS
2789 test -z "$as_dir" && as_dir=.
2790 $as_echo "PATH: $as_dir"
2791 done
2792 IFS=$as_save_IFS
2794 } >&5
2796 cat >&5 <<_ACEOF
2799 ## ----------- ##
2800 ## Core tests. ##
2801 ## ----------- ##
2803 _ACEOF
2806 # Keep a trace of the command line.
2807 # Strip out --no-create and --no-recursion so they do not pile up.
2808 # Strip out --silent because we don't want to record it for future runs.
2809 # Also quote any args containing shell meta-characters.
2810 # Make two passes to allow for proper duplicate-argument suppression.
2811 ac_configure_args=
2812 ac_configure_args0=
2813 ac_configure_args1=
2814 ac_must_keep_next=false
2815 for ac_pass in 1 2
2817 for ac_arg
2819 case $ac_arg in
2820 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2821 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2822 | -silent | --silent | --silen | --sile | --sil)
2823 continue ;;
2824 *\'*)
2825 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2826 esac
2827 case $ac_pass in
2828 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2830 as_fn_append ac_configure_args1 " '$ac_arg'"
2831 if test $ac_must_keep_next = true; then
2832 ac_must_keep_next=false # Got value, back to normal.
2833 else
2834 case $ac_arg in
2835 *=* | --config-cache | -C | -disable-* | --disable-* \
2836 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2837 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2838 | -with-* | --with-* | -without-* | --without-* | --x)
2839 case "$ac_configure_args0 " in
2840 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2841 esac
2843 -* ) ac_must_keep_next=true ;;
2844 esac
2846 as_fn_append ac_configure_args " '$ac_arg'"
2848 esac
2849 done
2850 done
2851 { ac_configure_args0=; unset ac_configure_args0;}
2852 { ac_configure_args1=; unset ac_configure_args1;}
2854 # When interrupted or exit'd, cleanup temporary files, and complete
2855 # config.log. We remove comments because anyway the quotes in there
2856 # would cause problems or look ugly.
2857 # WARNING: Use '\'' to represent an apostrophe within the trap.
2858 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2859 trap 'exit_status=$?
2860 # Save into config.log some information that might help in debugging.
2862 echo
2864 $as_echo "## ---------------- ##
2865 ## Cache variables. ##
2866 ## ---------------- ##"
2867 echo
2868 # The following way of writing the cache mishandles newlines in values,
2870 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2871 eval ac_val=\$$ac_var
2872 case $ac_val in #(
2873 *${as_nl}*)
2874 case $ac_var in #(
2875 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2876 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2877 esac
2878 case $ac_var in #(
2879 _ | IFS | as_nl) ;; #(
2880 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2881 *) { eval $ac_var=; unset $ac_var;} ;;
2882 esac ;;
2883 esac
2884 done
2885 (set) 2>&1 |
2886 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2887 *${as_nl}ac_space=\ *)
2888 sed -n \
2889 "s/'\''/'\''\\\\'\'''\''/g;
2890 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2891 ;; #(
2893 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2895 esac |
2896 sort
2898 echo
2900 $as_echo "## ----------------- ##
2901 ## Output variables. ##
2902 ## ----------------- ##"
2903 echo
2904 for ac_var in $ac_subst_vars
2906 eval ac_val=\$$ac_var
2907 case $ac_val in
2908 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2909 esac
2910 $as_echo "$ac_var='\''$ac_val'\''"
2911 done | sort
2912 echo
2914 if test -n "$ac_subst_files"; then
2915 $as_echo "## ------------------- ##
2916 ## File substitutions. ##
2917 ## ------------------- ##"
2918 echo
2919 for ac_var in $ac_subst_files
2921 eval ac_val=\$$ac_var
2922 case $ac_val in
2923 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2924 esac
2925 $as_echo "$ac_var='\''$ac_val'\''"
2926 done | sort
2927 echo
2930 if test -s confdefs.h; then
2931 $as_echo "## ----------- ##
2932 ## confdefs.h. ##
2933 ## ----------- ##"
2934 echo
2935 cat confdefs.h
2936 echo
2938 test "$ac_signal" != 0 &&
2939 $as_echo "$as_me: caught signal $ac_signal"
2940 $as_echo "$as_me: exit $exit_status"
2941 } >&5
2942 rm -f core *.core core.conftest.* &&
2943 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2944 exit $exit_status
2946 for ac_signal in 1 2 13 15; do
2947 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2948 done
2949 ac_signal=0
2951 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2952 rm -f -r conftest* confdefs.h
2954 $as_echo "/* confdefs.h */" > confdefs.h
2956 # Predefined preprocessor variables.
2958 cat >>confdefs.h <<_ACEOF
2959 #define PACKAGE_NAME "$PACKAGE_NAME"
2960 _ACEOF
2962 cat >>confdefs.h <<_ACEOF
2963 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2964 _ACEOF
2966 cat >>confdefs.h <<_ACEOF
2967 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2968 _ACEOF
2970 cat >>confdefs.h <<_ACEOF
2971 #define PACKAGE_STRING "$PACKAGE_STRING"
2972 _ACEOF
2974 cat >>confdefs.h <<_ACEOF
2975 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2976 _ACEOF
2978 cat >>confdefs.h <<_ACEOF
2979 #define PACKAGE_URL "$PACKAGE_URL"
2980 _ACEOF
2983 # Let the site file select an alternate cache file if it wants to.
2984 # Prefer an explicitly selected file to automatically selected ones.
2985 ac_site_file1=NONE
2986 ac_site_file2=NONE
2987 if test -n "$CONFIG_SITE"; then
2988 # We do not want a PATH search for config.site.
2989 case $CONFIG_SITE in #((
2990 -*) ac_site_file1=./$CONFIG_SITE;;
2991 */*) ac_site_file1=$CONFIG_SITE;;
2992 *) ac_site_file1=./$CONFIG_SITE;;
2993 esac
2994 elif test "x$prefix" != xNONE; then
2995 ac_site_file1=$prefix/share/config.site
2996 ac_site_file2=$prefix/etc/config.site
2997 else
2998 ac_site_file1=$ac_default_prefix/share/config.site
2999 ac_site_file2=$ac_default_prefix/etc/config.site
3001 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3003 test "x$ac_site_file" = xNONE && continue
3004 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3006 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3007 sed 's/^/| /' "$ac_site_file" >&5
3008 . "$ac_site_file" \
3009 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3010 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3011 as_fn_error $? "failed to load site script $ac_site_file
3012 See \`config.log' for more details" "$LINENO" 5; }
3014 done
3016 if test -r "$cache_file"; then
3017 # Some versions of bash will fail to source /dev/null (special files
3018 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3019 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3021 $as_echo "$as_me: loading cache $cache_file" >&6;}
3022 case $cache_file in
3023 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3024 *) . "./$cache_file";;
3025 esac
3027 else
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3029 $as_echo "$as_me: creating cache $cache_file" >&6;}
3030 >$cache_file
3033 # Check that the precious variables saved in the cache have kept the same
3034 # value.
3035 ac_cache_corrupted=false
3036 for ac_var in $ac_precious_vars; do
3037 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3038 eval ac_new_set=\$ac_env_${ac_var}_set
3039 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3040 eval ac_new_val=\$ac_env_${ac_var}_value
3041 case $ac_old_set,$ac_new_set in
3042 set,)
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3044 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3045 ac_cache_corrupted=: ;;
3046 ,set)
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3048 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3049 ac_cache_corrupted=: ;;
3050 ,);;
3052 if test "x$ac_old_val" != "x$ac_new_val"; then
3053 # differences in whitespace do not lead to failure.
3054 ac_old_val_w=`echo x $ac_old_val`
3055 ac_new_val_w=`echo x $ac_new_val`
3056 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3058 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3059 ac_cache_corrupted=:
3060 else
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3062 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3063 eval $ac_var=\$ac_old_val
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3066 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3068 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3069 fi;;
3070 esac
3071 # Pass precious variables to config.status.
3072 if test "$ac_new_set" = set; then
3073 case $ac_new_val in
3074 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3075 *) ac_arg=$ac_var=$ac_new_val ;;
3076 esac
3077 case " $ac_configure_args " in
3078 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3079 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3080 esac
3082 done
3083 if $ac_cache_corrupted; then
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3085 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3087 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3088 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3090 ## -------------------- ##
3091 ## Main body of script. ##
3092 ## -------------------- ##
3094 ac_ext=c
3095 ac_cpp='$CPP $CPPFLAGS'
3096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3102 ac_config_headers="$ac_config_headers include/config.h"
3104 ac_aux_dir=
3105 for ac_dir in tools "$srcdir"/tools; do
3106 if test -f "$ac_dir/install-sh"; then
3107 ac_aux_dir=$ac_dir
3108 ac_install_sh="$ac_aux_dir/install-sh -c"
3109 break
3110 elif test -f "$ac_dir/install.sh"; then
3111 ac_aux_dir=$ac_dir
3112 ac_install_sh="$ac_aux_dir/install.sh -c"
3113 break
3114 elif test -f "$ac_dir/shtool"; then
3115 ac_aux_dir=$ac_dir
3116 ac_install_sh="$ac_aux_dir/shtool install -c"
3117 break
3119 done
3120 if test -z "$ac_aux_dir"; then
3121 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3124 # These three variables are undocumented and unsupported,
3125 # and are intended to be withdrawn in a future Autoconf release.
3126 # They can cause serious problems if a builder's source tree is in a directory
3127 # whose full name contains unusual characters.
3128 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3129 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3130 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3134 libwine_version="1.0"
3138 # Check whether --enable-win16 was given.
3139 if test "${enable_win16+set}" = set; then :
3140 enableval=$enable_win16;
3143 # Check whether --enable-win64 was given.
3144 if test "${enable_win64+set}" = set; then :
3145 enableval=$enable_win64;
3148 # Check whether --enable-tests was given.
3149 if test "${enable_tests+set}" = set; then :
3150 enableval=$enable_tests;
3153 # Check whether --enable-maintainer-mode was given.
3154 if test "${enable_maintainer_mode+set}" = set; then :
3155 enableval=$enable_maintainer_mode;
3160 # Check whether --with-alsa was given.
3161 if test "${with_alsa+set}" = set; then :
3162 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3166 # Check whether --with-capi was given.
3167 if test "${with_capi+set}" = set; then :
3168 withval=$with_capi;
3172 # Check whether --with-cms was given.
3173 if test "${with_cms+set}" = set; then :
3174 withval=$with_cms;
3178 # Check whether --with-coreaudio was given.
3179 if test "${with_coreaudio+set}" = set; then :
3180 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3184 # Check whether --with-cups was given.
3185 if test "${with_cups+set}" = set; then :
3186 withval=$with_cups;
3190 # Check whether --with-curses was given.
3191 if test "${with_curses+set}" = set; then :
3192 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3196 # Check whether --with-dbus was given.
3197 if test "${with_dbus+set}" = set; then :
3198 withval=$with_dbus;
3202 # Check whether --with-fontconfig was given.
3203 if test "${with_fontconfig+set}" = set; then :
3204 withval=$with_fontconfig;
3208 # Check whether --with-freetype was given.
3209 if test "${with_freetype+set}" = set; then :
3210 withval=$with_freetype;
3214 # Check whether --with-gettext was given.
3215 if test "${with_gettext+set}" = set; then :
3216 withval=$with_gettext;
3220 # Check whether --with-gettextpo was given.
3221 if test "${with_gettextpo+set}" = set; then :
3222 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3226 # Check whether --with-gphoto was given.
3227 if test "${with_gphoto+set}" = set; then :
3228 withval=$with_gphoto;
3232 # Check whether --with-glu was given.
3233 if test "${with_glu+set}" = set; then :
3234 withval=$with_glu;
3238 # Check whether --with-gnutls was given.
3239 if test "${with_gnutls+set}" = set; then :
3240 withval=$with_gnutls;
3244 # Check whether --with-gsm was given.
3245 if test "${with_gsm+set}" = set; then :
3246 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3250 # Check whether --with-gstreamer was given.
3251 if test "${with_gstreamer+set}" = set; then :
3252 withval=$with_gstreamer;
3256 # Check whether --with-hal was given.
3257 if test "${with_hal+set}" = set; then :
3258 withval=$with_hal;
3262 # Check whether --with-jpeg was given.
3263 if test "${with_jpeg+set}" = set; then :
3264 withval=$with_jpeg;
3268 # Check whether --with-ldap was given.
3269 if test "${with_ldap+set}" = set; then :
3270 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3274 # Check whether --with-mpg123 was given.
3275 if test "${with_mpg123+set}" = set; then :
3276 withval=$with_mpg123;
3280 # Check whether --with-netapi was given.
3281 if test "${with_netapi+set}" = set; then :
3282 withval=$with_netapi;
3286 # Check whether --with-openal was given.
3287 if test "${with_openal+set}" = set; then :
3288 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3292 # Check whether --with-opencl was given.
3293 if test "${with_opencl+set}" = set; then :
3294 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3298 # Check whether --with-opengl was given.
3299 if test "${with_opengl+set}" = set; then :
3300 withval=$with_opengl;
3304 # Check whether --with-osmesa was given.
3305 if test "${with_osmesa+set}" = set; then :
3306 withval=$with_osmesa;
3310 # Check whether --with-oss was given.
3311 if test "${with_oss+set}" = set; then :
3312 withval=$with_oss;
3316 # Check whether --with-png was given.
3317 if test "${with_png+set}" = set; then :
3318 withval=$with_png;
3322 # Check whether --with-pthread was given.
3323 if test "${with_pthread+set}" = set; then :
3324 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3328 # Check whether --with-sane was given.
3329 if test "${with_sane+set}" = set; then :
3330 withval=$with_sane;
3334 # Check whether --with-tiff was given.
3335 if test "${with_tiff+set}" = set; then :
3336 withval=$with_tiff;
3340 # Check whether --with-v4l was given.
3341 if test "${with_v4l+set}" = set; then :
3342 withval=$with_v4l;
3346 # Check whether --with-xcomposite was given.
3347 if test "${with_xcomposite+set}" = set; then :
3348 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3352 # Check whether --with-xcursor was given.
3353 if test "${with_xcursor+set}" = set; then :
3354 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3358 # Check whether --with-xinerama was given.
3359 if test "${with_xinerama+set}" = set; then :
3360 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3364 # Check whether --with-xinput was given.
3365 if test "${with_xinput+set}" = set; then :
3366 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3370 # Check whether --with-xinput2 was given.
3371 if test "${with_xinput2+set}" = set; then :
3372 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3376 # Check whether --with-xml was given.
3377 if test "${with_xml+set}" = set; then :
3378 withval=$with_xml;
3382 # Check whether --with-xrandr was given.
3383 if test "${with_xrandr+set}" = set; then :
3384 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3388 # Check whether --with-xrender was given.
3389 if test "${with_xrender+set}" = set; then :
3390 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3394 # Check whether --with-xshape was given.
3395 if test "${with_xshape+set}" = set; then :
3396 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3400 # Check whether --with-xshm was given.
3401 if test "${with_xshm+set}" = set; then :
3402 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3406 # Check whether --with-xslt was given.
3407 if test "${with_xslt+set}" = set; then :
3408 withval=$with_xslt;
3412 # Check whether --with-xxf86vm was given.
3413 if test "${with_xxf86vm+set}" = set; then :
3414 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
3418 # Check whether --with-zlib was given.
3419 if test "${with_zlib+set}" = set; then :
3420 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3425 # Check whether --with-wine-tools was given.
3426 if test "${with_wine_tools+set}" = set; then :
3427 withval=$with_wine_tools;
3431 # Check whether --with-wine64 was given.
3432 if test "${with_wine64+set}" = set; then :
3433 withval=$with_wine64;
3437 # Make sure we can run config.sub.
3438 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3439 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3442 $as_echo_n "checking build system type... " >&6; }
3443 if ${ac_cv_build+:} false; then :
3444 $as_echo_n "(cached) " >&6
3445 else
3446 ac_build_alias=$build_alias
3447 test "x$ac_build_alias" = x &&
3448 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3449 test "x$ac_build_alias" = x &&
3450 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3451 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3452 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3456 $as_echo "$ac_cv_build" >&6; }
3457 case $ac_cv_build in
3458 *-*-*) ;;
3459 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3460 esac
3461 build=$ac_cv_build
3462 ac_save_IFS=$IFS; IFS='-'
3463 set x $ac_cv_build
3464 shift
3465 build_cpu=$1
3466 build_vendor=$2
3467 shift; shift
3468 # Remember, the first character of IFS is used to create $*,
3469 # except with old shells:
3470 build_os=$*
3471 IFS=$ac_save_IFS
3472 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3476 $as_echo_n "checking host system type... " >&6; }
3477 if ${ac_cv_host+:} false; then :
3478 $as_echo_n "(cached) " >&6
3479 else
3480 if test "x$host_alias" = x; then
3481 ac_cv_host=$ac_cv_build
3482 else
3483 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3484 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3489 $as_echo "$ac_cv_host" >&6; }
3490 case $ac_cv_host in
3491 *-*-*) ;;
3492 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3493 esac
3494 host=$ac_cv_host
3495 ac_save_IFS=$IFS; IFS='-'
3496 set x $ac_cv_host
3497 shift
3498 host_cpu=$1
3499 host_vendor=$2
3500 shift; shift
3501 # Remember, the first character of IFS is used to create $*,
3502 # except with old shells:
3503 host_os=$*
3504 IFS=$ac_save_IFS
3505 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3509 case "$srcdir" in
3510 .) ;;
3511 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3512 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3513 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3514 fi ;;
3515 esac
3518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3519 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3520 set x ${MAKE-make}
3521 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3522 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3523 $as_echo_n "(cached) " >&6
3524 else
3525 cat >conftest.make <<\_ACEOF
3526 SHELL = /bin/sh
3527 all:
3528 @echo '@@@%%%=$(MAKE)=@@@%%%'
3529 _ACEOF
3530 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3531 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3532 *@@@%%%=?*=@@@%%%*)
3533 eval ac_cv_prog_make_${ac_make}_set=yes;;
3535 eval ac_cv_prog_make_${ac_make}_set=no;;
3536 esac
3537 rm -f conftest.make
3539 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3541 $as_echo "yes" >&6; }
3542 SET_MAKE=
3543 else
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3545 $as_echo "no" >&6; }
3546 SET_MAKE="MAKE=${MAKE-make}"
3549 ac_ext=c
3550 ac_cpp='$CPP $CPPFLAGS'
3551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3554 if test -n "$ac_tool_prefix"; then
3555 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3556 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3558 $as_echo_n "checking for $ac_word... " >&6; }
3559 if ${ac_cv_prog_CC+:} false; then :
3560 $as_echo_n "(cached) " >&6
3561 else
3562 if test -n "$CC"; then
3563 ac_cv_prog_CC="$CC" # Let the user override the test.
3564 else
3565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3566 for as_dir in $PATH
3568 IFS=$as_save_IFS
3569 test -z "$as_dir" && as_dir=.
3570 for ac_exec_ext in '' $ac_executable_extensions; do
3571 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3572 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3573 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3574 break 2
3576 done
3577 done
3578 IFS=$as_save_IFS
3582 CC=$ac_cv_prog_CC
3583 if test -n "$CC"; then
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3585 $as_echo "$CC" >&6; }
3586 else
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3588 $as_echo "no" >&6; }
3593 if test -z "$ac_cv_prog_CC"; then
3594 ac_ct_CC=$CC
3595 # Extract the first word of "gcc", so it can be a program name with args.
3596 set dummy gcc; ac_word=$2
3597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3598 $as_echo_n "checking for $ac_word... " >&6; }
3599 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3600 $as_echo_n "(cached) " >&6
3601 else
3602 if test -n "$ac_ct_CC"; then
3603 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3604 else
3605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3606 for as_dir in $PATH
3608 IFS=$as_save_IFS
3609 test -z "$as_dir" && as_dir=.
3610 for ac_exec_ext in '' $ac_executable_extensions; do
3611 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3612 ac_cv_prog_ac_ct_CC="gcc"
3613 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3614 break 2
3616 done
3617 done
3618 IFS=$as_save_IFS
3622 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3623 if test -n "$ac_ct_CC"; then
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3625 $as_echo "$ac_ct_CC" >&6; }
3626 else
3627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3628 $as_echo "no" >&6; }
3631 if test "x$ac_ct_CC" = x; then
3632 CC=""
3633 else
3634 case $cross_compiling:$ac_tool_warned in
3635 yes:)
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3637 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3638 ac_tool_warned=yes ;;
3639 esac
3640 CC=$ac_ct_CC
3642 else
3643 CC="$ac_cv_prog_CC"
3646 if test -z "$CC"; then
3647 if test -n "$ac_tool_prefix"; then
3648 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3649 set dummy ${ac_tool_prefix}cc; ac_word=$2
3650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3651 $as_echo_n "checking for $ac_word... " >&6; }
3652 if ${ac_cv_prog_CC+:} false; then :
3653 $as_echo_n "(cached) " >&6
3654 else
3655 if test -n "$CC"; then
3656 ac_cv_prog_CC="$CC" # Let the user override the test.
3657 else
3658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3659 for as_dir in $PATH
3661 IFS=$as_save_IFS
3662 test -z "$as_dir" && as_dir=.
3663 for ac_exec_ext in '' $ac_executable_extensions; do
3664 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3665 ac_cv_prog_CC="${ac_tool_prefix}cc"
3666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3667 break 2
3669 done
3670 done
3671 IFS=$as_save_IFS
3675 CC=$ac_cv_prog_CC
3676 if test -n "$CC"; then
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3678 $as_echo "$CC" >&6; }
3679 else
3680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3681 $as_echo "no" >&6; }
3687 if test -z "$CC"; then
3688 # Extract the first word of "cc", so it can be a program name with args.
3689 set dummy cc; ac_word=$2
3690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3691 $as_echo_n "checking for $ac_word... " >&6; }
3692 if ${ac_cv_prog_CC+:} false; then :
3693 $as_echo_n "(cached) " >&6
3694 else
3695 if test -n "$CC"; then
3696 ac_cv_prog_CC="$CC" # Let the user override the test.
3697 else
3698 ac_prog_rejected=no
3699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3700 for as_dir in $PATH
3702 IFS=$as_save_IFS
3703 test -z "$as_dir" && as_dir=.
3704 for ac_exec_ext in '' $ac_executable_extensions; do
3705 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3706 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3707 ac_prog_rejected=yes
3708 continue
3710 ac_cv_prog_CC="cc"
3711 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3712 break 2
3714 done
3715 done
3716 IFS=$as_save_IFS
3718 if test $ac_prog_rejected = yes; then
3719 # We found a bogon in the path, so make sure we never use it.
3720 set dummy $ac_cv_prog_CC
3721 shift
3722 if test $# != 0; then
3723 # We chose a different compiler from the bogus one.
3724 # However, it has the same basename, so the bogon will be chosen
3725 # first if we set CC to just the basename; use the full file name.
3726 shift
3727 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3732 CC=$ac_cv_prog_CC
3733 if test -n "$CC"; then
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3735 $as_echo "$CC" >&6; }
3736 else
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3738 $as_echo "no" >&6; }
3743 if test -z "$CC"; then
3744 if test -n "$ac_tool_prefix"; then
3745 for ac_prog in cl.exe
3747 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3748 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3750 $as_echo_n "checking for $ac_word... " >&6; }
3751 if ${ac_cv_prog_CC+:} false; then :
3752 $as_echo_n "(cached) " >&6
3753 else
3754 if test -n "$CC"; then
3755 ac_cv_prog_CC="$CC" # Let the user override the test.
3756 else
3757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3758 for as_dir in $PATH
3760 IFS=$as_save_IFS
3761 test -z "$as_dir" && as_dir=.
3762 for ac_exec_ext in '' $ac_executable_extensions; do
3763 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3764 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3766 break 2
3768 done
3769 done
3770 IFS=$as_save_IFS
3774 CC=$ac_cv_prog_CC
3775 if test -n "$CC"; then
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3777 $as_echo "$CC" >&6; }
3778 else
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3780 $as_echo "no" >&6; }
3784 test -n "$CC" && break
3785 done
3787 if test -z "$CC"; then
3788 ac_ct_CC=$CC
3789 for ac_prog in cl.exe
3791 # Extract the first word of "$ac_prog", so it can be a program name with args.
3792 set dummy $ac_prog; ac_word=$2
3793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3794 $as_echo_n "checking for $ac_word... " >&6; }
3795 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3796 $as_echo_n "(cached) " >&6
3797 else
3798 if test -n "$ac_ct_CC"; then
3799 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3800 else
3801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3802 for as_dir in $PATH
3804 IFS=$as_save_IFS
3805 test -z "$as_dir" && as_dir=.
3806 for ac_exec_ext in '' $ac_executable_extensions; do
3807 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3808 ac_cv_prog_ac_ct_CC="$ac_prog"
3809 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3810 break 2
3812 done
3813 done
3814 IFS=$as_save_IFS
3818 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3819 if test -n "$ac_ct_CC"; then
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3821 $as_echo "$ac_ct_CC" >&6; }
3822 else
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3824 $as_echo "no" >&6; }
3828 test -n "$ac_ct_CC" && break
3829 done
3831 if test "x$ac_ct_CC" = x; then
3832 CC=""
3833 else
3834 case $cross_compiling:$ac_tool_warned in
3835 yes:)
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3837 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3838 ac_tool_warned=yes ;;
3839 esac
3840 CC=$ac_ct_CC
3847 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3848 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3849 as_fn_error $? "no acceptable C compiler found in \$PATH
3850 See \`config.log' for more details" "$LINENO" 5; }
3852 # Provide some information about the compiler.
3853 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3854 set X $ac_compile
3855 ac_compiler=$2
3856 for ac_option in --version -v -V -qversion; do
3857 { { ac_try="$ac_compiler $ac_option >&5"
3858 case "(($ac_try" in
3859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3860 *) ac_try_echo=$ac_try;;
3861 esac
3862 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3863 $as_echo "$ac_try_echo"; } >&5
3864 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3865 ac_status=$?
3866 if test -s conftest.err; then
3867 sed '10a\
3868 ... rest of stderr output deleted ...
3869 10q' conftest.err >conftest.er1
3870 cat conftest.er1 >&5
3872 rm -f conftest.er1 conftest.err
3873 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3874 test $ac_status = 0; }
3875 done
3877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3878 /* end confdefs.h. */
3881 main ()
3885 return 0;
3887 _ACEOF
3888 ac_clean_files_save=$ac_clean_files
3889 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3890 # Try to create an executable without -o first, disregard a.out.
3891 # It will help us diagnose broken compilers, and finding out an intuition
3892 # of exeext.
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3894 $as_echo_n "checking whether the C compiler works... " >&6; }
3895 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3897 # The possible output files:
3898 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3900 ac_rmfiles=
3901 for ac_file in $ac_files
3903 case $ac_file in
3904 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3905 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3906 esac
3907 done
3908 rm -f $ac_rmfiles
3910 if { { ac_try="$ac_link_default"
3911 case "(($ac_try" in
3912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3913 *) ac_try_echo=$ac_try;;
3914 esac
3915 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3916 $as_echo "$ac_try_echo"; } >&5
3917 (eval "$ac_link_default") 2>&5
3918 ac_status=$?
3919 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3920 test $ac_status = 0; }; then :
3921 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3922 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3923 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3924 # so that the user can short-circuit this test for compilers unknown to
3925 # Autoconf.
3926 for ac_file in $ac_files ''
3928 test -f "$ac_file" || continue
3929 case $ac_file in
3930 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3932 [ab].out )
3933 # We found the default executable, but exeext='' is most
3934 # certainly right.
3935 break;;
3936 *.* )
3937 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3938 then :; else
3939 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3941 # We set ac_cv_exeext here because the later test for it is not
3942 # safe: cross compilers may not add the suffix if given an `-o'
3943 # argument, so we may need to know it at that point already.
3944 # Even if this section looks crufty: it has the advantage of
3945 # actually working.
3946 break;;
3948 break;;
3949 esac
3950 done
3951 test "$ac_cv_exeext" = no && ac_cv_exeext=
3953 else
3954 ac_file=''
3956 if test -z "$ac_file"; then :
3957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3958 $as_echo "no" >&6; }
3959 $as_echo "$as_me: failed program was:" >&5
3960 sed 's/^/| /' conftest.$ac_ext >&5
3962 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3963 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3964 as_fn_error 77 "C compiler cannot create executables
3965 See \`config.log' for more details" "$LINENO" 5; }
3966 else
3967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3968 $as_echo "yes" >&6; }
3970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3971 $as_echo_n "checking for C compiler default output file name... " >&6; }
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3973 $as_echo "$ac_file" >&6; }
3974 ac_exeext=$ac_cv_exeext
3976 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3977 ac_clean_files=$ac_clean_files_save
3978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3979 $as_echo_n "checking for suffix of executables... " >&6; }
3980 if { { ac_try="$ac_link"
3981 case "(($ac_try" in
3982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3983 *) ac_try_echo=$ac_try;;
3984 esac
3985 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3986 $as_echo "$ac_try_echo"; } >&5
3987 (eval "$ac_link") 2>&5
3988 ac_status=$?
3989 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3990 test $ac_status = 0; }; then :
3991 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3992 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3993 # work properly (i.e., refer to `conftest.exe'), while it won't with
3994 # `rm'.
3995 for ac_file in conftest.exe conftest conftest.*; do
3996 test -f "$ac_file" || continue
3997 case $ac_file in
3998 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3999 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4000 break;;
4001 * ) break;;
4002 esac
4003 done
4004 else
4005 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4006 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4007 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4008 See \`config.log' for more details" "$LINENO" 5; }
4010 rm -f conftest conftest$ac_cv_exeext
4011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4012 $as_echo "$ac_cv_exeext" >&6; }
4014 rm -f conftest.$ac_ext
4015 EXEEXT=$ac_cv_exeext
4016 ac_exeext=$EXEEXT
4017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4018 /* end confdefs.h. */
4019 #include <stdio.h>
4021 main ()
4023 FILE *f = fopen ("conftest.out", "w");
4024 return ferror (f) || fclose (f) != 0;
4027 return 0;
4029 _ACEOF
4030 ac_clean_files="$ac_clean_files conftest.out"
4031 # Check that the compiler produces executables we can run. If not, either
4032 # the compiler is broken, or we cross compile.
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4034 $as_echo_n "checking whether we are cross compiling... " >&6; }
4035 if test "$cross_compiling" != yes; then
4036 { { ac_try="$ac_link"
4037 case "(($ac_try" in
4038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4039 *) ac_try_echo=$ac_try;;
4040 esac
4041 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4042 $as_echo "$ac_try_echo"; } >&5
4043 (eval "$ac_link") 2>&5
4044 ac_status=$?
4045 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4046 test $ac_status = 0; }
4047 if { ac_try='./conftest$ac_cv_exeext'
4048 { { case "(($ac_try" in
4049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4050 *) ac_try_echo=$ac_try;;
4051 esac
4052 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4053 $as_echo "$ac_try_echo"; } >&5
4054 (eval "$ac_try") 2>&5
4055 ac_status=$?
4056 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4057 test $ac_status = 0; }; }; then
4058 cross_compiling=no
4059 else
4060 if test "$cross_compiling" = maybe; then
4061 cross_compiling=yes
4062 else
4063 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4064 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4065 as_fn_error $? "cannot run C compiled programs.
4066 If you meant to cross compile, use \`--host'.
4067 See \`config.log' for more details" "$LINENO" 5; }
4071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4072 $as_echo "$cross_compiling" >&6; }
4074 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4075 ac_clean_files=$ac_clean_files_save
4076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4077 $as_echo_n "checking for suffix of object files... " >&6; }
4078 if ${ac_cv_objext+:} false; then :
4079 $as_echo_n "(cached) " >&6
4080 else
4081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4082 /* end confdefs.h. */
4085 main ()
4089 return 0;
4091 _ACEOF
4092 rm -f conftest.o conftest.obj
4093 if { { ac_try="$ac_compile"
4094 case "(($ac_try" in
4095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4096 *) ac_try_echo=$ac_try;;
4097 esac
4098 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4099 $as_echo "$ac_try_echo"; } >&5
4100 (eval "$ac_compile") 2>&5
4101 ac_status=$?
4102 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4103 test $ac_status = 0; }; then :
4104 for ac_file in conftest.o conftest.obj conftest.*; do
4105 test -f "$ac_file" || continue;
4106 case $ac_file in
4107 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4108 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4109 break;;
4110 esac
4111 done
4112 else
4113 $as_echo "$as_me: failed program was:" >&5
4114 sed 's/^/| /' conftest.$ac_ext >&5
4116 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4117 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4118 as_fn_error $? "cannot compute suffix of object files: cannot compile
4119 See \`config.log' for more details" "$LINENO" 5; }
4121 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4124 $as_echo "$ac_cv_objext" >&6; }
4125 OBJEXT=$ac_cv_objext
4126 ac_objext=$OBJEXT
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4128 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4129 if ${ac_cv_c_compiler_gnu+:} false; then :
4130 $as_echo_n "(cached) " >&6
4131 else
4132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4133 /* end confdefs.h. */
4136 main ()
4138 #ifndef __GNUC__
4139 choke me
4140 #endif
4143 return 0;
4145 _ACEOF
4146 if ac_fn_c_try_compile "$LINENO"; then :
4147 ac_compiler_gnu=yes
4148 else
4149 ac_compiler_gnu=no
4151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4152 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4156 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4157 if test $ac_compiler_gnu = yes; then
4158 GCC=yes
4159 else
4160 GCC=
4162 ac_test_CFLAGS=${CFLAGS+set}
4163 ac_save_CFLAGS=$CFLAGS
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4165 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4166 if ${ac_cv_prog_cc_g+:} false; then :
4167 $as_echo_n "(cached) " >&6
4168 else
4169 ac_save_c_werror_flag=$ac_c_werror_flag
4170 ac_c_werror_flag=yes
4171 ac_cv_prog_cc_g=no
4172 CFLAGS="-g"
4173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4174 /* end confdefs.h. */
4177 main ()
4181 return 0;
4183 _ACEOF
4184 if ac_fn_c_try_compile "$LINENO"; then :
4185 ac_cv_prog_cc_g=yes
4186 else
4187 CFLAGS=""
4188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4189 /* end confdefs.h. */
4192 main ()
4196 return 0;
4198 _ACEOF
4199 if ac_fn_c_try_compile "$LINENO"; then :
4201 else
4202 ac_c_werror_flag=$ac_save_c_werror_flag
4203 CFLAGS="-g"
4204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4205 /* end confdefs.h. */
4208 main ()
4212 return 0;
4214 _ACEOF
4215 if ac_fn_c_try_compile "$LINENO"; then :
4216 ac_cv_prog_cc_g=yes
4218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4223 ac_c_werror_flag=$ac_save_c_werror_flag
4225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4226 $as_echo "$ac_cv_prog_cc_g" >&6; }
4227 if test "$ac_test_CFLAGS" = set; then
4228 CFLAGS=$ac_save_CFLAGS
4229 elif test $ac_cv_prog_cc_g = yes; then
4230 if test "$GCC" = yes; then
4231 CFLAGS="-g -O2"
4232 else
4233 CFLAGS="-g"
4235 else
4236 if test "$GCC" = yes; then
4237 CFLAGS="-O2"
4238 else
4239 CFLAGS=
4242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4243 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4244 if ${ac_cv_prog_cc_c89+:} false; then :
4245 $as_echo_n "(cached) " >&6
4246 else
4247 ac_cv_prog_cc_c89=no
4248 ac_save_CC=$CC
4249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4250 /* end confdefs.h. */
4251 #include <stdarg.h>
4252 #include <stdio.h>
4253 struct stat;
4254 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4255 struct buf { int x; };
4256 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4257 static char *e (p, i)
4258 char **p;
4259 int i;
4261 return p[i];
4263 static char *f (char * (*g) (char **, int), char **p, ...)
4265 char *s;
4266 va_list v;
4267 va_start (v,p);
4268 s = g (p, va_arg (v,int));
4269 va_end (v);
4270 return s;
4273 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4274 function prototypes and stuff, but not '\xHH' hex character constants.
4275 These don't provoke an error unfortunately, instead are silently treated
4276 as 'x'. The following induces an error, until -std is added to get
4277 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4278 array size at least. It's necessary to write '\x00'==0 to get something
4279 that's true only with -std. */
4280 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4282 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4283 inside strings and character constants. */
4284 #define FOO(x) 'x'
4285 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4287 int test (int i, double x);
4288 struct s1 {int (*f) (int a);};
4289 struct s2 {int (*f) (double a);};
4290 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4291 int argc;
4292 char **argv;
4294 main ()
4296 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4298 return 0;
4300 _ACEOF
4301 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4302 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4304 CC="$ac_save_CC $ac_arg"
4305 if ac_fn_c_try_compile "$LINENO"; then :
4306 ac_cv_prog_cc_c89=$ac_arg
4308 rm -f core conftest.err conftest.$ac_objext
4309 test "x$ac_cv_prog_cc_c89" != "xno" && break
4310 done
4311 rm -f conftest.$ac_ext
4312 CC=$ac_save_CC
4315 # AC_CACHE_VAL
4316 case "x$ac_cv_prog_cc_c89" in
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4319 $as_echo "none needed" >&6; } ;;
4320 xno)
4321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4322 $as_echo "unsupported" >&6; } ;;
4324 CC="$CC $ac_cv_prog_cc_c89"
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4326 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4327 esac
4328 if test "x$ac_cv_prog_cc_c89" != xno; then :
4332 ac_ext=c
4333 ac_cpp='$CPP $CPPFLAGS'
4334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4338 ac_ext=cpp
4339 ac_cpp='$CXXCPP $CPPFLAGS'
4340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4343 if test -z "$CXX"; then
4344 if test -n "$CCC"; then
4345 CXX=$CCC
4346 else
4347 if test -n "$ac_tool_prefix"; then
4348 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4350 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4351 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4353 $as_echo_n "checking for $ac_word... " >&6; }
4354 if ${ac_cv_prog_CXX+:} false; then :
4355 $as_echo_n "(cached) " >&6
4356 else
4357 if test -n "$CXX"; then
4358 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4359 else
4360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4361 for as_dir in $PATH
4363 IFS=$as_save_IFS
4364 test -z "$as_dir" && as_dir=.
4365 for ac_exec_ext in '' $ac_executable_extensions; do
4366 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4367 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4369 break 2
4371 done
4372 done
4373 IFS=$as_save_IFS
4377 CXX=$ac_cv_prog_CXX
4378 if test -n "$CXX"; then
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4380 $as_echo "$CXX" >&6; }
4381 else
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4383 $as_echo "no" >&6; }
4387 test -n "$CXX" && break
4388 done
4390 if test -z "$CXX"; then
4391 ac_ct_CXX=$CXX
4392 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4394 # Extract the first word of "$ac_prog", so it can be a program name with args.
4395 set dummy $ac_prog; ac_word=$2
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4397 $as_echo_n "checking for $ac_word... " >&6; }
4398 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4399 $as_echo_n "(cached) " >&6
4400 else
4401 if test -n "$ac_ct_CXX"; then
4402 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4403 else
4404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4405 for as_dir in $PATH
4407 IFS=$as_save_IFS
4408 test -z "$as_dir" && as_dir=.
4409 for ac_exec_ext in '' $ac_executable_extensions; do
4410 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4411 ac_cv_prog_ac_ct_CXX="$ac_prog"
4412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4413 break 2
4415 done
4416 done
4417 IFS=$as_save_IFS
4421 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4422 if test -n "$ac_ct_CXX"; then
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4424 $as_echo "$ac_ct_CXX" >&6; }
4425 else
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4427 $as_echo "no" >&6; }
4431 test -n "$ac_ct_CXX" && break
4432 done
4434 if test "x$ac_ct_CXX" = x; then
4435 CXX="g++"
4436 else
4437 case $cross_compiling:$ac_tool_warned in
4438 yes:)
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4440 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4441 ac_tool_warned=yes ;;
4442 esac
4443 CXX=$ac_ct_CXX
4449 # Provide some information about the compiler.
4450 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4451 set X $ac_compile
4452 ac_compiler=$2
4453 for ac_option in --version -v -V -qversion; do
4454 { { ac_try="$ac_compiler $ac_option >&5"
4455 case "(($ac_try" in
4456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4457 *) ac_try_echo=$ac_try;;
4458 esac
4459 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4460 $as_echo "$ac_try_echo"; } >&5
4461 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4462 ac_status=$?
4463 if test -s conftest.err; then
4464 sed '10a\
4465 ... rest of stderr output deleted ...
4466 10q' conftest.err >conftest.er1
4467 cat conftest.er1 >&5
4469 rm -f conftest.er1 conftest.err
4470 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4471 test $ac_status = 0; }
4472 done
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4475 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4476 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4477 $as_echo_n "(cached) " >&6
4478 else
4479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4480 /* end confdefs.h. */
4483 main ()
4485 #ifndef __GNUC__
4486 choke me
4487 #endif
4490 return 0;
4492 _ACEOF
4493 if ac_fn_cxx_try_compile "$LINENO"; then :
4494 ac_compiler_gnu=yes
4495 else
4496 ac_compiler_gnu=no
4498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4499 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4503 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4504 if test $ac_compiler_gnu = yes; then
4505 GXX=yes
4506 else
4507 GXX=
4509 ac_test_CXXFLAGS=${CXXFLAGS+set}
4510 ac_save_CXXFLAGS=$CXXFLAGS
4511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4512 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4513 if ${ac_cv_prog_cxx_g+:} false; then :
4514 $as_echo_n "(cached) " >&6
4515 else
4516 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4517 ac_cxx_werror_flag=yes
4518 ac_cv_prog_cxx_g=no
4519 CXXFLAGS="-g"
4520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4521 /* end confdefs.h. */
4524 main ()
4528 return 0;
4530 _ACEOF
4531 if ac_fn_cxx_try_compile "$LINENO"; then :
4532 ac_cv_prog_cxx_g=yes
4533 else
4534 CXXFLAGS=""
4535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4536 /* end confdefs.h. */
4539 main ()
4543 return 0;
4545 _ACEOF
4546 if ac_fn_cxx_try_compile "$LINENO"; then :
4548 else
4549 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4550 CXXFLAGS="-g"
4551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4552 /* end confdefs.h. */
4555 main ()
4559 return 0;
4561 _ACEOF
4562 if ac_fn_cxx_try_compile "$LINENO"; then :
4563 ac_cv_prog_cxx_g=yes
4565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4570 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4573 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4574 if test "$ac_test_CXXFLAGS" = set; then
4575 CXXFLAGS=$ac_save_CXXFLAGS
4576 elif test $ac_cv_prog_cxx_g = yes; then
4577 if test "$GXX" = yes; then
4578 CXXFLAGS="-g -O2"
4579 else
4580 CXXFLAGS="-g"
4582 else
4583 if test "$GXX" = yes; then
4584 CXXFLAGS="-O2"
4585 else
4586 CXXFLAGS=
4589 ac_ext=c
4590 ac_cpp='$CPP $CPPFLAGS'
4591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4595 if test -n "$ac_tool_prefix"; then
4596 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4597 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4599 $as_echo_n "checking for $ac_word... " >&6; }
4600 if ${ac_cv_prog_CPPBIN+:} false; then :
4601 $as_echo_n "(cached) " >&6
4602 else
4603 if test -n "$CPPBIN"; then
4604 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4605 else
4606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4607 for as_dir in $PATH
4609 IFS=$as_save_IFS
4610 test -z "$as_dir" && as_dir=.
4611 for ac_exec_ext in '' $ac_executable_extensions; do
4612 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4613 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4614 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4615 break 2
4617 done
4618 done
4619 IFS=$as_save_IFS
4623 CPPBIN=$ac_cv_prog_CPPBIN
4624 if test -n "$CPPBIN"; then
4625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4626 $as_echo "$CPPBIN" >&6; }
4627 else
4628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4629 $as_echo "no" >&6; }
4634 if test -z "$ac_cv_prog_CPPBIN"; then
4635 ac_ct_CPPBIN=$CPPBIN
4636 # Extract the first word of "cpp", so it can be a program name with args.
4637 set dummy cpp; ac_word=$2
4638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4639 $as_echo_n "checking for $ac_word... " >&6; }
4640 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4641 $as_echo_n "(cached) " >&6
4642 else
4643 if test -n "$ac_ct_CPPBIN"; then
4644 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4645 else
4646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4647 for as_dir in $PATH
4649 IFS=$as_save_IFS
4650 test -z "$as_dir" && as_dir=.
4651 for ac_exec_ext in '' $ac_executable_extensions; do
4652 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4653 ac_cv_prog_ac_ct_CPPBIN="cpp"
4654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4655 break 2
4657 done
4658 done
4659 IFS=$as_save_IFS
4663 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4664 if test -n "$ac_ct_CPPBIN"; then
4665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4666 $as_echo "$ac_ct_CPPBIN" >&6; }
4667 else
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4669 $as_echo "no" >&6; }
4672 if test "x$ac_ct_CPPBIN" = x; then
4673 CPPBIN="cpp"
4674 else
4675 case $cross_compiling:$ac_tool_warned in
4676 yes:)
4677 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4678 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4679 ac_tool_warned=yes ;;
4680 esac
4681 CPPBIN=$ac_ct_CPPBIN
4683 else
4684 CPPBIN="$ac_cv_prog_CPPBIN"
4688 cat >>confdefs.h <<_ACEOF
4689 #define EXEEXT "$ac_exeext"
4690 _ACEOF
4693 case $host in
4694 *-darwin*)
4695 if test "x$enable_win64" = "xyes"
4696 then
4697 CC="$CC -m64"
4698 CXX="$CXX -m64"
4699 host_cpu="x86_64"
4700 notice_platform="64-bit "
4701 TARGETFLAGS="-m64"
4703 else
4704 CC="$CC -m32"
4705 CXX="$CXX -m32"
4706 host_cpu="i386"
4707 notice_platform="32-bit "
4708 TARGETFLAGS="-m32"
4710 enable_win16=${enable_win16:-yes}
4712 with_fontconfig=${with_fontconfig:-no}
4714 x86_64*)
4715 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4716 then
4717 CC="$CC -m32"
4718 CXX="$CXX -m32"
4719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4720 $as_echo_n "checking whether $CC works... " >&6; }
4722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4723 /* end confdefs.h. */
4726 main ()
4730 return 0;
4732 _ACEOF
4733 if ac_fn_c_try_link "$LINENO"; then :
4734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4735 $as_echo "yes" >&6; }
4736 else
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4738 $as_echo "no" >&6; }
4739 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4741 rm -f core conftest.err conftest.$ac_objext \
4742 conftest$ac_exeext conftest.$ac_ext
4743 host_cpu="i386"
4744 notice_platform="32-bit "
4745 TARGETFLAGS="-m32"
4747 enable_win16=${enable_win16:-yes}
4748 else
4749 if test "x${GCC}" = "xyes"
4750 then
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4752 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4754 /* end confdefs.h. */
4755 #include <stdarg.h>
4757 main ()
4759 void func(__builtin_ms_va_list *args);
4761 return 0;
4763 _ACEOF
4764 if ac_fn_c_try_compile "$LINENO"; then :
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4766 $as_echo "yes" >&6; }
4767 else
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4769 $as_echo "no" >&6; }
4770 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4774 TARGETFLAGS="-m64"
4778 arm*)
4779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4780 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4782 /* end confdefs.h. */
4783 int ac_test(int i) { return i; }
4785 main ()
4787 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4789 return 0;
4791 _ACEOF
4792 if ac_fn_c_try_link "$LINENO"; then :
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4794 $as_echo "yes" >&6; }
4795 else
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4797 $as_echo "no" >&6; }
4798 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4800 rm -f core conftest.err conftest.$ac_objext \
4801 conftest$ac_exeext conftest.$ac_ext
4802 CFLAGS="$CFLAGS -marm"
4803 TARGETFLAGS="-marm"
4806 *-mingw32*|*-cygwin*)
4807 enable_win16=${enable_win16:-no}
4808 CFLAGS="$CFLAGS -D_WIN32"
4810 i[3456789]86*)
4811 enable_win16=${enable_win16:-yes}
4813 esac
4815 enable_win16=${enable_win16:-no}
4816 enable_win64=${enable_win64:-no}
4818 enable_winetest=${enable_winetest:-$enable_tests}
4820 if test -n "$with_wine64"
4821 then
4822 if test "x$enable_win64" = "xyes"
4823 then
4824 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4825 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4827 enable_fonts=${enable_fonts:-no}
4828 enable_server=${enable_server:-no}
4829 elif test "x$enable_win64" = "xyes"
4830 then
4831 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4835 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4836 if ${wine_cv_toolsdir+:} false; then :
4837 $as_echo_n "(cached) " >&6
4838 else
4839 wine_cv_toolsdir="$with_wine_tools"
4840 if test -z "$with_wine_tools"; then
4841 if test "$cross_compiling" = "yes"; then
4842 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4843 elif test -n "$with_wine64"; then
4844 wine_cv_toolsdir="$with_wine64"
4847 if test -z "$wine_cv_toolsdir"; then
4848 wine_cv_toolsdir="\$(top_builddir)"
4849 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4850 case "$wine_cv_toolsdir" in
4851 /*) ;;
4852 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
4853 esac
4854 enable_tools=${enable_tools:-no}
4855 else
4856 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4860 $as_echo "$wine_cv_toolsdir" >&6; }
4861 TOOLSDIR=$wine_cv_toolsdir
4863 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4864 then
4865 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
4869 for ac_prog in flex
4871 # Extract the first word of "$ac_prog", so it can be a program name with args.
4872 set dummy $ac_prog; ac_word=$2
4873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4874 $as_echo_n "checking for $ac_word... " >&6; }
4875 if ${ac_cv_prog_FLEX+:} false; then :
4876 $as_echo_n "(cached) " >&6
4877 else
4878 if test -n "$FLEX"; then
4879 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
4880 else
4881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4882 for as_dir in $PATH
4884 IFS=$as_save_IFS
4885 test -z "$as_dir" && as_dir=.
4886 for ac_exec_ext in '' $ac_executable_extensions; do
4887 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4888 ac_cv_prog_FLEX="$ac_prog"
4889 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4890 break 2
4892 done
4893 done
4894 IFS=$as_save_IFS
4898 FLEX=$ac_cv_prog_FLEX
4899 if test -n "$FLEX"; then
4900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4901 $as_echo "$FLEX" >&6; }
4902 else
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4904 $as_echo "no" >&6; }
4908 test -n "$FLEX" && break
4909 done
4910 test -n "$FLEX" || FLEX="none"
4912 if test "$FLEX" = "none"
4913 then
4914 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4917 $as_echo_n "checking whether flex is recent enough... " >&6; }
4918 cat >conftest.l <<EOF
4919 %top{
4920 #include "prediluvian.h"
4924 if $FLEX -t conftest.l >/dev/null 2>&5
4925 then
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4927 $as_echo "yes" >&6; }
4928 else
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4930 $as_echo "no" >&6; }
4931 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4934 for ac_prog in bison
4936 # Extract the first word of "$ac_prog", so it can be a program name with args.
4937 set dummy $ac_prog; ac_word=$2
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4939 $as_echo_n "checking for $ac_word... " >&6; }
4940 if ${ac_cv_prog_BISON+:} false; then :
4941 $as_echo_n "(cached) " >&6
4942 else
4943 if test -n "$BISON"; then
4944 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4945 else
4946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4947 for as_dir in $PATH
4949 IFS=$as_save_IFS
4950 test -z "$as_dir" && as_dir=.
4951 for ac_exec_ext in '' $ac_executable_extensions; do
4952 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4953 ac_cv_prog_BISON="$ac_prog"
4954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4955 break 2
4957 done
4958 done
4959 IFS=$as_save_IFS
4963 BISON=$ac_cv_prog_BISON
4964 if test -n "$BISON"; then
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4966 $as_echo "$BISON" >&6; }
4967 else
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4969 $as_echo "no" >&6; }
4973 test -n "$BISON" && break
4974 done
4975 test -n "$BISON" || BISON="none"
4977 if test "$BISON" = "none"
4978 then
4979 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4982 if test -n "$ac_tool_prefix"; then
4983 for ac_prog in ar gar
4985 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4986 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4988 $as_echo_n "checking for $ac_word... " >&6; }
4989 if ${ac_cv_prog_AR+:} false; then :
4990 $as_echo_n "(cached) " >&6
4991 else
4992 if test -n "$AR"; then
4993 ac_cv_prog_AR="$AR" # Let the user override the test.
4994 else
4995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4996 for as_dir in $PATH
4998 IFS=$as_save_IFS
4999 test -z "$as_dir" && as_dir=.
5000 for ac_exec_ext in '' $ac_executable_extensions; do
5001 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5002 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5004 break 2
5006 done
5007 done
5008 IFS=$as_save_IFS
5012 AR=$ac_cv_prog_AR
5013 if test -n "$AR"; then
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5015 $as_echo "$AR" >&6; }
5016 else
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5018 $as_echo "no" >&6; }
5022 test -n "$AR" && break
5023 done
5025 if test -z "$AR"; then
5026 ac_ct_AR=$AR
5027 for ac_prog in ar gar
5029 # Extract the first word of "$ac_prog", so it can be a program name with args.
5030 set dummy $ac_prog; ac_word=$2
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5032 $as_echo_n "checking for $ac_word... " >&6; }
5033 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5034 $as_echo_n "(cached) " >&6
5035 else
5036 if test -n "$ac_ct_AR"; then
5037 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5038 else
5039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5040 for as_dir in $PATH
5042 IFS=$as_save_IFS
5043 test -z "$as_dir" && as_dir=.
5044 for ac_exec_ext in '' $ac_executable_extensions; do
5045 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5046 ac_cv_prog_ac_ct_AR="$ac_prog"
5047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5048 break 2
5050 done
5051 done
5052 IFS=$as_save_IFS
5056 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5057 if test -n "$ac_ct_AR"; then
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5059 $as_echo "$ac_ct_AR" >&6; }
5060 else
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5062 $as_echo "no" >&6; }
5066 test -n "$ac_ct_AR" && break
5067 done
5069 if test "x$ac_ct_AR" = x; then
5070 AR="ar"
5071 else
5072 case $cross_compiling:$ac_tool_warned in
5073 yes:)
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5075 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5076 ac_tool_warned=yes ;;
5077 esac
5078 AR=$ac_ct_AR
5082 if test -n "$ac_tool_prefix"; then
5083 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5084 set dummy ${ac_tool_prefix}strip; ac_word=$2
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5086 $as_echo_n "checking for $ac_word... " >&6; }
5087 if ${ac_cv_prog_STRIP+:} false; then :
5088 $as_echo_n "(cached) " >&6
5089 else
5090 if test -n "$STRIP"; then
5091 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5092 else
5093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5094 for as_dir in $PATH
5096 IFS=$as_save_IFS
5097 test -z "$as_dir" && as_dir=.
5098 for ac_exec_ext in '' $ac_executable_extensions; do
5099 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5100 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5102 break 2
5104 done
5105 done
5106 IFS=$as_save_IFS
5110 STRIP=$ac_cv_prog_STRIP
5111 if test -n "$STRIP"; then
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5113 $as_echo "$STRIP" >&6; }
5114 else
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5116 $as_echo "no" >&6; }
5121 if test -z "$ac_cv_prog_STRIP"; then
5122 ac_ct_STRIP=$STRIP
5123 # Extract the first word of "strip", so it can be a program name with args.
5124 set dummy strip; ac_word=$2
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5126 $as_echo_n "checking for $ac_word... " >&6; }
5127 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5128 $as_echo_n "(cached) " >&6
5129 else
5130 if test -n "$ac_ct_STRIP"; then
5131 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5132 else
5133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5134 for as_dir in $PATH
5136 IFS=$as_save_IFS
5137 test -z "$as_dir" && as_dir=.
5138 for ac_exec_ext in '' $ac_executable_extensions; do
5139 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5140 ac_cv_prog_ac_ct_STRIP="strip"
5141 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5142 break 2
5144 done
5145 done
5146 IFS=$as_save_IFS
5150 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5151 if test -n "$ac_ct_STRIP"; then
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5153 $as_echo "$ac_ct_STRIP" >&6; }
5154 else
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5156 $as_echo "no" >&6; }
5159 if test "x$ac_ct_STRIP" = x; then
5160 STRIP="strip"
5161 else
5162 case $cross_compiling:$ac_tool_warned in
5163 yes:)
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5165 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5166 ac_tool_warned=yes ;;
5167 esac
5168 STRIP=$ac_ct_STRIP
5170 else
5171 STRIP="$ac_cv_prog_STRIP"
5174 ARFLAGS=rc
5176 if test -n "$ac_tool_prefix"; then
5177 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5178 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5180 $as_echo_n "checking for $ac_word... " >&6; }
5181 if ${ac_cv_prog_RANLIB+:} false; then :
5182 $as_echo_n "(cached) " >&6
5183 else
5184 if test -n "$RANLIB"; then
5185 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5186 else
5187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5188 for as_dir in $PATH
5190 IFS=$as_save_IFS
5191 test -z "$as_dir" && as_dir=.
5192 for ac_exec_ext in '' $ac_executable_extensions; do
5193 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5194 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5195 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5196 break 2
5198 done
5199 done
5200 IFS=$as_save_IFS
5204 RANLIB=$ac_cv_prog_RANLIB
5205 if test -n "$RANLIB"; then
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5207 $as_echo "$RANLIB" >&6; }
5208 else
5209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5210 $as_echo "no" >&6; }
5215 if test -z "$ac_cv_prog_RANLIB"; then
5216 ac_ct_RANLIB=$RANLIB
5217 # Extract the first word of "ranlib", so it can be a program name with args.
5218 set dummy ranlib; ac_word=$2
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5220 $as_echo_n "checking for $ac_word... " >&6; }
5221 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5222 $as_echo_n "(cached) " >&6
5223 else
5224 if test -n "$ac_ct_RANLIB"; then
5225 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5226 else
5227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5228 for as_dir in $PATH
5230 IFS=$as_save_IFS
5231 test -z "$as_dir" && as_dir=.
5232 for ac_exec_ext in '' $ac_executable_extensions; do
5233 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5234 ac_cv_prog_ac_ct_RANLIB="ranlib"
5235 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5236 break 2
5238 done
5239 done
5240 IFS=$as_save_IFS
5244 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5245 if test -n "$ac_ct_RANLIB"; then
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5247 $as_echo "$ac_ct_RANLIB" >&6; }
5248 else
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5250 $as_echo "no" >&6; }
5253 if test "x$ac_ct_RANLIB" = x; then
5254 RANLIB=":"
5255 else
5256 case $cross_compiling:$ac_tool_warned in
5257 yes:)
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5259 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5260 ac_tool_warned=yes ;;
5261 esac
5262 RANLIB=$ac_ct_RANLIB
5264 else
5265 RANLIB="$ac_cv_prog_RANLIB"
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5269 $as_echo_n "checking whether ln -s works... " >&6; }
5270 LN_S=$as_ln_s
5271 if test "$LN_S" = "ln -s"; then
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5273 $as_echo "yes" >&6; }
5274 else
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5276 $as_echo "no, using $LN_S" >&6; }
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5280 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5281 if ${ac_cv_path_GREP+:} false; then :
5282 $as_echo_n "(cached) " >&6
5283 else
5284 if test -z "$GREP"; then
5285 ac_path_GREP_found=false
5286 # Loop through the user's path and test for each of PROGNAME-LIST
5287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5288 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5290 IFS=$as_save_IFS
5291 test -z "$as_dir" && as_dir=.
5292 for ac_prog in grep ggrep; do
5293 for ac_exec_ext in '' $ac_executable_extensions; do
5294 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5295 as_fn_executable_p "$ac_path_GREP" || continue
5296 # Check for GNU ac_path_GREP and select it if it is found.
5297 # Check for GNU $ac_path_GREP
5298 case `"$ac_path_GREP" --version 2>&1` in
5299 *GNU*)
5300 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5302 ac_count=0
5303 $as_echo_n 0123456789 >"conftest.in"
5304 while :
5306 cat "conftest.in" "conftest.in" >"conftest.tmp"
5307 mv "conftest.tmp" "conftest.in"
5308 cp "conftest.in" "conftest.nl"
5309 $as_echo 'GREP' >> "conftest.nl"
5310 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5311 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5312 as_fn_arith $ac_count + 1 && ac_count=$as_val
5313 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5314 # Best one so far, save it but keep looking for a better one
5315 ac_cv_path_GREP="$ac_path_GREP"
5316 ac_path_GREP_max=$ac_count
5318 # 10*(2^10) chars as input seems more than enough
5319 test $ac_count -gt 10 && break
5320 done
5321 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5322 esac
5324 $ac_path_GREP_found && break 3
5325 done
5326 done
5327 done
5328 IFS=$as_save_IFS
5329 if test -z "$ac_cv_path_GREP"; then
5330 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5332 else
5333 ac_cv_path_GREP=$GREP
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5338 $as_echo "$ac_cv_path_GREP" >&6; }
5339 GREP="$ac_cv_path_GREP"
5342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5343 $as_echo_n "checking for egrep... " >&6; }
5344 if ${ac_cv_path_EGREP+:} false; then :
5345 $as_echo_n "(cached) " >&6
5346 else
5347 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5348 then ac_cv_path_EGREP="$GREP -E"
5349 else
5350 if test -z "$EGREP"; then
5351 ac_path_EGREP_found=false
5352 # Loop through the user's path and test for each of PROGNAME-LIST
5353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5354 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5356 IFS=$as_save_IFS
5357 test -z "$as_dir" && as_dir=.
5358 for ac_prog in egrep; do
5359 for ac_exec_ext in '' $ac_executable_extensions; do
5360 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5361 as_fn_executable_p "$ac_path_EGREP" || continue
5362 # Check for GNU ac_path_EGREP and select it if it is found.
5363 # Check for GNU $ac_path_EGREP
5364 case `"$ac_path_EGREP" --version 2>&1` in
5365 *GNU*)
5366 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5368 ac_count=0
5369 $as_echo_n 0123456789 >"conftest.in"
5370 while :
5372 cat "conftest.in" "conftest.in" >"conftest.tmp"
5373 mv "conftest.tmp" "conftest.in"
5374 cp "conftest.in" "conftest.nl"
5375 $as_echo 'EGREP' >> "conftest.nl"
5376 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5377 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5378 as_fn_arith $ac_count + 1 && ac_count=$as_val
5379 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5380 # Best one so far, save it but keep looking for a better one
5381 ac_cv_path_EGREP="$ac_path_EGREP"
5382 ac_path_EGREP_max=$ac_count
5384 # 10*(2^10) chars as input seems more than enough
5385 test $ac_count -gt 10 && break
5386 done
5387 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5388 esac
5390 $ac_path_EGREP_found && break 3
5391 done
5392 done
5393 done
5394 IFS=$as_save_IFS
5395 if test -z "$ac_cv_path_EGREP"; then
5396 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5398 else
5399 ac_cv_path_EGREP=$EGREP
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5405 $as_echo "$ac_cv_path_EGREP" >&6; }
5406 EGREP="$ac_cv_path_EGREP"
5409 # Extract the first word of "ldconfig", so it can be a program name with args.
5410 set dummy ldconfig; ac_word=$2
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5412 $as_echo_n "checking for $ac_word... " >&6; }
5413 if ${ac_cv_path_LDCONFIG+:} false; then :
5414 $as_echo_n "(cached) " >&6
5415 else
5416 case $LDCONFIG in
5417 [\\/]* | ?:[\\/]*)
5418 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5422 for as_dir in /sbin /usr/sbin $PATH
5424 IFS=$as_save_IFS
5425 test -z "$as_dir" && as_dir=.
5426 for ac_exec_ext in '' $ac_executable_extensions; do
5427 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5428 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5429 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5430 break 2
5432 done
5433 done
5434 IFS=$as_save_IFS
5436 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5438 esac
5440 LDCONFIG=$ac_cv_path_LDCONFIG
5441 if test -n "$LDCONFIG"; then
5442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5443 $as_echo "$LDCONFIG" >&6; }
5444 else
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5446 $as_echo "no" >&6; }
5450 for ac_prog in msgfmt
5452 # Extract the first word of "$ac_prog", so it can be a program name with args.
5453 set dummy $ac_prog; ac_word=$2
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5455 $as_echo_n "checking for $ac_word... " >&6; }
5456 if ${ac_cv_prog_MSGFMT+:} false; then :
5457 $as_echo_n "(cached) " >&6
5458 else
5459 if test -n "$MSGFMT"; then
5460 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5461 else
5462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5463 for as_dir in $PATH
5465 IFS=$as_save_IFS
5466 test -z "$as_dir" && as_dir=.
5467 for ac_exec_ext in '' $ac_executable_extensions; do
5468 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5469 ac_cv_prog_MSGFMT="$ac_prog"
5470 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5471 break 2
5473 done
5474 done
5475 IFS=$as_save_IFS
5479 MSGFMT=$ac_cv_prog_MSGFMT
5480 if test -n "$MSGFMT"; then
5481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5482 $as_echo "$MSGFMT" >&6; }
5483 else
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5485 $as_echo "no" >&6; }
5489 test -n "$MSGFMT" && break
5490 done
5491 test -n "$MSGFMT" || MSGFMT="false"
5493 if ${ac_tool_prefix+:} false; then :
5494 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5495 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5497 $as_echo_n "checking for $ac_word... " >&6; }
5498 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5499 $as_echo_n "(cached) " >&6
5500 else
5501 if test -n "$PKG_CONFIG"; then
5502 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5503 else
5504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5505 for as_dir in $PATH
5507 IFS=$as_save_IFS
5508 test -z "$as_dir" && as_dir=.
5509 for ac_exec_ext in '' $ac_executable_extensions; do
5510 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5511 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5512 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5513 break 2
5515 done
5516 done
5517 IFS=$as_save_IFS
5521 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5522 if test -n "$PKG_CONFIG"; then
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5524 $as_echo "$PKG_CONFIG" >&6; }
5525 else
5526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5527 $as_echo "no" >&6; }
5532 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5533 if test "x$cross_compiling" = xyes; then :
5535 else
5536 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5537 # Extract the first word of "pkg-config", so it can be a program name with args.
5538 set dummy pkg-config; ac_word=$2
5539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5540 $as_echo_n "checking for $ac_word... " >&6; }
5541 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5542 $as_echo_n "(cached) " >&6
5543 else
5544 if test -n "$PKG_CONFIG"; then
5545 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5546 else
5547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5548 for as_dir in $PATH
5550 IFS=$as_save_IFS
5551 test -z "$as_dir" && as_dir=.
5552 for ac_exec_ext in '' $ac_executable_extensions; do
5553 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5554 ac_cv_prog_PKG_CONFIG="pkg-config"
5555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5556 break 2
5558 done
5559 done
5560 IFS=$as_save_IFS
5564 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5565 if test -n "$PKG_CONFIG"; then
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5567 $as_echo "$PKG_CONFIG" >&6; }
5568 else
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5570 $as_echo "no" >&6; }
5575 else
5576 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5579 if test "x$enable_maintainer_mode" != "xyes"
5580 then
5581 FONTFORGE=""
5582 RSVG=""
5583 CONVERT=""
5584 ICOTOOL=""
5585 else
5586 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5587 for ac_prog in fontforge
5589 # Extract the first word of "$ac_prog", so it can be a program name with args.
5590 set dummy $ac_prog; ac_word=$2
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5592 $as_echo_n "checking for $ac_word... " >&6; }
5593 if ${ac_cv_prog_FONTFORGE+:} false; then :
5594 $as_echo_n "(cached) " >&6
5595 else
5596 if test -n "$FONTFORGE"; then
5597 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5598 else
5599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5600 for as_dir in $PATH
5602 IFS=$as_save_IFS
5603 test -z "$as_dir" && as_dir=.
5604 for ac_exec_ext in '' $ac_executable_extensions; do
5605 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5606 ac_cv_prog_FONTFORGE="$ac_prog"
5607 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5608 break 2
5610 done
5611 done
5612 IFS=$as_save_IFS
5616 FONTFORGE=$ac_cv_prog_FONTFORGE
5617 if test -n "$FONTFORGE"; then
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5619 $as_echo "$FONTFORGE" >&6; }
5620 else
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5622 $as_echo "no" >&6; }
5626 test -n "$FONTFORGE" && break
5627 done
5628 test -n "$FONTFORGE" || FONTFORGE="false"
5630 for ac_prog in rsvg
5632 # Extract the first word of "$ac_prog", so it can be a program name with args.
5633 set dummy $ac_prog; ac_word=$2
5634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5635 $as_echo_n "checking for $ac_word... " >&6; }
5636 if ${ac_cv_prog_RSVG+:} false; then :
5637 $as_echo_n "(cached) " >&6
5638 else
5639 if test -n "$RSVG"; then
5640 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5641 else
5642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5643 for as_dir in $PATH
5645 IFS=$as_save_IFS
5646 test -z "$as_dir" && as_dir=.
5647 for ac_exec_ext in '' $ac_executable_extensions; do
5648 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5649 ac_cv_prog_RSVG="$ac_prog"
5650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5651 break 2
5653 done
5654 done
5655 IFS=$as_save_IFS
5659 RSVG=$ac_cv_prog_RSVG
5660 if test -n "$RSVG"; then
5661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5662 $as_echo "$RSVG" >&6; }
5663 else
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5665 $as_echo "no" >&6; }
5669 test -n "$RSVG" && break
5670 done
5671 test -n "$RSVG" || RSVG="false"
5673 for ac_prog in convert
5675 # Extract the first word of "$ac_prog", so it can be a program name with args.
5676 set dummy $ac_prog; ac_word=$2
5677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5678 $as_echo_n "checking for $ac_word... " >&6; }
5679 if ${ac_cv_prog_CONVERT+:} false; then :
5680 $as_echo_n "(cached) " >&6
5681 else
5682 if test -n "$CONVERT"; then
5683 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5684 else
5685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5686 for as_dir in $PATH
5688 IFS=$as_save_IFS
5689 test -z "$as_dir" && as_dir=.
5690 for ac_exec_ext in '' $ac_executable_extensions; do
5691 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5692 ac_cv_prog_CONVERT="$ac_prog"
5693 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5694 break 2
5696 done
5697 done
5698 IFS=$as_save_IFS
5702 CONVERT=$ac_cv_prog_CONVERT
5703 if test -n "$CONVERT"; then
5704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5705 $as_echo "$CONVERT" >&6; }
5706 else
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5708 $as_echo "no" >&6; }
5712 test -n "$CONVERT" && break
5713 done
5714 test -n "$CONVERT" || CONVERT="false"
5716 for ac_prog in icotool
5718 # Extract the first word of "$ac_prog", so it can be a program name with args.
5719 set dummy $ac_prog; ac_word=$2
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5721 $as_echo_n "checking for $ac_word... " >&6; }
5722 if ${ac_cv_prog_ICOTOOL+:} false; then :
5723 $as_echo_n "(cached) " >&6
5724 else
5725 if test -n "$ICOTOOL"; then
5726 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5727 else
5728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5729 for as_dir in $PATH
5731 IFS=$as_save_IFS
5732 test -z "$as_dir" && as_dir=.
5733 for ac_exec_ext in '' $ac_executable_extensions; do
5734 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5735 ac_cv_prog_ICOTOOL="$ac_prog"
5736 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5737 break 2
5739 done
5740 done
5741 IFS=$as_save_IFS
5745 ICOTOOL=$ac_cv_prog_ICOTOOL
5746 if test -n "$ICOTOOL"; then
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5748 $as_echo "$ICOTOOL" >&6; }
5749 else
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5751 $as_echo "no" >&6; }
5755 test -n "$ICOTOOL" && break
5756 done
5757 test -n "$ICOTOOL" || ICOTOOL="false"
5759 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5760 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5762 if test "$CONVERT" = false
5763 then
5764 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5765 else
5766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5767 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5768 convert_version=`convert --version | head -n1`
5769 if test "x$convert_version" != "x"
5770 then
5771 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5772 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5773 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5774 then
5775 CONVERT=false
5778 if test "$CONVERT" = false
5779 then
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5781 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5782 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5783 else
5784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5785 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5789 if test "$ICOTOOL" = false
5790 then
5791 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5792 else
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5794 $as_echo_n "checking for recent enough icotool... " >&6; }
5795 icotool_version=`icotool --version | head -n1`
5796 if test "x$icotool_version" != "x"
5797 then
5798 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5799 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5800 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5801 then
5802 ICOTOOL=false
5803 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5806 if test "$ICOTOOL" = false
5807 then
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5809 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5810 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5811 else
5812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5813 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5817 with_gettext=yes
5818 with_gettextpo=yes
5819 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5822 test "x$with_gettext" != xno || MSGFMT=false
5823 if test "$MSGFMT" != "false"
5824 then
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5826 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5827 cat >conftest.po <<EOF
5828 # comment
5829 msgctxt "ctxt"
5830 msgid "id"
5831 msgstr "str"
5833 if $MSGFMT -o /dev/null conftest.po 2>&5
5834 then
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5836 $as_echo "yes" >&6; }
5837 else
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5839 $as_echo "no" >&6; }
5840 MSGFMT=false
5843 if test "$MSGFMT" = false; then :
5844 case "x$with_gettext" in
5845 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
5846 xno) ;;
5847 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
5848 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5849 esac
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5854 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5855 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
5856 $as_echo_n "(cached) " >&6
5857 else
5858 ac_check_lib_save_LIBS=$LIBS
5859 LIBS="-li386 $LIBS"
5860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5861 /* end confdefs.h. */
5863 /* Override any GCC internal prototype to avoid an error.
5864 Use char because int might match the return type of a GCC
5865 builtin and then its argument prototype would still apply. */
5866 #ifdef __cplusplus
5867 extern "C"
5868 #endif
5869 char i386_set_ldt ();
5871 main ()
5873 return i386_set_ldt ();
5875 return 0;
5877 _ACEOF
5878 if ac_fn_c_try_link "$LINENO"; then :
5879 ac_cv_lib_i386_i386_set_ldt=yes
5880 else
5881 ac_cv_lib_i386_i386_set_ldt=no
5883 rm -f core conftest.err conftest.$ac_objext \
5884 conftest$ac_exeext conftest.$ac_ext
5885 LIBS=$ac_check_lib_save_LIBS
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5888 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5889 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
5890 cat >>confdefs.h <<_ACEOF
5891 #define HAVE_LIBI386 1
5892 _ACEOF
5894 LIBS="-li386 $LIBS"
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5899 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5900 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
5901 $as_echo_n "(cached) " >&6
5902 else
5903 ac_check_lib_save_LIBS=$LIBS
5904 LIBS="-lossaudio $LIBS"
5905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5906 /* end confdefs.h. */
5908 /* Override any GCC internal prototype to avoid an error.
5909 Use char because int might match the return type of a GCC
5910 builtin and then its argument prototype would still apply. */
5911 #ifdef __cplusplus
5912 extern "C"
5913 #endif
5914 char _oss_ioctl ();
5916 main ()
5918 return _oss_ioctl ();
5920 return 0;
5922 _ACEOF
5923 if ac_fn_c_try_link "$LINENO"; then :
5924 ac_cv_lib_ossaudio__oss_ioctl=yes
5925 else
5926 ac_cv_lib_ossaudio__oss_ioctl=no
5928 rm -f core conftest.err conftest.$ac_objext \
5929 conftest$ac_exeext conftest.$ac_ext
5930 LIBS=$ac_check_lib_save_LIBS
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5933 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5934 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
5935 cat >>confdefs.h <<_ACEOF
5936 #define HAVE_LIBOSSAUDIO 1
5937 _ACEOF
5939 LIBS="-lossaudio $LIBS"
5944 OPENGL_LIBS=""
5948 # Check whether --enable-largefile was given.
5949 if test "${enable_largefile+set}" = set; then :
5950 enableval=$enable_largefile;
5953 if test "$enable_largefile" != no; then
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5956 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5957 if ${ac_cv_sys_largefile_CC+:} false; then :
5958 $as_echo_n "(cached) " >&6
5959 else
5960 ac_cv_sys_largefile_CC=no
5961 if test "$GCC" != yes; then
5962 ac_save_CC=$CC
5963 while :; do
5964 # IRIX 6.2 and later do not support large files by default,
5965 # so use the C compiler's -n32 option if that helps.
5966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5967 /* end confdefs.h. */
5968 #include <sys/types.h>
5969 /* Check that off_t can represent 2**63 - 1 correctly.
5970 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5971 since some C++ compilers masquerading as C compilers
5972 incorrectly reject 9223372036854775807. */
5973 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5974 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5975 && LARGE_OFF_T % 2147483647 == 1)
5976 ? 1 : -1];
5978 main ()
5982 return 0;
5984 _ACEOF
5985 if ac_fn_c_try_compile "$LINENO"; then :
5986 break
5988 rm -f core conftest.err conftest.$ac_objext
5989 CC="$CC -n32"
5990 if ac_fn_c_try_compile "$LINENO"; then :
5991 ac_cv_sys_largefile_CC=' -n32'; break
5993 rm -f core conftest.err conftest.$ac_objext
5994 break
5995 done
5996 CC=$ac_save_CC
5997 rm -f conftest.$ac_ext
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6001 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6002 if test "$ac_cv_sys_largefile_CC" != no; then
6003 CC=$CC$ac_cv_sys_largefile_CC
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6007 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6008 if ${ac_cv_sys_file_offset_bits+:} false; then :
6009 $as_echo_n "(cached) " >&6
6010 else
6011 while :; do
6012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6013 /* end confdefs.h. */
6014 #include <sys/types.h>
6015 /* Check that off_t can represent 2**63 - 1 correctly.
6016 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6017 since some C++ compilers masquerading as C compilers
6018 incorrectly reject 9223372036854775807. */
6019 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6020 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6021 && LARGE_OFF_T % 2147483647 == 1)
6022 ? 1 : -1];
6024 main ()
6028 return 0;
6030 _ACEOF
6031 if ac_fn_c_try_compile "$LINENO"; then :
6032 ac_cv_sys_file_offset_bits=no; break
6034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6036 /* end confdefs.h. */
6037 #define _FILE_OFFSET_BITS 64
6038 #include <sys/types.h>
6039 /* Check that off_t can represent 2**63 - 1 correctly.
6040 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6041 since some C++ compilers masquerading as C compilers
6042 incorrectly reject 9223372036854775807. */
6043 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6044 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6045 && LARGE_OFF_T % 2147483647 == 1)
6046 ? 1 : -1];
6048 main ()
6052 return 0;
6054 _ACEOF
6055 if ac_fn_c_try_compile "$LINENO"; then :
6056 ac_cv_sys_file_offset_bits=64; break
6058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6059 ac_cv_sys_file_offset_bits=unknown
6060 break
6061 done
6063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6064 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6065 case $ac_cv_sys_file_offset_bits in #(
6066 no | unknown) ;;
6068 cat >>confdefs.h <<_ACEOF
6069 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6070 _ACEOF
6072 esac
6073 rm -rf conftest*
6074 if test $ac_cv_sys_file_offset_bits = unknown; then
6075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6076 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6077 if ${ac_cv_sys_large_files+:} false; then :
6078 $as_echo_n "(cached) " >&6
6079 else
6080 while :; do
6081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6082 /* end confdefs.h. */
6083 #include <sys/types.h>
6084 /* Check that off_t can represent 2**63 - 1 correctly.
6085 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6086 since some C++ compilers masquerading as C compilers
6087 incorrectly reject 9223372036854775807. */
6088 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6089 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6090 && LARGE_OFF_T % 2147483647 == 1)
6091 ? 1 : -1];
6093 main ()
6097 return 0;
6099 _ACEOF
6100 if ac_fn_c_try_compile "$LINENO"; then :
6101 ac_cv_sys_large_files=no; break
6103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6105 /* end confdefs.h. */
6106 #define _LARGE_FILES 1
6107 #include <sys/types.h>
6108 /* Check that off_t can represent 2**63 - 1 correctly.
6109 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6110 since some C++ compilers masquerading as C compilers
6111 incorrectly reject 9223372036854775807. */
6112 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6113 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6114 && LARGE_OFF_T % 2147483647 == 1)
6115 ? 1 : -1];
6117 main ()
6121 return 0;
6123 _ACEOF
6124 if ac_fn_c_try_compile "$LINENO"; then :
6125 ac_cv_sys_large_files=1; break
6127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6128 ac_cv_sys_large_files=unknown
6129 break
6130 done
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6133 $as_echo "$ac_cv_sys_large_files" >&6; }
6134 case $ac_cv_sys_large_files in #(
6135 no | unknown) ;;
6137 cat >>confdefs.h <<_ACEOF
6138 #define _LARGE_FILES $ac_cv_sys_large_files
6139 _ACEOF
6141 esac
6142 rm -rf conftest*
6149 ac_ext=c
6150 ac_cpp='$CPP $CPPFLAGS'
6151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6155 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6156 # On Suns, sometimes $CPP names a directory.
6157 if test -n "$CPP" && test -d "$CPP"; then
6158 CPP=
6160 if test -z "$CPP"; then
6161 if ${ac_cv_prog_CPP+:} false; then :
6162 $as_echo_n "(cached) " >&6
6163 else
6164 # Double quotes because CPP needs to be expanded
6165 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6167 ac_preproc_ok=false
6168 for ac_c_preproc_warn_flag in '' yes
6170 # Use a header file that comes with gcc, so configuring glibc
6171 # with a fresh cross-compiler works.
6172 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6173 # <limits.h> exists even on freestanding compilers.
6174 # On the NeXT, cc -E runs the code through the compiler's parser,
6175 # not just through cpp. "Syntax error" is here to catch this case.
6176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6177 /* end confdefs.h. */
6178 #ifdef __STDC__
6179 # include <limits.h>
6180 #else
6181 # include <assert.h>
6182 #endif
6183 Syntax error
6184 _ACEOF
6185 if ac_fn_c_try_cpp "$LINENO"; then :
6187 else
6188 # Broken: fails on valid input.
6189 continue
6191 rm -f conftest.err conftest.i conftest.$ac_ext
6193 # OK, works on sane cases. Now check whether nonexistent headers
6194 # can be detected and how.
6195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6196 /* end confdefs.h. */
6197 #include <ac_nonexistent.h>
6198 _ACEOF
6199 if ac_fn_c_try_cpp "$LINENO"; then :
6200 # Broken: success on invalid input.
6201 continue
6202 else
6203 # Passes both tests.
6204 ac_preproc_ok=:
6205 break
6207 rm -f conftest.err conftest.i conftest.$ac_ext
6209 done
6210 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6211 rm -f conftest.i conftest.err conftest.$ac_ext
6212 if $ac_preproc_ok; then :
6213 break
6216 done
6217 ac_cv_prog_CPP=$CPP
6220 CPP=$ac_cv_prog_CPP
6221 else
6222 ac_cv_prog_CPP=$CPP
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6225 $as_echo "$CPP" >&6; }
6226 ac_preproc_ok=false
6227 for ac_c_preproc_warn_flag in '' yes
6229 # Use a header file that comes with gcc, so configuring glibc
6230 # with a fresh cross-compiler works.
6231 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6232 # <limits.h> exists even on freestanding compilers.
6233 # On the NeXT, cc -E runs the code through the compiler's parser,
6234 # not just through cpp. "Syntax error" is here to catch this case.
6235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6236 /* end confdefs.h. */
6237 #ifdef __STDC__
6238 # include <limits.h>
6239 #else
6240 # include <assert.h>
6241 #endif
6242 Syntax error
6243 _ACEOF
6244 if ac_fn_c_try_cpp "$LINENO"; then :
6246 else
6247 # Broken: fails on valid input.
6248 continue
6250 rm -f conftest.err conftest.i conftest.$ac_ext
6252 # OK, works on sane cases. Now check whether nonexistent headers
6253 # can be detected and how.
6254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6255 /* end confdefs.h. */
6256 #include <ac_nonexistent.h>
6257 _ACEOF
6258 if ac_fn_c_try_cpp "$LINENO"; then :
6259 # Broken: success on invalid input.
6260 continue
6261 else
6262 # Passes both tests.
6263 ac_preproc_ok=:
6264 break
6266 rm -f conftest.err conftest.i conftest.$ac_ext
6268 done
6269 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6270 rm -f conftest.i conftest.err conftest.$ac_ext
6271 if $ac_preproc_ok; then :
6273 else
6274 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6275 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6276 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6277 See \`config.log' for more details" "$LINENO" 5; }
6280 ac_ext=c
6281 ac_cpp='$CPP $CPPFLAGS'
6282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6288 $as_echo_n "checking for ANSI C header files... " >&6; }
6289 if ${ac_cv_header_stdc+:} false; then :
6290 $as_echo_n "(cached) " >&6
6291 else
6292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6293 /* end confdefs.h. */
6294 #include <stdlib.h>
6295 #include <stdarg.h>
6296 #include <string.h>
6297 #include <float.h>
6300 main ()
6304 return 0;
6306 _ACEOF
6307 if ac_fn_c_try_compile "$LINENO"; then :
6308 ac_cv_header_stdc=yes
6309 else
6310 ac_cv_header_stdc=no
6312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6314 if test $ac_cv_header_stdc = yes; then
6315 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6317 /* end confdefs.h. */
6318 #include <string.h>
6320 _ACEOF
6321 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6322 $EGREP "memchr" >/dev/null 2>&1; then :
6324 else
6325 ac_cv_header_stdc=no
6327 rm -f conftest*
6331 if test $ac_cv_header_stdc = yes; then
6332 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6334 /* end confdefs.h. */
6335 #include <stdlib.h>
6337 _ACEOF
6338 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6339 $EGREP "free" >/dev/null 2>&1; then :
6341 else
6342 ac_cv_header_stdc=no
6344 rm -f conftest*
6348 if test $ac_cv_header_stdc = yes; then
6349 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6350 if test "$cross_compiling" = yes; then :
6352 else
6353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6354 /* end confdefs.h. */
6355 #include <ctype.h>
6356 #include <stdlib.h>
6357 #if ((' ' & 0x0FF) == 0x020)
6358 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6359 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6360 #else
6361 # define ISLOWER(c) \
6362 (('a' <= (c) && (c) <= 'i') \
6363 || ('j' <= (c) && (c) <= 'r') \
6364 || ('s' <= (c) && (c) <= 'z'))
6365 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6366 #endif
6368 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6370 main ()
6372 int i;
6373 for (i = 0; i < 256; i++)
6374 if (XOR (islower (i), ISLOWER (i))
6375 || toupper (i) != TOUPPER (i))
6376 return 2;
6377 return 0;
6379 _ACEOF
6380 if ac_fn_c_try_run "$LINENO"; then :
6382 else
6383 ac_cv_header_stdc=no
6385 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6386 conftest.$ac_objext conftest.beam conftest.$ac_ext
6391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6392 $as_echo "$ac_cv_header_stdc" >&6; }
6393 if test $ac_cv_header_stdc = yes; then
6395 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6399 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6400 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6401 inttypes.h stdint.h unistd.h
6402 do :
6403 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6404 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6406 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6407 cat >>confdefs.h <<_ACEOF
6408 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6409 _ACEOF
6413 done
6416 for ac_header in \
6417 AL/al.h \
6418 ApplicationServices/ApplicationServices.h \
6419 AudioToolbox/AudioConverter.h \
6420 AudioUnit/AudioUnit.h \
6421 AudioUnit/AudioComponent.h \
6422 CL/cl.h \
6423 Carbon/Carbon.h \
6424 CoreAudio/CoreAudio.h \
6425 CoreServices/CoreServices.h \
6426 DiskArbitration/DiskArbitration.h \
6427 IOKit/IOKitLib.h \
6428 IOKit/hid/IOHIDLib.h \
6429 OpenAL/al.h \
6430 OpenCL/opencl.h \
6431 QuickTime/ImageCompression.h \
6432 Security/Security.h \
6433 alias.h \
6434 alsa/asoundlib.h \
6435 arpa/inet.h \
6436 arpa/nameser.h \
6437 asm/types.h \
6438 asm/user.h \
6439 curses.h \
6440 direct.h \
6441 dirent.h \
6442 dlfcn.h \
6443 elf.h \
6444 float.h \
6445 fnmatch.h \
6446 getopt.h \
6447 gettext-po.h \
6448 grp.h \
6449 gsm.h \
6450 gsm/gsm.h \
6451 ieeefp.h \
6452 inet/mib2.h \
6453 io.h \
6454 kstat.h \
6455 lber.h \
6456 ldap.h \
6457 libproc.h \
6458 link.h \
6459 linux/cdrom.h \
6460 linux/compiler.h \
6461 linux/filter.h \
6462 linux/hdreg.h \
6463 linux/input.h \
6464 linux/ioctl.h \
6465 linux/joystick.h \
6466 linux/major.h \
6467 linux/param.h \
6468 linux/serial.h \
6469 linux/types.h \
6470 linux/ucdrom.h \
6471 lwp.h \
6472 mach-o/nlist.h \
6473 mach-o/loader.h \
6474 mach/mach.h \
6475 mach/machine.h \
6476 machine/cpu.h \
6477 machine/limits.h \
6478 machine/sysarch.h \
6479 mntent.h \
6480 ncurses.h \
6481 netdb.h \
6482 netinet/in.h \
6483 netinet/in_systm.h \
6484 netinet/tcp.h \
6485 netinet/tcp_fsm.h \
6486 poll.h \
6487 port.h \
6488 process.h \
6489 pthread.h \
6490 pwd.h \
6491 sched.h \
6492 scsi/scsi.h \
6493 scsi/scsi_ioctl.h \
6494 scsi/sg.h \
6495 stdbool.h \
6496 stdint.h \
6497 stropts.h \
6498 sys/asoundlib.h \
6499 sys/attr.h \
6500 sys/cdio.h \
6501 sys/elf32.h \
6502 sys/epoll.h \
6503 sys/event.h \
6504 sys/exec_elf.h \
6505 sys/filio.h \
6506 sys/inotify.h \
6507 sys/ioctl.h \
6508 sys/ipc.h \
6509 sys/limits.h \
6510 sys/link.h \
6511 sys/mman.h \
6512 sys/modem.h \
6513 sys/msg.h \
6514 sys/mtio.h \
6515 sys/param.h \
6516 sys/poll.h \
6517 sys/prctl.h \
6518 sys/protosw.h \
6519 sys/ptrace.h \
6520 sys/queue.h \
6521 sys/resource.h \
6522 sys/scsiio.h \
6523 sys/shm.h \
6524 sys/signal.h \
6525 sys/socket.h \
6526 sys/socketvar.h \
6527 sys/sockio.h \
6528 sys/statvfs.h \
6529 sys/strtio.h \
6530 sys/syscall.h \
6531 sys/tihdr.h \
6532 sys/time.h \
6533 sys/timeout.h \
6534 sys/times.h \
6535 sys/uio.h \
6536 sys/user.h \
6537 sys/utsname.h \
6538 sys/vm86.h \
6539 sys/wait.h \
6540 syscall.h \
6541 termios.h \
6542 unistd.h \
6543 utime.h \
6544 valgrind/memcheck.h \
6545 valgrind/valgrind.h \
6546 zlib.h
6548 do :
6549 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6550 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6551 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6552 cat >>confdefs.h <<_ACEOF
6553 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6554 _ACEOF
6558 done
6560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6561 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6562 if ${ac_cv_header_stat_broken+:} false; then :
6563 $as_echo_n "(cached) " >&6
6564 else
6565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6566 /* end confdefs.h. */
6567 #include <sys/types.h>
6568 #include <sys/stat.h>
6570 #if defined S_ISBLK && defined S_IFDIR
6571 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6572 #endif
6574 #if defined S_ISBLK && defined S_IFCHR
6575 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6576 #endif
6578 #if defined S_ISLNK && defined S_IFREG
6579 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6580 #endif
6582 #if defined S_ISSOCK && defined S_IFREG
6583 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6584 #endif
6586 _ACEOF
6587 if ac_fn_c_try_compile "$LINENO"; then :
6588 ac_cv_header_stat_broken=no
6589 else
6590 ac_cv_header_stat_broken=yes
6592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6595 $as_echo "$ac_cv_header_stat_broken" >&6; }
6596 if test $ac_cv_header_stat_broken = yes; then
6598 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6604 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6605 do :
6606 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6607 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6608 #ifdef HAVE_SYS_PARAM_H
6609 # include <sys/param.h>
6610 #endif
6612 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6613 cat >>confdefs.h <<_ACEOF
6614 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6615 _ACEOF
6619 done
6622 for ac_header in \
6623 netinet/ip.h \
6624 net/if.h \
6625 net/if_arp.h \
6626 net/if_dl.h \
6627 net/if_types.h \
6628 net/route.h \
6629 netinet/if_ether.h \
6630 netinet/if_inarp.h \
6631 netinet/in_pcb.h \
6632 netinet/ip_icmp.h \
6633 netinet/ip_var.h \
6634 netinet/udp.h \
6635 netipx/ipx.h \
6636 sys/un.h \
6638 do :
6639 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6640 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6641 #ifdef HAVE_SYS_SOCKET_H
6642 # include <sys/socket.h>
6643 #endif
6644 #ifdef HAVE_SYS_SOCKETVAR_H
6645 # include <sys/socketvar.h>
6646 #endif
6647 #ifdef HAVE_NET_ROUTE_H
6648 # include <net/route.h>
6649 #endif
6650 #ifdef HAVE_NETINET_IN_H
6651 # include <netinet/in.h>
6652 #endif
6653 #ifdef HAVE_NETINET_IN_SYSTM_H
6654 # include <netinet/in_systm.h>
6655 #endif
6656 #ifdef HAVE_NET_IF_H
6657 # include <net/if.h>
6658 #endif
6659 #ifdef HAVE_NETINET_IP_H
6660 # include <netinet/ip.h>
6661 #endif
6663 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6664 cat >>confdefs.h <<_ACEOF
6665 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6666 _ACEOF
6670 done
6673 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6674 do :
6675 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6676 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6677 #ifdef HAVE_ALIAS_H
6678 # include <alias.h>
6679 #endif
6680 #ifdef HAVE_SYS_SOCKET_H
6681 # include <sys/socket.h>
6682 #endif
6683 #ifdef HAVE_SYS_SOCKETVAR_H
6684 # include <sys/socketvar.h>
6685 #endif
6686 #ifdef HAVE_SYS_TIMEOUT_H
6687 # include <sys/timeout.h>
6688 #endif
6689 #ifdef HAVE_NETINET_IN_H
6690 # include <netinet/in.h>
6691 #endif
6692 #ifdef HAVE_NETINET_IN_SYSTM_H
6693 # include <netinet/in_systm.h>
6694 #endif
6695 #ifdef HAVE_NETINET_IP_H
6696 # include <netinet/ip.h>
6697 #endif
6698 #ifdef HAVE_NETINET_IP_VAR_H
6699 # include <netinet/ip_var.h>
6700 #endif
6701 #ifdef HAVE_NETINET_IP_ICMP_H
6702 # include <netinet/ip_icmp.h>
6703 #endif
6704 #ifdef HAVE_NETINET_UDP_H
6705 # include <netinet/udp.h>
6706 #endif
6707 #ifdef HAVE_NETINET_TCP_H
6708 # include <netinet/tcp.h>
6709 #endif
6710 #ifdef HAVE_NETINET_TCP_TIMER_H
6711 #include <netinet/tcp_timer.h>
6712 #endif
6714 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6715 cat >>confdefs.h <<_ACEOF
6716 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6717 _ACEOF
6721 done
6724 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6725 do :
6726 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6727 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6728 #ifdef HAVE_ASM_TYPES_H
6729 # include <asm/types.h>
6730 #endif
6731 #ifdef HAVE_SYS_SOCKET_H
6732 # include <sys/socket.h>
6733 #endif
6734 #ifdef HAVE_LINUX_TYPES_H
6735 # include <linux/types.h>
6736 #endif
6738 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6739 cat >>confdefs.h <<_ACEOF
6740 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6741 _ACEOF
6745 done
6748 for ac_header in mach-o/dyld_images.h
6749 do :
6750 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6751 # include <stdbool.h>
6752 #endif
6753 #ifdef HAVE_STDINT_H
6754 # include <stdint.h>
6755 #endif
6757 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6758 cat >>confdefs.h <<_ACEOF
6759 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6760 _ACEOF
6764 done
6767 for ac_header in resolv.h
6768 do :
6769 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6770 #ifdef HAVE_SYS_SOCKET_H
6771 # include <sys/socket.h>
6772 #endif
6773 #ifdef HAVE_NETINET_IN_H
6774 # include <netinet/in.h>
6775 #endif
6776 #ifdef HAVE_ARPA_NAMESER_H
6777 # include <arpa/nameser.h>
6778 #endif
6780 if test "x$ac_cv_header_resolv_h" = xyes; then :
6781 cat >>confdefs.h <<_ACEOF
6782 #define HAVE_RESOLV_H 1
6783 _ACEOF
6787 done
6790 for ac_header in ifaddrs.h
6791 do :
6792 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6794 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6795 cat >>confdefs.h <<_ACEOF
6796 #define HAVE_IFADDRS_H 1
6797 _ACEOF
6801 done
6804 for ac_header in ucontext.h
6805 do :
6806 ac_fn_c_check_header_compile "$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6808 if test "x$ac_cv_header_ucontext_h" = xyes; then :
6809 cat >>confdefs.h <<_ACEOF
6810 #define HAVE_UCONTEXT_H 1
6811 _ACEOF
6815 done
6818 for ac_header in sys/thr.h
6819 do :
6820 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6821 #ifdef HAVE_UCONTEXT_H
6822 #include <ucontext.h>
6823 #endif
6825 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
6826 cat >>confdefs.h <<_ACEOF
6827 #define HAVE_SYS_THR_H 1
6828 _ACEOF
6832 done
6835 for ac_header in pthread_np.h
6836 do :
6837 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6838 #include <pthread.h>
6839 #endif
6841 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
6842 cat >>confdefs.h <<_ACEOF
6843 #define HAVE_PTHREAD_NP_H 1
6844 _ACEOF
6848 done
6851 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
6852 do :
6853 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6854 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6855 #include <sys/time.h>
6856 #endif
6857 #include <sys/types.h>
6858 #ifdef HAVE_ASM_TYPES_H
6859 #include <asm/types.h>
6860 #endif
6862 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6863 cat >>confdefs.h <<_ACEOF
6864 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6865 _ACEOF
6869 done
6872 for ac_header in libprocstat.h
6873 do :
6874 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6875 #include <sys/param.h>
6876 #endif
6877 #ifdef HAVE_SYS_QUEUE_H
6878 #include <sys/queue.h>
6879 #endif
6880 #ifdef HAVE_SYS_SOCKET_H
6881 #include <sys/socket.h>
6882 #endif
6884 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
6885 cat >>confdefs.h <<_ACEOF
6886 #define HAVE_LIBPROCSTAT_H 1
6887 _ACEOF
6891 done
6895 dlldir="\${libdir}/wine"
6897 DLLPREFIX=""
6899 DLLFLAGS="-D_REENTRANT"
6901 LDRPATH_INSTALL=""
6903 LDRPATH_LOCAL=""
6905 LIBEXT="so"
6906 DLLEXT=".so"
6907 IMPLIBEXT="def"
6908 STATIC_IMPLIBEXT="def.a"
6909 # Extract the first word of "ldd", so it can be a program name with args.
6910 set dummy ldd; ac_word=$2
6911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6912 $as_echo_n "checking for $ac_word... " >&6; }
6913 if ${ac_cv_path_LDD+:} false; then :
6914 $as_echo_n "(cached) " >&6
6915 else
6916 case $LDD in
6917 [\\/]* | ?:[\\/]*)
6918 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
6921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6922 as_dummy="/sbin:/usr/sbin:$PATH"
6923 for as_dir in $as_dummy
6925 IFS=$as_save_IFS
6926 test -z "$as_dir" && as_dir=.
6927 for ac_exec_ext in '' $ac_executable_extensions; do
6928 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6929 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
6930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6931 break 2
6933 done
6934 done
6935 IFS=$as_save_IFS
6937 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
6939 esac
6941 LDD=$ac_cv_path_LDD
6942 if test -n "$LDD"; then
6943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6944 $as_echo "$LDD" >&6; }
6945 else
6946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6947 $as_echo "no" >&6; }
6951 if test -n "$ac_tool_prefix"; then
6952 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
6953 set dummy ${ac_tool_prefix}readelf; ac_word=$2
6954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6955 $as_echo_n "checking for $ac_word... " >&6; }
6956 if ${ac_cv_prog_READELF+:} false; then :
6957 $as_echo_n "(cached) " >&6
6958 else
6959 if test -n "$READELF"; then
6960 ac_cv_prog_READELF="$READELF" # Let the user override the test.
6961 else
6962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6963 for as_dir in $PATH
6965 IFS=$as_save_IFS
6966 test -z "$as_dir" && as_dir=.
6967 for ac_exec_ext in '' $ac_executable_extensions; do
6968 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6969 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
6970 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6971 break 2
6973 done
6974 done
6975 IFS=$as_save_IFS
6979 READELF=$ac_cv_prog_READELF
6980 if test -n "$READELF"; then
6981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
6982 $as_echo "$READELF" >&6; }
6983 else
6984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6985 $as_echo "no" >&6; }
6990 if test -z "$ac_cv_prog_READELF"; then
6991 ac_ct_READELF=$READELF
6992 # Extract the first word of "readelf", so it can be a program name with args.
6993 set dummy readelf; ac_word=$2
6994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6995 $as_echo_n "checking for $ac_word... " >&6; }
6996 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
6997 $as_echo_n "(cached) " >&6
6998 else
6999 if test -n "$ac_ct_READELF"; then
7000 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7001 else
7002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7003 for as_dir in $PATH
7005 IFS=$as_save_IFS
7006 test -z "$as_dir" && as_dir=.
7007 for ac_exec_ext in '' $ac_executable_extensions; do
7008 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7009 ac_cv_prog_ac_ct_READELF="readelf"
7010 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7011 break 2
7013 done
7014 done
7015 IFS=$as_save_IFS
7019 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7020 if test -n "$ac_ct_READELF"; then
7021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7022 $as_echo "$ac_ct_READELF" >&6; }
7023 else
7024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7025 $as_echo "no" >&6; }
7028 if test "x$ac_ct_READELF" = x; then
7029 READELF="true"
7030 else
7031 case $cross_compiling:$ac_tool_warned in
7032 yes:)
7033 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7034 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7035 ac_tool_warned=yes ;;
7036 esac
7037 READELF=$ac_ct_READELF
7039 else
7040 READELF="$ac_cv_prog_READELF"
7043 wine_rules_file=conf$$rules.make
7044 rm -f $wine_rules_file
7045 ALL_POT_FILES=""
7046 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7047 ALL_TEST_RESOURCES=""
7050 wine_fn_append_file ()
7052 as_fn_append $1 " \\$as_nl $2"
7055 wine_fn_ignore_file ()
7057 case "$1" in
7058 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7059 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7060 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7061 esac
7064 wine_fn_append_rule ()
7066 $as_echo "$1" >>$wine_rules_file
7069 wine_fn_has_flag ()
7071 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7074 wine_fn_depend_rules ()
7076 wine_fn_append_rule \
7077 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7078 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7079 depend: $ac_dir/depend
7080 .PHONY: $ac_dir/depend
7081 $ac_dir/depend: \$(MAKEDEP) dummy
7082 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7085 wine_fn_pot_rules ()
7087 test "x$with_gettextpo" = xyes || return
7089 if wine_fn_has_flag mc
7090 then
7091 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7092 wine_fn_append_rule \
7093 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7094 @cd $ac_dir && \$(MAKE) msg.pot
7095 $ac_dir/msg.pot: tools/wmc include"
7097 if wine_fn_has_flag po
7098 then
7099 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7100 wine_fn_append_rule \
7101 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7102 @cd $ac_dir && \$(MAKE) rsrc.pot
7103 $ac_dir/rsrc.pot: tools/wrc include"
7107 wine_fn_all_rules ()
7109 wine_fn_depend_rules
7110 wine_fn_append_rule \
7111 "all: $ac_dir
7112 .PHONY: $ac_dir
7113 $ac_dir: $ac_dir/Makefile dummy
7114 @cd $ac_dir && \$(MAKE)"
7117 wine_fn_install_rules ()
7119 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7121 wine_fn_append_rule \
7122 ".PHONY: $ac_dir/install $ac_dir/uninstall
7123 $ac_dir/install:: $ac_dir
7124 @cd $ac_dir && \$(MAKE) install
7125 $ac_dir/uninstall:: $ac_dir/Makefile
7126 @cd $ac_dir && \$(MAKE) uninstall
7127 install:: $ac_dir/install
7128 __uninstall__: $ac_dir/uninstall"
7130 if wine_fn_has_flag install-lib
7131 then
7132 wine_fn_append_rule \
7133 ".PHONY: $ac_dir/install-lib
7134 $ac_dir/install-lib:: $ac_dir
7135 @cd $ac_dir && \$(MAKE) install-lib
7136 install-lib:: $ac_dir/install-lib"
7139 if wine_fn_has_flag install-dev
7140 then
7141 wine_fn_append_rule \
7142 ".PHONY: $ac_dir/install-dev
7143 $ac_dir/install-dev:: $ac_dir
7144 @cd $ac_dir && \$(MAKE) install-dev
7145 install-dev:: $ac_dir/install-dev"
7149 wine_fn_clean_rules ()
7151 ac_clean=$@
7152 ac_extraclean="$ac_dir/Makefile"
7153 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7154 case $ac_dir in
7155 */tests) ac_extraclean="$ac_extraclean $ac_dir/testlist.c" ;;
7156 esac
7158 if wine_fn_has_flag clean
7159 then
7160 wine_fn_append_rule \
7161 "__clean__: $ac_dir/clean
7162 .PHONY: $ac_dir/clean
7163 $ac_dir/clean: $ac_dir/Makefile
7164 @cd $ac_dir && \$(MAKE) clean
7165 \$(RM) $ac_extraclean"
7166 else
7167 wine_fn_append_rule \
7168 "__clean__: $ac_dir/clean
7169 .PHONY: $ac_dir/clean
7170 $ac_dir/clean: dummy
7171 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7175 wine_fn_disabled_rules ()
7177 ac_clean=$@
7178 ac_extraclean="$ac_dir/Makefile"
7179 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7181 wine_fn_append_rule \
7182 "__clean__: $ac_dir/clean
7183 .PHONY: $ac_dir/clean
7184 $ac_dir/clean: dummy
7185 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7188 wine_fn_config_makefile ()
7190 ac_dir=$1
7191 ac_enable=$2
7192 ac_flags=$3
7194 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7195 wine_fn_disabled_rules; return
7197 wine_fn_all_rules
7198 wine_fn_install_rules
7199 wine_fn_clean_rules
7202 wine_fn_config_lib ()
7204 ac_name=$1
7205 ac_flags=$2
7206 ac_dir=dlls/$ac_name
7207 ac_deps="include"
7209 if test "x$enable_tools" = xno; then :
7211 else
7212 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7214 wine_fn_all_rules
7215 wine_fn_clean_rules
7217 wine_fn_append_rule \
7218 ".PHONY: $ac_dir/install $ac_dir/uninstall
7219 $ac_dir/install:: $ac_dir
7220 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7221 $ac_dir/uninstall::
7222 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7223 install install-dev:: $ac_dir/install
7224 __uninstall__: $ac_dir/uninstall
7225 __builddeps__: $ac_dir
7226 $ac_dir: $ac_deps"
7229 wine_fn_config_dll ()
7231 ac_name=$1
7232 ac_dir=dlls/$ac_name
7233 ac_enable=$2
7234 ac_flags=$3
7235 ac_implib=${4:-$ac_name}
7236 ac_file=$ac_dir/lib$ac_implib
7237 ac_dll=$ac_name
7238 ac_deps="include"
7239 ac_implibflags=""
7241 if test "x$enable_tools" = xno; then :
7243 else
7244 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7246 case $ac_name in
7247 *16) ac_implibflags=" -m16" ;;
7248 *.*) ;;
7249 *) ac_dll=$ac_dll.dll ;;
7250 esac
7252 ac_clean=
7253 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7254 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7255 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7256 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7258 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7259 if wine_fn_has_flag implib && test "$ac_enable" != enable_win16
7260 then
7261 wine_fn_depend_rules
7262 wine_fn_clean_rules $ac_clean
7263 else
7264 wine_fn_disabled_rules $ac_clean
7265 return
7267 else
7268 wine_fn_all_rules
7269 wine_fn_clean_rules $ac_clean
7270 wine_fn_append_rule \
7271 "$ac_dir: __builddeps__
7272 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7273 @cd $ac_dir && \$(MAKE) \$@
7274 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7275 install install-lib:: $ac_dir/install-lib
7276 __uninstall__: $ac_dir/uninstall"
7277 if test -n "$DLLEXT"
7278 then
7279 wine_fn_append_rule \
7280 "$ac_dir/install-lib:: $ac_dir
7281 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7282 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7283 $ac_dir/uninstall::
7284 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7285 else
7286 wine_fn_append_rule \
7287 "$ac_dir/install-lib:: $ac_dir
7288 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7289 $ac_dir/uninstall::
7290 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7293 wine_fn_pot_rules
7296 if wine_fn_has_flag staticimplib
7297 then
7298 wine_fn_append_rule \
7299 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7300 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7301 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7302 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7303 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7304 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7305 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7306 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7307 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7308 $ac_dir/uninstall::
7309 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7310 install install-dev:: $ac_dir/install-dev
7311 __uninstall__: $ac_dir/uninstall"
7313 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7314 then
7315 wine_fn_append_rule \
7316 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7317 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7318 $ac_dir/uninstall::
7319 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7322 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7323 then
7324 wine_fn_append_rule \
7325 "__builddeps__: $ac_file.cross.a
7326 $ac_file.cross.a: $ac_dir/Makefile dummy
7327 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7330 elif wine_fn_has_flag implib
7331 then
7332 wine_fn_append_rule \
7333 "__builddeps__: $ac_file.$IMPLIBEXT
7334 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7335 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7336 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7337 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7338 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7339 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7340 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7341 $ac_dir/uninstall::
7342 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7343 install install-dev:: $ac_dir/install-dev
7344 __uninstall__: $ac_dir/uninstall"
7345 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7346 then
7347 wine_fn_append_rule \
7348 "__builddeps__: $ac_file.cross.a
7349 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7350 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7353 if test "$ac_name" != "$ac_implib"
7354 then
7355 wine_fn_append_rule \
7356 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7357 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7358 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7359 clean::
7360 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7361 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7362 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7363 then
7364 wine_fn_append_rule \
7365 "__builddeps__: dlls/lib$ac_implib.cross.a
7366 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7367 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7368 clean::
7369 \$(RM) dlls/lib$ac_implib.cross.a"
7370 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7376 wine_fn_config_program ()
7378 ac_name=$1
7379 ac_dir=programs/$ac_name
7380 ac_enable=$2
7381 ac_flags=$3
7382 ac_program=$ac_name
7384 case $ac_name in
7385 *.*) ;;
7386 *) ac_program=$ac_program.exe ;;
7387 esac
7389 ac_clean=
7390 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7391 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7392 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7393 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7395 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7396 wine_fn_disabled_rules $ac_clean; return
7399 wine_fn_all_rules
7400 wine_fn_clean_rules $ac_clean
7401 wine_fn_append_rule "$ac_dir: __builddeps__"
7402 wine_fn_pot_rules
7404 wine_fn_has_flag install || return
7405 wine_fn_append_rule \
7406 ".PHONY: $ac_dir/install $ac_dir/uninstall
7407 install install-lib:: $ac_dir/install
7408 __uninstall__: $ac_dir/uninstall"
7410 if test -n "$DLLEXT"
7411 then
7412 wine_fn_append_rule \
7413 "$ac_dir/install:: $ac_dir
7414 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7415 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7416 $ac_dir/uninstall::
7417 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7419 if test -z "$with_wine64" && wine_fn_has_flag installbin
7420 then
7421 wine_fn_append_rule \
7422 "$ac_dir/install:: __tooldeps__
7423 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7424 $ac_dir/uninstall::
7425 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7427 else
7428 wine_fn_append_rule \
7429 "$ac_dir/install:: $ac_dir
7430 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7431 $ac_dir/uninstall::
7432 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7435 if test -z "$with_wine64" && wine_fn_has_flag manpage
7436 then
7437 wine_fn_append_rule \
7438 "$ac_dir/install:: $ac_dir
7439 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7440 $ac_dir/uninstall::
7441 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7445 wine_fn_config_test ()
7447 ac_dir=$1
7448 ac_name=$2
7449 ac_flags=$3
7451 ac_clean=
7452 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7453 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7455 if test "x$enable_tests" = xno; then :
7456 wine_fn_disabled_rules $ac_clean; return
7459 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7460 wine_fn_all_rules
7461 wine_fn_clean_rules $ac_clean
7463 wine_fn_append_rule \
7464 "$ac_dir: programs/winetest/Makefile __builddeps__
7465 programs/winetest: $ac_dir
7466 check test: $ac_dir/test
7467 .PHONY: $ac_dir/test
7468 $ac_dir/test: dummy
7469 @cd $ac_dir && \$(MAKE) test
7470 testclean::
7471 \$(RM) $ac_dir/*.ok"
7473 if test -n "$CROSSTARGET"
7474 then
7475 wine_fn_append_rule \
7476 "crosstest: $ac_dir/crosstest
7477 .PHONY: $ac_dir/crosstest
7478 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7479 @cd $ac_dir && \$(MAKE) crosstest"
7483 wine_fn_config_tool ()
7485 ac_dir=$1
7486 ac_flags=$2
7487 if test "x$enable_tools" = xno; then :
7488 return
7491 wine_fn_all_rules
7492 wine_fn_install_rules
7493 wine_fn_clean_rules
7495 wine_fn_append_rule "__tooldeps__: $ac_dir"
7496 wine_fn_append_rule "$ac_dir: libs/port"
7497 case $ac_dir in
7498 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7499 esac
7502 wine_fn_config_symlink ()
7504 ac_linkdir=
7505 if test "x$1" = "x-d"
7506 then
7507 ac_linkdir=$2
7508 shift; shift
7510 ac_links=$@
7511 wine_fn_append_rule \
7512 "$ac_links:
7513 @./config.status \$@
7514 distclean::
7515 \$(RM) $ac_links"
7516 for f in $ac_links; do wine_fn_ignore_file $f; done
7517 test -n "$ac_linkdir" || return
7518 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7521 wine_binary="wine"
7522 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7523 loader_programs="$wine_binary wine-installed"
7524 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7526 LOADER_RULES="
7527 install install-lib:: wine-installed
7528 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7530 uninstall::
7531 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7535 case $host_os in
7536 cygwin*|mingw32*)
7537 if test -n "$ac_tool_prefix"; then
7538 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7539 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7541 $as_echo_n "checking for $ac_word... " >&6; }
7542 if ${ac_cv_prog_DLLTOOL+:} false; then :
7543 $as_echo_n "(cached) " >&6
7544 else
7545 if test -n "$DLLTOOL"; then
7546 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7547 else
7548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7549 for as_dir in $PATH
7551 IFS=$as_save_IFS
7552 test -z "$as_dir" && as_dir=.
7553 for ac_exec_ext in '' $ac_executable_extensions; do
7554 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7555 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7557 break 2
7559 done
7560 done
7561 IFS=$as_save_IFS
7565 DLLTOOL=$ac_cv_prog_DLLTOOL
7566 if test -n "$DLLTOOL"; then
7567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7568 $as_echo "$DLLTOOL" >&6; }
7569 else
7570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7571 $as_echo "no" >&6; }
7576 if test -z "$ac_cv_prog_DLLTOOL"; then
7577 ac_ct_DLLTOOL=$DLLTOOL
7578 # Extract the first word of "dlltool", so it can be a program name with args.
7579 set dummy dlltool; ac_word=$2
7580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7581 $as_echo_n "checking for $ac_word... " >&6; }
7582 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7583 $as_echo_n "(cached) " >&6
7584 else
7585 if test -n "$ac_ct_DLLTOOL"; then
7586 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7587 else
7588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7589 for as_dir in $PATH
7591 IFS=$as_save_IFS
7592 test -z "$as_dir" && as_dir=.
7593 for ac_exec_ext in '' $ac_executable_extensions; do
7594 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7595 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7596 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7597 break 2
7599 done
7600 done
7601 IFS=$as_save_IFS
7605 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7606 if test -n "$ac_ct_DLLTOOL"; then
7607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7608 $as_echo "$ac_ct_DLLTOOL" >&6; }
7609 else
7610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7611 $as_echo "no" >&6; }
7614 if test "x$ac_ct_DLLTOOL" = x; then
7615 DLLTOOL="false"
7616 else
7617 case $cross_compiling:$ac_tool_warned in
7618 yes:)
7619 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7620 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7621 ac_tool_warned=yes ;;
7622 esac
7623 DLLTOOL=$ac_ct_DLLTOOL
7625 else
7626 DLLTOOL="$ac_cv_prog_DLLTOOL"
7629 LIBEXT="dll"
7630 DLLEXT=""
7631 IMPLIBEXT="a"
7632 STATIC_IMPLIBEXT="a"
7633 enable_iphlpapi=${enable_iphlpapi:-no}
7634 enable_kernel32=${enable_kernel32:-no}
7635 enable_msvcrt=${enable_msvcrt:-no}
7636 enable_ntdll=${enable_ntdll:-no}
7637 enable_ws2_32=${enable_ws2_32:-no}
7638 enable_loader=${enable_loader:-no}
7639 enable_server=${enable_server:-no}
7640 with_x=${with_x:-no}
7641 with_pthread=${with_pthread:-no}
7643 crtlibs=""
7644 case $host_os in
7645 mingw32*)
7646 crtlibs="-lmsvcrt"
7647 SOCKET_LIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7649 esac
7651 libwine_targets="libwine.dll libwine.a"
7652 LIBWINE_RULES="
7653 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7655 all: libwine.dll libwine.a
7657 libwine.a: \$(srcdir)/wine.def
7658 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7660 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7661 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7663 install install-lib:: libwine.dll
7664 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7666 install install-dev:: libwine.a
7667 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7669 uninstall::
7670 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7675 darwin*|macosx*)
7676 LIBEXT="dylib"
7677 DLLFLAGS="$DLLFLAGS -fPIC"
7678 LIBWINE_LDFLAGS="-multiply_defined suppress"
7679 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7680 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7681 COREFOUNDATION_LIBS="-framework CoreFoundation"
7683 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7685 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7687 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7689 CORESERVICES_LIBS="-framework CoreServices"
7691 APPKIT_LIBS="-framework AppKit"
7693 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7694 case $host_os in
7695 darwin11*) LDEXECFLAGS="-Wl,-macosx_version_min,10.6 $LDEXECFLAGS" ;;
7696 esac
7697 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7698 then
7699 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
7702 if test "$ac_cv_header_Security_Security_h" = "yes"
7703 then
7704 SECURITY_LIBS="-framework Security -framework CoreFoundation"
7706 ac_save_LIBS="$LIBS"
7707 LIBS="$LIBS $SECURITY_LIBS"
7708 for ac_func in SSLCopyPeerCertificates
7709 do :
7710 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7711 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
7712 cat >>confdefs.h <<_ACEOF
7713 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7714 _ACEOF
7717 done
7719 LIBS="$ac_save_LIBS"
7720 with_gnutls=${with_gnutls:-no}
7722 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7723 then
7724 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7725 then
7726 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7728 else
7729 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7732 ac_save_LIBS="$LIBS"
7733 LIBS="$LIBS $COREAUDIO_LIBS"
7734 for ac_func in AUGraphAddNode
7735 do :
7736 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7737 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
7738 cat >>confdefs.h <<_ACEOF
7739 #define HAVE_AUGRAPHADDNODE 1
7740 _ACEOF
7743 done
7745 LIBS="$ac_save_LIBS"
7747 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7748 then
7749 OPENAL_LIBS="-framework OpenAL"
7752 cat >>confdefs.h <<_ACEOF
7753 #define HAVE_OPENAL 1
7754 _ACEOF
7756 ac_cv_lib_openal=yes
7758 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7759 then
7760 OPENCL_LIBS="-framework OpenCL"
7762 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
7764 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7765 then
7766 ac_save_LIBS="$LIBS"
7767 LIBS="$LIBS $IOKIT_LIBS"
7768 for ac_func in IOHIDManagerCreate
7769 do :
7770 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7771 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
7772 cat >>confdefs.h <<_ACEOF
7773 #define HAVE_IOHIDMANAGERCREATE 1
7774 _ACEOF
7777 done
7779 LIBS="$ac_save_LIBS"
7781 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7782 then
7783 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7785 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
7786 else
7787 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7789 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7790 then
7791 CARBON_LIBS="-framework Carbon"
7795 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7796 then
7797 ac_save_LIBS="$LIBS"
7798 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
7799 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7800 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
7801 enable_winemac_drv=${enable_winemac_drv:-yes}
7804 LIBS="$ac_save_LIBS"
7807 if test "x$enable_win16" = "xyes"
7808 then
7809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7810 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7811 if test "$cross_compiling" = yes; then :
7812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7813 $as_echo "cross-compiling, assuming yes" >&6; }
7814 else
7815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7816 /* end confdefs.h. */
7817 asm(".text\n"
7818 "bad:\tnop;nop\n"
7819 "good:\tnop;nop\n\t"
7820 ".globl _testfunc\n"
7821 "_testfunc:\tcallw good");
7822 extern void testfunc();
7824 main ()
7826 unsigned short *p = (unsigned short *)testfunc;
7827 return p[0] != 0xe866 || p[1] != 0xfffa
7829 return 0;
7831 _ACEOF
7832 if ac_fn_c_try_run "$LINENO"; then :
7833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7834 $as_echo "yes" >&6; }
7835 else
7836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7837 $as_echo "no" >&6; }
7838 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
7840 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7841 conftest.$ac_objext conftest.beam conftest.$ac_ext
7846 libwine_targets="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
7847 LIBWINE_RULES="
7848 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7850 all: libwine.dylib
7852 libwine.$libwine_version.dylib: \$(OBJS)
7853 \$(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 \$@
7855 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
7856 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
7858 libwine.dylib: libwine.$libwine_soversion.dylib
7859 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
7861 install install-lib:: libwine.$libwine_version.dylib
7862 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
7863 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
7865 install install-dev::
7866 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
7868 uninstall::
7869 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
7873 as_fn_append LOADER_RULES "
7874 $wine_binary: main.o wine_info.plist
7875 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7877 wine-installed: main.o wine_info.plist
7878 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7882 linux-android*)
7883 DLLFLAGS="$DLLFLAGS -fPIC"
7884 DLLPREFIX="lib"
7885 LDEXECFLAGS=""
7886 dlldir="\${libdir}"
7887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7888 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7889 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
7890 $as_echo_n "(cached) " >&6
7891 else
7892 ac_wine_try_cflags_saved=$CFLAGS
7893 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
7894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7895 /* end confdefs.h. */
7896 int main(int argc, char **argv) { return 0; }
7897 _ACEOF
7898 if ac_fn_c_try_link "$LINENO"; then :
7899 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
7900 else
7901 ac_cv_cflags__fPIC__Wl___export_dynamic=no
7903 rm -f core conftest.err conftest.$ac_objext \
7904 conftest$ac_exeext conftest.$ac_ext
7905 CFLAGS=$ac_wine_try_cflags_saved
7907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7908 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7909 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
7910 LDEXECFLAGS="-Wl,--export-dynamic"
7912 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7914 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7915 if eval \${$as_ac_var+:} false; then :
7916 $as_echo_n "(cached) " >&6
7917 else
7918 ac_wine_try_cflags_saved=$CFLAGS
7919 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7921 /* end confdefs.h. */
7922 int main(int argc, char **argv) { return 0; }
7923 _ACEOF
7924 if ac_fn_c_try_link "$LINENO"; then :
7925 eval "$as_ac_var=yes"
7926 else
7927 eval "$as_ac_var=no"
7929 rm -f core conftest.err conftest.$ac_objext \
7930 conftest$ac_exeext conftest.$ac_ext
7931 CFLAGS=$ac_wine_try_cflags_saved
7933 eval ac_res=\$$as_ac_var
7934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7935 $as_echo "$ac_res" >&6; }
7936 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
7937 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7938 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7939 else
7940 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7942 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7943 if eval \${$as_ac_var+:} false; then :
7944 $as_echo_n "(cached) " >&6
7945 else
7946 ac_wine_try_cflags_saved=$CFLAGS
7947 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7949 /* end confdefs.h. */
7950 int main(int argc, char **argv) { return 0; }
7951 _ACEOF
7952 if ac_fn_c_try_link "$LINENO"; then :
7953 eval "$as_ac_var=yes"
7954 else
7955 eval "$as_ac_var=no"
7957 rm -f core conftest.err conftest.$ac_objext \
7958 conftest$ac_exeext conftest.$ac_ext
7959 CFLAGS=$ac_wine_try_cflags_saved
7961 eval ac_res=\$$as_ac_var
7962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7963 $as_echo "$ac_res" >&6; }
7964 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
7965 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7966 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7971 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7972 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
7973 $as_echo_n "(cached) " >&6
7974 else
7975 ac_wine_try_cflags_saved=$CFLAGS
7976 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
7977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7978 /* end confdefs.h. */
7979 int main(int argc, char **argv) { return 0; }
7980 _ACEOF
7981 if ac_fn_c_try_link "$LINENO"; then :
7982 ac_cv_cflags__Wl___enable_new_dtags=yes
7983 else
7984 ac_cv_cflags__Wl___enable_new_dtags=no
7986 rm -f core conftest.err conftest.$ac_objext \
7987 conftest$ac_exeext conftest.$ac_ext
7988 CFLAGS=$ac_wine_try_cflags_saved
7990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7991 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7992 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
7993 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
7996 case $host_cpu in
7997 *i[3456789]86* | x86_64)
7998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
7999 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8000 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8001 $as_echo_n "(cached) " >&6
8002 else
8003 ac_wine_try_cflags_saved=$CFLAGS
8004 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8006 /* end confdefs.h. */
8007 int main(int argc, char **argv) { return 0; }
8008 _ACEOF
8009 if ac_fn_c_try_link "$LINENO"; then :
8010 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8011 else
8012 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8014 rm -f core conftest.err conftest.$ac_objext \
8015 conftest$ac_exeext conftest.$ac_ext
8016 CFLAGS=$ac_wine_try_cflags_saved
8018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8019 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8020 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8021 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8024 esac
8026 libwine_targets="libwine.so"
8027 LIBWINE_RULES="
8028 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8030 all: libwine.so
8032 libwine.so: \$(OBJS)
8033 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8035 install install-lib:: libwine.so
8036 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8038 uninstall::
8039 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8043 as_fn_append LOADER_RULES "
8044 $wine_binary: main.o
8045 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8047 wine-installed: main.o
8048 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8053 DLLFLAGS="$DLLFLAGS -fPIC"
8054 LDEXECFLAGS=""
8055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8056 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8057 if ${ac_cv_c_dll_gnuelf+:} false; then :
8058 $as_echo_n "(cached) " >&6
8059 else
8060 ac_wine_try_cflags_saved=$CFLAGS
8061 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8063 /* end confdefs.h. */
8064 void myfunc() {}
8065 _ACEOF
8066 if ac_fn_c_try_link "$LINENO"; then :
8067 ac_cv_c_dll_gnuelf="yes"
8068 else
8069 ac_cv_c_dll_gnuelf="no"
8071 rm -f core conftest.err conftest.$ac_objext \
8072 conftest$ac_exeext conftest.$ac_ext
8073 CFLAGS=$ac_wine_try_cflags_saved
8075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8076 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8077 if test "$ac_cv_c_dll_gnuelf" = "yes"
8078 then
8079 LDSHARED="\$(CC) -shared"
8080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8081 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8082 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8083 $as_echo_n "(cached) " >&6
8084 else
8085 ac_wine_try_cflags_saved=$CFLAGS
8086 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8088 /* end confdefs.h. */
8089 int main(int argc, char **argv) { return 0; }
8090 _ACEOF
8091 if ac_fn_c_try_link "$LINENO"; then :
8092 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8093 else
8094 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8096 rm -f core conftest.err conftest.$ac_objext \
8097 conftest$ac_exeext conftest.$ac_ext
8098 CFLAGS=$ac_wine_try_cflags_saved
8100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8101 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8102 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8103 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8104 else
8105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8106 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8107 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8108 $as_echo_n "(cached) " >&6
8109 else
8110 ac_wine_try_cflags_saved=$CFLAGS
8111 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8113 /* end confdefs.h. */
8114 int main(int argc, char **argv) { return 0; }
8115 _ACEOF
8116 if ac_fn_c_try_link "$LINENO"; then :
8117 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8118 else
8119 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8121 rm -f core conftest.err conftest.$ac_objext \
8122 conftest$ac_exeext conftest.$ac_ext
8123 CFLAGS=$ac_wine_try_cflags_saved
8125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8126 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8127 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8128 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8132 echo '{ global: *; };' >conftest.map
8133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8134 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8135 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8136 $as_echo_n "(cached) " >&6
8137 else
8138 ac_wine_try_cflags_saved=$CFLAGS
8139 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8141 /* end confdefs.h. */
8142 int main(int argc, char **argv) { return 0; }
8143 _ACEOF
8144 if ac_fn_c_try_link "$LINENO"; then :
8145 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8146 else
8147 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8149 rm -f core conftest.err conftest.$ac_objext \
8150 conftest$ac_exeext conftest.$ac_ext
8151 CFLAGS=$ac_wine_try_cflags_saved
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8154 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8155 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8156 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8158 rm -f conftest.map
8160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8161 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8162 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8163 $as_echo_n "(cached) " >&6
8164 else
8165 ac_wine_try_cflags_saved=$CFLAGS
8166 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8168 /* end confdefs.h. */
8169 int main(int argc, char **argv) { return 0; }
8170 _ACEOF
8171 if ac_fn_c_try_link "$LINENO"; then :
8172 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8173 else
8174 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8176 rm -f core conftest.err conftest.$ac_objext \
8177 conftest$ac_exeext conftest.$ac_ext
8178 CFLAGS=$ac_wine_try_cflags_saved
8180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8181 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8182 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8183 LDEXECFLAGS="-Wl,--export-dynamic"
8186 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8188 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8189 if eval \${$as_ac_var+:} false; then :
8190 $as_echo_n "(cached) " >&6
8191 else
8192 ac_wine_try_cflags_saved=$CFLAGS
8193 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8195 /* end confdefs.h. */
8196 int main(int argc, char **argv) { return 0; }
8197 _ACEOF
8198 if ac_fn_c_try_link "$LINENO"; then :
8199 eval "$as_ac_var=yes"
8200 else
8201 eval "$as_ac_var=no"
8203 rm -f core conftest.err conftest.$ac_objext \
8204 conftest$ac_exeext conftest.$ac_ext
8205 CFLAGS=$ac_wine_try_cflags_saved
8207 eval ac_res=\$$as_ac_var
8208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8209 $as_echo "$ac_res" >&6; }
8210 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8211 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8212 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8213 else
8214 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8216 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8217 if eval \${$as_ac_var+:} false; then :
8218 $as_echo_n "(cached) " >&6
8219 else
8220 ac_wine_try_cflags_saved=$CFLAGS
8221 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8223 /* end confdefs.h. */
8224 int main(int argc, char **argv) { return 0; }
8225 _ACEOF
8226 if ac_fn_c_try_link "$LINENO"; then :
8227 eval "$as_ac_var=yes"
8228 else
8229 eval "$as_ac_var=no"
8231 rm -f core conftest.err conftest.$ac_objext \
8232 conftest$ac_exeext conftest.$ac_ext
8233 CFLAGS=$ac_wine_try_cflags_saved
8235 eval ac_res=\$$as_ac_var
8236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8237 $as_echo "$ac_res" >&6; }
8238 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8239 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8240 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8245 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8246 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8247 $as_echo_n "(cached) " >&6
8248 else
8249 ac_wine_try_cflags_saved=$CFLAGS
8250 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8252 /* end confdefs.h. */
8253 int main(int argc, char **argv) { return 0; }
8254 _ACEOF
8255 if ac_fn_c_try_link "$LINENO"; then :
8256 ac_cv_cflags__Wl___enable_new_dtags=yes
8257 else
8258 ac_cv_cflags__Wl___enable_new_dtags=no
8260 rm -f core conftest.err conftest.$ac_objext \
8261 conftest$ac_exeext conftest.$ac_ext
8262 CFLAGS=$ac_wine_try_cflags_saved
8264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8265 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8266 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8267 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8270 case $host_cpu in
8271 *i[3456789]86* | x86_64)
8272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8273 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8274 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8275 $as_echo_n "(cached) " >&6
8276 else
8277 ac_wine_try_cflags_saved=$CFLAGS
8278 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8280 /* end confdefs.h. */
8281 int main(int argc, char **argv) { return 0; }
8282 _ACEOF
8283 if ac_fn_c_try_link "$LINENO"; then :
8284 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8285 else
8286 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8288 rm -f core conftest.err conftest.$ac_objext \
8289 conftest$ac_exeext conftest.$ac_ext
8290 CFLAGS=$ac_wine_try_cflags_saved
8292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8293 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8294 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8295 case $host_os in
8296 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8297 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8298 esac
8301 # Extract the first word of "prelink", so it can be a program name with args.
8302 set dummy prelink; ac_word=$2
8303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8304 $as_echo_n "checking for $ac_word... " >&6; }
8305 if ${ac_cv_path_PRELINK+:} false; then :
8306 $as_echo_n "(cached) " >&6
8307 else
8308 case $PRELINK in
8309 [\\/]* | ?:[\\/]*)
8310 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8314 for as_dir in /sbin /usr/sbin $PATH
8316 IFS=$as_save_IFS
8317 test -z "$as_dir" && as_dir=.
8318 for ac_exec_ext in '' $ac_executable_extensions; do
8319 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8320 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8321 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8322 break 2
8324 done
8325 done
8326 IFS=$as_save_IFS
8328 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8330 esac
8332 PRELINK=$ac_cv_path_PRELINK
8333 if test -n "$PRELINK"; then
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8335 $as_echo "$PRELINK" >&6; }
8336 else
8337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8338 $as_echo "no" >&6; }
8342 if test "x$PRELINK" = xfalse
8343 then
8344 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
8347 esac
8349 else
8350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8351 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8352 if ${ac_cv_c_dll_unixware+:} false; then :
8353 $as_echo_n "(cached) " >&6
8354 else
8355 ac_wine_try_cflags_saved=$CFLAGS
8356 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8358 /* end confdefs.h. */
8359 void myfunc() {}
8360 _ACEOF
8361 if ac_fn_c_try_link "$LINENO"; then :
8362 ac_cv_c_dll_unixware="yes"
8363 else
8364 ac_cv_c_dll_unixware="no"
8366 rm -f core conftest.err conftest.$ac_objext \
8367 conftest$ac_exeext conftest.$ac_ext
8368 CFLAGS=$ac_wine_try_cflags_saved
8370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8371 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8372 if test "$ac_cv_c_dll_unixware" = "yes"
8373 then
8374 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8377 libwine_targets="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8378 LIBWINE_RULES="
8379 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8381 all: libwine.so
8383 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8384 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8386 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8387 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8389 libwine.so: libwine.so.$libwine_soversion
8390 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8392 install install-lib:: libwine.so.$libwine_version
8393 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8394 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8396 install install-dev::
8397 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8399 uninstall::
8400 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8404 as_fn_append LOADER_RULES "
8405 $wine_binary: main.o
8406 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8408 wine-installed: main.o
8409 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8412 esac
8414 as_fn_append LIBWINE_RULES "
8415 EXTRA_TARGETS = $libwine_targets
8418 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8419 enable_winemac_drv=${enable_winemac_drv:-no}
8421 CROSSTARGET=""
8423 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8424 then
8425 case "$host_cpu" in
8426 i[3456789]86*)
8427 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
8428 mingw32-gcc" ;;
8429 x86_64)
8430 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 " ;;
8432 ac_prefix_list="" ;;
8433 esac
8434 for ac_prog in $ac_prefix_list
8436 # Extract the first word of "$ac_prog", so it can be a program name with args.
8437 set dummy $ac_prog; ac_word=$2
8438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8439 $as_echo_n "checking for $ac_word... " >&6; }
8440 if ${ac_cv_prog_CROSSCC+:} false; then :
8441 $as_echo_n "(cached) " >&6
8442 else
8443 if test -n "$CROSSCC"; then
8444 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8445 else
8446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8447 for as_dir in $PATH
8449 IFS=$as_save_IFS
8450 test -z "$as_dir" && as_dir=.
8451 for ac_exec_ext in '' $ac_executable_extensions; do
8452 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8453 ac_cv_prog_CROSSCC="$ac_prog"
8454 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8455 break 2
8457 done
8458 done
8459 IFS=$as_save_IFS
8463 CROSSCC=$ac_cv_prog_CROSSCC
8464 if test -n "$CROSSCC"; then
8465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8466 $as_echo "$CROSSCC" >&6; }
8467 else
8468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8469 $as_echo "no" >&6; }
8473 test -n "$CROSSCC" && break
8474 done
8475 test -n "$CROSSCC" || CROSSCC="false"
8477 if test "$CROSSCC" != "false"
8478 then
8479 ac_save_CC="$CC"
8480 CC="$CROSSCC"
8481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8482 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8484 /* end confdefs.h. */
8487 main ()
8491 return 0;
8493 _ACEOF
8494 if ac_fn_c_try_compile "$LINENO"; then :
8495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8496 $as_echo "yes" >&6; }
8497 set x $CROSSCC
8498 shift
8499 while test $# -ge 1
8501 case "$1" in
8502 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8503 esac
8504 shift
8505 done
8506 else
8507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8508 $as_echo "no" >&6; }
8510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8511 CC="$ac_save_CC"
8516 if test "$ac_cv_header_pthread_h" = "yes"
8517 then
8518 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8519 if test "x$ac_cv_func_pthread_create" = xyes; then :
8521 else
8522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8523 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8524 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8525 $as_echo_n "(cached) " >&6
8526 else
8527 ac_check_lib_save_LIBS=$LIBS
8528 LIBS="-lpthread $LIBS"
8529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8530 /* end confdefs.h. */
8532 /* Override any GCC internal prototype to avoid an error.
8533 Use char because int might match the return type of a GCC
8534 builtin and then its argument prototype would still apply. */
8535 #ifdef __cplusplus
8536 extern "C"
8537 #endif
8538 char pthread_create ();
8540 main ()
8542 return pthread_create ();
8544 return 0;
8546 _ACEOF
8547 if ac_fn_c_try_link "$LINENO"; then :
8548 ac_cv_lib_pthread_pthread_create=yes
8549 else
8550 ac_cv_lib_pthread_pthread_create=no
8552 rm -f core conftest.err conftest.$ac_objext \
8553 conftest$ac_exeext conftest.$ac_ext
8554 LIBS=$ac_check_lib_save_LIBS
8556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8557 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8558 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8559 PTHREAD_LIBS="-lpthread"
8566 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8567 case "x$with_pthread" in
8568 xno) ;;
8569 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8570 Wine cannot support threads without libpthread.
8571 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8572 esac
8576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8577 $as_echo_n "checking for X... " >&6; }
8580 # Check whether --with-x was given.
8581 if test "${with_x+set}" = set; then :
8582 withval=$with_x;
8585 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8586 if test "x$with_x" = xno; then
8587 # The user explicitly disabled X.
8588 have_x=disabled
8589 else
8590 case $x_includes,$x_libraries in #(
8591 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8592 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8593 $as_echo_n "(cached) " >&6
8594 else
8595 # One or both of the vars are not set, and there is no cached value.
8596 ac_x_includes=no ac_x_libraries=no
8597 rm -f -r conftest.dir
8598 if mkdir conftest.dir; then
8599 cd conftest.dir
8600 cat >Imakefile <<'_ACEOF'
8601 incroot:
8602 @echo incroot='${INCROOT}'
8603 usrlibdir:
8604 @echo usrlibdir='${USRLIBDIR}'
8605 libdir:
8606 @echo libdir='${LIBDIR}'
8607 _ACEOF
8608 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8609 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8610 for ac_var in incroot usrlibdir libdir; do
8611 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8612 done
8613 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8614 for ac_extension in a so sl dylib la dll; do
8615 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8616 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8617 ac_im_usrlibdir=$ac_im_libdir; break
8619 done
8620 # Screen out bogus values from the imake configuration. They are
8621 # bogus both because they are the default anyway, and because
8622 # using them would break gcc on systems where it needs fixed includes.
8623 case $ac_im_incroot in
8624 /usr/include) ac_x_includes= ;;
8625 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8626 esac
8627 case $ac_im_usrlibdir in
8628 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8629 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8630 esac
8632 cd ..
8633 rm -f -r conftest.dir
8636 # Standard set of common directories for X headers.
8637 # Check X11 before X11Rn because it is often a symlink to the current release.
8638 ac_x_header_dirs='
8639 /usr/X11/include
8640 /usr/X11R7/include
8641 /usr/X11R6/include
8642 /usr/X11R5/include
8643 /usr/X11R4/include
8645 /usr/include/X11
8646 /usr/include/X11R7
8647 /usr/include/X11R6
8648 /usr/include/X11R5
8649 /usr/include/X11R4
8651 /usr/local/X11/include
8652 /usr/local/X11R7/include
8653 /usr/local/X11R6/include
8654 /usr/local/X11R5/include
8655 /usr/local/X11R4/include
8657 /usr/local/include/X11
8658 /usr/local/include/X11R7
8659 /usr/local/include/X11R6
8660 /usr/local/include/X11R5
8661 /usr/local/include/X11R4
8663 /usr/X386/include
8664 /usr/x386/include
8665 /usr/XFree86/include/X11
8667 /usr/include
8668 /usr/local/include
8669 /usr/unsupported/include
8670 /usr/athena/include
8671 /usr/local/x11r5/include
8672 /usr/lpp/Xamples/include
8674 /usr/openwin/include
8675 /usr/openwin/share/include'
8677 if test "$ac_x_includes" = no; then
8678 # Guess where to find include files, by looking for Xlib.h.
8679 # First, try using that file with no special directory specified.
8680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8681 /* end confdefs.h. */
8682 #include <X11/Xlib.h>
8683 _ACEOF
8684 if ac_fn_c_try_cpp "$LINENO"; then :
8685 # We can compile using X headers with no special include directory.
8686 ac_x_includes=
8687 else
8688 for ac_dir in $ac_x_header_dirs; do
8689 if test -r "$ac_dir/X11/Xlib.h"; then
8690 ac_x_includes=$ac_dir
8691 break
8693 done
8695 rm -f conftest.err conftest.i conftest.$ac_ext
8696 fi # $ac_x_includes = no
8698 if test "$ac_x_libraries" = no; then
8699 # Check for the libraries.
8700 # See if we find them without any special options.
8701 # Don't add to $LIBS permanently.
8702 ac_save_LIBS=$LIBS
8703 LIBS="-lX11 $LIBS"
8704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8705 /* end confdefs.h. */
8706 #include <X11/Xlib.h>
8708 main ()
8710 XrmInitialize ()
8712 return 0;
8714 _ACEOF
8715 if ac_fn_c_try_link "$LINENO"; then :
8716 LIBS=$ac_save_LIBS
8717 # We can link X programs with no special library path.
8718 ac_x_libraries=
8719 else
8720 LIBS=$ac_save_LIBS
8721 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8723 # Don't even attempt the hair of trying to link an X program!
8724 for ac_extension in a so sl dylib la dll; do
8725 if test -r "$ac_dir/libX11.$ac_extension"; then
8726 ac_x_libraries=$ac_dir
8727 break 2
8729 done
8730 done
8732 rm -f core conftest.err conftest.$ac_objext \
8733 conftest$ac_exeext conftest.$ac_ext
8734 fi # $ac_x_libraries = no
8736 case $ac_x_includes,$ac_x_libraries in #(
8737 no,* | *,no | *\'*)
8738 # Didn't find X, or a directory has "'" in its name.
8739 ac_cv_have_x="have_x=no";; #(
8741 # Record where we found X for the cache.
8742 ac_cv_have_x="have_x=yes\
8743 ac_x_includes='$ac_x_includes'\
8744 ac_x_libraries='$ac_x_libraries'"
8745 esac
8747 ;; #(
8748 *) have_x=yes;;
8749 esac
8750 eval "$ac_cv_have_x"
8751 fi # $with_x != no
8753 if test "$have_x" != yes; then
8754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8755 $as_echo "$have_x" >&6; }
8756 no_x=yes
8757 else
8758 # If each of the values was on the command line, it overrides each guess.
8759 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
8760 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
8761 # Update the cache value to reflect the command line values.
8762 ac_cv_have_x="have_x=yes\
8763 ac_x_includes='$x_includes'\
8764 ac_x_libraries='$x_libraries'"
8765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8766 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8769 if test "$no_x" = yes; then
8770 # Not all programs may use this symbol, but it does not hurt to define it.
8772 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8774 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
8775 else
8776 if test -n "$x_includes"; then
8777 X_CFLAGS="$X_CFLAGS -I$x_includes"
8780 # It would also be nice to do this for all -L options, not just this one.
8781 if test -n "$x_libraries"; then
8782 X_LIBS="$X_LIBS -L$x_libraries"
8783 # For Solaris; some versions of Sun CC require a space after -R and
8784 # others require no space. Words are not sufficient . . . .
8785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8786 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8787 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
8788 ac_xsave_c_werror_flag=$ac_c_werror_flag
8789 ac_c_werror_flag=yes
8790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8791 /* end confdefs.h. */
8794 main ()
8798 return 0;
8800 _ACEOF
8801 if ac_fn_c_try_link "$LINENO"; then :
8802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8803 $as_echo "no" >&6; }
8804 X_LIBS="$X_LIBS -R$x_libraries"
8805 else
8806 LIBS="$ac_xsave_LIBS -R $x_libraries"
8807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8808 /* end confdefs.h. */
8811 main ()
8815 return 0;
8817 _ACEOF
8818 if ac_fn_c_try_link "$LINENO"; then :
8819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8820 $as_echo "yes" >&6; }
8821 X_LIBS="$X_LIBS -R $x_libraries"
8822 else
8823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8824 $as_echo "neither works" >&6; }
8826 rm -f core conftest.err conftest.$ac_objext \
8827 conftest$ac_exeext conftest.$ac_ext
8829 rm -f core conftest.err conftest.$ac_objext \
8830 conftest$ac_exeext conftest.$ac_ext
8831 ac_c_werror_flag=$ac_xsave_c_werror_flag
8832 LIBS=$ac_xsave_LIBS
8835 # Check for system-dependent libraries X programs must link with.
8836 # Do this before checking for the system-independent R6 libraries
8837 # (-lICE), since we may need -lsocket or whatever for X linking.
8839 if test "$ISC" = yes; then
8840 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
8841 else
8842 # Martyn Johnson says this is needed for Ultrix, if the X
8843 # libraries were built with DECnet support. And Karl Berry says
8844 # the Alpha needs dnet_stub (dnet does not exist).
8845 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
8846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8847 /* end confdefs.h. */
8849 /* Override any GCC internal prototype to avoid an error.
8850 Use char because int might match the return type of a GCC
8851 builtin and then its argument prototype would still apply. */
8852 #ifdef __cplusplus
8853 extern "C"
8854 #endif
8855 char XOpenDisplay ();
8857 main ()
8859 return XOpenDisplay ();
8861 return 0;
8863 _ACEOF
8864 if ac_fn_c_try_link "$LINENO"; then :
8866 else
8867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8868 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8869 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
8870 $as_echo_n "(cached) " >&6
8871 else
8872 ac_check_lib_save_LIBS=$LIBS
8873 LIBS="-ldnet $LIBS"
8874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8875 /* end confdefs.h. */
8877 /* Override any GCC internal prototype to avoid an error.
8878 Use char because int might match the return type of a GCC
8879 builtin and then its argument prototype would still apply. */
8880 #ifdef __cplusplus
8881 extern "C"
8882 #endif
8883 char dnet_ntoa ();
8885 main ()
8887 return dnet_ntoa ();
8889 return 0;
8891 _ACEOF
8892 if ac_fn_c_try_link "$LINENO"; then :
8893 ac_cv_lib_dnet_dnet_ntoa=yes
8894 else
8895 ac_cv_lib_dnet_dnet_ntoa=no
8897 rm -f core conftest.err conftest.$ac_objext \
8898 conftest$ac_exeext conftest.$ac_ext
8899 LIBS=$ac_check_lib_save_LIBS
8901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8902 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8903 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
8904 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
8907 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
8908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8909 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8910 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
8911 $as_echo_n "(cached) " >&6
8912 else
8913 ac_check_lib_save_LIBS=$LIBS
8914 LIBS="-ldnet_stub $LIBS"
8915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8916 /* end confdefs.h. */
8918 /* Override any GCC internal prototype to avoid an error.
8919 Use char because int might match the return type of a GCC
8920 builtin and then its argument prototype would still apply. */
8921 #ifdef __cplusplus
8922 extern "C"
8923 #endif
8924 char dnet_ntoa ();
8926 main ()
8928 return dnet_ntoa ();
8930 return 0;
8932 _ACEOF
8933 if ac_fn_c_try_link "$LINENO"; then :
8934 ac_cv_lib_dnet_stub_dnet_ntoa=yes
8935 else
8936 ac_cv_lib_dnet_stub_dnet_ntoa=no
8938 rm -f core conftest.err conftest.$ac_objext \
8939 conftest$ac_exeext conftest.$ac_ext
8940 LIBS=$ac_check_lib_save_LIBS
8942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8943 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
8944 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
8945 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
8950 rm -f core conftest.err conftest.$ac_objext \
8951 conftest$ac_exeext conftest.$ac_ext
8952 LIBS="$ac_xsave_LIBS"
8954 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8955 # to get the SysV transport functions.
8956 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
8957 # needs -lnsl.
8958 # The nsl library prevents programs from opening the X display
8959 # on Irix 5.2, according to T.E. Dickey.
8960 # The functions gethostbyname, getservbyname, and inet_addr are
8961 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
8962 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
8963 if test "x$ac_cv_func_gethostbyname" = xyes; then :
8967 if test $ac_cv_func_gethostbyname = no; then
8968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
8969 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
8970 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
8971 $as_echo_n "(cached) " >&6
8972 else
8973 ac_check_lib_save_LIBS=$LIBS
8974 LIBS="-lnsl $LIBS"
8975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8976 /* end confdefs.h. */
8978 /* Override any GCC internal prototype to avoid an error.
8979 Use char because int might match the return type of a GCC
8980 builtin and then its argument prototype would still apply. */
8981 #ifdef __cplusplus
8982 extern "C"
8983 #endif
8984 char gethostbyname ();
8986 main ()
8988 return gethostbyname ();
8990 return 0;
8992 _ACEOF
8993 if ac_fn_c_try_link "$LINENO"; then :
8994 ac_cv_lib_nsl_gethostbyname=yes
8995 else
8996 ac_cv_lib_nsl_gethostbyname=no
8998 rm -f core conftest.err conftest.$ac_objext \
8999 conftest$ac_exeext conftest.$ac_ext
9000 LIBS=$ac_check_lib_save_LIBS
9002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9003 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9004 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9005 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9008 if test $ac_cv_lib_nsl_gethostbyname = no; then
9009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9010 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9011 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9012 $as_echo_n "(cached) " >&6
9013 else
9014 ac_check_lib_save_LIBS=$LIBS
9015 LIBS="-lbsd $LIBS"
9016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9017 /* end confdefs.h. */
9019 /* Override any GCC internal prototype to avoid an error.
9020 Use char because int might match the return type of a GCC
9021 builtin and then its argument prototype would still apply. */
9022 #ifdef __cplusplus
9023 extern "C"
9024 #endif
9025 char gethostbyname ();
9027 main ()
9029 return gethostbyname ();
9031 return 0;
9033 _ACEOF
9034 if ac_fn_c_try_link "$LINENO"; then :
9035 ac_cv_lib_bsd_gethostbyname=yes
9036 else
9037 ac_cv_lib_bsd_gethostbyname=no
9039 rm -f core conftest.err conftest.$ac_objext \
9040 conftest$ac_exeext conftest.$ac_ext
9041 LIBS=$ac_check_lib_save_LIBS
9043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9044 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9045 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9046 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9052 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9053 # socket/setsockopt and other routines are undefined under SCO ODT
9054 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9055 # on later versions), says Simon Leinen: it contains gethostby*
9056 # variants that don't use the name server (or something). -lsocket
9057 # must be given before -lnsl if both are needed. We assume that
9058 # if connect needs -lnsl, so does gethostbyname.
9059 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9060 if test "x$ac_cv_func_connect" = xyes; then :
9064 if test $ac_cv_func_connect = no; then
9065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9066 $as_echo_n "checking for connect in -lsocket... " >&6; }
9067 if ${ac_cv_lib_socket_connect+:} false; then :
9068 $as_echo_n "(cached) " >&6
9069 else
9070 ac_check_lib_save_LIBS=$LIBS
9071 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9073 /* end confdefs.h. */
9075 /* Override any GCC internal prototype to avoid an error.
9076 Use char because int might match the return type of a GCC
9077 builtin and then its argument prototype would still apply. */
9078 #ifdef __cplusplus
9079 extern "C"
9080 #endif
9081 char connect ();
9083 main ()
9085 return connect ();
9087 return 0;
9089 _ACEOF
9090 if ac_fn_c_try_link "$LINENO"; then :
9091 ac_cv_lib_socket_connect=yes
9092 else
9093 ac_cv_lib_socket_connect=no
9095 rm -f core conftest.err conftest.$ac_objext \
9096 conftest$ac_exeext conftest.$ac_ext
9097 LIBS=$ac_check_lib_save_LIBS
9099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9100 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9101 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9102 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9107 # Guillermo Gomez says -lposix is necessary on A/UX.
9108 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9109 if test "x$ac_cv_func_remove" = xyes; then :
9113 if test $ac_cv_func_remove = no; then
9114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9115 $as_echo_n "checking for remove in -lposix... " >&6; }
9116 if ${ac_cv_lib_posix_remove+:} false; then :
9117 $as_echo_n "(cached) " >&6
9118 else
9119 ac_check_lib_save_LIBS=$LIBS
9120 LIBS="-lposix $LIBS"
9121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9122 /* end confdefs.h. */
9124 /* Override any GCC internal prototype to avoid an error.
9125 Use char because int might match the return type of a GCC
9126 builtin and then its argument prototype would still apply. */
9127 #ifdef __cplusplus
9128 extern "C"
9129 #endif
9130 char remove ();
9132 main ()
9134 return remove ();
9136 return 0;
9138 _ACEOF
9139 if ac_fn_c_try_link "$LINENO"; then :
9140 ac_cv_lib_posix_remove=yes
9141 else
9142 ac_cv_lib_posix_remove=no
9144 rm -f core conftest.err conftest.$ac_objext \
9145 conftest$ac_exeext conftest.$ac_ext
9146 LIBS=$ac_check_lib_save_LIBS
9148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9149 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9150 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9151 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9156 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9157 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9158 if test "x$ac_cv_func_shmat" = xyes; then :
9162 if test $ac_cv_func_shmat = no; then
9163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9164 $as_echo_n "checking for shmat in -lipc... " >&6; }
9165 if ${ac_cv_lib_ipc_shmat+:} false; then :
9166 $as_echo_n "(cached) " >&6
9167 else
9168 ac_check_lib_save_LIBS=$LIBS
9169 LIBS="-lipc $LIBS"
9170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9171 /* end confdefs.h. */
9173 /* Override any GCC internal prototype to avoid an error.
9174 Use char because int might match the return type of a GCC
9175 builtin and then its argument prototype would still apply. */
9176 #ifdef __cplusplus
9177 extern "C"
9178 #endif
9179 char shmat ();
9181 main ()
9183 return shmat ();
9185 return 0;
9187 _ACEOF
9188 if ac_fn_c_try_link "$LINENO"; then :
9189 ac_cv_lib_ipc_shmat=yes
9190 else
9191 ac_cv_lib_ipc_shmat=no
9193 rm -f core conftest.err conftest.$ac_objext \
9194 conftest$ac_exeext conftest.$ac_ext
9195 LIBS=$ac_check_lib_save_LIBS
9197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9198 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9199 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9200 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9206 # Check for libraries that X11R6 Xt/Xaw programs need.
9207 ac_save_LDFLAGS=$LDFLAGS
9208 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9209 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9210 # check for ICE first), but we must link in the order -lSM -lICE or
9211 # we get undefined symbols. So assume we have SM if we have ICE.
9212 # These have to be linked with before -lX11, unlike the other
9213 # libraries we check for below, so use a different variable.
9214 # John Interrante, Karl Berry
9215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9216 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9217 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9218 $as_echo_n "(cached) " >&6
9219 else
9220 ac_check_lib_save_LIBS=$LIBS
9221 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9223 /* end confdefs.h. */
9225 /* Override any GCC internal prototype to avoid an error.
9226 Use char because int might match the return type of a GCC
9227 builtin and then its argument prototype would still apply. */
9228 #ifdef __cplusplus
9229 extern "C"
9230 #endif
9231 char IceConnectionNumber ();
9233 main ()
9235 return IceConnectionNumber ();
9237 return 0;
9239 _ACEOF
9240 if ac_fn_c_try_link "$LINENO"; then :
9241 ac_cv_lib_ICE_IceConnectionNumber=yes
9242 else
9243 ac_cv_lib_ICE_IceConnectionNumber=no
9245 rm -f core conftest.err conftest.$ac_objext \
9246 conftest$ac_exeext conftest.$ac_ext
9247 LIBS=$ac_check_lib_save_LIBS
9249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9250 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9251 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9252 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9255 LDFLAGS=$ac_save_LDFLAGS
9260 if test "$have_x" = "yes"
9261 then
9262 ac_save_CPPFLAGS="$CPPFLAGS"
9263 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9266 $as_echo_n "checking for -lX11... " >&6; }
9267 if ${ac_cv_lib_soname_X11+:} false; then :
9268 $as_echo_n "(cached) " >&6
9269 else
9270 ac_check_soname_save_LIBS=$LIBS
9271 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9273 /* end confdefs.h. */
9275 /* Override any GCC internal prototype to avoid an error.
9276 Use char because int might match the return type of a GCC
9277 builtin and then its argument prototype would still apply. */
9278 #ifdef __cplusplus
9279 extern "C"
9280 #endif
9281 char XCreateWindow ();
9283 main ()
9285 return XCreateWindow ();
9287 return 0;
9289 _ACEOF
9290 if ac_fn_c_try_link "$LINENO"; then :
9291 case "$LIBEXT" in
9292 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9293 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'` ;;
9294 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9295 if ${ac_cv_lib_soname_X11:+false} :; then :
9296 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9297 fi ;;
9298 esac
9300 rm -f core conftest.err conftest.$ac_objext \
9301 conftest$ac_exeext conftest.$ac_ext
9302 LIBS=$ac_check_soname_save_LIBS
9304 if ${ac_cv_lib_soname_X11:+false} :; then :
9305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9306 $as_echo "not found" >&6; }
9308 else
9309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9310 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9312 cat >>confdefs.h <<_ACEOF
9313 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9314 _ACEOF
9318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9319 $as_echo_n "checking for -lXext... " >&6; }
9320 if ${ac_cv_lib_soname_Xext+:} false; then :
9321 $as_echo_n "(cached) " >&6
9322 else
9323 ac_check_soname_save_LIBS=$LIBS
9324 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9326 /* end confdefs.h. */
9328 /* Override any GCC internal prototype to avoid an error.
9329 Use char because int might match the return type of a GCC
9330 builtin and then its argument prototype would still apply. */
9331 #ifdef __cplusplus
9332 extern "C"
9333 #endif
9334 char XextCreateExtension ();
9336 main ()
9338 return XextCreateExtension ();
9340 return 0;
9342 _ACEOF
9343 if ac_fn_c_try_link "$LINENO"; then :
9344 case "$LIBEXT" in
9345 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9346 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'` ;;
9347 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9348 if ${ac_cv_lib_soname_Xext:+false} :; then :
9349 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9350 fi ;;
9351 esac
9353 rm -f core conftest.err conftest.$ac_objext \
9354 conftest$ac_exeext conftest.$ac_ext
9355 LIBS=$ac_check_soname_save_LIBS
9357 if ${ac_cv_lib_soname_Xext:+false} :; then :
9358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9359 $as_echo "not found" >&6; }
9361 else
9362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9363 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9365 cat >>confdefs.h <<_ACEOF
9366 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9367 _ACEOF
9369 X_LIBS="$X_LIBS -lXext"
9371 X_LIBS="$X_LIBS -lX11"
9373 for ac_header in X11/Xlib.h \
9374 X11/XKBlib.h \
9375 X11/Xutil.h \
9376 X11/Xcursor/Xcursor.h \
9377 X11/extensions/shape.h \
9378 X11/extensions/XInput.h \
9379 X11/extensions/XInput2.h \
9380 X11/extensions/XShm.h \
9381 X11/extensions/Xcomposite.h \
9382 X11/extensions/Xinerama.h \
9383 X11/extensions/Xrandr.h \
9384 X11/extensions/Xrender.h \
9385 X11/extensions/xf86vmode.h \
9386 X11/extensions/xf86vmproto.h
9387 do :
9388 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9389 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9390 # include <X11/Xlib.h>
9391 #endif
9392 #ifdef HAVE_X11_XUTIL_H
9393 # include <X11/Xutil.h>
9394 #endif
9396 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9397 cat >>confdefs.h <<_ACEOF
9398 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9399 _ACEOF
9403 done
9406 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9407 then
9408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9409 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9410 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9411 $as_echo_n "(cached) " >&6
9412 else
9413 ac_check_lib_save_LIBS=$LIBS
9414 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9416 /* end confdefs.h. */
9418 /* Override any GCC internal prototype to avoid an error.
9419 Use char because int might match the return type of a GCC
9420 builtin and then its argument prototype would still apply. */
9421 #ifdef __cplusplus
9422 extern "C"
9423 #endif
9424 char XkbQueryExtension ();
9426 main ()
9428 return XkbQueryExtension ();
9430 return 0;
9432 _ACEOF
9433 if ac_fn_c_try_link "$LINENO"; then :
9434 ac_cv_lib_X11_XkbQueryExtension=yes
9435 else
9436 ac_cv_lib_X11_XkbQueryExtension=no
9438 rm -f core conftest.err conftest.$ac_objext \
9439 conftest$ac_exeext conftest.$ac_ext
9440 LIBS=$ac_check_lib_save_LIBS
9442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9443 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9444 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9446 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9452 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9453 then
9454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9455 $as_echo_n "checking for -lXcursor... " >&6; }
9456 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9457 $as_echo_n "(cached) " >&6
9458 else
9459 ac_check_soname_save_LIBS=$LIBS
9460 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9462 /* end confdefs.h. */
9464 /* Override any GCC internal prototype to avoid an error.
9465 Use char because int might match the return type of a GCC
9466 builtin and then its argument prototype would still apply. */
9467 #ifdef __cplusplus
9468 extern "C"
9469 #endif
9470 char XcursorImageLoadCursor ();
9472 main ()
9474 return XcursorImageLoadCursor ();
9476 return 0;
9478 _ACEOF
9479 if ac_fn_c_try_link "$LINENO"; then :
9480 case "$LIBEXT" in
9481 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9482 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'` ;;
9483 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9484 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9485 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9486 fi ;;
9487 esac
9489 rm -f core conftest.err conftest.$ac_objext \
9490 conftest$ac_exeext conftest.$ac_ext
9491 LIBS=$ac_check_soname_save_LIBS
9493 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9495 $as_echo "not found" >&6; }
9497 else
9498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9499 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9501 cat >>confdefs.h <<_ACEOF
9502 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9503 _ACEOF
9508 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9509 case "x$with_xcursor" in
9510 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9511 xno) ;;
9512 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9513 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9514 esac
9517 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9518 then
9519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9520 $as_echo_n "checking for -lXi... " >&6; }
9521 if ${ac_cv_lib_soname_Xi+:} false; then :
9522 $as_echo_n "(cached) " >&6
9523 else
9524 ac_check_soname_save_LIBS=$LIBS
9525 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9527 /* end confdefs.h. */
9529 /* Override any GCC internal prototype to avoid an error.
9530 Use char because int might match the return type of a GCC
9531 builtin and then its argument prototype would still apply. */
9532 #ifdef __cplusplus
9533 extern "C"
9534 #endif
9535 char XOpenDevice ();
9537 main ()
9539 return XOpenDevice ();
9541 return 0;
9543 _ACEOF
9544 if ac_fn_c_try_link "$LINENO"; then :
9545 case "$LIBEXT" in
9546 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9547 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'` ;;
9548 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9549 if ${ac_cv_lib_soname_Xi:+false} :; then :
9550 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9551 fi ;;
9552 esac
9554 rm -f core conftest.err conftest.$ac_objext \
9555 conftest$ac_exeext conftest.$ac_ext
9556 LIBS=$ac_check_soname_save_LIBS
9558 if ${ac_cv_lib_soname_Xi:+false} :; then :
9559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9560 $as_echo "not found" >&6; }
9562 else
9563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9564 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9566 cat >>confdefs.h <<_ACEOF
9567 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9568 _ACEOF
9573 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9574 case "x$with_xinput" in
9575 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9576 xno) ;;
9577 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9578 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9579 esac
9582 if test "x$ac_cv_lib_soname_Xi" != x
9583 then
9584 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9585 case "x$with_xinput2" in
9586 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9587 xno) ;;
9588 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9589 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9590 esac
9594 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9595 then
9596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9597 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9598 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9599 $as_echo_n "(cached) " >&6
9600 else
9601 ac_check_lib_save_LIBS=$LIBS
9602 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9604 /* end confdefs.h. */
9606 /* Override any GCC internal prototype to avoid an error.
9607 Use char because int might match the return type of a GCC
9608 builtin and then its argument prototype would still apply. */
9609 #ifdef __cplusplus
9610 extern "C"
9611 #endif
9612 char XShmQueryExtension ();
9614 main ()
9616 return XShmQueryExtension ();
9618 return 0;
9620 _ACEOF
9621 if ac_fn_c_try_link "$LINENO"; then :
9622 ac_cv_lib_Xext_XShmQueryExtension=yes
9623 else
9624 ac_cv_lib_Xext_XShmQueryExtension=no
9626 rm -f core conftest.err conftest.$ac_objext \
9627 conftest$ac_exeext conftest.$ac_ext
9628 LIBS=$ac_check_lib_save_LIBS
9630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9631 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9632 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9634 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9639 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9640 case "x$with_xshm" in
9641 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9642 xno) ;;
9643 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9644 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9645 esac
9648 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9649 then
9650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9651 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9652 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9653 $as_echo_n "(cached) " >&6
9654 else
9655 ac_check_lib_save_LIBS=$LIBS
9656 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9658 /* end confdefs.h. */
9660 /* Override any GCC internal prototype to avoid an error.
9661 Use char because int might match the return type of a GCC
9662 builtin and then its argument prototype would still apply. */
9663 #ifdef __cplusplus
9664 extern "C"
9665 #endif
9666 char XShapeQueryExtension ();
9668 main ()
9670 return XShapeQueryExtension ();
9672 return 0;
9674 _ACEOF
9675 if ac_fn_c_try_link "$LINENO"; then :
9676 ac_cv_lib_Xext_XShapeQueryExtension=yes
9677 else
9678 ac_cv_lib_Xext_XShapeQueryExtension=no
9680 rm -f core conftest.err conftest.$ac_objext \
9681 conftest$ac_exeext conftest.$ac_ext
9682 LIBS=$ac_check_lib_save_LIBS
9684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9685 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9686 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9688 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9693 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9694 case "x$with_xshape" in
9695 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9696 xno) ;;
9697 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
9698 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9699 esac
9702 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9703 then
9704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9705 $as_echo_n "checking for -lXxf86vm... " >&6; }
9706 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
9707 $as_echo_n "(cached) " >&6
9708 else
9709 ac_check_soname_save_LIBS=$LIBS
9710 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9712 /* end confdefs.h. */
9714 /* Override any GCC internal prototype to avoid an error.
9715 Use char because int might match the return type of a GCC
9716 builtin and then its argument prototype would still apply. */
9717 #ifdef __cplusplus
9718 extern "C"
9719 #endif
9720 char XF86VidModeQueryExtension ();
9722 main ()
9724 return XF86VidModeQueryExtension ();
9726 return 0;
9728 _ACEOF
9729 if ac_fn_c_try_link "$LINENO"; then :
9730 case "$LIBEXT" in
9731 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9732 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'` ;;
9733 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9734 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9735 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9736 fi ;;
9737 esac
9739 rm -f core conftest.err conftest.$ac_objext \
9740 conftest$ac_exeext conftest.$ac_ext
9741 LIBS=$ac_check_soname_save_LIBS
9743 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9745 $as_echo "not found" >&6; }
9747 else
9748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9749 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9751 cat >>confdefs.h <<_ACEOF
9752 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9753 _ACEOF
9758 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9759 case "x$with_xxf86vm" in
9760 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9761 xno) ;;
9762 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9763 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9764 esac
9767 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"
9768 then
9769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9770 $as_echo_n "checking for -lXrender... " >&6; }
9771 if ${ac_cv_lib_soname_Xrender+:} false; then :
9772 $as_echo_n "(cached) " >&6
9773 else
9774 ac_check_soname_save_LIBS=$LIBS
9775 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9777 /* end confdefs.h. */
9779 /* Override any GCC internal prototype to avoid an error.
9780 Use char because int might match the return type of a GCC
9781 builtin and then its argument prototype would still apply. */
9782 #ifdef __cplusplus
9783 extern "C"
9784 #endif
9785 char XRenderQueryExtension ();
9787 main ()
9789 return XRenderQueryExtension ();
9791 return 0;
9793 _ACEOF
9794 if ac_fn_c_try_link "$LINENO"; then :
9795 case "$LIBEXT" in
9796 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9797 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'` ;;
9798 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9799 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9800 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9801 fi ;;
9802 esac
9804 rm -f core conftest.err conftest.$ac_objext \
9805 conftest$ac_exeext conftest.$ac_ext
9806 LIBS=$ac_check_soname_save_LIBS
9808 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9810 $as_echo "not found" >&6; }
9812 else
9813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9814 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9816 cat >>confdefs.h <<_ACEOF
9817 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9818 _ACEOF
9820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9821 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9822 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
9823 $as_echo_n "(cached) " >&6
9824 else
9825 ac_check_lib_save_LIBS=$LIBS
9826 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9828 /* end confdefs.h. */
9830 /* Override any GCC internal prototype to avoid an error.
9831 Use char because int might match the return type of a GCC
9832 builtin and then its argument prototype would still apply. */
9833 #ifdef __cplusplus
9834 extern "C"
9835 #endif
9836 char XRenderSetPictureTransform ();
9838 main ()
9840 return XRenderSetPictureTransform ();
9842 return 0;
9844 _ACEOF
9845 if ac_fn_c_try_link "$LINENO"; then :
9846 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9847 else
9848 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9850 rm -f core conftest.err conftest.$ac_objext \
9851 conftest$ac_exeext conftest.$ac_ext
9852 LIBS=$ac_check_lib_save_LIBS
9854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9855 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9856 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
9858 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9863 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9864 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
9865 $as_echo_n "(cached) " >&6
9866 else
9867 ac_check_lib_save_LIBS=$LIBS
9868 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9870 /* end confdefs.h. */
9872 /* Override any GCC internal prototype to avoid an error.
9873 Use char because int might match the return type of a GCC
9874 builtin and then its argument prototype would still apply. */
9875 #ifdef __cplusplus
9876 extern "C"
9877 #endif
9878 char XRenderCreateLinearGradient ();
9880 main ()
9882 return XRenderCreateLinearGradient ();
9884 return 0;
9886 _ACEOF
9887 if ac_fn_c_try_link "$LINENO"; then :
9888 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
9889 else
9890 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
9892 rm -f core conftest.err conftest.$ac_objext \
9893 conftest$ac_exeext conftest.$ac_ext
9894 LIBS=$ac_check_lib_save_LIBS
9896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9897 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9898 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
9900 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9907 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9908 case "x$with_xrender" in
9909 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9910 xno) ;;
9911 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
9912 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9913 esac
9916 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9917 then
9918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9919 /* end confdefs.h. */
9920 #include <X11/Xlib.h>
9921 #include <X11/extensions/Xrandr.h>
9923 main ()
9925 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9927 return 0;
9929 _ACEOF
9930 if ac_fn_c_try_compile "$LINENO"; then :
9931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9932 $as_echo_n "checking for -lXrandr... " >&6; }
9933 if ${ac_cv_lib_soname_Xrandr+:} false; then :
9934 $as_echo_n "(cached) " >&6
9935 else
9936 ac_check_soname_save_LIBS=$LIBS
9937 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
9938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9939 /* end confdefs.h. */
9941 /* Override any GCC internal prototype to avoid an error.
9942 Use char because int might match the return type of a GCC
9943 builtin and then its argument prototype would still apply. */
9944 #ifdef __cplusplus
9945 extern "C"
9946 #endif
9947 char XRRQueryExtension ();
9949 main ()
9951 return XRRQueryExtension ();
9953 return 0;
9955 _ACEOF
9956 if ac_fn_c_try_link "$LINENO"; then :
9957 case "$LIBEXT" in
9958 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9959 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'` ;;
9960 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9961 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
9962 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9963 fi ;;
9964 esac
9966 rm -f core conftest.err conftest.$ac_objext \
9967 conftest$ac_exeext conftest.$ac_ext
9968 LIBS=$ac_check_soname_save_LIBS
9970 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
9971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9972 $as_echo "not found" >&6; }
9974 else
9975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
9976 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
9978 cat >>confdefs.h <<_ACEOF
9979 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
9980 _ACEOF
9982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9983 /* end confdefs.h. */
9984 #include <X11/Xlib.h>
9985 #include <X11/extensions/Xrandr.h>
9987 main ()
9989 static typeof(XRRGetScreenResources) *f; if (f) return 0;
9991 return 0;
9993 _ACEOF
9994 if ac_fn_c_try_compile "$LINENO"; then :
9996 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
9999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10004 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10005 case "x$with_xrandr" in
10006 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10007 xno) ;;
10008 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10009 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10010 esac
10013 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10014 then
10015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10016 /* end confdefs.h. */
10017 #include <X11/Xlib.h>
10018 #include <X11/extensions/Xinerama.h>
10020 main ()
10022 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10024 return 0;
10026 _ACEOF
10027 if ac_fn_c_try_compile "$LINENO"; then :
10028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10029 $as_echo_n "checking for -lXinerama... " >&6; }
10030 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10031 $as_echo_n "(cached) " >&6
10032 else
10033 ac_check_soname_save_LIBS=$LIBS
10034 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10036 /* end confdefs.h. */
10038 /* Override any GCC internal prototype to avoid an error.
10039 Use char because int might match the return type of a GCC
10040 builtin and then its argument prototype would still apply. */
10041 #ifdef __cplusplus
10042 extern "C"
10043 #endif
10044 char XineramaQueryScreens ();
10046 main ()
10048 return XineramaQueryScreens ();
10050 return 0;
10052 _ACEOF
10053 if ac_fn_c_try_link "$LINENO"; then :
10054 case "$LIBEXT" in
10055 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10056 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'` ;;
10057 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10058 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10059 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10060 fi ;;
10061 esac
10063 rm -f core conftest.err conftest.$ac_objext \
10064 conftest$ac_exeext conftest.$ac_ext
10065 LIBS=$ac_check_soname_save_LIBS
10067 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10069 $as_echo "not found" >&6; }
10071 else
10072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10073 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10075 cat >>confdefs.h <<_ACEOF
10076 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10077 _ACEOF
10082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10084 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10085 case "x$with_xinerama" in
10086 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10087 xno) ;;
10088 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10089 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10090 esac
10093 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10094 then
10095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10096 $as_echo_n "checking for -lXcomposite... " >&6; }
10097 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10098 $as_echo_n "(cached) " >&6
10099 else
10100 ac_check_soname_save_LIBS=$LIBS
10101 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10103 /* end confdefs.h. */
10105 /* Override any GCC internal prototype to avoid an error.
10106 Use char because int might match the return type of a GCC
10107 builtin and then its argument prototype would still apply. */
10108 #ifdef __cplusplus
10109 extern "C"
10110 #endif
10111 char XCompositeRedirectWindow ();
10113 main ()
10115 return XCompositeRedirectWindow ();
10117 return 0;
10119 _ACEOF
10120 if ac_fn_c_try_link "$LINENO"; then :
10121 case "$LIBEXT" in
10122 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10123 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'` ;;
10124 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10125 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10126 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10127 fi ;;
10128 esac
10130 rm -f core conftest.err conftest.$ac_objext \
10131 conftest$ac_exeext conftest.$ac_ext
10132 LIBS=$ac_check_soname_save_LIBS
10134 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10136 $as_echo "not found" >&6; }
10138 else
10139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10140 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10142 cat >>confdefs.h <<_ACEOF
10143 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10144 _ACEOF
10149 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10150 case "x$with_xcomposite" in
10151 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10152 xno) ;;
10153 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10154 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10155 esac
10158 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10159 #include <X11/Xlib.h>
10160 #endif
10162 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10164 cat >>confdefs.h <<_ACEOF
10165 #define HAVE_XICCALLBACK_CALLBACK 1
10166 _ACEOF
10170 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10171 #include <X11/Xlib.h>
10172 #endif
10174 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10176 cat >>confdefs.h <<_ACEOF
10177 #define HAVE_XEVENT_XCOOKIE 1
10178 _ACEOF
10185 opengl_msg=""
10186 if test "x$with_opengl" != "xno"
10187 then
10188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10189 $as_echo_n "checking for -lGL... " >&6; }
10190 if ${ac_cv_lib_soname_GL+:} false; then :
10191 $as_echo_n "(cached) " >&6
10192 else
10193 ac_check_soname_save_LIBS=$LIBS
10194 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10196 /* end confdefs.h. */
10198 /* Override any GCC internal prototype to avoid an error.
10199 Use char because int might match the return type of a GCC
10200 builtin and then its argument prototype would still apply. */
10201 #ifdef __cplusplus
10202 extern "C"
10203 #endif
10204 char glXCreateContext ();
10206 main ()
10208 return glXCreateContext ();
10210 return 0;
10212 _ACEOF
10213 if ac_fn_c_try_link "$LINENO"; then :
10214 case "$LIBEXT" in
10215 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10216 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'` ;;
10217 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10218 if ${ac_cv_lib_soname_GL:+false} :; then :
10219 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10220 fi ;;
10221 esac
10223 rm -f core conftest.err conftest.$ac_objext \
10224 conftest$ac_exeext conftest.$ac_ext
10225 LIBS=$ac_check_soname_save_LIBS
10227 if ${ac_cv_lib_soname_GL:+false} :; then :
10228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10229 $as_echo "not found" >&6; }
10230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10231 $as_echo_n "checking for -lGL... " >&6; }
10232 if ${ac_cv_lib_soname_GL+:} false; then :
10233 $as_echo_n "(cached) " >&6
10234 else
10235 ac_check_soname_save_LIBS=$LIBS
10236 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"
10237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10238 /* end confdefs.h. */
10240 /* Override any GCC internal prototype to avoid an error.
10241 Use char because int might match the return type of a GCC
10242 builtin and then its argument prototype would still apply. */
10243 #ifdef __cplusplus
10244 extern "C"
10245 #endif
10246 char glXCreateContext ();
10248 main ()
10250 return glXCreateContext ();
10252 return 0;
10254 _ACEOF
10255 if ac_fn_c_try_link "$LINENO"; then :
10256 case "$LIBEXT" in
10257 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10258 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'` ;;
10259 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10260 if ${ac_cv_lib_soname_GL:+false} :; then :
10261 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10262 fi ;;
10263 esac
10265 rm -f core conftest.err conftest.$ac_objext \
10266 conftest$ac_exeext conftest.$ac_ext
10267 LIBS=$ac_check_soname_save_LIBS
10269 if ${ac_cv_lib_soname_GL:+false} :; then :
10270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10271 $as_echo "not found" >&6; }
10272 if test -f /usr/X11R6/lib/libGL.a
10273 then
10274 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10275 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10276 else
10277 opengl_msg="No OpenGL library found on this system."
10279 else
10280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10281 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10283 cat >>confdefs.h <<_ACEOF
10284 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10285 _ACEOF
10287 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"
10289 else
10290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10291 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10293 cat >>confdefs.h <<_ACEOF
10294 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10295 _ACEOF
10297 OPENGL_LIBS="-lGL"
10299 if test "x$with_glu" != "xno"
10300 then
10301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10302 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10303 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10304 $as_echo_n "(cached) " >&6
10305 else
10306 ac_check_lib_save_LIBS=$LIBS
10307 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10309 /* end confdefs.h. */
10311 /* Override any GCC internal prototype to avoid an error.
10312 Use char because int might match the return type of a GCC
10313 builtin and then its argument prototype would still apply. */
10314 #ifdef __cplusplus
10315 extern "C"
10316 #endif
10317 char gluLookAt ();
10319 main ()
10321 return gluLookAt ();
10323 return 0;
10325 _ACEOF
10326 if ac_fn_c_try_link "$LINENO"; then :
10327 ac_cv_lib_GLU_gluLookAt=yes
10328 else
10329 ac_cv_lib_GLU_gluLookAt=no
10331 rm -f core conftest.err conftest.$ac_objext \
10332 conftest$ac_exeext conftest.$ac_ext
10333 LIBS=$ac_check_lib_save_LIBS
10335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10336 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10337 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10341 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10342 case "x$with_glu" in
10343 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10344 xno) ;;
10345 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10346 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10347 esac
10351 if test "x$with_osmesa" != "xno"
10352 then
10353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10354 $as_echo_n "checking for -lOSMesa... " >&6; }
10355 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10356 $as_echo_n "(cached) " >&6
10357 else
10358 ac_check_soname_save_LIBS=$LIBS
10359 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10361 /* end confdefs.h. */
10363 /* Override any GCC internal prototype to avoid an error.
10364 Use char because int might match the return type of a GCC
10365 builtin and then its argument prototype would still apply. */
10366 #ifdef __cplusplus
10367 extern "C"
10368 #endif
10369 char glAccum ();
10371 main ()
10373 return glAccum ();
10375 return 0;
10377 _ACEOF
10378 if ac_fn_c_try_link "$LINENO"; then :
10379 case "$LIBEXT" in
10380 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10381 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'` ;;
10382 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10383 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10384 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10385 fi ;;
10386 esac
10388 rm -f core conftest.err conftest.$ac_objext \
10389 conftest$ac_exeext conftest.$ac_ext
10390 LIBS=$ac_check_soname_save_LIBS
10392 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10394 $as_echo "not found" >&6; }
10396 else
10397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10398 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10400 cat >>confdefs.h <<_ACEOF
10401 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10402 _ACEOF
10406 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10407 case "x$with_osmesa" in
10408 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10409 xno) ;;
10410 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10411 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10412 esac
10416 if test -n "$opengl_msg"; then :
10417 case "x$with_opengl" in
10418 x) as_fn_append wine_warnings "|$opengl_msg
10419 OpenGL and Direct3D won't be supported." ;;
10420 xno) ;;
10421 *) as_fn_error $? "$opengl_msg
10422 OpenGL and Direct3D won't be supported.
10423 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10424 esac
10427 CPPFLAGS="$ac_save_CPPFLAGS"
10428 else
10429 X_CFLAGS=""
10430 X_LIBS=""
10431 enable_winex11_drv=${enable_winex11_drv:-no}
10433 if test "x$X_LIBS" = "x"; then :
10434 case "x$with_x" in
10435 xno) ;;
10436 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10437 without X support, which probably isn't what you want. You will need
10438 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10439 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10440 esac
10443 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10445 if test "$ac_cv_header_CL_cl_h" = "yes"
10446 then
10447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10448 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10449 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10450 $as_echo_n "(cached) " >&6
10451 else
10452 ac_check_lib_save_LIBS=$LIBS
10453 LIBS="-lOpenCL $LIBS"
10454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10455 /* end confdefs.h. */
10457 /* Override any GCC internal prototype to avoid an error.
10458 Use char because int might match the return type of a GCC
10459 builtin and then its argument prototype would still apply. */
10460 #ifdef __cplusplus
10461 extern "C"
10462 #endif
10463 char clGetPlatformInfo ();
10465 main ()
10467 return clGetPlatformInfo ();
10469 return 0;
10471 _ACEOF
10472 if ac_fn_c_try_link "$LINENO"; then :
10473 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10474 else
10475 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10477 rm -f core conftest.err conftest.$ac_objext \
10478 conftest$ac_exeext conftest.$ac_ext
10479 LIBS=$ac_check_lib_save_LIBS
10481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10482 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10483 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10484 OPENCL_LIBS="-lOpenCL"
10489 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10490 case "x$with_opencl" in
10491 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10492 xno) ;;
10493 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10494 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10495 esac
10497 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10500 if test "x$with_xml" != "xno"
10501 then
10502 if ${XML2_CFLAGS:+false} :; then :
10503 if ${PKG_CONFIG+:} false; then :
10504 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10507 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10508 if ${XML2_LIBS:+false} :; then :
10509 if ${PKG_CONFIG+:} false; then :
10510 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10513 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10514 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10515 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10516 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10517 ac_save_CPPFLAGS=$CPPFLAGS
10518 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10519 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10520 do :
10521 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10522 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10523 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10524 cat >>confdefs.h <<_ACEOF
10525 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10526 _ACEOF
10530 done
10532 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"
10533 then
10534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10535 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10536 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10537 $as_echo_n "(cached) " >&6
10538 else
10539 ac_check_lib_save_LIBS=$LIBS
10540 LIBS="-lxml2 $XML2_LIBS $LIBS"
10541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10542 /* end confdefs.h. */
10544 /* Override any GCC internal prototype to avoid an error.
10545 Use char because int might match the return type of a GCC
10546 builtin and then its argument prototype would still apply. */
10547 #ifdef __cplusplus
10548 extern "C"
10549 #endif
10550 char xmlParseMemory ();
10552 main ()
10554 return xmlParseMemory ();
10556 return 0;
10558 _ACEOF
10559 if ac_fn_c_try_link "$LINENO"; then :
10560 ac_cv_lib_xml2_xmlParseMemory=yes
10561 else
10562 ac_cv_lib_xml2_xmlParseMemory=no
10564 rm -f core conftest.err conftest.$ac_objext \
10565 conftest$ac_exeext conftest.$ac_ext
10566 LIBS=$ac_check_lib_save_LIBS
10568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10569 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10570 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10572 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10574 else
10575 XML2_LIBS=""
10578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10579 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10580 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10581 $as_echo_n "(cached) " >&6
10582 else
10583 ac_check_lib_save_LIBS=$LIBS
10584 LIBS="-lxml2 $XML2_LIBS $LIBS"
10585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10586 /* end confdefs.h. */
10588 /* Override any GCC internal prototype to avoid an error.
10589 Use char because int might match the return type of a GCC
10590 builtin and then its argument prototype would still apply. */
10591 #ifdef __cplusplus
10592 extern "C"
10593 #endif
10594 char xmlReadMemory ();
10596 main ()
10598 return xmlReadMemory ();
10600 return 0;
10602 _ACEOF
10603 if ac_fn_c_try_link "$LINENO"; then :
10604 ac_cv_lib_xml2_xmlReadMemory=yes
10605 else
10606 ac_cv_lib_xml2_xmlReadMemory=no
10608 rm -f core conftest.err conftest.$ac_objext \
10609 conftest$ac_exeext conftest.$ac_ext
10610 LIBS=$ac_check_lib_save_LIBS
10612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10613 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10614 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
10616 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10621 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10622 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
10623 $as_echo_n "(cached) " >&6
10624 else
10625 ac_check_lib_save_LIBS=$LIBS
10626 LIBS="-lxml2 $XML2_LIBS $LIBS"
10627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10628 /* end confdefs.h. */
10630 /* Override any GCC internal prototype to avoid an error.
10631 Use char because int might match the return type of a GCC
10632 builtin and then its argument prototype would still apply. */
10633 #ifdef __cplusplus
10634 extern "C"
10635 #endif
10636 char xmlNewDocPI ();
10638 main ()
10640 return xmlNewDocPI ();
10642 return 0;
10644 _ACEOF
10645 if ac_fn_c_try_link "$LINENO"; then :
10646 ac_cv_lib_xml2_xmlNewDocPI=yes
10647 else
10648 ac_cv_lib_xml2_xmlNewDocPI=no
10650 rm -f core conftest.err conftest.$ac_objext \
10651 conftest$ac_exeext conftest.$ac_ext
10652 LIBS=$ac_check_lib_save_LIBS
10654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10655 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10656 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
10658 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10663 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10664 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
10665 $as_echo_n "(cached) " >&6
10666 else
10667 ac_check_lib_save_LIBS=$LIBS
10668 LIBS="-lxml2 $XML2_LIBS $LIBS"
10669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10670 /* end confdefs.h. */
10672 /* Override any GCC internal prototype to avoid an error.
10673 Use char because int might match the return type of a GCC
10674 builtin and then its argument prototype would still apply. */
10675 #ifdef __cplusplus
10676 extern "C"
10677 #endif
10678 char xmlSchemaSetParserStructuredErrors ();
10680 main ()
10682 return xmlSchemaSetParserStructuredErrors ();
10684 return 0;
10686 _ACEOF
10687 if ac_fn_c_try_link "$LINENO"; then :
10688 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
10689 else
10690 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
10692 rm -f core conftest.err conftest.$ac_objext \
10693 conftest$ac_exeext conftest.$ac_ext
10694 LIBS=$ac_check_lib_save_LIBS
10696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10697 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10698 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
10700 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10705 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10706 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
10707 $as_echo_n "(cached) " >&6
10708 else
10709 ac_check_lib_save_LIBS=$LIBS
10710 LIBS="-lxml2 $XML2_LIBS $LIBS"
10711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10712 /* end confdefs.h. */
10714 /* Override any GCC internal prototype to avoid an error.
10715 Use char because int might match the return type of a GCC
10716 builtin and then its argument prototype would still apply. */
10717 #ifdef __cplusplus
10718 extern "C"
10719 #endif
10720 char xmlSchemaSetValidStructuredErrors ();
10722 main ()
10724 return xmlSchemaSetValidStructuredErrors ();
10726 return 0;
10728 _ACEOF
10729 if ac_fn_c_try_link "$LINENO"; then :
10730 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
10731 else
10732 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
10734 rm -f core conftest.err conftest.$ac_objext \
10735 conftest$ac_exeext conftest.$ac_ext
10736 LIBS=$ac_check_lib_save_LIBS
10738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10739 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10740 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
10742 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10747 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10748 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
10749 $as_echo_n "(cached) " >&6
10750 else
10751 ac_check_lib_save_LIBS=$LIBS
10752 LIBS="-lxml2 $XML2_LIBS $LIBS"
10753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10754 /* end confdefs.h. */
10756 /* Override any GCC internal prototype to avoid an error.
10757 Use char because int might match the return type of a GCC
10758 builtin and then its argument prototype would still apply. */
10759 #ifdef __cplusplus
10760 extern "C"
10761 #endif
10762 char xmlFirstElementChild ();
10764 main ()
10766 return xmlFirstElementChild ();
10768 return 0;
10770 _ACEOF
10771 if ac_fn_c_try_link "$LINENO"; then :
10772 ac_cv_lib_xml2_xmlFirstElementChild=yes
10773 else
10774 ac_cv_lib_xml2_xmlFirstElementChild=no
10776 rm -f core conftest.err conftest.$ac_objext \
10777 conftest$ac_exeext conftest.$ac_ext
10778 LIBS=$ac_check_lib_save_LIBS
10780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10781 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10782 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
10784 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10788 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10790 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
10792 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10796 else
10797 XML2_CFLAGS=""
10798 XML2_LIBS=""
10800 CPPFLAGS=$ac_save_CPPFLAGS
10801 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10802 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10805 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10806 case "x$with_xml" in
10807 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10808 xno) ;;
10809 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10810 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10811 esac
10814 if test "x$with_xslt" != "xno"
10815 then
10816 if ${XSLT_CFLAGS:+false} :; then :
10817 if ${PKG_CONFIG+:} false; then :
10818 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10821 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10822 if ${XSLT_LIBS:+false} :; then :
10823 if ${PKG_CONFIG+:} false; then :
10824 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10827 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10828 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
10829 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
10830 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
10831 ac_save_CPPFLAGS=$CPPFLAGS
10832 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
10833 for ac_header in libxslt/pattern.h libxslt/transform.h
10834 do :
10835 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10836 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10837 # include <libxslt/pattern.h>
10838 #endif
10840 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10841 cat >>confdefs.h <<_ACEOF
10842 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10843 _ACEOF
10847 done
10849 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10850 then
10851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10852 $as_echo_n "checking for -lxslt... " >&6; }
10853 if ${ac_cv_lib_soname_xslt+:} false; then :
10854 $as_echo_n "(cached) " >&6
10855 else
10856 ac_check_soname_save_LIBS=$LIBS
10857 LIBS="-lxslt $XSLT_LIBS $LIBS"
10858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10859 /* end confdefs.h. */
10861 /* Override any GCC internal prototype to avoid an error.
10862 Use char because int might match the return type of a GCC
10863 builtin and then its argument prototype would still apply. */
10864 #ifdef __cplusplus
10865 extern "C"
10866 #endif
10867 char xsltCompilePattern ();
10869 main ()
10871 return xsltCompilePattern ();
10873 return 0;
10875 _ACEOF
10876 if ac_fn_c_try_link "$LINENO"; then :
10877 case "$LIBEXT" in
10878 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10879 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'` ;;
10880 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10881 if ${ac_cv_lib_soname_xslt:+false} :; then :
10882 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10883 fi ;;
10884 esac
10886 rm -f core conftest.err conftest.$ac_objext \
10887 conftest$ac_exeext conftest.$ac_ext
10888 LIBS=$ac_check_soname_save_LIBS
10890 if ${ac_cv_lib_soname_xslt:+false} :; then :
10891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10892 $as_echo "not found" >&6; }
10894 else
10895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
10896 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
10898 cat >>confdefs.h <<_ACEOF
10899 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
10900 _ACEOF
10904 else
10905 XSLT_CFLAGS=""
10907 CPPFLAGS=$ac_save_CPPFLAGS
10908 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10909 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10912 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10913 case "x$with_xslt" in
10914 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
10915 xno) ;;
10916 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
10917 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
10918 esac
10921 if test "x$with_dbus" != "xno"
10922 then
10923 if ${DBUS_CFLAGS:+false} :; then :
10924 if ${PKG_CONFIG+:} false; then :
10925 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
10929 if ${DBUS_LIBS:+false} :; then :
10930 if ${PKG_CONFIG+:} false; then :
10931 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
10936 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
10937 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
10938 ac_save_CPPFLAGS=$CPPFLAGS
10939 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
10940 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
10941 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
10942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
10943 $as_echo_n "checking for -ldbus-1... " >&6; }
10944 if ${ac_cv_lib_soname_dbus_1+:} false; then :
10945 $as_echo_n "(cached) " >&6
10946 else
10947 ac_check_soname_save_LIBS=$LIBS
10948 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
10949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10950 /* end confdefs.h. */
10952 /* Override any GCC internal prototype to avoid an error.
10953 Use char because int might match the return type of a GCC
10954 builtin and then its argument prototype would still apply. */
10955 #ifdef __cplusplus
10956 extern "C"
10957 #endif
10958 char dbus_connection_close ();
10960 main ()
10962 return dbus_connection_close ();
10964 return 0;
10966 _ACEOF
10967 if ac_fn_c_try_link "$LINENO"; then :
10968 case "$LIBEXT" in
10969 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10970 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'` ;;
10971 *) 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'`
10972 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
10973 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10974 fi ;;
10975 esac
10977 rm -f core conftest.err conftest.$ac_objext \
10978 conftest$ac_exeext conftest.$ac_ext
10979 LIBS=$ac_check_soname_save_LIBS
10981 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
10982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10983 $as_echo "not found" >&6; }
10984 DBUS_CFLAGS=""
10985 else
10986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
10987 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
10989 cat >>confdefs.h <<_ACEOF
10990 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
10991 _ACEOF
10995 else
10996 DBUS_CFLAGS=""
11000 CPPFLAGS=$ac_save_CPPFLAGS
11001 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11002 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11005 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11006 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11007 case "x$with_dbus" in
11008 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11009 xno) ;;
11010 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11011 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11012 esac
11015 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11016 then
11017 if ${HAL_CFLAGS:+false} :; then :
11018 if ${PKG_CONFIG+:} false; then :
11019 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11023 if ${HAL_LIBS:+false} :; then :
11024 if ${PKG_CONFIG+:} false; then :
11025 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11029 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11030 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11031 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11032 ac_save_CPPFLAGS=$CPPFLAGS
11033 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11034 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11035 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11037 $as_echo_n "checking for -lhal... " >&6; }
11038 if ${ac_cv_lib_soname_hal+:} false; then :
11039 $as_echo_n "(cached) " >&6
11040 else
11041 ac_check_soname_save_LIBS=$LIBS
11042 LIBS="-lhal $HAL_LIBS $LIBS"
11043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11044 /* end confdefs.h. */
11046 /* Override any GCC internal prototype to avoid an error.
11047 Use char because int might match the return type of a GCC
11048 builtin and then its argument prototype would still apply. */
11049 #ifdef __cplusplus
11050 extern "C"
11051 #endif
11052 char libhal_ctx_new ();
11054 main ()
11056 return libhal_ctx_new ();
11058 return 0;
11060 _ACEOF
11061 if ac_fn_c_try_link "$LINENO"; then :
11062 case "$LIBEXT" in
11063 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11064 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'` ;;
11065 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11066 if ${ac_cv_lib_soname_hal:+false} :; then :
11067 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11068 fi ;;
11069 esac
11071 rm -f core conftest.err conftest.$ac_objext \
11072 conftest$ac_exeext conftest.$ac_ext
11073 LIBS=$ac_check_soname_save_LIBS
11075 if ${ac_cv_lib_soname_hal:+false} :; then :
11076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11077 $as_echo "not found" >&6; }
11078 HAL_CFLAGS=""
11079 else
11080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11081 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11083 cat >>confdefs.h <<_ACEOF
11084 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11085 _ACEOF
11089 else
11090 HAL_CFLAGS=""
11094 CPPFLAGS=$ac_save_CPPFLAGS
11095 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11096 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11098 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11099 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11100 case "x$with_hal" in
11101 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11102 xno) ;;
11103 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11104 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11105 esac
11109 if test "x$with_gnutls" != "xno"
11110 then
11111 if ${GNUTLS_CFLAGS:+false} :; then :
11112 if ${PKG_CONFIG+:} false; then :
11113 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11117 if ${GNUTLS_LIBS:+false} :; then :
11118 if ${PKG_CONFIG+:} false; then :
11119 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11124 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11125 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11126 ac_save_CPPFLAGS=$CPPFLAGS
11127 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11128 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11129 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11131 /* end confdefs.h. */
11132 #include <gnutls/gnutls.h>
11133 #include <gnutls/crypto.h>
11135 main ()
11137 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11139 return 0;
11141 _ACEOF
11142 if ac_fn_c_try_compile "$LINENO"; then :
11143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11144 $as_echo_n "checking for -lgnutls... " >&6; }
11145 if ${ac_cv_lib_soname_gnutls+:} false; then :
11146 $as_echo_n "(cached) " >&6
11147 else
11148 ac_check_soname_save_LIBS=$LIBS
11149 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11151 /* end confdefs.h. */
11153 /* Override any GCC internal prototype to avoid an error.
11154 Use char because int might match the return type of a GCC
11155 builtin and then its argument prototype would still apply. */
11156 #ifdef __cplusplus
11157 extern "C"
11158 #endif
11159 char gnutls_global_init ();
11161 main ()
11163 return gnutls_global_init ();
11165 return 0;
11167 _ACEOF
11168 if ac_fn_c_try_link "$LINENO"; then :
11169 case "$LIBEXT" in
11170 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11171 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'` ;;
11172 *) ac_cv_lib_soname_gnutls=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11173 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11174 ac_cv_lib_soname_gnutls=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11175 fi ;;
11176 esac
11178 rm -f core conftest.err conftest.$ac_objext \
11179 conftest$ac_exeext conftest.$ac_ext
11180 LIBS=$ac_check_soname_save_LIBS
11182 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11184 $as_echo "not found" >&6; }
11185 GNUTLS_CFLAGS=""
11186 else
11187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11188 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11190 cat >>confdefs.h <<_ACEOF
11191 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11192 _ACEOF
11197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11198 else
11199 GNUTLS_CFLAGS=""
11203 CPPFLAGS=$ac_save_CPPFLAGS
11204 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11205 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11208 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11209 case "x$with_gnutls" in
11210 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11211 xno) ;;
11212 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11213 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11214 esac
11217 CURSES_LIBS=""
11218 if test "$ac_cv_header_ncurses_h" = "yes"
11219 then
11220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11221 $as_echo_n "checking for -lncurses... " >&6; }
11222 if ${ac_cv_lib_soname_ncurses+:} false; then :
11223 $as_echo_n "(cached) " >&6
11224 else
11225 ac_check_soname_save_LIBS=$LIBS
11226 LIBS="-lncurses $LIBS"
11227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11228 /* end confdefs.h. */
11230 /* Override any GCC internal prototype to avoid an error.
11231 Use char because int might match the return type of a GCC
11232 builtin and then its argument prototype would still apply. */
11233 #ifdef __cplusplus
11234 extern "C"
11235 #endif
11236 char waddch ();
11238 main ()
11240 return waddch ();
11242 return 0;
11244 _ACEOF
11245 if ac_fn_c_try_link "$LINENO"; then :
11246 case "$LIBEXT" in
11247 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11248 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'` ;;
11249 *) ac_cv_lib_soname_ncurses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11250 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11251 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11252 fi ;;
11253 esac
11255 rm -f core conftest.err conftest.$ac_objext \
11256 conftest$ac_exeext conftest.$ac_ext
11257 LIBS=$ac_check_soname_save_LIBS
11259 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11261 $as_echo "not found" >&6; }
11263 else
11264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11265 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11267 cat >>confdefs.h <<_ACEOF
11268 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11269 _ACEOF
11271 CURSES_LIBS="-lncurses"
11273 elif test "$ac_cv_header_curses_h" = "yes"
11274 then
11275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11276 $as_echo_n "checking for -lcurses... " >&6; }
11277 if ${ac_cv_lib_soname_curses+:} false; then :
11278 $as_echo_n "(cached) " >&6
11279 else
11280 ac_check_soname_save_LIBS=$LIBS
11281 LIBS="-lcurses $LIBS"
11282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11283 /* end confdefs.h. */
11285 /* Override any GCC internal prototype to avoid an error.
11286 Use char because int might match the return type of a GCC
11287 builtin and then its argument prototype would still apply. */
11288 #ifdef __cplusplus
11289 extern "C"
11290 #endif
11291 char waddch ();
11293 main ()
11295 return waddch ();
11297 return 0;
11299 _ACEOF
11300 if ac_fn_c_try_link "$LINENO"; then :
11301 case "$LIBEXT" in
11302 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11303 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'` ;;
11304 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11305 if ${ac_cv_lib_soname_curses:+false} :; then :
11306 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11307 fi ;;
11308 esac
11310 rm -f core conftest.err conftest.$ac_objext \
11311 conftest$ac_exeext conftest.$ac_ext
11312 LIBS=$ac_check_soname_save_LIBS
11314 if ${ac_cv_lib_soname_curses:+false} :; then :
11315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11316 $as_echo "not found" >&6; }
11318 else
11319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11320 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11322 cat >>confdefs.h <<_ACEOF
11323 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11324 _ACEOF
11326 CURSES_LIBS="-lcurses"
11329 ac_save_LIBS="$LIBS"
11330 LIBS="$LIBS $CURSES_LIBS"
11331 for ac_func in mousemask
11332 do :
11333 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11334 if test "x$ac_cv_func_mousemask" = xyes; then :
11335 cat >>confdefs.h <<_ACEOF
11336 #define HAVE_MOUSEMASK 1
11337 _ACEOF
11340 done
11342 LIBS="$ac_save_LIBS"
11343 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11344 case "x$with_curses" in
11345 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11346 xno) ;;
11347 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11348 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11349 esac
11352 if test "x$with_sane" != "xno"
11353 then
11354 if ${SANE_CFLAGS:+false} :; then :
11355 if ${PKG_CONFIG+:} false; then :
11356 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11359 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11360 if ${SANE_LIBS:+false} :; then :
11361 if ${PKG_CONFIG+:} false; then :
11362 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11365 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11367 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11368 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11369 ac_save_CPPFLAGS=$CPPFLAGS
11370 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11371 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11372 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11374 $as_echo_n "checking for -lsane... " >&6; }
11375 if ${ac_cv_lib_soname_sane+:} false; then :
11376 $as_echo_n "(cached) " >&6
11377 else
11378 ac_check_soname_save_LIBS=$LIBS
11379 LIBS="-lsane $SANE_LIBS $LIBS"
11380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11381 /* end confdefs.h. */
11383 /* Override any GCC internal prototype to avoid an error.
11384 Use char because int might match the return type of a GCC
11385 builtin and then its argument prototype would still apply. */
11386 #ifdef __cplusplus
11387 extern "C"
11388 #endif
11389 char sane_init ();
11391 main ()
11393 return sane_init ();
11395 return 0;
11397 _ACEOF
11398 if ac_fn_c_try_link "$LINENO"; then :
11399 case "$LIBEXT" in
11400 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11401 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'` ;;
11402 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11403 if ${ac_cv_lib_soname_sane:+false} :; then :
11404 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11405 fi ;;
11406 esac
11408 rm -f core conftest.err conftest.$ac_objext \
11409 conftest$ac_exeext conftest.$ac_ext
11410 LIBS=$ac_check_soname_save_LIBS
11412 if ${ac_cv_lib_soname_sane:+false} :; then :
11413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11414 $as_echo "not found" >&6; }
11415 SANE_CFLAGS=""
11416 else
11417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11418 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11420 cat >>confdefs.h <<_ACEOF
11421 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11422 _ACEOF
11426 else
11427 SANE_CFLAGS=""
11431 CPPFLAGS=$ac_save_CPPFLAGS
11432 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11433 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11436 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11437 case "x$with_sane" in
11438 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11439 xno) ;;
11440 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11441 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11442 esac
11445 if test "x$with_v4l" != "xno"
11446 then
11447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11448 $as_echo_n "checking for -lv4l1... " >&6; }
11449 if ${ac_cv_lib_soname_v4l1+:} false; then :
11450 $as_echo_n "(cached) " >&6
11451 else
11452 ac_check_soname_save_LIBS=$LIBS
11453 LIBS="-lv4l1 $LIBS"
11454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11455 /* end confdefs.h. */
11457 /* Override any GCC internal prototype to avoid an error.
11458 Use char because int might match the return type of a GCC
11459 builtin and then its argument prototype would still apply. */
11460 #ifdef __cplusplus
11461 extern "C"
11462 #endif
11463 char v4l1_open ();
11465 main ()
11467 return v4l1_open ();
11469 return 0;
11471 _ACEOF
11472 if ac_fn_c_try_link "$LINENO"; then :
11473 case "$LIBEXT" in
11474 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11475 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'` ;;
11476 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11477 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11478 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11479 fi ;;
11480 esac
11482 rm -f core conftest.err conftest.$ac_objext \
11483 conftest$ac_exeext conftest.$ac_ext
11484 LIBS=$ac_check_soname_save_LIBS
11486 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11488 $as_echo "not found" >&6; }
11490 else
11491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11492 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11494 cat >>confdefs.h <<_ACEOF
11495 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11496 _ACEOF
11501 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11502 case "x$with_v4l" in
11503 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11504 xno) ;;
11505 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11506 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11507 esac
11510 if test "x$with_gphoto" != "xno"
11511 then
11512 if ${GPHOTO2_CFLAGS:+false} :; then :
11513 if ${PKG_CONFIG+:} false; then :
11514 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11517 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11518 if ${GPHOTO2_LIBS:+false} :; then :
11519 if ${PKG_CONFIG+:} false; then :
11520 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11523 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11524 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11525 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11526 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11527 ac_save_CPPFLAGS=$CPPFLAGS
11528 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11529 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11530 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11532 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11533 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11534 $as_echo_n "(cached) " >&6
11535 else
11536 ac_check_lib_save_LIBS=$LIBS
11537 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11539 /* end confdefs.h. */
11541 /* Override any GCC internal prototype to avoid an error.
11542 Use char because int might match the return type of a GCC
11543 builtin and then its argument prototype would still apply. */
11544 #ifdef __cplusplus
11545 extern "C"
11546 #endif
11547 char gp_camera_new ();
11549 main ()
11551 return gp_camera_new ();
11553 return 0;
11555 _ACEOF
11556 if ac_fn_c_try_link "$LINENO"; then :
11557 ac_cv_lib_gphoto2_gp_camera_new=yes
11558 else
11559 ac_cv_lib_gphoto2_gp_camera_new=no
11561 rm -f core conftest.err conftest.$ac_objext \
11562 conftest$ac_exeext conftest.$ac_ext
11563 LIBS=$ac_check_lib_save_LIBS
11565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11566 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11567 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11569 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11571 else
11572 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11575 else
11576 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11580 CPPFLAGS=$ac_save_CPPFLAGS
11581 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11582 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11584 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11585 if ${PKG_CONFIG+:} false; then :
11586 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11589 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11590 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11591 if ${PKG_CONFIG+:} false; then :
11592 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11595 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11596 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11597 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11598 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11599 ac_save_CPPFLAGS=$CPPFLAGS
11600 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11601 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11602 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11604 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11605 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11606 $as_echo_n "(cached) " >&6
11607 else
11608 ac_check_lib_save_LIBS=$LIBS
11609 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11611 /* end confdefs.h. */
11613 /* Override any GCC internal prototype to avoid an error.
11614 Use char because int might match the return type of a GCC
11615 builtin and then its argument prototype would still apply. */
11616 #ifdef __cplusplus
11617 extern "C"
11618 #endif
11619 char gp_port_info_list_new ();
11621 main ()
11623 return gp_port_info_list_new ();
11625 return 0;
11627 _ACEOF
11628 if ac_fn_c_try_link "$LINENO"; then :
11629 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
11630 else
11631 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
11633 rm -f core conftest.err conftest.$ac_objext \
11634 conftest$ac_exeext conftest.$ac_ext
11635 LIBS=$ac_check_lib_save_LIBS
11637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11638 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11639 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
11641 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11643 else
11644 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11647 else
11648 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11652 CPPFLAGS=$ac_save_CPPFLAGS
11653 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11654 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11657 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11658 case "x$with_gphoto" in
11659 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11660 xno) ;;
11661 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11662 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11663 esac
11665 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11666 case "x$with_gphoto" in
11667 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11668 xno) ;;
11669 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11670 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11671 esac
11675 if test "$ac_cv_header_resolv_h" = "yes"
11676 then
11677 ac_save_LIBS="$LIBS"
11678 for lib in '' -lresolv
11680 LIBS="$lib $ac_save_LIBS"
11681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11682 /* end confdefs.h. */
11683 #ifdef HAVE_NETINET_IN_H
11684 #include <netinet/in.h>
11685 #endif
11686 #include <resolv.h>
11688 main ()
11690 res_query("foo",ns_c_in,0,0,0);
11692 return 0;
11694 _ACEOF
11695 if ac_fn_c_try_link "$LINENO"; then :
11697 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11699 RESOLV_LIBS="$lib"
11702 rm -f core conftest.err conftest.$ac_objext \
11703 conftest$ac_exeext conftest.$ac_ext
11704 if test "${RESOLV_LIBS+set}" = set; then
11705 break
11707 done
11708 LIBS="$ac_save_LIBS"
11711 if test "x$with_lcms2" != "xno"
11712 then
11713 if ${LCMS2_CFLAGS:+false} :; then :
11714 if ${PKG_CONFIG+:} false; then :
11715 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11719 if ${LCMS2_LIBS:+false} :; then :
11720 if ${PKG_CONFIG+:} false; then :
11721 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11725 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
11726 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11727 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
11728 ac_save_CPPFLAGS=$CPPFLAGS
11729 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
11730 for ac_header in lcms2.h
11731 do :
11732 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11733 if test "x$ac_cv_header_lcms2_h" = xyes; then :
11734 cat >>confdefs.h <<_ACEOF
11735 #define HAVE_LCMS2_H 1
11736 _ACEOF
11740 done
11742 if test "$ac_cv_header_lcms2_h" = "yes"
11743 then
11744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11745 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11746 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
11747 $as_echo_n "(cached) " >&6
11748 else
11749 ac_check_lib_save_LIBS=$LIBS
11750 LIBS="-llcms2 $LIBS"
11751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11752 /* end confdefs.h. */
11754 /* Override any GCC internal prototype to avoid an error.
11755 Use char because int might match the return type of a GCC
11756 builtin and then its argument prototype would still apply. */
11757 #ifdef __cplusplus
11758 extern "C"
11759 #endif
11760 char cmsOpenProfileFromFile ();
11762 main ()
11764 return cmsOpenProfileFromFile ();
11766 return 0;
11768 _ACEOF
11769 if ac_fn_c_try_link "$LINENO"; then :
11770 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
11771 else
11772 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
11774 rm -f core conftest.err conftest.$ac_objext \
11775 conftest$ac_exeext conftest.$ac_ext
11776 LIBS=$ac_check_lib_save_LIBS
11778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11779 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11780 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
11782 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11784 else
11785 LCMS2_LIBS=""
11788 else
11789 LCMS2_CFLAGS=""
11790 LCMS2_LIBS=""
11792 CPPFLAGS=$ac_save_CPPFLAGS
11793 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11794 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11797 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11798 case "x$with_cms" in
11799 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11800 xno) ;;
11801 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11802 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11803 esac
11806 if test "x$with_freetype" != "xno"
11807 then
11808 if ${FREETYPE_CFLAGS:+false} :; then :
11809 if ${PKG_CONFIG+:} false; then :
11810 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11813 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11814 if ${FREETYPE_LIBS:+false} :; then :
11815 if ${PKG_CONFIG+:} false; then :
11816 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11819 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11820 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
11821 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
11822 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
11823 ac_save_CPPFLAGS=$CPPFLAGS
11824 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
11825 for ac_header in ft2build.h
11826 do :
11827 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
11828 if test "x$ac_cv_header_ft2build_h" = xyes; then :
11829 cat >>confdefs.h <<_ACEOF
11830 #define HAVE_FT2BUILD_H 1
11831 _ACEOF
11835 done
11837 if test "$ac_cv_header_ft2build_h" = "yes"
11838 then
11839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11840 $as_echo_n "checking for -lfreetype... " >&6; }
11841 if ${ac_cv_lib_soname_freetype+:} false; then :
11842 $as_echo_n "(cached) " >&6
11843 else
11844 ac_check_soname_save_LIBS=$LIBS
11845 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
11846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11847 /* end confdefs.h. */
11849 /* Override any GCC internal prototype to avoid an error.
11850 Use char because int might match the return type of a GCC
11851 builtin and then its argument prototype would still apply. */
11852 #ifdef __cplusplus
11853 extern "C"
11854 #endif
11855 char FT_Init_FreeType ();
11857 main ()
11859 return FT_Init_FreeType ();
11861 return 0;
11863 _ACEOF
11864 if ac_fn_c_try_link "$LINENO"; then :
11865 case "$LIBEXT" in
11866 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11867 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'` ;;
11868 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11869 if ${ac_cv_lib_soname_freetype:+false} :; then :
11870 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11871 fi ;;
11872 esac
11874 rm -f core conftest.err conftest.$ac_objext \
11875 conftest$ac_exeext conftest.$ac_ext
11876 LIBS=$ac_check_soname_save_LIBS
11878 if ${ac_cv_lib_soname_freetype:+false} :; then :
11879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11880 $as_echo "not found" >&6; }
11881 FREETYPE_LIBS=""
11882 else
11883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
11884 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
11886 cat >>confdefs.h <<_ACEOF
11887 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
11888 _ACEOF
11891 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
11893 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
11894 #include FT_MODULE_H
11896 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
11898 cat >>confdefs.h <<_ACEOF
11899 #define HAVE_FT_TRUETYPEENGINETYPE 1
11900 _ACEOF
11906 else
11907 FREETYPE_CFLAGS=""
11908 FREETYPE_LIBS=""
11910 CPPFLAGS=$ac_save_CPPFLAGS
11911 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11912 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11915 if test "x$ac_cv_lib_soname_freetype" = x; then :
11916 case "x$with_freetype" in
11917 xno) ;;
11918 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
11919 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
11920 esac
11922 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
11924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
11925 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
11926 if ${ac_cv_c_ppdev+:} false; then :
11927 $as_echo_n "(cached) " >&6
11928 else
11929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11930 /* end confdefs.h. */
11931 #ifdef HAVE_SYS_IOCTL_H
11932 # include <sys/ioctl.h>
11933 #endif
11934 #include <linux/ppdev.h>
11936 main ()
11938 ioctl (1,PPCLAIM,0)
11940 return 0;
11942 _ACEOF
11943 if ac_fn_c_try_compile "$LINENO"; then :
11944 ac_cv_c_ppdev="yes"
11945 else
11946 ac_cv_c_ppdev="no"
11948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
11951 $as_echo "$ac_cv_c_ppdev" >&6; }
11952 if test "$ac_cv_c_ppdev" = "yes"
11953 then
11955 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
11959 ac_wine_check_funcs_save_LIBS="$LIBS"
11960 LIBS="$LIBS $PTHREAD_LIBS"
11961 for ac_func in \
11962 pthread_attr_get_np \
11963 pthread_getattr_np \
11964 pthread_getthreadid_np \
11965 pthread_get_stackaddr_np \
11966 pthread_get_stacksize_np
11967 do :
11968 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11969 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
11970 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
11971 cat >>confdefs.h <<_ACEOF
11972 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11973 _ACEOF
11976 done
11978 LIBS="$ac_wine_check_funcs_save_LIBS"
11980 if test "$ac_cv_header_zlib_h" = "yes"
11981 then
11982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
11983 $as_echo_n "checking for inflate in -lz... " >&6; }
11984 if ${ac_cv_lib_z_inflate+:} false; then :
11985 $as_echo_n "(cached) " >&6
11986 else
11987 ac_check_lib_save_LIBS=$LIBS
11988 LIBS="-lz $LIBS"
11989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11990 /* end confdefs.h. */
11992 /* Override any GCC internal prototype to avoid an error.
11993 Use char because int might match the return type of a GCC
11994 builtin and then its argument prototype would still apply. */
11995 #ifdef __cplusplus
11996 extern "C"
11997 #endif
11998 char inflate ();
12000 main ()
12002 return inflate ();
12004 return 0;
12006 _ACEOF
12007 if ac_fn_c_try_link "$LINENO"; then :
12008 ac_cv_lib_z_inflate=yes
12009 else
12010 ac_cv_lib_z_inflate=no
12012 rm -f core conftest.err conftest.$ac_objext \
12013 conftest$ac_exeext conftest.$ac_ext
12014 LIBS=$ac_check_lib_save_LIBS
12016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12017 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12018 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12020 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12022 Z_LIBS="-lz"
12027 if test "x$Z_LIBS" = "x"; then :
12028 case "x$with_zlib" in
12029 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12030 xno) ;;
12031 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12032 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12033 esac
12036 if test "x$enable_tools" != xno
12037 then
12038 if test "$ac_cv_header_gettext_po_h" = "yes"
12039 then
12040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12041 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12042 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12043 $as_echo_n "(cached) " >&6
12044 else
12045 ac_check_lib_save_LIBS=$LIBS
12046 LIBS="-lgettextpo $LIBS"
12047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12048 /* end confdefs.h. */
12050 /* Override any GCC internal prototype to avoid an error.
12051 Use char because int might match the return type of a GCC
12052 builtin and then its argument prototype would still apply. */
12053 #ifdef __cplusplus
12054 extern "C"
12055 #endif
12056 char po_message_msgctxt ();
12058 main ()
12060 return po_message_msgctxt ();
12062 return 0;
12064 _ACEOF
12065 if ac_fn_c_try_link "$LINENO"; then :
12066 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12067 else
12068 ac_cv_lib_gettextpo_po_message_msgctxt=no
12070 rm -f core conftest.err conftest.$ac_objext \
12071 conftest$ac_exeext conftest.$ac_ext
12072 LIBS=$ac_check_lib_save_LIBS
12074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12075 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12076 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12078 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12080 GETTEXTPO_LIBS="-lgettextpo"
12085 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12086 case "x$with_gettextpo" in
12087 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12088 xno) ;;
12089 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12090 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12091 esac
12095 if test "x$with_gstreamer" != "xno"
12096 then
12097 if ${GSTREAMER_CFLAGS:+false} :; then :
12098 if ${PKG_CONFIG+:} false; then :
12099 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12103 if ${GSTREAMER_LIBS:+false} :; then :
12104 if ${PKG_CONFIG+:} false; then :
12105 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12110 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12111 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12112 ac_save_CPPFLAGS=$CPPFLAGS
12113 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12114 ac_gst_incl=""
12115 for i in $GSTREAMER_CFLAGS
12117 case "$i" in
12118 -I*) ac_gst_incl="$ac_gst_incl $i";;
12119 esac
12120 done
12121 GSTREAMER_CFLAGS=$ac_gst_incl
12122 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12123 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12124 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
12125 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12126 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
12127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12128 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12130 /* end confdefs.h. */
12131 #include <gst/app/gstappsink.h>
12133 main ()
12135 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12137 return 0;
12139 _ACEOF
12140 if ac_fn_c_try_compile "$LINENO"; then :
12141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12142 $as_echo "yes" >&6; }
12143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12144 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12145 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
12146 $as_echo_n "(cached) " >&6
12147 else
12148 ac_check_lib_save_LIBS=$LIBS
12149 LIBS="-lgstreamer-0.10 $LIBS"
12150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12151 /* end confdefs.h. */
12153 /* Override any GCC internal prototype to avoid an error.
12154 Use char because int might match the return type of a GCC
12155 builtin and then its argument prototype would still apply. */
12156 #ifdef __cplusplus
12157 extern "C"
12158 #endif
12159 char gst_pad_get_caps_reffed ();
12161 main ()
12163 return gst_pad_get_caps_reffed ();
12165 return 0;
12167 _ACEOF
12168 if ac_fn_c_try_link "$LINENO"; then :
12169 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
12170 else
12171 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
12173 rm -f core conftest.err conftest.$ac_objext \
12174 conftest$ac_exeext conftest.$ac_ext
12175 LIBS=$ac_check_lib_save_LIBS
12177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12178 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12179 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
12180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12181 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12182 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
12183 $as_echo_n "(cached) " >&6
12184 else
12185 ac_check_lib_save_LIBS=$LIBS
12186 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12188 /* end confdefs.h. */
12190 /* Override any GCC internal prototype to avoid an error.
12191 Use char because int might match the return type of a GCC
12192 builtin and then its argument prototype would still apply. */
12193 #ifdef __cplusplus
12194 extern "C"
12195 #endif
12196 char gst_app_buffer_new ();
12198 main ()
12200 return gst_app_buffer_new ();
12202 return 0;
12204 _ACEOF
12205 if ac_fn_c_try_link "$LINENO"; then :
12206 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
12207 else
12208 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
12210 rm -f core conftest.err conftest.$ac_objext \
12211 conftest$ac_exeext conftest.$ac_ext
12212 LIBS=$ac_check_lib_save_LIBS
12214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12215 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12216 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
12222 else
12223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12224 $as_echo "no" >&6; }
12226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12230 else
12231 GSTREAMER_CFLAGS=""
12235 CPPFLAGS=$ac_save_CPPFLAGS
12236 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12237 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12240 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
12241 case "x$with_gstreamer" in
12242 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12243 xno) ;;
12244 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12245 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12246 esac
12248 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12250 ALSA_LIBS=""
12252 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12253 then
12254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12255 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12256 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12257 $as_echo_n "(cached) " >&6
12258 else
12259 ac_check_lib_save_LIBS=$LIBS
12260 LIBS="-lasound $LIBS"
12261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12262 /* end confdefs.h. */
12264 /* Override any GCC internal prototype to avoid an error.
12265 Use char because int might match the return type of a GCC
12266 builtin and then its argument prototype would still apply. */
12267 #ifdef __cplusplus
12268 extern "C"
12269 #endif
12270 char snd_pcm_hw_params_get_access_mask ();
12272 main ()
12274 return snd_pcm_hw_params_get_access_mask ();
12276 return 0;
12278 _ACEOF
12279 if ac_fn_c_try_link "$LINENO"; then :
12280 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12281 else
12282 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12284 rm -f core conftest.err conftest.$ac_objext \
12285 conftest$ac_exeext conftest.$ac_ext
12286 LIBS=$ac_check_lib_save_LIBS
12288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12289 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12290 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12292 /* end confdefs.h. */
12293 #ifdef HAVE_ALSA_ASOUNDLIB_H
12294 #include <alsa/asoundlib.h>
12295 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12296 #include <sys/asoundlib.h>
12297 #endif
12299 main ()
12301 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12303 return 0;
12305 _ACEOF
12306 if ac_fn_c_try_compile "$LINENO"; then :
12307 ALSA_LIBS="-lasound"
12309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12314 if test "x$with_oss" != xno
12315 then
12316 ac_save_CPPFLAGS="$CPPFLAGS"
12317 if test -f /etc/oss.conf
12318 then
12319 . /etc/oss.conf
12321 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12322 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12323 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12324 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12325 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12327 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12329 cat >>confdefs.h <<_ACEOF
12330 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12331 _ACEOF
12333 OSS4_CFLAGS="$ac_oss_incl"
12340 CPPFLAGS="$ac_save_CPPFLAGS"
12341 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12342 then
12343 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12347 if test "x$with_capi" != "xno"
12348 then
12349 if ${CAPI20_CFLAGS:+false} :; then :
12350 if ${PKG_CONFIG+:} false; then :
12351 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12355 if ${CAPI20_LIBS:+false} :; then :
12356 if ${PKG_CONFIG+:} false; then :
12357 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12362 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12363 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12364 ac_save_CPPFLAGS=$CPPFLAGS
12365 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12366 for ac_header in capi20.h linux/capi.h
12367 do :
12368 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12369 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12371 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12372 cat >>confdefs.h <<_ACEOF
12373 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12374 _ACEOF
12378 done
12380 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12381 then
12382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12383 $as_echo_n "checking for -lcapi20... " >&6; }
12384 if ${ac_cv_lib_soname_capi20+:} false; then :
12385 $as_echo_n "(cached) " >&6
12386 else
12387 ac_check_soname_save_LIBS=$LIBS
12388 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12390 /* end confdefs.h. */
12392 /* Override any GCC internal prototype to avoid an error.
12393 Use char because int might match the return type of a GCC
12394 builtin and then its argument prototype would still apply. */
12395 #ifdef __cplusplus
12396 extern "C"
12397 #endif
12398 char capi20_register ();
12400 main ()
12402 return capi20_register ();
12404 return 0;
12406 _ACEOF
12407 if ac_fn_c_try_link "$LINENO"; then :
12408 case "$LIBEXT" in
12409 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12410 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'` ;;
12411 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12412 if ${ac_cv_lib_soname_capi20:+false} :; then :
12413 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12414 fi ;;
12415 esac
12417 rm -f core conftest.err conftest.$ac_objext \
12418 conftest$ac_exeext conftest.$ac_ext
12419 LIBS=$ac_check_soname_save_LIBS
12421 if ${ac_cv_lib_soname_capi20:+false} :; then :
12422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12423 $as_echo "not found" >&6; }
12425 else
12426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12427 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12429 cat >>confdefs.h <<_ACEOF
12430 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12431 _ACEOF
12436 CPPFLAGS=$ac_save_CPPFLAGS
12437 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12438 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12441 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12442 case "x$with_capi" in
12443 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12444 xno) ;;
12445 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12446 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12447 esac
12450 CUPS_CFLAGS=""
12452 if test "x$with_cups" != "xno"
12453 then
12454 ac_save_CPPFLAGS="$CPPFLAGS"
12455 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12456 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12457 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12458 for ac_header in cups/cups.h
12459 do :
12460 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12461 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12462 cat >>confdefs.h <<_ACEOF
12463 #define HAVE_CUPS_CUPS_H 1
12464 _ACEOF
12465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12466 $as_echo_n "checking for -lcups... " >&6; }
12467 if ${ac_cv_lib_soname_cups+:} false; then :
12468 $as_echo_n "(cached) " >&6
12469 else
12470 ac_check_soname_save_LIBS=$LIBS
12471 LIBS="-lcups $ac_cups_libs $LIBS"
12472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12473 /* end confdefs.h. */
12475 /* Override any GCC internal prototype to avoid an error.
12476 Use char because int might match the return type of a GCC
12477 builtin and then its argument prototype would still apply. */
12478 #ifdef __cplusplus
12479 extern "C"
12480 #endif
12481 char cupsGetDefault ();
12483 main ()
12485 return cupsGetDefault ();
12487 return 0;
12489 _ACEOF
12490 if ac_fn_c_try_link "$LINENO"; then :
12491 case "$LIBEXT" in
12492 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12493 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'` ;;
12494 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12495 if ${ac_cv_lib_soname_cups:+false} :; then :
12496 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12497 fi ;;
12498 esac
12500 rm -f core conftest.err conftest.$ac_objext \
12501 conftest$ac_exeext conftest.$ac_ext
12502 LIBS=$ac_check_soname_save_LIBS
12504 if ${ac_cv_lib_soname_cups:+false} :; then :
12505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12506 $as_echo "not found" >&6; }
12508 else
12509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12510 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12512 cat >>confdefs.h <<_ACEOF
12513 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12514 _ACEOF
12516 CUPS_CFLAGS="$ac_cups_cflags"
12520 done
12522 CPPFLAGS="$ac_save_CPPFLAGS"
12524 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12525 case "x$with_cups" in
12526 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12527 xno) ;;
12528 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12529 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12530 esac
12533 if test "x$with_fontconfig" != "xno"
12534 then
12535 if ${FONTCONFIG_CFLAGS:+false} :; then :
12536 if ${PKG_CONFIG+:} false; then :
12537 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12540 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12541 if ${FONTCONFIG_LIBS:+false} :; then :
12542 if ${PKG_CONFIG+:} false; then :
12543 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12546 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
12548 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12549 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12550 ac_save_CPPFLAGS=$CPPFLAGS
12551 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
12552 for ac_header in fontconfig/fontconfig.h
12553 do :
12554 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12555 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
12556 cat >>confdefs.h <<_ACEOF
12557 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12558 _ACEOF
12562 done
12564 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12565 then
12566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12567 $as_echo_n "checking for -lfontconfig... " >&6; }
12568 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12569 $as_echo_n "(cached) " >&6
12570 else
12571 ac_check_soname_save_LIBS=$LIBS
12572 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12574 /* end confdefs.h. */
12576 /* Override any GCC internal prototype to avoid an error.
12577 Use char because int might match the return type of a GCC
12578 builtin and then its argument prototype would still apply. */
12579 #ifdef __cplusplus
12580 extern "C"
12581 #endif
12582 char FcInit ();
12584 main ()
12586 return FcInit ();
12588 return 0;
12590 _ACEOF
12591 if ac_fn_c_try_link "$LINENO"; then :
12592 case "$LIBEXT" in
12593 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12594 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'` ;;
12595 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12596 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12597 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12598 fi ;;
12599 esac
12601 rm -f core conftest.err conftest.$ac_objext \
12602 conftest$ac_exeext conftest.$ac_ext
12603 LIBS=$ac_check_soname_save_LIBS
12605 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12607 $as_echo "not found" >&6; }
12608 FONTCONFIG_CFLAGS=""
12609 else
12610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12611 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12613 cat >>confdefs.h <<_ACEOF
12614 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12615 _ACEOF
12619 else
12620 FONTCONFIG_CFLAGS=""
12622 CPPFLAGS=$ac_save_CPPFLAGS
12623 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12624 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12627 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12628 case "x$with_fontconfig" in
12629 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12630 xno) ;;
12631 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12632 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12633 esac
12636 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12637 then
12638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12639 $as_echo_n "checking for -lgsm... " >&6; }
12640 if ${ac_cv_lib_soname_gsm+:} false; then :
12641 $as_echo_n "(cached) " >&6
12642 else
12643 ac_check_soname_save_LIBS=$LIBS
12644 LIBS="-lgsm $LIBS"
12645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12646 /* end confdefs.h. */
12648 /* Override any GCC internal prototype to avoid an error.
12649 Use char because int might match the return type of a GCC
12650 builtin and then its argument prototype would still apply. */
12651 #ifdef __cplusplus
12652 extern "C"
12653 #endif
12654 char gsm_create ();
12656 main ()
12658 return gsm_create ();
12660 return 0;
12662 _ACEOF
12663 if ac_fn_c_try_link "$LINENO"; then :
12664 case "$LIBEXT" in
12665 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12666 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'` ;;
12667 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12668 if ${ac_cv_lib_soname_gsm:+false} :; then :
12669 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12670 fi ;;
12671 esac
12673 rm -f core conftest.err conftest.$ac_objext \
12674 conftest$ac_exeext conftest.$ac_ext
12675 LIBS=$ac_check_soname_save_LIBS
12677 if ${ac_cv_lib_soname_gsm:+false} :; then :
12678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12679 $as_echo "not found" >&6; }
12681 else
12682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12683 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12685 cat >>confdefs.h <<_ACEOF
12686 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12687 _ACEOF
12692 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12693 case "x$with_gsm" in
12694 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12695 xno) ;;
12696 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12697 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12698 esac
12701 if test "x$with_jpeg" != "xno"
12702 then
12703 if ${JPEG_CFLAGS:+false} :; then :
12704 if ${PKG_CONFIG+:} false; then :
12705 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12709 if ${JPEG_LIBS:+false} :; then :
12710 if ${PKG_CONFIG+:} false; then :
12711 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12716 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12717 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12718 ac_save_CPPFLAGS=$CPPFLAGS
12719 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
12720 for ac_header in jpeglib.h
12721 do :
12722 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12723 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
12724 cat >>confdefs.h <<_ACEOF
12725 #define HAVE_JPEGLIB_H 1
12726 _ACEOF
12730 done
12732 if test "$ac_cv_header_jpeglib_h" = "yes"
12733 then
12734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12735 $as_echo_n "checking for -ljpeg... " >&6; }
12736 if ${ac_cv_lib_soname_jpeg+:} false; then :
12737 $as_echo_n "(cached) " >&6
12738 else
12739 ac_check_soname_save_LIBS=$LIBS
12740 LIBS="-ljpeg $JPEG_LIBS $LIBS"
12741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12742 /* end confdefs.h. */
12744 /* Override any GCC internal prototype to avoid an error.
12745 Use char because int might match the return type of a GCC
12746 builtin and then its argument prototype would still apply. */
12747 #ifdef __cplusplus
12748 extern "C"
12749 #endif
12750 char jpeg_start_decompress ();
12752 main ()
12754 return jpeg_start_decompress ();
12756 return 0;
12758 _ACEOF
12759 if ac_fn_c_try_link "$LINENO"; then :
12760 case "$LIBEXT" in
12761 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12762 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'` ;;
12763 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12764 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12765 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12766 fi ;;
12767 esac
12769 rm -f core conftest.err conftest.$ac_objext \
12770 conftest$ac_exeext conftest.$ac_ext
12771 LIBS=$ac_check_soname_save_LIBS
12773 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12775 $as_echo "not found" >&6; }
12776 JPEG_CFLAGS=""
12777 else
12778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12779 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12781 cat >>confdefs.h <<_ACEOF
12782 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12783 _ACEOF
12787 else
12788 JPEG_CFLAGS=""
12790 CPPFLAGS=$ac_save_CPPFLAGS
12791 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12792 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12795 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12796 case "x$with_jpeg" in
12797 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12798 xno) ;;
12799 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12800 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12801 esac
12804 if test "x$with_png" != "xno"
12805 then
12806 if ${PNG_CFLAGS:+false} :; then :
12807 if ${PKG_CONFIG+:} false; then :
12808 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12811 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
12812 if ${PNG_LIBS:+false} :; then :
12813 if ${PKG_CONFIG+:} false; then :
12814 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
12817 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
12819 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
12820 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
12821 ac_save_CPPFLAGS=$CPPFLAGS
12822 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
12823 for ac_header in png.h
12824 do :
12825 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12826 if test "x$ac_cv_header_png_h" = xyes; then :
12827 cat >>confdefs.h <<_ACEOF
12828 #define HAVE_PNG_H 1
12829 _ACEOF
12833 done
12835 if test "$ac_cv_header_png_h" = "yes"
12836 then
12837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12838 $as_echo_n "checking for -lpng... " >&6; }
12839 if ${ac_cv_lib_soname_png+:} false; then :
12840 $as_echo_n "(cached) " >&6
12841 else
12842 ac_check_soname_save_LIBS=$LIBS
12843 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
12844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12845 /* end confdefs.h. */
12847 /* Override any GCC internal prototype to avoid an error.
12848 Use char because int might match the return type of a GCC
12849 builtin and then its argument prototype would still apply. */
12850 #ifdef __cplusplus
12851 extern "C"
12852 #endif
12853 char png_create_read_struct ();
12855 main ()
12857 return png_create_read_struct ();
12859 return 0;
12861 _ACEOF
12862 if ac_fn_c_try_link "$LINENO"; then :
12863 case "$LIBEXT" in
12864 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12865 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'` ;;
12866 *) 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'`
12867 if ${ac_cv_lib_soname_png:+false} :; then :
12868 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12869 fi ;;
12870 esac
12872 rm -f core conftest.err conftest.$ac_objext \
12873 conftest$ac_exeext conftest.$ac_ext
12874 LIBS=$ac_check_soname_save_LIBS
12876 if ${ac_cv_lib_soname_png:+false} :; then :
12877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12878 $as_echo "not found" >&6; }
12879 PNG_CFLAGS=""
12880 else
12881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
12882 $as_echo "$ac_cv_lib_soname_png" >&6; }
12884 cat >>confdefs.h <<_ACEOF
12885 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
12886 _ACEOF
12888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12889 /* end confdefs.h. */
12890 #include <png.h>
12892 main ()
12894 typeof(png_set_expand_gray_1_2_4_to_8) *p
12896 return 0;
12898 _ACEOF
12899 if ac_fn_c_try_compile "$LINENO"; then :
12901 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
12904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12906 else
12907 PNG_CFLAGS=""
12909 CPPFLAGS=$ac_save_CPPFLAGS
12910 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12911 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12914 if test "x$ac_cv_lib_soname_png" = "x"; then :
12915 case "x$with_png" in
12916 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
12917 xno) ;;
12918 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
12919 This is an error since --with-png was requested." "$LINENO" 5 ;;
12920 esac
12923 if test "x$with_tiff" != "xno"
12924 then
12925 if ${TIFF_CFLAGS:+false} :; then :
12926 if ${PKG_CONFIG+:} false; then :
12927 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
12931 if ${TIFF_LIBS:+false} :; then :
12932 if ${PKG_CONFIG+:} false; then :
12933 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
12938 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
12939 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
12940 ac_save_CPPFLAGS=$CPPFLAGS
12941 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
12942 for ac_header in tiffio.h
12943 do :
12944 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
12945 if test "x$ac_cv_header_tiffio_h" = xyes; then :
12946 cat >>confdefs.h <<_ACEOF
12947 #define HAVE_TIFFIO_H 1
12948 _ACEOF
12952 done
12954 if test "$ac_cv_header_tiffio_h" = "yes"
12955 then
12956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
12957 $as_echo_n "checking for -ltiff... " >&6; }
12958 if ${ac_cv_lib_soname_tiff+:} false; then :
12959 $as_echo_n "(cached) " >&6
12960 else
12961 ac_check_soname_save_LIBS=$LIBS
12962 LIBS="-ltiff $TIFF_LIBS $LIBS"
12963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12964 /* end confdefs.h. */
12966 /* Override any GCC internal prototype to avoid an error.
12967 Use char because int might match the return type of a GCC
12968 builtin and then its argument prototype would still apply. */
12969 #ifdef __cplusplus
12970 extern "C"
12971 #endif
12972 char TIFFClientOpen ();
12974 main ()
12976 return TIFFClientOpen ();
12978 return 0;
12980 _ACEOF
12981 if ac_fn_c_try_link "$LINENO"; then :
12982 case "$LIBEXT" in
12983 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12984 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'` ;;
12985 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12986 if ${ac_cv_lib_soname_tiff:+false} :; then :
12987 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12988 fi ;;
12989 esac
12991 rm -f core conftest.err conftest.$ac_objext \
12992 conftest$ac_exeext conftest.$ac_ext
12993 LIBS=$ac_check_soname_save_LIBS
12995 if ${ac_cv_lib_soname_tiff:+false} :; then :
12996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12997 $as_echo "not found" >&6; }
12999 else
13000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13001 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13003 cat >>confdefs.h <<_ACEOF
13004 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13005 _ACEOF
13010 CPPFLAGS=$ac_save_CPPFLAGS
13011 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13012 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13015 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13016 case "x$with_tiff" in
13017 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13018 xno) ;;
13019 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13020 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13021 esac
13024 if test "x$with_mpg123" != "xno"
13025 then
13026 if ${MPG123_CFLAGS:+false} :; then :
13027 if ${PKG_CONFIG+:} false; then :
13028 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13032 if ${MPG123_LIBS:+false} :; then :
13033 if ${PKG_CONFIG+:} false; then :
13034 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13038 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13039 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13040 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13041 ac_save_CPPFLAGS=$CPPFLAGS
13042 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13043 for ac_header in mpg123.h
13044 do :
13045 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13046 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13047 cat >>confdefs.h <<_ACEOF
13048 #define HAVE_MPG123_H 1
13049 _ACEOF
13053 done
13055 if test "$ac_cv_header_mpg123_h" = "yes"
13056 then
13057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13058 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13059 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13060 $as_echo_n "(cached) " >&6
13061 else
13062 ac_check_lib_save_LIBS=$LIBS
13063 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13065 /* end confdefs.h. */
13067 /* Override any GCC internal prototype to avoid an error.
13068 Use char because int might match the return type of a GCC
13069 builtin and then its argument prototype would still apply. */
13070 #ifdef __cplusplus
13071 extern "C"
13072 #endif
13073 char mpg123_feed ();
13075 main ()
13077 return mpg123_feed ();
13079 return 0;
13081 _ACEOF
13082 if ac_fn_c_try_link "$LINENO"; then :
13083 ac_cv_lib_mpg123_mpg123_feed=yes
13084 else
13085 ac_cv_lib_mpg123_mpg123_feed=no
13087 rm -f core conftest.err conftest.$ac_objext \
13088 conftest$ac_exeext conftest.$ac_ext
13089 LIBS=$ac_check_lib_save_LIBS
13091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13092 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13093 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13095 else
13096 MPG123_LIBS=""
13099 else
13100 MPG123_CFLAGS=""
13101 MPG123_LIBS=""
13103 CPPFLAGS=$ac_save_CPPFLAGS
13104 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13105 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13108 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13109 case "x$with_mpg123" in
13110 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13111 xno) ;;
13112 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13113 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13114 esac
13116 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}
13118 if test "$ac_cv_header_AL_al_h" = "yes"
13119 then
13120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13121 $as_echo_n "checking for -lopenal... " >&6; }
13122 if ${ac_cv_lib_soname_openal+:} false; then :
13123 $as_echo_n "(cached) " >&6
13124 else
13125 ac_check_soname_save_LIBS=$LIBS
13126 LIBS="-lopenal $LIBS"
13127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13128 /* end confdefs.h. */
13130 /* Override any GCC internal prototype to avoid an error.
13131 Use char because int might match the return type of a GCC
13132 builtin and then its argument prototype would still apply. */
13133 #ifdef __cplusplus
13134 extern "C"
13135 #endif
13136 char alGetSource3i ();
13138 main ()
13140 return alGetSource3i ();
13142 return 0;
13144 _ACEOF
13145 if ac_fn_c_try_link "$LINENO"; then :
13146 case "$LIBEXT" in
13147 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13148 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'` ;;
13149 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13150 if ${ac_cv_lib_soname_openal:+false} :; then :
13151 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13152 fi ;;
13153 esac
13155 rm -f core conftest.err conftest.$ac_objext \
13156 conftest$ac_exeext conftest.$ac_ext
13157 LIBS=$ac_check_soname_save_LIBS
13159 if ${ac_cv_lib_soname_openal:+false} :; then :
13160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13161 $as_echo "not found" >&6; }
13163 else
13164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13165 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13167 cat >>confdefs.h <<_ACEOF
13168 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13169 _ACEOF
13171 OPENAL_LIBS="-lopenal"
13173 ac_cv_lib_openal=yes
13175 cat >>confdefs.h <<_ACEOF
13176 #define HAVE_OPENAL 1
13177 _ACEOF
13181 if test "x$ac_cv_lib_openal" != xyes; then :
13182 case "x$with_openal" in
13183 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13184 xno) ;;
13185 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13186 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13187 esac
13189 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13191 if test "$ac_cv_header_kstat_h" = "yes"
13192 then
13193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13194 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13195 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13196 $as_echo_n "(cached) " >&6
13197 else
13198 ac_check_lib_save_LIBS=$LIBS
13199 LIBS="-lkstat $LIBS"
13200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13201 /* end confdefs.h. */
13203 /* Override any GCC internal prototype to avoid an error.
13204 Use char because int might match the return type of a GCC
13205 builtin and then its argument prototype would still apply. */
13206 #ifdef __cplusplus
13207 extern "C"
13208 #endif
13209 char kstat_open ();
13211 main ()
13213 return kstat_open ();
13215 return 0;
13217 _ACEOF
13218 if ac_fn_c_try_link "$LINENO"; then :
13219 ac_cv_lib_kstat_kstat_open=yes
13220 else
13221 ac_cv_lib_kstat_kstat_open=no
13223 rm -f core conftest.err conftest.$ac_objext \
13224 conftest$ac_exeext conftest.$ac_ext
13225 LIBS=$ac_check_lib_save_LIBS
13227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13228 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13229 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13231 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13233 KSTAT_LIBS="-lkstat"
13239 if test "$ac_cv_header_libprocstat_h" = "yes"
13240 then
13241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13242 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13243 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13244 $as_echo_n "(cached) " >&6
13245 else
13246 ac_check_lib_save_LIBS=$LIBS
13247 LIBS="-lprocstat $LIBS"
13248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13249 /* end confdefs.h. */
13251 /* Override any GCC internal prototype to avoid an error.
13252 Use char because int might match the return type of a GCC
13253 builtin and then its argument prototype would still apply. */
13254 #ifdef __cplusplus
13255 extern "C"
13256 #endif
13257 char procstat_open_sysctl ();
13259 main ()
13261 return procstat_open_sysctl ();
13263 return 0;
13265 _ACEOF
13266 if ac_fn_c_try_link "$LINENO"; then :
13267 ac_cv_lib_procstat_procstat_open_sysctl=yes
13268 else
13269 ac_cv_lib_procstat_procstat_open_sysctl=no
13271 rm -f core conftest.err conftest.$ac_objext \
13272 conftest$ac_exeext conftest.$ac_ext
13273 LIBS=$ac_check_lib_save_LIBS
13275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13276 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13277 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13279 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13281 PROCSTAT_LIBS="-lprocstat"
13287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13288 $as_echo_n "checking for -lodbc... " >&6; }
13289 if ${ac_cv_lib_soname_odbc+:} false; then :
13290 $as_echo_n "(cached) " >&6
13291 else
13292 ac_check_soname_save_LIBS=$LIBS
13293 LIBS="-lodbc $LIBS"
13294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13295 /* end confdefs.h. */
13297 /* Override any GCC internal prototype to avoid an error.
13298 Use char because int might match the return type of a GCC
13299 builtin and then its argument prototype would still apply. */
13300 #ifdef __cplusplus
13301 extern "C"
13302 #endif
13303 char SQLConnect ();
13305 main ()
13307 return SQLConnect ();
13309 return 0;
13311 _ACEOF
13312 if ac_fn_c_try_link "$LINENO"; then :
13313 case "$LIBEXT" in
13314 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13315 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'` ;;
13316 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13317 if ${ac_cv_lib_soname_odbc:+false} :; then :
13318 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13319 fi ;;
13320 esac
13322 rm -f core conftest.err conftest.$ac_objext \
13323 conftest$ac_exeext conftest.$ac_ext
13324 LIBS=$ac_check_soname_save_LIBS
13326 if ${ac_cv_lib_soname_odbc:+false} :; then :
13327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13328 $as_echo "not found" >&6; }
13329 cat >>confdefs.h <<_ACEOF
13330 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13331 _ACEOF
13333 else
13334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13335 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13337 cat >>confdefs.h <<_ACEOF
13338 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13339 _ACEOF
13344 if test "x$with_netapi" != "xno"
13345 then
13346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13347 $as_echo_n "checking for -lnetapi... " >&6; }
13348 if ${ac_cv_lib_soname_netapi+:} false; then :
13349 $as_echo_n "(cached) " >&6
13350 else
13351 ac_check_soname_save_LIBS=$LIBS
13352 LIBS="-lnetapi $LIBS"
13353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13354 /* end confdefs.h. */
13356 /* Override any GCC internal prototype to avoid an error.
13357 Use char because int might match the return type of a GCC
13358 builtin and then its argument prototype would still apply. */
13359 #ifdef __cplusplus
13360 extern "C"
13361 #endif
13362 char libnetapi_init ();
13364 main ()
13366 return libnetapi_init ();
13368 return 0;
13370 _ACEOF
13371 if ac_fn_c_try_link "$LINENO"; then :
13372 case "$LIBEXT" in
13373 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13374 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'` ;;
13375 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13376 if ${ac_cv_lib_soname_netapi:+false} :; then :
13377 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13378 fi ;;
13379 esac
13381 rm -f core conftest.err conftest.$ac_objext \
13382 conftest$ac_exeext conftest.$ac_ext
13383 LIBS=$ac_check_soname_save_LIBS
13385 if ${ac_cv_lib_soname_netapi:+false} :; then :
13386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13387 $as_echo "not found" >&6; }
13388 cat >>confdefs.h <<_ACEOF
13389 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13390 _ACEOF
13392 else
13393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13394 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13396 cat >>confdefs.h <<_ACEOF
13397 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13398 _ACEOF
13404 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13405 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
13406 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
13407 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
13409 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13410 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
13411 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13412 then
13413 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13417 EXTRACFLAGS=""
13419 if test "x${GCC}" = "xyes"
13420 then
13421 EXTRACFLAGS="-Wall -pipe"
13423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13424 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13425 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13426 $as_echo_n "(cached) " >&6
13427 else
13428 if test "$cross_compiling" = yes; then :
13429 ac_cv_c_gcc_strength_bug="yes"
13430 else
13431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13432 /* end confdefs.h. */
13433 int L[4] = {0,1,2,3};
13435 main ()
13437 static int Array[3];
13438 unsigned int B = 3;
13439 int i;
13440 for(i=0; i<B; i++) Array[i] = i - 3;
13441 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13442 L[i] = 4;
13443 return (Array[1] != -2 || L[2] != 3)
13445 return 0;
13447 _ACEOF
13448 if ac_fn_c_try_run "$LINENO"; then :
13449 ac_cv_c_gcc_strength_bug="no"
13450 else
13451 ac_cv_c_gcc_strength_bug="yes"
13453 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13454 conftest.$ac_objext conftest.beam conftest.$ac_ext
13458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13459 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13460 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13461 then
13462 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13466 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13467 if ${ac_cv_cflags__fno_builtin+:} false; then :
13468 $as_echo_n "(cached) " >&6
13469 else
13470 ac_wine_try_cflags_saved=$CFLAGS
13471 CFLAGS="$CFLAGS -fno-builtin"
13472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13473 /* end confdefs.h. */
13474 int main(int argc, char **argv) { return 0; }
13475 _ACEOF
13476 if ac_fn_c_try_link "$LINENO"; then :
13477 ac_cv_cflags__fno_builtin=yes
13478 else
13479 ac_cv_cflags__fno_builtin=no
13481 rm -f core conftest.err conftest.$ac_objext \
13482 conftest$ac_exeext conftest.$ac_ext
13483 CFLAGS=$ac_wine_try_cflags_saved
13485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13486 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13487 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
13488 BUILTINFLAG="-fno-builtin"
13491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13492 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13493 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
13494 $as_echo_n "(cached) " >&6
13495 else
13496 ac_wine_try_cflags_saved=$CFLAGS
13497 CFLAGS="$CFLAGS -fno-strict-aliasing"
13498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13499 /* end confdefs.h. */
13500 int main(int argc, char **argv) { return 0; }
13501 _ACEOF
13502 if ac_fn_c_try_link "$LINENO"; then :
13503 ac_cv_cflags__fno_strict_aliasing=yes
13504 else
13505 ac_cv_cflags__fno_strict_aliasing=no
13507 rm -f core conftest.err conftest.$ac_objext \
13508 conftest$ac_exeext conftest.$ac_ext
13509 CFLAGS=$ac_wine_try_cflags_saved
13511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13512 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13513 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
13514 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
13516 saved_CFLAGS=$CFLAGS
13517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13518 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13519 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
13520 $as_echo_n "(cached) " >&6
13521 else
13522 ac_wine_try_cflags_saved=$CFLAGS
13523 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13525 /* end confdefs.h. */
13526 int main(int argc, char **argv) { return 0; }
13527 _ACEOF
13528 if ac_fn_c_try_link "$LINENO"; then :
13529 ac_cv_cflags__Werror_unknown_warning_option=yes
13530 else
13531 ac_cv_cflags__Werror_unknown_warning_option=no
13533 rm -f core conftest.err conftest.$ac_objext \
13534 conftest$ac_exeext conftest.$ac_ext
13535 CFLAGS=$ac_wine_try_cflags_saved
13537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13538 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13539 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
13540 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13543 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13544 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
13545 $as_echo_n "(cached) " >&6
13546 else
13547 ac_wine_try_cflags_saved=$CFLAGS
13548 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
13549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13550 /* end confdefs.h. */
13551 int main(int argc, char **argv) { return 0; }
13552 _ACEOF
13553 if ac_fn_c_try_link "$LINENO"; then :
13554 ac_cv_cflags__Wdeclaration_after_statement=yes
13555 else
13556 ac_cv_cflags__Wdeclaration_after_statement=no
13558 rm -f core conftest.err conftest.$ac_objext \
13559 conftest$ac_exeext conftest.$ac_ext
13560 CFLAGS=$ac_wine_try_cflags_saved
13562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13563 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13564 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
13565 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
13567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13568 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13569 if ${ac_cv_cflags__Wempty_body+:} false; then :
13570 $as_echo_n "(cached) " >&6
13571 else
13572 ac_wine_try_cflags_saved=$CFLAGS
13573 CFLAGS="$CFLAGS -Wempty-body"
13574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13575 /* end confdefs.h. */
13576 int main(int argc, char **argv) { return 0; }
13577 _ACEOF
13578 if ac_fn_c_try_link "$LINENO"; then :
13579 ac_cv_cflags__Wempty_body=yes
13580 else
13581 ac_cv_cflags__Wempty_body=no
13583 rm -f core conftest.err conftest.$ac_objext \
13584 conftest$ac_exeext conftest.$ac_ext
13585 CFLAGS=$ac_wine_try_cflags_saved
13587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13588 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13589 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
13590 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
13592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13593 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13594 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
13595 $as_echo_n "(cached) " >&6
13596 else
13597 ac_wine_try_cflags_saved=$CFLAGS
13598 CFLAGS="$CFLAGS -Wignored-qualifiers"
13599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13600 /* end confdefs.h. */
13601 int main(int argc, char **argv) { return 0; }
13602 _ACEOF
13603 if ac_fn_c_try_link "$LINENO"; then :
13604 ac_cv_cflags__Wignored_qualifiers=yes
13605 else
13606 ac_cv_cflags__Wignored_qualifiers=no
13608 rm -f core conftest.err conftest.$ac_objext \
13609 conftest$ac_exeext conftest.$ac_ext
13610 CFLAGS=$ac_wine_try_cflags_saved
13612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13613 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13614 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
13615 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
13617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13618 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13619 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
13620 $as_echo_n "(cached) " >&6
13621 else
13622 ac_wine_try_cflags_saved=$CFLAGS
13623 CFLAGS="$CFLAGS -Wstrict-prototypes"
13624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13625 /* end confdefs.h. */
13626 int main(int argc, char **argv) { return 0; }
13627 _ACEOF
13628 if ac_fn_c_try_link "$LINENO"; then :
13629 ac_cv_cflags__Wstrict_prototypes=yes
13630 else
13631 ac_cv_cflags__Wstrict_prototypes=no
13633 rm -f core conftest.err conftest.$ac_objext \
13634 conftest$ac_exeext conftest.$ac_ext
13635 CFLAGS=$ac_wine_try_cflags_saved
13637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13638 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13639 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
13640 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
13642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13643 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13644 if ${ac_cv_cflags__Wtype_limits+:} false; then :
13645 $as_echo_n "(cached) " >&6
13646 else
13647 ac_wine_try_cflags_saved=$CFLAGS
13648 CFLAGS="$CFLAGS -Wtype-limits"
13649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13650 /* end confdefs.h. */
13651 int main(int argc, char **argv) { return 0; }
13652 _ACEOF
13653 if ac_fn_c_try_link "$LINENO"; then :
13654 ac_cv_cflags__Wtype_limits=yes
13655 else
13656 ac_cv_cflags__Wtype_limits=no
13658 rm -f core conftest.err conftest.$ac_objext \
13659 conftest$ac_exeext conftest.$ac_ext
13660 CFLAGS=$ac_wine_try_cflags_saved
13662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13663 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13664 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
13665 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
13667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13668 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13669 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
13670 $as_echo_n "(cached) " >&6
13671 else
13672 ac_wine_try_cflags_saved=$CFLAGS
13673 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
13674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13675 /* end confdefs.h. */
13676 int main(int argc, char **argv) { return 0; }
13677 _ACEOF
13678 if ac_fn_c_try_link "$LINENO"; then :
13679 ac_cv_cflags__Wunused_but_set_parameter=yes
13680 else
13681 ac_cv_cflags__Wunused_but_set_parameter=no
13683 rm -f core conftest.err conftest.$ac_objext \
13684 conftest$ac_exeext conftest.$ac_ext
13685 CFLAGS=$ac_wine_try_cflags_saved
13687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13688 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13689 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
13690 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
13692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13693 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13694 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
13695 $as_echo_n "(cached) " >&6
13696 else
13697 ac_wine_try_cflags_saved=$CFLAGS
13698 CFLAGS="$CFLAGS -Wwrite-strings"
13699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13700 /* end confdefs.h. */
13701 int main(int argc, char **argv) { return 0; }
13702 _ACEOF
13703 if ac_fn_c_try_link "$LINENO"; then :
13704 ac_cv_cflags__Wwrite_strings=yes
13705 else
13706 ac_cv_cflags__Wwrite_strings=no
13708 rm -f core conftest.err conftest.$ac_objext \
13709 conftest$ac_exeext conftest.$ac_ext
13710 CFLAGS=$ac_wine_try_cflags_saved
13712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13713 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13714 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
13715 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
13718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13719 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13720 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
13721 $as_echo_n "(cached) " >&6
13722 else
13723 ac_wine_try_cflags_saved=$CFLAGS
13724 CFLAGS="$CFLAGS -Wpointer-arith"
13725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13726 /* end confdefs.h. */
13727 int main(int argc, char **argv) { return 0; }
13728 _ACEOF
13729 if ac_fn_c_try_link "$LINENO"; then :
13730 ac_cv_cflags__Wpointer_arith=yes
13731 else
13732 ac_cv_cflags__Wpointer_arith=no
13734 rm -f core conftest.err conftest.$ac_objext \
13735 conftest$ac_exeext conftest.$ac_ext
13736 CFLAGS=$ac_wine_try_cflags_saved
13738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13739 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13740 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
13741 saved_string_h_CFLAGS=$CFLAGS
13742 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
13743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13744 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13745 if ${ac_cv_c_string_h_warnings+:} false; then :
13746 $as_echo_n "(cached) " >&6
13747 else
13748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13749 /* end confdefs.h. */
13750 #include <string.h>
13752 main ()
13756 return 0;
13758 _ACEOF
13759 if ac_fn_c_try_compile "$LINENO"; then :
13760 ac_cv_c_string_h_warnings=no
13761 else
13762 ac_cv_c_string_h_warnings=yes
13764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13767 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13768 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
13769 CFLAGS=$saved_string_h_CFLAGS
13772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13773 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13774 if ${ac_cv_cflags__Wlogical_op+:} false; then :
13775 $as_echo_n "(cached) " >&6
13776 else
13777 ac_wine_try_cflags_saved=$CFLAGS
13778 CFLAGS="$CFLAGS -Wlogical-op"
13779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13780 /* end confdefs.h. */
13781 int main(int argc, char **argv) { return 0; }
13782 _ACEOF
13783 if ac_fn_c_try_link "$LINENO"; then :
13784 ac_cv_cflags__Wlogical_op=yes
13785 else
13786 ac_cv_cflags__Wlogical_op=no
13788 rm -f core conftest.err conftest.$ac_objext \
13789 conftest$ac_exeext conftest.$ac_ext
13790 CFLAGS=$ac_wine_try_cflags_saved
13792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13793 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13794 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
13795 saved_string_h_CFLAGS=$CFLAGS
13796 CFLAGS="$CFLAGS -Wlogical-op -Werror"
13797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13798 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13799 if ${ac_cv_c_logicalop_noisy+:} false; then :
13800 $as_echo_n "(cached) " >&6
13801 else
13802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13803 /* end confdefs.h. */
13804 #include <string.h>
13805 char*f(const char *h,char n) {return strchr(h,n);}
13807 main ()
13811 return 0;
13813 _ACEOF
13814 if ac_fn_c_try_compile "$LINENO"; then :
13815 ac_cv_c_logicalop_noisy=no
13816 else
13817 ac_cv_c_logicalop_noisy=yes
13819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13822 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13823 CFLAGS=$saved_string_h_CFLAGS
13824 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
13827 CFLAGS=$saved_CFLAGS
13829 for ac_flag in $CFLAGS; do
13830 case $ac_flag in
13831 -g) case $host_os in
13832 darwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13833 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
13834 if ${ac_cv_cflags__gstabsp+:} false; then :
13835 $as_echo_n "(cached) " >&6
13836 else
13837 ac_wine_try_cflags_saved=$CFLAGS
13838 CFLAGS="$CFLAGS -gstabs+"
13839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13840 /* end confdefs.h. */
13841 int main(int argc, char **argv) { return 0; }
13842 _ACEOF
13843 if ac_fn_c_try_link "$LINENO"; then :
13844 ac_cv_cflags__gstabsp=yes
13845 else
13846 ac_cv_cflags__gstabsp=no
13848 rm -f core conftest.err conftest.$ac_objext \
13849 conftest$ac_exeext conftest.$ac_ext
13850 CFLAGS=$ac_wine_try_cflags_saved
13852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
13853 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
13854 if test "x$ac_cv_cflags__gstabsp" = xyes; then :
13855 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
13856 fi ;;
13857 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
13858 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
13859 if ${ac_cv_cflags__gdwarf_2+:} false; then :
13860 $as_echo_n "(cached) " >&6
13861 else
13862 ac_wine_try_cflags_saved=$CFLAGS
13863 CFLAGS="$CFLAGS -gdwarf-2"
13864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13865 /* end confdefs.h. */
13866 int main(int argc, char **argv) { return 0; }
13867 _ACEOF
13868 if ac_fn_c_try_link "$LINENO"; then :
13869 ac_cv_cflags__gdwarf_2=yes
13870 else
13871 ac_cv_cflags__gdwarf_2=no
13873 rm -f core conftest.err conftest.$ac_objext \
13874 conftest$ac_exeext conftest.$ac_ext
13875 CFLAGS=$ac_wine_try_cflags_saved
13877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
13878 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
13879 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
13880 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
13882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
13883 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
13884 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
13885 $as_echo_n "(cached) " >&6
13886 else
13887 ac_wine_try_cflags_saved=$CFLAGS
13888 CFLAGS="$CFLAGS -gstrict-dwarf"
13889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13890 /* end confdefs.h. */
13891 int main(int argc, char **argv) { return 0; }
13892 _ACEOF
13893 if ac_fn_c_try_link "$LINENO"; then :
13894 ac_cv_cflags__gstrict_dwarf=yes
13895 else
13896 ac_cv_cflags__gstrict_dwarf=no
13898 rm -f core conftest.err conftest.$ac_objext \
13899 conftest$ac_exeext conftest.$ac_ext
13900 CFLAGS=$ac_wine_try_cflags_saved
13902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
13903 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
13904 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
13905 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
13906 fi ;;
13907 esac ;;
13908 esac
13909 done
13911 case $host_cpu in
13912 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
13913 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
13914 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
13915 $as_echo_n "(cached) " >&6
13916 else
13917 ac_wine_try_cflags_saved=$CFLAGS
13918 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
13919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13920 /* end confdefs.h. */
13921 int main(int argc, char **argv) { return 0; }
13922 _ACEOF
13923 if ac_fn_c_try_link "$LINENO"; then :
13924 ac_cv_cflags__fno_omit_frame_pointer=yes
13925 else
13926 ac_cv_cflags__fno_omit_frame_pointer=no
13928 rm -f core conftest.err conftest.$ac_objext \
13929 conftest$ac_exeext conftest.$ac_ext
13930 CFLAGS=$ac_wine_try_cflags_saved
13932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
13933 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
13934 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
13935 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
13936 fi ;;
13937 esac
13939 case $host in
13940 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
13941 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
13942 if ${ac_cv_cflags__Wno_format+:} false; then :
13943 $as_echo_n "(cached) " >&6
13944 else
13945 ac_wine_try_cflags_saved=$CFLAGS
13946 CFLAGS="$CFLAGS -Wno-format"
13947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13948 /* end confdefs.h. */
13949 int main(int argc, char **argv) { return 0; }
13950 _ACEOF
13951 if ac_fn_c_try_link "$LINENO"; then :
13952 ac_cv_cflags__Wno_format=yes
13953 else
13954 ac_cv_cflags__Wno_format=no
13956 rm -f core conftest.err conftest.$ac_objext \
13957 conftest$ac_exeext conftest.$ac_ext
13958 CFLAGS=$ac_wine_try_cflags_saved
13960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
13961 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
13962 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
13963 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
13964 fi ;;
13965 esac
13967 if test "x$enable_maintainer_mode" = "xyes"
13968 then
13969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
13970 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
13971 if ${ac_cv_cflags__Werror+:} false; then :
13972 $as_echo_n "(cached) " >&6
13973 else
13974 ac_wine_try_cflags_saved=$CFLAGS
13975 CFLAGS="$CFLAGS -Werror"
13976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13977 /* end confdefs.h. */
13978 int main(int argc, char **argv) { return 0; }
13979 _ACEOF
13980 if ac_fn_c_try_link "$LINENO"; then :
13981 ac_cv_cflags__Werror=yes
13982 else
13983 ac_cv_cflags__Werror=no
13985 rm -f core conftest.err conftest.$ac_objext \
13986 conftest$ac_exeext conftest.$ac_ext
13987 CFLAGS=$ac_wine_try_cflags_saved
13989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
13990 $as_echo "$ac_cv_cflags__Werror" >&6; }
13991 if test "x$ac_cv_cflags__Werror" = xyes; then :
13992 EXTRACFLAGS="$EXTRACFLAGS -Werror"
13996 saved_CFLAGS="$CFLAGS"
13997 CFLAGS="$CFLAGS -Werror"
13998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
13999 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14000 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14001 $as_echo_n "(cached) " >&6
14002 else
14003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14004 /* end confdefs.h. */
14005 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14007 main ()
14011 return 0;
14013 _ACEOF
14014 if ac_fn_c_try_compile "$LINENO"; then :
14015 ac_cv_have_ms_hook_prologue="yes"
14016 else
14017 ac_cv_have_ms_hook_prologue="no"
14019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14022 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14023 CFLAGS="$saved_CFLAGS"
14024 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14025 then
14027 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14029 else
14030 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14037 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14038 if ${ac_cv_c_fortify_enabled+:} false; then :
14039 $as_echo_n "(cached) " >&6
14040 else
14041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14042 /* end confdefs.h. */
14043 #include <string.h>
14045 main ()
14047 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14048 #error Fortify enabled
14049 #endif
14051 return 0;
14053 _ACEOF
14054 if ac_fn_c_try_compile "$LINENO"; then :
14055 ac_cv_c_fortify_enabled=no
14056 else
14057 ac_cv_c_fortify_enabled=yes
14059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14062 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14063 if test "$ac_cv_c_fortify_enabled" = yes
14064 then
14065 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14070 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14071 if ${ac_cv_c_extern_prefix+:} false; then :
14072 $as_echo_n "(cached) " >&6
14073 else
14074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14075 /* end confdefs.h. */
14076 extern int ac_test;
14078 main ()
14080 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14082 return 0;
14084 _ACEOF
14085 if ac_fn_c_try_link "$LINENO"; then :
14086 ac_cv_c_extern_prefix="yes"
14087 else
14088 ac_cv_c_extern_prefix="no"
14090 rm -f core conftest.err conftest.$ac_objext \
14091 conftest$ac_exeext conftest.$ac_ext
14093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14094 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14096 case $host_cpu in
14097 *i[3456789]86*)
14098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14099 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14100 if ${ac_cv_c_stdcall_suffix+:} false; then :
14101 $as_echo_n "(cached) " >&6
14102 else
14103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14104 /* end confdefs.h. */
14105 #ifndef _MSC_VER
14106 #define __stdcall __attribute__((__stdcall__))
14107 #endif
14108 int __stdcall ac_test(int i) { return i; }
14110 main ()
14112 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14114 return 0;
14116 _ACEOF
14117 if ac_fn_c_try_link "$LINENO"; then :
14118 ac_cv_c_stdcall_suffix="yes"
14119 else
14120 ac_cv_c_stdcall_suffix="no"
14122 rm -f core conftest.err conftest.$ac_objext \
14123 conftest$ac_exeext conftest.$ac_ext
14125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14126 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14127 *) ac_cv_c_stdcall_suffix="no" ;;
14128 esac
14131 if test "$ac_cv_c_extern_prefix" = "yes"
14132 then
14133 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14135 asm_name_prefix="_"
14136 else
14137 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14139 asm_name_prefix=""
14143 if test "$ac_cv_c_stdcall_suffix" = "yes"
14144 then
14145 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14147 else
14148 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14154 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14155 if ${ac_cv_asm_func_def+:} false; then :
14156 $as_echo_n "(cached) " >&6
14157 else
14158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14159 /* end confdefs.h. */
14162 main ()
14164 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14166 return 0;
14168 _ACEOF
14169 if ac_fn_c_try_link "$LINENO"; then :
14170 ac_cv_asm_func_def=".def"
14171 else
14172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14173 /* end confdefs.h. */
14176 main ()
14178 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14180 return 0;
14182 _ACEOF
14183 if ac_fn_c_try_link "$LINENO"; then :
14184 ac_cv_asm_func_def=".type @function"
14185 else
14186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14187 /* end confdefs.h. */
14190 main ()
14192 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14194 return 0;
14196 _ACEOF
14197 if ac_fn_c_try_link "$LINENO"; then :
14198 ac_cv_asm_func_def=".type 2"
14199 else
14200 ac_cv_asm_func_def="unknown"
14202 rm -f core conftest.err conftest.$ac_objext \
14203 conftest$ac_exeext conftest.$ac_ext
14205 rm -f core conftest.err conftest.$ac_objext \
14206 conftest$ac_exeext conftest.$ac_ext
14208 rm -f core conftest.err conftest.$ac_objext \
14209 conftest$ac_exeext conftest.$ac_ext
14211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14212 $as_echo "$ac_cv_asm_func_def" >&6; }
14215 case "$ac_cv_asm_func_def" in
14216 ".def")
14217 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14219 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14220 ".type @function")
14221 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14223 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14224 ".type 2")
14225 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14227 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14229 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14231 asm_func_header="" ;;
14232 esac
14234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14235 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14236 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14237 $as_echo_n "(cached) " >&6
14238 else
14239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14240 /* end confdefs.h. */
14241 asm(".text\n\t.long 0");
14243 main ()
14247 return 0;
14249 _ACEOF
14250 if ac_fn_c_try_compile "$LINENO"; then :
14251 ac_cv_c_asm_outside_funcs="yes"
14252 else
14253 ac_cv_c_asm_outside_funcs="no"
14255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14258 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14261 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14262 if ${ac_cv_c_dot_previous+:} false; then :
14263 $as_echo_n "(cached) " >&6
14264 else
14265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14266 /* end confdefs.h. */
14269 main ()
14271 asm(".text\nac_test:\t.long 0\n\t.previous");
14273 return 0;
14275 _ACEOF
14276 if ac_fn_c_try_link "$LINENO"; then :
14277 ac_cv_c_dot_previous="yes"
14278 else
14279 ac_cv_c_dot_previous="no"
14281 rm -f core conftest.err conftest.$ac_objext \
14282 conftest$ac_exeext conftest.$ac_ext
14284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14285 $as_echo "$ac_cv_c_dot_previous" >&6; }
14287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14288 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14289 if ${ac_cv_c_cfi_support+:} false; then :
14290 $as_echo_n "(cached) " >&6
14291 else
14292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14293 /* end confdefs.h. */
14294 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14296 main ()
14300 return 0;
14302 _ACEOF
14303 if ac_fn_c_try_compile "$LINENO"; then :
14304 ac_cv_c_cfi_support="yes"
14305 else
14306 ac_cv_c_cfi_support="no"
14308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14311 $as_echo "$ac_cv_c_cfi_support" >&6; }
14313 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14314 asm_func_trailer=""
14315 if test "$ac_cv_c_dot_previous" = "yes"
14316 then
14317 asm_func_trailer="\\n\\t.previous"
14319 if test "$ac_cv_c_cfi_support" = "yes"
14320 then
14321 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14322 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14324 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14326 UNWINDFLAGS=-fasynchronous-unwind-tables
14328 else
14329 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14333 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14336 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14337 then
14338 cat >>confdefs.h <<_ACEOF
14339 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14340 _ACEOF
14342 else
14343 cat >>confdefs.h <<_ACEOF
14344 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14345 _ACEOF
14349 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14352 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14356 case $build_os in
14357 cygwin*|mingw32*) TOOLSEXT=".exe"
14359 esac
14361 case $host_os in
14362 linux*)
14363 case $host_cpu in
14364 *i[3456789]86*|x86_64*)
14365 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14366 loader_programs="$loader_programs $wine_binary-preloader"
14367 as_fn_append LOADER_RULES "
14368 $wine_binary-preloader: preloader.o
14369 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14371 install install-lib:: $wine_binary-preloader
14372 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14374 uninstall::
14375 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14377 preloader_EXTRADEFS = $BUILTINFLAG
14378 " ;;
14379 esac
14381 esac
14382 as_fn_append LOADER_RULES "
14383 PROGRAMS = $loader_programs
14387 ac_save_CFLAGS="$CFLAGS"
14388 CFLAGS="$CFLAGS $BUILTINFLAG"
14389 for ac_func in \
14390 __res_get_state \
14391 __res_getservers \
14392 _finite \
14393 _isnan \
14394 _pclose \
14395 _popen \
14396 _snprintf \
14397 _spawnvp \
14398 _strdup \
14399 _stricmp \
14400 _strnicmp \
14401 _strtoi64 \
14402 _strtoui64 \
14403 _vsnprintf \
14404 asctime_r \
14405 chsize \
14406 dlopen \
14407 epoll_create \
14408 ffs \
14409 fnmatch \
14410 fork \
14411 fpclass \
14412 fstatfs \
14413 fstatvfs \
14414 ftruncate \
14415 futimens \
14416 futimes \
14417 futimesat \
14418 getattrlist \
14419 getdirentries \
14420 getopt_long_only \
14421 getpwuid \
14422 gettimeofday \
14423 getuid \
14424 if_nameindex \
14425 kqueue \
14426 lstat \
14427 memmove \
14428 mmap \
14429 pclose \
14430 pipe2 \
14431 poll \
14432 popen \
14433 port_create \
14434 prctl \
14435 pread \
14436 proc_pidinfo \
14437 pwrite \
14438 readdir \
14439 readlink \
14440 sched_yield \
14441 select \
14442 setproctitle \
14443 setrlimit \
14444 settimeofday \
14445 sigaltstack \
14446 sigprocmask \
14447 snprintf \
14448 statfs \
14449 statvfs \
14450 strcasecmp \
14451 strdup \
14452 strerror \
14453 strncasecmp \
14454 strtold \
14455 strtoll \
14456 strtoull \
14457 symlink \
14458 tcdrain \
14459 thr_kill2 \
14460 timegm \
14461 usleep \
14462 vsnprintf
14464 do :
14465 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14466 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14467 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14468 cat >>confdefs.h <<_ACEOF
14469 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14470 _ACEOF
14473 done
14475 CFLAGS="$ac_save_CFLAGS"
14477 if test "$ac_cv_func_dlopen" = no
14478 then
14479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14480 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14481 if ${ac_cv_lib_dl_dlopen+:} false; then :
14482 $as_echo_n "(cached) " >&6
14483 else
14484 ac_check_lib_save_LIBS=$LIBS
14485 LIBS="-ldl $LIBS"
14486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14487 /* end confdefs.h. */
14489 /* Override any GCC internal prototype to avoid an error.
14490 Use char because int might match the return type of a GCC
14491 builtin and then its argument prototype would still apply. */
14492 #ifdef __cplusplus
14493 extern "C"
14494 #endif
14495 char dlopen ();
14497 main ()
14499 return dlopen ();
14501 return 0;
14503 _ACEOF
14504 if ac_fn_c_try_link "$LINENO"; then :
14505 ac_cv_lib_dl_dlopen=yes
14506 else
14507 ac_cv_lib_dl_dlopen=no
14509 rm -f core conftest.err conftest.$ac_objext \
14510 conftest$ac_exeext conftest.$ac_ext
14511 LIBS=$ac_check_lib_save_LIBS
14513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14514 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14515 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14516 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14517 DL_LIBS="-ldl"
14522 ac_wine_check_funcs_save_LIBS="$LIBS"
14523 LIBS="$LIBS $DL_LIBS"
14524 for ac_func in dladdr
14525 do :
14526 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
14527 if test "x$ac_cv_func_dladdr" = xyes; then :
14528 cat >>confdefs.h <<_ACEOF
14529 #define HAVE_DLADDR 1
14530 _ACEOF
14533 done
14535 LIBS="$ac_wine_check_funcs_save_LIBS"
14537 if test "$ac_cv_func_poll" = no
14538 then
14539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14540 $as_echo_n "checking for poll in -lpoll... " >&6; }
14541 if ${ac_cv_lib_poll_poll+:} false; then :
14542 $as_echo_n "(cached) " >&6
14543 else
14544 ac_check_lib_save_LIBS=$LIBS
14545 LIBS="-lpoll $LIBS"
14546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14547 /* end confdefs.h. */
14549 /* Override any GCC internal prototype to avoid an error.
14550 Use char because int might match the return type of a GCC
14551 builtin and then its argument prototype would still apply. */
14552 #ifdef __cplusplus
14553 extern "C"
14554 #endif
14555 char poll ();
14557 main ()
14559 return poll ();
14561 return 0;
14563 _ACEOF
14564 if ac_fn_c_try_link "$LINENO"; then :
14565 ac_cv_lib_poll_poll=yes
14566 else
14567 ac_cv_lib_poll_poll=no
14569 rm -f core conftest.err conftest.$ac_objext \
14570 conftest$ac_exeext conftest.$ac_ext
14571 LIBS=$ac_check_lib_save_LIBS
14573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14574 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14575 if test "x$ac_cv_lib_poll_poll" = xyes; then :
14576 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14577 POLL_LIBS="-lpoll"
14583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14584 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14585 if ${ac_cv_search_gethostbyname+:} false; then :
14586 $as_echo_n "(cached) " >&6
14587 else
14588 ac_func_search_save_LIBS=$LIBS
14589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14590 /* end confdefs.h. */
14592 /* Override any GCC internal prototype to avoid an error.
14593 Use char because int might match the return type of a GCC
14594 builtin and then its argument prototype would still apply. */
14595 #ifdef __cplusplus
14596 extern "C"
14597 #endif
14598 char gethostbyname ();
14600 main ()
14602 return gethostbyname ();
14604 return 0;
14606 _ACEOF
14607 for ac_lib in '' nsl; do
14608 if test -z "$ac_lib"; then
14609 ac_res="none required"
14610 else
14611 ac_res=-l$ac_lib
14612 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14614 if ac_fn_c_try_link "$LINENO"; then :
14615 ac_cv_search_gethostbyname=$ac_res
14617 rm -f core conftest.err conftest.$ac_objext \
14618 conftest$ac_exeext
14619 if ${ac_cv_search_gethostbyname+:} false; then :
14620 break
14622 done
14623 if ${ac_cv_search_gethostbyname+:} false; then :
14625 else
14626 ac_cv_search_gethostbyname=no
14628 rm conftest.$ac_ext
14629 LIBS=$ac_func_search_save_LIBS
14631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14632 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14633 ac_res=$ac_cv_search_gethostbyname
14634 if test "$ac_res" != no; then :
14635 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14641 $as_echo_n "checking for library containing connect... " >&6; }
14642 if ${ac_cv_search_connect+:} false; then :
14643 $as_echo_n "(cached) " >&6
14644 else
14645 ac_func_search_save_LIBS=$LIBS
14646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14647 /* end confdefs.h. */
14649 /* Override any GCC internal prototype to avoid an error.
14650 Use char because int might match the return type of a GCC
14651 builtin and then its argument prototype would still apply. */
14652 #ifdef __cplusplus
14653 extern "C"
14654 #endif
14655 char connect ();
14657 main ()
14659 return connect ();
14661 return 0;
14663 _ACEOF
14664 for ac_lib in '' socket; do
14665 if test -z "$ac_lib"; then
14666 ac_res="none required"
14667 else
14668 ac_res=-l$ac_lib
14669 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14671 if ac_fn_c_try_link "$LINENO"; then :
14672 ac_cv_search_connect=$ac_res
14674 rm -f core conftest.err conftest.$ac_objext \
14675 conftest$ac_exeext
14676 if ${ac_cv_search_connect+:} false; then :
14677 break
14679 done
14680 if ${ac_cv_search_connect+:} false; then :
14682 else
14683 ac_cv_search_connect=no
14685 rm conftest.$ac_ext
14686 LIBS=$ac_func_search_save_LIBS
14688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14689 $as_echo "$ac_cv_search_connect" >&6; }
14690 ac_res=$ac_cv_search_connect
14691 if test "$ac_res" != no; then :
14692 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14698 $as_echo_n "checking for library containing inet_aton... " >&6; }
14699 if ${ac_cv_search_inet_aton+:} false; then :
14700 $as_echo_n "(cached) " >&6
14701 else
14702 ac_func_search_save_LIBS=$LIBS
14703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14704 /* end confdefs.h. */
14706 /* Override any GCC internal prototype to avoid an error.
14707 Use char because int might match the return type of a GCC
14708 builtin and then its argument prototype would still apply. */
14709 #ifdef __cplusplus
14710 extern "C"
14711 #endif
14712 char inet_aton ();
14714 main ()
14716 return inet_aton ();
14718 return 0;
14720 _ACEOF
14721 for ac_lib in '' resolv; do
14722 if test -z "$ac_lib"; then
14723 ac_res="none required"
14724 else
14725 ac_res=-l$ac_lib
14726 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14728 if ac_fn_c_try_link "$LINENO"; then :
14729 ac_cv_search_inet_aton=$ac_res
14731 rm -f core conftest.err conftest.$ac_objext \
14732 conftest$ac_exeext
14733 if ${ac_cv_search_inet_aton+:} false; then :
14734 break
14736 done
14737 if ${ac_cv_search_inet_aton+:} false; then :
14739 else
14740 ac_cv_search_inet_aton=no
14742 rm conftest.$ac_ext
14743 LIBS=$ac_func_search_save_LIBS
14745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14746 $as_echo "$ac_cv_search_inet_aton" >&6; }
14747 ac_res=$ac_cv_search_inet_aton
14748 if test "$ac_res" != no; then :
14749 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14754 for ac_func in \
14755 getaddrinfo \
14756 getnameinfo \
14757 getnetbyname \
14758 getprotobyname \
14759 getprotobynumber \
14760 getservbyport \
14761 inet_addr \
14762 inet_network \
14763 inet_ntop \
14764 inet_pton \
14765 sendmsg \
14766 socketpair \
14768 do :
14769 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14770 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14771 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14772 cat >>confdefs.h <<_ACEOF
14773 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14774 _ACEOF
14777 done
14780 ac_save_LIBS=$LIBS
14781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14782 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14783 if ${ac_cv_search_clock_gettime+:} false; then :
14784 $as_echo_n "(cached) " >&6
14785 else
14786 ac_func_search_save_LIBS=$LIBS
14787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14788 /* end confdefs.h. */
14790 /* Override any GCC internal prototype to avoid an error.
14791 Use char because int might match the return type of a GCC
14792 builtin and then its argument prototype would still apply. */
14793 #ifdef __cplusplus
14794 extern "C"
14795 #endif
14796 char clock_gettime ();
14798 main ()
14800 return clock_gettime ();
14802 return 0;
14804 _ACEOF
14805 for ac_lib in '' rt; do
14806 if test -z "$ac_lib"; then
14807 ac_res="none required"
14808 else
14809 ac_res=-l$ac_lib
14810 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14812 if ac_fn_c_try_link "$LINENO"; then :
14813 ac_cv_search_clock_gettime=$ac_res
14815 rm -f core conftest.err conftest.$ac_objext \
14816 conftest$ac_exeext
14817 if ${ac_cv_search_clock_gettime+:} false; then :
14818 break
14820 done
14821 if ${ac_cv_search_clock_gettime+:} false; then :
14823 else
14824 ac_cv_search_clock_gettime=no
14826 rm conftest.$ac_ext
14827 LIBS=$ac_func_search_save_LIBS
14829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14830 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14831 ac_res=$ac_cv_search_clock_gettime
14832 if test "$ac_res" != no; then :
14833 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14835 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
14837 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
14841 LIBS=$ac_save_LIBS
14843 LDAP_LIBS=""
14845 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
14846 then
14847 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
14849 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
14850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
14851 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
14852 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
14853 $as_echo_n "(cached) " >&6
14854 else
14855 ac_check_lib_save_LIBS=$LIBS
14856 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
14857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14858 /* end confdefs.h. */
14860 /* Override any GCC internal prototype to avoid an error.
14861 Use char because int might match the return type of a GCC
14862 builtin and then its argument prototype would still apply. */
14863 #ifdef __cplusplus
14864 extern "C"
14865 #endif
14866 char ldap_initialize ();
14868 main ()
14870 return ldap_initialize ();
14872 return 0;
14874 _ACEOF
14875 if ac_fn_c_try_link "$LINENO"; then :
14876 ac_cv_lib_ldap_r_ldap_initialize=yes
14877 else
14878 ac_cv_lib_ldap_r_ldap_initialize=no
14880 rm -f core conftest.err conftest.$ac_objext \
14881 conftest$ac_exeext conftest.$ac_ext
14882 LIBS=$ac_check_lib_save_LIBS
14884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
14885 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
14886 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
14887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
14888 $as_echo_n "checking for ber_init in -llber... " >&6; }
14889 if ${ac_cv_lib_lber_ber_init+:} false; then :
14890 $as_echo_n "(cached) " >&6
14891 else
14892 ac_check_lib_save_LIBS=$LIBS
14893 LIBS="-llber $PTHREAD_LIBS $LIBS"
14894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14895 /* end confdefs.h. */
14897 /* Override any GCC internal prototype to avoid an error.
14898 Use char because int might match the return type of a GCC
14899 builtin and then its argument prototype would still apply. */
14900 #ifdef __cplusplus
14901 extern "C"
14902 #endif
14903 char ber_init ();
14905 main ()
14907 return ber_init ();
14909 return 0;
14911 _ACEOF
14912 if ac_fn_c_try_link "$LINENO"; then :
14913 ac_cv_lib_lber_ber_init=yes
14914 else
14915 ac_cv_lib_lber_ber_init=no
14917 rm -f core conftest.err conftest.$ac_objext \
14918 conftest$ac_exeext conftest.$ac_ext
14919 LIBS=$ac_check_lib_save_LIBS
14921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
14922 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
14923 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
14925 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
14927 LDAP_LIBS="-lldap_r -llber"
14934 ac_wine_check_funcs_save_LIBS="$LIBS"
14935 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
14936 for ac_func in \
14937 ldap_count_references \
14938 ldap_first_reference \
14939 ldap_next_reference \
14940 ldap_parse_reference \
14941 ldap_parse_sort_control \
14942 ldap_parse_sortresponse_control \
14943 ldap_parse_vlv_control \
14944 ldap_parse_vlvresponse_control
14945 do :
14946 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14947 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14948 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14949 cat >>confdefs.h <<_ACEOF
14950 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14951 _ACEOF
14954 done
14956 LIBS="$ac_wine_check_funcs_save_LIBS"
14958 if test "x$LDAP_LIBS" = "x"; then :
14959 case "x$with_ldap" in
14960 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
14961 xno) ;;
14962 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
14963 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
14964 esac
14967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
14968 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
14969 if ${wine_cv_one_arg_mkdir+:} false; then :
14970 $as_echo_n "(cached) " >&6
14971 else
14972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14973 /* end confdefs.h. */
14974 #include <sys/stat.h>
14976 main ()
14978 mkdir("foo");
14980 return 0;
14982 _ACEOF
14983 if ac_fn_c_try_compile "$LINENO"; then :
14984 wine_cv_one_arg_mkdir=yes
14985 else
14986 wine_cv_one_arg_mkdir=no
14988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
14991 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
14992 if test "$wine_cv_one_arg_mkdir" = "yes"
14993 then
14995 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
14999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15000 $as_echo_n "checking for sched_setaffinity... " >&6; }
15001 if ${wine_cv_have_sched_setaffinity+:} false; then :
15002 $as_echo_n "(cached) " >&6
15003 else
15004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15005 /* end confdefs.h. */
15006 #define _GNU_SOURCE
15007 #include <sched.h>
15009 main ()
15011 sched_setaffinity(0, 0, 0);
15013 return 0;
15015 _ACEOF
15016 if ac_fn_c_try_link "$LINENO"; then :
15017 wine_cv_have_sched_setaffinity=yes
15018 else
15019 wine_cv_have_sched_setaffinity=no
15021 rm -f core conftest.err conftest.$ac_objext \
15022 conftest$ac_exeext conftest.$ac_ext
15024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15025 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15026 if test "$wine_cv_have_sched_setaffinity" = "yes"
15027 then
15029 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15034 $as_echo_n "checking for fallocate... " >&6; }
15035 if ${wine_cv_have_fallocate+:} false; then :
15036 $as_echo_n "(cached) " >&6
15037 else
15038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15039 /* end confdefs.h. */
15040 #define _GNU_SOURCE
15041 #include <fcntl.h>
15043 main ()
15045 fallocate(-1, 0, 0, 0);
15047 return 0;
15049 _ACEOF
15050 if ac_fn_c_try_link "$LINENO"; then :
15051 wine_cv_have_fallocate=yes
15052 else
15053 wine_cv_have_fallocate=no
15055 rm -f core conftest.err conftest.$ac_objext \
15056 conftest$ac_exeext conftest.$ac_ext
15058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15059 $as_echo "$wine_cv_have_fallocate" >&6; }
15060 if test "$wine_cv_have_fallocate" = "yes"
15061 then
15063 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15069 $as_echo_n "checking for inline... " >&6; }
15070 if ${ac_cv_c_inline+:} false; then :
15071 $as_echo_n "(cached) " >&6
15072 else
15073 ac_cv_c_inline=no
15074 for ac_kw in inline __inline__ __inline; do
15075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15076 /* end confdefs.h. */
15077 #ifndef __cplusplus
15078 typedef int foo_t;
15079 static $ac_kw foo_t static_foo () {return 0; }
15080 $ac_kw foo_t foo () {return 0; }
15081 #endif
15083 _ACEOF
15084 if ac_fn_c_try_compile "$LINENO"; then :
15085 ac_cv_c_inline=$ac_kw
15087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15088 test "$ac_cv_c_inline" != no && break
15089 done
15092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15093 $as_echo "$ac_cv_c_inline" >&6; }
15095 case $ac_cv_c_inline in
15096 inline | yes) ;;
15098 case $ac_cv_c_inline in
15099 no) ac_val=;;
15100 *) ac_val=$ac_cv_c_inline;;
15101 esac
15102 cat >>confdefs.h <<_ACEOF
15103 #ifndef __cplusplus
15104 #define inline $ac_val
15105 #endif
15106 _ACEOF
15108 esac
15110 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15111 if test "x$ac_cv_type_mode_t" = xyes; then :
15113 cat >>confdefs.h <<_ACEOF
15114 #define HAVE_MODE_T 1
15115 _ACEOF
15119 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15120 if test "x$ac_cv_type_off_t" = xyes; then :
15122 cat >>confdefs.h <<_ACEOF
15123 #define HAVE_OFF_T 1
15124 _ACEOF
15128 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15129 if test "x$ac_cv_type_pid_t" = xyes; then :
15131 cat >>confdefs.h <<_ACEOF
15132 #define HAVE_PID_T 1
15133 _ACEOF
15137 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15138 if test "x$ac_cv_type_size_t" = xyes; then :
15140 cat >>confdefs.h <<_ACEOF
15141 #define HAVE_SIZE_T 1
15142 _ACEOF
15146 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15147 if test "x$ac_cv_type_ssize_t" = xyes; then :
15149 cat >>confdefs.h <<_ACEOF
15150 #define HAVE_SSIZE_T 1
15151 _ACEOF
15155 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15156 if test "x$ac_cv_type_long_long" = xyes; then :
15158 cat >>confdefs.h <<_ACEOF
15159 #define HAVE_LONG_LONG 1
15160 _ACEOF
15164 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15165 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15167 cat >>confdefs.h <<_ACEOF
15168 #define HAVE_FSBLKCNT_T 1
15169 _ACEOF
15173 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15174 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15176 cat >>confdefs.h <<_ACEOF
15177 #define HAVE_FSFILCNT_T 1
15178 _ACEOF
15183 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15184 #include <signal.h>
15186 if test "x$ac_cv_type_sigset_t" = xyes; then :
15188 cat >>confdefs.h <<_ACEOF
15189 #define HAVE_SIGSET_T 1
15190 _ACEOF
15195 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15197 if test "x$ac_cv_type_request_sense" = xyes; then :
15199 cat >>confdefs.h <<_ACEOF
15200 #define HAVE_REQUEST_SENSE 1
15201 _ACEOF
15207 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15208 #ifdef HAVE_SYS_SOCKET_H
15209 #include <sys/socket.h>
15210 #endif
15211 #ifdef HAVE_SYS_SOCKETVAR_H
15212 #include <sys/socketvar.h>
15213 #endif
15214 #ifdef HAVE_NET_ROUTE_H
15215 #include <net/route.h>
15216 #endif
15217 #ifdef HAVE_NETINET_IN_H
15218 #include <netinet/in.h>
15219 #endif
15220 #ifdef HAVE_NETINET_IN_SYSTM_H
15221 #include <netinet/in_systm.h>
15222 #endif
15223 #ifdef HAVE_NETINET_IP_H
15224 #include <netinet/ip.h>
15225 #endif
15226 #ifdef HAVE_NETINET_IN_PCB_H
15227 #include <netinet/in_pcb.h>
15228 #endif
15230 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15232 cat >>confdefs.h <<_ACEOF
15233 #define HAVE_STRUCT_XINPGEN 1
15234 _ACEOF
15240 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15241 #include <link.h>
15242 #endif
15243 #ifdef HAVE_SYS_LINK_H
15244 #include <sys/link.h>
15245 #endif
15247 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15249 cat >>confdefs.h <<_ACEOF
15250 #define HAVE_STRUCT_R_DEBUG 1
15251 _ACEOF
15255 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15256 #include <link.h>
15257 #endif
15258 #ifdef HAVE_SYS_LINK_H
15259 #include <sys/link.h>
15260 #endif
15262 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15264 cat >>confdefs.h <<_ACEOF
15265 #define HAVE_STRUCT_LINK_MAP 1
15266 _ACEOF
15272 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15273 #include <linux/input.h>
15274 #endif
15276 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15278 cat >>confdefs.h <<_ACEOF
15279 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15280 _ACEOF
15286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15287 $as_echo_n "checking for sigaddset... " >&6; }
15288 if ${wine_cv_have_sigaddset+:} false; then :
15289 $as_echo_n "(cached) " >&6
15290 else
15291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15292 /* end confdefs.h. */
15293 #include <signal.h>
15295 main ()
15297 sigset_t set; sigaddset(&set,SIGTERM);
15299 return 0;
15301 _ACEOF
15302 if ac_fn_c_try_link "$LINENO"; then :
15303 wine_cv_have_sigaddset=yes
15304 else
15305 wine_cv_have_sigaddset=no
15307 rm -f core conftest.err conftest.$ac_objext \
15308 conftest$ac_exeext conftest.$ac_ext
15310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15311 $as_echo "$wine_cv_have_sigaddset" >&6; }
15312 if test "$wine_cv_have_sigaddset" = "yes"
15313 then
15315 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15321 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15322 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15323 $as_echo_n "(cached) " >&6
15324 else
15325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15326 /* end confdefs.h. */
15327 #include <netdb.h>
15329 main ()
15332 char *name=0;
15333 struct hostent he;
15334 struct hostent *result;
15335 char *buf=0;
15336 int bufsize=0;
15337 int errnr;
15338 char *addr=0;
15339 int addrlen=0;
15340 int addrtype=0;
15341 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15342 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15345 return 0;
15347 _ACEOF
15348 if ac_fn_c_try_link "$LINENO"; then :
15349 wine_cv_linux_gethostbyname_r_6=yes
15350 else
15351 wine_cv_linux_gethostbyname_r_6=no
15354 rm -f core conftest.err conftest.$ac_objext \
15355 conftest$ac_exeext conftest.$ac_ext
15358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15359 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15360 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15361 then
15363 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15367 if test "$ac_cv_header_linux_joystick_h" = "yes"
15368 then
15369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15370 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15371 if ${wine_cv_linux_joystick_22_api+:} false; then :
15372 $as_echo_n "(cached) " >&6
15373 else
15374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15375 /* end confdefs.h. */
15377 #include <sys/ioctl.h>
15378 #include <sys/types.h>
15379 #include <linux/joystick.h>
15381 struct js_event blub;
15382 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15383 #error "no 2.2 header"
15384 #endif
15387 main ()
15389 /*empty*/
15391 return 0;
15393 _ACEOF
15394 if ac_fn_c_try_compile "$LINENO"; then :
15395 wine_cv_linux_joystick_22_api=yes
15396 else
15397 wine_cv_linux_joystick_22_api=no
15399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15403 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15404 if test "$wine_cv_linux_joystick_22_api" = "yes"
15405 then
15407 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15413 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15414 #ifdef HAVE_SYS_PARAM_H
15415 # include <sys/param.h>
15416 #endif
15417 #ifdef HAVE_SYS_MOUNT_H
15418 # include <sys/mount.h>
15419 #endif
15420 #ifdef HAVE_SYS_VFS_H
15421 # include <sys/vfs.h>
15422 #endif
15423 #ifdef HAVE_SYS_STATFS_H
15424 # include <sys/statfs.h>
15425 #endif
15427 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15429 cat >>confdefs.h <<_ACEOF
15430 #define HAVE_STRUCT_STATFS_F_BFREE 1
15431 _ACEOF
15435 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15436 #ifdef HAVE_SYS_PARAM_H
15437 # include <sys/param.h>
15438 #endif
15439 #ifdef HAVE_SYS_MOUNT_H
15440 # include <sys/mount.h>
15441 #endif
15442 #ifdef HAVE_SYS_VFS_H
15443 # include <sys/vfs.h>
15444 #endif
15445 #ifdef HAVE_SYS_STATFS_H
15446 # include <sys/statfs.h>
15447 #endif
15449 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
15451 cat >>confdefs.h <<_ACEOF
15452 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15453 _ACEOF
15457 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15458 #ifdef HAVE_SYS_PARAM_H
15459 # include <sys/param.h>
15460 #endif
15461 #ifdef HAVE_SYS_MOUNT_H
15462 # include <sys/mount.h>
15463 #endif
15464 #ifdef HAVE_SYS_VFS_H
15465 # include <sys/vfs.h>
15466 #endif
15467 #ifdef HAVE_SYS_STATFS_H
15468 # include <sys/statfs.h>
15469 #endif
15471 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
15473 cat >>confdefs.h <<_ACEOF
15474 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15475 _ACEOF
15479 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15480 #ifdef HAVE_SYS_PARAM_H
15481 # include <sys/param.h>
15482 #endif
15483 #ifdef HAVE_SYS_MOUNT_H
15484 # include <sys/mount.h>
15485 #endif
15486 #ifdef HAVE_SYS_VFS_H
15487 # include <sys/vfs.h>
15488 #endif
15489 #ifdef HAVE_SYS_STATFS_H
15490 # include <sys/statfs.h>
15491 #endif
15493 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
15495 cat >>confdefs.h <<_ACEOF
15496 #define HAVE_STRUCT_STATFS_F_FFREE 1
15497 _ACEOF
15501 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15502 #ifdef HAVE_SYS_PARAM_H
15503 # include <sys/param.h>
15504 #endif
15505 #ifdef HAVE_SYS_MOUNT_H
15506 # include <sys/mount.h>
15507 #endif
15508 #ifdef HAVE_SYS_VFS_H
15509 # include <sys/vfs.h>
15510 #endif
15511 #ifdef HAVE_SYS_STATFS_H
15512 # include <sys/statfs.h>
15513 #endif
15515 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
15517 cat >>confdefs.h <<_ACEOF
15518 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15519 _ACEOF
15523 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15524 #ifdef HAVE_SYS_PARAM_H
15525 # include <sys/param.h>
15526 #endif
15527 #ifdef HAVE_SYS_MOUNT_H
15528 # include <sys/mount.h>
15529 #endif
15530 #ifdef HAVE_SYS_VFS_H
15531 # include <sys/vfs.h>
15532 #endif
15533 #ifdef HAVE_SYS_STATFS_H
15534 # include <sys/statfs.h>
15535 #endif
15537 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
15539 cat >>confdefs.h <<_ACEOF
15540 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15541 _ACEOF
15547 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15548 #include <sys/statvfs.h>
15549 #endif
15551 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
15553 cat >>confdefs.h <<_ACEOF
15554 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15555 _ACEOF
15561 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15562 #include <dirent.h>
15563 #endif
15565 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
15567 cat >>confdefs.h <<_ACEOF
15568 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15569 _ACEOF
15575 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15576 #ifdef HAVE_SYS_SOCKET_H
15577 # include <sys/socket.h>
15578 #endif
15579 #ifdef HAVE_SYS_UN_H
15580 # include <sys/un.h>
15581 #endif
15583 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
15585 cat >>confdefs.h <<_ACEOF
15586 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15587 _ACEOF
15591 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15592 #ifdef HAVE_SYS_SOCKET_H
15593 # include <sys/socket.h>
15594 #endif
15595 #ifdef HAVE_SYS_UN_H
15596 # include <sys/un.h>
15597 #endif
15599 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
15601 cat >>confdefs.h <<_ACEOF
15602 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15603 _ACEOF
15607 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15608 #ifdef HAVE_SYS_SOCKET_H
15609 # include <sys/socket.h>
15610 #endif
15611 #ifdef HAVE_SYS_UN_H
15612 # include <sys/un.h>
15613 #endif
15615 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
15617 cat >>confdefs.h <<_ACEOF
15618 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15619 _ACEOF
15625 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15626 #ifdef HAVE_SCSI_SG_H
15627 #include <scsi/sg.h>
15628 #endif
15630 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
15632 cat >>confdefs.h <<_ACEOF
15633 #define HAVE_SCSIREQ_T_CMD 1
15634 _ACEOF
15638 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>
15639 #ifdef HAVE_SCSI_SG_H
15640 #include <scsi/sg.h>
15641 #endif
15643 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
15645 cat >>confdefs.h <<_ACEOF
15646 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15647 _ACEOF
15653 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15655 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
15657 cat >>confdefs.h <<_ACEOF
15658 #define HAVE_SIGINFO_T_SI_FD 1
15659 _ACEOF
15665 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15666 #ifdef HAVE_SYS_MTIO_H
15667 #include <sys/mtio.h>
15668 #endif
15670 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
15672 cat >>confdefs.h <<_ACEOF
15673 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15674 _ACEOF
15678 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15679 #ifdef HAVE_SYS_MTIO_H
15680 #include <sys/mtio.h>
15681 #endif
15683 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
15685 cat >>confdefs.h <<_ACEOF
15686 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15687 _ACEOF
15691 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15692 #ifdef HAVE_SYS_MTIO_H
15693 #include <sys/mtio.h>
15694 #endif
15696 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
15698 cat >>confdefs.h <<_ACEOF
15699 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15700 _ACEOF
15706 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15707 #include <getopt.h>
15708 #endif
15710 if test "x$ac_cv_member_struct_option_name" = xyes; then :
15712 cat >>confdefs.h <<_ACEOF
15713 #define HAVE_STRUCT_OPTION_NAME 1
15714 _ACEOF
15720 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15721 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
15723 cat >>confdefs.h <<_ACEOF
15724 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15725 _ACEOF
15729 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15730 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
15732 cat >>confdefs.h <<_ACEOF
15733 #define HAVE_STRUCT_STAT_ST_MTIM 1
15734 _ACEOF
15738 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15739 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
15741 cat >>confdefs.h <<_ACEOF
15742 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15743 _ACEOF
15747 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15748 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
15750 cat >>confdefs.h <<_ACEOF
15751 #define HAVE_STRUCT_STAT_ST_CTIM 1
15752 _ACEOF
15756 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15757 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
15759 cat >>confdefs.h <<_ACEOF
15760 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15761 _ACEOF
15765 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15766 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
15768 cat >>confdefs.h <<_ACEOF
15769 #define HAVE_STRUCT_STAT_ST_ATIM 1
15770 _ACEOF
15774 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15775 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
15777 cat >>confdefs.h <<_ACEOF
15778 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15779 _ACEOF
15783 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15784 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
15786 cat >>confdefs.h <<_ACEOF
15787 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15788 _ACEOF
15792 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15793 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
15795 cat >>confdefs.h <<_ACEOF
15796 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15797 _ACEOF
15801 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15802 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
15804 cat >>confdefs.h <<_ACEOF
15805 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15806 _ACEOF
15810 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15811 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
15813 cat >>confdefs.h <<_ACEOF
15814 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15815 _ACEOF
15819 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15820 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
15822 cat >>confdefs.h <<_ACEOF
15823 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15824 _ACEOF
15830 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
15831 #include <sys/types.h>
15832 #endif
15833 #ifdef HAVE_NETINET_IN_H
15834 #include <netinet/in.h>
15835 #endif
15837 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
15839 cat >>confdefs.h <<_ACEOF
15840 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
15841 _ACEOF
15847 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
15848 #include <resolv.h>
15849 #endif
15851 if test "x$ac_cv_type_struct___res_state" = xyes; then :
15853 cat >>confdefs.h <<_ACEOF
15854 #define HAVE_STRUCT___RES_STATE 1
15855 _ACEOF
15861 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
15862 #include <resolv.h>
15863 #endif
15865 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
15867 cat >>confdefs.h <<_ACEOF
15868 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
15869 _ACEOF
15875 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
15876 #include <sys/types.h>
15877 #endif
15878 #ifdef HAVE_NETINET_IN_H
15879 # include <netinet/in.h>
15880 #endif
15881 #ifdef HAVE_ARPA_NAMESER_H
15882 # include <arpa/nameser.h>
15883 #endif
15885 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
15887 cat >>confdefs.h <<_ACEOF
15888 #define HAVE_NS_MSG__MSG_PTR 1
15889 _ACEOF
15895 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
15896 #include <sys/types.h>
15897 #endif
15898 #ifdef HAVE_NETINET_IP_H
15899 #include <netinet/ip.h>
15900 #endif
15901 #ifdef HAVE_NETINET_IP_ICMP_H
15902 #include <netinet/ip_icmp.h>
15903 #endif
15904 #ifdef HAVE_NETINET_ICMP_VAR_H
15905 #include <netinet/icmp_var.h>
15906 #endif
15908 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
15910 cat >>confdefs.h <<_ACEOF
15911 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
15912 _ACEOF
15918 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
15919 #include <sys/types.h>
15920 #endif
15921 #ifdef HAVE_ALIAS_H
15922 #include <alias.h>
15923 #endif
15924 #ifdef HAVE_SYS_SOCKET_H
15925 #include <sys/socket.h>
15926 #endif
15927 #ifdef HAVE_SYS_SOCKETVAR_H
15928 #include <sys/socketvar.h>
15929 #endif
15930 #ifdef HAVE_SYS_TIMEOUT_H
15931 #include <sys/timeout.h>
15932 #endif
15933 #ifdef HAVE_NETINET_IN_H
15934 #include <netinet/in.h>
15935 #endif
15936 #ifdef HAVE_NETINET_IN_SYSTM_H
15937 #include <netinet/in_systm.h>
15938 #endif
15939 #ifdef HAVE_NETINET_IP_H
15940 #include <netinet/ip.h>
15941 #endif
15942 #ifdef HAVE_NETINET_IP_VAR_H
15943 #include <netinet/ip_var.h>
15944 #endif
15945 #ifdef HAVE_NETINET_IP_ICMP_H
15946 #include <netinet/ip_icmp.h>
15947 #endif
15948 #ifdef HAVE_NETINET_ICMP_VAR_H
15949 #include <netinet/icmp_var.h>
15950 #endif
15952 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
15954 cat >>confdefs.h <<_ACEOF
15955 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
15956 _ACEOF
15962 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
15963 #include <sys/types.h>
15964 #endif
15965 #ifdef HAVE_SYS_SOCKETVAR_H
15966 #include <sys/socketvar.h>
15967 #endif
15968 #ifdef HAVE_NETINET_IN_H
15969 #include <netinet/in.h>
15970 #endif
15971 #ifdef HAVE_NETINET_IP_VAR_H
15972 #include <netinet/ip_var.h>
15973 #endif
15975 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
15977 cat >>confdefs.h <<_ACEOF
15978 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
15979 _ACEOF
15985 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
15986 #include <netinet/ip_var.h>
15987 #endif
15989 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
15991 cat >>confdefs.h <<_ACEOF
15992 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
15993 _ACEOF
15999 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16000 #include <sys/types.h>
16001 #endif
16002 #ifdef HAVE_SYS_SOCKETVAR_H
16003 #include <sys/socketvar.h>
16004 #endif
16005 #ifdef HAVE_NETINET_IN_H
16006 #include <netinet/in.h>
16007 #endif
16008 #ifdef HAVE_NETINET_TCP_H
16009 #include <netinet/tcp.h>
16010 #endif
16011 #ifdef HAVE_NETINET_TCP_VAR_H
16012 #include <netinet/tcp_var.h>
16013 #endif
16015 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16017 cat >>confdefs.h <<_ACEOF
16018 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16019 _ACEOF
16025 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
16026 #include <netinet/tcp_var.h>
16027 #endif
16029 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16031 cat >>confdefs.h <<_ACEOF
16032 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16033 _ACEOF
16039 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16040 #include <sys/types.h>
16041 #endif
16042 #ifdef HAVE_NETINET_IN_H
16043 #include <netinet/in.h>
16044 #endif
16045 #ifdef HAVE_NETINET_IP_VAR_H
16046 #include <netinet/ip_var.h>
16047 #endif
16048 #ifdef HAVE_NETINET_UDP_H
16049 #include <netinet/udp.h>
16050 #endif
16051 #ifdef HAVE_NETINET_UDP_VAR_H
16052 #include <netinet/udp_var.h>
16053 #endif
16055 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16057 cat >>confdefs.h <<_ACEOF
16058 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16059 _ACEOF
16065 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16066 #include <sys/types.h>
16067 #endif
16068 #ifdef HAVE_NET_IF_H
16069 # include <net/if.h>
16070 #endif
16072 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16074 cat >>confdefs.h <<_ACEOF
16075 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16076 _ACEOF
16082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16083 $as_echo_n "checking for timezone variable... " >&6; }
16084 if ${ac_cv_have_timezone+:} false; then :
16085 $as_echo_n "(cached) " >&6
16086 else
16087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16088 /* end confdefs.h. */
16089 #include <time.h>
16091 main ()
16093 timezone = 1
16095 return 0;
16097 _ACEOF
16098 if ac_fn_c_try_link "$LINENO"; then :
16099 ac_cv_have_timezone="yes"
16100 else
16101 ac_cv_have_timezone="no"
16103 rm -f core conftest.err conftest.$ac_objext \
16104 conftest$ac_exeext conftest.$ac_ext
16106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16107 $as_echo "$ac_cv_have_timezone" >&6; }
16108 if test "$ac_cv_have_timezone" = "yes"
16109 then
16111 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16115 $as_echo_n "checking for daylight variable... " >&6; }
16116 if ${ac_cv_have_daylight+:} false; then :
16117 $as_echo_n "(cached) " >&6
16118 else
16119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16120 /* end confdefs.h. */
16121 #include <time.h>
16123 main ()
16125 daylight = 1
16127 return 0;
16129 _ACEOF
16130 if ac_fn_c_try_link "$LINENO"; then :
16131 ac_cv_have_daylight="yes"
16132 else
16133 ac_cv_have_daylight="no"
16135 rm -f core conftest.err conftest.$ac_objext \
16136 conftest$ac_exeext conftest.$ac_ext
16138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16139 $as_echo "$ac_cv_have_daylight" >&6; }
16140 if test "$ac_cv_have_daylight" = "yes"
16141 then
16143 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16147 ac_save_LIBS="$LIBS"
16148 LIBS="$LIBS -lm"
16149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16150 $as_echo_n "checking for isfinite... " >&6; }
16151 if ${ac_cv_have_isfinite+:} false; then :
16152 $as_echo_n "(cached) " >&6
16153 else
16154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16155 /* end confdefs.h. */
16156 #define _GNU_SOURCE
16157 #include <math.h>
16159 main ()
16161 float f = 0.0; return isfinite(f)
16163 return 0;
16165 _ACEOF
16166 if ac_fn_c_try_link "$LINENO"; then :
16167 ac_cv_have_isfinite="yes"
16168 else
16169 ac_cv_have_isfinite="no"
16171 rm -f core conftest.err conftest.$ac_objext \
16172 conftest$ac_exeext conftest.$ac_ext
16174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16175 $as_echo "$ac_cv_have_isfinite" >&6; }
16176 if test "$ac_cv_have_isfinite" = "yes"
16177 then
16179 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16183 ac_save_LIBS="$LIBS"
16184 LIBS="$LIBS -lm"
16185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16186 $as_echo_n "checking for isinf... " >&6; }
16187 if ${ac_cv_have_isinf+:} false; then :
16188 $as_echo_n "(cached) " >&6
16189 else
16190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16191 /* end confdefs.h. */
16192 #include <math.h>
16194 main ()
16196 float f = 0.0; return isinf(f)
16198 return 0;
16200 _ACEOF
16201 if ac_fn_c_try_link "$LINENO"; then :
16202 ac_cv_have_isinf="yes"
16203 else
16204 ac_cv_have_isinf="no"
16206 rm -f core conftest.err conftest.$ac_objext \
16207 conftest$ac_exeext conftest.$ac_ext
16209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16210 $as_echo "$ac_cv_have_isinf" >&6; }
16211 if test "$ac_cv_have_isinf" = "yes"
16212 then
16214 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16219 $as_echo_n "checking for isnan... " >&6; }
16220 if ${ac_cv_have_isnan+:} false; then :
16221 $as_echo_n "(cached) " >&6
16222 else
16223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16224 /* end confdefs.h. */
16225 #include <math.h>
16227 main ()
16229 float f = 0.0; return isnan(f)
16231 return 0;
16233 _ACEOF
16234 if ac_fn_c_try_link "$LINENO"; then :
16235 ac_cv_have_isnan="yes"
16236 else
16237 ac_cv_have_isnan="no"
16239 rm -f core conftest.err conftest.$ac_objext \
16240 conftest$ac_exeext conftest.$ac_ext
16242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16243 $as_echo "$ac_cv_have_isnan" >&6; }
16244 if test "$ac_cv_have_isnan" = "yes"
16245 then
16247 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16250 LIBS="$ac_save_LIBS"
16253 case $host_cpu in
16254 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16255 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16256 if ${ac_cv_cpp_def___i386__+:} false; then :
16257 $as_echo_n "(cached) " >&6
16258 else
16259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16260 /* end confdefs.h. */
16261 #ifndef __i386__
16263 #endif
16264 _ACEOF
16265 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16266 $EGREP "yes" >/dev/null 2>&1; then :
16267 ac_cv_cpp_def___i386__=yes
16268 else
16269 ac_cv_cpp_def___i386__=no
16271 rm -f conftest*
16274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16275 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16276 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16277 CFLAGS="$CFLAGS -D__i386__"
16278 LINTFLAGS="$LINTFLAGS -D__i386__"
16279 fi ;;
16280 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16281 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16282 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16283 $as_echo_n "(cached) " >&6
16284 else
16285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16286 /* end confdefs.h. */
16287 #ifndef __x86_64__
16289 #endif
16290 _ACEOF
16291 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16292 $EGREP "yes" >/dev/null 2>&1; then :
16293 ac_cv_cpp_def___x86_64__=yes
16294 else
16295 ac_cv_cpp_def___x86_64__=no
16297 rm -f conftest*
16300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16301 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16302 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16303 CFLAGS="$CFLAGS -D__x86_64__"
16304 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16305 fi ;;
16306 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16307 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16308 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16309 $as_echo_n "(cached) " >&6
16310 else
16311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16312 /* end confdefs.h. */
16313 #ifndef __sparc64__
16315 #endif
16316 _ACEOF
16317 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16318 $EGREP "yes" >/dev/null 2>&1; then :
16319 ac_cv_cpp_def___sparc64__=yes
16320 else
16321 ac_cv_cpp_def___sparc64__=no
16323 rm -f conftest*
16326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16327 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16328 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
16329 CFLAGS="$CFLAGS -D__sparc64__"
16330 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16331 fi ;;
16332 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16333 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16334 if ${ac_cv_cpp_def___sparc__+:} false; then :
16335 $as_echo_n "(cached) " >&6
16336 else
16337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16338 /* end confdefs.h. */
16339 #ifndef __sparc__
16341 #endif
16342 _ACEOF
16343 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16344 $EGREP "yes" >/dev/null 2>&1; then :
16345 ac_cv_cpp_def___sparc__=yes
16346 else
16347 ac_cv_cpp_def___sparc__=no
16349 rm -f conftest*
16352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16353 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16354 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
16355 CFLAGS="$CFLAGS -D__sparc__"
16356 LINTFLAGS="$LINTFLAGS -D__sparc__"
16357 fi ;;
16358 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16359 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16360 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
16361 $as_echo_n "(cached) " >&6
16362 else
16363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16364 /* end confdefs.h. */
16365 #ifndef __powerpc64__
16367 #endif
16368 _ACEOF
16369 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16370 $EGREP "yes" >/dev/null 2>&1; then :
16371 ac_cv_cpp_def___powerpc64__=yes
16372 else
16373 ac_cv_cpp_def___powerpc64__=no
16375 rm -f conftest*
16378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16379 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16380 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
16381 CFLAGS="$CFLAGS -D__powerpc64__"
16382 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
16383 fi ;;
16384 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16385 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16386 if ${ac_cv_cpp_def___powerpc__+:} false; then :
16387 $as_echo_n "(cached) " >&6
16388 else
16389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16390 /* end confdefs.h. */
16391 #ifndef __powerpc__
16393 #endif
16394 _ACEOF
16395 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16396 $EGREP "yes" >/dev/null 2>&1; then :
16397 ac_cv_cpp_def___powerpc__=yes
16398 else
16399 ac_cv_cpp_def___powerpc__=no
16401 rm -f conftest*
16404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16405 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16406 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
16407 CFLAGS="$CFLAGS -D__powerpc__"
16408 LINTFLAGS="$LINTFLAGS -D__powerpc__"
16409 fi ;;
16410 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16411 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16412 if ${ac_cv_cpp_def___aarch64__+:} false; then :
16413 $as_echo_n "(cached) " >&6
16414 else
16415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16416 /* end confdefs.h. */
16417 #ifndef __aarch64__
16419 #endif
16420 _ACEOF
16421 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16422 $EGREP "yes" >/dev/null 2>&1; then :
16423 ac_cv_cpp_def___aarch64__=yes
16424 else
16425 ac_cv_cpp_def___aarch64__=no
16427 rm -f conftest*
16430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16431 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16432 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
16433 CFLAGS="$CFLAGS -D__aarch64__"
16434 LINTFLAGS="$LINTFLAGS -D__aarch64__"
16435 fi ;;
16436 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16437 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16438 if ${ac_cv_cpp_def___arm__+:} false; then :
16439 $as_echo_n "(cached) " >&6
16440 else
16441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16442 /* end confdefs.h. */
16443 #ifndef __arm__
16445 #endif
16446 _ACEOF
16447 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16448 $EGREP "yes" >/dev/null 2>&1; then :
16449 ac_cv_cpp_def___arm__=yes
16450 else
16451 ac_cv_cpp_def___arm__=no
16453 rm -f conftest*
16456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16457 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16458 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
16459 CFLAGS="$CFLAGS -D__arm__"
16460 LINTFLAGS="$LINTFLAGS -D__arm__"
16461 fi ;;
16462 esac
16464 case $host_vendor in
16465 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16466 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16467 if ${ac_cv_cpp_def___sun__+:} false; then :
16468 $as_echo_n "(cached) " >&6
16469 else
16470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16471 /* end confdefs.h. */
16472 #ifndef __sun__
16474 #endif
16475 _ACEOF
16476 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16477 $EGREP "yes" >/dev/null 2>&1; then :
16478 ac_cv_cpp_def___sun__=yes
16479 else
16480 ac_cv_cpp_def___sun__=no
16482 rm -f conftest*
16485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16486 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16487 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
16488 CFLAGS="$CFLAGS -D__sun__"
16489 LINTFLAGS="$LINTFLAGS -D__sun__"
16490 fi ;;
16491 esac
16497 ac_config_commands="$ac_config_commands include/stamp-h"
16499 $as_echo_n "creating Makefile rules..." >&6
16501 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
16502 SOCKET_LIBS = $SOCKET_LIBS
16503 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16504 IOKIT_LIBS = $IOKIT_LIBS
16505 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16506 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16507 CORESERVICES_LIBS = $CORESERVICES_LIBS
16508 APPKIT_LIBS = $APPKIT_LIBS
16509 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16510 SECURITY_LIBS = $SECURITY_LIBS
16511 COREAUDIO_LIBS = $COREAUDIO_LIBS
16512 OPENAL_LIBS = $OPENAL_LIBS
16513 OPENCL_LIBS = $OPENCL_LIBS
16514 QUICKTIME_LIBS = $QUICKTIME_LIBS
16515 CARBON_LIBS = $CARBON_LIBS
16516 PTHREAD_LIBS = $PTHREAD_LIBS
16517 X_CFLAGS = $X_CFLAGS
16518 X_PRE_LIBS = $X_PRE_LIBS
16519 X_LIBS = $X_LIBS
16520 X_EXTRA_LIBS = $X_EXTRA_LIBS
16521 XML2_CFLAGS = $XML2_CFLAGS
16522 XML2_LIBS = $XML2_LIBS
16523 XSLT_CFLAGS = $XSLT_CFLAGS
16524 XSLT_LIBS = $XSLT_LIBS
16525 DBUS_CFLAGS = $DBUS_CFLAGS
16526 DBUS_LIBS = $DBUS_LIBS
16527 HAL_CFLAGS = $HAL_CFLAGS
16528 HAL_LIBS = $HAL_LIBS
16529 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16530 GNUTLS_LIBS = $GNUTLS_LIBS
16531 SANE_CFLAGS = $SANE_CFLAGS
16532 SANE_LIBS = $SANE_LIBS
16533 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16534 GPHOTO2_LIBS = $GPHOTO2_LIBS
16535 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16536 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16537 RESOLV_LIBS = $RESOLV_LIBS
16538 LCMS2_CFLAGS = $LCMS2_CFLAGS
16539 LCMS2_LIBS = $LCMS2_LIBS
16540 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16541 FREETYPE_LIBS = $FREETYPE_LIBS
16542 Z_LIBS = $Z_LIBS
16543 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16544 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16545 GSTREAMER_LIBS = $GSTREAMER_LIBS
16546 ALSA_LIBS = $ALSA_LIBS
16547 OSS4_CFLAGS = $OSS4_CFLAGS
16548 CAPI20_CFLAGS = $CAPI20_CFLAGS
16549 CAPI20_LIBS = $CAPI20_LIBS
16550 CUPS_CFLAGS = $CUPS_CFLAGS
16551 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16552 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16553 JPEG_CFLAGS = $JPEG_CFLAGS
16554 JPEG_LIBS = $JPEG_LIBS
16555 PNG_CFLAGS = $PNG_CFLAGS
16556 PNG_LIBS = $PNG_LIBS
16557 TIFF_CFLAGS = $TIFF_CFLAGS
16558 TIFF_LIBS = $TIFF_LIBS
16559 MPG123_CFLAGS = $MPG123_CFLAGS
16560 MPG123_LIBS = $MPG123_LIBS
16561 KSTAT_LIBS = $KSTAT_LIBS
16562 PROCSTAT_LIBS = $PROCSTAT_LIBS
16563 DL_LIBS = $DL_LIBS
16564 POLL_LIBS = $POLL_LIBS
16565 RT_LIBS = $RT_LIBS
16566 LDAP_LIBS = $LDAP_LIBS
16571 wine_fn_append_rule "
16572 # Rules automatically generated by configure
16574 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16576 .INIT: Makefile
16577 .MAKEFILEDEPS:
16578 all: Makefile
16579 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16580 @./config.status Make.tmp Makefile && \$(MAKEDEP) ."
16582 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
16583 .gitignore: config.status
16584 @./config.status .gitignore"
16586 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
16587 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16589 if test "x$enable_fonts" != xno; then
16590 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16591 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16592 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16593 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16594 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf
16596 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16597 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
16598 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
16599 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
16600 ac_config_links="$ac_config_links wine:tools/winewrapper"
16601 wine_fn_config_symlink wine
16602 if test "x$enable_win64" != xno; then
16603 ac_config_links="$ac_config_links wine64:tools/winewrapper"
16604 wine_fn_config_symlink wine64
16607 wine_fn_config_dll acledit enable_acledit
16608 wine_fn_config_dll aclui enable_aclui implib
16609 wine_fn_config_dll activeds enable_activeds implib
16610 wine_fn_config_dll actxprxy enable_actxprxy clean
16611 wine_fn_config_lib adsiid
16612 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
16613 wine_fn_config_test dlls/advapi32/tests advapi32_test
16614 wine_fn_config_dll advpack enable_advpack implib
16615 wine_fn_config_test dlls/advpack/tests advpack_test
16616 wine_fn_config_dll amstream enable_amstream clean
16617 wine_fn_config_test dlls/amstream/tests amstream_test
16618 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16619 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16620 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16621 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16622 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16623 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16624 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16625 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16626 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16627 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
16628 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
16629 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
16630 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
16631 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
16632 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16633 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
16634 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
16635 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
16636 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16637 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
16638 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
16639 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
16640 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
16641 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
16642 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
16643 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
16644 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
16645 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
16646 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
16647 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
16648 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
16649 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
16650 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16651 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16652 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16653 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16654 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16655 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16656 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16657 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16658 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16659 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16660 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16661 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
16662 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
16663 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16664 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
16665 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
16666 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
16667 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
16668 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
16669 wine_fn_config_dll apphelp enable_apphelp
16670 wine_fn_config_test dlls/apphelp/tests apphelp_test
16671 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16672 wine_fn_config_dll atl enable_atl clean,implib
16673 wine_fn_config_test dlls/atl/tests atl_test
16674 wine_fn_config_dll atl100 enable_atl100 implib
16675 wine_fn_config_test dlls/atl100/tests atl100_test
16676 wine_fn_config_dll atl110 enable_atl110
16677 wine_fn_config_dll atl80 enable_atl80 implib
16678 wine_fn_config_test dlls/atl80/tests atl80_test
16679 wine_fn_config_dll atl90 enable_atl90
16680 wine_fn_config_dll authz enable_authz
16681 wine_fn_config_dll avicap32 enable_avicap32 implib
16682 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
16683 wine_fn_config_test dlls/avifil32/tests avifil32_test
16684 wine_fn_config_dll avifile.dll16 enable_win16
16685 wine_fn_config_dll avrt enable_avrt implib
16686 wine_fn_config_dll bcrypt enable_bcrypt
16687 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
16688 wine_fn_config_dll browseui enable_browseui clean,po
16689 wine_fn_config_test dlls/browseui/tests browseui_test
16690 wine_fn_config_dll cabinet enable_cabinet implib
16691 wine_fn_config_test dlls/cabinet/tests cabinet_test
16692 wine_fn_config_dll capi2032 enable_capi2032 implib
16693 wine_fn_config_dll cards enable_cards implib
16694 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16695 wine_fn_config_dll clusapi enable_clusapi implib
16696 wine_fn_config_dll comcat enable_comcat
16697 wine_fn_config_test dlls/comcat/tests comcat_test
16698 wine_fn_config_dll comctl32 enable_comctl32 implib,po
16699 wine_fn_config_test dlls/comctl32/tests comctl32_test
16700 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
16701 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
16702 wine_fn_config_dll comm.drv16 enable_win16
16703 wine_fn_config_dll commdlg.dll16 enable_win16
16704 wine_fn_config_dll compobj.dll16 enable_win16
16705 wine_fn_config_dll compstui enable_compstui implib
16706 wine_fn_config_dll comsvcs enable_comsvcs implib
16707 wine_fn_config_dll credui enable_credui implib,po
16708 wine_fn_config_test dlls/credui/tests credui_test
16709 wine_fn_config_dll crtdll enable_crtdll implib
16710 wine_fn_config_dll crypt32 enable_crypt32 implib,po
16711 wine_fn_config_test dlls/crypt32/tests crypt32_test
16712 wine_fn_config_dll cryptdlg enable_cryptdlg po
16713 wine_fn_config_dll cryptdll enable_cryptdll implib
16714 wine_fn_config_dll cryptnet enable_cryptnet implib
16715 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
16716 wine_fn_config_dll cryptui enable_cryptui implib,po
16717 wine_fn_config_test dlls/cryptui/tests cryptui_test
16718 wine_fn_config_dll ctapi32 enable_ctapi32
16719 wine_fn_config_dll ctl3d.dll16 enable_win16
16720 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16721 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16722 wine_fn_config_dll d2d1 enable_d2d1 implib
16723 wine_fn_config_dll d3d10 enable_d3d10 implib
16724 wine_fn_config_test dlls/d3d10/tests d3d10_test
16725 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
16726 wine_fn_config_dll d3d10core enable_d3d10core implib
16727 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
16728 wine_fn_config_dll d3d11 enable_d3d11
16729 wine_fn_config_dll d3d8 enable_d3d8 implib
16730 wine_fn_config_test dlls/d3d8/tests d3d8_test
16731 wine_fn_config_dll d3d9 enable_d3d9 implib
16732 wine_fn_config_test dlls/d3d9/tests d3d9_test
16733 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16734 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16735 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16736 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16737 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16738 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16739 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16740 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16741 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16742 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16743 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16744 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
16745 wine_fn_config_dll d3dim enable_d3dim implib
16746 wine_fn_config_dll d3drm enable_d3drm implib
16747 wine_fn_config_test dlls/d3drm/tests d3drm_test
16748 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16749 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16750 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16751 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16752 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16753 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16754 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16755 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16756 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16757 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16758 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16759 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16760 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16761 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16762 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16763 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16764 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16765 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16766 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16767 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16768 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16769 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16770 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16771 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16772 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16773 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16774 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
16775 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16776 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16777 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16778 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16779 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16780 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16781 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16782 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
16783 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
16784 wine_fn_config_dll dbgeng enable_dbgeng implib
16785 wine_fn_config_dll dbghelp enable_dbghelp implib
16786 wine_fn_config_dll dciman32 enable_dciman32 implib
16787 wine_fn_config_dll ddeml.dll16 enable_win16
16788 wine_fn_config_dll ddraw enable_ddraw clean,implib
16789 wine_fn_config_test dlls/ddraw/tests ddraw_test
16790 wine_fn_config_dll ddrawex enable_ddrawex clean
16791 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
16792 wine_fn_config_dll devenum enable_devenum clean,po
16793 wine_fn_config_test dlls/devenum/tests devenum_test
16794 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16795 wine_fn_config_dll difxapi enable_difxapi
16796 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
16797 wine_fn_config_test dlls/dinput/tests dinput_test
16798 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
16799 wine_fn_config_test dlls/dinput8/tests dinput8_test
16800 wine_fn_config_dll dispdib.dll16 enable_win16
16801 wine_fn_config_dll dispex enable_dispex clean
16802 wine_fn_config_test dlls/dispex/tests dispex_test
16803 wine_fn_config_dll display.drv16 enable_win16
16804 wine_fn_config_dll dmband enable_dmband clean
16805 wine_fn_config_test dlls/dmband/tests dmband_test
16806 wine_fn_config_dll dmcompos enable_dmcompos clean
16807 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
16808 wine_fn_config_dll dmime enable_dmime clean
16809 wine_fn_config_test dlls/dmime/tests dmime_test
16810 wine_fn_config_dll dmloader enable_dmloader clean
16811 wine_fn_config_test dlls/dmloader/tests dmloader_test
16812 wine_fn_config_dll dmscript enable_dmscript clean
16813 wine_fn_config_test dlls/dmscript/tests dmscript_test
16814 wine_fn_config_dll dmstyle enable_dmstyle clean
16815 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
16816 wine_fn_config_dll dmsynth enable_dmsynth clean
16817 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
16818 wine_fn_config_dll dmusic enable_dmusic clean
16819 wine_fn_config_test dlls/dmusic/tests dmusic_test
16820 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16821 wine_fn_config_dll dnsapi enable_dnsapi implib
16822 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
16823 wine_fn_config_dll dplay enable_dplay implib
16824 wine_fn_config_dll dplayx enable_dplayx clean,implib
16825 wine_fn_config_test dlls/dplayx/tests dplayx_test
16826 wine_fn_config_dll dpnaddr enable_dpnaddr
16827 wine_fn_config_dll dpnet enable_dpnet clean,implib
16828 wine_fn_config_test dlls/dpnet/tests dpnet_test
16829 wine_fn_config_dll dpnhpast enable_dpnhpast
16830 wine_fn_config_dll dpnlobby enable_dpnlobby
16831 wine_fn_config_dll dpwsockx enable_dpwsockx
16832 wine_fn_config_dll drmclien enable_drmclien
16833 wine_fn_config_dll dsound enable_dsound clean,implib
16834 wine_fn_config_test dlls/dsound/tests dsound_test
16835 wine_fn_config_dll dssenh enable_dssenh
16836 wine_fn_config_test dlls/dssenh/tests dssenh_test
16837 wine_fn_config_dll dswave enable_dswave clean
16838 wine_fn_config_dll dwmapi enable_dwmapi implib
16839 wine_fn_config_dll dwrite enable_dwrite implib
16840 wine_fn_config_test dlls/dwrite/tests dwrite_test
16841 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
16842 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
16843 wine_fn_config_lib dxerr8
16844 wine_fn_config_lib dxerr9
16845 wine_fn_config_dll dxgi enable_dxgi implib
16846 wine_fn_config_test dlls/dxgi/tests dxgi_test
16847 wine_fn_config_lib dxguid
16848 wine_fn_config_dll explorerframe enable_explorerframe clean
16849 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
16850 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
16851 wine_fn_config_dll faultrep enable_faultrep implib
16852 wine_fn_config_test dlls/faultrep/tests faultrep_test
16853 wine_fn_config_dll fltlib enable_fltlib
16854 wine_fn_config_dll fntcache enable_fntcache
16855 wine_fn_config_dll fusion enable_fusion
16856 wine_fn_config_test dlls/fusion/tests fusion_test
16857 wine_fn_config_dll fwpuclnt enable_fwpuclnt
16858 wine_fn_config_dll gameux enable_gameux clean
16859 wine_fn_config_test dlls/gameux/tests gameux_test
16860 wine_fn_config_dll gdi.exe16 enable_win16
16861 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
16862 wine_fn_config_test dlls/gdi32/tests gdi32_test
16863 wine_fn_config_dll gdiplus enable_gdiplus implib
16864 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
16865 wine_fn_config_dll glu32 enable_glu32 implib
16866 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
16867 wine_fn_config_dll gpkcsp enable_gpkcsp
16868 wine_fn_config_dll hal enable_hal
16869 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
16870 wine_fn_config_dll hid enable_hid implib
16871 wine_fn_config_dll hlink enable_hlink clean,implib
16872 wine_fn_config_test dlls/hlink/tests hlink_test
16873 wine_fn_config_dll hnetcfg enable_hnetcfg clean
16874 wine_fn_config_dll httpapi enable_httpapi
16875 wine_fn_config_dll iccvid enable_iccvid po
16876 wine_fn_config_dll icmp enable_icmp
16877 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
16878 wine_fn_config_test dlls/ieframe/tests ieframe_test
16879 wine_fn_config_dll ifsmgr.vxd enable_win16
16880 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
16881 wine_fn_config_dll imagehlp enable_imagehlp implib
16882 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
16883 wine_fn_config_dll imm.dll16 enable_win16
16884 wine_fn_config_dll imm32 enable_imm32 implib
16885 wine_fn_config_test dlls/imm32/tests imm32_test
16886 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
16887 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
16888 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
16889 wine_fn_config_dll inetmib1 enable_inetmib1
16890 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
16891 wine_fn_config_dll infosoft enable_infosoft clean
16892 wine_fn_config_test dlls/infosoft/tests infosoft_test
16893 wine_fn_config_dll initpki enable_initpki
16894 wine_fn_config_dll inkobj enable_inkobj
16895 wine_fn_config_dll inseng enable_inseng clean
16896 wine_fn_config_dll iphlpapi enable_iphlpapi implib
16897 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
16898 wine_fn_config_dll itircl enable_itircl
16899 wine_fn_config_dll itss enable_itss clean
16900 wine_fn_config_test dlls/itss/tests itss_test
16901 wine_fn_config_dll joy.cpl enable_joy_cpl po
16902 wine_fn_config_dll jscript enable_jscript clean,po
16903 wine_fn_config_test dlls/jscript/tests jscript_test
16904 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
16905 wine_fn_config_test dlls/kernel32/tests kernel32_test
16906 wine_fn_config_dll keyboard.drv16 enable_win16
16907 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
16908 wine_fn_config_dll ktmw32 enable_ktmw32
16909 wine_fn_config_dll loadperf enable_loadperf implib
16910 wine_fn_config_dll localspl enable_localspl po
16911 wine_fn_config_test dlls/localspl/tests localspl_test
16912 wine_fn_config_dll localui enable_localui po
16913 wine_fn_config_test dlls/localui/tests localui_test
16914 wine_fn_config_dll lz32 enable_lz32 implib
16915 wine_fn_config_test dlls/lz32/tests lz32_test
16916 wine_fn_config_dll lzexpand.dll16 enable_win16
16917 wine_fn_config_dll mapi32 enable_mapi32 implib,po
16918 wine_fn_config_test dlls/mapi32/tests mapi32_test
16919 wine_fn_config_dll mapistub enable_mapistub
16920 wine_fn_config_dll mciavi32 enable_mciavi32
16921 wine_fn_config_dll mcicda enable_mcicda
16922 wine_fn_config_dll mciqtz32 enable_mciqtz32
16923 wine_fn_config_dll mciseq enable_mciseq
16924 wine_fn_config_dll mciwave enable_mciwave
16925 wine_fn_config_dll mgmtapi enable_mgmtapi
16926 wine_fn_config_dll midimap enable_midimap
16927 wine_fn_config_dll mlang enable_mlang clean,implib
16928 wine_fn_config_test dlls/mlang/tests mlang_test
16929 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
16930 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
16931 wine_fn_config_dll mmdevapi enable_mmdevapi clean
16932 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
16933 wine_fn_config_dll mmdevldr.vxd enable_win16
16934 wine_fn_config_dll mmsystem.dll16 enable_win16
16935 wine_fn_config_dll monodebg.vxd enable_win16
16936 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
16937 wine_fn_config_dll mouse.drv16 enable_win16
16938 wine_fn_config_dll mpr enable_mpr implib,po
16939 wine_fn_config_test dlls/mpr/tests mpr_test
16940 wine_fn_config_dll mprapi enable_mprapi implib
16941 wine_fn_config_dll msacm.dll16 enable_win16
16942 wine_fn_config_dll msacm32.drv enable_msacm32_drv
16943 wine_fn_config_dll msacm32 enable_msacm32 implib,po
16944 wine_fn_config_test dlls/msacm32/tests msacm32_test
16945 wine_fn_config_dll msadp32.acm enable_msadp32_acm
16946 wine_fn_config_dll mscat32 enable_mscat32
16947 wine_fn_config_dll mscms enable_mscms implib
16948 wine_fn_config_test dlls/mscms/tests mscms_test
16949 wine_fn_config_dll mscoree enable_mscoree clean
16950 wine_fn_config_test dlls/mscoree/tests mscoree_test
16951 wine_fn_config_dll msctf enable_msctf clean
16952 wine_fn_config_test dlls/msctf/tests msctf_test
16953 wine_fn_config_dll msdaps enable_msdaps clean
16954 wine_fn_config_dll msdmo enable_msdmo implib
16955 wine_fn_config_dll msftedit enable_msftedit
16956 wine_fn_config_dll msg711.acm enable_msg711_acm
16957 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
16958 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
16959 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
16960 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
16961 wine_fn_config_dll msi enable_msi clean,implib,po
16962 wine_fn_config_test dlls/msi/tests msi_test
16963 wine_fn_config_dll msident enable_msident clean
16964 wine_fn_config_dll msimg32 enable_msimg32 implib
16965 wine_fn_config_dll msimsg enable_msimsg
16966 wine_fn_config_dll msimtf enable_msimtf clean
16967 wine_fn_config_dll msisip enable_msisip
16968 wine_fn_config_dll msisys.ocx enable_msisys_ocx
16969 wine_fn_config_dll msls31 enable_msls31
16970 wine_fn_config_dll msnet32 enable_msnet32
16971 wine_fn_config_dll mspatcha enable_mspatcha
16972 wine_fn_config_dll msrle32 enable_msrle32 po
16973 wine_fn_config_test dlls/msrle32/tests msrle32_test
16974 wine_fn_config_dll mssign32 enable_mssign32
16975 wine_fn_config_dll mssip32 enable_mssip32
16976 wine_fn_config_dll mstask enable_mstask clean
16977 wine_fn_config_test dlls/mstask/tests mstask_test
16978 wine_fn_config_dll msvcirt enable_msvcirt
16979 wine_fn_config_dll msvcm80 enable_msvcm80
16980 wine_fn_config_dll msvcm90 enable_msvcm90
16981 wine_fn_config_dll msvcp100 enable_msvcp100
16982 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
16983 wine_fn_config_dll msvcp110 enable_msvcp110
16984 wine_fn_config_dll msvcp60 enable_msvcp60
16985 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
16986 wine_fn_config_dll msvcp70 enable_msvcp70
16987 wine_fn_config_dll msvcp71 enable_msvcp71
16988 wine_fn_config_dll msvcp80 enable_msvcp80
16989 wine_fn_config_dll msvcp90 enable_msvcp90
16990 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
16991 wine_fn_config_dll msvcr100 enable_msvcr100 implib
16992 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
16993 wine_fn_config_dll msvcr110 enable_msvcr110 implib
16994 wine_fn_config_dll msvcr70 enable_msvcr70 implib
16995 wine_fn_config_dll msvcr71 enable_msvcr71 implib
16996 wine_fn_config_dll msvcr80 enable_msvcr80 implib
16997 wine_fn_config_dll msvcr90 enable_msvcr90 implib
16998 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
16999 wine_fn_config_dll msvcrt enable_msvcrt implib
17000 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17001 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17002 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17003 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17004 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17005 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17006 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17007 wine_fn_config_dll msvidc32 enable_msvidc32 po
17008 wine_fn_config_dll msvideo.dll16 enable_win16
17009 wine_fn_config_dll mswsock enable_mswsock implib
17010 wine_fn_config_dll msxml enable_msxml clean
17011 wine_fn_config_dll msxml2 enable_msxml2 clean
17012 wine_fn_config_dll msxml3 enable_msxml3 clean
17013 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17014 wine_fn_config_dll msxml4 enable_msxml4 clean
17015 wine_fn_config_dll msxml6 enable_msxml6 clean
17016 wine_fn_config_dll nddeapi enable_nddeapi implib
17017 wine_fn_config_dll netapi32 enable_netapi32 implib
17018 wine_fn_config_test dlls/netapi32/tests netapi32_test
17019 wine_fn_config_dll netcfgx enable_netcfgx
17020 wine_fn_config_dll newdev enable_newdev implib
17021 wine_fn_config_dll normaliz enable_normaliz implib
17022 wine_fn_config_dll npmshtml enable_npmshtml
17023 wine_fn_config_dll ntdll enable_ntdll implib
17024 wine_fn_config_test dlls/ntdll/tests ntdll_test
17025 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17026 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17027 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17028 wine_fn_config_dll ntprint enable_ntprint
17029 wine_fn_config_test dlls/ntprint/tests ntprint_test
17030 wine_fn_config_dll objsel enable_objsel clean
17031 wine_fn_config_dll odbc32 enable_odbc32 implib
17032 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17033 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17034 wine_fn_config_dll odbccu32 enable_odbccu32
17035 wine_fn_config_dll ole2.dll16 enable_win16
17036 wine_fn_config_dll ole2conv.dll16 enable_win16
17037 wine_fn_config_dll ole2disp.dll16 enable_win16
17038 wine_fn_config_dll ole2nls.dll16 enable_win16
17039 wine_fn_config_dll ole2prox.dll16 enable_win16
17040 wine_fn_config_dll ole2thk.dll16 enable_win16
17041 wine_fn_config_dll ole32 enable_ole32 clean,implib
17042 wine_fn_config_test dlls/ole32/tests ole32_test
17043 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17044 wine_fn_config_test dlls/oleacc/tests oleacc_test
17045 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17046 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17047 wine_fn_config_dll olecli.dll16 enable_win16
17048 wine_fn_config_dll olecli32 enable_olecli32 implib
17049 wine_fn_config_dll oledb32 enable_oledb32 clean
17050 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17051 wine_fn_config_dll oledlg enable_oledlg implib,po
17052 wine_fn_config_dll olepro32 enable_olepro32 implib
17053 wine_fn_config_dll olesvr.dll16 enable_win16
17054 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17055 wine_fn_config_dll olethk32 enable_olethk32
17056 wine_fn_config_dll openal32 enable_openal32
17057 wine_fn_config_dll opencl enable_opencl
17058 wine_fn_config_dll opengl32 enable_opengl32 implib
17059 wine_fn_config_test dlls/opengl32/tests opengl32_test
17060 wine_fn_config_dll pdh enable_pdh implib
17061 wine_fn_config_test dlls/pdh/tests pdh_test
17062 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17063 wine_fn_config_dll pidgen enable_pidgen
17064 wine_fn_config_dll powrprof enable_powrprof implib
17065 wine_fn_config_dll printui enable_printui
17066 wine_fn_config_dll propsys enable_propsys clean,implib
17067 wine_fn_config_test dlls/propsys/tests propsys_test
17068 wine_fn_config_dll psapi enable_psapi implib
17069 wine_fn_config_test dlls/psapi/tests psapi_test
17070 wine_fn_config_dll pstorec enable_pstorec clean
17071 wine_fn_config_dll qcap enable_qcap
17072 wine_fn_config_test dlls/qcap/tests qcap_test
17073 wine_fn_config_dll qedit enable_qedit clean
17074 wine_fn_config_test dlls/qedit/tests qedit_test
17075 wine_fn_config_dll qmgr enable_qmgr clean
17076 wine_fn_config_test dlls/qmgr/tests qmgr_test
17077 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17078 wine_fn_config_dll quartz enable_quartz clean,implib
17079 wine_fn_config_test dlls/quartz/tests quartz_test clean
17080 wine_fn_config_dll query enable_query
17081 wine_fn_config_dll rasapi16.dll16 enable_win16
17082 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17083 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17084 wine_fn_config_dll rasdlg enable_rasdlg implib
17085 wine_fn_config_dll regapi enable_regapi
17086 wine_fn_config_dll resutils enable_resutils implib
17087 wine_fn_config_dll riched20 enable_riched20 implib
17088 wine_fn_config_test dlls/riched20/tests riched20_test
17089 wine_fn_config_dll riched32 enable_riched32
17090 wine_fn_config_test dlls/riched32/tests riched32_test
17091 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17092 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17093 wine_fn_config_dll rsabase enable_rsabase
17094 wine_fn_config_dll rsaenh enable_rsaenh implib
17095 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17096 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17097 wine_fn_config_dll rtutils enable_rtutils implib
17098 wine_fn_config_dll samlib enable_samlib
17099 wine_fn_config_dll sane.ds enable_sane_ds po
17100 wine_fn_config_dll scarddlg enable_scarddlg
17101 wine_fn_config_dll sccbase enable_sccbase
17102 wine_fn_config_dll schannel enable_schannel
17103 wine_fn_config_test dlls/schannel/tests schannel_test
17104 wine_fn_config_dll scrrun enable_scrrun clean
17105 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17106 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17107 wine_fn_config_dll secur32 enable_secur32 implib
17108 wine_fn_config_test dlls/secur32/tests secur32_test
17109 wine_fn_config_dll security enable_security
17110 wine_fn_config_dll sensapi enable_sensapi implib
17111 wine_fn_config_dll serialui enable_serialui implib,po
17112 wine_fn_config_test dlls/serialui/tests serialui_test
17113 wine_fn_config_dll setupapi enable_setupapi implib,po
17114 wine_fn_config_test dlls/setupapi/tests setupapi_test
17115 wine_fn_config_dll setupx.dll16 enable_win16
17116 wine_fn_config_dll sfc enable_sfc implib
17117 wine_fn_config_dll sfc_os enable_sfc_os implib
17118 wine_fn_config_dll shdoclc enable_shdoclc po
17119 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17120 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17121 wine_fn_config_dll shell.dll16 enable_win16
17122 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17123 wine_fn_config_test dlls/shell32/tests shell32_test
17124 wine_fn_config_dll shfolder enable_shfolder implib
17125 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17126 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17127 wine_fn_config_dll slbcsp enable_slbcsp
17128 wine_fn_config_dll slc enable_slc implib
17129 wine_fn_config_dll snmpapi enable_snmpapi implib
17130 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17131 wine_fn_config_dll softpub enable_softpub
17132 wine_fn_config_dll sound.drv16 enable_win16
17133 wine_fn_config_dll spoolss enable_spoolss implib
17134 wine_fn_config_test dlls/spoolss/tests spoolss_test
17135 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17136 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17137 wine_fn_config_dll sti enable_sti clean,implib
17138 wine_fn_config_test dlls/sti/tests sti_test
17139 wine_fn_config_dll storage.dll16 enable_win16
17140 wine_fn_config_dll stress.dll16 enable_win16
17141 wine_fn_config_lib strmbase
17142 wine_fn_config_lib strmiids
17143 wine_fn_config_dll svrapi enable_svrapi
17144 wine_fn_config_dll sxs enable_sxs implib
17145 wine_fn_config_test dlls/sxs/tests sxs_test
17146 wine_fn_config_dll system.drv16 enable_win16
17147 wine_fn_config_dll t2embed enable_t2embed
17148 wine_fn_config_dll tapi32 enable_tapi32 implib
17149 wine_fn_config_dll taskschd enable_taskschd clean
17150 wine_fn_config_test dlls/taskschd/tests taskschd_test
17151 wine_fn_config_dll toolhelp.dll16 enable_win16
17152 wine_fn_config_dll traffic enable_traffic
17153 wine_fn_config_dll twain.dll16 enable_win16
17154 wine_fn_config_dll twain_32 enable_twain_32
17155 wine_fn_config_test dlls/twain_32/tests twain_32_test
17156 wine_fn_config_dll typelib.dll16 enable_win16
17157 wine_fn_config_dll unicows enable_unicows implib
17158 wine_fn_config_dll updspapi enable_updspapi
17159 wine_fn_config_dll url enable_url implib
17160 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17161 wine_fn_config_test dlls/urlmon/tests urlmon_test
17162 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17163 wine_fn_config_dll user.exe16 enable_win16
17164 wine_fn_config_dll user32 enable_user32 clean,implib,po
17165 wine_fn_config_test dlls/user32/tests user32_test
17166 wine_fn_config_dll userenv enable_userenv implib
17167 wine_fn_config_test dlls/userenv/tests userenv_test
17168 wine_fn_config_dll usp10 enable_usp10 implib
17169 wine_fn_config_test dlls/usp10/tests usp10_test
17170 wine_fn_config_lib uuid
17171 wine_fn_config_dll uxtheme enable_uxtheme implib
17172 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17173 wine_fn_config_dll vbscript enable_vbscript clean
17174 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17175 wine_fn_config_dll vcomp enable_vcomp
17176 wine_fn_config_dll vcomp100 enable_vcomp100
17177 wine_fn_config_dll vcomp90 enable_vcomp90
17178 wine_fn_config_dll vdhcp.vxd enable_win16
17179 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17180 wine_fn_config_dll ver.dll16 enable_win16
17181 wine_fn_config_dll version enable_version implib
17182 wine_fn_config_test dlls/version/tests version_test
17183 wine_fn_config_dll vmm.vxd enable_win16
17184 wine_fn_config_dll vnbt.vxd enable_win16
17185 wine_fn_config_dll vnetbios.vxd enable_win16
17186 wine_fn_config_dll vtdapi.vxd enable_win16
17187 wine_fn_config_dll vwin32.vxd enable_win16
17188 wine_fn_config_dll w32skrnl enable_win16
17189 wine_fn_config_dll w32sys.dll16 enable_win16
17190 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17191 wine_fn_config_dll wbemprox enable_wbemprox clean
17192 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17193 wine_fn_config_dll webservices enable_webservices implib
17194 wine_fn_config_dll wer enable_wer implib
17195 wine_fn_config_test dlls/wer/tests wer_test
17196 wine_fn_config_dll wevtapi enable_wevtapi
17197 wine_fn_config_dll wiaservc enable_wiaservc clean
17198 wine_fn_config_dll win32s16.dll16 enable_win16
17199 wine_fn_config_dll win87em.dll16 enable_win16
17200 wine_fn_config_dll winaspi.dll16 enable_win16
17201 wine_fn_config_dll windebug.dll16 enable_win16
17202 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17203 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17204 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17205 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17206 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17207 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17208 wine_fn_config_lib winecrt0
17209 wine_fn_config_dll wined3d enable_wined3d implib
17210 wine_fn_config_dll winegstreamer enable_winegstreamer
17211 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17212 wine_fn_config_dll winemac.drv enable_winemac_drv
17213 wine_fn_config_dll winemapi enable_winemapi
17214 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17215 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17216 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
17217 wine_fn_config_dll wineps16.drv16 enable_win16
17218 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17219 wine_fn_config_dll winex11.drv enable_winex11_drv
17220 wine_fn_config_dll wing.dll16 enable_win16
17221 wine_fn_config_dll wing32 enable_wing32
17222 wine_fn_config_dll winhttp enable_winhttp clean,implib
17223 wine_fn_config_test dlls/winhttp/tests winhttp_test
17224 wine_fn_config_dll wininet enable_wininet implib,po
17225 wine_fn_config_test dlls/wininet/tests wininet_test
17226 wine_fn_config_dll winmm enable_winmm implib,po
17227 wine_fn_config_test dlls/winmm/tests winmm_test
17228 wine_fn_config_dll winnls.dll16 enable_win16
17229 wine_fn_config_dll winnls32 enable_winnls32 implib
17230 wine_fn_config_dll winscard enable_winscard implib
17231 wine_fn_config_dll winsock.dll16 enable_win16
17232 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17233 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17234 wine_fn_config_dll winsta enable_winsta
17235 wine_fn_config_dll wintab.dll16 enable_win16
17236 wine_fn_config_dll wintab32 enable_wintab32 implib
17237 wine_fn_config_test dlls/wintab32/tests wintab32_test
17238 wine_fn_config_dll wintrust enable_wintrust implib
17239 wine_fn_config_test dlls/wintrust/tests wintrust_test
17240 wine_fn_config_dll wlanapi enable_wlanapi
17241 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17242 wine_fn_config_test dlls/wldap32/tests wldap32_test
17243 wine_fn_config_dll wmi enable_wmi
17244 wine_fn_config_dll wmiutils enable_wmiutils clean
17245 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17246 wine_fn_config_dll wmp enable_wmp clean
17247 wine_fn_config_test dlls/wmp/tests wmp_test
17248 wine_fn_config_dll wmvcore enable_wmvcore
17249 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17250 wine_fn_config_dll wow32 enable_win16 implib
17251 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17252 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
17253 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17254 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
17255 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17256 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
17257 wine_fn_config_dll wsock32 enable_wsock32 implib
17258 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17259 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
17260 wine_fn_config_dll wuapi enable_wuapi clean
17261 wine_fn_config_dll wuaueng enable_wuaueng
17262 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17263 wine_fn_config_dll xinput1_1 enable_xinput1_1
17264 wine_fn_config_dll xinput1_2 enable_xinput1_2
17265 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17266 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
17267 wine_fn_config_dll xinput1_4 enable_xinput1_4
17268 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17269 wine_fn_config_dll xmllite enable_xmllite implib
17270 wine_fn_config_test dlls/xmllite/tests xmllite_test
17271 wine_fn_config_dll xolehlp enable_xolehlp
17272 wine_fn_config_dll xpsprint enable_xpsprint
17273 wine_fn_config_dll xpssvcs enable_xpssvcs
17274 wine_fn_config_makefile documentation enable_documentation clean
17275 wine_fn_config_makefile fonts enable_fonts clean,install-lib
17276 wine_fn_config_makefile include enable_include clean,install-dev
17277 wine_fn_config_makefile libs/port enable_libs_port
17278 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
17279 wine_fn_config_makefile libs/wpp enable_libs_wpp
17280 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
17281 wine_fn_config_program arp enable_arp install
17282 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
17283 wine_fn_config_program attrib enable_attrib install,po
17284 wine_fn_config_program cabarc enable_cabarc install
17285 wine_fn_config_program cacls enable_cacls install
17286 wine_fn_config_program clock enable_clock install,po
17287 wine_fn_config_program cmd enable_cmd install,po
17288 wine_fn_config_test programs/cmd/tests cmd.exe_test
17289 wine_fn_config_program conhost enable_conhost install
17290 wine_fn_config_program control enable_control install
17291 wine_fn_config_program cscript enable_cscript install
17292 wine_fn_config_program dpnsvr enable_dpnsvr install
17293 wine_fn_config_program dxdiag enable_dxdiag install,po
17294 wine_fn_config_program eject enable_eject install
17295 wine_fn_config_program expand enable_expand install
17296 wine_fn_config_program explorer enable_explorer install,po
17297 wine_fn_config_program extrac32 enable_extrac32 install
17298 wine_fn_config_program findstr enable_findstr install
17299 wine_fn_config_program hh enable_hh install
17300 wine_fn_config_program hostname enable_hostname install,po
17301 wine_fn_config_program icinfo enable_icinfo install
17302 wine_fn_config_program iexplore enable_iexplore install
17303 wine_fn_config_program ipconfig enable_ipconfig install,po
17304 wine_fn_config_program lodctr enable_lodctr install
17305 wine_fn_config_program mofcomp enable_mofcomp install
17306 wine_fn_config_program mshta enable_mshta install
17307 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
17308 wine_fn_config_program net enable_net install,po
17309 wine_fn_config_program netsh enable_netsh install
17310 wine_fn_config_program netstat enable_netstat install,po
17311 wine_fn_config_program ngen enable_ngen install
17312 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
17313 wine_fn_config_program oleview enable_oleview install,po
17314 wine_fn_config_program ping enable_ping install
17315 wine_fn_config_program plugplay enable_plugplay install
17316 wine_fn_config_program presentationfontcache enable_presentationfontcache install
17317 wine_fn_config_program progman enable_progman install,po
17318 wine_fn_config_program reg enable_reg install,po
17319 wine_fn_config_program regasm enable_regasm install
17320 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
17321 wine_fn_config_test programs/regedit/tests regedit.exe_test
17322 wine_fn_config_program regsvcs enable_regsvcs install
17323 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage
17324 wine_fn_config_program rpcss enable_rpcss clean,install
17325 wine_fn_config_program rundll.exe16 enable_win16 install
17326 wine_fn_config_program rundll32 enable_rundll32 install
17327 wine_fn_config_program sc enable_sc install
17328 wine_fn_config_program schtasks enable_schtasks install
17329 wine_fn_config_program secedit enable_secedit install
17330 wine_fn_config_program servicemodelreg enable_servicemodelreg install
17331 wine_fn_config_program services enable_services clean,install
17332 wine_fn_config_test programs/services/tests services.exe_test
17333 wine_fn_config_program spoolsv enable_spoolsv install
17334 wine_fn_config_program start enable_start install,po
17335 wine_fn_config_program svchost enable_svchost install
17336 wine_fn_config_program taskkill enable_taskkill install,po
17337 wine_fn_config_program tasklist enable_tasklist install
17338 wine_fn_config_program taskmgr enable_taskmgr install,po
17339 wine_fn_config_program termsv enable_termsv install
17340 wine_fn_config_program uninstaller enable_uninstaller install,po
17341 wine_fn_config_program unlodctr enable_unlodctr install
17342 wine_fn_config_program view enable_view install,po
17343 wine_fn_config_program wevtutil enable_wevtutil install
17344 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
17345 wine_fn_config_program winebrowser enable_winebrowser install
17346 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
17347 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
17348 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
17349 wine_fn_config_program winedevice enable_winedevice install
17350 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
17351 wine_fn_config_program winemenubuilder enable_winemenubuilder install
17352 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
17353 wine_fn_config_program winemsibuilder enable_winemsibuilder install
17354 wine_fn_config_program winepath enable_winepath install,installbin,manpage
17355 wine_fn_config_program winetest enable_winetest clean
17356 wine_fn_config_program winevdm enable_win16 install
17357 wine_fn_config_program winhelp.exe16 enable_win16 install
17358 wine_fn_config_program winhlp32 enable_winhlp32 install,po
17359 wine_fn_config_program winoldap.mod16 enable_win16 install
17360 wine_fn_config_program winver enable_winver install
17361 wine_fn_config_program wmic enable_wmic install,po
17362 wine_fn_config_program wordpad enable_wordpad install,po
17363 wine_fn_config_program write enable_write install,po
17364 wine_fn_config_program wscript enable_wscript clean,install
17365 wine_fn_config_test programs/wscript/tests wscript.exe_test
17366 wine_fn_config_program wusa enable_wusa install
17367 wine_fn_config_program xcopy enable_xcopy install,po
17368 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
17369 wine_fn_config_makefile server enable_server clean,install-lib,manpage
17370 wine_fn_config_tool tools clean,install-dev,install-lib,manpage
17371 wine_fn_config_tool tools/sfnt2fon clean
17372 wine_fn_config_tool tools/widl clean,install-dev,manpage
17373 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
17374 wine_fn_config_tool tools/winedump clean,install-dev,manpage
17375 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
17376 wine_fn_config_tool tools/wmc clean,install-dev,manpage
17377 wine_fn_config_tool tools/wrc clean,install-dev,manpage
17379 LINGUAS="\
17380 ar \
17381 bg \
17382 ca \
17383 cs \
17384 da \
17385 de \
17386 el \
17387 en \
17388 en_US \
17389 eo \
17390 es \
17391 fa \
17392 fi \
17393 fr \
17394 he \
17395 hi \
17396 hr \
17397 hu \
17398 it \
17399 ja \
17400 ko \
17401 lt \
17402 ml \
17403 nb_NO \
17404 nl \
17405 or \
17406 pa \
17407 pl \
17408 pt_BR \
17409 pt_PT \
17410 rm \
17411 ro \
17412 ru \
17413 sk \
17414 sl \
17415 sr_RS@cyrillic \
17416 sr_RS@latin \
17417 sv \
17418 te \
17419 th \
17420 tr \
17421 uk \
17422 wa \
17423 zh_CN \
17424 zh_TW"
17429 wine_fn_ignore_file ".gitignore"
17430 wine_fn_ignore_file "Makefile"
17431 wine_fn_ignore_file "TAGS"
17432 wine_fn_ignore_file "tags"
17433 wine_fn_ignore_file "autom4te.cache"
17434 wine_fn_ignore_file "config.cache"
17435 wine_fn_ignore_file "config.log"
17436 wine_fn_ignore_file "config.status"
17437 wine_fn_ignore_file "configure.lineno"
17438 wine_fn_ignore_file "include/config.h"
17439 wine_fn_ignore_file "include/stamp-h"
17440 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
17442 if test "x$enable_tools" != xno
17443 then
17444 wine_fn_ignore_file "tools/makedep$ac_exeext"
17445 ac_config_commands="$ac_config_commands tools/makedep"
17449 ac_config_commands="$ac_config_commands Makefile"
17452 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17456 if test "x$enable_maintainer_mode" = xyes
17457 then
17458 wine_fn_append_rule "configure: configure.ac aclocal.m4
17459 autoconf --warnings=all
17460 include/config.h.in: include/stamp-h.in
17461 include/stamp-h.in: configure.ac aclocal.m4
17462 autoheader --warnings=all
17463 @echo timestamp > \$@"
17466 if test "x$with_gettextpo" = xyes
17467 then
17468 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17469 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
17470 \$(LINGUAS:%=po/%.po): po/wine.pot
17471 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17472 po/wine.pot: \$(ALL_POT_FILES)
17473 msgcat -o \$@ \$(ALL_POT_FILES)"
17476 if test "$MSGFMT" != false
17477 then
17478 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
17479 clean::
17480 \$(RM) \$(LINGUAS:%=po/%.mo)"
17482 posrc="po"
17483 test "$srcdir" = . || posrc="$srcdir/po"
17484 for i in $LINGUAS
17486 wine_fn_ignore_file "po/$i.mo"
17487 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
17488 \$(MSGFMT) -o \$@ $posrc/$i.po"
17489 done
17490 else
17491 LINGUAS=
17494 if test "x$enable_tools" != xno
17495 then
17496 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17497 @./config.status tools/makedep
17498 Makefile: tools/makedep$ac_exeext
17499 distclean:: clean
17500 \$(RM) tools/makedep$ac_exeext"
17501 else
17502 wine_fn_append_rule "\$(MAKEDEP):
17503 @echo \"You need to run make in $TOOLSDIR first\" && false"
17506 if test -n "$with_wine64"
17507 then
17508 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17509 fonts server tools:
17510 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17511 $with_wine64/loader/wine:
17512 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17513 $with_wine64/loader/wine-preloader:
17514 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17515 clean::
17516 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17517 else
17518 as_fn_append LOADER_RULES "
17519 all: wine.inf
17521 install install-lib:: wine.inf install-man-pages
17522 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17523 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17525 uninstall::
17526 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17530 if test "$srcdir" = .
17531 then
17532 ac_config_commands="$ac_config_commands .gitignore"
17536 $as_echo " done" >&6
17537 cat >confcache <<\_ACEOF
17538 # This file is a shell script that caches the results of configure
17539 # tests run on this system so they can be shared between configure
17540 # scripts and configure runs, see configure's option --config-cache.
17541 # It is not useful on other systems. If it contains results you don't
17542 # want to keep, you may remove or edit it.
17544 # config.status only pays attention to the cache file if you give it
17545 # the --recheck option to rerun configure.
17547 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17548 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17549 # following values.
17551 _ACEOF
17553 # The following way of writing the cache mishandles newlines in values,
17554 # but we know of no workaround that is simple, portable, and efficient.
17555 # So, we kill variables containing newlines.
17556 # Ultrix sh set writes to stderr and can't be redirected directly,
17557 # and sets the high bit in the cache file unless we assign to the vars.
17559 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17560 eval ac_val=\$$ac_var
17561 case $ac_val in #(
17562 *${as_nl}*)
17563 case $ac_var in #(
17564 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17565 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17566 esac
17567 case $ac_var in #(
17568 _ | IFS | as_nl) ;; #(
17569 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17570 *) { eval $ac_var=; unset $ac_var;} ;;
17571 esac ;;
17572 esac
17573 done
17575 (set) 2>&1 |
17576 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17577 *${as_nl}ac_space=\ *)
17578 # `set' does not quote correctly, so add quotes: double-quote
17579 # substitution turns \\\\ into \\, and sed turns \\ into \.
17580 sed -n \
17581 "s/'/'\\\\''/g;
17582 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17583 ;; #(
17585 # `set' quotes correctly as required by POSIX, so do not add quotes.
17586 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17588 esac |
17589 sort
17591 sed '
17592 /^ac_cv_env_/b end
17593 t clear
17594 :clear
17595 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17596 t end
17597 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17598 :end' >>confcache
17599 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17600 if test -w "$cache_file"; then
17601 if test "x$cache_file" != "x/dev/null"; then
17602 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17603 $as_echo "$as_me: updating cache $cache_file" >&6;}
17604 if test ! -f "$cache_file" || test -h "$cache_file"; then
17605 cat confcache >"$cache_file"
17606 else
17607 case $cache_file in #(
17608 */* | ?:*)
17609 mv -f confcache "$cache_file"$$ &&
17610 mv -f "$cache_file"$$ "$cache_file" ;; #(
17612 mv -f confcache "$cache_file" ;;
17613 esac
17616 else
17617 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17618 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17621 rm -f confcache
17623 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17624 # Let make expand exec_prefix.
17625 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17627 DEFS=-DHAVE_CONFIG_H
17629 ac_libobjs=
17630 ac_ltlibobjs=
17632 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17633 # 1. Remove the extension, and $U if already installed.
17634 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17635 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17636 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17637 # will be set to the directory where LIBOBJS objects are built.
17638 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17639 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17640 done
17641 LIBOBJS=$ac_libobjs
17643 LTLIBOBJS=$ac_ltlibobjs
17647 : "${CONFIG_STATUS=./config.status}"
17648 ac_write_fail=0
17649 ac_clean_files_save=$ac_clean_files
17650 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17651 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17652 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17653 as_write_fail=0
17654 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17655 #! $SHELL
17656 # Generated by $as_me.
17657 # Run this file to recreate the current configuration.
17658 # Compiler output produced by configure, useful for debugging
17659 # configure, is in config.log if it exists.
17661 debug=false
17662 ac_cs_recheck=false
17663 ac_cs_silent=false
17665 SHELL=\${CONFIG_SHELL-$SHELL}
17666 export SHELL
17667 _ASEOF
17668 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17669 ## -------------------- ##
17670 ## M4sh Initialization. ##
17671 ## -------------------- ##
17673 # Be more Bourne compatible
17674 DUALCASE=1; export DUALCASE # for MKS sh
17675 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17676 emulate sh
17677 NULLCMD=:
17678 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17679 # is contrary to our usage. Disable this feature.
17680 alias -g '${1+"$@"}'='"$@"'
17681 setopt NO_GLOB_SUBST
17682 else
17683 case `(set -o) 2>/dev/null` in #(
17684 *posix*) :
17685 set -o posix ;; #(
17686 *) :
17688 esac
17692 as_nl='
17694 export as_nl
17695 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17696 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17697 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17698 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17699 # Prefer a ksh shell builtin over an external printf program on Solaris,
17700 # but without wasting forks for bash or zsh.
17701 if test -z "$BASH_VERSION$ZSH_VERSION" \
17702 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17703 as_echo='print -r --'
17704 as_echo_n='print -rn --'
17705 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17706 as_echo='printf %s\n'
17707 as_echo_n='printf %s'
17708 else
17709 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17710 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17711 as_echo_n='/usr/ucb/echo -n'
17712 else
17713 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17714 as_echo_n_body='eval
17715 arg=$1;
17716 case $arg in #(
17717 *"$as_nl"*)
17718 expr "X$arg" : "X\\(.*\\)$as_nl";
17719 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17720 esac;
17721 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17723 export as_echo_n_body
17724 as_echo_n='sh -c $as_echo_n_body as_echo'
17726 export as_echo_body
17727 as_echo='sh -c $as_echo_body as_echo'
17730 # The user is always right.
17731 if test "${PATH_SEPARATOR+set}" != set; then
17732 PATH_SEPARATOR=:
17733 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17734 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17735 PATH_SEPARATOR=';'
17740 # IFS
17741 # We need space, tab and new line, in precisely that order. Quoting is
17742 # there to prevent editors from complaining about space-tab.
17743 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17744 # splitting by setting IFS to empty value.)
17745 IFS=" "" $as_nl"
17747 # Find who we are. Look in the path if we contain no directory separator.
17748 as_myself=
17749 case $0 in #((
17750 *[\\/]* ) as_myself=$0 ;;
17751 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17752 for as_dir in $PATH
17754 IFS=$as_save_IFS
17755 test -z "$as_dir" && as_dir=.
17756 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17757 done
17758 IFS=$as_save_IFS
17761 esac
17762 # We did not find ourselves, most probably we were run as `sh COMMAND'
17763 # in which case we are not to be found in the path.
17764 if test "x$as_myself" = x; then
17765 as_myself=$0
17767 if test ! -f "$as_myself"; then
17768 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17769 exit 1
17772 # Unset variables that we do not need and which cause bugs (e.g. in
17773 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17774 # suppresses any "Segmentation fault" message there. '((' could
17775 # trigger a bug in pdksh 5.2.14.
17776 for as_var in BASH_ENV ENV MAIL MAILPATH
17777 do eval test x\${$as_var+set} = xset \
17778 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17779 done
17780 PS1='$ '
17781 PS2='> '
17782 PS4='+ '
17784 # NLS nuisances.
17785 LC_ALL=C
17786 export LC_ALL
17787 LANGUAGE=C
17788 export LANGUAGE
17790 # CDPATH.
17791 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17794 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17795 # ----------------------------------------
17796 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17797 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17798 # script with STATUS, using 1 if that was 0.
17799 as_fn_error ()
17801 as_status=$1; test $as_status -eq 0 && as_status=1
17802 if test "$4"; then
17803 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17804 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17806 $as_echo "$as_me: error: $2" >&2
17807 as_fn_exit $as_status
17808 } # as_fn_error
17811 # as_fn_set_status STATUS
17812 # -----------------------
17813 # Set $? to STATUS, without forking.
17814 as_fn_set_status ()
17816 return $1
17817 } # as_fn_set_status
17819 # as_fn_exit STATUS
17820 # -----------------
17821 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17822 as_fn_exit ()
17824 set +e
17825 as_fn_set_status $1
17826 exit $1
17827 } # as_fn_exit
17829 # as_fn_unset VAR
17830 # ---------------
17831 # Portably unset VAR.
17832 as_fn_unset ()
17834 { eval $1=; unset $1;}
17836 as_unset=as_fn_unset
17837 # as_fn_append VAR VALUE
17838 # ----------------------
17839 # Append the text in VALUE to the end of the definition contained in VAR. Take
17840 # advantage of any shell optimizations that allow amortized linear growth over
17841 # repeated appends, instead of the typical quadratic growth present in naive
17842 # implementations.
17843 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17844 eval 'as_fn_append ()
17846 eval $1+=\$2
17848 else
17849 as_fn_append ()
17851 eval $1=\$$1\$2
17853 fi # as_fn_append
17855 # as_fn_arith ARG...
17856 # ------------------
17857 # Perform arithmetic evaluation on the ARGs, and store the result in the
17858 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17859 # must be portable across $(()) and expr.
17860 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17861 eval 'as_fn_arith ()
17863 as_val=$(( $* ))
17865 else
17866 as_fn_arith ()
17868 as_val=`expr "$@" || test $? -eq 1`
17870 fi # as_fn_arith
17873 if expr a : '\(a\)' >/dev/null 2>&1 &&
17874 test "X`expr 00001 : '.*\(...\)'`" = X001; then
17875 as_expr=expr
17876 else
17877 as_expr=false
17880 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17881 as_basename=basename
17882 else
17883 as_basename=false
17886 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17887 as_dirname=dirname
17888 else
17889 as_dirname=false
17892 as_me=`$as_basename -- "$0" ||
17893 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17894 X"$0" : 'X\(//\)$' \| \
17895 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17896 $as_echo X/"$0" |
17897 sed '/^.*\/\([^/][^/]*\)\/*$/{
17898 s//\1/
17901 /^X\/\(\/\/\)$/{
17902 s//\1/
17905 /^X\/\(\/\).*/{
17906 s//\1/
17909 s/.*/./; q'`
17911 # Avoid depending upon Character Ranges.
17912 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17913 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17914 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17915 as_cr_digits='0123456789'
17916 as_cr_alnum=$as_cr_Letters$as_cr_digits
17918 ECHO_C= ECHO_N= ECHO_T=
17919 case `echo -n x` in #(((((
17920 -n*)
17921 case `echo 'xy\c'` in
17922 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
17923 xy) ECHO_C='\c';;
17924 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
17925 ECHO_T=' ';;
17926 esac;;
17928 ECHO_N='-n';;
17929 esac
17931 rm -f conf$$ conf$$.exe conf$$.file
17932 if test -d conf$$.dir; then
17933 rm -f conf$$.dir/conf$$.file
17934 else
17935 rm -f conf$$.dir
17936 mkdir conf$$.dir 2>/dev/null
17938 if (echo >conf$$.file) 2>/dev/null; then
17939 if ln -s conf$$.file conf$$ 2>/dev/null; then
17940 as_ln_s='ln -s'
17941 # ... but there are two gotchas:
17942 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17943 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17944 # In both cases, we have to default to `cp -pR'.
17945 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17946 as_ln_s='cp -pR'
17947 elif ln conf$$.file conf$$ 2>/dev/null; then
17948 as_ln_s=ln
17949 else
17950 as_ln_s='cp -pR'
17952 else
17953 as_ln_s='cp -pR'
17955 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17956 rmdir conf$$.dir 2>/dev/null
17959 # as_fn_mkdir_p
17960 # -------------
17961 # Create "$as_dir" as a directory, including parents if necessary.
17962 as_fn_mkdir_p ()
17965 case $as_dir in #(
17966 -*) as_dir=./$as_dir;;
17967 esac
17968 test -d "$as_dir" || eval $as_mkdir_p || {
17969 as_dirs=
17970 while :; do
17971 case $as_dir in #(
17972 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17973 *) as_qdir=$as_dir;;
17974 esac
17975 as_dirs="'$as_qdir' $as_dirs"
17976 as_dir=`$as_dirname -- "$as_dir" ||
17977 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17978 X"$as_dir" : 'X\(//\)[^/]' \| \
17979 X"$as_dir" : 'X\(//\)$' \| \
17980 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17981 $as_echo X"$as_dir" |
17982 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17983 s//\1/
17986 /^X\(\/\/\)[^/].*/{
17987 s//\1/
17990 /^X\(\/\/\)$/{
17991 s//\1/
17994 /^X\(\/\).*/{
17995 s//\1/
17998 s/.*/./; q'`
17999 test -d "$as_dir" && break
18000 done
18001 test -z "$as_dirs" || eval "mkdir $as_dirs"
18002 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18005 } # as_fn_mkdir_p
18006 if mkdir -p . 2>/dev/null; then
18007 as_mkdir_p='mkdir -p "$as_dir"'
18008 else
18009 test -d ./-p && rmdir ./-p
18010 as_mkdir_p=false
18014 # as_fn_executable_p FILE
18015 # -----------------------
18016 # Test if FILE is an executable regular file.
18017 as_fn_executable_p ()
18019 test -f "$1" && test -x "$1"
18020 } # as_fn_executable_p
18021 as_test_x='test -x'
18022 as_executable_p=as_fn_executable_p
18024 # Sed expression to map a string onto a valid CPP name.
18025 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18027 # Sed expression to map a string onto a valid variable name.
18028 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18031 exec 6>&1
18032 ## ----------------------------------- ##
18033 ## Main body of $CONFIG_STATUS script. ##
18034 ## ----------------------------------- ##
18035 _ASEOF
18036 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18038 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18039 # Save the log message, to keep $0 and so on meaningful, and to
18040 # report actual input values of CONFIG_FILES etc. instead of their
18041 # values after options handling.
18042 ac_log="
18043 This file was extended by Wine $as_me 1.7.13, which was
18044 generated by GNU Autoconf 2.69. Invocation command line was
18046 CONFIG_FILES = $CONFIG_FILES
18047 CONFIG_HEADERS = $CONFIG_HEADERS
18048 CONFIG_LINKS = $CONFIG_LINKS
18049 CONFIG_COMMANDS = $CONFIG_COMMANDS
18050 $ $0 $@
18052 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18055 _ACEOF
18057 case $ac_config_files in *"
18058 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18059 esac
18061 case $ac_config_headers in *"
18062 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18063 esac
18066 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18067 # Files that config.status was made for.
18068 config_files="$ac_config_files"
18069 config_headers="$ac_config_headers"
18070 config_links="$ac_config_links"
18071 config_commands="$ac_config_commands"
18073 _ACEOF
18075 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18076 ac_cs_usage="\
18077 \`$as_me' instantiates files and other configuration actions
18078 from templates according to the current configuration. Unless the files
18079 and actions are specified as TAGs, all are instantiated by default.
18081 Usage: $0 [OPTION]... [TAG]...
18083 -h, --help print this help, then exit
18084 -V, --version print version number and configuration settings, then exit
18085 --config print configuration, then exit
18086 -q, --quiet, --silent
18087 do not print progress messages
18088 -d, --debug don't remove temporary files
18089 --recheck update $as_me by reconfiguring in the same conditions
18090 --file=FILE[:TEMPLATE]
18091 instantiate the configuration file FILE
18092 --header=FILE[:TEMPLATE]
18093 instantiate the configuration header FILE
18095 Configuration files:
18096 $config_files
18098 Configuration headers:
18099 $config_headers
18101 Configuration links:
18102 $config_links
18104 Configuration commands:
18105 $config_commands
18107 Report bugs to <wine-devel@winehq.org>.
18108 Wine home page: <http://www.winehq.org>."
18110 _ACEOF
18111 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18112 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18113 ac_cs_version="\\
18114 Wine config.status 1.7.13
18115 configured by $0, generated by GNU Autoconf 2.69,
18116 with options \\"\$ac_cs_config\\"
18118 Copyright (C) 2012 Free Software Foundation, Inc.
18119 This config.status script is free software; the Free Software Foundation
18120 gives unlimited permission to copy, distribute and modify it."
18122 ac_pwd='$ac_pwd'
18123 srcdir='$srcdir'
18124 test -n "\$AWK" || AWK=awk
18125 _ACEOF
18127 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18128 # The default lists apply if the user does not specify any file.
18129 ac_need_defaults=:
18130 while test $# != 0
18132 case $1 in
18133 --*=?*)
18134 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18135 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18136 ac_shift=:
18138 --*=)
18139 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18140 ac_optarg=
18141 ac_shift=:
18144 ac_option=$1
18145 ac_optarg=$2
18146 ac_shift=shift
18148 esac
18150 case $ac_option in
18151 # Handling of the options.
18152 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18153 ac_cs_recheck=: ;;
18154 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18155 $as_echo "$ac_cs_version"; exit ;;
18156 --config | --confi | --conf | --con | --co | --c )
18157 $as_echo "$ac_cs_config"; exit ;;
18158 --debug | --debu | --deb | --de | --d | -d )
18159 debug=: ;;
18160 --file | --fil | --fi | --f )
18161 $ac_shift
18162 case $ac_optarg in
18163 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18164 '') as_fn_error $? "missing file argument" ;;
18165 esac
18166 as_fn_append CONFIG_FILES " '$ac_optarg'"
18167 ac_need_defaults=false;;
18168 --header | --heade | --head | --hea )
18169 $ac_shift
18170 case $ac_optarg in
18171 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18172 esac
18173 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18174 ac_need_defaults=false;;
18175 --he | --h)
18176 # Conflict between --help and --header
18177 as_fn_error $? "ambiguous option: \`$1'
18178 Try \`$0 --help' for more information.";;
18179 --help | --hel | -h )
18180 $as_echo "$ac_cs_usage"; exit ;;
18181 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18182 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18183 ac_cs_silent=: ;;
18185 # This is an error.
18186 -*) as_fn_error $? "unrecognized option: \`$1'
18187 Try \`$0 --help' for more information." ;;
18189 *) as_fn_append ac_config_targets " $1"
18190 ac_need_defaults=false ;;
18192 esac
18193 shift
18194 done
18196 ac_configure_extra_args=
18198 if $ac_cs_silent; then
18199 exec 6>/dev/null
18200 ac_configure_extra_args="$ac_configure_extra_args --silent"
18203 _ACEOF
18204 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18205 if \$ac_cs_recheck; then
18206 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18207 shift
18208 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18209 CONFIG_SHELL='$SHELL'
18210 export CONFIG_SHELL
18211 exec "\$@"
18214 _ACEOF
18215 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18216 exec 5>>config.log
18218 echo
18219 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18220 ## Running $as_me. ##
18221 _ASBOX
18222 $as_echo "$ac_log"
18223 } >&5
18225 _ACEOF
18226 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18228 # INIT-COMMANDS
18230 wine_fn_output_makedep ()
18232 as_dir=tools; as_fn_mkdir_p
18233 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18235 wine_fn_output_makefile ()
18237 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && return
18238 `cat $wine_rules_file`
18239 _WINE_EOF
18240 as_fn_error $? "could not create Makefile" "$LINENO" 5
18242 wine_fn_output_gitignore ()
18244 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18245 $GITIGNORE
18246 _WINE_EOF
18247 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18250 _ACEOF
18252 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18254 # Handling of arguments.
18255 for ac_config_target in $ac_config_targets
18257 case $ac_config_target in
18258 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18259 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
18260 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18261 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18262 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18263 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18264 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18265 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18266 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
18267 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18268 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
18269 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
18270 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18271 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
18273 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18274 esac
18275 done
18278 # If the user did not use the arguments to specify the items to instantiate,
18279 # then the envvar interface is used. Set only those that are not.
18280 # We use the long form for the default assignment because of an extremely
18281 # bizarre bug on SunOS 4.1.3.
18282 if $ac_need_defaults; then
18283 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18284 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18285 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18286 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18289 # Have a temporary directory for convenience. Make it in the build tree
18290 # simply because there is no reason against having it here, and in addition,
18291 # creating and moving files from /tmp can sometimes cause problems.
18292 # Hook for its removal unless debugging.
18293 # Note that there is a small window in which the directory will not be cleaned:
18294 # after its creation but before its name has been assigned to `$tmp'.
18295 $debug ||
18297 tmp= ac_tmp=
18298 trap 'exit_status=$?
18299 : "${ac_tmp:=$tmp}"
18300 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18302 trap 'as_fn_exit 1' 1 2 13 15
18304 # Create a (secure) tmp directory for tmp files.
18307 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18308 test -d "$tmp"
18309 } ||
18311 tmp=./conf$$-$RANDOM
18312 (umask 077 && mkdir "$tmp")
18313 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18314 ac_tmp=$tmp
18316 # Set up the scripts for CONFIG_FILES section.
18317 # No need to generate them if there are no CONFIG_FILES.
18318 # This happens for instance with `./config.status config.h'.
18319 if test -n "$CONFIG_FILES"; then
18322 ac_cr=`echo X | tr X '\015'`
18323 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18324 # But we know of no other shell where ac_cr would be empty at this
18325 # point, so we can use a bashism as a fallback.
18326 if test "x$ac_cr" = x; then
18327 eval ac_cr=\$\'\\r\'
18329 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18330 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18331 ac_cs_awk_cr='\\r'
18332 else
18333 ac_cs_awk_cr=$ac_cr
18336 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18337 _ACEOF
18341 echo "cat >conf$$subs.awk <<_ACEOF" &&
18342 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18343 echo "_ACEOF"
18344 } >conf$$subs.sh ||
18345 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18346 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18347 ac_delim='%!_!# '
18348 for ac_last_try in false false false false false :; do
18349 . ./conf$$subs.sh ||
18350 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18352 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18353 if test $ac_delim_n = $ac_delim_num; then
18354 break
18355 elif $ac_last_try; then
18356 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18357 else
18358 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18360 done
18361 rm -f conf$$subs.sh
18363 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18364 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18365 _ACEOF
18366 sed -n '
18368 s/^/S["/; s/!.*/"]=/
18371 s/^[^!]*!//
18372 :repl
18373 t repl
18374 s/'"$ac_delim"'$//
18375 t delim
18378 s/\(.\{148\}\)..*/\1/
18379 t more1
18380 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18383 b repl
18384 :more1
18385 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18388 s/.\{148\}//
18389 t nl
18390 :delim
18392 s/\(.\{148\}\)..*/\1/
18393 t more2
18394 s/["\\]/\\&/g; s/^/"/; s/$/"/
18397 :more2
18398 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18401 s/.\{148\}//
18402 t delim
18403 ' <conf$$subs.awk | sed '
18404 /^[^""]/{
18406 s/\n//
18408 ' >>$CONFIG_STATUS || ac_write_fail=1
18409 rm -f conf$$subs.awk
18410 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18411 _ACAWK
18412 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18413 for (key in S) S_is_set[key] = 1
18414 FS = "\a"
18418 line = $ 0
18419 nfields = split(line, field, "@")
18420 substed = 0
18421 len = length(field[1])
18422 for (i = 2; i < nfields; i++) {
18423 key = field[i]
18424 keylen = length(key)
18425 if (S_is_set[key]) {
18426 value = S[key]
18427 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18428 len += length(value) + length(field[++i])
18429 substed = 1
18430 } else
18431 len += 1 + keylen
18434 print line
18437 _ACAWK
18438 _ACEOF
18439 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18440 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18441 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18442 else
18444 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18445 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18446 _ACEOF
18448 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18449 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18450 # trailing colons and then remove the whole line if VPATH becomes empty
18451 # (actually we leave an empty line to preserve line numbers).
18452 if test "x$srcdir" = x.; then
18453 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18455 s///
18456 s/^/:/
18457 s/[ ]*$/:/
18458 s/:\$(srcdir):/:/g
18459 s/:\${srcdir}:/:/g
18460 s/:@srcdir@:/:/g
18461 s/^:*//
18462 s/:*$//
18464 s/\(=[ ]*\).*/\1/
18466 s/\n//
18467 s/^[^=]*=[ ]*$//
18471 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18472 fi # test -n "$CONFIG_FILES"
18474 # Set up the scripts for CONFIG_HEADERS section.
18475 # No need to generate them if there are no CONFIG_HEADERS.
18476 # This happens for instance with `./config.status Makefile'.
18477 if test -n "$CONFIG_HEADERS"; then
18478 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18479 BEGIN {
18480 _ACEOF
18482 # Transform confdefs.h into an awk script `defines.awk', embedded as
18483 # here-document in config.status, that substitutes the proper values into
18484 # config.h.in to produce config.h.
18486 # Create a delimiter string that does not exist in confdefs.h, to ease
18487 # handling of long lines.
18488 ac_delim='%!_!# '
18489 for ac_last_try in false false :; do
18490 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18491 if test -z "$ac_tt"; then
18492 break
18493 elif $ac_last_try; then
18494 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18495 else
18496 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18498 done
18500 # For the awk script, D is an array of macro values keyed by name,
18501 # likewise P contains macro parameters if any. Preserve backslash
18502 # newline sequences.
18504 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18505 sed -n '
18506 s/.\{148\}/&'"$ac_delim"'/g
18507 t rset
18508 :rset
18509 s/^[ ]*#[ ]*define[ ][ ]*/ /
18510 t def
18512 :def
18513 s/\\$//
18514 t bsnl
18515 s/["\\]/\\&/g
18516 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18517 D["\1"]=" \3"/p
18518 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18520 :bsnl
18521 s/["\\]/\\&/g
18522 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18523 D["\1"]=" \3\\\\\\n"\\/p
18524 t cont
18525 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18526 t cont
18528 :cont
18530 s/.\{148\}/&'"$ac_delim"'/g
18531 t clear
18532 :clear
18533 s/\\$//
18534 t bsnlc
18535 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18537 :bsnlc
18538 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18539 b cont
18540 ' <confdefs.h | sed '
18541 s/'"$ac_delim"'/"\\\
18542 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18544 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18545 for (key in D) D_is_set[key] = 1
18546 FS = "\a"
18548 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18549 line = \$ 0
18550 split(line, arg, " ")
18551 if (arg[1] == "#") {
18552 defundef = arg[2]
18553 mac1 = arg[3]
18554 } else {
18555 defundef = substr(arg[1], 2)
18556 mac1 = arg[2]
18558 split(mac1, mac2, "(") #)
18559 macro = mac2[1]
18560 prefix = substr(line, 1, index(line, defundef) - 1)
18561 if (D_is_set[macro]) {
18562 # Preserve the white space surrounding the "#".
18563 print prefix "define", macro P[macro] D[macro]
18564 next
18565 } else {
18566 # Replace #undef with comments. This is necessary, for example,
18567 # in the case of _POSIX_SOURCE, which is predefined and required
18568 # on some systems where configure will not decide to define it.
18569 if (defundef == "undef") {
18570 print "/*", prefix defundef, macro, "*/"
18571 next
18575 { print }
18576 _ACAWK
18577 _ACEOF
18578 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18579 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18580 fi # test -n "$CONFIG_HEADERS"
18583 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18584 shift
18585 for ac_tag
18587 case $ac_tag in
18588 :[FHLC]) ac_mode=$ac_tag; continue;;
18589 esac
18590 case $ac_mode$ac_tag in
18591 :[FHL]*:*);;
18592 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18593 :[FH]-) ac_tag=-:-;;
18594 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18595 esac
18596 ac_save_IFS=$IFS
18597 IFS=:
18598 set x $ac_tag
18599 IFS=$ac_save_IFS
18600 shift
18601 ac_file=$1
18602 shift
18604 case $ac_mode in
18605 :L) ac_source=$1;;
18606 :[FH])
18607 ac_file_inputs=
18608 for ac_f
18610 case $ac_f in
18611 -) ac_f="$ac_tmp/stdin";;
18612 *) # Look for the file first in the build tree, then in the source tree
18613 # (if the path is not absolute). The absolute path cannot be DOS-style,
18614 # because $ac_f cannot contain `:'.
18615 test -f "$ac_f" ||
18616 case $ac_f in
18617 [\\/$]*) false;;
18618 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18619 esac ||
18620 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18621 esac
18622 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18623 as_fn_append ac_file_inputs " '$ac_f'"
18624 done
18626 # Let's still pretend it is `configure' which instantiates (i.e., don't
18627 # use $as_me), people would be surprised to read:
18628 # /* config.h. Generated by config.status. */
18629 configure_input='Generated from '`
18630 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18631 `' by configure.'
18632 if test x"$ac_file" != x-; then
18633 configure_input="$ac_file. $configure_input"
18634 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18635 $as_echo "$as_me: creating $ac_file" >&6;}
18637 # Neutralize special characters interpreted by sed in replacement strings.
18638 case $configure_input in #(
18639 *\&* | *\|* | *\\* )
18640 ac_sed_conf_input=`$as_echo "$configure_input" |
18641 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18642 *) ac_sed_conf_input=$configure_input;;
18643 esac
18645 case $ac_tag in
18646 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18647 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18648 esac
18650 esac
18652 ac_dir=`$as_dirname -- "$ac_file" ||
18653 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18654 X"$ac_file" : 'X\(//\)[^/]' \| \
18655 X"$ac_file" : 'X\(//\)$' \| \
18656 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18657 $as_echo X"$ac_file" |
18658 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18659 s//\1/
18662 /^X\(\/\/\)[^/].*/{
18663 s//\1/
18666 /^X\(\/\/\)$/{
18667 s//\1/
18670 /^X\(\/\).*/{
18671 s//\1/
18674 s/.*/./; q'`
18675 as_dir="$ac_dir"; as_fn_mkdir_p
18676 ac_builddir=.
18678 case "$ac_dir" in
18679 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18681 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18682 # A ".." for each directory in $ac_dir_suffix.
18683 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18684 case $ac_top_builddir_sub in
18685 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18686 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18687 esac ;;
18688 esac
18689 ac_abs_top_builddir=$ac_pwd
18690 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18691 # for backward compatibility:
18692 ac_top_builddir=$ac_top_build_prefix
18694 case $srcdir in
18695 .) # We are building in place.
18696 ac_srcdir=.
18697 ac_top_srcdir=$ac_top_builddir_sub
18698 ac_abs_top_srcdir=$ac_pwd ;;
18699 [\\/]* | ?:[\\/]* ) # Absolute name.
18700 ac_srcdir=$srcdir$ac_dir_suffix;
18701 ac_top_srcdir=$srcdir
18702 ac_abs_top_srcdir=$srcdir ;;
18703 *) # Relative name.
18704 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18705 ac_top_srcdir=$ac_top_build_prefix$srcdir
18706 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18707 esac
18708 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18711 case $ac_mode in
18714 # CONFIG_FILE
18717 _ACEOF
18719 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18720 # If the template does not know about datarootdir, expand it.
18721 # FIXME: This hack should be removed a few years after 2.60.
18722 ac_datarootdir_hack=; ac_datarootdir_seen=
18723 ac_sed_dataroot='
18724 /datarootdir/ {
18728 /@datadir@/p
18729 /@docdir@/p
18730 /@infodir@/p
18731 /@localedir@/p
18732 /@mandir@/p'
18733 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18734 *datarootdir*) ac_datarootdir_seen=yes;;
18735 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18736 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18737 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18738 _ACEOF
18739 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18740 ac_datarootdir_hack='
18741 s&@datadir@&$datadir&g
18742 s&@docdir@&$docdir&g
18743 s&@infodir@&$infodir&g
18744 s&@localedir@&$localedir&g
18745 s&@mandir@&$mandir&g
18746 s&\\\${datarootdir}&$datarootdir&g' ;;
18747 esac
18748 _ACEOF
18750 # Neutralize VPATH when `$srcdir' = `.'.
18751 # Shell code in configure.ac might set extrasub.
18752 # FIXME: do we really want to maintain this feature?
18753 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18754 ac_sed_extra="$ac_vpsub
18755 $extrasub
18756 _ACEOF
18757 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18759 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18760 s|@configure_input@|$ac_sed_conf_input|;t t
18761 s&@top_builddir@&$ac_top_builddir_sub&;t t
18762 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18763 s&@srcdir@&$ac_srcdir&;t t
18764 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18765 s&@top_srcdir@&$ac_top_srcdir&;t t
18766 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18767 s&@builddir@&$ac_builddir&;t t
18768 s&@abs_builddir@&$ac_abs_builddir&;t t
18769 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18770 $ac_datarootdir_hack
18772 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18773 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18775 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18776 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18777 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18778 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18779 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18780 which seems to be undefined. Please make sure it is defined" >&5
18781 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18782 which seems to be undefined. Please make sure it is defined" >&2;}
18784 rm -f "$ac_tmp/stdin"
18785 case $ac_file in
18786 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18787 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18788 esac \
18789 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18793 # CONFIG_HEADER
18795 if test x"$ac_file" != x-; then
18797 $as_echo "/* $configure_input */" \
18798 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18799 } >"$ac_tmp/config.h" \
18800 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18801 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18802 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18803 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18804 else
18805 rm -f "$ac_file"
18806 mv "$ac_tmp/config.h" "$ac_file" \
18807 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18809 else
18810 $as_echo "/* $configure_input */" \
18811 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18812 || as_fn_error $? "could not create -" "$LINENO" 5
18817 # CONFIG_LINK
18820 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
18822 else
18823 # Prefer the file from the source tree if names are identical.
18824 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
18825 ac_source=$srcdir/$ac_source
18828 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
18829 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
18831 if test ! -r "$ac_source"; then
18832 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
18834 rm -f "$ac_file"
18836 # Try a relative symlink, then a hard link, then a copy.
18837 case $ac_source in
18838 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
18839 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
18840 esac
18841 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
18842 ln "$ac_source" "$ac_file" 2>/dev/null ||
18843 cp -p "$ac_source" "$ac_file" ||
18844 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
18847 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18848 $as_echo "$as_me: executing $ac_file commands" >&6;}
18850 esac
18853 case $ac_file$ac_mode in
18854 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
18855 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
18856 "Makefile":C) wine_fn_output_makefile Makefile ;;
18857 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
18859 esac
18860 done # for ac_tag
18863 as_fn_exit 0
18864 _ACEOF
18865 ac_clean_files=$ac_clean_files_save
18867 test $ac_write_fail = 0 ||
18868 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18871 # configure is writing to config.log, and then calls config.status.
18872 # config.status does its own redirection, appending to config.log.
18873 # Unfortunately, on DOS this fails, as config.log is still kept open
18874 # by configure, so config.status won't be able to write to it; its
18875 # output is simply discarded. So we exec the FD to /dev/null,
18876 # effectively closing config.log, so it can be properly (re)opened and
18877 # appended to by config.status. When coming back to configure, we
18878 # need to make the FD available again.
18879 if test "$no_create" != yes; then
18880 ac_cs_success=:
18881 ac_config_status_args=
18882 test "$silent" = yes &&
18883 ac_config_status_args="$ac_config_status_args --quiet"
18884 exec 5>/dev/null
18885 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18886 exec 5>>config.log
18887 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18888 # would make configure fail if this is the last instruction.
18889 $ac_cs_success || as_fn_exit 1
18891 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18892 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18893 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18897 if test "$no_create" = "yes"
18898 then
18899 exit 0
18902 ac_save_IFS="$IFS"
18903 if test "x$wine_notices != "x; then
18904 echo >&6
18905 IFS="|"
18906 for msg in $wine_notices; do
18907 IFS="$ac_save_IFS"
18908 if ${msg+:} false; then :
18909 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
18910 $as_echo "$as_me: $msg" >&6;}
18912 done
18914 IFS="|"
18915 for msg in $wine_warnings; do
18916 IFS="$ac_save_IFS"
18917 if ${msg+:} false; then :
18918 echo >&2
18919 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
18920 $as_echo "$as_me: WARNING: $msg" >&2;}
18922 done
18923 IFS="$ac_save_IFS"
18925 $as_echo "
18926 $as_me: Finished. Do '${ac_make}' to compile Wine.
18927 " >&6