blob: ae2279939abab9493768fde43962dcceb98575bc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
$NetBSD: patch-ae,v 1.3 2002/12/01 22:32:27 bouyer Exp $
--- autoconf/configure.in.orig Fri Dec 14 16:09:12 2001
+++ autoconf/configure.in Sun Dec 1 15:42:34 2002
@@ -57,13 +57,6 @@
if test x$sysconfdir = x'${prefix}/etc' ; then
sysconfdir='/etc/apcupsd'
fi
-
-dnl
-dnl If the user has not set -sbindir, we set our default as /sbin
-dnl
- if test x$sbindir = x'${exec_prefix}/sbin' ; then
- sbindir='/sbin'
- fi
fi
dnl
@@ -155,7 +148,7 @@
AC_SUBST(UTILPROGS)
dnl Now check for programs
-AC_PATH_PROGS(SHUTDOWN, shutdown shutdown.bsd, no)
+AC_PATH_PROGS(SHUTDOWN, shutdown shutdown.bsd, no, $PATH:/sbin:/usr/sbin)
if test "$SHUTDOWN" = "no"
then
if test "$ac_cv_cygwin" = no
|