aboutsummaryrefslogtreecommitdiffstats
path: root/extension/configure.ac
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2017-12-22 11:13:31 +0200
committerArnold D. Robbins <arnold@skeeve.com>2017-12-22 11:13:31 +0200
commit67a491896e14a12f85d336864138c21c6146aea0 (patch)
tree35696fc0edd3a16130899284a8be92401e17882e /extension/configure.ac
parent5864e4d3bff453af474557234a573b8f1785fc8a (diff)
downloadegawk-67a491896e14a12f85d336864138c21c6146aea0.tar.gz
egawk-67a491896e14a12f85d336864138c21c6146aea0.tar.bz2
egawk-67a491896e14a12f85d336864138c21c6146aea0.zip
Add --enable-versioned-extension-dir configure option.
Diffstat (limited to 'extension/configure.ac')
-rw-r--r--extension/configure.ac4
1 files changed, 3 insertions, 1 deletions
diff --git a/extension/configure.ac b/extension/configure.ac
index 69461d24..e1438259 100644
--- a/extension/configure.ac
+++ b/extension/configure.ac
@@ -54,7 +54,9 @@ AC_DISABLE_STATIC
LT_INIT
dnl AC_PROG_INSTALL
-AC_SUBST([pkgextensiondir], ['${libdir}/gawk'])
+dnl use the same definition as the main configure script.
+dnl EXTENSIONDIR is exported if it was set there.
+AC_SUBST([pkgextensiondir], ['${pkglibdir}'${EXTENSIONDIR}])
if test "$GCC" = yes
then