Debian Codegraph @

debian/patches/002-fix-configure-for-autoreconf

raw
1 Description: Fix configure.in for autoreconf
2 autoreconf complains about AC_DEFINE with only one argument, fix those.
3 Author: Carsten Leonhardt <[email protected]>
4 Last-Update: 2019-02-28
5 --- a/configure.in
6 +++ b/configure.in
7 @@ -10,10 +10,10 @@
8 AC_PREFIX_DEFAULT(/usr/local)
9
10 case "$host_os" in
11 - *linux*) AC_DEFINE(LINUX)
12 + *linux*) AC_DEFINE([LINUX], [1], [Linux])
13 TARGET=linux
14 ;;
15 - *solaris*) AC_DEFINE(SOLARIS)
16 + *solaris*) AC_DEFINE([SOLARIS], [1], [Solaris])
17 TARGET=solarissparc
18 ;;
19 *sunos*) TARGET=solarissparc
20 @@ -28,7 +28,7 @@
21 ;;
22 *HP*) TARGET=hpux
23 ;;
24 - *sequent*) AC_DEFINE(SEQUENT)
25 + *sequent*) AC_DEFINE([SEQUENT], [1], [Sequent])
26 ;;
27 *MINGW*) TARGET=mingw
28 ;;