summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2003-10-07 23:44:10 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2003-10-07 23:44:10 +0000
commite9b509057b0e32f150adee633899b6aebf7e21bc (patch)
tree7eac70c985906726117489eb1244a242ef6a3b75 /Makefile
parentcbeedf73d403ca0b65b3d4151b5630c5e335055b (diff)
downloadllvm-e9b509057b0e32f150adee633899b6aebf7e21bc.tar.gz
llvm-e9b509057b0e32f150adee633899b6aebf7e21bc.tar.bz2
llvm-e9b509057b0e32f150adee633899b6aebf7e21bc.tar.xz
Add rule for regenerating config.h.in using autoheader.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8957 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 46851a4e72..f3a4ffcc77 100644
--- a/Makefile
+++ b/Makefile
@@ -15,7 +15,11 @@ distclean:: clean
$(LEVEL)/TAGS
AUTOCONF = autoconf
+AUTOHEADER = autoheader
-configure: autoconf/configure.ac
+configure: autoconf/configure.ac autoconf/aclocal.m4
cd autoconf && $(AUTOCONF) -o ../configure configure.ac
+include/Config/config.h.in: autoconf/configure.ac autoconf/aclocal.m4
+ autoheader -I autoconf autoconf/configure.ac
+