Add a rule to rebuild libtool if ltmain.sh changes (from libtool docs).
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Tue, 9 Jun 2009 12:01:56 +0000 (12:01 +0000)
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Tue, 9 Jun 2009 12:01:56 +0000 (12:01 +0000)
git-svn-id: svn://svn.berlios.de/openocd/trunk@2174 b42882b7-edfa-0310-969c-e2dbd0fdcd60

Makefile.am
configure.in

index 52ba595..ff33171 100644 (file)
@@ -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
index 56e431d..5d41d02 100644 (file)
@@ -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)