I haven't tested this yet, but I like it. I think several of these macros can be used to simplify a bit more of the Java config bit. I also just saw the ax_jni_include_dir macro in the autoconf archive and it looks like that can help clean-up too.
On Wed, Jan 9, 2013 at 1:35 PM, Danny Al-Gaaf <danny.al-g...@bisect.de> wrote: > The attached patch depends on the set of 6 patches I send some days ago. > See: http://thread.gmane.org/gmane.comp.file-systems.ceph.devel/11793 > > Danny Al-Gaaf (1): > configure.ac: check for org.junit.rules.ExternalResource > > autogen.sh | 2 +- > configure.ac | 29 ++++++------- > m4/ac_check_class.m4 | 108 > ++++++++++++++++++++++++++++++++++++++++++++++ > m4/ac_check_classpath.m4 | 24 +++++++++++ > m4/ac_check_rqrd_class.m4 | 26 +++++++++++ > m4/ac_java_options.m4 | 33 ++++++++++++++ > m4/ac_prog_jar.m4 | 39 +++++++++++++++++ > m4/ac_prog_java.m4 | 83 +++++++++++++++++++++++++++++++++++ > m4/ac_prog_java_works.m4 | 98 +++++++++++++++++++++++++++++++++++++++++ > m4/ac_prog_javac.m4 | 45 +++++++++++++++++++ > m4/ac_prog_javac_works.m4 | 36 ++++++++++++++++ > m4/ac_prog_javah.m4 | 28 ++++++++++++ > m4/ac_try_compile_java.m4 | 40 +++++++++++++++++ > m4/ac_try_run_javac.m4 | 41 ++++++++++++++++++ > 14 files changed, 615 insertions(+), 17 deletions(-) > create mode 100644 m4/ac_check_class.m4 > create mode 100644 m4/ac_check_classpath.m4 > create mode 100644 m4/ac_check_rqrd_class.m4 > create mode 100644 m4/ac_java_options.m4 > create mode 100644 m4/ac_prog_jar.m4 > create mode 100644 m4/ac_prog_java.m4 > create mode 100644 m4/ac_prog_java_works.m4 > create mode 100644 m4/ac_prog_javac.m4 > create mode 100644 m4/ac_prog_javac_works.m4 > create mode 100644 m4/ac_prog_javah.m4 > create mode 100644 m4/ac_try_compile_java.m4 > create mode 100644 m4/ac_try_run_javac.m4 > > -- > 1.8.1 > > -- > To unsubscribe from this list: send the line "unsubscribe ceph-devel" in > the body of a message to majord...@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html