From 20f73d6299c08fa79c2c8edd3d1955e208e701cb Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Thu, 12 Jul 2007 15:20:43 -0400 Subject: Remove versioncmp.{c,h}, clean up selective #ifdefs Remove versioncmp.c by moving all functions to locations that make sense. Move replacement functions (for building without glibc) into util.c where they belong, and do proper checks for them instead of using __sun__, etc. Signed-off-by: Dan McGee --- lib/libalpm/Makefile.am | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/libalpm/Makefile.am') diff --git a/lib/libalpm/Makefile.am b/lib/libalpm/Makefile.am index 20e7203d..c5276f95 100644 --- a/lib/libalpm/Makefile.am +++ b/lib/libalpm/Makefile.am @@ -32,8 +32,7 @@ libalpm_la_SOURCES = \ sha1.h sha1.c \ sync.h sync.c \ trans.h trans.c \ - util.h util.c \ - versioncmp.h versioncmp.c + util.h util.c libalpm_la_LDFLAGS = -no-undefined -version-info $(LIB_VERSION_INFO) libalpm_la_LIBADD = -larchive -ldownload -- cgit v1.2.3-24-g4f1b