+/* config.h.in. Generated from configure.in by autoheader. */
/*
* Project: libFIRM
* File name: acconfig.h
* Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE.
*/
+/* define to enable debugging stuff. */
+#undef DEBUG_libfirm
+
+/* Define to disable assertion checking. */
+#undef NDEBUG
+
+/* Define to value "inline" for gcc inlineing. */
+#undef USE_GCC_INLINE
+
+/* enable heap analysis */
+#undef DO_HEAPANALYSIS
+
+/* enable firm hooks */
+#undef FIRM_ENABLE_HOOKS
+
+/* enable wchar_t support for identifiers */
+#undef FIRM_ENABLE_WCHAR
+
+/* enable statistics code */
+#undef FIRM_STATISTICS
+
/* Define to 1 if you have the <alloca.h> header file. */
#undef HAVE_ALLOCA_H
/* Define to 1 if you have the <jni.h> header file. */
#undef HAVE_JNI_H
+/* Define to 1 if you have the <libxml/parser.h> header file. */
+#undef HAVE_LIBXML_PARSER_H
+
+/* Define to 1 if long double works and has more range or precision than
+ double. */
+#undef HAVE_LONG_DOUBLE
+
/* Define to 1 if you have the <math.h> header file. */
#undef HAVE_MATH_H
/* Define to 1 if you have the ANSI C header files. */
#undef STDC_HEADERS
-/* ---------------snip, snip ---------------------- */
-
-/* Define to 1 if your processor stores words with the most significant byte
- first (like Motorola and SPARC, unlike Intel and VAX). */
-#undef WORDS_BIGENDIAN
-
-/* Define to 1 if long double works and has more range or precision than
- double. */
-#undef HAVE_LONG_DOUBLE
-
-/* Define to 1 for heap analysis support */
-#undef DO_HEAPANALYSIS
-
-/* Define the right volatile token */
-#undef volatile
-
-/* Define the right inline token */
-#undef inline
-
-/* Define the right const token */
-#undef const
-
-/* define to 1 to enable debugging stuff. */
-#undef DEBUG_libfirm
-
-/* define to 1 to use the libcore */
-#undef WITH_LIBCORE
+/* use inlining */
+#undef USE_INLINING
-/* define to 1 to use the ILP solver */
+/* compile with ilp solver support */
#undef WITH_ILP
-/* define to 1 to enable Firm to call the JVM */
+/* compile with jvm support */
#undef WITH_JVM
-/* define to 1 to have wchar_t support for identifiers */
-#define FIRM_ENABLE_WCHAR
-
-/* Define to disable assertion checking. */
-#undef NDEBUG
+/* compile with libcore support */
+#undef WITH_LIBCORE
-/* undef to disable inlining */
-#undef USE_INLINING
+/* Define to 1 if your processor stores words with the most significant byte
+ first (like Motorola and SPARC, unlike Intel and VAX). */
+#undef WORDS_BIGENDIAN
-/* Define to 1 if Firm hooks are activated */
-#undef FIRM_ENABLE_HOOKS
+/* we use gnu extensions */
+#undef _GNU_SOURCE
-/* Define to 1 if Firm statistics are activated */
-#undef FIRM_STATISTICS
+/* Define to empty if `const' does not conform to ANSI C. */
+#undef const
-#ifdef USE_INLINING
-#define INLINE inline
-#else
-#define INLINE
+/* Define to `__inline__' or `__inline' if that's what the C compiler
+ calls it, or to nothing if 'inline' is not supported under any name. */
+#ifndef __cplusplus
+#undef inline
#endif
-/* Firm statistics need hooks */
-#ifdef FIRM_STATISTICS
-#ifndef FIRM_ENABLE_HOOKS
-#define FIRM_ENABLE_HOOKS
-#endif
-#endif
+/* Define to empty if the keyword `volatile' does not work. Warning: valid
+ code using `volatile' can become incorrect without. Disable with care. */
+#undef volatile
AC_ARG_ENABLE(inlining,
[ --disable-inlining disable inline C-extension],
[if test "$enableval" = yes; then
- AC_DEFINE(USE_INLINING)
+ AC_DEFINE([USE_INLINING], [], [use inlining])
fi],
AC_DEFINE(USE_INLINING)
)
if test "$enable_heapanalysis" = "no"; then
AC_MSG_RESULT([disabled])
else
- AC_DEFINE(DO_HEAPANALYSIS)
+ AC_DEFINE([DO_HEAPANALYSIS], [], [enable heap analysis])
AC_MSG_RESULT([enabled])
fi
AC_SUBST(enable_heapanalysis)
AC_ARG_ENABLE(hooks,
[ --disable-hooks disable Firm hooks],
[if test "$enableval" = yes; then
- AC_DEFINE(FIRM_ENABLE_HOOKS)
+ AC_DEFINE([FIRM_ENABLE_HOOKS], [], [enable firm hooks])
fi],
AC_DEFINE(FIRM_ENABLE_HOOKS)
)
AC_ARG_ENABLE(statistics,
[ --enable-statistics enable Firm statistics],
[if test "$enableval"=yes; then
- AC_DEFINE(FIRM_STATISTICS)
+ AC_DEFINE([FIRM_STATISTICS], [], [enable statistics code])
fi])
AC_SUBST(enable_statistics)
AC_ARG_ENABLE(libcore,
[ --enable-libcore enable libcore debugging],
[if test "$enableval"=yes; then
- AC_DEFINE(WITH_LIBCORE)
+ AC_DEFINE([WITH_LIBCORE], [], [compile with libcore support])
fi])
AC_SUBST(enable_libcore)
AC_ARG_ENABLE(ilp,
[ --enable-ilp enable ilp solver],
[if test "$enableval"=yes; then
- AC_DEFINE(WITH_ILP)
+ AC_DEFINE([WITH_ILP], [], [compile with ilp solver support])
fi])
AC_SUBST(enable_ilp)
if test "$enable_ilp" == yes; then
AC_ARG_ENABLE(jvm,
[ --enable-jvm enable to call the jvm],
[if test "$enableval"=yes; then
- AC_DEFINE(WITH_JVM)
+ AC_DEFINE([WITH_JVM], [], [compile with jvm support])
fi])
AC_SUBST(enable_jvm)
if test "$enable_jvm" == yes; then
AC_ARG_ENABLE(wchar_support,
[ --enable-wchar-support enable wchar_t support for identifiers (needed for java)],
[if test "$enableval"=yes; then
- AC_DEFINE(FIRM_ENABLE_WCHAR)
+ AC_DEFINE([FIRM_ENABLE_WCHAR], [], [enable wchar_t support for identifiers])
fi])
AC_SUBST(enable_wchar_support)
AC_MSG_ERROR("need strerror function")
)
+dnl we use the gnu extension obstack_printf
+AC_DEFINE([_GNU_SOURCE], [], [we use gnu extensions])
+AC_CHECK_FUNC(strerror,,
+ AC_MSG_ERROR("need obstack_printf function")
+)
dnl Error messaging
dnl ===============