LDLIBS removed from dependency lists (some makes don't support this).
authorian <ian>
Wed, 12 May 1999 22:00:04 +0000 (22:00 +0000)
committerian <ian>
Wed, 12 May 1999 22:00:04 +0000 (22:00 +0000)
An `ambiguous else' warning from some compilers in types.c is removed.

changelog
regress/Makefile.in
src/types.c

index 31429b0..bb54f97 100644 (file)
--- a/changelog
+++ b/changelog
@@ -8,9 +8,9 @@ adns (0.2) experimental; urgency=low
   * Include <sys/times.h> in a few more files.
   * Include <unistd.h> and <sys/time.h> for select.
   * Look for inet_aton and inet_ntoa (in -lnsl and -lsocket).
-
-  Portability fixes to regression test:
-  * Regression test doesn't rely on value of O_NONBLOCK and other flags.
+  * Regression test doesn't rely on value of fcntl flags eg O_NONBLOCK.
+  * LDLIBS removed from dependency lists (some makes don't support this).
+  * An `ambiguous else' warning from some compilers in types.c is removed.
 
   Other changes:
   * Added COPYING (copy of the GPL).
index 9a249c2..2055f08 100644 (file)
@@ -32,7 +32,7 @@ HCPPFLAGS:= $(foreach F,                      \
        sendto recvfrom read write writev       \
 , -D$F=H$F)
 
-HARNLOBJS=     $(addsuffix _d.o, $(basename $(LIBOBJS))) $(LDLIBS)
+HARNLOBJS=     $(addsuffix _d.o, $(basename $(LIBOBJS)))
 ALLOBJS=       $(HARNLOBJS) dtest.o hrecord.o hplayback.o hcommon.o
 
 .PRECIOUS:     $(AUTOCSRCS)
index c1d613a..2e1291a 100644 (file)
@@ -31,7 +31,7 @@
 #include "internal.h"
 
 #define R_NOMEM           return adns_s_nomemory
-#define CSP_ADDSTR(s)     if (!adns__vbuf_appendstr(vb,(s))) R_NOMEM; else;
+#define CSP_ADDSTR(s)     do { if (!adns__vbuf_appendstr(vb,(s))) R_NOMEM; } while (0)
 
 /*
  * order of sections: