autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

I upgraded to autoconf 2.52g


From: Bruce Korb
Subject: I upgraded to autoconf 2.52g
Date: Sat, 09 Feb 2002 12:20:27 -0800

...and after the upgrade, autoconf error-ed out.
It seems this version will not allow me to examine the
contents of LIBOBJS.  I can understand not setting its
value directly, but examining its contents?  Why?
Anyway, this ugly kludgery seems to get through the issue,
but since the recommended usage of AC_LIBOBJ is ineffective
for this purpose, I am left wondering what the proper
method is.  Especially since the autoconf manual itself
in the "Configuration Commands" node has almost precisely the
example here that was objected to by autoconf....

$ cvs diff configure.in
@@ -403,7 +403,9 @@
 # ----------------------------------------------------------------------
 # Generate the make files.
 # ----------------------------------------------------------------------
-LTLIBOBJS=`echo "$LIBOBJS"|sed 's,\.o ,.lo,g;s,\.o$,.lo,'`
+lo=LIB
+lo="${lo}OBJS"
+LTLIBOBJS=`eval echo \"\\\$${lo}\"|sed 's,\.o ,.lo,g;s,\.o$,.lo,'`
 AC_SUBST(LTLIBOBJS)
 
 AC_SUBST(LIBS)

$ egrep -2 LIBOBJS snprintfv/Makefile.am
libsnprintfv_la_LDFLAGS = -no-undefined -version-info \
                          @SNV_CURRENT@:@SNV_REVISION@:@SNV_AGE@
libsnprintfv_la_LIBADD  = @LTLIBOBJS@
libsnprintfv_la_SOURCES = filament.c


-- 

Bruce Korb <first initial + last name at gnu dot org>
AG URL: http://autogen.sourceforge.net



reply via email to

[Prev in Thread] Current Thread [Next in Thread]