@@ -277,12 +277,6 @@ AM_CONDITIONAL([HAVE_SPIT], [test "$ac_spit" = "yes"])
277
277
dnl ---------------------------------------------------------------------------
278
278
dnl GRASS package
279
279
dnl ---------------------------------------------------------------------------
280
- if test "$libdir" = "/usr/lib64"; then
281
- _lib="lib64"
282
- else
283
- _lib="lib"
284
- fi
285
-
286
280
AC_ARG_WITH(grass,
287
281
AC_HELP_STRING([--with-grass=DIR],[GRASS Support (full path to GRASS binary package, e.g. --with-grass=/usr1/grass57/dist.i686-pc-linux-gnu)]))
288
282
@@ -301,7 +295,7 @@ if test -n "$with_grass" -a x"$with_grass" != "xno"; then
301
295
fi
302
296
303
297
if test ! -f "$GISLIB"; then
304
- AC_MSG_ERROR( [GRASS library not found] )
298
+ AC_MSG_ERROR( [GRASS library not found in $with_grass/${_lib} ] )
305
299
fi
306
300
GRASS_LIB="-L$with_grass/${_lib} -lgrass_vect -lgrass_dig2 -lgrass_dbmiclient -lgrass_dbmibase -lgrass_shape -lgrass_dgl -lgrass_rtree -lgrass_gis -lgrass_datetime -lgrass_linkm -lgrass_form -lgrass_gproj"
307
301
@@ -334,12 +328,24 @@ AC_ARG_ENABLE(gpx,
334
328
AC_HELP_STRING([--disable-gpx],
335
329
[Disable the GPX provider and the GPS plugin (built by default if libexpat is found)]),
336
330
[ac_gpx=$enableval], [ac_gpx=yes])
331
+ AC_MSG_CHECKING([GPX provider and GPS plugin should be installed (default: yes)])
332
+ AC_MSG_RESULT([$ac_gpx])
337
333
have_expat_lib=no
338
334
if [ test $ac_gpx = yes ] ; then
339
335
AC_CHECK_LIB(expat, XML_ParserCreate, have_expat_lib=yes)
340
336
fi
341
337
AM_CONDITIONAL([HAVE_EXPAT], [test "$have_expat_lib" = "yes"])
342
338
339
+ dnl ---------------------------------------------------------------------------
340
+ dnl Community registration plugin
341
+ dnl ---------------------------------------------------------------------------
342
+ AC_ARG_ENABLE(community,
343
+ AC_HELP_STRING([--enable-community],
344
+ [Enable the community registration plugin (broken!)]),
345
+ [ac_com=yes], [ac_com=no])
346
+ AC_MSG_CHECKING([community registration plugin should be installed (broken)])
347
+ AC_MSG_RESULT([$ac_com])
348
+ AM_CONDITIONAL([WITH_COMMUNITY], [test "$ac_com" = "yes"])
343
349
344
350
dnl ---------------------------------------------------------------------------
345
351
dnl Debugging
@@ -391,9 +397,10 @@ AC_CONFIG_FILES([
391
397
providers/grass/Makefile
392
398
providers/gpx/Makefile
393
399
plugins/Makefile
394
- plugins/spit/Makefile
400
+ plugins/community_reg_plugin/Makefile
401
+ plugins/copyright_label/Makefile
402
+ plugins/delimited_text/Makefile
395
403
plugins/example/Makefile
396
- plugins/maplayer/Makefile
397
404
plugins/geoprocessing/Makefile
398
405
plugins/gps_importer/Makefile
399
406
plugins/grid_maker/Makefile
@@ -402,25 +409,24 @@ AC_CONFIG_FILES([
402
409
plugins/grass/modules/Makefile
403
410
plugins/grass/themes/Makefile
404
411
plugins/grass/themes/default/Makefile
412
+ plugins/maplayer/Makefile
413
+ plugins/north_arrow/Makefile
414
+ plugins/scale_bar/Makefile
415
+ plugins/spit/Makefile
405
416
doc/Makefile
406
417
doc/install_guide/Makefile
407
418
doc/images/Makefile
408
419
doc/plugins/Makefile
409
420
doc/plugins/geoprocessing/Makefile
410
421
doc/plugins/geoprocessing/buffer/Makefile
411
422
doc/plugins/delimited_text/Makefile
412
- qgis.spec
413
- plugins/delimited_text/Makefile
414
423
tools/Makefile
415
424
tools/qgis_config/Makefile
416
- i18n/Makefile
417
- plugins/north_arrow/Makefile
418
- plugins/copyright_label/Makefile
419
- plugins/scale_bar/Makefile
420
425
widgets/Makefile
421
426
widgets/projectionselector/Makefile
422
427
designer_plugins/Makefile
423
- plugins/community_reg_plugin/Makefile
428
+ i18n/Makefile
429
+ qgis.spec
424
430
])
425
431
426
432
AC_OUTPUT
@@ -446,4 +452,4 @@ echo "The binary will be installed in $prefix/bin"
446
452
echo ""
447
453
echo "The build is using Qt in $QTDIR"
448
454
echo "------------------------------------------"
449
- echo "Configure finished, type 'make' to build."
455
+ echo "Configure finished, type 'make' to build."
0 commit comments