X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=configure.in;h=62a160d672f5f1e612c5e2dd919edcbb54602d3c;hb=84746215f1d8b47f9a36b9c4e4046bc7da721bf0;hp=61534f1a5b115068f4fdd42dc37e4d5cea24d6f2;hpb=fb60e4cb5af1e120eab6d6687e1551aa192dae1e;p=libfirm diff --git a/configure.in b/configure.in index 61534f1a5..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 $ac_cv_func_obstack != yes; 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