Fix configure .pc files generation and make install when
authorAnatoly Nenashev <nenashev_as@mail.ru>
Wed, 18 Aug 2010 10:57:48 +0000 (10:57 +0000)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Wed, 18 Aug 2010 10:57:48 +0000 (10:57 +0000)
--build-suffix is used.

Patch by Anatoly Nenashev ${surname}_as@mail.ru.

Originally committed as revision 24821 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index 993d18a..9b86247 100755 (executable)
--- a/configure
+++ b/configure
@@ -3217,7 +3217,7 @@ comment=$2
 version=$3
 libs=$4
 requires=$5
-enabled $shortname || return 0
+enabled ${name#lib} || return 0
 cat <<EOF > $name/$name.pc
 prefix=$prefix
 exec_prefix=\${prefix}