[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Findutils-patches] [PATCH 1/4] Locate the Python and faketime binaries
From: |
James Youngman |
Subject: |
[Findutils-patches] [PATCH 1/4] Locate the Python and faketime binaries |
Date: |
Sun, 1 Jun 2014 00:29:17 +0100 |
---
configure.ac | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/configure.ac b/configure.ac
index a7de620..ee5870a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -231,6 +231,12 @@ dnl Hence they need to know if they are being compiled
into findutils or not.
AC_DEFINE([FINDUTILS], 1, [Define if we are compiling GNU findutils])
AC_DEFINE([ALREADY_INCLUDED_CONFIG_H], 1, [Define so that source code can
verify that config.h was already included])
+dnl Test support.
+AM_PATH_PYTHON(,, [:])
+AM_CONDITIONAL([HAVE_PYTHON], [test "$PYTHON" != :])
+AC_CHECK_PROGS([FAKETIME],[faketime],[:])
+AM_CONDITIONAL([HAVE_FAKETIME], [test "$FAKETIME" != :])
+
# This is necessary so that .o files in LIBOBJS are also built via
# the ANSI2KNR-filtering rules.
#LIBOBJS=`echo $LIBOBJS|sed 's/\.o /\$U.o /g;s/\.o$/\$U.o/'`
--
1.7.10.4
- [Findutils-patches] [PATCH 1/4] Locate the Python and faketime binaries,
James Youngman <=