]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Accept --without-emacs option.
authorBruno Haible <bruno@clisp.org>
Wed, 24 Aug 2005 10:39:18 +0000 (10:39 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:12:47 +0000 (12:12 +0200)
gettext-tools/ChangeLog
gettext-tools/configure.ac

index 864c5fffc8caec27f3e001b10fcdf6f83796eb08..1425244f241b84c93f82decaf2ca05181799ac57 100644 (file)
@@ -1,3 +1,7 @@
+2005-08-11  Bruno Haible  <bruno@clisp.org>
+
+       * configure.ac: Accept --without-emacs option.
+
 2005-08-03  Bruno Haible  <bruno@clisp.org>
 
        * configure.ac (intl/Makefile): Remove the VPATH line.
index 17f64f2825c0461726652b20907cbc7b7fe8b758..d68f7387c46ce646cf63109b0b3bb0ee8f362978 100644 (file)
@@ -243,6 +243,18 @@ esac
 
 dnl Check for Emacs and where to install .elc files.
 AM_PATH_LISPDIR
+dnl Sometimes Emacs is badly installed. Allow the user to work around it.
+AC_ARG_WITH([emacs],
+  [  --without-emacs         do not use Emacs, don't install po-mode],
+  [gt_use_emacs=$withval],
+  [gt_use_emacs=yes])
+if test "$EMACS" != no; then
+  AC_MSG_CHECKING([whether Emacs support is requested])
+  AC_MSG_RESULT([$gt_use_emacs])
+  if test "$gt_use_emacs" = no; then
+    EMACS=no
+  fi
+fi
 
 aclocaldir='${datadir}/aclocal'
 AC_SUBST(aclocaldir)