aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2012-07-24 19:32:40 +0300
committerArnold D. Robbins <arnold@skeeve.com>2012-07-24 19:32:40 +0300
commit502050948a347ef5c618886cec1b83357ad7ac3f (patch)
tree6df45fdbcc296ff4fd843aa5e4921ad801f9f344
parent43a12b8c65b687489e0dbb29cd707eeff92e5865 (diff)
downloadegawk-502050948a347ef5c618886cec1b83357ad7ac3f.tar.gz
egawk-502050948a347ef5c618886cec1b83357ad7ac3f.tar.bz2
egawk-502050948a347ef5c618886cec1b83357ad7ac3f.zip
Fix plug-ins on Mac OS X.
-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