summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2010-06-04 14:44:52 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2010-06-04 14:50:34 +0200
commitfd1d579fee735dce1a36e4733b0d44d0ea47b902 (patch)
tree34f3842397bc3d5fefe43007d86605c5132c02c0
parentbe7fecd4487ab7d26b77582c190aed4d259d5b5c (diff)
[configure] add /usr/sbin and /sbin to the path when searching for lighttpd
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index cce4e4e..f03d055 100644
--- a/configure.ac
+++ b/configure.ac
@@ -18,7 +18,7 @@ if test "x$HAVE_PYTHON" != "xyes"; then
AC_MSG_ERROR([Python not found.])
fi
-AC_PATH_PROG([LIGHTTPD],[lighttpd],,)
+AC_PATH_PROG([LIGHTTPD],[lighttpd],,$PATH$PATH_SEPARATOR/usr/sbin$PATH_SEPARATOR/sbin)
if test -z "$LIGHTTPD"; then
AC_MSG_ERROR([lighttpd not found. Define LIGHTTPD=/path/to/lighttpd or make sure lighttpd is in \$PATH])
fi