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]),
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
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
po/Makefile
)
+echo "Hildon: ${enable_hildon}"
+echo "770/N800: ${enable_770}"
+