Subject: /usr/sbin/config in -current
To: None <tech-kern@netbsd.org>
From: Michael Richardson <mcr@sandelman.ottawa.on.ca>
List: tech-kern
Date: 06/27/2001 14:09:30
-----BEGIN PGP SIGNED MESSAGE-----


Jason, Chris, Hubert, Matthew:
(recent people who hacked on config)

  The hacks that I had been doing to 1.4 and 1.5's config to permit
out-of-/usr/src builds of device drivers look like they are almost obsoleted
by prefix and cinclude. 

  (I still need a way to get things added to conf.c. I would still like to
propose my #define AUX_CONF hack as simple, already implemented, and
non-revolutionary. I welcome revolution stuff as well, and would also test
them, but I can not originate them at this time)

  However, I think that there isn't a way in "prefix" to indicate that one
wants to push the directory in which the CONFIG file was found onto the
stack, or a way to cinclude something from that directory.
  
  I would propose @ to refer to starting directory, but I am open to
other suggestions.
  {Alternatively, we can consider adding full variable references.}

  This requires a call to getcwd(2) in main.c, and some code in
util.c:prefix_push() to use that path.  I have this code already.

   :!mcr!:            |  Solidum Systems Corporation, http://www.solidum.com
   Michael Richardson |    Travelling... if you don't know where I am, how should I?
 Personal: mcr@sandelman.ottawa.on.ca. PGP key available.
 Corporate: <A HREF="mailto:mcr@solidum.com">mcr@solidum.com</A>. 






-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (NetBSD)
Comment: Processed by Mailcrypt 3.5.5 and Gnu Privacy Guard <http://www.gnupg.org/>

iQCVAwUBOzohVIqHRg3pndX9AQEDUwP/UGCRjtzhbjuqzVT9vv18Jnie9ZlSTuTz
vMnfHH8/e+ppN8MSsFbfIFwkuea/XBjBAJ9/w8CsROEuwSwxkj0gh5nMGIhNV3eU
11V6HLFq+JBOTM4Qe/KfQTMLyoiJojnyY2BdE5EXZ36BeQod5rY7cJej6rHjdO3d
213mMxBdnsM=
=M8yA
-----END PGP SIGNATURE-----