summaryrefslogtreecommitdiff
path: root/debian/patches/0005-m4.patch
blob: 827571870aa3340f2a23244b8e580a7cb161219a (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
Description: add missing m4 tags
Author: Jörg Frings-Fürst <debian@jff-webhosting.net>
Last-Update: 2016-10-03
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
Index: trunk/configure.in
===================================================================
--- trunk.orig/configure.in
+++ trunk/configure.in
@@ -1,6 +1,7 @@
 dnl Process this file with autoconf to produce a configure script. -*-sh-*-
 AC_INIT(include/config.h.in)
 AC_CONFIG_HEADER(include/config.h)
+AC_CONFIG_MACRO_DIRS([m4])
 # AC_PREREQ(2.10)dnl		dnl Minimum Autoconf version required.
 # AC_ARG_PROGRAM
 
@@ -21,12 +22,15 @@ XSANE_PACKAGE_VERSION="$PACKAGE-$VERSION
 AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Define to the name of the distribution])
 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Define to the version of the distribution])
 AC_DEFINE_UNQUOTED(XSANE_PACKAGE_VERSION, "$XSANE_PACKAGE_VERSION", [Define to name and version of distribution])
+AC_DEFINE([ENABLE_NLS], [], [Description])
+AC_DEFINE([HAVE_CATGETS], [], [Description])
+AC_DEFINE([HAVE_GETTEXT], [], [Description])
+AC_DEFINE([HAVE_LC_MESSAGES], [], [Description])
 AC_SUBST(PACKAGE)
 AC_SUBST(VERSION)
 AC_SUBST(XSANE_PACKAGE_VERSION)
 AC_SUBST(SANE_MAJOR)
 
-
 dnl Check args
 
 echo ""