1b2e7d2016-11-23Pontus Östlund AC_INIT(sass.cmod)
dd8a1a2016-11-29Pontus Östlund AC_CONFIG_HEADERS(config.h) # AC_ARG_WITH(sass, [ --with(out)-sass Support for SASS],[],[with_sass=yes])
1b2e7d2016-11-23Pontus Östlund AC_MODULE_INIT()
dd8a1a2016-11-29Pontus Östlund AH_TEMPLATE([HAVE_LIBSASS_LANGUAGE_VERSION], [Define to 1 if libsass has sass_language_version()])
8399862016-12-01Pontus Östlund AH_TEMPLATE([HAVE_LIBSASS_DELETE_OPTIONS], [Define to 1 if libsass has sass_delete_options()])
1b2e7d2016-11-23Pontus Östlund CMOD_LIBS="-lsass" CMOD_CFLAGS=""
dd8a1a2016-11-29Pontus Östlund # AC_HAVE_HEADERS(sass.h) AC_CHECK_HEADERS([sass.h]) # # Check for features in libsass # AC_SEARCH_LIBS(sass_language_version, sass, [ AC_DEFINE([HAVE_LIBSASS_LANGUAGE_VERSION], [1]) ])
8399862016-12-01Pontus Östlund AC_SEARCH_LIBS(sass_delete_options, sass, [ AC_DEFINE([HAVE_LIBSASS_LANGUAGE_VERSION], [1]) ])
dd8a1a2016-11-29Pontus Östlund 
1b2e7d2016-11-23Pontus Östlund AC_SUBST(CMOD_CFLAGS) AC_SUBST(CMOD_LIBS) AC_OUTPUT(Makefile)