Add Autotools setup.
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
|
||||
#SUBDIRS = test
|
||||
|
||||
ACLOCAL_AMFLAGS = -I m4
|
||||
|
||||
preprocessdir = $(includedir)/dune/grid/preprocess
|
||||
|
||||
preprocess_HEADERS = facetopology.h preprocess.h sparsetable.h \
|
||||
@@ -13,5 +15,4 @@ libpreprocess_la_SOURCES = facetopology.c uniquepoints.c \
|
||||
preprocess.c sparsetable.c
|
||||
|
||||
|
||||
include $(top_srcdir)/am/global-rules
|
||||
|
||||
## include $(top_srcdir)/am/global-rules
|
||||
|
||||
31
configure.ac
Normal file
31
configure.ac
Normal file
@@ -0,0 +1,31 @@
|
||||
# -*- Autoconf -*-
|
||||
# Process this file with autoconf to produce a configure script.
|
||||
|
||||
AC_PREREQ([2.65])
|
||||
AC_INIT([FULL-PACKAGE-NAME], [VERSION], [BUG-REPORT-ADDRESS])
|
||||
AC_CONFIG_SRCDIR([mxgrdecl.c])
|
||||
AC_CONFIG_MACRO_DIR([m4])
|
||||
AC_CONFIG_HEADERS([config.h])
|
||||
|
||||
AM_INIT_AUTOMAKE([foreign])
|
||||
|
||||
LT_INIT
|
||||
|
||||
# Checks for programs.
|
||||
AC_PROG_CXX
|
||||
AC_PROG_CC
|
||||
AC_PROG_LIBTOOL
|
||||
|
||||
# Checks for libraries.
|
||||
|
||||
# Checks for header files.
|
||||
AC_CHECK_HEADERS([float.h limits.h stdlib.h string.h])
|
||||
|
||||
# Checks for typedefs, structures, and compiler characteristics.
|
||||
|
||||
# Checks for library functions.
|
||||
AC_FUNC_MALLOC
|
||||
AC_FUNC_REALLOC
|
||||
|
||||
AC_CONFIG_FILES([Makefile])
|
||||
AC_OUTPUT
|
||||
Reference in New Issue
Block a user