summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorcypherpunks <cypherpunks@torproject.org>2016-12-15 15:33:19 +0000
committerNick Mathewson <nickm@torproject.org>2016-12-23 10:35:13 -0500
commitdee0b869c9393ba2b0d84527be4ed606f320a236 (patch)
tree0da37da712836df87820500d6248d4866c8d0589 /configure.ac
parentef2b7c8a9b99bbee2b4c8563fe35491783e95033 (diff)
downloadtor-dee0b869c9393ba2b0d84527be4ed606f320a236.tar.gz
tor-dee0b869c9393ba2b0d84527be4ed606f320a236.zip
Use the Autoconf macro for finding sed
The AC_PROG_SED macro was added in Autoconf 2.59b and the minimum supported Autoconf version is now 2.63 so we can safely assume it is available.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 1 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index b0fd73ef2b..130ec0964d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -194,14 +194,12 @@ AC_PROG_CC
AC_PROG_CPP
AC_PROG_MAKE_SET
AC_PROG_RANLIB
+AC_PROG_SED
AC_ARG_VAR([PERL], [path to Perl binary])
AC_CHECK_PROGS([PERL], [perl])
AM_CONDITIONAL(USE_PERL, [test "x$ac_cv_prog_PERL" != "x"])
-dnl autoconf 2.59 appears not to support AC_PROG_SED
-AC_CHECK_PROG([SED],[sed],[sed],[/bin/false])
-
dnl check for asciidoc and a2x
AC_PATH_PROG([ASCIIDOC], [asciidoc], none)
AC_PATH_PROGS([A2X], [a2x a2x.py], none)