diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index f353cea3..af3432cb 100644 --- a/configure.ac +++ b/configure.ac @@ -458,10 +458,12 @@ AH_BOTTOM([#include "custom.h"]) dnl Crude but small hack to make plug-ins work on Mac OS X dnl We should really use the libtool value for shrext_cmds, but that dnl is not available here, since we do not use libtool at the top level. +AS_VAR_IF([EXEEXT],[.exe],[GAWKLIBEXT=dll],[ case $acl_shlibext in dylib) GAWKLIBEXT=so ;; # MacOS uses .dylib for shared libraries, but libtool uses .so for modules *) GAWKLIBEXT=$acl_shlibext ;; esac +]) AC_SUBST(GAWKLIBEXT) AC_CONFIG_FILES(Makefile |