comparison configure.in @ 1758:8b9bbf92725f

require libchamplain 0.4 - check for libchamplain 0.4 - dropped libchamplain 0.3.x support http://sourceforge.net/tracker/index.php?func=detail&aid=2861847&group_id=222125&atid=1054680
author nadvornik
date Fri, 25 Sep 2009 20:39:15 +0000
parents 49460282eed9
children a210f58165ed
comparison
equal deleted inserted replaced
1757:8ecdf8445ef5 1758:8b9bbf92725f
341 AC_ARG_ENABLE([gps], 341 AC_ARG_ENABLE([gps],
342 AC_HELP_STRING([--enable-gps], [enable GPS map support - experimental]), 342 AC_HELP_STRING([--enable-gps], [enable GPS map support - experimental]),
343 [libgps=$enableval], [libgps=auto]) 343 [libgps=$enableval], [libgps=auto])
344 344
345 if test "x${libgps}" = "xyes"; then 345 if test "x${libgps}" = "xyes"; then
346 PKG_CHECK_MODULES(LIBCHAMPLAIN, [champlain-0.3 >= 0.3], 346 PKG_CHECK_MODULES(LIBCHAMPLAIN, [champlain-0.4 >= 0.4],
347 [ 347 [
348 HAVE_LIBCHAMPLAIN=yes 348 HAVE_LIBCHAMPLAIN=yes
349 AC_DEFINE(HAVE_LIBCHAMPLAIN, 1, [define to enable use of GPS maps]) 349 AC_DEFINE(HAVE_LIBCHAMPLAIN, 1, [define to enable use of GPS maps])
350 ], 350 ],
351 [ 351 [
355 else 355 else
356 HAVE_LIBCHAMPLAIN=disabled 356 HAVE_LIBCHAMPLAIN=disabled
357 fi 357 fi
358 358
359 if test "x${libgps}" = "xyes"; then 359 if test "x${libgps}" = "xyes"; then
360 PKG_CHECK_MODULES(LIBCHAMPLAIN_GTK, [champlain-gtk-0.3 >= 0.3], 360 PKG_CHECK_MODULES(LIBCHAMPLAIN_GTK, [champlain-gtk-0.4 >= 0.4],
361 [ 361 [
362 HAVE_LIBCHAMPLAIN_GTK=yes 362 HAVE_LIBCHAMPLAIN_GTK=yes
363 AC_DEFINE(HAVE_LIBCHAMPLAIN_GTK, 1, [define to enable use of GPS maps]) 363 AC_DEFINE(HAVE_LIBCHAMPLAIN_GTK, 1, [define to enable use of GPS maps])
364 ], 364 ],
365 [ 365 [