summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAndrew Fyfe <andrew@neptune-one.net>2007-05-31 17:13:25 +0100
committerAndrew Fyfe <andrew@neptune-one.net>2007-05-31 17:24:24 +0100
commit139d3c5e99fa6cb28fba7883123891a73fbb2421 (patch)
tree04e97da83022d19c47a10083d1d1af25f2156837 /configure.ac
parent7bd2ff685188d0d9b6ab6c6f43f6d28811936881 (diff)
downloadpacman-139d3c5e99fa6cb28fba7883123891a73fbb2421.tar.xz
Autotool fixes/cleanup.
* configure.ac: Add AC_SUBST() for ROOTDIR, PKGEXT, DBEXT so they get exported to Makefiles. * {makepkg,pacman}.conf.in: Remove extra / from paths. Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 834d6191..a03a242a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -189,11 +189,14 @@ else
fi
# Set root directory
+AC_SUBST(ROOTDIR)
AC_DEFINE_UNQUOTED([ROOTDIR], "$ROOTDIR", [Location of pacman's default root di
rectory])
# Set package file extension
+AC_SUBST(PKGEXT)
AC_DEFINE_UNQUOTED([PKGEXT], "$PKGEXT", [The file extension used by pacman packages])
# Set database file extension
+AC_SUBST(DBEXT)
AC_DEFINE_UNQUOTED([DBEXT], "$DBEXT", [The file extension used by pacman databases])
# Configuration files