mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-11-05 04:06:38 +08:00
50 lines
2.7 KiB
Diff
50 lines
2.7 KiB
Diff
diff --git a/Makefile.am b/Makefile.am
|
|
index c6f694e..6082285 100644
|
|
--- a/Makefile.am
|
|
+++ b/Makefile.am
|
|
@@ -1,6 +1,6 @@
|
|
SUBDIRS = poly2tri-c bin
|
|
|
|
-ACLOCAL_AMFLAGS = -I m4
|
|
+ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
|
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
|
pkgconfig_DATA = poly2tri-c.pc
|
|
diff --git a/configure.ac b/configure.ac
|
|
index 8ba632f..a52b355 100644
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -83,9 +83,6 @@ AC_PROG_CC
|
|
# -Werror, so we will only add that option afterwards. For more information, see
|
|
# the discussion at http://lists.gnu.org/archive/html/bug-autoconf/2010-01/msg00031.html
|
|
|
|
-# Pedantic errors please
|
|
-CFLAGS="$CFLAGS -Wall -ansi -pedantic"
|
|
-
|
|
# Find the standard math functions
|
|
# Taken from http://www.flameeyes.eu/autotools-mythbuster/autoconf/finding.html
|
|
AC_CHECK_HEADERS([math.h])
|
|
@@ -93,9 +90,6 @@ AC_SEARCH_LIBS([log10], [m], [], [
|
|
AC_MSG_ERROR([unable to find the log10() function])
|
|
])
|
|
|
|
-# Warnings as errors please
|
|
-CFLAGS="$CFLAGS -Werror"
|
|
-
|
|
# Find GLib support via pkg-config
|
|
PKG_CHECK_MODULES([GLIB], [glib-2.0 >= 2.28])
|
|
|
|
diff --git a/poly2tri-c/refine/Makefile.am b/poly2tri-c/refine/Makefile.am
|
|
index 8701b0d..74edd34 100644
|
|
--- a/poly2tri-c/refine/Makefile.am
|
|
+++ b/poly2tri-c/refine/Makefile.am
|
|
@@ -1,6 +1,6 @@
|
|
noinst_LTLIBRARIES = libp2tc-refine.la
|
|
|
|
-libp2tc_refine_la_SOURCES = bounded-line.c bounded-line.h cdt.c cdt.h cdt-flipfix.c cdt-flipfix.h circle.c circle.h cluster.c cluster.h delaunay-terminator.c delaunay-terminator.h edge.c edge.h line.c line.h rmath.c rmath.h mesh.c mesh.h mesh-action.c mesh-action.h point.c point.h pslg.c pslg.h refine.h refiner.c refiner.h triangle.c triangle.h triangulation.h utils.c utils.h vector2.c vector2.h vedge.c vedge.h vtriangle.c vtriangle.h visibility.c visibility.h
|
|
+libp2tc_refine_la_SOURCES = bounded-line.c bounded-line.h cdt-flipfix.c cdt-flipfix.h circle.c circle.h cluster.c cluster.h delaunay-terminator.c delaunay-terminator.h edge.c edge.h line.c line.h rmath.c rmath.h mesh.c mesh.h mesh-action.c mesh-action.h point.c point.h pslg.c pslg.h refine.h refiner.c refiner.h rcdt.c rcdt.h rutils.c rutils.h triangle.c triangle.h triangulation.h vector2.c vector2.h vedge.c vedge.h vtriangle.c vtriangle.h visibility.c visibility.h
|
|
|
|
P2TC_REFINE_publicdir = $(P2TC_publicdir)/refine
|
|
-P2TC_REFINE_public_HEADERS = bounded-line.h cdt.h circle.h cluster.h edge.h line.h mesh.h mesh-action.h point.h pslg.h refine.h refiner.h rmath.h triangle.h triangulation.h utils.h vector2.h vedge.h vtriangle.h visibility.h
|
|
+P2TC_REFINE_public_HEADERS = bounded-line.h circle.h cluster.h edge.h line.h mesh.h mesh-action.h point.h pslg.h rcdt.h refine.h refiner.h rmath.h rutils.h triangle.h triangulation.h vector2.h vedge.h vtriangle.h visibility.h
|