autoconf
[Top][All Lists]
Advanced

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

LIBOBJ problems


From: Matias Atria
Subject: LIBOBJ problems
Date: Wed, 22 May 2002 21:00:38 -0400 (EDT)

Hi,

I noticed that setting LIBOBJS manually in 2.53 now produces an error, but
I think the way this is implemented goes a bit too far:

$ cat configure.ac
AC_INIT
test -z "$LIBOBJS"
$ autoconf
configure.ac:2: error: do not use LIBOBJS directly, use AC_LIBOBJ [...]

I don't think examining (without modifying) the value of $LIBOBJS should
be an error. Maybe something like

--- general.m4~ Wed May 22 20:50:50 2002
+++ general.m4  Wed May 22 20:43:05 2002
@@ -1249,3 +1249,3 @@
 m4_pattern_forbid([_AC_])
-m4_pattern_forbid([^LIBOBJS$],
+m4_pattern_forbid([^LIBOBJS=$],
                   [do not use LIBOBJS directly, use AC_LIBOBJ (see section 
`AC_LIBOBJ vs. LIBOBJS'])

would be more appropriate?

Thanks,
Matias.




reply via email to

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