Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sbin/ifconfig Don't build af_inet6.c if USE_INET6 is no.



details:   https://anonhg.NetBSD.org/src/rev/7e7d733db514
branches:  trunk
changeset: 579636:7e7d733db514
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sun Mar 20 02:44:25 2005 +0000

description:
Don't build af_inet6.c if USE_INET6 is no.

diffstat:

 sbin/ifconfig/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 7ad483263035 -r 7e7d733db514 sbin/ifconfig/Makefile
--- a/sbin/ifconfig/Makefile    Sun Mar 20 02:43:50 2005 +0000
+++ b/sbin/ifconfig/Makefile    Sun Mar 20 02:44:25 2005 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.26 2005/03/20 02:43:50 thorpej Exp $
+#      $NetBSD: Makefile,v 1.27 2005/03/20 02:44:25 thorpej Exp $
 #      @(#)Makefile    8.1 (Berkeley) 6/5/93
 
 .include <bsd.own.mk>
@@ -23,7 +23,9 @@
 
 SRCS+= af_atalk.c
 SRCS+= af_inet.c
+.if (${USE_INET6} != "no")
 SRCS+= af_inet6.c
+.endif
 SRCS+= af_iso.c
 SRCS+= af_ns.c
 



Home | Main Index | Thread Index | Old Index