[Freeipa-devel] autogen.sh script?

Nathan Kinder nkinder at redhat.com
Tue Jan 26 00:00:41 UTC 2010


On 01/25/2010 03:57 PM, Nathan Kinder wrote:
> On 01/25/2010 03:36 PM, John Dennis wrote:
>> Who wrote our autogen.sh script and why?
>>
>> Why aren't we using autoreconf instead?
>>
>> FWIW autogen.sh is seriously broken, it's getting incorrect results 
>> when comparing different versions of tools. It thinks 1.7 is newer 
>> than 1.11 because it's doing string comparisons which causes it to 
>> run the wrong versions of some of the tools. I can fix the version 
>> comparison but my inclination is not to bother since autogen scripts 
>> have been replaced by the autoreconf tool. As for testing the minimum 
>> required tool version; is there an actual problem being solved by this?
>>
> It was likely inherited from 389 DS, which was inherited from 
> somewhere I don't recall.  The main reason for minimum version 
> checking in DS was due to generating a configure that worked across 
> RHEL/Fedora/Solaris/HP-UX without running autoreconf on all of those 
> systems before each build (which didn't work either IIRC).  It was 
> found that specific versions were needed to make this work.
Actually, I just looked at the FreeIPA autogen.sh, and it's nothing like 
the 389 DS one.  The 389 Ds autogen.sh just does some minimum version 
checking (in a different way then the FreeIPA script) and then calls 
autoreconf if those requirements are correct.  I'm not sure of the 
origin of the FreeIPA autogen.sh script.

-NGK
>
> _______________________________________________
> Freeipa-devel mailing list
> Freeipa-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/freeipa-devel




More information about the Freeipa-devel mailing list