At 09:28 08/02/01 -0500, Steve Valliere wrote:

>It would be great if (a) configure recorded the options used to build a package in a 
>format it [configure] could reuse and (b) there were a command line option to tell 
>configure to read those options from a specific file and/or directory. For example, 
>instead of manually entering all of the options (and hoping they match what was used 
>for the previous version) we could enter a command something like this:
>
>  ./configure --use=../vpopmail-4.9/config.opt
>
>Then, any additional options could add (or replace) options from the old file.


What I do when installing is write my own configuration shell script, something like 
the following (for sqwebmail):

#!/bin/sh

./configure \
--enable-webpass=vpopmail \
--enable-hardtimeout=300 \
--enable-autopurge=30 \
--enable-cgibindir=/home/www/navarcles/cgi-bin/webmail \
--enable-imagedir=/home/www/navarcles/mail_img \
--enable-imageurl=http://www.navarcles.com/mail_img/ \
--enable-bannerprog=/home/www/navarcles/cgi-bin/banners.cgi \

Save it as ~/program/config.sh, chmod it to 755 and run it.
Then when there's an upgrade, read the changes file to see if there's anything you 
might want to add or take away, then run the same config.sh.


-- 
All the best (Adéu-siau),
Lou Hevly
[EMAIL PROTECTED]
http://www.visca.com

Reply via email to