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~126 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f02d6e2252b790314ac9d196a8a5010f2a596457;p=thirdparty%2Fautomake.git * m4/lispdir.m4: Added --with-lispdir argument processing. From Kevin Dalley. --- diff --git a/ChangeLog b/ChangeLog index a32704ab9..c7fee9195 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 cf9f2af30..009a0e0ff 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)])