aboutsummaryrefslogtreecommitdiffstats
path: root/packaging/ldns-config.in
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2014-05-14 18:41:34 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2014-05-14 18:41:34 +0000
commit65be028f32ed37dce84f6328d4a7172132c8c224 (patch)
tree4edff3f361b23a13a9807a3a0906f9026c3a81a5 /packaging/ldns-config.in
parent04f3ab9612d73d7516f230df46e860daf892dc71 (diff)
downloadsrc-65be028f32ed37dce84f6328d4a7172132c8c224.tar.gz
src-65be028f32ed37dce84f6328d4a7172132c8c224.zip
import ldns 1.6.17vendor/ldns/1.6.17
Notes
Notes: svn path=/vendor/ldns/dist/; revision=266072 svn path=/vendor/ldns/1.6.17/; revision=266073; tag=vendor/ldns/1.6.17
Diffstat (limited to 'packaging/ldns-config.in')
-rwxr-xr-xpackaging/ldns-config.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/packaging/ldns-config.in b/packaging/ldns-config.in
index b728ba544e12..d2cf4d43cafa 100755
--- a/packaging/ldns-config.in
+++ b/packaging/ldns-config.in
@@ -9,6 +9,7 @@ LDFLAGS="@LDFLAGS@ @LIBSSL_LDFLAGS@ @PYTHON_LDFLAGS@"
LIBS="@LIBS@ @LIBSSL_LIBS@"
LIBDIR="@libdir@"
INCLUDEDIR="@includedir@"
+LIBVERSION="@LIBLDNS_CURRENT@.@LIBLDNS_REVISION@.@LIBLDNS_AGE@"
for arg in $@
do
@@ -28,4 +29,8 @@ do
then
echo "${VERSION}"
fi
+ if [ $arg = "--libversion" ]
+ then
+ echo "${LIBVERSION}"
+ fi
done