summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-09 12:01:56 +0000
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-09 12:01:56 +0000
commit9d1946850236abdd17cede55038d11b30a5e6419 (patch)
tree2696c03be3ec15307fe4fd315a7e5e93890e9e23
parente582ea977681a964830826a528287a0de1d30fb9 (diff)
downloadopenocd+libswd-9d1946850236abdd17cede55038d11b30a5e6419.tar.gz
openocd+libswd-9d1946850236abdd17cede55038d11b30a5e6419.tar.bz2
openocd+libswd-9d1946850236abdd17cede55038d11b30a5e6419.tar.xz
openocd+libswd-9d1946850236abdd17cede55038d11b30a5e6419.zip
Add a rule to rebuild libtool if ltmain.sh changes (from libtool docs).
git-svn-id: svn://svn.berlios.de/openocd/trunk@2174 b42882b7-edfa-0310-969c-e2dbd0fdcd60
-rw-r--r--Makefile.am3
-rw-r--r--configure.in1
2 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 52ba595e..ff331711 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -15,6 +15,9 @@ EXTRA_DIST = \
Doxyfile.in \
tools/logger.pl
+libtool: $(LIBTOOL_DEPS)
+ $(SHELL) ./config.status --recheck
+
docs: pdf html doxygen
Doxyfile: $(srcdir)/Doxyfile.in
diff --git a/configure.in b/configure.in
index 56e431d9..5d41d02e 100644
--- a/configure.in
+++ b/configure.in
@@ -24,6 +24,7 @@ m4_defun([_LT_AC_LANG_F77_CONFIG], [:])
m4_defun([_LT_AC_LANG_GCJ_CONFIG], [:])
AC_DISABLE_SHARED
AC_PROG_LIBTOOL
+AC_SUBST(LIBTOOL_DEPS)
dnl configure checks required for Jim files (these are obsolete w/ C99)