summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-03-29 03:47:34 -0400
committerDan McGee <dan@archlinux.org>2007-03-30 15:55:58 -0400
commitc3ad8bd75fbec09d60e2c681781034a1178999cc (patch)
tree45d41b625c9ddaac119080edc1ddb319b90065ee /lib
parente9ee9045ff4e9dd2355cb0fea781d7e166f9b345 (diff)
downloadpacman-c3ad8bd75fbec09d60e2c681781034a1178999cc.tar.xz
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 <dan@archlinux.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/libalpm/alpm.h10
1 files changed, 0 insertions, 10 deletions
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
*/