Packaging for SLE 10 SDK: how to fix undefined macro AC_TYPE_UINT32_T error from autoconf?


I am trying to build Vim for the SLE 10 SDK Open Build Service build target and while I have managed to overcome some errors related to missing packages (namely fdupes, gpm-devel, gtk3-devel, rsvg-devel) I haven’t been able to fix this autoconf error:

   45s] error: possibly undefined macro: AC_TYPE_UINT32_T
   45s]       If this token and others are legitimate, please use m4_pattern_allow.
   45s]       See the Autoconf documentation.

how do I fix this? I don’t know anything about autoconf, based on this output I’d guess that using m4_pattern_allow with autoconf would fix this error but I don’t know how to do this. Do I ammend by autoconf command (on line 257 of my spec file) to:

m4_pattern_allow autoconf


Thanks for your time,

This macro was introduced in autoconf 2.59c. If your autoconf version is earlier, the only solution is to provide it locally as part of your package.