termux-packages/packages/ctags/configure.ac.patch

38 lines
1.5 KiB
Diff
Raw Normal View History

2017-03-01 18:14:25 +01:00
diff -u -r ../ctags-a39f842455fdcc47b812c35c6bf0f19735034de0/configure.ac ./configure.ac
--- ../ctags-a39f842455fdcc47b812c35c6bf0f19735034de0/configure.ac 2017-02-24 10:02:41.000000000 +0100
+++ ./configure.ac 2017-03-01 18:10:59.298643710 +0100
@@ -7,7 +7,14 @@
# Process this file with autoconf to produce a configure script.
2016-05-03 03:17:57 +02:00
AC_PREREQ([2.59])
-AC_INIT([universal-ctags],[0.0.0])
+# Avoid identifying as
+# Universal Ctags 0.0.0, Copyright (C) 2015 Universal Ctags Team
+# Universal Ctags is derived from Exuberant Ctags.
+# Exuberant Ctags 5.8, Copyright (C) 1996-2009 Darren Hiebert
+# since that causes at least vim-easytags to identify the ctags
+# version as 0.0.0, see
+# https://github.com/xolox/vim-easytags/blob/master/autoload/xolox/easytags.vim
+AC_INIT([universal-ctags],[5.8])
AM_INIT_AUTOMAKE([foreign subdir-objects])
AM_SILENT_RULES([yes])
AC_CONFIG_HEADERS([config.h])
2017-03-01 18:14:25 +01:00
@@ -591,16 +598,7 @@
2017-01-24 22:15:14 +01:00
AH_TEMPLATE([HAVE_LIBXML],
[Define this value if libxml is available.])
-dnl About the condition of version
-dnl see https://mail.gnome.org/archives/xml/2010-February/msg00008.html
2017-03-01 18:14:25 +01:00
-AS_IF([test "x$enable_xml" != "xno"], [
- PKG_CHECK_MODULES(LIBXML, [libxml-2.0 >= 2.7.7],
- [have_libxml=yes
- AC_DEFINE(HAVE_LIBXML)],
- [AS_IF([test "x$enable_xml" = "xyes"], [
- AC_MSG_ERROR([libxml2 not found])])])
-])
2016-05-03 03:17:57 +02:00
-AM_CONDITIONAL(HAVE_LIBXML, test "x$have_libxml" = xyes)
2017-01-24 22:15:14 +01:00
+AM_CONDITIONAL(HAVE_LIBXML, [test true = false])
2016-05-03 03:17:57 +02:00
2017-03-01 18:14:25 +01:00
AC_ARG_ENABLE([json],
[AS_HELP_STRING([--disable-json],