Remove remnants of previous Autotools build system.

This commit is contained in:
Bård Skaflestad 2011-12-08 13:58:10 +01:00
parent ec3586697f
commit 16780b8312
3 changed files with 0 additions and 104 deletions

View File

@ -1,3 +0,0 @@
SUBDIRS = src examples
ACLOCAL_AMFLAGS = -I m4

View File

@ -1,72 +0,0 @@
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.50])
AC_INIT([opmtransport], [0.1], [Jostein.R.Natvig@sintef.no])
AM_INIT_AUTOMAKE([-Wall -Werror foreign])
# Use "silent" rules by default if available in the Automake being used to
# process this setup. See, e.g.,
#
# http://www.flameeyes.eu/autotools-mythbuster/automake/silent.html
#
# for details, particularly concerning the backwards compatibility.
#
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
LT_INIT
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_SRCDIR([src/spu_explicit.h])
AC_CONFIG_HEADERS([config.h])
# Checks for programs.
AC_PROG_CC
AC_PROG_CXX
AC_PROG_F77
AC_F77_WRAPPERS
# Checks for libraries.
AC_CHECK_LIB([m], [sqrt])
AX_LAPACK
# Checks for header files.
AC_CHECK_HEADERS([assert.h limits.h stdlib.h])
AC_CHECK_HEADERS([sparse_sys.h],
[sparse_sys_header=yes],
[sparse_sys_header=no])
AC_CHECK_HEADERS([suitesparse/umfpack.h],
[umfpack_header=yes],
[umfpack_header=no])
# Checks for typedefs, structures, and compiler characteristics.
AC_TYPE_SIZE_T
# Checks for library functions.
AC_FUNC_MALLOC
AC_FUNC_REALLOC
AC_CHECK_FUNCS([floor memmove memset pow sqrt])
AC_SEARCH_LIBS([umfpack_dl_solve], [umfpack],
[umfpack_lib=yes], [umfpack_lib=no])
AC_SEARCH_LIBS([csrmatrix_elm_index], [opmpressure],
[sparse_sys_lib=yes],
[sparse_sys_lib=no], [$LAPACK_LIBS $BLAS_LIBS])
AM_CONDITIONAL([UMFPACK],
[test "x$umfpack_header" != "xno" -a "x$umfpack_lib" != "xno"])
AM_CONDITIONAL([OPMPRESSURE_SPARSE_SYS],
[test "x$sparse_sys_header" != "xno" -a "x$sparse_sys_lib" != "xno"])
AC_CONFIG_FILES([
Makefile
src/Makefile
examples/Makefile
])
AC_OUTPUT

View File

@ -1,29 +0,0 @@
# Additional definitions to ensure proper include paths
AM_CPPFLAGS = \
-I$(top_srcdir)/src
AM_LDFLAGS = \
$(LAPACK_LIBS) $(BLAS_LIBS)
#-----------------------------------------------------------------------
# Declare example programs
noinst_PROGRAMS =
# "spu_2p" depends on availability of OPMPressure and UMFPACK
if UMFPACK
if OPMPRESSURE_SPARSE_SYS
noinst_PROGRAMS += spu_2p
endif
endif
#-----------------------------------------------------------------------
# Example program sources
spu_2p_SOURCES = \
spu_2p.cpp \
call_umfpack.c \
cart_grid.c \
transport_source.c