[libvtemm] M4 macros cleanup.



commit 63818dad961a6f69aba7269d14e5faae55eaa212
Author: Krzesimir Nowak <krnowak svn gnome org>
Date:   Thu May 14 18:03:25 2009 +0200

    M4 macros cleanup.
    
    * Makefile.am: Replaced perl with @PERL@ in ChangeLog generation
    script.
    * scripts/macros.m4: Removed now unneeded patch checking macro.
---
 Makefile.am       |    2 +-
 scripts/macros.m4 |   12 ------------
 2 files changed, 1 insertions(+), 13 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 02eb5a0..1ef48c2 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -30,7 +30,7 @@ dist-hook:
 	        echo Creating ChangeLog && \
 	        ( cd "$(top_srcdir)" && \
 	          $(top_srcdir)/scripts/missing --run git log --date=short --pretty=format:"@@@@%cd  %an  <%ae>%n%n%s%n%n%b" | \
-	          perl -ne 'if ( m/^\s*$$/ ) { if (!$$blank) { print; $$blank=1; } } else {$$blank=0; if (!s/^@@@@// && !/^\t/) { print "\t"; } print; }') > ChangeLog.tmp \
+	          @PERL@ -ne 'if ( m/^\s*$$/ ) { if (!$$blank) { print; $$blank=1; } } else {$$blank=0; if (!s/^@@@@// && !/^\t/) { print "\t"; } print; }') > ChangeLog.tmp \
 	        && mv -f ChangeLog.tmp $(top_distdir)/ChangeLog \
 	        || ( rm -f ChangeLog.tmp ; \
 	             echo Failed to generate ChangeLog >&2 ); \
diff --git a/scripts/macros.m4 b/scripts/macros.m4
index 08463c7..4fa4fcf 100644
--- a/scripts/macros.m4
+++ b/scripts/macros.m4
@@ -67,18 +67,6 @@ else
 fi
 ])
 
-dnl AL_PROG_PATCH(ACTION_NOT_FOUND)
-dnl   Check for patch
-dnl
-AC_DEFUN([AL_PROG_PATCH],
-[
-	AC_PATH_PROG(PATCH, patch, no)
-	if test "x$PATCH" = "xno"
-	then
-		$1
-	fi
-])
-
 dnl AL_ENABLE_REFERENCE()
 dnl   Check if we want to build reference
 dnl



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]