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

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

Add AM_PROG_CC_C_O to configure.ac to stop newer automake complaining.

File size: 1.0 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], [0.01], [u4112456@anu.edu.au])
6AM_INIT_AUTOMAKE([foreign -Wall -Werror])
7AC_CONFIG_SRCDIR([src/anugavis_simple.c])
8AC_CONFIG_HEADER([config.h])
9
10# Checks for programs.
11AC_PROG_CC
12AC_PROG_RANLIB
13
14# Checks for libraries.
15AX_CHECK_GLU
16AM_PATH_SDL([1.2.12], [], [AC_MSG_ERROR([SDL is required to build.])])
17AC_SUBST([SDL_LIBPATH])
18AC_SEARCH_LIBS([nc_open], [netcdf], [],
19               [AC_MSG_ERROR([Can't link the NetCDF library. (LDFLAGS?)])])
20# Checks for header files.
21AC_CHECK_HEADER([netcdf.h], [],
22                [AC_MSG_ERROR([Can't find the NetCDF header. (CPPFLAGS?)])])
23
24# Checks for typedefs, structures, and compiler characteristics.
25AC_C_CONST
26AM_PROG_CC_C_O
27AC_TYPE_SIZE_T
28
29# Checks for library functions.
30AC_FUNC_MALLOC
31AC_CHECK_FUNCS([strdup])
32
33AC_CONFIG_FILES([Makefile
34                 m4/Makefile
35                 src/Makefile])
36AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.