Skip to content
Permalink
Browse files
Added a --with-wfs switch to the auto* build system to compile the wf…
…s plugin

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5906 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Oct 2, 2006
1 parent 72e431d commit 535d232e88b9cefef40095d39e0df36e12695390
Showing with 30 additions and 4 deletions.
  1. +1 −1 acinclude.m4
  2. +17 −0 configure.in
  3. +5 −1 src/plugins/Makefile.am
  4. +2 −1 src/plugins/wfs/Makefile.am
  5. +5 −1 src/providers/Makefile.am
@@ -95,7 +95,7 @@ else
AC_MSG_ERROR([Geos Version 2.x.x is needed, but you have $ac_geos_version!])
else
AC_MSG_CHECKING([GEOS_CFLAGS])
GEOS_CFLAGS=`$GEOS_CONFIG --cflags`
GEOS_CFLAGS="`$GEOS_CONFIG --cflags` `$GEOS_CONFIG --cflags`/geos"
AC_MSG_RESULT($GEOS_CFLAGS)
AC_MSG_CHECKING([GEOS_LDADD])
@@ -424,6 +424,22 @@ fi
AM_CONDITIONAL([HAVE_GSL], [test "$ac_gsl" = "yes"])


dnl ---------------------------------------------------------------------------
dnl WFS plugin
dnl ---------------------------------------------------------------------------
AC_MSG_CHECKING([for WFS])

if test -n "$with_wfs" -a x"$with_wfs" != "xno"; then
ac_wfs=yes
AC_DEFINE([HAVE_WFS],1,
[Define to 1 if wfs plugin/provider is requested])
AC_MSG_RESULT([yes])
else
ac_wfs=no
AC_MSG_RESULT([no])
fi
AM_CONDITIONAL([HAVE_WFS], [test "$ac_wfs" = "yes"])

dnl ---------------------------------------------------------------------------
dnl Debugging
dnl ---------------------------------------------------------------------------
@@ -541,6 +557,7 @@ echo "PostgreSQL : $ac_postgresql $postgresql_version_string"
echo "GRASS : $ac_grass"
echo "SPIT : $ac_spit"
echo "Georeferencer : $ac_gsl"
echo "WFS : $ac_wfs"
echo "GPS/GPX : $have_expat_lib"
echo "PROJ4 : $have_proj_lib"
echo "SQLITE3 : $have_sqlite3_lib"
@@ -12,6 +12,9 @@ if HAVE_GRASS
GRASS = grass
endif

if HAVE_WFS
WFS = wfs
endif

SUBDIRS = $(GEOPROCESSING) \
$(SPIT) \
@@ -23,7 +26,8 @@ SUBDIRS = $(GEOPROCESSING) \
grid_maker \
north_arrow \
copyright_label \
scale_bar
scale_bar \
$(WFS)

EXTRA_DIST = \
plugin_builder.pl \
@@ -75,6 +75,7 @@ wfsplugin_la_CXXFLAGS = $(CXXFLAGS) \
-I../../raster \
-I../../../include/qgis \
-I../../providers/wfs \
-I../../widgets/projectionselector
-I../../widgets/projectionselector \
-I..

wfsplugin_la_LDFLAGS = -avoid-version -module
@@ -6,4 +6,8 @@ if HAVE_GRASS
GRASS = grass
endif

SUBDIRS = ogr $(POSTGRESQL) $(GRASS) delimitedtext gpx wms
if HAVE_WFS
WFS = wfs
endif

SUBDIRS = ogr $(POSTGRESQL) $(GRASS) delimitedtext gpx wms $(WFS)

0 comments on commit 535d232

Please sign in to comment.