echo " --enable-a52bin open liba52.so.0 at runtime [default=no]"
echo " --enable-dts enable GPLed DTS support [default=no]"
echo " --enable-pp enable GPLed postprocessing support [default=no]"
-echo " --enable-shared-pp use libpostproc.so [default=no]"
echo " --enable-shared build shared libraries [default=no]"
echo " --enable-amr_nb enable amr_nb float audio codec"
echo " --enable-amr_nb-fixed use fixed point for amr-nb codec"
a52bin="no"
dts="no"
pp="no"
-shared_pp="no"
mingw32="no"
cygwin="no"
os2="no"
;;
--enable-pp) pp="yes"
;;
- --enable-shared-pp) pp="yes"; shared_pp="yes"
- ;;
--enable-libgsm) libgsm="yes"
extralibs="$extralibs -lgsm"
;;
fi
if test "$gpl" != "yes"; then
- if test "$pp" != "no" -o "$shared_pp" != "no"; then
+ if test "$pp" != "no"; then
echo "The Postprocessing code is under GPL and --enable-gpl is not specified."
fail="yes"
fi
echo "debug symbols $debug"
echo "strip symbols $dostrip"
echo "optimize $optimize"
-echo "shared pp $shared_pp"
+echo "shared $shared"
echo "video hooking $vhook"
echo "SDL support $sdl"
if test $sdl_too_old = "yes"; then
if test "$pp" = "yes" ; then
echo "#define CONFIG_PP 1" >> $TMPH
echo "CONFIG_PP=yes" >> config.mak
-
- if test "$shared_pp" = "yes" ; then
- echo "#define SHARED_PP 1" >> $TMPH
- echo "SHARED_PP=yes" >> config.mak
- fi
fi
# MPEG audio high precision mode
VPATH=$(SRC_PATH)/libavcodec/libpostproc
NAME=postproc
-ifeq ($(SHARED_PP),yes)
+ifeq ($(BUILD_SHARED),yes)
LIBVERSION=$(SPPVERSION)
LIBMAJOR=$(SPPMAJOR)
endif
depend:
$(CC) -MM $(CFLAGS) postprocess.c 1>.depend
-ifeq ($(SHARED_PP),yes)
+ifeq ($(BUILD_SHARED),yes)
postprocess_pic.o: postprocess.c
$(CC) -c $(CFLAGS) -fomit-frame-pointer -fPIC -DPIC -I.. -I../.. -o $@ $<
$(RANLIB) $@
install: all
-ifeq ($(SHARED_PP),yes)
+ifeq ($(BUILD_SHARED),yes)
ifeq ($(CONFIG_WIN32),yes)
install $(INSTALLSTRIP) -m 755 $(SLIBNAME) "$(prefix)"
else