summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.in3
-rwxr-xr-xconfigure.in.in3
2 files changed, 2 insertions, 4 deletions
diff --git a/configure.in b/configure.in
index 7eb7746..a930bfa 100644
--- a/configure.in
+++ b/configure.in
@@ -115,8 +115,7 @@ CFLAGS="$CFLAGS -D__STDC_CONSTANT_MACROS"
AC_MSG_CHECKING([if libavformat/avformat.h provides av_free_packet])
AC_TRY_LINK([#include <libavformat/avformat.h>
],[AVPacket *packet; av_free_packet(packet);],
-[AC_MSG_RESULT(yes)
-AC_DEFINE(NEEDS_AV_FREE_PACKET,0,[yes])],
+AC_MSG_RESULT(yes),
[AC_MSG_RESULT(no)
AC_DEFINE(NEEDS_AV_FREE_PACKET,1,[no])])
CXXFLAGS="$cxx_flags_safe"
diff --git a/configure.in.in b/configure.in.in
index 3c1ef01..521ade7 100755
--- a/configure.in.in
+++ b/configure.in.in
@@ -58,8 +58,7 @@ CFLAGS="$CFLAGS -D__STDC_CONSTANT_MACROS"
AC_MSG_CHECKING([if libavformat/avformat.h provides av_free_packet])
AC_TRY_LINK([#include <libavformat/avformat.h>
],[AVPacket *packet; av_free_packet(packet);],
-[AC_MSG_RESULT(yes)
-AC_DEFINE(NEEDS_AV_FREE_PACKET,0,[yes])],
+AC_MSG_RESULT(yes),
[AC_MSG_RESULT(no)
AC_DEFINE(NEEDS_AV_FREE_PACKET,1,[no])])
CXXFLAGS="$cxx_flags_safe"