diff options
author | Jon Lund Steffensen <jonlst@gmail.com> | 2010-02-11 22:06:12 +0100 |
---|---|---|
committer | Jon Lund Steffensen <jonlst@gmail.com> | 2010-02-11 22:06:12 +0100 |
commit | 739f806f195a9b6a699cd4c821f321970a916645 (patch) | |
tree | 3fc51094b6d67cca764e9de638de778e5ad9aa76 /configure.ac | |
parent | Update translations. (diff) | |
download | redshift-ng-739f806f195a9b6a699cd4c821f321970a916645.tar.gz redshift-ng-739f806f195a9b6a699cd4c821f321970a916645.tar.bz2 redshift-ng-739f806f195a9b6a699cd4c821f321970a916645.tar.xz |
Turn gtk-redshift into a python module. A launcher script is installed
in bindir.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index 18e2855..5a743ac 100644 --- a/configure.ac +++ b/configure.ac @@ -78,10 +78,15 @@ AC_ARG_ENABLE([gtk], [AC_HELP_STRING([--enable-gtk], [enable GTK status icon])], [enable_gtk=$enableval],[enable_gtk=maybe]) AS_IF([test "x$enable_gtk" != xno], [ - AS_IF([test $have_python != yes], [ - AC_MSG_WARN([status icon script requires Python and PyGTK]) + AS_IF([test $have_python = yes], [ + AC_MSG_RESULT([yes]) + ], [ + AC_MSG_RESULT([missing dependencies]) + AS_IF([test "x$enable_gtk" = xyes], [ + AC_MSG_ERROR([status icon script requires Python 2.4]) + ]) + enable_gtk=no ]) - AC_MSG_RESULT([yes]) ], [ AC_MSG_RESULT([no]) ]) |