From: Jo-Philipp Wich Date: Mon, 13 Dec 2010 01:47:35 +0000 (+0000) Subject: ead: fixup some AC_DEFINE() invocations that will make recent automak bail X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3a0b71296dcdaae7cb4f49d1d78d258da8d1821b;p=openwrt%2Fstaging%2Frmilecki.git ead: fixup some AC_DEFINE() invocations that will make recent automak bail SVN-Revision: 24535 --- diff --git a/package/ead/src/tinysrp/acinclude.m4 b/package/ead/src/tinysrp/acinclude.m4 index 696fffc4302..e0d0d04df53 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 7fb09ae69ae..703fce4b775 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