summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2008-02-05 18:42:23 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2008-02-05 18:42:23 +0000
commit918e69d802813cc4899287e6fb922ba0c7f28259 (patch)
treef69c74ae891d05421948cd46ebb873310171c405 /sci-libs/klu/files
parentInitial import, part of the suitesparse (diff)
downloadgentoo-2-918e69d802813cc4899287e6fb922ba0c7f28259.tar.gz
gentoo-2-918e69d802813cc4899287e6fb922ba0c7f28259.tar.bz2
gentoo-2-918e69d802813cc4899287e6fb922ba0c7f28259.zip
Initial import, part of the suitesparse
(Portage version: 2.1.4)
Diffstat (limited to 'sci-libs/klu/files')
-rw-r--r--sci-libs/klu/files/klu-1.0.1-autotools.patch61
1 files changed, 61 insertions, 0 deletions
diff --git a/sci-libs/klu/files/klu-1.0.1-autotools.patch b/sci-libs/klu/files/klu-1.0.1-autotools.patch
new file mode 100644
index 000000000000..c094f50fa5c4
--- /dev/null
+++ b/sci-libs/klu/files/klu-1.0.1-autotools.patch
@@ -0,0 +1,61 @@
+--- configure.ac 1970-01-01 01:00:00.000000000 +0100
++++ configure.ac 2008-02-01 16:31:38.558242220 +0000
+@@ -0,0 +1,13 @@
++# -*- Autoconf -*-
++AC_PREREQ(2.59)
++AC_INIT(klu, 1.0.1, davis@cise.ufl.edu)
++AM_INIT_AUTOMAKE([foreign])
++AC_PROG_INSTALL
++AC_PROG_LIBTOOL
++AC_CHECK_LIB(m, sqrt)
++AC_CHECK_LIB(btf, BTF_strongcomp)
++AC_CHECK_LIB(amd, amd_malloc)
++AC_CHECK_LIB(colamd, COLAMD_recommended)
++AC_CHECK_HEADERS(UFconfig.h)
++AC_CONFIG_FILES([Makefile Source/Makefile Demo/Makefile])
++AC_OUTPUT
+--- ./Demo/Makefile.am 1970-01-01 01:00:00.000000000 +0100
++++ ./Demo/Makefile.am 2008-01-30 18:02:49.154496996 +0000
+@@ -0,0 +1,8 @@
++# KLU Demo Makefile. The klu_simple demo is stand-alone. The other demos
++# would require CHOLMOD.
++
++LDADD = $(top_builddir)/Source/libklu.la -lbtf -lamd -lcolamd
++AM_CPPFLAGS = -I$(top_srcdir)/Include
++check_PROGRAMS = klu_simple
++TESTS = klu_simple
++klu_simple_SOURCES = klu_simple.c
+--- ./Source/Makefile.am 1970-01-01 01:00:00.000000000 +0100
++++ ./Source/Makefile.am 2008-02-01 17:34:49.641897670 +0000
+@@ -0,0 +1,24 @@
++AM_CPPFLAGS = -I$(top_srcdir)/Include
++
++noinst_LTLIBRARIES = libklud.la libkluz.la libklul.la libkluzl.la
++
++KLUSRC = klu.c klu_kernel.c klu_dump.c \
++ klu_factor.c klu_free_numeric.c klu_solve.c \
++ klu_scale.c klu_refactor.c \
++ klu_tsolve.c klu_diagnostics.c klu_sort.c klu_extract.c
++
++CKLUSRC = klu_free_symbolic.c klu_defaults.c klu_analyze_given.c \
++ klu_analyze.c klu_memory.c
++
++libklud_la_SOURCES = $(KLUSRC) $(CKLUSRC)
++libkluz_la_SOURCES = $(KLUSRC)
++libkluz_la_CPPFLAGS = $(AM_CPPFLAGS) -DCOMPLEX
++libklul_la_SOURCES = $(KLUSRC) $(CKLUSRC)
++libklul_la_CPPFLAGS = $(AM_CPPFLAGS) -DDLONG
++libkluzl_la_SOURCES = $(KLUSRC)
++libkluzl_la_CPPFLAGS = $(AM_CPPFLAGS) -DDLONG -DCOMPLEX
++
++lib_LTLIBRARIES = libklu.la
++libklu_la_SOURCES =
++libklu_la_LIBADD = -lamd -lbtf -lcolamd \
++ libklud.la libkluz.la libklul.la libkluzl.la
+--- ./Makefile.am 1970-01-01 01:00:00.000000000 +0100
++++ ./Makefile.am 2008-01-30 15:49:31.290914565 +0000
+@@ -0,0 +1,4 @@
++SUBDIRS = Source Demo
++EXTRA_DIST = README.txt
++include_HEADERS = Include/klu.h Include/klu_version.h Include/klu_internal.h
++