Removed the pkoconfig check for uci as the patch
has not been accepted to upsteam.
Signed-off-by: Mika Laitio <lamikr@pilppa.org>
PACKAGE=libplp
VERSION=0.1.0
-CFLAGS="$CFLAGS -g -Wall -Werror"
+CFLAGS="$CFLAGS -g -Wall -Werror -luci"
LDFLAGS="$LDFLAGS -lpthread"
AC_SUBST(CFLAGS)
AC_SUBST(LDFLAGS)
-CXXFLAGS="$CXXFLAGS -ggdb -Wall -Werror"
+CXXFLAGS="$CXXFLAGS -ggdb -Wall -Werror -luci"
AC_SUBST(CXXFLAGS)
AC_MSG_NOTICE([libplp Makefile])
PKG_PROG_PKG_CONFIG()
-PKG_CHECK_MODULES(SRC, libuci)
-AC_SUBST(SRC_CFLAGS)
-AC_SUBST(SRC_LIBS)
+#PKG_CHECK_MODULES(SRC, libuci)
+#AC_SUBST(SRC_CFLAGS)
+#AC_SUBST(SRC_LIBS)
AC_OUTPUT([
libplp.pc
Name: libplp
Description: pilppa common utility library
Version: @VERSION@
-Requires: libuci
+Requires:
Cflags: -I${includedir} -I${includedir}/libplp
-Libs: -L${libdir} -lplp
+Libs: -L${libdir} -lplp -luci