-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfigure.ac
43 lines (30 loc) · 1.08 KB
/
configure.ac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.71])
AC_INIT([jnhw],[4.0.0],[[email protected]])
#to be repeaded in subprojects
AM_INIT_AUTOMAKE([foreign])
AM_MAINTAINER_MODE
AM_PROG_AR
LT_INIT()
AC_CONFIG_MACRO_DIRS([m4])
# Checks for programs.
AC_PROG_CC
AC_PROG_INSTALL
# Checks for libraries.
# Checks for header files.
#put this here so we can provide this toplevel
# Check or manually define jni header files.
AC_ARG_WITH([jni-include-dir],
[AS_HELP_STRING([--with-jni-include-dir],
[set the jni include dir manually])],
[JNI_INCLUDE_DIRS="$with_jni_include_dir"],
[AX_JNI_INCLUDE_DIR])
#pass these args in Makefile.am to AM_CFLAGS -- this is not working ...
#AC_SUBST([AM_CXXFLAGS], [-Wall -Wextra -Wconversion -Werror])
#AC_SUBST([JNHW_AM_CFLAGS],[-Wall -Wextra -Wconversion -Werror])
# Checks for typedefs, structures, and compiler characteristics.
# Checks for library functions.
AC_CONFIG_SUBDIRS([de.ibapl.jnhw.common de.ibapl.jnhw.posix])
AC_CONFIG_FILES([Makefile])
AC_OUTPUT