aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rwxr-xr-xconfigure4
-rw-r--r--configure.ac5
3 files changed, 14 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index c2ed6fea..49320336 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-07-24 Arnold D. Robbins <arnold@skeeve.com>
+
+ * configure.ac: Add crude but small hack to make plug-ins work
+ on Mac OS X.
+
2012-07-20 Arnold D. Robbins <arnold@skeeve.com>
* gawkapi.h: Rework table to not take up so much space.
diff --git a/configure b/configure
index 633ca99f..d862f94c 100755
--- a/configure
+++ b/configure
@@ -10853,6 +10853,10 @@ ac_config_headers="$ac_config_headers config.h:configh.in"
+case $acl_shlibext in
+dylib) acl_shlibext=so ;; # force it
+esac
+
ac_config_files="$ac_config_files Makefile awklib/Makefile doc/Makefile po/Makefile.in test/Makefile"
diff --git a/configure.ac b/configure.ac
index 90ad44b5..a45e5c4e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -356,6 +356,11 @@ AC_C_STRINGIZE
AC_CONFIG_HEADERS([config.h:configh.in])
AH_BOTTOM([#include "custom.h"])
+dnl Crude but small hack to make plug-ins work on Mac OS X
+case $acl_shlibext in
+dylib) acl_shlibext=so ;; # force it
+esac
+
AC_CONFIG_FILES(Makefile
awklib/Makefile
doc/Makefile