aboutsummaryrefslogtreecommitdiff
path: root/flow-native/configure.ac
diff options
context:
space:
mode:
authorJakob Odersky <jodersky@gmail.com>2014-04-18 19:12:41 +0200
committerJakob Odersky <jodersky@gmail.com>2014-04-18 19:12:41 +0200
commit6f24c31168b2700504dd81bcd5aff278e3353fef (patch)
tree16e88554955121614bb188e625d3aabc35ba536a /flow-native/configure.ac
parent7e92a73f8b306ded5c875cd2366f73deeeaade59 (diff)
downloadakka-serial-6f24c31168b2700504dd81bcd5aff278e3353fef.tar.gz
akka-serial-6f24c31168b2700504dd81bcd5aff278e3353fef.tar.bz2
akka-serial-6f24c31168b2700504dd81bcd5aff278e3353fef.zip
add option to build without versioned libraries
Diffstat (limited to 'flow-native/configure.ac')
-rw-r--r--flow-native/configure.ac7
1 files changed, 7 insertions, 0 deletions
diff --git a/flow-native/configure.ac b/flow-native/configure.ac
index 039dbb4..6bb58da 100644
--- a/flow-native/configure.ac
+++ b/flow-native/configure.ac
@@ -36,6 +36,13 @@ do
CPPFLAGS="$CPPFLAGS -I$JNI_INCLUDE_DIR"
done
+AC_ARG_ENABLE([versioned-lib],
+ [AS_HELP_STRING([--disable-versioned-lib], [Disable producing versioned library files.])],
+ [:],
+ [enable_versioned_lib=yes])
+
+AM_CONDITIONAL([ENABLE_VERSIONED_LIB], [test "$enable_versioned_lib" = "yes"])
+
AC_CONFIG_FILES([Makefile])
AC_CONFIG_FILES([src/Makefile])
AC_OUTPUT