ntdll: Fix read_directory_getattrlist() to get the name of a symlink rather than...
[wine/multimedia.git] / configure
blobec6bd6f3e29b5089a4269975f6e1b0cc60c62836
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.43.
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.43'
584 PACKAGE_STRING='Wine 1.7.43'
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 LIBPCAP
680 X_EXTRA_LIBS
681 X_LIBS
682 X_PRE_LIBS
683 X_CFLAGS
684 XMKMF
685 PTHREAD_LIBS
686 CROSSCC
687 CROSSTARGET
688 PRELINK
689 CARBON_LIBS
690 QUICKTIME_LIBS
691 OPENCL_LIBS
692 OPENAL_LIBS
693 COREAUDIO_LIBS
694 SECURITY_LIBS
695 DISKARBITRATION_LIBS
696 APPKIT_LIBS
697 CORESERVICES_LIBS
698 APPLICATIONSERVICES_LIBS
699 FORCEFEEDBACK_LIBS
700 IOKIT_LIBS
701 COREFOUNDATION_LIBS
702 LIBWINE_RULES
703 SOCKET_LIBS
704 DLLTOOL
705 LOADER_RULES
706 ALL_TEST_RESOURCES
707 READELF
709 LDRPATH_LOCAL
710 LDRPATH_INSTALL
711 DLLFLAGS
712 DLLPREFIX
713 dlldir
715 OPENGL_LIBS
716 ICOTOOL
717 CONVERT
718 RSVG
719 FONTFORGE
720 PKG_CONFIG
721 MSGFMT
722 LDCONFIG
723 EGREP
724 GREP
725 LN_S
726 RANLIB
727 ARFLAGS
728 STRIP
729 ac_ct_AR
731 BISON
732 FLEX
733 TOOLSDIR
734 TARGETFLAGS
736 CPPBIN
737 ac_ct_CXX
738 CXXFLAGS
740 OBJEXT
741 EXEEXT
742 ac_ct_CC
743 CPPFLAGS
744 LDFLAGS
745 CFLAGS
747 SET_MAKE
748 host_os
749 host_vendor
750 host_cpu
751 host
752 build_os
753 build_vendor
754 build_cpu
755 build
756 target_alias
757 host_alias
758 build_alias
759 LIBS
760 ECHO_T
761 ECHO_N
762 ECHO_C
763 DEFS
764 mandir
765 localedir
766 libdir
767 psdir
768 pdfdir
769 dvidir
770 htmldir
771 infodir
772 docdir
773 oldincludedir
774 includedir
775 localstatedir
776 sharedstatedir
777 sysconfdir
778 datadir
779 datarootdir
780 libexecdir
781 sbindir
782 bindir
783 program_transform_name
784 prefix
785 exec_prefix
786 PACKAGE_URL
787 PACKAGE_BUGREPORT
788 PACKAGE_STRING
789 PACKAGE_VERSION
790 PACKAGE_TARNAME
791 PACKAGE_NAME
792 PATH_SEPARATOR
793 SHELL'
794 ac_subst_files=''
795 ac_user_opts='
796 enable_option_checking
797 enable_win16
798 enable_win64
799 enable_tests
800 enable_maintainer_mode
801 with_alsa
802 with_capi
803 with_cms
804 with_coreaudio
805 with_cups
806 with_curses
807 with_dbus
808 with_fontconfig
809 with_freetype
810 with_gettext
811 with_gettextpo
812 with_gphoto
813 with_glu
814 with_gnutls
815 with_gsm
816 with_gstreamer
817 with_hal
818 with_jpeg
819 with_ldap
820 with_mpg123
821 with_netapi
822 with_openal
823 with_opencl
824 with_opengl
825 with_osmesa
826 with_oss
827 with_pcap
828 with_png
829 with_pthread
830 with_sane
831 with_tiff
832 with_v4l
833 with_xcomposite
834 with_xcursor
835 with_xinerama
836 with_xinput
837 with_xinput2
838 with_xml
839 with_xrandr
840 with_xrender
841 with_xshape
842 with_xshm
843 with_xslt
844 with_xxf86vm
845 with_zlib
846 with_wine_tools
847 with_wine64
848 enable_largefile
849 with_x
850 enable_acledit
851 enable_aclui
852 enable_activeds
853 enable_actxprxy
854 enable_advapi32
855 enable_advpack
856 enable_amstream
857 enable_api_ms_win_core_com_l1_1_0
858 enable_api_ms_win_core_console_l1_1_0
859 enable_api_ms_win_core_datetime_l1_1_0
860 enable_api_ms_win_core_datetime_l1_1_1
861 enable_api_ms_win_core_debug_l1_1_0
862 enable_api_ms_win_core_debug_l1_1_1
863 enable_api_ms_win_core_errorhandling_l1_1_0
864 enable_api_ms_win_core_errorhandling_l1_1_1
865 enable_api_ms_win_core_errorhandling_l1_1_2
866 enable_api_ms_win_core_fibers_l1_1_0
867 enable_api_ms_win_core_fibers_l1_1_1
868 enable_api_ms_win_core_file_l1_1_0
869 enable_api_ms_win_core_file_l1_2_0
870 enable_api_ms_win_core_file_l2_1_0
871 enable_api_ms_win_core_file_l2_1_1
872 enable_api_ms_win_core_handle_l1_1_0
873 enable_api_ms_win_core_heap_l1_1_0
874 enable_api_ms_win_core_heap_l1_2_0
875 enable_api_ms_win_core_heap_obsolete_l1_1_0
876 enable_api_ms_win_core_interlocked_l1_1_0
877 enable_api_ms_win_core_interlocked_l1_2_0
878 enable_api_ms_win_core_io_l1_1_1
879 enable_api_ms_win_core_kernel32_legacy_l1_1_0
880 enable_api_ms_win_core_libraryloader_l1_1_0
881 enable_api_ms_win_core_libraryloader_l1_1_1
882 enable_api_ms_win_core_localization_l1_2_0
883 enable_api_ms_win_core_localization_l1_2_1
884 enable_api_ms_win_core_localization_obsolete_l1_1_0
885 enable_api_ms_win_core_localregistry_l1_1_0
886 enable_api_ms_win_core_memory_l1_1_0
887 enable_api_ms_win_core_memory_l1_1_1
888 enable_api_ms_win_core_namedpipe_l1_1_0
889 enable_api_ms_win_core_namedpipe_l1_2_0
890 enable_api_ms_win_core_processenvironment_l1_1_0
891 enable_api_ms_win_core_processenvironment_l1_2_0
892 enable_api_ms_win_core_processthreads_l1_1_0
893 enable_api_ms_win_core_processthreads_l1_1_1
894 enable_api_ms_win_core_processthreads_l1_1_2
895 enable_api_ms_win_core_profile_l1_1_0
896 enable_api_ms_win_core_psapi_l1_1_0
897 enable_api_ms_win_core_registry_l1_1_0
898 enable_api_ms_win_core_rtlsupport_l1_1_0
899 enable_api_ms_win_core_rtlsupport_l1_2_0
900 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
901 enable_api_ms_win_core_string_l1_1_0
902 enable_api_ms_win_core_synch_l1_1_0
903 enable_api_ms_win_core_synch_l1_2_0
904 enable_api_ms_win_core_sysinfo_l1_1_0
905 enable_api_ms_win_core_sysinfo_l1_2_0
906 enable_api_ms_win_core_sysinfo_l1_2_1
907 enable_api_ms_win_core_threadpool_legacy_l1_1_0
908 enable_api_ms_win_core_timezone_l1_1_0
909 enable_api_ms_win_core_url_l1_1_0
910 enable_api_ms_win_core_util_l1_1_0
911 enable_api_ms_win_core_winrt_error_l1_1_0
912 enable_api_ms_win_core_winrt_error_l1_1_1
913 enable_api_ms_win_core_winrt_l1_1_0
914 enable_api_ms_win_core_winrt_string_l1_1_0
915 enable_api_ms_win_core_xstate_l2_1_0
916 enable_api_ms_win_downlevel_advapi32_l1_1_0
917 enable_api_ms_win_downlevel_advapi32_l2_1_0
918 enable_api_ms_win_downlevel_normaliz_l1_1_0
919 enable_api_ms_win_downlevel_ole32_l1_1_0
920 enable_api_ms_win_downlevel_shell32_l1_1_0
921 enable_api_ms_win_downlevel_shlwapi_l1_1_0
922 enable_api_ms_win_downlevel_shlwapi_l2_1_0
923 enable_api_ms_win_downlevel_user32_l1_1_0
924 enable_api_ms_win_downlevel_version_l1_1_0
925 enable_api_ms_win_eventing_provider_l1_1_0
926 enable_api_ms_win_ntuser_dc_access_l1_1_0
927 enable_api_ms_win_security_base_l1_1_0
928 enable_api_ms_win_security_base_l1_2_0
929 enable_api_ms_win_security_sddl_l1_1_0
930 enable_api_ms_win_service_core_l1_1_1
931 enable_api_ms_win_service_management_l1_1_0
932 enable_api_ms_win_service_winsvc_l1_2_0
933 enable_apphelp
934 enable_appwiz_cpl
935 enable_atl
936 enable_atl100
937 enable_atl110
938 enable_atl80
939 enable_atl90
940 enable_authz
941 enable_avicap32
942 enable_avifil32
943 enable_avrt
944 enable_bcrypt
945 enable_browseui
946 enable_cabinet
947 enable_capi2032
948 enable_cards
949 enable_cfgmgr32
950 enable_clusapi
951 enable_combase
952 enable_comcat
953 enable_comctl32
954 enable_comdlg32
955 enable_compstui
956 enable_comsvcs
957 enable_connect
958 enable_credui
959 enable_crtdll
960 enable_crypt32
961 enable_cryptdlg
962 enable_cryptdll
963 enable_cryptext
964 enable_cryptnet
965 enable_cryptui
966 enable_ctapi32
967 enable_ctl3d32
968 enable_d2d1
969 enable_d3d10
970 enable_d3d10_1
971 enable_d3d10core
972 enable_d3d11
973 enable_d3d8
974 enable_d3d9
975 enable_d3dcompiler_33
976 enable_d3dcompiler_34
977 enable_d3dcompiler_35
978 enable_d3dcompiler_36
979 enable_d3dcompiler_37
980 enable_d3dcompiler_38
981 enable_d3dcompiler_39
982 enable_d3dcompiler_40
983 enable_d3dcompiler_41
984 enable_d3dcompiler_42
985 enable_d3dcompiler_43
986 enable_d3dim
987 enable_d3drm
988 enable_d3dx10_33
989 enable_d3dx10_34
990 enable_d3dx10_35
991 enable_d3dx10_36
992 enable_d3dx10_37
993 enable_d3dx10_38
994 enable_d3dx10_39
995 enable_d3dx10_40
996 enable_d3dx10_41
997 enable_d3dx10_42
998 enable_d3dx10_43
999 enable_d3dx11_42
1000 enable_d3dx11_43
1001 enable_d3dx9_24
1002 enable_d3dx9_25
1003 enable_d3dx9_26
1004 enable_d3dx9_27
1005 enable_d3dx9_28
1006 enable_d3dx9_29
1007 enable_d3dx9_30
1008 enable_d3dx9_31
1009 enable_d3dx9_32
1010 enable_d3dx9_33
1011 enable_d3dx9_34
1012 enable_d3dx9_35
1013 enable_d3dx9_36
1014 enable_d3dx9_37
1015 enable_d3dx9_38
1016 enable_d3dx9_39
1017 enable_d3dx9_40
1018 enable_d3dx9_41
1019 enable_d3dx9_42
1020 enable_d3dx9_43
1021 enable_d3dxof
1022 enable_dbgeng
1023 enable_dbghelp
1024 enable_dciman32
1025 enable_ddraw
1026 enable_ddrawex
1027 enable_devenum
1028 enable_dhcpcsvc
1029 enable_difxapi
1030 enable_dinput
1031 enable_dinput8
1032 enable_dispex
1033 enable_dmband
1034 enable_dmcompos
1035 enable_dmime
1036 enable_dmloader
1037 enable_dmscript
1038 enable_dmstyle
1039 enable_dmsynth
1040 enable_dmusic
1041 enable_dmusic32
1042 enable_dnsapi
1043 enable_dplay
1044 enable_dplayx
1045 enable_dpnaddr
1046 enable_dpnet
1047 enable_dpnhpast
1048 enable_dpnlobby
1049 enable_dpvoice
1050 enable_dpwsockx
1051 enable_drmclien
1052 enable_dsound
1053 enable_dssenh
1054 enable_dswave
1055 enable_dwmapi
1056 enable_dwrite
1057 enable_dxdiagn
1058 enable_dxgi
1059 enable_dxva2
1060 enable_evr
1061 enable_explorerframe
1062 enable_ext_ms_win_gdi_devcaps_l1_1_0
1063 enable_faultrep
1064 enable_fltlib
1065 enable_fntcache
1066 enable_fontsub
1067 enable_fusion
1068 enable_fwpuclnt
1069 enable_gameux
1070 enable_gdi32
1071 enable_gdiplus
1072 enable_glu32
1073 enable_gphoto2_ds
1074 enable_gpkcsp
1075 enable_hal
1076 enable_hhctrl_ocx
1077 enable_hid
1078 enable_hlink
1079 enable_hnetcfg
1080 enable_httpapi
1081 enable_iccvid
1082 enable_icmp
1083 enable_ieframe
1084 enable_imaadp32_acm
1085 enable_imagehlp
1086 enable_imm32
1087 enable_inetcomm
1088 enable_inetcpl_cpl
1089 enable_inetmib1
1090 enable_infosoft
1091 enable_initpki
1092 enable_inkobj
1093 enable_inseng
1094 enable_iphlpapi
1095 enable_itircl
1096 enable_itss
1097 enable_joy_cpl
1098 enable_jscript
1099 enable_jsproxy
1100 enable_kernel32
1101 enable_ksuser
1102 enable_ktmw32
1103 enable_loadperf
1104 enable_localspl
1105 enable_localui
1106 enable_lz32
1107 enable_mapi32
1108 enable_mapistub
1109 enable_mciavi32
1110 enable_mcicda
1111 enable_mciqtz32
1112 enable_mciseq
1113 enable_mciwave
1114 enable_mf
1115 enable_mfplat
1116 enable_mfreadwrite
1117 enable_mgmtapi
1118 enable_midimap
1119 enable_mlang
1120 enable_mmcndmgr
1121 enable_mmdevapi
1122 enable_mountmgr_sys
1123 enable_mpr
1124 enable_mprapi
1125 enable_msacm32_drv
1126 enable_msacm32
1127 enable_msadp32_acm
1128 enable_msasn1
1129 enable_mscat32
1130 enable_mscms
1131 enable_mscoree
1132 enable_msctf
1133 enable_msdaps
1134 enable_msdmo
1135 enable_msftedit
1136 enable_msg711_acm
1137 enable_msgsm32_acm
1138 enable_mshtml_tlb
1139 enable_mshtml
1140 enable_msi
1141 enable_msident
1142 enable_msimg32
1143 enable_msimsg
1144 enable_msimtf
1145 enable_msisip
1146 enable_msisys_ocx
1147 enable_msls31
1148 enable_msnet32
1149 enable_mspatcha
1150 enable_msrle32
1151 enable_mssign32
1152 enable_mssip32
1153 enable_mstask
1154 enable_msvcirt
1155 enable_msvcm80
1156 enable_msvcm90
1157 enable_msvcp100
1158 enable_msvcp110
1159 enable_msvcp120
1160 enable_msvcp120_app
1161 enable_msvcp60
1162 enable_msvcp70
1163 enable_msvcp71
1164 enable_msvcp80
1165 enable_msvcp90
1166 enable_msvcr100
1167 enable_msvcr110
1168 enable_msvcr120
1169 enable_msvcr120_app
1170 enable_msvcr70
1171 enable_msvcr71
1172 enable_msvcr80
1173 enable_msvcr90
1174 enable_msvcrt
1175 enable_msvcrt20
1176 enable_msvcrt40
1177 enable_msvcrtd
1178 enable_msvfw32
1179 enable_msvidc32
1180 enable_mswsock
1181 enable_msxml
1182 enable_msxml2
1183 enable_msxml3
1184 enable_msxml4
1185 enable_msxml6
1186 enable_nddeapi
1187 enable_ndis_sys
1188 enable_netapi32
1189 enable_netcfgx
1190 enable_netprofm
1191 enable_newdev
1192 enable_normaliz
1193 enable_npmshtml
1194 enable_npptools
1195 enable_ntdll
1196 enable_ntdsapi
1197 enable_ntoskrnl_exe
1198 enable_ntprint
1199 enable_objsel
1200 enable_odbc32
1201 enable_odbccp32
1202 enable_odbccu32
1203 enable_ole32
1204 enable_oleacc
1205 enable_oleaut32
1206 enable_olecli32
1207 enable_oledb32
1208 enable_oledlg
1209 enable_olepro32
1210 enable_olesvr32
1211 enable_olethk32
1212 enable_openal32
1213 enable_opencl
1214 enable_opengl32
1215 enable_packager
1216 enable_pdh
1217 enable_photometadatahandler
1218 enable_pidgen
1219 enable_powrprof
1220 enable_printui
1221 enable_prntvpt
1222 enable_propsys
1223 enable_psapi
1224 enable_pstorec
1225 enable_qcap
1226 enable_qedit
1227 enable_qmgr
1228 enable_qmgrprxy
1229 enable_quartz
1230 enable_query
1231 enable_rasapi32
1232 enable_rasdlg
1233 enable_regapi
1234 enable_resutils
1235 enable_riched20
1236 enable_riched32
1237 enable_rpcrt4
1238 enable_rsabase
1239 enable_rsaenh
1240 enable_rstrtmgr
1241 enable_rtutils
1242 enable_samlib
1243 enable_sane_ds
1244 enable_scarddlg
1245 enable_sccbase
1246 enable_schannel
1247 enable_schedsvc
1248 enable_scrrun
1249 enable_scsiport_sys
1250 enable_secur32
1251 enable_security
1252 enable_sensapi
1253 enable_serialui
1254 enable_setupapi
1255 enable_sfc
1256 enable_sfc_os
1257 enable_shdoclc
1258 enable_shdocvw
1259 enable_shell32
1260 enable_shfolder
1261 enable_shlwapi
1262 enable_slbcsp
1263 enable_slc
1264 enable_snmpapi
1265 enable_softpub
1266 enable_spoolss
1267 enable_stdole2_tlb
1268 enable_stdole32_tlb
1269 enable_sti
1270 enable_svrapi
1271 enable_sxs
1272 enable_t2embed
1273 enable_tapi32
1274 enable_taskschd
1275 enable_traffic
1276 enable_twain_32
1277 enable_unicows
1278 enable_updspapi
1279 enable_url
1280 enable_urlmon
1281 enable_usbd_sys
1282 enable_user32
1283 enable_userenv
1284 enable_usp10
1285 enable_uxtheme
1286 enable_vbscript
1287 enable_vcomp
1288 enable_vcomp100
1289 enable_vcomp90
1290 enable_vdmdbg
1291 enable_version
1292 enable_vssapi
1293 enable_wbemdisp
1294 enable_wbemprox
1295 enable_webservices
1296 enable_wer
1297 enable_wevtapi
1298 enable_wiaservc
1299 enable_windowscodecs
1300 enable_windowscodecsext
1301 enable_winealsa_drv
1302 enable_winecoreaudio_drv
1303 enable_wined3d
1304 enable_winegstreamer
1305 enable_winejoystick_drv
1306 enable_winemac_drv
1307 enable_winemapi
1308 enable_winemp3_acm
1309 enable_wineoss_drv
1310 enable_wineps_drv
1311 enable_wineqtdecoder
1312 enable_winex11_drv
1313 enable_wing32
1314 enable_winhttp
1315 enable_wininet
1316 enable_winmm
1317 enable_winnls32
1318 enable_winscard
1319 enable_winspool_drv
1320 enable_winsta
1321 enable_wintab32
1322 enable_wintrust
1323 enable_wlanapi
1324 enable_wldap32
1325 enable_wmi
1326 enable_wmiutils
1327 enable_wmp
1328 enable_wmvcore
1329 enable_wnaspi32
1330 enable_wpcap
1331 enable_ws2_32
1332 enable_wshom_ocx
1333 enable_wsnmp32
1334 enable_wsock32
1335 enable_wtsapi32
1336 enable_wuapi
1337 enable_wuaueng
1338 enable_x3daudio1_1
1339 enable_x3daudio1_2
1340 enable_x3daudio1_3
1341 enable_x3daudio1_4
1342 enable_x3daudio1_5
1343 enable_x3daudio1_6
1344 enable_x3daudio1_7
1345 enable_xapofx1_1
1346 enable_xapofx1_3
1347 enable_xapofx1_4
1348 enable_xapofx1_5
1349 enable_xaudio2_7
1350 enable_xinput1_1
1351 enable_xinput1_2
1352 enable_xinput1_3
1353 enable_xinput1_4
1354 enable_xinput9_1_0
1355 enable_xmllite
1356 enable_xolehlp
1357 enable_xpsprint
1358 enable_xpssvcs
1359 enable_documentation
1360 enable_fonts
1361 enable_include
1362 enable_libs_port
1363 enable_libs_wine
1364 enable_libs_wpp
1365 enable_loader
1366 enable_arp
1367 enable_aspnet_regiis
1368 enable_attrib
1369 enable_cabarc
1370 enable_cacls
1371 enable_clock
1372 enable_cmd
1373 enable_conhost
1374 enable_control
1375 enable_cscript
1376 enable_dpnsvr
1377 enable_dxdiag
1378 enable_eject
1379 enable_expand
1380 enable_explorer
1381 enable_extrac32
1382 enable_findstr
1383 enable_hh
1384 enable_hostname
1385 enable_icinfo
1386 enable_iexplore
1387 enable_ipconfig
1388 enable_lodctr
1389 enable_mofcomp
1390 enable_mshta
1391 enable_msiexec
1392 enable_net
1393 enable_netsh
1394 enable_netstat
1395 enable_ngen
1396 enable_notepad
1397 enable_oleview
1398 enable_ping
1399 enable_plugplay
1400 enable_presentationfontcache
1401 enable_progman
1402 enable_reg
1403 enable_regasm
1404 enable_regedit
1405 enable_regsvcs
1406 enable_regsvr32
1407 enable_rpcss
1408 enable_rundll32
1409 enable_sc
1410 enable_schtasks
1411 enable_sdbinst
1412 enable_secedit
1413 enable_servicemodelreg
1414 enable_services
1415 enable_spoolsv
1416 enable_start
1417 enable_svchost
1418 enable_systeminfo
1419 enable_taskkill
1420 enable_tasklist
1421 enable_taskmgr
1422 enable_termsv
1423 enable_uninstaller
1424 enable_unlodctr
1425 enable_view
1426 enable_wevtutil
1427 enable_wineboot
1428 enable_winebrowser
1429 enable_winecfg
1430 enable_wineconsole
1431 enable_winedbg
1432 enable_winedevice
1433 enable_winefile
1434 enable_winemenubuilder
1435 enable_winemine
1436 enable_winemsibuilder
1437 enable_winepath
1438 enable_winetest
1439 enable_winhlp32
1440 enable_winver
1441 enable_wmic
1442 enable_wordpad
1443 enable_write
1444 enable_wscript
1445 enable_wusa
1446 enable_xcopy
1447 enable_server
1448 enable_tools
1450 ac_precious_vars='build_alias
1451 host_alias
1452 target_alias
1454 CFLAGS
1455 LDFLAGS
1456 LIBS
1457 CPPFLAGS
1459 CXXFLAGS
1462 XMKMF
1463 XML2_CFLAGS
1464 XML2_LIBS
1465 XSLT_CFLAGS
1466 XSLT_LIBS
1467 DBUS_CFLAGS
1468 DBUS_LIBS
1469 HAL_CFLAGS
1470 HAL_LIBS
1471 GNUTLS_CFLAGS
1472 GNUTLS_LIBS
1473 SANE_CFLAGS
1474 SANE_LIBS
1475 GPHOTO2_CFLAGS
1476 GPHOTO2_LIBS
1477 GPHOTO2_PORT_CFLAGS
1478 GPHOTO2_PORT_LIBS
1479 LCMS2_CFLAGS
1480 LCMS2_LIBS
1481 FREETYPE_CFLAGS
1482 FREETYPE_LIBS
1483 GSTREAMER_CFLAGS
1484 GSTREAMER_LIBS
1485 CAPI20_CFLAGS
1486 CAPI20_LIBS
1487 FONTCONFIG_CFLAGS
1488 FONTCONFIG_LIBS
1489 JPEG_CFLAGS
1490 JPEG_LIBS
1491 PNG_CFLAGS
1492 PNG_LIBS
1493 TIFF_CFLAGS
1494 TIFF_LIBS
1495 MPG123_CFLAGS
1496 MPG123_LIBS'
1499 # Initialize some variables set by options.
1500 ac_init_help=
1501 ac_init_version=false
1502 ac_unrecognized_opts=
1503 ac_unrecognized_sep=
1504 # The variables have the same names as the options, with
1505 # dashes changed to underlines.
1506 cache_file=/dev/null
1507 exec_prefix=NONE
1508 no_create=
1509 no_recursion=
1510 prefix=NONE
1511 program_prefix=NONE
1512 program_suffix=NONE
1513 program_transform_name=s,x,x,
1514 silent=
1515 site=
1516 srcdir=
1517 verbose=
1518 x_includes=NONE
1519 x_libraries=NONE
1521 # Installation directory options.
1522 # These are left unexpanded so users can "make install exec_prefix=/foo"
1523 # and all the variables that are supposed to be based on exec_prefix
1524 # by default will actually change.
1525 # Use braces instead of parens because sh, perl, etc. also accept them.
1526 # (The list follows the same order as the GNU Coding Standards.)
1527 bindir='${exec_prefix}/bin'
1528 sbindir='${exec_prefix}/sbin'
1529 libexecdir='${exec_prefix}/libexec'
1530 datarootdir='${prefix}/share'
1531 datadir='${datarootdir}'
1532 sysconfdir='${prefix}/etc'
1533 sharedstatedir='${prefix}/com'
1534 localstatedir='${prefix}/var'
1535 includedir='${prefix}/include'
1536 oldincludedir='/usr/include'
1537 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1538 infodir='${datarootdir}/info'
1539 htmldir='${docdir}'
1540 dvidir='${docdir}'
1541 pdfdir='${docdir}'
1542 psdir='${docdir}'
1543 libdir='${exec_prefix}/lib'
1544 localedir='${datarootdir}/locale'
1545 mandir='${datarootdir}/man'
1547 ac_prev=
1548 ac_dashdash=
1549 for ac_option
1551 # If the previous option needs an argument, assign it.
1552 if test -n "$ac_prev"; then
1553 eval $ac_prev=\$ac_option
1554 ac_prev=
1555 continue
1558 case $ac_option in
1559 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1560 *=) ac_optarg= ;;
1561 *) ac_optarg=yes ;;
1562 esac
1564 # Accept the important Cygnus configure options, so we can diagnose typos.
1566 case $ac_dashdash$ac_option in
1568 ac_dashdash=yes ;;
1570 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1571 ac_prev=bindir ;;
1572 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1573 bindir=$ac_optarg ;;
1575 -build | --build | --buil | --bui | --bu)
1576 ac_prev=build_alias ;;
1577 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1578 build_alias=$ac_optarg ;;
1580 -cache-file | --cache-file | --cache-fil | --cache-fi \
1581 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1582 ac_prev=cache_file ;;
1583 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1584 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1585 cache_file=$ac_optarg ;;
1587 --config-cache | -C)
1588 cache_file=config.cache ;;
1590 -datadir | --datadir | --datadi | --datad)
1591 ac_prev=datadir ;;
1592 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1593 datadir=$ac_optarg ;;
1595 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1596 | --dataroo | --dataro | --datar)
1597 ac_prev=datarootdir ;;
1598 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1599 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1600 datarootdir=$ac_optarg ;;
1602 -disable-* | --disable-*)
1603 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1604 # Reject names that are not valid shell variable names.
1605 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1606 as_fn_error $? "invalid feature name: $ac_useropt"
1607 ac_useropt_orig=$ac_useropt
1608 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1609 case $ac_user_opts in
1611 "enable_$ac_useropt"
1612 "*) ;;
1613 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1614 ac_unrecognized_sep=', ';;
1615 esac
1616 eval enable_$ac_useropt=no ;;
1618 -docdir | --docdir | --docdi | --doc | --do)
1619 ac_prev=docdir ;;
1620 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1621 docdir=$ac_optarg ;;
1623 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1624 ac_prev=dvidir ;;
1625 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1626 dvidir=$ac_optarg ;;
1628 -enable-* | --enable-*)
1629 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1630 # Reject names that are not valid shell variable names.
1631 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1632 as_fn_error $? "invalid feature name: $ac_useropt"
1633 ac_useropt_orig=$ac_useropt
1634 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1635 case $ac_user_opts in
1637 "enable_$ac_useropt"
1638 "*) ;;
1639 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1640 ac_unrecognized_sep=', ';;
1641 esac
1642 eval enable_$ac_useropt=\$ac_optarg ;;
1644 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1645 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1646 | --exec | --exe | --ex)
1647 ac_prev=exec_prefix ;;
1648 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1649 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1650 | --exec=* | --exe=* | --ex=*)
1651 exec_prefix=$ac_optarg ;;
1653 -gas | --gas | --ga | --g)
1654 # Obsolete; use --with-gas.
1655 with_gas=yes ;;
1657 -help | --help | --hel | --he | -h)
1658 ac_init_help=long ;;
1659 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1660 ac_init_help=recursive ;;
1661 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1662 ac_init_help=short ;;
1664 -host | --host | --hos | --ho)
1665 ac_prev=host_alias ;;
1666 -host=* | --host=* | --hos=* | --ho=*)
1667 host_alias=$ac_optarg ;;
1669 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1670 ac_prev=htmldir ;;
1671 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1672 | --ht=*)
1673 htmldir=$ac_optarg ;;
1675 -includedir | --includedir | --includedi | --included | --include \
1676 | --includ | --inclu | --incl | --inc)
1677 ac_prev=includedir ;;
1678 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1679 | --includ=* | --inclu=* | --incl=* | --inc=*)
1680 includedir=$ac_optarg ;;
1682 -infodir | --infodir | --infodi | --infod | --info | --inf)
1683 ac_prev=infodir ;;
1684 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1685 infodir=$ac_optarg ;;
1687 -libdir | --libdir | --libdi | --libd)
1688 ac_prev=libdir ;;
1689 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1690 libdir=$ac_optarg ;;
1692 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1693 | --libexe | --libex | --libe)
1694 ac_prev=libexecdir ;;
1695 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1696 | --libexe=* | --libex=* | --libe=*)
1697 libexecdir=$ac_optarg ;;
1699 -localedir | --localedir | --localedi | --localed | --locale)
1700 ac_prev=localedir ;;
1701 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1702 localedir=$ac_optarg ;;
1704 -localstatedir | --localstatedir | --localstatedi | --localstated \
1705 | --localstate | --localstat | --localsta | --localst | --locals)
1706 ac_prev=localstatedir ;;
1707 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1708 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1709 localstatedir=$ac_optarg ;;
1711 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1712 ac_prev=mandir ;;
1713 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1714 mandir=$ac_optarg ;;
1716 -nfp | --nfp | --nf)
1717 # Obsolete; use --without-fp.
1718 with_fp=no ;;
1720 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1721 | --no-cr | --no-c | -n)
1722 no_create=yes ;;
1724 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1725 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1726 no_recursion=yes ;;
1728 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1729 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1730 | --oldin | --oldi | --old | --ol | --o)
1731 ac_prev=oldincludedir ;;
1732 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1733 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1734 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1735 oldincludedir=$ac_optarg ;;
1737 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1738 ac_prev=prefix ;;
1739 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1740 prefix=$ac_optarg ;;
1742 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1743 | --program-pre | --program-pr | --program-p)
1744 ac_prev=program_prefix ;;
1745 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1746 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1747 program_prefix=$ac_optarg ;;
1749 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1750 | --program-suf | --program-su | --program-s)
1751 ac_prev=program_suffix ;;
1752 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1753 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1754 program_suffix=$ac_optarg ;;
1756 -program-transform-name | --program-transform-name \
1757 | --program-transform-nam | --program-transform-na \
1758 | --program-transform-n | --program-transform- \
1759 | --program-transform | --program-transfor \
1760 | --program-transfo | --program-transf \
1761 | --program-trans | --program-tran \
1762 | --progr-tra | --program-tr | --program-t)
1763 ac_prev=program_transform_name ;;
1764 -program-transform-name=* | --program-transform-name=* \
1765 | --program-transform-nam=* | --program-transform-na=* \
1766 | --program-transform-n=* | --program-transform-=* \
1767 | --program-transform=* | --program-transfor=* \
1768 | --program-transfo=* | --program-transf=* \
1769 | --program-trans=* | --program-tran=* \
1770 | --progr-tra=* | --program-tr=* | --program-t=*)
1771 program_transform_name=$ac_optarg ;;
1773 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1774 ac_prev=pdfdir ;;
1775 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1776 pdfdir=$ac_optarg ;;
1778 -psdir | --psdir | --psdi | --psd | --ps)
1779 ac_prev=psdir ;;
1780 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1781 psdir=$ac_optarg ;;
1783 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1784 | -silent | --silent | --silen | --sile | --sil)
1785 silent=yes ;;
1787 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1788 ac_prev=sbindir ;;
1789 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1790 | --sbi=* | --sb=*)
1791 sbindir=$ac_optarg ;;
1793 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1794 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1795 | --sharedst | --shareds | --shared | --share | --shar \
1796 | --sha | --sh)
1797 ac_prev=sharedstatedir ;;
1798 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1799 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1800 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1801 | --sha=* | --sh=*)
1802 sharedstatedir=$ac_optarg ;;
1804 -site | --site | --sit)
1805 ac_prev=site ;;
1806 -site=* | --site=* | --sit=*)
1807 site=$ac_optarg ;;
1809 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1810 ac_prev=srcdir ;;
1811 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1812 srcdir=$ac_optarg ;;
1814 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1815 | --syscon | --sysco | --sysc | --sys | --sy)
1816 ac_prev=sysconfdir ;;
1817 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1818 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1819 sysconfdir=$ac_optarg ;;
1821 -target | --target | --targe | --targ | --tar | --ta | --t)
1822 ac_prev=target_alias ;;
1823 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1824 target_alias=$ac_optarg ;;
1826 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1827 verbose=yes ;;
1829 -version | --version | --versio | --versi | --vers | -V)
1830 ac_init_version=: ;;
1832 -with-* | --with-*)
1833 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1834 # Reject names that are not valid shell variable names.
1835 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1836 as_fn_error $? "invalid package name: $ac_useropt"
1837 ac_useropt_orig=$ac_useropt
1838 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1839 case $ac_user_opts in
1841 "with_$ac_useropt"
1842 "*) ;;
1843 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1844 ac_unrecognized_sep=', ';;
1845 esac
1846 eval with_$ac_useropt=\$ac_optarg ;;
1848 -without-* | --without-*)
1849 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1850 # Reject names that are not valid shell variable names.
1851 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1852 as_fn_error $? "invalid package name: $ac_useropt"
1853 ac_useropt_orig=$ac_useropt
1854 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1855 case $ac_user_opts in
1857 "with_$ac_useropt"
1858 "*) ;;
1859 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1860 ac_unrecognized_sep=', ';;
1861 esac
1862 eval with_$ac_useropt=no ;;
1864 --x)
1865 # Obsolete; use --with-x.
1866 with_x=yes ;;
1868 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1869 | --x-incl | --x-inc | --x-in | --x-i)
1870 ac_prev=x_includes ;;
1871 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1872 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1873 x_includes=$ac_optarg ;;
1875 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1876 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1877 ac_prev=x_libraries ;;
1878 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1879 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1880 x_libraries=$ac_optarg ;;
1882 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1883 Try \`$0 --help' for more information"
1886 *=*)
1887 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1888 # Reject names that are not valid shell variable names.
1889 case $ac_envvar in #(
1890 '' | [0-9]* | *[!_$as_cr_alnum]* )
1891 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1892 esac
1893 eval $ac_envvar=\$ac_optarg
1894 export $ac_envvar ;;
1897 # FIXME: should be removed in autoconf 3.0.
1898 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1899 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1900 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1901 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1904 esac
1905 done
1907 if test -n "$ac_prev"; then
1908 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1909 as_fn_error $? "missing argument to $ac_option"
1912 if test -n "$ac_unrecognized_opts"; then
1913 case $enable_option_checking in
1914 no) ;;
1915 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1916 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1917 esac
1920 # Check all directory arguments for consistency.
1921 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1922 datadir sysconfdir sharedstatedir localstatedir includedir \
1923 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1924 libdir localedir mandir
1926 eval ac_val=\$$ac_var
1927 # Remove trailing slashes.
1928 case $ac_val in
1929 */ )
1930 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1931 eval $ac_var=\$ac_val;;
1932 esac
1933 # Be sure to have absolute directory names.
1934 case $ac_val in
1935 [\\/$]* | ?:[\\/]* ) continue;;
1936 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1937 esac
1938 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1939 done
1941 # There might be people who depend on the old broken behavior: `$host'
1942 # used to hold the argument of --host etc.
1943 # FIXME: To remove some day.
1944 build=$build_alias
1945 host=$host_alias
1946 target=$target_alias
1948 # FIXME: To remove some day.
1949 if test "x$host_alias" != x; then
1950 if test "x$build_alias" = x; then
1951 cross_compiling=maybe
1952 elif test "x$build_alias" != "x$host_alias"; then
1953 cross_compiling=yes
1957 ac_tool_prefix=
1958 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1960 test "$silent" = yes && exec 6>/dev/null
1963 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1964 ac_ls_di=`ls -di .` &&
1965 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1966 as_fn_error $? "working directory cannot be determined"
1967 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1968 as_fn_error $? "pwd does not report name of working directory"
1971 # Find the source files, if location was not specified.
1972 if test -z "$srcdir"; then
1973 ac_srcdir_defaulted=yes
1974 # Try the directory containing this script, then the parent directory.
1975 ac_confdir=`$as_dirname -- "$as_myself" ||
1976 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1977 X"$as_myself" : 'X\(//\)[^/]' \| \
1978 X"$as_myself" : 'X\(//\)$' \| \
1979 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1980 $as_echo X"$as_myself" |
1981 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1982 s//\1/
1985 /^X\(\/\/\)[^/].*/{
1986 s//\1/
1989 /^X\(\/\/\)$/{
1990 s//\1/
1993 /^X\(\/\).*/{
1994 s//\1/
1997 s/.*/./; q'`
1998 srcdir=$ac_confdir
1999 if test ! -r "$srcdir/$ac_unique_file"; then
2000 srcdir=..
2002 else
2003 ac_srcdir_defaulted=no
2005 if test ! -r "$srcdir/$ac_unique_file"; then
2006 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2007 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2009 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2010 ac_abs_confdir=`(
2011 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2012 pwd)`
2013 # When building in place, set srcdir=.
2014 if test "$ac_abs_confdir" = "$ac_pwd"; then
2015 srcdir=.
2017 # Remove unnecessary trailing slashes from srcdir.
2018 # Double slashes in file names in object file debugging info
2019 # mess up M-x gdb in Emacs.
2020 case $srcdir in
2021 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2022 esac
2023 for ac_var in $ac_precious_vars; do
2024 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2025 eval ac_env_${ac_var}_value=\$${ac_var}
2026 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2027 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2028 done
2031 # Report the --help message.
2033 if test "$ac_init_help" = "long"; then
2034 # Omit some internal or obsolete options to make the list less imposing.
2035 # This message is too long to be a string in the A/UX 3.1 sh.
2036 cat <<_ACEOF
2037 \`configure' configures Wine 1.7.43 to adapt to many kinds of systems.
2039 Usage: $0 [OPTION]... [VAR=VALUE]...
2041 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2042 VAR=VALUE. See below for descriptions of some of the useful variables.
2044 Defaults for the options are specified in brackets.
2046 Configuration:
2047 -h, --help display this help and exit
2048 --help=short display options specific to this package
2049 --help=recursive display the short help of all the included packages
2050 -V, --version display version information and exit
2051 -q, --quiet, --silent do not print \`checking ...' messages
2052 --cache-file=FILE cache test results in FILE [disabled]
2053 -C, --config-cache alias for \`--cache-file=config.cache'
2054 -n, --no-create do not create output files
2055 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2057 Installation directories:
2058 --prefix=PREFIX install architecture-independent files in PREFIX
2059 [$ac_default_prefix]
2060 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2061 [PREFIX]
2063 By default, \`make install' will install all the files in
2064 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2065 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2066 for instance \`--prefix=\$HOME'.
2068 For better control, use the options below.
2070 Fine tuning of the installation directories:
2071 --bindir=DIR user executables [EPREFIX/bin]
2072 --sbindir=DIR system admin executables [EPREFIX/sbin]
2073 --libexecdir=DIR program executables [EPREFIX/libexec]
2074 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2075 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2076 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2077 --libdir=DIR object code libraries [EPREFIX/lib]
2078 --includedir=DIR C header files [PREFIX/include]
2079 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2080 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2081 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2082 --infodir=DIR info documentation [DATAROOTDIR/info]
2083 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2084 --mandir=DIR man documentation [DATAROOTDIR/man]
2085 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2086 --htmldir=DIR html documentation [DOCDIR]
2087 --dvidir=DIR dvi documentation [DOCDIR]
2088 --pdfdir=DIR pdf documentation [DOCDIR]
2089 --psdir=DIR ps documentation [DOCDIR]
2090 _ACEOF
2092 cat <<\_ACEOF
2094 X features:
2095 --x-includes=DIR X include files are in DIR
2096 --x-libraries=DIR X library files are in DIR
2098 System types:
2099 --build=BUILD configure for building on BUILD [guessed]
2100 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2101 _ACEOF
2104 if test -n "$ac_init_help"; then
2105 case $ac_init_help in
2106 short | recursive ) echo "Configuration of Wine 1.7.43:";;
2107 esac
2108 cat <<\_ACEOF
2110 Optional Features:
2111 --disable-option-checking ignore unrecognized --enable/--with options
2112 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2113 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2114 --disable-win16 do not include Win16 support
2115 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2116 binaries)
2117 --disable-tests do not build the regression tests
2118 --enable-maintainer-mode
2119 enable maintainer-specific build rules
2120 --disable-largefile omit support for large files
2122 Optional Packages:
2123 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2124 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2125 --without-alsa do not use the Alsa sound support
2126 --without-capi do not use CAPI (ISDN support)
2127 --without-cms do not use CMS (color management support)
2128 --without-coreaudio do not use the CoreAudio sound support
2129 --without-cups do not use CUPS
2130 --without-curses do not use (n)curses
2131 --without-dbus do not use DBus (dynamic device support)
2132 --without-fontconfig do not use fontconfig
2133 --without-freetype do not use the FreeType library
2134 --without-gettext do not use gettext
2135 --with-gettextpo use the GetTextPO library to rebuild po files
2136 --without-gphoto do not use gphoto (Digital Camera support)
2137 --without-glu do not use the GLU library
2138 --without-gnutls do not use GnuTLS (schannel support)
2139 --without-gsm do not use libgsm (GSM 06.10 codec support)
2140 --without-gstreamer do not use GStreamer (codecs support)
2141 --without-hal do not use HAL (dynamic device support)
2142 --without-jpeg do not use JPEG
2143 --without-ldap do not use LDAP
2144 --without-mpg123 do not use the mpg123 library
2145 --without-netapi do not use the Samba NetAPI library
2146 --without-openal do not use OpenAL
2147 --without-opencl do not use OpenCL
2148 --without-opengl do not use OpenGL
2149 --without-osmesa do not use the OSMesa library
2150 --without-oss do not use the OSS sound support
2151 --without-pcap do not use the Packet Capture library
2152 --without-png do not use PNG
2153 --without-pthread do not use the pthread library
2154 --without-sane do not use SANE (scanner support)
2155 --without-tiff do not use TIFF
2156 --without-v4l do not use v4l1 (v4l support)
2157 --without-xcomposite do not use the Xcomposite extension
2158 --without-xcursor do not use the Xcursor extension
2159 --without-xinerama do not use Xinerama (multi-monitor support)
2160 --without-xinput do not use the Xinput extension
2161 --without-xinput2 do not use the Xinput 2 extension
2162 --without-xml do not use XML
2163 --without-xrandr do not use Xrandr (resolution changes)
2164 --without-xrender do not use the Xrender extension
2165 --without-xshape do not use the Xshape extension
2166 --without-xshm do not use XShm (shared memory extension)
2167 --without-xslt do not use XSLT
2168 --without-xxf86vm do not use XFree video mode extension
2169 --without-zlib do not use Zlib (data compression)
2170 --with-wine-tools=DIR use Wine tools from directory DIR
2171 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2172 --with-x use the X Window System
2174 Some influential environment variables:
2175 CC C compiler command
2176 CFLAGS C compiler flags
2177 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2178 nonstandard directory <lib dir>
2179 LIBS libraries to pass to the linker, e.g. -l<library>
2180 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2181 you have headers in a nonstandard directory <include dir>
2182 CXX C++ compiler command
2183 CXXFLAGS C++ compiler flags
2184 CPP C preprocessor
2185 XMKMF Path to xmkmf, Makefile generator for X Window System
2186 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2187 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2188 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2189 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2190 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2191 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2192 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2193 HAL_LIBS Linker flags for hal, overriding pkg-config
2194 GNUTLS_CFLAGS
2195 C compiler flags for gnutls, overriding pkg-config
2196 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2197 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2198 SANE_LIBS Linker flags for libsane, overriding pkg-config
2199 GPHOTO2_CFLAGS
2200 C compiler flags for libgphoto2, overriding pkg-config
2201 GPHOTO2_LIBS
2202 Linker flags for libgphoto2, overriding pkg-config
2203 GPHOTO2_PORT_CFLAGS
2204 C compiler flags for libgphoto2_port, overriding pkg-config
2205 GPHOTO2_PORT_LIBS
2206 Linker flags for libgphoto2_port, overriding pkg-config
2207 LCMS2_CFLAGS
2208 C compiler flags for lcms2, overriding pkg-config
2209 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2210 FREETYPE_CFLAGS
2211 C compiler flags for freetype2, overriding pkg-config
2212 FREETYPE_LIBS
2213 Linker flags for freetype2, overriding pkg-config
2214 GSTREAMER_CFLAGS
2215 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2216 GSTREAMER_LIBS
2217 Linker flags for gstreamer-app-0.10, overriding pkg-config
2218 CAPI20_CFLAGS
2219 C compiler flags for capi20, overriding pkg-config
2220 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2221 FONTCONFIG_CFLAGS
2222 C compiler flags for fontconfig, overriding pkg-config
2223 FONTCONFIG_LIBS
2224 Linker flags for fontconfig, overriding pkg-config
2225 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2226 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2227 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2228 PNG_LIBS Linker flags for libpng, overriding pkg-config
2229 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2230 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2231 MPG123_CFLAGS
2232 C compiler flags for libmpg123, overriding pkg-config
2233 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2235 Use these variables to override the choices made by `configure' or to help
2236 it to find libraries and programs with nonstandard names/locations.
2238 Report bugs to <wine-devel@winehq.org>.
2239 Wine home page: <http://www.winehq.org>.
2240 _ACEOF
2241 ac_status=$?
2244 if test "$ac_init_help" = "recursive"; then
2245 # If there are subdirs, report their specific --help.
2246 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2247 test -d "$ac_dir" ||
2248 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2249 continue
2250 ac_builddir=.
2252 case "$ac_dir" in
2253 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2255 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2256 # A ".." for each directory in $ac_dir_suffix.
2257 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2258 case $ac_top_builddir_sub in
2259 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2260 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2261 esac ;;
2262 esac
2263 ac_abs_top_builddir=$ac_pwd
2264 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2265 # for backward compatibility:
2266 ac_top_builddir=$ac_top_build_prefix
2268 case $srcdir in
2269 .) # We are building in place.
2270 ac_srcdir=.
2271 ac_top_srcdir=$ac_top_builddir_sub
2272 ac_abs_top_srcdir=$ac_pwd ;;
2273 [\\/]* | ?:[\\/]* ) # Absolute name.
2274 ac_srcdir=$srcdir$ac_dir_suffix;
2275 ac_top_srcdir=$srcdir
2276 ac_abs_top_srcdir=$srcdir ;;
2277 *) # Relative name.
2278 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2279 ac_top_srcdir=$ac_top_build_prefix$srcdir
2280 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2281 esac
2282 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2284 cd "$ac_dir" || { ac_status=$?; continue; }
2285 # Check for guested configure.
2286 if test -f "$ac_srcdir/configure.gnu"; then
2287 echo &&
2288 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2289 elif test -f "$ac_srcdir/configure"; then
2290 echo &&
2291 $SHELL "$ac_srcdir/configure" --help=recursive
2292 else
2293 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2294 fi || ac_status=$?
2295 cd "$ac_pwd" || { ac_status=$?; break; }
2296 done
2299 test -n "$ac_init_help" && exit $ac_status
2300 if $ac_init_version; then
2301 cat <<\_ACEOF
2302 Wine configure 1.7.43
2303 generated by GNU Autoconf 2.69
2305 Copyright (C) 2012 Free Software Foundation, Inc.
2306 This configure script is free software; the Free Software Foundation
2307 gives unlimited permission to copy, distribute and modify it.
2308 _ACEOF
2309 exit
2312 ## ------------------------ ##
2313 ## Autoconf initialization. ##
2314 ## ------------------------ ##
2316 # ac_fn_c_try_compile LINENO
2317 # --------------------------
2318 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2319 ac_fn_c_try_compile ()
2321 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2322 rm -f conftest.$ac_objext
2323 if { { ac_try="$ac_compile"
2324 case "(($ac_try" in
2325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2326 *) ac_try_echo=$ac_try;;
2327 esac
2328 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2329 $as_echo "$ac_try_echo"; } >&5
2330 (eval "$ac_compile") 2>conftest.err
2331 ac_status=$?
2332 if test -s conftest.err; then
2333 grep -v '^ *+' conftest.err >conftest.er1
2334 cat conftest.er1 >&5
2335 mv -f conftest.er1 conftest.err
2337 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2338 test $ac_status = 0; } && {
2339 test -z "$ac_c_werror_flag" ||
2340 test ! -s conftest.err
2341 } && test -s conftest.$ac_objext; then :
2342 ac_retval=0
2343 else
2344 $as_echo "$as_me: failed program was:" >&5
2345 sed 's/^/| /' conftest.$ac_ext >&5
2347 ac_retval=1
2349 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2350 as_fn_set_status $ac_retval
2352 } # ac_fn_c_try_compile
2354 # ac_fn_cxx_try_compile LINENO
2355 # ----------------------------
2356 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2357 ac_fn_cxx_try_compile ()
2359 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2360 rm -f conftest.$ac_objext
2361 if { { ac_try="$ac_compile"
2362 case "(($ac_try" in
2363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2364 *) ac_try_echo=$ac_try;;
2365 esac
2366 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2367 $as_echo "$ac_try_echo"; } >&5
2368 (eval "$ac_compile") 2>conftest.err
2369 ac_status=$?
2370 if test -s conftest.err; then
2371 grep -v '^ *+' conftest.err >conftest.er1
2372 cat conftest.er1 >&5
2373 mv -f conftest.er1 conftest.err
2375 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2376 test $ac_status = 0; } && {
2377 test -z "$ac_cxx_werror_flag" ||
2378 test ! -s conftest.err
2379 } && test -s conftest.$ac_objext; then :
2380 ac_retval=0
2381 else
2382 $as_echo "$as_me: failed program was:" >&5
2383 sed 's/^/| /' conftest.$ac_ext >&5
2385 ac_retval=1
2387 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2388 as_fn_set_status $ac_retval
2390 } # ac_fn_cxx_try_compile
2392 # ac_fn_c_try_link LINENO
2393 # -----------------------
2394 # Try to link conftest.$ac_ext, and return whether this succeeded.
2395 ac_fn_c_try_link ()
2397 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2398 rm -f conftest.$ac_objext conftest$ac_exeext
2399 if { { ac_try="$ac_link"
2400 case "(($ac_try" in
2401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2402 *) ac_try_echo=$ac_try;;
2403 esac
2404 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2405 $as_echo "$ac_try_echo"; } >&5
2406 (eval "$ac_link") 2>conftest.err
2407 ac_status=$?
2408 if test -s conftest.err; then
2409 grep -v '^ *+' conftest.err >conftest.er1
2410 cat conftest.er1 >&5
2411 mv -f conftest.er1 conftest.err
2413 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2414 test $ac_status = 0; } && {
2415 test -z "$ac_c_werror_flag" ||
2416 test ! -s conftest.err
2417 } && test -s conftest$ac_exeext && {
2418 test "$cross_compiling" = yes ||
2419 test -x conftest$ac_exeext
2420 }; then :
2421 ac_retval=0
2422 else
2423 $as_echo "$as_me: failed program was:" >&5
2424 sed 's/^/| /' conftest.$ac_ext >&5
2426 ac_retval=1
2428 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2429 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2430 # interfere with the next link command; also delete a directory that is
2431 # left behind by Apple's compiler. We do this before executing the actions.
2432 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2433 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2434 as_fn_set_status $ac_retval
2436 } # ac_fn_c_try_link
2438 # ac_fn_c_try_cpp LINENO
2439 # ----------------------
2440 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2441 ac_fn_c_try_cpp ()
2443 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2444 if { { ac_try="$ac_cpp conftest.$ac_ext"
2445 case "(($ac_try" in
2446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2447 *) ac_try_echo=$ac_try;;
2448 esac
2449 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2450 $as_echo "$ac_try_echo"; } >&5
2451 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2452 ac_status=$?
2453 if test -s conftest.err; then
2454 grep -v '^ *+' conftest.err >conftest.er1
2455 cat conftest.er1 >&5
2456 mv -f conftest.er1 conftest.err
2458 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2459 test $ac_status = 0; } > conftest.i && {
2460 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2461 test ! -s conftest.err
2462 }; then :
2463 ac_retval=0
2464 else
2465 $as_echo "$as_me: failed program was:" >&5
2466 sed 's/^/| /' conftest.$ac_ext >&5
2468 ac_retval=1
2470 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2471 as_fn_set_status $ac_retval
2473 } # ac_fn_c_try_cpp
2475 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2476 # -------------------------------------------------------
2477 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2478 # the include files in INCLUDES and setting the cache variable VAR
2479 # accordingly.
2480 ac_fn_c_check_header_mongrel ()
2482 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2483 if eval \${$3+:} false; then :
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
2489 eval ac_res=\$$3
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2491 $as_echo "$ac_res" >&6; }
2492 else
2493 # Is the header compilable?
2494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2495 $as_echo_n "checking $2 usability... " >&6; }
2496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2497 /* end confdefs.h. */
2499 #include <$2>
2500 _ACEOF
2501 if ac_fn_c_try_compile "$LINENO"; then :
2502 ac_header_compiler=yes
2503 else
2504 ac_header_compiler=no
2506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2508 $as_echo "$ac_header_compiler" >&6; }
2510 # Is the header present?
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2512 $as_echo_n "checking $2 presence... " >&6; }
2513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2514 /* end confdefs.h. */
2515 #include <$2>
2516 _ACEOF
2517 if ac_fn_c_try_cpp "$LINENO"; then :
2518 ac_header_preproc=yes
2519 else
2520 ac_header_preproc=no
2522 rm -f conftest.err conftest.i conftest.$ac_ext
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2524 $as_echo "$ac_header_preproc" >&6; }
2526 # So? What about this header?
2527 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2528 yes:no: )
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2530 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2531 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2532 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2534 no:yes:* )
2535 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2536 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2538 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2540 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2542 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2543 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2544 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2545 ( $as_echo "## ------------------------------------ ##
2546 ## Report this to wine-devel@winehq.org ##
2547 ## ------------------------------------ ##"
2548 ) | sed "s/^/$as_me: WARNING: /" >&2
2550 esac
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2552 $as_echo_n "checking for $2... " >&6; }
2553 if eval \${$3+:} false; then :
2554 $as_echo_n "(cached) " >&6
2555 else
2556 eval "$3=\$ac_header_compiler"
2558 eval ac_res=\$$3
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2560 $as_echo "$ac_res" >&6; }
2562 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2564 } # ac_fn_c_check_header_mongrel
2566 # ac_fn_c_try_run LINENO
2567 # ----------------------
2568 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2569 # that executables *can* be run.
2570 ac_fn_c_try_run ()
2572 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2573 if { { ac_try="$ac_link"
2574 case "(($ac_try" in
2575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2576 *) ac_try_echo=$ac_try;;
2577 esac
2578 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2579 $as_echo "$ac_try_echo"; } >&5
2580 (eval "$ac_link") 2>&5
2581 ac_status=$?
2582 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2583 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2584 { { case "(($ac_try" in
2585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2586 *) ac_try_echo=$ac_try;;
2587 esac
2588 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2589 $as_echo "$ac_try_echo"; } >&5
2590 (eval "$ac_try") 2>&5
2591 ac_status=$?
2592 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2593 test $ac_status = 0; }; }; then :
2594 ac_retval=0
2595 else
2596 $as_echo "$as_me: program exited with status $ac_status" >&5
2597 $as_echo "$as_me: failed program was:" >&5
2598 sed 's/^/| /' conftest.$ac_ext >&5
2600 ac_retval=$ac_status
2602 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2603 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2604 as_fn_set_status $ac_retval
2606 } # ac_fn_c_try_run
2608 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2609 # -------------------------------------------------------
2610 # Tests whether HEADER exists and can be compiled using the include files in
2611 # INCLUDES, setting the cache variable VAR accordingly.
2612 ac_fn_c_check_header_compile ()
2614 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2616 $as_echo_n "checking for $2... " >&6; }
2617 if eval \${$3+:} false; then :
2618 $as_echo_n "(cached) " >&6
2619 else
2620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2621 /* end confdefs.h. */
2623 #include <$2>
2624 _ACEOF
2625 if ac_fn_c_try_compile "$LINENO"; then :
2626 eval "$3=yes"
2627 else
2628 eval "$3=no"
2630 rm -f core conftest.err conftest.$ac_objext 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_header_compile
2639 # ac_fn_c_check_func LINENO FUNC VAR
2640 # ----------------------------------
2641 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2642 ac_fn_c_check_func ()
2644 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2646 $as_echo_n "checking for $2... " >&6; }
2647 if eval \${$3+:} false; then :
2648 $as_echo_n "(cached) " >&6
2649 else
2650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2651 /* end confdefs.h. */
2652 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2653 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2654 #define $2 innocuous_$2
2656 /* System header to define __stub macros and hopefully few prototypes,
2657 which can conflict with char $2 (); below.
2658 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2659 <limits.h> exists even on freestanding compilers. */
2661 #ifdef __STDC__
2662 # include <limits.h>
2663 #else
2664 # include <assert.h>
2665 #endif
2667 #undef $2
2669 /* Override any GCC internal prototype to avoid an error.
2670 Use char because int might match the return type of a GCC
2671 builtin and then its argument prototype would still apply. */
2672 #ifdef __cplusplus
2673 extern "C"
2674 #endif
2675 char $2 ();
2676 /* The GNU C library defines this for functions which it implements
2677 to always fail with ENOSYS. Some functions are actually named
2678 something starting with __ and the normal name is an alias. */
2679 #if defined __stub_$2 || defined __stub___$2
2680 choke me
2681 #endif
2684 main ()
2686 return $2 ();
2688 return 0;
2690 _ACEOF
2691 if ac_fn_c_try_link "$LINENO"; then :
2692 eval "$3=yes"
2693 else
2694 eval "$3=no"
2696 rm -f core conftest.err conftest.$ac_objext \
2697 conftest$ac_exeext conftest.$ac_ext
2699 eval ac_res=\$$3
2700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2701 $as_echo "$ac_res" >&6; }
2702 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2704 } # ac_fn_c_check_func
2706 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2707 # ----------------------------------------------------
2708 # Tries to find if the field MEMBER exists in type AGGR, after including
2709 # INCLUDES, setting cache variable VAR accordingly.
2710 ac_fn_c_check_member ()
2712 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2714 $as_echo_n "checking for $2.$3... " >&6; }
2715 if eval \${$4+:} false; then :
2716 $as_echo_n "(cached) " >&6
2717 else
2718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2719 /* end confdefs.h. */
2722 main ()
2724 static $2 ac_aggr;
2725 if (ac_aggr.$3)
2726 return 0;
2728 return 0;
2730 _ACEOF
2731 if ac_fn_c_try_compile "$LINENO"; then :
2732 eval "$4=yes"
2733 else
2734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2735 /* end confdefs.h. */
2738 main ()
2740 static $2 ac_aggr;
2741 if (sizeof ac_aggr.$3)
2742 return 0;
2744 return 0;
2746 _ACEOF
2747 if ac_fn_c_try_compile "$LINENO"; then :
2748 eval "$4=yes"
2749 else
2750 eval "$4=no"
2752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2756 eval ac_res=\$$4
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2758 $as_echo "$ac_res" >&6; }
2759 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2761 } # ac_fn_c_check_member
2763 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2764 # -------------------------------------------
2765 # Tests whether TYPE exists after having included INCLUDES, setting cache
2766 # variable VAR accordingly.
2767 ac_fn_c_check_type ()
2769 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2771 $as_echo_n "checking for $2... " >&6; }
2772 if eval \${$3+:} false; then :
2773 $as_echo_n "(cached) " >&6
2774 else
2775 eval "$3=no"
2776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2777 /* end confdefs.h. */
2780 main ()
2782 if (sizeof ($2))
2783 return 0;
2785 return 0;
2787 _ACEOF
2788 if ac_fn_c_try_compile "$LINENO"; then :
2789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2790 /* end confdefs.h. */
2793 main ()
2795 if (sizeof (($2)))
2796 return 0;
2798 return 0;
2800 _ACEOF
2801 if ac_fn_c_try_compile "$LINENO"; then :
2803 else
2804 eval "$3=yes"
2806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2810 eval ac_res=\$$3
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2812 $as_echo "$ac_res" >&6; }
2813 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2815 } # ac_fn_c_check_type
2816 cat >config.log <<_ACEOF
2817 This file contains any messages produced by compilers while
2818 running configure, to aid debugging if configure makes a mistake.
2820 It was created by Wine $as_me 1.7.43, which was
2821 generated by GNU Autoconf 2.69. Invocation command line was
2823 $ $0 $@
2825 _ACEOF
2826 exec 5>>config.log
2828 cat <<_ASUNAME
2829 ## --------- ##
2830 ## Platform. ##
2831 ## --------- ##
2833 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2834 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2835 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2836 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2837 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2839 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2840 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2842 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2843 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2844 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2845 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2846 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2847 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2848 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2850 _ASUNAME
2852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2853 for as_dir in $PATH
2855 IFS=$as_save_IFS
2856 test -z "$as_dir" && as_dir=.
2857 $as_echo "PATH: $as_dir"
2858 done
2859 IFS=$as_save_IFS
2861 } >&5
2863 cat >&5 <<_ACEOF
2866 ## ----------- ##
2867 ## Core tests. ##
2868 ## ----------- ##
2870 _ACEOF
2873 # Keep a trace of the command line.
2874 # Strip out --no-create and --no-recursion so they do not pile up.
2875 # Strip out --silent because we don't want to record it for future runs.
2876 # Also quote any args containing shell meta-characters.
2877 # Make two passes to allow for proper duplicate-argument suppression.
2878 ac_configure_args=
2879 ac_configure_args0=
2880 ac_configure_args1=
2881 ac_must_keep_next=false
2882 for ac_pass in 1 2
2884 for ac_arg
2886 case $ac_arg in
2887 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2888 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2889 | -silent | --silent | --silen | --sile | --sil)
2890 continue ;;
2891 *\'*)
2892 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2893 esac
2894 case $ac_pass in
2895 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2897 as_fn_append ac_configure_args1 " '$ac_arg'"
2898 if test $ac_must_keep_next = true; then
2899 ac_must_keep_next=false # Got value, back to normal.
2900 else
2901 case $ac_arg in
2902 *=* | --config-cache | -C | -disable-* | --disable-* \
2903 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2904 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2905 | -with-* | --with-* | -without-* | --without-* | --x)
2906 case "$ac_configure_args0 " in
2907 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2908 esac
2910 -* ) ac_must_keep_next=true ;;
2911 esac
2913 as_fn_append ac_configure_args " '$ac_arg'"
2915 esac
2916 done
2917 done
2918 { ac_configure_args0=; unset ac_configure_args0;}
2919 { ac_configure_args1=; unset ac_configure_args1;}
2921 # When interrupted or exit'd, cleanup temporary files, and complete
2922 # config.log. We remove comments because anyway the quotes in there
2923 # would cause problems or look ugly.
2924 # WARNING: Use '\'' to represent an apostrophe within the trap.
2925 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2926 trap 'exit_status=$?
2927 # Save into config.log some information that might help in debugging.
2929 echo
2931 $as_echo "## ---------------- ##
2932 ## Cache variables. ##
2933 ## ---------------- ##"
2934 echo
2935 # The following way of writing the cache mishandles newlines in values,
2937 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2938 eval ac_val=\$$ac_var
2939 case $ac_val in #(
2940 *${as_nl}*)
2941 case $ac_var in #(
2942 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2943 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2944 esac
2945 case $ac_var in #(
2946 _ | IFS | as_nl) ;; #(
2947 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2948 *) { eval $ac_var=; unset $ac_var;} ;;
2949 esac ;;
2950 esac
2951 done
2952 (set) 2>&1 |
2953 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2954 *${as_nl}ac_space=\ *)
2955 sed -n \
2956 "s/'\''/'\''\\\\'\'''\''/g;
2957 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2958 ;; #(
2960 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2962 esac |
2963 sort
2965 echo
2967 $as_echo "## ----------------- ##
2968 ## Output variables. ##
2969 ## ----------------- ##"
2970 echo
2971 for ac_var in $ac_subst_vars
2973 eval ac_val=\$$ac_var
2974 case $ac_val in
2975 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2976 esac
2977 $as_echo "$ac_var='\''$ac_val'\''"
2978 done | sort
2979 echo
2981 if test -n "$ac_subst_files"; then
2982 $as_echo "## ------------------- ##
2983 ## File substitutions. ##
2984 ## ------------------- ##"
2985 echo
2986 for ac_var in $ac_subst_files
2988 eval ac_val=\$$ac_var
2989 case $ac_val in
2990 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2991 esac
2992 $as_echo "$ac_var='\''$ac_val'\''"
2993 done | sort
2994 echo
2997 if test -s confdefs.h; then
2998 $as_echo "## ----------- ##
2999 ## confdefs.h. ##
3000 ## ----------- ##"
3001 echo
3002 cat confdefs.h
3003 echo
3005 test "$ac_signal" != 0 &&
3006 $as_echo "$as_me: caught signal $ac_signal"
3007 $as_echo "$as_me: exit $exit_status"
3008 } >&5
3009 rm -f core *.core core.conftest.* &&
3010 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3011 exit $exit_status
3013 for ac_signal in 1 2 13 15; do
3014 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3015 done
3016 ac_signal=0
3018 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3019 rm -f -r conftest* confdefs.h
3021 $as_echo "/* confdefs.h */" > confdefs.h
3023 # Predefined preprocessor variables.
3025 cat >>confdefs.h <<_ACEOF
3026 #define PACKAGE_NAME "$PACKAGE_NAME"
3027 _ACEOF
3029 cat >>confdefs.h <<_ACEOF
3030 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3031 _ACEOF
3033 cat >>confdefs.h <<_ACEOF
3034 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3035 _ACEOF
3037 cat >>confdefs.h <<_ACEOF
3038 #define PACKAGE_STRING "$PACKAGE_STRING"
3039 _ACEOF
3041 cat >>confdefs.h <<_ACEOF
3042 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3043 _ACEOF
3045 cat >>confdefs.h <<_ACEOF
3046 #define PACKAGE_URL "$PACKAGE_URL"
3047 _ACEOF
3050 # Let the site file select an alternate cache file if it wants to.
3051 # Prefer an explicitly selected file to automatically selected ones.
3052 ac_site_file1=NONE
3053 ac_site_file2=NONE
3054 if test -n "$CONFIG_SITE"; then
3055 # We do not want a PATH search for config.site.
3056 case $CONFIG_SITE in #((
3057 -*) ac_site_file1=./$CONFIG_SITE;;
3058 */*) ac_site_file1=$CONFIG_SITE;;
3059 *) ac_site_file1=./$CONFIG_SITE;;
3060 esac
3061 elif test "x$prefix" != xNONE; then
3062 ac_site_file1=$prefix/share/config.site
3063 ac_site_file2=$prefix/etc/config.site
3064 else
3065 ac_site_file1=$ac_default_prefix/share/config.site
3066 ac_site_file2=$ac_default_prefix/etc/config.site
3068 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3070 test "x$ac_site_file" = xNONE && continue
3071 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3073 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3074 sed 's/^/| /' "$ac_site_file" >&5
3075 . "$ac_site_file" \
3076 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3077 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3078 as_fn_error $? "failed to load site script $ac_site_file
3079 See \`config.log' for more details" "$LINENO" 5; }
3081 done
3083 if test -r "$cache_file"; then
3084 # Some versions of bash will fail to source /dev/null (special files
3085 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3086 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3088 $as_echo "$as_me: loading cache $cache_file" >&6;}
3089 case $cache_file in
3090 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3091 *) . "./$cache_file";;
3092 esac
3094 else
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3096 $as_echo "$as_me: creating cache $cache_file" >&6;}
3097 >$cache_file
3100 # Check that the precious variables saved in the cache have kept the same
3101 # value.
3102 ac_cache_corrupted=false
3103 for ac_var in $ac_precious_vars; do
3104 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3105 eval ac_new_set=\$ac_env_${ac_var}_set
3106 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3107 eval ac_new_val=\$ac_env_${ac_var}_value
3108 case $ac_old_set,$ac_new_set in
3109 set,)
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3111 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3112 ac_cache_corrupted=: ;;
3113 ,set)
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3115 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3116 ac_cache_corrupted=: ;;
3117 ,);;
3119 if test "x$ac_old_val" != "x$ac_new_val"; then
3120 # differences in whitespace do not lead to failure.
3121 ac_old_val_w=`echo x $ac_old_val`
3122 ac_new_val_w=`echo x $ac_new_val`
3123 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3125 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3126 ac_cache_corrupted=:
3127 else
3128 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3129 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3130 eval $ac_var=\$ac_old_val
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3133 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3135 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3136 fi;;
3137 esac
3138 # Pass precious variables to config.status.
3139 if test "$ac_new_set" = set; then
3140 case $ac_new_val in
3141 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3142 *) ac_arg=$ac_var=$ac_new_val ;;
3143 esac
3144 case " $ac_configure_args " in
3145 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3146 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3147 esac
3149 done
3150 if $ac_cache_corrupted; then
3151 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3152 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3154 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3155 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3157 ## -------------------- ##
3158 ## Main body of script. ##
3159 ## -------------------- ##
3161 ac_ext=c
3162 ac_cpp='$CPP $CPPFLAGS'
3163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3169 ac_config_headers="$ac_config_headers include/config.h"
3171 ac_aux_dir=
3172 for ac_dir in tools "$srcdir"/tools; do
3173 if test -f "$ac_dir/install-sh"; then
3174 ac_aux_dir=$ac_dir
3175 ac_install_sh="$ac_aux_dir/install-sh -c"
3176 break
3177 elif test -f "$ac_dir/install.sh"; then
3178 ac_aux_dir=$ac_dir
3179 ac_install_sh="$ac_aux_dir/install.sh -c"
3180 break
3181 elif test -f "$ac_dir/shtool"; then
3182 ac_aux_dir=$ac_dir
3183 ac_install_sh="$ac_aux_dir/shtool install -c"
3184 break
3186 done
3187 if test -z "$ac_aux_dir"; then
3188 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3191 # These three variables are undocumented and unsupported,
3192 # and are intended to be withdrawn in a future Autoconf release.
3193 # They can cause serious problems if a builder's source tree is in a directory
3194 # whose full name contains unusual characters.
3195 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3196 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3197 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3201 libwine_version="1.0"
3205 # Check whether --enable-win16 was given.
3206 if test "${enable_win16+set}" = set; then :
3207 enableval=$enable_win16;
3210 # Check whether --enable-win64 was given.
3211 if test "${enable_win64+set}" = set; then :
3212 enableval=$enable_win64;
3215 # Check whether --enable-tests was given.
3216 if test "${enable_tests+set}" = set; then :
3217 enableval=$enable_tests;
3220 # Check whether --enable-maintainer-mode was given.
3221 if test "${enable_maintainer_mode+set}" = set; then :
3222 enableval=$enable_maintainer_mode;
3227 # Check whether --with-alsa was given.
3228 if test "${with_alsa+set}" = set; then :
3229 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3233 # Check whether --with-capi was given.
3234 if test "${with_capi+set}" = set; then :
3235 withval=$with_capi;
3239 # Check whether --with-cms was given.
3240 if test "${with_cms+set}" = set; then :
3241 withval=$with_cms;
3245 # Check whether --with-coreaudio was given.
3246 if test "${with_coreaudio+set}" = set; then :
3247 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3251 # Check whether --with-cups was given.
3252 if test "${with_cups+set}" = set; then :
3253 withval=$with_cups;
3257 # Check whether --with-curses was given.
3258 if test "${with_curses+set}" = set; then :
3259 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3263 # Check whether --with-dbus was given.
3264 if test "${with_dbus+set}" = set; then :
3265 withval=$with_dbus;
3269 # Check whether --with-fontconfig was given.
3270 if test "${with_fontconfig+set}" = set; then :
3271 withval=$with_fontconfig;
3275 # Check whether --with-freetype was given.
3276 if test "${with_freetype+set}" = set; then :
3277 withval=$with_freetype;
3281 # Check whether --with-gettext was given.
3282 if test "${with_gettext+set}" = set; then :
3283 withval=$with_gettext;
3287 # Check whether --with-gettextpo was given.
3288 if test "${with_gettextpo+set}" = set; then :
3289 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3293 # Check whether --with-gphoto was given.
3294 if test "${with_gphoto+set}" = set; then :
3295 withval=$with_gphoto;
3299 # Check whether --with-glu was given.
3300 if test "${with_glu+set}" = set; then :
3301 withval=$with_glu;
3305 # Check whether --with-gnutls was given.
3306 if test "${with_gnutls+set}" = set; then :
3307 withval=$with_gnutls;
3311 # Check whether --with-gsm was given.
3312 if test "${with_gsm+set}" = set; then :
3313 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3317 # Check whether --with-gstreamer was given.
3318 if test "${with_gstreamer+set}" = set; then :
3319 withval=$with_gstreamer;
3323 # Check whether --with-hal was given.
3324 if test "${with_hal+set}" = set; then :
3325 withval=$with_hal;
3329 # Check whether --with-jpeg was given.
3330 if test "${with_jpeg+set}" = set; then :
3331 withval=$with_jpeg;
3335 # Check whether --with-ldap was given.
3336 if test "${with_ldap+set}" = set; then :
3337 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3341 # Check whether --with-mpg123 was given.
3342 if test "${with_mpg123+set}" = set; then :
3343 withval=$with_mpg123;
3347 # Check whether --with-netapi was given.
3348 if test "${with_netapi+set}" = set; then :
3349 withval=$with_netapi;
3353 # Check whether --with-openal was given.
3354 if test "${with_openal+set}" = set; then :
3355 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3359 # Check whether --with-opencl was given.
3360 if test "${with_opencl+set}" = set; then :
3361 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3365 # Check whether --with-opengl was given.
3366 if test "${with_opengl+set}" = set; then :
3367 withval=$with_opengl;
3371 # Check whether --with-osmesa was given.
3372 if test "${with_osmesa+set}" = set; then :
3373 withval=$with_osmesa;
3377 # Check whether --with-oss was given.
3378 if test "${with_oss+set}" = set; then :
3379 withval=$with_oss;
3383 # Check whether --with-pcap was given.
3384 if test "${with_pcap+set}" = set; then :
3385 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3389 # Check whether --with-png was given.
3390 if test "${with_png+set}" = set; then :
3391 withval=$with_png;
3395 # Check whether --with-pthread was given.
3396 if test "${with_pthread+set}" = set; then :
3397 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3401 # Check whether --with-sane was given.
3402 if test "${with_sane+set}" = set; then :
3403 withval=$with_sane;
3407 # Check whether --with-tiff was given.
3408 if test "${with_tiff+set}" = set; then :
3409 withval=$with_tiff;
3413 # Check whether --with-v4l was given.
3414 if test "${with_v4l+set}" = set; then :
3415 withval=$with_v4l;
3419 # Check whether --with-xcomposite was given.
3420 if test "${with_xcomposite+set}" = set; then :
3421 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3425 # Check whether --with-xcursor was given.
3426 if test "${with_xcursor+set}" = set; then :
3427 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3431 # Check whether --with-xinerama was given.
3432 if test "${with_xinerama+set}" = set; then :
3433 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3437 # Check whether --with-xinput was given.
3438 if test "${with_xinput+set}" = set; then :
3439 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3443 # Check whether --with-xinput2 was given.
3444 if test "${with_xinput2+set}" = set; then :
3445 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3449 # Check whether --with-xml was given.
3450 if test "${with_xml+set}" = set; then :
3451 withval=$with_xml;
3455 # Check whether --with-xrandr was given.
3456 if test "${with_xrandr+set}" = set; then :
3457 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3461 # Check whether --with-xrender was given.
3462 if test "${with_xrender+set}" = set; then :
3463 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3467 # Check whether --with-xshape was given.
3468 if test "${with_xshape+set}" = set; then :
3469 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3473 # Check whether --with-xshm was given.
3474 if test "${with_xshm+set}" = set; then :
3475 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3479 # Check whether --with-xslt was given.
3480 if test "${with_xslt+set}" = set; then :
3481 withval=$with_xslt;
3485 # Check whether --with-xxf86vm was given.
3486 if test "${with_xxf86vm+set}" = set; then :
3487 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
3491 # Check whether --with-zlib was given.
3492 if test "${with_zlib+set}" = set; then :
3493 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3498 # Check whether --with-wine-tools was given.
3499 if test "${with_wine_tools+set}" = set; then :
3500 withval=$with_wine_tools;
3504 # Check whether --with-wine64 was given.
3505 if test "${with_wine64+set}" = set; then :
3506 withval=$with_wine64;
3510 # Make sure we can run config.sub.
3511 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3512 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3515 $as_echo_n "checking build system type... " >&6; }
3516 if ${ac_cv_build+:} false; then :
3517 $as_echo_n "(cached) " >&6
3518 else
3519 ac_build_alias=$build_alias
3520 test "x$ac_build_alias" = x &&
3521 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3522 test "x$ac_build_alias" = x &&
3523 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3524 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3525 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3529 $as_echo "$ac_cv_build" >&6; }
3530 case $ac_cv_build in
3531 *-*-*) ;;
3532 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3533 esac
3534 build=$ac_cv_build
3535 ac_save_IFS=$IFS; IFS='-'
3536 set x $ac_cv_build
3537 shift
3538 build_cpu=$1
3539 build_vendor=$2
3540 shift; shift
3541 # Remember, the first character of IFS is used to create $*,
3542 # except with old shells:
3543 build_os=$*
3544 IFS=$ac_save_IFS
3545 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3549 $as_echo_n "checking host system type... " >&6; }
3550 if ${ac_cv_host+:} false; then :
3551 $as_echo_n "(cached) " >&6
3552 else
3553 if test "x$host_alias" = x; then
3554 ac_cv_host=$ac_cv_build
3555 else
3556 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3557 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3562 $as_echo "$ac_cv_host" >&6; }
3563 case $ac_cv_host in
3564 *-*-*) ;;
3565 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3566 esac
3567 host=$ac_cv_host
3568 ac_save_IFS=$IFS; IFS='-'
3569 set x $ac_cv_host
3570 shift
3571 host_cpu=$1
3572 host_vendor=$2
3573 shift; shift
3574 # Remember, the first character of IFS is used to create $*,
3575 # except with old shells:
3576 host_os=$*
3577 IFS=$ac_save_IFS
3578 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3582 case "$srcdir" in
3583 .) ;;
3584 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3585 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3586 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3587 fi ;;
3588 esac
3591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3592 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3593 set x ${MAKE-make}
3594 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3595 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3596 $as_echo_n "(cached) " >&6
3597 else
3598 cat >conftest.make <<\_ACEOF
3599 SHELL = /bin/sh
3600 all:
3601 @echo '@@@%%%=$(MAKE)=@@@%%%'
3602 _ACEOF
3603 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3604 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3605 *@@@%%%=?*=@@@%%%*)
3606 eval ac_cv_prog_make_${ac_make}_set=yes;;
3608 eval ac_cv_prog_make_${ac_make}_set=no;;
3609 esac
3610 rm -f conftest.make
3612 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3614 $as_echo "yes" >&6; }
3615 SET_MAKE=
3616 else
3617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3618 $as_echo "no" >&6; }
3619 SET_MAKE="MAKE=${MAKE-make}"
3622 ac_ext=c
3623 ac_cpp='$CPP $CPPFLAGS'
3624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3627 if test -n "$ac_tool_prefix"; then
3628 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3629 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3631 $as_echo_n "checking for $ac_word... " >&6; }
3632 if ${ac_cv_prog_CC+:} false; then :
3633 $as_echo_n "(cached) " >&6
3634 else
3635 if test -n "$CC"; then
3636 ac_cv_prog_CC="$CC" # Let the user override the test.
3637 else
3638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3639 for as_dir in $PATH
3641 IFS=$as_save_IFS
3642 test -z "$as_dir" && as_dir=.
3643 for ac_exec_ext in '' $ac_executable_extensions; do
3644 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3645 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3646 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3647 break 2
3649 done
3650 done
3651 IFS=$as_save_IFS
3655 CC=$ac_cv_prog_CC
3656 if test -n "$CC"; then
3657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3658 $as_echo "$CC" >&6; }
3659 else
3660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3661 $as_echo "no" >&6; }
3666 if test -z "$ac_cv_prog_CC"; then
3667 ac_ct_CC=$CC
3668 # Extract the first word of "gcc", so it can be a program name with args.
3669 set dummy gcc; ac_word=$2
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3671 $as_echo_n "checking for $ac_word... " >&6; }
3672 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3673 $as_echo_n "(cached) " >&6
3674 else
3675 if test -n "$ac_ct_CC"; then
3676 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3677 else
3678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3679 for as_dir in $PATH
3681 IFS=$as_save_IFS
3682 test -z "$as_dir" && as_dir=.
3683 for ac_exec_ext in '' $ac_executable_extensions; do
3684 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3685 ac_cv_prog_ac_ct_CC="gcc"
3686 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3687 break 2
3689 done
3690 done
3691 IFS=$as_save_IFS
3695 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3696 if test -n "$ac_ct_CC"; then
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3698 $as_echo "$ac_ct_CC" >&6; }
3699 else
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3701 $as_echo "no" >&6; }
3704 if test "x$ac_ct_CC" = x; then
3705 CC=""
3706 else
3707 case $cross_compiling:$ac_tool_warned in
3708 yes:)
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3710 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3711 ac_tool_warned=yes ;;
3712 esac
3713 CC=$ac_ct_CC
3715 else
3716 CC="$ac_cv_prog_CC"
3719 if test -z "$CC"; then
3720 if test -n "$ac_tool_prefix"; then
3721 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3722 set dummy ${ac_tool_prefix}cc; ac_word=$2
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3724 $as_echo_n "checking for $ac_word... " >&6; }
3725 if ${ac_cv_prog_CC+:} false; then :
3726 $as_echo_n "(cached) " >&6
3727 else
3728 if test -n "$CC"; then
3729 ac_cv_prog_CC="$CC" # Let the user override the test.
3730 else
3731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3732 for as_dir in $PATH
3734 IFS=$as_save_IFS
3735 test -z "$as_dir" && as_dir=.
3736 for ac_exec_ext in '' $ac_executable_extensions; do
3737 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3738 ac_cv_prog_CC="${ac_tool_prefix}cc"
3739 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3740 break 2
3742 done
3743 done
3744 IFS=$as_save_IFS
3748 CC=$ac_cv_prog_CC
3749 if test -n "$CC"; then
3750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3751 $as_echo "$CC" >&6; }
3752 else
3753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3754 $as_echo "no" >&6; }
3760 if test -z "$CC"; then
3761 # Extract the first word of "cc", so it can be a program name with args.
3762 set dummy cc; ac_word=$2
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3764 $as_echo_n "checking for $ac_word... " >&6; }
3765 if ${ac_cv_prog_CC+:} false; then :
3766 $as_echo_n "(cached) " >&6
3767 else
3768 if test -n "$CC"; then
3769 ac_cv_prog_CC="$CC" # Let the user override the test.
3770 else
3771 ac_prog_rejected=no
3772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3773 for as_dir in $PATH
3775 IFS=$as_save_IFS
3776 test -z "$as_dir" && as_dir=.
3777 for ac_exec_ext in '' $ac_executable_extensions; do
3778 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3779 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3780 ac_prog_rejected=yes
3781 continue
3783 ac_cv_prog_CC="cc"
3784 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3785 break 2
3787 done
3788 done
3789 IFS=$as_save_IFS
3791 if test $ac_prog_rejected = yes; then
3792 # We found a bogon in the path, so make sure we never use it.
3793 set dummy $ac_cv_prog_CC
3794 shift
3795 if test $# != 0; then
3796 # We chose a different compiler from the bogus one.
3797 # However, it has the same basename, so the bogon will be chosen
3798 # first if we set CC to just the basename; use the full file name.
3799 shift
3800 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3805 CC=$ac_cv_prog_CC
3806 if test -n "$CC"; then
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3808 $as_echo "$CC" >&6; }
3809 else
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3811 $as_echo "no" >&6; }
3816 if test -z "$CC"; then
3817 if test -n "$ac_tool_prefix"; then
3818 for ac_prog in cl.exe
3820 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3821 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3823 $as_echo_n "checking for $ac_word... " >&6; }
3824 if ${ac_cv_prog_CC+:} false; then :
3825 $as_echo_n "(cached) " >&6
3826 else
3827 if test -n "$CC"; then
3828 ac_cv_prog_CC="$CC" # Let the user override the test.
3829 else
3830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3831 for as_dir in $PATH
3833 IFS=$as_save_IFS
3834 test -z "$as_dir" && as_dir=.
3835 for ac_exec_ext in '' $ac_executable_extensions; do
3836 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3837 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3839 break 2
3841 done
3842 done
3843 IFS=$as_save_IFS
3847 CC=$ac_cv_prog_CC
3848 if test -n "$CC"; then
3849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3850 $as_echo "$CC" >&6; }
3851 else
3852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3853 $as_echo "no" >&6; }
3857 test -n "$CC" && break
3858 done
3860 if test -z "$CC"; then
3861 ac_ct_CC=$CC
3862 for ac_prog in cl.exe
3864 # Extract the first word of "$ac_prog", so it can be a program name with args.
3865 set dummy $ac_prog; ac_word=$2
3866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3867 $as_echo_n "checking for $ac_word... " >&6; }
3868 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3869 $as_echo_n "(cached) " >&6
3870 else
3871 if test -n "$ac_ct_CC"; then
3872 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3873 else
3874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3875 for as_dir in $PATH
3877 IFS=$as_save_IFS
3878 test -z "$as_dir" && as_dir=.
3879 for ac_exec_ext in '' $ac_executable_extensions; do
3880 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3881 ac_cv_prog_ac_ct_CC="$ac_prog"
3882 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3883 break 2
3885 done
3886 done
3887 IFS=$as_save_IFS
3891 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3892 if test -n "$ac_ct_CC"; then
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3894 $as_echo "$ac_ct_CC" >&6; }
3895 else
3896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3897 $as_echo "no" >&6; }
3901 test -n "$ac_ct_CC" && break
3902 done
3904 if test "x$ac_ct_CC" = x; then
3905 CC=""
3906 else
3907 case $cross_compiling:$ac_tool_warned in
3908 yes:)
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3910 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3911 ac_tool_warned=yes ;;
3912 esac
3913 CC=$ac_ct_CC
3920 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3921 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3922 as_fn_error $? "no acceptable C compiler found in \$PATH
3923 See \`config.log' for more details" "$LINENO" 5; }
3925 # Provide some information about the compiler.
3926 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3927 set X $ac_compile
3928 ac_compiler=$2
3929 for ac_option in --version -v -V -qversion; do
3930 { { ac_try="$ac_compiler $ac_option >&5"
3931 case "(($ac_try" in
3932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3933 *) ac_try_echo=$ac_try;;
3934 esac
3935 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3936 $as_echo "$ac_try_echo"; } >&5
3937 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3938 ac_status=$?
3939 if test -s conftest.err; then
3940 sed '10a\
3941 ... rest of stderr output deleted ...
3942 10q' conftest.err >conftest.er1
3943 cat conftest.er1 >&5
3945 rm -f conftest.er1 conftest.err
3946 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3947 test $ac_status = 0; }
3948 done
3950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3951 /* end confdefs.h. */
3954 main ()
3958 return 0;
3960 _ACEOF
3961 ac_clean_files_save=$ac_clean_files
3962 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3963 # Try to create an executable without -o first, disregard a.out.
3964 # It will help us diagnose broken compilers, and finding out an intuition
3965 # of exeext.
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3967 $as_echo_n "checking whether the C compiler works... " >&6; }
3968 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3970 # The possible output files:
3971 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3973 ac_rmfiles=
3974 for ac_file in $ac_files
3976 case $ac_file in
3977 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3978 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3979 esac
3980 done
3981 rm -f $ac_rmfiles
3983 if { { ac_try="$ac_link_default"
3984 case "(($ac_try" in
3985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3986 *) ac_try_echo=$ac_try;;
3987 esac
3988 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3989 $as_echo "$ac_try_echo"; } >&5
3990 (eval "$ac_link_default") 2>&5
3991 ac_status=$?
3992 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3993 test $ac_status = 0; }; then :
3994 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3995 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3996 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3997 # so that the user can short-circuit this test for compilers unknown to
3998 # Autoconf.
3999 for ac_file in $ac_files ''
4001 test -f "$ac_file" || continue
4002 case $ac_file in
4003 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4005 [ab].out )
4006 # We found the default executable, but exeext='' is most
4007 # certainly right.
4008 break;;
4009 *.* )
4010 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4011 then :; else
4012 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4014 # We set ac_cv_exeext here because the later test for it is not
4015 # safe: cross compilers may not add the suffix if given an `-o'
4016 # argument, so we may need to know it at that point already.
4017 # Even if this section looks crufty: it has the advantage of
4018 # actually working.
4019 break;;
4021 break;;
4022 esac
4023 done
4024 test "$ac_cv_exeext" = no && ac_cv_exeext=
4026 else
4027 ac_file=''
4029 if test -z "$ac_file"; then :
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4031 $as_echo "no" >&6; }
4032 $as_echo "$as_me: failed program was:" >&5
4033 sed 's/^/| /' conftest.$ac_ext >&5
4035 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4036 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4037 as_fn_error 77 "C compiler cannot create executables
4038 See \`config.log' for more details" "$LINENO" 5; }
4039 else
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4041 $as_echo "yes" >&6; }
4043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4044 $as_echo_n "checking for C compiler default output file name... " >&6; }
4045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4046 $as_echo "$ac_file" >&6; }
4047 ac_exeext=$ac_cv_exeext
4049 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4050 ac_clean_files=$ac_clean_files_save
4051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4052 $as_echo_n "checking for suffix of executables... " >&6; }
4053 if { { ac_try="$ac_link"
4054 case "(($ac_try" in
4055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4056 *) ac_try_echo=$ac_try;;
4057 esac
4058 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4059 $as_echo "$ac_try_echo"; } >&5
4060 (eval "$ac_link") 2>&5
4061 ac_status=$?
4062 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4063 test $ac_status = 0; }; then :
4064 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4065 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4066 # work properly (i.e., refer to `conftest.exe'), while it won't with
4067 # `rm'.
4068 for ac_file in conftest.exe conftest conftest.*; do
4069 test -f "$ac_file" || continue
4070 case $ac_file in
4071 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4072 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4073 break;;
4074 * ) break;;
4075 esac
4076 done
4077 else
4078 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4079 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4080 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4081 See \`config.log' for more details" "$LINENO" 5; }
4083 rm -f conftest conftest$ac_cv_exeext
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4085 $as_echo "$ac_cv_exeext" >&6; }
4087 rm -f conftest.$ac_ext
4088 EXEEXT=$ac_cv_exeext
4089 ac_exeext=$EXEEXT
4090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4091 /* end confdefs.h. */
4092 #include <stdio.h>
4094 main ()
4096 FILE *f = fopen ("conftest.out", "w");
4097 return ferror (f) || fclose (f) != 0;
4100 return 0;
4102 _ACEOF
4103 ac_clean_files="$ac_clean_files conftest.out"
4104 # Check that the compiler produces executables we can run. If not, either
4105 # the compiler is broken, or we cross compile.
4106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4107 $as_echo_n "checking whether we are cross compiling... " >&6; }
4108 if test "$cross_compiling" != yes; then
4109 { { ac_try="$ac_link"
4110 case "(($ac_try" in
4111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4112 *) ac_try_echo=$ac_try;;
4113 esac
4114 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4115 $as_echo "$ac_try_echo"; } >&5
4116 (eval "$ac_link") 2>&5
4117 ac_status=$?
4118 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4119 test $ac_status = 0; }
4120 if { ac_try='./conftest$ac_cv_exeext'
4121 { { case "(($ac_try" in
4122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4123 *) ac_try_echo=$ac_try;;
4124 esac
4125 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4126 $as_echo "$ac_try_echo"; } >&5
4127 (eval "$ac_try") 2>&5
4128 ac_status=$?
4129 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4130 test $ac_status = 0; }; }; then
4131 cross_compiling=no
4132 else
4133 if test "$cross_compiling" = maybe; then
4134 cross_compiling=yes
4135 else
4136 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4137 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4138 as_fn_error $? "cannot run C compiled programs.
4139 If you meant to cross compile, use \`--host'.
4140 See \`config.log' for more details" "$LINENO" 5; }
4144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4145 $as_echo "$cross_compiling" >&6; }
4147 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4148 ac_clean_files=$ac_clean_files_save
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4150 $as_echo_n "checking for suffix of object files... " >&6; }
4151 if ${ac_cv_objext+:} false; then :
4152 $as_echo_n "(cached) " >&6
4153 else
4154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4155 /* end confdefs.h. */
4158 main ()
4162 return 0;
4164 _ACEOF
4165 rm -f conftest.o conftest.obj
4166 if { { ac_try="$ac_compile"
4167 case "(($ac_try" in
4168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4169 *) ac_try_echo=$ac_try;;
4170 esac
4171 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4172 $as_echo "$ac_try_echo"; } >&5
4173 (eval "$ac_compile") 2>&5
4174 ac_status=$?
4175 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4176 test $ac_status = 0; }; then :
4177 for ac_file in conftest.o conftest.obj conftest.*; do
4178 test -f "$ac_file" || continue;
4179 case $ac_file in
4180 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4181 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4182 break;;
4183 esac
4184 done
4185 else
4186 $as_echo "$as_me: failed program was:" >&5
4187 sed 's/^/| /' conftest.$ac_ext >&5
4189 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4190 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4191 as_fn_error $? "cannot compute suffix of object files: cannot compile
4192 See \`config.log' for more details" "$LINENO" 5; }
4194 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4197 $as_echo "$ac_cv_objext" >&6; }
4198 OBJEXT=$ac_cv_objext
4199 ac_objext=$OBJEXT
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4201 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4202 if ${ac_cv_c_compiler_gnu+:} false; then :
4203 $as_echo_n "(cached) " >&6
4204 else
4205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4206 /* end confdefs.h. */
4209 main ()
4211 #ifndef __GNUC__
4212 choke me
4213 #endif
4216 return 0;
4218 _ACEOF
4219 if ac_fn_c_try_compile "$LINENO"; then :
4220 ac_compiler_gnu=yes
4221 else
4222 ac_compiler_gnu=no
4224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4225 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4229 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4230 if test $ac_compiler_gnu = yes; then
4231 GCC=yes
4232 else
4233 GCC=
4235 ac_test_CFLAGS=${CFLAGS+set}
4236 ac_save_CFLAGS=$CFLAGS
4237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4238 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4239 if ${ac_cv_prog_cc_g+:} false; then :
4240 $as_echo_n "(cached) " >&6
4241 else
4242 ac_save_c_werror_flag=$ac_c_werror_flag
4243 ac_c_werror_flag=yes
4244 ac_cv_prog_cc_g=no
4245 CFLAGS="-g"
4246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4247 /* end confdefs.h. */
4250 main ()
4254 return 0;
4256 _ACEOF
4257 if ac_fn_c_try_compile "$LINENO"; then :
4258 ac_cv_prog_cc_g=yes
4259 else
4260 CFLAGS=""
4261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4262 /* end confdefs.h. */
4265 main ()
4269 return 0;
4271 _ACEOF
4272 if ac_fn_c_try_compile "$LINENO"; then :
4274 else
4275 ac_c_werror_flag=$ac_save_c_werror_flag
4276 CFLAGS="-g"
4277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4278 /* end confdefs.h. */
4281 main ()
4285 return 0;
4287 _ACEOF
4288 if ac_fn_c_try_compile "$LINENO"; then :
4289 ac_cv_prog_cc_g=yes
4291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4296 ac_c_werror_flag=$ac_save_c_werror_flag
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4299 $as_echo "$ac_cv_prog_cc_g" >&6; }
4300 if test "$ac_test_CFLAGS" = set; then
4301 CFLAGS=$ac_save_CFLAGS
4302 elif test $ac_cv_prog_cc_g = yes; then
4303 if test "$GCC" = yes; then
4304 CFLAGS="-g -O2"
4305 else
4306 CFLAGS="-g"
4308 else
4309 if test "$GCC" = yes; then
4310 CFLAGS="-O2"
4311 else
4312 CFLAGS=
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4316 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4317 if ${ac_cv_prog_cc_c89+:} false; then :
4318 $as_echo_n "(cached) " >&6
4319 else
4320 ac_cv_prog_cc_c89=no
4321 ac_save_CC=$CC
4322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4323 /* end confdefs.h. */
4324 #include <stdarg.h>
4325 #include <stdio.h>
4326 struct stat;
4327 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4328 struct buf { int x; };
4329 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4330 static char *e (p, i)
4331 char **p;
4332 int i;
4334 return p[i];
4336 static char *f (char * (*g) (char **, int), char **p, ...)
4338 char *s;
4339 va_list v;
4340 va_start (v,p);
4341 s = g (p, va_arg (v,int));
4342 va_end (v);
4343 return s;
4346 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4347 function prototypes and stuff, but not '\xHH' hex character constants.
4348 These don't provoke an error unfortunately, instead are silently treated
4349 as 'x'. The following induces an error, until -std is added to get
4350 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4351 array size at least. It's necessary to write '\x00'==0 to get something
4352 that's true only with -std. */
4353 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4355 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4356 inside strings and character constants. */
4357 #define FOO(x) 'x'
4358 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4360 int test (int i, double x);
4361 struct s1 {int (*f) (int a);};
4362 struct s2 {int (*f) (double a);};
4363 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4364 int argc;
4365 char **argv;
4367 main ()
4369 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4371 return 0;
4373 _ACEOF
4374 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4375 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4377 CC="$ac_save_CC $ac_arg"
4378 if ac_fn_c_try_compile "$LINENO"; then :
4379 ac_cv_prog_cc_c89=$ac_arg
4381 rm -f core conftest.err conftest.$ac_objext
4382 test "x$ac_cv_prog_cc_c89" != "xno" && break
4383 done
4384 rm -f conftest.$ac_ext
4385 CC=$ac_save_CC
4388 # AC_CACHE_VAL
4389 case "x$ac_cv_prog_cc_c89" in
4391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4392 $as_echo "none needed" >&6; } ;;
4393 xno)
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4395 $as_echo "unsupported" >&6; } ;;
4397 CC="$CC $ac_cv_prog_cc_c89"
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4399 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4400 esac
4401 if test "x$ac_cv_prog_cc_c89" != xno; then :
4405 ac_ext=c
4406 ac_cpp='$CPP $CPPFLAGS'
4407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4411 ac_ext=cpp
4412 ac_cpp='$CXXCPP $CPPFLAGS'
4413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4416 if test -z "$CXX"; then
4417 if test -n "$CCC"; then
4418 CXX=$CCC
4419 else
4420 if test -n "$ac_tool_prefix"; then
4421 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4423 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4424 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4426 $as_echo_n "checking for $ac_word... " >&6; }
4427 if ${ac_cv_prog_CXX+:} false; then :
4428 $as_echo_n "(cached) " >&6
4429 else
4430 if test -n "$CXX"; then
4431 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4432 else
4433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4434 for as_dir in $PATH
4436 IFS=$as_save_IFS
4437 test -z "$as_dir" && as_dir=.
4438 for ac_exec_ext in '' $ac_executable_extensions; do
4439 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4440 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4442 break 2
4444 done
4445 done
4446 IFS=$as_save_IFS
4450 CXX=$ac_cv_prog_CXX
4451 if test -n "$CXX"; then
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4453 $as_echo "$CXX" >&6; }
4454 else
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4456 $as_echo "no" >&6; }
4460 test -n "$CXX" && break
4461 done
4463 if test -z "$CXX"; then
4464 ac_ct_CXX=$CXX
4465 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4467 # Extract the first word of "$ac_prog", so it can be a program name with args.
4468 set dummy $ac_prog; ac_word=$2
4469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4470 $as_echo_n "checking for $ac_word... " >&6; }
4471 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4472 $as_echo_n "(cached) " >&6
4473 else
4474 if test -n "$ac_ct_CXX"; then
4475 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4476 else
4477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4478 for as_dir in $PATH
4480 IFS=$as_save_IFS
4481 test -z "$as_dir" && as_dir=.
4482 for ac_exec_ext in '' $ac_executable_extensions; do
4483 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4484 ac_cv_prog_ac_ct_CXX="$ac_prog"
4485 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4486 break 2
4488 done
4489 done
4490 IFS=$as_save_IFS
4494 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4495 if test -n "$ac_ct_CXX"; then
4496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4497 $as_echo "$ac_ct_CXX" >&6; }
4498 else
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4500 $as_echo "no" >&6; }
4504 test -n "$ac_ct_CXX" && break
4505 done
4507 if test "x$ac_ct_CXX" = x; then
4508 CXX="g++"
4509 else
4510 case $cross_compiling:$ac_tool_warned in
4511 yes:)
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4513 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4514 ac_tool_warned=yes ;;
4515 esac
4516 CXX=$ac_ct_CXX
4522 # Provide some information about the compiler.
4523 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4524 set X $ac_compile
4525 ac_compiler=$2
4526 for ac_option in --version -v -V -qversion; do
4527 { { ac_try="$ac_compiler $ac_option >&5"
4528 case "(($ac_try" in
4529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4530 *) ac_try_echo=$ac_try;;
4531 esac
4532 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4533 $as_echo "$ac_try_echo"; } >&5
4534 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4535 ac_status=$?
4536 if test -s conftest.err; then
4537 sed '10a\
4538 ... rest of stderr output deleted ...
4539 10q' conftest.err >conftest.er1
4540 cat conftest.er1 >&5
4542 rm -f conftest.er1 conftest.err
4543 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4544 test $ac_status = 0; }
4545 done
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4548 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4549 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4550 $as_echo_n "(cached) " >&6
4551 else
4552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4553 /* end confdefs.h. */
4556 main ()
4558 #ifndef __GNUC__
4559 choke me
4560 #endif
4563 return 0;
4565 _ACEOF
4566 if ac_fn_cxx_try_compile "$LINENO"; then :
4567 ac_compiler_gnu=yes
4568 else
4569 ac_compiler_gnu=no
4571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4572 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4576 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4577 if test $ac_compiler_gnu = yes; then
4578 GXX=yes
4579 else
4580 GXX=
4582 ac_test_CXXFLAGS=${CXXFLAGS+set}
4583 ac_save_CXXFLAGS=$CXXFLAGS
4584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4585 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4586 if ${ac_cv_prog_cxx_g+:} false; then :
4587 $as_echo_n "(cached) " >&6
4588 else
4589 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4590 ac_cxx_werror_flag=yes
4591 ac_cv_prog_cxx_g=no
4592 CXXFLAGS="-g"
4593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4594 /* end confdefs.h. */
4597 main ()
4601 return 0;
4603 _ACEOF
4604 if ac_fn_cxx_try_compile "$LINENO"; then :
4605 ac_cv_prog_cxx_g=yes
4606 else
4607 CXXFLAGS=""
4608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4609 /* end confdefs.h. */
4612 main ()
4616 return 0;
4618 _ACEOF
4619 if ac_fn_cxx_try_compile "$LINENO"; then :
4621 else
4622 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4623 CXXFLAGS="-g"
4624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4625 /* end confdefs.h. */
4628 main ()
4632 return 0;
4634 _ACEOF
4635 if ac_fn_cxx_try_compile "$LINENO"; then :
4636 ac_cv_prog_cxx_g=yes
4638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4643 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4646 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4647 if test "$ac_test_CXXFLAGS" = set; then
4648 CXXFLAGS=$ac_save_CXXFLAGS
4649 elif test $ac_cv_prog_cxx_g = yes; then
4650 if test "$GXX" = yes; then
4651 CXXFLAGS="-g -O2"
4652 else
4653 CXXFLAGS="-g"
4655 else
4656 if test "$GXX" = yes; then
4657 CXXFLAGS="-O2"
4658 else
4659 CXXFLAGS=
4662 ac_ext=c
4663 ac_cpp='$CPP $CPPFLAGS'
4664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4668 if test -n "$ac_tool_prefix"; then
4669 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4670 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4672 $as_echo_n "checking for $ac_word... " >&6; }
4673 if ${ac_cv_prog_CPPBIN+:} false; then :
4674 $as_echo_n "(cached) " >&6
4675 else
4676 if test -n "$CPPBIN"; then
4677 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4678 else
4679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4680 for as_dir in $PATH
4682 IFS=$as_save_IFS
4683 test -z "$as_dir" && as_dir=.
4684 for ac_exec_ext in '' $ac_executable_extensions; do
4685 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4686 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4688 break 2
4690 done
4691 done
4692 IFS=$as_save_IFS
4696 CPPBIN=$ac_cv_prog_CPPBIN
4697 if test -n "$CPPBIN"; then
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4699 $as_echo "$CPPBIN" >&6; }
4700 else
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4702 $as_echo "no" >&6; }
4707 if test -z "$ac_cv_prog_CPPBIN"; then
4708 ac_ct_CPPBIN=$CPPBIN
4709 # Extract the first word of "cpp", so it can be a program name with args.
4710 set dummy cpp; ac_word=$2
4711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4712 $as_echo_n "checking for $ac_word... " >&6; }
4713 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4714 $as_echo_n "(cached) " >&6
4715 else
4716 if test -n "$ac_ct_CPPBIN"; then
4717 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4718 else
4719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4720 for as_dir in $PATH
4722 IFS=$as_save_IFS
4723 test -z "$as_dir" && as_dir=.
4724 for ac_exec_ext in '' $ac_executable_extensions; do
4725 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4726 ac_cv_prog_ac_ct_CPPBIN="cpp"
4727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4728 break 2
4730 done
4731 done
4732 IFS=$as_save_IFS
4736 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4737 if test -n "$ac_ct_CPPBIN"; then
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4739 $as_echo "$ac_ct_CPPBIN" >&6; }
4740 else
4741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4742 $as_echo "no" >&6; }
4745 if test "x$ac_ct_CPPBIN" = x; then
4746 CPPBIN="cpp"
4747 else
4748 case $cross_compiling:$ac_tool_warned in
4749 yes:)
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4751 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4752 ac_tool_warned=yes ;;
4753 esac
4754 CPPBIN=$ac_ct_CPPBIN
4756 else
4757 CPPBIN="$ac_cv_prog_CPPBIN"
4761 cat >>confdefs.h <<_ACEOF
4762 #define EXEEXT "$ac_exeext"
4763 _ACEOF
4765 if test -n "$ac_tool_prefix"; then
4766 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4767 set dummy ${ac_tool_prefix}ld; ac_word=$2
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4769 $as_echo_n "checking for $ac_word... " >&6; }
4770 if ${ac_cv_prog_LD+:} false; then :
4771 $as_echo_n "(cached) " >&6
4772 else
4773 if test -n "$LD"; then
4774 ac_cv_prog_LD="$LD" # Let the user override the test.
4775 else
4776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4777 for as_dir in $PATH
4779 IFS=$as_save_IFS
4780 test -z "$as_dir" && as_dir=.
4781 for ac_exec_ext in '' $ac_executable_extensions; do
4782 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4783 ac_cv_prog_LD="${ac_tool_prefix}ld"
4784 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4785 break 2
4787 done
4788 done
4789 IFS=$as_save_IFS
4793 LD=$ac_cv_prog_LD
4794 if test -n "$LD"; then
4795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4796 $as_echo "$LD" >&6; }
4797 else
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4799 $as_echo "no" >&6; }
4804 if test -z "$ac_cv_prog_LD"; then
4805 ac_ct_LD=$LD
4806 # Extract the first word of "ld", so it can be a program name with args.
4807 set dummy ld; ac_word=$2
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4809 $as_echo_n "checking for $ac_word... " >&6; }
4810 if ${ac_cv_prog_ac_ct_LD+:} false; then :
4811 $as_echo_n "(cached) " >&6
4812 else
4813 if test -n "$ac_ct_LD"; then
4814 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4815 else
4816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4817 for as_dir in $PATH
4819 IFS=$as_save_IFS
4820 test -z "$as_dir" && as_dir=.
4821 for ac_exec_ext in '' $ac_executable_extensions; do
4822 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4823 ac_cv_prog_ac_ct_LD="ld"
4824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4825 break 2
4827 done
4828 done
4829 IFS=$as_save_IFS
4833 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4834 if test -n "$ac_ct_LD"; then
4835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4836 $as_echo "$ac_ct_LD" >&6; }
4837 else
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4839 $as_echo "no" >&6; }
4842 if test "x$ac_ct_LD" = x; then
4843 LD=""
4844 else
4845 case $cross_compiling:$ac_tool_warned in
4846 yes:)
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4848 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4849 ac_tool_warned=yes ;;
4850 esac
4851 LD=$ac_ct_LD
4853 else
4854 LD="$ac_cv_prog_LD"
4858 case $host in
4859 *-darwin*)
4860 if test "x$enable_win64" = "xyes"
4861 then
4862 CC="$CC -m64"
4863 CXX="$CXX -m64"
4864 host_cpu="x86_64"
4865 notice_platform="64-bit "
4866 TARGETFLAGS="-m64"
4868 else
4869 CC="$CC -m32"
4870 CXX="$CXX -m32"
4871 host_cpu="i386"
4872 notice_platform="32-bit "
4873 TARGETFLAGS="-m32"
4875 enable_win16=${enable_win16:-yes}
4877 with_fontconfig=${with_fontconfig:-no}
4879 x86_64*|amd64*)
4880 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4881 then
4882 CC="$CC -m32"
4883 CXX="$CXX -m32"
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4885 $as_echo_n "checking whether $CC works... " >&6; }
4887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4888 /* end confdefs.h. */
4891 main ()
4895 return 0;
4897 _ACEOF
4898 if ac_fn_c_try_link "$LINENO"; then :
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4900 $as_echo "yes" >&6; }
4901 else
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4903 $as_echo "no" >&6; }
4904 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4906 rm -f core conftest.err conftest.$ac_objext \
4907 conftest$ac_exeext conftest.$ac_ext
4908 host_cpu="i386"
4909 notice_platform="32-bit "
4910 TARGETFLAGS="-m32"
4912 enable_win16=${enable_win16:-yes}
4913 else
4914 if test "x${GCC}" = "xyes"
4915 then
4916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4917 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4919 /* end confdefs.h. */
4920 #include <stdarg.h>
4922 main ()
4924 void func(__builtin_ms_va_list *args);
4926 return 0;
4928 _ACEOF
4929 if ac_fn_c_try_compile "$LINENO"; then :
4930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4931 $as_echo "yes" >&6; }
4932 else
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4934 $as_echo "no" >&6; }
4935 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4939 host_cpu="x86_64"
4940 TARGETFLAGS="-m64"
4944 arm*)
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4946 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4948 /* end confdefs.h. */
4949 int ac_test(int i) { return i; }
4951 main ()
4953 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4955 return 0;
4957 _ACEOF
4958 if ac_fn_c_try_link "$LINENO"; then :
4959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4960 $as_echo "yes" >&6; }
4961 else
4962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4963 $as_echo "no" >&6; }
4964 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4966 rm -f core conftest.err conftest.$ac_objext \
4967 conftest$ac_exeext conftest.$ac_ext
4968 CFLAGS="$CFLAGS -marm"
4969 TARGETFLAGS="-marm"
4972 *-mingw32*|*-cygwin*)
4973 enable_win16=${enable_win16:-no}
4974 CFLAGS="$CFLAGS -D_WIN32"
4976 i[3456789]86*)
4977 enable_win16=${enable_win16:-yes}
4979 esac
4981 enable_win16=${enable_win16:-no}
4982 enable_win64=${enable_win64:-no}
4984 enable_winetest=${enable_winetest:-$enable_tests}
4986 if test -n "$with_wine64"
4987 then
4988 if test "x$enable_win64" = "xyes"
4989 then
4990 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4991 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4993 enable_fonts=${enable_fonts:-no}
4994 enable_server=${enable_server:-no}
4995 elif test "x$enable_win64" = "xyes"
4996 then
4997 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5001 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5002 if ${wine_cv_toolsdir+:} false; then :
5003 $as_echo_n "(cached) " >&6
5004 else
5005 wine_cv_toolsdir="$with_wine_tools"
5006 if test -z "$with_wine_tools"; then
5007 if test "$cross_compiling" = "yes"; then
5008 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5009 elif test -n "$with_wine64"; then
5010 wine_cv_toolsdir="$with_wine64"
5013 if test -z "$wine_cv_toolsdir"; then
5014 wine_makedep=tools/makedep
5015 wine_cv_toolsdir="\$(top_builddir)"
5016 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5017 wine_makedep=$wine_cv_toolsdir/tools/makedep
5018 case "$wine_cv_toolsdir" in
5019 /*) ;;
5020 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5021 esac
5022 enable_tools=${enable_tools:-no}
5023 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5024 else
5025 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5029 $as_echo "$wine_cv_toolsdir" >&6; }
5030 TOOLSDIR=$wine_cv_toolsdir
5032 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5033 then
5034 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5038 for ac_prog in flex
5040 # Extract the first word of "$ac_prog", so it can be a program name with args.
5041 set dummy $ac_prog; ac_word=$2
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5043 $as_echo_n "checking for $ac_word... " >&6; }
5044 if ${ac_cv_prog_FLEX+:} false; then :
5045 $as_echo_n "(cached) " >&6
5046 else
5047 if test -n "$FLEX"; then
5048 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5049 else
5050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5051 for as_dir in $PATH
5053 IFS=$as_save_IFS
5054 test -z "$as_dir" && as_dir=.
5055 for ac_exec_ext in '' $ac_executable_extensions; do
5056 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5057 ac_cv_prog_FLEX="$ac_prog"
5058 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5059 break 2
5061 done
5062 done
5063 IFS=$as_save_IFS
5067 FLEX=$ac_cv_prog_FLEX
5068 if test -n "$FLEX"; then
5069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5070 $as_echo "$FLEX" >&6; }
5071 else
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5073 $as_echo "no" >&6; }
5077 test -n "$FLEX" && break
5078 done
5079 test -n "$FLEX" || FLEX="none"
5081 if test "$FLEX" = "none"
5082 then
5083 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5086 $as_echo_n "checking whether flex is recent enough... " >&6; }
5087 cat >conftest.l <<EOF
5088 %top{
5089 #include "prediluvian.h"
5093 if $FLEX -t conftest.l >/dev/null 2>&5
5094 then
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5096 $as_echo "yes" >&6; }
5097 else
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5099 $as_echo "no" >&6; }
5100 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5103 for ac_prog in bison
5105 # Extract the first word of "$ac_prog", so it can be a program name with args.
5106 set dummy $ac_prog; ac_word=$2
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5108 $as_echo_n "checking for $ac_word... " >&6; }
5109 if ${ac_cv_prog_BISON+:} false; then :
5110 $as_echo_n "(cached) " >&6
5111 else
5112 if test -n "$BISON"; then
5113 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5114 else
5115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5116 for as_dir in $PATH
5118 IFS=$as_save_IFS
5119 test -z "$as_dir" && as_dir=.
5120 for ac_exec_ext in '' $ac_executable_extensions; do
5121 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5122 ac_cv_prog_BISON="$ac_prog"
5123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5124 break 2
5126 done
5127 done
5128 IFS=$as_save_IFS
5132 BISON=$ac_cv_prog_BISON
5133 if test -n "$BISON"; then
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5135 $as_echo "$BISON" >&6; }
5136 else
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5138 $as_echo "no" >&6; }
5142 test -n "$BISON" && break
5143 done
5144 test -n "$BISON" || BISON="none"
5146 if test "$BISON" = "none"
5147 then
5148 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5151 if test -n "$ac_tool_prefix"; then
5152 for ac_prog in ar gar
5154 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5155 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5157 $as_echo_n "checking for $ac_word... " >&6; }
5158 if ${ac_cv_prog_AR+:} false; then :
5159 $as_echo_n "(cached) " >&6
5160 else
5161 if test -n "$AR"; then
5162 ac_cv_prog_AR="$AR" # Let the user override the test.
5163 else
5164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5165 for as_dir in $PATH
5167 IFS=$as_save_IFS
5168 test -z "$as_dir" && as_dir=.
5169 for ac_exec_ext in '' $ac_executable_extensions; do
5170 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5171 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5173 break 2
5175 done
5176 done
5177 IFS=$as_save_IFS
5181 AR=$ac_cv_prog_AR
5182 if test -n "$AR"; then
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5184 $as_echo "$AR" >&6; }
5185 else
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5187 $as_echo "no" >&6; }
5191 test -n "$AR" && break
5192 done
5194 if test -z "$AR"; then
5195 ac_ct_AR=$AR
5196 for ac_prog in ar gar
5198 # Extract the first word of "$ac_prog", so it can be a program name with args.
5199 set dummy $ac_prog; ac_word=$2
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5201 $as_echo_n "checking for $ac_word... " >&6; }
5202 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5203 $as_echo_n "(cached) " >&6
5204 else
5205 if test -n "$ac_ct_AR"; then
5206 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5207 else
5208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5209 for as_dir in $PATH
5211 IFS=$as_save_IFS
5212 test -z "$as_dir" && as_dir=.
5213 for ac_exec_ext in '' $ac_executable_extensions; do
5214 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5215 ac_cv_prog_ac_ct_AR="$ac_prog"
5216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5217 break 2
5219 done
5220 done
5221 IFS=$as_save_IFS
5225 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5226 if test -n "$ac_ct_AR"; then
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5228 $as_echo "$ac_ct_AR" >&6; }
5229 else
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5231 $as_echo "no" >&6; }
5235 test -n "$ac_ct_AR" && break
5236 done
5238 if test "x$ac_ct_AR" = x; then
5239 AR="ar"
5240 else
5241 case $cross_compiling:$ac_tool_warned in
5242 yes:)
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5244 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5245 ac_tool_warned=yes ;;
5246 esac
5247 AR=$ac_ct_AR
5251 if test -n "$ac_tool_prefix"; then
5252 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5253 set dummy ${ac_tool_prefix}strip; ac_word=$2
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5255 $as_echo_n "checking for $ac_word... " >&6; }
5256 if ${ac_cv_prog_STRIP+:} false; then :
5257 $as_echo_n "(cached) " >&6
5258 else
5259 if test -n "$STRIP"; then
5260 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5261 else
5262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5263 for as_dir in $PATH
5265 IFS=$as_save_IFS
5266 test -z "$as_dir" && as_dir=.
5267 for ac_exec_ext in '' $ac_executable_extensions; do
5268 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5269 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5270 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5271 break 2
5273 done
5274 done
5275 IFS=$as_save_IFS
5279 STRIP=$ac_cv_prog_STRIP
5280 if test -n "$STRIP"; then
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5282 $as_echo "$STRIP" >&6; }
5283 else
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5285 $as_echo "no" >&6; }
5290 if test -z "$ac_cv_prog_STRIP"; then
5291 ac_ct_STRIP=$STRIP
5292 # Extract the first word of "strip", so it can be a program name with args.
5293 set dummy strip; ac_word=$2
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5295 $as_echo_n "checking for $ac_word... " >&6; }
5296 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5297 $as_echo_n "(cached) " >&6
5298 else
5299 if test -n "$ac_ct_STRIP"; then
5300 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5301 else
5302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5303 for as_dir in $PATH
5305 IFS=$as_save_IFS
5306 test -z "$as_dir" && as_dir=.
5307 for ac_exec_ext in '' $ac_executable_extensions; do
5308 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5309 ac_cv_prog_ac_ct_STRIP="strip"
5310 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5311 break 2
5313 done
5314 done
5315 IFS=$as_save_IFS
5319 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5320 if test -n "$ac_ct_STRIP"; then
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5322 $as_echo "$ac_ct_STRIP" >&6; }
5323 else
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5325 $as_echo "no" >&6; }
5328 if test "x$ac_ct_STRIP" = x; then
5329 STRIP="strip"
5330 else
5331 case $cross_compiling:$ac_tool_warned in
5332 yes:)
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5334 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5335 ac_tool_warned=yes ;;
5336 esac
5337 STRIP=$ac_ct_STRIP
5339 else
5340 STRIP="$ac_cv_prog_STRIP"
5343 ARFLAGS=rc
5345 if test -n "$ac_tool_prefix"; then
5346 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5347 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5349 $as_echo_n "checking for $ac_word... " >&6; }
5350 if ${ac_cv_prog_RANLIB+:} false; then :
5351 $as_echo_n "(cached) " >&6
5352 else
5353 if test -n "$RANLIB"; then
5354 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5355 else
5356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5357 for as_dir in $PATH
5359 IFS=$as_save_IFS
5360 test -z "$as_dir" && as_dir=.
5361 for ac_exec_ext in '' $ac_executable_extensions; do
5362 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5363 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5364 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5365 break 2
5367 done
5368 done
5369 IFS=$as_save_IFS
5373 RANLIB=$ac_cv_prog_RANLIB
5374 if test -n "$RANLIB"; then
5375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5376 $as_echo "$RANLIB" >&6; }
5377 else
5378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5379 $as_echo "no" >&6; }
5384 if test -z "$ac_cv_prog_RANLIB"; then
5385 ac_ct_RANLIB=$RANLIB
5386 # Extract the first word of "ranlib", so it can be a program name with args.
5387 set dummy ranlib; ac_word=$2
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5389 $as_echo_n "checking for $ac_word... " >&6; }
5390 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5391 $as_echo_n "(cached) " >&6
5392 else
5393 if test -n "$ac_ct_RANLIB"; then
5394 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5395 else
5396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5397 for as_dir in $PATH
5399 IFS=$as_save_IFS
5400 test -z "$as_dir" && as_dir=.
5401 for ac_exec_ext in '' $ac_executable_extensions; do
5402 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5403 ac_cv_prog_ac_ct_RANLIB="ranlib"
5404 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5405 break 2
5407 done
5408 done
5409 IFS=$as_save_IFS
5413 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5414 if test -n "$ac_ct_RANLIB"; then
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5416 $as_echo "$ac_ct_RANLIB" >&6; }
5417 else
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5419 $as_echo "no" >&6; }
5422 if test "x$ac_ct_RANLIB" = x; then
5423 RANLIB=":"
5424 else
5425 case $cross_compiling:$ac_tool_warned in
5426 yes:)
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5428 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5429 ac_tool_warned=yes ;;
5430 esac
5431 RANLIB=$ac_ct_RANLIB
5433 else
5434 RANLIB="$ac_cv_prog_RANLIB"
5437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5438 $as_echo_n "checking whether ln -s works... " >&6; }
5439 LN_S=$as_ln_s
5440 if test "$LN_S" = "ln -s"; then
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5442 $as_echo "yes" >&6; }
5443 else
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5445 $as_echo "no, using $LN_S" >&6; }
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5449 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5450 if ${ac_cv_path_GREP+:} false; then :
5451 $as_echo_n "(cached) " >&6
5452 else
5453 if test -z "$GREP"; then
5454 ac_path_GREP_found=false
5455 # Loop through the user's path and test for each of PROGNAME-LIST
5456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5457 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5459 IFS=$as_save_IFS
5460 test -z "$as_dir" && as_dir=.
5461 for ac_prog in grep ggrep; do
5462 for ac_exec_ext in '' $ac_executable_extensions; do
5463 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5464 as_fn_executable_p "$ac_path_GREP" || continue
5465 # Check for GNU ac_path_GREP and select it if it is found.
5466 # Check for GNU $ac_path_GREP
5467 case `"$ac_path_GREP" --version 2>&1` in
5468 *GNU*)
5469 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5471 ac_count=0
5472 $as_echo_n 0123456789 >"conftest.in"
5473 while :
5475 cat "conftest.in" "conftest.in" >"conftest.tmp"
5476 mv "conftest.tmp" "conftest.in"
5477 cp "conftest.in" "conftest.nl"
5478 $as_echo 'GREP' >> "conftest.nl"
5479 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5480 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5481 as_fn_arith $ac_count + 1 && ac_count=$as_val
5482 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5483 # Best one so far, save it but keep looking for a better one
5484 ac_cv_path_GREP="$ac_path_GREP"
5485 ac_path_GREP_max=$ac_count
5487 # 10*(2^10) chars as input seems more than enough
5488 test $ac_count -gt 10 && break
5489 done
5490 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5491 esac
5493 $ac_path_GREP_found && break 3
5494 done
5495 done
5496 done
5497 IFS=$as_save_IFS
5498 if test -z "$ac_cv_path_GREP"; then
5499 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5501 else
5502 ac_cv_path_GREP=$GREP
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5507 $as_echo "$ac_cv_path_GREP" >&6; }
5508 GREP="$ac_cv_path_GREP"
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5512 $as_echo_n "checking for egrep... " >&6; }
5513 if ${ac_cv_path_EGREP+:} false; then :
5514 $as_echo_n "(cached) " >&6
5515 else
5516 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5517 then ac_cv_path_EGREP="$GREP -E"
5518 else
5519 if test -z "$EGREP"; then
5520 ac_path_EGREP_found=false
5521 # Loop through the user's path and test for each of PROGNAME-LIST
5522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5523 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5525 IFS=$as_save_IFS
5526 test -z "$as_dir" && as_dir=.
5527 for ac_prog in egrep; do
5528 for ac_exec_ext in '' $ac_executable_extensions; do
5529 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5530 as_fn_executable_p "$ac_path_EGREP" || continue
5531 # Check for GNU ac_path_EGREP and select it if it is found.
5532 # Check for GNU $ac_path_EGREP
5533 case `"$ac_path_EGREP" --version 2>&1` in
5534 *GNU*)
5535 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5537 ac_count=0
5538 $as_echo_n 0123456789 >"conftest.in"
5539 while :
5541 cat "conftest.in" "conftest.in" >"conftest.tmp"
5542 mv "conftest.tmp" "conftest.in"
5543 cp "conftest.in" "conftest.nl"
5544 $as_echo 'EGREP' >> "conftest.nl"
5545 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5546 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5547 as_fn_arith $ac_count + 1 && ac_count=$as_val
5548 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5549 # Best one so far, save it but keep looking for a better one
5550 ac_cv_path_EGREP="$ac_path_EGREP"
5551 ac_path_EGREP_max=$ac_count
5553 # 10*(2^10) chars as input seems more than enough
5554 test $ac_count -gt 10 && break
5555 done
5556 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5557 esac
5559 $ac_path_EGREP_found && break 3
5560 done
5561 done
5562 done
5563 IFS=$as_save_IFS
5564 if test -z "$ac_cv_path_EGREP"; then
5565 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5567 else
5568 ac_cv_path_EGREP=$EGREP
5573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5574 $as_echo "$ac_cv_path_EGREP" >&6; }
5575 EGREP="$ac_cv_path_EGREP"
5578 # Extract the first word of "ldconfig", so it can be a program name with args.
5579 set dummy ldconfig; ac_word=$2
5580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5581 $as_echo_n "checking for $ac_word... " >&6; }
5582 if ${ac_cv_path_LDCONFIG+:} false; then :
5583 $as_echo_n "(cached) " >&6
5584 else
5585 case $LDCONFIG in
5586 [\\/]* | ?:[\\/]*)
5587 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5591 for as_dir in /sbin /usr/sbin $PATH
5593 IFS=$as_save_IFS
5594 test -z "$as_dir" && as_dir=.
5595 for ac_exec_ext in '' $ac_executable_extensions; do
5596 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5597 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5599 break 2
5601 done
5602 done
5603 IFS=$as_save_IFS
5605 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5607 esac
5609 LDCONFIG=$ac_cv_path_LDCONFIG
5610 if test -n "$LDCONFIG"; then
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5612 $as_echo "$LDCONFIG" >&6; }
5613 else
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5615 $as_echo "no" >&6; }
5619 for ac_prog in msgfmt
5621 # Extract the first word of "$ac_prog", so it can be a program name with args.
5622 set dummy $ac_prog; ac_word=$2
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5624 $as_echo_n "checking for $ac_word... " >&6; }
5625 if ${ac_cv_prog_MSGFMT+:} false; then :
5626 $as_echo_n "(cached) " >&6
5627 else
5628 if test -n "$MSGFMT"; then
5629 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5630 else
5631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5632 for as_dir in $PATH
5634 IFS=$as_save_IFS
5635 test -z "$as_dir" && as_dir=.
5636 for ac_exec_ext in '' $ac_executable_extensions; do
5637 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5638 ac_cv_prog_MSGFMT="$ac_prog"
5639 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5640 break 2
5642 done
5643 done
5644 IFS=$as_save_IFS
5648 MSGFMT=$ac_cv_prog_MSGFMT
5649 if test -n "$MSGFMT"; then
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5651 $as_echo "$MSGFMT" >&6; }
5652 else
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5654 $as_echo "no" >&6; }
5658 test -n "$MSGFMT" && break
5659 done
5660 test -n "$MSGFMT" || MSGFMT="false"
5662 if ${ac_tool_prefix+:} false; then :
5663 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5664 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5666 $as_echo_n "checking for $ac_word... " >&6; }
5667 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5668 $as_echo_n "(cached) " >&6
5669 else
5670 if test -n "$PKG_CONFIG"; then
5671 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5672 else
5673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5674 for as_dir in $PATH
5676 IFS=$as_save_IFS
5677 test -z "$as_dir" && as_dir=.
5678 for ac_exec_ext in '' $ac_executable_extensions; do
5679 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5680 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5682 break 2
5684 done
5685 done
5686 IFS=$as_save_IFS
5690 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5691 if test -n "$PKG_CONFIG"; then
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5693 $as_echo "$PKG_CONFIG" >&6; }
5694 else
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5696 $as_echo "no" >&6; }
5701 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5702 if test "x$cross_compiling" = xyes; then :
5704 else
5705 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5706 # Extract the first word of "pkg-config", so it can be a program name with args.
5707 set dummy pkg-config; ac_word=$2
5708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5709 $as_echo_n "checking for $ac_word... " >&6; }
5710 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5711 $as_echo_n "(cached) " >&6
5712 else
5713 if test -n "$PKG_CONFIG"; then
5714 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5715 else
5716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5717 for as_dir in $PATH
5719 IFS=$as_save_IFS
5720 test -z "$as_dir" && as_dir=.
5721 for ac_exec_ext in '' $ac_executable_extensions; do
5722 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5723 ac_cv_prog_PKG_CONFIG="pkg-config"
5724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5725 break 2
5727 done
5728 done
5729 IFS=$as_save_IFS
5733 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5734 if test -n "$PKG_CONFIG"; then
5735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5736 $as_echo "$PKG_CONFIG" >&6; }
5737 else
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5739 $as_echo "no" >&6; }
5744 else
5745 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5748 if test "x$enable_maintainer_mode" != "xyes"
5749 then
5750 FONTFORGE=""
5751 RSVG=""
5752 CONVERT=""
5753 ICOTOOL=""
5754 else
5755 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5756 for ac_prog in fontforge
5758 # Extract the first word of "$ac_prog", so it can be a program name with args.
5759 set dummy $ac_prog; ac_word=$2
5760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5761 $as_echo_n "checking for $ac_word... " >&6; }
5762 if ${ac_cv_prog_FONTFORGE+:} false; then :
5763 $as_echo_n "(cached) " >&6
5764 else
5765 if test -n "$FONTFORGE"; then
5766 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5767 else
5768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5769 for as_dir in $PATH
5771 IFS=$as_save_IFS
5772 test -z "$as_dir" && as_dir=.
5773 for ac_exec_ext in '' $ac_executable_extensions; do
5774 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5775 ac_cv_prog_FONTFORGE="$ac_prog"
5776 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5777 break 2
5779 done
5780 done
5781 IFS=$as_save_IFS
5785 FONTFORGE=$ac_cv_prog_FONTFORGE
5786 if test -n "$FONTFORGE"; then
5787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5788 $as_echo "$FONTFORGE" >&6; }
5789 else
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5791 $as_echo "no" >&6; }
5795 test -n "$FONTFORGE" && break
5796 done
5797 test -n "$FONTFORGE" || FONTFORGE="false"
5799 for ac_prog in rsvg-convert rsvg
5801 # Extract the first word of "$ac_prog", so it can be a program name with args.
5802 set dummy $ac_prog; ac_word=$2
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5804 $as_echo_n "checking for $ac_word... " >&6; }
5805 if ${ac_cv_prog_RSVG+:} false; then :
5806 $as_echo_n "(cached) " >&6
5807 else
5808 if test -n "$RSVG"; then
5809 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5810 else
5811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5812 for as_dir in $PATH
5814 IFS=$as_save_IFS
5815 test -z "$as_dir" && as_dir=.
5816 for ac_exec_ext in '' $ac_executable_extensions; do
5817 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5818 ac_cv_prog_RSVG="$ac_prog"
5819 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5820 break 2
5822 done
5823 done
5824 IFS=$as_save_IFS
5828 RSVG=$ac_cv_prog_RSVG
5829 if test -n "$RSVG"; then
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5831 $as_echo "$RSVG" >&6; }
5832 else
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5834 $as_echo "no" >&6; }
5838 test -n "$RSVG" && break
5839 done
5840 test -n "$RSVG" || RSVG="false"
5842 for ac_prog in convert
5844 # Extract the first word of "$ac_prog", so it can be a program name with args.
5845 set dummy $ac_prog; ac_word=$2
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5847 $as_echo_n "checking for $ac_word... " >&6; }
5848 if ${ac_cv_prog_CONVERT+:} false; then :
5849 $as_echo_n "(cached) " >&6
5850 else
5851 if test -n "$CONVERT"; then
5852 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5853 else
5854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5855 for as_dir in $PATH
5857 IFS=$as_save_IFS
5858 test -z "$as_dir" && as_dir=.
5859 for ac_exec_ext in '' $ac_executable_extensions; do
5860 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5861 ac_cv_prog_CONVERT="$ac_prog"
5862 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5863 break 2
5865 done
5866 done
5867 IFS=$as_save_IFS
5871 CONVERT=$ac_cv_prog_CONVERT
5872 if test -n "$CONVERT"; then
5873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5874 $as_echo "$CONVERT" >&6; }
5875 else
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5877 $as_echo "no" >&6; }
5881 test -n "$CONVERT" && break
5882 done
5883 test -n "$CONVERT" || CONVERT="false"
5885 for ac_prog in icotool
5887 # Extract the first word of "$ac_prog", so it can be a program name with args.
5888 set dummy $ac_prog; ac_word=$2
5889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5890 $as_echo_n "checking for $ac_word... " >&6; }
5891 if ${ac_cv_prog_ICOTOOL+:} false; then :
5892 $as_echo_n "(cached) " >&6
5893 else
5894 if test -n "$ICOTOOL"; then
5895 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5896 else
5897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5898 for as_dir in $PATH
5900 IFS=$as_save_IFS
5901 test -z "$as_dir" && as_dir=.
5902 for ac_exec_ext in '' $ac_executable_extensions; do
5903 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5904 ac_cv_prog_ICOTOOL="$ac_prog"
5905 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5906 break 2
5908 done
5909 done
5910 IFS=$as_save_IFS
5914 ICOTOOL=$ac_cv_prog_ICOTOOL
5915 if test -n "$ICOTOOL"; then
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5917 $as_echo "$ICOTOOL" >&6; }
5918 else
5919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5920 $as_echo "no" >&6; }
5924 test -n "$ICOTOOL" && break
5925 done
5926 test -n "$ICOTOOL" || ICOTOOL="false"
5928 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5929 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5931 if test "$CONVERT" = false
5932 then
5933 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5934 else
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5936 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5937 convert_version=`convert --version | head -n1`
5938 if test "x$convert_version" != "x"
5939 then
5940 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5941 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5942 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5943 then
5944 CONVERT=false
5947 if test "$CONVERT" = false
5948 then
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5950 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5951 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5952 else
5953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5954 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5958 if test "$ICOTOOL" = false
5959 then
5960 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5961 else
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5963 $as_echo_n "checking for recent enough icotool... " >&6; }
5964 icotool_version=`icotool --version | head -n1`
5965 if test "x$icotool_version" != "x"
5966 then
5967 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5968 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5969 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5970 then
5971 ICOTOOL=false
5972 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5975 if test "$ICOTOOL" = false
5976 then
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5978 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5979 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5980 else
5981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5982 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5986 with_gettext=yes
5987 with_gettextpo=yes
5988 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5991 test "x$with_gettext" != xno || MSGFMT=false
5992 if test "$MSGFMT" != "false"
5993 then
5994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5995 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5996 cat >conftest.po <<EOF
5997 # comment
5998 msgctxt "ctxt"
5999 msgid "id"
6000 msgstr "str"
6002 if $MSGFMT -o /dev/null conftest.po 2>&5
6003 then
6004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6005 $as_echo "yes" >&6; }
6006 else
6007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6008 $as_echo "no" >&6; }
6009 MSGFMT=false
6012 if test "$MSGFMT" = false; then :
6013 case "x$with_gettext" in
6014 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6015 xno) ;;
6016 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6017 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6018 esac
6022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6023 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6024 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6025 $as_echo_n "(cached) " >&6
6026 else
6027 ac_check_lib_save_LIBS=$LIBS
6028 LIBS="-li386 $LIBS"
6029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6030 /* end confdefs.h. */
6032 /* Override any GCC internal prototype to avoid an error.
6033 Use char because int might match the return type of a GCC
6034 builtin and then its argument prototype would still apply. */
6035 #ifdef __cplusplus
6036 extern "C"
6037 #endif
6038 char i386_set_ldt ();
6040 main ()
6042 return i386_set_ldt ();
6044 return 0;
6046 _ACEOF
6047 if ac_fn_c_try_link "$LINENO"; then :
6048 ac_cv_lib_i386_i386_set_ldt=yes
6049 else
6050 ac_cv_lib_i386_i386_set_ldt=no
6052 rm -f core conftest.err conftest.$ac_objext \
6053 conftest$ac_exeext conftest.$ac_ext
6054 LIBS=$ac_check_lib_save_LIBS
6056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6057 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6058 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6059 cat >>confdefs.h <<_ACEOF
6060 #define HAVE_LIBI386 1
6061 _ACEOF
6063 LIBS="-li386 $LIBS"
6067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6068 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6069 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6070 $as_echo_n "(cached) " >&6
6071 else
6072 ac_check_lib_save_LIBS=$LIBS
6073 LIBS="-lossaudio $LIBS"
6074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6075 /* end confdefs.h. */
6077 /* Override any GCC internal prototype to avoid an error.
6078 Use char because int might match the return type of a GCC
6079 builtin and then its argument prototype would still apply. */
6080 #ifdef __cplusplus
6081 extern "C"
6082 #endif
6083 char _oss_ioctl ();
6085 main ()
6087 return _oss_ioctl ();
6089 return 0;
6091 _ACEOF
6092 if ac_fn_c_try_link "$LINENO"; then :
6093 ac_cv_lib_ossaudio__oss_ioctl=yes
6094 else
6095 ac_cv_lib_ossaudio__oss_ioctl=no
6097 rm -f core conftest.err conftest.$ac_objext \
6098 conftest$ac_exeext conftest.$ac_ext
6099 LIBS=$ac_check_lib_save_LIBS
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6102 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6103 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6104 cat >>confdefs.h <<_ACEOF
6105 #define HAVE_LIBOSSAUDIO 1
6106 _ACEOF
6108 LIBS="-lossaudio $LIBS"
6113 OPENGL_LIBS=""
6117 # Check whether --enable-largefile was given.
6118 if test "${enable_largefile+set}" = set; then :
6119 enableval=$enable_largefile;
6122 if test "$enable_largefile" != no; then
6124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6125 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6126 if ${ac_cv_sys_largefile_CC+:} false; then :
6127 $as_echo_n "(cached) " >&6
6128 else
6129 ac_cv_sys_largefile_CC=no
6130 if test "$GCC" != yes; then
6131 ac_save_CC=$CC
6132 while :; do
6133 # IRIX 6.2 and later do not support large files by default,
6134 # so use the C compiler's -n32 option if that helps.
6135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6136 /* end confdefs.h. */
6137 #include <sys/types.h>
6138 /* Check that off_t can represent 2**63 - 1 correctly.
6139 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6140 since some C++ compilers masquerading as C compilers
6141 incorrectly reject 9223372036854775807. */
6142 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6143 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6144 && LARGE_OFF_T % 2147483647 == 1)
6145 ? 1 : -1];
6147 main ()
6151 return 0;
6153 _ACEOF
6154 if ac_fn_c_try_compile "$LINENO"; then :
6155 break
6157 rm -f core conftest.err conftest.$ac_objext
6158 CC="$CC -n32"
6159 if ac_fn_c_try_compile "$LINENO"; then :
6160 ac_cv_sys_largefile_CC=' -n32'; break
6162 rm -f core conftest.err conftest.$ac_objext
6163 break
6164 done
6165 CC=$ac_save_CC
6166 rm -f conftest.$ac_ext
6169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6170 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6171 if test "$ac_cv_sys_largefile_CC" != no; then
6172 CC=$CC$ac_cv_sys_largefile_CC
6175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6176 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6177 if ${ac_cv_sys_file_offset_bits+:} false; then :
6178 $as_echo_n "(cached) " >&6
6179 else
6180 while :; do
6181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6182 /* end confdefs.h. */
6183 #include <sys/types.h>
6184 /* Check that off_t can represent 2**63 - 1 correctly.
6185 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6186 since some C++ compilers masquerading as C compilers
6187 incorrectly reject 9223372036854775807. */
6188 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6189 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6190 && LARGE_OFF_T % 2147483647 == 1)
6191 ? 1 : -1];
6193 main ()
6197 return 0;
6199 _ACEOF
6200 if ac_fn_c_try_compile "$LINENO"; then :
6201 ac_cv_sys_file_offset_bits=no; break
6203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6205 /* end confdefs.h. */
6206 #define _FILE_OFFSET_BITS 64
6207 #include <sys/types.h>
6208 /* Check that off_t can represent 2**63 - 1 correctly.
6209 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6210 since some C++ compilers masquerading as C compilers
6211 incorrectly reject 9223372036854775807. */
6212 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6213 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6214 && LARGE_OFF_T % 2147483647 == 1)
6215 ? 1 : -1];
6217 main ()
6221 return 0;
6223 _ACEOF
6224 if ac_fn_c_try_compile "$LINENO"; then :
6225 ac_cv_sys_file_offset_bits=64; break
6227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6228 ac_cv_sys_file_offset_bits=unknown
6229 break
6230 done
6232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6233 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6234 case $ac_cv_sys_file_offset_bits in #(
6235 no | unknown) ;;
6237 cat >>confdefs.h <<_ACEOF
6238 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6239 _ACEOF
6241 esac
6242 rm -rf conftest*
6243 if test $ac_cv_sys_file_offset_bits = unknown; then
6244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6245 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6246 if ${ac_cv_sys_large_files+:} false; then :
6247 $as_echo_n "(cached) " >&6
6248 else
6249 while :; do
6250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6251 /* end confdefs.h. */
6252 #include <sys/types.h>
6253 /* Check that off_t can represent 2**63 - 1 correctly.
6254 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6255 since some C++ compilers masquerading as C compilers
6256 incorrectly reject 9223372036854775807. */
6257 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6258 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6259 && LARGE_OFF_T % 2147483647 == 1)
6260 ? 1 : -1];
6262 main ()
6266 return 0;
6268 _ACEOF
6269 if ac_fn_c_try_compile "$LINENO"; then :
6270 ac_cv_sys_large_files=no; break
6272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6274 /* end confdefs.h. */
6275 #define _LARGE_FILES 1
6276 #include <sys/types.h>
6277 /* Check that off_t can represent 2**63 - 1 correctly.
6278 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6279 since some C++ compilers masquerading as C compilers
6280 incorrectly reject 9223372036854775807. */
6281 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6282 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6283 && LARGE_OFF_T % 2147483647 == 1)
6284 ? 1 : -1];
6286 main ()
6290 return 0;
6292 _ACEOF
6293 if ac_fn_c_try_compile "$LINENO"; then :
6294 ac_cv_sys_large_files=1; break
6296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6297 ac_cv_sys_large_files=unknown
6298 break
6299 done
6301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6302 $as_echo "$ac_cv_sys_large_files" >&6; }
6303 case $ac_cv_sys_large_files in #(
6304 no | unknown) ;;
6306 cat >>confdefs.h <<_ACEOF
6307 #define _LARGE_FILES $ac_cv_sys_large_files
6308 _ACEOF
6310 esac
6311 rm -rf conftest*
6318 ac_ext=c
6319 ac_cpp='$CPP $CPPFLAGS'
6320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6324 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6325 # On Suns, sometimes $CPP names a directory.
6326 if test -n "$CPP" && test -d "$CPP"; then
6327 CPP=
6329 if test -z "$CPP"; then
6330 if ${ac_cv_prog_CPP+:} false; then :
6331 $as_echo_n "(cached) " >&6
6332 else
6333 # Double quotes because CPP needs to be expanded
6334 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6336 ac_preproc_ok=false
6337 for ac_c_preproc_warn_flag in '' yes
6339 # Use a header file that comes with gcc, so configuring glibc
6340 # with a fresh cross-compiler works.
6341 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6342 # <limits.h> exists even on freestanding compilers.
6343 # On the NeXT, cc -E runs the code through the compiler's parser,
6344 # not just through cpp. "Syntax error" is here to catch this case.
6345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6346 /* end confdefs.h. */
6347 #ifdef __STDC__
6348 # include <limits.h>
6349 #else
6350 # include <assert.h>
6351 #endif
6352 Syntax error
6353 _ACEOF
6354 if ac_fn_c_try_cpp "$LINENO"; then :
6356 else
6357 # Broken: fails on valid input.
6358 continue
6360 rm -f conftest.err conftest.i conftest.$ac_ext
6362 # OK, works on sane cases. Now check whether nonexistent headers
6363 # can be detected and how.
6364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6365 /* end confdefs.h. */
6366 #include <ac_nonexistent.h>
6367 _ACEOF
6368 if ac_fn_c_try_cpp "$LINENO"; then :
6369 # Broken: success on invalid input.
6370 continue
6371 else
6372 # Passes both tests.
6373 ac_preproc_ok=:
6374 break
6376 rm -f conftest.err conftest.i conftest.$ac_ext
6378 done
6379 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6380 rm -f conftest.i conftest.err conftest.$ac_ext
6381 if $ac_preproc_ok; then :
6382 break
6385 done
6386 ac_cv_prog_CPP=$CPP
6389 CPP=$ac_cv_prog_CPP
6390 else
6391 ac_cv_prog_CPP=$CPP
6393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6394 $as_echo "$CPP" >&6; }
6395 ac_preproc_ok=false
6396 for ac_c_preproc_warn_flag in '' yes
6398 # Use a header file that comes with gcc, so configuring glibc
6399 # with a fresh cross-compiler works.
6400 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6401 # <limits.h> exists even on freestanding compilers.
6402 # On the NeXT, cc -E runs the code through the compiler's parser,
6403 # not just through cpp. "Syntax error" is here to catch this case.
6404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6405 /* end confdefs.h. */
6406 #ifdef __STDC__
6407 # include <limits.h>
6408 #else
6409 # include <assert.h>
6410 #endif
6411 Syntax error
6412 _ACEOF
6413 if ac_fn_c_try_cpp "$LINENO"; then :
6415 else
6416 # Broken: fails on valid input.
6417 continue
6419 rm -f conftest.err conftest.i conftest.$ac_ext
6421 # OK, works on sane cases. Now check whether nonexistent headers
6422 # can be detected and how.
6423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6424 /* end confdefs.h. */
6425 #include <ac_nonexistent.h>
6426 _ACEOF
6427 if ac_fn_c_try_cpp "$LINENO"; then :
6428 # Broken: success on invalid input.
6429 continue
6430 else
6431 # Passes both tests.
6432 ac_preproc_ok=:
6433 break
6435 rm -f conftest.err conftest.i conftest.$ac_ext
6437 done
6438 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6439 rm -f conftest.i conftest.err conftest.$ac_ext
6440 if $ac_preproc_ok; then :
6442 else
6443 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6444 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6445 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6446 See \`config.log' for more details" "$LINENO" 5; }
6449 ac_ext=c
6450 ac_cpp='$CPP $CPPFLAGS'
6451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6457 $as_echo_n "checking for ANSI C header files... " >&6; }
6458 if ${ac_cv_header_stdc+:} false; then :
6459 $as_echo_n "(cached) " >&6
6460 else
6461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6462 /* end confdefs.h. */
6463 #include <stdlib.h>
6464 #include <stdarg.h>
6465 #include <string.h>
6466 #include <float.h>
6469 main ()
6473 return 0;
6475 _ACEOF
6476 if ac_fn_c_try_compile "$LINENO"; then :
6477 ac_cv_header_stdc=yes
6478 else
6479 ac_cv_header_stdc=no
6481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6483 if test $ac_cv_header_stdc = yes; then
6484 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6486 /* end confdefs.h. */
6487 #include <string.h>
6489 _ACEOF
6490 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6491 $EGREP "memchr" >/dev/null 2>&1; then :
6493 else
6494 ac_cv_header_stdc=no
6496 rm -f conftest*
6500 if test $ac_cv_header_stdc = yes; then
6501 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6503 /* end confdefs.h. */
6504 #include <stdlib.h>
6506 _ACEOF
6507 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6508 $EGREP "free" >/dev/null 2>&1; then :
6510 else
6511 ac_cv_header_stdc=no
6513 rm -f conftest*
6517 if test $ac_cv_header_stdc = yes; then
6518 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6519 if test "$cross_compiling" = yes; then :
6521 else
6522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6523 /* end confdefs.h. */
6524 #include <ctype.h>
6525 #include <stdlib.h>
6526 #if ((' ' & 0x0FF) == 0x020)
6527 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6528 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6529 #else
6530 # define ISLOWER(c) \
6531 (('a' <= (c) && (c) <= 'i') \
6532 || ('j' <= (c) && (c) <= 'r') \
6533 || ('s' <= (c) && (c) <= 'z'))
6534 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6535 #endif
6537 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6539 main ()
6541 int i;
6542 for (i = 0; i < 256; i++)
6543 if (XOR (islower (i), ISLOWER (i))
6544 || toupper (i) != TOUPPER (i))
6545 return 2;
6546 return 0;
6548 _ACEOF
6549 if ac_fn_c_try_run "$LINENO"; then :
6551 else
6552 ac_cv_header_stdc=no
6554 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6555 conftest.$ac_objext conftest.beam conftest.$ac_ext
6560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6561 $as_echo "$ac_cv_header_stdc" >&6; }
6562 if test $ac_cv_header_stdc = yes; then
6564 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6568 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6569 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6570 inttypes.h stdint.h unistd.h
6571 do :
6572 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6573 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6575 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6576 cat >>confdefs.h <<_ACEOF
6577 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6578 _ACEOF
6582 done
6585 for ac_header in \
6586 AL/al.h \
6587 ApplicationServices/ApplicationServices.h \
6588 AudioToolbox/AudioConverter.h \
6589 AudioUnit/AudioUnit.h \
6590 AudioUnit/AudioComponent.h \
6591 CL/cl.h \
6592 Carbon/Carbon.h \
6593 CoreAudio/CoreAudio.h \
6594 CoreServices/CoreServices.h \
6595 DiskArbitration/DiskArbitration.h \
6596 IOKit/IOKitLib.h \
6597 IOKit/hid/IOHIDLib.h \
6598 OpenAL/al.h \
6599 OpenCL/opencl.h \
6600 QuickTime/ImageCompression.h \
6601 Security/Security.h \
6602 alias.h \
6603 alsa/asoundlib.h \
6604 arpa/inet.h \
6605 arpa/nameser.h \
6606 asm/types.h \
6607 asm/user.h \
6608 curses.h \
6609 direct.h \
6610 dirent.h \
6611 dlfcn.h \
6612 elf.h \
6613 float.h \
6614 fnmatch.h \
6615 getopt.h \
6616 gettext-po.h \
6617 grp.h \
6618 gsm.h \
6619 gsm/gsm.h \
6620 ieeefp.h \
6621 inet/mib2.h \
6622 io.h \
6623 kstat.h \
6624 lber.h \
6625 ldap.h \
6626 libproc.h \
6627 link.h \
6628 linux/cdrom.h \
6629 linux/compiler.h \
6630 linux/filter.h \
6631 linux/hdreg.h \
6632 linux/input.h \
6633 linux/ioctl.h \
6634 linux/joystick.h \
6635 linux/major.h \
6636 linux/param.h \
6637 linux/serial.h \
6638 linux/types.h \
6639 linux/ucdrom.h \
6640 lwp.h \
6641 mach-o/nlist.h \
6642 mach-o/loader.h \
6643 mach/mach.h \
6644 mach/machine.h \
6645 machine/cpu.h \
6646 machine/limits.h \
6647 machine/sysarch.h \
6648 mntent.h \
6649 ncurses.h \
6650 netdb.h \
6651 netinet/in.h \
6652 netinet/in_systm.h \
6653 netinet/tcp.h \
6654 netinet/tcp_fsm.h \
6655 pcap/pcap.h \
6656 poll.h \
6657 port.h \
6658 process.h \
6659 pthread.h \
6660 pwd.h \
6661 sched.h \
6662 scsi/scsi.h \
6663 scsi/scsi_ioctl.h \
6664 scsi/sg.h \
6665 stdbool.h \
6666 stdint.h \
6667 stropts.h \
6668 sys/asoundlib.h \
6669 sys/attr.h \
6670 sys/cdio.h \
6671 sys/elf32.h \
6672 sys/epoll.h \
6673 sys/event.h \
6674 sys/exec_elf.h \
6675 sys/filio.h \
6676 sys/inotify.h \
6677 sys/ioctl.h \
6678 sys/ipc.h \
6679 sys/limits.h \
6680 sys/link.h \
6681 sys/mman.h \
6682 sys/modem.h \
6683 sys/msg.h \
6684 sys/mtio.h \
6685 sys/param.h \
6686 sys/poll.h \
6687 sys/prctl.h \
6688 sys/protosw.h \
6689 sys/ptrace.h \
6690 sys/queue.h \
6691 sys/resource.h \
6692 sys/scsiio.h \
6693 sys/shm.h \
6694 sys/signal.h \
6695 sys/socket.h \
6696 sys/socketvar.h \
6697 sys/sockio.h \
6698 sys/statvfs.h \
6699 sys/strtio.h \
6700 sys/syscall.h \
6701 sys/tihdr.h \
6702 sys/time.h \
6703 sys/timeout.h \
6704 sys/times.h \
6705 sys/uio.h \
6706 sys/user.h \
6707 sys/utsname.h \
6708 sys/vm86.h \
6709 sys/vnode.h \
6710 sys/wait.h \
6711 syscall.h \
6712 termios.h \
6713 unistd.h \
6714 utime.h \
6715 valgrind/memcheck.h \
6716 valgrind/valgrind.h \
6717 zlib.h
6719 do :
6720 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6721 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6722 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6723 cat >>confdefs.h <<_ACEOF
6724 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6725 _ACEOF
6729 done
6731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6732 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6733 if ${ac_cv_header_stat_broken+:} false; then :
6734 $as_echo_n "(cached) " >&6
6735 else
6736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6737 /* end confdefs.h. */
6738 #include <sys/types.h>
6739 #include <sys/stat.h>
6741 #if defined S_ISBLK && defined S_IFDIR
6742 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6743 #endif
6745 #if defined S_ISBLK && defined S_IFCHR
6746 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6747 #endif
6749 #if defined S_ISLNK && defined S_IFREG
6750 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6751 #endif
6753 #if defined S_ISSOCK && defined S_IFREG
6754 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6755 #endif
6757 _ACEOF
6758 if ac_fn_c_try_compile "$LINENO"; then :
6759 ac_cv_header_stat_broken=no
6760 else
6761 ac_cv_header_stat_broken=yes
6763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6766 $as_echo "$ac_cv_header_stat_broken" >&6; }
6767 if test $ac_cv_header_stat_broken = yes; then
6769 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6775 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6776 do :
6777 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6778 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6779 #ifdef HAVE_SYS_PARAM_H
6780 # include <sys/param.h>
6781 #endif
6783 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6784 cat >>confdefs.h <<_ACEOF
6785 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6786 _ACEOF
6790 done
6793 for ac_header in \
6794 netinet/ip.h \
6795 net/if.h \
6796 net/if_arp.h \
6797 net/if_dl.h \
6798 net/if_types.h \
6799 net/route.h \
6800 netinet/if_ether.h \
6801 netinet/if_inarp.h \
6802 netinet/in_pcb.h \
6803 netinet/ip_icmp.h \
6804 netinet/ip_var.h \
6805 netinet/udp.h \
6806 netipx/ipx.h \
6807 sys/un.h \
6809 do :
6810 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6811 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6812 #ifdef HAVE_SYS_SOCKET_H
6813 # include <sys/socket.h>
6814 #endif
6815 #ifdef HAVE_SYS_SOCKETVAR_H
6816 # include <sys/socketvar.h>
6817 #endif
6818 #ifdef HAVE_NET_ROUTE_H
6819 # include <net/route.h>
6820 #endif
6821 #ifdef HAVE_NETINET_IN_H
6822 # include <netinet/in.h>
6823 #endif
6824 #ifdef HAVE_NETINET_IN_SYSTM_H
6825 # include <netinet/in_systm.h>
6826 #endif
6827 #ifdef HAVE_NET_IF_H
6828 # include <net/if.h>
6829 #endif
6830 #ifdef HAVE_NETINET_IP_H
6831 # include <netinet/ip.h>
6832 #endif
6834 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6835 cat >>confdefs.h <<_ACEOF
6836 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6837 _ACEOF
6841 done
6844 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6845 do :
6846 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6847 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6848 #ifdef HAVE_ALIAS_H
6849 # include <alias.h>
6850 #endif
6851 #ifdef HAVE_SYS_SOCKET_H
6852 # include <sys/socket.h>
6853 #endif
6854 #ifdef HAVE_SYS_SOCKETVAR_H
6855 # include <sys/socketvar.h>
6856 #endif
6857 #ifdef HAVE_SYS_TIMEOUT_H
6858 # include <sys/timeout.h>
6859 #endif
6860 #ifdef HAVE_NETINET_IN_H
6861 # include <netinet/in.h>
6862 #endif
6863 #ifdef HAVE_NETINET_IN_SYSTM_H
6864 # include <netinet/in_systm.h>
6865 #endif
6866 #ifdef HAVE_NETINET_IP_H
6867 # include <netinet/ip.h>
6868 #endif
6869 #ifdef HAVE_NETINET_IP_VAR_H
6870 # include <netinet/ip_var.h>
6871 #endif
6872 #ifdef HAVE_NETINET_IP_ICMP_H
6873 # include <netinet/ip_icmp.h>
6874 #endif
6875 #ifdef HAVE_NETINET_UDP_H
6876 # include <netinet/udp.h>
6877 #endif
6878 #ifdef HAVE_NETINET_TCP_H
6879 # include <netinet/tcp.h>
6880 #endif
6881 #ifdef HAVE_NETINET_TCP_TIMER_H
6882 #include <netinet/tcp_timer.h>
6883 #endif
6885 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6886 cat >>confdefs.h <<_ACEOF
6887 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6888 _ACEOF
6892 done
6895 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6896 do :
6897 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6898 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6899 #ifdef HAVE_ASM_TYPES_H
6900 # include <asm/types.h>
6901 #endif
6902 #ifdef HAVE_SYS_SOCKET_H
6903 # include <sys/socket.h>
6904 #endif
6905 #ifdef HAVE_LINUX_TYPES_H
6906 # include <linux/types.h>
6907 #endif
6909 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6910 cat >>confdefs.h <<_ACEOF
6911 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6912 _ACEOF
6916 done
6919 for ac_header in mach-o/dyld_images.h
6920 do :
6921 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6922 # include <stdbool.h>
6923 #endif
6924 #ifdef HAVE_STDINT_H
6925 # include <stdint.h>
6926 #endif
6928 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6929 cat >>confdefs.h <<_ACEOF
6930 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6931 _ACEOF
6935 done
6938 for ac_header in resolv.h
6939 do :
6940 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6941 #ifdef HAVE_SYS_SOCKET_H
6942 # include <sys/socket.h>
6943 #endif
6944 #ifdef HAVE_NETINET_IN_H
6945 # include <netinet/in.h>
6946 #endif
6947 #ifdef HAVE_ARPA_NAMESER_H
6948 # include <arpa/nameser.h>
6949 #endif
6951 if test "x$ac_cv_header_resolv_h" = xyes; then :
6952 cat >>confdefs.h <<_ACEOF
6953 #define HAVE_RESOLV_H 1
6954 _ACEOF
6958 done
6961 for ac_header in ifaddrs.h
6962 do :
6963 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6965 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6966 cat >>confdefs.h <<_ACEOF
6967 #define HAVE_IFADDRS_H 1
6968 _ACEOF
6972 done
6975 for ac_header in sys/ucontext.h
6976 do :
6977 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6979 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
6980 cat >>confdefs.h <<_ACEOF
6981 #define HAVE_SYS_UCONTEXT_H 1
6982 _ACEOF
6986 done
6989 for ac_header in sys/thr.h
6990 do :
6991 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6992 #ifdef HAVE_SYS_UCONTEXT_H
6993 #include <sys/ucontext.h>
6994 #endif
6996 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
6997 cat >>confdefs.h <<_ACEOF
6998 #define HAVE_SYS_THR_H 1
6999 _ACEOF
7003 done
7006 for ac_header in pthread_np.h
7007 do :
7008 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7009 #include <pthread.h>
7010 #endif
7012 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7013 cat >>confdefs.h <<_ACEOF
7014 #define HAVE_PTHREAD_NP_H 1
7015 _ACEOF
7019 done
7022 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7023 do :
7024 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7025 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7026 #include <sys/time.h>
7027 #endif
7028 #include <sys/types.h>
7029 #ifdef HAVE_ASM_TYPES_H
7030 #include <asm/types.h>
7031 #endif
7033 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7034 cat >>confdefs.h <<_ACEOF
7035 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7036 _ACEOF
7040 done
7043 for ac_header in libprocstat.h
7044 do :
7045 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7046 #include <sys/param.h>
7047 #endif
7048 #ifdef HAVE_SYS_QUEUE_H
7049 #include <sys/queue.h>
7050 #endif
7051 #ifdef HAVE_SYS_SOCKET_H
7052 #include <sys/socket.h>
7053 #endif
7055 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7056 cat >>confdefs.h <<_ACEOF
7057 #define HAVE_LIBPROCSTAT_H 1
7058 _ACEOF
7062 done
7066 dlldir="\${libdir}/wine"
7068 DLLPREFIX=""
7070 DLLFLAGS="-D_REENTRANT"
7072 LDRPATH_INSTALL=""
7074 LDRPATH_LOCAL=""
7076 LIBEXT="so"
7077 DLLEXT=".so"
7078 IMPLIBEXT="def"
7079 STATIC_IMPLIBEXT="def.a"
7080 # Extract the first word of "ldd", so it can be a program name with args.
7081 set dummy ldd; ac_word=$2
7082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7083 $as_echo_n "checking for $ac_word... " >&6; }
7084 if ${ac_cv_path_LDD+:} false; then :
7085 $as_echo_n "(cached) " >&6
7086 else
7087 case $LDD in
7088 [\\/]* | ?:[\\/]*)
7089 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7093 as_dummy="/sbin:/usr/sbin:$PATH"
7094 for as_dir in $as_dummy
7096 IFS=$as_save_IFS
7097 test -z "$as_dir" && as_dir=.
7098 for ac_exec_ext in '' $ac_executable_extensions; do
7099 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7100 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7102 break 2
7104 done
7105 done
7106 IFS=$as_save_IFS
7108 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7110 esac
7112 LDD=$ac_cv_path_LDD
7113 if test -n "$LDD"; then
7114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7115 $as_echo "$LDD" >&6; }
7116 else
7117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7118 $as_echo "no" >&6; }
7122 if test -n "$ac_tool_prefix"; then
7123 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7124 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7126 $as_echo_n "checking for $ac_word... " >&6; }
7127 if ${ac_cv_prog_READELF+:} false; then :
7128 $as_echo_n "(cached) " >&6
7129 else
7130 if test -n "$READELF"; then
7131 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7132 else
7133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7134 for as_dir in $PATH
7136 IFS=$as_save_IFS
7137 test -z "$as_dir" && as_dir=.
7138 for ac_exec_ext in '' $ac_executable_extensions; do
7139 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7140 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7141 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7142 break 2
7144 done
7145 done
7146 IFS=$as_save_IFS
7150 READELF=$ac_cv_prog_READELF
7151 if test -n "$READELF"; then
7152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7153 $as_echo "$READELF" >&6; }
7154 else
7155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7156 $as_echo "no" >&6; }
7161 if test -z "$ac_cv_prog_READELF"; then
7162 ac_ct_READELF=$READELF
7163 # Extract the first word of "readelf", so it can be a program name with args.
7164 set dummy readelf; ac_word=$2
7165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7166 $as_echo_n "checking for $ac_word... " >&6; }
7167 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7168 $as_echo_n "(cached) " >&6
7169 else
7170 if test -n "$ac_ct_READELF"; then
7171 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7172 else
7173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7174 for as_dir in $PATH
7176 IFS=$as_save_IFS
7177 test -z "$as_dir" && as_dir=.
7178 for ac_exec_ext in '' $ac_executable_extensions; do
7179 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7180 ac_cv_prog_ac_ct_READELF="readelf"
7181 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7182 break 2
7184 done
7185 done
7186 IFS=$as_save_IFS
7190 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7191 if test -n "$ac_ct_READELF"; then
7192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7193 $as_echo "$ac_ct_READELF" >&6; }
7194 else
7195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7196 $as_echo "no" >&6; }
7199 if test "x$ac_ct_READELF" = x; then
7200 READELF="true"
7201 else
7202 case $cross_compiling:$ac_tool_warned in
7203 yes:)
7204 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7205 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7206 ac_tool_warned=yes ;;
7207 esac
7208 READELF=$ac_ct_READELF
7210 else
7211 READELF="$ac_cv_prog_READELF"
7214 wine_rules_file=conf$$rules.make
7215 rm -f $wine_rules_file
7216 ALL_POT_FILES=""
7217 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7218 ALL_TEST_RESOURCES=""
7221 wine_fn_append_file ()
7223 as_fn_append $1 " \\$as_nl $2"
7226 wine_fn_ignore_file ()
7228 case "$1" in
7229 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7230 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7231 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7232 esac
7235 wine_fn_append_rule ()
7237 $as_echo "$1" >>$wine_rules_file
7240 wine_fn_has_flag ()
7242 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7245 wine_fn_depend_rules ()
7247 wine_fn_append_rule \
7248 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7249 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7250 depend: $ac_dir/depend
7251 .PHONY: $ac_dir/depend
7252 $ac_dir/depend: \$(MAKEDEP) dummy
7253 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7256 wine_fn_pot_rules ()
7258 test "x$with_gettextpo" = xyes || return
7260 if wine_fn_has_flag mc
7261 then
7262 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7263 wine_fn_append_rule \
7264 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7265 @cd $ac_dir && \$(MAKE) msg.pot
7266 $ac_dir/msg.pot: tools/wmc include"
7268 if wine_fn_has_flag po
7269 then
7270 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7271 wine_fn_append_rule \
7272 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7273 @cd $ac_dir && \$(MAKE) rsrc.pot
7274 $ac_dir/rsrc.pot: tools/wrc include"
7278 wine_fn_all_rules ()
7280 wine_fn_depend_rules
7281 wine_fn_append_rule \
7282 "all: $ac_dir
7283 .PHONY: $ac_dir
7284 $ac_dir: $ac_dir/Makefile dummy
7285 @cd $ac_dir && \$(MAKE)"
7288 wine_fn_install_rules ()
7290 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7292 wine_fn_append_rule \
7293 ".PHONY: $ac_dir/install $ac_dir/uninstall
7294 $ac_dir/install:: $ac_dir
7295 @cd $ac_dir && \$(MAKE) install
7296 $ac_dir/uninstall:: $ac_dir/Makefile
7297 @cd $ac_dir && \$(MAKE) uninstall
7298 install:: $ac_dir/install
7299 __uninstall__: $ac_dir/uninstall"
7301 if wine_fn_has_flag install-lib
7302 then
7303 wine_fn_append_rule \
7304 ".PHONY: $ac_dir/install-lib
7305 $ac_dir/install-lib:: $ac_dir
7306 @cd $ac_dir && \$(MAKE) install-lib
7307 install-lib:: $ac_dir/install-lib"
7310 if wine_fn_has_flag install-dev
7311 then
7312 wine_fn_append_rule \
7313 ".PHONY: $ac_dir/install-dev
7314 $ac_dir/install-dev:: $ac_dir
7315 @cd $ac_dir && \$(MAKE) install-dev
7316 install-dev:: $ac_dir/install-dev"
7320 wine_fn_clean_rules ()
7322 ac_clean=$@
7323 ac_extraclean="$ac_dir/Makefile"
7324 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7325 case $ac_dir in
7326 */tests) ac_extraclean="$ac_extraclean $ac_dir/testlist.c" ;;
7327 esac
7329 if wine_fn_has_flag clean
7330 then
7331 wine_fn_append_rule \
7332 "__clean__: $ac_dir/clean
7333 .PHONY: $ac_dir/clean
7334 $ac_dir/clean: $ac_dir/Makefile
7335 @cd $ac_dir && \$(MAKE) clean
7336 \$(RM) $ac_extraclean"
7337 else
7338 wine_fn_append_rule \
7339 "__clean__: $ac_dir/clean
7340 .PHONY: $ac_dir/clean
7341 $ac_dir/clean: dummy
7342 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7346 wine_fn_disabled_rules ()
7348 ac_clean=$@
7349 ac_extraclean="$ac_dir/Makefile"
7350 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7352 wine_fn_append_rule \
7353 "__clean__: $ac_dir/clean
7354 .PHONY: $ac_dir/clean
7355 $ac_dir/clean: dummy
7356 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7359 wine_fn_config_makefile ()
7361 ac_dir=$1
7362 ac_enable=$2
7363 ac_flags=$3
7365 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7366 wine_fn_disabled_rules; return
7368 wine_fn_all_rules
7369 wine_fn_install_rules
7370 wine_fn_clean_rules
7373 wine_fn_config_lib ()
7375 ac_name=$1
7376 ac_flags=$2
7377 ac_dir=dlls/$ac_name
7378 ac_deps="include"
7380 if test "x$enable_tools" = xno; then :
7382 else
7383 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7385 wine_fn_all_rules
7386 wine_fn_clean_rules
7388 wine_fn_append_rule \
7389 ".PHONY: $ac_dir/install $ac_dir/uninstall
7390 $ac_dir/install:: $ac_dir
7391 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7392 $ac_dir/uninstall::
7393 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7394 install install-dev:: $ac_dir/install
7395 __uninstall__: $ac_dir/uninstall
7396 __builddeps__: $ac_dir
7397 $ac_dir: $ac_deps"
7400 wine_fn_config_dll ()
7402 ac_name=$1
7403 ac_dir=dlls/$ac_name
7404 ac_enable=$2
7405 ac_flags=$3
7406 ac_implib=${4:-$ac_name}
7407 ac_file=$ac_dir/lib$ac_implib
7408 ac_dll=$ac_name
7409 ac_deps="include"
7410 ac_implibflags=""
7412 if test "x$enable_tools" = xno; then :
7414 else
7415 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7417 case $ac_name in
7418 *16) ac_implibflags=" -m16" ;;
7419 *.*) ;;
7420 *) ac_dll=$ac_dll.dll ;;
7421 esac
7423 ac_clean=
7424 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7425 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7426 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7427 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7429 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7430 if wine_fn_has_flag implib && test "$ac_enable" != enable_win16
7431 then
7432 wine_fn_depend_rules
7433 wine_fn_clean_rules $ac_clean
7434 else
7435 wine_fn_disabled_rules $ac_clean
7436 return
7438 else
7439 wine_fn_all_rules
7440 wine_fn_clean_rules $ac_clean
7441 wine_fn_append_rule \
7442 "$ac_dir: __builddeps__
7443 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7444 @cd $ac_dir && \$(MAKE) \$@
7445 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7446 install install-lib:: $ac_dir/install-lib
7447 __uninstall__: $ac_dir/uninstall"
7448 if test -n "$DLLEXT"
7449 then
7450 wine_fn_append_rule \
7451 "$ac_dir/install-lib:: $ac_dir
7452 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7453 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7454 $ac_dir/uninstall::
7455 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7456 else
7457 wine_fn_append_rule \
7458 "$ac_dir/install-lib:: $ac_dir
7459 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7460 $ac_dir/uninstall::
7461 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7464 wine_fn_pot_rules
7467 if wine_fn_has_flag staticimplib
7468 then
7469 wine_fn_append_rule \
7470 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7471 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7472 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7473 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7474 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7475 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7476 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7477 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7478 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7479 $ac_dir/uninstall::
7480 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7481 install install-dev:: $ac_dir/install-dev
7482 __uninstall__: $ac_dir/uninstall"
7484 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7485 then
7486 wine_fn_append_rule \
7487 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7488 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7489 $ac_dir/uninstall::
7490 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7493 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7494 then
7495 wine_fn_append_rule \
7496 "__builddeps__: $ac_file.cross.a
7497 $ac_file.cross.a: $ac_dir/Makefile dummy
7498 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7501 elif wine_fn_has_flag implib
7502 then
7503 wine_fn_append_rule \
7504 "__builddeps__: $ac_file.$IMPLIBEXT
7505 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7506 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7507 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7508 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7509 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7510 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7511 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7512 $ac_dir/uninstall::
7513 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7514 install install-dev:: $ac_dir/install-dev
7515 __uninstall__: $ac_dir/uninstall"
7516 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7517 then
7518 wine_fn_append_rule \
7519 "__builddeps__: $ac_file.cross.a
7520 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7521 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7524 if test "$ac_name" != "$ac_implib"
7525 then
7526 wine_fn_append_rule \
7527 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7528 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7529 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7530 clean::
7531 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7532 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7533 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7534 then
7535 wine_fn_append_rule \
7536 "__builddeps__: dlls/lib$ac_implib.cross.a
7537 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7538 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7539 clean::
7540 \$(RM) dlls/lib$ac_implib.cross.a"
7541 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7547 wine_fn_config_program ()
7549 ac_name=$1
7550 ac_dir=programs/$ac_name
7551 ac_enable=$2
7552 ac_flags=$3
7553 ac_program=$ac_name
7555 case $ac_name in
7556 *.*) ;;
7557 *) ac_program=$ac_program.exe ;;
7558 esac
7560 ac_clean=
7561 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7562 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7563 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7564 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7566 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7567 wine_fn_disabled_rules $ac_clean; return
7570 wine_fn_all_rules
7571 wine_fn_clean_rules $ac_clean
7572 wine_fn_append_rule "$ac_dir: __builddeps__"
7573 wine_fn_pot_rules
7575 wine_fn_has_flag install || return
7576 wine_fn_append_rule \
7577 ".PHONY: $ac_dir/install $ac_dir/uninstall
7578 install install-lib:: $ac_dir/install
7579 __uninstall__: $ac_dir/uninstall"
7581 if test -n "$DLLEXT"
7582 then
7583 wine_fn_append_rule \
7584 "$ac_dir/install:: $ac_dir
7585 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7586 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7587 $ac_dir/uninstall::
7588 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7590 if test -z "$with_wine64" && wine_fn_has_flag installbin
7591 then
7592 wine_fn_append_rule \
7593 "$ac_dir/install:: __tooldeps__
7594 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7595 $ac_dir/uninstall::
7596 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7598 else
7599 wine_fn_append_rule \
7600 "$ac_dir/install:: $ac_dir
7601 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7602 $ac_dir/uninstall::
7603 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7606 if test -z "$with_wine64" && wine_fn_has_flag manpage
7607 then
7608 wine_fn_append_rule \
7609 "$ac_dir/install:: $ac_dir
7610 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7611 $ac_dir/uninstall::
7612 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7616 wine_fn_config_test ()
7618 ac_dir=$1
7619 ac_name=$2
7620 ac_flags=$3
7622 ac_clean=
7623 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7624 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7626 if test "x$enable_tests" = xno; then :
7627 wine_fn_disabled_rules $ac_clean; return
7630 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7631 wine_fn_all_rules
7632 wine_fn_clean_rules $ac_clean
7634 wine_fn_append_rule \
7635 "$ac_dir: programs/winetest/Makefile __builddeps__
7636 programs/winetest: $ac_dir
7637 check test: $ac_dir/test
7638 .PHONY: $ac_dir/test
7639 $ac_dir/test: dummy
7640 @cd $ac_dir && \$(MAKE) test
7641 testclean::
7642 \$(RM) $ac_dir/*.ok"
7644 if test -n "$CROSSTARGET"
7645 then
7646 wine_fn_append_rule \
7647 "crosstest: $ac_dir/crosstest
7648 .PHONY: $ac_dir/crosstest
7649 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7650 @cd $ac_dir && \$(MAKE) crosstest"
7654 wine_fn_config_tool ()
7656 ac_dir=$1
7657 ac_flags=$2
7658 if test "x$enable_tools" = xno; then :
7659 return
7662 wine_fn_all_rules
7663 wine_fn_install_rules
7664 wine_fn_clean_rules
7666 wine_fn_append_rule "__tooldeps__: $ac_dir"
7667 wine_fn_append_rule "$ac_dir: libs/port"
7668 case $ac_dir in
7669 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7670 esac
7673 wine_fn_config_symlink ()
7675 ac_linkdir=
7676 if test "x$1" = "x-d"
7677 then
7678 ac_linkdir=$2
7679 shift; shift
7681 ac_links=$@
7682 wine_fn_append_rule \
7683 "$ac_links:
7684 @./config.status \$@
7685 distclean::
7686 \$(RM) $ac_links"
7687 for f in $ac_links; do wine_fn_ignore_file $f; done
7688 test -n "$ac_linkdir" || return
7689 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7692 wine_binary="wine"
7693 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7694 loader_programs="$wine_binary wine-installed"
7695 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7697 LOADER_RULES="
7698 all: wine.inf
7700 install install-lib:: wine-installed
7701 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7703 uninstall::
7704 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7708 case $host_os in
7709 cygwin*|mingw32*)
7710 if test -n "$ac_tool_prefix"; then
7711 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7712 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7714 $as_echo_n "checking for $ac_word... " >&6; }
7715 if ${ac_cv_prog_DLLTOOL+:} false; then :
7716 $as_echo_n "(cached) " >&6
7717 else
7718 if test -n "$DLLTOOL"; then
7719 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7720 else
7721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7722 for as_dir in $PATH
7724 IFS=$as_save_IFS
7725 test -z "$as_dir" && as_dir=.
7726 for ac_exec_ext in '' $ac_executable_extensions; do
7727 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7728 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7729 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7730 break 2
7732 done
7733 done
7734 IFS=$as_save_IFS
7738 DLLTOOL=$ac_cv_prog_DLLTOOL
7739 if test -n "$DLLTOOL"; then
7740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7741 $as_echo "$DLLTOOL" >&6; }
7742 else
7743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7744 $as_echo "no" >&6; }
7749 if test -z "$ac_cv_prog_DLLTOOL"; then
7750 ac_ct_DLLTOOL=$DLLTOOL
7751 # Extract the first word of "dlltool", so it can be a program name with args.
7752 set dummy dlltool; ac_word=$2
7753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7754 $as_echo_n "checking for $ac_word... " >&6; }
7755 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7756 $as_echo_n "(cached) " >&6
7757 else
7758 if test -n "$ac_ct_DLLTOOL"; then
7759 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7760 else
7761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7762 for as_dir in $PATH
7764 IFS=$as_save_IFS
7765 test -z "$as_dir" && as_dir=.
7766 for ac_exec_ext in '' $ac_executable_extensions; do
7767 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7768 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7769 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7770 break 2
7772 done
7773 done
7774 IFS=$as_save_IFS
7778 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7779 if test -n "$ac_ct_DLLTOOL"; then
7780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7781 $as_echo "$ac_ct_DLLTOOL" >&6; }
7782 else
7783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7784 $as_echo "no" >&6; }
7787 if test "x$ac_ct_DLLTOOL" = x; then
7788 DLLTOOL="false"
7789 else
7790 case $cross_compiling:$ac_tool_warned in
7791 yes:)
7792 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7793 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7794 ac_tool_warned=yes ;;
7795 esac
7796 DLLTOOL=$ac_ct_DLLTOOL
7798 else
7799 DLLTOOL="$ac_cv_prog_DLLTOOL"
7802 LIBEXT="dll"
7803 DLLEXT=""
7804 IMPLIBEXT="a"
7805 STATIC_IMPLIBEXT="a"
7806 enable_iphlpapi=${enable_iphlpapi:-no}
7807 enable_kernel32=${enable_kernel32:-no}
7808 enable_msvcrt=${enable_msvcrt:-no}
7809 enable_ntdll=${enable_ntdll:-no}
7810 enable_ws2_32=${enable_ws2_32:-no}
7811 enable_loader=${enable_loader:-no}
7812 enable_server=${enable_server:-no}
7813 with_x=${with_x:-no}
7814 with_pthread=${with_pthread:-no}
7816 crtlibs=""
7817 case $host_os in
7818 mingw32*)
7819 crtlibs="-lmsvcrt"
7820 SOCKET_LIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7822 esac
7824 libwine_targets="libwine.dll libwine.a"
7825 LIBWINE_RULES="
7826 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7828 all: libwine.dll libwine.a
7830 libwine.a: \$(srcdir)/wine.def
7831 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7833 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7834 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7836 install install-lib:: libwine.dll
7837 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7839 install install-dev:: libwine.a
7840 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7842 uninstall::
7843 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7848 darwin*|macosx*)
7849 LIBEXT="dylib"
7850 DLLFLAGS="$DLLFLAGS -fPIC"
7851 LIBWINE_LDFLAGS="-multiply_defined suppress"
7852 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7853 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7854 COREFOUNDATION_LIBS="-framework CoreFoundation"
7856 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7858 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7860 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7862 CORESERVICES_LIBS="-framework CoreServices"
7864 APPKIT_LIBS="-framework AppKit"
7866 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7868 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7869 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
7870 $as_echo_n "(cached) " >&6
7871 else
7872 ac_wine_try_cflags_saved=$CFLAGS
7873 CFLAGS="$CFLAGS -Wl,-no_pie"
7874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7875 /* end confdefs.h. */
7876 int main(int argc, char **argv) { return 0; }
7877 _ACEOF
7878 if ac_fn_c_try_link "$LINENO"; then :
7879 ac_cv_cflags__Wl__no_pie=yes
7880 else
7881 ac_cv_cflags__Wl__no_pie=no
7883 rm -f core conftest.err conftest.$ac_objext \
7884 conftest$ac_exeext conftest.$ac_ext
7885 CFLAGS=$ac_wine_try_cflags_saved
7887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7888 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7889 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
7890 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
7892 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7893 then
7894 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
7897 if test "$ac_cv_header_Security_Security_h" = "yes"
7898 then
7899 SECURITY_LIBS="-framework Security -framework CoreFoundation"
7901 ac_save_LIBS="$LIBS"
7902 LIBS="$LIBS $SECURITY_LIBS"
7903 for ac_func in SSLCopyPeerCertificates
7904 do :
7905 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7906 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
7907 cat >>confdefs.h <<_ACEOF
7908 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7909 _ACEOF
7912 done
7914 LIBS="$ac_save_LIBS"
7915 with_gnutls=${with_gnutls:-no}
7917 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7918 then
7919 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7920 then
7921 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7923 else
7924 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7927 ac_save_LIBS="$LIBS"
7928 LIBS="$LIBS $COREAUDIO_LIBS"
7929 for ac_func in AUGraphAddNode
7930 do :
7931 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7932 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
7933 cat >>confdefs.h <<_ACEOF
7934 #define HAVE_AUGRAPHADDNODE 1
7935 _ACEOF
7938 done
7940 LIBS="$ac_save_LIBS"
7942 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7943 then
7944 OPENAL_LIBS="-framework OpenAL"
7947 cat >>confdefs.h <<_ACEOF
7948 #define HAVE_OPENAL 1
7949 _ACEOF
7951 ac_cv_lib_openal=yes
7953 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7954 then
7955 OPENCL_LIBS="-framework OpenCL"
7957 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
7959 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7960 then
7961 ac_save_LIBS="$LIBS"
7962 LIBS="$LIBS $IOKIT_LIBS"
7963 for ac_func in IOHIDManagerCreate
7964 do :
7965 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7966 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
7967 cat >>confdefs.h <<_ACEOF
7968 #define HAVE_IOHIDMANAGERCREATE 1
7969 _ACEOF
7972 done
7974 LIBS="$ac_save_LIBS"
7976 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7977 then
7978 ac_save_LIBS="$LIBS"
7979 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
7980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
7981 $as_echo_n "checking for the QuickTime framework... " >&6; }
7982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7983 /* end confdefs.h. */
7984 #include <QuickTime/ImageCompression.h>
7986 main ()
7988 CodecManagerVersion(NULL);
7990 return 0;
7992 _ACEOF
7993 if ac_fn_c_try_link "$LINENO"; then :
7994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7995 $as_echo "yes" >&6; }
7996 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7998 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
7999 else
8000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8001 $as_echo "no" >&6; }
8002 ac_cv_header_QuickTime_ImageCompression_h=no
8004 rm -f core conftest.err conftest.$ac_objext \
8005 conftest$ac_exeext conftest.$ac_ext
8006 LIBS="$ac_save_LIBS"
8008 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8009 then
8010 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8012 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8013 then
8014 CARBON_LIBS="-framework Carbon"
8018 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8019 then
8020 ac_save_LIBS="$LIBS"
8021 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8022 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8023 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8024 enable_winemac_drv=${enable_winemac_drv:-yes}
8027 LIBS="$ac_save_LIBS"
8030 if test "x$enable_win16" = "xyes"
8031 then
8032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8033 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8034 if test "$cross_compiling" = yes; then :
8035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8036 $as_echo "cross-compiling, assuming yes" >&6; }
8037 else
8038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8039 /* end confdefs.h. */
8040 asm(".text\n"
8041 "bad:\tnop;nop\n"
8042 "good:\tnop;nop\n\t"
8043 ".globl _testfunc\n"
8044 "_testfunc:\tcallw good");
8045 extern void testfunc();
8047 main ()
8049 unsigned short *p = (unsigned short *)testfunc;
8050 return p[0] != 0xe866 || p[1] != 0xfffa
8052 return 0;
8054 _ACEOF
8055 if ac_fn_c_try_run "$LINENO"; then :
8056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8057 $as_echo "yes" >&6; }
8058 else
8059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8060 $as_echo "no" >&6; }
8061 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
8063 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8064 conftest.$ac_objext conftest.beam conftest.$ac_ext
8069 libwine_targets="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
8070 LIBWINE_RULES="
8071 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8073 all: libwine.dylib
8075 libwine.$libwine_version.dylib: \$(OBJS)
8076 \$(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 \$@
8078 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
8079 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
8081 libwine.dylib: libwine.$libwine_soversion.dylib
8082 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
8084 install install-lib:: libwine.$libwine_version.dylib
8085 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
8086 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
8088 install install-dev::
8089 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
8091 uninstall::
8092 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
8096 as_fn_append LOADER_RULES "
8097 $wine_binary: main.o wine_info.plist
8098 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8100 wine-installed: main.o wine_info.plist
8101 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8105 linux-android*)
8106 DLLFLAGS="$DLLFLAGS -fPIC"
8107 DLLPREFIX="lib"
8108 LDEXECFLAGS=""
8109 dlldir="\${libdir}"
8110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8111 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8112 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8113 $as_echo_n "(cached) " >&6
8114 else
8115 ac_wine_try_cflags_saved=$CFLAGS
8116 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8118 /* end confdefs.h. */
8119 int main(int argc, char **argv) { return 0; }
8120 _ACEOF
8121 if ac_fn_c_try_link "$LINENO"; then :
8122 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8123 else
8124 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8126 rm -f core conftest.err conftest.$ac_objext \
8127 conftest$ac_exeext conftest.$ac_ext
8128 CFLAGS=$ac_wine_try_cflags_saved
8130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8131 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8132 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8133 LDEXECFLAGS="-Wl,--export-dynamic"
8135 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8137 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8138 if eval \${$as_ac_var+:} false; then :
8139 $as_echo_n "(cached) " >&6
8140 else
8141 ac_wine_try_cflags_saved=$CFLAGS
8142 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8144 /* end confdefs.h. */
8145 int main(int argc, char **argv) { return 0; }
8146 _ACEOF
8147 if ac_fn_c_try_link "$LINENO"; then :
8148 eval "$as_ac_var=yes"
8149 else
8150 eval "$as_ac_var=no"
8152 rm -f core conftest.err conftest.$ac_objext \
8153 conftest$ac_exeext conftest.$ac_ext
8154 CFLAGS=$ac_wine_try_cflags_saved
8156 eval ac_res=\$$as_ac_var
8157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8158 $as_echo "$ac_res" >&6; }
8159 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8160 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8161 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8162 else
8163 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8165 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8166 if eval \${$as_ac_var+:} false; then :
8167 $as_echo_n "(cached) " >&6
8168 else
8169 ac_wine_try_cflags_saved=$CFLAGS
8170 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8172 /* end confdefs.h. */
8173 int main(int argc, char **argv) { return 0; }
8174 _ACEOF
8175 if ac_fn_c_try_link "$LINENO"; then :
8176 eval "$as_ac_var=yes"
8177 else
8178 eval "$as_ac_var=no"
8180 rm -f core conftest.err conftest.$ac_objext \
8181 conftest$ac_exeext conftest.$ac_ext
8182 CFLAGS=$ac_wine_try_cflags_saved
8184 eval ac_res=\$$as_ac_var
8185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8186 $as_echo "$ac_res" >&6; }
8187 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8188 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8189 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8194 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8195 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8196 $as_echo_n "(cached) " >&6
8197 else
8198 ac_wine_try_cflags_saved=$CFLAGS
8199 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8201 /* end confdefs.h. */
8202 int main(int argc, char **argv) { return 0; }
8203 _ACEOF
8204 if ac_fn_c_try_link "$LINENO"; then :
8205 ac_cv_cflags__Wl___enable_new_dtags=yes
8206 else
8207 ac_cv_cflags__Wl___enable_new_dtags=no
8209 rm -f core conftest.err conftest.$ac_objext \
8210 conftest$ac_exeext conftest.$ac_ext
8211 CFLAGS=$ac_wine_try_cflags_saved
8213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8214 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8215 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8216 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8219 case $host_cpu in
8220 *i[3456789]86* | x86_64)
8221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8222 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8223 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8224 $as_echo_n "(cached) " >&6
8225 else
8226 ac_wine_try_cflags_saved=$CFLAGS
8227 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8229 /* end confdefs.h. */
8230 int main(int argc, char **argv) { return 0; }
8231 _ACEOF
8232 if ac_fn_c_try_link "$LINENO"; then :
8233 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8234 else
8235 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8237 rm -f core conftest.err conftest.$ac_objext \
8238 conftest$ac_exeext conftest.$ac_ext
8239 CFLAGS=$ac_wine_try_cflags_saved
8241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8242 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8243 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8244 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8247 esac
8249 libwine_targets="libwine.so"
8250 LIBWINE_RULES="
8251 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8253 all: libwine.so
8255 libwine.so: \$(OBJS)
8256 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8258 install install-lib:: libwine.so
8259 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8261 uninstall::
8262 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8266 as_fn_append LOADER_RULES "
8267 $wine_binary: main.o
8268 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8270 wine-installed: main.o
8271 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8276 DLLFLAGS="$DLLFLAGS -fPIC"
8277 LDEXECFLAGS=""
8278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8279 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8280 if ${ac_cv_c_dll_gnuelf+:} false; then :
8281 $as_echo_n "(cached) " >&6
8282 else
8283 ac_wine_try_cflags_saved=$CFLAGS
8284 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8286 /* end confdefs.h. */
8287 void myfunc() {}
8288 _ACEOF
8289 if ac_fn_c_try_link "$LINENO"; then :
8290 ac_cv_c_dll_gnuelf="yes"
8291 else
8292 ac_cv_c_dll_gnuelf="no"
8294 rm -f core conftest.err conftest.$ac_objext \
8295 conftest$ac_exeext conftest.$ac_ext
8296 CFLAGS=$ac_wine_try_cflags_saved
8298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8299 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8300 if test "$ac_cv_c_dll_gnuelf" = "yes"
8301 then
8302 LDSHARED="\$(CC) -shared"
8303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8304 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8305 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8306 $as_echo_n "(cached) " >&6
8307 else
8308 ac_wine_try_cflags_saved=$CFLAGS
8309 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8311 /* end confdefs.h. */
8312 int main(int argc, char **argv) { return 0; }
8313 _ACEOF
8314 if ac_fn_c_try_link "$LINENO"; then :
8315 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8316 else
8317 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8319 rm -f core conftest.err conftest.$ac_objext \
8320 conftest$ac_exeext conftest.$ac_ext
8321 CFLAGS=$ac_wine_try_cflags_saved
8323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8324 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8325 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8326 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8327 else
8328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8329 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8330 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8331 $as_echo_n "(cached) " >&6
8332 else
8333 ac_wine_try_cflags_saved=$CFLAGS
8334 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8336 /* end confdefs.h. */
8337 int main(int argc, char **argv) { return 0; }
8338 _ACEOF
8339 if ac_fn_c_try_link "$LINENO"; then :
8340 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8341 else
8342 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8344 rm -f core conftest.err conftest.$ac_objext \
8345 conftest$ac_exeext conftest.$ac_ext
8346 CFLAGS=$ac_wine_try_cflags_saved
8348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8349 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8350 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8351 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8355 echo '{ global: *; };' >conftest.map
8356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8357 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8358 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8359 $as_echo_n "(cached) " >&6
8360 else
8361 ac_wine_try_cflags_saved=$CFLAGS
8362 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8364 /* end confdefs.h. */
8365 int main(int argc, char **argv) { return 0; }
8366 _ACEOF
8367 if ac_fn_c_try_link "$LINENO"; then :
8368 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8369 else
8370 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8372 rm -f core conftest.err conftest.$ac_objext \
8373 conftest$ac_exeext conftest.$ac_ext
8374 CFLAGS=$ac_wine_try_cflags_saved
8376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8377 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8378 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8379 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8381 rm -f conftest.map
8383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8384 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8385 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8386 $as_echo_n "(cached) " >&6
8387 else
8388 ac_wine_try_cflags_saved=$CFLAGS
8389 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8391 /* end confdefs.h. */
8392 int main(int argc, char **argv) { return 0; }
8393 _ACEOF
8394 if ac_fn_c_try_link "$LINENO"; then :
8395 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8396 else
8397 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8399 rm -f core conftest.err conftest.$ac_objext \
8400 conftest$ac_exeext conftest.$ac_ext
8401 CFLAGS=$ac_wine_try_cflags_saved
8403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8404 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8405 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8406 LDEXECFLAGS="-Wl,--export-dynamic"
8409 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8411 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8412 if eval \${$as_ac_var+:} false; then :
8413 $as_echo_n "(cached) " >&6
8414 else
8415 ac_wine_try_cflags_saved=$CFLAGS
8416 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8418 /* end confdefs.h. */
8419 int main(int argc, char **argv) { return 0; }
8420 _ACEOF
8421 if ac_fn_c_try_link "$LINENO"; then :
8422 eval "$as_ac_var=yes"
8423 else
8424 eval "$as_ac_var=no"
8426 rm -f core conftest.err conftest.$ac_objext \
8427 conftest$ac_exeext conftest.$ac_ext
8428 CFLAGS=$ac_wine_try_cflags_saved
8430 eval ac_res=\$$as_ac_var
8431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8432 $as_echo "$ac_res" >&6; }
8433 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8434 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8435 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8436 else
8437 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8439 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8440 if eval \${$as_ac_var+:} false; then :
8441 $as_echo_n "(cached) " >&6
8442 else
8443 ac_wine_try_cflags_saved=$CFLAGS
8444 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8446 /* end confdefs.h. */
8447 int main(int argc, char **argv) { return 0; }
8448 _ACEOF
8449 if ac_fn_c_try_link "$LINENO"; then :
8450 eval "$as_ac_var=yes"
8451 else
8452 eval "$as_ac_var=no"
8454 rm -f core conftest.err conftest.$ac_objext \
8455 conftest$ac_exeext conftest.$ac_ext
8456 CFLAGS=$ac_wine_try_cflags_saved
8458 eval ac_res=\$$as_ac_var
8459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8460 $as_echo "$ac_res" >&6; }
8461 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8462 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8463 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8468 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8469 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8470 $as_echo_n "(cached) " >&6
8471 else
8472 ac_wine_try_cflags_saved=$CFLAGS
8473 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8475 /* end confdefs.h. */
8476 int main(int argc, char **argv) { return 0; }
8477 _ACEOF
8478 if ac_fn_c_try_link "$LINENO"; then :
8479 ac_cv_cflags__Wl___enable_new_dtags=yes
8480 else
8481 ac_cv_cflags__Wl___enable_new_dtags=no
8483 rm -f core conftest.err conftest.$ac_objext \
8484 conftest$ac_exeext conftest.$ac_ext
8485 CFLAGS=$ac_wine_try_cflags_saved
8487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8488 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8489 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8490 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8493 case $host_cpu in
8494 *i[3456789]86* | x86_64)
8495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8496 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8497 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8498 $as_echo_n "(cached) " >&6
8499 else
8500 ac_wine_try_cflags_saved=$CFLAGS
8501 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8503 /* end confdefs.h. */
8504 int main(int argc, char **argv) { return 0; }
8505 _ACEOF
8506 if ac_fn_c_try_link "$LINENO"; then :
8507 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8508 else
8509 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8511 rm -f core conftest.err conftest.$ac_objext \
8512 conftest$ac_exeext conftest.$ac_ext
8513 CFLAGS=$ac_wine_try_cflags_saved
8515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8516 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8517 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8518 case $host_os in
8519 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8520 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8521 esac
8524 # Extract the first word of "prelink", so it can be a program name with args.
8525 set dummy prelink; ac_word=$2
8526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8527 $as_echo_n "checking for $ac_word... " >&6; }
8528 if ${ac_cv_path_PRELINK+:} false; then :
8529 $as_echo_n "(cached) " >&6
8530 else
8531 case $PRELINK in
8532 [\\/]* | ?:[\\/]*)
8533 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8537 for as_dir in /sbin /usr/sbin $PATH
8539 IFS=$as_save_IFS
8540 test -z "$as_dir" && as_dir=.
8541 for ac_exec_ext in '' $ac_executable_extensions; do
8542 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8543 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8544 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8545 break 2
8547 done
8548 done
8549 IFS=$as_save_IFS
8551 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8553 esac
8555 PRELINK=$ac_cv_path_PRELINK
8556 if test -n "$PRELINK"; then
8557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8558 $as_echo "$PRELINK" >&6; }
8559 else
8560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8561 $as_echo "no" >&6; }
8565 if test "x$PRELINK" = xfalse
8566 then
8567 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
8570 esac
8572 else
8573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8574 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8575 if ${ac_cv_c_dll_unixware+:} false; then :
8576 $as_echo_n "(cached) " >&6
8577 else
8578 ac_wine_try_cflags_saved=$CFLAGS
8579 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8581 /* end confdefs.h. */
8582 void myfunc() {}
8583 _ACEOF
8584 if ac_fn_c_try_link "$LINENO"; then :
8585 ac_cv_c_dll_unixware="yes"
8586 else
8587 ac_cv_c_dll_unixware="no"
8589 rm -f core conftest.err conftest.$ac_objext \
8590 conftest$ac_exeext conftest.$ac_ext
8591 CFLAGS=$ac_wine_try_cflags_saved
8593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8594 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8595 if test "$ac_cv_c_dll_unixware" = "yes"
8596 then
8597 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8600 libwine_targets="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8601 LIBWINE_RULES="
8602 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8604 all: libwine.so
8606 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8607 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8609 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8610 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8612 libwine.so: libwine.so.$libwine_soversion
8613 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8615 install install-lib:: libwine.so.$libwine_version
8616 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8617 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8619 install install-dev::
8620 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8622 uninstall::
8623 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8627 as_fn_append LOADER_RULES "
8628 $wine_binary: main.o
8629 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8631 wine-installed: main.o
8632 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8635 esac
8637 as_fn_append LIBWINE_RULES "
8638 EXTRA_TARGETS = $libwine_targets
8641 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8642 enable_winemac_drv=${enable_winemac_drv:-no}
8644 CROSSTARGET=""
8646 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8647 then
8648 case "$host_cpu" in
8649 i[3456789]86*)
8650 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
8651 mingw32-gcc" ;;
8652 x86_64)
8653 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 " ;;
8655 ac_prefix_list="" ;;
8656 esac
8657 for ac_prog in $ac_prefix_list
8659 # Extract the first word of "$ac_prog", so it can be a program name with args.
8660 set dummy $ac_prog; ac_word=$2
8661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8662 $as_echo_n "checking for $ac_word... " >&6; }
8663 if ${ac_cv_prog_CROSSCC+:} false; then :
8664 $as_echo_n "(cached) " >&6
8665 else
8666 if test -n "$CROSSCC"; then
8667 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8668 else
8669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8670 for as_dir in $PATH
8672 IFS=$as_save_IFS
8673 test -z "$as_dir" && as_dir=.
8674 for ac_exec_ext in '' $ac_executable_extensions; do
8675 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8676 ac_cv_prog_CROSSCC="$ac_prog"
8677 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8678 break 2
8680 done
8681 done
8682 IFS=$as_save_IFS
8686 CROSSCC=$ac_cv_prog_CROSSCC
8687 if test -n "$CROSSCC"; then
8688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8689 $as_echo "$CROSSCC" >&6; }
8690 else
8691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8692 $as_echo "no" >&6; }
8696 test -n "$CROSSCC" && break
8697 done
8698 test -n "$CROSSCC" || CROSSCC="false"
8700 if test "$CROSSCC" != "false"
8701 then
8702 ac_save_CC="$CC"
8703 CC="$CROSSCC"
8704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8705 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8707 /* end confdefs.h. */
8710 main ()
8714 return 0;
8716 _ACEOF
8717 if ac_fn_c_try_compile "$LINENO"; then :
8718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8719 $as_echo "yes" >&6; }
8720 set x $CROSSCC
8721 shift
8722 while test $# -ge 1
8724 case "$1" in
8725 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8726 esac
8727 shift
8728 done
8729 else
8730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8731 $as_echo "no" >&6; }
8733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8734 CC="$ac_save_CC"
8739 if test "$ac_cv_header_pthread_h" = "yes"
8740 then
8741 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8742 if test "x$ac_cv_func_pthread_create" = xyes; then :
8744 else
8745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8746 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8747 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8748 $as_echo_n "(cached) " >&6
8749 else
8750 ac_check_lib_save_LIBS=$LIBS
8751 LIBS="-lpthread $LIBS"
8752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8753 /* end confdefs.h. */
8755 /* Override any GCC internal prototype to avoid an error.
8756 Use char because int might match the return type of a GCC
8757 builtin and then its argument prototype would still apply. */
8758 #ifdef __cplusplus
8759 extern "C"
8760 #endif
8761 char pthread_create ();
8763 main ()
8765 return pthread_create ();
8767 return 0;
8769 _ACEOF
8770 if ac_fn_c_try_link "$LINENO"; then :
8771 ac_cv_lib_pthread_pthread_create=yes
8772 else
8773 ac_cv_lib_pthread_pthread_create=no
8775 rm -f core conftest.err conftest.$ac_objext \
8776 conftest$ac_exeext conftest.$ac_ext
8777 LIBS=$ac_check_lib_save_LIBS
8779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8780 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8781 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8782 PTHREAD_LIBS="-lpthread"
8789 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8790 case "x$with_pthread" in
8791 xno) ;;
8792 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8793 Wine cannot support threads without libpthread.
8794 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8795 esac
8799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8800 $as_echo_n "checking for X... " >&6; }
8803 # Check whether --with-x was given.
8804 if test "${with_x+set}" = set; then :
8805 withval=$with_x;
8808 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8809 if test "x$with_x" = xno; then
8810 # The user explicitly disabled X.
8811 have_x=disabled
8812 else
8813 case $x_includes,$x_libraries in #(
8814 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8815 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8816 $as_echo_n "(cached) " >&6
8817 else
8818 # One or both of the vars are not set, and there is no cached value.
8819 ac_x_includes=no ac_x_libraries=no
8820 rm -f -r conftest.dir
8821 if mkdir conftest.dir; then
8822 cd conftest.dir
8823 cat >Imakefile <<'_ACEOF'
8824 incroot:
8825 @echo incroot='${INCROOT}'
8826 usrlibdir:
8827 @echo usrlibdir='${USRLIBDIR}'
8828 libdir:
8829 @echo libdir='${LIBDIR}'
8830 _ACEOF
8831 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8832 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8833 for ac_var in incroot usrlibdir libdir; do
8834 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8835 done
8836 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8837 for ac_extension in a so sl dylib la dll; do
8838 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8839 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8840 ac_im_usrlibdir=$ac_im_libdir; break
8842 done
8843 # Screen out bogus values from the imake configuration. They are
8844 # bogus both because they are the default anyway, and because
8845 # using them would break gcc on systems where it needs fixed includes.
8846 case $ac_im_incroot in
8847 /usr/include) ac_x_includes= ;;
8848 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8849 esac
8850 case $ac_im_usrlibdir in
8851 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8852 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8853 esac
8855 cd ..
8856 rm -f -r conftest.dir
8859 # Standard set of common directories for X headers.
8860 # Check X11 before X11Rn because it is often a symlink to the current release.
8861 ac_x_header_dirs='
8862 /usr/X11/include
8863 /usr/X11R7/include
8864 /usr/X11R6/include
8865 /usr/X11R5/include
8866 /usr/X11R4/include
8868 /usr/include/X11
8869 /usr/include/X11R7
8870 /usr/include/X11R6
8871 /usr/include/X11R5
8872 /usr/include/X11R4
8874 /usr/local/X11/include
8875 /usr/local/X11R7/include
8876 /usr/local/X11R6/include
8877 /usr/local/X11R5/include
8878 /usr/local/X11R4/include
8880 /usr/local/include/X11
8881 /usr/local/include/X11R7
8882 /usr/local/include/X11R6
8883 /usr/local/include/X11R5
8884 /usr/local/include/X11R4
8886 /usr/X386/include
8887 /usr/x386/include
8888 /usr/XFree86/include/X11
8890 /usr/include
8891 /usr/local/include
8892 /usr/unsupported/include
8893 /usr/athena/include
8894 /usr/local/x11r5/include
8895 /usr/lpp/Xamples/include
8897 /usr/openwin/include
8898 /usr/openwin/share/include'
8900 if test "$ac_x_includes" = no; then
8901 # Guess where to find include files, by looking for Xlib.h.
8902 # First, try using that file with no special directory specified.
8903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8904 /* end confdefs.h. */
8905 #include <X11/Xlib.h>
8906 _ACEOF
8907 if ac_fn_c_try_cpp "$LINENO"; then :
8908 # We can compile using X headers with no special include directory.
8909 ac_x_includes=
8910 else
8911 for ac_dir in $ac_x_header_dirs; do
8912 if test -r "$ac_dir/X11/Xlib.h"; then
8913 ac_x_includes=$ac_dir
8914 break
8916 done
8918 rm -f conftest.err conftest.i conftest.$ac_ext
8919 fi # $ac_x_includes = no
8921 if test "$ac_x_libraries" = no; then
8922 # Check for the libraries.
8923 # See if we find them without any special options.
8924 # Don't add to $LIBS permanently.
8925 ac_save_LIBS=$LIBS
8926 LIBS="-lX11 $LIBS"
8927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8928 /* end confdefs.h. */
8929 #include <X11/Xlib.h>
8931 main ()
8933 XrmInitialize ()
8935 return 0;
8937 _ACEOF
8938 if ac_fn_c_try_link "$LINENO"; then :
8939 LIBS=$ac_save_LIBS
8940 # We can link X programs with no special library path.
8941 ac_x_libraries=
8942 else
8943 LIBS=$ac_save_LIBS
8944 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8946 # Don't even attempt the hair of trying to link an X program!
8947 for ac_extension in a so sl dylib la dll; do
8948 if test -r "$ac_dir/libX11.$ac_extension"; then
8949 ac_x_libraries=$ac_dir
8950 break 2
8952 done
8953 done
8955 rm -f core conftest.err conftest.$ac_objext \
8956 conftest$ac_exeext conftest.$ac_ext
8957 fi # $ac_x_libraries = no
8959 case $ac_x_includes,$ac_x_libraries in #(
8960 no,* | *,no | *\'*)
8961 # Didn't find X, or a directory has "'" in its name.
8962 ac_cv_have_x="have_x=no";; #(
8964 # Record where we found X for the cache.
8965 ac_cv_have_x="have_x=yes\
8966 ac_x_includes='$ac_x_includes'\
8967 ac_x_libraries='$ac_x_libraries'"
8968 esac
8970 ;; #(
8971 *) have_x=yes;;
8972 esac
8973 eval "$ac_cv_have_x"
8974 fi # $with_x != no
8976 if test "$have_x" != yes; then
8977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8978 $as_echo "$have_x" >&6; }
8979 no_x=yes
8980 else
8981 # If each of the values was on the command line, it overrides each guess.
8982 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
8983 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
8984 # Update the cache value to reflect the command line values.
8985 ac_cv_have_x="have_x=yes\
8986 ac_x_includes='$x_includes'\
8987 ac_x_libraries='$x_libraries'"
8988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8989 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8992 if test "$no_x" = yes; then
8993 # Not all programs may use this symbol, but it does not hurt to define it.
8995 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8997 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
8998 else
8999 if test -n "$x_includes"; then
9000 X_CFLAGS="$X_CFLAGS -I$x_includes"
9003 # It would also be nice to do this for all -L options, not just this one.
9004 if test -n "$x_libraries"; then
9005 X_LIBS="$X_LIBS -L$x_libraries"
9006 # For Solaris; some versions of Sun CC require a space after -R and
9007 # others require no space. Words are not sufficient . . . .
9008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9009 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9010 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9011 ac_xsave_c_werror_flag=$ac_c_werror_flag
9012 ac_c_werror_flag=yes
9013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9014 /* end confdefs.h. */
9017 main ()
9021 return 0;
9023 _ACEOF
9024 if ac_fn_c_try_link "$LINENO"; then :
9025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9026 $as_echo "no" >&6; }
9027 X_LIBS="$X_LIBS -R$x_libraries"
9028 else
9029 LIBS="$ac_xsave_LIBS -R $x_libraries"
9030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9031 /* end confdefs.h. */
9034 main ()
9038 return 0;
9040 _ACEOF
9041 if ac_fn_c_try_link "$LINENO"; then :
9042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9043 $as_echo "yes" >&6; }
9044 X_LIBS="$X_LIBS -R $x_libraries"
9045 else
9046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9047 $as_echo "neither works" >&6; }
9049 rm -f core conftest.err conftest.$ac_objext \
9050 conftest$ac_exeext conftest.$ac_ext
9052 rm -f core conftest.err conftest.$ac_objext \
9053 conftest$ac_exeext conftest.$ac_ext
9054 ac_c_werror_flag=$ac_xsave_c_werror_flag
9055 LIBS=$ac_xsave_LIBS
9058 # Check for system-dependent libraries X programs must link with.
9059 # Do this before checking for the system-independent R6 libraries
9060 # (-lICE), since we may need -lsocket or whatever for X linking.
9062 if test "$ISC" = yes; then
9063 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9064 else
9065 # Martyn Johnson says this is needed for Ultrix, if the X
9066 # libraries were built with DECnet support. And Karl Berry says
9067 # the Alpha needs dnet_stub (dnet does not exist).
9068 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9070 /* end confdefs.h. */
9072 /* Override any GCC internal prototype to avoid an error.
9073 Use char because int might match the return type of a GCC
9074 builtin and then its argument prototype would still apply. */
9075 #ifdef __cplusplus
9076 extern "C"
9077 #endif
9078 char XOpenDisplay ();
9080 main ()
9082 return XOpenDisplay ();
9084 return 0;
9086 _ACEOF
9087 if ac_fn_c_try_link "$LINENO"; then :
9089 else
9090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9091 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9092 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9093 $as_echo_n "(cached) " >&6
9094 else
9095 ac_check_lib_save_LIBS=$LIBS
9096 LIBS="-ldnet $LIBS"
9097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9098 /* end confdefs.h. */
9100 /* Override any GCC internal prototype to avoid an error.
9101 Use char because int might match the return type of a GCC
9102 builtin and then its argument prototype would still apply. */
9103 #ifdef __cplusplus
9104 extern "C"
9105 #endif
9106 char dnet_ntoa ();
9108 main ()
9110 return dnet_ntoa ();
9112 return 0;
9114 _ACEOF
9115 if ac_fn_c_try_link "$LINENO"; then :
9116 ac_cv_lib_dnet_dnet_ntoa=yes
9117 else
9118 ac_cv_lib_dnet_dnet_ntoa=no
9120 rm -f core conftest.err conftest.$ac_objext \
9121 conftest$ac_exeext conftest.$ac_ext
9122 LIBS=$ac_check_lib_save_LIBS
9124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9125 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9126 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9127 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9130 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9132 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9133 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9134 $as_echo_n "(cached) " >&6
9135 else
9136 ac_check_lib_save_LIBS=$LIBS
9137 LIBS="-ldnet_stub $LIBS"
9138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9139 /* end confdefs.h. */
9141 /* Override any GCC internal prototype to avoid an error.
9142 Use char because int might match the return type of a GCC
9143 builtin and then its argument prototype would still apply. */
9144 #ifdef __cplusplus
9145 extern "C"
9146 #endif
9147 char dnet_ntoa ();
9149 main ()
9151 return dnet_ntoa ();
9153 return 0;
9155 _ACEOF
9156 if ac_fn_c_try_link "$LINENO"; then :
9157 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9158 else
9159 ac_cv_lib_dnet_stub_dnet_ntoa=no
9161 rm -f core conftest.err conftest.$ac_objext \
9162 conftest$ac_exeext conftest.$ac_ext
9163 LIBS=$ac_check_lib_save_LIBS
9165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9166 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9167 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9168 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9173 rm -f core conftest.err conftest.$ac_objext \
9174 conftest$ac_exeext conftest.$ac_ext
9175 LIBS="$ac_xsave_LIBS"
9177 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9178 # to get the SysV transport functions.
9179 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9180 # needs -lnsl.
9181 # The nsl library prevents programs from opening the X display
9182 # on Irix 5.2, according to T.E. Dickey.
9183 # The functions gethostbyname, getservbyname, and inet_addr are
9184 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9185 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9186 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9190 if test $ac_cv_func_gethostbyname = no; then
9191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9192 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9193 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9194 $as_echo_n "(cached) " >&6
9195 else
9196 ac_check_lib_save_LIBS=$LIBS
9197 LIBS="-lnsl $LIBS"
9198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9199 /* end confdefs.h. */
9201 /* Override any GCC internal prototype to avoid an error.
9202 Use char because int might match the return type of a GCC
9203 builtin and then its argument prototype would still apply. */
9204 #ifdef __cplusplus
9205 extern "C"
9206 #endif
9207 char gethostbyname ();
9209 main ()
9211 return gethostbyname ();
9213 return 0;
9215 _ACEOF
9216 if ac_fn_c_try_link "$LINENO"; then :
9217 ac_cv_lib_nsl_gethostbyname=yes
9218 else
9219 ac_cv_lib_nsl_gethostbyname=no
9221 rm -f core conftest.err conftest.$ac_objext \
9222 conftest$ac_exeext conftest.$ac_ext
9223 LIBS=$ac_check_lib_save_LIBS
9225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9226 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9227 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9228 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9231 if test $ac_cv_lib_nsl_gethostbyname = no; then
9232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9233 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9234 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9235 $as_echo_n "(cached) " >&6
9236 else
9237 ac_check_lib_save_LIBS=$LIBS
9238 LIBS="-lbsd $LIBS"
9239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9240 /* end confdefs.h. */
9242 /* Override any GCC internal prototype to avoid an error.
9243 Use char because int might match the return type of a GCC
9244 builtin and then its argument prototype would still apply. */
9245 #ifdef __cplusplus
9246 extern "C"
9247 #endif
9248 char gethostbyname ();
9250 main ()
9252 return gethostbyname ();
9254 return 0;
9256 _ACEOF
9257 if ac_fn_c_try_link "$LINENO"; then :
9258 ac_cv_lib_bsd_gethostbyname=yes
9259 else
9260 ac_cv_lib_bsd_gethostbyname=no
9262 rm -f core conftest.err conftest.$ac_objext \
9263 conftest$ac_exeext conftest.$ac_ext
9264 LIBS=$ac_check_lib_save_LIBS
9266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9267 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9268 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9269 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9275 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9276 # socket/setsockopt and other routines are undefined under SCO ODT
9277 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9278 # on later versions), says Simon Leinen: it contains gethostby*
9279 # variants that don't use the name server (or something). -lsocket
9280 # must be given before -lnsl if both are needed. We assume that
9281 # if connect needs -lnsl, so does gethostbyname.
9282 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9283 if test "x$ac_cv_func_connect" = xyes; then :
9287 if test $ac_cv_func_connect = no; then
9288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9289 $as_echo_n "checking for connect in -lsocket... " >&6; }
9290 if ${ac_cv_lib_socket_connect+:} false; then :
9291 $as_echo_n "(cached) " >&6
9292 else
9293 ac_check_lib_save_LIBS=$LIBS
9294 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9296 /* end confdefs.h. */
9298 /* Override any GCC internal prototype to avoid an error.
9299 Use char because int might match the return type of a GCC
9300 builtin and then its argument prototype would still apply. */
9301 #ifdef __cplusplus
9302 extern "C"
9303 #endif
9304 char connect ();
9306 main ()
9308 return connect ();
9310 return 0;
9312 _ACEOF
9313 if ac_fn_c_try_link "$LINENO"; then :
9314 ac_cv_lib_socket_connect=yes
9315 else
9316 ac_cv_lib_socket_connect=no
9318 rm -f core conftest.err conftest.$ac_objext \
9319 conftest$ac_exeext conftest.$ac_ext
9320 LIBS=$ac_check_lib_save_LIBS
9322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9323 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9324 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9325 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9330 # Guillermo Gomez says -lposix is necessary on A/UX.
9331 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9332 if test "x$ac_cv_func_remove" = xyes; then :
9336 if test $ac_cv_func_remove = no; then
9337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9338 $as_echo_n "checking for remove in -lposix... " >&6; }
9339 if ${ac_cv_lib_posix_remove+:} false; then :
9340 $as_echo_n "(cached) " >&6
9341 else
9342 ac_check_lib_save_LIBS=$LIBS
9343 LIBS="-lposix $LIBS"
9344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9345 /* end confdefs.h. */
9347 /* Override any GCC internal prototype to avoid an error.
9348 Use char because int might match the return type of a GCC
9349 builtin and then its argument prototype would still apply. */
9350 #ifdef __cplusplus
9351 extern "C"
9352 #endif
9353 char remove ();
9355 main ()
9357 return remove ();
9359 return 0;
9361 _ACEOF
9362 if ac_fn_c_try_link "$LINENO"; then :
9363 ac_cv_lib_posix_remove=yes
9364 else
9365 ac_cv_lib_posix_remove=no
9367 rm -f core conftest.err conftest.$ac_objext \
9368 conftest$ac_exeext conftest.$ac_ext
9369 LIBS=$ac_check_lib_save_LIBS
9371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9372 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9373 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9374 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9379 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9380 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9381 if test "x$ac_cv_func_shmat" = xyes; then :
9385 if test $ac_cv_func_shmat = no; then
9386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9387 $as_echo_n "checking for shmat in -lipc... " >&6; }
9388 if ${ac_cv_lib_ipc_shmat+:} false; then :
9389 $as_echo_n "(cached) " >&6
9390 else
9391 ac_check_lib_save_LIBS=$LIBS
9392 LIBS="-lipc $LIBS"
9393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9394 /* end confdefs.h. */
9396 /* Override any GCC internal prototype to avoid an error.
9397 Use char because int might match the return type of a GCC
9398 builtin and then its argument prototype would still apply. */
9399 #ifdef __cplusplus
9400 extern "C"
9401 #endif
9402 char shmat ();
9404 main ()
9406 return shmat ();
9408 return 0;
9410 _ACEOF
9411 if ac_fn_c_try_link "$LINENO"; then :
9412 ac_cv_lib_ipc_shmat=yes
9413 else
9414 ac_cv_lib_ipc_shmat=no
9416 rm -f core conftest.err conftest.$ac_objext \
9417 conftest$ac_exeext conftest.$ac_ext
9418 LIBS=$ac_check_lib_save_LIBS
9420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9421 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9422 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9423 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9429 # Check for libraries that X11R6 Xt/Xaw programs need.
9430 ac_save_LDFLAGS=$LDFLAGS
9431 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9432 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9433 # check for ICE first), but we must link in the order -lSM -lICE or
9434 # we get undefined symbols. So assume we have SM if we have ICE.
9435 # These have to be linked with before -lX11, unlike the other
9436 # libraries we check for below, so use a different variable.
9437 # John Interrante, Karl Berry
9438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9439 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9440 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9441 $as_echo_n "(cached) " >&6
9442 else
9443 ac_check_lib_save_LIBS=$LIBS
9444 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9446 /* end confdefs.h. */
9448 /* Override any GCC internal prototype to avoid an error.
9449 Use char because int might match the return type of a GCC
9450 builtin and then its argument prototype would still apply. */
9451 #ifdef __cplusplus
9452 extern "C"
9453 #endif
9454 char IceConnectionNumber ();
9456 main ()
9458 return IceConnectionNumber ();
9460 return 0;
9462 _ACEOF
9463 if ac_fn_c_try_link "$LINENO"; then :
9464 ac_cv_lib_ICE_IceConnectionNumber=yes
9465 else
9466 ac_cv_lib_ICE_IceConnectionNumber=no
9468 rm -f core conftest.err conftest.$ac_objext \
9469 conftest$ac_exeext conftest.$ac_ext
9470 LIBS=$ac_check_lib_save_LIBS
9472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9473 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9474 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9475 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9478 LDFLAGS=$ac_save_LDFLAGS
9483 if test "$have_x" = "yes"
9484 then
9485 ac_save_CPPFLAGS="$CPPFLAGS"
9486 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9489 $as_echo_n "checking for -lX11... " >&6; }
9490 if ${ac_cv_lib_soname_X11+:} false; then :
9491 $as_echo_n "(cached) " >&6
9492 else
9493 ac_check_soname_save_LIBS=$LIBS
9494 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9496 /* end confdefs.h. */
9498 /* Override any GCC internal prototype to avoid an error.
9499 Use char because int might match the return type of a GCC
9500 builtin and then its argument prototype would still apply. */
9501 #ifdef __cplusplus
9502 extern "C"
9503 #endif
9504 char XCreateWindow ();
9506 main ()
9508 return XCreateWindow ();
9510 return 0;
9512 _ACEOF
9513 if ac_fn_c_try_link "$LINENO"; then :
9514 case "$LIBEXT" in
9515 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9516 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'` ;;
9517 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9518 if ${ac_cv_lib_soname_X11:+false} :; then :
9519 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9520 fi ;;
9521 esac
9523 rm -f core conftest.err conftest.$ac_objext \
9524 conftest$ac_exeext conftest.$ac_ext
9525 LIBS=$ac_check_soname_save_LIBS
9527 if ${ac_cv_lib_soname_X11:+false} :; then :
9528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9529 $as_echo "not found" >&6; }
9531 else
9532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9533 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9535 cat >>confdefs.h <<_ACEOF
9536 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9537 _ACEOF
9541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9542 $as_echo_n "checking for -lXext... " >&6; }
9543 if ${ac_cv_lib_soname_Xext+:} false; then :
9544 $as_echo_n "(cached) " >&6
9545 else
9546 ac_check_soname_save_LIBS=$LIBS
9547 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9549 /* end confdefs.h. */
9551 /* Override any GCC internal prototype to avoid an error.
9552 Use char because int might match the return type of a GCC
9553 builtin and then its argument prototype would still apply. */
9554 #ifdef __cplusplus
9555 extern "C"
9556 #endif
9557 char XextCreateExtension ();
9559 main ()
9561 return XextCreateExtension ();
9563 return 0;
9565 _ACEOF
9566 if ac_fn_c_try_link "$LINENO"; then :
9567 case "$LIBEXT" in
9568 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9569 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'` ;;
9570 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9571 if ${ac_cv_lib_soname_Xext:+false} :; then :
9572 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9573 fi ;;
9574 esac
9576 rm -f core conftest.err conftest.$ac_objext \
9577 conftest$ac_exeext conftest.$ac_ext
9578 LIBS=$ac_check_soname_save_LIBS
9580 if ${ac_cv_lib_soname_Xext:+false} :; then :
9581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9582 $as_echo "not found" >&6; }
9584 else
9585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9586 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9588 cat >>confdefs.h <<_ACEOF
9589 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9590 _ACEOF
9592 X_LIBS="$X_LIBS -lXext"
9594 X_LIBS="$X_LIBS -lX11"
9596 for ac_header in X11/Xlib.h \
9597 X11/XKBlib.h \
9598 X11/Xutil.h \
9599 X11/Xcursor/Xcursor.h \
9600 X11/extensions/shape.h \
9601 X11/extensions/XInput.h \
9602 X11/extensions/XInput2.h \
9603 X11/extensions/XShm.h \
9604 X11/extensions/Xcomposite.h \
9605 X11/extensions/Xinerama.h \
9606 X11/extensions/Xrandr.h \
9607 X11/extensions/Xrender.h \
9608 X11/extensions/xf86vmode.h \
9609 X11/extensions/xf86vmproto.h
9610 do :
9611 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9612 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9613 # include <X11/Xlib.h>
9614 #endif
9615 #ifdef HAVE_X11_XUTIL_H
9616 # include <X11/Xutil.h>
9617 #endif
9619 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9620 cat >>confdefs.h <<_ACEOF
9621 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9622 _ACEOF
9626 done
9629 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9630 then
9631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9632 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9633 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9634 $as_echo_n "(cached) " >&6
9635 else
9636 ac_check_lib_save_LIBS=$LIBS
9637 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9639 /* end confdefs.h. */
9641 /* Override any GCC internal prototype to avoid an error.
9642 Use char because int might match the return type of a GCC
9643 builtin and then its argument prototype would still apply. */
9644 #ifdef __cplusplus
9645 extern "C"
9646 #endif
9647 char XkbQueryExtension ();
9649 main ()
9651 return XkbQueryExtension ();
9653 return 0;
9655 _ACEOF
9656 if ac_fn_c_try_link "$LINENO"; then :
9657 ac_cv_lib_X11_XkbQueryExtension=yes
9658 else
9659 ac_cv_lib_X11_XkbQueryExtension=no
9661 rm -f core conftest.err conftest.$ac_objext \
9662 conftest$ac_exeext conftest.$ac_ext
9663 LIBS=$ac_check_lib_save_LIBS
9665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9666 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9667 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9669 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9675 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9676 then
9677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9678 $as_echo_n "checking for -lXcursor... " >&6; }
9679 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9680 $as_echo_n "(cached) " >&6
9681 else
9682 ac_check_soname_save_LIBS=$LIBS
9683 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9685 /* end confdefs.h. */
9687 /* Override any GCC internal prototype to avoid an error.
9688 Use char because int might match the return type of a GCC
9689 builtin and then its argument prototype would still apply. */
9690 #ifdef __cplusplus
9691 extern "C"
9692 #endif
9693 char XcursorImageLoadCursor ();
9695 main ()
9697 return XcursorImageLoadCursor ();
9699 return 0;
9701 _ACEOF
9702 if ac_fn_c_try_link "$LINENO"; then :
9703 case "$LIBEXT" in
9704 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9705 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'` ;;
9706 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9707 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9708 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9709 fi ;;
9710 esac
9712 rm -f core conftest.err conftest.$ac_objext \
9713 conftest$ac_exeext conftest.$ac_ext
9714 LIBS=$ac_check_soname_save_LIBS
9716 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9718 $as_echo "not found" >&6; }
9720 else
9721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9722 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9724 cat >>confdefs.h <<_ACEOF
9725 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9726 _ACEOF
9731 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9732 case "x$with_xcursor" in
9733 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9734 xno) ;;
9735 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9736 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9737 esac
9740 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9741 then
9742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9743 $as_echo_n "checking for -lXi... " >&6; }
9744 if ${ac_cv_lib_soname_Xi+:} false; then :
9745 $as_echo_n "(cached) " >&6
9746 else
9747 ac_check_soname_save_LIBS=$LIBS
9748 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9750 /* end confdefs.h. */
9752 /* Override any GCC internal prototype to avoid an error.
9753 Use char because int might match the return type of a GCC
9754 builtin and then its argument prototype would still apply. */
9755 #ifdef __cplusplus
9756 extern "C"
9757 #endif
9758 char XOpenDevice ();
9760 main ()
9762 return XOpenDevice ();
9764 return 0;
9766 _ACEOF
9767 if ac_fn_c_try_link "$LINENO"; then :
9768 case "$LIBEXT" in
9769 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9770 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'` ;;
9771 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9772 if ${ac_cv_lib_soname_Xi:+false} :; then :
9773 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9774 fi ;;
9775 esac
9777 rm -f core conftest.err conftest.$ac_objext \
9778 conftest$ac_exeext conftest.$ac_ext
9779 LIBS=$ac_check_soname_save_LIBS
9781 if ${ac_cv_lib_soname_Xi:+false} :; then :
9782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9783 $as_echo "not found" >&6; }
9785 else
9786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9787 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9789 cat >>confdefs.h <<_ACEOF
9790 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9791 _ACEOF
9796 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9797 case "x$with_xinput" in
9798 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9799 xno) ;;
9800 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9801 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9802 esac
9805 if test "x$ac_cv_lib_soname_Xi" != x
9806 then
9807 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9808 case "x$with_xinput2" in
9809 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9810 xno) ;;
9811 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9812 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9813 esac
9817 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9818 then
9819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9820 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9821 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9822 $as_echo_n "(cached) " >&6
9823 else
9824 ac_check_lib_save_LIBS=$LIBS
9825 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9827 /* end confdefs.h. */
9829 /* Override any GCC internal prototype to avoid an error.
9830 Use char because int might match the return type of a GCC
9831 builtin and then its argument prototype would still apply. */
9832 #ifdef __cplusplus
9833 extern "C"
9834 #endif
9835 char XShmQueryExtension ();
9837 main ()
9839 return XShmQueryExtension ();
9841 return 0;
9843 _ACEOF
9844 if ac_fn_c_try_link "$LINENO"; then :
9845 ac_cv_lib_Xext_XShmQueryExtension=yes
9846 else
9847 ac_cv_lib_Xext_XShmQueryExtension=no
9849 rm -f core conftest.err conftest.$ac_objext \
9850 conftest$ac_exeext conftest.$ac_ext
9851 LIBS=$ac_check_lib_save_LIBS
9853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9854 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9855 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9857 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9862 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9863 case "x$with_xshm" in
9864 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9865 xno) ;;
9866 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9867 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9868 esac
9871 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9872 then
9873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9874 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9875 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9876 $as_echo_n "(cached) " >&6
9877 else
9878 ac_check_lib_save_LIBS=$LIBS
9879 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9881 /* end confdefs.h. */
9883 /* Override any GCC internal prototype to avoid an error.
9884 Use char because int might match the return type of a GCC
9885 builtin and then its argument prototype would still apply. */
9886 #ifdef __cplusplus
9887 extern "C"
9888 #endif
9889 char XShapeQueryExtension ();
9891 main ()
9893 return XShapeQueryExtension ();
9895 return 0;
9897 _ACEOF
9898 if ac_fn_c_try_link "$LINENO"; then :
9899 ac_cv_lib_Xext_XShapeQueryExtension=yes
9900 else
9901 ac_cv_lib_Xext_XShapeQueryExtension=no
9903 rm -f core conftest.err conftest.$ac_objext \
9904 conftest$ac_exeext conftest.$ac_ext
9905 LIBS=$ac_check_lib_save_LIBS
9907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9908 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9909 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9911 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9916 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9917 case "x$with_xshape" in
9918 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9919 xno) ;;
9920 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
9921 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9922 esac
9925 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9926 then
9927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9928 $as_echo_n "checking for -lXxf86vm... " >&6; }
9929 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
9930 $as_echo_n "(cached) " >&6
9931 else
9932 ac_check_soname_save_LIBS=$LIBS
9933 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9935 /* end confdefs.h. */
9937 /* Override any GCC internal prototype to avoid an error.
9938 Use char because int might match the return type of a GCC
9939 builtin and then its argument prototype would still apply. */
9940 #ifdef __cplusplus
9941 extern "C"
9942 #endif
9943 char XF86VidModeQueryExtension ();
9945 main ()
9947 return XF86VidModeQueryExtension ();
9949 return 0;
9951 _ACEOF
9952 if ac_fn_c_try_link "$LINENO"; then :
9953 case "$LIBEXT" in
9954 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9955 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'` ;;
9956 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9957 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9958 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9959 fi ;;
9960 esac
9962 rm -f core conftest.err conftest.$ac_objext \
9963 conftest$ac_exeext conftest.$ac_ext
9964 LIBS=$ac_check_soname_save_LIBS
9966 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9968 $as_echo "not found" >&6; }
9970 else
9971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9972 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9974 cat >>confdefs.h <<_ACEOF
9975 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9976 _ACEOF
9981 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9982 case "x$with_xxf86vm" in
9983 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9984 xno) ;;
9985 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9986 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9987 esac
9990 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
9991 then
9992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9993 $as_echo_n "checking for -lXrender... " >&6; }
9994 if ${ac_cv_lib_soname_Xrender+:} false; then :
9995 $as_echo_n "(cached) " >&6
9996 else
9997 ac_check_soname_save_LIBS=$LIBS
9998 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10000 /* end confdefs.h. */
10002 /* Override any GCC internal prototype to avoid an error.
10003 Use char because int might match the return type of a GCC
10004 builtin and then its argument prototype would still apply. */
10005 #ifdef __cplusplus
10006 extern "C"
10007 #endif
10008 char XRenderQueryExtension ();
10010 main ()
10012 return XRenderQueryExtension ();
10014 return 0;
10016 _ACEOF
10017 if ac_fn_c_try_link "$LINENO"; then :
10018 case "$LIBEXT" in
10019 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10020 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'` ;;
10021 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10022 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10023 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10024 fi ;;
10025 esac
10027 rm -f core conftest.err conftest.$ac_objext \
10028 conftest$ac_exeext conftest.$ac_ext
10029 LIBS=$ac_check_soname_save_LIBS
10031 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10033 $as_echo "not found" >&6; }
10035 else
10036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10037 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10039 cat >>confdefs.h <<_ACEOF
10040 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10041 _ACEOF
10043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10044 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10045 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10046 $as_echo_n "(cached) " >&6
10047 else
10048 ac_check_lib_save_LIBS=$LIBS
10049 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10051 /* end confdefs.h. */
10053 /* Override any GCC internal prototype to avoid an error.
10054 Use char because int might match the return type of a GCC
10055 builtin and then its argument prototype would still apply. */
10056 #ifdef __cplusplus
10057 extern "C"
10058 #endif
10059 char XRenderSetPictureTransform ();
10061 main ()
10063 return XRenderSetPictureTransform ();
10065 return 0;
10067 _ACEOF
10068 if ac_fn_c_try_link "$LINENO"; then :
10069 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10070 else
10071 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10073 rm -f core conftest.err conftest.$ac_objext \
10074 conftest$ac_exeext conftest.$ac_ext
10075 LIBS=$ac_check_lib_save_LIBS
10077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10078 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10079 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10081 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10086 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10087 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10088 $as_echo_n "(cached) " >&6
10089 else
10090 ac_check_lib_save_LIBS=$LIBS
10091 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10093 /* end confdefs.h. */
10095 /* Override any GCC internal prototype to avoid an error.
10096 Use char because int might match the return type of a GCC
10097 builtin and then its argument prototype would still apply. */
10098 #ifdef __cplusplus
10099 extern "C"
10100 #endif
10101 char XRenderCreateLinearGradient ();
10103 main ()
10105 return XRenderCreateLinearGradient ();
10107 return 0;
10109 _ACEOF
10110 if ac_fn_c_try_link "$LINENO"; then :
10111 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10112 else
10113 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10115 rm -f core conftest.err conftest.$ac_objext \
10116 conftest$ac_exeext conftest.$ac_ext
10117 LIBS=$ac_check_lib_save_LIBS
10119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10120 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10121 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10123 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10130 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10131 case "x$with_xrender" in
10132 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10133 xno) ;;
10134 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10135 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10136 esac
10139 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10140 then
10141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10142 /* end confdefs.h. */
10143 #include <X11/Xlib.h>
10144 #include <X11/extensions/Xrandr.h>
10146 main ()
10148 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10150 return 0;
10152 _ACEOF
10153 if ac_fn_c_try_compile "$LINENO"; then :
10154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10155 $as_echo_n "checking for -lXrandr... " >&6; }
10156 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10157 $as_echo_n "(cached) " >&6
10158 else
10159 ac_check_soname_save_LIBS=$LIBS
10160 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10162 /* end confdefs.h. */
10164 /* Override any GCC internal prototype to avoid an error.
10165 Use char because int might match the return type of a GCC
10166 builtin and then its argument prototype would still apply. */
10167 #ifdef __cplusplus
10168 extern "C"
10169 #endif
10170 char XRRQueryExtension ();
10172 main ()
10174 return XRRQueryExtension ();
10176 return 0;
10178 _ACEOF
10179 if ac_fn_c_try_link "$LINENO"; then :
10180 case "$LIBEXT" in
10181 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10182 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'` ;;
10183 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10184 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10185 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10186 fi ;;
10187 esac
10189 rm -f core conftest.err conftest.$ac_objext \
10190 conftest$ac_exeext conftest.$ac_ext
10191 LIBS=$ac_check_soname_save_LIBS
10193 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10195 $as_echo "not found" >&6; }
10197 else
10198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10199 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10201 cat >>confdefs.h <<_ACEOF
10202 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10203 _ACEOF
10205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10206 /* end confdefs.h. */
10207 #include <X11/Xlib.h>
10208 #include <X11/extensions/Xrandr.h>
10210 main ()
10212 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10214 return 0;
10216 _ACEOF
10217 if ac_fn_c_try_compile "$LINENO"; then :
10219 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10227 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10228 case "x$with_xrandr" in
10229 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10230 xno) ;;
10231 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10232 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10233 esac
10236 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10237 then
10238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10239 /* end confdefs.h. */
10240 #include <X11/Xlib.h>
10241 #include <X11/extensions/Xinerama.h>
10243 main ()
10245 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10247 return 0;
10249 _ACEOF
10250 if ac_fn_c_try_compile "$LINENO"; then :
10251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10252 $as_echo_n "checking for -lXinerama... " >&6; }
10253 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10254 $as_echo_n "(cached) " >&6
10255 else
10256 ac_check_soname_save_LIBS=$LIBS
10257 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10259 /* end confdefs.h. */
10261 /* Override any GCC internal prototype to avoid an error.
10262 Use char because int might match the return type of a GCC
10263 builtin and then its argument prototype would still apply. */
10264 #ifdef __cplusplus
10265 extern "C"
10266 #endif
10267 char XineramaQueryScreens ();
10269 main ()
10271 return XineramaQueryScreens ();
10273 return 0;
10275 _ACEOF
10276 if ac_fn_c_try_link "$LINENO"; then :
10277 case "$LIBEXT" in
10278 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10279 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'` ;;
10280 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10281 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10282 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10283 fi ;;
10284 esac
10286 rm -f core conftest.err conftest.$ac_objext \
10287 conftest$ac_exeext conftest.$ac_ext
10288 LIBS=$ac_check_soname_save_LIBS
10290 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10292 $as_echo "not found" >&6; }
10294 else
10295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10296 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10298 cat >>confdefs.h <<_ACEOF
10299 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10300 _ACEOF
10305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10307 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10308 case "x$with_xinerama" in
10309 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10310 xno) ;;
10311 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10312 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10313 esac
10316 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10317 then
10318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10319 $as_echo_n "checking for -lXcomposite... " >&6; }
10320 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10321 $as_echo_n "(cached) " >&6
10322 else
10323 ac_check_soname_save_LIBS=$LIBS
10324 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10326 /* end confdefs.h. */
10328 /* Override any GCC internal prototype to avoid an error.
10329 Use char because int might match the return type of a GCC
10330 builtin and then its argument prototype would still apply. */
10331 #ifdef __cplusplus
10332 extern "C"
10333 #endif
10334 char XCompositeRedirectWindow ();
10336 main ()
10338 return XCompositeRedirectWindow ();
10340 return 0;
10342 _ACEOF
10343 if ac_fn_c_try_link "$LINENO"; then :
10344 case "$LIBEXT" in
10345 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10346 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'` ;;
10347 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10348 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10349 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10350 fi ;;
10351 esac
10353 rm -f core conftest.err conftest.$ac_objext \
10354 conftest$ac_exeext conftest.$ac_ext
10355 LIBS=$ac_check_soname_save_LIBS
10357 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10359 $as_echo "not found" >&6; }
10361 else
10362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10363 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10365 cat >>confdefs.h <<_ACEOF
10366 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10367 _ACEOF
10372 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10373 case "x$with_xcomposite" in
10374 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10375 xno) ;;
10376 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10377 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10378 esac
10381 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10382 #include <X11/Xlib.h>
10383 #endif
10385 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10387 cat >>confdefs.h <<_ACEOF
10388 #define HAVE_XICCALLBACK_CALLBACK 1
10389 _ACEOF
10393 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10394 #include <X11/Xlib.h>
10395 #endif
10397 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10399 cat >>confdefs.h <<_ACEOF
10400 #define HAVE_XEVENT_XCOOKIE 1
10401 _ACEOF
10408 opengl_msg=""
10409 if test "x$with_opengl" != "xno"
10410 then
10411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10412 $as_echo_n "checking for -lGL... " >&6; }
10413 if ${ac_cv_lib_soname_GL+:} false; then :
10414 $as_echo_n "(cached) " >&6
10415 else
10416 ac_check_soname_save_LIBS=$LIBS
10417 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10419 /* end confdefs.h. */
10421 /* Override any GCC internal prototype to avoid an error.
10422 Use char because int might match the return type of a GCC
10423 builtin and then its argument prototype would still apply. */
10424 #ifdef __cplusplus
10425 extern "C"
10426 #endif
10427 char glXCreateContext ();
10429 main ()
10431 return glXCreateContext ();
10433 return 0;
10435 _ACEOF
10436 if ac_fn_c_try_link "$LINENO"; then :
10437 case "$LIBEXT" in
10438 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10439 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'` ;;
10440 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10441 if ${ac_cv_lib_soname_GL:+false} :; then :
10442 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10443 fi ;;
10444 esac
10446 rm -f core conftest.err conftest.$ac_objext \
10447 conftest$ac_exeext conftest.$ac_ext
10448 LIBS=$ac_check_soname_save_LIBS
10450 if ${ac_cv_lib_soname_GL:+false} :; then :
10451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10452 $as_echo "not found" >&6; }
10453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10454 $as_echo_n "checking for -lGL... " >&6; }
10455 if ${ac_cv_lib_soname_GL+:} false; then :
10456 $as_echo_n "(cached) " >&6
10457 else
10458 ac_check_soname_save_LIBS=$LIBS
10459 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"
10460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10461 /* end confdefs.h. */
10463 /* Override any GCC internal prototype to avoid an error.
10464 Use char because int might match the return type of a GCC
10465 builtin and then its argument prototype would still apply. */
10466 #ifdef __cplusplus
10467 extern "C"
10468 #endif
10469 char glXCreateContext ();
10471 main ()
10473 return glXCreateContext ();
10475 return 0;
10477 _ACEOF
10478 if ac_fn_c_try_link "$LINENO"; then :
10479 case "$LIBEXT" in
10480 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10481 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'` ;;
10482 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10483 if ${ac_cv_lib_soname_GL:+false} :; then :
10484 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10485 fi ;;
10486 esac
10488 rm -f core conftest.err conftest.$ac_objext \
10489 conftest$ac_exeext conftest.$ac_ext
10490 LIBS=$ac_check_soname_save_LIBS
10492 if ${ac_cv_lib_soname_GL:+false} :; then :
10493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10494 $as_echo "not found" >&6; }
10495 if test -f /usr/X11R6/lib/libGL.a
10496 then
10497 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10498 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10499 else
10500 opengl_msg="No OpenGL library found on this system."
10502 else
10503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10504 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10506 cat >>confdefs.h <<_ACEOF
10507 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10508 _ACEOF
10510 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"
10512 else
10513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10514 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10516 cat >>confdefs.h <<_ACEOF
10517 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10518 _ACEOF
10520 OPENGL_LIBS="-lGL"
10522 if test "x$with_glu" != "xno"
10523 then
10524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10525 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10526 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10527 $as_echo_n "(cached) " >&6
10528 else
10529 ac_check_lib_save_LIBS=$LIBS
10530 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10532 /* end confdefs.h. */
10534 /* Override any GCC internal prototype to avoid an error.
10535 Use char because int might match the return type of a GCC
10536 builtin and then its argument prototype would still apply. */
10537 #ifdef __cplusplus
10538 extern "C"
10539 #endif
10540 char gluLookAt ();
10542 main ()
10544 return gluLookAt ();
10546 return 0;
10548 _ACEOF
10549 if ac_fn_c_try_link "$LINENO"; then :
10550 ac_cv_lib_GLU_gluLookAt=yes
10551 else
10552 ac_cv_lib_GLU_gluLookAt=no
10554 rm -f core conftest.err conftest.$ac_objext \
10555 conftest$ac_exeext conftest.$ac_ext
10556 LIBS=$ac_check_lib_save_LIBS
10558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10559 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10560 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10564 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10565 case "x$with_glu" in
10566 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10567 xno) ;;
10568 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10569 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10570 esac
10574 if test "x$with_osmesa" != "xno"
10575 then
10576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10577 $as_echo_n "checking for -lOSMesa... " >&6; }
10578 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10579 $as_echo_n "(cached) " >&6
10580 else
10581 ac_check_soname_save_LIBS=$LIBS
10582 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10584 /* end confdefs.h. */
10586 /* Override any GCC internal prototype to avoid an error.
10587 Use char because int might match the return type of a GCC
10588 builtin and then its argument prototype would still apply. */
10589 #ifdef __cplusplus
10590 extern "C"
10591 #endif
10592 char glAccum ();
10594 main ()
10596 return glAccum ();
10598 return 0;
10600 _ACEOF
10601 if ac_fn_c_try_link "$LINENO"; then :
10602 case "$LIBEXT" in
10603 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10604 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'` ;;
10605 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10606 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10607 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10608 fi ;;
10609 esac
10611 rm -f core conftest.err conftest.$ac_objext \
10612 conftest$ac_exeext conftest.$ac_ext
10613 LIBS=$ac_check_soname_save_LIBS
10615 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10617 $as_echo "not found" >&6; }
10619 else
10620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10621 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10623 cat >>confdefs.h <<_ACEOF
10624 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10625 _ACEOF
10629 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10630 case "x$with_osmesa" in
10631 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10632 xno) ;;
10633 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10634 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10635 esac
10639 if test -n "$opengl_msg"; then :
10640 case "x$with_opengl" in
10641 x) as_fn_append wine_warnings "|$opengl_msg
10642 OpenGL and Direct3D won't be supported." ;;
10643 xno) ;;
10644 *) as_fn_error $? "$opengl_msg
10645 OpenGL and Direct3D won't be supported.
10646 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10647 esac
10650 CPPFLAGS="$ac_save_CPPFLAGS"
10651 else
10652 X_CFLAGS=""
10653 X_LIBS=""
10654 enable_winex11_drv=${enable_winex11_drv:-no}
10656 if test "x$X_LIBS" = "x"; then :
10657 case "x$with_x" in
10658 xno) ;;
10659 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10660 without X support, which probably isn't what you want. You will need
10661 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10662 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10663 esac
10666 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10668 if test "$ac_cv_header_CL_cl_h" = "yes"
10669 then
10670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10671 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10672 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10673 $as_echo_n "(cached) " >&6
10674 else
10675 ac_check_lib_save_LIBS=$LIBS
10676 LIBS="-lOpenCL $LIBS"
10677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10678 /* end confdefs.h. */
10680 /* Override any GCC internal prototype to avoid an error.
10681 Use char because int might match the return type of a GCC
10682 builtin and then its argument prototype would still apply. */
10683 #ifdef __cplusplus
10684 extern "C"
10685 #endif
10686 char clGetPlatformInfo ();
10688 main ()
10690 return clGetPlatformInfo ();
10692 return 0;
10694 _ACEOF
10695 if ac_fn_c_try_link "$LINENO"; then :
10696 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10697 else
10698 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10700 rm -f core conftest.err conftest.$ac_objext \
10701 conftest$ac_exeext conftest.$ac_ext
10702 LIBS=$ac_check_lib_save_LIBS
10704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10705 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10706 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10707 OPENCL_LIBS="-lOpenCL"
10712 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10713 case "x$with_opencl" in
10714 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10715 xno) ;;
10716 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10717 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10718 esac
10720 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10722 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10723 then
10724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10725 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10726 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10727 $as_echo_n "(cached) " >&6
10728 else
10729 ac_check_lib_save_LIBS=$LIBS
10730 LIBS="-lpcap $LIBS"
10731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10732 /* end confdefs.h. */
10734 /* Override any GCC internal prototype to avoid an error.
10735 Use char because int might match the return type of a GCC
10736 builtin and then its argument prototype would still apply. */
10737 #ifdef __cplusplus
10738 extern "C"
10739 #endif
10740 char pcap_create ();
10742 main ()
10744 return pcap_create ();
10746 return 0;
10748 _ACEOF
10749 if ac_fn_c_try_link "$LINENO"; then :
10750 ac_cv_lib_pcap_pcap_create=yes
10751 else
10752 ac_cv_lib_pcap_pcap_create=no
10754 rm -f core conftest.err conftest.$ac_objext \
10755 conftest$ac_exeext conftest.$ac_ext
10756 LIBS=$ac_check_lib_save_LIBS
10758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10759 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10760 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10761 LIBPCAP="-lpcap"
10766 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10767 case "x$with_pcap" in
10768 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10769 xno) ;;
10770 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10771 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10772 esac
10774 test "x$ac_cv_lib_pcap_pcap_create" != xyes && enable_wpcap=${enable_wpcap:-no}
10777 if test "x$with_xml" != "xno"
10778 then
10779 if ${XML2_CFLAGS:+false} :; then :
10780 if ${PKG_CONFIG+:} false; then :
10781 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10784 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10785 if ${XML2_LIBS:+false} :; then :
10786 if ${PKG_CONFIG+:} false; then :
10787 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10790 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10791 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10792 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10793 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10794 ac_save_CPPFLAGS=$CPPFLAGS
10795 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10796 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10797 do :
10798 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10799 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10800 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10801 cat >>confdefs.h <<_ACEOF
10802 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10803 _ACEOF
10807 done
10809 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"
10810 then
10811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10812 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10813 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10814 $as_echo_n "(cached) " >&6
10815 else
10816 ac_check_lib_save_LIBS=$LIBS
10817 LIBS="-lxml2 $XML2_LIBS $LIBS"
10818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10819 /* end confdefs.h. */
10821 /* Override any GCC internal prototype to avoid an error.
10822 Use char because int might match the return type of a GCC
10823 builtin and then its argument prototype would still apply. */
10824 #ifdef __cplusplus
10825 extern "C"
10826 #endif
10827 char xmlParseMemory ();
10829 main ()
10831 return xmlParseMemory ();
10833 return 0;
10835 _ACEOF
10836 if ac_fn_c_try_link "$LINENO"; then :
10837 ac_cv_lib_xml2_xmlParseMemory=yes
10838 else
10839 ac_cv_lib_xml2_xmlParseMemory=no
10841 rm -f core conftest.err conftest.$ac_objext \
10842 conftest$ac_exeext conftest.$ac_ext
10843 LIBS=$ac_check_lib_save_LIBS
10845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10846 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10847 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10849 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10851 else
10852 XML2_LIBS=""
10855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10856 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10857 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10858 $as_echo_n "(cached) " >&6
10859 else
10860 ac_check_lib_save_LIBS=$LIBS
10861 LIBS="-lxml2 $XML2_LIBS $LIBS"
10862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10863 /* end confdefs.h. */
10865 /* Override any GCC internal prototype to avoid an error.
10866 Use char because int might match the return type of a GCC
10867 builtin and then its argument prototype would still apply. */
10868 #ifdef __cplusplus
10869 extern "C"
10870 #endif
10871 char xmlReadMemory ();
10873 main ()
10875 return xmlReadMemory ();
10877 return 0;
10879 _ACEOF
10880 if ac_fn_c_try_link "$LINENO"; then :
10881 ac_cv_lib_xml2_xmlReadMemory=yes
10882 else
10883 ac_cv_lib_xml2_xmlReadMemory=no
10885 rm -f core conftest.err conftest.$ac_objext \
10886 conftest$ac_exeext conftest.$ac_ext
10887 LIBS=$ac_check_lib_save_LIBS
10889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10890 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10891 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
10893 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10898 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10899 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
10900 $as_echo_n "(cached) " >&6
10901 else
10902 ac_check_lib_save_LIBS=$LIBS
10903 LIBS="-lxml2 $XML2_LIBS $LIBS"
10904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10905 /* end confdefs.h. */
10907 /* Override any GCC internal prototype to avoid an error.
10908 Use char because int might match the return type of a GCC
10909 builtin and then its argument prototype would still apply. */
10910 #ifdef __cplusplus
10911 extern "C"
10912 #endif
10913 char xmlNewDocPI ();
10915 main ()
10917 return xmlNewDocPI ();
10919 return 0;
10921 _ACEOF
10922 if ac_fn_c_try_link "$LINENO"; then :
10923 ac_cv_lib_xml2_xmlNewDocPI=yes
10924 else
10925 ac_cv_lib_xml2_xmlNewDocPI=no
10927 rm -f core conftest.err conftest.$ac_objext \
10928 conftest$ac_exeext conftest.$ac_ext
10929 LIBS=$ac_check_lib_save_LIBS
10931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10932 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10933 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
10935 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10940 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10941 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
10942 $as_echo_n "(cached) " >&6
10943 else
10944 ac_check_lib_save_LIBS=$LIBS
10945 LIBS="-lxml2 $XML2_LIBS $LIBS"
10946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10947 /* end confdefs.h. */
10949 /* Override any GCC internal prototype to avoid an error.
10950 Use char because int might match the return type of a GCC
10951 builtin and then its argument prototype would still apply. */
10952 #ifdef __cplusplus
10953 extern "C"
10954 #endif
10955 char xmlSchemaSetParserStructuredErrors ();
10957 main ()
10959 return xmlSchemaSetParserStructuredErrors ();
10961 return 0;
10963 _ACEOF
10964 if ac_fn_c_try_link "$LINENO"; then :
10965 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
10966 else
10967 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
10969 rm -f core conftest.err conftest.$ac_objext \
10970 conftest$ac_exeext conftest.$ac_ext
10971 LIBS=$ac_check_lib_save_LIBS
10973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10974 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10975 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
10977 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10982 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10983 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
10984 $as_echo_n "(cached) " >&6
10985 else
10986 ac_check_lib_save_LIBS=$LIBS
10987 LIBS="-lxml2 $XML2_LIBS $LIBS"
10988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10989 /* end confdefs.h. */
10991 /* Override any GCC internal prototype to avoid an error.
10992 Use char because int might match the return type of a GCC
10993 builtin and then its argument prototype would still apply. */
10994 #ifdef __cplusplus
10995 extern "C"
10996 #endif
10997 char xmlSchemaSetValidStructuredErrors ();
10999 main ()
11001 return xmlSchemaSetValidStructuredErrors ();
11003 return 0;
11005 _ACEOF
11006 if ac_fn_c_try_link "$LINENO"; then :
11007 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11008 else
11009 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11011 rm -f core conftest.err conftest.$ac_objext \
11012 conftest$ac_exeext conftest.$ac_ext
11013 LIBS=$ac_check_lib_save_LIBS
11015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11016 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11017 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11019 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11024 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11025 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11026 $as_echo_n "(cached) " >&6
11027 else
11028 ac_check_lib_save_LIBS=$LIBS
11029 LIBS="-lxml2 $XML2_LIBS $LIBS"
11030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11031 /* end confdefs.h. */
11033 /* Override any GCC internal prototype to avoid an error.
11034 Use char because int might match the return type of a GCC
11035 builtin and then its argument prototype would still apply. */
11036 #ifdef __cplusplus
11037 extern "C"
11038 #endif
11039 char xmlFirstElementChild ();
11041 main ()
11043 return xmlFirstElementChild ();
11045 return 0;
11047 _ACEOF
11048 if ac_fn_c_try_link "$LINENO"; then :
11049 ac_cv_lib_xml2_xmlFirstElementChild=yes
11050 else
11051 ac_cv_lib_xml2_xmlFirstElementChild=no
11053 rm -f core conftest.err conftest.$ac_objext \
11054 conftest$ac_exeext conftest.$ac_ext
11055 LIBS=$ac_check_lib_save_LIBS
11057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11058 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11059 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11061 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11065 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11067 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11069 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11073 else
11074 XML2_CFLAGS=""
11075 XML2_LIBS=""
11077 CPPFLAGS=$ac_save_CPPFLAGS
11078 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11079 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11082 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11083 case "x$with_xml" in
11084 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11085 xno) ;;
11086 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11087 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11088 esac
11091 if test "x$with_xslt" != "xno"
11092 then
11093 if ${XSLT_CFLAGS:+false} :; then :
11094 if ${PKG_CONFIG+:} false; then :
11095 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11098 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
11099 if ${XSLT_LIBS:+false} :; then :
11100 if ${PKG_CONFIG+:} false; then :
11101 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11104 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
11105 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11106 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11107 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11108 ac_save_CPPFLAGS=$CPPFLAGS
11109 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11110 for ac_header in libxslt/pattern.h libxslt/transform.h
11111 do :
11112 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11113 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11114 # include <libxslt/pattern.h>
11115 #endif
11117 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11118 cat >>confdefs.h <<_ACEOF
11119 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11120 _ACEOF
11124 done
11126 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11127 then
11128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11129 $as_echo_n "checking for -lxslt... " >&6; }
11130 if ${ac_cv_lib_soname_xslt+:} false; then :
11131 $as_echo_n "(cached) " >&6
11132 else
11133 ac_check_soname_save_LIBS=$LIBS
11134 LIBS="-lxslt $XSLT_LIBS $LIBS"
11135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11136 /* end confdefs.h. */
11138 /* Override any GCC internal prototype to avoid an error.
11139 Use char because int might match the return type of a GCC
11140 builtin and then its argument prototype would still apply. */
11141 #ifdef __cplusplus
11142 extern "C"
11143 #endif
11144 char xsltCompilePattern ();
11146 main ()
11148 return xsltCompilePattern ();
11150 return 0;
11152 _ACEOF
11153 if ac_fn_c_try_link "$LINENO"; then :
11154 case "$LIBEXT" in
11155 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11156 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'` ;;
11157 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11158 if ${ac_cv_lib_soname_xslt:+false} :; then :
11159 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11160 fi ;;
11161 esac
11163 rm -f core conftest.err conftest.$ac_objext \
11164 conftest$ac_exeext conftest.$ac_ext
11165 LIBS=$ac_check_soname_save_LIBS
11167 if ${ac_cv_lib_soname_xslt:+false} :; then :
11168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11169 $as_echo "not found" >&6; }
11171 else
11172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11173 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11175 cat >>confdefs.h <<_ACEOF
11176 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11177 _ACEOF
11181 else
11182 XSLT_CFLAGS=""
11184 CPPFLAGS=$ac_save_CPPFLAGS
11185 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11186 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11189 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11190 case "x$with_xslt" in
11191 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11192 xno) ;;
11193 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11194 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11195 esac
11198 if test "x$with_dbus" != "xno"
11199 then
11200 if ${DBUS_CFLAGS:+false} :; then :
11201 if ${PKG_CONFIG+:} false; then :
11202 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11206 if ${DBUS_LIBS:+false} :; then :
11207 if ${PKG_CONFIG+:} false; then :
11208 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11213 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11214 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11215 ac_save_CPPFLAGS=$CPPFLAGS
11216 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11217 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11218 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11220 $as_echo_n "checking for -ldbus-1... " >&6; }
11221 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11222 $as_echo_n "(cached) " >&6
11223 else
11224 ac_check_soname_save_LIBS=$LIBS
11225 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11227 /* end confdefs.h. */
11229 /* Override any GCC internal prototype to avoid an error.
11230 Use char because int might match the return type of a GCC
11231 builtin and then its argument prototype would still apply. */
11232 #ifdef __cplusplus
11233 extern "C"
11234 #endif
11235 char dbus_connection_close ();
11237 main ()
11239 return dbus_connection_close ();
11241 return 0;
11243 _ACEOF
11244 if ac_fn_c_try_link "$LINENO"; then :
11245 case "$LIBEXT" in
11246 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11247 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'` ;;
11248 *) 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'`
11249 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11250 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11251 fi ;;
11252 esac
11254 rm -f core conftest.err conftest.$ac_objext \
11255 conftest$ac_exeext conftest.$ac_ext
11256 LIBS=$ac_check_soname_save_LIBS
11258 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11260 $as_echo "not found" >&6; }
11261 DBUS_CFLAGS=""
11262 else
11263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11264 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11266 cat >>confdefs.h <<_ACEOF
11267 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11268 _ACEOF
11272 else
11273 DBUS_CFLAGS=""
11277 CPPFLAGS=$ac_save_CPPFLAGS
11278 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11279 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11282 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11283 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11284 case "x$with_dbus" in
11285 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11286 xno) ;;
11287 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11288 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11289 esac
11292 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11293 then
11294 if ${HAL_CFLAGS:+false} :; then :
11295 if ${PKG_CONFIG+:} false; then :
11296 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11300 if ${HAL_LIBS:+false} :; then :
11301 if ${PKG_CONFIG+:} false; then :
11302 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11306 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11307 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11308 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11309 ac_save_CPPFLAGS=$CPPFLAGS
11310 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11311 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11312 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11314 $as_echo_n "checking for -lhal... " >&6; }
11315 if ${ac_cv_lib_soname_hal+:} false; then :
11316 $as_echo_n "(cached) " >&6
11317 else
11318 ac_check_soname_save_LIBS=$LIBS
11319 LIBS="-lhal $HAL_LIBS $LIBS"
11320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11321 /* end confdefs.h. */
11323 /* Override any GCC internal prototype to avoid an error.
11324 Use char because int might match the return type of a GCC
11325 builtin and then its argument prototype would still apply. */
11326 #ifdef __cplusplus
11327 extern "C"
11328 #endif
11329 char libhal_ctx_new ();
11331 main ()
11333 return libhal_ctx_new ();
11335 return 0;
11337 _ACEOF
11338 if ac_fn_c_try_link "$LINENO"; then :
11339 case "$LIBEXT" in
11340 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11341 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'` ;;
11342 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11343 if ${ac_cv_lib_soname_hal:+false} :; then :
11344 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11345 fi ;;
11346 esac
11348 rm -f core conftest.err conftest.$ac_objext \
11349 conftest$ac_exeext conftest.$ac_ext
11350 LIBS=$ac_check_soname_save_LIBS
11352 if ${ac_cv_lib_soname_hal:+false} :; then :
11353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11354 $as_echo "not found" >&6; }
11355 HAL_CFLAGS=""
11356 else
11357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11358 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11360 cat >>confdefs.h <<_ACEOF
11361 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11362 _ACEOF
11366 else
11367 HAL_CFLAGS=""
11371 CPPFLAGS=$ac_save_CPPFLAGS
11372 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11373 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11375 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11376 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11377 case "x$with_hal" in
11378 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11379 xno) ;;
11380 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11381 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11382 esac
11386 if test "x$with_gnutls" != "xno"
11387 then
11388 if ${GNUTLS_CFLAGS:+false} :; then :
11389 if ${PKG_CONFIG+:} false; then :
11390 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11394 if ${GNUTLS_LIBS:+false} :; then :
11395 if ${PKG_CONFIG+:} false; then :
11396 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11401 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11402 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11403 ac_save_CPPFLAGS=$CPPFLAGS
11404 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11405 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11406 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11408 /* end confdefs.h. */
11409 #include <gnutls/gnutls.h>
11410 #include <gnutls/crypto.h>
11412 main ()
11414 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11416 return 0;
11418 _ACEOF
11419 if ac_fn_c_try_compile "$LINENO"; then :
11420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11421 $as_echo_n "checking for -lgnutls... " >&6; }
11422 if ${ac_cv_lib_soname_gnutls+:} false; then :
11423 $as_echo_n "(cached) " >&6
11424 else
11425 ac_check_soname_save_LIBS=$LIBS
11426 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11428 /* end confdefs.h. */
11430 /* Override any GCC internal prototype to avoid an error.
11431 Use char because int might match the return type of a GCC
11432 builtin and then its argument prototype would still apply. */
11433 #ifdef __cplusplus
11434 extern "C"
11435 #endif
11436 char gnutls_global_init ();
11438 main ()
11440 return gnutls_global_init ();
11442 return 0;
11444 _ACEOF
11445 if ac_fn_c_try_link "$LINENO"; then :
11446 case "$LIBEXT" in
11447 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11448 dylib) ac_cv_lib_soname_gnutls=`otool -L conftest$ac_exeext | grep "libgnutls\\(-deb0\\)\\{0,1\\}\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libgnutls\\(-deb0\\)\\{0,1\\}\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11449 *) ac_cv_lib_soname_gnutls=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\(-deb0\\)\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\(-deb0\\)\\{0,1\\}\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11450 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11451 ac_cv_lib_soname_gnutls=`$LDD conftest$ac_exeext | grep "libgnutls\\(-deb0\\)\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\\(-deb0\\)\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11452 fi ;;
11453 esac
11455 rm -f core conftest.err conftest.$ac_objext \
11456 conftest$ac_exeext conftest.$ac_ext
11457 LIBS=$ac_check_soname_save_LIBS
11459 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11461 $as_echo "not found" >&6; }
11462 GNUTLS_CFLAGS=""
11463 else
11464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11465 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11467 cat >>confdefs.h <<_ACEOF
11468 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11469 _ACEOF
11474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11475 else
11476 GNUTLS_CFLAGS=""
11480 CPPFLAGS=$ac_save_CPPFLAGS
11481 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11482 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11485 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11486 case "x$with_gnutls" in
11487 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11488 xno) ;;
11489 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11490 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11491 esac
11494 CURSES_LIBS=""
11495 if test "$ac_cv_header_ncurses_h" = "yes"
11496 then
11497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11498 $as_echo_n "checking for -lncurses... " >&6; }
11499 if ${ac_cv_lib_soname_ncurses+:} false; then :
11500 $as_echo_n "(cached) " >&6
11501 else
11502 ac_check_soname_save_LIBS=$LIBS
11503 LIBS="-lncurses $LIBS"
11504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11505 /* end confdefs.h. */
11507 /* Override any GCC internal prototype to avoid an error.
11508 Use char because int might match the return type of a GCC
11509 builtin and then its argument prototype would still apply. */
11510 #ifdef __cplusplus
11511 extern "C"
11512 #endif
11513 char waddch ();
11515 main ()
11517 return waddch ();
11519 return 0;
11521 _ACEOF
11522 if ac_fn_c_try_link "$LINENO"; then :
11523 case "$LIBEXT" in
11524 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11525 dylib) ac_cv_lib_soname_ncurses=`otool -L conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libncursesw\\{0,1\\}\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11526 *) ac_cv_lib_soname_ncurses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncursesw\\{0,1\\}\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11527 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11528 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11529 fi ;;
11530 esac
11532 rm -f core conftest.err conftest.$ac_objext \
11533 conftest$ac_exeext conftest.$ac_ext
11534 LIBS=$ac_check_soname_save_LIBS
11536 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11538 $as_echo "not found" >&6; }
11540 else
11541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11542 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11544 cat >>confdefs.h <<_ACEOF
11545 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11546 _ACEOF
11548 CURSES_LIBS="-lncurses"
11550 elif test "$ac_cv_header_curses_h" = "yes"
11551 then
11552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11553 $as_echo_n "checking for -lcurses... " >&6; }
11554 if ${ac_cv_lib_soname_curses+:} false; then :
11555 $as_echo_n "(cached) " >&6
11556 else
11557 ac_check_soname_save_LIBS=$LIBS
11558 LIBS="-lcurses $LIBS"
11559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11560 /* end confdefs.h. */
11562 /* Override any GCC internal prototype to avoid an error.
11563 Use char because int might match the return type of a GCC
11564 builtin and then its argument prototype would still apply. */
11565 #ifdef __cplusplus
11566 extern "C"
11567 #endif
11568 char waddch ();
11570 main ()
11572 return waddch ();
11574 return 0;
11576 _ACEOF
11577 if ac_fn_c_try_link "$LINENO"; then :
11578 case "$LIBEXT" in
11579 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11580 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'` ;;
11581 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11582 if ${ac_cv_lib_soname_curses:+false} :; then :
11583 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11584 fi ;;
11585 esac
11587 rm -f core conftest.err conftest.$ac_objext \
11588 conftest$ac_exeext conftest.$ac_ext
11589 LIBS=$ac_check_soname_save_LIBS
11591 if ${ac_cv_lib_soname_curses:+false} :; then :
11592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11593 $as_echo "not found" >&6; }
11595 else
11596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11597 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11599 cat >>confdefs.h <<_ACEOF
11600 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11601 _ACEOF
11603 CURSES_LIBS="-lcurses"
11606 ac_save_LIBS="$LIBS"
11607 LIBS="$LIBS $CURSES_LIBS"
11608 for ac_func in mousemask
11609 do :
11610 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11611 if test "x$ac_cv_func_mousemask" = xyes; then :
11612 cat >>confdefs.h <<_ACEOF
11613 #define HAVE_MOUSEMASK 1
11614 _ACEOF
11617 done
11619 LIBS="$ac_save_LIBS"
11620 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11621 case "x$with_curses" in
11622 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11623 xno) ;;
11624 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11625 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11626 esac
11629 if test "x$with_sane" != "xno"
11630 then
11631 if ${SANE_CFLAGS:+false} :; then :
11632 if ${PKG_CONFIG+:} false; then :
11633 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11636 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11637 if ${SANE_LIBS:+false} :; then :
11638 if ${PKG_CONFIG+:} false; then :
11639 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11642 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11644 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11645 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11646 ac_save_CPPFLAGS=$CPPFLAGS
11647 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11648 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11649 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11651 $as_echo_n "checking for -lsane... " >&6; }
11652 if ${ac_cv_lib_soname_sane+:} false; then :
11653 $as_echo_n "(cached) " >&6
11654 else
11655 ac_check_soname_save_LIBS=$LIBS
11656 LIBS="-lsane $SANE_LIBS $LIBS"
11657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11658 /* end confdefs.h. */
11660 /* Override any GCC internal prototype to avoid an error.
11661 Use char because int might match the return type of a GCC
11662 builtin and then its argument prototype would still apply. */
11663 #ifdef __cplusplus
11664 extern "C"
11665 #endif
11666 char sane_init ();
11668 main ()
11670 return sane_init ();
11672 return 0;
11674 _ACEOF
11675 if ac_fn_c_try_link "$LINENO"; then :
11676 case "$LIBEXT" in
11677 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11678 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'` ;;
11679 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11680 if ${ac_cv_lib_soname_sane:+false} :; then :
11681 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11682 fi ;;
11683 esac
11685 rm -f core conftest.err conftest.$ac_objext \
11686 conftest$ac_exeext conftest.$ac_ext
11687 LIBS=$ac_check_soname_save_LIBS
11689 if ${ac_cv_lib_soname_sane:+false} :; then :
11690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11691 $as_echo "not found" >&6; }
11692 SANE_CFLAGS=""
11693 else
11694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11695 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11697 cat >>confdefs.h <<_ACEOF
11698 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11699 _ACEOF
11703 else
11704 SANE_CFLAGS=""
11708 CPPFLAGS=$ac_save_CPPFLAGS
11709 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11710 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11713 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11714 case "x$with_sane" in
11715 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11716 xno) ;;
11717 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11718 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11719 esac
11722 if test "x$with_v4l" != "xno"
11723 then
11724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11725 $as_echo_n "checking for -lv4l1... " >&6; }
11726 if ${ac_cv_lib_soname_v4l1+:} false; then :
11727 $as_echo_n "(cached) " >&6
11728 else
11729 ac_check_soname_save_LIBS=$LIBS
11730 LIBS="-lv4l1 $LIBS"
11731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11732 /* end confdefs.h. */
11734 /* Override any GCC internal prototype to avoid an error.
11735 Use char because int might match the return type of a GCC
11736 builtin and then its argument prototype would still apply. */
11737 #ifdef __cplusplus
11738 extern "C"
11739 #endif
11740 char v4l1_open ();
11742 main ()
11744 return v4l1_open ();
11746 return 0;
11748 _ACEOF
11749 if ac_fn_c_try_link "$LINENO"; then :
11750 case "$LIBEXT" in
11751 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11752 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'` ;;
11753 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11754 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11755 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11756 fi ;;
11757 esac
11759 rm -f core conftest.err conftest.$ac_objext \
11760 conftest$ac_exeext conftest.$ac_ext
11761 LIBS=$ac_check_soname_save_LIBS
11763 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11765 $as_echo "not found" >&6; }
11767 else
11768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11769 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11771 cat >>confdefs.h <<_ACEOF
11772 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11773 _ACEOF
11778 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11779 case "x$with_v4l" in
11780 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11781 xno) ;;
11782 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11783 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11784 esac
11787 if test "x$with_gphoto" != "xno"
11788 then
11789 if ${GPHOTO2_CFLAGS:+false} :; then :
11790 if ${PKG_CONFIG+:} false; then :
11791 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11794 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11795 if ${GPHOTO2_LIBS:+false} :; then :
11796 if ${PKG_CONFIG+:} false; then :
11797 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11800 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11801 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11802 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11803 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11804 ac_save_CPPFLAGS=$CPPFLAGS
11805 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11806 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11807 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11809 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11810 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11811 $as_echo_n "(cached) " >&6
11812 else
11813 ac_check_lib_save_LIBS=$LIBS
11814 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11816 /* end confdefs.h. */
11818 /* Override any GCC internal prototype to avoid an error.
11819 Use char because int might match the return type of a GCC
11820 builtin and then its argument prototype would still apply. */
11821 #ifdef __cplusplus
11822 extern "C"
11823 #endif
11824 char gp_camera_new ();
11826 main ()
11828 return gp_camera_new ();
11830 return 0;
11832 _ACEOF
11833 if ac_fn_c_try_link "$LINENO"; then :
11834 ac_cv_lib_gphoto2_gp_camera_new=yes
11835 else
11836 ac_cv_lib_gphoto2_gp_camera_new=no
11838 rm -f core conftest.err conftest.$ac_objext \
11839 conftest$ac_exeext conftest.$ac_ext
11840 LIBS=$ac_check_lib_save_LIBS
11842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11843 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11844 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11846 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11848 else
11849 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11852 else
11853 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11857 CPPFLAGS=$ac_save_CPPFLAGS
11858 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11859 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11861 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11862 if ${PKG_CONFIG+:} false; then :
11863 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11866 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11867 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11868 if ${PKG_CONFIG+:} false; then :
11869 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11872 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11873 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11874 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11875 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11876 ac_save_CPPFLAGS=$CPPFLAGS
11877 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11878 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11879 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11881 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11882 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11883 $as_echo_n "(cached) " >&6
11884 else
11885 ac_check_lib_save_LIBS=$LIBS
11886 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11888 /* end confdefs.h. */
11890 /* Override any GCC internal prototype to avoid an error.
11891 Use char because int might match the return type of a GCC
11892 builtin and then its argument prototype would still apply. */
11893 #ifdef __cplusplus
11894 extern "C"
11895 #endif
11896 char gp_port_info_list_new ();
11898 main ()
11900 return gp_port_info_list_new ();
11902 return 0;
11904 _ACEOF
11905 if ac_fn_c_try_link "$LINENO"; then :
11906 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
11907 else
11908 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
11910 rm -f core conftest.err conftest.$ac_objext \
11911 conftest$ac_exeext conftest.$ac_ext
11912 LIBS=$ac_check_lib_save_LIBS
11914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11915 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11916 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
11918 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11920 else
11921 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11924 else
11925 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11929 CPPFLAGS=$ac_save_CPPFLAGS
11930 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11931 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11934 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11935 case "x$with_gphoto" in
11936 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11937 xno) ;;
11938 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11939 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11940 esac
11942 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11943 case "x$with_gphoto" in
11944 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11945 xno) ;;
11946 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11947 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11948 esac
11952 if test "$ac_cv_header_resolv_h" = "yes"
11953 then
11954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11955 $as_echo_n "checking for resolver library... " >&6; }
11956 if ${ac_cv_have_resolv+:} false; then :
11957 $as_echo_n "(cached) " >&6
11958 else
11959 ac_save_LIBS="$LIBS"
11960 for lib in '' -lresolv
11962 LIBS="$lib $ac_save_LIBS"
11963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11964 /* end confdefs.h. */
11965 #ifdef HAVE_NETINET_IN_H
11966 #include <netinet/in.h>
11967 #endif
11968 #include <resolv.h>
11970 main ()
11972 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11974 return 0;
11976 _ACEOF
11977 if ac_fn_c_try_link "$LINENO"; then :
11978 ac_cv_have_resolv=${lib:-"none required"}
11979 else
11980 ac_cv_have_resolv="not found"
11982 rm -f core conftest.err conftest.$ac_objext \
11983 conftest$ac_exeext conftest.$ac_ext
11984 test "x$ac_cv_have_resolv" = "xnot found" || break
11985 done
11986 LIBS="$ac_save_LIBS"
11988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
11989 $as_echo "$ac_cv_have_resolv" >&6; }
11991 case "$ac_cv_have_resolv" in
11992 "not found") ;;
11993 "none required")
11995 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11998 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12000 RESOLV_LIBS=$ac_cv_have_resolv
12002 esac
12005 if test "x$with_cms" != "xno"
12006 then
12007 if ${LCMS2_CFLAGS:+false} :; then :
12008 if ${PKG_CONFIG+:} false; then :
12009 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12013 if ${LCMS2_LIBS:+false} :; then :
12014 if ${PKG_CONFIG+:} false; then :
12015 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12019 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12020 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12021 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12022 ac_save_CPPFLAGS=$CPPFLAGS
12023 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12024 for ac_header in lcms2.h
12025 do :
12026 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12027 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12028 cat >>confdefs.h <<_ACEOF
12029 #define HAVE_LCMS2_H 1
12030 _ACEOF
12034 done
12036 if test "$ac_cv_header_lcms2_h" = "yes"
12037 then
12038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12039 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12040 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12041 $as_echo_n "(cached) " >&6
12042 else
12043 ac_check_lib_save_LIBS=$LIBS
12044 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12046 /* end confdefs.h. */
12048 /* Override any GCC internal prototype to avoid an error.
12049 Use char because int might match the return type of a GCC
12050 builtin and then its argument prototype would still apply. */
12051 #ifdef __cplusplus
12052 extern "C"
12053 #endif
12054 char cmsOpenProfileFromFile ();
12056 main ()
12058 return cmsOpenProfileFromFile ();
12060 return 0;
12062 _ACEOF
12063 if ac_fn_c_try_link "$LINENO"; then :
12064 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12065 else
12066 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12068 rm -f core conftest.err conftest.$ac_objext \
12069 conftest$ac_exeext conftest.$ac_ext
12070 LIBS=$ac_check_lib_save_LIBS
12072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12073 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12074 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12076 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12078 else
12079 LCMS2_LIBS=""
12082 else
12083 LCMS2_CFLAGS=""
12084 LCMS2_LIBS=""
12086 CPPFLAGS=$ac_save_CPPFLAGS
12087 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12088 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12091 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12092 case "x$with_cms" in
12093 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12094 xno) ;;
12095 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12096 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12097 esac
12100 if test "x$with_freetype" != "xno"
12101 then
12102 if ${FREETYPE_CFLAGS:+false} :; then :
12103 if ${PKG_CONFIG+:} false; then :
12104 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12107 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
12108 if ${FREETYPE_LIBS:+false} :; then :
12109 if ${PKG_CONFIG+:} false; then :
12110 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12113 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
12114 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12115 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12116 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12117 ac_save_CPPFLAGS=$CPPFLAGS
12118 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12119 for ac_header in ft2build.h
12120 do :
12121 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12122 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12123 cat >>confdefs.h <<_ACEOF
12124 #define HAVE_FT2BUILD_H 1
12125 _ACEOF
12129 done
12131 if test "$ac_cv_header_ft2build_h" = "yes"
12132 then
12133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12134 $as_echo_n "checking for -lfreetype... " >&6; }
12135 if ${ac_cv_lib_soname_freetype+:} false; then :
12136 $as_echo_n "(cached) " >&6
12137 else
12138 ac_check_soname_save_LIBS=$LIBS
12139 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12141 /* end confdefs.h. */
12143 /* Override any GCC internal prototype to avoid an error.
12144 Use char because int might match the return type of a GCC
12145 builtin and then its argument prototype would still apply. */
12146 #ifdef __cplusplus
12147 extern "C"
12148 #endif
12149 char FT_Init_FreeType ();
12151 main ()
12153 return FT_Init_FreeType ();
12155 return 0;
12157 _ACEOF
12158 if ac_fn_c_try_link "$LINENO"; then :
12159 case "$LIBEXT" in
12160 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12161 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'` ;;
12162 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12163 if ${ac_cv_lib_soname_freetype:+false} :; then :
12164 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12165 fi ;;
12166 esac
12168 rm -f core conftest.err conftest.$ac_objext \
12169 conftest$ac_exeext conftest.$ac_ext
12170 LIBS=$ac_check_soname_save_LIBS
12172 if ${ac_cv_lib_soname_freetype:+false} :; then :
12173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12174 $as_echo "not found" >&6; }
12175 FREETYPE_LIBS=""
12176 else
12177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12178 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12180 cat >>confdefs.h <<_ACEOF
12181 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12182 _ACEOF
12185 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12187 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12188 #include FT_MODULE_H
12190 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12192 cat >>confdefs.h <<_ACEOF
12193 #define HAVE_FT_TRUETYPEENGINETYPE 1
12194 _ACEOF
12200 else
12201 FREETYPE_CFLAGS=""
12202 FREETYPE_LIBS=""
12204 CPPFLAGS=$ac_save_CPPFLAGS
12205 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12206 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12209 if test "x$ac_cv_lib_soname_freetype" = x; then :
12210 case "x$with_freetype" in
12211 xno) ;;
12212 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12213 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12214 esac
12216 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
12218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12219 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12220 if ${ac_cv_c_ppdev+:} false; then :
12221 $as_echo_n "(cached) " >&6
12222 else
12223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12224 /* end confdefs.h. */
12225 #ifdef HAVE_SYS_IOCTL_H
12226 # include <sys/ioctl.h>
12227 #endif
12228 #include <linux/ppdev.h>
12230 main ()
12232 ioctl (1,PPCLAIM,0)
12234 return 0;
12236 _ACEOF
12237 if ac_fn_c_try_compile "$LINENO"; then :
12238 ac_cv_c_ppdev="yes"
12239 else
12240 ac_cv_c_ppdev="no"
12242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12245 $as_echo "$ac_cv_c_ppdev" >&6; }
12246 if test "$ac_cv_c_ppdev" = "yes"
12247 then
12249 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12253 ac_wine_check_funcs_save_LIBS="$LIBS"
12254 LIBS="$LIBS $PTHREAD_LIBS"
12255 for ac_func in \
12256 pthread_attr_get_np \
12257 pthread_getattr_np \
12258 pthread_getthreadid_np \
12259 pthread_get_stackaddr_np \
12260 pthread_get_stacksize_np
12261 do :
12262 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12263 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12264 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12265 cat >>confdefs.h <<_ACEOF
12266 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12267 _ACEOF
12270 done
12272 LIBS="$ac_wine_check_funcs_save_LIBS"
12274 if test "$ac_cv_header_zlib_h" = "yes"
12275 then
12276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12277 $as_echo_n "checking for inflate in -lz... " >&6; }
12278 if ${ac_cv_lib_z_inflate+:} false; then :
12279 $as_echo_n "(cached) " >&6
12280 else
12281 ac_check_lib_save_LIBS=$LIBS
12282 LIBS="-lz $LIBS"
12283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12284 /* end confdefs.h. */
12286 /* Override any GCC internal prototype to avoid an error.
12287 Use char because int might match the return type of a GCC
12288 builtin and then its argument prototype would still apply. */
12289 #ifdef __cplusplus
12290 extern "C"
12291 #endif
12292 char inflate ();
12294 main ()
12296 return inflate ();
12298 return 0;
12300 _ACEOF
12301 if ac_fn_c_try_link "$LINENO"; then :
12302 ac_cv_lib_z_inflate=yes
12303 else
12304 ac_cv_lib_z_inflate=no
12306 rm -f core conftest.err conftest.$ac_objext \
12307 conftest$ac_exeext conftest.$ac_ext
12308 LIBS=$ac_check_lib_save_LIBS
12310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12311 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12312 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12314 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12316 Z_LIBS="-lz"
12321 if test "x$Z_LIBS" = "x"; then :
12322 case "x$with_zlib" in
12323 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12324 xno) ;;
12325 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12326 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12327 esac
12330 if test "x$enable_tools" != xno
12331 then
12332 if test "$ac_cv_header_gettext_po_h" = "yes"
12333 then
12334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12335 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12336 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12337 $as_echo_n "(cached) " >&6
12338 else
12339 ac_check_lib_save_LIBS=$LIBS
12340 LIBS="-lgettextpo $LIBS"
12341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12342 /* end confdefs.h. */
12344 /* Override any GCC internal prototype to avoid an error.
12345 Use char because int might match the return type of a GCC
12346 builtin and then its argument prototype would still apply. */
12347 #ifdef __cplusplus
12348 extern "C"
12349 #endif
12350 char po_message_msgctxt ();
12352 main ()
12354 return po_message_msgctxt ();
12356 return 0;
12358 _ACEOF
12359 if ac_fn_c_try_link "$LINENO"; then :
12360 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12361 else
12362 ac_cv_lib_gettextpo_po_message_msgctxt=no
12364 rm -f core conftest.err conftest.$ac_objext \
12365 conftest$ac_exeext conftest.$ac_ext
12366 LIBS=$ac_check_lib_save_LIBS
12368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12369 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12370 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12372 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12374 GETTEXTPO_LIBS="-lgettextpo"
12379 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12380 case "x$with_gettextpo" in
12381 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12382 xno) ;;
12383 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12384 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12385 esac
12389 if test "x$with_gstreamer" != "xno"
12390 then
12391 if ${GSTREAMER_CFLAGS:+false} :; then :
12392 if ${PKG_CONFIG+:} false; then :
12393 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12397 if ${GSTREAMER_LIBS:+false} :; then :
12398 if ${PKG_CONFIG+:} false; then :
12399 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12404 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12405 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12406 ac_save_CPPFLAGS=$CPPFLAGS
12407 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12408 ac_gst_incl=""
12409 for i in $GSTREAMER_CFLAGS
12411 case "$i" in
12412 -I*) ac_gst_incl="$ac_gst_incl $i";;
12413 esac
12414 done
12415 GSTREAMER_CFLAGS=$ac_gst_incl
12416 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12417 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12418 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
12419 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12420 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
12421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12422 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12424 /* end confdefs.h. */
12425 #include <gst/app/gstappsink.h>
12427 main ()
12429 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12431 return 0;
12433 _ACEOF
12434 if ac_fn_c_try_compile "$LINENO"; then :
12435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12436 $as_echo "yes" >&6; }
12437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12438 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12439 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
12440 $as_echo_n "(cached) " >&6
12441 else
12442 ac_check_lib_save_LIBS=$LIBS
12443 LIBS="-lgstreamer-0.10 $LIBS"
12444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12445 /* end confdefs.h. */
12447 /* Override any GCC internal prototype to avoid an error.
12448 Use char because int might match the return type of a GCC
12449 builtin and then its argument prototype would still apply. */
12450 #ifdef __cplusplus
12451 extern "C"
12452 #endif
12453 char gst_pad_get_caps_reffed ();
12455 main ()
12457 return gst_pad_get_caps_reffed ();
12459 return 0;
12461 _ACEOF
12462 if ac_fn_c_try_link "$LINENO"; then :
12463 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
12464 else
12465 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
12467 rm -f core conftest.err conftest.$ac_objext \
12468 conftest$ac_exeext conftest.$ac_ext
12469 LIBS=$ac_check_lib_save_LIBS
12471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12472 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12473 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
12474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12475 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12476 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
12477 $as_echo_n "(cached) " >&6
12478 else
12479 ac_check_lib_save_LIBS=$LIBS
12480 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12482 /* end confdefs.h. */
12484 /* Override any GCC internal prototype to avoid an error.
12485 Use char because int might match the return type of a GCC
12486 builtin and then its argument prototype would still apply. */
12487 #ifdef __cplusplus
12488 extern "C"
12489 #endif
12490 char gst_app_buffer_new ();
12492 main ()
12494 return gst_app_buffer_new ();
12496 return 0;
12498 _ACEOF
12499 if ac_fn_c_try_link "$LINENO"; then :
12500 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
12501 else
12502 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
12504 rm -f core conftest.err conftest.$ac_objext \
12505 conftest$ac_exeext conftest.$ac_ext
12506 LIBS=$ac_check_lib_save_LIBS
12508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12509 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12510 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
12516 else
12517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12518 $as_echo "no" >&6; }
12520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12524 else
12525 GSTREAMER_CFLAGS=""
12529 CPPFLAGS=$ac_save_CPPFLAGS
12530 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12531 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12534 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
12535 case "x$with_gstreamer" in
12536 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12537 xno) ;;
12538 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12539 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12540 esac
12542 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12544 ALSA_LIBS=""
12546 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12547 then
12548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12549 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12550 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12551 $as_echo_n "(cached) " >&6
12552 else
12553 ac_check_lib_save_LIBS=$LIBS
12554 LIBS="-lasound $LIBS"
12555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12556 /* end confdefs.h. */
12558 /* Override any GCC internal prototype to avoid an error.
12559 Use char because int might match the return type of a GCC
12560 builtin and then its argument prototype would still apply. */
12561 #ifdef __cplusplus
12562 extern "C"
12563 #endif
12564 char snd_pcm_hw_params_get_access_mask ();
12566 main ()
12568 return snd_pcm_hw_params_get_access_mask ();
12570 return 0;
12572 _ACEOF
12573 if ac_fn_c_try_link "$LINENO"; then :
12574 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12575 else
12576 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12578 rm -f core conftest.err conftest.$ac_objext \
12579 conftest$ac_exeext conftest.$ac_ext
12580 LIBS=$ac_check_lib_save_LIBS
12582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12583 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12584 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12586 /* end confdefs.h. */
12587 #ifdef HAVE_ALSA_ASOUNDLIB_H
12588 #include <alsa/asoundlib.h>
12589 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12590 #include <sys/asoundlib.h>
12591 #endif
12593 main ()
12595 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12597 return 0;
12599 _ACEOF
12600 if ac_fn_c_try_compile "$LINENO"; then :
12601 ALSA_LIBS="-lasound"
12603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12608 if test "x$with_oss" != xno
12609 then
12610 ac_save_CPPFLAGS="$CPPFLAGS"
12611 if test -f /etc/oss.conf
12612 then
12613 . /etc/oss.conf
12615 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12616 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12617 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12618 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12619 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12621 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12623 cat >>confdefs.h <<_ACEOF
12624 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12625 _ACEOF
12627 OSS4_CFLAGS="$ac_oss_incl"
12634 CPPFLAGS="$ac_save_CPPFLAGS"
12635 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12636 then
12637 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12641 if test "x$with_capi" != "xno"
12642 then
12643 if ${CAPI20_CFLAGS:+false} :; then :
12644 if ${PKG_CONFIG+:} false; then :
12645 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12649 if ${CAPI20_LIBS:+false} :; then :
12650 if ${PKG_CONFIG+:} false; then :
12651 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12656 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12657 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12658 ac_save_CPPFLAGS=$CPPFLAGS
12659 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12660 for ac_header in capi20.h linux/capi.h
12661 do :
12662 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12663 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12665 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12666 cat >>confdefs.h <<_ACEOF
12667 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12668 _ACEOF
12672 done
12674 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12675 then
12676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12677 $as_echo_n "checking for -lcapi20... " >&6; }
12678 if ${ac_cv_lib_soname_capi20+:} false; then :
12679 $as_echo_n "(cached) " >&6
12680 else
12681 ac_check_soname_save_LIBS=$LIBS
12682 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12684 /* end confdefs.h. */
12686 /* Override any GCC internal prototype to avoid an error.
12687 Use char because int might match the return type of a GCC
12688 builtin and then its argument prototype would still apply. */
12689 #ifdef __cplusplus
12690 extern "C"
12691 #endif
12692 char capi20_register ();
12694 main ()
12696 return capi20_register ();
12698 return 0;
12700 _ACEOF
12701 if ac_fn_c_try_link "$LINENO"; then :
12702 case "$LIBEXT" in
12703 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12704 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'` ;;
12705 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12706 if ${ac_cv_lib_soname_capi20:+false} :; then :
12707 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12708 fi ;;
12709 esac
12711 rm -f core conftest.err conftest.$ac_objext \
12712 conftest$ac_exeext conftest.$ac_ext
12713 LIBS=$ac_check_soname_save_LIBS
12715 if ${ac_cv_lib_soname_capi20:+false} :; then :
12716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12717 $as_echo "not found" >&6; }
12719 else
12720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12721 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12723 cat >>confdefs.h <<_ACEOF
12724 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12725 _ACEOF
12730 CPPFLAGS=$ac_save_CPPFLAGS
12731 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12732 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12735 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12736 case "x$with_capi" in
12737 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12738 xno) ;;
12739 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12740 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12741 esac
12744 CUPS_CFLAGS=""
12746 if test "x$with_cups" != "xno"
12747 then
12748 ac_save_CPPFLAGS="$CPPFLAGS"
12749 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12750 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12751 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12752 for ac_header in cups/cups.h
12753 do :
12754 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12755 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12756 cat >>confdefs.h <<_ACEOF
12757 #define HAVE_CUPS_CUPS_H 1
12758 _ACEOF
12759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12760 $as_echo_n "checking for -lcups... " >&6; }
12761 if ${ac_cv_lib_soname_cups+:} false; then :
12762 $as_echo_n "(cached) " >&6
12763 else
12764 ac_check_soname_save_LIBS=$LIBS
12765 LIBS="-lcups $ac_cups_libs $LIBS"
12766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12767 /* end confdefs.h. */
12769 /* Override any GCC internal prototype to avoid an error.
12770 Use char because int might match the return type of a GCC
12771 builtin and then its argument prototype would still apply. */
12772 #ifdef __cplusplus
12773 extern "C"
12774 #endif
12775 char cupsGetDefault ();
12777 main ()
12779 return cupsGetDefault ();
12781 return 0;
12783 _ACEOF
12784 if ac_fn_c_try_link "$LINENO"; then :
12785 case "$LIBEXT" in
12786 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12787 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'` ;;
12788 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12789 if ${ac_cv_lib_soname_cups:+false} :; then :
12790 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12791 fi ;;
12792 esac
12794 rm -f core conftest.err conftest.$ac_objext \
12795 conftest$ac_exeext conftest.$ac_ext
12796 LIBS=$ac_check_soname_save_LIBS
12798 if ${ac_cv_lib_soname_cups:+false} :; then :
12799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12800 $as_echo "not found" >&6; }
12802 else
12803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12804 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12806 cat >>confdefs.h <<_ACEOF
12807 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12808 _ACEOF
12810 CUPS_CFLAGS="$ac_cups_cflags"
12814 done
12816 CPPFLAGS="$ac_save_CPPFLAGS"
12818 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12819 case "x$with_cups" in
12820 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12821 xno) ;;
12822 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12823 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12824 esac
12827 if test "x$with_fontconfig" != "xno"
12828 then
12829 if ${FONTCONFIG_CFLAGS:+false} :; then :
12830 if ${PKG_CONFIG+:} false; then :
12831 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12834 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12835 if ${FONTCONFIG_LIBS:+false} :; then :
12836 if ${PKG_CONFIG+:} false; then :
12837 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12840 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
12842 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12843 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12844 ac_save_CPPFLAGS=$CPPFLAGS
12845 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
12846 for ac_header in fontconfig/fontconfig.h
12847 do :
12848 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12849 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
12850 cat >>confdefs.h <<_ACEOF
12851 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12852 _ACEOF
12856 done
12858 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12859 then
12860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12861 $as_echo_n "checking for -lfontconfig... " >&6; }
12862 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12863 $as_echo_n "(cached) " >&6
12864 else
12865 ac_check_soname_save_LIBS=$LIBS
12866 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12868 /* end confdefs.h. */
12870 /* Override any GCC internal prototype to avoid an error.
12871 Use char because int might match the return type of a GCC
12872 builtin and then its argument prototype would still apply. */
12873 #ifdef __cplusplus
12874 extern "C"
12875 #endif
12876 char FcInit ();
12878 main ()
12880 return FcInit ();
12882 return 0;
12884 _ACEOF
12885 if ac_fn_c_try_link "$LINENO"; then :
12886 case "$LIBEXT" in
12887 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12888 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'` ;;
12889 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12890 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12891 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12892 fi ;;
12893 esac
12895 rm -f core conftest.err conftest.$ac_objext \
12896 conftest$ac_exeext conftest.$ac_ext
12897 LIBS=$ac_check_soname_save_LIBS
12899 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12901 $as_echo "not found" >&6; }
12902 FONTCONFIG_CFLAGS=""
12903 else
12904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12905 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12907 cat >>confdefs.h <<_ACEOF
12908 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12909 _ACEOF
12913 else
12914 FONTCONFIG_CFLAGS=""
12916 CPPFLAGS=$ac_save_CPPFLAGS
12917 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12918 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12921 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12922 case "x$with_fontconfig" in
12923 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12924 xno) ;;
12925 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12926 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12927 esac
12930 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12931 then
12932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12933 $as_echo_n "checking for -lgsm... " >&6; }
12934 if ${ac_cv_lib_soname_gsm+:} false; then :
12935 $as_echo_n "(cached) " >&6
12936 else
12937 ac_check_soname_save_LIBS=$LIBS
12938 LIBS="-lgsm $LIBS"
12939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12940 /* end confdefs.h. */
12942 /* Override any GCC internal prototype to avoid an error.
12943 Use char because int might match the return type of a GCC
12944 builtin and then its argument prototype would still apply. */
12945 #ifdef __cplusplus
12946 extern "C"
12947 #endif
12948 char gsm_create ();
12950 main ()
12952 return gsm_create ();
12954 return 0;
12956 _ACEOF
12957 if ac_fn_c_try_link "$LINENO"; then :
12958 case "$LIBEXT" in
12959 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12960 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'` ;;
12961 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12962 if ${ac_cv_lib_soname_gsm:+false} :; then :
12963 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12964 fi ;;
12965 esac
12967 rm -f core conftest.err conftest.$ac_objext \
12968 conftest$ac_exeext conftest.$ac_ext
12969 LIBS=$ac_check_soname_save_LIBS
12971 if ${ac_cv_lib_soname_gsm:+false} :; then :
12972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12973 $as_echo "not found" >&6; }
12975 else
12976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12977 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12979 cat >>confdefs.h <<_ACEOF
12980 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12981 _ACEOF
12986 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12987 case "x$with_gsm" in
12988 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12989 xno) ;;
12990 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12991 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12992 esac
12995 if test "x$with_jpeg" != "xno"
12996 then
12997 if ${JPEG_CFLAGS:+false} :; then :
12998 if ${PKG_CONFIG+:} false; then :
12999 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13003 if ${JPEG_LIBS:+false} :; then :
13004 if ${PKG_CONFIG+:} false; then :
13005 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13010 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13011 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13012 ac_save_CPPFLAGS=$CPPFLAGS
13013 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13014 for ac_header in jpeglib.h
13015 do :
13016 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13017 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13018 cat >>confdefs.h <<_ACEOF
13019 #define HAVE_JPEGLIB_H 1
13020 _ACEOF
13024 done
13026 if test "$ac_cv_header_jpeglib_h" = "yes"
13027 then
13028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13029 $as_echo_n "checking for -ljpeg... " >&6; }
13030 if ${ac_cv_lib_soname_jpeg+:} false; then :
13031 $as_echo_n "(cached) " >&6
13032 else
13033 ac_check_soname_save_LIBS=$LIBS
13034 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13036 /* end confdefs.h. */
13038 /* Override any GCC internal prototype to avoid an error.
13039 Use char because int might match the return type of a GCC
13040 builtin and then its argument prototype would still apply. */
13041 #ifdef __cplusplus
13042 extern "C"
13043 #endif
13044 char jpeg_start_decompress ();
13046 main ()
13048 return jpeg_start_decompress ();
13050 return 0;
13052 _ACEOF
13053 if ac_fn_c_try_link "$LINENO"; then :
13054 case "$LIBEXT" in
13055 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13056 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'` ;;
13057 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13058 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13059 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13060 fi ;;
13061 esac
13063 rm -f core conftest.err conftest.$ac_objext \
13064 conftest$ac_exeext conftest.$ac_ext
13065 LIBS=$ac_check_soname_save_LIBS
13067 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13069 $as_echo "not found" >&6; }
13070 JPEG_CFLAGS=""
13071 else
13072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13073 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13075 cat >>confdefs.h <<_ACEOF
13076 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13077 _ACEOF
13081 else
13082 JPEG_CFLAGS=""
13084 CPPFLAGS=$ac_save_CPPFLAGS
13085 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13086 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13089 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13090 case "x$with_jpeg" in
13091 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13092 xno) ;;
13093 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13094 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13095 esac
13098 if test "x$with_png" != "xno"
13099 then
13100 if ${PNG_CFLAGS:+false} :; then :
13101 if ${PKG_CONFIG+:} false; then :
13102 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13105 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13106 if ${PNG_LIBS:+false} :; then :
13107 if ${PKG_CONFIG+:} false; then :
13108 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13111 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13113 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13114 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13115 ac_save_CPPFLAGS=$CPPFLAGS
13116 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13117 for ac_header in png.h
13118 do :
13119 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13120 if test "x$ac_cv_header_png_h" = xyes; then :
13121 cat >>confdefs.h <<_ACEOF
13122 #define HAVE_PNG_H 1
13123 _ACEOF
13127 done
13129 if test "$ac_cv_header_png_h" = "yes"
13130 then
13131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13132 $as_echo_n "checking for -lpng... " >&6; }
13133 if ${ac_cv_lib_soname_png+:} false; then :
13134 $as_echo_n "(cached) " >&6
13135 else
13136 ac_check_soname_save_LIBS=$LIBS
13137 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13139 /* end confdefs.h. */
13141 /* Override any GCC internal prototype to avoid an error.
13142 Use char because int might match the return type of a GCC
13143 builtin and then its argument prototype would still apply. */
13144 #ifdef __cplusplus
13145 extern "C"
13146 #endif
13147 char png_create_read_struct ();
13149 main ()
13151 return png_create_read_struct ();
13153 return 0;
13155 _ACEOF
13156 if ac_fn_c_try_link "$LINENO"; then :
13157 case "$LIBEXT" in
13158 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13159 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'` ;;
13160 *) 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'`
13161 if ${ac_cv_lib_soname_png:+false} :; then :
13162 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13163 fi ;;
13164 esac
13166 rm -f core conftest.err conftest.$ac_objext \
13167 conftest$ac_exeext conftest.$ac_ext
13168 LIBS=$ac_check_soname_save_LIBS
13170 if ${ac_cv_lib_soname_png:+false} :; then :
13171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13172 $as_echo "not found" >&6; }
13173 PNG_CFLAGS=""
13174 else
13175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13176 $as_echo "$ac_cv_lib_soname_png" >&6; }
13178 cat >>confdefs.h <<_ACEOF
13179 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13180 _ACEOF
13182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13183 /* end confdefs.h. */
13184 #include <png.h>
13186 main ()
13188 typeof(png_set_expand_gray_1_2_4_to_8) *p
13190 return 0;
13192 _ACEOF
13193 if ac_fn_c_try_compile "$LINENO"; then :
13195 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13200 else
13201 PNG_CFLAGS=""
13203 CPPFLAGS=$ac_save_CPPFLAGS
13204 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13205 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13208 if test "x$ac_cv_lib_soname_png" = "x"; then :
13209 case "x$with_png" in
13210 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13211 xno) ;;
13212 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13213 This is an error since --with-png was requested." "$LINENO" 5 ;;
13214 esac
13217 if test "x$with_tiff" != "xno"
13218 then
13219 if ${TIFF_CFLAGS:+false} :; then :
13220 if ${PKG_CONFIG+:} false; then :
13221 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13225 if ${TIFF_LIBS:+false} :; then :
13226 if ${PKG_CONFIG+:} false; then :
13227 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13232 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13233 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13234 ac_save_CPPFLAGS=$CPPFLAGS
13235 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13236 for ac_header in tiffio.h
13237 do :
13238 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13239 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13240 cat >>confdefs.h <<_ACEOF
13241 #define HAVE_TIFFIO_H 1
13242 _ACEOF
13246 done
13248 if test "$ac_cv_header_tiffio_h" = "yes"
13249 then
13250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13251 $as_echo_n "checking for -ltiff... " >&6; }
13252 if ${ac_cv_lib_soname_tiff+:} false; then :
13253 $as_echo_n "(cached) " >&6
13254 else
13255 ac_check_soname_save_LIBS=$LIBS
13256 LIBS="-ltiff $TIFF_LIBS $LIBS"
13257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13258 /* end confdefs.h. */
13260 /* Override any GCC internal prototype to avoid an error.
13261 Use char because int might match the return type of a GCC
13262 builtin and then its argument prototype would still apply. */
13263 #ifdef __cplusplus
13264 extern "C"
13265 #endif
13266 char TIFFClientOpen ();
13268 main ()
13270 return TIFFClientOpen ();
13272 return 0;
13274 _ACEOF
13275 if ac_fn_c_try_link "$LINENO"; then :
13276 case "$LIBEXT" in
13277 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13278 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'` ;;
13279 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13280 if ${ac_cv_lib_soname_tiff:+false} :; then :
13281 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13282 fi ;;
13283 esac
13285 rm -f core conftest.err conftest.$ac_objext \
13286 conftest$ac_exeext conftest.$ac_ext
13287 LIBS=$ac_check_soname_save_LIBS
13289 if ${ac_cv_lib_soname_tiff:+false} :; then :
13290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13291 $as_echo "not found" >&6; }
13293 else
13294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13295 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13297 cat >>confdefs.h <<_ACEOF
13298 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13299 _ACEOF
13304 CPPFLAGS=$ac_save_CPPFLAGS
13305 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13306 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13309 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13310 case "x$with_tiff" in
13311 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13312 xno) ;;
13313 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13314 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13315 esac
13318 if test "x$with_mpg123" != "xno"
13319 then
13320 if ${MPG123_CFLAGS:+false} :; then :
13321 if ${PKG_CONFIG+:} false; then :
13322 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13326 if ${MPG123_LIBS:+false} :; then :
13327 if ${PKG_CONFIG+:} false; then :
13328 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13332 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13333 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13334 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13335 ac_save_CPPFLAGS=$CPPFLAGS
13336 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13337 for ac_header in mpg123.h
13338 do :
13339 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13340 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13341 cat >>confdefs.h <<_ACEOF
13342 #define HAVE_MPG123_H 1
13343 _ACEOF
13347 done
13349 if test "$ac_cv_header_mpg123_h" = "yes"
13350 then
13351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13352 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13353 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13354 $as_echo_n "(cached) " >&6
13355 else
13356 ac_check_lib_save_LIBS=$LIBS
13357 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13359 /* end confdefs.h. */
13361 /* Override any GCC internal prototype to avoid an error.
13362 Use char because int might match the return type of a GCC
13363 builtin and then its argument prototype would still apply. */
13364 #ifdef __cplusplus
13365 extern "C"
13366 #endif
13367 char mpg123_feed ();
13369 main ()
13371 return mpg123_feed ();
13373 return 0;
13375 _ACEOF
13376 if ac_fn_c_try_link "$LINENO"; then :
13377 ac_cv_lib_mpg123_mpg123_feed=yes
13378 else
13379 ac_cv_lib_mpg123_mpg123_feed=no
13381 rm -f core conftest.err conftest.$ac_objext \
13382 conftest$ac_exeext conftest.$ac_ext
13383 LIBS=$ac_check_lib_save_LIBS
13385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13386 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13387 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13389 else
13390 MPG123_LIBS=""
13393 else
13394 MPG123_CFLAGS=""
13395 MPG123_LIBS=""
13397 CPPFLAGS=$ac_save_CPPFLAGS
13398 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13399 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13402 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13403 case "x$with_mpg123" in
13404 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13405 xno) ;;
13406 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13407 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13408 esac
13410 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}
13412 if test "$ac_cv_header_AL_al_h" = "yes"
13413 then
13414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13415 $as_echo_n "checking for -lopenal... " >&6; }
13416 if ${ac_cv_lib_soname_openal+:} false; then :
13417 $as_echo_n "(cached) " >&6
13418 else
13419 ac_check_soname_save_LIBS=$LIBS
13420 LIBS="-lopenal $LIBS"
13421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13422 /* end confdefs.h. */
13424 /* Override any GCC internal prototype to avoid an error.
13425 Use char because int might match the return type of a GCC
13426 builtin and then its argument prototype would still apply. */
13427 #ifdef __cplusplus
13428 extern "C"
13429 #endif
13430 char alGetSource3i ();
13432 main ()
13434 return alGetSource3i ();
13436 return 0;
13438 _ACEOF
13439 if ac_fn_c_try_link "$LINENO"; then :
13440 case "$LIBEXT" in
13441 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13442 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'` ;;
13443 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13444 if ${ac_cv_lib_soname_openal:+false} :; then :
13445 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13446 fi ;;
13447 esac
13449 rm -f core conftest.err conftest.$ac_objext \
13450 conftest$ac_exeext conftest.$ac_ext
13451 LIBS=$ac_check_soname_save_LIBS
13453 if ${ac_cv_lib_soname_openal:+false} :; then :
13454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13455 $as_echo "not found" >&6; }
13457 else
13458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13459 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13461 cat >>confdefs.h <<_ACEOF
13462 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13463 _ACEOF
13465 OPENAL_LIBS="-lopenal"
13467 ac_cv_lib_openal=yes
13469 cat >>confdefs.h <<_ACEOF
13470 #define HAVE_OPENAL 1
13471 _ACEOF
13475 if test "x$ac_cv_lib_openal" != xyes; then :
13476 case "x$with_openal" in
13477 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13478 xno) ;;
13479 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13480 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13481 esac
13483 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13485 if test "$ac_cv_header_kstat_h" = "yes"
13486 then
13487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13488 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13489 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13490 $as_echo_n "(cached) " >&6
13491 else
13492 ac_check_lib_save_LIBS=$LIBS
13493 LIBS="-lkstat $LIBS"
13494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13495 /* end confdefs.h. */
13497 /* Override any GCC internal prototype to avoid an error.
13498 Use char because int might match the return type of a GCC
13499 builtin and then its argument prototype would still apply. */
13500 #ifdef __cplusplus
13501 extern "C"
13502 #endif
13503 char kstat_open ();
13505 main ()
13507 return kstat_open ();
13509 return 0;
13511 _ACEOF
13512 if ac_fn_c_try_link "$LINENO"; then :
13513 ac_cv_lib_kstat_kstat_open=yes
13514 else
13515 ac_cv_lib_kstat_kstat_open=no
13517 rm -f core conftest.err conftest.$ac_objext \
13518 conftest$ac_exeext conftest.$ac_ext
13519 LIBS=$ac_check_lib_save_LIBS
13521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13522 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13523 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13525 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13527 KSTAT_LIBS="-lkstat"
13533 if test "$ac_cv_header_libprocstat_h" = "yes"
13534 then
13535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13536 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13537 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13538 $as_echo_n "(cached) " >&6
13539 else
13540 ac_check_lib_save_LIBS=$LIBS
13541 LIBS="-lprocstat $LIBS"
13542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13543 /* end confdefs.h. */
13545 /* Override any GCC internal prototype to avoid an error.
13546 Use char because int might match the return type of a GCC
13547 builtin and then its argument prototype would still apply. */
13548 #ifdef __cplusplus
13549 extern "C"
13550 #endif
13551 char procstat_open_sysctl ();
13553 main ()
13555 return procstat_open_sysctl ();
13557 return 0;
13559 _ACEOF
13560 if ac_fn_c_try_link "$LINENO"; then :
13561 ac_cv_lib_procstat_procstat_open_sysctl=yes
13562 else
13563 ac_cv_lib_procstat_procstat_open_sysctl=no
13565 rm -f core conftest.err conftest.$ac_objext \
13566 conftest$ac_exeext conftest.$ac_ext
13567 LIBS=$ac_check_lib_save_LIBS
13569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13570 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13571 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13573 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13575 PROCSTAT_LIBS="-lprocstat"
13581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13582 $as_echo_n "checking for -lodbc... " >&6; }
13583 if ${ac_cv_lib_soname_odbc+:} false; then :
13584 $as_echo_n "(cached) " >&6
13585 else
13586 ac_check_soname_save_LIBS=$LIBS
13587 LIBS="-lodbc $LIBS"
13588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13589 /* end confdefs.h. */
13591 /* Override any GCC internal prototype to avoid an error.
13592 Use char because int might match the return type of a GCC
13593 builtin and then its argument prototype would still apply. */
13594 #ifdef __cplusplus
13595 extern "C"
13596 #endif
13597 char SQLConnect ();
13599 main ()
13601 return SQLConnect ();
13603 return 0;
13605 _ACEOF
13606 if ac_fn_c_try_link "$LINENO"; then :
13607 case "$LIBEXT" in
13608 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13609 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'` ;;
13610 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13611 if ${ac_cv_lib_soname_odbc:+false} :; then :
13612 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13613 fi ;;
13614 esac
13616 rm -f core conftest.err conftest.$ac_objext \
13617 conftest$ac_exeext conftest.$ac_ext
13618 LIBS=$ac_check_soname_save_LIBS
13620 if ${ac_cv_lib_soname_odbc:+false} :; then :
13621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13622 $as_echo "not found" >&6; }
13623 cat >>confdefs.h <<_ACEOF
13624 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13625 _ACEOF
13627 else
13628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13629 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13631 cat >>confdefs.h <<_ACEOF
13632 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13633 _ACEOF
13638 if test "x$with_netapi" != "xno"
13639 then
13640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13641 $as_echo_n "checking for -lnetapi... " >&6; }
13642 if ${ac_cv_lib_soname_netapi+:} false; then :
13643 $as_echo_n "(cached) " >&6
13644 else
13645 ac_check_soname_save_LIBS=$LIBS
13646 LIBS="-lnetapi $LIBS"
13647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13648 /* end confdefs.h. */
13650 /* Override any GCC internal prototype to avoid an error.
13651 Use char because int might match the return type of a GCC
13652 builtin and then its argument prototype would still apply. */
13653 #ifdef __cplusplus
13654 extern "C"
13655 #endif
13656 char libnetapi_init ();
13658 main ()
13660 return libnetapi_init ();
13662 return 0;
13664 _ACEOF
13665 if ac_fn_c_try_link "$LINENO"; then :
13666 case "$LIBEXT" in
13667 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13668 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'` ;;
13669 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13670 if ${ac_cv_lib_soname_netapi:+false} :; then :
13671 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13672 fi ;;
13673 esac
13675 rm -f core conftest.err conftest.$ac_objext \
13676 conftest$ac_exeext conftest.$ac_ext
13677 LIBS=$ac_check_soname_save_LIBS
13679 if ${ac_cv_lib_soname_netapi:+false} :; then :
13680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13681 $as_echo "not found" >&6; }
13682 cat >>confdefs.h <<_ACEOF
13683 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13684 _ACEOF
13686 else
13687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13688 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13690 cat >>confdefs.h <<_ACEOF
13691 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13692 _ACEOF
13698 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13699 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
13700 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
13701 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
13703 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13704 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
13705 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13706 then
13707 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13711 EXTRACFLAGS=""
13713 if test "x${GCC}" = "xyes"
13714 then
13715 EXTRACFLAGS="-Wall -pipe"
13717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13718 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13719 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13720 $as_echo_n "(cached) " >&6
13721 else
13722 if test "$cross_compiling" = yes; then :
13723 ac_cv_c_gcc_strength_bug="yes"
13724 else
13725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13726 /* end confdefs.h. */
13727 int L[4] = {0,1,2,3};
13729 main ()
13731 static int Array[3];
13732 unsigned int B = 3;
13733 int i;
13734 for(i=0; i<B; i++) Array[i] = i - 3;
13735 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13736 L[i] = 4;
13737 return (Array[1] != -2 || L[2] != 3)
13739 return 0;
13741 _ACEOF
13742 if ac_fn_c_try_run "$LINENO"; then :
13743 ac_cv_c_gcc_strength_bug="no"
13744 else
13745 ac_cv_c_gcc_strength_bug="yes"
13747 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13748 conftest.$ac_objext conftest.beam conftest.$ac_ext
13752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13753 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13754 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13755 then
13756 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13760 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13761 if ${ac_cv_cflags__fno_builtin+:} false; then :
13762 $as_echo_n "(cached) " >&6
13763 else
13764 ac_wine_try_cflags_saved=$CFLAGS
13765 CFLAGS="$CFLAGS -fno-builtin"
13766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13767 /* end confdefs.h. */
13768 int main(int argc, char **argv) { return 0; }
13769 _ACEOF
13770 if ac_fn_c_try_link "$LINENO"; then :
13771 ac_cv_cflags__fno_builtin=yes
13772 else
13773 ac_cv_cflags__fno_builtin=no
13775 rm -f core conftest.err conftest.$ac_objext \
13776 conftest$ac_exeext conftest.$ac_ext
13777 CFLAGS=$ac_wine_try_cflags_saved
13779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13780 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13781 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
13782 BUILTINFLAG="-fno-builtin"
13785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13786 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13787 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
13788 $as_echo_n "(cached) " >&6
13789 else
13790 ac_wine_try_cflags_saved=$CFLAGS
13791 CFLAGS="$CFLAGS -fno-strict-aliasing"
13792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13793 /* end confdefs.h. */
13794 int main(int argc, char **argv) { return 0; }
13795 _ACEOF
13796 if ac_fn_c_try_link "$LINENO"; then :
13797 ac_cv_cflags__fno_strict_aliasing=yes
13798 else
13799 ac_cv_cflags__fno_strict_aliasing=no
13801 rm -f core conftest.err conftest.$ac_objext \
13802 conftest$ac_exeext conftest.$ac_ext
13803 CFLAGS=$ac_wine_try_cflags_saved
13805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13806 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13807 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
13808 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
13810 saved_CFLAGS=$CFLAGS
13811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13812 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13813 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
13814 $as_echo_n "(cached) " >&6
13815 else
13816 ac_wine_try_cflags_saved=$CFLAGS
13817 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13819 /* end confdefs.h. */
13820 int main(int argc, char **argv) { return 0; }
13821 _ACEOF
13822 if ac_fn_c_try_link "$LINENO"; then :
13823 ac_cv_cflags__Werror_unknown_warning_option=yes
13824 else
13825 ac_cv_cflags__Werror_unknown_warning_option=no
13827 rm -f core conftest.err conftest.$ac_objext \
13828 conftest$ac_exeext conftest.$ac_ext
13829 CFLAGS=$ac_wine_try_cflags_saved
13831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13832 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13833 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
13834 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13837 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13838 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
13839 $as_echo_n "(cached) " >&6
13840 else
13841 ac_wine_try_cflags_saved=$CFLAGS
13842 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
13843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13844 /* end confdefs.h. */
13845 int main(int argc, char **argv) { return 0; }
13846 _ACEOF
13847 if ac_fn_c_try_link "$LINENO"; then :
13848 ac_cv_cflags__Wdeclaration_after_statement=yes
13849 else
13850 ac_cv_cflags__Wdeclaration_after_statement=no
13852 rm -f core conftest.err conftest.$ac_objext \
13853 conftest$ac_exeext conftest.$ac_ext
13854 CFLAGS=$ac_wine_try_cflags_saved
13856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13857 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13858 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
13859 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
13861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13862 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13863 if ${ac_cv_cflags__Wempty_body+:} false; then :
13864 $as_echo_n "(cached) " >&6
13865 else
13866 ac_wine_try_cflags_saved=$CFLAGS
13867 CFLAGS="$CFLAGS -Wempty-body"
13868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13869 /* end confdefs.h. */
13870 int main(int argc, char **argv) { return 0; }
13871 _ACEOF
13872 if ac_fn_c_try_link "$LINENO"; then :
13873 ac_cv_cflags__Wempty_body=yes
13874 else
13875 ac_cv_cflags__Wempty_body=no
13877 rm -f core conftest.err conftest.$ac_objext \
13878 conftest$ac_exeext conftest.$ac_ext
13879 CFLAGS=$ac_wine_try_cflags_saved
13881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13882 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13883 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
13884 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
13886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13887 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13888 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
13889 $as_echo_n "(cached) " >&6
13890 else
13891 ac_wine_try_cflags_saved=$CFLAGS
13892 CFLAGS="$CFLAGS -Wignored-qualifiers"
13893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13894 /* end confdefs.h. */
13895 int main(int argc, char **argv) { return 0; }
13896 _ACEOF
13897 if ac_fn_c_try_link "$LINENO"; then :
13898 ac_cv_cflags__Wignored_qualifiers=yes
13899 else
13900 ac_cv_cflags__Wignored_qualifiers=no
13902 rm -f core conftest.err conftest.$ac_objext \
13903 conftest$ac_exeext conftest.$ac_ext
13904 CFLAGS=$ac_wine_try_cflags_saved
13906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13907 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13908 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
13909 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
13911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13912 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13913 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
13914 $as_echo_n "(cached) " >&6
13915 else
13916 ac_wine_try_cflags_saved=$CFLAGS
13917 CFLAGS="$CFLAGS -Wstrict-prototypes"
13918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13919 /* end confdefs.h. */
13920 int main(int argc, char **argv) { return 0; }
13921 _ACEOF
13922 if ac_fn_c_try_link "$LINENO"; then :
13923 ac_cv_cflags__Wstrict_prototypes=yes
13924 else
13925 ac_cv_cflags__Wstrict_prototypes=no
13927 rm -f core conftest.err conftest.$ac_objext \
13928 conftest$ac_exeext conftest.$ac_ext
13929 CFLAGS=$ac_wine_try_cflags_saved
13931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13932 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13933 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
13934 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
13936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13937 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13938 if ${ac_cv_cflags__Wtype_limits+:} false; then :
13939 $as_echo_n "(cached) " >&6
13940 else
13941 ac_wine_try_cflags_saved=$CFLAGS
13942 CFLAGS="$CFLAGS -Wtype-limits"
13943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13944 /* end confdefs.h. */
13945 int main(int argc, char **argv) { return 0; }
13946 _ACEOF
13947 if ac_fn_c_try_link "$LINENO"; then :
13948 ac_cv_cflags__Wtype_limits=yes
13949 else
13950 ac_cv_cflags__Wtype_limits=no
13952 rm -f core conftest.err conftest.$ac_objext \
13953 conftest$ac_exeext conftest.$ac_ext
13954 CFLAGS=$ac_wine_try_cflags_saved
13956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13957 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13958 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
13959 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
13961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13962 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13963 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
13964 $as_echo_n "(cached) " >&6
13965 else
13966 ac_wine_try_cflags_saved=$CFLAGS
13967 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
13968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13969 /* end confdefs.h. */
13970 int main(int argc, char **argv) { return 0; }
13971 _ACEOF
13972 if ac_fn_c_try_link "$LINENO"; then :
13973 ac_cv_cflags__Wunused_but_set_parameter=yes
13974 else
13975 ac_cv_cflags__Wunused_but_set_parameter=no
13977 rm -f core conftest.err conftest.$ac_objext \
13978 conftest$ac_exeext conftest.$ac_ext
13979 CFLAGS=$ac_wine_try_cflags_saved
13981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13982 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13983 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
13984 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
13986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13987 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13988 if ${ac_cv_cflags__Wvla+:} false; then :
13989 $as_echo_n "(cached) " >&6
13990 else
13991 ac_wine_try_cflags_saved=$CFLAGS
13992 CFLAGS="$CFLAGS -Wvla"
13993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13994 /* end confdefs.h. */
13995 int main(int argc, char **argv) { return 0; }
13996 _ACEOF
13997 if ac_fn_c_try_link "$LINENO"; then :
13998 ac_cv_cflags__Wvla=yes
13999 else
14000 ac_cv_cflags__Wvla=no
14002 rm -f core conftest.err conftest.$ac_objext \
14003 conftest$ac_exeext conftest.$ac_ext
14004 CFLAGS=$ac_wine_try_cflags_saved
14006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14007 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14008 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14009 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14012 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14013 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14014 $as_echo_n "(cached) " >&6
14015 else
14016 ac_wine_try_cflags_saved=$CFLAGS
14017 CFLAGS="$CFLAGS -Wwrite-strings"
14018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14019 /* end confdefs.h. */
14020 int main(int argc, char **argv) { return 0; }
14021 _ACEOF
14022 if ac_fn_c_try_link "$LINENO"; then :
14023 ac_cv_cflags__Wwrite_strings=yes
14024 else
14025 ac_cv_cflags__Wwrite_strings=no
14027 rm -f core conftest.err conftest.$ac_objext \
14028 conftest$ac_exeext conftest.$ac_ext
14029 CFLAGS=$ac_wine_try_cflags_saved
14031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14032 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14033 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14034 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14038 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14039 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14040 $as_echo_n "(cached) " >&6
14041 else
14042 ac_wine_try_cflags_saved=$CFLAGS
14043 CFLAGS="$CFLAGS -Wpointer-arith"
14044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14045 /* end confdefs.h. */
14046 int main(int argc, char **argv) { return 0; }
14047 _ACEOF
14048 if ac_fn_c_try_link "$LINENO"; then :
14049 ac_cv_cflags__Wpointer_arith=yes
14050 else
14051 ac_cv_cflags__Wpointer_arith=no
14053 rm -f core conftest.err conftest.$ac_objext \
14054 conftest$ac_exeext conftest.$ac_ext
14055 CFLAGS=$ac_wine_try_cflags_saved
14057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14058 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14059 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14060 saved_string_h_CFLAGS=$CFLAGS
14061 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14063 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14064 if ${ac_cv_c_string_h_warnings+:} false; then :
14065 $as_echo_n "(cached) " >&6
14066 else
14067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14068 /* end confdefs.h. */
14069 #include <string.h>
14071 main ()
14075 return 0;
14077 _ACEOF
14078 if ac_fn_c_try_compile "$LINENO"; then :
14079 ac_cv_c_string_h_warnings=no
14080 else
14081 ac_cv_c_string_h_warnings=yes
14083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14086 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14087 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14088 CFLAGS=$saved_string_h_CFLAGS
14091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14092 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14093 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14094 $as_echo_n "(cached) " >&6
14095 else
14096 ac_wine_try_cflags_saved=$CFLAGS
14097 CFLAGS="$CFLAGS -Wlogical-op"
14098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14099 /* end confdefs.h. */
14100 int main(int argc, char **argv) { return 0; }
14101 _ACEOF
14102 if ac_fn_c_try_link "$LINENO"; then :
14103 ac_cv_cflags__Wlogical_op=yes
14104 else
14105 ac_cv_cflags__Wlogical_op=no
14107 rm -f core conftest.err conftest.$ac_objext \
14108 conftest$ac_exeext conftest.$ac_ext
14109 CFLAGS=$ac_wine_try_cflags_saved
14111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14112 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14113 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14114 saved_string_h_CFLAGS=$CFLAGS
14115 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14117 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14118 if ${ac_cv_c_logicalop_noisy+:} false; then :
14119 $as_echo_n "(cached) " >&6
14120 else
14121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14122 /* end confdefs.h. */
14123 #include <string.h>
14124 char*f(const char *h,char n) {return strchr(h,n);}
14126 main ()
14130 return 0;
14132 _ACEOF
14133 if ac_fn_c_try_compile "$LINENO"; then :
14134 ac_cv_c_logicalop_noisy=no
14135 else
14136 ac_cv_c_logicalop_noisy=yes
14138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14141 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14142 CFLAGS=$saved_string_h_CFLAGS
14143 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14146 CFLAGS=$saved_CFLAGS
14148 for ac_flag in $CFLAGS; do
14149 case $ac_flag in
14150 -g) case $host_os in
14151 darwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
14152 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
14153 if ${ac_cv_cflags__gstabsp+:} false; then :
14154 $as_echo_n "(cached) " >&6
14155 else
14156 ac_wine_try_cflags_saved=$CFLAGS
14157 CFLAGS="$CFLAGS -gstabs+"
14158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14159 /* end confdefs.h. */
14160 int main(int argc, char **argv) { return 0; }
14161 _ACEOF
14162 if ac_fn_c_try_link "$LINENO"; then :
14163 ac_cv_cflags__gstabsp=yes
14164 else
14165 ac_cv_cflags__gstabsp=no
14167 rm -f core conftest.err conftest.$ac_objext \
14168 conftest$ac_exeext conftest.$ac_ext
14169 CFLAGS=$ac_wine_try_cflags_saved
14171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
14172 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
14173 if test "x$ac_cv_cflags__gstabsp" = xyes; then :
14174 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
14175 fi ;;
14176 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14177 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14178 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14179 $as_echo_n "(cached) " >&6
14180 else
14181 ac_wine_try_cflags_saved=$CFLAGS
14182 CFLAGS="$CFLAGS -gdwarf-2"
14183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14184 /* end confdefs.h. */
14185 int main(int argc, char **argv) { return 0; }
14186 _ACEOF
14187 if ac_fn_c_try_link "$LINENO"; then :
14188 ac_cv_cflags__gdwarf_2=yes
14189 else
14190 ac_cv_cflags__gdwarf_2=no
14192 rm -f core conftest.err conftest.$ac_objext \
14193 conftest$ac_exeext conftest.$ac_ext
14194 CFLAGS=$ac_wine_try_cflags_saved
14196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14197 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14198 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14199 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14202 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14203 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14204 $as_echo_n "(cached) " >&6
14205 else
14206 ac_wine_try_cflags_saved=$CFLAGS
14207 CFLAGS="$CFLAGS -gstrict-dwarf"
14208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14209 /* end confdefs.h. */
14210 int main(int argc, char **argv) { return 0; }
14211 _ACEOF
14212 if ac_fn_c_try_link "$LINENO"; then :
14213 ac_cv_cflags__gstrict_dwarf=yes
14214 else
14215 ac_cv_cflags__gstrict_dwarf=no
14217 rm -f core conftest.err conftest.$ac_objext \
14218 conftest$ac_exeext conftest.$ac_ext
14219 CFLAGS=$ac_wine_try_cflags_saved
14221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14222 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14223 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14224 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14225 fi ;;
14226 esac ;;
14227 esac
14228 done
14230 case $host_cpu in
14231 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14232 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14233 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14234 $as_echo_n "(cached) " >&6
14235 else
14236 ac_wine_try_cflags_saved=$CFLAGS
14237 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14239 /* end confdefs.h. */
14240 int main(int argc, char **argv) { return 0; }
14241 _ACEOF
14242 if ac_fn_c_try_link "$LINENO"; then :
14243 ac_cv_cflags__fno_omit_frame_pointer=yes
14244 else
14245 ac_cv_cflags__fno_omit_frame_pointer=no
14247 rm -f core conftest.err conftest.$ac_objext \
14248 conftest$ac_exeext conftest.$ac_ext
14249 CFLAGS=$ac_wine_try_cflags_saved
14251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14252 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14253 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14254 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14255 fi ;;
14256 esac
14258 case $host in
14259 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14260 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14261 if ${ac_cv_cflags__Wno_format+:} false; then :
14262 $as_echo_n "(cached) " >&6
14263 else
14264 ac_wine_try_cflags_saved=$CFLAGS
14265 CFLAGS="$CFLAGS -Wno-format"
14266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14267 /* end confdefs.h. */
14268 int main(int argc, char **argv) { return 0; }
14269 _ACEOF
14270 if ac_fn_c_try_link "$LINENO"; then :
14271 ac_cv_cflags__Wno_format=yes
14272 else
14273 ac_cv_cflags__Wno_format=no
14275 rm -f core conftest.err conftest.$ac_objext \
14276 conftest$ac_exeext conftest.$ac_ext
14277 CFLAGS=$ac_wine_try_cflags_saved
14279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14280 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14281 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14282 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14283 fi ;;
14284 esac
14286 if test "x$enable_maintainer_mode" = "xyes"
14287 then
14288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14289 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14290 if ${ac_cv_cflags__Werror+:} false; then :
14291 $as_echo_n "(cached) " >&6
14292 else
14293 ac_wine_try_cflags_saved=$CFLAGS
14294 CFLAGS="$CFLAGS -Werror"
14295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14296 /* end confdefs.h. */
14297 int main(int argc, char **argv) { return 0; }
14298 _ACEOF
14299 if ac_fn_c_try_link "$LINENO"; then :
14300 ac_cv_cflags__Werror=yes
14301 else
14302 ac_cv_cflags__Werror=no
14304 rm -f core conftest.err conftest.$ac_objext \
14305 conftest$ac_exeext conftest.$ac_ext
14306 CFLAGS=$ac_wine_try_cflags_saved
14308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14309 $as_echo "$ac_cv_cflags__Werror" >&6; }
14310 if test "x$ac_cv_cflags__Werror" = xyes; then :
14311 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14315 saved_CFLAGS="$CFLAGS"
14316 CFLAGS="$CFLAGS -Werror"
14317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14318 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14319 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14320 $as_echo_n "(cached) " >&6
14321 else
14322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14323 /* end confdefs.h. */
14324 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14326 main ()
14330 return 0;
14332 _ACEOF
14333 if ac_fn_c_try_compile "$LINENO"; then :
14334 ac_cv_have_ms_hook_prologue="yes"
14335 else
14336 ac_cv_have_ms_hook_prologue="no"
14338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14341 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14342 CFLAGS="$saved_CFLAGS"
14343 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14344 then
14346 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14348 else
14349 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14356 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14357 if ${ac_cv_c_fortify_enabled+:} false; then :
14358 $as_echo_n "(cached) " >&6
14359 else
14360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14361 /* end confdefs.h. */
14362 #include <string.h>
14364 main ()
14366 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14367 #error Fortify enabled
14368 #endif
14370 return 0;
14372 _ACEOF
14373 if ac_fn_c_try_compile "$LINENO"; then :
14374 ac_cv_c_fortify_enabled=no
14375 else
14376 ac_cv_c_fortify_enabled=yes
14378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14381 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14382 if test "$ac_cv_c_fortify_enabled" = yes
14383 then
14384 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14389 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14390 if ${ac_cv_c_extern_prefix+:} false; then :
14391 $as_echo_n "(cached) " >&6
14392 else
14393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14394 /* end confdefs.h. */
14395 extern int ac_test;
14397 main ()
14399 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14401 return 0;
14403 _ACEOF
14404 if ac_fn_c_try_link "$LINENO"; then :
14405 ac_cv_c_extern_prefix="yes"
14406 else
14407 ac_cv_c_extern_prefix="no"
14409 rm -f core conftest.err conftest.$ac_objext \
14410 conftest$ac_exeext conftest.$ac_ext
14412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14413 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14415 case $host_cpu in
14416 *i[3456789]86*)
14417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14418 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14419 if ${ac_cv_c_stdcall_suffix+:} false; then :
14420 $as_echo_n "(cached) " >&6
14421 else
14422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14423 /* end confdefs.h. */
14424 #ifndef _MSC_VER
14425 #define __stdcall __attribute__((__stdcall__))
14426 #endif
14427 int __stdcall ac_test(int i) { return i; }
14429 main ()
14431 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14433 return 0;
14435 _ACEOF
14436 if ac_fn_c_try_link "$LINENO"; then :
14437 ac_cv_c_stdcall_suffix="yes"
14438 else
14439 ac_cv_c_stdcall_suffix="no"
14441 rm -f core conftest.err conftest.$ac_objext \
14442 conftest$ac_exeext conftest.$ac_ext
14444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14445 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14446 *) ac_cv_c_stdcall_suffix="no" ;;
14447 esac
14450 if test "$ac_cv_c_extern_prefix" = "yes"
14451 then
14452 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14454 asm_name_prefix="_"
14455 else
14456 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14458 asm_name_prefix=""
14462 if test "$ac_cv_c_stdcall_suffix" = "yes"
14463 then
14464 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14466 else
14467 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14473 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14474 if ${ac_cv_asm_func_def+:} false; then :
14475 $as_echo_n "(cached) " >&6
14476 else
14477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14478 /* end confdefs.h. */
14481 main ()
14483 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14485 return 0;
14487 _ACEOF
14488 if ac_fn_c_try_link "$LINENO"; then :
14489 ac_cv_asm_func_def=".def"
14490 else
14491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14492 /* end confdefs.h. */
14495 main ()
14497 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14499 return 0;
14501 _ACEOF
14502 if ac_fn_c_try_link "$LINENO"; then :
14503 ac_cv_asm_func_def=".type @function"
14504 else
14505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14506 /* end confdefs.h. */
14509 main ()
14511 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14513 return 0;
14515 _ACEOF
14516 if ac_fn_c_try_link "$LINENO"; then :
14517 ac_cv_asm_func_def=".type 2"
14518 else
14519 ac_cv_asm_func_def="unknown"
14521 rm -f core conftest.err conftest.$ac_objext \
14522 conftest$ac_exeext conftest.$ac_ext
14524 rm -f core conftest.err conftest.$ac_objext \
14525 conftest$ac_exeext conftest.$ac_ext
14527 rm -f core conftest.err conftest.$ac_objext \
14528 conftest$ac_exeext conftest.$ac_ext
14530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14531 $as_echo "$ac_cv_asm_func_def" >&6; }
14534 case "$ac_cv_asm_func_def" in
14535 ".def")
14536 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14538 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14539 ".type @function")
14540 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14542 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14543 ".type 2")
14544 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14546 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14548 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14550 asm_func_header="" ;;
14551 esac
14553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14554 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14555 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14556 $as_echo_n "(cached) " >&6
14557 else
14558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14559 /* end confdefs.h. */
14560 asm(".text\n\t.long 0");
14562 main ()
14566 return 0;
14568 _ACEOF
14569 if ac_fn_c_try_compile "$LINENO"; then :
14570 ac_cv_c_asm_outside_funcs="yes"
14571 else
14572 ac_cv_c_asm_outside_funcs="no"
14574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14577 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14580 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14581 if ${ac_cv_c_dot_previous+:} false; then :
14582 $as_echo_n "(cached) " >&6
14583 else
14584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14585 /* end confdefs.h. */
14588 main ()
14590 asm(".text\nac_test:\t.long 0\n\t.previous");
14592 return 0;
14594 _ACEOF
14595 if ac_fn_c_try_link "$LINENO"; then :
14596 ac_cv_c_dot_previous="yes"
14597 else
14598 ac_cv_c_dot_previous="no"
14600 rm -f core conftest.err conftest.$ac_objext \
14601 conftest$ac_exeext conftest.$ac_ext
14603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14604 $as_echo "$ac_cv_c_dot_previous" >&6; }
14606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14607 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14608 if ${ac_cv_c_cfi_support+:} false; then :
14609 $as_echo_n "(cached) " >&6
14610 else
14611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14612 /* end confdefs.h. */
14613 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14615 main ()
14619 return 0;
14621 _ACEOF
14622 if ac_fn_c_try_compile "$LINENO"; then :
14623 ac_cv_c_cfi_support="yes"
14624 else
14625 ac_cv_c_cfi_support="no"
14627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14630 $as_echo "$ac_cv_c_cfi_support" >&6; }
14632 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14633 asm_func_trailer=""
14634 if test "$ac_cv_c_dot_previous" = "yes"
14635 then
14636 asm_func_trailer="\\n\\t.previous"
14638 if test "$ac_cv_c_cfi_support" = "yes"
14639 then
14640 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14641 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14643 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14645 UNWINDFLAGS=-fasynchronous-unwind-tables
14647 else
14648 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14652 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14655 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14656 then
14657 cat >>confdefs.h <<_ACEOF
14658 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14659 _ACEOF
14661 else
14662 cat >>confdefs.h <<_ACEOF
14663 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14664 _ACEOF
14668 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14671 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14675 case $build_os in
14676 cygwin*|mingw32*) TOOLSEXT=".exe"
14678 esac
14680 case $host_os in
14681 linux*)
14682 case $host_cpu in
14683 *i[3456789]86*|x86_64*)
14684 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14685 loader_programs="$loader_programs $wine_binary-preloader"
14686 as_fn_append LOADER_RULES "
14687 $wine_binary-preloader: preloader.o
14688 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14690 install install-lib:: $wine_binary-preloader
14691 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14693 uninstall::
14694 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14696 preloader_EXTRADEFS = $BUILTINFLAG
14697 " ;;
14698 esac
14700 esac
14701 as_fn_append LOADER_RULES "
14702 PROGRAMS = $loader_programs
14706 ac_save_CFLAGS="$CFLAGS"
14707 CFLAGS="$CFLAGS $BUILTINFLAG"
14708 for ac_func in \
14709 __res_get_state \
14710 __res_getservers \
14711 _finite \
14712 _isnan \
14713 _pclose \
14714 _popen \
14715 _snprintf \
14716 _spawnvp \
14717 _strdup \
14718 _stricmp \
14719 _strnicmp \
14720 _strtoi64 \
14721 _strtoui64 \
14722 _vsnprintf \
14723 asctime_r \
14724 chsize \
14725 dlopen \
14726 epoll_create \
14727 ffs \
14728 finitef \
14729 fnmatch \
14730 fork \
14731 fpclass \
14732 fstatfs \
14733 fstatvfs \
14734 ftruncate \
14735 futimens \
14736 futimes \
14737 futimesat \
14738 getattrlist \
14739 getdirentries \
14740 getopt_long_only \
14741 getpwuid \
14742 gettimeofday \
14743 getuid \
14744 if_nameindex \
14745 isnanf \
14746 kqueue \
14747 lstat \
14748 memmove \
14749 mmap \
14750 pclose \
14751 pipe2 \
14752 poll \
14753 popen \
14754 port_create \
14755 prctl \
14756 pread \
14757 proc_pidinfo \
14758 pwrite \
14759 readdir \
14760 readlink \
14761 sched_yield \
14762 select \
14763 setproctitle \
14764 setrlimit \
14765 settimeofday \
14766 sigaltstack \
14767 sigprocmask \
14768 snprintf \
14769 statfs \
14770 statvfs \
14771 strcasecmp \
14772 strdup \
14773 strerror \
14774 strncasecmp \
14775 strtold \
14776 strtoll \
14777 strtoull \
14778 symlink \
14779 tcdrain \
14780 thr_kill2 \
14781 timegm \
14782 usleep \
14783 vsnprintf
14785 do :
14786 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14787 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14788 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14789 cat >>confdefs.h <<_ACEOF
14790 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14791 _ACEOF
14794 done
14796 CFLAGS="$ac_save_CFLAGS"
14798 if test "$ac_cv_func_dlopen" = no
14799 then
14800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14801 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14802 if ${ac_cv_lib_dl_dlopen+:} false; then :
14803 $as_echo_n "(cached) " >&6
14804 else
14805 ac_check_lib_save_LIBS=$LIBS
14806 LIBS="-ldl $LIBS"
14807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14808 /* end confdefs.h. */
14810 /* Override any GCC internal prototype to avoid an error.
14811 Use char because int might match the return type of a GCC
14812 builtin and then its argument prototype would still apply. */
14813 #ifdef __cplusplus
14814 extern "C"
14815 #endif
14816 char dlopen ();
14818 main ()
14820 return dlopen ();
14822 return 0;
14824 _ACEOF
14825 if ac_fn_c_try_link "$LINENO"; then :
14826 ac_cv_lib_dl_dlopen=yes
14827 else
14828 ac_cv_lib_dl_dlopen=no
14830 rm -f core conftest.err conftest.$ac_objext \
14831 conftest$ac_exeext conftest.$ac_ext
14832 LIBS=$ac_check_lib_save_LIBS
14834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14835 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14836 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14837 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14838 DL_LIBS="-ldl"
14843 ac_wine_check_funcs_save_LIBS="$LIBS"
14844 LIBS="$LIBS $DL_LIBS"
14845 for ac_func in dladdr
14846 do :
14847 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
14848 if test "x$ac_cv_func_dladdr" = xyes; then :
14849 cat >>confdefs.h <<_ACEOF
14850 #define HAVE_DLADDR 1
14851 _ACEOF
14854 done
14856 LIBS="$ac_wine_check_funcs_save_LIBS"
14858 if test "$ac_cv_func_poll" = no
14859 then
14860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14861 $as_echo_n "checking for poll in -lpoll... " >&6; }
14862 if ${ac_cv_lib_poll_poll+:} false; then :
14863 $as_echo_n "(cached) " >&6
14864 else
14865 ac_check_lib_save_LIBS=$LIBS
14866 LIBS="-lpoll $LIBS"
14867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14868 /* end confdefs.h. */
14870 /* Override any GCC internal prototype to avoid an error.
14871 Use char because int might match the return type of a GCC
14872 builtin and then its argument prototype would still apply. */
14873 #ifdef __cplusplus
14874 extern "C"
14875 #endif
14876 char poll ();
14878 main ()
14880 return poll ();
14882 return 0;
14884 _ACEOF
14885 if ac_fn_c_try_link "$LINENO"; then :
14886 ac_cv_lib_poll_poll=yes
14887 else
14888 ac_cv_lib_poll_poll=no
14890 rm -f core conftest.err conftest.$ac_objext \
14891 conftest$ac_exeext conftest.$ac_ext
14892 LIBS=$ac_check_lib_save_LIBS
14894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14895 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14896 if test "x$ac_cv_lib_poll_poll" = xyes; then :
14897 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14898 POLL_LIBS="-lpoll"
14904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14905 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14906 if ${ac_cv_search_gethostbyname+:} false; then :
14907 $as_echo_n "(cached) " >&6
14908 else
14909 ac_func_search_save_LIBS=$LIBS
14910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14911 /* end confdefs.h. */
14913 /* Override any GCC internal prototype to avoid an error.
14914 Use char because int might match the return type of a GCC
14915 builtin and then its argument prototype would still apply. */
14916 #ifdef __cplusplus
14917 extern "C"
14918 #endif
14919 char gethostbyname ();
14921 main ()
14923 return gethostbyname ();
14925 return 0;
14927 _ACEOF
14928 for ac_lib in '' nsl; do
14929 if test -z "$ac_lib"; then
14930 ac_res="none required"
14931 else
14932 ac_res=-l$ac_lib
14933 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14935 if ac_fn_c_try_link "$LINENO"; then :
14936 ac_cv_search_gethostbyname=$ac_res
14938 rm -f core conftest.err conftest.$ac_objext \
14939 conftest$ac_exeext
14940 if ${ac_cv_search_gethostbyname+:} false; then :
14941 break
14943 done
14944 if ${ac_cv_search_gethostbyname+:} false; then :
14946 else
14947 ac_cv_search_gethostbyname=no
14949 rm conftest.$ac_ext
14950 LIBS=$ac_func_search_save_LIBS
14952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14953 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14954 ac_res=$ac_cv_search_gethostbyname
14955 if test "$ac_res" != no; then :
14956 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14962 $as_echo_n "checking for library containing connect... " >&6; }
14963 if ${ac_cv_search_connect+:} false; then :
14964 $as_echo_n "(cached) " >&6
14965 else
14966 ac_func_search_save_LIBS=$LIBS
14967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14968 /* end confdefs.h. */
14970 /* Override any GCC internal prototype to avoid an error.
14971 Use char because int might match the return type of a GCC
14972 builtin and then its argument prototype would still apply. */
14973 #ifdef __cplusplus
14974 extern "C"
14975 #endif
14976 char connect ();
14978 main ()
14980 return connect ();
14982 return 0;
14984 _ACEOF
14985 for ac_lib in '' socket; do
14986 if test -z "$ac_lib"; then
14987 ac_res="none required"
14988 else
14989 ac_res=-l$ac_lib
14990 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14992 if ac_fn_c_try_link "$LINENO"; then :
14993 ac_cv_search_connect=$ac_res
14995 rm -f core conftest.err conftest.$ac_objext \
14996 conftest$ac_exeext
14997 if ${ac_cv_search_connect+:} false; then :
14998 break
15000 done
15001 if ${ac_cv_search_connect+:} false; then :
15003 else
15004 ac_cv_search_connect=no
15006 rm conftest.$ac_ext
15007 LIBS=$ac_func_search_save_LIBS
15009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15010 $as_echo "$ac_cv_search_connect" >&6; }
15011 ac_res=$ac_cv_search_connect
15012 if test "$ac_res" != no; then :
15013 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15019 $as_echo_n "checking for library containing inet_aton... " >&6; }
15020 if ${ac_cv_search_inet_aton+:} false; then :
15021 $as_echo_n "(cached) " >&6
15022 else
15023 ac_func_search_save_LIBS=$LIBS
15024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15025 /* end confdefs.h. */
15027 /* Override any GCC internal prototype to avoid an error.
15028 Use char because int might match the return type of a GCC
15029 builtin and then its argument prototype would still apply. */
15030 #ifdef __cplusplus
15031 extern "C"
15032 #endif
15033 char inet_aton ();
15035 main ()
15037 return inet_aton ();
15039 return 0;
15041 _ACEOF
15042 for ac_lib in '' resolv; do
15043 if test -z "$ac_lib"; then
15044 ac_res="none required"
15045 else
15046 ac_res=-l$ac_lib
15047 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15049 if ac_fn_c_try_link "$LINENO"; then :
15050 ac_cv_search_inet_aton=$ac_res
15052 rm -f core conftest.err conftest.$ac_objext \
15053 conftest$ac_exeext
15054 if ${ac_cv_search_inet_aton+:} false; then :
15055 break
15057 done
15058 if ${ac_cv_search_inet_aton+:} false; then :
15060 else
15061 ac_cv_search_inet_aton=no
15063 rm conftest.$ac_ext
15064 LIBS=$ac_func_search_save_LIBS
15066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15067 $as_echo "$ac_cv_search_inet_aton" >&6; }
15068 ac_res=$ac_cv_search_inet_aton
15069 if test "$ac_res" != no; then :
15070 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15075 for ac_func in \
15076 getaddrinfo \
15077 getnameinfo \
15078 getnetbyname \
15079 getprotobyname \
15080 getprotobynumber \
15081 getservbyport \
15082 inet_addr \
15083 inet_network \
15084 inet_ntop \
15085 inet_pton \
15086 sendmsg \
15087 socketpair \
15089 do :
15090 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15091 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15092 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15093 cat >>confdefs.h <<_ACEOF
15094 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15095 _ACEOF
15098 done
15101 ac_save_LIBS=$LIBS
15102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15103 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15104 if ${ac_cv_search_clock_gettime+:} false; then :
15105 $as_echo_n "(cached) " >&6
15106 else
15107 ac_func_search_save_LIBS=$LIBS
15108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15109 /* end confdefs.h. */
15111 /* Override any GCC internal prototype to avoid an error.
15112 Use char because int might match the return type of a GCC
15113 builtin and then its argument prototype would still apply. */
15114 #ifdef __cplusplus
15115 extern "C"
15116 #endif
15117 char clock_gettime ();
15119 main ()
15121 return clock_gettime ();
15123 return 0;
15125 _ACEOF
15126 for ac_lib in '' rt; do
15127 if test -z "$ac_lib"; then
15128 ac_res="none required"
15129 else
15130 ac_res=-l$ac_lib
15131 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15133 if ac_fn_c_try_link "$LINENO"; then :
15134 ac_cv_search_clock_gettime=$ac_res
15136 rm -f core conftest.err conftest.$ac_objext \
15137 conftest$ac_exeext
15138 if ${ac_cv_search_clock_gettime+:} false; then :
15139 break
15141 done
15142 if ${ac_cv_search_clock_gettime+:} false; then :
15144 else
15145 ac_cv_search_clock_gettime=no
15147 rm conftest.$ac_ext
15148 LIBS=$ac_func_search_save_LIBS
15150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15151 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15152 ac_res=$ac_cv_search_clock_gettime
15153 if test "$ac_res" != no; then :
15154 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15156 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15158 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15162 LIBS=$ac_save_LIBS
15164 LDAP_LIBS=""
15166 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15167 then
15168 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15170 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15172 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15173 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15174 $as_echo_n "(cached) " >&6
15175 else
15176 ac_check_lib_save_LIBS=$LIBS
15177 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15179 /* end confdefs.h. */
15181 /* Override any GCC internal prototype to avoid an error.
15182 Use char because int might match the return type of a GCC
15183 builtin and then its argument prototype would still apply. */
15184 #ifdef __cplusplus
15185 extern "C"
15186 #endif
15187 char ldap_initialize ();
15189 main ()
15191 return ldap_initialize ();
15193 return 0;
15195 _ACEOF
15196 if ac_fn_c_try_link "$LINENO"; then :
15197 ac_cv_lib_ldap_r_ldap_initialize=yes
15198 else
15199 ac_cv_lib_ldap_r_ldap_initialize=no
15201 rm -f core conftest.err conftest.$ac_objext \
15202 conftest$ac_exeext conftest.$ac_ext
15203 LIBS=$ac_check_lib_save_LIBS
15205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15206 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15207 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15209 $as_echo_n "checking for ber_init in -llber... " >&6; }
15210 if ${ac_cv_lib_lber_ber_init+:} false; then :
15211 $as_echo_n "(cached) " >&6
15212 else
15213 ac_check_lib_save_LIBS=$LIBS
15214 LIBS="-llber $PTHREAD_LIBS $LIBS"
15215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15216 /* end confdefs.h. */
15218 /* Override any GCC internal prototype to avoid an error.
15219 Use char because int might match the return type of a GCC
15220 builtin and then its argument prototype would still apply. */
15221 #ifdef __cplusplus
15222 extern "C"
15223 #endif
15224 char ber_init ();
15226 main ()
15228 return ber_init ();
15230 return 0;
15232 _ACEOF
15233 if ac_fn_c_try_link "$LINENO"; then :
15234 ac_cv_lib_lber_ber_init=yes
15235 else
15236 ac_cv_lib_lber_ber_init=no
15238 rm -f core conftest.err conftest.$ac_objext \
15239 conftest$ac_exeext conftest.$ac_ext
15240 LIBS=$ac_check_lib_save_LIBS
15242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15243 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15244 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15246 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15248 LDAP_LIBS="-lldap_r -llber"
15255 ac_wine_check_funcs_save_LIBS="$LIBS"
15256 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15257 for ac_func in \
15258 ldap_count_references \
15259 ldap_first_reference \
15260 ldap_next_reference \
15261 ldap_parse_reference \
15262 ldap_parse_sort_control \
15263 ldap_parse_sortresponse_control \
15264 ldap_parse_vlv_control \
15265 ldap_parse_vlvresponse_control
15266 do :
15267 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15268 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15269 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15270 cat >>confdefs.h <<_ACEOF
15271 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15272 _ACEOF
15275 done
15277 LIBS="$ac_wine_check_funcs_save_LIBS"
15279 if test "x$LDAP_LIBS" = "x"; then :
15280 case "x$with_ldap" in
15281 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15282 xno) ;;
15283 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15284 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15285 esac
15288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15289 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15290 if ${wine_cv_one_arg_mkdir+:} false; then :
15291 $as_echo_n "(cached) " >&6
15292 else
15293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15294 /* end confdefs.h. */
15295 #include <sys/stat.h>
15297 main ()
15299 mkdir("foo");
15301 return 0;
15303 _ACEOF
15304 if ac_fn_c_try_compile "$LINENO"; then :
15305 wine_cv_one_arg_mkdir=yes
15306 else
15307 wine_cv_one_arg_mkdir=no
15309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15312 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15313 if test "$wine_cv_one_arg_mkdir" = "yes"
15314 then
15316 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15321 $as_echo_n "checking for sched_setaffinity... " >&6; }
15322 if ${wine_cv_have_sched_setaffinity+:} false; then :
15323 $as_echo_n "(cached) " >&6
15324 else
15325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15326 /* end confdefs.h. */
15327 #define _GNU_SOURCE
15328 #include <sched.h>
15330 main ()
15332 sched_setaffinity(0, 0, 0);
15334 return 0;
15336 _ACEOF
15337 if ac_fn_c_try_link "$LINENO"; then :
15338 wine_cv_have_sched_setaffinity=yes
15339 else
15340 wine_cv_have_sched_setaffinity=no
15342 rm -f core conftest.err conftest.$ac_objext \
15343 conftest$ac_exeext conftest.$ac_ext
15345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15346 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15347 if test "$wine_cv_have_sched_setaffinity" = "yes"
15348 then
15350 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15355 $as_echo_n "checking for fallocate... " >&6; }
15356 if ${wine_cv_have_fallocate+:} false; then :
15357 $as_echo_n "(cached) " >&6
15358 else
15359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15360 /* end confdefs.h. */
15361 #define _GNU_SOURCE
15362 #include <fcntl.h>
15364 main ()
15366 fallocate(-1, 0, 0, 0);
15368 return 0;
15370 _ACEOF
15371 if ac_fn_c_try_link "$LINENO"; then :
15372 wine_cv_have_fallocate=yes
15373 else
15374 wine_cv_have_fallocate=no
15376 rm -f core conftest.err conftest.$ac_objext \
15377 conftest$ac_exeext conftest.$ac_ext
15379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15380 $as_echo "$wine_cv_have_fallocate" >&6; }
15381 if test "$wine_cv_have_fallocate" = "yes"
15382 then
15384 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15390 $as_echo_n "checking for inline... " >&6; }
15391 if ${ac_cv_c_inline+:} false; then :
15392 $as_echo_n "(cached) " >&6
15393 else
15394 ac_cv_c_inline=no
15395 for ac_kw in inline __inline__ __inline; do
15396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15397 /* end confdefs.h. */
15398 #ifndef __cplusplus
15399 typedef int foo_t;
15400 static $ac_kw foo_t static_foo () {return 0; }
15401 $ac_kw foo_t foo () {return 0; }
15402 #endif
15404 _ACEOF
15405 if ac_fn_c_try_compile "$LINENO"; then :
15406 ac_cv_c_inline=$ac_kw
15408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15409 test "$ac_cv_c_inline" != no && break
15410 done
15413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15414 $as_echo "$ac_cv_c_inline" >&6; }
15416 case $ac_cv_c_inline in
15417 inline | yes) ;;
15419 case $ac_cv_c_inline in
15420 no) ac_val=;;
15421 *) ac_val=$ac_cv_c_inline;;
15422 esac
15423 cat >>confdefs.h <<_ACEOF
15424 #ifndef __cplusplus
15425 #define inline $ac_val
15426 #endif
15427 _ACEOF
15429 esac
15431 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15432 if test "x$ac_cv_type_mode_t" = xyes; then :
15434 cat >>confdefs.h <<_ACEOF
15435 #define HAVE_MODE_T 1
15436 _ACEOF
15440 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15441 if test "x$ac_cv_type_off_t" = xyes; then :
15443 cat >>confdefs.h <<_ACEOF
15444 #define HAVE_OFF_T 1
15445 _ACEOF
15449 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15450 if test "x$ac_cv_type_pid_t" = xyes; then :
15452 cat >>confdefs.h <<_ACEOF
15453 #define HAVE_PID_T 1
15454 _ACEOF
15458 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15459 if test "x$ac_cv_type_size_t" = xyes; then :
15461 cat >>confdefs.h <<_ACEOF
15462 #define HAVE_SIZE_T 1
15463 _ACEOF
15467 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15468 if test "x$ac_cv_type_ssize_t" = xyes; then :
15470 cat >>confdefs.h <<_ACEOF
15471 #define HAVE_SSIZE_T 1
15472 _ACEOF
15476 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15477 if test "x$ac_cv_type_long_long" = xyes; then :
15479 cat >>confdefs.h <<_ACEOF
15480 #define HAVE_LONG_LONG 1
15481 _ACEOF
15485 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15486 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15488 cat >>confdefs.h <<_ACEOF
15489 #define HAVE_FSBLKCNT_T 1
15490 _ACEOF
15494 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15495 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15497 cat >>confdefs.h <<_ACEOF
15498 #define HAVE_FSFILCNT_T 1
15499 _ACEOF
15504 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15505 #include <signal.h>
15507 if test "x$ac_cv_type_sigset_t" = xyes; then :
15509 cat >>confdefs.h <<_ACEOF
15510 #define HAVE_SIGSET_T 1
15511 _ACEOF
15516 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15518 if test "x$ac_cv_type_request_sense" = xyes; then :
15520 cat >>confdefs.h <<_ACEOF
15521 #define HAVE_REQUEST_SENSE 1
15522 _ACEOF
15528 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15529 #ifdef HAVE_SYS_SOCKET_H
15530 #include <sys/socket.h>
15531 #endif
15532 #ifdef HAVE_SYS_SOCKETVAR_H
15533 #include <sys/socketvar.h>
15534 #endif
15535 #ifdef HAVE_NET_ROUTE_H
15536 #include <net/route.h>
15537 #endif
15538 #ifdef HAVE_NETINET_IN_H
15539 #include <netinet/in.h>
15540 #endif
15541 #ifdef HAVE_NETINET_IN_SYSTM_H
15542 #include <netinet/in_systm.h>
15543 #endif
15544 #ifdef HAVE_NETINET_IP_H
15545 #include <netinet/ip.h>
15546 #endif
15547 #ifdef HAVE_NETINET_IN_PCB_H
15548 #include <netinet/in_pcb.h>
15549 #endif
15551 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15553 cat >>confdefs.h <<_ACEOF
15554 #define HAVE_STRUCT_XINPGEN 1
15555 _ACEOF
15561 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15562 #include <link.h>
15563 #endif
15564 #ifdef HAVE_SYS_LINK_H
15565 #include <sys/link.h>
15566 #endif
15568 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15570 cat >>confdefs.h <<_ACEOF
15571 #define HAVE_STRUCT_R_DEBUG 1
15572 _ACEOF
15576 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15577 #include <link.h>
15578 #endif
15579 #ifdef HAVE_SYS_LINK_H
15580 #include <sys/link.h>
15581 #endif
15583 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15585 cat >>confdefs.h <<_ACEOF
15586 #define HAVE_STRUCT_LINK_MAP 1
15587 _ACEOF
15593 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15594 #include <linux/input.h>
15595 #endif
15597 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15599 cat >>confdefs.h <<_ACEOF
15600 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15601 _ACEOF
15607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15608 $as_echo_n "checking for sigaddset... " >&6; }
15609 if ${wine_cv_have_sigaddset+:} false; then :
15610 $as_echo_n "(cached) " >&6
15611 else
15612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15613 /* end confdefs.h. */
15614 #include <signal.h>
15616 main ()
15618 sigset_t set; sigaddset(&set,SIGTERM);
15620 return 0;
15622 _ACEOF
15623 if ac_fn_c_try_link "$LINENO"; then :
15624 wine_cv_have_sigaddset=yes
15625 else
15626 wine_cv_have_sigaddset=no
15628 rm -f core conftest.err conftest.$ac_objext \
15629 conftest$ac_exeext conftest.$ac_ext
15631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15632 $as_echo "$wine_cv_have_sigaddset" >&6; }
15633 if test "$wine_cv_have_sigaddset" = "yes"
15634 then
15636 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15642 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15643 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15644 $as_echo_n "(cached) " >&6
15645 else
15646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15647 /* end confdefs.h. */
15648 #include <netdb.h>
15650 main ()
15653 char *name=0;
15654 struct hostent he;
15655 struct hostent *result;
15656 char *buf=0;
15657 int bufsize=0;
15658 int errnr;
15659 char *addr=0;
15660 int addrlen=0;
15661 int addrtype=0;
15662 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15663 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15666 return 0;
15668 _ACEOF
15669 if ac_fn_c_try_link "$LINENO"; then :
15670 wine_cv_linux_gethostbyname_r_6=yes
15671 else
15672 wine_cv_linux_gethostbyname_r_6=no
15675 rm -f core conftest.err conftest.$ac_objext \
15676 conftest$ac_exeext conftest.$ac_ext
15679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15680 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15681 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15682 then
15684 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15688 if test "$ac_cv_header_linux_joystick_h" = "yes"
15689 then
15690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15691 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15692 if ${wine_cv_linux_joystick_22_api+:} false; then :
15693 $as_echo_n "(cached) " >&6
15694 else
15695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15696 /* end confdefs.h. */
15698 #include <sys/ioctl.h>
15699 #include <sys/types.h>
15700 #include <linux/joystick.h>
15702 struct js_event blub;
15703 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15704 #error "no 2.2 header"
15705 #endif
15708 main ()
15710 /*empty*/
15712 return 0;
15714 _ACEOF
15715 if ac_fn_c_try_compile "$LINENO"; then :
15716 wine_cv_linux_joystick_22_api=yes
15717 else
15718 wine_cv_linux_joystick_22_api=no
15720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15724 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15725 if test "$wine_cv_linux_joystick_22_api" = "yes"
15726 then
15728 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15734 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15735 #ifdef HAVE_SYS_PARAM_H
15736 # include <sys/param.h>
15737 #endif
15738 #ifdef HAVE_SYS_MOUNT_H
15739 # include <sys/mount.h>
15740 #endif
15741 #ifdef HAVE_SYS_VFS_H
15742 # include <sys/vfs.h>
15743 #endif
15744 #ifdef HAVE_SYS_STATFS_H
15745 # include <sys/statfs.h>
15746 #endif
15748 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15750 cat >>confdefs.h <<_ACEOF
15751 #define HAVE_STRUCT_STATFS_F_BFREE 1
15752 _ACEOF
15756 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15757 #ifdef HAVE_SYS_PARAM_H
15758 # include <sys/param.h>
15759 #endif
15760 #ifdef HAVE_SYS_MOUNT_H
15761 # include <sys/mount.h>
15762 #endif
15763 #ifdef HAVE_SYS_VFS_H
15764 # include <sys/vfs.h>
15765 #endif
15766 #ifdef HAVE_SYS_STATFS_H
15767 # include <sys/statfs.h>
15768 #endif
15770 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
15772 cat >>confdefs.h <<_ACEOF
15773 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15774 _ACEOF
15778 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15779 #ifdef HAVE_SYS_PARAM_H
15780 # include <sys/param.h>
15781 #endif
15782 #ifdef HAVE_SYS_MOUNT_H
15783 # include <sys/mount.h>
15784 #endif
15785 #ifdef HAVE_SYS_VFS_H
15786 # include <sys/vfs.h>
15787 #endif
15788 #ifdef HAVE_SYS_STATFS_H
15789 # include <sys/statfs.h>
15790 #endif
15792 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
15794 cat >>confdefs.h <<_ACEOF
15795 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15796 _ACEOF
15800 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15801 #ifdef HAVE_SYS_PARAM_H
15802 # include <sys/param.h>
15803 #endif
15804 #ifdef HAVE_SYS_MOUNT_H
15805 # include <sys/mount.h>
15806 #endif
15807 #ifdef HAVE_SYS_VFS_H
15808 # include <sys/vfs.h>
15809 #endif
15810 #ifdef HAVE_SYS_STATFS_H
15811 # include <sys/statfs.h>
15812 #endif
15814 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
15816 cat >>confdefs.h <<_ACEOF
15817 #define HAVE_STRUCT_STATFS_F_FFREE 1
15818 _ACEOF
15822 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15823 #ifdef HAVE_SYS_PARAM_H
15824 # include <sys/param.h>
15825 #endif
15826 #ifdef HAVE_SYS_MOUNT_H
15827 # include <sys/mount.h>
15828 #endif
15829 #ifdef HAVE_SYS_VFS_H
15830 # include <sys/vfs.h>
15831 #endif
15832 #ifdef HAVE_SYS_STATFS_H
15833 # include <sys/statfs.h>
15834 #endif
15836 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
15838 cat >>confdefs.h <<_ACEOF
15839 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15840 _ACEOF
15844 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15845 #ifdef HAVE_SYS_PARAM_H
15846 # include <sys/param.h>
15847 #endif
15848 #ifdef HAVE_SYS_MOUNT_H
15849 # include <sys/mount.h>
15850 #endif
15851 #ifdef HAVE_SYS_VFS_H
15852 # include <sys/vfs.h>
15853 #endif
15854 #ifdef HAVE_SYS_STATFS_H
15855 # include <sys/statfs.h>
15856 #endif
15858 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
15860 cat >>confdefs.h <<_ACEOF
15861 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15862 _ACEOF
15868 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15869 #include <sys/statvfs.h>
15870 #endif
15872 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
15874 cat >>confdefs.h <<_ACEOF
15875 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15876 _ACEOF
15882 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15883 #include <dirent.h>
15884 #endif
15886 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
15888 cat >>confdefs.h <<_ACEOF
15889 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15890 _ACEOF
15896 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15897 #ifdef HAVE_SYS_SOCKET_H
15898 # include <sys/socket.h>
15899 #endif
15900 #ifdef HAVE_SYS_UN_H
15901 # include <sys/un.h>
15902 #endif
15904 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
15906 cat >>confdefs.h <<_ACEOF
15907 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15908 _ACEOF
15912 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15913 #ifdef HAVE_SYS_SOCKET_H
15914 # include <sys/socket.h>
15915 #endif
15916 #ifdef HAVE_SYS_UN_H
15917 # include <sys/un.h>
15918 #endif
15920 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
15922 cat >>confdefs.h <<_ACEOF
15923 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15924 _ACEOF
15928 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15929 #ifdef HAVE_SYS_SOCKET_H
15930 # include <sys/socket.h>
15931 #endif
15932 #ifdef HAVE_SYS_UN_H
15933 # include <sys/un.h>
15934 #endif
15936 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
15938 cat >>confdefs.h <<_ACEOF
15939 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15940 _ACEOF
15946 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15947 #ifdef HAVE_SCSI_SG_H
15948 #include <scsi/sg.h>
15949 #endif
15951 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
15953 cat >>confdefs.h <<_ACEOF
15954 #define HAVE_SCSIREQ_T_CMD 1
15955 _ACEOF
15959 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>
15960 #ifdef HAVE_SCSI_SG_H
15961 #include <scsi/sg.h>
15962 #endif
15964 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
15966 cat >>confdefs.h <<_ACEOF
15967 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15968 _ACEOF
15974 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15976 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
15978 cat >>confdefs.h <<_ACEOF
15979 #define HAVE_SIGINFO_T_SI_FD 1
15980 _ACEOF
15986 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15987 #ifdef HAVE_SYS_MTIO_H
15988 #include <sys/mtio.h>
15989 #endif
15991 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
15993 cat >>confdefs.h <<_ACEOF
15994 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15995 _ACEOF
15999 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16000 #ifdef HAVE_SYS_MTIO_H
16001 #include <sys/mtio.h>
16002 #endif
16004 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16006 cat >>confdefs.h <<_ACEOF
16007 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16008 _ACEOF
16012 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16013 #ifdef HAVE_SYS_MTIO_H
16014 #include <sys/mtio.h>
16015 #endif
16017 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16019 cat >>confdefs.h <<_ACEOF
16020 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16021 _ACEOF
16027 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16028 #include <getopt.h>
16029 #endif
16031 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16033 cat >>confdefs.h <<_ACEOF
16034 #define HAVE_STRUCT_OPTION_NAME 1
16035 _ACEOF
16041 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16042 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16044 cat >>confdefs.h <<_ACEOF
16045 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16046 _ACEOF
16050 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16051 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16053 cat >>confdefs.h <<_ACEOF
16054 #define HAVE_STRUCT_STAT_ST_MTIM 1
16055 _ACEOF
16059 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16060 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16062 cat >>confdefs.h <<_ACEOF
16063 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16064 _ACEOF
16068 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16069 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16071 cat >>confdefs.h <<_ACEOF
16072 #define HAVE_STRUCT_STAT_ST_CTIM 1
16073 _ACEOF
16077 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16078 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16080 cat >>confdefs.h <<_ACEOF
16081 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16082 _ACEOF
16086 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16087 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16089 cat >>confdefs.h <<_ACEOF
16090 #define HAVE_STRUCT_STAT_ST_ATIM 1
16091 _ACEOF
16095 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16096 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16098 cat >>confdefs.h <<_ACEOF
16099 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16100 _ACEOF
16104 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16105 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16107 cat >>confdefs.h <<_ACEOF
16108 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16109 _ACEOF
16113 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16114 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16116 cat >>confdefs.h <<_ACEOF
16117 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16118 _ACEOF
16122 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16123 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16125 cat >>confdefs.h <<_ACEOF
16126 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16127 _ACEOF
16131 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16132 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16134 cat >>confdefs.h <<_ACEOF
16135 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16136 _ACEOF
16140 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16141 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16143 cat >>confdefs.h <<_ACEOF
16144 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16145 _ACEOF
16151 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
16152 #include <sys/types.h>
16153 #endif
16154 #ifdef HAVE_NETINET_IN_H
16155 #include <netinet/in.h>
16156 #endif
16158 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16160 cat >>confdefs.h <<_ACEOF
16161 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16162 _ACEOF
16168 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16169 #include <resolv.h>
16170 #endif
16172 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16174 cat >>confdefs.h <<_ACEOF
16175 #define HAVE_STRUCT___RES_STATE 1
16176 _ACEOF
16182 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
16183 #include <resolv.h>
16184 #endif
16186 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16188 cat >>confdefs.h <<_ACEOF
16189 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16190 _ACEOF
16196 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16197 #include <sys/types.h>
16198 #endif
16199 #ifdef HAVE_NETINET_IN_H
16200 # include <netinet/in.h>
16201 #endif
16202 #ifdef HAVE_ARPA_NAMESER_H
16203 # include <arpa/nameser.h>
16204 #endif
16206 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16208 cat >>confdefs.h <<_ACEOF
16209 #define HAVE_NS_MSG__MSG_PTR 1
16210 _ACEOF
16216 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16217 #include <sys/types.h>
16218 #endif
16219 #ifdef HAVE_NETINET_IP_H
16220 #include <netinet/ip.h>
16221 #endif
16222 #ifdef HAVE_NETINET_IP_ICMP_H
16223 #include <netinet/ip_icmp.h>
16224 #endif
16225 #ifdef HAVE_NETINET_ICMP_VAR_H
16226 #include <netinet/icmp_var.h>
16227 #endif
16229 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16231 cat >>confdefs.h <<_ACEOF
16232 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16233 _ACEOF
16239 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16240 #include <sys/types.h>
16241 #endif
16242 #ifdef HAVE_ALIAS_H
16243 #include <alias.h>
16244 #endif
16245 #ifdef HAVE_SYS_SOCKET_H
16246 #include <sys/socket.h>
16247 #endif
16248 #ifdef HAVE_SYS_SOCKETVAR_H
16249 #include <sys/socketvar.h>
16250 #endif
16251 #ifdef HAVE_SYS_TIMEOUT_H
16252 #include <sys/timeout.h>
16253 #endif
16254 #ifdef HAVE_NETINET_IN_H
16255 #include <netinet/in.h>
16256 #endif
16257 #ifdef HAVE_NETINET_IN_SYSTM_H
16258 #include <netinet/in_systm.h>
16259 #endif
16260 #ifdef HAVE_NETINET_IP_H
16261 #include <netinet/ip.h>
16262 #endif
16263 #ifdef HAVE_NETINET_IP_VAR_H
16264 #include <netinet/ip_var.h>
16265 #endif
16266 #ifdef HAVE_NETINET_IP_ICMP_H
16267 #include <netinet/ip_icmp.h>
16268 #endif
16269 #ifdef HAVE_NETINET_ICMP_VAR_H
16270 #include <netinet/icmp_var.h>
16271 #endif
16273 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16275 cat >>confdefs.h <<_ACEOF
16276 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16277 _ACEOF
16283 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16284 #include <sys/types.h>
16285 #endif
16286 #ifdef HAVE_SYS_SOCKETVAR_H
16287 #include <sys/socketvar.h>
16288 #endif
16289 #ifdef HAVE_NETINET_IN_H
16290 #include <netinet/in.h>
16291 #endif
16292 #ifdef HAVE_NETINET_IP_VAR_H
16293 #include <netinet/ip_var.h>
16294 #endif
16296 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16298 cat >>confdefs.h <<_ACEOF
16299 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16300 _ACEOF
16306 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
16307 #include <netinet/ip_var.h>
16308 #endif
16310 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16312 cat >>confdefs.h <<_ACEOF
16313 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16314 _ACEOF
16320 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16321 #include <sys/types.h>
16322 #endif
16323 #ifdef HAVE_SYS_SOCKETVAR_H
16324 #include <sys/socketvar.h>
16325 #endif
16326 #ifdef HAVE_NETINET_IN_H
16327 #include <netinet/in.h>
16328 #endif
16329 #ifdef HAVE_NETINET_TCP_H
16330 #include <netinet/tcp.h>
16331 #endif
16332 #ifdef HAVE_NETINET_TCP_VAR_H
16333 #include <netinet/tcp_var.h>
16334 #endif
16336 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16338 cat >>confdefs.h <<_ACEOF
16339 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16340 _ACEOF
16346 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
16347 #include <netinet/tcp_var.h>
16348 #endif
16350 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16352 cat >>confdefs.h <<_ACEOF
16353 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16354 _ACEOF
16360 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16361 #include <sys/types.h>
16362 #endif
16363 #ifdef HAVE_NETINET_IN_H
16364 #include <netinet/in.h>
16365 #endif
16366 #ifdef HAVE_NETINET_IP_VAR_H
16367 #include <netinet/ip_var.h>
16368 #endif
16369 #ifdef HAVE_NETINET_UDP_H
16370 #include <netinet/udp.h>
16371 #endif
16372 #ifdef HAVE_NETINET_UDP_VAR_H
16373 #include <netinet/udp_var.h>
16374 #endif
16376 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16378 cat >>confdefs.h <<_ACEOF
16379 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16380 _ACEOF
16386 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16387 #include <sys/types.h>
16388 #endif
16389 #ifdef HAVE_NET_IF_H
16390 # include <net/if.h>
16391 #endif
16393 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16395 cat >>confdefs.h <<_ACEOF
16396 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16397 _ACEOF
16403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16404 $as_echo_n "checking for timezone variable... " >&6; }
16405 if ${ac_cv_have_timezone+:} false; then :
16406 $as_echo_n "(cached) " >&6
16407 else
16408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16409 /* end confdefs.h. */
16410 #include <time.h>
16412 main ()
16414 timezone = 1
16416 return 0;
16418 _ACEOF
16419 if ac_fn_c_try_link "$LINENO"; then :
16420 ac_cv_have_timezone="yes"
16421 else
16422 ac_cv_have_timezone="no"
16424 rm -f core conftest.err conftest.$ac_objext \
16425 conftest$ac_exeext conftest.$ac_ext
16427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16428 $as_echo "$ac_cv_have_timezone" >&6; }
16429 if test "$ac_cv_have_timezone" = "yes"
16430 then
16432 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16436 $as_echo_n "checking for daylight variable... " >&6; }
16437 if ${ac_cv_have_daylight+:} false; then :
16438 $as_echo_n "(cached) " >&6
16439 else
16440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16441 /* end confdefs.h. */
16442 #include <time.h>
16444 main ()
16446 daylight = 1
16448 return 0;
16450 _ACEOF
16451 if ac_fn_c_try_link "$LINENO"; then :
16452 ac_cv_have_daylight="yes"
16453 else
16454 ac_cv_have_daylight="no"
16456 rm -f core conftest.err conftest.$ac_objext \
16457 conftest$ac_exeext conftest.$ac_ext
16459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16460 $as_echo "$ac_cv_have_daylight" >&6; }
16461 if test "$ac_cv_have_daylight" = "yes"
16462 then
16464 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16468 ac_save_LIBS="$LIBS"
16469 LIBS="$LIBS -lm"
16470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16471 $as_echo_n "checking for isfinite... " >&6; }
16472 if ${ac_cv_have_isfinite+:} false; then :
16473 $as_echo_n "(cached) " >&6
16474 else
16475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16476 /* end confdefs.h. */
16477 #define _GNU_SOURCE
16478 #include <math.h>
16480 main ()
16482 float f = 0.0; return isfinite(f)
16484 return 0;
16486 _ACEOF
16487 if ac_fn_c_try_link "$LINENO"; then :
16488 ac_cv_have_isfinite="yes"
16489 else
16490 ac_cv_have_isfinite="no"
16492 rm -f core conftest.err conftest.$ac_objext \
16493 conftest$ac_exeext conftest.$ac_ext
16495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16496 $as_echo "$ac_cv_have_isfinite" >&6; }
16497 if test "$ac_cv_have_isfinite" = "yes"
16498 then
16500 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16505 $as_echo_n "checking for isinf... " >&6; }
16506 if ${ac_cv_have_isinf+:} false; then :
16507 $as_echo_n "(cached) " >&6
16508 else
16509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16510 /* end confdefs.h. */
16511 #include <math.h>
16513 main ()
16515 float f = 0.0; return isinf(f)
16517 return 0;
16519 _ACEOF
16520 if ac_fn_c_try_link "$LINENO"; then :
16521 ac_cv_have_isinf="yes"
16522 else
16523 ac_cv_have_isinf="no"
16525 rm -f core conftest.err conftest.$ac_objext \
16526 conftest$ac_exeext conftest.$ac_ext
16528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16529 $as_echo "$ac_cv_have_isinf" >&6; }
16530 if test "$ac_cv_have_isinf" = "yes"
16531 then
16533 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16538 $as_echo_n "checking for isnan... " >&6; }
16539 if ${ac_cv_have_isnan+:} false; then :
16540 $as_echo_n "(cached) " >&6
16541 else
16542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16543 /* end confdefs.h. */
16544 #include <math.h>
16546 main ()
16548 float f = 0.0; return isnan(f)
16550 return 0;
16552 _ACEOF
16553 if ac_fn_c_try_link "$LINENO"; then :
16554 ac_cv_have_isnan="yes"
16555 else
16556 ac_cv_have_isnan="no"
16558 rm -f core conftest.err conftest.$ac_objext \
16559 conftest$ac_exeext conftest.$ac_ext
16561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16562 $as_echo "$ac_cv_have_isnan" >&6; }
16563 if test "$ac_cv_have_isnan" = "yes"
16564 then
16566 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16570 for ac_func in \
16571 cbrt \
16572 cbrtf \
16573 exp2 \
16574 exp2f \
16575 llrint \
16576 llrintf \
16577 llround \
16578 llroundf \
16579 log2 \
16580 log2f \
16581 lrint \
16582 lrintf \
16583 lround \
16584 lroundf \
16585 rint \
16586 rintf \
16587 round \
16588 roundf \
16589 trunc \
16590 truncf
16592 do :
16593 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16594 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16595 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16596 cat >>confdefs.h <<_ACEOF
16597 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16598 _ACEOF
16601 done
16603 LIBS="$ac_save_LIBS"
16605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16606 $as_echo_n "checking for __builtin_clz... " >&6; }
16607 if ${ac_cv_have___builtin_clz+:} false; then :
16608 $as_echo_n "(cached) " >&6
16609 else
16610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16611 /* end confdefs.h. */
16614 main ()
16616 return __builtin_clz(1)
16618 return 0;
16620 _ACEOF
16621 if ac_fn_c_try_link "$LINENO"; then :
16622 ac_cv_have___builtin_clz="yes"
16623 else
16624 ac_cv_have___builtin_clz="no"
16626 rm -f core conftest.err conftest.$ac_objext \
16627 conftest$ac_exeext conftest.$ac_ext
16629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16630 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16631 if test "$ac_cv_have___builtin_clz" = "yes"
16632 then
16634 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16639 case $host_cpu in
16640 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16641 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16642 if ${ac_cv_cpp_def___i386__+:} false; then :
16643 $as_echo_n "(cached) " >&6
16644 else
16645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16646 /* end confdefs.h. */
16647 #ifndef __i386__
16649 #endif
16650 _ACEOF
16651 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16652 $EGREP "yes" >/dev/null 2>&1; then :
16653 ac_cv_cpp_def___i386__=yes
16654 else
16655 ac_cv_cpp_def___i386__=no
16657 rm -f conftest*
16660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16661 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16662 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16663 CFLAGS="$CFLAGS -D__i386__"
16664 LINTFLAGS="$LINTFLAGS -D__i386__"
16665 fi ;;
16666 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16667 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16668 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16669 $as_echo_n "(cached) " >&6
16670 else
16671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16672 /* end confdefs.h. */
16673 #ifndef __x86_64__
16675 #endif
16676 _ACEOF
16677 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16678 $EGREP "yes" >/dev/null 2>&1; then :
16679 ac_cv_cpp_def___x86_64__=yes
16680 else
16681 ac_cv_cpp_def___x86_64__=no
16683 rm -f conftest*
16686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16687 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16688 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16689 CFLAGS="$CFLAGS -D__x86_64__"
16690 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16691 fi ;;
16692 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16693 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16694 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16695 $as_echo_n "(cached) " >&6
16696 else
16697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16698 /* end confdefs.h. */
16699 #ifndef __sparc64__
16701 #endif
16702 _ACEOF
16703 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16704 $EGREP "yes" >/dev/null 2>&1; then :
16705 ac_cv_cpp_def___sparc64__=yes
16706 else
16707 ac_cv_cpp_def___sparc64__=no
16709 rm -f conftest*
16712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16713 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16714 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
16715 CFLAGS="$CFLAGS -D__sparc64__"
16716 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16717 fi ;;
16718 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16719 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16720 if ${ac_cv_cpp_def___sparc__+:} false; then :
16721 $as_echo_n "(cached) " >&6
16722 else
16723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16724 /* end confdefs.h. */
16725 #ifndef __sparc__
16727 #endif
16728 _ACEOF
16729 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16730 $EGREP "yes" >/dev/null 2>&1; then :
16731 ac_cv_cpp_def___sparc__=yes
16732 else
16733 ac_cv_cpp_def___sparc__=no
16735 rm -f conftest*
16738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16739 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16740 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
16741 CFLAGS="$CFLAGS -D__sparc__"
16742 LINTFLAGS="$LINTFLAGS -D__sparc__"
16743 fi ;;
16744 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16745 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16746 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
16747 $as_echo_n "(cached) " >&6
16748 else
16749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16750 /* end confdefs.h. */
16751 #ifndef __powerpc64__
16753 #endif
16754 _ACEOF
16755 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16756 $EGREP "yes" >/dev/null 2>&1; then :
16757 ac_cv_cpp_def___powerpc64__=yes
16758 else
16759 ac_cv_cpp_def___powerpc64__=no
16761 rm -f conftest*
16764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16765 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16766 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
16767 CFLAGS="$CFLAGS -D__powerpc64__"
16768 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
16769 fi ;;
16770 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16771 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16772 if ${ac_cv_cpp_def___powerpc__+:} false; then :
16773 $as_echo_n "(cached) " >&6
16774 else
16775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16776 /* end confdefs.h. */
16777 #ifndef __powerpc__
16779 #endif
16780 _ACEOF
16781 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16782 $EGREP "yes" >/dev/null 2>&1; then :
16783 ac_cv_cpp_def___powerpc__=yes
16784 else
16785 ac_cv_cpp_def___powerpc__=no
16787 rm -f conftest*
16790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16791 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16792 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
16793 CFLAGS="$CFLAGS -D__powerpc__"
16794 LINTFLAGS="$LINTFLAGS -D__powerpc__"
16795 fi ;;
16796 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16797 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16798 if ${ac_cv_cpp_def___aarch64__+:} false; then :
16799 $as_echo_n "(cached) " >&6
16800 else
16801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16802 /* end confdefs.h. */
16803 #ifndef __aarch64__
16805 #endif
16806 _ACEOF
16807 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16808 $EGREP "yes" >/dev/null 2>&1; then :
16809 ac_cv_cpp_def___aarch64__=yes
16810 else
16811 ac_cv_cpp_def___aarch64__=no
16813 rm -f conftest*
16816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16817 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16818 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
16819 CFLAGS="$CFLAGS -D__aarch64__"
16820 LINTFLAGS="$LINTFLAGS -D__aarch64__"
16821 fi ;;
16822 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16823 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16824 if ${ac_cv_cpp_def___arm__+:} false; then :
16825 $as_echo_n "(cached) " >&6
16826 else
16827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16828 /* end confdefs.h. */
16829 #ifndef __arm__
16831 #endif
16832 _ACEOF
16833 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16834 $EGREP "yes" >/dev/null 2>&1; then :
16835 ac_cv_cpp_def___arm__=yes
16836 else
16837 ac_cv_cpp_def___arm__=no
16839 rm -f conftest*
16842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16843 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16844 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
16845 CFLAGS="$CFLAGS -D__arm__"
16846 LINTFLAGS="$LINTFLAGS -D__arm__"
16847 fi ;;
16848 esac
16850 case $host_vendor in
16851 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16852 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16853 if ${ac_cv_cpp_def___sun__+:} false; then :
16854 $as_echo_n "(cached) " >&6
16855 else
16856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16857 /* end confdefs.h. */
16858 #ifndef __sun__
16860 #endif
16861 _ACEOF
16862 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16863 $EGREP "yes" >/dev/null 2>&1; then :
16864 ac_cv_cpp_def___sun__=yes
16865 else
16866 ac_cv_cpp_def___sun__=no
16868 rm -f conftest*
16871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16872 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16873 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
16874 CFLAGS="$CFLAGS -D__sun__"
16875 LINTFLAGS="$LINTFLAGS -D__sun__"
16876 fi ;;
16877 esac
16883 ac_config_commands="$ac_config_commands include/stamp-h"
16885 $as_echo_n "creating Makefile rules..." >&6
16887 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
16888 SOCKET_LIBS = $SOCKET_LIBS
16889 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16890 IOKIT_LIBS = $IOKIT_LIBS
16891 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16892 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16893 CORESERVICES_LIBS = $CORESERVICES_LIBS
16894 APPKIT_LIBS = $APPKIT_LIBS
16895 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16896 SECURITY_LIBS = $SECURITY_LIBS
16897 COREAUDIO_LIBS = $COREAUDIO_LIBS
16898 OPENAL_LIBS = $OPENAL_LIBS
16899 OPENCL_LIBS = $OPENCL_LIBS
16900 QUICKTIME_LIBS = $QUICKTIME_LIBS
16901 CARBON_LIBS = $CARBON_LIBS
16902 PTHREAD_LIBS = $PTHREAD_LIBS
16903 X_CFLAGS = $X_CFLAGS
16904 X_PRE_LIBS = $X_PRE_LIBS
16905 X_LIBS = $X_LIBS
16906 X_EXTRA_LIBS = $X_EXTRA_LIBS
16907 XML2_CFLAGS = $XML2_CFLAGS
16908 XML2_LIBS = $XML2_LIBS
16909 XSLT_CFLAGS = $XSLT_CFLAGS
16910 XSLT_LIBS = $XSLT_LIBS
16911 DBUS_CFLAGS = $DBUS_CFLAGS
16912 DBUS_LIBS = $DBUS_LIBS
16913 HAL_CFLAGS = $HAL_CFLAGS
16914 HAL_LIBS = $HAL_LIBS
16915 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16916 GNUTLS_LIBS = $GNUTLS_LIBS
16917 SANE_CFLAGS = $SANE_CFLAGS
16918 SANE_LIBS = $SANE_LIBS
16919 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16920 GPHOTO2_LIBS = $GPHOTO2_LIBS
16921 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16922 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16923 RESOLV_LIBS = $RESOLV_LIBS
16924 LCMS2_CFLAGS = $LCMS2_CFLAGS
16925 LCMS2_LIBS = $LCMS2_LIBS
16926 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16927 FREETYPE_LIBS = $FREETYPE_LIBS
16928 Z_LIBS = $Z_LIBS
16929 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16930 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16931 GSTREAMER_LIBS = $GSTREAMER_LIBS
16932 ALSA_LIBS = $ALSA_LIBS
16933 OSS4_CFLAGS = $OSS4_CFLAGS
16934 CAPI20_CFLAGS = $CAPI20_CFLAGS
16935 CAPI20_LIBS = $CAPI20_LIBS
16936 CUPS_CFLAGS = $CUPS_CFLAGS
16937 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16938 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16939 JPEG_CFLAGS = $JPEG_CFLAGS
16940 JPEG_LIBS = $JPEG_LIBS
16941 PNG_CFLAGS = $PNG_CFLAGS
16942 PNG_LIBS = $PNG_LIBS
16943 TIFF_CFLAGS = $TIFF_CFLAGS
16944 TIFF_LIBS = $TIFF_LIBS
16945 MPG123_CFLAGS = $MPG123_CFLAGS
16946 MPG123_LIBS = $MPG123_LIBS
16947 KSTAT_LIBS = $KSTAT_LIBS
16948 PROCSTAT_LIBS = $PROCSTAT_LIBS
16949 DL_LIBS = $DL_LIBS
16950 POLL_LIBS = $POLL_LIBS
16951 RT_LIBS = $RT_LIBS
16952 LDAP_LIBS = $LDAP_LIBS
16957 wine_fn_append_rule "
16958 # Rules automatically generated by configure
16960 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16962 .INIT: Makefile
16963 .MAKEFILEDEPS:
16964 all: Makefile
16965 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16966 @./config.status Make.tmp Makefile"
16968 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
16969 .gitignore: config.status
16970 @./config.status .gitignore"
16972 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
16973 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16975 if test "x$enable_fonts" != xno; then
16976 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16977 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16978 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16979 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16980 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf
16982 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16983 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
16984 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
16985 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
16986 ac_config_links="$ac_config_links wine:tools/winewrapper"
16987 wine_fn_config_symlink wine
16988 if test "x$enable_win64" != xno; then
16989 ac_config_links="$ac_config_links wine64:tools/winewrapper"
16990 wine_fn_config_symlink wine64
16993 wine_fn_config_dll acledit enable_acledit
16994 wine_fn_config_dll aclui enable_aclui implib
16995 wine_fn_config_dll activeds enable_activeds implib
16996 wine_fn_config_dll actxprxy enable_actxprxy clean
16997 wine_fn_config_lib adsiid
16998 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
16999 wine_fn_config_test dlls/advapi32/tests advapi32_test
17000 wine_fn_config_dll advpack enable_advpack implib
17001 wine_fn_config_test dlls/advpack/tests advpack_test
17002 wine_fn_config_dll amstream enable_amstream clean
17003 wine_fn_config_test dlls/amstream/tests amstream_test
17004 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17005 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17006 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17007 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17008 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17009 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17010 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17011 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17012 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17013 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17014 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17015 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17016 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17017 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17018 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17019 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17020 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17021 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17022 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17023 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17024 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17025 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17026 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17027 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17028 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17029 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17030 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17031 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17032 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17033 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17034 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17035 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17036 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17037 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17038 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17039 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17040 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17041 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17042 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17043 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17044 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17045 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17046 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17047 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17048 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17049 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17050 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17051 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17052 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17053 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17054 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17055 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17056 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17057 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17058 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17059 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17060 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17061 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17062 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17063 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17064 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17065 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17066 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17067 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17068 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17069 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17070 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17071 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17072 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17073 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17074 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17075 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17076 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17077 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17078 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17079 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17080 wine_fn_config_dll apphelp enable_apphelp
17081 wine_fn_config_test dlls/apphelp/tests apphelp_test
17082 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
17083 wine_fn_config_dll atl enable_atl clean,implib
17084 wine_fn_config_test dlls/atl/tests atl_test
17085 wine_fn_config_dll atl100 enable_atl100 clean,implib
17086 wine_fn_config_test dlls/atl100/tests atl100_test
17087 wine_fn_config_dll atl110 enable_atl110 clean
17088 wine_fn_config_dll atl80 enable_atl80 clean,implib
17089 wine_fn_config_test dlls/atl80/tests atl80_test
17090 wine_fn_config_dll atl90 enable_atl90 clean
17091 wine_fn_config_dll authz enable_authz
17092 wine_fn_config_dll avicap32 enable_avicap32 implib
17093 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
17094 wine_fn_config_test dlls/avifil32/tests avifil32_test
17095 wine_fn_config_dll avifile.dll16 enable_win16
17096 wine_fn_config_dll avrt enable_avrt implib
17097 wine_fn_config_dll bcrypt enable_bcrypt
17098 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17099 wine_fn_config_dll browseui enable_browseui clean,po
17100 wine_fn_config_test dlls/browseui/tests browseui_test
17101 wine_fn_config_dll cabinet enable_cabinet implib
17102 wine_fn_config_test dlls/cabinet/tests cabinet_test
17103 wine_fn_config_dll capi2032 enable_capi2032 implib
17104 wine_fn_config_dll cards enable_cards implib
17105 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17106 wine_fn_config_dll clusapi enable_clusapi implib
17107 wine_fn_config_dll combase enable_combase
17108 wine_fn_config_test dlls/combase/tests combase_test
17109 wine_fn_config_dll comcat enable_comcat
17110 wine_fn_config_test dlls/comcat/tests comcat_test
17111 wine_fn_config_dll comctl32 enable_comctl32 implib,po
17112 wine_fn_config_test dlls/comctl32/tests comctl32_test
17113 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
17114 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17115 wine_fn_config_dll comm.drv16 enable_win16
17116 wine_fn_config_dll commdlg.dll16 enable_win16
17117 wine_fn_config_dll compobj.dll16 enable_win16
17118 wine_fn_config_dll compstui enable_compstui implib
17119 wine_fn_config_dll comsvcs enable_comsvcs implib
17120 wine_fn_config_dll connect enable_connect
17121 wine_fn_config_dll credui enable_credui implib,po
17122 wine_fn_config_test dlls/credui/tests credui_test
17123 wine_fn_config_dll crtdll enable_crtdll implib
17124 wine_fn_config_dll crypt32 enable_crypt32 implib,po
17125 wine_fn_config_test dlls/crypt32/tests crypt32_test
17126 wine_fn_config_dll cryptdlg enable_cryptdlg po
17127 wine_fn_config_dll cryptdll enable_cryptdll implib
17128 wine_fn_config_dll cryptext enable_cryptext
17129 wine_fn_config_dll cryptnet enable_cryptnet implib
17130 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17131 wine_fn_config_dll cryptui enable_cryptui implib,po
17132 wine_fn_config_test dlls/cryptui/tests cryptui_test
17133 wine_fn_config_dll ctapi32 enable_ctapi32
17134 wine_fn_config_dll ctl3d.dll16 enable_win16
17135 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17136 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17137 wine_fn_config_dll d2d1 enable_d2d1 implib
17138 wine_fn_config_test dlls/d2d1/tests d2d1_test
17139 wine_fn_config_dll d3d10 enable_d3d10 implib
17140 wine_fn_config_test dlls/d3d10/tests d3d10_test
17141 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17142 wine_fn_config_dll d3d10core enable_d3d10core implib
17143 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17144 wine_fn_config_dll d3d11 enable_d3d11
17145 wine_fn_config_dll d3d8 enable_d3d8 implib
17146 wine_fn_config_test dlls/d3d8/tests d3d8_test
17147 wine_fn_config_dll d3d9 enable_d3d9 implib
17148 wine_fn_config_test dlls/d3d9/tests d3d9_test
17149 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17150 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17151 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17152 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17153 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17154 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17155 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17156 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17157 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17158 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17159 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17160 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17161 wine_fn_config_dll d3dim enable_d3dim implib
17162 wine_fn_config_dll d3drm enable_d3drm implib
17163 wine_fn_config_test dlls/d3drm/tests d3drm_test
17164 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17165 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17166 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17167 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17168 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17169 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17170 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17171 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17172 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17173 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17174 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
17175 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17176 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17177 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17178 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17179 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17180 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17181 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17182 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17183 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17184 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17185 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17186 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17187 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17188 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17189 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17190 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17191 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17192 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17193 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17194 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17195 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17196 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17197 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17198 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17199 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17200 wine_fn_config_dll dbgeng enable_dbgeng implib
17201 wine_fn_config_dll dbghelp enable_dbghelp implib
17202 wine_fn_config_dll dciman32 enable_dciman32 implib
17203 wine_fn_config_dll ddeml.dll16 enable_win16
17204 wine_fn_config_dll ddraw enable_ddraw clean,implib
17205 wine_fn_config_test dlls/ddraw/tests ddraw_test
17206 wine_fn_config_dll ddrawex enable_ddrawex clean
17207 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17208 wine_fn_config_dll devenum enable_devenum clean,po
17209 wine_fn_config_test dlls/devenum/tests devenum_test
17210 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17211 wine_fn_config_dll difxapi enable_difxapi
17212 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
17213 wine_fn_config_test dlls/dinput/tests dinput_test
17214 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17215 wine_fn_config_test dlls/dinput8/tests dinput8_test
17216 wine_fn_config_dll dispdib.dll16 enable_win16
17217 wine_fn_config_dll dispex enable_dispex clean
17218 wine_fn_config_test dlls/dispex/tests dispex_test
17219 wine_fn_config_dll display.drv16 enable_win16
17220 wine_fn_config_dll dmband enable_dmband clean
17221 wine_fn_config_test dlls/dmband/tests dmband_test
17222 wine_fn_config_dll dmcompos enable_dmcompos clean
17223 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17224 wine_fn_config_dll dmime enable_dmime clean
17225 wine_fn_config_test dlls/dmime/tests dmime_test
17226 wine_fn_config_dll dmloader enable_dmloader clean
17227 wine_fn_config_test dlls/dmloader/tests dmloader_test
17228 wine_fn_config_dll dmscript enable_dmscript clean
17229 wine_fn_config_test dlls/dmscript/tests dmscript_test
17230 wine_fn_config_dll dmstyle enable_dmstyle clean
17231 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17232 wine_fn_config_dll dmsynth enable_dmsynth clean
17233 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17234 wine_fn_config_dll dmusic enable_dmusic clean
17235 wine_fn_config_test dlls/dmusic/tests dmusic_test
17236 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17237 wine_fn_config_dll dnsapi enable_dnsapi implib
17238 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17239 wine_fn_config_dll dplay enable_dplay implib
17240 wine_fn_config_dll dplayx enable_dplayx clean,implib
17241 wine_fn_config_test dlls/dplayx/tests dplayx_test
17242 wine_fn_config_dll dpnaddr enable_dpnaddr
17243 wine_fn_config_dll dpnet enable_dpnet clean,implib
17244 wine_fn_config_test dlls/dpnet/tests dpnet_test
17245 wine_fn_config_dll dpnhpast enable_dpnhpast
17246 wine_fn_config_dll dpnlobby enable_dpnlobby
17247 wine_fn_config_dll dpvoice enable_dpvoice clean
17248 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17249 wine_fn_config_dll dpwsockx enable_dpwsockx
17250 wine_fn_config_dll drmclien enable_drmclien
17251 wine_fn_config_dll dsound enable_dsound clean,implib
17252 wine_fn_config_test dlls/dsound/tests dsound_test
17253 wine_fn_config_dll dssenh enable_dssenh
17254 wine_fn_config_test dlls/dssenh/tests dssenh_test
17255 wine_fn_config_dll dswave enable_dswave clean
17256 wine_fn_config_test dlls/dswave/tests dswave_test
17257 wine_fn_config_dll dwmapi enable_dwmapi implib
17258 wine_fn_config_dll dwrite enable_dwrite implib
17259 wine_fn_config_test dlls/dwrite/tests dwrite_test
17260 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
17261 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17262 wine_fn_config_lib dxerr8
17263 wine_fn_config_lib dxerr9
17264 wine_fn_config_dll dxgi enable_dxgi implib
17265 wine_fn_config_test dlls/dxgi/tests dxgi_test
17266 wine_fn_config_lib dxguid
17267 wine_fn_config_dll dxva2 enable_dxva2
17268 wine_fn_config_dll evr enable_evr
17269 wine_fn_config_dll explorerframe enable_explorerframe clean
17270 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17271 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17272 wine_fn_config_dll faultrep enable_faultrep implib
17273 wine_fn_config_test dlls/faultrep/tests faultrep_test
17274 wine_fn_config_dll fltlib enable_fltlib
17275 wine_fn_config_dll fntcache enable_fntcache
17276 wine_fn_config_dll fontsub enable_fontsub
17277 wine_fn_config_dll fusion enable_fusion
17278 wine_fn_config_test dlls/fusion/tests fusion_test
17279 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17280 wine_fn_config_dll gameux enable_gameux clean
17281 wine_fn_config_test dlls/gameux/tests gameux_test
17282 wine_fn_config_dll gdi.exe16 enable_win16
17283 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
17284 wine_fn_config_test dlls/gdi32/tests gdi32_test
17285 wine_fn_config_dll gdiplus enable_gdiplus implib
17286 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17287 wine_fn_config_dll glu32 enable_glu32 implib
17288 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17289 wine_fn_config_dll gpkcsp enable_gpkcsp
17290 wine_fn_config_dll hal enable_hal
17291 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
17292 wine_fn_config_dll hid enable_hid implib
17293 wine_fn_config_dll hlink enable_hlink clean,implib
17294 wine_fn_config_test dlls/hlink/tests hlink_test
17295 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17296 wine_fn_config_dll httpapi enable_httpapi
17297 wine_fn_config_dll iccvid enable_iccvid po
17298 wine_fn_config_dll icmp enable_icmp
17299 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
17300 wine_fn_config_test dlls/ieframe/tests ieframe_test
17301 wine_fn_config_dll ifsmgr.vxd enable_win16
17302 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17303 wine_fn_config_dll imagehlp enable_imagehlp implib
17304 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17305 wine_fn_config_dll imm.dll16 enable_win16
17306 wine_fn_config_dll imm32 enable_imm32 implib
17307 wine_fn_config_test dlls/imm32/tests imm32_test
17308 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17309 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17310 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17311 wine_fn_config_dll inetmib1 enable_inetmib1
17312 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17313 wine_fn_config_dll infosoft enable_infosoft clean
17314 wine_fn_config_test dlls/infosoft/tests infosoft_test
17315 wine_fn_config_dll initpki enable_initpki
17316 wine_fn_config_dll inkobj enable_inkobj
17317 wine_fn_config_dll inseng enable_inseng clean
17318 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17319 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17320 wine_fn_config_dll itircl enable_itircl
17321 wine_fn_config_dll itss enable_itss clean
17322 wine_fn_config_test dlls/itss/tests itss_test
17323 wine_fn_config_dll joy.cpl enable_joy_cpl po
17324 wine_fn_config_dll jscript enable_jscript clean,po
17325 wine_fn_config_test dlls/jscript/tests jscript_test
17326 wine_fn_config_dll jsproxy enable_jsproxy implib
17327 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
17328 wine_fn_config_test dlls/kernel32/tests kernel32_test
17329 wine_fn_config_dll keyboard.drv16 enable_win16
17330 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17331 wine_fn_config_dll ksuser enable_ksuser
17332 wine_fn_config_dll ktmw32 enable_ktmw32
17333 wine_fn_config_dll loadperf enable_loadperf implib
17334 wine_fn_config_dll localspl enable_localspl po
17335 wine_fn_config_test dlls/localspl/tests localspl_test
17336 wine_fn_config_dll localui enable_localui po
17337 wine_fn_config_test dlls/localui/tests localui_test
17338 wine_fn_config_dll lz32 enable_lz32 implib
17339 wine_fn_config_test dlls/lz32/tests lz32_test
17340 wine_fn_config_dll lzexpand.dll16 enable_win16
17341 wine_fn_config_dll mapi32 enable_mapi32 implib,po
17342 wine_fn_config_test dlls/mapi32/tests mapi32_test
17343 wine_fn_config_dll mapistub enable_mapistub
17344 wine_fn_config_dll mciavi32 enable_mciavi32
17345 wine_fn_config_dll mcicda enable_mcicda
17346 wine_fn_config_dll mciqtz32 enable_mciqtz32
17347 wine_fn_config_dll mciseq enable_mciseq
17348 wine_fn_config_dll mciwave enable_mciwave
17349 wine_fn_config_dll mf enable_mf
17350 wine_fn_config_dll mfplat enable_mfplat
17351 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17352 wine_fn_config_dll mgmtapi enable_mgmtapi
17353 wine_fn_config_dll midimap enable_midimap
17354 wine_fn_config_dll mlang enable_mlang clean,implib
17355 wine_fn_config_test dlls/mlang/tests mlang_test
17356 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17357 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17358 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17359 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17360 wine_fn_config_dll mmdevldr.vxd enable_win16
17361 wine_fn_config_dll mmsystem.dll16 enable_win16
17362 wine_fn_config_dll monodebg.vxd enable_win16
17363 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17364 wine_fn_config_dll mouse.drv16 enable_win16
17365 wine_fn_config_dll mpr enable_mpr implib,po
17366 wine_fn_config_test dlls/mpr/tests mpr_test
17367 wine_fn_config_dll mprapi enable_mprapi implib
17368 wine_fn_config_dll msacm.dll16 enable_win16
17369 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17370 wine_fn_config_dll msacm32 enable_msacm32 implib,po
17371 wine_fn_config_test dlls/msacm32/tests msacm32_test
17372 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17373 wine_fn_config_dll msasn1 enable_msasn1 implib
17374 wine_fn_config_dll mscat32 enable_mscat32
17375 wine_fn_config_dll mscms enable_mscms implib
17376 wine_fn_config_test dlls/mscms/tests mscms_test
17377 wine_fn_config_dll mscoree enable_mscoree clean
17378 wine_fn_config_test dlls/mscoree/tests mscoree_test
17379 wine_fn_config_dll msctf enable_msctf clean
17380 wine_fn_config_test dlls/msctf/tests msctf_test
17381 wine_fn_config_dll msdaps enable_msdaps clean
17382 wine_fn_config_dll msdmo enable_msdmo implib
17383 wine_fn_config_test dlls/msdmo/tests msdmo_test
17384 wine_fn_config_dll msftedit enable_msftedit
17385 wine_fn_config_dll msg711.acm enable_msg711_acm
17386 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17387 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17388 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
17389 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17390 wine_fn_config_dll msi enable_msi clean,implib,po
17391 wine_fn_config_test dlls/msi/tests msi_test
17392 wine_fn_config_dll msident enable_msident clean
17393 wine_fn_config_dll msimg32 enable_msimg32 implib
17394 wine_fn_config_dll msimsg enable_msimsg
17395 wine_fn_config_dll msimtf enable_msimtf clean
17396 wine_fn_config_dll msisip enable_msisip
17397 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17398 wine_fn_config_dll msls31 enable_msls31
17399 wine_fn_config_dll msnet32 enable_msnet32
17400 wine_fn_config_dll mspatcha enable_mspatcha implib
17401 wine_fn_config_dll msrle32 enable_msrle32 po
17402 wine_fn_config_test dlls/msrle32/tests msrle32_test
17403 wine_fn_config_dll mssign32 enable_mssign32
17404 wine_fn_config_dll mssip32 enable_mssip32
17405 wine_fn_config_dll mstask enable_mstask clean
17406 wine_fn_config_test dlls/mstask/tests mstask_test
17407 wine_fn_config_dll msvcirt enable_msvcirt
17408 wine_fn_config_dll msvcm80 enable_msvcm80
17409 wine_fn_config_dll msvcm90 enable_msvcm90
17410 wine_fn_config_dll msvcp100 enable_msvcp100
17411 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17412 wine_fn_config_dll msvcp110 enable_msvcp110
17413 wine_fn_config_dll msvcp120 enable_msvcp120
17414 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
17415 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17416 wine_fn_config_dll msvcp60 enable_msvcp60
17417 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17418 wine_fn_config_dll msvcp70 enable_msvcp70
17419 wine_fn_config_dll msvcp71 enable_msvcp71
17420 wine_fn_config_dll msvcp80 enable_msvcp80
17421 wine_fn_config_dll msvcp90 enable_msvcp90
17422 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17423 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17424 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17425 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17426 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17427 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
17428 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17429 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17430 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17431 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17432 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17433 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17434 wine_fn_config_dll msvcrt enable_msvcrt implib
17435 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17436 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17437 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17438 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17439 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17440 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17441 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17442 wine_fn_config_dll msvidc32 enable_msvidc32 po
17443 wine_fn_config_dll msvideo.dll16 enable_win16
17444 wine_fn_config_dll mswsock enable_mswsock implib
17445 wine_fn_config_dll msxml enable_msxml clean
17446 wine_fn_config_dll msxml2 enable_msxml2 clean
17447 wine_fn_config_dll msxml3 enable_msxml3 clean
17448 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17449 wine_fn_config_dll msxml4 enable_msxml4 clean
17450 wine_fn_config_dll msxml6 enable_msxml6 clean
17451 wine_fn_config_dll nddeapi enable_nddeapi implib
17452 wine_fn_config_dll ndis.sys enable_ndis_sys
17453 wine_fn_config_dll netapi32 enable_netapi32 implib
17454 wine_fn_config_test dlls/netapi32/tests netapi32_test
17455 wine_fn_config_dll netcfgx enable_netcfgx clean
17456 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17457 wine_fn_config_dll netprofm enable_netprofm clean
17458 wine_fn_config_test dlls/netprofm/tests netprofm_test
17459 wine_fn_config_dll newdev enable_newdev implib
17460 wine_fn_config_dll normaliz enable_normaliz implib
17461 wine_fn_config_dll npmshtml enable_npmshtml
17462 wine_fn_config_dll npptools enable_npptools
17463 wine_fn_config_dll ntdll enable_ntdll implib
17464 wine_fn_config_test dlls/ntdll/tests ntdll_test
17465 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17466 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17467 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17468 wine_fn_config_dll ntprint enable_ntprint
17469 wine_fn_config_test dlls/ntprint/tests ntprint_test
17470 wine_fn_config_dll objsel enable_objsel clean
17471 wine_fn_config_dll odbc32 enable_odbc32 implib
17472 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17473 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17474 wine_fn_config_dll odbccu32 enable_odbccu32
17475 wine_fn_config_dll ole2.dll16 enable_win16
17476 wine_fn_config_dll ole2conv.dll16 enable_win16
17477 wine_fn_config_dll ole2disp.dll16 enable_win16
17478 wine_fn_config_dll ole2nls.dll16 enable_win16
17479 wine_fn_config_dll ole2prox.dll16 enable_win16
17480 wine_fn_config_dll ole2thk.dll16 enable_win16
17481 wine_fn_config_dll ole32 enable_ole32 clean,implib
17482 wine_fn_config_test dlls/ole32/tests ole32_test
17483 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17484 wine_fn_config_test dlls/oleacc/tests oleacc_test
17485 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17486 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17487 wine_fn_config_dll olecli.dll16 enable_win16
17488 wine_fn_config_dll olecli32 enable_olecli32 implib
17489 wine_fn_config_dll oledb32 enable_oledb32 clean
17490 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17491 wine_fn_config_dll oledlg enable_oledlg implib,po
17492 wine_fn_config_test dlls/oledlg/tests oledlg_test
17493 wine_fn_config_dll olepro32 enable_olepro32 implib
17494 wine_fn_config_dll olesvr.dll16 enable_win16
17495 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17496 wine_fn_config_dll olethk32 enable_olethk32
17497 wine_fn_config_dll openal32 enable_openal32
17498 wine_fn_config_dll opencl enable_opencl
17499 wine_fn_config_dll opengl32 enable_opengl32 implib
17500 wine_fn_config_test dlls/opengl32/tests opengl32_test
17501 wine_fn_config_dll packager enable_packager clean
17502 wine_fn_config_test dlls/packager/tests packager_test
17503 wine_fn_config_dll pdh enable_pdh implib
17504 wine_fn_config_test dlls/pdh/tests pdh_test
17505 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17506 wine_fn_config_dll pidgen enable_pidgen
17507 wine_fn_config_dll powrprof enable_powrprof implib
17508 wine_fn_config_dll printui enable_printui
17509 wine_fn_config_dll prntvpt enable_prntvpt
17510 wine_fn_config_dll propsys enable_propsys clean,implib
17511 wine_fn_config_test dlls/propsys/tests propsys_test
17512 wine_fn_config_dll psapi enable_psapi implib
17513 wine_fn_config_test dlls/psapi/tests psapi_test
17514 wine_fn_config_dll pstorec enable_pstorec clean
17515 wine_fn_config_dll qcap enable_qcap
17516 wine_fn_config_test dlls/qcap/tests qcap_test
17517 wine_fn_config_dll qedit enable_qedit clean
17518 wine_fn_config_test dlls/qedit/tests qedit_test
17519 wine_fn_config_dll qmgr enable_qmgr clean
17520 wine_fn_config_test dlls/qmgr/tests qmgr_test
17521 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17522 wine_fn_config_dll quartz enable_quartz clean,implib
17523 wine_fn_config_test dlls/quartz/tests quartz_test clean
17524 wine_fn_config_dll query enable_query
17525 wine_fn_config_dll rasapi16.dll16 enable_win16
17526 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17527 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17528 wine_fn_config_dll rasdlg enable_rasdlg implib
17529 wine_fn_config_dll regapi enable_regapi
17530 wine_fn_config_dll resutils enable_resutils implib
17531 wine_fn_config_dll riched20 enable_riched20 clean,implib
17532 wine_fn_config_test dlls/riched20/tests riched20_test
17533 wine_fn_config_dll riched32 enable_riched32
17534 wine_fn_config_test dlls/riched32/tests riched32_test
17535 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17536 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17537 wine_fn_config_dll rsabase enable_rsabase
17538 wine_fn_config_dll rsaenh enable_rsaenh implib
17539 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17540 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17541 wine_fn_config_dll rtutils enable_rtutils implib
17542 wine_fn_config_dll samlib enable_samlib
17543 wine_fn_config_dll sane.ds enable_sane_ds po
17544 wine_fn_config_dll scarddlg enable_scarddlg
17545 wine_fn_config_dll sccbase enable_sccbase
17546 wine_fn_config_dll schannel enable_schannel
17547 wine_fn_config_test dlls/schannel/tests schannel_test
17548 wine_fn_config_dll schedsvc enable_schedsvc clean
17549 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17550 wine_fn_config_dll scrrun enable_scrrun clean
17551 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17552 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17553 wine_fn_config_dll secur32 enable_secur32 implib
17554 wine_fn_config_test dlls/secur32/tests secur32_test
17555 wine_fn_config_dll security enable_security
17556 wine_fn_config_dll sensapi enable_sensapi implib
17557 wine_fn_config_dll serialui enable_serialui implib,po
17558 wine_fn_config_test dlls/serialui/tests serialui_test
17559 wine_fn_config_dll setupapi enable_setupapi implib,po
17560 wine_fn_config_test dlls/setupapi/tests setupapi_test
17561 wine_fn_config_dll setupx.dll16 enable_win16
17562 wine_fn_config_dll sfc enable_sfc implib
17563 wine_fn_config_dll sfc_os enable_sfc_os implib
17564 wine_fn_config_dll shdoclc enable_shdoclc po
17565 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17566 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17567 wine_fn_config_dll shell.dll16 enable_win16
17568 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17569 wine_fn_config_test dlls/shell32/tests shell32_test
17570 wine_fn_config_dll shfolder enable_shfolder implib
17571 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17572 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17573 wine_fn_config_dll slbcsp enable_slbcsp
17574 wine_fn_config_dll slc enable_slc implib
17575 wine_fn_config_test dlls/slc/tests slc_test
17576 wine_fn_config_dll snmpapi enable_snmpapi implib
17577 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17578 wine_fn_config_dll softpub enable_softpub
17579 wine_fn_config_dll sound.drv16 enable_win16
17580 wine_fn_config_dll spoolss enable_spoolss implib
17581 wine_fn_config_test dlls/spoolss/tests spoolss_test
17582 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17583 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17584 wine_fn_config_dll sti enable_sti clean,implib
17585 wine_fn_config_test dlls/sti/tests sti_test
17586 wine_fn_config_dll storage.dll16 enable_win16
17587 wine_fn_config_dll stress.dll16 enable_win16
17588 wine_fn_config_lib strmbase
17589 wine_fn_config_lib strmiids
17590 wine_fn_config_dll svrapi enable_svrapi
17591 wine_fn_config_dll sxs enable_sxs implib
17592 wine_fn_config_test dlls/sxs/tests sxs_test
17593 wine_fn_config_dll system.drv16 enable_win16
17594 wine_fn_config_dll t2embed enable_t2embed
17595 wine_fn_config_dll tapi32 enable_tapi32 implib
17596 wine_fn_config_dll taskschd enable_taskschd clean
17597 wine_fn_config_test dlls/taskschd/tests taskschd_test
17598 wine_fn_config_dll toolhelp.dll16 enable_win16
17599 wine_fn_config_dll traffic enable_traffic
17600 wine_fn_config_dll twain.dll16 enable_win16
17601 wine_fn_config_dll twain_32 enable_twain_32
17602 wine_fn_config_test dlls/twain_32/tests twain_32_test
17603 wine_fn_config_dll typelib.dll16 enable_win16
17604 wine_fn_config_dll unicows enable_unicows implib
17605 wine_fn_config_dll updspapi enable_updspapi
17606 wine_fn_config_dll url enable_url implib
17607 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17608 wine_fn_config_test dlls/urlmon/tests urlmon_test
17609 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17610 wine_fn_config_dll user.exe16 enable_win16
17611 wine_fn_config_dll user32 enable_user32 clean,implib,po
17612 wine_fn_config_test dlls/user32/tests user32_test
17613 wine_fn_config_dll userenv enable_userenv implib
17614 wine_fn_config_test dlls/userenv/tests userenv_test
17615 wine_fn_config_dll usp10 enable_usp10 implib
17616 wine_fn_config_test dlls/usp10/tests usp10_test
17617 wine_fn_config_lib uuid
17618 wine_fn_config_dll uxtheme enable_uxtheme implib
17619 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17620 wine_fn_config_dll vbscript enable_vbscript clean
17621 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17622 wine_fn_config_dll vcomp enable_vcomp
17623 wine_fn_config_dll vcomp100 enable_vcomp100
17624 wine_fn_config_dll vcomp90 enable_vcomp90
17625 wine_fn_config_dll vdhcp.vxd enable_win16
17626 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17627 wine_fn_config_dll ver.dll16 enable_win16
17628 wine_fn_config_dll version enable_version implib
17629 wine_fn_config_test dlls/version/tests version_test
17630 wine_fn_config_dll vmm.vxd enable_win16
17631 wine_fn_config_dll vnbt.vxd enable_win16
17632 wine_fn_config_dll vnetbios.vxd enable_win16
17633 wine_fn_config_dll vssapi enable_vssapi
17634 wine_fn_config_dll vtdapi.vxd enable_win16
17635 wine_fn_config_dll vwin32.vxd enable_win16
17636 wine_fn_config_dll w32skrnl enable_win16
17637 wine_fn_config_dll w32sys.dll16 enable_win16
17638 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17639 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
17640 wine_fn_config_dll wbemprox enable_wbemprox clean
17641 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17642 wine_fn_config_dll webservices enable_webservices implib
17643 wine_fn_config_dll wer enable_wer implib
17644 wine_fn_config_test dlls/wer/tests wer_test
17645 wine_fn_config_dll wevtapi enable_wevtapi
17646 wine_fn_config_dll wiaservc enable_wiaservc clean
17647 wine_fn_config_dll win32s16.dll16 enable_win16
17648 wine_fn_config_dll win87em.dll16 enable_win16
17649 wine_fn_config_dll winaspi.dll16 enable_win16
17650 wine_fn_config_dll windebug.dll16 enable_win16
17651 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17652 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17653 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17654 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17655 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17656 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17657 wine_fn_config_lib winecrt0
17658 wine_fn_config_dll wined3d enable_wined3d implib
17659 wine_fn_config_dll winegstreamer enable_winegstreamer
17660 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17661 wine_fn_config_dll winemac.drv enable_winemac_drv
17662 wine_fn_config_dll winemapi enable_winemapi
17663 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17664 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17665 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
17666 wine_fn_config_dll wineps16.drv16 enable_win16
17667 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17668 wine_fn_config_dll winex11.drv enable_winex11_drv
17669 wine_fn_config_dll wing.dll16 enable_win16
17670 wine_fn_config_dll wing32 enable_wing32
17671 wine_fn_config_dll winhttp enable_winhttp clean,implib
17672 wine_fn_config_test dlls/winhttp/tests winhttp_test
17673 wine_fn_config_dll wininet enable_wininet implib,po
17674 wine_fn_config_test dlls/wininet/tests wininet_test
17675 wine_fn_config_dll winmm enable_winmm implib,po
17676 wine_fn_config_test dlls/winmm/tests winmm_test
17677 wine_fn_config_dll winnls.dll16 enable_win16
17678 wine_fn_config_dll winnls32 enable_winnls32 implib
17679 wine_fn_config_dll winscard enable_winscard implib
17680 wine_fn_config_dll winsock.dll16 enable_win16
17681 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17682 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17683 wine_fn_config_dll winsta enable_winsta
17684 wine_fn_config_dll wintab.dll16 enable_win16
17685 wine_fn_config_dll wintab32 enable_wintab32 implib
17686 wine_fn_config_test dlls/wintab32/tests wintab32_test
17687 wine_fn_config_dll wintrust enable_wintrust implib
17688 wine_fn_config_test dlls/wintrust/tests wintrust_test
17689 wine_fn_config_dll wlanapi enable_wlanapi
17690 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17691 wine_fn_config_test dlls/wldap32/tests wldap32_test
17692 wine_fn_config_dll wmi enable_wmi
17693 wine_fn_config_dll wmiutils enable_wmiutils clean
17694 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17695 wine_fn_config_dll wmp enable_wmp clean
17696 wine_fn_config_test dlls/wmp/tests wmp_test
17697 wine_fn_config_dll wmvcore enable_wmvcore
17698 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17699 wine_fn_config_dll wow32 enable_win16 implib
17700 wine_fn_config_dll wpcap enable_wpcap
17701 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17702 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
17703 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17704 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
17705 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17706 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
17707 wine_fn_config_dll wsock32 enable_wsock32 implib
17708 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17709 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
17710 wine_fn_config_dll wuapi enable_wuapi clean
17711 wine_fn_config_dll wuaueng enable_wuaueng
17712 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
17713 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
17714 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
17715 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
17716 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
17717 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
17718 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
17719 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17720 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
17721 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
17722 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
17723 wine_fn_config_dll xaudio2_7 enable_xaudio2_7
17724 wine_fn_config_dll xinput1_1 enable_xinput1_1
17725 wine_fn_config_dll xinput1_2 enable_xinput1_2
17726 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17727 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
17728 wine_fn_config_dll xinput1_4 enable_xinput1_4
17729 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17730 wine_fn_config_dll xmllite enable_xmllite implib
17731 wine_fn_config_test dlls/xmllite/tests xmllite_test
17732 wine_fn_config_dll xolehlp enable_xolehlp
17733 wine_fn_config_dll xpsprint enable_xpsprint
17734 wine_fn_config_dll xpssvcs enable_xpssvcs
17735 wine_fn_config_makefile documentation enable_documentation clean
17736 wine_fn_config_makefile fonts enable_fonts clean,install-lib
17737 wine_fn_config_makefile include enable_include clean,install-dev
17738 wine_fn_config_makefile libs/port enable_libs_port
17739 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
17740 wine_fn_config_makefile libs/wpp enable_libs_wpp
17741 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
17742 wine_fn_config_program arp enable_arp install
17743 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
17744 wine_fn_config_program attrib enable_attrib install,po
17745 wine_fn_config_program cabarc enable_cabarc install
17746 wine_fn_config_program cacls enable_cacls install
17747 wine_fn_config_program clock enable_clock install,po
17748 wine_fn_config_program cmd enable_cmd install,po
17749 wine_fn_config_test programs/cmd/tests cmd.exe_test
17750 wine_fn_config_program conhost enable_conhost install
17751 wine_fn_config_program control enable_control install
17752 wine_fn_config_program cscript enable_cscript clean,install
17753 wine_fn_config_program dpnsvr enable_dpnsvr install
17754 wine_fn_config_program dxdiag enable_dxdiag install,po
17755 wine_fn_config_program eject enable_eject install
17756 wine_fn_config_program expand enable_expand install
17757 wine_fn_config_program explorer enable_explorer install,po
17758 wine_fn_config_program extrac32 enable_extrac32 install
17759 wine_fn_config_program findstr enable_findstr install
17760 wine_fn_config_program hh enable_hh install
17761 wine_fn_config_program hostname enable_hostname install,po
17762 wine_fn_config_program icinfo enable_icinfo install
17763 wine_fn_config_program iexplore enable_iexplore install
17764 wine_fn_config_program ipconfig enable_ipconfig install,po
17765 wine_fn_config_program lodctr enable_lodctr install
17766 wine_fn_config_program mofcomp enable_mofcomp install
17767 wine_fn_config_program mshta enable_mshta install
17768 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
17769 wine_fn_config_program net enable_net install,po
17770 wine_fn_config_program netsh enable_netsh install
17771 wine_fn_config_program netstat enable_netstat install,po
17772 wine_fn_config_program ngen enable_ngen install
17773 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
17774 wine_fn_config_program oleview enable_oleview install,po
17775 wine_fn_config_program ping enable_ping install
17776 wine_fn_config_program plugplay enable_plugplay install
17777 wine_fn_config_program presentationfontcache enable_presentationfontcache install
17778 wine_fn_config_program progman enable_progman install,po
17779 wine_fn_config_program reg enable_reg install,po
17780 wine_fn_config_test programs/reg/tests reg.exe_test
17781 wine_fn_config_program regasm enable_regasm install
17782 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
17783 wine_fn_config_test programs/regedit/tests regedit.exe_test
17784 wine_fn_config_program regsvcs enable_regsvcs install
17785 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage,po
17786 wine_fn_config_program rpcss enable_rpcss clean,install
17787 wine_fn_config_program rundll.exe16 enable_win16 install
17788 wine_fn_config_program rundll32 enable_rundll32 install
17789 wine_fn_config_program sc enable_sc install
17790 wine_fn_config_program schtasks enable_schtasks install
17791 wine_fn_config_program sdbinst enable_sdbinst install
17792 wine_fn_config_program secedit enable_secedit install
17793 wine_fn_config_program servicemodelreg enable_servicemodelreg install
17794 wine_fn_config_program services enable_services clean,install
17795 wine_fn_config_test programs/services/tests services.exe_test
17796 wine_fn_config_program spoolsv enable_spoolsv install
17797 wine_fn_config_program start enable_start install,po
17798 wine_fn_config_program svchost enable_svchost install
17799 wine_fn_config_program systeminfo enable_systeminfo install
17800 wine_fn_config_program taskkill enable_taskkill install,po
17801 wine_fn_config_program tasklist enable_tasklist install
17802 wine_fn_config_program taskmgr enable_taskmgr install,po
17803 wine_fn_config_program termsv enable_termsv install
17804 wine_fn_config_program uninstaller enable_uninstaller install,po
17805 wine_fn_config_program unlodctr enable_unlodctr install
17806 wine_fn_config_program view enable_view install,po
17807 wine_fn_config_program wevtutil enable_wevtutil install
17808 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
17809 wine_fn_config_program winebrowser enable_winebrowser install
17810 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
17811 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
17812 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
17813 wine_fn_config_program winedevice enable_winedevice install
17814 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
17815 wine_fn_config_program winemenubuilder enable_winemenubuilder install
17816 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
17817 wine_fn_config_program winemsibuilder enable_winemsibuilder install
17818 wine_fn_config_program winepath enable_winepath install,installbin,manpage
17819 wine_fn_config_program winetest enable_winetest clean
17820 wine_fn_config_program winevdm enable_win16 install
17821 wine_fn_config_program winhelp.exe16 enable_win16 install
17822 wine_fn_config_program winhlp32 enable_winhlp32 install,po
17823 wine_fn_config_program winoldap.mod16 enable_win16 install
17824 wine_fn_config_program winver enable_winver install
17825 wine_fn_config_program wmic enable_wmic install,po
17826 wine_fn_config_program wordpad enable_wordpad install,po
17827 wine_fn_config_program write enable_write install,po
17828 wine_fn_config_program wscript enable_wscript clean,install
17829 wine_fn_config_test programs/wscript/tests wscript.exe_test
17830 wine_fn_config_program wusa enable_wusa install
17831 wine_fn_config_program xcopy enable_xcopy install,po
17832 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
17833 wine_fn_config_makefile server enable_server clean,install-lib,manpage
17834 wine_fn_config_tool tools clean,install-dev,install-lib,manpage
17835 wine_fn_config_tool tools/sfnt2fon clean
17836 wine_fn_config_tool tools/widl clean,install-dev,manpage
17837 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
17838 wine_fn_config_tool tools/winedump clean,install-dev,manpage
17839 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
17840 wine_fn_config_tool tools/wmc clean,install-dev,manpage
17841 wine_fn_config_tool tools/wrc clean,install-dev,manpage
17843 LINGUAS="\
17844 ar \
17845 bg \
17846 ca \
17847 cs \
17848 da \
17849 de \
17850 el \
17851 en \
17852 en_US \
17853 eo \
17854 es \
17855 fa \
17856 fi \
17857 fr \
17858 he \
17859 hi \
17860 hr \
17861 hu \
17862 it \
17863 ja \
17864 ko \
17865 lt \
17866 ml \
17867 nb_NO \
17868 nl \
17869 or \
17870 pa \
17871 pl \
17872 pt_BR \
17873 pt_PT \
17874 rm \
17875 ro \
17876 ru \
17877 sk \
17878 sl \
17879 sr_RS@cyrillic \
17880 sr_RS@latin \
17881 sv \
17882 te \
17883 th \
17884 tr \
17885 uk \
17886 wa \
17887 zh_CN \
17888 zh_TW"
17893 wine_fn_ignore_file ".gitignore"
17894 wine_fn_ignore_file "Makefile"
17895 wine_fn_ignore_file "TAGS"
17896 wine_fn_ignore_file "tags"
17897 wine_fn_ignore_file "autom4te.cache"
17898 wine_fn_ignore_file "config.cache"
17899 wine_fn_ignore_file "config.log"
17900 wine_fn_ignore_file "config.status"
17901 wine_fn_ignore_file "configure.lineno"
17902 wine_fn_ignore_file "include/config.h"
17903 wine_fn_ignore_file "include/stamp-h"
17904 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
17906 if test "x$enable_tools" != xno
17907 then
17908 wine_fn_ignore_file "tools/makedep$ac_exeext"
17909 ac_config_commands="$ac_config_commands tools/makedep"
17913 ac_config_commands="$ac_config_commands Makefile"
17916 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17920 if test "x$enable_maintainer_mode" = xyes
17921 then
17922 wine_fn_append_rule "configure: configure.ac aclocal.m4
17923 autoconf --warnings=all
17924 include/config.h.in: include/stamp-h.in
17925 include/stamp-h.in: configure.ac aclocal.m4
17926 autoheader --warnings=all
17927 @echo timestamp > \$@"
17930 if test "x$with_gettextpo" = xyes
17931 then
17932 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17933 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
17934 \$(LINGUAS:%=po/%.po): po/wine.pot
17935 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17936 po/wine.pot: \$(ALL_POT_FILES)
17937 msgcat -o \$@ \$(ALL_POT_FILES)"
17940 if test "$MSGFMT" != false
17941 then
17942 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
17943 clean::
17944 \$(RM) \$(LINGUAS:%=po/%.mo)"
17946 posrc="po"
17947 test "$srcdir" = . || posrc="$srcdir/po"
17948 for i in $LINGUAS
17950 wine_fn_ignore_file "po/$i.mo"
17951 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
17952 \$(MSGFMT) -o \$@ $posrc/$i.po"
17953 done
17954 else
17955 LINGUAS=
17958 if test "x$enable_tools" != xno
17959 then
17960 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17961 @./config.status tools/makedep
17962 Makefile: tools/makedep$ac_exeext
17963 distclean:: clean
17964 \$(RM) tools/makedep$ac_exeext"
17965 else
17966 wine_fn_append_rule "\$(MAKEDEP):
17967 @echo \"You need to run make in $TOOLSDIR first\" && false"
17970 if test -n "$with_wine64"
17971 then
17972 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17973 fonts server tools:
17974 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17975 $with_wine64/loader/wine:
17976 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17977 $with_wine64/loader/wine-preloader:
17978 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17979 clean::
17980 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17981 else
17982 as_fn_append LOADER_RULES "
17983 install install-lib:: wine.inf install-man-pages
17984 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17985 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17987 uninstall::
17988 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17992 if test "$srcdir" = .
17993 then
17994 ac_config_commands="$ac_config_commands .gitignore"
17998 $as_echo " done" >&6
17999 cat >confcache <<\_ACEOF
18000 # This file is a shell script that caches the results of configure
18001 # tests run on this system so they can be shared between configure
18002 # scripts and configure runs, see configure's option --config-cache.
18003 # It is not useful on other systems. If it contains results you don't
18004 # want to keep, you may remove or edit it.
18006 # config.status only pays attention to the cache file if you give it
18007 # the --recheck option to rerun configure.
18009 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18010 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18011 # following values.
18013 _ACEOF
18015 # The following way of writing the cache mishandles newlines in values,
18016 # but we know of no workaround that is simple, portable, and efficient.
18017 # So, we kill variables containing newlines.
18018 # Ultrix sh set writes to stderr and can't be redirected directly,
18019 # and sets the high bit in the cache file unless we assign to the vars.
18021 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18022 eval ac_val=\$$ac_var
18023 case $ac_val in #(
18024 *${as_nl}*)
18025 case $ac_var in #(
18026 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18027 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18028 esac
18029 case $ac_var in #(
18030 _ | IFS | as_nl) ;; #(
18031 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18032 *) { eval $ac_var=; unset $ac_var;} ;;
18033 esac ;;
18034 esac
18035 done
18037 (set) 2>&1 |
18038 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18039 *${as_nl}ac_space=\ *)
18040 # `set' does not quote correctly, so add quotes: double-quote
18041 # substitution turns \\\\ into \\, and sed turns \\ into \.
18042 sed -n \
18043 "s/'/'\\\\''/g;
18044 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18045 ;; #(
18047 # `set' quotes correctly as required by POSIX, so do not add quotes.
18048 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18050 esac |
18051 sort
18053 sed '
18054 /^ac_cv_env_/b end
18055 t clear
18056 :clear
18057 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18058 t end
18059 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18060 :end' >>confcache
18061 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18062 if test -w "$cache_file"; then
18063 if test "x$cache_file" != "x/dev/null"; then
18064 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18065 $as_echo "$as_me: updating cache $cache_file" >&6;}
18066 if test ! -f "$cache_file" || test -h "$cache_file"; then
18067 cat confcache >"$cache_file"
18068 else
18069 case $cache_file in #(
18070 */* | ?:*)
18071 mv -f confcache "$cache_file"$$ &&
18072 mv -f "$cache_file"$$ "$cache_file" ;; #(
18074 mv -f confcache "$cache_file" ;;
18075 esac
18078 else
18079 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18080 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18083 rm -f confcache
18085 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18086 # Let make expand exec_prefix.
18087 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18089 DEFS=-DHAVE_CONFIG_H
18091 ac_libobjs=
18092 ac_ltlibobjs=
18094 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18095 # 1. Remove the extension, and $U if already installed.
18096 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18097 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18098 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18099 # will be set to the directory where LIBOBJS objects are built.
18100 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18101 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18102 done
18103 LIBOBJS=$ac_libobjs
18105 LTLIBOBJS=$ac_ltlibobjs
18109 : "${CONFIG_STATUS=./config.status}"
18110 ac_write_fail=0
18111 ac_clean_files_save=$ac_clean_files
18112 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18113 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18114 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18115 as_write_fail=0
18116 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18117 #! $SHELL
18118 # Generated by $as_me.
18119 # Run this file to recreate the current configuration.
18120 # Compiler output produced by configure, useful for debugging
18121 # configure, is in config.log if it exists.
18123 debug=false
18124 ac_cs_recheck=false
18125 ac_cs_silent=false
18127 SHELL=\${CONFIG_SHELL-$SHELL}
18128 export SHELL
18129 _ASEOF
18130 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18131 ## -------------------- ##
18132 ## M4sh Initialization. ##
18133 ## -------------------- ##
18135 # Be more Bourne compatible
18136 DUALCASE=1; export DUALCASE # for MKS sh
18137 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18138 emulate sh
18139 NULLCMD=:
18140 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18141 # is contrary to our usage. Disable this feature.
18142 alias -g '${1+"$@"}'='"$@"'
18143 setopt NO_GLOB_SUBST
18144 else
18145 case `(set -o) 2>/dev/null` in #(
18146 *posix*) :
18147 set -o posix ;; #(
18148 *) :
18150 esac
18154 as_nl='
18156 export as_nl
18157 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18158 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18159 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18160 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18161 # Prefer a ksh shell builtin over an external printf program on Solaris,
18162 # but without wasting forks for bash or zsh.
18163 if test -z "$BASH_VERSION$ZSH_VERSION" \
18164 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18165 as_echo='print -r --'
18166 as_echo_n='print -rn --'
18167 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18168 as_echo='printf %s\n'
18169 as_echo_n='printf %s'
18170 else
18171 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18172 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18173 as_echo_n='/usr/ucb/echo -n'
18174 else
18175 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18176 as_echo_n_body='eval
18177 arg=$1;
18178 case $arg in #(
18179 *"$as_nl"*)
18180 expr "X$arg" : "X\\(.*\\)$as_nl";
18181 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18182 esac;
18183 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18185 export as_echo_n_body
18186 as_echo_n='sh -c $as_echo_n_body as_echo'
18188 export as_echo_body
18189 as_echo='sh -c $as_echo_body as_echo'
18192 # The user is always right.
18193 if test "${PATH_SEPARATOR+set}" != set; then
18194 PATH_SEPARATOR=:
18195 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18196 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18197 PATH_SEPARATOR=';'
18202 # IFS
18203 # We need space, tab and new line, in precisely that order. Quoting is
18204 # there to prevent editors from complaining about space-tab.
18205 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18206 # splitting by setting IFS to empty value.)
18207 IFS=" "" $as_nl"
18209 # Find who we are. Look in the path if we contain no directory separator.
18210 as_myself=
18211 case $0 in #((
18212 *[\\/]* ) as_myself=$0 ;;
18213 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18214 for as_dir in $PATH
18216 IFS=$as_save_IFS
18217 test -z "$as_dir" && as_dir=.
18218 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18219 done
18220 IFS=$as_save_IFS
18223 esac
18224 # We did not find ourselves, most probably we were run as `sh COMMAND'
18225 # in which case we are not to be found in the path.
18226 if test "x$as_myself" = x; then
18227 as_myself=$0
18229 if test ! -f "$as_myself"; then
18230 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18231 exit 1
18234 # Unset variables that we do not need and which cause bugs (e.g. in
18235 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18236 # suppresses any "Segmentation fault" message there. '((' could
18237 # trigger a bug in pdksh 5.2.14.
18238 for as_var in BASH_ENV ENV MAIL MAILPATH
18239 do eval test x\${$as_var+set} = xset \
18240 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18241 done
18242 PS1='$ '
18243 PS2='> '
18244 PS4='+ '
18246 # NLS nuisances.
18247 LC_ALL=C
18248 export LC_ALL
18249 LANGUAGE=C
18250 export LANGUAGE
18252 # CDPATH.
18253 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18256 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18257 # ----------------------------------------
18258 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18259 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18260 # script with STATUS, using 1 if that was 0.
18261 as_fn_error ()
18263 as_status=$1; test $as_status -eq 0 && as_status=1
18264 if test "$4"; then
18265 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18266 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18268 $as_echo "$as_me: error: $2" >&2
18269 as_fn_exit $as_status
18270 } # as_fn_error
18273 # as_fn_set_status STATUS
18274 # -----------------------
18275 # Set $? to STATUS, without forking.
18276 as_fn_set_status ()
18278 return $1
18279 } # as_fn_set_status
18281 # as_fn_exit STATUS
18282 # -----------------
18283 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18284 as_fn_exit ()
18286 set +e
18287 as_fn_set_status $1
18288 exit $1
18289 } # as_fn_exit
18291 # as_fn_unset VAR
18292 # ---------------
18293 # Portably unset VAR.
18294 as_fn_unset ()
18296 { eval $1=; unset $1;}
18298 as_unset=as_fn_unset
18299 # as_fn_append VAR VALUE
18300 # ----------------------
18301 # Append the text in VALUE to the end of the definition contained in VAR. Take
18302 # advantage of any shell optimizations that allow amortized linear growth over
18303 # repeated appends, instead of the typical quadratic growth present in naive
18304 # implementations.
18305 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18306 eval 'as_fn_append ()
18308 eval $1+=\$2
18310 else
18311 as_fn_append ()
18313 eval $1=\$$1\$2
18315 fi # as_fn_append
18317 # as_fn_arith ARG...
18318 # ------------------
18319 # Perform arithmetic evaluation on the ARGs, and store the result in the
18320 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18321 # must be portable across $(()) and expr.
18322 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18323 eval 'as_fn_arith ()
18325 as_val=$(( $* ))
18327 else
18328 as_fn_arith ()
18330 as_val=`expr "$@" || test $? -eq 1`
18332 fi # as_fn_arith
18335 if expr a : '\(a\)' >/dev/null 2>&1 &&
18336 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18337 as_expr=expr
18338 else
18339 as_expr=false
18342 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18343 as_basename=basename
18344 else
18345 as_basename=false
18348 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18349 as_dirname=dirname
18350 else
18351 as_dirname=false
18354 as_me=`$as_basename -- "$0" ||
18355 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18356 X"$0" : 'X\(//\)$' \| \
18357 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18358 $as_echo X/"$0" |
18359 sed '/^.*\/\([^/][^/]*\)\/*$/{
18360 s//\1/
18363 /^X\/\(\/\/\)$/{
18364 s//\1/
18367 /^X\/\(\/\).*/{
18368 s//\1/
18371 s/.*/./; q'`
18373 # Avoid depending upon Character Ranges.
18374 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18375 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18376 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18377 as_cr_digits='0123456789'
18378 as_cr_alnum=$as_cr_Letters$as_cr_digits
18380 ECHO_C= ECHO_N= ECHO_T=
18381 case `echo -n x` in #(((((
18382 -n*)
18383 case `echo 'xy\c'` in
18384 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18385 xy) ECHO_C='\c';;
18386 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18387 ECHO_T=' ';;
18388 esac;;
18390 ECHO_N='-n';;
18391 esac
18393 rm -f conf$$ conf$$.exe conf$$.file
18394 if test -d conf$$.dir; then
18395 rm -f conf$$.dir/conf$$.file
18396 else
18397 rm -f conf$$.dir
18398 mkdir conf$$.dir 2>/dev/null
18400 if (echo >conf$$.file) 2>/dev/null; then
18401 if ln -s conf$$.file conf$$ 2>/dev/null; then
18402 as_ln_s='ln -s'
18403 # ... but there are two gotchas:
18404 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18405 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18406 # In both cases, we have to default to `cp -pR'.
18407 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18408 as_ln_s='cp -pR'
18409 elif ln conf$$.file conf$$ 2>/dev/null; then
18410 as_ln_s=ln
18411 else
18412 as_ln_s='cp -pR'
18414 else
18415 as_ln_s='cp -pR'
18417 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18418 rmdir conf$$.dir 2>/dev/null
18421 # as_fn_mkdir_p
18422 # -------------
18423 # Create "$as_dir" as a directory, including parents if necessary.
18424 as_fn_mkdir_p ()
18427 case $as_dir in #(
18428 -*) as_dir=./$as_dir;;
18429 esac
18430 test -d "$as_dir" || eval $as_mkdir_p || {
18431 as_dirs=
18432 while :; do
18433 case $as_dir in #(
18434 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18435 *) as_qdir=$as_dir;;
18436 esac
18437 as_dirs="'$as_qdir' $as_dirs"
18438 as_dir=`$as_dirname -- "$as_dir" ||
18439 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18440 X"$as_dir" : 'X\(//\)[^/]' \| \
18441 X"$as_dir" : 'X\(//\)$' \| \
18442 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18443 $as_echo X"$as_dir" |
18444 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18445 s//\1/
18448 /^X\(\/\/\)[^/].*/{
18449 s//\1/
18452 /^X\(\/\/\)$/{
18453 s//\1/
18456 /^X\(\/\).*/{
18457 s//\1/
18460 s/.*/./; q'`
18461 test -d "$as_dir" && break
18462 done
18463 test -z "$as_dirs" || eval "mkdir $as_dirs"
18464 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18467 } # as_fn_mkdir_p
18468 if mkdir -p . 2>/dev/null; then
18469 as_mkdir_p='mkdir -p "$as_dir"'
18470 else
18471 test -d ./-p && rmdir ./-p
18472 as_mkdir_p=false
18476 # as_fn_executable_p FILE
18477 # -----------------------
18478 # Test if FILE is an executable regular file.
18479 as_fn_executable_p ()
18481 test -f "$1" && test -x "$1"
18482 } # as_fn_executable_p
18483 as_test_x='test -x'
18484 as_executable_p=as_fn_executable_p
18486 # Sed expression to map a string onto a valid CPP name.
18487 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18489 # Sed expression to map a string onto a valid variable name.
18490 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18493 exec 6>&1
18494 ## ----------------------------------- ##
18495 ## Main body of $CONFIG_STATUS script. ##
18496 ## ----------------------------------- ##
18497 _ASEOF
18498 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18500 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18501 # Save the log message, to keep $0 and so on meaningful, and to
18502 # report actual input values of CONFIG_FILES etc. instead of their
18503 # values after options handling.
18504 ac_log="
18505 This file was extended by Wine $as_me 1.7.43, which was
18506 generated by GNU Autoconf 2.69. Invocation command line was
18508 CONFIG_FILES = $CONFIG_FILES
18509 CONFIG_HEADERS = $CONFIG_HEADERS
18510 CONFIG_LINKS = $CONFIG_LINKS
18511 CONFIG_COMMANDS = $CONFIG_COMMANDS
18512 $ $0 $@
18514 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18517 _ACEOF
18519 case $ac_config_files in *"
18520 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18521 esac
18523 case $ac_config_headers in *"
18524 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18525 esac
18528 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18529 # Files that config.status was made for.
18530 config_files="$ac_config_files"
18531 config_headers="$ac_config_headers"
18532 config_links="$ac_config_links"
18533 config_commands="$ac_config_commands"
18535 _ACEOF
18537 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18538 ac_cs_usage="\
18539 \`$as_me' instantiates files and other configuration actions
18540 from templates according to the current configuration. Unless the files
18541 and actions are specified as TAGs, all are instantiated by default.
18543 Usage: $0 [OPTION]... [TAG]...
18545 -h, --help print this help, then exit
18546 -V, --version print version number and configuration settings, then exit
18547 --config print configuration, then exit
18548 -q, --quiet, --silent
18549 do not print progress messages
18550 -d, --debug don't remove temporary files
18551 --recheck update $as_me by reconfiguring in the same conditions
18552 --file=FILE[:TEMPLATE]
18553 instantiate the configuration file FILE
18554 --header=FILE[:TEMPLATE]
18555 instantiate the configuration header FILE
18557 Configuration files:
18558 $config_files
18560 Configuration headers:
18561 $config_headers
18563 Configuration links:
18564 $config_links
18566 Configuration commands:
18567 $config_commands
18569 Report bugs to <wine-devel@winehq.org>.
18570 Wine home page: <http://www.winehq.org>."
18572 _ACEOF
18573 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18574 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18575 ac_cs_version="\\
18576 Wine config.status 1.7.43
18577 configured by $0, generated by GNU Autoconf 2.69,
18578 with options \\"\$ac_cs_config\\"
18580 Copyright (C) 2012 Free Software Foundation, Inc.
18581 This config.status script is free software; the Free Software Foundation
18582 gives unlimited permission to copy, distribute and modify it."
18584 ac_pwd='$ac_pwd'
18585 srcdir='$srcdir'
18586 test -n "\$AWK" || AWK=awk
18587 _ACEOF
18589 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18590 # The default lists apply if the user does not specify any file.
18591 ac_need_defaults=:
18592 while test $# != 0
18594 case $1 in
18595 --*=?*)
18596 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18597 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18598 ac_shift=:
18600 --*=)
18601 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18602 ac_optarg=
18603 ac_shift=:
18606 ac_option=$1
18607 ac_optarg=$2
18608 ac_shift=shift
18610 esac
18612 case $ac_option in
18613 # Handling of the options.
18614 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18615 ac_cs_recheck=: ;;
18616 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18617 $as_echo "$ac_cs_version"; exit ;;
18618 --config | --confi | --conf | --con | --co | --c )
18619 $as_echo "$ac_cs_config"; exit ;;
18620 --debug | --debu | --deb | --de | --d | -d )
18621 debug=: ;;
18622 --file | --fil | --fi | --f )
18623 $ac_shift
18624 case $ac_optarg in
18625 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18626 '') as_fn_error $? "missing file argument" ;;
18627 esac
18628 as_fn_append CONFIG_FILES " '$ac_optarg'"
18629 ac_need_defaults=false;;
18630 --header | --heade | --head | --hea )
18631 $ac_shift
18632 case $ac_optarg in
18633 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18634 esac
18635 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18636 ac_need_defaults=false;;
18637 --he | --h)
18638 # Conflict between --help and --header
18639 as_fn_error $? "ambiguous option: \`$1'
18640 Try \`$0 --help' for more information.";;
18641 --help | --hel | -h )
18642 $as_echo "$ac_cs_usage"; exit ;;
18643 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18644 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18645 ac_cs_silent=: ;;
18647 # This is an error.
18648 -*) as_fn_error $? "unrecognized option: \`$1'
18649 Try \`$0 --help' for more information." ;;
18651 *) as_fn_append ac_config_targets " $1"
18652 ac_need_defaults=false ;;
18654 esac
18655 shift
18656 done
18658 ac_configure_extra_args=
18660 if $ac_cs_silent; then
18661 exec 6>/dev/null
18662 ac_configure_extra_args="$ac_configure_extra_args --silent"
18665 _ACEOF
18666 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18667 if \$ac_cs_recheck; then
18668 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18669 shift
18670 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18671 CONFIG_SHELL='$SHELL'
18672 export CONFIG_SHELL
18673 exec "\$@"
18676 _ACEOF
18677 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18678 exec 5>>config.log
18680 echo
18681 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18682 ## Running $as_me. ##
18683 _ASBOX
18684 $as_echo "$ac_log"
18685 } >&5
18687 _ACEOF
18688 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18690 # INIT-COMMANDS
18692 wine_fn_output_makedep ()
18694 as_dir=tools; as_fn_mkdir_p
18695 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18697 wine_fn_output_makefile ()
18699 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18700 `cat $wine_rules_file`
18701 _WINE_EOF
18702 as_fn_error $? "could not create Makefile" "$LINENO" 5
18704 wine_fn_output_gitignore ()
18706 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18707 $GITIGNORE
18708 _WINE_EOF
18709 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18712 _ACEOF
18714 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18716 # Handling of arguments.
18717 for ac_config_target in $ac_config_targets
18719 case $ac_config_target in
18720 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18721 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
18722 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18723 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18724 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18725 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18726 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18727 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18728 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
18729 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18730 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
18731 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
18732 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18733 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
18735 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18736 esac
18737 done
18740 # If the user did not use the arguments to specify the items to instantiate,
18741 # then the envvar interface is used. Set only those that are not.
18742 # We use the long form for the default assignment because of an extremely
18743 # bizarre bug on SunOS 4.1.3.
18744 if $ac_need_defaults; then
18745 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18746 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18747 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18748 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18751 # Have a temporary directory for convenience. Make it in the build tree
18752 # simply because there is no reason against having it here, and in addition,
18753 # creating and moving files from /tmp can sometimes cause problems.
18754 # Hook for its removal unless debugging.
18755 # Note that there is a small window in which the directory will not be cleaned:
18756 # after its creation but before its name has been assigned to `$tmp'.
18757 $debug ||
18759 tmp= ac_tmp=
18760 trap 'exit_status=$?
18761 : "${ac_tmp:=$tmp}"
18762 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18764 trap 'as_fn_exit 1' 1 2 13 15
18766 # Create a (secure) tmp directory for tmp files.
18769 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18770 test -d "$tmp"
18771 } ||
18773 tmp=./conf$$-$RANDOM
18774 (umask 077 && mkdir "$tmp")
18775 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18776 ac_tmp=$tmp
18778 # Set up the scripts for CONFIG_FILES section.
18779 # No need to generate them if there are no CONFIG_FILES.
18780 # This happens for instance with `./config.status config.h'.
18781 if test -n "$CONFIG_FILES"; then
18784 ac_cr=`echo X | tr X '\015'`
18785 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18786 # But we know of no other shell where ac_cr would be empty at this
18787 # point, so we can use a bashism as a fallback.
18788 if test "x$ac_cr" = x; then
18789 eval ac_cr=\$\'\\r\'
18791 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18792 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18793 ac_cs_awk_cr='\\r'
18794 else
18795 ac_cs_awk_cr=$ac_cr
18798 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18799 _ACEOF
18803 echo "cat >conf$$subs.awk <<_ACEOF" &&
18804 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18805 echo "_ACEOF"
18806 } >conf$$subs.sh ||
18807 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18808 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18809 ac_delim='%!_!# '
18810 for ac_last_try in false false false false false :; do
18811 . ./conf$$subs.sh ||
18812 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18814 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18815 if test $ac_delim_n = $ac_delim_num; then
18816 break
18817 elif $ac_last_try; then
18818 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18819 else
18820 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18822 done
18823 rm -f conf$$subs.sh
18825 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18826 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18827 _ACEOF
18828 sed -n '
18830 s/^/S["/; s/!.*/"]=/
18833 s/^[^!]*!//
18834 :repl
18835 t repl
18836 s/'"$ac_delim"'$//
18837 t delim
18840 s/\(.\{148\}\)..*/\1/
18841 t more1
18842 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18845 b repl
18846 :more1
18847 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18850 s/.\{148\}//
18851 t nl
18852 :delim
18854 s/\(.\{148\}\)..*/\1/
18855 t more2
18856 s/["\\]/\\&/g; s/^/"/; s/$/"/
18859 :more2
18860 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18863 s/.\{148\}//
18864 t delim
18865 ' <conf$$subs.awk | sed '
18866 /^[^""]/{
18868 s/\n//
18870 ' >>$CONFIG_STATUS || ac_write_fail=1
18871 rm -f conf$$subs.awk
18872 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18873 _ACAWK
18874 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18875 for (key in S) S_is_set[key] = 1
18876 FS = "\a"
18880 line = $ 0
18881 nfields = split(line, field, "@")
18882 substed = 0
18883 len = length(field[1])
18884 for (i = 2; i < nfields; i++) {
18885 key = field[i]
18886 keylen = length(key)
18887 if (S_is_set[key]) {
18888 value = S[key]
18889 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18890 len += length(value) + length(field[++i])
18891 substed = 1
18892 } else
18893 len += 1 + keylen
18896 print line
18899 _ACAWK
18900 _ACEOF
18901 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18902 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18903 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18904 else
18906 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18907 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18908 _ACEOF
18910 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18911 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18912 # trailing colons and then remove the whole line if VPATH becomes empty
18913 # (actually we leave an empty line to preserve line numbers).
18914 if test "x$srcdir" = x.; then
18915 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18917 s///
18918 s/^/:/
18919 s/[ ]*$/:/
18920 s/:\$(srcdir):/:/g
18921 s/:\${srcdir}:/:/g
18922 s/:@srcdir@:/:/g
18923 s/^:*//
18924 s/:*$//
18926 s/\(=[ ]*\).*/\1/
18928 s/\n//
18929 s/^[^=]*=[ ]*$//
18933 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18934 fi # test -n "$CONFIG_FILES"
18936 # Set up the scripts for CONFIG_HEADERS section.
18937 # No need to generate them if there are no CONFIG_HEADERS.
18938 # This happens for instance with `./config.status Makefile'.
18939 if test -n "$CONFIG_HEADERS"; then
18940 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18941 BEGIN {
18942 _ACEOF
18944 # Transform confdefs.h into an awk script `defines.awk', embedded as
18945 # here-document in config.status, that substitutes the proper values into
18946 # config.h.in to produce config.h.
18948 # Create a delimiter string that does not exist in confdefs.h, to ease
18949 # handling of long lines.
18950 ac_delim='%!_!# '
18951 for ac_last_try in false false :; do
18952 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18953 if test -z "$ac_tt"; then
18954 break
18955 elif $ac_last_try; then
18956 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18957 else
18958 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18960 done
18962 # For the awk script, D is an array of macro values keyed by name,
18963 # likewise P contains macro parameters if any. Preserve backslash
18964 # newline sequences.
18966 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18967 sed -n '
18968 s/.\{148\}/&'"$ac_delim"'/g
18969 t rset
18970 :rset
18971 s/^[ ]*#[ ]*define[ ][ ]*/ /
18972 t def
18974 :def
18975 s/\\$//
18976 t bsnl
18977 s/["\\]/\\&/g
18978 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18979 D["\1"]=" \3"/p
18980 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18982 :bsnl
18983 s/["\\]/\\&/g
18984 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18985 D["\1"]=" \3\\\\\\n"\\/p
18986 t cont
18987 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18988 t cont
18990 :cont
18992 s/.\{148\}/&'"$ac_delim"'/g
18993 t clear
18994 :clear
18995 s/\\$//
18996 t bsnlc
18997 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18999 :bsnlc
19000 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19001 b cont
19002 ' <confdefs.h | sed '
19003 s/'"$ac_delim"'/"\\\
19004 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19006 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19007 for (key in D) D_is_set[key] = 1
19008 FS = "\a"
19010 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19011 line = \$ 0
19012 split(line, arg, " ")
19013 if (arg[1] == "#") {
19014 defundef = arg[2]
19015 mac1 = arg[3]
19016 } else {
19017 defundef = substr(arg[1], 2)
19018 mac1 = arg[2]
19020 split(mac1, mac2, "(") #)
19021 macro = mac2[1]
19022 prefix = substr(line, 1, index(line, defundef) - 1)
19023 if (D_is_set[macro]) {
19024 # Preserve the white space surrounding the "#".
19025 print prefix "define", macro P[macro] D[macro]
19026 next
19027 } else {
19028 # Replace #undef with comments. This is necessary, for example,
19029 # in the case of _POSIX_SOURCE, which is predefined and required
19030 # on some systems where configure will not decide to define it.
19031 if (defundef == "undef") {
19032 print "/*", prefix defundef, macro, "*/"
19033 next
19037 { print }
19038 _ACAWK
19039 _ACEOF
19040 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19041 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19042 fi # test -n "$CONFIG_HEADERS"
19045 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19046 shift
19047 for ac_tag
19049 case $ac_tag in
19050 :[FHLC]) ac_mode=$ac_tag; continue;;
19051 esac
19052 case $ac_mode$ac_tag in
19053 :[FHL]*:*);;
19054 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19055 :[FH]-) ac_tag=-:-;;
19056 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19057 esac
19058 ac_save_IFS=$IFS
19059 IFS=:
19060 set x $ac_tag
19061 IFS=$ac_save_IFS
19062 shift
19063 ac_file=$1
19064 shift
19066 case $ac_mode in
19067 :L) ac_source=$1;;
19068 :[FH])
19069 ac_file_inputs=
19070 for ac_f
19072 case $ac_f in
19073 -) ac_f="$ac_tmp/stdin";;
19074 *) # Look for the file first in the build tree, then in the source tree
19075 # (if the path is not absolute). The absolute path cannot be DOS-style,
19076 # because $ac_f cannot contain `:'.
19077 test -f "$ac_f" ||
19078 case $ac_f in
19079 [\\/$]*) false;;
19080 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19081 esac ||
19082 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19083 esac
19084 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19085 as_fn_append ac_file_inputs " '$ac_f'"
19086 done
19088 # Let's still pretend it is `configure' which instantiates (i.e., don't
19089 # use $as_me), people would be surprised to read:
19090 # /* config.h. Generated by config.status. */
19091 configure_input='Generated from '`
19092 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19093 `' by configure.'
19094 if test x"$ac_file" != x-; then
19095 configure_input="$ac_file. $configure_input"
19096 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19097 $as_echo "$as_me: creating $ac_file" >&6;}
19099 # Neutralize special characters interpreted by sed in replacement strings.
19100 case $configure_input in #(
19101 *\&* | *\|* | *\\* )
19102 ac_sed_conf_input=`$as_echo "$configure_input" |
19103 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19104 *) ac_sed_conf_input=$configure_input;;
19105 esac
19107 case $ac_tag in
19108 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19109 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19110 esac
19112 esac
19114 ac_dir=`$as_dirname -- "$ac_file" ||
19115 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19116 X"$ac_file" : 'X\(//\)[^/]' \| \
19117 X"$ac_file" : 'X\(//\)$' \| \
19118 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19119 $as_echo X"$ac_file" |
19120 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19121 s//\1/
19124 /^X\(\/\/\)[^/].*/{
19125 s//\1/
19128 /^X\(\/\/\)$/{
19129 s//\1/
19132 /^X\(\/\).*/{
19133 s//\1/
19136 s/.*/./; q'`
19137 as_dir="$ac_dir"; as_fn_mkdir_p
19138 ac_builddir=.
19140 case "$ac_dir" in
19141 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19143 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19144 # A ".." for each directory in $ac_dir_suffix.
19145 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19146 case $ac_top_builddir_sub in
19147 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19148 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19149 esac ;;
19150 esac
19151 ac_abs_top_builddir=$ac_pwd
19152 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19153 # for backward compatibility:
19154 ac_top_builddir=$ac_top_build_prefix
19156 case $srcdir in
19157 .) # We are building in place.
19158 ac_srcdir=.
19159 ac_top_srcdir=$ac_top_builddir_sub
19160 ac_abs_top_srcdir=$ac_pwd ;;
19161 [\\/]* | ?:[\\/]* ) # Absolute name.
19162 ac_srcdir=$srcdir$ac_dir_suffix;
19163 ac_top_srcdir=$srcdir
19164 ac_abs_top_srcdir=$srcdir ;;
19165 *) # Relative name.
19166 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19167 ac_top_srcdir=$ac_top_build_prefix$srcdir
19168 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19169 esac
19170 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19173 case $ac_mode in
19176 # CONFIG_FILE
19179 _ACEOF
19181 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19182 # If the template does not know about datarootdir, expand it.
19183 # FIXME: This hack should be removed a few years after 2.60.
19184 ac_datarootdir_hack=; ac_datarootdir_seen=
19185 ac_sed_dataroot='
19186 /datarootdir/ {
19190 /@datadir@/p
19191 /@docdir@/p
19192 /@infodir@/p
19193 /@localedir@/p
19194 /@mandir@/p'
19195 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19196 *datarootdir*) ac_datarootdir_seen=yes;;
19197 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19198 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19199 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19200 _ACEOF
19201 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19202 ac_datarootdir_hack='
19203 s&@datadir@&$datadir&g
19204 s&@docdir@&$docdir&g
19205 s&@infodir@&$infodir&g
19206 s&@localedir@&$localedir&g
19207 s&@mandir@&$mandir&g
19208 s&\\\${datarootdir}&$datarootdir&g' ;;
19209 esac
19210 _ACEOF
19212 # Neutralize VPATH when `$srcdir' = `.'.
19213 # Shell code in configure.ac might set extrasub.
19214 # FIXME: do we really want to maintain this feature?
19215 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19216 ac_sed_extra="$ac_vpsub
19217 $extrasub
19218 _ACEOF
19219 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19221 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19222 s|@configure_input@|$ac_sed_conf_input|;t t
19223 s&@top_builddir@&$ac_top_builddir_sub&;t t
19224 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19225 s&@srcdir@&$ac_srcdir&;t t
19226 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19227 s&@top_srcdir@&$ac_top_srcdir&;t t
19228 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19229 s&@builddir@&$ac_builddir&;t t
19230 s&@abs_builddir@&$ac_abs_builddir&;t t
19231 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19232 $ac_datarootdir_hack
19234 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19235 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19237 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19238 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19239 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19240 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19241 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19242 which seems to be undefined. Please make sure it is defined" >&5
19243 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19244 which seems to be undefined. Please make sure it is defined" >&2;}
19246 rm -f "$ac_tmp/stdin"
19247 case $ac_file in
19248 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19249 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19250 esac \
19251 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19255 # CONFIG_HEADER
19257 if test x"$ac_file" != x-; then
19259 $as_echo "/* $configure_input */" \
19260 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19261 } >"$ac_tmp/config.h" \
19262 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19263 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19264 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19265 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19266 else
19267 rm -f "$ac_file"
19268 mv "$ac_tmp/config.h" "$ac_file" \
19269 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19271 else
19272 $as_echo "/* $configure_input */" \
19273 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19274 || as_fn_error $? "could not create -" "$LINENO" 5
19279 # CONFIG_LINK
19282 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19284 else
19285 # Prefer the file from the source tree if names are identical.
19286 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19287 ac_source=$srcdir/$ac_source
19290 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19291 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19293 if test ! -r "$ac_source"; then
19294 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19296 rm -f "$ac_file"
19298 # Try a relative symlink, then a hard link, then a copy.
19299 case $ac_source in
19300 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19301 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19302 esac
19303 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19304 ln "$ac_source" "$ac_file" 2>/dev/null ||
19305 cp -p "$ac_source" "$ac_file" ||
19306 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19309 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19310 $as_echo "$as_me: executing $ac_file commands" >&6;}
19312 esac
19315 case $ac_file$ac_mode in
19316 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19317 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19318 "Makefile":C) wine_fn_output_makefile Makefile ;;
19319 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19321 esac
19322 done # for ac_tag
19325 as_fn_exit 0
19326 _ACEOF
19327 ac_clean_files=$ac_clean_files_save
19329 test $ac_write_fail = 0 ||
19330 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19333 # configure is writing to config.log, and then calls config.status.
19334 # config.status does its own redirection, appending to config.log.
19335 # Unfortunately, on DOS this fails, as config.log is still kept open
19336 # by configure, so config.status won't be able to write to it; its
19337 # output is simply discarded. So we exec the FD to /dev/null,
19338 # effectively closing config.log, so it can be properly (re)opened and
19339 # appended to by config.status. When coming back to configure, we
19340 # need to make the FD available again.
19341 if test "$no_create" != yes; then
19342 ac_cs_success=:
19343 ac_config_status_args=
19344 test "$silent" = yes &&
19345 ac_config_status_args="$ac_config_status_args --quiet"
19346 exec 5>/dev/null
19347 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19348 exec 5>>config.log
19349 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19350 # would make configure fail if this is the last instruction.
19351 $ac_cs_success || as_fn_exit 1
19353 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19354 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19355 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19359 if test "$no_create" = "yes"
19360 then
19361 exit 0
19364 ac_save_IFS="$IFS"
19365 if test "x$wine_notices != "x; then
19366 echo >&6
19367 IFS="|"
19368 for msg in $wine_notices; do
19369 IFS="$ac_save_IFS"
19370 if ${msg:+false} :; then :
19372 else
19373 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19374 $as_echo "$as_me: $msg" >&6;}
19376 done
19378 IFS="|"
19379 for msg in $wine_warnings; do
19380 IFS="$ac_save_IFS"
19381 if ${msg:+false} :; then :
19383 else
19384 echo >&2
19385 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19386 $as_echo "$as_me: WARNING: $msg" >&2;}
19388 done
19389 IFS="$ac_save_IFS"
19391 $as_echo "
19392 $as_me: Finished. Do '${ac_make}' to compile Wine.
19393 " >&6