]> rtime.felk.cvut.cz Git - coffee/buildroot.git/blob - package/nmap/0002-configure.ac-fix-AC_CHECK_HEADER-call-to-test-for-li.patch
zsh: bump to version 5.5
[coffee/buildroot.git] / package / nmap / 0002-configure.ac-fix-AC_CHECK_HEADER-call-to-test-for-li.patch
1 From ff629766dbd3b5e179330ba4f07fd7e3d8384ec0 Mon Sep 17 00:00:00 2001
2 From: Max Filippov <jcmvbkbc@gmail.com>
3 Date: Wed, 1 Nov 2017 15:30:40 +0100
4 Subject: [PATCH] configure.ac: fix AC_CHECK_HEADER call to test for libssh2
5
6 The -lm argument is passed as an argument to AC_CHECK_HEADER(), which
7 doesn't make sense. The intention was to pass it as the fifth
8 argument of AC_CHECK_LIB().
9
10 Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
11 ---
12  configure.ac | 2 +-
13  1 file changed, 1 insertion(+), 1 deletion(-)
14
15 diff --git a/configure.ac b/configure.ac
16 index 3d00e164e..67db42e08 100644
17 --- a/configure.ac
18 +++ b/configure.ac
19 @@ -674,7 +674,7 @@ AC_HELP_STRING([--without-libssh2], [Compile without libssh2]),
20        AC_CHECK_LIB(ssh2, libssh2_version,
21          [have_libssh2=yes
22          LIBSSH2_INC=$with_libssh2/include
23 -        LIBSSH2_LIB=$with_libssh2/lib])],,[-lm])
24 +        LIBSSH2_LIB=$with_libssh2/lib],,[-lm])])
25  
26      LDFLAGS=$_ldflags
27      CPPFLAGS=$_cppflags
28 -- 
29 2.13.6
30