Commit 53c4cc94 53c4cc94b181d29e51d7b1258be2ec83d1016d08 by Sergey Poznyakoff

New option --enable-mh-utils.

Added check for Emacs lisp directory
1 parent 7255ead4
...@@ -423,13 +423,19 @@ MU_ENABLE_SUPPORT(mh, ...@@ -423,13 +423,19 @@ MU_ENABLE_SUPPORT(mh,
423 [BUILD_MH_PROGRAMS='$(PROGRAMS_MH)'; 423 [BUILD_MH_PROGRAMS='$(PROGRAMS_MH)';
424 BUILD_MH_LIBRARIES='$(LIBRARIES_MH)']) 424 BUILD_MH_LIBRARIES='$(LIBRARIES_MH)'])
425 425
426 AC_ARG_ENABLE([experimental], 426 dnl AC_ARG_ENABLE([experimental],
427 AC_HELP_STRING([--enable-experimental], 427 dnl AC_HELP_STRING([--enable-experimental],
428 [build experimental and/or unfinished utilities]), 428 dnl [build experimental and/or unfinished utilities]),
429 [MU_BUILD_EXPERIMENTAL="${enableval}"], 429 dnl [MU_BUILD_EXPERIMENTAL="${enableval}"],
430 [MU_BUILD_EXPERIMENTAL=no]) 430 dnl [MU_BUILD_EXPERIMENTAL=no])
431 431
432 if test ".$MU_BUILD_EXPERIMENTAL" = ".no"; then 432 AC_ARG_ENABLE([mh-utils],
433 AC_HELP_STRING([--enable-mh-utils],
434 [Build MH utilities]),
435 [MU_BUILD_MH="${enableval}"],
436 [MU_BUILD_MH=no])
437
438 if test ".$MU_BUILD_MH" = ".no"; then
433 BUILD_MH_PROGRAMS= 439 BUILD_MH_PROGRAMS=
434 BUILD_MH_LIBRARIES= 440 BUILD_MH_LIBRARIES=
435 else 441 else
...@@ -599,6 +605,14 @@ if test x"$useguile" = x"yes"; then ...@@ -599,6 +605,14 @@ if test x"$useguile" = x"yes"; then
599 ],[useguile=no]) 605 ],[useguile=no])
600 fi 606 fi
601 607
608 dnl Check for Emacs site-lisp directory
609 AM_PATH_LISPDIR
610
611 if test "$EMACS" != "no"; then
612 lisp_LISP='$(LISPSRC)'
613 fi
614 AC_SUBST(lisp_LISP)
615
602 dnl Make sysconfdir available to the application 616 dnl Make sysconfdir available to the application
603 dnl This must be done LAST, since CPPFLAGS is passed by configure 617 dnl This must be done LAST, since CPPFLAGS is passed by configure
604 dnl to build tests, but this relies on being run in make to 618 dnl to build tests, but this relies on being run in make to
......