configure: AC_C_CONST is obsolete

Dan Kegel dank at
Wed Aug 31 19:17:44 CDT 2011

AC_C_CONST is known to be broken under -Wall -Werror, which
means wine's config.h defines const away; hilarity ensues.

The autoconf maintainers do not plan to fix it; they say "... just
drop AC_C_CONST: unless you know of a system with a compiler that
doesn't support const, chances are you won't ever meet one.  These are
all just museum systems, and maybe a couple of long-running servers
(which is why AC_C_CONST hasn't been eliminated yet IIRC)."

So let's drop it.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wine-const.patch
Type: text/x-patch
Size: 791 bytes
Desc: not available
URL: <>

More information about the wine-patches mailing list