summarylogtreecommitdiffstats
path: root/ucl-1.03-autoconf-compat.patch
blob: 305ff07ed973bfdf6d14f0a054189a086ee74291 (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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
--- ucl-1.03/Makefile.am.orig	2004-07-20 01:01:47.000000000 +0200
+++ ucl-1.03/Makefile.am	2013-03-13 21:25:41.453183500 +0100
@@ -3,7 +3,8 @@
 # Copyright (C) 1996-2004 Markus F.X.J. Oberhumer
 #
 
-AUTOMAKE_OPTIONS = 1.8.5 foreign
+AUTOMAKE_OPTIONS = 1.14
+ACLOCAL_AMFLAGS = -I m4
 
 SUBDIRS = include src examples
 
--- ucl-1.03/configure.ac.orig	2004-07-20 01:01:47.000000000 +0200
+++ ucl-1.03/configure.ac	2013-03-13 21:25:41.453183500 +0100
@@ -36,9 +36,10 @@ All Rights Reserved.
 This configure script may be copied, distributed and modified under the
 terms of the GNU General Public License; see COPYING for more details.])
 
-AC_PREREQ(2.59)
+AC_PREREQ(2.69)
 AC_INIT(ucl,1.03,markus@oberhumer.com)
 AC_MSG_NOTICE([Configuring UCL $PACKAGE_VERSION])
+AC_CONFIG_MACRO_DIR([m4])
 AC_CONFIG_SRCDIR(src/ucl_init.c)
 AC_CONFIG_AUX_DIR(acconfig)
 AC_PREFIX_DEFAULT(/usr/local)
@@ -48,7 +49,7 @@ AC_CANONICAL_TARGET
 AM_MAINTAINER_MODE
 
 if test -z "$ac_abs_top_srcdir"; then
-    _AC_SRCPATHS(.)
+    _AC_SRCDIRS(.)
 fi
 if test -r .Conf.settings1; then
     . ./.Conf.settings1
--- ucl-1.03/examples/Makefile.am.orig	2004-07-20 01:01:47.000000000 +0200
+++ ucl-1.03/examples/Makefile.am	2013-03-13 21:25:41.453183500 +0100
@@ -3,7 +3,7 @@
 # Copyright (C) 1996-2004 Markus F.X.J. Oberhumer
 #
 
-INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)
+AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)
 
 noinst_PROGRAMS = simple uclpack
 
--- ucl-1.03/src/Makefile.am.orig	2004-07-20 01:01:47.000000000 +0200
+++ ucl-1.03/src/Makefile.am	2013-03-13 21:25:41.453183500 +0100
@@ -6,9 +6,9 @@
 VPATH = @srcdir@@UCL_ASM_VPATH@
 SUFFIXES = .S
 
-INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)
-CPPFLAGS = $(UCL_CPPFLAGS) $(configure_CPPFLAGS) $(UCL_EXTRA_CPPFLAGS)
-CFLAGS = $(UCL_CFLAGS) $(configure_CFLAGS) $(UCL_EXTRA_CFLAGS)
+AM_CPPFLAGS  = -I$(top_srcdir)/include -I$(top_srcdir)
+AM_CPPFLAGS += $(UCL_CPPFLAGS) $(configure_CPPFLAGS) $(UCL_EXTRA_CPPFLAGS)
+AM_CFLAGS = $(UCL_CFLAGS) $(configure_CFLAGS) $(UCL_EXTRA_CFLAGS)
 
 lib_LTLIBRARIES = libucl.la