1Add a description to the AC_DEFINE statements so that it appears in config.h and silences a fatal warning.
2
3Upstream-Status: Pending
4Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com>
5---
6 configure.in | 6 +++---
7 1 file changed, 3 insertions(+), 3 deletions(-)
8
9diff --git a/configure.in b/configure.in
10index abfe4cd..ce0d380 100644
11--- a/configure.in
12+++ b/configure.in
13@@ -168,7 +168,7 @@ if test $has_iconv = 1; then
14 		iconv_oldstyle=1, iconv_oldstyle=0)
15   if test $iconv_oldstyle = 1; then
16     AC_MSG_RESULT(const char **)
17-    AC_DEFINE(ID3LIB_ICONV_OLDSTYLE)
18+    AC_DEFINE(ID3LIB_ICONV_OLDSTYLE,[1],[Old iconv prototype definition in iconv.h])
19     #we'll check out the need of
20     #typecast in the call of iconv_open
21     AC_MSG_CHECKING(whether to typecast in iconv)
22@@ -184,7 +184,7 @@ if test $has_iconv = 1; then
23                    iconv_cast=0, iconv_cast=1)
24     if test $iconv_cast = 1; then
25       AC_MSG_RESULT(yes)
26-      AC_DEFINE(ID3LIB_ICONV_CAST_OK)
27+      AC_DEFINE(ID3LIB_ICONV_CAST_OK,[1],[Accepting const char ** in iconv prototype])
28     else
29       AC_MSG_RESULT(no)
30     fi
31@@ -206,7 +206,7 @@ if test $has_iconv = 1; then
32                    iconv_cast=0, iconv_cast=1)
33     if test $iconv_cast = 1; then
34       AC_MSG_RESULT(yes)
35-      AC_DEFINE(ID3LIB_ICONV_CAST_OK)
36+      AC_DEFINE(ID3LIB_ICONV_CAST_OK,[1],[Accepting const char ** in iconv prototype])
37     else
38       AC_MSG_RESULT(no)
39     fi
40--
412.0.0
42
43