drop fmax checks as the code is no longer used

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1797 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
master
Mike Frysinger 15 years ago
parent 0df5990524
commit 5e1695c5ba

@ -1,3 +1,8 @@
2010-06-23 Mike Frysinger <vapier@gentoo.org>
* configure.ac (fmax): Drop fmax check as it is no longer used.
* src/tap/cable/generic.c (fmax): Drop now unused fmax fallback.
2010-06-22 Mike Frysinger <vapier@gentoo.org>
* src/tap/usbconn/libftdi.c (usbconn_ftdi_flush): Fix gcc printf warning.

@ -717,12 +717,6 @@ AS_IF([test "x$relocatable" = xyes], [
])
dnl Is fmax() provided by libm?
AC_CHECK_LIB([m], [fmax], [
AC_DEFINE(HAVE_FMAX, 1, [Define if -lm provides fmax()])
])
dnl Enable use of DMALLOC library?
AC_ARG_ENABLE(dmalloc,
[AS_HELP_STRING([--enable-dmalloc], [Enable heap debugging with dmalloc library])],

@ -39,13 +39,6 @@
#include <urjtag/cmd.h>
#ifndef HAVE_FMAX
/* workaround for libm implementations that don't provide the fmax() function */
#define fmax(_f1_,_f2_) ( (_f1_) > (_f2_) ? (_f1_) : (_f2_) )
#endif
static void
print_vector (urj_log_level_t ll, int len, char *vec)
{

Loading…
Cancel
Save