This makes acinclude.m4 unecessary.
---
 Makefile     | 2 +-
 autogen.sh   | 7 -------
 configure.in | 1 +
 3 files changed, 2 insertions(+), 8 deletions(-)

diff --git a/Makefile b/Makefile
index 703616ad..effe97ba 100644
--- a/Makefile
+++ b/Makefile
@@ -13,7 +13,7 @@ $(top_builddir)/config.status: $(top_srcdir)/configure
        cd $(top_builddir) && $(SHELL) ./config.status --recheck
 
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-$(ACLOCAL_M4): $(top_srcdir)/configure.in $(top_srcdir)/acinclude.m4
+$(ACLOCAL_M4): $(top_srcdir)/configure.in
        cd $(top_srcdir) && $(ACLOCAL)
 
 $(top_srcdir)/configure: $(top_srcdir)/configure.in $(ACLOCAL_M4)
diff --git a/autogen.sh b/autogen.sh
index d87f884d..6c1cdbb1 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,12 +1,5 @@
 #!/bin/sh
 
-echo acinclude.m4...
-(
-       echo "dnl Automatically generated from config/m4/ files by autogen.sh!"
-       echo "dnl Do not modify!"
-       cat config/m4/*.m4
-) > acinclude.m4
-
 echo aclocal...
 aclocal
 
diff --git a/configure.in b/configure.in
index 3e189c92..842c00d9 100644
--- a/configure.in
+++ b/configure.in
@@ -13,6 +13,7 @@ AC_PREREQ(2.61)
 AC_INIT
 AC_CONFIG_SRCDIR([src/main/main.c])
 AC_CONFIG_AUX_DIR(config)
+AC_CONFIG_MACRO_DIR([config/m4])
 
 PACKAGE=elinks
 VERSION=0.13.GIT
-- 
2.13.6

-- 
http://lists.linuxfromscratch.org/listinfo/elinks-dev
Unsubscribe: See the above information page

Reply via email to