emacs-0.patch 807 B

123456789101112131415161718192021222324252627282930313233
  1. --- maxima-5.37.3.orig/configure.ac
  2. +++ maxima-5.37.3/configure.ac
  3. @@ -513,6 +513,17 @@
  4. fi
  5. fi
  6. +AC_ARG_ENABLE(emacs,
  7. + [ --enable-emacs Emacs support],
  8. + [case "${enableval}" in
  9. + yes) enable_emacs=true ;;
  10. + no) enable_emacs=false ;;
  11. + *) AC_MSG_ERROR(bad value ${enableval} for --enable-emacs) ;;
  12. + esac],
  13. + [enable_emacs=true])
  14. +
  15. +AM_CONDITIONAL(WANT_EMACS, test x$enable_emacs = xtrue)
  16. +
  17. dnl xgettext
  18. AC_ARG_ENABLE(gettext,
  19. [ --enable-gettext Locale support],
  20. --- maxima-5.37.3.orig/interfaces/Makefile.am
  21. +++ maxima-5.37.3/interfaces/Makefile.am
  22. @@ -1,5 +1,8 @@
  23. +if WANT_EMACS
  24. + MAYBE_EMACS = emacs
  25. +endif
  26. if WANT_TK
  27. MAYBE_XMAXIMA = xmaxima
  28. endif
  29. -SUBDIRS = emacs $(MAYBE_XMAXIMA)
  30. +SUBDIRS = $(MAYBE_EMACS) $(MAYBE_XMAXIMA)
  31. EXTRA_DIST = bin/xmaxima.iss