diff options
-rw-r--r-- | configure.in | 4 | ||||
-rwxr-xr-x | configure.in.in | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/configure.in b/configure.in index 8c99b48..b87b8d1 100644 --- a/configure.in +++ b/configure.in @@ -102,7 +102,7 @@ AC_CHECK_HEADER([GL/gl.h], \ AC_LANG_SAVE AC_LANG_CPLUSPLUS cxx_flags_safe="$CXXFLAGS" -CXXFLAGS="$CXXFLAGS -D__STDC_CONSTANT_MACROS" +CXXFLAGS="$CXXFLAGS -D__STDC_CONSTANT_MACROS -I$qt_includes" AC_CHECK_HEADER([ffmpeg/avcodec.h], \ [AC_DEFINE(OLD_FFMPEG,1, [old ffmpeg])], \ [AC_CHECK_HEADER([libavcodec/avcodec.h], \ @@ -115,7 +115,7 @@ AC_LANG_SAVE AC_LANG_CPLUSPLUS cxx_flags_safe="$CXXFLAGS" cflags_safe="$CFLAGS" -CXXFLAGS="$CXXFLAGS -D__STDC_CONSTANT_MACROS" +CXXFLAGS="$CXXFLAGS -D__STDC_CONSTANT_MACROS -I$qt_includes" CFLAGS="$CFLAGS -D__STDC_CONSTANT_MACROS" AC_MSG_CHECKING([if libavformat/avformat.h provides av_free_packet]) AC_TRY_LINK([#include <libavformat/avformat.h> diff --git a/configure.in.in b/configure.in.in index b0446b2..414ff9a 100755 --- a/configure.in.in +++ b/configure.in.in @@ -46,7 +46,7 @@ AC_CHECK_HEADER([GL/gl.h], \ AC_LANG_SAVE AC_LANG_CPLUSPLUS cxx_flags_safe="$CXXFLAGS" -CXXFLAGS="$CXXFLAGS -D__STDC_CONSTANT_MACROS" +CXXFLAGS="$CXXFLAGS -D__STDC_CONSTANT_MACROS -I$qt_includes" AC_CHECK_HEADER([ffmpeg/avcodec.h], \ [AC_DEFINE(OLD_FFMPEG,1, [old ffmpeg])], \ [AC_CHECK_HEADER([libavcodec/avcodec.h], \ @@ -59,7 +59,7 @@ AC_LANG_SAVE AC_LANG_CPLUSPLUS cxx_flags_safe="$CXXFLAGS" cflags_safe="$CFLAGS" -CXXFLAGS="$CXXFLAGS -D__STDC_CONSTANT_MACROS" +CXXFLAGS="$CXXFLAGS -D__STDC_CONSTANT_MACROS -I$qt_includes" CFLAGS="$CFLAGS -D__STDC_CONSTANT_MACROS" AC_MSG_CHECKING([if libavformat/avformat.h provides av_free_packet]) AC_TRY_LINK([#include <libavformat/avformat.h> |