Enable removing third party code by not requiring removed files in automake
authorAndreas Tille <tille@debian.org>
Thu, 30 Apr 2020 08:18:11 +0000 (09:18 +0100)
committerAndreas Tille <tille@debian.org>
Thu, 30 Apr 2020 08:18:11 +0000 (09:18 +0100)
Last-Update: Mon, 30 Mar 2020 13:53:54 +0200

Gbp-Pq: Name enable_removing_third_party_code.patch

src/Makefile.am

index 67d7e9d62610449837fba7113e01c446bca61ca9..e04f80d6ccfa124d910a30d04242973d905082fc 100644 (file)
@@ -9,9 +9,9 @@ AM_YFLAGS = -d
 
 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\
@@ -99,7 +99,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)
@@ -387,10 +387,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 \