summaryrefslogtreecommitdiffstats
Unidiff
-rw-r--r--README21
-rw-r--r--configure.ac28
2 files changed, 37 insertions, 12 deletions
diff --git a/README b/README
index b03724f..b564016 100644
--- a/README
+++ b/README
@@ -27,16 +27,17 @@ selection mechanisms can be used to identify the points under the
27mouse. Alternatively a keyboard command might be added to provide the27mouse. Alternatively a keyboard command might be added to provide the
28information upon a keypress.28information upon a keypress.
2929
30===30See configure.ac for a list of build dependencies.
31DB2
32===
3331
34 export LDFLAGS="-L/home/db2inst1/sqllib/lib"32=====================================
35 export CFLAGS="-I/home/db2inst1/sqllib/include"33Example: Building on a Debian system.
34=====================================
3635
37======================36The following Debian packages are used for the build process.
38CLUSTER.CIS.DREXEL.EDU
39======================
4037
41This project will not build on cluster as the OpenGL support libraries38libtool
42there do not include support for buffer objects.39
40To setup the build tools run:
41
42$ libtoolize
43$ autoreconf
diff --git a/configure.ac b/configure.ac
index 4e0c4ba..fa1de7a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -7,14 +7,38 @@ AC_CONFIG_FILES([
7 src/Makefile7 src/Makefile
8])8])
99
10##################
11# MODULE: OpenGL #
12##################
13
14# Note that this project will not build on systems where the OpenGL
15# support libraries do not include support for buffer objects.
16
10# Check for OpenGL libraries GLUT, GLU and GL. OpenGL is used for the17# Check for OpenGL libraries GLUT, GLU and GL. OpenGL is used for the
11# visualization rendering and interaction.18# visualization rendering and interaction.
12AX_CHECK_GLUT19AX_CHECK_GLUT
1320
14# Check for DB2.21###############
15AC_SEARCH_LIBS([sqlastrt],[db2])22# MODULE: DB2 #
23###############
24
25# Check for DB2 client library.
26AC_SEARCH_LIBS([sqlastrt],[db2],[],
27[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.)])
28
29# Check for DB2 client headers.
30AC_CHECK_HEADERS([sqladef.h],[],
31[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.)])
32
33##########################
34# MODULE: BROWSER PLUGIN #
35##########################
1636
17# Libtool is used to build the library for the browser plugin.37# Libtool is used to build the library for the browser plugin.
18AC_PROG_LIBTOOL38AC_PROG_LIBTOOL
1939
40# Check for the Gecko Plugin API
41AC_CHECK_HEADERS([npapi.h],[],
42[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.)])
43
20AC_OUTPUT44AC_OUTPUT

Valid XHTML 1.0 Strict

Copyright © 2009 Don Pellegrino All Rights Reserved.