packages/: Add ADNS and some of my packages.
[termux-packages] / packages / ctags / configure.ac.patch
1 diff -u -r ../ctags-8a60622839c98ef6fac1c57a5563812393c56c1d/configure.ac ./configure.ac
2 --- ../ctags-8a60622839c98ef6fac1c57a5563812393c56c1d/configure.ac 2017-09-01 11:04:30.000000000 +0200
3 +++ ./configure.ac 2017-09-01 23:38:48.761978655 +0200
4 @@ -7,7 +7,14 @@
5 # Process this file with autoconf to produce a configure script.
6
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 tar-ustar])
18 AM_SILENT_RULES([yes])
19 AC_CONFIG_HEADERS([config.h])
20 @@ -574,16 +581,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 -AS_IF([test "x$enable_xml" != "xno"], [
27 - PKG_CHECK_MODULES(LIBXML, [libxml-2.0 >= 2.7.7],
28 - [have_libxml=yes
29 - AC_DEFINE(HAVE_LIBXML)],
30 - [AS_IF([test "x$enable_xml" = "xyes"], [
31 - AC_MSG_ERROR([libxml2 not found])])])
32 -])
33 -AM_CONDITIONAL(HAVE_LIBXML, test "x$have_libxml" = xyes)
34 +AM_CONDITIONAL(HAVE_LIBXML, [test true = false])
35
36 AC_ARG_ENABLE([json],
37 [AS_HELP_STRING([--disable-json],