[mm-common] Strip '+' from tag file name for configure option



commit 4a72657779fe4c0c2c57aada5bee5bddd6bc2c46
Author: Daniel Elstner <daniel kitta gmail com>
Date:   Mon Aug 17 01:09:33 2009 +0200

    Strip '+' from tag file name for configure option
    
    * macros/mm-doc.m4 (MM_ARG_WITH_TAGFILE_DOC): Correct the regular
    expression used to strip off the suffix of the tag file name in order
    to produce a suitable name for the configure option.  Specifically,
    properly handle the case of both '++' and '-d.d' occuring together.

 macros/mm-doc.m4 |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/macros/mm-doc.m4 b/macros/mm-doc.m4
index 2d7711f..55f47ad 100644
--- a/macros/mm-doc.m4
+++ b/macros/mm-doc.m4
@@ -15,7 +15,7 @@
 ## You should have received a copy of the GNU General Public License
 ## along with mm-common.  If not, see <http://www.gnu.org/licenses/>.
 
-#serial 20090813
+#serial 20090816
 
 ## _MM_CONFIG_DOCTOOL_DIR
 ##
@@ -238,6 +238,6 @@ AC_REQUIRE([MM_CONFIG_DOCTOOL_DIR])[]dnl
 AC_REQUIRE([_MM_ARG_ENABLE_DOCUMENTATION])[]dnl
 dnl
 AS_IF([test "x$ENABLE_DOCUMENTATION" != xno],
-      [_MM_ARG_WITH_TAGFILE_DOC(m4_quote(m4_bpatsubst([$1], [\([-+][0123456789]\|[+]*[._]\).*$])),
+      [_MM_ARG_WITH_TAGFILE_DOC(m4_quote(m4_bpatsubst([$1], [[+]*\([-+][0123456789]\|[._]\).*$])),
                                 [htmlref]m4_ifval([$2], [[pub]], [[dir]]), [$1], [$2])])[]dnl
 ])



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]