Lines 2927-2932
Link Here
|
2927 |
|
2927 |
|
2928 |
# AM_PATH_LISPDIR |
2928 |
# AM_PATH_LISPDIR |
2929 |
# --------------- |
2929 |
# --------------- |
|
|
2930 |
echo 'EMACS TEST' |
2931 |
AC_ARG_WITH([emacs],[AS_HELP_STRING([--with-emacs],[Enables emacs |
2932 |
support]),[MY_EMACS=emacs],[MY_EMACS=no]) |
2933 |
echo 'EMACS=$MY_EMACS' |
2934 |
if test "$MY_EMACS"="no"; theni |
2935 |
echo 'XEMACS TEST' |
2936 |
AC_ARG_WITH([xemacs],[AS_HELP_STRING([--with-xemacs],[Enables xemacs |
2937 |
support]),[MY_EMACS=xemacs],[MY_EMACS=no]) |
2938 |
echo 'XEMACS=$MY_EMACS' |
2939 |
|
2930 |
AC_DEFUN([AM_PATH_LISPDIR], |
2940 |
AC_DEFUN([AM_PATH_LISPDIR], |
2931 |
[AC_ARG_WITH(lispdir, |
2941 |
[AC_ARG_WITH(lispdir, |
2932 |
[ --with-lispdir Override the default lisp directory ], |
2942 |
[ --with-lispdir Override the default lisp directory ], |
Lines 2937-2943
Link Here
|
2937 |
# If set to t, that means we are running in a shell under Emacs. |
2947 |
# If set to t, that means we are running in a shell under Emacs. |
2938 |
# If you have an Emacs named "t", then use the full path. |
2948 |
# If you have an Emacs named "t", then use the full path. |
2939 |
test x"$EMACS" = xt && EMACS= |
2949 |
test x"$EMACS" = xt && EMACS= |
2940 |
AC_CHECK_PROGS(EMACS, emacs xemacs, no) |
2950 |
EMACS="$MY_EMACS" |
2941 |
if test $EMACS != "no"; then |
2951 |
if test $EMACS != "no"; then |
2942 |
if test x${lispdir+set} != xset; then |
2952 |
if test x${lispdir+set} != xset; then |
2943 |
AC_CACHE_CHECK([where .elc files should go], [am_cv_lispdir], |
2953 |
AC_CACHE_CHECK([where .elc files should go], [am_cv_lispdir], |