summaryrefslogtreecommitdiff
path: root/debian/patches/001-changes_build_sys.diff
blob: 5750433cddbf6046c6efdb3b2dadaad2ec82d90f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
Description: some buildsystem changes
Author: Jörg Frings-Fürst <debian@jff-webhosting.net>
Reviewed-by: 
Last-Update: 2014-05-07
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
Index: trunk/configure.in
===================================================================
--- trunk.orig/configure.in
+++ trunk/configure.in
@@ -1,9 +1,11 @@
 dnl Process this file with autoconf to produce a configure script.
 AC_INIT(onig, 5.9.6)
 
+
+AUTOMAKE_OPTIONS=subdir-objects
 AC_CONFIG_MACRO_DIR([m4])
 
-AM_INIT_AUTOMAKE
+AM_INIT_AUTOMAKE([foreign])
 AC_CONFIG_HEADER(config.h)
 
 
@@ -41,7 +43,7 @@ fi
 dnl Checks for programs.
 AC_PROG_CC
 AM_PROG_LIBTOOL
-LTVERSION="2:0:0"
+LTVERSION="2:1:0"
 AC_SUBST(LTVERSION)
 
 AC_PROG_INSTALL
Index: trunk/Makefile.am
===================================================================
--- trunk.orig/Makefile.am
+++ trunk/Makefile.am
@@ -3,6 +3,7 @@ encdir    = $(top_srcdir)/enc
 sampledir = $(top_srcdir)/sample
 libname = libonig.la
 
+AUTOMAKE_OPTIONS=subdir-objects
 ACLOCAL_AMFLAGS = -I m4
 #AM_CFLAGS = -DNOT_RUBY
 AM_CFLAGS =