5 AC_CONFIG_HEADERS([config.h])
6 AC_CONFIG_SRCDIR([goo/st-lexer.c])
8 AM_INIT_AUTOMAKE([1.10 foreign subdir-objects])
14 if test "x$ac_cv_prog_cc_c99" = "xno"; then
15 AC_MSG_ERROR([cannot find a C99-conforming compiler])
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 *])
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])
43 GETTEXT_PACKAGE=AC_PACKAGE_NAME
44 AC_SUBST(GETTEXT_PACKAGE)
45 AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Name of the gettext package.])
48 AC_SUBST([AM_CPPFLAGS])
50 AC_SUBST([AM_CXXFLAGS])
51 AC_SUBST([AM_LDFLAGS])