secur32/tests: Constify a character string.
[wine/wine-gecko.git] / configure
blob10dea9a9b4d8874af57877901c3bc1f3283c459d
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.9.
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.9'
584 PACKAGE_STRING='Wine 1.7.9'
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 MAKE_TEST_RULES
630 MAKE_PROG_RULES
631 MAKE_DLL_RULES
632 MAKE_IMPLIB_RULES
633 LDAPLIBS
634 LIBRT
635 LIBPOLL
636 LIBDL
637 TOOLSEXT
638 UNWINDFLAGS
639 BUILTINFLAG
640 EXTRACFLAGS
641 LIBPROCSTAT
642 LIBKSTAT
643 LIBOPENAL
644 MPG123_LIBS
645 MPG123_CFLAGS
646 TIFF_LIBS
647 TIFF_CFLAGS
648 PNG_LIBS
649 PNG_CFLAGS
650 JPEG_LIBS
651 JPEG_CFLAGS
652 FONTCONFIGINCL
653 CUPSINCL
654 CAPI20_LIBS
655 CAPI20_CFLAGS
656 OSS4INCL
657 ALSALIBS
658 GSTREAMER_LIBS
659 GSTREAMER_CFLAGS
660 LIBGETTEXTPO
661 ZLIB
662 FREETYPE_LIBS
663 FREETYPE_CFLAGS
664 LCMS2_LIBS
665 LCMS2_CFLAGS
666 RESOLVLIBS
667 GPHOTO2_PORT_LIBS
668 GPHOTO2_PORT_CFLAGS
669 GPHOTO2_LIBS
670 GPHOTO2_CFLAGS
671 SANE_LIBS
672 SANE_CFLAGS
673 GNUTLS_LIBS
674 GNUTLS_CFLAGS
675 HAL_LIBS
676 HAL_CFLAGS
677 DBUS_LIBS
678 DBUS_CFLAGS
679 XSLT_LIBS
680 XSLT_CFLAGS
681 XML2_LIBS
682 XML2_CFLAGS
683 X_EXTRA_LIBS
684 X_LIBS
685 X_PRE_LIBS
686 X_CFLAGS
687 XMKMF
688 LIBPTHREAD
689 CROSSCC
690 CROSSTARGET
691 PRELINK
692 CARBONLIB
693 QUICKTIMELIB
694 LIBOPENCL
695 FRAMEWORK_OPENAL
696 COREAUDIO
697 SECURITYLIB
698 DISKARBITRATIONLIB
699 APPKITLIB
700 CORESERVICESLIB
701 APPLICATIONSERVICESLIB
702 FORCEFEEDBACKLIB
703 IOKITLIB
704 COREFOUNDATIONLIB
705 LIBWINE_RULES
706 SOCKETLIBS
707 DLLTOOL
708 LOADER_RULES
709 ALL_TEST_RESOURCES
710 READELF
712 LDRPATH_LOCAL
713 LDRPATH_INSTALL
714 IMPLIBEXT
715 DLLFLAGS
716 DLLPREFIX
717 dlldir
719 OPENGL_LIBS
720 XLIB
721 ICOTOOL
722 CONVERT
723 RSVG
724 FONTFORGE
725 PKG_CONFIG
726 MSGFMT
727 INSTALL_DATA
728 INSTALL_SCRIPT
729 INSTALL_PROGRAM
730 INSTALL
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 TARGETFLAGS
745 CPPBIN
746 ac_ct_CXX
747 CXXFLAGS
749 OBJEXT
750 EXEEXT
751 ac_ct_CC
752 CPPFLAGS
753 LDFLAGS
754 CFLAGS
756 SET_MAKE
757 host_os
758 host_vendor
759 host_cpu
760 host
761 build_os
762 build_vendor
763 build_cpu
764 build
765 target_alias
766 host_alias
767 build_alias
768 LIBS
769 ECHO_T
770 ECHO_N
771 ECHO_C
772 DEFS
773 mandir
774 localedir
775 libdir
776 psdir
777 pdfdir
778 dvidir
779 htmldir
780 infodir
781 docdir
782 oldincludedir
783 includedir
784 localstatedir
785 sharedstatedir
786 sysconfdir
787 datadir
788 datarootdir
789 libexecdir
790 sbindir
791 bindir
792 program_transform_name
793 prefix
794 exec_prefix
795 PACKAGE_URL
796 PACKAGE_BUGREPORT
797 PACKAGE_STRING
798 PACKAGE_VERSION
799 PACKAGE_TARNAME
800 PACKAGE_NAME
801 PATH_SEPARATOR
802 SHELL'
803 ac_subst_files='MAKE_RULES'
804 ac_user_opts='
805 enable_option_checking
806 enable_win16
807 enable_win64
808 enable_tests
809 enable_maintainer_mode
810 with_alsa
811 with_capi
812 with_cms
813 with_coreaudio
814 with_cups
815 with_curses
816 with_dbus
817 with_fontconfig
818 with_freetype
819 with_gettext
820 with_gettextpo
821 with_gphoto
822 with_glu
823 with_gnutls
824 with_gsm
825 with_gstreamer
826 with_hal
827 with_jpeg
828 with_ldap
829 with_mpg123
830 with_netapi
831 with_openal
832 with_opencl
833 with_opengl
834 with_osmesa
835 with_oss
836 with_png
837 with_pthread
838 with_sane
839 with_tiff
840 with_v4l
841 with_xcomposite
842 with_xcursor
843 with_xinerama
844 with_xinput
845 with_xinput2
846 with_xml
847 with_xrandr
848 with_xrender
849 with_xshape
850 with_xshm
851 with_xslt
852 with_xxf86vm
853 with_zlib
854 with_wine_tools
855 with_wine64
856 enable_largefile
857 with_x
858 enable_acledit
859 enable_aclui
860 enable_activeds
861 enable_actxprxy
862 enable_advapi32
863 enable_advpack
864 enable_amstream
865 enable_api_ms_win_core_localregistry_l1_1_0
866 enable_api_ms_win_core_processthreads_l1_1_0
867 enable_api_ms_win_core_winrt_error_l1_1_0
868 enable_api_ms_win_core_winrt_string_l1_1_0
869 enable_api_ms_win_downlevel_advapi32_l1_1_0
870 enable_api_ms_win_downlevel_advapi32_l2_1_0
871 enable_api_ms_win_downlevel_normaliz_l1_1_0
872 enable_api_ms_win_downlevel_ole32_l1_1_0
873 enable_api_ms_win_downlevel_shell32_l1_1_0
874 enable_api_ms_win_downlevel_shlwapi_l1_1_0
875 enable_api_ms_win_downlevel_shlwapi_l2_1_0
876 enable_api_ms_win_downlevel_user32_l1_1_0
877 enable_api_ms_win_downlevel_version_l1_1_0
878 enable_api_ms_win_security_base_l1_1_0
879 enable_apphelp
880 enable_appwiz_cpl
881 enable_atl
882 enable_atl100
883 enable_atl110
884 enable_atl80
885 enable_atl90
886 enable_authz
887 enable_avicap32
888 enable_avifil32
889 enable_avrt
890 enable_bcrypt
891 enable_browseui
892 enable_cabinet
893 enable_capi2032
894 enable_cards
895 enable_cfgmgr32
896 enable_clusapi
897 enable_comcat
898 enable_comctl32
899 enable_comdlg32
900 enable_compstui
901 enable_comsvcs
902 enable_credui
903 enable_crtdll
904 enable_crypt32
905 enable_cryptdlg
906 enable_cryptdll
907 enable_cryptnet
908 enable_cryptui
909 enable_ctapi32
910 enable_ctl3d32
911 enable_d3d10
912 enable_d3d10core
913 enable_d3d11
914 enable_d3d8
915 enable_d3d9
916 enable_d3dcompiler_33
917 enable_d3dcompiler_34
918 enable_d3dcompiler_35
919 enable_d3dcompiler_36
920 enable_d3dcompiler_37
921 enable_d3dcompiler_38
922 enable_d3dcompiler_39
923 enable_d3dcompiler_40
924 enable_d3dcompiler_41
925 enable_d3dcompiler_42
926 enable_d3dcompiler_43
927 enable_d3dim
928 enable_d3drm
929 enable_d3dx10_33
930 enable_d3dx10_34
931 enable_d3dx10_35
932 enable_d3dx10_36
933 enable_d3dx10_37
934 enable_d3dx10_38
935 enable_d3dx10_39
936 enable_d3dx10_40
937 enable_d3dx10_41
938 enable_d3dx10_42
939 enable_d3dx10_43
940 enable_d3dx11_42
941 enable_d3dx11_43
942 enable_d3dx9_24
943 enable_d3dx9_25
944 enable_d3dx9_26
945 enable_d3dx9_27
946 enable_d3dx9_28
947 enable_d3dx9_29
948 enable_d3dx9_30
949 enable_d3dx9_31
950 enable_d3dx9_32
951 enable_d3dx9_33
952 enable_d3dx9_34
953 enable_d3dx9_35
954 enable_d3dx9_36
955 enable_d3dx9_37
956 enable_d3dx9_38
957 enable_d3dx9_39
958 enable_d3dx9_40
959 enable_d3dx9_41
960 enable_d3dx9_42
961 enable_d3dx9_43
962 enable_d3dxof
963 enable_dbgeng
964 enable_dbghelp
965 enable_dciman32
966 enable_ddraw
967 enable_ddrawex
968 enable_devenum
969 enable_dhcpcsvc
970 enable_difxapi
971 enable_dinput
972 enable_dinput8
973 enable_dispex
974 enable_dmband
975 enable_dmcompos
976 enable_dmime
977 enable_dmloader
978 enable_dmscript
979 enable_dmstyle
980 enable_dmsynth
981 enable_dmusic
982 enable_dmusic32
983 enable_dnsapi
984 enable_dplay
985 enable_dplayx
986 enable_dpnaddr
987 enable_dpnet
988 enable_dpnhpast
989 enable_dpnlobby
990 enable_dpwsockx
991 enable_drmclien
992 enable_dsound
993 enable_dssenh
994 enable_dswave
995 enable_dwmapi
996 enable_dwrite
997 enable_dxdiagn
998 enable_dxgi
999 enable_explorerframe
1000 enable_faultrep
1001 enable_fltlib
1002 enable_fusion
1003 enable_fwpuclnt
1004 enable_gameux
1005 enable_gdi32
1006 enable_gdiplus
1007 enable_glu32
1008 enable_gphoto2_ds
1009 enable_gpkcsp
1010 enable_hal
1011 enable_hhctrl_ocx
1012 enable_hid
1013 enable_hlink
1014 enable_hnetcfg
1015 enable_httpapi
1016 enable_iccvid
1017 enable_icmp
1018 enable_ieframe
1019 enable_imaadp32_acm
1020 enable_imagehlp
1021 enable_imm32
1022 enable_inetcomm
1023 enable_inetcpl_cpl
1024 enable_inetmib1
1025 enable_infosoft
1026 enable_initpki
1027 enable_inkobj
1028 enable_inseng
1029 enable_iphlpapi
1030 enable_itircl
1031 enable_itss
1032 enable_joy_cpl
1033 enable_jscript
1034 enable_kernel32
1035 enable_ktmw32
1036 enable_loadperf
1037 enable_localspl
1038 enable_localui
1039 enable_lz32
1040 enable_mapi32
1041 enable_mapistub
1042 enable_mciavi32
1043 enable_mcicda
1044 enable_mciqtz32
1045 enable_mciseq
1046 enable_mciwave
1047 enable_mgmtapi
1048 enable_midimap
1049 enable_mlang
1050 enable_mmcndmgr
1051 enable_mmdevapi
1052 enable_mountmgr_sys
1053 enable_mpr
1054 enable_mprapi
1055 enable_msacm32_drv
1056 enable_msacm32
1057 enable_msadp32_acm
1058 enable_mscat32
1059 enable_mscms
1060 enable_mscoree
1061 enable_msctf
1062 enable_msdaps
1063 enable_msdmo
1064 enable_msftedit
1065 enable_msg711_acm
1066 enable_msgsm32_acm
1067 enable_mshtml_tlb
1068 enable_mshtml
1069 enable_msi
1070 enable_msident
1071 enable_msimg32
1072 enable_msimsg
1073 enable_msimtf
1074 enable_msisip
1075 enable_msisys_ocx
1076 enable_msls31
1077 enable_msnet32
1078 enable_mspatcha
1079 enable_msrle32
1080 enable_mssign32
1081 enable_mssip32
1082 enable_mstask
1083 enable_msvcirt
1084 enable_msvcm80
1085 enable_msvcm90
1086 enable_msvcp100
1087 enable_msvcp110
1088 enable_msvcp60
1089 enable_msvcp70
1090 enable_msvcp71
1091 enable_msvcp80
1092 enable_msvcp90
1093 enable_msvcr100
1094 enable_msvcr110
1095 enable_msvcr70
1096 enable_msvcr71
1097 enable_msvcr80
1098 enable_msvcr90
1099 enable_msvcrt
1100 enable_msvcrt20
1101 enable_msvcrt40
1102 enable_msvcrtd
1103 enable_msvfw32
1104 enable_msvidc32
1105 enable_mswsock
1106 enable_msxml
1107 enable_msxml2
1108 enable_msxml3
1109 enable_msxml4
1110 enable_msxml6
1111 enable_nddeapi
1112 enable_netapi32
1113 enable_netcfgx
1114 enable_newdev
1115 enable_normaliz
1116 enable_npmshtml
1117 enable_ntdll
1118 enable_ntdsapi
1119 enable_ntoskrnl_exe
1120 enable_ntprint
1121 enable_objsel
1122 enable_odbc32
1123 enable_odbccp32
1124 enable_odbccu32
1125 enable_ole32
1126 enable_oleacc
1127 enable_oleaut32
1128 enable_olecli32
1129 enable_oledb32
1130 enable_oledlg
1131 enable_olepro32
1132 enable_olesvr32
1133 enable_olethk32
1134 enable_openal32
1135 enable_opencl
1136 enable_opengl32
1137 enable_pdh
1138 enable_photometadatahandler
1139 enable_pidgen
1140 enable_powrprof
1141 enable_printui
1142 enable_propsys
1143 enable_psapi
1144 enable_pstorec
1145 enable_qcap
1146 enable_qedit
1147 enable_qmgr
1148 enable_qmgrprxy
1149 enable_quartz
1150 enable_query
1151 enable_rasapi32
1152 enable_rasdlg
1153 enable_regapi
1154 enable_resutils
1155 enable_riched20
1156 enable_riched32
1157 enable_rpcrt4
1158 enable_rsabase
1159 enable_rsaenh
1160 enable_rstrtmgr
1161 enable_rtutils
1162 enable_samlib
1163 enable_sane_ds
1164 enable_scarddlg
1165 enable_sccbase
1166 enable_schannel
1167 enable_scrrun
1168 enable_scsiport_sys
1169 enable_secur32
1170 enable_security
1171 enable_sensapi
1172 enable_serialui
1173 enable_setupapi
1174 enable_sfc
1175 enable_sfc_os
1176 enable_shdoclc
1177 enable_shdocvw
1178 enable_shell32
1179 enable_shfolder
1180 enable_shlwapi
1181 enable_slbcsp
1182 enable_slc
1183 enable_snmpapi
1184 enable_softpub
1185 enable_spoolss
1186 enable_stdole2_tlb
1187 enable_stdole32_tlb
1188 enable_sti
1189 enable_svrapi
1190 enable_sxs
1191 enable_t2embed
1192 enable_tapi32
1193 enable_taskschd
1194 enable_traffic
1195 enable_twain_32
1196 enable_unicows
1197 enable_updspapi
1198 enable_url
1199 enable_urlmon
1200 enable_usbd_sys
1201 enable_user32
1202 enable_userenv
1203 enable_usp10
1204 enable_uxtheme
1205 enable_vbscript
1206 enable_vcomp
1207 enable_vcomp100
1208 enable_vcomp90
1209 enable_vdmdbg
1210 enable_version
1211 enable_wbemdisp
1212 enable_wbemprox
1213 enable_webservices
1214 enable_wer
1215 enable_wevtapi
1216 enable_wiaservc
1217 enable_windowscodecs
1218 enable_windowscodecsext
1219 enable_winealsa_drv
1220 enable_winecoreaudio_drv
1221 enable_wined3d
1222 enable_winegstreamer
1223 enable_winejoystick_drv
1224 enable_winemac_drv
1225 enable_winemapi
1226 enable_winemp3_acm
1227 enable_wineoss_drv
1228 enable_wineps_drv
1229 enable_wineqtdecoder
1230 enable_winex11_drv
1231 enable_wing32
1232 enable_winhttp
1233 enable_wininet
1234 enable_winmm
1235 enable_winnls32
1236 enable_winscard
1237 enable_winspool_drv
1238 enable_winsta
1239 enable_wintab32
1240 enable_wintrust
1241 enable_wlanapi
1242 enable_wldap32
1243 enable_wmi
1244 enable_wmiutils
1245 enable_wmvcore
1246 enable_wnaspi32
1247 enable_ws2_32
1248 enable_wshom_ocx
1249 enable_wsnmp32
1250 enable_wsock32
1251 enable_wtsapi32
1252 enable_wuapi
1253 enable_wuaueng
1254 enable_xapofx1_1
1255 enable_xinput1_1
1256 enable_xinput1_2
1257 enable_xinput1_3
1258 enable_xinput1_4
1259 enable_xinput9_1_0
1260 enable_xmllite
1261 enable_xolehlp
1262 enable_xpsprint
1263 enable_xpssvcs
1264 enable_documentation
1265 enable_fonts
1266 enable_include
1267 enable_libs_port
1268 enable_libs_wine
1269 enable_libs_wpp
1270 enable_loader
1271 enable_arp
1272 enable_aspnet_regiis
1273 enable_attrib
1274 enable_cabarc
1275 enable_cacls
1276 enable_clock
1277 enable_cmd
1278 enable_conhost
1279 enable_control
1280 enable_cscript
1281 enable_dxdiag
1282 enable_eject
1283 enable_expand
1284 enable_explorer
1285 enable_extrac32
1286 enable_findstr
1287 enable_hh
1288 enable_hostname
1289 enable_icinfo
1290 enable_iexplore
1291 enable_ipconfig
1292 enable_lodctr
1293 enable_mofcomp
1294 enable_mshta
1295 enable_msiexec
1296 enable_net
1297 enable_netsh
1298 enable_netstat
1299 enable_ngen
1300 enable_notepad
1301 enable_oleview
1302 enable_ping
1303 enable_plugplay
1304 enable_presentationfontcache
1305 enable_progman
1306 enable_reg
1307 enable_regasm
1308 enable_regedit
1309 enable_regsvcs
1310 enable_regsvr32
1311 enable_rpcss
1312 enable_rundll32
1313 enable_sc
1314 enable_schtasks
1315 enable_secedit
1316 enable_servicemodelreg
1317 enable_services
1318 enable_spoolsv
1319 enable_start
1320 enable_svchost
1321 enable_taskkill
1322 enable_tasklist
1323 enable_taskmgr
1324 enable_termsv
1325 enable_uninstaller
1326 enable_unlodctr
1327 enable_view
1328 enable_wineboot
1329 enable_winebrowser
1330 enable_winecfg
1331 enable_wineconsole
1332 enable_winedbg
1333 enable_winedevice
1334 enable_winefile
1335 enable_winemenubuilder
1336 enable_winemine
1337 enable_winemsibuilder
1338 enable_winepath
1339 enable_winetest
1340 enable_winhlp32
1341 enable_winver
1342 enable_wmic
1343 enable_wordpad
1344 enable_write
1345 enable_wscript
1346 enable_wusa
1347 enable_xcopy
1348 enable_server
1349 enable_tools
1351 ac_precious_vars='build_alias
1352 host_alias
1353 target_alias
1355 CFLAGS
1356 LDFLAGS
1357 LIBS
1358 CPPFLAGS
1360 CXXFLAGS
1363 XMKMF
1364 XML2_CFLAGS
1365 XML2_LIBS
1366 XSLT_CFLAGS
1367 XSLT_LIBS
1368 DBUS_CFLAGS
1369 DBUS_LIBS
1370 HAL_CFLAGS
1371 HAL_LIBS
1372 GNUTLS_CFLAGS
1373 GNUTLS_LIBS
1374 SANE_CFLAGS
1375 SANE_LIBS
1376 GPHOTO2_CFLAGS
1377 GPHOTO2_LIBS
1378 GPHOTO2_PORT_CFLAGS
1379 GPHOTO2_PORT_LIBS
1380 LCMS2_CFLAGS
1381 LCMS2_LIBS
1382 FREETYPE_CFLAGS
1383 FREETYPE_LIBS
1384 GSTREAMER_CFLAGS
1385 GSTREAMER_LIBS
1386 CAPI20_CFLAGS
1387 CAPI20_LIBS
1388 JPEG_CFLAGS
1389 JPEG_LIBS
1390 PNG_CFLAGS
1391 PNG_LIBS
1392 TIFF_CFLAGS
1393 TIFF_LIBS
1394 MPG123_CFLAGS
1395 MPG123_LIBS'
1398 # Initialize some variables set by options.
1399 ac_init_help=
1400 ac_init_version=false
1401 ac_unrecognized_opts=
1402 ac_unrecognized_sep=
1403 # The variables have the same names as the options, with
1404 # dashes changed to underlines.
1405 cache_file=/dev/null
1406 exec_prefix=NONE
1407 no_create=
1408 no_recursion=
1409 prefix=NONE
1410 program_prefix=NONE
1411 program_suffix=NONE
1412 program_transform_name=s,x,x,
1413 silent=
1414 site=
1415 srcdir=
1416 verbose=
1417 x_includes=NONE
1418 x_libraries=NONE
1420 # Installation directory options.
1421 # These are left unexpanded so users can "make install exec_prefix=/foo"
1422 # and all the variables that are supposed to be based on exec_prefix
1423 # by default will actually change.
1424 # Use braces instead of parens because sh, perl, etc. also accept them.
1425 # (The list follows the same order as the GNU Coding Standards.)
1426 bindir='${exec_prefix}/bin'
1427 sbindir='${exec_prefix}/sbin'
1428 libexecdir='${exec_prefix}/libexec'
1429 datarootdir='${prefix}/share'
1430 datadir='${datarootdir}'
1431 sysconfdir='${prefix}/etc'
1432 sharedstatedir='${prefix}/com'
1433 localstatedir='${prefix}/var'
1434 includedir='${prefix}/include'
1435 oldincludedir='/usr/include'
1436 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1437 infodir='${datarootdir}/info'
1438 htmldir='${docdir}'
1439 dvidir='${docdir}'
1440 pdfdir='${docdir}'
1441 psdir='${docdir}'
1442 libdir='${exec_prefix}/lib'
1443 localedir='${datarootdir}/locale'
1444 mandir='${datarootdir}/man'
1446 ac_prev=
1447 ac_dashdash=
1448 for ac_option
1450 # If the previous option needs an argument, assign it.
1451 if test -n "$ac_prev"; then
1452 eval $ac_prev=\$ac_option
1453 ac_prev=
1454 continue
1457 case $ac_option in
1458 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1459 *=) ac_optarg= ;;
1460 *) ac_optarg=yes ;;
1461 esac
1463 # Accept the important Cygnus configure options, so we can diagnose typos.
1465 case $ac_dashdash$ac_option in
1467 ac_dashdash=yes ;;
1469 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1470 ac_prev=bindir ;;
1471 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1472 bindir=$ac_optarg ;;
1474 -build | --build | --buil | --bui | --bu)
1475 ac_prev=build_alias ;;
1476 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1477 build_alias=$ac_optarg ;;
1479 -cache-file | --cache-file | --cache-fil | --cache-fi \
1480 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1481 ac_prev=cache_file ;;
1482 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1483 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1484 cache_file=$ac_optarg ;;
1486 --config-cache | -C)
1487 cache_file=config.cache ;;
1489 -datadir | --datadir | --datadi | --datad)
1490 ac_prev=datadir ;;
1491 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1492 datadir=$ac_optarg ;;
1494 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1495 | --dataroo | --dataro | --datar)
1496 ac_prev=datarootdir ;;
1497 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1498 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1499 datarootdir=$ac_optarg ;;
1501 -disable-* | --disable-*)
1502 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1503 # Reject names that are not valid shell variable names.
1504 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1505 as_fn_error $? "invalid feature name: $ac_useropt"
1506 ac_useropt_orig=$ac_useropt
1507 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1508 case $ac_user_opts in
1510 "enable_$ac_useropt"
1511 "*) ;;
1512 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1513 ac_unrecognized_sep=', ';;
1514 esac
1515 eval enable_$ac_useropt=no ;;
1517 -docdir | --docdir | --docdi | --doc | --do)
1518 ac_prev=docdir ;;
1519 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1520 docdir=$ac_optarg ;;
1522 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1523 ac_prev=dvidir ;;
1524 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1525 dvidir=$ac_optarg ;;
1527 -enable-* | --enable-*)
1528 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1529 # Reject names that are not valid shell variable names.
1530 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1531 as_fn_error $? "invalid feature name: $ac_useropt"
1532 ac_useropt_orig=$ac_useropt
1533 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1534 case $ac_user_opts in
1536 "enable_$ac_useropt"
1537 "*) ;;
1538 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1539 ac_unrecognized_sep=', ';;
1540 esac
1541 eval enable_$ac_useropt=\$ac_optarg ;;
1543 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1544 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1545 | --exec | --exe | --ex)
1546 ac_prev=exec_prefix ;;
1547 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1548 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1549 | --exec=* | --exe=* | --ex=*)
1550 exec_prefix=$ac_optarg ;;
1552 -gas | --gas | --ga | --g)
1553 # Obsolete; use --with-gas.
1554 with_gas=yes ;;
1556 -help | --help | --hel | --he | -h)
1557 ac_init_help=long ;;
1558 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1559 ac_init_help=recursive ;;
1560 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1561 ac_init_help=short ;;
1563 -host | --host | --hos | --ho)
1564 ac_prev=host_alias ;;
1565 -host=* | --host=* | --hos=* | --ho=*)
1566 host_alias=$ac_optarg ;;
1568 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1569 ac_prev=htmldir ;;
1570 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1571 | --ht=*)
1572 htmldir=$ac_optarg ;;
1574 -includedir | --includedir | --includedi | --included | --include \
1575 | --includ | --inclu | --incl | --inc)
1576 ac_prev=includedir ;;
1577 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1578 | --includ=* | --inclu=* | --incl=* | --inc=*)
1579 includedir=$ac_optarg ;;
1581 -infodir | --infodir | --infodi | --infod | --info | --inf)
1582 ac_prev=infodir ;;
1583 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1584 infodir=$ac_optarg ;;
1586 -libdir | --libdir | --libdi | --libd)
1587 ac_prev=libdir ;;
1588 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1589 libdir=$ac_optarg ;;
1591 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1592 | --libexe | --libex | --libe)
1593 ac_prev=libexecdir ;;
1594 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1595 | --libexe=* | --libex=* | --libe=*)
1596 libexecdir=$ac_optarg ;;
1598 -localedir | --localedir | --localedi | --localed | --locale)
1599 ac_prev=localedir ;;
1600 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1601 localedir=$ac_optarg ;;
1603 -localstatedir | --localstatedir | --localstatedi | --localstated \
1604 | --localstate | --localstat | --localsta | --localst | --locals)
1605 ac_prev=localstatedir ;;
1606 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1607 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1608 localstatedir=$ac_optarg ;;
1610 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1611 ac_prev=mandir ;;
1612 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1613 mandir=$ac_optarg ;;
1615 -nfp | --nfp | --nf)
1616 # Obsolete; use --without-fp.
1617 with_fp=no ;;
1619 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1620 | --no-cr | --no-c | -n)
1621 no_create=yes ;;
1623 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1624 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1625 no_recursion=yes ;;
1627 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1628 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1629 | --oldin | --oldi | --old | --ol | --o)
1630 ac_prev=oldincludedir ;;
1631 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1632 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1633 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1634 oldincludedir=$ac_optarg ;;
1636 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1637 ac_prev=prefix ;;
1638 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1639 prefix=$ac_optarg ;;
1641 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1642 | --program-pre | --program-pr | --program-p)
1643 ac_prev=program_prefix ;;
1644 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1645 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1646 program_prefix=$ac_optarg ;;
1648 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1649 | --program-suf | --program-su | --program-s)
1650 ac_prev=program_suffix ;;
1651 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1652 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1653 program_suffix=$ac_optarg ;;
1655 -program-transform-name | --program-transform-name \
1656 | --program-transform-nam | --program-transform-na \
1657 | --program-transform-n | --program-transform- \
1658 | --program-transform | --program-transfor \
1659 | --program-transfo | --program-transf \
1660 | --program-trans | --program-tran \
1661 | --progr-tra | --program-tr | --program-t)
1662 ac_prev=program_transform_name ;;
1663 -program-transform-name=* | --program-transform-name=* \
1664 | --program-transform-nam=* | --program-transform-na=* \
1665 | --program-transform-n=* | --program-transform-=* \
1666 | --program-transform=* | --program-transfor=* \
1667 | --program-transfo=* | --program-transf=* \
1668 | --program-trans=* | --program-tran=* \
1669 | --progr-tra=* | --program-tr=* | --program-t=*)
1670 program_transform_name=$ac_optarg ;;
1672 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1673 ac_prev=pdfdir ;;
1674 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1675 pdfdir=$ac_optarg ;;
1677 -psdir | --psdir | --psdi | --psd | --ps)
1678 ac_prev=psdir ;;
1679 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1680 psdir=$ac_optarg ;;
1682 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1683 | -silent | --silent | --silen | --sile | --sil)
1684 silent=yes ;;
1686 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1687 ac_prev=sbindir ;;
1688 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1689 | --sbi=* | --sb=*)
1690 sbindir=$ac_optarg ;;
1692 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1693 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1694 | --sharedst | --shareds | --shared | --share | --shar \
1695 | --sha | --sh)
1696 ac_prev=sharedstatedir ;;
1697 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1698 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1699 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1700 | --sha=* | --sh=*)
1701 sharedstatedir=$ac_optarg ;;
1703 -site | --site | --sit)
1704 ac_prev=site ;;
1705 -site=* | --site=* | --sit=*)
1706 site=$ac_optarg ;;
1708 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1709 ac_prev=srcdir ;;
1710 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1711 srcdir=$ac_optarg ;;
1713 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1714 | --syscon | --sysco | --sysc | --sys | --sy)
1715 ac_prev=sysconfdir ;;
1716 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1717 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1718 sysconfdir=$ac_optarg ;;
1720 -target | --target | --targe | --targ | --tar | --ta | --t)
1721 ac_prev=target_alias ;;
1722 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1723 target_alias=$ac_optarg ;;
1725 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1726 verbose=yes ;;
1728 -version | --version | --versio | --versi | --vers | -V)
1729 ac_init_version=: ;;
1731 -with-* | --with-*)
1732 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1733 # Reject names that are not valid shell variable names.
1734 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1735 as_fn_error $? "invalid package name: $ac_useropt"
1736 ac_useropt_orig=$ac_useropt
1737 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1738 case $ac_user_opts in
1740 "with_$ac_useropt"
1741 "*) ;;
1742 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1743 ac_unrecognized_sep=', ';;
1744 esac
1745 eval with_$ac_useropt=\$ac_optarg ;;
1747 -without-* | --without-*)
1748 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1749 # Reject names that are not valid shell variable names.
1750 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1751 as_fn_error $? "invalid package name: $ac_useropt"
1752 ac_useropt_orig=$ac_useropt
1753 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1754 case $ac_user_opts in
1756 "with_$ac_useropt"
1757 "*) ;;
1758 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1759 ac_unrecognized_sep=', ';;
1760 esac
1761 eval with_$ac_useropt=no ;;
1763 --x)
1764 # Obsolete; use --with-x.
1765 with_x=yes ;;
1767 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1768 | --x-incl | --x-inc | --x-in | --x-i)
1769 ac_prev=x_includes ;;
1770 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1771 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1772 x_includes=$ac_optarg ;;
1774 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1775 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1776 ac_prev=x_libraries ;;
1777 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1778 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1779 x_libraries=$ac_optarg ;;
1781 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1782 Try \`$0 --help' for more information"
1785 *=*)
1786 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1787 # Reject names that are not valid shell variable names.
1788 case $ac_envvar in #(
1789 '' | [0-9]* | *[!_$as_cr_alnum]* )
1790 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1791 esac
1792 eval $ac_envvar=\$ac_optarg
1793 export $ac_envvar ;;
1796 # FIXME: should be removed in autoconf 3.0.
1797 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1798 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1799 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1800 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1803 esac
1804 done
1806 if test -n "$ac_prev"; then
1807 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1808 as_fn_error $? "missing argument to $ac_option"
1811 if test -n "$ac_unrecognized_opts"; then
1812 case $enable_option_checking in
1813 no) ;;
1814 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1815 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1816 esac
1819 # Check all directory arguments for consistency.
1820 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1821 datadir sysconfdir sharedstatedir localstatedir includedir \
1822 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1823 libdir localedir mandir
1825 eval ac_val=\$$ac_var
1826 # Remove trailing slashes.
1827 case $ac_val in
1828 */ )
1829 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1830 eval $ac_var=\$ac_val;;
1831 esac
1832 # Be sure to have absolute directory names.
1833 case $ac_val in
1834 [\\/$]* | ?:[\\/]* ) continue;;
1835 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1836 esac
1837 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1838 done
1840 # There might be people who depend on the old broken behavior: `$host'
1841 # used to hold the argument of --host etc.
1842 # FIXME: To remove some day.
1843 build=$build_alias
1844 host=$host_alias
1845 target=$target_alias
1847 # FIXME: To remove some day.
1848 if test "x$host_alias" != x; then
1849 if test "x$build_alias" = x; then
1850 cross_compiling=maybe
1851 elif test "x$build_alias" != "x$host_alias"; then
1852 cross_compiling=yes
1856 ac_tool_prefix=
1857 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1859 test "$silent" = yes && exec 6>/dev/null
1862 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1863 ac_ls_di=`ls -di .` &&
1864 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1865 as_fn_error $? "working directory cannot be determined"
1866 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1867 as_fn_error $? "pwd does not report name of working directory"
1870 # Find the source files, if location was not specified.
1871 if test -z "$srcdir"; then
1872 ac_srcdir_defaulted=yes
1873 # Try the directory containing this script, then the parent directory.
1874 ac_confdir=`$as_dirname -- "$as_myself" ||
1875 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1876 X"$as_myself" : 'X\(//\)[^/]' \| \
1877 X"$as_myself" : 'X\(//\)$' \| \
1878 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1879 $as_echo X"$as_myself" |
1880 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1881 s//\1/
1884 /^X\(\/\/\)[^/].*/{
1885 s//\1/
1888 /^X\(\/\/\)$/{
1889 s//\1/
1892 /^X\(\/\).*/{
1893 s//\1/
1896 s/.*/./; q'`
1897 srcdir=$ac_confdir
1898 if test ! -r "$srcdir/$ac_unique_file"; then
1899 srcdir=..
1901 else
1902 ac_srcdir_defaulted=no
1904 if test ! -r "$srcdir/$ac_unique_file"; then
1905 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1906 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1908 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1909 ac_abs_confdir=`(
1910 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1911 pwd)`
1912 # When building in place, set srcdir=.
1913 if test "$ac_abs_confdir" = "$ac_pwd"; then
1914 srcdir=.
1916 # Remove unnecessary trailing slashes from srcdir.
1917 # Double slashes in file names in object file debugging info
1918 # mess up M-x gdb in Emacs.
1919 case $srcdir in
1920 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1921 esac
1922 for ac_var in $ac_precious_vars; do
1923 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1924 eval ac_env_${ac_var}_value=\$${ac_var}
1925 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1926 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1927 done
1930 # Report the --help message.
1932 if test "$ac_init_help" = "long"; then
1933 # Omit some internal or obsolete options to make the list less imposing.
1934 # This message is too long to be a string in the A/UX 3.1 sh.
1935 cat <<_ACEOF
1936 \`configure' configures Wine 1.7.9 to adapt to many kinds of systems.
1938 Usage: $0 [OPTION]... [VAR=VALUE]...
1940 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1941 VAR=VALUE. See below for descriptions of some of the useful variables.
1943 Defaults for the options are specified in brackets.
1945 Configuration:
1946 -h, --help display this help and exit
1947 --help=short display options specific to this package
1948 --help=recursive display the short help of all the included packages
1949 -V, --version display version information and exit
1950 -q, --quiet, --silent do not print \`checking ...' messages
1951 --cache-file=FILE cache test results in FILE [disabled]
1952 -C, --config-cache alias for \`--cache-file=config.cache'
1953 -n, --no-create do not create output files
1954 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1956 Installation directories:
1957 --prefix=PREFIX install architecture-independent files in PREFIX
1958 [$ac_default_prefix]
1959 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1960 [PREFIX]
1962 By default, \`make install' will install all the files in
1963 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1964 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1965 for instance \`--prefix=\$HOME'.
1967 For better control, use the options below.
1969 Fine tuning of the installation directories:
1970 --bindir=DIR user executables [EPREFIX/bin]
1971 --sbindir=DIR system admin executables [EPREFIX/sbin]
1972 --libexecdir=DIR program executables [EPREFIX/libexec]
1973 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1974 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1975 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1976 --libdir=DIR object code libraries [EPREFIX/lib]
1977 --includedir=DIR C header files [PREFIX/include]
1978 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1979 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1980 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1981 --infodir=DIR info documentation [DATAROOTDIR/info]
1982 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1983 --mandir=DIR man documentation [DATAROOTDIR/man]
1984 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1985 --htmldir=DIR html documentation [DOCDIR]
1986 --dvidir=DIR dvi documentation [DOCDIR]
1987 --pdfdir=DIR pdf documentation [DOCDIR]
1988 --psdir=DIR ps documentation [DOCDIR]
1989 _ACEOF
1991 cat <<\_ACEOF
1993 X features:
1994 --x-includes=DIR X include files are in DIR
1995 --x-libraries=DIR X library files are in DIR
1997 System types:
1998 --build=BUILD configure for building on BUILD [guessed]
1999 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2000 _ACEOF
2003 if test -n "$ac_init_help"; then
2004 case $ac_init_help in
2005 short | recursive ) echo "Configuration of Wine 1.7.9:";;
2006 esac
2007 cat <<\_ACEOF
2009 Optional Features:
2010 --disable-option-checking ignore unrecognized --enable/--with options
2011 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2012 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2013 --disable-win16 do not include Win16 support
2014 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2015 binaries)
2016 --disable-tests do not build the regression tests
2017 --enable-maintainer-mode
2018 enable maintainer-specific build rules
2019 --disable-largefile omit support for large files
2021 Optional Packages:
2022 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2023 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2024 --without-alsa do not use the Alsa sound support
2025 --without-capi do not use CAPI (ISDN support)
2026 --without-cms do not use CMS (color management support)
2027 --without-coreaudio do not use the CoreAudio sound support
2028 --without-cups do not use CUPS
2029 --without-curses do not use (n)curses
2030 --without-dbus do not use DBus (dynamic device support)
2031 --without-fontconfig do not use fontconfig
2032 --without-freetype do not use the FreeType library
2033 --without-gettext do not use gettext
2034 --with-gettextpo use the GetTextPO library to rebuild po files
2035 --without-gphoto do not use gphoto (Digital Camera support)
2036 --without-glu do not use the GLU library
2037 --without-gnutls do not use GnuTLS (schannel support)
2038 --without-gsm do not use libgsm (GSM 06.10 codec support)
2039 --without-gstreamer do not use GStreamer (codecs support)
2040 --without-hal do not use HAL (dynamic device support)
2041 --without-jpeg do not use JPEG
2042 --without-ldap do not use LDAP
2043 --without-mpg123 do not use the mpg123 library
2044 --without-netapi do not use the Samba NetAPI 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.9
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.9, 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-netapi was given.
3240 if test "${with_netapi+set}" = set; then :
3241 withval=$with_netapi;
3245 # Check whether --with-openal was given.
3246 if test "${with_openal+set}" = set; then :
3247 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3251 # Check whether --with-opencl was given.
3252 if test "${with_opencl+set}" = set; then :
3253 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3257 # Check whether --with-opengl was given.
3258 if test "${with_opengl+set}" = set; then :
3259 withval=$with_opengl;
3263 # Check whether --with-osmesa was given.
3264 if test "${with_osmesa+set}" = set; then :
3265 withval=$with_osmesa;
3269 # Check whether --with-oss was given.
3270 if test "${with_oss+set}" = set; then :
3271 withval=$with_oss;
3275 # Check whether --with-png was given.
3276 if test "${with_png+set}" = set; then :
3277 withval=$with_png;
3281 # Check whether --with-pthread was given.
3282 if test "${with_pthread+set}" = set; then :
3283 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3287 # Check whether --with-sane was given.
3288 if test "${with_sane+set}" = set; then :
3289 withval=$with_sane;
3293 # Check whether --with-tiff was given.
3294 if test "${with_tiff+set}" = set; then :
3295 withval=$with_tiff;
3299 # Check whether --with-v4l was given.
3300 if test "${with_v4l+set}" = set; then :
3301 withval=$with_v4l;
3305 # Check whether --with-xcomposite was given.
3306 if test "${with_xcomposite+set}" = set; then :
3307 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3311 # Check whether --with-xcursor was given.
3312 if test "${with_xcursor+set}" = set; then :
3313 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3317 # Check whether --with-xinerama was given.
3318 if test "${with_xinerama+set}" = set; then :
3319 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3323 # Check whether --with-xinput was given.
3324 if test "${with_xinput+set}" = set; then :
3325 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3329 # Check whether --with-xinput2 was given.
3330 if test "${with_xinput2+set}" = set; then :
3331 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3335 # Check whether --with-xml was given.
3336 if test "${with_xml+set}" = set; then :
3337 withval=$with_xml;
3341 # Check whether --with-xrandr was given.
3342 if test "${with_xrandr+set}" = set; then :
3343 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3347 # Check whether --with-xrender was given.
3348 if test "${with_xrender+set}" = set; then :
3349 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3353 # Check whether --with-xshape was given.
3354 if test "${with_xshape+set}" = set; then :
3355 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3359 # Check whether --with-xshm was given.
3360 if test "${with_xshm+set}" = set; then :
3361 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3365 # Check whether --with-xslt was given.
3366 if test "${with_xslt+set}" = set; then :
3367 withval=$with_xslt;
3371 # Check whether --with-xxf86vm was given.
3372 if test "${with_xxf86vm+set}" = set; then :
3373 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
3377 # Check whether --with-zlib was given.
3378 if test "${with_zlib+set}" = set; then :
3379 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3384 # Check whether --with-wine-tools was given.
3385 if test "${with_wine_tools+set}" = set; then :
3386 withval=$with_wine_tools;
3390 # Check whether --with-wine64 was given.
3391 if test "${with_wine64+set}" = set; then :
3392 withval=$with_wine64;
3396 # Make sure we can run config.sub.
3397 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3398 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3401 $as_echo_n "checking build system type... " >&6; }
3402 if ${ac_cv_build+:} false; then :
3403 $as_echo_n "(cached) " >&6
3404 else
3405 ac_build_alias=$build_alias
3406 test "x$ac_build_alias" = x &&
3407 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3408 test "x$ac_build_alias" = x &&
3409 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3410 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3411 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3415 $as_echo "$ac_cv_build" >&6; }
3416 case $ac_cv_build in
3417 *-*-*) ;;
3418 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3419 esac
3420 build=$ac_cv_build
3421 ac_save_IFS=$IFS; IFS='-'
3422 set x $ac_cv_build
3423 shift
3424 build_cpu=$1
3425 build_vendor=$2
3426 shift; shift
3427 # Remember, the first character of IFS is used to create $*,
3428 # except with old shells:
3429 build_os=$*
3430 IFS=$ac_save_IFS
3431 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3435 $as_echo_n "checking host system type... " >&6; }
3436 if ${ac_cv_host+:} false; then :
3437 $as_echo_n "(cached) " >&6
3438 else
3439 if test "x$host_alias" = x; then
3440 ac_cv_host=$ac_cv_build
3441 else
3442 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3443 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3448 $as_echo "$ac_cv_host" >&6; }
3449 case $ac_cv_host in
3450 *-*-*) ;;
3451 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3452 esac
3453 host=$ac_cv_host
3454 ac_save_IFS=$IFS; IFS='-'
3455 set x $ac_cv_host
3456 shift
3457 host_cpu=$1
3458 host_vendor=$2
3459 shift; shift
3460 # Remember, the first character of IFS is used to create $*,
3461 # except with old shells:
3462 host_os=$*
3463 IFS=$ac_save_IFS
3464 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3468 case "$srcdir" in
3469 .) ;;
3470 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3471 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3472 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3473 fi ;;
3474 esac
3477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3478 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3479 set x ${MAKE-make}
3480 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3481 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3482 $as_echo_n "(cached) " >&6
3483 else
3484 cat >conftest.make <<\_ACEOF
3485 SHELL = /bin/sh
3486 all:
3487 @echo '@@@%%%=$(MAKE)=@@@%%%'
3488 _ACEOF
3489 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3490 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3491 *@@@%%%=?*=@@@%%%*)
3492 eval ac_cv_prog_make_${ac_make}_set=yes;;
3494 eval ac_cv_prog_make_${ac_make}_set=no;;
3495 esac
3496 rm -f conftest.make
3498 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3500 $as_echo "yes" >&6; }
3501 SET_MAKE=
3502 else
3503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3504 $as_echo "no" >&6; }
3505 SET_MAKE="MAKE=${MAKE-make}"
3508 ac_ext=c
3509 ac_cpp='$CPP $CPPFLAGS'
3510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3513 if test -n "$ac_tool_prefix"; then
3514 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3515 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3517 $as_echo_n "checking for $ac_word... " >&6; }
3518 if ${ac_cv_prog_CC+:} false; then :
3519 $as_echo_n "(cached) " >&6
3520 else
3521 if test -n "$CC"; then
3522 ac_cv_prog_CC="$CC" # Let the user override the test.
3523 else
3524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3525 for as_dir in $PATH
3527 IFS=$as_save_IFS
3528 test -z "$as_dir" && as_dir=.
3529 for ac_exec_ext in '' $ac_executable_extensions; do
3530 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3531 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3533 break 2
3535 done
3536 done
3537 IFS=$as_save_IFS
3541 CC=$ac_cv_prog_CC
3542 if test -n "$CC"; then
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3544 $as_echo "$CC" >&6; }
3545 else
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3547 $as_echo "no" >&6; }
3552 if test -z "$ac_cv_prog_CC"; then
3553 ac_ct_CC=$CC
3554 # Extract the first word of "gcc", so it can be a program name with args.
3555 set dummy gcc; ac_word=$2
3556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3557 $as_echo_n "checking for $ac_word... " >&6; }
3558 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3559 $as_echo_n "(cached) " >&6
3560 else
3561 if test -n "$ac_ct_CC"; then
3562 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3563 else
3564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3565 for as_dir in $PATH
3567 IFS=$as_save_IFS
3568 test -z "$as_dir" && as_dir=.
3569 for ac_exec_ext in '' $ac_executable_extensions; do
3570 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3571 ac_cv_prog_ac_ct_CC="gcc"
3572 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3573 break 2
3575 done
3576 done
3577 IFS=$as_save_IFS
3581 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3582 if test -n "$ac_ct_CC"; then
3583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3584 $as_echo "$ac_ct_CC" >&6; }
3585 else
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3587 $as_echo "no" >&6; }
3590 if test "x$ac_ct_CC" = x; then
3591 CC=""
3592 else
3593 case $cross_compiling:$ac_tool_warned in
3594 yes:)
3595 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3596 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3597 ac_tool_warned=yes ;;
3598 esac
3599 CC=$ac_ct_CC
3601 else
3602 CC="$ac_cv_prog_CC"
3605 if test -z "$CC"; then
3606 if test -n "$ac_tool_prefix"; then
3607 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3608 set dummy ${ac_tool_prefix}cc; ac_word=$2
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3610 $as_echo_n "checking for $ac_word... " >&6; }
3611 if ${ac_cv_prog_CC+:} false; then :
3612 $as_echo_n "(cached) " >&6
3613 else
3614 if test -n "$CC"; then
3615 ac_cv_prog_CC="$CC" # Let the user override the test.
3616 else
3617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3618 for as_dir in $PATH
3620 IFS=$as_save_IFS
3621 test -z "$as_dir" && as_dir=.
3622 for ac_exec_ext in '' $ac_executable_extensions; do
3623 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3624 ac_cv_prog_CC="${ac_tool_prefix}cc"
3625 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3626 break 2
3628 done
3629 done
3630 IFS=$as_save_IFS
3634 CC=$ac_cv_prog_CC
3635 if test -n "$CC"; then
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3637 $as_echo "$CC" >&6; }
3638 else
3639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3640 $as_echo "no" >&6; }
3646 if test -z "$CC"; then
3647 # Extract the first word of "cc", so it can be a program name with args.
3648 set dummy cc; ac_word=$2
3649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3650 $as_echo_n "checking for $ac_word... " >&6; }
3651 if ${ac_cv_prog_CC+:} false; then :
3652 $as_echo_n "(cached) " >&6
3653 else
3654 if test -n "$CC"; then
3655 ac_cv_prog_CC="$CC" # Let the user override the test.
3656 else
3657 ac_prog_rejected=no
3658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3659 for as_dir in $PATH
3661 IFS=$as_save_IFS
3662 test -z "$as_dir" && as_dir=.
3663 for ac_exec_ext in '' $ac_executable_extensions; do
3664 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3665 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3666 ac_prog_rejected=yes
3667 continue
3669 ac_cv_prog_CC="cc"
3670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3671 break 2
3673 done
3674 done
3675 IFS=$as_save_IFS
3677 if test $ac_prog_rejected = yes; then
3678 # We found a bogon in the path, so make sure we never use it.
3679 set dummy $ac_cv_prog_CC
3680 shift
3681 if test $# != 0; then
3682 # We chose a different compiler from the bogus one.
3683 # However, it has the same basename, so the bogon will be chosen
3684 # first if we set CC to just the basename; use the full file name.
3685 shift
3686 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3691 CC=$ac_cv_prog_CC
3692 if test -n "$CC"; then
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3694 $as_echo "$CC" >&6; }
3695 else
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3697 $as_echo "no" >&6; }
3702 if test -z "$CC"; then
3703 if test -n "$ac_tool_prefix"; then
3704 for ac_prog in cl.exe
3706 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3707 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3709 $as_echo_n "checking for $ac_word... " >&6; }
3710 if ${ac_cv_prog_CC+:} false; then :
3711 $as_echo_n "(cached) " >&6
3712 else
3713 if test -n "$CC"; then
3714 ac_cv_prog_CC="$CC" # Let the user override the test.
3715 else
3716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3717 for as_dir in $PATH
3719 IFS=$as_save_IFS
3720 test -z "$as_dir" && as_dir=.
3721 for ac_exec_ext in '' $ac_executable_extensions; do
3722 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3723 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3725 break 2
3727 done
3728 done
3729 IFS=$as_save_IFS
3733 CC=$ac_cv_prog_CC
3734 if test -n "$CC"; then
3735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3736 $as_echo "$CC" >&6; }
3737 else
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3739 $as_echo "no" >&6; }
3743 test -n "$CC" && break
3744 done
3746 if test -z "$CC"; then
3747 ac_ct_CC=$CC
3748 for ac_prog in cl.exe
3750 # Extract the first word of "$ac_prog", so it can be a program name with args.
3751 set dummy $ac_prog; ac_word=$2
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3753 $as_echo_n "checking for $ac_word... " >&6; }
3754 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3755 $as_echo_n "(cached) " >&6
3756 else
3757 if test -n "$ac_ct_CC"; then
3758 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3759 else
3760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3761 for as_dir in $PATH
3763 IFS=$as_save_IFS
3764 test -z "$as_dir" && as_dir=.
3765 for ac_exec_ext in '' $ac_executable_extensions; do
3766 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3767 ac_cv_prog_ac_ct_CC="$ac_prog"
3768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3769 break 2
3771 done
3772 done
3773 IFS=$as_save_IFS
3777 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3778 if test -n "$ac_ct_CC"; then
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3780 $as_echo "$ac_ct_CC" >&6; }
3781 else
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3783 $as_echo "no" >&6; }
3787 test -n "$ac_ct_CC" && break
3788 done
3790 if test "x$ac_ct_CC" = x; then
3791 CC=""
3792 else
3793 case $cross_compiling:$ac_tool_warned in
3794 yes:)
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3796 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3797 ac_tool_warned=yes ;;
3798 esac
3799 CC=$ac_ct_CC
3806 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3807 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3808 as_fn_error $? "no acceptable C compiler found in \$PATH
3809 See \`config.log' for more details" "$LINENO" 5; }
3811 # Provide some information about the compiler.
3812 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3813 set X $ac_compile
3814 ac_compiler=$2
3815 for ac_option in --version -v -V -qversion; do
3816 { { ac_try="$ac_compiler $ac_option >&5"
3817 case "(($ac_try" in
3818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3819 *) ac_try_echo=$ac_try;;
3820 esac
3821 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3822 $as_echo "$ac_try_echo"; } >&5
3823 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3824 ac_status=$?
3825 if test -s conftest.err; then
3826 sed '10a\
3827 ... rest of stderr output deleted ...
3828 10q' conftest.err >conftest.er1
3829 cat conftest.er1 >&5
3831 rm -f conftest.er1 conftest.err
3832 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3833 test $ac_status = 0; }
3834 done
3836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3837 /* end confdefs.h. */
3840 main ()
3844 return 0;
3846 _ACEOF
3847 ac_clean_files_save=$ac_clean_files
3848 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3849 # Try to create an executable without -o first, disregard a.out.
3850 # It will help us diagnose broken compilers, and finding out an intuition
3851 # of exeext.
3852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3853 $as_echo_n "checking whether the C compiler works... " >&6; }
3854 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3856 # The possible output files:
3857 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3859 ac_rmfiles=
3860 for ac_file in $ac_files
3862 case $ac_file in
3863 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3864 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3865 esac
3866 done
3867 rm -f $ac_rmfiles
3869 if { { ac_try="$ac_link_default"
3870 case "(($ac_try" in
3871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3872 *) ac_try_echo=$ac_try;;
3873 esac
3874 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3875 $as_echo "$ac_try_echo"; } >&5
3876 (eval "$ac_link_default") 2>&5
3877 ac_status=$?
3878 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3879 test $ac_status = 0; }; then :
3880 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3881 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3882 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3883 # so that the user can short-circuit this test for compilers unknown to
3884 # Autoconf.
3885 for ac_file in $ac_files ''
3887 test -f "$ac_file" || continue
3888 case $ac_file in
3889 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3891 [ab].out )
3892 # We found the default executable, but exeext='' is most
3893 # certainly right.
3894 break;;
3895 *.* )
3896 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3897 then :; else
3898 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3900 # We set ac_cv_exeext here because the later test for it is not
3901 # safe: cross compilers may not add the suffix if given an `-o'
3902 # argument, so we may need to know it at that point already.
3903 # Even if this section looks crufty: it has the advantage of
3904 # actually working.
3905 break;;
3907 break;;
3908 esac
3909 done
3910 test "$ac_cv_exeext" = no && ac_cv_exeext=
3912 else
3913 ac_file=''
3915 if test -z "$ac_file"; then :
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3917 $as_echo "no" >&6; }
3918 $as_echo "$as_me: failed program was:" >&5
3919 sed 's/^/| /' conftest.$ac_ext >&5
3921 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3922 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3923 as_fn_error 77 "C compiler cannot create executables
3924 See \`config.log' for more details" "$LINENO" 5; }
3925 else
3926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3927 $as_echo "yes" >&6; }
3929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3930 $as_echo_n "checking for C compiler default output file name... " >&6; }
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3932 $as_echo "$ac_file" >&6; }
3933 ac_exeext=$ac_cv_exeext
3935 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3936 ac_clean_files=$ac_clean_files_save
3937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3938 $as_echo_n "checking for suffix of executables... " >&6; }
3939 if { { ac_try="$ac_link"
3940 case "(($ac_try" in
3941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3942 *) ac_try_echo=$ac_try;;
3943 esac
3944 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3945 $as_echo "$ac_try_echo"; } >&5
3946 (eval "$ac_link") 2>&5
3947 ac_status=$?
3948 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3949 test $ac_status = 0; }; then :
3950 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3951 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3952 # work properly (i.e., refer to `conftest.exe'), while it won't with
3953 # `rm'.
3954 for ac_file in conftest.exe conftest conftest.*; do
3955 test -f "$ac_file" || continue
3956 case $ac_file in
3957 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3958 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3959 break;;
3960 * ) break;;
3961 esac
3962 done
3963 else
3964 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3965 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3966 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3967 See \`config.log' for more details" "$LINENO" 5; }
3969 rm -f conftest conftest$ac_cv_exeext
3970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3971 $as_echo "$ac_cv_exeext" >&6; }
3973 rm -f conftest.$ac_ext
3974 EXEEXT=$ac_cv_exeext
3975 ac_exeext=$EXEEXT
3976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3977 /* end confdefs.h. */
3978 #include <stdio.h>
3980 main ()
3982 FILE *f = fopen ("conftest.out", "w");
3983 return ferror (f) || fclose (f) != 0;
3986 return 0;
3988 _ACEOF
3989 ac_clean_files="$ac_clean_files conftest.out"
3990 # Check that the compiler produces executables we can run. If not, either
3991 # the compiler is broken, or we cross compile.
3992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3993 $as_echo_n "checking whether we are cross compiling... " >&6; }
3994 if test "$cross_compiling" != yes; then
3995 { { ac_try="$ac_link"
3996 case "(($ac_try" in
3997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3998 *) ac_try_echo=$ac_try;;
3999 esac
4000 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4001 $as_echo "$ac_try_echo"; } >&5
4002 (eval "$ac_link") 2>&5
4003 ac_status=$?
4004 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4005 test $ac_status = 0; }
4006 if { ac_try='./conftest$ac_cv_exeext'
4007 { { case "(($ac_try" in
4008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4009 *) ac_try_echo=$ac_try;;
4010 esac
4011 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4012 $as_echo "$ac_try_echo"; } >&5
4013 (eval "$ac_try") 2>&5
4014 ac_status=$?
4015 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4016 test $ac_status = 0; }; }; then
4017 cross_compiling=no
4018 else
4019 if test "$cross_compiling" = maybe; then
4020 cross_compiling=yes
4021 else
4022 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4023 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4024 as_fn_error $? "cannot run C compiled programs.
4025 If you meant to cross compile, use \`--host'.
4026 See \`config.log' for more details" "$LINENO" 5; }
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4031 $as_echo "$cross_compiling" >&6; }
4033 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4034 ac_clean_files=$ac_clean_files_save
4035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4036 $as_echo_n "checking for suffix of object files... " >&6; }
4037 if ${ac_cv_objext+:} false; then :
4038 $as_echo_n "(cached) " >&6
4039 else
4040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4041 /* end confdefs.h. */
4044 main ()
4048 return 0;
4050 _ACEOF
4051 rm -f conftest.o conftest.obj
4052 if { { ac_try="$ac_compile"
4053 case "(($ac_try" in
4054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4055 *) ac_try_echo=$ac_try;;
4056 esac
4057 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4058 $as_echo "$ac_try_echo"; } >&5
4059 (eval "$ac_compile") 2>&5
4060 ac_status=$?
4061 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4062 test $ac_status = 0; }; then :
4063 for ac_file in conftest.o conftest.obj conftest.*; do
4064 test -f "$ac_file" || continue;
4065 case $ac_file in
4066 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4067 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4068 break;;
4069 esac
4070 done
4071 else
4072 $as_echo "$as_me: failed program was:" >&5
4073 sed 's/^/| /' conftest.$ac_ext >&5
4075 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4076 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4077 as_fn_error $? "cannot compute suffix of object files: cannot compile
4078 See \`config.log' for more details" "$LINENO" 5; }
4080 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4083 $as_echo "$ac_cv_objext" >&6; }
4084 OBJEXT=$ac_cv_objext
4085 ac_objext=$OBJEXT
4086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4087 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4088 if ${ac_cv_c_compiler_gnu+:} false; then :
4089 $as_echo_n "(cached) " >&6
4090 else
4091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4092 /* end confdefs.h. */
4095 main ()
4097 #ifndef __GNUC__
4098 choke me
4099 #endif
4102 return 0;
4104 _ACEOF
4105 if ac_fn_c_try_compile "$LINENO"; then :
4106 ac_compiler_gnu=yes
4107 else
4108 ac_compiler_gnu=no
4110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4111 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4115 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4116 if test $ac_compiler_gnu = yes; then
4117 GCC=yes
4118 else
4119 GCC=
4121 ac_test_CFLAGS=${CFLAGS+set}
4122 ac_save_CFLAGS=$CFLAGS
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4124 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4125 if ${ac_cv_prog_cc_g+:} false; then :
4126 $as_echo_n "(cached) " >&6
4127 else
4128 ac_save_c_werror_flag=$ac_c_werror_flag
4129 ac_c_werror_flag=yes
4130 ac_cv_prog_cc_g=no
4131 CFLAGS="-g"
4132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4133 /* end confdefs.h. */
4136 main ()
4140 return 0;
4142 _ACEOF
4143 if ac_fn_c_try_compile "$LINENO"; then :
4144 ac_cv_prog_cc_g=yes
4145 else
4146 CFLAGS=""
4147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4148 /* end confdefs.h. */
4151 main ()
4155 return 0;
4157 _ACEOF
4158 if ac_fn_c_try_compile "$LINENO"; then :
4160 else
4161 ac_c_werror_flag=$ac_save_c_werror_flag
4162 CFLAGS="-g"
4163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4164 /* end confdefs.h. */
4167 main ()
4171 return 0;
4173 _ACEOF
4174 if ac_fn_c_try_compile "$LINENO"; then :
4175 ac_cv_prog_cc_g=yes
4177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4182 ac_c_werror_flag=$ac_save_c_werror_flag
4184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4185 $as_echo "$ac_cv_prog_cc_g" >&6; }
4186 if test "$ac_test_CFLAGS" = set; then
4187 CFLAGS=$ac_save_CFLAGS
4188 elif test $ac_cv_prog_cc_g = yes; then
4189 if test "$GCC" = yes; then
4190 CFLAGS="-g -O2"
4191 else
4192 CFLAGS="-g"
4194 else
4195 if test "$GCC" = yes; then
4196 CFLAGS="-O2"
4197 else
4198 CFLAGS=
4201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4202 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4203 if ${ac_cv_prog_cc_c89+:} false; then :
4204 $as_echo_n "(cached) " >&6
4205 else
4206 ac_cv_prog_cc_c89=no
4207 ac_save_CC=$CC
4208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4209 /* end confdefs.h. */
4210 #include <stdarg.h>
4211 #include <stdio.h>
4212 struct stat;
4213 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4214 struct buf { int x; };
4215 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4216 static char *e (p, i)
4217 char **p;
4218 int i;
4220 return p[i];
4222 static char *f (char * (*g) (char **, int), char **p, ...)
4224 char *s;
4225 va_list v;
4226 va_start (v,p);
4227 s = g (p, va_arg (v,int));
4228 va_end (v);
4229 return s;
4232 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4233 function prototypes and stuff, but not '\xHH' hex character constants.
4234 These don't provoke an error unfortunately, instead are silently treated
4235 as 'x'. The following induces an error, until -std is added to get
4236 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4237 array size at least. It's necessary to write '\x00'==0 to get something
4238 that's true only with -std. */
4239 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4241 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4242 inside strings and character constants. */
4243 #define FOO(x) 'x'
4244 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4246 int test (int i, double x);
4247 struct s1 {int (*f) (int a);};
4248 struct s2 {int (*f) (double a);};
4249 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4250 int argc;
4251 char **argv;
4253 main ()
4255 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4257 return 0;
4259 _ACEOF
4260 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4261 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4263 CC="$ac_save_CC $ac_arg"
4264 if ac_fn_c_try_compile "$LINENO"; then :
4265 ac_cv_prog_cc_c89=$ac_arg
4267 rm -f core conftest.err conftest.$ac_objext
4268 test "x$ac_cv_prog_cc_c89" != "xno" && break
4269 done
4270 rm -f conftest.$ac_ext
4271 CC=$ac_save_CC
4274 # AC_CACHE_VAL
4275 case "x$ac_cv_prog_cc_c89" in
4277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4278 $as_echo "none needed" >&6; } ;;
4279 xno)
4280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4281 $as_echo "unsupported" >&6; } ;;
4283 CC="$CC $ac_cv_prog_cc_c89"
4284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4285 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4286 esac
4287 if test "x$ac_cv_prog_cc_c89" != xno; then :
4291 ac_ext=c
4292 ac_cpp='$CPP $CPPFLAGS'
4293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4297 ac_ext=cpp
4298 ac_cpp='$CXXCPP $CPPFLAGS'
4299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4302 if test -z "$CXX"; then
4303 if test -n "$CCC"; then
4304 CXX=$CCC
4305 else
4306 if test -n "$ac_tool_prefix"; then
4307 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4309 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4310 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4312 $as_echo_n "checking for $ac_word... " >&6; }
4313 if ${ac_cv_prog_CXX+:} false; then :
4314 $as_echo_n "(cached) " >&6
4315 else
4316 if test -n "$CXX"; then
4317 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4318 else
4319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4320 for as_dir in $PATH
4322 IFS=$as_save_IFS
4323 test -z "$as_dir" && as_dir=.
4324 for ac_exec_ext in '' $ac_executable_extensions; do
4325 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4326 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4328 break 2
4330 done
4331 done
4332 IFS=$as_save_IFS
4336 CXX=$ac_cv_prog_CXX
4337 if test -n "$CXX"; then
4338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4339 $as_echo "$CXX" >&6; }
4340 else
4341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4342 $as_echo "no" >&6; }
4346 test -n "$CXX" && break
4347 done
4349 if test -z "$CXX"; then
4350 ac_ct_CXX=$CXX
4351 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4353 # Extract the first word of "$ac_prog", so it can be a program name with args.
4354 set dummy $ac_prog; ac_word=$2
4355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4356 $as_echo_n "checking for $ac_word... " >&6; }
4357 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4358 $as_echo_n "(cached) " >&6
4359 else
4360 if test -n "$ac_ct_CXX"; then
4361 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4362 else
4363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4364 for as_dir in $PATH
4366 IFS=$as_save_IFS
4367 test -z "$as_dir" && as_dir=.
4368 for ac_exec_ext in '' $ac_executable_extensions; do
4369 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4370 ac_cv_prog_ac_ct_CXX="$ac_prog"
4371 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4372 break 2
4374 done
4375 done
4376 IFS=$as_save_IFS
4380 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4381 if test -n "$ac_ct_CXX"; then
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4383 $as_echo "$ac_ct_CXX" >&6; }
4384 else
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4386 $as_echo "no" >&6; }
4390 test -n "$ac_ct_CXX" && break
4391 done
4393 if test "x$ac_ct_CXX" = x; then
4394 CXX="g++"
4395 else
4396 case $cross_compiling:$ac_tool_warned in
4397 yes:)
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4399 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4400 ac_tool_warned=yes ;;
4401 esac
4402 CXX=$ac_ct_CXX
4408 # Provide some information about the compiler.
4409 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4410 set X $ac_compile
4411 ac_compiler=$2
4412 for ac_option in --version -v -V -qversion; do
4413 { { ac_try="$ac_compiler $ac_option >&5"
4414 case "(($ac_try" in
4415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4416 *) ac_try_echo=$ac_try;;
4417 esac
4418 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4419 $as_echo "$ac_try_echo"; } >&5
4420 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4421 ac_status=$?
4422 if test -s conftest.err; then
4423 sed '10a\
4424 ... rest of stderr output deleted ...
4425 10q' conftest.err >conftest.er1
4426 cat conftest.er1 >&5
4428 rm -f conftest.er1 conftest.err
4429 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4430 test $ac_status = 0; }
4431 done
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4434 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4435 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4436 $as_echo_n "(cached) " >&6
4437 else
4438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4439 /* end confdefs.h. */
4442 main ()
4444 #ifndef __GNUC__
4445 choke me
4446 #endif
4449 return 0;
4451 _ACEOF
4452 if ac_fn_cxx_try_compile "$LINENO"; then :
4453 ac_compiler_gnu=yes
4454 else
4455 ac_compiler_gnu=no
4457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4458 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4462 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4463 if test $ac_compiler_gnu = yes; then
4464 GXX=yes
4465 else
4466 GXX=
4468 ac_test_CXXFLAGS=${CXXFLAGS+set}
4469 ac_save_CXXFLAGS=$CXXFLAGS
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4471 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4472 if ${ac_cv_prog_cxx_g+:} false; then :
4473 $as_echo_n "(cached) " >&6
4474 else
4475 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4476 ac_cxx_werror_flag=yes
4477 ac_cv_prog_cxx_g=no
4478 CXXFLAGS="-g"
4479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4480 /* end confdefs.h. */
4483 main ()
4487 return 0;
4489 _ACEOF
4490 if ac_fn_cxx_try_compile "$LINENO"; then :
4491 ac_cv_prog_cxx_g=yes
4492 else
4493 CXXFLAGS=""
4494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4495 /* end confdefs.h. */
4498 main ()
4502 return 0;
4504 _ACEOF
4505 if ac_fn_cxx_try_compile "$LINENO"; then :
4507 else
4508 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4509 CXXFLAGS="-g"
4510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4511 /* end confdefs.h. */
4514 main ()
4518 return 0;
4520 _ACEOF
4521 if ac_fn_cxx_try_compile "$LINENO"; then :
4522 ac_cv_prog_cxx_g=yes
4524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4529 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4532 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4533 if test "$ac_test_CXXFLAGS" = set; then
4534 CXXFLAGS=$ac_save_CXXFLAGS
4535 elif test $ac_cv_prog_cxx_g = yes; then
4536 if test "$GXX" = yes; then
4537 CXXFLAGS="-g -O2"
4538 else
4539 CXXFLAGS="-g"
4541 else
4542 if test "$GXX" = yes; then
4543 CXXFLAGS="-O2"
4544 else
4545 CXXFLAGS=
4548 ac_ext=c
4549 ac_cpp='$CPP $CPPFLAGS'
4550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4554 if test -n "$ac_tool_prefix"; then
4555 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4556 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4558 $as_echo_n "checking for $ac_word... " >&6; }
4559 if ${ac_cv_prog_CPPBIN+:} false; then :
4560 $as_echo_n "(cached) " >&6
4561 else
4562 if test -n "$CPPBIN"; then
4563 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4564 else
4565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4566 for as_dir in $PATH
4568 IFS=$as_save_IFS
4569 test -z "$as_dir" && as_dir=.
4570 for ac_exec_ext in '' $ac_executable_extensions; do
4571 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4572 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4573 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4574 break 2
4576 done
4577 done
4578 IFS=$as_save_IFS
4582 CPPBIN=$ac_cv_prog_CPPBIN
4583 if test -n "$CPPBIN"; then
4584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4585 $as_echo "$CPPBIN" >&6; }
4586 else
4587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4588 $as_echo "no" >&6; }
4593 if test -z "$ac_cv_prog_CPPBIN"; then
4594 ac_ct_CPPBIN=$CPPBIN
4595 # Extract the first word of "cpp", so it can be a program name with args.
4596 set dummy cpp; ac_word=$2
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4598 $as_echo_n "checking for $ac_word... " >&6; }
4599 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4600 $as_echo_n "(cached) " >&6
4601 else
4602 if test -n "$ac_ct_CPPBIN"; then
4603 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4604 else
4605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4606 for as_dir in $PATH
4608 IFS=$as_save_IFS
4609 test -z "$as_dir" && as_dir=.
4610 for ac_exec_ext in '' $ac_executable_extensions; do
4611 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4612 ac_cv_prog_ac_ct_CPPBIN="cpp"
4613 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4614 break 2
4616 done
4617 done
4618 IFS=$as_save_IFS
4622 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4623 if test -n "$ac_ct_CPPBIN"; then
4624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4625 $as_echo "$ac_ct_CPPBIN" >&6; }
4626 else
4627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4628 $as_echo "no" >&6; }
4631 if test "x$ac_ct_CPPBIN" = x; then
4632 CPPBIN="cpp"
4633 else
4634 case $cross_compiling:$ac_tool_warned in
4635 yes:)
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4637 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4638 ac_tool_warned=yes ;;
4639 esac
4640 CPPBIN=$ac_ct_CPPBIN
4642 else
4643 CPPBIN="$ac_cv_prog_CPPBIN"
4647 cat >>confdefs.h <<_ACEOF
4648 #define EXEEXT "$ac_exeext"
4649 _ACEOF
4652 case $host in
4653 *-darwin*)
4654 if test "x$enable_win64" = "xyes"
4655 then
4656 CC="$CC -m64"
4657 CXX="$CXX -m64"
4658 host_cpu="x86_64"
4659 notice_platform="64-bit "
4660 TARGETFLAGS="-m64"
4662 else
4663 CC="$CC -m32"
4664 CXX="$CXX -m32"
4665 host_cpu="i386"
4666 notice_platform="32-bit "
4667 TARGETFLAGS="-m32"
4669 enable_win16=${enable_win16:-yes}
4671 with_fontconfig=${with_fontconfig:-no}
4673 x86_64*)
4674 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4675 then
4676 CC="$CC -m32"
4677 CXX="$CXX -m32"
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4679 $as_echo_n "checking whether $CC works... " >&6; }
4681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4682 /* end confdefs.h. */
4685 main ()
4689 return 0;
4691 _ACEOF
4692 if ac_fn_c_try_link "$LINENO"; then :
4693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4694 $as_echo "yes" >&6; }
4695 else
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4697 $as_echo "no" >&6; }
4698 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4700 rm -f core conftest.err conftest.$ac_objext \
4701 conftest$ac_exeext conftest.$ac_ext
4702 host_cpu="i386"
4703 notice_platform="32-bit "
4704 TARGETFLAGS="-m32"
4706 enable_win16=${enable_win16:-yes}
4707 else
4708 if test "x${GCC}" = "xyes"
4709 then
4710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4711 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4713 /* end confdefs.h. */
4714 #include <stdarg.h>
4716 main ()
4718 void func(__builtin_ms_va_list *args);
4720 return 0;
4722 _ACEOF
4723 if ac_fn_c_try_compile "$LINENO"; then :
4724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4725 $as_echo "yes" >&6; }
4726 else
4727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4728 $as_echo "no" >&6; }
4729 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4733 TARGETFLAGS="-m64"
4737 arm*)
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4739 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4741 /* end confdefs.h. */
4742 int ac_test(int i) { return i; }
4744 main ()
4746 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4748 return 0;
4750 _ACEOF
4751 if ac_fn_c_try_link "$LINENO"; then :
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4753 $as_echo "yes" >&6; }
4754 else
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4756 $as_echo "no" >&6; }
4757 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4759 rm -f core conftest.err conftest.$ac_objext \
4760 conftest$ac_exeext conftest.$ac_ext
4761 CFLAGS="$CFLAGS -marm"
4763 *-mingw32*|*-cygwin*)
4764 enable_win16=${enable_win16:-no}
4765 CFLAGS="$CFLAGS -D_WIN32"
4767 i[3456789]86*)
4768 enable_win16=${enable_win16:-yes}
4770 esac
4772 enable_win16=${enable_win16:-no}
4773 enable_win64=${enable_win64:-no}
4775 enable_winetest=${enable_winetest:-$enable_tests}
4777 if test -n "$with_wine64"
4778 then
4779 if test "x$enable_win64" = "xyes"
4780 then
4781 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4782 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4784 enable_fonts=${enable_fonts:-no}
4785 enable_server=${enable_server:-no}
4786 elif test "x$enable_win64" = "xyes"
4787 then
4788 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
4791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4792 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4793 if ${wine_cv_toolsdir+:} false; then :
4794 $as_echo_n "(cached) " >&6
4795 else
4796 wine_cv_toolsdir="$with_wine_tools"
4797 if test -z "$with_wine_tools"; then
4798 if test "$cross_compiling" = "yes"; then
4799 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4800 elif test -n "$with_wine64"; then
4801 wine_cv_toolsdir="$with_wine64"
4804 if test -z "$wine_cv_toolsdir"; then
4805 wine_cv_toolsdir="\$(top_builddir)"
4806 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4807 case "$wine_cv_toolsdir" in
4808 /*) ;;
4809 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
4810 esac
4811 enable_tools=${enable_tools:-no}
4812 else
4813 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4817 $as_echo "$wine_cv_toolsdir" >&6; }
4818 TOOLSDIR=$wine_cv_toolsdir
4820 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4821 then
4822 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
4826 for ac_prog in flex
4828 # Extract the first word of "$ac_prog", so it can be a program name with args.
4829 set dummy $ac_prog; ac_word=$2
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4831 $as_echo_n "checking for $ac_word... " >&6; }
4832 if ${ac_cv_prog_FLEX+:} false; then :
4833 $as_echo_n "(cached) " >&6
4834 else
4835 if test -n "$FLEX"; then
4836 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
4837 else
4838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4839 for as_dir in $PATH
4841 IFS=$as_save_IFS
4842 test -z "$as_dir" && as_dir=.
4843 for ac_exec_ext in '' $ac_executable_extensions; do
4844 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4845 ac_cv_prog_FLEX="$ac_prog"
4846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4847 break 2
4849 done
4850 done
4851 IFS=$as_save_IFS
4855 FLEX=$ac_cv_prog_FLEX
4856 if test -n "$FLEX"; then
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4858 $as_echo "$FLEX" >&6; }
4859 else
4860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4861 $as_echo "no" >&6; }
4865 test -n "$FLEX" && break
4866 done
4867 test -n "$FLEX" || FLEX="none"
4869 if test "$FLEX" = "none"
4870 then
4871 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4874 $as_echo_n "checking whether flex is recent enough... " >&6; }
4875 cat >conftest.l <<EOF
4876 %top{
4877 #include "prediluvian.h"
4881 if $FLEX -t conftest.l >/dev/null 2>&5
4882 then
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4884 $as_echo "yes" >&6; }
4885 else
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4887 $as_echo "no" >&6; }
4888 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4891 for ac_prog in bison
4893 # Extract the first word of "$ac_prog", so it can be a program name with args.
4894 set dummy $ac_prog; ac_word=$2
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4896 $as_echo_n "checking for $ac_word... " >&6; }
4897 if ${ac_cv_prog_BISON+:} false; then :
4898 $as_echo_n "(cached) " >&6
4899 else
4900 if test -n "$BISON"; then
4901 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4902 else
4903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4904 for as_dir in $PATH
4906 IFS=$as_save_IFS
4907 test -z "$as_dir" && as_dir=.
4908 for ac_exec_ext in '' $ac_executable_extensions; do
4909 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4910 ac_cv_prog_BISON="$ac_prog"
4911 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4912 break 2
4914 done
4915 done
4916 IFS=$as_save_IFS
4920 BISON=$ac_cv_prog_BISON
4921 if test -n "$BISON"; then
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4923 $as_echo "$BISON" >&6; }
4924 else
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4926 $as_echo "no" >&6; }
4930 test -n "$BISON" && break
4931 done
4932 test -n "$BISON" || BISON="none"
4934 if test "$BISON" = "none"
4935 then
4936 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4939 if test -n "$ac_tool_prefix"; then
4940 for ac_prog in ar gar
4942 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4943 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4945 $as_echo_n "checking for $ac_word... " >&6; }
4946 if ${ac_cv_prog_AR+:} false; then :
4947 $as_echo_n "(cached) " >&6
4948 else
4949 if test -n "$AR"; then
4950 ac_cv_prog_AR="$AR" # Let the user override the test.
4951 else
4952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4953 for as_dir in $PATH
4955 IFS=$as_save_IFS
4956 test -z "$as_dir" && as_dir=.
4957 for ac_exec_ext in '' $ac_executable_extensions; do
4958 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4959 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4960 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4961 break 2
4963 done
4964 done
4965 IFS=$as_save_IFS
4969 AR=$ac_cv_prog_AR
4970 if test -n "$AR"; then
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4972 $as_echo "$AR" >&6; }
4973 else
4974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4975 $as_echo "no" >&6; }
4979 test -n "$AR" && break
4980 done
4982 if test -z "$AR"; then
4983 ac_ct_AR=$AR
4984 for ac_prog in ar gar
4986 # Extract the first word of "$ac_prog", so it can be a program name with args.
4987 set dummy $ac_prog; ac_word=$2
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4989 $as_echo_n "checking for $ac_word... " >&6; }
4990 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4991 $as_echo_n "(cached) " >&6
4992 else
4993 if test -n "$ac_ct_AR"; then
4994 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4995 else
4996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4997 for as_dir in $PATH
4999 IFS=$as_save_IFS
5000 test -z "$as_dir" && as_dir=.
5001 for ac_exec_ext in '' $ac_executable_extensions; do
5002 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5003 ac_cv_prog_ac_ct_AR="$ac_prog"
5004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5005 break 2
5007 done
5008 done
5009 IFS=$as_save_IFS
5013 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5014 if test -n "$ac_ct_AR"; then
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5016 $as_echo "$ac_ct_AR" >&6; }
5017 else
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5019 $as_echo "no" >&6; }
5023 test -n "$ac_ct_AR" && break
5024 done
5026 if test "x$ac_ct_AR" = x; then
5027 AR="ar"
5028 else
5029 case $cross_compiling:$ac_tool_warned in
5030 yes:)
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5032 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5033 ac_tool_warned=yes ;;
5034 esac
5035 AR=$ac_ct_AR
5039 if test -n "$ac_tool_prefix"; then
5040 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5041 set dummy ${ac_tool_prefix}strip; ac_word=$2
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5043 $as_echo_n "checking for $ac_word... " >&6; }
5044 if ${ac_cv_prog_STRIP+:} false; then :
5045 $as_echo_n "(cached) " >&6
5046 else
5047 if test -n "$STRIP"; then
5048 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5049 else
5050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5051 for as_dir in $PATH
5053 IFS=$as_save_IFS
5054 test -z "$as_dir" && as_dir=.
5055 for ac_exec_ext in '' $ac_executable_extensions; do
5056 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5057 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5058 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5059 break 2
5061 done
5062 done
5063 IFS=$as_save_IFS
5067 STRIP=$ac_cv_prog_STRIP
5068 if test -n "$STRIP"; then
5069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5070 $as_echo "$STRIP" >&6; }
5071 else
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5073 $as_echo "no" >&6; }
5078 if test -z "$ac_cv_prog_STRIP"; then
5079 ac_ct_STRIP=$STRIP
5080 # Extract the first word of "strip", so it can be a program name with args.
5081 set dummy strip; ac_word=$2
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5083 $as_echo_n "checking for $ac_word... " >&6; }
5084 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5085 $as_echo_n "(cached) " >&6
5086 else
5087 if test -n "$ac_ct_STRIP"; then
5088 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5089 else
5090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5091 for as_dir in $PATH
5093 IFS=$as_save_IFS
5094 test -z "$as_dir" && as_dir=.
5095 for ac_exec_ext in '' $ac_executable_extensions; do
5096 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5097 ac_cv_prog_ac_ct_STRIP="strip"
5098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5099 break 2
5101 done
5102 done
5103 IFS=$as_save_IFS
5107 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5108 if test -n "$ac_ct_STRIP"; then
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5110 $as_echo "$ac_ct_STRIP" >&6; }
5111 else
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5113 $as_echo "no" >&6; }
5116 if test "x$ac_ct_STRIP" = x; then
5117 STRIP="strip"
5118 else
5119 case $cross_compiling:$ac_tool_warned in
5120 yes:)
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5122 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5123 ac_tool_warned=yes ;;
5124 esac
5125 STRIP=$ac_ct_STRIP
5127 else
5128 STRIP="$ac_cv_prog_STRIP"
5131 ARFLAGS=rc
5133 if test -n "$ac_tool_prefix"; then
5134 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5135 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5137 $as_echo_n "checking for $ac_word... " >&6; }
5138 if ${ac_cv_prog_RANLIB+:} false; then :
5139 $as_echo_n "(cached) " >&6
5140 else
5141 if test -n "$RANLIB"; then
5142 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5143 else
5144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5145 for as_dir in $PATH
5147 IFS=$as_save_IFS
5148 test -z "$as_dir" && as_dir=.
5149 for ac_exec_ext in '' $ac_executable_extensions; do
5150 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5151 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5152 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5153 break 2
5155 done
5156 done
5157 IFS=$as_save_IFS
5161 RANLIB=$ac_cv_prog_RANLIB
5162 if test -n "$RANLIB"; then
5163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5164 $as_echo "$RANLIB" >&6; }
5165 else
5166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5167 $as_echo "no" >&6; }
5172 if test -z "$ac_cv_prog_RANLIB"; then
5173 ac_ct_RANLIB=$RANLIB
5174 # Extract the first word of "ranlib", so it can be a program name with args.
5175 set dummy ranlib; ac_word=$2
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5177 $as_echo_n "checking for $ac_word... " >&6; }
5178 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5179 $as_echo_n "(cached) " >&6
5180 else
5181 if test -n "$ac_ct_RANLIB"; then
5182 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5183 else
5184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5185 for as_dir in $PATH
5187 IFS=$as_save_IFS
5188 test -z "$as_dir" && as_dir=.
5189 for ac_exec_ext in '' $ac_executable_extensions; do
5190 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5191 ac_cv_prog_ac_ct_RANLIB="ranlib"
5192 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5193 break 2
5195 done
5196 done
5197 IFS=$as_save_IFS
5201 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5202 if test -n "$ac_ct_RANLIB"; then
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5204 $as_echo "$ac_ct_RANLIB" >&6; }
5205 else
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5207 $as_echo "no" >&6; }
5210 if test "x$ac_ct_RANLIB" = x; then
5211 RANLIB=":"
5212 else
5213 case $cross_compiling:$ac_tool_warned in
5214 yes:)
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5216 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5217 ac_tool_warned=yes ;;
5218 esac
5219 RANLIB=$ac_ct_RANLIB
5221 else
5222 RANLIB="$ac_cv_prog_RANLIB"
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5226 $as_echo_n "checking whether ln -s works... " >&6; }
5227 LN_S=$as_ln_s
5228 if test "$LN_S" = "ln -s"; then
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5230 $as_echo "yes" >&6; }
5231 else
5232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5233 $as_echo "no, using $LN_S" >&6; }
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5237 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5238 if ${ac_cv_path_GREP+:} false; then :
5239 $as_echo_n "(cached) " >&6
5240 else
5241 if test -z "$GREP"; then
5242 ac_path_GREP_found=false
5243 # Loop through the user's path and test for each of PROGNAME-LIST
5244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5245 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5247 IFS=$as_save_IFS
5248 test -z "$as_dir" && as_dir=.
5249 for ac_prog in grep ggrep; do
5250 for ac_exec_ext in '' $ac_executable_extensions; do
5251 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5252 as_fn_executable_p "$ac_path_GREP" || continue
5253 # Check for GNU ac_path_GREP and select it if it is found.
5254 # Check for GNU $ac_path_GREP
5255 case `"$ac_path_GREP" --version 2>&1` in
5256 *GNU*)
5257 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5259 ac_count=0
5260 $as_echo_n 0123456789 >"conftest.in"
5261 while :
5263 cat "conftest.in" "conftest.in" >"conftest.tmp"
5264 mv "conftest.tmp" "conftest.in"
5265 cp "conftest.in" "conftest.nl"
5266 $as_echo 'GREP' >> "conftest.nl"
5267 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5268 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5269 as_fn_arith $ac_count + 1 && ac_count=$as_val
5270 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5271 # Best one so far, save it but keep looking for a better one
5272 ac_cv_path_GREP="$ac_path_GREP"
5273 ac_path_GREP_max=$ac_count
5275 # 10*(2^10) chars as input seems more than enough
5276 test $ac_count -gt 10 && break
5277 done
5278 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5279 esac
5281 $ac_path_GREP_found && break 3
5282 done
5283 done
5284 done
5285 IFS=$as_save_IFS
5286 if test -z "$ac_cv_path_GREP"; then
5287 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5289 else
5290 ac_cv_path_GREP=$GREP
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5295 $as_echo "$ac_cv_path_GREP" >&6; }
5296 GREP="$ac_cv_path_GREP"
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5300 $as_echo_n "checking for egrep... " >&6; }
5301 if ${ac_cv_path_EGREP+:} false; then :
5302 $as_echo_n "(cached) " >&6
5303 else
5304 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5305 then ac_cv_path_EGREP="$GREP -E"
5306 else
5307 if test -z "$EGREP"; then
5308 ac_path_EGREP_found=false
5309 # Loop through the user's path and test for each of PROGNAME-LIST
5310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5311 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5313 IFS=$as_save_IFS
5314 test -z "$as_dir" && as_dir=.
5315 for ac_prog in egrep; do
5316 for ac_exec_ext in '' $ac_executable_extensions; do
5317 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5318 as_fn_executable_p "$ac_path_EGREP" || continue
5319 # Check for GNU ac_path_EGREP and select it if it is found.
5320 # Check for GNU $ac_path_EGREP
5321 case `"$ac_path_EGREP" --version 2>&1` in
5322 *GNU*)
5323 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5325 ac_count=0
5326 $as_echo_n 0123456789 >"conftest.in"
5327 while :
5329 cat "conftest.in" "conftest.in" >"conftest.tmp"
5330 mv "conftest.tmp" "conftest.in"
5331 cp "conftest.in" "conftest.nl"
5332 $as_echo 'EGREP' >> "conftest.nl"
5333 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5334 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5335 as_fn_arith $ac_count + 1 && ac_count=$as_val
5336 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5337 # Best one so far, save it but keep looking for a better one
5338 ac_cv_path_EGREP="$ac_path_EGREP"
5339 ac_path_EGREP_max=$ac_count
5341 # 10*(2^10) chars as input seems more than enough
5342 test $ac_count -gt 10 && break
5343 done
5344 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5345 esac
5347 $ac_path_EGREP_found && break 3
5348 done
5349 done
5350 done
5351 IFS=$as_save_IFS
5352 if test -z "$ac_cv_path_EGREP"; then
5353 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5355 else
5356 ac_cv_path_EGREP=$EGREP
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5362 $as_echo "$ac_cv_path_EGREP" >&6; }
5363 EGREP="$ac_cv_path_EGREP"
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
5367 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
5368 if test -z "$MKDIR_P"; then
5369 if ${ac_cv_path_mkdir+:} false; then :
5370 $as_echo_n "(cached) " >&6
5371 else
5372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5373 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
5375 IFS=$as_save_IFS
5376 test -z "$as_dir" && as_dir=.
5377 for ac_prog in mkdir gmkdir; do
5378 for ac_exec_ext in '' $ac_executable_extensions; do
5379 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
5380 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
5381 'mkdir (GNU coreutils) '* | \
5382 'mkdir (coreutils) '* | \
5383 'mkdir (fileutils) '4.1*)
5384 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
5385 break 3;;
5386 esac
5387 done
5388 done
5389 done
5390 IFS=$as_save_IFS
5394 test -d ./--version && rmdir ./--version
5395 if test "${ac_cv_path_mkdir+set}" = set; then
5396 MKDIR_P="$ac_cv_path_mkdir -p"
5397 else
5398 # As a last resort, use the slow shell script. Don't cache a
5399 # value for MKDIR_P within a source directory, because that will
5400 # break other packages using the cache if that directory is
5401 # removed, or if the value is a relative name.
5402 MKDIR_P="$ac_install_sh -d"
5405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
5406 $as_echo "$MKDIR_P" >&6; }
5408 # Extract the first word of "ldconfig", so it can be a program name with args.
5409 set dummy ldconfig; ac_word=$2
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5411 $as_echo_n "checking for $ac_word... " >&6; }
5412 if ${ac_cv_path_LDCONFIG+:} false; then :
5413 $as_echo_n "(cached) " >&6
5414 else
5415 case $LDCONFIG in
5416 [\\/]* | ?:[\\/]*)
5417 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5421 for as_dir in /sbin /usr/sbin $PATH
5423 IFS=$as_save_IFS
5424 test -z "$as_dir" && as_dir=.
5425 for ac_exec_ext in '' $ac_executable_extensions; do
5426 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5427 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5428 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5429 break 2
5431 done
5432 done
5433 IFS=$as_save_IFS
5435 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5437 esac
5439 LDCONFIG=$ac_cv_path_LDCONFIG
5440 if test -n "$LDCONFIG"; then
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5442 $as_echo "$LDCONFIG" >&6; }
5443 else
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5445 $as_echo "no" >&6; }
5450 test -z "$INSTALL" && INSTALL="\$(top_srcdir)/tools/install-sh"
5452 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM="STRIPPROG=\"\$(STRIP)\" \$(INSTALL)"
5454 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT="\$(INSTALL)"
5456 test -z "$INSTALL_DATA" && INSTALL_DATA="\$(INSTALL) -m 644"
5459 for ac_prog in msgfmt
5461 # Extract the first word of "$ac_prog", so it can be a program name with args.
5462 set dummy $ac_prog; ac_word=$2
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5464 $as_echo_n "checking for $ac_word... " >&6; }
5465 if ${ac_cv_prog_MSGFMT+:} false; then :
5466 $as_echo_n "(cached) " >&6
5467 else
5468 if test -n "$MSGFMT"; then
5469 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5470 else
5471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5472 for as_dir in $PATH
5474 IFS=$as_save_IFS
5475 test -z "$as_dir" && as_dir=.
5476 for ac_exec_ext in '' $ac_executable_extensions; do
5477 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5478 ac_cv_prog_MSGFMT="$ac_prog"
5479 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5480 break 2
5482 done
5483 done
5484 IFS=$as_save_IFS
5488 MSGFMT=$ac_cv_prog_MSGFMT
5489 if test -n "$MSGFMT"; then
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5491 $as_echo "$MSGFMT" >&6; }
5492 else
5493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5494 $as_echo "no" >&6; }
5498 test -n "$MSGFMT" && break
5499 done
5500 test -n "$MSGFMT" || MSGFMT="false"
5502 if test -n "$ac_tool_prefix"; then
5503 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5504 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5506 $as_echo_n "checking for $ac_word... " >&6; }
5507 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5508 $as_echo_n "(cached) " >&6
5509 else
5510 if test -n "$PKG_CONFIG"; then
5511 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5512 else
5513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5514 for as_dir in $PATH
5516 IFS=$as_save_IFS
5517 test -z "$as_dir" && as_dir=.
5518 for ac_exec_ext in '' $ac_executable_extensions; do
5519 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5520 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5521 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5522 break 2
5524 done
5525 done
5526 IFS=$as_save_IFS
5530 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5531 if test -n "$PKG_CONFIG"; then
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5533 $as_echo "$PKG_CONFIG" >&6; }
5534 else
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5536 $as_echo "no" >&6; }
5541 if test -n "$ac_cv_prog_PKG_CONFIG"; then
5542 PKG_CONFIG="$ac_cv_prog_PKG_CONFIG"
5543 elif test "$cross_compiling" != yes; then
5544 unset ac_cv_prog_PKG_CONFIG
5545 # Extract the first word of "pkg-config", so it can be a program name with args.
5546 set dummy pkg-config; ac_word=$2
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5548 $as_echo_n "checking for $ac_word... " >&6; }
5549 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5550 $as_echo_n "(cached) " >&6
5551 else
5552 if test -n "$PKG_CONFIG"; then
5553 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5554 else
5555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5556 for as_dir in $PATH
5558 IFS=$as_save_IFS
5559 test -z "$as_dir" && as_dir=.
5560 for ac_exec_ext in '' $ac_executable_extensions; do
5561 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5562 ac_cv_prog_PKG_CONFIG="pkg-config"
5563 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5564 break 2
5566 done
5567 done
5568 IFS=$as_save_IFS
5572 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5573 if test -n "$PKG_CONFIG"; then
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5575 $as_echo "$PKG_CONFIG" >&6; }
5576 else
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5578 $as_echo "no" >&6; }
5584 if test "x$enable_maintainer_mode" != "xyes"
5585 then
5586 FONTFORGE=""
5587 RSVG=""
5588 CONVERT=""
5589 ICOTOOL=""
5590 else
5591 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5592 for ac_prog in fontforge
5594 # Extract the first word of "$ac_prog", so it can be a program name with args.
5595 set dummy $ac_prog; ac_word=$2
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5597 $as_echo_n "checking for $ac_word... " >&6; }
5598 if ${ac_cv_prog_FONTFORGE+:} false; then :
5599 $as_echo_n "(cached) " >&6
5600 else
5601 if test -n "$FONTFORGE"; then
5602 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5603 else
5604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5605 for as_dir in $PATH
5607 IFS=$as_save_IFS
5608 test -z "$as_dir" && as_dir=.
5609 for ac_exec_ext in '' $ac_executable_extensions; do
5610 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5611 ac_cv_prog_FONTFORGE="$ac_prog"
5612 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5613 break 2
5615 done
5616 done
5617 IFS=$as_save_IFS
5621 FONTFORGE=$ac_cv_prog_FONTFORGE
5622 if test -n "$FONTFORGE"; then
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5624 $as_echo "$FONTFORGE" >&6; }
5625 else
5626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5627 $as_echo "no" >&6; }
5631 test -n "$FONTFORGE" && break
5632 done
5633 test -n "$FONTFORGE" || FONTFORGE="false"
5635 for ac_prog in rsvg
5637 # Extract the first word of "$ac_prog", so it can be a program name with args.
5638 set dummy $ac_prog; ac_word=$2
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5640 $as_echo_n "checking for $ac_word... " >&6; }
5641 if ${ac_cv_prog_RSVG+:} false; then :
5642 $as_echo_n "(cached) " >&6
5643 else
5644 if test -n "$RSVG"; then
5645 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5646 else
5647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5648 for as_dir in $PATH
5650 IFS=$as_save_IFS
5651 test -z "$as_dir" && as_dir=.
5652 for ac_exec_ext in '' $ac_executable_extensions; do
5653 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5654 ac_cv_prog_RSVG="$ac_prog"
5655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5656 break 2
5658 done
5659 done
5660 IFS=$as_save_IFS
5664 RSVG=$ac_cv_prog_RSVG
5665 if test -n "$RSVG"; then
5666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5667 $as_echo "$RSVG" >&6; }
5668 else
5669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5670 $as_echo "no" >&6; }
5674 test -n "$RSVG" && break
5675 done
5676 test -n "$RSVG" || RSVG="false"
5678 for ac_prog in convert
5680 # Extract the first word of "$ac_prog", so it can be a program name with args.
5681 set dummy $ac_prog; ac_word=$2
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5683 $as_echo_n "checking for $ac_word... " >&6; }
5684 if ${ac_cv_prog_CONVERT+:} false; then :
5685 $as_echo_n "(cached) " >&6
5686 else
5687 if test -n "$CONVERT"; then
5688 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5689 else
5690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5691 for as_dir in $PATH
5693 IFS=$as_save_IFS
5694 test -z "$as_dir" && as_dir=.
5695 for ac_exec_ext in '' $ac_executable_extensions; do
5696 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5697 ac_cv_prog_CONVERT="$ac_prog"
5698 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5699 break 2
5701 done
5702 done
5703 IFS=$as_save_IFS
5707 CONVERT=$ac_cv_prog_CONVERT
5708 if test -n "$CONVERT"; then
5709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5710 $as_echo "$CONVERT" >&6; }
5711 else
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5713 $as_echo "no" >&6; }
5717 test -n "$CONVERT" && break
5718 done
5719 test -n "$CONVERT" || CONVERT="false"
5721 for ac_prog in icotool
5723 # Extract the first word of "$ac_prog", so it can be a program name with args.
5724 set dummy $ac_prog; ac_word=$2
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5726 $as_echo_n "checking for $ac_word... " >&6; }
5727 if ${ac_cv_prog_ICOTOOL+:} false; then :
5728 $as_echo_n "(cached) " >&6
5729 else
5730 if test -n "$ICOTOOL"; then
5731 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5732 else
5733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5734 for as_dir in $PATH
5736 IFS=$as_save_IFS
5737 test -z "$as_dir" && as_dir=.
5738 for ac_exec_ext in '' $ac_executable_extensions; do
5739 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5740 ac_cv_prog_ICOTOOL="$ac_prog"
5741 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5742 break 2
5744 done
5745 done
5746 IFS=$as_save_IFS
5750 ICOTOOL=$ac_cv_prog_ICOTOOL
5751 if test -n "$ICOTOOL"; then
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5753 $as_echo "$ICOTOOL" >&6; }
5754 else
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5756 $as_echo "no" >&6; }
5760 test -n "$ICOTOOL" && break
5761 done
5762 test -n "$ICOTOOL" || ICOTOOL="false"
5764 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5765 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5767 if test "$CONVERT" = false
5768 then
5769 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5770 else
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5772 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5773 convert_version=`convert --version | head -n1`
5774 if test "x$convert_version" != "x"
5775 then
5776 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5777 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5778 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5779 then
5780 CONVERT=false
5783 if test "$CONVERT" = false
5784 then
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5786 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5787 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5788 else
5789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5790 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5794 if test "$ICOTOOL" = false
5795 then
5796 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5797 else
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5799 $as_echo_n "checking for recent enough icotool... " >&6; }
5800 icotool_version=`icotool --version | head -n1`
5801 if test "x$icotool_version" != "x"
5802 then
5803 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5804 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5805 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5806 then
5807 ICOTOOL=false
5808 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5811 if test "$ICOTOOL" = false
5812 then
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5814 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5815 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5816 else
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5818 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5822 with_gettext=yes
5823 with_gettextpo=yes
5824 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5827 test "x$with_gettext" != xno || MSGFMT=false
5828 if test "$MSGFMT" != "false"
5829 then
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5831 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5832 cat >conftest.po <<EOF
5833 # comment
5834 msgctxt "ctxt"
5835 msgid "id"
5836 msgstr "str"
5838 if $MSGFMT -o /dev/null conftest.po 2>&5
5839 then
5840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5841 $as_echo "yes" >&6; }
5842 else
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5844 $as_echo "no" >&6; }
5845 MSGFMT=false
5848 if test "$MSGFMT" = false; then :
5849 case "x$with_gettext" in
5850 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
5851 xno) ;;
5852 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
5853 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5854 esac
5858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5859 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5860 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
5861 $as_echo_n "(cached) " >&6
5862 else
5863 ac_check_lib_save_LIBS=$LIBS
5864 LIBS="-li386 $LIBS"
5865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5866 /* end confdefs.h. */
5868 /* Override any GCC internal prototype to avoid an error.
5869 Use char because int might match the return type of a GCC
5870 builtin and then its argument prototype would still apply. */
5871 #ifdef __cplusplus
5872 extern "C"
5873 #endif
5874 char i386_set_ldt ();
5876 main ()
5878 return i386_set_ldt ();
5880 return 0;
5882 _ACEOF
5883 if ac_fn_c_try_link "$LINENO"; then :
5884 ac_cv_lib_i386_i386_set_ldt=yes
5885 else
5886 ac_cv_lib_i386_i386_set_ldt=no
5888 rm -f core conftest.err conftest.$ac_objext \
5889 conftest$ac_exeext conftest.$ac_ext
5890 LIBS=$ac_check_lib_save_LIBS
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5893 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5894 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
5895 cat >>confdefs.h <<_ACEOF
5896 #define HAVE_LIBI386 1
5897 _ACEOF
5899 LIBS="-li386 $LIBS"
5903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5904 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5905 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
5906 $as_echo_n "(cached) " >&6
5907 else
5908 ac_check_lib_save_LIBS=$LIBS
5909 LIBS="-lossaudio $LIBS"
5910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5911 /* end confdefs.h. */
5913 /* Override any GCC internal prototype to avoid an error.
5914 Use char because int might match the return type of a GCC
5915 builtin and then its argument prototype would still apply. */
5916 #ifdef __cplusplus
5917 extern "C"
5918 #endif
5919 char _oss_ioctl ();
5921 main ()
5923 return _oss_ioctl ();
5925 return 0;
5927 _ACEOF
5928 if ac_fn_c_try_link "$LINENO"; then :
5929 ac_cv_lib_ossaudio__oss_ioctl=yes
5930 else
5931 ac_cv_lib_ossaudio__oss_ioctl=no
5933 rm -f core conftest.err conftest.$ac_objext \
5934 conftest$ac_exeext conftest.$ac_ext
5935 LIBS=$ac_check_lib_save_LIBS
5937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5938 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5939 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
5940 cat >>confdefs.h <<_ACEOF
5941 #define HAVE_LIBOSSAUDIO 1
5942 _ACEOF
5944 LIBS="-lossaudio $LIBS"
5949 XLIB=""
5951 OPENGL_LIBS=""
5955 test "x$with_fontconfig" != "xno" || ac_cv_header_fontconfig_fontconfig_h=no
5957 # Check whether --enable-largefile was given.
5958 if test "${enable_largefile+set}" = set; then :
5959 enableval=$enable_largefile;
5962 if test "$enable_largefile" != no; then
5964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5965 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5966 if ${ac_cv_sys_largefile_CC+:} false; then :
5967 $as_echo_n "(cached) " >&6
5968 else
5969 ac_cv_sys_largefile_CC=no
5970 if test "$GCC" != yes; then
5971 ac_save_CC=$CC
5972 while :; do
5973 # IRIX 6.2 and later do not support large files by default,
5974 # so use the C compiler's -n32 option if that helps.
5975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5976 /* end confdefs.h. */
5977 #include <sys/types.h>
5978 /* Check that off_t can represent 2**63 - 1 correctly.
5979 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5980 since some C++ compilers masquerading as C compilers
5981 incorrectly reject 9223372036854775807. */
5982 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5983 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5984 && LARGE_OFF_T % 2147483647 == 1)
5985 ? 1 : -1];
5987 main ()
5991 return 0;
5993 _ACEOF
5994 if ac_fn_c_try_compile "$LINENO"; then :
5995 break
5997 rm -f core conftest.err conftest.$ac_objext
5998 CC="$CC -n32"
5999 if ac_fn_c_try_compile "$LINENO"; then :
6000 ac_cv_sys_largefile_CC=' -n32'; break
6002 rm -f core conftest.err conftest.$ac_objext
6003 break
6004 done
6005 CC=$ac_save_CC
6006 rm -f conftest.$ac_ext
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6010 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6011 if test "$ac_cv_sys_largefile_CC" != no; then
6012 CC=$CC$ac_cv_sys_largefile_CC
6015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6016 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6017 if ${ac_cv_sys_file_offset_bits+:} false; then :
6018 $as_echo_n "(cached) " >&6
6019 else
6020 while :; do
6021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6022 /* end confdefs.h. */
6023 #include <sys/types.h>
6024 /* Check that off_t can represent 2**63 - 1 correctly.
6025 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6026 since some C++ compilers masquerading as C compilers
6027 incorrectly reject 9223372036854775807. */
6028 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6029 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6030 && LARGE_OFF_T % 2147483647 == 1)
6031 ? 1 : -1];
6033 main ()
6037 return 0;
6039 _ACEOF
6040 if ac_fn_c_try_compile "$LINENO"; then :
6041 ac_cv_sys_file_offset_bits=no; break
6043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6045 /* end confdefs.h. */
6046 #define _FILE_OFFSET_BITS 64
6047 #include <sys/types.h>
6048 /* Check that off_t can represent 2**63 - 1 correctly.
6049 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6050 since some C++ compilers masquerading as C compilers
6051 incorrectly reject 9223372036854775807. */
6052 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6053 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6054 && LARGE_OFF_T % 2147483647 == 1)
6055 ? 1 : -1];
6057 main ()
6061 return 0;
6063 _ACEOF
6064 if ac_fn_c_try_compile "$LINENO"; then :
6065 ac_cv_sys_file_offset_bits=64; break
6067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6068 ac_cv_sys_file_offset_bits=unknown
6069 break
6070 done
6072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6073 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6074 case $ac_cv_sys_file_offset_bits in #(
6075 no | unknown) ;;
6077 cat >>confdefs.h <<_ACEOF
6078 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6079 _ACEOF
6081 esac
6082 rm -rf conftest*
6083 if test $ac_cv_sys_file_offset_bits = unknown; then
6084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6085 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6086 if ${ac_cv_sys_large_files+:} false; then :
6087 $as_echo_n "(cached) " >&6
6088 else
6089 while :; do
6090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6091 /* end confdefs.h. */
6092 #include <sys/types.h>
6093 /* Check that off_t can represent 2**63 - 1 correctly.
6094 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6095 since some C++ compilers masquerading as C compilers
6096 incorrectly reject 9223372036854775807. */
6097 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6098 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6099 && LARGE_OFF_T % 2147483647 == 1)
6100 ? 1 : -1];
6102 main ()
6106 return 0;
6108 _ACEOF
6109 if ac_fn_c_try_compile "$LINENO"; then :
6110 ac_cv_sys_large_files=no; break
6112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6114 /* end confdefs.h. */
6115 #define _LARGE_FILES 1
6116 #include <sys/types.h>
6117 /* Check that off_t can represent 2**63 - 1 correctly.
6118 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6119 since some C++ compilers masquerading as C compilers
6120 incorrectly reject 9223372036854775807. */
6121 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6122 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6123 && LARGE_OFF_T % 2147483647 == 1)
6124 ? 1 : -1];
6126 main ()
6130 return 0;
6132 _ACEOF
6133 if ac_fn_c_try_compile "$LINENO"; then :
6134 ac_cv_sys_large_files=1; break
6136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6137 ac_cv_sys_large_files=unknown
6138 break
6139 done
6141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6142 $as_echo "$ac_cv_sys_large_files" >&6; }
6143 case $ac_cv_sys_large_files in #(
6144 no | unknown) ;;
6146 cat >>confdefs.h <<_ACEOF
6147 #define _LARGE_FILES $ac_cv_sys_large_files
6148 _ACEOF
6150 esac
6151 rm -rf conftest*
6158 ac_ext=c
6159 ac_cpp='$CPP $CPPFLAGS'
6160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6164 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6165 # On Suns, sometimes $CPP names a directory.
6166 if test -n "$CPP" && test -d "$CPP"; then
6167 CPP=
6169 if test -z "$CPP"; then
6170 if ${ac_cv_prog_CPP+:} false; then :
6171 $as_echo_n "(cached) " >&6
6172 else
6173 # Double quotes because CPP needs to be expanded
6174 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6176 ac_preproc_ok=false
6177 for ac_c_preproc_warn_flag in '' yes
6179 # Use a header file that comes with gcc, so configuring glibc
6180 # with a fresh cross-compiler works.
6181 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6182 # <limits.h> exists even on freestanding compilers.
6183 # On the NeXT, cc -E runs the code through the compiler's parser,
6184 # not just through cpp. "Syntax error" is here to catch this case.
6185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6186 /* end confdefs.h. */
6187 #ifdef __STDC__
6188 # include <limits.h>
6189 #else
6190 # include <assert.h>
6191 #endif
6192 Syntax error
6193 _ACEOF
6194 if ac_fn_c_try_cpp "$LINENO"; then :
6196 else
6197 # Broken: fails on valid input.
6198 continue
6200 rm -f conftest.err conftest.i conftest.$ac_ext
6202 # OK, works on sane cases. Now check whether nonexistent headers
6203 # can be detected and how.
6204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6205 /* end confdefs.h. */
6206 #include <ac_nonexistent.h>
6207 _ACEOF
6208 if ac_fn_c_try_cpp "$LINENO"; then :
6209 # Broken: success on invalid input.
6210 continue
6211 else
6212 # Passes both tests.
6213 ac_preproc_ok=:
6214 break
6216 rm -f conftest.err conftest.i conftest.$ac_ext
6218 done
6219 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6220 rm -f conftest.i conftest.err conftest.$ac_ext
6221 if $ac_preproc_ok; then :
6222 break
6225 done
6226 ac_cv_prog_CPP=$CPP
6229 CPP=$ac_cv_prog_CPP
6230 else
6231 ac_cv_prog_CPP=$CPP
6233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6234 $as_echo "$CPP" >&6; }
6235 ac_preproc_ok=false
6236 for ac_c_preproc_warn_flag in '' yes
6238 # Use a header file that comes with gcc, so configuring glibc
6239 # with a fresh cross-compiler works.
6240 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6241 # <limits.h> exists even on freestanding compilers.
6242 # On the NeXT, cc -E runs the code through the compiler's parser,
6243 # not just through cpp. "Syntax error" is here to catch this case.
6244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6245 /* end confdefs.h. */
6246 #ifdef __STDC__
6247 # include <limits.h>
6248 #else
6249 # include <assert.h>
6250 #endif
6251 Syntax error
6252 _ACEOF
6253 if ac_fn_c_try_cpp "$LINENO"; then :
6255 else
6256 # Broken: fails on valid input.
6257 continue
6259 rm -f conftest.err conftest.i conftest.$ac_ext
6261 # OK, works on sane cases. Now check whether nonexistent headers
6262 # can be detected and how.
6263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6264 /* end confdefs.h. */
6265 #include <ac_nonexistent.h>
6266 _ACEOF
6267 if ac_fn_c_try_cpp "$LINENO"; then :
6268 # Broken: success on invalid input.
6269 continue
6270 else
6271 # Passes both tests.
6272 ac_preproc_ok=:
6273 break
6275 rm -f conftest.err conftest.i conftest.$ac_ext
6277 done
6278 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6279 rm -f conftest.i conftest.err conftest.$ac_ext
6280 if $ac_preproc_ok; then :
6282 else
6283 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6284 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6285 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6286 See \`config.log' for more details" "$LINENO" 5; }
6289 ac_ext=c
6290 ac_cpp='$CPP $CPPFLAGS'
6291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6297 $as_echo_n "checking for ANSI C header files... " >&6; }
6298 if ${ac_cv_header_stdc+:} false; then :
6299 $as_echo_n "(cached) " >&6
6300 else
6301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6302 /* end confdefs.h. */
6303 #include <stdlib.h>
6304 #include <stdarg.h>
6305 #include <string.h>
6306 #include <float.h>
6309 main ()
6313 return 0;
6315 _ACEOF
6316 if ac_fn_c_try_compile "$LINENO"; then :
6317 ac_cv_header_stdc=yes
6318 else
6319 ac_cv_header_stdc=no
6321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6323 if test $ac_cv_header_stdc = yes; then
6324 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6326 /* end confdefs.h. */
6327 #include <string.h>
6329 _ACEOF
6330 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6331 $EGREP "memchr" >/dev/null 2>&1; then :
6333 else
6334 ac_cv_header_stdc=no
6336 rm -f conftest*
6340 if test $ac_cv_header_stdc = yes; then
6341 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6343 /* end confdefs.h. */
6344 #include <stdlib.h>
6346 _ACEOF
6347 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6348 $EGREP "free" >/dev/null 2>&1; then :
6350 else
6351 ac_cv_header_stdc=no
6353 rm -f conftest*
6357 if test $ac_cv_header_stdc = yes; then
6358 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6359 if test "$cross_compiling" = yes; then :
6361 else
6362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6363 /* end confdefs.h. */
6364 #include <ctype.h>
6365 #include <stdlib.h>
6366 #if ((' ' & 0x0FF) == 0x020)
6367 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6368 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6369 #else
6370 # define ISLOWER(c) \
6371 (('a' <= (c) && (c) <= 'i') \
6372 || ('j' <= (c) && (c) <= 'r') \
6373 || ('s' <= (c) && (c) <= 'z'))
6374 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6375 #endif
6377 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6379 main ()
6381 int i;
6382 for (i = 0; i < 256; i++)
6383 if (XOR (islower (i), ISLOWER (i))
6384 || toupper (i) != TOUPPER (i))
6385 return 2;
6386 return 0;
6388 _ACEOF
6389 if ac_fn_c_try_run "$LINENO"; then :
6391 else
6392 ac_cv_header_stdc=no
6394 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6395 conftest.$ac_objext conftest.beam conftest.$ac_ext
6400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6401 $as_echo "$ac_cv_header_stdc" >&6; }
6402 if test $ac_cv_header_stdc = yes; then
6404 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6408 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6409 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6410 inttypes.h stdint.h unistd.h
6411 do :
6412 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6413 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6415 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6416 cat >>confdefs.h <<_ACEOF
6417 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6418 _ACEOF
6422 done
6425 for ac_header in \
6426 AL/al.h \
6427 ApplicationServices/ApplicationServices.h \
6428 AudioToolbox/AudioConverter.h \
6429 AudioUnit/AudioUnit.h \
6430 AudioUnit/AudioComponent.h \
6431 CL/cl.h \
6432 Carbon/Carbon.h \
6433 CoreAudio/CoreAudio.h \
6434 CoreServices/CoreServices.h \
6435 DiskArbitration/DiskArbitration.h \
6436 IOKit/IOKitLib.h \
6437 IOKit/hid/IOHIDLib.h \
6438 OpenAL/al.h \
6439 OpenCL/opencl.h \
6440 QuickTime/ImageCompression.h \
6441 Security/Security.h \
6442 alias.h \
6443 alsa/asoundlib.h \
6444 arpa/inet.h \
6445 arpa/nameser.h \
6446 asm/types.h \
6447 asm/user.h \
6448 curses.h \
6449 direct.h \
6450 dirent.h \
6451 dlfcn.h \
6452 elf.h \
6453 float.h \
6454 fnmatch.h \
6455 fontconfig/fontconfig.h \
6456 getopt.h \
6457 gettext-po.h \
6458 grp.h \
6459 gsm.h \
6460 gsm/gsm.h \
6461 ieeefp.h \
6462 inet/mib2.h \
6463 io.h \
6464 kstat.h \
6465 lber.h \
6466 ldap.h \
6467 libproc.h \
6468 link.h \
6469 linux/cdrom.h \
6470 linux/compiler.h \
6471 linux/filter.h \
6472 linux/hdreg.h \
6473 linux/input.h \
6474 linux/ioctl.h \
6475 linux/joystick.h \
6476 linux/major.h \
6477 linux/param.h \
6478 linux/serial.h \
6479 linux/types.h \
6480 linux/ucdrom.h \
6481 lwp.h \
6482 mach-o/nlist.h \
6483 mach-o/loader.h \
6484 mach/mach.h \
6485 mach/machine.h \
6486 machine/cpu.h \
6487 machine/limits.h \
6488 machine/sysarch.h \
6489 mntent.h \
6490 ncurses.h \
6491 netdb.h \
6492 netinet/in.h \
6493 netinet/in_systm.h \
6494 netinet/tcp.h \
6495 netinet/tcp_fsm.h \
6496 poll.h \
6497 port.h \
6498 process.h \
6499 pthread.h \
6500 pwd.h \
6501 sched.h \
6502 scsi/scsi.h \
6503 scsi/scsi_ioctl.h \
6504 scsi/sg.h \
6505 stdbool.h \
6506 stdint.h \
6507 stropts.h \
6508 sys/asoundlib.h \
6509 sys/attr.h \
6510 sys/cdio.h \
6511 sys/elf32.h \
6512 sys/epoll.h \
6513 sys/event.h \
6514 sys/exec_elf.h \
6515 sys/filio.h \
6516 sys/inotify.h \
6517 sys/ioctl.h \
6518 sys/ipc.h \
6519 sys/limits.h \
6520 sys/link.h \
6521 sys/mman.h \
6522 sys/modem.h \
6523 sys/msg.h \
6524 sys/mtio.h \
6525 sys/param.h \
6526 sys/poll.h \
6527 sys/prctl.h \
6528 sys/protosw.h \
6529 sys/ptrace.h \
6530 sys/queue.h \
6531 sys/resource.h \
6532 sys/scsiio.h \
6533 sys/shm.h \
6534 sys/signal.h \
6535 sys/socket.h \
6536 sys/socketvar.h \
6537 sys/sockio.h \
6538 sys/statvfs.h \
6539 sys/strtio.h \
6540 sys/syscall.h \
6541 sys/tihdr.h \
6542 sys/time.h \
6543 sys/timeout.h \
6544 sys/times.h \
6545 sys/uio.h \
6546 sys/user.h \
6547 sys/utsname.h \
6548 sys/vm86.h \
6549 sys/wait.h \
6550 syscall.h \
6551 termios.h \
6552 unistd.h \
6553 utime.h \
6554 valgrind/memcheck.h \
6555 valgrind/valgrind.h \
6556 zlib.h
6558 do :
6559 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6560 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6561 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6562 cat >>confdefs.h <<_ACEOF
6563 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6564 _ACEOF
6568 done
6570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6571 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6572 if ${ac_cv_header_stat_broken+:} false; then :
6573 $as_echo_n "(cached) " >&6
6574 else
6575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6576 /* end confdefs.h. */
6577 #include <sys/types.h>
6578 #include <sys/stat.h>
6580 #if defined S_ISBLK && defined S_IFDIR
6581 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6582 #endif
6584 #if defined S_ISBLK && defined S_IFCHR
6585 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6586 #endif
6588 #if defined S_ISLNK && defined S_IFREG
6589 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6590 #endif
6592 #if defined S_ISSOCK && defined S_IFREG
6593 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6594 #endif
6596 _ACEOF
6597 if ac_fn_c_try_compile "$LINENO"; then :
6598 ac_cv_header_stat_broken=no
6599 else
6600 ac_cv_header_stat_broken=yes
6602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6605 $as_echo "$ac_cv_header_stat_broken" >&6; }
6606 if test $ac_cv_header_stat_broken = yes; then
6608 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6614 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6615 do :
6616 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6617 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6618 #ifdef HAVE_SYS_PARAM_H
6619 # include <sys/param.h>
6620 #endif
6622 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6623 cat >>confdefs.h <<_ACEOF
6624 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6625 _ACEOF
6629 done
6632 for ac_header in \
6633 netinet/ip.h \
6634 net/if.h \
6635 net/if_arp.h \
6636 net/if_dl.h \
6637 net/if_types.h \
6638 net/route.h \
6639 netinet/if_ether.h \
6640 netinet/if_inarp.h \
6641 netinet/in_pcb.h \
6642 netinet/ip_icmp.h \
6643 netinet/ip_var.h \
6644 netinet/udp.h \
6645 netipx/ipx.h \
6646 sys/un.h \
6648 do :
6649 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6650 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6651 #ifdef HAVE_SYS_SOCKET_H
6652 # include <sys/socket.h>
6653 #endif
6654 #ifdef HAVE_SYS_SOCKETVAR_H
6655 # include <sys/socketvar.h>
6656 #endif
6657 #ifdef HAVE_NET_ROUTE_H
6658 # include <net/route.h>
6659 #endif
6660 #ifdef HAVE_NETINET_IN_H
6661 # include <netinet/in.h>
6662 #endif
6663 #ifdef HAVE_NETINET_IN_SYSTM_H
6664 # include <netinet/in_systm.h>
6665 #endif
6666 #ifdef HAVE_NET_IF_H
6667 # include <net/if.h>
6668 #endif
6669 #ifdef HAVE_NETINET_IP_H
6670 # include <netinet/ip.h>
6671 #endif
6673 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6674 cat >>confdefs.h <<_ACEOF
6675 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6676 _ACEOF
6680 done
6683 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6684 do :
6685 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6686 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6687 #ifdef HAVE_ALIAS_H
6688 # include <alias.h>
6689 #endif
6690 #ifdef HAVE_SYS_SOCKET_H
6691 # include <sys/socket.h>
6692 #endif
6693 #ifdef HAVE_SYS_SOCKETVAR_H
6694 # include <sys/socketvar.h>
6695 #endif
6696 #ifdef HAVE_SYS_TIMEOUT_H
6697 # include <sys/timeout.h>
6698 #endif
6699 #ifdef HAVE_NETINET_IN_H
6700 # include <netinet/in.h>
6701 #endif
6702 #ifdef HAVE_NETINET_IN_SYSTM_H
6703 # include <netinet/in_systm.h>
6704 #endif
6705 #ifdef HAVE_NETINET_IP_H
6706 # include <netinet/ip.h>
6707 #endif
6708 #ifdef HAVE_NETINET_IP_VAR_H
6709 # include <netinet/ip_var.h>
6710 #endif
6711 #ifdef HAVE_NETINET_IP_ICMP_H
6712 # include <netinet/ip_icmp.h>
6713 #endif
6714 #ifdef HAVE_NETINET_UDP_H
6715 # include <netinet/udp.h>
6716 #endif
6717 #ifdef HAVE_NETINET_TCP_H
6718 # include <netinet/tcp.h>
6719 #endif
6720 #ifdef HAVE_NETINET_TCP_TIMER_H
6721 #include <netinet/tcp_timer.h>
6722 #endif
6724 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6725 cat >>confdefs.h <<_ACEOF
6726 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6727 _ACEOF
6731 done
6734 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6735 do :
6736 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6737 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6738 #ifdef HAVE_ASM_TYPES_H
6739 # include <asm/types.h>
6740 #endif
6741 #ifdef HAVE_SYS_SOCKET_H
6742 # include <sys/socket.h>
6743 #endif
6744 #ifdef HAVE_LINUX_TYPES_H
6745 # include <linux/types.h>
6746 #endif
6748 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6749 cat >>confdefs.h <<_ACEOF
6750 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6751 _ACEOF
6755 done
6758 for ac_header in mach-o/dyld_images.h
6759 do :
6760 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6761 # include <stdbool.h>
6762 #endif
6763 #ifdef HAVE_STDINT_H
6764 # include <stdint.h>
6765 #endif
6767 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6768 cat >>confdefs.h <<_ACEOF
6769 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6770 _ACEOF
6774 done
6777 for ac_header in resolv.h
6778 do :
6779 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6780 #ifdef HAVE_SYS_SOCKET_H
6781 # include <sys/socket.h>
6782 #endif
6783 #ifdef HAVE_NETINET_IN_H
6784 # include <netinet/in.h>
6785 #endif
6786 #ifdef HAVE_ARPA_NAMESER_H
6787 # include <arpa/nameser.h>
6788 #endif
6790 if test "x$ac_cv_header_resolv_h" = xyes; then :
6791 cat >>confdefs.h <<_ACEOF
6792 #define HAVE_RESOLV_H 1
6793 _ACEOF
6797 done
6800 for ac_header in ifaddrs.h
6801 do :
6802 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6804 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6805 cat >>confdefs.h <<_ACEOF
6806 #define HAVE_IFADDRS_H 1
6807 _ACEOF
6811 done
6814 for ac_header in ucontext.h
6815 do :
6816 ac_fn_c_check_header_compile "$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6818 if test "x$ac_cv_header_ucontext_h" = xyes; then :
6819 cat >>confdefs.h <<_ACEOF
6820 #define HAVE_UCONTEXT_H 1
6821 _ACEOF
6825 done
6828 for ac_header in sys/thr.h
6829 do :
6830 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6831 #ifdef HAVE_UCONTEXT_H
6832 #include <ucontext.h>
6833 #endif
6835 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
6836 cat >>confdefs.h <<_ACEOF
6837 #define HAVE_SYS_THR_H 1
6838 _ACEOF
6842 done
6845 for ac_header in pthread_np.h
6846 do :
6847 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6848 #include <pthread.h>
6849 #endif
6851 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
6852 cat >>confdefs.h <<_ACEOF
6853 #define HAVE_PTHREAD_NP_H 1
6854 _ACEOF
6858 done
6861 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.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" "#ifdef HAVE_SYS_TIME_H
6865 #include <sys/time.h>
6866 #endif
6867 #include <sys/types.h>
6868 #ifdef HAVE_ASM_TYPES_H
6869 #include <asm/types.h>
6870 #endif
6872 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6873 cat >>confdefs.h <<_ACEOF
6874 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6875 _ACEOF
6879 done
6882 for ac_header in libprocstat.h
6883 do :
6884 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6885 #include <sys/param.h>
6886 #endif
6887 #ifdef HAVE_SYS_QUEUE_H
6888 #include <sys/queue.h>
6889 #endif
6890 #ifdef HAVE_SYS_SOCKET_H
6891 #include <sys/socket.h>
6892 #endif
6894 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
6895 cat >>confdefs.h <<_ACEOF
6896 #define HAVE_LIBPROCSTAT_H 1
6897 _ACEOF
6901 done
6905 dlldir="\${libdir}/wine"
6907 DLLPREFIX=""
6909 DLLFLAGS="-D_REENTRANT"
6911 IMPLIBEXT="def"
6913 LDRPATH_INSTALL=""
6915 LDRPATH_LOCAL=""
6917 LIBEXT="so"
6918 DLLEXT=".so"
6919 STATIC_IMPLIBEXT="def.a"
6920 # Extract the first word of "ldd", so it can be a program name with args.
6921 set dummy ldd; ac_word=$2
6922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6923 $as_echo_n "checking for $ac_word... " >&6; }
6924 if ${ac_cv_path_LDD+:} false; then :
6925 $as_echo_n "(cached) " >&6
6926 else
6927 case $LDD in
6928 [\\/]* | ?:[\\/]*)
6929 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
6932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6933 as_dummy="/sbin:/usr/sbin:$PATH"
6934 for as_dir in $as_dummy
6936 IFS=$as_save_IFS
6937 test -z "$as_dir" && as_dir=.
6938 for ac_exec_ext in '' $ac_executable_extensions; do
6939 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6940 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
6941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6942 break 2
6944 done
6945 done
6946 IFS=$as_save_IFS
6948 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
6950 esac
6952 LDD=$ac_cv_path_LDD
6953 if test -n "$LDD"; then
6954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6955 $as_echo "$LDD" >&6; }
6956 else
6957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6958 $as_echo "no" >&6; }
6962 if test -n "$ac_tool_prefix"; then
6963 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
6964 set dummy ${ac_tool_prefix}readelf; ac_word=$2
6965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6966 $as_echo_n "checking for $ac_word... " >&6; }
6967 if ${ac_cv_prog_READELF+:} false; then :
6968 $as_echo_n "(cached) " >&6
6969 else
6970 if test -n "$READELF"; then
6971 ac_cv_prog_READELF="$READELF" # Let the user override the test.
6972 else
6973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6974 for as_dir in $PATH
6976 IFS=$as_save_IFS
6977 test -z "$as_dir" && as_dir=.
6978 for ac_exec_ext in '' $ac_executable_extensions; do
6979 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6980 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
6981 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6982 break 2
6984 done
6985 done
6986 IFS=$as_save_IFS
6990 READELF=$ac_cv_prog_READELF
6991 if test -n "$READELF"; then
6992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
6993 $as_echo "$READELF" >&6; }
6994 else
6995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6996 $as_echo "no" >&6; }
7001 if test -z "$ac_cv_prog_READELF"; then
7002 ac_ct_READELF=$READELF
7003 # Extract the first word of "readelf", so it can be a program name with args.
7004 set dummy readelf; ac_word=$2
7005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7006 $as_echo_n "checking for $ac_word... " >&6; }
7007 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7008 $as_echo_n "(cached) " >&6
7009 else
7010 if test -n "$ac_ct_READELF"; then
7011 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7012 else
7013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7014 for as_dir in $PATH
7016 IFS=$as_save_IFS
7017 test -z "$as_dir" && as_dir=.
7018 for ac_exec_ext in '' $ac_executable_extensions; do
7019 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7020 ac_cv_prog_ac_ct_READELF="readelf"
7021 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7022 break 2
7024 done
7025 done
7026 IFS=$as_save_IFS
7030 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7031 if test -n "$ac_ct_READELF"; then
7032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7033 $as_echo "$ac_ct_READELF" >&6; }
7034 else
7035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7036 $as_echo "no" >&6; }
7039 if test "x$ac_ct_READELF" = x; then
7040 READELF="true"
7041 else
7042 case $cross_compiling:$ac_tool_warned in
7043 yes:)
7044 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7045 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7046 ac_tool_warned=yes ;;
7047 esac
7048 READELF=$ac_ct_READELF
7050 else
7051 READELF="$ac_cv_prog_READELF"
7055 wine_binary="wine"
7056 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7058 wine_rules_file=conf$$rules.make
7059 rm -f $wine_rules_file
7060 ALL_POT_FILES=""
7061 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7062 ALL_TEST_RESOURCES=""
7065 wine_fn_append_file ()
7067 as_fn_append $1 " \\$as_nl $2"
7070 wine_fn_ignore_file ()
7072 case "$1" in
7073 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7074 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7075 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7076 esac
7079 wine_fn_append_rule ()
7081 $as_echo "$1" >>$wine_rules_file
7084 wine_fn_has_flag ()
7086 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7089 wine_fn_depend_rules ()
7091 ac_alldeps=$1
7092 ac_makedep="\$(MAKEDEP)"
7093 ac_input=Make.vars.in:$ac_dir/Makefile.in
7094 case $1 in
7095 *.in)
7096 ac_input=$ac_input:$1
7097 test "$srcdir" = . || ac_alldeps="$srcdir/$ac_alldeps" ;;
7099 ac_makedep="$1 $ac_makedep" ;;
7100 esac
7102 wine_fn_append_rule \
7103 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status $ac_alldeps \$(MAKEDEP)
7104 @./config.status --file $ac_dir/Makefile:$ac_input && \$(MAKEDEP) -M $ac_dir
7105 depend: $ac_dir/depend
7106 .PHONY: $ac_dir/depend
7107 $ac_dir/depend: $ac_makedep dummy
7108 @./config.status --file $ac_dir/Makefile:$ac_input && \$(MAKEDEP) -M $ac_dir"
7111 wine_fn_pot_rules ()
7113 test "x$with_gettextpo" = xyes || return
7115 if wine_fn_has_flag mc
7116 then
7117 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7118 wine_fn_append_rule \
7119 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7120 @cd $ac_dir && \$(MAKE) msg.pot
7121 $ac_dir/msg.pot: tools/wmc include"
7123 if wine_fn_has_flag po
7124 then
7125 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7126 wine_fn_append_rule \
7127 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7128 @cd $ac_dir && \$(MAKE) rsrc.pot
7129 $ac_dir/rsrc.pot: tools/wrc include"
7133 wine_fn_all_rules ()
7135 ac_rules=$1
7137 wine_fn_depend_rules ${ac_rules:-Make.rules}
7138 wine_fn_append_rule \
7139 "all: $ac_dir
7140 .PHONY: $ac_dir
7141 $ac_dir: $ac_dir/Makefile dummy
7142 @cd $ac_dir && \$(MAKE)"
7145 wine_fn_install_rules ()
7147 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7149 wine_fn_append_rule \
7150 ".PHONY: $ac_dir/install $ac_dir/uninstall
7151 $ac_dir/install:: $ac_dir
7152 @cd $ac_dir && \$(MAKE) install
7153 $ac_dir/uninstall:: $ac_dir/Makefile
7154 @cd $ac_dir && \$(MAKE) uninstall
7155 install:: $ac_dir/install
7156 __uninstall__: $ac_dir/uninstall"
7158 if wine_fn_has_flag install-lib
7159 then
7160 wine_fn_append_rule \
7161 ".PHONY: $ac_dir/install-lib
7162 $ac_dir/install-lib:: $ac_dir
7163 @cd $ac_dir && \$(MAKE) install-lib
7164 install-lib:: $ac_dir/install-lib"
7167 if wine_fn_has_flag install-dev
7168 then
7169 wine_fn_append_rule \
7170 ".PHONY: $ac_dir/install-dev
7171 $ac_dir/install-dev:: $ac_dir
7172 @cd $ac_dir && \$(MAKE) install-dev
7173 install-dev:: $ac_dir/install-dev"
7177 wine_fn_clean_rules ()
7179 ac_clean=$@
7180 ac_extraclean="$ac_dir/Makefile"
7181 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7183 if wine_fn_has_flag clean
7184 then
7185 wine_fn_append_rule \
7186 "__clean__: $ac_dir/clean
7187 .PHONY: $ac_dir/clean
7188 $ac_dir/clean: $ac_dir/Makefile
7189 @cd $ac_dir && \$(MAKE) clean
7190 \$(RM) $ac_extraclean"
7191 else
7192 wine_fn_append_rule \
7193 "__clean__: $ac_dir/clean
7194 .PHONY: $ac_dir/clean
7195 $ac_dir/clean: dummy
7196 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7200 wine_fn_disabled_rules ()
7202 ac_clean=$@
7203 ac_extraclean="$ac_dir/Makefile"
7204 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7206 wine_fn_append_rule \
7207 "__clean__: $ac_dir/clean
7208 .PHONY: $ac_dir/clean
7209 $ac_dir/clean: dummy
7210 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7213 wine_fn_config_makefile ()
7215 ac_dir=$1
7216 ac_enable=$2
7217 ac_flags=$3
7219 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7220 wine_fn_disabled_rules; return
7222 wine_fn_all_rules
7223 wine_fn_install_rules
7224 wine_fn_clean_rules
7227 wine_fn_config_lib ()
7229 ac_name=$1
7230 ac_flags=$2
7231 ac_dir=dlls/$ac_name
7232 ac_deps="include"
7234 if test "x$enable_tools" = xno; then :
7236 else
7237 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7239 wine_fn_all_rules Make.rules.in
7240 wine_fn_clean_rules
7242 wine_fn_append_rule \
7243 ".PHONY: $ac_dir/install $ac_dir/uninstall
7244 $ac_dir/install:: $ac_dir
7245 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7246 $ac_dir/uninstall::
7247 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7248 install install-dev:: $ac_dir/install
7249 __uninstall__: $ac_dir/uninstall
7250 __builddeps__: $ac_dir
7251 $ac_dir: $ac_deps"
7254 wine_fn_config_dll ()
7256 ac_name=$1
7257 ac_dir=dlls/$ac_name
7258 ac_enable=$2
7259 ac_flags=$3
7260 ac_implib=${4:-$ac_name}
7261 ac_file=$ac_dir/lib$ac_implib
7262 ac_dll=$ac_name
7263 ac_deps="include"
7264 ac_implibflags=""
7266 if test "x$enable_tools" = xno; then :
7268 else
7269 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7271 case $ac_name in
7272 *16) ac_implibflags=" -m16" ;;
7273 *.*) ;;
7274 *) ac_dll=$ac_dll.dll ;;
7275 esac
7277 ac_clean=
7278 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7279 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7280 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7281 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7283 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7284 if wine_fn_has_flag implib && test "$ac_enable" != enable_win16
7285 then
7286 wine_fn_depend_rules Make.rules.in
7287 wine_fn_clean_rules $ac_clean
7288 else
7289 wine_fn_disabled_rules $ac_clean
7290 return
7292 else
7293 wine_fn_all_rules Make.rules.in
7294 wine_fn_clean_rules $ac_clean
7295 wine_fn_append_rule \
7296 "$ac_dir: __builddeps__
7297 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7298 @cd $ac_dir && \$(MAKE) \$@
7299 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7300 install install-lib:: $ac_dir/install-lib
7301 __uninstall__: $ac_dir/uninstall"
7302 if test -n "$DLLEXT"
7303 then
7304 wine_fn_append_rule \
7305 "$ac_dir/install-lib:: $ac_dir
7306 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7307 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7308 $ac_dir/uninstall::
7309 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7310 else
7311 wine_fn_append_rule \
7312 "$ac_dir/install-lib:: $ac_dir
7313 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7314 $ac_dir/uninstall::
7315 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7318 wine_fn_pot_rules
7321 if wine_fn_has_flag staticimplib
7322 then
7323 wine_fn_append_rule \
7324 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7325 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7326 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7327 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7328 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7329 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7330 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7331 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7332 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7333 $ac_dir/uninstall::
7334 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7335 install install-dev:: $ac_dir/install-dev
7336 __uninstall__: $ac_dir/uninstall"
7338 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7339 then
7340 wine_fn_append_rule \
7341 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7342 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7343 $ac_dir/uninstall::
7344 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7347 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7348 then
7349 wine_fn_append_rule \
7350 "__builddeps__: $ac_file.cross.a
7351 $ac_file.cross.a: $ac_dir/Makefile dummy
7352 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7355 elif wine_fn_has_flag implib
7356 then
7357 wine_fn_append_rule \
7358 "__builddeps__: $ac_file.$IMPLIBEXT
7359 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7360 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7361 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7362 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7363 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7364 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7365 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7366 $ac_dir/uninstall::
7367 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7368 install install-dev:: $ac_dir/install-dev
7369 __uninstall__: $ac_dir/uninstall"
7370 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7371 then
7372 wine_fn_append_rule \
7373 "__builddeps__: $ac_file.cross.a
7374 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7375 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7378 if test "$ac_name" != "$ac_implib"
7379 then
7380 wine_fn_append_rule \
7381 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7382 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7383 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7384 clean::
7385 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7386 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7387 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7388 then
7389 wine_fn_append_rule \
7390 "__builddeps__: dlls/lib$ac_implib.cross.a
7391 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7392 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7393 clean::
7394 \$(RM) dlls/lib$ac_implib.cross.a"
7395 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7401 wine_fn_config_program ()
7403 ac_name=$1
7404 ac_dir=programs/$ac_name
7405 ac_enable=$2
7406 ac_flags=$3
7407 ac_program=$ac_name
7409 case $ac_name in
7410 *.*) ;;
7411 *) ac_program=$ac_program.exe ;;
7412 esac
7414 ac_clean=
7415 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7416 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7417 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7418 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7420 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7421 wine_fn_disabled_rules $ac_clean; return
7424 wine_fn_all_rules Make.rules.in
7425 wine_fn_clean_rules $ac_clean
7426 wine_fn_append_rule "$ac_dir: __builddeps__"
7427 wine_fn_pot_rules
7429 wine_fn_has_flag install || return
7430 wine_fn_append_rule \
7431 ".PHONY: $ac_dir/install $ac_dir/uninstall
7432 install install-lib:: $ac_dir/install
7433 __uninstall__: $ac_dir/uninstall"
7435 if test -n "$DLLEXT"
7436 then
7437 wine_fn_append_rule \
7438 "$ac_dir/install:: $ac_dir
7439 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7440 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7441 $ac_dir/uninstall::
7442 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7444 if test -z "$with_wine64" && wine_fn_has_flag installbin
7445 then
7446 wine_fn_append_rule \
7447 "$ac_dir/install:: __tooldeps__
7448 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7449 $ac_dir/uninstall::
7450 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7452 else
7453 wine_fn_append_rule \
7454 "$ac_dir/install:: $ac_dir
7455 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7456 $ac_dir/uninstall::
7457 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7460 if test -z "$with_wine64" && wine_fn_has_flag manpage
7461 then
7462 wine_fn_append_rule \
7463 "$ac_dir/install:: $ac_dir
7464 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7465 $ac_dir/uninstall::
7466 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7470 wine_fn_config_test ()
7472 ac_dir=$1
7473 ac_name=$2
7474 ac_flags=$3
7476 ac_clean=
7477 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7478 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7479 ac_clean="$ac_clean $ac_dir/testlist.c"
7481 if test "x$enable_tests" = xno; then :
7482 wine_fn_disabled_rules $ac_clean; return
7485 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7486 wine_fn_all_rules Make.rules.in
7487 wine_fn_clean_rules $ac_clean
7489 wine_fn_append_rule \
7490 "$ac_dir: programs/winetest/Makefile __builddeps__
7491 programs/winetest: $ac_dir
7492 check test: $ac_dir/test
7493 .PHONY: $ac_dir/test
7494 $ac_dir/test: dummy
7495 @cd $ac_dir && \$(MAKE) test
7496 testclean::
7497 \$(RM) $ac_dir/*.ok"
7499 if test -n "$CROSSTARGET"
7500 then
7501 wine_fn_append_rule \
7502 "crosstest: $ac_dir/crosstest
7503 .PHONY: $ac_dir/crosstest
7504 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7505 @cd $ac_dir && \$(MAKE) crosstest"
7509 wine_fn_config_tool ()
7511 ac_dir=$1
7512 ac_flags=$2
7513 if test "x$enable_tools" = xno; then :
7514 return
7517 wine_fn_all_rules
7518 wine_fn_install_rules
7519 wine_fn_clean_rules
7521 wine_fn_append_rule "__tooldeps__: $ac_dir"
7522 wine_fn_append_rule "$ac_dir: libs/port"
7523 case $ac_dir in
7524 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7525 esac
7526 case $ac_dir in
7527 tools/*) wine_fn_ignore_file $ac_dir/`expr $ac_dir : tools/"\\(.*\\)"`$ac_exeext ;;
7528 esac
7531 wine_fn_config_makerules ()
7533 ac_rules=$1
7534 ac_deps=$2
7535 wine_fn_append_rule \
7536 "$ac_rules: $srcdir/$ac_rules.in $ac_deps config.status
7537 @./config.status $ac_rules
7538 distclean::
7539 \$(RM) $ac_rules"
7540 wine_fn_ignore_file $ac_rules
7543 wine_fn_config_symlink ()
7545 ac_linkdir=
7546 if test "x$1" = "x-d"
7547 then
7548 ac_linkdir=$2
7549 shift; shift
7551 ac_links=$@
7552 wine_fn_append_rule \
7553 "$ac_links:
7554 @./config.status \$@
7555 distclean::
7556 \$(RM) $ac_links"
7557 for f in $ac_links; do wine_fn_ignore_file $f; done
7558 test -n "$ac_linkdir" || return
7559 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7561 wine_fn_ignore_file "loader/wine"
7562 test "$wine_binary" = wine || wine_fn_ignore_file "loader/$wine_binary"
7563 wine_fn_ignore_file "loader/wine-installed"
7565 LOADER_RULES="
7566 all: $wine_binary wine-installed
7568 install install-lib:: wine-installed
7569 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7571 uninstall::
7572 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7576 case $host_os in
7577 cygwin*|mingw32*)
7578 if test -n "$ac_tool_prefix"; then
7579 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7580 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7582 $as_echo_n "checking for $ac_word... " >&6; }
7583 if ${ac_cv_prog_DLLTOOL+:} false; then :
7584 $as_echo_n "(cached) " >&6
7585 else
7586 if test -n "$DLLTOOL"; then
7587 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7588 else
7589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7590 for as_dir in $PATH
7592 IFS=$as_save_IFS
7593 test -z "$as_dir" && as_dir=.
7594 for ac_exec_ext in '' $ac_executable_extensions; do
7595 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7596 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7597 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7598 break 2
7600 done
7601 done
7602 IFS=$as_save_IFS
7606 DLLTOOL=$ac_cv_prog_DLLTOOL
7607 if test -n "$DLLTOOL"; then
7608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7609 $as_echo "$DLLTOOL" >&6; }
7610 else
7611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7612 $as_echo "no" >&6; }
7617 if test -z "$ac_cv_prog_DLLTOOL"; then
7618 ac_ct_DLLTOOL=$DLLTOOL
7619 # Extract the first word of "dlltool", so it can be a program name with args.
7620 set dummy dlltool; ac_word=$2
7621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7622 $as_echo_n "checking for $ac_word... " >&6; }
7623 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7624 $as_echo_n "(cached) " >&6
7625 else
7626 if test -n "$ac_ct_DLLTOOL"; then
7627 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7628 else
7629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7630 for as_dir in $PATH
7632 IFS=$as_save_IFS
7633 test -z "$as_dir" && as_dir=.
7634 for ac_exec_ext in '' $ac_executable_extensions; do
7635 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7636 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7637 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7638 break 2
7640 done
7641 done
7642 IFS=$as_save_IFS
7646 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7647 if test -n "$ac_ct_DLLTOOL"; then
7648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7649 $as_echo "$ac_ct_DLLTOOL" >&6; }
7650 else
7651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7652 $as_echo "no" >&6; }
7655 if test "x$ac_ct_DLLTOOL" = x; then
7656 DLLTOOL="false"
7657 else
7658 case $cross_compiling:$ac_tool_warned in
7659 yes:)
7660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7661 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7662 ac_tool_warned=yes ;;
7663 esac
7664 DLLTOOL=$ac_ct_DLLTOOL
7666 else
7667 DLLTOOL="$ac_cv_prog_DLLTOOL"
7670 LIBEXT="dll"
7671 DLLEXT=""
7672 IMPLIBEXT="a"
7673 STATIC_IMPLIBEXT="a"
7674 enable_iphlpapi=${enable_iphlpapi:-no}
7675 enable_kernel32=${enable_kernel32:-no}
7676 enable_msvcrt=${enable_msvcrt:-no}
7677 enable_ntdll=${enable_ntdll:-no}
7678 enable_ws2_32=${enable_ws2_32:-no}
7679 enable_loader=${enable_loader:-no}
7680 enable_server=${enable_server:-no}
7681 with_x=${with_x:-no}
7682 with_pthread=${with_pthread:-no}
7684 crtlibs=""
7685 case $host_os in
7686 mingw32*)
7687 crtlibs="-lmsvcrt"
7688 SOCKETLIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7690 esac
7692 wine_fn_ignore_file "libs/wine/libwine.dll"
7693 wine_fn_ignore_file "libs/wine/libwine.a"
7694 LIBWINE_RULES="
7695 all: libwine.dll libwine.a
7697 libwine.a: \$(srcdir)/wine.def
7698 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7700 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7701 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7703 install install-lib:: libwine.dll
7704 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7706 install install-dev:: libwine.a
7707 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7709 uninstall::
7710 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7712 clean::
7713 \$(RM) libwine.dll
7718 darwin*|macosx*)
7719 LIBEXT="dylib"
7720 DLLFLAGS="$DLLFLAGS -fPIC"
7721 LIBWINE_LDFLAGS="-multiply_defined suppress"
7722 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7723 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7724 COREFOUNDATIONLIB="-framework CoreFoundation"
7726 IOKITLIB="-framework IOKit -framework CoreFoundation"
7728 FORCEFEEDBACKLIB="-framework ForceFeedback -framework CoreFoundation"
7730 APPLICATIONSERVICESLIB="-framework ApplicationServices"
7732 CORESERVICESLIB="-framework CoreServices"
7734 APPKITLIB="-framework AppKit"
7736 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7737 case $host_os in
7738 darwin11*) LDEXECFLAGS="-Wl,-macosx_version_min,10.6 $LDEXECFLAGS" ;;
7739 esac
7740 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7741 then
7742 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
7745 if test "$ac_cv_header_Security_Security_h" = "yes"
7746 then
7747 SECURITYLIB="-framework Security -framework CoreFoundation"
7749 ac_save_LIBS="$LIBS"
7750 LIBS="$LIBS $SECURITYLIB"
7751 for ac_func in SSLCopyPeerCertificates
7752 do :
7753 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7754 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
7755 cat >>confdefs.h <<_ACEOF
7756 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7757 _ACEOF
7760 done
7762 LIBS="$ac_save_LIBS"
7763 with_gnutls=${with_gnutls:-no}
7765 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7766 then
7767 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7768 then
7769 COREAUDIO="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7771 else
7772 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7775 ac_save_LIBS="$LIBS"
7776 LIBS="$LIBS $COREAUDIO"
7777 for ac_func in AUGraphAddNode
7778 do :
7779 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7780 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
7781 cat >>confdefs.h <<_ACEOF
7782 #define HAVE_AUGRAPHADDNODE 1
7783 _ACEOF
7786 done
7788 LIBS="$ac_save_LIBS"
7790 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7791 then
7792 FRAMEWORK_OPENAL="-framework OpenAL"
7795 cat >>confdefs.h <<_ACEOF
7796 #define HAVE_OPENAL 1
7797 _ACEOF
7799 ac_cv_lib_openal=yes
7801 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7802 then
7803 LIBOPENCL="-framework OpenCL"
7805 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
7807 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7808 then
7809 ac_save_LIBS="$LIBS"
7810 LIBS="$LIBS $IOKITLIB"
7811 for ac_func in IOHIDManagerCreate
7812 do :
7813 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7814 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
7815 cat >>confdefs.h <<_ACEOF
7816 #define HAVE_IOHIDMANAGERCREATE 1
7817 _ACEOF
7820 done
7822 LIBS="$ac_save_LIBS"
7824 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7825 then
7826 QUICKTIMELIB="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7828 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
7829 else
7830 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7832 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7833 then
7834 CARBONLIB="-framework Carbon"
7838 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7839 then
7840 ac_save_LIBS="$LIBS"
7841 LIBS="$LIBS $APPLICATIONSERVICESLIB"
7842 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7843 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
7844 enable_winemac_drv=${enable_winemac_drv:-yes}
7847 LIBS="$ac_save_LIBS"
7850 if test "x$enable_win16" = "xyes"
7851 then
7852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7853 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7854 if test "$cross_compiling" = yes; then :
7855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7856 $as_echo "cross-compiling, assuming yes" >&6; }
7857 else
7858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7859 /* end confdefs.h. */
7860 asm(".text\n"
7861 "bad:\tnop;nop\n"
7862 "good:\tnop;nop\n\t"
7863 ".globl _testfunc\n"
7864 "_testfunc:\tcallw good");
7865 extern void testfunc();
7867 main ()
7869 unsigned short *p = (unsigned short *)testfunc;
7870 return p[0] != 0xe866 || p[1] != 0xfffa
7872 return 0;
7874 _ACEOF
7875 if ac_fn_c_try_run "$LINENO"; then :
7876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7877 $as_echo "yes" >&6; }
7878 else
7879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7880 $as_echo "no" >&6; }
7881 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
7883 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7884 conftest.$ac_objext conftest.beam conftest.$ac_ext
7889 wine_fn_ignore_file "libs/wine/libwine*.dylib"
7890 LIBWINE_RULES="
7891 all: libwine.dylib
7893 libwine.\$(VERSION).dylib: \$(OBJS)
7894 \$(CC) -dynamiclib -install_name @rpath/libwine.\$(SOVERSION).dylib -Wl,-rpath,@loader_path/ -compatibility_version \$(SOVERSION) -current_version \$(VERSION) \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7896 libwine.\$(SOVERSION).dylib: libwine.\$(VERSION).dylib
7897 \$(RM) \$@ && \$(LN_S) libwine.\$(VERSION).dylib \$@
7899 libwine.dylib: libwine.\$(SOVERSION).dylib
7900 \$(RM) \$@ && \$(LN_S) libwine.\$(SOVERSION).dylib \$@
7902 install install-lib:: libwine.\$(VERSION).dylib
7903 \$(INSTALL_PROGRAM) libwine.\$(VERSION).dylib \$(DESTDIR)\$(libdir)/libwine.\$(VERSION).dylib
7904 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.\$(SOVERSION).dylib && \$(LN_S) libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib
7906 install install-dev::
7907 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.\$(VERSION).dylib libwine.dylib
7909 uninstall::
7910 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib
7912 clean::
7913 \$(RM) libwine.dylib libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib
7917 as_fn_append LOADER_RULES "
7918 $wine_binary: main.o wine_info.plist
7919 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7921 wine-installed: main.o wine_info.plist
7922 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7926 linux-android*)
7927 DLLFLAGS="$DLLFLAGS -fPIC"
7928 DLLPREFIX="lib"
7929 LDEXECFLAGS=""
7930 dlldir="\${libdir}"
7931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7932 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7933 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
7934 $as_echo_n "(cached) " >&6
7935 else
7936 ac_wine_try_cflags_saved=$CFLAGS
7937 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
7938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7939 /* end confdefs.h. */
7940 int main(int argc, char **argv) { return 0; }
7941 _ACEOF
7942 if ac_fn_c_try_link "$LINENO"; then :
7943 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
7944 else
7945 ac_cv_cflags__fPIC__Wl___export_dynamic=no
7947 rm -f core conftest.err conftest.$ac_objext \
7948 conftest$ac_exeext conftest.$ac_ext
7949 CFLAGS=$ac_wine_try_cflags_saved
7951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7952 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7953 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
7954 LDEXECFLAGS="-Wl,--export-dynamic"
7956 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7958 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7959 if eval \${$as_ac_var+:} false; then :
7960 $as_echo_n "(cached) " >&6
7961 else
7962 ac_wine_try_cflags_saved=$CFLAGS
7963 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7965 /* end confdefs.h. */
7966 int main(int argc, char **argv) { return 0; }
7967 _ACEOF
7968 if ac_fn_c_try_link "$LINENO"; then :
7969 eval "$as_ac_var=yes"
7970 else
7971 eval "$as_ac_var=no"
7973 rm -f core conftest.err conftest.$ac_objext \
7974 conftest$ac_exeext conftest.$ac_ext
7975 CFLAGS=$ac_wine_try_cflags_saved
7977 eval ac_res=\$$as_ac_var
7978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7979 $as_echo "$ac_res" >&6; }
7980 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7981 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7982 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7983 else
7984 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7986 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7987 if eval \${$as_ac_var+:} false; then :
7988 $as_echo_n "(cached) " >&6
7989 else
7990 ac_wine_try_cflags_saved=$CFLAGS
7991 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7993 /* end confdefs.h. */
7994 int main(int argc, char **argv) { return 0; }
7995 _ACEOF
7996 if ac_fn_c_try_link "$LINENO"; then :
7997 eval "$as_ac_var=yes"
7998 else
7999 eval "$as_ac_var=no"
8001 rm -f core conftest.err conftest.$ac_objext \
8002 conftest$ac_exeext conftest.$ac_ext
8003 CFLAGS=$ac_wine_try_cflags_saved
8005 eval ac_res=\$$as_ac_var
8006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8007 $as_echo "$ac_res" >&6; }
8008 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
8009 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8010 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8015 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8016 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8017 $as_echo_n "(cached) " >&6
8018 else
8019 ac_wine_try_cflags_saved=$CFLAGS
8020 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8022 /* end confdefs.h. */
8023 int main(int argc, char **argv) { return 0; }
8024 _ACEOF
8025 if ac_fn_c_try_link "$LINENO"; then :
8026 ac_cv_cflags__Wl___enable_new_dtags=yes
8027 else
8028 ac_cv_cflags__Wl___enable_new_dtags=no
8030 rm -f core conftest.err conftest.$ac_objext \
8031 conftest$ac_exeext conftest.$ac_ext
8032 CFLAGS=$ac_wine_try_cflags_saved
8034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8035 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8036 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
8037 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8040 case $host_cpu in
8041 *i[3456789]86* | x86_64)
8042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8043 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8044 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8045 $as_echo_n "(cached) " >&6
8046 else
8047 ac_wine_try_cflags_saved=$CFLAGS
8048 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8050 /* end confdefs.h. */
8051 int main(int argc, char **argv) { return 0; }
8052 _ACEOF
8053 if ac_fn_c_try_link "$LINENO"; then :
8054 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8055 else
8056 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8058 rm -f core conftest.err conftest.$ac_objext \
8059 conftest$ac_exeext conftest.$ac_ext
8060 CFLAGS=$ac_wine_try_cflags_saved
8062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8063 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8064 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
8065 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8068 esac
8070 wine_fn_ignore_file "libs/wine/libwine.so"
8071 LIBWINE_RULES="
8072 all: libwine.so
8074 libwine.so: \$(OBJS)
8075 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8077 install install-lib:: libwine.so
8078 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8080 uninstall::
8081 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8083 clean::
8084 \$(RM) libwine.so
8088 as_fn_append LOADER_RULES "
8089 $wine_binary: main.o
8090 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8092 wine-installed: main.o
8093 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8098 DLLFLAGS="$DLLFLAGS -fPIC"
8099 LDEXECFLAGS=""
8100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8101 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8102 if ${ac_cv_c_dll_gnuelf+:} false; then :
8103 $as_echo_n "(cached) " >&6
8104 else
8105 ac_wine_try_cflags_saved=$CFLAGS
8106 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8108 /* end confdefs.h. */
8109 void myfunc() {}
8110 _ACEOF
8111 if ac_fn_c_try_link "$LINENO"; then :
8112 ac_cv_c_dll_gnuelf="yes"
8113 else
8114 ac_cv_c_dll_gnuelf="no"
8116 rm -f core conftest.err conftest.$ac_objext \
8117 conftest$ac_exeext conftest.$ac_ext
8118 CFLAGS=$ac_wine_try_cflags_saved
8120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8121 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8122 if test "$ac_cv_c_dll_gnuelf" = "yes"
8123 then
8124 LDSHARED="\$(CC) -shared"
8125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8126 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8127 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8128 $as_echo_n "(cached) " >&6
8129 else
8130 ac_wine_try_cflags_saved=$CFLAGS
8131 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8133 /* end confdefs.h. */
8134 int main(int argc, char **argv) { return 0; }
8135 _ACEOF
8136 if ac_fn_c_try_link "$LINENO"; then :
8137 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8138 else
8139 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8141 rm -f core conftest.err conftest.$ac_objext \
8142 conftest$ac_exeext conftest.$ac_ext
8143 CFLAGS=$ac_wine_try_cflags_saved
8145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8146 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8147 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then :
8148 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.\$(SOVERSION)"
8149 else
8150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8151 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8152 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8153 $as_echo_n "(cached) " >&6
8154 else
8155 ac_wine_try_cflags_saved=$CFLAGS
8156 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8158 /* end confdefs.h. */
8159 int main(int argc, char **argv) { return 0; }
8160 _ACEOF
8161 if ac_fn_c_try_link "$LINENO"; then :
8162 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8163 else
8164 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8166 rm -f core conftest.err conftest.$ac_objext \
8167 conftest$ac_exeext conftest.$ac_ext
8168 CFLAGS=$ac_wine_try_cflags_saved
8170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8171 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8172 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then :
8173 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.\$(SOVERSION)"
8177 echo '{ global: *; };' >conftest.map
8178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8179 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8180 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8181 $as_echo_n "(cached) " >&6
8182 else
8183 ac_wine_try_cflags_saved=$CFLAGS
8184 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8186 /* end confdefs.h. */
8187 int main(int argc, char **argv) { return 0; }
8188 _ACEOF
8189 if ac_fn_c_try_link "$LINENO"; then :
8190 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8191 else
8192 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8194 rm -f core conftest.err conftest.$ac_objext \
8195 conftest$ac_exeext conftest.$ac_ext
8196 CFLAGS=$ac_wine_try_cflags_saved
8198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8199 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8200 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then :
8201 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8203 rm -f conftest.map
8205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8206 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8207 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8208 $as_echo_n "(cached) " >&6
8209 else
8210 ac_wine_try_cflags_saved=$CFLAGS
8211 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8213 /* end confdefs.h. */
8214 int main(int argc, char **argv) { return 0; }
8215 _ACEOF
8216 if ac_fn_c_try_link "$LINENO"; then :
8217 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8218 else
8219 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8221 rm -f core conftest.err conftest.$ac_objext \
8222 conftest$ac_exeext conftest.$ac_ext
8223 CFLAGS=$ac_wine_try_cflags_saved
8225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8226 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8227 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
8228 LDEXECFLAGS="-Wl,--export-dynamic"
8231 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8233 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8234 if eval \${$as_ac_var+:} false; then :
8235 $as_echo_n "(cached) " >&6
8236 else
8237 ac_wine_try_cflags_saved=$CFLAGS
8238 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8240 /* end confdefs.h. */
8241 int main(int argc, char **argv) { return 0; }
8242 _ACEOF
8243 if ac_fn_c_try_link "$LINENO"; then :
8244 eval "$as_ac_var=yes"
8245 else
8246 eval "$as_ac_var=no"
8248 rm -f core conftest.err conftest.$ac_objext \
8249 conftest$ac_exeext conftest.$ac_ext
8250 CFLAGS=$ac_wine_try_cflags_saved
8252 eval ac_res=\$$as_ac_var
8253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8254 $as_echo "$ac_res" >&6; }
8255 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
8256 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8257 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8258 else
8259 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8261 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8262 if eval \${$as_ac_var+:} false; then :
8263 $as_echo_n "(cached) " >&6
8264 else
8265 ac_wine_try_cflags_saved=$CFLAGS
8266 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8268 /* end confdefs.h. */
8269 int main(int argc, char **argv) { return 0; }
8270 _ACEOF
8271 if ac_fn_c_try_link "$LINENO"; then :
8272 eval "$as_ac_var=yes"
8273 else
8274 eval "$as_ac_var=no"
8276 rm -f core conftest.err conftest.$ac_objext \
8277 conftest$ac_exeext conftest.$ac_ext
8278 CFLAGS=$ac_wine_try_cflags_saved
8280 eval ac_res=\$$as_ac_var
8281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8282 $as_echo "$ac_res" >&6; }
8283 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
8284 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8285 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8290 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8291 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8292 $as_echo_n "(cached) " >&6
8293 else
8294 ac_wine_try_cflags_saved=$CFLAGS
8295 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8297 /* end confdefs.h. */
8298 int main(int argc, char **argv) { return 0; }
8299 _ACEOF
8300 if ac_fn_c_try_link "$LINENO"; then :
8301 ac_cv_cflags__Wl___enable_new_dtags=yes
8302 else
8303 ac_cv_cflags__Wl___enable_new_dtags=no
8305 rm -f core conftest.err conftest.$ac_objext \
8306 conftest$ac_exeext conftest.$ac_ext
8307 CFLAGS=$ac_wine_try_cflags_saved
8309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8310 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8311 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
8312 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8315 case $host_cpu in
8316 *i[3456789]86* | x86_64)
8317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8318 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8319 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8320 $as_echo_n "(cached) " >&6
8321 else
8322 ac_wine_try_cflags_saved=$CFLAGS
8323 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8325 /* end confdefs.h. */
8326 int main(int argc, char **argv) { return 0; }
8327 _ACEOF
8328 if ac_fn_c_try_link "$LINENO"; then :
8329 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8330 else
8331 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8333 rm -f core conftest.err conftest.$ac_objext \
8334 conftest$ac_exeext conftest.$ac_ext
8335 CFLAGS=$ac_wine_try_cflags_saved
8337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8338 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8339 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
8340 case $host_os in
8341 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8342 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8343 esac
8346 # Extract the first word of "prelink", so it can be a program name with args.
8347 set dummy prelink; ac_word=$2
8348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8349 $as_echo_n "checking for $ac_word... " >&6; }
8350 if ${ac_cv_path_PRELINK+:} false; then :
8351 $as_echo_n "(cached) " >&6
8352 else
8353 case $PRELINK in
8354 [\\/]* | ?:[\\/]*)
8355 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8359 for as_dir in /sbin /usr/sbin $PATH
8361 IFS=$as_save_IFS
8362 test -z "$as_dir" && as_dir=.
8363 for ac_exec_ext in '' $ac_executable_extensions; do
8364 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8365 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8367 break 2
8369 done
8370 done
8371 IFS=$as_save_IFS
8373 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8375 esac
8377 PRELINK=$ac_cv_path_PRELINK
8378 if test -n "$PRELINK"; then
8379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8380 $as_echo "$PRELINK" >&6; }
8381 else
8382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8383 $as_echo "no" >&6; }
8387 if test "x$PRELINK" = xfalse
8388 then
8389 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
8392 esac
8394 else
8395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8396 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8397 if ${ac_cv_c_dll_unixware+:} false; then :
8398 $as_echo_n "(cached) " >&6
8399 else
8400 ac_wine_try_cflags_saved=$CFLAGS
8401 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8403 /* end confdefs.h. */
8404 void myfunc() {}
8405 _ACEOF
8406 if ac_fn_c_try_link "$LINENO"; then :
8407 ac_cv_c_dll_unixware="yes"
8408 else
8409 ac_cv_c_dll_unixware="no"
8411 rm -f core conftest.err conftest.$ac_objext \
8412 conftest$ac_exeext conftest.$ac_ext
8413 CFLAGS=$ac_wine_try_cflags_saved
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8416 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8417 if test "$ac_cv_c_dll_unixware" = "yes"
8418 then
8419 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.\$(SOVERSION)"
8422 wine_fn_ignore_file "libs/wine/libwine.so*"
8423 LIBWINE_RULES="
8424 all: libwine.so
8426 libwine.so.\$(VERSION): \$(OBJS) \$(srcdir)/wine.map
8427 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8429 libwine.so.\$(SOVERSION): libwine.so.\$(VERSION)
8430 \$(RM) \$@ && \$(LN_S) libwine.so.\$(VERSION) \$@
8432 libwine.so: libwine.so.\$(SOVERSION)
8433 \$(RM) \$@ && \$(LN_S) libwine.so.\$(SOVERSION) \$@
8435 install install-lib:: libwine.so.\$(VERSION)
8436 \$(INSTALL_PROGRAM) libwine.so.\$(VERSION) \$(DESTDIR)\$(libdir)/libwine.so.\$(VERSION)
8437 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.\$(SOVERSION) && \$(LN_S) libwine.so.\$(VERSION) libwine.so.\$(SOVERSION)
8439 install install-dev::
8440 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.\$(VERSION) libwine.so
8442 uninstall::
8443 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.\$(VERSION) libwine.so.\$(SOVERSION)
8445 clean::
8446 \$(RM) libwine.so.\$(SOVERSION) libwine.so.\$(VERSION)
8450 as_fn_append LOADER_RULES "
8451 $wine_binary: main.o
8452 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8454 wine-installed: main.o
8455 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8458 esac
8460 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8461 enable_winemac_drv=${enable_winemac_drv:-no}
8463 CROSSTARGET=""
8465 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8466 then
8467 case "$host_cpu" in
8468 i[3456789]86*)
8469 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
8470 mingw32-gcc" ;;
8471 x86_64)
8472 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 " ;;
8474 ac_prefix_list="" ;;
8475 esac
8476 for ac_prog in $ac_prefix_list
8478 # Extract the first word of "$ac_prog", so it can be a program name with args.
8479 set dummy $ac_prog; ac_word=$2
8480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8481 $as_echo_n "checking for $ac_word... " >&6; }
8482 if ${ac_cv_prog_CROSSCC+:} false; then :
8483 $as_echo_n "(cached) " >&6
8484 else
8485 if test -n "$CROSSCC"; then
8486 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8487 else
8488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8489 for as_dir in $PATH
8491 IFS=$as_save_IFS
8492 test -z "$as_dir" && as_dir=.
8493 for ac_exec_ext in '' $ac_executable_extensions; do
8494 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8495 ac_cv_prog_CROSSCC="$ac_prog"
8496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8497 break 2
8499 done
8500 done
8501 IFS=$as_save_IFS
8505 CROSSCC=$ac_cv_prog_CROSSCC
8506 if test -n "$CROSSCC"; then
8507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8508 $as_echo "$CROSSCC" >&6; }
8509 else
8510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8511 $as_echo "no" >&6; }
8515 test -n "$CROSSCC" && break
8516 done
8517 test -n "$CROSSCC" || CROSSCC="false"
8519 if test "$CROSSCC" != "false"
8520 then
8521 ac_save_CC="$CC"
8522 CC="$CROSSCC"
8523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8524 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8526 /* end confdefs.h. */
8529 main ()
8533 return 0;
8535 _ACEOF
8536 if ac_fn_c_try_compile "$LINENO"; then :
8537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8538 $as_echo "yes" >&6; }
8539 set x $CROSSCC
8540 shift
8541 while test $# -ge 1
8543 case "$1" in
8544 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8545 esac
8546 shift
8547 done
8548 else
8549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8550 $as_echo "no" >&6; }
8552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8553 CC="$ac_save_CC"
8558 if test "$ac_cv_header_pthread_h" = "yes"
8559 then
8560 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8561 if test "x$ac_cv_func_pthread_create" = xyes; then :
8563 else
8564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8565 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8566 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8567 $as_echo_n "(cached) " >&6
8568 else
8569 ac_check_lib_save_LIBS=$LIBS
8570 LIBS="-lpthread $LIBS"
8571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8572 /* end confdefs.h. */
8574 /* Override any GCC internal prototype to avoid an error.
8575 Use char because int might match the return type of a GCC
8576 builtin and then its argument prototype would still apply. */
8577 #ifdef __cplusplus
8578 extern "C"
8579 #endif
8580 char pthread_create ();
8582 main ()
8584 return pthread_create ();
8586 return 0;
8588 _ACEOF
8589 if ac_fn_c_try_link "$LINENO"; then :
8590 ac_cv_lib_pthread_pthread_create=yes
8591 else
8592 ac_cv_lib_pthread_pthread_create=no
8594 rm -f core conftest.err conftest.$ac_objext \
8595 conftest$ac_exeext conftest.$ac_ext
8596 LIBS=$ac_check_lib_save_LIBS
8598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8599 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8600 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8601 LIBPTHREAD="-lpthread"
8608 if test "x$ac_cv_func_pthread_create" != xyes -a "x$LIBPTHREAD" = x; then :
8609 case "x$with_pthread" in
8610 xno) ;;
8611 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8612 Wine cannot support threads without libpthread.
8613 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8614 esac
8618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8619 $as_echo_n "checking for X... " >&6; }
8622 # Check whether --with-x was given.
8623 if test "${with_x+set}" = set; then :
8624 withval=$with_x;
8627 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8628 if test "x$with_x" = xno; then
8629 # The user explicitly disabled X.
8630 have_x=disabled
8631 else
8632 case $x_includes,$x_libraries in #(
8633 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8634 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8635 $as_echo_n "(cached) " >&6
8636 else
8637 # One or both of the vars are not set, and there is no cached value.
8638 ac_x_includes=no ac_x_libraries=no
8639 rm -f -r conftest.dir
8640 if mkdir conftest.dir; then
8641 cd conftest.dir
8642 cat >Imakefile <<'_ACEOF'
8643 incroot:
8644 @echo incroot='${INCROOT}'
8645 usrlibdir:
8646 @echo usrlibdir='${USRLIBDIR}'
8647 libdir:
8648 @echo libdir='${LIBDIR}'
8649 _ACEOF
8650 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8651 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8652 for ac_var in incroot usrlibdir libdir; do
8653 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8654 done
8655 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8656 for ac_extension in a so sl dylib la dll; do
8657 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8658 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8659 ac_im_usrlibdir=$ac_im_libdir; break
8661 done
8662 # Screen out bogus values from the imake configuration. They are
8663 # bogus both because they are the default anyway, and because
8664 # using them would break gcc on systems where it needs fixed includes.
8665 case $ac_im_incroot in
8666 /usr/include) ac_x_includes= ;;
8667 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8668 esac
8669 case $ac_im_usrlibdir in
8670 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8671 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8672 esac
8674 cd ..
8675 rm -f -r conftest.dir
8678 # Standard set of common directories for X headers.
8679 # Check X11 before X11Rn because it is often a symlink to the current release.
8680 ac_x_header_dirs='
8681 /usr/X11/include
8682 /usr/X11R7/include
8683 /usr/X11R6/include
8684 /usr/X11R5/include
8685 /usr/X11R4/include
8687 /usr/include/X11
8688 /usr/include/X11R7
8689 /usr/include/X11R6
8690 /usr/include/X11R5
8691 /usr/include/X11R4
8693 /usr/local/X11/include
8694 /usr/local/X11R7/include
8695 /usr/local/X11R6/include
8696 /usr/local/X11R5/include
8697 /usr/local/X11R4/include
8699 /usr/local/include/X11
8700 /usr/local/include/X11R7
8701 /usr/local/include/X11R6
8702 /usr/local/include/X11R5
8703 /usr/local/include/X11R4
8705 /usr/X386/include
8706 /usr/x386/include
8707 /usr/XFree86/include/X11
8709 /usr/include
8710 /usr/local/include
8711 /usr/unsupported/include
8712 /usr/athena/include
8713 /usr/local/x11r5/include
8714 /usr/lpp/Xamples/include
8716 /usr/openwin/include
8717 /usr/openwin/share/include'
8719 if test "$ac_x_includes" = no; then
8720 # Guess where to find include files, by looking for Xlib.h.
8721 # First, try using that file with no special directory specified.
8722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8723 /* end confdefs.h. */
8724 #include <X11/Xlib.h>
8725 _ACEOF
8726 if ac_fn_c_try_cpp "$LINENO"; then :
8727 # We can compile using X headers with no special include directory.
8728 ac_x_includes=
8729 else
8730 for ac_dir in $ac_x_header_dirs; do
8731 if test -r "$ac_dir/X11/Xlib.h"; then
8732 ac_x_includes=$ac_dir
8733 break
8735 done
8737 rm -f conftest.err conftest.i conftest.$ac_ext
8738 fi # $ac_x_includes = no
8740 if test "$ac_x_libraries" = no; then
8741 # Check for the libraries.
8742 # See if we find them without any special options.
8743 # Don't add to $LIBS permanently.
8744 ac_save_LIBS=$LIBS
8745 LIBS="-lX11 $LIBS"
8746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8747 /* end confdefs.h. */
8748 #include <X11/Xlib.h>
8750 main ()
8752 XrmInitialize ()
8754 return 0;
8756 _ACEOF
8757 if ac_fn_c_try_link "$LINENO"; then :
8758 LIBS=$ac_save_LIBS
8759 # We can link X programs with no special library path.
8760 ac_x_libraries=
8761 else
8762 LIBS=$ac_save_LIBS
8763 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8765 # Don't even attempt the hair of trying to link an X program!
8766 for ac_extension in a so sl dylib la dll; do
8767 if test -r "$ac_dir/libX11.$ac_extension"; then
8768 ac_x_libraries=$ac_dir
8769 break 2
8771 done
8772 done
8774 rm -f core conftest.err conftest.$ac_objext \
8775 conftest$ac_exeext conftest.$ac_ext
8776 fi # $ac_x_libraries = no
8778 case $ac_x_includes,$ac_x_libraries in #(
8779 no,* | *,no | *\'*)
8780 # Didn't find X, or a directory has "'" in its name.
8781 ac_cv_have_x="have_x=no";; #(
8783 # Record where we found X for the cache.
8784 ac_cv_have_x="have_x=yes\
8785 ac_x_includes='$ac_x_includes'\
8786 ac_x_libraries='$ac_x_libraries'"
8787 esac
8789 ;; #(
8790 *) have_x=yes;;
8791 esac
8792 eval "$ac_cv_have_x"
8793 fi # $with_x != no
8795 if test "$have_x" != yes; then
8796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8797 $as_echo "$have_x" >&6; }
8798 no_x=yes
8799 else
8800 # If each of the values was on the command line, it overrides each guess.
8801 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
8802 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
8803 # Update the cache value to reflect the command line values.
8804 ac_cv_have_x="have_x=yes\
8805 ac_x_includes='$x_includes'\
8806 ac_x_libraries='$x_libraries'"
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8808 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8811 if test "$no_x" = yes; then
8812 # Not all programs may use this symbol, but it does not hurt to define it.
8814 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8816 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
8817 else
8818 if test -n "$x_includes"; then
8819 X_CFLAGS="$X_CFLAGS -I$x_includes"
8822 # It would also be nice to do this for all -L options, not just this one.
8823 if test -n "$x_libraries"; then
8824 X_LIBS="$X_LIBS -L$x_libraries"
8825 # For Solaris; some versions of Sun CC require a space after -R and
8826 # others require no space. Words are not sufficient . . . .
8827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8828 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8829 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
8830 ac_xsave_c_werror_flag=$ac_c_werror_flag
8831 ac_c_werror_flag=yes
8832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8833 /* end confdefs.h. */
8836 main ()
8840 return 0;
8842 _ACEOF
8843 if ac_fn_c_try_link "$LINENO"; then :
8844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8845 $as_echo "no" >&6; }
8846 X_LIBS="$X_LIBS -R$x_libraries"
8847 else
8848 LIBS="$ac_xsave_LIBS -R $x_libraries"
8849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8850 /* end confdefs.h. */
8853 main ()
8857 return 0;
8859 _ACEOF
8860 if ac_fn_c_try_link "$LINENO"; then :
8861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8862 $as_echo "yes" >&6; }
8863 X_LIBS="$X_LIBS -R $x_libraries"
8864 else
8865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8866 $as_echo "neither works" >&6; }
8868 rm -f core conftest.err conftest.$ac_objext \
8869 conftest$ac_exeext conftest.$ac_ext
8871 rm -f core conftest.err conftest.$ac_objext \
8872 conftest$ac_exeext conftest.$ac_ext
8873 ac_c_werror_flag=$ac_xsave_c_werror_flag
8874 LIBS=$ac_xsave_LIBS
8877 # Check for system-dependent libraries X programs must link with.
8878 # Do this before checking for the system-independent R6 libraries
8879 # (-lICE), since we may need -lsocket or whatever for X linking.
8881 if test "$ISC" = yes; then
8882 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
8883 else
8884 # Martyn Johnson says this is needed for Ultrix, if the X
8885 # libraries were built with DECnet support. And Karl Berry says
8886 # the Alpha needs dnet_stub (dnet does not exist).
8887 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
8888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8889 /* end confdefs.h. */
8891 /* Override any GCC internal prototype to avoid an error.
8892 Use char because int might match the return type of a GCC
8893 builtin and then its argument prototype would still apply. */
8894 #ifdef __cplusplus
8895 extern "C"
8896 #endif
8897 char XOpenDisplay ();
8899 main ()
8901 return XOpenDisplay ();
8903 return 0;
8905 _ACEOF
8906 if ac_fn_c_try_link "$LINENO"; then :
8908 else
8909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8910 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8911 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
8912 $as_echo_n "(cached) " >&6
8913 else
8914 ac_check_lib_save_LIBS=$LIBS
8915 LIBS="-ldnet $LIBS"
8916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8917 /* end confdefs.h. */
8919 /* Override any GCC internal prototype to avoid an error.
8920 Use char because int might match the return type of a GCC
8921 builtin and then its argument prototype would still apply. */
8922 #ifdef __cplusplus
8923 extern "C"
8924 #endif
8925 char dnet_ntoa ();
8927 main ()
8929 return dnet_ntoa ();
8931 return 0;
8933 _ACEOF
8934 if ac_fn_c_try_link "$LINENO"; then :
8935 ac_cv_lib_dnet_dnet_ntoa=yes
8936 else
8937 ac_cv_lib_dnet_dnet_ntoa=no
8939 rm -f core conftest.err conftest.$ac_objext \
8940 conftest$ac_exeext conftest.$ac_ext
8941 LIBS=$ac_check_lib_save_LIBS
8943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8944 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8945 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
8946 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
8949 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
8950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8951 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8952 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
8953 $as_echo_n "(cached) " >&6
8954 else
8955 ac_check_lib_save_LIBS=$LIBS
8956 LIBS="-ldnet_stub $LIBS"
8957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8958 /* end confdefs.h. */
8960 /* Override any GCC internal prototype to avoid an error.
8961 Use char because int might match the return type of a GCC
8962 builtin and then its argument prototype would still apply. */
8963 #ifdef __cplusplus
8964 extern "C"
8965 #endif
8966 char dnet_ntoa ();
8968 main ()
8970 return dnet_ntoa ();
8972 return 0;
8974 _ACEOF
8975 if ac_fn_c_try_link "$LINENO"; then :
8976 ac_cv_lib_dnet_stub_dnet_ntoa=yes
8977 else
8978 ac_cv_lib_dnet_stub_dnet_ntoa=no
8980 rm -f core conftest.err conftest.$ac_objext \
8981 conftest$ac_exeext conftest.$ac_ext
8982 LIBS=$ac_check_lib_save_LIBS
8984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8985 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
8986 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
8987 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
8992 rm -f core conftest.err conftest.$ac_objext \
8993 conftest$ac_exeext conftest.$ac_ext
8994 LIBS="$ac_xsave_LIBS"
8996 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8997 # to get the SysV transport functions.
8998 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
8999 # needs -lnsl.
9000 # The nsl library prevents programs from opening the X display
9001 # on Irix 5.2, according to T.E. Dickey.
9002 # The functions gethostbyname, getservbyname, and inet_addr are
9003 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9004 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9005 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9009 if test $ac_cv_func_gethostbyname = no; then
9010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9011 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9012 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9013 $as_echo_n "(cached) " >&6
9014 else
9015 ac_check_lib_save_LIBS=$LIBS
9016 LIBS="-lnsl $LIBS"
9017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9018 /* end confdefs.h. */
9020 /* Override any GCC internal prototype to avoid an error.
9021 Use char because int might match the return type of a GCC
9022 builtin and then its argument prototype would still apply. */
9023 #ifdef __cplusplus
9024 extern "C"
9025 #endif
9026 char gethostbyname ();
9028 main ()
9030 return gethostbyname ();
9032 return 0;
9034 _ACEOF
9035 if ac_fn_c_try_link "$LINENO"; then :
9036 ac_cv_lib_nsl_gethostbyname=yes
9037 else
9038 ac_cv_lib_nsl_gethostbyname=no
9040 rm -f core conftest.err conftest.$ac_objext \
9041 conftest$ac_exeext conftest.$ac_ext
9042 LIBS=$ac_check_lib_save_LIBS
9044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9045 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9046 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9047 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9050 if test $ac_cv_lib_nsl_gethostbyname = no; then
9051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9052 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9053 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9054 $as_echo_n "(cached) " >&6
9055 else
9056 ac_check_lib_save_LIBS=$LIBS
9057 LIBS="-lbsd $LIBS"
9058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9059 /* end confdefs.h. */
9061 /* Override any GCC internal prototype to avoid an error.
9062 Use char because int might match the return type of a GCC
9063 builtin and then its argument prototype would still apply. */
9064 #ifdef __cplusplus
9065 extern "C"
9066 #endif
9067 char gethostbyname ();
9069 main ()
9071 return gethostbyname ();
9073 return 0;
9075 _ACEOF
9076 if ac_fn_c_try_link "$LINENO"; then :
9077 ac_cv_lib_bsd_gethostbyname=yes
9078 else
9079 ac_cv_lib_bsd_gethostbyname=no
9081 rm -f core conftest.err conftest.$ac_objext \
9082 conftest$ac_exeext conftest.$ac_ext
9083 LIBS=$ac_check_lib_save_LIBS
9085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9086 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9087 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9088 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9094 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9095 # socket/setsockopt and other routines are undefined under SCO ODT
9096 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9097 # on later versions), says Simon Leinen: it contains gethostby*
9098 # variants that don't use the name server (or something). -lsocket
9099 # must be given before -lnsl if both are needed. We assume that
9100 # if connect needs -lnsl, so does gethostbyname.
9101 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9102 if test "x$ac_cv_func_connect" = xyes; then :
9106 if test $ac_cv_func_connect = no; then
9107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9108 $as_echo_n "checking for connect in -lsocket... " >&6; }
9109 if ${ac_cv_lib_socket_connect+:} false; then :
9110 $as_echo_n "(cached) " >&6
9111 else
9112 ac_check_lib_save_LIBS=$LIBS
9113 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9115 /* end confdefs.h. */
9117 /* Override any GCC internal prototype to avoid an error.
9118 Use char because int might match the return type of a GCC
9119 builtin and then its argument prototype would still apply. */
9120 #ifdef __cplusplus
9121 extern "C"
9122 #endif
9123 char connect ();
9125 main ()
9127 return connect ();
9129 return 0;
9131 _ACEOF
9132 if ac_fn_c_try_link "$LINENO"; then :
9133 ac_cv_lib_socket_connect=yes
9134 else
9135 ac_cv_lib_socket_connect=no
9137 rm -f core conftest.err conftest.$ac_objext \
9138 conftest$ac_exeext conftest.$ac_ext
9139 LIBS=$ac_check_lib_save_LIBS
9141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9142 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9143 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9144 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9149 # Guillermo Gomez says -lposix is necessary on A/UX.
9150 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9151 if test "x$ac_cv_func_remove" = xyes; then :
9155 if test $ac_cv_func_remove = no; then
9156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9157 $as_echo_n "checking for remove in -lposix... " >&6; }
9158 if ${ac_cv_lib_posix_remove+:} false; then :
9159 $as_echo_n "(cached) " >&6
9160 else
9161 ac_check_lib_save_LIBS=$LIBS
9162 LIBS="-lposix $LIBS"
9163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9164 /* end confdefs.h. */
9166 /* Override any GCC internal prototype to avoid an error.
9167 Use char because int might match the return type of a GCC
9168 builtin and then its argument prototype would still apply. */
9169 #ifdef __cplusplus
9170 extern "C"
9171 #endif
9172 char remove ();
9174 main ()
9176 return remove ();
9178 return 0;
9180 _ACEOF
9181 if ac_fn_c_try_link "$LINENO"; then :
9182 ac_cv_lib_posix_remove=yes
9183 else
9184 ac_cv_lib_posix_remove=no
9186 rm -f core conftest.err conftest.$ac_objext \
9187 conftest$ac_exeext conftest.$ac_ext
9188 LIBS=$ac_check_lib_save_LIBS
9190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9191 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9192 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9193 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9198 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9199 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9200 if test "x$ac_cv_func_shmat" = xyes; then :
9204 if test $ac_cv_func_shmat = no; then
9205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9206 $as_echo_n "checking for shmat in -lipc... " >&6; }
9207 if ${ac_cv_lib_ipc_shmat+:} false; then :
9208 $as_echo_n "(cached) " >&6
9209 else
9210 ac_check_lib_save_LIBS=$LIBS
9211 LIBS="-lipc $LIBS"
9212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9213 /* end confdefs.h. */
9215 /* Override any GCC internal prototype to avoid an error.
9216 Use char because int might match the return type of a GCC
9217 builtin and then its argument prototype would still apply. */
9218 #ifdef __cplusplus
9219 extern "C"
9220 #endif
9221 char shmat ();
9223 main ()
9225 return shmat ();
9227 return 0;
9229 _ACEOF
9230 if ac_fn_c_try_link "$LINENO"; then :
9231 ac_cv_lib_ipc_shmat=yes
9232 else
9233 ac_cv_lib_ipc_shmat=no
9235 rm -f core conftest.err conftest.$ac_objext \
9236 conftest$ac_exeext conftest.$ac_ext
9237 LIBS=$ac_check_lib_save_LIBS
9239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9240 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9241 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9242 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9248 # Check for libraries that X11R6 Xt/Xaw programs need.
9249 ac_save_LDFLAGS=$LDFLAGS
9250 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9251 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9252 # check for ICE first), but we must link in the order -lSM -lICE or
9253 # we get undefined symbols. So assume we have SM if we have ICE.
9254 # These have to be linked with before -lX11, unlike the other
9255 # libraries we check for below, so use a different variable.
9256 # John Interrante, Karl Berry
9257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9258 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9259 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9260 $as_echo_n "(cached) " >&6
9261 else
9262 ac_check_lib_save_LIBS=$LIBS
9263 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9265 /* end confdefs.h. */
9267 /* Override any GCC internal prototype to avoid an error.
9268 Use char because int might match the return type of a GCC
9269 builtin and then its argument prototype would still apply. */
9270 #ifdef __cplusplus
9271 extern "C"
9272 #endif
9273 char IceConnectionNumber ();
9275 main ()
9277 return IceConnectionNumber ();
9279 return 0;
9281 _ACEOF
9282 if ac_fn_c_try_link "$LINENO"; then :
9283 ac_cv_lib_ICE_IceConnectionNumber=yes
9284 else
9285 ac_cv_lib_ICE_IceConnectionNumber=no
9287 rm -f core conftest.err conftest.$ac_objext \
9288 conftest$ac_exeext conftest.$ac_ext
9289 LIBS=$ac_check_lib_save_LIBS
9291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9292 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9293 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9294 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9297 LDFLAGS=$ac_save_LDFLAGS
9302 if test "$have_x" = "yes"
9303 then
9304 XLIB="-lX11"
9305 ac_save_CPPFLAGS="$CPPFLAGS"
9306 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9309 $as_echo_n "checking for -lX11... " >&6; }
9310 if ${ac_cv_lib_soname_X11+:} false; then :
9311 $as_echo_n "(cached) " >&6
9312 else
9313 ac_check_soname_save_LIBS=$LIBS
9314 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9316 /* end confdefs.h. */
9318 /* Override any GCC internal prototype to avoid an error.
9319 Use char because int might match the return type of a GCC
9320 builtin and then its argument prototype would still apply. */
9321 #ifdef __cplusplus
9322 extern "C"
9323 #endif
9324 char XCreateWindow ();
9326 main ()
9328 return XCreateWindow ();
9330 return 0;
9332 _ACEOF
9333 if ac_fn_c_try_link "$LINENO"; then :
9334 case "$LIBEXT" in
9335 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9336 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'` ;;
9337 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9338 if test "x$ac_cv_lib_soname_X11" = x; then :
9339 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9340 fi ;;
9341 esac
9343 rm -f core conftest.err conftest.$ac_objext \
9344 conftest$ac_exeext conftest.$ac_ext
9345 LIBS=$ac_check_soname_save_LIBS
9347 if test "x$ac_cv_lib_soname_X11" = "x"; then :
9348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9349 $as_echo "not found" >&6; }
9351 else
9352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9353 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9355 cat >>confdefs.h <<_ACEOF
9356 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9357 _ACEOF
9361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9362 $as_echo_n "checking for -lXext... " >&6; }
9363 if ${ac_cv_lib_soname_Xext+:} false; then :
9364 $as_echo_n "(cached) " >&6
9365 else
9366 ac_check_soname_save_LIBS=$LIBS
9367 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9369 /* end confdefs.h. */
9371 /* Override any GCC internal prototype to avoid an error.
9372 Use char because int might match the return type of a GCC
9373 builtin and then its argument prototype would still apply. */
9374 #ifdef __cplusplus
9375 extern "C"
9376 #endif
9377 char XextCreateExtension ();
9379 main ()
9381 return XextCreateExtension ();
9383 return 0;
9385 _ACEOF
9386 if ac_fn_c_try_link "$LINENO"; then :
9387 case "$LIBEXT" in
9388 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9389 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'` ;;
9390 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9391 if test "x$ac_cv_lib_soname_Xext" = x; then :
9392 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9393 fi ;;
9394 esac
9396 rm -f core conftest.err conftest.$ac_objext \
9397 conftest$ac_exeext conftest.$ac_ext
9398 LIBS=$ac_check_soname_save_LIBS
9400 if test "x$ac_cv_lib_soname_Xext" = "x"; then :
9401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9402 $as_echo "not found" >&6; }
9404 else
9405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9406 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9408 cat >>confdefs.h <<_ACEOF
9409 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9410 _ACEOF
9412 XLIB="-lXext $XLIB"
9415 for ac_header in X11/Xlib.h \
9416 X11/XKBlib.h \
9417 X11/Xutil.h \
9418 X11/Xcursor/Xcursor.h \
9419 X11/extensions/shape.h \
9420 X11/extensions/XInput.h \
9421 X11/extensions/XInput2.h \
9422 X11/extensions/XShm.h \
9423 X11/extensions/Xcomposite.h \
9424 X11/extensions/Xinerama.h \
9425 X11/extensions/Xrandr.h \
9426 X11/extensions/Xrender.h \
9427 X11/extensions/xf86vmode.h \
9428 X11/extensions/xf86vmproto.h
9429 do :
9430 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9431 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9432 # include <X11/Xlib.h>
9433 #endif
9434 #ifdef HAVE_X11_XUTIL_H
9435 # include <X11/Xutil.h>
9436 #endif
9438 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9439 cat >>confdefs.h <<_ACEOF
9440 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9441 _ACEOF
9445 done
9448 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9449 then
9450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9451 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9452 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9453 $as_echo_n "(cached) " >&6
9454 else
9455 ac_check_lib_save_LIBS=$LIBS
9456 LIBS="-lX11 $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9458 /* end confdefs.h. */
9460 /* Override any GCC internal prototype to avoid an error.
9461 Use char because int might match the return type of a GCC
9462 builtin and then its argument prototype would still apply. */
9463 #ifdef __cplusplus
9464 extern "C"
9465 #endif
9466 char XkbQueryExtension ();
9468 main ()
9470 return XkbQueryExtension ();
9472 return 0;
9474 _ACEOF
9475 if ac_fn_c_try_link "$LINENO"; then :
9476 ac_cv_lib_X11_XkbQueryExtension=yes
9477 else
9478 ac_cv_lib_X11_XkbQueryExtension=no
9480 rm -f core conftest.err conftest.$ac_objext \
9481 conftest$ac_exeext conftest.$ac_ext
9482 LIBS=$ac_check_lib_save_LIBS
9484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9485 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9486 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9488 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9494 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9495 then
9496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9497 $as_echo_n "checking for -lXcursor... " >&6; }
9498 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9499 $as_echo_n "(cached) " >&6
9500 else
9501 ac_check_soname_save_LIBS=$LIBS
9502 LIBS="-lXcursor $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9504 /* end confdefs.h. */
9506 /* Override any GCC internal prototype to avoid an error.
9507 Use char because int might match the return type of a GCC
9508 builtin and then its argument prototype would still apply. */
9509 #ifdef __cplusplus
9510 extern "C"
9511 #endif
9512 char XcursorImageLoadCursor ();
9514 main ()
9516 return XcursorImageLoadCursor ();
9518 return 0;
9520 _ACEOF
9521 if ac_fn_c_try_link "$LINENO"; then :
9522 case "$LIBEXT" in
9523 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9524 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'` ;;
9525 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9526 if test "x$ac_cv_lib_soname_Xcursor" = x; then :
9527 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9528 fi ;;
9529 esac
9531 rm -f core conftest.err conftest.$ac_objext \
9532 conftest$ac_exeext conftest.$ac_ext
9533 LIBS=$ac_check_soname_save_LIBS
9535 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9537 $as_echo "not found" >&6; }
9539 else
9540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9541 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9543 cat >>confdefs.h <<_ACEOF
9544 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9545 _ACEOF
9550 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9551 case "x$with_xcursor" in
9552 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9553 xno) ;;
9554 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9555 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9556 esac
9559 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9560 then
9561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9562 $as_echo_n "checking for -lXi... " >&6; }
9563 if ${ac_cv_lib_soname_Xi+:} false; then :
9564 $as_echo_n "(cached) " >&6
9565 else
9566 ac_check_soname_save_LIBS=$LIBS
9567 LIBS="-lXi $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9569 /* end confdefs.h. */
9571 /* Override any GCC internal prototype to avoid an error.
9572 Use char because int might match the return type of a GCC
9573 builtin and then its argument prototype would still apply. */
9574 #ifdef __cplusplus
9575 extern "C"
9576 #endif
9577 char XOpenDevice ();
9579 main ()
9581 return XOpenDevice ();
9583 return 0;
9585 _ACEOF
9586 if ac_fn_c_try_link "$LINENO"; then :
9587 case "$LIBEXT" in
9588 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9589 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'` ;;
9590 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9591 if test "x$ac_cv_lib_soname_Xi" = x; then :
9592 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9593 fi ;;
9594 esac
9596 rm -f core conftest.err conftest.$ac_objext \
9597 conftest$ac_exeext conftest.$ac_ext
9598 LIBS=$ac_check_soname_save_LIBS
9600 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9602 $as_echo "not found" >&6; }
9604 else
9605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9606 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9608 cat >>confdefs.h <<_ACEOF
9609 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9610 _ACEOF
9615 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9616 case "x$with_xinput" in
9617 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9618 xno) ;;
9619 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9620 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9621 esac
9624 if test "x$ac_cv_lib_soname_Xi" != x
9625 then
9626 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9627 case "x$with_xinput2" in
9628 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9629 xno) ;;
9630 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9631 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9632 esac
9636 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9637 then
9638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9639 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9640 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9641 $as_echo_n "(cached) " >&6
9642 else
9643 ac_check_lib_save_LIBS=$LIBS
9644 LIBS="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9646 /* end confdefs.h. */
9648 /* Override any GCC internal prototype to avoid an error.
9649 Use char because int might match the return type of a GCC
9650 builtin and then its argument prototype would still apply. */
9651 #ifdef __cplusplus
9652 extern "C"
9653 #endif
9654 char XShmQueryExtension ();
9656 main ()
9658 return XShmQueryExtension ();
9660 return 0;
9662 _ACEOF
9663 if ac_fn_c_try_link "$LINENO"; then :
9664 ac_cv_lib_Xext_XShmQueryExtension=yes
9665 else
9666 ac_cv_lib_Xext_XShmQueryExtension=no
9668 rm -f core conftest.err conftest.$ac_objext \
9669 conftest$ac_exeext conftest.$ac_ext
9670 LIBS=$ac_check_lib_save_LIBS
9672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9673 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9674 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9676 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9681 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9682 case "x$with_xshm" in
9683 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9684 xno) ;;
9685 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9686 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9687 esac
9690 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9691 then
9692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9693 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9694 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9695 $as_echo_n "(cached) " >&6
9696 else
9697 ac_check_lib_save_LIBS=$LIBS
9698 LIBS="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9700 /* end confdefs.h. */
9702 /* Override any GCC internal prototype to avoid an error.
9703 Use char because int might match the return type of a GCC
9704 builtin and then its argument prototype would still apply. */
9705 #ifdef __cplusplus
9706 extern "C"
9707 #endif
9708 char XShapeQueryExtension ();
9710 main ()
9712 return XShapeQueryExtension ();
9714 return 0;
9716 _ACEOF
9717 if ac_fn_c_try_link "$LINENO"; then :
9718 ac_cv_lib_Xext_XShapeQueryExtension=yes
9719 else
9720 ac_cv_lib_Xext_XShapeQueryExtension=no
9722 rm -f core conftest.err conftest.$ac_objext \
9723 conftest$ac_exeext conftest.$ac_ext
9724 LIBS=$ac_check_lib_save_LIBS
9726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9727 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9728 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9730 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9735 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9736 case "x$with_xshape" in
9737 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9738 xno) ;;
9739 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
9740 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9741 esac
9744 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9745 then
9746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9747 $as_echo_n "checking for -lXxf86vm... " >&6; }
9748 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
9749 $as_echo_n "(cached) " >&6
9750 else
9751 ac_check_soname_save_LIBS=$LIBS
9752 LIBS="-lXxf86vm $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9754 /* end confdefs.h. */
9756 /* Override any GCC internal prototype to avoid an error.
9757 Use char because int might match the return type of a GCC
9758 builtin and then its argument prototype would still apply. */
9759 #ifdef __cplusplus
9760 extern "C"
9761 #endif
9762 char XF86VidModeQueryExtension ();
9764 main ()
9766 return XF86VidModeQueryExtension ();
9768 return 0;
9770 _ACEOF
9771 if ac_fn_c_try_link "$LINENO"; then :
9772 case "$LIBEXT" in
9773 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9774 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'` ;;
9775 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9776 if test "x$ac_cv_lib_soname_Xxf86vm" = x; then :
9777 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9778 fi ;;
9779 esac
9781 rm -f core conftest.err conftest.$ac_objext \
9782 conftest$ac_exeext conftest.$ac_ext
9783 LIBS=$ac_check_soname_save_LIBS
9785 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9787 $as_echo "not found" >&6; }
9789 else
9790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9791 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9793 cat >>confdefs.h <<_ACEOF
9794 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9795 _ACEOF
9800 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9801 case "x$with_xxf86vm" in
9802 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9803 xno) ;;
9804 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9805 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9806 esac
9809 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"
9810 then
9811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9812 $as_echo_n "checking for -lXrender... " >&6; }
9813 if ${ac_cv_lib_soname_Xrender+:} false; then :
9814 $as_echo_n "(cached) " >&6
9815 else
9816 ac_check_soname_save_LIBS=$LIBS
9817 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9819 /* end confdefs.h. */
9821 /* Override any GCC internal prototype to avoid an error.
9822 Use char because int might match the return type of a GCC
9823 builtin and then its argument prototype would still apply. */
9824 #ifdef __cplusplus
9825 extern "C"
9826 #endif
9827 char XRenderQueryExtension ();
9829 main ()
9831 return XRenderQueryExtension ();
9833 return 0;
9835 _ACEOF
9836 if ac_fn_c_try_link "$LINENO"; then :
9837 case "$LIBEXT" in
9838 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9839 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'` ;;
9840 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9841 if test "x$ac_cv_lib_soname_Xrender" = x; then :
9842 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9843 fi ;;
9844 esac
9846 rm -f core conftest.err conftest.$ac_objext \
9847 conftest$ac_exeext conftest.$ac_ext
9848 LIBS=$ac_check_soname_save_LIBS
9850 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9852 $as_echo "not found" >&6; }
9854 else
9855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9856 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9858 cat >>confdefs.h <<_ACEOF
9859 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9860 _ACEOF
9862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9863 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9864 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
9865 $as_echo_n "(cached) " >&6
9866 else
9867 ac_check_lib_save_LIBS=$LIBS
9868 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9870 /* end confdefs.h. */
9872 /* Override any GCC internal prototype to avoid an error.
9873 Use char because int might match the return type of a GCC
9874 builtin and then its argument prototype would still apply. */
9875 #ifdef __cplusplus
9876 extern "C"
9877 #endif
9878 char XRenderSetPictureTransform ();
9880 main ()
9882 return XRenderSetPictureTransform ();
9884 return 0;
9886 _ACEOF
9887 if ac_fn_c_try_link "$LINENO"; then :
9888 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9889 else
9890 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9892 rm -f core conftest.err conftest.$ac_objext \
9893 conftest$ac_exeext conftest.$ac_ext
9894 LIBS=$ac_check_lib_save_LIBS
9896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9897 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9898 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
9900 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9905 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9906 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
9907 $as_echo_n "(cached) " >&6
9908 else
9909 ac_check_lib_save_LIBS=$LIBS
9910 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9912 /* end confdefs.h. */
9914 /* Override any GCC internal prototype to avoid an error.
9915 Use char because int might match the return type of a GCC
9916 builtin and then its argument prototype would still apply. */
9917 #ifdef __cplusplus
9918 extern "C"
9919 #endif
9920 char XRenderCreateLinearGradient ();
9922 main ()
9924 return XRenderCreateLinearGradient ();
9926 return 0;
9928 _ACEOF
9929 if ac_fn_c_try_link "$LINENO"; then :
9930 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
9931 else
9932 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
9934 rm -f core conftest.err conftest.$ac_objext \
9935 conftest$ac_exeext conftest.$ac_ext
9936 LIBS=$ac_check_lib_save_LIBS
9938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9939 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9940 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
9942 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9949 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9950 case "x$with_xrender" in
9951 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9952 xno) ;;
9953 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
9954 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9955 esac
9958 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9959 then
9960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9961 /* end confdefs.h. */
9962 #include <X11/Xlib.h>
9963 #include <X11/extensions/Xrandr.h>
9965 main ()
9967 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9969 return 0;
9971 _ACEOF
9972 if ac_fn_c_try_compile "$LINENO"; then :
9973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9974 $as_echo_n "checking for -lXrandr... " >&6; }
9975 if ${ac_cv_lib_soname_Xrandr+:} false; then :
9976 $as_echo_n "(cached) " >&6
9977 else
9978 ac_check_soname_save_LIBS=$LIBS
9979 LIBS="-lXrandr $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9981 /* end confdefs.h. */
9983 /* Override any GCC internal prototype to avoid an error.
9984 Use char because int might match the return type of a GCC
9985 builtin and then its argument prototype would still apply. */
9986 #ifdef __cplusplus
9987 extern "C"
9988 #endif
9989 char XRRQueryExtension ();
9991 main ()
9993 return XRRQueryExtension ();
9995 return 0;
9997 _ACEOF
9998 if ac_fn_c_try_link "$LINENO"; then :
9999 case "$LIBEXT" in
10000 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10001 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'` ;;
10002 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10003 if test "x$ac_cv_lib_soname_Xrandr" = x; then :
10004 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10005 fi ;;
10006 esac
10008 rm -f core conftest.err conftest.$ac_objext \
10009 conftest$ac_exeext conftest.$ac_ext
10010 LIBS=$ac_check_soname_save_LIBS
10012 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10014 $as_echo "not found" >&6; }
10016 else
10017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10018 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10020 cat >>confdefs.h <<_ACEOF
10021 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10022 _ACEOF
10024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10025 /* end confdefs.h. */
10026 #include <X11/Xlib.h>
10027 #include <X11/extensions/Xrandr.h>
10029 main ()
10031 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10033 return 0;
10035 _ACEOF
10036 if ac_fn_c_try_compile "$LINENO"; then :
10038 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10046 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10047 case "x$with_xrandr" in
10048 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10049 xno) ;;
10050 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10051 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10052 esac
10055 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10056 then
10057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10058 /* end confdefs.h. */
10059 #include <X11/Xlib.h>
10060 #include <X11/extensions/Xinerama.h>
10062 main ()
10064 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10066 return 0;
10068 _ACEOF
10069 if ac_fn_c_try_compile "$LINENO"; then :
10070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10071 $as_echo_n "checking for -lXinerama... " >&6; }
10072 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10073 $as_echo_n "(cached) " >&6
10074 else
10075 ac_check_soname_save_LIBS=$LIBS
10076 LIBS="-lXinerama $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
10077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10078 /* end confdefs.h. */
10080 /* Override any GCC internal prototype to avoid an error.
10081 Use char because int might match the return type of a GCC
10082 builtin and then its argument prototype would still apply. */
10083 #ifdef __cplusplus
10084 extern "C"
10085 #endif
10086 char XineramaQueryScreens ();
10088 main ()
10090 return XineramaQueryScreens ();
10092 return 0;
10094 _ACEOF
10095 if ac_fn_c_try_link "$LINENO"; then :
10096 case "$LIBEXT" in
10097 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10098 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'` ;;
10099 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10100 if test "x$ac_cv_lib_soname_Xinerama" = x; then :
10101 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10102 fi ;;
10103 esac
10105 rm -f core conftest.err conftest.$ac_objext \
10106 conftest$ac_exeext conftest.$ac_ext
10107 LIBS=$ac_check_soname_save_LIBS
10109 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10111 $as_echo "not found" >&6; }
10113 else
10114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10115 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10117 cat >>confdefs.h <<_ACEOF
10118 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10119 _ACEOF
10124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10126 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10127 case "x$with_xinerama" in
10128 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10129 xno) ;;
10130 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10131 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10132 esac
10135 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10136 then
10137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10138 $as_echo_n "checking for -lXcomposite... " >&6; }
10139 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10140 $as_echo_n "(cached) " >&6
10141 else
10142 ac_check_soname_save_LIBS=$LIBS
10143 LIBS="-lXcomposite $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
10144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10145 /* end confdefs.h. */
10147 /* Override any GCC internal prototype to avoid an error.
10148 Use char because int might match the return type of a GCC
10149 builtin and then its argument prototype would still apply. */
10150 #ifdef __cplusplus
10151 extern "C"
10152 #endif
10153 char XCompositeRedirectWindow ();
10155 main ()
10157 return XCompositeRedirectWindow ();
10159 return 0;
10161 _ACEOF
10162 if ac_fn_c_try_link "$LINENO"; then :
10163 case "$LIBEXT" in
10164 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10165 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'` ;;
10166 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10167 if test "x$ac_cv_lib_soname_Xcomposite" = x; then :
10168 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10169 fi ;;
10170 esac
10172 rm -f core conftest.err conftest.$ac_objext \
10173 conftest$ac_exeext conftest.$ac_ext
10174 LIBS=$ac_check_soname_save_LIBS
10176 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10178 $as_echo "not found" >&6; }
10180 else
10181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10182 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10184 cat >>confdefs.h <<_ACEOF
10185 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10186 _ACEOF
10191 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10192 case "x$with_xcomposite" in
10193 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10194 xno) ;;
10195 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10196 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10197 esac
10200 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10201 #include <X11/Xlib.h>
10202 #endif
10204 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10206 cat >>confdefs.h <<_ACEOF
10207 #define HAVE_XICCALLBACK_CALLBACK 1
10208 _ACEOF
10212 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10213 #include <X11/Xlib.h>
10214 #endif
10216 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10218 cat >>confdefs.h <<_ACEOF
10219 #define HAVE_XEVENT_XCOOKIE 1
10220 _ACEOF
10227 opengl_msg=""
10228 if test "x$with_opengl" != "xno"
10229 then
10230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10231 $as_echo_n "checking for -lGL... " >&6; }
10232 if ${ac_cv_lib_soname_GL+:} false; then :
10233 $as_echo_n "(cached) " >&6
10234 else
10235 ac_check_soname_save_LIBS=$LIBS
10236 LIBS="-lGL $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
10237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10238 /* end confdefs.h. */
10240 /* Override any GCC internal prototype to avoid an error.
10241 Use char because int might match the return type of a GCC
10242 builtin and then its argument prototype would still apply. */
10243 #ifdef __cplusplus
10244 extern "C"
10245 #endif
10246 char glXCreateContext ();
10248 main ()
10250 return glXCreateContext ();
10252 return 0;
10254 _ACEOF
10255 if ac_fn_c_try_link "$LINENO"; then :
10256 case "$LIBEXT" in
10257 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10258 dylib) ac_cv_lib_soname_GL=`otool -L conftest$ac_exeext | grep "libGL\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGL\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10259 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10260 if test "x$ac_cv_lib_soname_GL" = x; then :
10261 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10262 fi ;;
10263 esac
10265 rm -f core conftest.err conftest.$ac_objext \
10266 conftest$ac_exeext conftest.$ac_ext
10267 LIBS=$ac_check_soname_save_LIBS
10269 if test "x$ac_cv_lib_soname_GL" = "x"; then :
10270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10271 $as_echo "not found" >&6; }
10272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10273 $as_echo_n "checking for -lGL... " >&6; }
10274 if ${ac_cv_lib_soname_GL+:} false; then :
10275 $as_echo_n "(cached) " >&6
10276 else
10277 ac_check_soname_save_LIBS=$LIBS
10278 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"
10279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10280 /* end confdefs.h. */
10282 /* Override any GCC internal prototype to avoid an error.
10283 Use char because int might match the return type of a GCC
10284 builtin and then its argument prototype would still apply. */
10285 #ifdef __cplusplus
10286 extern "C"
10287 #endif
10288 char glXCreateContext ();
10290 main ()
10292 return glXCreateContext ();
10294 return 0;
10296 _ACEOF
10297 if ac_fn_c_try_link "$LINENO"; then :
10298 case "$LIBEXT" in
10299 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10300 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'` ;;
10301 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10302 if test "x$ac_cv_lib_soname_GL" = x; then :
10303 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10304 fi ;;
10305 esac
10307 rm -f core conftest.err conftest.$ac_objext \
10308 conftest$ac_exeext conftest.$ac_ext
10309 LIBS=$ac_check_soname_save_LIBS
10311 if test "x$ac_cv_lib_soname_GL" = "x"; then :
10312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10313 $as_echo "not found" >&6; }
10314 if test -f /usr/X11R6/lib/libGL.a
10315 then
10316 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10317 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10318 else
10319 opengl_msg="No OpenGL library found on this system."
10321 else
10322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10323 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10325 cat >>confdefs.h <<_ACEOF
10326 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10327 _ACEOF
10329 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"
10331 else
10332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10333 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10335 cat >>confdefs.h <<_ACEOF
10336 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10337 _ACEOF
10339 OPENGL_LIBS="-lGL"
10341 if test "x$with_glu" != "xno"
10342 then
10343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10344 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10345 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10346 $as_echo_n "(cached) " >&6
10347 else
10348 ac_check_lib_save_LIBS=$LIBS
10349 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
10350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10351 /* end confdefs.h. */
10353 /* Override any GCC internal prototype to avoid an error.
10354 Use char because int might match the return type of a GCC
10355 builtin and then its argument prototype would still apply. */
10356 #ifdef __cplusplus
10357 extern "C"
10358 #endif
10359 char gluLookAt ();
10361 main ()
10363 return gluLookAt ();
10365 return 0;
10367 _ACEOF
10368 if ac_fn_c_try_link "$LINENO"; then :
10369 ac_cv_lib_GLU_gluLookAt=yes
10370 else
10371 ac_cv_lib_GLU_gluLookAt=no
10373 rm -f core conftest.err conftest.$ac_objext \
10374 conftest$ac_exeext conftest.$ac_ext
10375 LIBS=$ac_check_lib_save_LIBS
10377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10378 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10379 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10383 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10384 case "x$with_glu" in
10385 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10386 xno) ;;
10387 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10388 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10389 esac
10393 if test "x$with_osmesa" != "xno"
10394 then
10395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10396 $as_echo_n "checking for -lOSMesa... " >&6; }
10397 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10398 $as_echo_n "(cached) " >&6
10399 else
10400 ac_check_soname_save_LIBS=$LIBS
10401 LIBS="-lOSMesa $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
10402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10403 /* end confdefs.h. */
10405 /* Override any GCC internal prototype to avoid an error.
10406 Use char because int might match the return type of a GCC
10407 builtin and then its argument prototype would still apply. */
10408 #ifdef __cplusplus
10409 extern "C"
10410 #endif
10411 char glAccum ();
10413 main ()
10415 return glAccum ();
10417 return 0;
10419 _ACEOF
10420 if ac_fn_c_try_link "$LINENO"; then :
10421 case "$LIBEXT" in
10422 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10423 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'` ;;
10424 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10425 if test "x$ac_cv_lib_soname_OSMesa" = x; then :
10426 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10427 fi ;;
10428 esac
10430 rm -f core conftest.err conftest.$ac_objext \
10431 conftest$ac_exeext conftest.$ac_ext
10432 LIBS=$ac_check_soname_save_LIBS
10434 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10436 $as_echo "not found" >&6; }
10438 else
10439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10440 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10442 cat >>confdefs.h <<_ACEOF
10443 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10444 _ACEOF
10448 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10449 case "x$with_osmesa" in
10450 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10451 xno) ;;
10452 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10453 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10454 esac
10458 if test -n "$opengl_msg"; then :
10459 case "x$with_opengl" in
10460 x) as_fn_append wine_warnings "|$opengl_msg
10461 OpenGL and Direct3D won't be supported." ;;
10462 xno) ;;
10463 *) as_fn_error $? "$opengl_msg
10464 OpenGL and Direct3D won't be supported.
10465 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10466 esac
10469 CPPFLAGS="$ac_save_CPPFLAGS"
10470 else
10471 XLIB=""
10472 X_CFLAGS=""
10473 X_LIBS=""
10474 enable_winex11_drv=${enable_winex11_drv:-no}
10476 if test "x$XLIB" = "x"; then :
10477 case "x$with_x" in
10478 xno) ;;
10479 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10480 without X support, which probably isn't what you want. You will need
10481 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10482 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10483 esac
10486 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10488 if test "$ac_cv_header_CL_cl_h" = "yes"
10489 then
10490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10491 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10492 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10493 $as_echo_n "(cached) " >&6
10494 else
10495 ac_check_lib_save_LIBS=$LIBS
10496 LIBS="-lOpenCL $LIBS"
10497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10498 /* end confdefs.h. */
10500 /* Override any GCC internal prototype to avoid an error.
10501 Use char because int might match the return type of a GCC
10502 builtin and then its argument prototype would still apply. */
10503 #ifdef __cplusplus
10504 extern "C"
10505 #endif
10506 char clGetPlatformInfo ();
10508 main ()
10510 return clGetPlatformInfo ();
10512 return 0;
10514 _ACEOF
10515 if ac_fn_c_try_link "$LINENO"; then :
10516 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10517 else
10518 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10520 rm -f core conftest.err conftest.$ac_objext \
10521 conftest$ac_exeext conftest.$ac_ext
10522 LIBS=$ac_check_lib_save_LIBS
10524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10525 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10526 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10527 LIBOPENCL="-lOpenCL"
10532 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10533 case "x$with_opencl" in
10534 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10535 xno) ;;
10536 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10537 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10538 esac
10540 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10543 if test "x$with_xml" != "xno"
10544 then
10545 if test -n "$XML2_CFLAGS"; then :
10547 elif test -n "$PKG_CONFIG"; then :
10548 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10550 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10551 if test -n "$XML2_LIBS"; then :
10553 elif test -n "$PKG_CONFIG"; then :
10554 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10556 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10557 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10558 ac_save_CPPFLAGS=$CPPFLAGS
10559 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10560 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10561 do :
10562 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10563 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10564 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10565 cat >>confdefs.h <<_ACEOF
10566 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10567 _ACEOF
10571 done
10573 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"
10574 then
10575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10576 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10577 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10578 $as_echo_n "(cached) " >&6
10579 else
10580 ac_check_lib_save_LIBS=$LIBS
10581 LIBS="-lxml2 $XML2_LIBS $LIBS"
10582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10583 /* end confdefs.h. */
10585 /* Override any GCC internal prototype to avoid an error.
10586 Use char because int might match the return type of a GCC
10587 builtin and then its argument prototype would still apply. */
10588 #ifdef __cplusplus
10589 extern "C"
10590 #endif
10591 char xmlParseMemory ();
10593 main ()
10595 return xmlParseMemory ();
10597 return 0;
10599 _ACEOF
10600 if ac_fn_c_try_link "$LINENO"; then :
10601 ac_cv_lib_xml2_xmlParseMemory=yes
10602 else
10603 ac_cv_lib_xml2_xmlParseMemory=no
10605 rm -f core conftest.err conftest.$ac_objext \
10606 conftest$ac_exeext conftest.$ac_ext
10607 LIBS=$ac_check_lib_save_LIBS
10609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10610 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10611 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10613 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10615 else
10616 XML2_LIBS=""
10619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10620 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10621 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10622 $as_echo_n "(cached) " >&6
10623 else
10624 ac_check_lib_save_LIBS=$LIBS
10625 LIBS="-lxml2 $XML2_LIBS $LIBS"
10626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10627 /* end confdefs.h. */
10629 /* Override any GCC internal prototype to avoid an error.
10630 Use char because int might match the return type of a GCC
10631 builtin and then its argument prototype would still apply. */
10632 #ifdef __cplusplus
10633 extern "C"
10634 #endif
10635 char xmlReadMemory ();
10637 main ()
10639 return xmlReadMemory ();
10641 return 0;
10643 _ACEOF
10644 if ac_fn_c_try_link "$LINENO"; then :
10645 ac_cv_lib_xml2_xmlReadMemory=yes
10646 else
10647 ac_cv_lib_xml2_xmlReadMemory=no
10649 rm -f core conftest.err conftest.$ac_objext \
10650 conftest$ac_exeext conftest.$ac_ext
10651 LIBS=$ac_check_lib_save_LIBS
10653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10654 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10655 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
10657 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10662 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10663 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
10664 $as_echo_n "(cached) " >&6
10665 else
10666 ac_check_lib_save_LIBS=$LIBS
10667 LIBS="-lxml2 $XML2_LIBS $LIBS"
10668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10669 /* end confdefs.h. */
10671 /* Override any GCC internal prototype to avoid an error.
10672 Use char because int might match the return type of a GCC
10673 builtin and then its argument prototype would still apply. */
10674 #ifdef __cplusplus
10675 extern "C"
10676 #endif
10677 char xmlNewDocPI ();
10679 main ()
10681 return xmlNewDocPI ();
10683 return 0;
10685 _ACEOF
10686 if ac_fn_c_try_link "$LINENO"; then :
10687 ac_cv_lib_xml2_xmlNewDocPI=yes
10688 else
10689 ac_cv_lib_xml2_xmlNewDocPI=no
10691 rm -f core conftest.err conftest.$ac_objext \
10692 conftest$ac_exeext conftest.$ac_ext
10693 LIBS=$ac_check_lib_save_LIBS
10695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10696 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10697 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
10699 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10704 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10705 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
10706 $as_echo_n "(cached) " >&6
10707 else
10708 ac_check_lib_save_LIBS=$LIBS
10709 LIBS="-lxml2 $XML2_LIBS $LIBS"
10710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10711 /* end confdefs.h. */
10713 /* Override any GCC internal prototype to avoid an error.
10714 Use char because int might match the return type of a GCC
10715 builtin and then its argument prototype would still apply. */
10716 #ifdef __cplusplus
10717 extern "C"
10718 #endif
10719 char xmlSchemaSetParserStructuredErrors ();
10721 main ()
10723 return xmlSchemaSetParserStructuredErrors ();
10725 return 0;
10727 _ACEOF
10728 if ac_fn_c_try_link "$LINENO"; then :
10729 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
10730 else
10731 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
10733 rm -f core conftest.err conftest.$ac_objext \
10734 conftest$ac_exeext conftest.$ac_ext
10735 LIBS=$ac_check_lib_save_LIBS
10737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10738 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10739 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
10741 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10746 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10747 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
10748 $as_echo_n "(cached) " >&6
10749 else
10750 ac_check_lib_save_LIBS=$LIBS
10751 LIBS="-lxml2 $XML2_LIBS $LIBS"
10752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10753 /* end confdefs.h. */
10755 /* Override any GCC internal prototype to avoid an error.
10756 Use char because int might match the return type of a GCC
10757 builtin and then its argument prototype would still apply. */
10758 #ifdef __cplusplus
10759 extern "C"
10760 #endif
10761 char xmlSchemaSetValidStructuredErrors ();
10763 main ()
10765 return xmlSchemaSetValidStructuredErrors ();
10767 return 0;
10769 _ACEOF
10770 if ac_fn_c_try_link "$LINENO"; then :
10771 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
10772 else
10773 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
10775 rm -f core conftest.err conftest.$ac_objext \
10776 conftest$ac_exeext conftest.$ac_ext
10777 LIBS=$ac_check_lib_save_LIBS
10779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10780 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10781 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
10783 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10788 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10789 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
10790 $as_echo_n "(cached) " >&6
10791 else
10792 ac_check_lib_save_LIBS=$LIBS
10793 LIBS="-lxml2 $XML2_LIBS $LIBS"
10794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10795 /* end confdefs.h. */
10797 /* Override any GCC internal prototype to avoid an error.
10798 Use char because int might match the return type of a GCC
10799 builtin and then its argument prototype would still apply. */
10800 #ifdef __cplusplus
10801 extern "C"
10802 #endif
10803 char xmlFirstElementChild ();
10805 main ()
10807 return xmlFirstElementChild ();
10809 return 0;
10811 _ACEOF
10812 if ac_fn_c_try_link "$LINENO"; then :
10813 ac_cv_lib_xml2_xmlFirstElementChild=yes
10814 else
10815 ac_cv_lib_xml2_xmlFirstElementChild=no
10817 rm -f core conftest.err conftest.$ac_objext \
10818 conftest$ac_exeext conftest.$ac_ext
10819 LIBS=$ac_check_lib_save_LIBS
10821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10822 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10823 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
10825 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10829 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10831 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
10833 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10837 else
10838 XML2_CFLAGS=""
10839 XML2_LIBS=""
10841 CPPFLAGS=$ac_save_CPPFLAGS
10842 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10843 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10846 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10847 case "x$with_xml" in
10848 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10849 xno) ;;
10850 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10851 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10852 esac
10855 if test "x$with_xslt" != "xno"
10856 then
10857 if test -n "$XSLT_CFLAGS"; then :
10859 elif test -n "$PKG_CONFIG"; then :
10860 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10862 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10863 if test -n "$XSLT_LIBS"; then :
10865 elif test -n "$PKG_CONFIG"; then :
10866 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10868 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10869 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
10870 ac_save_CPPFLAGS=$CPPFLAGS
10871 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
10872 for ac_header in libxslt/pattern.h libxslt/transform.h
10873 do :
10874 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10875 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10876 # include <libxslt/pattern.h>
10877 #endif
10879 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10880 cat >>confdefs.h <<_ACEOF
10881 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10882 _ACEOF
10886 done
10888 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10889 then
10890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10891 $as_echo_n "checking for -lxslt... " >&6; }
10892 if ${ac_cv_lib_soname_xslt+:} false; then :
10893 $as_echo_n "(cached) " >&6
10894 else
10895 ac_check_soname_save_LIBS=$LIBS
10896 LIBS="-lxslt $XSLT_LIBS $LIBS"
10897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10898 /* end confdefs.h. */
10900 /* Override any GCC internal prototype to avoid an error.
10901 Use char because int might match the return type of a GCC
10902 builtin and then its argument prototype would still apply. */
10903 #ifdef __cplusplus
10904 extern "C"
10905 #endif
10906 char xsltCompilePattern ();
10908 main ()
10910 return xsltCompilePattern ();
10912 return 0;
10914 _ACEOF
10915 if ac_fn_c_try_link "$LINENO"; then :
10916 case "$LIBEXT" in
10917 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10918 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'` ;;
10919 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10920 if test "x$ac_cv_lib_soname_xslt" = x; then :
10921 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10922 fi ;;
10923 esac
10925 rm -f core conftest.err conftest.$ac_objext \
10926 conftest$ac_exeext conftest.$ac_ext
10927 LIBS=$ac_check_soname_save_LIBS
10929 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10931 $as_echo "not found" >&6; }
10933 else
10934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
10935 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
10937 cat >>confdefs.h <<_ACEOF
10938 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
10939 _ACEOF
10943 else
10944 XSLT_CFLAGS=""
10946 CPPFLAGS=$ac_save_CPPFLAGS
10947 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10948 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10951 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10952 case "x$with_xslt" in
10953 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
10954 xno) ;;
10955 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
10956 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
10957 esac
10960 if test "x$with_dbus" != "xno"
10961 then
10962 if test -n "$DBUS_CFLAGS"; then :
10964 elif test -n "$PKG_CONFIG"; then :
10965 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
10968 if test -n "$DBUS_LIBS"; then :
10970 elif test -n "$PKG_CONFIG"; then :
10971 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
10975 ac_save_CPPFLAGS=$CPPFLAGS
10976 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
10977 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
10978 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
10979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
10980 $as_echo_n "checking for -ldbus-1... " >&6; }
10981 if ${ac_cv_lib_soname_dbus_1+:} false; then :
10982 $as_echo_n "(cached) " >&6
10983 else
10984 ac_check_soname_save_LIBS=$LIBS
10985 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
10986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10987 /* end confdefs.h. */
10989 /* Override any GCC internal prototype to avoid an error.
10990 Use char because int might match the return type of a GCC
10991 builtin and then its argument prototype would still apply. */
10992 #ifdef __cplusplus
10993 extern "C"
10994 #endif
10995 char dbus_connection_close ();
10997 main ()
10999 return dbus_connection_close ();
11001 return 0;
11003 _ACEOF
11004 if ac_fn_c_try_link "$LINENO"; then :
11005 case "$LIBEXT" in
11006 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11007 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'` ;;
11008 *) 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'`
11009 if test "x$ac_cv_lib_soname_dbus_1" = x; then :
11010 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11011 fi ;;
11012 esac
11014 rm -f core conftest.err conftest.$ac_objext \
11015 conftest$ac_exeext conftest.$ac_ext
11016 LIBS=$ac_check_soname_save_LIBS
11018 if test "x$ac_cv_lib_soname_dbus_1" = "x"; then :
11019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11020 $as_echo "not found" >&6; }
11021 DBUS_CFLAGS=""
11022 else
11023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11024 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11026 cat >>confdefs.h <<_ACEOF
11027 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11028 _ACEOF
11032 else
11033 DBUS_CFLAGS=""
11037 CPPFLAGS=$ac_save_CPPFLAGS
11038 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11039 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11042 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11043 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11044 case "x$with_dbus" in
11045 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11046 xno) ;;
11047 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11048 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11049 esac
11052 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11053 then
11054 if test -n "$HAL_CFLAGS"; then :
11056 elif test -n "$PKG_CONFIG"; then :
11057 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11060 if test -n "$HAL_LIBS"; then :
11062 elif test -n "$PKG_CONFIG"; then :
11063 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11066 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11067 ac_save_CPPFLAGS=$CPPFLAGS
11068 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11069 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11070 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11072 $as_echo_n "checking for -lhal... " >&6; }
11073 if ${ac_cv_lib_soname_hal+:} false; then :
11074 $as_echo_n "(cached) " >&6
11075 else
11076 ac_check_soname_save_LIBS=$LIBS
11077 LIBS="-lhal $HAL_LIBS $LIBS"
11078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11079 /* end confdefs.h. */
11081 /* Override any GCC internal prototype to avoid an error.
11082 Use char because int might match the return type of a GCC
11083 builtin and then its argument prototype would still apply. */
11084 #ifdef __cplusplus
11085 extern "C"
11086 #endif
11087 char libhal_ctx_new ();
11089 main ()
11091 return libhal_ctx_new ();
11093 return 0;
11095 _ACEOF
11096 if ac_fn_c_try_link "$LINENO"; then :
11097 case "$LIBEXT" in
11098 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11099 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'` ;;
11100 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11101 if test "x$ac_cv_lib_soname_hal" = x; then :
11102 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11103 fi ;;
11104 esac
11106 rm -f core conftest.err conftest.$ac_objext \
11107 conftest$ac_exeext conftest.$ac_ext
11108 LIBS=$ac_check_soname_save_LIBS
11110 if test "x$ac_cv_lib_soname_hal" = "x"; then :
11111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11112 $as_echo "not found" >&6; }
11113 HAL_CFLAGS=""
11114 else
11115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11116 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11118 cat >>confdefs.h <<_ACEOF
11119 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11120 _ACEOF
11124 else
11125 HAL_CFLAGS=""
11129 CPPFLAGS=$ac_save_CPPFLAGS
11130 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11131 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11133 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11134 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11135 case "x$with_hal" in
11136 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11137 xno) ;;
11138 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11139 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11140 esac
11144 if test "x$with_gnutls" != "xno"
11145 then
11146 if test -n "$GNUTLS_CFLAGS"; then :
11148 elif test -n "$PKG_CONFIG"; then :
11149 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11152 if test -n "$GNUTLS_LIBS"; then :
11154 elif test -n "$PKG_CONFIG"; then :
11155 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11159 ac_save_CPPFLAGS=$CPPFLAGS
11160 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11161 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11162 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11164 /* end confdefs.h. */
11165 #include <gnutls/gnutls.h>
11166 #include <gnutls/crypto.h>
11168 main ()
11170 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11172 return 0;
11174 _ACEOF
11175 if ac_fn_c_try_compile "$LINENO"; then :
11176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11177 $as_echo_n "checking for -lgnutls... " >&6; }
11178 if ${ac_cv_lib_soname_gnutls+:} false; then :
11179 $as_echo_n "(cached) " >&6
11180 else
11181 ac_check_soname_save_LIBS=$LIBS
11182 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11184 /* end confdefs.h. */
11186 /* Override any GCC internal prototype to avoid an error.
11187 Use char because int might match the return type of a GCC
11188 builtin and then its argument prototype would still apply. */
11189 #ifdef __cplusplus
11190 extern "C"
11191 #endif
11192 char gnutls_global_init ();
11194 main ()
11196 return gnutls_global_init ();
11198 return 0;
11200 _ACEOF
11201 if ac_fn_c_try_link "$LINENO"; then :
11202 case "$LIBEXT" in
11203 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11204 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'` ;;
11205 *) ac_cv_lib_soname_gnutls=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11206 if test "x$ac_cv_lib_soname_gnutls" = x; then :
11207 ac_cv_lib_soname_gnutls=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11208 fi ;;
11209 esac
11211 rm -f core conftest.err conftest.$ac_objext \
11212 conftest$ac_exeext conftest.$ac_ext
11213 LIBS=$ac_check_soname_save_LIBS
11215 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11217 $as_echo "not found" >&6; }
11218 GNUTLS_CFLAGS=""
11219 else
11220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11221 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11223 cat >>confdefs.h <<_ACEOF
11224 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11225 _ACEOF
11230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11231 else
11232 GNUTLS_CFLAGS=""
11236 CPPFLAGS=$ac_save_CPPFLAGS
11237 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11238 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11241 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11242 case "x$with_gnutls" in
11243 x) as_fn_append wine_notices "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11244 xno) ;;
11245 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11246 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11247 esac
11250 CURSESLIBS=""
11251 if test "$ac_cv_header_ncurses_h" = "yes"
11252 then
11253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11254 $as_echo_n "checking for -lncurses... " >&6; }
11255 if ${ac_cv_lib_soname_ncurses+:} false; then :
11256 $as_echo_n "(cached) " >&6
11257 else
11258 ac_check_soname_save_LIBS=$LIBS
11259 LIBS="-lncurses $LIBS"
11260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11261 /* end confdefs.h. */
11263 /* Override any GCC internal prototype to avoid an error.
11264 Use char because int might match the return type of a GCC
11265 builtin and then its argument prototype would still apply. */
11266 #ifdef __cplusplus
11267 extern "C"
11268 #endif
11269 char waddch ();
11271 main ()
11273 return waddch ();
11275 return 0;
11277 _ACEOF
11278 if ac_fn_c_try_link "$LINENO"; then :
11279 case "$LIBEXT" in
11280 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11281 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'` ;;
11282 *) ac_cv_lib_soname_ncurses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11283 if test "x$ac_cv_lib_soname_ncurses" = x; then :
11284 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11285 fi ;;
11286 esac
11288 rm -f core conftest.err conftest.$ac_objext \
11289 conftest$ac_exeext conftest.$ac_ext
11290 LIBS=$ac_check_soname_save_LIBS
11292 if test "x$ac_cv_lib_soname_ncurses" = "x"; then :
11293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11294 $as_echo "not found" >&6; }
11296 else
11297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11298 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11300 cat >>confdefs.h <<_ACEOF
11301 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11302 _ACEOF
11304 CURSESLIBS="-lncurses"
11306 elif test "$ac_cv_header_curses_h" = "yes"
11307 then
11308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11309 $as_echo_n "checking for -lcurses... " >&6; }
11310 if ${ac_cv_lib_soname_curses+:} false; then :
11311 $as_echo_n "(cached) " >&6
11312 else
11313 ac_check_soname_save_LIBS=$LIBS
11314 LIBS="-lcurses $LIBS"
11315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11316 /* end confdefs.h. */
11318 /* Override any GCC internal prototype to avoid an error.
11319 Use char because int might match the return type of a GCC
11320 builtin and then its argument prototype would still apply. */
11321 #ifdef __cplusplus
11322 extern "C"
11323 #endif
11324 char waddch ();
11326 main ()
11328 return waddch ();
11330 return 0;
11332 _ACEOF
11333 if ac_fn_c_try_link "$LINENO"; then :
11334 case "$LIBEXT" in
11335 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11336 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'` ;;
11337 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11338 if test "x$ac_cv_lib_soname_curses" = x; then :
11339 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11340 fi ;;
11341 esac
11343 rm -f core conftest.err conftest.$ac_objext \
11344 conftest$ac_exeext conftest.$ac_ext
11345 LIBS=$ac_check_soname_save_LIBS
11347 if test "x$ac_cv_lib_soname_curses" = "x"; then :
11348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11349 $as_echo "not found" >&6; }
11351 else
11352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11353 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11355 cat >>confdefs.h <<_ACEOF
11356 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11357 _ACEOF
11359 CURSESLIBS="-lcurses"
11362 ac_save_LIBS="$LIBS"
11363 LIBS="$LIBS $CURSESLIBS"
11364 for ac_func in mousemask
11365 do :
11366 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11367 if test "x$ac_cv_func_mousemask" = xyes; then :
11368 cat >>confdefs.h <<_ACEOF
11369 #define HAVE_MOUSEMASK 1
11370 _ACEOF
11373 done
11375 LIBS="$ac_save_LIBS"
11376 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11377 case "x$with_curses" in
11378 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11379 xno) ;;
11380 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11381 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11382 esac
11385 if test "x$with_sane" != "xno"
11386 then
11387 if test -n "$SANE_CFLAGS"; then :
11389 elif test -n "$PKG_CONFIG"; then :
11390 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11392 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11393 if test -n "$SANE_LIBS"; then :
11395 elif test -n "$PKG_CONFIG"; then :
11396 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11398 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11400 ac_save_CPPFLAGS=$CPPFLAGS
11401 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11402 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11403 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11405 $as_echo_n "checking for -lsane... " >&6; }
11406 if ${ac_cv_lib_soname_sane+:} false; then :
11407 $as_echo_n "(cached) " >&6
11408 else
11409 ac_check_soname_save_LIBS=$LIBS
11410 LIBS="-lsane $SANE_LIBS $LIBS"
11411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11412 /* end confdefs.h. */
11414 /* Override any GCC internal prototype to avoid an error.
11415 Use char because int might match the return type of a GCC
11416 builtin and then its argument prototype would still apply. */
11417 #ifdef __cplusplus
11418 extern "C"
11419 #endif
11420 char sane_init ();
11422 main ()
11424 return sane_init ();
11426 return 0;
11428 _ACEOF
11429 if ac_fn_c_try_link "$LINENO"; then :
11430 case "$LIBEXT" in
11431 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11432 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'` ;;
11433 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11434 if test "x$ac_cv_lib_soname_sane" = x; then :
11435 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11436 fi ;;
11437 esac
11439 rm -f core conftest.err conftest.$ac_objext \
11440 conftest$ac_exeext conftest.$ac_ext
11441 LIBS=$ac_check_soname_save_LIBS
11443 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11445 $as_echo "not found" >&6; }
11446 SANE_CFLAGS=""
11447 else
11448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11449 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11451 cat >>confdefs.h <<_ACEOF
11452 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11453 _ACEOF
11457 else
11458 SANE_CFLAGS=""
11462 CPPFLAGS=$ac_save_CPPFLAGS
11463 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11464 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11467 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11468 case "x$with_sane" in
11469 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11470 xno) ;;
11471 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11472 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11473 esac
11476 if test "x$with_v4l" != "xno"
11477 then
11478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11479 $as_echo_n "checking for -lv4l1... " >&6; }
11480 if ${ac_cv_lib_soname_v4l1+:} false; then :
11481 $as_echo_n "(cached) " >&6
11482 else
11483 ac_check_soname_save_LIBS=$LIBS
11484 LIBS="-lv4l1 $LIBS"
11485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11486 /* end confdefs.h. */
11488 /* Override any GCC internal prototype to avoid an error.
11489 Use char because int might match the return type of a GCC
11490 builtin and then its argument prototype would still apply. */
11491 #ifdef __cplusplus
11492 extern "C"
11493 #endif
11494 char v4l1_open ();
11496 main ()
11498 return v4l1_open ();
11500 return 0;
11502 _ACEOF
11503 if ac_fn_c_try_link "$LINENO"; then :
11504 case "$LIBEXT" in
11505 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11506 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'` ;;
11507 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11508 if test "x$ac_cv_lib_soname_v4l1" = x; then :
11509 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11510 fi ;;
11511 esac
11513 rm -f core conftest.err conftest.$ac_objext \
11514 conftest$ac_exeext conftest.$ac_ext
11515 LIBS=$ac_check_soname_save_LIBS
11517 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11519 $as_echo "not found" >&6; }
11521 else
11522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11523 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11525 cat >>confdefs.h <<_ACEOF
11526 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11527 _ACEOF
11532 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11533 case "x$with_v4l" in
11534 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11535 xno) ;;
11536 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11537 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11538 esac
11541 if test "x$with_gphoto" != "xno"
11542 then
11543 if test -n "$GPHOTO2_CFLAGS"; then :
11545 elif test -n "$PKG_CONFIG"; then :
11546 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11548 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11549 if test -n "$GPHOTO2_LIBS"; then :
11551 elif test -n "$PKG_CONFIG"; then :
11552 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11554 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11555 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11556 ac_save_CPPFLAGS=$CPPFLAGS
11557 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11558 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11559 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11561 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11562 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11563 $as_echo_n "(cached) " >&6
11564 else
11565 ac_check_lib_save_LIBS=$LIBS
11566 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11568 /* end confdefs.h. */
11570 /* Override any GCC internal prototype to avoid an error.
11571 Use char because int might match the return type of a GCC
11572 builtin and then its argument prototype would still apply. */
11573 #ifdef __cplusplus
11574 extern "C"
11575 #endif
11576 char gp_camera_new ();
11578 main ()
11580 return gp_camera_new ();
11582 return 0;
11584 _ACEOF
11585 if ac_fn_c_try_link "$LINENO"; then :
11586 ac_cv_lib_gphoto2_gp_camera_new=yes
11587 else
11588 ac_cv_lib_gphoto2_gp_camera_new=no
11590 rm -f core conftest.err conftest.$ac_objext \
11591 conftest$ac_exeext conftest.$ac_ext
11592 LIBS=$ac_check_lib_save_LIBS
11594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11595 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11596 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11598 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11600 else
11601 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11604 else
11605 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11609 CPPFLAGS=$ac_save_CPPFLAGS
11610 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11611 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11613 if test -n "$GPHOTO2_PORT_CFLAGS"; then :
11615 elif test -n "$PKG_CONFIG"; then :
11616 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11618 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11619 if test -n "$GPHOTO2_PORT_LIBS"; then :
11621 elif test -n "$PKG_CONFIG"; then :
11622 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11624 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11625 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11626 ac_save_CPPFLAGS=$CPPFLAGS
11627 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11628 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11629 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11631 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11632 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11633 $as_echo_n "(cached) " >&6
11634 else
11635 ac_check_lib_save_LIBS=$LIBS
11636 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11638 /* end confdefs.h. */
11640 /* Override any GCC internal prototype to avoid an error.
11641 Use char because int might match the return type of a GCC
11642 builtin and then its argument prototype would still apply. */
11643 #ifdef __cplusplus
11644 extern "C"
11645 #endif
11646 char gp_port_info_list_new ();
11648 main ()
11650 return gp_port_info_list_new ();
11652 return 0;
11654 _ACEOF
11655 if ac_fn_c_try_link "$LINENO"; then :
11656 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
11657 else
11658 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
11660 rm -f core conftest.err conftest.$ac_objext \
11661 conftest$ac_exeext conftest.$ac_ext
11662 LIBS=$ac_check_lib_save_LIBS
11664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11665 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11666 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
11668 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11670 else
11671 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11674 else
11675 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11679 CPPFLAGS=$ac_save_CPPFLAGS
11680 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11681 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11684 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11685 case "x$with_gphoto" in
11686 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11687 xno) ;;
11688 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11689 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11690 esac
11692 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11693 case "x$with_gphoto" in
11694 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11695 xno) ;;
11696 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11697 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11698 esac
11702 if test "$ac_cv_header_resolv_h" = "yes"
11703 then
11704 ac_save_LIBS="$LIBS"
11705 for lib in '' -lresolv
11707 LIBS="$lib $ac_save_LIBS"
11708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11709 /* end confdefs.h. */
11710 #ifdef HAVE_NETINET_IN_H
11711 #include <netinet/in.h>
11712 #endif
11713 #include <resolv.h>
11715 main ()
11717 res_query("foo",ns_c_in,0,0,0);
11719 return 0;
11721 _ACEOF
11722 if ac_fn_c_try_link "$LINENO"; then :
11724 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11726 RESOLVLIBS="$lib"
11729 rm -f core conftest.err conftest.$ac_objext \
11730 conftest$ac_exeext conftest.$ac_ext
11731 if test "${RESOLVLIBS+set}" = set; then
11732 break
11734 done
11735 LIBS="$ac_save_LIBS"
11738 if test "x$with_lcms2" != "xno"
11739 then
11740 if test -n "$LCMS2_CFLAGS"; then :
11742 elif test -n "$PKG_CONFIG"; then :
11743 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11746 if test -n "$LCMS2_LIBS"; then :
11748 elif test -n "$PKG_CONFIG"; then :
11749 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11752 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
11753 ac_save_CPPFLAGS=$CPPFLAGS
11754 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
11755 for ac_header in lcms2.h
11756 do :
11757 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11758 if test "x$ac_cv_header_lcms2_h" = xyes; then :
11759 cat >>confdefs.h <<_ACEOF
11760 #define HAVE_LCMS2_H 1
11761 _ACEOF
11765 done
11767 if test "$ac_cv_header_lcms2_h" = "yes"
11768 then
11769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11770 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11771 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
11772 $as_echo_n "(cached) " >&6
11773 else
11774 ac_check_lib_save_LIBS=$LIBS
11775 LIBS="-llcms2 $LIBS"
11776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11777 /* end confdefs.h. */
11779 /* Override any GCC internal prototype to avoid an error.
11780 Use char because int might match the return type of a GCC
11781 builtin and then its argument prototype would still apply. */
11782 #ifdef __cplusplus
11783 extern "C"
11784 #endif
11785 char cmsOpenProfileFromFile ();
11787 main ()
11789 return cmsOpenProfileFromFile ();
11791 return 0;
11793 _ACEOF
11794 if ac_fn_c_try_link "$LINENO"; then :
11795 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
11796 else
11797 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
11799 rm -f core conftest.err conftest.$ac_objext \
11800 conftest$ac_exeext conftest.$ac_ext
11801 LIBS=$ac_check_lib_save_LIBS
11803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11804 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11805 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
11807 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11809 else
11810 LCMS2_LIBS=""
11813 else
11814 LCMS2_CFLAGS=""
11815 LCMS2_LIBS=""
11817 CPPFLAGS=$ac_save_CPPFLAGS
11818 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11819 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11822 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11823 case "x$with_cms" in
11824 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11825 xno) ;;
11826 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11827 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11828 esac
11831 if test "x$with_freetype" != "xno"
11832 then
11833 if test -n "$FREETYPE_CFLAGS"; then :
11835 elif test -n "$PKG_CONFIG"; then :
11836 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11838 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11839 if test -n "$FREETYPE_LIBS"; then :
11841 elif test -n "$PKG_CONFIG"; then :
11842 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11844 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11845 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
11846 ac_save_CPPFLAGS=$CPPFLAGS
11847 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
11848 for ac_header in ft2build.h
11849 do :
11850 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
11851 if test "x$ac_cv_header_ft2build_h" = xyes; then :
11852 cat >>confdefs.h <<_ACEOF
11853 #define HAVE_FT2BUILD_H 1
11854 _ACEOF
11858 done
11860 if test "$ac_cv_header_ft2build_h" = "yes"
11861 then
11862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11863 $as_echo_n "checking for -lfreetype... " >&6; }
11864 if ${ac_cv_lib_soname_freetype+:} false; then :
11865 $as_echo_n "(cached) " >&6
11866 else
11867 ac_check_soname_save_LIBS=$LIBS
11868 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
11869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11870 /* end confdefs.h. */
11872 /* Override any GCC internal prototype to avoid an error.
11873 Use char because int might match the return type of a GCC
11874 builtin and then its argument prototype would still apply. */
11875 #ifdef __cplusplus
11876 extern "C"
11877 #endif
11878 char FT_Init_FreeType ();
11880 main ()
11882 return FT_Init_FreeType ();
11884 return 0;
11886 _ACEOF
11887 if ac_fn_c_try_link "$LINENO"; then :
11888 case "$LIBEXT" in
11889 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11890 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'` ;;
11891 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11892 if test "x$ac_cv_lib_soname_freetype" = x; then :
11893 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11894 fi ;;
11895 esac
11897 rm -f core conftest.err conftest.$ac_objext \
11898 conftest$ac_exeext conftest.$ac_ext
11899 LIBS=$ac_check_soname_save_LIBS
11901 if test "x$ac_cv_lib_soname_freetype" = "x"; then :
11902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11903 $as_echo "not found" >&6; }
11904 FREETYPE_LIBS=""
11905 else
11906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
11907 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
11909 cat >>confdefs.h <<_ACEOF
11910 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
11911 _ACEOF
11914 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
11916 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
11917 #include FT_MODULE_H
11919 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
11921 cat >>confdefs.h <<_ACEOF
11922 #define HAVE_FT_TRUETYPEENGINETYPE 1
11923 _ACEOF
11929 else
11930 FREETYPE_CFLAGS=""
11931 FREETYPE_LIBS=""
11933 CPPFLAGS=$ac_save_CPPFLAGS
11934 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11935 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11938 if test "x$ac_cv_lib_soname_freetype" = x; then :
11939 case "x$with_freetype" in
11940 xno) ;;
11941 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
11942 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
11943 esac
11945 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
11947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
11948 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
11949 if ${ac_cv_c_ppdev+:} false; then :
11950 $as_echo_n "(cached) " >&6
11951 else
11952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11953 /* end confdefs.h. */
11954 #ifdef HAVE_SYS_IOCTL_H
11955 # include <sys/ioctl.h>
11956 #endif
11957 #include <linux/ppdev.h>
11959 main ()
11961 ioctl (1,PPCLAIM,0)
11963 return 0;
11965 _ACEOF
11966 if ac_fn_c_try_compile "$LINENO"; then :
11967 ac_cv_c_ppdev="yes"
11968 else
11969 ac_cv_c_ppdev="no"
11971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
11974 $as_echo "$ac_cv_c_ppdev" >&6; }
11975 if test "$ac_cv_c_ppdev" = "yes"
11976 then
11978 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
11982 ac_wine_check_funcs_save_LIBS="$LIBS"
11983 LIBS="$LIBS $LIBPTHREAD"
11984 for ac_func in \
11985 pthread_attr_get_np \
11986 pthread_getattr_np \
11987 pthread_getthreadid_np \
11988 pthread_get_stackaddr_np \
11989 pthread_get_stacksize_np
11990 do :
11991 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11992 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
11993 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
11994 cat >>confdefs.h <<_ACEOF
11995 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11996 _ACEOF
11999 done
12001 LIBS="$ac_wine_check_funcs_save_LIBS"
12003 if test "$ac_cv_header_zlib_h" = "yes"
12004 then
12005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12006 $as_echo_n "checking for inflate in -lz... " >&6; }
12007 if ${ac_cv_lib_z_inflate+:} false; then :
12008 $as_echo_n "(cached) " >&6
12009 else
12010 ac_check_lib_save_LIBS=$LIBS
12011 LIBS="-lz $LIBS"
12012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12013 /* end confdefs.h. */
12015 /* Override any GCC internal prototype to avoid an error.
12016 Use char because int might match the return type of a GCC
12017 builtin and then its argument prototype would still apply. */
12018 #ifdef __cplusplus
12019 extern "C"
12020 #endif
12021 char inflate ();
12023 main ()
12025 return inflate ();
12027 return 0;
12029 _ACEOF
12030 if ac_fn_c_try_link "$LINENO"; then :
12031 ac_cv_lib_z_inflate=yes
12032 else
12033 ac_cv_lib_z_inflate=no
12035 rm -f core conftest.err conftest.$ac_objext \
12036 conftest$ac_exeext conftest.$ac_ext
12037 LIBS=$ac_check_lib_save_LIBS
12039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12040 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12041 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12043 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12045 ZLIB="-lz"
12050 if test "x$ZLIB" = "x"; then :
12051 case "x$with_zlib" in
12052 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12053 xno) ;;
12054 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12055 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12056 esac
12059 if test "x$enable_tools" != xno
12060 then
12061 if test "$ac_cv_header_gettext_po_h" = "yes"
12062 then
12063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12064 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12065 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12066 $as_echo_n "(cached) " >&6
12067 else
12068 ac_check_lib_save_LIBS=$LIBS
12069 LIBS="-lgettextpo $LIBS"
12070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12071 /* end confdefs.h. */
12073 /* Override any GCC internal prototype to avoid an error.
12074 Use char because int might match the return type of a GCC
12075 builtin and then its argument prototype would still apply. */
12076 #ifdef __cplusplus
12077 extern "C"
12078 #endif
12079 char po_message_msgctxt ();
12081 main ()
12083 return po_message_msgctxt ();
12085 return 0;
12087 _ACEOF
12088 if ac_fn_c_try_link "$LINENO"; then :
12089 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12090 else
12091 ac_cv_lib_gettextpo_po_message_msgctxt=no
12093 rm -f core conftest.err conftest.$ac_objext \
12094 conftest$ac_exeext conftest.$ac_ext
12095 LIBS=$ac_check_lib_save_LIBS
12097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12098 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12099 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12101 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12103 LIBGETTEXTPO="-lgettextpo"
12108 test "x$with_gettextpo" != xyes || if test "x$LIBGETTEXTPO" = "x"; then :
12109 case "x$with_gettextpo" in
12110 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12111 xno) ;;
12112 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12113 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12114 esac
12118 if test "x$with_gstreamer" != "xno"
12119 then
12120 if test -n "$GSTREAMER_CFLAGS"; then :
12122 elif test -n "$PKG_CONFIG"; then :
12123 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12126 if test -n "$GSTREAMER_LIBS"; then :
12128 elif test -n "$PKG_CONFIG"; then :
12129 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12133 ac_save_CPPFLAGS=$CPPFLAGS
12134 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12135 ac_gst_incl=""
12136 for i in $GSTREAMER_CFLAGS
12138 case "$i" in
12139 -I*) ac_gst_incl="$ac_gst_incl $i";;
12140 esac
12141 done
12142 GSTREAMER_CFLAGS=$ac_gst_incl
12143 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12144 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12145 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
12146 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12147 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
12148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12149 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12151 /* end confdefs.h. */
12152 #include <gst/app/gstappsink.h>
12154 main ()
12156 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12158 return 0;
12160 _ACEOF
12161 if ac_fn_c_try_compile "$LINENO"; then :
12162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12163 $as_echo "yes" >&6; }
12164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12165 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12166 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
12167 $as_echo_n "(cached) " >&6
12168 else
12169 ac_check_lib_save_LIBS=$LIBS
12170 LIBS="-lgstreamer-0.10 $LIBS"
12171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12172 /* end confdefs.h. */
12174 /* Override any GCC internal prototype to avoid an error.
12175 Use char because int might match the return type of a GCC
12176 builtin and then its argument prototype would still apply. */
12177 #ifdef __cplusplus
12178 extern "C"
12179 #endif
12180 char gst_pad_get_caps_reffed ();
12182 main ()
12184 return gst_pad_get_caps_reffed ();
12186 return 0;
12188 _ACEOF
12189 if ac_fn_c_try_link "$LINENO"; then :
12190 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
12191 else
12192 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
12194 rm -f core conftest.err conftest.$ac_objext \
12195 conftest$ac_exeext conftest.$ac_ext
12196 LIBS=$ac_check_lib_save_LIBS
12198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12199 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12200 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
12201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12202 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12203 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
12204 $as_echo_n "(cached) " >&6
12205 else
12206 ac_check_lib_save_LIBS=$LIBS
12207 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12209 /* end confdefs.h. */
12211 /* Override any GCC internal prototype to avoid an error.
12212 Use char because int might match the return type of a GCC
12213 builtin and then its argument prototype would still apply. */
12214 #ifdef __cplusplus
12215 extern "C"
12216 #endif
12217 char gst_app_buffer_new ();
12219 main ()
12221 return gst_app_buffer_new ();
12223 return 0;
12225 _ACEOF
12226 if ac_fn_c_try_link "$LINENO"; then :
12227 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
12228 else
12229 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
12231 rm -f core conftest.err conftest.$ac_objext \
12232 conftest$ac_exeext conftest.$ac_ext
12233 LIBS=$ac_check_lib_save_LIBS
12235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12236 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12237 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
12243 else
12244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12245 $as_echo "no" >&6; }
12247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12251 else
12252 GSTREAMER_CFLAGS=""
12256 CPPFLAGS=$ac_save_CPPFLAGS
12257 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12258 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12261 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
12262 case "x$with_gstreamer" in
12263 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12264 xno) ;;
12265 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12266 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12267 esac
12269 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12271 ALSALIBS=""
12273 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12274 then
12275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12276 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12277 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12278 $as_echo_n "(cached) " >&6
12279 else
12280 ac_check_lib_save_LIBS=$LIBS
12281 LIBS="-lasound $LIBS"
12282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12283 /* end confdefs.h. */
12285 /* Override any GCC internal prototype to avoid an error.
12286 Use char because int might match the return type of a GCC
12287 builtin and then its argument prototype would still apply. */
12288 #ifdef __cplusplus
12289 extern "C"
12290 #endif
12291 char snd_pcm_hw_params_get_access_mask ();
12293 main ()
12295 return snd_pcm_hw_params_get_access_mask ();
12297 return 0;
12299 _ACEOF
12300 if ac_fn_c_try_link "$LINENO"; then :
12301 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12302 else
12303 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12305 rm -f core conftest.err conftest.$ac_objext \
12306 conftest$ac_exeext conftest.$ac_ext
12307 LIBS=$ac_check_lib_save_LIBS
12309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12310 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12311 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12313 /* end confdefs.h. */
12314 #ifdef HAVE_ALSA_ASOUNDLIB_H
12315 #include <alsa/asoundlib.h>
12316 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12317 #include <sys/asoundlib.h>
12318 #endif
12320 main ()
12322 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12324 return 0;
12326 _ACEOF
12327 if ac_fn_c_try_compile "$LINENO"; then :
12328 ALSALIBS="-lasound"
12330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12335 if test "x$with_oss" != xno
12336 then
12337 ac_save_CPPFLAGS="$CPPFLAGS"
12338 if test -f /etc/oss.conf
12339 then
12340 . /etc/oss.conf
12342 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12343 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12344 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12345 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12346 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12348 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12350 cat >>confdefs.h <<_ACEOF
12351 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12352 _ACEOF
12354 OSS4INCL="$ac_oss_incl"
12361 CPPFLAGS="$ac_save_CPPFLAGS"
12362 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12363 then
12364 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12368 if test "x$with_capi" != "xno"
12369 then
12370 if test -n "$CAPI20_CFLAGS"; then :
12372 elif test -n "$PKG_CONFIG"; then :
12373 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12376 if test -n "$CAPI20_LIBS"; then :
12378 elif test -n "$PKG_CONFIG"; then :
12379 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12383 ac_save_CPPFLAGS=$CPPFLAGS
12384 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12385 for ac_header in capi20.h linux/capi.h
12386 do :
12387 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12388 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12390 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12391 cat >>confdefs.h <<_ACEOF
12392 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12393 _ACEOF
12397 done
12399 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12400 then
12401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12402 $as_echo_n "checking for -lcapi20... " >&6; }
12403 if ${ac_cv_lib_soname_capi20+:} false; then :
12404 $as_echo_n "(cached) " >&6
12405 else
12406 ac_check_soname_save_LIBS=$LIBS
12407 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12409 /* end confdefs.h. */
12411 /* Override any GCC internal prototype to avoid an error.
12412 Use char because int might match the return type of a GCC
12413 builtin and then its argument prototype would still apply. */
12414 #ifdef __cplusplus
12415 extern "C"
12416 #endif
12417 char capi20_register ();
12419 main ()
12421 return capi20_register ();
12423 return 0;
12425 _ACEOF
12426 if ac_fn_c_try_link "$LINENO"; then :
12427 case "$LIBEXT" in
12428 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12429 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'` ;;
12430 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12431 if test "x$ac_cv_lib_soname_capi20" = x; then :
12432 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12433 fi ;;
12434 esac
12436 rm -f core conftest.err conftest.$ac_objext \
12437 conftest$ac_exeext conftest.$ac_ext
12438 LIBS=$ac_check_soname_save_LIBS
12440 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12442 $as_echo "not found" >&6; }
12444 else
12445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12446 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12448 cat >>confdefs.h <<_ACEOF
12449 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12450 _ACEOF
12455 CPPFLAGS=$ac_save_CPPFLAGS
12456 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12457 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12460 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12461 case "x$with_capi" in
12462 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12463 xno) ;;
12464 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12465 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12466 esac
12469 CUPSINCL=""
12471 if test "x$with_cups" != "xno"
12472 then
12473 ac_save_CPPFLAGS="$CPPFLAGS"
12474 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12475 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12476 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12477 for ac_header in cups/cups.h
12478 do :
12479 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12480 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12481 cat >>confdefs.h <<_ACEOF
12482 #define HAVE_CUPS_CUPS_H 1
12483 _ACEOF
12484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12485 $as_echo_n "checking for -lcups... " >&6; }
12486 if ${ac_cv_lib_soname_cups+:} false; then :
12487 $as_echo_n "(cached) " >&6
12488 else
12489 ac_check_soname_save_LIBS=$LIBS
12490 LIBS="-lcups $ac_cups_libs $LIBS"
12491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12492 /* end confdefs.h. */
12494 /* Override any GCC internal prototype to avoid an error.
12495 Use char because int might match the return type of a GCC
12496 builtin and then its argument prototype would still apply. */
12497 #ifdef __cplusplus
12498 extern "C"
12499 #endif
12500 char cupsGetDefault ();
12502 main ()
12504 return cupsGetDefault ();
12506 return 0;
12508 _ACEOF
12509 if ac_fn_c_try_link "$LINENO"; then :
12510 case "$LIBEXT" in
12511 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12512 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'` ;;
12513 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12514 if test "x$ac_cv_lib_soname_cups" = x; then :
12515 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12516 fi ;;
12517 esac
12519 rm -f core conftest.err conftest.$ac_objext \
12520 conftest$ac_exeext conftest.$ac_ext
12521 LIBS=$ac_check_soname_save_LIBS
12523 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12525 $as_echo "not found" >&6; }
12527 else
12528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12529 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12531 cat >>confdefs.h <<_ACEOF
12532 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12533 _ACEOF
12535 CUPSINCL="$ac_cups_cflags"
12539 done
12541 CPPFLAGS="$ac_save_CPPFLAGS"
12543 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12544 case "x$with_cups" in
12545 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12546 xno) ;;
12547 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12548 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12549 esac
12552 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12553 then
12554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12555 $as_echo_n "checking for -lfontconfig... " >&6; }
12556 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12557 $as_echo_n "(cached) " >&6
12558 else
12559 ac_check_soname_save_LIBS=$LIBS
12560 LIBS="-lfontconfig $LIBS"
12561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12562 /* end confdefs.h. */
12564 /* Override any GCC internal prototype to avoid an error.
12565 Use char because int might match the return type of a GCC
12566 builtin and then its argument prototype would still apply. */
12567 #ifdef __cplusplus
12568 extern "C"
12569 #endif
12570 char FcInit ();
12572 main ()
12574 return FcInit ();
12576 return 0;
12578 _ACEOF
12579 if ac_fn_c_try_link "$LINENO"; then :
12580 case "$LIBEXT" in
12581 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12582 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'` ;;
12583 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12584 if test "x$ac_cv_lib_soname_fontconfig" = x; then :
12585 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12586 fi ;;
12587 esac
12589 rm -f core conftest.err conftest.$ac_objext \
12590 conftest$ac_exeext conftest.$ac_ext
12591 LIBS=$ac_check_soname_save_LIBS
12593 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12595 $as_echo "not found" >&6; }
12597 else
12598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12599 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12601 cat >>confdefs.h <<_ACEOF
12602 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12603 _ACEOF
12607 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
12608 then
12609 ac_save_CPPFLAGS="$CPPFLAGS"
12610 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
12611 $as_unset ac_cv_header_fontconfig_fontconfig_h
12612 for ac_header in fontconfig/fontconfig.h
12613 do :
12614 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12615 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
12616 cat >>confdefs.h <<_ACEOF
12617 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12618 _ACEOF
12622 done
12624 CPPFLAGS="$ac_save_CPPFLAGS"
12625 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12626 then
12627 FONTCONFIGINCL="$X_CFLAGS"
12629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12630 $as_echo_n "checking for -lfontconfig... " >&6; }
12631 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12632 $as_echo_n "(cached) " >&6
12633 else
12634 ac_check_soname_save_LIBS=$LIBS
12635 LIBS="-lfontconfig $X_LIBS $LIBS"
12636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12637 /* end confdefs.h. */
12639 /* Override any GCC internal prototype to avoid an error.
12640 Use char because int might match the return type of a GCC
12641 builtin and then its argument prototype would still apply. */
12642 #ifdef __cplusplus
12643 extern "C"
12644 #endif
12645 char FcInit ();
12647 main ()
12649 return FcInit ();
12651 return 0;
12653 _ACEOF
12654 if ac_fn_c_try_link "$LINENO"; then :
12655 case "$LIBEXT" in
12656 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12657 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'` ;;
12658 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12659 if test "x$ac_cv_lib_soname_fontconfig" = x; then :
12660 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12661 fi ;;
12662 esac
12664 rm -f core conftest.err conftest.$ac_objext \
12665 conftest$ac_exeext conftest.$ac_ext
12666 LIBS=$ac_check_soname_save_LIBS
12668 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12670 $as_echo "not found" >&6; }
12672 else
12673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12674 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12676 cat >>confdefs.h <<_ACEOF
12677 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12678 _ACEOF
12684 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12685 case "x$with_fontconfig" in
12686 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12687 xno) ;;
12688 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12689 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12690 esac
12693 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12694 then
12695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12696 $as_echo_n "checking for -lgsm... " >&6; }
12697 if ${ac_cv_lib_soname_gsm+:} false; then :
12698 $as_echo_n "(cached) " >&6
12699 else
12700 ac_check_soname_save_LIBS=$LIBS
12701 LIBS="-lgsm $LIBS"
12702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12703 /* end confdefs.h. */
12705 /* Override any GCC internal prototype to avoid an error.
12706 Use char because int might match the return type of a GCC
12707 builtin and then its argument prototype would still apply. */
12708 #ifdef __cplusplus
12709 extern "C"
12710 #endif
12711 char gsm_create ();
12713 main ()
12715 return gsm_create ();
12717 return 0;
12719 _ACEOF
12720 if ac_fn_c_try_link "$LINENO"; then :
12721 case "$LIBEXT" in
12722 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12723 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'` ;;
12724 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12725 if test "x$ac_cv_lib_soname_gsm" = x; then :
12726 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12727 fi ;;
12728 esac
12730 rm -f core conftest.err conftest.$ac_objext \
12731 conftest$ac_exeext conftest.$ac_ext
12732 LIBS=$ac_check_soname_save_LIBS
12734 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12736 $as_echo "not found" >&6; }
12738 else
12739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12740 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12742 cat >>confdefs.h <<_ACEOF
12743 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12744 _ACEOF
12749 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12750 case "x$with_gsm" in
12751 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12752 xno) ;;
12753 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12754 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12755 esac
12758 if test "x$with_jpeg" != "xno"
12759 then
12760 if test -n "$JPEG_CFLAGS"; then :
12762 elif test -n "$PKG_CONFIG"; then :
12763 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12766 if test -n "$JPEG_LIBS"; then :
12768 elif test -n "$PKG_CONFIG"; then :
12769 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12773 ac_save_CPPFLAGS=$CPPFLAGS
12774 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
12775 for ac_header in jpeglib.h
12776 do :
12777 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12778 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
12779 cat >>confdefs.h <<_ACEOF
12780 #define HAVE_JPEGLIB_H 1
12781 _ACEOF
12785 done
12787 if test "$ac_cv_header_jpeglib_h" = "yes"
12788 then
12789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12790 $as_echo_n "checking for -ljpeg... " >&6; }
12791 if ${ac_cv_lib_soname_jpeg+:} false; then :
12792 $as_echo_n "(cached) " >&6
12793 else
12794 ac_check_soname_save_LIBS=$LIBS
12795 LIBS="-ljpeg $JPEG_LIBS $LIBS"
12796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12797 /* end confdefs.h. */
12799 /* Override any GCC internal prototype to avoid an error.
12800 Use char because int might match the return type of a GCC
12801 builtin and then its argument prototype would still apply. */
12802 #ifdef __cplusplus
12803 extern "C"
12804 #endif
12805 char jpeg_start_decompress ();
12807 main ()
12809 return jpeg_start_decompress ();
12811 return 0;
12813 _ACEOF
12814 if ac_fn_c_try_link "$LINENO"; then :
12815 case "$LIBEXT" in
12816 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12817 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'` ;;
12818 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12819 if test "x$ac_cv_lib_soname_jpeg" = x; then :
12820 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12821 fi ;;
12822 esac
12824 rm -f core conftest.err conftest.$ac_objext \
12825 conftest$ac_exeext conftest.$ac_ext
12826 LIBS=$ac_check_soname_save_LIBS
12828 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12830 $as_echo "not found" >&6; }
12831 JPEG_CFLAGS=""
12832 else
12833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12834 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12836 cat >>confdefs.h <<_ACEOF
12837 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12838 _ACEOF
12842 else
12843 JPEG_CFLAGS=""
12845 CPPFLAGS=$ac_save_CPPFLAGS
12846 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12847 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12850 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12851 case "x$with_jpeg" in
12852 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12853 xno) ;;
12854 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12855 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12856 esac
12859 if test "x$with_png" != "xno"
12860 then
12861 if test -n "$PNG_CFLAGS"; then :
12863 elif test -n "$PKG_CONFIG"; then :
12864 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12866 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
12867 if test -n "$PNG_LIBS"; then :
12869 elif test -n "$PKG_CONFIG"; then :
12870 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
12872 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
12874 ac_save_CPPFLAGS=$CPPFLAGS
12875 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
12876 for ac_header in png.h
12877 do :
12878 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12879 if test "x$ac_cv_header_png_h" = xyes; then :
12880 cat >>confdefs.h <<_ACEOF
12881 #define HAVE_PNG_H 1
12882 _ACEOF
12886 done
12888 if test "$ac_cv_header_png_h" = "yes"
12889 then
12890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12891 $as_echo_n "checking for -lpng... " >&6; }
12892 if ${ac_cv_lib_soname_png+:} false; then :
12893 $as_echo_n "(cached) " >&6
12894 else
12895 ac_check_soname_save_LIBS=$LIBS
12896 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
12897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12898 /* end confdefs.h. */
12900 /* Override any GCC internal prototype to avoid an error.
12901 Use char because int might match the return type of a GCC
12902 builtin and then its argument prototype would still apply. */
12903 #ifdef __cplusplus
12904 extern "C"
12905 #endif
12906 char png_create_read_struct ();
12908 main ()
12910 return png_create_read_struct ();
12912 return 0;
12914 _ACEOF
12915 if ac_fn_c_try_link "$LINENO"; then :
12916 case "$LIBEXT" in
12917 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12918 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'` ;;
12919 *) 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'`
12920 if test "x$ac_cv_lib_soname_png" = x; then :
12921 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12922 fi ;;
12923 esac
12925 rm -f core conftest.err conftest.$ac_objext \
12926 conftest$ac_exeext conftest.$ac_ext
12927 LIBS=$ac_check_soname_save_LIBS
12929 if test "x$ac_cv_lib_soname_png" = "x"; then :
12930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12931 $as_echo "not found" >&6; }
12932 PNG_CFLAGS=""
12933 else
12934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
12935 $as_echo "$ac_cv_lib_soname_png" >&6; }
12937 cat >>confdefs.h <<_ACEOF
12938 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
12939 _ACEOF
12941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12942 /* end confdefs.h. */
12943 #include <png.h>
12945 main ()
12947 typeof(png_set_expand_gray_1_2_4_to_8) *p
12949 return 0;
12951 _ACEOF
12952 if ac_fn_c_try_compile "$LINENO"; then :
12954 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
12957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12959 else
12960 PNG_CFLAGS=""
12962 CPPFLAGS=$ac_save_CPPFLAGS
12963 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12964 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12967 if test "x$ac_cv_lib_soname_png" = "x"; then :
12968 case "x$with_png" in
12969 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
12970 xno) ;;
12971 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
12972 This is an error since --with-png was requested." "$LINENO" 5 ;;
12973 esac
12976 if test "x$with_tiff" != "xno"
12977 then
12978 if test -n "$TIFF_CFLAGS"; then :
12980 elif test -n "$PKG_CONFIG"; then :
12981 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
12984 if test -n "$TIFF_LIBS"; then :
12986 elif test -n "$PKG_CONFIG"; then :
12987 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
12991 ac_save_CPPFLAGS=$CPPFLAGS
12992 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
12993 for ac_header in tiffio.h
12994 do :
12995 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
12996 if test "x$ac_cv_header_tiffio_h" = xyes; then :
12997 cat >>confdefs.h <<_ACEOF
12998 #define HAVE_TIFFIO_H 1
12999 _ACEOF
13003 done
13005 if test "$ac_cv_header_tiffio_h" = "yes"
13006 then
13007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13008 $as_echo_n "checking for -ltiff... " >&6; }
13009 if ${ac_cv_lib_soname_tiff+:} false; then :
13010 $as_echo_n "(cached) " >&6
13011 else
13012 ac_check_soname_save_LIBS=$LIBS
13013 LIBS="-ltiff $TIFF_LIBS $LIBS"
13014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13015 /* end confdefs.h. */
13017 /* Override any GCC internal prototype to avoid an error.
13018 Use char because int might match the return type of a GCC
13019 builtin and then its argument prototype would still apply. */
13020 #ifdef __cplusplus
13021 extern "C"
13022 #endif
13023 char TIFFClientOpen ();
13025 main ()
13027 return TIFFClientOpen ();
13029 return 0;
13031 _ACEOF
13032 if ac_fn_c_try_link "$LINENO"; then :
13033 case "$LIBEXT" in
13034 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13035 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'` ;;
13036 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13037 if test "x$ac_cv_lib_soname_tiff" = x; then :
13038 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13039 fi ;;
13040 esac
13042 rm -f core conftest.err conftest.$ac_objext \
13043 conftest$ac_exeext conftest.$ac_ext
13044 LIBS=$ac_check_soname_save_LIBS
13046 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13048 $as_echo "not found" >&6; }
13050 else
13051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13052 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13054 cat >>confdefs.h <<_ACEOF
13055 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13056 _ACEOF
13061 CPPFLAGS=$ac_save_CPPFLAGS
13062 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13063 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13066 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13067 case "x$with_tiff" in
13068 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13069 xno) ;;
13070 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13071 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13072 esac
13075 if test "x$with_mpg123" != "xno"
13076 then
13077 if test -n "$MPG123_CFLAGS"; then :
13079 elif test -n "$PKG_CONFIG"; then :
13080 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13083 if test -n "$MPG123_LIBS"; then :
13085 elif test -n "$PKG_CONFIG"; then :
13086 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13089 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13090 ac_save_CPPFLAGS=$CPPFLAGS
13091 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13092 for ac_header in mpg123.h
13093 do :
13094 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13095 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13096 cat >>confdefs.h <<_ACEOF
13097 #define HAVE_MPG123_H 1
13098 _ACEOF
13102 done
13104 if test "$ac_cv_header_mpg123_h" = "yes"
13105 then
13106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13107 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13108 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13109 $as_echo_n "(cached) " >&6
13110 else
13111 ac_check_lib_save_LIBS=$LIBS
13112 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13114 /* end confdefs.h. */
13116 /* Override any GCC internal prototype to avoid an error.
13117 Use char because int might match the return type of a GCC
13118 builtin and then its argument prototype would still apply. */
13119 #ifdef __cplusplus
13120 extern "C"
13121 #endif
13122 char mpg123_feed ();
13124 main ()
13126 return mpg123_feed ();
13128 return 0;
13130 _ACEOF
13131 if ac_fn_c_try_link "$LINENO"; then :
13132 ac_cv_lib_mpg123_mpg123_feed=yes
13133 else
13134 ac_cv_lib_mpg123_mpg123_feed=no
13136 rm -f core conftest.err conftest.$ac_objext \
13137 conftest$ac_exeext conftest.$ac_ext
13138 LIBS=$ac_check_lib_save_LIBS
13140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13141 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13142 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13144 else
13145 MPG123_LIBS=""
13148 else
13149 MPG123_CFLAGS=""
13150 MPG123_LIBS=""
13152 CPPFLAGS=$ac_save_CPPFLAGS
13153 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13154 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13157 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13158 case "x$with_mpg123" in
13159 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13160 xno) ;;
13161 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13162 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13163 esac
13165 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}
13167 if test "$ac_cv_header_AL_al_h" = "yes"
13168 then
13169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13170 $as_echo_n "checking for -lopenal... " >&6; }
13171 if ${ac_cv_lib_soname_openal+:} false; then :
13172 $as_echo_n "(cached) " >&6
13173 else
13174 ac_check_soname_save_LIBS=$LIBS
13175 LIBS="-lopenal $LIBS"
13176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13177 /* end confdefs.h. */
13179 /* Override any GCC internal prototype to avoid an error.
13180 Use char because int might match the return type of a GCC
13181 builtin and then its argument prototype would still apply. */
13182 #ifdef __cplusplus
13183 extern "C"
13184 #endif
13185 char alGetSource3i ();
13187 main ()
13189 return alGetSource3i ();
13191 return 0;
13193 _ACEOF
13194 if ac_fn_c_try_link "$LINENO"; then :
13195 case "$LIBEXT" in
13196 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13197 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'` ;;
13198 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13199 if test "x$ac_cv_lib_soname_openal" = x; then :
13200 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13201 fi ;;
13202 esac
13204 rm -f core conftest.err conftest.$ac_objext \
13205 conftest$ac_exeext conftest.$ac_ext
13206 LIBS=$ac_check_soname_save_LIBS
13208 if test "x$ac_cv_lib_soname_openal" = "x"; then :
13209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13210 $as_echo "not found" >&6; }
13212 else
13213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13214 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13216 cat >>confdefs.h <<_ACEOF
13217 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13218 _ACEOF
13220 LIBOPENAL="-lopenal"
13222 ac_cv_lib_openal=yes
13224 cat >>confdefs.h <<_ACEOF
13225 #define HAVE_OPENAL 1
13226 _ACEOF
13230 if test "x$ac_cv_lib_openal" != xyes; then :
13231 case "x$with_openal" in
13232 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13233 xno) ;;
13234 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13235 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13236 esac
13238 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13240 if test "$ac_cv_header_kstat_h" = "yes"
13241 then
13242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13243 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13244 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13245 $as_echo_n "(cached) " >&6
13246 else
13247 ac_check_lib_save_LIBS=$LIBS
13248 LIBS="-lkstat $LIBS"
13249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13250 /* end confdefs.h. */
13252 /* Override any GCC internal prototype to avoid an error.
13253 Use char because int might match the return type of a GCC
13254 builtin and then its argument prototype would still apply. */
13255 #ifdef __cplusplus
13256 extern "C"
13257 #endif
13258 char kstat_open ();
13260 main ()
13262 return kstat_open ();
13264 return 0;
13266 _ACEOF
13267 if ac_fn_c_try_link "$LINENO"; then :
13268 ac_cv_lib_kstat_kstat_open=yes
13269 else
13270 ac_cv_lib_kstat_kstat_open=no
13272 rm -f core conftest.err conftest.$ac_objext \
13273 conftest$ac_exeext conftest.$ac_ext
13274 LIBS=$ac_check_lib_save_LIBS
13276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13277 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13278 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13280 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13282 LIBKSTAT="-lkstat"
13288 if test "$ac_cv_header_libprocstat_h" = "yes"
13289 then
13290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13291 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13292 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13293 $as_echo_n "(cached) " >&6
13294 else
13295 ac_check_lib_save_LIBS=$LIBS
13296 LIBS="-lprocstat $LIBS"
13297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13298 /* end confdefs.h. */
13300 /* Override any GCC internal prototype to avoid an error.
13301 Use char because int might match the return type of a GCC
13302 builtin and then its argument prototype would still apply. */
13303 #ifdef __cplusplus
13304 extern "C"
13305 #endif
13306 char procstat_open_sysctl ();
13308 main ()
13310 return procstat_open_sysctl ();
13312 return 0;
13314 _ACEOF
13315 if ac_fn_c_try_link "$LINENO"; then :
13316 ac_cv_lib_procstat_procstat_open_sysctl=yes
13317 else
13318 ac_cv_lib_procstat_procstat_open_sysctl=no
13320 rm -f core conftest.err conftest.$ac_objext \
13321 conftest$ac_exeext conftest.$ac_ext
13322 LIBS=$ac_check_lib_save_LIBS
13324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13325 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13326 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13328 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13330 LIBPROCSTAT="-lprocstat"
13336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13337 $as_echo_n "checking for -lodbc... " >&6; }
13338 if ${ac_cv_lib_soname_odbc+:} false; then :
13339 $as_echo_n "(cached) " >&6
13340 else
13341 ac_check_soname_save_LIBS=$LIBS
13342 LIBS="-lodbc $LIBS"
13343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13344 /* end confdefs.h. */
13346 /* Override any GCC internal prototype to avoid an error.
13347 Use char because int might match the return type of a GCC
13348 builtin and then its argument prototype would still apply. */
13349 #ifdef __cplusplus
13350 extern "C"
13351 #endif
13352 char SQLConnect ();
13354 main ()
13356 return SQLConnect ();
13358 return 0;
13360 _ACEOF
13361 if ac_fn_c_try_link "$LINENO"; then :
13362 case "$LIBEXT" in
13363 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13364 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'` ;;
13365 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13366 if test "x$ac_cv_lib_soname_odbc" = x; then :
13367 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13368 fi ;;
13369 esac
13371 rm -f core conftest.err conftest.$ac_objext \
13372 conftest$ac_exeext conftest.$ac_ext
13373 LIBS=$ac_check_soname_save_LIBS
13375 if test "x$ac_cv_lib_soname_odbc" = "x"; then :
13376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13377 $as_echo "not found" >&6; }
13378 cat >>confdefs.h <<_ACEOF
13379 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13380 _ACEOF
13382 else
13383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13384 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13386 cat >>confdefs.h <<_ACEOF
13387 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13388 _ACEOF
13393 if test "x$with_netapi" != "xno"
13394 then
13395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13396 $as_echo_n "checking for -lnetapi... " >&6; }
13397 if ${ac_cv_lib_soname_netapi+:} false; then :
13398 $as_echo_n "(cached) " >&6
13399 else
13400 ac_check_soname_save_LIBS=$LIBS
13401 LIBS="-lnetapi $LIBS"
13402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13403 /* end confdefs.h. */
13405 /* Override any GCC internal prototype to avoid an error.
13406 Use char because int might match the return type of a GCC
13407 builtin and then its argument prototype would still apply. */
13408 #ifdef __cplusplus
13409 extern "C"
13410 #endif
13411 char libnetapi_init ();
13413 main ()
13415 return libnetapi_init ();
13417 return 0;
13419 _ACEOF
13420 if ac_fn_c_try_link "$LINENO"; then :
13421 case "$LIBEXT" in
13422 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13423 dylib) ac_cv_lib_soname_netapi=`otool -L conftest$ac_exeext | grep "libnetapi\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libnetapi\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
13424 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13425 if test "x$ac_cv_lib_soname_netapi" = x; then :
13426 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13427 fi ;;
13428 esac
13430 rm -f core conftest.err conftest.$ac_objext \
13431 conftest$ac_exeext conftest.$ac_ext
13432 LIBS=$ac_check_soname_save_LIBS
13434 if test "x$ac_cv_lib_soname_netapi" = "x"; then :
13435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13436 $as_echo "not found" >&6; }
13437 cat >>confdefs.h <<_ACEOF
13438 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13439 _ACEOF
13441 else
13442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13443 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13445 cat >>confdefs.h <<_ACEOF
13446 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13447 _ACEOF
13453 test -n "$ALSALIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13454 test -n "$COREAUDIO" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
13455 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
13456 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
13458 if test "x$ALSALIBS$COREAUDIO" = "x" -a \
13459 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
13460 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13461 then
13462 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13466 EXTRACFLAGS=""
13468 if test "x${GCC}" = "xyes"
13469 then
13470 EXTRACFLAGS="-Wall -pipe"
13472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13473 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13474 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13475 $as_echo_n "(cached) " >&6
13476 else
13477 if test "$cross_compiling" = yes; then :
13478 ac_cv_c_gcc_strength_bug="yes"
13479 else
13480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13481 /* end confdefs.h. */
13482 int L[4] = {0,1,2,3};
13484 main ()
13486 static int Array[3];
13487 unsigned int B = 3;
13488 int i;
13489 for(i=0; i<B; i++) Array[i] = i - 3;
13490 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13491 L[i] = 4;
13492 return (Array[1] != -2 || L[2] != 3)
13494 return 0;
13496 _ACEOF
13497 if ac_fn_c_try_run "$LINENO"; then :
13498 ac_cv_c_gcc_strength_bug="no"
13499 else
13500 ac_cv_c_gcc_strength_bug="yes"
13502 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13503 conftest.$ac_objext conftest.beam conftest.$ac_ext
13507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13508 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13509 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13510 then
13511 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13515 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13516 if ${ac_cv_cflags__fno_builtin+:} false; then :
13517 $as_echo_n "(cached) " >&6
13518 else
13519 ac_wine_try_cflags_saved=$CFLAGS
13520 CFLAGS="$CFLAGS -fno-builtin"
13521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13522 /* end confdefs.h. */
13523 int main(int argc, char **argv) { return 0; }
13524 _ACEOF
13525 if ac_fn_c_try_link "$LINENO"; then :
13526 ac_cv_cflags__fno_builtin=yes
13527 else
13528 ac_cv_cflags__fno_builtin=no
13530 rm -f core conftest.err conftest.$ac_objext \
13531 conftest$ac_exeext conftest.$ac_ext
13532 CFLAGS=$ac_wine_try_cflags_saved
13534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13535 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13536 if test $ac_cv_cflags__fno_builtin = yes; then :
13537 BUILTINFLAG="-fno-builtin"
13540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13541 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13542 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
13543 $as_echo_n "(cached) " >&6
13544 else
13545 ac_wine_try_cflags_saved=$CFLAGS
13546 CFLAGS="$CFLAGS -fno-strict-aliasing"
13547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13548 /* end confdefs.h. */
13549 int main(int argc, char **argv) { return 0; }
13550 _ACEOF
13551 if ac_fn_c_try_link "$LINENO"; then :
13552 ac_cv_cflags__fno_strict_aliasing=yes
13553 else
13554 ac_cv_cflags__fno_strict_aliasing=no
13556 rm -f core conftest.err conftest.$ac_objext \
13557 conftest$ac_exeext conftest.$ac_ext
13558 CFLAGS=$ac_wine_try_cflags_saved
13560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13561 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13562 if test $ac_cv_cflags__fno_strict_aliasing = yes; then :
13563 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
13565 saved_CFLAGS=$CFLAGS
13566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13567 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13568 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
13569 $as_echo_n "(cached) " >&6
13570 else
13571 ac_wine_try_cflags_saved=$CFLAGS
13572 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13574 /* end confdefs.h. */
13575 int main(int argc, char **argv) { return 0; }
13576 _ACEOF
13577 if ac_fn_c_try_link "$LINENO"; then :
13578 ac_cv_cflags__Werror_unknown_warning_option=yes
13579 else
13580 ac_cv_cflags__Werror_unknown_warning_option=no
13582 rm -f core conftest.err conftest.$ac_objext \
13583 conftest$ac_exeext conftest.$ac_ext
13584 CFLAGS=$ac_wine_try_cflags_saved
13586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13587 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13588 if test $ac_cv_cflags__Werror_unknown_warning_option = yes; then :
13589 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13592 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13593 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
13594 $as_echo_n "(cached) " >&6
13595 else
13596 ac_wine_try_cflags_saved=$CFLAGS
13597 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
13598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13599 /* end confdefs.h. */
13600 int main(int argc, char **argv) { return 0; }
13601 _ACEOF
13602 if ac_fn_c_try_link "$LINENO"; then :
13603 ac_cv_cflags__Wdeclaration_after_statement=yes
13604 else
13605 ac_cv_cflags__Wdeclaration_after_statement=no
13607 rm -f core conftest.err conftest.$ac_objext \
13608 conftest$ac_exeext conftest.$ac_ext
13609 CFLAGS=$ac_wine_try_cflags_saved
13611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13612 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13613 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then :
13614 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
13616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13617 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13618 if ${ac_cv_cflags__Wempty_body+:} false; then :
13619 $as_echo_n "(cached) " >&6
13620 else
13621 ac_wine_try_cflags_saved=$CFLAGS
13622 CFLAGS="$CFLAGS -Wempty-body"
13623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13624 /* end confdefs.h. */
13625 int main(int argc, char **argv) { return 0; }
13626 _ACEOF
13627 if ac_fn_c_try_link "$LINENO"; then :
13628 ac_cv_cflags__Wempty_body=yes
13629 else
13630 ac_cv_cflags__Wempty_body=no
13632 rm -f core conftest.err conftest.$ac_objext \
13633 conftest$ac_exeext conftest.$ac_ext
13634 CFLAGS=$ac_wine_try_cflags_saved
13636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13637 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13638 if test $ac_cv_cflags__Wempty_body = yes; then :
13639 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
13641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13642 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13643 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
13644 $as_echo_n "(cached) " >&6
13645 else
13646 ac_wine_try_cflags_saved=$CFLAGS
13647 CFLAGS="$CFLAGS -Wignored-qualifiers"
13648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13649 /* end confdefs.h. */
13650 int main(int argc, char **argv) { return 0; }
13651 _ACEOF
13652 if ac_fn_c_try_link "$LINENO"; then :
13653 ac_cv_cflags__Wignored_qualifiers=yes
13654 else
13655 ac_cv_cflags__Wignored_qualifiers=no
13657 rm -f core conftest.err conftest.$ac_objext \
13658 conftest$ac_exeext conftest.$ac_ext
13659 CFLAGS=$ac_wine_try_cflags_saved
13661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13662 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13663 if test $ac_cv_cflags__Wignored_qualifiers = yes; then :
13664 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
13666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13667 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13668 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
13669 $as_echo_n "(cached) " >&6
13670 else
13671 ac_wine_try_cflags_saved=$CFLAGS
13672 CFLAGS="$CFLAGS -Wstrict-prototypes"
13673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13674 /* end confdefs.h. */
13675 int main(int argc, char **argv) { return 0; }
13676 _ACEOF
13677 if ac_fn_c_try_link "$LINENO"; then :
13678 ac_cv_cflags__Wstrict_prototypes=yes
13679 else
13680 ac_cv_cflags__Wstrict_prototypes=no
13682 rm -f core conftest.err conftest.$ac_objext \
13683 conftest$ac_exeext conftest.$ac_ext
13684 CFLAGS=$ac_wine_try_cflags_saved
13686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13687 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13688 if test $ac_cv_cflags__Wstrict_prototypes = yes; then :
13689 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
13691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13692 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13693 if ${ac_cv_cflags__Wtype_limits+:} false; then :
13694 $as_echo_n "(cached) " >&6
13695 else
13696 ac_wine_try_cflags_saved=$CFLAGS
13697 CFLAGS="$CFLAGS -Wtype-limits"
13698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13699 /* end confdefs.h. */
13700 int main(int argc, char **argv) { return 0; }
13701 _ACEOF
13702 if ac_fn_c_try_link "$LINENO"; then :
13703 ac_cv_cflags__Wtype_limits=yes
13704 else
13705 ac_cv_cflags__Wtype_limits=no
13707 rm -f core conftest.err conftest.$ac_objext \
13708 conftest$ac_exeext conftest.$ac_ext
13709 CFLAGS=$ac_wine_try_cflags_saved
13711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13712 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13713 if test $ac_cv_cflags__Wtype_limits = yes; then :
13714 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
13716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13717 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13718 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
13719 $as_echo_n "(cached) " >&6
13720 else
13721 ac_wine_try_cflags_saved=$CFLAGS
13722 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
13723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13724 /* end confdefs.h. */
13725 int main(int argc, char **argv) { return 0; }
13726 _ACEOF
13727 if ac_fn_c_try_link "$LINENO"; then :
13728 ac_cv_cflags__Wunused_but_set_parameter=yes
13729 else
13730 ac_cv_cflags__Wunused_but_set_parameter=no
13732 rm -f core conftest.err conftest.$ac_objext \
13733 conftest$ac_exeext conftest.$ac_ext
13734 CFLAGS=$ac_wine_try_cflags_saved
13736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13737 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13738 if test $ac_cv_cflags__Wunused_but_set_parameter = yes; then :
13739 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
13741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13742 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13743 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
13744 $as_echo_n "(cached) " >&6
13745 else
13746 ac_wine_try_cflags_saved=$CFLAGS
13747 CFLAGS="$CFLAGS -Wwrite-strings"
13748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13749 /* end confdefs.h. */
13750 int main(int argc, char **argv) { return 0; }
13751 _ACEOF
13752 if ac_fn_c_try_link "$LINENO"; then :
13753 ac_cv_cflags__Wwrite_strings=yes
13754 else
13755 ac_cv_cflags__Wwrite_strings=no
13757 rm -f core conftest.err conftest.$ac_objext \
13758 conftest$ac_exeext conftest.$ac_ext
13759 CFLAGS=$ac_wine_try_cflags_saved
13761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13762 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13763 if test $ac_cv_cflags__Wwrite_strings = yes; then :
13764 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
13767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13768 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13769 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
13770 $as_echo_n "(cached) " >&6
13771 else
13772 ac_wine_try_cflags_saved=$CFLAGS
13773 CFLAGS="$CFLAGS -Wpointer-arith"
13774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13775 /* end confdefs.h. */
13776 int main(int argc, char **argv) { return 0; }
13777 _ACEOF
13778 if ac_fn_c_try_link "$LINENO"; then :
13779 ac_cv_cflags__Wpointer_arith=yes
13780 else
13781 ac_cv_cflags__Wpointer_arith=no
13783 rm -f core conftest.err conftest.$ac_objext \
13784 conftest$ac_exeext conftest.$ac_ext
13785 CFLAGS=$ac_wine_try_cflags_saved
13787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13788 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13789 if test $ac_cv_cflags__Wpointer_arith = yes; then :
13790 saved_string_h_CFLAGS=$CFLAGS
13791 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
13792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13793 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13794 if ${ac_cv_c_string_h_warnings+:} false; then :
13795 $as_echo_n "(cached) " >&6
13796 else
13797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13798 /* end confdefs.h. */
13799 #include <string.h>
13801 main ()
13805 return 0;
13807 _ACEOF
13808 if ac_fn_c_try_compile "$LINENO"; then :
13809 ac_cv_c_string_h_warnings=no
13810 else
13811 ac_cv_c_string_h_warnings=yes
13813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13816 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13817 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
13818 CFLAGS=$saved_string_h_CFLAGS
13821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13822 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13823 if ${ac_cv_cflags__Wlogical_op+:} false; then :
13824 $as_echo_n "(cached) " >&6
13825 else
13826 ac_wine_try_cflags_saved=$CFLAGS
13827 CFLAGS="$CFLAGS -Wlogical-op"
13828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13829 /* end confdefs.h. */
13830 int main(int argc, char **argv) { return 0; }
13831 _ACEOF
13832 if ac_fn_c_try_link "$LINENO"; then :
13833 ac_cv_cflags__Wlogical_op=yes
13834 else
13835 ac_cv_cflags__Wlogical_op=no
13837 rm -f core conftest.err conftest.$ac_objext \
13838 conftest$ac_exeext conftest.$ac_ext
13839 CFLAGS=$ac_wine_try_cflags_saved
13841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13842 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13843 if test $ac_cv_cflags__Wlogical_op = yes; then :
13844 saved_string_h_CFLAGS=$CFLAGS
13845 CFLAGS="$CFLAGS -Wlogical-op -Werror"
13846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13847 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13848 if ${ac_cv_c_logicalop_noisy+:} false; then :
13849 $as_echo_n "(cached) " >&6
13850 else
13851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13852 /* end confdefs.h. */
13853 #include <string.h>
13854 char*f(const char *h,char n) {return strchr(h,n);}
13856 main ()
13860 return 0;
13862 _ACEOF
13863 if ac_fn_c_try_compile "$LINENO"; then :
13864 ac_cv_c_logicalop_noisy=no
13865 else
13866 ac_cv_c_logicalop_noisy=yes
13868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13871 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13872 CFLAGS=$saved_string_h_CFLAGS
13873 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
13876 CFLAGS=$saved_CFLAGS
13878 for ac_flag in $CFLAGS; do
13879 case $ac_flag in
13880 -g) case $host_os in
13881 darwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13882 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
13883 if ${ac_cv_cflags__gstabsp+:} false; then :
13884 $as_echo_n "(cached) " >&6
13885 else
13886 ac_wine_try_cflags_saved=$CFLAGS
13887 CFLAGS="$CFLAGS -gstabs+"
13888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13889 /* end confdefs.h. */
13890 int main(int argc, char **argv) { return 0; }
13891 _ACEOF
13892 if ac_fn_c_try_link "$LINENO"; then :
13893 ac_cv_cflags__gstabsp=yes
13894 else
13895 ac_cv_cflags__gstabsp=no
13897 rm -f core conftest.err conftest.$ac_objext \
13898 conftest$ac_exeext conftest.$ac_ext
13899 CFLAGS=$ac_wine_try_cflags_saved
13901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
13902 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
13903 if test $ac_cv_cflags__gstabsp = yes; then :
13904 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
13905 fi ;;
13906 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
13907 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
13908 if ${ac_cv_cflags__gdwarf_2+:} false; then :
13909 $as_echo_n "(cached) " >&6
13910 else
13911 ac_wine_try_cflags_saved=$CFLAGS
13912 CFLAGS="$CFLAGS -gdwarf-2"
13913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13914 /* end confdefs.h. */
13915 int main(int argc, char **argv) { return 0; }
13916 _ACEOF
13917 if ac_fn_c_try_link "$LINENO"; then :
13918 ac_cv_cflags__gdwarf_2=yes
13919 else
13920 ac_cv_cflags__gdwarf_2=no
13922 rm -f core conftest.err conftest.$ac_objext \
13923 conftest$ac_exeext conftest.$ac_ext
13924 CFLAGS=$ac_wine_try_cflags_saved
13926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
13927 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
13928 if test $ac_cv_cflags__gdwarf_2 = yes; then :
13929 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
13931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
13932 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
13933 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
13934 $as_echo_n "(cached) " >&6
13935 else
13936 ac_wine_try_cflags_saved=$CFLAGS
13937 CFLAGS="$CFLAGS -gstrict-dwarf"
13938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13939 /* end confdefs.h. */
13940 int main(int argc, char **argv) { return 0; }
13941 _ACEOF
13942 if ac_fn_c_try_link "$LINENO"; then :
13943 ac_cv_cflags__gstrict_dwarf=yes
13944 else
13945 ac_cv_cflags__gstrict_dwarf=no
13947 rm -f core conftest.err conftest.$ac_objext \
13948 conftest$ac_exeext conftest.$ac_ext
13949 CFLAGS=$ac_wine_try_cflags_saved
13951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
13952 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
13953 if test $ac_cv_cflags__gstrict_dwarf = yes; then :
13954 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
13955 fi ;;
13956 esac ;;
13957 esac
13958 done
13960 case $host_cpu in
13961 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
13962 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
13963 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
13964 $as_echo_n "(cached) " >&6
13965 else
13966 ac_wine_try_cflags_saved=$CFLAGS
13967 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
13968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13969 /* end confdefs.h. */
13970 int main(int argc, char **argv) { return 0; }
13971 _ACEOF
13972 if ac_fn_c_try_link "$LINENO"; then :
13973 ac_cv_cflags__fno_omit_frame_pointer=yes
13974 else
13975 ac_cv_cflags__fno_omit_frame_pointer=no
13977 rm -f core conftest.err conftest.$ac_objext \
13978 conftest$ac_exeext conftest.$ac_ext
13979 CFLAGS=$ac_wine_try_cflags_saved
13981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
13982 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
13983 if test $ac_cv_cflags__fno_omit_frame_pointer = yes; then :
13984 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
13985 fi ;;
13986 esac
13988 case $host in
13989 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
13990 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
13991 if ${ac_cv_cflags__Wno_format+:} false; then :
13992 $as_echo_n "(cached) " >&6
13993 else
13994 ac_wine_try_cflags_saved=$CFLAGS
13995 CFLAGS="$CFLAGS -Wno-format"
13996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13997 /* end confdefs.h. */
13998 int main(int argc, char **argv) { return 0; }
13999 _ACEOF
14000 if ac_fn_c_try_link "$LINENO"; then :
14001 ac_cv_cflags__Wno_format=yes
14002 else
14003 ac_cv_cflags__Wno_format=no
14005 rm -f core conftest.err conftest.$ac_objext \
14006 conftest$ac_exeext conftest.$ac_ext
14007 CFLAGS=$ac_wine_try_cflags_saved
14009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14010 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14011 if test $ac_cv_cflags__Wno_format = yes; then :
14012 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14013 fi ;;
14014 esac
14016 if test "x$enable_maintainer_mode" = "xyes"
14017 then
14018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14019 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14020 if ${ac_cv_cflags__Werror+:} false; then :
14021 $as_echo_n "(cached) " >&6
14022 else
14023 ac_wine_try_cflags_saved=$CFLAGS
14024 CFLAGS="$CFLAGS -Werror"
14025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14026 /* end confdefs.h. */
14027 int main(int argc, char **argv) { return 0; }
14028 _ACEOF
14029 if ac_fn_c_try_link "$LINENO"; then :
14030 ac_cv_cflags__Werror=yes
14031 else
14032 ac_cv_cflags__Werror=no
14034 rm -f core conftest.err conftest.$ac_objext \
14035 conftest$ac_exeext conftest.$ac_ext
14036 CFLAGS=$ac_wine_try_cflags_saved
14038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14039 $as_echo "$ac_cv_cflags__Werror" >&6; }
14040 if test $ac_cv_cflags__Werror = yes; then :
14041 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14045 saved_CFLAGS="$CFLAGS"
14046 CFLAGS="$CFLAGS -Werror"
14047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14048 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14049 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14050 $as_echo_n "(cached) " >&6
14051 else
14052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14053 /* end confdefs.h. */
14054 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14056 main ()
14060 return 0;
14062 _ACEOF
14063 if ac_fn_c_try_compile "$LINENO"; then :
14064 ac_cv_have_ms_hook_prologue="yes"
14065 else
14066 ac_cv_have_ms_hook_prologue="no"
14068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14071 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14072 CFLAGS="$saved_CFLAGS"
14073 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14074 then
14076 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14078 else
14079 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14086 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14087 if ${ac_cv_c_fortify_enabled+:} false; then :
14088 $as_echo_n "(cached) " >&6
14089 else
14090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14091 /* end confdefs.h. */
14092 #include <string.h>
14094 main ()
14096 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14097 #error Fortify enabled
14098 #endif
14100 return 0;
14102 _ACEOF
14103 if ac_fn_c_try_compile "$LINENO"; then :
14104 ac_cv_c_fortify_enabled=no
14105 else
14106 ac_cv_c_fortify_enabled=yes
14108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14111 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14112 if test "$ac_cv_c_fortify_enabled" = yes
14113 then
14114 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14119 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14120 if ${ac_cv_c_extern_prefix+:} false; then :
14121 $as_echo_n "(cached) " >&6
14122 else
14123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14124 /* end confdefs.h. */
14125 extern int ac_test;
14127 main ()
14129 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14131 return 0;
14133 _ACEOF
14134 if ac_fn_c_try_link "$LINENO"; then :
14135 ac_cv_c_extern_prefix="yes"
14136 else
14137 ac_cv_c_extern_prefix="no"
14139 rm -f core conftest.err conftest.$ac_objext \
14140 conftest$ac_exeext conftest.$ac_ext
14142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14143 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14145 case $host_cpu in
14146 *i[3456789]86*)
14147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14148 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14149 if ${ac_cv_c_stdcall_suffix+:} false; then :
14150 $as_echo_n "(cached) " >&6
14151 else
14152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14153 /* end confdefs.h. */
14154 #ifndef _MSC_VER
14155 #define __stdcall __attribute__((__stdcall__))
14156 #endif
14157 int __stdcall ac_test(int i) { return i; }
14159 main ()
14161 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14163 return 0;
14165 _ACEOF
14166 if ac_fn_c_try_link "$LINENO"; then :
14167 ac_cv_c_stdcall_suffix="yes"
14168 else
14169 ac_cv_c_stdcall_suffix="no"
14171 rm -f core conftest.err conftest.$ac_objext \
14172 conftest$ac_exeext conftest.$ac_ext
14174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14175 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14176 *) ac_cv_c_stdcall_suffix="no" ;;
14177 esac
14180 if test "$ac_cv_c_extern_prefix" = "yes"
14181 then
14182 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14184 asm_name_prefix="_"
14185 else
14186 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14188 asm_name_prefix=""
14192 if test "$ac_cv_c_stdcall_suffix" = "yes"
14193 then
14194 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14196 else
14197 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14203 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14204 if ${ac_cv_asm_func_def+:} false; then :
14205 $as_echo_n "(cached) " >&6
14206 else
14207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14208 /* end confdefs.h. */
14211 main ()
14213 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14215 return 0;
14217 _ACEOF
14218 if ac_fn_c_try_link "$LINENO"; then :
14219 ac_cv_asm_func_def=".def"
14220 else
14221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14222 /* end confdefs.h. */
14225 main ()
14227 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14229 return 0;
14231 _ACEOF
14232 if ac_fn_c_try_link "$LINENO"; then :
14233 ac_cv_asm_func_def=".type @function"
14234 else
14235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14236 /* end confdefs.h. */
14239 main ()
14241 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14243 return 0;
14245 _ACEOF
14246 if ac_fn_c_try_link "$LINENO"; then :
14247 ac_cv_asm_func_def=".type 2"
14248 else
14249 ac_cv_asm_func_def="unknown"
14251 rm -f core conftest.err conftest.$ac_objext \
14252 conftest$ac_exeext conftest.$ac_ext
14254 rm -f core conftest.err conftest.$ac_objext \
14255 conftest$ac_exeext conftest.$ac_ext
14257 rm -f core conftest.err conftest.$ac_objext \
14258 conftest$ac_exeext conftest.$ac_ext
14260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14261 $as_echo "$ac_cv_asm_func_def" >&6; }
14264 case "$ac_cv_asm_func_def" in
14265 ".def")
14266 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14268 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14269 ".type @function")
14270 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14272 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14273 ".type 2")
14274 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14276 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14278 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14280 asm_func_header="" ;;
14281 esac
14283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14284 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14285 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14286 $as_echo_n "(cached) " >&6
14287 else
14288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14289 /* end confdefs.h. */
14290 asm(".text\n\t.long 0");
14292 main ()
14296 return 0;
14298 _ACEOF
14299 if ac_fn_c_try_compile "$LINENO"; then :
14300 ac_cv_c_asm_outside_funcs="yes"
14301 else
14302 ac_cv_c_asm_outside_funcs="no"
14304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14307 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14310 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14311 if ${ac_cv_c_dot_previous+:} false; then :
14312 $as_echo_n "(cached) " >&6
14313 else
14314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14315 /* end confdefs.h. */
14318 main ()
14320 asm(".text\nac_test:\t.long 0\n\t.previous");
14322 return 0;
14324 _ACEOF
14325 if ac_fn_c_try_link "$LINENO"; then :
14326 ac_cv_c_dot_previous="yes"
14327 else
14328 ac_cv_c_dot_previous="no"
14330 rm -f core conftest.err conftest.$ac_objext \
14331 conftest$ac_exeext conftest.$ac_ext
14333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14334 $as_echo "$ac_cv_c_dot_previous" >&6; }
14336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14337 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14338 if ${ac_cv_c_cfi_support+:} false; then :
14339 $as_echo_n "(cached) " >&6
14340 else
14341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14342 /* end confdefs.h. */
14343 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14345 main ()
14349 return 0;
14351 _ACEOF
14352 if ac_fn_c_try_compile "$LINENO"; then :
14353 ac_cv_c_cfi_support="yes"
14354 else
14355 ac_cv_c_cfi_support="no"
14357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14360 $as_echo "$ac_cv_c_cfi_support" >&6; }
14362 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14363 asm_func_trailer=""
14364 if test "$ac_cv_c_dot_previous" = "yes"
14365 then
14366 asm_func_trailer="\\n\\t.previous"
14368 if test "$ac_cv_c_cfi_support" = "yes"
14369 then
14370 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14371 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14373 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14375 UNWINDFLAGS=-fasynchronous-unwind-tables
14377 else
14378 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14382 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14385 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14386 then
14387 cat >>confdefs.h <<_ACEOF
14388 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14389 _ACEOF
14391 else
14392 cat >>confdefs.h <<_ACEOF
14393 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14394 _ACEOF
14398 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14401 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14405 case $build_os in
14406 cygwin*|mingw32*) TOOLSEXT=".exe"
14408 esac
14410 case $host_os in
14411 linux*)
14412 case $host_cpu in
14413 *i[3456789]86*|x86_64*)
14414 wine_fn_ignore_file "loader/wine-preloader"
14415 test "$wine_binary" = wine || wine_fn_ignore_file "loader/$wine_binary-preloader"
14416 as_fn_append LOADER_RULES "
14417 all: $wine_binary-preloader
14419 $wine_binary-preloader: preloader.o
14420 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14422 install install-lib:: $wine_binary-preloader
14423 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14425 uninstall::
14426 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14427 " ;;
14428 esac
14430 esac
14433 ac_save_CFLAGS="$CFLAGS"
14434 CFLAGS="$CFLAGS $BUILTINFLAG"
14435 for ac_func in \
14436 __res_get_state \
14437 __res_getservers \
14438 _finite \
14439 _isnan \
14440 _pclose \
14441 _popen \
14442 _snprintf \
14443 _spawnvp \
14444 _strdup \
14445 _stricmp \
14446 _strnicmp \
14447 _strtoi64 \
14448 _strtoui64 \
14449 _vsnprintf \
14450 asctime_r \
14451 chsize \
14452 dlopen \
14453 epoll_create \
14454 ffs \
14455 fnmatch \
14456 fork \
14457 fpclass \
14458 fstatfs \
14459 fstatvfs \
14460 ftruncate \
14461 futimens \
14462 futimes \
14463 futimesat \
14464 getattrlist \
14465 getdirentries \
14466 getopt_long_only \
14467 getpwuid \
14468 gettimeofday \
14469 getuid \
14470 if_nameindex \
14471 kqueue \
14472 lstat \
14473 memmove \
14474 mmap \
14475 pclose \
14476 pipe2 \
14477 poll \
14478 popen \
14479 port_create \
14480 prctl \
14481 pread \
14482 proc_pidinfo \
14483 pwrite \
14484 readdir \
14485 readlink \
14486 sched_yield \
14487 select \
14488 setproctitle \
14489 setrlimit \
14490 settimeofday \
14491 sigaltstack \
14492 sigprocmask \
14493 snprintf \
14494 statfs \
14495 statvfs \
14496 strcasecmp \
14497 strdup \
14498 strerror \
14499 strncasecmp \
14500 strtold \
14501 strtoll \
14502 strtoull \
14503 symlink \
14504 tcdrain \
14505 thr_kill2 \
14506 timegm \
14507 usleep \
14508 vsnprintf
14510 do :
14511 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14512 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14513 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14514 cat >>confdefs.h <<_ACEOF
14515 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14516 _ACEOF
14519 done
14521 CFLAGS="$ac_save_CFLAGS"
14523 if test "$ac_cv_func_dlopen" = no
14524 then
14525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14526 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14527 if ${ac_cv_lib_dl_dlopen+:} false; then :
14528 $as_echo_n "(cached) " >&6
14529 else
14530 ac_check_lib_save_LIBS=$LIBS
14531 LIBS="-ldl $LIBS"
14532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14533 /* end confdefs.h. */
14535 /* Override any GCC internal prototype to avoid an error.
14536 Use char because int might match the return type of a GCC
14537 builtin and then its argument prototype would still apply. */
14538 #ifdef __cplusplus
14539 extern "C"
14540 #endif
14541 char dlopen ();
14543 main ()
14545 return dlopen ();
14547 return 0;
14549 _ACEOF
14550 if ac_fn_c_try_link "$LINENO"; then :
14551 ac_cv_lib_dl_dlopen=yes
14552 else
14553 ac_cv_lib_dl_dlopen=no
14555 rm -f core conftest.err conftest.$ac_objext \
14556 conftest$ac_exeext conftest.$ac_ext
14557 LIBS=$ac_check_lib_save_LIBS
14559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14560 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14561 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14562 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14563 LIBDL="-ldl"
14568 ac_wine_check_funcs_save_LIBS="$LIBS"
14569 LIBS="$LIBS $LIBDL"
14570 for ac_func in dladdr
14571 do :
14572 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
14573 if test "x$ac_cv_func_dladdr" = xyes; then :
14574 cat >>confdefs.h <<_ACEOF
14575 #define HAVE_DLADDR 1
14576 _ACEOF
14579 done
14581 LIBS="$ac_wine_check_funcs_save_LIBS"
14583 if test "$ac_cv_func_poll" = no
14584 then
14585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14586 $as_echo_n "checking for poll in -lpoll... " >&6; }
14587 if ${ac_cv_lib_poll_poll+:} false; then :
14588 $as_echo_n "(cached) " >&6
14589 else
14590 ac_check_lib_save_LIBS=$LIBS
14591 LIBS="-lpoll $LIBS"
14592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14593 /* end confdefs.h. */
14595 /* Override any GCC internal prototype to avoid an error.
14596 Use char because int might match the return type of a GCC
14597 builtin and then its argument prototype would still apply. */
14598 #ifdef __cplusplus
14599 extern "C"
14600 #endif
14601 char poll ();
14603 main ()
14605 return poll ();
14607 return 0;
14609 _ACEOF
14610 if ac_fn_c_try_link "$LINENO"; then :
14611 ac_cv_lib_poll_poll=yes
14612 else
14613 ac_cv_lib_poll_poll=no
14615 rm -f core conftest.err conftest.$ac_objext \
14616 conftest$ac_exeext conftest.$ac_ext
14617 LIBS=$ac_check_lib_save_LIBS
14619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14620 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14621 if test "x$ac_cv_lib_poll_poll" = xyes; then :
14622 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14623 LIBPOLL="-lpoll"
14629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14630 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14631 if ${ac_cv_search_gethostbyname+:} false; then :
14632 $as_echo_n "(cached) " >&6
14633 else
14634 ac_func_search_save_LIBS=$LIBS
14635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14636 /* end confdefs.h. */
14638 /* Override any GCC internal prototype to avoid an error.
14639 Use char because int might match the return type of a GCC
14640 builtin and then its argument prototype would still apply. */
14641 #ifdef __cplusplus
14642 extern "C"
14643 #endif
14644 char gethostbyname ();
14646 main ()
14648 return gethostbyname ();
14650 return 0;
14652 _ACEOF
14653 for ac_lib in '' nsl; do
14654 if test -z "$ac_lib"; then
14655 ac_res="none required"
14656 else
14657 ac_res=-l$ac_lib
14658 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14660 if ac_fn_c_try_link "$LINENO"; then :
14661 ac_cv_search_gethostbyname=$ac_res
14663 rm -f core conftest.err conftest.$ac_objext \
14664 conftest$ac_exeext
14665 if ${ac_cv_search_gethostbyname+:} false; then :
14666 break
14668 done
14669 if ${ac_cv_search_gethostbyname+:} false; then :
14671 else
14672 ac_cv_search_gethostbyname=no
14674 rm conftest.$ac_ext
14675 LIBS=$ac_func_search_save_LIBS
14677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14678 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14679 ac_res=$ac_cv_search_gethostbyname
14680 if test "$ac_res" != no; then :
14681 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14687 $as_echo_n "checking for library containing connect... " >&6; }
14688 if ${ac_cv_search_connect+:} false; then :
14689 $as_echo_n "(cached) " >&6
14690 else
14691 ac_func_search_save_LIBS=$LIBS
14692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14693 /* end confdefs.h. */
14695 /* Override any GCC internal prototype to avoid an error.
14696 Use char because int might match the return type of a GCC
14697 builtin and then its argument prototype would still apply. */
14698 #ifdef __cplusplus
14699 extern "C"
14700 #endif
14701 char connect ();
14703 main ()
14705 return connect ();
14707 return 0;
14709 _ACEOF
14710 for ac_lib in '' socket; do
14711 if test -z "$ac_lib"; then
14712 ac_res="none required"
14713 else
14714 ac_res=-l$ac_lib
14715 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14717 if ac_fn_c_try_link "$LINENO"; then :
14718 ac_cv_search_connect=$ac_res
14720 rm -f core conftest.err conftest.$ac_objext \
14721 conftest$ac_exeext
14722 if ${ac_cv_search_connect+:} false; then :
14723 break
14725 done
14726 if ${ac_cv_search_connect+:} false; then :
14728 else
14729 ac_cv_search_connect=no
14731 rm conftest.$ac_ext
14732 LIBS=$ac_func_search_save_LIBS
14734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14735 $as_echo "$ac_cv_search_connect" >&6; }
14736 ac_res=$ac_cv_search_connect
14737 if test "$ac_res" != no; then :
14738 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14744 $as_echo_n "checking for library containing inet_aton... " >&6; }
14745 if ${ac_cv_search_inet_aton+:} false; then :
14746 $as_echo_n "(cached) " >&6
14747 else
14748 ac_func_search_save_LIBS=$LIBS
14749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14750 /* end confdefs.h. */
14752 /* Override any GCC internal prototype to avoid an error.
14753 Use char because int might match the return type of a GCC
14754 builtin and then its argument prototype would still apply. */
14755 #ifdef __cplusplus
14756 extern "C"
14757 #endif
14758 char inet_aton ();
14760 main ()
14762 return inet_aton ();
14764 return 0;
14766 _ACEOF
14767 for ac_lib in '' resolv; do
14768 if test -z "$ac_lib"; then
14769 ac_res="none required"
14770 else
14771 ac_res=-l$ac_lib
14772 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14774 if ac_fn_c_try_link "$LINENO"; then :
14775 ac_cv_search_inet_aton=$ac_res
14777 rm -f core conftest.err conftest.$ac_objext \
14778 conftest$ac_exeext
14779 if ${ac_cv_search_inet_aton+:} false; then :
14780 break
14782 done
14783 if ${ac_cv_search_inet_aton+:} false; then :
14785 else
14786 ac_cv_search_inet_aton=no
14788 rm conftest.$ac_ext
14789 LIBS=$ac_func_search_save_LIBS
14791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14792 $as_echo "$ac_cv_search_inet_aton" >&6; }
14793 ac_res=$ac_cv_search_inet_aton
14794 if test "$ac_res" != no; then :
14795 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14800 for ac_func in \
14801 getaddrinfo \
14802 getnameinfo \
14803 getnetbyname \
14804 getprotobyname \
14805 getprotobynumber \
14806 getservbyport \
14807 inet_addr \
14808 inet_network \
14809 inet_ntop \
14810 inet_pton \
14811 sendmsg \
14812 socketpair \
14814 do :
14815 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14816 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14817 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14818 cat >>confdefs.h <<_ACEOF
14819 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14820 _ACEOF
14823 done
14826 ac_save_LIBS=$LIBS
14827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14828 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14829 if ${ac_cv_search_clock_gettime+:} false; then :
14830 $as_echo_n "(cached) " >&6
14831 else
14832 ac_func_search_save_LIBS=$LIBS
14833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14834 /* end confdefs.h. */
14836 /* Override any GCC internal prototype to avoid an error.
14837 Use char because int might match the return type of a GCC
14838 builtin and then its argument prototype would still apply. */
14839 #ifdef __cplusplus
14840 extern "C"
14841 #endif
14842 char clock_gettime ();
14844 main ()
14846 return clock_gettime ();
14848 return 0;
14850 _ACEOF
14851 for ac_lib in '' rt; do
14852 if test -z "$ac_lib"; then
14853 ac_res="none required"
14854 else
14855 ac_res=-l$ac_lib
14856 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14858 if ac_fn_c_try_link "$LINENO"; then :
14859 ac_cv_search_clock_gettime=$ac_res
14861 rm -f core conftest.err conftest.$ac_objext \
14862 conftest$ac_exeext
14863 if ${ac_cv_search_clock_gettime+:} false; then :
14864 break
14866 done
14867 if ${ac_cv_search_clock_gettime+:} false; then :
14869 else
14870 ac_cv_search_clock_gettime=no
14872 rm conftest.$ac_ext
14873 LIBS=$ac_func_search_save_LIBS
14875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14876 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14877 ac_res=$ac_cv_search_clock_gettime
14878 if test "$ac_res" != no; then :
14879 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14881 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
14883 test "$ac_res" = "none required" || LIBRT="$ac_res"
14887 LIBS=$ac_save_LIBS
14889 LDAPLIBS=""
14891 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
14892 then
14893 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
14895 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
14896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
14897 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
14898 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
14899 $as_echo_n "(cached) " >&6
14900 else
14901 ac_check_lib_save_LIBS=$LIBS
14902 LIBS="-lldap_r $LIBPTHREAD $LIBS"
14903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14904 /* end confdefs.h. */
14906 /* Override any GCC internal prototype to avoid an error.
14907 Use char because int might match the return type of a GCC
14908 builtin and then its argument prototype would still apply. */
14909 #ifdef __cplusplus
14910 extern "C"
14911 #endif
14912 char ldap_initialize ();
14914 main ()
14916 return ldap_initialize ();
14918 return 0;
14920 _ACEOF
14921 if ac_fn_c_try_link "$LINENO"; then :
14922 ac_cv_lib_ldap_r_ldap_initialize=yes
14923 else
14924 ac_cv_lib_ldap_r_ldap_initialize=no
14926 rm -f core conftest.err conftest.$ac_objext \
14927 conftest$ac_exeext conftest.$ac_ext
14928 LIBS=$ac_check_lib_save_LIBS
14930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
14931 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
14932 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
14933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
14934 $as_echo_n "checking for ber_init in -llber... " >&6; }
14935 if ${ac_cv_lib_lber_ber_init+:} false; then :
14936 $as_echo_n "(cached) " >&6
14937 else
14938 ac_check_lib_save_LIBS=$LIBS
14939 LIBS="-llber $LIBPTHREAD $LIBS"
14940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14941 /* end confdefs.h. */
14943 /* Override any GCC internal prototype to avoid an error.
14944 Use char because int might match the return type of a GCC
14945 builtin and then its argument prototype would still apply. */
14946 #ifdef __cplusplus
14947 extern "C"
14948 #endif
14949 char ber_init ();
14951 main ()
14953 return ber_init ();
14955 return 0;
14957 _ACEOF
14958 if ac_fn_c_try_link "$LINENO"; then :
14959 ac_cv_lib_lber_ber_init=yes
14960 else
14961 ac_cv_lib_lber_ber_init=no
14963 rm -f core conftest.err conftest.$ac_objext \
14964 conftest$ac_exeext conftest.$ac_ext
14965 LIBS=$ac_check_lib_save_LIBS
14967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
14968 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
14969 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
14971 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
14973 LDAPLIBS="-lldap_r -llber"
14980 ac_wine_check_funcs_save_LIBS="$LIBS"
14981 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
14982 for ac_func in \
14983 ldap_count_references \
14984 ldap_first_reference \
14985 ldap_next_reference \
14986 ldap_parse_reference \
14987 ldap_parse_sort_control \
14988 ldap_parse_sortresponse_control \
14989 ldap_parse_vlv_control \
14990 ldap_parse_vlvresponse_control
14991 do :
14992 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14993 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14994 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14995 cat >>confdefs.h <<_ACEOF
14996 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14997 _ACEOF
15000 done
15002 LIBS="$ac_wine_check_funcs_save_LIBS"
15004 if test "x$LDAPLIBS" = "x"; then :
15005 case "x$with_ldap" in
15006 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15007 xno) ;;
15008 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15009 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15010 esac
15013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15014 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15015 if ${wine_cv_one_arg_mkdir+:} false; then :
15016 $as_echo_n "(cached) " >&6
15017 else
15018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15019 /* end confdefs.h. */
15020 #include <sys/stat.h>
15022 main ()
15024 mkdir("foo");
15026 return 0;
15028 _ACEOF
15029 if ac_fn_c_try_compile "$LINENO"; then :
15030 wine_cv_one_arg_mkdir=yes
15031 else
15032 wine_cv_one_arg_mkdir=no
15034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15037 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15038 if test "$wine_cv_one_arg_mkdir" = "yes"
15039 then
15041 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15046 $as_echo_n "checking for sched_setaffinity... " >&6; }
15047 if ${wine_cv_have_sched_setaffinity+:} false; then :
15048 $as_echo_n "(cached) " >&6
15049 else
15050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15051 /* end confdefs.h. */
15052 #define _GNU_SOURCE
15053 #include <sched.h>
15055 main ()
15057 sched_setaffinity(0, 0, 0);
15059 return 0;
15061 _ACEOF
15062 if ac_fn_c_try_link "$LINENO"; then :
15063 wine_cv_have_sched_setaffinity=yes
15064 else
15065 wine_cv_have_sched_setaffinity=no
15067 rm -f core conftest.err conftest.$ac_objext \
15068 conftest$ac_exeext conftest.$ac_ext
15070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15071 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15072 if test "$wine_cv_have_sched_setaffinity" = "yes"
15073 then
15075 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15080 $as_echo_n "checking for fallocate... " >&6; }
15081 if ${wine_cv_have_fallocate+:} false; then :
15082 $as_echo_n "(cached) " >&6
15083 else
15084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15085 /* end confdefs.h. */
15086 #define _GNU_SOURCE
15087 #include <fcntl.h>
15089 main ()
15091 fallocate(-1, 0, 0, 0);
15093 return 0;
15095 _ACEOF
15096 if ac_fn_c_try_link "$LINENO"; then :
15097 wine_cv_have_fallocate=yes
15098 else
15099 wine_cv_have_fallocate=no
15101 rm -f core conftest.err conftest.$ac_objext \
15102 conftest$ac_exeext conftest.$ac_ext
15104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15105 $as_echo "$wine_cv_have_fallocate" >&6; }
15106 if test "$wine_cv_have_fallocate" = "yes"
15107 then
15109 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15115 $as_echo_n "checking for inline... " >&6; }
15116 if ${ac_cv_c_inline+:} false; then :
15117 $as_echo_n "(cached) " >&6
15118 else
15119 ac_cv_c_inline=no
15120 for ac_kw in inline __inline__ __inline; do
15121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15122 /* end confdefs.h. */
15123 #ifndef __cplusplus
15124 typedef int foo_t;
15125 static $ac_kw foo_t static_foo () {return 0; }
15126 $ac_kw foo_t foo () {return 0; }
15127 #endif
15129 _ACEOF
15130 if ac_fn_c_try_compile "$LINENO"; then :
15131 ac_cv_c_inline=$ac_kw
15133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15134 test "$ac_cv_c_inline" != no && break
15135 done
15138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15139 $as_echo "$ac_cv_c_inline" >&6; }
15141 case $ac_cv_c_inline in
15142 inline | yes) ;;
15144 case $ac_cv_c_inline in
15145 no) ac_val=;;
15146 *) ac_val=$ac_cv_c_inline;;
15147 esac
15148 cat >>confdefs.h <<_ACEOF
15149 #ifndef __cplusplus
15150 #define inline $ac_val
15151 #endif
15152 _ACEOF
15154 esac
15156 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15157 if test "x$ac_cv_type_mode_t" = xyes; then :
15159 cat >>confdefs.h <<_ACEOF
15160 #define HAVE_MODE_T 1
15161 _ACEOF
15165 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15166 if test "x$ac_cv_type_off_t" = xyes; then :
15168 cat >>confdefs.h <<_ACEOF
15169 #define HAVE_OFF_T 1
15170 _ACEOF
15174 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15175 if test "x$ac_cv_type_pid_t" = xyes; then :
15177 cat >>confdefs.h <<_ACEOF
15178 #define HAVE_PID_T 1
15179 _ACEOF
15183 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15184 if test "x$ac_cv_type_size_t" = xyes; then :
15186 cat >>confdefs.h <<_ACEOF
15187 #define HAVE_SIZE_T 1
15188 _ACEOF
15192 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15193 if test "x$ac_cv_type_ssize_t" = xyes; then :
15195 cat >>confdefs.h <<_ACEOF
15196 #define HAVE_SSIZE_T 1
15197 _ACEOF
15201 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15202 if test "x$ac_cv_type_long_long" = xyes; then :
15204 cat >>confdefs.h <<_ACEOF
15205 #define HAVE_LONG_LONG 1
15206 _ACEOF
15210 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15211 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15213 cat >>confdefs.h <<_ACEOF
15214 #define HAVE_FSBLKCNT_T 1
15215 _ACEOF
15219 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15220 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15222 cat >>confdefs.h <<_ACEOF
15223 #define HAVE_FSFILCNT_T 1
15224 _ACEOF
15229 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15230 #include <signal.h>
15232 if test "x$ac_cv_type_sigset_t" = xyes; then :
15234 cat >>confdefs.h <<_ACEOF
15235 #define HAVE_SIGSET_T 1
15236 _ACEOF
15241 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15243 if test "x$ac_cv_type_request_sense" = xyes; then :
15245 cat >>confdefs.h <<_ACEOF
15246 #define HAVE_REQUEST_SENSE 1
15247 _ACEOF
15253 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15254 #ifdef HAVE_SYS_SOCKET_H
15255 #include <sys/socket.h>
15256 #endif
15257 #ifdef HAVE_SYS_SOCKETVAR_H
15258 #include <sys/socketvar.h>
15259 #endif
15260 #ifdef HAVE_NET_ROUTE_H
15261 #include <net/route.h>
15262 #endif
15263 #ifdef HAVE_NETINET_IN_H
15264 #include <netinet/in.h>
15265 #endif
15266 #ifdef HAVE_NETINET_IN_SYSTM_H
15267 #include <netinet/in_systm.h>
15268 #endif
15269 #ifdef HAVE_NETINET_IP_H
15270 #include <netinet/ip.h>
15271 #endif
15272 #ifdef HAVE_NETINET_IN_PCB_H
15273 #include <netinet/in_pcb.h>
15274 #endif
15276 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15278 cat >>confdefs.h <<_ACEOF
15279 #define HAVE_STRUCT_XINPGEN 1
15280 _ACEOF
15286 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15287 #include <link.h>
15288 #endif
15289 #ifdef HAVE_SYS_LINK_H
15290 #include <sys/link.h>
15291 #endif
15293 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15295 cat >>confdefs.h <<_ACEOF
15296 #define HAVE_STRUCT_R_DEBUG 1
15297 _ACEOF
15301 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15302 #include <link.h>
15303 #endif
15304 #ifdef HAVE_SYS_LINK_H
15305 #include <sys/link.h>
15306 #endif
15308 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15310 cat >>confdefs.h <<_ACEOF
15311 #define HAVE_STRUCT_LINK_MAP 1
15312 _ACEOF
15318 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15319 #include <linux/input.h>
15320 #endif
15322 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15324 cat >>confdefs.h <<_ACEOF
15325 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15326 _ACEOF
15332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15333 $as_echo_n "checking for sigaddset... " >&6; }
15334 if ${wine_cv_have_sigaddset+:} false; then :
15335 $as_echo_n "(cached) " >&6
15336 else
15337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15338 /* end confdefs.h. */
15339 #include <signal.h>
15341 main ()
15343 sigset_t set; sigaddset(&set,SIGTERM);
15345 return 0;
15347 _ACEOF
15348 if ac_fn_c_try_link "$LINENO"; then :
15349 wine_cv_have_sigaddset=yes
15350 else
15351 wine_cv_have_sigaddset=no
15353 rm -f core conftest.err conftest.$ac_objext \
15354 conftest$ac_exeext conftest.$ac_ext
15356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15357 $as_echo "$wine_cv_have_sigaddset" >&6; }
15358 if test "$wine_cv_have_sigaddset" = "yes"
15359 then
15361 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15367 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15368 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15369 $as_echo_n "(cached) " >&6
15370 else
15371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15372 /* end confdefs.h. */
15373 #include <netdb.h>
15375 main ()
15378 char *name=0;
15379 struct hostent he;
15380 struct hostent *result;
15381 char *buf=0;
15382 int bufsize=0;
15383 int errnr;
15384 char *addr=0;
15385 int addrlen=0;
15386 int addrtype=0;
15387 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15388 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15391 return 0;
15393 _ACEOF
15394 if ac_fn_c_try_link "$LINENO"; then :
15395 wine_cv_linux_gethostbyname_r_6=yes
15396 else
15397 wine_cv_linux_gethostbyname_r_6=no
15400 rm -f core conftest.err conftest.$ac_objext \
15401 conftest$ac_exeext conftest.$ac_ext
15404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15405 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15406 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15407 then
15409 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15413 if test "$ac_cv_header_linux_joystick_h" = "yes"
15414 then
15415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15416 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15417 if ${wine_cv_linux_joystick_22_api+:} false; then :
15418 $as_echo_n "(cached) " >&6
15419 else
15420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15421 /* end confdefs.h. */
15423 #include <sys/ioctl.h>
15424 #include <sys/types.h>
15425 #include <linux/joystick.h>
15427 struct js_event blub;
15428 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15429 #error "no 2.2 header"
15430 #endif
15433 main ()
15435 /*empty*/
15437 return 0;
15439 _ACEOF
15440 if ac_fn_c_try_compile "$LINENO"; then :
15441 wine_cv_linux_joystick_22_api=yes
15442 else
15443 wine_cv_linux_joystick_22_api=no
15445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15449 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15450 if test "$wine_cv_linux_joystick_22_api" = "yes"
15451 then
15453 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15459 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15460 #ifdef HAVE_SYS_PARAM_H
15461 # include <sys/param.h>
15462 #endif
15463 #ifdef HAVE_SYS_MOUNT_H
15464 # include <sys/mount.h>
15465 #endif
15466 #ifdef HAVE_SYS_VFS_H
15467 # include <sys/vfs.h>
15468 #endif
15469 #ifdef HAVE_SYS_STATFS_H
15470 # include <sys/statfs.h>
15471 #endif
15473 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15475 cat >>confdefs.h <<_ACEOF
15476 #define HAVE_STRUCT_STATFS_F_BFREE 1
15477 _ACEOF
15481 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15482 #ifdef HAVE_SYS_PARAM_H
15483 # include <sys/param.h>
15484 #endif
15485 #ifdef HAVE_SYS_MOUNT_H
15486 # include <sys/mount.h>
15487 #endif
15488 #ifdef HAVE_SYS_VFS_H
15489 # include <sys/vfs.h>
15490 #endif
15491 #ifdef HAVE_SYS_STATFS_H
15492 # include <sys/statfs.h>
15493 #endif
15495 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
15497 cat >>confdefs.h <<_ACEOF
15498 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15499 _ACEOF
15503 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15504 #ifdef HAVE_SYS_PARAM_H
15505 # include <sys/param.h>
15506 #endif
15507 #ifdef HAVE_SYS_MOUNT_H
15508 # include <sys/mount.h>
15509 #endif
15510 #ifdef HAVE_SYS_VFS_H
15511 # include <sys/vfs.h>
15512 #endif
15513 #ifdef HAVE_SYS_STATFS_H
15514 # include <sys/statfs.h>
15515 #endif
15517 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
15519 cat >>confdefs.h <<_ACEOF
15520 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15521 _ACEOF
15525 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15526 #ifdef HAVE_SYS_PARAM_H
15527 # include <sys/param.h>
15528 #endif
15529 #ifdef HAVE_SYS_MOUNT_H
15530 # include <sys/mount.h>
15531 #endif
15532 #ifdef HAVE_SYS_VFS_H
15533 # include <sys/vfs.h>
15534 #endif
15535 #ifdef HAVE_SYS_STATFS_H
15536 # include <sys/statfs.h>
15537 #endif
15539 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
15541 cat >>confdefs.h <<_ACEOF
15542 #define HAVE_STRUCT_STATFS_F_FFREE 1
15543 _ACEOF
15547 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15548 #ifdef HAVE_SYS_PARAM_H
15549 # include <sys/param.h>
15550 #endif
15551 #ifdef HAVE_SYS_MOUNT_H
15552 # include <sys/mount.h>
15553 #endif
15554 #ifdef HAVE_SYS_VFS_H
15555 # include <sys/vfs.h>
15556 #endif
15557 #ifdef HAVE_SYS_STATFS_H
15558 # include <sys/statfs.h>
15559 #endif
15561 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
15563 cat >>confdefs.h <<_ACEOF
15564 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15565 _ACEOF
15569 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15570 #ifdef HAVE_SYS_PARAM_H
15571 # include <sys/param.h>
15572 #endif
15573 #ifdef HAVE_SYS_MOUNT_H
15574 # include <sys/mount.h>
15575 #endif
15576 #ifdef HAVE_SYS_VFS_H
15577 # include <sys/vfs.h>
15578 #endif
15579 #ifdef HAVE_SYS_STATFS_H
15580 # include <sys/statfs.h>
15581 #endif
15583 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
15585 cat >>confdefs.h <<_ACEOF
15586 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15587 _ACEOF
15593 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15594 #include <sys/statvfs.h>
15595 #endif
15597 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
15599 cat >>confdefs.h <<_ACEOF
15600 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15601 _ACEOF
15607 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15608 #include <dirent.h>
15609 #endif
15611 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
15613 cat >>confdefs.h <<_ACEOF
15614 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15615 _ACEOF
15621 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15622 #ifdef HAVE_SYS_SOCKET_H
15623 # include <sys/socket.h>
15624 #endif
15625 #ifdef HAVE_SYS_UN_H
15626 # include <sys/un.h>
15627 #endif
15629 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
15631 cat >>confdefs.h <<_ACEOF
15632 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15633 _ACEOF
15637 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15638 #ifdef HAVE_SYS_SOCKET_H
15639 # include <sys/socket.h>
15640 #endif
15641 #ifdef HAVE_SYS_UN_H
15642 # include <sys/un.h>
15643 #endif
15645 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
15647 cat >>confdefs.h <<_ACEOF
15648 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15649 _ACEOF
15653 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15654 #ifdef HAVE_SYS_SOCKET_H
15655 # include <sys/socket.h>
15656 #endif
15657 #ifdef HAVE_SYS_UN_H
15658 # include <sys/un.h>
15659 #endif
15661 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
15663 cat >>confdefs.h <<_ACEOF
15664 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15665 _ACEOF
15671 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15672 #ifdef HAVE_SCSI_SG_H
15673 #include <scsi/sg.h>
15674 #endif
15676 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
15678 cat >>confdefs.h <<_ACEOF
15679 #define HAVE_SCSIREQ_T_CMD 1
15680 _ACEOF
15684 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>
15685 #ifdef HAVE_SCSI_SG_H
15686 #include <scsi/sg.h>
15687 #endif
15689 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
15691 cat >>confdefs.h <<_ACEOF
15692 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15693 _ACEOF
15699 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15701 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
15703 cat >>confdefs.h <<_ACEOF
15704 #define HAVE_SIGINFO_T_SI_FD 1
15705 _ACEOF
15711 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15712 #ifdef HAVE_SYS_MTIO_H
15713 #include <sys/mtio.h>
15714 #endif
15716 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
15718 cat >>confdefs.h <<_ACEOF
15719 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15720 _ACEOF
15724 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15725 #ifdef HAVE_SYS_MTIO_H
15726 #include <sys/mtio.h>
15727 #endif
15729 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
15731 cat >>confdefs.h <<_ACEOF
15732 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15733 _ACEOF
15737 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15738 #ifdef HAVE_SYS_MTIO_H
15739 #include <sys/mtio.h>
15740 #endif
15742 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
15744 cat >>confdefs.h <<_ACEOF
15745 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15746 _ACEOF
15752 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15753 #include <getopt.h>
15754 #endif
15756 if test "x$ac_cv_member_struct_option_name" = xyes; then :
15758 cat >>confdefs.h <<_ACEOF
15759 #define HAVE_STRUCT_OPTION_NAME 1
15760 _ACEOF
15766 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15767 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
15769 cat >>confdefs.h <<_ACEOF
15770 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15771 _ACEOF
15775 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15776 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
15778 cat >>confdefs.h <<_ACEOF
15779 #define HAVE_STRUCT_STAT_ST_MTIM 1
15780 _ACEOF
15784 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15785 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
15787 cat >>confdefs.h <<_ACEOF
15788 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15789 _ACEOF
15793 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15794 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
15796 cat >>confdefs.h <<_ACEOF
15797 #define HAVE_STRUCT_STAT_ST_CTIM 1
15798 _ACEOF
15802 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15803 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
15805 cat >>confdefs.h <<_ACEOF
15806 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15807 _ACEOF
15811 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15812 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
15814 cat >>confdefs.h <<_ACEOF
15815 #define HAVE_STRUCT_STAT_ST_ATIM 1
15816 _ACEOF
15820 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15821 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
15823 cat >>confdefs.h <<_ACEOF
15824 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15825 _ACEOF
15829 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15830 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
15832 cat >>confdefs.h <<_ACEOF
15833 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15834 _ACEOF
15838 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15839 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
15841 cat >>confdefs.h <<_ACEOF
15842 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15843 _ACEOF
15847 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15848 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
15850 cat >>confdefs.h <<_ACEOF
15851 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15852 _ACEOF
15856 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15857 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
15859 cat >>confdefs.h <<_ACEOF
15860 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15861 _ACEOF
15865 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15866 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
15868 cat >>confdefs.h <<_ACEOF
15869 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15870 _ACEOF
15876 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
15877 #include <sys/types.h>
15878 #endif
15879 #ifdef HAVE_NETINET_IN_H
15880 #include <netinet/in.h>
15881 #endif
15883 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
15885 cat >>confdefs.h <<_ACEOF
15886 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
15887 _ACEOF
15893 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
15894 #include <resolv.h>
15895 #endif
15897 if test "x$ac_cv_type_struct___res_state" = xyes; then :
15899 cat >>confdefs.h <<_ACEOF
15900 #define HAVE_STRUCT___RES_STATE 1
15901 _ACEOF
15907 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
15908 #include <resolv.h>
15909 #endif
15911 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
15913 cat >>confdefs.h <<_ACEOF
15914 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
15915 _ACEOF
15921 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
15922 #include <sys/types.h>
15923 #endif
15924 #ifdef HAVE_NETINET_IN_H
15925 # include <netinet/in.h>
15926 #endif
15927 #ifdef HAVE_ARPA_NAMESER_H
15928 # include <arpa/nameser.h>
15929 #endif
15931 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
15933 cat >>confdefs.h <<_ACEOF
15934 #define HAVE_NS_MSG__MSG_PTR 1
15935 _ACEOF
15941 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
15942 #include <sys/types.h>
15943 #endif
15944 #ifdef HAVE_NETINET_IP_H
15945 #include <netinet/ip.h>
15946 #endif
15947 #ifdef HAVE_NETINET_IP_ICMP_H
15948 #include <netinet/ip_icmp.h>
15949 #endif
15950 #ifdef HAVE_NETINET_ICMP_VAR_H
15951 #include <netinet/icmp_var.h>
15952 #endif
15954 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
15956 cat >>confdefs.h <<_ACEOF
15957 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
15958 _ACEOF
15964 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
15965 #include <sys/types.h>
15966 #endif
15967 #ifdef HAVE_ALIAS_H
15968 #include <alias.h>
15969 #endif
15970 #ifdef HAVE_SYS_SOCKET_H
15971 #include <sys/socket.h>
15972 #endif
15973 #ifdef HAVE_SYS_SOCKETVAR_H
15974 #include <sys/socketvar.h>
15975 #endif
15976 #ifdef HAVE_SYS_TIMEOUT_H
15977 #include <sys/timeout.h>
15978 #endif
15979 #ifdef HAVE_NETINET_IN_H
15980 #include <netinet/in.h>
15981 #endif
15982 #ifdef HAVE_NETINET_IN_SYSTM_H
15983 #include <netinet/in_systm.h>
15984 #endif
15985 #ifdef HAVE_NETINET_IP_H
15986 #include <netinet/ip.h>
15987 #endif
15988 #ifdef HAVE_NETINET_IP_VAR_H
15989 #include <netinet/ip_var.h>
15990 #endif
15991 #ifdef HAVE_NETINET_IP_ICMP_H
15992 #include <netinet/ip_icmp.h>
15993 #endif
15994 #ifdef HAVE_NETINET_ICMP_VAR_H
15995 #include <netinet/icmp_var.h>
15996 #endif
15998 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16000 cat >>confdefs.h <<_ACEOF
16001 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16002 _ACEOF
16008 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16009 #include <sys/types.h>
16010 #endif
16011 #ifdef HAVE_SYS_SOCKETVAR_H
16012 #include <sys/socketvar.h>
16013 #endif
16014 #ifdef HAVE_NETINET_IN_H
16015 #include <netinet/in.h>
16016 #endif
16017 #ifdef HAVE_NETINET_IP_VAR_H
16018 #include <netinet/ip_var.h>
16019 #endif
16021 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16023 cat >>confdefs.h <<_ACEOF
16024 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16025 _ACEOF
16031 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
16032 #include <netinet/ip_var.h>
16033 #endif
16035 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16037 cat >>confdefs.h <<_ACEOF
16038 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16039 _ACEOF
16045 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16046 #include <sys/types.h>
16047 #endif
16048 #ifdef HAVE_SYS_SOCKETVAR_H
16049 #include <sys/socketvar.h>
16050 #endif
16051 #ifdef HAVE_NETINET_IN_H
16052 #include <netinet/in.h>
16053 #endif
16054 #ifdef HAVE_NETINET_TCP_H
16055 #include <netinet/tcp.h>
16056 #endif
16057 #ifdef HAVE_NETINET_TCP_VAR_H
16058 #include <netinet/tcp_var.h>
16059 #endif
16061 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16063 cat >>confdefs.h <<_ACEOF
16064 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16065 _ACEOF
16071 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
16072 #include <netinet/tcp_var.h>
16073 #endif
16075 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16077 cat >>confdefs.h <<_ACEOF
16078 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16079 _ACEOF
16085 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16086 #include <sys/types.h>
16087 #endif
16088 #ifdef HAVE_NETINET_IN_H
16089 #include <netinet/in.h>
16090 #endif
16091 #ifdef HAVE_NETINET_IP_VAR_H
16092 #include <netinet/ip_var.h>
16093 #endif
16094 #ifdef HAVE_NETINET_UDP_H
16095 #include <netinet/udp.h>
16096 #endif
16097 #ifdef HAVE_NETINET_UDP_VAR_H
16098 #include <netinet/udp_var.h>
16099 #endif
16101 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16103 cat >>confdefs.h <<_ACEOF
16104 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16105 _ACEOF
16111 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16112 #include <sys/types.h>
16113 #endif
16114 #ifdef HAVE_NET_IF_H
16115 # include <net/if.h>
16116 #endif
16118 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16120 cat >>confdefs.h <<_ACEOF
16121 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16122 _ACEOF
16128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16129 $as_echo_n "checking for timezone variable... " >&6; }
16130 if ${ac_cv_have_timezone+:} false; then :
16131 $as_echo_n "(cached) " >&6
16132 else
16133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16134 /* end confdefs.h. */
16135 #include <time.h>
16137 main ()
16139 timezone = 1
16141 return 0;
16143 _ACEOF
16144 if ac_fn_c_try_link "$LINENO"; then :
16145 ac_cv_have_timezone="yes"
16146 else
16147 ac_cv_have_timezone="no"
16149 rm -f core conftest.err conftest.$ac_objext \
16150 conftest$ac_exeext conftest.$ac_ext
16152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16153 $as_echo "$ac_cv_have_timezone" >&6; }
16154 if test "$ac_cv_have_timezone" = "yes"
16155 then
16157 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16161 $as_echo_n "checking for daylight variable... " >&6; }
16162 if ${ac_cv_have_daylight+:} false; then :
16163 $as_echo_n "(cached) " >&6
16164 else
16165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16166 /* end confdefs.h. */
16167 #include <time.h>
16169 main ()
16171 daylight = 1
16173 return 0;
16175 _ACEOF
16176 if ac_fn_c_try_link "$LINENO"; then :
16177 ac_cv_have_daylight="yes"
16178 else
16179 ac_cv_have_daylight="no"
16181 rm -f core conftest.err conftest.$ac_objext \
16182 conftest$ac_exeext conftest.$ac_ext
16184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16185 $as_echo "$ac_cv_have_daylight" >&6; }
16186 if test "$ac_cv_have_daylight" = "yes"
16187 then
16189 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16193 ac_save_LIBS="$LIBS"
16194 LIBS="$LIBS -lm"
16195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16196 $as_echo_n "checking for isfinite... " >&6; }
16197 if ${ac_cv_have_isfinite+:} false; then :
16198 $as_echo_n "(cached) " >&6
16199 else
16200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16201 /* end confdefs.h. */
16202 #define _GNU_SOURCE
16203 #include <math.h>
16205 main ()
16207 float f = 0.0; return isfinite(f)
16209 return 0;
16211 _ACEOF
16212 if ac_fn_c_try_link "$LINENO"; then :
16213 ac_cv_have_isfinite="yes"
16214 else
16215 ac_cv_have_isfinite="no"
16217 rm -f core conftest.err conftest.$ac_objext \
16218 conftest$ac_exeext conftest.$ac_ext
16220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16221 $as_echo "$ac_cv_have_isfinite" >&6; }
16222 if test "$ac_cv_have_isfinite" = "yes"
16223 then
16225 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16229 ac_save_LIBS="$LIBS"
16230 LIBS="$LIBS -lm"
16231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16232 $as_echo_n "checking for isinf... " >&6; }
16233 if ${ac_cv_have_isinf+:} false; then :
16234 $as_echo_n "(cached) " >&6
16235 else
16236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16237 /* end confdefs.h. */
16238 #include <math.h>
16240 main ()
16242 float f = 0.0; return isinf(f)
16244 return 0;
16246 _ACEOF
16247 if ac_fn_c_try_link "$LINENO"; then :
16248 ac_cv_have_isinf="yes"
16249 else
16250 ac_cv_have_isinf="no"
16252 rm -f core conftest.err conftest.$ac_objext \
16253 conftest$ac_exeext conftest.$ac_ext
16255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16256 $as_echo "$ac_cv_have_isinf" >&6; }
16257 if test "$ac_cv_have_isinf" = "yes"
16258 then
16260 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16265 $as_echo_n "checking for isnan... " >&6; }
16266 if ${ac_cv_have_isnan+:} false; then :
16267 $as_echo_n "(cached) " >&6
16268 else
16269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16270 /* end confdefs.h. */
16271 #include <math.h>
16273 main ()
16275 float f = 0.0; return isnan(f)
16277 return 0;
16279 _ACEOF
16280 if ac_fn_c_try_link "$LINENO"; then :
16281 ac_cv_have_isnan="yes"
16282 else
16283 ac_cv_have_isnan="no"
16285 rm -f core conftest.err conftest.$ac_objext \
16286 conftest$ac_exeext conftest.$ac_ext
16288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16289 $as_echo "$ac_cv_have_isnan" >&6; }
16290 if test "$ac_cv_have_isnan" = "yes"
16291 then
16293 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16296 LIBS="$ac_save_LIBS"
16299 case $host_cpu in
16300 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16301 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16302 if ${ac_cv_cpp_def___i386__+:} false; then :
16303 $as_echo_n "(cached) " >&6
16304 else
16305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16306 /* end confdefs.h. */
16307 #ifndef __i386__
16309 #endif
16310 _ACEOF
16311 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16312 $EGREP "yes" >/dev/null 2>&1; then :
16313 ac_cv_cpp_def___i386__=yes
16314 else
16315 ac_cv_cpp_def___i386__=no
16317 rm -f conftest*
16320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16321 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16322 if test $ac_cv_cpp_def___i386__ = yes; then :
16323 CFLAGS="$CFLAGS -D__i386__"
16324 LINTFLAGS="$LINTFLAGS -D__i386__"
16325 fi ;;
16326 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16327 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16328 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16329 $as_echo_n "(cached) " >&6
16330 else
16331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16332 /* end confdefs.h. */
16333 #ifndef __x86_64__
16335 #endif
16336 _ACEOF
16337 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16338 $EGREP "yes" >/dev/null 2>&1; then :
16339 ac_cv_cpp_def___x86_64__=yes
16340 else
16341 ac_cv_cpp_def___x86_64__=no
16343 rm -f conftest*
16346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16347 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16348 if test $ac_cv_cpp_def___x86_64__ = yes; then :
16349 CFLAGS="$CFLAGS -D__x86_64__"
16350 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16351 fi ;;
16352 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16353 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16354 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16355 $as_echo_n "(cached) " >&6
16356 else
16357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16358 /* end confdefs.h. */
16359 #ifndef __sparc64__
16361 #endif
16362 _ACEOF
16363 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16364 $EGREP "yes" >/dev/null 2>&1; then :
16365 ac_cv_cpp_def___sparc64__=yes
16366 else
16367 ac_cv_cpp_def___sparc64__=no
16369 rm -f conftest*
16372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16373 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16374 if test $ac_cv_cpp_def___sparc64__ = yes; then :
16375 CFLAGS="$CFLAGS -D__sparc64__"
16376 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16377 fi ;;
16378 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16379 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16380 if ${ac_cv_cpp_def___sparc__+:} false; then :
16381 $as_echo_n "(cached) " >&6
16382 else
16383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16384 /* end confdefs.h. */
16385 #ifndef __sparc__
16387 #endif
16388 _ACEOF
16389 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16390 $EGREP "yes" >/dev/null 2>&1; then :
16391 ac_cv_cpp_def___sparc__=yes
16392 else
16393 ac_cv_cpp_def___sparc__=no
16395 rm -f conftest*
16398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16399 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16400 if test $ac_cv_cpp_def___sparc__ = yes; then :
16401 CFLAGS="$CFLAGS -D__sparc__"
16402 LINTFLAGS="$LINTFLAGS -D__sparc__"
16403 fi ;;
16404 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16405 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16406 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
16407 $as_echo_n "(cached) " >&6
16408 else
16409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16410 /* end confdefs.h. */
16411 #ifndef __powerpc64__
16413 #endif
16414 _ACEOF
16415 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16416 $EGREP "yes" >/dev/null 2>&1; then :
16417 ac_cv_cpp_def___powerpc64__=yes
16418 else
16419 ac_cv_cpp_def___powerpc64__=no
16421 rm -f conftest*
16424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16425 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16426 if test $ac_cv_cpp_def___powerpc64__ = yes; then :
16427 CFLAGS="$CFLAGS -D__powerpc64__"
16428 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
16429 fi ;;
16430 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16431 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16432 if ${ac_cv_cpp_def___powerpc__+:} false; then :
16433 $as_echo_n "(cached) " >&6
16434 else
16435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16436 /* end confdefs.h. */
16437 #ifndef __powerpc__
16439 #endif
16440 _ACEOF
16441 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16442 $EGREP "yes" >/dev/null 2>&1; then :
16443 ac_cv_cpp_def___powerpc__=yes
16444 else
16445 ac_cv_cpp_def___powerpc__=no
16447 rm -f conftest*
16450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16451 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16452 if test $ac_cv_cpp_def___powerpc__ = yes; then :
16453 CFLAGS="$CFLAGS -D__powerpc__"
16454 LINTFLAGS="$LINTFLAGS -D__powerpc__"
16455 fi ;;
16456 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16457 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16458 if ${ac_cv_cpp_def___aarch64__+:} false; then :
16459 $as_echo_n "(cached) " >&6
16460 else
16461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16462 /* end confdefs.h. */
16463 #ifndef __aarch64__
16465 #endif
16466 _ACEOF
16467 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16468 $EGREP "yes" >/dev/null 2>&1; then :
16469 ac_cv_cpp_def___aarch64__=yes
16470 else
16471 ac_cv_cpp_def___aarch64__=no
16473 rm -f conftest*
16476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16477 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16478 if test $ac_cv_cpp_def___aarch64__ = yes; then :
16479 CFLAGS="$CFLAGS -D__aarch64__"
16480 LINTFLAGS="$LINTFLAGS -D__aarch64__"
16481 fi ;;
16482 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16483 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16484 if ${ac_cv_cpp_def___arm__+:} false; then :
16485 $as_echo_n "(cached) " >&6
16486 else
16487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16488 /* end confdefs.h. */
16489 #ifndef __arm__
16491 #endif
16492 _ACEOF
16493 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16494 $EGREP "yes" >/dev/null 2>&1; then :
16495 ac_cv_cpp_def___arm__=yes
16496 else
16497 ac_cv_cpp_def___arm__=no
16499 rm -f conftest*
16502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16503 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16504 if test $ac_cv_cpp_def___arm__ = yes; then :
16505 CFLAGS="$CFLAGS -D__arm__"
16506 LINTFLAGS="$LINTFLAGS -D__arm__"
16507 fi ;;
16508 esac
16510 case $host_vendor in
16511 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16512 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16513 if ${ac_cv_cpp_def___sun__+:} false; then :
16514 $as_echo_n "(cached) " >&6
16515 else
16516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16517 /* end confdefs.h. */
16518 #ifndef __sun__
16520 #endif
16521 _ACEOF
16522 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16523 $EGREP "yes" >/dev/null 2>&1; then :
16524 ac_cv_cpp_def___sun__=yes
16525 else
16526 ac_cv_cpp_def___sun__=no
16528 rm -f conftest*
16531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16532 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16533 if test $ac_cv_cpp_def___sun__ = yes; then :
16534 CFLAGS="$CFLAGS -D__sun__"
16535 LINTFLAGS="$LINTFLAGS -D__sun__"
16536 fi ;;
16537 esac
16543 ac_config_commands="$ac_config_commands include/stamp-h"
16545 $as_echo_n "creating Makefile rules..." >&6
16548 MAKE_IMPLIB_RULES="DLLFLAGS = $DLLFLAGS
16551 if test -n "$CROSSTARGET"
16552 then
16553 as_fn_append MAKE_IMPLIB_RULES "MAKEDEPFLAGS = -xo -xcross.o
16554 all: \$(STATICLIB:.a=.cross.a)
16559 if test -n "$DLLEXT"
16560 then
16561 deps="\$(MODULE)$DLLEXT \$(MODULE).fake"
16562 else
16563 deps="\$(MODULE)"
16566 MAKE_DLL_RULES="
16567 DLLFLAGS = $DLLFLAGS
16568 MAINSPEC = \$(srcdir)/\$(MODULE:%.dll=%).spec
16569 IDL_TLB_RES = \$(IDL_TLB_SRCS:.idl=_t.res)
16570 MODULEFLAGS = -shared \$(MAINSPEC) \$(EXTRADLLFLAGS)
16572 all: $deps
16574 manpages:: dummy
16575 \$(C2MAN) -o \$(top_builddir)/documentation/man\$(api_manext) -R\$(top_builddir) -C\$(srcdir) \$(PARENTSRC:%=-P%) -I\$(top_srcdir)/include \$(MAINSPEC:%=-w %) \$(C_SRCS)
16576 htmlpages:: dummy
16577 \$(C2MAN) -o \$(top_builddir)/documentation/html -R\$(top_builddir) -C\$(srcdir) \$(PARENTSRC:%=-P%) -I\$(top_srcdir)/include -Th \$(MAINSPEC:%=-w %) \$(C_SRCS)
16578 sgmlpages:: dummy
16579 \$(C2MAN) -o \$(top_builddir)/documentation/api-guide -R\$(top_builddir) -C\$(srcdir) \$(PARENTSRC:%=-P%) -I\$(top_srcdir)/include -Ts \$(MAINSPEC:%=-w %) \$(C_SRCS)
16580 xmlpages:: dummy
16581 \$(C2MAN) -o \$(top_builddir)/documentation/api-guide-xml -R\$(top_builddir) -C\$(srcdir) \$(PARENTSRC:%=-P%) -I\$(top_srcdir)/include -Tx \$(MAINSPEC:%=-w %) \$(C_SRCS)
16582 .PHONY: manpages htmlpages sgmlpages xmlpages
16586 MAKE_PROG_RULES="
16587 DLLFLAGS = $DLLFLAGS
16589 all: $deps
16594 MAKE_TEST_RULES="
16595 DLLFLAGS = $DLLFLAGS
16596 TESTMODULE = \$(TESTDLL:%.dll=%)_test.exe
16597 TESTMODULE_STRIPPED = \$(TESTDLL:%.dll=%)_test-stripped.exe$DLLEXT
16598 WINETEST_RES = \$(top_builddir)/programs/winetest/\$(TESTDLL:%.dll=%)_test.res
16599 RUNTESTFLAGS = -q -P wine -T \$(top_builddir) -M \$(TESTDLL) -p \$(TESTMODULE)$DLLEXT
16600 EXTRA_OBJS = testlist.o
16602 all: \$(TESTMODULE)$DLLEXT \$(WINETEST_RES)
16604 \$(C_SRCS:.c=.ok): \$(TESTMODULE)$DLLEXT \$(TESTDLL:%=../%$DLLEXT)
16607 if test -n "$CROSSTARGET"
16608 then
16609 as_fn_append MAKE_TEST_RULES "
16610 MAKEDEPFLAGS = -xo -xcross.o
16611 CROSSTESTMODULE = \$(TESTDLL:%.dll=%)_crosstest.exe
16613 crosstest: \$(CROSSTESTMODULE)
16614 .PHONY: crosstest
16619 wine_fn_append_rule "
16620 # Rules automatically generated by configure
16622 .INIT: Makefile
16623 .MAKEFILEDEPS:
16624 all: Makefile
16625 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status
16626 @./config.status Make.tmp Makefile"
16628 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
16629 .gitignore: config.status
16630 @./config.status .gitignore"
16632 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
16633 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16635 if test "x$enable_fonts" != xno; then
16636 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16637 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16638 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16639 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16640 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf
16642 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16643 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
16644 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
16645 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
16646 ac_config_links="$ac_config_links wine:tools/winewrapper"
16647 wine_fn_config_symlink wine
16648 if test "x$enable_win64" != xno; then
16649 ac_config_links="$ac_config_links wine64:tools/winewrapper"
16650 wine_fn_config_symlink wine64
16653 wine_fn_config_makerules Make.rules
16654 MAKE_RULES=Make.rules
16655 ac_config_files="$ac_config_files Make.rules"
16658 wine_fn_config_dll acledit enable_acledit
16659 wine_fn_config_dll aclui enable_aclui implib
16660 wine_fn_config_dll activeds enable_activeds implib
16661 wine_fn_config_dll actxprxy enable_actxprxy clean
16662 wine_fn_config_lib adsiid
16663 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
16664 wine_fn_config_test dlls/advapi32/tests advapi32_test
16665 wine_fn_config_dll advpack enable_advpack implib
16666 wine_fn_config_test dlls/advpack/tests advpack_test
16667 wine_fn_config_dll amstream enable_amstream clean
16668 wine_fn_config_test dlls/amstream/tests amstream_test
16669 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16670 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16671 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16672 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16673 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16674 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16675 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16676 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16677 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16678 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16679 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16680 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16681 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16682 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16683 wine_fn_config_dll apphelp enable_apphelp
16684 wine_fn_config_test dlls/apphelp/tests apphelp_test
16685 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16686 wine_fn_config_dll atl enable_atl clean,implib
16687 wine_fn_config_test dlls/atl/tests atl_test
16688 wine_fn_config_dll atl100 enable_atl100 implib
16689 wine_fn_config_test dlls/atl100/tests atl100_test
16690 wine_fn_config_dll atl110 enable_atl110
16691 wine_fn_config_dll atl80 enable_atl80 implib
16692 wine_fn_config_test dlls/atl80/tests atl80_test
16693 wine_fn_config_dll atl90 enable_atl90
16694 wine_fn_config_dll authz enable_authz
16695 wine_fn_config_dll avicap32 enable_avicap32 implib
16696 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
16697 wine_fn_config_test dlls/avifil32/tests avifil32_test
16698 wine_fn_config_dll avifile.dll16 enable_win16
16699 wine_fn_config_dll avrt enable_avrt implib
16700 wine_fn_config_dll bcrypt enable_bcrypt
16701 wine_fn_config_dll browseui enable_browseui clean,po
16702 wine_fn_config_test dlls/browseui/tests browseui_test
16703 wine_fn_config_dll cabinet enable_cabinet implib
16704 wine_fn_config_test dlls/cabinet/tests cabinet_test
16705 wine_fn_config_dll capi2032 enable_capi2032 implib
16706 wine_fn_config_dll cards enable_cards implib
16707 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16708 wine_fn_config_dll clusapi enable_clusapi implib
16709 wine_fn_config_dll comcat enable_comcat
16710 wine_fn_config_test dlls/comcat/tests comcat_test
16711 wine_fn_config_dll comctl32 enable_comctl32 implib,po
16712 wine_fn_config_test dlls/comctl32/tests comctl32_test
16713 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
16714 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
16715 wine_fn_config_dll comm.drv16 enable_win16
16716 wine_fn_config_dll commdlg.dll16 enable_win16
16717 wine_fn_config_dll compobj.dll16 enable_win16
16718 wine_fn_config_dll compstui enable_compstui implib
16719 wine_fn_config_dll comsvcs enable_comsvcs implib
16720 wine_fn_config_dll credui enable_credui implib,po
16721 wine_fn_config_test dlls/credui/tests credui_test
16722 wine_fn_config_dll crtdll enable_crtdll implib
16723 wine_fn_config_dll crypt32 enable_crypt32 implib,po
16724 wine_fn_config_test dlls/crypt32/tests crypt32_test
16725 wine_fn_config_dll cryptdlg enable_cryptdlg po
16726 wine_fn_config_dll cryptdll enable_cryptdll implib
16727 wine_fn_config_dll cryptnet enable_cryptnet implib
16728 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
16729 wine_fn_config_dll cryptui enable_cryptui implib,po
16730 wine_fn_config_test dlls/cryptui/tests cryptui_test
16731 wine_fn_config_dll ctapi32 enable_ctapi32
16732 wine_fn_config_dll ctl3d.dll16 enable_win16
16733 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16734 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16735 wine_fn_config_dll d3d10 enable_d3d10 implib
16736 wine_fn_config_test dlls/d3d10/tests d3d10_test
16737 wine_fn_config_dll d3d10core enable_d3d10core implib
16738 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
16739 wine_fn_config_dll d3d11 enable_d3d11
16740 wine_fn_config_dll d3d8 enable_d3d8 implib
16741 wine_fn_config_test dlls/d3d8/tests d3d8_test
16742 wine_fn_config_dll d3d9 enable_d3d9 implib
16743 wine_fn_config_test dlls/d3d9/tests d3d9_test
16744 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16745 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16746 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16747 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16748 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16749 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16750 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16751 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16752 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16753 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16754 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16755 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
16756 wine_fn_config_dll d3dim enable_d3dim implib
16757 wine_fn_config_dll d3drm enable_d3drm implib
16758 wine_fn_config_test dlls/d3drm/tests d3drm_test
16759 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16760 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16761 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16762 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16763 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16764 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16765 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16766 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16767 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16768 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16769 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16770 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16771 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16772 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16773 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16774 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16775 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16776 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16777 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16778 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16779 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16780 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16781 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16782 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16783 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16784 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16785 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
16786 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16787 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16788 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16789 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16790 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16791 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16792 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16793 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
16794 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
16795 wine_fn_config_dll dbgeng enable_dbgeng implib
16796 wine_fn_config_dll dbghelp enable_dbghelp implib
16797 wine_fn_config_dll dciman32 enable_dciman32 implib
16798 wine_fn_config_dll ddeml.dll16 enable_win16
16799 wine_fn_config_dll ddraw enable_ddraw clean,implib
16800 wine_fn_config_test dlls/ddraw/tests ddraw_test
16801 wine_fn_config_dll ddrawex enable_ddrawex clean
16802 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
16803 wine_fn_config_dll devenum enable_devenum clean,po
16804 wine_fn_config_test dlls/devenum/tests devenum_test
16805 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16806 wine_fn_config_dll difxapi enable_difxapi
16807 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
16808 wine_fn_config_test dlls/dinput/tests dinput_test
16809 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
16810 wine_fn_config_test dlls/dinput8/tests dinput8_test
16811 wine_fn_config_dll dispdib.dll16 enable_win16
16812 wine_fn_config_dll dispex enable_dispex clean
16813 wine_fn_config_test dlls/dispex/tests dispex_test
16814 wine_fn_config_dll display.drv16 enable_win16
16815 wine_fn_config_dll dmband enable_dmband clean
16816 wine_fn_config_test dlls/dmband/tests dmband_test
16817 wine_fn_config_dll dmcompos enable_dmcompos clean
16818 wine_fn_config_dll dmime enable_dmime clean
16819 wine_fn_config_test dlls/dmime/tests dmime_test
16820 wine_fn_config_dll dmloader enable_dmloader clean
16821 wine_fn_config_test dlls/dmloader/tests dmloader_test
16822 wine_fn_config_dll dmscript enable_dmscript clean
16823 wine_fn_config_dll dmstyle enable_dmstyle clean
16824 wine_fn_config_dll dmsynth enable_dmsynth clean
16825 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
16826 wine_fn_config_dll dmusic enable_dmusic clean
16827 wine_fn_config_test dlls/dmusic/tests dmusic_test
16828 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16829 wine_fn_config_dll dnsapi enable_dnsapi implib
16830 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
16831 wine_fn_config_dll dplay enable_dplay implib
16832 wine_fn_config_dll dplayx enable_dplayx clean,implib
16833 wine_fn_config_test dlls/dplayx/tests dplayx_test
16834 wine_fn_config_dll dpnaddr enable_dpnaddr
16835 wine_fn_config_dll dpnet enable_dpnet clean,implib
16836 wine_fn_config_test dlls/dpnet/tests dpnet_test
16837 wine_fn_config_dll dpnhpast enable_dpnhpast
16838 wine_fn_config_dll dpnlobby enable_dpnlobby
16839 wine_fn_config_dll dpwsockx enable_dpwsockx
16840 wine_fn_config_dll drmclien enable_drmclien
16841 wine_fn_config_dll dsound enable_dsound clean,implib
16842 wine_fn_config_test dlls/dsound/tests dsound_test
16843 wine_fn_config_dll dssenh enable_dssenh
16844 wine_fn_config_test dlls/dssenh/tests dssenh_test
16845 wine_fn_config_dll dswave enable_dswave clean
16846 wine_fn_config_dll dwmapi enable_dwmapi implib
16847 wine_fn_config_dll dwrite enable_dwrite implib
16848 wine_fn_config_test dlls/dwrite/tests dwrite_test
16849 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
16850 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
16851 wine_fn_config_lib dxerr8
16852 wine_fn_config_lib dxerr9
16853 wine_fn_config_dll dxgi enable_dxgi implib
16854 wine_fn_config_test dlls/dxgi/tests dxgi_test
16855 wine_fn_config_lib dxguid
16856 wine_fn_config_dll explorerframe enable_explorerframe clean
16857 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
16858 wine_fn_config_dll faultrep enable_faultrep implib
16859 wine_fn_config_test dlls/faultrep/tests faultrep_test
16860 wine_fn_config_dll fltlib enable_fltlib
16861 wine_fn_config_dll fusion enable_fusion
16862 wine_fn_config_test dlls/fusion/tests fusion_test
16863 wine_fn_config_dll fwpuclnt enable_fwpuclnt
16864 wine_fn_config_dll gameux enable_gameux clean
16865 wine_fn_config_test dlls/gameux/tests gameux_test
16866 wine_fn_config_dll gdi.exe16 enable_win16
16867 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
16868 wine_fn_config_test dlls/gdi32/tests gdi32_test
16869 wine_fn_config_dll gdiplus enable_gdiplus implib
16870 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
16871 wine_fn_config_dll glu32 enable_glu32 implib
16872 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
16873 wine_fn_config_dll gpkcsp enable_gpkcsp
16874 wine_fn_config_dll hal enable_hal
16875 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
16876 wine_fn_config_dll hid enable_hid implib
16877 wine_fn_config_dll hlink enable_hlink clean,implib
16878 wine_fn_config_test dlls/hlink/tests hlink_test
16879 wine_fn_config_dll hnetcfg enable_hnetcfg clean
16880 wine_fn_config_dll httpapi enable_httpapi
16881 wine_fn_config_dll iccvid enable_iccvid po
16882 wine_fn_config_dll icmp enable_icmp
16883 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
16884 wine_fn_config_test dlls/ieframe/tests ieframe_test
16885 wine_fn_config_dll ifsmgr.vxd enable_win16
16886 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
16887 wine_fn_config_dll imagehlp enable_imagehlp implib
16888 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
16889 wine_fn_config_dll imm.dll16 enable_win16
16890 wine_fn_config_dll imm32 enable_imm32 implib
16891 wine_fn_config_test dlls/imm32/tests imm32_test
16892 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
16893 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
16894 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
16895 wine_fn_config_dll inetmib1 enable_inetmib1
16896 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
16897 wine_fn_config_dll infosoft enable_infosoft clean
16898 wine_fn_config_test dlls/infosoft/tests infosoft_test
16899 wine_fn_config_dll initpki enable_initpki
16900 wine_fn_config_dll inkobj enable_inkobj
16901 wine_fn_config_dll inseng enable_inseng clean
16902 wine_fn_config_dll iphlpapi enable_iphlpapi implib
16903 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
16904 wine_fn_config_dll itircl enable_itircl
16905 wine_fn_config_dll itss enable_itss clean
16906 wine_fn_config_test dlls/itss/tests itss_test
16907 wine_fn_config_dll joy.cpl enable_joy_cpl po
16908 wine_fn_config_dll jscript enable_jscript clean,po
16909 wine_fn_config_test dlls/jscript/tests jscript_test
16910 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
16911 wine_fn_config_test dlls/kernel32/tests kernel32_test
16912 wine_fn_config_dll keyboard.drv16 enable_win16
16913 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
16914 wine_fn_config_dll ktmw32 enable_ktmw32
16915 wine_fn_config_dll loadperf enable_loadperf implib
16916 wine_fn_config_dll localspl enable_localspl po
16917 wine_fn_config_test dlls/localspl/tests localspl_test
16918 wine_fn_config_dll localui enable_localui po
16919 wine_fn_config_test dlls/localui/tests localui_test
16920 wine_fn_config_dll lz32 enable_lz32 implib
16921 wine_fn_config_test dlls/lz32/tests lz32_test
16922 wine_fn_config_dll lzexpand.dll16 enable_win16
16923 wine_fn_config_dll mapi32 enable_mapi32 implib,po
16924 wine_fn_config_test dlls/mapi32/tests mapi32_test
16925 wine_fn_config_dll mapistub enable_mapistub
16926 wine_fn_config_dll mciavi32 enable_mciavi32
16927 wine_fn_config_dll mcicda enable_mcicda
16928 wine_fn_config_dll mciqtz32 enable_mciqtz32
16929 wine_fn_config_dll mciseq enable_mciseq
16930 wine_fn_config_dll mciwave enable_mciwave
16931 wine_fn_config_dll mgmtapi enable_mgmtapi
16932 wine_fn_config_dll midimap enable_midimap
16933 wine_fn_config_dll mlang enable_mlang clean,implib
16934 wine_fn_config_test dlls/mlang/tests mlang_test
16935 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
16936 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
16937 wine_fn_config_dll mmdevapi enable_mmdevapi clean
16938 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
16939 wine_fn_config_dll mmdevldr.vxd enable_win16
16940 wine_fn_config_dll mmsystem.dll16 enable_win16
16941 wine_fn_config_dll monodebg.vxd enable_win16
16942 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
16943 wine_fn_config_dll mouse.drv16 enable_win16
16944 wine_fn_config_dll mpr enable_mpr implib,po
16945 wine_fn_config_test dlls/mpr/tests mpr_test
16946 wine_fn_config_dll mprapi enable_mprapi implib
16947 wine_fn_config_dll msacm.dll16 enable_win16
16948 wine_fn_config_dll msacm32.drv enable_msacm32_drv
16949 wine_fn_config_dll msacm32 enable_msacm32 implib,po
16950 wine_fn_config_test dlls/msacm32/tests msacm32_test
16951 wine_fn_config_dll msadp32.acm enable_msadp32_acm
16952 wine_fn_config_dll mscat32 enable_mscat32
16953 wine_fn_config_dll mscms enable_mscms implib
16954 wine_fn_config_test dlls/mscms/tests mscms_test
16955 wine_fn_config_dll mscoree enable_mscoree clean
16956 wine_fn_config_test dlls/mscoree/tests mscoree_test
16957 wine_fn_config_dll msctf enable_msctf clean
16958 wine_fn_config_test dlls/msctf/tests msctf_test
16959 wine_fn_config_dll msdaps enable_msdaps clean
16960 wine_fn_config_dll msdmo enable_msdmo implib
16961 wine_fn_config_dll msftedit enable_msftedit
16962 wine_fn_config_dll msg711.acm enable_msg711_acm
16963 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
16964 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
16965 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
16966 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
16967 wine_fn_config_dll msi enable_msi clean,implib,po
16968 wine_fn_config_test dlls/msi/tests msi_test
16969 wine_fn_config_dll msident enable_msident clean
16970 wine_fn_config_dll msimg32 enable_msimg32 implib
16971 wine_fn_config_dll msimsg enable_msimsg
16972 wine_fn_config_dll msimtf enable_msimtf clean
16973 wine_fn_config_dll msisip enable_msisip
16974 wine_fn_config_dll msisys.ocx enable_msisys_ocx
16975 wine_fn_config_dll msls31 enable_msls31
16976 wine_fn_config_dll msnet32 enable_msnet32
16977 wine_fn_config_dll mspatcha enable_mspatcha
16978 wine_fn_config_dll msrle32 enable_msrle32 po
16979 wine_fn_config_dll mssign32 enable_mssign32
16980 wine_fn_config_dll mssip32 enable_mssip32
16981 wine_fn_config_dll mstask enable_mstask clean
16982 wine_fn_config_test dlls/mstask/tests mstask_test
16983 wine_fn_config_dll msvcirt enable_msvcirt
16984 wine_fn_config_dll msvcm80 enable_msvcm80
16985 wine_fn_config_dll msvcm90 enable_msvcm90
16986 wine_fn_config_dll msvcp100 enable_msvcp100
16987 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
16988 wine_fn_config_dll msvcp110 enable_msvcp110
16989 wine_fn_config_dll msvcp60 enable_msvcp60
16990 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
16991 wine_fn_config_dll msvcp70 enable_msvcp70
16992 wine_fn_config_dll msvcp71 enable_msvcp71
16993 wine_fn_config_dll msvcp80 enable_msvcp80
16994 wine_fn_config_dll msvcp90 enable_msvcp90
16995 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
16996 wine_fn_config_dll msvcr100 enable_msvcr100 implib
16997 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
16998 wine_fn_config_dll msvcr110 enable_msvcr110 implib
16999 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17000 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17001 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17002 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17003 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17004 wine_fn_config_dll msvcrt enable_msvcrt implib
17005 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17006 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17007 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17008 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17009 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17010 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17011 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17012 wine_fn_config_dll msvidc32 enable_msvidc32 po
17013 wine_fn_config_dll msvideo.dll16 enable_win16
17014 wine_fn_config_dll mswsock enable_mswsock implib
17015 wine_fn_config_dll msxml enable_msxml clean
17016 wine_fn_config_dll msxml2 enable_msxml2 clean
17017 wine_fn_config_dll msxml3 enable_msxml3 clean
17018 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17019 wine_fn_config_dll msxml4 enable_msxml4 clean
17020 wine_fn_config_dll msxml6 enable_msxml6 clean
17021 wine_fn_config_dll nddeapi enable_nddeapi implib
17022 wine_fn_config_dll netapi32 enable_netapi32 implib
17023 wine_fn_config_test dlls/netapi32/tests netapi32_test
17024 wine_fn_config_dll netcfgx enable_netcfgx
17025 wine_fn_config_dll newdev enable_newdev implib
17026 wine_fn_config_dll normaliz enable_normaliz implib
17027 wine_fn_config_dll npmshtml enable_npmshtml
17028 wine_fn_config_dll ntdll enable_ntdll implib
17029 wine_fn_config_test dlls/ntdll/tests ntdll_test
17030 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17031 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17032 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17033 wine_fn_config_dll ntprint enable_ntprint
17034 wine_fn_config_test dlls/ntprint/tests ntprint_test
17035 wine_fn_config_dll objsel enable_objsel clean
17036 wine_fn_config_dll odbc32 enable_odbc32 implib
17037 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17038 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17039 wine_fn_config_dll odbccu32 enable_odbccu32
17040 wine_fn_config_dll ole2.dll16 enable_win16
17041 wine_fn_config_dll ole2conv.dll16 enable_win16
17042 wine_fn_config_dll ole2disp.dll16 enable_win16
17043 wine_fn_config_dll ole2nls.dll16 enable_win16
17044 wine_fn_config_dll ole2prox.dll16 enable_win16
17045 wine_fn_config_dll ole2thk.dll16 enable_win16
17046 wine_fn_config_dll ole32 enable_ole32 clean,implib
17047 wine_fn_config_test dlls/ole32/tests ole32_test
17048 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17049 wine_fn_config_test dlls/oleacc/tests oleacc_test
17050 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17051 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17052 wine_fn_config_dll olecli.dll16 enable_win16
17053 wine_fn_config_dll olecli32 enable_olecli32 implib
17054 wine_fn_config_dll oledb32 enable_oledb32 clean
17055 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17056 wine_fn_config_dll oledlg enable_oledlg implib,po
17057 wine_fn_config_dll olepro32 enable_olepro32 implib
17058 wine_fn_config_dll olesvr.dll16 enable_win16
17059 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17060 wine_fn_config_dll olethk32 enable_olethk32
17061 wine_fn_config_dll openal32 enable_openal32
17062 wine_fn_config_dll opencl enable_opencl
17063 wine_fn_config_dll opengl32 enable_opengl32 implib
17064 wine_fn_config_test dlls/opengl32/tests opengl32_test
17065 wine_fn_config_dll pdh enable_pdh implib
17066 wine_fn_config_test dlls/pdh/tests pdh_test
17067 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17068 wine_fn_config_dll pidgen enable_pidgen
17069 wine_fn_config_dll powrprof enable_powrprof implib
17070 wine_fn_config_dll printui enable_printui
17071 wine_fn_config_dll propsys enable_propsys clean,implib
17072 wine_fn_config_test dlls/propsys/tests propsys_test
17073 wine_fn_config_dll psapi enable_psapi implib
17074 wine_fn_config_test dlls/psapi/tests psapi_test
17075 wine_fn_config_dll pstorec enable_pstorec clean
17076 wine_fn_config_dll qcap enable_qcap
17077 wine_fn_config_test dlls/qcap/tests qcap_test
17078 wine_fn_config_dll qedit enable_qedit clean
17079 wine_fn_config_test dlls/qedit/tests qedit_test
17080 wine_fn_config_dll qmgr enable_qmgr clean
17081 wine_fn_config_test dlls/qmgr/tests qmgr_test
17082 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17083 wine_fn_config_dll quartz enable_quartz clean,implib
17084 wine_fn_config_test dlls/quartz/tests quartz_test clean
17085 wine_fn_config_dll query enable_query
17086 wine_fn_config_dll rasapi16.dll16 enable_win16
17087 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17088 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17089 wine_fn_config_dll rasdlg enable_rasdlg implib
17090 wine_fn_config_dll regapi enable_regapi
17091 wine_fn_config_dll resutils enable_resutils implib
17092 wine_fn_config_dll riched20 enable_riched20 implib
17093 wine_fn_config_test dlls/riched20/tests riched20_test
17094 wine_fn_config_dll riched32 enable_riched32
17095 wine_fn_config_test dlls/riched32/tests riched32_test
17096 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17097 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17098 wine_fn_config_dll rsabase enable_rsabase
17099 wine_fn_config_dll rsaenh enable_rsaenh implib
17100 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17101 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17102 wine_fn_config_dll rtutils enable_rtutils implib
17103 wine_fn_config_dll samlib enable_samlib
17104 wine_fn_config_dll sane.ds enable_sane_ds po
17105 wine_fn_config_dll scarddlg enable_scarddlg
17106 wine_fn_config_dll sccbase enable_sccbase
17107 wine_fn_config_dll schannel enable_schannel
17108 wine_fn_config_test dlls/schannel/tests schannel_test
17109 wine_fn_config_dll scrrun enable_scrrun clean
17110 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17111 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17112 wine_fn_config_dll secur32 enable_secur32 implib
17113 wine_fn_config_test dlls/secur32/tests secur32_test
17114 wine_fn_config_dll security enable_security
17115 wine_fn_config_dll sensapi enable_sensapi implib
17116 wine_fn_config_dll serialui enable_serialui implib,po
17117 wine_fn_config_test dlls/serialui/tests serialui_test
17118 wine_fn_config_dll setupapi enable_setupapi implib,po
17119 wine_fn_config_test dlls/setupapi/tests setupapi_test
17120 wine_fn_config_dll setupx.dll16 enable_win16
17121 wine_fn_config_dll sfc enable_sfc implib
17122 wine_fn_config_dll sfc_os enable_sfc_os implib
17123 wine_fn_config_dll shdoclc enable_shdoclc po
17124 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17125 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17126 wine_fn_config_dll shell.dll16 enable_win16
17127 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17128 wine_fn_config_test dlls/shell32/tests shell32_test
17129 wine_fn_config_dll shfolder enable_shfolder implib
17130 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17131 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17132 wine_fn_config_dll slbcsp enable_slbcsp
17133 wine_fn_config_dll slc enable_slc implib
17134 wine_fn_config_dll snmpapi enable_snmpapi implib
17135 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17136 wine_fn_config_dll softpub enable_softpub
17137 wine_fn_config_dll sound.drv16 enable_win16
17138 wine_fn_config_dll spoolss enable_spoolss implib
17139 wine_fn_config_test dlls/spoolss/tests spoolss_test
17140 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17141 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17142 wine_fn_config_dll sti enable_sti clean,implib
17143 wine_fn_config_test dlls/sti/tests sti_test
17144 wine_fn_config_dll storage.dll16 enable_win16
17145 wine_fn_config_dll stress.dll16 enable_win16
17146 wine_fn_config_lib strmbase
17147 wine_fn_config_lib strmiids
17148 wine_fn_config_dll svrapi enable_svrapi
17149 wine_fn_config_dll sxs enable_sxs implib
17150 wine_fn_config_test dlls/sxs/tests sxs_test
17151 wine_fn_config_dll system.drv16 enable_win16
17152 wine_fn_config_dll t2embed enable_t2embed
17153 wine_fn_config_dll tapi32 enable_tapi32 implib
17154 wine_fn_config_dll taskschd enable_taskschd clean
17155 wine_fn_config_dll toolhelp.dll16 enable_win16
17156 wine_fn_config_dll traffic enable_traffic
17157 wine_fn_config_dll twain.dll16 enable_win16
17158 wine_fn_config_dll twain_32 enable_twain_32
17159 wine_fn_config_test dlls/twain_32/tests twain_32_test
17160 wine_fn_config_dll typelib.dll16 enable_win16
17161 wine_fn_config_dll unicows enable_unicows implib
17162 wine_fn_config_dll updspapi enable_updspapi
17163 wine_fn_config_dll url enable_url implib
17164 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17165 wine_fn_config_test dlls/urlmon/tests urlmon_test
17166 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17167 wine_fn_config_dll user.exe16 enable_win16
17168 wine_fn_config_dll user32 enable_user32 clean,implib,po
17169 wine_fn_config_test dlls/user32/tests user32_test
17170 wine_fn_config_dll userenv enable_userenv implib
17171 wine_fn_config_test dlls/userenv/tests userenv_test
17172 wine_fn_config_dll usp10 enable_usp10 implib
17173 wine_fn_config_test dlls/usp10/tests usp10_test
17174 wine_fn_config_lib uuid
17175 wine_fn_config_dll uxtheme enable_uxtheme implib
17176 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17177 wine_fn_config_dll vbscript enable_vbscript clean
17178 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17179 wine_fn_config_dll vcomp enable_vcomp
17180 wine_fn_config_dll vcomp100 enable_vcomp100
17181 wine_fn_config_dll vcomp90 enable_vcomp90
17182 wine_fn_config_dll vdhcp.vxd enable_win16
17183 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17184 wine_fn_config_dll ver.dll16 enable_win16
17185 wine_fn_config_dll version enable_version implib
17186 wine_fn_config_test dlls/version/tests version_test
17187 wine_fn_config_dll vmm.vxd enable_win16
17188 wine_fn_config_dll vnbt.vxd enable_win16
17189 wine_fn_config_dll vnetbios.vxd enable_win16
17190 wine_fn_config_dll vtdapi.vxd enable_win16
17191 wine_fn_config_dll vwin32.vxd enable_win16
17192 wine_fn_config_dll w32skrnl enable_win16
17193 wine_fn_config_dll w32sys.dll16 enable_win16
17194 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17195 wine_fn_config_dll wbemprox enable_wbemprox clean
17196 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17197 wine_fn_config_dll webservices enable_webservices implib
17198 wine_fn_config_dll wer enable_wer implib
17199 wine_fn_config_test dlls/wer/tests wer_test
17200 wine_fn_config_dll wevtapi enable_wevtapi
17201 wine_fn_config_dll wiaservc enable_wiaservc clean
17202 wine_fn_config_dll win32s16.dll16 enable_win16
17203 wine_fn_config_dll win87em.dll16 enable_win16
17204 wine_fn_config_dll winaspi.dll16 enable_win16
17205 wine_fn_config_dll windebug.dll16 enable_win16
17206 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17207 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17208 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17209 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17210 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17211 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17212 wine_fn_config_lib winecrt0
17213 wine_fn_config_dll wined3d enable_wined3d implib
17214 wine_fn_config_dll winegstreamer enable_winegstreamer
17215 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17216 wine_fn_config_dll winemac.drv enable_winemac_drv
17217 wine_fn_config_dll winemapi enable_winemapi
17218 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17219 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17220 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
17221 wine_fn_config_dll wineps16.drv16 enable_win16
17222 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17223 wine_fn_config_dll winex11.drv enable_winex11_drv
17224 wine_fn_config_dll wing.dll16 enable_win16
17225 wine_fn_config_dll wing32 enable_wing32
17226 wine_fn_config_dll winhttp enable_winhttp clean,implib
17227 wine_fn_config_test dlls/winhttp/tests winhttp_test
17228 wine_fn_config_dll wininet enable_wininet implib,po
17229 wine_fn_config_test dlls/wininet/tests wininet_test
17230 wine_fn_config_dll winmm enable_winmm implib,po
17231 wine_fn_config_test dlls/winmm/tests winmm_test
17232 wine_fn_config_dll winnls.dll16 enable_win16
17233 wine_fn_config_dll winnls32 enable_winnls32 implib
17234 wine_fn_config_dll winscard enable_winscard implib
17235 wine_fn_config_dll winsock.dll16 enable_win16
17236 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17237 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17238 wine_fn_config_dll winsta enable_winsta
17239 wine_fn_config_dll wintab.dll16 enable_win16
17240 wine_fn_config_dll wintab32 enable_wintab32 implib
17241 wine_fn_config_test dlls/wintab32/tests wintab32_test
17242 wine_fn_config_dll wintrust enable_wintrust implib
17243 wine_fn_config_test dlls/wintrust/tests wintrust_test
17244 wine_fn_config_dll wlanapi enable_wlanapi
17245 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17246 wine_fn_config_test dlls/wldap32/tests wldap32_test
17247 wine_fn_config_dll wmi enable_wmi
17248 wine_fn_config_dll wmiutils enable_wmiutils clean
17249 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17250 wine_fn_config_dll wmvcore enable_wmvcore
17251 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17252 wine_fn_config_dll wow32 enable_win16 implib
17253 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17254 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
17255 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17256 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
17257 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17258 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
17259 wine_fn_config_dll wsock32 enable_wsock32 implib
17260 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17261 wine_fn_config_dll wuapi enable_wuapi clean
17262 wine_fn_config_dll wuaueng enable_wuaueng
17263 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17264 wine_fn_config_dll xinput1_1 enable_xinput1_1
17265 wine_fn_config_dll xinput1_2 enable_xinput1_2
17266 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17267 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
17268 wine_fn_config_dll xinput1_4 enable_xinput1_4
17269 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17270 wine_fn_config_dll xmllite enable_xmllite
17271 wine_fn_config_test dlls/xmllite/tests xmllite_test
17272 wine_fn_config_dll xolehlp enable_xolehlp
17273 wine_fn_config_dll xpsprint enable_xpsprint
17274 wine_fn_config_dll xpssvcs enable_xpssvcs
17275 wine_fn_config_makefile documentation enable_documentation clean
17276 wine_fn_config_makefile fonts enable_fonts clean,install-lib
17277 wine_fn_config_makefile include enable_include clean,install-dev
17278 wine_fn_config_makefile libs/port enable_libs_port
17279 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
17280 wine_fn_config_makefile libs/wpp enable_libs_wpp
17281 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
17282 wine_fn_config_program arp enable_arp install
17283 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
17284 wine_fn_config_program attrib enable_attrib install,po
17285 wine_fn_config_program cabarc enable_cabarc install
17286 wine_fn_config_program cacls enable_cacls install
17287 wine_fn_config_program clock enable_clock install,po
17288 wine_fn_config_program cmd enable_cmd install,po
17289 wine_fn_config_test programs/cmd/tests cmd.exe_test
17290 wine_fn_config_program conhost enable_conhost install
17291 wine_fn_config_program control enable_control install
17292 wine_fn_config_program cscript enable_cscript install
17293 wine_fn_config_program dxdiag enable_dxdiag install,po
17294 wine_fn_config_program eject enable_eject install
17295 wine_fn_config_program expand enable_expand install
17296 wine_fn_config_program explorer enable_explorer install,po
17297 wine_fn_config_program extrac32 enable_extrac32 install
17298 wine_fn_config_program findstr enable_findstr install
17299 wine_fn_config_program hh enable_hh install
17300 wine_fn_config_program hostname enable_hostname install,po
17301 wine_fn_config_program icinfo enable_icinfo install
17302 wine_fn_config_program iexplore enable_iexplore install
17303 wine_fn_config_program ipconfig enable_ipconfig install,po
17304 wine_fn_config_program lodctr enable_lodctr install
17305 wine_fn_config_program mofcomp enable_mofcomp install
17306 wine_fn_config_program mshta enable_mshta install
17307 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
17308 wine_fn_config_program net enable_net install,po
17309 wine_fn_config_program netsh enable_netsh install
17310 wine_fn_config_program netstat enable_netstat install,po
17311 wine_fn_config_program ngen enable_ngen install
17312 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
17313 wine_fn_config_program oleview enable_oleview install,po
17314 wine_fn_config_program ping enable_ping install
17315 wine_fn_config_program plugplay enable_plugplay install
17316 wine_fn_config_program presentationfontcache enable_presentationfontcache install
17317 wine_fn_config_program progman enable_progman install,po
17318 wine_fn_config_program reg enable_reg install,po
17319 wine_fn_config_program regasm enable_regasm install
17320 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
17321 wine_fn_config_test programs/regedit/tests regedit.exe_test
17322 wine_fn_config_program regsvcs enable_regsvcs install
17323 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage
17324 wine_fn_config_program rpcss enable_rpcss clean,install
17325 wine_fn_config_program rundll.exe16 enable_win16 install
17326 wine_fn_config_program rundll32 enable_rundll32 install
17327 wine_fn_config_program sc enable_sc install
17328 wine_fn_config_program schtasks enable_schtasks install
17329 wine_fn_config_program secedit enable_secedit install
17330 wine_fn_config_program servicemodelreg enable_servicemodelreg install
17331 wine_fn_config_program services enable_services clean,install
17332 wine_fn_config_test programs/services/tests services.exe_test
17333 wine_fn_config_program spoolsv enable_spoolsv install
17334 wine_fn_config_program start enable_start install,po
17335 wine_fn_config_program svchost enable_svchost install
17336 wine_fn_config_program taskkill enable_taskkill install,po
17337 wine_fn_config_program tasklist enable_tasklist install
17338 wine_fn_config_program taskmgr enable_taskmgr install,po
17339 wine_fn_config_program termsv enable_termsv install
17340 wine_fn_config_program uninstaller enable_uninstaller install,po
17341 wine_fn_config_program unlodctr enable_unlodctr install
17342 wine_fn_config_program view enable_view install,po
17343 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
17344 wine_fn_config_program winebrowser enable_winebrowser install
17345 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
17346 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
17347 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
17348 wine_fn_config_program winedevice enable_winedevice install
17349 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
17350 wine_fn_config_program winemenubuilder enable_winemenubuilder install
17351 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
17352 wine_fn_config_program winemsibuilder enable_winemsibuilder install
17353 wine_fn_config_program winepath enable_winepath install,installbin,manpage
17354 wine_fn_config_program winetest enable_winetest clean
17355 wine_fn_config_program winevdm enable_win16 install
17356 wine_fn_config_program winhelp.exe16 enable_win16 install
17357 wine_fn_config_program winhlp32 enable_winhlp32 install,po
17358 wine_fn_config_program winoldap.mod16 enable_win16 install
17359 wine_fn_config_program winver enable_winver install
17360 wine_fn_config_program wmic enable_wmic install,po
17361 wine_fn_config_program wordpad enable_wordpad install,po
17362 wine_fn_config_program write enable_write install,po
17363 wine_fn_config_program wscript enable_wscript clean,install
17364 wine_fn_config_test programs/wscript/tests wscript.exe_test
17365 wine_fn_config_program wusa enable_wusa install
17366 wine_fn_config_program xcopy enable_xcopy install,po
17367 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
17368 wine_fn_config_makefile server enable_server clean,install-lib,manpage
17369 wine_fn_config_tool tools clean,install-dev,install-lib,manpage
17370 wine_fn_config_tool tools/widl clean,install-dev,manpage
17371 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
17372 wine_fn_config_tool tools/winedump clean,install-dev,manpage
17373 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
17374 wine_fn_config_tool tools/wmc clean,install-dev,manpage
17375 wine_fn_config_tool tools/wrc clean,install-dev,manpage
17377 LINGUAS="\
17378 ar \
17379 bg \
17380 ca \
17381 cs \
17382 da \
17383 de \
17384 el \
17385 en \
17386 en_US \
17387 eo \
17388 es \
17389 fa \
17390 fi \
17391 fr \
17392 he \
17393 hi \
17394 hr \
17395 hu \
17396 it \
17397 ja \
17398 ko \
17399 lt \
17400 ml \
17401 nb_NO \
17402 nl \
17403 or \
17404 pa \
17405 pl \
17406 pt_BR \
17407 pt_PT \
17408 rm \
17409 ro \
17410 ru \
17411 sk \
17412 sl \
17413 sr_RS@cyrillic \
17414 sr_RS@latin \
17415 sv \
17416 te \
17417 th \
17418 tr \
17419 uk \
17420 wa \
17421 zh_CN \
17422 zh_TW"
17427 wine_fn_ignore_file "*.a"
17428 wine_fn_ignore_file "*.exe"
17429 test -n "$DLLEXT" && wine_fn_ignore_file "*$DLLEXT"
17430 test -n "$DLLEXT" && wine_fn_ignore_file "*.fake"
17431 wine_fn_ignore_file ".gitignore"
17432 wine_fn_ignore_file "Makefile"
17433 wine_fn_ignore_file "TAGS"
17434 wine_fn_ignore_file "tags"
17435 wine_fn_ignore_file "autom4te.cache"
17436 wine_fn_ignore_file "config.cache"
17437 wine_fn_ignore_file "config.log"
17438 wine_fn_ignore_file "config.status"
17439 wine_fn_ignore_file "configure.lineno"
17440 wine_fn_ignore_file "include/config.h"
17441 wine_fn_ignore_file "include/stamp-h"
17442 wine_fn_ignore_file "dlls/*/*.def"
17443 test "x$enable_fonts" = xno || wine_fn_ignore_file "fonts/*.fon"
17444 test "x$enable_winetest" = xno || wine_fn_ignore_file "programs/winetest/build.nfo"
17445 test "x$enable_winetest" = xno || wine_fn_ignore_file "programs/winetest/build.rc"
17446 test "x$enable_server" = xno || wine_fn_ignore_file "server/wineserver"
17447 test "x$enable_server" = xno || wine_fn_ignore_file "server/wineserver-installed"
17448 test "x$enable_tools" = xno || wine_fn_ignore_file "tools/fnt2fon$ac_exeext"
17449 test "x$enable_tools" = xno || wine_fn_ignore_file "tools/make_ctests$ac_exeext"
17450 test "x$enable_tools" = xno || wine_fn_ignore_file "tools/make_xftmpl$ac_exeext"
17451 test "x$enable_tools" = xno || wine_fn_ignore_file "tools/makedep$ac_exeext"
17452 test "x$enable_tools" = xno || wine_fn_ignore_file "tools/sfnt2fnt$ac_exeext"
17453 test "x$enable_tools" = xno || wine_fn_ignore_file "tools/wineapploader$ac_exeext"
17454 test "x$enable_tools" = xno || wine_fn_ignore_file "tools/winegcc/winecpp$ac_exeext"
17455 test "x$enable_tools" = xno || wine_fn_ignore_file "tools/winegcc/wineg++$ac_exeext"
17457 ac_config_commands="$ac_config_commands Makefile"
17460 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17464 if test "x$enable_maintainer_mode" = xyes
17465 then
17466 wine_fn_append_rule "configure: configure.ac aclocal.m4
17467 autoconf --warnings=all
17468 include/config.h.in: include/stamp-h.in
17469 include/stamp-h.in: configure.ac aclocal.m4
17470 autoheader --warnings=all
17471 @echo timestamp > \$@"
17474 if test "x$with_gettextpo" = xyes
17475 then
17476 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17477 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
17478 \$(LINGUAS:%=po/%.po): po/wine.pot
17479 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17480 po/wine.pot: \$(ALL_POT_FILES)
17481 msgcat -o \$@ \$(ALL_POT_FILES)"
17484 if test "$MSGFMT" != false
17485 then
17486 PORCFLAGS="--po-dir=\$(top_builddir)/po"
17488 wine_fn_append_rule "__builddeps__: \$(ALL_MO_FILES)
17489 clean::
17490 \$(RM) \$(ALL_MO_FILES)"
17492 posrc="po"
17493 test "$srcdir" = . || posrc="$srcdir/po"
17494 for i in $LINGUAS
17496 wine_fn_ignore_file "po/$i.mo"
17497 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
17498 \$(MSGFMT) -o \$@ $posrc/$i.po"
17499 done
17500 else
17501 LINGUAS=
17504 if test "x$enable_tools" != xno
17505 then
17506 ac_config_commands="$ac_config_commands tools"
17508 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h
17509 \$(CC) -Iinclude -I$srcdir/include -D__WINESRC__ \$(EXTRACFLAGS) \$(CPPFLAGS) \$(CFLAGS) -o \$@ $srcdir/tools/makedep.c \$(LDFLAGS)
17510 clean:: __clean__
17511 \$(RM) tools/makedep$ac_exeext"
17512 else
17513 wine_fn_append_rule "\$(MAKEDEP):
17514 @echo \"You need to run make in $TOOLSDIR first\" && false"
17517 if test -n "$with_wine64"
17518 then
17519 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17520 fonts server tools:
17521 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17522 $with_wine64/loader/wine:
17523 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17524 $with_wine64/loader/wine-preloader:
17525 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17526 clean::
17527 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17528 else
17529 as_fn_append LOADER_RULES "
17530 all: wine.inf
17532 install install-lib:: wine.inf install-man-pages
17533 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17534 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17536 uninstall::
17537 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17541 if test "$srcdir" = .
17542 then
17543 ac_config_commands="$ac_config_commands .gitignore"
17547 $as_echo " done" >&6
17548 cat >confcache <<\_ACEOF
17549 # This file is a shell script that caches the results of configure
17550 # tests run on this system so they can be shared between configure
17551 # scripts and configure runs, see configure's option --config-cache.
17552 # It is not useful on other systems. If it contains results you don't
17553 # want to keep, you may remove or edit it.
17555 # config.status only pays attention to the cache file if you give it
17556 # the --recheck option to rerun configure.
17558 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17559 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17560 # following values.
17562 _ACEOF
17564 # The following way of writing the cache mishandles newlines in values,
17565 # but we know of no workaround that is simple, portable, and efficient.
17566 # So, we kill variables containing newlines.
17567 # Ultrix sh set writes to stderr and can't be redirected directly,
17568 # and sets the high bit in the cache file unless we assign to the vars.
17570 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17571 eval ac_val=\$$ac_var
17572 case $ac_val in #(
17573 *${as_nl}*)
17574 case $ac_var in #(
17575 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17576 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17577 esac
17578 case $ac_var in #(
17579 _ | IFS | as_nl) ;; #(
17580 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17581 *) { eval $ac_var=; unset $ac_var;} ;;
17582 esac ;;
17583 esac
17584 done
17586 (set) 2>&1 |
17587 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17588 *${as_nl}ac_space=\ *)
17589 # `set' does not quote correctly, so add quotes: double-quote
17590 # substitution turns \\\\ into \\, and sed turns \\ into \.
17591 sed -n \
17592 "s/'/'\\\\''/g;
17593 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17594 ;; #(
17596 # `set' quotes correctly as required by POSIX, so do not add quotes.
17597 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17599 esac |
17600 sort
17602 sed '
17603 /^ac_cv_env_/b end
17604 t clear
17605 :clear
17606 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17607 t end
17608 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17609 :end' >>confcache
17610 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17611 if test -w "$cache_file"; then
17612 if test "x$cache_file" != "x/dev/null"; then
17613 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17614 $as_echo "$as_me: updating cache $cache_file" >&6;}
17615 if test ! -f "$cache_file" || test -h "$cache_file"; then
17616 cat confcache >"$cache_file"
17617 else
17618 case $cache_file in #(
17619 */* | ?:*)
17620 mv -f confcache "$cache_file"$$ &&
17621 mv -f "$cache_file"$$ "$cache_file" ;; #(
17623 mv -f confcache "$cache_file" ;;
17624 esac
17627 else
17628 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17629 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17632 rm -f confcache
17634 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17635 # Let make expand exec_prefix.
17636 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17638 DEFS=-DHAVE_CONFIG_H
17640 ac_libobjs=
17641 ac_ltlibobjs=
17643 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17644 # 1. Remove the extension, and $U if already installed.
17645 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17646 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17647 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17648 # will be set to the directory where LIBOBJS objects are built.
17649 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17650 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17651 done
17652 LIBOBJS=$ac_libobjs
17654 LTLIBOBJS=$ac_ltlibobjs
17658 : "${CONFIG_STATUS=./config.status}"
17659 ac_write_fail=0
17660 ac_clean_files_save=$ac_clean_files
17661 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17662 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17663 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17664 as_write_fail=0
17665 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17666 #! $SHELL
17667 # Generated by $as_me.
17668 # Run this file to recreate the current configuration.
17669 # Compiler output produced by configure, useful for debugging
17670 # configure, is in config.log if it exists.
17672 debug=false
17673 ac_cs_recheck=false
17674 ac_cs_silent=false
17676 SHELL=\${CONFIG_SHELL-$SHELL}
17677 export SHELL
17678 _ASEOF
17679 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17680 ## -------------------- ##
17681 ## M4sh Initialization. ##
17682 ## -------------------- ##
17684 # Be more Bourne compatible
17685 DUALCASE=1; export DUALCASE # for MKS sh
17686 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17687 emulate sh
17688 NULLCMD=:
17689 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17690 # is contrary to our usage. Disable this feature.
17691 alias -g '${1+"$@"}'='"$@"'
17692 setopt NO_GLOB_SUBST
17693 else
17694 case `(set -o) 2>/dev/null` in #(
17695 *posix*) :
17696 set -o posix ;; #(
17697 *) :
17699 esac
17703 as_nl='
17705 export as_nl
17706 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17707 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17708 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17709 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17710 # Prefer a ksh shell builtin over an external printf program on Solaris,
17711 # but without wasting forks for bash or zsh.
17712 if test -z "$BASH_VERSION$ZSH_VERSION" \
17713 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17714 as_echo='print -r --'
17715 as_echo_n='print -rn --'
17716 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17717 as_echo='printf %s\n'
17718 as_echo_n='printf %s'
17719 else
17720 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17721 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17722 as_echo_n='/usr/ucb/echo -n'
17723 else
17724 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17725 as_echo_n_body='eval
17726 arg=$1;
17727 case $arg in #(
17728 *"$as_nl"*)
17729 expr "X$arg" : "X\\(.*\\)$as_nl";
17730 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17731 esac;
17732 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17734 export as_echo_n_body
17735 as_echo_n='sh -c $as_echo_n_body as_echo'
17737 export as_echo_body
17738 as_echo='sh -c $as_echo_body as_echo'
17741 # The user is always right.
17742 if test "${PATH_SEPARATOR+set}" != set; then
17743 PATH_SEPARATOR=:
17744 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17745 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17746 PATH_SEPARATOR=';'
17751 # IFS
17752 # We need space, tab and new line, in precisely that order. Quoting is
17753 # there to prevent editors from complaining about space-tab.
17754 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17755 # splitting by setting IFS to empty value.)
17756 IFS=" "" $as_nl"
17758 # Find who we are. Look in the path if we contain no directory separator.
17759 as_myself=
17760 case $0 in #((
17761 *[\\/]* ) as_myself=$0 ;;
17762 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17763 for as_dir in $PATH
17765 IFS=$as_save_IFS
17766 test -z "$as_dir" && as_dir=.
17767 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17768 done
17769 IFS=$as_save_IFS
17772 esac
17773 # We did not find ourselves, most probably we were run as `sh COMMAND'
17774 # in which case we are not to be found in the path.
17775 if test "x$as_myself" = x; then
17776 as_myself=$0
17778 if test ! -f "$as_myself"; then
17779 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17780 exit 1
17783 # Unset variables that we do not need and which cause bugs (e.g. in
17784 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17785 # suppresses any "Segmentation fault" message there. '((' could
17786 # trigger a bug in pdksh 5.2.14.
17787 for as_var in BASH_ENV ENV MAIL MAILPATH
17788 do eval test x\${$as_var+set} = xset \
17789 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17790 done
17791 PS1='$ '
17792 PS2='> '
17793 PS4='+ '
17795 # NLS nuisances.
17796 LC_ALL=C
17797 export LC_ALL
17798 LANGUAGE=C
17799 export LANGUAGE
17801 # CDPATH.
17802 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17805 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17806 # ----------------------------------------
17807 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17808 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17809 # script with STATUS, using 1 if that was 0.
17810 as_fn_error ()
17812 as_status=$1; test $as_status -eq 0 && as_status=1
17813 if test "$4"; then
17814 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17815 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17817 $as_echo "$as_me: error: $2" >&2
17818 as_fn_exit $as_status
17819 } # as_fn_error
17822 # as_fn_set_status STATUS
17823 # -----------------------
17824 # Set $? to STATUS, without forking.
17825 as_fn_set_status ()
17827 return $1
17828 } # as_fn_set_status
17830 # as_fn_exit STATUS
17831 # -----------------
17832 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17833 as_fn_exit ()
17835 set +e
17836 as_fn_set_status $1
17837 exit $1
17838 } # as_fn_exit
17840 # as_fn_unset VAR
17841 # ---------------
17842 # Portably unset VAR.
17843 as_fn_unset ()
17845 { eval $1=; unset $1;}
17847 as_unset=as_fn_unset
17848 # as_fn_append VAR VALUE
17849 # ----------------------
17850 # Append the text in VALUE to the end of the definition contained in VAR. Take
17851 # advantage of any shell optimizations that allow amortized linear growth over
17852 # repeated appends, instead of the typical quadratic growth present in naive
17853 # implementations.
17854 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17855 eval 'as_fn_append ()
17857 eval $1+=\$2
17859 else
17860 as_fn_append ()
17862 eval $1=\$$1\$2
17864 fi # as_fn_append
17866 # as_fn_arith ARG...
17867 # ------------------
17868 # Perform arithmetic evaluation on the ARGs, and store the result in the
17869 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17870 # must be portable across $(()) and expr.
17871 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17872 eval 'as_fn_arith ()
17874 as_val=$(( $* ))
17876 else
17877 as_fn_arith ()
17879 as_val=`expr "$@" || test $? -eq 1`
17881 fi # as_fn_arith
17884 if expr a : '\(a\)' >/dev/null 2>&1 &&
17885 test "X`expr 00001 : '.*\(...\)'`" = X001; then
17886 as_expr=expr
17887 else
17888 as_expr=false
17891 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17892 as_basename=basename
17893 else
17894 as_basename=false
17897 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17898 as_dirname=dirname
17899 else
17900 as_dirname=false
17903 as_me=`$as_basename -- "$0" ||
17904 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17905 X"$0" : 'X\(//\)$' \| \
17906 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17907 $as_echo X/"$0" |
17908 sed '/^.*\/\([^/][^/]*\)\/*$/{
17909 s//\1/
17912 /^X\/\(\/\/\)$/{
17913 s//\1/
17916 /^X\/\(\/\).*/{
17917 s//\1/
17920 s/.*/./; q'`
17922 # Avoid depending upon Character Ranges.
17923 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17924 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17925 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17926 as_cr_digits='0123456789'
17927 as_cr_alnum=$as_cr_Letters$as_cr_digits
17929 ECHO_C= ECHO_N= ECHO_T=
17930 case `echo -n x` in #(((((
17931 -n*)
17932 case `echo 'xy\c'` in
17933 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
17934 xy) ECHO_C='\c';;
17935 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
17936 ECHO_T=' ';;
17937 esac;;
17939 ECHO_N='-n';;
17940 esac
17942 rm -f conf$$ conf$$.exe conf$$.file
17943 if test -d conf$$.dir; then
17944 rm -f conf$$.dir/conf$$.file
17945 else
17946 rm -f conf$$.dir
17947 mkdir conf$$.dir 2>/dev/null
17949 if (echo >conf$$.file) 2>/dev/null; then
17950 if ln -s conf$$.file conf$$ 2>/dev/null; then
17951 as_ln_s='ln -s'
17952 # ... but there are two gotchas:
17953 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17954 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17955 # In both cases, we have to default to `cp -pR'.
17956 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17957 as_ln_s='cp -pR'
17958 elif ln conf$$.file conf$$ 2>/dev/null; then
17959 as_ln_s=ln
17960 else
17961 as_ln_s='cp -pR'
17963 else
17964 as_ln_s='cp -pR'
17966 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17967 rmdir conf$$.dir 2>/dev/null
17970 # as_fn_mkdir_p
17971 # -------------
17972 # Create "$as_dir" as a directory, including parents if necessary.
17973 as_fn_mkdir_p ()
17976 case $as_dir in #(
17977 -*) as_dir=./$as_dir;;
17978 esac
17979 test -d "$as_dir" || eval $as_mkdir_p || {
17980 as_dirs=
17981 while :; do
17982 case $as_dir in #(
17983 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17984 *) as_qdir=$as_dir;;
17985 esac
17986 as_dirs="'$as_qdir' $as_dirs"
17987 as_dir=`$as_dirname -- "$as_dir" ||
17988 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17989 X"$as_dir" : 'X\(//\)[^/]' \| \
17990 X"$as_dir" : 'X\(//\)$' \| \
17991 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17992 $as_echo X"$as_dir" |
17993 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17994 s//\1/
17997 /^X\(\/\/\)[^/].*/{
17998 s//\1/
18001 /^X\(\/\/\)$/{
18002 s//\1/
18005 /^X\(\/\).*/{
18006 s//\1/
18009 s/.*/./; q'`
18010 test -d "$as_dir" && break
18011 done
18012 test -z "$as_dirs" || eval "mkdir $as_dirs"
18013 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18016 } # as_fn_mkdir_p
18017 if mkdir -p . 2>/dev/null; then
18018 as_mkdir_p='mkdir -p "$as_dir"'
18019 else
18020 test -d ./-p && rmdir ./-p
18021 as_mkdir_p=false
18025 # as_fn_executable_p FILE
18026 # -----------------------
18027 # Test if FILE is an executable regular file.
18028 as_fn_executable_p ()
18030 test -f "$1" && test -x "$1"
18031 } # as_fn_executable_p
18032 as_test_x='test -x'
18033 as_executable_p=as_fn_executable_p
18035 # Sed expression to map a string onto a valid CPP name.
18036 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18038 # Sed expression to map a string onto a valid variable name.
18039 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18042 exec 6>&1
18043 ## ----------------------------------- ##
18044 ## Main body of $CONFIG_STATUS script. ##
18045 ## ----------------------------------- ##
18046 _ASEOF
18047 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18049 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18050 # Save the log message, to keep $0 and so on meaningful, and to
18051 # report actual input values of CONFIG_FILES etc. instead of their
18052 # values after options handling.
18053 ac_log="
18054 This file was extended by Wine $as_me 1.7.9, which was
18055 generated by GNU Autoconf 2.69. Invocation command line was
18057 CONFIG_FILES = $CONFIG_FILES
18058 CONFIG_HEADERS = $CONFIG_HEADERS
18059 CONFIG_LINKS = $CONFIG_LINKS
18060 CONFIG_COMMANDS = $CONFIG_COMMANDS
18061 $ $0 $@
18063 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18066 _ACEOF
18068 case $ac_config_files in *"
18069 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18070 esac
18072 case $ac_config_headers in *"
18073 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18074 esac
18077 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18078 # Files that config.status was made for.
18079 config_files="$ac_config_files"
18080 config_headers="$ac_config_headers"
18081 config_links="$ac_config_links"
18082 config_commands="$ac_config_commands"
18084 _ACEOF
18086 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18087 ac_cs_usage="\
18088 \`$as_me' instantiates files and other configuration actions
18089 from templates according to the current configuration. Unless the files
18090 and actions are specified as TAGs, all are instantiated by default.
18092 Usage: $0 [OPTION]... [TAG]...
18094 -h, --help print this help, then exit
18095 -V, --version print version number and configuration settings, then exit
18096 --config print configuration, then exit
18097 -q, --quiet, --silent
18098 do not print progress messages
18099 -d, --debug don't remove temporary files
18100 --recheck update $as_me by reconfiguring in the same conditions
18101 --file=FILE[:TEMPLATE]
18102 instantiate the configuration file FILE
18103 --header=FILE[:TEMPLATE]
18104 instantiate the configuration header FILE
18106 Configuration files:
18107 $config_files
18109 Configuration headers:
18110 $config_headers
18112 Configuration links:
18113 $config_links
18115 Configuration commands:
18116 $config_commands
18118 Report bugs to <wine-devel@winehq.org>.
18119 Wine home page: <http://www.winehq.org>."
18121 _ACEOF
18122 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18123 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18124 ac_cs_version="\\
18125 Wine config.status 1.7.9
18126 configured by $0, generated by GNU Autoconf 2.69,
18127 with options \\"\$ac_cs_config\\"
18129 Copyright (C) 2012 Free Software Foundation, Inc.
18130 This config.status script is free software; the Free Software Foundation
18131 gives unlimited permission to copy, distribute and modify it."
18133 ac_pwd='$ac_pwd'
18134 srcdir='$srcdir'
18135 MKDIR_P='$MKDIR_P'
18136 test -n "\$AWK" || AWK=awk
18137 _ACEOF
18139 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18140 # The default lists apply if the user does not specify any file.
18141 ac_need_defaults=:
18142 while test $# != 0
18144 case $1 in
18145 --*=?*)
18146 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18147 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18148 ac_shift=:
18150 --*=)
18151 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18152 ac_optarg=
18153 ac_shift=:
18156 ac_option=$1
18157 ac_optarg=$2
18158 ac_shift=shift
18160 esac
18162 case $ac_option in
18163 # Handling of the options.
18164 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18165 ac_cs_recheck=: ;;
18166 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18167 $as_echo "$ac_cs_version"; exit ;;
18168 --config | --confi | --conf | --con | --co | --c )
18169 $as_echo "$ac_cs_config"; exit ;;
18170 --debug | --debu | --deb | --de | --d | -d )
18171 debug=: ;;
18172 --file | --fil | --fi | --f )
18173 $ac_shift
18174 case $ac_optarg in
18175 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18176 '') as_fn_error $? "missing file argument" ;;
18177 esac
18178 as_fn_append CONFIG_FILES " '$ac_optarg'"
18179 ac_need_defaults=false;;
18180 --header | --heade | --head | --hea )
18181 $ac_shift
18182 case $ac_optarg in
18183 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18184 esac
18185 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18186 ac_need_defaults=false;;
18187 --he | --h)
18188 # Conflict between --help and --header
18189 as_fn_error $? "ambiguous option: \`$1'
18190 Try \`$0 --help' for more information.";;
18191 --help | --hel | -h )
18192 $as_echo "$ac_cs_usage"; exit ;;
18193 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18194 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18195 ac_cs_silent=: ;;
18197 # This is an error.
18198 -*) as_fn_error $? "unrecognized option: \`$1'
18199 Try \`$0 --help' for more information." ;;
18201 *) as_fn_append ac_config_targets " $1"
18202 ac_need_defaults=false ;;
18204 esac
18205 shift
18206 done
18208 ac_configure_extra_args=
18210 if $ac_cs_silent; then
18211 exec 6>/dev/null
18212 ac_configure_extra_args="$ac_configure_extra_args --silent"
18215 _ACEOF
18216 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18217 if \$ac_cs_recheck; then
18218 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18219 shift
18220 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18221 CONFIG_SHELL='$SHELL'
18222 export CONFIG_SHELL
18223 exec "\$@"
18226 _ACEOF
18227 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18228 exec 5>>config.log
18230 echo
18231 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18232 ## Running $as_me. ##
18233 _ASBOX
18234 $as_echo "$ac_log"
18235 } >&5
18237 _ACEOF
18238 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18240 # INIT-COMMANDS
18242 wine_fn_output_makefile ()
18244 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && return
18245 `cat $wine_rules_file`
18246 _WINE_EOF
18247 as_fn_error $? "could not create Makefile" "$LINENO" 5
18249 wine_fn_output_gitignore ()
18251 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18252 $GITIGNORE
18253 _WINE_EOF
18254 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18257 _ACEOF
18259 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18261 # Handling of arguments.
18262 for ac_config_target in $ac_config_targets
18264 case $ac_config_target in
18265 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18266 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
18267 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18268 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18269 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18270 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18271 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18272 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18273 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
18274 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18275 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
18276 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
18277 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18278 "tools") CONFIG_COMMANDS="$CONFIG_COMMANDS tools" ;;
18279 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
18281 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18282 esac
18283 done
18286 # If the user did not use the arguments to specify the items to instantiate,
18287 # then the envvar interface is used. Set only those that are not.
18288 # We use the long form for the default assignment because of an extremely
18289 # bizarre bug on SunOS 4.1.3.
18290 if $ac_need_defaults; then
18291 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18292 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18293 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18294 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18297 # Have a temporary directory for convenience. Make it in the build tree
18298 # simply because there is no reason against having it here, and in addition,
18299 # creating and moving files from /tmp can sometimes cause problems.
18300 # Hook for its removal unless debugging.
18301 # Note that there is a small window in which the directory will not be cleaned:
18302 # after its creation but before its name has been assigned to `$tmp'.
18303 $debug ||
18305 tmp= ac_tmp=
18306 trap 'exit_status=$?
18307 : "${ac_tmp:=$tmp}"
18308 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18310 trap 'as_fn_exit 1' 1 2 13 15
18312 # Create a (secure) tmp directory for tmp files.
18315 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18316 test -d "$tmp"
18317 } ||
18319 tmp=./conf$$-$RANDOM
18320 (umask 077 && mkdir "$tmp")
18321 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18322 ac_tmp=$tmp
18324 # Set up the scripts for CONFIG_FILES section.
18325 # No need to generate them if there are no CONFIG_FILES.
18326 # This happens for instance with `./config.status config.h'.
18327 if test -n "$CONFIG_FILES"; then
18329 if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
18330 ac_cs_awk_getline=:
18331 ac_cs_awk_pipe_init=
18332 ac_cs_awk_read_file='
18333 while ((getline aline < (F[key])) > 0)
18334 print(aline)
18335 close(F[key])'
18336 ac_cs_awk_pipe_fini=
18337 else
18338 ac_cs_awk_getline=false
18339 ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
18340 ac_cs_awk_read_file='
18341 print "|#_!!_#|"
18342 print "cat " F[key] " &&"
18343 '$ac_cs_awk_pipe_init
18344 # The final `:' finishes the AND list.
18345 ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
18347 ac_cr=`echo X | tr X '\015'`
18348 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18349 # But we know of no other shell where ac_cr would be empty at this
18350 # point, so we can use a bashism as a fallback.
18351 if test "x$ac_cr" = x; then
18352 eval ac_cr=\$\'\\r\'
18354 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18355 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18356 ac_cs_awk_cr='\\r'
18357 else
18358 ac_cs_awk_cr=$ac_cr
18361 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18362 _ACEOF
18364 # Create commands to substitute file output variables.
18366 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
18367 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
18368 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
18369 echo "_ACAWK" &&
18370 echo "_ACEOF"
18371 } >conf$$files.sh &&
18372 . ./conf$$files.sh ||
18373 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18374 rm -f conf$$files.sh
18377 echo "cat >conf$$subs.awk <<_ACEOF" &&
18378 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18379 echo "_ACEOF"
18380 } >conf$$subs.sh ||
18381 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18382 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18383 ac_delim='%!_!# '
18384 for ac_last_try in false false false false false :; do
18385 . ./conf$$subs.sh ||
18386 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18388 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18389 if test $ac_delim_n = $ac_delim_num; then
18390 break
18391 elif $ac_last_try; then
18392 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18393 else
18394 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18396 done
18397 rm -f conf$$subs.sh
18399 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18400 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18401 _ACEOF
18402 sed -n '
18404 s/^/S["/; s/!.*/"]=/
18407 s/^[^!]*!//
18408 :repl
18409 t repl
18410 s/'"$ac_delim"'$//
18411 t delim
18414 s/\(.\{148\}\)..*/\1/
18415 t more1
18416 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18419 b repl
18420 :more1
18421 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18424 s/.\{148\}//
18425 t nl
18426 :delim
18428 s/\(.\{148\}\)..*/\1/
18429 t more2
18430 s/["\\]/\\&/g; s/^/"/; s/$/"/
18433 :more2
18434 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18437 s/.\{148\}//
18438 t delim
18439 ' <conf$$subs.awk | sed '
18440 /^[^""]/{
18442 s/\n//
18444 ' >>$CONFIG_STATUS || ac_write_fail=1
18445 rm -f conf$$subs.awk
18446 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18447 _ACAWK
18448 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18449 for (key in S) S_is_set[key] = 1
18450 FS = "\a"
18451 \$ac_cs_awk_pipe_init
18454 line = $ 0
18455 nfields = split(line, field, "@")
18456 substed = 0
18457 len = length(field[1])
18458 for (i = 2; i < nfields; i++) {
18459 key = field[i]
18460 keylen = length(key)
18461 if (S_is_set[key]) {
18462 value = S[key]
18463 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18464 len += length(value) + length(field[++i])
18465 substed = 1
18466 } else
18467 len += 1 + keylen
18469 if (nfields == 3 && !substed) {
18470 key = field[2]
18471 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
18472 \$ac_cs_awk_read_file
18473 next
18476 print line
18478 \$ac_cs_awk_pipe_fini
18479 _ACAWK
18480 _ACEOF
18481 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18482 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18483 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18484 else
18486 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18487 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18488 _ACEOF
18490 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18491 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18492 # trailing colons and then remove the whole line if VPATH becomes empty
18493 # (actually we leave an empty line to preserve line numbers).
18494 if test "x$srcdir" = x.; then
18495 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18497 s///
18498 s/^/:/
18499 s/[ ]*$/:/
18500 s/:\$(srcdir):/:/g
18501 s/:\${srcdir}:/:/g
18502 s/:@srcdir@:/:/g
18503 s/^:*//
18504 s/:*$//
18506 s/\(=[ ]*\).*/\1/
18508 s/\n//
18509 s/^[^=]*=[ ]*$//
18513 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18514 fi # test -n "$CONFIG_FILES"
18516 # Set up the scripts for CONFIG_HEADERS section.
18517 # No need to generate them if there are no CONFIG_HEADERS.
18518 # This happens for instance with `./config.status Makefile'.
18519 if test -n "$CONFIG_HEADERS"; then
18520 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18521 BEGIN {
18522 _ACEOF
18524 # Transform confdefs.h into an awk script `defines.awk', embedded as
18525 # here-document in config.status, that substitutes the proper values into
18526 # config.h.in to produce config.h.
18528 # Create a delimiter string that does not exist in confdefs.h, to ease
18529 # handling of long lines.
18530 ac_delim='%!_!# '
18531 for ac_last_try in false false :; do
18532 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18533 if test -z "$ac_tt"; then
18534 break
18535 elif $ac_last_try; then
18536 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18537 else
18538 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18540 done
18542 # For the awk script, D is an array of macro values keyed by name,
18543 # likewise P contains macro parameters if any. Preserve backslash
18544 # newline sequences.
18546 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18547 sed -n '
18548 s/.\{148\}/&'"$ac_delim"'/g
18549 t rset
18550 :rset
18551 s/^[ ]*#[ ]*define[ ][ ]*/ /
18552 t def
18554 :def
18555 s/\\$//
18556 t bsnl
18557 s/["\\]/\\&/g
18558 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18559 D["\1"]=" \3"/p
18560 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18562 :bsnl
18563 s/["\\]/\\&/g
18564 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18565 D["\1"]=" \3\\\\\\n"\\/p
18566 t cont
18567 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18568 t cont
18570 :cont
18572 s/.\{148\}/&'"$ac_delim"'/g
18573 t clear
18574 :clear
18575 s/\\$//
18576 t bsnlc
18577 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18579 :bsnlc
18580 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18581 b cont
18582 ' <confdefs.h | sed '
18583 s/'"$ac_delim"'/"\\\
18584 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18586 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18587 for (key in D) D_is_set[key] = 1
18588 FS = "\a"
18590 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18591 line = \$ 0
18592 split(line, arg, " ")
18593 if (arg[1] == "#") {
18594 defundef = arg[2]
18595 mac1 = arg[3]
18596 } else {
18597 defundef = substr(arg[1], 2)
18598 mac1 = arg[2]
18600 split(mac1, mac2, "(") #)
18601 macro = mac2[1]
18602 prefix = substr(line, 1, index(line, defundef) - 1)
18603 if (D_is_set[macro]) {
18604 # Preserve the white space surrounding the "#".
18605 print prefix "define", macro P[macro] D[macro]
18606 next
18607 } else {
18608 # Replace #undef with comments. This is necessary, for example,
18609 # in the case of _POSIX_SOURCE, which is predefined and required
18610 # on some systems where configure will not decide to define it.
18611 if (defundef == "undef") {
18612 print "/*", prefix defundef, macro, "*/"
18613 next
18617 { print }
18618 _ACAWK
18619 _ACEOF
18620 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18621 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18622 fi # test -n "$CONFIG_HEADERS"
18625 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18626 shift
18627 for ac_tag
18629 case $ac_tag in
18630 :[FHLC]) ac_mode=$ac_tag; continue;;
18631 esac
18632 case $ac_mode$ac_tag in
18633 :[FHL]*:*);;
18634 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18635 :[FH]-) ac_tag=-:-;;
18636 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18637 esac
18638 ac_save_IFS=$IFS
18639 IFS=:
18640 set x $ac_tag
18641 IFS=$ac_save_IFS
18642 shift
18643 ac_file=$1
18644 shift
18646 case $ac_mode in
18647 :L) ac_source=$1;;
18648 :[FH])
18649 ac_file_inputs=
18650 for ac_f
18652 case $ac_f in
18653 -) ac_f="$ac_tmp/stdin";;
18654 *) # Look for the file first in the build tree, then in the source tree
18655 # (if the path is not absolute). The absolute path cannot be DOS-style,
18656 # because $ac_f cannot contain `:'.
18657 test -f "$ac_f" ||
18658 case $ac_f in
18659 [\\/$]*) false;;
18660 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18661 esac ||
18662 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18663 esac
18664 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18665 as_fn_append ac_file_inputs " '$ac_f'"
18666 done
18668 # Let's still pretend it is `configure' which instantiates (i.e., don't
18669 # use $as_me), people would be surprised to read:
18670 # /* config.h. Generated by config.status. */
18671 configure_input='Generated from '`
18672 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18673 `' by configure.'
18674 if test x"$ac_file" != x-; then
18675 configure_input="$ac_file. $configure_input"
18676 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18677 $as_echo "$as_me: creating $ac_file" >&6;}
18679 # Neutralize special characters interpreted by sed in replacement strings.
18680 case $configure_input in #(
18681 *\&* | *\|* | *\\* )
18682 ac_sed_conf_input=`$as_echo "$configure_input" |
18683 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18684 *) ac_sed_conf_input=$configure_input;;
18685 esac
18687 case $ac_tag in
18688 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18689 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18690 esac
18692 esac
18694 ac_dir=`$as_dirname -- "$ac_file" ||
18695 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18696 X"$ac_file" : 'X\(//\)[^/]' \| \
18697 X"$ac_file" : 'X\(//\)$' \| \
18698 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18699 $as_echo X"$ac_file" |
18700 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18701 s//\1/
18704 /^X\(\/\/\)[^/].*/{
18705 s//\1/
18708 /^X\(\/\/\)$/{
18709 s//\1/
18712 /^X\(\/\).*/{
18713 s//\1/
18716 s/.*/./; q'`
18717 as_dir="$ac_dir"; as_fn_mkdir_p
18718 ac_builddir=.
18720 case "$ac_dir" in
18721 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18723 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18724 # A ".." for each directory in $ac_dir_suffix.
18725 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18726 case $ac_top_builddir_sub in
18727 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18728 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18729 esac ;;
18730 esac
18731 ac_abs_top_builddir=$ac_pwd
18732 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18733 # for backward compatibility:
18734 ac_top_builddir=$ac_top_build_prefix
18736 case $srcdir in
18737 .) # We are building in place.
18738 ac_srcdir=.
18739 ac_top_srcdir=$ac_top_builddir_sub
18740 ac_abs_top_srcdir=$ac_pwd ;;
18741 [\\/]* | ?:[\\/]* ) # Absolute name.
18742 ac_srcdir=$srcdir$ac_dir_suffix;
18743 ac_top_srcdir=$srcdir
18744 ac_abs_top_srcdir=$srcdir ;;
18745 *) # Relative name.
18746 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18747 ac_top_srcdir=$ac_top_build_prefix$srcdir
18748 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18749 esac
18750 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18753 case $ac_mode in
18756 # CONFIG_FILE
18759 ac_MKDIR_P=$MKDIR_P
18760 case $MKDIR_P in
18761 [\\/$]* | ?:[\\/]* ) ;;
18762 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18763 esac
18764 _ACEOF
18766 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18767 # If the template does not know about datarootdir, expand it.
18768 # FIXME: This hack should be removed a few years after 2.60.
18769 ac_datarootdir_hack=; ac_datarootdir_seen=
18770 ac_sed_dataroot='
18771 /datarootdir/ {
18775 /@datadir@/p
18776 /@docdir@/p
18777 /@infodir@/p
18778 /@localedir@/p
18779 /@mandir@/p'
18780 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18781 *datarootdir*) ac_datarootdir_seen=yes;;
18782 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18783 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18784 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18785 _ACEOF
18786 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18787 ac_datarootdir_hack='
18788 s&@datadir@&$datadir&g
18789 s&@docdir@&$docdir&g
18790 s&@infodir@&$infodir&g
18791 s&@localedir@&$localedir&g
18792 s&@mandir@&$mandir&g
18793 s&\\\${datarootdir}&$datarootdir&g' ;;
18794 esac
18795 _ACEOF
18797 # Neutralize VPATH when `$srcdir' = `.'.
18798 # Shell code in configure.ac might set extrasub.
18799 # FIXME: do we really want to maintain this feature?
18800 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18801 ac_sed_extra="$ac_vpsub
18802 $extrasub
18803 _ACEOF
18804 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18806 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18807 s|@configure_input@|$ac_sed_conf_input|;t t
18808 s&@top_builddir@&$ac_top_builddir_sub&;t t
18809 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18810 s&@srcdir@&$ac_srcdir&;t t
18811 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18812 s&@top_srcdir@&$ac_top_srcdir&;t t
18813 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18814 s&@builddir@&$ac_builddir&;t t
18815 s&@abs_builddir@&$ac_abs_builddir&;t t
18816 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18817 s&@MKDIR_P@&$ac_MKDIR_P&;t t
18818 $ac_datarootdir_hack
18820 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
18821 if $ac_cs_awk_getline; then
18822 $AWK -f "$ac_tmp/subs.awk"
18823 else
18824 $AWK -f "$ac_tmp/subs.awk" | $SHELL
18825 fi \
18826 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18828 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18829 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18830 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18831 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18832 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18833 which seems to be undefined. Please make sure it is defined" >&5
18834 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18835 which seems to be undefined. Please make sure it is defined" >&2;}
18837 rm -f "$ac_tmp/stdin"
18838 case $ac_file in
18839 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18840 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18841 esac \
18842 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18846 # CONFIG_HEADER
18848 if test x"$ac_file" != x-; then
18850 $as_echo "/* $configure_input */" \
18851 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18852 } >"$ac_tmp/config.h" \
18853 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18854 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18855 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18856 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18857 else
18858 rm -f "$ac_file"
18859 mv "$ac_tmp/config.h" "$ac_file" \
18860 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18862 else
18863 $as_echo "/* $configure_input */" \
18864 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18865 || as_fn_error $? "could not create -" "$LINENO" 5
18870 # CONFIG_LINK
18873 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
18875 else
18876 # Prefer the file from the source tree if names are identical.
18877 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
18878 ac_source=$srcdir/$ac_source
18881 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
18882 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
18884 if test ! -r "$ac_source"; then
18885 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
18887 rm -f "$ac_file"
18889 # Try a relative symlink, then a hard link, then a copy.
18890 case $ac_source in
18891 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
18892 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
18893 esac
18894 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
18895 ln "$ac_source" "$ac_file" 2>/dev/null ||
18896 cp -p "$ac_source" "$ac_file" ||
18897 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
18900 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18901 $as_echo "$as_me: executing $ac_file commands" >&6;}
18903 esac
18906 case $ac_file$ac_mode in
18907 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
18908 "Makefile":C) wine_fn_output_makefile Makefile ;;
18909 "tools":C) as_dir=tools; as_fn_mkdir_p ;;
18910 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
18912 esac
18913 done # for ac_tag
18916 as_fn_exit 0
18917 _ACEOF
18918 ac_clean_files=$ac_clean_files_save
18920 test $ac_write_fail = 0 ||
18921 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18924 # configure is writing to config.log, and then calls config.status.
18925 # config.status does its own redirection, appending to config.log.
18926 # Unfortunately, on DOS this fails, as config.log is still kept open
18927 # by configure, so config.status won't be able to write to it; its
18928 # output is simply discarded. So we exec the FD to /dev/null,
18929 # effectively closing config.log, so it can be properly (re)opened and
18930 # appended to by config.status. When coming back to configure, we
18931 # need to make the FD available again.
18932 if test "$no_create" != yes; then
18933 ac_cs_success=:
18934 ac_config_status_args=
18935 test "$silent" = yes &&
18936 ac_config_status_args="$ac_config_status_args --quiet"
18937 exec 5>/dev/null
18938 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18939 exec 5>>config.log
18940 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18941 # would make configure fail if this is the last instruction.
18942 $ac_cs_success || as_fn_exit 1
18944 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18945 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18946 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18950 if test "$no_create" = "yes"
18951 then
18952 exit 0
18955 ac_save_IFS="$IFS"
18956 if test "x$wine_notices != "x; then
18957 echo >&6
18958 IFS="|"
18959 for msg in $wine_notices; do
18960 IFS="$ac_save_IFS"
18961 if test -n "$msg"; then
18962 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
18963 $as_echo "$as_me: $msg" >&6;}
18965 done
18967 IFS="|"
18968 for msg in $wine_warnings; do
18969 IFS="$ac_save_IFS"
18970 if test -n "$msg"; then
18971 echo >&2
18972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
18973 $as_echo "$as_me: WARNING: $msg" >&2;}
18975 done
18976 IFS="$ac_save_IFS"
18978 $as_echo "
18979 $as_me: Finished. Do '${ac_make}' to compile Wine.
18980 " >&6