From 4d695ec81fe4d4335ee82c7a9346ad9c9e144ecc Mon Sep 17 00:00:00 2001 From: tpearson Date: Fri, 27 May 2011 22:55:45 +0000 Subject: [PATCH] Fix k9copy configure checks git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/k9copy@1233835 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- configure.in | 4 ++-- 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 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