From c3ad8bd75fbec09d60e2c681781034a1178999cc Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Thu, 29 Mar 2007 03:47:34 -0400 Subject: Make all paths and file locations configurable Several important paths, file locations, and extensions were #define-d in the source code instead of being configurable. This moves all of these to the configure script where they can be picked upon running ./configure. We may later want to make some of these even more visible and move them to pacman.conf. Signed-off-by: Dan McGee --- lib/libalpm/alpm.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'lib/libalpm/alpm.h') diff --git a/lib/libalpm/alpm.h b/lib/libalpm/alpm.h index 954cf96f..1d7c0004 100644 --- a/lib/libalpm/alpm.h +++ b/lib/libalpm/alpm.h @@ -34,16 +34,6 @@ extern "C" { * Arch Linux Package Management library */ -/* TODO these should all be defined in config.h */ -#define PM_ROOT "/" -#define PM_DBPATH "var/lib/pacman/" -#define PM_CACHEDIR "var/cache/pacman/pkg/" -#define PM_LOCK "tmp/pacman.lck" - - -#define PM_EXT_PKG ".pkg.tar.gz" -#define PM_EXT_DB ".db.tar.gz" - /* * Structures */ -- cgit v1.2.3