Browse Source

Merge pull request #42 from fancycode/autoconf_compass_check

Improved check for compass inside sass.
pull/45/head
Simon Eisenmann 12 years ago
parent
commit
4e6f8fd81e
  1. 11
      configure.ac

11
configure.ac

@ -89,6 +89,17 @@ if test x"${COMPASS}" == x"" ; then
fi fi
AC_SUBST(COMPASS) AC_SUBST(COMPASS)
AC_MSG_CHECKING([for compass support in sass])
tempfile=`mktemp`
$SASS --compass $tempfile > /dev/null 2> /dev/null
sass_compass=$?
rm $tempfile
if test x"${sass_compass}" != x"0" ; then
AC_MSG_RESULT([not available])
AC_MSG_ERROR([Please install compass so it can be used using "sass --compass ...".])
fi
AC_MSG_RESULT([ok])
AC_PATH_PROGS([AUTOPREFIXER],[autoprefixer]) AC_PATH_PROGS([AUTOPREFIXER],[autoprefixer])
if test x"${AUTOPREFIXER}" == x"" ; then if test x"${AUTOPREFIXER}" == x"" ; then
AC_MSG_ERROR([Please install autoprefixer before trying to build spreed-webrtc.]) AC_MSG_ERROR([Please install autoprefixer before trying to build spreed-webrtc.])

Loading…
Cancel
Save