X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=configure.in;h=4d838368edb5420ebcbe7d43e4d25880a4a24b72;hb=baed555735a67c2b470e2885c23d7384e798839c;hp=c3850e2e28ab12072c49bc631506b91fa10be3a8;hpb=a6b9689cb132609d144ec062cd121ad05c93ea65;p=navit-package diff --git a/configure.in b/configure.in index c3850e2..4d83836 100644 --- a/configure.in +++ b/configure.in @@ -64,6 +64,7 @@ vehicle_wince=no; vehicle_wince_reason=default vehicle_iphone=no; vehicle_iphone_reason=default vehicle_android=no; vehicle_android_reason=default graphics_android=no; graphics_android_reason=default +vehicle_maemo=no; vehicle_maemo_reason=default shared_libnavit=no bin_navit=yes @@ -798,6 +799,19 @@ fi AC_SUBST(GYPSY_CFLAGS) AC_SUBST(GYPSY_LIBS) AM_CONDITIONAL(VEHICLE_GYPSY, test "x${vehicle_gypsy}" = "xyes") +# 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") @@ -878,6 +892,7 @@ navit/vehicle/file/Makefile navit/vehicle/gpsd/Makefile navit/vehicle/gpsd_dbus/Makefile navit/vehicle/gypsy/Makefile +navit/vehicle/maemo/Makefile navit/vehicle/null/Makefile navit/vehicle/demo/Makefile navit/vehicle/wince/Makefile @@ -979,6 +994,7 @@ echo " file: $vehicle_file ($vehicle_file_reason)" echo " gpsd: $vehicle_gpsd ($vehicle_gpsd_reason)" echo " gpsd_dbus: $vehicle_gpsd_dbus ($vehicle_gpsd_dbus_reason)" echo " gypsy: $vehicle_gypsy ($vehicle_gypsy_reason)" +echo " maemo: $vehicle_maemo ($vehicle_maemo_reason)" echo " null: $vehicle_null ($vehicle_null_reason)" echo " wince: $vehicle_wince ($vehicle_wince_reason)" echo " iphone: $vehicle_iphone ($vehicle_iphone_reason)"