diff options
author | Daniel Elstner <daniel.kitta@gmail.com> | 2009-08-17 01:09:33 +0200 |
---|---|---|
committer | Daniel Elstner <daniel.kitta@gmail.com> | 2009-08-17 01:16:27 +0200 |
commit | 4a72657779fe4c0c2c57aada5bee5bddd6bc2c46 (patch) | |
tree | b3c6e83db439f8c2fe6d60eeb754d662903f1156 | |
parent | 1937e998a6e75fcedb47b35568dc9d08233d1551 (diff) | |
download | mm-common-4a72657779fe4c0c2c57aada5bee5bddd6bc2c46.tar.gz |
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.
-rw-r--r-- | 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 ]) |