Subject: Re: 13apr2000 /usr/src/usr.sbin/pppd/pppd/Makefile oddity
To: Sean Doran <smd@ebone.net>
From: None <itojun@iijlab.net>
List: current-users
Date: 04/14/2000 21:55:53
>There are some lines in basesrc/usr.sbin/pppd/pppd/Makefile version 1.27:
>CPPFLAGS+= -DCBCP_SUPPORT -DCHAPMS -DUSE_CRYPT -DMSLANMAN
>CPPFLAGS+= -DINET6
(snip)
>Building with the CPPFLAGS+= -DINET6 works OK. I think
>the Makefile should be updated to check for USE_INET6.
USE_INET6 is only for pkgsrc. since we ship userland in binary form,
we need to always enable IPv6 for userland (otherwise, users would
need to recompile the whole userland when he turns on IPv6).
I'll fix non-IPv6 build anyways. sorry for the mess.
>Is it common practice to define INET6 etc. unconditionally?
yes.
itojun