view src/configure.ac @ 27:cb21a4ac2314

Compile also new class and functions available. * configure.ac: check also for the presence of ffc
author gedeone-octave <marco.vassallo@outlook.com>
date Mon, 15 Jul 2013 16:55:45 +0200
parents e74ff416fd54
children b9999ff4fe5e
line wrap: on
line source

AC_PREREQ([2.67])
AC_INIT([Msh Package], [1.0])

AC_PROG_CXX
AC_LANG(C++)

AC_CHECK_PROG([HAVE_MKOCTFILE], [mkoctfile], [yes], [no])
if [test $HAVE_MKOCTFILE = "no"]; then
  AC_MSG_ERROR([mkoctfile required to install $PACKAGE_NAME])
fi

AC_CHECK_HEADERS([dolfin.h], [ ],
  [AC_MSG_ERROR([dolfin required to install $PACKAGE_NAME])]
)

AC_CHECK_PROG([HAVE_FFC], [ffc], [yes], [no])
if [test $HAVE_FFC = "no"]; then
  AC_MSG_ERROR([ffc required to install $PACKAGE_NAME])
fi

AC_CONFIG_FILES([Makefile])
AC_OUTPUT