--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.
+ --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:
--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
ir/ana/Makefile ir/tr/Makefile ir/ana2/Makefile ir/stat/Makefile \
ir/opt/Makefile ir/external/Makefile ir/config/Makefile \
testprograms/Makefile firmjni/Makefile firmjni/testprograms/Makefile \
+ ir/be/Makefile \
libfirm.doxygen"
ac_config_headers="$ac_config_headers config.h"
if test "${with_includedir+set}" = set; then
withval="$with_includedir"
CPPFLAGS=$CPPFLAGS" -I"`echo $withval|sed 's;\:; -I;g'`
-else
- T_FLAG=""
fi;
if test "${with_libdir+set}" = set; then
withval="$with_libdir"
LDFLAGS=$LDFLAGS" -L"`echo $withval|sed 's;\:; -L;g'`
-else
- T_FLAG=""
+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;
fi;
+echo "$as_me:$LINENO: checking for heapanalysis" >&5
+echo $ECHO_N "checking for heapanalysis... $ECHO_C" >&6
# Check whether --enable-heapanalysis or --disable-heapanalysis was given.
if test "${enable_heapanalysis+set}" = set; then
enableval="$enable_heapanalysis"
enable_heapanalysis="no"
fi;
if test "$enable_heapanalysis" = "no"; then
- echo "$as_me:$LINENO: result: heapanalysis disabled" >&5
-echo "${ECHO_T}heapanalysis disabled" >&6
+ echo "$as_me:$LINENO: result: disabled" >&5
+echo "${ECHO_T}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
+ echo "$as_me:$LINENO: result: enabled" >&5
+echo "${ECHO_T}enabled" >&6
fi
+# Check whether --enable-backend or --disable-backend was given.
+if test "${enable_backend+set}" = set; then
+ enableval="$enable_backend"
+ if test "$enableval" = "yes"; then
+ cat >>confdefs.h <<\_ACEOF
+#define FIRM_BACKEND 1
+_ACEOF
+
+fi
+else
+ enable_backend="yes"
+fi;
+
+
# Check whether --enable-libiberty or --disable-libiberty was given.
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"
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.
touch tmp-install.a tmp-install.b
-if eval "$INSTALL -C tmp-install.a tmp-install.b" ; then
- INSTALL="$INSTALL -C"
+if eval "$INSTALL tmp-install.a tmp-install.b" ; then
+ INSTALL="$INSTALL"
fi
rm tmp-install.a tmp-install.b
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,@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