summaryrefslogtreecommitdiff
path: root/debian/patches/0010-AC_INIT.patch
blob: d967829e0167d718be81c13cb9f48b39adff3855 (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
Description: Fix AC_INIT handling
Author: Jörg Frings-Fürst <debian@jff.email>
Bug: <bug-libunistring@gnu.org>
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=992281
Forwarded: yes 
Last-Update: 2021-08-16
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
Index: trunk/configure.ac
===================================================================
--- trunk.orig/configure.ac
+++ trunk/configure.ac
@@ -16,12 +16,14 @@ dnl along with this program.  If not, se
 
 dnl Process this file with autoconf to produce a configure script.
 
+
+
 AC_PREREQ([2.63])
-AC_INIT
+. $srcdir/version.sh
+AC_INIT([libunistring],[m4_esyscmd_s([$VERSION_NUMBER])])
 AC_CONFIG_SRCDIR([lib/unistring/version.in.h])
 AC_CONFIG_AUX_DIR([build-aux])
-. $srcdir/version.sh
-gl_INIT_PACKAGE([libunistring], [$VERSION_NUMBER])
+dnl AM_INIT_AUTOMAKE
 AM_INIT_AUTOMAKE([silent-rules dist-xz])
 AM_CONFIG_HEADER([config.h])