X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=configure;h=d3f1924477363e1ba0e1415811e391e206d53bee;hb=db2f47e7e5ed07ed52cb1b89846e6e8a5d2987d9;hp=ff06ebbc43273e1712d5cd40e688306a8f77ec7d;hpb=646d18cc4470cc9e36b1b8c334a5f5ad435779ce;p=libfirm diff --git a/configure b/configure index ff06ebbc4..d3f192447 100755 --- a/configure +++ b/configure @@ -834,6 +834,7 @@ Optional Features: --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: @@ -841,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 @@ -1241,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" @@ -1349,7 +1359,7 @@ 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 @@ -1385,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. @@ -5137,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