[maemo-commits] [maemo-commits] r8240 - projects/haf/trunk/maemo-theme-default

From: mdk at stage.maemo.org mdk at stage.maemo.org
Date: Tue Nov 21 18:16:56 EET 2006
Author: mdk
Date: 2006-11-21 18:16:55 +0200 (Tue, 21 Nov 2006)
New Revision: 8240

Modified:
   projects/haf/trunk/maemo-theme-default/ChangeLog
   projects/haf/trunk/maemo-theme-default/configure.ac
Log:
2006-11-21  Michael Dominic Kostrzewa  <michael.kostrzewa at nokia.com> 

	* configure.ac: Check the existance of the layout using pkgconfig,
	instead of the directory check.



Modified: projects/haf/trunk/maemo-theme-default/ChangeLog
===================================================================
--- projects/haf/trunk/maemo-theme-default/ChangeLog	2006-11-21 16:04:24 UTC (rev 8239)
+++ projects/haf/trunk/maemo-theme-default/ChangeLog	2006-11-21 16:16:55 UTC (rev 8240)
@@ -1,5 +1,10 @@
 2006-11-21  Michael Dominic Kostrzewa  <michael.kostrzewa at nokia.com> 
 
+	* configure.ac: Check the existance of the layout using pkgconfig,
+	instead of the directory check.
+
+2006-11-21  Michael Dominic Kostrzewa  <michael.kostrzewa at nokia.com> 
+
 	* Makefile.am:
 	* NEWS:
 	* template/Makefile.am: Minor cosmetics.

Modified: projects/haf/trunk/maemo-theme-default/configure.ac
===================================================================
--- projects/haf/trunk/maemo-theme-default/configure.ac	2006-11-21 16:04:24 UTC (rev 8239)
+++ projects/haf/trunk/maemo-theme-default/configure.ac	2006-11-21 16:16:55 UTC (rev 8240)
@@ -22,14 +22,7 @@
 AS_AC_EXPAND(THEME_FULL_DIR, "${datadir}/$THEME_DIR")
 
 dnl check the layout installation
-AC_MSG_CHECKING([if the layout specification exists])
-if test ! -d "$LAYOUT_DIR" ; then     
-        AC_MSG_RESULT(no)
-        echo
-        AC_MSG_ERROR([You need the $LAYOUT_DIR layout specification package installed!])
-else
-        AC_MSG_RESULT(yes)
-fi
+PKG_CHECK_MODULES(HILDON_LAYOUT, "$LAYOUT_NAME")
 
 dnl check the tools installation
 PKG_CHECK_MODULES(TOOLS, hildon-theme-tools >= 0.1.0)


More information about the maemo-commits mailing list