Commit d674e1a7 authored by Christophe Mutricy's avatar Christophe Mutricy

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

parent 875f1b2a
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment