Add mdw_MANEXT.
authormdw <mdw>
Wed, 23 Apr 2003 12:47:22 +0000 (12:47 +0000)
committermdw <mdw>
Wed, 23 Apr 2003 12:47:22 +0000 (12:47 +0000)
aclocal.glob

index 1c19f01..8da0c04 100644 (file)
@@ -1,6 +1,6 @@
 dnl -*-fundamental-*-                                    *@--GLOB-HEADER--@*
 dnl
-dnl $Id: aclocal.glob,v 1.15 2002/02/19 22:50:24 mdw Exp $
+dnl $Id: aclocal.glob,v 1.16 2003/04/23 12:47:22 mdw Exp $
 dnl
 dnl Common library of autoconf macros
 dnl
@@ -28,6 +28,9 @@ dnl Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 dnl----- Revision history ---------------------------------------------------
 dnl
 dnl $Log: aclocal.glob,v $
+dnl Revision 1.16  2003/04/23 12:47:22  mdw
+dnl Add mdw_MANEXT.
+dnl
 dnl Revision 1.15  2002/02/19 22:50:24  mdw
 dnl Fix spelling.  Add new macro which works out where to put TeX files.
 dnl
@@ -79,7 +82,7 @@ dnl
 
 dnl----- Common files distribution --------------------------- *@--NOTICE--@*
 dnl
-dnl $Id: aclocal.glob,v 1.15 2002/02/19 22:50:24 mdw Exp $
+dnl $Id: aclocal.glob,v 1.16 2003/04/23 12:47:22 mdw Exp $
 
 dnl --- *@-AM_PROG_CC_STDC-@* ---
 dnl
@@ -1801,7 +1804,7 @@ dnl               tree.
 AC_DEFUN([mdw_DIR_TEXMF], [
 AC_ARG_WITH([texmfdir], 
 [  --with-texmfdir=DIR     set the TeX install directory to DIR],
-[texmfdir=$witharg],
+[texmfdir=$withval],
 [AC_MSG_CHECKING([where to put installed TeX files])
 mdw_DEFINE_PATHS([
 texmfdir='${datadir}/texmf'
@@ -1816,4 +1819,20 @@ done
 AC_MSG_RESULT([$texmfdir])])])
 AC_SUBST(texmfdir)])
 
+dnl --- *@-mdw_MANEXT-@* ---
+dnl
+dnl Author:    Mark Wooding
+dnl
+dnl Synopsis:  mdw_MANEXT
+dnl
+dnl Arguments: ---
+dnl
+dnl Use:       Sets the substitution `manext' for man page extensions.
+
+AC_DEFUN([mdw_MANEXT], [
+AC_ARG_WITH([man-ext],
+[  --with-man-ext=EXT      give manpages the EXT extension (e.g., foo.3EXT)],
+[manext=$withval], [manext=mLib])
+AC_SUBST(manext)])
+
 dnl----- That's all, folks --------------------------------- *@--GLOB-END--@*