[vlc-commits] Configure simplifications
Jean-Baptiste Kempf
git at videolan.org
Tue Dec 18 17:27:00 CET 2012
npapi-vlc | branch: windowless | Jean-Baptiste Kempf <jb at videolan.org> | Fri Dec 14 11:55:11 2012 +0100| [5efe212ff9ca4bb3117812018e9feb10936033ca] | committer: Jean-Baptiste Kempf
Configure simplifications
> http://git.videolan.org/gitweb.cgi/npapi-vlc.git/?a=commit;h=5efe212ff9ca4bb3117812018e9feb10936033ca
---
configure.ac | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/configure.ac b/configure.ac
index 351b66f..7342da5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -190,12 +190,11 @@ dnl we can't use the pkg-config macros.
fi
done
-test "$found" = 0 && AC_MSG_RESULT([no])
+AM_CONDITIONAL(HAVE_SDK, test "$found" = 0)
CPPFLAGS="${CPPFLAGS} ${MOZILLA_CFLAGS}"
-AC_CHECK_HEADERS(npapi.h)
-AC_CHECK_HEADERS(npruntime.h, [
+AC_CHECK_HEADERS(npapi.h npruntime.h, [
dnl if found
],[
dnl if not found
More information about the vlc-commits
mailing list