Tcl Source Code

View Ticket
Login
Ticket UUID: 529884
Title: autoconf-2.5X patches
Type: Patch Version: None
Submitter: nobody Created on: 2002-03-14 13:56:04
Subsystem: 53. Configure and Build Tools Assigned To: mdejong
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2003-03-13 18:08:30
Resolution: Accepted Closed By: mdejong
    Closed on: 2003-03-13 11:08:30
Description:
The following patches were needed to cleanly generate
a configure script using autoconf-2.53. The direct
use of the LIBOBJS variable generates warnings, and
the patches fix that by using the AC_LIBOBJ macros
instead.

The enclosed patch has the changes needed for

tcl/unix/configure.in
tcl/unix/tcl.m4
tk/unix/configure.in

Thanks to everyone working on tcl and tk!
User Comments: mdejong added on 2003-03-13 18:08:30:
Logged In: YES 
user_id=90858

Added most of the logic of this patch. I left out some of
the changes
that I saw no reason for. The HEAD now requires autoconf 2.57.

nobody added on 2002-04-23 07:03:28:
Logged In: NO 

> These look OK, except for what the heck is:
>    if test x"${LIB@&t@OBJS}" != x ; then
> in unix/tcl.m4?

The "@&t@" bit is taken straight from the autoconf
documentation. It's a workaround for the use of
the LIBOBJS variable in the file. Look for the
"AC_LIBOBJ vs LIBOBJS" page in the autoconf
docs. This page (in the past) has had a problem
being accessed via info because the name of the
page was "AC_LIBOBJ vs. LIBOBJS", and the "."
character cause the info reader problems, so it may
be simpler to look at the texinfo source for
autoconf.

mdejong added on 2002-04-23 06:39:53:
Logged In: YES 
user_id=90858

We can't use this patch until after Tcl 8.4 is released.
The AC_LIBOBJ macro does not exist in autoconf 2.13.

autoconf: Undefined macros:
configure.in:188:    AC_LIBOBJ([strstr])

I don't think it is worth our time to try to make
things work with both 2.13 and 2.5X. Lets just
stick to 2.13 for the 8.4 release and then go
through the pain of upgrading in the CVS head.

hobbs added on 2002-04-23 06:27:05:
Logged In: YES 
user_id=72656

These look OK, except for what the heck is:
   if test x"${LIB@&t@OBJS}" != x ; then
in unix/tcl.m4?

I assume this doesn't impair still using autoconf 2.13?

mdejong added on 2002-04-19 05:50:02:

File Added - 21483: conf.patch

Logged In: YES 
user_id=90858

Woops, forgot to attach the original patches.
The submitter was Art Haas (ahaas at neosoft.com)

Attachments: