X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=configure;h=b55c2fc353e3ae6f0c51b226afb253a3b0f3dedd;hb=5be30c59da1e1d9d0d0bf75745b6680b66269b78;hp=542a8e4ff8b5b862284afe3254cdf33f817777b9;hpb=6b18d2780e3f30fdaab944e8d97f02ba48c7edbf;p=ffmpeg diff --git a/configure b/configure index 542a8e4ff8b..b55c2fc353e 100755 --- a/configure +++ b/configure @@ -832,6 +832,7 @@ ac3_decoder_deps="gpl" dxa_decoder_deps="zlib" flashsv_decoder_deps="zlib" flashsv_encoder_deps="zlib" +mlp_decoder_deps="mlp_parser" mpeg_xvmc_decoder_deps="xvmc" png_decoder_deps="zlib" png_encoder_deps="zlib" @@ -955,7 +956,7 @@ vhook="default" # build settings SHFLAGS='-shared -Wl,-soname,$$(@F)' VHOOKSHFLAGS='$(SHFLAGS)' -LDLATEFLAGS='-Wl,-rpath-link,\$(BUILD_ROOT)/libavcodec -Wl,-rpath-link,\$(BUILD_ROOT)/libavformat -Wl,-rpath-link,\$(BUILD_ROOT)/libavutil' +LDLATEFLAGS='-Wl,-rpath-link,\$(BUILD_ROOT)/libpostproc -Wl,-rpath-link,\$(BUILD_ROOT)/libswscale -Wl,-rpath-link,\$(BUILD_ROOT)/libavfilter -Wl,-rpath-link,\$(BUILD_ROOT)/libavdevice -Wl,-rpath-link,\$(BUILD_ROOT)/libavformat -Wl,-rpath-link,\$(BUILD_ROOT)/libavcodec -Wl,-rpath-link,\$(BUILD_ROOT)/libavutil' FFSERVERLDFLAGS=-Wl,-E LIBPREF="lib" LIBSUF=".a" @@ -969,7 +970,7 @@ SLIBNAME_WITH_MAJOR='$(SLIBNAME).$(LIBMAJOR)' LIB_INSTALL_EXTRA_CMD='$(RANLIB) "$(LIBDIR)/$(LIBNAME)"' # gcc stupidly only outputs the basename of targets with -MM -DEPEND_CMD='$(CC) $(CFLAGS) -MM -MG $< | sed -e "/^\#.*/d" -e "1s,^,$(@D)/,"' +DEPEND_CMD='$(CC) $(CFLAGS) -MM -MG $< | sed -e "/^\#.*/d" -e "1s,^,$(@D)/," -e "s,\\([[:space:]]\\)\\(version\\.h\\),\\1\$$(BUILD_ROOT_REL)/\\2," -e "s/\(.*\)\.o/\1.d &/"' # find source path source_path="`dirname \"$0\"`" @@ -1244,7 +1245,7 @@ case $target_os in disable need_memalign LIBTARGET=x64 fi - shlibdir_default="$bindir" + shlibdir_default="$bindir_default" VHOOKSHFLAGS='-shared -L$(BUILD_ROOT)/libavformat -L$(BUILD_ROOT)/libavcodec -L$(BUILD_ROOT)/libavutil' VHOOKLIBS='-lavformat$(BUILDSUF) -lavcodec$(BUILDSUF) -lavutil$(BUILDSUF) $(EXTRALIBS)' if enabled swscale; then @@ -1265,7 +1266,7 @@ case $target_os in ;; cygwin*) target_os=cygwin - shlibdir_default="$bindir" + shlibdir_default="$bindir_default" VHOOKSHFLAGS='-shared -L$(BUILD_ROOT)/libavformat -L$(BUILD_ROOT)/libavcodec -L$(BUILD_ROOT)/libavutil' VHOOKLIBS='-lavformat$(BUILDSUF) -lavcodec$(BUILDSUF) -lavutil$(BUILDSUF) $(EXTRALIBS)' if enabled swscale; then @@ -1399,7 +1400,7 @@ if test $target_os = darwin; then fi fi -disabled optimizations || add_cflags -fomit-frame-pointer +disabled optimizations || check_cflags -fomit-frame-pointer # Add processor-specific flags if test $cpu != "generic"; then @@ -2192,7 +2193,7 @@ comment=$2 version=$3 libs=$4 requires=$5 -cat < $name.pc +cat < $name/$name.pc prefix=$prefix exec_prefix=\${prefix} libdir=$libdir @@ -2208,7 +2209,7 @@ Libs: -L\${libdir} -l${shortname} $(disabled shared && echo $libs) Libs.private: $(enabled shared && echo $libs) Cflags: -I\${includedir} EOF -cat < $name-uninstalled.pc +cat < $name/$name-uninstalled.pc prefix= exec_prefix= libdir=\${pcfiledir}/$name @@ -2236,5 +2237,5 @@ if enabled swscale; then pkgconfig_generate libswscale "FFmpeg image rescaling library" "$LIBSWSCALE_VERSION" "" "libavutil = $LIBAVUTIL_VERSION" else pkgconfig_generate libswscale "FFmpeg image rescaling library" "$LIBSWSCALE_VERSION" "" "$pkg_requires libavcodec = $LIBAVCODEC_VERSION" - apply libswscale.pc sed s/^Libs:.*$/Libs:/ + apply libswscale/libswscale.pc sed s/^Libs:.*$/Libs:/ fi