summaryrefslogtreecommitdiff
path: root/lib/am/configure.am
diff options
context:
space:
mode:
authorAlexandre Duret-Lutz <adl@gnu.org>2003-05-06 22:29:16 +0000
committerAlexandre Duret-Lutz <adl@gnu.org>2003-05-06 22:29:16 +0000
commit7a857e24fd531ddabe26a7c9f08eb612b872b5e3 (patch)
tree928cb2748cf61d0e3230bed6af04887030a35300 /lib/am/configure.am
parent12aa5ba688101b2e6a217974ec09ea5448b58723 (diff)
downloadautomake-7a857e24fd531ddabe26a7c9f08eb612b872b5e3.tar.gz
* lib/am/configure.am (%MAKEFILE-IN%): Propagate automake's exit
status. * tests/makej.test: New file (test Autom4te's cache locking, new in CVS Autoconf). * tests/Makefile.am (TESTS): Add makej.test.
Diffstat (limited to 'lib/am/configure.am')
-rw-r--r--lib/am/configure.am7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/am/configure.am b/lib/am/configure.am
index 474e83138..2d05f18bb 100644
--- a/lib/am/configure.am
+++ b/lib/am/configure.am
@@ -42,9 +42,10 @@ endif %?TOPDIR_P%
case '$(top_srcdir)/%CONFIGURE-AC% $(ACLOCAL_M4) $(am__configure_deps)' in \
*$$dep*) \
?TOPDIR_P? echo ' cd $(srcdir) && $(AUTOMAKE) --%STRICTNESS% %USE-DEPS%'; \
-?TOPDIR_P? cd $(srcdir) && $(AUTOMAKE) --%STRICTNESS% %USE-DEPS%; \
-?!TOPDIR_P? cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh; \
- exit 0;; \
+?TOPDIR_P? cd $(srcdir) && $(AUTOMAKE) --%STRICTNESS% %USE-DEPS% \
+?!TOPDIR_P? cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+ && exit 0; \
+ exit 1;; \
esac; \
done; \
## Otherwise, rebuild only this file.