X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=configure;h=1aa3cb20f69dc9294ab431e6dd1f12bd6d8cba4c;hb=9ab6a3cf4970a59c56d64e38c505f8247c23e135;hp=99991062da1c7bb2a5cc4b26fb24e66abd55811f;hpb=837b1cd3b4178729a201c7aaace566b0ee599543;p=libfirm diff --git a/configure b/configure index 99991062d..1aa3cb20f 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 @@ -1208,7 +1209,8 @@ 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/ana/Makefile ir/tr/Makefile ir/ana2/Makefile ir/stat/Makefile \ + ir/opt/Makefile ir/external/Makefile \ testprograms/Makefile firmjni/Makefile firmjni/testprograms/Makefile \ libfirm.doxygen" @@ -1257,18 +1259,19 @@ fi; # Check whether --enable-inlining or --disable-inlining was given. if test "${enable_inlining+set}" = set; then enableval="$enable_inlining" - enable_inlining=yes -else if test "$enableval" = yes; then cat >>confdefs.h <<\_ACEOF #define USE_INLINING 1 _ACEOF fi - -fi; +else + cat >>confdefs.h <<\_ACEOF +#define USE_INLINING 1 +_ACEOF +fi; # Check whether --enable-profile or --disable-profile was given. if test "${enable_profile+set}" = set; then @@ -1304,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" @@ -4857,10 +4880,10 @@ s,@ECHO_T@,$ECHO_T,;t t s,@LIBS@,$LIBS,;t t s,@libfirm_conf_env@,$libfirm_conf_env,;t t s,@enable_debug_libfirm@,$enable_debug_libfirm,;t t -s,@enable_inlining@,$enable_inlining,;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