From da34f7ac236ccf5d25aafac249e3d6dc934bde4c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?M=C3=A5ns=20Rullg=C3=A5rd?= <mans@mansr.com>
Date: Thu, 7 Dec 2006 19:25:04 +0000
Subject: [PATCH] do not use non-standard test -nt

Originally committed as revision 7252 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 Makefile | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/Makefile b/Makefile
index 929522c3bf1..1bf8ca3432d 100644
--- a/Makefile
+++ b/Makefile
@@ -198,9 +198,10 @@ endif
 .depend: $(SRCS) version.h
 	$(CC) -MM $(CFLAGS) $(SDL_CFLAGS) $(filter-out %.h,$^) 1>.depend
 
-.libs: lib
-	@test -f .libs || touch .libs
-	@for i in $(DEP_LIBS) ; do if test $$i -nt .libs ; then touch .libs; fi ; done
+$(DEP_LIBS): lib
+
+.libs: $(DEP_LIBS)
+	touch $@
 
 clean:
 	$(MAKE) -C libavutil   clean
-- 
GitLab