comparison src/configure.ac @ 5:e74ff416fd54

File for the configuration and compilation of the pkg * configure.ac: Check if dolfin is available * Makefile.in: generate the makefile * bootstrap: generate the configuration file
author gedeone-octave <marco.vassallo@outlook.com>
date Fri, 05 Jul 2013 18:16:21 +0200
parents
children cb21a4ac2314
comparison
equal deleted inserted replaced
4:00bfa5dd0dd6 5:e74ff416fd54
1 AC_PREREQ([2.67])
2 AC_INIT([Msh Package], [1.0])
3
4 AC_PROG_CXX
5 AC_LANG(C++)
6
7 AC_CHECK_PROG([HAVE_MKOCTFILE], [mkoctfile], [yes], [no])
8 if [test $HAVE_MKOCTFILE = "no"]; then
9 AC_MSG_ERROR([mkoctfile required to install $PACKAGE_NAME])
10 fi
11
12 AC_CHECK_HEADERS([dolfin.h], [ ],
13 [AC_MSG_ERROR([dolfin required to install $PACKAGE_NAME])]
14 )
15 AC_CONFIG_FILES([Makefile])
16 AC_OUTPUT