Subject: Re: autoconf AC_PATH_PROGS question
To: None <email@example.com>
From: Manuel Bouyer <firstname.lastname@example.org>
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
> .if exists(/sbin/shutdown)
> CONFIGURE_ENV+= SHUTDOWN=/sbin/shutdown
> 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 <email@example.com>
NetBSD: 26 ans d'experience feront toujours la difference