From 8337118014694f7f25c0fe0425553914b6ae882a Mon Sep 17 00:00:00 2001 From: alfred Date: Wed, 8 Sep 2004 08:44:14 +0000 Subject: sync with private code: fix a 5.x'ism that 4.x needs protection from. make this code compile standalone. --- share/examples/autofs/driver/Makefile | 3 ++- share/examples/autofs/driver/autodriver.c | 2 +- share/examples/autofs/driver/autotab | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) (limited to 'share/examples/autofs') diff --git a/share/examples/autofs/driver/Makefile b/share/examples/autofs/driver/Makefile index 51791bb..fb7d051 100644 --- a/share/examples/autofs/driver/Makefile +++ b/share/examples/autofs/driver/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.2 2004/07/17 11:26:51 bright Exp $ +# $Id: Makefile,v 1.5 2004/09/08 08:27:12 bright Exp $ # $FreeBSD$ PROG=autodriver @@ -8,6 +8,7 @@ NOMAN= YES WERROR= YES WARNS= 4 CFLAGS+= -g +BINDIR?= /sbin DPADD+= ${.OBJDIR}/../libautofs/libautofs.a #LDADD+= -lautofs diff --git a/share/examples/autofs/driver/autodriver.c b/share/examples/autofs/driver/autodriver.c index e2c9b05..10ccbb0 100644 --- a/share/examples/autofs/driver/autodriver.c +++ b/share/examples/autofs/driver/autodriver.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: autodriver.c,v 1.8 2004/08/31 08:49:56 bright Exp $ + * $Id: autodriver.c,v 1.9 2004/09/08 08:12:21 bright Exp $ * $FreeBSD$ */ #include diff --git a/share/examples/autofs/driver/autotab b/share/examples/autofs/driver/autotab index e2f8569..c56e072 100644 --- a/share/examples/autofs/driver/autotab +++ b/share/examples/autofs/driver/autotab @@ -1,4 +1,4 @@ -# $Id: autotab,v 1.7 2004/08/31 15:59:44 bright Exp $ +# $Id: autotab,v 1.8 2004/09/08 08:12:21 bright Exp $ # $FreeBSD$ # autofs, directory, fstype, opts, path /auto share nfs ro,-R=1 big:/vol/share direct -- cgit v1.1