2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.65 for Wine 1.1.41.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE
=1; export DUALCASE
# for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print
-rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
57 as_echo_n='/usr
/ucb
/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
70 as_echo_n='sh
-c $as_echo_n_body as_echo
'
73 as_echo='sh
-c $as_echo_body as_echo
'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x
; then
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var
in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\
${$as_var+set} = xset \
123 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
136 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
138 if test "x$CONFIG_SHELL" = x
; then
139 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143 # is contrary to our usage. Disable this feature.
144 alias -g '\${1+\"\$@\"}'='\"\$@\"'
147 case \`(set -o) 2>/dev/null\` in #(
155 as_required
="as_fn_return () { (exit \$1); }
156 as_fn_success () { as_fn_return 0; }
157 as_fn_failure () { as_fn_return 1; }
158 as_fn_ret_success () { return 0; }
159 as_fn_ret_failure () { return 1; }
162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169 exitcode=1; echo positional parameters were not saved.
171 test x\$exitcode = x0 || exit 1"
172 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
173 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176 test \$(( 1 + 1 )) = 2 || exit 1"
177 if (eval "$as_required") 2>/dev
/null
; then :
182 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
185 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
187 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
190 test -z "$as_dir" && as_dir
=.
194 for as_base
in sh bash ksh sh5
; do
195 # Try only shells that exist, to save several forks.
196 as_shell
=$as_dir/$as_base
197 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
198 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
199 CONFIG_SHELL
=$as_shell as_have_required
=yes
200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
208 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
209 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
210 CONFIG_SHELL
=$SHELL as_have_required
=yes
215 if test "x$CONFIG_SHELL" != x
; then :
216 # We cannot yet assume a decent shell, so we have to provide a
217 # neutralization value for shells without unset; and this also
218 # works around shells that cannot unset nonexistent variables.
221 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
226 if test x
$as_have_required = xno
; then :
227 $as_echo "$0: This script requires a shell more modern than all"
228 $as_echo "$0: the shells that I found on your system."
229 if test x
${ZSH_VERSION+set} = xset
; then
230 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
233 $as_echo "$0: Please tell bug-autoconf@gnu.org and
234 $0: wine-devel@winehq.org about your system, including any
235 $0: error possibly output before this message. Then install
236 $0: a modern shell, or manually run the script under such a
237 $0: shell if you do have one."
243 SHELL
=${CONFIG_SHELL-/bin/sh}
245 # Unset more variables known to interfere with behavior of common tools.
246 CLICOLOR_FORCE
= GREP_OPTIONS
=
247 unset CLICOLOR_FORCE GREP_OPTIONS
249 ## --------------------- ##
250 ## M4sh Shell Functions. ##
251 ## --------------------- ##
254 # Portably unset VAR.
257 { eval $1=; unset $1;}
261 # as_fn_set_status STATUS
262 # -----------------------
263 # Set $? to STATUS, without forking.
271 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
281 # Create "$as_dir" as a directory, including parents if necessary.
286 -*) as_dir
=.
/$as_dir;;
288 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
292 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
295 as_dirs
="'$as_qdir' $as_dirs"
296 as_dir
=`$as_dirname -- "$as_dir" ||
297 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
298 X"$as_dir" : 'X\(//\)[^/]' \| \
299 X"$as_dir" : 'X\(//\)$' \| \
300 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
301 $as_echo X"$as_dir" |
302 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
319 test -d "$as_dir" && break
321 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
322 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
326 # as_fn_append VAR VALUE
327 # ----------------------
328 # Append the text in VALUE to the end of the definition contained in VAR. Take
329 # advantage of any shell optimizations that allow amortized linear growth over
330 # repeated appends, instead of the typical quadratic growth present in naive
332 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
333 eval 'as_fn_append ()
346 # Perform arithmetic evaluation on the ARGs, and store the result in the
347 # global $as_val. Take advantage of shells that can avoid forks. The arguments
348 # must be portable across $(()) and expr.
349 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
357 as_val
=`expr "$@" || test $? -eq 1`
362 # as_fn_error ERROR [LINENO LOG_FD]
363 # ---------------------------------
364 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366 # script with status $?, using 1 if that was 0.
369 as_status
=$?
; test $as_status -eq 0 && as_status
=1
371 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
372 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
374 $as_echo "$as_me: error: $1" >&2
375 as_fn_exit
$as_status
378 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
379 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
385 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
391 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
397 as_me
=`$as_basename -- "$0" ||
398 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
399 X"$0" : 'X\(//\)$' \| \
400 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
402 sed '/^.*\/\([^/][^/]*\)\/*$/{
416 # Avoid depending upon Character Ranges.
417 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
418 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
419 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
420 as_cr_digits
='0123456789'
421 as_cr_alnum
=$as_cr_Letters$as_cr_digits
424 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
425 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
426 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
427 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
428 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
440 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 chmod +x
"$as_me.lineno" ||
445 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
447 # Don't try to exec as it changes $[0], causing all sort of problems
448 # (the dirname of $[0] is not the place where we might find the
449 # original and so on. Autoconf is especially sensitive to this).
451 # Exit status is that of the last command.
455 ECHO_C
= ECHO_N
= ECHO_T
=
456 case `echo -n x` in #(((((
458 case `echo 'xy\c'` in
459 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
461 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
468 rm -f conf$$ conf$$.exe conf$$.
file
469 if test -d conf$$.dir
; then
470 rm -f conf$$.dir
/conf$$.
file
473 mkdir conf$$.dir
2>/dev
/null
475 if (echo >conf$$.
file) 2>/dev
/null
; then
476 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
478 # ... but there are two gotchas:
479 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
480 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
481 # In both cases, we have to default to `cp -p'.
482 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
484 elif ln conf$$.
file conf$$
2>/dev
/null
; then
492 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
493 rmdir conf$$.dir
2>/dev
/null
495 if mkdir
-p .
2>/dev
/null
; then
496 as_mkdir_p
='mkdir -p "$as_dir"'
498 test -d .
/-p && rmdir .
/-p
502 if test -x / >/dev
/null
2>&1; then
505 if ls -dL / >/dev
/null
2>&1; then
512 if test -d "$1"; then
518 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
519 ???[sx]*):;;*)false;;esac;fi
523 as_executable_p
=$as_test_x
525 # Sed expression to map a string onto a valid CPP name.
526 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
528 # Sed expression to map a string onto a valid variable name.
529 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
532 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
536 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
537 # so uname gets run too.
538 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
543 ac_default_prefix
=/usr
/local
545 ac_config_libobj_dir
=.
552 # Identity of this package.
554 PACKAGE_TARNAME
='wine'
555 PACKAGE_VERSION
='1.1.41'
556 PACKAGE_STRING
='Wine 1.1.41'
557 PACKAGE_BUGREPORT
='wine-devel@winehq.org'
558 PACKAGE_URL
='http://www.winehq.org'
560 ac_unique_file
="server/atom.c"
561 # Factoring default headers for most tests.
562 ac_includes_default
="\
564 #ifdef HAVE_SYS_TYPES_H
565 # include <sys/types.h>
567 #ifdef HAVE_SYS_STAT_H
568 # include <sys/stat.h>
574 # ifdef HAVE_STDLIB_H
579 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
584 #ifdef HAVE_STRINGS_H
585 # include <strings.h>
587 #ifdef HAVE_INTTYPES_H
588 # include <inttypes.h>
597 ac_subst_vars
='LTLIBOBJS
599 ALL_PROGRAM_BIN_INSTALL_DIRS
744 program_transform_name
755 ac_subst_files
='MAKE_RULES
761 enable_option_checking
765 enable_maintainer_mode
811 ac_precious_vars
='build_alias
826 # Initialize some variables set by options.
828 ac_init_version
=false
829 ac_unrecognized_opts
=
831 # The variables have the same names as the options, with
832 # dashes changed to underlines.
840 program_transform_name
=s
,x
,x
,
848 # Installation directory options.
849 # These are left unexpanded so users can "make install exec_prefix=/foo"
850 # and all the variables that are supposed to be based on exec_prefix
851 # by default will actually change.
852 # Use braces instead of parens because sh, perl, etc. also accept them.
853 # (The list follows the same order as the GNU Coding Standards.)
854 bindir
='${exec_prefix}/bin'
855 sbindir
='${exec_prefix}/sbin'
856 libexecdir
='${exec_prefix}/libexec'
857 datarootdir
='${prefix}/share'
858 datadir
='${datarootdir}'
859 sysconfdir
='${prefix}/etc'
860 sharedstatedir
='${prefix}/com'
861 localstatedir
='${prefix}/var'
862 includedir
='${prefix}/include'
863 oldincludedir
='/usr/include'
864 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
865 infodir
='${datarootdir}/info'
870 libdir
='${exec_prefix}/lib'
871 localedir
='${datarootdir}/locale'
872 mandir
='${datarootdir}/man'
878 # If the previous option needs an argument, assign it.
879 if test -n "$ac_prev"; then
880 eval $ac_prev=\
$ac_option
886 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
890 # Accept the important Cygnus configure options, so we can diagnose typos.
892 case $ac_dashdash$ac_option in
896 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
898 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
901 -build |
--build |
--buil |
--bui |
--bu)
902 ac_prev
=build_alias
;;
903 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
904 build_alias
=$ac_optarg ;;
906 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
907 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
908 ac_prev
=cache_file
;;
909 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
910 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
911 cache_file
=$ac_optarg ;;
914 cache_file
=config.cache
;;
916 -datadir |
--datadir |
--datadi |
--datad)
918 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
919 datadir
=$ac_optarg ;;
921 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
922 |
--dataroo |
--dataro |
--datar)
923 ac_prev
=datarootdir
;;
924 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
925 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
926 datarootdir
=$ac_optarg ;;
928 -disable-* |
--disable-*)
929 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
930 # Reject names that are not valid shell variable names.
931 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
932 as_fn_error
"invalid feature name: $ac_useropt"
933 ac_useropt_orig
=$ac_useropt
934 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
935 case $ac_user_opts in
939 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
940 ac_unrecognized_sep
=', ';;
942 eval enable_
$ac_useropt=no
;;
944 -docdir |
--docdir |
--docdi |
--doc |
--do)
946 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
949 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
951 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
954 -enable-* |
--enable-*)
955 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
956 # Reject names that are not valid shell variable names.
957 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
958 as_fn_error
"invalid feature name: $ac_useropt"
959 ac_useropt_orig
=$ac_useropt
960 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
961 case $ac_user_opts in
965 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
966 ac_unrecognized_sep
=', ';;
968 eval enable_
$ac_useropt=\
$ac_optarg ;;
970 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
971 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
972 |
--exec |
--exe |
--ex)
973 ac_prev
=exec_prefix
;;
974 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
975 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
976 |
--exec=* |
--exe=* |
--ex=*)
977 exec_prefix
=$ac_optarg ;;
979 -gas |
--gas |
--ga |
--g)
980 # Obsolete; use --with-gas.
983 -help |
--help |
--hel |
--he |
-h)
985 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
986 ac_init_help
=recursive
;;
987 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
988 ac_init_help
=short
;;
990 -host |
--host |
--hos |
--ho)
991 ac_prev
=host_alias
;;
992 -host=* |
--host=* |
--hos=* |
--ho=*)
993 host_alias
=$ac_optarg ;;
995 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
997 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
999 htmldir
=$ac_optarg ;;
1001 -includedir |
--includedir |
--includedi |
--included |
--include \
1002 |
--includ |
--inclu |
--incl |
--inc)
1003 ac_prev
=includedir
;;
1004 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1005 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1006 includedir
=$ac_optarg ;;
1008 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1010 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1011 infodir
=$ac_optarg ;;
1013 -libdir |
--libdir |
--libdi |
--libd)
1015 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1016 libdir
=$ac_optarg ;;
1018 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1019 |
--libexe |
--libex |
--libe)
1020 ac_prev
=libexecdir
;;
1021 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1022 |
--libexe=* |
--libex=* |
--libe=*)
1023 libexecdir
=$ac_optarg ;;
1025 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1026 ac_prev
=localedir
;;
1027 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1028 localedir
=$ac_optarg ;;
1030 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1031 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1032 ac_prev
=localstatedir
;;
1033 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1034 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1035 localstatedir
=$ac_optarg ;;
1037 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1039 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1040 mandir
=$ac_optarg ;;
1042 -nfp |
--nfp |
--nf)
1043 # Obsolete; use --without-fp.
1046 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1047 |
--no-cr |
--no-c |
-n)
1050 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1051 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1054 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1055 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1056 |
--oldin |
--oldi |
--old |
--ol |
--o)
1057 ac_prev
=oldincludedir
;;
1058 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1059 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1060 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1061 oldincludedir
=$ac_optarg ;;
1063 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1065 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1066 prefix
=$ac_optarg ;;
1068 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1069 |
--program-pre |
--program-pr |
--program-p)
1070 ac_prev
=program_prefix
;;
1071 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1072 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1073 program_prefix
=$ac_optarg ;;
1075 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1076 |
--program-suf |
--program-su |
--program-s)
1077 ac_prev
=program_suffix
;;
1078 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1079 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1080 program_suffix
=$ac_optarg ;;
1082 -program-transform-name |
--program-transform-name \
1083 |
--program-transform-nam |
--program-transform-na \
1084 |
--program-transform-n |
--program-transform- \
1085 |
--program-transform |
--program-transfor \
1086 |
--program-transfo |
--program-transf \
1087 |
--program-trans |
--program-tran \
1088 |
--progr-tra |
--program-tr |
--program-t)
1089 ac_prev
=program_transform_name
;;
1090 -program-transform-name=* |
--program-transform-name=* \
1091 |
--program-transform-nam=* |
--program-transform-na=* \
1092 |
--program-transform-n=* |
--program-transform-=* \
1093 |
--program-transform=* |
--program-transfor=* \
1094 |
--program-transfo=* |
--program-transf=* \
1095 |
--program-trans=* |
--program-tran=* \
1096 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1097 program_transform_name
=$ac_optarg ;;
1099 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1101 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1102 pdfdir
=$ac_optarg ;;
1104 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1106 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1109 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1110 |
-silent |
--silent |
--silen |
--sile |
--sil)
1113 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1115 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1117 sbindir
=$ac_optarg ;;
1119 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1120 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1121 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1123 ac_prev
=sharedstatedir
;;
1124 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1125 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1126 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1128 sharedstatedir
=$ac_optarg ;;
1130 -site |
--site |
--sit)
1132 -site=* |
--site=* |
--sit=*)
1135 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1137 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1138 srcdir
=$ac_optarg ;;
1140 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1141 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1142 ac_prev
=sysconfdir
;;
1143 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1144 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1145 sysconfdir
=$ac_optarg ;;
1147 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1148 ac_prev
=target_alias
;;
1149 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1150 target_alias
=$ac_optarg ;;
1152 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1155 -version |
--version |
--versio |
--versi |
--vers |
-V)
1156 ac_init_version
=: ;;
1159 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1160 # Reject names that are not valid shell variable names.
1161 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1162 as_fn_error
"invalid package name: $ac_useropt"
1163 ac_useropt_orig
=$ac_useropt
1164 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1165 case $ac_user_opts in
1169 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1170 ac_unrecognized_sep
=', ';;
1172 eval with_
$ac_useropt=\
$ac_optarg ;;
1174 -without-* |
--without-*)
1175 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1176 # Reject names that are not valid shell variable names.
1177 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1178 as_fn_error
"invalid package name: $ac_useropt"
1179 ac_useropt_orig
=$ac_useropt
1180 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1181 case $ac_user_opts in
1185 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1186 ac_unrecognized_sep
=', ';;
1188 eval with_
$ac_useropt=no
;;
1191 # Obsolete; use --with-x.
1194 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1195 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1196 ac_prev
=x_includes
;;
1197 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1198 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1199 x_includes
=$ac_optarg ;;
1201 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1202 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1203 ac_prev
=x_libraries
;;
1204 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1205 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1206 x_libraries
=$ac_optarg ;;
1208 -*) as_fn_error
"unrecognized option: \`$ac_option'
1209 Try \`$0 --help' for more information."
1213 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1214 # Reject names that are not valid shell variable names.
1215 case $ac_envvar in #(
1216 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1217 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1219 eval $ac_envvar=\
$ac_optarg
1220 export $ac_envvar ;;
1223 # FIXME: should be removed in autoconf 3.0.
1224 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1225 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1226 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1227 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1233 if test -n "$ac_prev"; then
1234 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1235 as_fn_error
"missing argument to $ac_option"
1238 if test -n "$ac_unrecognized_opts"; then
1239 case $enable_option_checking in
1241 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1242 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1246 # Check all directory arguments for consistency.
1247 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1248 datadir sysconfdir sharedstatedir localstatedir includedir \
1249 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1250 libdir localedir mandir
1252 eval ac_val
=\$
$ac_var
1253 # Remove trailing slashes.
1256 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1257 eval $ac_var=\
$ac_val;;
1259 # Be sure to have absolute directory names.
1261 [\\/$
]* | ?
:[\\/]* ) continue;;
1262 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1264 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1267 # There might be people who depend on the old broken behavior: `$host'
1268 # used to hold the argument of --host etc.
1269 # FIXME: To remove some day.
1272 target
=$target_alias
1274 # FIXME: To remove some day.
1275 if test "x$host_alias" != x
; then
1276 if test "x$build_alias" = x
; then
1277 cross_compiling
=maybe
1278 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1279 If a cross compiler is detected then cross compile mode will be used." >&2
1280 elif test "x$build_alias" != "x$host_alias"; then
1286 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1288 test "$silent" = yes && exec 6>/dev
/null
1291 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1292 ac_ls_di
=`ls -di .` &&
1293 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1294 as_fn_error
"working directory cannot be determined"
1295 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1296 as_fn_error
"pwd does not report name of working directory"
1299 # Find the source files, if location was not specified.
1300 if test -z "$srcdir"; then
1301 ac_srcdir_defaulted
=yes
1302 # Try the directory containing this script, then the parent directory.
1303 ac_confdir
=`$as_dirname -- "$as_myself" ||
1304 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1305 X"$as_myself" : 'X\(//\)[^/]' \| \
1306 X"$as_myself" : 'X\(//\)$' \| \
1307 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1308 $as_echo X"$as_myself" |
1309 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1327 if test ! -r "$srcdir/$ac_unique_file"; then
1331 ac_srcdir_defaulted
=no
1333 if test ! -r "$srcdir/$ac_unique_file"; then
1334 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1335 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1337 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1339 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1341 # When building in place, set srcdir=.
1342 if test "$ac_abs_confdir" = "$ac_pwd"; then
1345 # Remove unnecessary trailing slashes from srcdir.
1346 # Double slashes in file names in object file debugging info
1347 # mess up M-x gdb in Emacs.
1349 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1351 for ac_var
in $ac_precious_vars; do
1352 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1353 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1354 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1355 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1359 # Report the --help message.
1361 if test "$ac_init_help" = "long"; then
1362 # Omit some internal or obsolete options to make the list less imposing.
1363 # This message is too long to be a string in the A/UX 3.1 sh.
1365 \`configure' configures Wine 1.1.41 to adapt to many kinds of systems.
1367 Usage: $0 [OPTION]... [VAR=VALUE]...
1369 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1370 VAR=VALUE. See below for descriptions of some of the useful variables.
1372 Defaults for the options are specified in brackets.
1375 -h, --help display this help and exit
1376 --help=short display options specific to this package
1377 --help=recursive display the short help of all the included packages
1378 -V, --version display version information and exit
1379 -q, --quiet, --silent do not print \`checking...' messages
1380 --cache-file=FILE cache test results in FILE [disabled]
1381 -C, --config-cache alias for \`--cache-file=config.cache'
1382 -n, --no-create do not create output files
1383 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1385 Installation directories:
1386 --prefix=PREFIX install architecture-independent files in PREFIX
1387 [$ac_default_prefix]
1388 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1391 By default, \`make install' will install all the files in
1392 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1393 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1394 for instance \`--prefix=\$HOME'.
1396 For better control, use the options below.
1398 Fine tuning of the installation directories:
1399 --bindir=DIR user executables [EPREFIX/bin]
1400 --sbindir=DIR system admin executables [EPREFIX/sbin]
1401 --libexecdir=DIR program executables [EPREFIX/libexec]
1402 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1403 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1404 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1405 --libdir=DIR object code libraries [EPREFIX/lib]
1406 --includedir=DIR C header files [PREFIX/include]
1407 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1408 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1409 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1410 --infodir=DIR info documentation [DATAROOTDIR/info]
1411 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1412 --mandir=DIR man documentation [DATAROOTDIR/man]
1413 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1414 --htmldir=DIR html documentation [DOCDIR]
1415 --dvidir=DIR dvi documentation [DOCDIR]
1416 --pdfdir=DIR pdf documentation [DOCDIR]
1417 --psdir=DIR ps documentation [DOCDIR]
1423 --x-includes=DIR X include files are
in DIR
1424 --x-libraries=DIR X library files are
in DIR
1427 --build=BUILD configure
for building on BUILD
[guessed
]
1428 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1432 if test -n "$ac_init_help"; then
1433 case $ac_init_help in
1434 short | recursive
) echo "Configuration of Wine 1.1.41:";;
1439 --disable-option-checking ignore unrecognized
--enable/--with options
1440 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1441 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1442 --disable-win16 do not include Win16 support
1443 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
1445 --disable-tests do not build the regression tests
1446 --enable-maintainer-mode
1447 enable maintainer-specific build rules
1448 --disable-largefile omit support for large files
1451 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1452 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1453 --without-alsa do not use the Alsa sound support
1454 --without-audioio do not use the AudioIO sound support
1455 --without-capi do not use CAPI (ISDN support)
1456 --without-cms do not use CMS (color management support)
1457 --without-coreaudio do not use the CoreAudio sound support
1458 --without-cups do not use CUPS
1459 --without-curses do not use (n)curses
1460 --without-esd do not use the EsounD sound support
1461 --without-fontconfig do not use fontconfig
1462 --without-freetype do not use the FreeType library
1463 --without-gphoto do not use gphoto (Digital Camera support)
1464 --without-glu do not use the GLU library
1465 --without-gnutls do not use GnuTLS (schannel support)
1466 --without-gsm do not use libgsm (GSM 06.10 codec support)
1467 --without-hal do not use HAL (dynamic device support)
1468 --without-jack do not use the Jack sound support
1469 --without-jpeg do not use JPEG
1470 --without-ldap do not use LDAP
1471 --without-mpg123 do not use the mpg123 library
1472 --without-nas do not use the NAS sound support
1473 --without-openal do not use OpenAL
1474 --without-opengl do not use OpenGL
1475 --without-openssl do not use OpenSSL
1476 --without-oss do not use the OSS sound support
1477 --without-png do not use PNG
1478 --without-pthread do not use the pthread library
1479 --without-sane do not use SANE (scanner support)
1480 --without-tiff do not use TIFF
1481 --without-v4l do not use v4l1 (v4l support)
1482 --without-xcomposite do not use the Xcomposite extension
1483 --without-xcursor do not use the Xcursor extension
1484 --without-xinerama do not use Xinerama (multi-monitor support)
1485 --without-xinput do not use the Xinput extension
1486 --without-xml do not use XML
1487 --without-xrandr do not use Xrandr (resolution changes)
1488 --without-xrender do not use the Xrender extension
1489 --without-xshape do not use the Xshape extension
1490 --without-xshm do not use XShm (shared memory extension)
1491 --without-xslt do not use XSLT
1492 --without-xxf86vm do not use XFree video mode extension
1493 --with-wine-tools=DIR use Wine tools from directory DIR
1494 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
1495 --with-x use the X Window System
1497 Some influential environment variables:
1498 CC C compiler command
1499 CFLAGS C compiler flags
1500 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1501 nonstandard directory <lib dir>
1502 LIBS libraries to pass to the linker, e.g. -l<library>
1503 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1504 you have headers in a nonstandard directory <include dir>
1505 CXX C++ compiler command
1506 CXXFLAGS C++ compiler flags
1508 XMKMF Path to xmkmf, Makefile generator for X Window System
1510 Use these variables to override the choices made by `configure' or to
help
1511 it to
find libraries and programs with nonstandard names
/locations.
1513 Report bugs to
<wine-devel@winehq.org
>.
1514 Wine home page
: <http
://www.winehq.org
>.
1519 if test "$ac_init_help" = "recursive"; then
1520 # If there are subdirs, report their specific --help.
1521 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1522 test -d "$ac_dir" ||
1523 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1528 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1530 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1531 # A ".." for each directory in $ac_dir_suffix.
1532 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1533 case $ac_top_builddir_sub in
1534 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1535 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1538 ac_abs_top_builddir
=$ac_pwd
1539 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1540 # for backward compatibility:
1541 ac_top_builddir
=$ac_top_build_prefix
1544 .
) # We are building in place.
1546 ac_top_srcdir
=$ac_top_builddir_sub
1547 ac_abs_top_srcdir
=$ac_pwd ;;
1548 [\\/]* | ?
:[\\/]* ) # Absolute name.
1549 ac_srcdir
=$srcdir$ac_dir_suffix;
1550 ac_top_srcdir
=$srcdir
1551 ac_abs_top_srcdir
=$srcdir ;;
1553 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1554 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1555 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1557 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1559 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1560 # Check for guested configure.
1561 if test -f "$ac_srcdir/configure.gnu"; then
1563 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1564 elif test -f "$ac_srcdir/configure"; then
1566 $SHELL "$ac_srcdir/configure" --help=recursive
1568 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1570 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1574 test -n "$ac_init_help" && exit $ac_status
1575 if $ac_init_version; then
1577 Wine configure
1.1.41
1578 generated by GNU Autoconf
2.65
1580 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1581 This configure
script is free software
; the Free Software Foundation
1582 gives unlimited permission to copy
, distribute and modify it.
1587 ## ------------------------ ##
1588 ## Autoconf initialization. ##
1589 ## ------------------------ ##
1591 # ac_fn_c_try_compile LINENO
1592 # --------------------------
1593 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1594 ac_fn_c_try_compile
()
1596 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1597 rm -f conftest.
$ac_objext
1598 if { { ac_try
="$ac_compile"
1600 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1601 *) ac_try_echo=$ac_try;;
1603 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1604 $as_echo "$ac_try_echo"; } >&5
1605 (eval "$ac_compile") 2>conftest.err
1607 if test -s conftest.err; then
1608 grep -v '^ *+' conftest.err >conftest.er1
1609 cat conftest.er1 >&5
1610 mv -f conftest.er1 conftest.err
1612 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1613 test $ac_status = 0; } && {
1614 test -z "$ac_c_werror_flag" ||
1615 test ! -s conftest.err
1616 } && test -s conftest.$ac_objext; then :
1619 $as_echo "$as_me: failed program was:" >&5
1620 sed 's/^/| /' conftest.$ac_ext >&5
1624 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1625 as_fn_set_status $ac_retval
1627 } # ac_fn_c_try_compile
1629 # ac_fn_cxx_try_compile LINENO
1630 # ----------------------------
1631 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1632 ac_fn_cxx_try_compile ()
1634 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1635 rm -f conftest.$ac_objext
1636 if { { ac_try="$ac_compile"
1638 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1639 *) ac_try_echo
=$ac_try;;
1641 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1642 $as_echo "$ac_try_echo"; } >&5
1643 (eval "$ac_compile") 2>conftest.err
1645 if test -s conftest.err
; then
1646 grep -v '^ *+' conftest.err
>conftest.er1
1647 cat conftest.er1
>&5
1648 mv -f conftest.er1 conftest.err
1650 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1651 test $ac_status = 0; } && {
1652 test -z "$ac_cxx_werror_flag" ||
1653 test ! -s conftest.err
1654 } && test -s conftest.
$ac_objext; then :
1657 $as_echo "$as_me: failed program was:" >&5
1658 sed 's/^/| /' conftest.
$ac_ext >&5
1662 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1663 as_fn_set_status
$ac_retval
1665 } # ac_fn_cxx_try_compile
1667 # ac_fn_c_try_link LINENO
1668 # -----------------------
1669 # Try to link conftest.$ac_ext, and return whether this succeeded.
1672 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1673 rm -f conftest.
$ac_objext conftest
$ac_exeext
1674 if { { ac_try
="$ac_link"
1676 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1677 *) ac_try_echo=$ac_try;;
1679 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1680 $as_echo "$ac_try_echo"; } >&5
1681 (eval "$ac_link") 2>conftest.err
1683 if test -s conftest.err; then
1684 grep -v '^ *+' conftest.err >conftest.er1
1685 cat conftest.er1 >&5
1686 mv -f conftest.er1 conftest.err
1688 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1689 test $ac_status = 0; } && {
1690 test -z "$ac_c_werror_flag" ||
1691 test ! -s conftest.err
1692 } && test -s conftest$ac_exeext && {
1693 test "$cross_compiling" = yes ||
1694 $as_test_x conftest$ac_exeext
1698 $as_echo "$as_me: failed program was:" >&5
1699 sed 's/^/| /' conftest.$ac_ext >&5
1703 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1704 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1705 # interfere with the next link command; also delete a directory that is
1706 # left behind by Apple's compiler. We do this before executing the actions.
1707 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1708 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1709 as_fn_set_status $ac_retval
1711 } # ac_fn_c_try_link
1713 # ac_fn_c_try_cpp LINENO
1714 # ----------------------
1715 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1718 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1719 if { { ac_try="$ac_cpp conftest.$ac_ext"
1721 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1722 *) ac_try_echo
=$ac_try;;
1724 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1725 $as_echo "$ac_try_echo"; } >&5
1726 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1728 if test -s conftest.err
; then
1729 grep -v '^ *+' conftest.err
>conftest.er1
1730 cat conftest.er1
>&5
1731 mv -f conftest.er1 conftest.err
1733 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1734 test $ac_status = 0; } >/dev
/null
&& {
1735 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1736 test ! -s conftest.err
1740 $as_echo "$as_me: failed program was:" >&5
1741 sed 's/^/| /' conftest.
$ac_ext >&5
1745 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1746 as_fn_set_status
$ac_retval
1750 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1751 # -------------------------------------------------------
1752 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1753 # the include files in INCLUDES and setting the cache variable VAR
1755 ac_fn_c_check_header_mongrel
()
1757 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1758 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1760 $as_echo_n "checking for $2... " >&6; }
1761 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1762 $as_echo_n "(cached) " >&6
1765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1766 $as_echo "$ac_res" >&6; }
1768 # Is the header compilable?
1769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1770 $as_echo_n "checking $2 usability... " >&6; }
1771 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1772 /* end confdefs.h. */
1776 if ac_fn_c_try_compile
"$LINENO"; then :
1777 ac_header_compiler
=yes
1779 ac_header_compiler
=no
1781 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1783 $as_echo "$ac_header_compiler" >&6; }
1785 # Is the header present?
1786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1787 $as_echo_n "checking $2 presence... " >&6; }
1788 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1789 /* end confdefs.h. */
1792 if ac_fn_c_try_cpp
"$LINENO"; then :
1793 ac_header_preproc
=yes
1795 ac_header_preproc
=no
1797 rm -f conftest.err conftest.
$ac_ext
1798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1799 $as_echo "$ac_header_preproc" >&6; }
1801 # So? What about this header?
1802 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1804 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1805 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1806 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1807 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1810 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1811 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1812 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1813 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1814 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1815 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1817 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1819 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1821 ## ------------------------------------ ##
1822 ## Report this to wine-devel@winehq.org ##
1823 ## ------------------------------------ ##
1825 ) |
sed "s/^/$as_me: WARNING: /" >&2
1828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1829 $as_echo_n "checking for $2... " >&6; }
1830 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1831 $as_echo_n "(cached) " >&6
1833 eval "$3=\$ac_header_compiler"
1836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1837 $as_echo "$ac_res" >&6; }
1839 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1841 } # ac_fn_c_check_header_mongrel
1843 # ac_fn_c_try_run LINENO
1844 # ----------------------
1845 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1846 # that executables *can* be run.
1849 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1850 if { { ac_try
="$ac_link"
1852 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1853 *) ac_try_echo=$ac_try;;
1855 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1856 $as_echo "$ac_try_echo"; } >&5
1857 (eval "$ac_link") 2>&5
1859 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1860 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1861 { { case "(($ac_try" in
1862 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1863 *) ac_try_echo
=$ac_try;;
1865 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1866 $as_echo "$ac_try_echo"; } >&5
1867 (eval "$ac_try") 2>&5
1869 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1870 test $ac_status = 0; }; }; then :
1873 $as_echo "$as_me: program exited with status $ac_status" >&5
1874 $as_echo "$as_me: failed program was:" >&5
1875 sed 's/^/| /' conftest.
$ac_ext >&5
1877 ac_retval
=$ac_status
1879 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1880 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1881 as_fn_set_status
$ac_retval
1885 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1886 # -------------------------------------------------------
1887 # Tests whether HEADER exists and can be compiled using the include files in
1888 # INCLUDES, setting the cache variable VAR accordingly.
1889 ac_fn_c_check_header_compile
()
1891 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1893 $as_echo_n "checking for $2... " >&6; }
1894 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1895 $as_echo_n "(cached) " >&6
1897 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1898 /* end confdefs.h. */
1902 if ac_fn_c_try_compile
"$LINENO"; then :
1907 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1911 $as_echo "$ac_res" >&6; }
1912 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1914 } # ac_fn_c_check_header_compile
1916 # ac_fn_c_check_func LINENO FUNC VAR
1917 # ----------------------------------
1918 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1919 ac_fn_c_check_func
()
1921 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1923 $as_echo_n "checking for $2... " >&6; }
1924 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1925 $as_echo_n "(cached) " >&6
1927 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1928 /* end confdefs.h. */
1929 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1930 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1931 #define $2 innocuous_$2
1933 /* System header to define __stub macros and hopefully few prototypes,
1934 which can conflict with char $2 (); below.
1935 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1936 <limits.h> exists even on freestanding compilers. */
1939 # include <limits.h>
1941 # include <assert.h>
1946 /* Override any GCC internal prototype to avoid an error.
1947 Use char because int might match the return type of a GCC
1948 builtin and then its argument prototype would still apply. */
1953 /* The GNU C library defines this for functions which it implements
1954 to always fail with ENOSYS. Some functions are actually named
1955 something starting with __ and the normal name is an alias. */
1956 #if defined __stub_$2 || defined __stub___$2
1968 if ac_fn_c_try_link
"$LINENO"; then :
1973 rm -f core conftest.err conftest.
$ac_objext \
1974 conftest
$ac_exeext conftest.
$ac_ext
1977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1978 $as_echo "$ac_res" >&6; }
1979 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1981 } # ac_fn_c_check_func
1983 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1984 # ----------------------------------------------------
1985 # Tries to find if the field MEMBER exists in type AGGR, after including
1986 # INCLUDES, setting cache variable VAR accordingly.
1987 ac_fn_c_check_member
()
1989 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1991 $as_echo_n "checking for $2.$3... " >&6; }
1992 if { as_var
=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
1993 $as_echo_n "(cached) " >&6
1995 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1996 /* end confdefs.h. */
2008 if ac_fn_c_try_compile
"$LINENO"; then :
2011 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2012 /* end confdefs.h. */
2018 if (sizeof ac_aggr.$3)
2024 if ac_fn_c_try_compile
"$LINENO"; then :
2029 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2031 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2035 $as_echo "$ac_res" >&6; }
2036 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2038 } # ac_fn_c_check_member
2040 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2041 # -------------------------------------------
2042 # Tests whether TYPE exists after having included INCLUDES, setting cache
2043 # variable VAR accordingly.
2044 ac_fn_c_check_type
()
2046 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2048 $as_echo_n "checking for $2... " >&6; }
2049 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2050 $as_echo_n "(cached) " >&6
2053 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2054 /* end confdefs.h. */
2065 if ac_fn_c_try_compile
"$LINENO"; then :
2066 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2067 /* end confdefs.h. */
2078 if ac_fn_c_try_compile
"$LINENO"; then :
2083 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2085 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2089 $as_echo "$ac_res" >&6; }
2090 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2092 } # ac_fn_c_check_type
2093 cat >config.log
<<_ACEOF
2094 This file contains any messages produced by compilers while
2095 running configure, to aid debugging if configure makes a mistake.
2097 It was created by Wine $as_me 1.1.41, which was
2098 generated by GNU Autoconf 2.65. Invocation command line was
2110 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2111 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2112 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2113 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2114 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2116 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2117 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2119 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2120 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2121 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2122 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2123 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2124 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2125 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2129 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2133 test -z "$as_dir" && as_dir
=.
2134 $as_echo "PATH: $as_dir"
2150 # Keep a trace of the command line.
2151 # Strip out --no-create and --no-recursion so they do not pile up.
2152 # Strip out --silent because we don't want to record it for future runs.
2153 # Also quote any args containing shell meta-characters.
2154 # Make two passes to allow for proper duplicate-argument suppression.
2158 ac_must_keep_next
=false
2164 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2165 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2166 |
-silent |
--silent |
--silen |
--sile |
--sil)
2169 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2172 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2174 as_fn_append ac_configure_args1
" '$ac_arg'"
2175 if test $ac_must_keep_next = true
; then
2176 ac_must_keep_next
=false
# Got value, back to normal.
2179 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2180 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2181 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2182 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2183 case "$ac_configure_args0 " in
2184 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2187 -* ) ac_must_keep_next
=true
;;
2190 as_fn_append ac_configure_args
" '$ac_arg'"
2195 { ac_configure_args0
=; unset ac_configure_args0
;}
2196 { ac_configure_args1
=; unset ac_configure_args1
;}
2198 # When interrupted or exit'd, cleanup temporary files, and complete
2199 # config.log. We remove comments because anyway the quotes in there
2200 # would cause problems or look ugly.
2201 # WARNING: Use '\'' to represent an apostrophe within the trap.
2202 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2203 trap 'exit_status=$?
2204 # Save into config.log some information that might help in debugging.
2209 ## ---------------- ##
2210 ## Cache variables. ##
2211 ## ---------------- ##
2214 # The following way of writing the cache mishandles newlines in values,
2216 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2217 eval ac_val=\$$ac_var
2221 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2222 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2225 _ | IFS | as_nl) ;; #(
2226 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2227 *) { eval $ac_var=; unset $ac_var;} ;;
2232 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2233 *${as_nl}ac_space=\ *)
2235 "s/'\''/'\''\\\\'\'''\''/g;
2236 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2239 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2247 ## ----------------- ##
2248 ## Output variables. ##
2249 ## ----------------- ##
2252 for ac_var in $ac_subst_vars
2254 eval ac_val=\$$ac_var
2256 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2258 $as_echo "$ac_var='\''$ac_val'\''"
2262 if test -n "$ac_subst_files"; then
2264 ## ------------------- ##
2265 ## File substitutions. ##
2266 ## ------------------- ##
2269 for ac_var
in $ac_subst_files
2271 eval ac_val
=\$
$ac_var
2273 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2275 $as_echo "$ac_var='\''$ac_val'\''"
2280 if test -s confdefs.h; then
2290 test "$ac_signal" != 0 &&
2291 $as_echo "$as_me: caught signal $ac_signal"
2292 $as_echo "$as_me: exit $exit_status"
2294 rm -f core *.core core.conftest.* &&
2295 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2298 for ac_signal
in 1 2 13 15; do
2299 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2303 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2304 rm -f -r conftest
* confdefs.h
2306 $as_echo "/* confdefs.h */" > confdefs.h
2308 # Predefined preprocessor variables.
2310 cat >>confdefs.h
<<_ACEOF
2311 #define PACKAGE_NAME "$PACKAGE_NAME"
2314 cat >>confdefs.h
<<_ACEOF
2315 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2318 cat >>confdefs.h
<<_ACEOF
2319 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2322 cat >>confdefs.h
<<_ACEOF
2323 #define PACKAGE_STRING "$PACKAGE_STRING"
2326 cat >>confdefs.h
<<_ACEOF
2327 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2330 cat >>confdefs.h
<<_ACEOF
2331 #define PACKAGE_URL "$PACKAGE_URL"
2335 # Let the site file select an alternate cache file if it wants to.
2336 # Prefer an explicitly selected file to automatically selected ones.
2339 if test -n "$CONFIG_SITE"; then
2340 ac_site_file1
=$CONFIG_SITE
2341 elif test "x$prefix" != xNONE
; then
2342 ac_site_file1
=$prefix/share
/config.site
2343 ac_site_file2
=$prefix/etc
/config.site
2345 ac_site_file1
=$ac_default_prefix/share
/config.site
2346 ac_site_file2
=$ac_default_prefix/etc
/config.site
2348 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2350 test "x$ac_site_file" = xNONE
&& continue
2351 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2352 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2353 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2354 sed 's/^/| /' "$ac_site_file" >&5
2359 if test -r "$cache_file"; then
2360 # Some versions of bash will fail to source /dev/null (special files
2361 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2362 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2363 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2364 $as_echo "$as_me: loading cache $cache_file" >&6;}
2366 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2367 *) .
"./$cache_file";;
2371 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2372 $as_echo "$as_me: creating cache $cache_file" >&6;}
2376 # Check that the precious variables saved in the cache have kept the same
2378 ac_cache_corrupted
=false
2379 for ac_var
in $ac_precious_vars; do
2380 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2381 eval ac_new_set
=\
$ac_env_${ac_var}_set
2382 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2383 eval ac_new_val
=\
$ac_env_${ac_var}_value
2384 case $ac_old_set,$ac_new_set in
2386 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2387 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2388 ac_cache_corrupted
=: ;;
2390 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2391 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2392 ac_cache_corrupted
=: ;;
2395 if test "x$ac_old_val" != "x$ac_new_val"; then
2396 # differences in whitespace do not lead to failure.
2397 ac_old_val_w
=`echo x $ac_old_val`
2398 ac_new_val_w
=`echo x $ac_new_val`
2399 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2400 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2401 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2402 ac_cache_corrupted
=:
2404 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2405 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2406 eval $ac_var=\
$ac_old_val
2408 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2409 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2410 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2411 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2414 # Pass precious variables to config.status.
2415 if test "$ac_new_set" = set; then
2417 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2418 *) ac_arg
=$ac_var=$ac_new_val ;;
2420 case " $ac_configure_args " in
2421 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2422 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2426 if $ac_cache_corrupted; then
2427 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2428 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2429 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2430 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2431 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2433 ## -------------------- ##
2434 ## Main body of script. ##
2435 ## -------------------- ##
2438 ac_cpp
='$CPP $CPPFLAGS'
2439 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2440 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2441 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2445 ac_config_headers
="$ac_config_headers include/config.h"
2448 for ac_dir
in tools
"$srcdir"/tools
; do
2449 for ac_t
in install-sh
install.sh shtool
; do
2450 if test -f "$ac_dir/$ac_t"; then
2452 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2457 if test -z "$ac_aux_dir"; then
2458 as_fn_error
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
2461 # These three variables are undocumented and unsupported,
2462 # and are intended to be withdrawn in a future Autoconf release.
2463 # They can cause serious problems if a builder's source tree is in a directory
2464 # whose full name contains unusual characters.
2465 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2466 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2467 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2473 # Check whether --enable-win16 was given.
2474 if test "${enable_win16+set}" = set; then :
2475 enableval
=$enable_win16;
2478 # Check whether --enable-win64 was given.
2479 if test "${enable_win64+set}" = set; then :
2480 enableval
=$enable_win64;
2483 # Check whether --enable-tests was given.
2484 if test "${enable_tests+set}" = set; then :
2485 enableval
=$enable_tests;
2488 # Check whether --enable-maintainer-mode was given.
2489 if test "${enable_maintainer_mode+set}" = set; then :
2490 enableval
=$enable_maintainer_mode;
2498 # Check whether --with-alsa was given.
2499 if test "${with_alsa+set}" = set; then :
2500 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
2504 # Check whether --with-audioio was given.
2505 if test "${with_audioio+set}" = set; then :
2506 withval
=$with_audioio; if test "x$withval" = "xno"; then ac_cv_header_libaudioio_h
=no
; fi
2510 # Check whether --with-capi was given.
2511 if test "${with_capi+set}" = set; then :
2512 withval
=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h
=no
; ac_cv_header_linux_capi_h
=no
; fi
2516 # Check whether --with-cms was given.
2517 if test "${with_cms+set}" = set; then :
2518 withval
=$with_cms; if test "x$withval" = "xno"; then ac_cv_header_lcms_h
=no
; ac_cv_header_lcms_lcms_h
=no
; fi
2522 # Check whether --with-coreaudio was given.
2523 if test "${with_coreaudio+set}" = set; then :
2524 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
2528 # Check whether --with-cups was given.
2529 if test "${with_cups+set}" = set; then :
2534 # Check whether --with-curses was given.
2535 if test "${with_curses+set}" = set; then :
2536 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
2540 # Check whether --with-esd was given.
2541 if test "${with_esd+set}" = set; then :
2546 # Check whether --with-fontconfig was given.
2547 if test "${with_fontconfig+set}" = set; then :
2548 withval
=$with_fontconfig; if test "x$withval" = "xno"; then ac_cv_header_fontconfig_fontconfig_h
=no
; fi
2552 # Check whether --with-freetype was given.
2553 if test "${with_freetype+set}" = set; then :
2554 withval
=$with_freetype;
2558 # Check whether --with-gphoto was given.
2559 if test "${with_gphoto+set}" = set; then :
2560 withval
=$with_gphoto;
2564 # Check whether --with-glu was given.
2565 if test "${with_glu+set}" = set; then :
2566 withval
=$with_glu; if test "x$withval" = "xno"; then ac_cv_header_GL_glu_h
=no
; fi
2570 # Check whether --with-gnutls was given.
2571 if test "${with_gnutls+set}" = set; then :
2572 withval
=$with_gnutls;
2576 # Check whether --with-gsm was given.
2577 if test "${with_gsm+set}" = set; then :
2578 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
2582 # Check whether --with-hal was given.
2583 if test "${with_hal+set}" = set; then :
2588 # Check whether --with-jack was given.
2589 if test "${with_jack+set}" = set; then :
2590 withval
=$with_jack; if test "x$withval" = "xno"; then ac_cv_header_jack_jack_h
=no
; fi
2594 # Check whether --with-jpeg was given.
2595 if test "${with_jpeg+set}" = set; then :
2596 withval
=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h
=no
; fi
2600 # Check whether --with-ldap was given.
2601 if test "${with_ldap+set}" = set; then :
2602 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
2606 # Check whether --with-mpg123 was given.
2607 if test "${with_mpg123+set}" = set; then :
2608 withval
=$with_mpg123; if test "x$withval" = "xno"; then ac_cv_header_mpg123_h
=no
; fi
2612 # Check whether --with-nas was given.
2613 if test "${with_nas+set}" = set; then :
2614 withval
=$with_nas; if test "x$withval" = "xno"; then ac_cv_header_audio_audiolib_h
=no
; fi
2618 # Check whether --with-openal was given.
2619 if test "${with_openal+set}" = set; then :
2620 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
2624 # Check whether --with-opengl was given.
2625 if test "${with_opengl+set}" = set; then :
2626 withval
=$with_opengl;
2630 # Check whether --with-openssl was given.
2631 if test "${with_openssl+set}" = set; then :
2632 withval
=$with_openssl; if test "x$withval" = "xno"; then ac_cv_header_openssl_err_h
=no
; ac_cv_header_openssl_ssl_h
=no
; fi
2636 # Check whether --with-oss was given.
2637 if test "${with_oss+set}" = set; then :
2638 withval
=$with_oss; if test "x$withval" = "xno"; then ac_cv_header_soundcard_h
=no
; ac_cv_header_sys_soundcard_h
=no
; ac_cv_header_machine_soundcard_h
=no
; fi
2642 # Check whether --with-png was given.
2643 if test "${with_png+set}" = set; then :
2644 withval
=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h
=no
; fi
2648 # Check whether --with-pthread was given.
2649 if test "${with_pthread+set}" = set; then :
2650 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
2654 # Check whether --with-sane was given.
2655 if test "${with_sane+set}" = set; then :
2660 # Check whether --with-tiff was given.
2661 if test "${with_tiff+set}" = set; then :
2662 withval
=$with_tiff; if test "x$withval" = "xno"; then ac_cv_header_tiffio_h
=no
; fi
2666 # Check whether --with-v4l was given.
2667 if test "${with_v4l+set}" = set; then :
2672 # Check whether --with-xcomposite was given.
2673 if test "${with_xcomposite+set}" = set; then :
2674 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
2678 # Check whether --with-xcursor was given.
2679 if test "${with_xcursor+set}" = set; then :
2680 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
2684 # Check whether --with-xinerama was given.
2685 if test "${with_xinerama+set}" = set; then :
2686 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
2690 # Check whether --with-xinput was given.
2691 if test "${with_xinput+set}" = set; then :
2692 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
2696 # Check whether --with-xml was given.
2697 if test "${with_xml+set}" = set; then :
2702 # Check whether --with-xrandr was given.
2703 if test "${with_xrandr+set}" = set; then :
2704 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
2708 # Check whether --with-xrender was given.
2709 if test "${with_xrender+set}" = set; then :
2710 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
2714 # Check whether --with-xshape was given.
2715 if test "${with_xshape+set}" = set; then :
2716 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
2720 # Check whether --with-xshm was given.
2721 if test "${with_xshm+set}" = set; then :
2722 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
2726 # Check whether --with-xslt was given.
2727 if test "${with_xslt+set}" = set; then :
2732 # Check whether --with-xxf86vm was given.
2733 if test "${with_xxf86vm+set}" = set; then :
2734 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
2739 # Check whether --with-wine-tools was given.
2740 if test "${with_wine_tools+set}" = set; then :
2741 withval
=$with_wine_tools;
2745 # Check whether --with-wine64 was given.
2746 if test "${with_wine64+set}" = set; then :
2747 withval
=$with_wine64;
2751 # Make sure we can run config.sub.
2752 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2753 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2756 $as_echo_n "checking build system type... " >&6; }
2757 if test "${ac_cv_build+set}" = set; then :
2758 $as_echo_n "(cached) " >&6
2760 ac_build_alias
=$build_alias
2761 test "x$ac_build_alias" = x
&&
2762 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2763 test "x$ac_build_alias" = x
&&
2764 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2765 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2766 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2770 $as_echo "$ac_cv_build" >&6; }
2771 case $ac_cv_build in
2773 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2776 ac_save_IFS
=$IFS; IFS
='-'
2782 # Remember, the first character of IFS is used to create $*,
2783 # except with old shells:
2786 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2790 $as_echo_n "checking host system type... " >&6; }
2791 if test "${ac_cv_host+set}" = set; then :
2792 $as_echo_n "(cached) " >&6
2794 if test "x$host_alias" = x
; then
2795 ac_cv_host
=$ac_cv_build
2797 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2798 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2803 $as_echo "$ac_cv_host" >&6; }
2806 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2809 ac_save_IFS
=$IFS; IFS
='-'
2815 # Remember, the first character of IFS is used to create $*,
2816 # except with old shells:
2819 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2825 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2826 as_fn_error
"you are building out of the source tree, but the source tree contains object files.
2827 You need to run 'make distclean' in the source tree first." "$LINENO" 5
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2833 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2835 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2836 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2837 $as_echo_n "(cached) " >&6
2839 cat >conftest.
make <<\_ACEOF
2842 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2844 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2845 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2847 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2849 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2853 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2855 $as_echo "yes" >&6; }
2858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2859 $as_echo "no" >&6; }
2860 SET_MAKE
="MAKE=${MAKE-make}"
2864 ac_cpp
='$CPP $CPPFLAGS'
2865 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2866 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2867 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2868 if test -n "$ac_tool_prefix"; then
2869 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2870 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2872 $as_echo_n "checking for $ac_word... " >&6; }
2873 if test "${ac_cv_prog_CC+set}" = set; then :
2874 $as_echo_n "(cached) " >&6
2876 if test -n "$CC"; then
2877 ac_cv_prog_CC
="$CC" # Let the user override the test.
2879 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2883 test -z "$as_dir" && as_dir
=.
2884 for ac_exec_ext
in '' $ac_executable_extensions; do
2885 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2886 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2897 if test -n "$CC"; then
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2899 $as_echo "$CC" >&6; }
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2902 $as_echo "no" >&6; }
2907 if test -z "$ac_cv_prog_CC"; then
2909 # Extract the first word of "gcc", so it can be a program name with args.
2910 set dummy gcc
; ac_word
=$2
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2912 $as_echo_n "checking for $ac_word... " >&6; }
2913 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2914 $as_echo_n "(cached) " >&6
2916 if test -n "$ac_ct_CC"; then
2917 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2919 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2923 test -z "$as_dir" && as_dir
=.
2924 for ac_exec_ext
in '' $ac_executable_extensions; do
2925 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2926 ac_cv_prog_ac_ct_CC
="gcc"
2927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2936 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2937 if test -n "$ac_ct_CC"; then
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2939 $as_echo "$ac_ct_CC" >&6; }
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2942 $as_echo "no" >&6; }
2945 if test "x$ac_ct_CC" = x
; then
2948 case $cross_compiling:$ac_tool_warned in
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2951 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2952 ac_tool_warned
=yes ;;
2960 if test -z "$CC"; then
2961 if test -n "$ac_tool_prefix"; then
2962 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2963 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2965 $as_echo_n "checking for $ac_word... " >&6; }
2966 if test "${ac_cv_prog_CC+set}" = set; then :
2967 $as_echo_n "(cached) " >&6
2969 if test -n "$CC"; then
2970 ac_cv_prog_CC
="$CC" # Let the user override the test.
2972 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2976 test -z "$as_dir" && as_dir
=.
2977 for ac_exec_ext
in '' $ac_executable_extensions; do
2978 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2979 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2990 if test -n "$CC"; then
2991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2992 $as_echo "$CC" >&6; }
2994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2995 $as_echo "no" >&6; }
3001 if test -z "$CC"; then
3002 # Extract the first word of "cc", so it can be a program name with args.
3003 set dummy cc
; ac_word
=$2
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3005 $as_echo_n "checking for $ac_word... " >&6; }
3006 if test "${ac_cv_prog_CC+set}" = set; then :
3007 $as_echo_n "(cached) " >&6
3009 if test -n "$CC"; then
3010 ac_cv_prog_CC
="$CC" # Let the user override the test.
3013 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3017 test -z "$as_dir" && as_dir
=.
3018 for ac_exec_ext
in '' $ac_executable_extensions; do
3019 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3020 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3021 ac_prog_rejected
=yes
3025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3032 if test $ac_prog_rejected = yes; then
3033 # We found a bogon in the path, so make sure we never use it.
3034 set dummy
$ac_cv_prog_CC
3036 if test $# != 0; then
3037 # We chose a different compiler from the bogus one.
3038 # However, it has the same basename, so the bogon will be chosen
3039 # first if we set CC to just the basename; use the full file name.
3041 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3047 if test -n "$CC"; then
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3049 $as_echo "$CC" >&6; }
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3052 $as_echo "no" >&6; }
3057 if test -z "$CC"; then
3058 if test -n "$ac_tool_prefix"; then
3059 for ac_prog
in cl.exe
3061 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3062 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3064 $as_echo_n "checking for $ac_word... " >&6; }
3065 if test "${ac_cv_prog_CC+set}" = set; then :
3066 $as_echo_n "(cached) " >&6
3068 if test -n "$CC"; then
3069 ac_cv_prog_CC
="$CC" # Let the user override the test.
3071 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3075 test -z "$as_dir" && as_dir
=.
3076 for ac_exec_ext
in '' $ac_executable_extensions; do
3077 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3078 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3089 if test -n "$CC"; then
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3091 $as_echo "$CC" >&6; }
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3094 $as_echo "no" >&6; }
3098 test -n "$CC" && break
3101 if test -z "$CC"; then
3103 for ac_prog
in cl.exe
3105 # Extract the first word of "$ac_prog", so it can be a program name with args.
3106 set dummy
$ac_prog; ac_word
=$2
3107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3108 $as_echo_n "checking for $ac_word... " >&6; }
3109 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3110 $as_echo_n "(cached) " >&6
3112 if test -n "$ac_ct_CC"; then
3113 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3115 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3119 test -z "$as_dir" && as_dir
=.
3120 for ac_exec_ext
in '' $ac_executable_extensions; do
3121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3122 ac_cv_prog_ac_ct_CC
="$ac_prog"
3123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3132 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3133 if test -n "$ac_ct_CC"; then
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3135 $as_echo "$ac_ct_CC" >&6; }
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3138 $as_echo "no" >&6; }
3142 test -n "$ac_ct_CC" && break
3145 if test "x$ac_ct_CC" = x
; then
3148 case $cross_compiling:$ac_tool_warned in
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3151 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3152 ac_tool_warned
=yes ;;
3161 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3162 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3163 as_fn_error
"no acceptable C compiler found in \$PATH
3164 See \`config.log' for more details." "$LINENO" 5; }
3166 # Provide some information about the compiler.
3167 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3170 for ac_option
in --version -v -V -qversion; do
3171 { { ac_try
="$ac_compiler $ac_option >&5"
3173 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3174 *) ac_try_echo=$ac_try;;
3176 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3177 $as_echo "$ac_try_echo"; } >&5
3178 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3180 if test -s conftest.err; then
3182 ... rest of stderr output deleted ...
3183 10q' conftest.err >conftest.er1
3184 cat conftest.er1 >&5
3186 rm -f conftest.er1 conftest.err
3187 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3188 test $ac_status = 0; }
3191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3192 /* end confdefs.h. */
3202 ac_clean_files_save=$ac_clean_files
3203 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3204 # Try to create an executable without -o first, disregard a.out.
3205 # It will help us diagnose broken compilers, and finding out an intuition
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3208 $as_echo_n "checking whether the C compiler works... " >&6; }
3209 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3211 # The possible output files:
3212 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3215 for ac_file in $ac_files
3218 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3219 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3224 if { { ac_try="$ac_link_default"
3226 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3227 *) ac_try_echo
=$ac_try;;
3229 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3230 $as_echo "$ac_try_echo"; } >&5
3231 (eval "$ac_link_default") 2>&5
3233 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3234 test $ac_status = 0; }; then :
3235 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3236 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3237 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3238 # so that the user can short-circuit this test for compilers unknown to
3240 for ac_file
in $ac_files ''
3242 test -f "$ac_file" ||
continue
3244 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3247 # We found the default executable, but exeext='' is most
3251 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3253 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3255 # We set ac_cv_exeext here because the later test for it is not
3256 # safe: cross compilers may not add the suffix if given an `-o'
3257 # argument, so we may need to know it at that point already.
3258 # Even if this section looks crufty: it has the advantage of
3265 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3270 if test -z "$ac_file"; then :
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3272 $as_echo "no" >&6; }
3273 $as_echo "$as_me: failed program was:" >&5
3274 sed 's/^/| /' conftest.
$ac_ext >&5
3276 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3277 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3278 { as_fn_set_status
77
3279 as_fn_error
"C compiler cannot create executables
3280 See \`config.log' for more details." "$LINENO" 5; }; }
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3283 $as_echo "yes" >&6; }
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3286 $as_echo_n "checking for C compiler default output file name... " >&6; }
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3288 $as_echo "$ac_file" >&6; }
3289 ac_exeext
=$ac_cv_exeext
3291 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3292 ac_clean_files
=$ac_clean_files_save
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3294 $as_echo_n "checking for suffix of executables... " >&6; }
3295 if { { ac_try
="$ac_link"
3297 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3298 *) ac_try_echo=$ac_try;;
3300 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3301 $as_echo "$ac_try_echo"; } >&5
3302 (eval "$ac_link") 2>&5
3304 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3305 test $ac_status = 0; }; then :
3306 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3307 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3308 # work properly (i.e., refer to `conftest.exe'), while it won't with
3310 for ac_file
in conftest.exe conftest conftest.
*; do
3311 test -f "$ac_file" ||
continue
3313 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3314 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3320 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3321 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3322 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3323 See \`config.log' for more details." "$LINENO" 5; }
3325 rm -f conftest conftest
$ac_cv_exeext
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3327 $as_echo "$ac_cv_exeext" >&6; }
3329 rm -f conftest.
$ac_ext
3330 EXEEXT
=$ac_cv_exeext
3332 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3333 /* end confdefs.h. */
3338 FILE *f = fopen ("conftest.out", "w");
3339 return ferror (f) || fclose (f) != 0;
3345 ac_clean_files
="$ac_clean_files conftest.out"
3346 # Check that the compiler produces executables we can run. If not, either
3347 # the compiler is broken, or we cross compile.
3348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3349 $as_echo_n "checking whether we are cross compiling... " >&6; }
3350 if test "$cross_compiling" != yes; then
3351 { { ac_try
="$ac_link"
3353 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3354 *) ac_try_echo=$ac_try;;
3356 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3357 $as_echo "$ac_try_echo"; } >&5
3358 (eval "$ac_link") 2>&5
3360 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3361 test $ac_status = 0; }
3362 if { ac_try='./conftest$ac_cv_exeext'
3363 { { case "(($ac_try" in
3364 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3365 *) ac_try_echo
=$ac_try;;
3367 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3368 $as_echo "$ac_try_echo"; } >&5
3369 (eval "$ac_try") 2>&5
3371 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3372 test $ac_status = 0; }; }; then
3375 if test "$cross_compiling" = maybe
; then
3378 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3379 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3380 as_fn_error
"cannot run C compiled programs.
3381 If you meant to cross compile, use \`--host'.
3382 See \`config.log' for more details." "$LINENO" 5; }
3386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3387 $as_echo "$cross_compiling" >&6; }
3389 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3390 ac_clean_files
=$ac_clean_files_save
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3392 $as_echo_n "checking for suffix of object files... " >&6; }
3393 if test "${ac_cv_objext+set}" = set; then :
3394 $as_echo_n "(cached) " >&6
3396 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3397 /* end confdefs.h. */
3407 rm -f conftest.o conftest.obj
3408 if { { ac_try
="$ac_compile"
3410 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3411 *) ac_try_echo=$ac_try;;
3413 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3414 $as_echo "$ac_try_echo"; } >&5
3415 (eval "$ac_compile") 2>&5
3417 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3418 test $ac_status = 0; }; then :
3419 for ac_file in conftest.o conftest.obj conftest.*; do
3420 test -f "$ac_file" || continue;
3422 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3423 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3428 $as_echo "$as_me: failed program was:" >&5
3429 sed 's/^/| /' conftest.$ac_ext >&5
3431 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3432 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3433 as_fn_error "cannot compute suffix of object files
: cannot compile
3434 See \
`config.log' for more details." "$LINENO" 5; }
3436 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3439 $as_echo "$ac_cv_objext" >&6; }
3440 OBJEXT=$ac_cv_objext
3442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3443 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3444 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3445 $as_echo_n "(cached) " >&6
3447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3448 /* end confdefs.h. */
3461 if ac_fn_c_try_compile "$LINENO"; then :
3466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3467 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3471 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3472 if test $ac_compiler_gnu = yes; then
3477 ac_test_CFLAGS=${CFLAGS+set}
3478 ac_save_CFLAGS=$CFLAGS
3479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3480 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3481 if test "${ac_cv_prog_cc_g+set}" = set; then :
3482 $as_echo_n "(cached) " >&6
3484 ac_save_c_werror_flag=$ac_c_werror_flag
3485 ac_c_werror_flag=yes
3488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3489 /* end confdefs.h. */
3499 if ac_fn_c_try_compile "$LINENO"; then :
3503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3504 /* end confdefs.h. */
3514 if ac_fn_c_try_compile "$LINENO"; then :
3517 ac_c_werror_flag=$ac_save_c_werror_flag
3519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3520 /* end confdefs.h. */
3530 if ac_fn_c_try_compile "$LINENO"; then :
3533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3538 ac_c_werror_flag=$ac_save_c_werror_flag
3540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3541 $as_echo "$ac_cv_prog_cc_g" >&6; }
3542 if test "$ac_test_CFLAGS" = set; then
3543 CFLAGS=$ac_save_CFLAGS
3544 elif test $ac_cv_prog_cc_g = yes; then
3545 if test "$GCC" = yes; then
3551 if test "$GCC" = yes; then
3557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3558 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3559 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3560 $as_echo_n "(cached) " >&6
3562 ac_cv_prog_cc_c89=no
3564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3565 /* end confdefs.h. */
3568 #include <sys/types.h>
3569 #include <sys/stat.h>
3570 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3571 struct buf { int x; };
3572 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3573 static char *e (p, i)
3579 static char *f (char * (*g) (char **, int), char **p, ...)
3584 s = g (p, va_arg (v,int));
3589 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3590 function prototypes and stuff, but not '\xHH' hex character constants.
3591 These don't provoke an error unfortunately, instead are silently treated
3592 as 'x'. The following induces an error, until -std is added to get
3593 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3594 array size at least. It's necessary to write '\x00'==0 to get something
3595 that's true only with -std. */
3596 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3598 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3599 inside strings and character constants. */
3601 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3603 int test (int i, double x);
3604 struct s1 {int (*f) (int a);};
3605 struct s2 {int (*f) (double a);};
3606 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3612 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3617 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3618 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3620 CC="$ac_save_CC $ac_arg"
3621 if ac_fn_c_try_compile "$LINENO"; then :
3622 ac_cv_prog_cc_c89=$ac_arg
3624 rm -f core conftest.err conftest.$ac_objext
3625 test "x$ac_cv_prog_cc_c89" != "xno" && break
3627 rm -f conftest.$ac_ext
3632 case "x$ac_cv_prog_cc_c89" in
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3635 $as_echo "none needed" >&6; } ;;
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3638 $as_echo "unsupported" >&6; } ;;
3640 CC="$CC $ac_cv_prog_cc_c89"
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3642 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3644 if test "x$ac_cv_prog_cc_c89" != xno; then :
3649 ac_cpp='$CPP $CPPFLAGS'
3650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3655 ac_cpp='$CXXCPP $CPPFLAGS'
3656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3659 if test -z "$CXX"; then
3660 if test -n "$CCC"; then
3663 if test -n "$ac_tool_prefix"; then
3664 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3666 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3667 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3669 $as_echo_n "checking for $ac_word... " >&6; }
3670 if test "${ac_cv_prog_CXX+set}" = set; then :
3671 $as_echo_n "(cached) " >&6
3673 if test -n "$CXX"; then
3674 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3680 test -z "$as_dir" && as_dir=.
3681 for ac_exec_ext in '' $ac_executable_extensions; do
3682 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3683 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3684 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3694 if test -n "$CXX"; then
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3696 $as_echo "$CXX" >&6; }
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3699 $as_echo "no" >&6; }
3703 test -n "$CXX" && break
3706 if test -z "$CXX"; then
3708 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3710 # Extract the first word of "$ac_prog", so it can be a program name with args.
3711 set dummy $ac_prog; ac_word=$2
3712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3713 $as_echo_n "checking for $ac_word... " >&6; }
3714 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
3715 $as_echo_n "(cached) " >&6
3717 if test -n "$ac_ct_CXX"; then
3718 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3724 test -z "$as_dir" && as_dir=.
3725 for ac_exec_ext in '' $ac_executable_extensions; do
3726 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3727 ac_cv_prog_ac_ct_CXX="$ac_prog"
3728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3737 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3738 if test -n "$ac_ct_CXX"; then
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3740 $as_echo "$ac_ct_CXX" >&6; }
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3743 $as_echo "no" >&6; }
3747 test -n "$ac_ct_CXX" && break
3750 if test "x$ac_ct_CXX" = x; then
3753 case $cross_compiling:$ac_tool_warned in
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3756 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3757 ac_tool_warned=yes ;;
3765 # Provide some information about the compiler.
3766 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3769 for ac_option in --version -v -V -qversion; do
3770 { { ac_try="$ac_compiler $ac_option >&5"
3772 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3773 *) ac_try_echo
=$ac_try;;
3775 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3776 $as_echo "$ac_try_echo"; } >&5
3777 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3779 if test -s conftest.err
; then
3781 ... rest of stderr output deleted ...
3782 10q' conftest.err
>conftest.er1
3783 cat conftest.er1
>&5
3785 rm -f conftest.er1 conftest.err
3786 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3787 test $ac_status = 0; }
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3791 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3792 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
3793 $as_echo_n "(cached) " >&6
3795 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3796 /* end confdefs.h. */
3809 if ac_fn_cxx_try_compile
"$LINENO"; then :
3814 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3815 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3819 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3820 if test $ac_compiler_gnu = yes; then
3825 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3826 ac_save_CXXFLAGS
=$CXXFLAGS
3827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3828 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3829 if test "${ac_cv_prog_cxx_g+set}" = set; then :
3830 $as_echo_n "(cached) " >&6
3832 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
3833 ac_cxx_werror_flag
=yes
3836 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3837 /* end confdefs.h. */
3847 if ac_fn_cxx_try_compile
"$LINENO"; then :
3848 ac_cv_prog_cxx_g
=yes
3851 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3852 /* end confdefs.h. */
3862 if ac_fn_cxx_try_compile
"$LINENO"; then :
3865 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3867 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3868 /* end confdefs.h. */
3878 if ac_fn_cxx_try_compile
"$LINENO"; then :
3879 ac_cv_prog_cxx_g
=yes
3881 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3883 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3885 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3886 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3889 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3890 if test "$ac_test_CXXFLAGS" = set; then
3891 CXXFLAGS
=$ac_save_CXXFLAGS
3892 elif test $ac_cv_prog_cxx_g = yes; then
3893 if test "$GXX" = yes; then
3899 if test "$GXX" = yes; then
3906 ac_cpp
='$CPP $CPPFLAGS'
3907 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3908 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3909 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3911 if test -n "$ac_tool_prefix"; then
3912 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3913 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3915 $as_echo_n "checking for $ac_word... " >&6; }
3916 if test "${ac_cv_prog_CPPBIN+set}" = set; then :
3917 $as_echo_n "(cached) " >&6
3919 if test -n "$CPPBIN"; then
3920 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
3922 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3926 test -z "$as_dir" && as_dir
=.
3927 for ac_exec_ext
in '' $ac_executable_extensions; do
3928 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3929 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
3930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3939 CPPBIN
=$ac_cv_prog_CPPBIN
3940 if test -n "$CPPBIN"; then
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
3942 $as_echo "$CPPBIN" >&6; }
3944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3945 $as_echo "no" >&6; }
3950 if test -z "$ac_cv_prog_CPPBIN"; then
3951 ac_ct_CPPBIN
=$CPPBIN
3952 # Extract the first word of "cpp", so it can be a program name with args.
3953 set dummy cpp
; ac_word
=$2
3954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3955 $as_echo_n "checking for $ac_word... " >&6; }
3956 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then :
3957 $as_echo_n "(cached) " >&6
3959 if test -n "$ac_ct_CPPBIN"; then
3960 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
3962 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3966 test -z "$as_dir" && as_dir
=.
3967 for ac_exec_ext
in '' $ac_executable_extensions; do
3968 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3969 ac_cv_prog_ac_ct_CPPBIN
="cpp"
3970 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3979 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
3980 if test -n "$ac_ct_CPPBIN"; then
3981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
3982 $as_echo "$ac_ct_CPPBIN" >&6; }
3984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3985 $as_echo "no" >&6; }
3988 if test "x$ac_ct_CPPBIN" = x
; then
3991 case $cross_compiling:$ac_tool_warned in
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3994 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3995 ac_tool_warned
=yes ;;
3997 CPPBIN
=$ac_ct_CPPBIN
4000 CPPBIN
="$ac_cv_prog_CPPBIN"
4004 cat >>confdefs.h
<<_ACEOF
4005 #define EXEEXT "$ac_exeext"
4011 if test "x$enable_win64" = "xyes"
4015 LD
="${LD:-ld} -arch x86_64"
4016 AS
="${AS:-as} -arch x86_64"
4018 notice_platform
="64-bit "
4024 LD
="${LD:-ld} -arch i386"
4025 AS
="${AS:-as} -arch i386"
4027 notice_platform
="32-bit "
4030 enable_win16
=${enable_win16:-yes}
4034 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4039 $as_echo_n "checking whether $CC works... " >&6; }
4041 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4042 /* end confdefs.h. */
4052 if ac_fn_c_try_link
"$LINENO"; then :
4053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4054 $as_echo "yes" >&6; }
4056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4057 $as_echo "no" >&6; }
4058 as_fn_error
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4060 rm -f core conftest.err conftest.
$ac_objext \
4061 conftest
$ac_exeext conftest.
$ac_ext
4062 LD
="${LD:-ld} -m elf_i386"
4065 notice_platform
="32-bit "
4068 enable_win16
=${enable_win16:-yes}
4070 if test "x${GCC}" = "xyes"
4072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4073 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4074 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4075 /* end confdefs.h. */
4080 void func(__builtin_ms_va_list *args);
4085 if ac_fn_c_try_compile
"$LINENO"; then :
4086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4087 $as_echo "yes" >&6; }
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4090 $as_echo "no" >&6; }
4091 as_fn_error
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4093 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4099 *-mingw32*|
*-cygwin*)
4100 enable_win16
=${enable_win16:-no}
4101 CFLAGS
="$CFLAGS -D_WIN32"
4104 enable_win16
=${enable_win16:-yes}
4108 enable_win16
=${enable_win16:-no}
4110 enable_winetest
=${enable_winetest:-$enable_tests}
4112 if test -n "$with_wine64"
4114 if test "x$enable_win64" = "xyes"
4116 as_fn_error
"--enable-win64 and --with-wine64 are mutually exclusive.
4117 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4121 enable_fonts
=${enable_fonts:-no}
4122 enable_include
=${enable_include:-no}
4123 enable_server
=${enable_server:-no}
4124 enable_tools
=${enable_tools:-no}
4125 enable_wineboot
=${enable_wineboot:-no}
4126 enable_winedbg
=${enable_winedbg:-no}
4127 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib32"
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4131 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4132 if test "${wine_cv_toolsdir+set}" = set; then :
4133 $as_echo_n "(cached) " >&6
4135 wine_cv_toolsdir
="$with_wine_tools"
4136 if test -z "$with_wine_tools"; then
4137 if test "$cross_compiling" = "yes"; then
4138 as_fn_error
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4139 elif test -n "$with_wine64"; then
4140 wine_cv_toolsdir
="$with_wine64"
4143 if test -z "$wine_cv_toolsdir"; then
4144 wine_cv_toolsdir
="\$(TOPOBJDIR)"
4145 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4146 case "$wine_cv_toolsdir" in
4148 *) wine_cv_toolsdir
="\$(TOPOBJDIR)/$wine_cv_toolsdir" ;;
4151 as_fn_error
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4155 $as_echo "$wine_cv_toolsdir" >&6; }
4156 TOOLSDIR
=$wine_cv_toolsdir
4158 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4160 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
4166 # Extract the first word of "$ac_prog", so it can be a program name with args.
4167 set dummy
$ac_prog; ac_word
=$2
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4169 $as_echo_n "checking for $ac_word... " >&6; }
4170 if test "${ac_cv_prog_FLEX+set}" = set; then :
4171 $as_echo_n "(cached) " >&6
4173 if test -n "$FLEX"; then
4174 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4176 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4180 test -z "$as_dir" && as_dir
=.
4181 for ac_exec_ext
in '' $ac_executable_extensions; do
4182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4183 ac_cv_prog_FLEX
="$ac_prog"
4184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4193 FLEX
=$ac_cv_prog_FLEX
4194 if test -n "$FLEX"; then
4195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4196 $as_echo "$FLEX" >&6; }
4198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4199 $as_echo "no" >&6; }
4203 test -n "$FLEX" && break
4205 test -n "$FLEX" || FLEX
="none"
4207 if test "$FLEX" = "none"
4209 as_fn_error
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4212 $as_echo_n "checking whether flex is recent enough... " >&6; }
4213 cat >conftest.l
<<EOF
4215 #include "prediluvian.h"
4219 if $FLEX -t conftest.l
>/dev
/null
2>&1
4221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4222 $as_echo "yes" >&6; }
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4225 $as_echo "no" >&6; }
4226 as_fn_error
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4229 for ac_prog
in bison
4231 # Extract the first word of "$ac_prog", so it can be a program name with args.
4232 set dummy
$ac_prog; ac_word
=$2
4233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4234 $as_echo_n "checking for $ac_word... " >&6; }
4235 if test "${ac_cv_prog_BISON+set}" = set; then :
4236 $as_echo_n "(cached) " >&6
4238 if test -n "$BISON"; then
4239 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4241 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4245 test -z "$as_dir" && as_dir
=.
4246 for ac_exec_ext
in '' $ac_executable_extensions; do
4247 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4248 ac_cv_prog_BISON
="$ac_prog"
4249 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4258 BISON
=$ac_cv_prog_BISON
4259 if test -n "$BISON"; then
4260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4261 $as_echo "$BISON" >&6; }
4263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4264 $as_echo "no" >&6; }
4268 test -n "$BISON" && break
4270 test -n "$BISON" || BISON
="none"
4272 if test "$BISON" = "none"
4274 as_fn_error
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4277 if test -n "$ac_tool_prefix"; then
4278 for ac_prog
in ar gar
4280 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4281 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4283 $as_echo_n "checking for $ac_word... " >&6; }
4284 if test "${ac_cv_prog_AR+set}" = set; then :
4285 $as_echo_n "(cached) " >&6
4287 if test -n "$AR"; then
4288 ac_cv_prog_AR
="$AR" # Let the user override the test.
4290 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4294 test -z "$as_dir" && as_dir
=.
4295 for ac_exec_ext
in '' $ac_executable_extensions; do
4296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4297 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
4298 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4308 if test -n "$AR"; then
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4310 $as_echo "$AR" >&6; }
4312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4313 $as_echo "no" >&6; }
4317 test -n "$AR" && break
4320 if test -z "$AR"; then
4322 for ac_prog
in ar gar
4324 # Extract the first word of "$ac_prog", so it can be a program name with args.
4325 set dummy
$ac_prog; ac_word
=$2
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4327 $as_echo_n "checking for $ac_word... " >&6; }
4328 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
4329 $as_echo_n "(cached) " >&6
4331 if test -n "$ac_ct_AR"; then
4332 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4334 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4338 test -z "$as_dir" && as_dir
=.
4339 for ac_exec_ext
in '' $ac_executable_extensions; do
4340 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4341 ac_cv_prog_ac_ct_AR
="$ac_prog"
4342 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4351 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4352 if test -n "$ac_ct_AR"; then
4353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4354 $as_echo "$ac_ct_AR" >&6; }
4356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4357 $as_echo "no" >&6; }
4361 test -n "$ac_ct_AR" && break
4364 if test "x$ac_ct_AR" = x
; then
4367 case $cross_compiling:$ac_tool_warned in
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4370 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4371 ac_tool_warned
=yes ;;
4379 if test -n "$ac_tool_prefix"; then
4380 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4381 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4383 $as_echo_n "checking for $ac_word... " >&6; }
4384 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4385 $as_echo_n "(cached) " >&6
4387 if test -n "$RANLIB"; then
4388 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4390 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4394 test -z "$as_dir" && as_dir
=.
4395 for ac_exec_ext
in '' $ac_executable_extensions; do
4396 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4397 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4407 RANLIB
=$ac_cv_prog_RANLIB
4408 if test -n "$RANLIB"; then
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4410 $as_echo "$RANLIB" >&6; }
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4413 $as_echo "no" >&6; }
4418 if test -z "$ac_cv_prog_RANLIB"; then
4419 ac_ct_RANLIB
=$RANLIB
4420 # Extract the first word of "ranlib", so it can be a program name with args.
4421 set dummy ranlib
; ac_word
=$2
4422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4423 $as_echo_n "checking for $ac_word... " >&6; }
4424 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4425 $as_echo_n "(cached) " >&6
4427 if test -n "$ac_ct_RANLIB"; then
4428 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4430 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4434 test -z "$as_dir" && as_dir
=.
4435 for ac_exec_ext
in '' $ac_executable_extensions; do
4436 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4437 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4438 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4447 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4448 if test -n "$ac_ct_RANLIB"; then
4449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4450 $as_echo "$ac_ct_RANLIB" >&6; }
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4453 $as_echo "no" >&6; }
4456 if test "x$ac_ct_RANLIB" = x
; then
4459 case $cross_compiling:$ac_tool_warned in
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4462 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4463 ac_tool_warned
=yes ;;
4465 RANLIB
=$ac_ct_RANLIB
4468 RANLIB
="$ac_cv_prog_RANLIB"
4471 if test -n "$ac_tool_prefix"; then
4472 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4473 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4475 $as_echo_n "checking for $ac_word... " >&6; }
4476 if test "${ac_cv_prog_STRIP+set}" = set; then :
4477 $as_echo_n "(cached) " >&6
4479 if test -n "$STRIP"; then
4480 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4482 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4486 test -z "$as_dir" && as_dir
=.
4487 for ac_exec_ext
in '' $ac_executable_extensions; do
4488 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4489 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4490 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4499 STRIP
=$ac_cv_prog_STRIP
4500 if test -n "$STRIP"; then
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4502 $as_echo "$STRIP" >&6; }
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4505 $as_echo "no" >&6; }
4510 if test -z "$ac_cv_prog_STRIP"; then
4512 # Extract the first word of "strip", so it can be a program name with args.
4513 set dummy strip
; ac_word
=$2
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4515 $as_echo_n "checking for $ac_word... " >&6; }
4516 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
4517 $as_echo_n "(cached) " >&6
4519 if test -n "$ac_ct_STRIP"; then
4520 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4522 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4526 test -z "$as_dir" && as_dir
=.
4527 for ac_exec_ext
in '' $ac_executable_extensions; do
4528 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4529 ac_cv_prog_ac_ct_STRIP
="strip"
4530 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4539 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4540 if test -n "$ac_ct_STRIP"; then
4541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4542 $as_echo "$ac_ct_STRIP" >&6; }
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4545 $as_echo "no" >&6; }
4548 if test "x$ac_ct_STRIP" = x
; then
4551 case $cross_compiling:$ac_tool_warned in
4553 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4554 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4555 ac_tool_warned
=yes ;;
4560 STRIP
="$ac_cv_prog_STRIP"
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4564 $as_echo_n "checking whether ln -s works... " >&6; }
4566 if test "$LN_S" = "ln -s"; then
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4568 $as_echo "yes" >&6; }
4570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4571 $as_echo "no, using $LN_S" >&6; }
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4575 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4576 if test "${ac_cv_path_GREP+set}" = set; then :
4577 $as_echo_n "(cached) " >&6
4579 if test -z "$GREP"; then
4580 ac_path_GREP_found
=false
4581 # Loop through the user's path and test for each of PROGNAME-LIST
4582 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4583 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4586 test -z "$as_dir" && as_dir
=.
4587 for ac_prog
in grep ggrep
; do
4588 for ac_exec_ext
in '' $ac_executable_extensions; do
4589 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4590 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4591 # Check for GNU ac_path_GREP and select it if it is found.
4592 # Check for GNU $ac_path_GREP
4593 case `"$ac_path_GREP" --version 2>&1` in
4595 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4598 $as_echo_n 0123456789 >"conftest.in"
4601 cat "conftest.in" "conftest.in" >"conftest.tmp"
4602 mv "conftest.tmp" "conftest.in"
4603 cp "conftest.in" "conftest.nl"
4604 $as_echo 'GREP' >> "conftest.nl"
4605 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4606 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4607 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4608 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4609 # Best one so far, save it but keep looking for a better one
4610 ac_cv_path_GREP
="$ac_path_GREP"
4611 ac_path_GREP_max
=$ac_count
4613 # 10*(2^10) chars as input seems more than enough
4614 test $ac_count -gt 10 && break
4616 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4619 $ac_path_GREP_found && break 3
4624 if test -z "$ac_cv_path_GREP"; then
4625 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4628 ac_cv_path_GREP
=$GREP
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4633 $as_echo "$ac_cv_path_GREP" >&6; }
4634 GREP
="$ac_cv_path_GREP"
4637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4638 $as_echo_n "checking for egrep... " >&6; }
4639 if test "${ac_cv_path_EGREP+set}" = set; then :
4640 $as_echo_n "(cached) " >&6
4642 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4643 then ac_cv_path_EGREP
="$GREP -E"
4645 if test -z "$EGREP"; then
4646 ac_path_EGREP_found
=false
4647 # Loop through the user's path and test for each of PROGNAME-LIST
4648 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4649 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4652 test -z "$as_dir" && as_dir
=.
4653 for ac_prog
in egrep; do
4654 for ac_exec_ext
in '' $ac_executable_extensions; do
4655 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4656 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4657 # Check for GNU ac_path_EGREP and select it if it is found.
4658 # Check for GNU $ac_path_EGREP
4659 case `"$ac_path_EGREP" --version 2>&1` in
4661 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4664 $as_echo_n 0123456789 >"conftest.in"
4667 cat "conftest.in" "conftest.in" >"conftest.tmp"
4668 mv "conftest.tmp" "conftest.in"
4669 cp "conftest.in" "conftest.nl"
4670 $as_echo 'EGREP' >> "conftest.nl"
4671 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4672 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4673 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4674 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4675 # Best one so far, save it but keep looking for a better one
4676 ac_cv_path_EGREP
="$ac_path_EGREP"
4677 ac_path_EGREP_max
=$ac_count
4679 # 10*(2^10) chars as input seems more than enough
4680 test $ac_count -gt 10 && break
4682 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4685 $ac_path_EGREP_found && break 3
4690 if test -z "$ac_cv_path_EGREP"; then
4691 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4694 ac_cv_path_EGREP
=$EGREP
4699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4700 $as_echo "$ac_cv_path_EGREP" >&6; }
4701 EGREP
="$ac_cv_path_EGREP"
4704 # Extract the first word of "ldconfig", so it can be a program name with args.
4705 set dummy ldconfig
; ac_word
=$2
4706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4707 $as_echo_n "checking for $ac_word... " >&6; }
4708 if test "${ac_cv_path_LDCONFIG+set}" = set; then :
4709 $as_echo_n "(cached) " >&6
4713 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
4716 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4717 for as_dir
in /sbin
/usr
/sbin
$PATH
4720 test -z "$as_dir" && as_dir
=.
4721 for ac_exec_ext
in '' $ac_executable_extensions; do
4722 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4723 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
4724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4731 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
4735 LDCONFIG
=$ac_cv_path_LDCONFIG
4736 if test -n "$LDCONFIG"; then
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
4738 $as_echo "$LDCONFIG" >&6; }
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4741 $as_echo "no" >&6; }
4745 # Find a good install program. We prefer a C program (faster),
4746 # so one script is as good as another. But avoid the broken or
4747 # incompatible versions:
4748 # SysV /etc/install, /usr/sbin/install
4749 # SunOS /usr/etc/install
4750 # IRIX /sbin/install
4752 # AmigaOS /C/install, which installs bootblocks on floppy discs
4753 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4754 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4755 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4756 # OS/2's system install, which has a completely different semantic
4757 # ./install, which can be erroneously created by make from ./install.sh.
4758 # Reject install programs that cannot install multiple files.
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4760 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4761 if test -z "$INSTALL"; then
4762 if test "${ac_cv_path_install+set}" = set; then :
4763 $as_echo_n "(cached) " >&6
4765 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4769 test -z "$as_dir" && as_dir
=.
4770 # Account for people who put trailing slashes in PATH elements.
4771 case $as_dir/ in #((
4772 .
/ | .
// |
/[cC
]/* | \
4773 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4774 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4777 # OSF1 and SCO ODT 3.0 have their own names for install.
4778 # Don't use installbsd from OSF since it installs stuff as root
4780 for ac_prog
in ginstall scoinst
install; do
4781 for ac_exec_ext
in '' $ac_executable_extensions; do
4782 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4783 if test $ac_prog = install &&
4784 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4785 # AIX install. It has an incompatible calling convention.
4787 elif test $ac_prog = install &&
4788 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4789 # program-specific install script used by HP pwplus--don't use.
4792 rm -rf conftest.one conftest.two conftest.dir
4793 echo one
> conftest.one
4794 echo two
> conftest.two
4796 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4797 test -s conftest.one
&& test -s conftest.two
&&
4798 test -s conftest.dir
/conftest.one
&&
4799 test -s conftest.dir
/conftest.two
4801 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4814 rm -rf conftest.one conftest.two conftest.dir
4817 if test "${ac_cv_path_install+set}" = set; then
4818 INSTALL
=$ac_cv_path_install
4820 # As a last resort, use the slow shell script. Don't cache a
4821 # value for INSTALL within a source directory, because that will
4822 # break other packages using the cache if that directory is
4823 # removed, or if the value is a relative name.
4824 INSTALL
=$ac_install_sh
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4828 $as_echo "$INSTALL" >&6; }
4830 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4831 # It thinks the first close brace ends the variable substitution.
4832 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4834 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4836 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4839 [\\/$
]* | ?
:[\\/]* ) ;;
4840 *) INSTALL
="\\\$(TOPSRCDIR)/$INSTALL" ;;
4843 for ac_prog
in lclint lint
4845 # Extract the first word of "$ac_prog", so it can be a program name with args.
4846 set dummy
$ac_prog; ac_word
=$2
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4848 $as_echo_n "checking for $ac_word... " >&6; }
4849 if test "${ac_cv_prog_LINT+set}" = set; then :
4850 $as_echo_n "(cached) " >&6
4852 if test -n "$LINT"; then
4853 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
4855 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4859 test -z "$as_dir" && as_dir
=.
4860 for ac_exec_ext
in '' $ac_executable_extensions; do
4861 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4862 ac_cv_prog_LINT
="$ac_prog"
4863 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4872 LINT
=$ac_cv_prog_LINT
4873 if test -n "$LINT"; then
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
4875 $as_echo "$LINT" >&6; }
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4878 $as_echo "no" >&6; }
4882 test -n "$LINT" && break
4885 if test "$LINT" = "lint"
4887 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
4892 for ac_prog
in fontforge
4894 # Extract the first word of "$ac_prog", so it can be a program name with args.
4895 set dummy
$ac_prog; ac_word
=$2
4896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4897 $as_echo_n "checking for $ac_word... " >&6; }
4898 if test "${ac_cv_prog_FONTFORGE+set}" = set; then :
4899 $as_echo_n "(cached) " >&6
4901 if test -n "$FONTFORGE"; then
4902 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
4904 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4908 test -z "$as_dir" && as_dir
=.
4909 for ac_exec_ext
in '' $ac_executable_extensions; do
4910 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4911 ac_cv_prog_FONTFORGE
="$ac_prog"
4912 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4921 FONTFORGE
=$ac_cv_prog_FONTFORGE
4922 if test -n "$FONTFORGE"; then
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
4924 $as_echo "$FONTFORGE" >&6; }
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4927 $as_echo "no" >&6; }
4931 test -n "$FONTFORGE" && break
4933 test -n "$FONTFORGE" || FONTFORGE
="false"
4935 for ac_prog
in pkg-config
4937 # Extract the first word of "$ac_prog", so it can be a program name with args.
4938 set dummy
$ac_prog; ac_word
=$2
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4940 $as_echo_n "checking for $ac_word... " >&6; }
4941 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then :
4942 $as_echo_n "(cached) " >&6
4944 if test -n "$PKG_CONFIG"; then
4945 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
4947 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4951 test -z "$as_dir" && as_dir
=.
4952 for ac_exec_ext
in '' $ac_executable_extensions; do
4953 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4954 ac_cv_prog_PKG_CONFIG
="$ac_prog"
4955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4964 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
4965 if test -n "$PKG_CONFIG"; then
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4967 $as_echo "$PKG_CONFIG" >&6; }
4969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4970 $as_echo "no" >&6; }
4974 test -n "$PKG_CONFIG" && break
4976 test -n "$PKG_CONFIG" || PKG_CONFIG
="false"
4980 # Extract the first word of "$ac_prog", so it can be a program name with args.
4981 set dummy
$ac_prog; ac_word
=$2
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4983 $as_echo_n "checking for $ac_word... " >&6; }
4984 if test "${ac_cv_prog_RSVG+set}" = set; then :
4985 $as_echo_n "(cached) " >&6
4987 if test -n "$RSVG"; then
4988 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
4990 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4994 test -z "$as_dir" && as_dir
=.
4995 for ac_exec_ext
in '' $ac_executable_extensions; do
4996 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4997 ac_cv_prog_RSVG
="$ac_prog"
4998 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5007 RSVG
=$ac_cv_prog_RSVG
5008 if test -n "$RSVG"; then
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5010 $as_echo "$RSVG" >&6; }
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5013 $as_echo "no" >&6; }
5017 test -n "$RSVG" && break
5019 test -n "$RSVG" || RSVG
="false"
5021 for ac_prog
in icotool
5023 # Extract the first word of "$ac_prog", so it can be a program name with args.
5024 set dummy
$ac_prog; ac_word
=$2
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5026 $as_echo_n "checking for $ac_word... " >&6; }
5027 if test "${ac_cv_prog_ICOTOOL+set}" = set; then :
5028 $as_echo_n "(cached) " >&6
5030 if test -n "$ICOTOOL"; then
5031 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5033 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5037 test -z "$as_dir" && as_dir
=.
5038 for ac_exec_ext
in '' $ac_executable_extensions; do
5039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5040 ac_cv_prog_ICOTOOL
="$ac_prog"
5041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5050 ICOTOOL
=$ac_cv_prog_ICOTOOL
5051 if test -n "$ICOTOOL"; then
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5053 $as_echo "$ICOTOOL" >&6; }
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5056 $as_echo "no" >&6; }
5060 test -n "$ICOTOOL" && break
5062 test -n "$ICOTOOL" || ICOTOOL
="false"
5065 if test "${enable_maintainer_mode+set}" = set
5067 if test "$FONTFORGE" = "false"; then as_fn_append wine_warnings
"|fontforge is missing, fonts can't be rebuilt."; fi
5068 if test "$RSVG" = "false"; then as_fn_append wine_warnings
"|rsvg is missing, icons can't be rebuilt."; fi
5069 if test "$ICOTOOL" = "false"; then as_fn_append wine_warnings
"|icotool is missing, icons can't be rebuilt."; fi
5074 # Extract the first word of "prelink", so it can be a program name with args.
5075 set dummy prelink
; ac_word
=$2
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5077 $as_echo_n "checking for $ac_word... " >&6; }
5078 if test "${ac_cv_path_PRELINK+set}" = set; then :
5079 $as_echo_n "(cached) " >&6
5083 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
5086 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5087 for as_dir
in /sbin
/usr
/sbin
$PATH
5090 test -z "$as_dir" && as_dir
=.
5091 for ac_exec_ext
in '' $ac_executable_extensions; do
5092 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5093 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
5094 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5101 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
5105 PRELINK
=$ac_cv_path_PRELINK
5106 if test -n "$PRELINK"; then
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
5108 $as_echo "$PRELINK" >&6; }
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5111 $as_echo "no" >&6; }
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5120 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5121 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then :
5122 $as_echo_n "(cached) " >&6
5124 ac_check_lib_save_LIBS
=$LIBS
5126 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5127 /* end confdefs.h. */
5129 /* Override any GCC internal prototype to avoid an error.
5130 Use char because int might match the return type of a GCC
5131 builtin and then its argument prototype would still apply. */
5135 char i386_set_ldt ();
5139 return i386_set_ldt ();
5144 if ac_fn_c_try_link
"$LINENO"; then :
5145 ac_cv_lib_i386_i386_set_ldt
=yes
5147 ac_cv_lib_i386_i386_set_ldt
=no
5149 rm -f core conftest.err conftest.
$ac_objext \
5150 conftest
$ac_exeext conftest.
$ac_ext
5151 LIBS
=$ac_check_lib_save_LIBS
5153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5154 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5155 if test "x$ac_cv_lib_i386_i386_set_ldt" = x
""yes; then :
5156 cat >>confdefs.h
<<_ACEOF
5157 #define HAVE_LIBI386 1
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5165 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5166 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then :
5167 $as_echo_n "(cached) " >&6
5169 ac_check_lib_save_LIBS
=$LIBS
5170 LIBS
="-lossaudio $LIBS"
5171 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5172 /* end confdefs.h. */
5174 /* Override any GCC internal prototype to avoid an error.
5175 Use char because int might match the return type of a GCC
5176 builtin and then its argument prototype would still apply. */
5184 return _oss_ioctl ();
5189 if ac_fn_c_try_link
"$LINENO"; then :
5190 ac_cv_lib_ossaudio__oss_ioctl
=yes
5192 ac_cv_lib_ossaudio__oss_ioctl
=no
5194 rm -f core conftest.err conftest.
$ac_objext \
5195 conftest
$ac_exeext conftest.
$ac_ext
5196 LIBS
=$ac_check_lib_save_LIBS
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5199 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5200 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = x
""yes; then :
5201 cat >>confdefs.h
<<_ACEOF
5202 #define HAVE_LIBOSSAUDIO 1
5205 LIBS
="-lossaudio $LIBS"
5216 # Check whether --enable-largefile was given.
5217 if test "${enable_largefile+set}" = set; then :
5218 enableval
=$enable_largefile;
5221 if test "$enable_largefile" != no
; then
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5224 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5225 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
5226 $as_echo_n "(cached) " >&6
5228 ac_cv_sys_largefile_CC
=no
5229 if test "$GCC" != yes; then
5232 # IRIX 6.2 and later do not support large files by default,
5233 # so use the C compiler's -n32 option if that helps.
5234 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5235 /* end confdefs.h. */
5236 #include <sys/types.h>
5237 /* Check that off_t can represent 2**63 - 1 correctly.
5238 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5239 since some C++ compilers masquerading as C compilers
5240 incorrectly reject 9223372036854775807. */
5241 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5242 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5243 && LARGE_OFF_T % 2147483647 == 1)
5253 if ac_fn_c_try_compile
"$LINENO"; then :
5256 rm -f core conftest.err conftest.
$ac_objext
5258 if ac_fn_c_try_compile
"$LINENO"; then :
5259 ac_cv_sys_largefile_CC
=' -n32'; break
5261 rm -f core conftest.err conftest.
$ac_objext
5265 rm -f conftest.
$ac_ext
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5269 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5270 if test "$ac_cv_sys_largefile_CC" != no
; then
5271 CC
=$CC$ac_cv_sys_largefile_CC
5274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5275 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5276 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
5277 $as_echo_n "(cached) " >&6
5280 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5281 /* end confdefs.h. */
5282 #include <sys/types.h>
5283 /* Check that off_t can represent 2**63 - 1 correctly.
5284 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5285 since some C++ compilers masquerading as C compilers
5286 incorrectly reject 9223372036854775807. */
5287 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5288 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5289 && LARGE_OFF_T % 2147483647 == 1)
5299 if ac_fn_c_try_compile
"$LINENO"; then :
5300 ac_cv_sys_file_offset_bits
=no
; break
5302 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5303 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5304 /* end confdefs.h. */
5305 #define _FILE_OFFSET_BITS 64
5306 #include <sys/types.h>
5307 /* Check that off_t can represent 2**63 - 1 correctly.
5308 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5309 since some C++ compilers masquerading as C compilers
5310 incorrectly reject 9223372036854775807. */
5311 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5312 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5313 && LARGE_OFF_T % 2147483647 == 1)
5323 if ac_fn_c_try_compile
"$LINENO"; then :
5324 ac_cv_sys_file_offset_bits
=64; break
5326 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5327 ac_cv_sys_file_offset_bits
=unknown
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5332 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5333 case $ac_cv_sys_file_offset_bits in #(
5336 cat >>confdefs.h
<<_ACEOF
5337 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5342 if test $ac_cv_sys_file_offset_bits = unknown
; then
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5344 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5345 if test "${ac_cv_sys_large_files+set}" = set; then :
5346 $as_echo_n "(cached) " >&6
5349 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5350 /* end confdefs.h. */
5351 #include <sys/types.h>
5352 /* Check that off_t can represent 2**63 - 1 correctly.
5353 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5354 since some C++ compilers masquerading as C compilers
5355 incorrectly reject 9223372036854775807. */
5356 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5357 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5358 && LARGE_OFF_T % 2147483647 == 1)
5368 if ac_fn_c_try_compile
"$LINENO"; then :
5369 ac_cv_sys_large_files
=no
; break
5371 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5372 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5373 /* end confdefs.h. */
5374 #define _LARGE_FILES 1
5375 #include <sys/types.h>
5376 /* Check that off_t can represent 2**63 - 1 correctly.
5377 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5378 since some C++ compilers masquerading as C compilers
5379 incorrectly reject 9223372036854775807. */
5380 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5381 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5382 && LARGE_OFF_T % 2147483647 == 1)
5392 if ac_fn_c_try_compile
"$LINENO"; then :
5393 ac_cv_sys_large_files
=1; break
5395 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5396 ac_cv_sys_large_files
=unknown
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5401 $as_echo "$ac_cv_sys_large_files" >&6; }
5402 case $ac_cv_sys_large_files in #(
5405 cat >>confdefs.h
<<_ACEOF
5406 #define _LARGE_FILES $ac_cv_sys_large_files
5416 ac_cpp
='$CPP $CPPFLAGS'
5417 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5418 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5419 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5421 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5422 # On Suns, sometimes $CPP names a directory.
5423 if test -n "$CPP" && test -d "$CPP"; then
5426 if test -z "$CPP"; then
5427 if test "${ac_cv_prog_CPP+set}" = set; then :
5428 $as_echo_n "(cached) " >&6
5430 # Double quotes because CPP needs to be expanded
5431 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5434 for ac_c_preproc_warn_flag
in '' yes
5436 # Use a header file that comes with gcc, so configuring glibc
5437 # with a fresh cross-compiler works.
5438 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5439 # <limits.h> exists even on freestanding compilers.
5440 # On the NeXT, cc -E runs the code through the compiler's parser,
5441 # not just through cpp. "Syntax error" is here to catch this case.
5442 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5443 /* end confdefs.h. */
5445 # include <limits.h>
5447 # include <assert.h>
5451 if ac_fn_c_try_cpp
"$LINENO"; then :
5454 # Broken: fails on valid input.
5457 rm -f conftest.err conftest.
$ac_ext
5459 # OK, works on sane cases. Now check whether nonexistent headers
5460 # can be detected and how.
5461 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5462 /* end confdefs.h. */
5463 #include <ac_nonexistent.h>
5465 if ac_fn_c_try_cpp
"$LINENO"; then :
5466 # Broken: success on invalid input.
5469 # Passes both tests.
5473 rm -f conftest.err conftest.
$ac_ext
5476 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5477 rm -f conftest.err conftest.
$ac_ext
5478 if $ac_preproc_ok; then :
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5491 $as_echo "$CPP" >&6; }
5493 for ac_c_preproc_warn_flag
in '' yes
5495 # Use a header file that comes with gcc, so configuring glibc
5496 # with a fresh cross-compiler works.
5497 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5498 # <limits.h> exists even on freestanding compilers.
5499 # On the NeXT, cc -E runs the code through the compiler's parser,
5500 # not just through cpp. "Syntax error" is here to catch this case.
5501 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5502 /* end confdefs.h. */
5504 # include <limits.h>
5506 # include <assert.h>
5510 if ac_fn_c_try_cpp
"$LINENO"; then :
5513 # Broken: fails on valid input.
5516 rm -f conftest.err conftest.
$ac_ext
5518 # OK, works on sane cases. Now check whether nonexistent headers
5519 # can be detected and how.
5520 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5521 /* end confdefs.h. */
5522 #include <ac_nonexistent.h>
5524 if ac_fn_c_try_cpp
"$LINENO"; then :
5525 # Broken: success on invalid input.
5528 # Passes both tests.
5532 rm -f conftest.err conftest.
$ac_ext
5535 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5536 rm -f conftest.err conftest.
$ac_ext
5537 if $ac_preproc_ok; then :
5540 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5541 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5542 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
5543 See \`config.log' for more details." "$LINENO" 5; }
5547 ac_cpp
='$CPP $CPPFLAGS'
5548 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5549 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5550 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5554 $as_echo_n "checking for ANSI C header files... " >&6; }
5555 if test "${ac_cv_header_stdc+set}" = set; then :
5556 $as_echo_n "(cached) " >&6
5558 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5559 /* end confdefs.h. */
5573 if ac_fn_c_try_compile
"$LINENO"; then :
5574 ac_cv_header_stdc
=yes
5576 ac_cv_header_stdc
=no
5578 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5580 if test $ac_cv_header_stdc = yes; then
5581 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5582 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5583 /* end confdefs.h. */
5587 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5588 $EGREP "memchr" >/dev
/null
2>&1; then :
5591 ac_cv_header_stdc
=no
5597 if test $ac_cv_header_stdc = yes; then
5598 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5600 /* end confdefs.h. */
5604 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5605 $EGREP "free" >/dev
/null
2>&1; then :
5608 ac_cv_header_stdc
=no
5614 if test $ac_cv_header_stdc = yes; then
5615 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5616 if test "$cross_compiling" = yes; then :
5619 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5620 /* end confdefs.h. */
5623 #if ((' ' & 0x0FF) == 0x020)
5624 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5625 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5627 # define ISLOWER(c) \
5628 (('a' <= (c) && (c) <= 'i') \
5629 || ('j' <= (c) && (c) <= 'r') \
5630 || ('s' <= (c) && (c) <= 'z'))
5631 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5634 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5639 for (i = 0; i < 256; i++)
5640 if (XOR (islower (i), ISLOWER (i))
5641 || toupper (i) != TOUPPER (i))
5646 if ac_fn_c_try_run
"$LINENO"; then :
5649 ac_cv_header_stdc
=no
5651 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5652 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5658 $as_echo "$ac_cv_header_stdc" >&6; }
5659 if test $ac_cv_header_stdc = yes; then
5661 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5665 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5666 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5667 inttypes.h stdint.h unistd.h
5669 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5670 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5672 eval as_val
=\$
$as_ac_Header
5673 if test "x$as_val" = x
""yes; then :
5674 cat >>confdefs.h
<<_ACEOF
5675 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5685 AudioToolbox
/AudioConverter.h \
5686 AudioToolbox
/AudioFile.h \
5687 AudioToolbox
/AudioFileStream.h \
5688 AudioUnit
/AudioUnit.h \
5690 CoreAudio
/CoreAudio.h \
5691 DiskArbitration
/DiskArbitration.h \
5693 IOKit
/hid
/IOHIDLib.h \
5708 fontconfig
/fontconfig.h \
5741 machine
/soundcard.h \
5747 netinet
/in_systm.h \
5815 valgrind
/memcheck.h \
5816 valgrind
/valgrind.h \
5820 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5821 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5822 eval as_val
=\$
$as_ac_Header
5823 if test "x$as_val" = x
""yes; then :
5824 cat >>confdefs.h
<<_ACEOF
5825 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
5833 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
5834 if test "${ac_cv_header_stat_broken+set}" = set; then :
5835 $as_echo_n "(cached) " >&6
5837 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5838 /* end confdefs.h. */
5839 #include <sys/types.h>
5840 #include <sys/stat.h>
5842 #if defined S_ISBLK && defined S_IFDIR
5843 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
5846 #if defined S_ISBLK && defined S_IFCHR
5847 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
5850 #if defined S_ISLNK && defined S_IFREG
5851 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
5854 #if defined S_ISSOCK && defined S_IFREG
5855 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
5859 if ac_fn_c_try_compile
"$LINENO"; then :
5860 ac_cv_header_stat_broken
=no
5862 ac_cv_header_stat_broken
=yes
5864 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
5867 $as_echo "$ac_cv_header_stat_broken" >&6; }
5868 if test $ac_cv_header_stat_broken = yes; then
5870 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
5876 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
5878 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5879 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
5880 #ifdef HAVE_SYS_PARAM_H
5881 # include <sys/param.h>
5884 eval as_val
=\$
$as_ac_Header
5885 if test "x$as_val" = x
""yes; then :
5886 cat >>confdefs.h
<<_ACEOF
5887 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5902 netinet
/if_ether.h \
5903 netinet
/if_inarp.h \
5911 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5912 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
5913 #ifdef HAVE_SYS_SOCKET_H
5914 # include <sys/socket.h>
5916 #ifdef HAVE_SYS_SOCKETVAR_H
5917 # include <sys/socketvar.h>
5919 #ifdef HAVE_NET_ROUTE_H
5920 # include <net/route.h>
5922 #ifdef HAVE_NETINET_IN_H
5923 # include <netinet/in.h>
5925 #ifdef HAVE_NETINET_IN_SYSTM_H
5926 # include <netinet/in_systm.h>
5928 #ifdef HAVE_NET_IF_H
5929 # include <net/if.h>
5931 #ifdef HAVE_NETINET_IP_H
5932 # include <netinet/ip.h>
5935 eval as_val
=\$
$as_ac_Header
5936 if test "x$as_val" = x
""yes; then :
5937 cat >>confdefs.h
<<_ACEOF
5938 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5946 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
5948 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5949 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
5953 #ifdef HAVE_SYS_SOCKET_H
5954 # include <sys/socket.h>
5956 #ifdef HAVE_SYS_SOCKETVAR_H
5957 # include <sys/socketvar.h>
5959 #ifdef HAVE_SYS_TIMEOUT_H
5960 # include <sys/timeout.h>
5962 #ifdef HAVE_NETINET_IN_H
5963 # include <netinet/in.h>
5965 #ifdef HAVE_NETINET_IN_SYSTM_H
5966 # include <netinet/in_systm.h>
5968 #ifdef HAVE_NETINET_IP_H
5969 # include <netinet/ip.h>
5971 #ifdef HAVE_NETINET_IP_VAR_H
5972 # include <netinet/ip_var.h>
5974 #ifdef HAVE_NETINET_IP_ICMP_H
5975 # include <netinet/ip_icmp.h>
5977 #ifdef HAVE_NETINET_UDP_H
5978 # include <netinet/udp.h>
5980 #ifdef HAVE_NETINET_TCP_H
5981 # include <netinet/tcp.h>
5983 #ifdef HAVE_NETINET_TCP_TIMER_H
5984 #include <netinet/tcp_timer.h>
5987 eval as_val
=\$
$as_ac_Header
5988 if test "x$as_val" = x
""yes; then :
5989 cat >>confdefs.h
<<_ACEOF
5990 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5998 for ac_header
in linux
/ipx.h linux
/irda.h
6000 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6001 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6002 #ifdef HAVE_ASM_TYPES_H
6003 # include <asm/types.h>
6005 #ifdef HAVE_SYS_SOCKET_H
6006 # include <sys/socket.h>
6008 #ifdef HAVE_LINUX_TYPES_H
6009 # include <linux/types.h>
6012 eval as_val
=\$
$as_ac_Header
6013 if test "x$as_val" = x
""yes; then :
6014 cat >>confdefs.h
<<_ACEOF
6015 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6023 for ac_header
in mach-o
/dyld_images.h
6025 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6026 # include <stdbool.h>
6028 #ifdef HAVE_STDINT_H
6029 # include <stdint.h>
6032 if test "x$ac_cv_header_mach_o_dyld_images_h" = x
""yes; then :
6033 cat >>confdefs.h
<<_ACEOF
6034 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6042 for ac_header
in resolv.h
6044 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6045 #ifdef HAVE_SYS_SOCKET_H
6046 # include <sys/socket.h>
6048 #ifdef HAVE_NETINET_IN_H
6049 # include <netinet/in.h>
6051 #ifdef HAVE_ARPA_NAMESER_H
6052 # include <arpa/nameser.h>
6055 if test "x$ac_cv_header_resolv_h" = x
""yes; then :
6056 cat >>confdefs.h
<<_ACEOF
6057 #define HAVE_RESOLV_H 1
6065 for ac_header
in ifaddrs.h
6067 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6069 if test "x$ac_cv_header_ifaddrs_h" = x
""yes; then :
6070 cat >>confdefs.h
<<_ACEOF
6071 #define HAVE_IFADDRS_H 1
6079 for ac_header
in ucontext.h
6081 ac_fn_c_check_header_compile
"$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6083 if test "x$ac_cv_header_ucontext_h" = x
""yes; then :
6084 cat >>confdefs.h
<<_ACEOF
6085 #define HAVE_UCONTEXT_H 1
6093 for ac_header
in sys
/thr.h
6095 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6096 #ifdef HAVE_UCONTEXT_H
6097 #include <ucontext.h>
6100 if test "x$ac_cv_header_sys_thr_h" = x
""yes; then :
6101 cat >>confdefs.h
<<_ACEOF
6102 #define HAVE_SYS_THR_H 1
6110 for ac_header
in pthread_np.h
6112 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6113 #include <pthread.h>
6116 if test "x$ac_cv_header_pthread_np_h" = x
""yes; then :
6117 cat >>confdefs.h
<<_ACEOF
6118 #define HAVE_PTHREAD_NP_H 1
6126 for ac_header
in linux
/videodev.h
6128 ac_fn_c_check_header_compile
"$LINENO" "linux/videodev.h" "ac_cv_header_linux_videodev_h" "#ifdef HAVE_SYS_TIME_H
6129 #include <sys/time.h>
6131 #include <sys/types.h>
6132 #ifdef HAVE_ASM_TYPES_H
6133 #include <asm/types.h>
6136 if test "x$ac_cv_header_linux_videodev_h" = x
""yes; then :
6137 cat >>confdefs.h
<<_ACEOF
6138 #define HAVE_LINUX_VIDEODEV_H 1
6146 for ac_header
in linux
/capi.h
6148 ac_fn_c_check_header_compile
"$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
6150 if test "x$ac_cv_header_linux_capi_h" = x
""yes; then :
6151 cat >>confdefs.h
<<_ACEOF
6152 #define HAVE_LINUX_CAPI_H 1
6163 DLLFLAGS
="-D_REENTRANT"
6177 STATIC_IMPLIBEXT
="def.a"
6178 # Extract the first word of "ldd", so it can be a program name with args.
6179 set dummy ldd
; ac_word
=$2
6180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6181 $as_echo_n "checking for $ac_word... " >&6; }
6182 if test "${ac_cv_path_LDD+set}" = set; then :
6183 $as_echo_n "(cached) " >&6
6187 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
6190 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6191 as_dummy
="/sbin:/usr/sbin:$PATH"
6192 for as_dir
in $as_dummy
6195 test -z "$as_dir" && as_dir
=.
6196 for ac_exec_ext
in '' $ac_executable_extensions; do
6197 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6198 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
6199 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6206 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
6211 if test -n "$LDD"; then
6212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6213 $as_echo "$LDD" >&6; }
6215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6216 $as_echo "no" >&6; }
6223 if test -n "$ac_tool_prefix"; then
6224 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6225 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
6226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6227 $as_echo_n "checking for $ac_word... " >&6; }
6228 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
6229 $as_echo_n "(cached) " >&6
6231 if test -n "$DLLTOOL"; then
6232 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
6234 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6238 test -z "$as_dir" && as_dir
=.
6239 for ac_exec_ext
in '' $ac_executable_extensions; do
6240 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6241 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
6242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6251 DLLTOOL
=$ac_cv_prog_DLLTOOL
6252 if test -n "$DLLTOOL"; then
6253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6254 $as_echo "$DLLTOOL" >&6; }
6256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6257 $as_echo "no" >&6; }
6262 if test -z "$ac_cv_prog_DLLTOOL"; then
6263 ac_ct_DLLTOOL
=$DLLTOOL
6264 # Extract the first word of "dlltool", so it can be a program name with args.
6265 set dummy dlltool
; ac_word
=$2
6266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6267 $as_echo_n "checking for $ac_word... " >&6; }
6268 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
6269 $as_echo_n "(cached) " >&6
6271 if test -n "$ac_ct_DLLTOOL"; then
6272 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
6274 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6278 test -z "$as_dir" && as_dir
=.
6279 for ac_exec_ext
in '' $ac_executable_extensions; do
6280 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6281 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
6282 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6291 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
6292 if test -n "$ac_ct_DLLTOOL"; then
6293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6294 $as_echo "$ac_ct_DLLTOOL" >&6; }
6296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6297 $as_echo "no" >&6; }
6300 if test "x$ac_ct_DLLTOOL" = x
; then
6303 case $cross_compiling:$ac_tool_warned in
6305 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6306 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6307 ac_tool_warned
=yes ;;
6309 DLLTOOL
=$ac_ct_DLLTOOL
6312 DLLTOOL
="$ac_cv_prog_DLLTOOL"
6315 if test -n "$ac_tool_prefix"; then
6316 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
6317 set dummy
${ac_tool_prefix}dllwrap
; ac_word
=$2
6318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6319 $as_echo_n "checking for $ac_word... " >&6; }
6320 if test "${ac_cv_prog_DLLWRAP+set}" = set; then :
6321 $as_echo_n "(cached) " >&6
6323 if test -n "$DLLWRAP"; then
6324 ac_cv_prog_DLLWRAP
="$DLLWRAP" # Let the user override the test.
6326 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6330 test -z "$as_dir" && as_dir
=.
6331 for ac_exec_ext
in '' $ac_executable_extensions; do
6332 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6333 ac_cv_prog_DLLWRAP
="${ac_tool_prefix}dllwrap"
6334 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6343 DLLWRAP
=$ac_cv_prog_DLLWRAP
6344 if test -n "$DLLWRAP"; then
6345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLWRAP" >&5
6346 $as_echo "$DLLWRAP" >&6; }
6348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6349 $as_echo "no" >&6; }
6354 if test -z "$ac_cv_prog_DLLWRAP"; then
6355 ac_ct_DLLWRAP
=$DLLWRAP
6356 # Extract the first word of "dllwrap", so it can be a program name with args.
6357 set dummy dllwrap
; ac_word
=$2
6358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6359 $as_echo_n "checking for $ac_word... " >&6; }
6360 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then :
6361 $as_echo_n "(cached) " >&6
6363 if test -n "$ac_ct_DLLWRAP"; then
6364 ac_cv_prog_ac_ct_DLLWRAP
="$ac_ct_DLLWRAP" # Let the user override the test.
6366 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6370 test -z "$as_dir" && as_dir
=.
6371 for ac_exec_ext
in '' $ac_executable_extensions; do
6372 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6373 ac_cv_prog_ac_ct_DLLWRAP
="dllwrap"
6374 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6383 ac_ct_DLLWRAP
=$ac_cv_prog_ac_ct_DLLWRAP
6384 if test -n "$ac_ct_DLLWRAP"; then
6385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLWRAP" >&5
6386 $as_echo "$ac_ct_DLLWRAP" >&6; }
6388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6389 $as_echo "no" >&6; }
6392 if test "x$ac_ct_DLLWRAP" = x
; then
6395 case $cross_compiling:$ac_tool_warned in
6397 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6398 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6399 ac_tool_warned
=yes ;;
6401 DLLWRAP
=$ac_ct_DLLWRAP
6404 DLLWRAP
="$ac_cv_prog_DLLWRAP"
6407 if test "$DLLWRAP" = "false"; then
6413 STATIC_IMPLIBEXT
="a"
6414 enable_iphlpapi
=${enable_iphlpapi:-no}
6415 enable_kernel32
=${enable_kernel32:-no}
6416 enable_msvcrt
=${enable_msvcrt:-no}
6417 enable_ntdll
=${enable_ntdll:-no}
6418 enable_ws2_32
=${enable_ws2_32:-no}
6419 enable_loader
=${enable_loader:-no}
6420 enable_server
=${enable_server:-no}
6421 with_x
=${with_x:-no}
6422 with_pthread
=${with_pthread:-no}
6427 DLLFLAGS
="$DLLFLAGS -fPIC"
6428 LDDLLFLAGS
="-bundle -multiply_defined suppress"
6429 LIBWINE_LDFLAGS
="-multiply_defined suppress"
6430 LDSHARED
="\$(CC) -dynamiclib"
6432 LDRPATH_LOCAL
="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
6433 SECURITYLIB
="-framework Security -framework CoreFoundation"
6435 COREFOUNDATIONLIB
="-framework CoreFoundation"
6437 IOKITLIB
="-framework IOKit -framework CoreFoundation"
6439 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHAREDHEAP,0x7f000000"
6441 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
6443 DISKARBITRATIONLIB
="-framework DiskArbitration -framework CoreFoundation"
6446 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
6448 COREAUDIO
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
6450 ac_save_LIBS
="$LIBS"
6451 if test "$ac_cv_header_AudioToolbox_AudioFile_h" = "yes"
6453 LIBS
="$LIBS $COREAUDIO"
6454 for ac_func
in AudioFileStreamOpen
6456 ac_fn_c_check_func
"$LINENO" "AudioFileStreamOpen" "ac_cv_func_AudioFileStreamOpen"
6457 if test "x$ac_cv_func_AudioFileStreamOpen" = x
""yes; then :
6458 cat >>confdefs.h
<<_ACEOF
6459 #define HAVE_AUDIOFILESTREAMOPEN 1
6465 LIBS
="$ac_save_LIBS"
6467 test "x$ac_cv_func_AudioFileStreamOpen" = xyes || as_fn_append wine_notices
"|AudioToolbox version too old, mp3 codec won't be supported."
6469 if test "$ac_cv_header_OpenAL_al_h" = "yes"
6471 LIBOPENAL
="-framework OpenAL"
6473 ac_cv_lib_openal_alGetSource3i
=yes
6475 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
6477 ac_save_LIBS
="$LIBS"
6478 LIBS
="$LIBS $IOKITLIB"
6479 for ac_func
in IOHIDManagerCreate
6481 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
6482 if test "x$ac_cv_func_IOHIDManagerCreate" = x
""yes; then :
6483 cat >>confdefs.h
<<_ACEOF
6484 #define HAVE_IOHIDMANAGERCREATE 1
6490 LIBS
="$ac_save_LIBS"
6494 LDDLLFLAGS
="$LDDLLFLAGS -read_only_relocs warning" ;;
6496 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
6498 CARBONLIB
="-framework Carbon"
6500 enable_winequartz_drv
=${enable_winequartz_drv:-yes}
6502 if test "x$enable_win16" = "xyes"
6504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
6505 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
6506 if test "$cross_compiling" = yes; then :
6507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
6508 $as_echo "cross-compiling, assuming yes" >&6; }
6510 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6511 /* end confdefs.h. */
6514 "good:\tnop;nop\n\t"
6515 ".globl _testfunc\n"
6516 "_testfunc:\tcallw good");
6517 extern void testfunc();
6521 unsigned short *p = (unsigned short *)testfunc;
6522 return p[0] != 0xe866 || p[1] != 0xfffa
6527 if ac_fn_c_try_run
"$LINENO"; then :
6528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6529 $as_echo "yes" >&6; }
6531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6532 $as_echo "no" >&6; }
6533 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
6535 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6536 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6542 DLLFLAGS
="$DLLFLAGS -fPIC"
6544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
6545 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
6546 if test "${ac_cv_c_dll_gnuelf+set}" = set; then :
6547 $as_echo_n "(cached) " >&6
6549 ac_wine_try_cflags_saved
=$CFLAGS
6550 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
6551 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6552 /* end confdefs.h. */
6555 if ac_fn_c_try_link
"$LINENO"; then :
6556 ac_cv_c_dll_gnuelf
="yes"
6558 ac_cv_c_dll_gnuelf
="no"
6560 rm -f core conftest.err conftest.
$ac_objext \
6561 conftest
$ac_exeext conftest.
$ac_ext
6562 CFLAGS
=$ac_wine_try_cflags_saved
6564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
6565 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
6566 if test "$ac_cv_c_dll_gnuelf" = "yes"
6568 LDSHARED
="\$(CC) -shared"
6569 LDDLLFLAGS
="-shared -Wl,-Bsymbolic"
6570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
6571 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
6572 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then :
6573 $as_echo_n "(cached) " >&6
6575 ac_wine_try_cflags_saved
=$CFLAGS
6576 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
6577 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6578 /* end confdefs.h. */
6579 int main(int argc, char **argv) { return 0; }
6581 if ac_fn_c_try_link
"$LINENO"; then :
6582 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
6584 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
6586 rm -f core conftest.err conftest.
$ac_objext \
6587 conftest
$ac_exeext conftest.
$ac_ext
6588 CFLAGS
=$ac_wine_try_cflags_saved
6590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
6591 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
6592 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then :
6593 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
6595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
6596 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
6597 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then :
6598 $as_echo_n "(cached) " >&6
6600 ac_wine_try_cflags_saved
=$CFLAGS
6601 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
6602 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6603 /* end confdefs.h. */
6604 int main(int argc, char **argv) { return 0; }
6606 if ac_fn_c_try_link
"$LINENO"; then :
6607 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
6609 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
6611 rm -f core conftest.err conftest.
$ac_objext \
6612 conftest
$ac_exeext conftest.
$ac_ext
6613 CFLAGS
=$ac_wine_try_cflags_saved
6615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
6616 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
6617 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then :
6618 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
6622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
6623 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... " >&6; }
6624 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then :
6625 $as_echo_n "(cached) " >&6
6627 ac_wine_try_cflags_saved
=$CFLAGS
6628 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
6629 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6630 /* end confdefs.h. */
6631 int main(int argc, char **argv) { return 0; }
6633 if ac_fn_c_try_link
"$LINENO"; then :
6634 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=yes
6636 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=no
6638 rm -f core conftest.err conftest.
$ac_objext \
6639 conftest
$ac_exeext conftest.
$ac_ext
6640 CFLAGS
=$ac_wine_try_cflags_saved
6642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
6643 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
6644 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then :
6645 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
6648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
6649 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... " >&6; }
6650 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then :
6651 $as_echo_n "(cached) " >&6
6653 ac_wine_try_cflags_saved
=$CFLAGS
6654 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
6655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6656 /* end confdefs.h. */
6657 int main(int argc, char **argv) { return 0; }
6659 if ac_fn_c_try_link
"$LINENO"; then :
6660 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=yes
6662 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=no
6664 rm -f core conftest.err conftest.
$ac_objext \
6665 conftest
$ac_exeext conftest.
$ac_ext
6666 CFLAGS
=$ac_wine_try_cflags_saved
6668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
6669 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
6670 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then :
6671 LDDLLFLAGS
="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
6674 echo '{ global: *; };' >conftest.map
6675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
6676 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
6677 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then :
6678 $as_echo_n "(cached) " >&6
6680 ac_wine_try_cflags_saved
=$CFLAGS
6681 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
6682 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6683 /* end confdefs.h. */
6684 int main(int argc, char **argv) { return 0; }
6686 if ac_fn_c_try_link
"$LINENO"; then :
6687 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
6689 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
6691 rm -f core conftest.err conftest.
$ac_objext \
6692 conftest
$ac_exeext conftest.
$ac_ext
6693 CFLAGS
=$ac_wine_try_cflags_saved
6695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
6696 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
6697 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then :
6698 LDSHARED
="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
6702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
6703 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
6704 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then :
6705 $as_echo_n "(cached) " >&6
6707 ac_wine_try_cflags_saved
=$CFLAGS
6708 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
6709 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6710 /* end confdefs.h. */
6711 int main(int argc, char **argv) { return 0; }
6713 if ac_fn_c_try_link
"$LINENO"; then :
6714 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
6716 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
6718 rm -f core conftest.err conftest.
$ac_objext \
6719 conftest
$ac_exeext conftest.
$ac_ext
6720 CFLAGS
=$ac_wine_try_cflags_saved
6722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
6723 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
6724 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
6725 LDEXECFLAGS
="-Wl,--export-dynamic"
6729 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
6730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
6731 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
6732 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then :
6733 $as_echo_n "(cached) " >&6
6735 ac_wine_try_cflags_saved
=$CFLAGS
6736 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
6737 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6738 /* end confdefs.h. */
6739 int main(int argc, char **argv) { return 0; }
6741 if ac_fn_c_try_link
"$LINENO"; then :
6742 eval "$as_ac_var=yes"
6744 eval "$as_ac_var=no"
6746 rm -f core conftest.err conftest.
$ac_objext \
6747 conftest
$ac_exeext conftest.
$ac_ext
6748 CFLAGS
=$ac_wine_try_cflags_saved
6750 eval ac_res
=\$
$as_ac_var
6751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6752 $as_echo "$ac_res" >&6; }
6753 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6754 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6755 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
6757 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
6758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
6759 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
6760 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then :
6761 $as_echo_n "(cached) " >&6
6763 ac_wine_try_cflags_saved
=$CFLAGS
6764 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
6765 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6766 /* end confdefs.h. */
6767 int main(int argc, char **argv) { return 0; }
6769 if ac_fn_c_try_link
"$LINENO"; then :
6770 eval "$as_ac_var=yes"
6772 eval "$as_ac_var=no"
6774 rm -f core conftest.err conftest.
$ac_objext \
6775 conftest
$ac_exeext conftest.
$ac_ext
6776 CFLAGS
=$ac_wine_try_cflags_saved
6778 eval ac_res
=\$
$as_ac_var
6779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6780 $as_echo "$ac_res" >&6; }
6781 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6782 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6783 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
6787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
6788 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
6789 if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then :
6790 $as_echo_n "(cached) " >&6
6792 ac_wine_try_cflags_saved
=$CFLAGS
6793 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
6794 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6795 /* end confdefs.h. */
6796 int main(int argc, char **argv) { return 0; }
6798 if ac_fn_c_try_link
"$LINENO"; then :
6799 ac_cv_cflags__Wl___enable_new_dtags
=yes
6801 ac_cv_cflags__Wl___enable_new_dtags
=no
6803 rm -f core conftest.err conftest.
$ac_objext \
6804 conftest
$ac_exeext conftest.
$ac_ext
6805 CFLAGS
=$ac_wine_try_cflags_saved
6807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
6808 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
6809 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
6810 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
6814 *i
[3456789]86* | x86_64
)
6815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
6816 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
6817 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then :
6818 $as_echo_n "(cached) " >&6
6820 ac_wine_try_cflags_saved
=$CFLAGS
6821 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
6822 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6823 /* end confdefs.h. */
6824 int main(int argc, char **argv) { return 0; }
6826 if ac_fn_c_try_link
"$LINENO"; then :
6827 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
6829 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
6831 rm -f core conftest.err conftest.
$ac_objext \
6832 conftest
$ac_exeext conftest.
$ac_ext
6833 CFLAGS
=$ac_wine_try_cflags_saved
6835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
6836 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
6837 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
6838 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
6844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
6845 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
6846 if test "${ac_cv_c_dll_unixware+set}" = set; then :
6847 $as_echo_n "(cached) " >&6
6849 ac_wine_try_cflags_saved
=$CFLAGS
6850 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
6851 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6852 /* end confdefs.h. */
6855 if ac_fn_c_try_link
"$LINENO"; then :
6856 ac_cv_c_dll_unixware
="yes"
6858 ac_cv_c_dll_unixware
="no"
6860 rm -f core conftest.err conftest.
$ac_objext \
6861 conftest
$ac_exeext conftest.
$ac_ext
6862 CFLAGS
=$ac_wine_try_cflags_saved
6864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
6865 $as_echo "$ac_cv_c_dll_unixware" >&6; }
6866 if test "$ac_cv_c_dll_unixware" = "yes"
6868 LDSHARED
="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
6869 LDDLLFLAGS
="-Wl,-G,-B,symbolic"
6872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build an HP-UX dll" >&5
6873 $as_echo_n "checking whether we can build an HP-UX dll... " >&6; }
6874 if test "${ac_cv_c_dll_hpux+set}" = set; then :
6875 $as_echo_n "(cached) " >&6
6877 ac_wine_try_cflags_saved
=$CFLAGS
6878 CFLAGS
="$CFLAGS -shared"
6879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6880 /* end confdefs.h. */
6883 if ac_fn_c_try_link
"$LINENO"; then :
6884 ac_cv_c_dll_hpux
="yes"
6886 ac_cv_c_dll_hpux
="no"
6888 rm -f core conftest.err conftest.
$ac_objext \
6889 conftest
$ac_exeext conftest.
$ac_ext
6890 CFLAGS
=$ac_wine_try_cflags_saved
6892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_hpux" >&5
6893 $as_echo "$ac_cv_c_dll_hpux" >&6; }
6894 if test "$ac_cv_c_dll_hpux" = "yes"
6898 LDDLLFLAGS
="-shared -fPIC"
6899 LDSHARED
="\$(CC) -shared"
6906 enable_winequartz_drv
=${enable_winequartz_drv:-no}
6908 if test "$LIBEXT" = "a"; then
6909 as_fn_error
"could not find a way to build shared libraries.
6910 It is currently not possible to build Wine without shared library
6911 (.so) support to allow transparent switch between .so and .dll files.
6912 If you are using Linux, you will need a newer binutils.
6916 if test "$cross_compiling" = "no" -a "$LIBEXT" != "dll"
6920 ac_prefix_list
="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 " ;;
6922 ac_prefix_list
="x86_64-pc-mingw32-gcc x86_64-w64-mingw32-gcc " ;;
6924 ac_prefix_list
="" ;;
6926 for ac_prog
in $ac_prefix_list
6928 # Extract the first word of "$ac_prog", so it can be a program name with args.
6929 set dummy
$ac_prog; ac_word
=$2
6930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6931 $as_echo_n "checking for $ac_word... " >&6; }
6932 if test "${ac_cv_prog_CROSSCC+set}" = set; then :
6933 $as_echo_n "(cached) " >&6
6935 if test -n "$CROSSCC"; then
6936 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
6938 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6942 test -z "$as_dir" && as_dir
=.
6943 for ac_exec_ext
in '' $ac_executable_extensions; do
6944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6945 ac_cv_prog_CROSSCC
="$ac_prog"
6946 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6955 CROSSCC
=$ac_cv_prog_CROSSCC
6956 if test -n "$CROSSCC"; then
6957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
6958 $as_echo "$CROSSCC" >&6; }
6960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6961 $as_echo "no" >&6; }
6965 test -n "$CROSSCC" && break
6967 test -n "$CROSSCC" || CROSSCC
="false"
6969 if test "$CROSSCC" != "false"
6971 CROSSTEST
="\$(CROSSTEST)"
6979 *-gcc) target
=`expr "$1" : '\(.*\)-gcc'` ;;
6983 if test -n "$target"
6985 CROSSTARGET
="$target"
6992 if test "$ac_cv_header_pthread_h" = "yes"
6994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
6995 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
6996 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then :
6997 $as_echo_n "(cached) " >&6
6999 ac_check_lib_save_LIBS
=$LIBS
7000 LIBS
="-lpthread $LIBS"
7001 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7002 /* end confdefs.h. */
7004 /* Override any GCC internal prototype to avoid an error.
7005 Use char because int might match the return type of a GCC
7006 builtin and then its argument prototype would still apply. */
7010 char pthread_create ();
7014 return pthread_create ();
7019 if ac_fn_c_try_link
"$LINENO"; then :
7020 ac_cv_lib_pthread_pthread_create
=yes
7022 ac_cv_lib_pthread_pthread_create
=no
7024 rm -f core conftest.err conftest.
$ac_objext \
7025 conftest
$ac_exeext conftest.
$ac_ext
7026 LIBS
=$ac_check_lib_save_LIBS
7028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
7029 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
7030 if test "x$ac_cv_lib_pthread_pthread_create" = x
""yes; then :
7031 LIBPTHREAD
="-lpthread"
7036 if test "x$LIBPTHREAD" = "x"; then :
7037 case "x$with_pthread" in
7039 *) as_fn_error
"pthread ${notice_platform}development files not found.
7040 Wine cannot support threads without libpthread.
7041 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
7046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
7047 $as_echo_n "checking for X... " >&6; }
7050 # Check whether --with-x was given.
7051 if test "${with_x+set}" = set; then :
7055 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7056 if test "x$with_x" = xno
; then
7057 # The user explicitly disabled X.
7060 case $x_includes,$x_libraries in #(
7061 *\'*) as_fn_error
"cannot use X directory names containing '" "$LINENO" 5;; #(
7062 *,NONE | NONE
,*) if test "${ac_cv_have_x+set}" = set; then :
7063 $as_echo_n "(cached) " >&6
7065 # One or both of the vars are not set, and there is no cached value.
7066 ac_x_includes
=no ac_x_libraries
=no
7067 rm -f -r conftest.dir
7068 if mkdir conftest.dir
; then
7070 cat >Imakefile
<<'_ACEOF'
7072 @echo incroot='${INCROOT}'
7074 @echo usrlibdir='${USRLIBDIR}'
7076 @echo libdir='${LIBDIR}'
7078 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
7079 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7080 for ac_var
in incroot usrlibdir libdir
; do
7081 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
7083 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7084 for ac_extension
in a so sl dylib la dll
; do
7085 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
7086 test -f "$ac_im_libdir/libX11.$ac_extension"; then
7087 ac_im_usrlibdir
=$ac_im_libdir; break
7090 # Screen out bogus values from the imake configuration. They are
7091 # bogus both because they are the default anyway, and because
7092 # using them would break gcc on systems where it needs fixed includes.
7093 case $ac_im_incroot in
7094 /usr
/include
) ac_x_includes
= ;;
7095 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
7097 case $ac_im_usrlibdir in
7098 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
7099 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
7103 rm -f -r conftest.dir
7106 # Standard set of common directories for X headers.
7107 # Check X11 before X11Rn because it is often a symlink to the current release.
7121 /usr/local/X11/include
7122 /usr/local/X11R7/include
7123 /usr/local/X11R6/include
7124 /usr/local/X11R5/include
7125 /usr/local/X11R4/include
7127 /usr/local/include/X11
7128 /usr/local/include/X11R7
7129 /usr/local/include/X11R6
7130 /usr/local/include/X11R5
7131 /usr/local/include/X11R4
7135 /usr/XFree86/include/X11
7139 /usr/unsupported/include
7141 /usr/local/x11r5/include
7142 /usr/lpp/Xamples/include
7144 /usr/openwin/include
7145 /usr/openwin/share/include'
7147 if test "$ac_x_includes" = no
; then
7148 # Guess where to find include files, by looking for Xlib.h.
7149 # First, try using that file with no special directory specified.
7150 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7151 /* end confdefs.h. */
7152 #include <X11/Xlib.h>
7154 if ac_fn_c_try_cpp
"$LINENO"; then :
7155 # We can compile using X headers with no special include directory.
7158 for ac_dir
in $ac_x_header_dirs; do
7159 if test -r "$ac_dir/X11/Xlib.h"; then
7160 ac_x_includes
=$ac_dir
7165 rm -f conftest.err conftest.
$ac_ext
7166 fi # $ac_x_includes = no
7168 if test "$ac_x_libraries" = no
; then
7169 # Check for the libraries.
7170 # See if we find them without any special options.
7171 # Don't add to $LIBS permanently.
7174 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7175 /* end confdefs.h. */
7176 #include <X11/Xlib.h>
7185 if ac_fn_c_try_link
"$LINENO"; then :
7187 # We can link X programs with no special library path.
7191 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
7193 # Don't even attempt the hair of trying to link an X program!
7194 for ac_extension
in a so sl dylib la dll
; do
7195 if test -r "$ac_dir/libX11.$ac_extension"; then
7196 ac_x_libraries
=$ac_dir
7202 rm -f core conftest.err conftest.
$ac_objext \
7203 conftest
$ac_exeext conftest.
$ac_ext
7204 fi # $ac_x_libraries = no
7206 case $ac_x_includes,$ac_x_libraries in #(
7208 # Didn't find X, or a directory has "'" in its name.
7209 ac_cv_have_x
="have_x=no";; #(
7211 # Record where we found X for the cache.
7212 ac_cv_have_x
="have_x=yes\
7213 ac_x_includes='$ac_x_includes'\
7214 ac_x_libraries='$ac_x_libraries'"
7220 eval "$ac_cv_have_x"
7223 if test "$have_x" != yes; then
7224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
7225 $as_echo "$have_x" >&6; }
7228 # If each of the values was on the command line, it overrides each guess.
7229 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
7230 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
7231 # Update the cache value to reflect the command line values.
7232 ac_cv_have_x
="have_x=yes\
7233 ac_x_includes='$x_includes'\
7234 ac_x_libraries='$x_libraries'"
7235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
7236 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
7239 if test "$no_x" = yes; then
7240 # Not all programs may use this symbol, but it does not hurt to define it.
7242 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
7244 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
7246 if test -n "$x_includes"; then
7247 X_CFLAGS
="$X_CFLAGS -I$x_includes"
7250 # It would also be nice to do this for all -L options, not just this one.
7251 if test -n "$x_libraries"; then
7252 X_LIBS
="$X_LIBS -L$x_libraries"
7253 # For Solaris; some versions of Sun CC require a space after -R and
7254 # others require no space. Words are not sufficient . . . .
7255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
7256 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
7257 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
7258 ac_xsave_c_werror_flag
=$ac_c_werror_flag
7259 ac_c_werror_flag
=yes
7260 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7261 /* end confdefs.h. */
7271 if ac_fn_c_try_link
"$LINENO"; then :
7272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7273 $as_echo "no" >&6; }
7274 X_LIBS
="$X_LIBS -R$x_libraries"
7276 LIBS
="$ac_xsave_LIBS -R $x_libraries"
7277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7278 /* end confdefs.h. */
7288 if ac_fn_c_try_link
"$LINENO"; then :
7289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7290 $as_echo "yes" >&6; }
7291 X_LIBS
="$X_LIBS -R $x_libraries"
7293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
7294 $as_echo "neither works" >&6; }
7296 rm -f core conftest.err conftest.
$ac_objext \
7297 conftest
$ac_exeext conftest.
$ac_ext
7299 rm -f core conftest.err conftest.
$ac_objext \
7300 conftest
$ac_exeext conftest.
$ac_ext
7301 ac_c_werror_flag
=$ac_xsave_c_werror_flag
7305 # Check for system-dependent libraries X programs must link with.
7306 # Do this before checking for the system-independent R6 libraries
7307 # (-lICE), since we may need -lsocket or whatever for X linking.
7309 if test "$ISC" = yes; then
7310 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
7312 # Martyn Johnson says this is needed for Ultrix, if the X
7313 # libraries were built with DECnet support. And Karl Berry says
7314 # the Alpha needs dnet_stub (dnet does not exist).
7315 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
7316 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7317 /* end confdefs.h. */
7319 /* Override any GCC internal prototype to avoid an error.
7320 Use char because int might match the return type of a GCC
7321 builtin and then its argument prototype would still apply. */
7325 char XOpenDisplay ();
7329 return XOpenDisplay ();
7334 if ac_fn_c_try_link
"$LINENO"; then :
7337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
7338 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
7339 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
7340 $as_echo_n "(cached) " >&6
7342 ac_check_lib_save_LIBS
=$LIBS
7344 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7345 /* end confdefs.h. */
7347 /* Override any GCC internal prototype to avoid an error.
7348 Use char because int might match the return type of a GCC
7349 builtin and then its argument prototype would still apply. */
7357 return dnet_ntoa ();
7362 if ac_fn_c_try_link
"$LINENO"; then :
7363 ac_cv_lib_dnet_dnet_ntoa
=yes
7365 ac_cv_lib_dnet_dnet_ntoa
=no
7367 rm -f core conftest.err conftest.
$ac_objext \
7368 conftest
$ac_exeext conftest.
$ac_ext
7369 LIBS
=$ac_check_lib_save_LIBS
7371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
7372 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
7373 if test "x$ac_cv_lib_dnet_dnet_ntoa" = x
""yes; then :
7374 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
7377 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
7378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
7379 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
7380 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
7381 $as_echo_n "(cached) " >&6
7383 ac_check_lib_save_LIBS
=$LIBS
7384 LIBS
="-ldnet_stub $LIBS"
7385 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7386 /* end confdefs.h. */
7388 /* Override any GCC internal prototype to avoid an error.
7389 Use char because int might match the return type of a GCC
7390 builtin and then its argument prototype would still apply. */
7398 return dnet_ntoa ();
7403 if ac_fn_c_try_link
"$LINENO"; then :
7404 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
7406 ac_cv_lib_dnet_stub_dnet_ntoa
=no
7408 rm -f core conftest.err conftest.
$ac_objext \
7409 conftest
$ac_exeext conftest.
$ac_ext
7410 LIBS
=$ac_check_lib_save_LIBS
7412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
7413 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
7414 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x
""yes; then :
7415 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
7420 rm -f core conftest.err conftest.
$ac_objext \
7421 conftest
$ac_exeext conftest.
$ac_ext
7422 LIBS
="$ac_xsave_LIBS"
7424 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7425 # to get the SysV transport functions.
7426 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
7428 # The nsl library prevents programs from opening the X display
7429 # on Irix 5.2, according to T.E. Dickey.
7430 # The functions gethostbyname, getservbyname, and inet_addr are
7431 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
7432 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
7433 if test "x$ac_cv_func_gethostbyname" = x
""yes; then :
7437 if test $ac_cv_func_gethostbyname = no
; then
7438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
7439 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
7440 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
7441 $as_echo_n "(cached) " >&6
7443 ac_check_lib_save_LIBS
=$LIBS
7445 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7446 /* end confdefs.h. */
7448 /* Override any GCC internal prototype to avoid an error.
7449 Use char because int might match the return type of a GCC
7450 builtin and then its argument prototype would still apply. */
7454 char gethostbyname ();
7458 return gethostbyname ();
7463 if ac_fn_c_try_link
"$LINENO"; then :
7464 ac_cv_lib_nsl_gethostbyname
=yes
7466 ac_cv_lib_nsl_gethostbyname
=no
7468 rm -f core conftest.err conftest.
$ac_objext \
7469 conftest
$ac_exeext conftest.
$ac_ext
7470 LIBS
=$ac_check_lib_save_LIBS
7472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
7473 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
7474 if test "x$ac_cv_lib_nsl_gethostbyname" = x
""yes; then :
7475 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
7478 if test $ac_cv_lib_nsl_gethostbyname = no
; then
7479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
7480 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
7481 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
7482 $as_echo_n "(cached) " >&6
7484 ac_check_lib_save_LIBS
=$LIBS
7486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7487 /* end confdefs.h. */
7489 /* Override any GCC internal prototype to avoid an error.
7490 Use char because int might match the return type of a GCC
7491 builtin and then its argument prototype would still apply. */
7495 char gethostbyname ();
7499 return gethostbyname ();
7504 if ac_fn_c_try_link
"$LINENO"; then :
7505 ac_cv_lib_bsd_gethostbyname
=yes
7507 ac_cv_lib_bsd_gethostbyname
=no
7509 rm -f core conftest.err conftest.
$ac_objext \
7510 conftest
$ac_exeext conftest.
$ac_ext
7511 LIBS
=$ac_check_lib_save_LIBS
7513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
7514 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
7515 if test "x$ac_cv_lib_bsd_gethostbyname" = x
""yes; then :
7516 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
7522 # lieder@skyler.mavd.honeywell.com says without -lsocket,
7523 # socket/setsockopt and other routines are undefined under SCO ODT
7524 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
7525 # on later versions), says Simon Leinen: it contains gethostby*
7526 # variants that don't use the name server (or something). -lsocket
7527 # must be given before -lnsl if both are needed. We assume that
7528 # if connect needs -lnsl, so does gethostbyname.
7529 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
7530 if test "x$ac_cv_func_connect" = x
""yes; then :
7534 if test $ac_cv_func_connect = no
; then
7535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
7536 $as_echo_n "checking for connect in -lsocket... " >&6; }
7537 if test "${ac_cv_lib_socket_connect+set}" = set; then :
7538 $as_echo_n "(cached) " >&6
7540 ac_check_lib_save_LIBS
=$LIBS
7541 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
7542 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7543 /* end confdefs.h. */
7545 /* Override any GCC internal prototype to avoid an error.
7546 Use char because int might match the return type of a GCC
7547 builtin and then its argument prototype would still apply. */
7560 if ac_fn_c_try_link
"$LINENO"; then :
7561 ac_cv_lib_socket_connect
=yes
7563 ac_cv_lib_socket_connect
=no
7565 rm -f core conftest.err conftest.
$ac_objext \
7566 conftest
$ac_exeext conftest.
$ac_ext
7567 LIBS
=$ac_check_lib_save_LIBS
7569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
7570 $as_echo "$ac_cv_lib_socket_connect" >&6; }
7571 if test "x$ac_cv_lib_socket_connect" = x
""yes; then :
7572 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
7577 # Guillermo Gomez says -lposix is necessary on A/UX.
7578 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
7579 if test "x$ac_cv_func_remove" = x
""yes; then :
7583 if test $ac_cv_func_remove = no
; then
7584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
7585 $as_echo_n "checking for remove in -lposix... " >&6; }
7586 if test "${ac_cv_lib_posix_remove+set}" = set; then :
7587 $as_echo_n "(cached) " >&6
7589 ac_check_lib_save_LIBS
=$LIBS
7590 LIBS
="-lposix $LIBS"
7591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7592 /* end confdefs.h. */
7594 /* Override any GCC internal prototype to avoid an error.
7595 Use char because int might match the return type of a GCC
7596 builtin and then its argument prototype would still apply. */
7609 if ac_fn_c_try_link
"$LINENO"; then :
7610 ac_cv_lib_posix_remove
=yes
7612 ac_cv_lib_posix_remove
=no
7614 rm -f core conftest.err conftest.
$ac_objext \
7615 conftest
$ac_exeext conftest.
$ac_ext
7616 LIBS
=$ac_check_lib_save_LIBS
7618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
7619 $as_echo "$ac_cv_lib_posix_remove" >&6; }
7620 if test "x$ac_cv_lib_posix_remove" = x
""yes; then :
7621 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
7626 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
7627 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
7628 if test "x$ac_cv_func_shmat" = x
""yes; then :
7632 if test $ac_cv_func_shmat = no
; then
7633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
7634 $as_echo_n "checking for shmat in -lipc... " >&6; }
7635 if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
7636 $as_echo_n "(cached) " >&6
7638 ac_check_lib_save_LIBS
=$LIBS
7640 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7641 /* end confdefs.h. */
7643 /* Override any GCC internal prototype to avoid an error.
7644 Use char because int might match the return type of a GCC
7645 builtin and then its argument prototype would still apply. */
7658 if ac_fn_c_try_link
"$LINENO"; then :
7659 ac_cv_lib_ipc_shmat
=yes
7661 ac_cv_lib_ipc_shmat
=no
7663 rm -f core conftest.err conftest.
$ac_objext \
7664 conftest
$ac_exeext conftest.
$ac_ext
7665 LIBS
=$ac_check_lib_save_LIBS
7667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
7668 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
7669 if test "x$ac_cv_lib_ipc_shmat" = x
""yes; then :
7670 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
7676 # Check for libraries that X11R6 Xt/Xaw programs need.
7677 ac_save_LDFLAGS
=$LDFLAGS
7678 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
7679 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
7680 # check for ICE first), but we must link in the order -lSM -lICE or
7681 # we get undefined symbols. So assume we have SM if we have ICE.
7682 # These have to be linked with before -lX11, unlike the other
7683 # libraries we check for below, so use a different variable.
7684 # John Interrante, Karl Berry
7685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
7686 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
7687 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
7688 $as_echo_n "(cached) " >&6
7690 ac_check_lib_save_LIBS
=$LIBS
7691 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
7692 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7693 /* end confdefs.h. */
7695 /* Override any GCC internal prototype to avoid an error.
7696 Use char because int might match the return type of a GCC
7697 builtin and then its argument prototype would still apply. */
7701 char IceConnectionNumber ();
7705 return IceConnectionNumber ();
7710 if ac_fn_c_try_link
"$LINENO"; then :
7711 ac_cv_lib_ICE_IceConnectionNumber
=yes
7713 ac_cv_lib_ICE_IceConnectionNumber
=no
7715 rm -f core conftest.err conftest.
$ac_objext \
7716 conftest
$ac_exeext conftest.
$ac_ext
7717 LIBS
=$ac_check_lib_save_LIBS
7719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
7720 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
7721 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x
""yes; then :
7722 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
7725 LDFLAGS
=$ac_save_LDFLAGS
7730 if test "$have_x" = "yes"
7733 ac_save_CPPFLAGS
="$CPPFLAGS"
7734 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
7736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
7737 $as_echo_n "checking for -lX11... " >&6; }
7738 if test "${ac_cv_lib_soname_X11+set}" = set; then :
7739 $as_echo_n "(cached) " >&6
7741 ac_check_soname_save_LIBS
=$LIBS
7742 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
7743 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7744 /* end confdefs.h. */
7746 /* Override any GCC internal prototype to avoid an error.
7747 Use char because int might match the return type of a GCC
7748 builtin and then its argument prototype would still apply. */
7752 char XCreateWindow ();
7756 return XCreateWindow ();
7761 if ac_fn_c_try_link
"$LINENO"; then :
7763 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
7764 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'` ;;
7765 *) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
7768 rm -f core conftest.err conftest.
$ac_objext \
7769 conftest
$ac_exeext conftest.
$ac_ext
7770 LIBS
=$ac_check_soname_save_LIBS
7772 if test "x$ac_cv_lib_soname_X11" = "x"; then :
7773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
7774 $as_echo "not found" >&6; }
7777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
7778 $as_echo "$ac_cv_lib_soname_X11" >&6; }
7780 cat >>confdefs.h
<<_ACEOF
7781 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
7786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
7787 $as_echo_n "checking for -lXext... " >&6; }
7788 if test "${ac_cv_lib_soname_Xext+set}" = set; then :
7789 $as_echo_n "(cached) " >&6
7791 ac_check_soname_save_LIBS
=$LIBS
7792 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
7793 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7794 /* end confdefs.h. */
7796 /* Override any GCC internal prototype to avoid an error.
7797 Use char because int might match the return type of a GCC
7798 builtin and then its argument prototype would still apply. */
7802 char XextCreateExtension ();
7806 return XextCreateExtension ();
7811 if ac_fn_c_try_link
"$LINENO"; then :
7813 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
7814 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'` ;;
7815 *) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
7818 rm -f core conftest.err conftest.
$ac_objext \
7819 conftest
$ac_exeext conftest.
$ac_ext
7820 LIBS
=$ac_check_soname_save_LIBS
7822 if test "x$ac_cv_lib_soname_Xext" = "x"; then :
7823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
7824 $as_echo "not found" >&6; }
7827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
7828 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
7830 cat >>confdefs.h
<<_ACEOF
7831 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
7837 for ac_header
in X11
/Xlib.h \
7840 X11
/Xcursor
/Xcursor.h \
7841 X11
/extensions
/shape.h \
7842 X11
/extensions
/XInput.h \
7843 X11
/extensions
/XShm.h \
7844 X11
/extensions
/Xcomposite.h \
7845 X11
/extensions
/Xinerama.h \
7846 X11
/extensions
/Xrandr.h \
7847 X11
/extensions
/Xrender.h \
7848 X11
/extensions
/xf86vmode.h \
7849 X11
/extensions
/xf86vmproto.h
7851 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7852 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
7853 # include <X11/Xlib.h>
7855 #ifdef HAVE_X11_XUTIL_H
7856 # include <X11/Xutil.h>
7859 eval as_val
=\$
$as_ac_Header
7860 if test "x$as_val" = x
""yes; then :
7861 cat >>confdefs.h
<<_ACEOF
7862 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7870 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
7872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
7873 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
7874 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then :
7875 $as_echo_n "(cached) " >&6
7877 ac_check_lib_save_LIBS
=$LIBS
7878 LIBS
="-lX11 $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
7879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7880 /* end confdefs.h. */
7882 /* Override any GCC internal prototype to avoid an error.
7883 Use char because int might match the return type of a GCC
7884 builtin and then its argument prototype would still apply. */
7888 char XkbQueryExtension ();
7892 return XkbQueryExtension ();
7897 if ac_fn_c_try_link
"$LINENO"; then :
7898 ac_cv_lib_X11_XkbQueryExtension
=yes
7900 ac_cv_lib_X11_XkbQueryExtension
=no
7902 rm -f core conftest.err conftest.
$ac_objext \
7903 conftest
$ac_exeext conftest.
$ac_ext
7904 LIBS
=$ac_check_lib_save_LIBS
7906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
7907 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
7908 if test "x$ac_cv_lib_X11_XkbQueryExtension" = x
""yes; then :
7910 $as_echo "#define HAVE_XKB 1" >>confdefs.h
7916 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
7918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
7919 $as_echo_n "checking for -lXcursor... " >&6; }
7920 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then :
7921 $as_echo_n "(cached) " >&6
7923 ac_check_soname_save_LIBS
=$LIBS
7924 LIBS
="-lXcursor $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
7925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7926 /* end confdefs.h. */
7928 /* Override any GCC internal prototype to avoid an error.
7929 Use char because int might match the return type of a GCC
7930 builtin and then its argument prototype would still apply. */
7934 char XcursorImageLoadCursor ();
7938 return XcursorImageLoadCursor ();
7943 if ac_fn_c_try_link
"$LINENO"; then :
7945 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
7946 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'` ;;
7947 *) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
7950 rm -f core conftest.err conftest.
$ac_objext \
7951 conftest
$ac_exeext conftest.
$ac_ext
7952 LIBS
=$ac_check_soname_save_LIBS
7954 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
7955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
7956 $as_echo "not found" >&6; }
7959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
7960 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
7962 cat >>confdefs.h
<<_ACEOF
7963 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
7969 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
7970 case "x$with_xcursor" in
7971 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
7973 *) as_fn_error
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
7974 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
7978 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
7980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
7981 $as_echo_n "checking for -lXi... " >&6; }
7982 if test "${ac_cv_lib_soname_Xi+set}" = set; then :
7983 $as_echo_n "(cached) " >&6
7985 ac_check_soname_save_LIBS
=$LIBS
7986 LIBS
="-lXi $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
7987 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7988 /* end confdefs.h. */
7990 /* Override any GCC internal prototype to avoid an error.
7991 Use char because int might match the return type of a GCC
7992 builtin and then its argument prototype would still apply. */
7996 char XOpenDevice ();
8000 return XOpenDevice ();
8005 if ac_fn_c_try_link
"$LINENO"; then :
8007 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8008 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'` ;;
8009 *) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8012 rm -f core conftest.err conftest.
$ac_objext \
8013 conftest
$ac_exeext conftest.
$ac_ext
8014 LIBS
=$ac_check_soname_save_LIBS
8016 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8018 $as_echo "not found" >&6; }
8021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
8022 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
8024 cat >>confdefs.h
<<_ACEOF
8025 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
8031 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8032 case "x$with_xinput" in
8033 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
8035 *) as_fn_error
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
8036 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
8040 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
8042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
8043 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
8044 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then :
8045 $as_echo_n "(cached) " >&6
8047 ac_check_lib_save_LIBS
=$LIBS
8048 LIBS
="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8049 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8050 /* end confdefs.h. */
8052 /* Override any GCC internal prototype to avoid an error.
8053 Use char because int might match the return type of a GCC
8054 builtin and then its argument prototype would still apply. */
8058 char XShmQueryExtension ();
8062 return XShmQueryExtension ();
8067 if ac_fn_c_try_link
"$LINENO"; then :
8068 ac_cv_lib_Xext_XShmQueryExtension
=yes
8070 ac_cv_lib_Xext_XShmQueryExtension
=no
8072 rm -f core conftest.err conftest.
$ac_objext \
8073 conftest
$ac_exeext conftest.
$ac_ext
8074 LIBS
=$ac_check_lib_save_LIBS
8076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
8077 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
8078 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = x
""yes; then :
8080 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
8085 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
8086 case "x$with_xshm" in
8087 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
8089 *) as_fn_error
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
8090 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
8094 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
8096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
8097 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
8098 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then :
8099 $as_echo_n "(cached) " >&6
8101 ac_check_lib_save_LIBS
=$LIBS
8102 LIBS
="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8103 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8104 /* end confdefs.h. */
8106 /* Override any GCC internal prototype to avoid an error.
8107 Use char because int might match the return type of a GCC
8108 builtin and then its argument prototype would still apply. */
8112 char XShapeQueryExtension ();
8116 return XShapeQueryExtension ();
8121 if ac_fn_c_try_link
"$LINENO"; then :
8122 ac_cv_lib_Xext_XShapeQueryExtension
=yes
8124 ac_cv_lib_Xext_XShapeQueryExtension
=no
8126 rm -f core conftest.err conftest.
$ac_objext \
8127 conftest
$ac_exeext conftest.
$ac_ext
8128 LIBS
=$ac_check_lib_save_LIBS
8130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8131 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
8132 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = x
""yes; then :
8134 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
8139 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
8140 case "x$with_xshape" in
8141 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
8143 *) as_fn_error
"XShape ${notice_platform}development files not found, XShape won't be supported.
8144 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
8148 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
8150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
8151 $as_echo_n "checking for -lXxf86vm... " >&6; }
8152 if test "${ac_cv_lib_soname_Xxf86vm+set}" = set; then :
8153 $as_echo_n "(cached) " >&6
8155 ac_check_soname_save_LIBS
=$LIBS
8156 LIBS
="-lXxf86vm $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8158 /* end confdefs.h. */
8160 /* Override any GCC internal prototype to avoid an error.
8161 Use char because int might match the return type of a GCC
8162 builtin and then its argument prototype would still apply. */
8166 char XF86VidModeQueryExtension ();
8170 return XF86VidModeQueryExtension ();
8175 if ac_fn_c_try_link
"$LINENO"; then :
8177 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8178 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'` ;;
8179 *) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8182 rm -f core conftest.err conftest.
$ac_objext \
8183 conftest
$ac_exeext conftest.
$ac_ext
8184 LIBS
=$ac_check_soname_save_LIBS
8186 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8188 $as_echo "not found" >&6; }
8191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
8192 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
8194 cat >>confdefs.h
<<_ACEOF
8195 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
8201 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8202 case "x$with_xxf86vm" in
8203 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
8205 *) as_fn_error
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
8206 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
8210 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"
8212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
8213 $as_echo_n "checking for -lXrender... " >&6; }
8214 if test "${ac_cv_lib_soname_Xrender+set}" = set; then :
8215 $as_echo_n "(cached) " >&6
8217 ac_check_soname_save_LIBS
=$LIBS
8218 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8219 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8220 /* end confdefs.h. */
8222 /* Override any GCC internal prototype to avoid an error.
8223 Use char because int might match the return type of a GCC
8224 builtin and then its argument prototype would still apply. */
8228 char XRenderQueryExtension ();
8232 return XRenderQueryExtension ();
8237 if ac_fn_c_try_link
"$LINENO"; then :
8239 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8240 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'` ;;
8241 *) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8244 rm -f core conftest.err conftest.
$ac_objext \
8245 conftest
$ac_exeext conftest.
$ac_ext
8246 LIBS
=$ac_check_soname_save_LIBS
8248 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8250 $as_echo "not found" >&6; }
8253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
8254 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
8256 cat >>confdefs.h
<<_ACEOF
8257 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
8260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
8261 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
8262 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then :
8263 $as_echo_n "(cached) " >&6
8265 ac_check_lib_save_LIBS
=$LIBS
8266 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8267 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8268 /* end confdefs.h. */
8270 /* Override any GCC internal prototype to avoid an error.
8271 Use char because int might match the return type of a GCC
8272 builtin and then its argument prototype would still apply. */
8276 char XRenderSetPictureTransform ();
8280 return XRenderSetPictureTransform ();
8285 if ac_fn_c_try_link
"$LINENO"; then :
8286 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
8288 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
8290 rm -f core conftest.err conftest.
$ac_objext \
8291 conftest
$ac_exeext conftest.
$ac_ext
8292 LIBS
=$ac_check_lib_save_LIBS
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8295 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
8296 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = x
""yes; then :
8298 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
8305 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8306 case "x$with_xrender" in
8307 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
8309 *) as_fn_error
"libxrender ${notice_platform}development files not found, XRender won't be supported.
8310 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
8314 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
8316 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8317 /* end confdefs.h. */
8318 #include <X11/Xlib.h>
8319 #include <X11/extensions/Xrandr.h>
8323 static typeof(XRRSetScreenConfigAndRate) * func;
8328 if ac_fn_c_try_compile
"$LINENO"; then :
8329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
8330 $as_echo_n "checking for -lXrandr... " >&6; }
8331 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then :
8332 $as_echo_n "(cached) " >&6
8334 ac_check_soname_save_LIBS
=$LIBS
8335 LIBS
="-lXrandr $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8336 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8337 /* end confdefs.h. */
8339 /* Override any GCC internal prototype to avoid an error.
8340 Use char because int might match the return type of a GCC
8341 builtin and then its argument prototype would still apply. */
8345 char XRRQueryExtension ();
8349 return XRRQueryExtension ();
8354 if ac_fn_c_try_link
"$LINENO"; then :
8356 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8357 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'` ;;
8358 *) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8361 rm -f core conftest.err conftest.
$ac_objext \
8362 conftest
$ac_exeext conftest.
$ac_ext
8363 LIBS
=$ac_check_soname_save_LIBS
8365 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
8366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8367 $as_echo "not found" >&6; }
8370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
8371 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
8373 cat >>confdefs.h
<<_ACEOF
8374 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
8380 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8382 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
8383 case "x$with_xrandr" in
8384 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
8386 *) as_fn_error
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
8387 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
8391 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
8393 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8394 /* end confdefs.h. */
8395 #include <X11/Xlib.h>
8396 #include <X11/extensions/Xinerama.h>
8400 static typeof(XineramaQueryScreens) * func;
8405 if ac_fn_c_try_compile
"$LINENO"; then :
8406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
8407 $as_echo_n "checking for -lXinerama... " >&6; }
8408 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then :
8409 $as_echo_n "(cached) " >&6
8411 ac_check_soname_save_LIBS
=$LIBS
8412 LIBS
="-lXinerama $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8413 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8414 /* end confdefs.h. */
8416 /* Override any GCC internal prototype to avoid an error.
8417 Use char because int might match the return type of a GCC
8418 builtin and then its argument prototype would still apply. */
8422 char XineramaQueryScreens ();
8426 return XineramaQueryScreens ();
8431 if ac_fn_c_try_link
"$LINENO"; then :
8433 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8434 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'` ;;
8435 *) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8438 rm -f core conftest.err conftest.
$ac_objext \
8439 conftest
$ac_exeext conftest.
$ac_ext
8440 LIBS
=$ac_check_soname_save_LIBS
8442 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
8443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8444 $as_echo "not found" >&6; }
8447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
8448 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
8450 cat >>confdefs.h
<<_ACEOF
8451 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
8457 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8459 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
8460 case "x$with_xinerama" in
8461 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
8463 *) as_fn_error
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
8464 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
8468 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
8470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
8471 $as_echo_n "checking for -lXcomposite... " >&6; }
8472 if test "${ac_cv_lib_soname_Xcomposite+set}" = set; then :
8473 $as_echo_n "(cached) " >&6
8475 ac_check_soname_save_LIBS
=$LIBS
8476 LIBS
="-lXcomposite $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8478 /* end confdefs.h. */
8480 /* Override any GCC internal prototype to avoid an error.
8481 Use char because int might match the return type of a GCC
8482 builtin and then its argument prototype would still apply. */
8486 char XCompositeRedirectWindow ();
8490 return XCompositeRedirectWindow ();
8495 if ac_fn_c_try_link
"$LINENO"; then :
8497 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8498 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'` ;;
8499 *) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8502 rm -f core conftest.err conftest.
$ac_objext \
8503 conftest
$ac_exeext conftest.
$ac_ext
8504 LIBS
=$ac_check_soname_save_LIBS
8506 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
8507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8508 $as_echo "not found" >&6; }
8511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
8512 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
8514 cat >>confdefs.h
<<_ACEOF
8515 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
8521 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
8522 case "x$with_xcomposite" in
8523 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
8525 *) as_fn_error
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
8526 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
8530 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
8531 #include <X11/Xlib.h>
8534 if test "x$ac_cv_member_XICCallback_callback" = x
""yes; then :
8536 cat >>confdefs.h
<<_ACEOF
8537 #define HAVE_XICCALLBACK_CALLBACK 1
8546 if test "x$with_opengl" != "xno"
8548 for ac_header
in GL
/gl.h GL
/glx.h GL
/glu.h
8550 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8551 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_GL_GLX_H
8552 # include <GL/glx.h>
8555 eval as_val
=\$
$as_ac_Header
8556 if test "x$as_val" = x
""yes; then :
8557 cat >>confdefs.h
<<_ACEOF
8558 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8565 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
8567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for up-to-date OpenGL version" >&5
8568 $as_echo_n "checking for up-to-date OpenGL version... " >&6; }
8569 if test "${wine_cv_opengl_header_version_OK+set}" = set; then :
8570 $as_echo_n "(cached) " >&6
8572 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8573 /* end confdefs.h. */
8578 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
8583 if ac_fn_c_try_compile
"$LINENO"; then :
8584 wine_cv_opengl_header_version_OK
="yes"
8586 wine_cv_opengl_header_version_OK
="no"
8588 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_opengl_header_version_OK" >&5
8591 $as_echo "$wine_cv_opengl_header_version_OK" >&6; }
8593 if test "$wine_cv_opengl_header_version_OK" = "yes"
8595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
8596 $as_echo_n "checking for -lGL... " >&6; }
8597 if test "${ac_cv_lib_soname_GL+set}" = set; then :
8598 $as_echo_n "(cached) " >&6
8600 ac_check_soname_save_LIBS
=$LIBS
8601 LIBS
="-lGL $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
8602 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8603 /* end confdefs.h. */
8605 /* Override any GCC internal prototype to avoid an error.
8606 Use char because int might match the return type of a GCC
8607 builtin and then its argument prototype would still apply. */
8611 char glXCreateContext ();
8615 return glXCreateContext ();
8620 if ac_fn_c_try_link
"$LINENO"; then :
8622 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8623 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'` ;;
8624 *) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8627 rm -f core conftest.err conftest.
$ac_objext \
8628 conftest
$ac_exeext conftest.
$ac_ext
8629 LIBS
=$ac_check_soname_save_LIBS
8631 if test "x$ac_cv_lib_soname_GL" = "x"; then :
8632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8633 $as_echo "not found" >&6; }
8634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
8635 $as_echo_n "checking for -lGL... " >&6; }
8636 if test "${ac_cv_lib_soname_GL+set}" = set; then :
8637 $as_echo_n "(cached) " >&6
8639 ac_check_soname_save_LIBS
=$LIBS
8640 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"
8641 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8642 /* end confdefs.h. */
8644 /* Override any GCC internal prototype to avoid an error.
8645 Use char because int might match the return type of a GCC
8646 builtin and then its argument prototype would still apply. */
8650 char glXCreateContext ();
8654 return glXCreateContext ();
8659 if ac_fn_c_try_link
"$LINENO"; then :
8661 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8662 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'` ;;
8663 *) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8666 rm -f core conftest.err conftest.
$ac_objext \
8667 conftest
$ac_exeext conftest.
$ac_ext
8668 LIBS
=$ac_check_soname_save_LIBS
8670 if test "x$ac_cv_lib_soname_GL" = "x"; then :
8671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8672 $as_echo "not found" >&6; }
8673 if test -f /usr
/X11R
6/lib
/libGL.a
8675 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
8676 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
8678 opengl_msg
="No OpenGL library found on this system."
8681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
8682 $as_echo "$ac_cv_lib_soname_GL" >&6; }
8684 cat >>confdefs.h
<<_ACEOF
8685 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
8688 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"
8690 $as_echo "#define HAVE_OPENGL 1" >>confdefs.h
8694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
8695 $as_echo "$ac_cv_lib_soname_GL" >&6; }
8697 cat >>confdefs.h
<<_ACEOF
8698 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
8703 $as_echo "#define HAVE_OPENGL 1" >>confdefs.h
8706 if test "$ac_cv_header_GL_glu_h" = "yes"
8708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
8709 $as_echo_n "checking for -lGLU... " >&6; }
8710 if test "${ac_cv_lib_soname_GLU+set}" = set; then :
8711 $as_echo_n "(cached) " >&6
8713 ac_check_soname_save_LIBS
=$LIBS
8714 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
8715 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8716 /* end confdefs.h. */
8718 /* Override any GCC internal prototype to avoid an error.
8719 Use char because int might match the return type of a GCC
8720 builtin and then its argument prototype would still apply. */
8728 return gluLookAt ();
8733 if ac_fn_c_try_link
"$LINENO"; then :
8735 dll
) ac_cv_lib_soname_GLU
=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8736 dylib
) ac_cv_lib_soname_GLU
=`otool -L conftest$ac_exeext | grep "libGLU\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGLU\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
8737 *) ac_cv_lib_soname_GLU
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8740 rm -f core conftest.err conftest.
$ac_objext \
8741 conftest
$ac_exeext conftest.
$ac_ext
8742 LIBS
=$ac_check_soname_save_LIBS
8744 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
8745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8746 $as_echo "not found" >&6; }
8749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
8750 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
8752 cat >>confdefs.h
<<_ACEOF
8753 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
8759 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
8760 case "x$with_glu" in
8761 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
8763 *) as_fn_error
"libGLU ${notice_platform}development files not found, GLU won't be supported.
8764 This is an error since --with-glu was requested." "$LINENO" 5 ;;
8768 opengl_msg
="Old Mesa headers detected. Consider upgrading your Mesa libraries."
8771 opengl_msg
="OpenGL development headers not found."
8773 test -n "$opengl_msg" && enable_opengl32
=${enable_opengl32:-no}
8774 test "x$ac_cv_lib_soname_GLU" = "x" && enable_glu32
=${enable_glu32:-no}
8776 enable_opengl32
=${enable_opengl32:-no}
8777 enable_glu32
=${enable_glu32:-no}
8779 if test -n "$opengl_msg"; then :
8780 case "x$with_opengl" in
8781 x
) as_fn_append wine_warnings
"|$opengl_msg
8782 OpenGL and Direct3D won't be supported." ;;
8784 *) as_fn_error
"$opengl_msg
8785 OpenGL and Direct3D won't be supported.
8786 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
8792 for ac_header
in audio
/audiolib.h
8794 ac_fn_c_check_header_mongrel
"$LINENO" "audio/audiolib.h" "ac_cv_header_audio_audiolib_h" "$ac_includes_default"
8795 if test "x$ac_cv_header_audio_audiolib_h" = x
""yes; then :
8796 cat >>confdefs.h
<<_ACEOF
8797 #define HAVE_AUDIO_AUDIOLIB_H 1
8799 for ac_header
in audio
/soundlib.h
8801 ac_fn_c_check_header_compile
"$LINENO" "audio/soundlib.h" "ac_cv_header_audio_soundlib_h" "#include <audio/audiolib.h>
8803 if test "x$ac_cv_header_audio_soundlib_h" = x
""yes; then :
8804 cat >>confdefs.h
<<_ACEOF
8805 #define HAVE_AUDIO_SOUNDLIB_H 1
8812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AuCreateFlow in -laudio" >&5
8813 $as_echo_n "checking for AuCreateFlow in -laudio... " >&6; }
8814 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then :
8815 $as_echo_n "(cached) " >&6
8817 ac_check_lib_save_LIBS
=$LIBS
8818 LIBS
="-laudio -lXt $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8819 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8820 /* end confdefs.h. */
8822 /* Override any GCC internal prototype to avoid an error.
8823 Use char because int might match the return type of a GCC
8824 builtin and then its argument prototype would still apply. */
8828 char AuCreateFlow ();
8832 return AuCreateFlow ();
8837 if ac_fn_c_try_link
"$LINENO"; then :
8838 ac_cv_lib_audio_AuCreateFlow
=yes
8840 ac_cv_lib_audio_AuCreateFlow
=no
8842 rm -f core conftest.err conftest.
$ac_objext \
8843 conftest
$ac_exeext conftest.
$ac_ext
8844 LIBS
=$ac_check_lib_save_LIBS
8846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_audio_AuCreateFlow" >&5
8847 $as_echo "$ac_cv_lib_audio_AuCreateFlow" >&6; }
8848 if test "x$ac_cv_lib_audio_AuCreateFlow" = x
""yes; then :
8850 $as_echo "#define HAVE_NAS 1" >>confdefs.h
8852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XauGetBestAuthByAddr in -lXau" >&5
8853 $as_echo_n "checking for XauGetBestAuthByAddr in -lXau... " >&6; }
8854 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then :
8855 $as_echo_n "(cached) " >&6
8857 ac_check_lib_save_LIBS
=$LIBS
8858 LIBS
="-lXau $X_LIBS $LIBS"
8859 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8860 /* end confdefs.h. */
8862 /* Override any GCC internal prototype to avoid an error.
8863 Use char because int might match the return type of a GCC
8864 builtin and then its argument prototype would still apply. */
8868 char XauGetBestAuthByAddr ();
8872 return XauGetBestAuthByAddr ();
8877 if ac_fn_c_try_link
"$LINENO"; then :
8878 ac_cv_lib_Xau_XauGetBestAuthByAddr
=yes
8880 ac_cv_lib_Xau_XauGetBestAuthByAddr
=no
8882 rm -f core conftest.err conftest.
$ac_objext \
8883 conftest
$ac_exeext conftest.
$ac_ext
8884 LIBS
=$ac_check_lib_save_LIBS
8886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
8887 $as_echo "$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
8888 if test "x$ac_cv_lib_Xau_XauGetBestAuthByAddr" = x
""yes; then :
8889 NASLIBS
="-lXau -laudio -lXt $X_LIBS $XLIB $X_EXTRA_LIBS"
8891 NASLIBS
="-laudio -lXt $X_LIBS $XLIB $X_EXTRA_LIBS"
8902 CPPFLAGS
="$ac_save_CPPFLAGS"
8907 enable_winex11_drv
=${enable_winex11_drv:-no}
8908 enable_opengl32
=${enable_opengl32:-no}
8909 enable_glu32
=${enable_glu32:-no}
8911 if test "x$XLIB" = "x"; then :
8914 *) as_fn_error
"X ${notice_platform}development files not found. Wine will be built
8915 without X support, which probably isn't what you want. You will need to install
8916 ${notice_platform}development packages of Xlib/Xfree86 at the very least.
8917 Use the --without-x option if you really want this." "$LINENO" 5 ;;
8928 if test "x$with_xml" != "xno"
8930 ac_save_CPPFLAGS
="$CPPFLAGS"
8931 if test "$PKG_CONFIG" != "false"
8933 ac_xml_libs
="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
8934 ac_xml_cflags
="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
8936 ac_xml_libs
="`xml2-config --libs 2>/dev/null`"
8937 ac_xml_cflags
="`xml2-config --cflags 2>/dev/null`"
8939 CPPFLAGS
="$CPPFLAGS $ac_xml_cflags"
8940 for ac_header
in libxml
/parser.h
8942 ac_fn_c_check_header_mongrel
"$LINENO" "libxml/parser.h" "ac_cv_header_libxml_parser_h" "$ac_includes_default"
8943 if test "x$ac_cv_header_libxml_parser_h" = x
""yes; then :
8944 cat >>confdefs.h
<<_ACEOF
8945 #define HAVE_LIBXML_PARSER_H 1
8947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
8948 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
8949 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then :
8950 $as_echo_n "(cached) " >&6
8952 ac_check_lib_save_LIBS
=$LIBS
8953 LIBS
="-lxml2 $ac_xml_libs $LIBS"
8954 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8955 /* end confdefs.h. */
8957 /* Override any GCC internal prototype to avoid an error.
8958 Use char because int might match the return type of a GCC
8959 builtin and then its argument prototype would still apply. */
8963 char xmlParseMemory ();
8967 return xmlParseMemory ();
8972 if ac_fn_c_try_link
"$LINENO"; then :
8973 ac_cv_lib_xml2_xmlParseMemory
=yes
8975 ac_cv_lib_xml2_xmlParseMemory
=no
8977 rm -f core conftest.err conftest.
$ac_objext \
8978 conftest
$ac_exeext conftest.
$ac_ext
8979 LIBS
=$ac_check_lib_save_LIBS
8981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
8982 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
8983 if test "x$ac_cv_lib_xml2_xmlParseMemory" = x
""yes; then :
8985 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
8987 XML2LIBS
="$ac_xml_libs"
8988 XML2INCL
="$ac_xml_cflags"
8991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
8992 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
8993 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then :
8994 $as_echo_n "(cached) " >&6
8996 ac_check_lib_save_LIBS
=$LIBS
8997 LIBS
="-lxml2 $ac_xml_libs $LIBS"
8998 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8999 /* end confdefs.h. */
9001 /* Override any GCC internal prototype to avoid an error.
9002 Use char because int might match the return type of a GCC
9003 builtin and then its argument prototype would still apply. */
9007 char xmlReadMemory ();
9011 return xmlReadMemory ();
9016 if ac_fn_c_try_link
"$LINENO"; then :
9017 ac_cv_lib_xml2_xmlReadMemory
=yes
9019 ac_cv_lib_xml2_xmlReadMemory
=no
9021 rm -f core conftest.err conftest.
$ac_objext \
9022 conftest
$ac_exeext conftest.
$ac_ext
9023 LIBS
=$ac_check_lib_save_LIBS
9025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
9026 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
9027 if test "x$ac_cv_lib_xml2_xmlReadMemory" = x
""yes; then :
9029 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
9033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
9034 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
9035 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then :
9036 $as_echo_n "(cached) " >&6
9038 ac_check_lib_save_LIBS
=$LIBS
9039 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9040 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9041 /* end confdefs.h. */
9043 /* Override any GCC internal prototype to avoid an error.
9044 Use char because int might match the return type of a GCC
9045 builtin and then its argument prototype would still apply. */
9049 char xmlNewDocPI ();
9053 return xmlNewDocPI ();
9058 if ac_fn_c_try_link
"$LINENO"; then :
9059 ac_cv_lib_xml2_xmlNewDocPI
=yes
9061 ac_cv_lib_xml2_xmlNewDocPI
=no
9063 rm -f core conftest.err conftest.
$ac_objext \
9064 conftest
$ac_exeext conftest.
$ac_ext
9065 LIBS
=$ac_check_lib_save_LIBS
9067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
9068 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
9069 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = x
""yes; then :
9071 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
9080 CPPFLAGS
="$ac_save_CPPFLAGS"
9082 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
9083 case "x$with_xml" in
9084 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found, XML won't be supported." ;;
9086 *) as_fn_error
"libxml2 ${notice_platform}development files not found, XML won't be supported.
9087 This is an error since --with-xml was requested." "$LINENO" 5 ;;
9091 if test "x$with_xslt" != "xno"
9093 if test "$PKG_CONFIG" != "false"
9095 ac_xslt_libs
="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
9096 ac_xslt_cflags
="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
9098 ac_xslt_libs
="`xslt-config --libs 2>/dev/null`"
9099 ac_xslt_cflags
="`xslt-config --cflags 2>/dev/null`"
9101 ac_save_CPPFLAGS
="$CPPFLAGS"
9102 CPPFLAGS
="$CPPFLAGS $ac_xslt_cflags"
9103 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
9105 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9106 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
9107 # include <libxslt/pattern.h>
9110 eval as_val
=\$
$as_ac_Header
9111 if test "x$as_val" = x
""yes; then :
9112 cat >>confdefs.h
<<_ACEOF
9113 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9120 CPPFLAGS
="$ac_save_CPPFLAGS"
9121 if test "$ac_cv_header_libxslt_transform_h" = "yes"
9123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
9124 $as_echo_n "checking for -lxslt... " >&6; }
9125 if test "${ac_cv_lib_soname_xslt+set}" = set; then :
9126 $as_echo_n "(cached) " >&6
9128 ac_check_soname_save_LIBS
=$LIBS
9129 LIBS
="-lxslt $ac_xslt_libs $LIBS"
9130 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9131 /* end confdefs.h. */
9133 /* Override any GCC internal prototype to avoid an error.
9134 Use char because int might match the return type of a GCC
9135 builtin and then its argument prototype would still apply. */
9139 char xsltCompilePattern ();
9143 return xsltCompilePattern ();
9148 if ac_fn_c_try_link
"$LINENO"; then :
9150 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9151 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'` ;;
9152 *) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9155 rm -f core conftest.err conftest.
$ac_objext \
9156 conftest
$ac_exeext conftest.
$ac_ext
9157 LIBS
=$ac_check_soname_save_LIBS
9159 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9161 $as_echo "not found" >&6; }
9164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
9165 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
9167 cat >>confdefs.h
<<_ACEOF
9168 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
9171 XSLTINCL
="$ac_xslt_cflags"
9175 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9176 case "x$with_xslt" in
9177 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
9179 *) as_fn_error
"libxslt ${notice_platform}development files not found, xslt won't be supported.
9180 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
9186 if test "x$with_hal" != "xno"
9188 ac_save_CPPFLAGS
="$CPPFLAGS"
9189 if test "$PKG_CONFIG" != "false"
9191 ac_hal_libs
="`$PKG_CONFIG --libs hal 2>/dev/null`"
9192 ac_hal_cflags
="`$PKG_CONFIG --cflags hal 2>/dev/null`"
9193 CPPFLAGS
="$CPPFLAGS $ac_hal_cflags"
9195 for ac_header
in dbus
/dbus.h hal
/libhal.h
9197 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9198 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9199 eval as_val
=\$
$as_ac_Header
9200 if test "x$as_val" = x
""yes; then :
9201 cat >>confdefs.h
<<_ACEOF
9202 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9209 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
9211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dbus_connection_close in -ldbus-1" >&5
9212 $as_echo_n "checking for dbus_connection_close in -ldbus-1... " >&6; }
9213 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then :
9214 $as_echo_n "(cached) " >&6
9216 ac_check_lib_save_LIBS
=$LIBS
9217 LIBS
="-ldbus-1 $ac_hal_libs $LIBS"
9218 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9219 /* end confdefs.h. */
9221 /* Override any GCC internal prototype to avoid an error.
9222 Use char because int might match the return type of a GCC
9223 builtin and then its argument prototype would still apply. */
9227 char dbus_connection_close ();
9231 return dbus_connection_close ();
9236 if ac_fn_c_try_link
"$LINENO"; then :
9237 ac_cv_lib_dbus_1_dbus_connection_close
=yes
9239 ac_cv_lib_dbus_1_dbus_connection_close
=no
9241 rm -f core conftest.err conftest.
$ac_objext \
9242 conftest
$ac_exeext conftest.
$ac_ext
9243 LIBS
=$ac_check_lib_save_LIBS
9245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
9246 $as_echo "$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
9247 if test "x$ac_cv_lib_dbus_1_dbus_connection_close" = x
""yes; then :
9248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
9249 $as_echo_n "checking for -lhal... " >&6; }
9250 if test "${ac_cv_lib_soname_hal+set}" = set; then :
9251 $as_echo_n "(cached) " >&6
9253 ac_check_soname_save_LIBS
=$LIBS
9254 LIBS
="-lhal $ac_hal_libs $LIBS"
9255 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9256 /* end confdefs.h. */
9258 /* Override any GCC internal prototype to avoid an error.
9259 Use char because int might match the return type of a GCC
9260 builtin and then its argument prototype would still apply. */
9264 char libhal_ctx_new ();
9268 return libhal_ctx_new ();
9273 if ac_fn_c_try_link
"$LINENO"; then :
9275 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9276 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'` ;;
9277 *) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9280 rm -f core conftest.err conftest.
$ac_objext \
9281 conftest
$ac_exeext conftest.
$ac_ext
9282 LIBS
=$ac_check_soname_save_LIBS
9284 if test "x$ac_cv_lib_soname_hal" = "x"; then :
9285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9286 $as_echo "not found" >&6; }
9289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
9290 $as_echo "$ac_cv_lib_soname_hal" >&6; }
9292 cat >>confdefs.h
<<_ACEOF
9293 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
9296 HALINCL
="$ac_hal_cflags"
9301 CPPFLAGS
="$ac_save_CPPFLAGS"
9303 if test "x$ac_cv_lib_soname_hal" = "x"; then :
9304 case "x$with_hal" in
9305 x
) as_fn_append wine_notices
"|libhal/libdbus ${notice_platform}development files not found, no dynamic device support." ;;
9307 *) as_fn_error
"libhal/libdbus ${notice_platform}development files not found, no dynamic device support.
9308 This is an error since --with-hal was requested." "$LINENO" 5 ;;
9312 if test "x$with_gnutls" != "xno"
9314 ac_save_CPPFLAGS
="$CPPFLAGS"
9315 if test "$PKG_CONFIG" != "false"
9317 ac_gnutls_libs
="`$PKG_CONFIG --libs gnutls 2>/dev/null`"
9318 ac_gnutls_cflags
="`$PKG_CONFIG --cflags gnutls 2>/dev/null`"
9319 CPPFLAGS
="$CPPFLAGS $ac_gnutls_cflags"
9321 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
9322 if test "x$ac_cv_header_gnutls_gnutls_h" = x
""yes; then :
9323 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9324 /* end confdefs.h. */
9325 #include <gnutls/gnutls.h>
9329 typeof(gnutls_mac_get_key_size) *pfunc;
9334 if ac_fn_c_try_compile
"$LINENO"; then :
9335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
9336 $as_echo_n "checking for -lgnutls... " >&6; }
9337 if test "${ac_cv_lib_soname_gnutls+set}" = set; then :
9338 $as_echo_n "(cached) " >&6
9340 ac_check_soname_save_LIBS
=$LIBS
9341 LIBS
="-lgnutls $ac_gnutls_libs $LIBS"
9342 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9343 /* end confdefs.h. */
9345 /* Override any GCC internal prototype to avoid an error.
9346 Use char because int might match the return type of a GCC
9347 builtin and then its argument prototype would still apply. */
9351 char gnutls_global_init ();
9355 return gnutls_global_init ();
9360 if ac_fn_c_try_link
"$LINENO"; then :
9362 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9363 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'` ;;
9364 *) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9367 rm -f core conftest.err conftest.
$ac_objext \
9368 conftest
$ac_exeext conftest.
$ac_ext
9369 LIBS
=$ac_check_soname_save_LIBS
9371 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
9372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9373 $as_echo "not found" >&6; }
9376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
9377 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
9379 cat >>confdefs.h
<<_ACEOF
9380 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
9383 GNUTLSINCL
="$ac_gnutls_cflags"
9387 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9391 CPPFLAGS
="$ac_save_CPPFLAGS"
9393 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
9394 case "x$with_gnutls" in
9395 x
) as_fn_append wine_notices
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
9397 *) as_fn_error
"libgnutls ${notice_platform}development files not found, no schannel support.
9398 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
9403 if test "$ac_cv_header_ncurses_h" = "yes"
9405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
9406 $as_echo_n "checking for -lncurses... " >&6; }
9407 if test "${ac_cv_lib_soname_ncurses+set}" = set; then :
9408 $as_echo_n "(cached) " >&6
9410 ac_check_soname_save_LIBS
=$LIBS
9411 LIBS
="-lncurses $LIBS"
9412 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9413 /* end confdefs.h. */
9415 /* Override any GCC internal prototype to avoid an error.
9416 Use char because int might match the return type of a GCC
9417 builtin and then its argument prototype would still apply. */
9430 if ac_fn_c_try_link
"$LINENO"; then :
9432 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9433 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'` ;;
9434 *) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9437 rm -f core conftest.err conftest.
$ac_objext \
9438 conftest
$ac_exeext conftest.
$ac_ext
9439 LIBS
=$ac_check_soname_save_LIBS
9441 if test "x$ac_cv_lib_soname_ncurses" = "x"; then :
9442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9443 $as_echo "not found" >&6; }
9446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
9447 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
9449 cat >>confdefs.h
<<_ACEOF
9450 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
9453 CURSESLIBS
="-lncurses"
9455 elif test "$ac_cv_header_curses_h" = "yes"
9457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
9458 $as_echo_n "checking for -lcurses... " >&6; }
9459 if test "${ac_cv_lib_soname_curses+set}" = set; then :
9460 $as_echo_n "(cached) " >&6
9462 ac_check_soname_save_LIBS
=$LIBS
9463 LIBS
="-lcurses $LIBS"
9464 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9465 /* end confdefs.h. */
9467 /* Override any GCC internal prototype to avoid an error.
9468 Use char because int might match the return type of a GCC
9469 builtin and then its argument prototype would still apply. */
9482 if ac_fn_c_try_link
"$LINENO"; then :
9484 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9485 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'` ;;
9486 *) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9489 rm -f core conftest.err conftest.
$ac_objext \
9490 conftest
$ac_exeext conftest.
$ac_ext
9491 LIBS
=$ac_check_soname_save_LIBS
9493 if test "x$ac_cv_lib_soname_curses" = "x"; then :
9494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9495 $as_echo "not found" >&6; }
9498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
9499 $as_echo "$ac_cv_lib_soname_curses" >&6; }
9501 cat >>confdefs.h
<<_ACEOF
9502 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
9505 CURSESLIBS
="-lcurses"
9508 ac_save_LIBS
="$LIBS"
9509 LIBS
="$LIBS $CURSESLIBS"
9510 for ac_func
in mousemask
9512 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
9513 if test "x$ac_cv_func_mousemask" = x
""yes; then :
9514 cat >>confdefs.h
<<_ACEOF
9515 #define HAVE_MOUSEMASK 1
9521 LIBS
="$ac_save_LIBS"
9522 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
9523 case "x$with_curses" in
9524 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
9526 *) as_fn_error
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
9527 This is an error since --with-curses was requested." "$LINENO" 5 ;;
9531 if test "x$with_sane" != "xno"
9533 ac_save_CPPFLAGS
="$CPPFLAGS"
9534 # Extract the first word of "sane-config", so it can be a program name with args.
9535 set dummy sane-config
; ac_word
=$2
9536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9537 $as_echo_n "checking for $ac_word... " >&6; }
9538 if test "${ac_cv_prog_sane_devel+set}" = set; then :
9539 $as_echo_n "(cached) " >&6
9541 if test -n "$sane_devel"; then
9542 ac_cv_prog_sane_devel
="$sane_devel" # Let the user override the test.
9544 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9548 test -z "$as_dir" && as_dir
=.
9549 for ac_exec_ext
in '' $ac_executable_extensions; do
9550 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9551 ac_cv_prog_sane_devel
="sane-config"
9552 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9559 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel
="no"
9562 sane_devel
=$ac_cv_prog_sane_devel
9563 if test -n "$sane_devel"; then
9564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sane_devel" >&5
9565 $as_echo "$sane_devel" >&6; }
9567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9568 $as_echo "no" >&6; }
9572 if test "$sane_devel" != "no"
9574 ac_sane_incl
="`$sane_devel --cflags`"
9575 ac_sane_libs
="`$sane_devel --ldflags`"
9576 CPPFLAGS
="$CPPFLAGS $ac_sane_incl"
9578 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
9579 if test "x$ac_cv_header_sane_sane_h" = x
""yes; then :
9580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
9581 $as_echo_n "checking for -lsane... " >&6; }
9582 if test "${ac_cv_lib_soname_sane+set}" = set; then :
9583 $as_echo_n "(cached) " >&6
9585 ac_check_soname_save_LIBS
=$LIBS
9586 LIBS
="-lsane $ac_sane_libs $LIBS"
9587 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9588 /* end confdefs.h. */
9590 /* Override any GCC internal prototype to avoid an error.
9591 Use char because int might match the return type of a GCC
9592 builtin and then its argument prototype would still apply. */
9600 return sane_init ();
9605 if ac_fn_c_try_link
"$LINENO"; then :
9607 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9608 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'` ;;
9609 *) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9612 rm -f core conftest.err conftest.
$ac_objext \
9613 conftest
$ac_exeext conftest.
$ac_ext
9614 LIBS
=$ac_check_soname_save_LIBS
9616 if test "x$ac_cv_lib_soname_sane" = "x"; then :
9617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9618 $as_echo "not found" >&6; }
9621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
9622 $as_echo "$ac_cv_lib_soname_sane" >&6; }
9624 cat >>confdefs.h
<<_ACEOF
9625 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
9628 SANEINCL
="$ac_sane_incl"
9634 CPPFLAGS
="$ac_save_CPPFLAGS"
9636 if test "x$ac_cv_lib_soname_sane" = "x"; then :
9637 case "x$with_sane" in
9638 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
9640 *) as_fn_error
"libsane ${notice_platform}development files not found, scanners won't be supported.
9641 This is an error since --with-sane was requested." "$LINENO" 5 ;;
9645 if test "x$with_v4l" != "xno"
9647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
9648 $as_echo_n "checking for -lv4l1... " >&6; }
9649 if test "${ac_cv_lib_soname_v4l1+set}" = set; then :
9650 $as_echo_n "(cached) " >&6
9652 ac_check_soname_save_LIBS
=$LIBS
9654 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9655 /* end confdefs.h. */
9657 /* Override any GCC internal prototype to avoid an error.
9658 Use char because int might match the return type of a GCC
9659 builtin and then its argument prototype would still apply. */
9667 return v4l1_open ();
9672 if ac_fn_c_try_link
"$LINENO"; then :
9674 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9675 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'` ;;
9676 *) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9679 rm -f core conftest.err conftest.
$ac_objext \
9680 conftest
$ac_exeext conftest.
$ac_ext
9681 LIBS
=$ac_check_soname_save_LIBS
9683 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
9684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9685 $as_echo "not found" >&6; }
9688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
9689 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
9691 cat >>confdefs.h
<<_ACEOF
9692 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
9698 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
9699 case "x$with_v4l" in
9700 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
9702 *) as_fn_error
"libv4l ${notice_platform}development files not found.
9703 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
9707 if test "x$with_gphoto" != "xno"
9709 ac_save_CPPFLAGS
="$CPPFLAGS"
9710 # Extract the first word of "gphoto2-config", so it can be a program name with args.
9711 set dummy gphoto2-config
; ac_word
=$2
9712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9713 $as_echo_n "checking for $ac_word... " >&6; }
9714 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then :
9715 $as_echo_n "(cached) " >&6
9717 if test -n "$gphoto2_devel"; then
9718 ac_cv_prog_gphoto2_devel
="$gphoto2_devel" # Let the user override the test.
9720 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9724 test -z "$as_dir" && as_dir
=.
9725 for ac_exec_ext
in '' $ac_executable_extensions; do
9726 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9727 ac_cv_prog_gphoto2_devel
="gphoto2-config"
9728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9735 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel
="no"
9738 gphoto2_devel
=$ac_cv_prog_gphoto2_devel
9739 if test -n "$gphoto2_devel"; then
9740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gphoto2_devel" >&5
9741 $as_echo "$gphoto2_devel" >&6; }
9743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9744 $as_echo "no" >&6; }
9748 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
9749 set dummy gphoto2-port-config
; ac_word
=$2
9750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9751 $as_echo_n "checking for $ac_word... " >&6; }
9752 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then :
9753 $as_echo_n "(cached) " >&6
9755 if test -n "$gphoto2port_devel"; then
9756 ac_cv_prog_gphoto2port_devel
="$gphoto2port_devel" # Let the user override the test.
9758 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9762 test -z "$as_dir" && as_dir
=.
9763 for ac_exec_ext
in '' $ac_executable_extensions; do
9764 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9765 ac_cv_prog_gphoto2port_devel
="gphoto2-port-config"
9766 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9773 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel
="no"
9776 gphoto2port_devel
=$ac_cv_prog_gphoto2port_devel
9777 if test -n "$gphoto2port_devel"; then
9778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gphoto2port_devel" >&5
9779 $as_echo "$gphoto2port_devel" >&6; }
9781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9782 $as_echo "no" >&6; }
9786 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
9788 ac_gphoto2_incl
="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
9790 for i
in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
9793 -L/usr
/lib|
-L/usr
/lib64
) ;;
9794 -L*|
-l*) ac_gphoto2_libs
="$ac_gphoto2_libs $i";;
9797 CPPFLAGS
="$CPPFLAGS $ac_gphoto2_incl"
9799 ac_gphoto2_libs
=${ac_gphoto2_libs:-"-lgphoto2"}
9800 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
9801 if test "x$ac_cv_header_gphoto2_camera_h" = x
""yes; then :
9802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
9803 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
9804 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then :
9805 $as_echo_n "(cached) " >&6
9807 ac_check_lib_save_LIBS
=$LIBS
9808 LIBS
="-lgphoto2 $ac_gphoto2_libs $LIBS"
9809 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9810 /* end confdefs.h. */
9812 /* Override any GCC internal prototype to avoid an error.
9813 Use char because int might match the return type of a GCC
9814 builtin and then its argument prototype would still apply. */
9818 char gp_camera_new ();
9822 return gp_camera_new ();
9827 if ac_fn_c_try_link
"$LINENO"; then :
9828 ac_cv_lib_gphoto2_gp_camera_new
=yes
9830 ac_cv_lib_gphoto2_gp_camera_new
=no
9832 rm -f core conftest.err conftest.
$ac_objext \
9833 conftest
$ac_exeext conftest.
$ac_ext
9834 LIBS
=$ac_check_lib_save_LIBS
9836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
9837 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
9838 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = x
""yes; then :
9840 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
9842 GPHOTO2LIBS
="$ac_gphoto2_libs"
9844 GPHOTO2INCL
="$ac_gphoto2_incl"
9851 CPPFLAGS
="$ac_save_CPPFLAGS"
9853 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
9854 case "x$with_gphoto" in
9855 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
9857 *) as_fn_error
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
9858 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
9865 if test "$ac_cv_header_resolv_h" = "yes"
9867 ac_save_LIBS
="$LIBS"
9868 LIBS
="$LIBS -lresolv"
9869 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9870 /* end confdefs.h. */
9871 #ifdef HAVE_NETINET_IN_H
9872 #include <netinet/in.h>
9883 if ac_fn_c_try_link
"$LINENO"; then :
9885 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
9887 RESOLVLIBS
="-lresolv"
9889 rm -f core conftest.err conftest.
$ac_objext \
9890 conftest
$ac_exeext conftest.
$ac_ext
9891 LIBS
="$ac_save_LIBS"
9896 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
9898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms" >&5
9899 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms... " >&6; }
9900 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then :
9901 $as_echo_n "(cached) " >&6
9903 ac_check_lib_save_LIBS
=$LIBS
9905 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9906 /* end confdefs.h. */
9908 /* Override any GCC internal prototype to avoid an error.
9909 Use char because int might match the return type of a GCC
9910 builtin and then its argument prototype would still apply. */
9914 char cmsOpenProfileFromFile ();
9918 return cmsOpenProfileFromFile ();
9923 if ac_fn_c_try_link
"$LINENO"; then :
9924 ac_cv_lib_lcms_cmsOpenProfileFromFile
=yes
9926 ac_cv_lib_lcms_cmsOpenProfileFromFile
=no
9928 rm -f core conftest.err conftest.
$ac_objext \
9929 conftest
$ac_exeext conftest.
$ac_ext
9930 LIBS
=$ac_check_lib_save_LIBS
9932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
9933 $as_echo "$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
9934 if test "x$ac_cv_lib_lcms_cmsOpenProfileFromFile" = x
""yes; then :
9936 $as_echo "#define HAVE_LCMS 1" >>confdefs.h
9942 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then :
9943 case "x$with_cms" in
9944 x
) as_fn_append wine_notices
"|liblcms ${notice_platform}development files not found, Color Management won't be supported." ;;
9946 *) as_fn_error
"liblcms ${notice_platform}development files not found, Color Management won't be supported.
9947 This is an error since --with-cms was requested." "$LINENO" 5 ;;
9951 if test "x$with_freetype" != "xno"
9953 for ac_prog
in freetype-config freetype2-config
9955 # Extract the first word of "$ac_prog", so it can be a program name with args.
9956 set dummy
$ac_prog; ac_word
=$2
9957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9958 $as_echo_n "checking for $ac_word... " >&6; }
9959 if test "${ac_cv_prog_ft_devel+set}" = set; then :
9960 $as_echo_n "(cached) " >&6
9962 if test -n "$ft_devel"; then
9963 ac_cv_prog_ft_devel
="$ft_devel" # Let the user override the test.
9965 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9969 test -z "$as_dir" && as_dir
=.
9970 for ac_exec_ext
in '' $ac_executable_extensions; do
9971 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9972 ac_cv_prog_ft_devel
="$ac_prog"
9973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9982 ft_devel
=$ac_cv_prog_ft_devel
9983 if test -n "$ft_devel"; then
9984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ft_devel" >&5
9985 $as_echo "$ft_devel" >&6; }
9987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9988 $as_echo "no" >&6; }
9992 test -n "$ft_devel" && break
9994 test -n "$ft_devel" || ft_devel
="no"
9996 if test "$ft_devel" != "no"
9998 ac_freetype_incl
=`$ft_devel --cflags`
9999 ac_freetype_libs
=`$ft_devel --libs`
10001 ac_freetype_libs
=${ac_freetype_libs:-"-lfreetype"}
10002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
10003 $as_echo_n "checking for -lfreetype... " >&6; }
10004 if test "${ac_cv_lib_soname_freetype+set}" = set; then :
10005 $as_echo_n "(cached) " >&6
10007 ac_check_soname_save_LIBS
=$LIBS
10008 LIBS
="-lfreetype $ac_freetype_libs $LIBS"
10009 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10010 /* end confdefs.h. */
10012 /* Override any GCC internal prototype to avoid an error.
10013 Use char because int might match the return type of a GCC
10014 builtin and then its argument prototype would still apply. */
10018 char FT_Init_FreeType ();
10022 return FT_Init_FreeType ();
10027 if ac_fn_c_try_link
"$LINENO"; then :
10029 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10030 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'` ;;
10031 *) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10034 rm -f core conftest.err conftest.
$ac_objext \
10035 conftest
$ac_exeext conftest.
$ac_ext
10036 LIBS
=$ac_check_soname_save_LIBS
10038 if test "x$ac_cv_lib_soname_freetype" = "x"; then :
10039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10040 $as_echo "not found" >&6; }
10043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
10044 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
10046 cat >>confdefs.h
<<_ACEOF
10047 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
10052 if test "$ft_lib" = "yes"
10054 ac_save_CPPFLAGS
="$CPPFLAGS"
10055 CPPFLAGS
="$ac_freetype_incl $CPPFLAGS"
10056 for ac_header
in ft2build.h \
10057 freetype
/freetype.h \
10058 freetype
/ftglyph.h \
10059 freetype
/fttypes.h \
10060 freetype
/tttables.h \
10061 freetype
/ftsnames.h \
10062 freetype
/ttnameid.h \
10063 freetype
/ftoutln.h \
10064 freetype
/ftwinfnt.h \
10065 freetype
/ftmodapi.h \
10066 freetype
/ftlcdfil.h \
10067 freetype
/internal
/sfnt.h
10069 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10070 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_FT2BUILD_H
10071 # include <ft2build.h>
10074 eval as_val
=\$
$as_ac_Header
10075 if test "x$as_val" = x
""yes; then :
10076 cat >>confdefs.h
<<_ACEOF
10077 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10084 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10085 /* end confdefs.h. */
10086 #include <ft2build.h>
10087 #include <freetype/fttrigon.h>
10089 if ac_fn_c_try_cpp
"$LINENO"; then :
10091 $as_echo "#define HAVE_FREETYPE_FTTRIGON_H 1" >>confdefs.h
10093 wine_cv_fttrigon
=yes
10095 wine_cv_fttrigon
=no
10097 rm -f conftest.err conftest.
$ac_ext
10098 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <freetype/ftmodapi.h>
10100 if test "x$ac_cv_type_FT_TrueTypeEngineType" = x
""yes; then :
10102 cat >>confdefs.h
<<_ACEOF
10103 #define HAVE_FT_TRUETYPEENGINETYPE 1
10109 ac_save_CFLAGS
="$CFLAGS"
10110 CFLAGS
="$CFLAGS $ac_freetype_libs"
10111 for ac_func
in FT_Load_Sfnt_Table
10113 ac_fn_c_check_func
"$LINENO" "FT_Load_Sfnt_Table" "ac_cv_func_FT_Load_Sfnt_Table"
10114 if test "x$ac_cv_func_FT_Load_Sfnt_Table" = x
""yes; then :
10115 cat >>confdefs.h
<<_ACEOF
10116 #define HAVE_FT_LOAD_SFNT_TABLE 1
10122 CFLAGS
="$ac_save_CFLAGS"
10123 CPPFLAGS
="$ac_save_CPPFLAGS"
10124 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
10127 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
10129 FREETYPELIBS
="$ac_freetype_libs"
10131 FREETYPEINCL
="$ac_freetype_incl"
10136 if test "x$FREETYPELIBS" = "x"; then :
10137 case "x$with_freetype" in
10139 *) as_fn_error
"FreeType ${notice_platform}development files not found. Fonts will not be built.
10140 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
10143 test "x$FREETYPELIBS" = "x" && enable_fonts
=${enable_fonts:-no}
10145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
10146 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
10147 if test "${ac_cv_c_ppdev+set}" = set; then :
10148 $as_echo_n "(cached) " >&6
10150 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10151 /* end confdefs.h. */
10152 #ifdef HAVE_SYS_IOCTL_H
10153 # include <sys/ioctl.h>
10155 #include <linux/ppdev.h>
10159 ioctl (1,PPCLAIM,0)
10164 if ac_fn_c_try_compile
"$LINENO"; then :
10165 ac_cv_c_ppdev
="yes"
10169 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
10172 $as_echo "$ac_cv_c_ppdev" >&6; }
10173 if test "$ac_cv_c_ppdev" = "yes"
10176 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
10180 ac_wine_check_funcs_save_LIBS
="$LIBS"
10181 LIBS
="$LIBS $LIBPTHREAD"
10183 pthread_attr_get_np \
10184 pthread_getattr_np \
10185 pthread_get_stackaddr_np \
10186 pthread_get_stacksize_np
10188 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10189 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
10190 eval as_val
=\$
$as_ac_var
10191 if test "x$as_val" = x
""yes; then :
10192 cat >>confdefs.h
<<_ACEOF
10193 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10199 LIBS
="$ac_wine_check_funcs_save_LIBS"
10201 if test "$ac_cv_header_zlib_h" = "yes"
10203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
10204 $as_echo_n "checking for inflate in -lz... " >&6; }
10205 if test "${ac_cv_lib_z_inflate+set}" = set; then :
10206 $as_echo_n "(cached) " >&6
10208 ac_check_lib_save_LIBS
=$LIBS
10210 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10211 /* end confdefs.h. */
10213 /* Override any GCC internal prototype to avoid an error.
10214 Use char because int might match the return type of a GCC
10215 builtin and then its argument prototype would still apply. */
10228 if ac_fn_c_try_link
"$LINENO"; then :
10229 ac_cv_lib_z_inflate
=yes
10231 ac_cv_lib_z_inflate
=no
10233 rm -f core conftest.err conftest.
$ac_objext \
10234 conftest
$ac_exeext conftest.
$ac_ext
10235 LIBS
=$ac_check_lib_save_LIBS
10237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
10238 $as_echo "$ac_cv_lib_z_inflate" >&6; }
10239 if test "x$ac_cv_lib_z_inflate" = x
""yes; then :
10241 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
10249 if test "x$with_esd" != xno
10251 save_CFLAGS
="$CFLAGS"
10252 # Extract the first word of "esd-config", so it can be a program name with args.
10253 set dummy esd-config
; ac_word
=$2
10254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10255 $as_echo_n "checking for $ac_word... " >&6; }
10256 if test "${ac_cv_path_ESDCONFIG+set}" = set; then :
10257 $as_echo_n "(cached) " >&6
10261 ac_cv_path_ESDCONFIG
="$ESDCONFIG" # Let the user override the test with a path.
10264 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10265 for as_dir
in $PATH
10268 test -z "$as_dir" && as_dir
=.
10269 for ac_exec_ext
in '' $ac_executable_extensions; do
10270 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10271 ac_cv_path_ESDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
10272 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10279 test -z "$ac_cv_path_ESDCONFIG" && ac_cv_path_ESDCONFIG
="no"
10283 ESDCONFIG
=$ac_cv_path_ESDCONFIG
10284 if test -n "$ESDCONFIG"; then
10285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ESDCONFIG" >&5
10286 $as_echo "$ESDCONFIG" >&6; }
10288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10289 $as_echo "no" >&6; }
10293 if test "x$ESDCONFIG" != "xno"
10296 for i
in `$ESDCONFIG --cflags`
10299 -I*) ac_esd_incl
="$ac_esd_incl $i";;
10302 ac_esd_libs
=`$ESDCONFIG --libs`
10303 CFLAGS
="$CFLAGS $ac_esd_incl"
10305 ac_esd_libs
=${ac_esd_libs:-"-lesd"}
10306 ac_fn_c_check_header_mongrel
"$LINENO" "esd.h" "ac_cv_header_esd_h" "$ac_includes_default"
10307 if test "x$ac_cv_header_esd_h" = x
""yes; then :
10308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for esd_open_sound in -lesd" >&5
10309 $as_echo_n "checking for esd_open_sound in -lesd... " >&6; }
10310 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then :
10311 $as_echo_n "(cached) " >&6
10313 ac_check_lib_save_LIBS
=$LIBS
10314 LIBS
="-lesd $ac_esd_libs $LIBS"
10315 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10316 /* end confdefs.h. */
10318 /* Override any GCC internal prototype to avoid an error.
10319 Use char because int might match the return type of a GCC
10320 builtin and then its argument prototype would still apply. */
10324 char esd_open_sound ();
10328 return esd_open_sound ();
10333 if ac_fn_c_try_link
"$LINENO"; then :
10334 ac_cv_lib_esd_esd_open_sound
=yes
10336 ac_cv_lib_esd_esd_open_sound
=no
10338 rm -f core conftest.err conftest.
$ac_objext \
10339 conftest
$ac_exeext conftest.
$ac_ext
10340 LIBS
=$ac_check_lib_save_LIBS
10342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_esd_esd_open_sound" >&5
10343 $as_echo "$ac_cv_lib_esd_esd_open_sound" >&6; }
10344 if test "x$ac_cv_lib_esd_esd_open_sound" = x
""yes; then :
10345 ESDINCL
="$ac_esd_incl"
10347 ESDLIBS
="$ac_esd_libs"
10350 $as_echo "#define HAVE_ESD 1" >>confdefs.h
10357 CFLAGS
="$save_CFLAGS"
10362 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
10364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access in -lasound" >&5
10365 $as_echo_n "checking for snd_pcm_hw_params_get_access in -lasound... " >&6; }
10366 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then :
10367 $as_echo_n "(cached) " >&6
10369 ac_check_lib_save_LIBS
=$LIBS
10370 LIBS
="-lasound $LIBS"
10371 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10372 /* end confdefs.h. */
10374 /* Override any GCC internal prototype to avoid an error.
10375 Use char because int might match the return type of a GCC
10376 builtin and then its argument prototype would still apply. */
10380 char snd_pcm_hw_params_get_access ();
10384 return snd_pcm_hw_params_get_access ();
10389 if ac_fn_c_try_link
"$LINENO"; then :
10390 ac_cv_lib_asound_snd_pcm_hw_params_get_access
=yes
10392 ac_cv_lib_asound_snd_pcm_hw_params_get_access
=no
10394 rm -f core conftest.err conftest.
$ac_objext \
10395 conftest
$ac_exeext conftest.
$ac_ext
10396 LIBS
=$ac_check_lib_save_LIBS
10398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
10399 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
10400 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access" = x
""yes; then :
10401 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10402 /* end confdefs.h. */
10403 #ifdef HAVE_ALSA_ASOUNDLIB_H
10404 #include <alsa/asoundlib.h>
10405 #elif defined(HAVE_SYS_ASOUNDLIB_H)
10406 #include <sys/asoundlib.h>
10411 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
10416 if ac_fn_c_try_compile
"$LINENO"; then :
10418 $as_echo "#define HAVE_ALSA 1" >>confdefs.h
10420 ALSALIBS
="-lasound"
10422 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10429 if test "$ac_cv_header_libaudioio_h" = "yes"
10431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AudioIOGetVersion in -laudioio" >&5
10432 $as_echo_n "checking for AudioIOGetVersion in -laudioio... " >&6; }
10433 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then :
10434 $as_echo_n "(cached) " >&6
10436 ac_check_lib_save_LIBS
=$LIBS
10437 LIBS
="-laudioio $LIBS"
10438 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10439 /* end confdefs.h. */
10441 /* Override any GCC internal prototype to avoid an error.
10442 Use char because int might match the return type of a GCC
10443 builtin and then its argument prototype would still apply. */
10447 char AudioIOGetVersion ();
10451 return AudioIOGetVersion ();
10456 if ac_fn_c_try_link
"$LINENO"; then :
10457 ac_cv_lib_audioio_AudioIOGetVersion
=yes
10459 ac_cv_lib_audioio_AudioIOGetVersion
=no
10461 rm -f core conftest.err conftest.
$ac_objext \
10462 conftest
$ac_exeext conftest.
$ac_ext
10463 LIBS
=$ac_check_lib_save_LIBS
10465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
10466 $as_echo "$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
10467 if test "x$ac_cv_lib_audioio_AudioIOGetVersion" = x
""yes; then :
10468 AUDIOIOLIBS
="-laudioio"
10470 $as_echo "#define HAVE_LIBAUDIOIO 1" >>confdefs.h
10477 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
10479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
10480 $as_echo_n "checking for -lcapi20... " >&6; }
10481 if test "${ac_cv_lib_soname_capi20+set}" = set; then :
10482 $as_echo_n "(cached) " >&6
10484 ac_check_soname_save_LIBS
=$LIBS
10485 LIBS
="-lcapi20 $LIBS"
10486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10487 /* end confdefs.h. */
10489 /* Override any GCC internal prototype to avoid an error.
10490 Use char because int might match the return type of a GCC
10491 builtin and then its argument prototype would still apply. */
10495 char capi20_register ();
10499 return capi20_register ();
10504 if ac_fn_c_try_link
"$LINENO"; then :
10506 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10507 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'` ;;
10508 *) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10511 rm -f core conftest.err conftest.
$ac_objext \
10512 conftest
$ac_exeext conftest.
$ac_ext
10513 LIBS
=$ac_check_soname_save_LIBS
10515 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
10516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10517 $as_echo "not found" >&6; }
10520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
10521 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
10523 cat >>confdefs.h
<<_ACEOF
10524 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
10530 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
10531 case "x$with_capi" in
10532 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
10534 *) as_fn_error
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
10535 This is an error since --with-capi was requested." "$LINENO" 5 ;;
10541 if test "x$with_cups" != "xno"
10543 ac_save_CPPFLAGS
="$CPPFLAGS"
10544 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
10545 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
10546 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
10547 for ac_header
in cups
/cups.h
10549 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
10550 if test "x$ac_cv_header_cups_cups_h" = x
""yes; then :
10551 cat >>confdefs.h
<<_ACEOF
10552 #define HAVE_CUPS_CUPS_H 1
10554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
10555 $as_echo_n "checking for -lcups... " >&6; }
10556 if test "${ac_cv_lib_soname_cups+set}" = set; then :
10557 $as_echo_n "(cached) " >&6
10559 ac_check_soname_save_LIBS
=$LIBS
10560 LIBS
="-lcups $ac_cups_libs $LIBS"
10561 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10562 /* end confdefs.h. */
10564 /* Override any GCC internal prototype to avoid an error.
10565 Use char because int might match the return type of a GCC
10566 builtin and then its argument prototype would still apply. */
10570 char cupsGetDefault ();
10574 return cupsGetDefault ();
10579 if ac_fn_c_try_link
"$LINENO"; then :
10581 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10582 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'` ;;
10583 *) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10586 rm -f core conftest.err conftest.
$ac_objext \
10587 conftest
$ac_exeext conftest.
$ac_ext
10588 LIBS
=$ac_check_soname_save_LIBS
10590 if test "x$ac_cv_lib_soname_cups" = "x"; then :
10591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10592 $as_echo "not found" >&6; }
10595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
10596 $as_echo "$ac_cv_lib_soname_cups" >&6; }
10598 cat >>confdefs.h
<<_ACEOF
10599 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
10602 CUPSINCL
="$ac_cups_cflags"
10608 CPPFLAGS
="$ac_save_CPPFLAGS"
10610 if test "x$ac_cv_lib_soname_cups" = "x"; then :
10611 case "x$with_cups" in
10612 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
10614 *) as_fn_error
"libcups ${notice_platform}development files not found, CUPS won't be supported.
10615 This is an error since --with-cups was requested." "$LINENO" 5 ;;
10619 if test "$ac_cv_header_jack_jack_h" = "yes"
10621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljack" >&5
10622 $as_echo_n "checking for -ljack... " >&6; }
10623 if test "${ac_cv_lib_soname_jack+set}" = set; then :
10624 $as_echo_n "(cached) " >&6
10626 ac_check_soname_save_LIBS
=$LIBS
10627 LIBS
="-ljack $LIBS"
10628 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10629 /* end confdefs.h. */
10631 /* Override any GCC internal prototype to avoid an error.
10632 Use char because int might match the return type of a GCC
10633 builtin and then its argument prototype would still apply. */
10637 char jack_client_new ();
10641 return jack_client_new ();
10646 if ac_fn_c_try_link
"$LINENO"; then :
10648 dll
) ac_cv_lib_soname_jack
=`$ac_cv_path_LDD conftest.exe | grep "jack" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10649 dylib
) ac_cv_lib_soname_jack
=`otool -L conftest$ac_exeext | grep "libjack-*[0-9.]*\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libjack-*[0-9.]*\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10650 *) ac_cv_lib_soname_jack
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjack-*[0-9.]*\\.$LIBEXT" | sed -e "s/^.*\(libjack-*[0-9.]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10653 rm -f core conftest.err conftest.
$ac_objext \
10654 conftest
$ac_exeext conftest.
$ac_ext
10655 LIBS
=$ac_check_soname_save_LIBS
10657 if test "x$ac_cv_lib_soname_jack" = "x"; then :
10658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10659 $as_echo "not found" >&6; }
10662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jack" >&5
10663 $as_echo "$ac_cv_lib_soname_jack" >&6; }
10665 cat >>confdefs.h
<<_ACEOF
10666 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
10673 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
10675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
10676 $as_echo_n "checking for -lfontconfig... " >&6; }
10677 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then :
10678 $as_echo_n "(cached) " >&6
10680 ac_check_soname_save_LIBS
=$LIBS
10681 LIBS
="-lfontconfig $LIBS"
10682 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10683 /* end confdefs.h. */
10685 /* Override any GCC internal prototype to avoid an error.
10686 Use char because int might match the return type of a GCC
10687 builtin and then its argument prototype would still apply. */
10700 if ac_fn_c_try_link
"$LINENO"; then :
10702 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10703 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'` ;;
10704 *) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10707 rm -f core conftest.err conftest.
$ac_objext \
10708 conftest
$ac_exeext conftest.
$ac_ext
10709 LIBS
=$ac_check_soname_save_LIBS
10711 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
10712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10713 $as_echo "not found" >&6; }
10716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
10717 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
10719 cat >>confdefs.h
<<_ACEOF
10720 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
10725 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
10727 ac_save_CPPFLAGS
="$CPPFLAGS"
10728 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
10729 $as_unset ac_cv_header_fontconfig_fontconfig_h
10730 for ac_header
in fontconfig
/fontconfig.h
10732 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
10733 if test "x$ac_cv_header_fontconfig_fontconfig_h" = x
""yes; then :
10734 cat >>confdefs.h
<<_ACEOF
10735 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
10742 CPPFLAGS
="$ac_save_CPPFLAGS"
10743 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
10745 FONTCONFIGINCL
="$X_CFLAGS"
10747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
10748 $as_echo_n "checking for -lfontconfig... " >&6; }
10749 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then :
10750 $as_echo_n "(cached) " >&6
10752 ac_check_soname_save_LIBS
=$LIBS
10753 LIBS
="-lfontconfig $X_LIBS $LIBS"
10754 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10755 /* end confdefs.h. */
10757 /* Override any GCC internal prototype to avoid an error.
10758 Use char because int might match the return type of a GCC
10759 builtin and then its argument prototype would still apply. */
10772 if ac_fn_c_try_link
"$LINENO"; then :
10774 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10775 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'` ;;
10776 *) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10779 rm -f core conftest.err conftest.
$ac_objext \
10780 conftest
$ac_exeext conftest.
$ac_ext
10781 LIBS
=$ac_check_soname_save_LIBS
10783 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
10784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10785 $as_echo "not found" >&6; }
10788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
10789 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
10791 cat >>confdefs.h
<<_ACEOF
10792 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
10799 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
10800 case "x$with_fontconfig" in
10801 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
10803 *) as_fn_error
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
10804 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
10808 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
10810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lssl" >&5
10811 $as_echo_n "checking for -lssl... " >&6; }
10812 if test "${ac_cv_lib_soname_ssl+set}" = set; then :
10813 $as_echo_n "(cached) " >&6
10815 ac_check_soname_save_LIBS
=$LIBS
10817 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10818 /* end confdefs.h. */
10820 /* Override any GCC internal prototype to avoid an error.
10821 Use char because int might match the return type of a GCC
10822 builtin and then its argument prototype would still apply. */
10826 char SSL_library_init ();
10830 return SSL_library_init ();
10835 if ac_fn_c_try_link
"$LINENO"; then :
10837 dll
) ac_cv_lib_soname_ssl
=`$ac_cv_path_LDD conftest.exe | grep "ssl" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10838 dylib
) ac_cv_lib_soname_ssl
=`otool -L conftest$ac_exeext | grep "libssl\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libssl\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10839 *) ac_cv_lib_soname_ssl
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10842 rm -f core conftest.err conftest.
$ac_objext \
10843 conftest
$ac_exeext conftest.
$ac_ext
10844 LIBS
=$ac_check_soname_save_LIBS
10846 if test "x$ac_cv_lib_soname_ssl" = "x"; then :
10847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10848 $as_echo "not found" >&6; }
10851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ssl" >&5
10852 $as_echo "$ac_cv_lib_soname_ssl" >&6; }
10854 cat >>confdefs.h
<<_ACEOF
10855 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
10860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcrypto" >&5
10861 $as_echo_n "checking for -lcrypto... " >&6; }
10862 if test "${ac_cv_lib_soname_crypto+set}" = set; then :
10863 $as_echo_n "(cached) " >&6
10865 ac_check_soname_save_LIBS
=$LIBS
10866 LIBS
="-lcrypto $LIBS"
10867 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10868 /* end confdefs.h. */
10870 /* Override any GCC internal prototype to avoid an error.
10871 Use char because int might match the return type of a GCC
10872 builtin and then its argument prototype would still apply. */
10876 char BIO_new_socket ();
10880 return BIO_new_socket ();
10885 if ac_fn_c_try_link
"$LINENO"; then :
10887 dll
) ac_cv_lib_soname_crypto
=`$ac_cv_path_LDD conftest.exe | grep "crypto" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10888 dylib
) ac_cv_lib_soname_crypto
=`otool -L conftest$ac_exeext | grep "libcrypto\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libcrypto\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10889 *) ac_cv_lib_soname_crypto
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10892 rm -f core conftest.err conftest.
$ac_objext \
10893 conftest
$ac_exeext conftest.
$ac_ext
10894 LIBS
=$ac_check_soname_save_LIBS
10896 if test "x$ac_cv_lib_soname_crypto" = "x"; then :
10897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10898 $as_echo "not found" >&6; }
10901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_crypto" >&5
10902 $as_echo "$ac_cv_lib_soname_crypto" >&6; }
10904 cat >>confdefs.h
<<_ACEOF
10905 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
10911 if test "x$ac_cv_lib_soname_ssl" = "x" -o "x$ac_cv_lib_soname_crypto" = "x"; then :
10912 case "x$with_openssl" in
10913 x
) as_fn_append wine_warnings
"|OpenSSL ${notice_platform}development files not found, SSL won't be supported." ;;
10915 *) as_fn_error
"OpenSSL ${notice_platform}development files not found, SSL won't be supported.
10916 This is an error since --with-openssl was requested." "$LINENO" 5 ;;
10920 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
10922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
10923 $as_echo_n "checking for -lgsm... " >&6; }
10924 if test "${ac_cv_lib_soname_gsm+set}" = set; then :
10925 $as_echo_n "(cached) " >&6
10927 ac_check_soname_save_LIBS
=$LIBS
10929 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10930 /* end confdefs.h. */
10932 /* Override any GCC internal prototype to avoid an error.
10933 Use char because int might match the return type of a GCC
10934 builtin and then its argument prototype would still apply. */
10938 char gsm_create ();
10942 return gsm_create ();
10947 if ac_fn_c_try_link
"$LINENO"; then :
10949 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10950 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'` ;;
10951 *) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10954 rm -f core conftest.err conftest.
$ac_objext \
10955 conftest
$ac_exeext conftest.
$ac_ext
10956 LIBS
=$ac_check_soname_save_LIBS
10958 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
10959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10960 $as_echo "not found" >&6; }
10963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
10964 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
10966 cat >>confdefs.h
<<_ACEOF
10967 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
10973 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
10974 case "x$with_gsm" in
10975 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
10977 *) as_fn_error
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
10978 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
10982 if test "$ac_cv_header_jpeglib_h" = "yes"
10984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
10985 $as_echo_n "checking for -ljpeg... " >&6; }
10986 if test "${ac_cv_lib_soname_jpeg+set}" = set; then :
10987 $as_echo_n "(cached) " >&6
10989 ac_check_soname_save_LIBS
=$LIBS
10990 LIBS
="-ljpeg $LIBS"
10991 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10992 /* end confdefs.h. */
10994 /* Override any GCC internal prototype to avoid an error.
10995 Use char because int might match the return type of a GCC
10996 builtin and then its argument prototype would still apply. */
11000 char jpeg_start_decompress ();
11004 return jpeg_start_decompress ();
11009 if ac_fn_c_try_link
"$LINENO"; then :
11011 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11012 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'` ;;
11013 *) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11016 rm -f core conftest.err conftest.
$ac_objext \
11017 conftest
$ac_exeext conftest.
$ac_ext
11018 LIBS
=$ac_check_soname_save_LIBS
11020 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11022 $as_echo "not found" >&6; }
11025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
11026 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
11028 cat >>confdefs.h
<<_ACEOF
11029 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
11035 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11036 case "x$with_jpeg" in
11037 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
11039 *) as_fn_error
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
11040 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
11044 if test "$ac_cv_header_png_h" = "yes"
11046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11047 $as_echo_n "checking for -lpng... " >&6; }
11048 if test "${ac_cv_lib_soname_png+set}" = set; then :
11049 $as_echo_n "(cached) " >&6
11051 ac_check_soname_save_LIBS
=$LIBS
11052 LIBS
="-lpng -lm -lz $LIBS"
11053 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11054 /* end confdefs.h. */
11056 /* Override any GCC internal prototype to avoid an error.
11057 Use char because int might match the return type of a GCC
11058 builtin and then its argument prototype would still apply. */
11062 char png_create_read_struct ();
11066 return png_create_read_struct ();
11071 if ac_fn_c_try_link
"$LINENO"; then :
11073 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11074 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'` ;;
11075 *) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11078 rm -f core conftest.err conftest.
$ac_objext \
11079 conftest
$ac_exeext conftest.
$ac_ext
11080 LIBS
=$ac_check_soname_save_LIBS
11082 if test "x$ac_cv_lib_soname_png" = "x"; then :
11083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11084 $as_echo "not found" >&6; }
11087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
11088 $as_echo "$ac_cv_lib_soname_png" >&6; }
11090 cat >>confdefs.h
<<_ACEOF
11091 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_expand_gray_1_2_4_to_8 in -lpng" >&5
11097 $as_echo_n "checking for png_set_expand_gray_1_2_4_to_8 in -lpng... " >&6; }
11098 if test "${ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8+set}" = set; then :
11099 $as_echo_n "(cached) " >&6
11101 ac_check_lib_save_LIBS
=$LIBS
11102 LIBS
="-lpng -lm -lz $LIBS"
11103 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11104 /* end confdefs.h. */
11106 /* Override any GCC internal prototype to avoid an error.
11107 Use char because int might match the return type of a GCC
11108 builtin and then its argument prototype would still apply. */
11112 char png_set_expand_gray_1_2_4_to_8 ();
11116 return png_set_expand_gray_1_2_4_to_8 ();
11121 if ac_fn_c_try_link
"$LINENO"; then :
11122 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=yes
11124 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=no
11126 rm -f core conftest.err conftest.
$ac_objext \
11127 conftest
$ac_exeext conftest.
$ac_ext
11128 LIBS
=$ac_check_lib_save_LIBS
11130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&5
11131 $as_echo "$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&6; }
11132 if test "x$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" = x
""yes; then :
11134 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
11139 elif test -n "$X_CFLAGS" -a "x$with_png" != "xno"
11141 ac_save_CPPFLAGS
="$CPPFLAGS"
11142 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
11143 $as_unset ac_cv_header_png_h
11144 for ac_header
in png.h
11146 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
11147 if test "x$ac_cv_header_png_h" = x
""yes; then :
11148 cat >>confdefs.h
<<_ACEOF
11149 #define HAVE_PNG_H 1
11156 CPPFLAGS
="$ac_save_CPPFLAGS"
11157 if test "$ac_cv_header_png_h" = "yes"
11159 PNGINCL
="$X_CFLAGS"
11161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11162 $as_echo_n "checking for -lpng... " >&6; }
11163 if test "${ac_cv_lib_soname_png+set}" = set; then :
11164 $as_echo_n "(cached) " >&6
11166 ac_check_soname_save_LIBS
=$LIBS
11167 LIBS
="-lpng $X_LIBS -lm -lz $LIBS"
11168 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11169 /* end confdefs.h. */
11171 /* Override any GCC internal prototype to avoid an error.
11172 Use char because int might match the return type of a GCC
11173 builtin and then its argument prototype would still apply. */
11177 char png_create_read_struct ();
11181 return png_create_read_struct ();
11186 if ac_fn_c_try_link
"$LINENO"; then :
11188 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11189 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'` ;;
11190 *) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11193 rm -f core conftest.err conftest.
$ac_objext \
11194 conftest
$ac_exeext conftest.
$ac_ext
11195 LIBS
=$ac_check_soname_save_LIBS
11197 if test "x$ac_cv_lib_soname_png" = "x"; then :
11198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11199 $as_echo "not found" >&6; }
11202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
11203 $as_echo "$ac_cv_lib_soname_png" >&6; }
11205 cat >>confdefs.h
<<_ACEOF
11206 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_expand_gray_1_2_4_to_8 in -lpng" >&5
11212 $as_echo_n "checking for png_set_expand_gray_1_2_4_to_8 in -lpng... " >&6; }
11213 if test "${ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8+set}" = set; then :
11214 $as_echo_n "(cached) " >&6
11216 ac_check_lib_save_LIBS
=$LIBS
11217 LIBS
="-lpng $X_LIBS -lm -lz $LIBS"
11218 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11219 /* end confdefs.h. */
11221 /* Override any GCC internal prototype to avoid an error.
11222 Use char because int might match the return type of a GCC
11223 builtin and then its argument prototype would still apply. */
11227 char png_set_expand_gray_1_2_4_to_8 ();
11231 return png_set_expand_gray_1_2_4_to_8 ();
11236 if ac_fn_c_try_link
"$LINENO"; then :
11237 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=yes
11239 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=no
11241 rm -f core conftest.err conftest.
$ac_objext \
11242 conftest
$ac_exeext conftest.
$ac_ext
11243 LIBS
=$ac_check_lib_save_LIBS
11245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&5
11246 $as_echo "$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&6; }
11247 if test "x$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" = x
""yes; then :
11248 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
11254 if test "x$ac_cv_lib_soname_png" = "x"; then :
11255 case "x$with_png" in
11256 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
11258 *) as_fn_error
"libpng ${notice_platform}development files not found, PNG won't be supported.
11259 This is an error since --with-png was requested." "$LINENO" 5 ;;
11263 if test "$ac_cv_header_tiffio_h" = "yes"
11265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
11266 $as_echo_n "checking for -ltiff... " >&6; }
11267 if test "${ac_cv_lib_soname_tiff+set}" = set; then :
11268 $as_echo_n "(cached) " >&6
11270 ac_check_soname_save_LIBS
=$LIBS
11271 LIBS
="-ltiff $LIBS"
11272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11273 /* end confdefs.h. */
11275 /* Override any GCC internal prototype to avoid an error.
11276 Use char because int might match the return type of a GCC
11277 builtin and then its argument prototype would still apply. */
11281 char TIFFClientOpen ();
11285 return TIFFClientOpen ();
11290 if ac_fn_c_try_link
"$LINENO"; then :
11292 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11293 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'` ;;
11294 *) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11297 rm -f core conftest.err conftest.
$ac_objext \
11298 conftest
$ac_exeext conftest.
$ac_ext
11299 LIBS
=$ac_check_soname_save_LIBS
11301 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
11302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11303 $as_echo "not found" >&6; }
11306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
11307 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
11309 cat >>confdefs.h
<<_ACEOF
11310 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
11316 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
11317 case "x$with_tiff" in
11318 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
11320 *) as_fn_error
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
11321 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
11325 if test "$ac_cv_header_mpg123_h" = "yes"
11327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
11328 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
11329 if test "${ac_cv_lib_mpg123_mpg123_feed+set}" = set; then :
11330 $as_echo_n "(cached) " >&6
11332 ac_check_lib_save_LIBS
=$LIBS
11333 LIBS
="-lmpg123 $LIBS"
11334 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11335 /* end confdefs.h. */
11337 /* Override any GCC internal prototype to avoid an error.
11338 Use char because int might match the return type of a GCC
11339 builtin and then its argument prototype would still apply. */
11343 char mpg123_feed ();
11347 return mpg123_feed ();
11352 if ac_fn_c_try_link
"$LINENO"; then :
11353 ac_cv_lib_mpg123_mpg123_feed
=yes
11355 ac_cv_lib_mpg123_mpg123_feed
=no
11357 rm -f core conftest.err conftest.
$ac_objext \
11358 conftest
$ac_exeext conftest.
$ac_ext
11359 LIBS
=$ac_check_lib_save_LIBS
11361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
11362 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
11363 if test "x$ac_cv_lib_mpg123_mpg123_feed" = x
""yes; then :
11364 LIBMPG123
="-lmpg123"
11369 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
11370 case "x$with_mpg123" in
11371 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
11373 *) as_fn_error
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
11374 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
11377 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
-o "x$ac_cv_func_AudioFileStreamOpen" = xyes || enable_winemp3_acm
=${enable_winemp3_acm:-no}
11379 if test "$ac_cv_header_AL_al_h" = "yes"
11381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alGetSource3i in -lopenal" >&5
11382 $as_echo_n "checking for alGetSource3i in -lopenal... " >&6; }
11383 if test "${ac_cv_lib_openal_alGetSource3i+set}" = set; then :
11384 $as_echo_n "(cached) " >&6
11386 ac_check_lib_save_LIBS
=$LIBS
11387 LIBS
="-lopenal $LIBS"
11388 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11389 /* end confdefs.h. */
11391 /* Override any GCC internal prototype to avoid an error.
11392 Use char because int might match the return type of a GCC
11393 builtin and then its argument prototype would still apply. */
11397 char alGetSource3i ();
11401 return alGetSource3i ();
11406 if ac_fn_c_try_link
"$LINENO"; then :
11407 ac_cv_lib_openal_alGetSource3i
=yes
11409 ac_cv_lib_openal_alGetSource3i
=no
11411 rm -f core conftest.err conftest.
$ac_objext \
11412 conftest
$ac_exeext conftest.
$ac_ext
11413 LIBS
=$ac_check_lib_save_LIBS
11415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_openal_alGetSource3i" >&5
11416 $as_echo "$ac_cv_lib_openal_alGetSource3i" >&6; }
11417 if test "x$ac_cv_lib_openal_alGetSource3i" = x
""yes; then :
11418 LIBOPENAL
="-lopenal"
11423 if test "x$ac_cv_lib_openal_alGetSource3i" != xyes
; then :
11424 case "x$with_openal" in
11425 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
11427 *) as_fn_error
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
11428 This is an error since --with-openal was requested." "$LINENO" 5 ;;
11431 test "x$ac_cv_lib_openal_alGetSource3i" = xyes || enable_openal32
=${enable_openal32:-no}
11433 if test "$ac_cv_header_kstat_h" = "yes"
11435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
11436 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
11437 if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then :
11438 $as_echo_n "(cached) " >&6
11440 ac_check_lib_save_LIBS
=$LIBS
11441 LIBS
="-lkstat $LIBS"
11442 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11443 /* end confdefs.h. */
11445 /* Override any GCC internal prototype to avoid an error.
11446 Use char because int might match the return type of a GCC
11447 builtin and then its argument prototype would still apply. */
11451 char kstat_open ();
11455 return kstat_open ();
11460 if ac_fn_c_try_link
"$LINENO"; then :
11461 ac_cv_lib_kstat_kstat_open
=yes
11463 ac_cv_lib_kstat_kstat_open
=no
11465 rm -f core conftest.err conftest.
$ac_objext \
11466 conftest
$ac_exeext conftest.
$ac_ext
11467 LIBS
=$ac_check_lib_save_LIBS
11469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
11470 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
11471 if test "x$ac_cv_lib_kstat_kstat_open" = x
""yes; then :
11473 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
11481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
11482 $as_echo_n "checking for -lodbc... " >&6; }
11483 if test "${ac_cv_lib_soname_odbc+set}" = set; then :
11484 $as_echo_n "(cached) " >&6
11486 ac_check_soname_save_LIBS
=$LIBS
11487 LIBS
="-lodbc $LIBS"
11488 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11489 /* end confdefs.h. */
11491 /* Override any GCC internal prototype to avoid an error.
11492 Use char because int might match the return type of a GCC
11493 builtin and then its argument prototype would still apply. */
11497 char SQLConnect ();
11501 return SQLConnect ();
11506 if ac_fn_c_try_link
"$LINENO"; then :
11508 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11509 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'` ;;
11510 *) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
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_odbc" = "x"; then :
11518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11519 $as_echo "not found" >&6; }
11520 cat >>confdefs.h
<<_ACEOF
11521 #define SONAME_LIBODBC "libodbc.$LIBEXT"
11525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
11526 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
11528 cat >>confdefs.h
<<_ACEOF
11529 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
11535 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESDLIBS$ac_cv_lib_soname_jack" = "x" -a \
11536 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
11537 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
11538 "$ac_cv_header_soundcard_h" != "yes" -a \
11539 "x$with_alsa$with_audioio$with_coreaudio$with_nas$with_esd$with_jack$with_oss" != xnonononononono
11541 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
11547 if test "x${GCC}" = "xyes"
11549 EXTRACFLAGS
="-Wall -pipe"
11551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
11552 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
11553 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then :
11554 $as_echo_n "(cached) " >&6
11556 if test "$cross_compiling" = yes; then :
11557 ac_cv_c_gcc_strength_bug
="yes"
11559 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11560 /* end confdefs.h. */
11561 int L[4] = {0,1,2,3};
11565 static int Array[3];
11566 unsigned int B = 3;
11568 for(i=0; i<B; i++) Array[i] = i - 3;
11569 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
11571 return (Array[1] != -2 || L[2] != 3)
11576 if ac_fn_c_try_run
"$LINENO"; then :
11577 ac_cv_c_gcc_strength_bug
="no"
11579 ac_cv_c_gcc_strength_bug
="yes"
11581 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11582 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
11587 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
11588 if test "$ac_cv_c_gcc_strength_bug" = "yes"
11590 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
11593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
11594 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
11595 if test "${ac_cv_cflags__fno_builtin+set}" = set; then :
11596 $as_echo_n "(cached) " >&6
11598 ac_wine_try_cflags_saved
=$CFLAGS
11599 CFLAGS
="$CFLAGS -fno-builtin"
11600 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11601 /* end confdefs.h. */
11602 int main(int argc, char **argv) { return 0; }
11604 if ac_fn_c_try_link
"$LINENO"; then :
11605 ac_cv_cflags__fno_builtin
=yes
11607 ac_cv_cflags__fno_builtin
=no
11609 rm -f core conftest.err conftest.
$ac_objext \
11610 conftest
$ac_exeext conftest.
$ac_ext
11611 CFLAGS
=$ac_wine_try_cflags_saved
11613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
11614 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
11615 if test $ac_cv_cflags__fno_builtin = yes; then :
11616 BUILTINFLAG
="-fno-builtin"
11619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
11620 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
11621 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then :
11622 $as_echo_n "(cached) " >&6
11624 ac_wine_try_cflags_saved
=$CFLAGS
11625 CFLAGS
="$CFLAGS -fno-strict-aliasing"
11626 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11627 /* end confdefs.h. */
11628 int main(int argc, char **argv) { return 0; }
11630 if ac_fn_c_try_link
"$LINENO"; then :
11631 ac_cv_cflags__fno_strict_aliasing
=yes
11633 ac_cv_cflags__fno_strict_aliasing
=no
11635 rm -f core conftest.err conftest.
$ac_objext \
11636 conftest
$ac_exeext conftest.
$ac_ext
11637 CFLAGS
=$ac_wine_try_cflags_saved
11639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
11640 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
11641 if test $ac_cv_cflags__fno_strict_aliasing = yes; then :
11642 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
11644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
11645 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
11646 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then :
11647 $as_echo_n "(cached) " >&6
11649 ac_wine_try_cflags_saved
=$CFLAGS
11650 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
11651 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11652 /* end confdefs.h. */
11653 int main(int argc, char **argv) { return 0; }
11655 if ac_fn_c_try_link
"$LINENO"; then :
11656 ac_cv_cflags__Wdeclaration_after_statement
=yes
11658 ac_cv_cflags__Wdeclaration_after_statement
=no
11660 rm -f core conftest.err conftest.
$ac_objext \
11661 conftest
$ac_exeext conftest.
$ac_ext
11662 CFLAGS
=$ac_wine_try_cflags_saved
11664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
11665 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
11666 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then :
11667 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
11669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
11670 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
11671 if test "${ac_cv_cflags__Wstrict_prototypes+set}" = set; then :
11672 $as_echo_n "(cached) " >&6
11674 ac_wine_try_cflags_saved
=$CFLAGS
11675 CFLAGS
="$CFLAGS -Wstrict-prototypes"
11676 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11677 /* end confdefs.h. */
11678 int main(int argc, char **argv) { return 0; }
11680 if ac_fn_c_try_link
"$LINENO"; then :
11681 ac_cv_cflags__Wstrict_prototypes
=yes
11683 ac_cv_cflags__Wstrict_prototypes
=no
11685 rm -f core conftest.err conftest.
$ac_objext \
11686 conftest
$ac_exeext conftest.
$ac_ext
11687 CFLAGS
=$ac_wine_try_cflags_saved
11689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
11690 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
11691 if test $ac_cv_cflags__Wstrict_prototypes = yes; then :
11692 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
11694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
11695 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
11696 if test "${ac_cv_cflags__Wtype_limits+set}" = set; then :
11697 $as_echo_n "(cached) " >&6
11699 ac_wine_try_cflags_saved
=$CFLAGS
11700 CFLAGS
="$CFLAGS -Wtype-limits"
11701 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11702 /* end confdefs.h. */
11703 int main(int argc, char **argv) { return 0; }
11705 if ac_fn_c_try_link
"$LINENO"; then :
11706 ac_cv_cflags__Wtype_limits
=yes
11708 ac_cv_cflags__Wtype_limits
=no
11710 rm -f core conftest.err conftest.
$ac_objext \
11711 conftest
$ac_exeext conftest.
$ac_ext
11712 CFLAGS
=$ac_wine_try_cflags_saved
11714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
11715 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
11716 if test $ac_cv_cflags__Wtype_limits = yes; then :
11717 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
11719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
11720 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
11721 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then :
11722 $as_echo_n "(cached) " >&6
11724 ac_wine_try_cflags_saved
=$CFLAGS
11725 CFLAGS
="$CFLAGS -Wwrite-strings"
11726 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11727 /* end confdefs.h. */
11728 int main(int argc, char **argv) { return 0; }
11730 if ac_fn_c_try_link
"$LINENO"; then :
11731 ac_cv_cflags__Wwrite_strings
=yes
11733 ac_cv_cflags__Wwrite_strings
=no
11735 rm -f core conftest.err conftest.
$ac_objext \
11736 conftest
$ac_exeext conftest.
$ac_ext
11737 CFLAGS
=$ac_wine_try_cflags_saved
11739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
11740 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
11741 if test $ac_cv_cflags__Wwrite_strings = yes; then :
11742 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
11745 saved_CFLAGS
="$CFLAGS"
11746 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
11747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings" >&5
11748 $as_echo_n "checking for broken string.h that generates warnings... " >&6; }
11749 if test "${ac_cv_c_string_h_warnings+set}" = set; then :
11750 $as_echo_n "(cached) " >&6
11752 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11753 /* end confdefs.h. */
11754 #include <string.h>
11763 if ac_fn_c_try_compile
"$LINENO"; then :
11764 ac_cv_c_string_h_warnings
=no
11766 ac_cv_c_string_h_warnings
=yes
11768 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
11771 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
11772 CFLAGS
="$saved_CFLAGS"
11773 if test "$ac_cv_c_string_h_warnings" = "no"
11775 EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
11778 if test "${enable_maintainer_mode+set}" = set
11780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
11781 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
11782 if test "${ac_cv_cflags__Werror+set}" = set; then :
11783 $as_echo_n "(cached) " >&6
11785 ac_wine_try_cflags_saved
=$CFLAGS
11786 CFLAGS
="$CFLAGS -Werror"
11787 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11788 /* end confdefs.h. */
11789 int main(int argc, char **argv) { return 0; }
11791 if ac_fn_c_try_link
"$LINENO"; then :
11792 ac_cv_cflags__Werror
=yes
11794 ac_cv_cflags__Werror
=no
11796 rm -f core conftest.err conftest.
$ac_objext \
11797 conftest
$ac_exeext conftest.
$ac_ext
11798 CFLAGS
=$ac_wine_try_cflags_saved
11800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
11801 $as_echo "$ac_cv_cflags__Werror" >&6; }
11802 if test $ac_cv_cflags__Werror = yes; then :
11803 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
11807 saved_CFLAGS
="$CFLAGS"
11808 CFLAGS
="$CFLAGS -Werror"
11809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
11810 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
11811 if test "${ac_cv_have_ms_hook_prologue+set}" = set; then :
11812 $as_echo_n "(cached) " >&6
11814 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11815 /* end confdefs.h. */
11816 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
11825 if ac_fn_c_try_compile
"$LINENO"; then :
11826 ac_cv_have_ms_hook_prologue
="yes"
11828 ac_cv_have_ms_hook_prologue
="no"
11830 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
11833 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
11834 CFLAGS
="$saved_CFLAGS"
11835 if test "$ac_cv_have_ms_hook_prologue" = "yes"
11838 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
11841 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
11847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
11848 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
11849 if test "${ac_cv_c_extern_prefix+set}" = set; then :
11850 $as_echo_n "(cached) " >&6
11852 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11853 /* end confdefs.h. */
11854 extern int ac_test;
11858 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
11863 if ac_fn_c_try_link
"$LINENO"; then :
11864 ac_cv_c_extern_prefix
="yes"
11866 ac_cv_c_extern_prefix
="no"
11868 rm -f core conftest.err conftest.
$ac_objext \
11869 conftest
$ac_exeext conftest.
$ac_ext
11871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
11872 $as_echo "$ac_cv_c_extern_prefix" >&6; }
11876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
11877 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
11878 if test "${ac_cv_c_stdcall_suffix+set}" = set; then :
11879 $as_echo_n "(cached) " >&6
11881 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11882 /* end confdefs.h. */
11884 #define __stdcall __attribute__((__stdcall__))
11886 int __stdcall ac_test(int i) { return i; }
11890 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
11895 if ac_fn_c_try_link
"$LINENO"; then :
11896 ac_cv_c_stdcall_suffix
="yes"
11898 ac_cv_c_stdcall_suffix
="no"
11900 rm -f core conftest.err conftest.
$ac_objext \
11901 conftest
$ac_exeext conftest.
$ac_ext
11903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
11904 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
11905 *) ac_cv_c_stdcall_suffix
="no" ;;
11909 if test "$ac_cv_c_extern_prefix" = "yes"
11911 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
11913 asm_name_prefix
="_"
11915 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
11921 if test "$ac_cv_c_stdcall_suffix" = "yes"
11923 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
11926 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
11931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
11932 $as_echo_n "checking how to define a function in assembly code... " >&6; }
11933 if test "${ac_cv_asm_func_def+set}" = set; then :
11934 $as_echo_n "(cached) " >&6
11936 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11937 /* end confdefs.h. */
11942 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
11947 if ac_fn_c_try_link
"$LINENO"; then :
11948 ac_cv_asm_func_def
=".def"
11950 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11951 /* end confdefs.h. */
11956 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
11961 if ac_fn_c_try_link
"$LINENO"; then :
11962 ac_cv_asm_func_def
=".type @function"
11964 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11965 /* end confdefs.h. */
11970 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
11975 if ac_fn_c_try_link
"$LINENO"; then :
11976 ac_cv_asm_func_def
=".type 2"
11978 ac_cv_asm_func_def
="unknown"
11980 rm -f core conftest.err conftest.
$ac_objext \
11981 conftest
$ac_exeext conftest.
$ac_ext
11983 rm -f core conftest.err conftest.
$ac_objext \
11984 conftest
$ac_exeext conftest.
$ac_ext
11986 rm -f core conftest.err conftest.
$ac_objext \
11987 conftest
$ac_exeext conftest.
$ac_ext
11989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
11990 $as_echo "$ac_cv_asm_func_def" >&6; }
11993 case "$ac_cv_asm_func_def" in
11995 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
11997 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
11999 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
12001 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
12003 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
12005 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
12007 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
12009 asm_func_header
="" ;;
12012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
12013 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
12014 if test "${ac_cv_c_asm_outside_funcs+set}" = set; then :
12015 $as_echo_n "(cached) " >&6
12017 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12018 /* end confdefs.h. */
12019 asm(".text\n\t.long 0");
12028 if ac_fn_c_try_compile
"$LINENO"; then :
12029 ac_cv_c_asm_outside_funcs
="yes"
12031 ac_cv_c_asm_outside_funcs
="no"
12033 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
12036 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
12038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
12039 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
12040 if test "${ac_cv_c_dot_previous+set}" = set; then :
12041 $as_echo_n "(cached) " >&6
12043 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12044 /* end confdefs.h. */
12049 asm(".text\nac_test:\t.long 0\n\t.previous");
12054 if ac_fn_c_try_link
"$LINENO"; then :
12055 ac_cv_c_dot_previous
="yes"
12057 ac_cv_c_dot_previous
="no"
12059 rm -f core conftest.err conftest.
$ac_objext \
12060 conftest
$ac_exeext conftest.
$ac_ext
12062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
12063 $as_echo "$ac_cv_c_dot_previous" >&6; }
12065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
12066 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
12067 if test "${ac_cv_c_cfi_support+set}" = set; then :
12068 $as_echo_n "(cached) " >&6
12070 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12071 /* end confdefs.h. */
12072 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
12081 if ac_fn_c_try_compile
"$LINENO"; then :
12082 ac_cv_c_cfi_support
="yes"
12084 ac_cv_c_cfi_support
="no"
12086 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
12089 $as_echo "$ac_cv_c_cfi_support" >&6; }
12091 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
12092 asm_func_trailer
=""
12093 if test "$ac_cv_c_dot_previous" = "yes"
12095 asm_func_trailer
="\\n\\t.previous"
12097 if test "$ac_cv_c_cfi_support" = "yes"
12099 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
12100 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
12102 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
12105 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
12109 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
12112 if test "$ac_cv_c_asm_outside_funcs" = "yes"
12114 cat >>confdefs.h
<<_ACEOF
12115 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
12119 cat >>confdefs.h
<<_ACEOF
12120 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
12125 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
12128 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
12138 LDPATH
="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
12143 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
12151 SOCKETLIBS
="-L\$(TOPOBJDIR)/dlls/ws2_32 -lws2_32"
12158 test -z "$with_wine64" || MAIN_BINARY
="wine32"
12164 EXTRA_BINARIES
="wine-preloader"
12171 ac_save_CFLAGS
="$CFLAGS"
12172 CFLAGS
="$CFLAGS $BUILTINFLAG"
12219 sched_setaffinity \
12248 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12249 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12250 eval as_val
=\$
$as_ac_var
12251 if test "x$as_val" = x
""yes; then :
12252 cat >>confdefs.h
<<_ACEOF
12253 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12259 CFLAGS
="$ac_save_CFLAGS"
12261 if test "$ac_cv_func_dlopen" = no
12263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12264 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12265 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12266 $as_echo_n "(cached) " >&6
12268 ac_check_lib_save_LIBS
=$LIBS
12270 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12271 /* end confdefs.h. */
12273 /* Override any GCC internal prototype to avoid an error.
12274 Use char because int might match the return type of a GCC
12275 builtin and then its argument prototype would still apply. */
12288 if ac_fn_c_try_link
"$LINENO"; then :
12289 ac_cv_lib_dl_dlopen
=yes
12291 ac_cv_lib_dl_dlopen
=no
12293 rm -f core conftest.err conftest.
$ac_objext \
12294 conftest
$ac_exeext conftest.
$ac_ext
12295 LIBS
=$ac_check_lib_save_LIBS
12297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12298 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12299 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
12300 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
12306 ac_wine_check_funcs_save_LIBS
="$LIBS"
12307 LIBS
="$LIBS $LIBDL"
12308 for ac_func
in dladdr
12310 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
12311 if test "x$ac_cv_func_dladdr" = x
""yes; then :
12312 cat >>confdefs.h
<<_ACEOF
12313 #define HAVE_DLADDR 1
12319 LIBS
="$ac_wine_check_funcs_save_LIBS"
12321 if test "$ac_cv_func_poll" = no
12323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
12324 $as_echo_n "checking for poll in -lpoll... " >&6; }
12325 if test "${ac_cv_lib_poll_poll+set}" = set; then :
12326 $as_echo_n "(cached) " >&6
12328 ac_check_lib_save_LIBS
=$LIBS
12329 LIBS
="-lpoll $LIBS"
12330 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12331 /* end confdefs.h. */
12333 /* Override any GCC internal prototype to avoid an error.
12334 Use char because int might match the return type of a GCC
12335 builtin and then its argument prototype would still apply. */
12348 if ac_fn_c_try_link
"$LINENO"; then :
12349 ac_cv_lib_poll_poll
=yes
12351 ac_cv_lib_poll_poll
=no
12353 rm -f core conftest.err conftest.
$ac_objext \
12354 conftest
$ac_exeext conftest.
$ac_ext
12355 LIBS
=$ac_check_lib_save_LIBS
12357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
12358 $as_echo "$ac_cv_lib_poll_poll" >&6; }
12359 if test "x$ac_cv_lib_poll_poll" = x
""yes; then :
12360 $as_echo "#define HAVE_POLL 1" >>confdefs.h
12367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
12368 $as_echo_n "checking for library containing gethostbyname... " >&6; }
12369 if test "${ac_cv_search_gethostbyname+set}" = set; then :
12370 $as_echo_n "(cached) " >&6
12372 ac_func_search_save_LIBS
=$LIBS
12373 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12374 /* end confdefs.h. */
12376 /* Override any GCC internal prototype to avoid an error.
12377 Use char because int might match the return type of a GCC
12378 builtin and then its argument prototype would still apply. */
12382 char gethostbyname ();
12386 return gethostbyname ();
12391 for ac_lib
in '' nsl
; do
12392 if test -z "$ac_lib"; then
12393 ac_res
="none required"
12396 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12398 if ac_fn_c_try_link
"$LINENO"; then :
12399 ac_cv_search_gethostbyname
=$ac_res
12401 rm -f core conftest.err conftest.
$ac_objext \
12403 if test "${ac_cv_search_gethostbyname+set}" = set; then :
12407 if test "${ac_cv_search_gethostbyname+set}" = set; then :
12410 ac_cv_search_gethostbyname
=no
12412 rm conftest.
$ac_ext
12413 LIBS
=$ac_func_search_save_LIBS
12415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
12416 $as_echo "$ac_cv_search_gethostbyname" >&6; }
12417 ac_res
=$ac_cv_search_gethostbyname
12418 if test "$ac_res" != no
; then :
12419 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
12425 $as_echo_n "checking for library containing connect... " >&6; }
12426 if test "${ac_cv_search_connect+set}" = set; then :
12427 $as_echo_n "(cached) " >&6
12429 ac_func_search_save_LIBS
=$LIBS
12430 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12431 /* end confdefs.h. */
12433 /* Override any GCC internal prototype to avoid an error.
12434 Use char because int might match the return type of a GCC
12435 builtin and then its argument prototype would still apply. */
12448 for ac_lib
in '' socket
; do
12449 if test -z "$ac_lib"; then
12450 ac_res
="none required"
12453 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12455 if ac_fn_c_try_link
"$LINENO"; then :
12456 ac_cv_search_connect
=$ac_res
12458 rm -f core conftest.err conftest.
$ac_objext \
12460 if test "${ac_cv_search_connect+set}" = set; then :
12464 if test "${ac_cv_search_connect+set}" = set; then :
12467 ac_cv_search_connect
=no
12469 rm conftest.
$ac_ext
12470 LIBS
=$ac_func_search_save_LIBS
12472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
12473 $as_echo "$ac_cv_search_connect" >&6; }
12474 ac_res
=$ac_cv_search_connect
12475 if test "$ac_res" != no
; then :
12476 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
12482 $as_echo_n "checking for library containing inet_aton... " >&6; }
12483 if test "${ac_cv_search_inet_aton+set}" = set; then :
12484 $as_echo_n "(cached) " >&6
12486 ac_func_search_save_LIBS
=$LIBS
12487 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12488 /* end confdefs.h. */
12490 /* Override any GCC internal prototype to avoid an error.
12491 Use char because int might match the return type of a GCC
12492 builtin and then its argument prototype would still apply. */
12500 return inet_aton ();
12505 for ac_lib
in '' resolv
; do
12506 if test -z "$ac_lib"; then
12507 ac_res
="none required"
12510 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12512 if ac_fn_c_try_link
"$LINENO"; then :
12513 ac_cv_search_inet_aton
=$ac_res
12515 rm -f core conftest.err conftest.
$ac_objext \
12517 if test "${ac_cv_search_inet_aton+set}" = set; then :
12521 if test "${ac_cv_search_inet_aton+set}" = set; then :
12524 ac_cv_search_inet_aton
=no
12526 rm conftest.
$ac_ext
12527 LIBS
=$ac_func_search_save_LIBS
12529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
12530 $as_echo "$ac_cv_search_inet_aton" >&6; }
12531 ac_res
=$ac_cv_search_inet_aton
12532 if test "$ac_res" != no
; then :
12533 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12552 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12553 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12554 eval as_val
=\$
$as_ac_var
12555 if test "x$as_val" = x
""yes; then :
12556 cat >>confdefs.h
<<_ACEOF
12557 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12566 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
12568 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
12570 if test "x$ac_cv_type_LDAPSortKey" = x
""yes; then :
12571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
12572 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
12573 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then :
12574 $as_echo_n "(cached) " >&6
12576 ac_check_lib_save_LIBS
=$LIBS
12577 LIBS
="-lldap_r $LIBPTHREAD $LIBS"
12578 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12579 /* end confdefs.h. */
12581 /* Override any GCC internal prototype to avoid an error.
12582 Use char because int might match the return type of a GCC
12583 builtin and then its argument prototype would still apply. */
12587 char ldap_initialize ();
12591 return ldap_initialize ();
12596 if ac_fn_c_try_link
"$LINENO"; then :
12597 ac_cv_lib_ldap_r_ldap_initialize
=yes
12599 ac_cv_lib_ldap_r_ldap_initialize
=no
12601 rm -f core conftest.err conftest.
$ac_objext \
12602 conftest
$ac_exeext conftest.
$ac_ext
12603 LIBS
=$ac_check_lib_save_LIBS
12605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
12606 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
12607 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = x
""yes; then :
12608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
12609 $as_echo_n "checking for ber_init in -llber... " >&6; }
12610 if test "${ac_cv_lib_lber_ber_init+set}" = set; then :
12611 $as_echo_n "(cached) " >&6
12613 ac_check_lib_save_LIBS
=$LIBS
12614 LIBS
="-llber $LIBPTHREAD $LIBS"
12615 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12616 /* end confdefs.h. */
12618 /* Override any GCC internal prototype to avoid an error.
12619 Use char because int might match the return type of a GCC
12620 builtin and then its argument prototype would still apply. */
12628 return ber_init ();
12633 if ac_fn_c_try_link
"$LINENO"; then :
12634 ac_cv_lib_lber_ber_init
=yes
12636 ac_cv_lib_lber_ber_init
=no
12638 rm -f core conftest.err conftest.
$ac_objext \
12639 conftest
$ac_exeext conftest.
$ac_ext
12640 LIBS
=$ac_check_lib_save_LIBS
12642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
12643 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
12644 if test "x$ac_cv_lib_lber_ber_init" = x
""yes; then :
12646 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
12648 LDAPLIBS
="-lldap_r -llber"
12655 ac_wine_check_funcs_save_LIBS
="$LIBS"
12656 LIBS
="$LIBS $LDAPLIBS $LIBPTHREAD"
12658 ldap_count_references \
12659 ldap_first_reference \
12660 ldap_next_reference \
12661 ldap_parse_reference \
12662 ldap_parse_sort_control \
12663 ldap_parse_sortresponse_control \
12664 ldap_parse_vlv_control \
12665 ldap_parse_vlvresponse_control
12667 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12668 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12669 eval as_val
=\$
$as_ac_var
12670 if test "x$as_val" = x
""yes; then :
12671 cat >>confdefs.h
<<_ACEOF
12672 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12678 LIBS
="$ac_wine_check_funcs_save_LIBS"
12680 if test "x$LDAPLIBS" = "x"; then :
12681 case "x$with_ldap" in
12682 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
12684 *) as_fn_error
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
12685 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
12689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
12690 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
12691 if test "${wine_cv_one_arg_mkdir+set}" = set; then :
12692 $as_echo_n "(cached) " >&6
12694 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12695 /* end confdefs.h. */
12696 #include <sys/stat.h>
12705 if ac_fn_c_try_compile
"$LINENO"; then :
12706 wine_cv_one_arg_mkdir
=yes
12708 wine_cv_one_arg_mkdir
=no
12710 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
12713 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
12714 if test "$wine_cv_one_arg_mkdir" = "yes"
12717 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
12722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
12723 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
12724 if test "${ac_cv_c_const+set}" = set; then :
12725 $as_echo_n "(cached) " >&6
12727 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12728 /* end confdefs.h. */
12733 /* FIXME: Include the comments suggested by Paul. */
12734 #ifndef __cplusplus
12735 /* Ultrix mips cc rejects this. */
12736 typedef int charset[2];
12738 /* SunOS 4.1.1 cc rejects this. */
12739 char const *const *pcpcc;
12741 /* NEC SVR4.0.2 mips cc rejects this. */
12742 struct point {int x, y;};
12743 static struct point const zero = {0,0};
12744 /* AIX XL C 1.02.0.0 rejects this.
12745 It does not let you subtract one const X* pointer from another in
12746 an arm of an if-expression whose if-part is not a constant
12748 const char *g = "string";
12749 pcpcc = &g + (g ? g-g : 0);
12750 /* HPUX 7.0 cc rejects these. */
12752 ppc = (char**) pcpcc;
12753 pcpcc = (char const *const *) ppc;
12754 { /* SCO 3.2v4 cc rejects this. */
12756 char const *s = 0 ? (char *) 0 : (char const *) 0;
12761 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
12762 int x[] = {25, 17};
12763 const int *foo = &x[0];
12766 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12767 typedef const int *iptr;
12771 { /* AIX XL C 1.02.0.0 rejects this saying
12772 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12773 struct s { int j; const int *ap[3]; };
12774 struct s *b; b->j = 5;
12776 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12777 const int foo = 10;
12778 if (!foo) return 0;
12780 return !cs[0] && !zero.x;
12787 if ac_fn_c_try_compile
"$LINENO"; then :
12792 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
12795 $as_echo "$ac_cv_c_const" >&6; }
12796 if test $ac_cv_c_const = no
; then
12798 $as_echo "#define const /**/" >>confdefs.h
12802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
12803 $as_echo_n "checking for inline... " >&6; }
12804 if test "${ac_cv_c_inline+set}" = set; then :
12805 $as_echo_n "(cached) " >&6
12808 for ac_kw
in inline __inline__ __inline
; do
12809 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12810 /* end confdefs.h. */
12811 #ifndef __cplusplus
12813 static $ac_kw foo_t static_foo () {return 0; }
12814 $ac_kw foo_t foo () {return 0; }
12818 if ac_fn_c_try_compile
"$LINENO"; then :
12819 ac_cv_c_inline
=$ac_kw
12821 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12822 test "$ac_cv_c_inline" != no
&& break
12826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
12827 $as_echo "$ac_cv_c_inline" >&6; }
12829 case $ac_cv_c_inline in
12832 case $ac_cv_c_inline in
12834 *) ac_val
=$ac_cv_c_inline;;
12836 cat >>confdefs.h
<<_ACEOF
12837 #ifndef __cplusplus
12838 #define inline $ac_val
12844 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
12845 if test "x$ac_cv_type_mode_t" = x
""yes; then :
12847 cat >>confdefs.h
<<_ACEOF
12848 #define HAVE_MODE_T 1
12853 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
12854 if test "x$ac_cv_type_off_t" = x
""yes; then :
12856 cat >>confdefs.h
<<_ACEOF
12857 #define HAVE_OFF_T 1
12862 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
12863 if test "x$ac_cv_type_pid_t" = x
""yes; then :
12865 cat >>confdefs.h
<<_ACEOF
12866 #define HAVE_PID_T 1
12871 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
12872 if test "x$ac_cv_type_size_t" = x
""yes; then :
12874 cat >>confdefs.h
<<_ACEOF
12875 #define HAVE_SIZE_T 1
12880 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
12881 if test "x$ac_cv_type_ssize_t" = x
""yes; then :
12883 cat >>confdefs.h
<<_ACEOF
12884 #define HAVE_SSIZE_T 1
12889 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
12890 if test "x$ac_cv_type_long_long" = x
""yes; then :
12892 cat >>confdefs.h
<<_ACEOF
12893 #define HAVE_LONG_LONG 1
12898 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
12899 if test "x$ac_cv_type_fsblkcnt_t" = x
""yes; then :
12901 cat >>confdefs.h
<<_ACEOF
12902 #define HAVE_FSBLKCNT_T 1
12907 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
12908 if test "x$ac_cv_type_fsfilcnt_t" = x
""yes; then :
12910 cat >>confdefs.h
<<_ACEOF
12911 #define HAVE_FSFILCNT_T 1
12917 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
12918 #include <signal.h>
12920 if test "x$ac_cv_type_sigset_t" = x
""yes; then :
12922 cat >>confdefs.h
<<_ACEOF
12923 #define HAVE_SIGSET_T 1
12929 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
12931 if test "x$ac_cv_type_request_sense" = x
""yes; then :
12933 cat >>confdefs.h
<<_ACEOF
12934 #define HAVE_REQUEST_SENSE 1
12941 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
12942 #ifdef HAVE_SYS_SOCKET_H
12943 #include <sys/socket.h>
12945 #ifdef HAVE_SYS_SOCKETVAR_H
12946 #include <sys/socketvar.h>
12948 #ifdef HAVE_NET_ROUTE_H
12949 #include <net/route.h>
12951 #ifdef HAVE_NETINET_IN_H
12952 #include <netinet/in.h>
12954 #ifdef HAVE_NETINET_IN_SYSTM_H
12955 #include <netinet/in_systm.h>
12957 #ifdef HAVE_NETINET_IP_H
12958 #include <netinet/ip.h>
12960 #ifdef HAVE_NETINET_IN_PCB_H
12961 #include <netinet/in_pcb.h>
12964 if test "x$ac_cv_type_struct_xinpgen" = x
""yes; then :
12966 cat >>confdefs.h
<<_ACEOF
12967 #define HAVE_STRUCT_XINPGEN 1
12974 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
12975 #include <linux/input.h>
12978 if test "x$ac_cv_member_struct_ff_effect_direction" = x
""yes; then :
12980 cat >>confdefs.h
<<_ACEOF
12981 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
12988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
12989 $as_echo_n "checking for sigaddset... " >&6; }
12990 if test "${wine_cv_have_sigaddset+set}" = set; then :
12991 $as_echo_n "(cached) " >&6
12993 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12994 /* end confdefs.h. */
12995 #include <signal.h>
12999 sigset_t set; sigaddset(&set,SIGTERM);
13004 if ac_fn_c_try_link
"$LINENO"; then :
13005 wine_cv_have_sigaddset
=yes
13007 wine_cv_have_sigaddset
=no
13009 rm -f core conftest.err conftest.
$ac_objext \
13010 conftest
$ac_exeext conftest.
$ac_ext
13012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
13013 $as_echo "$wine_cv_have_sigaddset" >&6; }
13014 if test "$wine_cv_have_sigaddset" = "yes"
13017 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
13022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
13023 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
13024 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then :
13025 $as_echo_n "(cached) " >&6
13027 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13028 /* end confdefs.h. */
13036 struct hostent *result;
13043 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
13044 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
13050 if ac_fn_c_try_link
"$LINENO"; then :
13051 wine_cv_linux_gethostbyname_r_6
=yes
13053 wine_cv_linux_gethostbyname_r_6
=no
13056 rm -f core conftest.err conftest.
$ac_objext \
13057 conftest
$ac_exeext conftest.
$ac_ext
13060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
13061 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
13062 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
13065 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
13069 if test "$ac_cv_header_linux_joystick_h" = "yes"
13071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
13072 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
13073 if test "${wine_cv_linux_joystick_22_api+set}" = set; then :
13074 $as_echo_n "(cached) " >&6
13076 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13077 /* end confdefs.h. */
13079 #include <sys/ioctl.h>
13080 #include <sys/types.h>
13081 #include <linux/joystick.h>
13083 struct js_event blub;
13084 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
13085 #error "no 2.2 header"
13096 if ac_fn_c_try_compile
"$LINENO"; then :
13097 wine_cv_linux_joystick_22_api
=yes
13099 wine_cv_linux_joystick_22_api
=no
13101 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
13105 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
13106 if test "$wine_cv_linux_joystick_22_api" = "yes"
13109 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
13115 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
13116 #ifdef HAVE_SYS_PARAM_H
13117 # include <sys/param.h>
13119 #ifdef HAVE_SYS_MOUNT_H
13120 # include <sys/mount.h>
13122 #ifdef HAVE_SYS_VFS_H
13123 # include <sys/vfs.h>
13125 #ifdef HAVE_SYS_STATFS_H
13126 # include <sys/statfs.h>
13129 if test "x$ac_cv_member_struct_statfs_f_bfree" = x
""yes; then :
13131 cat >>confdefs.h
<<_ACEOF
13132 #define HAVE_STRUCT_STATFS_F_BFREE 1
13137 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
13138 #ifdef HAVE_SYS_PARAM_H
13139 # include <sys/param.h>
13141 #ifdef HAVE_SYS_MOUNT_H
13142 # include <sys/mount.h>
13144 #ifdef HAVE_SYS_VFS_H
13145 # include <sys/vfs.h>
13147 #ifdef HAVE_SYS_STATFS_H
13148 # include <sys/statfs.h>
13151 if test "x$ac_cv_member_struct_statfs_f_bavail" = x
""yes; then :
13153 cat >>confdefs.h
<<_ACEOF
13154 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
13159 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
13160 #ifdef HAVE_SYS_PARAM_H
13161 # include <sys/param.h>
13163 #ifdef HAVE_SYS_MOUNT_H
13164 # include <sys/mount.h>
13166 #ifdef HAVE_SYS_VFS_H
13167 # include <sys/vfs.h>
13169 #ifdef HAVE_SYS_STATFS_H
13170 # include <sys/statfs.h>
13173 if test "x$ac_cv_member_struct_statfs_f_frsize" = x
""yes; then :
13175 cat >>confdefs.h
<<_ACEOF
13176 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
13181 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
13182 #ifdef HAVE_SYS_PARAM_H
13183 # include <sys/param.h>
13185 #ifdef HAVE_SYS_MOUNT_H
13186 # include <sys/mount.h>
13188 #ifdef HAVE_SYS_VFS_H
13189 # include <sys/vfs.h>
13191 #ifdef HAVE_SYS_STATFS_H
13192 # include <sys/statfs.h>
13195 if test "x$ac_cv_member_struct_statfs_f_ffree" = x
""yes; then :
13197 cat >>confdefs.h
<<_ACEOF
13198 #define HAVE_STRUCT_STATFS_F_FFREE 1
13203 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
13204 #ifdef HAVE_SYS_PARAM_H
13205 # include <sys/param.h>
13207 #ifdef HAVE_SYS_MOUNT_H
13208 # include <sys/mount.h>
13210 #ifdef HAVE_SYS_VFS_H
13211 # include <sys/vfs.h>
13213 #ifdef HAVE_SYS_STATFS_H
13214 # include <sys/statfs.h>
13217 if test "x$ac_cv_member_struct_statfs_f_favail" = x
""yes; then :
13219 cat >>confdefs.h
<<_ACEOF
13220 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
13225 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
13226 #ifdef HAVE_SYS_PARAM_H
13227 # include <sys/param.h>
13229 #ifdef HAVE_SYS_MOUNT_H
13230 # include <sys/mount.h>
13232 #ifdef HAVE_SYS_VFS_H
13233 # include <sys/vfs.h>
13235 #ifdef HAVE_SYS_STATFS_H
13236 # include <sys/statfs.h>
13239 if test "x$ac_cv_member_struct_statfs_f_namelen" = x
""yes; then :
13241 cat >>confdefs.h
<<_ACEOF
13242 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
13249 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
13250 #include <sys/statvfs.h>
13253 if test "x$ac_cv_member_struct_statvfs_f_blocks" = x
""yes; then :
13255 cat >>confdefs.h
<<_ACEOF
13256 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
13263 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
13264 #ifdef HAVE_SYS_SOCKET_H
13265 # include <sys/socket.h>
13267 #ifdef HAVE_SYS_UN_H
13268 # include <sys/un.h>
13271 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = x
""yes; then :
13273 cat >>confdefs.h
<<_ACEOF
13274 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
13279 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
13280 #ifdef HAVE_SYS_SOCKET_H
13281 # include <sys/socket.h>
13283 #ifdef HAVE_SYS_UN_H
13284 # include <sys/un.h>
13287 if test "x$ac_cv_member_struct_sockaddr_sa_len" = x
""yes; then :
13289 cat >>confdefs.h
<<_ACEOF
13290 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
13295 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
13296 #ifdef HAVE_SYS_SOCKET_H
13297 # include <sys/socket.h>
13299 #ifdef HAVE_SYS_UN_H
13300 # include <sys/un.h>
13303 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = x
""yes; then :
13305 cat >>confdefs.h
<<_ACEOF
13306 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
13313 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
13314 #ifdef HAVE_SCSI_SG_H
13315 #include <scsi/sg.h>
13318 if test "x$ac_cv_member_scsireq_t_cmd" = x
""yes; then :
13320 cat >>confdefs.h
<<_ACEOF
13321 #define HAVE_SCSIREQ_T_CMD 1
13326 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>
13327 #ifdef HAVE_SCSI_SG_H
13328 #include <scsi/sg.h>
13331 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = x
""yes; then :
13333 cat >>confdefs.h
<<_ACEOF
13334 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
13341 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
13343 if test "x$ac_cv_member_siginfo_t_si_fd" = x
""yes; then :
13345 cat >>confdefs.h
<<_ACEOF
13346 #define HAVE_SIGINFO_T_SI_FD 1
13353 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
13354 #ifdef HAVE_SYS_MTIO_H
13355 #include <sys/mtio.h>
13358 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = x
""yes; then :
13360 cat >>confdefs.h
<<_ACEOF
13361 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
13366 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
13367 #ifdef HAVE_SYS_MTIO_H
13368 #include <sys/mtio.h>
13371 if test "x$ac_cv_member_struct_mtget_mt_gstat" = x
""yes; then :
13373 cat >>confdefs.h
<<_ACEOF
13374 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
13379 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
13380 #ifdef HAVE_SYS_MTIO_H
13381 #include <sys/mtio.h>
13384 if test "x$ac_cv_member_struct_mtget_mt_blkno" = x
""yes; then :
13386 cat >>confdefs.h
<<_ACEOF
13387 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
13394 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
13395 #include <getopt.h>
13398 if test "x$ac_cv_member_struct_option_name" = x
""yes; then :
13400 cat >>confdefs.h
<<_ACEOF
13401 #define HAVE_STRUCT_OPTION_NAME 1
13408 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
13409 if test "x$ac_cv_member_struct_stat_st_blocks" = x
""yes; then :
13411 cat >>confdefs.h
<<_ACEOF
13412 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
13417 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
13418 if test "x$ac_cv_member_struct_stat_st_mtim" = x
""yes; then :
13420 cat >>confdefs.h
<<_ACEOF
13421 #define HAVE_STRUCT_STAT_ST_MTIM 1
13426 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
13427 if test "x$ac_cv_member_struct_stat_st_ctim" = x
""yes; then :
13429 cat >>confdefs.h
<<_ACEOF
13430 #define HAVE_STRUCT_STAT_ST_CTIM 1
13435 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
13436 if test "x$ac_cv_member_struct_stat_st_atim" = x
""yes; then :
13438 cat >>confdefs.h
<<_ACEOF
13439 #define HAVE_STRUCT_STAT_ST_ATIM 1
13446 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
13447 #include <sys/types.h>
13449 #ifdef HAVE_NETINET_IN_H
13450 #include <netinet/in.h>
13453 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = x
""yes; then :
13455 cat >>confdefs.h
<<_ACEOF
13456 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
13463 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
13464 #include <sys/types.h>
13466 #ifdef HAVE_NETINET_IN_H
13467 # include <netinet/in.h>
13469 #ifdef HAVE_ARPA_NAMESER_H
13470 # include <arpa/nameser.h>
13473 if test "x$ac_cv_member_ns_msg__msg_ptr" = x
""yes; then :
13475 cat >>confdefs.h
<<_ACEOF
13476 #define HAVE_NS_MSG__MSG_PTR 1
13483 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
13484 #include <sys/types.h>
13486 #ifdef HAVE_ALIAS_H
13489 #ifdef HAVE_SYS_SOCKET_H
13490 #include <sys/socket.h>
13492 #ifdef HAVE_SYS_SOCKETVAR_H
13493 #include <sys/socketvar.h>
13495 #ifdef HAVE_SYS_TIMEOUT_H
13496 #include <sys/timeout.h>
13498 #ifdef HAVE_NETINET_IN_H
13499 #include <netinet/in.h>
13501 #ifdef HAVE_NETINET_IN_SYSTM_H
13502 #include <netinet/in_systm.h>
13504 #ifdef HAVE_NETINET_IP_H
13505 #include <netinet/ip.h>
13507 #ifdef HAVE_NETINET_IP_VAR_H
13508 #include <netinet/ip_var.h>
13510 #ifdef HAVE_NETINET_IP_ICMP_H
13511 #include <netinet/ip_icmp.h>
13513 #ifdef HAVE_NETINET_ICMP_VAR
13514 #include <netinet/icmp_var.h>
13517 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = x
""yes; then :
13519 cat >>confdefs.h
<<_ACEOF
13520 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
13527 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
13528 #include <sys/types.h>
13530 #ifdef HAVE_NET_IF_H
13531 # include <net/if.h>
13534 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = x
""yes; then :
13536 cat >>confdefs.h
<<_ACEOF
13537 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
13544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
13545 $as_echo_n "checking for timezone variable... " >&6; }
13546 if test "${ac_cv_have_timezone+set}" = set; then :
13547 $as_echo_n "(cached) " >&6
13549 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13550 /* end confdefs.h. */
13560 if ac_fn_c_try_link
"$LINENO"; then :
13561 ac_cv_have_timezone
="yes"
13563 ac_cv_have_timezone
="no"
13565 rm -f core conftest.err conftest.
$ac_objext \
13566 conftest
$ac_exeext conftest.
$ac_ext
13568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
13569 $as_echo "$ac_cv_have_timezone" >&6; }
13570 if test "$ac_cv_have_timezone" = "yes"
13573 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
13576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
13577 $as_echo_n "checking for daylight variable... " >&6; }
13578 if test "${ac_cv_have_daylight+set}" = set; then :
13579 $as_echo_n "(cached) " >&6
13581 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13582 /* end confdefs.h. */
13592 if ac_fn_c_try_link
"$LINENO"; then :
13593 ac_cv_have_daylight
="yes"
13595 ac_cv_have_daylight
="no"
13597 rm -f core conftest.err conftest.
$ac_objext \
13598 conftest
$ac_exeext conftest.
$ac_ext
13600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
13601 $as_echo "$ac_cv_have_daylight" >&6; }
13602 if test "$ac_cv_have_daylight" = "yes"
13605 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
13609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
13610 $as_echo_n "checking for isinf... " >&6; }
13611 if test "${ac_cv_have_isinf+set}" = set; then :
13612 $as_echo_n "(cached) " >&6
13614 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13615 /* end confdefs.h. */
13620 float f = 0.0; int i=isinf(f)
13625 if ac_fn_c_try_link
"$LINENO"; then :
13626 ac_cv_have_isinf
="yes"
13628 ac_cv_have_isinf
="no"
13630 rm -f core conftest.err conftest.
$ac_objext \
13631 conftest
$ac_exeext conftest.
$ac_ext
13633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
13634 $as_echo "$ac_cv_have_isinf" >&6; }
13635 if test "$ac_cv_have_isinf" = "yes"
13638 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
13642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
13643 $as_echo_n "checking for isnan... " >&6; }
13644 if test "${ac_cv_have_isnan+set}" = set; then :
13645 $as_echo_n "(cached) " >&6
13647 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13648 /* end confdefs.h. */
13653 float f = 0.0; int i=isnan(f)
13658 if ac_fn_c_try_link
"$LINENO"; then :
13659 ac_cv_have_isnan
="yes"
13661 ac_cv_have_isnan
="no"
13663 rm -f core conftest.err conftest.
$ac_objext \
13664 conftest
$ac_exeext conftest.
$ac_ext
13666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
13667 $as_echo "$ac_cv_have_isnan" >&6; }
13668 if test "$ac_cv_have_isnan" = "yes"
13671 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
13677 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
13678 $as_echo_n "checking whether we need to define __i386__... " >&6; }
13679 if test "${ac_cv_cpp_def___i386__+set}" = set; then :
13680 $as_echo_n "(cached) " >&6
13682 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13683 /* end confdefs.h. */
13688 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13689 $EGREP "yes" >/dev
/null
2>&1; then :
13690 ac_cv_cpp_def___i386__
=yes
13692 ac_cv_cpp_def___i386__
=no
13697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
13698 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
13699 if test $ac_cv_cpp_def___i386__ = yes; then :
13700 CFLAGS
="$CFLAGS -D__i386__"
13701 LINTFLAGS
="$LINTFLAGS -D__i386__"
13703 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
13704 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
13705 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then :
13706 $as_echo_n "(cached) " >&6
13708 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13709 /* end confdefs.h. */
13714 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13715 $EGREP "yes" >/dev
/null
2>&1; then :
13716 ac_cv_cpp_def___x86_64__
=yes
13718 ac_cv_cpp_def___x86_64__
=no
13723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
13724 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
13725 if test $ac_cv_cpp_def___x86_64__ = yes; then :
13726 CFLAGS
="$CFLAGS -D__x86_64__"
13727 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
13729 *alpha
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __ALPHA__" >&5
13730 $as_echo_n "checking whether we need to define __ALPHA__... " >&6; }
13731 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then :
13732 $as_echo_n "(cached) " >&6
13734 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13735 /* end confdefs.h. */
13740 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13741 $EGREP "yes" >/dev
/null
2>&1; then :
13742 ac_cv_cpp_def___ALPHA__
=yes
13744 ac_cv_cpp_def___ALPHA__
=no
13749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___ALPHA__" >&5
13750 $as_echo "$ac_cv_cpp_def___ALPHA__" >&6; }
13751 if test $ac_cv_cpp_def___ALPHA__ = yes; then :
13752 CFLAGS
="$CFLAGS -D__ALPHA__"
13753 LINTFLAGS
="$LINTFLAGS -D__ALPHA__"
13755 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
13756 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
13757 if test "${ac_cv_cpp_def___sparc__+set}" = set; then :
13758 $as_echo_n "(cached) " >&6
13760 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13761 /* end confdefs.h. */
13766 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13767 $EGREP "yes" >/dev
/null
2>&1; then :
13768 ac_cv_cpp_def___sparc__
=yes
13770 ac_cv_cpp_def___sparc__
=no
13775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
13776 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
13777 if test $ac_cv_cpp_def___sparc__ = yes; then :
13778 CFLAGS
="$CFLAGS -D__sparc__"
13779 LINTFLAGS
="$LINTFLAGS -D__sparc__"
13781 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
13782 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
13783 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then :
13784 $as_echo_n "(cached) " >&6
13786 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13787 /* end confdefs.h. */
13788 #ifndef __powerpc__
13792 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13793 $EGREP "yes" >/dev
/null
2>&1; then :
13794 ac_cv_cpp_def___powerpc__
=yes
13796 ac_cv_cpp_def___powerpc__
=no
13801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
13802 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
13803 if test $ac_cv_cpp_def___powerpc__ = yes; then :
13804 CFLAGS
="$CFLAGS -D__powerpc__"
13805 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
13809 case $host_vendor in
13810 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
13811 $as_echo_n "checking whether we need to define __sun__... " >&6; }
13812 if test "${ac_cv_cpp_def___sun__+set}" = set; then :
13813 $as_echo_n "(cached) " >&6
13815 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13816 /* end confdefs.h. */
13821 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13822 $EGREP "yes" >/dev
/null
2>&1; then :
13823 ac_cv_cpp_def___sun__
=yes
13825 ac_cv_cpp_def___sun__
=no
13830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
13831 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
13832 if test $ac_cv_cpp_def___sun__ = yes; then :
13833 CFLAGS
="$CFLAGS -D__sun__"
13834 LINTFLAGS
="$LINTFLAGS -D__sun__"
13841 ac_config_commands
="$ac_config_commands include/stamp-h"
13844 ALL_MAKEFILE_DEPENDS
="
13845 # Rules automatically generated by configure
13850 Makefile: Makefile.in Make.rules config.status
13851 @./config.status Make.tmp Makefile"
13853 ALL_WINETEST_DEPENDS
="# Test binaries"
13855 ALL_TEST_BINARIES
=""
13857 ALL_PROGRAM_BIN_INSTALL_DIRS
=""
13860 wine_fn_append_file
()
13862 as_fn_append
$1 " \\$as_nl $2"
13865 wine_fn_append_rule
()
13867 as_fn_append
$1 "$as_nl$2"
13870 wine_fn_all_dir_rules
()
13872 wine_fn_append_file ALL_DIRS
$1
13873 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
13874 "__clean__ .PHONY: $1/__clean__
13875 $1/__clean__: $1/Makefile
13876 @cd $1 && \$(MAKE) clean
13878 $1/Makefile: $1/Makefile.in config.status $2
13879 @./config.status --file $1/Makefile && cd $1 && \$(MAKE) depend
13880 depend .PHONY: $1/__depend__
13881 $1/__depend__: \$(MAKEDEP) dummy
13882 @./config.status --file $1/Makefile && cd $1 && \$(MAKE) depend"
13885 wine_fn_config_makefile
()
13889 wine_fn_all_dir_rules
$ac_dir "Make.rules \$(MAKEDEP)"
13891 eval as_val
=\$
$ac_enable
13892 if test "x$as_val" = x
""no
; then :
13895 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
13896 "all .PHONY: $ac_dir
13897 $ac_dir: $ac_dir/Makefile dummy
13898 @cd $ac_dir && \$(MAKE)
13900 @cd $ac_dir && \$(MAKE) install
13901 install-lib:: $ac_dir
13902 @cd $ac_dir && \$(MAKE) install-lib
13903 install-dev:: $ac_dir
13904 @cd $ac_dir && \$(MAKE) install-dev
13905 uninstall:: $ac_dir/Makefile
13906 @cd $ac_dir && \$(MAKE) uninstall"
13910 wine_fn_config_lib
()
13913 ac_dir
=dlls
/$ac_name
13914 wine_fn_all_dir_rules
$ac_dir "dlls/Makeimplib.rules \$(MAKEDEP)"
13915 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
13916 "all __builddeps__: $ac_dir
13917 __buildcrossdeps__: $ac_dir/lib$ac_name.cross.a
13918 $ac_dir $ac_dir/lib$ac_name.cross.a: $ac_dir/Makefile tools/widl tools/winebuild tools/winegcc include
13920 @cd $ac_dir && \$(MAKE)
13921 $ac_dir/lib$ac_name.cross.a: dummy
13922 @cd $ac_dir && \$(MAKE) lib$ac_name.cross.a
13923 install install-dev:: $ac_dir
13924 @cd $ac_dir && \$(MAKE) install
13925 uninstall:: $ac_dir/Makefile
13926 @cd $ac_dir && \$(MAKE) uninstall"
13929 wine_fn_config_dll
()
13935 ac_file
="dlls/$ac_dir/lib$ac_implib"
13936 ac_deps
="tools/widl tools/winebuild tools/winegcc include"
13938 wine_fn_all_dir_rules dlls
/$ac_dir "dlls/Makedll.rules \$(MAKEDEP)"
13940 eval as_val
=\$
$ac_enable
13941 if test "x$as_val" = x
""no
; then :
13942 test "$ac_enable" != enable_win16 ||
return 0
13944 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
13945 "all .PHONY: dlls/$ac_dir
13946 dlls/$ac_dir: dlls/$ac_dir/Makefile __builddeps__ dummy
13947 @cd dlls/$ac_dir && \$(MAKE)
13948 install:: dlls/$ac_dir/Makefile __builddeps__
13949 @cd dlls/$ac_dir && \$(MAKE) install
13950 install-lib:: dlls/$ac_dir/Makefile __builddeps__
13951 @cd dlls/$ac_dir && \$(MAKE) install-lib
13952 uninstall manpages htmlpages sgmlpages xmlpages:: dlls/$ac_dir/Makefile
13953 @cd dlls/$ac_dir && \$(MAKE) \$@"
13956 if test -n "$ac_implibsrc"
13958 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
13959 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
13960 __buildcrossdeps__: $ac_file.cross.a
13961 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
13962 $ac_file.def: dlls/$ac_dir/$ac_dir.spec dlls/$ac_dir/Makefile
13963 @cd dlls/$ac_dir && \$(MAKE) \`basename \$@\`
13964 $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: dlls/$ac_dir/Makefile dummy
13965 @cd dlls/$ac_dir && \$(MAKE) \`basename \$@\`
13966 install-dev:: dlls/$ac_dir/Makefile __builddeps__
13967 @cd dlls/$ac_dir && \$(MAKE) install-dev"
13968 elif test -n "$ac_implib"
13970 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
13971 "__builddeps__: $ac_file.$IMPLIBEXT
13972 __buildcrossdeps__: $ac_file.cross.a
13973 $ac_file.$IMPLIBEXT $ac_file.cross.a: dlls/$ac_dir/$ac_dir.spec dlls/$ac_dir/Makefile $ac_deps
13974 @cd dlls/$ac_dir && \$(MAKE) \`basename \$@\`
13975 install-dev:: dlls/$ac_dir/Makefile __builddeps__
13976 @cd dlls/$ac_dir && \$(MAKE) install-dev"
13978 if test "$ac_dir" != "$ac_implib"
13980 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
13981 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
13982 __buildcrossdeps__: dlls/lib$ac_implib.cross.a
13983 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
13984 \$(RM) \$@ && \$(LN_S) $ac_dir/lib$ac_implib.$IMPLIBEXT \$@
13985 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
13986 \$(RM) \$@ && \$(LN_S) $ac_dir/lib$ac_implib.cross.a \$@
13988 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
13993 wine_fn_config_program
()
13998 wine_fn_all_dir_rules programs
/$ac_dir "programs/Makeprog.rules \$(MAKEDEP)"
14000 eval as_val
=\$
$ac_enable
14001 if test "x$as_val" = x
""no
; then :
14004 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14005 "all .PHONY: programs/$ac_dir
14006 programs/$ac_dir: programs/$ac_dir/Makefile __builddeps__ dummy
14007 @cd programs/$ac_dir && \$(MAKE)"
14009 if test -n "$ac_install"
14011 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14012 "install install-lib:: programs/$ac_dir/Makefile __builddeps__
14013 @cd programs/$ac_dir && \$(MAKE) install
14014 uninstall:: programs/$ac_dir/Makefile
14015 @cd programs/$ac_dir && \$(MAKE) uninstall"
14016 test "$ac_install" != installbin || wine_fn_append_file ALL_PROGRAM_BIN_INSTALL_DIRS programs
/$ac_dir
14021 wine_fn_config_test
()
14025 wine_fn_append_file ALL_TEST_BINARIES
$ac_name.exe
14026 wine_fn_append_rule ALL_WINETEST_DEPENDS \
14027 "$ac_name.exe: \$(TOPOBJDIR)/$ac_dir/$ac_name.exe$DLLEXT
14028 cp \$(TOPOBJDIR)/$ac_dir/$ac_name.exe$DLLEXT \$@ && \$(STRIP) \$@
14030 echo \"$ac_name.exe TESTRES \\\"$ac_name.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
14031 $ac_name.res: $ac_name.rc $ac_name.exe"
14032 wine_fn_all_dir_rules
$ac_dir "Maketest.rules \$(MAKEDEP)"
14034 if test "x$enable_tests" = x
""no
; then :
14037 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14038 "all programs/winetest .PHONY: $ac_dir
14039 $ac_dir: $ac_dir/Makefile __builddeps__ dummy
14040 @cd $ac_dir && \$(MAKE)
14041 crosstest .PHONY: $ac_dir/__crosstest__
14042 $ac_dir/__crosstest__: $ac_dir/Makefile __buildcrossdeps__ dummy
14043 @cd $ac_dir && \$(MAKE) crosstest
14044 test .PHONY: $ac_dir/__test__
14045 $ac_dir/__test__: dummy
14046 @cd $ac_dir && \$(MAKE) test
14048 \$(RM) $ac_dir/*.ok"
14052 wine_fn_config_tool
()
14055 ac_deps
="Make.rules"
14056 if test "$ac_dir" != tools
14058 ac_deps
="$ac_deps \$(MAKEDEP)"
14060 wine_fn_all_dir_rules
$ac_dir "$ac_deps"
14062 if test "x$enable_tools" = x
""no
; then :
14066 tools
) wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14068 @cd $ac_dir && \$(MAKE) install
14069 install-lib:: $ac_dir
14070 @cd $ac_dir && \$(MAKE) install-lib
14071 install-dev:: $ac_dir
14072 @cd $ac_dir && \$(MAKE) install-dev" ;;
14073 *) wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14074 "install install-dev:: $ac_dir
14075 @cd $ac_dir && \$(MAKE) install" ;;
14077 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14078 "uninstall:: $ac_dir/Makefile
14079 @cd $ac_dir && \$(MAKE) uninstall
14080 all __tooldeps__ .PHONY: $ac_dir
14081 $ac_dir: $ac_dir/Makefile libs/port dummy
14082 @cd $ac_dir && \$(MAKE)"
14086 wine_fn_config_makerules
()
14090 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14091 "$ac_rules: $ac_rules.in $ac_deps config.status
14092 @./config.status $ac_rules
14097 wine_fn_config_symlink
()
14100 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14102 @./config.status $ac_link
14106 ac_config_links
="$ac_config_links dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd"
14107 test "$srcdir" = "." || wine_fn_config_symlink dlls
/wineps.drv
/generic.ppd
14108 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
14109 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf
14110 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
14111 test "$srcdir" = "." || wine_fn_config_symlink fonts
/symbol.ttf
14112 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
14113 test "$srcdir" = "." || wine_fn_config_symlink fonts
/tahoma.ttf
14114 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
14115 test "$srcdir" = "." || wine_fn_config_symlink fonts
/tahomabd.ttf
14116 ac_config_links
="$ac_config_links wine:tools/winewrapper"
14117 wine_fn_config_symlink wine
14119 ac_config_commands
="$ac_config_commands dlls/gdi32/enhmfdrv"
14121 ac_config_commands
="$ac_config_commands dlls/gdi32/mfdrv"
14123 ac_config_commands
="$ac_config_commands dlls/kernel32/nls"
14125 ac_config_commands
="$ac_config_commands dlls/user32/resources"
14127 ac_config_commands
="$ac_config_commands dlls/wineps.drv/data"
14129 ac_config_commands
="$ac_config_commands include/wine"
14132 wine_fn_config_makerules Make.rules
14133 MAKE_RULES
=Make.rules
14134 ac_config_files
="$ac_config_files Make.rules"
14136 wine_fn_config_makerules Maketest.rules Make.rules
14137 MAKE_TEST_RULES
=Maketest.rules
14138 ac_config_files
="$ac_config_files Maketest.rules"
14140 wine_fn_config_makerules dlls
/Makedll.rules Make.rules
14141 MAKE_DLL_RULES
=dlls
/Makedll.rules
14142 ac_config_files
="$ac_config_files dlls/Makedll.rules"
14144 wine_fn_config_makerules dlls
/Makeimplib.rules Make.rules
14145 MAKE_IMPLIB_RULES
=dlls
/Makeimplib.rules
14146 ac_config_files
="$ac_config_files dlls/Makeimplib.rules"
14148 wine_fn_config_makerules programs
/Makeprog.rules Make.rules
14149 MAKE_PROG_RULES
=programs
/Makeprog.rules
14150 ac_config_files
="$ac_config_files programs/Makeprog.rules"
14153 wine_fn_config_dll acledit enable_acledit
14154 wine_fn_config_dll aclui enable_aclui aclui
14155 wine_fn_config_dll activeds enable_activeds activeds
14156 wine_fn_config_dll actxprxy enable_actxprxy
14157 wine_fn_config_lib adsiid
14158 wine_fn_config_dll advapi32 enable_advapi32 advapi32
14159 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
14160 wine_fn_config_dll advpack enable_advpack advpack
14161 wine_fn_config_test dlls
/advpack
/tests advpack_test
14162 wine_fn_config_dll amstream enable_amstream
14163 wine_fn_config_test dlls
/amstream
/tests amstream_test
14164 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl
14165 wine_fn_config_dll atl enable_atl atl
14166 wine_fn_config_dll authz enable_authz
14167 wine_fn_config_dll avicap32 enable_avicap32 avicap32
14168 wine_fn_config_dll avifil32 enable_avifil32 avifil32
14169 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
14170 wine_fn_config_dll avifile.dll16 enable_win16
14171 wine_fn_config_dll avrt enable_avrt avrt
14172 wine_fn_config_dll bcrypt enable_bcrypt
14173 wine_fn_config_dll browseui enable_browseui
14174 wine_fn_config_test dlls
/browseui
/tests browseui_test
14175 wine_fn_config_dll cabinet enable_cabinet cabinet
14176 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
14177 wine_fn_config_dll capi2032 enable_capi2032 capi2032
14178 wine_fn_config_dll cards enable_cards cards
14179 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 cfgmgr32
14180 wine_fn_config_dll clusapi enable_clusapi clusapi
14181 wine_fn_config_dll comcat enable_comcat
14182 wine_fn_config_test dlls
/comcat
/tests comcat_test
14183 wine_fn_config_dll comctl32 enable_comctl32 comctl32
14184 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
14185 wine_fn_config_dll comdlg32 enable_comdlg32 comdlg32
14186 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
14187 wine_fn_config_dll
comm.drv16 enable_win16
14188 wine_fn_config_dll commdlg.dll16 enable_win16
14189 wine_fn_config_dll compobj.dll16 enable_win16
14190 wine_fn_config_dll compstui enable_compstui compstui
14191 wine_fn_config_dll credui enable_credui credui
14192 wine_fn_config_test dlls
/credui
/tests credui_test
14193 wine_fn_config_dll crtdll enable_crtdll crtdll
14194 wine_fn_config_dll crypt32 enable_crypt32 crypt32
14195 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
14196 wine_fn_config_dll cryptdlg enable_cryptdlg
14197 wine_fn_config_dll cryptdll enable_cryptdll cryptdll
14198 wine_fn_config_dll cryptnet enable_cryptnet cryptnet
14199 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
14200 wine_fn_config_dll cryptui enable_cryptui cryptui
14201 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
14202 wine_fn_config_dll ctapi32 enable_ctapi32
14203 wine_fn_config_dll ctl3d.dll16 enable_win16
14204 wine_fn_config_dll ctl3d32 enable_ctl3d32 ctl3d32
14205 wine_fn_config_dll ctl3dv2.dll16 enable_win16
14206 wine_fn_config_dll d3d10 enable_d3d10 d3d10
14207 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
14208 wine_fn_config_dll d3d10core enable_d3d10core d3d10core
14209 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
14210 wine_fn_config_dll d3d8 enable_d3d8 d3d8
14211 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
14212 wine_fn_config_dll d3d9 enable_d3d9 d3d9
14213 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
14214 wine_fn_config_dll d3dim enable_d3dim d3dim
14215 wine_fn_config_dll d3drm enable_d3drm d3drm
14216 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
14217 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
14218 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
14219 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
14220 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
14221 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
14222 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
14223 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
14224 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
14225 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
14226 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
14227 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
14228 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
14229 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 d3dx9
14230 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
14231 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
14232 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
14233 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
14234 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
14235 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
14236 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
14237 wine_fn_config_dll d3dxof enable_d3dxof d3dxof
14238 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
14239 wine_fn_config_dll dbghelp enable_dbghelp dbghelp
14240 wine_fn_config_dll dciman32 enable_dciman32 dciman32
14241 wine_fn_config_dll ddeml.dll16 enable_win16
14242 wine_fn_config_dll ddraw enable_ddraw ddraw
14243 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
14244 wine_fn_config_dll ddrawex enable_ddrawex
14245 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
14246 wine_fn_config_dll devenum enable_devenum
14247 wine_fn_config_dll dinput enable_dinput dinput
"data_formats.c"
14248 wine_fn_config_test dlls
/dinput
/tests dinput_test
14249 wine_fn_config_dll dinput8 enable_dinput8 dinput8
14250 wine_fn_config_dll dispdib.dll16 enable_win16
14251 wine_fn_config_dll dispex enable_dispex
14252 wine_fn_config_test dlls
/dispex
/tests dispex_test
14253 wine_fn_config_dll display.drv16 enable_win16
14254 wine_fn_config_dll dmband enable_dmband
14255 wine_fn_config_dll dmcompos enable_dmcompos
14256 wine_fn_config_dll dmime enable_dmime
14257 wine_fn_config_dll dmloader enable_dmloader
14258 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
14259 wine_fn_config_dll dmscript enable_dmscript
14260 wine_fn_config_dll dmstyle enable_dmstyle
14261 wine_fn_config_dll dmsynth enable_dmsynth
14262 wine_fn_config_dll dmusic enable_dmusic
14263 wine_fn_config_dll dmusic32 enable_dmusic32 dmusic32
14264 wine_fn_config_dll dnsapi enable_dnsapi dnsapi
14265 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
14266 wine_fn_config_dll dplay enable_dplay dplay
14267 wine_fn_config_dll dplayx enable_dplayx dplayx
14268 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
14269 wine_fn_config_dll dpnaddr enable_dpnaddr
14270 wine_fn_config_dll dpnet enable_dpnet dpnet
14271 wine_fn_config_dll dpnhpast enable_dpnhpast
14272 wine_fn_config_dll dpnlobby enable_dpnlobby
14273 wine_fn_config_dll dpwsockx enable_dpwsockx
14274 wine_fn_config_dll drmclien enable_drmclien
14275 wine_fn_config_dll dsound enable_dsound dsound
14276 wine_fn_config_test dlls
/dsound
/tests dsound_test
14277 wine_fn_config_dll dssenh enable_dssenh
14278 wine_fn_config_dll dswave enable_dswave
14279 wine_fn_config_dll dwmapi enable_dwmapi dwmapi
14280 wine_fn_config_dll dxdiagn enable_dxdiagn
14281 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
14282 wine_fn_config_lib dxerr8
14283 wine_fn_config_lib dxerr9
14284 wine_fn_config_dll dxgi enable_dxgi dxgi
14285 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
14286 wine_fn_config_lib dxguid
14287 wine_fn_config_dll faultrep enable_faultrep
14288 wine_fn_config_dll fltlib enable_fltlib
14289 wine_fn_config_dll fusion enable_fusion
14290 wine_fn_config_test dlls
/fusion
/tests fusion_test
14291 wine_fn_config_dll fwpuclnt enable_fwpuclnt
14292 wine_fn_config_dll gdi.exe16 enable_win16
14293 wine_fn_config_dll gdi32 enable_gdi32 gdi32
14294 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
14295 wine_fn_config_dll gdiplus enable_gdiplus gdiplus
14296 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
14297 wine_fn_config_dll glu32 enable_glu32 glu32
14298 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds
14299 wine_fn_config_dll gpkcsp enable_gpkcsp
14300 wine_fn_config_dll hal enable_hal
14301 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx
14302 wine_fn_config_dll hid enable_hid hid
14303 wine_fn_config_dll hlink enable_hlink hlink
14304 wine_fn_config_test dlls
/hlink
/tests hlink_test
14305 wine_fn_config_dll hnetcfg enable_hnetcfg
14306 wine_fn_config_dll httpapi enable_httpapi
14307 wine_fn_config_dll iccvid enable_iccvid
14308 wine_fn_config_dll icmp enable_icmp
14309 wine_fn_config_dll ifsmgr.vxd enable_win16
14310 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
14311 wine_fn_config_dll imagehlp enable_imagehlp imagehlp
14312 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
14313 wine_fn_config_dll imm.dll16 enable_win16
14314 wine_fn_config_dll imm32 enable_imm32 imm32
14315 wine_fn_config_test dlls
/imm32
/tests imm32_test
14316 wine_fn_config_dll inetcomm enable_inetcomm inetcomm
14317 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
14318 wine_fn_config_dll inetmib1 enable_inetmib1
14319 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
14320 wine_fn_config_dll infosoft enable_infosoft
14321 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
14322 wine_fn_config_dll initpki enable_initpki
14323 wine_fn_config_dll inkobj enable_inkobj
14324 wine_fn_config_dll inseng enable_inseng
14325 wine_fn_config_dll iphlpapi enable_iphlpapi iphlpapi
14326 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
14327 wine_fn_config_dll itircl enable_itircl
14328 wine_fn_config_dll itss enable_itss
14329 wine_fn_config_test dlls
/itss
/tests itss_test
14330 wine_fn_config_dll jscript enable_jscript
14331 wine_fn_config_test dlls
/jscript
/tests jscript_test
14332 wine_fn_config_dll kernel32 enable_kernel32 kernel32
14333 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
14334 wine_fn_config_dll keyboard.drv16 enable_win16
14335 wine_fn_config_dll krnl386.exe16 enable_win16 kernel
14336 wine_fn_config_dll loadperf enable_loadperf loadperf
14337 wine_fn_config_dll localspl enable_localspl
14338 wine_fn_config_test dlls
/localspl
/tests localspl_test
14339 wine_fn_config_dll localui enable_localui
14340 wine_fn_config_test dlls
/localui
/tests localui_test
14341 wine_fn_config_dll lz32 enable_lz32 lz32
14342 wine_fn_config_test dlls
/lz32
/tests lz32_test
14343 wine_fn_config_dll lzexpand.dll16 enable_win16
14344 wine_fn_config_dll mapi32 enable_mapi32 mapi32
14345 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
14346 wine_fn_config_dll mapistub enable_mapistub
14347 wine_fn_config_dll mciavi32 enable_mciavi32
14348 wine_fn_config_dll mcicda enable_mcicda
14349 wine_fn_config_dll mciqtz32 enable_mciqtz32
14350 wine_fn_config_dll mciseq enable_mciseq
14351 wine_fn_config_dll mciwave enable_mciwave
14352 wine_fn_config_dll midimap enable_midimap
14353 wine_fn_config_dll mlang enable_mlang mlang
14354 wine_fn_config_test dlls
/mlang
/tests mlang_test
14355 wine_fn_config_dll mmdevapi enable_mmdevapi
14356 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
14357 wine_fn_config_dll mmdevldr.vxd enable_win16
14358 wine_fn_config_dll mmsystem.dll16 enable_win16
14359 wine_fn_config_dll monodebg.vxd enable_win16
14360 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
14361 wine_fn_config_dll mouse.drv16 enable_win16
14362 wine_fn_config_dll mpr enable_mpr mpr
14363 wine_fn_config_dll mprapi enable_mprapi mprapi
14364 wine_fn_config_dll msacm.dll16 enable_win16
14365 wine_fn_config_dll msacm32.drv enable_msacm32_drv
14366 wine_fn_config_dll msacm32 enable_msacm32 msacm32
14367 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
14368 wine_fn_config_dll msadp32.acm enable_msadp32_acm
14369 wine_fn_config_dll mscat32 enable_mscat32
14370 wine_fn_config_dll mscms enable_mscms mscms
14371 wine_fn_config_test dlls
/mscms
/tests mscms_test
14372 wine_fn_config_dll mscoree enable_mscoree
14373 wine_fn_config_dll msctf enable_msctf
14374 wine_fn_config_test dlls
/msctf
/tests msctf_test
14375 wine_fn_config_dll msdaps enable_msdaps
14376 wine_fn_config_dll msdmo enable_msdmo msdmo
14377 wine_fn_config_dll msftedit enable_msftedit
14378 wine_fn_config_dll msg711.acm enable_msg711_acm
14379 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
14380 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb
14381 wine_fn_config_dll mshtml enable_mshtml mshtml
14382 wine_fn_config_test dlls
/mshtml
/tests mshtml_test
14383 wine_fn_config_dll msi enable_msi msi
14384 wine_fn_config_test dlls
/msi
/tests msi_test
14385 wine_fn_config_dll msimg32 enable_msimg32 msimg32
14386 wine_fn_config_dll msimtf enable_msimtf
14387 wine_fn_config_dll msisip enable_msisip
14388 wine_fn_config_dll msisys.ocx enable_msisys_ocx
14389 wine_fn_config_dll msnet32 enable_msnet32
14390 wine_fn_config_dll msrle32 enable_msrle32
14391 wine_fn_config_dll mssign32 enable_mssign32
14392 wine_fn_config_dll mssip32 enable_mssip32
14393 wine_fn_config_dll mstask enable_mstask
14394 wine_fn_config_test dlls
/mstask
/tests mstask_test
14395 wine_fn_config_dll msvcirt enable_msvcirt
14396 wine_fn_config_dll msvcr70 enable_msvcr70 msvcr70
14397 wine_fn_config_dll msvcr71 enable_msvcr71 msvcr71
14398 wine_fn_config_dll msvcr80 enable_msvcr80
14399 wine_fn_config_dll msvcr90 enable_msvcr90
14400 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
14401 wine_fn_config_dll msvcrt enable_msvcrt msvcrt
14402 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
14403 wine_fn_config_dll msvcrt20 enable_msvcrt20 msvcrt20
14404 wine_fn_config_dll msvcrt40 enable_msvcrt40 msvcrt40
14405 wine_fn_config_dll msvcrtd enable_msvcrtd msvcrtd
14406 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
14407 wine_fn_config_dll msvfw32 enable_msvfw32 msvfw32
14408 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
14409 wine_fn_config_dll msvidc32 enable_msvidc32
14410 wine_fn_config_dll msvideo.dll16 enable_win16
14411 wine_fn_config_dll mswsock enable_mswsock mswsock
14412 wine_fn_config_dll msxml3 enable_msxml3
14413 wine_fn_config_test dlls
/msxml
3/tests msxml3_test
14414 wine_fn_config_dll msxml4 enable_msxml4
14415 wine_fn_config_dll nddeapi enable_nddeapi nddeapi
14416 wine_fn_config_dll netapi32 enable_netapi32 netapi32
14417 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
14418 wine_fn_config_dll newdev enable_newdev newdev
14419 wine_fn_config_dll ntdll enable_ntdll ntdll
14420 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
14421 wine_fn_config_dll ntdsapi enable_ntdsapi ntdsapi
14422 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
14423 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe ntoskrnl.exe
14424 wine_fn_config_dll ntprint enable_ntprint
14425 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
14426 wine_fn_config_dll objsel enable_objsel
14427 wine_fn_config_dll odbc32 enable_odbc32 odbc32
14428 wine_fn_config_dll odbccp32 enable_odbccp32 odbccp32
14429 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
14430 wine_fn_config_dll ole2.dll16 enable_win16
14431 wine_fn_config_dll ole2conv.dll16 enable_win16
14432 wine_fn_config_dll ole2disp.dll16 enable_win16
14433 wine_fn_config_dll ole2nls.dll16 enable_win16
14434 wine_fn_config_dll ole2prox.dll16 enable_win16
14435 wine_fn_config_dll ole2thk.dll16 enable_win16
14436 wine_fn_config_dll ole32 enable_ole32 ole32
14437 wine_fn_config_test dlls
/ole32
/tests ole32_test
14438 wine_fn_config_dll oleacc enable_oleacc oleacc
14439 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
14440 wine_fn_config_dll oleaut32 enable_oleaut32 oleaut32
14441 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test
14442 wine_fn_config_dll olecli.dll16 enable_win16
14443 wine_fn_config_dll olecli32 enable_olecli32 olecli32
14444 wine_fn_config_dll oledb32 enable_oledb32
14445 wine_fn_config_test dlls
/oledb32
/tests oledb32_test
14446 wine_fn_config_dll oledlg enable_oledlg oledlg
14447 wine_fn_config_dll olepro32 enable_olepro32 olepro32
14448 wine_fn_config_dll olesvr.dll16 enable_win16
14449 wine_fn_config_dll olesvr32 enable_olesvr32 olesvr32
14450 wine_fn_config_dll olethk32 enable_olethk32
14451 wine_fn_config_dll openal32 enable_openal32
14452 wine_fn_config_dll opengl32 enable_opengl32 opengl32
14453 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
14454 wine_fn_config_dll pdh enable_pdh pdh
14455 wine_fn_config_test dlls
/pdh
/tests pdh_test
14456 wine_fn_config_dll pidgen enable_pidgen
14457 wine_fn_config_dll powrprof enable_powrprof powrprof
14458 wine_fn_config_dll printui enable_printui
14459 wine_fn_config_dll propsys enable_propsys
14460 wine_fn_config_dll psapi enable_psapi psapi
14461 wine_fn_config_test dlls
/psapi
/tests psapi_test
14462 wine_fn_config_dll pstorec enable_pstorec
14463 wine_fn_config_dll qcap enable_qcap
14464 wine_fn_config_dll qedit enable_qedit
14465 wine_fn_config_test dlls
/qedit
/tests qedit_test
14466 wine_fn_config_dll qmgr enable_qmgr
14467 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
14468 wine_fn_config_dll qmgrprxy enable_qmgrprxy
14469 wine_fn_config_dll quartz enable_quartz quartz
14470 wine_fn_config_test dlls
/quartz
/tests quartz_test
14471 wine_fn_config_dll query enable_query
14472 wine_fn_config_dll rasapi16.dll16 enable_win16
14473 wine_fn_config_dll rasapi32 enable_rasapi32 rasapi32
14474 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
14475 wine_fn_config_dll rasdlg enable_rasdlg rasdlg
14476 wine_fn_config_dll resutils enable_resutils resutils
14477 wine_fn_config_dll riched20 enable_riched20 riched20
14478 wine_fn_config_test dlls
/riched20
/tests riched20_test
14479 wine_fn_config_dll riched32 enable_riched32
14480 wine_fn_config_test dlls
/riched32
/tests riched32_test
14481 wine_fn_config_dll rpcrt4 enable_rpcrt4 rpcrt4
14482 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test
14483 wine_fn_config_dll rsabase enable_rsabase
14484 wine_fn_config_dll rsaenh enable_rsaenh rsaenh
14485 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
14486 wine_fn_config_dll rtutils enable_rtutils rtutils
14487 wine_fn_config_dll sane.ds enable_sane_ds
14488 wine_fn_config_dll sccbase enable_sccbase
14489 wine_fn_config_dll schannel enable_schannel
14490 wine_fn_config_test dlls
/schannel
/tests schannel_test
14491 wine_fn_config_dll secur32 enable_secur32 secur32
14492 wine_fn_config_test dlls
/secur32
/tests secur32_test
14493 wine_fn_config_dll security enable_security
14494 wine_fn_config_dll sensapi enable_sensapi sensapi
14495 wine_fn_config_dll serialui enable_serialui serialui
14496 wine_fn_config_test dlls
/serialui
/tests serialui_test
14497 wine_fn_config_dll setupapi enable_setupapi setupapi
14498 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
14499 wine_fn_config_dll setupx.dll16 enable_win16
14500 wine_fn_config_dll sfc enable_sfc sfc
14501 wine_fn_config_dll sfc_os enable_sfc_os sfc_os
14502 wine_fn_config_dll shdoclc enable_shdoclc
14503 wine_fn_config_dll shdocvw enable_shdocvw shdocvw
14504 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
14505 wine_fn_config_dll shell.dll16 enable_win16
14506 wine_fn_config_dll shell32 enable_shell32 shell32
14507 wine_fn_config_test dlls
/shell32
/tests shell32_test
14508 wine_fn_config_dll shfolder enable_shfolder shfolder
14509 wine_fn_config_dll shlwapi enable_shlwapi shlwapi
14510 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
14511 wine_fn_config_dll slbcsp enable_slbcsp
14512 wine_fn_config_dll slc enable_slc slc
14513 wine_fn_config_dll snmpapi enable_snmpapi snmpapi
14514 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
14515 wine_fn_config_dll softpub enable_softpub
14516 wine_fn_config_dll sound.drv16 enable_win16
14517 wine_fn_config_dll spoolss enable_spoolss spoolss
14518 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
14519 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb
14520 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb
14521 wine_fn_config_dll sti enable_sti sti
14522 wine_fn_config_test dlls
/sti
/tests sti_test
14523 wine_fn_config_dll storage.dll16 enable_win16
14524 wine_fn_config_dll stress.dll16 enable_win16
14525 wine_fn_config_lib strmiids
14526 wine_fn_config_dll svrapi enable_svrapi
14527 wine_fn_config_dll sxs enable_sxs
14528 wine_fn_config_dll system.drv16 enable_win16
14529 wine_fn_config_dll t2embed enable_t2embed
14530 wine_fn_config_dll tapi32 enable_tapi32 tapi32
14531 wine_fn_config_dll toolhelp.dll16 enable_win16
14532 wine_fn_config_dll traffic enable_traffic
14533 wine_fn_config_dll twain.dll16 enable_win16
14534 wine_fn_config_dll twain_32 enable_twain_32
14535 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
14536 wine_fn_config_dll typelib.dll16 enable_win16
14537 wine_fn_config_dll unicows enable_unicows unicows
14538 wine_fn_config_dll updspapi enable_updspapi
14539 wine_fn_config_dll url enable_url url
14540 wine_fn_config_dll urlmon enable_urlmon urlmon
14541 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
14542 wine_fn_config_dll usbd.sys enable_usbd_sys usbd.sys
14543 wine_fn_config_dll user.exe16 enable_win16
14544 wine_fn_config_dll user32 enable_user32 user32
14545 wine_fn_config_test dlls
/user32
/tests user32_test
14546 wine_fn_config_dll userenv enable_userenv userenv
14547 wine_fn_config_test dlls
/userenv
/tests userenv_test
14548 wine_fn_config_dll usp10 enable_usp10 usp10
14549 wine_fn_config_test dlls
/usp10
/tests usp10_test
14550 wine_fn_config_lib uuid
14551 wine_fn_config_dll uxtheme enable_uxtheme uxtheme
14552 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
14553 wine_fn_config_dll vdhcp.vxd enable_win16
14554 wine_fn_config_dll vdmdbg enable_vdmdbg vdmdbg
14555 wine_fn_config_dll ver.dll16 enable_win16
14556 wine_fn_config_dll version enable_version version
14557 wine_fn_config_test dlls
/version
/tests version_test
14558 wine_fn_config_dll vmm.vxd enable_win16
14559 wine_fn_config_dll vnbt.vxd enable_win16
14560 wine_fn_config_dll vnetbios.vxd enable_win16
14561 wine_fn_config_dll vtdapi.vxd enable_win16
14562 wine_fn_config_dll vwin32.vxd enable_win16
14563 wine_fn_config_dll w32skrnl enable_win16
14564 wine_fn_config_dll w32sys.dll16 enable_win16
14565 wine_fn_config_dll wbemprox enable_wbemprox
14566 wine_fn_config_dll wiaservc enable_wiaservc
14567 wine_fn_config_dll win32s16.dll16 enable_win16
14568 wine_fn_config_dll win87em.dll16 enable_win16
14569 wine_fn_config_dll winaspi.dll16 enable_win16
14570 wine_fn_config_dll windebug.dll16 enable_win16
14571 wine_fn_config_dll windowscodecs enable_windowscodecs windowscodecs
14572 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
14573 wine_fn_config_dll winealsa.drv enable_winealsa_drv
14574 wine_fn_config_dll wineaudioio.drv enable_wineaudioio_drv
14575 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
14576 wine_fn_config_lib winecrt0
14577 wine_fn_config_dll wined3d enable_wined3d wined3d
14578 wine_fn_config_dll wineesd.drv enable_wineesd_drv
14579 wine_fn_config_dll winejack.drv enable_winejack_drv
14580 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
14581 wine_fn_config_dll winemapi enable_winemapi
14582 wine_fn_config_dll winemp3.acm enable_winemp3_acm
14583 wine_fn_config_dll winenas.drv enable_winenas_drv
14584 wine_fn_config_dll wineoss.drv enable_wineoss_drv
14585 wine_fn_config_dll wineps.drv enable_wineps_drv
14586 wine_fn_config_dll wineps16.drv16 enable_win16
14587 wine_fn_config_dll winequartz.drv enable_winequartz_drv
14588 wine_fn_config_dll winex11.drv enable_winex11_drv
14589 wine_fn_config_dll wing.dll16 enable_win16
14590 wine_fn_config_dll wing32 enable_wing32
14591 wine_fn_config_dll winhttp enable_winhttp winhttp
14592 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
14593 wine_fn_config_dll wininet enable_wininet wininet
14594 wine_fn_config_test dlls
/wininet
/tests wininet_test
14595 wine_fn_config_dll winmm enable_winmm winmm
14596 wine_fn_config_test dlls
/winmm
/tests winmm_test
14597 wine_fn_config_dll winnls.dll16 enable_win16
14598 wine_fn_config_dll winnls32 enable_winnls32 winnls32
14599 wine_fn_config_dll winscard enable_winscard winscard
14600 wine_fn_config_dll winsock.dll16 enable_win16
14601 wine_fn_config_dll winspool.drv enable_winspool_drv winspool
14602 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
14603 wine_fn_config_dll wintab.dll16 enable_win16
14604 wine_fn_config_dll wintab32 enable_wintab32 wintab32
14605 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
14606 wine_fn_config_dll wintrust enable_wintrust wintrust
14607 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
14608 wine_fn_config_dll wldap32 enable_wldap32 wldap32
14609 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
14610 wine_fn_config_dll wmi enable_wmi
14611 wine_fn_config_dll wmiutils enable_wmiutils
14612 wine_fn_config_dll wnaspi32 enable_wnaspi32 wnaspi32
14613 wine_fn_config_dll wow32 enable_win16 wow32
14614 wine_fn_config_dll ws2_32 enable_ws2_32 ws2_32
14615 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
14616 wine_fn_config_dll wsock32 enable_wsock32 wsock32
14617 wine_fn_config_dll wtsapi32 enable_wtsapi32 wtsapi32
14618 wine_fn_config_dll wuapi enable_wuapi
14619 wine_fn_config_dll wuaueng enable_wuaueng
14620 wine_fn_config_dll xinput1_1 enable_xinput1_1
14621 wine_fn_config_dll xinput1_2 enable_xinput1_2
14622 wine_fn_config_dll xinput1_3 enable_xinput1_3 xinput
14623 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
14624 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
14625 wine_fn_config_dll xmllite enable_xmllite
14626 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
14627 wine_fn_config_makefile documentation enable_documentation
14628 wine_fn_config_makefile fonts enable_fonts
14629 wine_fn_config_makefile include enable_include
14630 wine_fn_config_makefile libs
/port enable_libs_port
14631 wine_fn_config_makefile libs
/wine enable_libs_wine
14632 wine_fn_config_makefile libs
/wpp enable_libs_wpp
14633 wine_fn_config_makefile loader enable_loader
14634 wine_fn_config_makefile programs enable_programs
14635 wine_fn_config_program attrib enable_attrib
install
14636 wine_fn_config_program cacls enable_cacls
install
14637 wine_fn_config_program
clock enable_clock
install
14638 wine_fn_config_program cmd enable_cmd
install
14639 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
14640 wine_fn_config_program cmdlgtst enable_cmdlgtst
14641 wine_fn_config_program control enable_control
install
14642 wine_fn_config_program dxdiag enable_dxdiag
install
14643 wine_fn_config_program eject enable_eject
install
14644 wine_fn_config_program
expand enable_expand
install
14645 wine_fn_config_program explorer enable_explorer
install
14646 wine_fn_config_program extrac32 enable_extrac32
install
14647 wine_fn_config_program hh enable_hh
install
14648 wine_fn_config_program icinfo enable_icinfo
install
14649 wine_fn_config_program iexplore enable_iexplore
install
14650 wine_fn_config_program lodctr enable_lodctr
install
14651 wine_fn_config_program mshta enable_mshta
install
14652 wine_fn_config_program msiexec enable_msiexec installbin
14653 wine_fn_config_program net enable_net
install
14654 wine_fn_config_program notepad enable_notepad installbin
14655 wine_fn_config_program oleview enable_oleview
install
14656 wine_fn_config_program
ping enable_ping
install
14657 wine_fn_config_program progman enable_progman
install
14658 wine_fn_config_program reg enable_reg
install
14659 wine_fn_config_program regedit enable_regedit installbin
14660 wine_fn_config_program regsvr32 enable_regsvr32 installbin
14661 wine_fn_config_program rpcss enable_rpcss
install
14662 wine_fn_config_program rundll32 enable_rundll32
install
14663 wine_fn_config_program secedit enable_secedit
install
14664 wine_fn_config_program services enable_services
install
14665 wine_fn_config_program spoolsv enable_spoolsv
install
14666 wine_fn_config_program start enable_start
install
14667 wine_fn_config_program svchost enable_svchost
install
14668 wine_fn_config_program taskmgr enable_taskmgr
install
14669 wine_fn_config_program termsv enable_termsv
install
14670 wine_fn_config_program uninstaller enable_uninstaller
install
14671 wine_fn_config_program unlodctr enable_unlodctr
install
14672 wine_fn_config_program view enable_view
14673 wine_fn_config_program wineboot enable_wineboot installbin
14674 wine_fn_config_program winebrowser enable_winebrowser
install
14675 wine_fn_config_program winecfg enable_winecfg installbin
14676 wine_fn_config_program wineconsole enable_wineconsole installbin
14677 wine_fn_config_program winedbg enable_winedbg installbin
14678 wine_fn_config_program winedevice enable_winedevice
install
14679 wine_fn_config_program winefile enable_winefile installbin
14680 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
14681 wine_fn_config_program winemine enable_winemine installbin
14682 wine_fn_config_program winepath enable_winepath installbin
14683 wine_fn_config_program winetest enable_winetest
14684 wine_fn_config_program winevdm enable_win16
install
14685 wine_fn_config_program winhelp.exe16 enable_win16
install
14686 wine_fn_config_program winhlp32 enable_winhlp32
install
14687 wine_fn_config_program winoldap.mod16 enable_win16
install
14688 wine_fn_config_program winver enable_winver
install
14689 wine_fn_config_program wordpad enable_wordpad
install
14690 wine_fn_config_program
write enable_write
install
14691 wine_fn_config_program xcopy enable_xcopy
install
14692 wine_fn_config_makefile server enable_server
14693 wine_fn_config_tool tools
14694 wine_fn_config_tool tools
/widl
14695 wine_fn_config_tool tools
/winebuild
14696 wine_fn_config_tool tools
/winedump
14697 wine_fn_config_tool tools
/winegcc
14698 wine_fn_config_tool tools
/wmc
14699 wine_fn_config_tool tools
/wrc
14701 ac_config_commands
="$ac_config_commands Makefile"
14704 ac_config_files
="$ac_config_files Make.tmp:Makefile.in"
14707 test -n "$DLLEXT" || ALL_PROGRAM_BIN_INSTALL_DIRS
=""
14709 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"uninstall::
14710 -rmdir \$(DESTDIR)\$(datadir)/wine \$(DESTDIR)\$(fakedlldir) \$(DESTDIR)\$(dlldir)"
14712 cat >confcache
<<\_ACEOF
14713 # This file is a shell script that caches the results of configure
14714 # tests run on this system so they can be shared between configure
14715 # scripts and configure runs, see configure's option --config-cache.
14716 # It is not useful on other systems. If it contains results you don't
14717 # want to keep, you may remove or edit it.
14719 # config.status only pays attention to the cache file if you give it
14720 # the --recheck option to rerun configure.
14722 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14723 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14724 # following values.
14728 # The following way of writing the cache mishandles newlines in values,
14729 # but we know of no workaround that is simple, portable, and efficient.
14730 # So, we kill variables containing newlines.
14731 # Ultrix sh set writes to stderr and can't be redirected directly,
14732 # and sets the high bit in the cache file unless we assign to the vars.
14734 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14735 eval ac_val
=\$
$ac_var
14739 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14740 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14743 _ | IFS | as_nl
) ;; #(
14744 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14745 *) { eval $ac_var=; unset $ac_var;} ;;
14751 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14752 *${as_nl}ac_space
=\
*)
14753 # `set' does not quote correctly, so add quotes: double-quote
14754 # substitution turns \\\\ into \\, and sed turns \\ into \.
14757 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14760 # `set' quotes correctly as required by POSIX, so do not add quotes.
14761 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14770 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14772 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14774 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14775 if test -w "$cache_file"; then
14776 test "x$cache_file" != "x/dev/null" &&
14777 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14778 $as_echo "$as_me: updating cache $cache_file" >&6;}
14779 cat confcache
>$cache_file
14781 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14782 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14787 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14788 # Let make expand exec_prefix.
14789 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14791 DEFS
=-DHAVE_CONFIG_H
14795 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
14796 # 1. Remove the extension, and $U if already installed.
14797 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
14798 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
14799 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14800 # will be set to the directory where LIBOBJS objects are built.
14801 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14802 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
14804 LIBOBJS
=$ac_libobjs
14806 LTLIBOBJS
=$ac_ltlibobjs
14810 : ${CONFIG_STATUS=./config.status}
14812 ac_clean_files_save
=$ac_clean_files
14813 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
14814 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14815 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14817 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14819 # Generated by $as_me.
14820 # Run this file to recreate the current configuration.
14821 # Compiler output produced by configure, useful for debugging
14822 # configure, is in config.log if it exists.
14825 ac_cs_recheck=false
14828 SHELL=\${CONFIG_SHELL-$SHELL}
14831 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
14832 ## -------------------- ##
14833 ## M4sh Initialization. ##
14834 ## -------------------- ##
14836 # Be more Bourne compatible
14837 DUALCASE
=1; export DUALCASE
# for MKS sh
14838 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
14841 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14842 # is contrary to our usage. Disable this feature.
14843 alias -g '${1+"$@"}'='"$@"'
14844 setopt NO_GLOB_SUBST
14846 case `(set -o) 2>/dev/null` in #(
14858 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14859 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14860 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14861 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14862 # Prefer a ksh shell builtin over an external printf program on Solaris,
14863 # but without wasting forks for bash or zsh.
14864 if test -z "$BASH_VERSION$ZSH_VERSION" \
14865 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14866 as_echo='print
-r --'
14867 as_echo_n='print
-rn --'
14868 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14869 as_echo='printf %s
\n'
14870 as_echo_n='printf %s
'
14872 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14873 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
14874 as_echo_n='/usr
/ucb
/echo -n'
14876 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14877 as_echo_n_body='eval
14881 expr "X$arg" : "X\\(.*\\)$as_nl";
14882 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14884 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
14886 export as_echo_n_body
14887 as_echo_n='sh
-c $as_echo_n_body as_echo
'
14889 export as_echo_body
14890 as_echo='sh
-c $as_echo_body as_echo
'
14893 # The user is always right.
14894 if test "${PATH_SEPARATOR+set}" != set; then
14896 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14897 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14904 # We need space, tab and new line, in precisely that order. Quoting is
14905 # there to prevent editors from complaining about space-tab.
14906 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14907 # splitting by setting IFS to empty value.)
14910 # Find who we are. Look in the path if we contain no directory separator.
14912 *[\\/]* ) as_myself=$0 ;;
14913 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14914 for as_dir in $PATH
14917 test -z "$as_dir" && as_dir=.
14918 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14924 # We did not find ourselves, most probably we were run as `sh COMMAND'
14925 # in which case we are not to be found in the path.
14926 if test "x$as_myself" = x
; then
14929 if test ! -f "$as_myself"; then
14930 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14934 # Unset variables that we do not need and which cause bugs (e.g. in
14935 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14936 # suppresses any "Segmentation fault" message there. '((' could
14937 # trigger a bug in pdksh 5.2.14.
14938 for as_var
in BASH_ENV ENV MAIL MAILPATH
14939 do eval test x\
${$as_var+set} = xset \
14940 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14953 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14956 # as_fn_error ERROR [LINENO LOG_FD]
14957 # ---------------------------------
14958 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14959 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14960 # script with status $?, using 1 if that was 0.
14963 as_status
=$?
; test $as_status -eq 0 && as_status
=1
14965 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14966 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14968 $as_echo "$as_me: error: $1" >&2
14969 as_fn_exit
$as_status
14973 # as_fn_set_status STATUS
14974 # -----------------------
14975 # Set $? to STATUS, without forking.
14976 as_fn_set_status
()
14979 } # as_fn_set_status
14981 # as_fn_exit STATUS
14982 # -----------------
14983 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14987 as_fn_set_status
$1
14993 # Portably unset VAR.
14996 { eval $1=; unset $1;}
14998 as_unset
=as_fn_unset
14999 # as_fn_append VAR VALUE
15000 # ----------------------
15001 # Append the text in VALUE to the end of the definition contained in VAR. Take
15002 # advantage of any shell optimizations that allow amortized linear growth over
15003 # repeated appends, instead of the typical quadratic growth present in naive
15005 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15006 eval 'as_fn_append ()
15017 # as_fn_arith ARG...
15018 # ------------------
15019 # Perform arithmetic evaluation on the ARGs, and store the result in the
15020 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15021 # must be portable across $(()) and expr.
15022 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15023 eval 'as_fn_arith ()
15030 as_val
=`expr "$@" || test $? -eq 1`
15035 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15036 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15042 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15043 as_basename
=basename
15048 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15054 as_me
=`$as_basename -- "$0" ||
15055 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15056 X"$0" : 'X\(//\)$' \| \
15057 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15059 sed '/^.*\/\([^/][^/]*\)\/*$/{
15073 # Avoid depending upon Character Ranges.
15074 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15075 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15076 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15077 as_cr_digits
='0123456789'
15078 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15080 ECHO_C
= ECHO_N
= ECHO_T
=
15081 case `echo -n x` in #(((((
15083 case `echo 'xy\c'` in
15084 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15086 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15093 rm -f conf$$ conf$$.exe conf$$.
file
15094 if test -d conf$$.dir
; then
15095 rm -f conf$$.dir
/conf$$.
file
15098 mkdir conf$$.dir
2>/dev
/null
15100 if (echo >conf$$.
file) 2>/dev
/null
; then
15101 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15103 # ... but there are two gotchas:
15104 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15105 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15106 # In both cases, we have to default to `cp -p'.
15107 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15109 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15117 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15118 rmdir conf$$.dir
2>/dev
/null
15123 # Create "$as_dir" as a directory, including parents if necessary.
15128 -*) as_dir
=.
/$as_dir;;
15130 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15134 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15135 *) as_qdir
=$as_dir;;
15137 as_dirs
="'$as_qdir' $as_dirs"
15138 as_dir
=`$as_dirname -- "$as_dir" ||
15139 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15140 X"$as_dir" : 'X\(//\)[^/]' \| \
15141 X"$as_dir" : 'X\(//\)$' \| \
15142 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15143 $as_echo X"$as_dir" |
15144 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15148 /^X\(\/\/\)[^/].*/{
15161 test -d "$as_dir" && break
15163 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15164 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
15168 if mkdir
-p .
2>/dev
/null
; then
15169 as_mkdir_p
='mkdir -p "$as_dir"'
15171 test -d .
/-p && rmdir .
/-p
15175 if test -x / >/dev
/null
2>&1; then
15176 as_test_x
='test -x'
15178 if ls -dL / >/dev
/null
2>&1; then
15185 if test -d "$1"; then
15191 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15192 ???[sx]*):;;*)false;;esac;fi
15196 as_executable_p
=$as_test_x
15198 # Sed expression to map a string onto a valid CPP name.
15199 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15201 # Sed expression to map a string onto a valid variable name.
15202 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15206 ## ----------------------------------- ##
15207 ## Main body of $CONFIG_STATUS script. ##
15208 ## ----------------------------------- ##
15210 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15212 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15213 # Save the log message, to keep $0 and so on meaningful, and to
15214 # report actual input values of CONFIG_FILES etc. instead of their
15215 # values after options handling.
15217 This file was extended by Wine $as_me 1.1.41, which was
15218 generated by GNU Autoconf 2.65. Invocation command line was
15220 CONFIG_FILES = $CONFIG_FILES
15221 CONFIG_HEADERS = $CONFIG_HEADERS
15222 CONFIG_LINKS = $CONFIG_LINKS
15223 CONFIG_COMMANDS = $CONFIG_COMMANDS
15226 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15231 case $ac_config_files in *"
15232 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15235 case $ac_config_headers in *"
15236 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
15240 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15241 # Files that config.status was made for.
15242 config_files="$ac_config_files"
15243 config_headers="$ac_config_headers"
15244 config_links="$ac_config_links"
15245 config_commands="$ac_config_commands"
15249 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15251 \`$as_me' instantiates files and other configuration actions
15252 from templates according to the current configuration. Unless the files
15253 and actions are specified as TAGs, all are instantiated by default.
15255 Usage: $0 [OPTION]... [TAG]...
15257 -h, --help print this help, then exit
15258 -V, --version print version number and configuration settings, then exit
15259 --config print configuration, then exit
15260 -q, --quiet, --silent
15261 do not print progress messages
15262 -d, --debug don't remove temporary files
15263 --recheck update $as_me by reconfiguring in the same conditions
15264 --file=FILE[:TEMPLATE]
15265 instantiate the configuration file FILE
15266 --header=FILE[:TEMPLATE]
15267 instantiate the configuration header FILE
15269 Configuration files:
15272 Configuration headers:
15275 Configuration links:
15278 Configuration commands:
15281 Report bugs to <wine-devel@winehq.org>.
15282 Wine home page: <http://www.winehq.org>."
15285 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15286 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15288 Wine config.status 1.1.41
15289 configured by $0, generated by GNU Autoconf 2.65,
15290 with options \\"\$ac_cs_config\\"
15292 Copyright (C) 2009 Free Software Foundation, Inc.
15293 This config.status script is free software; the Free Software Foundation
15294 gives unlimited permission to copy, distribute and modify it."
15299 test -n "\$AWK" || AWK=awk
15302 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15303 # The default lists apply if the user does not specify any file.
15309 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15310 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15321 # Handling of the options.
15322 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15324 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15325 $as_echo "$ac_cs_version"; exit ;;
15326 --config |
--confi |
--conf |
--con |
--co |
--c )
15327 $as_echo "$ac_cs_config"; exit ;;
15328 --debug |
--debu |
--deb |
--de |
--d |
-d )
15330 --file |
--fil |
--fi |
--f )
15333 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15335 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15336 ac_need_defaults
=false
;;
15337 --header |
--heade |
--head |
--hea )
15340 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15342 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
15343 ac_need_defaults
=false
;;
15345 # Conflict between --help and --header
15346 as_fn_error
"ambiguous option: \`$1'
15347 Try \`$0 --help' for more information.";;
15348 --help |
--hel |
-h )
15349 $as_echo "$ac_cs_usage"; exit ;;
15350 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15351 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15354 # This is an error.
15355 -*) as_fn_error
"unrecognized option: \`$1'
15356 Try \`$0 --help' for more information." ;;
15358 *) as_fn_append ac_config_targets
" $1"
15359 ac_need_defaults
=false
;;
15365 ac_configure_extra_args
=
15367 if $ac_cs_silent; then
15369 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15373 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15374 if \$ac_cs_recheck; then
15375 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15377 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15378 CONFIG_SHELL='$SHELL'
15379 export CONFIG_SHELL
15384 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15388 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15389 ## Running $as_me. ##
15395 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15399 wine_fn_output_makefile ()
15401 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && return
15402 $ALL_MAKEFILE_DEPENDS
15404 as_fn_error "could not create Makefile" "$LINENO" 5
15409 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15411 # Handling of arguments.
15412 for ac_config_target
in $ac_config_targets
15414 case $ac_config_target in
15415 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
15416 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
15417 "dlls/wineps.drv/generic.ppd") CONFIG_LINKS
="$CONFIG_LINKS dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd" ;;
15418 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
15419 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
15420 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
15421 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
15422 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
15423 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
15424 "dlls/gdi32/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
15425 "dlls/kernel32/nls") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
15426 "dlls/user32/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user32/resources" ;;
15427 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
15428 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
15429 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
15430 "Maketest.rules") CONFIG_FILES
="$CONFIG_FILES Maketest.rules" ;;
15431 "dlls/Makedll.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
15432 "dlls/Makeimplib.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makeimplib.rules" ;;
15433 "programs/Makeprog.rules") CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
15434 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
15435 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Makefile.in" ;;
15437 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15442 # If the user did not use the arguments to specify the items to instantiate,
15443 # then the envvar interface is used. Set only those that are not.
15444 # We use the long form for the default assignment because of an extremely
15445 # bizarre bug on SunOS 4.1.3.
15446 if $ac_need_defaults; then
15447 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15448 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15449 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
15450 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15453 # Have a temporary directory for convenience. Make it in the build tree
15454 # simply because there is no reason against having it here, and in addition,
15455 # creating and moving files from /tmp can sometimes cause problems.
15456 # Hook for its removal unless debugging.
15457 # Note that there is a small window in which the directory will not be cleaned:
15458 # after its creation but before its name has been assigned to `$tmp'.
15462 trap 'exit_status=$?
15463 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15465 trap 'as_fn_exit 1' 1 2 13 15
15467 # Create a (secure) tmp directory for tmp files.
15470 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15471 test -n "$tmp" && test -d "$tmp"
15474 tmp
=.
/conf$$
-$RANDOM
15475 (umask 077 && mkdir
"$tmp")
15476 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
15478 # Set up the scripts for CONFIG_FILES section.
15479 # No need to generate them if there are no CONFIG_FILES.
15480 # This happens for instance with `./config.status config.h'.
15481 if test -n "$CONFIG_FILES"; then
15483 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
15484 ac_cs_awk_getline
=:
15485 ac_cs_awk_pipe_init
=
15486 ac_cs_awk_read_file
='
15487 while ((getline aline < (F[key])) > 0)
15490 ac_cs_awk_pipe_fini
=
15492 ac_cs_awk_getline
=false
15493 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
15494 ac_cs_awk_read_file
='
15496 print "cat " F[key] " &&"
15497 '$ac_cs_awk_pipe_init
15498 # The final `:' finishes the AND list.
15499 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
15501 ac_cr
=`echo X | tr X '\015'`
15502 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15503 # But we know of no other shell where ac_cr would be empty at this
15504 # point, so we can use a bashism as a fallback.
15505 if test "x$ac_cr" = x
; then
15506 eval ac_cr
=\$
\'\\r
\'
15508 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15509 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15512 ac_cs_awk_cr
=$ac_cr
15515 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15518 # Create commands to substitute file output variables.
15520 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
15521 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
15522 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
15525 } >conf$
$files.sh
&&
15526 . .
/conf$
$files.sh ||
15527 as_fn_error
"could not make $CONFIG_STATUS" "$LINENO" 5
15528 rm -f conf$
$files.sh
15531 echo "cat >conf$$subs.awk <<_ACEOF" &&
15532 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15534 } >conf$$subs.sh ||
15535 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15536 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15538 for ac_last_try in false false false false false :; do
15539 . ./conf$$subs.sh ||
15540 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15542 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15543 if test $ac_delim_n = $ac_delim_num; then
15545 elif $ac_last_try; then
15546 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15548 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15551 rm -f conf$$subs.sh
15553 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15554 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
15558 s/^/S["/; s
/!.
*/"]=/
15568 s/\(.\{148\}\)..*/\1/
15570 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15575 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15582 s/\(.\{148\}\)..*/\1/
15584 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15588 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15593 ' <conf$$subs.awk | sed '
15598 ' >>$CONFIG_STATUS || ac_write_fail=1
15599 rm -f conf$$subs.awk
15600 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15602 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
15603 for (key in S) S_is_set[key] = 1
15605 \$ac_cs_awk_pipe_init
15609 nfields = split(line, field, "@
")
15611 len = length(field[1])
15612 for (i = 2; i < nfields; i++) {
15614 keylen = length(key)
15615 if (S_is_set[key]) {
15617 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15618 len += length(value) + length(field[++i])
15623 if (nfields == 3 && !substed) {
15625 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
15626 \$ac_cs_awk_read_file
15632 \$ac_cs_awk_pipe_fini
15635 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15636 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15637 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15640 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
15641 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
15644 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15645 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
15646 # trailing colons and then remove the whole line if VPATH becomes empty
15647 # (actually we leave an empty line to preserve line numbers).
15648 if test "x
$srcdir" = x.; then
15649 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15650 s/:*\$(srcdir):*/:/
15651 s/:*\${srcdir}:*/:/
15653 s/^\([^=]*=[ ]*\):*/\1/
15659 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15660 fi # test -n "$CONFIG_FILES"
15662 # Set up the scripts for CONFIG_HEADERS section.
15663 # No need to generate them if there are no CONFIG_HEADERS.
15664 # This happens for instance with `./config.status Makefile'.
15665 if test -n "$CONFIG_HEADERS"; then
15666 cat >"$tmp/defines.
awk" <<\_ACAWK ||
15670 # Transform confdefs.h into an awk script `defines.awk', embedded as
15671 # here-document in config.status, that substitutes the proper values into
15672 # config.h.in to produce config.h.
15674 # Create a delimiter string that does not exist in confdefs.h, to ease
15675 # handling of long lines.
15677 for ac_last_try in false false :; do
15678 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
15679 if test -z "$ac_t"; then
15681 elif $ac_last_try; then
15682 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
15684 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15688 # For the awk script, D is an array of macro values keyed by name,
15689 # likewise P contains macro parameters if any. Preserve backslash
15690 # newline sequences.
15692 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15694 s/.\{148\}/&'"$ac_delim"'/g
15697 s/^[ ]*#[ ]*define[ ][ ]*/ /
15704 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
15706 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
15710 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
15711 D["\
1"]=" \
3\\\\\\n
"\\/p
15713 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
15718 s/.\{148\}/&'"$ac_delim"'/g
15723 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
15726 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
15728 ' <confdefs.h | sed '
15729 s/'"$ac_delim"'/"\\\
15730 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15732 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15733 for (key in D) D_is_set[key] = 1
15736 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15738 split(line, arg, " ")
15739 if (arg[1] == "#") {
15743 defundef
= substr
(arg
[1], 2)
15746 split(mac1
, mac2
, "(") #)
15748 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
15749 if (D_is_set
[macro
]) {
15750 # Preserve the white space surrounding the "#".
15751 print prefix
"define", macro P
[macro
] D
[macro
]
15754 # Replace #undef with comments. This is necessary, for example,
15755 # in the case of _POSIX_SOURCE, which is predefined and required
15756 # on some systems where configure will not decide to define it.
15757 if (defundef
== "undef") {
15758 print
"/*", prefix defundef
, macro
, "*/"
15766 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15767 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
15768 fi # test -n "$CONFIG_HEADERS"
15771 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
15776 :[FHLC
]) ac_mode
=$ac_tag; continue;;
15778 case $ac_mode$ac_tag in
15780 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
15781 :[FH
]-) ac_tag
=-:-;;
15782 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
15799 -) ac_f
="$tmp/stdin";;
15800 *) # Look for the file first in the build tree, then in the source tree
15801 # (if the path is not absolute). The absolute path cannot be DOS-style,
15802 # because $ac_f cannot contain `:'.
15806 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
15808 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
15810 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15811 as_fn_append ac_file_inputs
" '$ac_f'"
15814 # Let's still pretend it is `configure' which instantiates (i.e., don't
15815 # use $as_me), people would be surprised to read:
15816 # /* config.h. Generated by config.status. */
15817 configure_input
='Generated from '`
15818 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15820 if test x
"$ac_file" != x-
; then
15821 configure_input
="$ac_file. $configure_input"
15822 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15823 $as_echo "$as_me: creating $ac_file" >&6;}
15825 # Neutralize special characters interpreted by sed in replacement strings.
15826 case $configure_input in #(
15827 *\
&* |
*\|
* |
*\\* )
15828 ac_sed_conf_input
=`$as_echo "$configure_input" |
15829 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15830 *) ac_sed_conf_input
=$configure_input;;
15834 *:-:* |
*:-) cat >"$tmp/stdin" \
15835 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
15840 ac_dir
=`$as_dirname -- "$ac_file" ||
15841 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15842 X"$ac_file" : 'X\(//\)[^/]' \| \
15843 X"$ac_file" : 'X\(//\)$' \| \
15844 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15845 $as_echo X"$ac_file" |
15846 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15850 /^X\(\/\/\)[^/].*/{
15863 as_dir
="$ac_dir"; as_fn_mkdir_p
15867 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15869 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15870 # A ".." for each directory in $ac_dir_suffix.
15871 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15872 case $ac_top_builddir_sub in
15873 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15874 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
15877 ac_abs_top_builddir
=$ac_pwd
15878 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
15879 # for backward compatibility:
15880 ac_top_builddir
=$ac_top_build_prefix
15883 .
) # We are building in place.
15885 ac_top_srcdir
=$ac_top_builddir_sub
15886 ac_abs_top_srcdir
=$ac_pwd ;;
15887 [\\/]* | ?
:[\\/]* ) # Absolute name.
15888 ac_srcdir
=$srcdir$ac_dir_suffix;
15889 ac_top_srcdir
=$srcdir
15890 ac_abs_top_srcdir
=$srcdir ;;
15891 *) # Relative name.
15892 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
15893 ac_top_srcdir
=$ac_top_build_prefix$srcdir
15894 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
15896 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
15906 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
15907 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
15911 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15912 # If the template does not know about datarootdir, expand it.
15913 # FIXME: This hack should be removed a few years after 2.60.
15914 ac_datarootdir_hack
=; ac_datarootdir_seen
=
15925 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15926 *datarootdir
*) ac_datarootdir_seen
=yes;;
15927 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
15928 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15929 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15931 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15932 ac_datarootdir_hack='
15933 s&@datadir@&$datadir&g
15934 s&@docdir@&$docdir&g
15935 s&@infodir@&$infodir&g
15936 s&@localedir@&$localedir&g
15937 s&@mandir@&$mandir&g
15938 s&\\\${datarootdir}&$datarootdir&g' ;;
15942 # Neutralize VPATH when `$srcdir' = `.'.
15943 # Shell code in configure.ac might set extrasub.
15944 # FIXME: do we really want to maintain this feature?
15945 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15946 ac_sed_extra="$ac_vpsub
15949 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15951 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15952 s|@configure_input@|
$ac_sed_conf_input|
;t t
15953 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15954 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15955 s
&@srcdir@
&$ac_srcdir&;t t
15956 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15957 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15958 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15959 s
&@builddir@
&$ac_builddir&;t t
15960 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15961 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15962 s
&@INSTALL@
&$ac_INSTALL&;t t
15963 $ac_datarootdir_hack
15965 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
15966 if $ac_cs_awk_getline; then
15967 $AWK -f "$tmp/subs.
awk"
15969 $AWK -f "$tmp/subs.
awk" | $SHELL
15971 || as_fn_error "could not create
$ac_file" "$LINENO" 5
15973 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15974 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
15975 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
15976 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15977 which seems to be undefined. Please make sure it is defined." >&5
15978 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15979 which seems to be undefined. Please make sure it is defined." >&2;}
15983 -) cat "$tmp/out" && rm -f "$tmp/out";;
15984 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15986 || as_fn_error "could not create $ac_file" "$LINENO" 5
15992 if test x"$ac_file" != x-; then
15994 $as_echo "/* $configure_input */" \
15995 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
15996 } >"$tmp/config.h" \
15997 || as_fn_error "could not create $ac_file" "$LINENO" 5
15998 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
15999 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16000 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16003 mv "$tmp/config.h" "$ac_file" \
16004 || as_fn_error "could not create $ac_file" "$LINENO" 5
16007 $as_echo "/* $configure_input */" \
16008 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16009 || as_fn_error "could not create -" "$LINENO" 5
16017 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
16020 # Prefer the file from the source tree if names are identical.
16021 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
16022 ac_source=$srcdir/$ac_source
16025 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
16026 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
16028 if test ! -r "$ac_source"; then
16029 as_fn_error "$ac_source: file not found" "$LINENO" 5
16033 # Try a relative symlink, then a hard link, then a copy.
16035 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
16036 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
16038 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
16039 ln "$ac_source" "$ac_file" 2>/dev/null ||
16040 cp -p "$ac_source" "$ac_file" ||
16041 as_fn_error "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
16044 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16045 $as_echo "$as_me: executing $ac_file commands" >&6;}
16050 case $ac_file$ac_mode in
16051 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
16052 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/enhmfdrv" >&5
16053 $as_echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;}; as_dir="dlls/gdi32/enhmfdrv"; as_fn_mkdir_p; } ;;
16054 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/mfdrv" >&5
16055 $as_echo "$as_me: creating dlls/gdi32/mfdrv" >&6;}; as_dir="dlls/gdi32/mfdrv"; as_fn_mkdir_p; } ;;
16056 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/kernel32/nls" >&5
16057 $as_echo "$as_me: creating dlls/kernel32/nls" >&6;}; as_dir="dlls/kernel32/nls"; as_fn_mkdir_p; } ;;
16058 "dlls/user32/resources":C) test -d "dlls/user32/resources" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/user32/resources" >&5
16059 $as_echo "$as_me: creating dlls/user32/resources" >&6;}; as_dir="dlls/user32/resources"; as_fn_mkdir_p; } ;;
16060 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/wineps.drv/data" >&5
16061 $as_echo "$as_me: creating dlls/wineps.drv/data" >&6;}; as_dir="dlls/wineps.drv/data"; as_fn_mkdir_p; } ;;
16062 "include/wine":C) test -d "include/wine" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating include/wine" >&5
16063 $as_echo "$as_me: creating include/wine" >&6;}; as_dir="include/wine"; as_fn_mkdir_p; } ;;
16064 "Makefile":C) wine_fn_output_makefile Makefile ;;
16072 ac_clean_files=$ac_clean_files_save
16074 test $ac_write_fail = 0 ||
16075 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
16078 # configure is writing to config.log, and then calls config.status.
16079 # config.status does its own redirection, appending to config.log.
16080 # Unfortunately, on DOS this fails, as config.log is still kept open
16081 # by configure, so config.status won't be able to
write to it
; its
16082 # output is simply discarded. So we exec the FD to /dev/null,
16083 # effectively closing config.log, so it can be properly (re)opened and
16084 # appended to by config.status. When coming back to configure, we
16085 # need to make the FD available again.
16086 if test "$no_create" != yes; then
16088 ac_config_status_args
=
16089 test "$silent" = yes &&
16090 ac_config_status_args
="$ac_config_status_args --quiet"
16092 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16094 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16095 # would make configure fail if this is the last instruction.
16096 $ac_cs_success || as_fn_exit $?
16098 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16100 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16104 if test "$no_create" = "yes"
16110 if test "x$wine_notices != "x
; then
16113 for msg
in $wine_notices; do
16115 if test -n "$msg"; then
16116 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
16117 $as_echo "$as_me: $msg" >&6;}
16122 for msg
in $wine_warnings; do
16124 if test -n "$msg"; then
16126 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
16127 $as_echo "$as_me: WARNING: $msg" >&2;}
16133 $as_me: Finished. Do '${ac_make}' to compile Wine.