summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 078381e5680..68ade8f7a64 100644
--- a/configure.ac
+++ b/configure.ac
@@ -103,6 +103,9 @@ AC_SUBST(PORTNAME)
need_tas=no
tas_file=dummy.s
+# Default, works for most platforms, override in template file if needed
+DLSUFFIX=".so"
+
##
@@ -721,6 +724,10 @@ else
fi
AC_SUBST(TAS)
+AC_SUBST(DLSUFFIX)dnl
+AC_DEFINE_UNQUOTED([DLSUFFIX], ["$DLSUFFIX"],
+ [Define to the file name extension of dynamically-loadable modules.])
+
#
# Set up pkg_config in case we need it below
#