summaryrefslogtreecommitdiffstats
path: root/configure.ac (plain)
blob: fa1de7a97d14c57af40216c319538374b17f2eda
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
AC_INIT([exp005], [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: OpenGL #
##################

# Note that this project will not build on systems where the OpenGL
# support libraries do not include support for buffer objects.

# Check for OpenGL libraries GLUT, GLU and GL.  OpenGL is used for the
# visualization rendering and interaction.
AX_CHECK_GLUT

###############
# MODULE: DB2 #
###############

# Check for DB2 client library.
AC_SEARCH_LIBS([sqlastrt],[db2],[],
[AC_MSG_ERROR(The DB2 client libraries are needed to build the system. After installation of the client it may be necessary to add -L/home/db2inst1/sqllib/lib to LDFLAGS.)])

# Check for DB2 client headers.
AC_CHECK_HEADERS([sqladef.h],[],
[AC_MSG_ERROR(The DB2 client headers are needed to build the system. After installation of the client it may be necessary to add -I/home/db2inst1/sqllib/include to CPPFLAGS.)])

##########################
# MODULE: BROWSER PLUGIN #
##########################

# Libtool is used to build the library for the browser plugin.
AC_PROG_LIBTOOL

# Check for the Gecko Plugin API
AC_CHECK_HEADERS([npapi.h],[],
[AC_MSG_ERROR(The Gecko Plugin API (NPAPI) is needed to build the system. Information on this API can be found on-line at https://developer.mozilla.org/en/Plugins. Debian users can add the package xulrunner-dev and add -I/usr/include/xulrunner-1.9/unstable to CPPFLAGS.)])

AC_OUTPUT

Valid XHTML 1.0 Strict

Copyright © 2009 Don Pellegrino All Rights Reserved.