source: anuga_work/development/anugavis/configure.ac @ 5228

Last change on this file since 5228 was 5228, checked in by jack, 16 years ago

anugavis: Added checking of dynamism in simple height quantities.
anugavis: Added basic OpenGL initialisation. Broke building of DLL.

File size: 1.4 KB
Line 
1#                                               -*- Autoconf -*-
2# Process this file with autoconf to produce a configure script.
3
4AC_PREREQ([2.56])
5AC_INIT([ANUGA SWW Visualiser], [alpha], [u4112456@anu.edu.au])
6AM_INIT_AUTOMAKE([-Wall -Werror foreign])
7AC_CONFIG_SRCDIR([src/libanugavis/anugavis.h])
8AC_CONFIG_HEADER([config.h])
9
10# Checks for programs.
11AC_PROG_CC
12AC_LIBTOOL_WIN32_DLL
13AC_PROG_LIBTOOL
14
15# Checks for libraries.
16AX_CHECK_GLU
17AM_PATH_SDL([1.2.12], [], [AC_MSG_ERROR([SDL is required to build.])])
18AC_CACHE_CHECK([for SDL library path],
19               [anugavis_cv_LIB_SDLPATH],
20               [anugavis_cv_LIB_SDLPATH=""
21                for token in `sdl-config --libs`; do
22                  case $token in
23                  -L*)
24                    anugavis_cv_LIB_SDLPATH="$anugavis_cv_LIB_SDLPATH $token" ;;
25                  esac
26                done])
27SDL_LIBPATH="$anugavis_cv_LIB_SDLPATH"
28AC_SUBST([SDL_LIBPATH])
29AC_SEARCH_LIBS([nc_open], [netcdf], [],
30               [AC_MSG_ERROR([Can't link the NetCDF library. (LDFLAGS?)])])
31# Checks for header files.
32AC_CHECK_HEADER([netcdf.h], [],
33                [AC_MSG_ERROR([Can't find the NetCDF header. (CPPFLAGS?)])])
34
35# Checks for typedefs, structures, and compiler characteristics.
36AC_C_CONST
37
38# Checks for library functions.
39
40AC_CONFIG_FILES([Makefile
41                 m4/Makefile
42                 src/Makefile
43                 src/anugavis_simple/Makefile
44                 src/libanugavis/Makefile])
45AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.