configure.ac: allow builddir for NTL
commit459f8ab49755214a648613354e7293b764c80159
authorOleksandr Zinenko <oleksandr.zinenko@lri.fr>
Mon, 23 Feb 2015 15:30:01 +0000 (23 16:30 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Tue, 24 Feb 2015 10:42:54 +0000 (24 11:42 +0100)
tree6007a9d1322e52a5d23d2c19406e107ccb40b595
parent791e12bca9b8129e1f3944b9dee5e3a43d899738
configure.ac: allow builddir for NTL

Allow to choose between system and build in --with-ntl configure option
and to provide related path through --with-ntl-prefix or
--with-ntl-builddir.  The latter should point to the root directory of
the NTL build that contains src and include where configure was invoked
inside src (the only possibility in NTL).  The option is named builddir
to be consistent with other submodules and to suggest that NTL
should be built before building barvinok.  In case the NTL source directory
is given to this option, a suggestion to use the root directory is
emitted within the error message.  Note that NTL does not use autotools so
AX_SUBMODULE may not be used directly for it.

Signed-off-by: Oleksandr Zinenko <zinenko@lri.fr>
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
README
configure.ac