+# maemo
+AC_ARG_ENABLE(vehicle-maemo, [ --disable-vehicle-maemo disable vehicle type maemo], vehicle_maemo=$enableval;vehicle_maemo_reason="configure parameter")
+if test "x${vehicle_maemo}" = "xyes" ; then
+ PKG_CHECK_MODULES(LIBLOCATION, liblocation, [
+ AC_SUBST(LIBLOCATION_CFLAGS)
+ AC_SUBST(LIBLOCATION_LIBS)
+ ], [
+ AC_MSG_RESULT(no)
+ vehicle_maemo=no
+ vehicle_maemo_reason="no maemo location library found"
+ ])
+fi
+AM_CONDITIONAL(VEHICLE_MAEMO, test "x${vehicle_maemo}" = "xyes")
+# null
+AC_ARG_ENABLE(vehicle-null, [ --enable-vehicle-null enable vehicle type null], vehicle_null=$enableval;vehicle_null_reason="configure parameter")
+AM_CONDITIONAL(VEHICLE_NULL, test "x${vehicle_null}" = "xyes")