diff options
author | Andrew J. Schorr <aschorr@telemetry-investments.com> | 2018-02-08 08:36:02 -0500 |
---|---|---|
committer | Andrew J. Schorr <aschorr@telemetry-investments.com> | 2018-02-08 08:36:02 -0500 |
commit | c326b7dfa00760f7127912053fad544b0b79da23 (patch) | |
tree | bbbbc4c4fe1c2d12654bec6a966dc841d131e067 | |
parent | 4197063335d758d0eacb8b4cb74b232ad596c784 (diff) | |
download | egawk-c326b7dfa00760f7127912053fad544b0b79da23.tar.gz egawk-c326b7dfa00760f7127912053fad544b0b79da23.tar.bz2 egawk-c326b7dfa00760f7127912053fad544b0b79da23.zip |
Fix extension pkgextensiondir installation location.
-rw-r--r-- | extension/ChangeLog | 8 | ||||
-rwxr-xr-x | extension/configure | 2 | ||||
-rw-r--r-- | extension/configure.ac | 4 |
3 files changed, 12 insertions, 2 deletions
diff --git a/extension/ChangeLog b/extension/ChangeLog index b811e6ca..83d43729 100644 --- a/extension/ChangeLog +++ b/extension/ChangeLog @@ -1,3 +1,11 @@ +2018-02-08 Andrew J. Schorr <aschorr@telemetry-investments.com> + + * configure.ac (pkgextensiondir): This must be set to + '${libdir}/gawk'${EXTENSIONDIR} to match gawk's value. + The previous value of '${pkglibdir}'${EXTENSIONDIR} was incorrect, + because it was putting the extensions in the gawk-extensions + libdir subdirectory, instead of the gawk subdirectory. + 2018-02-02 Arnold D. Robbins <arnold@skeeve.com> * filefuncs.3am, fnmatch.3am, fork.3am, inplace.3am, diff --git a/extension/configure b/extension/configure index 084334e1..2ace2d86 100755 --- a/extension/configure +++ b/extension/configure @@ -12595,7 +12595,7 @@ CC=$lt_save_CC -pkgextensiondir='${pkglibdir}'${EXTENSIONDIR} +pkgextensiondir='${libdir}/gawk'${EXTENSIONDIR} if test "$GCC" = yes diff --git a/extension/configure.ac b/extension/configure.ac index e8b242a0..2b913364 100644 --- a/extension/configure.ac +++ b/extension/configure.ac @@ -56,7 +56,9 @@ dnl AC_PROG_INSTALL dnl use the same definition as the main configure script. dnl EXTENSIONDIR is exported if it was set there. -AC_SUBST([pkgextensiondir], ['${pkglibdir}'${EXTENSIONDIR}]) +dnl N.B. We must use ${libdir}/gawk instead of $pkglibdir because $pkglibdir +dnl is set to ${libdir}/gawk-extensions, which is not what we want. +AC_SUBST([pkgextensiondir], ['${libdir}/gawk'${EXTENSIONDIR}]) if test "$GCC" = yes then |