[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: --with-foo= vs. FOO=${FOO:-foo_default}
From: |
Philip Willoughby |
Subject: |
Re: --with-foo= vs. FOO=${FOO:-foo_default} |
Date: |
Mon, 2 Sep 2002 14:56:39 +0100 (BST) |
Today, address@hidden wrote:
>> It may be wrong (or merely suboptimal) to abuse --with and --enable, but if
>> the only tool you have is a hammer...
>
>This is unfortunately how I feel. I hate to abuse the --with flags, but
>setting 27 different environment variables or editing a config file feels
>like a step back.
Blindingly obvious answer:
Why not copy the AC_ARG_WITH macro and rename it to AC_ARG_DEFAULT and
change the code appropriately.
It seems sensible to me to change the defaults at configure time, but I
agree then --with and --enable are inappropriate.
Regards,
Philip Willoughby
Systems Programmer, Department of Computing, Imperial College, London, UK
--
echo address@hidden | tr "bizndfohces" "pwgd9ociaku"
Re: --with-foo= vs. FOO=${FOO:-foo_default}, Akim Demaille, 2002/09/03