1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
From: Marc Kleine-Budde <mkl@pengutronix.de>
Date: Wed, 3 Feb 2010 13:47:09 +0100
Subject: [PATCH] configure.in: add propper quoting to AC_CHECK_{FUNC,LIB}
This patch fixes this problem:
checking for socket... ./configure: line 1813: ac_fn_c_try_link: command not found
no
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=544809 for more
information.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
---
configure.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.in b/configure.in
index 4a4f916..a83076a 100644
--- a/configure.in
+++ b/configure.in
@@ -227,7 +227,7 @@ dnl =======================================================================
# hide their networking code in various places. (Yes, this links too many
# of our libraries against -lsocket, but a finer-grained mechanism would
# require too much testing.)
-AC_CHECK_FUNC(socket, , AC_CHECK_LIB(socket, socket))
+AC_CHECK_FUNC([socket], [:], [AC_CHECK_LIB([socket], [socket])])
# Above sets LIBS, which is not all that useful because we don't want
# to include every library in every link. It also sets
|