]> git.draconx.ca Git - dxcommon.git/blobdiff - m4/gl-patches.m4
DX_AUTOMAKE_COMPAT: Fix compile with newer Automake.
[dxcommon.git] / m4 / gl-patches.m4
index 887db7a18f7ebf87fc62a5aa8bc6890bee79d230..f16dd1b27e0afb9d97057a39a1e4ab95401cf29c 100644 (file)
@@ -6,13 +6,6 @@
 # This is free software: you are free to do what the fuck you want to.
 # There is NO WARRANTY, to the extent permitted by law.
 
-# DX_PATCH_MACRO([macro-name], [regexp], [replacement])
-#
-# Patches the definition of macro-name by replacing substrings that match
-# the given regexp (a la m4_bpatsubst).
-AC_DEFUN([DX_PATCH_MACRO], [m4_ifdef([$1],
-  [m4_define([$1], m4_bpatsubst(m4_dquote(m4_defn([$1])), [$2], [$3]))])])
-
 # DX_PATCH_GNULIB
 #
 # Apply all the patches described below.  Should be expanded before AC_INIT.