[xml] [PATCH] libxmlt2 fix configure cannot remove messages
- From: Gilles Espinasse <g esp free fr>
- To: xml gnome org, veillard redhat com
- Subject: [xml] [PATCH] libxmlt2 fix configure cannot remove messages
- Date: Sat, 29 Sep 2012 12:52:59 -0000
Signed-off-by: Gilles Espinasse <g esp free fr>
Libtool need 'rm -f'
Use the fix recommended in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=523750
This change configure display like this
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 +259,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 | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/configure.in b/configure.in
index 6da057c..799dfce 100644
--- a/configure.in
+++ b/configure.in
@@ -63,6 +63,8 @@ AC_PROG_LN_S
AC_PROG_MKDIR_P
AC_PROG_CPP
AC_PATH_PROG(RM, rm, /bin/rm)
+dnl libtool want 'rm -f'
+RM="$RM -f"
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]