> The patch to m4/lock.m4 has this problem, and also another one: lock.m4 is > used as part of the gettext infrastructure, which requires only autoconf > >= 2.54 and should not include extensions.m4. - Can you change m4/lock.m4 > to use AC_USE_SYSTEM_EXTENSIONS only in autoconf version >= 2.62, and > AC_GNU_SOURCE otherwise? Something like > > m4_if(m4_version_compare(m4_defn([m4_PACKAGE_VERSION]),[2.62]),[-1], > [AC_REQUIRE([AC_GNU_SOURCE])], > [AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])])
Why not the simpler: m4_ifndef([AC_USE_SYSTEM_EXTENSIONS], [AC_DEFUN([AC_USE_SYSTEM_EXTENSIONS], [AC_GNU_SOURCE])]) Anyways, I feel uncomfortable using undocumented macros, so my first order of business is patching Autoconf to document m4_version_compare and m4_PACKAGE_VERSION. -- Eric Blake -- View this message in context: http://www.nabble.com/Re%3A-autoconf-enhancement-for-Interix-tf4374487.html#a12637270 Sent from the Gnulib mailing list archive at Nabble.com.