[Ffmpeg-cvslog] r7321 - trunk/configure
mru
subversion
Fri Dec 15 23:36:20 CET 2006
Author: mru
Date: Fri Dec 15 23:36:19 2006
New Revision: 7321
Modified:
trunk/configure
Log:
don't use non-standard sed -i option
Modified: trunk/configure
==============================================================================
--- trunk/configure (original)
+++ trunk/configure Fri Dec 15 23:36:19 2006
@@ -393,6 +393,12 @@
check_lib $header $func "$@" || die "ERROR: $name not found"
}
+apply(){
+ file=$1
+ shift
+ "$@" < "$file" > "$file.tmp" && mv "$file.tmp" "$file" || rm "$file.tmp"
+}
+
CONFIG_LIST='
encoders
decoders
@@ -2105,6 +2111,6 @@
else
pkgconfig_generate libswscale "FFmpeg image rescaling library" "$sws_version" "" "$pkg_requires libavcodec = $lavc_version" swscale
pkgconfig_generate_uninstalled libswscale "FFmpeg image rescaling library" "$sws_version" "" "$pkg_requires libavcodec = $lavc_version"
- sed -i s/^Libs:.*$/Libs:/ libswscale.pc
- sed -i s/^Libs:.*$/Libs:/ libswscale-uninstalled.pc
+ apply libswscale.pc sed s/^Libs:.*$/Libs:/
+ apply libswscale-uninstalled.pc sed s/^Libs:.*$/Libs:/
fi
More information about the ffmpeg-cvslog
mailing list