mirror of
https://git.osgeo.org/gitea/postgis/postgis
synced 2024-10-24 09:02:37 +00:00
Add --without-postgresql switch to only build liblwgeom (#3157)
git-svn-id: http://svn.osgeo.org/postgis/trunk@13882 b70326c6-7e19-0410-871a-916f4a2858ee
This commit is contained in:
parent
ccb9499d82
commit
1f9323eaa0
|
@ -4,8 +4,10 @@
|
|||
#
|
||||
#-----------------------------------------------------
|
||||
|
||||
# todo: add all subdirs
|
||||
SUBDIRS = liblwgeom libpgcommon postgis regress @RASTER@ @TOPOLOGY@ loader utils doc @EXTENSIONS@
|
||||
SUBDIRS = liblwgeom
|
||||
ifeq (@LIBLWGEOM_ONLY@,no)
|
||||
SUBDIRS += libpgcommon postgis regress @RASTER@ @TOPOLOGY@ loader utils doc @EXTENSIONS@
|
||||
endif
|
||||
|
||||
PERL = @PERL@
|
||||
|
||||
|
|
16
configure.ac
16
configure.ac
|
@ -1019,6 +1019,22 @@ fi
|
|||
|
||||
AC_SUBST([TOPOLOGY])
|
||||
|
||||
dnl ====================================
|
||||
dnl --without-postgresql
|
||||
dnl ====================================
|
||||
AC_ARG_WITH([postgresql],
|
||||
[AS_HELP_STRING([--without-postgresql],
|
||||
[Disable the postgresql extensions])],
|
||||
[], [LIBLWGEOM_ONLY="no"])
|
||||
if test "x$with_postgresql" != "xno"; then
|
||||
LIBLWGEOM_ONLY="yes"
|
||||
AC_MSG_RESULT([PostgreSQL support requested])
|
||||
else
|
||||
AC_MSG_RESULT([PostgreSQL support disabled])
|
||||
fi
|
||||
|
||||
AC_SUBST([LIBLWGEOM_ONLY])
|
||||
|
||||
dnl ====================================
|
||||
dnl interrupt tests
|
||||
dnl ====================================
|
||||
|
|
Loading…
Reference in a new issue