Enable removing third party code by not requiring removed files in automake
authorAndreas Tille <tille@debian.org>
Sun, 20 Dec 2020 16:29:31 +0000 (16:29 +0000)
committerJerome Benoit <calculus@rezozer.net>
Sun, 20 Dec 2020 16:29:31 +0000 (16:29 +0000)
Last-Update: Mon, 30 Mar 2020 13:53:54 +0200
Forwarded: not-needed

Gbp-Pq: Name enable_removing_third_party_code.patch

src/Makefile.am

index cb87d3f036fba281d6afa50178da0783cd809cd2..35e1be78e055deb6741a41902fa7585958ae2ee0 100644 (file)
@@ -11,9 +11,9 @@ AM_CPPFLAGS = $(XML2_CFLAGS)
 
 lib_LTLIBRARIES         = libigraph.la
 
-include lapack/blas.inc
-include lapack/lapack.inc
-include lapack/arpack.inc
+#include lapack/blas.inc
+#include lapack/lapack.inc
+#include lapack/arpack.inc
 include plfit/plfit.inc
 
 F2C =  f2c/abort_.c      f2c/dolio.c       f2c/r_sin.c\
@@ -101,7 +101,7 @@ if INTERNAL_ARPACK
   ARPACK_LIB = libarpack.la
 endif
 
-include ../optional/glpk/glpk.inc
+include ../optional/glpk/glpk.inc
 
 if INTERNAL_GLPK
   libglpk_la_SOURCES =         $(GLPK)
@@ -290,10 +290,10 @@ SOURCES =                      basic_query.c games.c cocitation.c iterators.c \
                                 coloring.c \
                                 degree_sequence.cpp
 
-if INTERNAL_F2C
-else
-  SOURCES += f2c/dummy.c
-endif
+#if INTERNAL_F2C
+#else
+#  SOURCES += f2c/dummy.c
+#endif
 
 libigraph_la_SOURCES       = $(SOURCES) $(HEADERS_PRIVATE)
 libigraph_la_CFLAGS        = -I$(top_srcdir)/include \