X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=configure.in;h=a174f70d0f7ac067694e5c118fbbcd7bc5b690c6;hb=a862fcc19898e6cdcbc01e1b971abd5f0ebdba2a;hp=b2610e4047106e665dea71d30e2228a3d53dac11;hpb=49bffc7940799caf659e520a1953e90710588352;p=libfirm diff --git a/configure.in b/configure.in index b2610e404..a174f70d0 100644 --- a/configure.in +++ b/configure.in @@ -20,7 +20,8 @@ AC_PREREQ(2.50) 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/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" @@ -35,6 +36,7 @@ dnl check for additional include dirs AC_ARG_WITH(includedir, [ --with-includedir=add colon seperated list of directories to include search path], CPPFLAGS=$CPPFLAGS" -I"`echo $withval|sed 's;\:; -I;g'`, T_FLAG="") +dnl check for additional library dirs AC_ARG_WITH(libdir, [ --with-libdir=add colon seperated list of directories to linker search path], LDFLAGS=$LDFLAGS" -L"`echo $withval|sed 's;\:; -L;g'`, T_FLAG="") @@ -98,16 +100,13 @@ dnl ------------------------- AC_ARG_ENABLE(heapanalysis, [ --enable-heapanalysis Compile with heap analysis.], [enable_heapanalysis=$enableval], [enable_heapanalysis="no"]) if test "$enable_heapanalysis" = "no"; then - AC_DEFINE(DO_HEAPANALYSIS, 0, [Don't compile with heap analysis]) AC_MSG_RESULT([heapanalysis disabled]) else - AC_DEFINE(DO_HEAPANALYSIS, 1, [Compile with heap analysis]) + AC_DEFINE(DO_HEAPANALYSIS) AC_MSG_RESULT([heapanalysis enabled]) fi AC_SUBST(enable_heapanalysis) -dnl to be used!! AM_CONDITIONAL(FIRM_HEAPANALYSIS, test "$enable_heapanalysis" != "no") - dnl disable linking of libiberty parts (xmalloc, xprintf, obstack, ...) dnl ---------------------- AC_ARG_ENABLE(libiberty,