aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Bryant <russellbryant@users.sourceforge.net>2008-01-09 14:29:27 +0000
committerRussell Bryant <russellbryant@users.sourceforge.net>2008-01-09 14:29:27 +0000
commit95198c6a8c5225bc51b7c865e53b2aab6a0d101a (patch)
treed3e73b7b77694f192d73d1cb8e414af185e2a2b7
parentf20a892e100dc79b3719a0240a5153c4b238a370 (diff)
Check for AC_CONFIG_HEAEDERS in configure.in before running autoheader.
svn path=/trunk/; revision=9141
-rw-r--r--packages/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/Makefile b/packages/Makefile
index af4b21bd..0fe7b620 100644
--- a/packages/Makefile
+++ b/packages/Makefile
@@ -255,7 +255,10 @@ PD_BUILD_FLAGS =
PD_AUTOCONF = autoconf
$(pd_src)/src/configure: $(pd_src)/src/configure.in
- cd $(pd_src)/src/ && if [ -f acinclude.m4 ] ; then aclocal ; fi && $(PD_AUTOCONF) && autoheader
+ cd $(pd_src)/src/ && \
+ if [ -f acinclude.m4 ] ; then aclocal ; fi && \
+ $(PD_AUTOCONF) && \
+ if grep -q AC_CONFIG_HEADERS configure.in ; then autoheader ; fi
# this is not used yet because MinGW doesn't use ./configure && make yet
#$(pd_src)/src/makefile: $(pd_src)/src/makefile.in