[vlc-devel] commit: libpostproc/postprocess.h always includes needed headers ( Rafaël Carré )

git version control git at videolan.org
Sun Mar 9 18:35:33 CET 2008


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Sun Mar  9 18:35:17 2008 +0100| [d4fc232a9b2b9a46c2579ad2323ba074f9897465]

libpostproc/postprocess.h always includes needed headers

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

 extras/buildsystem/cmake/include/config.cmake |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/extras/buildsystem/cmake/include/config.cmake b/extras/buildsystem/cmake/include/config.cmake
index a7df0d1..35cc803 100644
--- a/extras/buildsystem/cmake/include/config.cmake
+++ b/extras/buildsystem/cmake/include/config.cmake
@@ -468,7 +468,7 @@ if(FFmpeg_FOUND)
   vlc_check_include_files (ffmpeg/avutil.h libavutil/avutil.h)
   vlc_check_include_files (ffmpeg/swscale.h libswscale/swscale.h)
   check_c_source_compiles( "#include <stdint.h>\n#include <postproc/postprocess.h>\nint main(){return 0;}" HAVE_POSTPROC_POSTPROCESS_H )
-  check_c_source_compiles( "#include <stdint.h>\n#include <libpostproc/postprocess.h>\nint main(){return 0;}" HAVE_LIBPOSTPROC_POSTPROCESS_H )
+  vlc_check_include_files (libpostproc/postprocess.h)
   
   message( STATUS "avcodec found ${HAVE_FFMPEG_AVCODEC_H} || ${HAVE_LIBAVCODEC_AVCODEC_H}")
   message( STATUS "avutil found ${HAVE_FFMPEG_AVUTIL_H} || ${HAVE_LIBAVUTIL_AVUTIL_H}")




More information about the vlc-devel mailing list