[maemo-commits] [maemo-commits] r8902 - projects/haf/branches/maemo-af-desktop/hildon-desktop

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Fri Dec 29 17:40:18 EET 2006
Author: lucasr
Date: 2006-12-29 17:40:17 +0200 (Fri, 29 Dec 2006)
New Revision: 8902

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

	* configure.ac: make python support optional. To enable it, add
	--enable-python to configure script.


Modified: projects/haf/branches/maemo-af-desktop/hildon-desktop/ChangeLog
===================================================================
--- projects/haf/branches/maemo-af-desktop/hildon-desktop/ChangeLog	2006-12-29 15:35:26 UTC (rev 8901)
+++ projects/haf/branches/maemo-af-desktop/hildon-desktop/ChangeLog	2006-12-29 15:40:17 UTC (rev 8902)
@@ -1,5 +1,10 @@
 2006-12-29  Lucas Rocha  <lucas.rocha at nokia.com>
 
+	* configure.ac: make python support optional. To enable it, add
+	--enable-python to configure script.
+
+2006-12-29  Lucas Rocha  <lucas.rocha at nokia.com>
+
 	Support for python plugins.
 
 	* src/hd-plugin-loader-factory.[ch]: plugin loader for python plugins.

Modified: projects/haf/branches/maemo-af-desktop/hildon-desktop/configure.ac
===================================================================
--- projects/haf/branches/maemo-af-desktop/hildon-desktop/configure.ac	2006-12-29 15:35:26 UTC (rev 8901)
+++ projects/haf/branches/maemo-af-desktop/hildon-desktop/configure.ac	2006-12-29 15:40:17 UTC (rev 8902)
@@ -181,7 +181,7 @@
 AC_ARG_ENABLE(python,
 	      AS_HELP_STRING([--enable-python],[Enable python support]),
 	      [enable_python=$enableval have_python=$enableval], 
-              [enable_python=autodetect have_python=yes])
+              [enable_python=no have_python=no])
 AC_MSG_RESULT([$enable_python])
 
 if test "x$have_python" != "xno"; then
@@ -215,9 +215,6 @@
 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