]> pilppa.com Git - libplp.git/commitdiff
Hardcoded the linking to libuci
authorMika Laitio <lamikr@pilppa.org>
Mon, 11 Apr 2011 13:41:22 +0000 (16:41 +0300)
committerMika Laitio <lamikr@pilppa.org>
Mon, 11 Apr 2011 13:41:22 +0000 (16:41 +0300)
Removed the pkoconfig check for uci as the patch
has not been accepted to upsteam.

Signed-off-by: Mika Laitio <lamikr@pilppa.org>
configure.ac
libplp.pc.in

index ebfa5b16a2ed55fba0217087154c3960fcea77d9..2849d4f7a235f05c6921898ca77a2bb99034f13d 100644 (file)
@@ -5,12 +5,12 @@ AC_CONFIG_MACRO_DIR([m4])
 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])
@@ -25,9 +25,9 @@ AC_PROG_INSTALL
 
 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
index b663fc448cbe1b76d84f051dcbd8e5b3890c635b..d0a686163976b664ef23aca485f4c8bbc258e44e 100644 (file)
@@ -6,6 +6,6 @@ includedir=@includedir@
 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