summaryrefslogtreecommitdiffstats
path: root/package/ead/src
diff options
context:
space:
mode:
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-12-13 01:47:35 +0000
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-12-13 01:47:35 +0000
commit521263606a666383cb420ba219420d51944a5d45 (patch)
tree5388f0e5209f57afdfe358a8b26836af7c569c46 /package/ead/src
parentf42a033097dec43b53fc08b40c1fcc1c2515b064 (diff)
[package] ead: fixup some AC_DEFINE() invocations that will make recent automak bail
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24535 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/ead/src')
-rw-r--r--package/ead/src/tinysrp/acinclude.m47
-rw-r--r--package/ead/src/tinysrp/aclocal.m47
2 files changed, 8 insertions, 6 deletions
diff --git a/package/ead/src/tinysrp/acinclude.m4 b/package/ead/src/tinysrp/acinclude.m4
index 696fffc43..e0d0d04df 100644
--- a/package/ead/src/tinysrp/acinclude.m4
+++ b/package/ead/src/tinysrp/acinclude.m4
@@ -16,11 +16,12 @@ extern void (*signal ()) ();], [],
cv_has_posix_signals=yes, cv_has_posix_signals=no)])
AC_MSG_RESULT($cv_has_posix_signals)
if test $cv_has_posix_signals = yes; then
- AC_DEFINE(RETSIGTYPE, void) AC_DEFINE(POSIX_SIGTYPE)
+ AC_DEFINE(RETSIGTYPE, void, [Return type is void])
+ AC_DEFINE(POSIX_SIGTYPE, [], [Have POSIX signals])
else
if test $ac_cv_type_signal = void; then
- AC_DEFINE(RETSIGTYPE, void)
+ AC_DEFINE(RETSIGTYPE, void, [Return type is void])
else
- AC_DEFINE(RETSIGTYPE, int)
+ AC_DEFINE(RETSIGTYPE, int, [Return type is int])
fi
fi])dnl
diff --git a/package/ead/src/tinysrp/aclocal.m4 b/package/ead/src/tinysrp/aclocal.m4
index 7fb09ae69..703fce4b7 100644
--- a/package/ead/src/tinysrp/aclocal.m4
+++ b/package/ead/src/tinysrp/aclocal.m4
@@ -28,12 +28,13 @@ extern void (*signal ()) ();], [],
cv_has_posix_signals=yes, cv_has_posix_signals=no)])
AC_MSG_RESULT($cv_has_posix_signals)
if test $cv_has_posix_signals = yes; then
- AC_DEFINE(RETSIGTYPE, void) AC_DEFINE(POSIX_SIGTYPE)
+ AC_DEFINE(RETSIGTYPE, void, [Return type is void])
+ AC_DEFINE(POSIX_SIGTYPE, [], [Have POSIX signals])
else
if test $ac_cv_type_signal = void; then
- AC_DEFINE(RETSIGTYPE, void)
+ AC_DEFINE(RETSIGTYPE, void, [Return type is void])
else
- AC_DEFINE(RETSIGTYPE, int)
+ AC_DEFINE(RETSIGTYPE, int, [Return type is int])
fi
fi])dnl