]> pilppa.com Git - libplpha.git/commitdiff
build file updates
authorMika Laitio <lamikr@pilppa.org>
Sun, 3 Oct 2010 22:11:32 +0000 (01:11 +0300)
committerMika Laitio <lamikr@pilppa.org>
Sun, 3 Oct 2010 22:11:32 +0000 (01:11 +0300)
.gitignore [new file with mode: 0644]
autobuild.sh
configure.ac

diff --git a/.gitignore b/.gitignore
new file mode 100644 (file)
index 0000000..54c1281
--- /dev/null
@@ -0,0 +1,2 @@
+m4
+autom4te.cache
index c3185915ac8428cf8424c807c6ca7e17772ba447..abb7d1c508e2e89b43e1fbdf38b1b7285ecc1cff 100755 (executable)
@@ -1,11 +1,12 @@
 #!/bin/sh
 
+export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
 if ! [ -e Makefile ] ;
 then
        echo "No Makefile available, generating it."
        libtoolize --automake --force --copy
        autoreconf --force --install
-        PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./configure --prefix=/usr/local
+        ./configure --prefix=/usr/local
 else
        echo "Makefile found, no need to generate it."
 fi
index 44c53b11aa0e075fd6a7cabab9c3eae01c1cd444..f193d20ebc840f82afada5255aa7d4b6104eafad 100644 (file)
@@ -21,7 +21,7 @@ AC_PROG_INSTALL
 
 PKG_PROG_PKG_CONFIG()
 
-PKG_CHECK_MODULES(SRC, libuci)
+PKG_CHECK_MODULES(SRC, libuci libplp)
 AC_SUBST(SRC_CFLAGS)
 AC_SUBST(SRC_LIBS)