summaryrefslogtreecommitdiff
blob: a3140341a4839ce0d434e5fa97da76c54b4d9e87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
Remove suitesparse (camd,colamd) and zlib bundles
bicatali - apr 2014

--- configure.ac.orig	2014-04-05 14:18:56.045148287 -0700
+++ configure.ac	2014-04-05 14:23:24.878803309 -0700
@@ -59,6 +59,11 @@
 dnl Check for math library
 AC_CHECK_LIB([m], [exp])
 
+AC_CHECK_LIB([amd], [amd_1])
+AC_CHECK_LIB([colamd], [colamd])
+AC_CHECK_HEADER([amd.h])
+AC_CHECK_LIB([z], [gzopen])
+
 dnl Check for <sys/time.h> header
 AC_CHECK_HEADER([sys/time.h],
    AC_DEFINE([HAVE_SYS_TIME_H], [1], [N/A]))
--- src/Makefile.am.orig	2014-04-05 14:19:16.401273769 -0700
+++ src/Makefile.am	2014-04-05 14:21:56.696259485 -0700
@@ -6,15 +6,12 @@
 
 libglpk_la_CPPFLAGS = \
 -I$(srcdir) \
--I$(srcdir)/amd \
 -I$(srcdir)/bflib \
 -I$(srcdir)/cglib \
--I$(srcdir)/colamd \
 -I$(srcdir)/env \
 -I$(srcdir)/minisat \
 -I$(srcdir)/misc \
--I$(srcdir)/proxy \
--I$(srcdir)/zlib
+-I$(srcdir)/proxy
 
 libglpk_la_LDFLAGS = \
 -version-info 37:1:1 \
@@ -92,18 +89,6 @@
 glpssx02.c \
 glptsp.c \
 lux.c \
-amd/amd_1.c \
-amd/amd_2.c \
-amd/amd_aat.c \
-amd/amd_control.c \
-amd/amd_defaults.c \
-amd/amd_dump.c \
-amd/amd_info.c \
-amd/amd_order.c \
-amd/amd_post_tree.c \
-amd/amd_postorder.c \
-amd/amd_preprocess.c \
-amd/amd_valid.c \
 bflib/btf.c \
 bflib/btfint.c \
 bflib/fhv.c \
@@ -117,7 +102,6 @@
 bflib/sva.c \
 cglib/cfg.c \
 cglib/cfg1.c \
-colamd/colamd.c \
 env/alloc.c \
 env/dlsup.c \
 env/env.c \
@@ -150,21 +134,6 @@
 misc/wclique.c \
 misc/wclique1.c \
 proxy/proxy.c \
-proxy/proxy1.c \
-zlib/adler32.c \
-zlib/compress.c \
-zlib/crc32.c \
-zlib/deflate.c \
-zlib/gzclose.c \
-zlib/gzlib.c \
-zlib/gzread.c \
-zlib/gzwrite.c \
-zlib/inffast.c \
-zlib/inflate.c \
-zlib/inftrees.c \
-zlib/trees.c \
-zlib/uncompr.c \
-zlib/zio.c \
-zlib/zutil.c
+proxy/proxy1.c
 
 ## eof ##