]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* lib/autoconf/general.m4 (_AC_LIBOBJ): Minor optimization.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Tue, 21 Feb 2006 07:16:33 +0000 (07:16 +0000)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Tue, 21 Feb 2006 07:16:33 +0000 (07:16 +0000)
ChangeLog
lib/autoconf/general.m4

index ca567f951c07203bfc68a6de6e5f9fb10e98911d..07098394b07abc3d2fc6c6cfe0f572e729f38178 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2006-02-21  Eric Blake  <ebb9@byu.net>
+
+       * lib/autoconf/general.m4 (_AC_LIBOBJ): Minor optimization.
+
 2006-02-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
        * doc/autoconf.texi (Looping constructs): New node, to
index c1579b6670e9556a48932b53ae1c32bef648b6ea..537b32cc0fca623635e9c87e13ca1d4705425be2 100644 (file)
@@ -2497,10 +2497,7 @@ m4_define([_AC_LIBOBJ],
 [AS_LITERAL_IF([$1],
               [AC_LIBSOURCE([$1.c])],
               [$2])dnl
-case $LIB@&t@OBJS in
-    "$1.$ac_objext"   | \
-  *" $1.$ac_objext"   | \
-    "$1.$ac_objext "* | \
+case " $LIB@&t@OBJS " in
   *" $1.$ac_objext "* ) ;;
   *) AC_SUBST([LIB@&t@OBJS], ["$LIB@&t@OBJS $1.$ac_objext"]) ;;
 esac