X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=configure.ac;h=d7e4b74465e70e84b794267ca843d68bc10b4ede;hb=3a63cf2513b8de949d2f8433d062622817b53181;hp=824aa07dfaf7d32eaaadb8c9c9b2a68918c79561;hpb=d1a1262bffd4e0e7637052737d5932ef69be1cae;p=libfirm diff --git a/configure.ac b/configure.ac index 824aa07df..d7e4b7446 100644 --- a/configure.ac +++ b/configure.ac @@ -50,10 +50,8 @@ AC_ARG_ENABLE([debug], [AS_HELP_STRING([--disable-debug], [disable verifiers and additional debugging routines])], [enable_debug_libfirm="$enableval"], [enable_debug_libfirm="yes"]) if test "$enable_debug_libfirm" = yes; then - FIRMCONFIG_DEBUG_libfirm="#define DEBUG_libfirm" + AC_DEFINE([DEBUG_libfirm], [], [define to enable debug mode and checks]) fi -AC_SUBST([FIRMCONFIG_DEBUG_libfirm]) -AC_SUBST([enable_debug_libfirm]) AC_ARG_ENABLE([assert], [AS_HELP_STRING([--disable-assert], [disable assertions])], @@ -63,18 +61,6 @@ if test "$enable_assert" = no; then fi AC_SUBST([enable_assert]) -dnl disable inlining -dnl ---------------- -AC_ARG_ENABLE([inlining], -[AS_HELP_STRING([--disable-inlining], [disable inline C-extension])], -[enable_inlining="$enableval"], [enable_inlining="yes"]) - -if test "$enable_inlining" = yes; then - FIRMCONFIG_USE_INLINING="#define USE_INLINING" -fi -AC_SUBST([FIRMCONFIG_USE_INLINING]) -AC_SUBST([enable_inlining]) - dnl set profiling dnl ------------- AC_ARG_ENABLE([profile], @@ -83,17 +69,6 @@ AC_ARG_ENABLE([profile], AC_SUBST([enable_profile_libfirm]) -dnl enable Firm hooks -dnl ------------- -AC_ARG_ENABLE([hooks], -[AS_HELP_STRING([--disable-hooks], [disable Firm hooks])], -[enable_hooks="$enableval"], [enable_hooks="yes"]) - -if test "$enable_hooks" = yes; then - FIRMCONFIG_FIRM_ENABLE_HOOKS="#define FIRM_ENABLE_HOOKS" -fi -AC_SUBST([FIRMCONFIG_FIRM_ENABLE_HOOKS]) - dnl enable Firm statistics dnl ------------- AC_ARG_ENABLE([statistics], @@ -114,21 +89,8 @@ AC_ARG_ENABLE([ilp], if test "$enable_ilp" = yes; then FIRMCONFIG_WITH_ILP="#define FIRMCONFIG_WITH_ILP" + AC_DEFINE([WITH_ILP], [], [enable to build code using ilp solvers]) fi -AC_SUBST([FIRMCONFIG_WITH_ILP]) -AC_SUBST(enable_ilp) - -dnl enable wchar_t support for identifiers -dnl -------------------------------- -AC_ARG_ENABLE([wchar_support], -[AS_HELP_STRING([--enable-wchar-support], [enable wchar_t support for identifiers (needed for java)])], -[enable_wchar_support="$enableval"], [enable_wchar_support="no"]) - -if test "$enable_wchar_support" = yes; then - FIRMCONFIG_FIRM_ENABLE_WCHAR="#define FIRM_ENABLE_WCHAR" -fi -AC_SUBST([FIRMCONFIG_FIRM_ENABLE_WCHAR]) -AC_SUBST([enable_wchar_support]) dnl disable backend dnl --------------- @@ -196,13 +158,15 @@ dnl =============== dnl Output results AC_CONFIG_FILES([ - firm_config.h Makefile ir/Makefile include/libfirm/Makefile libfirm.pc ]) +#always do inlining +AC_DEFINE([INLINE], [inline], [define inline to compiler inline keyword]) + BACKENDS="" if test "$enable_backend" == yes; then BACKENDS="arm ia32 mips ppc32" @@ -218,9 +182,6 @@ echo " backends $BACKENDS" echo " profiling $enable_profile_libfirm" echo " debug/verifiers $enable_debug_libfirm" echo " assertions $enable_assert" -echo " hooks $enable_hooks" echo " statistics $enable_statistics" echo " ilp $enable_ilp" -echo " jvm $enable_jvm" -echo " wide char support $enable_wchar_support" echo ""