X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=configure.in;h=62a160d672f5f1e612c5e2dd919edcbb54602d3c;hb=84746215f1d8b47f9a36b9c4e4046bc7da721bf0;hp=43ea713deee5cee493310c0c24009b4f472c923b;hpb=02bfe9636f510bfa31c8430bed9e75bc54b2edc2;p=libfirm diff --git a/configure.in b/configure.in index 43ea713de..62a160d67 100644 --- a/configure.in +++ b/configure.in @@ -14,7 +14,7 @@ dnl if other files should be generated just add them to ac_output_files ac_output_file="Makefile MakeRules ir/Makefile ir/adt/Makefile ir/debug/Makefile \ ir/tv/Makefile ir/common/Makefile ir/ident/Makefile ir/ir/Makefile \ ir/ana/Makefile ir/tr/Makefile ir/st/Makefile testprograms/Makefile \ - firmjni/Makefile firmjni/build_firm_jni firmjni/testprograms/Makefile" + firmjni/Makefile firmjni/testprograms/Makefile libfirm.doxygen" dnl generate the config header file AC_CONFIG_HEADER(config.h) @@ -187,13 +187,15 @@ fi dnl check for the obstack header file -AC_FUNC_OBSTACK +dnl does not work with: +dnl - cygwin +dnl - MacOSX +#AC_FUNC_OBSTACK -#AC_CHECK_HEADERS(obstack.h, ac_obstack_headers="yes", ac_obstack_headers="no") -#if test "$ac_obstack_headers" != yes; then -if test "x$HAVE_OBSTACK" = 0; then +AC_CHECK_HEADERS(obstack.h, ac_obstack_headers="yes", ac_obstack_headers="no") +if test "$ac_obstack_headers" != yes; then dnl obstack header not found. - AC_MSG_ERROR("no obstack support") + AC_MSG_ERROR("obstack.h not found") fi @@ -202,7 +204,7 @@ dnl check for jni header files if test "$enable_firm_jni" = yes; then AC_CHECK_HEADERS(jni.h, ac_jni_headers="yes", ac_jni_headers="no") if test "$ac_jni_headers" != yes; then - AC_MSG_ERROR(jni header file not found. (IPD: add -I/usr/public2/java/jdk1.3.1-sun/include/ -I/usr/public2/java/jdk1.3.1-sun/include/linux/ to CPPFLAGS)) + AC_MSG_ERROR(jni header file not found. (IPD: add --with-includedir=/usr/public2/java/jdk1.3.1-sun/include/:/usr/public2/java/jdk1.3.1-sun/include/linux/ to configure flags)) fi fi