Package: isdnutils / 1:3.25+dfsg1-3.5

capiinfo-autotools.patch Patch series | download
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
Author: Peter Marschall <peter@adpm.de>
Description: make sure autoreconf works
Applied-Upstream: commit:e23cdd55623a7c4f91a
Forwarded: Yes
Last-Update: 2012-07-30

diff --git a/capiinfo/acconfig.h b/capiinfo/acconfig.h
deleted file mode 100644
--- a/capiinfo/acconfig.h
+++ /dev/null
@@ -1,5 +0,0 @@
-
-#undef VERSION
-#undef PACKAGE
-#undef CONFIG_SBINDIR
-#undef CONFIG_MANDIR
diff --git a/capiinfo/configure.in b/capiinfo/configure.in
--- a/capiinfo/configure.in
+++ b/capiinfo/configure.in
@@ -27,14 +27,14 @@ dnl Optional sbin directory
 AC_ARG_WITH(sbin,
 	[  --with-sbin=DIR         Set dir where binary is istalled. [/sbin]],
 	CONFIG_SBINDIR="${withval}"
-	AC_DEFINE(CONFIG_SBINDIR,"${withval}"),
+	AC_DEFINE(CONFIG_SBINDIR,"${withval}", [capiinfo sbin directory]),
 )
 
 dnl Optional man directory
 AC_ARG_WITH(man,
 	[  --with-man=DIR          Set manpage dir. [/usr/man]],
 	CONFIG_MANDIR="${withval}"
-	AC_DEFINE(CONFIG_MANDIR,"${withval}"),
+	AC_DEFINE(CONFIG_MANDIR,"${withval}", [capiinfo manual directory]),
 )
 
 AC_SUBST(INSTALL)