configure: modify libav configuration 89/27189/3
authorKitae Kim <kt920.kim@samsung.com>
Sat, 6 Sep 2014 07:21:33 +0000 (16:21 +0900)
committerKitae Kim <kt920.kim@samsung.com>
Thu, 11 Sep 2014 11:07:18 +0000 (04:07 -0700)
add --disable-libav option. in case of libav configure failure,
brillcodec module will not be compiled.

Change-Id: Ibdbd63ea57c22b02e3244d7d7441103d26e43ce8
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
configure

index fc5ec5e..8e06cf8 100755 (executable)
--- a/configure
+++ b/configure
@@ -1101,6 +1101,8 @@ for opt do
   ;;
   --enable-libav) libav="yes"
   ;;
+  --disable-libav) libav="no"
+  ;;
   --enable-libpng) libpng="yes"
   ;;
 #
@@ -1417,6 +1419,7 @@ TIZEN-maru options:
   --enable-maru            enable maru board
   --enable-shm             enable shared memory for framebuffer
   --enable-libav           enable libav library
+  --disable-libav          disable libav library
   --enable-libpng          enable png library
 
 NOTE: The object files are built at the place where configure is launched
@@ -3992,9 +3995,9 @@ if test "$libav" != "no"; then
         libs_softmmu="$libav_libs $libs_softmmu"
         libav="yes"
     else
-        if test "$libav" = "yes" ; then
-            feature_not_found "libav"
-        fi
+        #if test "$libav" = "yes" ; then
+        #    feature_not_found "libav"
+        #fi
         libav="no"
     fi
 
@@ -4003,9 +4006,9 @@ if test "$libav" != "no"; then
         libs_softmmu="$libav_libs $libs_softmmu"
         libav="yes"
     else
-        if test "$libav" = "yes" ; then
-            feature_not_found "libav"
-        fi
+        #if test "$libav" = "yes" ; then
+        #    feature_not_found "libav"
+        #fi
         libav="no"
     fi
 
@@ -4014,9 +4017,9 @@ if test "$libav" != "no"; then
         libs_softmmu="$libav_libs $libs_softmmu"
         libav="yes"
     else
-        if test "$libav" = "yes" ; then
-            feature_not_found "libav"
-        fi
+        #if test "$libav" = "yes" ; then
+        #    feature_not_found "libav"
+        #fi
         libav="no"
     fi
 
@@ -4025,9 +4028,9 @@ if test "$libav" != "no"; then
         libs_softmmu="$libav_libs $libs_softmmu"
         libav="yes"
     else
-        if test "$libav" = "yes" ; then
-            feature_not_found "libav"
-        fi
+        #if test "$libav" = "yes" ; then
+        #    feature_not_found "libav"
+        #fi
         libav="no"
     fi