[maemo-commits] [maemo-commits] r8901 - projects/haf/branches/maemo-af-desktop/example-plugins

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Fri Dec 29 17:35:27 EET 2006
Author: lucasr
Date: 2006-12-29 17:35:26 +0200 (Fri, 29 Dec 2006)
New Revision: 8901

Modified:
   projects/haf/branches/maemo-af-desktop/example-plugins/ChangeLog
   projects/haf/branches/maemo-af-desktop/example-plugins/configure.ac
Log:
2006-12-29  Lucas Rocha  <lucas.rocha at nokia.com>

	* configure.ac: added python-hildon-desktop dependency check.


Modified: projects/haf/branches/maemo-af-desktop/example-plugins/ChangeLog
===================================================================
--- projects/haf/branches/maemo-af-desktop/example-plugins/ChangeLog	2006-12-29 15:34:36 UTC (rev 8900)
+++ projects/haf/branches/maemo-af-desktop/example-plugins/ChangeLog	2006-12-29 15:35:26 UTC (rev 8901)
@@ -1,5 +1,9 @@
 2006-12-29  Lucas Rocha  <lucas.rocha at nokia.com>
 
+	* configure.ac: added python-hildon-desktop dependency check.
+
+2006-12-29  Lucas Rocha  <lucas.rocha at nokia.com>
+
 	* src/pythonpanel.py, src/python-panel.desktop.in, src/Makefile.am:
 	added python plugin example.
 	* configure.ac: added --enable-python and python dependency checks.

Modified: projects/haf/branches/maemo-af-desktop/example-plugins/configure.ac
===================================================================
--- projects/haf/branches/maemo-af-desktop/example-plugins/configure.ac	2006-12-29 15:34:36 UTC (rev 8900)
+++ projects/haf/branches/maemo-af-desktop/example-plugins/configure.ac	2006-12-29 15:35:26 UTC (rev 8901)
@@ -94,14 +94,13 @@
         PKG_CHECK_MODULES(PYGTK, pygtk-2.0 >= 2.6)
         AC_SUBST(PYGTK_CFLAGS)
         AC_SUBST(PYGTK_LIBS)
+
+        PKG_CHECK_MODULES(PYTHON_HILDON_DESKTOP, python-hildon-desktop >= 0.0.1)
 fi
 
 if test "x$have_python" != "xyes"; then
     if test "x$enable_python" = "xyes"; then
         AC_MSG_ERROR([Python not found])
-    elif test "x$enable_python" = "xautodetect"; then
-        enable_python=no
-        AC_MSG_WARN([Python not found, disabling python support])
     fi
 elif test "x$enable_python" != "xno"; then
     enable_python=yes


More information about the maemo-commits mailing list