Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ fi
AX_C99_FLEXIBLE_ARRAY

AX_FUNC_ALIGNED_ALLOC
AC_CHECK_FUNCS([feenableexcept])
AC_CHECK_FUNCS([memalign])
AC_CHECK_FUNCS([posix_memalign])
AC_CHECK_FUNCS([memmove])
Expand Down Expand Up @@ -209,7 +210,6 @@ AC_CHECK_HEADERS([sys/select.h])
AC_CHECK_HEADERS([sys/ioctl.h])
AC_CHECK_HEADERS([sys/fcntl.h])
AC_CHECK_HEADERS([sndfile.h])
AC_CHECK_HEADERS([fenv.h])
AC_CHECK_HEADERS([fftw3.h], , [AC_CHECK_HEADERS([fftw.h])])
AC_CHECK_HEADERS([pcap.h])
AC_CHECK_HEADERS([pthread.h])
Expand Down
6 changes: 3 additions & 3 deletions tests/v17_tests.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ display of modem status is maintained.
#include <string.h>
#include <sndfile.h>
#include <signal.h>
#if defined(HAVE_FENV_H)
#if defined(HAVE_FEENABLEEXCEPT)
#define __USE_GNU
#include <fenv.h>
#endif
Expand Down Expand Up @@ -263,7 +263,7 @@ static void qam_report(void *user_data, const complexf_t *constel, const complex
}
/*- End of function --------------------------------------------------------*/

#if defined(HAVE_FENV_H)
#if defined(HAVE_FEENABLEEXCEPT)
static void sigfpe_handler(int sig_num, siginfo_t *info, void *data)
{
switch (sig_num)
Expand Down Expand Up @@ -425,7 +425,7 @@ int main(int argc, char *argv[])
inhandle = NULL;
outhandle = NULL;

#if defined(HAVE_FENV_H)
#if defined(HAVE_FEENABLEEXCEPT)
fpe_trap_setup();
#endif

Expand Down
6 changes: 3 additions & 3 deletions tests/v27ter_tests.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ display of modem status is maintained.
#include <string.h>
#include <sndfile.h>
#include <signal.h>
#if defined(HAVE_FENV_H)
#if defined(HAVE_FEENABLEEXCEPT)
#define __USE_GNU
#include <fenv.h>
#endif
Expand Down Expand Up @@ -286,7 +286,7 @@ static void qam_report(void *user_data, const complexf_t *constel, const complex
}
/*- End of function --------------------------------------------------------*/

#if defined(HAVE_FENV_H)
#if defined(HAVE_FEENABLEEXCEPT)
static void sigfpe_handler(int sig_num, siginfo_t *info, void *data)
{
switch (sig_num)
Expand Down Expand Up @@ -440,7 +440,7 @@ int main(int argc, char *argv[])
inhandle = NULL;
outhandle = NULL;

#if defined(HAVE_FENV_H)
#if defined(HAVE_FEENABLEEXCEPT)
fpe_trap_setup();
#endif

Expand Down
6 changes: 3 additions & 3 deletions tests/v29_tests.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ display of modem status is maintained.
#include <string.h>
#include <sndfile.h>
#include <signal.h>
#if defined(HAVE_FENV_H)
#if defined(HAVE_FEENABLEEXCEPT)
#define __USE_GNU
#include <fenv.h>
#endif
Expand Down Expand Up @@ -257,7 +257,7 @@ static void qam_report(void *user_data, const complexf_t *constel, const complex
}
/*- End of function --------------------------------------------------------*/

#if defined(HAVE_FENV_H)
#if defined(HAVE_FEENABLEEXCEPT)
static void sigfpe_handler(int sig_num, siginfo_t *info, void *data)
{
switch (sig_num)
Expand Down Expand Up @@ -410,7 +410,7 @@ int main(int argc, char *argv[])
inhandle = NULL;
outhandle = NULL;

#if defined(HAVE_FENV_H)
#if defined(HAVE_FEENABLEEXCEPT)
fpe_trap_setup();
#endif

Expand Down