X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=configure;h=6191d63afc5048c9e46a54ffa2188c67b36f3892;hb=c5cb3c29db21ec1da5d89332868473e552d1b436;hp=eef89c4eca67b3fd527187053a1661ad0e5c5e79;hpb=bf52902c0b175cf8944c0ad12b526aa758f6cf40;p=libfirm diff --git a/configure b/configure index eef89c4ec..6191d63af 100755 --- a/configure +++ b/configure @@ -832,7 +832,9 @@ Optional Features: --enable-heapanalysis Compile with heap analysis. --enable-backend Compile with backend facility. --disable-libiberty disable own libiberty parts + --disable-hooks disable Firm hooks --enable-statistics enable Firm statistics + --enable-libcore enable libcore debugging --disable-external-effects disable descriptions of external effects in XML Optional Packages: @@ -840,6 +842,7 @@ Optional Packages: --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --with-includedir=add colon seperated list of directories to include search path --with-libdir=add colon seperated list of directories to linker search path + --with-libxml2=installation prefix of libxml2 (IPD: --with-libxml2=/usr/public/libxml2) Some influential environment variables: CC C compiler command @@ -1213,8 +1216,8 @@ 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/ana2/Makefile ir/stat/Makefile \ ir/opt/Makefile ir/external/Makefile ir/config/Makefile \ + ir/arch/Makefile ir/be/Makefile \ testprograms/Makefile firmjni/Makefile firmjni/testprograms/Makefile \ - ir/be/Makefile \ libfirm.doxygen" ac_config_headers="$ac_config_headers config.h" @@ -1240,6 +1243,14 @@ if test "${with_libdir+set}" = set; then fi; +# Check whether --with-libxml2 or --without-libxml2 was given. +if test "${with_libxml2+set}" = set; then + withval="$with_libxml2" + LDFLAGS=$LDFLAGS" -L"$withval"/lib"; + CPPFLAGS=$CPPFLAGS" -I"$withval"/include/libxml2" +fi; + + # Check whether --enable-debug or --disable-debug was given. if test "${enable_debug+set}" = set; then enableval="$enable_debug" @@ -1348,13 +1359,30 @@ fi; if test "${enable_libiberty+set}" = set; then enableval="$enable_libiberty" if test "$enableval"=yes; then - disable_libiberty_=yes + disable_libiberty=yes fi else disable_libiberty=no fi; +# Check whether --enable-hooks or --disable-hooks was given. +if test "${enable_hooks+set}" = set; then + enableval="$enable_hooks" + if test "$enableval" = yes; then + cat >>confdefs.h <<\_ACEOF +#define FIRM_ENABLE_HOOKS 1 +_ACEOF + +fi +else + cat >>confdefs.h <<\_ACEOF +#define FIRM_ENABLE_HOOKS 1 +_ACEOF + + +fi; + # Check whether --enable-statistics or --disable-statistics was given. if test "${enable_statistics+set}" = set; then enableval="$enable_statistics" @@ -1367,6 +1395,18 @@ fi fi; +# Check whether --enable-libcore or --disable-libcore was given. +if test "${enable_libcore+set}" = set; then + enableval="$enable_libcore" + if test "$enableval"=yes; then + cat >>confdefs.h <<\_ACEOF +#define WITH_LIBCORE 1 +_ACEOF + +fi +fi; + + echo "$as_me:$LINENO: checking for using external effects in xml2" >&5 echo $ECHO_N "checking for using external effects in xml2... $ECHO_C" >&6 # Check whether --enable-external-effects or --disable-external-effects was given. @@ -5119,6 +5159,7 @@ s,@enable_heapanalysis@,$enable_heapanalysis,;t t s,@enable_backend@,$enable_backend,;t t s,@disable_libiberty@,$disable_libiberty,;t t s,@enable_statistics@,$enable_statistics,;t t +s,@enable_libcore@,$enable_libcore,;t t s,@enable_external_effects@,$enable_external_effects,;t t s,@CC@,$CC,;t t s,@CFLAGS@,$CFLAGS,;t t