aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure b/configure
index d862f94c..c45d0cd0 100755
--- a/configure
+++ b/configure
@@ -629,6 +629,7 @@ ac_subst_vars='am__EXEEXT_FALSE
am__EXEEXT_TRUE
LTLIBOBJS
subdirs
+GAWKLIBEXT
LIBMPFR
LIBREADLINE
SOCKET_LIBS
@@ -10854,9 +10855,11 @@ ac_config_headers="$ac_config_headers config.h:configh.in"
case $acl_shlibext in
-dylib) acl_shlibext=so ;; # force it
+dylib) GAWKLIBEXT=so ;; # MacOS uses .dylib for shared libraries, but libtool uses .so for modules
+*) GAWKLIBEXT=$acl_shlibext ;;
esac
+
ac_config_files="$ac_config_files Makefile awklib/Makefile doc/Makefile po/Makefile.in test/Makefile"