Replace each use of AC_SUBST(LIBOBJS)/LIBOBJS=... with AC_LIBOBJ([function_name]).
[gnulib.git] / m4 / putenv.m4
index f9fcc8c..d674eb7 100644 (file)
@@ -1,4 +1,4 @@
-#serial 3
+#serial 4
 
 dnl From Jim Meyering.
 dnl
@@ -33,8 +33,7 @@ AC_DEFUN(jm_FUNC_PUTENV,
             jm_cv_func_svid_putenv=no)
   ])
   if test $jm_cv_func_svid_putenv = no; then
-    AC_SUBST(LIBOBJS)
-    LIBOBJS="$LIBOBJS putenv.$ac_objext"
+    AC_LIBOBJ([putenv])
     AC_DEFINE_UNQUOTED(putenv, rpl_putenv,
       [Define to rpl_putenv if the replacement function should be used.])
   fi