The configure script takes a number of arguments. Doing:

% ./configure --help

will give you a list. The most important are:

(1) --with-cfitsio and --with-wcs Use these to specify the path to the
    cfitsio and wcslib distributions. (Usually something like /usr/local).

(2) --prefix Use this to specify where you want the binaries to be installed.
    If you say nothing they will be installed in the top level of the 
    distribution tree in a directory called 'bin'. You then have to make
    sure to include this in your PATH.

An example installation of my own is the following:

% gunzip -c casutools-1.0.6.tar.gz | tar -xvf -

% cd casutools-1.0.6

% ./configure --with-cfitsio=/usr/local --with-wcs=/usr/local
<Lots of output....>

% make
<Lots more output...>

% make install
<More output>

% ls
aclocal.m4	 config.h.in	 configure.ac  Makefile     README
autom4te.cache/  config.log	 depcomp*      Makefile.am  src/
bin/		 config.status*  install-sh*   Makefile.in  stamp-h1
config.h	 configure*	 m4macros/     missing*

% ls bin
imcore*  imcore_list*  imstack*  mosaic*  nebuliser*  wcsfit*


Some documentation on running these programs is available at:
http://casu.ast.cam.ac.uk/surveys-projects/software-release/software-release/view

JRL 20101001

================================================================================
20101001: Tagged as v1.0.6

20101001: Added NICOMB header keywords to output of imstack

20100921: Added verbose output to nebuliser and mosaic. Fixed bug in mosaic
	  affecting the reading of confidence maps when only 1 is present.
	  Forced output images from nebuliser to be both uncompressed and 
	  floating point even if the input is integer.

20100920: Fixed memory leak in imstack 

20100919: tagged as version 1.0.5

20100919: Fixed a bug affecting nebuliser. Added section in imstack_main to 
	  deal with missing extensions. Fixed a few typos.

20100906: tagged as version 1.0.4

20100906: Tidied up some documentation

20100905: Added nebuliser and mosaic applications

20100827: Made changes in imcore to allow NBSIZE to be written to output
	  headers

20100806: tagged as version 1.0.3

20100806: Fixed dodgy calloc in imcore_overlp and wrote workaround to problem
	  with wcspih. 

20100805: tagged as version 1.0.2

20100805: Fixed bug in wcsfit so that simple FITS images are dealt with
	  properly

20100802: tagged as version 1.0.1

20100730: Modifications to automake files. System includes modified to
	  help with build on Mac.

20100729: Mods to imcore source to fix headers in tables that come from 
	  images that are simple FITS files. Basically the header of the 
	  image wasn't being copied to the table extension of the catalogue.
	  Fixed bug that arose when the "noconf" option is used. Fixed spacing
	  in some Makefile.am files.

20100127: Version 1.0.0 released