Cleanup unused parts of configure.ac

Vincent Béron vberon at mecano.gme.usherb.ca
Thu Dec 2 12:12:35 CST 2004


configure.ac tested for some things which are not then re-used in Wine's
code. We might as well reduce what's checked for.

I also noticed 5 defines in config.h which are not used to check if
something is there, even if it's used:
HAVE_SENDMSG (AC_CHECK_FUNCS)
HAVE_TCGETATTR (AC_CHECK_FUNCS)
HAVE_WAIT4 (AC_CHECK_FUNCS)
HAVE_WAITPID (AC_CHECK_FUNCS)
HAVE_STRUCT_STAT_ST_BLOCKS (AC_CHECK_MEMBERS)

I guess we should protect such usage (since we know they're not
available everywhere because there's a configure test for them).


Changelog:
Remove unused tests from configure.ac.

Run autoheader and autoconf after applying.

Vincent
-------------- next part --------------
A non-text attachment was scrubbed...
Name: remove_configure_cruft.diff
Type: text/x-patch
Size: 4553 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20041202/831a7555/remove_configure_cruft.bin


More information about the wine-patches mailing list