Projects
Mega:24.03:SP1:Everything
libidn
_service:tar_scm:libidn-emacsopt.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:libidn-emacsopt.patch of Package libidn
From d011a6ae00ce9abd445d6d01ce9131a7b97ef5bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com> Date: Tue, 3 Oct 2017 10:04:18 +0200 Subject: [PATCH] Allow disabling Emacs support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This patch adds --disable-emacs configure option to disable installing LISP scripts for Emacs. Signed-off-by: Petr Písař <ppisar@redhat.com> --- configure.ac | 9 ++++++++- src/Makefile.am | 2 ++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 649ddcd..a6dc9ff 100644 --- a/configure.ac +++ b/configure.ac @@ -51,7 +51,6 @@ LT_INIT([win32-dll]) AM_MISSING_PROG(PERL, perl, $missing_dir) AM_MISSING_PROG(HELP2MAN, help2man, $missing_dir) AM_ICONV -AM_PATH_LISPDIR AM_GNU_GETTEXT([external]) AM_GNU_GETTEXT_VERSION([0.19.3]) @@ -100,6 +99,14 @@ AM_CONDITIONAL(JAVA, test "$enable_java" != "no") AC_MSG_CHECKING([if implementation in Java should be built]) AC_MSG_RESULT($enable_java) +# Check for Emacs +AC_ARG_ENABLE(emacs, AC_HELP_STRING([--disable-emacs], [disable Emacs support]), + enable_emacs=$enableval, enable_emacs=yes) +AM_CONDITIONAL(EMACS, test "$enable_emacs" != "no") +if test "$enable_emacs" != "no"; then + AM_PATH_LISPDIR +fi + # Check for C# if test -n "$HAVE_CSHARPCOMP"; then gt_CSHARPEXEC diff --git a/src/Makefile.am b/src/Makefile.am index 6832c20..ec99560 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -20,7 +20,9 @@ AM_CFLAGS = $(WERROR_CFLAGS) $(WARN_CFLAGS) AM_CPPFLAGS = -I$(top_srcdir)/lib -I../lib -I$(top_srcdir)/gl -I../gl AM_CPPFLAGS += -DLOCALEDIR=\"$(localedir)\" +if EMACS dist_lisp_DATA = punycode.el idna.el +endif bin_PROGRAMS = idn idn_SOURCES = idn.c -- 2.13.6
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2