NetworkBlockDevice / nbd

Network Block Device
GNU General Public License v2.0
450 stars 116 forks source link

correct shell variable assignment for libnl flags in configure(.ac) #84

Closed thomaspenteker closed 6 years ago

thomaspenteker commented 6 years ago

With dash (0.5.9.1) linked to /bin/sh (actual shell should not matter), I get the following error on configure and a subsequent compliation failure because of lacking LIBS flags.

$ ./configure (...) checking for libnl-genl-3.0 >= 3.1... yes
./configure: 14578: ./configure: CFLAGS+= -I/usr/include/libnl3: not found
./configure: 14579: ./configure: LIBS+= -lnl-genl-3 -lnl-3: not found
(...)

The diff below corrects the variable appending and compilation.