[libmultipath] remove math lib dependency
authorChristophe Varoqui <root@xa-s05.(none)>
Tue, 29 Nov 2005 10:08:39 +0000 (11:08 +0100)
committerChristophe Varoqui <root@xa-s05.(none)>
Tue, 29 Nov 2005 10:08:39 +0000 (11:08 +0100)
The new printing framework does not need the math lib anymore.
So remove it from the includes and Makefiles.

libmultipath/print.c
multipath/Makefile
multipathd/Makefile

index 13b402a..d221911 100644 (file)
@@ -3,7 +3,6 @@
  */
 #include <stdio.h>
 #include <string.h>
-#include <math.h>
 #include <libdevmapper.h>
 
 #include "vector.h"
@@ -13,7 +12,6 @@
 #include "dmparser.h"
 #include "configure.h"
 #include "defaults.h"
-#include "debug.h"
 
 #include "../libcheckers/path_state.h"
 
index b0310a3..deb4faf 100644 (file)
@@ -13,7 +13,7 @@ CFLAGS = -pipe -g -Wall -Wunused -Wstrict-prototypes \
 ifeq ($(strip $(BUILD)),klibc)
        OBJS += $(libdm) $(libsysfs)
 else
-       LDFLAGS += -ldevmapper -lsysfs -lm
+       LDFLAGS += -ldevmapper -lsysfs
 endif
 
 EXEC = multipath
index 98d2d91..345c308 100644 (file)
@@ -15,7 +15,7 @@ rcdir = /etc/init.d
 #
 CFLAGS = -pipe -g -Wall -Wunused -Wstrict-prototypes \
         -DDAEMON -I$(multipathdir) -I$(checkersdir)
-LDFLAGS = -lpthread -ldevmapper -lsysfs -lreadline -lncurses -lm
+LDFLAGS = -lpthread -ldevmapper -lsysfs -lreadline -lncurses
 
 #
 # debuging stuff