From: Bruno Haible Date: Wed, 24 Aug 2005 10:39:18 +0000 (+0000) Subject: Accept --without-emacs option. X-Git-Tag: v0.15~424 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d5c7882134d458eb542896f82b38671934cd0396;p=thirdparty%2Fgettext.git Accept --without-emacs option. --- diff --git a/gettext-tools/ChangeLog b/gettext-tools/ChangeLog index 864c5fffc..1425244f2 100644 --- a/gettext-tools/ChangeLog +++ b/gettext-tools/ChangeLog @@ -1,3 +1,7 @@ +2005-08-11 Bruno Haible + + * configure.ac: Accept --without-emacs option. + 2005-08-03 Bruno Haible * configure.ac (intl/Makefile): Remove the VPATH line. diff --git a/gettext-tools/configure.ac b/gettext-tools/configure.ac index 17f64f282..d68f7387c 100644 --- a/gettext-tools/configure.ac +++ b/gettext-tools/configure.ac @@ -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)