From 54f607e0ec6c4e3f8d9666e9570f15c2e62c547e Mon Sep 17 00:00:00 2001 From: Rayson zhu Date: Sat, 19 Nov 2016 19:17:43 +0800 Subject: [PATCH] Fix broken `configure --enable-system-shared-lib` The following error will occur when configuring with --enable-system-shared-lib: ``` /usr/bin/rm: cannot remove 'libtoolT': No such file or directory ``` This issue is caused by overwriting gnu make variable `RM` with `rm`, whose default value is `rm -f` (https://www.gnu.org/software/make/manual/html_node/Implicit-Variables.html). --- configure.ac | 1 - 1 file changed, 1 deletion(-) diff --git a/configure.ac b/configure.ac index 12eba668..7bb44705 100755 --- a/configure.ac +++ b/configure.ac @@ -63,7 +63,6 @@ AM_COND_IF([ENABLE_DOCUMENTATION], [ AC_PATH_PROG([XMLTO], [xmlto]) test x"$XMLTO" != x || AC_MSG_ERROR([Cannot find `xmlto` in PATH.]) AC_PATH_PROG([GZIP], [gzip], [gzip]) - AC_PATH_PROG([RM], [rm], [rm]) AC_PATH_PROG([MV], [mv], [mv]) AC_PROG_SED ])