aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2006-12-21 04:46:52 +0000
committerHans-Peter Nilsson <hp@axis.com>2006-12-21 04:46:52 +0000
commit570ee7f0b6652da4e82b8b670c5fd96d01a2c6ce (patch)
treea354e577a50e805c62db64d61d48106f69bad2ca /sim
parentedc5d9ec5820ae505b26ba00c35d418d4132f2d9 (diff)
downloadgdb-570ee7f0b6652da4e82b8b670c5fd96d01a2c6ce.zip
gdb-570ee7f0b6652da4e82b8b670c5fd96d01a2c6ce.tar.gz
gdb-570ee7f0b6652da4e82b8b670c5fd96d01a2c6ce.tar.bz2
* Makefile.in (autoconf-common autoheader-common): Only run
autoheader on subdirs with a file config.in.
Diffstat (limited to 'sim')
-rw-r--r--sim/ChangeLog3
-rw-r--r--sim/Makefile.in2
2 files changed, 4 insertions, 1 deletions
diff --git a/sim/ChangeLog b/sim/ChangeLog
index 72824aa..caefc89 100644
--- a/sim/ChangeLog
+++ b/sim/ChangeLog
@@ -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.
diff --git a/sim/Makefile.in b/sim/Makefile.in
index 6497f5d..7551f95 100644
--- a/sim/Makefile.in
+++ b/sim/Makefile.in
@@ -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) ; \