configure: Use more user-friendly names for subdirectory targets.
[wine.git] / configure
blobf3c9b5f69d5040583d7961483d7034dbcdd79434
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.3.
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.3'
584 PACKAGE_STRING='Wine 1.7.3'
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 PORCFLAGS
628 LINGUAS
629 ALL_TEST_RESOURCES
630 LDAPLIBS
631 LIBRT
632 LIBPOLL
633 LIBDL
634 TOOLSEXT
635 UNWINDFLAGS
636 BUILTINFLAG
637 EXTRACFLAGS
638 LIBPROCSTAT
639 LIBKSTAT
640 LIBOPENAL
641 MPG123_LIBS
642 MPG123_CFLAGS
643 TIFF_LIBS
644 TIFF_CFLAGS
645 PNG_LIBS
646 PNG_CFLAGS
647 JPEG_LIBS
648 JPEG_CFLAGS
649 FONTCONFIGINCL
650 CUPSINCL
651 CAPI20_LIBS
652 CAPI20_CFLAGS
653 OSS4INCL
654 ALSALIBS
655 GSTREAMER_LIBS
656 GSTREAMER_CFLAGS
657 LIBGETTEXTPO
658 ZLIB
659 FREETYPE_LIBS
660 FREETYPE_CFLAGS
661 LCMS2_LIBS
662 LCMS2_CFLAGS
663 RESOLVLIBS
664 GPHOTO2_PORT_LIBS
665 GPHOTO2_PORT_CFLAGS
666 GPHOTO2_LIBS
667 GPHOTO2_CFLAGS
668 SANE_LIBS
669 SANE_CFLAGS
670 GNUTLS_LIBS
671 GNUTLS_CFLAGS
672 HAL_LIBS
673 HAL_CFLAGS
674 DBUS_LIBS
675 DBUS_CFLAGS
676 XSLT_LIBS
677 XSLT_CFLAGS
678 XML2_LIBS
679 XML2_CFLAGS
680 X_EXTRA_LIBS
681 X_LIBS
682 X_PRE_LIBS
683 X_CFLAGS
684 XMKMF
685 LIBPTHREAD
686 CROSSTARGET
687 CROSSCC
688 CROSSTEST_DISABLE
689 PRELINK
690 CARBONLIB
691 QUICKTIMELIB
692 LIBOPENCL
693 FRAMEWORK_OPENAL
694 COREAUDIO
695 SECURITYLIB
696 DISKARBITRATIONLIB
697 APPKITLIB
698 CORESERVICESLIB
699 APPLICATIONSERVICESLIB
700 FORCEFEEDBACKLIB
701 IOKITLIB
702 COREFOUNDATIONLIB
703 LIBWINE_RULES
704 SOCKETLIBS
705 DLLTOOL
706 LOADER_RULES
707 READELF
709 LDRPATH_LOCAL
710 LDRPATH_INSTALL
711 IMPLIBEXT
712 DLLFLAGS
713 DLLPREFIX
714 DLLEXT
715 dlldir
717 OPENGL_LIBS
718 XLIB
719 MAINTAINER_MODE
720 PKG_CONFIG
721 MSGFMT
722 ICOTOOL
723 CONVERT
724 RSVG
725 FONTFORGE
726 LINTFLAGS
727 LINT
728 INSTALL_DATA
729 INSTALL_SCRIPT
730 INSTALL_PROGRAM
731 LDCONFIG
732 MKDIR_P
733 EGREP
734 GREP
735 LN_S
736 RANLIB
737 ARFLAGS
738 STRIP
739 ac_ct_AR
741 BISON
742 FLEX
743 TOOLSDIR
744 WOW64_DISABLE
745 TARGETFLAGS
746 CPPBIN
747 ac_ct_CXX
748 CXXFLAGS
750 OBJEXT
751 EXEEXT
752 ac_ct_CC
753 CPPFLAGS
754 LDFLAGS
755 CFLAGS
757 SET_MAKE
758 host_os
759 host_vendor
760 host_cpu
761 host
762 build_os
763 build_vendor
764 build_cpu
765 build
766 target_alias
767 host_alias
768 build_alias
769 LIBS
770 ECHO_T
771 ECHO_N
772 ECHO_C
773 DEFS
774 mandir
775 localedir
776 libdir
777 psdir
778 pdfdir
779 dvidir
780 htmldir
781 infodir
782 docdir
783 oldincludedir
784 includedir
785 localstatedir
786 sharedstatedir
787 sysconfdir
788 datadir
789 datarootdir
790 libexecdir
791 sbindir
792 bindir
793 program_transform_name
794 prefix
795 exec_prefix
796 PACKAGE_URL
797 PACKAGE_BUGREPORT
798 PACKAGE_STRING
799 PACKAGE_VERSION
800 PACKAGE_TARNAME
801 PACKAGE_NAME
802 PATH_SEPARATOR
803 SHELL'
804 ac_subst_files='MAKE_RULES
805 MAKE_TEST_RULES
806 MAKE_DLL_RULES
807 MAKE_IMPLIB_RULES
808 MAKE_PROG_RULES'
809 ac_user_opts='
810 enable_option_checking
811 enable_win16
812 enable_win64
813 enable_tests
814 enable_maintainer_mode
815 with_alsa
816 with_capi
817 with_cms
818 with_coreaudio
819 with_cups
820 with_curses
821 with_dbus
822 with_fontconfig
823 with_freetype
824 with_gettext
825 with_gettextpo
826 with_gphoto
827 with_glu
828 with_gnutls
829 with_gsm
830 with_gstreamer
831 with_hal
832 with_jpeg
833 with_ldap
834 with_mpg123
835 with_openal
836 with_opencl
837 with_opengl
838 with_osmesa
839 with_oss
840 with_png
841 with_pthread
842 with_sane
843 with_tiff
844 with_v4l
845 with_xcomposite
846 with_xcursor
847 with_xinerama
848 with_xinput
849 with_xinput2
850 with_xml
851 with_xrandr
852 with_xrender
853 with_xshape
854 with_xshm
855 with_xslt
856 with_xxf86vm
857 with_zlib
858 with_wine_tools
859 with_wine64
860 enable_largefile
861 with_x
862 enable_acledit
863 enable_aclui
864 enable_activeds
865 enable_actxprxy
866 enable_advapi32
867 enable_advpack
868 enable_amstream
869 enable_api_ms_win_core_localregistry_l1_1_0
870 enable_api_ms_win_core_processthreads_l1_1_0
871 enable_api_ms_win_core_winrt_error_l1_1_0
872 enable_api_ms_win_core_winrt_string_l1_1_0
873 enable_api_ms_win_downlevel_advapi32_l1_1_0
874 enable_api_ms_win_downlevel_advapi32_l2_1_0
875 enable_api_ms_win_downlevel_normaliz_l1_1_0
876 enable_api_ms_win_downlevel_ole32_l1_1_0
877 enable_api_ms_win_downlevel_shell32_l1_1_0
878 enable_api_ms_win_downlevel_shlwapi_l1_1_0
879 enable_api_ms_win_downlevel_shlwapi_l2_1_0
880 enable_api_ms_win_downlevel_user32_l1_1_0
881 enable_api_ms_win_downlevel_version_l1_1_0
882 enable_api_ms_win_security_base_l1_1_0
883 enable_apphelp
884 enable_appwiz_cpl
885 enable_atl
886 enable_atl100
887 enable_atl110
888 enable_atl80
889 enable_authz
890 enable_avicap32
891 enable_avifil32
892 enable_avrt
893 enable_bcrypt
894 enable_browseui
895 enable_cabinet
896 enable_capi2032
897 enable_cards
898 enable_cfgmgr32
899 enable_clusapi
900 enable_comcat
901 enable_comctl32
902 enable_comdlg32
903 enable_compstui
904 enable_comsvcs
905 enable_credui
906 enable_crtdll
907 enable_crypt32
908 enable_cryptdlg
909 enable_cryptdll
910 enable_cryptnet
911 enable_cryptui
912 enable_ctapi32
913 enable_ctl3d32
914 enable_d3d10
915 enable_d3d10core
916 enable_d3d11
917 enable_d3d8
918 enable_d3d9
919 enable_d3dcompiler_33
920 enable_d3dcompiler_34
921 enable_d3dcompiler_35
922 enable_d3dcompiler_36
923 enable_d3dcompiler_37
924 enable_d3dcompiler_38
925 enable_d3dcompiler_39
926 enable_d3dcompiler_40
927 enable_d3dcompiler_41
928 enable_d3dcompiler_42
929 enable_d3dcompiler_43
930 enable_d3dim
931 enable_d3drm
932 enable_d3dx10_33
933 enable_d3dx10_34
934 enable_d3dx10_35
935 enable_d3dx10_36
936 enable_d3dx10_37
937 enable_d3dx10_38
938 enable_d3dx10_39
939 enable_d3dx10_40
940 enable_d3dx10_41
941 enable_d3dx10_42
942 enable_d3dx10_43
943 enable_d3dx11_42
944 enable_d3dx11_43
945 enable_d3dx9_24
946 enable_d3dx9_25
947 enable_d3dx9_26
948 enable_d3dx9_27
949 enable_d3dx9_28
950 enable_d3dx9_29
951 enable_d3dx9_30
952 enable_d3dx9_31
953 enable_d3dx9_32
954 enable_d3dx9_33
955 enable_d3dx9_34
956 enable_d3dx9_35
957 enable_d3dx9_36
958 enable_d3dx9_37
959 enable_d3dx9_38
960 enable_d3dx9_39
961 enable_d3dx9_40
962 enable_d3dx9_41
963 enable_d3dx9_42
964 enable_d3dx9_43
965 enable_d3dxof
966 enable_dbgeng
967 enable_dbghelp
968 enable_dciman32
969 enable_ddraw
970 enable_ddrawex
971 enable_devenum
972 enable_dhcpcsvc
973 enable_difxapi
974 enable_dinput
975 enable_dinput8
976 enable_dispex
977 enable_dmband
978 enable_dmcompos
979 enable_dmime
980 enable_dmloader
981 enable_dmscript
982 enable_dmstyle
983 enable_dmsynth
984 enable_dmusic
985 enable_dmusic32
986 enable_dnsapi
987 enable_dplay
988 enable_dplayx
989 enable_dpnaddr
990 enable_dpnet
991 enable_dpnhpast
992 enable_dpnlobby
993 enable_dpwsockx
994 enable_drmclien
995 enable_dsound
996 enable_dssenh
997 enable_dswave
998 enable_dwmapi
999 enable_dwrite
1000 enable_dxdiagn
1001 enable_dxgi
1002 enable_explorerframe
1003 enable_faultrep
1004 enable_fltlib
1005 enable_fusion
1006 enable_fwpuclnt
1007 enable_gameux
1008 enable_gdi32
1009 enable_gdiplus
1010 enable_glu32
1011 enable_gphoto2_ds
1012 enable_gpkcsp
1013 enable_hal
1014 enable_hhctrl_ocx
1015 enable_hid
1016 enable_hlink
1017 enable_hnetcfg
1018 enable_httpapi
1019 enable_iccvid
1020 enable_icmp
1021 enable_ieframe
1022 enable_imaadp32_acm
1023 enable_imagehlp
1024 enable_imm32
1025 enable_inetcomm
1026 enable_inetcpl_cpl
1027 enable_inetmib1
1028 enable_infosoft
1029 enable_initpki
1030 enable_inkobj
1031 enable_inseng
1032 enable_iphlpapi
1033 enable_itircl
1034 enable_itss
1035 enable_joy_cpl
1036 enable_jscript
1037 enable_kernel32
1038 enable_ktmw32
1039 enable_loadperf
1040 enable_localspl
1041 enable_localui
1042 enable_lz32
1043 enable_mapi32
1044 enable_mapistub
1045 enable_mciavi32
1046 enable_mcicda
1047 enable_mciqtz32
1048 enable_mciseq
1049 enable_mciwave
1050 enable_mgmtapi
1051 enable_midimap
1052 enable_mlang
1053 enable_mmcndmgr
1054 enable_mmdevapi
1055 enable_mountmgr_sys
1056 enable_mpr
1057 enable_mprapi
1058 enable_msacm32_drv
1059 enable_msacm32
1060 enable_msadp32_acm
1061 enable_mscat32
1062 enable_mscms
1063 enable_mscoree
1064 enable_msctf
1065 enable_msdaps
1066 enable_msdmo
1067 enable_msftedit
1068 enable_msg711_acm
1069 enable_msgsm32_acm
1070 enable_mshtml_tlb
1071 enable_mshtml
1072 enable_msi
1073 enable_msident
1074 enable_msimg32
1075 enable_msimsg
1076 enable_msimtf
1077 enable_msisip
1078 enable_msisys_ocx
1079 enable_msls31
1080 enable_msnet32
1081 enable_mspatcha
1082 enable_msrle32
1083 enable_mssign32
1084 enable_mssip32
1085 enable_mstask
1086 enable_msvcirt
1087 enable_msvcm80
1088 enable_msvcm90
1089 enable_msvcp100
1090 enable_msvcp110
1091 enable_msvcp60
1092 enable_msvcp70
1093 enable_msvcp71
1094 enable_msvcp80
1095 enable_msvcp90
1096 enable_msvcr100
1097 enable_msvcr110
1098 enable_msvcr70
1099 enable_msvcr71
1100 enable_msvcr80
1101 enable_msvcr90
1102 enable_msvcrt
1103 enable_msvcrt20
1104 enable_msvcrt40
1105 enable_msvcrtd
1106 enable_msvfw32
1107 enable_msvidc32
1108 enable_mswsock
1109 enable_msxml
1110 enable_msxml2
1111 enable_msxml3
1112 enable_msxml4
1113 enable_msxml6
1114 enable_nddeapi
1115 enable_netapi32
1116 enable_netcfgx
1117 enable_newdev
1118 enable_normaliz
1119 enable_npmshtml
1120 enable_ntdll
1121 enable_ntdsapi
1122 enable_ntoskrnl_exe
1123 enable_ntprint
1124 enable_objsel
1125 enable_odbc32
1126 enable_odbccp32
1127 enable_odbccu32
1128 enable_ole32
1129 enable_oleacc
1130 enable_oleaut32
1131 enable_olecli32
1132 enable_oledb32
1133 enable_oledlg
1134 enable_olepro32
1135 enable_olesvr32
1136 enable_olethk32
1137 enable_openal32
1138 enable_opencl
1139 enable_opengl32
1140 enable_pdh
1141 enable_photometadatahandler
1142 enable_pidgen
1143 enable_powrprof
1144 enable_printui
1145 enable_propsys
1146 enable_psapi
1147 enable_pstorec
1148 enable_qcap
1149 enable_qedit
1150 enable_qmgr
1151 enable_qmgrprxy
1152 enable_quartz
1153 enable_query
1154 enable_rasapi32
1155 enable_rasdlg
1156 enable_regapi
1157 enable_resutils
1158 enable_riched20
1159 enable_riched32
1160 enable_rpcrt4
1161 enable_rsabase
1162 enable_rsaenh
1163 enable_rstrtmgr
1164 enable_rtutils
1165 enable_samlib
1166 enable_sane_ds
1167 enable_scarddlg
1168 enable_sccbase
1169 enable_schannel
1170 enable_scrrun
1171 enable_scsiport_sys
1172 enable_secur32
1173 enable_security
1174 enable_sensapi
1175 enable_serialui
1176 enable_setupapi
1177 enable_sfc
1178 enable_sfc_os
1179 enable_shdoclc
1180 enable_shdocvw
1181 enable_shell32
1182 enable_shfolder
1183 enable_shlwapi
1184 enable_slbcsp
1185 enable_slc
1186 enable_snmpapi
1187 enable_softpub
1188 enable_spoolss
1189 enable_stdole2_tlb
1190 enable_stdole32_tlb
1191 enable_sti
1192 enable_svrapi
1193 enable_sxs
1194 enable_t2embed
1195 enable_tapi32
1196 enable_traffic
1197 enable_twain_32
1198 enable_unicows
1199 enable_updspapi
1200 enable_url
1201 enable_urlmon
1202 enable_usbd_sys
1203 enable_user32
1204 enable_userenv
1205 enable_usp10
1206 enable_uxtheme
1207 enable_vbscript
1208 enable_vcomp
1209 enable_vcomp100
1210 enable_vcomp90
1211 enable_vdmdbg
1212 enable_version
1213 enable_wbemdisp
1214 enable_wbemprox
1215 enable_webservices
1216 enable_wer
1217 enable_wevtapi
1218 enable_wiaservc
1219 enable_windowscodecs
1220 enable_windowscodecsext
1221 enable_winealsa_drv
1222 enable_winecoreaudio_drv
1223 enable_wined3d
1224 enable_winegstreamer
1225 enable_winejoystick_drv
1226 enable_winemac_drv
1227 enable_winemapi
1228 enable_winemp3_acm
1229 enable_wineoss_drv
1230 enable_wineps_drv
1231 enable_wineqtdecoder
1232 enable_winex11_drv
1233 enable_wing32
1234 enable_winhttp
1235 enable_wininet
1236 enable_winmm
1237 enable_winnls32
1238 enable_winscard
1239 enable_winspool_drv
1240 enable_winsta
1241 enable_wintab32
1242 enable_wintrust
1243 enable_wlanapi
1244 enable_wldap32
1245 enable_wmi
1246 enable_wmiutils
1247 enable_wmvcore
1248 enable_wnaspi32
1249 enable_ws2_32
1250 enable_wshom_ocx
1251 enable_wsnmp32
1252 enable_wsock32
1253 enable_wtsapi32
1254 enable_wuapi
1255 enable_wuaueng
1256 enable_xapofx1_1
1257 enable_xinput1_1
1258 enable_xinput1_2
1259 enable_xinput1_3
1260 enable_xinput1_4
1261 enable_xinput9_1_0
1262 enable_xmllite
1263 enable_xolehlp
1264 enable_xpsprint
1265 enable_xpssvcs
1266 enable_documentation
1267 enable_fonts
1268 enable_include
1269 enable_libs_port
1270 enable_libs_wine
1271 enable_libs_wpp
1272 enable_loader
1273 enable_aspnet_regiis
1274 enable_attrib
1275 enable_cabarc
1276 enable_cacls
1277 enable_clock
1278 enable_cmd
1279 enable_conhost
1280 enable_control
1281 enable_cscript
1282 enable_dxdiag
1283 enable_eject
1284 enable_expand
1285 enable_explorer
1286 enable_extrac32
1287 enable_findstr
1288 enable_hh
1289 enable_hostname
1290 enable_icinfo
1291 enable_iexplore
1292 enable_ipconfig
1293 enable_lodctr
1294 enable_mofcomp
1295 enable_mshta
1296 enable_msiexec
1297 enable_net
1298 enable_netsh
1299 enable_netstat
1300 enable_ngen
1301 enable_notepad
1302 enable_oleview
1303 enable_ping
1304 enable_plugplay
1305 enable_presentationfontcache
1306 enable_progman
1307 enable_reg
1308 enable_regasm
1309 enable_regedit
1310 enable_regsvcs
1311 enable_regsvr32
1312 enable_rpcss
1313 enable_rundll32
1314 enable_sc
1315 enable_schtasks
1316 enable_secedit
1317 enable_servicemodelreg
1318 enable_services
1319 enable_spoolsv
1320 enable_start
1321 enable_svchost
1322 enable_taskkill
1323 enable_tasklist
1324 enable_taskmgr
1325 enable_termsv
1326 enable_uninstaller
1327 enable_unlodctr
1328 enable_view
1329 enable_wineboot
1330 enable_winebrowser
1331 enable_winecfg
1332 enable_wineconsole
1333 enable_winedbg
1334 enable_winedevice
1335 enable_winefile
1336 enable_winemenubuilder
1337 enable_winemine
1338 enable_winemsibuilder
1339 enable_winepath
1340 enable_winetest
1341 enable_winhlp32
1342 enable_winver
1343 enable_wmic
1344 enable_wordpad
1345 enable_write
1346 enable_wscript
1347 enable_wusa
1348 enable_xcopy
1349 enable_server
1350 enable_tools
1352 ac_precious_vars='build_alias
1353 host_alias
1354 target_alias
1356 CFLAGS
1357 LDFLAGS
1358 LIBS
1359 CPPFLAGS
1361 CXXFLAGS
1364 XMKMF
1365 XML2_CFLAGS
1366 XML2_LIBS
1367 XSLT_CFLAGS
1368 XSLT_LIBS
1369 DBUS_CFLAGS
1370 DBUS_LIBS
1371 HAL_CFLAGS
1372 HAL_LIBS
1373 GNUTLS_CFLAGS
1374 GNUTLS_LIBS
1375 SANE_CFLAGS
1376 SANE_LIBS
1377 GPHOTO2_CFLAGS
1378 GPHOTO2_LIBS
1379 GPHOTO2_PORT_CFLAGS
1380 GPHOTO2_PORT_LIBS
1381 LCMS2_CFLAGS
1382 LCMS2_LIBS
1383 FREETYPE_CFLAGS
1384 FREETYPE_LIBS
1385 GSTREAMER_CFLAGS
1386 GSTREAMER_LIBS
1387 CAPI20_CFLAGS
1388 CAPI20_LIBS
1389 JPEG_CFLAGS
1390 JPEG_LIBS
1391 PNG_CFLAGS
1392 PNG_LIBS
1393 TIFF_CFLAGS
1394 TIFF_LIBS
1395 MPG123_CFLAGS
1396 MPG123_LIBS'
1399 # Initialize some variables set by options.
1400 ac_init_help=
1401 ac_init_version=false
1402 ac_unrecognized_opts=
1403 ac_unrecognized_sep=
1404 # The variables have the same names as the options, with
1405 # dashes changed to underlines.
1406 cache_file=/dev/null
1407 exec_prefix=NONE
1408 no_create=
1409 no_recursion=
1410 prefix=NONE
1411 program_prefix=NONE
1412 program_suffix=NONE
1413 program_transform_name=s,x,x,
1414 silent=
1415 site=
1416 srcdir=
1417 verbose=
1418 x_includes=NONE
1419 x_libraries=NONE
1421 # Installation directory options.
1422 # These are left unexpanded so users can "make install exec_prefix=/foo"
1423 # and all the variables that are supposed to be based on exec_prefix
1424 # by default will actually change.
1425 # Use braces instead of parens because sh, perl, etc. also accept them.
1426 # (The list follows the same order as the GNU Coding Standards.)
1427 bindir='${exec_prefix}/bin'
1428 sbindir='${exec_prefix}/sbin'
1429 libexecdir='${exec_prefix}/libexec'
1430 datarootdir='${prefix}/share'
1431 datadir='${datarootdir}'
1432 sysconfdir='${prefix}/etc'
1433 sharedstatedir='${prefix}/com'
1434 localstatedir='${prefix}/var'
1435 includedir='${prefix}/include'
1436 oldincludedir='/usr/include'
1437 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1438 infodir='${datarootdir}/info'
1439 htmldir='${docdir}'
1440 dvidir='${docdir}'
1441 pdfdir='${docdir}'
1442 psdir='${docdir}'
1443 libdir='${exec_prefix}/lib'
1444 localedir='${datarootdir}/locale'
1445 mandir='${datarootdir}/man'
1447 ac_prev=
1448 ac_dashdash=
1449 for ac_option
1451 # If the previous option needs an argument, assign it.
1452 if test -n "$ac_prev"; then
1453 eval $ac_prev=\$ac_option
1454 ac_prev=
1455 continue
1458 case $ac_option in
1459 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1460 *=) ac_optarg= ;;
1461 *) ac_optarg=yes ;;
1462 esac
1464 # Accept the important Cygnus configure options, so we can diagnose typos.
1466 case $ac_dashdash$ac_option in
1468 ac_dashdash=yes ;;
1470 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1471 ac_prev=bindir ;;
1472 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1473 bindir=$ac_optarg ;;
1475 -build | --build | --buil | --bui | --bu)
1476 ac_prev=build_alias ;;
1477 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1478 build_alias=$ac_optarg ;;
1480 -cache-file | --cache-file | --cache-fil | --cache-fi \
1481 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1482 ac_prev=cache_file ;;
1483 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1484 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1485 cache_file=$ac_optarg ;;
1487 --config-cache | -C)
1488 cache_file=config.cache ;;
1490 -datadir | --datadir | --datadi | --datad)
1491 ac_prev=datadir ;;
1492 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1493 datadir=$ac_optarg ;;
1495 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1496 | --dataroo | --dataro | --datar)
1497 ac_prev=datarootdir ;;
1498 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1499 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1500 datarootdir=$ac_optarg ;;
1502 -disable-* | --disable-*)
1503 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1504 # Reject names that are not valid shell variable names.
1505 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1506 as_fn_error $? "invalid feature name: $ac_useropt"
1507 ac_useropt_orig=$ac_useropt
1508 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1509 case $ac_user_opts in
1511 "enable_$ac_useropt"
1512 "*) ;;
1513 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1514 ac_unrecognized_sep=', ';;
1515 esac
1516 eval enable_$ac_useropt=no ;;
1518 -docdir | --docdir | --docdi | --doc | --do)
1519 ac_prev=docdir ;;
1520 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1521 docdir=$ac_optarg ;;
1523 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1524 ac_prev=dvidir ;;
1525 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1526 dvidir=$ac_optarg ;;
1528 -enable-* | --enable-*)
1529 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1530 # Reject names that are not valid shell variable names.
1531 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1532 as_fn_error $? "invalid feature name: $ac_useropt"
1533 ac_useropt_orig=$ac_useropt
1534 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1535 case $ac_user_opts in
1537 "enable_$ac_useropt"
1538 "*) ;;
1539 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1540 ac_unrecognized_sep=', ';;
1541 esac
1542 eval enable_$ac_useropt=\$ac_optarg ;;
1544 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1545 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1546 | --exec | --exe | --ex)
1547 ac_prev=exec_prefix ;;
1548 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1549 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1550 | --exec=* | --exe=* | --ex=*)
1551 exec_prefix=$ac_optarg ;;
1553 -gas | --gas | --ga | --g)
1554 # Obsolete; use --with-gas.
1555 with_gas=yes ;;
1557 -help | --help | --hel | --he | -h)
1558 ac_init_help=long ;;
1559 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1560 ac_init_help=recursive ;;
1561 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1562 ac_init_help=short ;;
1564 -host | --host | --hos | --ho)
1565 ac_prev=host_alias ;;
1566 -host=* | --host=* | --hos=* | --ho=*)
1567 host_alias=$ac_optarg ;;
1569 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1570 ac_prev=htmldir ;;
1571 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1572 | --ht=*)
1573 htmldir=$ac_optarg ;;
1575 -includedir | --includedir | --includedi | --included | --include \
1576 | --includ | --inclu | --incl | --inc)
1577 ac_prev=includedir ;;
1578 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1579 | --includ=* | --inclu=* | --incl=* | --inc=*)
1580 includedir=$ac_optarg ;;
1582 -infodir | --infodir | --infodi | --infod | --info | --inf)
1583 ac_prev=infodir ;;
1584 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1585 infodir=$ac_optarg ;;
1587 -libdir | --libdir | --libdi | --libd)
1588 ac_prev=libdir ;;
1589 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1590 libdir=$ac_optarg ;;
1592 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1593 | --libexe | --libex | --libe)
1594 ac_prev=libexecdir ;;
1595 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1596 | --libexe=* | --libex=* | --libe=*)
1597 libexecdir=$ac_optarg ;;
1599 -localedir | --localedir | --localedi | --localed | --locale)
1600 ac_prev=localedir ;;
1601 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1602 localedir=$ac_optarg ;;
1604 -localstatedir | --localstatedir | --localstatedi | --localstated \
1605 | --localstate | --localstat | --localsta | --localst | --locals)
1606 ac_prev=localstatedir ;;
1607 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1608 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1609 localstatedir=$ac_optarg ;;
1611 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1612 ac_prev=mandir ;;
1613 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1614 mandir=$ac_optarg ;;
1616 -nfp | --nfp | --nf)
1617 # Obsolete; use --without-fp.
1618 with_fp=no ;;
1620 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1621 | --no-cr | --no-c | -n)
1622 no_create=yes ;;
1624 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1625 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1626 no_recursion=yes ;;
1628 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1629 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1630 | --oldin | --oldi | --old | --ol | --o)
1631 ac_prev=oldincludedir ;;
1632 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1633 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1634 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1635 oldincludedir=$ac_optarg ;;
1637 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1638 ac_prev=prefix ;;
1639 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1640 prefix=$ac_optarg ;;
1642 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1643 | --program-pre | --program-pr | --program-p)
1644 ac_prev=program_prefix ;;
1645 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1646 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1647 program_prefix=$ac_optarg ;;
1649 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1650 | --program-suf | --program-su | --program-s)
1651 ac_prev=program_suffix ;;
1652 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1653 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1654 program_suffix=$ac_optarg ;;
1656 -program-transform-name | --program-transform-name \
1657 | --program-transform-nam | --program-transform-na \
1658 | --program-transform-n | --program-transform- \
1659 | --program-transform | --program-transfor \
1660 | --program-transfo | --program-transf \
1661 | --program-trans | --program-tran \
1662 | --progr-tra | --program-tr | --program-t)
1663 ac_prev=program_transform_name ;;
1664 -program-transform-name=* | --program-transform-name=* \
1665 | --program-transform-nam=* | --program-transform-na=* \
1666 | --program-transform-n=* | --program-transform-=* \
1667 | --program-transform=* | --program-transfor=* \
1668 | --program-transfo=* | --program-transf=* \
1669 | --program-trans=* | --program-tran=* \
1670 | --progr-tra=* | --program-tr=* | --program-t=*)
1671 program_transform_name=$ac_optarg ;;
1673 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1674 ac_prev=pdfdir ;;
1675 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1676 pdfdir=$ac_optarg ;;
1678 -psdir | --psdir | --psdi | --psd | --ps)
1679 ac_prev=psdir ;;
1680 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1681 psdir=$ac_optarg ;;
1683 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1684 | -silent | --silent | --silen | --sile | --sil)
1685 silent=yes ;;
1687 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1688 ac_prev=sbindir ;;
1689 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1690 | --sbi=* | --sb=*)
1691 sbindir=$ac_optarg ;;
1693 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1694 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1695 | --sharedst | --shareds | --shared | --share | --shar \
1696 | --sha | --sh)
1697 ac_prev=sharedstatedir ;;
1698 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1699 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1700 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1701 | --sha=* | --sh=*)
1702 sharedstatedir=$ac_optarg ;;
1704 -site | --site | --sit)
1705 ac_prev=site ;;
1706 -site=* | --site=* | --sit=*)
1707 site=$ac_optarg ;;
1709 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1710 ac_prev=srcdir ;;
1711 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1712 srcdir=$ac_optarg ;;
1714 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1715 | --syscon | --sysco | --sysc | --sys | --sy)
1716 ac_prev=sysconfdir ;;
1717 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1718 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1719 sysconfdir=$ac_optarg ;;
1721 -target | --target | --targe | --targ | --tar | --ta | --t)
1722 ac_prev=target_alias ;;
1723 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1724 target_alias=$ac_optarg ;;
1726 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1727 verbose=yes ;;
1729 -version | --version | --versio | --versi | --vers | -V)
1730 ac_init_version=: ;;
1732 -with-* | --with-*)
1733 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1734 # Reject names that are not valid shell variable names.
1735 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1736 as_fn_error $? "invalid package name: $ac_useropt"
1737 ac_useropt_orig=$ac_useropt
1738 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1739 case $ac_user_opts in
1741 "with_$ac_useropt"
1742 "*) ;;
1743 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1744 ac_unrecognized_sep=', ';;
1745 esac
1746 eval with_$ac_useropt=\$ac_optarg ;;
1748 -without-* | --without-*)
1749 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1750 # Reject names that are not valid shell variable names.
1751 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1752 as_fn_error $? "invalid package name: $ac_useropt"
1753 ac_useropt_orig=$ac_useropt
1754 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1755 case $ac_user_opts in
1757 "with_$ac_useropt"
1758 "*) ;;
1759 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1760 ac_unrecognized_sep=', ';;
1761 esac
1762 eval with_$ac_useropt=no ;;
1764 --x)
1765 # Obsolete; use --with-x.
1766 with_x=yes ;;
1768 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1769 | --x-incl | --x-inc | --x-in | --x-i)
1770 ac_prev=x_includes ;;
1771 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1772 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1773 x_includes=$ac_optarg ;;
1775 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1776 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1777 ac_prev=x_libraries ;;
1778 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1779 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1780 x_libraries=$ac_optarg ;;
1782 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1783 Try \`$0 --help' for more information"
1786 *=*)
1787 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1788 # Reject names that are not valid shell variable names.
1789 case $ac_envvar in #(
1790 '' | [0-9]* | *[!_$as_cr_alnum]* )
1791 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1792 esac
1793 eval $ac_envvar=\$ac_optarg
1794 export $ac_envvar ;;
1797 # FIXME: should be removed in autoconf 3.0.
1798 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1799 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1800 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1801 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1804 esac
1805 done
1807 if test -n "$ac_prev"; then
1808 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1809 as_fn_error $? "missing argument to $ac_option"
1812 if test -n "$ac_unrecognized_opts"; then
1813 case $enable_option_checking in
1814 no) ;;
1815 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1816 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1817 esac
1820 # Check all directory arguments for consistency.
1821 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1822 datadir sysconfdir sharedstatedir localstatedir includedir \
1823 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1824 libdir localedir mandir
1826 eval ac_val=\$$ac_var
1827 # Remove trailing slashes.
1828 case $ac_val in
1829 */ )
1830 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1831 eval $ac_var=\$ac_val;;
1832 esac
1833 # Be sure to have absolute directory names.
1834 case $ac_val in
1835 [\\/$]* | ?:[\\/]* ) continue;;
1836 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1837 esac
1838 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1839 done
1841 # There might be people who depend on the old broken behavior: `$host'
1842 # used to hold the argument of --host etc.
1843 # FIXME: To remove some day.
1844 build=$build_alias
1845 host=$host_alias
1846 target=$target_alias
1848 # FIXME: To remove some day.
1849 if test "x$host_alias" != x; then
1850 if test "x$build_alias" = x; then
1851 cross_compiling=maybe
1852 elif test "x$build_alias" != "x$host_alias"; then
1853 cross_compiling=yes
1857 ac_tool_prefix=
1858 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1860 test "$silent" = yes && exec 6>/dev/null
1863 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1864 ac_ls_di=`ls -di .` &&
1865 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1866 as_fn_error $? "working directory cannot be determined"
1867 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1868 as_fn_error $? "pwd does not report name of working directory"
1871 # Find the source files, if location was not specified.
1872 if test -z "$srcdir"; then
1873 ac_srcdir_defaulted=yes
1874 # Try the directory containing this script, then the parent directory.
1875 ac_confdir=`$as_dirname -- "$as_myself" ||
1876 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1877 X"$as_myself" : 'X\(//\)[^/]' \| \
1878 X"$as_myself" : 'X\(//\)$' \| \
1879 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1880 $as_echo X"$as_myself" |
1881 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1882 s//\1/
1885 /^X\(\/\/\)[^/].*/{
1886 s//\1/
1889 /^X\(\/\/\)$/{
1890 s//\1/
1893 /^X\(\/\).*/{
1894 s//\1/
1897 s/.*/./; q'`
1898 srcdir=$ac_confdir
1899 if test ! -r "$srcdir/$ac_unique_file"; then
1900 srcdir=..
1902 else
1903 ac_srcdir_defaulted=no
1905 if test ! -r "$srcdir/$ac_unique_file"; then
1906 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1907 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1909 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1910 ac_abs_confdir=`(
1911 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1912 pwd)`
1913 # When building in place, set srcdir=.
1914 if test "$ac_abs_confdir" = "$ac_pwd"; then
1915 srcdir=.
1917 # Remove unnecessary trailing slashes from srcdir.
1918 # Double slashes in file names in object file debugging info
1919 # mess up M-x gdb in Emacs.
1920 case $srcdir in
1921 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1922 esac
1923 for ac_var in $ac_precious_vars; do
1924 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1925 eval ac_env_${ac_var}_value=\$${ac_var}
1926 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1927 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1928 done
1931 # Report the --help message.
1933 if test "$ac_init_help" = "long"; then
1934 # Omit some internal or obsolete options to make the list less imposing.
1935 # This message is too long to be a string in the A/UX 3.1 sh.
1936 cat <<_ACEOF
1937 \`configure' configures Wine 1.7.3 to adapt to many kinds of systems.
1939 Usage: $0 [OPTION]... [VAR=VALUE]...
1941 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1942 VAR=VALUE. See below for descriptions of some of the useful variables.
1944 Defaults for the options are specified in brackets.
1946 Configuration:
1947 -h, --help display this help and exit
1948 --help=short display options specific to this package
1949 --help=recursive display the short help of all the included packages
1950 -V, --version display version information and exit
1951 -q, --quiet, --silent do not print \`checking ...' messages
1952 --cache-file=FILE cache test results in FILE [disabled]
1953 -C, --config-cache alias for \`--cache-file=config.cache'
1954 -n, --no-create do not create output files
1955 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1957 Installation directories:
1958 --prefix=PREFIX install architecture-independent files in PREFIX
1959 [$ac_default_prefix]
1960 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1961 [PREFIX]
1963 By default, \`make install' will install all the files in
1964 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1965 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1966 for instance \`--prefix=\$HOME'.
1968 For better control, use the options below.
1970 Fine tuning of the installation directories:
1971 --bindir=DIR user executables [EPREFIX/bin]
1972 --sbindir=DIR system admin executables [EPREFIX/sbin]
1973 --libexecdir=DIR program executables [EPREFIX/libexec]
1974 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1975 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1976 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1977 --libdir=DIR object code libraries [EPREFIX/lib]
1978 --includedir=DIR C header files [PREFIX/include]
1979 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1980 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1981 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1982 --infodir=DIR info documentation [DATAROOTDIR/info]
1983 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1984 --mandir=DIR man documentation [DATAROOTDIR/man]
1985 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1986 --htmldir=DIR html documentation [DOCDIR]
1987 --dvidir=DIR dvi documentation [DOCDIR]
1988 --pdfdir=DIR pdf documentation [DOCDIR]
1989 --psdir=DIR ps documentation [DOCDIR]
1990 _ACEOF
1992 cat <<\_ACEOF
1994 X features:
1995 --x-includes=DIR X include files are in DIR
1996 --x-libraries=DIR X library files are in DIR
1998 System types:
1999 --build=BUILD configure for building on BUILD [guessed]
2000 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2001 _ACEOF
2004 if test -n "$ac_init_help"; then
2005 case $ac_init_help in
2006 short | recursive ) echo "Configuration of Wine 1.7.3:";;
2007 esac
2008 cat <<\_ACEOF
2010 Optional Features:
2011 --disable-option-checking ignore unrecognized --enable/--with options
2012 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2013 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2014 --disable-win16 do not include Win16 support
2015 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2016 binaries)
2017 --disable-tests do not build the regression tests
2018 --enable-maintainer-mode
2019 enable maintainer-specific build rules
2020 --disable-largefile omit support for large files
2022 Optional Packages:
2023 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2024 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2025 --without-alsa do not use the Alsa sound support
2026 --without-capi do not use CAPI (ISDN support)
2027 --without-cms do not use CMS (color management support)
2028 --without-coreaudio do not use the CoreAudio sound support
2029 --without-cups do not use CUPS
2030 --without-curses do not use (n)curses
2031 --without-dbus do not use DBus (dynamic device support)
2032 --without-fontconfig do not use fontconfig
2033 --without-freetype do not use the FreeType library
2034 --without-gettext do not use gettext
2035 --with-gettextpo use the GetTextPO library to rebuild po files
2036 --without-gphoto do not use gphoto (Digital Camera support)
2037 --without-glu do not use the GLU library
2038 --without-gnutls do not use GnuTLS (schannel support)
2039 --without-gsm do not use libgsm (GSM 06.10 codec support)
2040 --without-gstreamer do not use GStreamer (codecs support)
2041 --without-hal do not use HAL (dynamic device support)
2042 --without-jpeg do not use JPEG
2043 --without-ldap do not use LDAP
2044 --without-mpg123 do not use the mpg123 library
2045 --without-openal do not use OpenAL
2046 --without-opencl do not use OpenCL
2047 --without-opengl do not use OpenGL
2048 --without-osmesa do not use the OSMesa library
2049 --without-oss do not use the OSS sound support
2050 --without-png do not use PNG
2051 --without-pthread do not use the pthread library
2052 --without-sane do not use SANE (scanner support)
2053 --without-tiff do not use TIFF
2054 --without-v4l do not use v4l1 (v4l support)
2055 --without-xcomposite do not use the Xcomposite extension
2056 --without-xcursor do not use the Xcursor extension
2057 --without-xinerama do not use Xinerama (multi-monitor support)
2058 --without-xinput do not use the Xinput extension
2059 --without-xinput2 do not use the Xinput 2 extension
2060 --without-xml do not use XML
2061 --without-xrandr do not use Xrandr (resolution changes)
2062 --without-xrender do not use the Xrender extension
2063 --without-xshape do not use the Xshape extension
2064 --without-xshm do not use XShm (shared memory extension)
2065 --without-xslt do not use XSLT
2066 --without-xxf86vm do not use XFree video mode extension
2067 --without-zlib do not use Zlib (data compression)
2068 --with-wine-tools=DIR use Wine tools from directory DIR
2069 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2070 --with-x use the X Window System
2072 Some influential environment variables:
2073 CC C compiler command
2074 CFLAGS C compiler flags
2075 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2076 nonstandard directory <lib dir>
2077 LIBS libraries to pass to the linker, e.g. -l<library>
2078 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2079 you have headers in a nonstandard directory <include dir>
2080 CXX C++ compiler command
2081 CXXFLAGS C++ compiler flags
2082 CPP C preprocessor
2083 XMKMF Path to xmkmf, Makefile generator for X Window System
2084 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2085 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2086 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2087 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2088 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2089 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2090 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2091 HAL_LIBS Linker flags for hal, overriding pkg-config
2092 GNUTLS_CFLAGS
2093 C compiler flags for gnutls, overriding pkg-config
2094 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2095 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2096 SANE_LIBS Linker flags for libsane, overriding pkg-config
2097 GPHOTO2_CFLAGS
2098 C compiler flags for libgphoto2, overriding pkg-config
2099 GPHOTO2_LIBS
2100 Linker flags for libgphoto2, overriding pkg-config
2101 GPHOTO2_PORT_CFLAGS
2102 C compiler flags for libgphoto2_port, overriding pkg-config
2103 GPHOTO2_PORT_LIBS
2104 Linker flags for libgphoto2_port, overriding pkg-config
2105 LCMS2_CFLAGS
2106 C compiler flags for lcms2, overriding pkg-config
2107 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2108 FREETYPE_CFLAGS
2109 C compiler flags for freetype2, overriding pkg-config
2110 FREETYPE_LIBS
2111 Linker flags for freetype2, overriding pkg-config
2112 GSTREAMER_CFLAGS
2113 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2114 GSTREAMER_LIBS
2115 Linker flags for gstreamer-app-0.10, overriding pkg-config
2116 CAPI20_CFLAGS
2117 C compiler flags for capi20, overriding pkg-config
2118 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2119 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2120 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2121 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2122 PNG_LIBS Linker flags for libpng, overriding pkg-config
2123 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2124 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2125 MPG123_CFLAGS
2126 C compiler flags for libmpg123, overriding pkg-config
2127 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2129 Use these variables to override the choices made by `configure' or to help
2130 it to find libraries and programs with nonstandard names/locations.
2132 Report bugs to <wine-devel@winehq.org>.
2133 Wine home page: <http://www.winehq.org>.
2134 _ACEOF
2135 ac_status=$?
2138 if test "$ac_init_help" = "recursive"; then
2139 # If there are subdirs, report their specific --help.
2140 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2141 test -d "$ac_dir" ||
2142 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2143 continue
2144 ac_builddir=.
2146 case "$ac_dir" in
2147 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2149 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2150 # A ".." for each directory in $ac_dir_suffix.
2151 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2152 case $ac_top_builddir_sub in
2153 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2154 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2155 esac ;;
2156 esac
2157 ac_abs_top_builddir=$ac_pwd
2158 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2159 # for backward compatibility:
2160 ac_top_builddir=$ac_top_build_prefix
2162 case $srcdir in
2163 .) # We are building in place.
2164 ac_srcdir=.
2165 ac_top_srcdir=$ac_top_builddir_sub
2166 ac_abs_top_srcdir=$ac_pwd ;;
2167 [\\/]* | ?:[\\/]* ) # Absolute name.
2168 ac_srcdir=$srcdir$ac_dir_suffix;
2169 ac_top_srcdir=$srcdir
2170 ac_abs_top_srcdir=$srcdir ;;
2171 *) # Relative name.
2172 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2173 ac_top_srcdir=$ac_top_build_prefix$srcdir
2174 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2175 esac
2176 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2178 cd "$ac_dir" || { ac_status=$?; continue; }
2179 # Check for guested configure.
2180 if test -f "$ac_srcdir/configure.gnu"; then
2181 echo &&
2182 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2183 elif test -f "$ac_srcdir/configure"; then
2184 echo &&
2185 $SHELL "$ac_srcdir/configure" --help=recursive
2186 else
2187 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2188 fi || ac_status=$?
2189 cd "$ac_pwd" || { ac_status=$?; break; }
2190 done
2193 test -n "$ac_init_help" && exit $ac_status
2194 if $ac_init_version; then
2195 cat <<\_ACEOF
2196 Wine configure 1.7.3
2197 generated by GNU Autoconf 2.69
2199 Copyright (C) 2012 Free Software Foundation, Inc.
2200 This configure script is free software; the Free Software Foundation
2201 gives unlimited permission to copy, distribute and modify it.
2202 _ACEOF
2203 exit
2206 ## ------------------------ ##
2207 ## Autoconf initialization. ##
2208 ## ------------------------ ##
2210 # ac_fn_c_try_compile LINENO
2211 # --------------------------
2212 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2213 ac_fn_c_try_compile ()
2215 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2216 rm -f conftest.$ac_objext
2217 if { { ac_try="$ac_compile"
2218 case "(($ac_try" in
2219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2220 *) ac_try_echo=$ac_try;;
2221 esac
2222 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2223 $as_echo "$ac_try_echo"; } >&5
2224 (eval "$ac_compile") 2>conftest.err
2225 ac_status=$?
2226 if test -s conftest.err; then
2227 grep -v '^ *+' conftest.err >conftest.er1
2228 cat conftest.er1 >&5
2229 mv -f conftest.er1 conftest.err
2231 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2232 test $ac_status = 0; } && {
2233 test -z "$ac_c_werror_flag" ||
2234 test ! -s conftest.err
2235 } && test -s conftest.$ac_objext; then :
2236 ac_retval=0
2237 else
2238 $as_echo "$as_me: failed program was:" >&5
2239 sed 's/^/| /' conftest.$ac_ext >&5
2241 ac_retval=1
2243 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2244 as_fn_set_status $ac_retval
2246 } # ac_fn_c_try_compile
2248 # ac_fn_cxx_try_compile LINENO
2249 # ----------------------------
2250 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2251 ac_fn_cxx_try_compile ()
2253 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2254 rm -f conftest.$ac_objext
2255 if { { ac_try="$ac_compile"
2256 case "(($ac_try" in
2257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2258 *) ac_try_echo=$ac_try;;
2259 esac
2260 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2261 $as_echo "$ac_try_echo"; } >&5
2262 (eval "$ac_compile") 2>conftest.err
2263 ac_status=$?
2264 if test -s conftest.err; then
2265 grep -v '^ *+' conftest.err >conftest.er1
2266 cat conftest.er1 >&5
2267 mv -f conftest.er1 conftest.err
2269 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2270 test $ac_status = 0; } && {
2271 test -z "$ac_cxx_werror_flag" ||
2272 test ! -s conftest.err
2273 } && test -s conftest.$ac_objext; then :
2274 ac_retval=0
2275 else
2276 $as_echo "$as_me: failed program was:" >&5
2277 sed 's/^/| /' conftest.$ac_ext >&5
2279 ac_retval=1
2281 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2282 as_fn_set_status $ac_retval
2284 } # ac_fn_cxx_try_compile
2286 # ac_fn_c_try_link LINENO
2287 # -----------------------
2288 # Try to link conftest.$ac_ext, and return whether this succeeded.
2289 ac_fn_c_try_link ()
2291 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2292 rm -f conftest.$ac_objext conftest$ac_exeext
2293 if { { ac_try="$ac_link"
2294 case "(($ac_try" in
2295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2296 *) ac_try_echo=$ac_try;;
2297 esac
2298 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2299 $as_echo "$ac_try_echo"; } >&5
2300 (eval "$ac_link") 2>conftest.err
2301 ac_status=$?
2302 if test -s conftest.err; then
2303 grep -v '^ *+' conftest.err >conftest.er1
2304 cat conftest.er1 >&5
2305 mv -f conftest.er1 conftest.err
2307 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2308 test $ac_status = 0; } && {
2309 test -z "$ac_c_werror_flag" ||
2310 test ! -s conftest.err
2311 } && test -s conftest$ac_exeext && {
2312 test "$cross_compiling" = yes ||
2313 test -x conftest$ac_exeext
2314 }; then :
2315 ac_retval=0
2316 else
2317 $as_echo "$as_me: failed program was:" >&5
2318 sed 's/^/| /' conftest.$ac_ext >&5
2320 ac_retval=1
2322 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2323 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2324 # interfere with the next link command; also delete a directory that is
2325 # left behind by Apple's compiler. We do this before executing the actions.
2326 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2327 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2328 as_fn_set_status $ac_retval
2330 } # ac_fn_c_try_link
2332 # ac_fn_c_try_cpp LINENO
2333 # ----------------------
2334 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2335 ac_fn_c_try_cpp ()
2337 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2338 if { { ac_try="$ac_cpp conftest.$ac_ext"
2339 case "(($ac_try" in
2340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2341 *) ac_try_echo=$ac_try;;
2342 esac
2343 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2344 $as_echo "$ac_try_echo"; } >&5
2345 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2346 ac_status=$?
2347 if test -s conftest.err; then
2348 grep -v '^ *+' conftest.err >conftest.er1
2349 cat conftest.er1 >&5
2350 mv -f conftest.er1 conftest.err
2352 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2353 test $ac_status = 0; } > conftest.i && {
2354 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2355 test ! -s conftest.err
2356 }; then :
2357 ac_retval=0
2358 else
2359 $as_echo "$as_me: failed program was:" >&5
2360 sed 's/^/| /' conftest.$ac_ext >&5
2362 ac_retval=1
2364 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2365 as_fn_set_status $ac_retval
2367 } # ac_fn_c_try_cpp
2369 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2370 # -------------------------------------------------------
2371 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2372 # the include files in INCLUDES and setting the cache variable VAR
2373 # accordingly.
2374 ac_fn_c_check_header_mongrel ()
2376 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2377 if eval \${$3+:} false; then :
2378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2379 $as_echo_n "checking for $2... " >&6; }
2380 if eval \${$3+:} false; then :
2381 $as_echo_n "(cached) " >&6
2383 eval ac_res=\$$3
2384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2385 $as_echo "$ac_res" >&6; }
2386 else
2387 # Is the header compilable?
2388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2389 $as_echo_n "checking $2 usability... " >&6; }
2390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2391 /* end confdefs.h. */
2393 #include <$2>
2394 _ACEOF
2395 if ac_fn_c_try_compile "$LINENO"; then :
2396 ac_header_compiler=yes
2397 else
2398 ac_header_compiler=no
2400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2402 $as_echo "$ac_header_compiler" >&6; }
2404 # Is the header present?
2405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2406 $as_echo_n "checking $2 presence... " >&6; }
2407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2408 /* end confdefs.h. */
2409 #include <$2>
2410 _ACEOF
2411 if ac_fn_c_try_cpp "$LINENO"; then :
2412 ac_header_preproc=yes
2413 else
2414 ac_header_preproc=no
2416 rm -f conftest.err conftest.i conftest.$ac_ext
2417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2418 $as_echo "$ac_header_preproc" >&6; }
2420 # So? What about this header?
2421 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2422 yes:no: )
2423 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2424 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2425 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2426 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2428 no:yes:* )
2429 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2430 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2432 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2434 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2436 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2437 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2438 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2439 ( $as_echo "## ------------------------------------ ##
2440 ## Report this to wine-devel@winehq.org ##
2441 ## ------------------------------------ ##"
2442 ) | sed "s/^/$as_me: WARNING: /" >&2
2444 esac
2445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2446 $as_echo_n "checking for $2... " >&6; }
2447 if eval \${$3+:} false; then :
2448 $as_echo_n "(cached) " >&6
2449 else
2450 eval "$3=\$ac_header_compiler"
2452 eval ac_res=\$$3
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2454 $as_echo "$ac_res" >&6; }
2456 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2458 } # ac_fn_c_check_header_mongrel
2460 # ac_fn_c_try_run LINENO
2461 # ----------------------
2462 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2463 # that executables *can* be run.
2464 ac_fn_c_try_run ()
2466 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2467 if { { ac_try="$ac_link"
2468 case "(($ac_try" in
2469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2470 *) ac_try_echo=$ac_try;;
2471 esac
2472 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2473 $as_echo "$ac_try_echo"; } >&5
2474 (eval "$ac_link") 2>&5
2475 ac_status=$?
2476 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2477 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2478 { { case "(($ac_try" in
2479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2480 *) ac_try_echo=$ac_try;;
2481 esac
2482 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2483 $as_echo "$ac_try_echo"; } >&5
2484 (eval "$ac_try") 2>&5
2485 ac_status=$?
2486 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2487 test $ac_status = 0; }; }; then :
2488 ac_retval=0
2489 else
2490 $as_echo "$as_me: program exited with status $ac_status" >&5
2491 $as_echo "$as_me: failed program was:" >&5
2492 sed 's/^/| /' conftest.$ac_ext >&5
2494 ac_retval=$ac_status
2496 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2497 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2498 as_fn_set_status $ac_retval
2500 } # ac_fn_c_try_run
2502 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2503 # -------------------------------------------------------
2504 # Tests whether HEADER exists and can be compiled using the include files in
2505 # INCLUDES, setting the cache variable VAR accordingly.
2506 ac_fn_c_check_header_compile ()
2508 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2510 $as_echo_n "checking for $2... " >&6; }
2511 if eval \${$3+:} false; then :
2512 $as_echo_n "(cached) " >&6
2513 else
2514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2515 /* end confdefs.h. */
2517 #include <$2>
2518 _ACEOF
2519 if ac_fn_c_try_compile "$LINENO"; then :
2520 eval "$3=yes"
2521 else
2522 eval "$3=no"
2524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2526 eval ac_res=\$$3
2527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2528 $as_echo "$ac_res" >&6; }
2529 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2531 } # ac_fn_c_check_header_compile
2533 # ac_fn_c_check_func LINENO FUNC VAR
2534 # ----------------------------------
2535 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2536 ac_fn_c_check_func ()
2538 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2540 $as_echo_n "checking for $2... " >&6; }
2541 if eval \${$3+:} false; then :
2542 $as_echo_n "(cached) " >&6
2543 else
2544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2545 /* end confdefs.h. */
2546 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2547 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2548 #define $2 innocuous_$2
2550 /* System header to define __stub macros and hopefully few prototypes,
2551 which can conflict with char $2 (); below.
2552 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2553 <limits.h> exists even on freestanding compilers. */
2555 #ifdef __STDC__
2556 # include <limits.h>
2557 #else
2558 # include <assert.h>
2559 #endif
2561 #undef $2
2563 /* Override any GCC internal prototype to avoid an error.
2564 Use char because int might match the return type of a GCC
2565 builtin and then its argument prototype would still apply. */
2566 #ifdef __cplusplus
2567 extern "C"
2568 #endif
2569 char $2 ();
2570 /* The GNU C library defines this for functions which it implements
2571 to always fail with ENOSYS. Some functions are actually named
2572 something starting with __ and the normal name is an alias. */
2573 #if defined __stub_$2 || defined __stub___$2
2574 choke me
2575 #endif
2578 main ()
2580 return $2 ();
2582 return 0;
2584 _ACEOF
2585 if ac_fn_c_try_link "$LINENO"; then :
2586 eval "$3=yes"
2587 else
2588 eval "$3=no"
2590 rm -f core conftest.err conftest.$ac_objext \
2591 conftest$ac_exeext conftest.$ac_ext
2593 eval ac_res=\$$3
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2595 $as_echo "$ac_res" >&6; }
2596 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2598 } # ac_fn_c_check_func
2600 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2601 # ----------------------------------------------------
2602 # Tries to find if the field MEMBER exists in type AGGR, after including
2603 # INCLUDES, setting cache variable VAR accordingly.
2604 ac_fn_c_check_member ()
2606 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2608 $as_echo_n "checking for $2.$3... " >&6; }
2609 if eval \${$4+:} false; then :
2610 $as_echo_n "(cached) " >&6
2611 else
2612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2613 /* end confdefs.h. */
2616 main ()
2618 static $2 ac_aggr;
2619 if (ac_aggr.$3)
2620 return 0;
2622 return 0;
2624 _ACEOF
2625 if ac_fn_c_try_compile "$LINENO"; then :
2626 eval "$4=yes"
2627 else
2628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2629 /* end confdefs.h. */
2632 main ()
2634 static $2 ac_aggr;
2635 if (sizeof ac_aggr.$3)
2636 return 0;
2638 return 0;
2640 _ACEOF
2641 if ac_fn_c_try_compile "$LINENO"; then :
2642 eval "$4=yes"
2643 else
2644 eval "$4=no"
2646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2650 eval ac_res=\$$4
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2652 $as_echo "$ac_res" >&6; }
2653 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2655 } # ac_fn_c_check_member
2657 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2658 # -------------------------------------------
2659 # Tests whether TYPE exists after having included INCLUDES, setting cache
2660 # variable VAR accordingly.
2661 ac_fn_c_check_type ()
2663 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2665 $as_echo_n "checking for $2... " >&6; }
2666 if eval \${$3+:} false; then :
2667 $as_echo_n "(cached) " >&6
2668 else
2669 eval "$3=no"
2670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2671 /* end confdefs.h. */
2674 main ()
2676 if (sizeof ($2))
2677 return 0;
2679 return 0;
2681 _ACEOF
2682 if ac_fn_c_try_compile "$LINENO"; then :
2683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2684 /* end confdefs.h. */
2687 main ()
2689 if (sizeof (($2)))
2690 return 0;
2692 return 0;
2694 _ACEOF
2695 if ac_fn_c_try_compile "$LINENO"; then :
2697 else
2698 eval "$3=yes"
2700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2704 eval ac_res=\$$3
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2706 $as_echo "$ac_res" >&6; }
2707 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2709 } # ac_fn_c_check_type
2710 cat >config.log <<_ACEOF
2711 This file contains any messages produced by compilers while
2712 running configure, to aid debugging if configure makes a mistake.
2714 It was created by Wine $as_me 1.7.3, which was
2715 generated by GNU Autoconf 2.69. Invocation command line was
2717 $ $0 $@
2719 _ACEOF
2720 exec 5>>config.log
2722 cat <<_ASUNAME
2723 ## --------- ##
2724 ## Platform. ##
2725 ## --------- ##
2727 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2728 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2729 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2730 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2731 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2733 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2734 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2736 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2737 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2738 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2739 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2740 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2741 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2742 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2744 _ASUNAME
2746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2747 for as_dir in $PATH
2749 IFS=$as_save_IFS
2750 test -z "$as_dir" && as_dir=.
2751 $as_echo "PATH: $as_dir"
2752 done
2753 IFS=$as_save_IFS
2755 } >&5
2757 cat >&5 <<_ACEOF
2760 ## ----------- ##
2761 ## Core tests. ##
2762 ## ----------- ##
2764 _ACEOF
2767 # Keep a trace of the command line.
2768 # Strip out --no-create and --no-recursion so they do not pile up.
2769 # Strip out --silent because we don't want to record it for future runs.
2770 # Also quote any args containing shell meta-characters.
2771 # Make two passes to allow for proper duplicate-argument suppression.
2772 ac_configure_args=
2773 ac_configure_args0=
2774 ac_configure_args1=
2775 ac_must_keep_next=false
2776 for ac_pass in 1 2
2778 for ac_arg
2780 case $ac_arg in
2781 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2782 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2783 | -silent | --silent | --silen | --sile | --sil)
2784 continue ;;
2785 *\'*)
2786 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2787 esac
2788 case $ac_pass in
2789 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2791 as_fn_append ac_configure_args1 " '$ac_arg'"
2792 if test $ac_must_keep_next = true; then
2793 ac_must_keep_next=false # Got value, back to normal.
2794 else
2795 case $ac_arg in
2796 *=* | --config-cache | -C | -disable-* | --disable-* \
2797 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2798 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2799 | -with-* | --with-* | -without-* | --without-* | --x)
2800 case "$ac_configure_args0 " in
2801 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2802 esac
2804 -* ) ac_must_keep_next=true ;;
2805 esac
2807 as_fn_append ac_configure_args " '$ac_arg'"
2809 esac
2810 done
2811 done
2812 { ac_configure_args0=; unset ac_configure_args0;}
2813 { ac_configure_args1=; unset ac_configure_args1;}
2815 # When interrupted or exit'd, cleanup temporary files, and complete
2816 # config.log. We remove comments because anyway the quotes in there
2817 # would cause problems or look ugly.
2818 # WARNING: Use '\'' to represent an apostrophe within the trap.
2819 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2820 trap 'exit_status=$?
2821 # Save into config.log some information that might help in debugging.
2823 echo
2825 $as_echo "## ---------------- ##
2826 ## Cache variables. ##
2827 ## ---------------- ##"
2828 echo
2829 # The following way of writing the cache mishandles newlines in values,
2831 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2832 eval ac_val=\$$ac_var
2833 case $ac_val in #(
2834 *${as_nl}*)
2835 case $ac_var in #(
2836 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2837 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2838 esac
2839 case $ac_var in #(
2840 _ | IFS | as_nl) ;; #(
2841 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2842 *) { eval $ac_var=; unset $ac_var;} ;;
2843 esac ;;
2844 esac
2845 done
2846 (set) 2>&1 |
2847 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2848 *${as_nl}ac_space=\ *)
2849 sed -n \
2850 "s/'\''/'\''\\\\'\'''\''/g;
2851 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2852 ;; #(
2854 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2856 esac |
2857 sort
2859 echo
2861 $as_echo "## ----------------- ##
2862 ## Output variables. ##
2863 ## ----------------- ##"
2864 echo
2865 for ac_var in $ac_subst_vars
2867 eval ac_val=\$$ac_var
2868 case $ac_val in
2869 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2870 esac
2871 $as_echo "$ac_var='\''$ac_val'\''"
2872 done | sort
2873 echo
2875 if test -n "$ac_subst_files"; then
2876 $as_echo "## ------------------- ##
2877 ## File substitutions. ##
2878 ## ------------------- ##"
2879 echo
2880 for ac_var in $ac_subst_files
2882 eval ac_val=\$$ac_var
2883 case $ac_val in
2884 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2885 esac
2886 $as_echo "$ac_var='\''$ac_val'\''"
2887 done | sort
2888 echo
2891 if test -s confdefs.h; then
2892 $as_echo "## ----------- ##
2893 ## confdefs.h. ##
2894 ## ----------- ##"
2895 echo
2896 cat confdefs.h
2897 echo
2899 test "$ac_signal" != 0 &&
2900 $as_echo "$as_me: caught signal $ac_signal"
2901 $as_echo "$as_me: exit $exit_status"
2902 } >&5
2903 rm -f core *.core core.conftest.* &&
2904 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2905 exit $exit_status
2907 for ac_signal in 1 2 13 15; do
2908 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2909 done
2910 ac_signal=0
2912 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2913 rm -f -r conftest* confdefs.h
2915 $as_echo "/* confdefs.h */" > confdefs.h
2917 # Predefined preprocessor variables.
2919 cat >>confdefs.h <<_ACEOF
2920 #define PACKAGE_NAME "$PACKAGE_NAME"
2921 _ACEOF
2923 cat >>confdefs.h <<_ACEOF
2924 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2925 _ACEOF
2927 cat >>confdefs.h <<_ACEOF
2928 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2929 _ACEOF
2931 cat >>confdefs.h <<_ACEOF
2932 #define PACKAGE_STRING "$PACKAGE_STRING"
2933 _ACEOF
2935 cat >>confdefs.h <<_ACEOF
2936 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2937 _ACEOF
2939 cat >>confdefs.h <<_ACEOF
2940 #define PACKAGE_URL "$PACKAGE_URL"
2941 _ACEOF
2944 # Let the site file select an alternate cache file if it wants to.
2945 # Prefer an explicitly selected file to automatically selected ones.
2946 ac_site_file1=NONE
2947 ac_site_file2=NONE
2948 if test -n "$CONFIG_SITE"; then
2949 # We do not want a PATH search for config.site.
2950 case $CONFIG_SITE in #((
2951 -*) ac_site_file1=./$CONFIG_SITE;;
2952 */*) ac_site_file1=$CONFIG_SITE;;
2953 *) ac_site_file1=./$CONFIG_SITE;;
2954 esac
2955 elif test "x$prefix" != xNONE; then
2956 ac_site_file1=$prefix/share/config.site
2957 ac_site_file2=$prefix/etc/config.site
2958 else
2959 ac_site_file1=$ac_default_prefix/share/config.site
2960 ac_site_file2=$ac_default_prefix/etc/config.site
2962 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2964 test "x$ac_site_file" = xNONE && continue
2965 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2967 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2968 sed 's/^/| /' "$ac_site_file" >&5
2969 . "$ac_site_file" \
2970 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2971 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2972 as_fn_error $? "failed to load site script $ac_site_file
2973 See \`config.log' for more details" "$LINENO" 5; }
2975 done
2977 if test -r "$cache_file"; then
2978 # Some versions of bash will fail to source /dev/null (special files
2979 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2980 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2982 $as_echo "$as_me: loading cache $cache_file" >&6;}
2983 case $cache_file in
2984 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2985 *) . "./$cache_file";;
2986 esac
2988 else
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2990 $as_echo "$as_me: creating cache $cache_file" >&6;}
2991 >$cache_file
2994 # Check that the precious variables saved in the cache have kept the same
2995 # value.
2996 ac_cache_corrupted=false
2997 for ac_var in $ac_precious_vars; do
2998 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2999 eval ac_new_set=\$ac_env_${ac_var}_set
3000 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3001 eval ac_new_val=\$ac_env_${ac_var}_value
3002 case $ac_old_set,$ac_new_set in
3003 set,)
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3005 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3006 ac_cache_corrupted=: ;;
3007 ,set)
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3009 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3010 ac_cache_corrupted=: ;;
3011 ,);;
3013 if test "x$ac_old_val" != "x$ac_new_val"; then
3014 # differences in whitespace do not lead to failure.
3015 ac_old_val_w=`echo x $ac_old_val`
3016 ac_new_val_w=`echo x $ac_new_val`
3017 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3019 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3020 ac_cache_corrupted=:
3021 else
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3023 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3024 eval $ac_var=\$ac_old_val
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3027 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3029 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3030 fi;;
3031 esac
3032 # Pass precious variables to config.status.
3033 if test "$ac_new_set" = set; then
3034 case $ac_new_val in
3035 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3036 *) ac_arg=$ac_var=$ac_new_val ;;
3037 esac
3038 case " $ac_configure_args " in
3039 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3040 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3041 esac
3043 done
3044 if $ac_cache_corrupted; then
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3046 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3048 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3049 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3051 ## -------------------- ##
3052 ## Main body of script. ##
3053 ## -------------------- ##
3055 ac_ext=c
3056 ac_cpp='$CPP $CPPFLAGS'
3057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3063 ac_config_headers="$ac_config_headers include/config.h"
3065 ac_aux_dir=
3066 for ac_dir in tools "$srcdir"/tools; do
3067 if test -f "$ac_dir/install-sh"; then
3068 ac_aux_dir=$ac_dir
3069 ac_install_sh="$ac_aux_dir/install-sh -c"
3070 break
3071 elif test -f "$ac_dir/install.sh"; then
3072 ac_aux_dir=$ac_dir
3073 ac_install_sh="$ac_aux_dir/install.sh -c"
3074 break
3075 elif test -f "$ac_dir/shtool"; then
3076 ac_aux_dir=$ac_dir
3077 ac_install_sh="$ac_aux_dir/shtool install -c"
3078 break
3080 done
3081 if test -z "$ac_aux_dir"; then
3082 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3085 # These three variables are undocumented and unsupported,
3086 # and are intended to be withdrawn in a future Autoconf release.
3087 # They can cause serious problems if a builder's source tree is in a directory
3088 # whose full name contains unusual characters.
3089 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3090 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3091 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3097 # Check whether --enable-win16 was given.
3098 if test "${enable_win16+set}" = set; then :
3099 enableval=$enable_win16;
3102 # Check whether --enable-win64 was given.
3103 if test "${enable_win64+set}" = set; then :
3104 enableval=$enable_win64;
3107 # Check whether --enable-tests was given.
3108 if test "${enable_tests+set}" = set; then :
3109 enableval=$enable_tests;
3112 # Check whether --enable-maintainer-mode was given.
3113 if test "${enable_maintainer_mode+set}" = set; then :
3114 enableval=$enable_maintainer_mode;
3119 # Check whether --with-alsa was given.
3120 if test "${with_alsa+set}" = set; then :
3121 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3125 # Check whether --with-capi was given.
3126 if test "${with_capi+set}" = set; then :
3127 withval=$with_capi;
3131 # Check whether --with-cms was given.
3132 if test "${with_cms+set}" = set; then :
3133 withval=$with_cms;
3137 # Check whether --with-coreaudio was given.
3138 if test "${with_coreaudio+set}" = set; then :
3139 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3143 # Check whether --with-cups was given.
3144 if test "${with_cups+set}" = set; then :
3145 withval=$with_cups;
3149 # Check whether --with-curses was given.
3150 if test "${with_curses+set}" = set; then :
3151 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3155 # Check whether --with-dbus was given.
3156 if test "${with_dbus+set}" = set; then :
3157 withval=$with_dbus;
3161 # Check whether --with-fontconfig was given.
3162 if test "${with_fontconfig+set}" = set; then :
3163 withval=$with_fontconfig;
3167 # Check whether --with-freetype was given.
3168 if test "${with_freetype+set}" = set; then :
3169 withval=$with_freetype;
3173 # Check whether --with-gettext was given.
3174 if test "${with_gettext+set}" = set; then :
3175 withval=$with_gettext;
3179 # Check whether --with-gettextpo was given.
3180 if test "${with_gettextpo+set}" = set; then :
3181 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3185 # Check whether --with-gphoto was given.
3186 if test "${with_gphoto+set}" = set; then :
3187 withval=$with_gphoto;
3191 # Check whether --with-glu was given.
3192 if test "${with_glu+set}" = set; then :
3193 withval=$with_glu;
3197 # Check whether --with-gnutls was given.
3198 if test "${with_gnutls+set}" = set; then :
3199 withval=$with_gnutls;
3203 # Check whether --with-gsm was given.
3204 if test "${with_gsm+set}" = set; then :
3205 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3209 # Check whether --with-gstreamer was given.
3210 if test "${with_gstreamer+set}" = set; then :
3211 withval=$with_gstreamer;
3215 # Check whether --with-hal was given.
3216 if test "${with_hal+set}" = set; then :
3217 withval=$with_hal;
3221 # Check whether --with-jpeg was given.
3222 if test "${with_jpeg+set}" = set; then :
3223 withval=$with_jpeg;
3227 # Check whether --with-ldap was given.
3228 if test "${with_ldap+set}" = set; then :
3229 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3233 # Check whether --with-mpg123 was given.
3234 if test "${with_mpg123+set}" = set; then :
3235 withval=$with_mpg123;
3239 # Check whether --with-openal was given.
3240 if test "${with_openal+set}" = set; then :
3241 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3245 # Check whether --with-opencl was given.
3246 if test "${with_opencl+set}" = set; then :
3247 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3251 # Check whether --with-opengl was given.
3252 if test "${with_opengl+set}" = set; then :
3253 withval=$with_opengl;
3257 # Check whether --with-osmesa was given.
3258 if test "${with_osmesa+set}" = set; then :
3259 withval=$with_osmesa;
3263 # Check whether --with-oss was given.
3264 if test "${with_oss+set}" = set; then :
3265 withval=$with_oss;
3269 # Check whether --with-png was given.
3270 if test "${with_png+set}" = set; then :
3271 withval=$with_png;
3275 # Check whether --with-pthread was given.
3276 if test "${with_pthread+set}" = set; then :
3277 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3281 # Check whether --with-sane was given.
3282 if test "${with_sane+set}" = set; then :
3283 withval=$with_sane;
3287 # Check whether --with-tiff was given.
3288 if test "${with_tiff+set}" = set; then :
3289 withval=$with_tiff;
3293 # Check whether --with-v4l was given.
3294 if test "${with_v4l+set}" = set; then :
3295 withval=$with_v4l;
3299 # Check whether --with-xcomposite was given.
3300 if test "${with_xcomposite+set}" = set; then :
3301 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3305 # Check whether --with-xcursor was given.
3306 if test "${with_xcursor+set}" = set; then :
3307 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3311 # Check whether --with-xinerama was given.
3312 if test "${with_xinerama+set}" = set; then :
3313 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3317 # Check whether --with-xinput was given.
3318 if test "${with_xinput+set}" = set; then :
3319 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3323 # Check whether --with-xinput2 was given.
3324 if test "${with_xinput2+set}" = set; then :
3325 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3329 # Check whether --with-xml was given.
3330 if test "${with_xml+set}" = set; then :
3331 withval=$with_xml;
3335 # Check whether --with-xrandr was given.
3336 if test "${with_xrandr+set}" = set; then :
3337 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3341 # Check whether --with-xrender was given.
3342 if test "${with_xrender+set}" = set; then :
3343 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3347 # Check whether --with-xshape was given.
3348 if test "${with_xshape+set}" = set; then :
3349 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3353 # Check whether --with-xshm was given.
3354 if test "${with_xshm+set}" = set; then :
3355 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3359 # Check whether --with-xslt was given.
3360 if test "${with_xslt+set}" = set; then :
3361 withval=$with_xslt;
3365 # Check whether --with-xxf86vm was given.
3366 if test "${with_xxf86vm+set}" = set; then :
3367 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
3371 # Check whether --with-zlib was given.
3372 if test "${with_zlib+set}" = set; then :
3373 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3378 # Check whether --with-wine-tools was given.
3379 if test "${with_wine_tools+set}" = set; then :
3380 withval=$with_wine_tools;
3384 # Check whether --with-wine64 was given.
3385 if test "${with_wine64+set}" = set; then :
3386 withval=$with_wine64;
3390 # Make sure we can run config.sub.
3391 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3392 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3395 $as_echo_n "checking build system type... " >&6; }
3396 if ${ac_cv_build+:} false; then :
3397 $as_echo_n "(cached) " >&6
3398 else
3399 ac_build_alias=$build_alias
3400 test "x$ac_build_alias" = x &&
3401 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3402 test "x$ac_build_alias" = x &&
3403 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3404 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3405 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3409 $as_echo "$ac_cv_build" >&6; }
3410 case $ac_cv_build in
3411 *-*-*) ;;
3412 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3413 esac
3414 build=$ac_cv_build
3415 ac_save_IFS=$IFS; IFS='-'
3416 set x $ac_cv_build
3417 shift
3418 build_cpu=$1
3419 build_vendor=$2
3420 shift; shift
3421 # Remember, the first character of IFS is used to create $*,
3422 # except with old shells:
3423 build_os=$*
3424 IFS=$ac_save_IFS
3425 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3429 $as_echo_n "checking host system type... " >&6; }
3430 if ${ac_cv_host+:} false; then :
3431 $as_echo_n "(cached) " >&6
3432 else
3433 if test "x$host_alias" = x; then
3434 ac_cv_host=$ac_cv_build
3435 else
3436 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3437 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3442 $as_echo "$ac_cv_host" >&6; }
3443 case $ac_cv_host in
3444 *-*-*) ;;
3445 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3446 esac
3447 host=$ac_cv_host
3448 ac_save_IFS=$IFS; IFS='-'
3449 set x $ac_cv_host
3450 shift
3451 host_cpu=$1
3452 host_vendor=$2
3453 shift; shift
3454 # Remember, the first character of IFS is used to create $*,
3455 # except with old shells:
3456 host_os=$*
3457 IFS=$ac_save_IFS
3458 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3462 case "$srcdir" in
3463 .) ;;
3464 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3465 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3466 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3467 fi ;;
3468 esac
3471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3472 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3473 set x ${MAKE-make}
3474 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3475 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3476 $as_echo_n "(cached) " >&6
3477 else
3478 cat >conftest.make <<\_ACEOF
3479 SHELL = /bin/sh
3480 all:
3481 @echo '@@@%%%=$(MAKE)=@@@%%%'
3482 _ACEOF
3483 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3484 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3485 *@@@%%%=?*=@@@%%%*)
3486 eval ac_cv_prog_make_${ac_make}_set=yes;;
3488 eval ac_cv_prog_make_${ac_make}_set=no;;
3489 esac
3490 rm -f conftest.make
3492 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3494 $as_echo "yes" >&6; }
3495 SET_MAKE=
3496 else
3497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3498 $as_echo "no" >&6; }
3499 SET_MAKE="MAKE=${MAKE-make}"
3502 ac_ext=c
3503 ac_cpp='$CPP $CPPFLAGS'
3504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3507 if test -n "$ac_tool_prefix"; then
3508 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3509 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3511 $as_echo_n "checking for $ac_word... " >&6; }
3512 if ${ac_cv_prog_CC+:} false; then :
3513 $as_echo_n "(cached) " >&6
3514 else
3515 if test -n "$CC"; then
3516 ac_cv_prog_CC="$CC" # Let the user override the test.
3517 else
3518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3519 for as_dir in $PATH
3521 IFS=$as_save_IFS
3522 test -z "$as_dir" && as_dir=.
3523 for ac_exec_ext in '' $ac_executable_extensions; do
3524 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3525 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3526 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3527 break 2
3529 done
3530 done
3531 IFS=$as_save_IFS
3535 CC=$ac_cv_prog_CC
3536 if test -n "$CC"; then
3537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3538 $as_echo "$CC" >&6; }
3539 else
3540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3541 $as_echo "no" >&6; }
3546 if test -z "$ac_cv_prog_CC"; then
3547 ac_ct_CC=$CC
3548 # Extract the first word of "gcc", so it can be a program name with args.
3549 set dummy gcc; ac_word=$2
3550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3551 $as_echo_n "checking for $ac_word... " >&6; }
3552 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3553 $as_echo_n "(cached) " >&6
3554 else
3555 if test -n "$ac_ct_CC"; then
3556 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3557 else
3558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3559 for as_dir in $PATH
3561 IFS=$as_save_IFS
3562 test -z "$as_dir" && as_dir=.
3563 for ac_exec_ext in '' $ac_executable_extensions; do
3564 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3565 ac_cv_prog_ac_ct_CC="gcc"
3566 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3567 break 2
3569 done
3570 done
3571 IFS=$as_save_IFS
3575 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3576 if test -n "$ac_ct_CC"; then
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3578 $as_echo "$ac_ct_CC" >&6; }
3579 else
3580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3581 $as_echo "no" >&6; }
3584 if test "x$ac_ct_CC" = x; then
3585 CC=""
3586 else
3587 case $cross_compiling:$ac_tool_warned in
3588 yes:)
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3590 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3591 ac_tool_warned=yes ;;
3592 esac
3593 CC=$ac_ct_CC
3595 else
3596 CC="$ac_cv_prog_CC"
3599 if test -z "$CC"; then
3600 if test -n "$ac_tool_prefix"; then
3601 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3602 set dummy ${ac_tool_prefix}cc; ac_word=$2
3603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3604 $as_echo_n "checking for $ac_word... " >&6; }
3605 if ${ac_cv_prog_CC+:} false; then :
3606 $as_echo_n "(cached) " >&6
3607 else
3608 if test -n "$CC"; then
3609 ac_cv_prog_CC="$CC" # Let the user override the test.
3610 else
3611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3612 for as_dir in $PATH
3614 IFS=$as_save_IFS
3615 test -z "$as_dir" && as_dir=.
3616 for ac_exec_ext in '' $ac_executable_extensions; do
3617 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3618 ac_cv_prog_CC="${ac_tool_prefix}cc"
3619 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3620 break 2
3622 done
3623 done
3624 IFS=$as_save_IFS
3628 CC=$ac_cv_prog_CC
3629 if test -n "$CC"; then
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3631 $as_echo "$CC" >&6; }
3632 else
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3634 $as_echo "no" >&6; }
3640 if test -z "$CC"; then
3641 # Extract the first word of "cc", so it can be a program name with args.
3642 set dummy cc; ac_word=$2
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3644 $as_echo_n "checking for $ac_word... " >&6; }
3645 if ${ac_cv_prog_CC+:} false; then :
3646 $as_echo_n "(cached) " >&6
3647 else
3648 if test -n "$CC"; then
3649 ac_cv_prog_CC="$CC" # Let the user override the test.
3650 else
3651 ac_prog_rejected=no
3652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3653 for as_dir in $PATH
3655 IFS=$as_save_IFS
3656 test -z "$as_dir" && as_dir=.
3657 for ac_exec_ext in '' $ac_executable_extensions; do
3658 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3659 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3660 ac_prog_rejected=yes
3661 continue
3663 ac_cv_prog_CC="cc"
3664 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3665 break 2
3667 done
3668 done
3669 IFS=$as_save_IFS
3671 if test $ac_prog_rejected = yes; then
3672 # We found a bogon in the path, so make sure we never use it.
3673 set dummy $ac_cv_prog_CC
3674 shift
3675 if test $# != 0; then
3676 # We chose a different compiler from the bogus one.
3677 # However, it has the same basename, so the bogon will be chosen
3678 # first if we set CC to just the basename; use the full file name.
3679 shift
3680 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3685 CC=$ac_cv_prog_CC
3686 if test -n "$CC"; then
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3688 $as_echo "$CC" >&6; }
3689 else
3690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3691 $as_echo "no" >&6; }
3696 if test -z "$CC"; then
3697 if test -n "$ac_tool_prefix"; then
3698 for ac_prog in cl.exe
3700 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3701 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3703 $as_echo_n "checking for $ac_word... " >&6; }
3704 if ${ac_cv_prog_CC+:} false; then :
3705 $as_echo_n "(cached) " >&6
3706 else
3707 if test -n "$CC"; then
3708 ac_cv_prog_CC="$CC" # Let the user override the test.
3709 else
3710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3711 for as_dir in $PATH
3713 IFS=$as_save_IFS
3714 test -z "$as_dir" && as_dir=.
3715 for ac_exec_ext in '' $ac_executable_extensions; do
3716 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3717 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3718 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3719 break 2
3721 done
3722 done
3723 IFS=$as_save_IFS
3727 CC=$ac_cv_prog_CC
3728 if test -n "$CC"; then
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3730 $as_echo "$CC" >&6; }
3731 else
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3733 $as_echo "no" >&6; }
3737 test -n "$CC" && break
3738 done
3740 if test -z "$CC"; then
3741 ac_ct_CC=$CC
3742 for ac_prog in cl.exe
3744 # Extract the first word of "$ac_prog", so it can be a program name with args.
3745 set dummy $ac_prog; ac_word=$2
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3747 $as_echo_n "checking for $ac_word... " >&6; }
3748 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3749 $as_echo_n "(cached) " >&6
3750 else
3751 if test -n "$ac_ct_CC"; then
3752 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3753 else
3754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3755 for as_dir in $PATH
3757 IFS=$as_save_IFS
3758 test -z "$as_dir" && as_dir=.
3759 for ac_exec_ext in '' $ac_executable_extensions; do
3760 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3761 ac_cv_prog_ac_ct_CC="$ac_prog"
3762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3763 break 2
3765 done
3766 done
3767 IFS=$as_save_IFS
3771 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3772 if test -n "$ac_ct_CC"; then
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3774 $as_echo "$ac_ct_CC" >&6; }
3775 else
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3777 $as_echo "no" >&6; }
3781 test -n "$ac_ct_CC" && break
3782 done
3784 if test "x$ac_ct_CC" = x; then
3785 CC=""
3786 else
3787 case $cross_compiling:$ac_tool_warned in
3788 yes:)
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3790 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3791 ac_tool_warned=yes ;;
3792 esac
3793 CC=$ac_ct_CC
3800 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3801 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3802 as_fn_error $? "no acceptable C compiler found in \$PATH
3803 See \`config.log' for more details" "$LINENO" 5; }
3805 # Provide some information about the compiler.
3806 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3807 set X $ac_compile
3808 ac_compiler=$2
3809 for ac_option in --version -v -V -qversion; do
3810 { { ac_try="$ac_compiler $ac_option >&5"
3811 case "(($ac_try" in
3812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3813 *) ac_try_echo=$ac_try;;
3814 esac
3815 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3816 $as_echo "$ac_try_echo"; } >&5
3817 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3818 ac_status=$?
3819 if test -s conftest.err; then
3820 sed '10a\
3821 ... rest of stderr output deleted ...
3822 10q' conftest.err >conftest.er1
3823 cat conftest.er1 >&5
3825 rm -f conftest.er1 conftest.err
3826 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3827 test $ac_status = 0; }
3828 done
3830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3831 /* end confdefs.h. */
3834 main ()
3838 return 0;
3840 _ACEOF
3841 ac_clean_files_save=$ac_clean_files
3842 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3843 # Try to create an executable without -o first, disregard a.out.
3844 # It will help us diagnose broken compilers, and finding out an intuition
3845 # of exeext.
3846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3847 $as_echo_n "checking whether the C compiler works... " >&6; }
3848 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3850 # The possible output files:
3851 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3853 ac_rmfiles=
3854 for ac_file in $ac_files
3856 case $ac_file in
3857 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3858 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3859 esac
3860 done
3861 rm -f $ac_rmfiles
3863 if { { ac_try="$ac_link_default"
3864 case "(($ac_try" in
3865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3866 *) ac_try_echo=$ac_try;;
3867 esac
3868 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3869 $as_echo "$ac_try_echo"; } >&5
3870 (eval "$ac_link_default") 2>&5
3871 ac_status=$?
3872 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3873 test $ac_status = 0; }; then :
3874 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3875 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3876 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3877 # so that the user can short-circuit this test for compilers unknown to
3878 # Autoconf.
3879 for ac_file in $ac_files ''
3881 test -f "$ac_file" || continue
3882 case $ac_file in
3883 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3885 [ab].out )
3886 # We found the default executable, but exeext='' is most
3887 # certainly right.
3888 break;;
3889 *.* )
3890 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3891 then :; else
3892 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3894 # We set ac_cv_exeext here because the later test for it is not
3895 # safe: cross compilers may not add the suffix if given an `-o'
3896 # argument, so we may need to know it at that point already.
3897 # Even if this section looks crufty: it has the advantage of
3898 # actually working.
3899 break;;
3901 break;;
3902 esac
3903 done
3904 test "$ac_cv_exeext" = no && ac_cv_exeext=
3906 else
3907 ac_file=''
3909 if test -z "$ac_file"; then :
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3911 $as_echo "no" >&6; }
3912 $as_echo "$as_me: failed program was:" >&5
3913 sed 's/^/| /' conftest.$ac_ext >&5
3915 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3916 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3917 as_fn_error 77 "C compiler cannot create executables
3918 See \`config.log' for more details" "$LINENO" 5; }
3919 else
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3921 $as_echo "yes" >&6; }
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3924 $as_echo_n "checking for C compiler default output file name... " >&6; }
3925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3926 $as_echo "$ac_file" >&6; }
3927 ac_exeext=$ac_cv_exeext
3929 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3930 ac_clean_files=$ac_clean_files_save
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3932 $as_echo_n "checking for suffix of executables... " >&6; }
3933 if { { ac_try="$ac_link"
3934 case "(($ac_try" in
3935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3936 *) ac_try_echo=$ac_try;;
3937 esac
3938 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3939 $as_echo "$ac_try_echo"; } >&5
3940 (eval "$ac_link") 2>&5
3941 ac_status=$?
3942 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3943 test $ac_status = 0; }; then :
3944 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3945 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3946 # work properly (i.e., refer to `conftest.exe'), while it won't with
3947 # `rm'.
3948 for ac_file in conftest.exe conftest conftest.*; do
3949 test -f "$ac_file" || continue
3950 case $ac_file in
3951 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3952 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3953 break;;
3954 * ) break;;
3955 esac
3956 done
3957 else
3958 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3959 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3960 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3961 See \`config.log' for more details" "$LINENO" 5; }
3963 rm -f conftest conftest$ac_cv_exeext
3964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3965 $as_echo "$ac_cv_exeext" >&6; }
3967 rm -f conftest.$ac_ext
3968 EXEEXT=$ac_cv_exeext
3969 ac_exeext=$EXEEXT
3970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3971 /* end confdefs.h. */
3972 #include <stdio.h>
3974 main ()
3976 FILE *f = fopen ("conftest.out", "w");
3977 return ferror (f) || fclose (f) != 0;
3980 return 0;
3982 _ACEOF
3983 ac_clean_files="$ac_clean_files conftest.out"
3984 # Check that the compiler produces executables we can run. If not, either
3985 # the compiler is broken, or we cross compile.
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3987 $as_echo_n "checking whether we are cross compiling... " >&6; }
3988 if test "$cross_compiling" != yes; then
3989 { { ac_try="$ac_link"
3990 case "(($ac_try" in
3991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3992 *) ac_try_echo=$ac_try;;
3993 esac
3994 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3995 $as_echo "$ac_try_echo"; } >&5
3996 (eval "$ac_link") 2>&5
3997 ac_status=$?
3998 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3999 test $ac_status = 0; }
4000 if { ac_try='./conftest$ac_cv_exeext'
4001 { { case "(($ac_try" in
4002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4003 *) ac_try_echo=$ac_try;;
4004 esac
4005 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4006 $as_echo "$ac_try_echo"; } >&5
4007 (eval "$ac_try") 2>&5
4008 ac_status=$?
4009 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4010 test $ac_status = 0; }; }; then
4011 cross_compiling=no
4012 else
4013 if test "$cross_compiling" = maybe; then
4014 cross_compiling=yes
4015 else
4016 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4017 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4018 as_fn_error $? "cannot run C compiled programs.
4019 If you meant to cross compile, use \`--host'.
4020 See \`config.log' for more details" "$LINENO" 5; }
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4025 $as_echo "$cross_compiling" >&6; }
4027 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4028 ac_clean_files=$ac_clean_files_save
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4030 $as_echo_n "checking for suffix of object files... " >&6; }
4031 if ${ac_cv_objext+:} false; then :
4032 $as_echo_n "(cached) " >&6
4033 else
4034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4035 /* end confdefs.h. */
4038 main ()
4042 return 0;
4044 _ACEOF
4045 rm -f conftest.o conftest.obj
4046 if { { ac_try="$ac_compile"
4047 case "(($ac_try" in
4048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4049 *) ac_try_echo=$ac_try;;
4050 esac
4051 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4052 $as_echo "$ac_try_echo"; } >&5
4053 (eval "$ac_compile") 2>&5
4054 ac_status=$?
4055 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4056 test $ac_status = 0; }; then :
4057 for ac_file in conftest.o conftest.obj conftest.*; do
4058 test -f "$ac_file" || continue;
4059 case $ac_file in
4060 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4061 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4062 break;;
4063 esac
4064 done
4065 else
4066 $as_echo "$as_me: failed program was:" >&5
4067 sed 's/^/| /' conftest.$ac_ext >&5
4069 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4070 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4071 as_fn_error $? "cannot compute suffix of object files: cannot compile
4072 See \`config.log' for more details" "$LINENO" 5; }
4074 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4077 $as_echo "$ac_cv_objext" >&6; }
4078 OBJEXT=$ac_cv_objext
4079 ac_objext=$OBJEXT
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4081 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4082 if ${ac_cv_c_compiler_gnu+:} false; then :
4083 $as_echo_n "(cached) " >&6
4084 else
4085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4086 /* end confdefs.h. */
4089 main ()
4091 #ifndef __GNUC__
4092 choke me
4093 #endif
4096 return 0;
4098 _ACEOF
4099 if ac_fn_c_try_compile "$LINENO"; then :
4100 ac_compiler_gnu=yes
4101 else
4102 ac_compiler_gnu=no
4104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4105 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4109 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4110 if test $ac_compiler_gnu = yes; then
4111 GCC=yes
4112 else
4113 GCC=
4115 ac_test_CFLAGS=${CFLAGS+set}
4116 ac_save_CFLAGS=$CFLAGS
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4118 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4119 if ${ac_cv_prog_cc_g+:} false; then :
4120 $as_echo_n "(cached) " >&6
4121 else
4122 ac_save_c_werror_flag=$ac_c_werror_flag
4123 ac_c_werror_flag=yes
4124 ac_cv_prog_cc_g=no
4125 CFLAGS="-g"
4126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4127 /* end confdefs.h. */
4130 main ()
4134 return 0;
4136 _ACEOF
4137 if ac_fn_c_try_compile "$LINENO"; then :
4138 ac_cv_prog_cc_g=yes
4139 else
4140 CFLAGS=""
4141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4142 /* end confdefs.h. */
4145 main ()
4149 return 0;
4151 _ACEOF
4152 if ac_fn_c_try_compile "$LINENO"; then :
4154 else
4155 ac_c_werror_flag=$ac_save_c_werror_flag
4156 CFLAGS="-g"
4157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4158 /* end confdefs.h. */
4161 main ()
4165 return 0;
4167 _ACEOF
4168 if ac_fn_c_try_compile "$LINENO"; then :
4169 ac_cv_prog_cc_g=yes
4171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4176 ac_c_werror_flag=$ac_save_c_werror_flag
4178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4179 $as_echo "$ac_cv_prog_cc_g" >&6; }
4180 if test "$ac_test_CFLAGS" = set; then
4181 CFLAGS=$ac_save_CFLAGS
4182 elif test $ac_cv_prog_cc_g = yes; then
4183 if test "$GCC" = yes; then
4184 CFLAGS="-g -O2"
4185 else
4186 CFLAGS="-g"
4188 else
4189 if test "$GCC" = yes; then
4190 CFLAGS="-O2"
4191 else
4192 CFLAGS=
4195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4196 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4197 if ${ac_cv_prog_cc_c89+:} false; then :
4198 $as_echo_n "(cached) " >&6
4199 else
4200 ac_cv_prog_cc_c89=no
4201 ac_save_CC=$CC
4202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4203 /* end confdefs.h. */
4204 #include <stdarg.h>
4205 #include <stdio.h>
4206 struct stat;
4207 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4208 struct buf { int x; };
4209 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4210 static char *e (p, i)
4211 char **p;
4212 int i;
4214 return p[i];
4216 static char *f (char * (*g) (char **, int), char **p, ...)
4218 char *s;
4219 va_list v;
4220 va_start (v,p);
4221 s = g (p, va_arg (v,int));
4222 va_end (v);
4223 return s;
4226 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4227 function prototypes and stuff, but not '\xHH' hex character constants.
4228 These don't provoke an error unfortunately, instead are silently treated
4229 as 'x'. The following induces an error, until -std is added to get
4230 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4231 array size at least. It's necessary to write '\x00'==0 to get something
4232 that's true only with -std. */
4233 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4235 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4236 inside strings and character constants. */
4237 #define FOO(x) 'x'
4238 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4240 int test (int i, double x);
4241 struct s1 {int (*f) (int a);};
4242 struct s2 {int (*f) (double a);};
4243 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4244 int argc;
4245 char **argv;
4247 main ()
4249 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4251 return 0;
4253 _ACEOF
4254 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4255 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4257 CC="$ac_save_CC $ac_arg"
4258 if ac_fn_c_try_compile "$LINENO"; then :
4259 ac_cv_prog_cc_c89=$ac_arg
4261 rm -f core conftest.err conftest.$ac_objext
4262 test "x$ac_cv_prog_cc_c89" != "xno" && break
4263 done
4264 rm -f conftest.$ac_ext
4265 CC=$ac_save_CC
4268 # AC_CACHE_VAL
4269 case "x$ac_cv_prog_cc_c89" in
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4272 $as_echo "none needed" >&6; } ;;
4273 xno)
4274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4275 $as_echo "unsupported" >&6; } ;;
4277 CC="$CC $ac_cv_prog_cc_c89"
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4279 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4280 esac
4281 if test "x$ac_cv_prog_cc_c89" != xno; then :
4285 ac_ext=c
4286 ac_cpp='$CPP $CPPFLAGS'
4287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4291 ac_ext=cpp
4292 ac_cpp='$CXXCPP $CPPFLAGS'
4293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4296 if test -z "$CXX"; then
4297 if test -n "$CCC"; then
4298 CXX=$CCC
4299 else
4300 if test -n "$ac_tool_prefix"; then
4301 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4303 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4304 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4306 $as_echo_n "checking for $ac_word... " >&6; }
4307 if ${ac_cv_prog_CXX+:} false; then :
4308 $as_echo_n "(cached) " >&6
4309 else
4310 if test -n "$CXX"; then
4311 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4312 else
4313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4314 for as_dir in $PATH
4316 IFS=$as_save_IFS
4317 test -z "$as_dir" && as_dir=.
4318 for ac_exec_ext in '' $ac_executable_extensions; do
4319 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4320 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4321 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4322 break 2
4324 done
4325 done
4326 IFS=$as_save_IFS
4330 CXX=$ac_cv_prog_CXX
4331 if test -n "$CXX"; then
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4333 $as_echo "$CXX" >&6; }
4334 else
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4336 $as_echo "no" >&6; }
4340 test -n "$CXX" && break
4341 done
4343 if test -z "$CXX"; then
4344 ac_ct_CXX=$CXX
4345 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4347 # Extract the first word of "$ac_prog", so it can be a program name with args.
4348 set dummy $ac_prog; ac_word=$2
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4350 $as_echo_n "checking for $ac_word... " >&6; }
4351 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4352 $as_echo_n "(cached) " >&6
4353 else
4354 if test -n "$ac_ct_CXX"; then
4355 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4356 else
4357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4358 for as_dir in $PATH
4360 IFS=$as_save_IFS
4361 test -z "$as_dir" && as_dir=.
4362 for ac_exec_ext in '' $ac_executable_extensions; do
4363 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4364 ac_cv_prog_ac_ct_CXX="$ac_prog"
4365 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4366 break 2
4368 done
4369 done
4370 IFS=$as_save_IFS
4374 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4375 if test -n "$ac_ct_CXX"; then
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4377 $as_echo "$ac_ct_CXX" >&6; }
4378 else
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4380 $as_echo "no" >&6; }
4384 test -n "$ac_ct_CXX" && break
4385 done
4387 if test "x$ac_ct_CXX" = x; then
4388 CXX="g++"
4389 else
4390 case $cross_compiling:$ac_tool_warned in
4391 yes:)
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4393 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4394 ac_tool_warned=yes ;;
4395 esac
4396 CXX=$ac_ct_CXX
4402 # Provide some information about the compiler.
4403 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4404 set X $ac_compile
4405 ac_compiler=$2
4406 for ac_option in --version -v -V -qversion; do
4407 { { ac_try="$ac_compiler $ac_option >&5"
4408 case "(($ac_try" in
4409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4410 *) ac_try_echo=$ac_try;;
4411 esac
4412 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4413 $as_echo "$ac_try_echo"; } >&5
4414 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4415 ac_status=$?
4416 if test -s conftest.err; then
4417 sed '10a\
4418 ... rest of stderr output deleted ...
4419 10q' conftest.err >conftest.er1
4420 cat conftest.er1 >&5
4422 rm -f conftest.er1 conftest.err
4423 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4424 test $ac_status = 0; }
4425 done
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4428 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4429 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4430 $as_echo_n "(cached) " >&6
4431 else
4432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4433 /* end confdefs.h. */
4436 main ()
4438 #ifndef __GNUC__
4439 choke me
4440 #endif
4443 return 0;
4445 _ACEOF
4446 if ac_fn_cxx_try_compile "$LINENO"; then :
4447 ac_compiler_gnu=yes
4448 else
4449 ac_compiler_gnu=no
4451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4452 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4456 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4457 if test $ac_compiler_gnu = yes; then
4458 GXX=yes
4459 else
4460 GXX=
4462 ac_test_CXXFLAGS=${CXXFLAGS+set}
4463 ac_save_CXXFLAGS=$CXXFLAGS
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4465 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4466 if ${ac_cv_prog_cxx_g+:} false; then :
4467 $as_echo_n "(cached) " >&6
4468 else
4469 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4470 ac_cxx_werror_flag=yes
4471 ac_cv_prog_cxx_g=no
4472 CXXFLAGS="-g"
4473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4474 /* end confdefs.h. */
4477 main ()
4481 return 0;
4483 _ACEOF
4484 if ac_fn_cxx_try_compile "$LINENO"; then :
4485 ac_cv_prog_cxx_g=yes
4486 else
4487 CXXFLAGS=""
4488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4489 /* end confdefs.h. */
4492 main ()
4496 return 0;
4498 _ACEOF
4499 if ac_fn_cxx_try_compile "$LINENO"; then :
4501 else
4502 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4503 CXXFLAGS="-g"
4504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4505 /* end confdefs.h. */
4508 main ()
4512 return 0;
4514 _ACEOF
4515 if ac_fn_cxx_try_compile "$LINENO"; then :
4516 ac_cv_prog_cxx_g=yes
4518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4523 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4526 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4527 if test "$ac_test_CXXFLAGS" = set; then
4528 CXXFLAGS=$ac_save_CXXFLAGS
4529 elif test $ac_cv_prog_cxx_g = yes; then
4530 if test "$GXX" = yes; then
4531 CXXFLAGS="-g -O2"
4532 else
4533 CXXFLAGS="-g"
4535 else
4536 if test "$GXX" = yes; then
4537 CXXFLAGS="-O2"
4538 else
4539 CXXFLAGS=
4542 ac_ext=c
4543 ac_cpp='$CPP $CPPFLAGS'
4544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4548 if test -n "$ac_tool_prefix"; then
4549 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4550 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4552 $as_echo_n "checking for $ac_word... " >&6; }
4553 if ${ac_cv_prog_CPPBIN+:} false; then :
4554 $as_echo_n "(cached) " >&6
4555 else
4556 if test -n "$CPPBIN"; then
4557 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4558 else
4559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4560 for as_dir in $PATH
4562 IFS=$as_save_IFS
4563 test -z "$as_dir" && as_dir=.
4564 for ac_exec_ext in '' $ac_executable_extensions; do
4565 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4566 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4567 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4568 break 2
4570 done
4571 done
4572 IFS=$as_save_IFS
4576 CPPBIN=$ac_cv_prog_CPPBIN
4577 if test -n "$CPPBIN"; then
4578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4579 $as_echo "$CPPBIN" >&6; }
4580 else
4581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4582 $as_echo "no" >&6; }
4587 if test -z "$ac_cv_prog_CPPBIN"; then
4588 ac_ct_CPPBIN=$CPPBIN
4589 # Extract the first word of "cpp", so it can be a program name with args.
4590 set dummy cpp; ac_word=$2
4591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4592 $as_echo_n "checking for $ac_word... " >&6; }
4593 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4594 $as_echo_n "(cached) " >&6
4595 else
4596 if test -n "$ac_ct_CPPBIN"; then
4597 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4598 else
4599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4600 for as_dir in $PATH
4602 IFS=$as_save_IFS
4603 test -z "$as_dir" && as_dir=.
4604 for ac_exec_ext in '' $ac_executable_extensions; do
4605 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4606 ac_cv_prog_ac_ct_CPPBIN="cpp"
4607 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4608 break 2
4610 done
4611 done
4612 IFS=$as_save_IFS
4616 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4617 if test -n "$ac_ct_CPPBIN"; then
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4619 $as_echo "$ac_ct_CPPBIN" >&6; }
4620 else
4621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4622 $as_echo "no" >&6; }
4625 if test "x$ac_ct_CPPBIN" = x; then
4626 CPPBIN="cpp"
4627 else
4628 case $cross_compiling:$ac_tool_warned in
4629 yes:)
4630 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4631 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4632 ac_tool_warned=yes ;;
4633 esac
4634 CPPBIN=$ac_ct_CPPBIN
4636 else
4637 CPPBIN="$ac_cv_prog_CPPBIN"
4641 cat >>confdefs.h <<_ACEOF
4642 #define EXEEXT "$ac_exeext"
4643 _ACEOF
4646 case $host in
4647 *-darwin*)
4648 if test "x$enable_win64" = "xyes"
4649 then
4650 CC="$CC -m64"
4651 CXX="$CXX -m64"
4652 host_cpu="x86_64"
4653 notice_platform="64-bit "
4654 TARGETFLAGS="-m64"
4656 else
4657 CC="$CC -m32"
4658 CXX="$CXX -m32"
4659 host_cpu="i386"
4660 notice_platform="32-bit "
4661 TARGETFLAGS="-m32"
4663 enable_win16=${enable_win16:-yes}
4665 with_fontconfig=${with_fontconfig:-no}
4667 x86_64*)
4668 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4669 then
4670 CC="$CC -m32"
4671 CXX="$CXX -m32"
4672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4673 $as_echo_n "checking whether $CC works... " >&6; }
4675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4676 /* end confdefs.h. */
4679 main ()
4683 return 0;
4685 _ACEOF
4686 if ac_fn_c_try_link "$LINENO"; then :
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4688 $as_echo "yes" >&6; }
4689 else
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4691 $as_echo "no" >&6; }
4692 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4694 rm -f core conftest.err conftest.$ac_objext \
4695 conftest$ac_exeext conftest.$ac_ext
4696 host_cpu="i386"
4697 notice_platform="32-bit "
4698 TARGETFLAGS="-m32"
4700 enable_win16=${enable_win16:-yes}
4701 else
4702 if test "x${GCC}" = "xyes"
4703 then
4704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4705 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4707 /* end confdefs.h. */
4708 #include <stdarg.h>
4710 main ()
4712 void func(__builtin_ms_va_list *args);
4714 return 0;
4716 _ACEOF
4717 if ac_fn_c_try_compile "$LINENO"; then :
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4719 $as_echo "yes" >&6; }
4720 else
4721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4722 $as_echo "no" >&6; }
4723 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4727 TARGETFLAGS="-m64"
4731 arm*)
4732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4733 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4735 /* end confdefs.h. */
4736 int ac_test(int i) { return i; }
4738 main ()
4740 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4742 return 0;
4744 _ACEOF
4745 if ac_fn_c_try_link "$LINENO"; then :
4746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4747 $as_echo "yes" >&6; }
4748 else
4749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4750 $as_echo "no" >&6; }
4751 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4753 rm -f core conftest.err conftest.$ac_objext \
4754 conftest$ac_exeext conftest.$ac_ext
4755 CFLAGS="$CFLAGS -marm"
4757 *-mingw32*|*-cygwin*)
4758 enable_win16=${enable_win16:-no}
4759 CFLAGS="$CFLAGS -D_WIN32"
4761 i[3456789]86*)
4762 enable_win16=${enable_win16:-yes}
4764 esac
4766 enable_win16=${enable_win16:-no}
4767 enable_win64=${enable_win64:-no}
4769 enable_winetest=${enable_winetest:-$enable_tests}
4771 if test -n "$with_wine64"
4772 then
4773 if test "x$enable_win64" = "xyes"
4774 then
4775 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4776 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4778 WOW64_DISABLE=\#
4780 enable_fonts=${enable_fonts:-no}
4781 enable_server=${enable_server:-no}
4782 elif test "x$enable_win64" = "xyes"
4783 then
4784 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4788 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4789 if ${wine_cv_toolsdir+:} false; then :
4790 $as_echo_n "(cached) " >&6
4791 else
4792 wine_cv_toolsdir="$with_wine_tools"
4793 if test -z "$with_wine_tools"; then
4794 if test "$cross_compiling" = "yes"; then
4795 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4796 elif test -n "$with_wine64"; then
4797 wine_cv_toolsdir="$with_wine64"
4800 if test -z "$wine_cv_toolsdir"; then
4801 wine_cv_toolsdir="\$(top_builddir)"
4802 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4803 case "$wine_cv_toolsdir" in
4804 /*) ;;
4805 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
4806 esac
4807 enable_tools=${enable_tools:-no}
4808 else
4809 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4813 $as_echo "$wine_cv_toolsdir" >&6; }
4814 TOOLSDIR=$wine_cv_toolsdir
4816 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4817 then
4818 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
4822 for ac_prog in flex
4824 # Extract the first word of "$ac_prog", so it can be a program name with args.
4825 set dummy $ac_prog; ac_word=$2
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4827 $as_echo_n "checking for $ac_word... " >&6; }
4828 if ${ac_cv_prog_FLEX+:} false; then :
4829 $as_echo_n "(cached) " >&6
4830 else
4831 if test -n "$FLEX"; then
4832 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
4833 else
4834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4835 for as_dir in $PATH
4837 IFS=$as_save_IFS
4838 test -z "$as_dir" && as_dir=.
4839 for ac_exec_ext in '' $ac_executable_extensions; do
4840 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4841 ac_cv_prog_FLEX="$ac_prog"
4842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4843 break 2
4845 done
4846 done
4847 IFS=$as_save_IFS
4851 FLEX=$ac_cv_prog_FLEX
4852 if test -n "$FLEX"; then
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4854 $as_echo "$FLEX" >&6; }
4855 else
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4857 $as_echo "no" >&6; }
4861 test -n "$FLEX" && break
4862 done
4863 test -n "$FLEX" || FLEX="none"
4865 if test "$FLEX" = "none"
4866 then
4867 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4870 $as_echo_n "checking whether flex is recent enough... " >&6; }
4871 cat >conftest.l <<EOF
4872 %top{
4873 #include "prediluvian.h"
4877 if $FLEX -t conftest.l >/dev/null 2>&5
4878 then
4879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4880 $as_echo "yes" >&6; }
4881 else
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4883 $as_echo "no" >&6; }
4884 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4887 for ac_prog in bison
4889 # Extract the first word of "$ac_prog", so it can be a program name with args.
4890 set dummy $ac_prog; ac_word=$2
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4892 $as_echo_n "checking for $ac_word... " >&6; }
4893 if ${ac_cv_prog_BISON+:} false; then :
4894 $as_echo_n "(cached) " >&6
4895 else
4896 if test -n "$BISON"; then
4897 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4898 else
4899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4900 for as_dir in $PATH
4902 IFS=$as_save_IFS
4903 test -z "$as_dir" && as_dir=.
4904 for ac_exec_ext in '' $ac_executable_extensions; do
4905 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4906 ac_cv_prog_BISON="$ac_prog"
4907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4908 break 2
4910 done
4911 done
4912 IFS=$as_save_IFS
4916 BISON=$ac_cv_prog_BISON
4917 if test -n "$BISON"; then
4918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4919 $as_echo "$BISON" >&6; }
4920 else
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4922 $as_echo "no" >&6; }
4926 test -n "$BISON" && break
4927 done
4928 test -n "$BISON" || BISON="none"
4930 if test "$BISON" = "none"
4931 then
4932 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4935 if test -n "$ac_tool_prefix"; then
4936 for ac_prog in ar gar
4938 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4939 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4941 $as_echo_n "checking for $ac_word... " >&6; }
4942 if ${ac_cv_prog_AR+:} false; then :
4943 $as_echo_n "(cached) " >&6
4944 else
4945 if test -n "$AR"; then
4946 ac_cv_prog_AR="$AR" # Let the user override the test.
4947 else
4948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4949 for as_dir in $PATH
4951 IFS=$as_save_IFS
4952 test -z "$as_dir" && as_dir=.
4953 for ac_exec_ext in '' $ac_executable_extensions; do
4954 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4955 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4957 break 2
4959 done
4960 done
4961 IFS=$as_save_IFS
4965 AR=$ac_cv_prog_AR
4966 if test -n "$AR"; then
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4968 $as_echo "$AR" >&6; }
4969 else
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4971 $as_echo "no" >&6; }
4975 test -n "$AR" && break
4976 done
4978 if test -z "$AR"; then
4979 ac_ct_AR=$AR
4980 for ac_prog in ar gar
4982 # Extract the first word of "$ac_prog", so it can be a program name with args.
4983 set dummy $ac_prog; ac_word=$2
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4985 $as_echo_n "checking for $ac_word... " >&6; }
4986 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4987 $as_echo_n "(cached) " >&6
4988 else
4989 if test -n "$ac_ct_AR"; then
4990 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4991 else
4992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4993 for as_dir in $PATH
4995 IFS=$as_save_IFS
4996 test -z "$as_dir" && as_dir=.
4997 for ac_exec_ext in '' $ac_executable_extensions; do
4998 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4999 ac_cv_prog_ac_ct_AR="$ac_prog"
5000 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5001 break 2
5003 done
5004 done
5005 IFS=$as_save_IFS
5009 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5010 if test -n "$ac_ct_AR"; then
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5012 $as_echo "$ac_ct_AR" >&6; }
5013 else
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5015 $as_echo "no" >&6; }
5019 test -n "$ac_ct_AR" && break
5020 done
5022 if test "x$ac_ct_AR" = x; then
5023 AR="ar"
5024 else
5025 case $cross_compiling:$ac_tool_warned in
5026 yes:)
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5028 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5029 ac_tool_warned=yes ;;
5030 esac
5031 AR=$ac_ct_AR
5035 if test -n "$ac_tool_prefix"; then
5036 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5037 set dummy ${ac_tool_prefix}strip; ac_word=$2
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5039 $as_echo_n "checking for $ac_word... " >&6; }
5040 if ${ac_cv_prog_STRIP+:} false; then :
5041 $as_echo_n "(cached) " >&6
5042 else
5043 if test -n "$STRIP"; then
5044 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5045 else
5046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5047 for as_dir in $PATH
5049 IFS=$as_save_IFS
5050 test -z "$as_dir" && as_dir=.
5051 for ac_exec_ext in '' $ac_executable_extensions; do
5052 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5053 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5055 break 2
5057 done
5058 done
5059 IFS=$as_save_IFS
5063 STRIP=$ac_cv_prog_STRIP
5064 if test -n "$STRIP"; then
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5066 $as_echo "$STRIP" >&6; }
5067 else
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5069 $as_echo "no" >&6; }
5074 if test -z "$ac_cv_prog_STRIP"; then
5075 ac_ct_STRIP=$STRIP
5076 # Extract the first word of "strip", so it can be a program name with args.
5077 set dummy strip; ac_word=$2
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5079 $as_echo_n "checking for $ac_word... " >&6; }
5080 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5081 $as_echo_n "(cached) " >&6
5082 else
5083 if test -n "$ac_ct_STRIP"; then
5084 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5085 else
5086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5087 for as_dir in $PATH
5089 IFS=$as_save_IFS
5090 test -z "$as_dir" && as_dir=.
5091 for ac_exec_ext in '' $ac_executable_extensions; do
5092 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5093 ac_cv_prog_ac_ct_STRIP="strip"
5094 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5095 break 2
5097 done
5098 done
5099 IFS=$as_save_IFS
5103 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5104 if test -n "$ac_ct_STRIP"; then
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5106 $as_echo "$ac_ct_STRIP" >&6; }
5107 else
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5109 $as_echo "no" >&6; }
5112 if test "x$ac_ct_STRIP" = x; then
5113 STRIP="strip"
5114 else
5115 case $cross_compiling:$ac_tool_warned in
5116 yes:)
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5118 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5119 ac_tool_warned=yes ;;
5120 esac
5121 STRIP=$ac_ct_STRIP
5123 else
5124 STRIP="$ac_cv_prog_STRIP"
5127 ARFLAGS=rc
5129 if test -n "$ac_tool_prefix"; then
5130 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5131 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5133 $as_echo_n "checking for $ac_word... " >&6; }
5134 if ${ac_cv_prog_RANLIB+:} false; then :
5135 $as_echo_n "(cached) " >&6
5136 else
5137 if test -n "$RANLIB"; then
5138 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5139 else
5140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5141 for as_dir in $PATH
5143 IFS=$as_save_IFS
5144 test -z "$as_dir" && as_dir=.
5145 for ac_exec_ext in '' $ac_executable_extensions; do
5146 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5147 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5148 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5149 break 2
5151 done
5152 done
5153 IFS=$as_save_IFS
5157 RANLIB=$ac_cv_prog_RANLIB
5158 if test -n "$RANLIB"; then
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5160 $as_echo "$RANLIB" >&6; }
5161 else
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5163 $as_echo "no" >&6; }
5168 if test -z "$ac_cv_prog_RANLIB"; then
5169 ac_ct_RANLIB=$RANLIB
5170 # Extract the first word of "ranlib", so it can be a program name with args.
5171 set dummy ranlib; ac_word=$2
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5173 $as_echo_n "checking for $ac_word... " >&6; }
5174 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5175 $as_echo_n "(cached) " >&6
5176 else
5177 if test -n "$ac_ct_RANLIB"; then
5178 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5179 else
5180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5181 for as_dir in $PATH
5183 IFS=$as_save_IFS
5184 test -z "$as_dir" && as_dir=.
5185 for ac_exec_ext in '' $ac_executable_extensions; do
5186 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5187 ac_cv_prog_ac_ct_RANLIB="ranlib"
5188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5189 break 2
5191 done
5192 done
5193 IFS=$as_save_IFS
5197 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5198 if test -n "$ac_ct_RANLIB"; then
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5200 $as_echo "$ac_ct_RANLIB" >&6; }
5201 else
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5203 $as_echo "no" >&6; }
5206 if test "x$ac_ct_RANLIB" = x; then
5207 RANLIB=":"
5208 else
5209 case $cross_compiling:$ac_tool_warned in
5210 yes:)
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5212 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5213 ac_tool_warned=yes ;;
5214 esac
5215 RANLIB=$ac_ct_RANLIB
5217 else
5218 RANLIB="$ac_cv_prog_RANLIB"
5221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5222 $as_echo_n "checking whether ln -s works... " >&6; }
5223 LN_S=$as_ln_s
5224 if test "$LN_S" = "ln -s"; then
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5226 $as_echo "yes" >&6; }
5227 else
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5229 $as_echo "no, using $LN_S" >&6; }
5232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5233 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5234 if ${ac_cv_path_GREP+:} false; then :
5235 $as_echo_n "(cached) " >&6
5236 else
5237 if test -z "$GREP"; then
5238 ac_path_GREP_found=false
5239 # Loop through the user's path and test for each of PROGNAME-LIST
5240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5241 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5243 IFS=$as_save_IFS
5244 test -z "$as_dir" && as_dir=.
5245 for ac_prog in grep ggrep; do
5246 for ac_exec_ext in '' $ac_executable_extensions; do
5247 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5248 as_fn_executable_p "$ac_path_GREP" || continue
5249 # Check for GNU ac_path_GREP and select it if it is found.
5250 # Check for GNU $ac_path_GREP
5251 case `"$ac_path_GREP" --version 2>&1` in
5252 *GNU*)
5253 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5255 ac_count=0
5256 $as_echo_n 0123456789 >"conftest.in"
5257 while :
5259 cat "conftest.in" "conftest.in" >"conftest.tmp"
5260 mv "conftest.tmp" "conftest.in"
5261 cp "conftest.in" "conftest.nl"
5262 $as_echo 'GREP' >> "conftest.nl"
5263 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5264 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5265 as_fn_arith $ac_count + 1 && ac_count=$as_val
5266 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5267 # Best one so far, save it but keep looking for a better one
5268 ac_cv_path_GREP="$ac_path_GREP"
5269 ac_path_GREP_max=$ac_count
5271 # 10*(2^10) chars as input seems more than enough
5272 test $ac_count -gt 10 && break
5273 done
5274 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5275 esac
5277 $ac_path_GREP_found && break 3
5278 done
5279 done
5280 done
5281 IFS=$as_save_IFS
5282 if test -z "$ac_cv_path_GREP"; then
5283 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5285 else
5286 ac_cv_path_GREP=$GREP
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5291 $as_echo "$ac_cv_path_GREP" >&6; }
5292 GREP="$ac_cv_path_GREP"
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5296 $as_echo_n "checking for egrep... " >&6; }
5297 if ${ac_cv_path_EGREP+:} false; then :
5298 $as_echo_n "(cached) " >&6
5299 else
5300 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5301 then ac_cv_path_EGREP="$GREP -E"
5302 else
5303 if test -z "$EGREP"; then
5304 ac_path_EGREP_found=false
5305 # Loop through the user's path and test for each of PROGNAME-LIST
5306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5307 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5309 IFS=$as_save_IFS
5310 test -z "$as_dir" && as_dir=.
5311 for ac_prog in egrep; do
5312 for ac_exec_ext in '' $ac_executable_extensions; do
5313 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5314 as_fn_executable_p "$ac_path_EGREP" || continue
5315 # Check for GNU ac_path_EGREP and select it if it is found.
5316 # Check for GNU $ac_path_EGREP
5317 case `"$ac_path_EGREP" --version 2>&1` in
5318 *GNU*)
5319 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5321 ac_count=0
5322 $as_echo_n 0123456789 >"conftest.in"
5323 while :
5325 cat "conftest.in" "conftest.in" >"conftest.tmp"
5326 mv "conftest.tmp" "conftest.in"
5327 cp "conftest.in" "conftest.nl"
5328 $as_echo 'EGREP' >> "conftest.nl"
5329 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5330 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5331 as_fn_arith $ac_count + 1 && ac_count=$as_val
5332 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5333 # Best one so far, save it but keep looking for a better one
5334 ac_cv_path_EGREP="$ac_path_EGREP"
5335 ac_path_EGREP_max=$ac_count
5337 # 10*(2^10) chars as input seems more than enough
5338 test $ac_count -gt 10 && break
5339 done
5340 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5341 esac
5343 $ac_path_EGREP_found && break 3
5344 done
5345 done
5346 done
5347 IFS=$as_save_IFS
5348 if test -z "$ac_cv_path_EGREP"; then
5349 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5351 else
5352 ac_cv_path_EGREP=$EGREP
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5358 $as_echo "$ac_cv_path_EGREP" >&6; }
5359 EGREP="$ac_cv_path_EGREP"
5362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
5363 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
5364 if test -z "$MKDIR_P"; then
5365 if ${ac_cv_path_mkdir+:} false; then :
5366 $as_echo_n "(cached) " >&6
5367 else
5368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5369 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
5371 IFS=$as_save_IFS
5372 test -z "$as_dir" && as_dir=.
5373 for ac_prog in mkdir gmkdir; do
5374 for ac_exec_ext in '' $ac_executable_extensions; do
5375 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
5376 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
5377 'mkdir (GNU coreutils) '* | \
5378 'mkdir (coreutils) '* | \
5379 'mkdir (fileutils) '4.1*)
5380 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
5381 break 3;;
5382 esac
5383 done
5384 done
5385 done
5386 IFS=$as_save_IFS
5390 test -d ./--version && rmdir ./--version
5391 if test "${ac_cv_path_mkdir+set}" = set; then
5392 MKDIR_P="$ac_cv_path_mkdir -p"
5393 else
5394 # As a last resort, use the slow shell script. Don't cache a
5395 # value for MKDIR_P within a source directory, because that will
5396 # break other packages using the cache if that directory is
5397 # removed, or if the value is a relative name.
5398 MKDIR_P="$ac_install_sh -d"
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
5402 $as_echo "$MKDIR_P" >&6; }
5404 # Extract the first word of "ldconfig", so it can be a program name with args.
5405 set dummy ldconfig; ac_word=$2
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5407 $as_echo_n "checking for $ac_word... " >&6; }
5408 if ${ac_cv_path_LDCONFIG+:} false; then :
5409 $as_echo_n "(cached) " >&6
5410 else
5411 case $LDCONFIG in
5412 [\\/]* | ?:[\\/]*)
5413 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5417 for as_dir in /sbin /usr/sbin $PATH
5419 IFS=$as_save_IFS
5420 test -z "$as_dir" && as_dir=.
5421 for ac_exec_ext in '' $ac_executable_extensions; do
5422 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5423 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5424 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5425 break 2
5427 done
5428 done
5429 IFS=$as_save_IFS
5431 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5433 esac
5435 LDCONFIG=$ac_cv_path_LDCONFIG
5436 if test -n "$LDCONFIG"; then
5437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5438 $as_echo "$LDCONFIG" >&6; }
5439 else
5440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5441 $as_echo "no" >&6; }
5446 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM="STRIPPROG=\"\$(STRIP)\" \$(top_srcdir)/tools/install-sh"
5447 # Find a good install program. We prefer a C program (faster),
5448 # so one script is as good as another. But avoid the broken or
5449 # incompatible versions:
5450 # SysV /etc/install, /usr/sbin/install
5451 # SunOS /usr/etc/install
5452 # IRIX /sbin/install
5453 # AIX /bin/install
5454 # AmigaOS /C/install, which installs bootblocks on floppy discs
5455 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5456 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5457 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5458 # OS/2's system install, which has a completely different semantic
5459 # ./install, which can be erroneously created by make from ./install.sh.
5460 # Reject install programs that cannot install multiple files.
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
5462 $as_echo_n "checking for a BSD-compatible install... " >&6; }
5463 if test -z "$INSTALL"; then
5464 if ${ac_cv_path_install+:} false; then :
5465 $as_echo_n "(cached) " >&6
5466 else
5467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5468 for as_dir in $PATH
5470 IFS=$as_save_IFS
5471 test -z "$as_dir" && as_dir=.
5472 # Account for people who put trailing slashes in PATH elements.
5473 case $as_dir/ in #((
5474 ./ | .// | /[cC]/* | \
5475 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5476 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
5477 /usr/ucb/* ) ;;
5479 # OSF1 and SCO ODT 3.0 have their own names for install.
5480 # Don't use installbsd from OSF since it installs stuff as root
5481 # by default.
5482 for ac_prog in ginstall scoinst install; do
5483 for ac_exec_ext in '' $ac_executable_extensions; do
5484 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5485 if test $ac_prog = install &&
5486 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5487 # AIX install. It has an incompatible calling convention.
5489 elif test $ac_prog = install &&
5490 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5491 # program-specific install script used by HP pwplus--don't use.
5493 else
5494 rm -rf conftest.one conftest.two conftest.dir
5495 echo one > conftest.one
5496 echo two > conftest.two
5497 mkdir conftest.dir
5498 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
5499 test -s conftest.one && test -s conftest.two &&
5500 test -s conftest.dir/conftest.one &&
5501 test -s conftest.dir/conftest.two
5502 then
5503 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5504 break 3
5508 done
5509 done
5511 esac
5513 done
5514 IFS=$as_save_IFS
5516 rm -rf conftest.one conftest.two conftest.dir
5519 if test "${ac_cv_path_install+set}" = set; then
5520 INSTALL=$ac_cv_path_install
5521 else
5522 # As a last resort, use the slow shell script. Don't cache a
5523 # value for INSTALL within a source directory, because that will
5524 # break other packages using the cache if that directory is
5525 # removed, or if the value is a relative name.
5526 INSTALL=$ac_install_sh
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
5530 $as_echo "$INSTALL" >&6; }
5532 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5533 # It thinks the first close brace ends the variable substitution.
5534 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5536 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5538 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5541 for ac_prog in lclint lint
5543 # Extract the first word of "$ac_prog", so it can be a program name with args.
5544 set dummy $ac_prog; ac_word=$2
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5546 $as_echo_n "checking for $ac_word... " >&6; }
5547 if ${ac_cv_prog_LINT+:} false; then :
5548 $as_echo_n "(cached) " >&6
5549 else
5550 if test -n "$LINT"; then
5551 ac_cv_prog_LINT="$LINT" # Let the user override the test.
5552 else
5553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5554 for as_dir in $PATH
5556 IFS=$as_save_IFS
5557 test -z "$as_dir" && as_dir=.
5558 for ac_exec_ext in '' $ac_executable_extensions; do
5559 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5560 ac_cv_prog_LINT="$ac_prog"
5561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5562 break 2
5564 done
5565 done
5566 IFS=$as_save_IFS
5570 LINT=$ac_cv_prog_LINT
5571 if test -n "$LINT"; then
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
5573 $as_echo "$LINT" >&6; }
5574 else
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5576 $as_echo "no" >&6; }
5580 test -n "$LINT" && break
5581 done
5583 if test "$LINT" = "lint"
5584 then
5585 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
5589 for ac_prog in fontforge
5591 # Extract the first word of "$ac_prog", so it can be a program name with args.
5592 set dummy $ac_prog; ac_word=$2
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5594 $as_echo_n "checking for $ac_word... " >&6; }
5595 if ${ac_cv_prog_FONTFORGE+:} false; then :
5596 $as_echo_n "(cached) " >&6
5597 else
5598 if test -n "$FONTFORGE"; then
5599 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5600 else
5601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5602 for as_dir in $PATH
5604 IFS=$as_save_IFS
5605 test -z "$as_dir" && as_dir=.
5606 for ac_exec_ext in '' $ac_executable_extensions; do
5607 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5608 ac_cv_prog_FONTFORGE="$ac_prog"
5609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5610 break 2
5612 done
5613 done
5614 IFS=$as_save_IFS
5618 FONTFORGE=$ac_cv_prog_FONTFORGE
5619 if test -n "$FONTFORGE"; then
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5621 $as_echo "$FONTFORGE" >&6; }
5622 else
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5624 $as_echo "no" >&6; }
5628 test -n "$FONTFORGE" && break
5629 done
5630 test -n "$FONTFORGE" || FONTFORGE="false"
5632 for ac_prog in rsvg
5634 # Extract the first word of "$ac_prog", so it can be a program name with args.
5635 set dummy $ac_prog; ac_word=$2
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5637 $as_echo_n "checking for $ac_word... " >&6; }
5638 if ${ac_cv_prog_RSVG+:} false; then :
5639 $as_echo_n "(cached) " >&6
5640 else
5641 if test -n "$RSVG"; then
5642 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5643 else
5644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5645 for as_dir in $PATH
5647 IFS=$as_save_IFS
5648 test -z "$as_dir" && as_dir=.
5649 for ac_exec_ext in '' $ac_executable_extensions; do
5650 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5651 ac_cv_prog_RSVG="$ac_prog"
5652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5653 break 2
5655 done
5656 done
5657 IFS=$as_save_IFS
5661 RSVG=$ac_cv_prog_RSVG
5662 if test -n "$RSVG"; then
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5664 $as_echo "$RSVG" >&6; }
5665 else
5666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5667 $as_echo "no" >&6; }
5671 test -n "$RSVG" && break
5672 done
5673 test -n "$RSVG" || RSVG="false"
5675 for ac_prog in convert
5677 # Extract the first word of "$ac_prog", so it can be a program name with args.
5678 set dummy $ac_prog; ac_word=$2
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5680 $as_echo_n "checking for $ac_word... " >&6; }
5681 if ${ac_cv_prog_CONVERT+:} false; then :
5682 $as_echo_n "(cached) " >&6
5683 else
5684 if test -n "$CONVERT"; then
5685 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5686 else
5687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5688 for as_dir in $PATH
5690 IFS=$as_save_IFS
5691 test -z "$as_dir" && as_dir=.
5692 for ac_exec_ext in '' $ac_executable_extensions; do
5693 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5694 ac_cv_prog_CONVERT="$ac_prog"
5695 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5696 break 2
5698 done
5699 done
5700 IFS=$as_save_IFS
5704 CONVERT=$ac_cv_prog_CONVERT
5705 if test -n "$CONVERT"; then
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5707 $as_echo "$CONVERT" >&6; }
5708 else
5709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5710 $as_echo "no" >&6; }
5714 test -n "$CONVERT" && break
5715 done
5716 test -n "$CONVERT" || CONVERT="false"
5718 for ac_prog in icotool
5720 # Extract the first word of "$ac_prog", so it can be a program name with args.
5721 set dummy $ac_prog; ac_word=$2
5722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5723 $as_echo_n "checking for $ac_word... " >&6; }
5724 if ${ac_cv_prog_ICOTOOL+:} false; then :
5725 $as_echo_n "(cached) " >&6
5726 else
5727 if test -n "$ICOTOOL"; then
5728 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5729 else
5730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5731 for as_dir in $PATH
5733 IFS=$as_save_IFS
5734 test -z "$as_dir" && as_dir=.
5735 for ac_exec_ext in '' $ac_executable_extensions; do
5736 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5737 ac_cv_prog_ICOTOOL="$ac_prog"
5738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5739 break 2
5741 done
5742 done
5743 IFS=$as_save_IFS
5747 ICOTOOL=$ac_cv_prog_ICOTOOL
5748 if test -n "$ICOTOOL"; then
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5750 $as_echo "$ICOTOOL" >&6; }
5751 else
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5753 $as_echo "no" >&6; }
5757 test -n "$ICOTOOL" && break
5758 done
5759 test -n "$ICOTOOL" || ICOTOOL="false"
5761 for ac_prog in msgfmt
5763 # Extract the first word of "$ac_prog", so it can be a program name with args.
5764 set dummy $ac_prog; ac_word=$2
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5766 $as_echo_n "checking for $ac_word... " >&6; }
5767 if ${ac_cv_prog_MSGFMT+:} false; then :
5768 $as_echo_n "(cached) " >&6
5769 else
5770 if test -n "$MSGFMT"; then
5771 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5772 else
5773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5774 for as_dir in $PATH
5776 IFS=$as_save_IFS
5777 test -z "$as_dir" && as_dir=.
5778 for ac_exec_ext in '' $ac_executable_extensions; do
5779 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5780 ac_cv_prog_MSGFMT="$ac_prog"
5781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5782 break 2
5784 done
5785 done
5786 IFS=$as_save_IFS
5790 MSGFMT=$ac_cv_prog_MSGFMT
5791 if test -n "$MSGFMT"; then
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5793 $as_echo "$MSGFMT" >&6; }
5794 else
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5796 $as_echo "no" >&6; }
5800 test -n "$MSGFMT" && break
5801 done
5802 test -n "$MSGFMT" || MSGFMT="false"
5804 if test -n "$ac_tool_prefix"; then
5805 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5806 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5808 $as_echo_n "checking for $ac_word... " >&6; }
5809 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5810 $as_echo_n "(cached) " >&6
5811 else
5812 if test -n "$PKG_CONFIG"; then
5813 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5814 else
5815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5816 for as_dir in $PATH
5818 IFS=$as_save_IFS
5819 test -z "$as_dir" && as_dir=.
5820 for ac_exec_ext in '' $ac_executable_extensions; do
5821 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5822 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5824 break 2
5826 done
5827 done
5828 IFS=$as_save_IFS
5832 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5833 if test -n "$PKG_CONFIG"; then
5834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5835 $as_echo "$PKG_CONFIG" >&6; }
5836 else
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5838 $as_echo "no" >&6; }
5843 if test -n "$ac_cv_prog_PKG_CONFIG"; then
5844 PKG_CONFIG="$ac_cv_prog_PKG_CONFIG"
5845 elif test "$cross_compiling" != yes; then
5846 unset ac_cv_prog_PKG_CONFIG
5847 # Extract the first word of "pkg-config", so it can be a program name with args.
5848 set dummy pkg-config; ac_word=$2
5849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5850 $as_echo_n "checking for $ac_word... " >&6; }
5851 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5852 $as_echo_n "(cached) " >&6
5853 else
5854 if test -n "$PKG_CONFIG"; then
5855 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5856 else
5857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5858 for as_dir in $PATH
5860 IFS=$as_save_IFS
5861 test -z "$as_dir" && as_dir=.
5862 for ac_exec_ext in '' $ac_executable_extensions; do
5863 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5864 ac_cv_prog_PKG_CONFIG="pkg-config"
5865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5866 break 2
5868 done
5869 done
5870 IFS=$as_save_IFS
5874 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5875 if test -n "$PKG_CONFIG"; then
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5877 $as_echo "$PKG_CONFIG" >&6; }
5878 else
5879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5880 $as_echo "no" >&6; }
5886 if test "x$enable_maintainer_mode" != "xyes"
5887 then
5888 MAINTAINER_MODE=\#
5890 else
5891 if test "$FONTFORGE" = "false"; then as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5; fi
5892 if test "$RSVG" = "false"; then as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5; fi
5894 if test "$CONVERT" = false
5895 then
5896 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5897 else
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5899 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5900 convert_version=`convert --version | head -n1`
5901 if test "x$convert_version" != "x"
5902 then
5903 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5904 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5905 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5906 then
5907 CONVERT=false
5910 if test "$CONVERT" = false
5911 then
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5913 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5914 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5915 else
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5917 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5921 if test "$ICOTOOL" = false
5922 then
5923 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5924 else
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5926 $as_echo_n "checking for recent enough icotool... " >&6; }
5927 icotool_version=`icotool --version | head -n1`
5928 if test "x$icotool_version" != "x"
5929 then
5930 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5931 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5932 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5933 then
5934 ICOTOOL=false
5935 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5938 if test "$ICOTOOL" = false
5939 then
5940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5941 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5942 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5943 else
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5945 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5949 with_gettext=yes
5950 with_gettextpo=yes
5951 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5954 test "x$with_gettext" != xno || MSGFMT=false
5955 if test "$MSGFMT" != "false"
5956 then
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5958 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5959 cat >conftest.po <<EOF
5960 # comment
5961 msgctxt "ctxt"
5962 msgid "id"
5963 msgstr "str"
5965 if $MSGFMT -o /dev/null conftest.po 2>&5
5966 then
5967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5968 $as_echo "yes" >&6; }
5969 else
5970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5971 $as_echo "no" >&6; }
5972 MSGFMT=false
5975 if test "$MSGFMT" = false; then :
5976 case "x$with_gettext" in
5977 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
5978 xno) ;;
5979 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
5980 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5981 esac
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5986 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5987 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
5988 $as_echo_n "(cached) " >&6
5989 else
5990 ac_check_lib_save_LIBS=$LIBS
5991 LIBS="-li386 $LIBS"
5992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5993 /* end confdefs.h. */
5995 /* Override any GCC internal prototype to avoid an error.
5996 Use char because int might match the return type of a GCC
5997 builtin and then its argument prototype would still apply. */
5998 #ifdef __cplusplus
5999 extern "C"
6000 #endif
6001 char i386_set_ldt ();
6003 main ()
6005 return i386_set_ldt ();
6007 return 0;
6009 _ACEOF
6010 if ac_fn_c_try_link "$LINENO"; then :
6011 ac_cv_lib_i386_i386_set_ldt=yes
6012 else
6013 ac_cv_lib_i386_i386_set_ldt=no
6015 rm -f core conftest.err conftest.$ac_objext \
6016 conftest$ac_exeext conftest.$ac_ext
6017 LIBS=$ac_check_lib_save_LIBS
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6020 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6021 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6022 cat >>confdefs.h <<_ACEOF
6023 #define HAVE_LIBI386 1
6024 _ACEOF
6026 LIBS="-li386 $LIBS"
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6031 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6032 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6033 $as_echo_n "(cached) " >&6
6034 else
6035 ac_check_lib_save_LIBS=$LIBS
6036 LIBS="-lossaudio $LIBS"
6037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6038 /* end confdefs.h. */
6040 /* Override any GCC internal prototype to avoid an error.
6041 Use char because int might match the return type of a GCC
6042 builtin and then its argument prototype would still apply. */
6043 #ifdef __cplusplus
6044 extern "C"
6045 #endif
6046 char _oss_ioctl ();
6048 main ()
6050 return _oss_ioctl ();
6052 return 0;
6054 _ACEOF
6055 if ac_fn_c_try_link "$LINENO"; then :
6056 ac_cv_lib_ossaudio__oss_ioctl=yes
6057 else
6058 ac_cv_lib_ossaudio__oss_ioctl=no
6060 rm -f core conftest.err conftest.$ac_objext \
6061 conftest$ac_exeext conftest.$ac_ext
6062 LIBS=$ac_check_lib_save_LIBS
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6065 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6066 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6067 cat >>confdefs.h <<_ACEOF
6068 #define HAVE_LIBOSSAUDIO 1
6069 _ACEOF
6071 LIBS="-lossaudio $LIBS"
6076 XLIB=""
6078 OPENGL_LIBS=""
6082 test "x$with_fontconfig" != "xno" || ac_cv_header_fontconfig_fontconfig_h=no
6084 # Check whether --enable-largefile was given.
6085 if test "${enable_largefile+set}" = set; then :
6086 enableval=$enable_largefile;
6089 if test "$enable_largefile" != no; then
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6092 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6093 if ${ac_cv_sys_largefile_CC+:} false; then :
6094 $as_echo_n "(cached) " >&6
6095 else
6096 ac_cv_sys_largefile_CC=no
6097 if test "$GCC" != yes; then
6098 ac_save_CC=$CC
6099 while :; do
6100 # IRIX 6.2 and later do not support large files by default,
6101 # so use the C compiler's -n32 option if that helps.
6102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6103 /* end confdefs.h. */
6104 #include <sys/types.h>
6105 /* Check that off_t can represent 2**63 - 1 correctly.
6106 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6107 since some C++ compilers masquerading as C compilers
6108 incorrectly reject 9223372036854775807. */
6109 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6110 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6111 && LARGE_OFF_T % 2147483647 == 1)
6112 ? 1 : -1];
6114 main ()
6118 return 0;
6120 _ACEOF
6121 if ac_fn_c_try_compile "$LINENO"; then :
6122 break
6124 rm -f core conftest.err conftest.$ac_objext
6125 CC="$CC -n32"
6126 if ac_fn_c_try_compile "$LINENO"; then :
6127 ac_cv_sys_largefile_CC=' -n32'; break
6129 rm -f core conftest.err conftest.$ac_objext
6130 break
6131 done
6132 CC=$ac_save_CC
6133 rm -f conftest.$ac_ext
6136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6137 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6138 if test "$ac_cv_sys_largefile_CC" != no; then
6139 CC=$CC$ac_cv_sys_largefile_CC
6142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6143 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6144 if ${ac_cv_sys_file_offset_bits+:} false; then :
6145 $as_echo_n "(cached) " >&6
6146 else
6147 while :; do
6148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6149 /* end confdefs.h. */
6150 #include <sys/types.h>
6151 /* Check that off_t can represent 2**63 - 1 correctly.
6152 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6153 since some C++ compilers masquerading as C compilers
6154 incorrectly reject 9223372036854775807. */
6155 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6156 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6157 && LARGE_OFF_T % 2147483647 == 1)
6158 ? 1 : -1];
6160 main ()
6164 return 0;
6166 _ACEOF
6167 if ac_fn_c_try_compile "$LINENO"; then :
6168 ac_cv_sys_file_offset_bits=no; break
6170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6172 /* end confdefs.h. */
6173 #define _FILE_OFFSET_BITS 64
6174 #include <sys/types.h>
6175 /* Check that off_t can represent 2**63 - 1 correctly.
6176 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6177 since some C++ compilers masquerading as C compilers
6178 incorrectly reject 9223372036854775807. */
6179 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6180 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6181 && LARGE_OFF_T % 2147483647 == 1)
6182 ? 1 : -1];
6184 main ()
6188 return 0;
6190 _ACEOF
6191 if ac_fn_c_try_compile "$LINENO"; then :
6192 ac_cv_sys_file_offset_bits=64; break
6194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6195 ac_cv_sys_file_offset_bits=unknown
6196 break
6197 done
6199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6200 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6201 case $ac_cv_sys_file_offset_bits in #(
6202 no | unknown) ;;
6204 cat >>confdefs.h <<_ACEOF
6205 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6206 _ACEOF
6208 esac
6209 rm -rf conftest*
6210 if test $ac_cv_sys_file_offset_bits = unknown; then
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6212 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6213 if ${ac_cv_sys_large_files+:} false; then :
6214 $as_echo_n "(cached) " >&6
6215 else
6216 while :; do
6217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6218 /* end confdefs.h. */
6219 #include <sys/types.h>
6220 /* Check that off_t can represent 2**63 - 1 correctly.
6221 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6222 since some C++ compilers masquerading as C compilers
6223 incorrectly reject 9223372036854775807. */
6224 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6225 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6226 && LARGE_OFF_T % 2147483647 == 1)
6227 ? 1 : -1];
6229 main ()
6233 return 0;
6235 _ACEOF
6236 if ac_fn_c_try_compile "$LINENO"; then :
6237 ac_cv_sys_large_files=no; break
6239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6241 /* end confdefs.h. */
6242 #define _LARGE_FILES 1
6243 #include <sys/types.h>
6244 /* Check that off_t can represent 2**63 - 1 correctly.
6245 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6246 since some C++ compilers masquerading as C compilers
6247 incorrectly reject 9223372036854775807. */
6248 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6249 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6250 && LARGE_OFF_T % 2147483647 == 1)
6251 ? 1 : -1];
6253 main ()
6257 return 0;
6259 _ACEOF
6260 if ac_fn_c_try_compile "$LINENO"; then :
6261 ac_cv_sys_large_files=1; break
6263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6264 ac_cv_sys_large_files=unknown
6265 break
6266 done
6268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6269 $as_echo "$ac_cv_sys_large_files" >&6; }
6270 case $ac_cv_sys_large_files in #(
6271 no | unknown) ;;
6273 cat >>confdefs.h <<_ACEOF
6274 #define _LARGE_FILES $ac_cv_sys_large_files
6275 _ACEOF
6277 esac
6278 rm -rf conftest*
6285 ac_ext=c
6286 ac_cpp='$CPP $CPPFLAGS'
6287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6291 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6292 # On Suns, sometimes $CPP names a directory.
6293 if test -n "$CPP" && test -d "$CPP"; then
6294 CPP=
6296 if test -z "$CPP"; then
6297 if ${ac_cv_prog_CPP+:} false; then :
6298 $as_echo_n "(cached) " >&6
6299 else
6300 # Double quotes because CPP needs to be expanded
6301 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6303 ac_preproc_ok=false
6304 for ac_c_preproc_warn_flag in '' yes
6306 # Use a header file that comes with gcc, so configuring glibc
6307 # with a fresh cross-compiler works.
6308 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6309 # <limits.h> exists even on freestanding compilers.
6310 # On the NeXT, cc -E runs the code through the compiler's parser,
6311 # not just through cpp. "Syntax error" is here to catch this case.
6312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6313 /* end confdefs.h. */
6314 #ifdef __STDC__
6315 # include <limits.h>
6316 #else
6317 # include <assert.h>
6318 #endif
6319 Syntax error
6320 _ACEOF
6321 if ac_fn_c_try_cpp "$LINENO"; then :
6323 else
6324 # Broken: fails on valid input.
6325 continue
6327 rm -f conftest.err conftest.i conftest.$ac_ext
6329 # OK, works on sane cases. Now check whether nonexistent headers
6330 # can be detected and how.
6331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6332 /* end confdefs.h. */
6333 #include <ac_nonexistent.h>
6334 _ACEOF
6335 if ac_fn_c_try_cpp "$LINENO"; then :
6336 # Broken: success on invalid input.
6337 continue
6338 else
6339 # Passes both tests.
6340 ac_preproc_ok=:
6341 break
6343 rm -f conftest.err conftest.i conftest.$ac_ext
6345 done
6346 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6347 rm -f conftest.i conftest.err conftest.$ac_ext
6348 if $ac_preproc_ok; then :
6349 break
6352 done
6353 ac_cv_prog_CPP=$CPP
6356 CPP=$ac_cv_prog_CPP
6357 else
6358 ac_cv_prog_CPP=$CPP
6360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6361 $as_echo "$CPP" >&6; }
6362 ac_preproc_ok=false
6363 for ac_c_preproc_warn_flag in '' yes
6365 # Use a header file that comes with gcc, so configuring glibc
6366 # with a fresh cross-compiler works.
6367 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6368 # <limits.h> exists even on freestanding compilers.
6369 # On the NeXT, cc -E runs the code through the compiler's parser,
6370 # not just through cpp. "Syntax error" is here to catch this case.
6371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6372 /* end confdefs.h. */
6373 #ifdef __STDC__
6374 # include <limits.h>
6375 #else
6376 # include <assert.h>
6377 #endif
6378 Syntax error
6379 _ACEOF
6380 if ac_fn_c_try_cpp "$LINENO"; then :
6382 else
6383 # Broken: fails on valid input.
6384 continue
6386 rm -f conftest.err conftest.i conftest.$ac_ext
6388 # OK, works on sane cases. Now check whether nonexistent headers
6389 # can be detected and how.
6390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6391 /* end confdefs.h. */
6392 #include <ac_nonexistent.h>
6393 _ACEOF
6394 if ac_fn_c_try_cpp "$LINENO"; then :
6395 # Broken: success on invalid input.
6396 continue
6397 else
6398 # Passes both tests.
6399 ac_preproc_ok=:
6400 break
6402 rm -f conftest.err conftest.i conftest.$ac_ext
6404 done
6405 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6406 rm -f conftest.i conftest.err conftest.$ac_ext
6407 if $ac_preproc_ok; then :
6409 else
6410 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6411 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6412 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6413 See \`config.log' for more details" "$LINENO" 5; }
6416 ac_ext=c
6417 ac_cpp='$CPP $CPPFLAGS'
6418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6424 $as_echo_n "checking for ANSI C header files... " >&6; }
6425 if ${ac_cv_header_stdc+:} false; then :
6426 $as_echo_n "(cached) " >&6
6427 else
6428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6429 /* end confdefs.h. */
6430 #include <stdlib.h>
6431 #include <stdarg.h>
6432 #include <string.h>
6433 #include <float.h>
6436 main ()
6440 return 0;
6442 _ACEOF
6443 if ac_fn_c_try_compile "$LINENO"; then :
6444 ac_cv_header_stdc=yes
6445 else
6446 ac_cv_header_stdc=no
6448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6450 if test $ac_cv_header_stdc = yes; then
6451 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6453 /* end confdefs.h. */
6454 #include <string.h>
6456 _ACEOF
6457 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6458 $EGREP "memchr" >/dev/null 2>&1; then :
6460 else
6461 ac_cv_header_stdc=no
6463 rm -f conftest*
6467 if test $ac_cv_header_stdc = yes; then
6468 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6470 /* end confdefs.h. */
6471 #include <stdlib.h>
6473 _ACEOF
6474 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6475 $EGREP "free" >/dev/null 2>&1; then :
6477 else
6478 ac_cv_header_stdc=no
6480 rm -f conftest*
6484 if test $ac_cv_header_stdc = yes; then
6485 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6486 if test "$cross_compiling" = yes; then :
6488 else
6489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6490 /* end confdefs.h. */
6491 #include <ctype.h>
6492 #include <stdlib.h>
6493 #if ((' ' & 0x0FF) == 0x020)
6494 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6495 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6496 #else
6497 # define ISLOWER(c) \
6498 (('a' <= (c) && (c) <= 'i') \
6499 || ('j' <= (c) && (c) <= 'r') \
6500 || ('s' <= (c) && (c) <= 'z'))
6501 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6502 #endif
6504 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6506 main ()
6508 int i;
6509 for (i = 0; i < 256; i++)
6510 if (XOR (islower (i), ISLOWER (i))
6511 || toupper (i) != TOUPPER (i))
6512 return 2;
6513 return 0;
6515 _ACEOF
6516 if ac_fn_c_try_run "$LINENO"; then :
6518 else
6519 ac_cv_header_stdc=no
6521 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6522 conftest.$ac_objext conftest.beam conftest.$ac_ext
6527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6528 $as_echo "$ac_cv_header_stdc" >&6; }
6529 if test $ac_cv_header_stdc = yes; then
6531 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6535 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6536 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6537 inttypes.h stdint.h unistd.h
6538 do :
6539 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6540 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6542 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6543 cat >>confdefs.h <<_ACEOF
6544 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6545 _ACEOF
6549 done
6552 for ac_header in \
6553 AL/al.h \
6554 ApplicationServices/ApplicationServices.h \
6555 AudioToolbox/AudioConverter.h \
6556 AudioUnit/AudioUnit.h \
6557 AudioUnit/AudioComponent.h \
6558 CL/cl.h \
6559 Carbon/Carbon.h \
6560 CoreAudio/CoreAudio.h \
6561 CoreServices/CoreServices.h \
6562 DiskArbitration/DiskArbitration.h \
6563 IOKit/IOKitLib.h \
6564 IOKit/hid/IOHIDLib.h \
6565 OpenAL/al.h \
6566 OpenCL/opencl.h \
6567 QuickTime/ImageCompression.h \
6568 Security/Security.h \
6569 alias.h \
6570 alsa/asoundlib.h \
6571 arpa/inet.h \
6572 arpa/nameser.h \
6573 asm/types.h \
6574 asm/user.h \
6575 curses.h \
6576 direct.h \
6577 dirent.h \
6578 dlfcn.h \
6579 elf.h \
6580 float.h \
6581 fnmatch.h \
6582 fontconfig/fontconfig.h \
6583 getopt.h \
6584 gettext-po.h \
6585 grp.h \
6586 gsm.h \
6587 gsm/gsm.h \
6588 ieeefp.h \
6589 inet/mib2.h \
6590 io.h \
6591 kstat.h \
6592 lber.h \
6593 ldap.h \
6594 libproc.h \
6595 link.h \
6596 linux/cdrom.h \
6597 linux/compiler.h \
6598 linux/filter.h \
6599 linux/hdreg.h \
6600 linux/input.h \
6601 linux/ioctl.h \
6602 linux/joystick.h \
6603 linux/major.h \
6604 linux/param.h \
6605 linux/serial.h \
6606 linux/types.h \
6607 linux/ucdrom.h \
6608 lwp.h \
6609 mach-o/nlist.h \
6610 mach-o/loader.h \
6611 mach/mach.h \
6612 mach/machine.h \
6613 machine/cpu.h \
6614 machine/limits.h \
6615 machine/sysarch.h \
6616 mntent.h \
6617 ncurses.h \
6618 netdb.h \
6619 netinet/in.h \
6620 netinet/in_systm.h \
6621 netinet/tcp.h \
6622 netinet/tcp_fsm.h \
6623 poll.h \
6624 port.h \
6625 process.h \
6626 pthread.h \
6627 pwd.h \
6628 sched.h \
6629 scsi/scsi.h \
6630 scsi/scsi_ioctl.h \
6631 scsi/sg.h \
6632 stdbool.h \
6633 stdint.h \
6634 stropts.h \
6635 sys/asoundlib.h \
6636 sys/attr.h \
6637 sys/cdio.h \
6638 sys/elf32.h \
6639 sys/epoll.h \
6640 sys/event.h \
6641 sys/exec_elf.h \
6642 sys/filio.h \
6643 sys/inotify.h \
6644 sys/ioctl.h \
6645 sys/ipc.h \
6646 sys/limits.h \
6647 sys/link.h \
6648 sys/mman.h \
6649 sys/modem.h \
6650 sys/msg.h \
6651 sys/mtio.h \
6652 sys/param.h \
6653 sys/poll.h \
6654 sys/prctl.h \
6655 sys/protosw.h \
6656 sys/ptrace.h \
6657 sys/queue.h \
6658 sys/resource.h \
6659 sys/scsiio.h \
6660 sys/shm.h \
6661 sys/signal.h \
6662 sys/socket.h \
6663 sys/socketvar.h \
6664 sys/sockio.h \
6665 sys/statvfs.h \
6666 sys/strtio.h \
6667 sys/syscall.h \
6668 sys/tihdr.h \
6669 sys/time.h \
6670 sys/timeout.h \
6671 sys/times.h \
6672 sys/uio.h \
6673 sys/user.h \
6674 sys/utsname.h \
6675 sys/vm86.h \
6676 sys/wait.h \
6677 syscall.h \
6678 termios.h \
6679 unistd.h \
6680 utime.h \
6681 valgrind/memcheck.h \
6682 valgrind/valgrind.h \
6683 zlib.h
6685 do :
6686 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6687 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6688 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6689 cat >>confdefs.h <<_ACEOF
6690 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6691 _ACEOF
6695 done
6697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6698 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6699 if ${ac_cv_header_stat_broken+:} false; then :
6700 $as_echo_n "(cached) " >&6
6701 else
6702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6703 /* end confdefs.h. */
6704 #include <sys/types.h>
6705 #include <sys/stat.h>
6707 #if defined S_ISBLK && defined S_IFDIR
6708 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6709 #endif
6711 #if defined S_ISBLK && defined S_IFCHR
6712 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6713 #endif
6715 #if defined S_ISLNK && defined S_IFREG
6716 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6717 #endif
6719 #if defined S_ISSOCK && defined S_IFREG
6720 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6721 #endif
6723 _ACEOF
6724 if ac_fn_c_try_compile "$LINENO"; then :
6725 ac_cv_header_stat_broken=no
6726 else
6727 ac_cv_header_stat_broken=yes
6729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6732 $as_echo "$ac_cv_header_stat_broken" >&6; }
6733 if test $ac_cv_header_stat_broken = yes; then
6735 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6741 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6742 do :
6743 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6744 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6745 #ifdef HAVE_SYS_PARAM_H
6746 # include <sys/param.h>
6747 #endif
6749 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6750 cat >>confdefs.h <<_ACEOF
6751 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6752 _ACEOF
6756 done
6759 for ac_header in \
6760 netinet/ip.h \
6761 net/if.h \
6762 net/if_arp.h \
6763 net/if_dl.h \
6764 net/if_types.h \
6765 net/route.h \
6766 netinet/if_ether.h \
6767 netinet/if_inarp.h \
6768 netinet/in_pcb.h \
6769 netinet/ip_icmp.h \
6770 netinet/ip_var.h \
6771 netinet/udp.h \
6772 netipx/ipx.h \
6773 sys/un.h \
6775 do :
6776 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6777 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6778 #ifdef HAVE_SYS_SOCKET_H
6779 # include <sys/socket.h>
6780 #endif
6781 #ifdef HAVE_SYS_SOCKETVAR_H
6782 # include <sys/socketvar.h>
6783 #endif
6784 #ifdef HAVE_NET_ROUTE_H
6785 # include <net/route.h>
6786 #endif
6787 #ifdef HAVE_NETINET_IN_H
6788 # include <netinet/in.h>
6789 #endif
6790 #ifdef HAVE_NETINET_IN_SYSTM_H
6791 # include <netinet/in_systm.h>
6792 #endif
6793 #ifdef HAVE_NET_IF_H
6794 # include <net/if.h>
6795 #endif
6796 #ifdef HAVE_NETINET_IP_H
6797 # include <netinet/ip.h>
6798 #endif
6800 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6801 cat >>confdefs.h <<_ACEOF
6802 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6803 _ACEOF
6807 done
6810 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6811 do :
6812 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6813 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6814 #ifdef HAVE_ALIAS_H
6815 # include <alias.h>
6816 #endif
6817 #ifdef HAVE_SYS_SOCKET_H
6818 # include <sys/socket.h>
6819 #endif
6820 #ifdef HAVE_SYS_SOCKETVAR_H
6821 # include <sys/socketvar.h>
6822 #endif
6823 #ifdef HAVE_SYS_TIMEOUT_H
6824 # include <sys/timeout.h>
6825 #endif
6826 #ifdef HAVE_NETINET_IN_H
6827 # include <netinet/in.h>
6828 #endif
6829 #ifdef HAVE_NETINET_IN_SYSTM_H
6830 # include <netinet/in_systm.h>
6831 #endif
6832 #ifdef HAVE_NETINET_IP_H
6833 # include <netinet/ip.h>
6834 #endif
6835 #ifdef HAVE_NETINET_IP_VAR_H
6836 # include <netinet/ip_var.h>
6837 #endif
6838 #ifdef HAVE_NETINET_IP_ICMP_H
6839 # include <netinet/ip_icmp.h>
6840 #endif
6841 #ifdef HAVE_NETINET_UDP_H
6842 # include <netinet/udp.h>
6843 #endif
6844 #ifdef HAVE_NETINET_TCP_H
6845 # include <netinet/tcp.h>
6846 #endif
6847 #ifdef HAVE_NETINET_TCP_TIMER_H
6848 #include <netinet/tcp_timer.h>
6849 #endif
6851 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6852 cat >>confdefs.h <<_ACEOF
6853 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6854 _ACEOF
6858 done
6861 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6862 do :
6863 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6864 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6865 #ifdef HAVE_ASM_TYPES_H
6866 # include <asm/types.h>
6867 #endif
6868 #ifdef HAVE_SYS_SOCKET_H
6869 # include <sys/socket.h>
6870 #endif
6871 #ifdef HAVE_LINUX_TYPES_H
6872 # include <linux/types.h>
6873 #endif
6875 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6876 cat >>confdefs.h <<_ACEOF
6877 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6878 _ACEOF
6882 done
6885 for ac_header in mach-o/dyld_images.h
6886 do :
6887 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6888 # include <stdbool.h>
6889 #endif
6890 #ifdef HAVE_STDINT_H
6891 # include <stdint.h>
6892 #endif
6894 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6895 cat >>confdefs.h <<_ACEOF
6896 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6897 _ACEOF
6901 done
6904 for ac_header in resolv.h
6905 do :
6906 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6907 #ifdef HAVE_SYS_SOCKET_H
6908 # include <sys/socket.h>
6909 #endif
6910 #ifdef HAVE_NETINET_IN_H
6911 # include <netinet/in.h>
6912 #endif
6913 #ifdef HAVE_ARPA_NAMESER_H
6914 # include <arpa/nameser.h>
6915 #endif
6917 if test "x$ac_cv_header_resolv_h" = xyes; then :
6918 cat >>confdefs.h <<_ACEOF
6919 #define HAVE_RESOLV_H 1
6920 _ACEOF
6924 done
6927 for ac_header in ifaddrs.h
6928 do :
6929 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6931 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6932 cat >>confdefs.h <<_ACEOF
6933 #define HAVE_IFADDRS_H 1
6934 _ACEOF
6938 done
6941 for ac_header in ucontext.h
6942 do :
6943 ac_fn_c_check_header_compile "$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6945 if test "x$ac_cv_header_ucontext_h" = xyes; then :
6946 cat >>confdefs.h <<_ACEOF
6947 #define HAVE_UCONTEXT_H 1
6948 _ACEOF
6952 done
6955 for ac_header in sys/thr.h
6956 do :
6957 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6958 #ifdef HAVE_UCONTEXT_H
6959 #include <ucontext.h>
6960 #endif
6962 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
6963 cat >>confdefs.h <<_ACEOF
6964 #define HAVE_SYS_THR_H 1
6965 _ACEOF
6969 done
6972 for ac_header in pthread_np.h
6973 do :
6974 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6975 #include <pthread.h>
6976 #endif
6978 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
6979 cat >>confdefs.h <<_ACEOF
6980 #define HAVE_PTHREAD_NP_H 1
6981 _ACEOF
6985 done
6988 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
6989 do :
6990 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6991 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6992 #include <sys/time.h>
6993 #endif
6994 #include <sys/types.h>
6995 #ifdef HAVE_ASM_TYPES_H
6996 #include <asm/types.h>
6997 #endif
6999 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7000 cat >>confdefs.h <<_ACEOF
7001 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7002 _ACEOF
7006 done
7009 for ac_header in libprocstat.h
7010 do :
7011 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7012 #include <sys/param.h>
7013 #endif
7014 #ifdef HAVE_SYS_QUEUE_H
7015 #include <sys/queue.h>
7016 #endif
7017 #ifdef HAVE_SYS_SOCKET_H
7018 #include <sys/socket.h>
7019 #endif
7021 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7022 cat >>confdefs.h <<_ACEOF
7023 #define HAVE_LIBPROCSTAT_H 1
7024 _ACEOF
7028 done
7032 dlldir="\${libdir}/wine"
7034 DLLEXT=""
7036 DLLPREFIX=""
7038 DLLFLAGS="-D_REENTRANT"
7040 IMPLIBEXT="def"
7042 LDRPATH_INSTALL=""
7044 LDRPATH_LOCAL=""
7046 LIBEXT="so"
7047 STATIC_IMPLIBEXT="def.a"
7048 # Extract the first word of "ldd", so it can be a program name with args.
7049 set dummy ldd; ac_word=$2
7050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7051 $as_echo_n "checking for $ac_word... " >&6; }
7052 if ${ac_cv_path_LDD+:} false; then :
7053 $as_echo_n "(cached) " >&6
7054 else
7055 case $LDD in
7056 [\\/]* | ?:[\\/]*)
7057 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7061 as_dummy="/sbin:/usr/sbin:$PATH"
7062 for as_dir in $as_dummy
7064 IFS=$as_save_IFS
7065 test -z "$as_dir" && as_dir=.
7066 for ac_exec_ext in '' $ac_executable_extensions; do
7067 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7068 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7070 break 2
7072 done
7073 done
7074 IFS=$as_save_IFS
7076 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7078 esac
7080 LDD=$ac_cv_path_LDD
7081 if test -n "$LDD"; then
7082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7083 $as_echo "$LDD" >&6; }
7084 else
7085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7086 $as_echo "no" >&6; }
7090 if test -n "$ac_tool_prefix"; then
7091 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7092 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7094 $as_echo_n "checking for $ac_word... " >&6; }
7095 if ${ac_cv_prog_READELF+:} false; then :
7096 $as_echo_n "(cached) " >&6
7097 else
7098 if test -n "$READELF"; then
7099 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7100 else
7101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7102 for as_dir in $PATH
7104 IFS=$as_save_IFS
7105 test -z "$as_dir" && as_dir=.
7106 for ac_exec_ext in '' $ac_executable_extensions; do
7107 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7108 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7110 break 2
7112 done
7113 done
7114 IFS=$as_save_IFS
7118 READELF=$ac_cv_prog_READELF
7119 if test -n "$READELF"; then
7120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7121 $as_echo "$READELF" >&6; }
7122 else
7123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7124 $as_echo "no" >&6; }
7129 if test -z "$ac_cv_prog_READELF"; then
7130 ac_ct_READELF=$READELF
7131 # Extract the first word of "readelf", so it can be a program name with args.
7132 set dummy readelf; ac_word=$2
7133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7134 $as_echo_n "checking for $ac_word... " >&6; }
7135 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7136 $as_echo_n "(cached) " >&6
7137 else
7138 if test -n "$ac_ct_READELF"; then
7139 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7140 else
7141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7142 for as_dir in $PATH
7144 IFS=$as_save_IFS
7145 test -z "$as_dir" && as_dir=.
7146 for ac_exec_ext in '' $ac_executable_extensions; do
7147 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7148 ac_cv_prog_ac_ct_READELF="readelf"
7149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7150 break 2
7152 done
7153 done
7154 IFS=$as_save_IFS
7158 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7159 if test -n "$ac_ct_READELF"; then
7160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7161 $as_echo "$ac_ct_READELF" >&6; }
7162 else
7163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7164 $as_echo "no" >&6; }
7167 if test "x$ac_ct_READELF" = x; then
7168 READELF="true"
7169 else
7170 case $cross_compiling:$ac_tool_warned in
7171 yes:)
7172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7173 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7174 ac_tool_warned=yes ;;
7175 esac
7176 READELF=$ac_ct_READELF
7178 else
7179 READELF="$ac_cv_prog_READELF"
7183 wine_binary="wine"
7184 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7186 LOADER_RULES="
7187 all: $wine_binary wine-installed
7189 install install-lib:: wine-installed \$(DESTDIR)\$(bindir)
7190 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7192 uninstall::
7193 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7197 case $host_os in
7198 cygwin*|mingw32*)
7199 if test -n "$ac_tool_prefix"; then
7200 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7201 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7203 $as_echo_n "checking for $ac_word... " >&6; }
7204 if ${ac_cv_prog_DLLTOOL+:} false; then :
7205 $as_echo_n "(cached) " >&6
7206 else
7207 if test -n "$DLLTOOL"; then
7208 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7209 else
7210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7211 for as_dir in $PATH
7213 IFS=$as_save_IFS
7214 test -z "$as_dir" && as_dir=.
7215 for ac_exec_ext in '' $ac_executable_extensions; do
7216 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7217 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7218 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7219 break 2
7221 done
7222 done
7223 IFS=$as_save_IFS
7227 DLLTOOL=$ac_cv_prog_DLLTOOL
7228 if test -n "$DLLTOOL"; then
7229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7230 $as_echo "$DLLTOOL" >&6; }
7231 else
7232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7233 $as_echo "no" >&6; }
7238 if test -z "$ac_cv_prog_DLLTOOL"; then
7239 ac_ct_DLLTOOL=$DLLTOOL
7240 # Extract the first word of "dlltool", so it can be a program name with args.
7241 set dummy dlltool; ac_word=$2
7242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7243 $as_echo_n "checking for $ac_word... " >&6; }
7244 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7245 $as_echo_n "(cached) " >&6
7246 else
7247 if test -n "$ac_ct_DLLTOOL"; then
7248 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7249 else
7250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7251 for as_dir in $PATH
7253 IFS=$as_save_IFS
7254 test -z "$as_dir" && as_dir=.
7255 for ac_exec_ext in '' $ac_executable_extensions; do
7256 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7257 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7258 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7259 break 2
7261 done
7262 done
7263 IFS=$as_save_IFS
7267 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7268 if test -n "$ac_ct_DLLTOOL"; then
7269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7270 $as_echo "$ac_ct_DLLTOOL" >&6; }
7271 else
7272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7273 $as_echo "no" >&6; }
7276 if test "x$ac_ct_DLLTOOL" = x; then
7277 DLLTOOL="false"
7278 else
7279 case $cross_compiling:$ac_tool_warned in
7280 yes:)
7281 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7282 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7283 ac_tool_warned=yes ;;
7284 esac
7285 DLLTOOL=$ac_ct_DLLTOOL
7287 else
7288 DLLTOOL="$ac_cv_prog_DLLTOOL"
7291 LIBEXT="dll"
7292 IMPLIBEXT="a"
7293 STATIC_IMPLIBEXT="a"
7294 enable_iphlpapi=${enable_iphlpapi:-no}
7295 enable_kernel32=${enable_kernel32:-no}
7296 enable_msvcrt=${enable_msvcrt:-no}
7297 enable_ntdll=${enable_ntdll:-no}
7298 enable_ws2_32=${enable_ws2_32:-no}
7299 enable_loader=${enable_loader:-no}
7300 enable_server=${enable_server:-no}
7301 with_x=${with_x:-no}
7302 with_pthread=${with_pthread:-no}
7304 crtlibs=""
7305 case $host_os in
7306 mingw32*)
7307 crtlibs="-lmsvcrt"
7308 SOCKETLIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7310 esac
7312 LIBWINE_RULES="
7313 all: libwine.dll libwine.a
7315 libwine.a: wine.def
7316 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7318 libwine.dll: \$(OBJS) wine.def Makefile.in
7319 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7321 install install-lib:: libwine.dll \$(DESTDIR)\$(libdir) dummy
7322 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7324 install install-dev:: libwine.a \$(DESTDIR)\$(libdir) dummy
7325 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7327 uninstall::
7328 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7330 clean::
7331 \$(RM) libwine.dll version.c
7336 darwin*|macosx*)
7337 DLLEXT=".so"
7338 LIBEXT="dylib"
7339 DLLFLAGS="$DLLFLAGS -fPIC"
7340 LIBWINE_LDFLAGS="-multiply_defined suppress"
7341 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7342 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7343 COREFOUNDATIONLIB="-framework CoreFoundation"
7345 IOKITLIB="-framework IOKit -framework CoreFoundation"
7347 FORCEFEEDBACKLIB="-framework ForceFeedback -framework CoreFoundation"
7349 APPLICATIONSERVICESLIB="-framework ApplicationServices"
7351 CORESERVICESLIB="-framework CoreServices"
7353 APPKITLIB="-framework AppKit"
7355 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7356 case $host_os in
7357 darwin11*) LDEXECFLAGS="-Wl,-macosx_version_min,10.6 $LDEXECFLAGS" ;;
7358 esac
7359 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7360 then
7361 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
7364 if test "$ac_cv_header_Security_Security_h" = "yes"
7365 then
7366 SECURITYLIB="-framework Security -framework CoreFoundation"
7368 ac_save_LIBS="$LIBS"
7369 LIBS="$LIBS $SECURITYLIB"
7370 for ac_func in SSLCopyPeerCertificates
7371 do :
7372 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7373 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
7374 cat >>confdefs.h <<_ACEOF
7375 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7376 _ACEOF
7379 done
7381 LIBS="$ac_save_LIBS"
7382 with_gnutls=${with_gnutls:-no}
7384 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7385 then
7386 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7387 then
7388 COREAUDIO="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7390 else
7391 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7394 ac_save_LIBS="$LIBS"
7395 LIBS="$LIBS $COREAUDIO"
7396 for ac_func in AUGraphAddNode
7397 do :
7398 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7399 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
7400 cat >>confdefs.h <<_ACEOF
7401 #define HAVE_AUGRAPHADDNODE 1
7402 _ACEOF
7405 done
7407 LIBS="$ac_save_LIBS"
7409 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7410 then
7411 FRAMEWORK_OPENAL="-framework OpenAL"
7414 cat >>confdefs.h <<_ACEOF
7415 #define HAVE_OPENAL 1
7416 _ACEOF
7418 ac_cv_lib_openal=yes
7420 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7421 then
7422 LIBOPENCL="-framework OpenCL"
7424 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
7426 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7427 then
7428 ac_save_LIBS="$LIBS"
7429 LIBS="$LIBS $IOKITLIB"
7430 for ac_func in IOHIDManagerCreate
7431 do :
7432 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7433 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
7434 cat >>confdefs.h <<_ACEOF
7435 #define HAVE_IOHIDMANAGERCREATE 1
7436 _ACEOF
7439 done
7441 LIBS="$ac_save_LIBS"
7443 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7444 then
7445 QUICKTIMELIB="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7447 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
7448 else
7449 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7451 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7452 then
7453 CARBONLIB="-framework Carbon"
7457 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7458 then
7459 ac_save_LIBS="$LIBS"
7460 LIBS="$LIBS $APPLICATIONSERVICESLIB"
7461 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7462 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
7463 enable_winemac_drv=${enable_winemac_drv:-yes}
7466 LIBS="$ac_save_LIBS"
7469 if test "x$enable_win16" = "xyes"
7470 then
7471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7472 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7473 if test "$cross_compiling" = yes; then :
7474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7475 $as_echo "cross-compiling, assuming yes" >&6; }
7476 else
7477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7478 /* end confdefs.h. */
7479 asm(".text\n"
7480 "bad:\tnop;nop\n"
7481 "good:\tnop;nop\n\t"
7482 ".globl _testfunc\n"
7483 "_testfunc:\tcallw good");
7484 extern void testfunc();
7486 main ()
7488 unsigned short *p = (unsigned short *)testfunc;
7489 return p[0] != 0xe866 || p[1] != 0xfffa
7491 return 0;
7493 _ACEOF
7494 if ac_fn_c_try_run "$LINENO"; then :
7495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7496 $as_echo "yes" >&6; }
7497 else
7498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7499 $as_echo "no" >&6; }
7500 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
7502 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7503 conftest.$ac_objext conftest.beam conftest.$ac_ext
7508 LIBWINE_RULES="
7509 all: libwine.dylib
7511 libwine.\$(VERSION).dylib: \$(OBJS) \$(RELPATH) Makefile.in
7512 \$(CC) -dynamiclib -install_name @rpath/libwine.\$(SOVERSION).dylib -Wl,-rpath,@loader_path/ -compatibility_version \$(SOVERSION) -current_version \$(VERSION) \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7514 libwine.\$(SOVERSION).dylib: libwine.\$(VERSION).dylib
7515 \$(RM) \$@ && \$(LN_S) libwine.\$(VERSION).dylib \$@
7517 libwine.dylib: libwine.\$(SOVERSION).dylib
7518 \$(RM) \$@ && \$(LN_S) libwine.\$(SOVERSION).dylib \$@
7520 install install-lib:: libwine.\$(VERSION).dylib \$(DESTDIR)\$(libdir) dummy
7521 \$(INSTALL_PROGRAM) libwine.\$(VERSION).dylib \$(DESTDIR)\$(libdir)/libwine.\$(VERSION).dylib
7522 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.\$(SOVERSION).dylib && \$(LN_S) libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib
7524 install install-dev:: \$(DESTDIR)\$(libdir) dummy
7525 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.\$(VERSION).dylib libwine.dylib
7527 uninstall::
7528 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib
7530 clean::
7531 \$(RM) libwine.dylib libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib version.c
7535 as_fn_append LOADER_RULES "
7536 $wine_binary: main.o Makefile.in wine_info.plist
7537 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7539 wine-installed: main.o Makefile.in wine_info.plist
7540 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7542 wine_info.plist: wine_info.plist.in \$(top_builddir)/include/config.h
7543 LC_ALL=C sed -e 's,@PACKAGE_VERSION@,$PACKAGE_VERSION,g' \$(srcdir)/wine_info.plist.in >\$@ || (\$(RM) \$@ && false)
7547 linux-android*)
7548 DLLFLAGS="$DLLFLAGS -fPIC"
7549 DLLEXT=".so"
7550 DLLPREFIX="lib"
7551 LDEXECFLAGS=""
7552 dlldir="\${libdir}"
7553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7554 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7555 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
7556 $as_echo_n "(cached) " >&6
7557 else
7558 ac_wine_try_cflags_saved=$CFLAGS
7559 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
7560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7561 /* end confdefs.h. */
7562 int main(int argc, char **argv) { return 0; }
7563 _ACEOF
7564 if ac_fn_c_try_link "$LINENO"; then :
7565 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
7566 else
7567 ac_cv_cflags__fPIC__Wl___export_dynamic=no
7569 rm -f core conftest.err conftest.$ac_objext \
7570 conftest$ac_exeext conftest.$ac_ext
7571 CFLAGS=$ac_wine_try_cflags_saved
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7574 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7575 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
7576 LDEXECFLAGS="-Wl,--export-dynamic"
7578 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7580 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7581 if eval \${$as_ac_var+:} false; then :
7582 $as_echo_n "(cached) " >&6
7583 else
7584 ac_wine_try_cflags_saved=$CFLAGS
7585 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7587 /* end confdefs.h. */
7588 int main(int argc, char **argv) { return 0; }
7589 _ACEOF
7590 if ac_fn_c_try_link "$LINENO"; then :
7591 eval "$as_ac_var=yes"
7592 else
7593 eval "$as_ac_var=no"
7595 rm -f core conftest.err conftest.$ac_objext \
7596 conftest$ac_exeext conftest.$ac_ext
7597 CFLAGS=$ac_wine_try_cflags_saved
7599 eval ac_res=\$$as_ac_var
7600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7601 $as_echo "$ac_res" >&6; }
7602 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7603 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7604 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7605 else
7606 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7608 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7609 if eval \${$as_ac_var+:} false; then :
7610 $as_echo_n "(cached) " >&6
7611 else
7612 ac_wine_try_cflags_saved=$CFLAGS
7613 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7615 /* end confdefs.h. */
7616 int main(int argc, char **argv) { return 0; }
7617 _ACEOF
7618 if ac_fn_c_try_link "$LINENO"; then :
7619 eval "$as_ac_var=yes"
7620 else
7621 eval "$as_ac_var=no"
7623 rm -f core conftest.err conftest.$ac_objext \
7624 conftest$ac_exeext conftest.$ac_ext
7625 CFLAGS=$ac_wine_try_cflags_saved
7627 eval ac_res=\$$as_ac_var
7628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7629 $as_echo "$ac_res" >&6; }
7630 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7631 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7632 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7637 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7638 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
7639 $as_echo_n "(cached) " >&6
7640 else
7641 ac_wine_try_cflags_saved=$CFLAGS
7642 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
7643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7644 /* end confdefs.h. */
7645 int main(int argc, char **argv) { return 0; }
7646 _ACEOF
7647 if ac_fn_c_try_link "$LINENO"; then :
7648 ac_cv_cflags__Wl___enable_new_dtags=yes
7649 else
7650 ac_cv_cflags__Wl___enable_new_dtags=no
7652 rm -f core conftest.err conftest.$ac_objext \
7653 conftest$ac_exeext conftest.$ac_ext
7654 CFLAGS=$ac_wine_try_cflags_saved
7656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7657 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7658 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
7659 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
7662 case $host_cpu in
7663 *i[3456789]86* | x86_64)
7664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
7665 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
7666 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
7667 $as_echo_n "(cached) " >&6
7668 else
7669 ac_wine_try_cflags_saved=$CFLAGS
7670 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
7671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7672 /* end confdefs.h. */
7673 int main(int argc, char **argv) { return 0; }
7674 _ACEOF
7675 if ac_fn_c_try_link "$LINENO"; then :
7676 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
7677 else
7678 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
7680 rm -f core conftest.err conftest.$ac_objext \
7681 conftest$ac_exeext conftest.$ac_ext
7682 CFLAGS=$ac_wine_try_cflags_saved
7684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
7685 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
7686 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
7687 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
7690 esac
7692 LIBWINE_RULES="
7693 all: libwine.so
7695 libwine.so: \$(OBJS) Makefile.in
7696 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7698 install install-lib:: libwine.so \$(DESTDIR)\$(libdir) dummy
7699 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
7701 uninstall::
7702 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
7704 clean::
7705 \$(RM) libwine.so version.c
7709 as_fn_append LOADER_RULES "
7710 $wine_binary: main.o Makefile.in
7711 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7713 wine-installed: main.o Makefile.in
7714 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7719 DLLFLAGS="$DLLFLAGS -fPIC"
7720 DLLEXT=".so"
7721 LDEXECFLAGS=""
7722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
7723 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
7724 if ${ac_cv_c_dll_gnuelf+:} false; then :
7725 $as_echo_n "(cached) " >&6
7726 else
7727 ac_wine_try_cflags_saved=$CFLAGS
7728 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
7729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7730 /* end confdefs.h. */
7731 void myfunc() {}
7732 _ACEOF
7733 if ac_fn_c_try_link "$LINENO"; then :
7734 ac_cv_c_dll_gnuelf="yes"
7735 else
7736 ac_cv_c_dll_gnuelf="no"
7738 rm -f core conftest.err conftest.$ac_objext \
7739 conftest$ac_exeext conftest.$ac_ext
7740 CFLAGS=$ac_wine_try_cflags_saved
7742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
7743 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
7744 if test "$ac_cv_c_dll_gnuelf" = "yes"
7745 then
7746 LDSHARED="\$(CC) -shared"
7747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
7748 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
7749 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
7750 $as_echo_n "(cached) " >&6
7751 else
7752 ac_wine_try_cflags_saved=$CFLAGS
7753 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
7754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7755 /* end confdefs.h. */
7756 int main(int argc, char **argv) { return 0; }
7757 _ACEOF
7758 if ac_fn_c_try_link "$LINENO"; then :
7759 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
7760 else
7761 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
7763 rm -f core conftest.err conftest.$ac_objext \
7764 conftest$ac_exeext conftest.$ac_ext
7765 CFLAGS=$ac_wine_try_cflags_saved
7767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
7768 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
7769 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then :
7770 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.\$(SOVERSION)"
7771 else
7772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
7773 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
7774 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
7775 $as_echo_n "(cached) " >&6
7776 else
7777 ac_wine_try_cflags_saved=$CFLAGS
7778 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
7779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7780 /* end confdefs.h. */
7781 int main(int argc, char **argv) { return 0; }
7782 _ACEOF
7783 if ac_fn_c_try_link "$LINENO"; then :
7784 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
7785 else
7786 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
7788 rm -f core conftest.err conftest.$ac_objext \
7789 conftest$ac_exeext conftest.$ac_ext
7790 CFLAGS=$ac_wine_try_cflags_saved
7792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
7793 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
7794 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then :
7795 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.\$(SOVERSION)"
7799 echo '{ global: *; };' >conftest.map
7800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
7801 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
7802 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
7803 $as_echo_n "(cached) " >&6
7804 else
7805 ac_wine_try_cflags_saved=$CFLAGS
7806 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
7807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7808 /* end confdefs.h. */
7809 int main(int argc, char **argv) { return 0; }
7810 _ACEOF
7811 if ac_fn_c_try_link "$LINENO"; then :
7812 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
7813 else
7814 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
7816 rm -f core conftest.err conftest.$ac_objext \
7817 conftest$ac_exeext conftest.$ac_ext
7818 CFLAGS=$ac_wine_try_cflags_saved
7820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
7821 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
7822 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then :
7823 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
7825 rm -f conftest.map
7827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7828 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7829 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
7830 $as_echo_n "(cached) " >&6
7831 else
7832 ac_wine_try_cflags_saved=$CFLAGS
7833 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
7834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7835 /* end confdefs.h. */
7836 int main(int argc, char **argv) { return 0; }
7837 _ACEOF
7838 if ac_fn_c_try_link "$LINENO"; then :
7839 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
7840 else
7841 ac_cv_cflags__fPIC__Wl___export_dynamic=no
7843 rm -f core conftest.err conftest.$ac_objext \
7844 conftest$ac_exeext conftest.$ac_ext
7845 CFLAGS=$ac_wine_try_cflags_saved
7847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7848 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7849 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
7850 LDEXECFLAGS="-Wl,--export-dynamic"
7853 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7855 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7856 if eval \${$as_ac_var+:} false; then :
7857 $as_echo_n "(cached) " >&6
7858 else
7859 ac_wine_try_cflags_saved=$CFLAGS
7860 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7862 /* end confdefs.h. */
7863 int main(int argc, char **argv) { return 0; }
7864 _ACEOF
7865 if ac_fn_c_try_link "$LINENO"; then :
7866 eval "$as_ac_var=yes"
7867 else
7868 eval "$as_ac_var=no"
7870 rm -f core conftest.err conftest.$ac_objext \
7871 conftest$ac_exeext conftest.$ac_ext
7872 CFLAGS=$ac_wine_try_cflags_saved
7874 eval ac_res=\$$as_ac_var
7875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7876 $as_echo "$ac_res" >&6; }
7877 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7878 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7879 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7880 else
7881 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7883 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7884 if eval \${$as_ac_var+:} false; then :
7885 $as_echo_n "(cached) " >&6
7886 else
7887 ac_wine_try_cflags_saved=$CFLAGS
7888 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7890 /* end confdefs.h. */
7891 int main(int argc, char **argv) { return 0; }
7892 _ACEOF
7893 if ac_fn_c_try_link "$LINENO"; then :
7894 eval "$as_ac_var=yes"
7895 else
7896 eval "$as_ac_var=no"
7898 rm -f core conftest.err conftest.$ac_objext \
7899 conftest$ac_exeext conftest.$ac_ext
7900 CFLAGS=$ac_wine_try_cflags_saved
7902 eval ac_res=\$$as_ac_var
7903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7904 $as_echo "$ac_res" >&6; }
7905 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7906 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7907 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7912 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7913 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
7914 $as_echo_n "(cached) " >&6
7915 else
7916 ac_wine_try_cflags_saved=$CFLAGS
7917 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
7918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7919 /* end confdefs.h. */
7920 int main(int argc, char **argv) { return 0; }
7921 _ACEOF
7922 if ac_fn_c_try_link "$LINENO"; then :
7923 ac_cv_cflags__Wl___enable_new_dtags=yes
7924 else
7925 ac_cv_cflags__Wl___enable_new_dtags=no
7927 rm -f core conftest.err conftest.$ac_objext \
7928 conftest$ac_exeext conftest.$ac_ext
7929 CFLAGS=$ac_wine_try_cflags_saved
7931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7932 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7933 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
7934 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
7937 case $host_cpu in
7938 *i[3456789]86* | x86_64)
7939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
7940 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
7941 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
7942 $as_echo_n "(cached) " >&6
7943 else
7944 ac_wine_try_cflags_saved=$CFLAGS
7945 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
7946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7947 /* end confdefs.h. */
7948 int main(int argc, char **argv) { return 0; }
7949 _ACEOF
7950 if ac_fn_c_try_link "$LINENO"; then :
7951 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
7952 else
7953 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
7955 rm -f core conftest.err conftest.$ac_objext \
7956 conftest$ac_exeext conftest.$ac_ext
7957 CFLAGS=$ac_wine_try_cflags_saved
7959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
7960 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
7961 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
7962 case $host_os in
7963 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
7964 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
7965 esac
7968 # Extract the first word of "prelink", so it can be a program name with args.
7969 set dummy prelink; ac_word=$2
7970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7971 $as_echo_n "checking for $ac_word... " >&6; }
7972 if ${ac_cv_path_PRELINK+:} false; then :
7973 $as_echo_n "(cached) " >&6
7974 else
7975 case $PRELINK in
7976 [\\/]* | ?:[\\/]*)
7977 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
7980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7981 for as_dir in /sbin /usr/sbin $PATH
7983 IFS=$as_save_IFS
7984 test -z "$as_dir" && as_dir=.
7985 for ac_exec_ext in '' $ac_executable_extensions; do
7986 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7987 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
7988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7989 break 2
7991 done
7992 done
7993 IFS=$as_save_IFS
7995 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
7997 esac
7999 PRELINK=$ac_cv_path_PRELINK
8000 if test -n "$PRELINK"; then
8001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8002 $as_echo "$PRELINK" >&6; }
8003 else
8004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8005 $as_echo "no" >&6; }
8009 if test "x$PRELINK" = xfalse
8010 then
8011 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
8014 esac
8016 else
8017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8018 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8019 if ${ac_cv_c_dll_unixware+:} false; then :
8020 $as_echo_n "(cached) " >&6
8021 else
8022 ac_wine_try_cflags_saved=$CFLAGS
8023 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8025 /* end confdefs.h. */
8026 void myfunc() {}
8027 _ACEOF
8028 if ac_fn_c_try_link "$LINENO"; then :
8029 ac_cv_c_dll_unixware="yes"
8030 else
8031 ac_cv_c_dll_unixware="no"
8033 rm -f core conftest.err conftest.$ac_objext \
8034 conftest$ac_exeext conftest.$ac_ext
8035 CFLAGS=$ac_wine_try_cflags_saved
8037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8038 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8039 if test "$ac_cv_c_dll_unixware" = "yes"
8040 then
8041 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.\$(SOVERSION)"
8044 LIBWINE_RULES="
8045 all: libwine.so
8047 libwine.so.\$(VERSION): \$(OBJS) wine.map Makefile.in
8048 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8050 libwine.so.\$(SOVERSION): libwine.so.\$(VERSION)
8051 \$(RM) \$@ && \$(LN_S) libwine.so.\$(VERSION) \$@
8053 libwine.so: libwine.so.\$(SOVERSION)
8054 \$(RM) \$@ && \$(LN_S) libwine.so.\$(SOVERSION) \$@
8056 install install-lib:: libwine.so.\$(VERSION) \$(DESTDIR)\$(libdir) dummy
8057 \$(INSTALL_PROGRAM) libwine.so.\$(VERSION) \$(DESTDIR)\$(libdir)/libwine.so.\$(VERSION)
8058 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.\$(SOVERSION) && \$(LN_S) libwine.so.\$(VERSION) libwine.so.\$(SOVERSION)
8060 install install-dev:: \$(DESTDIR)\$(libdir) dummy
8061 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.\$(VERSION) libwine.so
8063 uninstall::
8064 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.\$(VERSION) libwine.so.\$(SOVERSION)
8066 clean::
8067 \$(RM) libwine.so.\$(SOVERSION) libwine.so.\$(VERSION) version.c
8071 as_fn_append LOADER_RULES "
8072 $wine_binary: main.o Makefile.in
8073 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8075 wine-installed: main.o Makefile.in
8076 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8079 esac
8081 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8082 enable_winemac_drv=${enable_winemac_drv:-no}
8084 CROSSTEST_DISABLE=\#
8086 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8087 then
8088 case "$host_cpu" in
8089 i[3456789]86*)
8090 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
8091 mingw32-gcc" ;;
8092 x86_64)
8093 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 " ;;
8095 ac_prefix_list="" ;;
8096 esac
8097 for ac_prog in $ac_prefix_list
8099 # Extract the first word of "$ac_prog", so it can be a program name with args.
8100 set dummy $ac_prog; ac_word=$2
8101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8102 $as_echo_n "checking for $ac_word... " >&6; }
8103 if ${ac_cv_prog_CROSSCC+:} false; then :
8104 $as_echo_n "(cached) " >&6
8105 else
8106 if test -n "$CROSSCC"; then
8107 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8108 else
8109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8110 for as_dir in $PATH
8112 IFS=$as_save_IFS
8113 test -z "$as_dir" && as_dir=.
8114 for ac_exec_ext in '' $ac_executable_extensions; do
8115 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8116 ac_cv_prog_CROSSCC="$ac_prog"
8117 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8118 break 2
8120 done
8121 done
8122 IFS=$as_save_IFS
8126 CROSSCC=$ac_cv_prog_CROSSCC
8127 if test -n "$CROSSCC"; then
8128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8129 $as_echo "$CROSSCC" >&6; }
8130 else
8131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8132 $as_echo "no" >&6; }
8136 test -n "$CROSSCC" && break
8137 done
8138 test -n "$CROSSCC" || CROSSCC="false"
8140 if test "$CROSSCC" != "false"
8141 then
8142 ac_save_CC="$CC"
8143 CC="$CROSSCC"
8144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8145 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8147 /* end confdefs.h. */
8150 main ()
8154 return 0;
8156 _ACEOF
8157 if ac_fn_c_try_compile "$LINENO"; then :
8158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8159 $as_echo "yes" >&6; }
8160 set x $CROSSCC
8161 shift
8162 target=""
8163 while test $# -ge 1
8165 case "$1" in
8166 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
8167 esac
8168 shift
8169 done
8170 if test -n "$target"
8171 then
8172 CROSSTEST_DISABLE=""
8173 CROSSTARGET="$target"
8176 else
8177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8178 $as_echo "no" >&6; }
8180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8181 CC="$ac_save_CC"
8186 if test "$ac_cv_header_pthread_h" = "yes"
8187 then
8188 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8189 if test "x$ac_cv_func_pthread_create" = xyes; then :
8191 else
8192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8193 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8194 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8195 $as_echo_n "(cached) " >&6
8196 else
8197 ac_check_lib_save_LIBS=$LIBS
8198 LIBS="-lpthread $LIBS"
8199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8200 /* end confdefs.h. */
8202 /* Override any GCC internal prototype to avoid an error.
8203 Use char because int might match the return type of a GCC
8204 builtin and then its argument prototype would still apply. */
8205 #ifdef __cplusplus
8206 extern "C"
8207 #endif
8208 char pthread_create ();
8210 main ()
8212 return pthread_create ();
8214 return 0;
8216 _ACEOF
8217 if ac_fn_c_try_link "$LINENO"; then :
8218 ac_cv_lib_pthread_pthread_create=yes
8219 else
8220 ac_cv_lib_pthread_pthread_create=no
8222 rm -f core conftest.err conftest.$ac_objext \
8223 conftest$ac_exeext conftest.$ac_ext
8224 LIBS=$ac_check_lib_save_LIBS
8226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8227 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8228 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8229 LIBPTHREAD="-lpthread"
8236 if test "x$ac_cv_func_pthread_create" != xyes -a "x$LIBPTHREAD" = x; then :
8237 case "x$with_pthread" in
8238 xno) ;;
8239 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8240 Wine cannot support threads without libpthread.
8241 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8242 esac
8246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8247 $as_echo_n "checking for X... " >&6; }
8250 # Check whether --with-x was given.
8251 if test "${with_x+set}" = set; then :
8252 withval=$with_x;
8255 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8256 if test "x$with_x" = xno; then
8257 # The user explicitly disabled X.
8258 have_x=disabled
8259 else
8260 case $x_includes,$x_libraries in #(
8261 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8262 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8263 $as_echo_n "(cached) " >&6
8264 else
8265 # One or both of the vars are not set, and there is no cached value.
8266 ac_x_includes=no ac_x_libraries=no
8267 rm -f -r conftest.dir
8268 if mkdir conftest.dir; then
8269 cd conftest.dir
8270 cat >Imakefile <<'_ACEOF'
8271 incroot:
8272 @echo incroot='${INCROOT}'
8273 usrlibdir:
8274 @echo usrlibdir='${USRLIBDIR}'
8275 libdir:
8276 @echo libdir='${LIBDIR}'
8277 _ACEOF
8278 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8279 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8280 for ac_var in incroot usrlibdir libdir; do
8281 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8282 done
8283 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8284 for ac_extension in a so sl dylib la dll; do
8285 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8286 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8287 ac_im_usrlibdir=$ac_im_libdir; break
8289 done
8290 # Screen out bogus values from the imake configuration. They are
8291 # bogus both because they are the default anyway, and because
8292 # using them would break gcc on systems where it needs fixed includes.
8293 case $ac_im_incroot in
8294 /usr/include) ac_x_includes= ;;
8295 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8296 esac
8297 case $ac_im_usrlibdir in
8298 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8299 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8300 esac
8302 cd ..
8303 rm -f -r conftest.dir
8306 # Standard set of common directories for X headers.
8307 # Check X11 before X11Rn because it is often a symlink to the current release.
8308 ac_x_header_dirs='
8309 /usr/X11/include
8310 /usr/X11R7/include
8311 /usr/X11R6/include
8312 /usr/X11R5/include
8313 /usr/X11R4/include
8315 /usr/include/X11
8316 /usr/include/X11R7
8317 /usr/include/X11R6
8318 /usr/include/X11R5
8319 /usr/include/X11R4
8321 /usr/local/X11/include
8322 /usr/local/X11R7/include
8323 /usr/local/X11R6/include
8324 /usr/local/X11R5/include
8325 /usr/local/X11R4/include
8327 /usr/local/include/X11
8328 /usr/local/include/X11R7
8329 /usr/local/include/X11R6
8330 /usr/local/include/X11R5
8331 /usr/local/include/X11R4
8333 /usr/X386/include
8334 /usr/x386/include
8335 /usr/XFree86/include/X11
8337 /usr/include
8338 /usr/local/include
8339 /usr/unsupported/include
8340 /usr/athena/include
8341 /usr/local/x11r5/include
8342 /usr/lpp/Xamples/include
8344 /usr/openwin/include
8345 /usr/openwin/share/include'
8347 if test "$ac_x_includes" = no; then
8348 # Guess where to find include files, by looking for Xlib.h.
8349 # First, try using that file with no special directory specified.
8350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8351 /* end confdefs.h. */
8352 #include <X11/Xlib.h>
8353 _ACEOF
8354 if ac_fn_c_try_cpp "$LINENO"; then :
8355 # We can compile using X headers with no special include directory.
8356 ac_x_includes=
8357 else
8358 for ac_dir in $ac_x_header_dirs; do
8359 if test -r "$ac_dir/X11/Xlib.h"; then
8360 ac_x_includes=$ac_dir
8361 break
8363 done
8365 rm -f conftest.err conftest.i conftest.$ac_ext
8366 fi # $ac_x_includes = no
8368 if test "$ac_x_libraries" = no; then
8369 # Check for the libraries.
8370 # See if we find them without any special options.
8371 # Don't add to $LIBS permanently.
8372 ac_save_LIBS=$LIBS
8373 LIBS="-lX11 $LIBS"
8374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8375 /* end confdefs.h. */
8376 #include <X11/Xlib.h>
8378 main ()
8380 XrmInitialize ()
8382 return 0;
8384 _ACEOF
8385 if ac_fn_c_try_link "$LINENO"; then :
8386 LIBS=$ac_save_LIBS
8387 # We can link X programs with no special library path.
8388 ac_x_libraries=
8389 else
8390 LIBS=$ac_save_LIBS
8391 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8393 # Don't even attempt the hair of trying to link an X program!
8394 for ac_extension in a so sl dylib la dll; do
8395 if test -r "$ac_dir/libX11.$ac_extension"; then
8396 ac_x_libraries=$ac_dir
8397 break 2
8399 done
8400 done
8402 rm -f core conftest.err conftest.$ac_objext \
8403 conftest$ac_exeext conftest.$ac_ext
8404 fi # $ac_x_libraries = no
8406 case $ac_x_includes,$ac_x_libraries in #(
8407 no,* | *,no | *\'*)
8408 # Didn't find X, or a directory has "'" in its name.
8409 ac_cv_have_x="have_x=no";; #(
8411 # Record where we found X for the cache.
8412 ac_cv_have_x="have_x=yes\
8413 ac_x_includes='$ac_x_includes'\
8414 ac_x_libraries='$ac_x_libraries'"
8415 esac
8417 ;; #(
8418 *) have_x=yes;;
8419 esac
8420 eval "$ac_cv_have_x"
8421 fi # $with_x != no
8423 if test "$have_x" != yes; then
8424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8425 $as_echo "$have_x" >&6; }
8426 no_x=yes
8427 else
8428 # If each of the values was on the command line, it overrides each guess.
8429 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
8430 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
8431 # Update the cache value to reflect the command line values.
8432 ac_cv_have_x="have_x=yes\
8433 ac_x_includes='$x_includes'\
8434 ac_x_libraries='$x_libraries'"
8435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8436 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8439 if test "$no_x" = yes; then
8440 # Not all programs may use this symbol, but it does not hurt to define it.
8442 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8444 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
8445 else
8446 if test -n "$x_includes"; then
8447 X_CFLAGS="$X_CFLAGS -I$x_includes"
8450 # It would also be nice to do this for all -L options, not just this one.
8451 if test -n "$x_libraries"; then
8452 X_LIBS="$X_LIBS -L$x_libraries"
8453 # For Solaris; some versions of Sun CC require a space after -R and
8454 # others require no space. Words are not sufficient . . . .
8455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8456 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8457 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
8458 ac_xsave_c_werror_flag=$ac_c_werror_flag
8459 ac_c_werror_flag=yes
8460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8461 /* end confdefs.h. */
8464 main ()
8468 return 0;
8470 _ACEOF
8471 if ac_fn_c_try_link "$LINENO"; then :
8472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8473 $as_echo "no" >&6; }
8474 X_LIBS="$X_LIBS -R$x_libraries"
8475 else
8476 LIBS="$ac_xsave_LIBS -R $x_libraries"
8477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8478 /* end confdefs.h. */
8481 main ()
8485 return 0;
8487 _ACEOF
8488 if ac_fn_c_try_link "$LINENO"; then :
8489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8490 $as_echo "yes" >&6; }
8491 X_LIBS="$X_LIBS -R $x_libraries"
8492 else
8493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8494 $as_echo "neither works" >&6; }
8496 rm -f core conftest.err conftest.$ac_objext \
8497 conftest$ac_exeext conftest.$ac_ext
8499 rm -f core conftest.err conftest.$ac_objext \
8500 conftest$ac_exeext conftest.$ac_ext
8501 ac_c_werror_flag=$ac_xsave_c_werror_flag
8502 LIBS=$ac_xsave_LIBS
8505 # Check for system-dependent libraries X programs must link with.
8506 # Do this before checking for the system-independent R6 libraries
8507 # (-lICE), since we may need -lsocket or whatever for X linking.
8509 if test "$ISC" = yes; then
8510 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
8511 else
8512 # Martyn Johnson says this is needed for Ultrix, if the X
8513 # libraries were built with DECnet support. And Karl Berry says
8514 # the Alpha needs dnet_stub (dnet does not exist).
8515 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
8516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8517 /* end confdefs.h. */
8519 /* Override any GCC internal prototype to avoid an error.
8520 Use char because int might match the return type of a GCC
8521 builtin and then its argument prototype would still apply. */
8522 #ifdef __cplusplus
8523 extern "C"
8524 #endif
8525 char XOpenDisplay ();
8527 main ()
8529 return XOpenDisplay ();
8531 return 0;
8533 _ACEOF
8534 if ac_fn_c_try_link "$LINENO"; then :
8536 else
8537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8538 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8539 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
8540 $as_echo_n "(cached) " >&6
8541 else
8542 ac_check_lib_save_LIBS=$LIBS
8543 LIBS="-ldnet $LIBS"
8544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8545 /* end confdefs.h. */
8547 /* Override any GCC internal prototype to avoid an error.
8548 Use char because int might match the return type of a GCC
8549 builtin and then its argument prototype would still apply. */
8550 #ifdef __cplusplus
8551 extern "C"
8552 #endif
8553 char dnet_ntoa ();
8555 main ()
8557 return dnet_ntoa ();
8559 return 0;
8561 _ACEOF
8562 if ac_fn_c_try_link "$LINENO"; then :
8563 ac_cv_lib_dnet_dnet_ntoa=yes
8564 else
8565 ac_cv_lib_dnet_dnet_ntoa=no
8567 rm -f core conftest.err conftest.$ac_objext \
8568 conftest$ac_exeext conftest.$ac_ext
8569 LIBS=$ac_check_lib_save_LIBS
8571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8572 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8573 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
8574 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
8577 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
8578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8579 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8580 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
8581 $as_echo_n "(cached) " >&6
8582 else
8583 ac_check_lib_save_LIBS=$LIBS
8584 LIBS="-ldnet_stub $LIBS"
8585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8586 /* end confdefs.h. */
8588 /* Override any GCC internal prototype to avoid an error.
8589 Use char because int might match the return type of a GCC
8590 builtin and then its argument prototype would still apply. */
8591 #ifdef __cplusplus
8592 extern "C"
8593 #endif
8594 char dnet_ntoa ();
8596 main ()
8598 return dnet_ntoa ();
8600 return 0;
8602 _ACEOF
8603 if ac_fn_c_try_link "$LINENO"; then :
8604 ac_cv_lib_dnet_stub_dnet_ntoa=yes
8605 else
8606 ac_cv_lib_dnet_stub_dnet_ntoa=no
8608 rm -f core conftest.err conftest.$ac_objext \
8609 conftest$ac_exeext conftest.$ac_ext
8610 LIBS=$ac_check_lib_save_LIBS
8612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8613 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
8614 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
8615 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
8620 rm -f core conftest.err conftest.$ac_objext \
8621 conftest$ac_exeext conftest.$ac_ext
8622 LIBS="$ac_xsave_LIBS"
8624 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8625 # to get the SysV transport functions.
8626 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
8627 # needs -lnsl.
8628 # The nsl library prevents programs from opening the X display
8629 # on Irix 5.2, according to T.E. Dickey.
8630 # The functions gethostbyname, getservbyname, and inet_addr are
8631 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
8632 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
8633 if test "x$ac_cv_func_gethostbyname" = xyes; then :
8637 if test $ac_cv_func_gethostbyname = no; then
8638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
8639 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
8640 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
8641 $as_echo_n "(cached) " >&6
8642 else
8643 ac_check_lib_save_LIBS=$LIBS
8644 LIBS="-lnsl $LIBS"
8645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8646 /* end confdefs.h. */
8648 /* Override any GCC internal prototype to avoid an error.
8649 Use char because int might match the return type of a GCC
8650 builtin and then its argument prototype would still apply. */
8651 #ifdef __cplusplus
8652 extern "C"
8653 #endif
8654 char gethostbyname ();
8656 main ()
8658 return gethostbyname ();
8660 return 0;
8662 _ACEOF
8663 if ac_fn_c_try_link "$LINENO"; then :
8664 ac_cv_lib_nsl_gethostbyname=yes
8665 else
8666 ac_cv_lib_nsl_gethostbyname=no
8668 rm -f core conftest.err conftest.$ac_objext \
8669 conftest$ac_exeext conftest.$ac_ext
8670 LIBS=$ac_check_lib_save_LIBS
8672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
8673 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
8674 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
8675 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
8678 if test $ac_cv_lib_nsl_gethostbyname = no; then
8679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
8680 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
8681 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
8682 $as_echo_n "(cached) " >&6
8683 else
8684 ac_check_lib_save_LIBS=$LIBS
8685 LIBS="-lbsd $LIBS"
8686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8687 /* end confdefs.h. */
8689 /* Override any GCC internal prototype to avoid an error.
8690 Use char because int might match the return type of a GCC
8691 builtin and then its argument prototype would still apply. */
8692 #ifdef __cplusplus
8693 extern "C"
8694 #endif
8695 char gethostbyname ();
8697 main ()
8699 return gethostbyname ();
8701 return 0;
8703 _ACEOF
8704 if ac_fn_c_try_link "$LINENO"; then :
8705 ac_cv_lib_bsd_gethostbyname=yes
8706 else
8707 ac_cv_lib_bsd_gethostbyname=no
8709 rm -f core conftest.err conftest.$ac_objext \
8710 conftest$ac_exeext conftest.$ac_ext
8711 LIBS=$ac_check_lib_save_LIBS
8713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
8714 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
8715 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
8716 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
8722 # lieder@skyler.mavd.honeywell.com says without -lsocket,
8723 # socket/setsockopt and other routines are undefined under SCO ODT
8724 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
8725 # on later versions), says Simon Leinen: it contains gethostby*
8726 # variants that don't use the name server (or something). -lsocket
8727 # must be given before -lnsl if both are needed. We assume that
8728 # if connect needs -lnsl, so does gethostbyname.
8729 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
8730 if test "x$ac_cv_func_connect" = xyes; then :
8734 if test $ac_cv_func_connect = no; then
8735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
8736 $as_echo_n "checking for connect in -lsocket... " >&6; }
8737 if ${ac_cv_lib_socket_connect+:} false; then :
8738 $as_echo_n "(cached) " >&6
8739 else
8740 ac_check_lib_save_LIBS=$LIBS
8741 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
8742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8743 /* end confdefs.h. */
8745 /* Override any GCC internal prototype to avoid an error.
8746 Use char because int might match the return type of a GCC
8747 builtin and then its argument prototype would still apply. */
8748 #ifdef __cplusplus
8749 extern "C"
8750 #endif
8751 char connect ();
8753 main ()
8755 return connect ();
8757 return 0;
8759 _ACEOF
8760 if ac_fn_c_try_link "$LINENO"; then :
8761 ac_cv_lib_socket_connect=yes
8762 else
8763 ac_cv_lib_socket_connect=no
8765 rm -f core conftest.err conftest.$ac_objext \
8766 conftest$ac_exeext conftest.$ac_ext
8767 LIBS=$ac_check_lib_save_LIBS
8769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
8770 $as_echo "$ac_cv_lib_socket_connect" >&6; }
8771 if test "x$ac_cv_lib_socket_connect" = xyes; then :
8772 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
8777 # Guillermo Gomez says -lposix is necessary on A/UX.
8778 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
8779 if test "x$ac_cv_func_remove" = xyes; then :
8783 if test $ac_cv_func_remove = no; then
8784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
8785 $as_echo_n "checking for remove in -lposix... " >&6; }
8786 if ${ac_cv_lib_posix_remove+:} false; then :
8787 $as_echo_n "(cached) " >&6
8788 else
8789 ac_check_lib_save_LIBS=$LIBS
8790 LIBS="-lposix $LIBS"
8791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8792 /* end confdefs.h. */
8794 /* Override any GCC internal prototype to avoid an error.
8795 Use char because int might match the return type of a GCC
8796 builtin and then its argument prototype would still apply. */
8797 #ifdef __cplusplus
8798 extern "C"
8799 #endif
8800 char remove ();
8802 main ()
8804 return remove ();
8806 return 0;
8808 _ACEOF
8809 if ac_fn_c_try_link "$LINENO"; then :
8810 ac_cv_lib_posix_remove=yes
8811 else
8812 ac_cv_lib_posix_remove=no
8814 rm -f core conftest.err conftest.$ac_objext \
8815 conftest$ac_exeext conftest.$ac_ext
8816 LIBS=$ac_check_lib_save_LIBS
8818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
8819 $as_echo "$ac_cv_lib_posix_remove" >&6; }
8820 if test "x$ac_cv_lib_posix_remove" = xyes; then :
8821 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
8826 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
8827 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
8828 if test "x$ac_cv_func_shmat" = xyes; then :
8832 if test $ac_cv_func_shmat = no; then
8833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
8834 $as_echo_n "checking for shmat in -lipc... " >&6; }
8835 if ${ac_cv_lib_ipc_shmat+:} false; then :
8836 $as_echo_n "(cached) " >&6
8837 else
8838 ac_check_lib_save_LIBS=$LIBS
8839 LIBS="-lipc $LIBS"
8840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8841 /* end confdefs.h. */
8843 /* Override any GCC internal prototype to avoid an error.
8844 Use char because int might match the return type of a GCC
8845 builtin and then its argument prototype would still apply. */
8846 #ifdef __cplusplus
8847 extern "C"
8848 #endif
8849 char shmat ();
8851 main ()
8853 return shmat ();
8855 return 0;
8857 _ACEOF
8858 if ac_fn_c_try_link "$LINENO"; then :
8859 ac_cv_lib_ipc_shmat=yes
8860 else
8861 ac_cv_lib_ipc_shmat=no
8863 rm -f core conftest.err conftest.$ac_objext \
8864 conftest$ac_exeext conftest.$ac_ext
8865 LIBS=$ac_check_lib_save_LIBS
8867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
8868 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
8869 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
8870 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
8876 # Check for libraries that X11R6 Xt/Xaw programs need.
8877 ac_save_LDFLAGS=$LDFLAGS
8878 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
8879 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
8880 # check for ICE first), but we must link in the order -lSM -lICE or
8881 # we get undefined symbols. So assume we have SM if we have ICE.
8882 # These have to be linked with before -lX11, unlike the other
8883 # libraries we check for below, so use a different variable.
8884 # John Interrante, Karl Berry
8885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
8886 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
8887 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
8888 $as_echo_n "(cached) " >&6
8889 else
8890 ac_check_lib_save_LIBS=$LIBS
8891 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
8892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8893 /* end confdefs.h. */
8895 /* Override any GCC internal prototype to avoid an error.
8896 Use char because int might match the return type of a GCC
8897 builtin and then its argument prototype would still apply. */
8898 #ifdef __cplusplus
8899 extern "C"
8900 #endif
8901 char IceConnectionNumber ();
8903 main ()
8905 return IceConnectionNumber ();
8907 return 0;
8909 _ACEOF
8910 if ac_fn_c_try_link "$LINENO"; then :
8911 ac_cv_lib_ICE_IceConnectionNumber=yes
8912 else
8913 ac_cv_lib_ICE_IceConnectionNumber=no
8915 rm -f core conftest.err conftest.$ac_objext \
8916 conftest$ac_exeext conftest.$ac_ext
8917 LIBS=$ac_check_lib_save_LIBS
8919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
8920 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
8921 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
8922 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
8925 LDFLAGS=$ac_save_LDFLAGS
8930 if test "$have_x" = "yes"
8931 then
8932 XLIB="-lX11"
8933 ac_save_CPPFLAGS="$CPPFLAGS"
8934 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
8936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
8937 $as_echo_n "checking for -lX11... " >&6; }
8938 if ${ac_cv_lib_soname_X11+:} false; then :
8939 $as_echo_n "(cached) " >&6
8940 else
8941 ac_check_soname_save_LIBS=$LIBS
8942 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
8943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8944 /* end confdefs.h. */
8946 /* Override any GCC internal prototype to avoid an error.
8947 Use char because int might match the return type of a GCC
8948 builtin and then its argument prototype would still apply. */
8949 #ifdef __cplusplus
8950 extern "C"
8951 #endif
8952 char XCreateWindow ();
8954 main ()
8956 return XCreateWindow ();
8958 return 0;
8960 _ACEOF
8961 if ac_fn_c_try_link "$LINENO"; then :
8962 case "$LIBEXT" in
8963 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8964 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'` ;;
8965 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8966 if test "x$ac_cv_lib_soname_X11" = x; then :
8967 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8968 fi ;;
8969 esac
8971 rm -f core conftest.err conftest.$ac_objext \
8972 conftest$ac_exeext conftest.$ac_ext
8973 LIBS=$ac_check_soname_save_LIBS
8975 if test "x$ac_cv_lib_soname_X11" = "x"; then :
8976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8977 $as_echo "not found" >&6; }
8979 else
8980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
8981 $as_echo "$ac_cv_lib_soname_X11" >&6; }
8983 cat >>confdefs.h <<_ACEOF
8984 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
8985 _ACEOF
8989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
8990 $as_echo_n "checking for -lXext... " >&6; }
8991 if ${ac_cv_lib_soname_Xext+:} false; then :
8992 $as_echo_n "(cached) " >&6
8993 else
8994 ac_check_soname_save_LIBS=$LIBS
8995 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
8996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8997 /* end confdefs.h. */
8999 /* Override any GCC internal prototype to avoid an error.
9000 Use char because int might match the return type of a GCC
9001 builtin and then its argument prototype would still apply. */
9002 #ifdef __cplusplus
9003 extern "C"
9004 #endif
9005 char XextCreateExtension ();
9007 main ()
9009 return XextCreateExtension ();
9011 return 0;
9013 _ACEOF
9014 if ac_fn_c_try_link "$LINENO"; then :
9015 case "$LIBEXT" in
9016 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9017 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'` ;;
9018 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9019 if test "x$ac_cv_lib_soname_Xext" = x; then :
9020 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9021 fi ;;
9022 esac
9024 rm -f core conftest.err conftest.$ac_objext \
9025 conftest$ac_exeext conftest.$ac_ext
9026 LIBS=$ac_check_soname_save_LIBS
9028 if test "x$ac_cv_lib_soname_Xext" = "x"; then :
9029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9030 $as_echo "not found" >&6; }
9032 else
9033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9034 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9036 cat >>confdefs.h <<_ACEOF
9037 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9038 _ACEOF
9040 XLIB="-lXext $XLIB"
9043 for ac_header in X11/Xlib.h \
9044 X11/XKBlib.h \
9045 X11/Xutil.h \
9046 X11/Xcursor/Xcursor.h \
9047 X11/extensions/shape.h \
9048 X11/extensions/XInput.h \
9049 X11/extensions/XInput2.h \
9050 X11/extensions/XShm.h \
9051 X11/extensions/Xcomposite.h \
9052 X11/extensions/Xinerama.h \
9053 X11/extensions/Xrandr.h \
9054 X11/extensions/Xrender.h \
9055 X11/extensions/xf86vmode.h \
9056 X11/extensions/xf86vmproto.h
9057 do :
9058 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9059 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9060 # include <X11/Xlib.h>
9061 #endif
9062 #ifdef HAVE_X11_XUTIL_H
9063 # include <X11/Xutil.h>
9064 #endif
9066 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9067 cat >>confdefs.h <<_ACEOF
9068 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9069 _ACEOF
9073 done
9076 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9077 then
9078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9079 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9080 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9081 $as_echo_n "(cached) " >&6
9082 else
9083 ac_check_lib_save_LIBS=$LIBS
9084 LIBS="-lX11 $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9086 /* end confdefs.h. */
9088 /* Override any GCC internal prototype to avoid an error.
9089 Use char because int might match the return type of a GCC
9090 builtin and then its argument prototype would still apply. */
9091 #ifdef __cplusplus
9092 extern "C"
9093 #endif
9094 char XkbQueryExtension ();
9096 main ()
9098 return XkbQueryExtension ();
9100 return 0;
9102 _ACEOF
9103 if ac_fn_c_try_link "$LINENO"; then :
9104 ac_cv_lib_X11_XkbQueryExtension=yes
9105 else
9106 ac_cv_lib_X11_XkbQueryExtension=no
9108 rm -f core conftest.err conftest.$ac_objext \
9109 conftest$ac_exeext conftest.$ac_ext
9110 LIBS=$ac_check_lib_save_LIBS
9112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9113 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9114 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9116 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9122 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9123 then
9124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9125 $as_echo_n "checking for -lXcursor... " >&6; }
9126 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9127 $as_echo_n "(cached) " >&6
9128 else
9129 ac_check_soname_save_LIBS=$LIBS
9130 LIBS="-lXcursor $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9132 /* end confdefs.h. */
9134 /* Override any GCC internal prototype to avoid an error.
9135 Use char because int might match the return type of a GCC
9136 builtin and then its argument prototype would still apply. */
9137 #ifdef __cplusplus
9138 extern "C"
9139 #endif
9140 char XcursorImageLoadCursor ();
9142 main ()
9144 return XcursorImageLoadCursor ();
9146 return 0;
9148 _ACEOF
9149 if ac_fn_c_try_link "$LINENO"; then :
9150 case "$LIBEXT" in
9151 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9152 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'` ;;
9153 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9154 if test "x$ac_cv_lib_soname_Xcursor" = x; then :
9155 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9156 fi ;;
9157 esac
9159 rm -f core conftest.err conftest.$ac_objext \
9160 conftest$ac_exeext conftest.$ac_ext
9161 LIBS=$ac_check_soname_save_LIBS
9163 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9165 $as_echo "not found" >&6; }
9167 else
9168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9169 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9171 cat >>confdefs.h <<_ACEOF
9172 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9173 _ACEOF
9178 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9179 case "x$with_xcursor" in
9180 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9181 xno) ;;
9182 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9183 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9184 esac
9187 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9188 then
9189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9190 $as_echo_n "checking for -lXi... " >&6; }
9191 if ${ac_cv_lib_soname_Xi+:} false; then :
9192 $as_echo_n "(cached) " >&6
9193 else
9194 ac_check_soname_save_LIBS=$LIBS
9195 LIBS="-lXi $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9197 /* end confdefs.h. */
9199 /* Override any GCC internal prototype to avoid an error.
9200 Use char because int might match the return type of a GCC
9201 builtin and then its argument prototype would still apply. */
9202 #ifdef __cplusplus
9203 extern "C"
9204 #endif
9205 char XOpenDevice ();
9207 main ()
9209 return XOpenDevice ();
9211 return 0;
9213 _ACEOF
9214 if ac_fn_c_try_link "$LINENO"; then :
9215 case "$LIBEXT" in
9216 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9217 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'` ;;
9218 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9219 if test "x$ac_cv_lib_soname_Xi" = x; then :
9220 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9221 fi ;;
9222 esac
9224 rm -f core conftest.err conftest.$ac_objext \
9225 conftest$ac_exeext conftest.$ac_ext
9226 LIBS=$ac_check_soname_save_LIBS
9228 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9230 $as_echo "not found" >&6; }
9232 else
9233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9234 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9236 cat >>confdefs.h <<_ACEOF
9237 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9238 _ACEOF
9243 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9244 case "x$with_xinput" in
9245 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9246 xno) ;;
9247 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9248 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9249 esac
9252 if test "x$ac_cv_lib_soname_Xi" != x
9253 then
9254 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9255 case "x$with_xinput2" in
9256 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9257 xno) ;;
9258 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9259 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9260 esac
9264 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9265 then
9266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9267 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9268 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9269 $as_echo_n "(cached) " >&6
9270 else
9271 ac_check_lib_save_LIBS=$LIBS
9272 LIBS="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9274 /* end confdefs.h. */
9276 /* Override any GCC internal prototype to avoid an error.
9277 Use char because int might match the return type of a GCC
9278 builtin and then its argument prototype would still apply. */
9279 #ifdef __cplusplus
9280 extern "C"
9281 #endif
9282 char XShmQueryExtension ();
9284 main ()
9286 return XShmQueryExtension ();
9288 return 0;
9290 _ACEOF
9291 if ac_fn_c_try_link "$LINENO"; then :
9292 ac_cv_lib_Xext_XShmQueryExtension=yes
9293 else
9294 ac_cv_lib_Xext_XShmQueryExtension=no
9296 rm -f core conftest.err conftest.$ac_objext \
9297 conftest$ac_exeext conftest.$ac_ext
9298 LIBS=$ac_check_lib_save_LIBS
9300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9301 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9302 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9304 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9309 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9310 case "x$with_xshm" in
9311 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9312 xno) ;;
9313 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9314 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9315 esac
9318 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9319 then
9320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9321 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9322 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9323 $as_echo_n "(cached) " >&6
9324 else
9325 ac_check_lib_save_LIBS=$LIBS
9326 LIBS="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9328 /* end confdefs.h. */
9330 /* Override any GCC internal prototype to avoid an error.
9331 Use char because int might match the return type of a GCC
9332 builtin and then its argument prototype would still apply. */
9333 #ifdef __cplusplus
9334 extern "C"
9335 #endif
9336 char XShapeQueryExtension ();
9338 main ()
9340 return XShapeQueryExtension ();
9342 return 0;
9344 _ACEOF
9345 if ac_fn_c_try_link "$LINENO"; then :
9346 ac_cv_lib_Xext_XShapeQueryExtension=yes
9347 else
9348 ac_cv_lib_Xext_XShapeQueryExtension=no
9350 rm -f core conftest.err conftest.$ac_objext \
9351 conftest$ac_exeext conftest.$ac_ext
9352 LIBS=$ac_check_lib_save_LIBS
9354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9355 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9356 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9358 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9363 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9364 case "x$with_xshape" in
9365 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9366 xno) ;;
9367 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
9368 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9369 esac
9372 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9373 then
9374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9375 $as_echo_n "checking for -lXxf86vm... " >&6; }
9376 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
9377 $as_echo_n "(cached) " >&6
9378 else
9379 ac_check_soname_save_LIBS=$LIBS
9380 LIBS="-lXxf86vm $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9382 /* end confdefs.h. */
9384 /* Override any GCC internal prototype to avoid an error.
9385 Use char because int might match the return type of a GCC
9386 builtin and then its argument prototype would still apply. */
9387 #ifdef __cplusplus
9388 extern "C"
9389 #endif
9390 char XF86VidModeQueryExtension ();
9392 main ()
9394 return XF86VidModeQueryExtension ();
9396 return 0;
9398 _ACEOF
9399 if ac_fn_c_try_link "$LINENO"; then :
9400 case "$LIBEXT" in
9401 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9402 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'` ;;
9403 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9404 if test "x$ac_cv_lib_soname_Xxf86vm" = x; then :
9405 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9406 fi ;;
9407 esac
9409 rm -f core conftest.err conftest.$ac_objext \
9410 conftest$ac_exeext conftest.$ac_ext
9411 LIBS=$ac_check_soname_save_LIBS
9413 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9415 $as_echo "not found" >&6; }
9417 else
9418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9419 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9421 cat >>confdefs.h <<_ACEOF
9422 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9423 _ACEOF
9428 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9429 case "x$with_xxf86vm" in
9430 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9431 xno) ;;
9432 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9433 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9434 esac
9437 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x" -a "x$ac_cv_lib_soname_Xext" != "x"
9438 then
9439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9440 $as_echo_n "checking for -lXrender... " >&6; }
9441 if ${ac_cv_lib_soname_Xrender+:} false; then :
9442 $as_echo_n "(cached) " >&6
9443 else
9444 ac_check_soname_save_LIBS=$LIBS
9445 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9447 /* end confdefs.h. */
9449 /* Override any GCC internal prototype to avoid an error.
9450 Use char because int might match the return type of a GCC
9451 builtin and then its argument prototype would still apply. */
9452 #ifdef __cplusplus
9453 extern "C"
9454 #endif
9455 char XRenderQueryExtension ();
9457 main ()
9459 return XRenderQueryExtension ();
9461 return 0;
9463 _ACEOF
9464 if ac_fn_c_try_link "$LINENO"; then :
9465 case "$LIBEXT" in
9466 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9467 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'` ;;
9468 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9469 if test "x$ac_cv_lib_soname_Xrender" = x; then :
9470 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9471 fi ;;
9472 esac
9474 rm -f core conftest.err conftest.$ac_objext \
9475 conftest$ac_exeext conftest.$ac_ext
9476 LIBS=$ac_check_soname_save_LIBS
9478 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9480 $as_echo "not found" >&6; }
9482 else
9483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9484 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9486 cat >>confdefs.h <<_ACEOF
9487 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9488 _ACEOF
9490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9491 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9492 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
9493 $as_echo_n "(cached) " >&6
9494 else
9495 ac_check_lib_save_LIBS=$LIBS
9496 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9498 /* end confdefs.h. */
9500 /* Override any GCC internal prototype to avoid an error.
9501 Use char because int might match the return type of a GCC
9502 builtin and then its argument prototype would still apply. */
9503 #ifdef __cplusplus
9504 extern "C"
9505 #endif
9506 char XRenderSetPictureTransform ();
9508 main ()
9510 return XRenderSetPictureTransform ();
9512 return 0;
9514 _ACEOF
9515 if ac_fn_c_try_link "$LINENO"; then :
9516 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9517 else
9518 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9520 rm -f core conftest.err conftest.$ac_objext \
9521 conftest$ac_exeext conftest.$ac_ext
9522 LIBS=$ac_check_lib_save_LIBS
9524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9525 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9526 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
9528 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9533 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9534 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
9535 $as_echo_n "(cached) " >&6
9536 else
9537 ac_check_lib_save_LIBS=$LIBS
9538 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9540 /* end confdefs.h. */
9542 /* Override any GCC internal prototype to avoid an error.
9543 Use char because int might match the return type of a GCC
9544 builtin and then its argument prototype would still apply. */
9545 #ifdef __cplusplus
9546 extern "C"
9547 #endif
9548 char XRenderCreateLinearGradient ();
9550 main ()
9552 return XRenderCreateLinearGradient ();
9554 return 0;
9556 _ACEOF
9557 if ac_fn_c_try_link "$LINENO"; then :
9558 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
9559 else
9560 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
9562 rm -f core conftest.err conftest.$ac_objext \
9563 conftest$ac_exeext conftest.$ac_ext
9564 LIBS=$ac_check_lib_save_LIBS
9566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9567 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9568 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
9570 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9577 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9578 case "x$with_xrender" in
9579 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9580 xno) ;;
9581 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
9582 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9583 esac
9586 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9587 then
9588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9589 /* end confdefs.h. */
9590 #include <X11/Xlib.h>
9591 #include <X11/extensions/Xrandr.h>
9593 main ()
9595 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9597 return 0;
9599 _ACEOF
9600 if ac_fn_c_try_compile "$LINENO"; then :
9601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9602 $as_echo_n "checking for -lXrandr... " >&6; }
9603 if ${ac_cv_lib_soname_Xrandr+:} false; then :
9604 $as_echo_n "(cached) " >&6
9605 else
9606 ac_check_soname_save_LIBS=$LIBS
9607 LIBS="-lXrandr $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9609 /* end confdefs.h. */
9611 /* Override any GCC internal prototype to avoid an error.
9612 Use char because int might match the return type of a GCC
9613 builtin and then its argument prototype would still apply. */
9614 #ifdef __cplusplus
9615 extern "C"
9616 #endif
9617 char XRRQueryExtension ();
9619 main ()
9621 return XRRQueryExtension ();
9623 return 0;
9625 _ACEOF
9626 if ac_fn_c_try_link "$LINENO"; then :
9627 case "$LIBEXT" in
9628 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9629 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'` ;;
9630 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9631 if test "x$ac_cv_lib_soname_Xrandr" = x; then :
9632 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9633 fi ;;
9634 esac
9636 rm -f core conftest.err conftest.$ac_objext \
9637 conftest$ac_exeext conftest.$ac_ext
9638 LIBS=$ac_check_soname_save_LIBS
9640 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
9641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9642 $as_echo "not found" >&6; }
9644 else
9645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
9646 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
9648 cat >>confdefs.h <<_ACEOF
9649 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
9650 _ACEOF
9652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9653 /* end confdefs.h. */
9654 #include <X11/Xlib.h>
9655 #include <X11/extensions/Xrandr.h>
9657 main ()
9659 static typeof(XRRGetScreenResources) *f; if (f) return 0;
9661 return 0;
9663 _ACEOF
9664 if ac_fn_c_try_compile "$LINENO"; then :
9666 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
9669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9674 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
9675 case "x$with_xrandr" in
9676 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
9677 xno) ;;
9678 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
9679 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
9680 esac
9683 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
9684 then
9685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9686 /* end confdefs.h. */
9687 #include <X11/Xlib.h>
9688 #include <X11/extensions/Xinerama.h>
9690 main ()
9692 static typeof(XineramaQueryScreens) * func; if (func) return 0;
9694 return 0;
9696 _ACEOF
9697 if ac_fn_c_try_compile "$LINENO"; then :
9698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
9699 $as_echo_n "checking for -lXinerama... " >&6; }
9700 if ${ac_cv_lib_soname_Xinerama+:} false; then :
9701 $as_echo_n "(cached) " >&6
9702 else
9703 ac_check_soname_save_LIBS=$LIBS
9704 LIBS="-lXinerama $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9706 /* end confdefs.h. */
9708 /* Override any GCC internal prototype to avoid an error.
9709 Use char because int might match the return type of a GCC
9710 builtin and then its argument prototype would still apply. */
9711 #ifdef __cplusplus
9712 extern "C"
9713 #endif
9714 char XineramaQueryScreens ();
9716 main ()
9718 return XineramaQueryScreens ();
9720 return 0;
9722 _ACEOF
9723 if ac_fn_c_try_link "$LINENO"; then :
9724 case "$LIBEXT" in
9725 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9726 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'` ;;
9727 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9728 if test "x$ac_cv_lib_soname_Xinerama" = x; then :
9729 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9730 fi ;;
9731 esac
9733 rm -f core conftest.err conftest.$ac_objext \
9734 conftest$ac_exeext conftest.$ac_ext
9735 LIBS=$ac_check_soname_save_LIBS
9737 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
9738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9739 $as_echo "not found" >&6; }
9741 else
9742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
9743 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
9745 cat >>confdefs.h <<_ACEOF
9746 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
9747 _ACEOF
9752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9754 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
9755 case "x$with_xinerama" in
9756 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
9757 xno) ;;
9758 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
9759 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
9760 esac
9763 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
9764 then
9765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
9766 $as_echo_n "checking for -lXcomposite... " >&6; }
9767 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
9768 $as_echo_n "(cached) " >&6
9769 else
9770 ac_check_soname_save_LIBS=$LIBS
9771 LIBS="-lXcomposite $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9773 /* end confdefs.h. */
9775 /* Override any GCC internal prototype to avoid an error.
9776 Use char because int might match the return type of a GCC
9777 builtin and then its argument prototype would still apply. */
9778 #ifdef __cplusplus
9779 extern "C"
9780 #endif
9781 char XCompositeRedirectWindow ();
9783 main ()
9785 return XCompositeRedirectWindow ();
9787 return 0;
9789 _ACEOF
9790 if ac_fn_c_try_link "$LINENO"; then :
9791 case "$LIBEXT" in
9792 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9793 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'` ;;
9794 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9795 if test "x$ac_cv_lib_soname_Xcomposite" = x; then :
9796 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9797 fi ;;
9798 esac
9800 rm -f core conftest.err conftest.$ac_objext \
9801 conftest$ac_exeext conftest.$ac_ext
9802 LIBS=$ac_check_soname_save_LIBS
9804 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
9805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9806 $as_echo "not found" >&6; }
9808 else
9809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
9810 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
9812 cat >>confdefs.h <<_ACEOF
9813 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
9814 _ACEOF
9819 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
9820 case "x$with_xcomposite" in
9821 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
9822 xno) ;;
9823 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
9824 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
9825 esac
9828 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
9829 #include <X11/Xlib.h>
9830 #endif
9832 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
9834 cat >>confdefs.h <<_ACEOF
9835 #define HAVE_XICCALLBACK_CALLBACK 1
9836 _ACEOF
9840 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
9841 #include <X11/Xlib.h>
9842 #endif
9844 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
9846 cat >>confdefs.h <<_ACEOF
9847 #define HAVE_XEVENT_XCOOKIE 1
9848 _ACEOF
9855 opengl_msg=""
9856 if test "x$with_opengl" != "xno"
9857 then
9858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
9859 $as_echo_n "checking for -lGL... " >&6; }
9860 if ${ac_cv_lib_soname_GL+:} false; then :
9861 $as_echo_n "(cached) " >&6
9862 else
9863 ac_check_soname_save_LIBS=$LIBS
9864 LIBS="-lGL $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9866 /* end confdefs.h. */
9868 /* Override any GCC internal prototype to avoid an error.
9869 Use char because int might match the return type of a GCC
9870 builtin and then its argument prototype would still apply. */
9871 #ifdef __cplusplus
9872 extern "C"
9873 #endif
9874 char glXCreateContext ();
9876 main ()
9878 return glXCreateContext ();
9880 return 0;
9882 _ACEOF
9883 if ac_fn_c_try_link "$LINENO"; then :
9884 case "$LIBEXT" in
9885 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9886 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'` ;;
9887 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9888 if test "x$ac_cv_lib_soname_GL" = x; then :
9889 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9890 fi ;;
9891 esac
9893 rm -f core conftest.err conftest.$ac_objext \
9894 conftest$ac_exeext conftest.$ac_ext
9895 LIBS=$ac_check_soname_save_LIBS
9897 if test "x$ac_cv_lib_soname_GL" = "x"; then :
9898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9899 $as_echo "not found" >&6; }
9900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
9901 $as_echo_n "checking for -lGL... " >&6; }
9902 if ${ac_cv_lib_soname_GL+:} false; then :
9903 $as_echo_n "(cached) " >&6
9904 else
9905 ac_check_soname_save_LIBS=$LIBS
9906 LIBS="-lGL $X_LIBS $XLIB -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"
9907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9908 /* end confdefs.h. */
9910 /* Override any GCC internal prototype to avoid an error.
9911 Use char because int might match the return type of a GCC
9912 builtin and then its argument prototype would still apply. */
9913 #ifdef __cplusplus
9914 extern "C"
9915 #endif
9916 char glXCreateContext ();
9918 main ()
9920 return glXCreateContext ();
9922 return 0;
9924 _ACEOF
9925 if ac_fn_c_try_link "$LINENO"; then :
9926 case "$LIBEXT" in
9927 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9928 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'` ;;
9929 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9930 if test "x$ac_cv_lib_soname_GL" = x; then :
9931 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9932 fi ;;
9933 esac
9935 rm -f core conftest.err conftest.$ac_objext \
9936 conftest$ac_exeext conftest.$ac_ext
9937 LIBS=$ac_check_soname_save_LIBS
9939 if test "x$ac_cv_lib_soname_GL" = "x"; then :
9940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9941 $as_echo "not found" >&6; }
9942 if test -f /usr/X11R6/lib/libGL.a
9943 then
9944 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
9945 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
9946 else
9947 opengl_msg="No OpenGL library found on this system."
9949 else
9950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
9951 $as_echo "$ac_cv_lib_soname_GL" >&6; }
9953 cat >>confdefs.h <<_ACEOF
9954 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
9955 _ACEOF
9957 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"
9959 else
9960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
9961 $as_echo "$ac_cv_lib_soname_GL" >&6; }
9963 cat >>confdefs.h <<_ACEOF
9964 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
9965 _ACEOF
9967 OPENGL_LIBS="-lGL"
9969 if test "x$with_glu" != "xno"
9970 then
9971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
9972 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
9973 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
9974 $as_echo_n "(cached) " >&6
9975 else
9976 ac_check_lib_save_LIBS=$LIBS
9977 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9979 /* end confdefs.h. */
9981 /* Override any GCC internal prototype to avoid an error.
9982 Use char because int might match the return type of a GCC
9983 builtin and then its argument prototype would still apply. */
9984 #ifdef __cplusplus
9985 extern "C"
9986 #endif
9987 char gluLookAt ();
9989 main ()
9991 return gluLookAt ();
9993 return 0;
9995 _ACEOF
9996 if ac_fn_c_try_link "$LINENO"; then :
9997 ac_cv_lib_GLU_gluLookAt=yes
9998 else
9999 ac_cv_lib_GLU_gluLookAt=no
10001 rm -f core conftest.err conftest.$ac_objext \
10002 conftest$ac_exeext conftest.$ac_ext
10003 LIBS=$ac_check_lib_save_LIBS
10005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10006 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10007 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10011 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10012 case "x$with_glu" in
10013 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10014 xno) ;;
10015 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10016 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10017 esac
10021 if test "x$with_osmesa" != "xno"
10022 then
10023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10024 $as_echo_n "checking for -lOSMesa... " >&6; }
10025 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10026 $as_echo_n "(cached) " >&6
10027 else
10028 ac_check_soname_save_LIBS=$LIBS
10029 LIBS="-lOSMesa $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
10030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10031 /* end confdefs.h. */
10033 /* Override any GCC internal prototype to avoid an error.
10034 Use char because int might match the return type of a GCC
10035 builtin and then its argument prototype would still apply. */
10036 #ifdef __cplusplus
10037 extern "C"
10038 #endif
10039 char glAccum ();
10041 main ()
10043 return glAccum ();
10045 return 0;
10047 _ACEOF
10048 if ac_fn_c_try_link "$LINENO"; then :
10049 case "$LIBEXT" in
10050 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10051 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'` ;;
10052 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10053 if test "x$ac_cv_lib_soname_OSMesa" = x; then :
10054 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10055 fi ;;
10056 esac
10058 rm -f core conftest.err conftest.$ac_objext \
10059 conftest$ac_exeext conftest.$ac_ext
10060 LIBS=$ac_check_soname_save_LIBS
10062 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10064 $as_echo "not found" >&6; }
10066 else
10067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10068 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10070 cat >>confdefs.h <<_ACEOF
10071 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10072 _ACEOF
10076 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10077 case "x$with_osmesa" in
10078 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10079 xno) ;;
10080 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10081 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10082 esac
10086 if test -n "$opengl_msg"; then :
10087 case "x$with_opengl" in
10088 x) as_fn_append wine_warnings "|$opengl_msg
10089 OpenGL and Direct3D won't be supported." ;;
10090 xno) ;;
10091 *) as_fn_error $? "$opengl_msg
10092 OpenGL and Direct3D won't be supported.
10093 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10094 esac
10097 CPPFLAGS="$ac_save_CPPFLAGS"
10098 else
10099 XLIB=""
10100 X_CFLAGS=""
10101 X_LIBS=""
10102 enable_winex11_drv=${enable_winex11_drv:-no}
10104 if test "x$XLIB" = "x"; then :
10105 case "x$with_x" in
10106 xno) ;;
10107 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10108 without X support, which probably isn't what you want. You will need
10109 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10110 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10111 esac
10114 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10116 if test "$ac_cv_header_CL_cl_h" = "yes"
10117 then
10118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10119 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10120 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10121 $as_echo_n "(cached) " >&6
10122 else
10123 ac_check_lib_save_LIBS=$LIBS
10124 LIBS="-lOpenCL $LIBS"
10125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10126 /* end confdefs.h. */
10128 /* Override any GCC internal prototype to avoid an error.
10129 Use char because int might match the return type of a GCC
10130 builtin and then its argument prototype would still apply. */
10131 #ifdef __cplusplus
10132 extern "C"
10133 #endif
10134 char clGetPlatformInfo ();
10136 main ()
10138 return clGetPlatformInfo ();
10140 return 0;
10142 _ACEOF
10143 if ac_fn_c_try_link "$LINENO"; then :
10144 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10145 else
10146 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10148 rm -f core conftest.err conftest.$ac_objext \
10149 conftest$ac_exeext conftest.$ac_ext
10150 LIBS=$ac_check_lib_save_LIBS
10152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10153 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10154 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10155 LIBOPENCL="-lOpenCL"
10160 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10161 case "x$with_opencl" in
10162 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10163 xno) ;;
10164 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10165 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10166 esac
10168 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10171 if test "x$with_xml" != "xno"
10172 then
10173 if test -n "$XML2_CFLAGS"; then :
10175 elif test -n "$PKG_CONFIG"; then :
10176 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10178 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10179 if test -n "$XML2_LIBS"; then :
10181 elif test -n "$PKG_CONFIG"; then :
10182 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10184 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10185 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10186 ac_save_CPPFLAGS=$CPPFLAGS
10187 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10188 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10189 do :
10190 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10191 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10192 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10193 cat >>confdefs.h <<_ACEOF
10194 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10195 _ACEOF
10199 done
10201 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"
10202 then
10203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10204 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10205 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10206 $as_echo_n "(cached) " >&6
10207 else
10208 ac_check_lib_save_LIBS=$LIBS
10209 LIBS="-lxml2 $XML2_LIBS $LIBS"
10210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10211 /* end confdefs.h. */
10213 /* Override any GCC internal prototype to avoid an error.
10214 Use char because int might match the return type of a GCC
10215 builtin and then its argument prototype would still apply. */
10216 #ifdef __cplusplus
10217 extern "C"
10218 #endif
10219 char xmlParseMemory ();
10221 main ()
10223 return xmlParseMemory ();
10225 return 0;
10227 _ACEOF
10228 if ac_fn_c_try_link "$LINENO"; then :
10229 ac_cv_lib_xml2_xmlParseMemory=yes
10230 else
10231 ac_cv_lib_xml2_xmlParseMemory=no
10233 rm -f core conftest.err conftest.$ac_objext \
10234 conftest$ac_exeext conftest.$ac_ext
10235 LIBS=$ac_check_lib_save_LIBS
10237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10238 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10239 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10241 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10243 else
10244 XML2_LIBS=""
10247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10248 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10249 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10250 $as_echo_n "(cached) " >&6
10251 else
10252 ac_check_lib_save_LIBS=$LIBS
10253 LIBS="-lxml2 $XML2_LIBS $LIBS"
10254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10255 /* end confdefs.h. */
10257 /* Override any GCC internal prototype to avoid an error.
10258 Use char because int might match the return type of a GCC
10259 builtin and then its argument prototype would still apply. */
10260 #ifdef __cplusplus
10261 extern "C"
10262 #endif
10263 char xmlReadMemory ();
10265 main ()
10267 return xmlReadMemory ();
10269 return 0;
10271 _ACEOF
10272 if ac_fn_c_try_link "$LINENO"; then :
10273 ac_cv_lib_xml2_xmlReadMemory=yes
10274 else
10275 ac_cv_lib_xml2_xmlReadMemory=no
10277 rm -f core conftest.err conftest.$ac_objext \
10278 conftest$ac_exeext conftest.$ac_ext
10279 LIBS=$ac_check_lib_save_LIBS
10281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10282 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10283 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
10285 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10290 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10291 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
10292 $as_echo_n "(cached) " >&6
10293 else
10294 ac_check_lib_save_LIBS=$LIBS
10295 LIBS="-lxml2 $XML2_LIBS $LIBS"
10296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10297 /* end confdefs.h. */
10299 /* Override any GCC internal prototype to avoid an error.
10300 Use char because int might match the return type of a GCC
10301 builtin and then its argument prototype would still apply. */
10302 #ifdef __cplusplus
10303 extern "C"
10304 #endif
10305 char xmlNewDocPI ();
10307 main ()
10309 return xmlNewDocPI ();
10311 return 0;
10313 _ACEOF
10314 if ac_fn_c_try_link "$LINENO"; then :
10315 ac_cv_lib_xml2_xmlNewDocPI=yes
10316 else
10317 ac_cv_lib_xml2_xmlNewDocPI=no
10319 rm -f core conftest.err conftest.$ac_objext \
10320 conftest$ac_exeext conftest.$ac_ext
10321 LIBS=$ac_check_lib_save_LIBS
10323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10324 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10325 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
10327 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10332 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10333 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
10334 $as_echo_n "(cached) " >&6
10335 else
10336 ac_check_lib_save_LIBS=$LIBS
10337 LIBS="-lxml2 $XML2_LIBS $LIBS"
10338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10339 /* end confdefs.h. */
10341 /* Override any GCC internal prototype to avoid an error.
10342 Use char because int might match the return type of a GCC
10343 builtin and then its argument prototype would still apply. */
10344 #ifdef __cplusplus
10345 extern "C"
10346 #endif
10347 char xmlSchemaSetParserStructuredErrors ();
10349 main ()
10351 return xmlSchemaSetParserStructuredErrors ();
10353 return 0;
10355 _ACEOF
10356 if ac_fn_c_try_link "$LINENO"; then :
10357 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
10358 else
10359 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
10361 rm -f core conftest.err conftest.$ac_objext \
10362 conftest$ac_exeext conftest.$ac_ext
10363 LIBS=$ac_check_lib_save_LIBS
10365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10366 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10367 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
10369 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10374 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10375 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
10376 $as_echo_n "(cached) " >&6
10377 else
10378 ac_check_lib_save_LIBS=$LIBS
10379 LIBS="-lxml2 $XML2_LIBS $LIBS"
10380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10381 /* end confdefs.h. */
10383 /* Override any GCC internal prototype to avoid an error.
10384 Use char because int might match the return type of a GCC
10385 builtin and then its argument prototype would still apply. */
10386 #ifdef __cplusplus
10387 extern "C"
10388 #endif
10389 char xmlSchemaSetValidStructuredErrors ();
10391 main ()
10393 return xmlSchemaSetValidStructuredErrors ();
10395 return 0;
10397 _ACEOF
10398 if ac_fn_c_try_link "$LINENO"; then :
10399 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
10400 else
10401 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
10403 rm -f core conftest.err conftest.$ac_objext \
10404 conftest$ac_exeext conftest.$ac_ext
10405 LIBS=$ac_check_lib_save_LIBS
10407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10408 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10409 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
10411 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10416 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10417 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
10418 $as_echo_n "(cached) " >&6
10419 else
10420 ac_check_lib_save_LIBS=$LIBS
10421 LIBS="-lxml2 $XML2_LIBS $LIBS"
10422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10423 /* end confdefs.h. */
10425 /* Override any GCC internal prototype to avoid an error.
10426 Use char because int might match the return type of a GCC
10427 builtin and then its argument prototype would still apply. */
10428 #ifdef __cplusplus
10429 extern "C"
10430 #endif
10431 char xmlFirstElementChild ();
10433 main ()
10435 return xmlFirstElementChild ();
10437 return 0;
10439 _ACEOF
10440 if ac_fn_c_try_link "$LINENO"; then :
10441 ac_cv_lib_xml2_xmlFirstElementChild=yes
10442 else
10443 ac_cv_lib_xml2_xmlFirstElementChild=no
10445 rm -f core conftest.err conftest.$ac_objext \
10446 conftest$ac_exeext conftest.$ac_ext
10447 LIBS=$ac_check_lib_save_LIBS
10449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10450 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10451 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
10453 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10457 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10459 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
10461 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10465 else
10466 XML2_CFLAGS=""
10467 XML2_LIBS=""
10469 CPPFLAGS=$ac_save_CPPFLAGS
10470 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10471 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10474 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10475 case "x$with_xml" in
10476 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10477 xno) ;;
10478 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10479 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10480 esac
10483 if test "x$with_xslt" != "xno"
10484 then
10485 if test -n "$XSLT_CFLAGS"; then :
10487 elif test -n "$PKG_CONFIG"; then :
10488 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10490 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10491 if test -n "$XSLT_LIBS"; then :
10493 elif test -n "$PKG_CONFIG"; then :
10494 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10496 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10497 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
10498 ac_save_CPPFLAGS=$CPPFLAGS
10499 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
10500 for ac_header in libxslt/pattern.h libxslt/transform.h
10501 do :
10502 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10503 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10504 # include <libxslt/pattern.h>
10505 #endif
10507 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10508 cat >>confdefs.h <<_ACEOF
10509 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10510 _ACEOF
10514 done
10516 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10517 then
10518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10519 $as_echo_n "checking for -lxslt... " >&6; }
10520 if ${ac_cv_lib_soname_xslt+:} false; then :
10521 $as_echo_n "(cached) " >&6
10522 else
10523 ac_check_soname_save_LIBS=$LIBS
10524 LIBS="-lxslt $XSLT_LIBS $LIBS"
10525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10526 /* end confdefs.h. */
10528 /* Override any GCC internal prototype to avoid an error.
10529 Use char because int might match the return type of a GCC
10530 builtin and then its argument prototype would still apply. */
10531 #ifdef __cplusplus
10532 extern "C"
10533 #endif
10534 char xsltCompilePattern ();
10536 main ()
10538 return xsltCompilePattern ();
10540 return 0;
10542 _ACEOF
10543 if ac_fn_c_try_link "$LINENO"; then :
10544 case "$LIBEXT" in
10545 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10546 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'` ;;
10547 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10548 if test "x$ac_cv_lib_soname_xslt" = x; then :
10549 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10550 fi ;;
10551 esac
10553 rm -f core conftest.err conftest.$ac_objext \
10554 conftest$ac_exeext conftest.$ac_ext
10555 LIBS=$ac_check_soname_save_LIBS
10557 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10559 $as_echo "not found" >&6; }
10561 else
10562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
10563 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
10565 cat >>confdefs.h <<_ACEOF
10566 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
10567 _ACEOF
10571 else
10572 XSLT_CFLAGS=""
10574 CPPFLAGS=$ac_save_CPPFLAGS
10575 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10576 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10579 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10580 case "x$with_xslt" in
10581 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
10582 xno) ;;
10583 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
10584 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
10585 esac
10588 if test "x$with_dbus" != "xno"
10589 then
10590 if test -n "$DBUS_CFLAGS"; then :
10592 elif test -n "$PKG_CONFIG"; then :
10593 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
10596 if test -n "$DBUS_LIBS"; then :
10598 elif test -n "$PKG_CONFIG"; then :
10599 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
10603 ac_save_CPPFLAGS=$CPPFLAGS
10604 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
10605 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
10606 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
10607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
10608 $as_echo_n "checking for -ldbus-1... " >&6; }
10609 if ${ac_cv_lib_soname_dbus_1+:} false; then :
10610 $as_echo_n "(cached) " >&6
10611 else
10612 ac_check_soname_save_LIBS=$LIBS
10613 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
10614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10615 /* end confdefs.h. */
10617 /* Override any GCC internal prototype to avoid an error.
10618 Use char because int might match the return type of a GCC
10619 builtin and then its argument prototype would still apply. */
10620 #ifdef __cplusplus
10621 extern "C"
10622 #endif
10623 char dbus_connection_close ();
10625 main ()
10627 return dbus_connection_close ();
10629 return 0;
10631 _ACEOF
10632 if ac_fn_c_try_link "$LINENO"; then :
10633 case "$LIBEXT" in
10634 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10635 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'` ;;
10636 *) 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'`
10637 if test "x$ac_cv_lib_soname_dbus_1" = x; then :
10638 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10639 fi ;;
10640 esac
10642 rm -f core conftest.err conftest.$ac_objext \
10643 conftest$ac_exeext conftest.$ac_ext
10644 LIBS=$ac_check_soname_save_LIBS
10646 if test "x$ac_cv_lib_soname_dbus_1" = "x"; then :
10647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10648 $as_echo "not found" >&6; }
10649 DBUS_CFLAGS=""
10650 else
10651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
10652 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
10654 cat >>confdefs.h <<_ACEOF
10655 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
10656 _ACEOF
10660 else
10661 DBUS_CFLAGS=""
10665 CPPFLAGS=$ac_save_CPPFLAGS
10666 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10667 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10670 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
10671 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
10672 case "x$with_dbus" in
10673 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
10674 xno) ;;
10675 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
10676 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
10677 esac
10680 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
10681 then
10682 if test -n "$HAL_CFLAGS"; then :
10684 elif test -n "$PKG_CONFIG"; then :
10685 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
10688 if test -n "$HAL_LIBS"; then :
10690 elif test -n "$PKG_CONFIG"; then :
10691 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
10694 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
10695 ac_save_CPPFLAGS=$CPPFLAGS
10696 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
10697 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
10698 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
10699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
10700 $as_echo_n "checking for -lhal... " >&6; }
10701 if ${ac_cv_lib_soname_hal+:} false; then :
10702 $as_echo_n "(cached) " >&6
10703 else
10704 ac_check_soname_save_LIBS=$LIBS
10705 LIBS="-lhal $HAL_LIBS $LIBS"
10706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10707 /* end confdefs.h. */
10709 /* Override any GCC internal prototype to avoid an error.
10710 Use char because int might match the return type of a GCC
10711 builtin and then its argument prototype would still apply. */
10712 #ifdef __cplusplus
10713 extern "C"
10714 #endif
10715 char libhal_ctx_new ();
10717 main ()
10719 return libhal_ctx_new ();
10721 return 0;
10723 _ACEOF
10724 if ac_fn_c_try_link "$LINENO"; then :
10725 case "$LIBEXT" in
10726 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10727 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'` ;;
10728 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10729 if test "x$ac_cv_lib_soname_hal" = x; then :
10730 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10731 fi ;;
10732 esac
10734 rm -f core conftest.err conftest.$ac_objext \
10735 conftest$ac_exeext conftest.$ac_ext
10736 LIBS=$ac_check_soname_save_LIBS
10738 if test "x$ac_cv_lib_soname_hal" = "x"; then :
10739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10740 $as_echo "not found" >&6; }
10741 HAL_CFLAGS=""
10742 else
10743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
10744 $as_echo "$ac_cv_lib_soname_hal" >&6; }
10746 cat >>confdefs.h <<_ACEOF
10747 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
10748 _ACEOF
10752 else
10753 HAL_CFLAGS=""
10757 CPPFLAGS=$ac_save_CPPFLAGS
10758 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10759 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10761 if test "x$ac_cv_lib_soname_hal" = "x" -a \
10762 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
10763 case "x$with_hal" in
10764 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
10765 xno) ;;
10766 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
10767 This is an error since --with-hal was requested." "$LINENO" 5 ;;
10768 esac
10772 if test "x$with_gnutls" != "xno"
10773 then
10774 if test -n "$GNUTLS_CFLAGS"; then :
10776 elif test -n "$PKG_CONFIG"; then :
10777 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
10780 if test -n "$GNUTLS_LIBS"; then :
10782 elif test -n "$PKG_CONFIG"; then :
10783 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
10787 ac_save_CPPFLAGS=$CPPFLAGS
10788 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
10789 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
10790 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
10791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10792 /* end confdefs.h. */
10793 #include <gnutls/gnutls.h>
10794 #include <gnutls/crypto.h>
10796 main ()
10798 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
10800 return 0;
10802 _ACEOF
10803 if ac_fn_c_try_compile "$LINENO"; then :
10804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
10805 $as_echo_n "checking for -lgnutls... " >&6; }
10806 if ${ac_cv_lib_soname_gnutls+:} false; then :
10807 $as_echo_n "(cached) " >&6
10808 else
10809 ac_check_soname_save_LIBS=$LIBS
10810 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
10811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10812 /* end confdefs.h. */
10814 /* Override any GCC internal prototype to avoid an error.
10815 Use char because int might match the return type of a GCC
10816 builtin and then its argument prototype would still apply. */
10817 #ifdef __cplusplus
10818 extern "C"
10819 #endif
10820 char gnutls_global_init ();
10822 main ()
10824 return gnutls_global_init ();
10826 return 0;
10828 _ACEOF
10829 if ac_fn_c_try_link "$LINENO"; then :
10830 case "$LIBEXT" in
10831 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10832 dylib) ac_cv_lib_soname_gnutls=`otool -L conftest$ac_exeext | grep "libgnutls\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libgnutls\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10833 *) ac_cv_lib_soname_gnutls=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10834 if test "x$ac_cv_lib_soname_gnutls" = x; then :
10835 ac_cv_lib_soname_gnutls=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10836 fi ;;
10837 esac
10839 rm -f core conftest.err conftest.$ac_objext \
10840 conftest$ac_exeext conftest.$ac_ext
10841 LIBS=$ac_check_soname_save_LIBS
10843 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
10844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10845 $as_echo "not found" >&6; }
10846 GNUTLS_CFLAGS=""
10847 else
10848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
10849 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
10851 cat >>confdefs.h <<_ACEOF
10852 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
10853 _ACEOF
10858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10859 else
10860 GNUTLS_CFLAGS=""
10864 CPPFLAGS=$ac_save_CPPFLAGS
10865 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10866 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10869 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
10870 case "x$with_gnutls" in
10871 x) as_fn_append wine_notices "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
10872 xno) ;;
10873 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
10874 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
10875 esac
10878 CURSESLIBS=""
10879 if test "$ac_cv_header_ncurses_h" = "yes"
10880 then
10881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
10882 $as_echo_n "checking for -lncurses... " >&6; }
10883 if ${ac_cv_lib_soname_ncurses+:} false; then :
10884 $as_echo_n "(cached) " >&6
10885 else
10886 ac_check_soname_save_LIBS=$LIBS
10887 LIBS="-lncurses $LIBS"
10888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10889 /* end confdefs.h. */
10891 /* Override any GCC internal prototype to avoid an error.
10892 Use char because int might match the return type of a GCC
10893 builtin and then its argument prototype would still apply. */
10894 #ifdef __cplusplus
10895 extern "C"
10896 #endif
10897 char waddch ();
10899 main ()
10901 return waddch ();
10903 return 0;
10905 _ACEOF
10906 if ac_fn_c_try_link "$LINENO"; then :
10907 case "$LIBEXT" in
10908 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10909 dylib) ac_cv_lib_soname_ncurses=`otool -L conftest$ac_exeext | grep "libncurses\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libncurses\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10910 *) ac_cv_lib_soname_ncurses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10911 if test "x$ac_cv_lib_soname_ncurses" = x; then :
10912 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10913 fi ;;
10914 esac
10916 rm -f core conftest.err conftest.$ac_objext \
10917 conftest$ac_exeext conftest.$ac_ext
10918 LIBS=$ac_check_soname_save_LIBS
10920 if test "x$ac_cv_lib_soname_ncurses" = "x"; then :
10921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10922 $as_echo "not found" >&6; }
10924 else
10925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
10926 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
10928 cat >>confdefs.h <<_ACEOF
10929 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
10930 _ACEOF
10932 CURSESLIBS="-lncurses"
10934 elif test "$ac_cv_header_curses_h" = "yes"
10935 then
10936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
10937 $as_echo_n "checking for -lcurses... " >&6; }
10938 if ${ac_cv_lib_soname_curses+:} false; then :
10939 $as_echo_n "(cached) " >&6
10940 else
10941 ac_check_soname_save_LIBS=$LIBS
10942 LIBS="-lcurses $LIBS"
10943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10944 /* end confdefs.h. */
10946 /* Override any GCC internal prototype to avoid an error.
10947 Use char because int might match the return type of a GCC
10948 builtin and then its argument prototype would still apply. */
10949 #ifdef __cplusplus
10950 extern "C"
10951 #endif
10952 char waddch ();
10954 main ()
10956 return waddch ();
10958 return 0;
10960 _ACEOF
10961 if ac_fn_c_try_link "$LINENO"; then :
10962 case "$LIBEXT" in
10963 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10964 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'` ;;
10965 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10966 if test "x$ac_cv_lib_soname_curses" = x; then :
10967 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10968 fi ;;
10969 esac
10971 rm -f core conftest.err conftest.$ac_objext \
10972 conftest$ac_exeext conftest.$ac_ext
10973 LIBS=$ac_check_soname_save_LIBS
10975 if test "x$ac_cv_lib_soname_curses" = "x"; then :
10976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10977 $as_echo "not found" >&6; }
10979 else
10980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
10981 $as_echo "$ac_cv_lib_soname_curses" >&6; }
10983 cat >>confdefs.h <<_ACEOF
10984 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
10985 _ACEOF
10987 CURSESLIBS="-lcurses"
10990 ac_save_LIBS="$LIBS"
10991 LIBS="$LIBS $CURSESLIBS"
10992 for ac_func in mousemask
10993 do :
10994 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
10995 if test "x$ac_cv_func_mousemask" = xyes; then :
10996 cat >>confdefs.h <<_ACEOF
10997 #define HAVE_MOUSEMASK 1
10998 _ACEOF
11001 done
11003 LIBS="$ac_save_LIBS"
11004 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11005 case "x$with_curses" in
11006 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11007 xno) ;;
11008 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11009 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11010 esac
11013 if test "x$with_sane" != "xno"
11014 then
11015 if test -n "$SANE_CFLAGS"; then :
11017 elif test -n "$PKG_CONFIG"; then :
11018 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11020 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11021 if test -n "$SANE_LIBS"; then :
11023 elif test -n "$PKG_CONFIG"; then :
11024 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11026 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11028 ac_save_CPPFLAGS=$CPPFLAGS
11029 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11030 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11031 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11033 $as_echo_n "checking for -lsane... " >&6; }
11034 if ${ac_cv_lib_soname_sane+:} false; then :
11035 $as_echo_n "(cached) " >&6
11036 else
11037 ac_check_soname_save_LIBS=$LIBS
11038 LIBS="-lsane $SANE_LIBS $LIBS"
11039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11040 /* end confdefs.h. */
11042 /* Override any GCC internal prototype to avoid an error.
11043 Use char because int might match the return type of a GCC
11044 builtin and then its argument prototype would still apply. */
11045 #ifdef __cplusplus
11046 extern "C"
11047 #endif
11048 char sane_init ();
11050 main ()
11052 return sane_init ();
11054 return 0;
11056 _ACEOF
11057 if ac_fn_c_try_link "$LINENO"; then :
11058 case "$LIBEXT" in
11059 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11060 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'` ;;
11061 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11062 if test "x$ac_cv_lib_soname_sane" = x; then :
11063 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11064 fi ;;
11065 esac
11067 rm -f core conftest.err conftest.$ac_objext \
11068 conftest$ac_exeext conftest.$ac_ext
11069 LIBS=$ac_check_soname_save_LIBS
11071 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11073 $as_echo "not found" >&6; }
11074 SANE_CFLAGS=""
11075 else
11076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11077 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11079 cat >>confdefs.h <<_ACEOF
11080 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11081 _ACEOF
11085 else
11086 SANE_CFLAGS=""
11090 CPPFLAGS=$ac_save_CPPFLAGS
11091 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11092 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11095 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11096 case "x$with_sane" in
11097 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11098 xno) ;;
11099 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11100 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11101 esac
11104 if test "x$with_v4l" != "xno"
11105 then
11106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11107 $as_echo_n "checking for -lv4l1... " >&6; }
11108 if ${ac_cv_lib_soname_v4l1+:} false; then :
11109 $as_echo_n "(cached) " >&6
11110 else
11111 ac_check_soname_save_LIBS=$LIBS
11112 LIBS="-lv4l1 $LIBS"
11113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11114 /* end confdefs.h. */
11116 /* Override any GCC internal prototype to avoid an error.
11117 Use char because int might match the return type of a GCC
11118 builtin and then its argument prototype would still apply. */
11119 #ifdef __cplusplus
11120 extern "C"
11121 #endif
11122 char v4l1_open ();
11124 main ()
11126 return v4l1_open ();
11128 return 0;
11130 _ACEOF
11131 if ac_fn_c_try_link "$LINENO"; then :
11132 case "$LIBEXT" in
11133 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11134 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'` ;;
11135 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11136 if test "x$ac_cv_lib_soname_v4l1" = x; then :
11137 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11138 fi ;;
11139 esac
11141 rm -f core conftest.err conftest.$ac_objext \
11142 conftest$ac_exeext conftest.$ac_ext
11143 LIBS=$ac_check_soname_save_LIBS
11145 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11147 $as_echo "not found" >&6; }
11149 else
11150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11151 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11153 cat >>confdefs.h <<_ACEOF
11154 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11155 _ACEOF
11160 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11161 case "x$with_v4l" in
11162 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11163 xno) ;;
11164 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11165 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11166 esac
11169 if test "x$with_gphoto" != "xno"
11170 then
11171 if test -n "$GPHOTO2_CFLAGS"; then :
11173 elif test -n "$PKG_CONFIG"; then :
11174 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11176 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11177 if test -n "$GPHOTO2_LIBS"; then :
11179 elif test -n "$PKG_CONFIG"; then :
11180 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11182 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11183 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11184 ac_save_CPPFLAGS=$CPPFLAGS
11185 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11186 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11187 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11189 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11190 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11191 $as_echo_n "(cached) " >&6
11192 else
11193 ac_check_lib_save_LIBS=$LIBS
11194 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11196 /* end confdefs.h. */
11198 /* Override any GCC internal prototype to avoid an error.
11199 Use char because int might match the return type of a GCC
11200 builtin and then its argument prototype would still apply. */
11201 #ifdef __cplusplus
11202 extern "C"
11203 #endif
11204 char gp_camera_new ();
11206 main ()
11208 return gp_camera_new ();
11210 return 0;
11212 _ACEOF
11213 if ac_fn_c_try_link "$LINENO"; then :
11214 ac_cv_lib_gphoto2_gp_camera_new=yes
11215 else
11216 ac_cv_lib_gphoto2_gp_camera_new=no
11218 rm -f core conftest.err conftest.$ac_objext \
11219 conftest$ac_exeext conftest.$ac_ext
11220 LIBS=$ac_check_lib_save_LIBS
11222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11223 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11224 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11226 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11228 else
11229 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11232 else
11233 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11237 CPPFLAGS=$ac_save_CPPFLAGS
11238 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11239 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11241 if test -n "$GPHOTO2_PORT_CFLAGS"; then :
11243 elif test -n "$PKG_CONFIG"; then :
11244 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11246 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11247 if test -n "$GPHOTO2_PORT_LIBS"; then :
11249 elif test -n "$PKG_CONFIG"; then :
11250 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11252 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11253 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11254 ac_save_CPPFLAGS=$CPPFLAGS
11255 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11256 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11257 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11259 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11260 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11261 $as_echo_n "(cached) " >&6
11262 else
11263 ac_check_lib_save_LIBS=$LIBS
11264 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11266 /* end confdefs.h. */
11268 /* Override any GCC internal prototype to avoid an error.
11269 Use char because int might match the return type of a GCC
11270 builtin and then its argument prototype would still apply. */
11271 #ifdef __cplusplus
11272 extern "C"
11273 #endif
11274 char gp_port_info_list_new ();
11276 main ()
11278 return gp_port_info_list_new ();
11280 return 0;
11282 _ACEOF
11283 if ac_fn_c_try_link "$LINENO"; then :
11284 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
11285 else
11286 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
11288 rm -f core conftest.err conftest.$ac_objext \
11289 conftest$ac_exeext conftest.$ac_ext
11290 LIBS=$ac_check_lib_save_LIBS
11292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11293 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11294 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
11296 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11298 else
11299 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11302 else
11303 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11307 CPPFLAGS=$ac_save_CPPFLAGS
11308 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11309 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11312 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11313 case "x$with_gphoto" in
11314 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11315 xno) ;;
11316 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11317 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11318 esac
11320 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11321 case "x$with_gphoto" in
11322 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11323 xno) ;;
11324 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11325 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11326 esac
11330 if test "$ac_cv_header_resolv_h" = "yes"
11331 then
11332 ac_save_LIBS="$LIBS"
11333 for lib in '' -lresolv
11335 LIBS="$lib $ac_save_LIBS"
11336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11337 /* end confdefs.h. */
11338 #ifdef HAVE_NETINET_IN_H
11339 #include <netinet/in.h>
11340 #endif
11341 #include <resolv.h>
11343 main ()
11345 res_query("foo",ns_c_in,0,0,0);
11347 return 0;
11349 _ACEOF
11350 if ac_fn_c_try_link "$LINENO"; then :
11352 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11354 RESOLVLIBS="$lib"
11357 rm -f core conftest.err conftest.$ac_objext \
11358 conftest$ac_exeext conftest.$ac_ext
11359 if test "${RESOLVLIBS+set}" = set; then
11360 break
11362 done
11363 LIBS="$ac_save_LIBS"
11366 if test "x$with_lcms2" != "xno"
11367 then
11368 if test -n "$LCMS2_CFLAGS"; then :
11370 elif test -n "$PKG_CONFIG"; then :
11371 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11374 if test -n "$LCMS2_LIBS"; then :
11376 elif test -n "$PKG_CONFIG"; then :
11377 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11380 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
11381 ac_save_CPPFLAGS=$CPPFLAGS
11382 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
11383 for ac_header in lcms2.h
11384 do :
11385 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11386 if test "x$ac_cv_header_lcms2_h" = xyes; then :
11387 cat >>confdefs.h <<_ACEOF
11388 #define HAVE_LCMS2_H 1
11389 _ACEOF
11393 done
11395 if test "$ac_cv_header_lcms2_h" = "yes"
11396 then
11397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11398 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11399 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
11400 $as_echo_n "(cached) " >&6
11401 else
11402 ac_check_lib_save_LIBS=$LIBS
11403 LIBS="-llcms2 $LIBS"
11404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11405 /* end confdefs.h. */
11407 /* Override any GCC internal prototype to avoid an error.
11408 Use char because int might match the return type of a GCC
11409 builtin and then its argument prototype would still apply. */
11410 #ifdef __cplusplus
11411 extern "C"
11412 #endif
11413 char cmsOpenProfileFromFile ();
11415 main ()
11417 return cmsOpenProfileFromFile ();
11419 return 0;
11421 _ACEOF
11422 if ac_fn_c_try_link "$LINENO"; then :
11423 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
11424 else
11425 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
11427 rm -f core conftest.err conftest.$ac_objext \
11428 conftest$ac_exeext conftest.$ac_ext
11429 LIBS=$ac_check_lib_save_LIBS
11431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11432 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11433 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
11435 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11437 else
11438 LCMS2_LIBS=""
11441 else
11442 LCMS2_CFLAGS=""
11443 LCMS2_LIBS=""
11445 CPPFLAGS=$ac_save_CPPFLAGS
11446 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11447 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11450 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11451 case "x$with_cms" in
11452 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11453 xno) ;;
11454 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11455 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11456 esac
11459 if test "x$with_freetype" != "xno"
11460 then
11461 if test -n "$FREETYPE_CFLAGS"; then :
11463 elif test -n "$PKG_CONFIG"; then :
11464 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11466 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11467 if test -n "$FREETYPE_LIBS"; then :
11469 elif test -n "$PKG_CONFIG"; then :
11470 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11472 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11473 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
11474 ac_save_CPPFLAGS=$CPPFLAGS
11475 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
11476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11477 $as_echo_n "checking for -lfreetype... " >&6; }
11478 if ${ac_cv_lib_soname_freetype+:} false; then :
11479 $as_echo_n "(cached) " >&6
11480 else
11481 ac_check_soname_save_LIBS=$LIBS
11482 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
11483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11484 /* end confdefs.h. */
11486 /* Override any GCC internal prototype to avoid an error.
11487 Use char because int might match the return type of a GCC
11488 builtin and then its argument prototype would still apply. */
11489 #ifdef __cplusplus
11490 extern "C"
11491 #endif
11492 char FT_Init_FreeType ();
11494 main ()
11496 return FT_Init_FreeType ();
11498 return 0;
11500 _ACEOF
11501 if ac_fn_c_try_link "$LINENO"; then :
11502 case "$LIBEXT" in
11503 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11504 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'` ;;
11505 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11506 if test "x$ac_cv_lib_soname_freetype" = x; then :
11507 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11508 fi ;;
11509 esac
11511 rm -f core conftest.err conftest.$ac_objext \
11512 conftest$ac_exeext conftest.$ac_ext
11513 LIBS=$ac_check_soname_save_LIBS
11515 if test "x$ac_cv_lib_soname_freetype" = "x"; then :
11516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11517 $as_echo "not found" >&6; }
11518 ft_lib=no
11519 else
11520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
11521 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
11523 cat >>confdefs.h <<_ACEOF
11524 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
11525 _ACEOF
11527 ft_lib=yes
11529 if test "$ft_lib" = "yes"
11530 then
11531 for ac_header in ft2build.h \
11532 freetype/freetype.h \
11533 freetype/ftglyph.h \
11534 freetype/fttypes.h \
11535 freetype/tttables.h \
11536 freetype/ftsnames.h \
11537 freetype/ttnameid.h \
11538 freetype/ftoutln.h \
11539 freetype/ftwinfnt.h \
11540 freetype/ftmodapi.h \
11541 freetype/ftlcdfil.h
11542 do :
11543 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11544 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_FT2BUILD_H
11545 # include <ft2build.h>
11546 #endif
11548 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11549 cat >>confdefs.h <<_ACEOF
11550 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11551 _ACEOF
11555 done
11557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11558 /* end confdefs.h. */
11559 #include <ft2build.h>
11560 #include <freetype/fttrigon.h>
11561 _ACEOF
11562 if ac_fn_c_try_cpp "$LINENO"; then :
11564 $as_echo "#define HAVE_FREETYPE_FTTRIGON_H 1" >>confdefs.h
11566 wine_cv_fttrigon=yes
11567 else
11568 wine_cv_fttrigon=no
11570 rm -f conftest.err conftest.i conftest.$ac_ext
11571 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <freetype/ftmodapi.h>
11573 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
11575 cat >>confdefs.h <<_ACEOF
11576 #define HAVE_FT_TRUETYPEENGINETYPE 1
11577 _ACEOF
11582 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
11583 then
11585 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
11587 else
11588 FREETYPE_LIBS=""
11590 else
11591 FREETYPE_LIBS=""
11593 CPPFLAGS=$ac_save_CPPFLAGS
11594 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11595 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11598 if test "x$ac_cv_header_freetype_freetype_h" != xyes -o "x$wine_cv_fttrigon" != xyes; then :
11599 case "x$with_freetype" in
11600 xno) ;;
11601 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
11602 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
11603 esac
11605 test "x$ac_cv_header_freetype_freetype_h" = xyes -a "x$wine_cv_fttrigon" = xyes || enable_fonts=${enable_fonts:-no}
11607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
11608 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
11609 if ${ac_cv_c_ppdev+:} false; then :
11610 $as_echo_n "(cached) " >&6
11611 else
11612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11613 /* end confdefs.h. */
11614 #ifdef HAVE_SYS_IOCTL_H
11615 # include <sys/ioctl.h>
11616 #endif
11617 #include <linux/ppdev.h>
11619 main ()
11621 ioctl (1,PPCLAIM,0)
11623 return 0;
11625 _ACEOF
11626 if ac_fn_c_try_compile "$LINENO"; then :
11627 ac_cv_c_ppdev="yes"
11628 else
11629 ac_cv_c_ppdev="no"
11631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
11634 $as_echo "$ac_cv_c_ppdev" >&6; }
11635 if test "$ac_cv_c_ppdev" = "yes"
11636 then
11638 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
11642 ac_wine_check_funcs_save_LIBS="$LIBS"
11643 LIBS="$LIBS $LIBPTHREAD"
11644 for ac_func in \
11645 pthread_attr_get_np \
11646 pthread_getattr_np \
11647 pthread_getthreadid_np \
11648 pthread_get_stackaddr_np \
11649 pthread_get_stacksize_np
11650 do :
11651 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11652 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
11653 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
11654 cat >>confdefs.h <<_ACEOF
11655 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11656 _ACEOF
11659 done
11661 LIBS="$ac_wine_check_funcs_save_LIBS"
11663 if test "$ac_cv_header_zlib_h" = "yes"
11664 then
11665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
11666 $as_echo_n "checking for inflate in -lz... " >&6; }
11667 if ${ac_cv_lib_z_inflate+:} false; then :
11668 $as_echo_n "(cached) " >&6
11669 else
11670 ac_check_lib_save_LIBS=$LIBS
11671 LIBS="-lz $LIBS"
11672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11673 /* end confdefs.h. */
11675 /* Override any GCC internal prototype to avoid an error.
11676 Use char because int might match the return type of a GCC
11677 builtin and then its argument prototype would still apply. */
11678 #ifdef __cplusplus
11679 extern "C"
11680 #endif
11681 char inflate ();
11683 main ()
11685 return inflate ();
11687 return 0;
11689 _ACEOF
11690 if ac_fn_c_try_link "$LINENO"; then :
11691 ac_cv_lib_z_inflate=yes
11692 else
11693 ac_cv_lib_z_inflate=no
11695 rm -f core conftest.err conftest.$ac_objext \
11696 conftest$ac_exeext conftest.$ac_ext
11697 LIBS=$ac_check_lib_save_LIBS
11699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
11700 $as_echo "$ac_cv_lib_z_inflate" >&6; }
11701 if test "x$ac_cv_lib_z_inflate" = xyes; then :
11703 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
11705 ZLIB="-lz"
11710 if test "x$ZLIB" = "x"; then :
11711 case "x$with_zlib" in
11712 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
11713 xno) ;;
11714 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
11715 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
11716 esac
11719 if test "x$enable_tools" != xno
11720 then
11721 if test "$ac_cv_header_gettext_po_h" = "yes"
11722 then
11723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
11724 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
11725 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
11726 $as_echo_n "(cached) " >&6
11727 else
11728 ac_check_lib_save_LIBS=$LIBS
11729 LIBS="-lgettextpo $LIBS"
11730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11731 /* end confdefs.h. */
11733 /* Override any GCC internal prototype to avoid an error.
11734 Use char because int might match the return type of a GCC
11735 builtin and then its argument prototype would still apply. */
11736 #ifdef __cplusplus
11737 extern "C"
11738 #endif
11739 char po_message_msgctxt ();
11741 main ()
11743 return po_message_msgctxt ();
11745 return 0;
11747 _ACEOF
11748 if ac_fn_c_try_link "$LINENO"; then :
11749 ac_cv_lib_gettextpo_po_message_msgctxt=yes
11750 else
11751 ac_cv_lib_gettextpo_po_message_msgctxt=no
11753 rm -f core conftest.err conftest.$ac_objext \
11754 conftest$ac_exeext conftest.$ac_ext
11755 LIBS=$ac_check_lib_save_LIBS
11757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
11758 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
11759 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
11761 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
11763 LIBGETTEXTPO="-lgettextpo"
11768 test "x$with_gettextpo" != xyes || if test "x$LIBGETTEXTPO" = "x"; then :
11769 case "x$with_gettextpo" in
11770 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
11771 xno) ;;
11772 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
11773 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
11774 esac
11778 if test "x$with_gstreamer" != "xno"
11779 then
11780 if test -n "$GSTREAMER_CFLAGS"; then :
11782 elif test -n "$PKG_CONFIG"; then :
11783 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
11786 if test -n "$GSTREAMER_LIBS"; then :
11788 elif test -n "$PKG_CONFIG"; then :
11789 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
11793 ac_save_CPPFLAGS=$CPPFLAGS
11794 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
11795 ac_gst_incl=""
11796 for i in $GSTREAMER_CFLAGS
11798 case "$i" in
11799 -I*) ac_gst_incl="$ac_gst_incl $i";;
11800 esac
11801 done
11802 GSTREAMER_CFLAGS=$ac_gst_incl
11803 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
11804 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
11805 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
11806 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
11807 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
11808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
11809 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
11810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11811 /* end confdefs.h. */
11812 #include <gst/app/gstappsink.h>
11814 main ()
11816 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
11818 return 0;
11820 _ACEOF
11821 if ac_fn_c_try_compile "$LINENO"; then :
11822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11823 $as_echo "yes" >&6; }
11824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
11825 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
11826 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
11827 $as_echo_n "(cached) " >&6
11828 else
11829 ac_check_lib_save_LIBS=$LIBS
11830 LIBS="-lgstreamer-0.10 $LIBS"
11831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11832 /* end confdefs.h. */
11834 /* Override any GCC internal prototype to avoid an error.
11835 Use char because int might match the return type of a GCC
11836 builtin and then its argument prototype would still apply. */
11837 #ifdef __cplusplus
11838 extern "C"
11839 #endif
11840 char gst_pad_get_caps_reffed ();
11842 main ()
11844 return gst_pad_get_caps_reffed ();
11846 return 0;
11848 _ACEOF
11849 if ac_fn_c_try_link "$LINENO"; then :
11850 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
11851 else
11852 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
11854 rm -f core conftest.err conftest.$ac_objext \
11855 conftest$ac_exeext conftest.$ac_ext
11856 LIBS=$ac_check_lib_save_LIBS
11858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
11859 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
11860 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
11861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
11862 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
11863 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
11864 $as_echo_n "(cached) " >&6
11865 else
11866 ac_check_lib_save_LIBS=$LIBS
11867 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
11868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11869 /* end confdefs.h. */
11871 /* Override any GCC internal prototype to avoid an error.
11872 Use char because int might match the return type of a GCC
11873 builtin and then its argument prototype would still apply. */
11874 #ifdef __cplusplus
11875 extern "C"
11876 #endif
11877 char gst_app_buffer_new ();
11879 main ()
11881 return gst_app_buffer_new ();
11883 return 0;
11885 _ACEOF
11886 if ac_fn_c_try_link "$LINENO"; then :
11887 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
11888 else
11889 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
11891 rm -f core conftest.err conftest.$ac_objext \
11892 conftest$ac_exeext conftest.$ac_ext
11893 LIBS=$ac_check_lib_save_LIBS
11895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
11896 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
11897 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
11903 else
11904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11905 $as_echo "no" >&6; }
11907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11911 else
11912 GSTREAMER_CFLAGS=""
11916 CPPFLAGS=$ac_save_CPPFLAGS
11917 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11918 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11921 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
11922 case "x$with_gstreamer" in
11923 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
11924 xno) ;;
11925 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
11926 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
11927 esac
11929 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
11931 ALSALIBS=""
11933 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
11934 then
11935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
11936 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
11937 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
11938 $as_echo_n "(cached) " >&6
11939 else
11940 ac_check_lib_save_LIBS=$LIBS
11941 LIBS="-lasound $LIBS"
11942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11943 /* end confdefs.h. */
11945 /* Override any GCC internal prototype to avoid an error.
11946 Use char because int might match the return type of a GCC
11947 builtin and then its argument prototype would still apply. */
11948 #ifdef __cplusplus
11949 extern "C"
11950 #endif
11951 char snd_pcm_hw_params_get_access_mask ();
11953 main ()
11955 return snd_pcm_hw_params_get_access_mask ();
11957 return 0;
11959 _ACEOF
11960 if ac_fn_c_try_link "$LINENO"; then :
11961 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
11962 else
11963 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
11965 rm -f core conftest.err conftest.$ac_objext \
11966 conftest$ac_exeext conftest.$ac_ext
11967 LIBS=$ac_check_lib_save_LIBS
11969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
11970 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
11971 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
11972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11973 /* end confdefs.h. */
11974 #ifdef HAVE_ALSA_ASOUNDLIB_H
11975 #include <alsa/asoundlib.h>
11976 #elif defined(HAVE_SYS_ASOUNDLIB_H)
11977 #include <sys/asoundlib.h>
11978 #endif
11980 main ()
11982 snd_pcm_hw_params_get_access_mask(NULL, NULL)
11984 return 0;
11986 _ACEOF
11987 if ac_fn_c_try_compile "$LINENO"; then :
11988 ALSALIBS="-lasound"
11990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11995 if test "x$with_oss" != xno
11996 then
11997 ac_save_CPPFLAGS="$CPPFLAGS"
11998 if test -f /etc/oss.conf
11999 then
12000 . /etc/oss.conf
12002 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12003 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12004 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12005 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12006 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12008 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12010 cat >>confdefs.h <<_ACEOF
12011 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12012 _ACEOF
12014 OSS4INCL="$ac_oss_incl"
12021 CPPFLAGS="$ac_save_CPPFLAGS"
12022 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12023 then
12024 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12028 if test "x$with_capi" != "xno"
12029 then
12030 if test -n "$CAPI20_CFLAGS"; then :
12032 elif test -n "$PKG_CONFIG"; then :
12033 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12036 if test -n "$CAPI20_LIBS"; then :
12038 elif test -n "$PKG_CONFIG"; then :
12039 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12043 ac_save_CPPFLAGS=$CPPFLAGS
12044 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12045 for ac_header in capi20.h linux/capi.h
12046 do :
12047 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12048 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12050 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12051 cat >>confdefs.h <<_ACEOF
12052 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12053 _ACEOF
12057 done
12059 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12060 then
12061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12062 $as_echo_n "checking for -lcapi20... " >&6; }
12063 if ${ac_cv_lib_soname_capi20+:} false; then :
12064 $as_echo_n "(cached) " >&6
12065 else
12066 ac_check_soname_save_LIBS=$LIBS
12067 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12069 /* end confdefs.h. */
12071 /* Override any GCC internal prototype to avoid an error.
12072 Use char because int might match the return type of a GCC
12073 builtin and then its argument prototype would still apply. */
12074 #ifdef __cplusplus
12075 extern "C"
12076 #endif
12077 char capi20_register ();
12079 main ()
12081 return capi20_register ();
12083 return 0;
12085 _ACEOF
12086 if ac_fn_c_try_link "$LINENO"; then :
12087 case "$LIBEXT" in
12088 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12089 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'` ;;
12090 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12091 if test "x$ac_cv_lib_soname_capi20" = x; then :
12092 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12093 fi ;;
12094 esac
12096 rm -f core conftest.err conftest.$ac_objext \
12097 conftest$ac_exeext conftest.$ac_ext
12098 LIBS=$ac_check_soname_save_LIBS
12100 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12102 $as_echo "not found" >&6; }
12104 else
12105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12106 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12108 cat >>confdefs.h <<_ACEOF
12109 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12110 _ACEOF
12115 CPPFLAGS=$ac_save_CPPFLAGS
12116 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12117 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12120 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12121 case "x$with_capi" in
12122 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12123 xno) ;;
12124 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12125 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12126 esac
12129 CUPSINCL=""
12131 if test "x$with_cups" != "xno"
12132 then
12133 ac_save_CPPFLAGS="$CPPFLAGS"
12134 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12135 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12136 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12137 for ac_header in cups/cups.h
12138 do :
12139 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12140 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12141 cat >>confdefs.h <<_ACEOF
12142 #define HAVE_CUPS_CUPS_H 1
12143 _ACEOF
12144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12145 $as_echo_n "checking for -lcups... " >&6; }
12146 if ${ac_cv_lib_soname_cups+:} false; then :
12147 $as_echo_n "(cached) " >&6
12148 else
12149 ac_check_soname_save_LIBS=$LIBS
12150 LIBS="-lcups $ac_cups_libs $LIBS"
12151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12152 /* end confdefs.h. */
12154 /* Override any GCC internal prototype to avoid an error.
12155 Use char because int might match the return type of a GCC
12156 builtin and then its argument prototype would still apply. */
12157 #ifdef __cplusplus
12158 extern "C"
12159 #endif
12160 char cupsGetDefault ();
12162 main ()
12164 return cupsGetDefault ();
12166 return 0;
12168 _ACEOF
12169 if ac_fn_c_try_link "$LINENO"; then :
12170 case "$LIBEXT" in
12171 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12172 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'` ;;
12173 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12174 if test "x$ac_cv_lib_soname_cups" = x; then :
12175 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12176 fi ;;
12177 esac
12179 rm -f core conftest.err conftest.$ac_objext \
12180 conftest$ac_exeext conftest.$ac_ext
12181 LIBS=$ac_check_soname_save_LIBS
12183 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12185 $as_echo "not found" >&6; }
12187 else
12188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12189 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12191 cat >>confdefs.h <<_ACEOF
12192 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12193 _ACEOF
12195 CUPSINCL="$ac_cups_cflags"
12199 done
12201 CPPFLAGS="$ac_save_CPPFLAGS"
12203 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12204 case "x$with_cups" in
12205 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12206 xno) ;;
12207 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12208 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12209 esac
12212 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12213 then
12214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12215 $as_echo_n "checking for -lfontconfig... " >&6; }
12216 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12217 $as_echo_n "(cached) " >&6
12218 else
12219 ac_check_soname_save_LIBS=$LIBS
12220 LIBS="-lfontconfig $LIBS"
12221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12222 /* end confdefs.h. */
12224 /* Override any GCC internal prototype to avoid an error.
12225 Use char because int might match the return type of a GCC
12226 builtin and then its argument prototype would still apply. */
12227 #ifdef __cplusplus
12228 extern "C"
12229 #endif
12230 char FcInit ();
12232 main ()
12234 return FcInit ();
12236 return 0;
12238 _ACEOF
12239 if ac_fn_c_try_link "$LINENO"; then :
12240 case "$LIBEXT" in
12241 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12242 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'` ;;
12243 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12244 if test "x$ac_cv_lib_soname_fontconfig" = x; then :
12245 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12246 fi ;;
12247 esac
12249 rm -f core conftest.err conftest.$ac_objext \
12250 conftest$ac_exeext conftest.$ac_ext
12251 LIBS=$ac_check_soname_save_LIBS
12253 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12255 $as_echo "not found" >&6; }
12257 else
12258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12259 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12261 cat >>confdefs.h <<_ACEOF
12262 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12263 _ACEOF
12267 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
12268 then
12269 ac_save_CPPFLAGS="$CPPFLAGS"
12270 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
12271 $as_unset ac_cv_header_fontconfig_fontconfig_h
12272 for ac_header in fontconfig/fontconfig.h
12273 do :
12274 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12275 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
12276 cat >>confdefs.h <<_ACEOF
12277 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12278 _ACEOF
12282 done
12284 CPPFLAGS="$ac_save_CPPFLAGS"
12285 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12286 then
12287 FONTCONFIGINCL="$X_CFLAGS"
12289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12290 $as_echo_n "checking for -lfontconfig... " >&6; }
12291 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12292 $as_echo_n "(cached) " >&6
12293 else
12294 ac_check_soname_save_LIBS=$LIBS
12295 LIBS="-lfontconfig $X_LIBS $LIBS"
12296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12297 /* end confdefs.h. */
12299 /* Override any GCC internal prototype to avoid an error.
12300 Use char because int might match the return type of a GCC
12301 builtin and then its argument prototype would still apply. */
12302 #ifdef __cplusplus
12303 extern "C"
12304 #endif
12305 char FcInit ();
12307 main ()
12309 return FcInit ();
12311 return 0;
12313 _ACEOF
12314 if ac_fn_c_try_link "$LINENO"; then :
12315 case "$LIBEXT" in
12316 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12317 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'` ;;
12318 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12319 if test "x$ac_cv_lib_soname_fontconfig" = x; then :
12320 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12321 fi ;;
12322 esac
12324 rm -f core conftest.err conftest.$ac_objext \
12325 conftest$ac_exeext conftest.$ac_ext
12326 LIBS=$ac_check_soname_save_LIBS
12328 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12330 $as_echo "not found" >&6; }
12332 else
12333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12334 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12336 cat >>confdefs.h <<_ACEOF
12337 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12338 _ACEOF
12344 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12345 case "x$with_fontconfig" in
12346 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12347 xno) ;;
12348 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12349 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12350 esac
12353 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12354 then
12355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12356 $as_echo_n "checking for -lgsm... " >&6; }
12357 if ${ac_cv_lib_soname_gsm+:} false; then :
12358 $as_echo_n "(cached) " >&6
12359 else
12360 ac_check_soname_save_LIBS=$LIBS
12361 LIBS="-lgsm $LIBS"
12362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12363 /* end confdefs.h. */
12365 /* Override any GCC internal prototype to avoid an error.
12366 Use char because int might match the return type of a GCC
12367 builtin and then its argument prototype would still apply. */
12368 #ifdef __cplusplus
12369 extern "C"
12370 #endif
12371 char gsm_create ();
12373 main ()
12375 return gsm_create ();
12377 return 0;
12379 _ACEOF
12380 if ac_fn_c_try_link "$LINENO"; then :
12381 case "$LIBEXT" in
12382 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12383 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'` ;;
12384 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12385 if test "x$ac_cv_lib_soname_gsm" = x; then :
12386 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12387 fi ;;
12388 esac
12390 rm -f core conftest.err conftest.$ac_objext \
12391 conftest$ac_exeext conftest.$ac_ext
12392 LIBS=$ac_check_soname_save_LIBS
12394 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12396 $as_echo "not found" >&6; }
12398 else
12399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12400 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12402 cat >>confdefs.h <<_ACEOF
12403 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12404 _ACEOF
12409 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12410 case "x$with_gsm" in
12411 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12412 xno) ;;
12413 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12414 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12415 esac
12418 if test "x$with_jpeg" != "xno"
12419 then
12420 if test -n "$JPEG_CFLAGS"; then :
12422 elif test -n "$PKG_CONFIG"; then :
12423 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12426 if test -n "$JPEG_LIBS"; then :
12428 elif test -n "$PKG_CONFIG"; then :
12429 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12433 ac_save_CPPFLAGS=$CPPFLAGS
12434 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
12435 for ac_header in jpeglib.h
12436 do :
12437 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12438 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
12439 cat >>confdefs.h <<_ACEOF
12440 #define HAVE_JPEGLIB_H 1
12441 _ACEOF
12445 done
12447 if test "$ac_cv_header_jpeglib_h" = "yes"
12448 then
12449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12450 $as_echo_n "checking for -ljpeg... " >&6; }
12451 if ${ac_cv_lib_soname_jpeg+:} false; then :
12452 $as_echo_n "(cached) " >&6
12453 else
12454 ac_check_soname_save_LIBS=$LIBS
12455 LIBS="-ljpeg $JPEG_LIBS $LIBS"
12456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12457 /* end confdefs.h. */
12459 /* Override any GCC internal prototype to avoid an error.
12460 Use char because int might match the return type of a GCC
12461 builtin and then its argument prototype would still apply. */
12462 #ifdef __cplusplus
12463 extern "C"
12464 #endif
12465 char jpeg_start_decompress ();
12467 main ()
12469 return jpeg_start_decompress ();
12471 return 0;
12473 _ACEOF
12474 if ac_fn_c_try_link "$LINENO"; then :
12475 case "$LIBEXT" in
12476 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12477 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'` ;;
12478 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12479 if test "x$ac_cv_lib_soname_jpeg" = x; then :
12480 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12481 fi ;;
12482 esac
12484 rm -f core conftest.err conftest.$ac_objext \
12485 conftest$ac_exeext conftest.$ac_ext
12486 LIBS=$ac_check_soname_save_LIBS
12488 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12490 $as_echo "not found" >&6; }
12491 JPEG_CFLAGS=""
12492 else
12493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12494 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12496 cat >>confdefs.h <<_ACEOF
12497 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12498 _ACEOF
12502 else
12503 JPEG_CFLAGS=""
12505 CPPFLAGS=$ac_save_CPPFLAGS
12506 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12507 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12510 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12511 case "x$with_jpeg" in
12512 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12513 xno) ;;
12514 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12515 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12516 esac
12519 if test "x$with_png" != "xno"
12520 then
12521 if test -n "$PNG_CFLAGS"; then :
12523 elif test -n "$PKG_CONFIG"; then :
12524 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12526 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
12527 if test -n "$PNG_LIBS"; then :
12529 elif test -n "$PKG_CONFIG"; then :
12530 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
12532 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
12534 ac_save_CPPFLAGS=$CPPFLAGS
12535 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
12536 for ac_header in png.h
12537 do :
12538 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12539 if test "x$ac_cv_header_png_h" = xyes; then :
12540 cat >>confdefs.h <<_ACEOF
12541 #define HAVE_PNG_H 1
12542 _ACEOF
12546 done
12548 if test "$ac_cv_header_png_h" = "yes"
12549 then
12550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12551 $as_echo_n "checking for -lpng... " >&6; }
12552 if ${ac_cv_lib_soname_png+:} false; then :
12553 $as_echo_n "(cached) " >&6
12554 else
12555 ac_check_soname_save_LIBS=$LIBS
12556 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
12557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12558 /* end confdefs.h. */
12560 /* Override any GCC internal prototype to avoid an error.
12561 Use char because int might match the return type of a GCC
12562 builtin and then its argument prototype would still apply. */
12563 #ifdef __cplusplus
12564 extern "C"
12565 #endif
12566 char png_create_read_struct ();
12568 main ()
12570 return png_create_read_struct ();
12572 return 0;
12574 _ACEOF
12575 if ac_fn_c_try_link "$LINENO"; then :
12576 case "$LIBEXT" in
12577 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12578 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'` ;;
12579 *) 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'`
12580 if test "x$ac_cv_lib_soname_png" = x; then :
12581 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12582 fi ;;
12583 esac
12585 rm -f core conftest.err conftest.$ac_objext \
12586 conftest$ac_exeext conftest.$ac_ext
12587 LIBS=$ac_check_soname_save_LIBS
12589 if test "x$ac_cv_lib_soname_png" = "x"; then :
12590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12591 $as_echo "not found" >&6; }
12592 PNG_CFLAGS=""
12593 else
12594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
12595 $as_echo "$ac_cv_lib_soname_png" >&6; }
12597 cat >>confdefs.h <<_ACEOF
12598 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
12599 _ACEOF
12601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12602 /* end confdefs.h. */
12603 #include <png.h>
12605 main ()
12607 typeof(png_set_expand_gray_1_2_4_to_8) *p
12609 return 0;
12611 _ACEOF
12612 if ac_fn_c_try_compile "$LINENO"; then :
12614 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
12617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12619 else
12620 PNG_CFLAGS=""
12622 CPPFLAGS=$ac_save_CPPFLAGS
12623 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12624 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12627 if test "x$ac_cv_lib_soname_png" = "x"; then :
12628 case "x$with_png" in
12629 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
12630 xno) ;;
12631 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
12632 This is an error since --with-png was requested." "$LINENO" 5 ;;
12633 esac
12636 if test "x$with_tiff" != "xno"
12637 then
12638 if test -n "$TIFF_CFLAGS"; then :
12640 elif test -n "$PKG_CONFIG"; then :
12641 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
12644 if test -n "$TIFF_LIBS"; then :
12646 elif test -n "$PKG_CONFIG"; then :
12647 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
12651 ac_save_CPPFLAGS=$CPPFLAGS
12652 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
12653 for ac_header in tiffio.h
12654 do :
12655 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
12656 if test "x$ac_cv_header_tiffio_h" = xyes; then :
12657 cat >>confdefs.h <<_ACEOF
12658 #define HAVE_TIFFIO_H 1
12659 _ACEOF
12663 done
12665 if test "$ac_cv_header_tiffio_h" = "yes"
12666 then
12667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
12668 $as_echo_n "checking for -ltiff... " >&6; }
12669 if ${ac_cv_lib_soname_tiff+:} false; then :
12670 $as_echo_n "(cached) " >&6
12671 else
12672 ac_check_soname_save_LIBS=$LIBS
12673 LIBS="-ltiff $TIFF_LIBS $LIBS"
12674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12675 /* end confdefs.h. */
12677 /* Override any GCC internal prototype to avoid an error.
12678 Use char because int might match the return type of a GCC
12679 builtin and then its argument prototype would still apply. */
12680 #ifdef __cplusplus
12681 extern "C"
12682 #endif
12683 char TIFFClientOpen ();
12685 main ()
12687 return TIFFClientOpen ();
12689 return 0;
12691 _ACEOF
12692 if ac_fn_c_try_link "$LINENO"; then :
12693 case "$LIBEXT" in
12694 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12695 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'` ;;
12696 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12697 if test "x$ac_cv_lib_soname_tiff" = x; then :
12698 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12699 fi ;;
12700 esac
12702 rm -f core conftest.err conftest.$ac_objext \
12703 conftest$ac_exeext conftest.$ac_ext
12704 LIBS=$ac_check_soname_save_LIBS
12706 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
12707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12708 $as_echo "not found" >&6; }
12710 else
12711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
12712 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
12714 cat >>confdefs.h <<_ACEOF
12715 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
12716 _ACEOF
12721 CPPFLAGS=$ac_save_CPPFLAGS
12722 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12723 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12726 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
12727 case "x$with_tiff" in
12728 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
12729 xno) ;;
12730 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
12731 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
12732 esac
12735 if test "x$with_mpg123" != "xno"
12736 then
12737 if test -n "$MPG123_CFLAGS"; then :
12739 elif test -n "$PKG_CONFIG"; then :
12740 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
12743 if test -n "$MPG123_LIBS"; then :
12745 elif test -n "$PKG_CONFIG"; then :
12746 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
12749 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
12750 ac_save_CPPFLAGS=$CPPFLAGS
12751 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
12752 for ac_header in mpg123.h
12753 do :
12754 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
12755 if test "x$ac_cv_header_mpg123_h" = xyes; then :
12756 cat >>confdefs.h <<_ACEOF
12757 #define HAVE_MPG123_H 1
12758 _ACEOF
12762 done
12764 if test "$ac_cv_header_mpg123_h" = "yes"
12765 then
12766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
12767 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
12768 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
12769 $as_echo_n "(cached) " >&6
12770 else
12771 ac_check_lib_save_LIBS=$LIBS
12772 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
12773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12774 /* end confdefs.h. */
12776 /* Override any GCC internal prototype to avoid an error.
12777 Use char because int might match the return type of a GCC
12778 builtin and then its argument prototype would still apply. */
12779 #ifdef __cplusplus
12780 extern "C"
12781 #endif
12782 char mpg123_feed ();
12784 main ()
12786 return mpg123_feed ();
12788 return 0;
12790 _ACEOF
12791 if ac_fn_c_try_link "$LINENO"; then :
12792 ac_cv_lib_mpg123_mpg123_feed=yes
12793 else
12794 ac_cv_lib_mpg123_mpg123_feed=no
12796 rm -f core conftest.err conftest.$ac_objext \
12797 conftest$ac_exeext conftest.$ac_ext
12798 LIBS=$ac_check_lib_save_LIBS
12800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
12801 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
12802 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
12804 else
12805 MPG123_LIBS=""
12808 else
12809 MPG123_CFLAGS=""
12810 MPG123_LIBS=""
12812 CPPFLAGS=$ac_save_CPPFLAGS
12813 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12814 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12817 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
12818 case "x$with_mpg123" in
12819 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
12820 xno) ;;
12821 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
12822 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
12823 esac
12825 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}
12827 if test "$ac_cv_header_AL_al_h" = "yes"
12828 then
12829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
12830 $as_echo_n "checking for -lopenal... " >&6; }
12831 if ${ac_cv_lib_soname_openal+:} false; then :
12832 $as_echo_n "(cached) " >&6
12833 else
12834 ac_check_soname_save_LIBS=$LIBS
12835 LIBS="-lopenal $LIBS"
12836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12837 /* end confdefs.h. */
12839 /* Override any GCC internal prototype to avoid an error.
12840 Use char because int might match the return type of a GCC
12841 builtin and then its argument prototype would still apply. */
12842 #ifdef __cplusplus
12843 extern "C"
12844 #endif
12845 char alGetSource3i ();
12847 main ()
12849 return alGetSource3i ();
12851 return 0;
12853 _ACEOF
12854 if ac_fn_c_try_link "$LINENO"; then :
12855 case "$LIBEXT" in
12856 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12857 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'` ;;
12858 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12859 if test "x$ac_cv_lib_soname_openal" = x; then :
12860 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12861 fi ;;
12862 esac
12864 rm -f core conftest.err conftest.$ac_objext \
12865 conftest$ac_exeext conftest.$ac_ext
12866 LIBS=$ac_check_soname_save_LIBS
12868 if test "x$ac_cv_lib_soname_openal" = "x"; then :
12869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12870 $as_echo "not found" >&6; }
12872 else
12873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
12874 $as_echo "$ac_cv_lib_soname_openal" >&6; }
12876 cat >>confdefs.h <<_ACEOF
12877 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
12878 _ACEOF
12880 LIBOPENAL="-lopenal"
12882 ac_cv_lib_openal=yes
12884 cat >>confdefs.h <<_ACEOF
12885 #define HAVE_OPENAL 1
12886 _ACEOF
12890 if test "x$ac_cv_lib_openal" != xyes; then :
12891 case "x$with_openal" in
12892 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
12893 xno) ;;
12894 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
12895 This is an error since --with-openal was requested." "$LINENO" 5 ;;
12896 esac
12898 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
12900 if test "$ac_cv_header_kstat_h" = "yes"
12901 then
12902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
12903 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
12904 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
12905 $as_echo_n "(cached) " >&6
12906 else
12907 ac_check_lib_save_LIBS=$LIBS
12908 LIBS="-lkstat $LIBS"
12909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12910 /* end confdefs.h. */
12912 /* Override any GCC internal prototype to avoid an error.
12913 Use char because int might match the return type of a GCC
12914 builtin and then its argument prototype would still apply. */
12915 #ifdef __cplusplus
12916 extern "C"
12917 #endif
12918 char kstat_open ();
12920 main ()
12922 return kstat_open ();
12924 return 0;
12926 _ACEOF
12927 if ac_fn_c_try_link "$LINENO"; then :
12928 ac_cv_lib_kstat_kstat_open=yes
12929 else
12930 ac_cv_lib_kstat_kstat_open=no
12932 rm -f core conftest.err conftest.$ac_objext \
12933 conftest$ac_exeext conftest.$ac_ext
12934 LIBS=$ac_check_lib_save_LIBS
12936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
12937 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
12938 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
12940 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
12942 LIBKSTAT="-lkstat"
12948 if test "$ac_cv_header_libprocstat_h" = "yes"
12949 then
12950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
12951 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
12952 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
12953 $as_echo_n "(cached) " >&6
12954 else
12955 ac_check_lib_save_LIBS=$LIBS
12956 LIBS="-lprocstat $LIBS"
12957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12958 /* end confdefs.h. */
12960 /* Override any GCC internal prototype to avoid an error.
12961 Use char because int might match the return type of a GCC
12962 builtin and then its argument prototype would still apply. */
12963 #ifdef __cplusplus
12964 extern "C"
12965 #endif
12966 char procstat_open_sysctl ();
12968 main ()
12970 return procstat_open_sysctl ();
12972 return 0;
12974 _ACEOF
12975 if ac_fn_c_try_link "$LINENO"; then :
12976 ac_cv_lib_procstat_procstat_open_sysctl=yes
12977 else
12978 ac_cv_lib_procstat_procstat_open_sysctl=no
12980 rm -f core conftest.err conftest.$ac_objext \
12981 conftest$ac_exeext conftest.$ac_ext
12982 LIBS=$ac_check_lib_save_LIBS
12984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
12985 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
12986 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
12988 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
12990 LIBPROCSTAT="-lprocstat"
12996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
12997 $as_echo_n "checking for -lodbc... " >&6; }
12998 if ${ac_cv_lib_soname_odbc+:} false; then :
12999 $as_echo_n "(cached) " >&6
13000 else
13001 ac_check_soname_save_LIBS=$LIBS
13002 LIBS="-lodbc $LIBS"
13003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13004 /* end confdefs.h. */
13006 /* Override any GCC internal prototype to avoid an error.
13007 Use char because int might match the return type of a GCC
13008 builtin and then its argument prototype would still apply. */
13009 #ifdef __cplusplus
13010 extern "C"
13011 #endif
13012 char SQLConnect ();
13014 main ()
13016 return SQLConnect ();
13018 return 0;
13020 _ACEOF
13021 if ac_fn_c_try_link "$LINENO"; then :
13022 case "$LIBEXT" in
13023 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13024 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'` ;;
13025 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13026 if test "x$ac_cv_lib_soname_odbc" = x; then :
13027 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13028 fi ;;
13029 esac
13031 rm -f core conftest.err conftest.$ac_objext \
13032 conftest$ac_exeext conftest.$ac_ext
13033 LIBS=$ac_check_soname_save_LIBS
13035 if test "x$ac_cv_lib_soname_odbc" = "x"; then :
13036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13037 $as_echo "not found" >&6; }
13038 cat >>confdefs.h <<_ACEOF
13039 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13040 _ACEOF
13042 else
13043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13044 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13046 cat >>confdefs.h <<_ACEOF
13047 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13048 _ACEOF
13053 test -n "$ALSALIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13054 test -n "$COREAUDIO" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
13055 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
13056 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
13058 if test "x$ALSALIBS$COREAUDIO" = "x" -a \
13059 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
13060 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13061 then
13062 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13066 EXTRACFLAGS=""
13068 if test "x${GCC}" = "xyes"
13069 then
13070 EXTRACFLAGS="-Wall -pipe"
13072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13073 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13074 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13075 $as_echo_n "(cached) " >&6
13076 else
13077 if test "$cross_compiling" = yes; then :
13078 ac_cv_c_gcc_strength_bug="yes"
13079 else
13080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13081 /* end confdefs.h. */
13082 int L[4] = {0,1,2,3};
13084 main ()
13086 static int Array[3];
13087 unsigned int B = 3;
13088 int i;
13089 for(i=0; i<B; i++) Array[i] = i - 3;
13090 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13091 L[i] = 4;
13092 return (Array[1] != -2 || L[2] != 3)
13094 return 0;
13096 _ACEOF
13097 if ac_fn_c_try_run "$LINENO"; then :
13098 ac_cv_c_gcc_strength_bug="no"
13099 else
13100 ac_cv_c_gcc_strength_bug="yes"
13102 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13103 conftest.$ac_objext conftest.beam conftest.$ac_ext
13107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13108 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13109 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13110 then
13111 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13115 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13116 if ${ac_cv_cflags__fno_builtin+:} false; then :
13117 $as_echo_n "(cached) " >&6
13118 else
13119 ac_wine_try_cflags_saved=$CFLAGS
13120 CFLAGS="$CFLAGS -fno-builtin"
13121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13122 /* end confdefs.h. */
13123 int main(int argc, char **argv) { return 0; }
13124 _ACEOF
13125 if ac_fn_c_try_link "$LINENO"; then :
13126 ac_cv_cflags__fno_builtin=yes
13127 else
13128 ac_cv_cflags__fno_builtin=no
13130 rm -f core conftest.err conftest.$ac_objext \
13131 conftest$ac_exeext conftest.$ac_ext
13132 CFLAGS=$ac_wine_try_cflags_saved
13134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13135 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13136 if test $ac_cv_cflags__fno_builtin = yes; then :
13137 BUILTINFLAG="-fno-builtin"
13140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13141 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13142 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
13143 $as_echo_n "(cached) " >&6
13144 else
13145 ac_wine_try_cflags_saved=$CFLAGS
13146 CFLAGS="$CFLAGS -fno-strict-aliasing"
13147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13148 /* end confdefs.h. */
13149 int main(int argc, char **argv) { return 0; }
13150 _ACEOF
13151 if ac_fn_c_try_link "$LINENO"; then :
13152 ac_cv_cflags__fno_strict_aliasing=yes
13153 else
13154 ac_cv_cflags__fno_strict_aliasing=no
13156 rm -f core conftest.err conftest.$ac_objext \
13157 conftest$ac_exeext conftest.$ac_ext
13158 CFLAGS=$ac_wine_try_cflags_saved
13160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13161 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13162 if test $ac_cv_cflags__fno_strict_aliasing = yes; then :
13163 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
13165 saved_CFLAGS=$CFLAGS
13166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13167 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13168 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
13169 $as_echo_n "(cached) " >&6
13170 else
13171 ac_wine_try_cflags_saved=$CFLAGS
13172 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13174 /* end confdefs.h. */
13175 int main(int argc, char **argv) { return 0; }
13176 _ACEOF
13177 if ac_fn_c_try_link "$LINENO"; then :
13178 ac_cv_cflags__Werror_unknown_warning_option=yes
13179 else
13180 ac_cv_cflags__Werror_unknown_warning_option=no
13182 rm -f core conftest.err conftest.$ac_objext \
13183 conftest$ac_exeext conftest.$ac_ext
13184 CFLAGS=$ac_wine_try_cflags_saved
13186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13187 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13188 if test $ac_cv_cflags__Werror_unknown_warning_option = yes; then :
13189 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13192 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13193 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
13194 $as_echo_n "(cached) " >&6
13195 else
13196 ac_wine_try_cflags_saved=$CFLAGS
13197 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
13198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13199 /* end confdefs.h. */
13200 int main(int argc, char **argv) { return 0; }
13201 _ACEOF
13202 if ac_fn_c_try_link "$LINENO"; then :
13203 ac_cv_cflags__Wdeclaration_after_statement=yes
13204 else
13205 ac_cv_cflags__Wdeclaration_after_statement=no
13207 rm -f core conftest.err conftest.$ac_objext \
13208 conftest$ac_exeext conftest.$ac_ext
13209 CFLAGS=$ac_wine_try_cflags_saved
13211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13212 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13213 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then :
13214 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
13216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13217 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13218 if ${ac_cv_cflags__Wempty_body+:} false; then :
13219 $as_echo_n "(cached) " >&6
13220 else
13221 ac_wine_try_cflags_saved=$CFLAGS
13222 CFLAGS="$CFLAGS -Wempty-body"
13223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13224 /* end confdefs.h. */
13225 int main(int argc, char **argv) { return 0; }
13226 _ACEOF
13227 if ac_fn_c_try_link "$LINENO"; then :
13228 ac_cv_cflags__Wempty_body=yes
13229 else
13230 ac_cv_cflags__Wempty_body=no
13232 rm -f core conftest.err conftest.$ac_objext \
13233 conftest$ac_exeext conftest.$ac_ext
13234 CFLAGS=$ac_wine_try_cflags_saved
13236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13237 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13238 if test $ac_cv_cflags__Wempty_body = yes; then :
13239 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
13241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13242 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13243 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
13244 $as_echo_n "(cached) " >&6
13245 else
13246 ac_wine_try_cflags_saved=$CFLAGS
13247 CFLAGS="$CFLAGS -Wignored-qualifiers"
13248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13249 /* end confdefs.h. */
13250 int main(int argc, char **argv) { return 0; }
13251 _ACEOF
13252 if ac_fn_c_try_link "$LINENO"; then :
13253 ac_cv_cflags__Wignored_qualifiers=yes
13254 else
13255 ac_cv_cflags__Wignored_qualifiers=no
13257 rm -f core conftest.err conftest.$ac_objext \
13258 conftest$ac_exeext conftest.$ac_ext
13259 CFLAGS=$ac_wine_try_cflags_saved
13261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13262 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13263 if test $ac_cv_cflags__Wignored_qualifiers = yes; then :
13264 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
13266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13267 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13268 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
13269 $as_echo_n "(cached) " >&6
13270 else
13271 ac_wine_try_cflags_saved=$CFLAGS
13272 CFLAGS="$CFLAGS -Wstrict-prototypes"
13273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13274 /* end confdefs.h. */
13275 int main(int argc, char **argv) { return 0; }
13276 _ACEOF
13277 if ac_fn_c_try_link "$LINENO"; then :
13278 ac_cv_cflags__Wstrict_prototypes=yes
13279 else
13280 ac_cv_cflags__Wstrict_prototypes=no
13282 rm -f core conftest.err conftest.$ac_objext \
13283 conftest$ac_exeext conftest.$ac_ext
13284 CFLAGS=$ac_wine_try_cflags_saved
13286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13287 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13288 if test $ac_cv_cflags__Wstrict_prototypes = yes; then :
13289 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
13291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13292 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13293 if ${ac_cv_cflags__Wtype_limits+:} false; then :
13294 $as_echo_n "(cached) " >&6
13295 else
13296 ac_wine_try_cflags_saved=$CFLAGS
13297 CFLAGS="$CFLAGS -Wtype-limits"
13298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13299 /* end confdefs.h. */
13300 int main(int argc, char **argv) { return 0; }
13301 _ACEOF
13302 if ac_fn_c_try_link "$LINENO"; then :
13303 ac_cv_cflags__Wtype_limits=yes
13304 else
13305 ac_cv_cflags__Wtype_limits=no
13307 rm -f core conftest.err conftest.$ac_objext \
13308 conftest$ac_exeext conftest.$ac_ext
13309 CFLAGS=$ac_wine_try_cflags_saved
13311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13312 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13313 if test $ac_cv_cflags__Wtype_limits = yes; then :
13314 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
13316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13317 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13318 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
13319 $as_echo_n "(cached) " >&6
13320 else
13321 ac_wine_try_cflags_saved=$CFLAGS
13322 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
13323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13324 /* end confdefs.h. */
13325 int main(int argc, char **argv) { return 0; }
13326 _ACEOF
13327 if ac_fn_c_try_link "$LINENO"; then :
13328 ac_cv_cflags__Wunused_but_set_parameter=yes
13329 else
13330 ac_cv_cflags__Wunused_but_set_parameter=no
13332 rm -f core conftest.err conftest.$ac_objext \
13333 conftest$ac_exeext conftest.$ac_ext
13334 CFLAGS=$ac_wine_try_cflags_saved
13336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13337 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13338 if test $ac_cv_cflags__Wunused_but_set_parameter = yes; then :
13339 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
13341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13342 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13343 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
13344 $as_echo_n "(cached) " >&6
13345 else
13346 ac_wine_try_cflags_saved=$CFLAGS
13347 CFLAGS="$CFLAGS -Wwrite-strings"
13348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13349 /* end confdefs.h. */
13350 int main(int argc, char **argv) { return 0; }
13351 _ACEOF
13352 if ac_fn_c_try_link "$LINENO"; then :
13353 ac_cv_cflags__Wwrite_strings=yes
13354 else
13355 ac_cv_cflags__Wwrite_strings=no
13357 rm -f core conftest.err conftest.$ac_objext \
13358 conftest$ac_exeext conftest.$ac_ext
13359 CFLAGS=$ac_wine_try_cflags_saved
13361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13362 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13363 if test $ac_cv_cflags__Wwrite_strings = yes; then :
13364 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
13367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13368 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13369 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
13370 $as_echo_n "(cached) " >&6
13371 else
13372 ac_wine_try_cflags_saved=$CFLAGS
13373 CFLAGS="$CFLAGS -Wpointer-arith"
13374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13375 /* end confdefs.h. */
13376 int main(int argc, char **argv) { return 0; }
13377 _ACEOF
13378 if ac_fn_c_try_link "$LINENO"; then :
13379 ac_cv_cflags__Wpointer_arith=yes
13380 else
13381 ac_cv_cflags__Wpointer_arith=no
13383 rm -f core conftest.err conftest.$ac_objext \
13384 conftest$ac_exeext conftest.$ac_ext
13385 CFLAGS=$ac_wine_try_cflags_saved
13387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13388 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13389 if test $ac_cv_cflags__Wpointer_arith = yes; then :
13390 saved_string_h_CFLAGS=$CFLAGS
13391 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
13392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13393 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13394 if ${ac_cv_c_string_h_warnings+:} false; then :
13395 $as_echo_n "(cached) " >&6
13396 else
13397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13398 /* end confdefs.h. */
13399 #include <string.h>
13401 main ()
13405 return 0;
13407 _ACEOF
13408 if ac_fn_c_try_compile "$LINENO"; then :
13409 ac_cv_c_string_h_warnings=no
13410 else
13411 ac_cv_c_string_h_warnings=yes
13413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13416 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13417 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
13418 CFLAGS=$saved_string_h_CFLAGS
13421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13422 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13423 if ${ac_cv_cflags__Wlogical_op+:} false; then :
13424 $as_echo_n "(cached) " >&6
13425 else
13426 ac_wine_try_cflags_saved=$CFLAGS
13427 CFLAGS="$CFLAGS -Wlogical-op"
13428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13429 /* end confdefs.h. */
13430 int main(int argc, char **argv) { return 0; }
13431 _ACEOF
13432 if ac_fn_c_try_link "$LINENO"; then :
13433 ac_cv_cflags__Wlogical_op=yes
13434 else
13435 ac_cv_cflags__Wlogical_op=no
13437 rm -f core conftest.err conftest.$ac_objext \
13438 conftest$ac_exeext conftest.$ac_ext
13439 CFLAGS=$ac_wine_try_cflags_saved
13441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13442 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13443 if test $ac_cv_cflags__Wlogical_op = yes; then :
13444 saved_string_h_CFLAGS=$CFLAGS
13445 CFLAGS="$CFLAGS -Wlogical-op -Werror"
13446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13447 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13448 if ${ac_cv_c_logicalop_noisy+:} false; then :
13449 $as_echo_n "(cached) " >&6
13450 else
13451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13452 /* end confdefs.h. */
13453 #include <string.h>
13454 char*f(const char *h,char n) {return strchr(h,n);}
13456 main ()
13460 return 0;
13462 _ACEOF
13463 if ac_fn_c_try_compile "$LINENO"; then :
13464 ac_cv_c_logicalop_noisy=no
13465 else
13466 ac_cv_c_logicalop_noisy=yes
13468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13471 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13472 CFLAGS=$saved_string_h_CFLAGS
13473 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
13476 CFLAGS=$saved_CFLAGS
13478 for ac_flag in $CFLAGS; do
13479 case $ac_flag in
13480 -g) case $host_os in
13481 darwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13482 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
13483 if ${ac_cv_cflags__gstabsp+:} false; then :
13484 $as_echo_n "(cached) " >&6
13485 else
13486 ac_wine_try_cflags_saved=$CFLAGS
13487 CFLAGS="$CFLAGS -gstabs+"
13488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13489 /* end confdefs.h. */
13490 int main(int argc, char **argv) { return 0; }
13491 _ACEOF
13492 if ac_fn_c_try_link "$LINENO"; then :
13493 ac_cv_cflags__gstabsp=yes
13494 else
13495 ac_cv_cflags__gstabsp=no
13497 rm -f core conftest.err conftest.$ac_objext \
13498 conftest$ac_exeext conftest.$ac_ext
13499 CFLAGS=$ac_wine_try_cflags_saved
13501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
13502 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
13503 if test $ac_cv_cflags__gstabsp = yes; then :
13504 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
13505 fi ;;
13506 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
13507 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
13508 if ${ac_cv_cflags__gdwarf_2+:} false; then :
13509 $as_echo_n "(cached) " >&6
13510 else
13511 ac_wine_try_cflags_saved=$CFLAGS
13512 CFLAGS="$CFLAGS -gdwarf-2"
13513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13514 /* end confdefs.h. */
13515 int main(int argc, char **argv) { return 0; }
13516 _ACEOF
13517 if ac_fn_c_try_link "$LINENO"; then :
13518 ac_cv_cflags__gdwarf_2=yes
13519 else
13520 ac_cv_cflags__gdwarf_2=no
13522 rm -f core conftest.err conftest.$ac_objext \
13523 conftest$ac_exeext conftest.$ac_ext
13524 CFLAGS=$ac_wine_try_cflags_saved
13526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
13527 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
13528 if test $ac_cv_cflags__gdwarf_2 = yes; then :
13529 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
13531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
13532 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
13533 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
13534 $as_echo_n "(cached) " >&6
13535 else
13536 ac_wine_try_cflags_saved=$CFLAGS
13537 CFLAGS="$CFLAGS -gstrict-dwarf"
13538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13539 /* end confdefs.h. */
13540 int main(int argc, char **argv) { return 0; }
13541 _ACEOF
13542 if ac_fn_c_try_link "$LINENO"; then :
13543 ac_cv_cflags__gstrict_dwarf=yes
13544 else
13545 ac_cv_cflags__gstrict_dwarf=no
13547 rm -f core conftest.err conftest.$ac_objext \
13548 conftest$ac_exeext conftest.$ac_ext
13549 CFLAGS=$ac_wine_try_cflags_saved
13551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
13552 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
13553 if test $ac_cv_cflags__gstrict_dwarf = yes; then :
13554 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
13555 fi ;;
13556 esac ;;
13557 esac
13558 done
13560 case $host_cpu in
13561 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
13562 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
13563 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
13564 $as_echo_n "(cached) " >&6
13565 else
13566 ac_wine_try_cflags_saved=$CFLAGS
13567 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
13568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13569 /* end confdefs.h. */
13570 int main(int argc, char **argv) { return 0; }
13571 _ACEOF
13572 if ac_fn_c_try_link "$LINENO"; then :
13573 ac_cv_cflags__fno_omit_frame_pointer=yes
13574 else
13575 ac_cv_cflags__fno_omit_frame_pointer=no
13577 rm -f core conftest.err conftest.$ac_objext \
13578 conftest$ac_exeext conftest.$ac_ext
13579 CFLAGS=$ac_wine_try_cflags_saved
13581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
13582 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
13583 if test $ac_cv_cflags__fno_omit_frame_pointer = yes; then :
13584 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
13585 fi ;;
13586 esac
13588 case $host in
13589 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
13590 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
13591 if ${ac_cv_cflags__Wno_format+:} false; then :
13592 $as_echo_n "(cached) " >&6
13593 else
13594 ac_wine_try_cflags_saved=$CFLAGS
13595 CFLAGS="$CFLAGS -Wno-format"
13596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13597 /* end confdefs.h. */
13598 int main(int argc, char **argv) { return 0; }
13599 _ACEOF
13600 if ac_fn_c_try_link "$LINENO"; then :
13601 ac_cv_cflags__Wno_format=yes
13602 else
13603 ac_cv_cflags__Wno_format=no
13605 rm -f core conftest.err conftest.$ac_objext \
13606 conftest$ac_exeext conftest.$ac_ext
13607 CFLAGS=$ac_wine_try_cflags_saved
13609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
13610 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
13611 if test $ac_cv_cflags__Wno_format = yes; then :
13612 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
13613 fi ;;
13614 esac
13616 if test "x$enable_maintainer_mode" = "xyes"
13617 then
13618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
13619 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
13620 if ${ac_cv_cflags__Werror+:} false; then :
13621 $as_echo_n "(cached) " >&6
13622 else
13623 ac_wine_try_cflags_saved=$CFLAGS
13624 CFLAGS="$CFLAGS -Werror"
13625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13626 /* end confdefs.h. */
13627 int main(int argc, char **argv) { return 0; }
13628 _ACEOF
13629 if ac_fn_c_try_link "$LINENO"; then :
13630 ac_cv_cflags__Werror=yes
13631 else
13632 ac_cv_cflags__Werror=no
13634 rm -f core conftest.err conftest.$ac_objext \
13635 conftest$ac_exeext conftest.$ac_ext
13636 CFLAGS=$ac_wine_try_cflags_saved
13638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
13639 $as_echo "$ac_cv_cflags__Werror" >&6; }
13640 if test $ac_cv_cflags__Werror = yes; then :
13641 EXTRACFLAGS="$EXTRACFLAGS -Werror"
13645 saved_CFLAGS="$CFLAGS"
13646 CFLAGS="$CFLAGS -Werror"
13647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
13648 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
13649 if ${ac_cv_have_ms_hook_prologue+:} false; then :
13650 $as_echo_n "(cached) " >&6
13651 else
13652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13653 /* end confdefs.h. */
13654 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
13656 main ()
13660 return 0;
13662 _ACEOF
13663 if ac_fn_c_try_compile "$LINENO"; then :
13664 ac_cv_have_ms_hook_prologue="yes"
13665 else
13666 ac_cv_have_ms_hook_prologue="no"
13668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
13671 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
13672 CFLAGS="$saved_CFLAGS"
13673 if test "$ac_cv_have_ms_hook_prologue" = "yes"
13674 then
13676 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
13678 else
13679 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
13685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
13686 $as_echo_n "checking for the need to disable Fortify... " >&6; }
13687 if ${ac_cv_c_fortify_enabled+:} false; then :
13688 $as_echo_n "(cached) " >&6
13689 else
13690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13691 /* end confdefs.h. */
13692 #include <string.h>
13694 main ()
13696 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
13697 #error Fortify enabled
13698 #endif
13700 return 0;
13702 _ACEOF
13703 if ac_fn_c_try_compile "$LINENO"; then :
13704 ac_cv_c_fortify_enabled=no
13705 else
13706 ac_cv_c_fortify_enabled=yes
13708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
13711 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
13712 if test "$ac_cv_c_fortify_enabled" = yes
13713 then
13714 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
13718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
13719 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
13720 if ${ac_cv_c_extern_prefix+:} false; then :
13721 $as_echo_n "(cached) " >&6
13722 else
13723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13724 /* end confdefs.h. */
13725 extern int ac_test;
13727 main ()
13729 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
13731 return 0;
13733 _ACEOF
13734 if ac_fn_c_try_link "$LINENO"; then :
13735 ac_cv_c_extern_prefix="yes"
13736 else
13737 ac_cv_c_extern_prefix="no"
13739 rm -f core conftest.err conftest.$ac_objext \
13740 conftest$ac_exeext conftest.$ac_ext
13742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
13743 $as_echo "$ac_cv_c_extern_prefix" >&6; }
13745 case $host_cpu in
13746 *i[3456789]86*)
13747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
13748 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
13749 if ${ac_cv_c_stdcall_suffix+:} false; then :
13750 $as_echo_n "(cached) " >&6
13751 else
13752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13753 /* end confdefs.h. */
13754 #ifndef _MSC_VER
13755 #define __stdcall __attribute__((__stdcall__))
13756 #endif
13757 int __stdcall ac_test(int i) { return i; }
13759 main ()
13761 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
13763 return 0;
13765 _ACEOF
13766 if ac_fn_c_try_link "$LINENO"; then :
13767 ac_cv_c_stdcall_suffix="yes"
13768 else
13769 ac_cv_c_stdcall_suffix="no"
13771 rm -f core conftest.err conftest.$ac_objext \
13772 conftest$ac_exeext conftest.$ac_ext
13774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
13775 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
13776 *) ac_cv_c_stdcall_suffix="no" ;;
13777 esac
13780 if test "$ac_cv_c_extern_prefix" = "yes"
13781 then
13782 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
13784 asm_name_prefix="_"
13785 else
13786 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
13788 asm_name_prefix=""
13792 if test "$ac_cv_c_stdcall_suffix" = "yes"
13793 then
13794 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
13796 else
13797 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
13802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
13803 $as_echo_n "checking how to define a function in assembly code... " >&6; }
13804 if ${ac_cv_asm_func_def+:} false; then :
13805 $as_echo_n "(cached) " >&6
13806 else
13807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13808 /* end confdefs.h. */
13811 main ()
13813 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
13815 return 0;
13817 _ACEOF
13818 if ac_fn_c_try_link "$LINENO"; then :
13819 ac_cv_asm_func_def=".def"
13820 else
13821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13822 /* end confdefs.h. */
13825 main ()
13827 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
13829 return 0;
13831 _ACEOF
13832 if ac_fn_c_try_link "$LINENO"; then :
13833 ac_cv_asm_func_def=".type @function"
13834 else
13835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13836 /* end confdefs.h. */
13839 main ()
13841 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
13843 return 0;
13845 _ACEOF
13846 if ac_fn_c_try_link "$LINENO"; then :
13847 ac_cv_asm_func_def=".type 2"
13848 else
13849 ac_cv_asm_func_def="unknown"
13851 rm -f core conftest.err conftest.$ac_objext \
13852 conftest$ac_exeext conftest.$ac_ext
13854 rm -f core conftest.err conftest.$ac_objext \
13855 conftest$ac_exeext conftest.$ac_ext
13857 rm -f core conftest.err conftest.$ac_objext \
13858 conftest$ac_exeext conftest.$ac_ext
13860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
13861 $as_echo "$ac_cv_asm_func_def" >&6; }
13864 case "$ac_cv_asm_func_def" in
13865 ".def")
13866 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
13868 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
13869 ".type @function")
13870 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
13872 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
13873 ".type 2")
13874 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
13876 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
13878 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
13880 asm_func_header="" ;;
13881 esac
13883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
13884 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
13885 if ${ac_cv_c_asm_outside_funcs+:} false; then :
13886 $as_echo_n "(cached) " >&6
13887 else
13888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13889 /* end confdefs.h. */
13890 asm(".text\n\t.long 0");
13892 main ()
13896 return 0;
13898 _ACEOF
13899 if ac_fn_c_try_compile "$LINENO"; then :
13900 ac_cv_c_asm_outside_funcs="yes"
13901 else
13902 ac_cv_c_asm_outside_funcs="no"
13904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
13907 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
13909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
13910 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
13911 if ${ac_cv_c_dot_previous+:} false; then :
13912 $as_echo_n "(cached) " >&6
13913 else
13914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13915 /* end confdefs.h. */
13918 main ()
13920 asm(".text\nac_test:\t.long 0\n\t.previous");
13922 return 0;
13924 _ACEOF
13925 if ac_fn_c_try_link "$LINENO"; then :
13926 ac_cv_c_dot_previous="yes"
13927 else
13928 ac_cv_c_dot_previous="no"
13930 rm -f core conftest.err conftest.$ac_objext \
13931 conftest$ac_exeext conftest.$ac_ext
13933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
13934 $as_echo "$ac_cv_c_dot_previous" >&6; }
13936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
13937 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
13938 if ${ac_cv_c_cfi_support+:} false; then :
13939 $as_echo_n "(cached) " >&6
13940 else
13941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13942 /* end confdefs.h. */
13943 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
13945 main ()
13949 return 0;
13951 _ACEOF
13952 if ac_fn_c_try_compile "$LINENO"; then :
13953 ac_cv_c_cfi_support="yes"
13954 else
13955 ac_cv_c_cfi_support="no"
13957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
13960 $as_echo "$ac_cv_c_cfi_support" >&6; }
13962 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
13963 asm_func_trailer=""
13964 if test "$ac_cv_c_dot_previous" = "yes"
13965 then
13966 asm_func_trailer="\\n\\t.previous"
13968 if test "$ac_cv_c_cfi_support" = "yes"
13969 then
13970 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
13971 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
13973 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
13975 UNWINDFLAGS=-fasynchronous-unwind-tables
13977 else
13978 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
13982 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
13985 if test "$ac_cv_c_asm_outside_funcs" = "yes"
13986 then
13987 cat >>confdefs.h <<_ACEOF
13988 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
13989 _ACEOF
13991 else
13992 cat >>confdefs.h <<_ACEOF
13993 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
13994 _ACEOF
13998 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14001 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14005 case $build_os in
14006 cygwin*|mingw32*) TOOLSEXT=".exe"
14008 esac
14010 case $host_os in
14011 linux*)
14012 case $host_cpu in
14013 *i[3456789]86*|x86_64*)
14014 as_fn_append LOADER_RULES "
14015 all: $wine_binary-preloader
14017 $wine_binary-preloader: preloader.o Makefile.in
14018 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14020 install install-lib:: $wine_binary-preloader \$(DESTDIR)\$(bindir)
14021 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14023 uninstall::
14024 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14025 " ;;
14026 esac
14028 esac
14031 ac_save_CFLAGS="$CFLAGS"
14032 CFLAGS="$CFLAGS $BUILTINFLAG"
14033 for ac_func in \
14034 __res_get_state \
14035 __res_getservers \
14036 _finite \
14037 _isnan \
14038 _pclose \
14039 _popen \
14040 _snprintf \
14041 _spawnvp \
14042 _strdup \
14043 _stricmp \
14044 _strnicmp \
14045 _strtoi64 \
14046 _strtoui64 \
14047 _vsnprintf \
14048 asctime_r \
14049 chsize \
14050 dlopen \
14051 epoll_create \
14052 ffs \
14053 finite \
14054 fnmatch \
14055 fork \
14056 fpclass \
14057 fstatfs \
14058 fstatvfs \
14059 ftruncate \
14060 futimens \
14061 futimes \
14062 futimesat \
14063 getattrlist \
14064 getdirentries \
14065 getopt_long_only \
14066 getpwuid \
14067 gettimeofday \
14068 getuid \
14069 if_nameindex \
14070 kqueue \
14071 lstat \
14072 memmove \
14073 mmap \
14074 pclose \
14075 pipe2 \
14076 poll \
14077 popen \
14078 port_create \
14079 prctl \
14080 pread \
14081 proc_pidinfo \
14082 pwrite \
14083 readdir \
14084 readlink \
14085 sched_yield \
14086 select \
14087 setproctitle \
14088 setrlimit \
14089 settimeofday \
14090 sigaltstack \
14091 sigprocmask \
14092 snprintf \
14093 statfs \
14094 statvfs \
14095 strcasecmp \
14096 strdup \
14097 strerror \
14098 strncasecmp \
14099 strtold \
14100 strtoll \
14101 strtoull \
14102 symlink \
14103 tcdrain \
14104 thr_kill2 \
14105 timegm \
14106 usleep \
14107 vsnprintf
14109 do :
14110 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14111 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14112 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14113 cat >>confdefs.h <<_ACEOF
14114 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14115 _ACEOF
14118 done
14120 CFLAGS="$ac_save_CFLAGS"
14122 if test "$ac_cv_func_dlopen" = no
14123 then
14124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14125 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14126 if ${ac_cv_lib_dl_dlopen+:} false; then :
14127 $as_echo_n "(cached) " >&6
14128 else
14129 ac_check_lib_save_LIBS=$LIBS
14130 LIBS="-ldl $LIBS"
14131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14132 /* end confdefs.h. */
14134 /* Override any GCC internal prototype to avoid an error.
14135 Use char because int might match the return type of a GCC
14136 builtin and then its argument prototype would still apply. */
14137 #ifdef __cplusplus
14138 extern "C"
14139 #endif
14140 char dlopen ();
14142 main ()
14144 return dlopen ();
14146 return 0;
14148 _ACEOF
14149 if ac_fn_c_try_link "$LINENO"; then :
14150 ac_cv_lib_dl_dlopen=yes
14151 else
14152 ac_cv_lib_dl_dlopen=no
14154 rm -f core conftest.err conftest.$ac_objext \
14155 conftest$ac_exeext conftest.$ac_ext
14156 LIBS=$ac_check_lib_save_LIBS
14158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14159 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14160 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14161 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14162 LIBDL="-ldl"
14167 ac_wine_check_funcs_save_LIBS="$LIBS"
14168 LIBS="$LIBS $LIBDL"
14169 for ac_func in dladdr
14170 do :
14171 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
14172 if test "x$ac_cv_func_dladdr" = xyes; then :
14173 cat >>confdefs.h <<_ACEOF
14174 #define HAVE_DLADDR 1
14175 _ACEOF
14178 done
14180 LIBS="$ac_wine_check_funcs_save_LIBS"
14182 if test "$ac_cv_func_poll" = no
14183 then
14184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14185 $as_echo_n "checking for poll in -lpoll... " >&6; }
14186 if ${ac_cv_lib_poll_poll+:} false; then :
14187 $as_echo_n "(cached) " >&6
14188 else
14189 ac_check_lib_save_LIBS=$LIBS
14190 LIBS="-lpoll $LIBS"
14191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14192 /* end confdefs.h. */
14194 /* Override any GCC internal prototype to avoid an error.
14195 Use char because int might match the return type of a GCC
14196 builtin and then its argument prototype would still apply. */
14197 #ifdef __cplusplus
14198 extern "C"
14199 #endif
14200 char poll ();
14202 main ()
14204 return poll ();
14206 return 0;
14208 _ACEOF
14209 if ac_fn_c_try_link "$LINENO"; then :
14210 ac_cv_lib_poll_poll=yes
14211 else
14212 ac_cv_lib_poll_poll=no
14214 rm -f core conftest.err conftest.$ac_objext \
14215 conftest$ac_exeext conftest.$ac_ext
14216 LIBS=$ac_check_lib_save_LIBS
14218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14219 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14220 if test "x$ac_cv_lib_poll_poll" = xyes; then :
14221 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14222 LIBPOLL="-lpoll"
14228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14229 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14230 if ${ac_cv_search_gethostbyname+:} false; then :
14231 $as_echo_n "(cached) " >&6
14232 else
14233 ac_func_search_save_LIBS=$LIBS
14234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14235 /* end confdefs.h. */
14237 /* Override any GCC internal prototype to avoid an error.
14238 Use char because int might match the return type of a GCC
14239 builtin and then its argument prototype would still apply. */
14240 #ifdef __cplusplus
14241 extern "C"
14242 #endif
14243 char gethostbyname ();
14245 main ()
14247 return gethostbyname ();
14249 return 0;
14251 _ACEOF
14252 for ac_lib in '' nsl; do
14253 if test -z "$ac_lib"; then
14254 ac_res="none required"
14255 else
14256 ac_res=-l$ac_lib
14257 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14259 if ac_fn_c_try_link "$LINENO"; then :
14260 ac_cv_search_gethostbyname=$ac_res
14262 rm -f core conftest.err conftest.$ac_objext \
14263 conftest$ac_exeext
14264 if ${ac_cv_search_gethostbyname+:} false; then :
14265 break
14267 done
14268 if ${ac_cv_search_gethostbyname+:} false; then :
14270 else
14271 ac_cv_search_gethostbyname=no
14273 rm conftest.$ac_ext
14274 LIBS=$ac_func_search_save_LIBS
14276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14277 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14278 ac_res=$ac_cv_search_gethostbyname
14279 if test "$ac_res" != no; then :
14280 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14286 $as_echo_n "checking for library containing connect... " >&6; }
14287 if ${ac_cv_search_connect+:} false; then :
14288 $as_echo_n "(cached) " >&6
14289 else
14290 ac_func_search_save_LIBS=$LIBS
14291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14292 /* end confdefs.h. */
14294 /* Override any GCC internal prototype to avoid an error.
14295 Use char because int might match the return type of a GCC
14296 builtin and then its argument prototype would still apply. */
14297 #ifdef __cplusplus
14298 extern "C"
14299 #endif
14300 char connect ();
14302 main ()
14304 return connect ();
14306 return 0;
14308 _ACEOF
14309 for ac_lib in '' socket; do
14310 if test -z "$ac_lib"; then
14311 ac_res="none required"
14312 else
14313 ac_res=-l$ac_lib
14314 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14316 if ac_fn_c_try_link "$LINENO"; then :
14317 ac_cv_search_connect=$ac_res
14319 rm -f core conftest.err conftest.$ac_objext \
14320 conftest$ac_exeext
14321 if ${ac_cv_search_connect+:} false; then :
14322 break
14324 done
14325 if ${ac_cv_search_connect+:} false; then :
14327 else
14328 ac_cv_search_connect=no
14330 rm conftest.$ac_ext
14331 LIBS=$ac_func_search_save_LIBS
14333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14334 $as_echo "$ac_cv_search_connect" >&6; }
14335 ac_res=$ac_cv_search_connect
14336 if test "$ac_res" != no; then :
14337 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14343 $as_echo_n "checking for library containing inet_aton... " >&6; }
14344 if ${ac_cv_search_inet_aton+:} false; then :
14345 $as_echo_n "(cached) " >&6
14346 else
14347 ac_func_search_save_LIBS=$LIBS
14348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14349 /* end confdefs.h. */
14351 /* Override any GCC internal prototype to avoid an error.
14352 Use char because int might match the return type of a GCC
14353 builtin and then its argument prototype would still apply. */
14354 #ifdef __cplusplus
14355 extern "C"
14356 #endif
14357 char inet_aton ();
14359 main ()
14361 return inet_aton ();
14363 return 0;
14365 _ACEOF
14366 for ac_lib in '' resolv; do
14367 if test -z "$ac_lib"; then
14368 ac_res="none required"
14369 else
14370 ac_res=-l$ac_lib
14371 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14373 if ac_fn_c_try_link "$LINENO"; then :
14374 ac_cv_search_inet_aton=$ac_res
14376 rm -f core conftest.err conftest.$ac_objext \
14377 conftest$ac_exeext
14378 if ${ac_cv_search_inet_aton+:} false; then :
14379 break
14381 done
14382 if ${ac_cv_search_inet_aton+:} false; then :
14384 else
14385 ac_cv_search_inet_aton=no
14387 rm conftest.$ac_ext
14388 LIBS=$ac_func_search_save_LIBS
14390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14391 $as_echo "$ac_cv_search_inet_aton" >&6; }
14392 ac_res=$ac_cv_search_inet_aton
14393 if test "$ac_res" != no; then :
14394 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14399 for ac_func in \
14400 getaddrinfo \
14401 getnameinfo \
14402 getnetbyname \
14403 getprotobyname \
14404 getprotobynumber \
14405 getservbyport \
14406 inet_network \
14407 inet_ntop \
14408 inet_pton \
14409 sendmsg \
14410 socketpair \
14412 do :
14413 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14414 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14415 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14416 cat >>confdefs.h <<_ACEOF
14417 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14418 _ACEOF
14421 done
14424 ac_save_LIBS=$LIBS
14425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14426 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14427 if ${ac_cv_search_clock_gettime+:} false; then :
14428 $as_echo_n "(cached) " >&6
14429 else
14430 ac_func_search_save_LIBS=$LIBS
14431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14432 /* end confdefs.h. */
14434 /* Override any GCC internal prototype to avoid an error.
14435 Use char because int might match the return type of a GCC
14436 builtin and then its argument prototype would still apply. */
14437 #ifdef __cplusplus
14438 extern "C"
14439 #endif
14440 char clock_gettime ();
14442 main ()
14444 return clock_gettime ();
14446 return 0;
14448 _ACEOF
14449 for ac_lib in '' rt; do
14450 if test -z "$ac_lib"; then
14451 ac_res="none required"
14452 else
14453 ac_res=-l$ac_lib
14454 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14456 if ac_fn_c_try_link "$LINENO"; then :
14457 ac_cv_search_clock_gettime=$ac_res
14459 rm -f core conftest.err conftest.$ac_objext \
14460 conftest$ac_exeext
14461 if ${ac_cv_search_clock_gettime+:} false; then :
14462 break
14464 done
14465 if ${ac_cv_search_clock_gettime+:} false; then :
14467 else
14468 ac_cv_search_clock_gettime=no
14470 rm conftest.$ac_ext
14471 LIBS=$ac_func_search_save_LIBS
14473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14474 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14475 ac_res=$ac_cv_search_clock_gettime
14476 if test "$ac_res" != no; then :
14477 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14479 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
14481 test "$ac_res" = "none required" || LIBRT="$ac_res"
14485 LIBS=$ac_save_LIBS
14487 LDAPLIBS=""
14489 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
14490 then
14491 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
14493 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
14494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
14495 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
14496 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
14497 $as_echo_n "(cached) " >&6
14498 else
14499 ac_check_lib_save_LIBS=$LIBS
14500 LIBS="-lldap_r $LIBPTHREAD $LIBS"
14501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14502 /* end confdefs.h. */
14504 /* Override any GCC internal prototype to avoid an error.
14505 Use char because int might match the return type of a GCC
14506 builtin and then its argument prototype would still apply. */
14507 #ifdef __cplusplus
14508 extern "C"
14509 #endif
14510 char ldap_initialize ();
14512 main ()
14514 return ldap_initialize ();
14516 return 0;
14518 _ACEOF
14519 if ac_fn_c_try_link "$LINENO"; then :
14520 ac_cv_lib_ldap_r_ldap_initialize=yes
14521 else
14522 ac_cv_lib_ldap_r_ldap_initialize=no
14524 rm -f core conftest.err conftest.$ac_objext \
14525 conftest$ac_exeext conftest.$ac_ext
14526 LIBS=$ac_check_lib_save_LIBS
14528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
14529 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
14530 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
14531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
14532 $as_echo_n "checking for ber_init in -llber... " >&6; }
14533 if ${ac_cv_lib_lber_ber_init+:} false; then :
14534 $as_echo_n "(cached) " >&6
14535 else
14536 ac_check_lib_save_LIBS=$LIBS
14537 LIBS="-llber $LIBPTHREAD $LIBS"
14538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14539 /* end confdefs.h. */
14541 /* Override any GCC internal prototype to avoid an error.
14542 Use char because int might match the return type of a GCC
14543 builtin and then its argument prototype would still apply. */
14544 #ifdef __cplusplus
14545 extern "C"
14546 #endif
14547 char ber_init ();
14549 main ()
14551 return ber_init ();
14553 return 0;
14555 _ACEOF
14556 if ac_fn_c_try_link "$LINENO"; then :
14557 ac_cv_lib_lber_ber_init=yes
14558 else
14559 ac_cv_lib_lber_ber_init=no
14561 rm -f core conftest.err conftest.$ac_objext \
14562 conftest$ac_exeext conftest.$ac_ext
14563 LIBS=$ac_check_lib_save_LIBS
14565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
14566 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
14567 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
14569 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
14571 LDAPLIBS="-lldap_r -llber"
14578 ac_wine_check_funcs_save_LIBS="$LIBS"
14579 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
14580 for ac_func in \
14581 ldap_count_references \
14582 ldap_first_reference \
14583 ldap_next_reference \
14584 ldap_parse_reference \
14585 ldap_parse_sort_control \
14586 ldap_parse_sortresponse_control \
14587 ldap_parse_vlv_control \
14588 ldap_parse_vlvresponse_control
14589 do :
14590 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14591 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14592 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14593 cat >>confdefs.h <<_ACEOF
14594 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14595 _ACEOF
14598 done
14600 LIBS="$ac_wine_check_funcs_save_LIBS"
14602 if test "x$LDAPLIBS" = "x"; then :
14603 case "x$with_ldap" in
14604 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
14605 xno) ;;
14606 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
14607 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
14608 esac
14611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
14612 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
14613 if ${wine_cv_one_arg_mkdir+:} false; then :
14614 $as_echo_n "(cached) " >&6
14615 else
14616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14617 /* end confdefs.h. */
14618 #include <sys/stat.h>
14620 main ()
14622 mkdir("foo");
14624 return 0;
14626 _ACEOF
14627 if ac_fn_c_try_compile "$LINENO"; then :
14628 wine_cv_one_arg_mkdir=yes
14629 else
14630 wine_cv_one_arg_mkdir=no
14632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
14635 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
14636 if test "$wine_cv_one_arg_mkdir" = "yes"
14637 then
14639 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
14643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
14644 $as_echo_n "checking for sched_setaffinity... " >&6; }
14645 if ${wine_cv_have_sched_setaffinity+:} false; then :
14646 $as_echo_n "(cached) " >&6
14647 else
14648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14649 /* end confdefs.h. */
14650 #define _GNU_SOURCE
14651 #include <sched.h>
14653 main ()
14655 sched_setaffinity(0, 0, 0);
14657 return 0;
14659 _ACEOF
14660 if ac_fn_c_try_link "$LINENO"; then :
14661 wine_cv_have_sched_setaffinity=yes
14662 else
14663 wine_cv_have_sched_setaffinity=no
14665 rm -f core conftest.err conftest.$ac_objext \
14666 conftest$ac_exeext conftest.$ac_ext
14668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
14669 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
14670 if test "$wine_cv_have_sched_setaffinity" = "yes"
14671 then
14673 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
14677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
14678 $as_echo_n "checking for fallocate... " >&6; }
14679 if ${wine_cv_have_fallocate+:} false; then :
14680 $as_echo_n "(cached) " >&6
14681 else
14682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14683 /* end confdefs.h. */
14684 #define _GNU_SOURCE
14685 #include <fcntl.h>
14687 main ()
14689 fallocate(-1, 0, 0, 0);
14691 return 0;
14693 _ACEOF
14694 if ac_fn_c_try_link "$LINENO"; then :
14695 wine_cv_have_fallocate=yes
14696 else
14697 wine_cv_have_fallocate=no
14699 rm -f core conftest.err conftest.$ac_objext \
14700 conftest$ac_exeext conftest.$ac_ext
14702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
14703 $as_echo "$wine_cv_have_fallocate" >&6; }
14704 if test "$wine_cv_have_fallocate" = "yes"
14705 then
14707 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
14712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
14713 $as_echo_n "checking for inline... " >&6; }
14714 if ${ac_cv_c_inline+:} false; then :
14715 $as_echo_n "(cached) " >&6
14716 else
14717 ac_cv_c_inline=no
14718 for ac_kw in inline __inline__ __inline; do
14719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14720 /* end confdefs.h. */
14721 #ifndef __cplusplus
14722 typedef int foo_t;
14723 static $ac_kw foo_t static_foo () {return 0; }
14724 $ac_kw foo_t foo () {return 0; }
14725 #endif
14727 _ACEOF
14728 if ac_fn_c_try_compile "$LINENO"; then :
14729 ac_cv_c_inline=$ac_kw
14731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14732 test "$ac_cv_c_inline" != no && break
14733 done
14736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
14737 $as_echo "$ac_cv_c_inline" >&6; }
14739 case $ac_cv_c_inline in
14740 inline | yes) ;;
14742 case $ac_cv_c_inline in
14743 no) ac_val=;;
14744 *) ac_val=$ac_cv_c_inline;;
14745 esac
14746 cat >>confdefs.h <<_ACEOF
14747 #ifndef __cplusplus
14748 #define inline $ac_val
14749 #endif
14750 _ACEOF
14752 esac
14754 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
14755 if test "x$ac_cv_type_mode_t" = xyes; then :
14757 cat >>confdefs.h <<_ACEOF
14758 #define HAVE_MODE_T 1
14759 _ACEOF
14763 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
14764 if test "x$ac_cv_type_off_t" = xyes; then :
14766 cat >>confdefs.h <<_ACEOF
14767 #define HAVE_OFF_T 1
14768 _ACEOF
14772 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
14773 if test "x$ac_cv_type_pid_t" = xyes; then :
14775 cat >>confdefs.h <<_ACEOF
14776 #define HAVE_PID_T 1
14777 _ACEOF
14781 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
14782 if test "x$ac_cv_type_size_t" = xyes; then :
14784 cat >>confdefs.h <<_ACEOF
14785 #define HAVE_SIZE_T 1
14786 _ACEOF
14790 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
14791 if test "x$ac_cv_type_ssize_t" = xyes; then :
14793 cat >>confdefs.h <<_ACEOF
14794 #define HAVE_SSIZE_T 1
14795 _ACEOF
14799 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
14800 if test "x$ac_cv_type_long_long" = xyes; then :
14802 cat >>confdefs.h <<_ACEOF
14803 #define HAVE_LONG_LONG 1
14804 _ACEOF
14808 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
14809 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
14811 cat >>confdefs.h <<_ACEOF
14812 #define HAVE_FSBLKCNT_T 1
14813 _ACEOF
14817 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
14818 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
14820 cat >>confdefs.h <<_ACEOF
14821 #define HAVE_FSFILCNT_T 1
14822 _ACEOF
14827 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
14828 #include <signal.h>
14830 if test "x$ac_cv_type_sigset_t" = xyes; then :
14832 cat >>confdefs.h <<_ACEOF
14833 #define HAVE_SIGSET_T 1
14834 _ACEOF
14839 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
14841 if test "x$ac_cv_type_request_sense" = xyes; then :
14843 cat >>confdefs.h <<_ACEOF
14844 #define HAVE_REQUEST_SENSE 1
14845 _ACEOF
14851 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
14852 #ifdef HAVE_SYS_SOCKET_H
14853 #include <sys/socket.h>
14854 #endif
14855 #ifdef HAVE_SYS_SOCKETVAR_H
14856 #include <sys/socketvar.h>
14857 #endif
14858 #ifdef HAVE_NET_ROUTE_H
14859 #include <net/route.h>
14860 #endif
14861 #ifdef HAVE_NETINET_IN_H
14862 #include <netinet/in.h>
14863 #endif
14864 #ifdef HAVE_NETINET_IN_SYSTM_H
14865 #include <netinet/in_systm.h>
14866 #endif
14867 #ifdef HAVE_NETINET_IP_H
14868 #include <netinet/ip.h>
14869 #endif
14870 #ifdef HAVE_NETINET_IN_PCB_H
14871 #include <netinet/in_pcb.h>
14872 #endif
14874 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
14876 cat >>confdefs.h <<_ACEOF
14877 #define HAVE_STRUCT_XINPGEN 1
14878 _ACEOF
14884 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
14885 #include <link.h>
14886 #endif
14887 #ifdef HAVE_SYS_LINK_H
14888 #include <sys/link.h>
14889 #endif
14891 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
14893 cat >>confdefs.h <<_ACEOF
14894 #define HAVE_STRUCT_R_DEBUG 1
14895 _ACEOF
14899 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
14900 #include <link.h>
14901 #endif
14902 #ifdef HAVE_SYS_LINK_H
14903 #include <sys/link.h>
14904 #endif
14906 if test "x$ac_cv_type_struct_link_map" = xyes; then :
14908 cat >>confdefs.h <<_ACEOF
14909 #define HAVE_STRUCT_LINK_MAP 1
14910 _ACEOF
14916 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
14917 #include <linux/input.h>
14918 #endif
14920 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
14922 cat >>confdefs.h <<_ACEOF
14923 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
14924 _ACEOF
14930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
14931 $as_echo_n "checking for sigaddset... " >&6; }
14932 if ${wine_cv_have_sigaddset+:} false; then :
14933 $as_echo_n "(cached) " >&6
14934 else
14935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14936 /* end confdefs.h. */
14937 #include <signal.h>
14939 main ()
14941 sigset_t set; sigaddset(&set,SIGTERM);
14943 return 0;
14945 _ACEOF
14946 if ac_fn_c_try_link "$LINENO"; then :
14947 wine_cv_have_sigaddset=yes
14948 else
14949 wine_cv_have_sigaddset=no
14951 rm -f core conftest.err conftest.$ac_objext \
14952 conftest$ac_exeext conftest.$ac_ext
14954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
14955 $as_echo "$wine_cv_have_sigaddset" >&6; }
14956 if test "$wine_cv_have_sigaddset" = "yes"
14957 then
14959 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
14964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
14965 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
14966 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
14967 $as_echo_n "(cached) " >&6
14968 else
14969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14970 /* end confdefs.h. */
14971 #include <netdb.h>
14973 main ()
14976 char *name=0;
14977 struct hostent he;
14978 struct hostent *result;
14979 char *buf=0;
14980 int bufsize=0;
14981 int errnr;
14982 char *addr=0;
14983 int addrlen=0;
14984 int addrtype=0;
14985 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
14986 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
14989 return 0;
14991 _ACEOF
14992 if ac_fn_c_try_link "$LINENO"; then :
14993 wine_cv_linux_gethostbyname_r_6=yes
14994 else
14995 wine_cv_linux_gethostbyname_r_6=no
14998 rm -f core conftest.err conftest.$ac_objext \
14999 conftest$ac_exeext conftest.$ac_ext
15002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15003 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15004 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15005 then
15007 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15011 if test "$ac_cv_header_linux_joystick_h" = "yes"
15012 then
15013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15014 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15015 if ${wine_cv_linux_joystick_22_api+:} false; then :
15016 $as_echo_n "(cached) " >&6
15017 else
15018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15019 /* end confdefs.h. */
15021 #include <sys/ioctl.h>
15022 #include <sys/types.h>
15023 #include <linux/joystick.h>
15025 struct js_event blub;
15026 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15027 #error "no 2.2 header"
15028 #endif
15031 main ()
15033 /*empty*/
15035 return 0;
15037 _ACEOF
15038 if ac_fn_c_try_compile "$LINENO"; then :
15039 wine_cv_linux_joystick_22_api=yes
15040 else
15041 wine_cv_linux_joystick_22_api=no
15043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15047 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15048 if test "$wine_cv_linux_joystick_22_api" = "yes"
15049 then
15051 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15057 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15058 #ifdef HAVE_SYS_PARAM_H
15059 # include <sys/param.h>
15060 #endif
15061 #ifdef HAVE_SYS_MOUNT_H
15062 # include <sys/mount.h>
15063 #endif
15064 #ifdef HAVE_SYS_VFS_H
15065 # include <sys/vfs.h>
15066 #endif
15067 #ifdef HAVE_SYS_STATFS_H
15068 # include <sys/statfs.h>
15069 #endif
15071 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15073 cat >>confdefs.h <<_ACEOF
15074 #define HAVE_STRUCT_STATFS_F_BFREE 1
15075 _ACEOF
15079 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15080 #ifdef HAVE_SYS_PARAM_H
15081 # include <sys/param.h>
15082 #endif
15083 #ifdef HAVE_SYS_MOUNT_H
15084 # include <sys/mount.h>
15085 #endif
15086 #ifdef HAVE_SYS_VFS_H
15087 # include <sys/vfs.h>
15088 #endif
15089 #ifdef HAVE_SYS_STATFS_H
15090 # include <sys/statfs.h>
15091 #endif
15093 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
15095 cat >>confdefs.h <<_ACEOF
15096 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15097 _ACEOF
15101 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15102 #ifdef HAVE_SYS_PARAM_H
15103 # include <sys/param.h>
15104 #endif
15105 #ifdef HAVE_SYS_MOUNT_H
15106 # include <sys/mount.h>
15107 #endif
15108 #ifdef HAVE_SYS_VFS_H
15109 # include <sys/vfs.h>
15110 #endif
15111 #ifdef HAVE_SYS_STATFS_H
15112 # include <sys/statfs.h>
15113 #endif
15115 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
15117 cat >>confdefs.h <<_ACEOF
15118 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15119 _ACEOF
15123 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15124 #ifdef HAVE_SYS_PARAM_H
15125 # include <sys/param.h>
15126 #endif
15127 #ifdef HAVE_SYS_MOUNT_H
15128 # include <sys/mount.h>
15129 #endif
15130 #ifdef HAVE_SYS_VFS_H
15131 # include <sys/vfs.h>
15132 #endif
15133 #ifdef HAVE_SYS_STATFS_H
15134 # include <sys/statfs.h>
15135 #endif
15137 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
15139 cat >>confdefs.h <<_ACEOF
15140 #define HAVE_STRUCT_STATFS_F_FFREE 1
15141 _ACEOF
15145 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15146 #ifdef HAVE_SYS_PARAM_H
15147 # include <sys/param.h>
15148 #endif
15149 #ifdef HAVE_SYS_MOUNT_H
15150 # include <sys/mount.h>
15151 #endif
15152 #ifdef HAVE_SYS_VFS_H
15153 # include <sys/vfs.h>
15154 #endif
15155 #ifdef HAVE_SYS_STATFS_H
15156 # include <sys/statfs.h>
15157 #endif
15159 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
15161 cat >>confdefs.h <<_ACEOF
15162 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15163 _ACEOF
15167 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15168 #ifdef HAVE_SYS_PARAM_H
15169 # include <sys/param.h>
15170 #endif
15171 #ifdef HAVE_SYS_MOUNT_H
15172 # include <sys/mount.h>
15173 #endif
15174 #ifdef HAVE_SYS_VFS_H
15175 # include <sys/vfs.h>
15176 #endif
15177 #ifdef HAVE_SYS_STATFS_H
15178 # include <sys/statfs.h>
15179 #endif
15181 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
15183 cat >>confdefs.h <<_ACEOF
15184 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15185 _ACEOF
15191 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15192 #include <sys/statvfs.h>
15193 #endif
15195 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
15197 cat >>confdefs.h <<_ACEOF
15198 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15199 _ACEOF
15205 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15206 #include <dirent.h>
15207 #endif
15209 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
15211 cat >>confdefs.h <<_ACEOF
15212 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15213 _ACEOF
15219 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15220 #ifdef HAVE_SYS_SOCKET_H
15221 # include <sys/socket.h>
15222 #endif
15223 #ifdef HAVE_SYS_UN_H
15224 # include <sys/un.h>
15225 #endif
15227 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
15229 cat >>confdefs.h <<_ACEOF
15230 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15231 _ACEOF
15235 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15236 #ifdef HAVE_SYS_SOCKET_H
15237 # include <sys/socket.h>
15238 #endif
15239 #ifdef HAVE_SYS_UN_H
15240 # include <sys/un.h>
15241 #endif
15243 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
15245 cat >>confdefs.h <<_ACEOF
15246 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15247 _ACEOF
15251 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15252 #ifdef HAVE_SYS_SOCKET_H
15253 # include <sys/socket.h>
15254 #endif
15255 #ifdef HAVE_SYS_UN_H
15256 # include <sys/un.h>
15257 #endif
15259 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
15261 cat >>confdefs.h <<_ACEOF
15262 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15263 _ACEOF
15269 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15270 #ifdef HAVE_SCSI_SG_H
15271 #include <scsi/sg.h>
15272 #endif
15274 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
15276 cat >>confdefs.h <<_ACEOF
15277 #define HAVE_SCSIREQ_T_CMD 1
15278 _ACEOF
15282 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>
15283 #ifdef HAVE_SCSI_SG_H
15284 #include <scsi/sg.h>
15285 #endif
15287 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
15289 cat >>confdefs.h <<_ACEOF
15290 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15291 _ACEOF
15297 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15299 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
15301 cat >>confdefs.h <<_ACEOF
15302 #define HAVE_SIGINFO_T_SI_FD 1
15303 _ACEOF
15309 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15310 #ifdef HAVE_SYS_MTIO_H
15311 #include <sys/mtio.h>
15312 #endif
15314 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
15316 cat >>confdefs.h <<_ACEOF
15317 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15318 _ACEOF
15322 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15323 #ifdef HAVE_SYS_MTIO_H
15324 #include <sys/mtio.h>
15325 #endif
15327 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
15329 cat >>confdefs.h <<_ACEOF
15330 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15331 _ACEOF
15335 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15336 #ifdef HAVE_SYS_MTIO_H
15337 #include <sys/mtio.h>
15338 #endif
15340 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
15342 cat >>confdefs.h <<_ACEOF
15343 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15344 _ACEOF
15350 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15351 #include <getopt.h>
15352 #endif
15354 if test "x$ac_cv_member_struct_option_name" = xyes; then :
15356 cat >>confdefs.h <<_ACEOF
15357 #define HAVE_STRUCT_OPTION_NAME 1
15358 _ACEOF
15364 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15365 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
15367 cat >>confdefs.h <<_ACEOF
15368 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15369 _ACEOF
15373 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15374 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
15376 cat >>confdefs.h <<_ACEOF
15377 #define HAVE_STRUCT_STAT_ST_MTIM 1
15378 _ACEOF
15382 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15383 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
15385 cat >>confdefs.h <<_ACEOF
15386 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15387 _ACEOF
15391 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15392 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
15394 cat >>confdefs.h <<_ACEOF
15395 #define HAVE_STRUCT_STAT_ST_CTIM 1
15396 _ACEOF
15400 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15401 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
15403 cat >>confdefs.h <<_ACEOF
15404 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15405 _ACEOF
15409 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15410 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
15412 cat >>confdefs.h <<_ACEOF
15413 #define HAVE_STRUCT_STAT_ST_ATIM 1
15414 _ACEOF
15418 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15419 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
15421 cat >>confdefs.h <<_ACEOF
15422 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15423 _ACEOF
15427 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15428 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
15430 cat >>confdefs.h <<_ACEOF
15431 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15432 _ACEOF
15436 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15437 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
15439 cat >>confdefs.h <<_ACEOF
15440 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15441 _ACEOF
15445 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15446 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
15448 cat >>confdefs.h <<_ACEOF
15449 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15450 _ACEOF
15454 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15455 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
15457 cat >>confdefs.h <<_ACEOF
15458 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15459 _ACEOF
15463 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15464 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
15466 cat >>confdefs.h <<_ACEOF
15467 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15468 _ACEOF
15474 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
15475 #include <sys/types.h>
15476 #endif
15477 #ifdef HAVE_NETINET_IN_H
15478 #include <netinet/in.h>
15479 #endif
15481 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
15483 cat >>confdefs.h <<_ACEOF
15484 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
15485 _ACEOF
15491 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
15492 #include <resolv.h>
15493 #endif
15495 if test "x$ac_cv_type_struct___res_state" = xyes; then :
15497 cat >>confdefs.h <<_ACEOF
15498 #define HAVE_STRUCT___RES_STATE 1
15499 _ACEOF
15505 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
15506 #include <resolv.h>
15507 #endif
15509 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
15511 cat >>confdefs.h <<_ACEOF
15512 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
15513 _ACEOF
15519 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
15520 #include <sys/types.h>
15521 #endif
15522 #ifdef HAVE_NETINET_IN_H
15523 # include <netinet/in.h>
15524 #endif
15525 #ifdef HAVE_ARPA_NAMESER_H
15526 # include <arpa/nameser.h>
15527 #endif
15529 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
15531 cat >>confdefs.h <<_ACEOF
15532 #define HAVE_NS_MSG__MSG_PTR 1
15533 _ACEOF
15539 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
15540 #include <sys/types.h>
15541 #endif
15542 #ifdef HAVE_NETINET_IP_H
15543 #include <netinet/ip.h>
15544 #endif
15545 #ifdef HAVE_NETINET_IP_ICMP_H
15546 #include <netinet/ip_icmp.h>
15547 #endif
15548 #ifdef HAVE_NETINET_ICMP_VAR_H
15549 #include <netinet/icmp_var.h>
15550 #endif
15552 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
15554 cat >>confdefs.h <<_ACEOF
15555 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
15556 _ACEOF
15562 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
15563 #include <sys/types.h>
15564 #endif
15565 #ifdef HAVE_ALIAS_H
15566 #include <alias.h>
15567 #endif
15568 #ifdef HAVE_SYS_SOCKET_H
15569 #include <sys/socket.h>
15570 #endif
15571 #ifdef HAVE_SYS_SOCKETVAR_H
15572 #include <sys/socketvar.h>
15573 #endif
15574 #ifdef HAVE_SYS_TIMEOUT_H
15575 #include <sys/timeout.h>
15576 #endif
15577 #ifdef HAVE_NETINET_IN_H
15578 #include <netinet/in.h>
15579 #endif
15580 #ifdef HAVE_NETINET_IN_SYSTM_H
15581 #include <netinet/in_systm.h>
15582 #endif
15583 #ifdef HAVE_NETINET_IP_H
15584 #include <netinet/ip.h>
15585 #endif
15586 #ifdef HAVE_NETINET_IP_VAR_H
15587 #include <netinet/ip_var.h>
15588 #endif
15589 #ifdef HAVE_NETINET_IP_ICMP_H
15590 #include <netinet/ip_icmp.h>
15591 #endif
15592 #ifdef HAVE_NETINET_ICMP_VAR_H
15593 #include <netinet/icmp_var.h>
15594 #endif
15596 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
15598 cat >>confdefs.h <<_ACEOF
15599 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
15600 _ACEOF
15606 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
15607 #include <sys/types.h>
15608 #endif
15609 #ifdef HAVE_SYS_SOCKETVAR_H
15610 #include <sys/socketvar.h>
15611 #endif
15612 #ifdef HAVE_NETINET_IN_H
15613 #include <netinet/in.h>
15614 #endif
15615 #ifdef HAVE_NETINET_IP_VAR_H
15616 #include <netinet/ip_var.h>
15617 #endif
15619 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
15621 cat >>confdefs.h <<_ACEOF
15622 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
15623 _ACEOF
15629 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
15630 #include <netinet/ip_var.h>
15631 #endif
15633 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
15635 cat >>confdefs.h <<_ACEOF
15636 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
15637 _ACEOF
15643 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
15644 #include <sys/types.h>
15645 #endif
15646 #ifdef HAVE_SYS_SOCKETVAR_H
15647 #include <sys/socketvar.h>
15648 #endif
15649 #ifdef HAVE_NETINET_IN_H
15650 #include <netinet/in.h>
15651 #endif
15652 #ifdef HAVE_NETINET_TCP_H
15653 #include <netinet/tcp.h>
15654 #endif
15655 #ifdef HAVE_NETINET_TCP_VAR_H
15656 #include <netinet/tcp_var.h>
15657 #endif
15659 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
15661 cat >>confdefs.h <<_ACEOF
15662 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
15663 _ACEOF
15669 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
15670 #include <netinet/tcp_var.h>
15671 #endif
15673 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
15675 cat >>confdefs.h <<_ACEOF
15676 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
15677 _ACEOF
15683 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
15684 #include <sys/types.h>
15685 #endif
15686 #ifdef HAVE_NETINET_IN_H
15687 #include <netinet/in.h>
15688 #endif
15689 #ifdef HAVE_NETINET_IP_VAR_H
15690 #include <netinet/ip_var.h>
15691 #endif
15692 #ifdef HAVE_NETINET_UDP_H
15693 #include <netinet/udp.h>
15694 #endif
15695 #ifdef HAVE_NETINET_UDP_VAR_H
15696 #include <netinet/udp_var.h>
15697 #endif
15699 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
15701 cat >>confdefs.h <<_ACEOF
15702 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
15703 _ACEOF
15709 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
15710 #include <sys/types.h>
15711 #endif
15712 #ifdef HAVE_NET_IF_H
15713 # include <net/if.h>
15714 #endif
15716 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
15718 cat >>confdefs.h <<_ACEOF
15719 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
15720 _ACEOF
15726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
15727 $as_echo_n "checking for timezone variable... " >&6; }
15728 if ${ac_cv_have_timezone+:} false; then :
15729 $as_echo_n "(cached) " >&6
15730 else
15731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15732 /* end confdefs.h. */
15733 #include <time.h>
15735 main ()
15737 timezone = 1
15739 return 0;
15741 _ACEOF
15742 if ac_fn_c_try_link "$LINENO"; then :
15743 ac_cv_have_timezone="yes"
15744 else
15745 ac_cv_have_timezone="no"
15747 rm -f core conftest.err conftest.$ac_objext \
15748 conftest$ac_exeext conftest.$ac_ext
15750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
15751 $as_echo "$ac_cv_have_timezone" >&6; }
15752 if test "$ac_cv_have_timezone" = "yes"
15753 then
15755 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
15758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
15759 $as_echo_n "checking for daylight variable... " >&6; }
15760 if ${ac_cv_have_daylight+:} false; then :
15761 $as_echo_n "(cached) " >&6
15762 else
15763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15764 /* end confdefs.h. */
15765 #include <time.h>
15767 main ()
15769 daylight = 1
15771 return 0;
15773 _ACEOF
15774 if ac_fn_c_try_link "$LINENO"; then :
15775 ac_cv_have_daylight="yes"
15776 else
15777 ac_cv_have_daylight="no"
15779 rm -f core conftest.err conftest.$ac_objext \
15780 conftest$ac_exeext conftest.$ac_ext
15782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
15783 $as_echo "$ac_cv_have_daylight" >&6; }
15784 if test "$ac_cv_have_daylight" = "yes"
15785 then
15787 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
15791 ac_save_LIBS="$LIBS"
15792 LIBS="$LIBS -lm"
15793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
15794 $as_echo_n "checking for isinf... " >&6; }
15795 if ${ac_cv_have_isinf+:} false; then :
15796 $as_echo_n "(cached) " >&6
15797 else
15798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15799 /* end confdefs.h. */
15800 #include <math.h>
15802 main ()
15804 float f = 0.0; return isinf(f)
15806 return 0;
15808 _ACEOF
15809 if ac_fn_c_try_link "$LINENO"; then :
15810 ac_cv_have_isinf="yes"
15811 else
15812 ac_cv_have_isinf="no"
15814 rm -f core conftest.err conftest.$ac_objext \
15815 conftest$ac_exeext conftest.$ac_ext
15817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
15818 $as_echo "$ac_cv_have_isinf" >&6; }
15819 if test "$ac_cv_have_isinf" = "yes"
15820 then
15822 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
15826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
15827 $as_echo_n "checking for isnan... " >&6; }
15828 if ${ac_cv_have_isnan+:} false; then :
15829 $as_echo_n "(cached) " >&6
15830 else
15831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15832 /* end confdefs.h. */
15833 #include <math.h>
15835 main ()
15837 float f = 0.0; return isnan(f)
15839 return 0;
15841 _ACEOF
15842 if ac_fn_c_try_link "$LINENO"; then :
15843 ac_cv_have_isnan="yes"
15844 else
15845 ac_cv_have_isnan="no"
15847 rm -f core conftest.err conftest.$ac_objext \
15848 conftest$ac_exeext conftest.$ac_ext
15850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
15851 $as_echo "$ac_cv_have_isnan" >&6; }
15852 if test "$ac_cv_have_isnan" = "yes"
15853 then
15855 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
15858 LIBS="$ac_save_LIBS"
15861 case $host_cpu in
15862 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
15863 $as_echo_n "checking whether we need to define __i386__... " >&6; }
15864 if ${ac_cv_cpp_def___i386__+:} false; then :
15865 $as_echo_n "(cached) " >&6
15866 else
15867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15868 /* end confdefs.h. */
15869 #ifndef __i386__
15871 #endif
15872 _ACEOF
15873 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15874 $EGREP "yes" >/dev/null 2>&1; then :
15875 ac_cv_cpp_def___i386__=yes
15876 else
15877 ac_cv_cpp_def___i386__=no
15879 rm -f conftest*
15882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
15883 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
15884 if test $ac_cv_cpp_def___i386__ = yes; then :
15885 CFLAGS="$CFLAGS -D__i386__"
15886 LINTFLAGS="$LINTFLAGS -D__i386__"
15887 fi ;;
15888 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
15889 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
15890 if ${ac_cv_cpp_def___x86_64__+:} false; then :
15891 $as_echo_n "(cached) " >&6
15892 else
15893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15894 /* end confdefs.h. */
15895 #ifndef __x86_64__
15897 #endif
15898 _ACEOF
15899 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15900 $EGREP "yes" >/dev/null 2>&1; then :
15901 ac_cv_cpp_def___x86_64__=yes
15902 else
15903 ac_cv_cpp_def___x86_64__=no
15905 rm -f conftest*
15908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
15909 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
15910 if test $ac_cv_cpp_def___x86_64__ = yes; then :
15911 CFLAGS="$CFLAGS -D__x86_64__"
15912 LINTFLAGS="$LINTFLAGS -D__x86_64__"
15913 fi ;;
15914 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
15915 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
15916 if ${ac_cv_cpp_def___sparc64__+:} false; then :
15917 $as_echo_n "(cached) " >&6
15918 else
15919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15920 /* end confdefs.h. */
15921 #ifndef __sparc64__
15923 #endif
15924 _ACEOF
15925 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15926 $EGREP "yes" >/dev/null 2>&1; then :
15927 ac_cv_cpp_def___sparc64__=yes
15928 else
15929 ac_cv_cpp_def___sparc64__=no
15931 rm -f conftest*
15934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
15935 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
15936 if test $ac_cv_cpp_def___sparc64__ = yes; then :
15937 CFLAGS="$CFLAGS -D__sparc64__"
15938 LINTFLAGS="$LINTFLAGS -D__sparc64__"
15939 fi ;;
15940 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
15941 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
15942 if ${ac_cv_cpp_def___sparc__+:} false; then :
15943 $as_echo_n "(cached) " >&6
15944 else
15945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15946 /* end confdefs.h. */
15947 #ifndef __sparc__
15949 #endif
15950 _ACEOF
15951 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15952 $EGREP "yes" >/dev/null 2>&1; then :
15953 ac_cv_cpp_def___sparc__=yes
15954 else
15955 ac_cv_cpp_def___sparc__=no
15957 rm -f conftest*
15960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
15961 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
15962 if test $ac_cv_cpp_def___sparc__ = yes; then :
15963 CFLAGS="$CFLAGS -D__sparc__"
15964 LINTFLAGS="$LINTFLAGS -D__sparc__"
15965 fi ;;
15966 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
15967 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
15968 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
15969 $as_echo_n "(cached) " >&6
15970 else
15971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15972 /* end confdefs.h. */
15973 #ifndef __powerpc64__
15975 #endif
15976 _ACEOF
15977 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15978 $EGREP "yes" >/dev/null 2>&1; then :
15979 ac_cv_cpp_def___powerpc64__=yes
15980 else
15981 ac_cv_cpp_def___powerpc64__=no
15983 rm -f conftest*
15986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
15987 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
15988 if test $ac_cv_cpp_def___powerpc64__ = yes; then :
15989 CFLAGS="$CFLAGS -D__powerpc64__"
15990 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
15991 fi ;;
15992 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
15993 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
15994 if ${ac_cv_cpp_def___powerpc__+:} false; then :
15995 $as_echo_n "(cached) " >&6
15996 else
15997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15998 /* end confdefs.h. */
15999 #ifndef __powerpc__
16001 #endif
16002 _ACEOF
16003 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16004 $EGREP "yes" >/dev/null 2>&1; then :
16005 ac_cv_cpp_def___powerpc__=yes
16006 else
16007 ac_cv_cpp_def___powerpc__=no
16009 rm -f conftest*
16012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16013 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16014 if test $ac_cv_cpp_def___powerpc__ = yes; then :
16015 CFLAGS="$CFLAGS -D__powerpc__"
16016 LINTFLAGS="$LINTFLAGS -D__powerpc__"
16017 fi ;;
16018 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16019 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16020 if ${ac_cv_cpp_def___aarch64__+:} false; then :
16021 $as_echo_n "(cached) " >&6
16022 else
16023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16024 /* end confdefs.h. */
16025 #ifndef __aarch64__
16027 #endif
16028 _ACEOF
16029 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16030 $EGREP "yes" >/dev/null 2>&1; then :
16031 ac_cv_cpp_def___aarch64__=yes
16032 else
16033 ac_cv_cpp_def___aarch64__=no
16035 rm -f conftest*
16038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16039 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16040 if test $ac_cv_cpp_def___aarch64__ = yes; then :
16041 CFLAGS="$CFLAGS -D__aarch64__"
16042 LINTFLAGS="$LINTFLAGS -D__aarch64__"
16043 fi ;;
16044 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16045 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16046 if ${ac_cv_cpp_def___arm__+:} false; then :
16047 $as_echo_n "(cached) " >&6
16048 else
16049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16050 /* end confdefs.h. */
16051 #ifndef __arm__
16053 #endif
16054 _ACEOF
16055 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16056 $EGREP "yes" >/dev/null 2>&1; then :
16057 ac_cv_cpp_def___arm__=yes
16058 else
16059 ac_cv_cpp_def___arm__=no
16061 rm -f conftest*
16064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16065 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16066 if test $ac_cv_cpp_def___arm__ = yes; then :
16067 CFLAGS="$CFLAGS -D__arm__"
16068 LINTFLAGS="$LINTFLAGS -D__arm__"
16069 fi ;;
16070 esac
16072 case $host_vendor in
16073 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16074 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16075 if ${ac_cv_cpp_def___sun__+:} false; then :
16076 $as_echo_n "(cached) " >&6
16077 else
16078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16079 /* end confdefs.h. */
16080 #ifndef __sun__
16082 #endif
16083 _ACEOF
16084 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16085 $EGREP "yes" >/dev/null 2>&1; then :
16086 ac_cv_cpp_def___sun__=yes
16087 else
16088 ac_cv_cpp_def___sun__=no
16090 rm -f conftest*
16093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16094 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16095 if test $ac_cv_cpp_def___sun__ = yes; then :
16096 CFLAGS="$CFLAGS -D__sun__"
16097 LINTFLAGS="$LINTFLAGS -D__sun__"
16098 fi ;;
16099 esac
16105 ac_config_commands="$ac_config_commands include/stamp-h"
16107 $as_echo_n "creating Makefile rules..." >&6
16109 wine_rules_file=conf$$rules.make
16110 rm -f $wine_rules_file
16111 ALL_POT_FILES=""
16112 ALL_TEST_RESOURCES=""
16115 wine_fn_append_file ()
16117 as_fn_append $1 " \\$as_nl $2"
16120 wine_fn_append_rule ()
16122 $as_echo "$1" >>$wine_rules_file
16125 wine_fn_has_flag ()
16127 expr ",$2," : ".*,$1,.*" >/dev/null
16130 wine_fn_depend_rules ()
16132 ac_dir=$1
16133 ac_alldeps=$2
16134 ac_makedep="\$(MAKEDEP)"
16135 ac_input=Make.vars.in:$ac_dir/Makefile.in
16136 if test $ac_dir != tools
16137 then
16138 ac_alldeps="$2 $ac_makedep"
16139 else
16140 ac_alldeps="$2 include/config.h"
16142 case $2 in
16143 *.in) ac_input=$ac_input:$2 ;;
16144 *) ac_makedep="$2 $ac_makedep" ;;
16145 esac
16147 wine_fn_append_rule \
16148 "$ac_dir/Makefile: $ac_dir/Makefile.in Make.vars.in config.status $ac_alldeps
16149 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend
16150 depend: $ac_dir/depend
16151 .PHONY: $ac_dir/depend
16152 $ac_dir/depend: $ac_makedep dummy
16153 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend"
16156 wine_fn_pot_rules ()
16158 ac_dir=$1
16159 ac_flags=$2
16161 test "x$with_gettextpo" = xyes || return
16163 if wine_fn_has_flag mc $ac_flags
16164 then
16165 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
16166 wine_fn_append_rule \
16167 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
16168 @cd $ac_dir && \$(MAKE) msg.pot
16169 $ac_dir/msg.pot: tools/wmc include"
16171 if wine_fn_has_flag po $ac_flags
16172 then
16173 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
16174 wine_fn_append_rule \
16175 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
16176 @cd $ac_dir && \$(MAKE) rsrc.pot
16177 $ac_dir/rsrc.pot: tools/wrc include"
16181 wine_fn_all_rules ()
16183 ac_dir=$1
16184 ac_rules=$2
16186 wine_fn_depend_rules $ac_dir ${ac_rules:-Make.rules}
16187 wine_fn_append_rule \
16188 "all: $ac_dir
16189 .PHONY: $ac_dir
16190 $ac_dir: $ac_dir/Makefile dummy
16191 @cd $ac_dir && \$(MAKE)"
16194 wine_fn_install_rules ()
16196 ac_dir=$1
16197 ac_flags=$2
16199 wine_fn_has_flag install-lib $ac_flags || wine_fn_has_flag install-dev $ac_flags || return
16201 wine_fn_append_rule \
16202 ".PHONY: $ac_dir/install $ac_dir/uninstall
16203 $ac_dir/install:: $ac_dir
16204 @cd $ac_dir && \$(MAKE) install
16205 $ac_dir/uninstall:: $ac_dir/Makefile
16206 @cd $ac_dir && \$(MAKE) uninstall
16207 install:: $ac_dir/install
16208 __uninstall__: $ac_dir/uninstall"
16210 if wine_fn_has_flag install-lib $ac_flags
16211 then
16212 wine_fn_append_rule \
16213 ".PHONY: $ac_dir/install-lib
16214 $ac_dir/install-lib:: $ac_dir
16215 @cd $ac_dir && \$(MAKE) install-lib
16216 install-lib:: $ac_dir/install-lib"
16219 if wine_fn_has_flag install-dev $ac_flags
16220 then
16221 wine_fn_append_rule \
16222 ".PHONY: $ac_dir/install-dev
16223 $ac_dir/install-dev:: $ac_dir
16224 @cd $ac_dir && \$(MAKE) install-dev
16225 install-dev:: $ac_dir/install-dev"
16229 wine_fn_clean_rules ()
16231 ac_dir=$1
16232 ac_flags=$2
16233 shift; shift
16234 ac_clean=$@
16236 if wine_fn_has_flag clean $ac_flags
16237 then
16238 wine_fn_append_rule \
16239 "__clean__: $ac_dir/clean
16240 .PHONY: $ac_dir/clean
16241 $ac_dir/clean: $ac_dir/Makefile
16242 @cd $ac_dir && \$(MAKE) clean
16243 \$(RM) $ac_dir/Makefile"
16244 else
16245 wine_fn_append_rule \
16246 "clean::
16247 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_dir/Makefile"
16251 wine_fn_disabled_rules ()
16253 ac_dir=$1
16254 shift
16255 ac_clean=$@
16257 wine_fn_append_rule \
16258 "clean::
16259 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_dir/Makefile"
16262 wine_fn_config_makefile ()
16264 ac_dir=$1
16265 ac_enable=$2
16266 ac_flags=$3
16268 if eval test \"x\$"$ac_enable"\" = x"no"; then :
16269 wine_fn_disabled_rules $ac_dir; return
16271 wine_fn_all_rules $ac_dir
16272 wine_fn_install_rules $ac_dir $ac_flags
16273 wine_fn_clean_rules $ac_dir $ac_flags
16276 wine_fn_config_lib ()
16278 ac_name=$1
16279 ac_flags=$2
16280 ac_dir=dlls/$ac_name
16282 wine_fn_all_rules $ac_dir dlls/Makeimplib.rules
16283 wine_fn_clean_rules $ac_dir $ac_flags
16285 wine_fn_append_rule \
16286 ".PHONY: $ac_dir/install $ac_dir/uninstall
16287 $ac_dir/install:: $ac_dir \$(DESTDIR)\$(dlldir)
16288 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
16289 $ac_dir/uninstall::
16290 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
16291 install install-dev:: $ac_dir/install
16292 __uninstall__: $ac_dir/uninstall
16293 __builddeps__: $ac_dir
16294 $ac_dir: tools/widl tools/winebuild tools/winegcc include"
16297 wine_fn_config_dll ()
16299 ac_name=$1
16300 ac_dir=dlls/$ac_name
16301 ac_enable=$2
16302 ac_flags=$3
16303 ac_implib=${4:-$ac_name}
16304 ac_file=$ac_dir/lib$ac_implib
16305 ac_dll=$ac_name
16306 ac_deps="tools/widl tools/winebuild tools/winegcc include"
16307 ac_implibflags=""
16309 case $ac_name in
16310 *16) ac_implibflags=" -m16" ;;
16311 *.*) ;;
16312 *) ac_dll=$ac_dll.dll ;;
16313 esac
16315 ac_clean=
16316 wine_fn_has_flag implib $ac_flags && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
16317 wine_fn_has_flag mc $ac_flags && ac_clean="$ac_clean $ac_dir/msg.pot"
16318 wine_fn_has_flag po $ac_flags && ac_clean="$ac_clean $ac_dir/rsrc.pot"
16320 if eval test \"x\$"$ac_enable"\" = x"no"; then :
16321 if wine_fn_has_flag implib $ac_flags && test "$ac_enable" != enable_win16
16322 then
16323 wine_fn_depend_rules $ac_dir dlls/Makedll.rules
16324 wine_fn_clean_rules $ac_dir "$ac_flags" $ac_clean
16325 else
16326 wine_fn_disabled_rules $ac_dir $ac_clean
16327 return
16329 else
16330 wine_fn_all_rules $ac_dir dlls/Makedll.rules
16331 wine_fn_clean_rules $ac_dir "$ac_flags" $ac_clean
16332 wine_fn_append_rule \
16333 "$ac_dir: __builddeps__
16334 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
16335 @cd $ac_dir && \$(MAKE) \$@
16336 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
16337 install install-lib:: $ac_dir/install-lib
16338 __uninstall__: $ac_dir/uninstall"
16339 if test -n "$DLLEXT"
16340 then
16341 wine_fn_append_rule \
16342 "$ac_dir/install-lib:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
16343 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
16344 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
16345 $ac_dir/uninstall::
16346 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
16347 else
16348 wine_fn_append_rule \
16349 "$ac_dir/install-lib:: $ac_dir \$(DESTDIR)\$(dlldir)
16350 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
16351 $ac_dir/uninstall::
16352 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
16355 wine_fn_pot_rules $ac_dir $ac_flags
16358 if wine_fn_has_flag staticimplib $ac_flags
16359 then
16360 wine_fn_append_rule \
16361 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
16362 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
16363 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile
16364 @cd $ac_dir && \$(MAKE) lib$ac_implib.def
16365 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
16366 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
16367 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
16368 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
16369 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
16370 $ac_dir/uninstall::
16371 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
16372 install install-dev:: $ac_dir/install-dev
16373 __uninstall__: $ac_dir/uninstall"
16375 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
16376 then
16377 wine_fn_append_rule \
16378 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir) __builddeps__
16379 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
16380 $ac_dir/uninstall::
16381 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
16384 if test "x$CROSSTEST_DISABLE" = x
16385 then
16386 wine_fn_append_rule \
16387 "__builddeps__: $ac_file.cross.a
16388 $ac_file.cross.a: $ac_dir/Makefile dummy
16389 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
16392 elif wine_fn_has_flag implib $ac_flags
16393 then
16394 wine_fn_append_rule \
16395 "__builddeps__: $ac_file.$IMPLIBEXT
16396 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
16397 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
16398 $ac_file.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
16399 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
16400 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
16401 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
16402 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
16403 $ac_dir/uninstall::
16404 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
16405 install install-dev:: $ac_dir/install-dev
16406 __uninstall__: $ac_dir/uninstall"
16407 if test "x$CROSSTEST_DISABLE" = x
16408 then
16409 wine_fn_append_rule \
16410 "__builddeps__: $ac_file.cross.a
16411 $ac_file.cross.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
16412 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec"
16415 if test "$ac_name" != "$ac_implib"
16416 then
16417 wine_fn_append_rule \
16418 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
16419 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
16420 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
16421 clean::
16422 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
16423 if test "x$CROSSTEST_DISABLE" = x
16424 then
16425 wine_fn_append_rule \
16426 "__builddeps__: dlls/lib$ac_implib.cross.a
16427 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
16428 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@"
16434 wine_fn_config_program ()
16436 ac_name=$1
16437 ac_dir=programs/$ac_name
16438 ac_enable=$2
16439 ac_flags=$3
16440 ac_program=$ac_name
16442 case $ac_name in
16443 *.*) ;;
16444 *) ac_program=$ac_program.exe ;;
16445 esac
16447 ac_clean=
16448 wine_fn_has_flag mc $ac_flags && ac_clean="$ac_clean $ac_dir/msg.pot"
16449 wine_fn_has_flag po $ac_flags && ac_clean="$ac_clean $ac_dir/rsrc.pot"
16450 wine_fn_has_flag manpage $ac_flags && ac_clean="$ac_clean $ac_dir/$ac_name.man"
16451 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
16453 if eval test \"x\$"$ac_enable"\" = x"no"; then :
16454 wine_fn_disabled_rules $ac_dir $ac_clean; return
16457 wine_fn_all_rules $ac_dir programs/Makeprog.rules
16458 wine_fn_clean_rules $ac_dir "$ac_flags" $ac_clean
16459 wine_fn_append_rule "$ac_dir: __builddeps__"
16460 wine_fn_pot_rules $ac_dir $ac_flags
16462 wine_fn_has_flag install $ac_flags || return
16463 wine_fn_append_rule \
16464 ".PHONY: $ac_dir/install $ac_dir/uninstall
16465 install install-lib:: $ac_dir/install
16466 __uninstall__: $ac_dir/uninstall"
16468 if test -n "$DLLEXT"
16469 then
16470 wine_fn_append_rule \
16471 "$ac_dir/install:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
16472 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
16473 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
16474 $ac_dir/uninstall::
16475 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
16477 if test -z "$with_wine64" && wine_fn_has_flag installbin $ac_flags
16478 then
16479 wine_fn_append_rule \
16480 "$ac_dir/install:: __tooldeps__ \$(DESTDIR)\$(bindir)
16481 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
16482 $ac_dir/uninstall::
16483 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
16485 else
16486 wine_fn_append_rule \
16487 "$ac_dir/install:: $ac_dir \$(DESTDIR)\$(bindir)
16488 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
16489 $ac_dir/uninstall::
16490 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
16493 if test -z "$with_wine64" && wine_fn_has_flag manpage $ac_flags
16494 then
16495 wine_fn_append_rule \
16496 "$ac_dir/install:: $ac_dir \$(DESTDIR)\$(mandir)/man\$(prog_manext)
16497 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
16498 $ac_dir/uninstall::
16499 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
16503 wine_fn_config_test ()
16505 ac_dir=$1
16506 ac_name=$2
16507 ac_flags=$3
16509 ac_clean=
16510 test "x$CROSSTEST_DISABLE" = x && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
16511 test -n "$DLLEXT" || ac_clean=$ac_dir/${ac_name}.exe
16512 ac_clean="$ac_clean $ac_dir/testlist.c"
16514 if test "x$enable_tests" = xno; then :
16515 wine_fn_disabled_rules $ac_dir $ac_clean; return
16518 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
16519 wine_fn_all_rules $ac_dir Maketest.rules
16520 wine_fn_clean_rules $ac_dir "$ac_flags" $ac_clean
16522 wine_fn_append_rule \
16523 "$ac_dir: programs/winetest/Makefile __builddeps__
16524 programs/winetest: $ac_dir
16525 check test: $ac_dir/test
16526 .PHONY: $ac_dir/test
16527 $ac_dir/test: dummy
16528 @cd $ac_dir && \$(MAKE) test
16529 testclean::
16530 \$(RM) $ac_dir/*.ok"
16532 if test "x$CROSSTEST_DISABLE" = x
16533 then
16534 wine_fn_append_rule \
16535 "crosstest: $ac_dir/crosstest
16536 .PHONY: $ac_dir/crosstest
16537 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
16538 @cd $ac_dir && \$(MAKE) crosstest"
16542 wine_fn_config_tool ()
16544 ac_dir=$1
16545 ac_flags=$2
16546 if test "x$enable_tools" = xno; then :
16547 return
16550 wine_fn_all_rules $ac_dir
16551 wine_fn_install_rules $ac_dir $ac_flags
16552 wine_fn_clean_rules $ac_dir $ac_flags
16554 wine_fn_append_rule "__tooldeps__: $ac_dir"
16555 wine_fn_append_rule "$ac_dir: libs/port"
16556 case $ac_dir in
16557 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
16558 esac
16561 wine_fn_config_makerules ()
16563 ac_rules=$1
16564 ac_deps=$2
16565 wine_fn_append_rule \
16566 "$ac_rules: $ac_rules.in $ac_deps config.status
16567 @./config.status $ac_rules
16568 distclean::
16569 \$(RM) $ac_rules"
16572 wine_fn_config_symlink ()
16574 ac_linkdir=
16575 if test "x$1" = "x-d"
16576 then
16577 ac_linkdir=$2
16578 shift; shift
16580 ac_links=$@
16581 wine_fn_append_rule \
16582 "$ac_links:
16583 @./config.status \$@
16584 distclean::
16585 \$(RM) $ac_links"
16586 test -n "$ac_linkdir" || return
16587 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
16590 if test "x$CROSSTEST_DISABLE" != x
16591 then
16592 wine_fn_append_rule \
16593 "crosstest:
16594 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16596 wine_fn_append_rule "
16597 # Rules automatically generated by configure
16599 .INIT: Makefile
16600 .MAKEFILEDEPS:
16601 all: Makefile
16602 Makefile: Makefile.in Make.vars.in Make.rules config.status
16603 @./config.status Make.tmp Makefile"
16605 ac_config_links="$ac_config_links dlls/shell32/AUTHORS:AUTHORS"
16606 wine_fn_config_symlink -d dlls/shell32 dlls/shell32/AUTHORS
16607 if test "x$enable_fonts" != xno; then
16608 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16609 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16610 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16611 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16612 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf
16614 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16615 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
16616 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
16617 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
16618 ac_config_links="$ac_config_links wine:tools/winewrapper"
16619 wine_fn_config_symlink wine
16620 if test "x$enable_win64" != xno; then
16621 ac_config_links="$ac_config_links wine64:tools/winewrapper"
16622 wine_fn_config_symlink wine64
16625 ac_config_commands="$ac_config_commands dlls/gdi32/dibdrv"
16626 wine_fn_append_rule \
16627 "clean::
16628 \$(RM) \$(CLEAN_FILES:%=dlls/gdi32/dibdrv/%)"
16629 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
16630 wine_fn_append_rule \
16631 "clean::
16632 \$(RM) \$(CLEAN_FILES:%=dlls/gdi32/enhmfdrv/%)"
16633 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
16634 wine_fn_append_rule \
16635 "clean::
16636 \$(RM) \$(CLEAN_FILES:%=dlls/gdi32/mfdrv/%)"
16637 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
16638 wine_fn_append_rule \
16639 "clean::
16640 \$(RM) \$(CLEAN_FILES:%=dlls/kernel32/nls/%)"
16641 ac_config_commands="$ac_config_commands dlls/user32/resources"
16642 wine_fn_append_rule \
16643 "clean::
16644 \$(RM) \$(CLEAN_FILES:%=dlls/user32/resources/%)"
16645 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
16646 wine_fn_append_rule \
16647 "clean::
16648 \$(RM) \$(CLEAN_FILES:%=dlls/wineps.drv/data/%)"
16649 ac_config_commands="$ac_config_commands include/wine"
16650 wine_fn_append_rule \
16651 "clean::
16652 \$(RM) \$(CLEAN_FILES:%=include/wine/%)"
16654 wine_fn_config_makerules Make.rules
16655 MAKE_RULES=Make.rules
16656 ac_config_files="$ac_config_files Make.rules"
16658 wine_fn_config_makerules Maketest.rules Make.rules
16659 MAKE_TEST_RULES=Maketest.rules
16660 ac_config_files="$ac_config_files Maketest.rules"
16662 wine_fn_config_makerules dlls/Makedll.rules Make.rules
16663 MAKE_DLL_RULES=dlls/Makedll.rules
16664 ac_config_files="$ac_config_files dlls/Makedll.rules"
16666 wine_fn_config_makerules dlls/Makeimplib.rules Make.rules
16667 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
16668 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
16670 wine_fn_config_makerules programs/Makeprog.rules Make.rules
16671 MAKE_PROG_RULES=programs/Makeprog.rules
16672 ac_config_files="$ac_config_files programs/Makeprog.rules"
16675 wine_fn_config_dll acledit enable_acledit
16676 wine_fn_config_dll aclui enable_aclui implib
16677 wine_fn_config_dll activeds enable_activeds implib
16678 wine_fn_config_dll actxprxy enable_actxprxy clean
16679 wine_fn_config_lib adsiid
16680 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
16681 wine_fn_config_test dlls/advapi32/tests advapi32_test
16682 wine_fn_config_dll advpack enable_advpack implib
16683 wine_fn_config_test dlls/advpack/tests advpack_test
16684 wine_fn_config_dll amstream enable_amstream clean
16685 wine_fn_config_test dlls/amstream/tests amstream_test
16686 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16687 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16688 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16689 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16690 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16691 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16692 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16693 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16694 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16695 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16696 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16697 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16698 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16699 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16700 wine_fn_config_dll apphelp enable_apphelp
16701 wine_fn_config_test dlls/apphelp/tests apphelp_test
16702 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16703 wine_fn_config_dll atl enable_atl clean,implib
16704 wine_fn_config_test dlls/atl/tests atl_test
16705 wine_fn_config_dll atl100 enable_atl100 implib
16706 wine_fn_config_test dlls/atl100/tests atl100_test
16707 wine_fn_config_dll atl110 enable_atl110
16708 wine_fn_config_dll atl80 enable_atl80 implib
16709 wine_fn_config_test dlls/atl80/tests atl80_test
16710 wine_fn_config_dll authz enable_authz
16711 wine_fn_config_dll avicap32 enable_avicap32 implib
16712 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
16713 wine_fn_config_test dlls/avifil32/tests avifil32_test
16714 wine_fn_config_dll avifile.dll16 enable_win16
16715 wine_fn_config_dll avrt enable_avrt implib
16716 wine_fn_config_dll bcrypt enable_bcrypt
16717 wine_fn_config_dll browseui enable_browseui clean,po
16718 wine_fn_config_test dlls/browseui/tests browseui_test
16719 wine_fn_config_dll cabinet enable_cabinet implib
16720 wine_fn_config_test dlls/cabinet/tests cabinet_test
16721 wine_fn_config_dll capi2032 enable_capi2032 implib
16722 wine_fn_config_dll cards enable_cards implib
16723 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16724 wine_fn_config_dll clusapi enable_clusapi implib
16725 wine_fn_config_dll comcat enable_comcat
16726 wine_fn_config_test dlls/comcat/tests comcat_test
16727 wine_fn_config_dll comctl32 enable_comctl32 implib,po
16728 wine_fn_config_test dlls/comctl32/tests comctl32_test
16729 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
16730 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
16731 wine_fn_config_dll comm.drv16 enable_win16
16732 wine_fn_config_dll commdlg.dll16 enable_win16
16733 wine_fn_config_dll compobj.dll16 enable_win16
16734 wine_fn_config_dll compstui enable_compstui implib
16735 wine_fn_config_dll comsvcs enable_comsvcs implib
16736 wine_fn_config_dll credui enable_credui implib,po
16737 wine_fn_config_test dlls/credui/tests credui_test
16738 wine_fn_config_dll crtdll enable_crtdll implib
16739 wine_fn_config_dll crypt32 enable_crypt32 implib,po
16740 wine_fn_config_test dlls/crypt32/tests crypt32_test
16741 wine_fn_config_dll cryptdlg enable_cryptdlg po
16742 wine_fn_config_dll cryptdll enable_cryptdll implib
16743 wine_fn_config_dll cryptnet enable_cryptnet implib
16744 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
16745 wine_fn_config_dll cryptui enable_cryptui implib,po
16746 wine_fn_config_test dlls/cryptui/tests cryptui_test
16747 wine_fn_config_dll ctapi32 enable_ctapi32
16748 wine_fn_config_dll ctl3d.dll16 enable_win16
16749 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16750 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16751 wine_fn_config_dll d3d10 enable_d3d10 implib
16752 wine_fn_config_test dlls/d3d10/tests d3d10_test
16753 wine_fn_config_dll d3d10core enable_d3d10core implib
16754 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
16755 wine_fn_config_dll d3d11 enable_d3d11
16756 wine_fn_config_dll d3d8 enable_d3d8 implib
16757 wine_fn_config_test dlls/d3d8/tests d3d8_test
16758 wine_fn_config_dll d3d9 enable_d3d9 implib
16759 wine_fn_config_test dlls/d3d9/tests d3d9_test
16760 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16761 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16762 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16763 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16764 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16765 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16766 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16767 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16768 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16769 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16770 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16771 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
16772 wine_fn_config_dll d3dim enable_d3dim implib
16773 wine_fn_config_dll d3drm enable_d3drm implib
16774 wine_fn_config_test dlls/d3drm/tests d3drm_test
16775 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16776 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16777 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16778 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16779 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16780 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16781 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16782 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16783 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16784 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16785 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16786 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16787 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16788 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16789 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16790 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16791 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16792 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16793 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16794 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16795 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16796 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16797 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16798 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16799 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16800 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16801 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
16802 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16803 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16804 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16805 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16806 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16807 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16808 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16809 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
16810 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
16811 wine_fn_config_dll dbgeng enable_dbgeng implib
16812 wine_fn_config_dll dbghelp enable_dbghelp implib
16813 wine_fn_config_dll dciman32 enable_dciman32 implib
16814 wine_fn_config_dll ddeml.dll16 enable_win16
16815 wine_fn_config_dll ddraw enable_ddraw clean,implib
16816 wine_fn_config_test dlls/ddraw/tests ddraw_test
16817 wine_fn_config_dll ddrawex enable_ddrawex clean
16818 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
16819 wine_fn_config_dll devenum enable_devenum clean,po
16820 wine_fn_config_test dlls/devenum/tests devenum_test
16821 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16822 wine_fn_config_dll difxapi enable_difxapi
16823 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
16824 wine_fn_config_test dlls/dinput/tests dinput_test
16825 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
16826 wine_fn_config_test dlls/dinput8/tests dinput8_test
16827 wine_fn_config_dll dispdib.dll16 enable_win16
16828 wine_fn_config_dll dispex enable_dispex clean
16829 wine_fn_config_test dlls/dispex/tests dispex_test
16830 wine_fn_config_dll display.drv16 enable_win16
16831 wine_fn_config_dll dmband enable_dmband clean
16832 wine_fn_config_test dlls/dmband/tests dmband_test
16833 wine_fn_config_dll dmcompos enable_dmcompos clean
16834 wine_fn_config_dll dmime enable_dmime clean
16835 wine_fn_config_test dlls/dmime/tests dmime_test
16836 wine_fn_config_dll dmloader enable_dmloader clean
16837 wine_fn_config_test dlls/dmloader/tests dmloader_test
16838 wine_fn_config_dll dmscript enable_dmscript clean
16839 wine_fn_config_dll dmstyle enable_dmstyle clean
16840 wine_fn_config_dll dmsynth enable_dmsynth clean
16841 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
16842 wine_fn_config_dll dmusic enable_dmusic clean
16843 wine_fn_config_test dlls/dmusic/tests dmusic_test
16844 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16845 wine_fn_config_dll dnsapi enable_dnsapi implib
16846 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
16847 wine_fn_config_dll dplay enable_dplay implib
16848 wine_fn_config_dll dplayx enable_dplayx clean,implib
16849 wine_fn_config_test dlls/dplayx/tests dplayx_test
16850 wine_fn_config_dll dpnaddr enable_dpnaddr
16851 wine_fn_config_dll dpnet enable_dpnet clean,implib
16852 wine_fn_config_test dlls/dpnet/tests dpnet_test
16853 wine_fn_config_dll dpnhpast enable_dpnhpast
16854 wine_fn_config_dll dpnlobby enable_dpnlobby
16855 wine_fn_config_dll dpwsockx enable_dpwsockx
16856 wine_fn_config_dll drmclien enable_drmclien
16857 wine_fn_config_dll dsound enable_dsound clean,implib
16858 wine_fn_config_test dlls/dsound/tests dsound_test
16859 wine_fn_config_dll dssenh enable_dssenh
16860 wine_fn_config_test dlls/dssenh/tests dssenh_test
16861 wine_fn_config_dll dswave enable_dswave clean
16862 wine_fn_config_dll dwmapi enable_dwmapi implib
16863 wine_fn_config_dll dwrite enable_dwrite implib
16864 wine_fn_config_test dlls/dwrite/tests dwrite_test
16865 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
16866 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
16867 wine_fn_config_lib dxerr8
16868 wine_fn_config_lib dxerr9
16869 wine_fn_config_dll dxgi enable_dxgi implib
16870 wine_fn_config_test dlls/dxgi/tests dxgi_test
16871 wine_fn_config_lib dxguid
16872 wine_fn_config_dll explorerframe enable_explorerframe clean
16873 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
16874 wine_fn_config_dll faultrep enable_faultrep implib
16875 wine_fn_config_test dlls/faultrep/tests faultrep_test
16876 wine_fn_config_dll fltlib enable_fltlib
16877 wine_fn_config_dll fusion enable_fusion
16878 wine_fn_config_test dlls/fusion/tests fusion_test
16879 wine_fn_config_dll fwpuclnt enable_fwpuclnt
16880 wine_fn_config_dll gameux enable_gameux clean
16881 wine_fn_config_test dlls/gameux/tests gameux_test
16882 wine_fn_config_dll gdi.exe16 enable_win16
16883 wine_fn_config_dll gdi32 enable_gdi32 implib,po
16884 wine_fn_config_test dlls/gdi32/tests gdi32_test
16885 wine_fn_config_dll gdiplus enable_gdiplus implib
16886 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
16887 wine_fn_config_dll glu32 enable_glu32 implib
16888 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
16889 wine_fn_config_dll gpkcsp enable_gpkcsp
16890 wine_fn_config_dll hal enable_hal
16891 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
16892 wine_fn_config_dll hid enable_hid implib
16893 wine_fn_config_dll hlink enable_hlink clean,implib
16894 wine_fn_config_test dlls/hlink/tests hlink_test
16895 wine_fn_config_dll hnetcfg enable_hnetcfg clean
16896 wine_fn_config_dll httpapi enable_httpapi
16897 wine_fn_config_dll iccvid enable_iccvid po
16898 wine_fn_config_dll icmp enable_icmp
16899 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
16900 wine_fn_config_test dlls/ieframe/tests ieframe_test
16901 wine_fn_config_dll ifsmgr.vxd enable_win16
16902 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
16903 wine_fn_config_dll imagehlp enable_imagehlp implib
16904 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
16905 wine_fn_config_dll imm.dll16 enable_win16
16906 wine_fn_config_dll imm32 enable_imm32 implib
16907 wine_fn_config_test dlls/imm32/tests imm32_test
16908 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
16909 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
16910 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
16911 wine_fn_config_dll inetmib1 enable_inetmib1
16912 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
16913 wine_fn_config_dll infosoft enable_infosoft clean
16914 wine_fn_config_test dlls/infosoft/tests infosoft_test
16915 wine_fn_config_dll initpki enable_initpki
16916 wine_fn_config_dll inkobj enable_inkobj
16917 wine_fn_config_dll inseng enable_inseng clean
16918 wine_fn_config_dll iphlpapi enable_iphlpapi implib
16919 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
16920 wine_fn_config_dll itircl enable_itircl
16921 wine_fn_config_dll itss enable_itss clean
16922 wine_fn_config_test dlls/itss/tests itss_test
16923 wine_fn_config_dll joy.cpl enable_joy_cpl po
16924 wine_fn_config_dll jscript enable_jscript clean,po
16925 wine_fn_config_test dlls/jscript/tests jscript_test
16926 wine_fn_config_dll kernel32 enable_kernel32 implib,mc
16927 wine_fn_config_test dlls/kernel32/tests kernel32_test
16928 wine_fn_config_dll keyboard.drv16 enable_win16
16929 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
16930 wine_fn_config_dll ktmw32 enable_ktmw32
16931 wine_fn_config_dll loadperf enable_loadperf implib
16932 wine_fn_config_dll localspl enable_localspl po
16933 wine_fn_config_test dlls/localspl/tests localspl_test
16934 wine_fn_config_dll localui enable_localui po
16935 wine_fn_config_test dlls/localui/tests localui_test
16936 wine_fn_config_dll lz32 enable_lz32 implib
16937 wine_fn_config_test dlls/lz32/tests lz32_test
16938 wine_fn_config_dll lzexpand.dll16 enable_win16
16939 wine_fn_config_dll mapi32 enable_mapi32 implib,po
16940 wine_fn_config_test dlls/mapi32/tests mapi32_test
16941 wine_fn_config_dll mapistub enable_mapistub
16942 wine_fn_config_dll mciavi32 enable_mciavi32
16943 wine_fn_config_dll mcicda enable_mcicda
16944 wine_fn_config_dll mciqtz32 enable_mciqtz32
16945 wine_fn_config_dll mciseq enable_mciseq
16946 wine_fn_config_dll mciwave enable_mciwave
16947 wine_fn_config_dll mgmtapi enable_mgmtapi
16948 wine_fn_config_dll midimap enable_midimap
16949 wine_fn_config_dll mlang enable_mlang clean,implib
16950 wine_fn_config_test dlls/mlang/tests mlang_test
16951 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
16952 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
16953 wine_fn_config_dll mmdevapi enable_mmdevapi clean
16954 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
16955 wine_fn_config_dll mmdevldr.vxd enable_win16
16956 wine_fn_config_dll mmsystem.dll16 enable_win16
16957 wine_fn_config_dll monodebg.vxd enable_win16
16958 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
16959 wine_fn_config_dll mouse.drv16 enable_win16
16960 wine_fn_config_dll mpr enable_mpr implib,po
16961 wine_fn_config_test dlls/mpr/tests mpr_test
16962 wine_fn_config_dll mprapi enable_mprapi implib
16963 wine_fn_config_dll msacm.dll16 enable_win16
16964 wine_fn_config_dll msacm32.drv enable_msacm32_drv
16965 wine_fn_config_dll msacm32 enable_msacm32 implib,po
16966 wine_fn_config_test dlls/msacm32/tests msacm32_test
16967 wine_fn_config_dll msadp32.acm enable_msadp32_acm
16968 wine_fn_config_dll mscat32 enable_mscat32
16969 wine_fn_config_dll mscms enable_mscms implib
16970 wine_fn_config_test dlls/mscms/tests mscms_test
16971 wine_fn_config_dll mscoree enable_mscoree clean
16972 wine_fn_config_test dlls/mscoree/tests mscoree_test
16973 wine_fn_config_dll msctf enable_msctf clean
16974 wine_fn_config_test dlls/msctf/tests msctf_test
16975 wine_fn_config_dll msdaps enable_msdaps clean
16976 wine_fn_config_dll msdmo enable_msdmo implib
16977 wine_fn_config_dll msftedit enable_msftedit
16978 wine_fn_config_dll msg711.acm enable_msg711_acm
16979 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
16980 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
16981 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
16982 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
16983 wine_fn_config_dll msi enable_msi clean,implib,po
16984 wine_fn_config_test dlls/msi/tests msi_test
16985 wine_fn_config_dll msident enable_msident clean
16986 wine_fn_config_dll msimg32 enable_msimg32 implib
16987 wine_fn_config_dll msimsg enable_msimsg
16988 wine_fn_config_dll msimtf enable_msimtf clean
16989 wine_fn_config_dll msisip enable_msisip
16990 wine_fn_config_dll msisys.ocx enable_msisys_ocx
16991 wine_fn_config_dll msls31 enable_msls31
16992 wine_fn_config_dll msnet32 enable_msnet32
16993 wine_fn_config_dll mspatcha enable_mspatcha
16994 wine_fn_config_dll msrle32 enable_msrle32 po
16995 wine_fn_config_dll mssign32 enable_mssign32
16996 wine_fn_config_dll mssip32 enable_mssip32
16997 wine_fn_config_dll mstask enable_mstask clean
16998 wine_fn_config_test dlls/mstask/tests mstask_test
16999 wine_fn_config_dll msvcirt enable_msvcirt
17000 wine_fn_config_dll msvcm80 enable_msvcm80
17001 wine_fn_config_dll msvcm90 enable_msvcm90
17002 wine_fn_config_dll msvcp100 enable_msvcp100
17003 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17004 wine_fn_config_dll msvcp110 enable_msvcp110
17005 wine_fn_config_dll msvcp60 enable_msvcp60
17006 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17007 wine_fn_config_dll msvcp70 enable_msvcp70
17008 wine_fn_config_dll msvcp71 enable_msvcp71
17009 wine_fn_config_dll msvcp80 enable_msvcp80
17010 wine_fn_config_dll msvcp90 enable_msvcp90
17011 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17012 wine_fn_config_dll msvcr100 enable_msvcr100
17013 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17014 wine_fn_config_dll msvcr110 enable_msvcr110
17015 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17016 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17017 wine_fn_config_dll msvcr80 enable_msvcr80
17018 wine_fn_config_dll msvcr90 enable_msvcr90
17019 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17020 wine_fn_config_dll msvcrt enable_msvcrt implib
17021 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17022 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17023 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17024 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17025 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17026 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17027 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17028 wine_fn_config_dll msvidc32 enable_msvidc32 po
17029 wine_fn_config_dll msvideo.dll16 enable_win16
17030 wine_fn_config_dll mswsock enable_mswsock implib
17031 wine_fn_config_dll msxml enable_msxml clean
17032 wine_fn_config_dll msxml2 enable_msxml2 clean
17033 wine_fn_config_dll msxml3 enable_msxml3 clean
17034 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17035 wine_fn_config_dll msxml4 enable_msxml4 clean
17036 wine_fn_config_dll msxml6 enable_msxml6 clean
17037 wine_fn_config_dll nddeapi enable_nddeapi implib
17038 wine_fn_config_dll netapi32 enable_netapi32 implib
17039 wine_fn_config_test dlls/netapi32/tests netapi32_test
17040 wine_fn_config_dll netcfgx enable_netcfgx
17041 wine_fn_config_dll newdev enable_newdev implib
17042 wine_fn_config_dll normaliz enable_normaliz implib
17043 wine_fn_config_dll npmshtml enable_npmshtml
17044 wine_fn_config_dll ntdll enable_ntdll implib
17045 wine_fn_config_test dlls/ntdll/tests ntdll_test
17046 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17047 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17048 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17049 wine_fn_config_dll ntprint enable_ntprint
17050 wine_fn_config_test dlls/ntprint/tests ntprint_test
17051 wine_fn_config_dll objsel enable_objsel clean
17052 wine_fn_config_dll odbc32 enable_odbc32 implib
17053 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17054 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17055 wine_fn_config_dll odbccu32 enable_odbccu32
17056 wine_fn_config_dll ole2.dll16 enable_win16
17057 wine_fn_config_dll ole2conv.dll16 enable_win16
17058 wine_fn_config_dll ole2disp.dll16 enable_win16
17059 wine_fn_config_dll ole2nls.dll16 enable_win16
17060 wine_fn_config_dll ole2prox.dll16 enable_win16
17061 wine_fn_config_dll ole2thk.dll16 enable_win16
17062 wine_fn_config_dll ole32 enable_ole32 clean,implib
17063 wine_fn_config_test dlls/ole32/tests ole32_test
17064 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17065 wine_fn_config_test dlls/oleacc/tests oleacc_test
17066 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17067 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17068 wine_fn_config_dll olecli.dll16 enable_win16
17069 wine_fn_config_dll olecli32 enable_olecli32 implib
17070 wine_fn_config_dll oledb32 enable_oledb32 clean
17071 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17072 wine_fn_config_dll oledlg enable_oledlg implib,po
17073 wine_fn_config_dll olepro32 enable_olepro32 implib
17074 wine_fn_config_dll olesvr.dll16 enable_win16
17075 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17076 wine_fn_config_dll olethk32 enable_olethk32
17077 wine_fn_config_dll openal32 enable_openal32
17078 wine_fn_config_dll opencl enable_opencl
17079 wine_fn_config_dll opengl32 enable_opengl32 implib
17080 wine_fn_config_test dlls/opengl32/tests opengl32_test
17081 wine_fn_config_dll pdh enable_pdh implib
17082 wine_fn_config_test dlls/pdh/tests pdh_test
17083 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17084 wine_fn_config_dll pidgen enable_pidgen
17085 wine_fn_config_dll powrprof enable_powrprof implib
17086 wine_fn_config_dll printui enable_printui
17087 wine_fn_config_dll propsys enable_propsys clean,implib
17088 wine_fn_config_test dlls/propsys/tests propsys_test
17089 wine_fn_config_dll psapi enable_psapi implib
17090 wine_fn_config_test dlls/psapi/tests psapi_test
17091 wine_fn_config_dll pstorec enable_pstorec clean
17092 wine_fn_config_dll qcap enable_qcap
17093 wine_fn_config_test dlls/qcap/tests qcap_test
17094 wine_fn_config_dll qedit enable_qedit clean
17095 wine_fn_config_test dlls/qedit/tests qedit_test
17096 wine_fn_config_dll qmgr enable_qmgr clean
17097 wine_fn_config_test dlls/qmgr/tests qmgr_test
17098 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17099 wine_fn_config_dll quartz enable_quartz clean,implib
17100 wine_fn_config_test dlls/quartz/tests quartz_test clean
17101 wine_fn_config_dll query enable_query
17102 wine_fn_config_dll rasapi16.dll16 enable_win16
17103 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17104 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17105 wine_fn_config_dll rasdlg enable_rasdlg implib
17106 wine_fn_config_dll regapi enable_regapi
17107 wine_fn_config_dll resutils enable_resutils implib
17108 wine_fn_config_dll riched20 enable_riched20 implib
17109 wine_fn_config_test dlls/riched20/tests riched20_test
17110 wine_fn_config_dll riched32 enable_riched32
17111 wine_fn_config_test dlls/riched32/tests riched32_test
17112 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17113 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17114 wine_fn_config_dll rsabase enable_rsabase
17115 wine_fn_config_dll rsaenh enable_rsaenh implib
17116 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17117 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17118 wine_fn_config_dll rtutils enable_rtutils implib
17119 wine_fn_config_dll samlib enable_samlib
17120 wine_fn_config_dll sane.ds enable_sane_ds po
17121 wine_fn_config_dll scarddlg enable_scarddlg
17122 wine_fn_config_dll sccbase enable_sccbase
17123 wine_fn_config_dll schannel enable_schannel
17124 wine_fn_config_test dlls/schannel/tests schannel_test
17125 wine_fn_config_dll scrrun enable_scrrun clean
17126 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17127 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17128 wine_fn_config_dll secur32 enable_secur32 implib
17129 wine_fn_config_test dlls/secur32/tests secur32_test
17130 wine_fn_config_dll security enable_security
17131 wine_fn_config_dll sensapi enable_sensapi implib
17132 wine_fn_config_dll serialui enable_serialui implib,po
17133 wine_fn_config_test dlls/serialui/tests serialui_test
17134 wine_fn_config_dll setupapi enable_setupapi implib,po
17135 wine_fn_config_test dlls/setupapi/tests setupapi_test
17136 wine_fn_config_dll setupx.dll16 enable_win16
17137 wine_fn_config_dll sfc enable_sfc implib
17138 wine_fn_config_dll sfc_os enable_sfc_os implib
17139 wine_fn_config_dll shdoclc enable_shdoclc po
17140 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17141 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17142 wine_fn_config_dll shell.dll16 enable_win16
17143 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17144 wine_fn_config_test dlls/shell32/tests shell32_test
17145 wine_fn_config_dll shfolder enable_shfolder implib
17146 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17147 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17148 wine_fn_config_dll slbcsp enable_slbcsp
17149 wine_fn_config_dll slc enable_slc implib
17150 wine_fn_config_dll snmpapi enable_snmpapi implib
17151 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17152 wine_fn_config_dll softpub enable_softpub
17153 wine_fn_config_dll sound.drv16 enable_win16
17154 wine_fn_config_dll spoolss enable_spoolss implib
17155 wine_fn_config_test dlls/spoolss/tests spoolss_test
17156 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17157 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17158 wine_fn_config_dll sti enable_sti clean,implib
17159 wine_fn_config_test dlls/sti/tests sti_test
17160 wine_fn_config_dll storage.dll16 enable_win16
17161 wine_fn_config_dll stress.dll16 enable_win16
17162 wine_fn_config_lib strmbase
17163 wine_fn_config_lib strmiids
17164 wine_fn_config_dll svrapi enable_svrapi
17165 wine_fn_config_dll sxs enable_sxs implib
17166 wine_fn_config_test dlls/sxs/tests sxs_test
17167 wine_fn_config_dll system.drv16 enable_win16
17168 wine_fn_config_dll t2embed enable_t2embed
17169 wine_fn_config_dll tapi32 enable_tapi32 implib
17170 wine_fn_config_dll toolhelp.dll16 enable_win16
17171 wine_fn_config_dll traffic enable_traffic
17172 wine_fn_config_dll twain.dll16 enable_win16
17173 wine_fn_config_dll twain_32 enable_twain_32
17174 wine_fn_config_test dlls/twain_32/tests twain_32_test
17175 wine_fn_config_dll typelib.dll16 enable_win16
17176 wine_fn_config_dll unicows enable_unicows implib
17177 wine_fn_config_dll updspapi enable_updspapi
17178 wine_fn_config_dll url enable_url implib
17179 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17180 wine_fn_config_test dlls/urlmon/tests urlmon_test
17181 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17182 wine_fn_config_dll user.exe16 enable_win16
17183 wine_fn_config_dll user32 enable_user32 implib,po
17184 wine_fn_config_test dlls/user32/tests user32_test
17185 wine_fn_config_dll userenv enable_userenv implib
17186 wine_fn_config_test dlls/userenv/tests userenv_test
17187 wine_fn_config_dll usp10 enable_usp10 implib
17188 wine_fn_config_test dlls/usp10/tests usp10_test
17189 wine_fn_config_lib uuid
17190 wine_fn_config_dll uxtheme enable_uxtheme implib
17191 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17192 wine_fn_config_dll vbscript enable_vbscript clean
17193 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17194 wine_fn_config_dll vcomp enable_vcomp
17195 wine_fn_config_dll vcomp100 enable_vcomp100
17196 wine_fn_config_dll vcomp90 enable_vcomp90
17197 wine_fn_config_dll vdhcp.vxd enable_win16
17198 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17199 wine_fn_config_dll ver.dll16 enable_win16
17200 wine_fn_config_dll version enable_version implib
17201 wine_fn_config_test dlls/version/tests version_test
17202 wine_fn_config_dll vmm.vxd enable_win16
17203 wine_fn_config_dll vnbt.vxd enable_win16
17204 wine_fn_config_dll vnetbios.vxd enable_win16
17205 wine_fn_config_dll vtdapi.vxd enable_win16
17206 wine_fn_config_dll vwin32.vxd enable_win16
17207 wine_fn_config_dll w32skrnl enable_win16
17208 wine_fn_config_dll w32sys.dll16 enable_win16
17209 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17210 wine_fn_config_dll wbemprox enable_wbemprox clean
17211 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17212 wine_fn_config_dll webservices enable_webservices implib
17213 wine_fn_config_dll wer enable_wer implib
17214 wine_fn_config_test dlls/wer/tests wer_test
17215 wine_fn_config_dll wevtapi enable_wevtapi
17216 wine_fn_config_dll wiaservc enable_wiaservc clean
17217 wine_fn_config_dll win32s16.dll16 enable_win16
17218 wine_fn_config_dll win87em.dll16 enable_win16
17219 wine_fn_config_dll winaspi.dll16 enable_win16
17220 wine_fn_config_dll windebug.dll16 enable_win16
17221 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17222 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17223 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17224 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17225 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17226 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17227 wine_fn_config_lib winecrt0
17228 wine_fn_config_dll wined3d enable_wined3d implib
17229 wine_fn_config_dll winegstreamer enable_winegstreamer
17230 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17231 wine_fn_config_dll winemac.drv enable_winemac_drv
17232 wine_fn_config_dll winemapi enable_winemapi
17233 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17234 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17235 wine_fn_config_dll wineps.drv enable_wineps_drv po
17236 wine_fn_config_dll wineps16.drv16 enable_win16
17237 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17238 wine_fn_config_dll winex11.drv enable_winex11_drv
17239 wine_fn_config_dll wing.dll16 enable_win16
17240 wine_fn_config_dll wing32 enable_wing32
17241 wine_fn_config_dll winhttp enable_winhttp clean,implib
17242 wine_fn_config_test dlls/winhttp/tests winhttp_test
17243 wine_fn_config_dll wininet enable_wininet implib,po
17244 wine_fn_config_test dlls/wininet/tests wininet_test
17245 wine_fn_config_dll winmm enable_winmm implib,po
17246 wine_fn_config_test dlls/winmm/tests winmm_test
17247 wine_fn_config_dll winnls.dll16 enable_win16
17248 wine_fn_config_dll winnls32 enable_winnls32 implib
17249 wine_fn_config_dll winscard enable_winscard implib
17250 wine_fn_config_dll winsock.dll16 enable_win16
17251 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17252 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17253 wine_fn_config_dll winsta enable_winsta
17254 wine_fn_config_dll wintab.dll16 enable_win16
17255 wine_fn_config_dll wintab32 enable_wintab32 implib
17256 wine_fn_config_test dlls/wintab32/tests wintab32_test
17257 wine_fn_config_dll wintrust enable_wintrust implib
17258 wine_fn_config_test dlls/wintrust/tests wintrust_test
17259 wine_fn_config_dll wlanapi enable_wlanapi
17260 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17261 wine_fn_config_test dlls/wldap32/tests wldap32_test
17262 wine_fn_config_dll wmi enable_wmi
17263 wine_fn_config_dll wmiutils enable_wmiutils clean
17264 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17265 wine_fn_config_dll wmvcore enable_wmvcore
17266 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17267 wine_fn_config_dll wow32 enable_win16 implib
17268 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17269 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
17270 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17271 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
17272 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17273 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
17274 wine_fn_config_dll wsock32 enable_wsock32 implib
17275 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17276 wine_fn_config_dll wuapi enable_wuapi clean
17277 wine_fn_config_dll wuaueng enable_wuaueng
17278 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17279 wine_fn_config_dll xinput1_1 enable_xinput1_1
17280 wine_fn_config_dll xinput1_2 enable_xinput1_2
17281 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17282 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
17283 wine_fn_config_dll xinput1_4 enable_xinput1_4
17284 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17285 wine_fn_config_dll xmllite enable_xmllite
17286 wine_fn_config_test dlls/xmllite/tests xmllite_test
17287 wine_fn_config_dll xolehlp enable_xolehlp
17288 wine_fn_config_dll xpsprint enable_xpsprint
17289 wine_fn_config_dll xpssvcs enable_xpssvcs
17290 wine_fn_config_makefile documentation enable_documentation clean
17291 wine_fn_config_makefile fonts enable_fonts clean,install-lib
17292 wine_fn_config_makefile include enable_include clean,install-dev
17293 wine_fn_config_makefile libs/port enable_libs_port
17294 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
17295 wine_fn_config_makefile libs/wpp enable_libs_wpp
17296 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
17297 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
17298 wine_fn_config_program attrib enable_attrib install,po
17299 wine_fn_config_program cabarc enable_cabarc install
17300 wine_fn_config_program cacls enable_cacls install
17301 wine_fn_config_program clock enable_clock install,po
17302 wine_fn_config_program cmd enable_cmd install,po
17303 wine_fn_config_test programs/cmd/tests cmd.exe_test
17304 wine_fn_config_program conhost enable_conhost install
17305 wine_fn_config_program control enable_control install
17306 wine_fn_config_program cscript enable_cscript install
17307 wine_fn_config_program dxdiag enable_dxdiag install,po
17308 wine_fn_config_program eject enable_eject install
17309 wine_fn_config_program expand enable_expand install
17310 wine_fn_config_program explorer enable_explorer install,po
17311 wine_fn_config_program extrac32 enable_extrac32 install
17312 wine_fn_config_program findstr enable_findstr install
17313 wine_fn_config_program hh enable_hh install
17314 wine_fn_config_program hostname enable_hostname install,po
17315 wine_fn_config_program icinfo enable_icinfo install
17316 wine_fn_config_program iexplore enable_iexplore install
17317 wine_fn_config_program ipconfig enable_ipconfig install,po
17318 wine_fn_config_program lodctr enable_lodctr install
17319 wine_fn_config_program mofcomp enable_mofcomp install
17320 wine_fn_config_program mshta enable_mshta install
17321 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
17322 wine_fn_config_program net enable_net install,po
17323 wine_fn_config_program netsh enable_netsh install
17324 wine_fn_config_program netstat enable_netstat install,po
17325 wine_fn_config_program ngen enable_ngen install
17326 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
17327 wine_fn_config_program oleview enable_oleview install,po
17328 wine_fn_config_program ping enable_ping install
17329 wine_fn_config_program plugplay enable_plugplay install
17330 wine_fn_config_program presentationfontcache enable_presentationfontcache install
17331 wine_fn_config_program progman enable_progman install,po
17332 wine_fn_config_program reg enable_reg install,po
17333 wine_fn_config_program regasm enable_regasm install
17334 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
17335 wine_fn_config_test programs/regedit/tests regedit.exe_test
17336 wine_fn_config_program regsvcs enable_regsvcs install
17337 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage
17338 wine_fn_config_program rpcss enable_rpcss clean,install
17339 wine_fn_config_program rundll.exe16 enable_win16 install
17340 wine_fn_config_program rundll32 enable_rundll32 install
17341 wine_fn_config_program sc enable_sc install
17342 wine_fn_config_program schtasks enable_schtasks install
17343 wine_fn_config_program secedit enable_secedit install
17344 wine_fn_config_program servicemodelreg enable_servicemodelreg install
17345 wine_fn_config_program services enable_services clean,install
17346 wine_fn_config_test programs/services/tests services.exe_test
17347 wine_fn_config_program spoolsv enable_spoolsv install
17348 wine_fn_config_program start enable_start install,po
17349 wine_fn_config_program svchost enable_svchost install
17350 wine_fn_config_program taskkill enable_taskkill install,po
17351 wine_fn_config_program tasklist enable_tasklist install
17352 wine_fn_config_program taskmgr enable_taskmgr install,po
17353 wine_fn_config_program termsv enable_termsv install
17354 wine_fn_config_program uninstaller enable_uninstaller install,po
17355 wine_fn_config_program unlodctr enable_unlodctr install
17356 wine_fn_config_program view enable_view install,po
17357 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
17358 wine_fn_config_program winebrowser enable_winebrowser install
17359 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
17360 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
17361 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
17362 wine_fn_config_program winedevice enable_winedevice install
17363 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
17364 wine_fn_config_program winemenubuilder enable_winemenubuilder install
17365 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
17366 wine_fn_config_program winemsibuilder enable_winemsibuilder install
17367 wine_fn_config_program winepath enable_winepath install,installbin,manpage
17368 wine_fn_config_program winetest enable_winetest clean
17369 wine_fn_config_program winevdm enable_win16 install
17370 wine_fn_config_program winhelp.exe16 enable_win16 install
17371 wine_fn_config_program winhlp32 enable_winhlp32 install,po
17372 wine_fn_config_program winoldap.mod16 enable_win16 install
17373 wine_fn_config_program winver enable_winver install
17374 wine_fn_config_program wmic enable_wmic install,po
17375 wine_fn_config_program wordpad enable_wordpad install,po
17376 wine_fn_config_program write enable_write install,po
17377 wine_fn_config_program wscript enable_wscript clean,install
17378 wine_fn_config_test programs/wscript/tests wscript.exe_test
17379 wine_fn_config_program wusa enable_wusa install
17380 wine_fn_config_program xcopy enable_xcopy install,po
17381 wine_fn_config_makefile server enable_server clean,install-lib,manpage
17382 wine_fn_config_tool tools clean,install-dev,install-lib,manpage
17383 wine_fn_config_tool tools/widl clean,install-dev,manpage
17384 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
17385 wine_fn_config_tool tools/winedump clean,install-dev,manpage
17386 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
17387 wine_fn_config_tool tools/wmc clean,install-dev,manpage
17388 wine_fn_config_tool tools/wrc clean,install-dev,manpage
17390 LINGUAS="\
17391 ar \
17392 bg \
17393 ca \
17394 cs \
17395 da \
17396 de \
17397 el \
17398 en \
17399 en_US \
17400 eo \
17401 es \
17402 fa \
17403 fi \
17404 fr \
17405 he \
17406 hi \
17407 hr \
17408 hu \
17409 it \
17410 ja \
17411 ko \
17412 lt \
17413 ml \
17414 nb_NO \
17415 nl \
17416 or \
17417 pa \
17418 pl \
17419 pt_BR \
17420 pt_PT \
17421 rm \
17422 ro \
17423 ru \
17424 sk \
17425 sl \
17426 sr_RS@cyrillic \
17427 sr_RS@latin \
17428 sv \
17429 te \
17430 th \
17431 tr \
17432 uk \
17433 wa \
17434 zh_CN \
17435 zh_TW"
17439 ac_config_commands="$ac_config_commands Makefile"
17442 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17446 if test "x$enable_maintainer_mode" = xyes
17447 then
17448 wine_fn_append_rule "\$(srcdir)/configure: configure.ac aclocal.m4
17449 cd \$(srcdir) && autoconf --warnings=all
17450 \$(srcdir)/include/config.h.in: include/stamp-h.in
17451 \$(srcdir)/include/stamp-h.in: configure.ac aclocal.m4
17452 cd \$(srcdir) && autoheader --warnings=all
17453 @echo timestamp > \$@"
17456 if test "x$with_gettextpo" = xyes
17457 then
17458 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17459 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
17460 \$(LINGUAS:%=po/%.po): \$(srcdir)/po/wine.pot
17461 msgmerge --previous -q \$@ \$(srcdir)/po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17462 \$(srcdir)/po/wine.pot: \$(ALL_POT_FILES)
17463 msgcat -o \$@ \$(ALL_POT_FILES)"
17466 if test "$MSGFMT" != false
17467 then
17468 PORCFLAGS="--po-dir=\$(top_builddir)/po"
17470 wine_fn_append_rule "__builddeps__: \$(ALL_MO_FILES)"
17471 else
17472 LINGUAS=
17475 if test "x$enable_tools" != xno
17476 then
17477 wine_fn_append_rule "\$(MAKEDEP): tools/Makefile
17478 clean:: __clean__
17479 \$(RM) tools/makedep\$(EXEEXT)"
17482 if test -n "$with_wine64"
17483 then
17484 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17485 fonts server tools:
17486 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17487 $with_wine64/loader/wine:
17488 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17489 $with_wine64/loader/wine-preloader:
17490 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17491 clean::
17492 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17493 else
17494 as_fn_append LOADER_RULES "
17495 all: wine.inf
17497 wine.inf: wine.inf.in \$(top_builddir)/include/config.h
17498 LC_ALL=C sed -e 's,@PACKAGE_STRING@,$PACKAGE_STRING,g' \$(srcdir)/wine.inf.in >\$@ || (\$(RM) \$@ && false)
17500 install install-lib:: wine.inf \$(DESTDIR)\$(datadir)/wine install-man-pages
17501 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17502 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17504 uninstall::
17505 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17509 $as_echo " done" >&6
17510 cat >confcache <<\_ACEOF
17511 # This file is a shell script that caches the results of configure
17512 # tests run on this system so they can be shared between configure
17513 # scripts and configure runs, see configure's option --config-cache.
17514 # It is not useful on other systems. If it contains results you don't
17515 # want to keep, you may remove or edit it.
17517 # config.status only pays attention to the cache file if you give it
17518 # the --recheck option to rerun configure.
17520 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17521 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17522 # following values.
17524 _ACEOF
17526 # The following way of writing the cache mishandles newlines in values,
17527 # but we know of no workaround that is simple, portable, and efficient.
17528 # So, we kill variables containing newlines.
17529 # Ultrix sh set writes to stderr and can't be redirected directly,
17530 # and sets the high bit in the cache file unless we assign to the vars.
17532 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17533 eval ac_val=\$$ac_var
17534 case $ac_val in #(
17535 *${as_nl}*)
17536 case $ac_var in #(
17537 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17538 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17539 esac
17540 case $ac_var in #(
17541 _ | IFS | as_nl) ;; #(
17542 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17543 *) { eval $ac_var=; unset $ac_var;} ;;
17544 esac ;;
17545 esac
17546 done
17548 (set) 2>&1 |
17549 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17550 *${as_nl}ac_space=\ *)
17551 # `set' does not quote correctly, so add quotes: double-quote
17552 # substitution turns \\\\ into \\, and sed turns \\ into \.
17553 sed -n \
17554 "s/'/'\\\\''/g;
17555 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17556 ;; #(
17558 # `set' quotes correctly as required by POSIX, so do not add quotes.
17559 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17561 esac |
17562 sort
17564 sed '
17565 /^ac_cv_env_/b end
17566 t clear
17567 :clear
17568 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17569 t end
17570 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17571 :end' >>confcache
17572 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17573 if test -w "$cache_file"; then
17574 if test "x$cache_file" != "x/dev/null"; then
17575 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17576 $as_echo "$as_me: updating cache $cache_file" >&6;}
17577 if test ! -f "$cache_file" || test -h "$cache_file"; then
17578 cat confcache >"$cache_file"
17579 else
17580 case $cache_file in #(
17581 */* | ?:*)
17582 mv -f confcache "$cache_file"$$ &&
17583 mv -f "$cache_file"$$ "$cache_file" ;; #(
17585 mv -f confcache "$cache_file" ;;
17586 esac
17589 else
17590 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17591 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17594 rm -f confcache
17596 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17597 # Let make expand exec_prefix.
17598 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17600 DEFS=-DHAVE_CONFIG_H
17602 ac_libobjs=
17603 ac_ltlibobjs=
17605 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17606 # 1. Remove the extension, and $U if already installed.
17607 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17608 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17609 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17610 # will be set to the directory where LIBOBJS objects are built.
17611 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17612 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17613 done
17614 LIBOBJS=$ac_libobjs
17616 LTLIBOBJS=$ac_ltlibobjs
17620 : "${CONFIG_STATUS=./config.status}"
17621 ac_write_fail=0
17622 ac_clean_files_save=$ac_clean_files
17623 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17624 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17625 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17626 as_write_fail=0
17627 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17628 #! $SHELL
17629 # Generated by $as_me.
17630 # Run this file to recreate the current configuration.
17631 # Compiler output produced by configure, useful for debugging
17632 # configure, is in config.log if it exists.
17634 debug=false
17635 ac_cs_recheck=false
17636 ac_cs_silent=false
17638 SHELL=\${CONFIG_SHELL-$SHELL}
17639 export SHELL
17640 _ASEOF
17641 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17642 ## -------------------- ##
17643 ## M4sh Initialization. ##
17644 ## -------------------- ##
17646 # Be more Bourne compatible
17647 DUALCASE=1; export DUALCASE # for MKS sh
17648 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17649 emulate sh
17650 NULLCMD=:
17651 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17652 # is contrary to our usage. Disable this feature.
17653 alias -g '${1+"$@"}'='"$@"'
17654 setopt NO_GLOB_SUBST
17655 else
17656 case `(set -o) 2>/dev/null` in #(
17657 *posix*) :
17658 set -o posix ;; #(
17659 *) :
17661 esac
17665 as_nl='
17667 export as_nl
17668 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17669 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17670 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17671 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17672 # Prefer a ksh shell builtin over an external printf program on Solaris,
17673 # but without wasting forks for bash or zsh.
17674 if test -z "$BASH_VERSION$ZSH_VERSION" \
17675 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17676 as_echo='print -r --'
17677 as_echo_n='print -rn --'
17678 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17679 as_echo='printf %s\n'
17680 as_echo_n='printf %s'
17681 else
17682 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17683 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17684 as_echo_n='/usr/ucb/echo -n'
17685 else
17686 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17687 as_echo_n_body='eval
17688 arg=$1;
17689 case $arg in #(
17690 *"$as_nl"*)
17691 expr "X$arg" : "X\\(.*\\)$as_nl";
17692 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17693 esac;
17694 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17696 export as_echo_n_body
17697 as_echo_n='sh -c $as_echo_n_body as_echo'
17699 export as_echo_body
17700 as_echo='sh -c $as_echo_body as_echo'
17703 # The user is always right.
17704 if test "${PATH_SEPARATOR+set}" != set; then
17705 PATH_SEPARATOR=:
17706 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17707 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17708 PATH_SEPARATOR=';'
17713 # IFS
17714 # We need space, tab and new line, in precisely that order. Quoting is
17715 # there to prevent editors from complaining about space-tab.
17716 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17717 # splitting by setting IFS to empty value.)
17718 IFS=" "" $as_nl"
17720 # Find who we are. Look in the path if we contain no directory separator.
17721 as_myself=
17722 case $0 in #((
17723 *[\\/]* ) as_myself=$0 ;;
17724 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17725 for as_dir in $PATH
17727 IFS=$as_save_IFS
17728 test -z "$as_dir" && as_dir=.
17729 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17730 done
17731 IFS=$as_save_IFS
17734 esac
17735 # We did not find ourselves, most probably we were run as `sh COMMAND'
17736 # in which case we are not to be found in the path.
17737 if test "x$as_myself" = x; then
17738 as_myself=$0
17740 if test ! -f "$as_myself"; then
17741 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17742 exit 1
17745 # Unset variables that we do not need and which cause bugs (e.g. in
17746 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17747 # suppresses any "Segmentation fault" message there. '((' could
17748 # trigger a bug in pdksh 5.2.14.
17749 for as_var in BASH_ENV ENV MAIL MAILPATH
17750 do eval test x\${$as_var+set} = xset \
17751 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17752 done
17753 PS1='$ '
17754 PS2='> '
17755 PS4='+ '
17757 # NLS nuisances.
17758 LC_ALL=C
17759 export LC_ALL
17760 LANGUAGE=C
17761 export LANGUAGE
17763 # CDPATH.
17764 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17767 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17768 # ----------------------------------------
17769 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17770 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17771 # script with STATUS, using 1 if that was 0.
17772 as_fn_error ()
17774 as_status=$1; test $as_status -eq 0 && as_status=1
17775 if test "$4"; then
17776 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17777 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17779 $as_echo "$as_me: error: $2" >&2
17780 as_fn_exit $as_status
17781 } # as_fn_error
17784 # as_fn_set_status STATUS
17785 # -----------------------
17786 # Set $? to STATUS, without forking.
17787 as_fn_set_status ()
17789 return $1
17790 } # as_fn_set_status
17792 # as_fn_exit STATUS
17793 # -----------------
17794 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17795 as_fn_exit ()
17797 set +e
17798 as_fn_set_status $1
17799 exit $1
17800 } # as_fn_exit
17802 # as_fn_unset VAR
17803 # ---------------
17804 # Portably unset VAR.
17805 as_fn_unset ()
17807 { eval $1=; unset $1;}
17809 as_unset=as_fn_unset
17810 # as_fn_append VAR VALUE
17811 # ----------------------
17812 # Append the text in VALUE to the end of the definition contained in VAR. Take
17813 # advantage of any shell optimizations that allow amortized linear growth over
17814 # repeated appends, instead of the typical quadratic growth present in naive
17815 # implementations.
17816 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17817 eval 'as_fn_append ()
17819 eval $1+=\$2
17821 else
17822 as_fn_append ()
17824 eval $1=\$$1\$2
17826 fi # as_fn_append
17828 # as_fn_arith ARG...
17829 # ------------------
17830 # Perform arithmetic evaluation on the ARGs, and store the result in the
17831 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17832 # must be portable across $(()) and expr.
17833 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17834 eval 'as_fn_arith ()
17836 as_val=$(( $* ))
17838 else
17839 as_fn_arith ()
17841 as_val=`expr "$@" || test $? -eq 1`
17843 fi # as_fn_arith
17846 if expr a : '\(a\)' >/dev/null 2>&1 &&
17847 test "X`expr 00001 : '.*\(...\)'`" = X001; then
17848 as_expr=expr
17849 else
17850 as_expr=false
17853 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17854 as_basename=basename
17855 else
17856 as_basename=false
17859 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17860 as_dirname=dirname
17861 else
17862 as_dirname=false
17865 as_me=`$as_basename -- "$0" ||
17866 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17867 X"$0" : 'X\(//\)$' \| \
17868 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17869 $as_echo X/"$0" |
17870 sed '/^.*\/\([^/][^/]*\)\/*$/{
17871 s//\1/
17874 /^X\/\(\/\/\)$/{
17875 s//\1/
17878 /^X\/\(\/\).*/{
17879 s//\1/
17882 s/.*/./; q'`
17884 # Avoid depending upon Character Ranges.
17885 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17886 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17887 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17888 as_cr_digits='0123456789'
17889 as_cr_alnum=$as_cr_Letters$as_cr_digits
17891 ECHO_C= ECHO_N= ECHO_T=
17892 case `echo -n x` in #(((((
17893 -n*)
17894 case `echo 'xy\c'` in
17895 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
17896 xy) ECHO_C='\c';;
17897 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
17898 ECHO_T=' ';;
17899 esac;;
17901 ECHO_N='-n';;
17902 esac
17904 rm -f conf$$ conf$$.exe conf$$.file
17905 if test -d conf$$.dir; then
17906 rm -f conf$$.dir/conf$$.file
17907 else
17908 rm -f conf$$.dir
17909 mkdir conf$$.dir 2>/dev/null
17911 if (echo >conf$$.file) 2>/dev/null; then
17912 if ln -s conf$$.file conf$$ 2>/dev/null; then
17913 as_ln_s='ln -s'
17914 # ... but there are two gotchas:
17915 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17916 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17917 # In both cases, we have to default to `cp -pR'.
17918 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17919 as_ln_s='cp -pR'
17920 elif ln conf$$.file conf$$ 2>/dev/null; then
17921 as_ln_s=ln
17922 else
17923 as_ln_s='cp -pR'
17925 else
17926 as_ln_s='cp -pR'
17928 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17929 rmdir conf$$.dir 2>/dev/null
17932 # as_fn_mkdir_p
17933 # -------------
17934 # Create "$as_dir" as a directory, including parents if necessary.
17935 as_fn_mkdir_p ()
17938 case $as_dir in #(
17939 -*) as_dir=./$as_dir;;
17940 esac
17941 test -d "$as_dir" || eval $as_mkdir_p || {
17942 as_dirs=
17943 while :; do
17944 case $as_dir in #(
17945 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17946 *) as_qdir=$as_dir;;
17947 esac
17948 as_dirs="'$as_qdir' $as_dirs"
17949 as_dir=`$as_dirname -- "$as_dir" ||
17950 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17951 X"$as_dir" : 'X\(//\)[^/]' \| \
17952 X"$as_dir" : 'X\(//\)$' \| \
17953 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17954 $as_echo X"$as_dir" |
17955 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17956 s//\1/
17959 /^X\(\/\/\)[^/].*/{
17960 s//\1/
17963 /^X\(\/\/\)$/{
17964 s//\1/
17967 /^X\(\/\).*/{
17968 s//\1/
17971 s/.*/./; q'`
17972 test -d "$as_dir" && break
17973 done
17974 test -z "$as_dirs" || eval "mkdir $as_dirs"
17975 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17978 } # as_fn_mkdir_p
17979 if mkdir -p . 2>/dev/null; then
17980 as_mkdir_p='mkdir -p "$as_dir"'
17981 else
17982 test -d ./-p && rmdir ./-p
17983 as_mkdir_p=false
17987 # as_fn_executable_p FILE
17988 # -----------------------
17989 # Test if FILE is an executable regular file.
17990 as_fn_executable_p ()
17992 test -f "$1" && test -x "$1"
17993 } # as_fn_executable_p
17994 as_test_x='test -x'
17995 as_executable_p=as_fn_executable_p
17997 # Sed expression to map a string onto a valid CPP name.
17998 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18000 # Sed expression to map a string onto a valid variable name.
18001 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18004 exec 6>&1
18005 ## ----------------------------------- ##
18006 ## Main body of $CONFIG_STATUS script. ##
18007 ## ----------------------------------- ##
18008 _ASEOF
18009 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18011 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18012 # Save the log message, to keep $0 and so on meaningful, and to
18013 # report actual input values of CONFIG_FILES etc. instead of their
18014 # values after options handling.
18015 ac_log="
18016 This file was extended by Wine $as_me 1.7.3, which was
18017 generated by GNU Autoconf 2.69. Invocation command line was
18019 CONFIG_FILES = $CONFIG_FILES
18020 CONFIG_HEADERS = $CONFIG_HEADERS
18021 CONFIG_LINKS = $CONFIG_LINKS
18022 CONFIG_COMMANDS = $CONFIG_COMMANDS
18023 $ $0 $@
18025 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18028 _ACEOF
18030 case $ac_config_files in *"
18031 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18032 esac
18034 case $ac_config_headers in *"
18035 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18036 esac
18039 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18040 # Files that config.status was made for.
18041 config_files="$ac_config_files"
18042 config_headers="$ac_config_headers"
18043 config_links="$ac_config_links"
18044 config_commands="$ac_config_commands"
18046 _ACEOF
18048 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18049 ac_cs_usage="\
18050 \`$as_me' instantiates files and other configuration actions
18051 from templates according to the current configuration. Unless the files
18052 and actions are specified as TAGs, all are instantiated by default.
18054 Usage: $0 [OPTION]... [TAG]...
18056 -h, --help print this help, then exit
18057 -V, --version print version number and configuration settings, then exit
18058 --config print configuration, then exit
18059 -q, --quiet, --silent
18060 do not print progress messages
18061 -d, --debug don't remove temporary files
18062 --recheck update $as_me by reconfiguring in the same conditions
18063 --file=FILE[:TEMPLATE]
18064 instantiate the configuration file FILE
18065 --header=FILE[:TEMPLATE]
18066 instantiate the configuration header FILE
18068 Configuration files:
18069 $config_files
18071 Configuration headers:
18072 $config_headers
18074 Configuration links:
18075 $config_links
18077 Configuration commands:
18078 $config_commands
18080 Report bugs to <wine-devel@winehq.org>.
18081 Wine home page: <http://www.winehq.org>."
18083 _ACEOF
18084 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18085 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18086 ac_cs_version="\\
18087 Wine config.status 1.7.3
18088 configured by $0, generated by GNU Autoconf 2.69,
18089 with options \\"\$ac_cs_config\\"
18091 Copyright (C) 2012 Free Software Foundation, Inc.
18092 This config.status script is free software; the Free Software Foundation
18093 gives unlimited permission to copy, distribute and modify it."
18095 ac_pwd='$ac_pwd'
18096 srcdir='$srcdir'
18097 INSTALL='$INSTALL'
18098 MKDIR_P='$MKDIR_P'
18099 test -n "\$AWK" || AWK=awk
18100 _ACEOF
18102 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18103 # The default lists apply if the user does not specify any file.
18104 ac_need_defaults=:
18105 while test $# != 0
18107 case $1 in
18108 --*=?*)
18109 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18110 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18111 ac_shift=:
18113 --*=)
18114 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18115 ac_optarg=
18116 ac_shift=:
18119 ac_option=$1
18120 ac_optarg=$2
18121 ac_shift=shift
18123 esac
18125 case $ac_option in
18126 # Handling of the options.
18127 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18128 ac_cs_recheck=: ;;
18129 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18130 $as_echo "$ac_cs_version"; exit ;;
18131 --config | --confi | --conf | --con | --co | --c )
18132 $as_echo "$ac_cs_config"; exit ;;
18133 --debug | --debu | --deb | --de | --d | -d )
18134 debug=: ;;
18135 --file | --fil | --fi | --f )
18136 $ac_shift
18137 case $ac_optarg in
18138 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18139 '') as_fn_error $? "missing file argument" ;;
18140 esac
18141 as_fn_append CONFIG_FILES " '$ac_optarg'"
18142 ac_need_defaults=false;;
18143 --header | --heade | --head | --hea )
18144 $ac_shift
18145 case $ac_optarg in
18146 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18147 esac
18148 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18149 ac_need_defaults=false;;
18150 --he | --h)
18151 # Conflict between --help and --header
18152 as_fn_error $? "ambiguous option: \`$1'
18153 Try \`$0 --help' for more information.";;
18154 --help | --hel | -h )
18155 $as_echo "$ac_cs_usage"; exit ;;
18156 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18157 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18158 ac_cs_silent=: ;;
18160 # This is an error.
18161 -*) as_fn_error $? "unrecognized option: \`$1'
18162 Try \`$0 --help' for more information." ;;
18164 *) as_fn_append ac_config_targets " $1"
18165 ac_need_defaults=false ;;
18167 esac
18168 shift
18169 done
18171 ac_configure_extra_args=
18173 if $ac_cs_silent; then
18174 exec 6>/dev/null
18175 ac_configure_extra_args="$ac_configure_extra_args --silent"
18178 _ACEOF
18179 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18180 if \$ac_cs_recheck; then
18181 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18182 shift
18183 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18184 CONFIG_SHELL='$SHELL'
18185 export CONFIG_SHELL
18186 exec "\$@"
18189 _ACEOF
18190 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18191 exec 5>>config.log
18193 echo
18194 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18195 ## Running $as_me. ##
18196 _ASBOX
18197 $as_echo "$ac_log"
18198 } >&5
18200 _ACEOF
18201 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18203 # INIT-COMMANDS
18205 wine_fn_output_makefile ()
18207 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && return
18208 `cat $wine_rules_file`
18209 _WINE_EOF
18210 as_fn_error $? "could not create Makefile" "$LINENO" 5
18213 _ACEOF
18215 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18217 # Handling of arguments.
18218 for ac_config_target in $ac_config_targets
18220 case $ac_config_target in
18221 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18222 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
18223 "dlls/shell32/AUTHORS") CONFIG_LINKS="$CONFIG_LINKS dlls/shell32/AUTHORS:AUTHORS" ;;
18224 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18225 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18226 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18227 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18228 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18229 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18230 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
18231 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18232 "dlls/gdi32/dibdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/dibdrv" ;;
18233 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
18234 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
18235 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
18236 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
18237 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
18238 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
18239 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
18240 "Maketest.rules") CONFIG_FILES="$CONFIG_FILES Maketest.rules" ;;
18241 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
18242 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
18243 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
18244 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
18245 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18247 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18248 esac
18249 done
18252 # If the user did not use the arguments to specify the items to instantiate,
18253 # then the envvar interface is used. Set only those that are not.
18254 # We use the long form for the default assignment because of an extremely
18255 # bizarre bug on SunOS 4.1.3.
18256 if $ac_need_defaults; then
18257 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18258 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18259 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18260 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18263 # Have a temporary directory for convenience. Make it in the build tree
18264 # simply because there is no reason against having it here, and in addition,
18265 # creating and moving files from /tmp can sometimes cause problems.
18266 # Hook for its removal unless debugging.
18267 # Note that there is a small window in which the directory will not be cleaned:
18268 # after its creation but before its name has been assigned to `$tmp'.
18269 $debug ||
18271 tmp= ac_tmp=
18272 trap 'exit_status=$?
18273 : "${ac_tmp:=$tmp}"
18274 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18276 trap 'as_fn_exit 1' 1 2 13 15
18278 # Create a (secure) tmp directory for tmp files.
18281 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18282 test -d "$tmp"
18283 } ||
18285 tmp=./conf$$-$RANDOM
18286 (umask 077 && mkdir "$tmp")
18287 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18288 ac_tmp=$tmp
18290 # Set up the scripts for CONFIG_FILES section.
18291 # No need to generate them if there are no CONFIG_FILES.
18292 # This happens for instance with `./config.status config.h'.
18293 if test -n "$CONFIG_FILES"; then
18295 if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
18296 ac_cs_awk_getline=:
18297 ac_cs_awk_pipe_init=
18298 ac_cs_awk_read_file='
18299 while ((getline aline < (F[key])) > 0)
18300 print(aline)
18301 close(F[key])'
18302 ac_cs_awk_pipe_fini=
18303 else
18304 ac_cs_awk_getline=false
18305 ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
18306 ac_cs_awk_read_file='
18307 print "|#_!!_#|"
18308 print "cat " F[key] " &&"
18309 '$ac_cs_awk_pipe_init
18310 # The final `:' finishes the AND list.
18311 ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
18313 ac_cr=`echo X | tr X '\015'`
18314 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18315 # But we know of no other shell where ac_cr would be empty at this
18316 # point, so we can use a bashism as a fallback.
18317 if test "x$ac_cr" = x; then
18318 eval ac_cr=\$\'\\r\'
18320 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18321 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18322 ac_cs_awk_cr='\\r'
18323 else
18324 ac_cs_awk_cr=$ac_cr
18327 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18328 _ACEOF
18330 # Create commands to substitute file output variables.
18332 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
18333 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
18334 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
18335 echo "_ACAWK" &&
18336 echo "_ACEOF"
18337 } >conf$$files.sh &&
18338 . ./conf$$files.sh ||
18339 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18340 rm -f conf$$files.sh
18343 echo "cat >conf$$subs.awk <<_ACEOF" &&
18344 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18345 echo "_ACEOF"
18346 } >conf$$subs.sh ||
18347 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18348 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18349 ac_delim='%!_!# '
18350 for ac_last_try in false false false false false :; do
18351 . ./conf$$subs.sh ||
18352 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18354 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18355 if test $ac_delim_n = $ac_delim_num; then
18356 break
18357 elif $ac_last_try; then
18358 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18359 else
18360 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18362 done
18363 rm -f conf$$subs.sh
18365 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18366 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18367 _ACEOF
18368 sed -n '
18370 s/^/S["/; s/!.*/"]=/
18373 s/^[^!]*!//
18374 :repl
18375 t repl
18376 s/'"$ac_delim"'$//
18377 t delim
18380 s/\(.\{148\}\)..*/\1/
18381 t more1
18382 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18385 b repl
18386 :more1
18387 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18390 s/.\{148\}//
18391 t nl
18392 :delim
18394 s/\(.\{148\}\)..*/\1/
18395 t more2
18396 s/["\\]/\\&/g; s/^/"/; s/$/"/
18399 :more2
18400 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18403 s/.\{148\}//
18404 t delim
18405 ' <conf$$subs.awk | sed '
18406 /^[^""]/{
18408 s/\n//
18410 ' >>$CONFIG_STATUS || ac_write_fail=1
18411 rm -f conf$$subs.awk
18412 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18413 _ACAWK
18414 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18415 for (key in S) S_is_set[key] = 1
18416 FS = "\a"
18417 \$ac_cs_awk_pipe_init
18420 line = $ 0
18421 nfields = split(line, field, "@")
18422 substed = 0
18423 len = length(field[1])
18424 for (i = 2; i < nfields; i++) {
18425 key = field[i]
18426 keylen = length(key)
18427 if (S_is_set[key]) {
18428 value = S[key]
18429 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18430 len += length(value) + length(field[++i])
18431 substed = 1
18432 } else
18433 len += 1 + keylen
18435 if (nfields == 3 && !substed) {
18436 key = field[2]
18437 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
18438 \$ac_cs_awk_read_file
18439 next
18442 print line
18444 \$ac_cs_awk_pipe_fini
18445 _ACAWK
18446 _ACEOF
18447 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18448 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18449 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18450 else
18452 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18453 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18454 _ACEOF
18456 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18457 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18458 # trailing colons and then remove the whole line if VPATH becomes empty
18459 # (actually we leave an empty line to preserve line numbers).
18460 if test "x$srcdir" = x.; then
18461 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18463 s///
18464 s/^/:/
18465 s/[ ]*$/:/
18466 s/:\$(srcdir):/:/g
18467 s/:\${srcdir}:/:/g
18468 s/:@srcdir@:/:/g
18469 s/^:*//
18470 s/:*$//
18472 s/\(=[ ]*\).*/\1/
18474 s/\n//
18475 s/^[^=]*=[ ]*$//
18479 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18480 fi # test -n "$CONFIG_FILES"
18482 # Set up the scripts for CONFIG_HEADERS section.
18483 # No need to generate them if there are no CONFIG_HEADERS.
18484 # This happens for instance with `./config.status Makefile'.
18485 if test -n "$CONFIG_HEADERS"; then
18486 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18487 BEGIN {
18488 _ACEOF
18490 # Transform confdefs.h into an awk script `defines.awk', embedded as
18491 # here-document in config.status, that substitutes the proper values into
18492 # config.h.in to produce config.h.
18494 # Create a delimiter string that does not exist in confdefs.h, to ease
18495 # handling of long lines.
18496 ac_delim='%!_!# '
18497 for ac_last_try in false false :; do
18498 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18499 if test -z "$ac_tt"; then
18500 break
18501 elif $ac_last_try; then
18502 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18503 else
18504 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18506 done
18508 # For the awk script, D is an array of macro values keyed by name,
18509 # likewise P contains macro parameters if any. Preserve backslash
18510 # newline sequences.
18512 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18513 sed -n '
18514 s/.\{148\}/&'"$ac_delim"'/g
18515 t rset
18516 :rset
18517 s/^[ ]*#[ ]*define[ ][ ]*/ /
18518 t def
18520 :def
18521 s/\\$//
18522 t bsnl
18523 s/["\\]/\\&/g
18524 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18525 D["\1"]=" \3"/p
18526 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18528 :bsnl
18529 s/["\\]/\\&/g
18530 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18531 D["\1"]=" \3\\\\\\n"\\/p
18532 t cont
18533 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18534 t cont
18536 :cont
18538 s/.\{148\}/&'"$ac_delim"'/g
18539 t clear
18540 :clear
18541 s/\\$//
18542 t bsnlc
18543 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18545 :bsnlc
18546 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18547 b cont
18548 ' <confdefs.h | sed '
18549 s/'"$ac_delim"'/"\\\
18550 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18552 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18553 for (key in D) D_is_set[key] = 1
18554 FS = "\a"
18556 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18557 line = \$ 0
18558 split(line, arg, " ")
18559 if (arg[1] == "#") {
18560 defundef = arg[2]
18561 mac1 = arg[3]
18562 } else {
18563 defundef = substr(arg[1], 2)
18564 mac1 = arg[2]
18566 split(mac1, mac2, "(") #)
18567 macro = mac2[1]
18568 prefix = substr(line, 1, index(line, defundef) - 1)
18569 if (D_is_set[macro]) {
18570 # Preserve the white space surrounding the "#".
18571 print prefix "define", macro P[macro] D[macro]
18572 next
18573 } else {
18574 # Replace #undef with comments. This is necessary, for example,
18575 # in the case of _POSIX_SOURCE, which is predefined and required
18576 # on some systems where configure will not decide to define it.
18577 if (defundef == "undef") {
18578 print "/*", prefix defundef, macro, "*/"
18579 next
18583 { print }
18584 _ACAWK
18585 _ACEOF
18586 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18587 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18588 fi # test -n "$CONFIG_HEADERS"
18591 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18592 shift
18593 for ac_tag
18595 case $ac_tag in
18596 :[FHLC]) ac_mode=$ac_tag; continue;;
18597 esac
18598 case $ac_mode$ac_tag in
18599 :[FHL]*:*);;
18600 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18601 :[FH]-) ac_tag=-:-;;
18602 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18603 esac
18604 ac_save_IFS=$IFS
18605 IFS=:
18606 set x $ac_tag
18607 IFS=$ac_save_IFS
18608 shift
18609 ac_file=$1
18610 shift
18612 case $ac_mode in
18613 :L) ac_source=$1;;
18614 :[FH])
18615 ac_file_inputs=
18616 for ac_f
18618 case $ac_f in
18619 -) ac_f="$ac_tmp/stdin";;
18620 *) # Look for the file first in the build tree, then in the source tree
18621 # (if the path is not absolute). The absolute path cannot be DOS-style,
18622 # because $ac_f cannot contain `:'.
18623 test -f "$ac_f" ||
18624 case $ac_f in
18625 [\\/$]*) false;;
18626 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18627 esac ||
18628 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18629 esac
18630 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18631 as_fn_append ac_file_inputs " '$ac_f'"
18632 done
18634 # Let's still pretend it is `configure' which instantiates (i.e., don't
18635 # use $as_me), people would be surprised to read:
18636 # /* config.h. Generated by config.status. */
18637 configure_input='Generated from '`
18638 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18639 `' by configure.'
18640 if test x"$ac_file" != x-; then
18641 configure_input="$ac_file. $configure_input"
18642 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18643 $as_echo "$as_me: creating $ac_file" >&6;}
18645 # Neutralize special characters interpreted by sed in replacement strings.
18646 case $configure_input in #(
18647 *\&* | *\|* | *\\* )
18648 ac_sed_conf_input=`$as_echo "$configure_input" |
18649 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18650 *) ac_sed_conf_input=$configure_input;;
18651 esac
18653 case $ac_tag in
18654 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18655 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18656 esac
18658 esac
18660 ac_dir=`$as_dirname -- "$ac_file" ||
18661 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18662 X"$ac_file" : 'X\(//\)[^/]' \| \
18663 X"$ac_file" : 'X\(//\)$' \| \
18664 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18665 $as_echo X"$ac_file" |
18666 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18667 s//\1/
18670 /^X\(\/\/\)[^/].*/{
18671 s//\1/
18674 /^X\(\/\/\)$/{
18675 s//\1/
18678 /^X\(\/\).*/{
18679 s//\1/
18682 s/.*/./; q'`
18683 as_dir="$ac_dir"; as_fn_mkdir_p
18684 ac_builddir=.
18686 case "$ac_dir" in
18687 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18689 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18690 # A ".." for each directory in $ac_dir_suffix.
18691 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18692 case $ac_top_builddir_sub in
18693 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18694 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18695 esac ;;
18696 esac
18697 ac_abs_top_builddir=$ac_pwd
18698 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18699 # for backward compatibility:
18700 ac_top_builddir=$ac_top_build_prefix
18702 case $srcdir in
18703 .) # We are building in place.
18704 ac_srcdir=.
18705 ac_top_srcdir=$ac_top_builddir_sub
18706 ac_abs_top_srcdir=$ac_pwd ;;
18707 [\\/]* | ?:[\\/]* ) # Absolute name.
18708 ac_srcdir=$srcdir$ac_dir_suffix;
18709 ac_top_srcdir=$srcdir
18710 ac_abs_top_srcdir=$srcdir ;;
18711 *) # Relative name.
18712 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18713 ac_top_srcdir=$ac_top_build_prefix$srcdir
18714 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18715 esac
18716 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18719 case $ac_mode in
18722 # CONFIG_FILE
18725 case $INSTALL in
18726 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18727 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18728 esac
18729 ac_MKDIR_P=$MKDIR_P
18730 case $MKDIR_P in
18731 [\\/$]* | ?:[\\/]* ) ;;
18732 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18733 esac
18734 _ACEOF
18736 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18737 # If the template does not know about datarootdir, expand it.
18738 # FIXME: This hack should be removed a few years after 2.60.
18739 ac_datarootdir_hack=; ac_datarootdir_seen=
18740 ac_sed_dataroot='
18741 /datarootdir/ {
18745 /@datadir@/p
18746 /@docdir@/p
18747 /@infodir@/p
18748 /@localedir@/p
18749 /@mandir@/p'
18750 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18751 *datarootdir*) ac_datarootdir_seen=yes;;
18752 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18753 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18754 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18755 _ACEOF
18756 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18757 ac_datarootdir_hack='
18758 s&@datadir@&$datadir&g
18759 s&@docdir@&$docdir&g
18760 s&@infodir@&$infodir&g
18761 s&@localedir@&$localedir&g
18762 s&@mandir@&$mandir&g
18763 s&\\\${datarootdir}&$datarootdir&g' ;;
18764 esac
18765 _ACEOF
18767 # Neutralize VPATH when `$srcdir' = `.'.
18768 # Shell code in configure.ac might set extrasub.
18769 # FIXME: do we really want to maintain this feature?
18770 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18771 ac_sed_extra="$ac_vpsub
18772 $extrasub
18773 _ACEOF
18774 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18776 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18777 s|@configure_input@|$ac_sed_conf_input|;t t
18778 s&@top_builddir@&$ac_top_builddir_sub&;t t
18779 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18780 s&@srcdir@&$ac_srcdir&;t t
18781 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18782 s&@top_srcdir@&$ac_top_srcdir&;t t
18783 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18784 s&@builddir@&$ac_builddir&;t t
18785 s&@abs_builddir@&$ac_abs_builddir&;t t
18786 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18787 s&@INSTALL@&$ac_INSTALL&;t t
18788 s&@MKDIR_P@&$ac_MKDIR_P&;t t
18789 $ac_datarootdir_hack
18791 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
18792 if $ac_cs_awk_getline; then
18793 $AWK -f "$ac_tmp/subs.awk"
18794 else
18795 $AWK -f "$ac_tmp/subs.awk" | $SHELL
18796 fi \
18797 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18799 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18800 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18801 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18802 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18803 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18804 which seems to be undefined. Please make sure it is defined" >&5
18805 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18806 which seems to be undefined. Please make sure it is defined" >&2;}
18808 rm -f "$ac_tmp/stdin"
18809 case $ac_file in
18810 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18811 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18812 esac \
18813 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18817 # CONFIG_HEADER
18819 if test x"$ac_file" != x-; then
18821 $as_echo "/* $configure_input */" \
18822 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18823 } >"$ac_tmp/config.h" \
18824 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18825 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18826 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18827 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18828 else
18829 rm -f "$ac_file"
18830 mv "$ac_tmp/config.h" "$ac_file" \
18831 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18833 else
18834 $as_echo "/* $configure_input */" \
18835 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18836 || as_fn_error $? "could not create -" "$LINENO" 5
18841 # CONFIG_LINK
18844 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
18846 else
18847 # Prefer the file from the source tree if names are identical.
18848 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
18849 ac_source=$srcdir/$ac_source
18852 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
18853 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
18855 if test ! -r "$ac_source"; then
18856 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
18858 rm -f "$ac_file"
18860 # Try a relative symlink, then a hard link, then a copy.
18861 case $ac_source in
18862 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
18863 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
18864 esac
18865 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
18866 ln "$ac_source" "$ac_file" 2>/dev/null ||
18867 cp -p "$ac_source" "$ac_file" ||
18868 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
18871 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18872 $as_echo "$as_me: executing $ac_file commands" >&6;}
18874 esac
18877 case $ac_file$ac_mode in
18878 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
18879 "dlls/gdi32/dibdrv":C) test -d "dlls/gdi32/dibdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/dibdrv" >&5
18880 $as_echo "$as_me: creating dlls/gdi32/dibdrv" >&6;}; as_dir="dlls/gdi32/dibdrv"; as_fn_mkdir_p; } ;;
18881 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/enhmfdrv" >&5
18882 $as_echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;}; as_dir="dlls/gdi32/enhmfdrv"; as_fn_mkdir_p; } ;;
18883 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/mfdrv" >&5
18884 $as_echo "$as_me: creating dlls/gdi32/mfdrv" >&6;}; as_dir="dlls/gdi32/mfdrv"; as_fn_mkdir_p; } ;;
18885 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/kernel32/nls" >&5
18886 $as_echo "$as_me: creating dlls/kernel32/nls" >&6;}; as_dir="dlls/kernel32/nls"; as_fn_mkdir_p; } ;;
18887 "dlls/user32/resources":C) test -d "dlls/user32/resources" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/user32/resources" >&5
18888 $as_echo "$as_me: creating dlls/user32/resources" >&6;}; as_dir="dlls/user32/resources"; as_fn_mkdir_p; } ;;
18889 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/wineps.drv/data" >&5
18890 $as_echo "$as_me: creating dlls/wineps.drv/data" >&6;}; as_dir="dlls/wineps.drv/data"; as_fn_mkdir_p; } ;;
18891 "include/wine":C) test -d "include/wine" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating include/wine" >&5
18892 $as_echo "$as_me: creating include/wine" >&6;}; as_dir="include/wine"; as_fn_mkdir_p; } ;;
18893 "Makefile":C) wine_fn_output_makefile Makefile ;;
18895 esac
18896 done # for ac_tag
18899 as_fn_exit 0
18900 _ACEOF
18901 ac_clean_files=$ac_clean_files_save
18903 test $ac_write_fail = 0 ||
18904 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18907 # configure is writing to config.log, and then calls config.status.
18908 # config.status does its own redirection, appending to config.log.
18909 # Unfortunately, on DOS this fails, as config.log is still kept open
18910 # by configure, so config.status won't be able to write to it; its
18911 # output is simply discarded. So we exec the FD to /dev/null,
18912 # effectively closing config.log, so it can be properly (re)opened and
18913 # appended to by config.status. When coming back to configure, we
18914 # need to make the FD available again.
18915 if test "$no_create" != yes; then
18916 ac_cs_success=:
18917 ac_config_status_args=
18918 test "$silent" = yes &&
18919 ac_config_status_args="$ac_config_status_args --quiet"
18920 exec 5>/dev/null
18921 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18922 exec 5>>config.log
18923 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18924 # would make configure fail if this is the last instruction.
18925 $ac_cs_success || as_fn_exit 1
18927 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18928 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18929 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18933 if test "$no_create" = "yes"
18934 then
18935 exit 0
18938 ac_save_IFS="$IFS"
18939 if test "x$wine_notices != "x; then
18940 echo >&6
18941 IFS="|"
18942 for msg in $wine_notices; do
18943 IFS="$ac_save_IFS"
18944 if test -n "$msg"; then
18945 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
18946 $as_echo "$as_me: $msg" >&6;}
18948 done
18950 IFS="|"
18951 for msg in $wine_warnings; do
18952 IFS="$ac_save_IFS"
18953 if test -n "$msg"; then
18954 echo >&2
18955 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
18956 $as_echo "$as_me: WARNING: $msg" >&2;}
18958 done
18959 IFS="$ac_save_IFS"
18961 $as_echo "
18962 $as_me: Finished. Do '${ac_make}' to compile Wine.
18963 " >&6