|
|
|
@ -9,11 +9,10 @@ diff --git a/Makefile.am b/Makefile.am |
|
|
|
new file mode 100644 |
|
|
|
--- /dev/null
|
|
|
|
+++ b/Makefile.am
|
|
|
|
@@ -0,0 +1,5 @@
|
|
|
|
@@ -0,0 +1,4 @@
|
|
|
|
+SUBDIRS = Include Source
|
|
|
|
+EXTRA_DIST = README.txt Doc/ChangeLog Doc/lesser.txt
|
|
|
|
+EXTRA_DIST = README.txt Doc/ChangeLog Doc/License.txt Doc/lesser.txt
|
|
|
|
+
|
|
|
|
+pkgconfigdir = $(libdir)/pkgconfig
|
|
|
|
+pkgconfig_DATA = btf.pc
|
|
|
|
diff --git a/Source/Makefile.am b/Source/Makefile.am
|
|
|
|
new file mode 100644 |
|
|
|
@ -64,21 +63,19 @@ new file mode 100644 |
|
|
|
+# Process this file with autoconf to produce a configure script.
|
|
|
|
+
|
|
|
|
+AC_PREREQ([2.69])
|
|
|
|
+AC_INIT([BTF],[1.2.1],[DrTimothyAldenDavis@gmail.com],[btf],[http://www.suitesparse.com/])
|
|
|
|
+AC_INIT([BTF],[1.2.6],[DrTimothyAldenDavis@gmail.com],[btf],[http://www.suitesparse.com/])
|
|
|
|
+AC_CONFIG_SRCDIR([Source/btf_order.c])
|
|
|
|
+AC_CONFIG_HEADERS([config.h])
|
|
|
|
+AM_INIT_AUTOMAKE([foreign])
|
|
|
|
+LT_INIT
|
|
|
|
+
|
|
|
|
+# Checks for programs.
|
|
|
|
+PKG_PROG_PKG_CONFIG
|
|
|
|
+AC_PROG_INSTALL
|
|
|
|
+AC_PROG_CC
|
|
|
|
+
|
|
|
|
+# Checks for libraries.
|
|
|
|
+PKG_PROG_PKG_CONFIG
|
|
|
|
+PKG_CHECK_MODULES([SUITESPARSECONFIG],[suitesparseconfig],
|
|
|
|
+ [],
|
|
|
|
+ [AC_MSG_ERROR([cannot find suitesparseconfig])])
|
|
|
|
+PKG_CHECK_MODULES([SUITESPARSECONFIG], [suitesparseconfig])
|
|
|
|
+
|
|
|
|
+# Checks for header files.
|
|
|
|
+
|
|
|
|
@ -86,9 +83,11 @@ new file mode 100644 |
|
|
|
+
|
|
|
|
+# Checks for library functions.
|
|
|
|
+
|
|
|
|
+PKG_INSTALLDIR
|
|
|
|
+AC_CONFIG_FILES([
|
|
|
|
+ btf.pc
|
|
|
|
+ Makefile
|
|
|
|
+ Include/Makefile
|
|
|
|
+ Source/Makefile])
|
|
|
|
+ Source/Makefile
|
|
|
|
+])
|
|
|
|
+AC_OUTPUT
|