From 693290ca9caf63d5d5a52088e3f122fe2fee34e7 Mon Sep 17 00:00:00 2001 From: Mika Laitio Date: Mon, 4 Oct 2010 01:11:32 +0300 Subject: [PATCH] build file updates --- .gitignore | 2 ++ autobuild.sh | 3 ++- configure.ac | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..54c1281 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +m4 +autom4te.cache diff --git a/autobuild.sh b/autobuild.sh index c318591..abb7d1c 100755 --- a/autobuild.sh +++ b/autobuild.sh @@ -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 diff --git a/configure.ac b/configure.ac index 44c53b1..f193d20 100644 --- a/configure.ac +++ b/configure.ac @@ -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) -- 2.41.1