autoconf-patches
[Top][All Lists]
Advanced

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

Some non-srcdir build fixes


From: Raja R Harinath
Subject: Some non-srcdir build fixes
Date: 23 Jan 2001 12:40:24 -0600
User-agent: Gnus/5.090001 (Oort Gnus v0.01) Emacs/21.0.95

Hi,

Some recent changes broke non-srcdir builds of autoconf from CVS.

from  Raja R Harinath  <address@hidden>

        Some non-srcdir build fixes.
        * configure.in (BUGS): Look for file in $srcdir.
        * tests/Makefile.am (MACRO_FILES): Use '..', not '$(top_srcdir)'.

Index: configure.in
===================================================================
RCS file: /cvs/autoconf/configure.in,v
retrieving revision 1.38
diff -u -p -u -r1.38 configure.in
--- configure.in        2001/01/23 12:53:53     1.38
+++ configure.in        2001/01/23 18:36:49
@@ -48,5 +48,5 @@ AC_OUTPUT(Makefile m4/Makefile man/Makef
 
 # Report the state of this version of Autoconf if this is a beta.
 case AC_PACKAGE_VERSION in
-  *[[a-z]]*) sed -n '/^\* Status/,$p' BUGS;;
+  *[[a-z]]*) sed -n '/^\* Status/,$p' $srcdir/BUGS;;
 esac
Index: tests/Makefile.am
===================================================================
RCS file: /cvs/autoconf/tests/Makefile.am,v
retrieving revision 1.44
diff -u -p -u -r1.44 Makefile.am
--- tests/Makefile.am   2001/01/22 09:04:59     1.44
+++ tests/Makefile.am   2001/01/23 18:36:49
@@ -47,12 +47,12 @@ testsuite: $(top_srcdir)/m4sugar.m4 $(to
 
 
 # The files which contains macro we check for syntax.
-MACRO_FILES = $(top_srcdir)/acgeneral.m4 \
-              $(top_srcdir)/acspecific.m4 \
-              $(top_srcdir)/acfunctions.m4 \
-              $(top_srcdir)/aclang.m4 \
-              $(top_srcdir)/acheaders.m4 \
-              $(top_srcdir)/actypes.m4
+MACRO_FILES = ../acgeneral.m4 \
+              ../acspecific.m4 \
+              ../acfunctions.m4 \
+              ../aclang.m4 \
+              ../acheaders.m4 \
+              ../actypes.m4
 
 acgeneral.at: mktests.sh $(MACRO_FILES)
        cd $(srcdir) && ./mktests.sh $(MACRO_FILES)
- Hari
-- 
Raja R Harinath ------------------------------ address@hidden
"When all else fails, read the instructions."      -- Cahn's Axiom
"Our policy is, when in doubt, do the right thing."   -- Roy L Ash

reply via email to

[Prev in Thread] Current Thread [Next in Thread]