2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.65 for Wine 1.1.42.
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.42'
556 PACKAGE_STRING='Wine 1.1.42'
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
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.42 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.42:";;
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.42
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.42, 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_rpcss=${enable_rpcss:-no}
4124 enable_server=${enable_server:-no}
4125 enable_tools=${enable_tools:-no}
4126 enable_wineboot=${enable_wineboot:-no}
4127 enable_winedbg=${enable_winedbg:-no}
4128 enable_winemenubuilder=${enable_winemenubuilder:-no}
4129 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib32"
4132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4133 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4134 if test "${wine_cv_toolsdir+set}" = set; then :
4135 $as_echo_n "(cached) " >&6
4137 wine_cv_toolsdir="$with_wine_tools"
4138 if test -z "$with_wine_tools"; then
4139 if test "$cross_compiling" = "yes"; then
4140 as_fn_error "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4141 elif test -n "$with_wine64"; then
4142 wine_cv_toolsdir="$with_wine64"
4145 if test -z "$wine_cv_toolsdir"; then
4146 wine_cv_toolsdir="\$(TOPOBJDIR)"
4147 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4148 case "$wine_cv_toolsdir" in
4150 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$wine_cv_toolsdir" ;;
4153 as_fn_error "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4157 $as_echo "$wine_cv_toolsdir" >&6; }
4158 TOOLSDIR=$wine_cv_toolsdir
4160 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4162 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
4168 # Extract the first word of "$ac_prog", so it can be a program name with args.
4169 set dummy $ac_prog; ac_word=$2
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4171 $as_echo_n "checking for $ac_word... " >&6; }
4172 if test "${ac_cv_prog_FLEX+set}" = set; then :
4173 $as_echo_n "(cached) " >&6
4175 if test -n "$FLEX"; then
4176 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
4178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4182 test -z "$as_dir" && as_dir=.
4183 for ac_exec_ext in '' $ac_executable_extensions; do
4184 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4185 ac_cv_prog_FLEX="$ac_prog"
4186 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4195 FLEX=$ac_cv_prog_FLEX
4196 if test -n "$FLEX"; then
4197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4198 $as_echo "$FLEX" >&6; }
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4201 $as_echo "no" >&6; }
4205 test -n "$FLEX" && break
4207 test -n "$FLEX" || FLEX="none"
4209 if test "$FLEX" = "none"
4211 as_fn_error "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4214 $as_echo_n "checking whether flex is recent enough... " >&6; }
4215 cat >conftest.l <<EOF
4217 #include "prediluvian.h"
4221 if $FLEX -t conftest.l >/dev/null 2>&1
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4224 $as_echo "yes" >&6; }
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4227 $as_echo "no" >&6; }
4228 as_fn_error "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4231 for ac_prog in bison
4233 # Extract the first word of "$ac_prog", so it can be a program name with args.
4234 set dummy $ac_prog; ac_word=$2
4235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4236 $as_echo_n "checking for $ac_word... " >&6; }
4237 if test "${ac_cv_prog_BISON+set}" = set; then :
4238 $as_echo_n "(cached) " >&6
4240 if test -n "$BISON"; then
4241 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4247 test -z "$as_dir" && as_dir=.
4248 for ac_exec_ext in '' $ac_executable_extensions; do
4249 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4250 ac_cv_prog_BISON="$ac_prog"
4251 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4260 BISON=$ac_cv_prog_BISON
4261 if test -n "$BISON"; then
4262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4263 $as_echo "$BISON" >&6; }
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4266 $as_echo "no" >&6; }
4270 test -n "$BISON" && break
4272 test -n "$BISON" || BISON="none"
4274 if test "$BISON" = "none"
4276 as_fn_error "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4279 if test -n "$ac_tool_prefix"; then
4280 for ac_prog in ar gar
4282 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4283 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4285 $as_echo_n "checking for $ac_word... " >&6; }
4286 if test "${ac_cv_prog_AR+set}" = set; then :
4287 $as_echo_n "(cached) " >&6
4289 if test -n "$AR"; then
4290 ac_cv_prog_AR="$AR" # Let the user override the test.
4292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4296 test -z "$as_dir" && as_dir=.
4297 for ac_exec_ext in '' $ac_executable_extensions; do
4298 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4299 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4300 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4310 if test -n "$AR"; then
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4312 $as_echo "$AR" >&6; }
4314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4315 $as_echo "no" >&6; }
4319 test -n "$AR" && break
4322 if test -z "$AR"; then
4324 for ac_prog in ar gar
4326 # Extract the first word of "$ac_prog", so it can be a program name with args.
4327 set dummy $ac_prog; ac_word=$2
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4329 $as_echo_n "checking for $ac_word... " >&6; }
4330 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
4331 $as_echo_n "(cached) " >&6
4333 if test -n "$ac_ct_AR"; then
4334 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4340 test -z "$as_dir" && as_dir=.
4341 for ac_exec_ext in '' $ac_executable_extensions; do
4342 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4343 ac_cv_prog_ac_ct_AR="$ac_prog"
4344 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4353 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4354 if test -n "$ac_ct_AR"; then
4355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4356 $as_echo "$ac_ct_AR" >&6; }
4358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4359 $as_echo "no" >&6; }
4363 test -n "$ac_ct_AR" && break
4366 if test "x$ac_ct_AR" = x; then
4369 case $cross_compiling:$ac_tool_warned in
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4372 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4373 ac_tool_warned=yes ;;
4381 if test -n "$ac_tool_prefix"; then
4382 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4383 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4385 $as_echo_n "checking for $ac_word... " >&6; }
4386 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4387 $as_echo_n "(cached) " >&6
4389 if test -n "$RANLIB"; then
4390 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4396 test -z "$as_dir" && as_dir=.
4397 for ac_exec_ext in '' $ac_executable_extensions; do
4398 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4399 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4400 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4409 RANLIB=$ac_cv_prog_RANLIB
4410 if test -n "$RANLIB"; then
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4412 $as_echo "$RANLIB" >&6; }
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4415 $as_echo "no" >&6; }
4420 if test -z "$ac_cv_prog_RANLIB"; then
4421 ac_ct_RANLIB=$RANLIB
4422 # Extract the first word of "ranlib", so it can be a program name with args.
4423 set dummy ranlib; ac_word=$2
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4425 $as_echo_n "checking for $ac_word... " >&6; }
4426 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4427 $as_echo_n "(cached) " >&6
4429 if test -n "$ac_ct_RANLIB"; then
4430 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4436 test -z "$as_dir" && as_dir=.
4437 for ac_exec_ext in '' $ac_executable_extensions; do
4438 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4439 ac_cv_prog_ac_ct_RANLIB="ranlib"
4440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4449 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4450 if test -n "$ac_ct_RANLIB"; then
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4452 $as_echo "$ac_ct_RANLIB" >&6; }
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4455 $as_echo "no" >&6; }
4458 if test "x$ac_ct_RANLIB" = x; then
4461 case $cross_compiling:$ac_tool_warned in
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4464 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4465 ac_tool_warned=yes ;;
4467 RANLIB=$ac_ct_RANLIB
4470 RANLIB="$ac_cv_prog_RANLIB"
4473 if test -n "$ac_tool_prefix"; then
4474 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4475 set dummy ${ac_tool_prefix}strip; ac_word=$2
4476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4477 $as_echo_n "checking for $ac_word... " >&6; }
4478 if test "${ac_cv_prog_STRIP+set}" = set; then :
4479 $as_echo_n "(cached) " >&6
4481 if test -n "$STRIP"; then
4482 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4488 test -z "$as_dir" && as_dir=.
4489 for ac_exec_ext in '' $ac_executable_extensions; do
4490 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4491 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4492 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4501 STRIP=$ac_cv_prog_STRIP
4502 if test -n "$STRIP"; then
4503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4504 $as_echo "$STRIP" >&6; }
4506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4507 $as_echo "no" >&6; }
4512 if test -z "$ac_cv_prog_STRIP"; then
4514 # Extract the first word of "strip", so it can be a program name with args.
4515 set dummy strip; ac_word=$2
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4517 $as_echo_n "checking for $ac_word... " >&6; }
4518 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
4519 $as_echo_n "(cached) " >&6
4521 if test -n "$ac_ct_STRIP"; then
4522 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4528 test -z "$as_dir" && as_dir=.
4529 for ac_exec_ext in '' $ac_executable_extensions; do
4530 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4531 ac_cv_prog_ac_ct_STRIP="strip"
4532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4541 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4542 if test -n "$ac_ct_STRIP"; then
4543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4544 $as_echo "$ac_ct_STRIP" >&6; }
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4547 $as_echo "no" >&6; }
4550 if test "x$ac_ct_STRIP" = x; then
4553 case $cross_compiling:$ac_tool_warned in
4555 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4556 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4557 ac_tool_warned=yes ;;
4562 STRIP="$ac_cv_prog_STRIP"
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4566 $as_echo_n "checking whether ln -s works... " >&6; }
4568 if test "$LN_S" = "ln -s"; then
4569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4570 $as_echo "yes" >&6; }
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4573 $as_echo "no, using $LN_S" >&6; }
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4577 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4578 if test "${ac_cv_path_GREP+set}" = set; then :
4579 $as_echo_n "(cached) " >&6
4581 if test -z "$GREP"; then
4582 ac_path_GREP_found=false
4583 # Loop through the user's path and test for each of PROGNAME-LIST
4584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4585 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4588 test -z "$as_dir" && as_dir=.
4589 for ac_prog in grep ggrep; do
4590 for ac_exec_ext in '' $ac_executable_extensions; do
4591 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4592 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4593 # Check for GNU ac_path_GREP and select it if it is found.
4594 # Check for GNU $ac_path_GREP
4595 case `"$ac_path_GREP" --version 2>&1` in
4597 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4600 $as_echo_n 0123456789 >"conftest.in"
4603 cat "conftest.in" "conftest.in" >"conftest.tmp"
4604 mv "conftest.tmp" "conftest.in"
4605 cp "conftest.in" "conftest.nl"
4606 $as_echo 'GREP' >> "conftest.nl"
4607 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4608 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4609 as_fn_arith $ac_count + 1 && ac_count=$as_val
4610 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4611 # Best one so far, save it but keep looking for a better one
4612 ac_cv_path_GREP="$ac_path_GREP"
4613 ac_path_GREP_max=$ac_count
4615 # 10*(2^10) chars as input seems more than enough
4616 test $ac_count -gt 10 && break
4618 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4621 $ac_path_GREP_found && break 3
4626 if test -z "$ac_cv_path_GREP"; then
4627 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4630 ac_cv_path_GREP=$GREP
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4635 $as_echo "$ac_cv_path_GREP" >&6; }
4636 GREP="$ac_cv_path_GREP"
4639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4640 $as_echo_n "checking for egrep... " >&6; }
4641 if test "${ac_cv_path_EGREP+set}" = set; then :
4642 $as_echo_n "(cached) " >&6
4644 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4645 then ac_cv_path_EGREP="$GREP -E"
4647 if test -z "$EGREP"; then
4648 ac_path_EGREP_found=false
4649 # Loop through the user's path and test for each of PROGNAME-LIST
4650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4651 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4654 test -z "$as_dir" && as_dir=.
4655 for ac_prog in egrep; do
4656 for ac_exec_ext in '' $ac_executable_extensions; do
4657 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4658 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4659 # Check for GNU ac_path_EGREP and select it if it is found.
4660 # Check for GNU $ac_path_EGREP
4661 case `"$ac_path_EGREP" --version 2>&1` in
4663 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4666 $as_echo_n 0123456789 >"conftest.in"
4669 cat "conftest.in" "conftest.in" >"conftest.tmp"
4670 mv "conftest.tmp" "conftest.in"
4671 cp "conftest.in" "conftest.nl"
4672 $as_echo 'EGREP' >> "conftest.nl"
4673 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4674 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4675 as_fn_arith $ac_count + 1 && ac_count=$as_val
4676 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4677 # Best one so far, save it but keep looking for a better one
4678 ac_cv_path_EGREP="$ac_path_EGREP"
4679 ac_path_EGREP_max=$ac_count
4681 # 10*(2^10) chars as input seems more than enough
4682 test $ac_count -gt 10 && break
4684 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4687 $ac_path_EGREP_found && break 3
4692 if test -z "$ac_cv_path_EGREP"; then
4693 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4696 ac_cv_path_EGREP=$EGREP
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4702 $as_echo "$ac_cv_path_EGREP" >&6; }
4703 EGREP="$ac_cv_path_EGREP"
4706 # Extract the first word of "ldconfig", so it can be a program name with args.
4707 set dummy ldconfig; ac_word=$2
4708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4709 $as_echo_n "checking for $ac_word... " >&6; }
4710 if test "${ac_cv_path_LDCONFIG+set}" = set; then :
4711 $as_echo_n "(cached) " >&6
4715 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
4718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4719 for as_dir in /sbin /usr/sbin $PATH
4722 test -z "$as_dir" && as_dir=.
4723 for ac_exec_ext in '' $ac_executable_extensions; do
4724 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4725 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
4726 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4733 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
4737 LDCONFIG=$ac_cv_path_LDCONFIG
4738 if test -n "$LDCONFIG"; then
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
4740 $as_echo "$LDCONFIG" >&6; }
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4743 $as_echo "no" >&6; }
4747 # Find a good install program. We prefer a C program (faster),
4748 # so one script is as good as another. But avoid the broken or
4749 # incompatible versions:
4750 # SysV /etc/install, /usr/sbin/install
4751 # SunOS /usr/etc/install
4752 # IRIX /sbin/install
4754 # AmigaOS /C/install, which installs bootblocks on floppy discs
4755 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4756 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4757 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4758 # OS/2's system install, which has a completely different semantic
4759 # ./install, which can be erroneously created by make from ./install.sh.
4760 # Reject install programs that cannot install multiple files.
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4762 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4763 if test -z "$INSTALL"; then
4764 if test "${ac_cv_path_install+set}" = set; then :
4765 $as_echo_n "(cached) " >&6
4767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4771 test -z "$as_dir" && as_dir=.
4772 # Account for people who put trailing slashes in PATH elements.
4773 case $as_dir/ in #((
4774 ./ | .// | /[cC]/* | \
4775 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4776 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
4779 # OSF1 and SCO ODT 3.0 have their own names for install.
4780 # Don't use installbsd from OSF since it installs stuff as root
4782 for ac_prog in ginstall scoinst install; do
4783 for ac_exec_ext in '' $ac_executable_extensions; do
4784 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4785 if test $ac_prog = install &&
4786 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4787 # AIX install. It has an incompatible calling convention.
4789 elif test $ac_prog = install &&
4790 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4791 # program-specific install script used by HP pwplus--don't use.
4794 rm -rf conftest.one conftest.two conftest.dir
4795 echo one > conftest.one
4796 echo two > conftest.two
4798 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
4799 test -s conftest.one && test -s conftest.two &&
4800 test -s conftest.dir/conftest.one &&
4801 test -s conftest.dir/conftest.two
4803 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4816 rm -rf conftest.one conftest.two conftest.dir
4819 if test "${ac_cv_path_install+set}" = set; then
4820 INSTALL=$ac_cv_path_install
4822 # As a last resort, use the slow shell script. Don't cache a
4823 # value for INSTALL within a source directory, because that will
4824 # break other packages using the cache if that directory is
4825 # removed, or if the value is a relative name.
4826 INSTALL=$ac_install_sh
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4830 $as_echo "$INSTALL" >&6; }
4832 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4833 # It thinks the first close brace ends the variable substitution.
4834 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4836 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4838 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4841 [\\/$]* | ?:[\\/]* ) ;;
4842 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
4845 for ac_prog in lclint lint
4847 # Extract the first word of "$ac_prog", so it can be a program name with args.
4848 set dummy $ac_prog; ac_word=$2
4849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4850 $as_echo_n "checking for $ac_word... " >&6; }
4851 if test "${ac_cv_prog_LINT+set}" = set; then :
4852 $as_echo_n "(cached) " >&6
4854 if test -n "$LINT"; then
4855 ac_cv_prog_LINT="$LINT" # Let the user override the test.
4857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4861 test -z "$as_dir" && as_dir=.
4862 for ac_exec_ext in '' $ac_executable_extensions; do
4863 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4864 ac_cv_prog_LINT="$ac_prog"
4865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4874 LINT=$ac_cv_prog_LINT
4875 if test -n "$LINT"; then
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
4877 $as_echo "$LINT" >&6; }
4879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4880 $as_echo "no" >&6; }
4884 test -n "$LINT" && break
4887 if test "$LINT" = "lint"
4889 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
4894 for ac_prog in fontforge
4896 # Extract the first word of "$ac_prog", so it can be a program name with args.
4897 set dummy $ac_prog; ac_word=$2
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4899 $as_echo_n "checking for $ac_word... " >&6; }
4900 if test "${ac_cv_prog_FONTFORGE+set}" = set; then :
4901 $as_echo_n "(cached) " >&6
4903 if test -n "$FONTFORGE"; then
4904 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
4906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4910 test -z "$as_dir" && as_dir=.
4911 for ac_exec_ext in '' $ac_executable_extensions; do
4912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4913 ac_cv_prog_FONTFORGE="$ac_prog"
4914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4923 FONTFORGE=$ac_cv_prog_FONTFORGE
4924 if test -n "$FONTFORGE"; then
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
4926 $as_echo "$FONTFORGE" >&6; }
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4929 $as_echo "no" >&6; }
4933 test -n "$FONTFORGE" && break
4935 test -n "$FONTFORGE" || FONTFORGE="false"
4937 for ac_prog in pkg-config
4939 # Extract the first word of "$ac_prog", so it can be a program name with args.
4940 set dummy $ac_prog; ac_word=$2
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4942 $as_echo_n "checking for $ac_word... " >&6; }
4943 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then :
4944 $as_echo_n "(cached) " >&6
4946 if test -n "$PKG_CONFIG"; then
4947 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
4949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4953 test -z "$as_dir" && as_dir=.
4954 for ac_exec_ext in '' $ac_executable_extensions; do
4955 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4956 ac_cv_prog_PKG_CONFIG="$ac_prog"
4957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4966 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
4967 if test -n "$PKG_CONFIG"; then
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4969 $as_echo "$PKG_CONFIG" >&6; }
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4972 $as_echo "no" >&6; }
4976 test -n "$PKG_CONFIG" && break
4978 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
4982 # Extract the first word of "$ac_prog", so it can be a program name with args.
4983 set dummy $ac_prog; ac_word=$2
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4985 $as_echo_n "checking for $ac_word... " >&6; }
4986 if test "${ac_cv_prog_RSVG+set}" = set; then :
4987 $as_echo_n "(cached) " >&6
4989 if test -n "$RSVG"; then
4990 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
4992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4996 test -z "$as_dir" && as_dir=.
4997 for ac_exec_ext in '' $ac_executable_extensions; do
4998 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4999 ac_cv_prog_RSVG="$ac_prog"
5000 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5009 RSVG=$ac_cv_prog_RSVG
5010 if test -n "$RSVG"; then
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5012 $as_echo "$RSVG" >&6; }
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5015 $as_echo "no" >&6; }
5019 test -n "$RSVG" && break
5021 test -n "$RSVG" || RSVG="false"
5023 for ac_prog in icotool
5025 # Extract the first word of "$ac_prog", so it can be a program name with args.
5026 set dummy $ac_prog; ac_word=$2
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5028 $as_echo_n "checking for $ac_word... " >&6; }
5029 if test "${ac_cv_prog_ICOTOOL+set}" = set; then :
5030 $as_echo_n "(cached) " >&6
5032 if test -n "$ICOTOOL"; then
5033 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5039 test -z "$as_dir" && as_dir=.
5040 for ac_exec_ext in '' $ac_executable_extensions; do
5041 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5042 ac_cv_prog_ICOTOOL="$ac_prog"
5043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5052 ICOTOOL=$ac_cv_prog_ICOTOOL
5053 if test -n "$ICOTOOL"; then
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5055 $as_echo "$ICOTOOL" >&6; }
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5058 $as_echo "no" >&6; }
5062 test -n "$ICOTOOL" && break
5064 test -n "$ICOTOOL" || ICOTOOL="false"
5067 if test "${enable_maintainer_mode+set}" = set
5069 if test "$FONTFORGE" = "false"; then as_fn_append wine_warnings "|fontforge is missing, fonts can't be rebuilt."; fi
5070 if test "$RSVG" = "false"; then as_fn_append wine_warnings "|rsvg is missing, icons can't be rebuilt."; fi
5071 if test "$ICOTOOL" = "false"; then as_fn_append wine_warnings "|icotool is missing, icons can't be rebuilt."; fi
5076 # Extract the first word of "prelink", so it can be a program name with args.
5077 set dummy prelink; ac_word=$2
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5079 $as_echo_n "checking for $ac_word... " >&6; }
5080 if test "${ac_cv_path_PRELINK+set}" = set; then :
5081 $as_echo_n "(cached) " >&6
5085 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
5088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5089 for as_dir in /sbin /usr/sbin $PATH
5092 test -z "$as_dir" && as_dir=.
5093 for ac_exec_ext in '' $ac_executable_extensions; do
5094 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5095 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
5096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5103 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
5107 PRELINK=$ac_cv_path_PRELINK
5108 if test -n "$PRELINK"; then
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
5110 $as_echo "$PRELINK" >&6; }
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5113 $as_echo "no" >&6; }
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5122 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5123 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then :
5124 $as_echo_n "(cached) " >&6
5126 ac_check_lib_save_LIBS=$LIBS
5128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5129 /* end confdefs.h. */
5131 /* Override any GCC internal prototype to avoid an error.
5132 Use char because int might match the return type of a GCC
5133 builtin and then its argument prototype would still apply. */
5137 char i386_set_ldt ();
5141 return i386_set_ldt ();
5146 if ac_fn_c_try_link "$LINENO"; then :
5147 ac_cv_lib_i386_i386_set_ldt=yes
5149 ac_cv_lib_i386_i386_set_ldt=no
5151 rm -f core conftest.err conftest.$ac_objext \
5152 conftest$ac_exeext conftest.$ac_ext
5153 LIBS=$ac_check_lib_save_LIBS
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5156 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5157 if test "x$ac_cv_lib_i386_i386_set_ldt" = x""yes; then :
5158 cat >>confdefs.h <<_ACEOF
5159 #define HAVE_LIBI386 1
5166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5167 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5168 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then :
5169 $as_echo_n "(cached) " >&6
5171 ac_check_lib_save_LIBS=$LIBS
5172 LIBS="-lossaudio $LIBS"
5173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5174 /* end confdefs.h. */
5176 /* Override any GCC internal prototype to avoid an error.
5177 Use char because int might match the return type of a GCC
5178 builtin and then its argument prototype would still apply. */
5186 return _oss_ioctl ();
5191 if ac_fn_c_try_link "$LINENO"; then :
5192 ac_cv_lib_ossaudio__oss_ioctl=yes
5194 ac_cv_lib_ossaudio__oss_ioctl=no
5196 rm -f core conftest.err conftest.$ac_objext \
5197 conftest$ac_exeext conftest.$ac_ext
5198 LIBS=$ac_check_lib_save_LIBS
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5201 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5202 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = x""yes; then :
5203 cat >>confdefs.h <<_ACEOF
5204 #define HAVE_LIBOSSAUDIO 1
5207 LIBS="-lossaudio $LIBS"
5218 # Check whether --enable-largefile was given.
5219 if test "${enable_largefile+set}" = set; then :
5220 enableval=$enable_largefile;
5223 if test "$enable_largefile" != no; then
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5226 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5227 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
5228 $as_echo_n "(cached) " >&6
5230 ac_cv_sys_largefile_CC=no
5231 if test "$GCC" != yes; then
5234 # IRIX 6.2 and later do not support large files by default,
5235 # so use the C compiler's -n32 option if that helps.
5236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5237 /* end confdefs.h. */
5238 #include <sys/types.h>
5239 /* Check that off_t can represent 2**63 - 1 correctly.
5240 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5241 since some C++ compilers masquerading as C compilers
5242 incorrectly reject 9223372036854775807. */
5243 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5244 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5245 && LARGE_OFF_T % 2147483647 == 1)
5255 if ac_fn_c_try_compile "$LINENO"; then :
5258 rm -f core conftest.err conftest.$ac_objext
5260 if ac_fn_c_try_compile "$LINENO"; then :
5261 ac_cv_sys_largefile_CC=' -n32'; break
5263 rm -f core conftest.err conftest.$ac_objext
5267 rm -f conftest.$ac_ext
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5271 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5272 if test "$ac_cv_sys_largefile_CC" != no; then
5273 CC=$CC$ac_cv_sys_largefile_CC
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5277 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5278 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
5279 $as_echo_n "(cached) " >&6
5282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5283 /* end confdefs.h. */
5284 #include <sys/types.h>
5285 /* Check that off_t can represent 2**63 - 1 correctly.
5286 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5287 since some C++ compilers masquerading as C compilers
5288 incorrectly reject 9223372036854775807. */
5289 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5290 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5291 && LARGE_OFF_T % 2147483647 == 1)
5301 if ac_fn_c_try_compile "$LINENO"; then :
5302 ac_cv_sys_file_offset_bits=no; break
5304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5306 /* end confdefs.h. */
5307 #define _FILE_OFFSET_BITS 64
5308 #include <sys/types.h>
5309 /* Check that off_t can represent 2**63 - 1 correctly.
5310 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5311 since some C++ compilers masquerading as C compilers
5312 incorrectly reject 9223372036854775807. */
5313 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5314 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5315 && LARGE_OFF_T % 2147483647 == 1)
5325 if ac_fn_c_try_compile "$LINENO"; then :
5326 ac_cv_sys_file_offset_bits=64; break
5328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5329 ac_cv_sys_file_offset_bits=unknown
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5334 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5335 case $ac_cv_sys_file_offset_bits in #(
5338 cat >>confdefs.h <<_ACEOF
5339 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5344 if test $ac_cv_sys_file_offset_bits = unknown; then
5345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5346 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5347 if test "${ac_cv_sys_large_files+set}" = set; then :
5348 $as_echo_n "(cached) " >&6
5351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5352 /* end confdefs.h. */
5353 #include <sys/types.h>
5354 /* Check that off_t can represent 2**63 - 1 correctly.
5355 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5356 since some C++ compilers masquerading as C compilers
5357 incorrectly reject 9223372036854775807. */
5358 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5359 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5360 && LARGE_OFF_T % 2147483647 == 1)
5370 if ac_fn_c_try_compile "$LINENO"; then :
5371 ac_cv_sys_large_files=no; break
5373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5375 /* end confdefs.h. */
5376 #define _LARGE_FILES 1
5377 #include <sys/types.h>
5378 /* Check that off_t can represent 2**63 - 1 correctly.
5379 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5380 since some C++ compilers masquerading as C compilers
5381 incorrectly reject 9223372036854775807. */
5382 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5383 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5384 && LARGE_OFF_T % 2147483647 == 1)
5394 if ac_fn_c_try_compile "$LINENO"; then :
5395 ac_cv_sys_large_files=1; break
5397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5398 ac_cv_sys_large_files=unknown
5402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5403 $as_echo "$ac_cv_sys_large_files" >&6; }
5404 case $ac_cv_sys_large_files in #(
5407 cat >>confdefs.h <<_ACEOF
5408 #define _LARGE_FILES $ac_cv_sys_large_files
5418 ac_cpp='$CPP $CPPFLAGS'
5419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5423 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5424 # On Suns, sometimes $CPP names a directory.
5425 if test -n "$CPP" && test -d "$CPP"; then
5428 if test -z "$CPP"; then
5429 if test "${ac_cv_prog_CPP+set}" = set; then :
5430 $as_echo_n "(cached) " >&6
5432 # Double quotes because CPP needs to be expanded
5433 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5436 for ac_c_preproc_warn_flag in '' yes
5438 # Use a header file that comes with gcc, so configuring glibc
5439 # with a fresh cross-compiler works.
5440 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5441 # <limits.h> exists even on freestanding compilers.
5442 # On the NeXT, cc -E runs the code through the compiler's parser,
5443 # not just through cpp. "Syntax error" is here to catch this case.
5444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5445 /* end confdefs.h. */
5447 # include <limits.h>
5449 # include <assert.h>
5453 if ac_fn_c_try_cpp "$LINENO"; then :
5456 # Broken: fails on valid input.
5459 rm -f conftest.err conftest.$ac_ext
5461 # OK, works on sane cases. Now check whether nonexistent headers
5462 # can be detected and how.
5463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5464 /* end confdefs.h. */
5465 #include <ac_nonexistent.h>
5467 if ac_fn_c_try_cpp "$LINENO"; then :
5468 # Broken: success on invalid input.
5471 # Passes both tests.
5475 rm -f conftest.err conftest.$ac_ext
5478 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5479 rm -f conftest.err conftest.$ac_ext
5480 if $ac_preproc_ok; then :
5492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5493 $as_echo "$CPP" >&6; }
5495 for ac_c_preproc_warn_flag in '' yes
5497 # Use a header file that comes with gcc, so configuring glibc
5498 # with a fresh cross-compiler works.
5499 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5500 # <limits.h> exists even on freestanding compilers.
5501 # On the NeXT, cc -E runs the code through the compiler's parser,
5502 # not just through cpp. "Syntax error" is here to catch this case.
5503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5504 /* end confdefs.h. */
5506 # include <limits.h>
5508 # include <assert.h>
5512 if ac_fn_c_try_cpp "$LINENO"; then :
5515 # Broken: fails on valid input.
5518 rm -f conftest.err conftest.$ac_ext
5520 # OK, works on sane cases. Now check whether nonexistent headers
5521 # can be detected and how.
5522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5523 /* end confdefs.h. */
5524 #include <ac_nonexistent.h>
5526 if ac_fn_c_try_cpp "$LINENO"; then :
5527 # Broken: success on invalid input.
5530 # Passes both tests.
5534 rm -f conftest.err conftest.$ac_ext
5537 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5538 rm -f conftest.err conftest.$ac_ext
5539 if $ac_preproc_ok; then :
5542 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5543 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5544 as_fn_error "C preprocessor \"$CPP\" fails sanity check
5545 See \`config.log' for more details." "$LINENO" 5; }
5549 ac_cpp='$CPP $CPPFLAGS'
5550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5556 $as_echo_n "checking for ANSI C header files... " >&6; }
5557 if test "${ac_cv_header_stdc+set}" = set; then :
5558 $as_echo_n "(cached) " >&6
5560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5561 /* end confdefs.h. */
5575 if ac_fn_c_try_compile "$LINENO"; then :
5576 ac_cv_header_stdc=yes
5578 ac_cv_header_stdc=no
5580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5582 if test $ac_cv_header_stdc = yes; then
5583 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5585 /* end confdefs.h. */
5589 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5590 $EGREP "memchr" >/dev/null 2>&1; then :
5593 ac_cv_header_stdc=no
5599 if test $ac_cv_header_stdc = yes; then
5600 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5602 /* end confdefs.h. */
5606 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5607 $EGREP "free" >/dev/null 2>&1; then :
5610 ac_cv_header_stdc=no
5616 if test $ac_cv_header_stdc = yes; then
5617 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5618 if test "$cross_compiling" = yes; then :
5621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5622 /* end confdefs.h. */
5625 #if ((' ' & 0x0FF) == 0x020)
5626 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5627 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5629 # define ISLOWER(c) \
5630 (('a' <= (c) && (c) <= 'i') \
5631 || ('j' <= (c) && (c) <= 'r') \
5632 || ('s' <= (c) && (c) <= 'z'))
5633 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5636 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5641 for (i = 0; i < 256; i++)
5642 if (XOR (islower (i), ISLOWER (i))
5643 || toupper (i) != TOUPPER (i))
5648 if ac_fn_c_try_run "$LINENO"; then :
5651 ac_cv_header_stdc=no
5653 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5654 conftest.$ac_objext conftest.beam conftest.$ac_ext
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5660 $as_echo "$ac_cv_header_stdc" >&6; }
5661 if test $ac_cv_header_stdc = yes; then
5663 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5667 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5668 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5669 inttypes.h stdint.h unistd.h
5671 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5672 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5674 eval as_val=\$$as_ac_Header
5675 if test "x$as_val" = x""yes; then :
5676 cat >>confdefs.h <<_ACEOF
5677 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5687 AudioToolbox/AudioConverter.h \
5688 AudioToolbox/AudioFile.h \
5689 AudioToolbox/AudioFileStream.h \
5690 AudioUnit/AudioUnit.h \
5692 CoreAudio/CoreAudio.h \
5693 DiskArbitration/DiskArbitration.h \
5695 IOKit/hid/IOHIDLib.h \
5710 fontconfig/fontconfig.h \
5743 machine/soundcard.h \
5749 netinet/in_systm.h \
5817 valgrind/memcheck.h \
5818 valgrind/valgrind.h \
5822 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5823 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5824 eval as_val=\$$as_ac_Header
5825 if test "x$as_val" = x""yes; then :
5826 cat >>confdefs.h <<_ACEOF
5827 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
5835 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
5836 if test "${ac_cv_header_stat_broken+set}" = set; then :
5837 $as_echo_n "(cached) " >&6
5839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5840 /* end confdefs.h. */
5841 #include <sys/types.h>
5842 #include <sys/stat.h>
5844 #if defined S_ISBLK && defined S_IFDIR
5845 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
5848 #if defined S_ISBLK && defined S_IFCHR
5849 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
5852 #if defined S_ISLNK && defined S_IFREG
5853 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
5856 #if defined S_ISSOCK && defined S_IFREG
5857 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
5861 if ac_fn_c_try_compile "$LINENO"; then :
5862 ac_cv_header_stat_broken=no
5864 ac_cv_header_stat_broken=yes
5866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
5869 $as_echo "$ac_cv_header_stat_broken" >&6; }
5870 if test $ac_cv_header_stat_broken = yes; then
5872 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
5878 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
5880 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5881 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
5882 #ifdef HAVE_SYS_PARAM_H
5883 # include <sys/param.h>
5886 eval as_val=\$$as_ac_Header
5887 if test "x$as_val" = x""yes; then :
5888 cat >>confdefs.h <<_ACEOF
5889 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5904 netinet/if_ether.h \
5905 netinet/if_inarp.h \
5913 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5914 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
5915 #ifdef HAVE_SYS_SOCKET_H
5916 # include <sys/socket.h>
5918 #ifdef HAVE_SYS_SOCKETVAR_H
5919 # include <sys/socketvar.h>
5921 #ifdef HAVE_NET_ROUTE_H
5922 # include <net/route.h>
5924 #ifdef HAVE_NETINET_IN_H
5925 # include <netinet/in.h>
5927 #ifdef HAVE_NETINET_IN_SYSTM_H
5928 # include <netinet/in_systm.h>
5930 #ifdef HAVE_NET_IF_H
5931 # include <net/if.h>
5933 #ifdef HAVE_NETINET_IP_H
5934 # include <netinet/ip.h>
5937 eval as_val=\$$as_ac_Header
5938 if test "x$as_val" = x""yes; then :
5939 cat >>confdefs.h <<_ACEOF
5940 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5948 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
5950 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5951 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
5955 #ifdef HAVE_SYS_SOCKET_H
5956 # include <sys/socket.h>
5958 #ifdef HAVE_SYS_SOCKETVAR_H
5959 # include <sys/socketvar.h>
5961 #ifdef HAVE_SYS_TIMEOUT_H
5962 # include <sys/timeout.h>
5964 #ifdef HAVE_NETINET_IN_H
5965 # include <netinet/in.h>
5967 #ifdef HAVE_NETINET_IN_SYSTM_H
5968 # include <netinet/in_systm.h>
5970 #ifdef HAVE_NETINET_IP_H
5971 # include <netinet/ip.h>
5973 #ifdef HAVE_NETINET_IP_VAR_H
5974 # include <netinet/ip_var.h>
5976 #ifdef HAVE_NETINET_IP_ICMP_H
5977 # include <netinet/ip_icmp.h>
5979 #ifdef HAVE_NETINET_UDP_H
5980 # include <netinet/udp.h>
5982 #ifdef HAVE_NETINET_TCP_H
5983 # include <netinet/tcp.h>
5985 #ifdef HAVE_NETINET_TCP_TIMER_H
5986 #include <netinet/tcp_timer.h>
5989 eval as_val=\$$as_ac_Header
5990 if test "x$as_val" = x""yes; then :
5991 cat >>confdefs.h <<_ACEOF
5992 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6000 for ac_header in linux/ipx.h linux/irda.h
6002 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6003 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6004 #ifdef HAVE_ASM_TYPES_H
6005 # include <asm/types.h>
6007 #ifdef HAVE_SYS_SOCKET_H
6008 # include <sys/socket.h>
6010 #ifdef HAVE_LINUX_TYPES_H
6011 # include <linux/types.h>
6014 eval as_val=\$$as_ac_Header
6015 if test "x$as_val" = x""yes; then :
6016 cat >>confdefs.h <<_ACEOF
6017 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6025 for ac_header in mach-o/dyld_images.h
6027 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6028 # include <stdbool.h>
6030 #ifdef HAVE_STDINT_H
6031 # include <stdint.h>
6034 if test "x$ac_cv_header_mach_o_dyld_images_h" = x""yes; then :
6035 cat >>confdefs.h <<_ACEOF
6036 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6044 for ac_header in resolv.h
6046 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6047 #ifdef HAVE_SYS_SOCKET_H
6048 # include <sys/socket.h>
6050 #ifdef HAVE_NETINET_IN_H
6051 # include <netinet/in.h>
6053 #ifdef HAVE_ARPA_NAMESER_H
6054 # include <arpa/nameser.h>
6057 if test "x$ac_cv_header_resolv_h" = x""yes; then :
6058 cat >>confdefs.h <<_ACEOF
6059 #define HAVE_RESOLV_H 1
6067 for ac_header in ifaddrs.h
6069 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6071 if test "x$ac_cv_header_ifaddrs_h" = x""yes; then :
6072 cat >>confdefs.h <<_ACEOF
6073 #define HAVE_IFADDRS_H 1
6081 for ac_header in ucontext.h
6083 ac_fn_c_check_header_compile "$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6085 if test "x$ac_cv_header_ucontext_h" = x""yes; then :
6086 cat >>confdefs.h <<_ACEOF
6087 #define HAVE_UCONTEXT_H 1
6095 for ac_header in sys/thr.h
6097 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6098 #ifdef HAVE_UCONTEXT_H
6099 #include <ucontext.h>
6102 if test "x$ac_cv_header_sys_thr_h" = x""yes; then :
6103 cat >>confdefs.h <<_ACEOF
6104 #define HAVE_SYS_THR_H 1
6112 for ac_header in pthread_np.h
6114 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6115 #include <pthread.h>
6118 if test "x$ac_cv_header_pthread_np_h" = x""yes; then :
6119 cat >>confdefs.h <<_ACEOF
6120 #define HAVE_PTHREAD_NP_H 1
6128 for ac_header in linux/videodev.h
6130 ac_fn_c_check_header_compile "$LINENO" "linux/videodev.h" "ac_cv_header_linux_videodev_h" "#ifdef HAVE_SYS_TIME_H
6131 #include <sys/time.h>
6133 #include <sys/types.h>
6134 #ifdef HAVE_ASM_TYPES_H
6135 #include <asm/types.h>
6138 if test "x$ac_cv_header_linux_videodev_h" = x""yes; then :
6139 cat >>confdefs.h <<_ACEOF
6140 #define HAVE_LINUX_VIDEODEV_H 1
6148 for ac_header in linux/capi.h
6150 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
6152 if test "x$ac_cv_header_linux_capi_h" = x""yes; then :
6153 cat >>confdefs.h <<_ACEOF
6154 #define HAVE_LINUX_CAPI_H 1
6165 DLLFLAGS="-D_REENTRANT"
6179 STATIC_IMPLIBEXT="def.a"
6180 # Extract the first word of "ldd", so it can be a program name with args.
6181 set dummy ldd; ac_word=$2
6182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6183 $as_echo_n "checking for $ac_word... " >&6; }
6184 if test "${ac_cv_path_LDD+set}" = set; then :
6185 $as_echo_n "(cached) " >&6
6189 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
6192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6193 as_dummy="/sbin:/usr/sbin:$PATH"
6194 for as_dir in $as_dummy
6197 test -z "$as_dir" && as_dir=.
6198 for ac_exec_ext in '' $ac_executable_extensions; do
6199 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6200 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
6201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6208 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
6213 if test -n "$LDD"; then
6214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6215 $as_echo "$LDD" >&6; }
6217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6218 $as_echo "no" >&6; }
6225 if test -n "$ac_tool_prefix"; then
6226 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6227 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6229 $as_echo_n "checking for $ac_word... " >&6; }
6230 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
6231 $as_echo_n "(cached) " >&6
6233 if test -n "$DLLTOOL"; then
6234 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6240 test -z "$as_dir" && as_dir=.
6241 for ac_exec_ext in '' $ac_executable_extensions; do
6242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6243 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6253 DLLTOOL=$ac_cv_prog_DLLTOOL
6254 if test -n "$DLLTOOL"; then
6255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6256 $as_echo "$DLLTOOL" >&6; }
6258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6259 $as_echo "no" >&6; }
6264 if test -z "$ac_cv_prog_DLLTOOL"; then
6265 ac_ct_DLLTOOL=$DLLTOOL
6266 # Extract the first word of "dlltool", so it can be a program name with args.
6267 set dummy dlltool; ac_word=$2
6268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6269 $as_echo_n "checking for $ac_word... " >&6; }
6270 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
6271 $as_echo_n "(cached) " >&6
6273 if test -n "$ac_ct_DLLTOOL"; then
6274 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6280 test -z "$as_dir" && as_dir=.
6281 for ac_exec_ext in '' $ac_executable_extensions; do
6282 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6283 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6284 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6293 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6294 if test -n "$ac_ct_DLLTOOL"; then
6295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6296 $as_echo "$ac_ct_DLLTOOL" >&6; }
6298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6299 $as_echo "no" >&6; }
6302 if test "x$ac_ct_DLLTOOL" = x; then
6305 case $cross_compiling:$ac_tool_warned in
6307 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6308 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6309 ac_tool_warned=yes ;;
6311 DLLTOOL=$ac_ct_DLLTOOL
6314 DLLTOOL="$ac_cv_prog_DLLTOOL"
6317 if test -n "$ac_tool_prefix"; then
6318 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
6319 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
6320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6321 $as_echo_n "checking for $ac_word... " >&6; }
6322 if test "${ac_cv_prog_DLLWRAP+set}" = set; then :
6323 $as_echo_n "(cached) " >&6
6325 if test -n "$DLLWRAP"; then
6326 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
6328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6332 test -z "$as_dir" && as_dir=.
6333 for ac_exec_ext in '' $ac_executable_extensions; do
6334 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6335 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
6336 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6345 DLLWRAP=$ac_cv_prog_DLLWRAP
6346 if test -n "$DLLWRAP"; then
6347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLWRAP" >&5
6348 $as_echo "$DLLWRAP" >&6; }
6350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6351 $as_echo "no" >&6; }
6356 if test -z "$ac_cv_prog_DLLWRAP"; then
6357 ac_ct_DLLWRAP=$DLLWRAP
6358 # Extract the first word of "dllwrap", so it can be a program name with args.
6359 set dummy dllwrap; ac_word=$2
6360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6361 $as_echo_n "checking for $ac_word... " >&6; }
6362 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then :
6363 $as_echo_n "(cached) " >&6
6365 if test -n "$ac_ct_DLLWRAP"; then
6366 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
6368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6372 test -z "$as_dir" && as_dir=.
6373 for ac_exec_ext in '' $ac_executable_extensions; do
6374 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6375 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
6376 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6385 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
6386 if test -n "$ac_ct_DLLWRAP"; then
6387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLWRAP" >&5
6388 $as_echo "$ac_ct_DLLWRAP" >&6; }
6390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6391 $as_echo "no" >&6; }
6394 if test "x$ac_ct_DLLWRAP" = x; then
6397 case $cross_compiling:$ac_tool_warned in
6399 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6400 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6401 ac_tool_warned=yes ;;
6403 DLLWRAP=$ac_ct_DLLWRAP
6406 DLLWRAP="$ac_cv_prog_DLLWRAP"
6409 if test "$DLLWRAP" = "false"; then
6415 STATIC_IMPLIBEXT="a"
6416 enable_iphlpapi=${enable_iphlpapi:-no}
6417 enable_kernel32=${enable_kernel32:-no}
6418 enable_msvcrt=${enable_msvcrt:-no}
6419 enable_ntdll=${enable_ntdll:-no}
6420 enable_ws2_32=${enable_ws2_32:-no}
6421 enable_loader=${enable_loader:-no}
6422 enable_server=${enable_server:-no}
6423 with_x=${with_x:-no}
6424 with_pthread=${with_pthread:-no}
6429 DLLFLAGS="$DLLFLAGS -fPIC"
6430 LDDLLFLAGS="-bundle -multiply_defined suppress"
6431 LIBWINE_LDFLAGS="-multiply_defined suppress"
6432 LDSHARED="\$(CC) -dynamiclib"
6434 LDRPATH_LOCAL="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
6435 SECURITYLIB="-framework Security -framework CoreFoundation"
6437 COREFOUNDATIONLIB="-framework CoreFoundation"
6439 IOKITLIB="-framework IOKit -framework CoreFoundation"
6441 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHAREDHEAP,0x7f000000"
6443 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
6445 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
6448 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
6450 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
6452 ac_save_LIBS="$LIBS"
6453 if test "$ac_cv_header_AudioToolbox_AudioFile_h" = "yes"
6455 LIBS="$LIBS $COREAUDIO"
6456 for ac_func in AudioFileStreamOpen
6458 ac_fn_c_check_func "$LINENO" "AudioFileStreamOpen" "ac_cv_func_AudioFileStreamOpen"
6459 if test "x$ac_cv_func_AudioFileStreamOpen" = x""yes; then :
6460 cat >>confdefs.h <<_ACEOF
6461 #define HAVE_AUDIOFILESTREAMOPEN 1
6467 LIBS="$ac_save_LIBS"
6469 test "x$ac_cv_func_AudioFileStreamOpen" = xyes || as_fn_append wine_notices "|AudioToolbox version too old, mp3 codec won't be supported."
6471 if test "$ac_cv_header_OpenAL_al_h" = "yes"
6473 FRAMEWORK_OPENAL="-framework OpenAL"
6476 cat >>confdefs.h <<_ACEOF
6477 #define HAVE_OPENAL 1
6480 ac_cv_lib_openal=yes
6482 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
6484 ac_save_LIBS="$LIBS"
6485 LIBS="$LIBS $IOKITLIB"
6486 for ac_func in IOHIDManagerCreate
6488 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
6489 if test "x$ac_cv_func_IOHIDManagerCreate" = x""yes; then :
6490 cat >>confdefs.h <<_ACEOF
6491 #define HAVE_IOHIDMANAGERCREATE 1
6497 LIBS="$ac_save_LIBS"
6501 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
6503 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
6505 CARBONLIB="-framework Carbon"
6507 enable_winequartz_drv=${enable_winequartz_drv:-yes}
6509 if test "x$enable_win16" = "xyes"
6511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
6512 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
6513 if test "$cross_compiling" = yes; then :
6514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
6515 $as_echo "cross-compiling, assuming yes" >&6; }
6517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6518 /* end confdefs.h. */
6521 "good:\tnop;nop\n\t"
6522 ".globl _testfunc\n"
6523 "_testfunc:\tcallw good");
6524 extern void testfunc();
6528 unsigned short *p = (unsigned short *)testfunc;
6529 return p[0] != 0xe866 || p[1] != 0xfffa
6534 if ac_fn_c_try_run "$LINENO"; then :
6535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6536 $as_echo "yes" >&6; }
6538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6539 $as_echo "no" >&6; }
6540 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
6542 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6543 conftest.$ac_objext conftest.beam conftest.$ac_ext
6549 DLLFLAGS="$DLLFLAGS -fPIC"
6551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
6552 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
6553 if test "${ac_cv_c_dll_gnuelf+set}" = set; then :
6554 $as_echo_n "(cached) " >&6
6556 ac_wine_try_cflags_saved=$CFLAGS
6557 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
6558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6559 /* end confdefs.h. */
6562 if ac_fn_c_try_link "$LINENO"; then :
6563 ac_cv_c_dll_gnuelf="yes"
6565 ac_cv_c_dll_gnuelf="no"
6567 rm -f core conftest.err conftest.$ac_objext \
6568 conftest$ac_exeext conftest.$ac_ext
6569 CFLAGS=$ac_wine_try_cflags_saved
6571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
6572 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
6573 if test "$ac_cv_c_dll_gnuelf" = "yes"
6575 LDSHARED="\$(CC) -shared"
6576 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
6577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
6578 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
6579 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then :
6580 $as_echo_n "(cached) " >&6
6582 ac_wine_try_cflags_saved=$CFLAGS
6583 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
6584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6585 /* end confdefs.h. */
6586 int main(int argc, char **argv) { return 0; }
6588 if ac_fn_c_try_link "$LINENO"; then :
6589 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
6591 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
6593 rm -f core conftest.err conftest.$ac_objext \
6594 conftest$ac_exeext conftest.$ac_ext
6595 CFLAGS=$ac_wine_try_cflags_saved
6597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
6598 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
6599 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then :
6600 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
6602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
6603 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
6604 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then :
6605 $as_echo_n "(cached) " >&6
6607 ac_wine_try_cflags_saved=$CFLAGS
6608 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
6609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6610 /* end confdefs.h. */
6611 int main(int argc, char **argv) { return 0; }
6613 if ac_fn_c_try_link "$LINENO"; then :
6614 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
6616 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
6618 rm -f core conftest.err conftest.$ac_objext \
6619 conftest$ac_exeext conftest.$ac_ext
6620 CFLAGS=$ac_wine_try_cflags_saved
6622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
6623 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
6624 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then :
6625 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
6629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
6630 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... " >&6; }
6631 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then :
6632 $as_echo_n "(cached) " >&6
6634 ac_wine_try_cflags_saved=$CFLAGS
6635 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
6636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6637 /* end confdefs.h. */
6638 int main(int argc, char **argv) { return 0; }
6640 if ac_fn_c_try_link "$LINENO"; then :
6641 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
6643 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
6645 rm -f core conftest.err conftest.$ac_objext \
6646 conftest$ac_exeext conftest.$ac_ext
6647 CFLAGS=$ac_wine_try_cflags_saved
6649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
6650 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
6651 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then :
6652 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
6655 { $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
6656 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... " >&6; }
6657 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then :
6658 $as_echo_n "(cached) " >&6
6660 ac_wine_try_cflags_saved=$CFLAGS
6661 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
6662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6663 /* end confdefs.h. */
6664 int main(int argc, char **argv) { return 0; }
6666 if ac_fn_c_try_link "$LINENO"; then :
6667 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
6669 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
6671 rm -f core conftest.err conftest.$ac_objext \
6672 conftest$ac_exeext conftest.$ac_ext
6673 CFLAGS=$ac_wine_try_cflags_saved
6675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
6676 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
6677 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then :
6678 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
6681 echo '{ global: *; };' >conftest.map
6682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
6683 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
6684 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then :
6685 $as_echo_n "(cached) " >&6
6687 ac_wine_try_cflags_saved=$CFLAGS
6688 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
6689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6690 /* end confdefs.h. */
6691 int main(int argc, char **argv) { return 0; }
6693 if ac_fn_c_try_link "$LINENO"; then :
6694 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
6696 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
6698 rm -f core conftest.err conftest.$ac_objext \
6699 conftest$ac_exeext conftest.$ac_ext
6700 CFLAGS=$ac_wine_try_cflags_saved
6702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
6703 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
6704 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then :
6705 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
6709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
6710 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
6711 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then :
6712 $as_echo_n "(cached) " >&6
6714 ac_wine_try_cflags_saved=$CFLAGS
6715 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
6716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6717 /* end confdefs.h. */
6718 int main(int argc, char **argv) { return 0; }
6720 if ac_fn_c_try_link "$LINENO"; then :
6721 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
6723 ac_cv_cflags__fPIC__Wl___export_dynamic=no
6725 rm -f core conftest.err conftest.$ac_objext \
6726 conftest$ac_exeext conftest.$ac_ext
6727 CFLAGS=$ac_wine_try_cflags_saved
6729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
6730 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
6731 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
6732 LDEXECFLAGS="-Wl,--export-dynamic"
6736 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
6737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
6738 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
6739 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then :
6740 $as_echo_n "(cached) " >&6
6742 ac_wine_try_cflags_saved=$CFLAGS
6743 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
6744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6745 /* end confdefs.h. */
6746 int main(int argc, char **argv) { return 0; }
6748 if ac_fn_c_try_link "$LINENO"; then :
6749 eval "$as_ac_var=yes"
6751 eval "$as_ac_var=no"
6753 rm -f core conftest.err conftest.$ac_objext \
6754 conftest$ac_exeext conftest.$ac_ext
6755 CFLAGS=$ac_wine_try_cflags_saved
6757 eval ac_res=\$$as_ac_var
6758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6759 $as_echo "$ac_res" >&6; }
6760 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6761 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6762 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
6764 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
6765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
6766 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
6767 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then :
6768 $as_echo_n "(cached) " >&6
6770 ac_wine_try_cflags_saved=$CFLAGS
6771 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
6772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6773 /* end confdefs.h. */
6774 int main(int argc, char **argv) { return 0; }
6776 if ac_fn_c_try_link "$LINENO"; then :
6777 eval "$as_ac_var=yes"
6779 eval "$as_ac_var=no"
6781 rm -f core conftest.err conftest.$ac_objext \
6782 conftest$ac_exeext conftest.$ac_ext
6783 CFLAGS=$ac_wine_try_cflags_saved
6785 eval ac_res=\$$as_ac_var
6786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6787 $as_echo "$ac_res" >&6; }
6788 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6789 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6790 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
6794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
6795 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
6796 if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then :
6797 $as_echo_n "(cached) " >&6
6799 ac_wine_try_cflags_saved=$CFLAGS
6800 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
6801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6802 /* end confdefs.h. */
6803 int main(int argc, char **argv) { return 0; }
6805 if ac_fn_c_try_link "$LINENO"; then :
6806 ac_cv_cflags__Wl___enable_new_dtags=yes
6808 ac_cv_cflags__Wl___enable_new_dtags=no
6810 rm -f core conftest.err conftest.$ac_objext \
6811 conftest$ac_exeext conftest.$ac_ext
6812 CFLAGS=$ac_wine_try_cflags_saved
6814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
6815 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
6816 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
6817 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
6821 *i[3456789]86* | x86_64)
6822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
6823 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
6824 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then :
6825 $as_echo_n "(cached) " >&6
6827 ac_wine_try_cflags_saved=$CFLAGS
6828 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
6829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6830 /* end confdefs.h. */
6831 int main(int argc, char **argv) { return 0; }
6833 if ac_fn_c_try_link "$LINENO"; then :
6834 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
6836 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
6838 rm -f core conftest.err conftest.$ac_objext \
6839 conftest$ac_exeext conftest.$ac_ext
6840 CFLAGS=$ac_wine_try_cflags_saved
6842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
6843 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
6844 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
6845 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
6851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
6852 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
6853 if test "${ac_cv_c_dll_unixware+set}" = set; then :
6854 $as_echo_n "(cached) " >&6
6856 ac_wine_try_cflags_saved=$CFLAGS
6857 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
6858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6859 /* end confdefs.h. */
6862 if ac_fn_c_try_link "$LINENO"; then :
6863 ac_cv_c_dll_unixware="yes"
6865 ac_cv_c_dll_unixware="no"
6867 rm -f core conftest.err conftest.$ac_objext \
6868 conftest$ac_exeext conftest.$ac_ext
6869 CFLAGS=$ac_wine_try_cflags_saved
6871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
6872 $as_echo "$ac_cv_c_dll_unixware" >&6; }
6873 if test "$ac_cv_c_dll_unixware" = "yes"
6875 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
6876 LDDLLFLAGS="-Wl,-G,-B,symbolic"
6879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build an HP-UX dll" >&5
6880 $as_echo_n "checking whether we can build an HP-UX dll... " >&6; }
6881 if test "${ac_cv_c_dll_hpux+set}" = set; then :
6882 $as_echo_n "(cached) " >&6
6884 ac_wine_try_cflags_saved=$CFLAGS
6885 CFLAGS="$CFLAGS -shared"
6886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6887 /* end confdefs.h. */
6890 if ac_fn_c_try_link "$LINENO"; then :
6891 ac_cv_c_dll_hpux="yes"
6893 ac_cv_c_dll_hpux="no"
6895 rm -f core conftest.err conftest.$ac_objext \
6896 conftest$ac_exeext conftest.$ac_ext
6897 CFLAGS=$ac_wine_try_cflags_saved
6899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_hpux" >&5
6900 $as_echo "$ac_cv_c_dll_hpux" >&6; }
6901 if test "$ac_cv_c_dll_hpux" = "yes"
6905 LDDLLFLAGS="-shared -fPIC"
6906 LDSHARED="\$(CC) -shared"
6913 enable_winequartz_drv=${enable_winequartz_drv:-no}
6915 if test "$LIBEXT" = "a"; then
6916 as_fn_error "could not find a way to build shared libraries.
6917 It is currently not possible to build Wine without shared library
6918 (.so) support to allow transparent switch between .so and .dll files.
6919 If you are using Linux, you will need a newer binutils.
6923 if test "$cross_compiling" = "no" -a "$LIBEXT" != "dll"
6927 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 " ;;
6929 ac_prefix_list="x86_64-pc-mingw32-gcc x86_64-w64-mingw32-gcc " ;;
6931 ac_prefix_list="" ;;
6933 for ac_prog in $ac_prefix_list
6935 # Extract the first word of "$ac_prog", so it can be a program name with args.
6936 set dummy $ac_prog; ac_word=$2
6937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6938 $as_echo_n "checking for $ac_word... " >&6; }
6939 if test "${ac_cv_prog_CROSSCC+set}" = set; then :
6940 $as_echo_n "(cached) " >&6
6942 if test -n "$CROSSCC"; then
6943 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
6945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6949 test -z "$as_dir" && as_dir=.
6950 for ac_exec_ext in '' $ac_executable_extensions; do
6951 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6952 ac_cv_prog_CROSSCC="$ac_prog"
6953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6962 CROSSCC=$ac_cv_prog_CROSSCC
6963 if test -n "$CROSSCC"; then
6964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
6965 $as_echo "$CROSSCC" >&6; }
6967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6968 $as_echo "no" >&6; }
6972 test -n "$CROSSCC" && break
6974 test -n "$CROSSCC" || CROSSCC="false"
6976 if test "$CROSSCC" != "false"
6978 CROSSTEST="\$(CROSSTEST)"
6986 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
6990 if test -n "$target"
6992 CROSSTARGET="$target"
6999 if test "$ac_cv_header_pthread_h" = "yes"
7001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
7002 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
7003 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then :
7004 $as_echo_n "(cached) " >&6
7006 ac_check_lib_save_LIBS=$LIBS
7007 LIBS="-lpthread $LIBS"
7008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7009 /* end confdefs.h. */
7011 /* Override any GCC internal prototype to avoid an error.
7012 Use char because int might match the return type of a GCC
7013 builtin and then its argument prototype would still apply. */
7017 char pthread_create ();
7021 return pthread_create ();
7026 if ac_fn_c_try_link "$LINENO"; then :
7027 ac_cv_lib_pthread_pthread_create=yes
7029 ac_cv_lib_pthread_pthread_create=no
7031 rm -f core conftest.err conftest.$ac_objext \
7032 conftest$ac_exeext conftest.$ac_ext
7033 LIBS=$ac_check_lib_save_LIBS
7035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
7036 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
7037 if test "x$ac_cv_lib_pthread_pthread_create" = x""yes; then :
7038 LIBPTHREAD="-lpthread"
7043 if test "x$LIBPTHREAD" = "x"; then :
7044 case "x$with_pthread" in
7046 *) as_fn_error "pthread ${notice_platform}development files not found.
7047 Wine cannot support threads without libpthread.
7048 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
7053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
7054 $as_echo_n "checking for X... " >&6; }
7057 # Check whether --with-x was given.
7058 if test "${with_x+set}" = set; then :
7062 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7063 if test "x$with_x" = xno; then
7064 # The user explicitly disabled X.
7067 case $x_includes,$x_libraries in #(
7068 *\'*) as_fn_error "cannot use X directory names containing '" "$LINENO" 5;; #(
7069 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
7070 $as_echo_n "(cached) " >&6
7072 # One or both of the vars are not set, and there is no cached value.
7073 ac_x_includes=no ac_x_libraries=no
7074 rm -f -r conftest.dir
7075 if mkdir conftest.dir; then
7077 cat >Imakefile <<'_ACEOF'
7079 @echo incroot='${INCROOT}'
7081 @echo usrlibdir='${USRLIBDIR}'
7083 @echo libdir='${LIBDIR}'
7085 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
7086 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7087 for ac_var in incroot usrlibdir libdir; do
7088 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
7090 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7091 for ac_extension in a so sl dylib la dll; do
7092 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
7093 test -f "$ac_im_libdir/libX11.$ac_extension"; then
7094 ac_im_usrlibdir=$ac_im_libdir; break
7097 # Screen out bogus values from the imake configuration. They are
7098 # bogus both because they are the default anyway, and because
7099 # using them would break gcc on systems where it needs fixed includes.
7100 case $ac_im_incroot in
7101 /usr/include) ac_x_includes= ;;
7102 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
7104 case $ac_im_usrlibdir in
7105 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
7106 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
7110 rm -f -r conftest.dir
7113 # Standard set of common directories for X headers.
7114 # Check X11 before X11Rn because it is often a symlink to the current release.
7128 /usr/local/X11/include
7129 /usr/local/X11R7/include
7130 /usr/local/X11R6/include
7131 /usr/local/X11R5/include
7132 /usr/local/X11R4/include
7134 /usr/local/include/X11
7135 /usr/local/include/X11R7
7136 /usr/local/include/X11R6
7137 /usr/local/include/X11R5
7138 /usr/local/include/X11R4
7142 /usr/XFree86/include/X11
7146 /usr/unsupported/include
7148 /usr/local/x11r5/include
7149 /usr/lpp/Xamples/include
7151 /usr/openwin/include
7152 /usr/openwin/share/include'
7154 if test "$ac_x_includes" = no; then
7155 # Guess where to find include files, by looking for Xlib.h.
7156 # First, try using that file with no special directory specified.
7157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7158 /* end confdefs.h. */
7159 #include <X11/Xlib.h>
7161 if ac_fn_c_try_cpp "$LINENO"; then :
7162 # We can compile using X headers with no special include directory.
7165 for ac_dir in $ac_x_header_dirs; do
7166 if test -r "$ac_dir/X11/Xlib.h"; then
7167 ac_x_includes=$ac_dir
7172 rm -f conftest.err conftest.$ac_ext
7173 fi # $ac_x_includes = no
7175 if test "$ac_x_libraries" = no; then
7176 # Check for the libraries.
7177 # See if we find them without any special options.
7178 # Don't add to $LIBS permanently.
7181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7182 /* end confdefs.h. */
7183 #include <X11/Xlib.h>
7192 if ac_fn_c_try_link "$LINENO"; then :
7194 # We can link X programs with no special library path.
7198 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
7200 # Don't even attempt the hair of trying to link an X program!
7201 for ac_extension in a so sl dylib la dll; do
7202 if test -r "$ac_dir/libX11.$ac_extension"; then
7203 ac_x_libraries=$ac_dir
7209 rm -f core conftest.err conftest.$ac_objext \
7210 conftest$ac_exeext conftest.$ac_ext
7211 fi # $ac_x_libraries = no
7213 case $ac_x_includes,$ac_x_libraries in #(
7215 # Didn't find X, or a directory has "'" in its name.
7216 ac_cv_have_x="have_x=no";; #(
7218 # Record where we found X for the cache.
7219 ac_cv_have_x="have_x=yes\
7220 ac_x_includes='$ac_x_includes'\
7221 ac_x_libraries='$ac_x_libraries'"
7227 eval "$ac_cv_have_x"
7230 if test "$have_x" != yes; then
7231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
7232 $as_echo "$have_x" >&6; }
7235 # If each of the values was on the command line, it overrides each guess.
7236 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
7237 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
7238 # Update the cache value to reflect the command line values.
7239 ac_cv_have_x="have_x=yes\
7240 ac_x_includes='$x_includes'\
7241 ac_x_libraries='$x_libraries'"
7242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
7243 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
7246 if test "$no_x" = yes; then
7247 # Not all programs may use this symbol, but it does not hurt to define it.
7249 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
7251 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
7253 if test -n "$x_includes"; then
7254 X_CFLAGS="$X_CFLAGS -I$x_includes"
7257 # It would also be nice to do this for all -L options, not just this one.
7258 if test -n "$x_libraries"; then
7259 X_LIBS="$X_LIBS -L$x_libraries"
7260 # For Solaris; some versions of Sun CC require a space after -R and
7261 # others require no space. Words are not sufficient . . . .
7262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
7263 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
7264 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
7265 ac_xsave_c_werror_flag=$ac_c_werror_flag
7266 ac_c_werror_flag=yes
7267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7268 /* end confdefs.h. */
7278 if ac_fn_c_try_link "$LINENO"; then :
7279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7280 $as_echo "no" >&6; }
7281 X_LIBS="$X_LIBS -R$x_libraries"
7283 LIBS="$ac_xsave_LIBS -R $x_libraries"
7284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7285 /* end confdefs.h. */
7295 if ac_fn_c_try_link "$LINENO"; then :
7296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7297 $as_echo "yes" >&6; }
7298 X_LIBS="$X_LIBS -R $x_libraries"
7300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
7301 $as_echo "neither works" >&6; }
7303 rm -f core conftest.err conftest.$ac_objext \
7304 conftest$ac_exeext conftest.$ac_ext
7306 rm -f core conftest.err conftest.$ac_objext \
7307 conftest$ac_exeext conftest.$ac_ext
7308 ac_c_werror_flag=$ac_xsave_c_werror_flag
7312 # Check for system-dependent libraries X programs must link with.
7313 # Do this before checking for the system-independent R6 libraries
7314 # (-lICE), since we may need -lsocket or whatever for X linking.
7316 if test "$ISC" = yes; then
7317 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
7319 # Martyn Johnson says this is needed for Ultrix, if the X
7320 # libraries were built with DECnet support. And Karl Berry says
7321 # the Alpha needs dnet_stub (dnet does not exist).
7322 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
7323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7324 /* end confdefs.h. */
7326 /* Override any GCC internal prototype to avoid an error.
7327 Use char because int might match the return type of a GCC
7328 builtin and then its argument prototype would still apply. */
7332 char XOpenDisplay ();
7336 return XOpenDisplay ();
7341 if ac_fn_c_try_link "$LINENO"; then :
7344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
7345 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
7346 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
7347 $as_echo_n "(cached) " >&6
7349 ac_check_lib_save_LIBS=$LIBS
7351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7352 /* end confdefs.h. */
7354 /* Override any GCC internal prototype to avoid an error.
7355 Use char because int might match the return type of a GCC
7356 builtin and then its argument prototype would still apply. */
7364 return dnet_ntoa ();
7369 if ac_fn_c_try_link "$LINENO"; then :
7370 ac_cv_lib_dnet_dnet_ntoa=yes
7372 ac_cv_lib_dnet_dnet_ntoa=no
7374 rm -f core conftest.err conftest.$ac_objext \
7375 conftest$ac_exeext conftest.$ac_ext
7376 LIBS=$ac_check_lib_save_LIBS
7378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
7379 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
7380 if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then :
7381 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
7384 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
7385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
7386 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
7387 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
7388 $as_echo_n "(cached) " >&6
7390 ac_check_lib_save_LIBS=$LIBS
7391 LIBS="-ldnet_stub $LIBS"
7392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7393 /* end confdefs.h. */
7395 /* Override any GCC internal prototype to avoid an error.
7396 Use char because int might match the return type of a GCC
7397 builtin and then its argument prototype would still apply. */
7405 return dnet_ntoa ();
7410 if ac_fn_c_try_link "$LINENO"; then :
7411 ac_cv_lib_dnet_stub_dnet_ntoa=yes
7413 ac_cv_lib_dnet_stub_dnet_ntoa=no
7415 rm -f core conftest.err conftest.$ac_objext \
7416 conftest$ac_exeext conftest.$ac_ext
7417 LIBS=$ac_check_lib_save_LIBS
7419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
7420 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
7421 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then :
7422 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
7427 rm -f core conftest.err conftest.$ac_objext \
7428 conftest$ac_exeext conftest.$ac_ext
7429 LIBS="$ac_xsave_LIBS"
7431 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7432 # to get the SysV transport functions.
7433 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
7435 # The nsl library prevents programs from opening the X display
7436 # on Irix 5.2, according to T.E. Dickey.
7437 # The functions gethostbyname, getservbyname, and inet_addr are
7438 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
7439 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
7440 if test "x$ac_cv_func_gethostbyname" = x""yes; then :
7444 if test $ac_cv_func_gethostbyname = no; then
7445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
7446 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
7447 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
7448 $as_echo_n "(cached) " >&6
7450 ac_check_lib_save_LIBS=$LIBS
7452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7453 /* end confdefs.h. */
7455 /* Override any GCC internal prototype to avoid an error.
7456 Use char because int might match the return type of a GCC
7457 builtin and then its argument prototype would still apply. */
7461 char gethostbyname ();
7465 return gethostbyname ();
7470 if ac_fn_c_try_link "$LINENO"; then :
7471 ac_cv_lib_nsl_gethostbyname=yes
7473 ac_cv_lib_nsl_gethostbyname=no
7475 rm -f core conftest.err conftest.$ac_objext \
7476 conftest$ac_exeext conftest.$ac_ext
7477 LIBS=$ac_check_lib_save_LIBS
7479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
7480 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
7481 if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
7482 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
7485 if test $ac_cv_lib_nsl_gethostbyname = no; then
7486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
7487 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
7488 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
7489 $as_echo_n "(cached) " >&6
7491 ac_check_lib_save_LIBS=$LIBS
7493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7494 /* end confdefs.h. */
7496 /* Override any GCC internal prototype to avoid an error.
7497 Use char because int might match the return type of a GCC
7498 builtin and then its argument prototype would still apply. */
7502 char gethostbyname ();
7506 return gethostbyname ();
7511 if ac_fn_c_try_link "$LINENO"; then :
7512 ac_cv_lib_bsd_gethostbyname=yes
7514 ac_cv_lib_bsd_gethostbyname=no
7516 rm -f core conftest.err conftest.$ac_objext \
7517 conftest$ac_exeext conftest.$ac_ext
7518 LIBS=$ac_check_lib_save_LIBS
7520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
7521 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
7522 if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then :
7523 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
7529 # lieder@skyler.mavd.honeywell.com says without -lsocket,
7530 # socket/setsockopt and other routines are undefined under SCO ODT
7531 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
7532 # on later versions), says Simon Leinen: it contains gethostby*
7533 # variants that don't use the name server (or something). -lsocket
7534 # must be given before -lnsl if both are needed. We assume that
7535 # if connect needs -lnsl, so does gethostbyname.
7536 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
7537 if test "x$ac_cv_func_connect" = x""yes; then :
7541 if test $ac_cv_func_connect = no; then
7542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
7543 $as_echo_n "checking for connect in -lsocket... " >&6; }
7544 if test "${ac_cv_lib_socket_connect+set}" = set; then :
7545 $as_echo_n "(cached) " >&6
7547 ac_check_lib_save_LIBS=$LIBS
7548 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
7549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7550 /* end confdefs.h. */
7552 /* Override any GCC internal prototype to avoid an error.
7553 Use char because int might match the return type of a GCC
7554 builtin and then its argument prototype would still apply. */
7567 if ac_fn_c_try_link "$LINENO"; then :
7568 ac_cv_lib_socket_connect=yes
7570 ac_cv_lib_socket_connect=no
7572 rm -f core conftest.err conftest.$ac_objext \
7573 conftest$ac_exeext conftest.$ac_ext
7574 LIBS=$ac_check_lib_save_LIBS
7576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
7577 $as_echo "$ac_cv_lib_socket_connect" >&6; }
7578 if test "x$ac_cv_lib_socket_connect" = x""yes; then :
7579 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
7584 # Guillermo Gomez says -lposix is necessary on A/UX.
7585 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
7586 if test "x$ac_cv_func_remove" = x""yes; then :
7590 if test $ac_cv_func_remove = no; then
7591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
7592 $as_echo_n "checking for remove in -lposix... " >&6; }
7593 if test "${ac_cv_lib_posix_remove+set}" = set; then :
7594 $as_echo_n "(cached) " >&6
7596 ac_check_lib_save_LIBS=$LIBS
7597 LIBS="-lposix $LIBS"
7598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7599 /* end confdefs.h. */
7601 /* Override any GCC internal prototype to avoid an error.
7602 Use char because int might match the return type of a GCC
7603 builtin and then its argument prototype would still apply. */
7616 if ac_fn_c_try_link "$LINENO"; then :
7617 ac_cv_lib_posix_remove=yes
7619 ac_cv_lib_posix_remove=no
7621 rm -f core conftest.err conftest.$ac_objext \
7622 conftest$ac_exeext conftest.$ac_ext
7623 LIBS=$ac_check_lib_save_LIBS
7625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
7626 $as_echo "$ac_cv_lib_posix_remove" >&6; }
7627 if test "x$ac_cv_lib_posix_remove" = x""yes; then :
7628 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
7633 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
7634 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
7635 if test "x$ac_cv_func_shmat" = x""yes; then :
7639 if test $ac_cv_func_shmat = no; then
7640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
7641 $as_echo_n "checking for shmat in -lipc... " >&6; }
7642 if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
7643 $as_echo_n "(cached) " >&6
7645 ac_check_lib_save_LIBS=$LIBS
7647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7648 /* end confdefs.h. */
7650 /* Override any GCC internal prototype to avoid an error.
7651 Use char because int might match the return type of a GCC
7652 builtin and then its argument prototype would still apply. */
7665 if ac_fn_c_try_link "$LINENO"; then :
7666 ac_cv_lib_ipc_shmat=yes
7668 ac_cv_lib_ipc_shmat=no
7670 rm -f core conftest.err conftest.$ac_objext \
7671 conftest$ac_exeext conftest.$ac_ext
7672 LIBS=$ac_check_lib_save_LIBS
7674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
7675 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
7676 if test "x$ac_cv_lib_ipc_shmat" = x""yes; then :
7677 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
7683 # Check for libraries that X11R6 Xt/Xaw programs need.
7684 ac_save_LDFLAGS=$LDFLAGS
7685 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
7686 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
7687 # check for ICE first), but we must link in the order -lSM -lICE or
7688 # we get undefined symbols. So assume we have SM if we have ICE.
7689 # These have to be linked with before -lX11, unlike the other
7690 # libraries we check for below, so use a different variable.
7691 # John Interrante, Karl Berry
7692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
7693 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
7694 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
7695 $as_echo_n "(cached) " >&6
7697 ac_check_lib_save_LIBS=$LIBS
7698 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
7699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7700 /* end confdefs.h. */
7702 /* Override any GCC internal prototype to avoid an error.
7703 Use char because int might match the return type of a GCC
7704 builtin and then its argument prototype would still apply. */
7708 char IceConnectionNumber ();
7712 return IceConnectionNumber ();
7717 if ac_fn_c_try_link "$LINENO"; then :
7718 ac_cv_lib_ICE_IceConnectionNumber=yes
7720 ac_cv_lib_ICE_IceConnectionNumber=no
7722 rm -f core conftest.err conftest.$ac_objext \
7723 conftest$ac_exeext conftest.$ac_ext
7724 LIBS=$ac_check_lib_save_LIBS
7726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
7727 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
7728 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then :
7729 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
7732 LDFLAGS=$ac_save_LDFLAGS
7737 if test "$have_x" = "yes"
7740 ac_save_CPPFLAGS="$CPPFLAGS"
7741 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
7743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
7744 $as_echo_n "checking for -lX11... " >&6; }
7745 if test "${ac_cv_lib_soname_X11+set}" = set; then :
7746 $as_echo_n "(cached) " >&6
7748 ac_check_soname_save_LIBS=$LIBS
7749 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
7750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7751 /* end confdefs.h. */
7753 /* Override any GCC internal prototype to avoid an error.
7754 Use char because int might match the return type of a GCC
7755 builtin and then its argument prototype would still apply. */
7759 char XCreateWindow ();
7763 return XCreateWindow ();
7768 if ac_fn_c_try_link "$LINENO"; then :
7770 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
7771 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'` ;;
7772 *) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
7775 rm -f core conftest.err conftest.$ac_objext \
7776 conftest$ac_exeext conftest.$ac_ext
7777 LIBS=$ac_check_soname_save_LIBS
7779 if test "x$ac_cv_lib_soname_X11" = "x"; then :
7780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
7781 $as_echo "not found" >&6; }
7784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
7785 $as_echo "$ac_cv_lib_soname_X11" >&6; }
7787 cat >>confdefs.h <<_ACEOF
7788 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
7793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
7794 $as_echo_n "checking for -lXext... " >&6; }
7795 if test "${ac_cv_lib_soname_Xext+set}" = set; then :
7796 $as_echo_n "(cached) " >&6
7798 ac_check_soname_save_LIBS=$LIBS
7799 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
7800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7801 /* end confdefs.h. */
7803 /* Override any GCC internal prototype to avoid an error.
7804 Use char because int might match the return type of a GCC
7805 builtin and then its argument prototype would still apply. */
7809 char XextCreateExtension ();
7813 return XextCreateExtension ();
7818 if ac_fn_c_try_link "$LINENO"; then :
7820 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
7821 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'` ;;
7822 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
7825 rm -f core conftest.err conftest.$ac_objext \
7826 conftest$ac_exeext conftest.$ac_ext
7827 LIBS=$ac_check_soname_save_LIBS
7829 if test "x$ac_cv_lib_soname_Xext" = "x"; then :
7830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
7831 $as_echo "not found" >&6; }
7834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
7835 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
7837 cat >>confdefs.h <<_ACEOF
7838 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
7844 for ac_header in X11/Xlib.h \
7847 X11/Xcursor/Xcursor.h \
7848 X11/extensions/shape.h \
7849 X11/extensions/XInput.h \
7850 X11/extensions/XShm.h \
7851 X11/extensions/Xcomposite.h \
7852 X11/extensions/Xinerama.h \
7853 X11/extensions/Xrandr.h \
7854 X11/extensions/Xrender.h \
7855 X11/extensions/xf86vmode.h \
7856 X11/extensions/xf86vmproto.h
7858 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7859 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
7860 # include <X11/Xlib.h>
7862 #ifdef HAVE_X11_XUTIL_H
7863 # include <X11/Xutil.h>
7866 eval as_val=\$$as_ac_Header
7867 if test "x$as_val" = x""yes; then :
7868 cat >>confdefs.h <<_ACEOF
7869 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7877 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
7879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
7880 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
7881 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then :
7882 $as_echo_n "(cached) " >&6
7884 ac_check_lib_save_LIBS=$LIBS
7885 LIBS="-lX11 $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
7886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7887 /* end confdefs.h. */
7889 /* Override any GCC internal prototype to avoid an error.
7890 Use char because int might match the return type of a GCC
7891 builtin and then its argument prototype would still apply. */
7895 char XkbQueryExtension ();
7899 return XkbQueryExtension ();
7904 if ac_fn_c_try_link "$LINENO"; then :
7905 ac_cv_lib_X11_XkbQueryExtension=yes
7907 ac_cv_lib_X11_XkbQueryExtension=no
7909 rm -f core conftest.err conftest.$ac_objext \
7910 conftest$ac_exeext conftest.$ac_ext
7911 LIBS=$ac_check_lib_save_LIBS
7913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
7914 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
7915 if test "x$ac_cv_lib_X11_XkbQueryExtension" = x""yes; then :
7917 $as_echo "#define HAVE_XKB 1" >>confdefs.h
7923 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
7925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
7926 $as_echo_n "checking for -lXcursor... " >&6; }
7927 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then :
7928 $as_echo_n "(cached) " >&6
7930 ac_check_soname_save_LIBS=$LIBS
7931 LIBS="-lXcursor $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
7932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7933 /* end confdefs.h. */
7935 /* Override any GCC internal prototype to avoid an error.
7936 Use char because int might match the return type of a GCC
7937 builtin and then its argument prototype would still apply. */
7941 char XcursorImageLoadCursor ();
7945 return XcursorImageLoadCursor ();
7950 if ac_fn_c_try_link "$LINENO"; then :
7952 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
7953 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'` ;;
7954 *) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
7957 rm -f core conftest.err conftest.$ac_objext \
7958 conftest$ac_exeext conftest.$ac_ext
7959 LIBS=$ac_check_soname_save_LIBS
7961 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
7962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
7963 $as_echo "not found" >&6; }
7966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
7967 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
7969 cat >>confdefs.h <<_ACEOF
7970 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
7976 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
7977 case "x$with_xcursor" in
7978 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
7980 *) as_fn_error "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
7981 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
7985 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
7987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
7988 $as_echo_n "checking for -lXi... " >&6; }
7989 if test "${ac_cv_lib_soname_Xi+set}" = set; then :
7990 $as_echo_n "(cached) " >&6
7992 ac_check_soname_save_LIBS=$LIBS
7993 LIBS="-lXi $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
7994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7995 /* end confdefs.h. */
7997 /* Override any GCC internal prototype to avoid an error.
7998 Use char because int might match the return type of a GCC
7999 builtin and then its argument prototype would still apply. */
8003 char XOpenDevice ();
8007 return XOpenDevice ();
8012 if ac_fn_c_try_link "$LINENO"; then :
8014 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8015 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'` ;;
8016 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8019 rm -f core conftest.err conftest.$ac_objext \
8020 conftest$ac_exeext conftest.$ac_ext
8021 LIBS=$ac_check_soname_save_LIBS
8023 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8025 $as_echo "not found" >&6; }
8028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
8029 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
8031 cat >>confdefs.h <<_ACEOF
8032 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
8038 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8039 case "x$with_xinput" in
8040 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
8042 *) as_fn_error "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
8043 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
8047 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
8049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
8050 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
8051 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then :
8052 $as_echo_n "(cached) " >&6
8054 ac_check_lib_save_LIBS=$LIBS
8055 LIBS="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8057 /* end confdefs.h. */
8059 /* Override any GCC internal prototype to avoid an error.
8060 Use char because int might match the return type of a GCC
8061 builtin and then its argument prototype would still apply. */
8065 char XShmQueryExtension ();
8069 return XShmQueryExtension ();
8074 if ac_fn_c_try_link "$LINENO"; then :
8075 ac_cv_lib_Xext_XShmQueryExtension=yes
8077 ac_cv_lib_Xext_XShmQueryExtension=no
8079 rm -f core conftest.err conftest.$ac_objext \
8080 conftest$ac_exeext conftest.$ac_ext
8081 LIBS=$ac_check_lib_save_LIBS
8083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
8084 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
8085 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = x""yes; then :
8087 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
8092 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
8093 case "x$with_xshm" in
8094 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
8096 *) as_fn_error "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
8097 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
8101 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
8103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
8104 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
8105 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then :
8106 $as_echo_n "(cached) " >&6
8108 ac_check_lib_save_LIBS=$LIBS
8109 LIBS="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8111 /* end confdefs.h. */
8113 /* Override any GCC internal prototype to avoid an error.
8114 Use char because int might match the return type of a GCC
8115 builtin and then its argument prototype would still apply. */
8119 char XShapeQueryExtension ();
8123 return XShapeQueryExtension ();
8128 if ac_fn_c_try_link "$LINENO"; then :
8129 ac_cv_lib_Xext_XShapeQueryExtension=yes
8131 ac_cv_lib_Xext_XShapeQueryExtension=no
8133 rm -f core conftest.err conftest.$ac_objext \
8134 conftest$ac_exeext conftest.$ac_ext
8135 LIBS=$ac_check_lib_save_LIBS
8137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8138 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
8139 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = x""yes; then :
8141 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
8146 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
8147 case "x$with_xshape" in
8148 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
8150 *) as_fn_error "XShape ${notice_platform}development files not found, XShape won't be supported.
8151 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
8155 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
8157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
8158 $as_echo_n "checking for -lXxf86vm... " >&6; }
8159 if test "${ac_cv_lib_soname_Xxf86vm+set}" = set; then :
8160 $as_echo_n "(cached) " >&6
8162 ac_check_soname_save_LIBS=$LIBS
8163 LIBS="-lXxf86vm $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8165 /* end confdefs.h. */
8167 /* Override any GCC internal prototype to avoid an error.
8168 Use char because int might match the return type of a GCC
8169 builtin and then its argument prototype would still apply. */
8173 char XF86VidModeQueryExtension ();
8177 return XF86VidModeQueryExtension ();
8182 if ac_fn_c_try_link "$LINENO"; then :
8184 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8185 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'` ;;
8186 *) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8189 rm -f core conftest.err conftest.$ac_objext \
8190 conftest$ac_exeext conftest.$ac_ext
8191 LIBS=$ac_check_soname_save_LIBS
8193 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8195 $as_echo "not found" >&6; }
8198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
8199 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
8201 cat >>confdefs.h <<_ACEOF
8202 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
8208 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8209 case "x$with_xxf86vm" in
8210 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
8212 *) as_fn_error "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
8213 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
8217 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"
8219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
8220 $as_echo_n "checking for -lXrender... " >&6; }
8221 if test "${ac_cv_lib_soname_Xrender+set}" = set; then :
8222 $as_echo_n "(cached) " >&6
8224 ac_check_soname_save_LIBS=$LIBS
8225 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8227 /* end confdefs.h. */
8229 /* Override any GCC internal prototype to avoid an error.
8230 Use char because int might match the return type of a GCC
8231 builtin and then its argument prototype would still apply. */
8235 char XRenderQueryExtension ();
8239 return XRenderQueryExtension ();
8244 if ac_fn_c_try_link "$LINENO"; then :
8246 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8247 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'` ;;
8248 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8251 rm -f core conftest.err conftest.$ac_objext \
8252 conftest$ac_exeext conftest.$ac_ext
8253 LIBS=$ac_check_soname_save_LIBS
8255 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8257 $as_echo "not found" >&6; }
8260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
8261 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
8263 cat >>confdefs.h <<_ACEOF
8264 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
8267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
8268 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
8269 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then :
8270 $as_echo_n "(cached) " >&6
8272 ac_check_lib_save_LIBS=$LIBS
8273 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8275 /* end confdefs.h. */
8277 /* Override any GCC internal prototype to avoid an error.
8278 Use char because int might match the return type of a GCC
8279 builtin and then its argument prototype would still apply. */
8283 char XRenderSetPictureTransform ();
8287 return XRenderSetPictureTransform ();
8292 if ac_fn_c_try_link "$LINENO"; then :
8293 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
8295 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
8297 rm -f core conftest.err conftest.$ac_objext \
8298 conftest$ac_exeext conftest.$ac_ext
8299 LIBS=$ac_check_lib_save_LIBS
8301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8302 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
8303 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = x""yes; then :
8305 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
8312 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8313 case "x$with_xrender" in
8314 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
8316 *) as_fn_error "libxrender ${notice_platform}development files not found, XRender won't be supported.
8317 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
8321 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
8323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8324 /* end confdefs.h. */
8325 #include <X11/Xlib.h>
8326 #include <X11/extensions/Xrandr.h>
8330 static typeof(XRRSetScreenConfigAndRate) * func;
8335 if ac_fn_c_try_compile "$LINENO"; then :
8336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
8337 $as_echo_n "checking for -lXrandr... " >&6; }
8338 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then :
8339 $as_echo_n "(cached) " >&6
8341 ac_check_soname_save_LIBS=$LIBS
8342 LIBS="-lXrandr $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8344 /* end confdefs.h. */
8346 /* Override any GCC internal prototype to avoid an error.
8347 Use char because int might match the return type of a GCC
8348 builtin and then its argument prototype would still apply. */
8352 char XRRQueryExtension ();
8356 return XRRQueryExtension ();
8361 if ac_fn_c_try_link "$LINENO"; then :
8363 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8364 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'` ;;
8365 *) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8368 rm -f core conftest.err conftest.$ac_objext \
8369 conftest$ac_exeext conftest.$ac_ext
8370 LIBS=$ac_check_soname_save_LIBS
8372 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
8373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8374 $as_echo "not found" >&6; }
8377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
8378 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
8380 cat >>confdefs.h <<_ACEOF
8381 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
8387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8389 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
8390 case "x$with_xrandr" in
8391 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
8393 *) as_fn_error "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
8394 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
8398 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
8400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8401 /* end confdefs.h. */
8402 #include <X11/Xlib.h>
8403 #include <X11/extensions/Xinerama.h>
8407 static typeof(XineramaQueryScreens) * func;
8412 if ac_fn_c_try_compile "$LINENO"; then :
8413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
8414 $as_echo_n "checking for -lXinerama... " >&6; }
8415 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then :
8416 $as_echo_n "(cached) " >&6
8418 ac_check_soname_save_LIBS=$LIBS
8419 LIBS="-lXinerama $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8421 /* end confdefs.h. */
8423 /* Override any GCC internal prototype to avoid an error.
8424 Use char because int might match the return type of a GCC
8425 builtin and then its argument prototype would still apply. */
8429 char XineramaQueryScreens ();
8433 return XineramaQueryScreens ();
8438 if ac_fn_c_try_link "$LINENO"; then :
8440 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8441 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'` ;;
8442 *) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8445 rm -f core conftest.err conftest.$ac_objext \
8446 conftest$ac_exeext conftest.$ac_ext
8447 LIBS=$ac_check_soname_save_LIBS
8449 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
8450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8451 $as_echo "not found" >&6; }
8454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
8455 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
8457 cat >>confdefs.h <<_ACEOF
8458 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
8464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8466 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
8467 case "x$with_xinerama" in
8468 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
8470 *) as_fn_error "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
8471 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
8475 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
8477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
8478 $as_echo_n "checking for -lXcomposite... " >&6; }
8479 if test "${ac_cv_lib_soname_Xcomposite+set}" = set; then :
8480 $as_echo_n "(cached) " >&6
8482 ac_check_soname_save_LIBS=$LIBS
8483 LIBS="-lXcomposite $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8485 /* end confdefs.h. */
8487 /* Override any GCC internal prototype to avoid an error.
8488 Use char because int might match the return type of a GCC
8489 builtin and then its argument prototype would still apply. */
8493 char XCompositeRedirectWindow ();
8497 return XCompositeRedirectWindow ();
8502 if ac_fn_c_try_link "$LINENO"; then :
8504 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8505 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'` ;;
8506 *) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8509 rm -f core conftest.err conftest.$ac_objext \
8510 conftest$ac_exeext conftest.$ac_ext
8511 LIBS=$ac_check_soname_save_LIBS
8513 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
8514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8515 $as_echo "not found" >&6; }
8518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
8519 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
8521 cat >>confdefs.h <<_ACEOF
8522 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
8528 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
8529 case "x$with_xcomposite" in
8530 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
8532 *) as_fn_error "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
8533 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
8537 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
8538 #include <X11/Xlib.h>
8541 if test "x$ac_cv_member_XICCallback_callback" = x""yes; then :
8543 cat >>confdefs.h <<_ACEOF
8544 #define HAVE_XICCALLBACK_CALLBACK 1
8553 if test "x$with_opengl" != "xno"
8555 for ac_header in GL/gl.h GL/glx.h GL/glu.h
8557 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8558 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_GL_GLX_H
8559 # include <GL/glx.h>
8562 eval as_val=\$$as_ac_Header
8563 if test "x$as_val" = x""yes; then :
8564 cat >>confdefs.h <<_ACEOF
8565 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8572 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
8574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for up-to-date OpenGL version" >&5
8575 $as_echo_n "checking for up-to-date OpenGL version... " >&6; }
8576 if test "${wine_cv_opengl_header_version_OK+set}" = set; then :
8577 $as_echo_n "(cached) " >&6
8579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8580 /* end confdefs.h. */
8585 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
8590 if ac_fn_c_try_compile "$LINENO"; then :
8591 wine_cv_opengl_header_version_OK="yes"
8593 wine_cv_opengl_header_version_OK="no"
8595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_opengl_header_version_OK" >&5
8598 $as_echo "$wine_cv_opengl_header_version_OK" >&6; }
8600 if test "$wine_cv_opengl_header_version_OK" = "yes"
8602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
8603 $as_echo_n "checking for -lGL... " >&6; }
8604 if test "${ac_cv_lib_soname_GL+set}" = set; then :
8605 $as_echo_n "(cached) " >&6
8607 ac_check_soname_save_LIBS=$LIBS
8608 LIBS="-lGL $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
8609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8610 /* end confdefs.h. */
8612 /* Override any GCC internal prototype to avoid an error.
8613 Use char because int might match the return type of a GCC
8614 builtin and then its argument prototype would still apply. */
8618 char glXCreateContext ();
8622 return glXCreateContext ();
8627 if ac_fn_c_try_link "$LINENO"; then :
8629 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8630 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'` ;;
8631 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8634 rm -f core conftest.err conftest.$ac_objext \
8635 conftest$ac_exeext conftest.$ac_ext
8636 LIBS=$ac_check_soname_save_LIBS
8638 if test "x$ac_cv_lib_soname_GL" = "x"; then :
8639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8640 $as_echo "not found" >&6; }
8641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
8642 $as_echo_n "checking for -lGL... " >&6; }
8643 if test "${ac_cv_lib_soname_GL+set}" = set; then :
8644 $as_echo_n "(cached) " >&6
8646 ac_check_soname_save_LIBS=$LIBS
8647 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"
8648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8649 /* end confdefs.h. */
8651 /* Override any GCC internal prototype to avoid an error.
8652 Use char because int might match the return type of a GCC
8653 builtin and then its argument prototype would still apply. */
8657 char glXCreateContext ();
8661 return glXCreateContext ();
8666 if ac_fn_c_try_link "$LINENO"; then :
8668 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8669 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'` ;;
8670 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8673 rm -f core conftest.err conftest.$ac_objext \
8674 conftest$ac_exeext conftest.$ac_ext
8675 LIBS=$ac_check_soname_save_LIBS
8677 if test "x$ac_cv_lib_soname_GL" = "x"; then :
8678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8679 $as_echo "not found" >&6; }
8680 if test -f /usr/X11R6/lib/libGL.a
8682 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
8683 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
8685 opengl_msg="No OpenGL library found on this system."
8688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
8689 $as_echo "$ac_cv_lib_soname_GL" >&6; }
8691 cat >>confdefs.h <<_ACEOF
8692 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
8695 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"
8697 $as_echo "#define HAVE_OPENGL 1" >>confdefs.h
8701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
8702 $as_echo "$ac_cv_lib_soname_GL" >&6; }
8704 cat >>confdefs.h <<_ACEOF
8705 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
8710 $as_echo "#define HAVE_OPENGL 1" >>confdefs.h
8713 if test "$ac_cv_header_GL_glu_h" = "yes"
8715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
8716 $as_echo_n "checking for -lGLU... " >&6; }
8717 if test "${ac_cv_lib_soname_GLU+set}" = set; then :
8718 $as_echo_n "(cached) " >&6
8720 ac_check_soname_save_LIBS=$LIBS
8721 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
8722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8723 /* end confdefs.h. */
8725 /* Override any GCC internal prototype to avoid an error.
8726 Use char because int might match the return type of a GCC
8727 builtin and then its argument prototype would still apply. */
8735 return gluLookAt ();
8740 if ac_fn_c_try_link "$LINENO"; then :
8742 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8743 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'` ;;
8744 *) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8747 rm -f core conftest.err conftest.$ac_objext \
8748 conftest$ac_exeext conftest.$ac_ext
8749 LIBS=$ac_check_soname_save_LIBS
8751 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
8752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8753 $as_echo "not found" >&6; }
8756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
8757 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
8759 cat >>confdefs.h <<_ACEOF
8760 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
8766 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
8767 case "x$with_glu" in
8768 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
8770 *) as_fn_error "libGLU ${notice_platform}development files not found, GLU won't be supported.
8771 This is an error since --with-glu was requested." "$LINENO" 5 ;;
8775 opengl_msg="Old Mesa headers detected. Consider upgrading your Mesa libraries."
8778 opengl_msg="OpenGL development headers not found."
8780 test -n "$opengl_msg" && enable_opengl32=${enable_opengl32:-no}
8781 test "x$ac_cv_lib_soname_GLU" = "x" && enable_glu32=${enable_glu32:-no}
8783 enable_opengl32=${enable_opengl32:-no}
8784 enable_glu32=${enable_glu32:-no}
8786 if test -n "$opengl_msg"; then :
8787 case "x$with_opengl" in
8788 x) as_fn_append wine_warnings "|$opengl_msg
8789 OpenGL and Direct3D won't be supported." ;;
8791 *) as_fn_error "$opengl_msg
8792 OpenGL and Direct3D won't be supported.
8793 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
8799 for ac_header in audio/audiolib.h
8801 ac_fn_c_check_header_mongrel "$LINENO" "audio/audiolib.h" "ac_cv_header_audio_audiolib_h" "$ac_includes_default"
8802 if test "x$ac_cv_header_audio_audiolib_h" = x""yes; then :
8803 cat >>confdefs.h <<_ACEOF
8804 #define HAVE_AUDIO_AUDIOLIB_H 1
8806 for ac_header in audio/soundlib.h
8808 ac_fn_c_check_header_compile "$LINENO" "audio/soundlib.h" "ac_cv_header_audio_soundlib_h" "#include <audio/audiolib.h>
8810 if test "x$ac_cv_header_audio_soundlib_h" = x""yes; then :
8811 cat >>confdefs.h <<_ACEOF
8812 #define HAVE_AUDIO_SOUNDLIB_H 1
8819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AuCreateFlow in -laudio" >&5
8820 $as_echo_n "checking for AuCreateFlow in -laudio... " >&6; }
8821 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then :
8822 $as_echo_n "(cached) " >&6
8824 ac_check_lib_save_LIBS=$LIBS
8825 LIBS="-laudio -lXt $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8827 /* end confdefs.h. */
8829 /* Override any GCC internal prototype to avoid an error.
8830 Use char because int might match the return type of a GCC
8831 builtin and then its argument prototype would still apply. */
8835 char AuCreateFlow ();
8839 return AuCreateFlow ();
8844 if ac_fn_c_try_link "$LINENO"; then :
8845 ac_cv_lib_audio_AuCreateFlow=yes
8847 ac_cv_lib_audio_AuCreateFlow=no
8849 rm -f core conftest.err conftest.$ac_objext \
8850 conftest$ac_exeext conftest.$ac_ext
8851 LIBS=$ac_check_lib_save_LIBS
8853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_audio_AuCreateFlow" >&5
8854 $as_echo "$ac_cv_lib_audio_AuCreateFlow" >&6; }
8855 if test "x$ac_cv_lib_audio_AuCreateFlow" = x""yes; then :
8857 $as_echo "#define HAVE_NAS 1" >>confdefs.h
8859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XauGetBestAuthByAddr in -lXau" >&5
8860 $as_echo_n "checking for XauGetBestAuthByAddr in -lXau... " >&6; }
8861 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then :
8862 $as_echo_n "(cached) " >&6
8864 ac_check_lib_save_LIBS=$LIBS
8865 LIBS="-lXau $X_LIBS $LIBS"
8866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8867 /* end confdefs.h. */
8869 /* Override any GCC internal prototype to avoid an error.
8870 Use char because int might match the return type of a GCC
8871 builtin and then its argument prototype would still apply. */
8875 char XauGetBestAuthByAddr ();
8879 return XauGetBestAuthByAddr ();
8884 if ac_fn_c_try_link "$LINENO"; then :
8885 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
8887 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
8889 rm -f core conftest.err conftest.$ac_objext \
8890 conftest$ac_exeext conftest.$ac_ext
8891 LIBS=$ac_check_lib_save_LIBS
8893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
8894 $as_echo "$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
8895 if test "x$ac_cv_lib_Xau_XauGetBestAuthByAddr" = x""yes; then :
8896 NASLIBS="-lXau -laudio -lXt $X_LIBS $XLIB $X_EXTRA_LIBS"
8898 NASLIBS="-laudio -lXt $X_LIBS $XLIB $X_EXTRA_LIBS"
8909 CPPFLAGS="$ac_save_CPPFLAGS"
8914 enable_winex11_drv=${enable_winex11_drv:-no}
8915 enable_opengl32=${enable_opengl32:-no}
8916 enable_glu32=${enable_glu32:-no}
8918 if test "x$XLIB" = "x"; then :
8921 *) as_fn_error "X ${notice_platform}development files not found. Wine will be built
8922 without X support, which probably isn't what you want. You will need to install
8923 ${notice_platform}development packages of Xlib/Xfree86 at the very least.
8924 Use the --without-x option if you really want this." "$LINENO" 5 ;;
8935 if test "x$with_xml" != "xno"
8937 ac_save_CPPFLAGS="$CPPFLAGS"
8938 if test "$PKG_CONFIG" != "false"
8940 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
8941 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
8943 ac_xml_libs="`xml2-config --libs 2>/dev/null`"
8944 ac_xml_cflags="`xml2-config --cflags 2>/dev/null`"
8946 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
8947 for ac_header in libxml/parser.h
8949 ac_fn_c_check_header_mongrel "$LINENO" "libxml/parser.h" "ac_cv_header_libxml_parser_h" "$ac_includes_default"
8950 if test "x$ac_cv_header_libxml_parser_h" = x""yes; then :
8951 cat >>confdefs.h <<_ACEOF
8952 #define HAVE_LIBXML_PARSER_H 1
8954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
8955 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
8956 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then :
8957 $as_echo_n "(cached) " >&6
8959 ac_check_lib_save_LIBS=$LIBS
8960 LIBS="-lxml2 $ac_xml_libs $LIBS"
8961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8962 /* end confdefs.h. */
8964 /* Override any GCC internal prototype to avoid an error.
8965 Use char because int might match the return type of a GCC
8966 builtin and then its argument prototype would still apply. */
8970 char xmlParseMemory ();
8974 return xmlParseMemory ();
8979 if ac_fn_c_try_link "$LINENO"; then :
8980 ac_cv_lib_xml2_xmlParseMemory=yes
8982 ac_cv_lib_xml2_xmlParseMemory=no
8984 rm -f core conftest.err conftest.$ac_objext \
8985 conftest$ac_exeext conftest.$ac_ext
8986 LIBS=$ac_check_lib_save_LIBS
8988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
8989 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
8990 if test "x$ac_cv_lib_xml2_xmlParseMemory" = x""yes; then :
8992 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
8994 XML2LIBS="$ac_xml_libs"
8995 XML2INCL="$ac_xml_cflags"
8998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
8999 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
9000 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then :
9001 $as_echo_n "(cached) " >&6
9003 ac_check_lib_save_LIBS=$LIBS
9004 LIBS="-lxml2 $ac_xml_libs $LIBS"
9005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9006 /* end confdefs.h. */
9008 /* Override any GCC internal prototype to avoid an error.
9009 Use char because int might match the return type of a GCC
9010 builtin and then its argument prototype would still apply. */
9014 char xmlReadMemory ();
9018 return xmlReadMemory ();
9023 if ac_fn_c_try_link "$LINENO"; then :
9024 ac_cv_lib_xml2_xmlReadMemory=yes
9026 ac_cv_lib_xml2_xmlReadMemory=no
9028 rm -f core conftest.err conftest.$ac_objext \
9029 conftest$ac_exeext conftest.$ac_ext
9030 LIBS=$ac_check_lib_save_LIBS
9032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
9033 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
9034 if test "x$ac_cv_lib_xml2_xmlReadMemory" = x""yes; then :
9036 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
9040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
9041 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
9042 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then :
9043 $as_echo_n "(cached) " >&6
9045 ac_check_lib_save_LIBS=$LIBS
9046 LIBS="-lxml2 $ac_xml_libs $LIBS"
9047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9048 /* end confdefs.h. */
9050 /* Override any GCC internal prototype to avoid an error.
9051 Use char because int might match the return type of a GCC
9052 builtin and then its argument prototype would still apply. */
9056 char xmlNewDocPI ();
9060 return xmlNewDocPI ();
9065 if ac_fn_c_try_link "$LINENO"; then :
9066 ac_cv_lib_xml2_xmlNewDocPI=yes
9068 ac_cv_lib_xml2_xmlNewDocPI=no
9070 rm -f core conftest.err conftest.$ac_objext \
9071 conftest$ac_exeext conftest.$ac_ext
9072 LIBS=$ac_check_lib_save_LIBS
9074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
9075 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
9076 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = x""yes; then :
9078 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
9087 CPPFLAGS="$ac_save_CPPFLAGS"
9089 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
9090 case "x$with_xml" in
9091 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found, XML won't be supported." ;;
9093 *) as_fn_error "libxml2 ${notice_platform}development files not found, XML won't be supported.
9094 This is an error since --with-xml was requested." "$LINENO" 5 ;;
9098 if test "x$with_xslt" != "xno"
9100 if test "$PKG_CONFIG" != "false"
9102 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
9103 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
9105 ac_xslt_libs="`xslt-config --libs 2>/dev/null`"
9106 ac_xslt_cflags="`xslt-config --cflags 2>/dev/null`"
9108 ac_save_CPPFLAGS="$CPPFLAGS"
9109 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
9110 for ac_header in libxslt/pattern.h libxslt/transform.h
9112 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9113 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
9114 # include <libxslt/pattern.h>
9117 eval as_val=\$$as_ac_Header
9118 if test "x$as_val" = x""yes; then :
9119 cat >>confdefs.h <<_ACEOF
9120 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9127 CPPFLAGS="$ac_save_CPPFLAGS"
9128 if test "$ac_cv_header_libxslt_transform_h" = "yes"
9130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
9131 $as_echo_n "checking for -lxslt... " >&6; }
9132 if test "${ac_cv_lib_soname_xslt+set}" = set; then :
9133 $as_echo_n "(cached) " >&6
9135 ac_check_soname_save_LIBS=$LIBS
9136 LIBS="-lxslt $ac_xslt_libs $LIBS"
9137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9138 /* end confdefs.h. */
9140 /* Override any GCC internal prototype to avoid an error.
9141 Use char because int might match the return type of a GCC
9142 builtin and then its argument prototype would still apply. */
9146 char xsltCompilePattern ();
9150 return xsltCompilePattern ();
9155 if ac_fn_c_try_link "$LINENO"; then :
9157 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9158 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'` ;;
9159 *) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9162 rm -f core conftest.err conftest.$ac_objext \
9163 conftest$ac_exeext conftest.$ac_ext
9164 LIBS=$ac_check_soname_save_LIBS
9166 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9168 $as_echo "not found" >&6; }
9171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
9172 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
9174 cat >>confdefs.h <<_ACEOF
9175 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
9178 XSLTINCL="$ac_xslt_cflags"
9182 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9183 case "x$with_xslt" in
9184 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
9186 *) as_fn_error "libxslt ${notice_platform}development files not found, xslt won't be supported.
9187 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
9193 if test "x$with_hal" != "xno"
9195 ac_save_CPPFLAGS="$CPPFLAGS"
9196 if test "$PKG_CONFIG" != "false"
9198 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
9199 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
9200 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
9202 for ac_header in dbus/dbus.h hal/libhal.h
9204 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9205 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9206 eval as_val=\$$as_ac_Header
9207 if test "x$as_val" = x""yes; then :
9208 cat >>confdefs.h <<_ACEOF
9209 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9216 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
9218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dbus_connection_close in -ldbus-1" >&5
9219 $as_echo_n "checking for dbus_connection_close in -ldbus-1... " >&6; }
9220 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then :
9221 $as_echo_n "(cached) " >&6
9223 ac_check_lib_save_LIBS=$LIBS
9224 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
9225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9226 /* end confdefs.h. */
9228 /* Override any GCC internal prototype to avoid an error.
9229 Use char because int might match the return type of a GCC
9230 builtin and then its argument prototype would still apply. */
9234 char dbus_connection_close ();
9238 return dbus_connection_close ();
9243 if ac_fn_c_try_link "$LINENO"; then :
9244 ac_cv_lib_dbus_1_dbus_connection_close=yes
9246 ac_cv_lib_dbus_1_dbus_connection_close=no
9248 rm -f core conftest.err conftest.$ac_objext \
9249 conftest$ac_exeext conftest.$ac_ext
9250 LIBS=$ac_check_lib_save_LIBS
9252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
9253 $as_echo "$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
9254 if test "x$ac_cv_lib_dbus_1_dbus_connection_close" = x""yes; then :
9255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
9256 $as_echo_n "checking for -lhal... " >&6; }
9257 if test "${ac_cv_lib_soname_hal+set}" = set; then :
9258 $as_echo_n "(cached) " >&6
9260 ac_check_soname_save_LIBS=$LIBS
9261 LIBS="-lhal $ac_hal_libs $LIBS"
9262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9263 /* end confdefs.h. */
9265 /* Override any GCC internal prototype to avoid an error.
9266 Use char because int might match the return type of a GCC
9267 builtin and then its argument prototype would still apply. */
9271 char libhal_ctx_new ();
9275 return libhal_ctx_new ();
9280 if ac_fn_c_try_link "$LINENO"; then :
9282 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9283 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'` ;;
9284 *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9287 rm -f core conftest.err conftest.$ac_objext \
9288 conftest$ac_exeext conftest.$ac_ext
9289 LIBS=$ac_check_soname_save_LIBS
9291 if test "x$ac_cv_lib_soname_hal" = "x"; then :
9292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9293 $as_echo "not found" >&6; }
9296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
9297 $as_echo "$ac_cv_lib_soname_hal" >&6; }
9299 cat >>confdefs.h <<_ACEOF
9300 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
9303 HALINCL="$ac_hal_cflags"
9308 CPPFLAGS="$ac_save_CPPFLAGS"
9310 if test "x$ac_cv_lib_soname_hal" = "x"; then :
9311 case "x$with_hal" in
9312 x) as_fn_append wine_notices "|libhal/libdbus ${notice_platform}development files not found, no dynamic device support." ;;
9314 *) as_fn_error "libhal/libdbus ${notice_platform}development files not found, no dynamic device support.
9315 This is an error since --with-hal was requested." "$LINENO" 5 ;;
9319 if test "x$with_gnutls" != "xno"
9321 ac_save_CPPFLAGS="$CPPFLAGS"
9322 if test "$PKG_CONFIG" != "false"
9324 ac_gnutls_libs="`$PKG_CONFIG --libs gnutls 2>/dev/null`"
9325 ac_gnutls_cflags="`$PKG_CONFIG --cflags gnutls 2>/dev/null`"
9326 CPPFLAGS="$CPPFLAGS $ac_gnutls_cflags"
9328 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
9329 if test "x$ac_cv_header_gnutls_gnutls_h" = x""yes; then :
9330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9331 /* end confdefs.h. */
9332 #include <gnutls/gnutls.h>
9336 typeof(gnutls_mac_get_key_size) *pfunc;
9341 if ac_fn_c_try_compile "$LINENO"; then :
9342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
9343 $as_echo_n "checking for -lgnutls... " >&6; }
9344 if test "${ac_cv_lib_soname_gnutls+set}" = set; then :
9345 $as_echo_n "(cached) " >&6
9347 ac_check_soname_save_LIBS=$LIBS
9348 LIBS="-lgnutls $ac_gnutls_libs $LIBS"
9349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9350 /* end confdefs.h. */
9352 /* Override any GCC internal prototype to avoid an error.
9353 Use char because int might match the return type of a GCC
9354 builtin and then its argument prototype would still apply. */
9358 char gnutls_global_init ();
9362 return gnutls_global_init ();
9367 if ac_fn_c_try_link "$LINENO"; then :
9369 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9370 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'` ;;
9371 *) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9374 rm -f core conftest.err conftest.$ac_objext \
9375 conftest$ac_exeext conftest.$ac_ext
9376 LIBS=$ac_check_soname_save_LIBS
9378 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
9379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9380 $as_echo "not found" >&6; }
9383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
9384 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
9386 cat >>confdefs.h <<_ACEOF
9387 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
9390 GNUTLSINCL="$ac_gnutls_cflags"
9394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9398 CPPFLAGS="$ac_save_CPPFLAGS"
9400 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
9401 case "x$with_gnutls" in
9402 x) as_fn_append wine_notices "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
9404 *) as_fn_error "libgnutls ${notice_platform}development files not found, no schannel support.
9405 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
9410 if test "$ac_cv_header_ncurses_h" = "yes"
9412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
9413 $as_echo_n "checking for -lncurses... " >&6; }
9414 if test "${ac_cv_lib_soname_ncurses+set}" = set; then :
9415 $as_echo_n "(cached) " >&6
9417 ac_check_soname_save_LIBS=$LIBS
9418 LIBS="-lncurses $LIBS"
9419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9420 /* end confdefs.h. */
9422 /* Override any GCC internal prototype to avoid an error.
9423 Use char because int might match the return type of a GCC
9424 builtin and then its argument prototype would still apply. */
9437 if ac_fn_c_try_link "$LINENO"; then :
9439 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9440 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'` ;;
9441 *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9444 rm -f core conftest.err conftest.$ac_objext \
9445 conftest$ac_exeext conftest.$ac_ext
9446 LIBS=$ac_check_soname_save_LIBS
9448 if test "x$ac_cv_lib_soname_ncurses" = "x"; then :
9449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9450 $as_echo "not found" >&6; }
9453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
9454 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
9456 cat >>confdefs.h <<_ACEOF
9457 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
9460 CURSESLIBS="-lncurses"
9462 elif test "$ac_cv_header_curses_h" = "yes"
9464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
9465 $as_echo_n "checking for -lcurses... " >&6; }
9466 if test "${ac_cv_lib_soname_curses+set}" = set; then :
9467 $as_echo_n "(cached) " >&6
9469 ac_check_soname_save_LIBS=$LIBS
9470 LIBS="-lcurses $LIBS"
9471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9472 /* end confdefs.h. */
9474 /* Override any GCC internal prototype to avoid an error.
9475 Use char because int might match the return type of a GCC
9476 builtin and then its argument prototype would still apply. */
9489 if ac_fn_c_try_link "$LINENO"; then :
9491 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9492 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'` ;;
9493 *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9496 rm -f core conftest.err conftest.$ac_objext \
9497 conftest$ac_exeext conftest.$ac_ext
9498 LIBS=$ac_check_soname_save_LIBS
9500 if test "x$ac_cv_lib_soname_curses" = "x"; then :
9501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9502 $as_echo "not found" >&6; }
9505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
9506 $as_echo "$ac_cv_lib_soname_curses" >&6; }
9508 cat >>confdefs.h <<_ACEOF
9509 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
9512 CURSESLIBS="-lcurses"
9515 ac_save_LIBS="$LIBS"
9516 LIBS="$LIBS $CURSESLIBS"
9517 for ac_func in mousemask
9519 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
9520 if test "x$ac_cv_func_mousemask" = x""yes; then :
9521 cat >>confdefs.h <<_ACEOF
9522 #define HAVE_MOUSEMASK 1
9528 LIBS="$ac_save_LIBS"
9529 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
9530 case "x$with_curses" in
9531 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
9533 *) as_fn_error "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
9534 This is an error since --with-curses was requested." "$LINENO" 5 ;;
9538 if test "x$with_sane" != "xno"
9540 ac_save_CPPFLAGS="$CPPFLAGS"
9541 # Extract the first word of "sane-config", so it can be a program name with args.
9542 set dummy sane-config; ac_word=$2
9543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9544 $as_echo_n "checking for $ac_word... " >&6; }
9545 if test "${ac_cv_prog_sane_devel+set}" = set; then :
9546 $as_echo_n "(cached) " >&6
9548 if test -n "$sane_devel"; then
9549 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
9551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9555 test -z "$as_dir" && as_dir=.
9556 for ac_exec_ext in '' $ac_executable_extensions; do
9557 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9558 ac_cv_prog_sane_devel="sane-config"
9559 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9566 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
9569 sane_devel=$ac_cv_prog_sane_devel
9570 if test -n "$sane_devel"; then
9571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sane_devel" >&5
9572 $as_echo "$sane_devel" >&6; }
9574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9575 $as_echo "no" >&6; }
9579 if test "$sane_devel" != "no"
9581 ac_sane_incl="`$sane_devel --cflags`"
9582 ac_sane_libs="`$sane_devel --ldflags`"
9583 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
9585 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
9586 if test "x$ac_cv_header_sane_sane_h" = x""yes; then :
9587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
9588 $as_echo_n "checking for -lsane... " >&6; }
9589 if test "${ac_cv_lib_soname_sane+set}" = set; then :
9590 $as_echo_n "(cached) " >&6
9592 ac_check_soname_save_LIBS=$LIBS
9593 LIBS="-lsane $ac_sane_libs $LIBS"
9594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9595 /* end confdefs.h. */
9597 /* Override any GCC internal prototype to avoid an error.
9598 Use char because int might match the return type of a GCC
9599 builtin and then its argument prototype would still apply. */
9607 return sane_init ();
9612 if ac_fn_c_try_link "$LINENO"; then :
9614 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9615 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'` ;;
9616 *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9619 rm -f core conftest.err conftest.$ac_objext \
9620 conftest$ac_exeext conftest.$ac_ext
9621 LIBS=$ac_check_soname_save_LIBS
9623 if test "x$ac_cv_lib_soname_sane" = "x"; then :
9624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9625 $as_echo "not found" >&6; }
9628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
9629 $as_echo "$ac_cv_lib_soname_sane" >&6; }
9631 cat >>confdefs.h <<_ACEOF
9632 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
9635 SANEINCL="$ac_sane_incl"
9641 CPPFLAGS="$ac_save_CPPFLAGS"
9643 if test "x$ac_cv_lib_soname_sane" = "x"; then :
9644 case "x$with_sane" in
9645 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
9647 *) as_fn_error "libsane ${notice_platform}development files not found, scanners won't be supported.
9648 This is an error since --with-sane was requested." "$LINENO" 5 ;;
9652 if test "x$with_v4l" != "xno"
9654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
9655 $as_echo_n "checking for -lv4l1... " >&6; }
9656 if test "${ac_cv_lib_soname_v4l1+set}" = set; then :
9657 $as_echo_n "(cached) " >&6
9659 ac_check_soname_save_LIBS=$LIBS
9661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9662 /* end confdefs.h. */
9664 /* Override any GCC internal prototype to avoid an error.
9665 Use char because int might match the return type of a GCC
9666 builtin and then its argument prototype would still apply. */
9674 return v4l1_open ();
9679 if ac_fn_c_try_link "$LINENO"; then :
9681 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9682 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'` ;;
9683 *) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9686 rm -f core conftest.err conftest.$ac_objext \
9687 conftest$ac_exeext conftest.$ac_ext
9688 LIBS=$ac_check_soname_save_LIBS
9690 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
9691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9692 $as_echo "not found" >&6; }
9695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
9696 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
9698 cat >>confdefs.h <<_ACEOF
9699 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
9705 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
9706 case "x$with_v4l" in
9707 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
9709 *) as_fn_error "libv4l ${notice_platform}development files not found.
9710 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
9714 if test "x$with_gphoto" != "xno"
9716 ac_save_CPPFLAGS="$CPPFLAGS"
9717 # Extract the first word of "gphoto2-config", so it can be a program name with args.
9718 set dummy gphoto2-config; ac_word=$2
9719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9720 $as_echo_n "checking for $ac_word... " >&6; }
9721 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then :
9722 $as_echo_n "(cached) " >&6
9724 if test -n "$gphoto2_devel"; then
9725 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
9727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9731 test -z "$as_dir" && as_dir=.
9732 for ac_exec_ext in '' $ac_executable_extensions; do
9733 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9734 ac_cv_prog_gphoto2_devel="gphoto2-config"
9735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9742 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
9745 gphoto2_devel=$ac_cv_prog_gphoto2_devel
9746 if test -n "$gphoto2_devel"; then
9747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gphoto2_devel" >&5
9748 $as_echo "$gphoto2_devel" >&6; }
9750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9751 $as_echo "no" >&6; }
9755 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
9756 set dummy gphoto2-port-config; ac_word=$2
9757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9758 $as_echo_n "checking for $ac_word... " >&6; }
9759 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then :
9760 $as_echo_n "(cached) " >&6
9762 if test -n "$gphoto2port_devel"; then
9763 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
9765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9769 test -z "$as_dir" && as_dir=.
9770 for ac_exec_ext in '' $ac_executable_extensions; do
9771 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9772 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
9773 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9780 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
9783 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
9784 if test -n "$gphoto2port_devel"; then
9785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gphoto2port_devel" >&5
9786 $as_echo "$gphoto2port_devel" >&6; }
9788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9789 $as_echo "no" >&6; }
9793 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
9795 ac_gphoto2_incl="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
9797 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
9800 -L/usr/lib|-L/usr/lib64) ;;
9801 -L*|-l*) ac_gphoto2_libs="$ac_gphoto2_libs $i";;
9804 CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
9806 ac_gphoto2_libs=${ac_gphoto2_libs:-"-lgphoto2"}
9807 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
9808 if test "x$ac_cv_header_gphoto2_camera_h" = x""yes; then :
9809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
9810 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
9811 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then :
9812 $as_echo_n "(cached) " >&6
9814 ac_check_lib_save_LIBS=$LIBS
9815 LIBS="-lgphoto2 $ac_gphoto2_libs $LIBS"
9816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9817 /* end confdefs.h. */
9819 /* Override any GCC internal prototype to avoid an error.
9820 Use char because int might match the return type of a GCC
9821 builtin and then its argument prototype would still apply. */
9825 char gp_camera_new ();
9829 return gp_camera_new ();
9834 if ac_fn_c_try_link "$LINENO"; then :
9835 ac_cv_lib_gphoto2_gp_camera_new=yes
9837 ac_cv_lib_gphoto2_gp_camera_new=no
9839 rm -f core conftest.err conftest.$ac_objext \
9840 conftest$ac_exeext conftest.$ac_ext
9841 LIBS=$ac_check_lib_save_LIBS
9843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
9844 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
9845 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = x""yes; then :
9847 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
9849 GPHOTO2LIBS="$ac_gphoto2_libs"
9851 GPHOTO2INCL="$ac_gphoto2_incl"
9858 CPPFLAGS="$ac_save_CPPFLAGS"
9860 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
9861 case "x$with_gphoto" in
9862 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
9864 *) as_fn_error "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
9865 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
9872 if test "$ac_cv_header_resolv_h" = "yes"
9874 ac_save_LIBS="$LIBS"
9875 LIBS="$LIBS -lresolv"
9876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9877 /* end confdefs.h. */
9878 #ifdef HAVE_NETINET_IN_H
9879 #include <netinet/in.h>
9890 if ac_fn_c_try_link "$LINENO"; then :
9892 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
9894 RESOLVLIBS="-lresolv"
9896 rm -f core conftest.err conftest.$ac_objext \
9897 conftest$ac_exeext conftest.$ac_ext
9898 LIBS="$ac_save_LIBS"
9903 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
9905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms" >&5
9906 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms... " >&6; }
9907 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then :
9908 $as_echo_n "(cached) " >&6
9910 ac_check_lib_save_LIBS=$LIBS
9912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9913 /* end confdefs.h. */
9915 /* Override any GCC internal prototype to avoid an error.
9916 Use char because int might match the return type of a GCC
9917 builtin and then its argument prototype would still apply. */
9921 char cmsOpenProfileFromFile ();
9925 return cmsOpenProfileFromFile ();
9930 if ac_fn_c_try_link "$LINENO"; then :
9931 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
9933 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
9935 rm -f core conftest.err conftest.$ac_objext \
9936 conftest$ac_exeext conftest.$ac_ext
9937 LIBS=$ac_check_lib_save_LIBS
9939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
9940 $as_echo "$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
9941 if test "x$ac_cv_lib_lcms_cmsOpenProfileFromFile" = x""yes; then :
9943 $as_echo "#define HAVE_LCMS 1" >>confdefs.h
9949 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then :
9950 case "x$with_cms" in
9951 x) as_fn_append wine_notices "|liblcms ${notice_platform}development files not found, Color Management won't be supported." ;;
9953 *) as_fn_error "liblcms ${notice_platform}development files not found, Color Management won't be supported.
9954 This is an error since --with-cms was requested." "$LINENO" 5 ;;
9958 if test "x$with_freetype" != "xno"
9960 for ac_prog in freetype-config freetype2-config
9962 # Extract the first word of "$ac_prog", so it can be a program name with args.
9963 set dummy $ac_prog; ac_word=$2
9964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9965 $as_echo_n "checking for $ac_word... " >&6; }
9966 if test "${ac_cv_prog_ft_devel+set}" = set; then :
9967 $as_echo_n "(cached) " >&6
9969 if test -n "$ft_devel"; then
9970 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
9972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9976 test -z "$as_dir" && as_dir=.
9977 for ac_exec_ext in '' $ac_executable_extensions; do
9978 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9979 ac_cv_prog_ft_devel="$ac_prog"
9980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9989 ft_devel=$ac_cv_prog_ft_devel
9990 if test -n "$ft_devel"; then
9991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ft_devel" >&5
9992 $as_echo "$ft_devel" >&6; }
9994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9995 $as_echo "no" >&6; }
9999 test -n "$ft_devel" && break
10001 test -n "$ft_devel" || ft_devel="no"
10003 if test "$ft_devel" != "no"
10005 ac_freetype_incl=`$ft_devel --cflags`
10006 ac_freetype_libs=`$ft_devel --libs`
10008 ac_freetype_libs=${ac_freetype_libs:-"-lfreetype"}
10009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
10010 $as_echo_n "checking for -lfreetype... " >&6; }
10011 if test "${ac_cv_lib_soname_freetype+set}" = set; then :
10012 $as_echo_n "(cached) " >&6
10014 ac_check_soname_save_LIBS=$LIBS
10015 LIBS="-lfreetype $ac_freetype_libs $LIBS"
10016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10017 /* end confdefs.h. */
10019 /* Override any GCC internal prototype to avoid an error.
10020 Use char because int might match the return type of a GCC
10021 builtin and then its argument prototype would still apply. */
10025 char FT_Init_FreeType ();
10029 return FT_Init_FreeType ();
10034 if ac_fn_c_try_link "$LINENO"; then :
10036 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10037 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'` ;;
10038 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10041 rm -f core conftest.err conftest.$ac_objext \
10042 conftest$ac_exeext conftest.$ac_ext
10043 LIBS=$ac_check_soname_save_LIBS
10045 if test "x$ac_cv_lib_soname_freetype" = "x"; then :
10046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10047 $as_echo "not found" >&6; }
10050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
10051 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
10053 cat >>confdefs.h <<_ACEOF
10054 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
10059 if test "$ft_lib" = "yes"
10061 ac_save_CPPFLAGS="$CPPFLAGS"
10062 CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
10063 for ac_header in ft2build.h \
10064 freetype/freetype.h \
10065 freetype/ftglyph.h \
10066 freetype/fttypes.h \
10067 freetype/tttables.h \
10068 freetype/ftsnames.h \
10069 freetype/ttnameid.h \
10070 freetype/ftoutln.h \
10071 freetype/ftwinfnt.h \
10072 freetype/ftmodapi.h \
10073 freetype/ftlcdfil.h \
10074 freetype/internal/sfnt.h
10076 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10077 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_FT2BUILD_H
10078 # include <ft2build.h>
10081 eval as_val=\$$as_ac_Header
10082 if test "x$as_val" = x""yes; then :
10083 cat >>confdefs.h <<_ACEOF
10084 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10092 /* end confdefs.h. */
10093 #include <ft2build.h>
10094 #include <freetype/fttrigon.h>
10096 if ac_fn_c_try_cpp "$LINENO"; then :
10098 $as_echo "#define HAVE_FREETYPE_FTTRIGON_H 1" >>confdefs.h
10100 wine_cv_fttrigon=yes
10102 wine_cv_fttrigon=no
10104 rm -f conftest.err conftest.$ac_ext
10105 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <freetype/ftmodapi.h>
10107 if test "x$ac_cv_type_FT_TrueTypeEngineType" = x""yes; then :
10109 cat >>confdefs.h <<_ACEOF
10110 #define HAVE_FT_TRUETYPEENGINETYPE 1
10116 ac_save_CFLAGS="$CFLAGS"
10117 CFLAGS="$CFLAGS $ac_freetype_libs"
10118 for ac_func in FT_Load_Sfnt_Table
10120 ac_fn_c_check_func "$LINENO" "FT_Load_Sfnt_Table" "ac_cv_func_FT_Load_Sfnt_Table"
10121 if test "x$ac_cv_func_FT_Load_Sfnt_Table" = x""yes; then :
10122 cat >>confdefs.h <<_ACEOF
10123 #define HAVE_FT_LOAD_SFNT_TABLE 1
10129 CFLAGS="$ac_save_CFLAGS"
10130 CPPFLAGS="$ac_save_CPPFLAGS"
10131 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
10134 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
10136 FREETYPELIBS="$ac_freetype_libs"
10138 FREETYPEINCL="$ac_freetype_incl"
10143 if test "x$FREETYPELIBS" = "x"; then :
10144 case "x$with_freetype" in
10146 *) as_fn_error "FreeType ${notice_platform}development files not found. Fonts will not be built.
10147 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
10150 test "x$FREETYPELIBS" = "x" && enable_fonts=${enable_fonts:-no}
10152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
10153 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
10154 if test "${ac_cv_c_ppdev+set}" = set; then :
10155 $as_echo_n "(cached) " >&6
10157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10158 /* end confdefs.h. */
10159 #ifdef HAVE_SYS_IOCTL_H
10160 # include <sys/ioctl.h>
10162 #include <linux/ppdev.h>
10166 ioctl (1,PPCLAIM,0)
10171 if ac_fn_c_try_compile "$LINENO"; then :
10172 ac_cv_c_ppdev="yes"
10176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
10179 $as_echo "$ac_cv_c_ppdev" >&6; }
10180 if test "$ac_cv_c_ppdev" = "yes"
10183 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
10187 ac_wine_check_funcs_save_LIBS="$LIBS"
10188 LIBS="$LIBS $LIBPTHREAD"
10190 pthread_attr_get_np \
10191 pthread_getattr_np \
10192 pthread_get_stackaddr_np \
10193 pthread_get_stacksize_np
10195 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10196 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
10197 eval as_val=\$$as_ac_var
10198 if test "x$as_val" = x""yes; then :
10199 cat >>confdefs.h <<_ACEOF
10200 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10206 LIBS="$ac_wine_check_funcs_save_LIBS"
10208 if test "$ac_cv_header_zlib_h" = "yes"
10210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
10211 $as_echo_n "checking for inflate in -lz... " >&6; }
10212 if test "${ac_cv_lib_z_inflate+set}" = set; then :
10213 $as_echo_n "(cached) " >&6
10215 ac_check_lib_save_LIBS=$LIBS
10217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10218 /* end confdefs.h. */
10220 /* Override any GCC internal prototype to avoid an error.
10221 Use char because int might match the return type of a GCC
10222 builtin and then its argument prototype would still apply. */
10235 if ac_fn_c_try_link "$LINENO"; then :
10236 ac_cv_lib_z_inflate=yes
10238 ac_cv_lib_z_inflate=no
10240 rm -f core conftest.err conftest.$ac_objext \
10241 conftest$ac_exeext conftest.$ac_ext
10242 LIBS=$ac_check_lib_save_LIBS
10244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
10245 $as_echo "$ac_cv_lib_z_inflate" >&6; }
10246 if test "x$ac_cv_lib_z_inflate" = x""yes; then :
10248 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
10256 if test "x$with_esd" != xno
10258 save_CFLAGS="$CFLAGS"
10259 # Extract the first word of "esd-config", so it can be a program name with args.
10260 set dummy esd-config; ac_word=$2
10261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10262 $as_echo_n "checking for $ac_word... " >&6; }
10263 if test "${ac_cv_path_ESDCONFIG+set}" = set; then :
10264 $as_echo_n "(cached) " >&6
10268 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
10271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10272 for as_dir in $PATH
10275 test -z "$as_dir" && as_dir=.
10276 for ac_exec_ext in '' $ac_executable_extensions; do
10277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10278 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
10279 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10286 test -z "$ac_cv_path_ESDCONFIG" && ac_cv_path_ESDCONFIG="no"
10290 ESDCONFIG=$ac_cv_path_ESDCONFIG
10291 if test -n "$ESDCONFIG"; then
10292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ESDCONFIG" >&5
10293 $as_echo "$ESDCONFIG" >&6; }
10295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10296 $as_echo "no" >&6; }
10300 if test "x$ESDCONFIG" != "xno"
10303 for i in `$ESDCONFIG --cflags`
10306 -I*) ac_esd_incl="$ac_esd_incl $i";;
10309 ac_esd_libs=`$ESDCONFIG --libs`
10310 CFLAGS="$CFLAGS $ac_esd_incl"
10312 ac_esd_libs=${ac_esd_libs:-"-lesd"}
10313 ac_fn_c_check_header_mongrel "$LINENO" "esd.h" "ac_cv_header_esd_h" "$ac_includes_default"
10314 if test "x$ac_cv_header_esd_h" = x""yes; then :
10315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for esd_open_sound in -lesd" >&5
10316 $as_echo_n "checking for esd_open_sound in -lesd... " >&6; }
10317 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then :
10318 $as_echo_n "(cached) " >&6
10320 ac_check_lib_save_LIBS=$LIBS
10321 LIBS="-lesd $ac_esd_libs $LIBS"
10322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10323 /* end confdefs.h. */
10325 /* Override any GCC internal prototype to avoid an error.
10326 Use char because int might match the return type of a GCC
10327 builtin and then its argument prototype would still apply. */
10331 char esd_open_sound ();
10335 return esd_open_sound ();
10340 if ac_fn_c_try_link "$LINENO"; then :
10341 ac_cv_lib_esd_esd_open_sound=yes
10343 ac_cv_lib_esd_esd_open_sound=no
10345 rm -f core conftest.err conftest.$ac_objext \
10346 conftest$ac_exeext conftest.$ac_ext
10347 LIBS=$ac_check_lib_save_LIBS
10349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_esd_esd_open_sound" >&5
10350 $as_echo "$ac_cv_lib_esd_esd_open_sound" >&6; }
10351 if test "x$ac_cv_lib_esd_esd_open_sound" = x""yes; then :
10352 ESDINCL="$ac_esd_incl"
10354 ESDLIBS="$ac_esd_libs"
10357 $as_echo "#define HAVE_ESD 1" >>confdefs.h
10364 CFLAGS="$save_CFLAGS"
10369 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
10371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access in -lasound" >&5
10372 $as_echo_n "checking for snd_pcm_hw_params_get_access in -lasound... " >&6; }
10373 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then :
10374 $as_echo_n "(cached) " >&6
10376 ac_check_lib_save_LIBS=$LIBS
10377 LIBS="-lasound $LIBS"
10378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10379 /* end confdefs.h. */
10381 /* Override any GCC internal prototype to avoid an error.
10382 Use char because int might match the return type of a GCC
10383 builtin and then its argument prototype would still apply. */
10387 char snd_pcm_hw_params_get_access ();
10391 return snd_pcm_hw_params_get_access ();
10396 if ac_fn_c_try_link "$LINENO"; then :
10397 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
10399 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
10401 rm -f core conftest.err conftest.$ac_objext \
10402 conftest$ac_exeext conftest.$ac_ext
10403 LIBS=$ac_check_lib_save_LIBS
10405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
10406 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
10407 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access" = x""yes; then :
10408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10409 /* end confdefs.h. */
10410 #ifdef HAVE_ALSA_ASOUNDLIB_H
10411 #include <alsa/asoundlib.h>
10412 #elif defined(HAVE_SYS_ASOUNDLIB_H)
10413 #include <sys/asoundlib.h>
10418 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
10423 if ac_fn_c_try_compile "$LINENO"; then :
10425 $as_echo "#define HAVE_ALSA 1" >>confdefs.h
10427 ALSALIBS="-lasound"
10429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10436 if test "$ac_cv_header_libaudioio_h" = "yes"
10438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AudioIOGetVersion in -laudioio" >&5
10439 $as_echo_n "checking for AudioIOGetVersion in -laudioio... " >&6; }
10440 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then :
10441 $as_echo_n "(cached) " >&6
10443 ac_check_lib_save_LIBS=$LIBS
10444 LIBS="-laudioio $LIBS"
10445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10446 /* end confdefs.h. */
10448 /* Override any GCC internal prototype to avoid an error.
10449 Use char because int might match the return type of a GCC
10450 builtin and then its argument prototype would still apply. */
10454 char AudioIOGetVersion ();
10458 return AudioIOGetVersion ();
10463 if ac_fn_c_try_link "$LINENO"; then :
10464 ac_cv_lib_audioio_AudioIOGetVersion=yes
10466 ac_cv_lib_audioio_AudioIOGetVersion=no
10468 rm -f core conftest.err conftest.$ac_objext \
10469 conftest$ac_exeext conftest.$ac_ext
10470 LIBS=$ac_check_lib_save_LIBS
10472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
10473 $as_echo "$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
10474 if test "x$ac_cv_lib_audioio_AudioIOGetVersion" = x""yes; then :
10475 AUDIOIOLIBS="-laudioio"
10477 $as_echo "#define HAVE_LIBAUDIOIO 1" >>confdefs.h
10484 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
10486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
10487 $as_echo_n "checking for -lcapi20... " >&6; }
10488 if test "${ac_cv_lib_soname_capi20+set}" = set; then :
10489 $as_echo_n "(cached) " >&6
10491 ac_check_soname_save_LIBS=$LIBS
10492 LIBS="-lcapi20 $LIBS"
10493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10494 /* end confdefs.h. */
10496 /* Override any GCC internal prototype to avoid an error.
10497 Use char because int might match the return type of a GCC
10498 builtin and then its argument prototype would still apply. */
10502 char capi20_register ();
10506 return capi20_register ();
10511 if ac_fn_c_try_link "$LINENO"; then :
10513 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10514 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'` ;;
10515 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10518 rm -f core conftest.err conftest.$ac_objext \
10519 conftest$ac_exeext conftest.$ac_ext
10520 LIBS=$ac_check_soname_save_LIBS
10522 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
10523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10524 $as_echo "not found" >&6; }
10527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
10528 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
10530 cat >>confdefs.h <<_ACEOF
10531 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
10537 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
10538 case "x$with_capi" in
10539 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
10541 *) as_fn_error "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
10542 This is an error since --with-capi was requested." "$LINENO" 5 ;;
10548 if test "x$with_cups" != "xno"
10550 ac_save_CPPFLAGS="$CPPFLAGS"
10551 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
10552 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
10553 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
10554 for ac_header in cups/cups.h
10556 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
10557 if test "x$ac_cv_header_cups_cups_h" = x""yes; then :
10558 cat >>confdefs.h <<_ACEOF
10559 #define HAVE_CUPS_CUPS_H 1
10561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
10562 $as_echo_n "checking for -lcups... " >&6; }
10563 if test "${ac_cv_lib_soname_cups+set}" = set; then :
10564 $as_echo_n "(cached) " >&6
10566 ac_check_soname_save_LIBS=$LIBS
10567 LIBS="-lcups $ac_cups_libs $LIBS"
10568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10569 /* end confdefs.h. */
10571 /* Override any GCC internal prototype to avoid an error.
10572 Use char because int might match the return type of a GCC
10573 builtin and then its argument prototype would still apply. */
10577 char cupsGetDefault ();
10581 return cupsGetDefault ();
10586 if ac_fn_c_try_link "$LINENO"; then :
10588 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10589 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'` ;;
10590 *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10593 rm -f core conftest.err conftest.$ac_objext \
10594 conftest$ac_exeext conftest.$ac_ext
10595 LIBS=$ac_check_soname_save_LIBS
10597 if test "x$ac_cv_lib_soname_cups" = "x"; then :
10598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10599 $as_echo "not found" >&6; }
10602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
10603 $as_echo "$ac_cv_lib_soname_cups" >&6; }
10605 cat >>confdefs.h <<_ACEOF
10606 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
10609 CUPSINCL="$ac_cups_cflags"
10615 CPPFLAGS="$ac_save_CPPFLAGS"
10617 if test "x$ac_cv_lib_soname_cups" = "x"; then :
10618 case "x$with_cups" in
10619 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
10621 *) as_fn_error "libcups ${notice_platform}development files not found, CUPS won't be supported.
10622 This is an error since --with-cups was requested." "$LINENO" 5 ;;
10626 if test "$ac_cv_header_jack_jack_h" = "yes"
10628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljack" >&5
10629 $as_echo_n "checking for -ljack... " >&6; }
10630 if test "${ac_cv_lib_soname_jack+set}" = set; then :
10631 $as_echo_n "(cached) " >&6
10633 ac_check_soname_save_LIBS=$LIBS
10634 LIBS="-ljack $LIBS"
10635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10636 /* end confdefs.h. */
10638 /* Override any GCC internal prototype to avoid an error.
10639 Use char because int might match the return type of a GCC
10640 builtin and then its argument prototype would still apply. */
10644 char jack_client_new ();
10648 return jack_client_new ();
10653 if ac_fn_c_try_link "$LINENO"; then :
10655 dll) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest.exe | grep "jack" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10656 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'` ;;
10657 *) 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'` ;;
10660 rm -f core conftest.err conftest.$ac_objext \
10661 conftest$ac_exeext conftest.$ac_ext
10662 LIBS=$ac_check_soname_save_LIBS
10664 if test "x$ac_cv_lib_soname_jack" = "x"; then :
10665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10666 $as_echo "not found" >&6; }
10669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jack" >&5
10670 $as_echo "$ac_cv_lib_soname_jack" >&6; }
10672 cat >>confdefs.h <<_ACEOF
10673 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
10680 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
10682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
10683 $as_echo_n "checking for -lfontconfig... " >&6; }
10684 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then :
10685 $as_echo_n "(cached) " >&6
10687 ac_check_soname_save_LIBS=$LIBS
10688 LIBS="-lfontconfig $LIBS"
10689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10690 /* end confdefs.h. */
10692 /* Override any GCC internal prototype to avoid an error.
10693 Use char because int might match the return type of a GCC
10694 builtin and then its argument prototype would still apply. */
10707 if ac_fn_c_try_link "$LINENO"; then :
10709 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10710 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'` ;;
10711 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10714 rm -f core conftest.err conftest.$ac_objext \
10715 conftest$ac_exeext conftest.$ac_ext
10716 LIBS=$ac_check_soname_save_LIBS
10718 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
10719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10720 $as_echo "not found" >&6; }
10723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
10724 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
10726 cat >>confdefs.h <<_ACEOF
10727 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
10732 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
10734 ac_save_CPPFLAGS="$CPPFLAGS"
10735 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
10736 $as_unset ac_cv_header_fontconfig_fontconfig_h
10737 for ac_header in fontconfig/fontconfig.h
10739 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
10740 if test "x$ac_cv_header_fontconfig_fontconfig_h" = x""yes; then :
10741 cat >>confdefs.h <<_ACEOF
10742 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
10749 CPPFLAGS="$ac_save_CPPFLAGS"
10750 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
10752 FONTCONFIGINCL="$X_CFLAGS"
10754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
10755 $as_echo_n "checking for -lfontconfig... " >&6; }
10756 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then :
10757 $as_echo_n "(cached) " >&6
10759 ac_check_soname_save_LIBS=$LIBS
10760 LIBS="-lfontconfig $X_LIBS $LIBS"
10761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10762 /* end confdefs.h. */
10764 /* Override any GCC internal prototype to avoid an error.
10765 Use char because int might match the return type of a GCC
10766 builtin and then its argument prototype would still apply. */
10779 if ac_fn_c_try_link "$LINENO"; then :
10781 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10782 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'` ;;
10783 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10786 rm -f core conftest.err conftest.$ac_objext \
10787 conftest$ac_exeext conftest.$ac_ext
10788 LIBS=$ac_check_soname_save_LIBS
10790 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
10791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10792 $as_echo "not found" >&6; }
10795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
10796 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
10798 cat >>confdefs.h <<_ACEOF
10799 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
10806 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
10807 case "x$with_fontconfig" in
10808 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
10810 *) as_fn_error "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
10811 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
10815 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
10817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lssl" >&5
10818 $as_echo_n "checking for -lssl... " >&6; }
10819 if test "${ac_cv_lib_soname_ssl+set}" = set; then :
10820 $as_echo_n "(cached) " >&6
10822 ac_check_soname_save_LIBS=$LIBS
10824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10825 /* end confdefs.h. */
10827 /* Override any GCC internal prototype to avoid an error.
10828 Use char because int might match the return type of a GCC
10829 builtin and then its argument prototype would still apply. */
10833 char SSL_library_init ();
10837 return SSL_library_init ();
10842 if ac_fn_c_try_link "$LINENO"; then :
10844 dll) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest.exe | grep "ssl" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10845 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'` ;;
10846 *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10849 rm -f core conftest.err conftest.$ac_objext \
10850 conftest$ac_exeext conftest.$ac_ext
10851 LIBS=$ac_check_soname_save_LIBS
10853 if test "x$ac_cv_lib_soname_ssl" = "x"; then :
10854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10855 $as_echo "not found" >&6; }
10858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ssl" >&5
10859 $as_echo "$ac_cv_lib_soname_ssl" >&6; }
10861 cat >>confdefs.h <<_ACEOF
10862 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
10867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcrypto" >&5
10868 $as_echo_n "checking for -lcrypto... " >&6; }
10869 if test "${ac_cv_lib_soname_crypto+set}" = set; then :
10870 $as_echo_n "(cached) " >&6
10872 ac_check_soname_save_LIBS=$LIBS
10873 LIBS="-lcrypto $LIBS"
10874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10875 /* end confdefs.h. */
10877 /* Override any GCC internal prototype to avoid an error.
10878 Use char because int might match the return type of a GCC
10879 builtin and then its argument prototype would still apply. */
10883 char BIO_new_socket ();
10887 return BIO_new_socket ();
10892 if ac_fn_c_try_link "$LINENO"; then :
10894 dll) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest.exe | grep "crypto" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10895 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'` ;;
10896 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10899 rm -f core conftest.err conftest.$ac_objext \
10900 conftest$ac_exeext conftest.$ac_ext
10901 LIBS=$ac_check_soname_save_LIBS
10903 if test "x$ac_cv_lib_soname_crypto" = "x"; then :
10904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10905 $as_echo "not found" >&6; }
10908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_crypto" >&5
10909 $as_echo "$ac_cv_lib_soname_crypto" >&6; }
10911 cat >>confdefs.h <<_ACEOF
10912 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
10918 if test "x$ac_cv_lib_soname_ssl" = "x" -o "x$ac_cv_lib_soname_crypto" = "x"; then :
10919 case "x$with_openssl" in
10920 x) as_fn_append wine_warnings "|OpenSSL ${notice_platform}development files not found, SSL won't be supported." ;;
10922 *) as_fn_error "OpenSSL ${notice_platform}development files not found, SSL won't be supported.
10923 This is an error since --with-openssl was requested." "$LINENO" 5 ;;
10927 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
10929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
10930 $as_echo_n "checking for -lgsm... " >&6; }
10931 if test "${ac_cv_lib_soname_gsm+set}" = set; then :
10932 $as_echo_n "(cached) " >&6
10934 ac_check_soname_save_LIBS=$LIBS
10936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10937 /* end confdefs.h. */
10939 /* Override any GCC internal prototype to avoid an error.
10940 Use char because int might match the return type of a GCC
10941 builtin and then its argument prototype would still apply. */
10945 char gsm_create ();
10949 return gsm_create ();
10954 if ac_fn_c_try_link "$LINENO"; then :
10956 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10957 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'` ;;
10958 *) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10961 rm -f core conftest.err conftest.$ac_objext \
10962 conftest$ac_exeext conftest.$ac_ext
10963 LIBS=$ac_check_soname_save_LIBS
10965 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
10966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10967 $as_echo "not found" >&6; }
10970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
10971 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
10973 cat >>confdefs.h <<_ACEOF
10974 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
10980 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
10981 case "x$with_gsm" in
10982 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
10984 *) as_fn_error "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
10985 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
10989 if test "$ac_cv_header_jpeglib_h" = "yes"
10991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
10992 $as_echo_n "checking for -ljpeg... " >&6; }
10993 if test "${ac_cv_lib_soname_jpeg+set}" = set; then :
10994 $as_echo_n "(cached) " >&6
10996 ac_check_soname_save_LIBS=$LIBS
10997 LIBS="-ljpeg $LIBS"
10998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10999 /* end confdefs.h. */
11001 /* Override any GCC internal prototype to avoid an error.
11002 Use char because int might match the return type of a GCC
11003 builtin and then its argument prototype would still apply. */
11007 char jpeg_start_decompress ();
11011 return jpeg_start_decompress ();
11016 if ac_fn_c_try_link "$LINENO"; then :
11018 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11019 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'` ;;
11020 *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11023 rm -f core conftest.err conftest.$ac_objext \
11024 conftest$ac_exeext conftest.$ac_ext
11025 LIBS=$ac_check_soname_save_LIBS
11027 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11029 $as_echo "not found" >&6; }
11032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
11033 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
11035 cat >>confdefs.h <<_ACEOF
11036 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
11042 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11043 case "x$with_jpeg" in
11044 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
11046 *) as_fn_error "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
11047 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
11051 if test "$ac_cv_header_png_h" = "yes"
11053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11054 $as_echo_n "checking for -lpng... " >&6; }
11055 if test "${ac_cv_lib_soname_png+set}" = set; then :
11056 $as_echo_n "(cached) " >&6
11058 ac_check_soname_save_LIBS=$LIBS
11059 LIBS="-lpng -lm -lz $LIBS"
11060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11061 /* end confdefs.h. */
11063 /* Override any GCC internal prototype to avoid an error.
11064 Use char because int might match the return type of a GCC
11065 builtin and then its argument prototype would still apply. */
11069 char png_create_read_struct ();
11073 return png_create_read_struct ();
11078 if ac_fn_c_try_link "$LINENO"; then :
11080 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11081 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'` ;;
11082 *) 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'` ;;
11085 rm -f core conftest.err conftest.$ac_objext \
11086 conftest$ac_exeext conftest.$ac_ext
11087 LIBS=$ac_check_soname_save_LIBS
11089 if test "x$ac_cv_lib_soname_png" = "x"; then :
11090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11091 $as_echo "not found" >&6; }
11094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
11095 $as_echo "$ac_cv_lib_soname_png" >&6; }
11097 cat >>confdefs.h <<_ACEOF
11098 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_expand_gray_1_2_4_to_8 in -lpng" >&5
11104 $as_echo_n "checking for png_set_expand_gray_1_2_4_to_8 in -lpng... " >&6; }
11105 if test "${ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8+set}" = set; then :
11106 $as_echo_n "(cached) " >&6
11108 ac_check_lib_save_LIBS=$LIBS
11109 LIBS="-lpng -lm -lz $LIBS"
11110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11111 /* end confdefs.h. */
11113 /* Override any GCC internal prototype to avoid an error.
11114 Use char because int might match the return type of a GCC
11115 builtin and then its argument prototype would still apply. */
11119 char png_set_expand_gray_1_2_4_to_8 ();
11123 return png_set_expand_gray_1_2_4_to_8 ();
11128 if ac_fn_c_try_link "$LINENO"; then :
11129 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8=yes
11131 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8=no
11133 rm -f core conftest.err conftest.$ac_objext \
11134 conftest$ac_exeext conftest.$ac_ext
11135 LIBS=$ac_check_lib_save_LIBS
11137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&5
11138 $as_echo "$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&6; }
11139 if test "x$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" = x""yes; then :
11141 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
11146 elif test -n "$X_CFLAGS" -a "x$with_png" != "xno"
11148 ac_save_CPPFLAGS="$CPPFLAGS"
11149 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11150 $as_unset ac_cv_header_png_h
11151 for ac_header in png.h
11153 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
11154 if test "x$ac_cv_header_png_h" = x""yes; then :
11155 cat >>confdefs.h <<_ACEOF
11156 #define HAVE_PNG_H 1
11163 CPPFLAGS="$ac_save_CPPFLAGS"
11164 if test "$ac_cv_header_png_h" = "yes"
11166 PNGINCL="$X_CFLAGS"
11168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11169 $as_echo_n "checking for -lpng... " >&6; }
11170 if test "${ac_cv_lib_soname_png+set}" = set; then :
11171 $as_echo_n "(cached) " >&6
11173 ac_check_soname_save_LIBS=$LIBS
11174 LIBS="-lpng $X_LIBS -lm -lz $LIBS"
11175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11176 /* end confdefs.h. */
11178 /* Override any GCC internal prototype to avoid an error.
11179 Use char because int might match the return type of a GCC
11180 builtin and then its argument prototype would still apply. */
11184 char png_create_read_struct ();
11188 return png_create_read_struct ();
11193 if ac_fn_c_try_link "$LINENO"; then :
11195 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11196 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'` ;;
11197 *) 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'` ;;
11200 rm -f core conftest.err conftest.$ac_objext \
11201 conftest$ac_exeext conftest.$ac_ext
11202 LIBS=$ac_check_soname_save_LIBS
11204 if test "x$ac_cv_lib_soname_png" = "x"; then :
11205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11206 $as_echo "not found" >&6; }
11209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
11210 $as_echo "$ac_cv_lib_soname_png" >&6; }
11212 cat >>confdefs.h <<_ACEOF
11213 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_expand_gray_1_2_4_to_8 in -lpng" >&5
11219 $as_echo_n "checking for png_set_expand_gray_1_2_4_to_8 in -lpng... " >&6; }
11220 if test "${ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8+set}" = set; then :
11221 $as_echo_n "(cached) " >&6
11223 ac_check_lib_save_LIBS=$LIBS
11224 LIBS="-lpng $X_LIBS -lm -lz $LIBS"
11225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11226 /* end confdefs.h. */
11228 /* Override any GCC internal prototype to avoid an error.
11229 Use char because int might match the return type of a GCC
11230 builtin and then its argument prototype would still apply. */
11234 char png_set_expand_gray_1_2_4_to_8 ();
11238 return png_set_expand_gray_1_2_4_to_8 ();
11243 if ac_fn_c_try_link "$LINENO"; then :
11244 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8=yes
11246 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8=no
11248 rm -f core conftest.err conftest.$ac_objext \
11249 conftest$ac_exeext conftest.$ac_ext
11250 LIBS=$ac_check_lib_save_LIBS
11252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&5
11253 $as_echo "$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&6; }
11254 if test "x$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" = x""yes; then :
11255 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
11261 if test "x$ac_cv_lib_soname_png" = "x"; then :
11262 case "x$with_png" in
11263 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
11265 *) as_fn_error "libpng ${notice_platform}development files not found, PNG won't be supported.
11266 This is an error since --with-png was requested." "$LINENO" 5 ;;
11270 if test "$ac_cv_header_tiffio_h" = "yes"
11272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
11273 $as_echo_n "checking for -ltiff... " >&6; }
11274 if test "${ac_cv_lib_soname_tiff+set}" = set; then :
11275 $as_echo_n "(cached) " >&6
11277 ac_check_soname_save_LIBS=$LIBS
11278 LIBS="-ltiff $LIBS"
11279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11280 /* end confdefs.h. */
11282 /* Override any GCC internal prototype to avoid an error.
11283 Use char because int might match the return type of a GCC
11284 builtin and then its argument prototype would still apply. */
11288 char TIFFClientOpen ();
11292 return TIFFClientOpen ();
11297 if ac_fn_c_try_link "$LINENO"; then :
11299 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11300 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'` ;;
11301 *) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11304 rm -f core conftest.err conftest.$ac_objext \
11305 conftest$ac_exeext conftest.$ac_ext
11306 LIBS=$ac_check_soname_save_LIBS
11308 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
11309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11310 $as_echo "not found" >&6; }
11313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
11314 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
11316 cat >>confdefs.h <<_ACEOF
11317 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
11323 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
11324 case "x$with_tiff" in
11325 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
11327 *) as_fn_error "libtiff ${notice_platform}development files not found, TIFF won't be supported.
11328 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
11332 if test "$ac_cv_header_mpg123_h" = "yes"
11334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
11335 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
11336 if test "${ac_cv_lib_mpg123_mpg123_feed+set}" = set; then :
11337 $as_echo_n "(cached) " >&6
11339 ac_check_lib_save_LIBS=$LIBS
11340 LIBS="-lmpg123 $LIBS"
11341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11342 /* end confdefs.h. */
11344 /* Override any GCC internal prototype to avoid an error.
11345 Use char because int might match the return type of a GCC
11346 builtin and then its argument prototype would still apply. */
11350 char mpg123_feed ();
11354 return mpg123_feed ();
11359 if ac_fn_c_try_link "$LINENO"; then :
11360 ac_cv_lib_mpg123_mpg123_feed=yes
11362 ac_cv_lib_mpg123_mpg123_feed=no
11364 rm -f core conftest.err conftest.$ac_objext \
11365 conftest$ac_exeext conftest.$ac_ext
11366 LIBS=$ac_check_lib_save_LIBS
11368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
11369 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
11370 if test "x$ac_cv_lib_mpg123_mpg123_feed" = x""yes; then :
11371 LIBMPG123="-lmpg123"
11376 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
11377 case "x$with_mpg123" in
11378 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
11380 *) as_fn_error "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
11381 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
11384 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes -o "x$ac_cv_func_AudioFileStreamOpen" = xyes || enable_winemp3_acm=${enable_winemp3_acm:-no}
11386 if test "$ac_cv_header_AL_al_h" = "yes"
11388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
11389 $as_echo_n "checking for -lopenal... " >&6; }
11390 if test "${ac_cv_lib_soname_openal+set}" = set; then :
11391 $as_echo_n "(cached) " >&6
11393 ac_check_soname_save_LIBS=$LIBS
11394 LIBS="-lopenal $LIBS"
11395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11396 /* end confdefs.h. */
11398 /* Override any GCC internal prototype to avoid an error.
11399 Use char because int might match the return type of a GCC
11400 builtin and then its argument prototype would still apply. */
11404 char alGetSource3i ();
11408 return alGetSource3i ();
11413 if ac_fn_c_try_link "$LINENO"; then :
11415 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11416 dylib) ac_cv_lib_soname_openal=`otool -L conftest$ac_exeext | grep "libopenal\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libopenal\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11417 *) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11420 rm -f core conftest.err conftest.$ac_objext \
11421 conftest$ac_exeext conftest.$ac_ext
11422 LIBS=$ac_check_soname_save_LIBS
11424 if test "x$ac_cv_lib_soname_openal" = "x"; then :
11425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11426 $as_echo "not found" >&6; }
11429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
11430 $as_echo "$ac_cv_lib_soname_openal" >&6; }
11432 cat >>confdefs.h <<_ACEOF
11433 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
11436 LIBOPENAL="-lopenal"
11438 ac_cv_lib_openal=yes
11440 cat >>confdefs.h <<_ACEOF
11441 #define HAVE_OPENAL 1
11446 if test "x$ac_cv_lib_openal" != xyes; then :
11447 case "x$with_openal" in
11448 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
11450 *) as_fn_error "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
11451 This is an error since --with-openal was requested." "$LINENO" 5 ;;
11454 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
11456 if test "$ac_cv_header_kstat_h" = "yes"
11458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
11459 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
11460 if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then :
11461 $as_echo_n "(cached) " >&6
11463 ac_check_lib_save_LIBS=$LIBS
11464 LIBS="-lkstat $LIBS"
11465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11466 /* end confdefs.h. */
11468 /* Override any GCC internal prototype to avoid an error.
11469 Use char because int might match the return type of a GCC
11470 builtin and then its argument prototype would still apply. */
11474 char kstat_open ();
11478 return kstat_open ();
11483 if ac_fn_c_try_link "$LINENO"; then :
11484 ac_cv_lib_kstat_kstat_open=yes
11486 ac_cv_lib_kstat_kstat_open=no
11488 rm -f core conftest.err conftest.$ac_objext \
11489 conftest$ac_exeext conftest.$ac_ext
11490 LIBS=$ac_check_lib_save_LIBS
11492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
11493 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
11494 if test "x$ac_cv_lib_kstat_kstat_open" = x""yes; then :
11496 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
11504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
11505 $as_echo_n "checking for -lodbc... " >&6; }
11506 if test "${ac_cv_lib_soname_odbc+set}" = set; then :
11507 $as_echo_n "(cached) " >&6
11509 ac_check_soname_save_LIBS=$LIBS
11510 LIBS="-lodbc $LIBS"
11511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11512 /* end confdefs.h. */
11514 /* Override any GCC internal prototype to avoid an error.
11515 Use char because int might match the return type of a GCC
11516 builtin and then its argument prototype would still apply. */
11520 char SQLConnect ();
11524 return SQLConnect ();
11529 if ac_fn_c_try_link "$LINENO"; then :
11531 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11532 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'` ;;
11533 *) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11536 rm -f core conftest.err conftest.$ac_objext \
11537 conftest$ac_exeext conftest.$ac_ext
11538 LIBS=$ac_check_soname_save_LIBS
11540 if test "x$ac_cv_lib_soname_odbc" = "x"; then :
11541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11542 $as_echo "not found" >&6; }
11543 cat >>confdefs.h <<_ACEOF
11544 #define SONAME_LIBODBC "libodbc.$LIBEXT"
11548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
11549 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
11551 cat >>confdefs.h <<_ACEOF
11552 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
11558 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESDLIBS$ac_cv_lib_soname_jack" = "x" -a \
11559 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
11560 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
11561 "$ac_cv_header_soundcard_h" != "yes" -a \
11562 "x$with_alsa$with_audioio$with_coreaudio$with_nas$with_esd$with_jack$with_oss" != xnonononononono
11564 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
11570 if test "x${GCC}" = "xyes"
11572 EXTRACFLAGS="-Wall -pipe"
11574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
11575 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
11576 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then :
11577 $as_echo_n "(cached) " >&6
11579 if test "$cross_compiling" = yes; then :
11580 ac_cv_c_gcc_strength_bug="yes"
11582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11583 /* end confdefs.h. */
11584 int L[4] = {0,1,2,3};
11588 static int Array[3];
11589 unsigned int B = 3;
11591 for(i=0; i<B; i++) Array[i] = i - 3;
11592 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
11594 return (Array[1] != -2 || L[2] != 3)
11599 if ac_fn_c_try_run "$LINENO"; then :
11600 ac_cv_c_gcc_strength_bug="no"
11602 ac_cv_c_gcc_strength_bug="yes"
11604 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
11605 conftest.$ac_objext conftest.beam conftest.$ac_ext
11609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
11610 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
11611 if test "$ac_cv_c_gcc_strength_bug" = "yes"
11613 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
11616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
11617 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
11618 if test "${ac_cv_cflags__fno_builtin+set}" = set; then :
11619 $as_echo_n "(cached) " >&6
11621 ac_wine_try_cflags_saved=$CFLAGS
11622 CFLAGS="$CFLAGS -fno-builtin"
11623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11624 /* end confdefs.h. */
11625 int main(int argc, char **argv) { return 0; }
11627 if ac_fn_c_try_link "$LINENO"; then :
11628 ac_cv_cflags__fno_builtin=yes
11630 ac_cv_cflags__fno_builtin=no
11632 rm -f core conftest.err conftest.$ac_objext \
11633 conftest$ac_exeext conftest.$ac_ext
11634 CFLAGS=$ac_wine_try_cflags_saved
11636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
11637 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
11638 if test $ac_cv_cflags__fno_builtin = yes; then :
11639 BUILTINFLAG="-fno-builtin"
11642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
11643 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
11644 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then :
11645 $as_echo_n "(cached) " >&6
11647 ac_wine_try_cflags_saved=$CFLAGS
11648 CFLAGS="$CFLAGS -fno-strict-aliasing"
11649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11650 /* end confdefs.h. */
11651 int main(int argc, char **argv) { return 0; }
11653 if ac_fn_c_try_link "$LINENO"; then :
11654 ac_cv_cflags__fno_strict_aliasing=yes
11656 ac_cv_cflags__fno_strict_aliasing=no
11658 rm -f core conftest.err conftest.$ac_objext \
11659 conftest$ac_exeext conftest.$ac_ext
11660 CFLAGS=$ac_wine_try_cflags_saved
11662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
11663 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
11664 if test $ac_cv_cflags__fno_strict_aliasing = yes; then :
11665 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
11667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
11668 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
11669 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then :
11670 $as_echo_n "(cached) " >&6
11672 ac_wine_try_cflags_saved=$CFLAGS
11673 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
11674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11675 /* end confdefs.h. */
11676 int main(int argc, char **argv) { return 0; }
11678 if ac_fn_c_try_link "$LINENO"; then :
11679 ac_cv_cflags__Wdeclaration_after_statement=yes
11681 ac_cv_cflags__Wdeclaration_after_statement=no
11683 rm -f core conftest.err conftest.$ac_objext \
11684 conftest$ac_exeext conftest.$ac_ext
11685 CFLAGS=$ac_wine_try_cflags_saved
11687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
11688 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
11689 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then :
11690 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
11692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
11693 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
11694 if test "${ac_cv_cflags__Wstrict_prototypes+set}" = set; then :
11695 $as_echo_n "(cached) " >&6
11697 ac_wine_try_cflags_saved=$CFLAGS
11698 CFLAGS="$CFLAGS -Wstrict-prototypes"
11699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11700 /* end confdefs.h. */
11701 int main(int argc, char **argv) { return 0; }
11703 if ac_fn_c_try_link "$LINENO"; then :
11704 ac_cv_cflags__Wstrict_prototypes=yes
11706 ac_cv_cflags__Wstrict_prototypes=no
11708 rm -f core conftest.err conftest.$ac_objext \
11709 conftest$ac_exeext conftest.$ac_ext
11710 CFLAGS=$ac_wine_try_cflags_saved
11712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
11713 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
11714 if test $ac_cv_cflags__Wstrict_prototypes = yes; then :
11715 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
11717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
11718 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
11719 if test "${ac_cv_cflags__Wtype_limits+set}" = set; then :
11720 $as_echo_n "(cached) " >&6
11722 ac_wine_try_cflags_saved=$CFLAGS
11723 CFLAGS="$CFLAGS -Wtype-limits"
11724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11725 /* end confdefs.h. */
11726 int main(int argc, char **argv) { return 0; }
11728 if ac_fn_c_try_link "$LINENO"; then :
11729 ac_cv_cflags__Wtype_limits=yes
11731 ac_cv_cflags__Wtype_limits=no
11733 rm -f core conftest.err conftest.$ac_objext \
11734 conftest$ac_exeext conftest.$ac_ext
11735 CFLAGS=$ac_wine_try_cflags_saved
11737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
11738 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
11739 if test $ac_cv_cflags__Wtype_limits = yes; then :
11740 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
11742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
11743 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
11744 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then :
11745 $as_echo_n "(cached) " >&6
11747 ac_wine_try_cflags_saved=$CFLAGS
11748 CFLAGS="$CFLAGS -Wwrite-strings"
11749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11750 /* end confdefs.h. */
11751 int main(int argc, char **argv) { return 0; }
11753 if ac_fn_c_try_link "$LINENO"; then :
11754 ac_cv_cflags__Wwrite_strings=yes
11756 ac_cv_cflags__Wwrite_strings=no
11758 rm -f core conftest.err conftest.$ac_objext \
11759 conftest$ac_exeext conftest.$ac_ext
11760 CFLAGS=$ac_wine_try_cflags_saved
11762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
11763 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
11764 if test $ac_cv_cflags__Wwrite_strings = yes; then :
11765 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
11768 saved_CFLAGS="$CFLAGS"
11769 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
11770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings" >&5
11771 $as_echo_n "checking for broken string.h that generates warnings... " >&6; }
11772 if test "${ac_cv_c_string_h_warnings+set}" = set; then :
11773 $as_echo_n "(cached) " >&6
11775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11776 /* end confdefs.h. */
11777 #include <string.h>
11786 if ac_fn_c_try_compile "$LINENO"; then :
11787 ac_cv_c_string_h_warnings=no
11789 ac_cv_c_string_h_warnings=yes
11791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
11794 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
11795 CFLAGS="$saved_CFLAGS"
11796 if test "$ac_cv_c_string_h_warnings" = "no"
11798 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
11801 if test "${enable_maintainer_mode+set}" = set
11803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
11804 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
11805 if test "${ac_cv_cflags__Werror+set}" = set; then :
11806 $as_echo_n "(cached) " >&6
11808 ac_wine_try_cflags_saved=$CFLAGS
11809 CFLAGS="$CFLAGS -Werror"
11810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11811 /* end confdefs.h. */
11812 int main(int argc, char **argv) { return 0; }
11814 if ac_fn_c_try_link "$LINENO"; then :
11815 ac_cv_cflags__Werror=yes
11817 ac_cv_cflags__Werror=no
11819 rm -f core conftest.err conftest.$ac_objext \
11820 conftest$ac_exeext conftest.$ac_ext
11821 CFLAGS=$ac_wine_try_cflags_saved
11823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
11824 $as_echo "$ac_cv_cflags__Werror" >&6; }
11825 if test $ac_cv_cflags__Werror = yes; then :
11826 EXTRACFLAGS="$EXTRACFLAGS -Werror"
11830 saved_CFLAGS="$CFLAGS"
11831 CFLAGS="$CFLAGS -Werror"
11832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
11833 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
11834 if test "${ac_cv_have_ms_hook_prologue+set}" = set; then :
11835 $as_echo_n "(cached) " >&6
11837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11838 /* end confdefs.h. */
11839 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
11848 if ac_fn_c_try_compile "$LINENO"; then :
11849 ac_cv_have_ms_hook_prologue="yes"
11851 ac_cv_have_ms_hook_prologue="no"
11853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
11856 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
11857 CFLAGS="$saved_CFLAGS"
11858 if test "$ac_cv_have_ms_hook_prologue" = "yes"
11861 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
11864 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
11870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
11871 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
11872 if test "${ac_cv_c_extern_prefix+set}" = set; then :
11873 $as_echo_n "(cached) " >&6
11875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11876 /* end confdefs.h. */
11877 extern int ac_test;
11881 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
11886 if ac_fn_c_try_link "$LINENO"; then :
11887 ac_cv_c_extern_prefix="yes"
11889 ac_cv_c_extern_prefix="no"
11891 rm -f core conftest.err conftest.$ac_objext \
11892 conftest$ac_exeext conftest.$ac_ext
11894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
11895 $as_echo "$ac_cv_c_extern_prefix" >&6; }
11899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
11900 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
11901 if test "${ac_cv_c_stdcall_suffix+set}" = set; then :
11902 $as_echo_n "(cached) " >&6
11904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11905 /* end confdefs.h. */
11907 #define __stdcall __attribute__((__stdcall__))
11909 int __stdcall ac_test(int i) { return i; }
11913 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
11918 if ac_fn_c_try_link "$LINENO"; then :
11919 ac_cv_c_stdcall_suffix="yes"
11921 ac_cv_c_stdcall_suffix="no"
11923 rm -f core conftest.err conftest.$ac_objext \
11924 conftest$ac_exeext conftest.$ac_ext
11926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
11927 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
11928 *) ac_cv_c_stdcall_suffix="no" ;;
11932 if test "$ac_cv_c_extern_prefix" = "yes"
11934 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
11936 asm_name_prefix="_"
11938 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
11944 if test "$ac_cv_c_stdcall_suffix" = "yes"
11946 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
11949 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
11954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
11955 $as_echo_n "checking how to define a function in assembly code... " >&6; }
11956 if test "${ac_cv_asm_func_def+set}" = set; then :
11957 $as_echo_n "(cached) " >&6
11959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11960 /* end confdefs.h. */
11965 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
11970 if ac_fn_c_try_link "$LINENO"; then :
11971 ac_cv_asm_func_def=".def"
11973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11974 /* end confdefs.h. */
11979 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
11984 if ac_fn_c_try_link "$LINENO"; then :
11985 ac_cv_asm_func_def=".type @function"
11987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11988 /* end confdefs.h. */
11993 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
11998 if ac_fn_c_try_link "$LINENO"; then :
11999 ac_cv_asm_func_def=".type 2"
12001 ac_cv_asm_func_def="unknown"
12003 rm -f core conftest.err conftest.$ac_objext \
12004 conftest$ac_exeext conftest.$ac_ext
12006 rm -f core conftest.err conftest.$ac_objext \
12007 conftest$ac_exeext conftest.$ac_ext
12009 rm -f core conftest.err conftest.$ac_objext \
12010 conftest$ac_exeext conftest.$ac_ext
12012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
12013 $as_echo "$ac_cv_asm_func_def" >&6; }
12016 case "$ac_cv_asm_func_def" in
12018 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
12020 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
12022 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
12024 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
12026 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
12028 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
12030 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
12032 asm_func_header="" ;;
12035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
12036 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
12037 if test "${ac_cv_c_asm_outside_funcs+set}" = set; then :
12038 $as_echo_n "(cached) " >&6
12040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12041 /* end confdefs.h. */
12042 asm(".text\n\t.long 0");
12051 if ac_fn_c_try_compile "$LINENO"; then :
12052 ac_cv_c_asm_outside_funcs="yes"
12054 ac_cv_c_asm_outside_funcs="no"
12056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
12059 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
12061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
12062 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
12063 if test "${ac_cv_c_dot_previous+set}" = set; then :
12064 $as_echo_n "(cached) " >&6
12066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12067 /* end confdefs.h. */
12072 asm(".text\nac_test:\t.long 0\n\t.previous");
12077 if ac_fn_c_try_link "$LINENO"; then :
12078 ac_cv_c_dot_previous="yes"
12080 ac_cv_c_dot_previous="no"
12082 rm -f core conftest.err conftest.$ac_objext \
12083 conftest$ac_exeext conftest.$ac_ext
12085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
12086 $as_echo "$ac_cv_c_dot_previous" >&6; }
12088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
12089 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
12090 if test "${ac_cv_c_cfi_support+set}" = set; then :
12091 $as_echo_n "(cached) " >&6
12093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12094 /* end confdefs.h. */
12095 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
12104 if ac_fn_c_try_compile "$LINENO"; then :
12105 ac_cv_c_cfi_support="yes"
12107 ac_cv_c_cfi_support="no"
12109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
12112 $as_echo "$ac_cv_c_cfi_support" >&6; }
12114 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
12115 asm_func_trailer=""
12116 if test "$ac_cv_c_dot_previous" = "yes"
12118 asm_func_trailer="\\n\\t.previous"
12120 if test "$ac_cv_c_cfi_support" = "yes"
12122 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
12123 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
12125 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
12128 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
12132 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
12135 if test "$ac_cv_c_asm_outside_funcs" = "yes"
12137 cat >>confdefs.h <<_ACEOF
12138 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
12142 cat >>confdefs.h <<_ACEOF
12143 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
12148 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
12151 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
12161 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
12166 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
12174 SOCKETLIBS="-L\$(TOPOBJDIR)/dlls/ws2_32 -lws2_32"
12181 test -z "$with_wine64" || MAIN_BINARY="wine32"
12187 EXTRA_BINARIES="wine-preloader"
12194 ac_save_CFLAGS="$CFLAGS"
12195 CFLAGS="$CFLAGS $BUILTINFLAG"
12242 sched_setaffinity \
12271 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12272 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12273 eval as_val=\$$as_ac_var
12274 if test "x$as_val" = x""yes; then :
12275 cat >>confdefs.h <<_ACEOF
12276 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12282 CFLAGS="$ac_save_CFLAGS"
12284 if test "$ac_cv_func_dlopen" = no
12286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12287 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12288 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12289 $as_echo_n "(cached) " >&6
12291 ac_check_lib_save_LIBS=$LIBS
12293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12294 /* end confdefs.h. */
12296 /* Override any GCC internal prototype to avoid an error.
12297 Use char because int might match the return type of a GCC
12298 builtin and then its argument prototype would still apply. */
12311 if ac_fn_c_try_link "$LINENO"; then :
12312 ac_cv_lib_dl_dlopen=yes
12314 ac_cv_lib_dl_dlopen=no
12316 rm -f core conftest.err conftest.$ac_objext \
12317 conftest$ac_exeext conftest.$ac_ext
12318 LIBS=$ac_check_lib_save_LIBS
12320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12321 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12322 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
12323 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
12329 ac_wine_check_funcs_save_LIBS="$LIBS"
12330 LIBS="$LIBS $LIBDL"
12331 for ac_func in dladdr
12333 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
12334 if test "x$ac_cv_func_dladdr" = x""yes; then :
12335 cat >>confdefs.h <<_ACEOF
12336 #define HAVE_DLADDR 1
12342 LIBS="$ac_wine_check_funcs_save_LIBS"
12344 if test "$ac_cv_func_poll" = no
12346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
12347 $as_echo_n "checking for poll in -lpoll... " >&6; }
12348 if test "${ac_cv_lib_poll_poll+set}" = set; then :
12349 $as_echo_n "(cached) " >&6
12351 ac_check_lib_save_LIBS=$LIBS
12352 LIBS="-lpoll $LIBS"
12353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12354 /* end confdefs.h. */
12356 /* Override any GCC internal prototype to avoid an error.
12357 Use char because int might match the return type of a GCC
12358 builtin and then its argument prototype would still apply. */
12371 if ac_fn_c_try_link "$LINENO"; then :
12372 ac_cv_lib_poll_poll=yes
12374 ac_cv_lib_poll_poll=no
12376 rm -f core conftest.err conftest.$ac_objext \
12377 conftest$ac_exeext conftest.$ac_ext
12378 LIBS=$ac_check_lib_save_LIBS
12380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
12381 $as_echo "$ac_cv_lib_poll_poll" >&6; }
12382 if test "x$ac_cv_lib_poll_poll" = x""yes; then :
12383 $as_echo "#define HAVE_POLL 1" >>confdefs.h
12390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
12391 $as_echo_n "checking for library containing gethostbyname... " >&6; }
12392 if test "${ac_cv_search_gethostbyname+set}" = set; then :
12393 $as_echo_n "(cached) " >&6
12395 ac_func_search_save_LIBS=$LIBS
12396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12397 /* end confdefs.h. */
12399 /* Override any GCC internal prototype to avoid an error.
12400 Use char because int might match the return type of a GCC
12401 builtin and then its argument prototype would still apply. */
12405 char gethostbyname ();
12409 return gethostbyname ();
12414 for ac_lib in '' nsl; do
12415 if test -z "$ac_lib"; then
12416 ac_res="none required"
12419 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12421 if ac_fn_c_try_link "$LINENO"; then :
12422 ac_cv_search_gethostbyname=$ac_res
12424 rm -f core conftest.err conftest.$ac_objext \
12426 if test "${ac_cv_search_gethostbyname+set}" = set; then :
12430 if test "${ac_cv_search_gethostbyname+set}" = set; then :
12433 ac_cv_search_gethostbyname=no
12435 rm conftest.$ac_ext
12436 LIBS=$ac_func_search_save_LIBS
12438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
12439 $as_echo "$ac_cv_search_gethostbyname" >&6; }
12440 ac_res=$ac_cv_search_gethostbyname
12441 if test "$ac_res" != no; then :
12442 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
12448 $as_echo_n "checking for library containing connect... " >&6; }
12449 if test "${ac_cv_search_connect+set}" = set; then :
12450 $as_echo_n "(cached) " >&6
12452 ac_func_search_save_LIBS=$LIBS
12453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12454 /* end confdefs.h. */
12456 /* Override any GCC internal prototype to avoid an error.
12457 Use char because int might match the return type of a GCC
12458 builtin and then its argument prototype would still apply. */
12471 for ac_lib in '' socket; do
12472 if test -z "$ac_lib"; then
12473 ac_res="none required"
12476 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12478 if ac_fn_c_try_link "$LINENO"; then :
12479 ac_cv_search_connect=$ac_res
12481 rm -f core conftest.err conftest.$ac_objext \
12483 if test "${ac_cv_search_connect+set}" = set; then :
12487 if test "${ac_cv_search_connect+set}" = set; then :
12490 ac_cv_search_connect=no
12492 rm conftest.$ac_ext
12493 LIBS=$ac_func_search_save_LIBS
12495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
12496 $as_echo "$ac_cv_search_connect" >&6; }
12497 ac_res=$ac_cv_search_connect
12498 if test "$ac_res" != no; then :
12499 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
12505 $as_echo_n "checking for library containing inet_aton... " >&6; }
12506 if test "${ac_cv_search_inet_aton+set}" = set; then :
12507 $as_echo_n "(cached) " >&6
12509 ac_func_search_save_LIBS=$LIBS
12510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12511 /* end confdefs.h. */
12513 /* Override any GCC internal prototype to avoid an error.
12514 Use char because int might match the return type of a GCC
12515 builtin and then its argument prototype would still apply. */
12523 return inet_aton ();
12528 for ac_lib in '' resolv; do
12529 if test -z "$ac_lib"; then
12530 ac_res="none required"
12533 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12535 if ac_fn_c_try_link "$LINENO"; then :
12536 ac_cv_search_inet_aton=$ac_res
12538 rm -f core conftest.err conftest.$ac_objext \
12540 if test "${ac_cv_search_inet_aton+set}" = set; then :
12544 if test "${ac_cv_search_inet_aton+set}" = set; then :
12547 ac_cv_search_inet_aton=no
12549 rm conftest.$ac_ext
12550 LIBS=$ac_func_search_save_LIBS
12552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
12553 $as_echo "$ac_cv_search_inet_aton" >&6; }
12554 ac_res=$ac_cv_search_inet_aton
12555 if test "$ac_res" != no; then :
12556 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12575 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12576 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12577 eval as_val=\$$as_ac_var
12578 if test "x$as_val" = x""yes; then :
12579 cat >>confdefs.h <<_ACEOF
12580 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12589 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
12591 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
12593 if test "x$ac_cv_type_LDAPSortKey" = x""yes; then :
12594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
12595 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
12596 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then :
12597 $as_echo_n "(cached) " >&6
12599 ac_check_lib_save_LIBS=$LIBS
12600 LIBS="-lldap_r $LIBPTHREAD $LIBS"
12601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12602 /* end confdefs.h. */
12604 /* Override any GCC internal prototype to avoid an error.
12605 Use char because int might match the return type of a GCC
12606 builtin and then its argument prototype would still apply. */
12610 char ldap_initialize ();
12614 return ldap_initialize ();
12619 if ac_fn_c_try_link "$LINENO"; then :
12620 ac_cv_lib_ldap_r_ldap_initialize=yes
12622 ac_cv_lib_ldap_r_ldap_initialize=no
12624 rm -f core conftest.err conftest.$ac_objext \
12625 conftest$ac_exeext conftest.$ac_ext
12626 LIBS=$ac_check_lib_save_LIBS
12628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
12629 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
12630 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = x""yes; then :
12631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
12632 $as_echo_n "checking for ber_init in -llber... " >&6; }
12633 if test "${ac_cv_lib_lber_ber_init+set}" = set; then :
12634 $as_echo_n "(cached) " >&6
12636 ac_check_lib_save_LIBS=$LIBS
12637 LIBS="-llber $LIBPTHREAD $LIBS"
12638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12639 /* end confdefs.h. */
12641 /* Override any GCC internal prototype to avoid an error.
12642 Use char because int might match the return type of a GCC
12643 builtin and then its argument prototype would still apply. */
12651 return ber_init ();
12656 if ac_fn_c_try_link "$LINENO"; then :
12657 ac_cv_lib_lber_ber_init=yes
12659 ac_cv_lib_lber_ber_init=no
12661 rm -f core conftest.err conftest.$ac_objext \
12662 conftest$ac_exeext conftest.$ac_ext
12663 LIBS=$ac_check_lib_save_LIBS
12665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
12666 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
12667 if test "x$ac_cv_lib_lber_ber_init" = x""yes; then :
12669 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
12671 LDAPLIBS="-lldap_r -llber"
12678 ac_wine_check_funcs_save_LIBS="$LIBS"
12679 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
12681 ldap_count_references \
12682 ldap_first_reference \
12683 ldap_next_reference \
12684 ldap_parse_reference \
12685 ldap_parse_sort_control \
12686 ldap_parse_sortresponse_control \
12687 ldap_parse_vlv_control \
12688 ldap_parse_vlvresponse_control
12690 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12691 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12692 eval as_val=\$$as_ac_var
12693 if test "x$as_val" = x""yes; then :
12694 cat >>confdefs.h <<_ACEOF
12695 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12701 LIBS="$ac_wine_check_funcs_save_LIBS"
12703 if test "x$LDAPLIBS" = "x"; then :
12704 case "x$with_ldap" in
12705 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
12707 *) as_fn_error "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
12708 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
12712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
12713 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
12714 if test "${wine_cv_one_arg_mkdir+set}" = set; then :
12715 $as_echo_n "(cached) " >&6
12717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12718 /* end confdefs.h. */
12719 #include <sys/stat.h>
12728 if ac_fn_c_try_compile "$LINENO"; then :
12729 wine_cv_one_arg_mkdir=yes
12731 wine_cv_one_arg_mkdir=no
12733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
12736 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
12737 if test "$wine_cv_one_arg_mkdir" = "yes"
12740 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
12745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
12746 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
12747 if test "${ac_cv_c_const+set}" = set; then :
12748 $as_echo_n "(cached) " >&6
12750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12751 /* end confdefs.h. */
12756 /* FIXME: Include the comments suggested by Paul. */
12757 #ifndef __cplusplus
12758 /* Ultrix mips cc rejects this. */
12759 typedef int charset[2];
12761 /* SunOS 4.1.1 cc rejects this. */
12762 char const *const *pcpcc;
12764 /* NEC SVR4.0.2 mips cc rejects this. */
12765 struct point {int x, y;};
12766 static struct point const zero = {0,0};
12767 /* AIX XL C 1.02.0.0 rejects this.
12768 It does not let you subtract one const X* pointer from another in
12769 an arm of an if-expression whose if-part is not a constant
12771 const char *g = "string";
12772 pcpcc = &g + (g ? g-g : 0);
12773 /* HPUX 7.0 cc rejects these. */
12775 ppc = (char**) pcpcc;
12776 pcpcc = (char const *const *) ppc;
12777 { /* SCO 3.2v4 cc rejects this. */
12779 char const *s = 0 ? (char *) 0 : (char const *) 0;
12784 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
12785 int x[] = {25, 17};
12786 const int *foo = &x[0];
12789 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12790 typedef const int *iptr;
12794 { /* AIX XL C 1.02.0.0 rejects this saying
12795 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12796 struct s { int j; const int *ap[3]; };
12797 struct s *b; b->j = 5;
12799 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12800 const int foo = 10;
12801 if (!foo) return 0;
12803 return !cs[0] && !zero.x;
12810 if ac_fn_c_try_compile "$LINENO"; then :
12815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
12818 $as_echo "$ac_cv_c_const" >&6; }
12819 if test $ac_cv_c_const = no; then
12821 $as_echo "#define const /**/" >>confdefs.h
12825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
12826 $as_echo_n "checking for inline... " >&6; }
12827 if test "${ac_cv_c_inline+set}" = set; then :
12828 $as_echo_n "(cached) " >&6
12831 for ac_kw in inline __inline__ __inline; do
12832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12833 /* end confdefs.h. */
12834 #ifndef __cplusplus
12836 static $ac_kw foo_t static_foo () {return 0; }
12837 $ac_kw foo_t foo () {return 0; }
12841 if ac_fn_c_try_compile "$LINENO"; then :
12842 ac_cv_c_inline=$ac_kw
12844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12845 test "$ac_cv_c_inline" != no && break
12849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
12850 $as_echo "$ac_cv_c_inline" >&6; }
12852 case $ac_cv_c_inline in
12855 case $ac_cv_c_inline in
12857 *) ac_val=$ac_cv_c_inline;;
12859 cat >>confdefs.h <<_ACEOF
12860 #ifndef __cplusplus
12861 #define inline $ac_val
12867 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
12868 if test "x$ac_cv_type_mode_t" = x""yes; then :
12870 cat >>confdefs.h <<_ACEOF
12871 #define HAVE_MODE_T 1
12876 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
12877 if test "x$ac_cv_type_off_t" = x""yes; then :
12879 cat >>confdefs.h <<_ACEOF
12880 #define HAVE_OFF_T 1
12885 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
12886 if test "x$ac_cv_type_pid_t" = x""yes; then :
12888 cat >>confdefs.h <<_ACEOF
12889 #define HAVE_PID_T 1
12894 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
12895 if test "x$ac_cv_type_size_t" = x""yes; then :
12897 cat >>confdefs.h <<_ACEOF
12898 #define HAVE_SIZE_T 1
12903 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
12904 if test "x$ac_cv_type_ssize_t" = x""yes; then :
12906 cat >>confdefs.h <<_ACEOF
12907 #define HAVE_SSIZE_T 1
12912 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
12913 if test "x$ac_cv_type_long_long" = x""yes; then :
12915 cat >>confdefs.h <<_ACEOF
12916 #define HAVE_LONG_LONG 1
12921 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
12922 if test "x$ac_cv_type_fsblkcnt_t" = x""yes; then :
12924 cat >>confdefs.h <<_ACEOF
12925 #define HAVE_FSBLKCNT_T 1
12930 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
12931 if test "x$ac_cv_type_fsfilcnt_t" = x""yes; then :
12933 cat >>confdefs.h <<_ACEOF
12934 #define HAVE_FSFILCNT_T 1
12940 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
12941 #include <signal.h>
12943 if test "x$ac_cv_type_sigset_t" = x""yes; then :
12945 cat >>confdefs.h <<_ACEOF
12946 #define HAVE_SIGSET_T 1
12952 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
12954 if test "x$ac_cv_type_request_sense" = x""yes; then :
12956 cat >>confdefs.h <<_ACEOF
12957 #define HAVE_REQUEST_SENSE 1
12964 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
12965 #ifdef HAVE_SYS_SOCKET_H
12966 #include <sys/socket.h>
12968 #ifdef HAVE_SYS_SOCKETVAR_H
12969 #include <sys/socketvar.h>
12971 #ifdef HAVE_NET_ROUTE_H
12972 #include <net/route.h>
12974 #ifdef HAVE_NETINET_IN_H
12975 #include <netinet/in.h>
12977 #ifdef HAVE_NETINET_IN_SYSTM_H
12978 #include <netinet/in_systm.h>
12980 #ifdef HAVE_NETINET_IP_H
12981 #include <netinet/ip.h>
12983 #ifdef HAVE_NETINET_IN_PCB_H
12984 #include <netinet/in_pcb.h>
12987 if test "x$ac_cv_type_struct_xinpgen" = x""yes; then :
12989 cat >>confdefs.h <<_ACEOF
12990 #define HAVE_STRUCT_XINPGEN 1
12997 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
12998 #include <linux/input.h>
13001 if test "x$ac_cv_member_struct_ff_effect_direction" = x""yes; then :
13003 cat >>confdefs.h <<_ACEOF
13004 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
13011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
13012 $as_echo_n "checking for sigaddset... " >&6; }
13013 if test "${wine_cv_have_sigaddset+set}" = set; then :
13014 $as_echo_n "(cached) " >&6
13016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13017 /* end confdefs.h. */
13018 #include <signal.h>
13022 sigset_t set; sigaddset(&set,SIGTERM);
13027 if ac_fn_c_try_link "$LINENO"; then :
13028 wine_cv_have_sigaddset=yes
13030 wine_cv_have_sigaddset=no
13032 rm -f core conftest.err conftest.$ac_objext \
13033 conftest$ac_exeext conftest.$ac_ext
13035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
13036 $as_echo "$wine_cv_have_sigaddset" >&6; }
13037 if test "$wine_cv_have_sigaddset" = "yes"
13040 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
13045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
13046 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
13047 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then :
13048 $as_echo_n "(cached) " >&6
13050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13051 /* end confdefs.h. */
13059 struct hostent *result;
13066 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
13067 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
13073 if ac_fn_c_try_link "$LINENO"; then :
13074 wine_cv_linux_gethostbyname_r_6=yes
13076 wine_cv_linux_gethostbyname_r_6=no
13079 rm -f core conftest.err conftest.$ac_objext \
13080 conftest$ac_exeext conftest.$ac_ext
13083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
13084 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
13085 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
13088 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
13092 if test "$ac_cv_header_linux_joystick_h" = "yes"
13094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
13095 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
13096 if test "${wine_cv_linux_joystick_22_api+set}" = set; then :
13097 $as_echo_n "(cached) " >&6
13099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13100 /* end confdefs.h. */
13102 #include <sys/ioctl.h>
13103 #include <sys/types.h>
13104 #include <linux/joystick.h>
13106 struct js_event blub;
13107 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
13108 #error "no 2.2 header"
13119 if ac_fn_c_try_compile "$LINENO"; then :
13120 wine_cv_linux_joystick_22_api=yes
13122 wine_cv_linux_joystick_22_api=no
13124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
13128 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
13129 if test "$wine_cv_linux_joystick_22_api" = "yes"
13132 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
13138 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
13139 #ifdef HAVE_SYS_PARAM_H
13140 # include <sys/param.h>
13142 #ifdef HAVE_SYS_MOUNT_H
13143 # include <sys/mount.h>
13145 #ifdef HAVE_SYS_VFS_H
13146 # include <sys/vfs.h>
13148 #ifdef HAVE_SYS_STATFS_H
13149 # include <sys/statfs.h>
13152 if test "x$ac_cv_member_struct_statfs_f_bfree" = x""yes; then :
13154 cat >>confdefs.h <<_ACEOF
13155 #define HAVE_STRUCT_STATFS_F_BFREE 1
13160 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
13161 #ifdef HAVE_SYS_PARAM_H
13162 # include <sys/param.h>
13164 #ifdef HAVE_SYS_MOUNT_H
13165 # include <sys/mount.h>
13167 #ifdef HAVE_SYS_VFS_H
13168 # include <sys/vfs.h>
13170 #ifdef HAVE_SYS_STATFS_H
13171 # include <sys/statfs.h>
13174 if test "x$ac_cv_member_struct_statfs_f_bavail" = x""yes; then :
13176 cat >>confdefs.h <<_ACEOF
13177 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
13182 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
13183 #ifdef HAVE_SYS_PARAM_H
13184 # include <sys/param.h>
13186 #ifdef HAVE_SYS_MOUNT_H
13187 # include <sys/mount.h>
13189 #ifdef HAVE_SYS_VFS_H
13190 # include <sys/vfs.h>
13192 #ifdef HAVE_SYS_STATFS_H
13193 # include <sys/statfs.h>
13196 if test "x$ac_cv_member_struct_statfs_f_frsize" = x""yes; then :
13198 cat >>confdefs.h <<_ACEOF
13199 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
13204 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
13205 #ifdef HAVE_SYS_PARAM_H
13206 # include <sys/param.h>
13208 #ifdef HAVE_SYS_MOUNT_H
13209 # include <sys/mount.h>
13211 #ifdef HAVE_SYS_VFS_H
13212 # include <sys/vfs.h>
13214 #ifdef HAVE_SYS_STATFS_H
13215 # include <sys/statfs.h>
13218 if test "x$ac_cv_member_struct_statfs_f_ffree" = x""yes; then :
13220 cat >>confdefs.h <<_ACEOF
13221 #define HAVE_STRUCT_STATFS_F_FFREE 1
13226 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
13227 #ifdef HAVE_SYS_PARAM_H
13228 # include <sys/param.h>
13230 #ifdef HAVE_SYS_MOUNT_H
13231 # include <sys/mount.h>
13233 #ifdef HAVE_SYS_VFS_H
13234 # include <sys/vfs.h>
13236 #ifdef HAVE_SYS_STATFS_H
13237 # include <sys/statfs.h>
13240 if test "x$ac_cv_member_struct_statfs_f_favail" = x""yes; then :
13242 cat >>confdefs.h <<_ACEOF
13243 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
13248 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
13249 #ifdef HAVE_SYS_PARAM_H
13250 # include <sys/param.h>
13252 #ifdef HAVE_SYS_MOUNT_H
13253 # include <sys/mount.h>
13255 #ifdef HAVE_SYS_VFS_H
13256 # include <sys/vfs.h>
13258 #ifdef HAVE_SYS_STATFS_H
13259 # include <sys/statfs.h>
13262 if test "x$ac_cv_member_struct_statfs_f_namelen" = x""yes; then :
13264 cat >>confdefs.h <<_ACEOF
13265 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
13272 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
13273 #include <sys/statvfs.h>
13276 if test "x$ac_cv_member_struct_statvfs_f_blocks" = x""yes; then :
13278 cat >>confdefs.h <<_ACEOF
13279 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
13286 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
13287 #ifdef HAVE_SYS_SOCKET_H
13288 # include <sys/socket.h>
13290 #ifdef HAVE_SYS_UN_H
13291 # include <sys/un.h>
13294 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = x""yes; then :
13296 cat >>confdefs.h <<_ACEOF
13297 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
13302 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
13303 #ifdef HAVE_SYS_SOCKET_H
13304 # include <sys/socket.h>
13306 #ifdef HAVE_SYS_UN_H
13307 # include <sys/un.h>
13310 if test "x$ac_cv_member_struct_sockaddr_sa_len" = x""yes; then :
13312 cat >>confdefs.h <<_ACEOF
13313 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
13318 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
13319 #ifdef HAVE_SYS_SOCKET_H
13320 # include <sys/socket.h>
13322 #ifdef HAVE_SYS_UN_H
13323 # include <sys/un.h>
13326 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = x""yes; then :
13328 cat >>confdefs.h <<_ACEOF
13329 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
13336 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
13337 #ifdef HAVE_SCSI_SG_H
13338 #include <scsi/sg.h>
13341 if test "x$ac_cv_member_scsireq_t_cmd" = x""yes; then :
13343 cat >>confdefs.h <<_ACEOF
13344 #define HAVE_SCSIREQ_T_CMD 1
13349 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>
13350 #ifdef HAVE_SCSI_SG_H
13351 #include <scsi/sg.h>
13354 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = x""yes; then :
13356 cat >>confdefs.h <<_ACEOF
13357 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
13364 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
13366 if test "x$ac_cv_member_siginfo_t_si_fd" = x""yes; then :
13368 cat >>confdefs.h <<_ACEOF
13369 #define HAVE_SIGINFO_T_SI_FD 1
13376 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
13377 #ifdef HAVE_SYS_MTIO_H
13378 #include <sys/mtio.h>
13381 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = x""yes; then :
13383 cat >>confdefs.h <<_ACEOF
13384 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
13389 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
13390 #ifdef HAVE_SYS_MTIO_H
13391 #include <sys/mtio.h>
13394 if test "x$ac_cv_member_struct_mtget_mt_gstat" = x""yes; then :
13396 cat >>confdefs.h <<_ACEOF
13397 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
13402 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
13403 #ifdef HAVE_SYS_MTIO_H
13404 #include <sys/mtio.h>
13407 if test "x$ac_cv_member_struct_mtget_mt_blkno" = x""yes; then :
13409 cat >>confdefs.h <<_ACEOF
13410 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
13417 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
13418 #include <getopt.h>
13421 if test "x$ac_cv_member_struct_option_name" = x""yes; then :
13423 cat >>confdefs.h <<_ACEOF
13424 #define HAVE_STRUCT_OPTION_NAME 1
13431 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
13432 if test "x$ac_cv_member_struct_stat_st_blocks" = x""yes; then :
13434 cat >>confdefs.h <<_ACEOF
13435 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
13440 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
13441 if test "x$ac_cv_member_struct_stat_st_mtim" = x""yes; then :
13443 cat >>confdefs.h <<_ACEOF
13444 #define HAVE_STRUCT_STAT_ST_MTIM 1
13449 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
13450 if test "x$ac_cv_member_struct_stat_st_ctim" = x""yes; then :
13452 cat >>confdefs.h <<_ACEOF
13453 #define HAVE_STRUCT_STAT_ST_CTIM 1
13458 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
13459 if test "x$ac_cv_member_struct_stat_st_atim" = x""yes; then :
13461 cat >>confdefs.h <<_ACEOF
13462 #define HAVE_STRUCT_STAT_ST_ATIM 1
13469 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
13470 #include <sys/types.h>
13472 #ifdef HAVE_NETINET_IN_H
13473 #include <netinet/in.h>
13476 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = x""yes; then :
13478 cat >>confdefs.h <<_ACEOF
13479 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
13486 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
13487 #include <sys/types.h>
13489 #ifdef HAVE_NETINET_IN_H
13490 # include <netinet/in.h>
13492 #ifdef HAVE_ARPA_NAMESER_H
13493 # include <arpa/nameser.h>
13496 if test "x$ac_cv_member_ns_msg__msg_ptr" = x""yes; then :
13498 cat >>confdefs.h <<_ACEOF
13499 #define HAVE_NS_MSG__MSG_PTR 1
13506 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
13507 #include <sys/types.h>
13509 #ifdef HAVE_ALIAS_H
13512 #ifdef HAVE_SYS_SOCKET_H
13513 #include <sys/socket.h>
13515 #ifdef HAVE_SYS_SOCKETVAR_H
13516 #include <sys/socketvar.h>
13518 #ifdef HAVE_SYS_TIMEOUT_H
13519 #include <sys/timeout.h>
13521 #ifdef HAVE_NETINET_IN_H
13522 #include <netinet/in.h>
13524 #ifdef HAVE_NETINET_IN_SYSTM_H
13525 #include <netinet/in_systm.h>
13527 #ifdef HAVE_NETINET_IP_H
13528 #include <netinet/ip.h>
13530 #ifdef HAVE_NETINET_IP_VAR_H
13531 #include <netinet/ip_var.h>
13533 #ifdef HAVE_NETINET_IP_ICMP_H
13534 #include <netinet/ip_icmp.h>
13536 #ifdef HAVE_NETINET_ICMP_VAR
13537 #include <netinet/icmp_var.h>
13540 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = x""yes; then :
13542 cat >>confdefs.h <<_ACEOF
13543 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
13550 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
13551 #include <sys/types.h>
13553 #ifdef HAVE_NET_IF_H
13554 # include <net/if.h>
13557 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = x""yes; then :
13559 cat >>confdefs.h <<_ACEOF
13560 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
13567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
13568 $as_echo_n "checking for timezone variable... " >&6; }
13569 if test "${ac_cv_have_timezone+set}" = set; then :
13570 $as_echo_n "(cached) " >&6
13572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13573 /* end confdefs.h. */
13583 if ac_fn_c_try_link "$LINENO"; then :
13584 ac_cv_have_timezone="yes"
13586 ac_cv_have_timezone="no"
13588 rm -f core conftest.err conftest.$ac_objext \
13589 conftest$ac_exeext conftest.$ac_ext
13591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
13592 $as_echo "$ac_cv_have_timezone" >&6; }
13593 if test "$ac_cv_have_timezone" = "yes"
13596 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
13599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
13600 $as_echo_n "checking for daylight variable... " >&6; }
13601 if test "${ac_cv_have_daylight+set}" = set; then :
13602 $as_echo_n "(cached) " >&6
13604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13605 /* end confdefs.h. */
13615 if ac_fn_c_try_link "$LINENO"; then :
13616 ac_cv_have_daylight="yes"
13618 ac_cv_have_daylight="no"
13620 rm -f core conftest.err conftest.$ac_objext \
13621 conftest$ac_exeext conftest.$ac_ext
13623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
13624 $as_echo "$ac_cv_have_daylight" >&6; }
13625 if test "$ac_cv_have_daylight" = "yes"
13628 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
13632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
13633 $as_echo_n "checking for isinf... " >&6; }
13634 if test "${ac_cv_have_isinf+set}" = set; then :
13635 $as_echo_n "(cached) " >&6
13637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13638 /* end confdefs.h. */
13643 float f = 0.0; int i=isinf(f)
13648 if ac_fn_c_try_link "$LINENO"; then :
13649 ac_cv_have_isinf="yes"
13651 ac_cv_have_isinf="no"
13653 rm -f core conftest.err conftest.$ac_objext \
13654 conftest$ac_exeext conftest.$ac_ext
13656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
13657 $as_echo "$ac_cv_have_isinf" >&6; }
13658 if test "$ac_cv_have_isinf" = "yes"
13661 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
13665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
13666 $as_echo_n "checking for isnan... " >&6; }
13667 if test "${ac_cv_have_isnan+set}" = set; then :
13668 $as_echo_n "(cached) " >&6
13670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13671 /* end confdefs.h. */
13676 float f = 0.0; int i=isnan(f)
13681 if ac_fn_c_try_link "$LINENO"; then :
13682 ac_cv_have_isnan="yes"
13684 ac_cv_have_isnan="no"
13686 rm -f core conftest.err conftest.$ac_objext \
13687 conftest$ac_exeext conftest.$ac_ext
13689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
13690 $as_echo "$ac_cv_have_isnan" >&6; }
13691 if test "$ac_cv_have_isnan" = "yes"
13694 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
13700 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
13701 $as_echo_n "checking whether we need to define __i386__... " >&6; }
13702 if test "${ac_cv_cpp_def___i386__+set}" = set; then :
13703 $as_echo_n "(cached) " >&6
13705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13706 /* end confdefs.h. */
13711 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13712 $EGREP "yes" >/dev/null 2>&1; then :
13713 ac_cv_cpp_def___i386__=yes
13715 ac_cv_cpp_def___i386__=no
13720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
13721 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
13722 if test $ac_cv_cpp_def___i386__ = yes; then :
13723 CFLAGS="$CFLAGS -D__i386__"
13724 LINTFLAGS="$LINTFLAGS -D__i386__"
13726 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
13727 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
13728 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then :
13729 $as_echo_n "(cached) " >&6
13731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13732 /* end confdefs.h. */
13737 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13738 $EGREP "yes" >/dev/null 2>&1; then :
13739 ac_cv_cpp_def___x86_64__=yes
13741 ac_cv_cpp_def___x86_64__=no
13746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
13747 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
13748 if test $ac_cv_cpp_def___x86_64__ = yes; then :
13749 CFLAGS="$CFLAGS -D__x86_64__"
13750 LINTFLAGS="$LINTFLAGS -D__x86_64__"
13752 *alpha*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __ALPHA__" >&5
13753 $as_echo_n "checking whether we need to define __ALPHA__... " >&6; }
13754 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then :
13755 $as_echo_n "(cached) " >&6
13757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13758 /* end confdefs.h. */
13763 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13764 $EGREP "yes" >/dev/null 2>&1; then :
13765 ac_cv_cpp_def___ALPHA__=yes
13767 ac_cv_cpp_def___ALPHA__=no
13772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___ALPHA__" >&5
13773 $as_echo "$ac_cv_cpp_def___ALPHA__" >&6; }
13774 if test $ac_cv_cpp_def___ALPHA__ = yes; then :
13775 CFLAGS="$CFLAGS -D__ALPHA__"
13776 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
13778 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
13779 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
13780 if test "${ac_cv_cpp_def___sparc__+set}" = set; then :
13781 $as_echo_n "(cached) " >&6
13783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13784 /* end confdefs.h. */
13789 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13790 $EGREP "yes" >/dev/null 2>&1; then :
13791 ac_cv_cpp_def___sparc__=yes
13793 ac_cv_cpp_def___sparc__=no
13798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
13799 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
13800 if test $ac_cv_cpp_def___sparc__ = yes; then :
13801 CFLAGS="$CFLAGS -D__sparc__"
13802 LINTFLAGS="$LINTFLAGS -D__sparc__"
13804 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
13805 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
13806 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then :
13807 $as_echo_n "(cached) " >&6
13809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13810 /* end confdefs.h. */
13811 #ifndef __powerpc__
13815 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13816 $EGREP "yes" >/dev/null 2>&1; then :
13817 ac_cv_cpp_def___powerpc__=yes
13819 ac_cv_cpp_def___powerpc__=no
13824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
13825 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
13826 if test $ac_cv_cpp_def___powerpc__ = yes; then :
13827 CFLAGS="$CFLAGS -D__powerpc__"
13828 LINTFLAGS="$LINTFLAGS -D__powerpc__"
13832 case $host_vendor in
13833 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
13834 $as_echo_n "checking whether we need to define __sun__... " >&6; }
13835 if test "${ac_cv_cpp_def___sun__+set}" = set; then :
13836 $as_echo_n "(cached) " >&6
13838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13839 /* end confdefs.h. */
13844 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13845 $EGREP "yes" >/dev/null 2>&1; then :
13846 ac_cv_cpp_def___sun__=yes
13848 ac_cv_cpp_def___sun__=no
13853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
13854 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
13855 if test $ac_cv_cpp_def___sun__ = yes; then :
13856 CFLAGS="$CFLAGS -D__sun__"
13857 LINTFLAGS="$LINTFLAGS -D__sun__"
13864 ac_config_commands="$ac_config_commands include/stamp-h"
13867 ALL_MAKEFILE_DEPENDS="
13868 # Rules automatically generated by configure
13873 Makefile: Makefile.in Make.rules config.status
13874 @./config.status Make.tmp Makefile"
13876 ALL_WINETEST_DEPENDS="# Test binaries"
13878 ALL_TEST_BINARIES=""
13881 wine_fn_append_file ()
13883 as_fn_append $1 " \\$as_nl $2"
13886 wine_fn_append_rule ()
13888 as_fn_append $1 "$as_nl$2"
13891 wine_fn_all_dir_rules ()
13893 wine_fn_append_file ALL_DIRS $1
13894 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
13895 "__clean__ .PHONY: $1/__clean__
13896 $1/__clean__: $1/Makefile
13897 @cd $1 && \$(MAKE) clean
13899 $1/Makefile: $1/Makefile.in config.status $2
13900 @./config.status --file $1/Makefile && cd $1 && \$(MAKE) depend
13901 depend .PHONY: $1/__depend__
13902 $1/__depend__: \$(MAKEDEP) dummy
13903 @./config.status --file $1/Makefile && cd $1 && \$(MAKE) depend"
13906 wine_fn_config_makefile ()
13910 wine_fn_all_dir_rules $ac_dir "Make.rules \$(MAKEDEP)"
13912 eval as_val=\$$ac_enable
13913 if test "x$as_val" = x""no; then :
13916 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
13917 "all .PHONY: $ac_dir
13918 $ac_dir: $ac_dir/Makefile dummy
13919 @cd $ac_dir && \$(MAKE)
13921 @cd $ac_dir && \$(MAKE) install
13922 install-lib:: $ac_dir
13923 @cd $ac_dir && \$(MAKE) install-lib
13924 install-dev:: $ac_dir
13925 @cd $ac_dir && \$(MAKE) install-dev
13926 uninstall:: $ac_dir/Makefile
13927 @cd $ac_dir && \$(MAKE) uninstall"
13931 wine_fn_config_lib ()
13934 ac_dir=dlls/$ac_name
13935 wine_fn_all_dir_rules $ac_dir "dlls/Makeimplib.rules \$(MAKEDEP)"
13936 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
13937 "all __builddeps__: $ac_dir
13938 __buildcrossdeps__: $ac_dir/lib$ac_name.cross.a
13939 $ac_dir $ac_dir/lib$ac_name.cross.a: $ac_dir/Makefile tools/widl tools/winebuild tools/winegcc include
13941 @cd $ac_dir && \$(MAKE)
13942 $ac_dir/lib$ac_name.cross.a: dummy
13943 @cd $ac_dir && \$(MAKE) lib$ac_name.cross.a
13944 install install-dev:: $ac_dir
13945 @cd $ac_dir && \$(MAKE) install
13946 uninstall:: $ac_dir/Makefile
13947 @cd $ac_dir && \$(MAKE) uninstall"
13950 wine_fn_config_dll ()
13956 ac_file="dlls/$ac_dir/lib$ac_implib"
13957 ac_deps="tools/widl tools/winebuild tools/winegcc include"
13959 wine_fn_all_dir_rules dlls/$ac_dir "dlls/Makedll.rules \$(MAKEDEP)"
13961 eval as_val=\$$ac_enable
13962 if test "x$as_val" = x""no; then :
13963 test "$ac_enable" != enable_win16 || return 0
13965 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
13966 "all .PHONY: dlls/$ac_dir
13967 dlls/$ac_dir: dlls/$ac_dir/Makefile __builddeps__ dummy
13968 @cd dlls/$ac_dir && \$(MAKE)
13969 install:: dlls/$ac_dir/Makefile __builddeps__
13970 @cd dlls/$ac_dir && \$(MAKE) install
13971 install-lib:: dlls/$ac_dir/Makefile __builddeps__
13972 @cd dlls/$ac_dir && \$(MAKE) install-lib
13973 uninstall manpages htmlpages sgmlpages xmlpages:: dlls/$ac_dir/Makefile
13974 @cd dlls/$ac_dir && \$(MAKE) \$@"
13977 if test -n "$ac_implibsrc"
13979 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
13980 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
13981 __buildcrossdeps__: $ac_file.cross.a
13982 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
13983 $ac_file.def: dlls/$ac_dir/$ac_dir.spec dlls/$ac_dir/Makefile
13984 @cd dlls/$ac_dir && \$(MAKE) \`basename \$@\`
13985 $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: dlls/$ac_dir/Makefile dummy
13986 @cd dlls/$ac_dir && \$(MAKE) \`basename \$@\`
13987 install-dev:: dlls/$ac_dir/Makefile __builddeps__
13988 @cd dlls/$ac_dir && \$(MAKE) install-dev"
13989 elif test -n "$ac_implib"
13991 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
13992 "__builddeps__: $ac_file.$IMPLIBEXT
13993 __buildcrossdeps__: $ac_file.cross.a
13994 $ac_file.$IMPLIBEXT $ac_file.cross.a: dlls/$ac_dir/$ac_dir.spec dlls/$ac_dir/Makefile $ac_deps
13995 @cd dlls/$ac_dir && \$(MAKE) \`basename \$@\`
13996 install-dev:: dlls/$ac_dir/Makefile __builddeps__
13997 @cd dlls/$ac_dir && \$(MAKE) install-dev"
13999 if test "$ac_dir" != "$ac_implib"
14001 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14002 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
14003 __buildcrossdeps__: dlls/lib$ac_implib.cross.a
14004 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
14005 \$(RM) \$@ && \$(LN_S) $ac_dir/lib$ac_implib.$IMPLIBEXT \$@
14006 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
14007 \$(RM) \$@ && \$(LN_S) $ac_dir/lib$ac_implib.cross.a \$@
14009 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
14014 wine_fn_config_program ()
14019 wine_fn_all_dir_rules programs/$ac_dir "programs/Makeprog.rules \$(MAKEDEP)"
14021 eval as_val=\$$ac_enable
14022 if test "x$as_val" = x""no; then :
14025 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14026 "all .PHONY: programs/$ac_dir
14027 programs/$ac_dir: programs/$ac_dir/Makefile __builddeps__ dummy
14028 @cd programs/$ac_dir && \$(MAKE)"
14030 test -n "$ac_install" || return
14031 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14032 "install install-lib:: programs/$ac_dir/Makefile __builddeps__
14033 @cd programs/$ac_dir && \$(MAKE) install
14034 uninstall:: programs/$ac_dir/Makefile
14035 @cd programs/$ac_dir && \$(MAKE) uninstall"
14036 if test "$ac_install" = installbin -a -n "$DLLEXT" -a "x$enable_tools" != xno
14038 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14039 "install install-lib:: tools \$(DESTDIR)\$(bindir)
14040 \$(INSTALL_SCRIPT) tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_dir
14042 \$(RM) \$(DESTDIR)\$(bindir)/$ac_dir"
14047 wine_fn_config_test ()
14051 wine_fn_append_file ALL_TEST_BINARIES $ac_name.exe
14052 wine_fn_append_rule ALL_WINETEST_DEPENDS \
14053 "$ac_name.exe: \$(TOPOBJDIR)/$ac_dir/$ac_name.exe$DLLEXT
14054 cp \$(TOPOBJDIR)/$ac_dir/$ac_name.exe$DLLEXT \$@ && \$(STRIP) \$@
14056 echo \"$ac_name.exe TESTRES \\\"$ac_name.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
14057 $ac_name.res: $ac_name.rc $ac_name.exe"
14058 wine_fn_all_dir_rules $ac_dir "Maketest.rules \$(MAKEDEP)"
14060 if test "x$enable_tests" = x""no; then :
14063 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14064 "all programs/winetest .PHONY: $ac_dir
14065 $ac_dir: $ac_dir/Makefile __builddeps__ dummy
14066 @cd $ac_dir && \$(MAKE)
14067 crosstest .PHONY: $ac_dir/__crosstest__
14068 $ac_dir/__crosstest__: $ac_dir/Makefile __buildcrossdeps__ dummy
14069 @cd $ac_dir && \$(MAKE) crosstest
14070 test .PHONY: $ac_dir/__test__
14071 $ac_dir/__test__: dummy
14072 @cd $ac_dir && \$(MAKE) test
14074 \$(RM) $ac_dir/*.ok"
14078 wine_fn_config_tool ()
14081 ac_deps="Make.rules"
14082 if test "$ac_dir" != tools
14084 ac_deps="$ac_deps \$(MAKEDEP)"
14086 wine_fn_all_dir_rules $ac_dir "$ac_deps"
14088 if test "x$enable_tools" = x""no; then :
14092 tools) wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14094 @cd $ac_dir && \$(MAKE) install
14095 install-lib:: $ac_dir
14096 @cd $ac_dir && \$(MAKE) install-lib
14097 install-dev:: $ac_dir
14098 @cd $ac_dir && \$(MAKE) install-dev" ;;
14099 *) wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14100 "install install-dev:: $ac_dir
14101 @cd $ac_dir && \$(MAKE) install" ;;
14103 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14104 "uninstall:: $ac_dir/Makefile
14105 @cd $ac_dir && \$(MAKE) uninstall
14106 all __tooldeps__ .PHONY: $ac_dir
14107 $ac_dir: $ac_dir/Makefile libs/port dummy
14108 @cd $ac_dir && \$(MAKE)"
14112 wine_fn_config_makerules ()
14116 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14117 "$ac_rules: $ac_rules.in $ac_deps config.status
14118 @./config.status $ac_rules
14123 wine_fn_config_symlink ()
14126 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14128 @./config.status $ac_link
14132 ac_config_links="$ac_config_links dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd"
14133 test "$srcdir" = "." || wine_fn_config_symlink dlls/wineps.drv/generic.ppd
14134 if test "x$enable_fonts" != xno; then
14135 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
14136 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf
14138 if test "x$enable_fonts" != xno; then
14139 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
14140 test "$srcdir" = "." || wine_fn_config_symlink fonts/symbol.ttf
14142 if test "x$enable_fonts" != xno; then
14143 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
14144 test "$srcdir" = "." || wine_fn_config_symlink fonts/tahoma.ttf
14146 if test "x$enable_fonts" != xno; then
14147 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
14148 test "$srcdir" = "." || wine_fn_config_symlink fonts/tahomabd.ttf
14150 ac_config_links="$ac_config_links wine:tools/winewrapper"
14151 wine_fn_config_symlink wine
14153 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
14155 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
14157 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
14159 ac_config_commands="$ac_config_commands dlls/user32/resources"
14161 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
14163 ac_config_commands="$ac_config_commands include/wine"
14166 wine_fn_config_makerules Make.rules
14167 MAKE_RULES=Make.rules
14168 ac_config_files="$ac_config_files Make.rules"
14170 wine_fn_config_makerules Maketest.rules Make.rules
14171 MAKE_TEST_RULES=Maketest.rules
14172 ac_config_files="$ac_config_files Maketest.rules"
14174 wine_fn_config_makerules dlls/Makedll.rules Make.rules
14175 MAKE_DLL_RULES=dlls/Makedll.rules
14176 ac_config_files="$ac_config_files dlls/Makedll.rules"
14178 wine_fn_config_makerules dlls/Makeimplib.rules Make.rules
14179 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
14180 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
14182 wine_fn_config_makerules programs/Makeprog.rules Make.rules
14183 MAKE_PROG_RULES=programs/Makeprog.rules
14184 ac_config_files="$ac_config_files programs/Makeprog.rules"
14187 wine_fn_config_dll acledit enable_acledit
14188 wine_fn_config_dll aclui enable_aclui aclui
14189 wine_fn_config_dll activeds enable_activeds activeds
14190 wine_fn_config_dll actxprxy enable_actxprxy
14191 wine_fn_config_lib adsiid
14192 wine_fn_config_dll advapi32 enable_advapi32 advapi32
14193 wine_fn_config_test dlls/advapi32/tests advapi32_test
14194 wine_fn_config_dll advpack enable_advpack advpack
14195 wine_fn_config_test dlls/advpack/tests advpack_test
14196 wine_fn_config_dll amstream enable_amstream
14197 wine_fn_config_test dlls/amstream/tests amstream_test
14198 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl
14199 wine_fn_config_dll atl enable_atl atl
14200 wine_fn_config_dll authz enable_authz
14201 wine_fn_config_dll avicap32 enable_avicap32 avicap32
14202 wine_fn_config_dll avifil32 enable_avifil32 avifil32
14203 wine_fn_config_test dlls/avifil32/tests avifil32_test
14204 wine_fn_config_dll avifile.dll16 enable_win16
14205 wine_fn_config_dll avrt enable_avrt avrt
14206 wine_fn_config_dll bcrypt enable_bcrypt
14207 wine_fn_config_dll browseui enable_browseui
14208 wine_fn_config_test dlls/browseui/tests browseui_test
14209 wine_fn_config_dll cabinet enable_cabinet cabinet
14210 wine_fn_config_test dlls/cabinet/tests cabinet_test
14211 wine_fn_config_dll capi2032 enable_capi2032 capi2032
14212 wine_fn_config_dll cards enable_cards cards
14213 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 cfgmgr32
14214 wine_fn_config_dll clusapi enable_clusapi clusapi
14215 wine_fn_config_dll comcat enable_comcat
14216 wine_fn_config_test dlls/comcat/tests comcat_test
14217 wine_fn_config_dll comctl32 enable_comctl32 comctl32
14218 wine_fn_config_test dlls/comctl32/tests comctl32_test
14219 wine_fn_config_dll comdlg32 enable_comdlg32 comdlg32
14220 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
14221 wine_fn_config_dll comm.drv16 enable_win16
14222 wine_fn_config_dll commdlg.dll16 enable_win16
14223 wine_fn_config_dll compobj.dll16 enable_win16
14224 wine_fn_config_dll compstui enable_compstui compstui
14225 wine_fn_config_dll credui enable_credui credui
14226 wine_fn_config_test dlls/credui/tests credui_test
14227 wine_fn_config_dll crtdll enable_crtdll crtdll
14228 wine_fn_config_dll crypt32 enable_crypt32 crypt32
14229 wine_fn_config_test dlls/crypt32/tests crypt32_test
14230 wine_fn_config_dll cryptdlg enable_cryptdlg
14231 wine_fn_config_dll cryptdll enable_cryptdll cryptdll
14232 wine_fn_config_dll cryptnet enable_cryptnet cryptnet
14233 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
14234 wine_fn_config_dll cryptui enable_cryptui cryptui
14235 wine_fn_config_test dlls/cryptui/tests cryptui_test
14236 wine_fn_config_dll ctapi32 enable_ctapi32
14237 wine_fn_config_dll ctl3d.dll16 enable_win16
14238 wine_fn_config_dll ctl3d32 enable_ctl3d32 ctl3d32
14239 wine_fn_config_dll ctl3dv2.dll16 enable_win16
14240 wine_fn_config_dll d3d10 enable_d3d10 d3d10
14241 wine_fn_config_test dlls/d3d10/tests d3d10_test
14242 wine_fn_config_dll d3d10core enable_d3d10core d3d10core
14243 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
14244 wine_fn_config_dll d3d8 enable_d3d8 d3d8
14245 wine_fn_config_test dlls/d3d8/tests d3d8_test
14246 wine_fn_config_dll d3d9 enable_d3d9 d3d9
14247 wine_fn_config_test dlls/d3d9/tests d3d9_test
14248 wine_fn_config_dll d3dim enable_d3dim d3dim
14249 wine_fn_config_dll d3drm enable_d3drm d3drm
14250 wine_fn_config_test dlls/d3drm/tests d3drm_test
14251 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
14252 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
14253 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
14254 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
14255 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
14256 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
14257 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
14258 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
14259 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
14260 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
14261 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
14262 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
14263 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 d3dx9
14264 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
14265 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
14266 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
14267 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
14268 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
14269 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
14270 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
14271 wine_fn_config_dll d3dxof enable_d3dxof d3dxof
14272 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
14273 wine_fn_config_dll dbghelp enable_dbghelp dbghelp
14274 wine_fn_config_dll dciman32 enable_dciman32 dciman32
14275 wine_fn_config_dll ddeml.dll16 enable_win16
14276 wine_fn_config_dll ddraw enable_ddraw ddraw
14277 wine_fn_config_test dlls/ddraw/tests ddraw_test
14278 wine_fn_config_dll ddrawex enable_ddrawex
14279 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
14280 wine_fn_config_dll devenum enable_devenum
14281 wine_fn_config_dll dinput enable_dinput dinput "data_formats.c"
14282 wine_fn_config_test dlls/dinput/tests dinput_test
14283 wine_fn_config_dll dinput8 enable_dinput8 dinput8
14284 wine_fn_config_dll dispdib.dll16 enable_win16
14285 wine_fn_config_dll dispex enable_dispex
14286 wine_fn_config_test dlls/dispex/tests dispex_test
14287 wine_fn_config_dll display.drv16 enable_win16
14288 wine_fn_config_dll dmband enable_dmband
14289 wine_fn_config_dll dmcompos enable_dmcompos
14290 wine_fn_config_dll dmime enable_dmime
14291 wine_fn_config_dll dmloader enable_dmloader
14292 wine_fn_config_test dlls/dmloader/tests dmloader_test
14293 wine_fn_config_dll dmscript enable_dmscript
14294 wine_fn_config_dll dmstyle enable_dmstyle
14295 wine_fn_config_dll dmsynth enable_dmsynth
14296 wine_fn_config_dll dmusic enable_dmusic
14297 wine_fn_config_dll dmusic32 enable_dmusic32 dmusic32
14298 wine_fn_config_dll dnsapi enable_dnsapi dnsapi
14299 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
14300 wine_fn_config_dll dplay enable_dplay dplay
14301 wine_fn_config_dll dplayx enable_dplayx dplayx
14302 wine_fn_config_test dlls/dplayx/tests dplayx_test
14303 wine_fn_config_dll dpnaddr enable_dpnaddr
14304 wine_fn_config_dll dpnet enable_dpnet dpnet
14305 wine_fn_config_dll dpnhpast enable_dpnhpast
14306 wine_fn_config_dll dpnlobby enable_dpnlobby
14307 wine_fn_config_dll dpwsockx enable_dpwsockx
14308 wine_fn_config_dll drmclien enable_drmclien
14309 wine_fn_config_dll dsound enable_dsound dsound
14310 wine_fn_config_test dlls/dsound/tests dsound_test
14311 wine_fn_config_dll dssenh enable_dssenh
14312 wine_fn_config_dll dswave enable_dswave
14313 wine_fn_config_dll dwmapi enable_dwmapi dwmapi
14314 wine_fn_config_dll dxdiagn enable_dxdiagn
14315 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
14316 wine_fn_config_lib dxerr8
14317 wine_fn_config_lib dxerr9
14318 wine_fn_config_dll dxgi enable_dxgi dxgi
14319 wine_fn_config_test dlls/dxgi/tests dxgi_test
14320 wine_fn_config_lib dxguid
14321 wine_fn_config_dll faultrep enable_faultrep
14322 wine_fn_config_dll fltlib enable_fltlib
14323 wine_fn_config_dll fusion enable_fusion
14324 wine_fn_config_test dlls/fusion/tests fusion_test
14325 wine_fn_config_dll fwpuclnt enable_fwpuclnt
14326 wine_fn_config_dll gdi.exe16 enable_win16
14327 wine_fn_config_dll gdi32 enable_gdi32 gdi32
14328 wine_fn_config_test dlls/gdi32/tests gdi32_test
14329 wine_fn_config_dll gdiplus enable_gdiplus gdiplus
14330 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
14331 wine_fn_config_dll glu32 enable_glu32 glu32
14332 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds
14333 wine_fn_config_dll gpkcsp enable_gpkcsp
14334 wine_fn_config_dll hal enable_hal
14335 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx
14336 wine_fn_config_dll hid enable_hid hid
14337 wine_fn_config_dll hlink enable_hlink hlink
14338 wine_fn_config_test dlls/hlink/tests hlink_test
14339 wine_fn_config_dll hnetcfg enable_hnetcfg
14340 wine_fn_config_dll httpapi enable_httpapi
14341 wine_fn_config_dll iccvid enable_iccvid
14342 wine_fn_config_dll icmp enable_icmp
14343 wine_fn_config_dll ifsmgr.vxd enable_win16
14344 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
14345 wine_fn_config_dll imagehlp enable_imagehlp imagehlp
14346 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
14347 wine_fn_config_dll imm.dll16 enable_win16
14348 wine_fn_config_dll imm32 enable_imm32 imm32
14349 wine_fn_config_test dlls/imm32/tests imm32_test
14350 wine_fn_config_dll inetcomm enable_inetcomm inetcomm
14351 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
14352 wine_fn_config_dll inetmib1 enable_inetmib1
14353 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
14354 wine_fn_config_dll infosoft enable_infosoft
14355 wine_fn_config_test dlls/infosoft/tests infosoft_test
14356 wine_fn_config_dll initpki enable_initpki
14357 wine_fn_config_dll inkobj enable_inkobj
14358 wine_fn_config_dll inseng enable_inseng
14359 wine_fn_config_dll iphlpapi enable_iphlpapi iphlpapi
14360 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
14361 wine_fn_config_dll itircl enable_itircl
14362 wine_fn_config_dll itss enable_itss
14363 wine_fn_config_test dlls/itss/tests itss_test
14364 wine_fn_config_dll jscript enable_jscript
14365 wine_fn_config_test dlls/jscript/tests jscript_test
14366 wine_fn_config_dll kernel32 enable_kernel32 kernel32
14367 wine_fn_config_test dlls/kernel32/tests kernel32_test
14368 wine_fn_config_dll keyboard.drv16 enable_win16
14369 wine_fn_config_dll krnl386.exe16 enable_win16 kernel
14370 wine_fn_config_dll loadperf enable_loadperf loadperf
14371 wine_fn_config_dll localspl enable_localspl
14372 wine_fn_config_test dlls/localspl/tests localspl_test
14373 wine_fn_config_dll localui enable_localui
14374 wine_fn_config_test dlls/localui/tests localui_test
14375 wine_fn_config_dll lz32 enable_lz32 lz32
14376 wine_fn_config_test dlls/lz32/tests lz32_test
14377 wine_fn_config_dll lzexpand.dll16 enable_win16
14378 wine_fn_config_dll mapi32 enable_mapi32 mapi32
14379 wine_fn_config_test dlls/mapi32/tests mapi32_test
14380 wine_fn_config_dll mapistub enable_mapistub
14381 wine_fn_config_dll mciavi32 enable_mciavi32
14382 wine_fn_config_dll mcicda enable_mcicda
14383 wine_fn_config_dll mciqtz32 enable_mciqtz32
14384 wine_fn_config_dll mciseq enable_mciseq
14385 wine_fn_config_dll mciwave enable_mciwave
14386 wine_fn_config_dll midimap enable_midimap
14387 wine_fn_config_dll mlang enable_mlang mlang
14388 wine_fn_config_test dlls/mlang/tests mlang_test
14389 wine_fn_config_dll mmdevapi enable_mmdevapi
14390 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
14391 wine_fn_config_dll mmdevldr.vxd enable_win16
14392 wine_fn_config_dll mmsystem.dll16 enable_win16
14393 wine_fn_config_dll monodebg.vxd enable_win16
14394 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
14395 wine_fn_config_dll mouse.drv16 enable_win16
14396 wine_fn_config_dll mpr enable_mpr mpr
14397 wine_fn_config_dll mprapi enable_mprapi mprapi
14398 wine_fn_config_dll msacm.dll16 enable_win16
14399 wine_fn_config_dll msacm32.drv enable_msacm32_drv
14400 wine_fn_config_dll msacm32 enable_msacm32 msacm32
14401 wine_fn_config_test dlls/msacm32/tests msacm32_test
14402 wine_fn_config_dll msadp32.acm enable_msadp32_acm
14403 wine_fn_config_dll mscat32 enable_mscat32
14404 wine_fn_config_dll mscms enable_mscms mscms
14405 wine_fn_config_test dlls/mscms/tests mscms_test
14406 wine_fn_config_dll mscoree enable_mscoree
14407 wine_fn_config_dll msctf enable_msctf
14408 wine_fn_config_test dlls/msctf/tests msctf_test
14409 wine_fn_config_dll msdaps enable_msdaps
14410 wine_fn_config_dll msdmo enable_msdmo msdmo
14411 wine_fn_config_dll msftedit enable_msftedit
14412 wine_fn_config_dll msg711.acm enable_msg711_acm
14413 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
14414 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb
14415 wine_fn_config_dll mshtml enable_mshtml mshtml
14416 wine_fn_config_test dlls/mshtml/tests mshtml_test
14417 wine_fn_config_dll msi enable_msi msi
14418 wine_fn_config_test dlls/msi/tests msi_test
14419 wine_fn_config_dll msimg32 enable_msimg32 msimg32
14420 wine_fn_config_dll msimtf enable_msimtf
14421 wine_fn_config_dll msisip enable_msisip
14422 wine_fn_config_dll msisys.ocx enable_msisys_ocx
14423 wine_fn_config_dll msnet32 enable_msnet32
14424 wine_fn_config_dll msrle32 enable_msrle32
14425 wine_fn_config_dll mssign32 enable_mssign32
14426 wine_fn_config_dll mssip32 enable_mssip32
14427 wine_fn_config_dll mstask enable_mstask
14428 wine_fn_config_test dlls/mstask/tests mstask_test
14429 wine_fn_config_dll msvcirt enable_msvcirt
14430 wine_fn_config_dll msvcr70 enable_msvcr70 msvcr70
14431 wine_fn_config_dll msvcr71 enable_msvcr71 msvcr71
14432 wine_fn_config_dll msvcr80 enable_msvcr80
14433 wine_fn_config_dll msvcr90 enable_msvcr90
14434 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
14435 wine_fn_config_dll msvcrt enable_msvcrt msvcrt
14436 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
14437 wine_fn_config_dll msvcrt20 enable_msvcrt20 msvcrt20
14438 wine_fn_config_dll msvcrt40 enable_msvcrt40 msvcrt40
14439 wine_fn_config_dll msvcrtd enable_msvcrtd msvcrtd
14440 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
14441 wine_fn_config_dll msvfw32 enable_msvfw32 msvfw32
14442 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
14443 wine_fn_config_dll msvidc32 enable_msvidc32
14444 wine_fn_config_dll msvideo.dll16 enable_win16
14445 wine_fn_config_dll mswsock enable_mswsock mswsock
14446 wine_fn_config_dll msxml3 enable_msxml3
14447 wine_fn_config_test dlls/msxml3/tests msxml3_test
14448 wine_fn_config_dll msxml4 enable_msxml4
14449 wine_fn_config_dll nddeapi enable_nddeapi nddeapi
14450 wine_fn_config_dll netapi32 enable_netapi32 netapi32
14451 wine_fn_config_test dlls/netapi32/tests netapi32_test
14452 wine_fn_config_dll newdev enable_newdev newdev
14453 wine_fn_config_dll ntdll enable_ntdll ntdll
14454 wine_fn_config_test dlls/ntdll/tests ntdll_test
14455 wine_fn_config_dll ntdsapi enable_ntdsapi ntdsapi
14456 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
14457 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe ntoskrnl.exe
14458 wine_fn_config_dll ntprint enable_ntprint
14459 wine_fn_config_test dlls/ntprint/tests ntprint_test
14460 wine_fn_config_dll objsel enable_objsel
14461 wine_fn_config_dll odbc32 enable_odbc32 odbc32
14462 wine_fn_config_dll odbccp32 enable_odbccp32 odbccp32
14463 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
14464 wine_fn_config_dll ole2.dll16 enable_win16
14465 wine_fn_config_dll ole2conv.dll16 enable_win16
14466 wine_fn_config_dll ole2disp.dll16 enable_win16
14467 wine_fn_config_dll ole2nls.dll16 enable_win16
14468 wine_fn_config_dll ole2prox.dll16 enable_win16
14469 wine_fn_config_dll ole2thk.dll16 enable_win16
14470 wine_fn_config_dll ole32 enable_ole32 ole32
14471 wine_fn_config_test dlls/ole32/tests ole32_test
14472 wine_fn_config_dll oleacc enable_oleacc oleacc
14473 wine_fn_config_test dlls/oleacc/tests oleacc_test
14474 wine_fn_config_dll oleaut32 enable_oleaut32 oleaut32
14475 wine_fn_config_test dlls/oleaut32/tests oleaut32_test
14476 wine_fn_config_dll olecli.dll16 enable_win16
14477 wine_fn_config_dll olecli32 enable_olecli32 olecli32
14478 wine_fn_config_dll oledb32 enable_oledb32
14479 wine_fn_config_test dlls/oledb32/tests oledb32_test
14480 wine_fn_config_dll oledlg enable_oledlg oledlg
14481 wine_fn_config_dll olepro32 enable_olepro32 olepro32
14482 wine_fn_config_dll olesvr.dll16 enable_win16
14483 wine_fn_config_dll olesvr32 enable_olesvr32 olesvr32
14484 wine_fn_config_dll olethk32 enable_olethk32
14485 wine_fn_config_dll openal32 enable_openal32
14486 wine_fn_config_dll opengl32 enable_opengl32 opengl32
14487 wine_fn_config_test dlls/opengl32/tests opengl32_test
14488 wine_fn_config_dll pdh enable_pdh pdh
14489 wine_fn_config_test dlls/pdh/tests pdh_test
14490 wine_fn_config_dll pidgen enable_pidgen
14491 wine_fn_config_dll powrprof enable_powrprof powrprof
14492 wine_fn_config_dll printui enable_printui
14493 wine_fn_config_dll propsys enable_propsys
14494 wine_fn_config_dll psapi enable_psapi psapi
14495 wine_fn_config_test dlls/psapi/tests psapi_test
14496 wine_fn_config_dll pstorec enable_pstorec
14497 wine_fn_config_dll qcap enable_qcap
14498 wine_fn_config_dll qedit enable_qedit
14499 wine_fn_config_test dlls/qedit/tests qedit_test
14500 wine_fn_config_dll qmgr enable_qmgr
14501 wine_fn_config_test dlls/qmgr/tests qmgr_test
14502 wine_fn_config_dll qmgrprxy enable_qmgrprxy
14503 wine_fn_config_dll quartz enable_quartz quartz
14504 wine_fn_config_test dlls/quartz/tests quartz_test
14505 wine_fn_config_dll query enable_query
14506 wine_fn_config_dll rasapi16.dll16 enable_win16
14507 wine_fn_config_dll rasapi32 enable_rasapi32 rasapi32
14508 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
14509 wine_fn_config_dll rasdlg enable_rasdlg rasdlg
14510 wine_fn_config_dll resutils enable_resutils resutils
14511 wine_fn_config_dll riched20 enable_riched20 riched20
14512 wine_fn_config_test dlls/riched20/tests riched20_test
14513 wine_fn_config_dll riched32 enable_riched32
14514 wine_fn_config_test dlls/riched32/tests riched32_test
14515 wine_fn_config_dll rpcrt4 enable_rpcrt4 rpcrt4
14516 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test
14517 wine_fn_config_dll rsabase enable_rsabase
14518 wine_fn_config_dll rsaenh enable_rsaenh rsaenh
14519 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
14520 wine_fn_config_dll rtutils enable_rtutils rtutils
14521 wine_fn_config_dll sane.ds enable_sane_ds
14522 wine_fn_config_dll sccbase enable_sccbase
14523 wine_fn_config_dll schannel enable_schannel
14524 wine_fn_config_test dlls/schannel/tests schannel_test
14525 wine_fn_config_dll secur32 enable_secur32 secur32
14526 wine_fn_config_test dlls/secur32/tests secur32_test
14527 wine_fn_config_dll security enable_security
14528 wine_fn_config_dll sensapi enable_sensapi sensapi
14529 wine_fn_config_dll serialui enable_serialui serialui
14530 wine_fn_config_test dlls/serialui/tests serialui_test
14531 wine_fn_config_dll setupapi enable_setupapi setupapi
14532 wine_fn_config_test dlls/setupapi/tests setupapi_test
14533 wine_fn_config_dll setupx.dll16 enable_win16
14534 wine_fn_config_dll sfc enable_sfc sfc
14535 wine_fn_config_dll sfc_os enable_sfc_os sfc_os
14536 wine_fn_config_dll shdoclc enable_shdoclc
14537 wine_fn_config_dll shdocvw enable_shdocvw shdocvw
14538 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
14539 wine_fn_config_dll shell.dll16 enable_win16
14540 wine_fn_config_dll shell32 enable_shell32 shell32
14541 wine_fn_config_test dlls/shell32/tests shell32_test
14542 wine_fn_config_dll shfolder enable_shfolder shfolder
14543 wine_fn_config_dll shlwapi enable_shlwapi shlwapi
14544 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
14545 wine_fn_config_dll slbcsp enable_slbcsp
14546 wine_fn_config_dll slc enable_slc slc
14547 wine_fn_config_dll snmpapi enable_snmpapi snmpapi
14548 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
14549 wine_fn_config_dll softpub enable_softpub
14550 wine_fn_config_dll sound.drv16 enable_win16
14551 wine_fn_config_dll spoolss enable_spoolss spoolss
14552 wine_fn_config_test dlls/spoolss/tests spoolss_test
14553 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb
14554 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb
14555 wine_fn_config_dll sti enable_sti sti
14556 wine_fn_config_test dlls/sti/tests sti_test
14557 wine_fn_config_dll storage.dll16 enable_win16
14558 wine_fn_config_dll stress.dll16 enable_win16
14559 wine_fn_config_lib strmiids
14560 wine_fn_config_dll svrapi enable_svrapi
14561 wine_fn_config_dll sxs enable_sxs
14562 wine_fn_config_dll system.drv16 enable_win16
14563 wine_fn_config_dll t2embed enable_t2embed
14564 wine_fn_config_dll tapi32 enable_tapi32 tapi32
14565 wine_fn_config_dll toolhelp.dll16 enable_win16
14566 wine_fn_config_dll traffic enable_traffic
14567 wine_fn_config_dll twain.dll16 enable_win16
14568 wine_fn_config_dll twain_32 enable_twain_32
14569 wine_fn_config_test dlls/twain_32/tests twain_32_test
14570 wine_fn_config_dll typelib.dll16 enable_win16
14571 wine_fn_config_dll unicows enable_unicows unicows
14572 wine_fn_config_dll updspapi enable_updspapi
14573 wine_fn_config_dll url enable_url url
14574 wine_fn_config_dll urlmon enable_urlmon urlmon
14575 wine_fn_config_test dlls/urlmon/tests urlmon_test
14576 wine_fn_config_dll usbd.sys enable_usbd_sys usbd.sys
14577 wine_fn_config_dll user.exe16 enable_win16
14578 wine_fn_config_dll user32 enable_user32 user32
14579 wine_fn_config_test dlls/user32/tests user32_test
14580 wine_fn_config_dll userenv enable_userenv userenv
14581 wine_fn_config_test dlls/userenv/tests userenv_test
14582 wine_fn_config_dll usp10 enable_usp10 usp10
14583 wine_fn_config_test dlls/usp10/tests usp10_test
14584 wine_fn_config_lib uuid
14585 wine_fn_config_dll uxtheme enable_uxtheme uxtheme
14586 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
14587 wine_fn_config_dll vdhcp.vxd enable_win16
14588 wine_fn_config_dll vdmdbg enable_vdmdbg vdmdbg
14589 wine_fn_config_dll ver.dll16 enable_win16
14590 wine_fn_config_dll version enable_version version
14591 wine_fn_config_test dlls/version/tests version_test
14592 wine_fn_config_dll vmm.vxd enable_win16
14593 wine_fn_config_dll vnbt.vxd enable_win16
14594 wine_fn_config_dll vnetbios.vxd enable_win16
14595 wine_fn_config_dll vtdapi.vxd enable_win16
14596 wine_fn_config_dll vwin32.vxd enable_win16
14597 wine_fn_config_dll w32skrnl enable_win16
14598 wine_fn_config_dll w32sys.dll16 enable_win16
14599 wine_fn_config_dll wbemprox enable_wbemprox
14600 wine_fn_config_dll wiaservc enable_wiaservc
14601 wine_fn_config_dll win32s16.dll16 enable_win16
14602 wine_fn_config_dll win87em.dll16 enable_win16
14603 wine_fn_config_dll winaspi.dll16 enable_win16
14604 wine_fn_config_dll windebug.dll16 enable_win16
14605 wine_fn_config_dll windowscodecs enable_windowscodecs windowscodecs
14606 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
14607 wine_fn_config_dll winealsa.drv enable_winealsa_drv
14608 wine_fn_config_dll wineaudioio.drv enable_wineaudioio_drv
14609 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
14610 wine_fn_config_lib winecrt0
14611 wine_fn_config_dll wined3d enable_wined3d wined3d
14612 wine_fn_config_dll wineesd.drv enable_wineesd_drv
14613 wine_fn_config_dll winejack.drv enable_winejack_drv
14614 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
14615 wine_fn_config_dll winemapi enable_winemapi
14616 wine_fn_config_dll winemp3.acm enable_winemp3_acm
14617 wine_fn_config_dll winenas.drv enable_winenas_drv
14618 wine_fn_config_dll wineoss.drv enable_wineoss_drv
14619 wine_fn_config_dll wineps.drv enable_wineps_drv
14620 wine_fn_config_dll wineps16.drv16 enable_win16
14621 wine_fn_config_dll winequartz.drv enable_winequartz_drv
14622 wine_fn_config_dll winex11.drv enable_winex11_drv
14623 wine_fn_config_dll wing.dll16 enable_win16
14624 wine_fn_config_dll wing32 enable_wing32
14625 wine_fn_config_dll winhttp enable_winhttp winhttp
14626 wine_fn_config_test dlls/winhttp/tests winhttp_test
14627 wine_fn_config_dll wininet enable_wininet wininet
14628 wine_fn_config_test dlls/wininet/tests wininet_test
14629 wine_fn_config_dll winmm enable_winmm winmm
14630 wine_fn_config_test dlls/winmm/tests winmm_test
14631 wine_fn_config_dll winnls.dll16 enable_win16
14632 wine_fn_config_dll winnls32 enable_winnls32 winnls32
14633 wine_fn_config_dll winscard enable_winscard winscard
14634 wine_fn_config_dll winsock.dll16 enable_win16
14635 wine_fn_config_dll winspool.drv enable_winspool_drv winspool
14636 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
14637 wine_fn_config_dll wintab.dll16 enable_win16
14638 wine_fn_config_dll wintab32 enable_wintab32 wintab32
14639 wine_fn_config_test dlls/wintab32/tests wintab32_test
14640 wine_fn_config_dll wintrust enable_wintrust wintrust
14641 wine_fn_config_test dlls/wintrust/tests wintrust_test
14642 wine_fn_config_dll wldap32 enable_wldap32 wldap32
14643 wine_fn_config_test dlls/wldap32/tests wldap32_test
14644 wine_fn_config_dll wmi enable_wmi
14645 wine_fn_config_dll wmiutils enable_wmiutils
14646 wine_fn_config_dll wnaspi32 enable_wnaspi32 wnaspi32
14647 wine_fn_config_dll wow32 enable_win16 wow32
14648 wine_fn_config_dll ws2_32 enable_ws2_32 ws2_32
14649 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
14650 wine_fn_config_dll wsock32 enable_wsock32 wsock32
14651 wine_fn_config_dll wtsapi32 enable_wtsapi32 wtsapi32
14652 wine_fn_config_dll wuapi enable_wuapi
14653 wine_fn_config_dll wuaueng enable_wuaueng
14654 wine_fn_config_dll xinput1_1 enable_xinput1_1
14655 wine_fn_config_dll xinput1_2 enable_xinput1_2
14656 wine_fn_config_dll xinput1_3 enable_xinput1_3 xinput
14657 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
14658 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
14659 wine_fn_config_dll xmllite enable_xmllite
14660 wine_fn_config_test dlls/xmllite/tests xmllite_test
14661 wine_fn_config_makefile documentation enable_documentation
14662 wine_fn_config_makefile fonts enable_fonts
14663 wine_fn_config_makefile include enable_include
14664 wine_fn_config_makefile libs/port enable_libs_port
14665 wine_fn_config_makefile libs/wine enable_libs_wine
14666 wine_fn_config_makefile libs/wpp enable_libs_wpp
14667 wine_fn_config_makefile loader enable_loader
14668 wine_fn_config_program attrib enable_attrib install
14669 wine_fn_config_program cacls enable_cacls install
14670 wine_fn_config_program clock enable_clock install
14671 wine_fn_config_program cmd enable_cmd install
14672 wine_fn_config_test programs/cmd/tests cmd.exe_test
14673 wine_fn_config_program cmdlgtst enable_cmdlgtst
14674 wine_fn_config_program control enable_control install
14675 wine_fn_config_program dxdiag enable_dxdiag install
14676 wine_fn_config_program eject enable_eject install
14677 wine_fn_config_program expand enable_expand install
14678 wine_fn_config_program explorer enable_explorer install
14679 wine_fn_config_program extrac32 enable_extrac32 install
14680 wine_fn_config_program hh enable_hh install
14681 wine_fn_config_program icinfo enable_icinfo install
14682 wine_fn_config_program iexplore enable_iexplore install
14683 wine_fn_config_program lodctr enable_lodctr install
14684 wine_fn_config_program mshta enable_mshta install
14685 wine_fn_config_program msiexec enable_msiexec installbin
14686 wine_fn_config_program net enable_net install
14687 wine_fn_config_program ngen enable_ngen install
14688 wine_fn_config_program notepad enable_notepad installbin
14689 wine_fn_config_program oleview enable_oleview install
14690 wine_fn_config_program ping enable_ping install
14691 wine_fn_config_program progman enable_progman install
14692 wine_fn_config_program reg enable_reg install
14693 wine_fn_config_program regedit enable_regedit installbin
14694 wine_fn_config_program regsvr32 enable_regsvr32 installbin
14695 wine_fn_config_program rpcss enable_rpcss install
14696 wine_fn_config_program rundll32 enable_rundll32 install
14697 wine_fn_config_program secedit enable_secedit install
14698 wine_fn_config_program services enable_services install
14699 wine_fn_config_program spoolsv enable_spoolsv install
14700 wine_fn_config_program start enable_start install
14701 wine_fn_config_program svchost enable_svchost install
14702 wine_fn_config_program taskmgr enable_taskmgr install
14703 wine_fn_config_program termsv enable_termsv install
14704 wine_fn_config_program uninstaller enable_uninstaller install
14705 wine_fn_config_program unlodctr enable_unlodctr install
14706 wine_fn_config_program view enable_view
14707 wine_fn_config_program wineboot enable_wineboot installbin
14708 wine_fn_config_program winebrowser enable_winebrowser install
14709 wine_fn_config_program winecfg enable_winecfg installbin
14710 wine_fn_config_program wineconsole enable_wineconsole installbin
14711 wine_fn_config_program winedbg enable_winedbg installbin
14712 wine_fn_config_program winedevice enable_winedevice install
14713 wine_fn_config_program winefile enable_winefile installbin
14714 wine_fn_config_program winemenubuilder enable_winemenubuilder install
14715 wine_fn_config_program winemine enable_winemine installbin
14716 wine_fn_config_program winepath enable_winepath installbin
14717 wine_fn_config_program winetest enable_winetest
14718 wine_fn_config_program winevdm enable_win16 install
14719 wine_fn_config_program winhelp.exe16 enable_win16 install
14720 wine_fn_config_program winhlp32 enable_winhlp32 install
14721 wine_fn_config_program winoldap.mod16 enable_win16 install
14722 wine_fn_config_program winver enable_winver install
14723 wine_fn_config_program wordpad enable_wordpad install
14724 wine_fn_config_program write enable_write install
14725 wine_fn_config_program xcopy enable_xcopy install
14726 wine_fn_config_makefile server enable_server
14727 wine_fn_config_tool tools
14728 wine_fn_config_tool tools/widl
14729 wine_fn_config_tool tools/winebuild
14730 wine_fn_config_tool tools/winedump
14731 wine_fn_config_tool tools/winegcc
14732 wine_fn_config_tool tools/wmc
14733 wine_fn_config_tool tools/wrc
14735 ac_config_commands="$ac_config_commands Makefile"
14738 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
14742 if test -n "$with_wine64"
14744 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "all: fonts server $with_wine64/loader/wine32
14746 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
14747 $with_wine64/loader/wine32:
14748 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine32 \$@
14750 \$(RM) fonts server $with_wine64/loader/wine32"
14753 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "uninstall::
14754 -rmdir \$(DESTDIR)\$(datadir)/wine \$(DESTDIR)\$(fakedlldir) \$(DESTDIR)\$(dlldir)"
14756 cat >confcache <<\_ACEOF
14757 # This file is a shell script that caches the results of configure
14758 # tests run on this system so they can be shared between configure
14759 # scripts and configure runs, see configure's option --config-cache.
14760 # It is not useful on other systems. If it contains results you don't
14761 # want to keep, you may remove or edit it.
14763 # config.status only pays attention to the cache file if you give it
14764 # the --recheck option to rerun configure.
14766 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14767 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14768 # following values.
14772 # The following way of writing the cache mishandles newlines in values,
14773 # but we know of no workaround that is simple, portable, and efficient.
14774 # So, we kill variables containing newlines.
14775 # Ultrix sh set writes to stderr and can't be redirected directly,
14776 # and sets the high bit in the cache file unless we assign to the vars.
14778 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14779 eval ac_val=\$$ac_var
14783 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14784 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14787 _ | IFS | as_nl) ;; #(
14788 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14789 *) { eval $ac_var=; unset $ac_var;} ;;
14795 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14796 *${as_nl}ac_space=\ *)
14797 # `set' does not quote correctly, so add quotes: double-quote
14798 # substitution turns \\\\ into \\, and sed turns \\ into \.
14801 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14804 # `set' quotes correctly as required by POSIX, so do not add quotes.
14805 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14814 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14816 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14818 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14819 if test -w "$cache_file"; then
14820 test "x$cache_file" != "x/dev/null" &&
14821 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14822 $as_echo "$as_me: updating cache $cache_file" >&6;}
14823 cat confcache >$cache_file
14825 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14826 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14831 test "x$prefix" = xNONE && prefix=$ac_default_prefix
14832 # Let make expand exec_prefix.
14833 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14835 DEFS=-DHAVE_CONFIG_H
14839 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14840 # 1. Remove the extension, and $U if already installed.
14841 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14842 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14843 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14844 # will be set to the directory where LIBOBJS objects are built.
14845 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14846 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14848 LIBOBJS=$ac_libobjs
14850 LTLIBOBJS=$ac_ltlibobjs
14854 : ${CONFIG_STATUS=./config.status}
14856 ac_clean_files_save=$ac_clean_files
14857 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14858 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14859 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14861 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14863 # Generated by $as_me.
14864 # Run this file to recreate the current configuration.
14865 # Compiler output produced by configure, useful for debugging
14866 # configure, is in config.log if it exists.
14869 ac_cs_recheck=false
14872 SHELL=\${CONFIG_SHELL-$SHELL}
14875 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14876 ## -------------------- ##
14877 ## M4sh Initialization. ##
14878 ## -------------------- ##
14880 # Be more Bourne compatible
14881 DUALCASE=1; export DUALCASE # for MKS sh
14882 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14885 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14886 # is contrary to our usage. Disable this feature.
14887 alias -g '${1+"$@"}'='"$@"'
14888 setopt NO_GLOB_SUBST
14890 case `(set -o) 2>/dev/null` in #(
14902 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14903 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14904 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14905 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14906 # Prefer a ksh shell builtin over an external printf program on Solaris,
14907 # but without wasting forks for bash or zsh.
14908 if test -z "$BASH_VERSION$ZSH_VERSION" \
14909 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14910 as_echo='print -r --'
14911 as_echo_n='print -rn --'
14912 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14913 as_echo='printf %s\n'
14914 as_echo_n='printf %s'
14916 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14917 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14918 as_echo_n='/usr/ucb/echo -n'
14920 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14921 as_echo_n_body='eval
14925 expr "X$arg" : "X\\(.*\\)$as_nl";
14926 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14928 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14930 export as_echo_n_body
14931 as_echo_n='sh -c $as_echo_n_body as_echo'
14933 export as_echo_body
14934 as_echo='sh -c $as_echo_body as_echo'
14937 # The user is always right.
14938 if test "${PATH_SEPARATOR+set}" != set; then
14940 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14941 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14948 # We need space, tab and new line, in precisely that order. Quoting is
14949 # there to prevent editors from complaining about space-tab.
14950 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14951 # splitting by setting IFS to empty value.)
14954 # Find who we are. Look in the path if we contain no directory separator.
14956 *[\\/]* ) as_myself=$0 ;;
14957 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14958 for as_dir in $PATH
14961 test -z "$as_dir" && as_dir=.
14962 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14968 # We did not find ourselves, most probably we were run as `sh COMMAND'
14969 # in which case we are not to be found in the path.
14970 if test "x$as_myself" = x; then
14973 if test ! -f "$as_myself"; then
14974 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14978 # Unset variables that we do not need and which cause bugs (e.g. in
14979 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14980 # suppresses any "Segmentation fault" message there. '((' could
14981 # trigger a bug in pdksh 5.2.14.
14982 for as_var in BASH_ENV ENV MAIL MAILPATH
14983 do eval test x\${$as_var+set} = xset \
14984 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14997 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15000 # as_fn_error ERROR [LINENO LOG_FD]
15001 # ---------------------------------
15002 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15003 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15004 # script with status $?, using 1 if that was 0.
15007 as_status=$?; test $as_status -eq 0 && as_status=1
15009 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15010 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
15012 $as_echo "$as_me: error: $1" >&2
15013 as_fn_exit $as_status
15017 # as_fn_set_status STATUS
15018 # -----------------------
15019 # Set $? to STATUS, without forking.
15020 as_fn_set_status ()
15023 } # as_fn_set_status
15025 # as_fn_exit STATUS
15026 # -----------------
15027 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15031 as_fn_set_status $1
15037 # Portably unset VAR.
15040 { eval $1=; unset $1;}
15042 as_unset=as_fn_unset
15043 # as_fn_append VAR VALUE
15044 # ----------------------
15045 # Append the text in VALUE to the end of the definition contained in VAR. Take
15046 # advantage of any shell optimizations that allow amortized linear growth over
15047 # repeated appends, instead of the typical quadratic growth present in naive
15049 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15050 eval 'as_fn_append ()
15061 # as_fn_arith ARG...
15062 # ------------------
15063 # Perform arithmetic evaluation on the ARGs, and store the result in the
15064 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15065 # must be portable across $(()) and expr.
15066 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15067 eval 'as_fn_arith ()
15074 as_val=`expr "$@" || test $? -eq 1`
15079 if expr a : '\(a\)' >/dev/null 2>&1 &&
15080 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15086 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15087 as_basename=basename
15092 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15098 as_me=`$as_basename -- "$0" ||
15099 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15100 X"$0" : 'X\(//\)$' \| \
15101 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15103 sed '/^.*\/\([^/][^/]*\)\/*$/{
15117 # Avoid depending upon Character Ranges.
15118 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15119 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15120 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15121 as_cr_digits='0123456789'
15122 as_cr_alnum=$as_cr_Letters$as_cr_digits
15124 ECHO_C= ECHO_N= ECHO_T=
15125 case `echo -n x` in #(((((
15127 case `echo 'xy\c'` in
15128 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
15130 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
15137 rm -f conf$$ conf$$.exe conf$$.file
15138 if test -d conf$$.dir; then
15139 rm -f conf$$.dir/conf$$.file
15142 mkdir conf$$.dir 2>/dev/null
15144 if (echo >conf$$.file) 2>/dev/null; then
15145 if ln -s conf$$.file conf$$ 2>/dev/null; then
15147 # ... but there are two gotchas:
15148 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15149 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15150 # In both cases, we have to default to `cp -p'.
15151 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15153 elif ln conf$$.file conf$$ 2>/dev/null; then
15161 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15162 rmdir conf$$.dir 2>/dev/null
15167 # Create "$as_dir" as a directory, including parents if necessary.
15172 -*) as_dir=./$as_dir;;
15174 test -d "$as_dir" || eval $as_mkdir_p || {
15178 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15179 *) as_qdir=$as_dir;;
15181 as_dirs="'$as_qdir' $as_dirs"
15182 as_dir=`$as_dirname -- "$as_dir" ||
15183 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15184 X"$as_dir" : 'X\(//\)[^/]' \| \
15185 X"$as_dir" : 'X\(//\)$' \| \
15186 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15187 $as_echo X"$as_dir" |
15188 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15192 /^X\(\/\/\)[^/].*/{
15205 test -d "$as_dir" && break
15207 test -z "$as_dirs" || eval "mkdir $as_dirs"
15208 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
15212 if mkdir -p . 2>/dev/null; then
15213 as_mkdir_p='mkdir -p "$as_dir"'
15215 test -d ./-p && rmdir ./-p
15219 if test -x / >/dev/null 2>&1; then
15220 as_test_x='test -x'
15222 if ls -dL / >/dev/null 2>&1; then
15229 if test -d "$1"; then
15235 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15236 ???[sx]*):;;*)false;;esac;fi
15240 as_executable_p=$as_test_x
15242 # Sed expression to map a string onto a valid CPP name.
15243 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15245 # Sed expression to map a string onto a valid variable name.
15246 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15250 ## ----------------------------------- ##
15251 ## Main body of $CONFIG_STATUS script. ##
15252 ## ----------------------------------- ##
15254 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15256 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15257 # Save the log message, to keep $0 and so on meaningful, and to
15258 # report actual input values of CONFIG_FILES etc. instead of their
15259 # values after options handling.
15261 This file was extended by Wine $as_me 1.1.42, which was
15262 generated by GNU Autoconf 2.65. Invocation command line was
15264 CONFIG_FILES = $CONFIG_FILES
15265 CONFIG_HEADERS = $CONFIG_HEADERS
15266 CONFIG_LINKS = $CONFIG_LINKS
15267 CONFIG_COMMANDS = $CONFIG_COMMANDS
15270 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15275 case $ac_config_files in *"
15276 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15279 case $ac_config_headers in *"
15280 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15284 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15285 # Files that config.status was made for.
15286 config_files="$ac_config_files"
15287 config_headers="$ac_config_headers"
15288 config_links="$ac_config_links"
15289 config_commands="$ac_config_commands"
15293 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15295 \`$as_me' instantiates files and other configuration actions
15296 from templates according to the current configuration. Unless the files
15297 and actions are specified as TAGs, all are instantiated by default.
15299 Usage: $0 [OPTION]... [TAG]...
15301 -h, --help print this help, then exit
15302 -V, --version print version number and configuration settings, then exit
15303 --config print configuration, then exit
15304 -q, --quiet, --silent
15305 do not print progress messages
15306 -d, --debug don't remove temporary files
15307 --recheck update $as_me by reconfiguring in the same conditions
15308 --file=FILE[:TEMPLATE]
15309 instantiate the configuration file FILE
15310 --header=FILE[:TEMPLATE]
15311 instantiate the configuration header FILE
15313 Configuration files:
15316 Configuration headers:
15319 Configuration links:
15322 Configuration commands:
15325 Report bugs to <wine-devel@winehq.org>.
15326 Wine home page: <http://www.winehq.org>."
15329 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15330 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15332 Wine config.status 1.1.42
15333 configured by $0, generated by GNU Autoconf 2.65,
15334 with options \\"\$ac_cs_config\\"
15336 Copyright (C) 2009 Free Software Foundation, Inc.
15337 This config.status script is free software; the Free Software Foundation
15338 gives unlimited permission to copy, distribute and modify it."
15343 test -n "\$AWK" || AWK=awk
15346 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15347 # The default lists apply if the user does not specify any file.
15353 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15354 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15365 # Handling of the options.
15366 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15368 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15369 $as_echo "$ac_cs_version"; exit ;;
15370 --config | --confi | --conf | --con | --co | --c )
15371 $as_echo "$ac_cs_config"; exit ;;
15372 --debug | --debu | --deb | --de | --d | -d )
15374 --file | --fil | --fi | --f )
15377 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15379 as_fn_append CONFIG_FILES " '$ac_optarg'"
15380 ac_need_defaults=false;;
15381 --header | --heade | --head | --hea )
15384 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15386 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15387 ac_need_defaults=false;;
15389 # Conflict between --help and --header
15390 as_fn_error "ambiguous option: \`$1'
15391 Try \`$0 --help' for more information.";;
15392 --help | --hel | -h )
15393 $as_echo "$ac_cs_usage"; exit ;;
15394 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15395 | -silent | --silent | --silen | --sile | --sil | --si | --s)
15398 # This is an error.
15399 -*) as_fn_error "unrecognized option: \`$1'
15400 Try \`$0 --help' for more information." ;;
15402 *) as_fn_append ac_config_targets " $1"
15403 ac_need_defaults=false ;;
15409 ac_configure_extra_args=
15411 if $ac_cs_silent; then
15413 ac_configure_extra_args="$ac_configure_extra_args --silent"
15417 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15418 if \$ac_cs_recheck; then
15419 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15421 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15422 CONFIG_SHELL='$SHELL'
15423 export CONFIG_SHELL
15428 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15432 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15433 ## Running $as_me. ##
15439 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15443 wine_fn_output_makefile ()
15445 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && return
15446 $ALL_MAKEFILE_DEPENDS
15448 as_fn_error "could not create Makefile" "$LINENO" 5
15453 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15455 # Handling of arguments.
15456 for ac_config_target in $ac_config_targets
15458 case $ac_config_target in
15459 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
15460 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
15461 "dlls/wineps.drv/generic.ppd") CONFIG_LINKS="$CONFIG_LINKS dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd" ;;
15462 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
15463 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
15464 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
15465 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
15466 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
15467 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
15468 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
15469 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
15470 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
15471 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
15472 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
15473 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
15474 "Maketest.rules") CONFIG_FILES="$CONFIG_FILES Maketest.rules" ;;
15475 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
15476 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
15477 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
15478 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
15479 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
15481 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15486 # If the user did not use the arguments to specify the items to instantiate,
15487 # then the envvar interface is used. Set only those that are not.
15488 # We use the long form for the default assignment because of an extremely
15489 # bizarre bug on SunOS 4.1.3.
15490 if $ac_need_defaults; then
15491 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15492 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15493 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
15494 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15497 # Have a temporary directory for convenience. Make it in the build tree
15498 # simply because there is no reason against having it here, and in addition,
15499 # creating and moving files from /tmp can sometimes cause problems.
15500 # Hook for its removal unless debugging.
15501 # Note that there is a small window in which the directory will not be cleaned:
15502 # after its creation but before its name has been assigned to `$tmp'.
15506 trap 'exit_status=$?
15507 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15509 trap 'as_fn_exit 1' 1 2 13 15
15511 # Create a (secure) tmp directory for tmp files.
15514 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15515 test -n "$tmp" && test -d "$tmp"
15518 tmp=./conf$$-$RANDOM
15519 (umask 077 && mkdir "$tmp")
15520 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
15522 # Set up the scripts for CONFIG_FILES section.
15523 # No need to generate them if there are no CONFIG_FILES.
15524 # This happens for instance with `./config.status config.h'.
15525 if test -n "$CONFIG_FILES"; then
15527 if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
15528 ac_cs_awk_getline=:
15529 ac_cs_awk_pipe_init=
15530 ac_cs_awk_read_file='
15531 while ((getline aline < (F[key])) > 0)
15534 ac_cs_awk_pipe_fini=
15536 ac_cs_awk_getline=false
15537 ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
15538 ac_cs_awk_read_file='
15540 print "cat " F[key] " &&"
15541 '$ac_cs_awk_pipe_init
15542 # The final `:' finishes the AND list.
15543 ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
15545 ac_cr=`echo X | tr X '\015'`
15546 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15547 # But we know of no other shell where ac_cr would be empty at this
15548 # point, so we can use a bashism as a fallback.
15549 if test "x$ac_cr" = x; then
15550 eval ac_cr=\$\'\\r\'
15552 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15553 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15556 ac_cs_awk_cr=$ac_cr
15559 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15562 # Create commands to substitute file output variables.
15564 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
15565 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
15566 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
15569 } >conf$$files.sh &&
15570 . ./conf$$files.sh ||
15571 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15572 rm -f conf$$files.sh
15575 echo "cat >conf$$subs.awk <<_ACEOF" &&
15576 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15578 } >conf$$subs.sh ||
15579 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15580 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15582 for ac_last_try in false false false false false :; do
15583 . ./conf$$subs.sh ||
15584 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15586 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15587 if test $ac_delim_n = $ac_delim_num; then
15589 elif $ac_last_try; then
15590 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15592 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15595 rm -f conf$$subs.sh
15597 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15598 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
15602 s/^/S["/; s/!.*/"]=/
15612 s/\(.\{148\}\)..*/\1/
15614 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15619 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15626 s/\(.\{148\}\)..*/\1/
15628 s/["\\]/\\&/g; s/^/"/; s/$/"/
15632 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15637 ' <conf$$subs.awk | sed '
15642 ' >>$CONFIG_STATUS || ac_write_fail=1
15643 rm -f conf$$subs.awk
15644 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15646 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
15647 for (key in S) S_is_set[key] = 1
15649 \$ac_cs_awk_pipe_init
15653 nfields = split(line, field, "@")
15655 len = length(field[1])
15656 for (i = 2; i < nfields; i++) {
15658 keylen = length(key)
15659 if (S_is_set[key]) {
15661 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15662 len += length(value) + length(field[++i])
15667 if (nfields == 3 && !substed) {
15669 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
15670 \$ac_cs_awk_read_file
15676 \$ac_cs_awk_pipe_fini
15679 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15680 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15681 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15684 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
15685 || as_fn_error "could not setup config files machinery" "$LINENO" 5
15688 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15689 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
15690 # trailing colons and then remove the whole line if VPATH becomes empty
15691 # (actually we leave an empty line to preserve line numbers).
15692 if test "x$srcdir" = x.; then
15693 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15694 s/:*\$(srcdir):*/:/
15695 s/:*\${srcdir}:*/:/
15697 s/^\([^=]*=[ ]*\):*/\1/
15703 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15704 fi # test -n "$CONFIG_FILES"
15706 # Set up the scripts for CONFIG_HEADERS section.
15707 # No need to generate them if there are no CONFIG_HEADERS.
15708 # This happens for instance with `./config.status Makefile'.
15709 if test -n "$CONFIG_HEADERS"; then
15710 cat >"$tmp/defines.awk" <<\_ACAWK ||
15714 # Transform confdefs.h into an awk script `defines.awk', embedded as
15715 # here-document in config.status, that substitutes the proper values into
15716 # config.h.in to produce config.h.
15718 # Create a delimiter string that does not exist in confdefs.h, to ease
15719 # handling of long lines.
15721 for ac_last_try in false false :; do
15722 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
15723 if test -z "$ac_t"; then
15725 elif $ac_last_try; then
15726 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
15728 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15732 # For the awk script, D is an array of macro values keyed by name,
15733 # likewise P contains macro parameters if any. Preserve backslash
15734 # newline sequences.
15736 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15738 s/.\{148\}/&'"$ac_delim"'/g
15741 s/^[ ]*#[ ]*define[ ][ ]*/ /
15748 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
15750 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
15754 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
15755 D["\1"]=" \3\\\\\\n"\\/p
15757 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
15762 s/.\{148\}/&'"$ac_delim"'/g
15767 s/["\\]/\\&/g; s/^/"/; s/$/"/p
15770 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
15772 ' <confdefs.h | sed '
15773 s/'"$ac_delim"'/"\\\
15774 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15776 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15777 for (key in D) D_is_set[key] = 1
15780 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15782 split(line, arg, " ")
15783 if (arg[1] == "#") {
15787 defundef = substr(arg[1], 2)
15790 split(mac1, mac2, "(") #)
15792 prefix = substr(line, 1, index(line, defundef) - 1)
15793 if (D_is_set[macro]) {
15794 # Preserve the white space surrounding the "#".
15795 print prefix "define", macro P[macro] D[macro]
15798 # Replace #undef with comments. This is necessary, for example,
15799 # in the case of _POSIX_SOURCE, which is predefined and required
15800 # on some systems where configure will not decide to define it.
15801 if (defundef == "undef") {
15802 print "/*", prefix defundef, macro, "*/"
15810 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15811 as_fn_error "could not setup config headers machinery" "$LINENO" 5
15812 fi # test -n "$CONFIG_HEADERS"
15815 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
15820 :[FHLC]) ac_mode=$ac_tag; continue;;
15822 case $ac_mode$ac_tag in
15824 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
15825 :[FH]-) ac_tag=-:-;;
15826 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15843 -) ac_f="$tmp/stdin";;
15844 *) # Look for the file first in the build tree, then in the source tree
15845 # (if the path is not absolute). The absolute path cannot be DOS-style,
15846 # because $ac_f cannot contain `:'.
15850 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15852 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15854 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15855 as_fn_append ac_file_inputs " '$ac_f'"
15858 # Let's still pretend it is `configure' which instantiates (i.e., don't
15859 # use $as_me), people would be surprised to read:
15860 # /* config.h. Generated by config.status. */
15861 configure_input='Generated from '`
15862 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15864 if test x"$ac_file" != x-; then
15865 configure_input="$ac_file. $configure_input"
15866 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15867 $as_echo "$as_me: creating $ac_file" >&6;}
15869 # Neutralize special characters interpreted by sed in replacement strings.
15870 case $configure_input in #(
15871 *\&* | *\|* | *\\* )
15872 ac_sed_conf_input=`$as_echo "$configure_input" |
15873 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15874 *) ac_sed_conf_input=$configure_input;;
15878 *:-:* | *:-) cat >"$tmp/stdin" \
15879 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
15884 ac_dir=`$as_dirname -- "$ac_file" ||
15885 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15886 X"$ac_file" : 'X\(//\)[^/]' \| \
15887 X"$ac_file" : 'X\(//\)$' \| \
15888 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15889 $as_echo X"$ac_file" |
15890 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15894 /^X\(\/\/\)[^/].*/{
15907 as_dir="$ac_dir"; as_fn_mkdir_p
15911 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15913 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15914 # A ".." for each directory in $ac_dir_suffix.
15915 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15916 case $ac_top_builddir_sub in
15917 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15918 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15921 ac_abs_top_builddir=$ac_pwd
15922 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15923 # for backward compatibility:
15924 ac_top_builddir=$ac_top_build_prefix
15927 .) # We are building in place.
15929 ac_top_srcdir=$ac_top_builddir_sub
15930 ac_abs_top_srcdir=$ac_pwd ;;
15931 [\\/]* | ?:[\\/]* ) # Absolute name.
15932 ac_srcdir=$srcdir$ac_dir_suffix;
15933 ac_top_srcdir=$srcdir
15934 ac_abs_top_srcdir=$srcdir ;;
15935 *) # Relative name.
15936 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15937 ac_top_srcdir=$ac_top_build_prefix$srcdir
15938 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15940 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15950 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15951 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15955 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15956 # If the template does not know about datarootdir, expand it.
15957 # FIXME: This hack should be removed a few years after 2.60.
15958 ac_datarootdir_hack=; ac_datarootdir_seen=
15969 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15970 *datarootdir*) ac_datarootdir_seen=yes;;
15971 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15973 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15975 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15976 ac_datarootdir_hack='
15977 s&@datadir@&$datadir&g
15978 s&@docdir@&$docdir&g
15979 s&@infodir@&$infodir&g
15980 s&@localedir@&$localedir&g
15981 s&@mandir@&$mandir&g
15982 s&\\\${datarootdir}&$datarootdir&g' ;;
15986 # Neutralize VPATH when `$srcdir' = `.'.
15987 # Shell code in configure.ac might set extrasub.
15988 # FIXME: do we really want to maintain this feature?
15989 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15990 ac_sed_extra="$ac_vpsub
15993 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15995 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15996 s|@configure_input@|$ac_sed_conf_input|;t t
15997 s&@top_builddir@&$ac_top_builddir_sub&;t t
15998 s&@top_build_prefix@&$ac_top_build_prefix&;t t
15999 s&@srcdir@&$ac_srcdir&;t t
16000 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16001 s&@top_srcdir@&$ac_top_srcdir&;t t
16002 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16003 s&@builddir@&$ac_builddir&;t t
16004 s&@abs_builddir@&$ac_abs_builddir&;t t
16005 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16006 s&@INSTALL@&$ac_INSTALL&;t t
16007 $ac_datarootdir_hack
16009 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
16010 if $ac_cs_awk_getline; then
16011 $AWK -f "$tmp/subs.awk"
16013 $AWK -f "$tmp/subs.awk" | $SHELL
16015 || as_fn_error "could not create $ac_file" "$LINENO" 5
16017 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16018 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
16019 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
16020 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16021 which seems to be undefined. Please make sure it is defined." >&5
16022 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16023 which seems to be undefined. Please make sure it is defined." >&2;}
16027 -) cat "$tmp/out" && rm -f "$tmp/out";;
16028 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16030 || as_fn_error "could not create $ac_file" "$LINENO" 5
16036 if test x"$ac_file" != x-; then
16038 $as_echo "/* $configure_input */" \
16039 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16040 } >"$tmp/config.h" \
16041 || as_fn_error "could not create $ac_file" "$LINENO" 5
16042 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16043 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16044 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16047 mv "$tmp/config.h" "$ac_file" \
16048 || as_fn_error "could not create $ac_file" "$LINENO" 5
16051 $as_echo "/* $configure_input */" \
16052 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16053 || as_fn_error "could not create -" "$LINENO" 5
16061 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
16064 # Prefer the file from the source tree if names are identical.
16065 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
16066 ac_source=$srcdir/$ac_source
16069 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
16070 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
16072 if test ! -r "$ac_source"; then
16073 as_fn_error "$ac_source: file not found" "$LINENO" 5
16077 # Try a relative symlink, then a hard link, then a copy.
16079 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
16080 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
16082 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
16083 ln "$ac_source" "$ac_file" 2>/dev/null ||
16084 cp -p "$ac_source" "$ac_file" ||
16085 as_fn_error "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
16088 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16089 $as_echo "$as_me: executing $ac_file commands" >&6;}
16094 case $ac_file$ac_mode in
16095 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
16096 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/enhmfdrv" >&5
16097 $as_echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;}; as_dir="dlls/gdi32/enhmfdrv"; as_fn_mkdir_p; } ;;
16098 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/mfdrv" >&5
16099 $as_echo "$as_me: creating dlls/gdi32/mfdrv" >&6;}; as_dir="dlls/gdi32/mfdrv"; as_fn_mkdir_p; } ;;
16100 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/kernel32/nls" >&5
16101 $as_echo "$as_me: creating dlls/kernel32/nls" >&6;}; as_dir="dlls/kernel32/nls"; as_fn_mkdir_p; } ;;
16102 "dlls/user32/resources":C) test -d "dlls/user32/resources" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/user32/resources" >&5
16103 $as_echo "$as_me: creating dlls/user32/resources" >&6;}; as_dir="dlls/user32/resources"; as_fn_mkdir_p; } ;;
16104 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/wineps.drv/data" >&5
16105 $as_echo "$as_me: creating dlls/wineps.drv/data" >&6;}; as_dir="dlls/wineps.drv/data"; as_fn_mkdir_p; } ;;
16106 "include/wine":C) test -d "include/wine" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating include/wine" >&5
16107 $as_echo "$as_me: creating include/wine" >&6;}; as_dir="include/wine"; as_fn_mkdir_p; } ;;
16108 "Makefile":C) wine_fn_output_makefile Makefile ;;
16116 ac_clean_files=$ac_clean_files_save
16118 test $ac_write_fail = 0 ||
16119 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
16122 # configure is writing to config.log, and then calls config.status.
16123 # config.status does its own redirection, appending to config.log.
16124 # Unfortunately, on DOS this fails, as config.log is still kept open
16125 # by configure, so config.status won't be able to write to it; its
16126 # output is simply discarded. So we exec the FD to /dev/null,
16127 # effectively closing config.log, so it can be properly (re)opened and
16128 # appended to by config.status. When coming back to configure, we
16129 # need to make the FD available again.
16130 if test "$no_create" != yes; then
16132 ac_config_status_args=
16133 test "$silent" = yes &&
16134 ac_config_status_args="$ac_config_status_args --quiet"
16136 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16138 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16139 # would make configure fail if this is the last instruction.
16140 $ac_cs_success || as_fn_exit $?
16142 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16143 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16144 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16148 if test "$no_create" = "yes"
16154 if test "x$wine_notices != "x; then
16157 for msg in $wine_notices; do
16159 if test -n "$msg"; then
16160 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
16161 $as_echo "$as_me: $msg" >&6;}
16166 for msg in $wine_warnings; do
16168 if test -n "$msg"; then
16170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
16171 $as_echo "$as_me: WARNING: $msg" >&2;}
16177 $as_me: Finished. Do '${ac_make}' to compile Wine.