Remove useless `rm' detection. `rm -f' is directly used in the `configure' script created by autoconf, thus no availability test is necessary. * builds/unix/configure.raw (RMF): Remove test. * builds/unix/unix-def.in (DELETE): Updated.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
diff --git a/ChangeLog b/ChangeLog
index e18545e..2a9b753 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2012-09-30 Gilles Espinasse <g.esp@free.fr>
+
+ Remove useless `rm' detection.
+
+ `rm -f' is directly used in the `configure' script created by
+ autoconf, thus no availability test is necessary.
+
+ * builds/unix/configure.raw (RMF): Remove test.
+ * builds/unix/unix-def.in (DELETE): Updated.
+
2012-09-29 Werner Lemberg <wl@gnu.org>
[autofit] Minor optimization.
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 := /