From 8a0d19cefd076623c424e1509d1105ddc903f801 Mon Sep 17 00:00:00 2001 From: Jia Yuan Lo Date: Tue, 5 May 2020 14:39:06 +0800 Subject: [PATCH] Remove trailing slash from --with-libcurl --- m4/libcurl.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m4/libcurl.m4 b/m4/libcurl.m4 index 6e1010ef03..6f87eb0ce0 100644 --- a/m4/libcurl.m4 +++ b/m4/libcurl.m4 @@ -67,7 +67,7 @@ AC_DEFUN([LIBCURL_CHECK_CONFIG], if test -d "$_libcurl_with" ; then CPPFLAGS="${CPPFLAGS} -I$withval/include" LDFLAGS="${LDFLAGS} -L$withval/lib" - PATH="$withval/bin:${PATH}" + PATH="${withval%/}/bin:$PATH" fi AC_PATH_PROG([_libcurl_config],[curl-config])