summaryrefslogtreecommitdiffstats
path: root/configure.ac (plain)
blob: f45958c1c3ec6c3f18c337115600f12f9a8156b4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
AC_INIT([exp007], [0.1], [don@drexel.edu])
AM_INIT_AUTOMAKE([-Wall, -Werror, -Wno-portability])
AC_PROG_CC
AM_CONFIG_HEADER([config.h])
AC_CONFIG_FILES([
	Makefile
	src/Makefile
])

################
# MODULE: HDF5 #
################

AC_SEARCH_LIBS([H5Fcreate],[hdf5],[],
[AC_MSG_ERROR(The HDF5 libraries are needed to build the system.)])

AC_SEARCH_LIBS([H5TBmake_table],[hdf5_hl],[],
[AC_MSG_ERROR(The HDF5 libraries are needed to build the system.)],
[-lhdf5])

AC_CHECK_HEADERS([mpi.h],[],
[AC_MSG_ERROR(The MPI headers are needed to build the system.)])

AC_CHECK_HEADERS([hdf5.h],[],
[AC_MSG_ERROR(The HDF5 headers are needed to build the system.)])

########################
# MODULE: NCBI Toolkit #
########################

# Check for the NCBI ToolBox libraries.
AC_SEARCH_LIBS([log10],[m],[],
[AC_MSG_ERROR(The C Math Library is needed to build the system.)])

AC_SEARCH_LIBS([NlmThreadsAvailable],[ncbi],[],
[AC_MSG_ERROR(The NCBI ToolBox is needed to build the system. Information on this API can be found on-line at http://www.ncbi.nlm.nih.gov/IEB/ToolBox/index.cgi. Debian users can add the package libncbi6-dev to fulfill this dependency.)])

AC_SEARCH_LIBS([SeqAlignNew],[ncbiobj],[],
[AC_MSG_ERROR(The NCBI ToolBox is needed to build the system. Information on this API can be found on-line at http://www.ncbi.nlm.nih.gov/IEB/ToolBox/index.cgi. Debian users can add the package libncbi6-dev to fulfill this dependency.)])

AC_SEARCH_LIBS([Blast_RedoOneMatch],[blastcompadj],[],
[AC_MSG_ERROR(The NCBI ToolBox is needed to build the system. Information on this API can be found on-line at http://www.ncbi.nlm.nih.gov/IEB/ToolBox/index.cgi. Debian users can add the package libncbi6-dev to fulfill this dependency.)])

AC_SEARCH_LIBS([BioseqBlastEngine],[ncbitool],[],
[AC_MSG_ERROR(The NCBI ToolBox is needed to build the system. Information on this API can be found on-line at http://www.ncbi.nlm.nih.gov/IEB/ToolBox/index.cgi. Debian users can add the package libncbi6-dev to fulfill this dependency.)])

AC_OUTPUT

Valid XHTML 1.0 Strict

Copyright © 2009 Don Pellegrino All Rights Reserved.