view configure.in @ 1537:8b9213171e74

Apply Peter Neelin patch for xfm concatenation. More test cases.
author stever <stever>
date Mon, 02 Jun 2003 02:49:35 +0000
parents 44f107175820
children 895b657b8a04
line wrap: on
line source

dnl Process this file with autoconf to produce a configure script.

AC_INIT
AC_CONFIG_SRCDIR([libsrc/minc.h])
AC_CONFIG_AUX_DIR(ac_config_aux)
AM_INIT_AUTOMAKE(minc, 1.2)
AM_CONFIG_HEADER([config.h])

AC_REVISION($Revision: 6.10 $)

AC_PROG_INSTALL
AC_PROG_LN_S
AC_PROG_MAKE_SET

AM_PROG_CC_C_O
AC_PROG_RANLIB
AC_PROG_F77
AM_PROG_LEX
AC_PROG_YACC

dnl Build only static libs by default
AC_DISABLE_SHARED
AC_PROG_LIBTOOL

smr_WITH_BUILD_PATH

# Check for required C libraries
mni_REQUIRE_LIB(m,[#include <math.h>],[double x = sqrt(3.);])
mni_REQUIRE_LIB(netcdf,[#include <netcdf.h>],[int i = ncopen("",0);])

dnl Replacement implementations for systems that lack the function.

dnl need ac 2.57 for this? AC_CONFIG_LIBOBJ_DIR(libsrc)
AC_REPLACE_FUNCS(strdup)

dnl Verify existence of mkstemp, tempnam, and tmpnam
AC_CHECK_FUNCS(mkstemp tempnam tmpnam)

dnl This link is needed to allow <volume_io/foo.h> style includes.
AC_CONFIG_LINKS(volume_io/Include/volume_io:volume_io/Include)

AC_CONFIG_FILES([
Makefile 
doc/Makefile
testdir/Makefile 
volume_io/Makefile
volume_io/Documentation/Makefile
volume_io/Testing/Makefile
])
AC_OUTPUT