[vlc-devel] commit: Don't check for headers. Pkg-config is enough (Christophe Mutricy )

git version control git at videolan.org
Mon Mar 3 01:08:10 CET 2008


vlc | branch: master | Christophe Mutricy <xtophe at videolan.org> | Sun Mar  2 23:47:55 2008 +0000| [561ea25c855788c0446bd4f7c3fe35e8c25d2cbe]

Don't check for headers. Pkg-config is enough

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=561ea25c855788c0446bd4f7c3fe35e8c25d2cbe
---

 configure.ac |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 4814641..0781db0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3762,7 +3762,6 @@ if test "${enable_x264}" != "no"; then
       AC_MSG_ERROR([the specified tree doesn't have x264.h])
     fi
   else
-    AC_CHECK_HEADERS(x264.h, [
       PKG_CHECK_MODULES(X264,x264, [
         VLC_ADD_PLUGINS([x264])
         VLC_ADD_LDFLAGS([x264],[${X264_LIBS}])
@@ -3772,7 +3771,6 @@ if test "${enable_x264}" != "no"; then
             AC_MSG_ERROR([Could not find libx264 on your system: you may get it from http://www.videolan.org/x264.html])
           fi
       ])
-    ])
     LDFLAGS="${LDFLAGS_save}"
   fi
 fi




More information about the vlc-devel mailing list