mac80211: fix RTS threshold not being set for mac80211 devices
[openwrt.git] / package / ead / src / tinysrp / acinclude.m4
1 dnl
2 dnl check for signal type
3 dnl
4 dnl AC_RETSIGTYPE isn't quite right, but almost.
5 dnl
6 define(TYPE_SIGNAL,[
7 AC_MSG_CHECKING([POSIX signal handlers])
8 AC_CACHE_VAL(cv_has_posix_signals,
9 [AC_TRY_COMPILE(
10 [#include <sys/types.h>
11 #include <signal.h>
12 #ifdef signal
13 #undef signal
14 #endif
15 extern void (*signal ()) ();], [],
16 cv_has_posix_signals=yes, cv_has_posix_signals=no)])
17 AC_MSG_RESULT($cv_has_posix_signals)
18 if test $cv_has_posix_signals = yes; then
19 AC_DEFINE(RETSIGTYPE, void) AC_DEFINE(POSIX_SIGTYPE)
20 else
21 if test $ac_cv_type_signal = void; then
22 AC_DEFINE(RETSIGTYPE, void)
23 else
24 AC_DEFINE(RETSIGTYPE, int)
25 fi
26 fi])dnl
This page took 0.043423 seconds and 5 git commands to generate.