summaryrefslogtreecommitdiffstats
path: root/recipes-support/openldap/openldap-2.4.39/no-AM_INIT_AUTOMAKE.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-support/openldap/openldap-2.4.39/no-AM_INIT_AUTOMAKE.patch')
-rw-r--r--recipes-support/openldap/openldap-2.4.39/no-AM_INIT_AUTOMAKE.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/recipes-support/openldap/openldap-2.4.39/no-AM_INIT_AUTOMAKE.patch b/recipes-support/openldap/openldap-2.4.39/no-AM_INIT_AUTOMAKE.patch
new file mode 100644
index 0000000..8e7812d
--- /dev/null
+++ b/recipes-support/openldap/openldap-2.4.39/no-AM_INIT_AUTOMAKE.patch
@@ -0,0 +1,25 @@
1Description: don't use AM_INIT_AUTOMAKE macro when we aren't using automake
2 Calling AM_INIT_AUTOMAKE() in configure.in serves no purpose if we're not
3 using automake, and it confuses autoreconf. Use AC_INIT() instead.
4Author: Steve Langasek <vorlon@debian.org>
5
6--- a/configure.in
7+++ b/configure.in
8@@ -26,7 +26,8 @@ dnl Configure.in for OpenLDAP
9 AC_COPYRIGHT([[Copyright 1998-2014 The OpenLDAP Foundation. All rights reserved.
10 Restrictions apply, see COPYRIGHT and LICENSE files.]])
11 AC_REVISION([$Id: 81bd528fb5194c83d688db355737b7715448b958 $])
12-AC_INIT([OpenLDAP],,[http://www.openldap.org/its/])
13+AC_INIT([OpenLDAP],[$OL_VERSION],[http://www.openldap.org/its/])
14+AC_PROG_MAKE_SET
15 m4_define([AC_PACKAGE_BUGREPORT],[<http://www.openldap.org/its/>])
16 AC_CONFIG_SRCDIR(build/version.sh)dnl
17 dnl ----------------------------------------------------------------
18@@ -69,7 +70,6 @@ dnl Determine host platform
19 dnl we try not to use this for much
20 AC_CANONICAL_TARGET([])
21
22-AM_INIT_AUTOMAKE([$OL_PACKAGE],[$OL_VERSION], [no defines])dnl
23 AC_SUBST(PACKAGE)dnl
24 AC_SUBST(VERSION)dnl
25 AC_DEFINE_UNQUOTED(OPENLDAP_PACKAGE,"$PACKAGE",Package)