[xml] [PATCH v2] libxml2 Fix configure cannot remove messages



Signed-off-by: Gilles Espinasse <g esp free fr>

Inpired by #669493 and #664228 that I should have read before sending firt version of the patch,
this is the other way to solve ./configure cannot remove messages by simply removing rm detection in 
configure.in

There is already a raw 'rm -f' at the end on configure.in

This result to this changes in configure @@ -19,7 +19,6 @@
 checking dependency style of gcc... gcc3
 checking whether ln -s works... yes
 checking how to run the C preprocessor... gcc -E
-checking for rm... /bin/rm
 checking for mv... /bin/mv
 checking for tar... /bin/tar
 checking for perl... /usr/bin/perl @@ -69,12 +68,10 @@
 checking for gcc option to produce PIC... -fPIC -DPIC
 checking if gcc PIC flag -fPIC -DPIC works... yes
 checking if gcc static flag -static works... yes
-checking if gcc supports -c -o file.o... /bin/rm: cannot remove 'conftest*': No such file or directory
-yes
+checking if gcc supports -c -o file.o... yes
 checking if gcc supports -c -o file.o... (cached) yes
 checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
-checking whether -lc should be explicitly linked in... /bin/rm: cannot remove 'conftest*': No such file or 
directory
-no
+checking whether -lc should be explicitly linked in... no
 checking dynamic linker characteristics... GNU/Linux ld.so
 checking how to hardcode library paths into programs... immediate
 checking whether stripping libraries is possible... yes @@ -261,5 +258,4 @@
 config.status: config.h is unchanged
 config.status: executing depfiles commands
 config.status: executing libtool commands
-/bin/rm: cannot remove 'libtoolT': No such file or directory
 Done configuring
---
 configure.in |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/configure.in b/configure.in
index 6da057c..22454ed 100644
--- a/configure.in
+++ b/configure.in
@@ -62,7 +62,6 @@ AC_PROG_INSTALL
 AC_PROG_LN_S
 AC_PROG_MKDIR_P
 AC_PROG_CPP
-AC_PATH_PROG(RM, rm, /bin/rm)
 AC_PATH_PROG(MV, mv, /bin/mv)
 AC_PATH_PROG(TAR, tar, /bin/tar)
 AC_PATH_PROG(PERL, perl, /usr/bin/perl)
-- 
1.7.2.5




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