Add missing file to Makefile.am.

Fix detection of GUI dependencies in configure.ac.
This commit is contained in:
Jon Lund Steffensen
2010-06-13 23:53:36 +02:00
parent aa95d01f78
commit 57afd85c00
11 changed files with 19 additions and 15 deletions
+8 -4
View File
@@ -141,22 +141,26 @@ AC_ARG_ENABLE([gui], [AC_HELP_STRING([--enable-gui],
[enable_gui=$enableval],[enable_gui=maybe])
# Statusicon GUI
AS_IF([test "x$enable_gui" = xstatusicon -o "x$enable_gui" = maybe], [
AS_IF([test $have_python != yes], [
AS_IF([test "x$enable_gui" = xstatusicon -o "x$enable_gui" = xmaybe], [
AS_IF([test "x$have_python" != xyes], [
AS_IF([test "x$enable_gui" = xstatusicon], [
AC_MSG_ERROR([status icon script requires Python 2.6])
])
enable_gui=maybe
], [
enable_gui=statusicon
])
])
# Appindicator GUI
AS_IF([test "x$enable_gui" = xappindicator -o "x$enable_gui" = maybe], [
AS_IF([test $have_python != yes], [
AS_IF([test "x$enable_gui" = xappindicator -o "x$enable_gui" = xmaybe], [
AS_IF([test "x$have_python" != xyes], [
AS_IF([test "x$enable_gui" = xappindicator], [
AC_MSG_ERROR([application indicator script requires Python 2.6])
])
enable_gui=maybe
], [
enable_gui=appindicator
])
])