annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5
e74ff416fd54 File for the configuration and compilation of the pkg
gedeone-octave <marco.vassallo@outlook.com>
parents:
diff changeset
1 AC_PREREQ([2.67])
e74ff416fd54 File for the configuration and compilation of the pkg
gedeone-octave <marco.vassallo@outlook.com>
parents:
diff changeset
2 AC_INIT([Msh Package], [1.0])
e74ff416fd54 File for the configuration and compilation of the pkg
gedeone-octave <marco.vassallo@outlook.com>
parents:
diff changeset
3
e74ff416fd54 File for the configuration and compilation of the pkg
gedeone-octave <marco.vassallo@outlook.com>
parents:
diff changeset
4 AC_PROG_CXX
e74ff416fd54 File for the configuration and compilation of the pkg
gedeone-octave <marco.vassallo@outlook.com>
parents:
diff changeset
5 AC_LANG(C++)
e74ff416fd54 File for the configuration and compilation of the pkg
gedeone-octave <marco.vassallo@outlook.com>
parents:
diff changeset
6
e74ff416fd54 File for the configuration and compilation of the pkg
gedeone-octave <marco.vassallo@outlook.com>
parents:
diff changeset
7 AC_CHECK_PROG([HAVE_MKOCTFILE], [mkoctfile], [yes], [no])
e74ff416fd54 File for the configuration and compilation of the pkg
gedeone-octave <marco.vassallo@outlook.com>
parents:
diff changeset
8 if [test $HAVE_MKOCTFILE = "no"]; then
e74ff416fd54 File for the configuration and compilation of the pkg
gedeone-octave <marco.vassallo@outlook.com>
parents:
diff changeset
9 AC_MSG_ERROR([mkoctfile required to install $PACKAGE_NAME])
e74ff416fd54 File for the configuration and compilation of the pkg
gedeone-octave <marco.vassallo@outlook.com>
parents:
diff changeset
10 fi
e74ff416fd54 File for the configuration and compilation of the pkg
gedeone-octave <marco.vassallo@outlook.com>
parents:
diff changeset
11
e74ff416fd54 File for the configuration and compilation of the pkg
gedeone-octave <marco.vassallo@outlook.com>
parents:
diff changeset
12 AC_CHECK_HEADERS([dolfin.h], [ ],
e74ff416fd54 File for the configuration and compilation of the pkg
gedeone-octave <marco.vassallo@outlook.com>
parents:
diff changeset
13 [AC_MSG_ERROR([dolfin required to install $PACKAGE_NAME])]
e74ff416fd54 File for the configuration and compilation of the pkg
gedeone-octave <marco.vassallo@outlook.com>
parents:
diff changeset
14 )
e74ff416fd54 File for the configuration and compilation of the pkg
gedeone-octave <marco.vassallo@outlook.com>
parents:
diff changeset
15 AC_CONFIG_FILES([Makefile])
e74ff416fd54 File for the configuration and compilation of the pkg
gedeone-octave <marco.vassallo@outlook.com>
parents:
diff changeset
16 AC_OUTPUT