[gnome-applets] add --with-pythondir configure option



commit 57330937b50dab3d5120fb0db8cd9a5375b95d1f
Author: Dmitry Shachnev <mitya57 gmail com>
Date:   Thu Oct 30 21:08:02 2014 +0300

    add --with-pythondir configure option

 configure.ac |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 6f747ce..19a7844 100644
--- a/configure.ac
+++ b/configure.ac
@@ -561,6 +561,16 @@ AC_SUBST(ACLOCAL_AMFLAGS)
 dnl ***************************************************************************
 dnl *** Set install directories                                             ***
 dnl ***************************************************************************
+AC_ARG_WITH([pythondir],
+       AS_HELP_STRING([--with-pythondir=DIR], [installation path for private Python modules @<:@auto@:>@]),
+       [ac_with_pythondir=$withval], [ac_with_pythondir=""])
+if test "$ac_with_pythondir" != ""; then
+       PYTHONDIR=${ac_with_pythondir}
+fi
+
+AC_MSG_NOTICE([installing private Python modules in $PYTHONDIR])
+AC_SUBST(PYTHONDIR)
+
 iconsdir="${datadir}/icons"
 AC_SUBST(iconsdir)
 pixmapsdir="${datadir}/pixmaps"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]