mirror of
https://github.com/rkd77/elinks.git
synced 2025-01-03 14:57:44 -05:00
configure: Use AC_CONFIG_MACRO_DIR
This makes acinclude.m4 unecessary.
This commit is contained in:
parent
4d85cd24eb
commit
0555a68054
2
Makefile
2
Makefile
@ -13,7 +13,7 @@ $(top_builddir)/config.status: $(top_srcdir)/configure
|
|||||||
cd $(top_builddir) && $(SHELL) ./config.status --recheck
|
cd $(top_builddir) && $(SHELL) ./config.status --recheck
|
||||||
|
|
||||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
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)
|
cd $(top_srcdir) && $(ACLOCAL)
|
||||||
|
|
||||||
$(top_srcdir)/configure: $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
$(top_srcdir)/configure: $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||||
|
@ -1,12 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/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...
|
echo aclocal...
|
||||||
aclocal
|
aclocal
|
||||||
|
|
||||||
|
@ -13,6 +13,7 @@ AC_PREREQ(2.61)
|
|||||||
AC_INIT
|
AC_INIT
|
||||||
AC_CONFIG_SRCDIR([src/main/main.c])
|
AC_CONFIG_SRCDIR([src/main/main.c])
|
||||||
AC_CONFIG_AUX_DIR(config)
|
AC_CONFIG_AUX_DIR(config)
|
||||||
|
AC_CONFIG_MACRO_DIR([config/m4])
|
||||||
|
|
||||||
PACKAGE=elinks
|
PACKAGE=elinks
|
||||||
VERSION=0.13.GIT
|
VERSION=0.13.GIT
|
||||||
|
Loading…
Reference in New Issue
Block a user