diff options
author | Egor Zaharov <nexfwall@yandex.ru> | 2016-03-20 13:43:00 +0000 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2016-03-21 10:32:14 +0200 |
commit | 6ca5f88ddefed16a017e4c4b6543281da2577557 (patch) | |
tree | a53134e137a42e61ff68a69708954134537fa303 /configure.ac | |
parent | 7a8828f68a838eef6616fa39bbaba46c8029b4a6 (diff) |
configure: Restore CPPFLAGS after the last check
The next checks can also set CPPFLAGS.
https://bugzilla.gnome.org/show_bug.cgi?id=763940
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 1e694d9..4d736f9 100644 --- a/configure.ac +++ b/configure.ac @@ -285,7 +285,6 @@ if test "x$with_system_libav" = "xyes"; then saved_CPPFLAGS="$CPPFLAGS" CPPFLAGS="$CPPFLAGS $LIBAV_CFLAGS" AC_CHECK_HEADERS([avi.h]) - CPPFLAGS="$saved_CPPFLAGS" AC_DEFINE([LIBAV_SOURCE], ["system install"], [Describes where the Libav libraries come from.]) HAVE_LIBAV_UNINSTALLED=0 AC_MSG_NOTICE([Using system-installed libav code]) @@ -300,6 +299,7 @@ if test "x$with_system_libav" = "xyes"; then #endif ]])], [is_ffmpeg=yes], [is_ffmpeg=no]) AC_MSG_RESULT([$is_ffmpeg]) + CPPFLAGS="$saved_CPPFLAGS" if test "$is_ffmpeg" = no; then AC_MSG_ERROR([Uncompatible libavcodec found]) fi |