From: Hans-Peter Nilsson Date: Thu, 21 Dec 2006 04:46:52 +0000 (+0000) Subject: * Makefile.in (autoconf-common autoheader-common): Only run X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=570ee7f0b6652da4e82b8b670c5fd96d01a2c6ce;p=binutils-gdb.git * Makefile.in (autoconf-common autoheader-common): Only run autoheader on subdirs with a file config.in. --- 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 + * 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) ; \