]> git.sesse.net Git - vlc/commitdiff
Don't check for headers. Pkg-config is enough
authorChristophe Mutricy <xtophe@videolan.org>
Sun, 2 Mar 2008 23:47:55 +0000 (23:47 +0000)
committerChristophe Mutricy <xtophe@videolan.org>
Mon, 3 Mar 2008 00:47:49 +0000 (00:47 +0000)
configure.ac

index 4814641a980c0b1da64d840687c7f4ca78bfa4a9..0781db07a5500e755106d6524466a97bff7c1d56 100644 (file)
@@ -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