freetype-devel
[Top][All Lists]
Advanced

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

[ft-devel] [PATCH] freetype2 remove useless rm detection


From: Gilles Espinasse
Subject: [ft-devel] [PATCH] freetype2 remove useless rm detection
Date: Sat, 29 Sep 2012 20:00:21 +0200

Signed-off-by: Gilles Espinasse <address@hidden>

rm -f is used anywhere in configure : no detection is needed for rm
---
 builds/unix/configure.raw |    4 +---
 builds/unix/unix-def.in   |    2 +-
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/builds/unix/configure.raw b/builds/unix/configure.raw
index 78c8fb1..e8955b6 100644
--- a/builds/unix/configure.raw
+++ b/builds/unix/configure.raw
@@ -66,10 +66,8 @@ AC_SUBST(CC_BUILD)
 AC_SUBST(EXEEXT_BUILD)
 
 
-
 # auxiliary programs
 
-AC_CHECK_PROG([RMF], [rm], [rm -f])
 AC_CHECK_PROG([RMDIR], [rmdir], [rmdir])
 
 
@@ -125,7 +123,7 @@ echo >> conftest.c "#endif"
 
 ${CPP} ${CPPFLAGS} conftest.c | ${GREP} ac_cpp_ft > conftest.sh
 eval `cat conftest.sh`
-${RMF} conftest.c conftest.sh confft2build.h ftoption.h ftstdlib.h
+rm -f conftest.c conftest.sh confft2build.h ftoption.h ftstdlib.h
 
 if test x != "x${ac_cpp_ft_sizeof_int}" \
    -a x != x"${ac_cpp_ft_sizeof_long}"; then
diff --git a/builds/unix/unix-def.in b/builds/unix/unix-def.in
index e0a7a3a..d3ebc8b 100644
--- a/builds/unix/unix-def.in
+++ b/builds/unix/unix-def.in
@@ -15,7 +15,7 @@
 
 TOP_DIR := $(shell cd $(TOP_DIR); pwd)
 
-DELETE    := @RMF@
+DELETE    := rm -f
 DELDIR    := @RMDIR@
 CAT       := cat
 SEP       := /
-- 
1.7.2.5




reply via email to

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