mirror of https://github.com/hak5/openwrt.git
ead: fixup some AC_DEFINE() invocations that will make recent automak bail
SVN-Revision: 24535lede-17.01
parent
c48a705702
commit
3a0b71296d
|
@ -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
|
||||
|
|
|
@ -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