Subject: Re: autoconf AC_PATH_PROGS question
To: None <>
From: Manuel Bouyer <>
List: tech-pkg
Date: 11/16/2006 22:34:19
On Thu, Nov 16, 2006 at 12:12:52AM +0100, Joerg Sonnenberger wrote:
> > I could, but then it may not't find shutdown on non-netbsd systems ...
> Which system does *not* provide /sbin/shutdown? Let's ignore obscure
> "Just for the sake of it" Linux distros -- isn't that the standard
> location in both BSD and SysV?

No, solaris has it in /usr/sbin too

> Otherwise:
> .if exists(/sbin/shutdown)
> CONFIGURE_ENV+=	SHUTDOWN=/sbin/shutdown
> .endif
> should do the trick.

I hoped to have a clean solution with autoconf. For now I've just changed
-x to -f in the generated script 

Manuel Bouyer <>
     NetBSD: 26 ans d'experience feront toujours la difference