> > * m4/gnulib-common.m4 (AC_PROG_MKDIR_P): > > Define only for Autoconf versions before 2.62. > > (AC_C_RESTRICT): Use documented AC_AUTOCONF_VERSION, not > > undocumented m4_PACKAGE_VERSION, for consistency with the > > abovementioned change to AC_PROG_MKDIR_P. This should suffice > > since we're checking for 2.62 or later, and AC_AUTOCONF_VERSION > > was introduced in 2.62. > > --- > > > +m4_if(m4_version_compare(m4_defn([AC_AUTOCONF_VERSION]),[2.62]),[-1],[ > > I still need to test to make sure, but I'm thinking this WON'T work > with 2.59. m4_defn([undefined]) is fatal.
But that gives me an idea for a simpler solution that DOES work with 2.59: dnl no need to replace in 2.62 or later, and AC_AUTOCONF_VERSION dnl was introduced in 2.62; so use that as the witness m4_ifndef([AC_AUTOCONF_VERSION],[... -- Eric Blake ebl...@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org