]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* lib/autoconf/general.m4 (_AC_LIBOBJ): We can use AC_SUBST/2,
authorStepan Kasal <kasal@ucw.cz>
Fri, 17 Dec 2004 14:36:23 +0000 (14:36 +0000)
committerStepan Kasal <kasal@ucw.cz>
Fri, 17 Dec 2004 14:36:23 +0000 (14:36 +0000)
  remove the comment which said we cannot.

ChangeLog
lib/autoconf/general.m4

index 6e0402ccd89d9bf48c4386cb8fc99c9291b713a8..8defaf67e30b1289c685c2f35b0cab46e9d4a25e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-12-17  Stepan Kasal  <kasal@ucw.cz>
+
+       * lib/autoconf/general.m4 (_AC_LIBOBJ): We can use AC_SUBST/2,
+         remove the comment which said we cannot.
+
 2004-12-17  Stepan Kasal  <kasal@ucw.cz>
 
        Add a specialized check for resolv.h.  Thanks to Gerrit P. Haase,
index f5ea2b6827f9a41ac47bcd2d75d0c0bd19201a8c..786c825ff0dc7d8427217d2bac2dc62b3940e637 100644 (file)
@@ -2425,27 +2425,23 @@ m4_define([AC_LIBSOURCES],
 # _AC_LIBOBJ(FILE-NAME-NOEXT, ACTION-IF-INDIR)
 # --------------------------------------------
 # We need `FILE-NAME-NOEXT.o', save this into `LIBOBJS'.
-# We don't use AC_SUBST/2 because it forces an unnecessary eol.
 m4_define([_AC_LIBOBJ],
 [AS_LITERAL_IF([$1],
               [AC_LIBSOURCE([$1.c])],
               [$2])dnl
-AC_SUBST([LIB@&t@OBJS])dnl
 case $LIB@&t@OBJS in
     "$1.$ac_objext"   | \
   *" $1.$ac_objext"   | \
     "$1.$ac_objext "* | \
   *" $1.$ac_objext "* ) ;;
-  *) LIB@&t@OBJS="$LIB@&t@OBJS $1.$ac_objext" ;;
+  *) AC_SUBST([LIB@&t@OBJS], ["$LIB@&t@OBJS $1.$ac_objext"]) ;;
 esac
 ])
 
 
-
 # AC_LIBOBJ(FILE-NAME-NOEXT)
 # -------------------------
 # We need `FILE-NAME-NOEXT.o', save this into `LIBOBJS'.
-# We don't use AC_SUBST/2 because it forces an unnecessary eol.
 m4_define([AC_LIBOBJ],
 [_AC_LIBOBJ([$1],
            [AC_DIAGNOSE(syntax,