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 52ba595ead513de0d8269289defa7dff584832c1..ff331711141a41e937459d70f2b1e7c25841e40b 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 56e431d9b73bf7dd56b962b61c7f4f4d4debc518..5d41d02e8b09a87bf813772d99efb1935ae77076 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)