m4/mdw-manext.m4: Don't hardcode the manpage extension to `mLib'.
authorMark Wooding <mdw@distorted.org.uk>
Sun, 9 Aug 2020 12:04:36 +0000 (13:04 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 9 Aug 2020 12:27:48 +0000 (13:27 +0100)
Obviously this isn't used as widely as it ought to be!

m4/mdw-manext.m4

index 636a652..df71dbc 100644 (file)
@@ -2,7 +2,7 @@ dnl -*-autoconf-*-
 
 ### SYNOPSIS
 ###
-###   mdw_MANEXT
+###   mdw_MANEXT(DFLT)
 ###
 ### DESCRIPTION
 ###
@@ -47,5 +47,5 @@ AC_DEFUN([mdw_MANEXT], [
 AC_ARG_WITH([man-ext],
 [AS_HELP_STRING([--with-man-ext=EXT],
                [give manpages the EXT extension (e.g., foo.3EXT)])],
-[manext=$withval], [manext=mLib])
+[manext=$withval], [manext="$1"])
 AC_SUBST(manext)])