Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Add AC_PREREQ(2.13) to configure.in

Closed / Accepted583573ffffffffffffffffffffffffffffffffffCreated 24 years agoUpdated 24 years ago
Descriptionplain2002-07-18 22:26:27
The newest cygwin for windows is installed with
autoconf 2.53a and 2.13, so autoconf fails if used,
because 2.53a is used by default.

To force usage of autoconf 2.13 AC_PREREQ(2.13) should
probably be used in configure.in.
mic42 Ticket [583573ffff]: 2 changes [History diff]2002-07-19 05:27:08
mdejongplain2002-07-19 05:32:34
Logged In: YES 
user_id=90858

This would not do anything since the prereq
only sets the lower bound. It would not fail
with 2.5X.
mic42plain2002-07-20 02:34:41
Logged In: YES 
user_id=302287

It does something, because the newest cygwin environment on windows uses a wrapper_script (/usr/bin/autoconf) 
to decide which version of autoconf should be used. If one types autoconf the wrapper is invoked, checks if 
AC_PREREQ <= 2.13 and invokes the STABLE version in that case (2.13), otherwise the DEVELOP version is 
used (2.53a), which results in a failure with the configure.in of the sample extension.

If it doesn't hurt on Unix and other platforms, but makes the autoconf run better under unmodified cygwin why not do 
it?
mdejongplain2002-07-20 03:29:47
Logged In: YES 
user_id=90858

Ok, I will add this. It seems of little use
since this only works under Cygwin, but
I guess it could not hurt.
Log in (anonymous is fine) to add a comment.