[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02-fyi-package-m4.patch
From: |
Akim Demaille |
Subject: |
02-fyi-package-m4.patch |
Date: |
Sun, 06 Jan 2002 21:50:48 +0100 |
Index: ChangeLog
from Akim Demaille <address@hidden>
Creating package.m4 from configure.ac causes too many problems.
* tests/Makefile.am (package.m4): Create it by hand,
AC_CONFIG_TESTDIR no longer does in the most recent CVS Autoconf.
Index: tests/Makefile.am
--- tests/Makefile.am Sat, 29 Dec 2001 10:06:57 +0100 akim
+++ tests/Makefile.am Sun, 06 Jan 2002 13:10:31 +0100 akim
@@ -1,7 +1,7 @@
## Process this file with automake to create Makefile.in.
## Makefile for Bison testsuite.
-## Copyright 2000, 2001 Free Software Foundation, Inc.
+## Copyright 2000, 2001, 2002 Free Software Foundation, Inc.
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
@@ -20,9 +20,29 @@
EXTRA_DIST = $(TESTSUITE_AT) testsuite
-DISTCLEANFILES = atconfig bison package.m4
+DISTCLEANFILES = atconfig bison
MAINTAINERCLEANFILES = Makefile.in $(TESTSUITE)
+## ------------ ##
+## package.m4. ##
+## ------------ ##
+
+$(srcdir)/package.m4: $(top_srcdir)/configure.in
+ { \
+ echo '# Signature of the current package.'; \
+ echo 'm4_define([AT_PACKAGE_NAME], address@hidden@])'; \
+ echo 'm4_define([AT_PACKAGE_TARNAME], address@hidden@])'; \
+ echo 'm4_define([AT_PACKAGE_VERSION], address@hidden@])'; \
+ echo 'm4_define([AT_PACKAGE_STRING], address@hidden@])'; \
+ echo 'm4_define([AT_PACKAGE_BUGREPORT], address@hidden@])'; \
+ } >$(srcdir)/package.m4
+
+EXTRA_DIST += package.m4
+
+## ------------ ##
+## Test suite. ##
+## ------------ ##
+
TESTSUITE_AT = \
testsuite.at \
output.at sets.at reduce.at \
@@ -33,7 +53,7 @@
TESTSUITE = $(srcdir)/testsuite
AUTOTEST = $(AUTOM4TE) --language=autotest
-$(srcdir)/$(TESTSUITE): $(TESTSUITE_AT)
+$(srcdir)/$(TESTSUITE): package.m4 $(TESTSUITE_AT)
$(AUTOTEST) -I $(srcdir) testsuite.at -o address@hidden
mv address@hidden $@
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- 02-fyi-package-m4.patch,
Akim Demaille <=