From b51fc639f01ee6194af3e7e944a79accce474fe1 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Sun, 2 Sep 2012 17:28:30 -0400 Subject: build-sys: perform autodetection of quota-tools binaries Use AC_PATH_PROG to try and locate the quotaon and quotacheck binaries, falling back on hardcoded defaults when they can't be found. --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index f1b88384f1..b132499556 100644 --- a/configure.ac +++ b/configure.ac @@ -64,6 +64,9 @@ AC_PROG_GCC_TRADITIONAL AC_PATH_PROG([M4], [m4]) AC_PATH_PROG([XSLTPROC], [xsltproc]) +AC_PATH_PROG([QUOTAON], [quotaon], [/sbin/quotaon]) +AC_PATH_PROG([QUOTACHECK], [quotacheck], [/sbin/quotacheck]) + # gtkdocize greps for '^GTK_DOC_CHECK', so it needs to be on its own line m4_ifdef([GTK_DOC_CHECK], [ GTK_DOC_CHECK([1.18],[--flavour no-tmpl]) -- cgit v1.2.3-54-g00ecf