On 07/16/2009 04:24:44 PM, James Yonan wrote:
Matthias Andree wrote:
> James Yonan schrieb:
>
>> 2009.07.16 -- Version 2.1_rc19
> ...
>
>> * In configure.ac, use datadir instead of datarootdir for
compatibility
>>    with <autoconf-2.60.
>
> Dear Jim,
>
> This is backwards.  Please don't do that,


We need to be able to build OpenVPN on older Linux distros, such as
RHEL
4, that use pre-2.60 versions of autoconf.

I don't know about earlier, but autoconf 2.59 comes with

# m4_version_prereq(VERSION, [IF-OK], [IF-NOT = FAIL])
# ----------------------------------------------------
# Check this Autoconf version against VERSION.

AFICT this can be used to do things one way with older
versions and another with newer.

m4_version_preqreq(`2.60', datarootdir, datadir)

I can't say whether this is actually a better way
to do things.

Karl <k...@meme.com>
Free Software:  "You don't pay back, you pay forward."
                 -- Robert A. Heinlein

Reply via email to