diff options
author | Russell Bryant <russellbryant@users.sourceforge.net> | 2008-01-09 14:29:27 +0000 |
---|---|---|
committer | Russell Bryant <russellbryant@users.sourceforge.net> | 2008-01-09 14:29:27 +0000 |
commit | 95198c6a8c5225bc51b7c865e53b2aab6a0d101a (patch) | |
tree | d3e73b7b77694f192d73d1cb8e414af185e2a2b7 | |
parent | f20a892e100dc79b3719a0240a5153c4b238a370 (diff) |
Check for AC_CONFIG_HEAEDERS in configure.in before running autoheader.
svn path=/trunk/; revision=9141
-rw-r--r-- | packages/Makefile | 5 |
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 |