pick: Update from 1.5.3 to 1.5.4
[termux-packages] / packages / ctags / configure.ac.patch
CommitLineData
49bbfde9
FF
1diff -u -r ../ctags-15504fe2d0c84b6dbcb0b8a5c594424dd383185e/configure.ac ./configure.ac
2--- ../ctags-15504fe2d0c84b6dbcb0b8a5c594424dd383185e/configure.ac 2017-01-23 15:00:41.000000000 +0100
3+++ ./configure.ac 2017-01-24 20:17:41.484033433 +0100
21bd2cf4
FF
4@@ -7,7 +7,14 @@
5 # Process this file with autoconf to produce a configure script.
4704ce64 6
21bd2cf4
FF
7 AC_PREREQ([2.59])
8-AC_INIT([universal-ctags],[0.0.0])
9+# Avoid identifying as
10+# Universal Ctags 0.0.0, Copyright (C) 2015 Universal Ctags Team
11+# Universal Ctags is derived from Exuberant Ctags.
12+# Exuberant Ctags 5.8, Copyright (C) 1996-2009 Darren Hiebert
13+# since that causes at least vim-easytags to identify the ctags
14+# version as 0.0.0, see
15+# https://github.com/xolox/vim-easytags/blob/master/autoload/xolox/easytags.vim
16+AC_INIT([universal-ctags],[5.8])
17 AM_INIT_AUTOMAKE([foreign subdir-objects])
18 AM_SILENT_RULES([yes])
19 AC_CONFIG_HEADERS([config.h])
49bbfde9
FF
20@@ -587,13 +594,7 @@
21
22 AH_TEMPLATE([HAVE_LIBXML],
23 [Define this value if libxml is available.])
24-dnl About the condition of version
25-dnl see https://mail.gnome.org/archives/xml/2010-February/msg00008.html
26-PKG_CHECK_MODULES(LIBXML, [libxml-2.0 >= 2.7.7],
27- [have_libxml=yes
28- AC_DEFINE(HAVE_LIBXML)],
29- [have_libxml=no])
4704ce64 30-AM_CONDITIONAL(HAVE_LIBXML, test "x$have_libxml" = xyes)
49bbfde9 31+AM_CONDITIONAL(HAVE_LIBXML, [test true = false])
4704ce64 32
21bd2cf4
FF
33 AH_TEMPLATE([HAVE_JANSSON],
34 [Define this value if jansson is available.])