X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=configure.ac;h=457da0082c0c42e22fd78fa6f3caa367b2691ae1;hb=5b7cbf3674f5de8d4e14200aa5a9f9919ba1c9de;hp=84e629300c77c3afbef836b5a3d4e43c5cf09abb;hpb=b04699046ef5719331e05f5f9bf41d44d3ea7a4e;p=libfirm diff --git a/configure.ac b/configure.ac index 84e629300..457da0082 100644 --- a/configure.ac +++ b/configure.ac @@ -10,7 +10,7 @@ dnl AC_PREREQ([2.54]) AC_REVISION([$Id$]) m4_define([firm_major_version], [1]) -m4_define([firm_minor_version], [13]) +m4_define([firm_minor_version], [17]) m4_define([firm_micro_version], [0]) m4_define([firm_version], [firm_major_version.firm_minor_version.firm_micro_version]) @@ -26,6 +26,9 @@ AC_DEFINE([libfirm_VERSION_MAJOR], [firm_major_version], [Firms major version nu AC_DEFINE([libfirm_VERSION_MINOR], [firm_minor_version], [Firms minor version number]) AC_DEFINE([libfirm_VERSION_MICRO], [firm_micro_version], [Firms micro version number]) +dnl enable libtool +LT_INIT([win32-dll]) + dnl generate the config header file AC_CONFIG_HEADER([config.h]) @@ -92,18 +95,6 @@ if test "$enable_ilp" = yes; then AC_DEFINE([WITH_ILP], [], [enable to build code using ilp solvers]) fi -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 --------------- AC_ARG_ENABLE([backend], @@ -118,7 +109,6 @@ dnl ==================== dnl check for a C compiler dnl ---------------------- AC_PROG_CC -AC_PROG_LIBTOOL AC_PATH_PROGS(PERL, perl perl5) @@ -131,6 +121,7 @@ dnl ======================== AC_HEADER_STDC AC_CHECK_HEADERS([math.h], , AC_MSG_ERROR("math header file not found")) +AC_CHECK_HEADERS([alloca.h]) dnl Checks for libraries. dnl ===================== @@ -170,7 +161,6 @@ dnl =============== dnl Output results AC_CONFIG_FILES([ - firm_config.h Makefile ir/Makefile include/libfirm/Makefile @@ -181,7 +171,7 @@ AC_CONFIG_FILES([ AC_DEFINE([INLINE], [inline], [define inline to compiler inline keyword]) BACKENDS="" -if test "$enable_backend" == yes; then +if test "$enable_backend" = yes; then BACKENDS="arm ia32 mips ppc32" fi AC_SUBST([BACKENDS]) @@ -197,6 +187,4 @@ echo " debug/verifiers $enable_debug_libfirm" echo " assertions $enable_assert" echo " statistics $enable_statistics" echo " ilp $enable_ilp" -echo " jvm $enable_jvm" -echo " wide char support $enable_wchar_support" echo ""