From 6f1b4d8a9f8a06212013d9731e39ccd3df031f57 Mon Sep 17 00:00:00 2001 From: Kaj-Michael Lang Date: Mon, 6 Aug 2007 18:36:25 +0300 Subject: [PATCH] Fixes to 770 and libgpsd optins --- configure.ac | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 8d37d7b..75da136 100644 --- a/configure.ac +++ b/configure.ac @@ -45,7 +45,7 @@ PKG_CHECK_MODULES(GLIBGTK, glib-2.0 gconf-2.0 dbus-glib-1 gtk+-2.0) AC_SUBST(GLIBGTK_LIBS) AC_SUBST(GLIBGTK_CFLAGS) -AC_ARG_ENABLE([nokia-770],AS_HELP_STRING([--enable-770],[Build for Nokia 770/N800]), +AC_ARG_ENABLE([770],AS_HELP_STRING([--enable-770],[Build for Nokia 770/N800]), [enable_770=$enableval], [enable_770=no]) AC_ARG_ENABLE([hildon],AS_HELP_STRING([--enable-hildon],[Build for Hildon]), @@ -56,7 +56,7 @@ if test "x$enable_770" = "xno" ; then else WITH_DEVICE_770=yes enable_hildon=yes - AC_DEFINE([WITH_DEVICE_770], [1], [With 770/N800 specific code]) + AC_DEFINE([WITH_DEVICE_770], 1, [With 770/N800 specific code]) fi if test "x$enable_hildon" = "xyes" ; then @@ -118,7 +118,7 @@ AC_SUBST(BLUEZ_CFLAGS) AC_CHECK_HEADERS([gps.h], [ac_cv_gps_h=yes]) AC_CHECK_LIB(gps, gps_open,[ac_cv_libgps=yes] ) -if test "x$ac_cv_libgps" != xyes; then +if test "x$ac_cv_libgps" = xyes; then AC_DEFINE(WITH_LIBGPS, 1, [build with gpsd]) fi @@ -255,3 +255,6 @@ AC_OUTPUT( po/Makefile ) +echo "Hildon: ${enable_hildon}" +echo "770/N800: ${enable_770}" + -- 2.39.5