diff options
author | Pavel Roskin <proski@gnu.org> | 2009-01-30 14:33:06 -0800 |
---|---|---|
committer | Luis R. Rodriguez <lrodriguez@atheros.com> | 2009-02-02 14:53:48 -0800 |
commit | 8e4ae9f3f025e681fbcbac87dc1394513a5b15be (patch) | |
tree | 9f514b083bcafca598f6f95c7ed883039f457d45 | |
parent | 83730433ff90fb4339e11d57c5872a0c943cc1d1 (diff) | |
download | crda-8e4ae9f3f025e681fbcbac87dc1394513a5b15be.tar.gz crda-8e4ae9f3f025e681fbcbac87dc1394513a5b15be.tar.bz2 crda-8e4ae9f3f025e681fbcbac87dc1394513a5b15be.zip |
crda: report if no supported version of libnl is found
Otherwise, the error messase would be very confusing.
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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)` |