diff options
author | Tom Tromey <tromey@redhat.com> | 2000-01-13 00:58:57 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2000-01-13 00:58:57 +0000 |
commit | f02d6e2252b790314ac9d196a8a5010f2a596457 (patch) | |
tree | 1bfc5eebbe7f2aaee5b1ec050a0eef0ebf8bcc6e /m4/lispdir.m4 | |
parent | c17814d00d38132c71db50b633c7d357707c1f5d (diff) | |
download | automake-f02d6e2252b790314ac9d196a8a5010f2a596457.tar.gz |
* m4/lispdir.m4: Added --with-lispdir argument processing.
From Kevin Dalley.
Diffstat (limited to 'm4/lispdir.m4')
-rw-r--r-- | m4/lispdir.m4 | 11 |
1 files changed, 9 insertions, 2 deletions
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)]) |