Changeset 5257
- Timestamp:
- May 1, 2008, 1:29:47 PM (17 years ago)
- Location:
- anuga_work/development/anugavis
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_work/development/anugavis/configure.ac
r5255 r5257 3 3 4 4 AC_PREREQ([2.56]) 5 AC_INIT([ANUGA SWW Visualiser], [ alpha], [u4112456@anu.edu.au])6 AM_INIT_AUTOMAKE([ -Wall -Werror foreign])7 AC_CONFIG_SRCDIR([src/ libanugavis/anugavis.h])5 AC_INIT([ANUGA SWW Visualiser], [0.01], [u4112456@anu.edu.au]) 6 AM_INIT_AUTOMAKE([foreign -Wall -Werror]) 7 AC_CONFIG_SRCDIR([src/anugavis.h]) 8 8 AC_CONFIG_HEADER([config.h]) 9 9 10 10 # Checks for programs. 11 11 AC_PROG_CC 12 AC_PROG_RANLIB 12 13 13 14 # Checks for libraries. 14 15 AX_CHECK_GLU 15 16 AM_PATH_SDL([1.2.12], [], [AC_MSG_ERROR([SDL is required to build.])]) 16 AC_CACHE_CHECK([for SDL library path],17 [anugavis_cv_LIB_SDLPATH],18 [anugavis_cv_LIB_SDLPATH=""19 for token in `sdl-config --libs`; do20 case $token in21 -L*)22 anugavis_cv_LIB_SDLPATH="$anugavis_cv_LIB_SDLPATH $token" ;;23 esac24 done])25 SDL_LIBPATH="$anugavis_cv_LIB_SDLPATH"26 17 AC_SUBST([SDL_LIBPATH]) 27 18 AC_SEARCH_LIBS([nc_open], [netcdf], [], … … 35 26 36 27 # Checks for library functions. 28 AC_FUNC_MALLOC 37 29 38 30 AC_CONFIG_FILES([Makefile 39 31 m4/Makefile 40 src/Makefile 41 src/anugavis_simple/Makefile 42 src/libanugavis/Makefile]) 32 src/Makefile]) 43 33 AC_OUTPUT -
anuga_work/development/anugavis/src/Makefile.am
r5255 r5257 11 11 height_quantity.h \ 12 12 init.c 13 libanugavis_a_CFLAGS = @SDL_CFLAGS@ @GLU_CFLAGS@ 14 libanugavis_a_LIBADD = @LIBOBJS@ 13 15 14 16 bin_PROGRAMS = anugavis_simple 15 17 anugavis_simple_SOURCES = anugavis_simple.c 16 18 anugavis_simple_CFLAGS = @SDL_CFLAGS@ @GLU_CFLAGS@ 17 anugavis_simple_LDADD = @SDL_LIBS@ @GLU_LIBS@19 anugavis_simple_LDADD = -L. -lanugavis @SDL_LIBS@ @GLU_LIBS@
Note: See TracChangeset
for help on using the changeset viewer.