diff options
Diffstat (limited to 'flow-native/configure.ac')
-rw-r--r-- | flow-native/configure.ac | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/flow-native/configure.ac b/flow-native/configure.ac index e797a5e..a4a25a8 100644 --- a/flow-native/configure.ac +++ b/flow-native/configure.ac @@ -3,7 +3,11 @@ 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_MACRO_DIR([m4]) +AC_CONFIG_SRCDIR([src/flow_jni.c]) + +AM_INIT_AUTOMAKE + AC_CONFIG_HEADERS([config.h]) # Checks for programs. @@ -15,6 +19,8 @@ AC_PROG_CC 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?)) +LT_INIT([shared]) + # Checks for typedefs, structures, and compiler characteristics. AC_HEADER_STDBOOL AC_C_INLINE @@ -24,8 +30,6 @@ AC_TYPE_SIZE_T AC_FUNC_MALLOC AC_CHECK_FUNCS([select]) -LT_INIT -AM_INIT_AUTOMAKE - AC_CONFIG_FILES([Makefile]) +AC_CONFIG_FILES([src/Makefile]) AC_OUTPUT |