summaryrefslogtreecommitdiff
blob: 700408057ba9db5b49917c6efb1d577610ab7a8b (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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
Author: Ole Streicher <debian@liska.ath.cx>
Description: Fix the AC_DEFINE lines so that autoheader (and therefore 
 dh_autoreconf) works
--- a/configure.ac
+++ b/configure.ac
@@ -193,7 +193,7 @@ AC_MSG_RESULT($fun_ok)
 
 SC_PATH_TCLCONFIG
 if test x"${no_tcl}" = x ; then
-    AC_DEFINE(HAVE_TCL)
+    AC_DEFINE([HAVE_TCL], [1], [Define if tcl is used.])
 fi
 
 AC_PROG_AWK
@@ -218,7 +218,7 @@ POST="|\& cat"
 case $host_os in
     *cygwin*|*Cygwin* )
         CFLAGS="$CFLAGS -enable-auto-import"
-        AC_DEFINE(HAVE_CYGWIN)
+        AC_DEFINE([HAVE_CYGWIN], [], [Define if the cygwin compiler is used.])
         AC_MSG_RESULT(flagging Cygwin)
 	PRE="sh -c {"
 	POST="}"
@@ -226,7 +226,7 @@ case $host_os in
     *mingw32*|*Mingw32*)
         CFLAGS="$CFLAGS -mconsole"
 	EXTRA_LIBS="$EXTRA_LIBS -lwsock32"
-        AC_DEFINE(HAVE_MINGW32)
+        AC_DEFINE([HAVE_MINGW32], [], [Define if the mingw32 compiler is used.])
         AC_MSG_RESULT(flagging MinGW)
         ;;
     *osf*|*Osf*)
--- a/filter/configure.ac
+++ b/filter/configure.ac
@@ -150,7 +150,7 @@ PRE=""
 POST="|\& cat"
 case $host_os in
     *cygwin*|*Cygwin* )
-        AC_DEFINE(HAVE_CYGWIN)
+        AC_DEFINE([HAVE_CYGWIN], [], [Define if the cygwin compiler is used.])
         AC_MSG_RESULT(flagging Cygwin)
 	PRE="sh -c {"
 	POST="}"
@@ -158,7 +158,7 @@ case $host_os in
     *mingw32*|*Mingw32*)
         CFLAGS="$CFLAGS -mconsole"
 	EXTRA_LIBS="$EXTRA_LIBS -lwsock32"
-        AC_DEFINE(HAVE_MINGW32)
+        AC_DEFINE([HAVE_MINGW32], [], [Define if the mingw32 compiler is used.])
         AC_MSG_RESULT(flagging MinGW)
         ;;
     *osf*|*Osf*)
--- a/fitsy/configure.ac
+++ b/fitsy/configure.ac
@@ -121,7 +121,7 @@ PRE=""
 POST="|\& cat"
 case $host_os in
     *cygwin*|*Cygwin* )
-        AC_DEFINE(HAVE_CYGWIN)
+        AC_DEFINE([HAVE_CYGWIN], [], [Define if the cygwin compiler is used.])
         AC_MSG_RESULT(flagging Cygwin)
 	PRE="sh -c {"
 	POST="}"
@@ -129,7 +129,7 @@ case $host_os in
     *mingw32*|*Mingw32*)
         CFLAGS="$CFLAGS -mconsole"
 	EXTRA_LIBS="$EXTRA_LIBS -lwsock32"
-        AC_DEFINE(HAVE_MINGW32)
+        AC_DEFINE([HAVE_MINGW32], [], [Define if the mingw32 compiler is used.])
         AC_MSG_RESULT(flagging MinGW)
         ;;
     *darwin*|*Darwin*)
--- a/util/configure.ac
+++ b/util/configure.ac
@@ -133,7 +133,7 @@ fi
 
 SC_PATH_TCLCONFIG
 if test x"${no_tcl}" = x ; then
-    AC_DEFINE(HAVE_TCL)
+    AC_DEFINE([HAVE_TCL], [1], [Define if tcl is used.])
 fi
 
 AC_MSG_CHECKING(for external zlib)
@@ -146,7 +146,7 @@ PRE=""
 POST="|\& cat"
 case $host_os in
     *cygwin*|*Cygwin* )
-        AC_DEFINE(HAVE_CYGWIN)
+        AC_DEFINE([HAVE_CYGWIN], [], [Define if the cygwin compiler is used.])
         AC_MSG_RESULT(flagging Cygwin)
 	PRE="sh -c {"
 	POST="}"
@@ -154,7 +154,7 @@ case $host_os in
     *mingw32*|*Mingw32*)
         CFLAGS="$CFLAGS -mconsole"
 	EXTRA_LIBS="$EXTRA_LIBS -lwsock32"
-        AC_DEFINE(HAVE_MINGW32)
+        AC_DEFINE([HAVE_MINGW32], [], [Define if the mingw32 compiler is used.])
         AC_MSG_RESULT(flagging MinGW)
         ;;
     *osf*|*Osf*)
--- a/wcs/configure.ac
+++ b/wcs/configure.ac
@@ -125,7 +125,7 @@ PRE=""
 POST="|\& cat"
 case $host_os in
     *cygwin*|*Cygwin* )
-        AC_DEFINE(HAVE_CYGWIN)
+        AC_DEFINE([HAVE_CYGWIN], [], [Define if the cygwin compiler is used.])
         AC_MSG_RESULT(flagging Cygwin)
 	PRE="sh -c {"
 	POST="}"
@@ -133,7 +133,7 @@ case $host_os in
     *mingw32*|*Mingw32*)
         CFLAGS="$CFLAGS -mconsole"
 	EXTRA_LIBS="$EXTRA_LIBS -lwsock32"
-        AC_DEFINE(HAVE_MINGW32)
+        AC_DEFINE([HAVE_MINGW32], [], [Define if the mingw32 compiler is used.])
         AC_MSG_RESULT(flagging MinGW)
         ;;
     *osf*|*Osf*)