aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-09-03 20:16:54 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-09-03 20:16:54 +0100
commit15ece6156080c9626cf3de209f38a6721316b27e (patch)
treec1bae7fe799dce5840676a888a79409ecd2418ab
parent2434d448da9cb7ffb7ab836de8805201b7de7a50 (diff)
downloadpaludis-15ece6156080c9626cf3de209f38a6721316b27e.tar.gz
paludis-15ece6156080c9626cf3de209f38a6721316b27e.tar.xz
ffi
-rw-r--r--configure.ac5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index ef48754..e69d5d4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -51,10 +51,13 @@ dnl }}}
PALUDIS_PC_VERSION="${VERSION_FULL}"
PALUDIS_PC_SLOT="${VERSION_MAJOR}.${VERSION_MINOR}"
-if [ $((VERSION_MINOR % 2)) == 1 ] ; then
+if test x"$((VERSION_MINOR % 2))" = x"1" ; then
PALUDIS_PC_SLOT="${PALUDIS_PC_SLOT}_"`printf "%.8s" ${GITHEAD}`
fi
+AC_MSG_CHECKING([for slot])
+AC_MSG_RESULT([$PALUDIS_PC_SLOT])
+
PALUDIS_PC_CFLAGS=
PALUDIS_PC_LIBS="-lpaludis_${PALUDIS_PC_SLOT} -lpaludisutil_${PALUDIS_PC_SLOT} -lpaludisargs_${PALUDIS_PC_SLOT}"
dnl }}}