[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-bank] branch master updated: modify configure to aut
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-bank] branch master updated: modify configure to auto-detect --system on Debian |
Date: |
Wed, 01 Nov 2017 11:45:29 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository bank.
The following commit(s) were added to refs/heads/master by this push:
new b5a78db modify configure to auto-detect --system on Debian
b5a78db is described below
commit b5a78db2ea5aa2a9d889717e6d76438a0be09bfc
Author: Christian Grothoff <address@hidden>
AuthorDate: Wed Nov 1 11:45:09 2017 +0100
modify configure to auto-detect --system on Debian
---
configure.ac | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/configure.ac b/configure.ac
index 00619b2..8ba19af 100644
--- a/configure.ac
+++ b/configure.ac
@@ -43,13 +43,12 @@ AX_COMPARE_VERSION([$PIP_VERSION],[lt],[6.0],
[AC_MSG_ERROR([Please install pip3
# On Debian systems, we may need to pass "--system" to pip3 to get
# to the desired installation target directory
-AC_ARG_ENABLE(debian-system,
- AS_HELP_STRING(--enable-debian-system, pass --system option to pip3 to make
Debian pip obey installation prefix),
-[if test x$enableval = xyes; then
- DEBIAN_PIP3_SYSTEM="--system"
-else
+pip3 install --help | grep '\-\-system' >> /dev/null
+if test $? -ne 0;
DEBIAN_PIP3_SYSTEM=""
-fi])
+else
+ DEBIAN_PIP3_SYSTEM="--system"
+fi
AC_SUBST(DEBIAN_PIP3_SYSTEM)
#
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [taler-bank] branch master updated: modify configure to auto-detect --system on Debian,
gnunet <=