mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 01:01:52 +02:00
[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
This commit is contained in:
parent
f42a033097
commit
521263606a
@ -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
|
||||
|
7
package/ead/src/tinysrp/aclocal.m4
vendored
7
package/ead/src/tinysrp/aclocal.m4
vendored
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user