From 25cc9face418e901c6ae0bb85b04cbefa4d1f0bb Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 6 Sep 2010 20:33:47 +0000 Subject: Accidentally reversed the logic in th previous commit; this reapirs the resulting FTBFS git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/k9copy@1172276 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- configure.in | 7 ++++--- configure.in.in | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/configure.in b/configure.in index c26bb16..7eb7746 100644 --- a/configure.in +++ b/configure.in @@ -113,11 +113,12 @@ cflags_safe="$CFLAGS" CXXFLAGS="$CXXFLAGS -D__STDC_CONSTANT_MACROS" CFLAGS="$CFLAGS -D__STDC_CONSTANT_MACROS" AC_MSG_CHECKING([if libavformat/avformat.h provides av_free_packet]) -AC_TRY_COMPILE([#include +AC_TRY_LINK([#include ],[AVPacket *packet; av_free_packet(packet);], [AC_MSG_RESULT(yes) -AC_DEFINE(NEEDS_AV_FREE_PACKET,1,[no])], -AC_MSG_RESULT(no)) +AC_DEFINE(NEEDS_AV_FREE_PACKET,0,[yes])], +[AC_MSG_RESULT(no) +AC_DEFINE(NEEDS_AV_FREE_PACKET,1,[no])]) CXXFLAGS="$cxx_flags_safe" CFLAGS="$cflags_safe" AC_LANG_RESTORE diff --git a/configure.in.in b/configure.in.in index 81d28a6..3c1ef01 100755 --- a/configure.in.in +++ b/configure.in.in @@ -56,11 +56,12 @@ cflags_safe="$CFLAGS" CXXFLAGS="$CXXFLAGS -D__STDC_CONSTANT_MACROS" CFLAGS="$CFLAGS -D__STDC_CONSTANT_MACROS" AC_MSG_CHECKING([if libavformat/avformat.h provides av_free_packet]) -AC_TRY_COMPILE([#include +AC_TRY_LINK([#include ],[AVPacket *packet; av_free_packet(packet);], [AC_MSG_RESULT(yes) -AC_DEFINE(NEEDS_AV_FREE_PACKET,1,[no])], -AC_MSG_RESULT(no)) +AC_DEFINE(NEEDS_AV_FREE_PACKET,0,[yes])], +[AC_MSG_RESULT(no) +AC_DEFINE(NEEDS_AV_FREE_PACKET,1,[no])]) CXXFLAGS="$cxx_flags_safe" CFLAGS="$cflags_safe" AC_LANG_RESTORE -- cgit v1.2.1