Refactored structure and accessors for arrayed objects (at the VM level)
[panda.git] / configure.ac
blob526614c4ce74b95c8786984a1e4c01905256ac40
2 AC_PREREQ([2.52])
3 AC_INIT([goo], [1.0])
5 AC_CONFIG_HEADERS([config.h])
6 AC_CONFIG_SRCDIR([goo/st-lexer.c])
8 AM_INIT_AUTOMAKE([1.10 foreign subdir-objects])
10 AC_CANONICAL_HOST
12 AC_PROG_CC
13 AC_PROG_CC_C99
14 if test "x$ac_cv_prog_cc_c99" = "xno"; then
15    AC_MSG_ERROR([cannot find a C99-conforming compiler])
18 AC_PROG_INSTALL
19 AC_PROG_MAKE_SET
20 AM_PROG_LIBTOOL
22 # platform checks
23 AC_CHECK_SIZEOF([void *])
24 AC_CHECK_SIZEOF([int])
25 AC_CHECK_SIZEOF([long])
26 AC_CHECK_SIZEOF([long long int])
27 AC_CHECK_ALIGNOF([void *])
29 GNOME_COMMON_INIT
30 GNOME_DEBUG_CHECK
31 GNOME_COMPILE_WARNINGS([maximum])
33 # recommended gcc optimization flags for libtommath
34 if test "x$GCC" = "xyes"; then
35     TOMMATH_CFLAGS="-O3 -funroll-loops -fomit-frame-pointer"
37 AC_SUBST(TOMMATH_CFLAGS)
39 PKG_CHECK_MODULES(GLIB, [glib-2.0 >= 2.10.0])
40 AC_SUBST(GLIB_LIBS)
41 AC_SUBST(GLIB_CFLAGS)
43 GETTEXT_PACKAGE=AC_PACKAGE_NAME
44 AC_SUBST(GETTEXT_PACKAGE)
45 AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Name of the gettext package.])
46 AM_GLIB_GNU_GETTEXT
48 AC_SUBST([AM_CPPFLAGS])
49 AC_SUBST([AM_CFLAGS])
50 AC_SUBST([AM_CXXFLAGS])
51 AC_SUBST([AM_LDFLAGS])
53 AC_CONFIG_FILES([
54 Makefile
55 po/Makefile.in
58 AC_OUTPUT