* [PATCH] crda: report if no supported version of libnl is found
@ 2009-01-30 22:33 Pavel Roskin
2009-02-02 22:54 ` Luis R. Rodriguez
0 siblings, 1 reply; 2+ messages in thread
From: Pavel Roskin @ 2009-01-30 22:33 UTC (permalink / raw)
To: Luis R Rodriguez, linux-wireless
Otherwise, the error messase would be very confusing.
---
Makefile | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile
index aaa9ca6..461103d 100644
--- a/Makefile
+++ b/Makefile
@@ -52,6 +52,10 @@ NLLIBS += -lnl-genl
NLLIBNAME = libnl-2.0
endif
+ifeq ($(NLLIBNAME),)
+$(error Cannot find development files for any supported version of libnl)
+endif
+
NLLIBS += `pkg-config --libs $(NLLIBNAME)`
CFLAGS += `pkg-config --cflags $(NLLIBNAME)`
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] crda: report if no supported version of libnl is found
2009-01-30 22:33 [PATCH] crda: report if no supported version of libnl is found Pavel Roskin
@ 2009-02-02 22:54 ` Luis R. Rodriguez
0 siblings, 0 replies; 2+ messages in thread
From: Luis R. Rodriguez @ 2009-02-02 22:54 UTC (permalink / raw)
To: Pavel Roskin; +Cc: Luis R Rodriguez, linux-wireless@vger.kernel.org
On Fri, Jan 30, 2009 at 02:33:06PM -0800, Pavel Roskin wrote:
> Otherwise, the error messase would be very confusing.
Heh yeah good catch. Applied, thanks.
Luis
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-02-02 22:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-30 22:33 [PATCH] crda: report if no supported version of libnl is found Pavel Roskin
2009-02-02 22:54 ` Luis R. Rodriguez
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).