summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorFabrice Bellard <fabrice@bellard.org>2002-12-18 16:34:07 +0000
committerFabrice Bellard <fabrice@bellard.org>2002-12-18 16:34:07 +0000
commit8154d2e01a9ef77bb77569e2202a469338c8eefe (patch)
treedbd4ad7c0cf08b42f38fa3552cba1007158f362f /configure
parent17a70fdeeff1260ac9b2651ea9f36dbd23d0ced8 (diff)
added ffserver disabling for easier porting
Originally committed as revision 1341 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure9
1 files changed, 9 insertions, 0 deletions
diff --git a/configure b/configure
index e009579577..6fb9f7b78a 100755
--- a/configure
+++ b/configure
@@ -71,6 +71,7 @@ mpegaudio_hp="yes"
SHFLAGS=-shared
netserver="no"
need_inet_aton="no"
+ffserver="yes"
LDFLAGS=-Wl,--warn-common
FFSLDFLAGS=-Wl,-E
@@ -275,6 +276,8 @@ for opt do
;;
--disable-mpegaudio-hp) mpegaudio_hp="no"
;;
+ --disable-ffserver) ffserver="no"
+ ;;
esac
done
@@ -487,6 +490,7 @@ echo " --disable-vhook disable video hooking support"
echo " --enable-gprof enable profiling with gprof [$gprof]"
echo " --disable-mpegaudio-hp faster (but less accurate)"
echo " mpegaudio decoding [default=no]"
+echo " --disable-ffserver disable ffserver build"
echo ""
echo "NOTE: The object files are build at the place where configure is launched"
exit 1
@@ -704,6 +708,11 @@ if test "$simpleidct" = "yes" ; then
echo "#define SIMPLE_IDCT 1" >> $TMPH
fi
+if test "$ffserver" = "yes" ; then
+ echo "#define CONFIG_FFSERVER 1" >> $TMPH
+ echo "CONFIG_FFSERVER=yes" >> config.mak
+fi
+
echo "#define restrict $_restrict" >> $TMPH
# build tree in object directory if source path is different from current one