Similar to my previous commit, however here the aim is that by moving the logic outside of make then we can
potentially allow other generators (such as CMake) to detect and use other compilers rather than embedding
specific -D flags into the command line.
git-svn-id: http://svn.osgeo.org/postgis/trunk@8809
b70326c6-7e19-0410-871a-
916f4a2858ee
# **********************************************************************
CC = @CC@
-CFLAGS = @CFLAGS@ @PICFLAGS@ @WARNFLAGS@ \
- @GEOS_CPPFLAGS@ -DPOSTGIS_GEOS_VERSION=@POSTGIS_GEOS_VERSION@ \
- @PROJ_CPPFLAGS@ -DPOSTGIS_PROJ_VERSION=@POSTGIS_PROJ_VERSION@
+CFLAGS = @CFLAGS@ @PICFLAGS@ @WARNFLAGS@ @GEOS_CPPFLAGS@ @PROJ_CPPFLAGS@
LDFLAGS = @GEOS_LDFLAGS@ -lgeos_c @PROJ_LDFLAGS@ -lproj
NUMERICFLAGS = @NUMERICFLAGS@
top_builddir = @top_builddir@
#ifndef _LIBLWGEOM_INTERNAL_H
#define _LIBLWGEOM_INTERNAL_H 1
+#include "../postgis_config.h"
+
#include <assert.h>
#include <stdarg.h>
#include <stdint.h>