* Makefile.in (autoconf-common autoheader-common): Only run

autoheader on subdirs with a file config.in.
This commit is contained in:
Hans-Peter Nilsson 2006-12-21 04:46:52 +00:00
parent edc5d9ec58
commit 570ee7f0b6
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2006-12-20 Hans-Peter Nilsson <hp@axis.com>
* Makefile.in (autoconf-common autoheader-common): Only run
autoheader on subdirs with a file config.in.
* configure.ac (common): Make the default "yes" for all targets
with sim subdirs.
* configure: Regenerate.

View File

@ -216,7 +216,7 @@ autoconf-common autoheader-common:
then \
echo "Running autoconf in $$d ..." ; \
(cd $$d && autoconf --force) ; \
if [ $@ = autoheader-common ] ; \
if [ $@ = autoheader-common ] && [ -f $$d/config.in ] ; \
then \
echo "Running autoheader in $$d ..." ; \
(cd $$d && autoheader --force) ; \