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 87 88 89 90 91 92 93 94
|
Description: upstream: systemwise local header
Make the local header `local.h' systemwise.
Origin: vendor, Debian
Forwarded: https://github.com/flatsurf/e-antic/pull/235
Author: Jerome Benoit <calculus@rezozer.net>
Last-Update: 2022-02-27
--- a/libeantic/e-antic/fmpq_poly_extra.h
+++ b/libeantic/e-antic/fmpq_poly_extra.h
@@ -13,7 +13,7 @@
#ifndef E_ANTIC_FMPQ_POLY_EXTRA_H
#define E_ANTIC_FMPQ_POLY_EXTRA_H
-#include "local.h"
+#include <e-antic/local.h>
#include <flint/fmpq_poly.h>
#include <arb.h>
--- a/libeantic/e-antic/fmpz_poly_extra.h
+++ b/libeantic/e-antic/fmpz_poly_extra.h
@@ -14,7 +14,7 @@
#ifndef E_ANTIC_FMPZ_POLY_EXTRA_H
#define E_ANTIC_FMPZ_POLY_EXTRA_H
-#include "local.h"
+#include <e-antic/local.h>
#include <flint/fmpz_poly.h>
#include <arb.h>
--- a/libeantic/e-antic/renf.h
+++ b/libeantic/e-antic/renf.h
@@ -18,7 +18,7 @@
#ifndef E_ANTIC_RENF_H
#define E_ANTIC_RENF_H
-#include "local.h"
+#include <e-antic/local.h>
#include <flint/fmpq_poly.h>
#include <antic/nf.h>
--- a/libeantic/e-antic/renf_elem.h
+++ b/libeantic/e-antic/renf_elem.h
@@ -15,7 +15,7 @@
#ifndef E_ANTIC_RENF_ELEM_H
#define E_ANTIC_RENF_ELEM_H
-#include "local.h"
+#include <e-antic/local.h>
#include <flint/fmpq_poly.h>
#include <arb.h>
--- a/libeantic/src/Makefile.am
+++ b/libeantic/src/Makefile.am
@@ -15,6 +15,8 @@
# set, see https://gcc.gnu.org/wiki/Visibility
AM_CPPFLAGS = -DBUILD_LIBEANTIC
+AM_CPPFLAGS += -I$(builddir)/..
+
# Linked-against libraries
libeantic_la_LIBADD = @LIBS@ $(LTLIBOBJS)
--- a/libeantic/srcxx/Makefile.am
+++ b/libeantic/srcxx/Makefile.am
@@ -14,6 +14,8 @@
# set, see https://gcc.gnu.org/wiki/Visibility
AM_CPPFLAGS = -DBUILD_LIBEANTIC
+AM_CPPFLAGS += -I$(builddir)/..
+
# Linked-against libraries
libeanticxx_la_LIBADD = ../src/libeantic.la -lgmpxx -lflint -lantic
--- a/libeantic/benchmark/Makefile.am
+++ b/libeantic/benchmark/Makefile.am
@@ -1,5 +1,7 @@
noinst_PROGRAMS = benchmark
+benchmark_CPPFLAGS = -I$(builddir)/..
+
benchmark_SOURCES = main.cpp renfxx/b-constructor.cpp renfxx/b-arithmetic.cpp renfxx/b-relop.cpp renfxx/b-assignment.cpp
benchmark_LDADD = $(builddir)/../srcxx/libeanticxx.la $(builddir)/../src/libeantic.la
--- a/libeantic/test/Makefile.am
+++ b/libeantic/test/Makefile.am
@@ -10,6 +10,8 @@
AM_CPPFLAGS = -isystem "@abs_srcdir@/external/cereal/include"
+AM_CPPFLAGS += -I$(builddir)/..
+
check_PROGRAMS = \
fmpq_poly_extra/t-evaluate \
fmpq_poly_extra/t-set_str_pretty \
|