+dnl check if if-conversion should be supported
+AC_MSG_CHECKING(whether if-conversion should be supported)
+AC_ARG_ENABLE([ifconv],
+ [AS_HELP_STRING(--disable-ifconv,disable if-conversion [[default=yes]])],
+ [case "${enableval}" in
+ no) ENABLE_IFCONV=no;;
+ *) ENABLE_IFCONV=yes;;
+ esac],
+ [ENABLE_IFCONV=yes])
+AC_MSG_RESULT(${ENABLE_IFCONV})
+AM_CONDITIONAL([ENABLE_IFCONV], test x"${ENABLE_IFCONV}" = "xyes")
+
+if test x"${ENABLE_IFCONV}" = "xyes"; then
+ AC_DEFINE([ENABLE_IFCONV], 1, [enable if-conversion])
+fi
+
+
+dnl check for inlining
+AC_MSG_CHECKING(whether method inlining should be supported)
+AC_ARG_ENABLE([inlining],
+ [AS_HELP_STRING(--disable-inlining,disable method inlining [[default=yes]])],
+ [case "${enableval}" in
+ no) ENABLE_INLINING=no;;
+ *) ENABLE_INLINING=yes;;
+ esac],
+ [ENABLE_INLINING=yes])
+AC_MSG_RESULT(${ENABLE_INLINING})
+AM_CONDITIONAL([ENABLE_INLINING], test x"${ENABLE_INLINING}" = "xyes")
+
+if test x"${ENABLE_INLINING}" = "xyes"; then
+ AC_DEFINE([ENABLE_INLINING], 1, [use method inlining])
+fi
+
+
+dnl check for loop optimization
+AC_MSG_CHECKING(whether loop optimization should be supported)
+AC_ARG_ENABLE([loop],
+ [AS_HELP_STRING(--disable-loop,disable loop optimization [[default=yes]])],
+ [case "${enableval}" in
+ no) ENABLE_LOOP=no;;
+ *) ENABLE_LOOP=yes;;
+ esac],
+ [ENABLE_LOOP=yes])
+AC_MSG_RESULT(${ENABLE_LOOP})
+AM_CONDITIONAL([ENABLE_LOOP], test x"${ENABLE_LOOP}" = "xyes")
+
+if test x"${ENABLE_LOOP}" = "xyes"; then
+ AC_DEFINE([ENABLE_LOOP], 1, [use loop optimization])
+fi
+
+