* Fixes NB#95349, checks the presence of profile-data-dev package when building modest
authorSergio Villar Senin <svillar@igalia.com>
Mon, 19 Jan 2009 17:08:37 +0000 (17:08 +0000)
committerSergio Villar Senin <svillar@igalia.com>
Mon, 19 Jan 2009 17:08:37 +0000 (17:08 +0000)
pmo-trunk-r7186

configure.ac

index e1a3700..aa3edf0 100644 (file)
@@ -38,8 +38,6 @@ MODEST_LOCALE_DIR='$prefix/${DATADIRNAME}/locale'
 AM_GLIB_DEFINE_LOCALEDIR([MODEST_LOCALE_DIR])
 AM_GLIB_GNU_GETTEXT
 
 AM_GLIB_DEFINE_LOCALEDIR([MODEST_LOCALE_DIR])
 AM_GLIB_GNU_GETTEXT
 
-
-
 if test x$prefix = xNONE; then
    prefix=/usr/local
 fi
 if test x$prefix = xNONE; then
    prefix=/usr/local
 fi
@@ -188,6 +186,7 @@ if test "$have_hildon2" = "true"; then
    detected_toolkit=hildon2
    hildonpkgs="$hildonpkgs libcanberra profile"
    echo "HILDON 2 PACKAGES $hildonpkgs"
    detected_toolkit=hildon2
    hildonpkgs="$hildonpkgs libcanberra profile"
    echo "HILDON 2 PACKAGES $hildonpkgs"
+   AC_CHECK_HEADER([profiled/keys_nokia.h], [], AC_MSG_ERROR([You have to install package profile-data-dev]))
 fi
 AC_SUBST(hildonpkgs)
 
 fi
 AC_SUBST(hildonpkgs)