mirror of
git://sigrok.org/libserialport
synced 2023-08-10 21:13:24 +03:00
configure.ac: Drop unneeded AC_MSG_ERROR.
The default behaviour of PKG_CHECK_MODULES is to abort with an error anyway, but it will also print a more usable error message and hints for the user about how to use PKG_CONFIG_PATH and so on.
This commit is contained in:
parent
5ef8a1ed7f
commit
a3d4a56e15
@ -85,8 +85,7 @@ case $target_os in
|
||||
*linux*)
|
||||
# On Linux libudev is currently a hard requirement.
|
||||
PKG_CHECK_MODULES([libudev], [libudev >= 0],
|
||||
[CFLAGS="$CFLAGS $libudev_CFLAGS"; LIBS="$LIBS $libudev_LIBS"],
|
||||
[AC_MSG_ERROR([libudev.h not found])])
|
||||
[CFLAGS="$CFLAGS $libudev_CFLAGS"; LIBS="$LIBS $libudev_LIBS"])
|
||||
;;
|
||||
*darwin*)
|
||||
LDFLAGS="$LDFLAGS -Wl,-framework -Wl,IOKit -Wl,-framework -Wl,CoreFoundation"
|
||||
|
Loading…
Reference in New Issue
Block a user