X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=configure;h=97be32da5ebefcff839c37990d35f0473b60c9e4;hb=24a5cb5505361a74e153577b3bc2b2468b5ce97b;hp=6f23d98f14bce0f74b15b42921ef329aceaf6bad;hpb=22fb1bf2ded30790d135adaba81a7e0169549599;p=libfirm diff --git a/configure b/configure index 6f23d98f1..97be32da5 100755 --- a/configure +++ b/configure @@ -829,6 +829,7 @@ Optional Features: --enable-profile enable profiling --enable-autodoc enable auto documentation --enable-firmjni check for tools necesarry to construct a java native interface for Firm + --enable-heapanalysis Compile with heap analysis. --disable-libiberty disable own libiberty parts --enable-statistics enable Firm statistics @@ -1209,6 +1210,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu 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 \ testprograms/Makefile firmjni/Makefile firmjni/testprograms/Makefile \ libfirm.doxygen" @@ -1305,6 +1307,26 @@ else fi; +# Check whether --enable-heapanalysis or --disable-heapanalysis was given. +if test "${enable_heapanalysis+set}" = set; then + enableval="$enable_heapanalysis" + enable_heapanalysis=$enableval +else + enable_heapanalysis="no" +fi; +if test "$enable_heapanalysis" = "no"; then + echo "$as_me:$LINENO: result: heapanalysis disabled" >&5 +echo "${ECHO_T}heapanalysis disabled" >&6 +else + cat >>confdefs.h <<\_ACEOF +#define DO_HEAPANALYSIS 1 +_ACEOF + + echo "$as_me:$LINENO: result: heapanalysis enabled" >&5 +echo "${ECHO_T}heapanalysis enabled" >&6 +fi + + # Check whether --enable-libiberty or --disable-libiberty was given. if test "${enable_libiberty+set}" = set; then enableval="$enable_libiberty" @@ -4861,6 +4883,7 @@ s,@enable_debug_libfirm@,$enable_debug_libfirm,;t t s,@enable_profile_libfirm@,$enable_profile_libfirm,;t t s,@enable_auto_documentation@,$enable_auto_documentation,;t t s,@enable_firm_jni@,$enable_firm_jni,;t t +s,@enable_heapanalysis@,$enable_heapanalysis,;t t s,@disable_libiberty@,$disable_libiberty,;t t s,@enable_statistics@,$enable_statistics,;t t s,@CC@,$CC,;t t