aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2011-05-05 22:00:00 +0000
committerPascal Terjan <pterjan@mageia.org>2011-05-05 22:00:00 +0000
commit48a3293179f8edb948617c99599e59ce9d814824 (patch)
tree79d0a4b735f9d15a242f79622b27559eec0a654b /configure.ac
parent5c79e081998f8ca329fd5154662b073b56e97f9b (diff)
downloadrpm-setup-48a3293179f8edb948617c99599e59ce9d814824.tar
rpm-setup-48a3293179f8edb948617c99599e59ce9d814824.tar.gz
rpm-setup-48a3293179f8edb948617c99599e59ce9d814824.tar.bz2
rpm-setup-48a3293179f8edb948617c99599e59ce9d814824.tar.xz
rpm-setup-48a3293179f8edb948617c99599e59ce9d814824.zip
Allow setting distsuffix at build time
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 9f4c74b..0177f10 100644
--- a/configure.ac
+++ b/configure.ac
@@ -128,6 +128,13 @@ AC_SUBST(RPMVENDOR)
RPMCANONVENDOR=`echo "${RPMVENDOR}" | tr [A-Z] [a-z]`
AC_SUBST(RPMCANONVENDOR)
+DISTSUFFIX="mga"
+AC_ARG_WITH(distsuffix, [ --with-distsuffix the distsuffix to use when building packages ])
+if test $with_distsuffix; then
+ DISTSUFFIX=$with_distsuffix
+fi
+AC_SUBST(DISTSUFFIX)
+
if test X"$prefix" = XNONE ; then
usrprefix="$ac_default_prefix"
else