From: Tom Tromey Date: Thu, 13 Jan 2000 00:58:57 +0000 (+0000) Subject: * m4/lispdir.m4: Added --with-lispdir argument processing. X-Git-Tag: Release-1-4b~127 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=05c7bea63d2886378cff99c643c34e921045ba42;p=automake.git * m4/lispdir.m4: Added --with-lispdir argument processing. From Kevin Dalley. --- diff --git a/ChangeLog b/ChangeLog index a32704ab..c7fee919 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2000-01-12 Tom Tromey + + * m4/lispdir.m4: Added --with-lispdir argument processing. + From Kevin Dalley. + 2000-01-06 Tom Tromey * automake.in (handle_configure): Don't check for diff --git a/m4/lispdir.m4 b/m4/lispdir.m4 index cf9f2af3..009a0e0f 100644 --- a/m4/lispdir.m4 +++ b/m4/lispdir.m4 @@ -7,7 +7,13 @@ # serial 3 AC_DEFUN(AM_PATH_LISPDIR, - [# If set to t, that means we are running in a shell under Emacs. + [AC_ARG_WITH(lispdir, + [ --with-lispdir Override the default lisp directory ], + [ lispdir="$withval" + AC_MSG_CHECKING([where .elc files should go]) + AC_MSG_RESULT($lispdir)], + [ + # If set to t, that means we are running in a shell under Emacs. # If you have an Emacs named "t", then use the full path. test x"$EMACS" = xt && EMACS= AC_CHECK_PROGS(EMACS, emacs xemacs, no) @@ -22,4 +28,5 @@ AC_DEFUN(AM_PATH_LISPDIR, lispdir="$am_cv_lispdir" fi fi - AC_SUBST(lispdir)]) + ]) + AC_SUBST(lispdir)])