diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2006-12-21 04:46:52 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@axis.com> | 2006-12-21 04:46:52 +0000 |
commit | 202305d84f8f5d14f086cb837b9ac27a5a7ac62c (patch) | |
tree | ec81a10b946488426601757b5210438da17ada2d /sim | |
parent | 2fd4b2bb1d0cd1feb82c8cc6d10254ffc994a6a9 (diff) | |
download | gdb-202305d84f8f5d14f086cb837b9ac27a5a7ac62c.tar.gz |
* Makefile.in (autoconf-common autoheader-common): Only run
autoheader on subdirs with a file config.in.
Diffstat (limited to 'sim')
-rw-r--r-- | sim/ChangeLog | 3 | ||||
-rw-r--r-- | sim/Makefile.in | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/sim/ChangeLog b/sim/ChangeLog index 72824aa0567..caefc89c90d 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 6497f5d9cc1..7551f95c7c3 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) ; \ |