suggestion for configure

Add a --with-fqdn and --with-url or equivalent. The current cvs snapshot can't guess my fqdn on my production box, and it's used now to build a web of interconnected addresses, as well as populate the VIRTUAL_HOSTS table, so I had to do a bunch of deleting and repairing in mm_cfg. I can, if I *remember*, which I've already forgotten once, fix it when I build by setting FQDN and URL environment variables, so that configure picks those up by default, but I have a habit of just looking at config.status to see how I ran configure the last time. Having an explicit configure switch would be nice.

A long time ago, Ron Jarrell <jarrell@vt.edu> wrote:
RJ> Add a --with-fqdn and --with-url or equivalent.
Done, except I'm calling them --with-mailhost and --with-urlhost. ;)
I'm also simplifying the configure tests for the defaults of these two values. Now, it'll just use the results of socket.getfqdn() without all the fancy (and fragile) attempts at whacking off the leading `www'.
So by default, when I run it I get DEFAULT_EMAIL_HOST and DEFAULT_URL_HOST set to "yyz.zope.com". Setting DEFAULT_URL_HOST to that isn't correct for my machine, so I now run configure --with-urlhost=localhost
Of course, it's also easy to just change these values in mm_cfg.py -Barry

A long time ago, Ron Jarrell <jarrell@vt.edu> wrote:
RJ> Add a --with-fqdn and --with-url or equivalent.
Done, except I'm calling them --with-mailhost and --with-urlhost. ;)
I'm also simplifying the configure tests for the defaults of these two values. Now, it'll just use the results of socket.getfqdn() without all the fancy (and fragile) attempts at whacking off the leading `www'.
So by default, when I run it I get DEFAULT_EMAIL_HOST and DEFAULT_URL_HOST set to "yyz.zope.com". Setting DEFAULT_URL_HOST to that isn't correct for my machine, so I now run configure --with-urlhost=localhost
Of course, it's also easy to just change these values in mm_cfg.py -Barry
participants (2)
-
barry@zope.com
-
Ron Jarrell