aboutsummaryrefslogtreecommitdiff
path: root/flow-native/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'flow-native/configure.ac')
-rw-r--r--flow-native/configure.ac31
1 files changed, 31 insertions, 0 deletions
diff --git a/flow-native/configure.ac b/flow-native/configure.ac
new file mode 100644
index 0000000..e797a5e
--- /dev/null
+++ b/flow-native/configure.ac
@@ -0,0 +1,31 @@
+# -*- Autoconf -*-
+# Process this file with autoconf to produce a configure script.
+
+AC_PREREQ([2.68])
+AC_INIT([flow], [3.0.0], [jodersky@gmail.com])
+AC_CONFIG_SRCDIR([include/com_github_jodersky_flow_internal_NativeSerial.h])
+AC_CONFIG_HEADERS([config.h])
+
+# Checks for programs.
+AC_PROG_CC
+
+# Checks for libraries.
+
+# Checks for header files.
+AC_CHECK_HEADERS([fcntl.h stddef.h stdlib.h sys/file.h termios.h unistd.h])
+AC_CHECK_HEADERS([jni.h],,AC_MSG_WARN(No jni.h found. Is a JDK installed?))
+
+# Checks for typedefs, structures, and compiler characteristics.
+AC_HEADER_STDBOOL
+AC_C_INLINE
+AC_TYPE_SIZE_T
+
+# Checks for library functions.
+AC_FUNC_MALLOC
+AC_CHECK_FUNCS([select])
+
+LT_INIT
+AM_INIT_AUTOMAKE
+
+AC_CONFIG_FILES([Makefile])
+AC_OUTPUT