X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=configure.in;h=1e3f6613bd0d8f681b95fe2a51449aa6511f4e7b;hb=33916c19292ed70e367dda46ff0c39ea5d14157e;hp=b46dcca0cb7df998641b96b5d4e75aed15c1038c;hpb=22fb1bf2ded30790d135adaba81a7e0169549599;p=libfirm diff --git a/configure.in b/configure.in index b46dcca0c..1e3f6613b 100644 --- a/configure.in +++ b/configure.in @@ -21,6 +21,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 ir/stat/Makefile \ + ir/opt/Makefile ir/external/Makefile \ testprograms/Makefile firmjni/Makefile firmjni/testprograms/Makefile \ libfirm.doxygen" @@ -93,6 +94,18 @@ fi], [enable_firm_jni=no]) AC_SUBST(enable_firm_jni) +dnl set heap analyses support +dnl ------------------------- +AC_ARG_ENABLE(heapanalysis, [ --enable-heapanalysis Compile with heap analysis.], + [enable_heapanalysis=$enableval], [enable_heapanalysis="no"]) +if test "$enable_heapanalysis" = "no"; then + AC_MSG_RESULT([heapanalysis disabled]) +else + AC_DEFINE(DO_HEAPANALYSIS) + AC_MSG_RESULT([heapanalysis enabled]) +fi +AC_SUBST(enable_heapanalysis) + dnl disable linking of libiberty parts (xmalloc, xprintf, obstack, ...) dnl ---------------------- AC_ARG_ENABLE(libiberty,