1
0
Fork 0

configure: Use AC_CONFIG_MACRO_DIR

This makes acinclude.m4 unecessary.
This commit is contained in:
Felix Janda 2017-10-22 21:19:02 -04:00
parent 4d85cd24eb
commit 0555a68054
3 changed files with 2 additions and 8 deletions

View File

@ -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)

View File

@ -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

View File

@ -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